@fctc/widget-logic 4.0.0 → 4.0.2

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
@@ -5344,7 +5344,6 @@ var many2oneFieldController = (props) => {
5344
5344
  const [tempSelectedOption, setTempSelectedOption] = (0, import_react16.useState)(null);
5345
5345
  const [domainModal, setDomainModal] = (0, import_react16.useState)(null);
5346
5346
  const [domainObject, setDomainObject] = (0, import_react16.useState)(null);
5347
- const dataUser = user?.userProfile?.data;
5348
5347
  const initValue = methods?.getValues(name);
5349
5348
  const contextObject = {
5350
5349
  ...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
@@ -5426,7 +5425,7 @@ var many2oneFieldController = (props) => {
5426
5425
  },
5427
5426
  context: { ...env.context },
5428
5427
  service: optionsObject ? optionsObject?.service : service,
5429
- xNode: service == "wesap" && dataUser.x_node
5428
+ xNode
5430
5429
  },
5431
5430
  {
5432
5431
  onSuccess: (dataResponse) => {
package/dist/index.mjs CHANGED
@@ -5424,7 +5424,6 @@ var many2oneFieldController = (props) => {
5424
5424
  const [tempSelectedOption, setTempSelectedOption] = useState7(null);
5425
5425
  const [domainModal, setDomainModal] = useState7(null);
5426
5426
  const [domainObject, setDomainObject] = useState7(null);
5427
- const dataUser = user?.userProfile?.data;
5428
5427
  const initValue = methods?.getValues(name);
5429
5428
  const contextObject = {
5430
5429
  ...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
@@ -5506,7 +5505,7 @@ var many2oneFieldController = (props) => {
5506
5505
  },
5507
5506
  context: { ...env.context },
5508
5507
  service: optionsObject ? optionsObject?.service : service,
5509
- xNode: service == "wesap" && dataUser.x_node
5508
+ xNode
5510
5509
  },
5511
5510
  {
5512
5511
  onSuccess: (dataResponse) => {
package/dist/widget.js CHANGED
@@ -4585,7 +4585,6 @@ var many2oneFieldController = (props) => {
4585
4585
  const [tempSelectedOption, setTempSelectedOption] = (0, import_react16.useState)(null);
4586
4586
  const [domainModal, setDomainModal] = (0, import_react16.useState)(null);
4587
4587
  const [domainObject, setDomainObject] = (0, import_react16.useState)(null);
4588
- const dataUser = user?.userProfile?.data;
4589
4588
  const initValue = methods?.getValues(name);
4590
4589
  const contextObject = {
4591
4590
  ...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
@@ -4667,7 +4666,7 @@ var many2oneFieldController = (props) => {
4667
4666
  },
4668
4667
  context: { ...env.context },
4669
4668
  service: optionsObject ? optionsObject?.service : service,
4670
- xNode: service == "wesap" && dataUser.x_node
4669
+ xNode
4671
4670
  },
4672
4671
  {
4673
4672
  onSuccess: (dataResponse) => {
package/dist/widget.mjs CHANGED
@@ -4642,7 +4642,6 @@ var many2oneFieldController = (props) => {
4642
4642
  const [tempSelectedOption, setTempSelectedOption] = useState7(null);
4643
4643
  const [domainModal, setDomainModal] = useState7(null);
4644
4644
  const [domainObject, setDomainObject] = useState7(null);
4645
- const dataUser = user?.userProfile?.data;
4646
4645
  const initValue = methods?.getValues(name);
4647
4646
  const contextObject = {
4648
4647
  ...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
@@ -4724,7 +4723,7 @@ var many2oneFieldController = (props) => {
4724
4723
  },
4725
4724
  context: { ...env.context },
4726
4725
  service: optionsObject ? optionsObject?.service : service,
4727
- xNode: service == "wesap" && dataUser.x_node
4726
+ xNode
4728
4727
  },
4729
4728
  {
4730
4729
  onSuccess: (dataResponse) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
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.3",
77
+ "@fctc/interface-logic": "^3.5.4",
78
78
  "@headlessui/react": "^2.2.6",
79
79
  "@tanstack/react-query": "^5.84.0",
80
80
  "i18next": "^25.3.2",