@ticatec/batch-data-uploader 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseEncodingTemplate.d.ts +0 -2
- package/dist/BaseEncodingTemplate.js +1 -4
- package/dist/BaseTemplate.d.ts +15 -29
- package/dist/BaseTemplate.js +83 -79
- package/dist/BaseUploadTemplate.d.ts +1 -2
- package/dist/BaseUploadTemplate.js +5 -6
- package/dist/DataColumn.d.ts +6 -1
- package/dist/EncodingWizard.svelte +59 -24
- package/dist/EncodingWizard.svelte.d.ts +0 -1
- package/dist/FileUploadWizard.svelte +84 -48
- package/dist/FileUploadWizard.svelte.d.ts +0 -1
- package/dist/ProcessStatus.d.ts +6 -0
- package/dist/ProcessStatus.js +7 -0
- package/dist/SheetNameViewRender.svelte +6 -0
- package/dist/SheetNameViewRender.svelte.d.ts +20 -0
- package/dist/SheetPickupDialog.svelte +35 -0
- package/dist/SheetPickupDialog.svelte.d.ts +22 -0
- package/dist/i18n_res/i18nRes.js +32 -0
- package/dist/i18n_res/index.d.ts +2 -0
- package/dist/i18n_res/index.js +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/package.json +3 -3
- package/dist/i18n_resources/batch_cn_resource.d.ts +0 -22
- package/dist/i18n_resources/batch_cn_resource.js +0 -22
- package/dist/i18n_resources/batch_en_resource.d.ts +0 -27
- package/dist/i18n_resources/batch_en_resource.js +0 -27
- package/dist/i18n_resources/i18nKeys.d.ts +0 -79
- package/dist/i18n_resources/i18nKeys.js +0 -80
- package/dist/i18n_resources/i18nRes.js +0 -29
- package/dist/i18n_resources/index.d.ts +0 -3
- package/dist/i18n_resources/index.js +0 -3
- /package/dist/{i18n_resources → i18n_res}/i18nRes.d.ts +0 -0
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import langRes from "./batch_en_resource";
|
|
2
|
-
const i18nKeys = {
|
|
3
|
-
status: {
|
|
4
|
-
pending: {
|
|
5
|
-
key: "batchUploading.status.pending",
|
|
6
|
-
text: langRes.batchUploading.status.pending
|
|
7
|
-
},
|
|
8
|
-
uploading: {
|
|
9
|
-
key: "batchUploading.status.uploading",
|
|
10
|
-
text: langRes.batchUploading.status.uploading
|
|
11
|
-
},
|
|
12
|
-
successful: {
|
|
13
|
-
key: "batchUploading.status.successful",
|
|
14
|
-
text: langRes.batchUploading.status.successful
|
|
15
|
-
},
|
|
16
|
-
fail: {
|
|
17
|
-
key: "batchUploading.status.fail",
|
|
18
|
-
text: langRes.batchUploading.status.fail
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
labelValid: {
|
|
22
|
-
key: 'batchUploading.labelValid',
|
|
23
|
-
text: langRes.batchUploading.labelValid
|
|
24
|
-
},
|
|
25
|
-
labelHint: {
|
|
26
|
-
key: 'batchUploading.labelValid',
|
|
27
|
-
text: langRes.batchUploading.labelHint
|
|
28
|
-
},
|
|
29
|
-
labelStatus: {
|
|
30
|
-
key: 'batchUploading.labelStatus',
|
|
31
|
-
text: langRes.batchUploading.labelStatus
|
|
32
|
-
},
|
|
33
|
-
parsing: {
|
|
34
|
-
key: 'batchUploading.parsing',
|
|
35
|
-
text: langRes.batchUploading.parsing
|
|
36
|
-
},
|
|
37
|
-
parseFailure: {
|
|
38
|
-
key: 'batchUploading.parseFailure',
|
|
39
|
-
text: langRes.batchUploading.parseFailure
|
|
40
|
-
},
|
|
41
|
-
waitUploading: {
|
|
42
|
-
key: 'batchUploading.waitUploading',
|
|
43
|
-
text: langRes.batchUploading.waitUploading
|
|
44
|
-
},
|
|
45
|
-
button: {
|
|
46
|
-
upload: {
|
|
47
|
-
key: 'batchUploading.button.upload',
|
|
48
|
-
text: langRes.batchUploading.button.upload
|
|
49
|
-
},
|
|
50
|
-
save: {
|
|
51
|
-
key: 'batchUploading.button.save',
|
|
52
|
-
text: langRes.batchUploading.button.save
|
|
53
|
-
},
|
|
54
|
-
open: {
|
|
55
|
-
key: 'batchUploading.button.open',
|
|
56
|
-
text: langRes.batchUploading.button.open
|
|
57
|
-
},
|
|
58
|
-
confirm: {
|
|
59
|
-
key: 'batchUploading.button.confirm',
|
|
60
|
-
text: langRes.batchUploading.button.confirm
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
errorTitle: {
|
|
64
|
-
key: 'batchUploading.errorTitle',
|
|
65
|
-
text: langRes.batchUploading.errorTitle
|
|
66
|
-
},
|
|
67
|
-
sheetName: {
|
|
68
|
-
key: 'batchUploading.sheetName',
|
|
69
|
-
text: langRes.batchUploading.sheetName
|
|
70
|
-
},
|
|
71
|
-
textValid: {
|
|
72
|
-
key: 'batchUploading.textValid',
|
|
73
|
-
text: langRes.batchUploading.textValid
|
|
74
|
-
},
|
|
75
|
-
textInvalid: {
|
|
76
|
-
key: 'batchUploading.textInvalid',
|
|
77
|
-
text: langRes.batchUploading.textInvalid
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
export default i18nKeys;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { i18nUtils } from "@ticatec/i18n";
|
|
2
|
-
const langRes = {
|
|
3
|
-
batchUploading: {
|
|
4
|
-
status: {
|
|
5
|
-
pending: "To upload",
|
|
6
|
-
uploading: "Uploading...",
|
|
7
|
-
successful: "Success",
|
|
8
|
-
fail: "Failure"
|
|
9
|
-
},
|
|
10
|
-
parsing: "Parsing file...",
|
|
11
|
-
parseFailure: "Cannot parse file: {{name}}",
|
|
12
|
-
waitUploading: "Cannot exit during uploading!",
|
|
13
|
-
button: {
|
|
14
|
-
upload: "Upload",
|
|
15
|
-
save: "Save error data",
|
|
16
|
-
open: "Open",
|
|
17
|
-
confirm: "Confirm"
|
|
18
|
-
},
|
|
19
|
-
errorTitle: "Error",
|
|
20
|
-
sheetName: "Abnormal data",
|
|
21
|
-
labelStatus: "Status",
|
|
22
|
-
labelValid: "Validity",
|
|
23
|
-
textValid: "Yes",
|
|
24
|
-
textInvalid: "No",
|
|
25
|
-
labelHint: "Hint"
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
const i18nRes = i18nUtils.createResourceProxy(langRes, 'omni');
|
|
29
|
-
export default i18nRes;
|
|
File without changes
|