@fctc/widget-logic 3.3.1 → 3.3.3
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 -2
- package/dist/index.mjs +2 -2
- package/dist/widget.d.mts +1 -1
- package/dist/widget.d.ts +1 -1
- package/dist/widget.js +2 -2
- package/dist/widget.mjs +2 -2
- package/package.json +94 -94
package/dist/index.js
CHANGED
|
@@ -5675,7 +5675,7 @@ var many2manyTagsController = (props) => {
|
|
|
5675
5675
|
xNode
|
|
5676
5676
|
});
|
|
5677
5677
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
5678
|
-
const
|
|
5678
|
+
const transfer = (data2) => {
|
|
5679
5679
|
return data2?.map((val) => ({
|
|
5680
5680
|
id: val.value,
|
|
5681
5681
|
display_name: val.label
|
|
@@ -5689,7 +5689,7 @@ var many2manyTagsController = (props) => {
|
|
|
5689
5689
|
return {
|
|
5690
5690
|
options,
|
|
5691
5691
|
customNoOptionsMessage,
|
|
5692
|
-
|
|
5692
|
+
transfer,
|
|
5693
5693
|
isUser
|
|
5694
5694
|
};
|
|
5695
5695
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -5756,7 +5756,7 @@ var many2manyTagsController = (props) => {
|
|
|
5756
5756
|
xNode
|
|
5757
5757
|
});
|
|
5758
5758
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
5759
|
-
const
|
|
5759
|
+
const transfer = (data2) => {
|
|
5760
5760
|
return data2?.map((val) => ({
|
|
5761
5761
|
id: val.value,
|
|
5762
5762
|
display_name: val.label
|
|
@@ -5770,7 +5770,7 @@ var many2manyTagsController = (props) => {
|
|
|
5770
5770
|
return {
|
|
5771
5771
|
options,
|
|
5772
5772
|
customNoOptionsMessage,
|
|
5773
|
-
|
|
5773
|
+
transfer,
|
|
5774
5774
|
isUser
|
|
5775
5775
|
};
|
|
5776
5776
|
};
|
package/dist/widget.d.mts
CHANGED
|
@@ -121,7 +121,7 @@ interface IMany2ManyTagFieldProps extends IInputFieldProps {
|
|
|
121
121
|
declare const many2manyTagsController: (props: IMany2ManyTagFieldProps) => {
|
|
122
122
|
options: any;
|
|
123
123
|
customNoOptionsMessage: () => string;
|
|
124
|
-
|
|
124
|
+
transfer: (data: any) => any;
|
|
125
125
|
isUser: boolean;
|
|
126
126
|
};
|
|
127
127
|
|
package/dist/widget.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ interface IMany2ManyTagFieldProps extends IInputFieldProps {
|
|
|
121
121
|
declare const many2manyTagsController: (props: IMany2ManyTagFieldProps) => {
|
|
122
122
|
options: any;
|
|
123
123
|
customNoOptionsMessage: () => string;
|
|
124
|
-
|
|
124
|
+
transfer: (data: any) => any;
|
|
125
125
|
isUser: boolean;
|
|
126
126
|
};
|
|
127
127
|
|
package/dist/widget.js
CHANGED
|
@@ -4920,7 +4920,7 @@ var many2manyTagsController = (props) => {
|
|
|
4920
4920
|
xNode
|
|
4921
4921
|
});
|
|
4922
4922
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
4923
|
-
const
|
|
4923
|
+
const transfer = (data2) => {
|
|
4924
4924
|
return data2?.map((val) => ({
|
|
4925
4925
|
id: val.value,
|
|
4926
4926
|
display_name: val.label
|
|
@@ -4934,7 +4934,7 @@ var many2manyTagsController = (props) => {
|
|
|
4934
4934
|
return {
|
|
4935
4935
|
options,
|
|
4936
4936
|
customNoOptionsMessage,
|
|
4937
|
-
|
|
4937
|
+
transfer,
|
|
4938
4938
|
isUser
|
|
4939
4939
|
};
|
|
4940
4940
|
};
|
package/dist/widget.mjs
CHANGED
|
@@ -4978,7 +4978,7 @@ var many2manyTagsController = (props) => {
|
|
|
4978
4978
|
xNode
|
|
4979
4979
|
});
|
|
4980
4980
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
4981
|
-
const
|
|
4981
|
+
const transfer = (data2) => {
|
|
4982
4982
|
return data2?.map((val) => ({
|
|
4983
4983
|
id: val.value,
|
|
4984
4984
|
display_name: val.label
|
|
@@ -4992,7 +4992,7 @@ var many2manyTagsController = (props) => {
|
|
|
4992
4992
|
return {
|
|
4993
4993
|
options,
|
|
4994
4994
|
customNoOptionsMessage,
|
|
4995
|
-
|
|
4995
|
+
transfer,
|
|
4996
4996
|
isUser
|
|
4997
4997
|
};
|
|
4998
4998
|
};
|
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/widget-logic",
|
|
3
|
-
"version": "3.3.
|
|
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": "^2.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": "3.3.3",
|
|
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": "^2.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
|
+
}
|