@gisce/react-ooui 2.7.0-alpha.8 → 2.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.
Files changed (52) hide show
  1. package/dist/actionbar/TreeActionBar.d.ts.map +1 -1
  2. package/dist/context/ActionViewContext.d.ts +1 -1
  3. package/dist/context/ActionViewContext.d.ts.map +1 -1
  4. package/dist/helpers/one2manyHelper.d.ts +1 -2
  5. package/dist/helpers/one2manyHelper.d.ts.map +1 -1
  6. package/dist/locales/ca_ES.d.ts +2 -0
  7. package/dist/locales/ca_ES.d.ts.map +1 -1
  8. package/dist/locales/en_US.d.ts +2 -0
  9. package/dist/locales/en_US.d.ts.map +1 -1
  10. package/dist/locales/es_ES.d.ts +2 -0
  11. package/dist/locales/es_ES.d.ts.map +1 -1
  12. package/dist/react-ooui.es.js +4638 -5339
  13. package/dist/react-ooui.es.js.map +1 -1
  14. package/dist/ui/GoToResourceModal.d.ts +1 -1
  15. package/dist/ui/GoToResourceModal.d.ts.map +1 -1
  16. package/dist/ui/RemoveItemDialog.d.ts +3 -2
  17. package/dist/ui/RemoveItemDialog.d.ts.map +1 -1
  18. package/dist/ui/UnlinkItemDialog.d.ts +3 -2
  19. package/dist/ui/UnlinkItemDialog.d.ts.map +1 -1
  20. package/dist/views/ActionView.d.ts.map +1 -1
  21. package/dist/widgets/base/one2many/One2many.d.ts.map +1 -1
  22. package/package.json +4 -5
  23. package/dist/ui/AsyncConfirmModal.d.ts +0 -4
  24. package/dist/ui/AsyncConfirmModal.d.ts.map +0 -1
  25. package/dist/ui/asyncConfirm.d.ts +0 -14
  26. package/dist/ui/asyncConfirm.d.ts.map +0 -1
  27. package/dist/widgets/base/one2many/One2many.types.d.ts +0 -27
  28. package/dist/widgets/base/one2many/One2many.types.d.ts.map +0 -1
  29. package/dist/widgets/base/one2many/One2manyForm.d.ts +0 -12
  30. package/dist/widgets/base/one2many/One2manyForm.d.ts.map +0 -1
  31. package/dist/widgets/base/one2many/One2manyInputInfinite.d.ts +0 -15
  32. package/dist/widgets/base/one2many/One2manyInputInfinite.d.ts.map +0 -1
  33. package/dist/widgets/base/one2many/One2manyTree.d.ts +0 -28
  34. package/dist/widgets/base/one2many/One2manyTree.d.ts.map +0 -1
  35. package/dist/widgets/base/one2many/useOne2manyColumnStorage.d.ts +0 -8
  36. package/dist/widgets/base/one2many/useOne2manyColumnStorage.d.ts.map +0 -1
  37. package/dist/widgets/base/one2many/useOne2manyDomain.d.ts +0 -5
  38. package/dist/widgets/base/one2many/useOne2manyDomain.d.ts.map +0 -1
  39. package/dist/widgets/base/one2many/useOne2manyForm.d.ts +0 -20
  40. package/dist/widgets/base/one2many/useOne2manyForm.d.ts.map +0 -1
  41. package/dist/widgets/base/one2many/useOne2manyFormModal.d.ts +0 -24
  42. package/dist/widgets/base/one2many/useOne2manyFormModal.d.ts.map +0 -1
  43. package/dist/widgets/base/one2many/useOne2manyItems.d.ts +0 -5
  44. package/dist/widgets/base/one2many/useOne2manyItems.d.ts.map +0 -1
  45. package/dist/widgets/base/one2many/useOne2manyRemove.d.ts +0 -12
  46. package/dist/widgets/base/one2many/useOne2manyRemove.d.ts.map +0 -1
  47. package/dist/widgets/base/one2many/useOne2manySearchModal.d.ts +0 -16
  48. package/dist/widgets/base/one2many/useOne2manySearchModal.d.ts.map +0 -1
  49. package/dist/widgets/base/one2many/useOne2manyTree.d.ts +0 -21
  50. package/dist/widgets/base/one2many/useOne2manyTree.d.ts.map +0 -1
  51. package/dist/widgets/base/one2many/useWhyDidYouRender.d.ts +0 -2
  52. package/dist/widgets/base/one2many/useWhyDidYouRender.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  type Props = {
2
2
  visible: boolean;
3
- onIdSubmitted: (ids: number[]) => void;
3
+ onIdSubmitted: (ids: number[], openInSameTab?: boolean) => void;
4
4
  onCancel: () => void;
5
5
  isSearching: boolean;
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"GoToResourceModal.d.ts","sourceRoot":"","sources":["../../src/ui/GoToResourceModal.tsx"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,KAAK,4CA+D7C,CAAC"}
1
+ {"version":3,"file":"GoToResourceModal.d.ts","sourceRoot":"","sources":["../../src/ui/GoToResourceModal.tsx"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,KAAK,4CAkF7C,CAAC"}
@@ -1,5 +1,6 @@
1
- export declare const showRemoveItemDialog: ({ t, onOk, }: {
2
- onOk: () => Promise<void>;
1
+ declare const showDialog: ({ onOk, t, }: {
2
+ onOk: () => void;
3
3
  t: (key: string) => string;
4
4
  }) => void;
5
+ export default showDialog;
5
6
  //# sourceMappingURL=RemoveItemDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/RemoveItemDialog.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;UAIzB,MAAM,QAAQ,IAAI,CAAC;aAChB,MAAM,KAAK,MAAM;UAW3B,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,5 +1,6 @@
1
- export declare const showUnlinkItemDialog: ({ t, onOk, }: {
2
- onOk: () => Promise<void>;
1
+ declare const showDialog: ({ onOk, t, }: {
2
+ onOk: () => void;
3
3
  t: (key: string) => string;
4
4
  }) => void;
5
+ export default showDialog;
5
6
  //# sourceMappingURL=UnlinkItemDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnlinkItemDialog.d.ts","sourceRoot":"","sources":["../../src/ui/UnlinkItemDialog.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;UAIzB,MAAM,QAAQ,IAAI,CAAC;aAChB,MAAM,KAAK,MAAM;UAW3B,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 +1 @@
1
- {"version":3,"file":"ActionView.d.ts","sourceRoot":"","sources":["../../src/views/ActionView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAIf,OAAO,EAIL,eAAe,EAGf,QAAQ,EACT,MAAM,eAAe,CAAC;AAmBvB,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,WAAW,EAAE,eAAe,CAAC;IAC7B,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;AAwdF,wBAAsC"}
1
+ {"version":3,"file":"ActionView.d.ts","sourceRoot":"","sources":["../../src/views/ActionView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAIf,OAAO,EAIL,eAAe,EAGf,QAAQ,EACT,MAAM,eAAe,CAAC;AAmBvB,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,WAAW,EAAE,eAAe,CAAC;IAC7B,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;AAieF,wBAAsC"}
@@ -1 +1 @@
1
- {"version":3,"file":"One2many.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/One2many.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAWvD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,KAAK,4CAsFpC,CAAC"}
1
+ {"version":3,"file":"One2many.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/One2many.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAUvD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,KAAK,4CAoFpC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "2.7.0-alpha.8",
3
+ "version": "2.7.0",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@ant-design/plots": "^1.0.9",
37
- "@gisce/fiber-diagram": "2.1.1-alpha.1",
38
- "@gisce/ooui": "2.4.1-alpha.1",
37
+ "@gisce/fiber-diagram": "2.1.1",
38
+ "@gisce/ooui": "2.4.0",
39
39
  "@gisce/react-formiga-components": "1.6.2",
40
- "@gisce/react-formiga-table": "1.3.0-alpha.2",
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
43
  "antd": "5.13.1",
@@ -54,7 +54,6 @@
54
54
  "react-measure": "^2.5.2",
55
55
  "remark-gfm": "^4.0.0",
56
56
  "styled-components": "5.3.5",
57
- "use-deep-compare": "^1.2.1",
58
57
  "use-deep-compare-effect": "^1.8.1",
59
58
  "validator": "^13.6.0"
60
59
  },
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ConfirmConfig } from "./asyncConfirm";
3
- export declare const AsyncConfirmModal: React.FC<ConfirmConfig>;
4
- //# sourceMappingURL=AsyncConfirmModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AsyncConfirmModal.d.ts","sourceRoot":"","sources":["../../src/ui/AsyncConfirmModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyDrD,CAAC"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ConfirmConfig {
3
- title: string;
4
- content: React.ReactNode;
5
- onOk: () => Promise<void>;
6
- okText?: string;
7
- cancelText?: string;
8
- icon?: React.ReactNode;
9
- centered?: boolean;
10
- }
11
- export declare const asyncConfirm: (config: ConfirmConfig) => {
12
- destroy: () => void;
13
- };
14
- //# sourceMappingURL=asyncConfirm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"asyncConfirm.d.ts","sourceRoot":"","sources":["../../src/ui/asyncConfirm.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,WAAY,aAAa;;CAyBjD,CAAC"}
@@ -1,27 +0,0 @@
1
- /// <reference types="react" />
2
- import { One2many as One2manyOoui, Form as FormOoui, Tree as TreeOoui } from "@gisce/ooui";
3
- import { Views } from '../../../*/types';
4
- type One2manyValue = {
5
- fields?: any;
6
- items: One2manyItem[];
7
- };
8
- type One2manyItem = {
9
- operation?: "original" | "pendingRemove" | "pendingUpdate" | "pendingCreate" | "pendingLink";
10
- id?: number;
11
- values?: any;
12
- treeValues?: any;
13
- defaultValues?: any;
14
- };
15
- export interface One2manyInputProps {
16
- ooui: One2manyOoui;
17
- value?: One2manyValue;
18
- onChange?: (value: One2manyValue) => void;
19
- views: Views;
20
- }
21
- export declare const ViewObjects: {
22
- form: typeof FormOoui;
23
- tree: typeof TreeOoui;
24
- graph: import("react").ForwardRefExoticComponent<import('../../../*/widgets/views/Graph/Graph').GraphProps & import("react").RefAttributes<unknown>>;
25
- };
26
- export {};
27
- //# sourceMappingURL=One2many.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"One2many.types.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/One2many.types.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,IAAI,YAAY,EACxB,IAAI,IAAI,QAAQ,EAChB,IAAI,IAAI,QAAQ,EACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAY,KAAK,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,aAAa,GAAG;IACnB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EACN,UAAU,GACV,eAAe,GACf,eAAe,GACf,eAAe,GACf,aAAa,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,KAAK,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAC"}
@@ -1,12 +0,0 @@
1
- import { FormView } from '../../../*/types';
2
- import { One2manyItem } from "./One2manyInput";
3
- export type One2manyFormProps = {
4
- formView: FormView;
5
- items: One2manyItem[];
6
- context: any;
7
- relation: string;
8
- readOnly: boolean;
9
- onChange: (items: One2manyItem[]) => void;
10
- };
11
- export declare const One2manyForm: ({ formView, items, context, relation, readOnly, onChange, }: One2manyFormProps) => string | import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=One2manyForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"One2manyForm.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/One2manyForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOnC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,YAAY,gEAOtB,iBAAiB,qDAwCnB,CAAC"}
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { One2manyInputProps } from "./One2many.types";
3
- export type One2manyValue = {
4
- fields?: any;
5
- items: One2manyItem[];
6
- };
7
- export type One2manyItem = {
8
- operation?: "original" | "pendingRemove" | "pendingUpdate" | "pendingCreate" | "pendingLink";
9
- id?: number;
10
- values?: any;
11
- treeValues?: any;
12
- defaultValues?: any;
13
- };
14
- export declare const One2manyInput: React.FC<One2manyInputProps>;
15
- //# sourceMappingURL=One2manyInputInfinite.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"One2manyInputInfinite.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/One2manyInputInfinite.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAqBtD,OAAO,sCAAsC,CAAC;AAI9C,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,CAAC,EACN,UAAU,GACV,eAAe,GACf,eAAe,GACf,eAAe,GACf,aAAa,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgQtD,CAAC"}
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import { InfiniteTableRef } from "@gisce/react-formiga-table";
3
- import { One2manyItem } from "./One2manyInput";
4
- import { Tree as TreeOoui } from "@gisce/ooui";
5
- export type One2manyTreeProps = {
6
- items: One2manyItem[];
7
- onRowDoubleClick: (record: any) => void;
8
- readOnly: boolean;
9
- height?: number;
10
- ooui: TreeOoui;
11
- context: any;
12
- onFetchRecords: (idsToFetch: number[]) => Promise<{
13
- results: any[];
14
- colors: {
15
- [key: number]: string;
16
- };
17
- }>;
18
- onRowSelectionChange: (selectedIds: number[]) => void;
19
- gridRef?: React.RefObject<InfiniteTableRef>;
20
- relation: string;
21
- onChangeFirstVisibleRowIndex?: (index: number) => void;
22
- onGetFirstVisibleRowIndex?: () => number | undefined;
23
- onGetSelectedRowKeys?: () => any[];
24
- onAllRowSelectedModeChange?: (allRowSelectedMode: boolean) => void;
25
- allRowSelectedMode?: boolean;
26
- };
27
- export declare const One2manyTree: ({ items, height, onRowDoubleClick, readOnly, ooui, context, onFetchRecords, onRowSelectionChange, gridRef, relation, onChangeFirstVisibleRowIndex, onGetFirstVisibleRowIndex, onGetSelectedRowKeys, onAllRowSelectedModeChange, allRowSelectedMode, }: One2manyTreeProps) => import("react/jsx-runtime").JSX.Element;
28
- //# sourceMappingURL=One2manyTree.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"One2manyTree.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/One2manyTree.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAiB,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQ/C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,gBAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,GAAG,CAAC;IACb,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;QAChD,OAAO,EAAE,GAAG,EAAE,CAAC;QACf,MAAM,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;KACnC,CAAC,CAAC;IACH,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,4BAA4B,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,yBAAyB,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IACrD,oBAAoB,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC;IACnC,0BAA0B,CAAC,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;IACnE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAIF,eAAO,MAAM,YAAY,0PAgBtB,iBAAiB,4CAyGnB,CAAC"}
@@ -1,8 +0,0 @@
1
- import { ColumnState } from "@gisce/react-formiga-table";
2
- export declare const useOne2manyColumnStorage: ({ model }: {
3
- model: string;
4
- }) => {
5
- getColumnState: () => ColumnState[] | undefined;
6
- updateColumnState: (state: ColumnState[]) => void;
7
- };
8
- //# sourceMappingURL=useOne2manyColumnStorage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyColumnStorage.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyColumnStorage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGzD,eAAO,MAAM,wBAAwB;WAAwB,MAAM;;0BAC1B,WAAW,EAAE,GAAG,SAAS;+BAOtD,WAAW,EAAE;CAOxB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const useOne2ManyDomain: ({ fieldName, widgetDomain, }: {
2
- fieldName: string;
3
- widgetDomain?: string | undefined;
4
- }) => any[];
5
- //# sourceMappingURL=useOne2manyDomain.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyDomain.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyDomain.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;eAIjB,MAAM;;WAyClB,CAAC"}
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { One2manyItem } from "./One2manyInput";
3
- import { TreeView, FormView } from '../../../*/types';
4
- export declare const useOne2manyForm: ({ items, relation, context, treeView, formView, triggerChange, }: {
5
- items: One2manyItem[];
6
- context: any[];
7
- relation: string;
8
- treeView: TreeView;
9
- formView: FormView;
10
- triggerChange: (items: One2manyItem[]) => void;
11
- }) => {
12
- showFormChangesDialogIfNeeded: (callback: () => void) => void;
13
- formHasChanges: boolean;
14
- setFormHasChanges: import("react").Dispatch<import("react").SetStateAction<boolean>>;
15
- getOriginalItemsWithRestoredItemId: ({ id }: {
16
- id: number;
17
- }) => Promise<One2manyItem[]>;
18
- onFormChanges: (newUpdatedItems: One2manyItem[]) => void;
19
- };
20
- //# sourceMappingURL=useOne2manyForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyForm.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyForm.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAS7C,eAAO,MAAM,eAAe;WAQnB,YAAY,EAAE;aACZ,GAAG,EAAE;cACJ,MAAM;cACN,QAAQ;cACR,QAAQ;2BACK,YAAY,EAAE,KAAK,IAAI;;8CAmEjC,MAAM,IAAI;;;;YApDA,MAAM;;qCAqCT,YAAY,EAAE;CAuCnC,CAAC"}
@@ -1,24 +0,0 @@
1
- import { One2manyItem } from '../../../*/index';
2
- import { FormView, ViewType } from '../../../*/types';
3
- export declare const useOne2manyFormModal: ({ currentView, inv_field, activeId, showFormChangesDialogIfNeeded, items, triggerChange, setCurrentView, setItemIndex, relation, formView, context, }: {
4
- currentView: string;
5
- inv_field?: string | undefined;
6
- activeId?: number | undefined;
7
- showFormChangesDialogIfNeeded: (callback: () => void) => void;
8
- items: One2manyItem[];
9
- triggerChange: (items: One2manyItem[]) => void;
10
- setCurrentView: (view: ViewType) => void;
11
- setItemIndex: (index: number) => void;
12
- relation: string;
13
- formView: FormView;
14
- context: any;
15
- }) => {
16
- showFormModal: boolean;
17
- modalItem: One2manyItem | undefined;
18
- continuousEntryMode: boolean;
19
- createItem: () => Promise<void>;
20
- onCancelFormModal: () => void;
21
- onFormModalSubmitSucceed: (id: number | undefined, _: any, values: any, x2manyPendingLink?: boolean) => void;
22
- openItemInFormModal: (item: One2manyItem) => Promise<void>;
23
- };
24
- //# sourceMappingURL=useOne2manyFormModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyFormModal.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyFormModal.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,YAAY,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,oBAAoB;iBAalB,MAAM;;;8CAGuB,MAAM,IAAI,KAAK,IAAI;WACtD,YAAY,EAAE;2BACE,YAAY,EAAE,KAAK,IAAI;2BACvB,QAAQ,KAAK,IAAI;0BAClB,MAAM,KAAK,IAAI;cAC3B,MAAM;cACN,QAAQ;aACT,GAAG;;;;;;;mCAkCJ,MAAM,GAAG,SAAS,KACnB,GAAG,UACE,GAAG,sBACQ,OAAO;gCA2Cf,YAAY;CAiC5B,CAAC"}
@@ -1,5 +0,0 @@
1
- import { One2manyItem } from "./One2manyInput";
2
- export declare const useOne2manyItems: ({ one2manyItems, }: {
3
- one2manyItems: One2manyItem[];
4
- }) => One2manyItem[];
5
- //# sourceMappingURL=useOne2manyItems.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyItems.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,gBAAgB;mBAGZ,YAAY,EAAE;oBAG9B,CAAC"}
@@ -1,12 +0,0 @@
1
- import { One2manyItem } from "./One2manyInput";
2
- export declare const useOne2manyRemove: ({ isMany2many, triggerChange, items, setFormHasChanges, selectedRowKeys, setSelectedRowKeys, }: {
3
- isMany2many: boolean;
4
- triggerChange: (items: One2manyItem[]) => void;
5
- items: One2manyItem[];
6
- setFormHasChanges: (hasChanges: boolean) => void;
7
- selectedRowKeys: number[];
8
- setSelectedRowKeys: (selectedRowKeys: number[]) => void;
9
- }) => {
10
- showRemoveConfirm: () => void;
11
- };
12
- //# sourceMappingURL=useOne2manyRemove.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyRemove.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyRemove.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,eAAO,MAAM,iBAAiB;iBAQf,OAAO;2BACG,YAAY,EAAE,KAAK,IAAI;WACvC,YAAY,EAAE;oCACW,OAAO,KAAK,IAAI;qBAC/B,MAAM,EAAE;0CACa,MAAM,EAAE,KAAK,IAAI;;;CAqGxD,CAAC"}
@@ -1,16 +0,0 @@
1
- import { One2manyItem, Views } from '../../../*/index';
2
- export declare const useOne2manySearchModal: ({ currentView, showFormChangesDialogIfNeeded, items, triggerChange, context, views, relation, }: {
3
- currentView: string;
4
- showFormChangesDialogIfNeeded: (callback: () => void) => void;
5
- items: One2manyItem[];
6
- triggerChange: (items: One2manyItem[]) => void;
7
- context: any[];
8
- views: Views;
9
- relation: string;
10
- }) => {
11
- searchItem: () => Promise<void>;
12
- showSearchModal: boolean;
13
- onCloseSearchModal: () => void;
14
- onSelectSearchValues: (ids: number[]) => Promise<void>;
15
- };
16
- //# sourceMappingURL=useOne2manySearchModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manySearchModal.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manySearchModal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIlE,eAAO,MAAM,sBAAsB;iBASpB,MAAM;8CACuB,MAAM,IAAI,KAAK,IAAI;WACtD,YAAY,EAAE;2BACE,YAAY,EAAE,KAAK,IAAI;aACrC,GAAG,EAAE;;cAEJ,MAAM;;;;;gCAkEF,MAAM,EAAE;CAavB,CAAC"}
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import { TreeView } from '../../../*/types';
3
- export declare const useOne2manyTree: ({ treeView, relation, context, }: {
4
- treeView: TreeView;
5
- relation: string;
6
- context: any;
7
- }) => {
8
- onTreeFetchRows: (idsToFetch: number[]) => Promise<{
9
- results: any;
10
- colors: any;
11
- }>;
12
- treeOoui: import("@gisce/ooui/dist/Tree").default;
13
- setSelectedRowKeys: import("react").Dispatch<any>;
14
- selectedRowKeys: any;
15
- onChangeFirstVisibleRowIndex: (index: number) => void;
16
- onGetFirstVisibileRowIndex: () => number;
17
- onGetSelectedRowKeys: () => any;
18
- onChangeAllRowSelectedMode: (value: boolean) => void;
19
- allRowSelectedMode: boolean;
20
- };
21
- //# sourceMappingURL=useOne2manyTree.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOne2manyTree.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useOne2manyTree.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAInC,eAAO,MAAM,eAAe;cAKhB,QAAQ;cACR,MAAM;aACP,GAAG;;kCAmCS,MAAM,EAAE;;;;;;;0CAxB4B,MAAM;;;wCAJR,OAAO;;CA0D/D,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function useWhyDidYouRender(componentName: string, props: any, log?: boolean): void;
2
- //# sourceMappingURL=useWhyDidYouRender.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWhyDidYouRender.d.ts","sourceRoot":"","sources":["../../../../src/widgets/base/one2many/useWhyDidYouRender.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,MAAM,EACrB,KAAK,EAAE,GAAG,EACV,GAAG,GAAE,OAAe,QAwBrB"}