@finos/legend-query-builder 4.14.49 → 4.14.50
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 +45 -46
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +18 -19
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +6 -7
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +10 -11
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +13 -14
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.js +11 -12
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +7 -8
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +3 -4
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +2 -3
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +24 -25
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +3 -4
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +3 -4
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -3
- 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 +16 -17
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +3 -4
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +2 -3
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +3 -4
- 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 +33 -34
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +2 -3
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +3 -4
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +2 -3
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -7
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +3 -4
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +4 -5
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +6 -7
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +3 -4
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +2 -3
- 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 +30 -31
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +19 -20
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +3 -4
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +17 -18
- 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 +8 -9
- 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 +23 -24
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +26 -27
- 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 +2 -3
- 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 +13 -14
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +8 -9
- 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.js +40 -41
- 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 +28 -29
- 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 +19 -20
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.js +16 -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 +10 -11
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +4 -5
- 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 +8 -9
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +37 -38
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +20 -21
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +13 -14
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +6 -7
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +3 -4
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +9 -10
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +3 -4
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.js +7 -8
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +5 -6
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +5 -6
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +5 -6
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +3 -3
@@ -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,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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E,UAAU,IAjBjB,UAAU,CAAC,IAAI,6EAkBpB,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"}
|
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,CAA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AAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,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,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,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-
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
export declare const QueryBuilderDiffViewPanelDiaglog: ((props: {
|
23
23
|
diffViewState: QueryBuilderDiffViewState;
|
24
|
-
}) => import("react/jsx-
|
24
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
25
25
|
displayName: string;
|
26
26
|
};
|
27
27
|
//# sourceMappingURL=QueryBuilderDiffPanel.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderDiffPanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -33,9 +32,9 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
|
|
33
32
|
useEffect(() => {
|
34
33
|
diffViewState.generateGrammarDiff();
|
35
34
|
}, [diffViewState]);
|
36
|
-
return (
|
35
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__diff-panel__header", children: Object.values(QueryBuilderDiffViewMode).map((mode) => (_jsx("button", { onClick: onChangeMode(mode), className: clsx('query-builder__diff-panel__mode', {
|
37
36
|
'query-builder__diff-panel__mode--selected': mode === diffViewState.mode,
|
38
|
-
}), children: mode }, mode
|
37
|
+
}), children: mode }, mode))) }), _jsxs("div", { className: "query-builder__diff-panel__content", children: [diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (_jsx(CodeDiffView, { language: CODE_EDITOR_LANGUAGE.PURE, from: fromGrammarText, to: toGrammarText })), diffViewState.mode === QueryBuilderDiffViewMode.JSON && (_jsx(JSONDiffView, { from: JSON.stringify({
|
39
38
|
parameters: diffViewState.initialQuery.parameters
|
40
39
|
? pruneSourceInformation(diffViewState.initialQuery.parameters)
|
41
40
|
: undefined,
|
@@ -49,16 +48,16 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
|
|
49
48
|
body: diffViewState.currentQuery.body
|
50
49
|
? pruneSourceInformation(diffViewState.currentQuery.body)
|
51
50
|
: undefined,
|
52
|
-
}, null, DEFAULT_TAB_SIZE) }
|
51
|
+
}, null, DEFAULT_TAB_SIZE) }))] })] }));
|
53
52
|
});
|
54
53
|
export const QueryBuilderDiffViewPanelDiaglog = observer((props) => {
|
55
54
|
const { diffViewState } = props;
|
56
55
|
const applicationStore = diffViewState.changeDetectionState.querybuilderState.applicationStore;
|
57
56
|
const close = () => diffViewState.changeDetectionState.hideDiffViewPanel();
|
58
|
-
return (
|
57
|
+
return (_jsx(Dialog, { open: Boolean(diffViewState), onClose: close, classes: {
|
59
58
|
root: 'editor-modal__root-container',
|
60
59
|
container: 'editor-modal__container',
|
61
60
|
paper: 'editor-modal__content',
|
62
|
-
}, children:
|
61
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal'), children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: "Query Diff" }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: close, children: _jsx(TimesIcon, {}) }) })] }), _jsx(ModalBody, { className: "query-builder__diff-panel", children: _jsx(QueryBuilderDiffViewPanel, { diffViewState: diffViewState }) }), _jsx(ModalFooter, { className: "query-builder__diff-panel__actions", children: _jsx(ModalFooterButton, { title: "Close Modal", onClick: close, type: "secondary", children: "Close" }) })] }) }));
|
63
62
|
});
|
64
63
|
//# 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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C,aAE9D,MAAC,WAAW,eACV,KAAC,UAAU,IAAC,KAAK,EAAC,YAAY,GAAG,EACjC,KAAC,kBAAkB,cACjB,iBACE,SAAS,EAAC,uBAAuB,EACjC,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,KAAK,YAEd,KAAC,SAAS,KAAG,GACN,GACU,IACT,EACd,KAAC,SAAS,IAAC,SAAS,EAAC,2BAA2B,YAC9C,KAAC,yBAAyB,IAAC,aAAa,EAAE,aAAa,GAAI,GACjD,EACZ,KAAC,WAAW,IAAC,SAAS,EAAC,oCAAoC,YACzD,KAAC,iBAAiB,IAChB,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,WAAW,sBAGE,GACR,IACR,GACD,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-
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilderParametersPanel.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderParametersPanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -100,19 +99,19 @@ const VariableExpressionEditor = observer((props) => {
|
|
100
99
|
}
|
101
100
|
handleCancel();
|
102
101
|
};
|
103
|
-
return (
|
102
|
+
return (_jsx(Dialog, { open: Boolean(lambdaParameterState), onClose: handleCancel, classes: {
|
104
103
|
root: 'editor-modal__root-container',
|
105
104
|
container: 'editor-modal__container',
|
106
105
|
paper: 'editor-modal__content',
|
107
|
-
}, children:
|
106
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__variables__modal", children: [_jsx(ModalHeader, { title: `${isCreating ? 'Create Parameter' : 'Update Parameter'}` }), _jsxs(ModalBody, { className: "query-builder__variables__modal__body", children: [_jsx(PanelFormValidatedTextField, { name: "Parameter Name", prompt: "Name of the parameter. Should be descriptive of its purpose.", value: selectedName, update: (value) => {
|
108
107
|
setSelectedName(value ?? '');
|
109
108
|
setHasEditedName(true);
|
110
|
-
}, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }
|
109
|
+
}, validate: getValidationMessage, onValidate: (issue) => setIsNameValid(!issue && selectedName.length > 0), isReadOnly: false, ref: nameInputRef }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Type" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Data type of the parameter." }), _jsx(CustomSelectorInput, { placeholder: "Choose a type...", options: typeOptions, onChange: changeType, value: selectedType, darkMode: !applicationStore.layoutService
|
111
110
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
112
111
|
darkMode: !applicationStore.layoutService
|
113
112
|
.TEMPORARY__isLightColorThemeEnabled,
|
114
|
-
}) }
|
115
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
113
|
+
}) })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Multiplicity" }), _jsx("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." }), _jsx(CustomSelectorInput, { placeholder: "Choose a multiplicity...", options: multilicityOptions, onChange: changeMultiplicity, value: selectedMultiplicity, hasError: !validParamMultiplicityList.includes(selectedMultiplicity.value), darkMode: !applicationStore.layoutService
|
114
|
+
.TEMPORARY__isLightColorThemeEnabled })] }), isMilestoningParameter && defaultMilestoningValue && (_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Value" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Choose a default value for this milestoning parameter" }), _jsx("div", { className: "query-builder__variable-editor", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: defaultMilestoningValue, setValueSpecification: (val) => {
|
116
115
|
setDefaultMilestoningValue(deepClone(val));
|
117
116
|
}, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
118
117
|
expectedType: selectedType.value,
|
@@ -121,7 +120,7 @@ const VariableExpressionEditor = observer((props) => {
|
|
121
120
|
const now = createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
|
122
121
|
setDefaultMilestoningValue(now);
|
123
122
|
queryBuilderState.milestoningState.updateMilestoningParameterValue(lambdaParameterState.parameter, now);
|
124
|
-
} }
|
123
|
+
} }) })] }))] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Update', disabled: !isNameValid, onClick: handleApply }), _jsx(ModalFooterButton, { onClick: handleCancel, text: "Cancel", type: "secondary" })] })] }) }));
|
125
124
|
});
|
126
125
|
export const QueryBuilderParametersPanel = observer((props) => {
|
127
126
|
const { queryBuilderState } = props;
|
@@ -135,10 +134,10 @@ export const QueryBuilderParametersPanel = observer((props) => {
|
|
135
134
|
parmaterState.mockParameterValue();
|
136
135
|
}
|
137
136
|
};
|
138
|
-
return (
|
139
|
-
queryParameterState.parameterStates.map((pState) => (
|
137
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PARAMETERS, className: "panel query-builder__variables", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "parameters" }), _jsx("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: _jsx(QuestionCircleIcon, {}) })] }), !isReadOnly && !queryBuilderState.isParameterSupportDisabled && (_jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action", tabIndex: -1, onClick: addParameter, title: "Add Parameter", children: _jsx(PlusIcon, {}) }) }))] }), _jsxs("div", { className: "panel__content query-builder__variables__content", children: [!queryBuilderState.isParameterSupportDisabled && (_jsxs(_Fragment, { children: [Boolean(queryParameterState.parameterStates.length) &&
|
138
|
+
queryParameterState.parameterStates.map((pState) => (_jsx(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly, queryBuilderState: queryBuilderState, actions: {
|
140
139
|
editVariable: () => queryParameterState.setSelectedParameter(pState),
|
141
140
|
deleteVariable: () => queryParameterState.removeParameter(pState),
|
142
|
-
} }, pState.uuid
|
141
|
+
} }, pState.uuid))), !queryParameterState.parameterStates.length && (_jsx(BlankPanelPlaceholder, { text: "Add a parameter", disabled: isReadOnly, onClick: addParameter, clickActionType: "add", previewText: "No parameter", tooltipText: "Click to add a new parameter" }))] })), queryBuilderState.isParameterSupportDisabled && (_jsx(BlankPanelContent, { children: "Parameters are not supported" }))] }), queryParameterState.selectedParameter && (_jsx(VariableExpressionEditor, { queryBuilderState: queryBuilderState, lambdaParameterState: queryParameterState.selectedParameter })), queryParameterState.parameterValuesEditorState.showModal && (_jsx(LambdaParameterValuesEditor, { graph: queryBuilderState.graphManagerState.graph, observerContext: queryBuilderState.observerContext, lambdaParametersState: queryParameterState }))] }));
|
143
142
|
});
|
144
143
|
//# sourceMappingURL=QueryBuilderParametersPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderParametersP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3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,KAAC,2BAA2B,IAC1B,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAChD,eAAe,EAAE,iBAAiB,CAAC,eAAe,EAClD,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,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-
|
19
|
+
}) => import("react/jsx-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-
|
28
|
+
}) => import("react/jsx-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-
|
36
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
37
37
|
displayName: string;
|
38
38
|
};
|
39
39
|
//# sourceMappingURL=QueryBuilderPropertyExpressionEditor.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderPropertyExpressionEditor.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -105,19 +104,19 @@ const DerivedPropertyParameterValueEditor = observer((props) => {
|
|
105
104
|
: undefined);
|
106
105
|
};
|
107
106
|
const valueSpec = guaranteeNonNullable(derivedPropertyExpressionState.parameterValues[idx]);
|
108
|
-
return (
|
107
|
+
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: variable.name }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `${variable.multiplicity.lowerBound === 0 ? 'optional' : ''}` }), _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: valueSpec, setValueSpecification: (val) => {
|
109
108
|
functionExpression_setParameterValue(derivedPropertyExpressionState.propertyExpression, val, idx + 1, derivedPropertyExpressionState.queryBuilderState
|
110
109
|
.observerContext);
|
111
110
|
}, graph: graph, obseverContext: derivedPropertyExpressionState.queryBuilderState.observerContext, typeCheckOption: {
|
112
111
|
expectedType: parameterType,
|
113
112
|
match: parameterType === PrimitiveType.DATETIME,
|
114
|
-
}, resetValue: resetParameterValue, isConstant: queryBuilderState.constantState.isValueSpecConstant(valueSpec) }
|
113
|
+
}, resetValue: resetParameterValue, isConstant: queryBuilderState.constantState.isValueSpecConstant(valueSpec) }) }) }), _jsx("div", { className: "panel__content__form__section__list" })] }, variable.name));
|
115
114
|
});
|
116
115
|
const DerivedPropertyExpressionEditor = observer((props) => {
|
117
116
|
const { derivedPropertyExpressionState } = props;
|
118
117
|
const parameterValues = derivedPropertyExpressionState.parameterValues;
|
119
118
|
const parameters = derivedPropertyExpressionState.parameters;
|
120
|
-
return (
|
119
|
+
return (_jsxs("div", { className: "query-builder-property-editor__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: derivedPropertyExpressionState.title }), !parameterValues.length && (_jsx("div", { className: "query-builder-property-editor__section__content--empty", children: "No parameter" })), parameters.map((variable, idx) => (_jsx(DerivedPropertyParameterValueEditor, { derivedPropertyExpressionState: derivedPropertyExpressionState, variable: variable, idx: idx }, variable.name)))] }));
|
121
120
|
});
|
122
121
|
export const QueryBuilderPropertyExpressionEditor = observer((props) => {
|
123
122
|
const { propertyExpressionState } = props;
|
@@ -132,11 +131,11 @@ export const QueryBuilderPropertyExpressionEditor = observer((props) => {
|
|
132
131
|
(isSuperType(variableType, p.genericType.value.rawType) ||
|
133
132
|
p.genericType.value.rawType.name === variableType.name));
|
134
133
|
}));
|
135
|
-
return (
|
134
|
+
return (_jsx(Dialog, { open: Boolean(propertyExpressionState.isEditingDerivedPropertyExpression), onClose: handleClose, classes: {
|
136
135
|
root: 'editor-modal__root-container',
|
137
136
|
container: 'editor-modal__container',
|
138
137
|
paper: 'editor-modal__content',
|
139
|
-
}, children:
|
138
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder-property-editor", children: [_jsx(ModalHeader, { title: "Derived Property" }), _jsxs(ModalBody, { className: "query-builder-property-editor__content", children: [propertyExpressionState.derivedPropertyExpressionStates.map((pe) => (_jsx(DerivedPropertyExpressionEditor, { derivedPropertyExpressionState: pe }, pe.path))), _jsx(ModalBody, { className: "query-builder__variables__modal__body", children: _jsx(VariableSelector, { queryBuilderState: propertyExpressionState.queryBuilderState, filterBy: (v) => isParameterCompatibleWithDerivedProperty(v, propertyExpressionState.derivedPropertyExpressionStates) }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Done", onClick: handleClose }) })] }) }));
|
140
139
|
});
|
141
140
|
export const QueryBuilderEditablePropertyName = observer((props) => {
|
142
141
|
const { columnName, setColumnName, error, title, defaultColumnName } = props;
|
@@ -160,7 +159,7 @@ export const QueryBuilderEditablePropertyName = observer((props) => {
|
|
160
159
|
}
|
161
160
|
setIsEditingColumnName(false);
|
162
161
|
};
|
163
|
-
return isEditingColumnName ? (
|
162
|
+
return isEditingColumnName ? (_jsx("div", { className: "query-builder__property__name__editor", children: _jsx(InputWithInlineValidation, { className: "query-builder__property__name__editor__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: (event) => setSelectedColumnName(event.target.value), onKeyDown: (event) => {
|
164
163
|
if (event.key === 'Enter') {
|
165
164
|
handleFinishEditing();
|
166
165
|
}
|
@@ -169,14 +168,14 @@ export const QueryBuilderEditablePropertyName = observer((props) => {
|
|
169
168
|
// dragging the draggable element containing the input.
|
170
169
|
e.preventDefault();
|
171
170
|
e.stopPropagation();
|
172
|
-
} }
|
171
|
+
} }) })) : (_jsx("div", { className: "query-builder__property__name__display", title: title, children: _jsx("span", { className: clsx('query-builder__property__name__display__content', {
|
173
172
|
'query-builder__property__name__display__content--error': error,
|
174
173
|
'editable-value': setColumnName,
|
175
174
|
}), onClick: () => {
|
176
175
|
if (setColumnName) {
|
177
176
|
setIsEditingColumnName(true);
|
178
177
|
}
|
179
|
-
}, children: columnName }
|
178
|
+
}, children: columnName }) }));
|
180
179
|
});
|
181
180
|
export const QueryBuilderPropertyExpressionBadge = observer((props) => {
|
182
181
|
const { columnName, propertyExpressionState, setColumnName, error } = props;
|
@@ -189,13 +188,13 @@ export const QueryBuilderPropertyExpressionBadge = observer((props) => {
|
|
189
188
|
propertyExpressionState.setIsEditingDerivedProperty(true);
|
190
189
|
}
|
191
190
|
};
|
192
|
-
return (
|
191
|
+
return (_jsx("div", { className: "query-builder-property-expression-badge", children: _jsxs("div", { className: clsx('query-builder-property-expression-badge__content', {
|
193
192
|
'query-builder-property-expression-badge__content--class': type instanceof Class,
|
194
193
|
'query-builder-property-expression-badge__content--enumeration': type instanceof Enumeration,
|
195
194
|
'query-builder-property-expression-badge__content--primitive': type instanceof PrimitiveType,
|
196
|
-
}), children: [
|
197
|
-
.humanizePropertyName) }
|
195
|
+
}), children: [_jsx(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title, setColumnName: setColumnName, error: error, title: `${propertyExpressionState.title} - ${propertyExpressionState.path}`, defaultColumnName: getPropertyChainName(propertyExpressionState.propertyExpression, propertyExpressionState.queryBuilderState.explorerState
|
196
|
+
.humanizePropertyName) }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-property-expression-badge__action', {
|
198
197
|
'query-builder-property-expression-badge__action--error': !isValid,
|
199
|
-
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid &&
|
198
|
+
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: propertyExpressionState })] }) }));
|
200
199
|
});
|
201
200
|
//# 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,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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"}
|
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,sDAA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AAoC,IACnC,uBAAuB,EAAE,uBAAuB,GAChD,IACE,GACF,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-
|
24
|
+
}) => import("react/jsx-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-
|
39
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
40
40
|
displayName: string;
|
41
41
|
};
|
42
42
|
//# sourceMappingURL=QueryBuilderSideBar.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/QueryBuilderSideBar.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -39,9 +38,9 @@ export const getParameterValue = (parameter) => {
|
|
39
38
|
};
|
40
39
|
const generateClassLabel = (val, queryBuilderState) => {
|
41
40
|
const isDeprecatedClass = isElementDeprecated(val, queryBuilderState.graphManagerState.graph);
|
42
|
-
return (
|
41
|
+
return (_jsx("div", { className: clsx('query-builder__setup__class-option-label', {
|
43
42
|
'query-builder__setup__class-option-label--deprecated': isDeprecatedClass,
|
44
|
-
}), children:
|
43
|
+
}), children: _jsx("div", { className: "query-builder__setup__class-option-label__name", children: val.name }) }));
|
45
44
|
};
|
46
45
|
export const QueryBuilderClassSelector = observer((props) => {
|
47
46
|
const { queryBuilderState, classes, onClassChange, noMatchMessage } = props;
|
@@ -71,14 +70,14 @@ export const QueryBuilderClassSelector = observer((props) => {
|
|
71
70
|
queryBuilderState.changeClass(val.value);
|
72
71
|
onClassChange?.(val.value);
|
73
72
|
};
|
74
|
-
return (
|
73
|
+
return (_jsx("div", { className: "query-builder__setup__config-group query-builder__setup__config-group--class", children: _jsxs("div", { className: "query-builder__setup__config-group__item ", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "entity", htmlFor: "query-builder__setup__class-selector", children: "Entity" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__class-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector query-builder__setup__config-group__item__selector__milestoned", placeholder: classOptions.length
|
75
74
|
? 'Choose an entity...'
|
76
75
|
: noMatchMessage ?? 'No entity found', disabled: classOptions.length < 1 ||
|
77
76
|
(classOptions.length === 1 && Boolean(selectedClassOption)), noMatchMessage: noMatchMessage, options: classOptions, onChange: changeClass, value: selectedClassOption, darkMode: !applicationStore.layoutService
|
78
77
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
|
79
78
|
darkMode: !applicationStore.layoutService
|
80
79
|
.TEMPORARY__isLightColorThemeEnabled,
|
81
|
-
}) }
|
80
|
+
}) })] }) }));
|
82
81
|
});
|
83
82
|
export const buildRuntimeValueOption = (runtimeValue) => ({
|
84
83
|
value: runtimeValue,
|
@@ -91,7 +90,7 @@ export const getRuntimeOptionFormatter = (props) => function RuntimeOptionLabel(
|
|
91
90
|
const runtimePointer = option.value;
|
92
91
|
return getPackageableElementOptionFormatter(props)(buildElementOption(runtimePointer.packageableRuntime.value));
|
93
92
|
}
|
94
|
-
return option.value instanceof RuntimePointer ? (option.value.packageableRuntime.value.name) : (
|
93
|
+
return option.value instanceof RuntimePointer ? (option.value.packageableRuntime.value.name) : (_jsxs("div", { className: "query-builder__setup__runtime-option--custom", children: [_jsx(CogIcon, {}), _jsx("div", { className: "query-builder__setup__runtime-option--custom__label", children: "custom" })] }));
|
95
94
|
};
|
96
95
|
const BasicQueryBuilderSetup = observer((props) => {
|
97
96
|
const { queryBuilderState } = props;
|
@@ -142,13 +141,13 @@ const BasicQueryBuilderSetup = observer((props) => {
|
|
142
141
|
? option.value.packageableRuntime.value.path
|
143
142
|
: 'custom',
|
144
143
|
});
|
145
|
-
return (
|
144
|
+
return (_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsx(PanelHeader, { title: "properties" }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "mapping", htmlFor: "query-builder__setup__mapping-selector", children: "Mapping" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__mapping-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: mappingOptions.length
|
146
145
|
? 'Choose a mapping...'
|
147
146
|
: 'No mapping found', disabled: queryBuilderState.isMappingReadOnly || !queryBuilderState.class, options: mappingOptions, onChange: changeMapping, value: selectedMappingOption, darkMode: !applicationStore.layoutService
|
148
147
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: mappingFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
|
149
148
|
darkMode: !applicationStore.layoutService
|
150
149
|
.TEMPORARY__isLightColorThemeEnabled,
|
151
|
-
}) }
|
150
|
+
}) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: runtimeOptions.length
|
152
151
|
? 'Choose a runtime...'
|
153
152
|
: 'No runtime found', disabled: queryBuilderState.isRuntimeReadOnly ||
|
154
153
|
!queryBuilderState.class ||
|
@@ -156,7 +155,7 @@ const BasicQueryBuilderSetup = observer((props) => {
|
|
156
155
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
|
157
156
|
darkMode: !applicationStore.layoutService
|
158
157
|
.TEMPORARY__isLightColorThemeEnabled,
|
159
|
-
}) }
|
158
|
+
}) })] }), _jsx("div", { className: "query-builder__setup__config-group__item", children: _jsx(QueryBuilderClassSelector, { queryBuilderState: queryBuilderState, classes: classes }) })] })] }));
|
160
159
|
});
|
161
160
|
export const QueryBuilderSidebar = observer((props) => {
|
162
161
|
const { queryBuilderState, children } = props;
|
@@ -164,7 +163,7 @@ export const QueryBuilderSidebar = observer((props) => {
|
|
164
163
|
const extraTemplateQueryPanelContentRenderer = applicationStore.pluginManager
|
165
164
|
.getApplicationPlugins()
|
166
165
|
.flatMap((plugin) => plugin.getExtraTemplateQueryPanelContentRenderer?.() ?? []);
|
167
|
-
const templateQueryPanelContentTab = extraTemplateQueryPanelContentRenderer[0] ? (extraTemplateQueryPanelContentRenderer[0](queryBuilderState)) : (
|
168
|
-
return (
|
166
|
+
const templateQueryPanelContentTab = extraTemplateQueryPanelContentRenderer[0] ? (extraTemplateQueryPanelContentRenderer[0](queryBuilderState)) : (_jsx(_Fragment, {}));
|
167
|
+
return (_jsxs("div", { className: clsx('query-builder__side-bar', queryBuilderState.sideBarClassName), children: [_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_SETUP, className: "panel query-builder__setup", children: _jsx("div", { className: "panel__content query-builder__setup__content", children: queryBuilderState.TEMPORARY__setupPanelContentRenderer?.() ?? (_jsx(BasicQueryBuilderSetup, { queryBuilderState: queryBuilderState })) }) }), _jsx("div", { className: "query-builder__template-query", children: templateQueryPanelContentTab }), _jsx("div", { className: "query-builder__side-bar__content", children: children })] }));
|
169
168
|
});
|
170
169
|
//# sourceMappingURL=QueryBuilderSideBar.js.map
|