@finos/legend-query-builder 4.14.48 → 4.14.49
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.js +46 -45
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +22 -22
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +7 -6
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +29 -10
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +14 -13
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +14 -20
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +8 -7
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +4 -3
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +3 -2
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +25 -24
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +4 -3
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +4 -3
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +3 -2
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts +1 -1
- package/lib/components/data-access/DataAccessOverview.js +17 -16
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +3 -2
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +4 -3
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js +34 -33
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +3 -2
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +4 -3
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +3 -2
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +5 -4
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +4 -3
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +3 -2
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +31 -30
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +20 -19
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +4 -3
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +18 -17
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +9 -8
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +3 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +24 -23
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +4 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +76 -54
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -2
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +14 -13
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +9 -8
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +48 -39
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +29 -28
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +20 -19
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +19 -17
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +11 -10
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +5 -4
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +9 -8
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +38 -37
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +21 -20
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +14 -13
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +7 -6
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +4 -3
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +10 -9
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +4 -3
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +15 -7
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +6 -5
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +6 -5
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +6 -5
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +3 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +40 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
- package/src/components/QueryBuilderParametersPanel.tsx +55 -0
- package/src/components/QueryBuilderSideBar.tsx +0 -20
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +22 -6
- package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
- package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +54 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,EAC7C,0CAA0C,GAC3C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,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B,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,EAC7C,0CAA0C,GAC3C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ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,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,QAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,uFACzC,CACH,uFACA,sFACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,uFACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,12 +16,12 @@
|
|
16
16
|
import { type QueryBuilderDiffViewState } from '../stores/QueryBuilderChangeDetectionState.js';
|
17
17
|
export declare const QueryBuilderDiffViewPanel: ((props: {
|
18
18
|
diffViewState: QueryBuilderDiffViewState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
export declare const QueryBuilderDiffViewPanelDiaglog: ((props: {
|
23
23
|
diffViewState: QueryBuilderDiffViewState;
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
24
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
25
25
|
displayName: string;
|
26
26
|
};
|
27
27
|
//# sourceMappingURL=QueryBuilderDiffPanel.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderDiffPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -32,9 +33,9 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
|
|
32
33
|
useEffect(() => {
|
33
34
|
diffViewState.generateGrammarDiff();
|
34
35
|
}, [diffViewState]);
|
35
|
-
return (
|
36
|
+
return (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "query-builder__diff-panel__header", children: Object.values(QueryBuilderDiffViewMode).map((mode) => (_jsxDEV("button", { onClick: onChangeMode(mode), className: clsx('query-builder__diff-panel__mode', {
|
36
37
|
'query-builder__diff-panel__mode--selected': mode === diffViewState.mode,
|
37
|
-
}), children: mode }, mode))) }),
|
38
|
+
}), children: mode }, mode, false, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 67 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__diff-panel__content", children: [diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (_jsxDEV(CodeDiffView, { language: CODE_EDITOR_LANGUAGE.PURE, from: fromGrammarText, to: toGrammarText }, void 0, false, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 72 }, this)), diffViewState.mode === QueryBuilderDiffViewMode.JSON && (_jsxDEV(JSONDiffView, { from: JSON.stringify({
|
38
39
|
parameters: diffViewState.initialQuery.parameters
|
39
40
|
? pruneSourceInformation(diffViewState.initialQuery.parameters)
|
40
41
|
: undefined,
|
@@ -48,16 +49,16 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
|
|
48
49
|
body: diffViewState.currentQuery.body
|
49
50
|
? pruneSourceInformation(diffViewState.currentQuery.body)
|
50
51
|
: undefined,
|
51
|
-
}, null, DEFAULT_TAB_SIZE) }))] })] }));
|
52
|
+
}, null, DEFAULT_TAB_SIZE) }, void 0, false, { fileName: _jsxFileName, lineNumber: 83, columnNumber: 69 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 13 }, this));
|
52
53
|
});
|
53
54
|
export const QueryBuilderDiffViewPanelDiaglog = observer((props) => {
|
54
55
|
const { diffViewState } = props;
|
55
56
|
const applicationStore = diffViewState.changeDetectionState.querybuilderState.applicationStore;
|
56
57
|
const close = () => diffViewState.changeDetectionState.hideDiffViewPanel();
|
57
|
-
return (
|
58
|
+
return (_jsxDEV(Dialog, { open: Boolean(diffViewState), onClose: close, classes: {
|
58
59
|
root: 'editor-modal__root-container',
|
59
60
|
container: 'editor-modal__container',
|
60
61
|
paper: 'editor-modal__content',
|
61
|
-
}, children:
|
62
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal'), children: [_jsxDEV(ModalHeader, { children: [_jsxDEV(ModalTitle, { title: "Query Diff" }, void 0, false, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 13 }, this), _jsxDEV(ModalHeaderActions, { children: _jsxDEV("button", { className: "modal__header__action", tabIndex: -1, onClick: close, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 152, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 147, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 144, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__diff-panel", children: _jsxDEV(QueryBuilderDiffViewPanel, { diffViewState: diffViewState }, void 0, false, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { className: "query-builder__diff-panel__actions", children: _jsxDEV(ModalFooterButton, { title: "Close Modal", onClick: close, type: "secondary", children: "Close" }, void 0, false, { fileName: _jsxFileName, lineNumber: 160, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 13 }, this));
|
62
63
|
});
|
63
64
|
//# sourceMappingURL=QueryBuilderDiffPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderDiffPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderDiffPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,oBAAoB,EACpB,YAAY,EACZ,YAAY,GACb,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAAmD,EAAE,EAAE;IACtD,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,eAAe,GAAG,aAAa,CAAC,uBAAuB,CAAC;IAC9D,MAAM,aAAa,GAAG,aAAa,CAAC,uBAAuB,CAAC;IAE5D,UAAU;IACV,MAAM,YAAY,GAChB,CAAC,IAA8B,EAAgB,EAAE,CACjD,GAAS,EAAE;QACT,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC;IACJ,SAAS,CAAC,GAAG,EAAE;Q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,SAAS,EAAC,oCAAoC,YACzD,QAAC,iBAAiB,IAChB,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,WAAW,0GAGE,uFACR,sFACR,uFACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
17
17
|
export declare const QueryBuilderParametersPanel: ((props: {
|
18
18
|
queryBuilderState: QueryBuilderState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilderParametersPanel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkSxE,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAwGjD,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderParametersPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -15,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
16
|
* limitations under the License.
|
16
17
|
*/
|
17
18
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelFormValidatedTextField, QuestionCircleIcon, } from '@finos/legend-art';
|
19
|
+
import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, PanelFormValidatedTextField, QuestionCircleIcon, PanelFormSection, } from '@finos/legend-art';
|
19
20
|
import { VariableExpression, GenericTypeExplicitReference, GenericType, PrimitiveType, Multiplicity, getMultiplicityPrettyDescription, isValidIdentifier, } from '@finos/legend-graph';
|
20
21
|
import { useApplicationStore } from '@finos/legend-application';
|
21
22
|
import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
@@ -26,6 +27,10 @@ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
|
26
27
|
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
27
28
|
import { useCallback, useState } from 'react';
|
28
29
|
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
30
|
+
import { deepClone } from '@finos/legend-shared';
|
31
|
+
import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
|
32
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
|
33
|
+
import { createSupportedFunctionExpression } from '../stores/shared/ValueSpecificationEditorHelper.js';
|
29
34
|
const buildMultiplicityOption = (multiplicity) => ({
|
30
35
|
label: getMultiplicityPrettyDescription(multiplicity),
|
31
36
|
value: multiplicity,
|
@@ -67,6 +72,8 @@ const VariableExpressionEditor = observer((props) => {
|
|
67
72
|
const nameInputRef = useCallback((ref) => {
|
68
73
|
ref?.focus();
|
69
74
|
}, []);
|
75
|
+
const [defaultMilestoningValue, setDefaultMilestoningValue] = useState(deepClone(lambdaParameterState.value));
|
76
|
+
const isMilestoningParameter = queryBuilderState.milestoningState.isMilestoningParameter(lambdaParameterState.parameter);
|
70
77
|
const getValidationMessage = (input) => !hasEditedName
|
71
78
|
? undefined
|
72
79
|
: !input
|
@@ -88,21 +95,33 @@ const VariableExpressionEditor = observer((props) => {
|
|
88
95
|
if (isCreating) {
|
89
96
|
queryParametersState.addParameter(lambdaParameterState);
|
90
97
|
}
|
98
|
+
if (isMilestoningParameter) {
|
99
|
+
queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, defaultMilestoningValue);
|
100
|
+
}
|
91
101
|
handleCancel();
|
92
102
|
};
|
93
|
-
return (
|
103
|
+
return (_jsxDEV(Dialog, { open: Boolean(lambdaParameterState), onClose: handleCancel, classes: {
|
94
104
|
root: 'editor-modal__root-container',
|
95
105
|
container: 'editor-modal__container',
|
96
106
|
paper: 'editor-modal__content',
|
97
|
-
}, children:
|
107
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsxDEV(ModalHeader, { title: `${isCreating ? 'Create Parameter' : 'Update Parameter'}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsxDEV(PanelFormValidatedTextField, { name: "Parameter Name", prompt: "Name of the parameter. Should be descriptive of its purpose.", value: selectedName, update: (value) => {
|
98
108
|
setSelectedName(value ?? '');
|
99
109
|
setHasEditedName(true);
|
100
|
-
}, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }),
|
110
|
+
}, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }, void 0, false, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the parameter." }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
|
101
111
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
102
112
|
darkMode: !applicationStore.layoutService
|
103
113
|
.TEMPORARY__isLightColorThemeEnabled,
|
104
|
-
}) })] }),
|
105
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
114
|
+
}) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Multiplicity" }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "The multiplity determines how many values a parameter can have. Default is set to mandatory single vlue." }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { placeholder: "Choose a multiplicity...", options: multilicityOptions, onChange: changeMultiplicity, value: selectedMultiplicity, hasError: !validParamMultiplicityList.includes(selectedMultiplicity.value), darkMode: !applicationStore.layoutService
|
115
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 230, columnNumber: 13 }, this), isMilestoningParameter && defaultMilestoningValue && (_jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Value" }, void 0, false, { fileName: _jsxFileName, lineNumber: 256, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Choose a default value for this milestoning parameter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 259, columnNumber: 17 }, this), _jsxDEV("div", { className: "query-builder__variable-editor", children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: defaultMilestoningValue, setValueSpecification: (val) => {
|
116
|
+
setDefaultMilestoningValue(deepClone(val));
|
117
|
+
}, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
118
|
+
expectedType: selectedType.value,
|
119
|
+
match: selectedType.value === PrimitiveType.DATETIME,
|
120
|
+
}, resetValue: () => {
|
121
|
+
const now = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
|
122
|
+
setDefaultMilestoningValue(now);
|
123
|
+
queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, now);
|
124
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 263, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 262, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 68 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 191, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { text: isCreating ? 'Create' : 'Update', disabled: !isNameValid, onClick: handleApply }, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { onClick: handleCancel, text: "Cancel", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 296, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 290, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 182, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 13 }, this));
|
106
125
|
});
|
107
126
|
export const QueryBuilderParametersPanel = observer((props) => {
|
108
127
|
const { queryBuilderState } = props;
|
@@ -116,10 +135,10 @@ export const QueryBuilderParametersPanel = observer((props) => {
|
|
116
135
|
parmaterState.mockParameterValue();
|
117
136
|
}
|
118
137
|
};
|
119
|
-
return (
|
120
|
-
queryParameterState.parameterStates.map((pState) => (
|
138
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PARAMETERS, className: "panel query-builder__variables", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__label", children: "parameters" }, void 0, false, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 13 }, this), _jsxDEV("div", { onClick: seeDocumentation, className: "query-builder__variables__info", title: `Parameters are variables assigned to your query. They are dynamic in nature and can change for each execution.`, children: _jsxDEV(QuestionCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 347, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 342, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 340, columnNumber: 11 }, this), !isReadOnly && !queryBuilderState.isParameterSupportDisabled && (_jsxDEV("div", { className: "panel__header__actions", children: _jsxDEV("button", { className: "panel__header__action", tabIndex: -1, onClick: addParameter, title: "Add Parameter", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 352, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 350, columnNumber: 77 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content query-builder__variables__content", children: [!queryBuilderState.isParameterSupportDisabled && (_jsxDEV(_Fragment, { children: [Boolean(queryParameterState.parameterStates.length) &&
|
139
|
+
queryParameterState.parameterStates.map((pState) => (_jsxDEV(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly, queryBuilderState: queryBuilderState, actions: {
|
121
140
|
editVariable: () => queryParameterState.setSelectedParameter(pState),
|
122
141
|
deleteVariable: () => queryParameterState.removeParameter(pState),
|
123
|
-
} }, pState.uuid))), !queryParameterState.parameterStates.length && (
|
142
|
+
} }, pState.uuid, false, { fileName: _jsxFileName, lineNumber: 367, columnNumber: 70 }, this))), !queryParameterState.parameterStates.length && (_jsxDEV(BlankPanelPlaceholder, { text: "Add a parameter", disabled: isReadOnly, onClick: addParameter, clickActionType: "add", previewText: "No parameter", tooltipText: "Click to add a new parameter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 381, columnNumber: 64 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 364, columnNumber: 62 }, this)), queryBuilderState.isParameterSupportDisabled && (_jsxDEV(BlankPanelContent, { children: "Parameters are not supported" }, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 61 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 363, columnNumber: 9 }, this), queryParameterState.selectedParameter && (_jsxDEV(VariableExpressionEditor, { queryBuilderState: queryBuilderState, lambdaParameterState: queryParameterState.selectedParameter }, void 0, false, { fileName: _jsxFileName, lineNumber: 397, columnNumber: 52 }, this)), queryParameterState.parameterValuesEditorState.showModal && (_jsxDEV(LambdaParameterValuesEditor, { graph: queryBuilderState.graphManagerState.graph, observerContext: queryBuilderState.observerContext, lambdaParametersState: queryParameterState }, void 0, false, { fileName: _jsxFileName, lineNumber: 403, columnNumber: 71 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 334, columnNumber: 13 }, this));
|
124
143
|
});
|
125
144
|
//# sourceMappingURL=QueryBuilderParametersPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,qBAAqB,EACrB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAA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B,CAAC,0BAA0B,IAAI,CAC/C,QAAC,iBAAiB,mIAAiD,CACpE,sFACG,EACL,mBAAmB,CAAC,iBAAiB,IAAI,CACxC,QAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,mBAAmB,CAAC,iBAAiB,uFAC3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,QAAC,2BAA2B,IAC1B,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAChD,eAAe,EAAE,iBAAiB,CAAC,eAAe,EAClD,qBAAqB,EAAE,mBAAmB,uFAC1C,CACH,uFACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { type QueryBuilderPropertyExpressionState } from '../stores/QueryBuilderPropertyEditorState.js';
|
17
17
|
export declare const QueryBuilderPropertyExpressionEditor: ((props: {
|
18
18
|
propertyExpressionState: QueryBuilderPropertyExpressionState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
export declare const QueryBuilderEditablePropertyName: ((props: {
|
@@ -25,7 +25,7 @@ export declare const QueryBuilderEditablePropertyName: ((props: {
|
|
25
25
|
error: string | undefined;
|
26
26
|
title: string;
|
27
27
|
defaultColumnName: string;
|
28
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
28
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
29
29
|
displayName: string;
|
30
30
|
};
|
31
31
|
export declare const QueryBuilderPropertyExpressionBadge: ((props: {
|
@@ -33,7 +33,7 @@ export declare const QueryBuilderPropertyExpressionBadge: ((props: {
|
|
33
33
|
propertyExpressionState: QueryBuilderPropertyExpressionState;
|
34
34
|
setColumnName?: (columnName: string) => void;
|
35
35
|
error?: string | undefined;
|
36
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
36
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
37
37
|
displayName: string;
|
38
38
|
};
|
39
39
|
//# sourceMappingURL=QueryBuilderPropertyExpressionEditor.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderPropertyExpressionEditor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -104,19 +105,19 @@ const DerivedPropertyParameterValueEditor = observer((props) => {
|
|
104
105
|
: undefined);
|
105
106
|
};
|
106
107
|
const valueSpec = guaranteeNonNullable(derivedPropertyExpressionState.parameterValues[idx]);
|
107
|
-
return (
|
108
|
+
return (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: variable.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: `${variable.multiplicity.lowerBound === 0 ? 'optional' : ''}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__variable-editor", children: _jsxDEV(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: valueSpec, setValueSpecification: (val) => {
|
108
109
|
functionExpression_setParameterValue(derivedPropertyExpressionState.propertyExpression, val, idx + 1, derivedPropertyExpressionState.queryBuilderState
|
109
110
|
.observerContext);
|
110
111
|
}, graph: graph, obseverContext: derivedPropertyExpressionState.queryBuilderState.observerContext, typeCheckOption: {
|
111
112
|
expectedType: parameterType,
|
112
113
|
match: parameterType === PrimitiveType.DATETIME,
|
113
|
-
}, resetValue: resetParameterValue, isConstant: queryBuilderState.constantState.isValueSpecConstant(valueSpec) }) }) }),
|
114
|
+
}, resetValue: resetParameterValue, isConstant: queryBuilderState.constantState.isValueSpecConstant(valueSpec) }, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__list" }, void 0, false, { fileName: _jsxFileName, lineNumber: 268, columnNumber: 9 }, this)] }, variable.name, true, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 13 }, this));
|
114
115
|
});
|
115
116
|
const DerivedPropertyExpressionEditor = observer((props) => {
|
116
117
|
const { derivedPropertyExpressionState } = props;
|
117
118
|
const parameterValues = derivedPropertyExpressionState.parameterValues;
|
118
119
|
const parameters = derivedPropertyExpressionState.parameters;
|
119
|
-
return (
|
120
|
+
return (_jsxDEV("div", { className: "query-builder-property-editor__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: derivedPropertyExpressionState.title }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 9 }, this), !parameterValues.length && (_jsxDEV("div", { className: "query-builder-property-editor__section__content--empty", children: "No parameter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 287, columnNumber: 38 }, this)), parameters.map((variable, idx) => (_jsxDEV(DerivedPropertyParameterValueEditor, { derivedPropertyExpressionState: derivedPropertyExpressionState, variable: variable, idx: idx }, variable.name, false, { fileName: _jsxFileName, lineNumber: 292, columnNumber: 45 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 13 }, this));
|
120
121
|
});
|
121
122
|
export const QueryBuilderPropertyExpressionEditor = observer((props) => {
|
122
123
|
const { propertyExpressionState } = props;
|
@@ -131,11 +132,11 @@ export const QueryBuilderPropertyExpressionEditor = observer((props) => {
|
|
131
132
|
(isSuperType(variableType, p.genericType.value.rawType) ||
|
132
133
|
p.genericType.value.rawType.name === variableType.name));
|
133
134
|
}));
|
134
|
-
return (
|
135
|
+
return (_jsxDEV(Dialog, { open: Boolean(propertyExpressionState.isEditingDerivedPropertyExpression), onClose: handleClose, classes: {
|
135
136
|
root: 'editor-modal__root-container',
|
136
137
|
container: 'editor-modal__container',
|
137
138
|
paper: 'editor-modal__content',
|
138
|
-
}, children:
|
139
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder-property-editor", children: [_jsxDEV(ModalHeader, { title: "Derived Property" }, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder-property-editor__content", children: [propertyExpressionState.derivedPropertyExpressionStates.map((pe) => (_jsxDEV(DerivedPropertyExpressionEditor, { derivedPropertyExpressionState: pe }, pe.path, false, { fileName: _jsxFileName, lineNumber: 351, columnNumber: 24 }, this))), _jsxDEV(ModalBody, { className: "query-builder__variables__modal__body", children: _jsxDEV(VariableSelector, { queryBuilderState: propertyExpressionState.queryBuilderState, filterBy: (v) => isParameterCompatibleWithDerivedProperty(v, propertyExpressionState.derivedPropertyExpressionStates) }, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 349, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Done", onClick: handleClose }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 370, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 342, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 13 }, this));
|
139
140
|
});
|
140
141
|
export const QueryBuilderEditablePropertyName = observer((props) => {
|
141
142
|
const { columnName, setColumnName, error, title, defaultColumnName } = props;
|
@@ -159,7 +160,7 @@ export const QueryBuilderEditablePropertyName = observer((props) => {
|
|
159
160
|
}
|
160
161
|
setIsEditingColumnName(false);
|
161
162
|
};
|
162
|
-
return isEditingColumnName ? (
|
163
|
+
return isEditingColumnName ? (_jsxDEV("div", { className: "query-builder__property__name__editor", children: _jsxDEV(InputWithInlineValidation, { className: "query-builder__property__name__editor__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: (event) => setSelectedColumnName(event.target.value), onKeyDown: (event) => {
|
163
164
|
if (event.key === 'Enter') {
|
164
165
|
handleFinishEditing();
|
165
166
|
}
|
@@ -168,14 +169,14 @@ export const QueryBuilderEditablePropertyName = observer((props) => {
|
|
168
169
|
// dragging the draggable element containing the input.
|
169
170
|
e.preventDefault();
|
170
171
|
e.stopPropagation();
|
171
|
-
} }) })) : (
|
172
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 414, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 412, columnNumber: 35 }, this)) : (_jsxDEV("div", { className: "query-builder__property__name__display", title: title, children: _jsxDEV("span", { className: clsx('query-builder__property__name__display__content', {
|
172
173
|
'query-builder__property__name__display__content--error': error,
|
173
174
|
'editable-value': setColumnName,
|
174
175
|
}), onClick: () => {
|
175
176
|
if (setColumnName) {
|
176
177
|
setIsEditingColumnName(true);
|
177
178
|
}
|
178
|
-
}, children: columnName }) }));
|
179
|
+
}, children: columnName }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 437, columnNumber: 10 }, this));
|
179
180
|
});
|
180
181
|
export const QueryBuilderPropertyExpressionBadge = observer((props) => {
|
181
182
|
const { columnName, propertyExpressionState, setColumnName, error } = props;
|
@@ -188,13 +189,13 @@ export const QueryBuilderPropertyExpressionBadge = observer((props) => {
|
|
188
189
|
propertyExpressionState.setIsEditingDerivedProperty(true);
|
189
190
|
}
|
190
191
|
};
|
191
|
-
return (
|
192
|
+
return (_jsxDEV("div", { className: "query-builder-property-expression-badge", children: _jsxDEV("div", { className: clsx('query-builder-property-expression-badge__content', {
|
192
193
|
'query-builder-property-expression-badge__content--class': type instanceof Class,
|
193
194
|
'query-builder-property-expression-badge__content--enumeration': type instanceof Enumeration,
|
194
195
|
'query-builder-property-expression-badge__content--primitive': type instanceof PrimitiveType,
|
195
|
-
}), children: [
|
196
|
-
.humanizePropertyName) }), hasDerivedPropertyInExpression && (
|
196
|
+
}), children: [_jsxDEV(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title, setColumnName: setColumnName, error: error, title: `${propertyExpressionState.title} - ${propertyExpressionState.path}`, defaultColumnName: getPropertyChainName(propertyExpressionState.propertyExpression, propertyExpressionState.queryBuilderState.explorerState
|
197
|
+
.humanizePropertyName) }, void 0, false, { fileName: _jsxFileName, lineNumber: 490, columnNumber: 11 }, this), hasDerivedPropertyInExpression && (_jsxDEV("button", { className: clsx('query-builder-property-expression-badge__action', {
|
197
198
|
'query-builder-property-expression-badge__action--error': !isValid,
|
198
|
-
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid &&
|
199
|
+
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 514, columnNumber: 27 }, this), " (...)"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 501, columnNumber: 47 }, this)), _jsxDEV(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: propertyExpressionState }, void 0, false, { fileName: _jsxFileName, lineNumber: 517, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 480, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 478, columnNumber: 13 }, this));
|
199
200
|
});
|
200
201
|
//# sourceMappingURL=QueryBuilderPropertyExpressionEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,cAAc,EACd,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sCAAsC,EACtC,oBAAoB,GAGrB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAEL,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EACL,wCAAwC,EACxC,iCAAiC,EACjC,8BAA8B,GAC/B,MAAM,wDAAwD,CAAC;AAEhE,MAAM,mCAAmC,GAAG,QAAQ,CAClD,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,8BAA8B,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;IAChE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BAA2B,CAAC,IAAI,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,yCAAyC,YACtD,eACE,SAAS,EAAE,IAAI,CAAC,kDAAkD,EAAE;gBAClE,yDAAyD,EACvD,IAAI,YAAY,KAAK;gBACvB,+DAA+D,EAC7D,IAAI,YAAY,WAAW;gBAC7B,6DAA6D,EAC3D,IAAI,YAAY,aAAa;aAChC,CAAC,aAEF,KAAC,gCAAgC,IAC/B,UAAU,EAAE,UAAU,IAAI,uBAAuB,CAAC,KAAK,EACvD,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,GAAG,uBAAuB,CAAC,KAAK,MAAM,uBAAuB,CAAC,IAAI,EAAE,EAC3E,iBAAiB,EAAE,oBAAoB,CACrC,uBAAuB,CAAC,kBAAkB,EAC1C,uBAAuB,CAAC,iBAAiB,CAAC,aAAa;yBACpD,oBAAoB,CACxB,GACD,EACD,8BAA8B,IAAI,CACjC,kBACE,SAAS,EAAE,IAAI,CACb,iDAAiD,EACjD;wBACE,wDAAwD,EACtD,CAAC,OAAO;qBACX,CACF,EACD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,2BAA2B,EACpC,KAAK,EAAC,qCAAqC,aAE1C,CAAC,OAAO,IAAI,KAAC,cAAc,KAAG,cACxB,CACV,EACD,KAAC,oCAAoC,IACnC,uBAAuB,EAAE,uBAAuB,GAChD,IACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb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EAC3D,IAAI,YAAY,aAAa;aAChC,CAAC,aAEF,QAAC,gCAAgC,IAC/B,UAAU,EAAE,UAAU,IAAI,uBAAuB,CAAC,KAAK,EACvD,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,GAAG,uBAAuB,CAAC,KAAK,MAAM,uBAAuB,CAAC,IAAI,EAAE,EAC3E,iBAAiB,EAAE,oBAAoB,CACrC,uBAAuB,CAAC,kBAAkB,EAC1C,uBAAuB,CAAC,iBAAiB,CAAC,aAAa;yBACpD,oBAAoB,CACxB,uFACD,EACD,8BAA8B,IAAI,CACjC,oBACE,SAAS,EAAE,IAAI,CACb,iDAAiD,EACjD;wBACE,wDAAwD,EACtD,CAAC,OAAO;qBACX,CACF,EACD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,2BAA2B,EACpC,KAAK,EAAC,qCAAqC,aAE1C,CAAC,OAAO,IAAI,QAAC,cAAc,yFAAG,iGACxB,CACV,EACD,QAAC,oCAAoC,IACnC,uBAAuB,EAAE,uBAAuB,uFAChD,sFACE,uFACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -21,7 +21,7 @@ export declare const QueryBuilderClassSelector: ((props: {
|
|
21
21
|
classes: Class[];
|
22
22
|
onClassChange?: ((val: Class) => void) | undefined;
|
23
23
|
noMatchMessage?: string | undefined;
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
24
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
25
25
|
displayName: string;
|
26
26
|
};
|
27
27
|
export declare const buildRuntimeValueOption: (runtimeValue: Runtime) => {
|
@@ -36,7 +36,7 @@ export declare const getRuntimeOptionFormatter: (props: {
|
|
36
36
|
export declare const QueryBuilderSidebar: ((props: {
|
37
37
|
queryBuilderState: QueryBuilderState;
|
38
38
|
children: React.ReactNode;
|
39
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
39
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
40
40
|
displayName: string;
|
41
41
|
};
|
42
42
|
//# sourceMappingURL=QueryBuilderSideBar.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderSideBar.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderSideBar.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,OAAO,EACL,KAAK,KAAK,EAEV,KAAK,OAAO,EACZ,KAAK,kBAAkB,EASxB,MAAM,qBAAqB,CAAC;AAS7B,eAAO,MAAM,iBAAiB,cACjB,kBAAkB,GAAG,SAAS,KACxC,MAAM,GAAG,SAiBX,CAAC;AAyBF,eAAO,MAAM,yBAAyB,WAC5B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACnD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;;CAyEF,CAAC;AAEF,eAAO,MAAM,uBAAuB,iBACpB,OAAO,KACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAMhC,CAAC;AAEH,eAAO,MAAM,yBAAyB,UAAW;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,KAAG,CAAC,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,KAAK,MAAM,SAAS,CAkBjD,CAAC;AAyJJ,eAAO,MAAM,mBAAmB,WACtB;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,MAAM,SAAS,CAAC;CAC3B;;CA2CF,CAAC"}
|