@fctc/interface-logic 4.8.9 → 4.8.10
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/dist/constants.d.mts +2 -1
- package/dist/constants.d.ts +2 -1
- package/dist/constants.js +1 -0
- package/dist/constants.mjs +1 -0
- package/dist/hooks.js +6 -1
- package/dist/hooks.mjs +6 -1
- package/dist/provider.js +6 -1
- package/dist/provider.mjs +6 -1
- package/dist/services.d.mts +1 -0
- package/dist/services.d.ts +1 -0
- package/dist/services.js +6 -1
- package/dist/services.mjs +6 -1
- package/package.json +92 -92
package/dist/constants.d.mts
CHANGED
|
@@ -75,7 +75,8 @@ declare enum UriConstants {
|
|
|
75
75
|
READ_GROUP = "/read_group",
|
|
76
76
|
GET_NOTIFICATION = "/mail/data",
|
|
77
77
|
PUBLIC_USER_INFO = "/public/user/info",
|
|
78
|
-
FUNCTIONAL_MODULES = "/functional-modules"
|
|
78
|
+
FUNCTIONAL_MODULES = "/functional-modules",
|
|
79
|
+
ACTION_SERVER_HOME = "/action_server_home"
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
declare enum FieldTypeConstants {
|
package/dist/constants.d.ts
CHANGED
|
@@ -75,7 +75,8 @@ declare enum UriConstants {
|
|
|
75
75
|
READ_GROUP = "/read_group",
|
|
76
76
|
GET_NOTIFICATION = "/mail/data",
|
|
77
77
|
PUBLIC_USER_INFO = "/public/user/info",
|
|
78
|
-
FUNCTIONAL_MODULES = "/functional-modules"
|
|
78
|
+
FUNCTIONAL_MODULES = "/functional-modules",
|
|
79
|
+
ACTION_SERVER_HOME = "/action_server_home"
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
declare enum FieldTypeConstants {
|
package/dist/constants.js
CHANGED
|
@@ -122,6 +122,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
122
122
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
123
123
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
124
124
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
125
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
125
126
|
return UriConstants2;
|
|
126
127
|
})(UriConstants || {});
|
|
127
128
|
|
package/dist/constants.mjs
CHANGED
|
@@ -81,6 +81,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
81
81
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
82
82
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
83
83
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
84
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
84
85
|
return UriConstants2;
|
|
85
86
|
})(UriConstants || {});
|
|
86
87
|
|
package/dist/hooks.js
CHANGED
|
@@ -220,6 +220,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
220
220
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
221
221
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
222
222
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
223
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
223
224
|
return UriConstants2;
|
|
224
225
|
})(UriConstants || {});
|
|
225
226
|
|
|
@@ -3325,6 +3326,9 @@ function useActionService() {
|
|
|
3325
3326
|
},
|
|
3326
3327
|
[env]
|
|
3327
3328
|
);
|
|
3329
|
+
const actionServerHome = (0, import_react8.useCallback)(async () => {
|
|
3330
|
+
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
3331
|
+
}, [env]);
|
|
3328
3332
|
return {
|
|
3329
3333
|
loadAction,
|
|
3330
3334
|
callButton,
|
|
@@ -3333,7 +3337,8 @@ function useActionService() {
|
|
|
3333
3337
|
getPrintReportName,
|
|
3334
3338
|
print,
|
|
3335
3339
|
runAction,
|
|
3336
|
-
generateSerialNumber
|
|
3340
|
+
generateSerialNumber,
|
|
3341
|
+
actionServerHome
|
|
3337
3342
|
};
|
|
3338
3343
|
}
|
|
3339
3344
|
|
package/dist/hooks.mjs
CHANGED
|
@@ -48,6 +48,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
48
48
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
49
49
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
50
50
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
51
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
51
52
|
return UriConstants2;
|
|
52
53
|
})(UriConstants || {});
|
|
53
54
|
|
|
@@ -3153,6 +3154,9 @@ function useActionService() {
|
|
|
3153
3154
|
},
|
|
3154
3155
|
[env]
|
|
3155
3156
|
);
|
|
3157
|
+
const actionServerHome = useCallback2(async () => {
|
|
3158
|
+
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
3159
|
+
}, [env]);
|
|
3156
3160
|
return {
|
|
3157
3161
|
loadAction,
|
|
3158
3162
|
callButton,
|
|
@@ -3161,7 +3165,8 @@ function useActionService() {
|
|
|
3161
3165
|
getPrintReportName,
|
|
3162
3166
|
print,
|
|
3163
3167
|
runAction,
|
|
3164
|
-
generateSerialNumber
|
|
3168
|
+
generateSerialNumber,
|
|
3169
|
+
actionServerHome
|
|
3165
3170
|
};
|
|
3166
3171
|
}
|
|
3167
3172
|
|
package/dist/provider.js
CHANGED
|
@@ -750,6 +750,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
750
750
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
751
751
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
752
752
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
753
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
753
754
|
return UriConstants2;
|
|
754
755
|
})(UriConstants || {});
|
|
755
756
|
|
|
@@ -3276,6 +3277,9 @@ function useActionService() {
|
|
|
3276
3277
|
},
|
|
3277
3278
|
[env]
|
|
3278
3279
|
);
|
|
3280
|
+
const actionServerHome = (0, import_react3.useCallback)(async () => {
|
|
3281
|
+
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
3282
|
+
}, [env]);
|
|
3279
3283
|
return {
|
|
3280
3284
|
loadAction,
|
|
3281
3285
|
callButton,
|
|
@@ -3284,7 +3288,8 @@ function useActionService() {
|
|
|
3284
3288
|
getPrintReportName,
|
|
3285
3289
|
print,
|
|
3286
3290
|
runAction,
|
|
3287
|
-
generateSerialNumber
|
|
3291
|
+
generateSerialNumber,
|
|
3292
|
+
actionServerHome
|
|
3288
3293
|
};
|
|
3289
3294
|
}
|
|
3290
3295
|
|
package/dist/provider.mjs
CHANGED
|
@@ -705,6 +705,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
705
705
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
706
706
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
707
707
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
708
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
708
709
|
return UriConstants2;
|
|
709
710
|
})(UriConstants || {});
|
|
710
711
|
|
|
@@ -3231,6 +3232,9 @@ function useActionService() {
|
|
|
3231
3232
|
},
|
|
3232
3233
|
[env]
|
|
3233
3234
|
);
|
|
3235
|
+
const actionServerHome = useCallback(async () => {
|
|
3236
|
+
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
3237
|
+
}, [env]);
|
|
3234
3238
|
return {
|
|
3235
3239
|
loadAction,
|
|
3236
3240
|
callButton,
|
|
@@ -3239,7 +3243,8 @@ function useActionService() {
|
|
|
3239
3243
|
getPrintReportName,
|
|
3240
3244
|
print,
|
|
3241
3245
|
runAction,
|
|
3242
|
-
generateSerialNumber
|
|
3246
|
+
generateSerialNumber,
|
|
3247
|
+
actionServerHome
|
|
3243
3248
|
};
|
|
3244
3249
|
}
|
|
3245
3250
|
|
package/dist/services.d.mts
CHANGED
package/dist/services.d.ts
CHANGED
package/dist/services.js
CHANGED
|
@@ -91,6 +91,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
91
91
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
92
92
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
93
93
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
94
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
94
95
|
return UriConstants2;
|
|
95
96
|
})(UriConstants || {});
|
|
96
97
|
|
|
@@ -5614,6 +5615,9 @@ function useActionService() {
|
|
|
5614
5615
|
},
|
|
5615
5616
|
[env]
|
|
5616
5617
|
);
|
|
5618
|
+
const actionServerHome = (0, import_react62.useCallback)(async () => {
|
|
5619
|
+
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
5620
|
+
}, [env]);
|
|
5617
5621
|
return {
|
|
5618
5622
|
loadAction,
|
|
5619
5623
|
callButton,
|
|
@@ -5622,7 +5626,8 @@ function useActionService() {
|
|
|
5622
5626
|
getPrintReportName,
|
|
5623
5627
|
print,
|
|
5624
5628
|
runAction,
|
|
5625
|
-
generateSerialNumber
|
|
5629
|
+
generateSerialNumber,
|
|
5630
|
+
actionServerHome
|
|
5626
5631
|
};
|
|
5627
5632
|
}
|
|
5628
5633
|
|
package/dist/services.mjs
CHANGED
|
@@ -45,6 +45,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
45
45
|
UriConstants2["GET_NOTIFICATION"] = "/mail/data";
|
|
46
46
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
47
47
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
48
|
+
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
48
49
|
return UriConstants2;
|
|
49
50
|
})(UriConstants || {});
|
|
50
51
|
|
|
@@ -5568,6 +5569,9 @@ function useActionService() {
|
|
|
5568
5569
|
},
|
|
5569
5570
|
[env]
|
|
5570
5571
|
);
|
|
5572
|
+
const actionServerHome = useCallback56(async () => {
|
|
5573
|
+
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
5574
|
+
}, [env]);
|
|
5571
5575
|
return {
|
|
5572
5576
|
loadAction,
|
|
5573
5577
|
callButton,
|
|
@@ -5576,7 +5580,8 @@ function useActionService() {
|
|
|
5576
5580
|
getPrintReportName,
|
|
5577
5581
|
print,
|
|
5578
5582
|
runAction,
|
|
5579
|
-
generateSerialNumber
|
|
5583
|
+
generateSerialNumber,
|
|
5584
|
+
actionServerHome
|
|
5580
5585
|
};
|
|
5581
5586
|
}
|
|
5582
5587
|
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "4.8.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./configs": {
|
|
14
|
-
"types": "./dist/configs.d.ts",
|
|
15
|
-
"import": "./dist/configs.mjs",
|
|
16
|
-
"require": "./dist/configs.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./constants": {
|
|
19
|
-
"types": "./dist/constants.d.ts",
|
|
20
|
-
"import": "./dist/constants.mjs",
|
|
21
|
-
"require": "./dist/constants.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./environment": {
|
|
24
|
-
"types": "./dist/environment.d.ts",
|
|
25
|
-
"import": "./dist/environment.mjs",
|
|
26
|
-
"require": "./dist/environment.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./hooks": {
|
|
29
|
-
"types": "./dist/hooks.d.ts",
|
|
30
|
-
"import": "./dist/hooks.mjs",
|
|
31
|
-
"require": "./dist/hooks.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./provider": {
|
|
34
|
-
"types": "./dist/provider.d.ts",
|
|
35
|
-
"import": "./dist/provider.mjs",
|
|
36
|
-
"require": "./dist/provider.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./services": {
|
|
39
|
-
"types": "./dist/services.d.ts",
|
|
40
|
-
"import": "./dist/services.mjs",
|
|
41
|
-
"require": "./dist/services.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./store": {
|
|
44
|
-
"types": "./dist/store.d.ts",
|
|
45
|
-
"import": "./dist/store.mjs",
|
|
46
|
-
"require": "./dist/store.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./utils": {
|
|
49
|
-
"types": "./dist/utils.d.ts",
|
|
50
|
-
"import": "./dist/utils.mjs",
|
|
51
|
-
"require": "./dist/utils.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./types": {
|
|
54
|
-
"types": "./dist/types.d.ts",
|
|
55
|
-
"import": "./dist/types.mjs",
|
|
56
|
-
"require": "./dist/types.cjs"
|
|
57
|
-
},
|
|
58
|
-
"./models": {
|
|
59
|
-
"types": "./dist/models.d.ts",
|
|
60
|
-
"import": "./dist/models.mjs",
|
|
61
|
-
"require": "./dist/models.cjs"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"files": [
|
|
65
|
-
"dist"
|
|
66
|
-
],
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsup",
|
|
69
|
-
"test": "jest"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"@tanstack/react-query": "^5.83.0",
|
|
73
|
-
"@supabase/supabase-js": "^2.90.1",
|
|
74
|
-
"react": "18.0.0"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
78
|
-
"@supabase/supabase-js": "^2.90.1",
|
|
79
|
-
"@tanstack/react-query": "^5.83.0",
|
|
80
|
-
"axios": "^1.11.0",
|
|
81
|
-
"moment": "^2.30.1",
|
|
82
|
-
"react-redux": "^9.2.0"
|
|
83
|
-
},
|
|
84
|
-
"devDependencies": {
|
|
85
|
-
"@types/react": "^18.3.1",
|
|
86
|
-
"jest": "^29.7.0",
|
|
87
|
-
"react": "18.0.0",
|
|
88
|
-
"tsup": "^8.0.0",
|
|
89
|
-
"typescript": "^5.8.2"
|
|
90
|
-
},
|
|
91
|
-
"packageManager": "yarn@1.22.0"
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "4.8.10",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./configs": {
|
|
14
|
+
"types": "./dist/configs.d.ts",
|
|
15
|
+
"import": "./dist/configs.mjs",
|
|
16
|
+
"require": "./dist/configs.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./constants": {
|
|
19
|
+
"types": "./dist/constants.d.ts",
|
|
20
|
+
"import": "./dist/constants.mjs",
|
|
21
|
+
"require": "./dist/constants.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./environment": {
|
|
24
|
+
"types": "./dist/environment.d.ts",
|
|
25
|
+
"import": "./dist/environment.mjs",
|
|
26
|
+
"require": "./dist/environment.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./hooks": {
|
|
29
|
+
"types": "./dist/hooks.d.ts",
|
|
30
|
+
"import": "./dist/hooks.mjs",
|
|
31
|
+
"require": "./dist/hooks.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./provider": {
|
|
34
|
+
"types": "./dist/provider.d.ts",
|
|
35
|
+
"import": "./dist/provider.mjs",
|
|
36
|
+
"require": "./dist/provider.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./services": {
|
|
39
|
+
"types": "./dist/services.d.ts",
|
|
40
|
+
"import": "./dist/services.mjs",
|
|
41
|
+
"require": "./dist/services.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./store": {
|
|
44
|
+
"types": "./dist/store.d.ts",
|
|
45
|
+
"import": "./dist/store.mjs",
|
|
46
|
+
"require": "./dist/store.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./utils": {
|
|
49
|
+
"types": "./dist/utils.d.ts",
|
|
50
|
+
"import": "./dist/utils.mjs",
|
|
51
|
+
"require": "./dist/utils.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./types": {
|
|
54
|
+
"types": "./dist/types.d.ts",
|
|
55
|
+
"import": "./dist/types.mjs",
|
|
56
|
+
"require": "./dist/types.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./models": {
|
|
59
|
+
"types": "./dist/models.d.ts",
|
|
60
|
+
"import": "./dist/models.mjs",
|
|
61
|
+
"require": "./dist/models.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup",
|
|
69
|
+
"test": "jest"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"@tanstack/react-query": "^5.83.0",
|
|
73
|
+
"@supabase/supabase-js": "^2.90.1",
|
|
74
|
+
"react": "18.0.0"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
78
|
+
"@supabase/supabase-js": "^2.90.1",
|
|
79
|
+
"@tanstack/react-query": "^5.83.0",
|
|
80
|
+
"axios": "^1.11.0",
|
|
81
|
+
"moment": "^2.30.1",
|
|
82
|
+
"react-redux": "^9.2.0"
|
|
83
|
+
},
|
|
84
|
+
"devDependencies": {
|
|
85
|
+
"@types/react": "^18.3.1",
|
|
86
|
+
"jest": "^29.7.0",
|
|
87
|
+
"react": "18.0.0",
|
|
88
|
+
"tsup": "^8.0.0",
|
|
89
|
+
"typescript": "^5.8.2"
|
|
90
|
+
},
|
|
91
|
+
"packageManager": "yarn@1.22.0"
|
|
92
|
+
}
|