@etsoo/smarterp-core 1.1.56 → 1.1.58

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.
@@ -58,6 +58,10 @@ if (isLocalTest) {
58
58
  });
59
59
  */
60
60
 
61
+ test("Test SysResourceKeyPrefix", () => {
62
+ expect(OrgApi.SysResourceKeyPrefix).toBe("etsoo");
63
+ });
64
+
61
65
  test("Test for query zero return", async () => {
62
66
  const result = await api.query({
63
67
  keyword: "亿速",
@@ -31,6 +31,11 @@ import { OrgOwnsRQ } from "./rq/org/OrgOwnsRQ";
31
31
  * 机构接口
32
32
  */
33
33
  export declare class OrgApi extends EntityApi {
34
+ /**
35
+ * System resource key prefix
36
+ * 系统资源键前缀
37
+ */
38
+ static readonly SysResourceKeyPrefix = "etsoo";
34
39
  /**
35
40
  * Constructor
36
41
  * @param app Application
package/lib/cjs/OrgApi.js CHANGED
@@ -10,6 +10,11 @@ const shared_1 = require("@etsoo/shared");
10
10
  * 机构接口
11
11
  */
12
12
  class OrgApi extends appscript_1.EntityApi {
13
+ /**
14
+ * System resource key prefix
15
+ * 系统资源键前缀
16
+ */
17
+ static SysResourceKeyPrefix = "etsoo";
13
18
  /**
14
19
  * Constructor
15
20
  * @param app Application
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Template document kind, the value should not exceed 20 characters
3
+ * @see PlatformShared.Dto.Document.DocumentKind
3
4
  * 模板文档类型,值不能超过20个字符
4
5
  */
5
6
  export declare enum DocumentKind {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DocumentKind = void 0;
4
4
  /**
5
5
  * Template document kind, the value should not exceed 20 characters
6
+ * @see PlatformShared.Dto.Document.DocumentKind
6
7
  * 模板文档类型,值不能超过20个字符
7
8
  */
8
9
  var DocumentKind;
@@ -24,6 +24,10 @@ export type OrgReadDto = {
24
24
  * Brand
25
25
  */
26
26
  brand?: string;
27
+ /**
28
+ * Slogan
29
+ */
30
+ slogan?: string;
27
31
  /**
28
32
  * Logo
29
33
  */
@@ -16,6 +16,10 @@ export type OrgUpdateReadDto = {
16
16
  * Brand
17
17
  */
18
18
  brand?: string;
19
+ /**
20
+ * Slogan
21
+ */
22
+ slogan?: string;
19
23
  /**
20
24
  * PIN
21
25
  */
@@ -106,6 +106,7 @@
106
106
  "roleOperator": "Operator",
107
107
  "rolePartner": "Channel Partner",
108
108
  "roleUser": "User",
109
+ "slogan": "Slogan",
109
110
  "smarterp": "SmartERP Cloud",
110
111
  "signin": "Sign in",
111
112
  "signout": "Sign out",
@@ -106,6 +106,7 @@
106
106
  "roleOperator": "操作员",
107
107
  "rolePartner": "渠道伙伴",
108
108
  "roleUser": "用户",
109
+ "slogan": "标语",
109
110
  "smarterp": "司友®云ERP",
110
111
  "signin": "登录",
111
112
  "signout": "退出",
@@ -108,6 +108,7 @@
108
108
  "roleUser": "用戶",
109
109
  "signin": "登入",
110
110
  "signout": "登出",
111
+ "slogan": "標語",
111
112
  "smarterp": "司友®雲ERP",
112
113
  "signoutSuccess": "登出成功,請關閉目前視窗",
113
114
  "size": "大小",
@@ -14,6 +14,10 @@ export type OrgCreateRQ = {
14
14
  * 品牌
15
15
  */
16
16
  brand?: string;
17
+ /**
18
+ * Slogan
19
+ */
20
+ slogan?: string;
17
21
  /**
18
22
  * PIN, unique code
19
23
  * PIN,唯一代码
@@ -14,6 +14,10 @@ export interface OrgUpdateRQ extends UpdateModel {
14
14
  * 品牌
15
15
  */
16
16
  brand?: string;
17
+ /**
18
+ * Slogan
19
+ */
20
+ slogan?: string;
17
21
  /**
18
22
  * PIN, unique code
19
23
  * PIN,唯一代码
@@ -31,6 +31,11 @@ import { OrgOwnsRQ } from "./rq/org/OrgOwnsRQ";
31
31
  * 机构接口
32
32
  */
33
33
  export declare class OrgApi extends EntityApi {
34
+ /**
35
+ * System resource key prefix
36
+ * 系统资源键前缀
37
+ */
38
+ static readonly SysResourceKeyPrefix = "etsoo";
34
39
  /**
35
40
  * Constructor
36
41
  * @param app Application
package/lib/mjs/OrgApi.js CHANGED
@@ -7,6 +7,11 @@ import { DataTypes } from "@etsoo/shared";
7
7
  * 机构接口
8
8
  */
9
9
  export class OrgApi extends EntityApi {
10
+ /**
11
+ * System resource key prefix
12
+ * 系统资源键前缀
13
+ */
14
+ static SysResourceKeyPrefix = "etsoo";
10
15
  /**
11
16
  * Constructor
12
17
  * @param app Application
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Template document kind, the value should not exceed 20 characters
3
+ * @see PlatformShared.Dto.Document.DocumentKind
3
4
  * 模板文档类型,值不能超过20个字符
4
5
  */
5
6
  export declare enum DocumentKind {
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Template document kind, the value should not exceed 20 characters
3
+ * @see PlatformShared.Dto.Document.DocumentKind
3
4
  * 模板文档类型,值不能超过20个字符
4
5
  */
5
6
  export var DocumentKind;
@@ -24,6 +24,10 @@ export type OrgReadDto = {
24
24
  * Brand
25
25
  */
26
26
  brand?: string;
27
+ /**
28
+ * Slogan
29
+ */
30
+ slogan?: string;
27
31
  /**
28
32
  * Logo
29
33
  */
@@ -16,6 +16,10 @@ export type OrgUpdateReadDto = {
16
16
  * Brand
17
17
  */
18
18
  brand?: string;
19
+ /**
20
+ * Slogan
21
+ */
22
+ slogan?: string;
19
23
  /**
20
24
  * PIN
21
25
  */
@@ -106,6 +106,7 @@
106
106
  "roleOperator": "Operator",
107
107
  "rolePartner": "Channel Partner",
108
108
  "roleUser": "User",
109
+ "slogan": "Slogan",
109
110
  "smarterp": "SmartERP Cloud",
110
111
  "signin": "Sign in",
111
112
  "signout": "Sign out",
@@ -106,6 +106,7 @@
106
106
  "roleOperator": "操作员",
107
107
  "rolePartner": "渠道伙伴",
108
108
  "roleUser": "用户",
109
+ "slogan": "标语",
109
110
  "smarterp": "司友®云ERP",
110
111
  "signin": "登录",
111
112
  "signout": "退出",
@@ -108,6 +108,7 @@
108
108
  "roleUser": "用戶",
109
109
  "signin": "登入",
110
110
  "signout": "登出",
111
+ "slogan": "標語",
111
112
  "smarterp": "司友®雲ERP",
112
113
  "signoutSuccess": "登出成功,請關閉目前視窗",
113
114
  "size": "大小",
@@ -14,6 +14,10 @@ export type OrgCreateRQ = {
14
14
  * 品牌
15
15
  */
16
16
  brand?: string;
17
+ /**
18
+ * Slogan
19
+ */
20
+ slogan?: string;
17
21
  /**
18
22
  * PIN, unique code
19
23
  * PIN,唯一代码
@@ -14,6 +14,10 @@ export interface OrgUpdateRQ extends UpdateModel {
14
14
  * 品牌
15
15
  */
16
16
  brand?: string;
17
+ /**
18
+ * Slogan
19
+ */
20
+ slogan?: string;
17
21
  /**
18
22
  * PIN, unique code
19
23
  * PIN,唯一代码
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.1.56",
3
+ "version": "1.1.58",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
package/src/OrgApi.ts CHANGED
@@ -42,6 +42,12 @@ import { OrgOwnsRQ } from "./rq/org/OrgOwnsRQ";
42
42
  * 机构接口
43
43
  */
44
44
  export class OrgApi extends EntityApi {
45
+ /**
46
+ * System resource key prefix
47
+ * 系统资源键前缀
48
+ */
49
+ static readonly SysResourceKeyPrefix = "etsoo";
50
+
45
51
  /**
46
52
  * Constructor
47
53
  * @param app Application
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Template document kind, the value should not exceed 20 characters
3
+ * @see PlatformShared.Dto.Document.DocumentKind
3
4
  * 模板文档类型,值不能超过20个字符
4
5
  */
5
6
  export enum DocumentKind {
@@ -30,6 +30,11 @@ export type OrgReadDto = {
30
30
  */
31
31
  brand?: string;
32
32
 
33
+ /**
34
+ * Slogan
35
+ */
36
+ slogan?: string;
37
+
33
38
  /**
34
39
  * Logo
35
40
  */
@@ -20,6 +20,11 @@ export type OrgUpdateReadDto = {
20
20
  */
21
21
  brand?: string;
22
22
 
23
+ /**
24
+ * Slogan
25
+ */
26
+ slogan?: string;
27
+
23
28
  /**
24
29
  * PIN
25
30
  */
package/src/i18n/en.json CHANGED
@@ -106,6 +106,7 @@
106
106
  "roleOperator": "Operator",
107
107
  "rolePartner": "Channel Partner",
108
108
  "roleUser": "User",
109
+ "slogan": "Slogan",
109
110
  "smarterp": "SmartERP Cloud",
110
111
  "signin": "Sign in",
111
112
  "signout": "Sign out",
@@ -106,6 +106,7 @@
106
106
  "roleOperator": "操作员",
107
107
  "rolePartner": "渠道伙伴",
108
108
  "roleUser": "用户",
109
+ "slogan": "标语",
109
110
  "smarterp": "司友®云ERP",
110
111
  "signin": "登录",
111
112
  "signout": "退出",
@@ -108,6 +108,7 @@
108
108
  "roleUser": "用戶",
109
109
  "signin": "登入",
110
110
  "signout": "登出",
111
+ "slogan": "標語",
111
112
  "smarterp": "司友®雲ERP",
112
113
  "signoutSuccess": "登出成功,請關閉目前視窗",
113
114
  "size": "大小",
@@ -17,6 +17,11 @@ export type OrgCreateRQ = {
17
17
  */
18
18
  brand?: string;
19
19
 
20
+ /**
21
+ * Slogan
22
+ */
23
+ slogan?: string;
24
+
20
25
  /**
21
26
  * PIN, unique code
22
27
  * PIN,唯一代码
@@ -17,6 +17,11 @@ export interface OrgUpdateRQ extends UpdateModel {
17
17
  */
18
18
  brand?: string;
19
19
 
20
+ /**
21
+ * Slogan
22
+ */
23
+ slogan?: string;
24
+
20
25
  /**
21
26
  * PIN, unique code
22
27
  * PIN,唯一代码
package/vite.config.mts CHANGED
@@ -3,10 +3,16 @@ import react from "@vitejs/plugin-react";
3
3
 
4
4
  export default defineConfig({
5
5
  plugins: [react()],
6
+ resolve: {
7
+ alias: {
8
+ "react-transition-group/TransitionGroupContext":
9
+ "react-transition-group/esm/TransitionGroupContext.js"
10
+ }
11
+ },
6
12
  test: {
7
13
  server: {
8
14
  deps: {
9
- inline: [/@mui\/x-data-grid.*/]
15
+ inline: [/@mui\/x-data-grid.*/, /@mui\/material.*/, /react-transition-group.*/]
10
16
  }
11
17
  },
12
18
  globals: true,