@fctc/interface-logic 3.9.6 → 3.9.7
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/hooks.js +4 -5
- package/dist/hooks.mjs +4 -5
- package/dist/provider.js +4 -5
- package/dist/provider.mjs +4 -5
- package/dist/services.js +4 -5
- package/dist/services.mjs +4 -5
- package/package.json +90 -90
package/dist/hooks.js
CHANGED
|
@@ -4064,7 +4064,6 @@ function useKanbanService() {
|
|
|
4064
4064
|
|
|
4065
4065
|
// src/services/model-service/index.ts
|
|
4066
4066
|
var import_react12 = require("react");
|
|
4067
|
-
var OBJECT_POSITION = 2;
|
|
4068
4067
|
function useModelService() {
|
|
4069
4068
|
const { env } = useEnv();
|
|
4070
4069
|
const getListMyBankAccount = (0, import_react12.useCallback)(
|
|
@@ -4423,19 +4422,19 @@ function useModelService() {
|
|
|
4423
4422
|
if (relation !== void 0) {
|
|
4424
4423
|
if (viewData?.models?.[relation]) {
|
|
4425
4424
|
if (item?.length >= 3) {
|
|
4426
|
-
return toDataJS(item[
|
|
4425
|
+
return toDataJS(item[2], viewData, relation);
|
|
4427
4426
|
} else {
|
|
4428
4427
|
return toDataJS(item, viewData, relation);
|
|
4429
4428
|
}
|
|
4430
4429
|
} else {
|
|
4431
4430
|
if (item?.length >= 3) {
|
|
4432
|
-
return item[
|
|
4433
|
-
} else {
|
|
4431
|
+
return item[2];
|
|
4432
|
+
} else if (item !== 0) {
|
|
4434
4433
|
return item;
|
|
4435
4434
|
}
|
|
4436
4435
|
}
|
|
4437
4436
|
}
|
|
4438
|
-
});
|
|
4437
|
+
})?.filter(Boolean);
|
|
4439
4438
|
}
|
|
4440
4439
|
}
|
|
4441
4440
|
}
|
package/dist/hooks.mjs
CHANGED
|
@@ -3923,7 +3923,6 @@ function useKanbanService() {
|
|
|
3923
3923
|
|
|
3924
3924
|
// src/services/model-service/index.ts
|
|
3925
3925
|
import { useCallback as useCallback8 } from "react";
|
|
3926
|
-
var OBJECT_POSITION = 2;
|
|
3927
3926
|
function useModelService() {
|
|
3928
3927
|
const { env } = useEnv();
|
|
3929
3928
|
const getListMyBankAccount = useCallback8(
|
|
@@ -4282,19 +4281,19 @@ function useModelService() {
|
|
|
4282
4281
|
if (relation !== void 0) {
|
|
4283
4282
|
if (viewData?.models?.[relation]) {
|
|
4284
4283
|
if (item?.length >= 3) {
|
|
4285
|
-
return toDataJS(item[
|
|
4284
|
+
return toDataJS(item[2], viewData, relation);
|
|
4286
4285
|
} else {
|
|
4287
4286
|
return toDataJS(item, viewData, relation);
|
|
4288
4287
|
}
|
|
4289
4288
|
} else {
|
|
4290
4289
|
if (item?.length >= 3) {
|
|
4291
|
-
return item[
|
|
4292
|
-
} else {
|
|
4290
|
+
return item[2];
|
|
4291
|
+
} else if (item !== 0) {
|
|
4293
4292
|
return item;
|
|
4294
4293
|
}
|
|
4295
4294
|
}
|
|
4296
4295
|
}
|
|
4297
|
-
});
|
|
4296
|
+
})?.filter(Boolean);
|
|
4298
4297
|
}
|
|
4299
4298
|
}
|
|
4300
4299
|
}
|
package/dist/provider.js
CHANGED
|
@@ -4052,7 +4052,6 @@ function useKanbanService() {
|
|
|
4052
4052
|
|
|
4053
4053
|
// src/services/model-service/index.ts
|
|
4054
4054
|
var import_react8 = require("react");
|
|
4055
|
-
var OBJECT_POSITION = 2;
|
|
4056
4055
|
function useModelService() {
|
|
4057
4056
|
const { env } = useEnv();
|
|
4058
4057
|
const getListMyBankAccount = (0, import_react8.useCallback)(
|
|
@@ -4411,19 +4410,19 @@ function useModelService() {
|
|
|
4411
4410
|
if (relation !== void 0) {
|
|
4412
4411
|
if (viewData?.models?.[relation]) {
|
|
4413
4412
|
if (item?.length >= 3) {
|
|
4414
|
-
return toDataJS(item[
|
|
4413
|
+
return toDataJS(item[2], viewData, relation);
|
|
4415
4414
|
} else {
|
|
4416
4415
|
return toDataJS(item, viewData, relation);
|
|
4417
4416
|
}
|
|
4418
4417
|
} else {
|
|
4419
4418
|
if (item?.length >= 3) {
|
|
4420
|
-
return item[
|
|
4421
|
-
} else {
|
|
4419
|
+
return item[2];
|
|
4420
|
+
} else if (item !== 0) {
|
|
4422
4421
|
return item;
|
|
4423
4422
|
}
|
|
4424
4423
|
}
|
|
4425
4424
|
}
|
|
4426
|
-
});
|
|
4425
|
+
})?.filter(Boolean);
|
|
4427
4426
|
}
|
|
4428
4427
|
}
|
|
4429
4428
|
}
|
package/dist/provider.mjs
CHANGED
|
@@ -4009,7 +4009,6 @@ function useKanbanService() {
|
|
|
4009
4009
|
|
|
4010
4010
|
// src/services/model-service/index.ts
|
|
4011
4011
|
import { useCallback as useCallback7 } from "react";
|
|
4012
|
-
var OBJECT_POSITION = 2;
|
|
4013
4012
|
function useModelService() {
|
|
4014
4013
|
const { env } = useEnv();
|
|
4015
4014
|
const getListMyBankAccount = useCallback7(
|
|
@@ -4368,19 +4367,19 @@ function useModelService() {
|
|
|
4368
4367
|
if (relation !== void 0) {
|
|
4369
4368
|
if (viewData?.models?.[relation]) {
|
|
4370
4369
|
if (item?.length >= 3) {
|
|
4371
|
-
return toDataJS(item[
|
|
4370
|
+
return toDataJS(item[2], viewData, relation);
|
|
4372
4371
|
} else {
|
|
4373
4372
|
return toDataJS(item, viewData, relation);
|
|
4374
4373
|
}
|
|
4375
4374
|
} else {
|
|
4376
4375
|
if (item?.length >= 3) {
|
|
4377
|
-
return item[
|
|
4378
|
-
} else {
|
|
4376
|
+
return item[2];
|
|
4377
|
+
} else if (item !== 0) {
|
|
4379
4378
|
return item;
|
|
4380
4379
|
}
|
|
4381
4380
|
}
|
|
4382
4381
|
}
|
|
4383
|
-
});
|
|
4382
|
+
})?.filter(Boolean);
|
|
4384
4383
|
}
|
|
4385
4384
|
}
|
|
4386
4385
|
}
|
package/dist/services.js
CHANGED
|
@@ -4260,7 +4260,6 @@ function useKanbanService() {
|
|
|
4260
4260
|
|
|
4261
4261
|
// src/services/model-service/index.ts
|
|
4262
4262
|
var import_react13 = require("react");
|
|
4263
|
-
var OBJECT_POSITION = 2;
|
|
4264
4263
|
function useModelService() {
|
|
4265
4264
|
const { env } = useEnv();
|
|
4266
4265
|
const getListMyBankAccount = (0, import_react13.useCallback)(
|
|
@@ -4619,19 +4618,19 @@ function useModelService() {
|
|
|
4619
4618
|
if (relation !== void 0) {
|
|
4620
4619
|
if (viewData?.models?.[relation]) {
|
|
4621
4620
|
if (item?.length >= 3) {
|
|
4622
|
-
return toDataJS(item[
|
|
4621
|
+
return toDataJS(item[2], viewData, relation);
|
|
4623
4622
|
} else {
|
|
4624
4623
|
return toDataJS(item, viewData, relation);
|
|
4625
4624
|
}
|
|
4626
4625
|
} else {
|
|
4627
4626
|
if (item?.length >= 3) {
|
|
4628
|
-
return item[
|
|
4629
|
-
} else {
|
|
4627
|
+
return item[2];
|
|
4628
|
+
} else if (item !== 0) {
|
|
4630
4629
|
return item;
|
|
4631
4630
|
}
|
|
4632
4631
|
}
|
|
4633
4632
|
}
|
|
4634
|
-
});
|
|
4633
|
+
})?.filter(Boolean);
|
|
4635
4634
|
}
|
|
4636
4635
|
}
|
|
4637
4636
|
}
|
package/dist/services.mjs
CHANGED
|
@@ -4215,7 +4215,6 @@ function useKanbanService() {
|
|
|
4215
4215
|
|
|
4216
4216
|
// src/services/model-service/index.ts
|
|
4217
4217
|
import { useCallback as useCallback9 } from "react";
|
|
4218
|
-
var OBJECT_POSITION = 2;
|
|
4219
4218
|
function useModelService() {
|
|
4220
4219
|
const { env } = useEnv();
|
|
4221
4220
|
const getListMyBankAccount = useCallback9(
|
|
@@ -4574,19 +4573,19 @@ function useModelService() {
|
|
|
4574
4573
|
if (relation !== void 0) {
|
|
4575
4574
|
if (viewData?.models?.[relation]) {
|
|
4576
4575
|
if (item?.length >= 3) {
|
|
4577
|
-
return toDataJS(item[
|
|
4576
|
+
return toDataJS(item[2], viewData, relation);
|
|
4578
4577
|
} else {
|
|
4579
4578
|
return toDataJS(item, viewData, relation);
|
|
4580
4579
|
}
|
|
4581
4580
|
} else {
|
|
4582
4581
|
if (item?.length >= 3) {
|
|
4583
|
-
return item[
|
|
4584
|
-
} else {
|
|
4582
|
+
return item[2];
|
|
4583
|
+
} else if (item !== 0) {
|
|
4585
4584
|
return item;
|
|
4586
4585
|
}
|
|
4587
4586
|
}
|
|
4588
4587
|
}
|
|
4589
|
-
});
|
|
4588
|
+
})?.filter(Boolean);
|
|
4590
4589
|
}
|
|
4591
4590
|
}
|
|
4592
4591
|
}
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "3.9.
|
|
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
|
-
"react": "18.0.0",
|
|
73
|
-
"@tanstack/react-query": "^5.83.0"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
-
"@tanstack/react-query": "^5.83.0",
|
|
78
|
-
"axios": "^1.11.0",
|
|
79
|
-
"moment": "^2.30.1",
|
|
80
|
-
"react-redux": "^9.2.0"
|
|
81
|
-
},
|
|
82
|
-
"devDependencies": {
|
|
83
|
-
"@types/react": "^18.3.1",
|
|
84
|
-
"react": "18.0.0",
|
|
85
|
-
"jest": "^29.7.0",
|
|
86
|
-
"tsup": "^8.0.0",
|
|
87
|
-
"typescript": "^5.8.2"
|
|
88
|
-
},
|
|
89
|
-
"packageManager": "yarn@1.22.0"
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "3.9.7",
|
|
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
|
+
"react": "18.0.0",
|
|
73
|
+
"@tanstack/react-query": "^5.83.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
+
"@tanstack/react-query": "^5.83.0",
|
|
78
|
+
"axios": "^1.11.0",
|
|
79
|
+
"moment": "^2.30.1",
|
|
80
|
+
"react-redux": "^9.2.0"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@types/react": "^18.3.1",
|
|
84
|
+
"react": "18.0.0",
|
|
85
|
+
"jest": "^29.7.0",
|
|
86
|
+
"tsup": "^8.0.0",
|
|
87
|
+
"typescript": "^5.8.2"
|
|
88
|
+
},
|
|
89
|
+
"packageManager": "yarn@1.22.0"
|
|
90
|
+
}
|