@etsoo/smarterp-core 1.0.26 → 1.0.27

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.
@@ -3,7 +3,6 @@ import { isLocalTest, TestApp } from "./app/TestApp";
3
3
  import { EntityStatus } from "@etsoo/appscript";
4
4
  import { OrgApi } from "../src/OrgApi";
5
5
  import { OrgCreateRQ } from "../src/rq/org/OrgCreateRQ";
6
- import { OrgUpdateRQ } from "../src";
7
6
 
8
7
  if (isLocalTest) {
9
8
  const app = new TestApp();
@@ -2,7 +2,6 @@ import { isLocalTest, TestApp } from "./app/TestApp";
2
2
  import { PublicApi } from "../src/PublicApi";
3
3
  import { PinyinFormatType } from "../src/rq/public/PinyinRQ";
4
4
  import { ApiProvider } from "../src/rq/public/PlaceQueryRQ";
5
- import { act } from "react";
6
5
 
7
6
  const app = new TestApp();
8
7
 
@@ -21,7 +21,7 @@ export interface ICoreApp {
21
21
  /**
22
22
  * Application API
23
23
  */
24
- appApi: AppApi;
24
+ readonly appApi: AppApi;
25
25
  /**
26
26
  * Authentication API
27
27
  */
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "Parent org",
52
52
  "pin": "ID",
53
53
  "preferredName": "Preferred name",
54
+ "queryKeyword": "Query keyword",
54
55
  "refreshTime": "Refresh time",
55
56
  "reportTo": "Report to",
56
57
  "role": "Role",
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "上级机构",
52
52
  "pin": "身份证号码",
53
53
  "preferredName": "首选姓名",
54
+ "queryKeyword": "查询关键字",
54
55
  "refreshTime": "刷新时间",
55
56
  "reportTo": "汇报对象",
56
57
  "role": "角色",
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "上級機構",
52
52
  "pin": "身份證號碼",
53
53
  "preferredName": "首選姓名",
54
+ "queryKeyword": "查詢關鍵字",
54
55
  "refreshTime": "刷新時間",
55
56
  "reportTo": "匯報對象",
56
57
  "role": "角色",
@@ -21,7 +21,7 @@ export interface ICoreApp {
21
21
  /**
22
22
  * Application API
23
23
  */
24
- appApi: AppApi;
24
+ readonly appApi: AppApi;
25
25
  /**
26
26
  * Authentication API
27
27
  */
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "Parent org",
52
52
  "pin": "ID",
53
53
  "preferredName": "Preferred name",
54
+ "queryKeyword": "Query keyword",
54
55
  "refreshTime": "Refresh time",
55
56
  "reportTo": "Report to",
56
57
  "role": "Role",
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "上级机构",
52
52
  "pin": "身份证号码",
53
53
  "preferredName": "首选姓名",
54
+ "queryKeyword": "查询关键字",
54
55
  "refreshTime": "刷新时间",
55
56
  "reportTo": "汇报对象",
56
57
  "role": "角色",
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "上級機構",
52
52
  "pin": "身份證號碼",
53
53
  "preferredName": "首選姓名",
54
+ "queryKeyword": "查詢關鍵字",
54
55
  "refreshTime": "刷新時間",
55
56
  "reportTo": "匯報對象",
56
57
  "role": "角色",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -45,7 +45,7 @@
45
45
  "@babel/plugin-transform-runtime": "^7.26.10",
46
46
  "@babel/preset-env": "^7.26.9",
47
47
  "@babel/runtime-corejs3": "^7.26.10",
48
- "@types/react": "^18.3.1",
48
+ "@types/react": "^18.3.19",
49
49
  "@types/react-dom": "^18.3.1",
50
50
  "@vitejs/plugin-react": "^4.3.4",
51
51
  "jsdom": "^26.0.0",
@@ -54,10 +54,10 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@etsoo/appscript": "^1.6.19",
57
- "@etsoo/materialui": "^1.4.99",
57
+ "@etsoo/materialui": "^1.5.2",
58
58
  "@etsoo/react": "^1.8.33",
59
- "@etsoo/shared": "^1.2.62",
60
- "@etsoo/toolpad": "^1.0.19",
59
+ "@etsoo/shared": "^1.2.63",
60
+ "@etsoo/toolpad": "^1.0.20",
61
61
  "@mui/material": "^6.4.8",
62
62
  "react": "^18.3.1",
63
63
  "react-dom": "^18.3.1"
package/src/CoreApp.ts CHANGED
@@ -23,7 +23,7 @@ export interface ICoreApp {
23
23
  /**
24
24
  * Application API
25
25
  */
26
- appApi: AppApi;
26
+ readonly appApi: AppApi;
27
27
 
28
28
  /**
29
29
  * Authentication API
package/src/i18n/en.json CHANGED
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "Parent org",
52
52
  "pin": "ID",
53
53
  "preferredName": "Preferred name",
54
+ "queryKeyword": "Query keyword",
54
55
  "refreshTime": "Refresh time",
55
56
  "reportTo": "Report to",
56
57
  "role": "Role",
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "上级机构",
52
52
  "pin": "身份证号码",
53
53
  "preferredName": "首选姓名",
54
+ "queryKeyword": "查询关键字",
54
55
  "refreshTime": "刷新时间",
55
56
  "reportTo": "汇报对象",
56
57
  "role": "角色",
@@ -51,6 +51,7 @@
51
51
  "parentOrg": "上級機構",
52
52
  "pin": "身份證號碼",
53
53
  "preferredName": "首選姓名",
54
+ "queryKeyword": "查詢關鍵字",
54
55
  "refreshTime": "刷新時間",
55
56
  "reportTo": "匯報對象",
56
57
  "role": "角色",