@gisce/react-ooui 2.65.0-alpha.7 → 2.65.0-alpha.8

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.
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { InfiniteTableRef } from "@gisce/react-formiga-table";
3
+ import { Tree as TreeOoui } from "@gisce/ooui";
3
4
  export type UseAutorefreshableTreeFieldsOpts = {
4
5
  tableRef: React.RefObject<InfiniteTableRef>;
5
6
  model: string;
@@ -7,6 +8,7 @@ export type UseAutorefreshableTreeFieldsOpts = {
7
8
  autorefreshableFields?: string[];
8
9
  fieldDefs: any;
9
10
  isActive?: boolean;
11
+ treeOoui?: TreeOoui;
10
12
  };
11
13
  export declare const useAutorefreshableTreeFields: (opts: UseAutorefreshableTreeFieldsOpts) => {
12
14
  pause: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useAutorefreshableTreeFields.d.ts","sourceRoot":"","sources":["../../src/hooks/useAutorefreshableTreeFields.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAK9D,MAAM,MAAM,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;IACb,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,4BAA4B,SACjC,gCAAgC;;;CAuGvC,CAAC"}
1
+ {"version":3,"file":"useAutorefreshableTreeFields.d.ts","sourceRoot":"","sources":["../../src/hooks/useAutorefreshableTreeFields.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAK/C,MAAM,MAAM,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;IACb,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,4BAA4B,SACjC,gCAAgC;;;CA8GvC,CAAC"}
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { InfiniteTableRef } from "@gisce/react-formiga-table";
3
+ import { Tree as TreeOoui } from "@gisce/ooui";
4
+ type UseTreeFunctionFieldsReadProps = {
5
+ model: string;
6
+ fields: any;
7
+ tableRef: React.RefObject<InfiniteTableRef>;
8
+ context?: any;
9
+ isActive?: boolean;
10
+ onResultsUpdated?: (updatedResults: any[]) => void;
11
+ treeOoui?: TreeOoui;
12
+ };
13
+ export declare const useTreeFunctionFieldsRead: ({ model, fields, tableRef, context, isActive, onResultsUpdated, treeOoui, }: UseTreeFunctionFieldsReadProps) => {
14
+ refresh: () => void;
15
+ addRecordsToCheckFunctionFields: (records: any[]) => void;
16
+ isFieldLoading: (record: any, fieldName: string) => boolean;
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=useTreeFunctionFieldsRead.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTreeFunctionFieldsRead.d.ts","sourceRoot":"","sources":["../../src/hooks/useTreeFunctionFieldsRead.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAI9D,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAK/C,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,CAAC,cAAc,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,yBAAyB,gFAQnC,8BAA8B;;+CAsI+B,GAAG,EAAE;6BAoDvB,GAAG,aAAa,MAAM;CAoDnE,CAAC"}