@etsoo/smarterp-core 1.1.73 → 1.1.75

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.
@@ -38,7 +38,7 @@ export declare class DocumentApi extends EntityApi {
38
38
  * @param payload Payload
39
39
  * @returns Result
40
40
  */
41
- generate(rq: DocumentGenerateRQ, payload: IApiPayload<string | IActionResult>): Promise<string | IActionResult<{}> | undefined>;
41
+ generate(rq: DocumentGenerateRQ, payload?: IApiPayload<string | IActionResult>): Promise<string | IActionResult<{}> | undefined>;
42
42
  /**
43
43
  * List
44
44
  * @param rq Request data
@@ -1,3 +1,4 @@
1
+ import { CustomFieldData } from "@etsoo/appscript";
1
2
  /**
2
3
  * Document list data
3
4
  * 文档列表数据
@@ -13,4 +14,9 @@ export type DocumentListData = {
13
14
  * 标题
14
15
  */
15
16
  title: string;
17
+ /**
18
+ * Parameters fields
19
+ * 自定义参数字段
20
+ */
21
+ parameters?: CustomFieldData[];
16
22
  };
@@ -67,6 +67,7 @@
67
67
  "mainSlotProps": "Main slot props",
68
68
  "members": "Members",
69
69
  "monthsUnit": "Months",
70
+ "noCache": "No cache",
70
71
  "noCodeId": "Need to resend the verification code, please do not close the add window",
71
72
  "oneTimePin": "One Time Pin",
72
73
  "oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
@@ -67,6 +67,7 @@
67
67
  "mainSlotProps": "主控属性",
68
68
  "members": "成员数",
69
69
  "monthsUnit": "个月",
70
+ "noCache": "不使用缓存",
70
71
  "noCodeId": "需要重新发送验证码,请不要关闭添加窗口",
71
72
  "oneTimePin": "验证码",
72
73
  "oneTimePinEmailTip": "输入刚发送到您电子邮箱的验证码,如果没有找到,请查找垃圾邮件",
@@ -67,6 +67,7 @@
67
67
  "isVerified": "已驗證",
68
68
  "members": "成員數",
69
69
  "monthsUnit": "個月",
70
+ "noCache": "不使用緩存",
70
71
  "noCodeId": "需要重新發送驗證碼,請不要關閉添加窗口",
71
72
  "oneTimePin": "驗證碼",
72
73
  "oneTimePinEmailTip": "輸入剛傳送到您電子郵件信箱的驗證碼,如果沒有找到,請檢查垃圾信箱",
@@ -38,7 +38,7 @@ export declare class DocumentApi extends EntityApi {
38
38
  * @param payload Payload
39
39
  * @returns Result
40
40
  */
41
- generate(rq: DocumentGenerateRQ, payload: IApiPayload<string | IActionResult>): Promise<string | IActionResult<{}> | undefined>;
41
+ generate(rq: DocumentGenerateRQ, payload?: IApiPayload<string | IActionResult>): Promise<string | IActionResult<{}> | undefined>;
42
42
  /**
43
43
  * List
44
44
  * @param rq Request data
@@ -1,3 +1,4 @@
1
+ import { CustomFieldData } from "@etsoo/appscript";
1
2
  /**
2
3
  * Document list data
3
4
  * 文档列表数据
@@ -13,4 +14,9 @@ export type DocumentListData = {
13
14
  * 标题
14
15
  */
15
16
  title: string;
17
+ /**
18
+ * Parameters fields
19
+ * 自定义参数字段
20
+ */
21
+ parameters?: CustomFieldData[];
16
22
  };
@@ -67,6 +67,7 @@
67
67
  "mainSlotProps": "Main slot props",
68
68
  "members": "Members",
69
69
  "monthsUnit": "Months",
70
+ "noCache": "No cache",
70
71
  "noCodeId": "Need to resend the verification code, please do not close the add window",
71
72
  "oneTimePin": "One Time Pin",
72
73
  "oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
@@ -67,6 +67,7 @@
67
67
  "mainSlotProps": "主控属性",
68
68
  "members": "成员数",
69
69
  "monthsUnit": "个月",
70
+ "noCache": "不使用缓存",
70
71
  "noCodeId": "需要重新发送验证码,请不要关闭添加窗口",
71
72
  "oneTimePin": "验证码",
72
73
  "oneTimePinEmailTip": "输入刚发送到您电子邮箱的验证码,如果没有找到,请查找垃圾邮件",
@@ -67,6 +67,7 @@
67
67
  "isVerified": "已驗證",
68
68
  "members": "成員數",
69
69
  "monthsUnit": "個月",
70
+ "noCache": "不使用緩存",
70
71
  "noCodeId": "需要重新發送驗證碼,請不要關閉添加窗口",
71
72
  "oneTimePin": "驗證碼",
72
73
  "oneTimePinEmailTip": "輸入剛傳送到您電子郵件信箱的驗證碼,如果沒有找到,請檢查垃圾信箱",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.1.73",
3
+ "version": "1.1.75",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@etsoo/appscript": "^1.6.69",
60
- "@etsoo/materialui": "^1.6.73",
60
+ "@etsoo/materialui": "^1.6.74",
61
61
  "@etsoo/react": "^1.8.93",
62
62
  "@etsoo/shared": "^1.2.87",
63
63
  "@etsoo/toolpad": "^1.0.51",
@@ -56,7 +56,7 @@ export class DocumentApi extends EntityApi {
56
56
  */
57
57
  generate(
58
58
  rq: DocumentGenerateRQ,
59
- payload: IApiPayload<string | IActionResult>
59
+ payload?: IApiPayload<string | IActionResult>
60
60
  ) {
61
61
  return this.api.post(`${this.flag}/Generate`, rq, payload);
62
62
  }
@@ -1,3 +1,5 @@
1
+ import { CustomFieldData } from "@etsoo/appscript";
2
+
1
3
  /**
2
4
  * Document list data
3
5
  * 文档列表数据
@@ -14,4 +16,10 @@ export type DocumentListData = {
14
16
  * 标题
15
17
  */
16
18
  title: string;
19
+
20
+ /**
21
+ * Parameters fields
22
+ * 自定义参数字段
23
+ */
24
+ parameters?: CustomFieldData[];
17
25
  };
package/src/i18n/en.json CHANGED
@@ -67,6 +67,7 @@
67
67
  "mainSlotProps": "Main slot props",
68
68
  "members": "Members",
69
69
  "monthsUnit": "Months",
70
+ "noCache": "No cache",
70
71
  "noCodeId": "Need to resend the verification code, please do not close the add window",
71
72
  "oneTimePin": "One Time Pin",
72
73
  "oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
@@ -67,6 +67,7 @@
67
67
  "mainSlotProps": "主控属性",
68
68
  "members": "成员数",
69
69
  "monthsUnit": "个月",
70
+ "noCache": "不使用缓存",
70
71
  "noCodeId": "需要重新发送验证码,请不要关闭添加窗口",
71
72
  "oneTimePin": "验证码",
72
73
  "oneTimePinEmailTip": "输入刚发送到您电子邮箱的验证码,如果没有找到,请查找垃圾邮件",
@@ -67,6 +67,7 @@
67
67
  "isVerified": "已驗證",
68
68
  "members": "成員數",
69
69
  "monthsUnit": "個月",
70
+ "noCache": "不使用緩存",
70
71
  "noCodeId": "需要重新發送驗證碼,請不要關閉添加窗口",
71
72
  "oneTimePin": "驗證碼",
72
73
  "oneTimePinEmailTip": "輸入剛傳送到您電子郵件信箱的驗證碼,如果沒有找到,請檢查垃圾信箱",