gnui 1.2.0 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/gnui.d.ts +9 -2
- package/README.md +0 -0
- package/assets/NotoSansKR-Black.otf +0 -0
- package/assets/NotoSansKR-Black.woff +0 -0
- package/assets/NotoSansKR-Black.woff2 +0 -0
- package/assets/NotoSansKR-Bold.otf +0 -0
- package/assets/NotoSansKR-Bold.woff +0 -0
- package/assets/NotoSansKR-Bold.woff2 +0 -0
- package/assets/NotoSansKR-DemiLight.otf +0 -0
- package/assets/NotoSansKR-DemiLight.woff +0 -0
- package/assets/NotoSansKR-DemiLight.woff2 +0 -0
- package/assets/NotoSansKR-Light.otf +0 -0
- package/assets/NotoSansKR-Light.woff +0 -0
- package/assets/NotoSansKR-Light.woff2 +0 -0
- package/assets/NotoSansKR-Medium.otf +0 -0
- package/assets/NotoSansKR-Medium.woff +0 -0
- package/assets/NotoSansKR-Medium.woff2 +0 -0
- package/assets/NotoSansKR-Regular.otf +0 -0
- package/assets/NotoSansKR-Regular.woff +0 -0
- package/assets/NotoSansKR-Regular.woff2 +0 -0
- package/assets/NotoSansKR-Thin.otf +0 -0
- package/assets/NotoSansKR-Thin.woff +0 -0
- package/assets/NotoSansKR-Thin.woff2 +0 -0
- package/assets/OFL.txt +0 -0
- package/assets/images/flags.png +0 -0
- package/package.json +20 -13
- package/dist/js/gnui.esm.js +0 -24295
- package/dist/js/gnui.js +0 -24303
- package/dist/js/gnui.min.js +0 -23
- package/dist/styles/default.css +0 -1
- package/dist/styles/gpi.css +0 -1
- package/dist/styles/green24.css +0 -1
- package/dist/styles/insights.css +0 -1
- package/dist/styles/nac.css +0 -1
- package/dist/styles/ztnac.css +0 -1
- package/styleguide/assets/components.js +0 -1732
- package/styleguide/assets/guide.js +0 -47
- package/styleguide/assets/image.png +0 -0
- package/styleguide/assets/okadia.css +0 -122
- package/styleguide/assets/theme.css +0 -564
- package/styleguide/category/COLOR/index.html +0 -156
- package/styleguide/category/COMPONENT/Alert(js)/index.html +0 -418
- package/styleguide/category/COMPONENT/Bignumber/index.html +0 -269
- package/styleguide/category/COMPONENT/Breadcrumb/index.html +0 -324
- package/styleguide/category/COMPONENT/Calendar(js)/index.html +0 -236
- package/styleguide/category/COMPONENT/Card/index.html +0 -184
- package/styleguide/category/COMPONENT/Chart(js)/index.html +0 -555
- package/styleguide/category/COMPONENT/Datagrid(js)/index.html +0 -693
- package/styleguide/category/COMPONENT/Datalist(js)/index.html +0 -471
- package/styleguide/category/COMPONENT/Growl(js)/index.html +0 -285
- package/styleguide/category/COMPONENT/JsonView(js)/index.html +0 -1127
- package/styleguide/category/COMPONENT/MenuButton(js)/index.html +0 -281
- package/styleguide/category/COMPONENT/Message(js)/index.html +0 -515
- package/styleguide/category/COMPONENT/Modal(js)/index.html +0 -444
- package/styleguide/category/COMPONENT/Pagination/index.html +0 -348
- package/styleguide/category/COMPONENT/Panel/index.html +0 -305
- package/styleguide/category/COMPONENT/Progressbar(js)/index.html +0 -313
- package/styleguide/category/COMPONENT/Tab(js)/index.html +0 -473
- package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +0 -260
- package/styleguide/category/COMPONENT/Tooltip(js)/index.html +0 -400
- package/styleguide/category/COMPONENT/Tree(js)/index.html +0 -404
- package/styleguide/category/CONTROLS/Button(js)/index.html +0 -455
- package/styleguide/category/CONTROLS/Checkbox/index.html +0 -194
- package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +0 -263
- package/styleguide/category/CONTROLS/Datepicker(js)/index.html +0 -292
- package/styleguide/category/CONTROLS/Dropdown(js)/index.html +0 -1062
- package/styleguide/category/CONTROLS/File/index.html +0 -312
- package/styleguide/category/CONTROLS/Form/Control/index.html +0 -227
- package/styleguide/category/CONTROLS/Form/Field/index.html +0 -254
- package/styleguide/category/CONTROLS/Form/Plain/index.html +0 -193
- package/styleguide/category/CONTROLS/Input/index.html +0 -330
- package/styleguide/category/CONTROLS/MultiText(js)/index.html +0 -273
- package/styleguide/category/CONTROLS/Picklist(js)/index.html +0 -723
- package/styleguide/category/CONTROLS/Radio/index.html +0 -197
- package/styleguide/category/CONTROLS/Select/index.html +0 -438
- package/styleguide/category/CONTROLS/SelectButton(js)/index.html +0 -291
- package/styleguide/category/CONTROLS/Slider/index.html +0 -189
- package/styleguide/category/CONTROLS/Switch(js)/index.html +0 -345
- package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +0 -480
- package/styleguide/category/CONTROLS/Textarea/index.html +0 -185
- package/styleguide/category/CONTROLS/Time(js)/index.html +0 -263
- package/styleguide/category/ELEMENTS/Box/index.html +0 -163
- package/styleguide/category/ELEMENTS/Icon/index.html +0 -305
- package/styleguide/category/ELEMENTS/Image/index.html +0 -209
- package/styleguide/category/ELEMENTS/List/index.html +0 -392
- package/styleguide/category/ELEMENTS/Table/index.html +0 -479
- package/styleguide/category/ELEMENTS/Tag/index.html +0 -251
- package/styleguide/category/ELEMENTS/Title/index.html +0 -182
- package/styleguide/category/LAYOUT/Container/index.html +0 -231
- package/styleguide/category/LAYOUT/Grid/index.html +0 -396
- package/styleguide/category/LAYOUT/Splitter(js)/index.html +0 -275
- package/styleguide/category/UTILITY/index.html +0 -365
- package/styleguide/category/Utils/index.html +0 -331
- package/styleguide/color.html +0 -169
- package/styleguide/index.html +0 -169
- package/styleguide/tag/javascript/index.html +0 -7197
- package/styleguide/tag/v.0.1.0/index.html +0 -11969
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
Gn.ready(function () {
|
|
2
|
-
const theme = Gn.util.$('#ThemeSelector');
|
|
3
|
-
const themeFile = Gn.util.$('#ThemeFile');
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
6
|
-
const changeTheme = function (theme) {
|
|
7
|
-
const stylepath = Gn.util.attr(themeFile, 'href');
|
|
8
|
-
const stylefile = stylepath.match(/[-_\w]+[.][\w]+$/i)[0];
|
|
9
|
-
Gn.util.attr(themeFile, 'href', stylepath.replace(stylefile, theme + '.css'));
|
|
10
|
-
const categorys = Gn.util.$$('.aigis-sidemenu a[href]');
|
|
11
|
-
Gn.util.each(categorys, function (x) {
|
|
12
|
-
const link = x.getAttribute('href').split('#')[0];
|
|
13
|
-
x.setAttribute('href', link + '#' + theme);
|
|
14
|
-
});
|
|
15
|
-
Gn.util.attr(Gn.util.$('.main-link'), 'href', Gn.util.attr(Gn.util.$('.main-link'), 'href').split('#')[0] + '#' + theme);
|
|
16
|
-
Gn.util.attr(Gn.util.$('.util-link'), 'href', Gn.util.attr(Gn.util.$('.util-link'), 'href').split('#')[0] + '#' + theme);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
Gn.util.on(theme, 'change', function () {
|
|
20
|
-
location.hash = this.value;
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
Gn.util.on(window, 'hashchange', function () {
|
|
24
|
-
changeTheme(location.hash.substring(1));
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
if (location.hash) {
|
|
28
|
-
changeTheme(location.hash.substring(1));
|
|
29
|
-
Gn.util.val(theme, location.hash.substring(1));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
Gn.util.on(Gn.util.$$('a[href]'), 'click', function (e) {
|
|
33
|
-
if (Gn.util.startsWith(e.currentTarget.getAttribute('href'), '#')) {
|
|
34
|
-
e.preventDefault();
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
const comppath = location.pathname.replace('/index.html', '').split('/').pop().replace('(js)', '');
|
|
39
|
-
if (components && components[comppath]) {
|
|
40
|
-
setTimeout(function () {
|
|
41
|
-
components[comppath]();
|
|
42
|
-
Gn.util.on('.js-guide', 'click', function () {
|
|
43
|
-
Gn.util.scrollTop(window, Gn.util.offset(Gn.util.prev(Gn.util.parent(Gn.util.$('.language-ejs')))).top - 100);
|
|
44
|
-
});
|
|
45
|
-
}, 300);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
Binary file
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+apacheconf+apl+applescript+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+c+brainfuck+bro+bison+csharp+cpp+coffeescript+ruby+css-extras+d+dart+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+jade+java+json+julia+keyman+kotlin+latex+less+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+nasm+nginx+nim+nix+nsis+objectivec+ocaml+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+protobuf+puppet+pure+python+q+qore+r+jsx+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+verilog+vhdl+vim+wiki+yaml */
|
|
2
|
-
/**
|
|
3
|
-
* okaidia theme for JavaScript, CSS and HTML
|
|
4
|
-
* Loosely based on Monokai textmate theme by http://www.monokai.nl/
|
|
5
|
-
* @author ocodia
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
code[class*='language-'],
|
|
9
|
-
pre[class*='language-'] {
|
|
10
|
-
color: #f8f8f2;
|
|
11
|
-
background: none;
|
|
12
|
-
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
13
|
-
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
14
|
-
text-align: left;
|
|
15
|
-
white-space: pre;
|
|
16
|
-
word-spacing: normal;
|
|
17
|
-
word-break: normal;
|
|
18
|
-
word-wrap: normal;
|
|
19
|
-
line-height: 1.5;
|
|
20
|
-
|
|
21
|
-
-moz-tab-size: 4;
|
|
22
|
-
-o-tab-size: 4;
|
|
23
|
-
tab-size: 4;
|
|
24
|
-
|
|
25
|
-
-webkit-hyphens: none;
|
|
26
|
-
-moz-hyphens: none;
|
|
27
|
-
-ms-hyphens: none;
|
|
28
|
-
hyphens: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Code blocks */
|
|
32
|
-
pre[class*='language-'] {
|
|
33
|
-
padding: 1em;
|
|
34
|
-
margin: 0.5em 0;
|
|
35
|
-
overflow: auto;
|
|
36
|
-
border-radius: 0.3em;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:not(pre) > code[class*='language-'],
|
|
40
|
-
pre[class*='language-'] {
|
|
41
|
-
background: #333333;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* Inline code */
|
|
45
|
-
:not(pre) > code[class*='language-'] {
|
|
46
|
-
padding: 0.1em;
|
|
47
|
-
border-radius: 0.3em;
|
|
48
|
-
white-space: normal;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.token.comment,
|
|
52
|
-
.token.prolog,
|
|
53
|
-
.token.doctype,
|
|
54
|
-
.token.cdata {
|
|
55
|
-
color: slategray;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.token.punctuation {
|
|
59
|
-
color: #f8f8f2;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.namespace {
|
|
63
|
-
opacity: 0.7;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.token.property,
|
|
67
|
-
.token.tag,
|
|
68
|
-
.token.constant,
|
|
69
|
-
.token.symbol,
|
|
70
|
-
.token.deleted {
|
|
71
|
-
color: #fa8072;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.token.boolean,
|
|
75
|
-
.token.number {
|
|
76
|
-
color: #ae81ff;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.token.selector,
|
|
80
|
-
.token.attr-name,
|
|
81
|
-
.token.string,
|
|
82
|
-
.token.char,
|
|
83
|
-
.token.builtin,
|
|
84
|
-
.token.inserted {
|
|
85
|
-
color: #b0e0e6;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.token.operator,
|
|
89
|
-
.token.entity,
|
|
90
|
-
.token.url,
|
|
91
|
-
.language-css .token.string,
|
|
92
|
-
.style .token.string,
|
|
93
|
-
.token.variable {
|
|
94
|
-
color: #f0e68c;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.token.atrule,
|
|
98
|
-
.token.attr-value,
|
|
99
|
-
.token.function {
|
|
100
|
-
color: #dfd68a;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.token.keyword {
|
|
104
|
-
color: #76b9c7;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.token.regex,
|
|
108
|
-
.token.important {
|
|
109
|
-
color: #f5deb3;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.token.important,
|
|
113
|
-
.token.bold {
|
|
114
|
-
font-weight: bold;
|
|
115
|
-
}
|
|
116
|
-
.token.italic {
|
|
117
|
-
font-style: italic;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.token.entity {
|
|
121
|
-
cursor: help;
|
|
122
|
-
}
|