@etsoo/appscript 1.6.53 → 1.6.55

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.
@@ -1,9 +1,14 @@
1
1
  import { IdType, ListType2 } from "@etsoo/shared";
2
+ /**
3
+ * Custom field space values
4
+ * 自定义字段空间值
5
+ */
6
+ export declare const CustomFieldSpaceValues: readonly ["quater", "five", "half", "half1", "seven", "full"];
2
7
  /**
3
8
  * Custom field space (12 columns)
4
9
  * 自定义字段空间(12列)
5
10
  */
6
- export type CustomFieldSpace = "quater" | "half" | "half1" | "full" | "five" | "seven";
11
+ export type CustomFieldSpace = (typeof CustomFieldSpaceValues)[number];
7
12
  /**
8
13
  * Custom field data
9
14
  * 自定义字段数据
@@ -1,2 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomFieldSpaceValues = void 0;
4
+ /**
5
+ * Custom field space values
6
+ * 自定义字段空间值
7
+ */
8
+ exports.CustomFieldSpaceValues = [
9
+ "quater",
10
+ "five",
11
+ "half",
12
+ "half1",
13
+ "seven",
14
+ "full"
15
+ ];
@@ -95,6 +95,7 @@
95
95
  "item": "Item",
96
96
  "itemExists": "'{0}' already exists",
97
97
  "jsonData": "Extended data",
98
+ "jsonDataArrayError": "JSON format error, must be an array",
98
99
  "jsonDataError": "JSON format error",
99
100
  "key": "Key",
100
101
  "keywords": "Keywords",
@@ -239,7 +240,7 @@
239
240
  "unitWEEK": "Week",
240
241
  "unitFORTNIGHT": "Fortnight",
241
242
  "unitFOURWEEK": "4-week",
242
- "unitMONEY": "Money",
243
+ "unitMONEY": "Money card",
243
244
  "unitMONTH": "Month",
244
245
  "unitBIMONTH": "2-month",
245
246
  "unitQUATER": "Quater",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "g",
248
249
  "unitJIN": "½Kg",
249
250
  "unitKILOGRAM": "Kg",
250
- "unitTIME": "Time",
251
+ "unitTIME": "Times card",
251
252
  "unitTON": "Ton",
252
253
  "unitM3": "m3",
253
254
  "update": "Update",
@@ -95,6 +95,7 @@
95
95
  "item": "项目",
96
96
  "itemExists": "'{0}'已经存在",
97
97
  "jsonData": "扩展数据",
98
+ "jsonDataArrayError": "JSON格式错误,必须是一个数组",
98
99
  "jsonDataError": "JSON格式错误",
99
100
  "key": "键",
100
101
  "keywords": "关键词",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "克",
248
249
  "unitJIN": "斤",
249
250
  "unitKILOGRAM": "公斤",
250
- "unitTIME": "",
251
+ "unitTIME": "次卡",
251
252
  "unitTON": "吨",
252
253
  "unitM3": "立方米",
253
254
  "update": "更新",
@@ -93,8 +93,9 @@
93
93
  "imageSizeTooSmall": "圖片尺寸過小",
94
94
  "info": "信息",
95
95
  "item": "項目",
96
- "itemExists": "'{0}'已经存在",
96
+ "itemExists": "'{0}'已經存在",
97
97
  "jsonData": "擴充資料",
98
+ "jsonDataArrayError": "JSON格式錯誤,必須是一個數組",
98
99
  "jsonDataError": "JSON格式錯誤",
99
100
  "key": "鍵",
100
101
  "keywords": "關鍵詞",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "克",
248
249
  "unitJIN": "斤",
249
250
  "unitKILOGRAM": "公斤",
250
- "unitTIME": "",
251
+ "unitTIME": "次卡",
251
252
  "unitTON": "噸",
252
253
  "unitM3": "立方米",
253
254
  "update": "更新",
@@ -1,9 +1,14 @@
1
1
  import { IdType, ListType2 } from "@etsoo/shared";
2
+ /**
3
+ * Custom field space values
4
+ * 自定义字段空间值
5
+ */
6
+ export declare const CustomFieldSpaceValues: readonly ["quater", "five", "half", "half1", "seven", "full"];
2
7
  /**
3
8
  * Custom field space (12 columns)
4
9
  * 自定义字段空间(12列)
5
10
  */
6
- export type CustomFieldSpace = "quater" | "half" | "half1" | "full" | "five" | "seven";
11
+ export type CustomFieldSpace = (typeof CustomFieldSpaceValues)[number];
7
12
  /**
8
13
  * Custom field data
9
14
  * 自定义字段数据
@@ -1 +1,12 @@
1
- export {};
1
+ /**
2
+ * Custom field space values
3
+ * 自定义字段空间值
4
+ */
5
+ export const CustomFieldSpaceValues = [
6
+ "quater",
7
+ "five",
8
+ "half",
9
+ "half1",
10
+ "seven",
11
+ "full"
12
+ ];
@@ -95,6 +95,7 @@
95
95
  "item": "Item",
96
96
  "itemExists": "'{0}' already exists",
97
97
  "jsonData": "Extended data",
98
+ "jsonDataArrayError": "JSON format error, must be an array",
98
99
  "jsonDataError": "JSON format error",
99
100
  "key": "Key",
100
101
  "keywords": "Keywords",
@@ -239,7 +240,7 @@
239
240
  "unitWEEK": "Week",
240
241
  "unitFORTNIGHT": "Fortnight",
241
242
  "unitFOURWEEK": "4-week",
242
- "unitMONEY": "Money",
243
+ "unitMONEY": "Money card",
243
244
  "unitMONTH": "Month",
244
245
  "unitBIMONTH": "2-month",
245
246
  "unitQUATER": "Quater",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "g",
248
249
  "unitJIN": "½Kg",
249
250
  "unitKILOGRAM": "Kg",
250
- "unitTIME": "Time",
251
+ "unitTIME": "Times card",
251
252
  "unitTON": "Ton",
252
253
  "unitM3": "m3",
253
254
  "update": "Update",
@@ -95,6 +95,7 @@
95
95
  "item": "项目",
96
96
  "itemExists": "'{0}'已经存在",
97
97
  "jsonData": "扩展数据",
98
+ "jsonDataArrayError": "JSON格式错误,必须是一个数组",
98
99
  "jsonDataError": "JSON格式错误",
99
100
  "key": "键",
100
101
  "keywords": "关键词",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "克",
248
249
  "unitJIN": "斤",
249
250
  "unitKILOGRAM": "公斤",
250
- "unitTIME": "",
251
+ "unitTIME": "次卡",
251
252
  "unitTON": "吨",
252
253
  "unitM3": "立方米",
253
254
  "update": "更新",
@@ -93,8 +93,9 @@
93
93
  "imageSizeTooSmall": "圖片尺寸過小",
94
94
  "info": "信息",
95
95
  "item": "項目",
96
- "itemExists": "'{0}'已经存在",
96
+ "itemExists": "'{0}'已經存在",
97
97
  "jsonData": "擴充資料",
98
+ "jsonDataArrayError": "JSON格式錯誤,必須是一個數組",
98
99
  "jsonDataError": "JSON格式錯誤",
99
100
  "key": "鍵",
100
101
  "keywords": "關鍵詞",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "克",
248
249
  "unitJIN": "斤",
249
250
  "unitKILOGRAM": "公斤",
250
- "unitTIME": "",
251
+ "unitTIME": "次卡",
251
252
  "unitTON": "噸",
252
253
  "unitM3": "立方米",
253
254
  "update": "更新",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.6.53",
3
+ "version": "1.6.55",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -41,15 +41,15 @@
41
41
  "crypto-js": "^4.2.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@babel/cli": "^7.28.3",
45
- "@babel/core": "^7.28.5",
46
- "@babel/plugin-transform-runtime": "^7.28.5",
47
- "@babel/preset-env": "^7.28.5",
48
- "@babel/runtime-corejs3": "^7.28.4",
44
+ "@babel/cli": "^7.28.6",
45
+ "@babel/core": "^7.29.0",
46
+ "@babel/plugin-transform-runtime": "^7.29.0",
47
+ "@babel/preset-env": "^7.29.0",
48
+ "@babel/runtime-corejs3": "^7.29.0",
49
49
  "@types/crypto-js": "^4.2.2",
50
- "@vitejs/plugin-react": "^5.1.2",
51
- "jsdom": "^27.4.0",
50
+ "@vitejs/plugin-react": "^5.1.4",
51
+ "jsdom": "^28.1.0",
52
52
  "typescript": "^5.9.3",
53
- "vitest": "^4.0.16"
53
+ "vitest": "^4.0.18"
54
54
  }
55
55
  }
@@ -1,16 +1,23 @@
1
1
  import { IdType, ListType2 } from "@etsoo/shared";
2
2
 
3
+ /**
4
+ * Custom field space values
5
+ * 自定义字段空间值
6
+ */
7
+ export const CustomFieldSpaceValues = [
8
+ "quater",
9
+ "five",
10
+ "half",
11
+ "half1",
12
+ "seven",
13
+ "full"
14
+ ] as const;
15
+
3
16
  /**
4
17
  * Custom field space (12 columns)
5
18
  * 自定义字段空间(12列)
6
19
  */
7
- export type CustomFieldSpace =
8
- | "quater"
9
- | "half"
10
- | "half1"
11
- | "full"
12
- | "five"
13
- | "seven";
20
+ export type CustomFieldSpace = (typeof CustomFieldSpaceValues)[number];
14
21
 
15
22
  /**
16
23
  * Custom field data
package/src/i18n/en.json CHANGED
@@ -95,6 +95,7 @@
95
95
  "item": "Item",
96
96
  "itemExists": "'{0}' already exists",
97
97
  "jsonData": "Extended data",
98
+ "jsonDataArrayError": "JSON format error, must be an array",
98
99
  "jsonDataError": "JSON format error",
99
100
  "key": "Key",
100
101
  "keywords": "Keywords",
@@ -239,7 +240,7 @@
239
240
  "unitWEEK": "Week",
240
241
  "unitFORTNIGHT": "Fortnight",
241
242
  "unitFOURWEEK": "4-week",
242
- "unitMONEY": "Money",
243
+ "unitMONEY": "Money card",
243
244
  "unitMONTH": "Month",
244
245
  "unitBIMONTH": "2-month",
245
246
  "unitQUATER": "Quater",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "g",
248
249
  "unitJIN": "½Kg",
249
250
  "unitKILOGRAM": "Kg",
250
- "unitTIME": "Time",
251
+ "unitTIME": "Times card",
251
252
  "unitTON": "Ton",
252
253
  "unitM3": "m3",
253
254
  "update": "Update",
@@ -95,6 +95,7 @@
95
95
  "item": "项目",
96
96
  "itemExists": "'{0}'已经存在",
97
97
  "jsonData": "扩展数据",
98
+ "jsonDataArrayError": "JSON格式错误,必须是一个数组",
98
99
  "jsonDataError": "JSON格式错误",
99
100
  "key": "键",
100
101
  "keywords": "关键词",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "克",
248
249
  "unitJIN": "斤",
249
250
  "unitKILOGRAM": "公斤",
250
- "unitTIME": "",
251
+ "unitTIME": "次卡",
251
252
  "unitTON": "吨",
252
253
  "unitM3": "立方米",
253
254
  "update": "更新",
@@ -93,8 +93,9 @@
93
93
  "imageSizeTooSmall": "圖片尺寸過小",
94
94
  "info": "信息",
95
95
  "item": "項目",
96
- "itemExists": "'{0}'已经存在",
96
+ "itemExists": "'{0}'已經存在",
97
97
  "jsonData": "擴充資料",
98
+ "jsonDataArrayError": "JSON格式錯誤,必須是一個數組",
98
99
  "jsonDataError": "JSON格式錯誤",
99
100
  "key": "鍵",
100
101
  "keywords": "關鍵詞",
@@ -247,7 +248,7 @@
247
248
  "unitGRAM": "克",
248
249
  "unitJIN": "斤",
249
250
  "unitKILOGRAM": "公斤",
250
- "unitTIME": "",
251
+ "unitTIME": "次卡",
251
252
  "unitTON": "噸",
252
253
  "unitM3": "立方米",
253
254
  "update": "更新",