@etsoo/appscript 1.4.13 → 1.4.15
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/lib/cjs/address/AddressContinent.js +1 -1
- package/lib/cjs/address/AddressRegion.js +1 -1
- package/lib/cjs/address/AddressUtils.js +1 -1
- package/lib/cjs/app/ExternalSettings.js +1 -1
- package/lib/cjs/app/UserRole.js +1 -1
- package/lib/cjs/bridges/BridgeUtils.js +1 -1
- package/lib/cjs/bridges/IBridgeHost.js +1 -1
- package/lib/cjs/business/BusinessTax.js +1 -1
- package/lib/cjs/business/BusinessUtils.js +1 -1
- package/lib/cjs/business/DataPrivacy.js +1 -1
- package/lib/cjs/business/EntityStatus.js +1 -1
- package/lib/cjs/business/ProductUnit.js +2 -2
- package/lib/cjs/business/RepeatOption.js +1 -1
- package/lib/cjs/erp/rq/PlaceQueryRQ.js +2 -2
- package/lib/cjs/i18n/en.json +2 -0
- package/lib/cjs/i18n/zh-Hans.json +2 -0
- package/lib/cjs/i18n/zh-Hant.json +2 -0
- package/lib/mjs/address/AddressRegion.js +1 -2
- package/lib/mjs/business/BusinessTax.js +1 -2
- package/lib/mjs/i18n/en.json +2 -0
- package/lib/mjs/i18n/zh-Hans.json +2 -0
- package/lib/mjs/i18n/zh-Hant.json +2 -0
- package/package.json +8 -8
- package/src/i18n/en.json +2 -0
- package/src/i18n/zh-Hans.json +2 -0
- package/src/i18n/zh-Hant.json +2 -0
|
@@ -41,4 +41,4 @@ var AddressContinent;
|
|
|
41
41
|
/// 南美洲
|
|
42
42
|
/// </summary>
|
|
43
43
|
AddressContinent[AddressContinent["SA"] = 7] = "SA";
|
|
44
|
-
})(AddressContinent
|
|
44
|
+
})(AddressContinent || (exports.AddressContinent = AddressContinent = {}));
|
|
@@ -28,6 +28,7 @@ class AddressRegion {
|
|
|
28
28
|
this.continentId = AddressContinent_1.AddressContinent[continent];
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
exports.AddressRegion = AddressRegion;
|
|
31
32
|
/**
|
|
32
33
|
* CN - China
|
|
33
34
|
*/
|
|
@@ -104,4 +105,3 @@ AddressRegion.all = [
|
|
|
104
105
|
AddressRegion.DE,
|
|
105
106
|
AddressRegion.FR
|
|
106
107
|
];
|
|
107
|
-
exports.AddressRegion = AddressRegion;
|
package/lib/cjs/app/UserRole.js
CHANGED
|
@@ -8,4 +8,4 @@ var BridgeHostName;
|
|
|
8
8
|
(function (BridgeHostName) {
|
|
9
9
|
BridgeHostName[BridgeHostName["Electron"] = 0] = "Electron";
|
|
10
10
|
BridgeHostName[BridgeHostName["Flutter"] = 1] = "Flutter";
|
|
11
|
-
})(BridgeHostName
|
|
11
|
+
})(BridgeHostName || (exports.BridgeHostName = BridgeHostName = {}));
|
|
@@ -26,6 +26,7 @@ class BusinessTax {
|
|
|
26
26
|
return 'tax' + this.id + this.name;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
exports.BusinessTax = BusinessTax;
|
|
29
30
|
/**
|
|
30
31
|
* CN
|
|
31
32
|
* Unified Social Credit Code (USCC) / 统一信用代码
|
|
@@ -58,4 +59,3 @@ BusinessTax.all = [
|
|
|
58
59
|
BusinessTax.CA,
|
|
59
60
|
BusinessTax.HK
|
|
60
61
|
];
|
|
61
|
-
exports.BusinessTax = BusinessTax;
|
|
@@ -18,7 +18,7 @@ var ProductBaseUnit;
|
|
|
18
18
|
* 套
|
|
19
19
|
*/
|
|
20
20
|
ProductBaseUnit[ProductBaseUnit["SET"] = 2] = "SET";
|
|
21
|
-
})(ProductBaseUnit
|
|
21
|
+
})(ProductBaseUnit || (exports.ProductBaseUnit = ProductBaseUnit = {}));
|
|
22
22
|
var ProductAssetUnit;
|
|
23
23
|
(function (ProductAssetUnit) {
|
|
24
24
|
/**
|
|
@@ -58,7 +58,7 @@ var ProductWeightUnit;
|
|
|
58
58
|
* 吨
|
|
59
59
|
*/
|
|
60
60
|
ProductWeightUnit[ProductWeightUnit["TON"] = 49] = "TON";
|
|
61
|
-
})(ProductWeightUnit
|
|
61
|
+
})(ProductWeightUnit || (exports.ProductWeightUnit = ProductWeightUnit = {}));
|
|
62
62
|
/**
|
|
63
63
|
* Product units enum
|
|
64
64
|
* Repeat options take range 10 - 39
|
|
@@ -9,7 +9,7 @@ var PlaceQueryOutput;
|
|
|
9
9
|
(function (PlaceQueryOutput) {
|
|
10
10
|
PlaceQueryOutput[PlaceQueryOutput["JSON"] = 0] = "JSON";
|
|
11
11
|
PlaceQueryOutput[PlaceQueryOutput["XML"] = 1] = "XML";
|
|
12
|
-
})(PlaceQueryOutput
|
|
12
|
+
})(PlaceQueryOutput || (exports.PlaceQueryOutput = PlaceQueryOutput = {}));
|
|
13
13
|
/**
|
|
14
14
|
* Place query API provider
|
|
15
15
|
* 地址查询接口供应商
|
|
@@ -18,4 +18,4 @@ var PlaceQueryProvider;
|
|
|
18
18
|
(function (PlaceQueryProvider) {
|
|
19
19
|
PlaceQueryProvider[PlaceQueryProvider["Google"] = 0] = "Google";
|
|
20
20
|
PlaceQueryProvider[PlaceQueryProvider["Baidu"] = 1] = "Baidu";
|
|
21
|
-
})(PlaceQueryProvider
|
|
21
|
+
})(PlaceQueryProvider || (exports.PlaceQueryProvider = PlaceQueryProvider = {}));
|
package/lib/cjs/i18n/en.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "New Zealand Dollar",
|
|
41
41
|
"currencySGD": "Singapore Dollar",
|
|
42
42
|
"currencyUSD": "U.S. Dollar",
|
|
43
|
+
"customName": "Custom name",
|
|
43
44
|
"data": "Data",
|
|
44
45
|
"dataComparison": "Data comparison",
|
|
45
46
|
"dataPrivacy": "Data privacy",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "Keywords",
|
|
79
80
|
"loading": "Loading...",
|
|
80
81
|
"login": "Login",
|
|
82
|
+
"logo": "Logo",
|
|
81
83
|
"me": "ME",
|
|
82
84
|
"menuHome": "Home",
|
|
83
85
|
"message": "Message",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "纽币",
|
|
41
41
|
"currencySGD": "新币",
|
|
42
42
|
"currencyUSD": "美元",
|
|
43
|
+
"customName": "自定义名称",
|
|
43
44
|
"data": "数据",
|
|
44
45
|
"dataComparison": "数据对比",
|
|
45
46
|
"dataPrivacy": "数据隐私",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "关键词",
|
|
79
80
|
"loading": "正在加载...",
|
|
80
81
|
"login": "登录",
|
|
82
|
+
"logo": "标志",
|
|
81
83
|
"me": "我",
|
|
82
84
|
"menuHome": "首页",
|
|
83
85
|
"message": "留言",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "紐幣",
|
|
41
41
|
"currencySGD": "新幣",
|
|
42
42
|
"currencyUSD": "美元",
|
|
43
|
+
"customName": "自定義名稱",
|
|
43
44
|
"data": "數據",
|
|
44
45
|
"dataComparison": "數據對比",
|
|
45
46
|
"dataPrivacy": "數據隱私",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "關鍵詞",
|
|
79
80
|
"loading": "正在加載...",
|
|
80
81
|
"login": "登錄",
|
|
82
|
+
"logo": "標誌",
|
|
81
83
|
"me": "我",
|
|
82
84
|
"menuHome": "首頁",
|
|
83
85
|
"message": "留言",
|
|
@@ -2,7 +2,7 @@ import { AddressContinent } from './AddressContinent';
|
|
|
2
2
|
/**
|
|
3
3
|
* Address or region
|
|
4
4
|
*/
|
|
5
|
-
class AddressRegion {
|
|
5
|
+
export class AddressRegion {
|
|
6
6
|
/**
|
|
7
7
|
* Get country or region by id
|
|
8
8
|
* @param id Country id
|
|
@@ -101,4 +101,3 @@ AddressRegion.all = [
|
|
|
101
101
|
AddressRegion.DE,
|
|
102
102
|
AddressRegion.FR
|
|
103
103
|
];
|
|
104
|
-
export { AddressRegion };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Business tax
|
|
3
3
|
* https://imask.js.org/
|
|
4
4
|
*/
|
|
5
|
-
class BusinessTax {
|
|
5
|
+
export class BusinessTax {
|
|
6
6
|
/**
|
|
7
7
|
* Get country or region by id
|
|
8
8
|
* @param id Country id
|
|
@@ -55,4 +55,3 @@ BusinessTax.all = [
|
|
|
55
55
|
BusinessTax.CA,
|
|
56
56
|
BusinessTax.HK
|
|
57
57
|
];
|
|
58
|
-
export { BusinessTax };
|
package/lib/mjs/i18n/en.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "New Zealand Dollar",
|
|
41
41
|
"currencySGD": "Singapore Dollar",
|
|
42
42
|
"currencyUSD": "U.S. Dollar",
|
|
43
|
+
"customName": "Custom name",
|
|
43
44
|
"data": "Data",
|
|
44
45
|
"dataComparison": "Data comparison",
|
|
45
46
|
"dataPrivacy": "Data privacy",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "Keywords",
|
|
79
80
|
"loading": "Loading...",
|
|
80
81
|
"login": "Login",
|
|
82
|
+
"logo": "Logo",
|
|
81
83
|
"me": "ME",
|
|
82
84
|
"menuHome": "Home",
|
|
83
85
|
"message": "Message",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "纽币",
|
|
41
41
|
"currencySGD": "新币",
|
|
42
42
|
"currencyUSD": "美元",
|
|
43
|
+
"customName": "自定义名称",
|
|
43
44
|
"data": "数据",
|
|
44
45
|
"dataComparison": "数据对比",
|
|
45
46
|
"dataPrivacy": "数据隐私",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "关键词",
|
|
79
80
|
"loading": "正在加载...",
|
|
80
81
|
"login": "登录",
|
|
82
|
+
"logo": "标志",
|
|
81
83
|
"me": "我",
|
|
82
84
|
"menuHome": "首页",
|
|
83
85
|
"message": "留言",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "紐幣",
|
|
41
41
|
"currencySGD": "新幣",
|
|
42
42
|
"currencyUSD": "美元",
|
|
43
|
+
"customName": "自定義名稱",
|
|
43
44
|
"data": "數據",
|
|
44
45
|
"dataComparison": "數據對比",
|
|
45
46
|
"dataPrivacy": "數據隱私",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "關鍵詞",
|
|
79
80
|
"loading": "正在加載...",
|
|
80
81
|
"login": "登錄",
|
|
82
|
+
"logo": "標誌",
|
|
81
83
|
"me": "我",
|
|
82
84
|
"menuHome": "首頁",
|
|
83
85
|
"message": "留言",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.15",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"crypto-js": "^4.1.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@babel/cli": "^7.
|
|
62
|
-
"@babel/core": "^7.22.
|
|
63
|
-
"@babel/plugin-transform-runtime": "^7.22.
|
|
64
|
-
"@babel/preset-env": "^7.22.
|
|
65
|
-
"@babel/runtime-corejs3": "^7.22.
|
|
66
|
-
"@types/jest": "^29.5.
|
|
61
|
+
"@babel/cli": "^7.22.5",
|
|
62
|
+
"@babel/core": "^7.22.5",
|
|
63
|
+
"@babel/plugin-transform-runtime": "^7.22.5",
|
|
64
|
+
"@babel/preset-env": "^7.22.5",
|
|
65
|
+
"@babel/runtime-corejs3": "^7.22.5",
|
|
66
|
+
"@types/jest": "^29.5.2",
|
|
67
67
|
"@types/crypto-js": "^4.1.1",
|
|
68
68
|
"jest": "^29.5.0",
|
|
69
69
|
"jest-environment-jsdom": "^29.5.0",
|
|
70
70
|
"ts-jest": "^29.1.0",
|
|
71
|
-
"typescript": "^5.
|
|
71
|
+
"typescript": "^5.1.3"
|
|
72
72
|
}
|
|
73
73
|
}
|
package/src/i18n/en.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "New Zealand Dollar",
|
|
41
41
|
"currencySGD": "Singapore Dollar",
|
|
42
42
|
"currencyUSD": "U.S. Dollar",
|
|
43
|
+
"customName": "Custom name",
|
|
43
44
|
"data": "Data",
|
|
44
45
|
"dataComparison": "Data comparison",
|
|
45
46
|
"dataPrivacy": "Data privacy",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "Keywords",
|
|
79
80
|
"loading": "Loading...",
|
|
80
81
|
"login": "Login",
|
|
82
|
+
"logo": "Logo",
|
|
81
83
|
"me": "ME",
|
|
82
84
|
"menuHome": "Home",
|
|
83
85
|
"message": "Message",
|
package/src/i18n/zh-Hans.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "纽币",
|
|
41
41
|
"currencySGD": "新币",
|
|
42
42
|
"currencyUSD": "美元",
|
|
43
|
+
"customName": "自定义名称",
|
|
43
44
|
"data": "数据",
|
|
44
45
|
"dataComparison": "数据对比",
|
|
45
46
|
"dataPrivacy": "数据隐私",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "关键词",
|
|
79
80
|
"loading": "正在加载...",
|
|
80
81
|
"login": "登录",
|
|
82
|
+
"logo": "标志",
|
|
81
83
|
"me": "我",
|
|
82
84
|
"menuHome": "首页",
|
|
83
85
|
"message": "留言",
|
package/src/i18n/zh-Hant.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"currencyNZD": "紐幣",
|
|
41
41
|
"currencySGD": "新幣",
|
|
42
42
|
"currencyUSD": "美元",
|
|
43
|
+
"customName": "自定義名稱",
|
|
43
44
|
"data": "數據",
|
|
44
45
|
"dataComparison": "數據對比",
|
|
45
46
|
"dataPrivacy": "數據隱私",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"keywords": "關鍵詞",
|
|
79
80
|
"loading": "正在加載...",
|
|
80
81
|
"login": "登錄",
|
|
82
|
+
"logo": "標誌",
|
|
81
83
|
"me": "我",
|
|
82
84
|
"menuHome": "首頁",
|
|
83
85
|
"message": "留言",
|