@finos/legend-query-builder 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -3
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +2 -2
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +5 -6
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +7 -12
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +1 -0
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +6 -6
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -5
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +5 -6
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +87 -76
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +13 -14
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.js +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +1 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.js +1 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +8 -8
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +17 -26
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/package.json +12 -11
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts +4 -4
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderChangeDetectionState.js +9 -9
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +4 -4
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +2 -3
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +9 -12
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +4 -2
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +7 -7
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +2 -2
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +10 -12
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +9 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +22 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +2 -2
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +22 -15
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +2 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +2 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +6 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +4 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +4 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +2 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +2 -2
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -14
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +9 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +4 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +3 -3
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/shared/LambdaParameterState.d.ts +2 -2
- package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
- package/lib/stores/shared/LambdaParameterState.js +5 -5
- package/lib/stores/shared/LambdaParameterState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +4 -4
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +11 -15
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts +8 -8
- package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationModifierHelper.js +20 -17
- package/lib/stores/shared/ValueSpecificationModifierHelper.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/package.json +19 -18
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +3 -1
- package/src/components/QueryBuilderParametersPanel.tsx +2 -2
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +6 -6
- package/src/components/QueryBuilderResultPanel.tsx +18 -14
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +1 -0
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +10 -11
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +7 -5
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +9 -6
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
- package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +180 -106
- package/src/components/shared/CustomDatePicker.tsx +54 -26
- package/src/components/watermark/QueryBuilderWatermark.tsx +1 -3
- package/src/graphManager/QueryBuilderSupportedFunctions.ts +4 -0
- package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +1 -1
- package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +67 -68
- package/src/stores/QueryBuilderChangeDetectionState.ts +13 -11
- package/src/stores/QueryBuilderConstantsState.ts +4 -3
- package/src/stores/QueryBuilderPropertyEditorState.ts +17 -13
- package/src/stores/QueryBuilderState.ts +7 -9
- package/src/stores/QueryBuilderStateBuilder.ts +10 -12
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +1 -1
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +36 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +10 -2
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +26 -20
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +2 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +2 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +14 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +4 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +4 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +2 -0
- package/src/stores/filter/QueryBuilderFilterState.ts +2 -2
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +0 -20
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +17 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +1 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +1 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +12 -3
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +2 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +2 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +2 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +2 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +1 -0
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +3 -9
- package/src/stores/shared/LambdaParameterState.ts +9 -5
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +24 -9
- package/src/stores/shared/ValueSpecificationModifierHelper.ts +42 -20
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +1 -4
@@ -15,15 +15,18 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
18
|
-
import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, FilledWindowMaximizeIcon, BasePopover, PanelFormSection, } from '@finos/legend-art';
|
19
|
-
import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue, INTERNAL__PropagatedValue, SimpleFunctionExpression, VariableExpression, EnumValueExplicitReference, PrimitiveType, PRIMITIVE_TYPE, GenericTypeExplicitReference, GenericType, Enumeration, getEnumValue, getMultiplicityDescription, } from '@finos/legend-graph';
|
20
|
-
import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, } from '@finos/legend-shared';
|
18
|
+
import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, FilledWindowMaximizeIcon, BasePopover, PanelFormSection, CalculateIcon, } 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, } from '@finos/legend-shared';
|
21
21
|
import { flowResult } from 'mobx';
|
22
22
|
import { observer } from 'mobx-react-lite';
|
23
23
|
import CSVParser from 'papaparse';
|
24
24
|
import { useEffect, useRef, useState } from 'react';
|
25
25
|
import { instanceValue_setValue, instanceValue_setValues, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
|
26
26
|
import { CustomDatePicker } from './CustomDatePicker.js';
|
27
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
|
28
|
+
import { simplifyValueExpression } from '../../stores/QueryBuilderValueSpecificationHelper.js';
|
29
|
+
import { evaluate } from 'mathjs';
|
27
30
|
export const VariableInfoTooltip = (props) => {
|
28
31
|
const { variable, children, placement } = props;
|
29
32
|
const type = variable.genericType?.value.rawType;
|
@@ -47,12 +50,12 @@ const VariableExpressionParameterEditor = observer((props) => {
|
|
47
50
|
}), children: [_jsx("div", { className: "value-spec-editor__variable__icon", children: isConstant ? _jsx("div", { className: "icon", children: "C" }) : _jsx(DollarIcon, {}) }), _jsxs("div", { className: "value-spec-editor__variable__label", children: [_jsx("div", { className: "value-spec-editor__variable__text", children: varName }), _jsx(VariableInfoTooltip, { variable: valueSpecification, children: _jsx("div", { className: "value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "value-spec-editor__variable__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] })] })] }));
|
48
51
|
});
|
49
52
|
const StringPrimitiveInstanceValueEditor = observer((props) => {
|
50
|
-
const { valueSpecification, className, resetValue, setValueSpecification, selectorConfig, } = props;
|
53
|
+
const { valueSpecification, className, resetValue, setValueSpecification, selectorConfig, obseverContext, } = props;
|
51
54
|
const useSelector = Boolean(selectorConfig);
|
52
55
|
const applicationStore = useApplicationStore();
|
53
56
|
const value = valueSpecification.values[0];
|
54
57
|
const updateValueSpec = (val) => {
|
55
|
-
instanceValue_setValue(valueSpecification, val, 0);
|
58
|
+
instanceValue_setValue(valueSpecification, val, 0, obseverContext);
|
56
59
|
setValueSpecification(valueSpecification);
|
57
60
|
};
|
58
61
|
const changeInputValue = (event) => {
|
@@ -93,10 +96,10 @@ const StringPrimitiveInstanceValueEditor = observer((props) => {
|
|
93
96
|
} })) : (_jsx("input", { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, value: value, placeholder: value === '' ? '(empty)' : undefined, onChange: changeInputValue })), _jsx("button", { className: "value-spec-editor__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
|
94
97
|
});
|
95
98
|
const BooleanPrimitiveInstanceValueEditor = observer((props) => {
|
96
|
-
const { valueSpecification, className, resetValue, setValueSpecification } = props;
|
99
|
+
const { valueSpecification, className, resetValue, setValueSpecification, obseverContext, } = props;
|
97
100
|
const value = valueSpecification.values[0];
|
98
101
|
const toggleValue = () => {
|
99
|
-
instanceValue_setValue(valueSpecification, !value, 0);
|
102
|
+
instanceValue_setValue(valueSpecification, !value, 0, obseverContext);
|
100
103
|
setValueSpecification(valueSpecification);
|
101
104
|
};
|
102
105
|
return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsx("button", { className: clsx('value-spec-editor__toggler__btn', {
|
@@ -104,59 +107,61 @@ const BooleanPrimitiveInstanceValueEditor = observer((props) => {
|
|
104
107
|
}), onClick: toggleValue, children: value ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("button", { className: "value-spec-editor__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
|
105
108
|
});
|
106
109
|
const NumberPrimitiveInstanceValueEditor = observer((props) => {
|
107
|
-
const { valueSpecification, isInteger, className, resetValue, setValueSpecification, } = props;
|
108
|
-
const
|
109
|
-
const
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
110
|
+
const { valueSpecification, isInteger, className, resetValue, setValueSpecification, obseverContext, } = props;
|
111
|
+
const [value, setValue] = useState(valueSpecification.values[0].toString());
|
112
|
+
const inputRef = useRef(null);
|
113
|
+
const numericValue = isInteger
|
114
|
+
? Number.parseInt(Number(value).toString(), 10)
|
115
|
+
: Number(value);
|
116
|
+
const changeValue = (event) => {
|
117
|
+
setValue(event.target.value);
|
118
|
+
};
|
119
|
+
// Support expression evaluation
|
120
|
+
const calculateExpression = () => {
|
121
|
+
if (isNaN(numericValue)) {
|
122
|
+
try {
|
123
|
+
const calculatedValue = guaranteeIsNumber(evaluate(value));
|
124
|
+
setValue(isInteger
|
125
|
+
? Number.parseInt(calculatedValue.toString(), 10).toString()
|
126
|
+
: Number(calculatedValue).toString());
|
127
|
+
}
|
128
|
+
catch {
|
129
|
+
setValue(valueSpecification.values[0].toString());
|
130
|
+
}
|
118
131
|
}
|
119
|
-
|
120
|
-
|
121
|
-
numberInputValue.at(-1) === DECIMAL_POINT) {
|
122
|
-
instanceValue_setValue(valueSpecification, parseInt(numberInputValue.substring(0, numberInputValue.length - 1), 10), 0);
|
132
|
+
else {
|
133
|
+
setValue(numericValue.toString());
|
123
134
|
}
|
124
|
-
const val = isInteger
|
125
|
-
? parseInt(numberInputValue, 10)
|
126
|
-
: parseFloat(numberInputValue);
|
127
|
-
instanceValue_setValue(valueSpecification, val, 0);
|
128
|
-
setValueSpecification(valueSpecification);
|
129
135
|
};
|
130
|
-
const
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
if (!isInteger &&
|
135
|
-
valueIsDecimalPoint &&
|
136
|
-
value.toString().length > 0 &&
|
137
|
-
!value.toString().includes(DECIMAL_POINT)) {
|
138
|
-
instanceValue_setValue(valueSpecification, valueSpecification.values[0] + DECIMAL_POINT, 0);
|
139
|
-
return;
|
136
|
+
const onKeyDown = (event) => {
|
137
|
+
if (event.code === 'Enter') {
|
138
|
+
calculateExpression();
|
139
|
+
inputRef.current?.focus();
|
140
140
|
}
|
141
|
-
if (
|
142
|
-
|
143
|
-
instanceValue_setValue(valueSpecification, `${valueSpecification.values[0]}0`, 0);
|
144
|
-
setValueSpecification(valueSpecification);
|
145
|
-
return;
|
141
|
+
else if (event.code === 'Escape') {
|
142
|
+
inputRef.current?.select();
|
146
143
|
}
|
147
|
-
let inputVal = isInteger
|
148
|
-
? parseInt(event.target.value, 10)
|
149
|
-
: parseFloat(event.target.value);
|
150
|
-
inputVal = isNaN(inputVal) ? 0 : inputVal;
|
151
|
-
valueIsNegativeSymbol
|
152
|
-
? instanceValue_setValue(valueSpecification, NEGATIVE_SIGN, 0)
|
153
|
-
: instanceValue_setValue(valueSpecification, inputVal, 0);
|
154
|
-
setValueSpecification(valueSpecification);
|
155
144
|
};
|
156
|
-
|
145
|
+
useEffect(() => {
|
146
|
+
setValue(valueSpecification.values[0].toString());
|
147
|
+
}, [valueSpecification]);
|
148
|
+
useEffect(() => {
|
149
|
+
if (!isNaN(numericValue) &&
|
150
|
+
numericValue !== valueSpecification.values[0]) {
|
151
|
+
instanceValue_setValue(valueSpecification, numericValue, 0, obseverContext);
|
152
|
+
setValueSpecification(valueSpecification);
|
153
|
+
}
|
154
|
+
}, [
|
155
|
+
numericValue,
|
156
|
+
valueSpecification,
|
157
|
+
setValueSpecification,
|
158
|
+
obseverContext,
|
159
|
+
]);
|
160
|
+
return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsxs("div", { className: "value-spec-editor__number__input-container", children: [_jsx("input", { ref: inputRef, className: "panel__content__form__section__input value-spec-editor__input value-spec-editor__number__input", spellCheck: false, type: "text" // NOTE: we leave this as text so that we can support expression evaluation
|
161
|
+
, inputMode: "numeric", value: value, onChange: changeValue, onBlur: calculateExpression, onKeyDown: onKeyDown }), _jsx("div", { className: "value-spec-editor__number__actions", children: _jsx("button", { className: "value-spec-editor__number__action", title: "Evaluate Expression (Enter)", onClick: calculateExpression, children: _jsx(CalculateIcon, {}) }) })] }), _jsx("button", { className: "value-spec-editor__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
|
157
162
|
});
|
158
163
|
const EnumValueInstanceValueEditor = observer((props) => {
|
159
|
-
const { valueSpecification, className, resetValue, setValueSpecification } = props;
|
164
|
+
const { valueSpecification, className, resetValue, setValueSpecification, obseverContext, } = props;
|
160
165
|
const enumValueRef = guaranteeNonNullable(valueSpecification.values[0]);
|
161
166
|
const enumValue = enumValueRef.value;
|
162
167
|
const options = enumValue._OWNER.values.map((value) => ({
|
@@ -164,7 +169,7 @@ const EnumValueInstanceValueEditor = observer((props) => {
|
|
164
169
|
value: value,
|
165
170
|
}));
|
166
171
|
const changeValue = (val) => {
|
167
|
-
instanceValue_setValue(valueSpecification, EnumValueExplicitReference.create(val.value), 0);
|
172
|
+
instanceValue_setValue(valueSpecification, EnumValueExplicitReference.create(val.value), 0, obseverContext);
|
168
173
|
setValueSpecification(valueSpecification);
|
169
174
|
};
|
170
175
|
return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsx(CustomSelectorInput, { className: "value-spec-editor__enum-selector", options: options, onChange: changeValue, value: { value: enumValue, label: enumValue.name }, darkMode: true }), _jsx("button", { className: "value-spec-editor__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
|
@@ -193,9 +198,9 @@ const stringifyValue = (values) => {
|
|
193
198
|
* passing in logger or notifier to show give the users some idea of what went wrong instead
|
194
199
|
* of silently swallow parts of their inputs like this.
|
195
200
|
*/
|
196
|
-
const setCollectionValue = (valueSpecification, expectedType, value) => {
|
201
|
+
const setCollectionValue = (valueSpecification, expectedType, value, obseverContext) => {
|
197
202
|
if (value.trim().length === 0) {
|
198
|
-
instanceValue_setValues(valueSpecification, []);
|
203
|
+
instanceValue_setValues(valueSpecification, [], obseverContext);
|
199
204
|
return;
|
200
205
|
}
|
201
206
|
let result = [];
|
@@ -209,7 +214,7 @@ const setCollectionValue = (valueSpecification, expectedType, value) => {
|
|
209
214
|
result = uniq(parseData)
|
210
215
|
.map((item) => {
|
211
216
|
const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
212
|
-
instanceValue_setValues(primitiveInstanceValue, [item.toString()]);
|
217
|
+
instanceValue_setValues(primitiveInstanceValue, [item.toString()], obseverContext);
|
213
218
|
return primitiveInstanceValue;
|
214
219
|
})
|
215
220
|
.filter(isNonNullable);
|
@@ -224,7 +229,7 @@ const setCollectionValue = (valueSpecification, expectedType, value) => {
|
|
224
229
|
.map((val) => Number(val)))
|
225
230
|
.map((item) => {
|
226
231
|
const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
227
|
-
instanceValue_setValues(primitiveInstanceValue, [item]);
|
232
|
+
instanceValue_setValues(primitiveInstanceValue, [item], obseverContext);
|
228
233
|
return primitiveInstanceValue;
|
229
234
|
})
|
230
235
|
.filter(isNonNullable);
|
@@ -243,18 +248,16 @@ const setCollectionValue = (valueSpecification, expectedType, value) => {
|
|
243
248
|
return undefined;
|
244
249
|
}
|
245
250
|
const enumValueInstanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(expectedType)));
|
246
|
-
instanceValue_setValues(enumValueInstanceValue, [
|
247
|
-
EnumValueExplicitReference.create(_enum),
|
248
|
-
]);
|
251
|
+
instanceValue_setValues(enumValueInstanceValue, [EnumValueExplicitReference.create(_enum)], obseverContext);
|
249
252
|
return enumValueInstanceValue;
|
250
253
|
})
|
251
254
|
.filter(isNonNullable);
|
252
255
|
}
|
253
|
-
instanceValue_setValues(valueSpecification, result);
|
256
|
+
instanceValue_setValues(valueSpecification, result, obseverContext);
|
254
257
|
};
|
255
258
|
const COLLECTION_PREVIEW_CHAR_LIMIT = 50;
|
256
259
|
const CollectionValueInstanceValueEditor = observer((props) => {
|
257
|
-
const { valueSpecification, expectedType, className, resetValue, setValueSpecification, } = props;
|
260
|
+
const { valueSpecification, expectedType, className, resetValue, setValueSpecification, obseverContext, } = props;
|
258
261
|
const inputRef = useRef(null);
|
259
262
|
const [text, setText] = useState(stringifyValue(valueSpecification.values));
|
260
263
|
const [editable, setEditable] = useState(false);
|
@@ -271,7 +274,7 @@ const CollectionValueInstanceValueEditor = observer((props) => {
|
|
271
274
|
const saveEdit = () => {
|
272
275
|
setEditable(false);
|
273
276
|
setShowAdvancedEditorPopover(false);
|
274
|
-
setCollectionValue(valueSpecification, expectedType, text);
|
277
|
+
setCollectionValue(valueSpecification, expectedType, text, obseverContext);
|
275
278
|
setText(stringifyValue(valueSpecification.values));
|
276
279
|
setValueSpecification(valueSpecification);
|
277
280
|
};
|
@@ -313,15 +316,15 @@ export const BasicValueSpecificationEditor = (props) => {
|
|
313
316
|
const _type = valueSpecification.genericType.value.rawType;
|
314
317
|
switch (_type.path) {
|
315
318
|
case PRIMITIVE_TYPE.STRING:
|
316
|
-
return (_jsx(StringPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, selectorConfig: selectorConfig }));
|
319
|
+
return (_jsx(StringPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, selectorConfig: selectorConfig, obseverContext: obseverContext }));
|
317
320
|
case PRIMITIVE_TYPE.BOOLEAN:
|
318
|
-
return (_jsx(BooleanPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue }));
|
321
|
+
return (_jsx(BooleanPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext }));
|
319
322
|
case PRIMITIVE_TYPE.NUMBER:
|
320
323
|
case PRIMITIVE_TYPE.FLOAT:
|
321
324
|
case PRIMITIVE_TYPE.DECIMAL:
|
322
325
|
case PRIMITIVE_TYPE.BINARY:
|
323
326
|
case PRIMITIVE_TYPE.INTEGER:
|
324
|
-
return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, isInteger: _type.path === PRIMITIVE_TYPE.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue }));
|
327
|
+
return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, isInteger: _type.path === PRIMITIVE_TYPE.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext }));
|
325
328
|
case PRIMITIVE_TYPE.DATE:
|
326
329
|
case PRIMITIVE_TYPE.STRICTDATE:
|
327
330
|
case PRIMITIVE_TYPE.DATETIME:
|
@@ -332,14 +335,14 @@ export const BasicValueSpecificationEditor = (props) => {
|
|
332
335
|
}
|
333
336
|
}
|
334
337
|
else if (valueSpecification instanceof EnumValueInstanceValue) {
|
335
|
-
return (_jsx(EnumValueInstanceValueEditor, { valueSpecification: valueSpecification, className: className, resetValue: resetValue, setValueSpecification: setValueSpecification }));
|
338
|
+
return (_jsx(EnumValueInstanceValueEditor, { valueSpecification: valueSpecification, className: className, resetValue: resetValue, setValueSpecification: setValueSpecification, obseverContext: obseverContext }));
|
336
339
|
}
|
337
340
|
else if (valueSpecification instanceof CollectionInstanceValue &&
|
338
341
|
valueSpecification.genericType) {
|
339
342
|
// NOTE: since when we fill in the arguments, `[]` (or `nullish` value in Pure)
|
340
343
|
// is used for parameters we don't handle, we should not attempt to support empty collection
|
341
344
|
// without generic type here as that is equivalent to `[]`
|
342
|
-
return (_jsx(CollectionValueInstanceValueEditor, { valueSpecification: valueSpecification, graph: graph, expectedType: typeCheckOption.expectedType, className: className, resetValue: resetValue, setValueSpecification: setValueSpecification }));
|
345
|
+
return (_jsx(CollectionValueInstanceValueEditor, { valueSpecification: valueSpecification, graph: graph, expectedType: typeCheckOption.expectedType, className: className, resetValue: resetValue, setValueSpecification: setValueSpecification, obseverContext: obseverContext }));
|
343
346
|
}
|
344
347
|
// property expression
|
345
348
|
else if (valueSpecification instanceof VariableExpression) {
|
@@ -348,14 +351,22 @@ export const BasicValueSpecificationEditor = (props) => {
|
|
348
351
|
else if (valueSpecification instanceof INTERNAL__PropagatedValue) {
|
349
352
|
return (_jsx(BasicValueSpecificationEditor, { valueSpecification: valueSpecification.getValue(), graph: graph, obseverContext: obseverContext, typeCheckOption: typeCheckOption, setValueSpecification: setValueSpecification, resetValue: resetValue }));
|
350
353
|
}
|
351
|
-
else if (valueSpecification instanceof SimpleFunctionExpression
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
354
|
+
else if (valueSpecification instanceof SimpleFunctionExpression) {
|
355
|
+
if (isSubType(typeCheckOption.expectedType, PrimitiveType.DATE)) {
|
356
|
+
return (_jsx(DateInstanceValueEditor, { valueSpecification: valueSpecification, graph: graph, obseverContext: obseverContext, typeCheckOption: typeCheckOption, className: className, setValueSpecification: setValueSpecification, resetValue: resetValue }));
|
357
|
+
}
|
358
|
+
else if (
|
359
|
+
// TODO: think of other ways we could make use of this code path where we can simplify
|
360
|
+
// an expression value to simple value, not just handling minus() function only
|
361
|
+
isSubType(typeCheckOption.expectedType, PrimitiveType.NUMBER) &&
|
362
|
+
matchFunctionName(valueSpecification.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS)) {
|
363
|
+
const simplifiedValue = simplifyValueExpression(valueSpecification, obseverContext);
|
364
|
+
if (simplifiedValue instanceof PrimitiveInstanceValue &&
|
365
|
+
isSubType(simplifiedValue.genericType.value.rawType, PrimitiveType.NUMBER)) {
|
366
|
+
return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: simplifiedValue, isInteger: simplifiedValue.genericType.value.rawType ===
|
367
|
+
PrimitiveType.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue, obseverContext: obseverContext }));
|
368
|
+
}
|
369
|
+
}
|
359
370
|
}
|
360
371
|
return _jsx(UnsupportedValueSpecificationEditor, {});
|
361
372
|
};
|
@@ -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,GACjB,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,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AA6B,IAC5B,kBAAkB,EAAE,kBAAkB,CAAC,QAAQ,EAAE,EACjD,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,EAChC,qBAAqB,EAAE,qBAAqB,EAC5C,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;KACH;SAAM,IACL,kBAAkB,YAAY,wBAAwB;QACtD;YACE,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE;YAC9B,cAAc,CAAC,UAAU,CAAC,QAAQ,EAAE;YACpC,cAAc,CAAC,QAAQ,CAAC,QAAQ,EAAE;YAClC,cAAc,CAAC,UAAU,CAAC,QAAQ,EAAE;SACrC,CAAC,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,EAC7C;QACA,OAAO,CACL,KAAC,uBAAuB,IACtB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,SAAS,EACpB,qBAAqB,EAAE,qBAAqB,EAC5C,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;KACH;IACD,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC"}
|
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,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBA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AAM,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;gBACA,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,GAC9B,CACH,CAAC;aACH;SACF;KACF;IAED,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,wBAAwB,EAGxB,sBAAsB,EAQtB,KAAK,eAAe,EAGrB,MAAM,qBAAqB,CAAC;AAmB7B,oBAAY,yBAAyB;IACnC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,YAAY,oBAAoB;IAChC,WAAW,gBAAgB;CAC5B;AAwCD;;GAEG;AACH,cAAM,gBAAgB;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;gBAEF,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAIzC;
|
1
|
+
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,wBAAwB,EAGxB,sBAAsB,EAQtB,KAAK,eAAe,EAGrB,MAAM,qBAAqB,CAAC;AAmB7B,oBAAY,yBAAyB;IACnC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,YAAY,oBAAoB;IAChC,WAAW,gBAAgB;CAC5B;AAwCD;;GAEG;AACH,cAAM,gBAAgB;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;gBAEF,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAIzC;AAwfD;;GAEG;AACH,eAAO,MAAM,qBAAqB,uBACZ,wBAAwB,GAAG,sBAAsB,KACpE,gBA+DF,CAAC;AAqdF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,kBAAkB,EAAE,sBAAsB,GAAG,wBAAwB,CAAC;IACtE,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE;QACf,YAAY,EAAE,IAAI,CAAC;QACnB;;;;;;;;;;WAUG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,qBAAqB,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC1D,CAyLA,CAAC"}
|
@@ -165,7 +165,7 @@ const buildPureDateFunctionExpression = (datePickerOption, graph, observerContex
|
|
165
165
|
EnumValueExplicitReference.create(guaranteeNonNullable(graph
|
166
166
|
.getEnumeration(DAY_OF_WEEK)
|
167
167
|
.values.filter((e) => e.name === datePickerOption.day)[0])),
|
168
|
-
]);
|
168
|
+
], observerContext);
|
169
169
|
functionExpression_addParameterValue(previousFridaySFE, dayOfWeekEnumIntanceValue, observerContext);
|
170
170
|
return previousFridaySFE;
|
171
171
|
}
|
@@ -246,18 +246,17 @@ const buildPureAdjustDateFunction = (customDateOption, graph, observerContext) =
|
|
246
246
|
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, buildPureDateFunctionExpression(new DatePickerOption(guaranteeNonNullable(customDateOption.referenceMoment), guaranteeNonNullable(customDateOption.referenceMoment)), graph, observerContext), observerContext);
|
247
247
|
if (customDateOption.direction === CUSTOM_DATE_OPTION_DIRECTION.BEFORE) {
|
248
248
|
const minusFunc = new SimpleFunctionExpression(SUPPORTED_FUNCTIONS.MINUS);
|
249
|
-
functionExpression_addParameterValue(minusFunc, buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.INTEGER, customDateOption.duration), observerContext);
|
249
|
+
functionExpression_addParameterValue(minusFunc, buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.INTEGER, customDateOption.duration, observerContext), observerContext);
|
250
250
|
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, minusFunc, observerContext);
|
251
251
|
}
|
252
252
|
else {
|
253
|
-
|
254
|
-
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, adjustmentInstanceValue, observerContext);
|
253
|
+
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.INTEGER, customDateOption.duration, observerContext), observerContext);
|
255
254
|
}
|
256
255
|
const durationUnitEnumIntanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(graph.getType(DURATION_UNIT))));
|
257
256
|
instanceValue_setValues(durationUnitEnumIntanceValue, [
|
258
257
|
...durationUnitEnumIntanceValue.values,
|
259
258
|
EnumValueExplicitReference.create(guaranteeNonNullable(buildPureDurationEnumValue(guaranteeNonNullable(customDateOption.unit), graph))),
|
260
|
-
]);
|
259
|
+
], observerContext);
|
261
260
|
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, durationUnitEnumIntanceValue, observerContext);
|
262
261
|
valueSpecification_setGenericType(dateAdjustSimpleFunctionExpression, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
263
262
|
return dateAdjustSimpleFunctionExpression;
|
@@ -372,17 +371,17 @@ export const buildDatePickerOption = (valueSpecification) => {
|
|
372
371
|
}
|
373
372
|
};
|
374
373
|
const AbsoluteDateValueSpecificationEditor = (props) => {
|
375
|
-
const { valueSpecification, graph, setValueSpecification, setDatePickerOption, } = props;
|
374
|
+
const { valueSpecification, graph, setValueSpecification, setDatePickerOption, observerContext, } = props;
|
376
375
|
const inputRef = useRef(null);
|
377
376
|
const absoluteDateValue = valueSpecification instanceof SimpleFunctionExpression
|
378
377
|
? ''
|
379
378
|
: valueSpecification.values[0];
|
380
379
|
const updateAbsoluteDateValue = (event) => {
|
381
380
|
if (valueSpecification instanceof SimpleFunctionExpression) {
|
382
|
-
setValueSpecification(buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.STRICTDATE, event.target.value));
|
381
|
+
setValueSpecification(buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.STRICTDATE, event.target.value, observerContext));
|
383
382
|
}
|
384
383
|
else if (valueSpecification instanceof InstanceValue) {
|
385
|
-
instanceValue_setValue(valueSpecification, event.target.value, 0);
|
384
|
+
instanceValue_setValue(valueSpecification, event.target.value, 0, observerContext);
|
386
385
|
if (valueSpecification.genericType.value.rawType.path !==
|
387
386
|
PRIMITIVE_TYPE.STRICTDATE) {
|
388
387
|
valueSpecification_setGenericType(valueSpecification, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE)));
|
@@ -397,17 +396,17 @@ const AbsoluteDateValueSpecificationEditor = (props) => {
|
|
397
396
|
return (_jsx("div", { className: "value-spec-editor__date-picker__absolute-date", children: _jsx("input", { ref: inputRef, className: "panel__content__form__section__input value-spec-editor__date-picker__absolute-date__input input--dark", type: "date", spellCheck: false, value: absoluteDateValue, onChange: updateAbsoluteDateValue }) }));
|
398
397
|
};
|
399
398
|
const AbsoluteTimeValueSpecificationEditor = (props) => {
|
400
|
-
const { valueSpecification, graph, setValueSpecification, setDatePickerOption, } = props;
|
399
|
+
const { valueSpecification, graph, setValueSpecification, setDatePickerOption, observerContext, } = props;
|
401
400
|
const inputRef = useRef(null);
|
402
401
|
const absoluteTimeValue = valueSpecification instanceof SimpleFunctionExpression
|
403
402
|
? ''
|
404
403
|
: valueSpecification.values[0];
|
405
404
|
const updateAbsoluteTimeValue = (event) => {
|
406
405
|
if (valueSpecification instanceof SimpleFunctionExpression) {
|
407
|
-
setValueSpecification(buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.DATETIME, event.target.value));
|
406
|
+
setValueSpecification(buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.DATETIME, event.target.value, observerContext));
|
408
407
|
}
|
409
408
|
else {
|
410
|
-
instanceValue_setValue(valueSpecification, event.target.value, 0);
|
409
|
+
instanceValue_setValue(valueSpecification, event.target.value, 0, observerContext);
|
411
410
|
if (valueSpecification.genericType.value.rawType.path !==
|
412
411
|
PRIMITIVE_TYPE.DATETIME) {
|
413
412
|
valueSpecification_setGenericType(valueSpecification, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATETIME)));
|
@@ -565,7 +564,7 @@ export const CustomDatePicker = (props) => {
|
|
565
564
|
const handleDatePickerOptionChange = (event) => {
|
566
565
|
const chosenDatePickerOption = new DatePickerOption(event.target.value, event.target.value);
|
567
566
|
if (CUSTOM_DATE_PICKER_OPTION.LATEST_DATE === chosenDatePickerOption.value) {
|
568
|
-
setValueSpecification(buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.LATESTDATE, event.target.value));
|
567
|
+
setValueSpecification(buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.LATESTDATE, event.target.value, observerContext));
|
569
568
|
}
|
570
569
|
else if (
|
571
570
|
// Elements in this list will trigger children date components
|
@@ -586,9 +585,9 @@ export const CustomDatePicker = (props) => {
|
|
586
585
|
const renderChildrenDateComponents = () => {
|
587
586
|
switch (datePickerOption.value) {
|
588
587
|
case CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_DATE:
|
589
|
-
return (_jsx(AbsoluteDateValueSpecificationEditor, { graph: graph, valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, setDatePickerOption: setDatePickerOption }));
|
588
|
+
return (_jsx(AbsoluteDateValueSpecificationEditor, { graph: graph, valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, setDatePickerOption: setDatePickerOption, observerContext: observerContext }));
|
590
589
|
case CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_TIME:
|
591
|
-
return (_jsx(AbsoluteTimeValueSpecificationEditor, { graph: graph, valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, setDatePickerOption: setDatePickerOption }));
|
590
|
+
return (_jsx(AbsoluteTimeValueSpecificationEditor, { graph: graph, valueSpecification: valueSpecification, setValueSpecification: setValueSpecification, setDatePickerOption: setDatePickerOption, observerContext: observerContext }));
|
592
591
|
case CUSTOM_DATE_PICKER_OPTION.CUSTOM_DATE:
|
593
592
|
return (_jsx(CustomDateInstanceValueEditor, { graph: graph, observerContext: observerContext, customDateOptionValue: buildCustomDateOption(valueSpecification), setValueSpecification: setValueSpecification, setDatePickerOption: setDatePickerOption }));
|
594
593
|
case CUSTOM_DATE_PICKER_OPTION.FIRST_DAY_OF:
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAE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