@finos/legend-query-builder 4.14.69 → 4.14.70
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +87 -52
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +4 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +172 -108
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +29 -18
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +13 -4
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +4 -3
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +12 -0
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +60 -8
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +16 -2
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -0
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +34 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/QueryBuilderFilterHelper.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderFilterHelper.js +3 -0
- package/lib/components/shared/QueryBuilderFilterHelper.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +11 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +6 -3
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +4 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.js +5 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +11 -3
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +47 -4
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +4 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +3 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +63 -8
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.d.ts +24 -0
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.d.ts.map +1 -0
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js +39 -0
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +8 -4
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +204 -114
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +8 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +12 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +8 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +27 -10
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +8 -8
- package/src/__lib__/QueryBuilderTesting.ts +1 -0
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +220 -114
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +618 -388
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +5 -2
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +78 -44
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +63 -10
- package/src/components/filter/QueryBuilderFilterPanel.tsx +4 -2
- package/src/components/result/QueryBuilderResultPanel.tsx +207 -20
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +16 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +43 -0
- package/src/components/shared/QueryBuilderFilterHelper.ts +8 -0
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +13 -3
- package/src/graph-manager/QueryBuilderConfig.ts +6 -0
- package/src/stores/QueryBuilderResultState.ts +64 -10
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +5 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +92 -8
- package/src/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.ts +46 -0
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +280 -142
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +8 -1
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +15 -2
- package/src/stores/filter/QueryBuilderFilterState.ts +34 -11
- package/tsconfig.json +1 -0
@@ -49,6 +49,7 @@ export declare enum QUERY_BUILDER_TEST_ID {
|
|
49
49
|
QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
|
50
50
|
QUERY_BUILDER_RESULT_PANEL = "query__builder__result__panel",
|
51
51
|
QUERY_BUILDER_RESULT_ANALYTICS = "query__builder__result__analytics",
|
52
|
+
QUERY_BUILDER_RESULT_GRID_CUSTOM_HEADER = "query__builder__result__grid__custom-header",
|
52
53
|
QUERY_BUILDER_RESULT_MODIFIER_PANEL = "query__builder__result__modifier__panel",
|
53
54
|
QUERY_BUILDER_RESULT_MODIFIER_PANEL_SORT_REMOVE_BTN = "query__builder__projection__options__sort__remove-btn",
|
54
55
|
QUERY_BUILDER_RESULT_MODIFIER_PANEL__WATERMAKR = "query__builder__result__modifier__panel__watermark"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,6BAA6B,qCAAqC;IAClE,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,oCAAoC,6CAA6C;IACjF,uCAAuC,gDAAgD;IACvF,wCAAwC,iDAAiD;IACzF,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qDAAqD;IAEnG,+BAA+B,uCAAuC;IACtE,8BAA8B,uCAAuC;IACrE,yCAAyC,mDAAmD;IAC5F,4CAA4C,sDAAsD;IAClG,6CAA6C,uDAAuD;IACpG,2CAA2C,qDAAqD;IAEhG,4BAA4B,2BAA2B;IAEvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,8BAA8B,sCAAsC;IAEpE,wBAAwB,8BAA8B;IAEtD,uBAAuB,6BAA6B;IAEpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;
|
1
|
+
{"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,6BAA6B,qCAAqC;IAClE,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,oCAAoC,6CAA6C;IACjF,uCAAuC,gDAAgD;IACvF,wCAAwC,iDAAiD;IACzF,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qDAAqD;IAEnG,+BAA+B,uCAAuC;IACtE,8BAA8B,uCAAuC;IACrE,yCAAyC,mDAAmD;IAC5F,4CAA4C,sDAAsD;IAClG,6CAA6C,uDAAuD;IACpG,2CAA2C,qDAAqD;IAEhG,4BAA4B,2BAA2B;IAEvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,8BAA8B,sCAAsC;IAEpE,wBAAwB,8BAA8B;IAEtD,uBAAuB,6BAA6B;IAEpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IACpE,uCAAuC,gDAAgD;IAEvF,mCAAmC,4CAA4C;IAC/E,mDAAmD,0DAA0D;IAC7G,8CAA8C,uDAAuD;CACtG"}
|
@@ -58,6 +58,7 @@ export var QUERY_BUILDER_TEST_ID;
|
|
58
58
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
|
59
59
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_PANEL"] = "query__builder__result__panel";
|
60
60
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_ANALYTICS"] = "query__builder__result__analytics";
|
61
|
+
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_GRID_CUSTOM_HEADER"] = "query__builder__result__grid__custom-header";
|
61
62
|
// result modifier panel
|
62
63
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_MODIFIER_PANEL"] = "query__builder__result__modifier__panel";
|
63
64
|
QUERY_BUILDER_TEST_ID["QUERY_BUILDER_RESULT_MODIFIER_PANEL_SORT_REMOVE_BTN"] = "query__builder__projection__options__sort__remove-btn";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAkDX;AAlDD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,0EAAiD,CAAA;IACjD,sEAA6C,CAAA;IAC7C,2FAAkE,CAAA;IAClE,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,0GAAiF,CAAA;IACjF,gHAAuF,CAAA;IACvF,kHAAyF,CAAA;IACzF,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,8FAAqE,CAAA;IACrE,qHAA4F,CAAA;IAC5F,2HAAkG,CAAA;IAClG,6HAAoG,CAAA;IACpG,yHAAgG,CAAA;IAChG,wBAAwB;IACxB,gFAAuD,CAAA;IACvD,iBAAiB;IACjB,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,6FAAoE,CAAA;IACpE,kBAAkB;IAClB,+EAAsD,CAAA;IACtD,iBAAiB;IACjB,6EAAoD,CAAA;IACpD,QAAQ;IACR,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,gHAAuF,CAAA;IACvF,wBAAwB;IACxB,wGAA+E,CAAA;IAC/E,sIAA6G,CAAA;IAC7G,8HAAqG,CAAA;AACvG,CAAC,EAlDW,qBAAqB,KAArB,qBAAqB,QAkDhC"}
|
@@ -37,6 +37,7 @@ export declare const renderPropertyTypeIcon: (type: Type) => React.ReactNode;
|
|
37
37
|
* Note: Derived property nodes will be ranked lower for each relevant return type
|
38
38
|
*/
|
39
39
|
export declare const getQueryBuilderExplorerTreeNodeSortRank: (node: QueryBuilderExplorerTreeNodeData) => number;
|
40
|
+
export declare const QUERY_BUILDER_EXPLORER_SEARCH_INPUT_NAME = "query-builder-explorer-search-input";
|
40
41
|
export declare const QueryBuilderExplorerPanel: ((props: {
|
41
42
|
queryBuilderState: QueryBuilderState;
|
42
43
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAsCd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,gCAAgC,EAMtC,MAAM,oDAAoD,CAAC;AAM5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,OAAO,EACL,KAAK,IAAI,EACT,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,EAQN,MAAM,qBAAqB,CAAC;AAkB7B,eAAO,MAAM,sBAAsB,SAC3B,gCAAgC,SAC/B,SAAS,YACN,QAAQ,CAAC,gCAAgC,CAAC,KACnD,OAmBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,gCAAgC,qBACnB,iBAAiB,KACnC,OAkBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,YAAY,EAAE,YAAY,CAAC;CAC5B,CA8EA,CAAC;AAoKF,eAAO,MAAM,sBAAsB,SAAU,IAAI,KAAG,KAAK,CAAC,SA8BzD,CAAC;AA0VF;;;;;;;GAOG;AACH,eAAO,MAAM,uCAAuC,SAC5C,gCAAgC,KACrC,MAUF,CAAC;AAqDF,eAAO,MAAM,wCAAwC,wCACd,CAAC;AAiIxC,eAAO,MAAM,yBAAyB,WAC5B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAwJjD,CAAC"}
|
@@ -14,18 +14,18 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { forwardRef, useEffect, useRef, useState } from 'react';
|
17
|
+
import { forwardRef, useEffect, useMemo, useRef, useState } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { Tooltip, clsx, Dialog, TreeView, BlankPanelContent, ControlledDropdownMenu, ContextMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, StringTypeIcon, ToggleIcon, HashtagIcon, ClockIcon, ChevronDownIcon, ChevronRightIcon, MoreVerticalIcon, CompressIcon, EyeIcon, InfoCircleIcon, PURE_ClassIcon, CheckIcon, SearchIcon, PanelLoadingIndicator, DragPreviewLayer, useDragPreviewLayer, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelHeaderActionItem, PanelHeaderActions, PanelHeader, } from '@finos/legend-art';
|
20
|
-
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, QueryBuilderExplorerTreeRootNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData,
|
19
|
+
import { Tooltip, clsx, Dialog, TreeView, BlankPanelContent, ControlledDropdownMenu, ContextMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, StringTypeIcon, ToggleIcon, HashtagIcon, ClockIcon, ChevronDownIcon, ChevronRightIcon, MoreVerticalIcon, CompressIcon, EyeIcon, InfoCircleIcon, PURE_ClassIcon, CheckIcon, SearchIcon, PanelLoadingIndicator, DragPreviewLayer, useDragPreviewLayer, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelHeaderActionItem, PanelHeaderActions, PanelHeader, TimesIcon, ClickAwayListener, } from '@finos/legend-art';
|
20
|
+
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, QueryBuilderExplorerTreeRootNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, buildPropertyExpressionFromExplorerTreeNodeData, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
21
21
|
import { useDrag } from 'react-dnd';
|
22
22
|
import { QueryBuilderPropertyInfoTooltip, QueryBuilderTaggedValueInfoTooltip, } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
23
23
|
import { flowResult } from 'mobx';
|
24
24
|
import { getPropertyChainName } from '../../stores/QueryBuilderPropertyEditorState.js';
|
25
|
-
import { Class, DerivedProperty, PrimitiveType, PRIMITIVE_TYPE, Enumeration, TYPE_CAST_TOKEN,
|
25
|
+
import { Class, DerivedProperty, PrimitiveType, PRIMITIVE_TYPE, Enumeration, TYPE_CAST_TOKEN, getMultiplicityDescription, isElementDeprecated, } from '@finos/legend-graph';
|
26
26
|
import { useApplicationStore } from '@finos/legend-application';
|
27
27
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
28
|
-
import { filterByType, guaranteeNonNullable, prettyCONSTName, } from '@finos/legend-shared';
|
28
|
+
import { debounce, filterByType, guaranteeNonNullable, isNonNullable, prettyCONSTName, } from '@finos/legend-shared';
|
29
29
|
import { QueryBuilderPropertySearchPanel } from './QueryBuilderPropertySearchPanel.js';
|
30
30
|
import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
31
31
|
import { QueryBuilderSimpleProjectionColumnState } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
@@ -67,16 +67,20 @@ export const isExplorerTreeNodeAlreadyUsed = (node, queryBuilderState) => {
|
|
67
67
|
};
|
68
68
|
export const QueryBuilderSubclassInfoTooltip = (props) => {
|
69
69
|
const { subclass, path, isMapped, children, placement, multiplicity } = props;
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
70
|
+
const [open, setIsOpen] = useState(false);
|
71
|
+
return (_jsx(ClickAwayListener, { onClickAway: () => setIsOpen(false), mouseEvent: "onMouseDown", children: _jsx("div", { children: _jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
|
72
|
+
tooltip: 'query-builder__tooltip',
|
73
|
+
arrow: 'query-builder__tooltip__arrow',
|
74
|
+
tooltipPlacementRight: 'query-builder__tooltip--right',
|
75
|
+
}, open: open, onClose: () => setIsOpen(false), TransitionProps: {
|
76
|
+
// disable transition
|
77
|
+
// NOTE: somehow, this is the only workaround we have, if for example
|
78
|
+
// we set `appear = true`, the tooltip will jump out of position
|
79
|
+
timeout: 0,
|
80
|
+
}, disableFocusListener: true, disableHoverListener: true, disableTouchListener: true, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: subclass.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Path" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(multiplicity) })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Mapped" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: isMapped ? 'Yes' : 'No' })] }), _jsx(QueryBuilderTaggedValueInfoTooltip, { taggedValues: subclass.taggedValues })] }), children: _jsx("div", { onClick: (event) => {
|
81
|
+
setIsOpen(!open);
|
82
|
+
event.stopPropagation();
|
83
|
+
}, children: children }) }) }) }));
|
80
84
|
};
|
81
85
|
const QueryBuilderExplorerPreviewDataModal = observer((props) => {
|
82
86
|
const { queryBuilderState } = props;
|
@@ -284,26 +288,9 @@ const QueryBuilderExplorerTree = observer((props) => {
|
|
284
288
|
const treeData = explorerState.nonNullableTreeData;
|
285
289
|
const onNodeSelect = (node) => {
|
286
290
|
if (node.childrenIds.length) {
|
287
|
-
node.
|
288
|
-
|
289
|
-
(node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
290
|
-
node instanceof QueryBuilderExplorerTreeSubTypeNodeData) &&
|
291
|
-
node.type instanceof Class) {
|
292
|
-
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
293
|
-
? getAllOwnClassProperties(node.type)
|
294
|
-
: getAllClassProperties(node.type).concat(getAllClassDerivedProperties(node.type))).forEach((property) => {
|
295
|
-
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(property, node, guaranteeNonNullable(explorerState.mappingModelCoverageAnalysisResult));
|
296
|
-
if (propertyTreeNodeData) {
|
297
|
-
treeData.nodes.set(propertyTreeNodeData.id, propertyTreeNodeData);
|
298
|
-
}
|
299
|
-
});
|
300
|
-
node.type._subclasses.forEach((subclass) => {
|
301
|
-
const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, node, guaranteeNonNullable(explorerState.mappingModelCoverageAnalysisResult));
|
302
|
-
treeData.nodes.set(subTypeTreeNodeData.id, subTypeTreeNodeData);
|
303
|
-
});
|
304
|
-
}
|
291
|
+
node.setIsOpen(!node.isOpen);
|
292
|
+
explorerState.generateOpenNodeChildren(node);
|
305
293
|
}
|
306
|
-
explorerState.refreshTree();
|
307
294
|
};
|
308
295
|
const getChildNodes = (node) => node.childrenIds
|
309
296
|
.map((id) => treeData.nodes.get(id))
|
@@ -320,18 +307,79 @@ const QueryBuilderExplorerTree = observer((props) => {
|
|
320
307
|
queryBuilderState,
|
321
308
|
} }));
|
322
309
|
});
|
310
|
+
export const QUERY_BUILDER_EXPLORER_SEARCH_INPUT_NAME = 'query-builder-explorer-search-input';
|
311
|
+
const QUERY_BUILDER_PROPERTY_SEARCH_MIN_SEARCH_LENGTH = 2;
|
312
|
+
const QueryBuilderExplorerSearchInput = observer(forwardRef(function QueryBuilderExplorerSearchInput(props, ref) {
|
313
|
+
const { propertySearchState } = props;
|
314
|
+
// initialize search state on mount
|
315
|
+
useEffect(() => {
|
316
|
+
if (!propertySearchState.initializationState.hasSucceeded &&
|
317
|
+
!propertySearchState.initializationState.isInProgress &&
|
318
|
+
isNonNullable(propertySearchState.queryBuilderState.explorerState.treeData)) {
|
319
|
+
propertySearchState
|
320
|
+
.initialize()
|
321
|
+
.catch(propertySearchState.queryBuilderState.applicationStore
|
322
|
+
.alertUnhandledError);
|
323
|
+
}
|
324
|
+
}, [
|
325
|
+
propertySearchState,
|
326
|
+
propertySearchState.initializationState,
|
327
|
+
propertySearchState.queryBuilderState.explorerState.treeData,
|
328
|
+
]);
|
329
|
+
// search text
|
330
|
+
const debouncedSearchProperty = useMemo(() => debounce(() => propertySearchState.search(), 100), [propertySearchState]);
|
331
|
+
const onSearchPropertyTextChange = (event) => {
|
332
|
+
(async () => {
|
333
|
+
propertySearchState.setSearchText(event.target.value);
|
334
|
+
if (event.target.value.length >=
|
335
|
+
QUERY_BUILDER_PROPERTY_SEARCH_MIN_SEARCH_LENGTH) {
|
336
|
+
if (propertySearchState.queryBuilderState.explorerState.treeData &&
|
337
|
+
!propertySearchState.isSearchPanelOpen) {
|
338
|
+
propertySearchState.setIsSearchPanelOpen(true);
|
339
|
+
if (!propertySearchState.initializationState.hasSucceeded &&
|
340
|
+
!propertySearchState.initializationState.isInProgress) {
|
341
|
+
await propertySearchState.initialize();
|
342
|
+
}
|
343
|
+
}
|
344
|
+
await debouncedSearchProperty();
|
345
|
+
}
|
346
|
+
else {
|
347
|
+
propertySearchState.setIsSearchPanelOpen(false);
|
348
|
+
}
|
349
|
+
})().catch(propertySearchState.queryBuilderState.applicationStore
|
350
|
+
.alertUnhandledError);
|
351
|
+
};
|
352
|
+
// search actions
|
353
|
+
const clearSearch = () => {
|
354
|
+
propertySearchState.resetSearch();
|
355
|
+
};
|
356
|
+
return (_jsxs("div", { className: "query-builder__explorer__property-search__input__container", children: [_jsx("input", { ref: ref, name: QUERY_BUILDER_EXPLORER_SEARCH_INPUT_NAME, className: clsx('query-builder__explorer__property-search__input input--dark', {
|
357
|
+
'query-builder__explorer__property-search__input--searching': propertySearchState.searchText,
|
358
|
+
}), spellCheck: false, onChange: onSearchPropertyTextChange, onKeyDown: (event) => {
|
359
|
+
if (event.key === 'Escape') {
|
360
|
+
clearSearch();
|
361
|
+
propertySearchState.setIsSearchPanelOpen(false);
|
362
|
+
}
|
363
|
+
}, value: propertySearchState.searchText, placeholder: "One or more terms, ESC to clear" }), propertySearchState.searchText.length >=
|
364
|
+
QUERY_BUILDER_PROPERTY_SEARCH_MIN_SEARCH_LENGTH && (_jsx("div", { className: "query-builder__explorer__property-search__input__search__count", children: propertySearchState.filteredSearchResults.length +
|
365
|
+
(propertySearchState.isOverSearchLimit &&
|
366
|
+
propertySearchState.filteredSearchResults.length !== 0
|
367
|
+
? '+'
|
368
|
+
: '') })), !propertySearchState.searchText ? (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder__explorer__property-search__input__search__icon", children: _jsx(SearchIcon, {}) }) })) : (_jsx("button", { className: "query-builder__explorer__property-search__input__clear-btn", tabIndex: -1, onClick: clearSearch, title: "Clear", children: _jsx(TimesIcon, {}) }))] }));
|
369
|
+
}));
|
323
370
|
export const QueryBuilderExplorerPanel = observer((props) => {
|
324
371
|
const { queryBuilderState } = props;
|
325
|
-
const
|
372
|
+
const searchInputRef = useRef(null);
|
326
373
|
const explorerState = queryBuilderState.explorerState;
|
327
374
|
const propertySearchPanelState = explorerState.propertySearchState;
|
328
375
|
const applicationStore = useApplicationStore();
|
329
376
|
const collapseTree = () => {
|
330
377
|
if (explorerState.treeData) {
|
331
378
|
Array.from(explorerState.treeData.nodes.values()).forEach((node) => {
|
332
|
-
node
|
379
|
+
if (!(node instanceof QueryBuilderExplorerTreeRootNodeData)) {
|
380
|
+
node.setIsOpen(false);
|
381
|
+
}
|
333
382
|
});
|
334
|
-
explorerState.refreshTree();
|
335
383
|
}
|
336
384
|
};
|
337
385
|
const toggleShowUnmappedProperties = () => {
|
@@ -340,17 +388,6 @@ export const QueryBuilderExplorerPanel = observer((props) => {
|
|
340
388
|
};
|
341
389
|
const toggleHumanizePropertyName = () => explorerState.setHumanizePropertyName(!explorerState.humanizePropertyName);
|
342
390
|
const toggleHighlightUsedProperties = () => explorerState.setHighlightUsedProperties(!explorerState.highlightUsedProperties);
|
343
|
-
const togglePropertySearch = () => {
|
344
|
-
if (explorerState.treeData) {
|
345
|
-
if (!propertySearchPanelState.isSearchPanelOpen) {
|
346
|
-
propertySearchPanelState.setIsSearchPanelOpen(true);
|
347
|
-
propertySearchPanelState.initialize();
|
348
|
-
}
|
349
|
-
else {
|
350
|
-
propertySearchPanelState.setIsSearchPanelOpen(false);
|
351
|
-
}
|
352
|
-
}
|
353
|
-
};
|
354
391
|
useEffect(() => {
|
355
392
|
flowResult(explorerState.analyzeMappingModelCoverage()).catch(applicationStore.alertUnhandledError);
|
356
393
|
}, [
|
@@ -360,13 +397,11 @@ export const QueryBuilderExplorerPanel = observer((props) => {
|
|
360
397
|
]);
|
361
398
|
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_EXPLORER, className: clsx('panel query-builder__explorer', {
|
362
399
|
backdrop__element: applicationStore.layoutService.showBackdrop,
|
363
|
-
}), children: [_jsxs(PanelHeader, { title: "explorer", children: [_jsxs(PanelHeaderActions, { children: [_jsx("
|
364
|
-
'query-builder__explorer__header__action--active': propertySearchPanelState.isSearchPanelOpen,
|
365
|
-
}), onClick: togglePropertySearch, tabIndex: -1, title: "Toggle property search", children: _jsx(SearchIcon, {}) }), _jsx(PanelHeaderActionItem, { onClick: collapseTree, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx(ControlledDropdownMenu, { className: "panel__header__action", title: "Show Options Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowUnmappedProperties, children: [_jsx(MenuContentItemIcon, { children: explorerState.showUnmappedProperties ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Unmapped Properties" })] }), _jsxs(MenuContentItem, { onClick: toggleHumanizePropertyName, children: [_jsx(MenuContentItemIcon, { children: explorerState.humanizePropertyName ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Humanize Property Name" })] }), _jsxs(MenuContentItem, { onClick: toggleHighlightUsedProperties, children: [_jsx(MenuContentItemIcon, { children: explorerState.highlightUsedProperties ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Highlight already used properties" })] })] }), menuProps: {
|
400
|
+
}), children: [_jsxs(PanelHeader, { title: "explorer", children: [_jsx(QueryBuilderExplorerSearchInput, { propertySearchState: propertySearchPanelState, ref: searchInputRef }), _jsxs(PanelHeaderActions, { children: [_jsx(PanelHeaderActionItem, { onClick: collapseTree, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx(ControlledDropdownMenu, { className: "panel__header__action", title: "Show Options Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowUnmappedProperties, children: [_jsx(MenuContentItemIcon, { children: explorerState.showUnmappedProperties ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Unmapped Properties" })] }), _jsxs(MenuContentItem, { onClick: toggleHumanizePropertyName, children: [_jsx(MenuContentItemIcon, { children: explorerState.humanizePropertyName ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Humanize Property Name" })] }), _jsxs(MenuContentItem, { onClick: toggleHighlightUsedProperties, children: [_jsx(MenuContentItemIcon, { children: explorerState.highlightUsedProperties ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Highlight already used properties" })] })] }), menuProps: {
|
366
401
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
367
402
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
368
403
|
elevation: 7,
|
369
|
-
}, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] }), propertySearchPanelState.isSearchPanelOpen && (_jsx(QueryBuilderPropertySearchPanel, { queryBuilderState: queryBuilderState, triggerElement:
|
404
|
+
}, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] }), propertySearchPanelState.isSearchPanelOpen && (_jsx(QueryBuilderPropertySearchPanel, { queryBuilderState: queryBuilderState, triggerElement: searchInputRef.current, clearSearch: () => propertySearchPanelState.resetSearch() }))] }), _jsxs("div", { className: "panel__content query-builder-explorer-tree__content", children: [_jsx(PanelLoadingIndicator, { isLoading: explorerState.mappingModelCoverageAnalysisState.isInProgress }), _jsx(DragPreviewLayer, { labelGetter: (item) => explorerState.humanizePropertyName
|
370
405
|
? prettyCONSTName(item.node.label)
|
371
406
|
: item.node.label, types: Object.values(QUERY_BUILDER_EXPLORER_TREE_DND_TYPE) }), explorerState.mappingModelCoverageAnalysisState.isInProgress ? (_jsx(BlankPanelContent, { children: explorerState.mappingModelCoverageAnalysisState.message })) : (_jsxs(_Fragment, { children: [!explorerState.treeData && (_jsx(BlankPanelContent, { children: "Specify the class, mapping, and runtime to start building query" })), explorerState.treeData && (_jsx(QueryBuilderExplorerTree, { queryBuilderState: queryBuilderState }))] })), _jsx(QueryBuilderExplorerPreviewDataModal, { queryBuilderState: queryBuilderState })] })] }));
|
372
407
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,EACL,SAAS,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AE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE;oCACxD,SAAS,EAAE,CAAC;iCACb,YAED,KAAC,gBAAgB,IAAC,SAAS,EAAC,mCAAmC,GAAG,GAC3C,IACN,EACpB,wBAAwB,CAAC,iBAAiB,IAAI,CAC7C,KAAC,+BAA+B,IAC9B,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,eAAe,CAAC,OAAO,GACvC,CACH,IACW,EAEd,eAAK,SAAS,EAAC,qDAAqD,aAClE,KAAC,qBAAqB,IACpB,SAAS,EACP,aAAa,CAAC,iCAAiC,CAAC,YAAY,GAE9D,EACF,KAAC,gBAAgB,IACf,WAAW,EAAE,CAAC,IAAwC,EAAU,EAAE,CAChE,aAAa,CAAC,oBAAoB;4BAChC,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;4BAClC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAErB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC1D,EACD,aAAa,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAC9D,KAAC,iBAAiB,cACf,aAAa,CAAC,iCAAiC,CAAC,OAAO,GACtC,CACrB,CAAC,CAAC,CAAC,CACF,8BACG,CAAC,aAAa,CAAC,QAAQ,IAAI,CAC1B,KAAC,iBAAiB,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAA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 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
17
|
+
export declare const prettyPropertyNameFromNodeId: (name: string, spaceBetweenSlash?: boolean) => string;
|
18
|
+
export declare const prettyPropertyNameForSubType: (name: string, spaceBetweenSlash?: boolean) => string;
|
19
|
+
export declare const formatTextWithHighlightedMatches: (displayText: string, searchText: string, className: string, id: string) => React.ReactNode;
|
17
20
|
export declare const QueryBuilderPropertySearchPanel: ((props: {
|
18
21
|
queryBuilderState: QueryBuilderState;
|
19
22
|
triggerElement: HTMLElement | null;
|
23
|
+
clearSearch: () => void;
|
20
24
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
21
25
|
displayName: string;
|
22
26
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertySearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderPropertySearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiDH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAW3E,eAAO,MAAM,4BAA4B,SACjC,MAAM,sBACQ,OAAO,KAC1B,MAauB,CAAC;AAE3B,eAAO,MAAM,4BAA4B,SACjC,MAAM,sBACQ,OAAO,KAC1B,MA4BF,CAAC;AAEF,eAAO,MAAM,gCAAgC,gBAC9B,MAAM,cACP,MAAM,aACP,MAAM,MACb,MAAM,KACT,KAAK,CAAC,SA6FR,CAAC;AAoOF,eAAO,MAAM,+BAA+B,WAClC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;;CAmZF,CAAC"}
|