gnui 1.1.8 → 1.2.0

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.
Files changed (107) hide show
  1. package/@types/gnui.d.ts +195 -154
  2. package/README.md +9 -3
  3. package/assets/NotoSansKR-Black.otf +0 -0
  4. package/assets/NotoSansKR-Black.woff +0 -0
  5. package/assets/NotoSansKR-Black.woff2 +0 -0
  6. package/assets/NotoSansKR-Bold.otf +0 -0
  7. package/assets/NotoSansKR-Bold.woff +0 -0
  8. package/assets/NotoSansKR-Bold.woff2 +0 -0
  9. package/assets/NotoSansKR-DemiLight.otf +0 -0
  10. package/assets/NotoSansKR-DemiLight.woff +0 -0
  11. package/assets/NotoSansKR-DemiLight.woff2 +0 -0
  12. package/assets/NotoSansKR-Light.otf +0 -0
  13. package/assets/NotoSansKR-Light.woff +0 -0
  14. package/assets/NotoSansKR-Light.woff2 +0 -0
  15. package/assets/NotoSansKR-Medium.otf +0 -0
  16. package/assets/NotoSansKR-Medium.woff +0 -0
  17. package/assets/NotoSansKR-Medium.woff2 +0 -0
  18. package/assets/NotoSansKR-Regular.otf +0 -0
  19. package/assets/NotoSansKR-Regular.woff +0 -0
  20. package/assets/NotoSansKR-Regular.woff2 +0 -0
  21. package/assets/NotoSansKR-Thin.otf +0 -0
  22. package/assets/NotoSansKR-Thin.woff +0 -0
  23. package/assets/NotoSansKR-Thin.woff2 +0 -0
  24. package/assets/{LICENSE_OFL.txt → OFL.txt} +93 -92
  25. package/assets/images/flags.png +0 -0
  26. package/dist/js/gnui.esm.js +19752 -17631
  27. package/dist/js/gnui.js +19757 -17927
  28. package/dist/js/gnui.min.js +23 -1
  29. package/dist/styles/default.css +1 -3
  30. package/dist/styles/gpi.css +1 -3
  31. package/dist/styles/green24.css +1 -0
  32. package/dist/styles/insights.css +1 -3
  33. package/dist/styles/nac.css +1 -3
  34. package/dist/styles/ztnac.css +1 -0
  35. package/package.json +39 -30
  36. package/styleguide/assets/components.js +1031 -579
  37. package/styleguide/assets/guide.js +28 -26
  38. package/styleguide/assets/okadia.css +115 -117
  39. package/styleguide/assets/theme.css +140 -82
  40. package/styleguide/category/COLOR/index.html +75 -77
  41. package/styleguide/category/COMPONENT/Alert(js)/index.html +89 -92
  42. package/styleguide/category/COMPONENT/Bignumber/index.html +78 -82
  43. package/styleguide/category/COMPONENT/Breadcrumb/index.html +78 -82
  44. package/styleguide/category/COMPONENT/Calendar(js)/index.html +89 -92
  45. package/styleguide/category/COMPONENT/Card/index.html +78 -82
  46. package/styleguide/category/COMPONENT/Chart(js)/index.html +89 -92
  47. package/styleguide/category/COMPONENT/Datagrid(js)/index.html +354 -206
  48. package/styleguide/category/COMPONENT/Datalist(js)/index.html +471 -0
  49. package/styleguide/category/COMPONENT/Growl(js)/index.html +89 -92
  50. package/styleguide/category/COMPONENT/JsonView(js)/index.html +544 -246
  51. package/styleguide/category/{CONTROLS → COMPONENT}/MenuButton(js)/index.html +116 -92
  52. package/styleguide/category/COMPONENT/Message(js)/index.html +219 -95
  53. package/styleguide/category/COMPONENT/Modal(js)/index.html +128 -94
  54. package/styleguide/category/COMPONENT/Pagination/index.html +78 -82
  55. package/styleguide/category/COMPONENT/Panel/index.html +78 -82
  56. package/styleguide/category/COMPONENT/Progressbar(js)/index.html +89 -92
  57. package/styleguide/category/COMPONENT/Tab(js)/index.html +122 -93
  58. package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +88 -89
  59. package/styleguide/category/COMPONENT/Tooltip(js)/index.html +175 -92
  60. package/styleguide/category/COMPONENT/Tree(js)/index.html +95 -92
  61. package/styleguide/category/CONTROLS/Button(js)/index.html +110 -95
  62. package/styleguide/category/CONTROLS/Checkbox/index.html +82 -86
  63. package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +147 -93
  64. package/styleguide/category/CONTROLS/Datepicker(js)/index.html +124 -92
  65. package/styleguide/category/CONTROLS/Dropdown(js)/index.html +161 -132
  66. package/styleguide/category/CONTROLS/File/index.html +78 -82
  67. package/styleguide/category/CONTROLS/Form/Control/index.html +78 -82
  68. package/styleguide/category/CONTROLS/Form/Field/index.html +78 -82
  69. package/styleguide/category/CONTROLS/Form/Plain/index.html +78 -82
  70. package/styleguide/category/CONTROLS/Input/index.html +80 -84
  71. package/styleguide/category/CONTROLS/MultiText(js)/index.html +105 -92
  72. package/styleguide/category/CONTROLS/Picklist(js)/index.html +165 -141
  73. package/styleguide/category/CONTROLS/Radio/index.html +78 -82
  74. package/styleguide/category/CONTROLS/Select/index.html +80 -84
  75. package/styleguide/category/CONTROLS/SelectButton(js)/index.html +147 -92
  76. package/styleguide/category/CONTROLS/Slider/index.html +78 -82
  77. package/styleguide/category/CONTROLS/Switch(js)/index.html +105 -93
  78. package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +89 -92
  79. package/styleguide/category/CONTROLS/Textarea/index.html +78 -82
  80. package/styleguide/category/{COMPONENT → CONTROLS}/Time(js)/index.html +111 -92
  81. package/styleguide/category/ELEMENTS/Box/index.html +78 -82
  82. package/styleguide/category/ELEMENTS/Icon/index.html +122 -82
  83. package/styleguide/category/ELEMENTS/Image/index.html +78 -82
  84. package/styleguide/category/ELEMENTS/List/index.html +78 -82
  85. package/styleguide/category/ELEMENTS/Table/index.html +78 -82
  86. package/styleguide/category/ELEMENTS/Tag/index.html +78 -82
  87. package/styleguide/category/ELEMENTS/Title/index.html +78 -82
  88. package/styleguide/category/LAYOUT/Container/index.html +78 -82
  89. package/styleguide/category/LAYOUT/Grid/index.html +78 -82
  90. package/styleguide/category/LAYOUT/Splitter(js)/index.html +89 -92
  91. package/styleguide/category/UTILITY/index.html +80 -82
  92. package/styleguide/category/Utils/index.html +97 -71
  93. package/styleguide/color.html +66 -65
  94. package/styleguide/index.html +66 -65
  95. package/styleguide/tag/javascript/index.html +1984 -1011
  96. package/styleguide/tag/v.0.1.0/index.html +2730 -1568
  97. package/assets/NotoSansCJKkr-Black.otf +0 -0
  98. package/assets/NotoSansCJKkr-Bold.otf +0 -0
  99. package/assets/NotoSansCJKkr-DemiLight.otf +0 -0
  100. package/assets/NotoSansCJKkr-Light.otf +0 -0
  101. package/assets/NotoSansCJKkr-Medium.otf +0 -0
  102. package/assets/NotoSansCJKkr-Regular.otf +0 -0
  103. package/assets/NotoSansCJKkr-Thin.otf +0 -0
  104. package/assets/NotoSansMonoCJKkr-Bold.otf +0 -0
  105. package/assets/NotoSansMonoCJKkr-Regular.otf +0 -0
  106. package/assets/README +0 -11
  107. package/dist/styles/zt-nac.css +0 -3
@@ -31,7 +31,6 @@ category: body
31
31
 
32
32
  */
33
33
 
34
-
35
34
  /*
36
35
  ---
37
36
  name: Header
@@ -49,21 +48,23 @@ tag:
49
48
  */
50
49
  .aigis-header {
51
50
  position: fixed;
52
- top:0;
53
- padding:10px 30px;
54
- width:100%;
55
- height:50px;
51
+ top: 0;
52
+ padding: 10px 30px;
53
+ width: 100%;
54
+ height: 50px;
56
55
  background-color: #486491;
57
- z-index:10000; }
56
+ z-index: 10000;
57
+ }
58
58
  .aigis-header span a {
59
59
  color: #fff;
60
60
  font-size: 2.6em;
61
- font-family: "Noto Sans KR", "Nanum Gothic",;
61
+ font-family: 'Noto Sans KR', 'Nanum Gothic';
62
62
  text-decoration: none;
63
63
  line-height: 110%;
64
64
  }
65
65
  .aigis-header div {
66
- float: right;}
66
+ float: right;
67
+ }
67
68
 
68
69
  /*
69
70
  ---
@@ -85,7 +86,8 @@ tag: latest
85
86
  /* color: #7a7a7a; */
86
87
  border-top: 1px solid #eee;
87
88
  text-align: center;
88
- font-size: 16px; }
89
+ font-size: 16px;
90
+ }
89
91
 
90
92
  /*
91
93
  ---
@@ -102,7 +104,8 @@ tag: latest
102
104
  ```
103
105
 
104
106
  */
105
- .aigis-codeblock, .aigis-preview {
107
+ .aigis-codeblock,
108
+ .aigis-preview {
106
109
  position: relative;
107
110
  margin: 0;
108
111
  overflow: visible;
@@ -111,8 +114,8 @@ tag: latest
111
114
  .aigis-preview::before {
112
115
  content: 'preview';
113
116
  position: absolute;
114
- right:0;
115
- top:0;
117
+ right: 0;
118
+ top: 0;
116
119
  font-size: 10px;
117
120
  padding: 2px 4px 2px 5px;
118
121
  border-bottom-left-radius: 3px;
@@ -129,18 +132,19 @@ tag: latest
129
132
  -webkit-appearance: none;
130
133
  display: inline-block;
131
134
  border: none;
132
- background-color: #3DB680;
135
+ background-color: #3db680;
133
136
  color: #fff;
134
137
  padding: 10px 20px;
135
138
  text-align: center;
136
139
  line-height: 40px;
137
140
  min-width: 200px;
138
141
  font-size: 20px;
139
- box-sizing: border-box; }
142
+ box-sizing: border-box;
143
+ }
140
144
  .ex-ag-btn--primary {
141
145
  color: black;
142
- background-color: #FFEA3A; }
143
-
146
+ background-color: #ffea3a;
147
+ }
144
148
 
145
149
  /*
146
150
  ---
@@ -155,7 +159,7 @@ tag: latest
155
159
  ```
156
160
 
157
161
  */
158
- .aigis-module pre:not([aria-hidden="true"]) {
162
+ .aigis-module pre:not([aria-hidden='true']) {
159
163
  background-color: #272822;
160
164
  color: #f8f8f2;
161
165
  font-size: 14px;
@@ -163,31 +167,36 @@ tag: latest
163
167
  padding: 0.5em;
164
168
  border-radius: 3px;
165
169
  margin: 0 auto 3em;
166
- border: 1px solid #A0A0A0;
170
+ border: 1px solid #a0a0a0;
167
171
  max-height: 300px;
168
- overflow: auto }
169
- .aigis-module pre + pre{
170
- margin-top: -3em;
171
- margin-bottom: 3em; }
172
+ overflow: auto;
173
+ }
174
+ .aigis-module pre + pre {
175
+ margin-top: -3em;
176
+ margin-bottom: 3em;
177
+ }
172
178
  .aigis-module > ul:not([class]) {
173
179
  list-style: disc;
174
- margin: 10px 30px; }
180
+ margin: 10px 30px;
181
+ }
175
182
 
176
183
  .aigis-preview {
177
- border: 1px solid #A0A0A0;
184
+ border: 1px solid #a0a0a0;
178
185
  border-radius: 3px;
179
186
  border-radius: 3px 3px 0 0;
180
187
  padding: 20px 10px;
181
188
  padding: 16px;
182
189
  margin: 0;
183
- margin-top: 10px; }
190
+ margin-top: 10px;
191
+ }
184
192
  .aigis-preview p + p {
185
- margin-top: 10px; }
193
+ margin-top: 10px;
194
+ }
186
195
  .aigis-preview + pre {
187
196
  position: relative;
188
197
  border-radius: 0 0 3px 3px;
189
198
  border-top: none;
190
- margin-top: 0;
199
+ margin-top: 0;
191
200
  height: auto;
192
201
  overflow-x: auto;
193
202
  }
@@ -197,14 +206,14 @@ tag: latest
197
206
  .aigis-module.Chart .aigis-preview > div,
198
207
  .aigis-module.Chart table,
199
208
  .aigis-module.Chart table + pre,
200
- .aigis-module.Chart pre + pre{
209
+ .aigis-module.Chart pre + pre {
201
210
  display: inline-block;
202
211
  width: 49%;
203
212
  margin-right: 5px;
204
213
  vertical-align: middle;
205
214
  }
206
215
  .aigis-module.JsonView table:not(:last-of-type) td > pre {
207
- max-width: 270px
216
+ max-width: 270px;
208
217
  }
209
218
  /*
210
219
  ---
@@ -236,35 +245,36 @@ tag: latest
236
245
  top: 50px;
237
246
  bottom: 0;
238
247
  left: 0;
239
- padding-top:20px;
240
- padding-bottom:20px;
248
+ padding-top: 20px;
249
+ padding-bottom: 20px;
241
250
  width: 280px;
242
- border-right:1px solid #d4dbe4;
251
+ border-right: 1px solid #d4dbe4;
243
252
  box-sizing: border-box;
244
253
  background-color: #fff;
245
254
  color: #33331a;
246
255
  -ms-overflow-style: none;
247
- overflow-x: auto;}
248
- .aigis-sidemenu::-webkit-scrollbar {display:none;}
256
+ overflow-x: auto;
257
+ }
258
+ .aigis-sidemenu::-webkit-scrollbar {
259
+ display: none;
260
+ }
249
261
  .aigis-sidemenu__heading {
250
262
  font-size: 30px;
251
263
  margin: 12px 0;
252
264
  color: #33331a;
253
265
  font-weight: normal;
254
266
  padding-left: 10px;
255
- line-height: 1em; }
267
+ line-height: 1em;
268
+ }
256
269
  .aigis-sidemenu__heading a {
257
270
  color: inherit;
258
- text-decoration: none; }
271
+ text-decoration: none;
272
+ }
259
273
 
260
274
  .aigis-preview .aigis-sidemenu {
261
275
  position: relative;
262
276
  }
263
277
 
264
-
265
-
266
-
267
-
268
278
  /*
269
279
  ---
270
280
  name: Category list
@@ -287,12 +297,13 @@ tag: latest
287
297
  ```
288
298
 
289
299
  */
290
- .aigis-categoryList ul li{
300
+ .aigis-categoryList ul li {
291
301
  padding: 3px 10px;
292
302
  font-size: 14px;
293
- list-style: none; }
303
+ list-style: none;
304
+ }
294
305
 
295
- .aigis-categoryList li a{
306
+ .aigis-categoryList li a {
296
307
  display: block;
297
308
  position: relative;
298
309
  padding: 3px 10px 3px 10px;
@@ -301,23 +312,30 @@ tag: latest
301
312
  overflow: hidden;
302
313
  white-space: nowrap;
303
314
  border-radius: 0px;
304
- outline: none;;
305
- text-decoration: none; }
315
+ outline: none;
316
+ text-decoration: none;
317
+ }
306
318
 
307
- .aigis-categoryList li:hover a[href]:hover{
319
+ .aigis-categoryList li:hover a[href]:hover {
308
320
  text-decoration: underline;
309
- color: #2a436b; }
321
+ color: #2a436b;
322
+ }
310
323
  .aigis-categoryList li[data-path-depth] a:before {
311
- content: "";
312
- margin-right: 10px; }
313
- .aigis-categoryList li[data-path-depth="1"] a:before {
314
- margin-left: 1em; }
315
- .aigis-categoryList li[data-path-depth="2"] a:before {
316
- margin-left: 2em; }
317
- .aigis-categoryList li[data-path-depth="3"] a:before {
318
- margin-left: 3em; }
319
- .aigis-categoryList li[data-path-depth="4"] a:before {
320
- margin-left: 4em; }
324
+ content: '';
325
+ margin-right: 10px;
326
+ }
327
+ .aigis-categoryList li[data-path-depth='1'] a:before {
328
+ margin-left: 1em;
329
+ }
330
+ .aigis-categoryList li[data-path-depth='2'] a:before {
331
+ margin-left: 2em;
332
+ }
333
+ .aigis-categoryList li[data-path-depth='3'] a:before {
334
+ margin-left: 3em;
335
+ }
336
+ .aigis-categoryList li[data-path-depth='4'] a:before {
337
+ margin-left: 4em;
338
+ }
321
339
  .aigis-categoryList li[data-path-depth] [data-tree-current],
322
340
  .aigis-categoryList .current > a {
323
341
  background-color: #d2d2d2;
@@ -343,7 +361,8 @@ tag: latest
343
361
  .aigis-tags {
344
362
  padding: 10px;
345
363
  padding-left: 0;
346
- margin: 0; }
364
+ margin: 0;
365
+ }
347
366
  /*
348
367
  ---
349
368
  name: Module list
@@ -374,30 +393,36 @@ tag: latest
374
393
  */
375
394
  .aigis-moduleList {
376
395
  line-height: 1.6;
377
- font-size: 16px; }
396
+ font-size: 16px;
397
+ }
378
398
  .aigis-moduleList__item a {
379
399
  color: #08f;
380
- text-decoration: none; }
400
+ text-decoration: none;
401
+ }
381
402
  .aigis-moduleList__item a:hover {
382
- text-decoration: underline; }
403
+ text-decoration: underline;
404
+ }
383
405
 
384
406
  .aigis-module__heading {
385
407
  padding-bottom: 0.3em;
386
408
  font-size: 1.75em;
387
409
  line-height: 1.225;
388
410
  border-bottom: 1px solid #eee;
389
- position: relative; }
411
+ position: relative;
412
+ }
390
413
  .aigis-module__heading:hover a {
391
- position: relative; }
414
+ position: relative;
415
+ }
392
416
  .aigis-module__heading:hover a:before {
393
- content: "\00a7";
417
+ content: '\00a7';
394
418
  position: absolute;
395
419
  right: 100%;
396
420
  bottom: 5px;
397
421
  font-size: 20px;
398
422
  color: #000;
399
423
  padding-right: 5px;
400
- padding-left: 5px; }
424
+ padding-left: 5px;
425
+ }
401
426
 
402
427
  /*
403
428
  ---
@@ -417,7 +442,8 @@ category: body
417
442
  display: block;
418
443
  text-align: right;
419
444
  font-size: 12px;
420
- color: #ADADAD; }
445
+ color: #adadad;
446
+ }
421
447
 
422
448
  /*
423
449
  ---
@@ -444,63 +470,95 @@ tag: special
444
470
 
445
471
  */
446
472
  .aigis-colorPalette {
447
- margin-top: 5px; }
473
+ margin-top: 5px;
474
+ }
448
475
  .aigis-colorPalette__color {
449
476
  display: inline-block;
450
477
  vertical-align: middle;
451
478
  height: 40px;
452
479
  width: 50%;
453
- margin-right: 5px; }
480
+ margin-right: 5px;
481
+ }
454
482
  .aigis-colorPalette__label {
455
483
  display: inline-block;
456
484
  vertical-align: middle;
457
- line-height: 40px; }
485
+ line-height: 40px;
486
+ }
458
487
 
459
488
  body {
460
489
  margin: 0;
461
490
  padding: 0;
462
- font-size: 1rem;
463
- font-family: BlinkMacSystemFont, -apple-system, Dhurjati "Nanum Gothic" "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
464
-
491
+ font-size: 1rem;
492
+ font-family:
493
+ BlinkMacSystemFont,
494
+ -apple-system,
495
+ Dhurjati 'Nanum Gothic' 'Segoe UI',
496
+ 'Roboto',
497
+ 'Oxygen',
498
+ 'Ubuntu',
499
+ 'Cantarell',
500
+ 'Fira Sans',
501
+ 'Droid Sans',
502
+ 'Helvetica Neue',
503
+ 'Helvetica',
504
+ 'Arial',
505
+ sans-serif;
465
506
  }
466
507
 
467
- .aigis-module > ul code, .aigis-module > p code, .aigis-contents__body > ul code, .aigis-contents__body > p code, .aigis-contents__body > h2 code, .aigis-contents__body > h3 code {
508
+ .aigis-module > ul code,
509
+ .aigis-module > p code,
510
+ .aigis-contents__body > ul code,
511
+ .aigis-contents__body > p code,
512
+ .aigis-contents__body > h2 code,
513
+ .aigis-contents__body > h3 code {
468
514
  color: #666;
469
515
  background-color: #f7f7f7;
470
516
  padding: 0 3px;
471
517
  font-size: 1.2em;
472
- border-radius: 3px; }
518
+ border-radius: 3px;
519
+ }
473
520
 
474
521
  .aigis-container {
475
522
  box-sizing: border-box;
476
523
  width: auto;
477
524
  min-width: 960px;
478
- margin-right: auto; }
525
+ margin-right: auto;
526
+ }
479
527
  .aigis-container:after {
480
- content: "";
528
+ content: '';
481
529
  display: table;
482
- clear: both; }
530
+ clear: both;
531
+ }
483
532
 
484
533
  .aigis-contents {
485
534
  box-sizing: border-box;
486
535
  padding-right: 10px;
487
536
  padding-left: 280px;
488
- padding-top:50px;
537
+ padding-top: 50px;
489
538
  margin: 0 auto;
490
539
  /* font-size: 18px; */
491
- }
540
+ }
492
541
  .aigis-contents__body {
493
542
  /* color: #33331a; */
494
543
  max-width: 960px;
495
544
  min-width: 600px;
496
545
  padding: 20px 20px;
497
- margin: 0 auto; }
546
+ margin: 0 auto;
547
+ }
498
548
  .aigis-contents__body > p {
499
- margin-bottom: 1em; }
549
+ margin-bottom: 1em;
550
+ }
500
551
 
501
552
  /*
502
553
  main
503
- */
554
+ */
504
555
  .aigis-main-page {
505
556
  padding: 10px;
506
557
  }
558
+
559
+ /*
560
+ components
561
+ */
562
+ .aigis-contents .type-checkbox {
563
+ height: 215px;
564
+ }
@@ -1,65 +1,71 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
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">
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
10
+ rel="stylesheet"
11
+ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
12
+ integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
13
+ crossorigin="anonymous"
14
+ />
15
+ <link href="https://fonts.googleapis.com/css?family=Squada+One&display=swap" rel="stylesheet" />
11
16
  <script src="../../assets/components.js"></script>
12
17
  <script src="../../../dist/js/gnui.js"></script>
13
18
  </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
-
19
+ <body>
20
+ <div class="aigis-container">
21
+ <header class="aigis-header gn-gcolor is-primary">
22
+ <span><a href="../../index.html" class="main-link" style="font-family: 'Squada One', cursive">GNUI</a></span>
23
+ <span class="has-text-invert" style="font-size: 1em; padding-left: 10px">Start your next web project with GNUI.</span>
24
+ <div class="gn-select is-medium">
25
+ <select id="ThemeSelector">
26
+
22
27
  <option value="default">default</option>
23
-
28
+
24
29
  <option value="nac">nac</option>
25
-
30
+
26
31
  <option value="insights">insights</option>
27
-
32
+
28
33
  <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>
34
+
35
+ <option value="ztnac">ztnac</option>
36
+
37
+ <option value="green24">green24</option>
38
+
39
+ </select>
40
+ </div>
41
+ <div>
42
+ <a class="gn-button is-primary util-link" href="../../category/Utils/index.html">
43
+ <span class="gn-icon is-small">
44
+ <i class="fas fa-tools"></i>
45
+ </span>
46
+ Gn.util
47
+ </a>
48
+ </div>
49
+ </header>
50
+ <div class="aigis-sidemenu">
51
+ <nav class="gn-tree is-borderless is-large left-menu"></nav>
46
52
  </div>
47
53
 
48
54
  <script>
49
55
  window.Gn = window.gnui;
50
56
 
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(','));
57
+ Gn.ready(function () {
58
+ 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/MenuButton(js),COMPONENT/Message(js),COMPONENT/Modal(js),COMPONENT/Pagination,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(','));
53
59
  var jsComps = ''.split(',');
54
60
  delete leftMenu.Utils;
55
61
  Gn.util.append('.left-menu', renderTree(leftMenu));
56
62
  Gn.util.scrollIntoView(Gn.util.$('.tree-item.is-active'), 300);
57
63
 
58
- function renderTree(menus){
64
+ function renderTree(menus) {
59
65
  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));
66
+ Gn.util.each(menus, function (child, menu) {
67
+ if (Gn.util.isString(child)) {
68
+ Gn.util.append($depths, renderMenu(menu, '../../category/' + child + '/index.html', location.href.indexOf(child + '/') > -1));
63
69
  } else {
64
70
  var $_depth = renderMenu(menu, '');
65
71
  Gn.util.append($_depth, renderTree(child));
@@ -69,35 +75,35 @@
69
75
  return $depths;
70
76
  }
71
77
 
72
- function renderMenu(name, link, isActive){
78
+ function renderMenu(name, link, isActive) {
73
79
  var $_menu;
74
- if (link === ''){
80
+ if (link === '') {
75
81
  $_menu = Gn.util.$('<li>' + name + '</li>');
76
82
  } 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>');
83
+ var menuClass = isActive ? ' is-active' : '';
84
+ $_menu = Gn.util.$('<li><a href="' + link + '"><div class="tree-item' + menuClass + '">' + name.split('(js)').join('') + '</a></div></li>');
79
85
  }
80
- if(name.indexOf('(js)') > 0){
86
+ if (name.indexOf('(js)') > 0) {
81
87
  Gn.util.append(Gn.util.find('.tree-item', $_menu), Gn.util.$('<span class="gn-tag is-small is-info-light">JS</span>'));
82
88
  }
83
89
  return $_menu;
84
90
  }
85
91
 
86
- function setTree(categorys){
92
+ function setTree(categorys) {
87
93
  var menus = {};
88
94
 
89
- categorys.forEach(function(category){
95
+ categorys.forEach(function (category) {
90
96
  parseTree(menus, category.split('/'), category);
91
97
  });
92
98
  return menus;
93
99
  }
94
100
 
95
- function parseTree(parents, child, catgry){
101
+ function parseTree(parents, child, catgry) {
96
102
  var _depth = child.shift();
97
103
  if (parents[_depth] === undefined) {
98
- parents[_depth] = {}
104
+ parents[_depth] = {};
99
105
  }
100
- if(child.length === 1){
106
+ if (child.length === 1) {
101
107
  parents[_depth][child] = catgry;
102
108
  } else if (child.length > 1) {
103
109
  parseTree(parents[_depth], child, catgry);
@@ -108,23 +114,18 @@
108
114
  });
109
115
  </script>
110
116
 
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>
117
+ <div class="aigis-contents">
118
+ <div class="aigis-contents__body">
119
+
120
+ <div>
121
+
122
+ <div class="aigis-module COLOR">
123
+ <h2 class="aigis-module__heading" id="COLOR">COLOR</h2>
124
+ <div class="aigis-module__filepath">/scss/components/color.scss</div>
125
+ <div class="aigis-tags">
126
126
 
127
- <h3 id="-">색 시스템</h3>
127
+ </div>
128
+ <h3 id="-">색 시스템</h3>
128
129
  <ul>
129
130
  <li>주색 (Primary Color), 보조색 (Secondary Color), 단색 (Mono) 사용</li>
130
131
  <li>강조할 때(Accent)와 구분할 때 (Visual Hierarchy) 사용 - 이외의 색은 임의로 사용하지 않는다. 쫌</li>
@@ -141,18 +142,15 @@
141
142
  </div>
142
143
  </div>
143
144
 
144
- </div>
145
145
  </div>
146
146
 
147
-
148
-
149
- <footer class="aigis-footer">Last update at 2023/04/04 17:59</footer>
147
+ </div>
148
+
149
+
150
+ <footer class="aigis-footer">Last update at 2024/04/15 13:52</footer>
151
+ </div>
150
152
  </div>
151
153
  </div>
152
- </div>
153
- <script src="../../assets/guide.js"></script>
154
- </body>
154
+ <script src="../../assets/guide.js"></script>
155
+ </body>
155
156
  </html>
156
-
157
-
158
-