@fctc/widget-logic 4.5.7 → 4.5.8
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/index.js +2 -3
- package/dist/index.mjs +2 -3
- package/dist/widget.d.mts +0 -1
- package/dist/widget.d.ts +0 -1
- package/dist/widget.js +2 -3
- package/dist/widget.mjs +2 -3
- package/package.json +94 -94
package/dist/index.js
CHANGED
|
@@ -5348,8 +5348,7 @@ var many2oneFieldController = (props) => {
|
|
|
5348
5348
|
service,
|
|
5349
5349
|
xNode,
|
|
5350
5350
|
isForm,
|
|
5351
|
-
widget
|
|
5352
|
-
in_list_view
|
|
5351
|
+
widget
|
|
5353
5352
|
} = props;
|
|
5354
5353
|
const { env } = (0, provider_exports.useEnv)();
|
|
5355
5354
|
const { action, user } = useAppProvider();
|
|
@@ -5436,7 +5435,7 @@ var many2oneFieldController = (props) => {
|
|
|
5436
5435
|
methods?.setValue(name, null, { shouldDirty: true });
|
|
5437
5436
|
setTempSelectedOption(null);
|
|
5438
5437
|
} else if (propValue) {
|
|
5439
|
-
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name
|
|
5438
|
+
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
|
|
5440
5439
|
fetchGetDetail.mutate(
|
|
5441
5440
|
{
|
|
5442
5441
|
model: optionsObject?.model,
|
package/dist/index.mjs
CHANGED
|
@@ -5443,8 +5443,7 @@ var many2oneFieldController = (props) => {
|
|
|
5443
5443
|
service,
|
|
5444
5444
|
xNode,
|
|
5445
5445
|
isForm,
|
|
5446
|
-
widget
|
|
5447
|
-
in_list_view
|
|
5446
|
+
widget
|
|
5448
5447
|
} = props;
|
|
5449
5448
|
const { env } = (0, provider_exports.useEnv)();
|
|
5450
5449
|
const { action, user } = useAppProvider();
|
|
@@ -5531,7 +5530,7 @@ var many2oneFieldController = (props) => {
|
|
|
5531
5530
|
methods?.setValue(name, null, { shouldDirty: true });
|
|
5532
5531
|
setTempSelectedOption(null);
|
|
5533
5532
|
} else if (propValue) {
|
|
5534
|
-
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name
|
|
5533
|
+
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
|
|
5535
5534
|
fetchGetDetail.mutate(
|
|
5536
5535
|
{
|
|
5537
5536
|
model: optionsObject?.model,
|
package/dist/widget.d.mts
CHANGED
package/dist/widget.d.ts
CHANGED
package/dist/widget.js
CHANGED
|
@@ -4574,8 +4574,7 @@ var many2oneFieldController = (props) => {
|
|
|
4574
4574
|
service,
|
|
4575
4575
|
xNode,
|
|
4576
4576
|
isForm,
|
|
4577
|
-
widget
|
|
4578
|
-
in_list_view
|
|
4577
|
+
widget
|
|
4579
4578
|
} = props;
|
|
4580
4579
|
const { env } = (0, provider_exports.useEnv)();
|
|
4581
4580
|
const { action, user } = useAppProvider();
|
|
@@ -4662,7 +4661,7 @@ var many2oneFieldController = (props) => {
|
|
|
4662
4661
|
methods?.setValue(name, null, { shouldDirty: true });
|
|
4663
4662
|
setTempSelectedOption(null);
|
|
4664
4663
|
} else if (propValue) {
|
|
4665
|
-
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name
|
|
4664
|
+
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
|
|
4666
4665
|
fetchGetDetail.mutate(
|
|
4667
4666
|
{
|
|
4668
4667
|
model: optionsObject?.model,
|
package/dist/widget.mjs
CHANGED
|
@@ -4646,8 +4646,7 @@ var many2oneFieldController = (props) => {
|
|
|
4646
4646
|
service,
|
|
4647
4647
|
xNode,
|
|
4648
4648
|
isForm,
|
|
4649
|
-
widget
|
|
4650
|
-
in_list_view
|
|
4649
|
+
widget
|
|
4651
4650
|
} = props;
|
|
4652
4651
|
const { env } = (0, provider_exports.useEnv)();
|
|
4653
4652
|
const { action, user } = useAppProvider();
|
|
@@ -4734,7 +4733,7 @@ var many2oneFieldController = (props) => {
|
|
|
4734
4733
|
methods?.setValue(name, null, { shouldDirty: true });
|
|
4735
4734
|
setTempSelectedOption(null);
|
|
4736
4735
|
} else if (propValue) {
|
|
4737
|
-
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name
|
|
4736
|
+
if (isForm && optionsObject?.service && optionsObject?.model && !propValue?.display_name) {
|
|
4738
4737
|
fetchGetDetail.mutate(
|
|
4739
4738
|
{
|
|
4740
4739
|
model: optionsObject?.model,
|
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/widget-logic",
|
|
3
|
-
"version": "4.5.
|
|
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
|
-
"./hooks": {
|
|
14
|
-
"types": "./dist/hooks.d.ts",
|
|
15
|
-
"import": "./dist/hooks.mjs",
|
|
16
|
-
"require": "./dist/hooks.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./widget": {
|
|
19
|
-
"types": "./dist/widget.d.ts",
|
|
20
|
-
"import": "./dist/widget.mjs",
|
|
21
|
-
"require": "./dist/widget.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./icons": {
|
|
24
|
-
"types": "./dist/icons.d.ts",
|
|
25
|
-
"import": "./dist/icons.mjs",
|
|
26
|
-
"require": "./dist/icons.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./utils": {
|
|
29
|
-
"types": "./dist/utils.d.ts",
|
|
30
|
-
"import": "./dist/utils.mjs",
|
|
31
|
-
"require": "./dist/utils.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./store": {
|
|
34
|
-
"types": "./dist/store.d.ts",
|
|
35
|
-
"import": "./dist/store.mjs",
|
|
36
|
-
"require": "./dist/store.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./config": {
|
|
39
|
-
"types": "./dist/config.d.ts",
|
|
40
|
-
"import": "./dist/config.mjs",
|
|
41
|
-
"require": "./dist/config.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./constants": {
|
|
44
|
-
"types": "./dist/constants.d.ts",
|
|
45
|
-
"import": "./dist/constants.mjs",
|
|
46
|
-
"require": "./dist/constants.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./environment": {
|
|
49
|
-
"types": "./dist/environment.d.ts",
|
|
50
|
-
"import": "./dist/environment.mjs",
|
|
51
|
-
"require": "./dist/environment.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./provider": {
|
|
54
|
-
"types": "./dist/provider.d.ts",
|
|
55
|
-
"import": "./dist/provider.mjs",
|
|
56
|
-
"require": "./dist/provider.cjs"
|
|
57
|
-
},
|
|
58
|
-
"./services": {
|
|
59
|
-
"types": "./dist/services.d.ts",
|
|
60
|
-
"import": "./dist/services.mjs",
|
|
61
|
-
"require": "./dist/services.cjs"
|
|
62
|
-
},
|
|
63
|
-
"./types": {
|
|
64
|
-
"types": "./dist/types.d.ts",
|
|
65
|
-
"import": "./dist/types.mjs",
|
|
66
|
-
"require": "./dist/types.cjs"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"files": [
|
|
70
|
-
"dist"
|
|
71
|
-
],
|
|
72
|
-
"scripts": {
|
|
73
|
-
"build": "tsup",
|
|
74
|
-
"test": "jest"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@fctc/interface-logic": "^3.9.
|
|
78
|
-
"@headlessui/react": "^2.2.6",
|
|
79
|
-
"@tanstack/react-query": "^5.84.0",
|
|
80
|
-
"i18next": "^25.3.2",
|
|
81
|
-
"i18next-browser-languagedetector": "^8.2.0",
|
|
82
|
-
"react-i18next": "^15.6.1",
|
|
83
|
-
"react-tooltip": "^5.29.1"
|
|
84
|
-
},
|
|
85
|
-
"devDependencies": {
|
|
86
|
-
"@types/react": "^18.3.1",
|
|
87
|
-
"jest": "^29.7.0",
|
|
88
|
-
"react": "18.0.0",
|
|
89
|
-
"tsup": "^8.0.0",
|
|
90
|
-
"typescript": "^5.8.2"
|
|
91
|
-
},
|
|
92
|
-
"packageManager": "yarn@1.22.0",
|
|
93
|
-
"peerDependencies": {}
|
|
94
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/widget-logic",
|
|
3
|
+
"version": "4.5.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
|
+
"./hooks": {
|
|
14
|
+
"types": "./dist/hooks.d.ts",
|
|
15
|
+
"import": "./dist/hooks.mjs",
|
|
16
|
+
"require": "./dist/hooks.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./widget": {
|
|
19
|
+
"types": "./dist/widget.d.ts",
|
|
20
|
+
"import": "./dist/widget.mjs",
|
|
21
|
+
"require": "./dist/widget.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./icons": {
|
|
24
|
+
"types": "./dist/icons.d.ts",
|
|
25
|
+
"import": "./dist/icons.mjs",
|
|
26
|
+
"require": "./dist/icons.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./utils": {
|
|
29
|
+
"types": "./dist/utils.d.ts",
|
|
30
|
+
"import": "./dist/utils.mjs",
|
|
31
|
+
"require": "./dist/utils.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./store": {
|
|
34
|
+
"types": "./dist/store.d.ts",
|
|
35
|
+
"import": "./dist/store.mjs",
|
|
36
|
+
"require": "./dist/store.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./config": {
|
|
39
|
+
"types": "./dist/config.d.ts",
|
|
40
|
+
"import": "./dist/config.mjs",
|
|
41
|
+
"require": "./dist/config.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./constants": {
|
|
44
|
+
"types": "./dist/constants.d.ts",
|
|
45
|
+
"import": "./dist/constants.mjs",
|
|
46
|
+
"require": "./dist/constants.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./environment": {
|
|
49
|
+
"types": "./dist/environment.d.ts",
|
|
50
|
+
"import": "./dist/environment.mjs",
|
|
51
|
+
"require": "./dist/environment.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./provider": {
|
|
54
|
+
"types": "./dist/provider.d.ts",
|
|
55
|
+
"import": "./dist/provider.mjs",
|
|
56
|
+
"require": "./dist/provider.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./services": {
|
|
59
|
+
"types": "./dist/services.d.ts",
|
|
60
|
+
"import": "./dist/services.mjs",
|
|
61
|
+
"require": "./dist/services.cjs"
|
|
62
|
+
},
|
|
63
|
+
"./types": {
|
|
64
|
+
"types": "./dist/types.d.ts",
|
|
65
|
+
"import": "./dist/types.mjs",
|
|
66
|
+
"require": "./dist/types.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"files": [
|
|
70
|
+
"dist"
|
|
71
|
+
],
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "tsup",
|
|
74
|
+
"test": "jest"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@fctc/interface-logic": "^3.9.5",
|
|
78
|
+
"@headlessui/react": "^2.2.6",
|
|
79
|
+
"@tanstack/react-query": "^5.84.0",
|
|
80
|
+
"i18next": "^25.3.2",
|
|
81
|
+
"i18next-browser-languagedetector": "^8.2.0",
|
|
82
|
+
"react-i18next": "^15.6.1",
|
|
83
|
+
"react-tooltip": "^5.29.1"
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@types/react": "^18.3.1",
|
|
87
|
+
"jest": "^29.7.0",
|
|
88
|
+
"react": "18.0.0",
|
|
89
|
+
"tsup": "^8.0.0",
|
|
90
|
+
"typescript": "^5.8.2"
|
|
91
|
+
},
|
|
92
|
+
"packageManager": "yarn@1.22.0",
|
|
93
|
+
"peerDependencies": {}
|
|
94
|
+
}
|