@fctc/widget-logic 3.6.9 → 3.7.0

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
@@ -5710,14 +5710,20 @@ var many2manyTagsController = (props) => {
5710
5710
  ...widget && import_constants2.WIDGETAVATAR[widget] ? { image_256: {} } : {},
5711
5711
  ...widget && import_constants2.WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5712
5712
  },
5713
- enabled: true,
5714
5713
  context: env.context
5715
5714
  };
5716
5715
  const { data: dataOfSelection } = useGetSelection3({
5717
5716
  data,
5718
- queryKey: [`data_${relation}`],
5717
+ queryKey: [
5718
+ `data_${relation}`,
5719
+ domainObject,
5720
+ formValues?.id,
5721
+ action?.id,
5722
+ action?.res_model
5723
+ ],
5719
5724
  service,
5720
- xNode
5725
+ xNode,
5726
+ enabled: true
5721
5727
  });
5722
5728
  const customNoOptionsMessage = () => placeholderNoOption;
5723
5729
  const transfer = (data2) => {
package/dist/index.mjs CHANGED
@@ -5791,14 +5791,20 @@ var many2manyTagsController = (props) => {
5791
5791
  ...widget && WIDGETAVATAR[widget] ? { image_256: {} } : {},
5792
5792
  ...widget && WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5793
5793
  },
5794
- enabled: true,
5795
5794
  context: env.context
5796
5795
  };
5797
5796
  const { data: dataOfSelection } = useGetSelection3({
5798
5797
  data,
5799
- queryKey: [`data_${relation}`],
5798
+ queryKey: [
5799
+ `data_${relation}`,
5800
+ domainObject,
5801
+ formValues?.id,
5802
+ action?.id,
5803
+ action?.res_model
5804
+ ],
5800
5805
  service,
5801
- xNode
5806
+ xNode,
5807
+ enabled: true
5802
5808
  });
5803
5809
  const customNoOptionsMessage = () => placeholderNoOption;
5804
5810
  const transfer = (data2) => {
package/dist/widget.js CHANGED
@@ -4945,14 +4945,20 @@ var many2manyTagsController = (props) => {
4945
4945
  ...widget && import_constants2.WIDGETAVATAR[widget] ? { image_256: {} } : {},
4946
4946
  ...widget && import_constants2.WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
4947
4947
  },
4948
- enabled: true,
4949
4948
  context: env.context
4950
4949
  };
4951
4950
  const { data: dataOfSelection } = useGetSelection3({
4952
4951
  data,
4953
- queryKey: [`data_${relation}`],
4952
+ queryKey: [
4953
+ `data_${relation}`,
4954
+ domainObject,
4955
+ formValues?.id,
4956
+ action?.id,
4957
+ action?.res_model
4958
+ ],
4954
4959
  service,
4955
- xNode
4960
+ xNode,
4961
+ enabled: true
4956
4962
  });
4957
4963
  const customNoOptionsMessage = () => placeholderNoOption;
4958
4964
  const transfer = (data2) => {
package/dist/widget.mjs CHANGED
@@ -5003,14 +5003,20 @@ var many2manyTagsController = (props) => {
5003
5003
  ...widget && WIDGETAVATAR[widget] ? { image_256: {} } : {},
5004
5004
  ...widget && WIDGETCOLOR[widget] && addtionalFields?.color_field ? { color: {} } : {}
5005
5005
  },
5006
- enabled: true,
5007
5006
  context: env.context
5008
5007
  };
5009
5008
  const { data: dataOfSelection } = useGetSelection3({
5010
5009
  data,
5011
- queryKey: [`data_${relation}`],
5010
+ queryKey: [
5011
+ `data_${relation}`,
5012
+ domainObject,
5013
+ formValues?.id,
5014
+ action?.id,
5015
+ action?.res_model
5016
+ ],
5012
5017
  service,
5013
- xNode
5018
+ xNode,
5019
+ enabled: true
5014
5020
  });
5015
5021
  const customNoOptionsMessage = () => placeholderNoOption;
5016
5022
  const transfer = (data2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "3.6.9",
3
+ "version": "3.7.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",