@fctc/widget-logic 3.10.8 → 3.10.10

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
@@ -5552,7 +5552,7 @@ var many2oneFieldController = (props) => {
5552
5552
  },
5553
5553
  [methods, name, onChange]
5554
5554
  );
5555
- const allowShowDetail = showDetail && contextObject?.form_view_ref && (!("no_open" in optionsObject) || optionsObject?.no_open === false);
5555
+ const allowShowDetail = showDetail && contextObject?.form_view_ref && (!optionsObject || !("no_open" in optionsObject) || optionsObject.no_open === false);
5556
5556
  return {
5557
5557
  isShowModalMany2Many,
5558
5558
  isFetching,
package/dist/index.mjs CHANGED
@@ -5632,7 +5632,7 @@ var many2oneFieldController = (props) => {
5632
5632
  },
5633
5633
  [methods, name, onChange]
5634
5634
  );
5635
- const allowShowDetail = showDetail && contextObject?.form_view_ref && (!("no_open" in optionsObject) || optionsObject?.no_open === false);
5635
+ const allowShowDetail = showDetail && contextObject?.form_view_ref && (!optionsObject || !("no_open" in optionsObject) || optionsObject.no_open === false);
5636
5636
  return {
5637
5637
  isShowModalMany2Many,
5638
5638
  isFetching,
package/dist/widget.js CHANGED
@@ -4793,7 +4793,7 @@ var many2oneFieldController = (props) => {
4793
4793
  },
4794
4794
  [methods, name, onChange]
4795
4795
  );
4796
- const allowShowDetail = showDetail && contextObject?.form_view_ref && (!("no_open" in optionsObject) || optionsObject?.no_open === false);
4796
+ const allowShowDetail = showDetail && contextObject?.form_view_ref && (!optionsObject || !("no_open" in optionsObject) || optionsObject.no_open === false);
4797
4797
  return {
4798
4798
  isShowModalMany2Many,
4799
4799
  isFetching,
package/dist/widget.mjs CHANGED
@@ -4850,7 +4850,7 @@ var many2oneFieldController = (props) => {
4850
4850
  },
4851
4851
  [methods, name, onChange]
4852
4852
  );
4853
- const allowShowDetail = showDetail && contextObject?.form_view_ref && (!("no_open" in optionsObject) || optionsObject?.no_open === false);
4853
+ const allowShowDetail = showDetail && contextObject?.form_view_ref && (!optionsObject || !("no_open" in optionsObject) || optionsObject.no_open === false);
4854
4854
  return {
4855
4855
  isShowModalMany2Many,
4856
4856
  isFetching,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "3.10.8",
3
+ "version": "3.10.10",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -74,7 +74,7 @@
74
74
  "test": "jest"
75
75
  },
76
76
  "dependencies": {
77
- "@fctc/interface-logic": "^3.5.1",
77
+ "@fctc/interface-logic": "^3.5.2",
78
78
  "@headlessui/react": "^2.2.6",
79
79
  "@tanstack/react-query": "^5.84.0",
80
80
  "i18next": "^25.3.2",