@fctc/widget-logic 3.2.4 → 3.2.6
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.js +2 -2
- package/dist/widget.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5377,7 +5377,7 @@ var many2oneFieldController = (props) => {
|
|
|
5377
5377
|
JSON.parse(JSON.stringify({ ...formValues, context: contextObject })) ?? {}
|
|
5378
5378
|
)
|
|
5379
5379
|
);
|
|
5380
|
-
}, [domain
|
|
5380
|
+
}, [domain]);
|
|
5381
5381
|
(0, import_react16.useEffect)(() => {
|
|
5382
5382
|
if (!propValue && tempSelectedOption) {
|
|
5383
5383
|
methods.setValue(name, null);
|
|
@@ -5651,7 +5651,7 @@ var many2manyTagsController = (props) => {
|
|
|
5651
5651
|
const addtionalFields = optionsFields ? (0, import_utils10.evalJSONContext)(optionsFields) : null;
|
|
5652
5652
|
const domainObject = (0, import_react18.useMemo)(
|
|
5653
5653
|
() => (0, import_utils10.evalJSONDomain)(domain, JSON.parse(JSON.stringify(formValues || {}))),
|
|
5654
|
-
[domain
|
|
5654
|
+
[domain]
|
|
5655
5655
|
);
|
|
5656
5656
|
const data = {
|
|
5657
5657
|
model: relation ?? "",
|
package/dist/index.mjs
CHANGED
|
@@ -5458,7 +5458,7 @@ var many2oneFieldController = (props) => {
|
|
|
5458
5458
|
JSON.parse(JSON.stringify({ ...formValues, context: contextObject })) ?? {}
|
|
5459
5459
|
)
|
|
5460
5460
|
);
|
|
5461
|
-
}, [domain
|
|
5461
|
+
}, [domain]);
|
|
5462
5462
|
useEffect10(() => {
|
|
5463
5463
|
if (!propValue && tempSelectedOption) {
|
|
5464
5464
|
methods.setValue(name, null);
|
|
@@ -5732,7 +5732,7 @@ var many2manyTagsController = (props) => {
|
|
|
5732
5732
|
const addtionalFields = optionsFields ? evalJSONContext5(optionsFields) : null;
|
|
5733
5733
|
const domainObject = useMemo9(
|
|
5734
5734
|
() => evalJSONDomain4(domain, JSON.parse(JSON.stringify(formValues || {}))),
|
|
5735
|
-
[domain
|
|
5735
|
+
[domain]
|
|
5736
5736
|
);
|
|
5737
5737
|
const data = {
|
|
5738
5738
|
model: relation ?? "",
|
package/dist/widget.js
CHANGED
|
@@ -4622,7 +4622,7 @@ var many2oneFieldController = (props) => {
|
|
|
4622
4622
|
JSON.parse(JSON.stringify({ ...formValues, context: contextObject })) ?? {}
|
|
4623
4623
|
)
|
|
4624
4624
|
);
|
|
4625
|
-
}, [domain
|
|
4625
|
+
}, [domain]);
|
|
4626
4626
|
(0, import_react16.useEffect)(() => {
|
|
4627
4627
|
if (!propValue && tempSelectedOption) {
|
|
4628
4628
|
methods.setValue(name, null);
|
|
@@ -4896,7 +4896,7 @@ var many2manyTagsController = (props) => {
|
|
|
4896
4896
|
const addtionalFields = optionsFields ? (0, import_utils10.evalJSONContext)(optionsFields) : null;
|
|
4897
4897
|
const domainObject = (0, import_react18.useMemo)(
|
|
4898
4898
|
() => (0, import_utils10.evalJSONDomain)(domain, JSON.parse(JSON.stringify(formValues || {}))),
|
|
4899
|
-
[domain
|
|
4899
|
+
[domain]
|
|
4900
4900
|
);
|
|
4901
4901
|
const data = {
|
|
4902
4902
|
model: relation ?? "",
|
package/dist/widget.mjs
CHANGED
|
@@ -4680,7 +4680,7 @@ var many2oneFieldController = (props) => {
|
|
|
4680
4680
|
JSON.parse(JSON.stringify({ ...formValues, context: contextObject })) ?? {}
|
|
4681
4681
|
)
|
|
4682
4682
|
);
|
|
4683
|
-
}, [domain
|
|
4683
|
+
}, [domain]);
|
|
4684
4684
|
useEffect10(() => {
|
|
4685
4685
|
if (!propValue && tempSelectedOption) {
|
|
4686
4686
|
methods.setValue(name, null);
|
|
@@ -4954,7 +4954,7 @@ var many2manyTagsController = (props) => {
|
|
|
4954
4954
|
const addtionalFields = optionsFields ? evalJSONContext5(optionsFields) : null;
|
|
4955
4955
|
const domainObject = useMemo9(
|
|
4956
4956
|
() => evalJSONDomain4(domain, JSON.parse(JSON.stringify(formValues || {}))),
|
|
4957
|
-
[domain
|
|
4957
|
+
[domain]
|
|
4958
4958
|
);
|
|
4959
4959
|
const data = {
|
|
4960
4960
|
model: relation ?? "",
|