@fctc/widget-logic 5.4.7 → 5.4.9

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 CHANGED
@@ -5845,7 +5845,7 @@ var many2manyTagsController = (props) => {
5845
5845
  ...widget && import_constants2.WIDGETAVATAR[widget] ? { image_256: {} } : {},
5846
5846
  ...widget && import_constants2.WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5847
5847
  },
5848
- context: env.context
5848
+ context: contextObject
5849
5849
  };
5850
5850
  const queryKey = [`data_${relation}`, domainObject];
5851
5851
  const {
@@ -5900,7 +5900,8 @@ var many2manyTagsController = (props) => {
5900
5900
  handleChooseRecord,
5901
5901
  handleClose,
5902
5902
  isShowModalMany2Many,
5903
- setIsShowModalMany2Many
5903
+ setIsShowModalMany2Many,
5904
+ context: contextObject
5904
5905
  };
5905
5906
  };
5906
5907
 
package/dist/index.mjs CHANGED
@@ -5940,7 +5940,7 @@ var many2manyTagsController = (props) => {
5940
5940
  ...widget && WIDGETAVATAR[widget] ? { image_256: {} } : {},
5941
5941
  ...widget && WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5942
5942
  },
5943
- context: env.context
5943
+ context: contextObject
5944
5944
  };
5945
5945
  const queryKey = [`data_${relation}`, domainObject];
5946
5946
  const {
@@ -5995,7 +5995,8 @@ var many2manyTagsController = (props) => {
5995
5995
  handleChooseRecord,
5996
5996
  handleClose,
5997
5997
  isShowModalMany2Many,
5998
- setIsShowModalMany2Many
5998
+ setIsShowModalMany2Many,
5999
+ context: contextObject
5999
6000
  };
6000
6001
  };
6001
6002
 
package/dist/widget.d.mts CHANGED
@@ -138,6 +138,7 @@ declare const many2manyTagsController: (props: IMany2ManyTagFieldProps) => {
138
138
  handleClose: () => void;
139
139
  isShowModalMany2Many: boolean;
140
140
  setIsShowModalMany2Many: react.Dispatch<react.SetStateAction<boolean>>;
141
+ context: any;
141
142
  };
142
143
 
143
144
  interface IDurationFieldProps extends IInputFieldProps {
package/dist/widget.d.ts CHANGED
@@ -138,6 +138,7 @@ declare const many2manyTagsController: (props: IMany2ManyTagFieldProps) => {
138
138
  handleClose: () => void;
139
139
  isShowModalMany2Many: boolean;
140
140
  setIsShowModalMany2Many: react.Dispatch<react.SetStateAction<boolean>>;
141
+ context: any;
141
142
  };
142
143
 
143
144
  interface IDurationFieldProps extends IInputFieldProps {
package/dist/widget.js CHANGED
@@ -5083,7 +5083,7 @@ var many2manyTagsController = (props) => {
5083
5083
  ...widget && import_constants2.WIDGETAVATAR[widget] ? { image_256: {} } : {},
5084
5084
  ...widget && import_constants2.WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5085
5085
  },
5086
- context: env.context
5086
+ context: contextObject
5087
5087
  };
5088
5088
  const queryKey = [`data_${relation}`, domainObject];
5089
5089
  const {
@@ -5138,7 +5138,8 @@ var many2manyTagsController = (props) => {
5138
5138
  handleChooseRecord,
5139
5139
  handleClose,
5140
5140
  isShowModalMany2Many,
5141
- setIsShowModalMany2Many
5141
+ setIsShowModalMany2Many,
5142
+ context: contextObject
5142
5143
  };
5143
5144
  };
5144
5145
 
package/dist/widget.mjs CHANGED
@@ -5154,7 +5154,7 @@ var many2manyTagsController = (props) => {
5154
5154
  ...widget && WIDGETAVATAR[widget] ? { image_256: {} } : {},
5155
5155
  ...widget && WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5156
5156
  },
5157
- context: env.context
5157
+ context: contextObject
5158
5158
  };
5159
5159
  const queryKey = [`data_${relation}`, domainObject];
5160
5160
  const {
@@ -5209,7 +5209,8 @@ var many2manyTagsController = (props) => {
5209
5209
  handleChooseRecord,
5210
5210
  handleClose,
5211
5211
  isShowModalMany2Many,
5212
- setIsShowModalMany2Many
5212
+ setIsShowModalMany2Many,
5213
+ context: contextObject
5213
5214
  };
5214
5215
  };
5215
5216
 
package/package.json CHANGED
@@ -1,92 +1,92 @@
1
- {
2
- "name": "@fctc/widget-logic",
3
- "version": "5.4.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
- "./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": "^4.7.6",
78
- "@tanstack/react-query": "^5.84.0",
79
- "i18next": "^25.3.2",
80
- "i18next-browser-languagedetector": "^8.2.0",
81
- "react-i18next": "^15.6.1"
82
- },
83
- "devDependencies": {
84
- "@types/react": "^18.3.1",
85
- "jest": "^29.7.0",
86
- "react": "18.0.0",
87
- "tsup": "^8.0.0",
88
- "typescript": "^5.8.2"
89
- },
90
- "packageManager": "yarn@1.22.0",
91
- "peerDependencies": {}
92
- }
1
+ {
2
+ "name": "@fctc/widget-logic",
3
+ "version": "5.4.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
+ "./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": "^4.7.6",
78
+ "@tanstack/react-query": "^5.84.0",
79
+ "i18next": "^25.3.2",
80
+ "i18next-browser-languagedetector": "^8.2.0",
81
+ "react-i18next": "^15.6.1"
82
+ },
83
+ "devDependencies": {
84
+ "@types/react": "^18.3.1",
85
+ "jest": "^29.7.0",
86
+ "react": "18.0.0",
87
+ "tsup": "^8.0.0",
88
+ "typescript": "^5.8.2"
89
+ },
90
+ "packageManager": "yarn@1.22.0",
91
+ "peerDependencies": {}
92
+ }