gcs-ui-lib 1.1.433

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 (154) hide show
  1. package/.env.development +5 -0
  2. package/.env.production +7 -0
  3. package/.eslintrc.js +5 -0
  4. package/README.md +97 -0
  5. package/_webpack.config.js +135 -0
  6. package/babel.config.js +17 -0
  7. package/lib/demo.html +10 -0
  8. package/lib/fonts/SIMSUN.5e0c362c.5e0c362c.ttf +0 -0
  9. package/lib/fonts/element-icons.535877f5.535877f5.woff +0 -0
  10. package/lib/fonts/element-icons.732389de.732389de.ttf +0 -0
  11. package/lib/fonts/iconfont.09d221ee.09d221ee.woff +0 -0
  12. package/lib/fonts/iconfont.1c4bfacc.1c4bfacc.ttf +0 -0
  13. package/lib/fonts/iconfont.a6f34dc7.a6f34dc7.woff2 +0 -0
  14. package/lib/fonts/iconfont.f4c32765.f4c32765.ttf +0 -0
  15. package/lib/gcs-ui-lib.common.js +40576 -0
  16. package/lib/gcs-ui-lib.css +3 -0
  17. package/lib/gcs-ui-lib.umd.js +40586 -0
  18. package/lib/gcs-ui-lib.umd.min.js +40 -0
  19. package/lib/img/bankbackground(1).e1f6e40f.jpg +0 -0
  20. package/lib/img/busibackground(2).7e09bf1f.jpg +0 -0
  21. package/lib/img/document.193a282d.svg +8 -0
  22. package/lib/img/folder.8e019792.svg +9 -0
  23. package/lib/img/icon.fc86764f.gif +0 -0
  24. package/npm +1 -0
  25. package/package.json +100 -0
  26. package/packages/DynamicForm/index.js +7 -0
  27. package/packages/DynamicForm/src/components/Amount.vue +51 -0
  28. package/packages/DynamicForm/src/components/AmountRange.vue +76 -0
  29. package/packages/DynamicForm/src/components/CheckboxGroup.vue +63 -0
  30. package/packages/DynamicForm/src/components/DMY.vue +126 -0
  31. package/packages/DynamicForm/src/components/Date.vue +51 -0
  32. package/packages/DynamicForm/src/components/DateRange.vue +51 -0
  33. package/packages/DynamicForm/src/components/Dialog.vue +247 -0
  34. package/packages/DynamicForm/src/components/Input.vue +48 -0
  35. package/packages/DynamicForm/src/components/InputNumber.vue +69 -0
  36. package/packages/DynamicForm/src/components/InputNumberRange.vue +47 -0
  37. package/packages/DynamicForm/src/components/LazySelect.vue +311 -0
  38. package/packages/DynamicForm/src/components/RadioGroup.vue +43 -0
  39. package/packages/DynamicForm/src/components/Rate.vue +57 -0
  40. package/packages/DynamicForm/src/components/Select.vue +307 -0
  41. package/packages/DynamicForm/src/components/Switch.vue +32 -0
  42. package/packages/DynamicForm/src/components/Textarea.vue +58 -0
  43. package/packages/DynamicForm/src/components/TimeSelect.vue +61 -0
  44. package/packages/DynamicForm/src/components/unitTreeSelect.vue +141 -0
  45. package/packages/DynamicForm/src/components/urlLinkInput.vue +100 -0
  46. package/packages/DynamicForm/src/demo/index.vue +486 -0
  47. package/packages/DynamicForm/src/fileUpload.js +232 -0
  48. package/packages/DynamicForm/src/formConfig.js +2910 -0
  49. package/packages/DynamicForm/src/helpers.js +18 -0
  50. package/packages/DynamicForm/src/main.vue +1095 -0
  51. package/packages/FileImport/index.js +7 -0
  52. package/packages/FileImport/src/demo/index.vue +29 -0
  53. package/packages/FileImport/src/main.vue +306 -0
  54. package/packages/SelectTicket/index.js +7 -0
  55. package/packages/SelectTicket/src/Tree/index.vue +13 -0
  56. package/packages/SelectTicket/src/demo/index.vue +139 -0
  57. package/packages/SelectTicket/src/header.js +276 -0
  58. package/packages/SelectTicket/src/main.vue +581 -0
  59. package/packages/SelectTicket/src/printDialog/dialogO.vue +116 -0
  60. package/packages/SelectTicket/src/printDialog/index.vue +69 -0
  61. package/packages/SelectTicket/src/ticketDetail/billInformation/README.MD +6 -0
  62. package/packages/SelectTicket/src/ticketDetail/billInformation/mixins/index.js +35 -0
  63. package/packages/SelectTicket/src/ticketDetail/billInformation/obverse.vue +768 -0
  64. package/packages/SelectTicket/src/ticketDetail/billInformation/overview.vue +115 -0
  65. package/packages/SelectTicket/src/ticketDetail/billInformation/printList.vue +127 -0
  66. package/packages/SelectTicket/src/ticketDetail/billInformation/reverse.vue +205 -0
  67. package/packages/SelectTicket/src/ticketDetail/billInformation//351/231/204/345/212/240/344/277/235/350/257/201/344/277/241/346/201/257/345/255/227/346/256/265/345/257/271/347/205/247.md +246 -0
  68. package/packages/SelectTicket/src/ticketDetail/dialog.vue +73 -0
  69. package/packages/SelectTicket/src/ticketDetail/img/bankbackground(1).jpg +0 -0
  70. package/packages/SelectTicket/src/ticketDetail/img/busibackground(2).jpg +0 -0
  71. package/packages/SelectTicket/src/ticketDetail/img/icon.gif +0 -0
  72. package/packages/SelectTicket/src/ticketDetail/img/icon2.png +0 -0
  73. package/packages/SelectTicket/src/ticketDetail/img/noData.png +0 -0
  74. package/packages/SelectTicket/src/ticketDetail/index.vue +188 -0
  75. package/packages/SelectTreeUnit/index.js +7 -0
  76. package/packages/SelectTreeUnit/src/Tree/document.svg +8 -0
  77. package/packages/SelectTreeUnit/src/Tree/folder.svg +9 -0
  78. package/packages/SelectTreeUnit/src/Tree/index.vue +239 -0
  79. package/packages/SelectTreeUnit/src/demo/index.vue +219 -0
  80. package/packages/SelectTreeUnit/src/forEachs.js +16 -0
  81. package/packages/SelectTreeUnit/src/main.vue +1136 -0
  82. package/packages/SelectTreeUnitForm/index.js +7 -0
  83. package/packages/SelectTreeUnitForm/src/Tree/document.svg +8 -0
  84. package/packages/SelectTreeUnitForm/src/Tree/folder.svg +9 -0
  85. package/packages/SelectTreeUnitForm/src/Tree/index.vue +254 -0
  86. package/packages/SelectTreeUnitForm/src/demo/index.vue +230 -0
  87. package/packages/SelectTreeUnitForm/src/forEachs.js +16 -0
  88. package/packages/SelectTreeUnitForm/src/main.vue +1065 -0
  89. package/packages/Trade/index.js +7 -0
  90. package/packages/Trade/src/components/all/index.vue +891 -0
  91. package/packages/Trade/src/components/dynamicColumnMixin.js +69 -0
  92. package/packages/Trade/src/components/getDCloumn.js +15 -0
  93. package/packages/Trade/src/components/i18n.json +3337 -0
  94. package/packages/Trade/src/components/pendingEvent/index.vue +909 -0
  95. package/packages/Trade/src/components/server-config.js +60 -0
  96. package/packages/Trade/src/components/setUnitName.js +10 -0
  97. package/packages/Trade/src/components/specialHandle.js +171 -0
  98. package/packages/Trade/src/components/topendingTabs.js +21 -0
  99. package/packages/Trade/src/demo/index.vue +42 -0
  100. package/packages/Trade/src/main.vue +86 -0
  101. package/packages/ZipImport/index.js +7 -0
  102. package/packages/ZipImport/src/demo/index.vue +139 -0
  103. package/packages/ZipImport/src/main.vue +303 -0
  104. package/packages/approvel/index.js +8 -0
  105. package/packages/approvel/src/demo/index.vue +28 -0
  106. package/packages/approvel/src/main.vue +26 -0
  107. package/packages/approvel/src/progress.vue +167 -0
  108. package/packages/approvel/src/url.json +29 -0
  109. package/packages/extends/ElSelect.vue +180 -0
  110. package/packages/imgs/list-select.png +0 -0
  111. package/packages/imgs/list-unselect.png +0 -0
  112. package/packages/imgs/list.png +0 -0
  113. package/packages/imgs/tree-select.png +0 -0
  114. package/packages/imgs/tree-unselect.png +0 -0
  115. package/packages/imgs/tree.png +0 -0
  116. package/public/favicon.ico +0 -0
  117. package/public/index.html +19 -0
  118. package/src/App.vue +61 -0
  119. package/src/api/aims.js +8 -0
  120. package/src/api/common.js +103 -0
  121. package/src/api/fileApi.js +22 -0
  122. package/src/config/appSettings.js +12 -0
  123. package/src/config/favicon.ico +0 -0
  124. package/src/css/selectTreeUnit.scss +247 -0
  125. package/src/filter/filter.js +1 -0
  126. package/src/filter/index.js +274 -0
  127. package/src/fonts/demo.css +539 -0
  128. package/src/fonts/iconfont.css +21 -0
  129. package/src/fonts/iconfont.js +1 -0
  130. package/src/fonts/iconfont.json +23 -0
  131. package/src/fonts/iconfont.ttf +0 -0
  132. package/src/index.js +109 -0
  133. package/src/locale/format.js +47 -0
  134. package/src/locale/index.js +48 -0
  135. package/src/locale/lang/cn2hk.json +1270 -0
  136. package/src/locale/lang/en.js +73 -0
  137. package/src/locale/lang/es.js +7 -0
  138. package/src/locale/lang/index.js +66 -0
  139. package/src/locale/lang/ja.js +7 -0
  140. package/src/locale/lang/zh.js +74 -0
  141. package/src/locale/lang/zht.js +28 -0
  142. package/src/main.js +44 -0
  143. package/src/preview/page/Aside/index.vue +60 -0
  144. package/src/preview/router.js +46 -0
  145. package/src/utils/auth.js +12 -0
  146. package/src/utils/directive/asciiWidth.js +107 -0
  147. package/src/utils/directive/clickOutside.js +21 -0
  148. package/src/utils/directive/vtitle.js +140 -0
  149. package/src/utils/index.js +545 -0
  150. package/src/utils/request.js +191 -0
  151. package/src/utils/requestCache.js +68 -0
  152. package/src/utils/thems.js +62 -0
  153. package/types/favicon.ico +0 -0
  154. package/vue.config.js +45 -0
@@ -0,0 +1,539 @@
1
+ /* Logo 字体 */
2
+ @font-face {
3
+ font-family: "iconfont logo";
4
+ src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
5
+ src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
6
+ url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
7
+ url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
8
+ url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
9
+ }
10
+
11
+ .logo {
12
+ font-family: "iconfont logo";
13
+ font-size: 160px;
14
+ font-style: normal;
15
+ -webkit-font-smoothing: antialiased;
16
+ -moz-osx-font-smoothing: grayscale;
17
+ }
18
+
19
+ /* tabs */
20
+ .nav-tabs {
21
+ position: relative;
22
+ }
23
+
24
+ .nav-tabs .nav-more {
25
+ position: absolute;
26
+ right: 0;
27
+ bottom: 0;
28
+ height: 42px;
29
+ line-height: 42px;
30
+ color: #666;
31
+ }
32
+
33
+ #tabs {
34
+ border-bottom: 1px solid #eee;
35
+ }
36
+
37
+ #tabs li {
38
+ cursor: pointer;
39
+ width: 100px;
40
+ height: 40px;
41
+ line-height: 40px;
42
+ text-align: center;
43
+ font-size: 16px;
44
+ border-bottom: 2px solid transparent;
45
+ position: relative;
46
+ z-index: 1;
47
+ margin-bottom: -1px;
48
+ color: #666;
49
+ }
50
+
51
+
52
+ #tabs .active {
53
+ border-bottom-color: #f00;
54
+ color: #222;
55
+ }
56
+
57
+ .tab-container .content {
58
+ display: none;
59
+ }
60
+
61
+ /* 页面布局 */
62
+ .main {
63
+ padding: 30px 100px;
64
+ width: 960px;
65
+ margin: 0 auto;
66
+ }
67
+
68
+ .main .logo {
69
+ color: #333;
70
+ text-align: left;
71
+ margin-bottom: 30px;
72
+ line-height: 1;
73
+ height: 110px;
74
+ margin-top: -50px;
75
+ overflow: hidden;
76
+ *zoom: 1;
77
+ }
78
+
79
+ .main .logo a {
80
+ font-size: 160px;
81
+ color: #333;
82
+ }
83
+
84
+ .helps {
85
+ margin-top: 40px;
86
+ }
87
+
88
+ .helps pre {
89
+ padding: 20px;
90
+ margin: 10px 0;
91
+ border: solid 1px #e7e1cd;
92
+ background-color: #fffdef;
93
+ overflow: auto;
94
+ }
95
+
96
+ .icon_lists {
97
+ width: 100% !important;
98
+ overflow: hidden;
99
+ *zoom: 1;
100
+ }
101
+
102
+ .icon_lists li {
103
+ width: 100px;
104
+ margin-bottom: 10px;
105
+ margin-right: 20px;
106
+ text-align: center;
107
+ list-style: none !important;
108
+ cursor: default;
109
+ }
110
+
111
+ .icon_lists li .code-name {
112
+ line-height: 1.2;
113
+ }
114
+
115
+ .icon_lists .icon {
116
+ display: block;
117
+ height: 100px;
118
+ line-height: 100px;
119
+ font-size: 42px;
120
+ margin: 10px auto;
121
+ color: #333;
122
+ -webkit-transition: font-size 0.25s linear, width 0.25s linear;
123
+ -moz-transition: font-size 0.25s linear, width 0.25s linear;
124
+ transition: font-size 0.25s linear, width 0.25s linear;
125
+ }
126
+
127
+ .icon_lists .icon:hover {
128
+ font-size: 100px;
129
+ }
130
+
131
+ .icon_lists .svg-icon {
132
+ /* 通过设置 font-size 来改变图标大小 */
133
+ width: 1em;
134
+ /* 图标和文字相邻时,垂直对齐 */
135
+ vertical-align: -0.15em;
136
+ /* 通过设置 color 来改变 SVG 的颜色/fill */
137
+ fill: currentColor;
138
+ /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
139
+ normalize.css 中也包含这行 */
140
+ overflow: hidden;
141
+ }
142
+
143
+ .icon_lists li .name,
144
+ .icon_lists li .code-name {
145
+ color: #666;
146
+ }
147
+
148
+ /* markdown 样式 */
149
+ .markdown {
150
+ color: #666;
151
+ font-size: 14px;
152
+ line-height: 1.8;
153
+ }
154
+
155
+ .highlight {
156
+ line-height: 1.5;
157
+ }
158
+
159
+ .markdown img {
160
+ vertical-align: middle;
161
+ max-width: 100%;
162
+ }
163
+
164
+ .markdown h1 {
165
+ color: #404040;
166
+ font-weight: 500;
167
+ line-height: 40px;
168
+ margin-bottom: 24px;
169
+ }
170
+
171
+ .markdown h2,
172
+ .markdown h3,
173
+ .markdown h4,
174
+ .markdown h5,
175
+ .markdown h6 {
176
+ color: #404040;
177
+ margin: 1.6em 0 0.6em 0;
178
+ font-weight: 500;
179
+ clear: both;
180
+ }
181
+
182
+ .markdown h1 {
183
+ font-size: 28px;
184
+ }
185
+
186
+ .markdown h2 {
187
+ font-size: 22px;
188
+ }
189
+
190
+ .markdown h3 {
191
+ font-size: 16px;
192
+ }
193
+
194
+ .markdown h4 {
195
+ font-size: 14px;
196
+ }
197
+
198
+ .markdown h5 {
199
+ font-size: 12px;
200
+ }
201
+
202
+ .markdown h6 {
203
+ font-size: 12px;
204
+ }
205
+
206
+ .markdown hr {
207
+ height: 1px;
208
+ border: 0;
209
+ background: #e9e9e9;
210
+ margin: 16px 0;
211
+ clear: both;
212
+ }
213
+
214
+ .markdown p {
215
+ margin: 1em 0;
216
+ }
217
+
218
+ .markdown>p,
219
+ .markdown>blockquote,
220
+ .markdown>.highlight,
221
+ .markdown>ol,
222
+ .markdown>ul {
223
+ width: 80%;
224
+ }
225
+
226
+ .markdown ul>li {
227
+ list-style: circle;
228
+ }
229
+
230
+ .markdown>ul li,
231
+ .markdown blockquote ul>li {
232
+ margin-left: 20px;
233
+ padding-left: 4px;
234
+ }
235
+
236
+ .markdown>ul li p,
237
+ .markdown>ol li p {
238
+ margin: 0.6em 0;
239
+ }
240
+
241
+ .markdown ol>li {
242
+ list-style: decimal;
243
+ }
244
+
245
+ .markdown>ol li,
246
+ .markdown blockquote ol>li {
247
+ margin-left: 20px;
248
+ padding-left: 4px;
249
+ }
250
+
251
+ .markdown code {
252
+ margin: 0 3px;
253
+ padding: 0 5px;
254
+ background: #eee;
255
+ border-radius: 3px;
256
+ }
257
+
258
+ .markdown strong,
259
+ .markdown b {
260
+ font-weight: 600;
261
+ }
262
+
263
+ .markdown>table {
264
+ border-collapse: collapse;
265
+ border-spacing: 0px;
266
+ empty-cells: show;
267
+ border: 1px solid #e9e9e9;
268
+ width: 95%;
269
+ margin-bottom: 24px;
270
+ }
271
+
272
+ .markdown>table th {
273
+ white-space: nowrap;
274
+ color: #333;
275
+ font-weight: 600;
276
+ }
277
+
278
+ .markdown>table th,
279
+ .markdown>table td {
280
+ border: 1px solid #e9e9e9;
281
+ padding: 8px 16px;
282
+ text-align: left;
283
+ }
284
+
285
+ .markdown>table th {
286
+ background: #F7F7F7;
287
+ }
288
+
289
+ .markdown blockquote {
290
+ font-size: 90%;
291
+ color: #999;
292
+ border-left: 4px solid #e9e9e9;
293
+ padding-left: 0.8em;
294
+ margin: 1em 0;
295
+ }
296
+
297
+ .markdown blockquote p {
298
+ margin: 0;
299
+ }
300
+
301
+ .markdown .anchor {
302
+ opacity: 0;
303
+ transition: opacity 0.3s ease;
304
+ margin-left: 8px;
305
+ }
306
+
307
+ .markdown .waiting {
308
+ color: #ccc;
309
+ }
310
+
311
+ .markdown h1:hover .anchor,
312
+ .markdown h2:hover .anchor,
313
+ .markdown h3:hover .anchor,
314
+ .markdown h4:hover .anchor,
315
+ .markdown h5:hover .anchor,
316
+ .markdown h6:hover .anchor {
317
+ opacity: 1;
318
+ display: inline-block;
319
+ }
320
+
321
+ .markdown>br,
322
+ .markdown>p>br {
323
+ clear: both;
324
+ }
325
+
326
+
327
+ .hljs {
328
+ display: block;
329
+ background: white;
330
+ padding: 0.5em;
331
+ color: #333333;
332
+ overflow-x: auto;
333
+ }
334
+
335
+ .hljs-comment,
336
+ .hljs-meta {
337
+ color: #969896;
338
+ }
339
+
340
+ .hljs-string,
341
+ .hljs-variable,
342
+ .hljs-template-variable,
343
+ .hljs-strong,
344
+ .hljs-emphasis,
345
+ .hljs-quote {
346
+ color: #df5000;
347
+ }
348
+
349
+ .hljs-keyword,
350
+ .hljs-selector-tag,
351
+ .hljs-type {
352
+ color: #a71d5d;
353
+ }
354
+
355
+ .hljs-literal,
356
+ .hljs-symbol,
357
+ .hljs-bullet,
358
+ .hljs-attribute {
359
+ color: #0086b3;
360
+ }
361
+
362
+ .hljs-section,
363
+ .hljs-name {
364
+ color: #63a35c;
365
+ }
366
+
367
+ .hljs-tag {
368
+ color: #333333;
369
+ }
370
+
371
+ .hljs-title,
372
+ .hljs-attr,
373
+ .hljs-selector-id,
374
+ .hljs-selector-class,
375
+ .hljs-selector-attr,
376
+ .hljs-selector-pseudo {
377
+ color: #795da3;
378
+ }
379
+
380
+ .hljs-addition {
381
+ color: #55a532;
382
+ background-color: #eaffea;
383
+ }
384
+
385
+ .hljs-deletion {
386
+ color: #bd2c00;
387
+ background-color: #ffecec;
388
+ }
389
+
390
+ .hljs-link {
391
+ text-decoration: underline;
392
+ }
393
+
394
+ /* 代码高亮 */
395
+ /* PrismJS 1.15.0
396
+ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
397
+ /**
398
+ * prism.js default theme for JavaScript, CSS and HTML
399
+ * Based on dabblet (http://dabblet.com)
400
+ * @author Lea Verou
401
+ */
402
+ code[class*="language-"],
403
+ pre[class*="language-"] {
404
+ color: black;
405
+ background: none;
406
+ text-shadow: 0 1px white;
407
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
408
+ text-align: left;
409
+ white-space: pre;
410
+ word-spacing: normal;
411
+ word-break: normal;
412
+ word-wrap: normal;
413
+ line-height: 1.5;
414
+
415
+ -moz-tab-size: 4;
416
+ -o-tab-size: 4;
417
+ tab-size: 4;
418
+
419
+ -webkit-hyphens: none;
420
+ -moz-hyphens: none;
421
+ -ms-hyphens: none;
422
+ hyphens: none;
423
+ }
424
+
425
+ pre[class*="language-"]::-moz-selection,
426
+ pre[class*="language-"] ::-moz-selection,
427
+ code[class*="language-"]::-moz-selection,
428
+ code[class*="language-"] ::-moz-selection {
429
+ text-shadow: none;
430
+ background: #b3d4fc;
431
+ }
432
+
433
+ pre[class*="language-"]::selection,
434
+ pre[class*="language-"] ::selection,
435
+ code[class*="language-"]::selection,
436
+ code[class*="language-"] ::selection {
437
+ text-shadow: none;
438
+ background: #b3d4fc;
439
+ }
440
+
441
+ @media print {
442
+
443
+ code[class*="language-"],
444
+ pre[class*="language-"] {
445
+ text-shadow: none;
446
+ }
447
+ }
448
+
449
+ /* Code blocks */
450
+ pre[class*="language-"] {
451
+ padding: 1em;
452
+ margin: .5em 0;
453
+ overflow: auto;
454
+ }
455
+
456
+ :not(pre)>code[class*="language-"],
457
+ pre[class*="language-"] {
458
+ background: #f5f2f0;
459
+ }
460
+
461
+ /* Inline code */
462
+ :not(pre)>code[class*="language-"] {
463
+ padding: .1em;
464
+ border-radius: .3em;
465
+ white-space: normal;
466
+ }
467
+
468
+ .token.comment,
469
+ .token.prolog,
470
+ .token.doctype,
471
+ .token.cdata {
472
+ color: slategray;
473
+ }
474
+
475
+ .token.punctuation {
476
+ color: #999;
477
+ }
478
+
479
+ .namespace {
480
+ opacity: .7;
481
+ }
482
+
483
+ .token.property,
484
+ .token.tag,
485
+ .token.boolean,
486
+ .token.number,
487
+ .token.constant,
488
+ .token.symbol,
489
+ .token.deleted {
490
+ color: #905;
491
+ }
492
+
493
+ .token.selector,
494
+ .token.attr-name,
495
+ .token.string,
496
+ .token.char,
497
+ .token.builtin,
498
+ .token.inserted {
499
+ color: #690;
500
+ }
501
+
502
+ .token.operator,
503
+ .token.entity,
504
+ .token.url,
505
+ .language-css .token.string,
506
+ .style .token.string {
507
+ color: #9a6e3a;
508
+ background: hsla(0, 0%, 100%, .5);
509
+ }
510
+
511
+ .token.atrule,
512
+ .token.attr-value,
513
+ .token.keyword {
514
+ color: #07a;
515
+ }
516
+
517
+ .token.function,
518
+ .token.class-name {
519
+ color: #DD4A68;
520
+ }
521
+
522
+ .token.regex,
523
+ .token.important,
524
+ .token.variable {
525
+ color: #e90;
526
+ }
527
+
528
+ .token.important,
529
+ .token.bold {
530
+ font-weight: bold;
531
+ }
532
+
533
+ .token.italic {
534
+ font-style: italic;
535
+ }
536
+
537
+ .token.entity {
538
+ cursor: help;
539
+ }
@@ -0,0 +1,21 @@
1
+ @font-face {
2
+ font-family: "iconfont"; /* Project id */
3
+ src: url('iconfont.ttf?t=1706153390886') format('truetype');
4
+ }
5
+
6
+ .iconfont {
7
+ font-family: "iconfont" !important;
8
+ font-size: 16px;
9
+ font-style: normal;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+ }
13
+
14
+ .icon-liebiao:before {
15
+ content: "\e663";
16
+ }
17
+
18
+ .icon-goujianshu:before {
19
+ content: "\e602";
20
+ }
21
+
@@ -0,0 +1 @@
1
+ window._iconfont_svg_string_='<svg><symbol id="icon-liebiao" viewBox="0 0 1024 1024"><path d="M921.698544 549.048801l-566.082756 0c-20.748556 0-37.539988-16.790408-37.539988-37.539988 0-20.733207 16.791431-37.542035 37.539988-37.542035l566.082756 0c20.756743 0 37.546128 16.807804 37.546128 37.542035C959.244672 532.258393 942.455287 549.048801 921.698544 549.048801L921.698544 549.048801zM921.698544 248.724805l-566.082756 0c-20.748556 0-37.539988-16.808828-37.539988-37.541011 0-20.73116 16.791431-37.539988 37.539988-37.539988l566.082756 0c20.756743 0 37.546128 16.808828 37.546128 37.539988C959.244672 231.915977 942.455287 248.724805 921.698544 248.724805L921.698544 248.724805zM136.509559 886.907669c-41.464367 0-75.086116-33.616632-75.086116-75.075883 0-41.46539 33.621748-75.079976 75.086116-75.079976 41.460274 0 75.080999 33.615609 75.080999 75.079976C211.590558 853.29206 177.969832 886.907669 136.509559 886.907669L136.509559 886.907669zM136.509559 586.588789c-41.464367 0-75.086116-33.621748-75.086116-75.078952 0-41.467437 33.621748-75.083046 75.086116-75.083046 41.460274 0 75.080999 33.615609 75.080999 75.083046C211.590558 552.966017 177.969832 586.588789 136.509559 586.588789L136.509559 586.588789zM136.509559 286.263769c-41.464367 0-75.086116-33.615609-75.086116-75.079976 0-41.46539 33.621748-75.082022 75.086116-75.082022 41.460274 0 75.080999 33.615609 75.080999 75.082022C211.590558 252.649184 177.969832 286.263769 136.509559 286.263769L136.509559 286.263769zM355.615788 774.286682l566.082756 0c20.756743 0 37.546128 16.791431 37.546128 37.541011s-16.789385 37.541011-37.546128 37.541011l-566.082756 0c-20.748556 0-37.539988-16.791431-37.539988-37.541011S334.866209 774.286682 355.615788 774.286682L355.615788 774.286682zM355.615788 774.286682" fill="" ></path></symbol><symbol id="icon-goujianshu" viewBox="0 0 1024 1024"><path d="M488 722h421a50 50 0 0 1 50 50v80a50 50 0 0 1-50 50H488a50 50 0 0 1-50-50v-10H157a30 30 0 0 1-30-30V302h-12a50 50 0 0 1-50-50v-80a50 50 0 0 1 50-50h83a50 50 0 0 1 50 50v80a50 50 0 0 1-50 50h-11v180h251v-10a50 50 0 0 1 50-50h421a50 50 0 0 1 50 50v80a50 50 0 0 1-50 50H488a50 50 0 0 1-50-50v-10H187v240h251v-10a50 50 0 0 1 50-50z m10 100a20 20 0 0 0 20 20h361a20 20 0 0 0 20-20v-20a20 20 0 0 0-20-20H518a20 20 0 0 0-20 20v20zM187.594 222v-20a20 20 0 0 0-20-20H145a20 20 0 0 0-20 20v20a20 20 0 0 0 20 20h22.594a20 20 0 0 0 20-20zM498 522a20 20 0 0 0 20 20h361a20 20 0 0 0 20-20v-20a20 20 0 0 0-20-20H518a20 20 0 0 0-20 20v20z m411-220H358a50 50 0 0 1-50-50v-80a50 50 0 0 1 50-50h551a50 50 0 0 1 50 50v80a50 50 0 0 1-50 50z m-10-100a20 20 0 0 0-20-20H388a20 20 0 0 0-20 20v20a20 20 0 0 0 20 20h491a20 20 0 0 0 20-20v-20z" fill="#333333" ></path></symbol></svg>',function(n){var t=(t=document.getElementsByTagName("script"))[t.length-1],e=t.getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var a,i,o,c,d,l=function(t,e){e.parentNode.insertBefore(t,e)};if(e&&!n.__iconfont__svg__cssinject__){n.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}a=function(){var t,e=document.createElement("div");e.innerHTML=n._iconfont_svg_string_,(e=e.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",e=e,(t=document.body).firstChild?l(e,t.firstChild):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),a()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(o=a,c=n.document,d=!1,v(),c.onreadystatechange=function(){"complete"==c.readyState&&(c.onreadystatechange=null,s())})}function s(){d||(d=!0,o())}function v(){try{c.documentElement.doScroll("left")}catch(t){return void setTimeout(v,50)}s()}}(window);
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "",
3
+ "name": "",
4
+ "font_family": "iconfont",
5
+ "css_prefix_text": "icon-",
6
+ "description": "",
7
+ "glyphs": [
8
+ {
9
+ "icon_id": "1359164",
10
+ "name": "错误列表",
11
+ "font_class": "liebiao",
12
+ "unicode": "e663",
13
+ "unicode_decimal": 58979
14
+ },
15
+ {
16
+ "icon_id": "4236617",
17
+ "name": "构件树",
18
+ "font_class": "goujianshu",
19
+ "unicode": "e602",
20
+ "unicode_decimal": 58882
21
+ }
22
+ ]
23
+ }
Binary file
package/src/index.js ADDED
@@ -0,0 +1,109 @@
1
+ // import * as filters from './utils/filters' // global filters
2
+ // import * as utils from './utils/'
3
+
4
+
5
+ // import FormCreate from '@form-create/element-ui'
6
+ // import './theme/theme1/styles/index.scss'
7
+
8
+ // import store from './utils/store'
9
+
10
+ import { HoverTooltip, TitleDirective } from './utils/directive/vtitle.js'
11
+ // SelectTreeUnit
12
+ import NewSelectTreeUnit from '../packages/SelectTreeUnit/src/main.vue'
13
+ import SelectTreeUnitForm from '../packages/SelectTreeUnitForm/src/main.vue'
14
+ import Trade from '../packages/Trade/src/main.vue'
15
+ import SelectTicket from '../packages/SelectTicket/src/main.vue'
16
+ import FileImport from '../packages/FileImport/src/main.vue'
17
+ import ZipImport from '../packages/ZipImport/src/main.vue'
18
+ import NstcDynamicForm from '../packages/DynamicForm/src/main.vue'
19
+ import 'n20-common-lib/style/index.css'
20
+
21
+ // import { amountFormat } from './utils/filters/index';
22
+
23
+ import locale from './locale'
24
+
25
+ // import VueBus from "@/utils/vue-bus";
26
+
27
+
28
+
29
+ const components = [
30
+ NewSelectTreeUnit,
31
+ SelectTreeUnitForm,
32
+ Trade,
33
+ SelectTicket,
34
+ FileImport,
35
+ ZipImport,
36
+ NstcDynamicForm
37
+ ];
38
+
39
+ const install = function(Vue, opts = {}) {
40
+ locale.use(opts.locale);
41
+ locale.i18n(opts.i18n);
42
+
43
+ // Vue.prototype.$test = () => { alert('Nstc test') };
44
+
45
+ // Vue.prototype.$bus = {
46
+ // $on(...event) {
47
+ // VueBus.$on(...event)
48
+ // },
49
+ // $off(...event) {
50
+ // VueBus.$off(...event)
51
+ // },
52
+ // $once(...event) {
53
+ // VueBus.$emit(...event)
54
+ // },
55
+ // $emit(...event) {
56
+ // VueBus.$emit(...event)
57
+ // }
58
+ // }
59
+ Vue.use(HoverTooltip)
60
+ Vue.use(TitleDirective)
61
+ // 工具库
62
+ // Vue.prototype.$nstc_g6_common = {
63
+ // amountFormat: amountFormat,
64
+ // ...utils
65
+ // }
66
+ // Vue.prototype.$confirmTip = confirmFunction;
67
+ // register global utility filters
68
+ // Object.keys(filters).forEach(key => {
69
+ // Vue.filter(key, filters[key])
70
+ // })
71
+
72
+
73
+ // 状态管理
74
+ // 动态注册store
75
+ // store.registerModule("g6_common_store", store);
76
+ // Vue.use(store)
77
+
78
+ components.forEach(component => {
79
+ Vue.component(component.name, component);
80
+ });
81
+
82
+ };
83
+
84
+ /* istanbul ignore if */
85
+ if (typeof window !== 'undefined' && window.Vue) {
86
+ install(window.Vue);
87
+ }
88
+ export {
89
+ NewSelectTreeUnit,
90
+ SelectTreeUnitForm,
91
+ Trade,
92
+ SelectTicket,
93
+ FileImport,
94
+ ZipImport,
95
+ NstcDynamicForm
96
+ }
97
+ export default {
98
+ version: '1.0.0',
99
+ locale: locale.use,
100
+ i18n: locale.i18n,
101
+ install,
102
+ NewSelectTreeUnit,
103
+ SelectTreeUnitForm,
104
+ Trade,
105
+ SelectTicket,
106
+ FileImport,
107
+ ZipImport,
108
+ NstcDynamicForm
109
+ };