@fctc/widget-logic 4.7.2 → 4.7.3

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/hooks.d.mts CHANGED
@@ -58,7 +58,7 @@ interface RecordMenu {
58
58
  res_model: string;
59
59
  type: string;
60
60
  context: string;
61
- external_xml_id?: number;
61
+ external_xml_id?: string;
62
62
  };
63
63
  active: boolean;
64
64
  child_id?: RecordMenu[];
@@ -563,7 +563,7 @@ declare const AppProvider: ({ children, menuParams, aid, }: {
563
563
  domain?: any;
564
564
  context?: any;
565
565
  };
566
- aid?: number;
566
+ aid?: any;
567
567
  }) => react_jsx_runtime.JSX.Element;
568
568
  declare const useAppProvider: () => AppProviderType;
569
569
 
@@ -768,7 +768,7 @@ declare const useDetail: (sub?: number) => {
768
768
  };
769
769
 
770
770
  declare const useGetAction: ({ aid, context, }: {
771
- aid: number;
771
+ aid: any;
772
772
  context: any;
773
773
  }) => {
774
774
  onLoadAction: () => void;
package/dist/hooks.d.ts CHANGED
@@ -58,7 +58,7 @@ interface RecordMenu {
58
58
  res_model: string;
59
59
  type: string;
60
60
  context: string;
61
- external_xml_id?: number;
61
+ external_xml_id?: string;
62
62
  };
63
63
  active: boolean;
64
64
  child_id?: RecordMenu[];
@@ -563,7 +563,7 @@ declare const AppProvider: ({ children, menuParams, aid, }: {
563
563
  domain?: any;
564
564
  context?: any;
565
565
  };
566
- aid?: number;
566
+ aid?: any;
567
567
  }) => react_jsx_runtime.JSX.Element;
568
568
  declare const useAppProvider: () => AppProviderType;
569
569
 
@@ -768,7 +768,7 @@ declare const useDetail: (sub?: number) => {
768
768
  };
769
769
 
770
770
  declare const useGetAction: ({ aid, context, }: {
771
- aid: number;
771
+ aid: any;
772
772
  context: any;
773
773
  }) => {
774
774
  onLoadAction: () => void;
package/dist/hooks.js CHANGED
@@ -416,7 +416,7 @@ var useMenu = ({
416
416
  }
417
417
  if (aidMenu) {
418
418
  const actionResponse = await callAction({
419
- aid: Number(aidMenu),
419
+ aid: aidMenu,
420
420
  service: service2 ?? "",
421
421
  xNode: xNode2,
422
422
  context: context2
package/dist/hooks.mjs CHANGED
@@ -397,7 +397,7 @@ var useMenu = ({
397
397
  }
398
398
  if (aidMenu) {
399
399
  const actionResponse = await callAction({
400
- aid: Number(aidMenu),
400
+ aid: aidMenu,
401
401
  service: service2 ?? "",
402
402
  xNode: xNode2,
403
403
  context: context2
package/dist/index.js CHANGED
@@ -4466,7 +4466,7 @@ var useMenu = ({
4466
4466
  }
4467
4467
  if (aidMenu) {
4468
4468
  const actionResponse = await callAction({
4469
- aid: Number(aidMenu),
4469
+ aid: aidMenu,
4470
4470
  service: service2 ?? "",
4471
4471
  xNode: xNode2,
4472
4472
  context: context2
package/dist/index.mjs CHANGED
@@ -4556,7 +4556,7 @@ var useMenu = ({
4556
4556
  }
4557
4557
  if (aidMenu) {
4558
4558
  const actionResponse = await callAction({
4559
- aid: Number(aidMenu),
4559
+ aid: aidMenu,
4560
4560
  service: service2 ?? "",
4561
4561
  xNode: xNode2,
4562
4562
  context: context2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "4.7.2",
3
+ "version": "4.7.3",
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": "^4.0.5",
77
+ "@fctc/interface-logic": "^4.0.6",
78
78
  "@headlessui/react": "^2.2.6",
79
79
  "@tanstack/react-query": "^5.84.0",
80
80
  "i18next": "^25.3.2",