@gisce/react-ooui 2.0.9 → 2.1.0-alpha.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.
Files changed (49) hide show
  1. package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +1 -1
  2. package/dist/actionbar/ChangeViewButton.d.ts.map +1 -1
  3. package/dist/actionbar/FormActionBar.d.ts.map +1 -1
  4. package/dist/actionbar/TreeActionBar.d.ts.map +1 -1
  5. package/dist/context/ConfigContext.d.ts +17 -9
  6. package/dist/context/ConfigContext.d.ts.map +1 -1
  7. package/dist/hooks/useExport.d.ts +1 -2
  8. package/dist/hooks/useExport.d.ts.map +1 -1
  9. package/dist/index.d.ts +4 -2
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/locales/ca_ES.d.ts.map +1 -1
  12. package/dist/locales/en_US.d.ts.map +1 -1
  13. package/dist/locales/es_ES.d.ts.map +1 -1
  14. package/dist/locales/index.d.ts +3 -0
  15. package/dist/locales/index.d.ts.map +1 -0
  16. package/dist/models/erpFeature.d.ts +10 -0
  17. package/dist/models/erpFeature.d.ts.map +1 -0
  18. package/dist/react-ooui.es.js +5134 -5147
  19. package/dist/react-ooui.es.js.map +1 -1
  20. package/dist/ui/ConfirmDialog.d.ts +2 -2
  21. package/dist/ui/ConfirmDialog.d.ts.map +1 -1
  22. package/dist/ui/FormErrorsDialog.d.ts +1 -1
  23. package/dist/ui/FormErrorsDialog.d.ts.map +1 -1
  24. package/dist/ui/RefreshItemDialog.d.ts +2 -2
  25. package/dist/ui/RefreshItemDialog.d.ts.map +1 -1
  26. package/dist/ui/RemoveItemDialog.d.ts +2 -2
  27. package/dist/ui/RemoveItemDialog.d.ts.map +1 -1
  28. package/dist/ui/UnlinkItemDialog.d.ts +2 -2
  29. package/dist/ui/UnlinkItemDialog.d.ts.map +1 -1
  30. package/dist/ui/UnsavedChangesDialog.d.ts +2 -2
  31. package/dist/ui/UnsavedChangesDialog.d.ts.map +1 -1
  32. package/dist/views/RootView.d.ts +3 -6
  33. package/dist/views/RootView.d.ts.map +1 -1
  34. package/dist/widgets/base/many2one/Many2one.d.ts.map +1 -1
  35. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +2 -0
  36. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +1 -1
  37. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +3 -2
  38. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +1 -1
  39. package/dist/widgets/base/many2one/Many2oneSuffixOoui.d.ts +28 -0
  40. package/dist/widgets/base/many2one/Many2oneSuffixOoui.d.ts.map +1 -0
  41. package/dist/widgets/base/many2one/Many2oneSuffixUi.d.ts +7 -0
  42. package/dist/widgets/base/many2one/Many2oneSuffixUi.d.ts.map +1 -0
  43. package/dist/widgets/custom/ButtonGroup.d.ts.map +1 -1
  44. package/dist/widgets/modals/ExportModal.d.ts +0 -1
  45. package/dist/widgets/modals/ExportModal.d.ts.map +1 -1
  46. package/dist/widgets/views/Form.d.ts.map +1 -1
  47. package/package.json +5 -5
  48. package/dist/context/LocaleContext.d.ts +0 -14
  49. package/dist/context/LocaleContext.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
- declare const showDialog: ({ onOk, confirmMessage, lang, }: {
1
+ declare const showDialog: ({ onOk, confirmMessage, t, }: {
2
2
  onOk: () => void;
3
3
  confirmMessage: string;
4
- lang: string;
4
+ t: (key: string) => string;
5
5
  }) => void;
6
6
  export default showDialog;
7
7
  //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../src/ui/ConfirmDialog.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;UAKR,MAAM,IAAI;oBACA,MAAM;UAChB,MAAM;UAWb,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../src/ui/ConfirmDialog.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;UAKR,MAAM,IAAI;oBACA,MAAM;aACb,MAAM,KAAK,MAAM;UAW3B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const showDialog: (lang: string) => void;
1
+ declare const showDialog: (t: (key: string) => string) => void;
2
2
  export default showDialog;
3
3
  //# sourceMappingURL=FormErrorsDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormErrorsDialog.d.ts","sourceRoot":"","sources":["../../src/ui/FormErrorsDialog.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU,SAAU,MAAM,SAO/B,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"FormErrorsDialog.d.ts","sourceRoot":"","sources":["../../src/ui/FormErrorsDialog.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU,YAAa,MAAM,KAAK,MAAM,SAO7C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,7 +1,7 @@
1
- declare const showDialog: ({ onOk, onCancel, lang, }: {
1
+ declare const showDialog: ({ onOk, onCancel, t, }: {
2
2
  onOk: () => void;
3
3
  onCancel?: (() => void) | undefined;
4
- lang: string;
4
+ t: (key: string) => string;
5
5
  }) => void;
6
6
  export default showDialog;
7
7
  //# sourceMappingURL=RefreshItemDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RefreshItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/RefreshItemDialog.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;UAKR,MAAM,IAAI;sBACC,IAAI;UACf,MAAM;UAYb,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"RefreshItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/RefreshItemDialog.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;UAKR,MAAM,IAAI;sBACC,IAAI;aACZ,MAAM,KAAK,MAAM;UAY3B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
- declare const showDialog: ({ onOk, lang }: {
1
+ declare const showDialog: ({ onOk, t, }: {
2
2
  onOk: () => void;
3
- lang: string;
3
+ t: (key: string) => string;
4
4
  }) => void;
5
5
  export default showDialog;
6
6
  //# sourceMappingURL=RemoveItemDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/RemoveItemDialog.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;UAA4B,MAAM,IAAI;UAAQ,MAAM;UAUnE,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"RemoveItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/RemoveItemDialog.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;UAIR,MAAM,IAAI;aACP,MAAM,KAAK,MAAM;UAW3B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
- declare const showDialog: ({ onOk, lang }: {
1
+ declare const showDialog: ({ onOk, t, }: {
2
2
  onOk: () => void;
3
- lang: string;
3
+ t: (key: string) => string;
4
4
  }) => void;
5
5
  export default showDialog;
6
6
  //# sourceMappingURL=UnlinkItemDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnlinkItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/UnlinkItemDialog.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;UAA4B,MAAM,IAAI;UAAQ,MAAM;UAUnE,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"UnlinkItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/UnlinkItemDialog.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;UAIR,MAAM,IAAI;aACP,MAAM,KAAK,MAAM;UAW3B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,7 +1,7 @@
1
- declare const showDialog: ({ onOk, onCancel, lang, }: {
1
+ declare const showDialog: ({ onOk, onCancel, t, }: {
2
2
  onOk: () => void;
3
3
  onCancel?: (() => void) | undefined;
4
- lang: string;
4
+ t: (key: string) => string;
5
5
  }) => void;
6
6
  export default showDialog;
7
7
  //# sourceMappingURL=UnsavedChangesDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnsavedChangesDialog.d.ts","sourceRoot":"","sources":["../../src/ui/UnsavedChangesDialog.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;UAKR,MAAM,IAAI;sBACC,IAAI;UACf,MAAM;UAYb,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"UnsavedChangesDialog.d.ts","sourceRoot":"","sources":["../../src/ui/UnsavedChangesDialog.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU;UAKR,MAAM,IAAI;sBACC,IAAI;aACZ,MAAM,KAAK,MAAM;UAY3B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,14 +1,11 @@
1
- import React from "react";
1
+ import { ReactNode } from "react";
2
2
  type RootViewProps = {
3
- children: React.ReactNode;
4
- globalValues?: any;
5
- rootContext?: any;
6
- lang: string;
3
+ children: ReactNode;
7
4
  };
8
5
  export type ActionInfo = {
9
6
  id: number;
10
7
  type: string;
11
8
  };
12
- declare const _default: React.ForwardRefExoticComponent<RootViewProps & React.RefAttributes<unknown>>;
9
+ declare const _default: import("react").ForwardRefExoticComponent<RootViewProps & import("react").RefAttributes<unknown>>;
13
10
  export default _default;
14
11
  //# sourceMappingURL=RootView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RootView.d.ts","sourceRoot":"","sources":["../../src/views/RootView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAaf,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;;AAgeF,wBAAoC"}
1
+ {"version":3,"file":"RootView.d.ts","sourceRoot":"","sources":["../../src/views/RootView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,SAAS,EACV,MAAM,OAAO,CAAC;AAcf,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;;AA8dF,wBAAoC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Many2one.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2one.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AASvE,OAAO,EACL,QAAQ,IAAI,YAAY,EAEzB,MAAM,aAAa,CAAC;AAcrB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,iBAAiB,CAAC,EACd,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC,GAC5D,SAAS,CAAC;IACd,aAAa,CAAC,EACV,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC,GAC5D,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,KAAK,4CAcpC,CAAC;AAEF,UAAU,kBAAkB;IAC1B,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiQtD,CAAC"}
1
+ {"version":3,"file":"Many2one.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2one.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AASvE,OAAO,EACL,QAAQ,IAAI,YAAY,EAEzB,MAAM,aAAa,CAAC;AAcrB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,iBAAiB,CAAC,EACd,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC,GAC5D,SAAS,CAAC;IACd,aAAa,CAAC,EACV,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC,GAC5D,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,KAAK,4CAcpC,CAAC;AAEF,UAAU,kBAAkB;IAC1B,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoQtD,CAAC"}
@@ -1,8 +1,10 @@
1
+ import { FormView } from '../../../*/types';
1
2
  type Props = {
2
3
  id: number;
3
4
  model: string;
4
5
  context?: any;
5
6
  };
6
7
  export declare const Many2oneSuffix: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
8
+ export declare const getFieldsToRetrieve: (formView: FormView) => string[];
7
9
  export {};
8
10
  //# sourceMappingURL=Many2oneSuffix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Many2oneSuffix.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2oneSuffix.tsx"],"names":[],"mappings":"AAwBA,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,KAAK,mDA4M1C,CAAC"}
1
+ {"version":3,"file":"Many2oneSuffix.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2oneSuffix.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAcnC,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,KAAK,mDAsG1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,QAAQ,KAAG,MAAM,EAmB9D,CAAC"}
@@ -1,7 +1,8 @@
1
+ import { DropdownMenuItem } from "@gisce/react-formiga-components";
1
2
  type Props = {
2
3
  visible: boolean;
3
- items: any[];
4
- onItemClicked: (item: any) => void;
4
+ items: DropdownMenuItem[];
5
+ onItemClicked?: (item: DropdownMenuItem) => void;
5
6
  onCancel: () => void;
6
7
  };
7
8
  export declare const Many2oneSuffixModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Many2oneSuffixModal.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2oneSuffixModal.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,aAAa,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAW,KAAK,4CA8B/C,CAAC"}
1
+ {"version":3,"file":"Many2oneSuffixModal.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2oneSuffixModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAW,KAAK,4CA+B/C,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { DropdownMenuItem } from "@gisce/react-formiga-components";
2
+ export type Action = Record<string, any> & {
3
+ id: number;
4
+ name: string;
5
+ type: string;
6
+ context: any;
7
+ domain: any;
8
+ };
9
+ export type ActionRelatePrint = {
10
+ actionItems: Action[];
11
+ relateItems: Action[];
12
+ printItems: Action[];
13
+ };
14
+ export type Many2OneSuffixOnItemClickOpts = {
15
+ item: DropdownMenuItem;
16
+ type: "action" | "print" | "relate";
17
+ };
18
+ type Many2oneSuffixProps = {
19
+ onRetrieveData: () => Promise<{
20
+ actionItems: Action[];
21
+ relateItems: Action[];
22
+ printItems: Action[];
23
+ } | undefined>;
24
+ onItemClick?: (opts: Many2OneSuffixOnItemClickOpts) => void;
25
+ };
26
+ export declare const Many2oneSuffixOoui: ({ onRetrieveData, onItemClick, }: Many2oneSuffixProps) => import("react/jsx-runtime").JSX.Element;
27
+ export {};
28
+ //# sourceMappingURL=Many2oneSuffixOoui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Many2oneSuffixOoui.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2oneSuffixOoui.tsx"],"names":[],"mappings":"AAOA,OAAO,EAGL,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AAGzC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,CAAC;IACb,MAAM,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;CACrC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,cAAc,EAAE,MAAM,OAAO,CACzB;QACE,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,UAAU,EAAE,MAAM,EAAE,CAAC;KACtB,GACD,SAAS,CACZ,CAAC;IACF,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,kBAAkB,qCAG5B,mBAAmB,4CAiFrB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { DropdownMenuGroup, DropdownMenuItem } from "@gisce/react-formiga-components";
2
+ export type Many2oneSuffixUiProps = {
3
+ onRetrieveData: () => Promise<DropdownMenuGroup[]>;
4
+ onItemClick?: (item: DropdownMenuItem) => void;
5
+ };
6
+ export declare const Many2oneSuffixUi: ({ onRetrieveData, onItemClick, }: Many2oneSuffixUiProps) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=Many2oneSuffixUi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Many2oneSuffixUi.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/many2one/Many2oneSuffixUi.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAAG;IAClC,cAAc,EAAE,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,gBAAgB,qCAG1B,qBAAqB,4CAWvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/ButtonGroup.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,WAAW,IAAI,eAAe,EAG/B,MAAM,aAAa,CAAC;AAOrB,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAQF,eAAO,MAAM,WAAW,UAAW,gBAAgB,+DA+ElD,CAAC"}
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/ButtonGroup.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,WAAW,IAAI,eAAe,EAG/B,MAAM,aAAa,CAAC;AAMrB,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAOF,eAAO,MAAM,WAAW,UAAW,gBAAgB,+DA6ElD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export type ExportModalProps = {
2
2
  visible: boolean;
3
- locale: string;
4
3
  onClose: () => void;
5
4
  selectedRegistersToExport?: any[];
6
5
  totalRegisters: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ExportModal.d.ts","sourceRoot":"","sources":["../../../src/widgets/modals/ExportModal.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAqDlD,CAAC"}
1
+ {"version":3,"file":"ExportModal.d.ts","sourceRoot":"","sources":["../../../src/widgets/modals/ExportModal.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAkDlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/widgets/views/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAkCf,OAAO,EAAE,QAAQ,EAAgB,MAAM,SAAS,CAAC;AAmBjD,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,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ots": "^1.0.9",
37
37
  "@gisce/fiber-diagram": "^1.1.0-rc.3",
38
38
  "@gisce/ooui": "2.0.1",
39
- "@gisce/react-formiga-components": "1.1.0",
39
+ "@gisce/react-formiga-components": "1.2.0-alpha.10",
40
40
  "@gisce/react-formiga-table": "1.2.0",
41
41
  "@monaco-editor/react": "^4.4.5",
42
42
  "@tabler/icons-react": "^2.11.0",
43
- "antd": "^5.5.2",
43
+ "antd": "5.13.1",
44
44
  "buffer": "^6.0.3",
45
45
  "file-type-buffer-browser": "git+ssh://git@github.com/mguellsegarra/file-type-buffer-browser.git",
46
46
  "interweave": "^13.0.0",
@@ -99,7 +99,7 @@
99
99
  "rollup-plugin-peer-deps-external": "^2.2.4",
100
100
  "semantic-release": "21.0.7",
101
101
  "storybook": "^7.6.5",
102
- "typescript": "^5.0.4",
102
+ "typescript": "5.3.3",
103
103
  "vite": "4.5.1",
104
104
  "vite-bundle-visualizer": "^0.10.0",
105
105
  "vite-plugin-dts": "^3.6.0",
@@ -146,7 +146,7 @@
146
146
  ]
147
147
  },
148
148
  "overrides": {
149
- "rc-dropdown": "3.2.0",
149
+ "antd": "5.13.1",
150
150
  "react": "18.2.0",
151
151
  "react-dom": "18.2.0"
152
152
  }
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- export type LocaleContextType = {
3
- lang: string;
4
- t: (key: string) => string;
5
- };
6
- export declare const LocaleContext: React.Context<LocaleContextType | null>;
7
- type LocaleContextProps = {
8
- children: React.ReactNode;
9
- lang: string;
10
- };
11
- declare const LocaleContextProvider: (props: LocaleContextProps) => any;
12
- export declare const tForLang: (key: string, lang: string) => any;
13
- export default LocaleContextProvider;
14
- //# sourceMappingURL=LocaleContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocaleContext.d.ts","sourceRoot":"","sources":["../../src/context/LocaleContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa,yCAEzB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,qBAAqB,UAAW,kBAAkB,KAAG,GAiB1D,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAS,MAAM,QAAQ,MAAM,QAGjD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}