Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
a78e208d
Commit
a78e208d
authored
Mar 17, 2020
by
kevalbhatt
Committed by
nixonrodrigues
Mar 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3669 : UI: Import Glossary Terms CSV into a Glossary
Signed-off-by:
nixonrodrigues
<
nixon@apache.org
>
parent
cfee9cef
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
1029 additions
and
445 deletions
+1029
-445
gruntfile.js
dashboardv2/gruntfile.js
+4
-2
package-lock.json
dashboardv2/package-lock.json
+294
-216
package.json
dashboardv2/package.json
+1
-0
theme.scss
dashboardv2/public/css/scss/theme.scss
+23
-0
index.html.tpl
dashboardv2/public/index.html.tpl
+1
-0
main.js
dashboardv2/public/js/main.js
+2
-1
GlossaryLayoutView_tmpl.html
...public/js/templates/glossary/GlossaryLayoutView_tmpl.html
+10
-2
ImportGlossaryLayoutView_tmpl.html
.../js/templates/glossary/ImportGlossaryLayoutView_tmpl.html
+18
-0
UrlLinks.js
dashboardv2/public/js/utils/UrlLinks.js
+6
-0
GlossaryLayoutView.js
dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
+18
-2
ImportGlossaryLayoutView.js
...rdv2/public/js/views/glossary/ImportGlossaryLayoutView.js
+129
-0
gruntfile.js
dashboardv3/gruntfile.js
+4
-2
package-lock.json
dashboardv3/package-lock.json
+288
-210
package.json
dashboardv3/package.json
+1
-0
leftsidebar.scss
dashboardv3/public/css/scss/leftsidebar.scss
+13
-0
theme.scss
dashboardv3/public/css/scss/theme.scss
+23
-0
index.html.tpl
dashboardv3/public/index.html.tpl
+1
-0
main.js
dashboardv3/public/js/main.js
+4
-2
ImportGlossaryLayoutView_tmpl.html
.../js/templates/glossary/ImportGlossaryLayoutView_tmpl.html
+18
-0
GlossaryTreeLayoutView_tmpl.html
...js/templates/search/tree/GlossaryTreeLayoutView_tmpl.html
+9
-5
UrlLinks.js
dashboardv3/public/js/utils/UrlLinks.js
+6
-0
ImportGlossaryLayoutView.js
...rdv3/public/js/views/glossary/ImportGlossaryLayoutView.js
+129
-0
GlossaryTreeLayoutView.js
...dv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
+27
-3
No files found.
dashboardv2/gruntfile.js
View file @
a78e208d
...
@@ -109,7 +109,8 @@ module.exports = function(grunt) {
...
@@ -109,7 +109,8 @@ module.exports = function(grunt) {
'jquery.sparkline.min.js'
:
{
'jquery-sparkline'
:
'sparkline'
},
'jquery.sparkline.min.js'
:
{
'jquery-sparkline'
:
'sparkline'
},
'table-dragger.js'
:
{
'table-dragger/dist'
:
'table-dragger'
},
'table-dragger.js'
:
{
'table-dragger/dist'
:
'table-dragger'
},
'jstree.min.js'
:
{
'jstree/dist'
:
'jstree'
},
'jstree.min.js'
:
{
'jstree/dist'
:
'jstree'
},
'jquery.steps.min.js'
:
{
'jquery-steps/build'
:
'jquery-steps'
}
'jquery.steps.min.js'
:
{
'jquery-steps/build'
:
'jquery-steps'
},
'dropzone-amd-module.js'
:
{
'dropzone/dist'
:
"dropzone/js"
}
}
}
},
},
...
@@ -147,7 +148,8 @@ module.exports = function(grunt) {
...
@@ -147,7 +148,8 @@ module.exports = function(grunt) {
'query-builder.default.min.css'
:
{
'jQuery-QueryBuilder/dist/css'
:
'jQueryQueryBuilder/css'
},
'query-builder.default.min.css'
:
{
'jQuery-QueryBuilder/dist/css'
:
'jQueryQueryBuilder/css'
},
'daterangepicker.css'
:
{
'bootstrap-daterangepicker'
:
'bootstrap-daterangepicker/css'
},
'daterangepicker.css'
:
{
'bootstrap-daterangepicker'
:
'bootstrap-daterangepicker/css'
},
'nv.d3.min.css'
:
{
'nvd3/build'
:
'nvd3/css'
},
'nv.d3.min.css'
:
{
'nvd3/build'
:
'nvd3/css'
},
'pretty-checkbox.min.css'
:
{
'pretty-checkbox/dist'
:
'pretty-checkbox/css'
}
'pretty-checkbox.min.css'
:
{
'pretty-checkbox/dist'
:
'pretty-checkbox/css'
},
'dropzone.css'
:
{
'dropzone/dist'
:
"dropzone/css"
}
}
}
},
},
...
...
dashboardv2/package-lock.json
View file @
a78e208d
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
}
}
},
},
"ajv"
:
{
"ajv"
:
{
"version"
:
"6.1
1
.0"
,
"version"
:
"6.1
2
.0"
,
"resolved"
:
"https://registry.npmjs.org/ajv/-/ajv-6.1
1
.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ajv/-/ajv-6.1
2
.0.tgz"
,
"integrity"
:
"sha512-
nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA
=="
,
"integrity"
:
"sha512-
D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw
=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"fast-deep-equal"
:
"^3.1.1"
,
"fast-deep-equal"
:
"^3.1.1"
,
...
@@ -60,10 +60,13 @@
...
@@ -60,10 +60,13 @@
"dev"
:
true
"dev"
:
true
},
},
"ansi-styles"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"version"
:
"3.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"integrity"
:
"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA=="
,
"dev"
:
true
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^1.9.0"
}
},
},
"aproba"
:
{
"aproba"
:
{
"version"
:
"1.2.0"
,
"version"
:
"1.2.0"
,
...
@@ -436,16 +439,14 @@
...
@@ -436,16 +439,14 @@
}
}
},
},
"chalk"
:
{
"chalk"
:
{
"version"
:
"
1.1.3
"
,
"version"
:
"
2.4.2
"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-
1.1.3
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-
2.4.2
.tgz"
,
"integrity"
:
"sha
1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg
="
,
"integrity"
:
"sha
512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=
="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"escape-string-regexp"
:
"^1.0.5"
,
"has-ansi"
:
"^2.0.0"
,
"supports-color"
:
"^5.3.0"
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
}
},
},
"clean-css"
:
{
"clean-css"
:
{
...
@@ -577,9 +578,9 @@
...
@@ -577,9 +578,9 @@
}
}
},
},
"core-js"
:
{
"core-js"
:
{
"version"
:
"2.6.
9
"
,
"version"
:
"2.6.
11
"
,
"resolved"
:
"https://registry.npmjs.org/core-js/-/core-js-2.6.
9
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/core-js/-/core-js-2.6.
11
.tgz"
,
"integrity"
:
"sha512-
HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A
=="
"integrity"
:
"sha512-
5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg
=="
},
},
"core-util-is"
:
{
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
...
@@ -639,13 +640,6 @@
...
@@ -639,13 +640,6 @@
"requires"
:
{
"requires"
:
{
"graphlib"
:
"^1.0.5"
,
"graphlib"
:
"^1.0.5"
,
"lodash"
:
"^3.10.0"
"lodash"
:
"^3.10.0"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
}
}
}
},
},
"dagre-d3"
:
{
"dagre-d3"
:
{
...
@@ -657,13 +651,6 @@
...
@@ -657,13 +651,6 @@
"dagre"
:
"^0.7.3"
,
"dagre"
:
"^0.7.3"
,
"graphlib"
:
"^1.0.5"
,
"graphlib"
:
"^1.0.5"
,
"lodash"
:
"^3.10.0"
"lodash"
:
"^3.10.0"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
}
}
}
},
},
"dashdash"
:
{
"dashdash"
:
{
...
@@ -734,14 +721,14 @@
...
@@ -734,14 +721,14 @@
"dev"
:
true
"dev"
:
true
},
},
"dot"
:
{
"dot"
:
{
"version"
:
"1.1.
2
"
,
"version"
:
"1.1.
3
"
,
"resolved"
:
"https://registry.npmjs.org/dot/-/dot-1.1.
2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/dot/-/dot-1.1.
3
.tgz"
,
"integrity"
:
"sha
1-xzdwGfxOVQeYkosrmv62ar+h8vk
="
"integrity"
:
"sha
512-/nt74Rm+PcfnirXGEdhZleTwGC2LMnuKTeeTIlI82xb5loBBoXNYzr2ezCroPSMtilK8EZIfcNZwOcHN+ib1Lg=
="
},
},
"dragula-with-animation"
:
{
"dragula-with-animation"
:
{
"version"
:
"3.7.
2
"
,
"version"
:
"3.7.
4
"
,
"resolved"
:
"https://registry.npmjs.org/dragula-with-animation/-/dragula-with-animation-3.7.
2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/dragula-with-animation/-/dragula-with-animation-3.7.
4
.tgz"
,
"integrity"
:
"sha
1-m5ktsqJ0MkMlxwuwy3Uud+H6qK8
="
,
"integrity"
:
"sha
512-Kdvld/s4ASLRgP5w8lzK64P+8XUX9ccNGn0rmXDCG9AuvyzUxvVo+HxLQoRMyRPCQWAZ3xzA7b3ghcFIz+QsIA=
="
,
"requires"
:
{
"requires"
:
{
"contra"
:
"1.9.4"
,
"contra"
:
"1.9.4"
,
"crossvent"
:
"1.5.4"
"crossvent"
:
"1.5.4"
...
@@ -762,6 +749,11 @@
...
@@ -762,6 +749,11 @@
}
}
}
}
},
},
"dropzone"
:
{
"version"
:
"5.5.1"
,
"resolved"
:
"https://registry.npmjs.org/dropzone/-/dropzone-5.5.1.tgz"
,
"integrity"
:
"sha512-3VduRWLxx9hbVr42QieQN25mx/I61/mRdUSuxAmDGdDqZIN8qtP7tcKMa3KfpJjuGjOJGYYUzzeq6eGDnkzesA=="
},
"ecc-jsbn"
:
{
"ecc-jsbn"
:
{
"version"
:
"0.1.2"
,
"version"
:
"0.1.2"
,
"resolved"
:
"https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz"
,
...
@@ -785,13 +777,12 @@
...
@@ -785,13 +777,12 @@
"dev"
:
true
"dev"
:
true
},
},
"error"
:
{
"error"
:
{
"version"
:
"7.
0.2
"
,
"version"
:
"7.
2.1
"
,
"resolved"
:
"https://registry.npmjs.org/error/-/error-7.
0.2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/error/-/error-7.
2.1
.tgz"
,
"integrity"
:
"sha
1-pfdf/02ZJhJt2sDqXcOOaJFTywI
="
,
"integrity"
:
"sha
512-fo9HBvWnx3NGUKMvMwB/CBCMMrfEJgbDTVDEkPygA3Bdd3lM1OyCd+rbQ8BwnpF6GdVeOLDNmyL4N5Bg80ZvdA=
="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"string-template"
:
"~0.2.1"
,
"string-template"
:
"~0.2.1"
"xtend"
:
"~4.0.0"
}
}
},
},
"error-ex"
:
{
"error-ex"
:
{
...
@@ -1056,20 +1047,20 @@
...
@@ -1056,20 +1047,20 @@
}
}
},
},
"globule"
:
{
"globule"
:
{
"version"
:
"1.
2
.1"
,
"version"
:
"1.
3
.1"
,
"resolved"
:
"https://registry.npmjs.org/globule/-/globule-1.
2
.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/globule/-/globule-1.
3
.1.tgz"
,
"integrity"
:
"sha512-
g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ
=="
,
"integrity"
:
"sha512-
OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g
=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"glob"
:
"~7.1.1"
,
"glob"
:
"~7.1.1"
,
"lodash"
:
"~4.17.1
0
"
,
"lodash"
:
"~4.17.1
2
"
,
"minimatch"
:
"~3.0.2"
"minimatch"
:
"~3.0.2"
},
},
"dependencies"
:
{
"dependencies"
:
{
"glob"
:
{
"glob"
:
{
"version"
:
"7.1.
4
"
,
"version"
:
"7.1.
6
"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.
6
.tgz"
,
"integrity"
:
"sha512-
hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1
A=="
,
"integrity"
:
"sha512-
LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMB
A=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"fs.realpath"
:
"^1.0.0"
,
...
@@ -1089,9 +1080,9 @@
...
@@ -1089,9 +1080,9 @@
}
}
},
},
"graceful-fs"
:
{
"graceful-fs"
:
{
"version"
:
"4.2.
0
"
,
"version"
:
"4.2.
3
"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.
3
.tgz"
,
"integrity"
:
"sha512-
jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg
=="
,
"integrity"
:
"sha512-
a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ
=="
,
"dev"
:
true
"dev"
:
true
},
},
"graceful-readlink"
:
{
"graceful-readlink"
:
{
...
@@ -1106,13 +1097,6 @@
...
@@ -1106,13 +1097,6 @@
"integrity"
:
"sha1-DKst8P/mq+BwsmJb+h7bbslnuLE="
,
"integrity"
:
"sha1-DKst8P/mq+BwsmJb+h7bbslnuLE="
,
"requires"
:
{
"requires"
:
{
"lodash"
:
"^3.10.0"
"lodash"
:
"^3.10.0"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
}
}
}
},
},
"grunt"
:
{
"grunt"
:
{
...
@@ -1138,33 +1122,6 @@
...
@@ -1138,33 +1122,6 @@
"nopt"
:
"~3.0.6"
,
"nopt"
:
"~3.0.6"
,
"path-is-absolute"
:
"~1.0.0"
,
"path-is-absolute"
:
"~1.0.0"
,
"rimraf"
:
"~2.6.2"
"rimraf"
:
"~2.6.2"
},
"dependencies"
:
{
"rimraf"
:
{
"version"
:
"2.6.3"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz"
,
"integrity"
:
"sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA=="
,
"dev"
:
true
,
"requires"
:
{
"glob"
:
"^7.1.3"
},
"dependencies"
:
{
"glob"
:
{
"version"
:
"7.1.4"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.4.tgz"
,
"integrity"
:
"sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A=="
,
"dev"
:
true
,
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"inflight"
:
"^1.0.4"
,
"inherits"
:
"2"
,
"minimatch"
:
"^3.0.4"
,
"once"
:
"^1.3.0"
,
"path-is-absolute"
:
"^1.0.0"
}
}
}
}
}
}
},
},
"grunt-cli"
:
{
"grunt-cli"
:
{
...
@@ -1195,31 +1152,6 @@
...
@@ -1195,31 +1152,6 @@
"requires"
:
{
"requires"
:
{
"async"
:
"^1.5.2"
,
"async"
:
"^1.5.2"
,
"rimraf"
:
"^2.5.1"
"rimraf"
:
"^2.5.1"
},
"dependencies"
:
{
"glob"
:
{
"version"
:
"7.1.4"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.4.tgz"
,
"integrity"
:
"sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A=="
,
"dev"
:
true
,
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"inflight"
:
"^1.0.4"
,
"inherits"
:
"2"
,
"minimatch"
:
"^3.0.4"
,
"once"
:
"^1.3.0"
,
"path-is-absolute"
:
"^1.0.0"
}
},
"rimraf"
:
{
"version"
:
"2.6.3"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz"
,
"integrity"
:
"sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA=="
,
"dev"
:
true
,
"requires"
:
{
"glob"
:
"^7.1.3"
}
}
}
}
},
},
"grunt-contrib-connect"
:
{
"grunt-contrib-connect"
:
{
...
@@ -1247,6 +1179,33 @@
...
@@ -1247,6 +1179,33 @@
"requires"
:
{
"requires"
:
{
"chalk"
:
"^1.1.1"
,
"chalk"
:
"^1.1.1"
,
"file-sync-cmp"
:
"^0.1.0"
"file-sync-cmp"
:
"^0.1.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"grunt-contrib-cssmin"
:
{
"grunt-contrib-cssmin"
:
{
...
@@ -1258,6 +1217,33 @@
...
@@ -1258,6 +1217,33 @@
"chalk"
:
"^1.0.0"
,
"chalk"
:
"^1.0.0"
,
"clean-css"
:
"~4.0.3"
,
"clean-css"
:
"~4.0.3"
,
"maxmin"
:
"^1.1.0"
"maxmin"
:
"^1.1.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"grunt-contrib-htmlmin"
:
{
"grunt-contrib-htmlmin"
:
{
...
@@ -1271,11 +1257,36 @@
...
@@ -1271,11 +1257,36 @@
"pretty-bytes"
:
"^4.0.2"
"pretty-bytes"
:
"^4.0.2"
},
},
"dependencies"
:
{
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"pretty-bytes"
:
{
"pretty-bytes"
:
{
"version"
:
"4.0.2"
,
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz"
,
"resolved"
:
"https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz"
,
"integrity"
:
"sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk="
,
"integrity"
:
"sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk="
,
"dev"
:
true
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
}
},
},
...
@@ -1296,6 +1307,33 @@
...
@@ -1296,6 +1307,33 @@
"object.assign"
:
"^4.0.4"
,
"object.assign"
:
"^4.0.4"
,
"uglify-js"
:
"~2.7.0"
,
"uglify-js"
:
"~2.7.0"
,
"uri-path"
:
"^1.0.0"
"uri-path"
:
"^1.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"grunt-contrib-watch"
:
{
"grunt-contrib-watch"
:
{
...
@@ -1318,6 +1356,12 @@
...
@@ -1318,6 +1356,12 @@
"requires"
:
{
"requires"
:
{
"lodash"
:
"^4.17.14"
"lodash"
:
"^4.17.14"
}
}
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
}
}
}
}
},
},
...
@@ -1337,6 +1381,14 @@
...
@@ -1337,6 +1381,14 @@
"grunt-legacy-log-utils"
:
"~2.0.0"
,
"grunt-legacy-log-utils"
:
"~2.0.0"
,
"hooker"
:
"~0.2.3"
,
"hooker"
:
"~0.2.3"
,
"lodash"
:
"~4.17.5"
"lodash"
:
"~4.17.5"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
}
}
}
},
},
"grunt-legacy-log-utils"
:
{
"grunt-legacy-log-utils"
:
{
...
@@ -1349,34 +1401,11 @@
...
@@ -1349,34 +1401,11 @@
"lodash"
:
"~4.17.10"
"lodash"
:
"~4.17.10"
},
},
"dependencies"
:
{
"dependencies"
:
{
"ansi-styles"
:
{
"lodash"
:
{
"version"
:
"3.2.1"
,
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA=="
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
,
"dev"
:
true
"requires"
:
{
"color-convert"
:
"^1.9.0"
}
},
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
},
"supports-color"
:
{
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
}
}
}
}
},
},
...
@@ -1395,14 +1424,11 @@
...
@@ -1395,14 +1424,11 @@
"which"
:
"~1.3.0"
"which"
:
"~1.3.0"
},
},
"dependencies"
:
{
"dependencies"
:
{
"which"
:
{
"lodash"
:
{
"version"
:
"1.3.1"
,
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/which/-/which-1.3.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ=="
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
,
"dev"
:
true
"requires"
:
{
"isexe"
:
"^2.0.0"
}
}
}
}
}
},
},
...
@@ -1466,9 +1492,9 @@
...
@@ -1466,9 +1492,9 @@
"dev"
:
true
"dev"
:
true
},
},
"has-symbols"
:
{
"has-symbols"
:
{
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.
1
.tgz"
,
"integrity"
:
"sha
1-uhqPGvKg/DllD1yFA2dwQSIGO0Q
="
,
"integrity"
:
"sha
512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=
="
,
"dev"
:
true
"dev"
:
true
},
},
"has-unicode"
:
{
"has-unicode"
:
{
...
@@ -1490,9 +1516,9 @@
...
@@ -1490,9 +1516,9 @@
"dev"
:
true
"dev"
:
true
},
},
"hosted-git-info"
:
{
"hosted-git-info"
:
{
"version"
:
"2.
7.1
"
,
"version"
:
"2.
8.8
"
,
"resolved"
:
"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.
7.1
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.
8.8
.tgz"
,
"integrity"
:
"sha512-
7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w
=="
,
"integrity"
:
"sha512-
f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg
=="
,
"dev"
:
true
"dev"
:
true
},
},
"html-minifier"
:
{
"html-minifier"
:
{
...
@@ -1564,9 +1590,9 @@
...
@@ -1564,9 +1590,9 @@
}
}
},
},
"in-publish"
:
{
"in-publish"
:
{
"version"
:
"2.0.
0
"
,
"version"
:
"2.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/in-publish/-/in-publish-2.0.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/in-publish/-/in-publish-2.0.
1
.tgz"
,
"integrity"
:
"sha
1-4g/146KvwmkDILbcVSaCqcf631E
="
,
"integrity"
:
"sha
512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ=
="
,
"dev"
:
true
"dev"
:
true
},
},
"indent-string"
:
{
"indent-string"
:
{
...
@@ -1613,13 +1639,10 @@
...
@@ -1613,13 +1639,10 @@
"dev"
:
true
"dev"
:
true
},
},
"is-finite"
:
{
"is-finite"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz"
,
"resolved"
:
"https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz"
,
"integrity"
:
"sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko="
,
"integrity"
:
"sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w=="
,
"dev"
:
true
,
"dev"
:
true
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
}
},
},
"is-fullwidth-code-point"
:
{
"is-fullwidth-code-point"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
...
@@ -1670,13 +1693,6 @@
...
@@ -1670,13 +1693,6 @@
"jquery"
:
">=1.9.0"
,
"jquery"
:
">=1.9.0"
,
"jquery-extendext"
:
">=0.1.2"
,
"jquery-extendext"
:
">=0.1.2"
,
"moment"
:
">=2.6.0"
"moment"
:
">=2.6.0"
},
"dependencies"
:
{
"bootstrap"
:
{
"version"
:
"4.3.1"
,
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz"
,
"integrity"
:
"sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag=="
}
}
}
},
},
"jquery"
:
{
"jquery"
:
{
...
@@ -1693,9 +1709,9 @@
...
@@ -1693,9 +1709,9 @@
}
}
},
},
"jquery-extendext"
:
{
"jquery-extendext"
:
{
"version"
:
"
0.1.2
"
,
"version"
:
"
1.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/jquery-extendext/-/jquery-extendext-
0.1.2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/jquery-extendext/-/jquery-extendext-
1.0.0
.tgz"
,
"integrity"
:
"sha
1-1FtUi1EtF0oqcz16wkSLkEVscVY
="
,
"integrity"
:
"sha
512-gDJjpQ8ISd4ZMwSn0yXSuyufsPMCeWtWJ8kmqE85VromJqyVT2sdkHzS5yL0w1GK81UpOzmr2f9JgFln2sbJSg=
="
,
"requires"
:
{
"requires"
:
{
"jquery"
:
">=1.9.1"
"jquery"
:
">=1.9.1"
}
}
...
@@ -1836,10 +1852,9 @@
...
@@ -1836,10 +1852,9 @@
}
}
},
},
"lodash"
:
{
"lodash"
:
{
"version"
:
"4.17.15"
,
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
"dev"
:
true
},
},
"longest"
:
{
"longest"
:
{
"version"
:
"1.0.1"
,
"version"
:
"1.0.1"
,
...
@@ -1894,6 +1909,33 @@
...
@@ -1894,6 +1909,33 @@
"figures"
:
"^1.0.1"
,
"figures"
:
"^1.0.1"
,
"gzip-size"
:
"^1.0.0"
,
"gzip-size"
:
"^1.0.0"
,
"pretty-bytes"
:
"^1.0.0"
"pretty-bytes"
:
"^1.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"meow"
:
{
"meow"
:
{
...
@@ -1921,18 +1963,18 @@
...
@@ -1921,18 +1963,18 @@
"dev"
:
true
"dev"
:
true
},
},
"mime-db"
:
{
"mime-db"
:
{
"version"
:
"1.4
0
.0"
,
"version"
:
"1.4
3
.0"
,
"resolved"
:
"https://registry.npmjs.org/mime-db/-/mime-db-1.4
0
.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/mime-db/-/mime-db-1.4
3
.0.tgz"
,
"integrity"
:
"sha512-
jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA
=="
,
"integrity"
:
"sha512-
+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ
=="
,
"dev"
:
true
"dev"
:
true
},
},
"mime-types"
:
{
"mime-types"
:
{
"version"
:
"2.1.2
4
"
,
"version"
:
"2.1.2
6
"
,
"resolved"
:
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.2
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.2
6
.tgz"
,
"integrity"
:
"sha512-
WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3c
Q=="
,
"integrity"
:
"sha512-
01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dW
Q=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"mime-db"
:
"1.4
0
.0"
"mime-db"
:
"1.4
3
.0"
}
}
},
},
"minimatch"
:
{
"minimatch"
:
{
...
@@ -1945,9 +1987,9 @@
...
@@ -1945,9 +1987,9 @@
}
}
},
},
"minimist"
:
{
"minimist"
:
{
"version"
:
"1.2.
0
"
,
"version"
:
"1.2.
5
"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-1.2.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-1.2.
5
.tgz"
,
"integrity"
:
"sha
1-o1AIsg9BOD7sH7kU9M1d95omQoQ
="
,
"integrity"
:
"sha
512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=
="
,
"dev"
:
true
"dev"
:
true
},
},
"mkdirp"
:
{
"mkdirp"
:
{
...
@@ -2092,6 +2134,39 @@
...
@@ -2092,6 +2134,39 @@
"sass-graph"
:
"^2.2.4"
,
"sass-graph"
:
"^2.2.4"
,
"stdout-stream"
:
"^1.4.0"
,
"stdout-stream"
:
"^1.4.0"
,
"true-case-path"
:
"^1.0.2"
"true-case-path"
:
"^1.0.2"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"nopt"
:
{
"nopt"
:
{
...
@@ -2393,9 +2468,9 @@
...
@@ -2393,9 +2468,9 @@
"dev"
:
true
"dev"
:
true
},
},
"qs"
:
{
"qs"
:
{
"version"
:
"6.
8.0
"
,
"version"
:
"6.
9.1
"
,
"resolved"
:
"https://registry.npmjs.org/qs/-/qs-6.
8.0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/qs/-/qs-6.
9.1
.tgz"
,
"integrity"
:
"sha512-
tPSkj8y92PfZVbinY1n84i1Qdx75lZjMQYx9WZhnkofyxzw2r7Ho39G3/aEvSUdebxpnnM4LZJCtvE/Aq3+s9w
=="
,
"integrity"
:
"sha512-
Cxm7/SS/y/Z3MHWSxXb8lIFqgqBowP5JMlTUFyJN88y0SGQhVmZnqFK/PeuMX9LzUyWsqqhNxIyg0jlzq946yA
=="
,
"dev"
:
true
"dev"
:
true
},
},
"range-parser"
:
{
"range-parser"
:
{
...
@@ -2444,9 +2519,9 @@
...
@@ -2444,9 +2519,9 @@
}
}
},
},
"readable-stream"
:
{
"readable-stream"
:
{
"version"
:
"2.3.
6
"
,
"version"
:
"2.3.
7
"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.
6
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.
7
.tgz"
,
"integrity"
:
"sha512-
tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkK
w=="
,
"integrity"
:
"sha512-
Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYP
w=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"core-util-is"
:
"~1.0.0"
,
"core-util-is"
:
"~1.0.0"
,
...
@@ -2553,9 +2628,9 @@
...
@@ -2553,9 +2628,9 @@
"integrity"
:
"sha1-ExOHM2E/xEV7fhJH6Mt1HfeqVCk="
"integrity"
:
"sha1-ExOHM2E/xEV7fhJH6Mt1HfeqVCk="
},
},
"resolve"
:
{
"resolve"
:
{
"version"
:
"1.1
1
.1"
,
"version"
:
"1.1
5
.1"
,
"resolved"
:
"https://registry.npmjs.org/resolve/-/resolve-1.1
1
.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/resolve/-/resolve-1.1
5
.1.tgz"
,
"integrity"
:
"sha512-
vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BB
w=="
,
"integrity"
:
"sha512-
84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7
w=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"path-parse"
:
"^1.0.6"
"path-parse"
:
"^1.0.6"
...
@@ -2586,9 +2661,9 @@
...
@@ -2586,9 +2661,9 @@
}
}
},
},
"rimraf"
:
{
"rimraf"
:
{
"version"
:
"2.
7.1
"
,
"version"
:
"2.
6.3
"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.
7.1
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.
6.3
.tgz"
,
"integrity"
:
"sha512-
uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w
=="
,
"integrity"
:
"sha512-
mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA
=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"glob"
:
"^7.1.3"
"glob"
:
"^7.1.3"
...
@@ -2662,6 +2737,12 @@
...
@@ -2662,6 +2737,12 @@
"wrap-ansi"
:
"^2.0.0"
"wrap-ansi"
:
"^2.0.0"
}
}
},
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
},
"yargs"
:
{
"yargs"
:
{
"version"
:
"7.1.0"
,
"version"
:
"7.1.0"
,
"resolved"
:
"https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz"
,
...
@@ -2716,9 +2797,9 @@
...
@@ -2716,9 +2797,9 @@
}
}
},
},
"semver"
:
{
"semver"
:
{
"version"
:
"5.7.
0
"
,
"version"
:
"5.7.
1
"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-5.7.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-5.7.
1
.tgz"
,
"integrity"
:
"sha512-
Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA
=="
,
"integrity"
:
"sha512-
sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ
=="
,
"dev"
:
true
"dev"
:
true
},
},
"send"
:
{
"send"
:
{
...
@@ -2847,9 +2928,9 @@
...
@@ -2847,9 +2928,9 @@
}
}
},
},
"spdx-license-ids"
:
{
"spdx-license-ids"
:
{
"version"
:
"3.0.
4
"
,
"version"
:
"3.0.
5
"
,
"resolved"
:
"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
5
.tgz"
,
"integrity"
:
"sha512-
7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA
=="
,
"integrity"
:
"sha512-
J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q
=="
,
"dev"
:
true
"dev"
:
true
},
},
"sprintf-js"
:
{
"sprintf-js"
:
{
...
@@ -2944,10 +3025,13 @@
...
@@ -2944,10 +3025,13 @@
}
}
},
},
"supports-color"
:
{
"supports-color"
:
{
"version"
:
"2.0.0"
,
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
},
},
"table-dragger"
:
{
"table-dragger"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
...
@@ -3257,12 +3341,6 @@
...
@@ -3257,12 +3341,6 @@
"integrity"
:
"sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0="
,
"integrity"
:
"sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0="
,
"dev"
:
true
"dev"
:
true
},
},
"xtend"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz"
,
"integrity"
:
"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
,
"dev"
:
true
},
"y18n"
:
{
"y18n"
:
{
"version"
:
"3.2.1"
,
"version"
:
"3.2.1"
,
"resolved"
:
"https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz"
,
...
...
dashboardv2/package.json
View file @
a78e208d
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
"d3"
:
"3.5.17"
,
"d3"
:
"3.5.17"
,
"d3-tip"
:
"0.6.8"
,
"d3-tip"
:
"0.6.8"
,
"dagre-d3"
:
"0.4.17"
,
"dagre-d3"
:
"0.4.17"
,
"dropzone"
:
"5.5.1"
,
"font-awesome"
:
"4.7.0"
,
"font-awesome"
:
"4.7.0"
,
"jQuery-QueryBuilder"
:
"2.4.3"
,
"jQuery-QueryBuilder"
:
"2.4.3"
,
"jquery"
:
"3.3.1"
,
"jquery"
:
"3.3.1"
,
...
...
dashboardv2/public/css/scss/theme.scss
View file @
a78e208d
...
@@ -608,4 +608,26 @@ td.searchTableName:hover {
...
@@ -608,4 +608,26 @@ td.searchTableName:hover {
z-index
:
1
;
z-index
:
1
;
left
:
calc
(
50%
-
8px
);
left
:
calc
(
50%
-
8px
);
}
}
}
.dropzone
{
border-radius
:
10px
;
border
:
2px
dashed
$color_havelock_blue_approx
;
.dz-default.dz-message
{
font-weight
:
500
;
font-size
:
20px
;
}
&
.single-file-center
{
.dz-file-preview
{
margin-left
:
calc
(
50%
-
68px
);
}
}
}
.dropzone-modal
{
.modal-body
{
background
:
$color_white_lilac_approx
;
}
}
}
\ No newline at end of file
dashboardv2/public/index.html.tpl
View file @
a78e208d
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
<link
rel=
"stylesheet"
href=
"js/libs/nvd3/css/nv.d3.min.css?bust=<%- bust %>"
>
<link
rel=
"stylesheet"
href=
"js/libs/nvd3/css/nv.d3.min.css?bust=<%- bust %>"
>
<link
href=
"js/libs/jstree/css/default-dark/default-dark-theme.min.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/jstree/css/default-dark/default-dark-theme.min.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/pretty-checkbox/css/pretty-checkbox.min.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/pretty-checkbox/css/pretty-checkbox.min.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/dropzone/css/dropzone.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/jstree/css/default/default-theme.min.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/jstree/css/default/default-theme.min.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"css/style.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"css/style.css?bust=<%- bust %>"
rel=
"stylesheet"
>
</head>
</head>
...
...
dashboardv2/public/js/main.js
View file @
a78e208d
...
@@ -175,7 +175,8 @@ require.config({
...
@@ -175,7 +175,8 @@ require.config({
'sparkline'
:
'libs/sparkline/jquery.sparkline.min'
,
'sparkline'
:
'libs/sparkline/jquery.sparkline.min'
,
'table-dragger'
:
'libs/table-dragger/table-dragger'
,
'table-dragger'
:
'libs/table-dragger/table-dragger'
,
'jstree'
:
'libs/jstree/jstree.min'
,
'jstree'
:
'libs/jstree/jstree.min'
,
'jquery-steps'
:
'libs/jquery-steps/jquery.steps.min'
'jquery-steps'
:
'libs/jquery-steps/jquery.steps.min'
,
'dropzone'
:
'libs/dropzone/js/dropzone-amd-module'
},
},
/**
/**
...
...
dashboardv2/public/js/templates/glossary/GlossaryLayoutView_tmpl.html
View file @
a78e208d
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div
class=
"col-sm-12 {{#unless isAssignView}}add-seperator{{/unless}}"
>
<div
class=
"col-sm-12 {{#unless isAssignView}}add-seperator{{/unless}}"
>
<div
class=
"row"
>
<div
class=
"row"
>
{{#unless isAssignView}}
{{#unless isAssignView}}
<div
class=
"col-sm-
8
no-padding"
style=
"margin-top: 5px;"
>
<div
class=
"col-sm-
7
no-padding"
style=
"margin-top: 5px;"
>
<span
class=
"pull-left"
>
Terms
</span>
<span
class=
"pull-left"
>
Terms
</span>
<label
class=
"switch pull-left"
>
<label
class=
"switch pull-left"
>
<input
type=
"checkbox"
class=
"switch-input"
name=
"glossaryView"
value=
"text"
/>
<input
type=
"checkbox"
class=
"switch-input"
name=
"glossaryView"
value=
"text"
/>
...
@@ -25,9 +25,17 @@
...
@@ -25,9 +25,17 @@
</label>
</label>
<span
class=
"pull-left"
>
Category
</span>
<span
class=
"pull-left"
>
Category
</span>
</div>
</div>
<div
class=
"{{#if isAssignView}}col-sm-2{{else}}col-sm-
4
{{/if}} no-padding-right"
>
<div
class=
"{{#if isAssignView}}col-sm-2{{else}}col-sm-
5
{{/if}} no-padding-right"
>
<button
type=
"button"
class=
"btn btn-action btn-md pull-right"
title=
"Refresh"
data-id=
"refreshGlossary"
onclick=
"this.blur();"
type=
"button"
><i
class=
"fa fa-refresh"
></i></button>
<button
type=
"button"
class=
"btn btn-action btn-md pull-right"
title=
"Refresh"
data-id=
"refreshGlossary"
onclick=
"this.blur();"
type=
"button"
><i
class=
"fa fa-refresh"
></i></button>
<button
type=
"button"
class=
"btn btn-action btn-md pull-right"
data-id=
"createGlossary"
type=
"button"
><i
class=
"fa fa-plus"
></i></button>
<button
type=
"button"
class=
"btn btn-action btn-md pull-right"
data-id=
"createGlossary"
type=
"button"
><i
class=
"fa fa-plus"
></i></button>
<div
class=
"dropdown pull-right"
>
<button
type=
"button"
data-toggle=
"dropdown"
class=
"btn btn-action btn-md dropdown-toggle"
type=
"button"
><i
class=
"fa fa-paperclip"
></i></button>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"{{importTmplUrl}}"
>
Download Import template
</a></li>
<li><a
href=
"javascript:void(0)"
data-id=
"importGlossary"
>
Import Glossary
</a></li>
</ul>
</div>
<!-- -->
{{/unless}}
{{/unless}}
</div>
</div>
</div>
</div>
...
...
dashboardv2/public/js/templates/glossary/ImportGlossaryLayoutView_tmpl.html
0 → 100644
View file @
a78e208d
<!--
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<form
action=
{{importUrl}}
id=
"importGlossary"
class=
"dropzone single-file-center"
></form>
\ No newline at end of file
dashboardv2/public/js/utils/UrlLinks.js
View file @
a78e208d
...
@@ -185,6 +185,12 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require
...
@@ -185,6 +185,12 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require
return
glossaryUrl
;
return
glossaryUrl
;
}
}
},
},
glossaryImportTempUrl
:
function
()
{
return
this
.
glossaryApiUrl
()
+
'/import/template'
;
},
glossaryImportUrl
:
function
()
{
return
this
.
glossaryApiUrl
()
+
'/import'
;
},
categoryApiUrl
:
function
(
options
)
{
categoryApiUrl
:
function
(
options
)
{
var
guid
=
options
&&
options
.
guid
,
var
guid
=
options
&&
options
.
guid
,
list
=
options
&&
options
.
list
,
list
=
options
&&
options
.
list
,
...
...
dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
View file @
a78e208d
...
@@ -22,9 +22,10 @@ define(['require',
...
@@ -22,9 +22,10 @@ define(['require',
'utils/Utils'
,
'utils/Utils'
,
'utils/Messages'
,
'utils/Messages'
,
'utils/Globals'
,
'utils/Globals'
,
'utils/UrlLinks'
,
'utils/CommonViewFunction'
,
'utils/CommonViewFunction'
,
'jstree'
'jstree'
],
function
(
require
,
Backbone
,
GlossaryLayoutViewTmpl
,
Utils
,
Messages
,
Globals
,
CommonViewFunction
)
{
],
function
(
require
,
Backbone
,
GlossaryLayoutViewTmpl
,
Utils
,
Messages
,
Globals
,
UrlLinks
,
CommonViewFunction
)
{
'use strict'
;
'use strict'
;
var
GlossaryLayoutView
=
Backbone
.
Marionette
.
LayoutView
.
extend
(
var
GlossaryLayoutView
=
Backbone
.
Marionette
.
LayoutView
.
extend
(
...
@@ -39,6 +40,7 @@ define(['require',
...
@@ -39,6 +40,7 @@ define(['require',
templateHelpers
:
function
()
{
templateHelpers
:
function
()
{
return
{
return
{
isAssignView
:
this
.
isAssignView
,
isAssignView
:
this
.
isAssignView
,
importTmplUrl
:
UrlLinks
.
glossaryImportTempUrl
(),
isAssignAttributeRelationView
:
this
.
isAssignAttributeRelationView
isAssignAttributeRelationView
:
this
.
isAssignAttributeRelationView
};
};
},
},
...
@@ -51,7 +53,8 @@ define(['require',
...
@@ -51,7 +53,8 @@ define(['require',
searchCategory
:
"[data-id='searchCategory']"
,
searchCategory
:
"[data-id='searchCategory']"
,
glossaryView
:
'input[name="glossaryView"]'
,
glossaryView
:
'input[name="glossaryView"]'
,
termTree
:
"[data-id='termTree']"
,
termTree
:
"[data-id='termTree']"
,
categoryTree
:
"[data-id='categoryTree']"
categoryTree
:
"[data-id='categoryTree']"
,
importGlossary
:
"[data-id='importGlossary']"
},
},
/** ui events hash */
/** ui events hash */
events
:
function
()
{
events
:
function
()
{
...
@@ -75,6 +78,7 @@ define(['require',
...
@@ -75,6 +78,7 @@ define(['require',
})
})
};
};
events
[
"click "
+
this
.
ui
.
refreshGlossary
]
=
'getGlossary'
;
events
[
"click "
+
this
.
ui
.
refreshGlossary
]
=
'getGlossary'
;
events
[
"click "
+
this
.
ui
.
importGlossary
]
=
'onClickImportGlossary'
;
events
[
"keyup "
+
this
.
ui
.
searchTerm
]
=
function
()
{
events
[
"keyup "
+
this
.
ui
.
searchTerm
]
=
function
()
{
this
.
ui
.
termTree
.
jstree
(
"search"
,
this
.
ui
.
searchTerm
.
val
());
this
.
ui
.
termTree
.
jstree
(
"search"
,
this
.
ui
.
searchTerm
.
val
());
};
};
...
@@ -740,6 +744,18 @@ define(['require',
...
@@ -740,6 +744,18 @@ define(['require',
updateTabState
:
true
updateTabState
:
true
});
});
}
}
},
onClickImportGlossary
:
function
()
{
var
that
=
this
;
require
([
'views/glossary/ImportGlossaryLayoutView'
],
function
(
ImportGlossaryLayoutView
)
{
var
view
=
new
ImportGlossaryLayoutView
({
callback
:
function
()
{
that
.
getGlossary
();
}
});
});
}
}
});
});
return
GlossaryLayoutView
;
return
GlossaryLayoutView
;
...
...
dashboardv2/public/js/views/glossary/ImportGlossaryLayoutView.js
0 → 100644
View file @
a78e208d
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
define
([
"require"
,
"backbone"
,
"hbs!tmpl/glossary/ImportGlossaryLayoutView_tmpl"
,
"modules/Modal"
,
'utils/CommonViewFunction'
,
"utils/Utils"
,
"utils/UrlLinks"
,
"dropzone"
],
function
(
require
,
Backbone
,
ImportGlossaryLayoutViewTmpl
,
Modal
,
CommonViewFunction
,
Utils
,
UrlLinks
,
dropzone
)
{
var
ImportGlossaryLayoutView
=
Backbone
.
Marionette
.
LayoutView
.
extend
(
/** @lends ImportGlossaryLayoutView */
{
_viewName
:
"ImportGlossaryLayoutView"
,
template
:
ImportGlossaryLayoutViewTmpl
,
templateHelpers
:
function
()
{
return
{
importUrl
:
UrlLinks
.
glossaryImportUrl
()
};
},
/** Layout sub regions */
regions
:
{},
/** ui selector cache */
ui
:
{},
/** ui events hash */
events
:
function
()
{
var
events
=
{};
return
events
;
},
/**
* intialize a new ImportGlossaryLayoutView Layout
* @constructs
*/
initialize
:
function
(
options
)
{
_
.
extend
(
this
,
_
.
pick
(
options
,
"callback"
));
var
that
=
this
;
this
.
modal
=
new
Modal
({
title
:
"Import Glossary"
,
content
:
this
,
cancelText
:
"Cancel"
,
okText
:
"upload"
,
allowCancel
:
true
,
okCloses
:
false
,
mainClass
:
"dropzone-modal"
}).
open
();
this
.
modal
.
$el
.
find
(
"button.ok"
).
attr
(
"disabled"
,
true
);
this
.
modal
.
on
(
"ok"
,
function
(
e
)
{
that
.
dropzone
.
processQueue
();
});
this
.
modal
.
on
(
"closeModal"
,
function
()
{
that
.
modal
.
trigger
(
"cancel"
);
});
},
bindEvents
:
function
()
{},
onRender
:
function
()
{
var
that
=
this
;
this
.
dropzone
=
null
;
var
updateButton
=
function
(
files
)
{
var
buttonEl
=
that
.
modal
.
$el
.
find
(
"button.ok"
);
if
(
files
.
length
===
0
)
{
buttonEl
.
attr
(
"disabled"
,
true
);
}
else
{
buttonEl
.
attr
(
"disabled"
,
false
);
}
}
var
headers
=
{};
headers
[
CommonViewFunction
.
restCsrfCustomHeader
]
=
'""'
;
this
.
$
(
"#importGlossary"
).
dropzone
({
url
:
UrlLinks
.
glossaryImportUrl
(),
clickable
:
true
,
acceptedFiles
:
".csv,.xls,.xlsx"
,
autoProcessQueue
:
false
,
maxFiles
:
1
,
addRemoveLinks
:
true
,
init
:
function
()
{
that
.
dropzone
=
this
;
this
.
on
(
'addedfile'
,
function
(
file
)
{
updateButton
(
this
.
files
);
})
this
.
on
(
'removedfile'
,
function
(
file
)
{
updateButton
(
this
.
files
);
})
},
maxfilesexceeded
:
function
(
file
)
{
this
.
removeAllFiles
();
this
.
addFile
(
file
);
},
success
:
function
(
file
,
response
)
{
that
.
modal
.
trigger
(
"cancel"
);
Utils
.
notifySuccess
({
content
:
"File: "
+
file
.
name
+
" added successfully"
});
that
.
callback
();
},
error
:
function
(
file
,
response
,
responseObj
)
{
Utils
.
defaultErrorHandler
(
null
,
responseObj
,
{
defaultErrorMessage
:
(
response
.
errorMessage
)
||
response
});
that
.
modal
.
$el
.
find
(
"button.ok"
).
attr
(
"disabled"
,
false
);
},
dictDefaultMessage
:
"Drop files here or click to upload."
,
headers
:
headers
});
}
}
);
return
ImportGlossaryLayoutView
;
});
\ No newline at end of file
dashboardv3/gruntfile.js
View file @
a78e208d
...
@@ -109,7 +109,8 @@ module.exports = function(grunt) {
...
@@ -109,7 +109,8 @@ module.exports = function(grunt) {
'jquery.sparkline.min.js'
:
{
'jquery-sparkline'
:
'sparkline'
},
'jquery.sparkline.min.js'
:
{
'jquery-sparkline'
:
'sparkline'
},
'table-dragger.js'
:
{
'table-dragger/dist'
:
'table-dragger'
},
'table-dragger.js'
:
{
'table-dragger/dist'
:
'table-dragger'
},
'jstree.min.js'
:
{
'jstree/dist'
:
'jstree'
},
'jstree.min.js'
:
{
'jstree/dist'
:
'jstree'
},
'jquery.steps.min.js'
:
{
'jquery-steps/build'
:
'jquery-steps'
}
'jquery.steps.min.js'
:
{
'jquery-steps/build'
:
'jquery-steps'
},
'dropzone-amd-module.js'
:
{
'dropzone/dist'
:
"dropzone/js"
}
}
}
},
},
...
@@ -153,7 +154,8 @@ module.exports = function(grunt) {
...
@@ -153,7 +154,8 @@ module.exports = function(grunt) {
'query-builder.default.min.css'
:
{
'jQuery-QueryBuilder/dist/css'
:
'jQueryQueryBuilder/css'
},
'query-builder.default.min.css'
:
{
'jQuery-QueryBuilder/dist/css'
:
'jQueryQueryBuilder/css'
},
'daterangepicker.css'
:
{
'bootstrap-daterangepicker'
:
'bootstrap-daterangepicker/css'
},
'daterangepicker.css'
:
{
'bootstrap-daterangepicker'
:
'bootstrap-daterangepicker/css'
},
'nv.d3.min.css'
:
{
'nvd3/build'
:
'nvd3/css'
},
'nv.d3.min.css'
:
{
'nvd3/build'
:
'nvd3/css'
},
'pretty-checkbox.min.css'
:
{
'pretty-checkbox/dist'
:
'pretty-checkbox/css'
}
'pretty-checkbox.min.css'
:
{
'pretty-checkbox/dist'
:
'pretty-checkbox/css'
},
'dropzone.css'
:
{
'dropzone/dist'
:
"dropzone/css"
}
}
}
},
},
...
...
dashboardv3/package-lock.json
View file @
a78e208d
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
}
}
},
},
"ajv"
:
{
"ajv"
:
{
"version"
:
"6.1
1
.0"
,
"version"
:
"6.1
2
.0"
,
"resolved"
:
"https://registry.npmjs.org/ajv/-/ajv-6.1
1
.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ajv/-/ajv-6.1
2
.0.tgz"
,
"integrity"
:
"sha512-
nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA
=="
,
"integrity"
:
"sha512-
D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw
=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"fast-deep-equal"
:
"^3.1.1"
,
"fast-deep-equal"
:
"^3.1.1"
,
...
@@ -60,10 +60,13 @@
...
@@ -60,10 +60,13 @@
"dev"
:
true
"dev"
:
true
},
},
"ansi-styles"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"version"
:
"3.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"integrity"
:
"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA=="
,
"dev"
:
true
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^1.9.0"
}
},
},
"aproba"
:
{
"aproba"
:
{
"version"
:
"1.2.0"
,
"version"
:
"1.2.0"
,
...
@@ -436,16 +439,14 @@
...
@@ -436,16 +439,14 @@
}
}
},
},
"chalk"
:
{
"chalk"
:
{
"version"
:
"
1.1.3
"
,
"version"
:
"
2.4.2
"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-
1.1.3
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-
2.4.2
.tgz"
,
"integrity"
:
"sha
1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg
="
,
"integrity"
:
"sha
512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=
="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"escape-string-regexp"
:
"^1.0.5"
,
"has-ansi"
:
"^2.0.0"
,
"supports-color"
:
"^5.3.0"
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
}
},
},
"clean-css"
:
{
"clean-css"
:
{
...
@@ -577,9 +578,9 @@
...
@@ -577,9 +578,9 @@
}
}
},
},
"core-js"
:
{
"core-js"
:
{
"version"
:
"2.6.
9
"
,
"version"
:
"2.6.
11
"
,
"resolved"
:
"https://registry.npmjs.org/core-js/-/core-js-2.6.
9
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/core-js/-/core-js-2.6.
11
.tgz"
,
"integrity"
:
"sha512-
HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A
=="
"integrity"
:
"sha512-
5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg
=="
},
},
"core-util-is"
:
{
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
...
@@ -639,13 +640,6 @@
...
@@ -639,13 +640,6 @@
"requires"
:
{
"requires"
:
{
"graphlib"
:
"^1.0.5"
,
"graphlib"
:
"^1.0.5"
,
"lodash"
:
"^3.10.0"
"lodash"
:
"^3.10.0"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
}
}
}
},
},
"dagre-d3"
:
{
"dagre-d3"
:
{
...
@@ -657,13 +651,6 @@
...
@@ -657,13 +651,6 @@
"dagre"
:
"^0.7.3"
,
"dagre"
:
"^0.7.3"
,
"graphlib"
:
"^1.0.5"
,
"graphlib"
:
"^1.0.5"
,
"lodash"
:
"^3.10.0"
"lodash"
:
"^3.10.0"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
}
}
}
},
},
"dashdash"
:
{
"dashdash"
:
{
...
@@ -734,14 +721,14 @@
...
@@ -734,14 +721,14 @@
"dev"
:
true
"dev"
:
true
},
},
"dot"
:
{
"dot"
:
{
"version"
:
"1.1.
2
"
,
"version"
:
"1.1.
3
"
,
"resolved"
:
"https://registry.npmjs.org/dot/-/dot-1.1.
2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/dot/-/dot-1.1.
3
.tgz"
,
"integrity"
:
"sha
1-xzdwGfxOVQeYkosrmv62ar+h8vk
="
"integrity"
:
"sha
512-/nt74Rm+PcfnirXGEdhZleTwGC2LMnuKTeeTIlI82xb5loBBoXNYzr2ezCroPSMtilK8EZIfcNZwOcHN+ib1Lg=
="
},
},
"dragula-with-animation"
:
{
"dragula-with-animation"
:
{
"version"
:
"3.7.
2
"
,
"version"
:
"3.7.
4
"
,
"resolved"
:
"https://registry.npmjs.org/dragula-with-animation/-/dragula-with-animation-3.7.
2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/dragula-with-animation/-/dragula-with-animation-3.7.
4
.tgz"
,
"integrity"
:
"sha
1-m5ktsqJ0MkMlxwuwy3Uud+H6qK8
="
,
"integrity"
:
"sha
512-Kdvld/s4ASLRgP5w8lzK64P+8XUX9ccNGn0rmXDCG9AuvyzUxvVo+HxLQoRMyRPCQWAZ3xzA7b3ghcFIz+QsIA=
="
,
"requires"
:
{
"requires"
:
{
"contra"
:
"1.9.4"
,
"contra"
:
"1.9.4"
,
"crossvent"
:
"1.5.4"
"crossvent"
:
"1.5.4"
...
@@ -762,6 +749,11 @@
...
@@ -762,6 +749,11 @@
}
}
}
}
},
},
"dropzone"
:
{
"version"
:
"5.7.0"
,
"resolved"
:
"https://registry.npmjs.org/dropzone/-/dropzone-5.7.0.tgz"
,
"integrity"
:
"sha512-kOltiZXH5cO/72I22JjE+w6BoT6uaVLfWdFMsi1PMKFkU6BZWpqRwjnsRm0o6ANGTBuZar5Piu7m/CbKqRPiYg=="
},
"ecc-jsbn"
:
{
"ecc-jsbn"
:
{
"version"
:
"0.1.2"
,
"version"
:
"0.1.2"
,
"resolved"
:
"https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz"
,
...
@@ -785,13 +777,12 @@
...
@@ -785,13 +777,12 @@
"dev"
:
true
"dev"
:
true
},
},
"error"
:
{
"error"
:
{
"version"
:
"7.
0.2
"
,
"version"
:
"7.
2.1
"
,
"resolved"
:
"https://registry.npmjs.org/error/-/error-7.
0.2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/error/-/error-7.
2.1
.tgz"
,
"integrity"
:
"sha
1-pfdf/02ZJhJt2sDqXcOOaJFTywI
="
,
"integrity"
:
"sha
512-fo9HBvWnx3NGUKMvMwB/CBCMMrfEJgbDTVDEkPygA3Bdd3lM1OyCd+rbQ8BwnpF6GdVeOLDNmyL4N5Bg80ZvdA=
="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"string-template"
:
"~0.2.1"
,
"string-template"
:
"~0.2.1"
"xtend"
:
"~4.0.0"
}
}
},
},
"error-ex"
:
{
"error-ex"
:
{
...
@@ -1056,20 +1047,20 @@
...
@@ -1056,20 +1047,20 @@
}
}
},
},
"globule"
:
{
"globule"
:
{
"version"
:
"1.
2
.1"
,
"version"
:
"1.
3
.1"
,
"resolved"
:
"https://registry.npmjs.org/globule/-/globule-1.
2
.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/globule/-/globule-1.
3
.1.tgz"
,
"integrity"
:
"sha512-
g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ
=="
,
"integrity"
:
"sha512-
OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g
=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"glob"
:
"~7.1.1"
,
"glob"
:
"~7.1.1"
,
"lodash"
:
"~4.17.1
0
"
,
"lodash"
:
"~4.17.1
2
"
,
"minimatch"
:
"~3.0.2"
"minimatch"
:
"~3.0.2"
},
},
"dependencies"
:
{
"dependencies"
:
{
"glob"
:
{
"glob"
:
{
"version"
:
"7.1.
4
"
,
"version"
:
"7.1.
6
"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.
6
.tgz"
,
"integrity"
:
"sha512-
hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1
A=="
,
"integrity"
:
"sha512-
LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMB
A=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"fs.realpath"
:
"^1.0.0"
,
...
@@ -1089,9 +1080,9 @@
...
@@ -1089,9 +1080,9 @@
}
}
},
},
"graceful-fs"
:
{
"graceful-fs"
:
{
"version"
:
"4.2.
0
"
,
"version"
:
"4.2.
3
"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.
3
.tgz"
,
"integrity"
:
"sha512-
jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg
=="
,
"integrity"
:
"sha512-
a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ
=="
,
"dev"
:
true
"dev"
:
true
},
},
"graceful-readlink"
:
{
"graceful-readlink"
:
{
...
@@ -1106,13 +1097,6 @@
...
@@ -1106,13 +1097,6 @@
"integrity"
:
"sha1-DKst8P/mq+BwsmJb+h7bbslnuLE="
,
"integrity"
:
"sha1-DKst8P/mq+BwsmJb+h7bbslnuLE="
,
"requires"
:
{
"requires"
:
{
"lodash"
:
"^3.10.0"
"lodash"
:
"^3.10.0"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
}
}
}
},
},
"grunt"
:
{
"grunt"
:
{
...
@@ -1138,33 +1122,6 @@
...
@@ -1138,33 +1122,6 @@
"nopt"
:
"~3.0.6"
,
"nopt"
:
"~3.0.6"
,
"path-is-absolute"
:
"~1.0.0"
,
"path-is-absolute"
:
"~1.0.0"
,
"rimraf"
:
"~2.6.2"
"rimraf"
:
"~2.6.2"
},
"dependencies"
:
{
"rimraf"
:
{
"version"
:
"2.6.3"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz"
,
"integrity"
:
"sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA=="
,
"dev"
:
true
,
"requires"
:
{
"glob"
:
"^7.1.3"
},
"dependencies"
:
{
"glob"
:
{
"version"
:
"7.1.4"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.4.tgz"
,
"integrity"
:
"sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A=="
,
"dev"
:
true
,
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"inflight"
:
"^1.0.4"
,
"inherits"
:
"2"
,
"minimatch"
:
"^3.0.4"
,
"once"
:
"^1.3.0"
,
"path-is-absolute"
:
"^1.0.0"
}
}
}
}
}
}
},
},
"grunt-cli"
:
{
"grunt-cli"
:
{
...
@@ -1195,31 +1152,6 @@
...
@@ -1195,31 +1152,6 @@
"requires"
:
{
"requires"
:
{
"async"
:
"^1.5.2"
,
"async"
:
"^1.5.2"
,
"rimraf"
:
"^2.5.1"
"rimraf"
:
"^2.5.1"
},
"dependencies"
:
{
"glob"
:
{
"version"
:
"7.1.4"
,
"resolved"
:
"https://registry.npmjs.org/glob/-/glob-7.1.4.tgz"
,
"integrity"
:
"sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A=="
,
"dev"
:
true
,
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"inflight"
:
"^1.0.4"
,
"inherits"
:
"2"
,
"minimatch"
:
"^3.0.4"
,
"once"
:
"^1.3.0"
,
"path-is-absolute"
:
"^1.0.0"
}
},
"rimraf"
:
{
"version"
:
"2.6.3"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz"
,
"integrity"
:
"sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA=="
,
"dev"
:
true
,
"requires"
:
{
"glob"
:
"^7.1.3"
}
}
}
}
},
},
"grunt-contrib-connect"
:
{
"grunt-contrib-connect"
:
{
...
@@ -1247,6 +1179,33 @@
...
@@ -1247,6 +1179,33 @@
"requires"
:
{
"requires"
:
{
"chalk"
:
"^1.1.1"
,
"chalk"
:
"^1.1.1"
,
"file-sync-cmp"
:
"^0.1.0"
"file-sync-cmp"
:
"^0.1.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"grunt-contrib-cssmin"
:
{
"grunt-contrib-cssmin"
:
{
...
@@ -1258,6 +1217,33 @@
...
@@ -1258,6 +1217,33 @@
"chalk"
:
"^1.0.0"
,
"chalk"
:
"^1.0.0"
,
"clean-css"
:
"~4.0.3"
,
"clean-css"
:
"~4.0.3"
,
"maxmin"
:
"^1.1.0"
"maxmin"
:
"^1.1.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"grunt-contrib-htmlmin"
:
{
"grunt-contrib-htmlmin"
:
{
...
@@ -1271,11 +1257,36 @@
...
@@ -1271,11 +1257,36 @@
"pretty-bytes"
:
"^4.0.2"
"pretty-bytes"
:
"^4.0.2"
},
},
"dependencies"
:
{
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"pretty-bytes"
:
{
"pretty-bytes"
:
{
"version"
:
"4.0.2"
,
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz"
,
"resolved"
:
"https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz"
,
"integrity"
:
"sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk="
,
"integrity"
:
"sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk="
,
"dev"
:
true
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
}
},
},
...
@@ -1296,6 +1307,33 @@
...
@@ -1296,6 +1307,33 @@
"object.assign"
:
"^4.0.4"
,
"object.assign"
:
"^4.0.4"
,
"uglify-js"
:
"~2.7.0"
,
"uglify-js"
:
"~2.7.0"
,
"uri-path"
:
"^1.0.0"
"uri-path"
:
"^1.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"grunt-contrib-watch"
:
{
"grunt-contrib-watch"
:
{
...
@@ -1318,6 +1356,12 @@
...
@@ -1318,6 +1356,12 @@
"requires"
:
{
"requires"
:
{
"lodash"
:
"^4.17.14"
"lodash"
:
"^4.17.14"
}
}
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
}
}
}
}
},
},
...
@@ -1337,6 +1381,14 @@
...
@@ -1337,6 +1381,14 @@
"grunt-legacy-log-utils"
:
"~2.0.0"
,
"grunt-legacy-log-utils"
:
"~2.0.0"
,
"hooker"
:
"~0.2.3"
,
"hooker"
:
"~0.2.3"
,
"lodash"
:
"~4.17.5"
"lodash"
:
"~4.17.5"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
}
}
}
},
},
"grunt-legacy-log-utils"
:
{
"grunt-legacy-log-utils"
:
{
...
@@ -1349,34 +1401,11 @@
...
@@ -1349,34 +1401,11 @@
"lodash"
:
"~4.17.10"
"lodash"
:
"~4.17.10"
},
},
"dependencies"
:
{
"dependencies"
:
{
"ansi-styles"
:
{
"lodash"
:
{
"version"
:
"3.2.1"
,
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA=="
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
,
"dev"
:
true
"requires"
:
{
"color-convert"
:
"^1.9.0"
}
},
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
},
"supports-color"
:
{
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
}
}
}
}
},
},
...
@@ -1395,14 +1424,11 @@
...
@@ -1395,14 +1424,11 @@
"which"
:
"~1.3.0"
"which"
:
"~1.3.0"
},
},
"dependencies"
:
{
"dependencies"
:
{
"which"
:
{
"lodash"
:
{
"version"
:
"1.3.1"
,
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/which/-/which-1.3.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ=="
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
,
"dev"
:
true
"requires"
:
{
"isexe"
:
"^2.0.0"
}
}
}
}
}
},
},
...
@@ -1466,9 +1492,9 @@
...
@@ -1466,9 +1492,9 @@
"dev"
:
true
"dev"
:
true
},
},
"has-symbols"
:
{
"has-symbols"
:
{
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.
1
.tgz"
,
"integrity"
:
"sha
1-uhqPGvKg/DllD1yFA2dwQSIGO0Q
="
,
"integrity"
:
"sha
512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=
="
,
"dev"
:
true
"dev"
:
true
},
},
"has-unicode"
:
{
"has-unicode"
:
{
...
@@ -1490,9 +1516,9 @@
...
@@ -1490,9 +1516,9 @@
"dev"
:
true
"dev"
:
true
},
},
"hosted-git-info"
:
{
"hosted-git-info"
:
{
"version"
:
"2.
7.1
"
,
"version"
:
"2.
8.8
"
,
"resolved"
:
"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.
7.1
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.
8.8
.tgz"
,
"integrity"
:
"sha512-
7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w
=="
,
"integrity"
:
"sha512-
f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg
=="
,
"dev"
:
true
"dev"
:
true
},
},
"html-minifier"
:
{
"html-minifier"
:
{
...
@@ -1613,13 +1639,10 @@
...
@@ -1613,13 +1639,10 @@
"dev"
:
true
"dev"
:
true
},
},
"is-finite"
:
{
"is-finite"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz"
,
"resolved"
:
"https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz"
,
"integrity"
:
"sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko="
,
"integrity"
:
"sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w=="
,
"dev"
:
true
,
"dev"
:
true
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
}
},
},
"is-fullwidth-code-point"
:
{
"is-fullwidth-code-point"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
...
@@ -1670,13 +1693,6 @@
...
@@ -1670,13 +1693,6 @@
"jquery"
:
">=1.9.0"
,
"jquery"
:
">=1.9.0"
,
"jquery-extendext"
:
">=0.1.2"
,
"jquery-extendext"
:
">=0.1.2"
,
"moment"
:
">=2.6.0"
"moment"
:
">=2.6.0"
},
"dependencies"
:
{
"bootstrap"
:
{
"version"
:
"4.3.1"
,
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz"
,
"integrity"
:
"sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag=="
}
}
}
},
},
"jquery"
:
{
"jquery"
:
{
...
@@ -1693,9 +1709,9 @@
...
@@ -1693,9 +1709,9 @@
}
}
},
},
"jquery-extendext"
:
{
"jquery-extendext"
:
{
"version"
:
"
0.1.2
"
,
"version"
:
"
1.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/jquery-extendext/-/jquery-extendext-
0.1.2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/jquery-extendext/-/jquery-extendext-
1.0.0
.tgz"
,
"integrity"
:
"sha
1-1FtUi1EtF0oqcz16wkSLkEVscVY
="
,
"integrity"
:
"sha
512-gDJjpQ8ISd4ZMwSn0yXSuyufsPMCeWtWJ8kmqE85VromJqyVT2sdkHzS5yL0w1GK81UpOzmr2f9JgFln2sbJSg=
="
,
"requires"
:
{
"requires"
:
{
"jquery"
:
">=1.9.1"
"jquery"
:
">=1.9.1"
}
}
...
@@ -1844,10 +1860,9 @@
...
@@ -1844,10 +1860,9 @@
}
}
},
},
"lodash"
:
{
"lodash"
:
{
"version"
:
"4.17.15"
,
"version"
:
"3.10.1"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"integrity"
:
"sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
"dev"
:
true
},
},
"longest"
:
{
"longest"
:
{
"version"
:
"1.0.1"
,
"version"
:
"1.0.1"
,
...
@@ -1902,6 +1917,33 @@
...
@@ -1902,6 +1917,33 @@
"figures"
:
"^1.0.1"
,
"figures"
:
"^1.0.1"
,
"gzip-size"
:
"^1.0.0"
,
"gzip-size"
:
"^1.0.0"
,
"pretty-bytes"
:
"^1.0.0"
"pretty-bytes"
:
"^1.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"meow"
:
{
"meow"
:
{
...
@@ -1929,18 +1971,18 @@
...
@@ -1929,18 +1971,18 @@
"dev"
:
true
"dev"
:
true
},
},
"mime-db"
:
{
"mime-db"
:
{
"version"
:
"1.4
0
.0"
,
"version"
:
"1.4
3
.0"
,
"resolved"
:
"https://registry.npmjs.org/mime-db/-/mime-db-1.4
0
.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/mime-db/-/mime-db-1.4
3
.0.tgz"
,
"integrity"
:
"sha512-
jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA
=="
,
"integrity"
:
"sha512-
+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ
=="
,
"dev"
:
true
"dev"
:
true
},
},
"mime-types"
:
{
"mime-types"
:
{
"version"
:
"2.1.2
4
"
,
"version"
:
"2.1.2
6
"
,
"resolved"
:
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.2
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.2
6
.tgz"
,
"integrity"
:
"sha512-
WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3c
Q=="
,
"integrity"
:
"sha512-
01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dW
Q=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"mime-db"
:
"1.4
0
.0"
"mime-db"
:
"1.4
3
.0"
}
}
},
},
"minimatch"
:
{
"minimatch"
:
{
...
@@ -2100,6 +2142,39 @@
...
@@ -2100,6 +2142,39 @@
"sass-graph"
:
"^2.2.4"
,
"sass-graph"
:
"^2.2.4"
,
"stdout-stream"
:
"^1.4.0"
,
"stdout-stream"
:
"^1.4.0"
,
"true-case-path"
:
"^1.0.2"
"true-case-path"
:
"^1.0.2"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
,
"integrity"
:
"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
,
"integrity"
:
"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^2.2.1"
,
"escape-string-regexp"
:
"^1.0.2"
,
"has-ansi"
:
"^2.0.0"
,
"strip-ansi"
:
"^3.0.0"
,
"supports-color"
:
"^2.0.0"
}
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"dev"
:
true
}
}
}
},
},
"nopt"
:
{
"nopt"
:
{
...
@@ -2401,9 +2476,9 @@
...
@@ -2401,9 +2476,9 @@
"dev"
:
true
"dev"
:
true
},
},
"qs"
:
{
"qs"
:
{
"version"
:
"6.
8.0
"
,
"version"
:
"6.
9.1
"
,
"resolved"
:
"https://registry.npmjs.org/qs/-/qs-6.
8.0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/qs/-/qs-6.
9.1
.tgz"
,
"integrity"
:
"sha512-
tPSkj8y92PfZVbinY1n84i1Qdx75lZjMQYx9WZhnkofyxzw2r7Ho39G3/aEvSUdebxpnnM4LZJCtvE/Aq3+s9w
=="
,
"integrity"
:
"sha512-
Cxm7/SS/y/Z3MHWSxXb8lIFqgqBowP5JMlTUFyJN88y0SGQhVmZnqFK/PeuMX9LzUyWsqqhNxIyg0jlzq946yA
=="
,
"dev"
:
true
"dev"
:
true
},
},
"range-parser"
:
{
"range-parser"
:
{
...
@@ -2452,9 +2527,9 @@
...
@@ -2452,9 +2527,9 @@
}
}
},
},
"readable-stream"
:
{
"readable-stream"
:
{
"version"
:
"2.3.
6
"
,
"version"
:
"2.3.
7
"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.
6
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.
7
.tgz"
,
"integrity"
:
"sha512-
tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkK
w=="
,
"integrity"
:
"sha512-
Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYP
w=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"core-util-is"
:
"~1.0.0"
,
"core-util-is"
:
"~1.0.0"
,
...
@@ -2561,9 +2636,9 @@
...
@@ -2561,9 +2636,9 @@
"integrity"
:
"sha1-ExOHM2E/xEV7fhJH6Mt1HfeqVCk="
"integrity"
:
"sha1-ExOHM2E/xEV7fhJH6Mt1HfeqVCk="
},
},
"resolve"
:
{
"resolve"
:
{
"version"
:
"1.1
1
.1"
,
"version"
:
"1.1
5
.1"
,
"resolved"
:
"https://registry.npmjs.org/resolve/-/resolve-1.1
1
.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/resolve/-/resolve-1.1
5
.1.tgz"
,
"integrity"
:
"sha512-
vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BB
w=="
,
"integrity"
:
"sha512-
84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7
w=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"path-parse"
:
"^1.0.6"
"path-parse"
:
"^1.0.6"
...
@@ -2594,9 +2669,9 @@
...
@@ -2594,9 +2669,9 @@
}
}
},
},
"rimraf"
:
{
"rimraf"
:
{
"version"
:
"2.
7.1
"
,
"version"
:
"2.
6.3
"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.
7.1
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/rimraf/-/rimraf-2.
6.3
.tgz"
,
"integrity"
:
"sha512-
uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w
=="
,
"integrity"
:
"sha512-
mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA
=="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"glob"
:
"^7.1.3"
"glob"
:
"^7.1.3"
...
@@ -2670,6 +2745,12 @@
...
@@ -2670,6 +2745,12 @@
"wrap-ansi"
:
"^2.0.0"
"wrap-ansi"
:
"^2.0.0"
}
}
},
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
,
"dev"
:
true
},
"yargs"
:
{
"yargs"
:
{
"version"
:
"7.1.0"
,
"version"
:
"7.1.0"
,
"resolved"
:
"https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz"
,
...
@@ -2724,9 +2805,9 @@
...
@@ -2724,9 +2805,9 @@
}
}
},
},
"semver"
:
{
"semver"
:
{
"version"
:
"5.7.
0
"
,
"version"
:
"5.7.
1
"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-5.7.
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-5.7.
1
.tgz"
,
"integrity"
:
"sha512-
Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA
=="
,
"integrity"
:
"sha512-
sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ
=="
,
"dev"
:
true
"dev"
:
true
},
},
"send"
:
{
"send"
:
{
...
@@ -2855,9 +2936,9 @@
...
@@ -2855,9 +2936,9 @@
}
}
},
},
"spdx-license-ids"
:
{
"spdx-license-ids"
:
{
"version"
:
"3.0.
4
"
,
"version"
:
"3.0.
5
"
,
"resolved"
:
"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
5
.tgz"
,
"integrity"
:
"sha512-
7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA
=="
,
"integrity"
:
"sha512-
J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q
=="
,
"dev"
:
true
"dev"
:
true
},
},
"sprintf-js"
:
{
"sprintf-js"
:
{
...
@@ -2952,10 +3033,13 @@
...
@@ -2952,10 +3033,13 @@
}
}
},
},
"supports-color"
:
{
"supports-color"
:
{
"version"
:
"2.0.0"
,
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
},
},
"table-dragger"
:
{
"table-dragger"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
...
@@ -3265,12 +3349,6 @@
...
@@ -3265,12 +3349,6 @@
"integrity"
:
"sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0="
,
"integrity"
:
"sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0="
,
"dev"
:
true
"dev"
:
true
},
},
"xtend"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz"
,
"integrity"
:
"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
,
"dev"
:
true
},
"y18n"
:
{
"y18n"
:
{
"version"
:
"3.2.1"
,
"version"
:
"3.2.1"
,
"resolved"
:
"https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz"
,
...
...
dashboardv3/package.json
View file @
a78e208d
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
"d3"
:
"3.5.17"
,
"d3"
:
"3.5.17"
,
"d3-tip"
:
"0.6.8"
,
"d3-tip"
:
"0.6.8"
,
"dagre-d3"
:
"0.4.17"
,
"dagre-d3"
:
"0.4.17"
,
"dropzone"
:
"5.7.0"
,
"font-awesome"
:
"4.7.0"
,
"font-awesome"
:
"4.7.0"
,
"jQuery-QueryBuilder"
:
"2.4.3"
,
"jQuery-QueryBuilder"
:
"2.4.3"
,
"jquery"
:
"3.3.1"
,
"jquery"
:
"3.3.1"
,
...
...
dashboardv3/public/css/scss/leftsidebar.scss
View file @
a78e208d
...
@@ -425,4 +425,16 @@ span.tree-tooltip {
...
@@ -425,4 +425,16 @@ span.tree-tooltip {
&
.show
{
&
.show
{
display
:
block
;
display
:
block
;
}
}
}
.glossary-dropdown
{
left
:
-190px
!
important
;
span
a
{
padding
:
0px
!
important
;
span
{
margin-left
:
0px
!
important
;
}
}
}
}
\ No newline at end of file
dashboardv3/public/css/scss/theme.scss
View file @
a78e208d
...
@@ -844,4 +844,26 @@ td.searchTableName:hover {
...
@@ -844,4 +844,26 @@ td.searchTableName:hover {
}
}
}
.dropzone
{
border-radius
:
10px
;
border
:
2px
dashed
$color_havelock_blue_approx
;
.dz-default.dz-message
{
font-weight
:
500
;
font-size
:
20px
;
}
&
.single-file-center
{
.dz-file-preview
{
margin-left
:
calc
(
50%
-
68px
);
}
}
}
.dropzone-modal
{
.modal-body
{
background
:
$color_white_lilac_approx
;
}
}
}
\ No newline at end of file
dashboardv3/public/index.html.tpl
View file @
a78e208d
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
<link
href=
"js/libs/jQueryQueryBuilder/css/query-builder.default.min.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"js/libs/jQueryQueryBuilder/css/query-builder.default.min.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"js/libs/bootstrap-daterangepicker/css/daterangepicker.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"js/libs/bootstrap-daterangepicker/css/daterangepicker.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
rel=
"stylesheet"
href=
"js/libs/nvd3/css/nv.d3.min.css?bust=<%- bust %>"
/>
<link
rel=
"stylesheet"
href=
"js/libs/nvd3/css/nv.d3.min.css?bust=<%- bust %>"
/>
<link
href=
"js/libs/dropzone/css/dropzone.css?bust=<%- bust %>"
rel=
"stylesheet"
>
<link
href=
"js/libs/jstree/css/default/default-theme.min.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"js/libs/jstree/css/default/default-theme.min.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"js/libs/pretty-checkbox/css/pretty-checkbox.min.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"js/libs/pretty-checkbox/css/pretty-checkbox.min.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"css/style.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
<link
href=
"css/style.css?bust=<%- bust %>"
rel=
"stylesheet"
/>
...
...
dashboardv3/public/js/main.js
View file @
a78e208d
...
@@ -175,7 +175,8 @@ require.config({
...
@@ -175,7 +175,8 @@ require.config({
'sparkline'
:
'libs/sparkline/jquery.sparkline.min'
,
'sparkline'
:
'libs/sparkline/jquery.sparkline.min'
,
'table-dragger'
:
'libs/table-dragger/table-dragger'
,
'table-dragger'
:
'libs/table-dragger/table-dragger'
,
'jstree'
:
'libs/jstree/jstree.min'
,
'jstree'
:
'libs/jstree/jstree.min'
,
'jquery-steps'
:
'libs/jquery-steps/jquery.steps.min'
'jquery-steps'
:
'libs/jquery-steps/jquery.steps.min'
,
'dropzone'
:
'libs/dropzone/js/dropzone-amd-module'
},
},
/**
/**
...
@@ -348,4 +349,4 @@ require(['App',
...
@@ -348,4 +349,4 @@ require(['App',
startApp
();
startApp
();
}
}
});
});
});
});
\ No newline at end of file
dashboardv3/public/js/templates/glossary/ImportGlossaryLayoutView_tmpl.html
0 → 100644
View file @
a78e208d
<!--
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<form
action=
{{importUrl}}
id=
"importGlossary"
class=
"dropzone single-file-center"
></form>
\ No newline at end of file
dashboardv3/public/js/templates/search/tree/GlossaryTreeLayoutView_tmpl.html
View file @
a78e208d
...
@@ -23,18 +23,22 @@
...
@@ -23,18 +23,22 @@
<button
type=
"button"
class=
"typeRefresh"
data-id=
"showGlossaryType"
title=
"Show Category"
>
<button
type=
"button"
class=
"typeRefresh"
data-id=
"showGlossaryType"
title=
"Show Category"
>
<i
class=
"fa fa-toggle-on switch-button"
></i>
<i
class=
"fa fa-toggle-on switch-button"
></i>
</button>
</button>
<button
title=
"Create Glossary"
type=
"button"
data-id=
"createGlossary"
>
<
!-- <
button title="Create Glossary" type="button" data-id="createGlossary">
<i class="fa fa-plus"></i>
<i class="fa fa-plus"></i>
</button>
</button>
-->
<
!-- <
button type="button" class="typeRefresh dropdown">
<button
type=
"button"
class=
"typeRefresh dropdown"
>
<div
class=
" btn-secondary dropdown-toggle"
type=
"button"
id=
"dropdownMenuButton"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<div
class=
" btn-secondary dropdown-toggle"
type=
"button"
id=
"dropdownMenuButton"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<i
class=
"fa fa-ellipsis-v"
></i>
<i
class=
"fa fa-ellipsis-v"
></i>
</div>
</div>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<ul
class=
"dropdown-menu
glossary-dropdown
"
aria-labelledby=
"dropdownMenuButton"
>
<li
data-id=
"createGlossary"
data-type=
"term"
>
<i
class=
"fa fa-plus"
></i><span>
Create Glossary
</span>
<li
data-id=
"createGlossary"
data-type=
"term"
>
<i
class=
"fa fa-plus"
></i><span>
Create Glossary
</span>
</li>
</li>
<li
data-id=
"downloadTemplate"
data-type=
"term"
><i
class=
"fa fa-download"
></i>
<span><a
href=
"{{importTmplUrl}}"
><span>
Download Import template
</span></a></span>
</li>
<li
data-id=
"importGlossary"
data-type=
"term"
>
<i
class=
"fa fa-upload"
></i><a
href=
"javascript:void(0)"
><span>
Import Glossary
</span></a>
</li>
</ul>
</ul>
</button>
-->
</button>
</div>
</div>
</div>
</div>
<div
id=
"c_term"
class=
"panel-collapse collapse jstree-with-action in"
>
<div
id=
"c_term"
class=
"panel-collapse collapse jstree-with-action in"
>
...
...
dashboardv3/public/js/utils/UrlLinks.js
View file @
a78e208d
...
@@ -185,6 +185,12 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require
...
@@ -185,6 +185,12 @@ define(['require', 'utils/Enums', 'utils/Utils', 'underscore'], function(require
return
glossaryUrl
;
return
glossaryUrl
;
}
}
},
},
glossaryImportTempUrl
:
function
()
{
return
this
.
glossaryApiUrl
()
+
'/import/template'
;
},
glossaryImportUrl
:
function
()
{
return
this
.
glossaryApiUrl
()
+
'/import'
;
},
categoryApiUrl
:
function
(
options
)
{
categoryApiUrl
:
function
(
options
)
{
var
guid
=
options
&&
options
.
guid
,
var
guid
=
options
&&
options
.
guid
,
list
=
options
&&
options
.
list
,
list
=
options
&&
options
.
list
,
...
...
dashboardv3/public/js/views/glossary/ImportGlossaryLayoutView.js
0 → 100644
View file @
a78e208d
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
define
([
"require"
,
"backbone"
,
"hbs!tmpl/glossary/ImportGlossaryLayoutView_tmpl"
,
"modules/Modal"
,
'utils/CommonViewFunction'
,
"utils/Utils"
,
"utils/UrlLinks"
,
"dropzone"
],
function
(
require
,
Backbone
,
ImportGlossaryLayoutViewTmpl
,
Modal
,
CommonViewFunction
,
Utils
,
UrlLinks
,
dropzone
)
{
var
ImportGlossaryLayoutView
=
Backbone
.
Marionette
.
LayoutView
.
extend
(
/** @lends ImportGlossaryLayoutView */
{
_viewName
:
"ImportGlossaryLayoutView"
,
template
:
ImportGlossaryLayoutViewTmpl
,
templateHelpers
:
function
()
{
return
{
importUrl
:
UrlLinks
.
glossaryImportUrl
()
};
},
/** Layout sub regions */
regions
:
{},
/** ui selector cache */
ui
:
{},
/** ui events hash */
events
:
function
()
{
var
events
=
{};
return
events
;
},
/**
* intialize a new ImportGlossaryLayoutView Layout
* @constructs
*/
initialize
:
function
(
options
)
{
_
.
extend
(
this
,
_
.
pick
(
options
,
"callback"
));
var
that
=
this
;
this
.
modal
=
new
Modal
({
title
:
"Import Glossary"
,
content
:
this
,
cancelText
:
"Cancel"
,
okText
:
"upload"
,
allowCancel
:
true
,
okCloses
:
false
,
mainClass
:
"dropzone-modal"
}).
open
();
this
.
modal
.
$el
.
find
(
"button.ok"
).
attr
(
"disabled"
,
true
);
this
.
modal
.
on
(
"ok"
,
function
(
e
)
{
that
.
dropzone
.
processQueue
();
});
this
.
modal
.
on
(
"closeModal"
,
function
()
{
that
.
modal
.
trigger
(
"cancel"
);
});
},
bindEvents
:
function
()
{},
onRender
:
function
()
{
var
that
=
this
;
this
.
dropzone
=
null
;
var
updateButton
=
function
(
files
)
{
var
buttonEl
=
that
.
modal
.
$el
.
find
(
"button.ok"
);
if
(
files
.
length
===
0
)
{
buttonEl
.
attr
(
"disabled"
,
true
);
}
else
{
buttonEl
.
attr
(
"disabled"
,
false
);
}
}
var
headers
=
{};
headers
[
CommonViewFunction
.
restCsrfCustomHeader
]
=
'""'
;
this
.
$
(
"#importGlossary"
).
dropzone
({
url
:
UrlLinks
.
glossaryImportUrl
(),
clickable
:
true
,
acceptedFiles
:
".csv,.xls,.xlsx"
,
autoProcessQueue
:
false
,
maxFiles
:
1
,
addRemoveLinks
:
true
,
init
:
function
()
{
that
.
dropzone
=
this
;
this
.
on
(
'addedfile'
,
function
(
file
)
{
updateButton
(
this
.
files
);
})
this
.
on
(
'removedfile'
,
function
(
file
)
{
updateButton
(
this
.
files
);
})
},
maxfilesexceeded
:
function
(
file
)
{
this
.
removeAllFiles
();
this
.
addFile
(
file
);
},
success
:
function
(
file
,
response
)
{
that
.
modal
.
trigger
(
"cancel"
);
Utils
.
notifySuccess
({
content
:
"File: "
+
file
.
name
+
" added successfully"
});
that
.
callback
();
},
error
:
function
(
file
,
response
,
responseObj
)
{
Utils
.
defaultErrorHandler
(
null
,
responseObj
,
{
defaultErrorMessage
:
(
response
.
errorMessage
)
||
response
});
that
.
modal
.
$el
.
find
(
"button.ok"
).
attr
(
"disabled"
,
false
);
},
dictDefaultMessage
:
"Drop files here or click to upload."
,
headers
:
headers
});
}
}
);
return
ImportGlossaryLayoutView
;
});
\ No newline at end of file
dashboardv3/public/js/views/search/tree/GlossaryTreeLayoutView.js
View file @
a78e208d
...
@@ -37,11 +37,15 @@ define([
...
@@ -37,11 +37,15 @@ define([
refreshTree
:
'[data-id="refreshTree"]'
,
refreshTree
:
'[data-id="refreshTree"]'
,
termSearchTree
:
'[data-id="termSearchTree"]'
,
termSearchTree
:
'[data-id="termSearchTree"]'
,
createGlossary
:
'[data-id="createGlossary"]'
,
createGlossary
:
'[data-id="createGlossary"]'
,
showGlossaryType
:
'[data-id="showGlossaryType"]'
showGlossaryType
:
'[data-id="showGlossaryType"]'
,
importGlossary
:
"[data-id='importGlossary']"
,
downloadTemplate
:
"[data-id='downloadTemplate']"
},
},
templateHelpers
:
function
()
{
templateHelpers
:
function
()
{
return
{
return
{
apiBaseUrl
:
UrlLinks
.
apiBaseUrl
apiBaseUrl
:
UrlLinks
.
apiBaseUrl
,
importTmplUrl
:
UrlLinks
.
glossaryImportTempUrl
()
};
};
},
},
events
:
function
()
{
events
:
function
()
{
...
@@ -73,6 +77,13 @@ define([
...
@@ -73,6 +77,13 @@ define([
this
.
isTermView
=
!
this
.
isTermView
;
this
.
isTermView
=
!
this
.
isTermView
;
this
.
glossarySwitchBtnUpdate
();
this
.
glossarySwitchBtnUpdate
();
};
};
events
[
"click "
+
this
.
ui
.
importGlossary
]
=
function
(
e
)
{
e
.
stopPropagation
();
that
.
onClickImportGlossary
();
};
events
[
'click '
+
this
.
ui
.
downloadTemplate
]
=
function
(
e
)
{
e
.
stopPropagation
();
};
return
events
;
return
events
;
},
},
bindEvents
:
function
()
{
bindEvents
:
function
()
{
...
@@ -581,7 +592,8 @@ define([
...
@@ -581,7 +592,8 @@ define([
gId
:
glossaryId
,
gId
:
glossaryId
,
guid
:
getSelectedParent
,
guid
:
getSelectedParent
,
gType
:
that
.
isTermView
?
'term'
:
'category'
,
gType
:
that
.
isTermView
?
'term'
:
'category'
,
viewType
:
that
.
isTermView
?
'term'
:
'category'
viewType
:
that
.
isTermView
?
'term'
:
'category'
,
searchType
:
"basic"
}
}
var
serachUrl
=
'#!/glossary/'
+
guid
;
var
serachUrl
=
'#!/glossary/'
+
guid
;
this
.
triggerSearch
(
params
,
serachUrl
);
this
.
triggerSearch
(
params
,
serachUrl
);
...
@@ -683,6 +695,18 @@ define([
...
@@ -683,6 +695,18 @@ define([
refresh
:
function
(
options
)
{
refresh
:
function
(
options
)
{
this
.
glossaryTermId
=
null
;
this
.
glossaryTermId
=
null
;
this
.
fetchGlossary
();
this
.
fetchGlossary
();
},
onClickImportGlossary
:
function
()
{
var
that
=
this
;
require
([
'views/glossary/ImportGlossaryLayoutView'
],
function
(
ImportGlossaryLayoutView
)
{
var
view
=
new
ImportGlossaryLayoutView
({
callback
:
function
()
{
that
.
refresh
();
}
});
});
}
}
});
});
return
GlossaryTreeLayoutView
;
return
GlossaryTreeLayoutView
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment