@vunk/form 2.17.2 → 2.18.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/components/api-tables-select/index.cjs +1 -1
- package/components/api-tables-select/index.mjs +1 -1
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/card-input-collection/index.cjs +2 -2
- package/components/card-input-collection/index.css +11 -11
- package/components/card-input-collection/index.mjs +2 -2
- package/components/cascader/index.cjs +1 -1
- package/components/cascader/index.mjs +1 -1
- package/components/checkbox/index.cjs +1 -1
- package/components/checkbox/index.mjs +1 -1
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.mjs +1 -1
- package/components/date-picker/index.cjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker-range/index.cjs +11 -4
- package/components/date-picker-range/index.mjs +11 -4
- package/components/date-picker-range/src/ctx.d.ts +2 -2
- package/components/date-picker-range/src/index.vue.d.ts +8 -5
- package/components/dialog/index.cjs +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog-input-collection/index.cjs +58 -36
- package/components/dialog-input-collection/index.mjs +51 -29
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1 -0
- package/components/dialog-input-collection/src/index.vue.d.ts +2 -0
- package/components/download-plus/index.cjs +25 -14
- package/components/download-plus/index.mjs +26 -15
- package/components/download-plus/src/index.vue.d.ts +1 -0
- package/components/editable-text/index.cjs +1 -1
- package/components/editable-text/index.mjs +1 -1
- package/components/esri-input-geojson/index.cjs +16 -11
- package/components/esri-input-geojson/index.mjs +16 -11
- package/components/esri-input-geojson/src/ctx.d.ts +1 -1
- package/components/esri-input-geojson/src/index.vue.d.ts +4 -3
- package/components/fieldset/index.cjs +1 -1
- package/components/fieldset/index.mjs +1 -1
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form-item/index.cjs +19 -16
- package/components/form-item/index.css +12 -12
- package/components/form-item/index.mjs +20 -17
- package/components/form-item-renderer/index.cjs +2 -2
- package/components/form-item-renderer/index.mjs +2 -2
- package/components/form-item-renderer-template/index.cjs +1 -1
- package/components/form-item-renderer-template/index.mjs +1 -1
- package/components/forms-provider/index.cjs +3 -3
- package/components/forms-provider/index.mjs +3 -3
- package/components/information/index.cjs +1 -1
- package/components/information/index.mjs +1 -1
- package/components/information-collection/index.cjs +1 -1
- package/components/information-collection/index.mjs +1 -1
- package/components/information-tag/index.cjs +1 -1
- package/components/information-tag/index.mjs +1 -1
- package/components/information-templates-default/index.cjs +1 -1
- package/components/information-templates-default/index.mjs +1 -1
- package/components/input/index.cjs +1 -1
- package/components/input/index.mjs +1 -1
- package/components/input-array/index.cjs +2 -2
- package/components/input-array/index.mjs +2 -2
- package/components/input-collection/index.cjs +13 -8
- package/components/input-collection/index.css +8 -8
- package/components/input-collection/index.mjs +8 -3
- package/components/input-collection/src/core.vue.d.ts +1 -0
- package/components/input-file/index.cjs +2 -2
- package/components/input-file/index.mjs +2 -2
- package/components/input-link/index.cjs +20 -10
- package/components/input-link/index.mjs +17 -7
- package/components/input-link/src/ctx.d.ts +3 -3
- package/components/input-link/src/index.vue.d.ts +9 -6
- package/components/input-number/index.cjs +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-tag/index.cjs +1 -1
- package/components/input-tag/index.mjs +1 -1
- package/components/monaco-editor/index.cjs +1 -1
- package/components/monaco-editor/index.mjs +1 -1
- package/components/radio/index.cjs +3 -3
- package/components/radio/index.css +8 -8
- package/components/radio/index.mjs +3 -3
- package/components/radio/src/index.vue.d.ts +2 -2
- package/components/radio/src/option.vue.d.ts +1 -1
- package/components/radio/src/wraper.vue.d.ts +1 -1
- package/components/renderer-data/index.cjs +1 -1
- package/components/renderer-data/index.mjs +1 -1
- package/components/select/index.cjs +3 -3
- package/components/select/index.css +9 -9
- package/components/select/index.mjs +3 -3
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.mjs +1 -1
- package/components/switch/index.cjs +1 -1
- package/components/switch/index.mjs +1 -1
- package/components/tables-select/index.cjs +7 -4
- package/components/tables-select/index.mjs +7 -4
- package/components/tables-select/src/index.vue.d.ts +1 -0
- package/components/template-instances-provider/index.cjs +1 -1
- package/components/template-instances-provider/index.mjs +1 -1
- package/components/templates-default/index.cjs +1 -1
- package/components/templates-default/index.mjs +1 -1
- package/components/templates-element-plus/index.cjs +1 -1
- package/components/templates-element-plus/index.mjs +1 -1
- package/components/templates-esri/index.cjs +1 -1
- package/components/templates-esri/index.mjs +1 -1
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +1 -1
- package/components/templates-variant/index.cjs +1 -1
- package/components/templates-variant/index.mjs +1 -1
- package/components/time-picker/index.cjs +1 -1
- package/components/time-picker/index.mjs +1 -1
- package/components/upload/index.cjs +42 -29
- package/components/upload/index.mjs +41 -28
- package/components/upload/src/ctx.d.ts +1 -1
- package/components/upload/src/file.vue.d.ts +4 -3
- package/components/upload/src/index.vue.d.ts +7 -5
- package/components/upload/src/wraper.vue.d.ts +2 -2
- package/components/upload-plus/index.cjs +57 -38
- package/components/upload-plus/index.mjs +58 -39
- package/components/upload-plus/src/index.vue.d.ts +1 -0
- package/components/van-cascader/index.cjs +1 -1
- package/components/van-cascader/index.mjs +1 -1
- package/components/var-datetime-picker/index.cjs +19 -16
- package/components/var-datetime-picker/index.mjs +19 -16
- package/components/var-datetime-picker/src/index.vue.d.ts +1 -0
- package/components/vditor/index.cjs +1 -1
- package/components/vditor/index.mjs +1 -1
- package/composables/element-plus/index.cjs +23 -0
- package/composables/element-plus/index.d.ts +1 -0
- package/composables/element-plus/index.mjs +21 -0
- package/composables/element-plus/useLocale.d.ts +8 -0
- package/index.css +48 -48
- package/index.d.ts +1 -0
- package/index.esm.js +1 -0
- package/locale/index.cjs +110 -0
- package/locale/index.d.ts +2 -0
- package/locale/index.mjs +107 -0
- package/locale/lang/en.d.ts +53 -0
- package/locale/lang/index.cjs +2 -0
- package/locale/lang/index.d.ts +0 -0
- package/locale/lang/index.mjs +1 -0
- package/locale/lang/zh-cn.d.ts +53 -0
- package/package.json +160 -1
package/index.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.vkf-card-input-collection-options{
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: flex;
|
|
1
|
+
.vkf-card-input-collection-options{
|
|
2
|
+
width: 100%;
|
|
3
|
+
display: flex;
|
|
4
4
|
justify-content: flex-end;
|
|
5
5
|
}
|
|
6
|
-
.vkf-card-input-collection-card {
|
|
7
|
-
width: 100%;
|
|
6
|
+
.vkf-card-input-collection-card {
|
|
7
|
+
width: 100%;
|
|
8
8
|
margin-top: var(--gap-m, 8px);
|
|
9
9
|
}
|
|
10
|
-
.vkf-card-input-collection-card__footer{
|
|
11
|
-
display: flex;
|
|
10
|
+
.vkf-card-input-collection-card__footer{
|
|
11
|
+
display: flex;
|
|
12
12
|
justify-content: flex-end;
|
|
13
13
|
}
|
|
14
|
-
.vkf-card-input-collection-card .vkf-form-item:not(:last-child) {
|
|
14
|
+
.vkf-card-input-collection-card .vkf-form-item:not(:last-child) {
|
|
15
15
|
margin-bottom: 18px;
|
|
16
16
|
}
|
|
17
|
-
.vkf-card-input-collection-empty{
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
17
|
+
.vkf-card-input-collection-empty{
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
20
|
width: 100%;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -220,30 +220,30 @@
|
|
|
220
220
|
margin: 0;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.vkf-form-item-label__span{
|
|
223
|
+
.vkf-form-item-label__span{
|
|
224
224
|
vertical-align: middle;
|
|
225
225
|
}
|
|
226
|
-
.vkf-form-item-label-tip-button:hover .el-icon {
|
|
226
|
+
.vkf-form-item-label-tip-button:hover .el-icon {
|
|
227
227
|
color: var(--el-color-primary);
|
|
228
228
|
}
|
|
229
|
-
.vkf-form-item-label-tip-button .el-icon {
|
|
229
|
+
.vkf-form-item-label-tip-button .el-icon {
|
|
230
230
|
margin-top: -0.18em;
|
|
231
231
|
}
|
|
232
|
-
.vkf-form-item-label-tip-button.el-button{
|
|
233
|
-
margin-left: 4px;
|
|
232
|
+
.vkf-form-item-label-tip-button.el-button{
|
|
233
|
+
margin-left: 4px;
|
|
234
234
|
padding: 4px;
|
|
235
235
|
}
|
|
236
|
-
.el-form-item--label-top.vkf-form-item.has-label-actions > .el-form-item__label {
|
|
237
|
-
width: 100%;
|
|
236
|
+
.el-form-item--label-top.vkf-form-item.has-label-actions > .el-form-item__label {
|
|
237
|
+
width: 100%;
|
|
238
238
|
padding-right: 0;
|
|
239
239
|
}
|
|
240
|
-
.vkf-form-item__tip {
|
|
240
|
+
.vkf-form-item__tip {
|
|
241
241
|
color: var(--el-text-color-secondary);
|
|
242
242
|
}
|
|
243
|
-
.vkf-form-item-label__actions {
|
|
244
|
-
float: right;
|
|
245
|
-
align-items: center;
|
|
246
|
-
display: inline-flex;
|
|
243
|
+
.vkf-form-item-label__actions {
|
|
244
|
+
float: right;
|
|
245
|
+
align-items: center;
|
|
246
|
+
display: inline-flex;
|
|
247
247
|
height: 1.8em;
|
|
248
248
|
}
|
|
249
249
|
.vkf-form-item.is-information{
|
|
@@ -295,24 +295,24 @@
|
|
|
295
295
|
flex-wrap: initial;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.vkf-input-collection-options{
|
|
299
|
-
width: 100%;
|
|
300
|
-
display: flex;
|
|
298
|
+
.vkf-input-collection-options{
|
|
299
|
+
width: 100%;
|
|
300
|
+
display: flex;
|
|
301
301
|
justify-content: flex-end;
|
|
302
302
|
}
|
|
303
|
-
.vkf-input-collection-table{
|
|
303
|
+
.vkf-input-collection-table{
|
|
304
304
|
margin-top: var(--gap-m, 8px);
|
|
305
305
|
}
|
|
306
|
-
.vkf-input-collection-table .vkf-form-item {
|
|
306
|
+
.vkf-input-collection-table .vkf-form-item {
|
|
307
307
|
margin-bottom: 0;
|
|
308
308
|
}
|
|
309
|
-
.vk-input-collection__expand-fieldset{
|
|
309
|
+
.vk-input-collection__expand-fieldset{
|
|
310
310
|
padding: 8px;
|
|
311
311
|
}
|
|
312
|
-
.vk-input-collection__expand-fieldset > .vkf-form-item{
|
|
312
|
+
.vk-input-collection__expand-fieldset > .vkf-form-item{
|
|
313
313
|
margin-bottom: 18px;
|
|
314
314
|
}
|
|
315
|
-
.vk-input-collection__buttons .cell{
|
|
315
|
+
.vk-input-collection__buttons .cell{
|
|
316
316
|
padding: 0;
|
|
317
317
|
}
|
|
318
318
|
|
|
@@ -340,20 +340,20 @@
|
|
|
340
340
|
width: 100%;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
.vkf-radio-option-card.is-checked {
|
|
343
|
+
.vkf-radio-option-card.is-checked {
|
|
344
344
|
border-color: var(--el-color-primary);
|
|
345
345
|
}
|
|
346
|
-
.vkf-radio-option-card{
|
|
347
|
-
font-size: var(--el-font-size-base);
|
|
346
|
+
.vkf-radio-option-card{
|
|
347
|
+
font-size: var(--el-font-size-base);
|
|
348
348
|
cursor: pointer;
|
|
349
349
|
}
|
|
350
|
-
.vkf-radio-option-card:not(:last-child) {
|
|
350
|
+
.vkf-radio-option-card:not(:last-child) {
|
|
351
351
|
margin-right: 30px;
|
|
352
352
|
}
|
|
353
|
-
.vkf-radio-option-card > .el-card__body{
|
|
354
|
-
display: flex;
|
|
355
|
-
justify-content: space-between;
|
|
356
|
-
align-items: center;
|
|
353
|
+
.vkf-radio-option-card > .el-card__body{
|
|
354
|
+
display: flex;
|
|
355
|
+
justify-content: space-between;
|
|
356
|
+
align-items: center;
|
|
357
357
|
width: max-content;
|
|
358
358
|
}
|
|
359
359
|
.el-radio-group.is-readonly,
|
|
@@ -381,19 +381,19 @@
|
|
|
381
381
|
cursor: var(--el-readonly-cursor);
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
.el-select.is-readonly{
|
|
385
|
-
--el-readonly-cursor: text;
|
|
386
|
-
--el-disabled-bg-color: initial;
|
|
384
|
+
.el-select.is-readonly{
|
|
385
|
+
--el-readonly-cursor: text;
|
|
386
|
+
--el-disabled-bg-color: initial;
|
|
387
387
|
--el-disabled-text-color: var(--el-input-text-color);
|
|
388
388
|
}
|
|
389
|
-
.el-select.is-readonly .el-select__wrapper.is-disabled {
|
|
390
|
-
background-color: initial;
|
|
391
|
-
color: var(--el-input-text-color);
|
|
389
|
+
.el-select.is-readonly .el-select__wrapper.is-disabled {
|
|
390
|
+
background-color: initial;
|
|
391
|
+
color: var(--el-input-text-color);
|
|
392
392
|
cursor: var(--el-readonly-cursor);
|
|
393
393
|
}
|
|
394
|
-
.el-select.is-readonly .el-input.is-disabled .el-input__inner,
|
|
395
|
-
.el-select.is-readonly .el-input.is-disabled .el-select__caret,
|
|
396
|
-
.el-select.is-readonly .el-input.is-disabled .el-input__wrapper{
|
|
394
|
+
.el-select.is-readonly .el-input.is-disabled .el-input__inner,
|
|
395
|
+
.el-select.is-readonly .el-input.is-disabled .el-select__caret,
|
|
396
|
+
.el-select.is-readonly .el-input.is-disabled .el-input__wrapper{
|
|
397
397
|
cursor: var(--el-readonly-cursor);
|
|
398
398
|
}
|
|
399
399
|
|
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const install: (app: import("vue").App) => void;
|
|
|
3
3
|
export default installer;
|
|
4
4
|
export * from '@vunk/form/shared';
|
|
5
5
|
export * from '@vunk/form/composables';
|
|
6
|
+
export * from '@vunk/form/locale';
|
|
6
7
|
export * from '@vunk/form/components/form-item-renderer';
|
|
7
8
|
export * from '@vunk/form/components/form-item-renderer-template';
|
|
8
9
|
export * from '@vunk/form/components/templates-default';
|
package/index.esm.js
CHANGED
|
@@ -8,6 +8,7 @@ import { VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
|
|
|
8
8
|
export * from '@vunk/form/components/templates-layout';
|
|
9
9
|
export * from '@vunk/form/shared';
|
|
10
10
|
export * from '@vunk/form/composables';
|
|
11
|
+
export * from '@vunk/form/locale';
|
|
11
12
|
export * from '@vunk/form/components/templates-default';
|
|
12
13
|
export * from '@vunk/form/components/form-item';
|
|
13
14
|
export * from '@vunk/form/components/input';
|
package/locale/index.cjs
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const en = {
|
|
4
|
+
vkf: {
|
|
5
|
+
common: {
|
|
6
|
+
operations: "Operations",
|
|
7
|
+
pause: "Pause",
|
|
8
|
+
upload: "Upload",
|
|
9
|
+
download: "Download"
|
|
10
|
+
},
|
|
11
|
+
dialogInputCollection: {
|
|
12
|
+
operations: "Operations",
|
|
13
|
+
add: "Add",
|
|
14
|
+
deleteConfirm: "Delete this item?"
|
|
15
|
+
},
|
|
16
|
+
downloadPlus: {
|
|
17
|
+
unknownFile: "Unknown file",
|
|
18
|
+
downloadFailed: "Download failed"
|
|
19
|
+
},
|
|
20
|
+
esriInputGeojson: {
|
|
21
|
+
dialogEditTitle: "Draw feature",
|
|
22
|
+
saveSuccess: "Saved successfully",
|
|
23
|
+
uploadSuccess: "Uploaded successfully"
|
|
24
|
+
},
|
|
25
|
+
formItem: {
|
|
26
|
+
defaultField: "This field",
|
|
27
|
+
required: "{label} is required",
|
|
28
|
+
pattern: "Enter {label}: {pattern}"
|
|
29
|
+
},
|
|
30
|
+
inputCollection: {
|
|
31
|
+
operations: "Operations"
|
|
32
|
+
},
|
|
33
|
+
inputLink: {
|
|
34
|
+
label: "Backfill URL",
|
|
35
|
+
placeholder: "Paste the file download URL here after uploading",
|
|
36
|
+
referenceLabel: "Reference URL",
|
|
37
|
+
invalidUrl: "Please enter a valid URL"
|
|
38
|
+
},
|
|
39
|
+
upload: {
|
|
40
|
+
selectFile: "Select file",
|
|
41
|
+
empty: "No file",
|
|
42
|
+
exceedConfirm: "The file limit has been exceeded. Replace existing files with the new files?",
|
|
43
|
+
download: "Download"
|
|
44
|
+
},
|
|
45
|
+
uploadPlus: {
|
|
46
|
+
selectFile: "Select file",
|
|
47
|
+
uploadSuccess: "Uploaded successfully",
|
|
48
|
+
uploadFailed: "Upload failed",
|
|
49
|
+
merge: "Merge",
|
|
50
|
+
mergeFailed: "Merge failed",
|
|
51
|
+
uploaded: "Uploaded"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const zhCn = {
|
|
57
|
+
vkf: {
|
|
58
|
+
common: {
|
|
59
|
+
operations: "\u64CD\u4F5C",
|
|
60
|
+
pause: "\u6682\u505C",
|
|
61
|
+
upload: "\u4E0A\u4F20",
|
|
62
|
+
download: "\u4E0B\u8F7D"
|
|
63
|
+
},
|
|
64
|
+
dialogInputCollection: {
|
|
65
|
+
operations: "\u64CD\u4F5C",
|
|
66
|
+
add: "\u6DFB\u52A0",
|
|
67
|
+
deleteConfirm: "\u786E\u5B9A\u5220\u9664\u5417\uFF1F"
|
|
68
|
+
},
|
|
69
|
+
downloadPlus: {
|
|
70
|
+
unknownFile: "\u672A\u77E5\u6587\u4EF6",
|
|
71
|
+
downloadFailed: "\u4E0B\u8F7D\u5931\u8D25"
|
|
72
|
+
},
|
|
73
|
+
esriInputGeojson: {
|
|
74
|
+
dialogEditTitle: "\u7ED8\u5236\u56FE\u6591",
|
|
75
|
+
saveSuccess: "\u4FDD\u5B58\u6210\u529F",
|
|
76
|
+
uploadSuccess: "\u4E0A\u4F20\u6210\u529F"
|
|
77
|
+
},
|
|
78
|
+
formItem: {
|
|
79
|
+
defaultField: "\u8BE5\u5B57\u6BB5",
|
|
80
|
+
required: "{label}\u4E0D\u80FD\u4E3A\u7A7A",
|
|
81
|
+
pattern: "\u8F93\u5165 {label} {pattern}"
|
|
82
|
+
},
|
|
83
|
+
inputCollection: {
|
|
84
|
+
operations: "\u64CD\u4F5C"
|
|
85
|
+
},
|
|
86
|
+
inputLink: {
|
|
87
|
+
label: "\u56DE\u586B\u5730\u5740",
|
|
88
|
+
placeholder: "\u4E0A\u4F20\u6587\u4EF6\u540E, \u5C06\u6587\u4EF6\u4E0B\u8F7D\u5730\u5740\u7C98\u8D34\u5230\u6B64\u5904",
|
|
89
|
+
referenceLabel: "\u53C2\u8003\u5730\u5740",
|
|
90
|
+
invalidUrl: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5\u5730\u5740"
|
|
91
|
+
},
|
|
92
|
+
upload: {
|
|
93
|
+
selectFile: "\u9009\u62E9\u6587\u4EF6",
|
|
94
|
+
empty: "\u6682\u65E0",
|
|
95
|
+
exceedConfirm: "\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF\u9650\u5236\uFF0C\u662F\u5426\u4F7F\u7528\u65B0\u6587\u4EF6\u91CD\u65B0\u4E0A\u4F20\uFF1F",
|
|
96
|
+
download: "\u4E0B\u8F7D"
|
|
97
|
+
},
|
|
98
|
+
uploadPlus: {
|
|
99
|
+
selectFile: "\u8BF7\u9009\u62E9\u6587\u4EF6",
|
|
100
|
+
uploadSuccess: "\u4E0A\u4F20\u6210\u529F",
|
|
101
|
+
uploadFailed: "\u4E0A\u4F20\u5931\u8D25",
|
|
102
|
+
merge: "\u5408\u5E76",
|
|
103
|
+
mergeFailed: "\u5408\u5E76\u5931\u8D25",
|
|
104
|
+
uploaded: "\u5DF2\u4F20"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
exports.en = en;
|
|
110
|
+
exports.zhCn = zhCn;
|
package/locale/index.mjs
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
const en = {
|
|
2
|
+
vkf: {
|
|
3
|
+
common: {
|
|
4
|
+
operations: "Operations",
|
|
5
|
+
pause: "Pause",
|
|
6
|
+
upload: "Upload",
|
|
7
|
+
download: "Download"
|
|
8
|
+
},
|
|
9
|
+
dialogInputCollection: {
|
|
10
|
+
operations: "Operations",
|
|
11
|
+
add: "Add",
|
|
12
|
+
deleteConfirm: "Delete this item?"
|
|
13
|
+
},
|
|
14
|
+
downloadPlus: {
|
|
15
|
+
unknownFile: "Unknown file",
|
|
16
|
+
downloadFailed: "Download failed"
|
|
17
|
+
},
|
|
18
|
+
esriInputGeojson: {
|
|
19
|
+
dialogEditTitle: "Draw feature",
|
|
20
|
+
saveSuccess: "Saved successfully",
|
|
21
|
+
uploadSuccess: "Uploaded successfully"
|
|
22
|
+
},
|
|
23
|
+
formItem: {
|
|
24
|
+
defaultField: "This field",
|
|
25
|
+
required: "{label} is required",
|
|
26
|
+
pattern: "Enter {label}: {pattern}"
|
|
27
|
+
},
|
|
28
|
+
inputCollection: {
|
|
29
|
+
operations: "Operations"
|
|
30
|
+
},
|
|
31
|
+
inputLink: {
|
|
32
|
+
label: "Backfill URL",
|
|
33
|
+
placeholder: "Paste the file download URL here after uploading",
|
|
34
|
+
referenceLabel: "Reference URL",
|
|
35
|
+
invalidUrl: "Please enter a valid URL"
|
|
36
|
+
},
|
|
37
|
+
upload: {
|
|
38
|
+
selectFile: "Select file",
|
|
39
|
+
empty: "No file",
|
|
40
|
+
exceedConfirm: "The file limit has been exceeded. Replace existing files with the new files?",
|
|
41
|
+
download: "Download"
|
|
42
|
+
},
|
|
43
|
+
uploadPlus: {
|
|
44
|
+
selectFile: "Select file",
|
|
45
|
+
uploadSuccess: "Uploaded successfully",
|
|
46
|
+
uploadFailed: "Upload failed",
|
|
47
|
+
merge: "Merge",
|
|
48
|
+
mergeFailed: "Merge failed",
|
|
49
|
+
uploaded: "Uploaded"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const zhCn = {
|
|
55
|
+
vkf: {
|
|
56
|
+
common: {
|
|
57
|
+
operations: "\u64CD\u4F5C",
|
|
58
|
+
pause: "\u6682\u505C",
|
|
59
|
+
upload: "\u4E0A\u4F20",
|
|
60
|
+
download: "\u4E0B\u8F7D"
|
|
61
|
+
},
|
|
62
|
+
dialogInputCollection: {
|
|
63
|
+
operations: "\u64CD\u4F5C",
|
|
64
|
+
add: "\u6DFB\u52A0",
|
|
65
|
+
deleteConfirm: "\u786E\u5B9A\u5220\u9664\u5417\uFF1F"
|
|
66
|
+
},
|
|
67
|
+
downloadPlus: {
|
|
68
|
+
unknownFile: "\u672A\u77E5\u6587\u4EF6",
|
|
69
|
+
downloadFailed: "\u4E0B\u8F7D\u5931\u8D25"
|
|
70
|
+
},
|
|
71
|
+
esriInputGeojson: {
|
|
72
|
+
dialogEditTitle: "\u7ED8\u5236\u56FE\u6591",
|
|
73
|
+
saveSuccess: "\u4FDD\u5B58\u6210\u529F",
|
|
74
|
+
uploadSuccess: "\u4E0A\u4F20\u6210\u529F"
|
|
75
|
+
},
|
|
76
|
+
formItem: {
|
|
77
|
+
defaultField: "\u8BE5\u5B57\u6BB5",
|
|
78
|
+
required: "{label}\u4E0D\u80FD\u4E3A\u7A7A",
|
|
79
|
+
pattern: "\u8F93\u5165 {label} {pattern}"
|
|
80
|
+
},
|
|
81
|
+
inputCollection: {
|
|
82
|
+
operations: "\u64CD\u4F5C"
|
|
83
|
+
},
|
|
84
|
+
inputLink: {
|
|
85
|
+
label: "\u56DE\u586B\u5730\u5740",
|
|
86
|
+
placeholder: "\u4E0A\u4F20\u6587\u4EF6\u540E, \u5C06\u6587\u4EF6\u4E0B\u8F7D\u5730\u5740\u7C98\u8D34\u5230\u6B64\u5904",
|
|
87
|
+
referenceLabel: "\u53C2\u8003\u5730\u5740",
|
|
88
|
+
invalidUrl: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5\u5730\u5740"
|
|
89
|
+
},
|
|
90
|
+
upload: {
|
|
91
|
+
selectFile: "\u9009\u62E9\u6587\u4EF6",
|
|
92
|
+
empty: "\u6682\u65E0",
|
|
93
|
+
exceedConfirm: "\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF\u9650\u5236\uFF0C\u662F\u5426\u4F7F\u7528\u65B0\u6587\u4EF6\u91CD\u65B0\u4E0A\u4F20\uFF1F",
|
|
94
|
+
download: "\u4E0B\u8F7D"
|
|
95
|
+
},
|
|
96
|
+
uploadPlus: {
|
|
97
|
+
selectFile: "\u8BF7\u9009\u62E9\u6587\u4EF6",
|
|
98
|
+
uploadSuccess: "\u4E0A\u4F20\u6210\u529F",
|
|
99
|
+
uploadFailed: "\u4E0A\u4F20\u5931\u8D25",
|
|
100
|
+
merge: "\u5408\u5E76",
|
|
101
|
+
mergeFailed: "\u5408\u5E76\u5931\u8D25",
|
|
102
|
+
uploaded: "\u5DF2\u4F20"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export { en, zhCn };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const en: {
|
|
2
|
+
vkf: {
|
|
3
|
+
common: {
|
|
4
|
+
operations: string;
|
|
5
|
+
pause: string;
|
|
6
|
+
upload: string;
|
|
7
|
+
download: string;
|
|
8
|
+
};
|
|
9
|
+
dialogInputCollection: {
|
|
10
|
+
operations: string;
|
|
11
|
+
add: string;
|
|
12
|
+
deleteConfirm: string;
|
|
13
|
+
};
|
|
14
|
+
downloadPlus: {
|
|
15
|
+
unknownFile: string;
|
|
16
|
+
downloadFailed: string;
|
|
17
|
+
};
|
|
18
|
+
esriInputGeojson: {
|
|
19
|
+
dialogEditTitle: string;
|
|
20
|
+
saveSuccess: string;
|
|
21
|
+
uploadSuccess: string;
|
|
22
|
+
};
|
|
23
|
+
formItem: {
|
|
24
|
+
defaultField: string;
|
|
25
|
+
required: string;
|
|
26
|
+
pattern: string;
|
|
27
|
+
};
|
|
28
|
+
inputCollection: {
|
|
29
|
+
operations: string;
|
|
30
|
+
};
|
|
31
|
+
inputLink: {
|
|
32
|
+
label: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
referenceLabel: string;
|
|
35
|
+
invalidUrl: string;
|
|
36
|
+
};
|
|
37
|
+
upload: {
|
|
38
|
+
selectFile: string;
|
|
39
|
+
empty: string;
|
|
40
|
+
exceedConfirm: string;
|
|
41
|
+
download: string;
|
|
42
|
+
};
|
|
43
|
+
uploadPlus: {
|
|
44
|
+
selectFile: string;
|
|
45
|
+
uploadSuccess: string;
|
|
46
|
+
uploadFailed: string;
|
|
47
|
+
merge: string;
|
|
48
|
+
mergeFailed: string;
|
|
49
|
+
uploaded: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default en;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const zhCn: {
|
|
2
|
+
vkf: {
|
|
3
|
+
common: {
|
|
4
|
+
operations: string;
|
|
5
|
+
pause: string;
|
|
6
|
+
upload: string;
|
|
7
|
+
download: string;
|
|
8
|
+
};
|
|
9
|
+
dialogInputCollection: {
|
|
10
|
+
operations: string;
|
|
11
|
+
add: string;
|
|
12
|
+
deleteConfirm: string;
|
|
13
|
+
};
|
|
14
|
+
downloadPlus: {
|
|
15
|
+
unknownFile: string;
|
|
16
|
+
downloadFailed: string;
|
|
17
|
+
};
|
|
18
|
+
esriInputGeojson: {
|
|
19
|
+
dialogEditTitle: string;
|
|
20
|
+
saveSuccess: string;
|
|
21
|
+
uploadSuccess: string;
|
|
22
|
+
};
|
|
23
|
+
formItem: {
|
|
24
|
+
defaultField: string;
|
|
25
|
+
required: string;
|
|
26
|
+
pattern: string;
|
|
27
|
+
};
|
|
28
|
+
inputCollection: {
|
|
29
|
+
operations: string;
|
|
30
|
+
};
|
|
31
|
+
inputLink: {
|
|
32
|
+
label: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
referenceLabel: string;
|
|
35
|
+
invalidUrl: string;
|
|
36
|
+
};
|
|
37
|
+
upload: {
|
|
38
|
+
selectFile: string;
|
|
39
|
+
empty: string;
|
|
40
|
+
exceedConfirm: string;
|
|
41
|
+
download: string;
|
|
42
|
+
};
|
|
43
|
+
uploadPlus: {
|
|
44
|
+
selectFile: string;
|
|
45
|
+
uploadSuccess: string;
|
|
46
|
+
uploadFailed: string;
|
|
47
|
+
merge: string;
|
|
48
|
+
mergeFailed: string;
|
|
49
|
+
uploaded: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default zhCn;
|