@finos/legend-query-builder 4.14.18 → 4.14.20
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +5 -3
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +71 -45
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js +2 -1
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +25 -26
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +11 -2
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +35 -10
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +6 -1
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +3 -3
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryLoader.d.ts.map +1 -1
- package/lib/components/QueryLoader.js +90 -39
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts.map +1 -1
- package/lib/components/QueryUsageViewer.js +2 -2
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +2 -0
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +19 -2
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -1
- package/lib/components/data-access/DataAccessOverview.js +6 -1
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +6 -6
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +3 -2
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -2
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +6 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +4 -3
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +11 -22
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +2 -1
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +5 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +11 -2
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +25 -22
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +8 -5
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +17 -3
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +2 -2
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +6 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +40 -3
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.js +28 -12
- package/lib/components/watermark/QueryBuilderWatermark.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/QueryBuilderConstantsState.d.ts +1 -0
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +7 -1
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +24 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +14 -4
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +35 -5
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -12
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/package.json +8 -8
- package/src/components/QueryBuilder.tsx +14 -2
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +145 -69
- package/src/components/QueryBuilderDiffPanel.tsx +10 -2
- package/src/components/QueryBuilderParametersPanel.tsx +42 -37
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +87 -24
- package/src/components/QueryBuilderSideBar.tsx +20 -0
- package/src/components/QueryBuilderTextEditor.tsx +6 -4
- package/src/components/QueryLoader.tsx +291 -130
- package/src/components/QueryUsageViewer.tsx +7 -1
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +40 -4
- package/src/components/data-access/DataAccessOverview.tsx +9 -1
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +11 -8
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -2
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +5 -2
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +12 -5
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +8 -4
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +56 -72
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +8 -2
- package/src/components/result/QueryBuilderResultPanel.tsx +8 -1
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +6 -3
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +14 -4
- package/src/components/shared/BasicValueSpecificationEditor.tsx +39 -25
- package/src/components/shared/CustomDatePicker.tsx +18 -5
- package/src/components/shared/LambdaEditor.tsx +27 -11
- package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -1
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +115 -64
- package/src/components/watermark/QueryBuilderWatermark.tsx +60 -19
- package/src/stores/QueryBuilderConstantsState.ts +12 -0
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +39 -1
- package/src/stores/QueryLoaderState.ts +64 -12
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -12
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EAEjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,oCAAoC,EACpC,sBAAsB,EACtB,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,iC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AAO,EAAE,4BAA4B,EACrC,YAAY,EAAE;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,QAAQ;iBACrB,EACD,eAAe,EAAE;oBACf,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,QAAQ;iBACrB,aAED,KAAC,cAAc,IACb,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAC7B,QAAQ,EAAE,4BAA4B,EACtC,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,qBAAqB,EAC9B,IAAI,EAAE,CAAC,GACP,EACD,4BAA4B,EAAE,IACnB,IACb,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EAEjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,oCAAoC,EACpC,sBAAsB,EACtB,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,mBAAmB,G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8BACE,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,+CAA+C,EACrD,OAAO,EAAE,2BAA2B,YAEnC,gBAAgB,CAAC,KAAK,GAChB,EACT,MAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,EACvB,eAAe,EAAE;oBACf,OAAO,EAAE,WAAW;iBACrB,EACD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,4BAA4B,EACrC,YAAY,EAAE;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,QAAQ;iBACrB,EACD,eAAe,EAAE;oBACf,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,QAAQ;iBACrB,aAED,KAAC,cAAc,IACb,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAC7B,QAAQ,EAAE,4BAA4B,EACtC,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,qBAAqB,EAC9B,IAAI,EAAE,CAAC,GACP,EACD,4BAA4B,EAAE,IACnB,IACb,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAmnB/E,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;;;;;;;;;;OAaG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAEpB,qBAAqB,GAAG;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAChC,mBAAmB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IAClD,yBAAyB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC;;CAiGJ,CAAC;AAEF,eAAO,MAAM,YAAY,WAAoB,qBAAqB;;CAmChE,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { useRef, useEffect, useState, useMemo } from 'react';
|
18
18
|
import { editor as monacoEditorAPI } from 'monaco-editor';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
|
-
import { clsx, FilledWindowMaximizeIcon, LongArrowAltDownIcon, LongArrowAltUpIcon, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, ModalTitle, } from '@finos/legend-art';
|
20
|
+
import { clsx, FilledWindowMaximizeIcon, LongArrowAltDownIcon, LongArrowAltUpIcon, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalFooterButton, } from '@finos/legend-art';
|
21
21
|
import { disposeCodeEditor, getBaseCodeEditorOptions, getCodeEditorValue, normalizeLineEnding, clearMarkers, setErrorMarkers, CODE_EDITOR_LANGUAGE, CODE_EDITOR_THEME, } from '@finos/legend-lego/code-editor';
|
22
22
|
import { debounce, noop, } from '@finos/legend-shared';
|
23
23
|
import { flowResult } from 'mobx';
|
@@ -113,6 +113,20 @@ const LambdaEditor_Inner = observer((props) => {
|
|
113
113
|
}
|
114
114
|
}
|
115
115
|
}, [editor, isExpanded]);
|
116
|
+
// set styling when theme changes
|
117
|
+
useEffect(() => {
|
118
|
+
if (editor) {
|
119
|
+
editor.updateOptions({
|
120
|
+
theme: applicationStore.layoutService
|
121
|
+
.TEMPORARY__isLightColorThemeEnabled
|
122
|
+
? CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT
|
123
|
+
: CODE_EDITOR_THEME.DEFAULT_DARK,
|
124
|
+
});
|
125
|
+
}
|
126
|
+
}, [
|
127
|
+
editor,
|
128
|
+
applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled,
|
129
|
+
]);
|
116
130
|
// set backdrop to force user to fix parser error when it happens
|
117
131
|
useEffect(() => {
|
118
132
|
if (parserError) {
|
@@ -366,12 +380,12 @@ const LambdaEditor_PopUp = observer((props) => {
|
|
366
380
|
root: 'editor-modal__root-container',
|
367
381
|
container: 'editor-modal__container',
|
368
382
|
paper: 'editor-modal__content',
|
369
|
-
}, children: _jsxs(Modal, { darkMode:
|
383
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal lambda-editor__popup__modal', {
|
370
384
|
'lambda-editor__popup__modal--has-error': Boolean(lambdaEditorState.parserError),
|
371
385
|
}, {
|
372
386
|
'lambda-editor--light': applicationStore.layoutService
|
373
387
|
.TEMPORARY__isLightColorThemeEnabled,
|
374
|
-
}), children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: title ?? 'Edit Lambda' }), lambdaEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse lambda" }))] }), _jsx(ModalBody, { children: _jsx("div", { className: clsx('lambda-editor__popup__content', className), children: _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "code-editor__body", ref: textInputRef }) }) }) }), _jsxs(ModalFooter, { children: [_jsx(
|
388
|
+
}), children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: title ?? 'Edit Lambda' }), lambdaEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse lambda" }))] }), _jsx(ModalBody, { children: _jsx("div", { className: clsx('lambda-editor__popup__content', className), children: _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "code-editor__body", ref: textInputRef }) }) }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { className: "btn--caution", text: "Discard changes", onClick: discardChanges }), _jsx(ModalFooterButton, { text: "Close", onClick: onClose, disabled: Boolean(lambdaEditorState.parserError), type: "secondary" })] })] }) }));
|
375
389
|
});
|
376
390
|
export const InlineLambdaEditor = observer((props) => {
|
377
391
|
const { className, lambdaEditorState, disabled, forceBackdrop, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, disableExpansion, forceExpansion, disablePopUp, hideErrorBar, autoFocus, onEditorFocus, onEditorBlur, } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AA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CACL,EACP,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAC9B,CAAC;IACF,OAAO,CACL,KAAC,kBAAkB,IAEjB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,gCAAgC,EACzD,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,IAAI,EACtB,cAAc,EAAE,IAAI,EACpB,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,IAAI,IAXb,iBAAiB,CAAC,IAAI,CAY3B,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAIzF,eAAO,MAAM,2BAA2B,WAC9B;IACN,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;;
|
1
|
+
{"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAIzF,eAAO,MAAM,2BAA2B,WAC9B;IACN,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;;CAkGF,CAAC"}
|
@@ -44,7 +44,7 @@ export const LambdaParameterValuesEditor = observer((props) => {
|
|
44
44
|
root: 'editor-modal__root-container',
|
45
45
|
container: 'editor-modal__container',
|
46
46
|
paper: 'editor-modal__content',
|
47
|
-
}, children: _jsxs(Modal, { darkMode:
|
47
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal lambda-parameter-values__modal", children: [_jsx(ModalHeader, { title: "Set Parameter Values" }), _jsx(ModalBody, { className: "lambda-parameter-values__modal__body", children: lambdaParametersState.parameterStates.map((paramState) => {
|
48
48
|
const variableType = paramState.variableType ?? PrimitiveType.STRING;
|
49
49
|
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsxs("div", { className: "lambda-parameter-values__value__label", children: [_jsx("div", { className: "lambda-parameter-values__value__label__name", children: paramState.parameter.name }), _jsx("div", { className: "lambda-parameter-values__value__label__type", children: variableType.name })] }), paramState.value && (_jsx(BasicValueSpecificationEditor, { valueSpecification: paramState.value, setValueSpecification: (val) => {
|
50
50
|
paramState.setValue(val);
|
@@ -52,6 +52,6 @@ export const LambdaParameterValuesEditor = observer((props) => {
|
|
52
52
|
expectedType: variableType,
|
53
53
|
match: variableType === PrimitiveType.DATETIME,
|
54
54
|
}, className: "query-builder__parameters__value__editor", resetValue: () => paramState.mockParameterValue() }))] }, paramState.uuid));
|
55
|
-
}) }), _jsxs(ModalFooter, { children: [isClosingAction && (_jsx(ModalFooterStatus, { children: " Closing..." })), submitAction && (_jsx(ModalFooterButton, { inProgressText: isSubmitAction ? `${submitAction.label}...` : undefined, onClick: submit, text: prettyCONSTName(submitAction.label) })), _jsx(ModalFooterButton, { inProgressText: isClosingAction ? 'Closing...' : undefined, onClick: close, text: "Close" })] })] }) }));
|
55
|
+
}) }), _jsxs(ModalFooter, { children: [isClosingAction && (_jsx(ModalFooterStatus, { children: " Closing..." })), submitAction && (_jsx(ModalFooterButton, { inProgressText: isSubmitAction ? `${submitAction.label}...` : undefined, onClick: submit, text: prettyCONSTName(submitAction.label) })), _jsx(ModalFooterButton, { inProgressText: isClosingAction ? 'Closing...' : undefined, onClick: close, text: "Close", type: "secondary" })] })] }) }));
|
56
56
|
});
|
57
57
|
//# sourceMappingURL=LambdaParameterValuesEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaParameterValuesEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,qBAAqB,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAChE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5D,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9D,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,0BAA0B,CAAC;IAC3E,MAAM,KAAK,GAAG,GAAS,EAAE;QACvB,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACzB,iBAAiB,CAAC,KAAK,EAAE,CAAC;IAC5B,CAAC,CAAC;IACF,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,YAAY,GAAG,iBAAiB,CAAC,YAAY,CAAC;IACpD,MAAM,MAAM,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,KAAK,IAAI,EAAE;QAC7D,IAAI,YAAY,EAAE;YAChB,iBAAiB,CAAC,IAAI,CAAC,CAAC;YACxB,KAAK,EAAE,CAAC;YACR,MAAM,YAAY,CAAC,OAAO,EAAE,CAAC;SAC9B;IACH,CAAC,CAAC,CAAC;IACH,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,OAAO,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAC1C,OAAO,EAAE,KAAK,EACd,OAAO,EAAE;YACP,IAAI,EAAE,8BAA8B;YACpC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,uBAAuB;SAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,
|
1
|
+
{"version":3,"file":"LambdaParameterValuesEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC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,EAAE,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,EAC1D,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,WAAW,GAChB,IACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -30,4 +30,10 @@ export declare const QueryBuilderPropertyInfoTooltip: React.FC<{
|
|
30
30
|
type?: Type | undefined;
|
31
31
|
explorerState?: QueryBuilderExplorerState | undefined;
|
32
32
|
}>;
|
33
|
+
export declare const QueryBuilderDerivationInfoTooltip: React.FC<{
|
34
|
+
title: string;
|
35
|
+
children: React.ReactElement;
|
36
|
+
placement?: TooltipPlacement | undefined;
|
37
|
+
type?: Type | undefined;
|
38
|
+
}>;
|
33
39
|
//# sourceMappingURL=QueryBuilderPropertyInfoTooltip.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAEL,KAAK,gBAAgB,EAGtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,WAAW,EAKjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAEpG,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B,CAiFA,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAEL,KAAK,gBAAgB,EAGtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,WAAW,EAKjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAEpG,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B,CAiFA,CAAC;AAgEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACvD,CA2DA,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CAmBA,CAAC"}
|
@@ -38,8 +38,8 @@ export const QueryBuilderTaggedValueInfoTooltip = (props) => {
|
|
38
38
|
.slice(3)
|
39
39
|
.map((taggedValue) => taggedValueCellRender(taggedValue))] })] })) : (_jsx(_Fragment, { children: Boolean(documentation.length) && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: documentation.join('\n\n') })] })) })) }));
|
40
40
|
};
|
41
|
-
|
42
|
-
const { title,
|
41
|
+
const QueryBuilderBaseInfoTooltip = (props) => {
|
42
|
+
const { title, data, placement, children, footerElement } = props;
|
43
43
|
const [open, setIsOpen] = useState(false);
|
44
44
|
return (_jsx(ClickAwayListener, { onClickAway: () => setIsOpen(false), children: _jsx("div", { children: _jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
|
45
45
|
tooltip: 'query-builder__tooltip',
|
@@ -50,6 +50,43 @@ export const QueryBuilderPropertyInfoTooltip = (props) => {
|
|
50
50
|
// NOTE: somehow, this is the only workaround we have, if for example
|
51
51
|
// we set `appear = true`, the tooltip will jump out of position
|
52
52
|
timeout: 0,
|
53
|
-
}, disableFocusListener: true, disableHoverListener: true, disableTouchListener: true, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsx("div", { className: "query-builder__tooltip__header", children: title }),
|
53
|
+
}, disableFocusListener: true, disableHoverListener: true, disableTouchListener: true, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsx("div", { className: "query-builder__tooltip__header", children: title }), data.map((elem) => (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: elem.label }), _jsx("div", { className: "query-builder__tooltip__item__value", children: elem.value }), elem.actionButton] }, elem.label))), footerElement] }), children: _jsx("div", { onClick: () => setIsOpen(true), children: children }) }) }) }));
|
54
|
+
};
|
55
|
+
export const QueryBuilderPropertyInfoTooltip = (props) => {
|
56
|
+
const { title, property, path, isMapped, children, placement, type, explorerState, } = props;
|
57
|
+
const data = [
|
58
|
+
{
|
59
|
+
label: 'Type',
|
60
|
+
value: type?.path ?? property.genericType.value.rawType.path,
|
61
|
+
},
|
62
|
+
{
|
63
|
+
label: 'Path',
|
64
|
+
value: path,
|
65
|
+
actionButton: explorerState ? (_jsx("div", { className: "query-builder__tooltip__item__action", children: _jsx("button", { onClick: () => explorerState.highlightTreeNode(path), title: "Show in tree", children: _jsx(ShareBoxIcon, { color: "white" }) }) })) : undefined,
|
66
|
+
},
|
67
|
+
{
|
68
|
+
label: 'Multiplicity',
|
69
|
+
value: getMultiplicityDescription(property.multiplicity),
|
70
|
+
},
|
71
|
+
{
|
72
|
+
label: 'Derived Property',
|
73
|
+
value: property instanceof DerivedProperty ? 'Yes' : 'No',
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: 'Mapped',
|
77
|
+
value: isMapped ? 'Yes' : 'No',
|
78
|
+
},
|
79
|
+
];
|
80
|
+
return (_jsx(QueryBuilderBaseInfoTooltip, { title: title, data: data, placement: placement, footerElement: _jsx(QueryBuilderTaggedValueInfoTooltip, { taggedValues: property.taggedValues }), children: children }));
|
81
|
+
};
|
82
|
+
export const QueryBuilderDerivationInfoTooltip = (props) => {
|
83
|
+
const { title, children, placement, type } = props;
|
84
|
+
const data = [
|
85
|
+
{
|
86
|
+
label: 'Type',
|
87
|
+
value: type?.path ?? 'undefined',
|
88
|
+
},
|
89
|
+
];
|
90
|
+
return (_jsx(QueryBuilderBaseInfoTooltip, { title: title, data: data, placement: placement, children: children }));
|
54
91
|
};
|
55
92
|
//# sourceMappingURL=QueryBuilderPropertyInfoTooltip.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyInfoTooltip.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPropertyInfoTooltip.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,YAAY,EAEZ,OAAO,EACP,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,CAAC,QAAQ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SACzD;QACD;YACE,KAAK,EAAE,kBAAkB;YACzB,KAAK,EAAE,QAAQ,YAAY,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;SAC1D;QACD;YACE,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;SAC/B;KACF,CAAC;IAEF,OAAO,CACL,KAAC,2BAA2B,IAC1B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,aAAa,EACX,KAAC,kCAAkC,IACjC,YAAY,EAAE,QAAQ,CAAC,YAAY,GACnC,YAGH,QAAQ,GACmB,CAC/B,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAKzC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnD,MAAM,IAAI,GAAG;QACX;YACE,KAAK,EAAE,MAAM;YACb,KAAK,EAAE,IAAI,EAAE,IAAI,IAAI,WAAW;SACjC;KACF,CAAC;IAEF,OAAO,CACL,KAAC,2BAA2B,IAC1B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACmB,CAC/B,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA6F3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAoFjD,CAAC"}
|
@@ -17,18 +17,19 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
17
17
|
import { Dialog, PanelDropZone, PanelFormBooleanField, PanelForm, PanelDivider, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormSection, ModalFooterButton, } from '@finos/legend-art';
|
18
18
|
import { areMultiplicitiesEqual, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
|
-
import { useCallback } from 'react';
|
20
|
+
import { useCallback, useState } from 'react';
|
21
21
|
import { useDrop } from 'react-dnd';
|
22
22
|
import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
|
23
23
|
import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
|
24
|
+
import { clone, deepClone } from '@finos/legend-shared';
|
24
25
|
const isParamaterCompatibleWithWaterMark = (parameter) => PrimitiveType.STRING === parameter.genericType?.value.rawType &&
|
25
26
|
areMultiplicitiesEqual(parameter.multiplicity, Multiplicity.ONE);
|
26
27
|
const WatermarkValueEditor = observer((props) => {
|
27
|
-
const {
|
28
|
+
const { selectedValue, setSelectedValue, handleResetValue, watermarkState, } = props;
|
28
29
|
const graph = watermarkState.queryBuilderState.graphManagerState.graph;
|
29
30
|
const handleDrop = useCallback((item) => {
|
30
|
-
|
31
|
-
}, [
|
31
|
+
setSelectedValue(item.variable);
|
32
|
+
}, [setSelectedValue]);
|
32
33
|
const [{ isParameterValueDragOver }, dropTargetConnector] = useDrop(() => ({
|
33
34
|
accept: [QUERY_BUILDER_VARIABLE_DND_TYPE],
|
34
35
|
drop: (item, monitor) => {
|
@@ -44,24 +45,39 @@ const WatermarkValueEditor = observer((props) => {
|
|
44
45
|
}),
|
45
46
|
}),
|
46
47
|
}), [handleDrop]);
|
47
|
-
return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification:
|
48
|
-
|
48
|
+
return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: selectedValue, setValueSpecification: (val) => {
|
49
|
+
setSelectedValue(clone(val));
|
49
50
|
}, graph: graph, obseverContext: watermarkState.queryBuilderState.observerContext, typeCheckOption: {
|
50
51
|
expectedType: PrimitiveType.STRING,
|
51
|
-
}, resetValue: ()
|
52
|
-
watermarkState.resetValue();
|
53
|
-
}, isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(watermarkValue) }) }) }) }));
|
52
|
+
}, resetValue: handleResetValue, isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(selectedValue) }) }) }) }));
|
54
53
|
});
|
55
54
|
export const QueryBuilderWatermarkEditor = observer((props) => {
|
56
55
|
const { queryBuilderState } = props;
|
56
|
+
const applicationStore = queryBuilderState.applicationStore;
|
57
57
|
const watermarkState = queryBuilderState.watermarkState;
|
58
|
-
const
|
58
|
+
const [selectedValue, setSelectedValue] = useState(deepClone(watermarkState.value));
|
59
|
+
const handleCancel = () => {
|
59
60
|
watermarkState.setIsEditingWatermark(false);
|
60
61
|
};
|
61
|
-
|
62
|
+
const handleApply = () => {
|
63
|
+
watermarkState.setValue(selectedValue);
|
64
|
+
handleCancel();
|
65
|
+
};
|
66
|
+
const handleResetValue = () => {
|
67
|
+
setSelectedValue(watermarkState.getDefaultValue());
|
68
|
+
};
|
69
|
+
const toggleWatermark = () => {
|
70
|
+
if (selectedValue) {
|
71
|
+
setSelectedValue(undefined);
|
72
|
+
}
|
73
|
+
else {
|
74
|
+
handleResetValue();
|
75
|
+
}
|
76
|
+
};
|
77
|
+
return (_jsx(Dialog, { open: Boolean(watermarkState.isEditingWatermark), onClose: handleCancel, classes: {
|
62
78
|
root: 'editor-modal__root-container',
|
63
79
|
container: 'editor-modal__container',
|
64
80
|
paper: 'editor-modal__content',
|
65
|
-
}, children: _jsxs(Modal, { darkMode:
|
81
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__watermark__modal", children: [_jsx(ModalHeader, { title: "Watermark" }), _jsx(ModalBody, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: selectedValue !== undefined, prompt: "Enable watermark", update: toggleWatermark }), selectedValue && (_jsxs(_Fragment, { children: [_jsx(WatermarkValueEditor, { selectedValue: selectedValue, setSelectedValue: setSelectedValue, handleResetValue: handleResetValue, watermarkState: watermarkState }), _jsx(PanelDivider, {}), _jsx(VariableSelector, { filterBy: isParamaterCompatibleWithWaterMark, queryBuilderState: queryBuilderState })] }))] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: "Apply", onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
|
66
82
|
});
|
67
83
|
//# sourceMappingURL=QueryBuilderWatermark.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWatermark.js","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,aAAa,GAGd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderWatermark.js","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,aAAa,GAGd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,GAEhC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,kCAAkC,GAAG,CACzC,SAA6B,EACpB,EAAE,CACX,aAAa,CAAC,MAAM,KAAK,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO;IAC7D,sBAAsB,CAAC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;AAEnE,MAAM,oBAAoB,GAAG,QAAQ,CACnC,CAAC,KAKA,EAAE,EAAE;IACH,MAAM,EACJ,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACf,GAAG,KAA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