@ticatec/batch-data-uploader 0.0.12 → 0.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticatec/batch-data-uploader",
3
- "version": "0.0.12",
3
+ "version": "0.1.1",
4
4
  "description": "A reusable Svelte component for batch uploading Excel data with support for error handling, multi-language, and preprocessing.",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -73,8 +73,8 @@
73
73
  "@sveltejs/kit": "^2.0.0",
74
74
  "@sveltejs/package": "^2.0.0",
75
75
  "@sveltejs/vite-plugin-svelte": "^4.0.0",
76
- "@ticatec/i18n": "^0.0.8",
77
- "@ticatec/uniface-element": "^0.1.52",
76
+ "@ticatec/i18n": "^0.2.0",
77
+ "@ticatec/uniface-element": "^0.2.0",
78
78
  "@ticatec/uniface-google-material-icons": "^0.1.2",
79
79
  "dayjs": "^1.11.10",
80
80
  "publint": "^0.3.2",
@@ -1,22 +0,0 @@
1
- declare const langRes: {
2
- batchUploading: {
3
- status: {
4
- pending: string;
5
- uploading: string;
6
- successful: string;
7
- fail: string;
8
- };
9
- parsing: string;
10
- parseFailure: string;
11
- waitUploading: string;
12
- button: {
13
- upload: string;
14
- save: string;
15
- open: string;
16
- };
17
- errorTitle: string;
18
- sheetName: string;
19
- labelStatus: string;
20
- };
21
- };
22
- export default langRes;
@@ -1,22 +0,0 @@
1
- const langRes = {
2
- batchUploading: {
3
- status: {
4
- pending: '待上传',
5
- uploading: "上传中...",
6
- successful: '处理成功',
7
- fail: '处理失败'
8
- },
9
- parsing: '解析文件...',
10
- parseFailure: '无法解析文件{{name}}',
11
- waitUploading: '上传过程中无法退出!',
12
- button: {
13
- upload: '上传',
14
- save: '导出异常',
15
- open: '文件'
16
- },
17
- errorTitle: '异常原因',
18
- sheetName: '错误数据',
19
- labelStatus: "状态"
20
- }
21
- };
22
- export default langRes;
@@ -1,27 +0,0 @@
1
- declare const langRes: {
2
- batchUploading: {
3
- status: {
4
- pending: string;
5
- uploading: string;
6
- successful: string;
7
- fail: string;
8
- };
9
- parsing: string;
10
- parseFailure: string;
11
- waitUploading: string;
12
- button: {
13
- upload: string;
14
- save: string;
15
- open: string;
16
- confirm: string;
17
- };
18
- errorTitle: string;
19
- sheetName: string;
20
- labelStatus: string;
21
- labelValid: string;
22
- textValid: string;
23
- textInvalid: string;
24
- labelHint: string;
25
- };
26
- };
27
- export default langRes;
@@ -1,27 +0,0 @@
1
- const langRes = {
2
- batchUploading: {
3
- status: {
4
- pending: "To upload",
5
- uploading: "Uploading...",
6
- successful: "Success",
7
- fail: "Failure"
8
- },
9
- parsing: "Parsing file...",
10
- parseFailure: "Cannot parse file: {{name}}",
11
- waitUploading: "Cannot exit during uploading!",
12
- button: {
13
- upload: "Upload",
14
- save: "Save error data",
15
- open: "Open",
16
- confirm: "Confirm"
17
- },
18
- errorTitle: "Error",
19
- sheetName: "Abnormal data",
20
- labelStatus: "Status",
21
- labelValid: "Validity",
22
- textValid: "Yes",
23
- textInvalid: "No",
24
- labelHint: "Hint"
25
- }
26
- };
27
- export default langRes;
@@ -1,79 +0,0 @@
1
- declare const i18nKeys: {
2
- status: {
3
- pending: {
4
- key: string;
5
- text: string;
6
- };
7
- uploading: {
8
- key: string;
9
- text: string;
10
- };
11
- successful: {
12
- key: string;
13
- text: string;
14
- };
15
- fail: {
16
- key: string;
17
- text: string;
18
- };
19
- };
20
- labelValid: {
21
- key: string;
22
- text: string;
23
- };
24
- labelHint: {
25
- key: string;
26
- text: string;
27
- };
28
- labelStatus: {
29
- key: string;
30
- text: string;
31
- };
32
- parsing: {
33
- key: string;
34
- text: string;
35
- };
36
- parseFailure: {
37
- key: string;
38
- text: string;
39
- };
40
- waitUploading: {
41
- key: string;
42
- text: string;
43
- };
44
- button: {
45
- upload: {
46
- key: string;
47
- text: string;
48
- };
49
- save: {
50
- key: string;
51
- text: string;
52
- };
53
- open: {
54
- key: string;
55
- text: string;
56
- };
57
- confirm: {
58
- key: string;
59
- text: string;
60
- };
61
- };
62
- errorTitle: {
63
- key: string;
64
- text: string;
65
- };
66
- sheetName: {
67
- key: string;
68
- text: string;
69
- };
70
- textValid: {
71
- key: string;
72
- text: string;
73
- };
74
- textInvalid: {
75
- key: string;
76
- text: string;
77
- };
78
- };
79
- export default i18nKeys;
@@ -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,3 +0,0 @@
1
- import cn_resource from "./batch_cn_resource";
2
- import en_resource from "./batch_en_resource";
3
- export { cn_resource, en_resource };
@@ -1,3 +0,0 @@
1
- import cn_resource from "./batch_cn_resource";
2
- import en_resource from "./batch_en_resource";
3
- export { cn_resource, en_resource };