@etsoo/appscript 1.6.49 → 1.6.51
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/LICENSE +1 -1
- package/lib/cjs/app/IdentityType.d.ts +3 -6
- package/lib/cjs/app/IdentityType.js +3 -6
- package/lib/cjs/business/MapApiProvider.d.ts +22 -0
- package/lib/cjs/business/MapApiProvider.js +26 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/mjs/app/IdentityType.d.ts +3 -6
- package/lib/mjs/app/IdentityType.js +3 -6
- package/lib/mjs/business/MapApiProvider.d.ts +22 -0
- package/lib/mjs/business/MapApiProvider.js +23 -0
- package/lib/mjs/index.d.ts +1 -0
- package/lib/mjs/index.js +1 -0
- package/package.json +3 -3
- package/src/app/IdentityType.ts +3 -7
- package/src/business/MapApiProvider.ts +24 -0
- package/src/index.ts +1 -0
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2004-
|
|
3
|
+
Copyright (c) 2004-2026 ETSOO ® (亿速思维 ®), https://etsoo.com, https://etsoo.nz
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -21,7 +21,9 @@ export declare enum IdentityType {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Identity type flags
|
|
24
|
-
*
|
|
24
|
+
* Remove contact definition, because contact is a relationship, not an identity
|
|
25
|
+
* com.etsoo.CoreFramework.Business.IdentityTypeFlags
|
|
26
|
+
* 标识类型带标志,删除联系人定义,因为联系人是一种关系,不是身份
|
|
25
27
|
*/
|
|
26
28
|
export declare enum IdentityTypeFlags {
|
|
27
29
|
/**
|
|
@@ -44,11 +46,6 @@ export declare enum IdentityTypeFlags {
|
|
|
44
46
|
* 供应商
|
|
45
47
|
*/
|
|
46
48
|
Supplier = 4,
|
|
47
|
-
/**
|
|
48
|
-
* Contact
|
|
49
|
-
* 联系人
|
|
50
|
-
*/
|
|
51
|
-
Contact = 8,
|
|
52
49
|
/**
|
|
53
50
|
* Orgnization
|
|
54
51
|
* 机构
|
|
@@ -25,7 +25,9 @@ var IdentityType;
|
|
|
25
25
|
})(IdentityType || (exports.IdentityType = IdentityType = {}));
|
|
26
26
|
/**
|
|
27
27
|
* Identity type flags
|
|
28
|
-
*
|
|
28
|
+
* Remove contact definition, because contact is a relationship, not an identity
|
|
29
|
+
* com.etsoo.CoreFramework.Business.IdentityTypeFlags
|
|
30
|
+
* 标识类型带标志,删除联系人定义,因为联系人是一种关系,不是身份
|
|
29
31
|
*/
|
|
30
32
|
var IdentityTypeFlags;
|
|
31
33
|
(function (IdentityTypeFlags) {
|
|
@@ -49,11 +51,6 @@ var IdentityTypeFlags;
|
|
|
49
51
|
* 供应商
|
|
50
52
|
*/
|
|
51
53
|
IdentityTypeFlags[IdentityTypeFlags["Supplier"] = 4] = "Supplier";
|
|
52
|
-
/**
|
|
53
|
-
* Contact
|
|
54
|
-
* 联系人
|
|
55
|
-
*/
|
|
56
|
-
IdentityTypeFlags[IdentityTypeFlags["Contact"] = 8] = "Contact";
|
|
57
54
|
/**
|
|
58
55
|
* Orgnization
|
|
59
56
|
* 机构
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map API provider
|
|
3
|
+
* See com.etsoo.ApiModel.RQ.Maps.ApiProvider
|
|
4
|
+
* 地图接口供应商
|
|
5
|
+
*/
|
|
6
|
+
export declare enum MapApiProvider {
|
|
7
|
+
/**
|
|
8
|
+
* Google Maps
|
|
9
|
+
* 谷歌地图
|
|
10
|
+
*/
|
|
11
|
+
Google = 0,
|
|
12
|
+
/**
|
|
13
|
+
* Baidu Maps
|
|
14
|
+
* 百度地图
|
|
15
|
+
*/
|
|
16
|
+
Baidu = 1,
|
|
17
|
+
/**
|
|
18
|
+
* Amap
|
|
19
|
+
* 高德地图
|
|
20
|
+
*/
|
|
21
|
+
Amap = 2
|
|
22
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapApiProvider = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Map API provider
|
|
6
|
+
* See com.etsoo.ApiModel.RQ.Maps.ApiProvider
|
|
7
|
+
* 地图接口供应商
|
|
8
|
+
*/
|
|
9
|
+
var MapApiProvider;
|
|
10
|
+
(function (MapApiProvider) {
|
|
11
|
+
/**
|
|
12
|
+
* Google Maps
|
|
13
|
+
* 谷歌地图
|
|
14
|
+
*/
|
|
15
|
+
MapApiProvider[MapApiProvider["Google"] = 0] = "Google";
|
|
16
|
+
/**
|
|
17
|
+
* Baidu Maps
|
|
18
|
+
* 百度地图
|
|
19
|
+
*/
|
|
20
|
+
MapApiProvider[MapApiProvider["Baidu"] = 1] = "Baidu";
|
|
21
|
+
/**
|
|
22
|
+
* Amap
|
|
23
|
+
* 高德地图
|
|
24
|
+
*/
|
|
25
|
+
MapApiProvider[MapApiProvider["Amap"] = 2] = "Amap";
|
|
26
|
+
})(MapApiProvider || (exports.MapApiProvider = MapApiProvider = {}));
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from "./business/CultureItem";
|
|
|
56
56
|
export * from "./business/Currency";
|
|
57
57
|
export * from "./business/DataPrivacy";
|
|
58
58
|
export * from "./business/EntityStatus";
|
|
59
|
+
export * from "./business/MapApiProvider";
|
|
59
60
|
export * from "./business/ProductUnit";
|
|
60
61
|
export * from "./business/RepeatOption";
|
|
61
62
|
export * from "./business/ShoppingCart";
|
package/lib/cjs/index.js
CHANGED
|
@@ -78,6 +78,7 @@ __exportStar(require("./business/CultureItem"), exports);
|
|
|
78
78
|
__exportStar(require("./business/Currency"), exports);
|
|
79
79
|
__exportStar(require("./business/DataPrivacy"), exports);
|
|
80
80
|
__exportStar(require("./business/EntityStatus"), exports);
|
|
81
|
+
__exportStar(require("./business/MapApiProvider"), exports);
|
|
81
82
|
__exportStar(require("./business/ProductUnit"), exports);
|
|
82
83
|
__exportStar(require("./business/RepeatOption"), exports);
|
|
83
84
|
__exportStar(require("./business/ShoppingCart"), exports);
|
|
@@ -21,7 +21,9 @@ export declare enum IdentityType {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Identity type flags
|
|
24
|
-
*
|
|
24
|
+
* Remove contact definition, because contact is a relationship, not an identity
|
|
25
|
+
* com.etsoo.CoreFramework.Business.IdentityTypeFlags
|
|
26
|
+
* 标识类型带标志,删除联系人定义,因为联系人是一种关系,不是身份
|
|
25
27
|
*/
|
|
26
28
|
export declare enum IdentityTypeFlags {
|
|
27
29
|
/**
|
|
@@ -44,11 +46,6 @@ export declare enum IdentityTypeFlags {
|
|
|
44
46
|
* 供应商
|
|
45
47
|
*/
|
|
46
48
|
Supplier = 4,
|
|
47
|
-
/**
|
|
48
|
-
* Contact
|
|
49
|
-
* 联系人
|
|
50
|
-
*/
|
|
51
|
-
Contact = 8,
|
|
52
49
|
/**
|
|
53
50
|
* Orgnization
|
|
54
51
|
* 机构
|
|
@@ -22,7 +22,9 @@ export var IdentityType;
|
|
|
22
22
|
})(IdentityType || (IdentityType = {}));
|
|
23
23
|
/**
|
|
24
24
|
* Identity type flags
|
|
25
|
-
*
|
|
25
|
+
* Remove contact definition, because contact is a relationship, not an identity
|
|
26
|
+
* com.etsoo.CoreFramework.Business.IdentityTypeFlags
|
|
27
|
+
* 标识类型带标志,删除联系人定义,因为联系人是一种关系,不是身份
|
|
26
28
|
*/
|
|
27
29
|
export var IdentityTypeFlags;
|
|
28
30
|
(function (IdentityTypeFlags) {
|
|
@@ -46,11 +48,6 @@ export var IdentityTypeFlags;
|
|
|
46
48
|
* 供应商
|
|
47
49
|
*/
|
|
48
50
|
IdentityTypeFlags[IdentityTypeFlags["Supplier"] = 4] = "Supplier";
|
|
49
|
-
/**
|
|
50
|
-
* Contact
|
|
51
|
-
* 联系人
|
|
52
|
-
*/
|
|
53
|
-
IdentityTypeFlags[IdentityTypeFlags["Contact"] = 8] = "Contact";
|
|
54
51
|
/**
|
|
55
52
|
* Orgnization
|
|
56
53
|
* 机构
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map API provider
|
|
3
|
+
* See com.etsoo.ApiModel.RQ.Maps.ApiProvider
|
|
4
|
+
* 地图接口供应商
|
|
5
|
+
*/
|
|
6
|
+
export declare enum MapApiProvider {
|
|
7
|
+
/**
|
|
8
|
+
* Google Maps
|
|
9
|
+
* 谷歌地图
|
|
10
|
+
*/
|
|
11
|
+
Google = 0,
|
|
12
|
+
/**
|
|
13
|
+
* Baidu Maps
|
|
14
|
+
* 百度地图
|
|
15
|
+
*/
|
|
16
|
+
Baidu = 1,
|
|
17
|
+
/**
|
|
18
|
+
* Amap
|
|
19
|
+
* 高德地图
|
|
20
|
+
*/
|
|
21
|
+
Amap = 2
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map API provider
|
|
3
|
+
* See com.etsoo.ApiModel.RQ.Maps.ApiProvider
|
|
4
|
+
* 地图接口供应商
|
|
5
|
+
*/
|
|
6
|
+
export var MapApiProvider;
|
|
7
|
+
(function (MapApiProvider) {
|
|
8
|
+
/**
|
|
9
|
+
* Google Maps
|
|
10
|
+
* 谷歌地图
|
|
11
|
+
*/
|
|
12
|
+
MapApiProvider[MapApiProvider["Google"] = 0] = "Google";
|
|
13
|
+
/**
|
|
14
|
+
* Baidu Maps
|
|
15
|
+
* 百度地图
|
|
16
|
+
*/
|
|
17
|
+
MapApiProvider[MapApiProvider["Baidu"] = 1] = "Baidu";
|
|
18
|
+
/**
|
|
19
|
+
* Amap
|
|
20
|
+
* 高德地图
|
|
21
|
+
*/
|
|
22
|
+
MapApiProvider[MapApiProvider["Amap"] = 2] = "Amap";
|
|
23
|
+
})(MapApiProvider || (MapApiProvider = {}));
|
package/lib/mjs/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from "./business/CultureItem";
|
|
|
56
56
|
export * from "./business/Currency";
|
|
57
57
|
export * from "./business/DataPrivacy";
|
|
58
58
|
export * from "./business/EntityStatus";
|
|
59
|
+
export * from "./business/MapApiProvider";
|
|
59
60
|
export * from "./business/ProductUnit";
|
|
60
61
|
export * from "./business/RepeatOption";
|
|
61
62
|
export * from "./business/ShoppingCart";
|
package/lib/mjs/index.js
CHANGED
|
@@ -61,6 +61,7 @@ export * from "./business/CultureItem";
|
|
|
61
61
|
export * from "./business/Currency";
|
|
62
62
|
export * from "./business/DataPrivacy";
|
|
63
63
|
export * from "./business/EntityStatus";
|
|
64
|
+
export * from "./business/MapApiProvider";
|
|
64
65
|
export * from "./business/ProductUnit";
|
|
65
66
|
export * from "./business/RepeatOption";
|
|
66
67
|
export * from "./business/ShoppingCart";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.51",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@babel/runtime-corejs3": "^7.28.4",
|
|
49
49
|
"@types/crypto-js": "^4.2.2",
|
|
50
50
|
"@vitejs/plugin-react": "^5.1.2",
|
|
51
|
-
"jsdom": "^27.
|
|
51
|
+
"jsdom": "^27.4.0",
|
|
52
52
|
"typescript": "^5.9.3",
|
|
53
|
-
"vitest": "^4.0.
|
|
53
|
+
"vitest": "^4.0.16"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/src/app/IdentityType.ts
CHANGED
|
@@ -24,7 +24,9 @@ export enum IdentityType {
|
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Identity type flags
|
|
27
|
-
*
|
|
27
|
+
* Remove contact definition, because contact is a relationship, not an identity
|
|
28
|
+
* com.etsoo.CoreFramework.Business.IdentityTypeFlags
|
|
29
|
+
* 标识类型带标志,删除联系人定义,因为联系人是一种关系,不是身份
|
|
28
30
|
*/
|
|
29
31
|
export enum IdentityTypeFlags {
|
|
30
32
|
/**
|
|
@@ -51,12 +53,6 @@ export enum IdentityTypeFlags {
|
|
|
51
53
|
*/
|
|
52
54
|
Supplier = 4,
|
|
53
55
|
|
|
54
|
-
/**
|
|
55
|
-
* Contact
|
|
56
|
-
* 联系人
|
|
57
|
-
*/
|
|
58
|
-
Contact = 8,
|
|
59
|
-
|
|
60
56
|
/**
|
|
61
57
|
* Orgnization
|
|
62
58
|
* 机构
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map API provider
|
|
3
|
+
* See com.etsoo.ApiModel.RQ.Maps.ApiProvider
|
|
4
|
+
* 地图接口供应商
|
|
5
|
+
*/
|
|
6
|
+
export enum MapApiProvider {
|
|
7
|
+
/**
|
|
8
|
+
* Google Maps
|
|
9
|
+
* 谷歌地图
|
|
10
|
+
*/
|
|
11
|
+
Google,
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Baidu Maps
|
|
15
|
+
* 百度地图
|
|
16
|
+
*/
|
|
17
|
+
Baidu,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Amap
|
|
21
|
+
* 高德地图
|
|
22
|
+
*/
|
|
23
|
+
Amap
|
|
24
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -67,6 +67,7 @@ export * from "./business/CultureItem";
|
|
|
67
67
|
export * from "./business/Currency";
|
|
68
68
|
export * from "./business/DataPrivacy";
|
|
69
69
|
export * from "./business/EntityStatus";
|
|
70
|
+
export * from "./business/MapApiProvider";
|
|
70
71
|
export * from "./business/ProductUnit";
|
|
71
72
|
export * from "./business/RepeatOption";
|
|
72
73
|
export * from "./business/ShoppingCart";
|