@gisce/react-ooui 2.76.0-alpha.1 → 2.76.0-alpha.2
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/context/One2manyContext.d.ts +4 -0
- package/dist/context/One2manyContext.d.ts.map +1 -1
- package/dist/react-ooui.es.js +1209 -1197
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/widgets/base/one2many/One2many.d.ts.map +1 -1
- package/dist/widgets/views/Tree/treeComponents.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ViewType } from '../*/types';
|
|
2
|
+
import { TreeType } from '../*/views/actionViews/TreeActionView';
|
|
2
3
|
import React from "react";
|
|
3
4
|
export type One2manyContextType = {
|
|
4
5
|
currentView: ViewType;
|
|
@@ -7,11 +8,14 @@ export type One2manyContextType = {
|
|
|
7
8
|
setItemIndex: (value: number) => void;
|
|
8
9
|
manualTriggerChange: boolean;
|
|
9
10
|
setManualTriggerChange: (value: boolean) => void;
|
|
11
|
+
treeType: TreeType;
|
|
12
|
+
setTreeType: (type: TreeType) => void;
|
|
10
13
|
};
|
|
11
14
|
export declare const One2manyContext: React.Context<One2manyContextType | null>;
|
|
12
15
|
declare const One2manyProvider: ({ children, initialView, }: {
|
|
13
16
|
children: React.ReactNode;
|
|
14
17
|
initialView: ViewType;
|
|
15
18
|
}) => any;
|
|
19
|
+
export declare const useOne2manyContext: () => One2manyContextType;
|
|
16
20
|
export default One2manyProvider;
|
|
17
21
|
//# sourceMappingURL=One2manyContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"One2manyContext.d.ts","sourceRoot":"","sources":["../../src/context/One2manyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"One2manyContext.d.ts","sourceRoot":"","sources":["../../src/context/One2manyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAEL,QAAQ,EACT,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,QAAQ,CAAC;IACtB,cAAc,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,sBAAsB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,eAAe,2CAE3B,CAAC;AAEF,QAAA,MAAM,gBAAgB;cAIV,MAAM,SAAS;iBACZ,QAAQ;MACnB,GAuBH,CAAC;AAEF,eAAO,MAAM,kBAAkB,2BAE9B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|