@finos/legend-query-builder 4.14.40 → 4.14.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderParametersPanel.js +20 -2
  3. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderSideBar.js +5 -14
  6. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +12 -4
  9. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  10. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  11. package/lib/components/filter/QueryBuilderFilterPanel.js +6 -2
  12. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  13. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  14. package/lib/components/result/QueryBuilderResultPanel.js +2 -1
  15. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  16. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +11 -9
  17. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  18. package/lib/components/shared/BasicValueSpecificationEditor.js +158 -143
  19. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  20. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  21. package/lib/components/shared/QueryBuilderVariableSelector.js +8 -1
  22. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  23. package/lib/index.css +2 -2
  24. package/lib/index.css.map +1 -1
  25. package/lib/package.json +1 -1
  26. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +1 -0
  27. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  28. package/lib/stores/QueryBuilderPropertyEditorState.js +2 -1
  29. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  30. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  31. package/lib/stores/QueryBuilderState.js +12 -0
  32. package/lib/stores/QueryBuilderState.js.map +1 -1
  33. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +2 -2
  34. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  35. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  36. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  37. package/lib/stores/filter/QueryBuilderFilterState.js +4 -3
  38. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  39. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +2 -2
  40. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  41. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -0
  42. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  43. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +16 -0
  44. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  45. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +3 -0
  46. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  47. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +40 -0
  48. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  49. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
  50. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  51. package/lib/stores/shared/ValueSpecificationEditorHelper.js +48 -0
  52. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  53. package/package.json +8 -8
  54. package/src/components/QueryBuilderParametersPanel.tsx +55 -0
  55. package/src/components/QueryBuilderSideBar.tsx +0 -35
  56. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +22 -6
  57. package/src/components/filter/QueryBuilderFilterPanel.tsx +13 -5
  58. package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
  59. package/src/components/shared/BasicValueSpecificationEditor.tsx +288 -285
  60. package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
  61. package/src/stores/QueryBuilderPropertyEditorState.ts +2 -1
  62. package/src/stores/QueryBuilderState.ts +14 -0
  63. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +2 -2
  64. package/src/stores/filter/QueryBuilderFilterState.ts +6 -3
  65. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -2
  66. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +24 -0
  67. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +54 -0
  68. package/src/stores/shared/ValueSpecificationEditorHelper.ts +63 -0
@@ -14,19 +14,20 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { useApplicationStore } from '@finos/legend-application';
18
- import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, FilledWindowMaximizeIcon, BasePopover, PanelFormSection, CalculateIcon, InputWithInlineValidation, } from '@finos/legend-art';
19
- import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue, INTERNAL__PropagatedValue, SimpleFunctionExpression, VariableExpression, EnumValueExplicitReference, PrimitiveType, PRIMITIVE_TYPE, GenericTypeExplicitReference, GenericType, Enumeration, getEnumValue, getMultiplicityDescription, matchFunctionName, isSubType, } from '@finos/legend-graph';
20
- import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, guaranteeIsNumber, csvStringify, guaranteeType, } from '@finos/legend-shared';
17
+ import { DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, useApplicationStore, } from '@finos/legend-application';
18
+ import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, CalculateIcon, InputWithInlineValidation, } from '@finos/legend-art';
19
+ import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue, INTERNAL__PropagatedValue, SimpleFunctionExpression, VariableExpression, EnumValueExplicitReference, PrimitiveType, PRIMITIVE_TYPE, GenericTypeExplicitReference, GenericType, Enumeration, getMultiplicityDescription, matchFunctionName, isSubType, } from '@finos/legend-graph';
20
+ import { guaranteeNonNullable, isNonNullable, guaranteeIsNumber, csvStringify, guaranteeType, isNonEmptyString, parseCSVString, uniq, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
22
22
  import { observer } from 'mobx-react-lite';
23
- import { forwardRef, useEffect, useImperativeHandle, useRef, useState, } from 'react';
23
+ import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState, } from 'react';
24
24
  import { instanceValue_setValue, instanceValue_setValues, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
25
25
  import { CustomDatePicker } from './CustomDatePicker.js';
26
26
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
27
27
  import { isValidInstanceValue, simplifyValueExpression, } from '../../stores/QueryBuilderValueSpecificationHelper.js';
28
28
  import { evaluate } from 'mathjs';
29
29
  import { isUsedDateFunctionSupportedInFormMode } from '../../stores/QueryBuilderStateBuilder.js';
30
+ import { convertTextToPrimitiveInstanceValue, getValueSpecificationStringValue, } from '../../stores/shared/ValueSpecificationEditorHelper.js';
30
31
  export const VariableInfoTooltip = (props) => {
31
32
  const { variable, children, placement } = props;
32
33
  const type = variable.genericType?.value.rawType;
@@ -227,97 +228,162 @@ const stringifyValue = (values) => {
227
228
  .filter(isNonNullable),
228
229
  ]).trim();
229
230
  };
230
- /**
231
- * NOTE: We attempt to be less disruptive here by not throwing errors left and right, instead
232
- * we silently remove values which are not valid or parsable. But perhaps, we can consider
233
- * passing in logger or notifier to show give the users some idea of what went wrong instead
234
- * of silently swallow parts of their inputs like this.
235
- */
236
- const setCollectionValue = (valueSpecification, expectedType, value, obseverContext) => {
237
- if (value.trim().length === 0) {
238
- instanceValue_setValues(valueSpecification, [], obseverContext);
239
- return;
240
- }
241
- let result = [];
242
- const parseData = parseCSVString(value);
243
- if (!parseData) {
244
- return;
245
- }
231
+ const getPlaceHolder = (expectedType) => {
246
232
  if (expectedType instanceof PrimitiveType) {
247
233
  switch (expectedType.path) {
248
- case PRIMITIVE_TYPE.STRING: {
249
- result = uniq(parseData)
250
- .map((item) => {
251
- const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
252
- instanceValue_setValues(primitiveInstanceValue, [item.toString()], obseverContext);
253
- return primitiveInstanceValue;
254
- })
255
- .filter(isNonNullable);
256
- break;
257
- }
258
- case PRIMITIVE_TYPE.NUMBER:
259
- case PRIMITIVE_TYPE.FLOAT:
260
- case PRIMITIVE_TYPE.DECIMAL:
261
- case PRIMITIVE_TYPE.INTEGER: {
262
- result = uniq(parseData
263
- .filter((val) => !isNaN(Number(val)))
264
- .map((val) => Number(val)))
265
- .map((item) => {
266
- const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
267
- instanceValue_setValues(primitiveInstanceValue, [item], obseverContext);
268
- return primitiveInstanceValue;
269
- })
270
- .filter(isNonNullable);
271
- break;
272
- }
273
234
  case PRIMITIVE_TYPE.DATE:
274
- case PRIMITIVE_TYPE.STRICTDATE: {
275
- result = uniq(parseData
276
- .filter((val) => !isNaN(Date.parse(val)))
277
- .map((val) => val.trim()))
278
- .map((item) => {
279
- const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
280
- instanceValue_setValues(primitiveInstanceValue, [item], obseverContext);
281
- return primitiveInstanceValue;
282
- })
283
- .filter(isNonNullable);
284
- break;
285
- }
286
- case PRIMITIVE_TYPE.DATETIME: {
287
- result = uniq(parseData
288
- .filter((val) => (!isNaN(Date.parse(val)) && new Date(val).getTime()) ||
289
- (val.includes('%') &&
290
- !isNaN(Date.parse(val.slice(1))) &&
291
- new Date(val.slice(1)).getTime()))
292
- .map((val) => val.trim()))
293
- .map((item) => {
294
- const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
295
- instanceValue_setValues(primitiveInstanceValue, [item], obseverContext);
296
- return primitiveInstanceValue;
297
- })
298
- .filter(isNonNullable);
299
- break;
300
- }
235
+ case PRIMITIVE_TYPE.STRICTDATE:
236
+ return 'yyyy-mm-dd';
237
+ case PRIMITIVE_TYPE.DATETIME:
238
+ return 'yyyy-mm-ddThh:mm:ss';
301
239
  default:
302
- // unsupported expected type, just escape
303
- return;
240
+ return 'Add';
304
241
  }
305
242
  }
306
- else if (expectedType instanceof Enumeration) {
307
- result = uniq(parseData.map((item) => item.trim()))
308
- .map((item) => {
309
- const _enum = returnUndefOnError(() => getEnumValue(expectedType, item));
310
- if (!_enum) {
311
- return undefined;
243
+ return 'Add';
244
+ };
245
+ const PrimitiveCollectionInstanceValueEditor = observer((props) => {
246
+ const { valueSpecification, expectedType, saveEdit, selectorConfig, observerContext, } = props;
247
+ // local state and variables
248
+ const applicationStore = useApplicationStore();
249
+ const inputRef = useRef(null);
250
+ const [inputValue, setInputValue] = useState('');
251
+ const [inputValueIsError, setInputValueIsError] = useState(false);
252
+ const [selectedOptions, setSelectedOptions] = useState(valueSpecification.values
253
+ .map((valueSpec) => getValueSpecificationStringValue(valueSpec))
254
+ .filter(isNonEmptyString)
255
+ .map((value) => ({
256
+ label: value,
257
+ value,
258
+ })));
259
+ // typehead search setup
260
+ const isTypeaheadSearchEnabled = expectedType === PrimitiveType.STRING && Boolean(selectorConfig);
261
+ const reloadValuesFunc = isTypeaheadSearchEnabled
262
+ ? selectorConfig?.reloadValues
263
+ : undefined;
264
+ const cleanUpReloadValuesFunc = isTypeaheadSearchEnabled
265
+ ? selectorConfig?.cleanUpReloadValues
266
+ : undefined;
267
+ const isLoading = isTypeaheadSearchEnabled
268
+ ? selectorConfig?.isLoading
269
+ : undefined;
270
+ const queryOptions = isTypeaheadSearchEnabled && selectorConfig?.values?.length
271
+ ? selectorConfig.values.map((e) => ({
272
+ value: e,
273
+ label: e.toString(),
274
+ }))
275
+ : undefined;
276
+ const noMatchMessage = isTypeaheadSearchEnabled && isLoading ? 'Loading...' : undefined;
277
+ // helper functions
278
+ const buildOptionForValueSpec = (value) => {
279
+ const stringValue = guaranteeNonNullable(getValueSpecificationStringValue(value));
280
+ return {
281
+ label: stringValue,
282
+ value: stringValue,
283
+ };
284
+ };
285
+ const isValueAlreadySelected = (value) => selectedOptions.map((option) => option.value).includes(value);
286
+ /**
287
+ * NOTE: We attempt to be less disruptive here by not throwing errors left and right, instead
288
+ * we simply return null for values which are not valid or parsable. But perhaps, we can consider
289
+ * passing in logger or notifier to give the users some idea of what went wrong instead of ignoring
290
+ * their input.
291
+ */
292
+ const convertInputValueToValueSpec = () => {
293
+ const trimmedInputValue = inputValue.trim();
294
+ if (isValueAlreadySelected(trimmedInputValue)) {
295
+ return null;
296
+ }
297
+ if (trimmedInputValue.length) {
298
+ return convertTextToPrimitiveInstanceValue(expectedType, trimmedInputValue, observerContext);
299
+ }
300
+ return null;
301
+ };
302
+ const addInputValueToSelectedOptions = () => {
303
+ const newValueSpec = convertInputValueToValueSpec();
304
+ if (newValueSpec !== null) {
305
+ setSelectedOptions([
306
+ ...selectedOptions,
307
+ buildOptionForValueSpec(newValueSpec),
308
+ ]);
309
+ setInputValue('');
310
+ reloadValuesFunc?.cancel();
311
+ }
312
+ else if (inputValue.trim().length) {
313
+ setInputValueIsError(true);
314
+ }
315
+ };
316
+ // event handlers
317
+ const changeValue = (newSelectedOptions, actionChange) => {
318
+ setSelectedOptions(newSelectedOptions);
319
+ if (actionChange.action === 'select-option') {
320
+ setInputValue('');
321
+ }
322
+ else if (actionChange.action === 'remove-value' &&
323
+ actionChange.removedValue.value === inputValue) {
324
+ setInputValueIsError(false);
325
+ }
326
+ };
327
+ const handleInputChange = (newInputValue, actionChange) => {
328
+ if (actionChange.action === 'input-change') {
329
+ setInputValue(newInputValue);
330
+ setInputValueIsError(false);
331
+ reloadValuesFunc?.cancel();
332
+ const reloadValuesFuncTransformation = reloadValuesFunc?.(newInputValue);
333
+ if (reloadValuesFuncTransformation) {
334
+ flowResult(reloadValuesFuncTransformation).catch(applicationStore.alertUnhandledError);
312
335
  }
313
- const enumValueInstanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
314
- instanceValue_setValues(enumValueInstanceValue, [EnumValueExplicitReference.create(_enum)], obseverContext);
315
- return enumValueInstanceValue;
336
+ }
337
+ if (actionChange.action === 'input-blur') {
338
+ reloadValuesFunc?.cancel();
339
+ cleanUpReloadValuesFunc?.();
340
+ }
341
+ };
342
+ const updateValueSpecAndSaveEdit = () => {
343
+ const newValueSpec = convertInputValueToValueSpec();
344
+ const finalSelectedOptions = newValueSpec !== null
345
+ ? [...selectedOptions, buildOptionForValueSpec(newValueSpec)]
346
+ : selectedOptions;
347
+ instanceValue_setValues(valueSpecification, finalSelectedOptions
348
+ .map((option) => option.value)
349
+ .map((value) => convertTextToPrimitiveInstanceValue(expectedType, value, observerContext))
350
+ .filter(isNonNullable), observerContext);
351
+ saveEdit();
352
+ };
353
+ const handleKeyDown = (event) => {
354
+ if ((event.key === 'Enter' || event.key === ',') && !event.shiftKey) {
355
+ addInputValueToSelectedOptions();
356
+ event.preventDefault();
357
+ }
358
+ };
359
+ const handlePaste = (event) => {
360
+ const pastedText = event.clipboardData.getData('text');
361
+ const parsedData = parseCSVString(pastedText);
362
+ if (!parsedData) {
363
+ return;
364
+ }
365
+ const newValues = uniq(parsedData)
366
+ .map((value) => {
367
+ const newValueSpec = convertTextToPrimitiveInstanceValue(expectedType, value, observerContext);
368
+ return newValueSpec
369
+ ? getValueSpecificationStringValue(newValueSpec)
370
+ : null;
316
371
  })
317
- .filter(isNonNullable);
318
- }
319
- instanceValue_setValues(valueSpecification, result, obseverContext);
320
- };
372
+ .filter(isNonNullable)
373
+ .filter((value) => !isValueAlreadySelected(value));
374
+ setSelectedOptions([
375
+ ...selectedOptions,
376
+ ...newValues.map((value) => ({ label: value, value })),
377
+ ]);
378
+ event.preventDefault();
379
+ };
380
+ return (_jsxs(_Fragment, { children: [_jsx(CustomSelectorInput, { className: clsx('value-spec-editor__primitive-collection-selector', {
381
+ 'value-spec-editor__primitive-collection-selector--error': inputValueIsError,
382
+ }), options: queryOptions, inputValue: inputValue, isMulti: true, menuIsOpen: isTypeaheadSearchEnabled &&
383
+ inputValue.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, autoFocus: true, inputRef: inputRef, onChange: changeValue, onInputChange: handleInputChange, onBlur: () => updateValueSpecAndSaveEdit(), onKeyDown: handleKeyDown, onPaste: handlePaste, value: selectedOptions, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, isLoading: isLoading, noMatchMessage: noMatchMessage, placeholder: null, inputPlaceholder: getPlaceHolder(expectedType), components: {
384
+ DropdownIndicator: null,
385
+ } }), _jsx("button", { className: "value-spec-editor__list-editor__save-button btn--dark", onClick: updateValueSpecAndSaveEdit, children: _jsx(SaveIcon, {}) })] }));
386
+ });
321
387
  const EnumCollectionInstanceValueEditor = observer((props) => {
322
388
  const { valueSpecification, observerContext, saveEdit } = props;
323
389
  const applicationStore = useApplicationStore();
@@ -352,29 +418,12 @@ const EnumCollectionInstanceValueEditor = observer((props) => {
352
418
  if (event.key === 'Enter' && !event.shiftKey) {
353
419
  updateValueSpecAndSaveEdit();
354
420
  }
355
- }, value: selectedOptions, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, placeholder: "Select value", autoFocus: true, menuIsOpen: true }), _jsx("button", { className: "value-spec-editor__list-editor__save-button btn--dark", onClick: updateValueSpecAndSaveEdit, children: _jsx(SaveIcon, {}) })] }));
421
+ }, value: selectedOptions, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, placeholder: null, inputPlaceholder: "Add", autoFocus: true, menuIsOpen: true }), _jsx("button", { className: "value-spec-editor__list-editor__save-button btn--dark", onClick: updateValueSpecAndSaveEdit, children: _jsx(SaveIcon, {}) })] }));
356
422
  });
357
423
  const COLLECTION_PREVIEW_CHAR_LIMIT = 50;
358
- const getPlaceHolder = (expectedType) => {
359
- if (expectedType instanceof PrimitiveType) {
360
- switch (expectedType.path) {
361
- case PRIMITIVE_TYPE.DATE:
362
- case PRIMITIVE_TYPE.STRICTDATE:
363
- return 'yyyy-mm-dd';
364
- case PRIMITIVE_TYPE.DATETIME:
365
- return 'yyyy-mm-ddThh:mm:ss';
366
- default:
367
- return '(empty)';
368
- }
369
- }
370
- return '(empty)';
371
- };
372
424
  const CollectionValueInstanceValueEditor = observer((props) => {
373
- const { valueSpecification, expectedType, className, resetValue, setValueSpecification, obseverContext, } = props;
374
- const inputRef = useRef(null);
375
- const [text, setText] = useState(stringifyValue(valueSpecification.values));
425
+ const { valueSpecification, expectedType, className, resetValue, setValueSpecification, selectorConfig, obseverContext, } = props;
376
426
  const [editable, setEditable] = useState(false);
377
- const [showAdvancedEditorPopover, setShowAdvancedEditorPopover] = useState(false);
378
427
  const valueText = stringifyValue(valueSpecification.values);
379
428
  const previewText = `List(${valueSpecification.values.length === 0
380
429
  ? 'empty'
@@ -387,45 +436,11 @@ const CollectionValueInstanceValueEditor = observer((props) => {
387
436
  const saveEdit = () => {
388
437
  if (editable) {
389
438
  setEditable(false);
390
- setShowAdvancedEditorPopover(false);
391
439
  setValueSpecification(valueSpecification);
392
440
  }
393
441
  };
394
- const updateValueSpecAndSaveEdit = () => {
395
- if (editable) {
396
- setCollectionValue(valueSpecification, expectedType, text, obseverContext);
397
- setText(stringifyValue(valueSpecification.values));
398
- saveEdit();
399
- }
400
- };
401
- const changeValueTextArea = (event) => {
402
- setText(event.target.value);
403
- };
404
- const expandButtonName = `${valueSpecification.hashCode}ExpandButton`;
405
- const handleOnBlur = (event) => {
406
- // disable save if target is expand button
407
- if (event.relatedTarget?.name !==
408
- expandButtonName) {
409
- updateValueSpecAndSaveEdit();
410
- }
411
- };
412
- const placeholder = text === '' ? getPlaceHolder(expectedType) : undefined;
413
- // focus the input box when edit is enabled
414
- useEffect(() => {
415
- if (editable) {
416
- inputRef.current?.focus();
417
- }
418
- }, [editable]);
419
442
  if (editable) {
420
- return (_jsxs(_Fragment, { children: [showAdvancedEditorPopover && (_jsxs(BasePopover, { onClose: () => setShowAdvancedEditorPopover(false), open: showAdvancedEditorPopover, anchorEl: inputRef.current, children: [_jsx("textarea", { className: "panel__content__form__section__input value-spec-editor__list-editor__textarea", spellCheck: false, value: text, placeholder: placeholder, onChange: changeValueTextArea, onKeyDown: (event) => {
421
- if (event.key === 'Enter' && !event.shiftKey) {
422
- updateValueSpecAndSaveEdit();
423
- }
424
- } }), _jsx(PanelFormSection, { children: _jsx("div", { className: "value-spec-editor__list-editor__textarea__description", children: "Hit Enter to Apply Change" }) })] })), _jsxs("div", { className: clsx('value-spec-editor', className), children: [expectedType instanceof Enumeration ? (_jsx(EnumCollectionInstanceValueEditor, { valueSpecification: valueSpecification, observerContext: obseverContext, saveEdit: saveEdit })) : (_jsxs(_Fragment, { children: [_jsx("textarea", { ref: inputRef, className: clsx('panel__content__form__section__input value-spec-editor__input value-spec-editor__textarea '), spellCheck: false, value: text, placeholder: placeholder, onChange: changeValueTextArea, onKeyDown: (event) => {
425
- if (event.key === 'Enter' && !event.shiftKey) {
426
- updateValueSpecAndSaveEdit();
427
- }
428
- }, onBlur: handleOnBlur }), _jsx("button", { className: "value-spec-editor__list-editor__expand-button btn--dark", onClick: () => setShowAdvancedEditorPopover(true), tabIndex: -1, name: expandButtonName, title: "Expand window...", children: _jsx(FilledWindowMaximizeIcon, {}) }), _jsx("button", { className: "value-spec-editor__list-editor__save-button btn--dark", onClick: saveEdit, children: _jsx(SaveIcon, {}) })] })), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] })] }));
443
+ return (_jsx(_Fragment, { children: _jsxs("div", { className: clsx('value-spec-editor', className), children: [expectedType instanceof Enumeration ? (_jsx(EnumCollectionInstanceValueEditor, { valueSpecification: valueSpecification, observerContext: obseverContext, saveEdit: saveEdit })) : (_jsx(PrimitiveCollectionInstanceValueEditor, { valueSpecification: valueSpecification, expectedType: expectedType, saveEdit: saveEdit, selectorConfig: selectorConfig, observerContext: obseverContext })), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }) }));
429
444
  }
430
445
  return (_jsxs("div", { className: clsx('value-spec-editor', className), onClick: enableEdit, title: "Click to edit", children: [_jsx("div", { className: clsx('value-spec-editor__list-editor__preview', {
431
446
  'value-spec-editor__list-editor__preview--error': !isValidInstanceValue(valueSpecification),
@@ -476,7 +491,7 @@ export const BasicValueSpecificationEditor = forwardRef(function BasicValueSpeci
476
491
  // NOTE: since when we fill in the arguments, `[]` (or `nullish` value in Pure)
477
492
  // is used for parameters we don't handle, we should not attempt to support empty collection
478
493
  // without generic type here as that is equivalent to `[]`
479
- return (_jsx(CollectionValueInstanceValueEditor, { valueSpecification: valueSpecification, graph: graph, expectedType: typeCheckOption.expectedType, className: className, resetValue: resetValue, setValueSpecification: setValueSpecification, obseverContext: obseverContext }));
494
+ return (_jsx(CollectionValueInstanceValueEditor, { valueSpecification: valueSpecification, graph: graph, expectedType: typeCheckOption.expectedType, className: className, resetValue: resetValue, setValueSpecification: setValueSpecification, selectorConfig: selectorConfig, obseverContext: obseverContext }));
480
495
  }
481
496
  // property expression
482
497
  else if (valueSpecification instanceof VariableExpression) {
@@ -1 +1 @@
1
- {"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,EAE1B,iBAAiB,EACjB,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,IAAI,EACJ,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EACL,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EACL,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,E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,CAAC;YACF,IACE,eAAe,YAAY,sBAAsB;gBACjD,SAAS,CACP,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,EACzC,aAAa,CAAC,MAAM,CACrB,EACD,CAAC;gBACD,OAAO,CACL,KAAC,kCAAkC,IACjC,kBAAkB,EAAE,eAAe,EACnC,SAAS,EACP,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO;wBACzC,aAAa,CAAC,OAAO,EAEvB,qBAAqB,EAAE,qBAAqB,EAC5C,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,GAAG,GACR,CACH,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,8CAA8C,EAC9C,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAIL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,0BAA0B,EAE1B,iBAAiB,EACjB,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,aAAa,EAC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EAC9B,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,SAAS,EACpB,qBAAqB,EAAE,qBAAqB,EAC5C,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,KAAC,mCAAmC,KAAG,CAAC;YACjD,CAAC;QACH,CAAC;aAAM;QACL,sFAAsF;QACtF,+EAA+E;QAC/E,SAAS,CAAC,eAAe,CAAC,YAAY,EAAE,aAAa,CAAC,MAAM,CAAC;YAC7D,iBAAiB,CACf,kBAAkB,CAAC,YAAY,EAC/B,iCAAiC,CAAC,KAAK,CACxC,EACD,CAAC;YACD,MAAM,eAAe,GAAG,uBAAuB,CAC7C,kBAAkB,EAClB,cAAc,CACf,CAAC;YACF,IACE,eAAe,YAAY,sBAAsB;gBACjD,SAAS,CACP,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,EACzC,aAAa,CAAC,MAAM,CACrB,EACD,CAAC;gBACD,OAAO,CACL,KAAC,kCAAkC,IACjC,kBAAkB,EAAE,eAAe,EACnC,SAAS,EACP,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO;wBACzC,aAAa,CAAC,OAAO,EAEvB,qBAAqB,EAAE,qBAAqB,EAC5C,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,GAAG,GACR,CACH,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderVariableSelector.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAa3E,eAAO,MAAM,2BAA2B,UAC/B,kBAAkB,qBACN,iBAAiB,KACnC,MAAM,GAAG,SAWX,CAAC;AA8CF,eAAO,MAAM,cAAc,WACjB;IACN,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,kBAAkB,GAAG,SAAS,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE;QACR,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;IACF,uBAAuB,CAAC,EACpB;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,EAAE,GACH,SAAS,CAAC;CACf;;CAuIF,CAAC;AAEF,eAAO,MAAM,gBAAgB,WACnB;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,KAAK,OAAO,CAAC;CAChE;;CAgDF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderVariableSelector.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAa3E,eAAO,MAAM,2BAA2B,UAC/B,kBAAkB,qBACN,iBAAiB,KACnC,MAAM,GAAG,SAWX,CAAC;AA8CF,eAAO,MAAM,cAAc,WACjB;IACN,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,kBAAkB,GAAG,SAAS,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE;QACR,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;IACF,uBAAuB,CAAC,EACpB;QACE,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,EAAE,GACH,SAAS,CAAC;CACf;;CA6JF,CAAC;AAEF,eAAO,MAAM,gBAAgB,WACnB;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,KAAK,OAAO,CAAC;CAChE;;CAgDF,CAAC"}
@@ -50,6 +50,13 @@ export const VariableViewer = observer((props) => {
50
50
  const name = variable.name;
51
51
  const variableTypeName = variable.genericType?.value.rawType.name ??
52
52
  (isConstant ? CALCULATED : undefined);
53
+ const isMilestoningParameter = queryBuilderState.milestoningState.isMilestoningParameter(variable);
54
+ const milestoningParameterValue = queryBuilderState.milestoningState.getMilestoningParameterValue(variable);
55
+ const milestoningParameterValueString = isMilestoningParameter
56
+ ? milestoningParameterValue
57
+ ? getNameOfValueSpecification(milestoningParameterValue, queryBuilderState)
58
+ : undefined
59
+ : undefined;
53
60
  const deleteDisabled = isReadOnly || isVariableUsed;
54
61
  const deleteTitle = isVariableUsed ? 'Used in query' : 'Remove';
55
62
  const editVariable = () => {
@@ -67,7 +74,7 @@ export const VariableViewer = observer((props) => {
67
74
  'query-builder__variables__variable--selected-from-context-menu': isSelectedFromContextMenu,
68
75
  }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.variable.name === '' ? '(unknown)' : item.variable.name, types: [QUERY_BUILDER_VARIABLE_DND_TYPE] }), _jsxs("div", { onClick: editVariable, className: "query-builder__variables__variable__content", children: [_jsx("div", { className: "query-builder__variables__variable__icon", children: _jsx("div", { className: "query-builder__variables__variable-icon", children: isConstant ? (_jsx("div", { className: "icon query-builder__variables__variable-icon", children: "C" })) : (_jsx(DollarIcon, {})) }) }), _jsxs("div", { className: "query-builder__variables__variable__label", children: [name, isConstant ? (_jsxs("div", { className: clsx('query-builder__constants__value', {
69
76
  'query-builder__constants__value--icon': !constantValueString,
70
- }), children: [constantValueString, !constantValueString && (_jsx(CalculatorIcon, { title: "Calculated Constant" }))] })) : (_jsx("div", { className: "query-builder__variables__variable__type", children: _jsx("div", { className: "query-builder__variables__variable__type__label", children: variableTypeName ?? 'unknown' }) }))] })] }), actions && (_jsxs("div", { className: "query-builder__variables__variable__actions", children: [_jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, disabled: isReadOnly, onClick: editVariable, title: "Edit", children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, onClick: deleteVariable, disabled: deleteDisabled, title: deleteTitle, children: _jsx(TimesIcon, {}) }), _jsx(VariableInfoTooltip, { variable: variable, children: _jsx("div", { className: "query-builder__variables__variable__action value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) })] }))] }) }));
77
+ }), children: [constantValueString, !constantValueString && (_jsx(CalculatorIcon, { title: "Calculated Constant" }))] })) : (_jsxs("div", { className: "query-builder__variables__variable__type", children: [_jsx("div", { className: "query-builder__variables__variable__type__label", children: variableTypeName ?? 'unknown' }), isMilestoningParameter && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__variables__variable__type__label query-builder__variables__variable__type__label--milestoning", children: "milestoning" }), _jsx("div", { className: "query-builder__constants__value", children: milestoningParameterValueString })] }))] }))] })] }), actions && (_jsxs("div", { className: "query-builder__variables__variable__actions", children: [_jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, disabled: isReadOnly, onClick: editVariable, title: "Edit", children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, onClick: deleteVariable, disabled: deleteDisabled, title: deleteTitle, children: _jsx(TimesIcon, {}) }), _jsx(VariableInfoTooltip, { variable: variable, children: _jsx("div", { className: "query-builder__variables__variable__action value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) })] }))] }) }));
71
78
  });
72
79
  export const VariableSelector = observer((props) => {
73
80
  const { queryBuilderState, filterBy } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderVariableSelector.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,IAAI,EACJ,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAEL,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,yCAAyC,EAAE,MAAM,4CAA4C,CAAC;AACvG,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,UAAU,GAAG,cAAc,CAAC;AAElC,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,KAAyB,EACzB,iBAAoC,EAChB,EAAE;IACtB,IAAI,KAAK,YAAY,wBAAwB,EAAE,CAAC;QAC9C,MAAM,i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M,KAAK,CAAC,IAAI,CACvC,0DAA8B,CAC/B,EACA,uBAAuB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvC,KAAC,cAAc,IAEb,QAAQ,EAAE,MAAM,CAAC,SAAS,EAC1B,UAAU,EAAE,IAAI,EAChB,iBAAiB,EAAE,iBAAiB,IAH/B,MAAM,CAAC,IAAI,CAIhB,CACH,CAAC,IACiB,EACpB,OAAO,CAAC,qBAAqB,CAAC,MAAM,CAAC,IAAI,CACxC,KAAC,kBAAkB,IAAC,KAAK,EAAC,qBAAqB,YAC5C,qBAAqB,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE,CAAC,CAC5C,KAAC,cAAc,IAEb,QAAQ,EAAE,aAAa,CAAC,QAAQ,EAChC,KAAK,EAAE;wBACL,GAAG,EACD,aAAa;4BACb,yCAAyC;4BACvC,CAAC,CAAC,aAAa,CAAC,KAAK;4BACrB,CAAC,CAAC,SAAS;qBAChB,EACD,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,IAAI,IAVX,aAAa,CAAC,IAAI,CAWvB,CACH,CAAC,GACiB,CACtB,IACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderVariableSelector.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,IAAI,EACJ,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,E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