gnui 1.1.8 → 1.2.12
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 +202 -154
- package/README.md +9 -3
- 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/{LICENSE_OFL.txt → OFL.txt} +93 -92
- package/assets/images/flags.png +0 -0
- package/package.json +53 -37
- package/assets/NotoSansCJKkr-Black.otf +0 -0
- package/assets/NotoSansCJKkr-Bold.otf +0 -0
- package/assets/NotoSansCJKkr-DemiLight.otf +0 -0
- package/assets/NotoSansCJKkr-Light.otf +0 -0
- package/assets/NotoSansCJKkr-Medium.otf +0 -0
- package/assets/NotoSansCJKkr-Regular.otf +0 -0
- package/assets/NotoSansCJKkr-Thin.otf +0 -0
- package/assets/NotoSansMonoCJKkr-Bold.otf +0 -0
- package/assets/NotoSansMonoCJKkr-Regular.otf +0 -0
- package/assets/README +0 -11
- package/dist/js/gnui.esm.js +0 -22174
- package/dist/js/gnui.js +0 -22473
- package/dist/js/gnui.min.js +0 -1
- package/dist/styles/default.css +0 -3
- package/dist/styles/gpi.css +0 -3
- package/dist/styles/insights.css +0 -3
- package/dist/styles/nac.css +0 -3
- package/dist/styles/zt-nac.css +0 -3
- package/styleguide/assets/components.js +0 -1280
- package/styleguide/assets/guide.js +0 -45
- package/styleguide/assets/image.png +0 -0
- package/styleguide/assets/okadia.css +0 -124
- package/styleguide/assets/theme.css +0 -506
- package/styleguide/category/COLOR/index.html +0 -158
- package/styleguide/category/COMPONENT/Alert(js)/index.html +0 -421
- package/styleguide/category/COMPONENT/Bignumber/index.html +0 -273
- package/styleguide/category/COMPONENT/Breadcrumb/index.html +0 -328
- package/styleguide/category/COMPONENT/Calendar(js)/index.html +0 -239
- package/styleguide/category/COMPONENT/Card/index.html +0 -188
- package/styleguide/category/COMPONENT/Chart(js)/index.html +0 -558
- package/styleguide/category/COMPONENT/Datagrid(js)/index.html +0 -545
- package/styleguide/category/COMPONENT/Growl(js)/index.html +0 -288
- package/styleguide/category/COMPONENT/JsonView(js)/index.html +0 -829
- package/styleguide/category/COMPONENT/Message(js)/index.html +0 -391
- package/styleguide/category/COMPONENT/Modal(js)/index.html +0 -410
- package/styleguide/category/COMPONENT/Pagination/index.html +0 -352
- package/styleguide/category/COMPONENT/Panel/index.html +0 -309
- package/styleguide/category/COMPONENT/Progressbar(js)/index.html +0 -316
- package/styleguide/category/COMPONENT/Tab(js)/index.html +0 -444
- package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +0 -261
- package/styleguide/category/COMPONENT/Time(js)/index.html +0 -244
- package/styleguide/category/COMPONENT/Tooltip(js)/index.html +0 -317
- package/styleguide/category/COMPONENT/Tree(js)/index.html +0 -401
- package/styleguide/category/CONTROLS/Button(js)/index.html +0 -440
- package/styleguide/category/CONTROLS/Checkbox/index.html +0 -198
- package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +0 -209
- package/styleguide/category/CONTROLS/Datepicker(js)/index.html +0 -260
- package/styleguide/category/CONTROLS/Dropdown(js)/index.html +0 -1033
- package/styleguide/category/CONTROLS/File/index.html +0 -316
- package/styleguide/category/CONTROLS/Form/Control/index.html +0 -231
- package/styleguide/category/CONTROLS/Form/Field/index.html +0 -258
- package/styleguide/category/CONTROLS/Form/Plain/index.html +0 -197
- package/styleguide/category/CONTROLS/Input/index.html +0 -334
- package/styleguide/category/CONTROLS/MenuButton(js)/index.html +0 -257
- package/styleguide/category/CONTROLS/MultiText(js)/index.html +0 -260
- package/styleguide/category/CONTROLS/Picklist(js)/index.html +0 -699
- package/styleguide/category/CONTROLS/Radio/index.html +0 -201
- package/styleguide/category/CONTROLS/Select/index.html +0 -442
- package/styleguide/category/CONTROLS/SelectButton(js)/index.html +0 -236
- package/styleguide/category/CONTROLS/Slider/index.html +0 -193
- package/styleguide/category/CONTROLS/Switch(js)/index.html +0 -333
- package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +0 -483
- package/styleguide/category/CONTROLS/Textarea/index.html +0 -189
- package/styleguide/category/ELEMENTS/Box/index.html +0 -167
- package/styleguide/category/ELEMENTS/Icon/index.html +0 -265
- package/styleguide/category/ELEMENTS/Image/index.html +0 -213
- package/styleguide/category/ELEMENTS/List/index.html +0 -396
- package/styleguide/category/ELEMENTS/Table/index.html +0 -483
- package/styleguide/category/ELEMENTS/Tag/index.html +0 -255
- package/styleguide/category/ELEMENTS/Title/index.html +0 -186
- package/styleguide/category/LAYOUT/Container/index.html +0 -235
- package/styleguide/category/LAYOUT/Grid/index.html +0 -400
- package/styleguide/category/LAYOUT/Splitter(js)/index.html +0 -278
- package/styleguide/category/UTILITY/index.html +0 -367
- package/styleguide/category/Utils/index.html +0 -305
- package/styleguide/color.html +0 -168
- package/styleguide/index.html +0 -168
- package/styleguide/tag/javascript/index.html +0 -6224
- package/styleguide/tag/v.0.1.0/index.html +0 -10807
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width">
|
|
6
|
-
<link href="../../../dist/styles/default.css" rel="stylesheet" id="ThemeFile">
|
|
7
|
-
<link href="../../assets/okadia.css" rel="stylesheet">
|
|
8
|
-
<link href="../../assets/theme.css" rel="stylesheet">
|
|
9
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
|
|
10
|
-
<link href="https://fonts.googleapis.com/css?family=Squada+One&display=swap" rel="stylesheet">
|
|
11
|
-
<script src="../../assets/components.js"></script>
|
|
12
|
-
<script src="../../../dist/js/gnui.js"></script>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div class="aigis-container">
|
|
16
|
-
<header class="aigis-header gn-gcolor is-primary">
|
|
17
|
-
<span><a href="../../index.html" class="main-link" style="font-family: 'Squada One', cursive;">GNUI</a></span>
|
|
18
|
-
<span class="has-text-invert" style="font-size: 1.0em;padding-left: 10px;">Start your next web project with GNUI.</span>
|
|
19
|
-
<div class="gn-select is-medium">
|
|
20
|
-
<select id="ThemeSelector">
|
|
21
|
-
|
|
22
|
-
<option value="default">default</option>
|
|
23
|
-
|
|
24
|
-
<option value="nac">nac</option>
|
|
25
|
-
|
|
26
|
-
<option value="insights">insights</option>
|
|
27
|
-
|
|
28
|
-
<option value="gpi">gpi</option>
|
|
29
|
-
|
|
30
|
-
<option value="zt-nac">zt-nac</option>
|
|
31
|
-
|
|
32
|
-
</select>
|
|
33
|
-
</div>
|
|
34
|
-
<div>
|
|
35
|
-
<a class="gn-button is-primary util-link" href="../../category/Utils/index.html">
|
|
36
|
-
<span class="gn-icon is-small">
|
|
37
|
-
<i class="fas fa-tools"></i>
|
|
38
|
-
</span>
|
|
39
|
-
Gn.util
|
|
40
|
-
</a>
|
|
41
|
-
</div>
|
|
42
|
-
</header>
|
|
43
|
-
<div class="aigis-sidemenu">
|
|
44
|
-
<nav class="gn-tree is-borderless is-large left-menu">
|
|
45
|
-
</nav>
|
|
46
|
-
</div>
|
|
47
|
-
|
|
48
|
-
<script>
|
|
49
|
-
window.Gn = window.gnui;
|
|
50
|
-
|
|
51
|
-
Gn.ready(function(){
|
|
52
|
-
var leftMenu = setTree('COLOR,COMPONENT/Alert(js),COMPONENT/Bignumber,COMPONENT/Breadcrumb,COMPONENT/Calendar(js),COMPONENT/Card,COMPONENT/Chart(js),COMPONENT/Datagrid(js),COMPONENT/Growl(js),COMPONENT/JsonView(js),COMPONENT/Message(js),COMPONENT/Modal(js),COMPONENT/Pagination,COMPONENT/Panel,COMPONENT/Progressbar(js),COMPONENT/Tab(js),COMPONENT/Tagcloud(js),COMPONENT/Time(js),COMPONENT/Tooltip(js),COMPONENT/Tree(js),CONTROLS/Button(js),CONTROLS/Checkbox,CONTROLS/Colorpicker(js),CONTROLS/Datepicker(js),CONTROLS/Dropdown(js),CONTROLS/File,CONTROLS/Form/Control,CONTROLS/Form/Field,CONTROLS/Form/Plain,CONTROLS/Input,CONTROLS/MenuButton(js),CONTROLS/MultiText(js),CONTROLS/Picklist(js),CONTROLS/Radio,CONTROLS/Select,CONTROLS/SelectButton(js),CONTROLS/Slider,CONTROLS/Switch(js),CONTROLS/SyntaxInput(js),CONTROLS/Textarea,ELEMENTS/Box,ELEMENTS/Icon,ELEMENTS/Image,ELEMENTS/List,ELEMENTS/Table,ELEMENTS/Tag,ELEMENTS/Title,LAYOUT/Container,LAYOUT/Grid,LAYOUT/Splitter(js),UTILITY,Utils'.split(','));
|
|
53
|
-
var jsComps = ''.split(',');
|
|
54
|
-
delete leftMenu.Utils;
|
|
55
|
-
Gn.util.append('.left-menu', renderTree(leftMenu));
|
|
56
|
-
Gn.util.scrollIntoView(Gn.util.$('.tree-item.is-active'), 300);
|
|
57
|
-
|
|
58
|
-
function renderTree(menus){
|
|
59
|
-
var $depths = Gn.util.$('<ul></ul>');
|
|
60
|
-
Gn.util.each(menus, function (child, menu){
|
|
61
|
-
if(Gn.util.isString(child)){
|
|
62
|
-
Gn.util.append($depths, renderMenu(menu, '../../category/'+child+'/index.html', location.href.indexOf(child+'/') > -1));
|
|
63
|
-
} else {
|
|
64
|
-
var $_depth = renderMenu(menu, '');
|
|
65
|
-
Gn.util.append($_depth, renderTree(child));
|
|
66
|
-
Gn.util.append($depths, $_depth);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
return $depths;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function renderMenu(name, link, isActive){
|
|
73
|
-
var $_menu;
|
|
74
|
-
if (link === ''){
|
|
75
|
-
$_menu = Gn.util.$('<li>' + name + '</li>');
|
|
76
|
-
} else {
|
|
77
|
-
var menuClass = isActive ? ' is-active' :''
|
|
78
|
-
$_menu = Gn.util.$('<li><a href="' + link + '"><div class="tree-item'+menuClass+'">' + name.split('(js)').join('') + '</a></div></li>');
|
|
79
|
-
}
|
|
80
|
-
if(name.indexOf('(js)') > 0){
|
|
81
|
-
Gn.util.append(Gn.util.find('.tree-item', $_menu), Gn.util.$('<span class="gn-tag is-small is-info-light">JS</span>'));
|
|
82
|
-
}
|
|
83
|
-
return $_menu;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function setTree(categorys){
|
|
87
|
-
var menus = {};
|
|
88
|
-
|
|
89
|
-
categorys.forEach(function(category){
|
|
90
|
-
parseTree(menus, category.split('/'), category);
|
|
91
|
-
});
|
|
92
|
-
return menus;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function parseTree(parents, child, catgry){
|
|
96
|
-
var _depth = child.shift();
|
|
97
|
-
if (parents[_depth] === undefined) {
|
|
98
|
-
parents[_depth] = {}
|
|
99
|
-
}
|
|
100
|
-
if(child.length === 1){
|
|
101
|
-
parents[_depth][child] = catgry;
|
|
102
|
-
} else if (child.length > 1) {
|
|
103
|
-
parseTree(parents[_depth], child, catgry);
|
|
104
|
-
} else {
|
|
105
|
-
parents[_depth] = catgry;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
</script>
|
|
110
|
-
|
|
111
|
-
<div class="aigis-contents">
|
|
112
|
-
<div class="aigis-contents__body">
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<div>
|
|
116
|
-
<div class="aigis-module COLOR">
|
|
117
|
-
<h2 class="aigis-module__heading" id="COLOR">
|
|
118
|
-
COLOR
|
|
119
|
-
</h2>
|
|
120
|
-
<div class="aigis-module__filepath">
|
|
121
|
-
/scss/components/color.scss
|
|
122
|
-
</div>
|
|
123
|
-
<div class="aigis-tags">
|
|
124
|
-
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<h3 id="-">색 시스템</h3>
|
|
128
|
-
<ul>
|
|
129
|
-
<li>주색 (Primary Color), 보조색 (Secondary Color), 단색 (Mono) 사용</li>
|
|
130
|
-
<li>강조할 때(Accent)와 구분할 때 (Visual Hierarchy) 사용 - 이외의 색은 임의로 사용하지 않는다. 쫌</li>
|
|
131
|
-
</ul>
|
|
132
|
-
<div class="gn-box">
|
|
133
|
-
<div class="gn-gcolor is-primary">
|
|
134
|
-
주색 (is-primary)
|
|
135
|
-
</div>
|
|
136
|
-
<div class="gn-gcolor is-secondary">
|
|
137
|
-
보조색 (is-secondary)
|
|
138
|
-
</div>
|
|
139
|
-
<div class="gn-gcolor is-mono">
|
|
140
|
-
단색 (is-mono)
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
<footer class="aigis-footer">Last update at 2023/04/04 17:59</footer>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
<script src="../../assets/guide.js"></script>
|
|
154
|
-
</body>
|
|
155
|
-
</html>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|