gnui 1.2.13 → 1.2.14
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/dist/js/gnui.esm.js +40432 -0
- package/dist/js/gnui.js +40440 -0
- package/dist/js/gnui.min.js +23 -0
- package/dist/styles/default.css +1 -0
- package/dist/styles/gpi.css +1 -0
- package/dist/styles/green24.css +1 -0
- package/dist/styles/insights.css +1 -0
- package/dist/styles/nac.css +1 -0
- package/dist/styles/ztnac.css +1 -0
- package/package.json +1 -1
- package/styleguide/assets/components.js +1757 -0
- package/styleguide/assets/favicon.ico +0 -0
- package/styleguide/assets/guide.js +47 -0
- package/styleguide/assets/image.png +0 -0
- package/styleguide/assets/js/gnui.js +40440 -0
- package/styleguide/assets/js/gnui.min.js +23 -0
- package/styleguide/assets/okadia.css +121 -0
- package/styleguide/assets/styles/default.css +1 -0
- package/styleguide/assets/styles/gpi.css +1 -0
- package/styleguide/assets/styles/green24.css +1 -0
- package/styleguide/assets/styles/insights.css +1 -0
- package/styleguide/assets/styles/nac.css +1 -0
- package/styleguide/assets/styles/ztnac.css +1 -0
- package/styleguide/assets/theme.css +596 -0
- package/styleguide/category/COLOR/index.html +157 -0
- package/styleguide/category/COMPONENT/Alert(js)/index.html +419 -0
- package/styleguide/category/COMPONENT/Bignumber/index.html +270 -0
- package/styleguide/category/COMPONENT/Breadcrumb/index.html +325 -0
- package/styleguide/category/COMPONENT/Calendar(js)/index.html +243 -0
- package/styleguide/category/COMPONENT/Card/index.html +185 -0
- package/styleguide/category/COMPONENT/Chart(js)/index.html +556 -0
- package/styleguide/category/COMPONENT/Datagrid(js)/index.html +685 -0
- package/styleguide/category/COMPONENT/Datalist(js)/index.html +472 -0
- package/styleguide/category/COMPONENT/Growl(js)/index.html +352 -0
- package/styleguide/category/COMPONENT/JsonView(js)/index.html +1135 -0
- package/styleguide/category/COMPONENT/Loader(js)/index.html +296 -0
- package/styleguide/category/COMPONENT/MenuButton(js)/index.html +282 -0
- package/styleguide/category/COMPONENT/Message(js)/index.html +516 -0
- package/styleguide/category/COMPONENT/Modal(js)/index.html +445 -0
- package/styleguide/category/COMPONENT/Pagination(js)/index.html +446 -0
- package/styleguide/category/COMPONENT/Panel/index.html +327 -0
- package/styleguide/category/COMPONENT/Progressbar(js)/index.html +314 -0
- package/styleguide/category/COMPONENT/Tab(js)/index.html +474 -0
- package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +261 -0
- package/styleguide/category/COMPONENT/Tooltip(js)/index.html +413 -0
- package/styleguide/category/COMPONENT/Tree(js)/index.html +405 -0
- package/styleguide/category/CONTROLS/Button(js)/index.html +466 -0
- package/styleguide/category/CONTROLS/Checkbox/index.html +195 -0
- package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +286 -0
- package/styleguide/category/CONTROLS/Datepicker(js)/index.html +324 -0
- package/styleguide/category/CONTROLS/Dropdown(js)/index.html +1113 -0
- package/styleguide/category/CONTROLS/File/index.html +313 -0
- package/styleguide/category/CONTROLS/Form/Control/index.html +228 -0
- package/styleguide/category/CONTROLS/Form/Field/index.html +255 -0
- package/styleguide/category/CONTROLS/Form/Plain/index.html +194 -0
- package/styleguide/category/CONTROLS/Input/index.html +331 -0
- package/styleguide/category/CONTROLS/MultiText(js)/index.html +274 -0
- package/styleguide/category/CONTROLS/Picklist(js)/index.html +739 -0
- package/styleguide/category/CONTROLS/Radio/index.html +198 -0
- package/styleguide/category/CONTROLS/Select/index.html +457 -0
- package/styleguide/category/CONTROLS/SelectButton(js)/index.html +292 -0
- package/styleguide/category/CONTROLS/Slider/index.html +190 -0
- package/styleguide/category/CONTROLS/Switch(js)/index.html +346 -0
- package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +481 -0
- package/styleguide/category/CONTROLS/Textarea/index.html +186 -0
- package/styleguide/category/CONTROLS/Time(js)/index.html +264 -0
- package/styleguide/category/ELEMENTS/Box/index.html +171 -0
- package/styleguide/category/ELEMENTS/Icon/index.html +359 -0
- package/styleguide/category/ELEMENTS/Image/index.html +210 -0
- package/styleguide/category/ELEMENTS/List/index.html +393 -0
- package/styleguide/category/ELEMENTS/Table/index.html +480 -0
- package/styleguide/category/ELEMENTS/Tag/index.html +252 -0
- package/styleguide/category/ELEMENTS/Title/index.html +183 -0
- package/styleguide/category/LAYOUT/Container/index.html +232 -0
- package/styleguide/category/LAYOUT/Grid/index.html +397 -0
- package/styleguide/category/LAYOUT/Splitter(js)/index.html +276 -0
- package/styleguide/category/UTILITY/index.html +472 -0
- package/styleguide/category/Utils/index.html +338 -0
- package/styleguide/color.html +170 -0
- package/styleguide/index.html +170 -0
- package/styleguide/tag/javascript/index.html +7565 -0
- package/styleguide/tag/v.0.1.0/index.html +12646 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width" />
|
|
6
|
+
<link rel="icon" type="image/x-icon" href="./assets/favicon.ico">
|
|
7
|
+
<link href="../../assets/styles/default.css" rel="stylesheet" id="ThemeFile" />
|
|
8
|
+
<link href="../../assets/okadia.css" rel="stylesheet" />
|
|
9
|
+
<link href="../../assets/theme.css" rel="stylesheet" />
|
|
10
|
+
<link
|
|
11
|
+
rel="stylesheet"
|
|
12
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
|
|
13
|
+
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
|
|
14
|
+
crossorigin="anonymous"
|
|
15
|
+
/>
|
|
16
|
+
<link href="https://fonts.googleapis.com/css?family=Squada+One&display=swap" rel="stylesheet" />
|
|
17
|
+
<script src="../../assets/components.js"></script>
|
|
18
|
+
<script src="../../assets/js/gnui.js"></script>
|
|
19
|
+
</head>
|
|
20
|
+
<body>
|
|
21
|
+
<div class="aigis-container">
|
|
22
|
+
<header class="aigis-header gn-gcolor is-primary">
|
|
23
|
+
<span><a href="../../index.html" class="main-link" style="font-family: 'Squada One', cursive">GNUI</a></span>
|
|
24
|
+
<span class="has-text-invert" style="font-size: 1em; padding-left: 10px">Start your next web project with GNUI.</span>
|
|
25
|
+
<div class="gn-select is-medium">
|
|
26
|
+
<select id="ThemeSelector">
|
|
27
|
+
|
|
28
|
+
<option value="default">default</option>
|
|
29
|
+
|
|
30
|
+
<option value="nac">nac</option>
|
|
31
|
+
|
|
32
|
+
<option value="insights">insights</option>
|
|
33
|
+
|
|
34
|
+
<option value="gpi">gpi</option>
|
|
35
|
+
|
|
36
|
+
<option value="ztnac">ztnac</option>
|
|
37
|
+
|
|
38
|
+
<option value="green24">green24</option>
|
|
39
|
+
|
|
40
|
+
</select>
|
|
41
|
+
</div>
|
|
42
|
+
<div>
|
|
43
|
+
<a class="gn-button is-primary util-link" href="../../category/Utils/index.html">
|
|
44
|
+
<span class="gn-icon is-small">
|
|
45
|
+
<i class="fas fa-tools"></i>
|
|
46
|
+
</span>
|
|
47
|
+
Gn.util
|
|
48
|
+
</a>
|
|
49
|
+
</div>
|
|
50
|
+
</header>
|
|
51
|
+
<div class="aigis-sidemenu">
|
|
52
|
+
<nav class="gn-tree is-borderless is-large left-menu"></nav>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<script>
|
|
56
|
+
window.Gn = window.gnui;
|
|
57
|
+
|
|
58
|
+
Gn.ready(function () {
|
|
59
|
+
var leftMenu = setTree('COLOR,COMPONENT/Alert(js),COMPONENT/Bignumber,COMPONENT/Breadcrumb,COMPONENT/Calendar(js),COMPONENT/Card,COMPONENT/Chart(js),COMPONENT/Datagrid(js),COMPONENT/Datalist(js),COMPONENT/Growl(js),COMPONENT/JsonView(js),COMPONENT/Loader(js),COMPONENT/MenuButton(js),COMPONENT/Message(js),COMPONENT/Modal(js),COMPONENT/Pagination(js),COMPONENT/Panel,COMPONENT/Progressbar(js),COMPONENT/Tab(js),COMPONENT/Tagcloud(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/MultiText(js),CONTROLS/Picklist(js),CONTROLS/Radio,CONTROLS/Select,CONTROLS/SelectButton(js),CONTROLS/Slider,CONTROLS/Switch(js),CONTROLS/SyntaxInput(js),CONTROLS/Textarea,CONTROLS/Time(js),ELEMENTS/Box,ELEMENTS/Icon,ELEMENTS/Image,ELEMENTS/List,ELEMENTS/Table,ELEMENTS/Tag,ELEMENTS/Title,LAYOUT/Container,LAYOUT/Grid,LAYOUT/Splitter(js),UTILITY,Utils'.split(','));
|
|
60
|
+
var jsComps = ''.split(',');
|
|
61
|
+
delete leftMenu.Utils;
|
|
62
|
+
Gn.util.append('.left-menu', renderTree(leftMenu));
|
|
63
|
+
Gn.util.scrollIntoView(Gn.util.$('.tree-item.is-active'), 300);
|
|
64
|
+
|
|
65
|
+
function renderTree(menus) {
|
|
66
|
+
var $depths = Gn.util.$('<ul></ul>');
|
|
67
|
+
Gn.util.each(menus, function (child, menu) {
|
|
68
|
+
if (Gn.util.isString(child)) {
|
|
69
|
+
Gn.util.append($depths, renderMenu(menu, '../../category/' + child + '/index.html', location.href.indexOf(child + '/') > -1));
|
|
70
|
+
} else {
|
|
71
|
+
var $_depth = renderMenu(menu, '');
|
|
72
|
+
Gn.util.append($_depth, renderTree(child));
|
|
73
|
+
Gn.util.append($depths, $_depth);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
return $depths;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function renderMenu(name, link, isActive) {
|
|
80
|
+
var $_menu;
|
|
81
|
+
if (link === '') {
|
|
82
|
+
$_menu = Gn.util.$('<li>' + name + '</li>');
|
|
83
|
+
} else {
|
|
84
|
+
var menuClass = isActive ? ' is-active' : '';
|
|
85
|
+
$_menu = Gn.util.$('<li><a href="' + link + '"><div class="tree-item' + menuClass + '">' + name.split('(js)').join('') + '</a></div></li>');
|
|
86
|
+
}
|
|
87
|
+
if (name.indexOf('(js)') > 0) {
|
|
88
|
+
Gn.util.append(Gn.util.find('.tree-item', $_menu), Gn.util.$('<span class="gn-tag is-small is-info-light">JS</span>'));
|
|
89
|
+
}
|
|
90
|
+
return $_menu;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function setTree(categorys) {
|
|
94
|
+
var menus = {};
|
|
95
|
+
|
|
96
|
+
categorys.forEach(function (category) {
|
|
97
|
+
parseTree(menus, category.split('/'), category);
|
|
98
|
+
});
|
|
99
|
+
return menus;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function parseTree(parents, child, catgry) {
|
|
103
|
+
var _depth = child.shift();
|
|
104
|
+
if (parents[_depth] === undefined) {
|
|
105
|
+
parents[_depth] = {};
|
|
106
|
+
}
|
|
107
|
+
if (child.length === 1) {
|
|
108
|
+
parents[_depth][child] = catgry;
|
|
109
|
+
} else if (child.length > 1) {
|
|
110
|
+
parseTree(parents[_depth], child, catgry);
|
|
111
|
+
} else {
|
|
112
|
+
parents[_depth] = catgry;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
</script>
|
|
117
|
+
|
|
118
|
+
<div class="aigis-contents">
|
|
119
|
+
<div class="aigis-contents__body">
|
|
120
|
+
|
|
121
|
+
<div>
|
|
122
|
+
|
|
123
|
+
<div class="aigis-module COLOR">
|
|
124
|
+
<h2 class="aigis-module__heading" id="COLOR">COLOR</h2>
|
|
125
|
+
<div class="aigis-module__filepath">/scss/components/color.scss</div>
|
|
126
|
+
<div class="aigis-tags">
|
|
127
|
+
|
|
128
|
+
</div>
|
|
129
|
+
<h3 id="-">색 시스템</h3>
|
|
130
|
+
<ul>
|
|
131
|
+
<li>주색 (Primary Color), 보조색 (Secondary Color), 단색 (Mono) 사용</li>
|
|
132
|
+
<li>강조할 때(Accent)와 구분할 때 (Visual Hierarchy) 사용 - 이외의 색은 임의로 사용하지 않는다. 쫌</li>
|
|
133
|
+
</ul>
|
|
134
|
+
<div class="gn-box">
|
|
135
|
+
<div class="gn-gcolor is-primary">
|
|
136
|
+
주색 (is-primary)
|
|
137
|
+
</div>
|
|
138
|
+
<div class="gn-gcolor is-secondary">
|
|
139
|
+
보조색 (is-secondary)
|
|
140
|
+
</div>
|
|
141
|
+
<div class="gn-gcolor is-mono">
|
|
142
|
+
단색 (is-mono)
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
<footer class="aigis-footer">Last update at 2025/09/22 02:18</footer>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
<script src="../../assets/guide.js"></script>
|
|
156
|
+
</body>
|
|
157
|
+
</html>
|