@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.
Files changed (133) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +5 -3
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderConstantExpressionPanel.js +71 -45
  6. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  7. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderDiffPanel.js +2 -1
  9. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  10. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderParametersPanel.js +25 -26
  12. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +11 -2
  14. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  15. package/lib/components/QueryBuilderPropertyExpressionEditor.js +35 -10
  16. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  17. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  18. package/lib/components/QueryBuilderSideBar.js +6 -1
  19. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  20. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderTextEditor.js +3 -3
  22. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  23. package/lib/components/QueryLoader.d.ts.map +1 -1
  24. package/lib/components/QueryLoader.js +90 -39
  25. package/lib/components/QueryLoader.js.map +1 -1
  26. package/lib/components/QueryUsageViewer.d.ts.map +1 -1
  27. package/lib/components/QueryUsageViewer.js +2 -2
  28. package/lib/components/QueryUsageViewer.js.map +1 -1
  29. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +2 -0
  30. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  31. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +19 -2
  32. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  33. package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -1
  34. package/lib/components/data-access/DataAccessOverview.js +6 -1
  35. package/lib/components/data-access/DataAccessOverview.js.map +1 -1
  36. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  37. package/lib/components/execution-plan/ExecutionPlanViewer.js +6 -6
  38. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  39. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  40. package/lib/components/explorer/QueryBuilderExplorerPanel.js +3 -2
  41. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  42. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  43. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -2
  44. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  46. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +6 -3
  47. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  48. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  49. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +4 -3
  50. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  52. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +11 -22
  53. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  54. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +2 -2
  56. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  57. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  58. package/lib/components/result/QueryBuilderResultPanel.js +2 -1
  59. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  60. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  61. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +5 -1
  62. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  63. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
  64. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +11 -2
  65. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  66. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  67. package/lib/components/shared/BasicValueSpecificationEditor.js +25 -22
  68. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  69. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  70. package/lib/components/shared/CustomDatePicker.js +8 -5
  71. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  72. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  73. package/lib/components/shared/LambdaEditor.js +17 -3
  74. package/lib/components/shared/LambdaEditor.js.map +1 -1
  75. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  76. package/lib/components/shared/LambdaParameterValuesEditor.js +2 -2
  77. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  78. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +6 -0
  79. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  80. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +40 -3
  81. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  82. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  83. package/lib/components/watermark/QueryBuilderWatermark.js +28 -12
  84. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  85. package/lib/index.css +17 -1
  86. package/lib/index.css.map +1 -1
  87. package/lib/package.json +1 -1
  88. package/lib/stores/QueryBuilderConstantsState.d.ts +1 -0
  89. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  90. package/lib/stores/QueryBuilderConstantsState.js +7 -1
  91. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  92. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +24 -1
  93. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  94. package/lib/stores/QueryLoaderState.d.ts +14 -4
  95. package/lib/stores/QueryLoaderState.d.ts.map +1 -1
  96. package/lib/stores/QueryLoaderState.js +35 -5
  97. package/lib/stores/QueryLoaderState.js.map +1 -1
  98. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
  99. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  100. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -12
  101. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  102. package/package.json +8 -8
  103. package/src/components/QueryBuilder.tsx +14 -2
  104. package/src/components/QueryBuilderConstantExpressionPanel.tsx +145 -69
  105. package/src/components/QueryBuilderDiffPanel.tsx +10 -2
  106. package/src/components/QueryBuilderParametersPanel.tsx +42 -37
  107. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +87 -24
  108. package/src/components/QueryBuilderSideBar.tsx +20 -0
  109. package/src/components/QueryBuilderTextEditor.tsx +6 -4
  110. package/src/components/QueryLoader.tsx +291 -130
  111. package/src/components/QueryUsageViewer.tsx +7 -1
  112. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +40 -4
  113. package/src/components/data-access/DataAccessOverview.tsx +9 -1
  114. package/src/components/execution-plan/ExecutionPlanViewer.tsx +11 -8
  115. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -2
  116. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +5 -2
  117. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +12 -5
  118. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +8 -4
  119. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +56 -72
  120. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +8 -2
  121. package/src/components/result/QueryBuilderResultPanel.tsx +8 -1
  122. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +6 -3
  123. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +14 -4
  124. package/src/components/shared/BasicValueSpecificationEditor.tsx +39 -25
  125. package/src/components/shared/CustomDatePicker.tsx +18 -5
  126. package/src/components/shared/LambdaEditor.tsx +27 -11
  127. package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -1
  128. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +115 -64
  129. package/src/components/watermark/QueryBuilderWatermark.tsx +60 -19
  130. package/src/stores/QueryBuilderConstantsState.ts +12 -0
  131. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +39 -1
  132. package/src/stores/QueryLoaderState.ts +64 -12
  133. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -12
@@ -14,8 +14,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { useCallback } from 'react';
18
- import { clsx, Dialog, PanelDropZone, InfoCircleIcon, PanelEntryDropZonePlaceholder, Modal, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, } from '@finos/legend-art';
17
+ import { useCallback, useEffect, useRef, useState, } from 'react';
18
+ import { clsx, Dialog, PanelDropZone, InfoCircleIcon, PanelEntryDropZonePlaceholder, Modal, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, InputWithInlineValidation, } from '@finos/legend-art';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { generateValueSpecificationForParameter, } from '../stores/QueryBuilderPropertyEditorState.js';
21
21
  import { useDrop } from 'react-dnd';
@@ -120,6 +120,7 @@ const DerivedPropertyExpressionEditor = observer((props) => {
120
120
  });
121
121
  export const QueryBuilderPropertyExpressionEditor = observer((props) => {
122
122
  const { propertyExpressionState } = props;
123
+ const applicationStore = propertyExpressionState.queryBuilderState.applicationStore;
123
124
  const handleClose = () => propertyExpressionState.setIsEditingDerivedProperty(false);
124
125
  const isParameterCompatibleWithDerivedProperty = (variable, derivedProperties) => Boolean(derivedProperties.find((dp) => {
125
126
  const variableType = variable.genericType?.value.rawType;
@@ -134,10 +135,39 @@ export const QueryBuilderPropertyExpressionEditor = observer((props) => {
134
135
  root: 'editor-modal__root-container',
135
136
  container: 'editor-modal__container',
136
137
  paper: 'editor-modal__content',
137
- }, children: _jsxs(Modal, { darkMode: true, 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 }) })] }) }));
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 }) })] }) }));
139
+ });
140
+ export const QueryBuilderEditablePropertyName = observer((props) => {
141
+ const { columnName, changeColumnName, error, title } = props;
142
+ const [isEditingColumnName, setIsEditingColumnName] = useState(false);
143
+ const columnNameInputRef = useRef(null);
144
+ useEffect(() => {
145
+ if (isEditingColumnName) {
146
+ columnNameInputRef.current?.focus();
147
+ }
148
+ }, [isEditingColumnName, columnNameInputRef]);
149
+ 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: columnName, onChange: changeColumnName, onKeyDown: (event) => {
150
+ if (event.key === 'Enter') {
151
+ setIsEditingColumnName(false);
152
+ }
153
+ }, onBlur: () => {
154
+ setIsEditingColumnName(false);
155
+ }, error: error, ref: columnNameInputRef, draggable: true, onDragStart: (e) => {
156
+ // The below 2 lines are to allow dragging to select text in the input instead of
157
+ // dragging the draggable element containing the input.
158
+ e.preventDefault();
159
+ e.stopPropagation();
160
+ } }) })) : (_jsx("div", { className: "query-builder__property__name__display", title: title, children: _jsx("span", { className: clsx('query-builder__property__name__display__content', {
161
+ 'query-builder__property__name__display__content--error': error,
162
+ 'editable-value': changeColumnName,
163
+ }), onClick: () => {
164
+ if (changeColumnName) {
165
+ setIsEditingColumnName(true);
166
+ }
167
+ }, children: columnName }) }));
138
168
  });
139
169
  export const QueryBuilderPropertyExpressionBadge = observer((props) => {
140
- const { columnName, propertyExpressionState, onPropertyExpressionChange, setIsEditingColumnName, error, } = props;
170
+ const { columnName, propertyExpressionState, onPropertyExpressionChange, changeColumnName, error, } = props;
141
171
  const type = propertyExpressionState.propertyExpression.func.value.genericType.value
142
172
  .rawType;
143
173
  const hasDerivedPropertyInExpression = Boolean(propertyExpressionState.derivedPropertyExpressionStates.length);
@@ -166,12 +196,7 @@ export const QueryBuilderPropertyExpressionBadge = observer((props) => {
166
196
  'query-builder-property-expression-badge__content--class': type instanceof Class,
167
197
  'query-builder-property-expression-badge__content--enumeration': type instanceof Enumeration,
168
198
  'query-builder-property-expression-badge__content--primitive': type instanceof PrimitiveType,
169
- }), children: [_jsx("div", { className: "query-builder-property-expression-badge__property", title: `${propertyExpressionState.title} - ${propertyExpressionState.path}`, children: _jsx("span", { className: clsx('query-builder-property-expression-badge__property__content', {
170
- 'query-builder-property-expression-badge__property__content--error': error,
171
- 'editable-value': !!setIsEditingColumnName,
172
- }), onClick: () => {
173
- setIsEditingColumnName?.(true);
174
- }, children: columnName ?? propertyExpressionState.title }) }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-property-expression-badge__action', {
199
+ }), children: [_jsx(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title, changeColumnName: changeColumnName, error: error, title: `${propertyExpressionState.title} - ${propertyExpressionState.path}` }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-property-expression-badge__action', {
175
200
  'query-builder-property-expression-badge__action--error': !isValid,
176
201
  }), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: propertyExpressionState })] }) }) }));
177
202
  });
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,cAAc,EACd,6BAA6B,EAC7B,KAAK,EACL,WAAW,EAC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EAAE;gCACZ,sBAAsB,EAAE,CAAC,IAAI,CAAC,CAAC;4BACjC,CAAC,YAEA,UAAU,IAAI,uBAAuB,CAAC,KAAK,GACvC,GACH,EACL,8BAA8B,IAAI,CACjC,kBACE,SAAS,EAAE,IAAI,CACb,iDAAiD,EACjD;4BACE,wDAAwD,EACtD,CAAC,OAAO;yBACX,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,GACwB,GAC5B,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,6BAA6B,EAC7B,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,GAGvC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,oCAAoC,GAGrC,MAAM,iDAAiD,CAAC;AACzD,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,E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;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,MAAM,SAAS,CAAC;CAC3B;;CA2CF,CAAC"}
@@ -242,6 +242,11 @@ const BasicQueryBuilderSetup = observer((props) => {
242
242
  });
243
243
  export const QueryBuilderSidebar = observer((props) => {
244
244
  const { queryBuilderState, children } = props;
245
- 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__side-bar__content", children: children })] }));
245
+ const applicationStore = useApplicationStore();
246
+ const extraTemplateQueryPanelContentRenderer = applicationStore.pluginManager
247
+ .getApplicationPlugins()
248
+ .flatMap((plugin) => plugin.getExtraTemplateQueryPanelContentRenderer?.() ?? []);
249
+ const templateQueryPanelContentTab = extraTemplateQueryPanelContentRenderer[0] ? (extraTemplateQueryPanelContentRenderer[0](queryBuilderState)) : (_jsx(_Fragment, {}));
250
+ 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 })] }));
246
251
  });
247
252
  //# sourceMappingURL=QueryBuilderSideBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],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BAAyB,EACzB,iBAAiB,CAAC,gBAAgB,CACnC,aAED,6BACe,qBAAqB,CAAC,mBAAmB,EACtD,SAAS,EAAC,4BAA4B,YAEtC,cAAK,SAAS,EAAC,8CAA8C,YAC1D,iBAAiB,CAAC,oCAAoC,EAAE,EAAE,IAAI,CAC7D,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,GACG,GACF,EACN,cAAK,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAO,IAC9D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAKL,WAAW,EACX,sBAAsB,EACtB,kBAAkB,EAClB,8BAA8B,EAC9B,mCAAmC,EACnC,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAG1F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,SAAyC,EACrB,EAAE;IACtB,IAAI,SAAS,YAAY,kBAAkB,EAAE;QAC3C,OAAO,GAAG,wBAAwB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC;KACvD;SAAM;QACL,IAC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1 @@
1
- {"version":3,"file":"QueryBuilderTextEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAUxE,eAAO,MAAM,sBAAsB,WACzB;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAyHjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTextEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAUxE,eAAO,MAAM,sBAAsB,WACzB;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2HjD,CAAC"}
@@ -42,13 +42,13 @@ export const QueryBuilderTextEditor = observer((props) => {
42
42
  root: 'editor-modal__root-container',
43
43
  container: 'editor-modal__container',
44
44
  paper: 'editor-modal__content',
45
- }, children: _jsxs(Modal, { darkMode: true, className: clsx('editor-modal query-builder-text-mode__modal', {
45
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal', {
46
46
  'query-builder-text-mode__modal--has-error': Boolean(queryTextEditorState.parserError),
47
47
  }), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children: "Query" }), queryTextEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse query" }))] }), _jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.textEditorState.closingQueryState.isInProgress }), _jsx(ModalBody, { children: _jsxs("div", { className: clsx('query-builder-text-mode__modal__content', {
48
48
  backdrop__element: Boolean(queryTextEditorState.parserError),
49
49
  }), children: [mode === QueryBuilderTextEditorMode.TEXT && (_jsx(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, autoFocus: true })), mode === QueryBuilderTextEditorMode.JSON && (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }))] }) }), _jsxs(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
50
- .isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), queryBuilderState.queryCompileState.isInProgress && (_jsxs(ModalFooterStatus, { children: [_jsx("div", { className: "loading-icon__container--spinning", children: _jsx(RefreshIcon, {}) }), "Compiling Query..."] })), mode === QueryBuilderTextEditorMode.TEXT && (_jsx(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" })), _jsx("button", { className: "btn btn--dark", onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
51
- queryBuilderState.textEditorState.closingQueryState.isInProgress, children: queryBuilderState.textEditorState.closingQueryState
50
+ .isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), queryBuilderState.queryCompileState.isInProgress && (_jsxs(ModalFooterStatus, { children: [_jsx("div", { className: "loading-icon__container--spinning", children: _jsx(RefreshIcon, {}) }), "Compiling Query..."] })), mode === QueryBuilderTextEditorMode.TEXT && (_jsx(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" })), _jsx(ModalFooterButton, { onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
51
+ queryBuilderState.textEditorState.closingQueryState.isInProgress, type: "secondary", children: queryBuilderState.textEditorState.closingQueryState
52
52
  .isInProgress ? (_jsx(_Fragment, { children: _jsxs("div", { className: "loading-icon__container--spinning", children: [_jsx(RefreshIcon, {}), "Closing"] }) })) : (_jsx(_Fragment, { children: " Close " })) })] })] }) }));
53
53
  });
54
54
  //# sourceMappingURL=QueryBuilderTextEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTextEditor.js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T,QAAQ,EAAE,oBAAoB,CAAC,IAAI,EACnC,UAAU,EAAE,oBAAoB,CAAC,kBAAkB,EACnD,UAAU,EAAE,IAAI,GAChB,CACH,IACG,GACI,EACZ,MAAC,WAAW,eACT,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;6BACjD,YAAY,IAAI,CACjB,KAAC,iBAAiB,mCAAqC,CACxD,EACA,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,IAAI,CACnD,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,mCAAmC,YAChD,KAAC,WAAW,KAAG,GACX,0BAEY,CACrB,EACA,IAAI,KAAK,0BAA0B,CAAC,IAAI,IAAI,CAC3C,KAAC,iBAAiB,IAChB,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,iBAAiB,GACtB,CACH,EACD,iBACE,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,YAGjE,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,4BACE,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACM,IACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,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EACA,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,IAAI,CACnD,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,mCAAmC,YAChD,KAAC,WAAW,KAAG,GACX,0BAEY,CACrB,EACA,IAAI,KAAK,0BAA0B,CAAC,IAAI,IAAI,CAC3C,KAAC,iBAAiB,IAChB,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,iBAAiB,GACtB,CACH,EACD,KAAC,iBAAiB,IAChB,OAAO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,EAElE,IAAI,EAAC,WAAW,YAEf,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,4BACE,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACiB,IACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AA2CvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CA6VxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CA+CF,CAAC"}
1
+ {"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AAiDvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CAofxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CAkDF,CAAC"}
@@ -17,13 +17,14 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { useApplicationStore } from '@finos/legend-application';
18
18
  import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
19
19
  import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, BlankPanelContent, PanelLoadingIndicator, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, UserIcon, LastModifiedIcon, MoreVerticalIcon, ThinChevronRightIcon, InfoCircleIcon, } from '@finos/legend-art';
20
- import { debounce, formatDistanceToNow, guaranteeNonNullable, quantifyList, } from '@finos/legend-shared';
20
+ import { debounce, formatDistanceToNow, guaranteeNonNullable, isNonNullable, quantifyList, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
22
22
  import { observer } from 'mobx-react-lite';
23
23
  import { useRef, useState, useMemo, useEffect } from 'react';
24
24
  import { QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT, } from '../stores/QueryLoaderState.js';
25
25
  const QueryPreviewViewer = observer((props) => {
26
26
  const { queryLoaderState } = props;
27
+ const applicationStore = queryLoaderState.applicationStore;
27
28
  const close = () => {
28
29
  queryLoaderState.setShowPreviewViewer(false);
29
30
  };
@@ -31,8 +32,8 @@ const QueryPreviewViewer = observer((props) => {
31
32
  root: 'editor-modal__root-container',
32
33
  container: 'editor-modal__container',
33
34
  paper: 'editor-modal__content',
34
- }, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: guaranteeNonNullable(queryLoaderState.queryPreviewContent).name }), _jsx(ModalBody, { children: _jsx(CodeEditor, { inputValue: guaranteeNonNullable(queryLoaderState.queryPreviewContent)
35
- .content, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close" }) })] }) }));
35
+ }, children: _jsxs(Modal, { className: "editor-modal", darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsx(ModalHeader, { title: guaranteeNonNullable(queryLoaderState.queryPreviewContent).name }), _jsx(ModalBody, { children: _jsx(CodeEditor, { inputValue: guaranteeNonNullable(queryLoaderState.queryPreviewContent)
36
+ .content, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: close, text: "Close", type: "secondary" }) })] }) }));
36
37
  });
37
38
  export const QueryLoader = observer((props) => {
38
39
  const { queryLoaderState, loadActionLabel } = props;
@@ -40,6 +41,16 @@ export const QueryLoader = observer((props) => {
40
41
  const searchInputRef = useRef(null);
41
42
  const queryRenameInputRef = useRef(null);
42
43
  const results = queryLoaderState.queries;
44
+ const curatedTemplateQueries = queryLoaderState.curatedTemplateQuerySepcifications
45
+ .map((s) => queryLoaderState.queryBuilderState
46
+ ? s.getCuratedTemplateQueries(queryLoaderState.queryBuilderState)
47
+ : [])
48
+ .flat();
49
+ const loadCuratedTemplateQuery = queryLoaderState.curatedTemplateQuerySepcifications
50
+ // already using an arrow function suggested by @typescript-eslint/unbound-method
51
+ // eslint-disable-next-line
52
+ .map((s) => () => s.loadCuratedTemplateQuery)
53
+ .filter(isNonNullable)[0];
43
54
  const [isMineOnly, setIsMineOnly] = useState(false);
44
55
  const [showQueryNameEditInput, setShowQueryNameEditInput] = useState();
45
56
  useEffect(() => {
@@ -83,6 +94,15 @@ export const QueryLoader = observer((props) => {
83
94
  debouncedLoadQueries.cancel();
84
95
  debouncedLoadQueries(queryLoaderState.searchText);
85
96
  };
97
+ const toggleCuratedTemplate = () => {
98
+ Array.from(queryLoaderState.extraFilters).map(([key, value]) => queryLoaderState.extraFilters.set(key, false));
99
+ queryLoaderState.setShowCurrentUserQueriesOnly(false);
100
+ setIsMineOnly(false);
101
+ queryLoaderState.extraQueryFilterOptionsRelatedToTemplateQuery.forEach((op) => queryLoaderState.extraFilters.set(op, !queryLoaderState.isCuratedTemplateToggled));
102
+ queryLoaderState.showingDefaultQueries =
103
+ queryLoaderState.isCuratedTemplateToggled;
104
+ queryLoaderState.setIsCuratedTemplateToggled(!queryLoaderState.isCuratedTemplateToggled);
105
+ };
86
106
  useEffect(() => {
87
107
  flowResult(queryLoaderState.searchQueries('')).catch(applicationStore.alertUnhandledError);
88
108
  }, [applicationStore, queryLoaderState]);
@@ -102,54 +122,85 @@ export const QueryLoader = observer((props) => {
102
122
  flowResult(queryLoaderState.deleteQuery(query.id)).catch(applicationStore.alertUnhandledError);
103
123
  }
104
124
  };
105
- const showPreview = (queryId) => {
106
- flowResult(queryLoaderState.getPreviewQueryContent(queryId)).catch(applicationStore.alertUnhandledError);
125
+ const showPreview = (queryId, template) => {
126
+ flowResult(queryLoaderState.getPreviewQueryContent(queryId, template)).catch(applicationStore.alertUnhandledError);
107
127
  queryLoaderState.setShowPreviewViewer(true);
108
128
  };
109
129
  return (_jsxs("div", { className: "query-loader", children: [_jsxs("div", { className: "query-loader__header", children: [_jsx("div", { className: "query-loader__search", children: _jsxs("div", { className: "query-loader__search__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-loader__search__input input--dark', {
110
130
  'query-loader__search__input--searching': queryLoaderState.searchText,
111
131
  }), onChange: onSearchTextChange, value: queryLoaderState.searchText, placeholder: "Search for queries by name or ID" }), !queryLoaderState.searchText ? (_jsx("div", { className: "query-loader__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsx(_Fragment, { children: _jsx("button", { className: "query-loader__search__input__clear-btn", tabIndex: -1, onClick: clearQuerySearching, title: "Clear", children: _jsx(TimesIcon, {}) }) }))] }) }), _jsx("div", { className: "query-loader__filter", children: _jsxs("div", { className: "query-loader__filter__toggler", children: [_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
112
132
  'query-loader__filter__toggler__btn--toggled': isMineOnly,
113
- }), onClick: toggleShowCurrentUserQueriesOnly, tabIndex: -1, children: "Mine Only" }), queryLoaderState.extraFilterOptions.length > 0 && (_jsx("div", { className: "query-loader__filter__extra__filters", children: Array.from(queryLoaderState.extraFilters.entries()).map(([key, value]) => (_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
133
+ }), onClick: toggleShowCurrentUserQueriesOnly, disabled: queryLoaderState.isCuratedTemplateToggled, title: queryLoaderState.isCuratedTemplateToggled
134
+ ? 'current fitler is disabled when `Curated Template Query` is on'
135
+ : 'click to add filter', tabIndex: -1, children: "Mine Only" }), queryLoaderState.extraFilterOptions.length > 0 && (_jsx("div", { className: "query-loader__filter__extra__filters", children: Array.from(queryLoaderState.extraFilters.entries()).map(([key, value]) => (_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
114
136
  'query-loader__filter__toggler__btn--toggled': value,
115
- }), onClick: () => toggleExtraFilters(key), tabIndex: -1, children: key }, key))) }))] }) })] }), _jsxs("div", { className: "query-loader__content", children: [_jsx(PanelLoadingIndicator, { isLoading: queryLoaderState.searchQueriesState.isInProgress ||
137
+ }), disabled: queryLoaderState.isCuratedTemplateToggled, title: queryLoaderState.isCuratedTemplateToggled
138
+ ? 'current fitler is disabled when `Curated Template Query` is on'
139
+ : 'click to add filter', onClick: () => toggleExtraFilters(key), tabIndex: -1, children: key }, key))) })), queryLoaderState.extraQueryFilterOptionsRelatedToTemplateQuery
140
+ .length > 0 && (_jsx("div", { className: "query-loader__filter__extra__filters", children: _jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
141
+ 'query-loader__filter__toggler__btn--toggled': queryLoaderState.isCuratedTemplateToggled,
142
+ }), onClick: toggleCuratedTemplate, tabIndex: -1, children: "Curated Template Query" }) }))] }) })] }), _jsxs("div", { className: "query-loader__content", children: [_jsx(PanelLoadingIndicator, { isLoading: queryLoaderState.searchQueriesState.isInProgress ||
116
143
  queryLoaderState.renameQueryState.isInProgress ||
117
144
  queryLoaderState.deleteQueryState.isInProgress ||
118
- queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-loader__results__summary", children: queryLoaderState.showingDefaultQueries ? (queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches') : results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`) }), results
119
- .slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
120
- .map((query, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => queryLoaderState.loadQuery(query), children: [_jsxs("div", { className: "query-loader__result__content", children: [showQueryNameEditInput === idx ? (_jsx("div", { className: "query-loader__result__title__editor", children: _jsx("input", { className: "query-loader__result__title__editor__input input--dark", spellCheck: false, ref: queryRenameInputRef, value: queryNameInputValue, onChange: changeQueryNameInputValue, onKeyDown: (event) => {
121
- if (event.code === 'Enter') {
122
- event.stopPropagation();
123
- renameQuery(query)();
124
- }
125
- else if (event.code === 'Escape') {
126
- event.stopPropagation();
127
- hideEditQueryNameInput();
128
- }
129
- }, onBlur: () => hideEditQueryNameInput(),
130
- // avoid clicking on the input causing the call to load query
131
- onClick: (event) => event.stopPropagation() }) })) : (_jsx("div", { className: "query-loader__result__title", title: query.name, children: query.name })), _jsxs("div", { className: "query-loader__result__description", children: [_jsx("div", { className: "query-loader__result__description__date__icon", children: _jsx(LastModifiedIcon, {}) }), _jsx("div", { className: "query-loader__result__description__date", children: query.lastUpdatedAt
132
- ? formatDistanceToNow(new Date(query.lastUpdatedAt), {
133
- includeSeconds: true,
134
- addSuffix: true,
135
- })
136
- : '(unknown)' }), _jsx("div", { className: clsx('query-loader__result__description__author__icon', {
137
- 'query-loader__result__description__author__icon--owner': query.isCurrentUserQuery,
138
- }), children: _jsx(UserIcon, {}) }), _jsx("div", { className: "query-loader__result__description__author__name", children: query.isCurrentUserQuery ? (_jsx("div", { title: query.owner, className: "query-loader__result__description__owner", children: "Me" })) : (query.owner) })] })] }), _jsx(DropdownMenu, { className: "query-loader__result__actions-menu", title: "More Actions...", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: () => showPreview(query.id), children: "Show Query Preview" }), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: deleteQuery(query), children: "Delete" })), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: showEditQueryNameInput(query.name, idx), children: "Rename" }))] }), menuProps: {
139
- anchorOrigin: {
140
- vertical: 'bottom',
141
- horizontal: 'left',
142
- },
143
- transformOrigin: {
144
- vertical: 'top',
145
- horizontal: 'left',
146
- },
147
- elevation: 7,
148
- }, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, query.id)))] })), !queryLoaderState.searchQueriesState.hasCompleted && (_jsx(BlankPanelContent, { children: "Loading queries..." }))] }), queryLoaderState.showPreviewViewer &&
145
+ queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-loader__results__summary", children: queryLoaderState.showingDefaultQueries ? (queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches') : !queryLoaderState.isCuratedTemplateToggled ? (results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`)) : curatedTemplateQueries.length >=
146
+ QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(curatedTemplateQueries, 'match', 'matches')}`) }), !queryLoaderState.isCuratedTemplateToggled &&
147
+ results
148
+ .slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
149
+ .map((query, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => queryLoaderState.loadQuery(query), children: [_jsxs("div", { className: "query-loader__result__content", children: [showQueryNameEditInput === idx ? (_jsx("div", { className: "query-loader__result__title__editor", children: _jsx("input", { className: "query-loader__result__title__editor__input input--dark", spellCheck: false, ref: queryRenameInputRef, value: queryNameInputValue, onChange: changeQueryNameInputValue, onKeyDown: (event) => {
150
+ if (event.code === 'Enter') {
151
+ event.stopPropagation();
152
+ renameQuery(query)();
153
+ }
154
+ else if (event.code === 'Escape') {
155
+ event.stopPropagation();
156
+ hideEditQueryNameInput();
157
+ }
158
+ }, onBlur: () => hideEditQueryNameInput(),
159
+ // avoid clicking on the input causing the call to load query
160
+ onClick: (event) => event.stopPropagation() }) })) : (_jsx("div", { className: "query-loader__result__title", title: query.name, children: query.name })), _jsxs("div", { className: "query-loader__result__description", children: [_jsx("div", { className: "query-loader__result__description__date__icon", children: _jsx(LastModifiedIcon, {}) }), _jsx("div", { className: "query-loader__result__description__date", children: query.lastUpdatedAt
161
+ ? formatDistanceToNow(new Date(query.lastUpdatedAt), {
162
+ includeSeconds: true,
163
+ addSuffix: true,
164
+ })
165
+ : '(unknown)' }), _jsx("div", { className: clsx('query-loader__result__description__author__icon', {
166
+ 'query-loader__result__description__author__icon--owner': query.isCurrentUserQuery,
167
+ }), children: _jsx(UserIcon, {}) }), _jsx("div", { className: "query-loader__result__description__author__name", children: query.isCurrentUserQuery ? (_jsx("div", { title: query.owner, className: "query-loader__result__description__owner", children: "Me" })) : (query.owner) })] })] }), _jsx(DropdownMenu, { className: "query-loader__result__actions-menu", title: "More Actions...", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: () => showPreview(query.id), children: "Show Query Preview" }), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: deleteQuery(query), children: "Delete" })), !queryLoaderState.isReadOnly && (_jsx(MenuContentItem, { disabled: !query.isCurrentUserQuery, onClick: showEditQueryNameInput(query.name, idx), children: "Rename" }))] }), menuProps: {
168
+ anchorOrigin: {
169
+ vertical: 'bottom',
170
+ horizontal: 'left',
171
+ },
172
+ transformOrigin: {
173
+ vertical: 'top',
174
+ horizontal: 'left',
175
+ },
176
+ elevation: 7,
177
+ }, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, query.id))), queryLoaderState.queryBuilderState &&
178
+ queryLoaderState.isCuratedTemplateToggled &&
179
+ loadCuratedTemplateQuery &&
180
+ curatedTemplateQueries
181
+ .slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
182
+ .map((templateQuery, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => {
183
+ loadCuratedTemplateQuery()(templateQuery, guaranteeNonNullable(queryLoaderState.queryBuilderState));
184
+ queryLoaderState.setQueryLoaderDialogOpen(false);
185
+ }, children: [_jsxs("div", { className: "query-loader__result__content", children: [_jsx("div", { className: "query-loader__result__title", title: templateQuery.title, children: templateQuery.title }), _jsx("div", { className: "query-loader__result__description", children: templateQuery.description })] }), _jsx(DropdownMenu, { className: "query-loader__result__actions-menu", title: "More Actions...", content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: () => showPreview(undefined, {
186
+ queryContent: templateQuery.query,
187
+ queryName: templateQuery.title,
188
+ }), children: "Show Query Preview" }) }), menuProps: {
189
+ anchorOrigin: {
190
+ vertical: 'bottom',
191
+ horizontal: 'left',
192
+ },
193
+ transformOrigin: {
194
+ vertical: 'top',
195
+ horizontal: 'left',
196
+ },
197
+ elevation: 7,
198
+ }, children: _jsx(MoreVerticalIcon, {}) }), _jsx("div", { className: "query-loader__result__arrow", children: _jsx(ThinChevronRightIcon, {}) })] }, templateQuery.title)))] })), !queryLoaderState.searchQueriesState.hasCompleted && (_jsx(BlankPanelContent, { children: "Loading queries..." }))] }), queryLoaderState.showPreviewViewer &&
149
199
  queryLoaderState.queryPreviewContent && (_jsx(QueryPreviewViewer, { queryLoaderState: queryLoaderState }))] })] }));
150
200
  });
151
201
  export const QueryLoaderDialog = observer((props) => {
152
202
  const { queryLoaderState, title, loadActionLabel } = props;
203
+ const applicationStore = queryLoaderState.applicationStore;
153
204
  const close = () => {
154
205
  queryLoaderState.setQueryLoaderDialogOpen(false);
155
206
  queryLoaderState.reset();
@@ -159,6 +210,6 @@ export const QueryLoaderDialog = observer((props) => {
159
210
  container: 'query-loader__dialog__container',
160
211
  }, PaperProps: {
161
212
  classes: { root: 'query-loader__dialog__body' },
162
- }, children: _jsxs(Modal, { darkMode: true, className: "modal query-loader__dialog__body__content", children: [_jsxs("div", { className: "modal query-loader__dialog__header", children: [_jsx(ModalTitle, { className: "query-loader__dialog__header__title", title: title }), _jsx("button", { className: "query-loader__dialog__header__close-btn", title: "Close", onClick: close, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "modal query-loader__dialog__content", children: _jsx(QueryLoader, { queryLoaderState: queryLoaderState, loadActionLabel: loadActionLabel ?? title.toLowerCase() }) })] }) }));
213
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal query-loader__dialog__body__content", children: [_jsxs("div", { className: "modal query-loader__dialog__header", children: [_jsx(ModalTitle, { className: "query-loader__dialog__header__title", title: title }), _jsx("button", { className: "query-loader__dialog__header__close-btn", title: "Close", onClick: close, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "modal query-loader__dialog__content", children: _jsx(QueryLoader, { queryLoaderState: queryLoaderState, loadActionLabel: loadActionLabel ?? title.toLowerCase() }) })] }) }));
163
214
  });
164
215
  //# sourceMappingURL=QueryLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,U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AAqC,EAC/C,KAAK,EAAE,KAAK,GACZ,EACF,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,KAAK,YAEd,KAAC,SAAS,KAAG,GACN,IACL,EACN,cAAK,SAAS,EAAC,qCAAqC,YAClD,KAAC,WAAW,IACV,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,IAAI,KAAK,CAAC,WAAW,EAAE,GACvD,GACE,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUsageViewer.d.ts","sourceRoot":"","sources":["../../src/components/QueryUsageViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAEpF,eAAO,MAAM,gBAAgB,WACnB;IAAE,WAAW,EAAE,uBAAuB,CAAA;CAAE;;CA4EjD,CAAC"}
1
+ {"version":3,"file":"QueryUsageViewer.d.ts","sourceRoot":"","sources":["../../src/components/QueryUsageViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAEpF,eAAO,MAAM,gBAAgB,WACnB;IAAE,WAAW,EAAE,uBAAuB,CAAA;CAAE;;CAkFjD,CAAC"}
@@ -26,8 +26,8 @@ export const QueryUsageViewer = observer((props) => {
26
26
  .flatMap((plugin) => plugin.getExtraQueryUsageConfigurations?.() ?? []);
27
27
  const [selectedTab, setSelectedTab] = useState(extraQueryUsageOptions[0]?.title);
28
28
  const currentTabExtensionConfig = extraQueryUsageOptions.find((option) => option.title === selectedTab);
29
- return (_jsx(Dialog, { open: resultState.isQueryUsageViewerOpened, onClose: () => resultState.setIsQueryUsageViewerOpened(false), children: _jsxs(Modal, { className: "query-builder__usage-viewer__modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Query Usage" }), _jsx(ModalBody, { className: "query-builder__usage-viewer__body", children: _jsxs(_Fragment, { children: [extraQueryUsageOptions.length === 0 ? (_jsx(BlankPanelContent, { children: "Query usage is not available" })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__usage-viewer__tab__header", children: _jsx("div", { className: "query-builder__usage-viewer__tabs", children: extraQueryUsageOptions.map((config) => (_jsxs("button", { className: clsx('query-builder__usage-viewer__tab', {
29
+ return (_jsx(Dialog, { open: resultState.isQueryUsageViewerOpened, onClose: () => resultState.setIsQueryUsageViewerOpened(false), children: _jsxs(Modal, { className: "query-builder__usage-viewer__modal", darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsx(ModalHeader, { title: "Query Usage" }), _jsx(ModalBody, { className: "query-builder__usage-viewer__body", children: _jsxs(_Fragment, { children: [extraQueryUsageOptions.length === 0 ? (_jsx(BlankPanelContent, { children: "Query usage is not available" })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__usage-viewer__tab__header", children: _jsx("div", { className: "query-builder__usage-viewer__tabs", children: extraQueryUsageOptions.map((config) => (_jsxs("button", { className: clsx('query-builder__usage-viewer__tab', {
30
30
  'query-builder__usage-viewer__tab--active': selectedTab === config.key,
31
- }), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (_jsx("div", { className: "query-builder__usage-viewer__tab__icon", children: config.icon })), _jsx("div", { className: "query-builder__usage-viewer__tab__label", children: config.title })] }, config.key))) }) }), _jsx("div", { className: "query-builder__usage-viewer__content", children: currentTabExtensionConfig?.renderer() })] })), _jsx(PanelDivider, {})] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: () => resultState.setIsQueryUsageViewerOpened(false), text: "Close" }) })] }) }));
31
+ }), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (_jsx("div", { className: "query-builder__usage-viewer__tab__icon", children: config.icon })), _jsx("div", { className: "query-builder__usage-viewer__tab__label", children: config.title })] }, config.key))) }) }), _jsx("div", { className: "query-builder__usage-viewer__content", children: currentTabExtensionConfig?.renderer() })] })), _jsx(PanelDivider, {})] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: () => resultState.setIsQueryUsageViewerOpened(false), text: "Close", type: "secondary" }) })] }) }));
32
32
  });
33
33
  //# sourceMappingURL=QueryUsageViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUsageViewer.js","sourceRoot":"","sources":["../../src/components/QueryUsageViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EACN,KAAK,EACL,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CACtC,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,aAAa;SAC1D,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,CAC/C,CAAC;IACJ,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAC5C,sBAAsB,CAAC,CAAC,CAAC,EAAE,KAAK,CACjC,CAAC;IACF,MAAM,yBAAyB,GAAG,sBAAsB,CAAC,IAAI,CAC3D,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC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
@@ -18,6 +18,8 @@ import { type RawMappingModelCoverageAnalysisResult, type RawLambda } from '@fin
18
18
  import type { Entity } from '@finos/legend-storage';
19
19
  import { type QueryBuilderState } from '../../stores/QueryBuilderState.js';
20
20
  export declare const selectFromCustomSelectorInput: (selectorContainer: HTMLElement, optionText: string, lightMode?: boolean) => void;
21
+ export declare const selectFirstOptionFromCustomSelectorInput: (selectorContainer: HTMLElement, lightMode?: boolean) => void;
22
+ export declare const getCustomSelectorInputValue: (selectorContainer: HTMLElement, lightMode?: boolean) => string | null;
21
23
  export declare const dragAndDrop: (source: HTMLElement, drop: HTMLElement, panel: HTMLElement, draggingHoverText?: string) => Promise<void>;
22
24
  export declare const TEST__setUpQueryBuilder: (entities: Entity[], lambda: RawLambda, mappingPath: string, runtimePath: string, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult) => Promise<{
23
25
  renderResult: RenderResult;