@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.
@@ -41,4 +41,4 @@ var AddressContinent;
41
41
  /// 南美洲
42
42
  /// </summary>
43
43
  AddressContinent[AddressContinent["SA"] = 7] = "SA";
44
- })(AddressContinent = exports.AddressContinent || (exports.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;
@@ -32,4 +32,4 @@ var AddressUtils;
32
32
  return AddressRegion_1.AddressRegion.getById(regions[0]);
33
33
  }
34
34
  AddressUtils.getRegion = getRegion;
35
- })(AddressUtils = exports.AddressUtils || (exports.AddressUtils = {}));
35
+ })(AddressUtils || (exports.AddressUtils = AddressUtils = {}));
@@ -39,4 +39,4 @@ var ExternalSettings;
39
39
  return settings;
40
40
  }
41
41
  ExternalSettings.format = format;
42
- })(ExternalSettings = exports.ExternalSettings || (exports.ExternalSettings = {}));
42
+ })(ExternalSettings || (exports.ExternalSettings = ExternalSettings = {}));
@@ -43,4 +43,4 @@ var UserRole;
43
43
  * Founder, takes all ownership
44
44
  */
45
45
  UserRole[UserRole["Founder"] = 16384] = "Founder";
46
- })(UserRole = exports.UserRole || (exports.UserRole = {}));
46
+ })(UserRole || (exports.UserRole = UserRole = {}));
@@ -16,4 +16,4 @@ var BridgeUtils;
16
16
  : typeof g.electron === 'object'
17
17
  ? g.electron
18
18
  : undefined;
19
- })(BridgeUtils = exports.BridgeUtils || (exports.BridgeUtils = {}));
19
+ })(BridgeUtils || (exports.BridgeUtils = BridgeUtils = {}));
@@ -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 = exports.BridgeHostName || (exports.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;
@@ -69,4 +69,4 @@ var BusinessUtils;
69
69
  item.sid = id;
70
70
  }
71
71
  BusinessUtils.setIdValue = setIdValue;
72
- })(BusinessUtils = exports.BusinessUtils || (exports.BusinessUtils = {}));
72
+ })(BusinessUtils || (exports.BusinessUtils = BusinessUtils = {}));
@@ -38,4 +38,4 @@ var DataPrivacy;
38
38
  /// 创建者私有
39
39
  /// </summary>
40
40
  DataPrivacy[DataPrivacy["Private"] = 100] = "Private";
41
- })(DataPrivacy = exports.DataPrivacy || (exports.DataPrivacy = {}));
41
+ })(DataPrivacy || (exports.DataPrivacy = DataPrivacy = {}));
@@ -44,4 +44,4 @@ var EntityStatus;
44
44
  * Deleted
45
45
  */
46
46
  EntityStatus[EntityStatus["Deleted"] = 255] = "Deleted";
47
- })(EntityStatus = exports.EntityStatus || (exports.EntityStatus = {}));
47
+ })(EntityStatus || (exports.EntityStatus = EntityStatus = {}));
@@ -18,7 +18,7 @@ var ProductBaseUnit;
18
18
  * 套
19
19
  */
20
20
  ProductBaseUnit[ProductBaseUnit["SET"] = 2] = "SET";
21
- })(ProductBaseUnit = exports.ProductBaseUnit || (exports.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 = exports.ProductWeightUnit || (exports.ProductWeightUnit = {}));
61
+ })(ProductWeightUnit || (exports.ProductWeightUnit = ProductWeightUnit = {}));
62
62
  /**
63
63
  * Product units enum
64
64
  * Repeat options take range 10 - 39
@@ -58,4 +58,4 @@ var RepeatOption;
58
58
  * 半年
59
59
  */
60
60
  RepeatOption[RepeatOption["HALFYEAR"] = 36] = "HALFYEAR";
61
- })(RepeatOption = exports.RepeatOption || (exports.RepeatOption = {}));
61
+ })(RepeatOption || (exports.RepeatOption = RepeatOption = {}));
@@ -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 = exports.PlaceQueryOutput || (exports.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 = exports.PlaceQueryProvider || (exports.PlaceQueryProvider = {}));
21
+ })(PlaceQueryProvider || (exports.PlaceQueryProvider = PlaceQueryProvider = {}));
@@ -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 };
@@ -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.13",
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.21.5",
62
- "@babel/core": "^7.22.1",
63
- "@babel/plugin-transform-runtime": "^7.22.4",
64
- "@babel/preset-env": "^7.22.4",
65
- "@babel/runtime-corejs3": "^7.22.3",
66
- "@types/jest": "^29.5.1",
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.0.4"
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",
@@ -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": "留言",