@vyr/design 0.0.1
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/package.json +16 -0
- package/src/components/Button.vue +64 -0
- package/src/components/Card.vue +203 -0
- package/src/components/Cascader.vue +171 -0
- package/src/components/Checked.vue +124 -0
- package/src/components/CheckedGroup.vue +51 -0
- package/src/components/Col.vue +52 -0
- package/src/components/ColorPicker.vue +331 -0
- package/src/components/Confirm.vue +86 -0
- package/src/components/Dialog.vue +220 -0
- package/src/components/Divider.vue +40 -0
- package/src/components/Draggable.vue +50 -0
- package/src/components/Dropdown.vue +175 -0
- package/src/components/DynamicDialog.vue +113 -0
- package/src/components/DynamicLayouter.vue +235 -0
- package/src/components/Form.vue +88 -0
- package/src/components/Input.vue +254 -0
- package/src/components/InputNumber.vue +96 -0
- package/src/components/Label.vue +116 -0
- package/src/components/Loading.vue +196 -0
- package/src/components/Mask.vue +47 -0
- package/src/components/Notify.vue +130 -0
- package/src/components/Option.vue +159 -0
- package/src/components/Options.vue +202 -0
- package/src/components/Popover.vue +271 -0
- package/src/components/Provider.vue +12 -0
- package/src/components/RightMenu.vue +127 -0
- package/src/components/Row.vue +50 -0
- package/src/components/Scroll.vue +99 -0
- package/src/components/Select.vue +223 -0
- package/src/components/Slot.vue +23 -0
- package/src/components/SubTree.vue +262 -0
- package/src/components/Tree.vue +129 -0
- package/src/components/common/DraggableController.ts +113 -0
- package/src/components/common/ResizeListener.ts +49 -0
- package/src/components/composables/useDefaultProps.ts +179 -0
- package/src/components/composables/useDraggable.ts +65 -0
- package/src/components/composables/useGetter.ts +15 -0
- package/src/components/composables/useMarginStyle.ts +45 -0
- package/src/components/composables/usePopover.ts +33 -0
- package/src/components/composables/useProvider.ts +186 -0
- package/src/components/composables/useScroll.ts +46 -0
- package/src/components/composables/useSearch.ts +97 -0
- package/src/components/composables/useTimer.ts +5 -0
- package/src/components/index.ts +1 -0
- package/src/components/singleton/confirm.ts +25 -0
- package/src/components/singleton/dialog.ts +25 -0
- package/src/components/singleton/index.ts +5 -0
- package/src/components/singleton/loading.ts +36 -0
- package/src/components/singleton/notify.ts +36 -0
- package/src/components/types/index.ts +82 -0
- package/src/components/utils/Cascader.ts +52 -0
- package/src/components/utils/Confirm.ts +41 -0
- package/src/components/utils/Dialog.ts +38 -0
- package/src/components/utils/DynamicDialog.ts +41 -0
- package/src/components/utils/DynamicLayouter.ts +5 -0
- package/src/components/utils/FloatLayer.ts +40 -0
- package/src/components/utils/InputNumber.ts +3 -0
- package/src/components/utils/Notify.ts +25 -0
- package/src/components/utils/Popover.ts +58 -0
- package/src/components/utils/RightMenu.ts +21 -0
- package/src/components/utils/Scroll.ts +4 -0
- package/src/components/utils/Slot.ts +73 -0
- package/src/components/utils/index.ts +12 -0
- package/src/font/demo.css +539 -0
- package/src/font/demo_index.html +1292 -0
- package/src/font/iconfont.css +207 -0
- package/src/font/iconfont.js +1 -0
- package/src/font/iconfont.json +345 -0
- package/src/font/iconfont.ttf +0 -0
- package/src/font/iconfont.woff +0 -0
- package/src/font/iconfont.woff2 +0 -0
- package/src/index.ts +68 -0
- package/src/locale/Language.ts +10 -0
- package/src/locale/LanguageProvider.ts +38 -0
- package/src/locale/index.ts +2 -0
- package/src/theme/global.less +91 -0
- package/src/theme/index.ts +155 -0
- package/src/tool/ArrayUtils.ts +38 -0
- package/src/tool/Color.ts +7 -0
- package/src/tool/Draggable.ts +36 -0
- package/src/tool/Listener.ts +59 -0
- package/src/tool/index.ts +4 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "5038851",
|
|
3
|
+
"name": "vyr",
|
|
4
|
+
"font_family": "vyrfont",
|
|
5
|
+
"css_prefix_text": "vyr-",
|
|
6
|
+
"description": "",
|
|
7
|
+
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "38696799",
|
|
10
|
+
"name": "preset",
|
|
11
|
+
"font_class": "preset",
|
|
12
|
+
"unicode": "e6a5",
|
|
13
|
+
"unicode_decimal": 59045
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "17814027",
|
|
17
|
+
"name": "激活",
|
|
18
|
+
"font_class": "active",
|
|
19
|
+
"unicode": "e64e",
|
|
20
|
+
"unicode_decimal": 58958
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "36086809",
|
|
24
|
+
"name": "动画",
|
|
25
|
+
"font_class": "hover",
|
|
26
|
+
"unicode": "e75b",
|
|
27
|
+
"unicode_decimal": 59227
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "348508",
|
|
31
|
+
"name": "font",
|
|
32
|
+
"font_class": "category-font",
|
|
33
|
+
"unicode": "eadc",
|
|
34
|
+
"unicode_decimal": 60124
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "4428455",
|
|
38
|
+
"name": "样式",
|
|
39
|
+
"font_class": "category-style",
|
|
40
|
+
"unicode": "e793",
|
|
41
|
+
"unicode_decimal": 59283
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "41158486",
|
|
45
|
+
"name": "材质",
|
|
46
|
+
"font_class": "category-material",
|
|
47
|
+
"unicode": "e61d",
|
|
48
|
+
"unicode_decimal": 58909
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"icon_id": "9642385",
|
|
52
|
+
"name": "场景",
|
|
53
|
+
"font_class": "changjing",
|
|
54
|
+
"unicode": "e601",
|
|
55
|
+
"unicode_decimal": 58881
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"icon_id": "43385742",
|
|
59
|
+
"name": "资产",
|
|
60
|
+
"font_class": "sidebar-asset",
|
|
61
|
+
"unicode": "e841",
|
|
62
|
+
"unicode_decimal": 59457
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"icon_id": "12648721",
|
|
66
|
+
"name": "运行",
|
|
67
|
+
"font_class": "yunhang",
|
|
68
|
+
"unicode": "e976",
|
|
69
|
+
"unicode_decimal": 59766
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"icon_id": "16731285",
|
|
73
|
+
"name": "停止",
|
|
74
|
+
"font_class": "tingzhi",
|
|
75
|
+
"unicode": "e60d",
|
|
76
|
+
"unicode_decimal": 58893
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"icon_id": "24942704",
|
|
80
|
+
"name": "组合",
|
|
81
|
+
"font_class": "category-prefab",
|
|
82
|
+
"unicode": "e65f",
|
|
83
|
+
"unicode_decimal": 58975
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"icon_id": "42800365",
|
|
87
|
+
"name": "json",
|
|
88
|
+
"font_class": "category-json",
|
|
89
|
+
"unicode": "e817",
|
|
90
|
+
"unicode_decimal": 59415
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"icon_id": "5802127",
|
|
94
|
+
"name": "动画",
|
|
95
|
+
"font_class": "category-animation",
|
|
96
|
+
"unicode": "e607",
|
|
97
|
+
"unicode_decimal": 58887
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"icon_id": "15838444",
|
|
101
|
+
"name": "close",
|
|
102
|
+
"font_class": "close",
|
|
103
|
+
"unicode": "e668",
|
|
104
|
+
"unicode_decimal": 58984
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"icon_id": "2077535",
|
|
108
|
+
"name": "确认",
|
|
109
|
+
"font_class": "queren",
|
|
110
|
+
"unicode": "e63d",
|
|
111
|
+
"unicode_decimal": 58941
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"icon_id": "12752309",
|
|
115
|
+
"name": "撤销",
|
|
116
|
+
"font_class": "quxiao",
|
|
117
|
+
"unicode": "e61e",
|
|
118
|
+
"unicode_decimal": 58910
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"icon_id": "6326748",
|
|
122
|
+
"name": "重置",
|
|
123
|
+
"font_class": "zhongzhi",
|
|
124
|
+
"unicode": "e628",
|
|
125
|
+
"unicode_decimal": 58920
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"icon_id": "35035274",
|
|
129
|
+
"name": "流程",
|
|
130
|
+
"font_class": "category-routine",
|
|
131
|
+
"unicode": "e71e",
|
|
132
|
+
"unicode_decimal": 59166
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"icon_id": "2921515",
|
|
136
|
+
"name": "数据源",
|
|
137
|
+
"font_class": "category-dataset",
|
|
138
|
+
"unicode": "e717",
|
|
139
|
+
"unicode_decimal": 59159
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"icon_id": "35171484",
|
|
143
|
+
"name": "模型",
|
|
144
|
+
"font_class": "category-model",
|
|
145
|
+
"unicode": "e860",
|
|
146
|
+
"unicode_decimal": 59488
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"icon_id": "128632",
|
|
150
|
+
"name": "upload",
|
|
151
|
+
"font_class": "copy_to",
|
|
152
|
+
"unicode": "e664",
|
|
153
|
+
"unicode_decimal": 58980
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"icon_id": "141615",
|
|
157
|
+
"name": "download2",
|
|
158
|
+
"font_class": "copy_from",
|
|
159
|
+
"unicode": "e70c",
|
|
160
|
+
"unicode_decimal": 59148
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"icon_id": "666885",
|
|
164
|
+
"name": "设置",
|
|
165
|
+
"font_class": "shezhi",
|
|
166
|
+
"unicode": "e68f",
|
|
167
|
+
"unicode_decimal": 59023
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"icon_id": "1167321",
|
|
171
|
+
"name": "删除",
|
|
172
|
+
"font_class": "shanchu",
|
|
173
|
+
"unicode": "e644",
|
|
174
|
+
"unicode_decimal": 58948
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"icon_id": "8776631",
|
|
178
|
+
"name": "view",
|
|
179
|
+
"font_class": "kejian",
|
|
180
|
+
"unicode": "e633",
|
|
181
|
+
"unicode_decimal": 58931
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"icon_id": "8776676",
|
|
185
|
+
"name": "view_off",
|
|
186
|
+
"font_class": "bukejian",
|
|
187
|
+
"unicode": "e634",
|
|
188
|
+
"unicode_decimal": 58932
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"icon_id": "8777601",
|
|
192
|
+
"name": "右箭头",
|
|
193
|
+
"font_class": "right-arrow",
|
|
194
|
+
"unicode": "e65b",
|
|
195
|
+
"unicode_decimal": 58971
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"icon_id": "15838424",
|
|
199
|
+
"name": "add",
|
|
200
|
+
"font_class": "add",
|
|
201
|
+
"unicode": "e665",
|
|
202
|
+
"unicode_decimal": 58981
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"icon_id": "15838532",
|
|
206
|
+
"name": "success",
|
|
207
|
+
"font_class": "success",
|
|
208
|
+
"unicode": "e67f",
|
|
209
|
+
"unicode_decimal": 59007
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"icon_id": "15838551",
|
|
213
|
+
"name": "warning",
|
|
214
|
+
"font_class": "warning",
|
|
215
|
+
"unicode": "e682",
|
|
216
|
+
"unicode_decimal": 59010
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"icon_id": "15838562",
|
|
220
|
+
"name": "arrow-up-bold",
|
|
221
|
+
"font_class": "arrow-up-bold",
|
|
222
|
+
"unicode": "e685",
|
|
223
|
+
"unicode_decimal": 59013
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"icon_id": "15838564",
|
|
227
|
+
"name": "arrow-down-bold",
|
|
228
|
+
"font_class": "arrow-down-bold",
|
|
229
|
+
"unicode": "e686",
|
|
230
|
+
"unicode_decimal": 59014
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"icon_id": "4251766",
|
|
234
|
+
"name": "文件夹",
|
|
235
|
+
"font_class": "wenjianjia",
|
|
236
|
+
"unicode": "e650",
|
|
237
|
+
"unicode_decimal": 58960
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"icon_id": "28193224",
|
|
241
|
+
"name": "文件",
|
|
242
|
+
"font_class": "wenjian",
|
|
243
|
+
"unicode": "e627",
|
|
244
|
+
"unicode_decimal": 58919
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"icon_id": "1004676",
|
|
248
|
+
"name": "播放4",
|
|
249
|
+
"font_class": "category-video",
|
|
250
|
+
"unicode": "e656",
|
|
251
|
+
"unicode_decimal": 58966
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"icon_id": "7362784",
|
|
255
|
+
"name": "资源 5224",
|
|
256
|
+
"font_class": "category-image",
|
|
257
|
+
"unicode": "e602",
|
|
258
|
+
"unicode_decimal": 58882
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"icon_id": "7903675",
|
|
262
|
+
"name": "音乐",
|
|
263
|
+
"font_class": "category-audio",
|
|
264
|
+
"unicode": "e72a",
|
|
265
|
+
"unicode_decimal": 59178
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"icon_id": "1943311",
|
|
269
|
+
"name": "几何体",
|
|
270
|
+
"font_class": "category-geometry",
|
|
271
|
+
"unicode": "e616",
|
|
272
|
+
"unicode_decimal": 58902
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"icon_id": "11139925",
|
|
276
|
+
"name": "tau",
|
|
277
|
+
"font_class": "category-texture",
|
|
278
|
+
"unicode": "e62f",
|
|
279
|
+
"unicode_decimal": 58927
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"icon_id": "16384723",
|
|
283
|
+
"name": "其他",
|
|
284
|
+
"font_class": "category-other",
|
|
285
|
+
"unicode": "e672",
|
|
286
|
+
"unicode_decimal": 58994
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"icon_id": "24848380",
|
|
290
|
+
"name": "编辑",
|
|
291
|
+
"font_class": "bianji",
|
|
292
|
+
"unicode": "e636",
|
|
293
|
+
"unicode_decimal": 58934
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"icon_id": "7718275",
|
|
297
|
+
"name": "必填",
|
|
298
|
+
"font_class": "bitian",
|
|
299
|
+
"unicode": "e600",
|
|
300
|
+
"unicode_decimal": 58880
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"icon_id": "577306",
|
|
304
|
+
"name": "方形未选中",
|
|
305
|
+
"font_class": "checked-no",
|
|
306
|
+
"unicode": "e720",
|
|
307
|
+
"unicode_decimal": 59168
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"icon_id": "351761",
|
|
311
|
+
"name": "多选标记",
|
|
312
|
+
"font_class": "checked-multiple",
|
|
313
|
+
"unicode": "e615",
|
|
314
|
+
"unicode_decimal": 58901
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"icon_id": "637760",
|
|
318
|
+
"name": "对号",
|
|
319
|
+
"font_class": "checked-all",
|
|
320
|
+
"unicode": "e60b",
|
|
321
|
+
"unicode_decimal": 58891
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"icon_id": "2733964",
|
|
325
|
+
"name": "脚本任务",
|
|
326
|
+
"font_class": "category-ts",
|
|
327
|
+
"unicode": "e6ec",
|
|
328
|
+
"unicode_decimal": 59116
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"icon_id": "4124252",
|
|
332
|
+
"name": "开发中",
|
|
333
|
+
"font_class": "kaifazhong",
|
|
334
|
+
"unicode": "e791",
|
|
335
|
+
"unicode_decimal": 59281
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"icon_id": "15838430",
|
|
339
|
+
"name": "删除",
|
|
340
|
+
"font_class": "remove",
|
|
341
|
+
"unicode": "e666",
|
|
342
|
+
"unicode_decimal": 58982
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import './theme'
|
|
2
|
+
import VyrSlot from './components/Slot.vue'
|
|
3
|
+
import VyrButton from './components/Button.vue'
|
|
4
|
+
import VyrDivider from './components/Divider.vue'
|
|
5
|
+
import VyrCard from './components/Card.vue'
|
|
6
|
+
import VyrCascader from './components/Cascader.vue'
|
|
7
|
+
import VyrChecked from './components/Checked.vue'
|
|
8
|
+
import VyrCheckedGroup from './components/CheckedGroup.vue'
|
|
9
|
+
import VyrCol from './components/Col.vue'
|
|
10
|
+
import VyrColorPicker from './components/ColorPicker.vue'
|
|
11
|
+
import VyrDrapdown from './components/Dropdown.vue'
|
|
12
|
+
import VyrDialog from './components/Dialog.vue'
|
|
13
|
+
import VyrDraggable from './components/Draggable.vue'
|
|
14
|
+
import VyrDynamicLayouter from './components/DynamicLayouter.vue'
|
|
15
|
+
import VyrForm from './components/Form.vue'
|
|
16
|
+
import VyrInput from './components/Input.vue'
|
|
17
|
+
import VyrInputNumber from './components/InputNumber.vue'
|
|
18
|
+
import VyrLabel from './components/Label.vue'
|
|
19
|
+
import VyrMask from './components/Mask.vue'
|
|
20
|
+
import VyrOption from './components/Option.vue'
|
|
21
|
+
import VyrOptions from './components/Options.vue'
|
|
22
|
+
import VyrPopover from './components/Popover.vue'
|
|
23
|
+
import VyrProvider from './components/Provider.vue'
|
|
24
|
+
import VyrRow from './components/Row.vue'
|
|
25
|
+
import VyrScroll from './components/Scroll.vue'
|
|
26
|
+
import VyrSelect from './components/Select.vue'
|
|
27
|
+
import VyrTree from './components/Tree.vue'
|
|
28
|
+
import VyrRightMenu from './components/RightMenu.vue'
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
VyrSlot,
|
|
32
|
+
VyrButton,
|
|
33
|
+
VyrDivider,
|
|
34
|
+
VyrCard,
|
|
35
|
+
VyrCascader,
|
|
36
|
+
VyrChecked,
|
|
37
|
+
VyrCheckedGroup,
|
|
38
|
+
VyrCol,
|
|
39
|
+
VyrColorPicker,
|
|
40
|
+
VyrDrapdown,
|
|
41
|
+
VyrDialog,
|
|
42
|
+
VyrDraggable,
|
|
43
|
+
VyrDynamicLayouter,
|
|
44
|
+
VyrForm,
|
|
45
|
+
VyrInput,
|
|
46
|
+
VyrInputNumber,
|
|
47
|
+
VyrLabel,
|
|
48
|
+
VyrMask,
|
|
49
|
+
VyrOption,
|
|
50
|
+
VyrOptions,
|
|
51
|
+
VyrPopover,
|
|
52
|
+
VyrProvider,
|
|
53
|
+
VyrRow,
|
|
54
|
+
VyrScroll,
|
|
55
|
+
VyrSelect,
|
|
56
|
+
VyrTree,
|
|
57
|
+
VyrRightMenu,
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export * from './locale'
|
|
61
|
+
export * from './theme'
|
|
62
|
+
export * from './components'
|
|
63
|
+
export * from './components/types'
|
|
64
|
+
export * from './components/common/DraggableController'
|
|
65
|
+
export * from './components/common/ResizeListener'
|
|
66
|
+
export * from './components/singleton'
|
|
67
|
+
export * from './components/utils'
|
|
68
|
+
export * from './tool'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Locale } from "@vyr/locale";
|
|
2
|
+
import { zhCnLanguageProvider, ZhCNLanguageProvider } from "./LanguageProvider";
|
|
3
|
+
|
|
4
|
+
Locale.register(zhCnLanguageProvider)
|
|
5
|
+
|
|
6
|
+
const language = Locale.getLanguage<ZhCNLanguageProvider>(zhCnLanguageProvider.name)
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
language
|
|
10
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LanguageProvider } from '@vyr/locale'
|
|
2
|
+
|
|
3
|
+
interface ZhCNLanguageProvider extends LanguageProvider {
|
|
4
|
+
'input.placeholder': string
|
|
5
|
+
'select.placeholder': string
|
|
6
|
+
'notify.send.notMessage': string
|
|
7
|
+
'confirm.state.notFound': string
|
|
8
|
+
'confirm.button.submit': string
|
|
9
|
+
'confirm.button.cancel': string
|
|
10
|
+
'dialog.state.notFound': string
|
|
11
|
+
'dialog.button.submit': string
|
|
12
|
+
'dialog.button.cancel': string
|
|
13
|
+
'options.tips.notData': string
|
|
14
|
+
'options.tips.notFound': string
|
|
15
|
+
'scroll.listen.error': string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const zhCnLanguageProvider: ZhCNLanguageProvider = {
|
|
19
|
+
id: 'zh_CN',
|
|
20
|
+
name: '@vyr/design',
|
|
21
|
+
'input.placeholder': '请输入内容',
|
|
22
|
+
'select.placeholder': '请选择',
|
|
23
|
+
'notify.send.notMessage': '消息已被忽略,缺少提示信息!',
|
|
24
|
+
'confirm.state.notFound': '未初始化确认框的状态',
|
|
25
|
+
'confirm.button.submit': '确 认',
|
|
26
|
+
'confirm.button.cancel': '取 消',
|
|
27
|
+
'dialog.state.notFound': '未初始化确认框的状态',
|
|
28
|
+
'dialog.button.submit': '确 认',
|
|
29
|
+
'dialog.button.cancel': '取 消',
|
|
30
|
+
'options.tips.notData': '暂无数据',
|
|
31
|
+
'options.tips.notFound': '无匹配数据',
|
|
32
|
+
'scroll.listen.error': '无法计算滚动属性!',
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
ZhCNLanguageProvider,
|
|
37
|
+
zhCnLanguageProvider,
|
|
38
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/****************************全局样式****************************/
|
|
3
|
+
|
|
4
|
+
.handle {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.left {
|
|
9
|
+
text-align: left;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.center {
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.right {
|
|
17
|
+
text-align: right;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.scrollbar {
|
|
21
|
+
@scroll-color: rgba(0, 0, 0, 0);
|
|
22
|
+
|
|
23
|
+
scrollbar-arrow-color: @scroll-color;
|
|
24
|
+
scrollbar-face-color: @scroll-color;
|
|
25
|
+
scrollbar-3dlight-color: @scroll-color;
|
|
26
|
+
scrollbar-highlight-color: @scroll-color;
|
|
27
|
+
scrollbar-shadow-color: @scroll-color;
|
|
28
|
+
scrollbar-darkshadow-color: @scroll-color;
|
|
29
|
+
scrollbar-track-color: @scroll-color;
|
|
30
|
+
scrollbar-base-color: @scroll-color;
|
|
31
|
+
scrollbar-width: none;
|
|
32
|
+
-ms-overflow-style: none;
|
|
33
|
+
|
|
34
|
+
&::-webkit-scrollbar {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.t_hide {
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
word-break: break-all;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
text-overflow: ellipsis;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.t_warp {
|
|
47
|
+
//文字换行
|
|
48
|
+
white-space: pre-wrap;
|
|
49
|
+
//字母数字换行
|
|
50
|
+
word-break: break-all;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.vyr-font-family {
|
|
54
|
+
font-family: 'Segoe UI', Arial, sans-serif;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.vyr-input-icon {
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
margin: 0 2px;
|
|
60
|
+
color: var(--vyr-helper-color);
|
|
61
|
+
transition: all var(--vyr-animation-time);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.vyr-drag-mouse {
|
|
65
|
+
cursor: move;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
.vyr-transition-enter-active {
|
|
70
|
+
animation: vyr-transition var(--vyr-animation-time);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.vyr-transition-leave-active {
|
|
74
|
+
animation: vyr-transition var(--vyr-animation-time) reverse;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@keyframes vyr-transition {
|
|
78
|
+
|
|
79
|
+
0%,
|
|
80
|
+
10% {
|
|
81
|
+
opacity: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
100% {
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/****************************全局样式****************************/
|
|
91
|
+
/****************************************************************/
|