@finos/legend-query-builder 1.0.2 → 1.0.4
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 +4 -4
- 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 +8 -13
- package/lib/components/QueryBuilderResultPanel.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 +91 -41
- 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/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +1 -1
- package/lib/components/shared/LambdaEditor.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 +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +11 -10
- 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 +8 -5
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +25 -21
- 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 +16 -12
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js +4 -1
- package/lib/stores/QueryBuilderTextEditorState.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.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +21 -1
- 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/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 +18 -17
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +4 -2
- package/src/components/QueryBuilderParametersPanel.tsx +2 -2
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +6 -6
- package/src/components/QueryBuilderResultPanel.tsx +19 -15
- 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 +192 -48
- package/src/components/shared/CustomDatePicker.tsx +54 -26
- package/src/components/shared/LambdaEditor.tsx +0 -1
- 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 +35 -24
- package/src/stores/QueryBuilderStateBuilder.ts +20 -18
- package/src/stores/QueryBuilderTextEditorState.ts +4 -1
- 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 -1
- 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/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
package/lib/index.css.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/shared/_lambda-editor.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/shared/_value-spec-editor.scss","../style/_query-builder.scss","../style/_query-builder-setup.scss","../style/_query-builder-olap.scss","../style/_query-builder-explorer.scss","../style/_query-builder-filter.scss","../style/_query-builder-post-filter.scss","../style/_query-builder-projection.scss","../style/_query-builder-graph-fetch-tree.scss","../style/_query-builder-functions-explorer.scss","../style/_query-builder-property-search-panel.scss","../style/_query-builder-service-plugin.scss"],"names":[],"mappings":"AAgBQ,+CACA,uDCCR,eCYE,aACA,mBDVA,cACA,cACA,YACA,oBAKE,8FAEE,iDAGF,wDACE,aAIJ,8BACE,kBACA,YACA,WAIA,6DACE,gBAIF,uHAEE,yBAGF,iEACE,qBACA,uBAGF,qDC/BF,aACA,mBDiCI,yBAIJ,6BCtCA,aACA,mBDwCE,YACA,gBACA,8CACA,kBACA,iBACA,sCAGF,6CCvDA,aACA,mBACA,uBDwDE,YACA,cACA,oBACA,gBACA,iCACA,qCACA,6CACA,iBACA,eAGF,wDACE,eAGF,0DACE,mCACA,iCACA,+BAGF,mCC/EA,aACA,mBACA,uBDgFE,YACA,aACA,sCACA,mDACA,oDACA,kCACA,gBACA,eAGF,6CACE,iCACA,mBAGF,yBACE,wBAGF,sDACE,uBACA,oBAGF,4DACE,sCACA,wCAGF,uEACE,iCACA,mCACA,+BAGF,uBACE,aACA,iBACA,sCACA,YACA,oDAEA,2BACE,kCAKN,+BACE,WACA,iBACA,gCACA,gCACA,oBACA,eAEA,+CACE,oBACA,mBACA,cAGF,uDCxHA,aACA,8BD0HE,mDACA,cAGF,mEACE,eACA,iBACA,cACA,uCACA,mBACA,oBACA,gBACA,iCAMA,sCACE,WACA,YACA,qCAIJ,wCACE,mDAEA,uDACE,gCAGF,mECnLF,aACA,mBACA,uBDoLI,kBACA,gCACA,yBACA,cACA,oBACA,cACA,iBACA,iBAIJ,+BACE,uBACA,qCACA,iBAGE,8HAEE,gDE/MR,mBDYE,aACA,mBCVA,YACA,WAEA,uCACE,kCAGF,8BDJA,aACA,mBACA,uBA2BA,YACA,cCtBE,cACA,aACA,sCACA,0BAEA,kCACE,iBACA,kCAGF,wCACE,kCAIJ,kCACE,WAGF,uDACE,mBAGF,gCD/BA,aACA,mBACA,uBCgCE,WACA,cACA,sCACA,oBACA,iBAIA,yCD1CF,aACA,mBACA,uBC2CI,WACA,cACA,kCACA,sCACA,iBAGF,yCACE,gBAGF,+CACE,aACA,iDAEA,sDACE,cACA,8CACA,kBACA,iBAIJ,6CDpEF,aACA,mBACA,uBCqEI,aACA,iDAEA,oDACE,WAGF,0DACE,kCACA,mBAGF,gED7EJ,aACA,mBC+EM,cACA,WACA,8CACA,kCACA,sCACA,kBACA,UAGF,6DAEE,kCACA,YACA,gBACA,kBAGF,mEACE,WACA,cAKN,6BACE,iBAGF,6BACE,aACA,cACA,oBACA,SACA,kCACA,iCACA,WAEA,wCACE,eAGF,mCD/HF,aACA,mBACA,uBCgII,WACA,eACA,uCACA,8BAGF,oCDlIF,aACA,mBCoII,iBACA,8BACA,WAGF,mCDhIF,mBACA,uBACA,gBACA,sBACA,gBC+HI,eACA,iBACA,gBACA,WAGF,mCDzJF,aACA,mBACA,uBC0JI,YACA,YACA,WAGF,wCDjKF,aACA,mBACA,uBCkKI,YACA,WACA,mBAEA,4CACE,iBACA,kCAKN,0BACE,YACA,eACA,WACA,iBACA,gBACA,sCACA,8CACA,gBACA,gBAGF,iCDrLA,aACA,mBCuLE,WACA,cACA,YACA,8CAEA,qCACE,eACA,iCAGF,2CACE,eACA,iCAGF,oGAEE,mBACA,iCAKF,8CACE,eACA,4BAGF,oDACE,eACA,4BAGF,sHAEE,mBACA,iCAIJ,yCDtNA,mBACA,uBACA,gBACA,sBACA,gBCqNE,mBACA,0BACA,cACA,iBACA,oCACA,sCACA,mBACA,kCACA,eAGF,6CDpPA,aACA,mBACA,uBCqPE,cACA,aACA,iBAEA,iDACE,iBAIJ,+CDhQA,aACA,mBACA,uBCiQE,cACA,iBAEA,mDACE,iBAIJ,0CACE,YAEA,uDACE,kCACA,iBACA,gBAIJ,2CDrRA,aACA,mBACA,uBCsRE,cACA,aACA,iBACA,sCACA,8BAEA,+CACE,iBACA,kCAIJ,sIAEE,sCACA,kCAGF,mGAEE,cAGF,uRAIE,cAGF,wGAEE,cACA,WAEA,gHACE,cAIJ,0FAEE,cAEA,sGACE,cACA,mBAKN,+BACE,+BACA,iDACA,sBACA,gBAEA,sCACE,0BAGF,sCACE,4CACA,sBAGF,wCACE,cAGF,qCDxVA,aACA,mBC2VA,4CACE,iBACA,iBACA,eACA,iCAGF,4CACE,iBACA,iBACA,eACA,gBACA,kBAIJ,yBACE,aACA,WAEA,gCACE,YACA,WAGF,sCACE,cACA,wBACA,YAIA,uCD5XF,aACA,mBC8XI,iCACA,oBACA,iBACA,eAGF,6CDrYF,aACA,mBCuYI,sCACA,kCACA,kBACA,oBACA,eACA,gBACA,cACA,gBC3ZN,eACE,YACA,WAEA,qBACE,2BACA,WACA,aAGF,wBACE,YACA,WACA,aACA,sBACA,qCAGF,qBACE,2BACA,WACA,cAGF,2BFZA,aACA,mBEcE,cACA,sCACA,oDAGF,2CFpBA,aACA,mBEsBE,2BAGF,6CF1BA,aACA,mBE4BE,yBACA,OAGF,yCACE,kCACA,cACA,OAGF,0CF7CA,aACA,mBACA,uBE8CE,cACA,eACA,oBACA,mBACA,gBACA,8CAEA,iDACE,iBACA,iCAGF,gDACE,iBACA,iCAGF,8CACE,eAIJ,yCACE,gBACA,mBAGF,kDF3EA,aACA,mBACA,uBE4EE,sDACE,eACA,iBAIJ,sBACE,YACA,cAEA,8BACE,cACA,kBACA,mBACA,kCACA,iBACA,sCACA,8BACA,kDAGF,4CFnGF,aACA,mBACA,uBEoGI,cACA,cACA,sCAGF,sCACE,kCAGF,0CACE,kCAGF,gDACE,kCAGF,8GAEE,iCAGF,mDACE,4BAGF,yDACE,2BAGF,gIAEE,4BAGF,+BACE,2BACA,qCACA,8BACA,oDACA,uDAIJ,2BF5IA,aACA,mBAiBA,aACA,8BE6HE,cACA,iCACA,gCACA,uBAEA,iCACE,YACA,aACA,mBAGF,kCACE,YACA,aACA,mBAGF,mCFvKF,aACA,mBACA,uBEwKI,eACA,gBACA,YACA,WAEA,4CACE,kCAEA,qDACE,gCAMJ,0DACE,gCAGF,8CACE,iBAIJ,wCFlMF,aACA,mBACA,uBEmMI,gBACA,gCACA,eACA,gBAEA,kDACE,kCAGF,sDACE,0CACA,6BAGF,yBACE,KACE,wBAGF,GACE,yBAOV,2BACE,YACA,WAEA,mCF9NA,aACA,mBEgOE,yBACA,cACA,qCACA,gBAGF,oCACE,2BACA,kBAGF,oCF5OA,aACA,mBE8OE,kDACA,YACA,mBACA,yBACA,SAEA,yCF3PF,aACA,mBACA,uBE4PI,cACA,oBACA,iCAIJ,iCF9PA,aACA,mBEgQE,sCACA,kCACA,cACA,iBACA,mBACA,eAGF,2CACE,iCAIJ,4EACE,wCACA,iCAIA,wCFpRA,aACA,mBEsRE,YACA,cAGF,uCF3RA,aACA,mBE6RE,sCACA,kCACA,cACA,iBACA,mBACA,eAGF,iDACE,iCAKF,uCACE,WAGF,kCACE,iBACA,iCACA,kBACA,oCAGF,qCFvTA,aACA,mBEyTE,iBAEA,4CACE,iBACA,8BACA,kBACA,oCAGF,2CACE,8BACA,kBAIJ,8BFzUA,aACA,mBE2UE,YACA,cAEA,qCFrVF,aACA,mBACA,uBEsVI,sCACA,eACA,cACA,8BACA,iBACA,iBAGF,qCACE,cAEA,iDACE,8CAGF,+CACE,mBAKN,+BACE,qBACA,kBACA,YAGF,iCACE,YAIA,sDAGE,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAIJ,wCFlYA,aACA,mBEqYA,iCFtYA,aACA,mBEwYE,YACA,YACA,eAEA,wCF7YF,aACA,mBE+YI,cACA,YACA,aACA,oBACA,qBAGF,8CACE,iBACA,kCAGF,+CACE,kBACA,kCACA,iBACA,gBAGF,yLAEE,iCAIJ,oCFzaA,aACA,mBE2aE,YACA,YACA,eAEA,2CFhbF,aACA,mBEkbI,cACA,YACA,iCACA,aACA,8BAGF,iDACE,iBACA,kCAGF,kDACE,kBACA,kCACA,iBACA,gBAGF,kDF5cF,aACA,mBACA,uBE6cI,cACA,WACA,iCACA,8BACA,oDAEA,sDACE,kCAIJ,iQAGE,iCAGF,4CACE,YAGF,iHAEE,sCAGF,6QAGE,iCAIJ,4GAEE,sCACA,iCAGF,+CACE,iCAGF,yCFpfA,aACA,mBEsfE,eACA,cACA,8CACA,sCACA,kCAEA,gDFngBF,aACA,mBACA,uBA2BA,YACA,cEyeI,YACA,gBACA,iBACA,WAGF,kDF7gBF,aACA,mBACA,uBA2BA,YACA,cEmfI,YACA,aAEA,sDACE,iCAIJ,qDFzhBF,aACA,mBACA,uBE0hBI,WACA,YAMJ,2BACE,iBAGF,mCACE,iBAGF,mCACE,iBAGF,0CACE,iBAIJ,uCFpjBE,aACA,mBACA,uBEqjBA,gCACA,cACA,eACA,oBACA,gCACA,mBAEA,6CACE,mBAGF,6CF5jBA,aACA,mBE8jBE,YACA,eACA,gBAIJ,wBACE,+BACA,iDACA,sBACA,gBAEA,iBACA,cAEA,+BACE,0BAGF,+BACE,4CACA,sBAGF,iCACE,cAGF,8BACE,aACA,mBAGF,qCACE,iBACA,iBACA,eACA,iCAGF,qCACE,iBACA,iBACA,eACA,gBACA,kBAEA,gBACA,qBAKF,wCACE,gBAGF,wCACE,WACA,aAGF,wDFnoBA,aACA,mBACA,uBEooBE,YACA,WACA,kBACA,+CACA,iCACA,gBAIJ,yCFzoBE,aACA,mBE2oBA,WACA,YAEA,kDF/oBA,aACA,mBEipBE,WACA,cACA,oBACA,gCAEA,yDACE,mCAGF,+DACE,yCAGF,6DACE,iCAIJ,mDF1pBA,mBACA,uBACA,gBACA,sBACA,gBEypBE,eACA,iBACA,gBACA,WAGF,yDFnrBA,aACA,mBACA,uBEorBE,cACA,aACA,aAEA,6DACE,iBACA,kCAIJ,iDACE,aACA,iBACA,cACA,mBACA,gBACA,eACA,oCACA,kCACA,uCAEA,uDACE,iCAIJ,wDACE,gCACA,iCACA,WACA,eFptBF,aACA,mBACA,uBEstBE,4DACE,eACA,mBAGF,8DACE,gCAKN,yBACE,aACA,sBACA,WACA,YAEA,qDACE,eAGF,kCACE,4BAMA,yCACE,WACA,YACA,qCAIJ,wCACE,uBACA,iBAGE,gJAEE,gDAKN,2CACE,mDAEA,0DACE,gCAGF,sEF9wBF,aACA,mBACA,uBE+wBI,kBACA,gCACA,yBACA,cACA,oBACA,cACA,iBACA,iBAKN,8BACE,8CAEA,yCACE,YACA,aACA,sBAIA,4HAEE,gDAKN,gCF9yBE,aACA,mBACA,uBE+yBA,cAEA,0CACE,cACA,sBACA,WAKF,0CACE,cAEA,gDACE,4BAMJ,uCFr0BA,aACA,mBACA,uBEs0BE,sBAGF,0CACE,gBACA,mBAGF,oDACE,cACA,YCv1BF,sCACE,YAGF,+BACE,cACA,qDACA,gBACA,oBAGF,oCACE,WAEA,4CHHF,aACA,mBGKI,8BACA,cACA,kBACA,iCACA,kCAEA,mDACE,kCACA,eACA,gBAGF,8DHxBJ,aACA,mBACA,uBGyBM,YACA,WAEA,kEACE,kCAKN,6CACE,aACA,sBACA,WACA,wBACA,8CAGF,0CHtCF,aACA,mBGwCI,WAGF,iDHlDF,aACA,mBACA,uBGmDI,sCACA,mBAGF,oDACE,WACA,gBAGF,oFACE,iBAGF,uFACE,mCAGF,wFACE,cACA,gDAGF,4FACE,2CAIJ,0CH1EA,aACA,mBG4EE,sGACE,mCAGF,uDHvFF,aACA,mBACA,uBGwFI,eACA,WACA,iBACA,kCAIJ,mCACE,kBAGF,wEACE,iBAGF,8CHnGA,aACA,mBGqGE,kDACE,4BAGF,qDHhHF,aACA,mBACA,uBGiHI,kBACA,cACA,iBACA,gBACA,sCACA,gBACA,oBC9HJ,8BACE,gBAGF,6BJOA,aACA,mBILE,kCACA,gBAEA,mCACE,4CAIJ,2CACE,aACA,YACA,WAGF,yDACE,4CAGF,0CJpBA,aACA,mBACA,uBIqBE,sCACA,cACA,aACA,iBACA,kBAEA,8CACE,iCACA,iBAGF,qDJlCF,aACA,mBACA,uBImCI,cAIJ,mCJnCA,aACA,mBIqCE,4BACA,cACA,yBACA,gBAEA,0CACE,cACA,cACA,mBACA,sCACA,8CACA,kCAEA,gDACE,yCACA,aAKN,wCJ1DA,aACA,mBI4DE,gBACA,cAEA,kDJhEF,aACA,mBIkEI,cAGF,yDJ5EF,aACA,mBACA,uBI6EI,YACA,gBACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBAEA,8DACE,YAIJ,4DJvFF,aACA,mBIyFI,YAGF,yDJnGF,aACA,mBACA,uBIoGI,YACA,aACA,mCACA,kCAEA,6DACE,iBACA,iCAIJ,oEACE,iBACA,cACA,oCAGF,qEJvHF,aACA,mBACA,uBIwHI,YACA,aACA,sCACA,8BAEA,yEACE,iBACA,kCAKN,sCJzGA,YACA,cAxBA,aACA,mBImIE,YACA,aACA,mBAGF,qCJzIA,aACA,mBI2IE,mBACA,cACA,aAEA,mGAEE,kCAGF,+GAEE,kCAGF,uHAEE,iCAIJ,wEACE,aAGF,qCJpKA,aACA,mBIsKE,gBACA,cAEA,+CJ1KF,aACA,mBI4KI,cAGF,sDJtLF,aACA,mBACA,uBIuLI,YACA,eACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBACA,WAGF,yDJ9LF,aACA,mBIgMI,YAGF,iEACE,iBACA,cACA,oCAGF,kEJhNF,aACA,mBACA,uBIiNI,YACA,aACA,sCACA,8BAEA,sEACE,iBACA,kCAIJ,sDJ9NF,aACA,mBACA,uBI+NI,YACA,aACA,sCACA,kCAEA,0DACE,iBAIJ,iEACE,gBACA,mCAEA,qEACE,iCAIJ,2CACE,aACA,mBACA,uBACA,YACA,eACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBACA,YAIJ,qCJ9PA,aACA,mBIgQE,cAEA,8CACE,aACA,cACA,sCACA,oBAEA,qDACE,aACA,aACA,uBACA,kCACA,iBACA,cACA,mBAIJ,8CACE,aACA,gBAGF,sDJ/RF,aACA,mBACA,uBIgSI,YACA,aACA,iCACA,kCACA,8BAEA,0DACE,iBACA,gCAKN,kCJzSA,aACA,mBI2SE,YACA,cAEA,wCJ/SF,aACA,mBIiTI,WACA,YAEA,iDJrTJ,aACA,mBIuTM,WACA,cACA,sCACA,gCAGF,kDJpTJ,mBACA,uBACA,gBACA,sBACA,gBImTM,eACA,iBACA,gBACA,WACA,kBAGF,8CACE,YACA,aACA,aACA,mBACA,uBACA,iBACA,8BAEA,2DACE,yCAGF,yDACE,iCAKN,2CACE,aACA,WACA,eAGF,4CACE,gBACA,WAGF,8CJ5WF,aACA,mBACA,uBI6WI,gBACA,cACA,kCACA,sCACA,oBACA,kBACA,eAIJ,4BACE,gBAEA,kCACE,cACA,aACA,sBCpYJ,4CAEE,YAKA,4JACE,kCAIJ,kCACE,gBACA,gBAGF,sCACE,UAGF,6CACE,WACA,YACA,eAGF,0DLtBA,aACA,mBACA,uBKuBE,kCACA,oCACA,eAGF,mDL9BA,aACA,mBACA,uBK+BE,aAEA,0DACE,WACA,kCACA,oCAMJ,yCACE,kDAGF,mCACE,gBACA,gBAGF,uCACE,cACA,wBACA,YAGF,iCACE,YACA,WAIA,iDACE,YACA,WAKF,wCLlEF,aACA,mBKoEI,iCACA,oBACA,iBACA,eAIJ,gCL5EA,aACA,mBK8EE,kCACA,eAGF,oCLzFA,aACA,mBACA,uBK0FE,WACA,cACA,eAEA,6CACE,aACA,YACA,oBAGF,4CLtGF,aACA,mBACA,uBKuGI,YACA,WAEA,gDACE,iBACA,kCAGF,sDACE,kCAGF,0DACE,iCAIJ,6CLpHF,aACA,mBKsHI,YACA,0BAGF,0CLjIF,aACA,mBACA,uBKkII,WACA,eACA,kBACA,oBACA,cACA,4BAGF,yCACE,aACA,uBACA,aACA,iBAGF,2CLnIF,mBACA,uBACA,gBACA,sBACA,gBKkII,aACA,kCACA,cACA,mBAGF,0CLtJF,aACA,mBKwJI,iDLzJJ,aACA,mBK2JM,sCACA,kCACA,kBACA,oBACA,eACA,gBACA,cACA,gBAIJ,0CACE,YACA,WAEA,iDACE,cACA,cACA,mBACA,sCACA,8CACA,kCAKN,0CACE,4CAKF,iCACE,4BACA,gBACA,mBACA,eACA,gBACA,uBACA,0BACA,6BACA,8BAKF,mCACE,gBAGF,yCACE,WACA,eAGF,kFLzNA,aACA,mBACA,uBK2NE,aACA,iBACA,cAGF,8CACE,eACA,kCAGF,oDACE,4CAIA,mGACE,kCAIJ,0EACE,4CAGF,wDACE,uCAGF,0CLzOA,mBACA,uBACA,gBACA,sBACA,gBKwOE,YACA,iBACA,YACA,kCACA,iBAGF,0DACE,oBAGF,sDACE,mCAGF,uDACE,wBAGF,wDACE,wBAGF,4DACE,oBACA,gBACA,iBACA,oCACA,kCACA,YACA,iBACA,kBAGF,oDACE,oBACA,gBACA,iBACA,oCACA,YACA,iBACA,kBACA,8BACA,wBAGF,4CACE,aACA,YACA,oBAGF,2CLhTA,aACA,mBACA,uBKiTE,YACA,WAEA,+CACE,iBACA,uCAGF,qDACE,kCAGF,yDACE,iCAIJ,mCACE,6BAEA,gIAGE,iBAIJ,qpBAME,iCAGF,2UAGE,4BAGF,yCACE,YCnWF,iCACE,gBAGF,wCNOA,aACA,mBMLE,2BACA,kCACA,aACA,iBACA,mBAGF,4CACE,eAGF,4CACE,cAGF,kDACE,4CAGF,kHAEE,iCAGF,wEACE,4CAGF,4DACE,oCAGF,0CN5BA,aACA,mBM8BE,YACA,0BAGF,0CNnCA,aACA,mBMqCE,YACA,aAGF,yCNhDA,aACA,mBACA,uBMiDE,YACA,aAEA,6CACE,kCAGF,mDACE,kCAIJ,wCACE,WACA,cACA,mBACA,aACA,YACA,mBACA,cACA,kCACA,iBAGF,oDACE,0BAGF,iDNzEA,aACA,mBM2EE,WACA,YAGF,uCNhFA,aACA,mBMkFE,cACA,oBAEA,8CNtFF,aACA,mBMwFI,aACA,iBACA,gBACA,iBACA,kBACA,yBACA,iCAGF,+CNxGF,aACA,mBACA,uBMyGI,YACA,eACA,WACA,uCACA,gBAEA,mDACE,eACA,kCAGF,yDACE,iCAIJ,4CACE,sCAGF,2CACE,oCAIJ,uCNpIA,aACA,mBACA,uBMqIE,eACA,WACA,+CACA,iBACA,gBACA,iCACA,cAGF,yRAGE,+CACA,iCAGF,2CNjJA,aACA,mBMmJE,WACA,YAEA,qDNvJF,aACA,mBMyJI,uBACA,cAGF,qDN9JF,aACA,mBMgKI,eAGF,4DACE,gBACA,gBACA,sCACA,cACA,kCACA,8BACA,iBACA,mBACA,mBAGF,wENtLF,aACA,mBACA,uBMuLI,gBACA,gBACA,sCACA,cACA,8BAEA,4EACE,kCACA,iBAIJ,uEACE,iBACA,cACA,oCAGF,kDN3MF,aACA,mBACA,uBM4MI,YACA,cACA,oBACA,iBACA,gBCvNJ,sCACE,gBAGF,6CPOA,aACA,mBOLE,2BACA,kCACA,aACA,iBACA,mBAGF,iDACE,eAGF,iDACE,cAGF,uDACE,4CAGF,4HAEE,iCAGF,6EACE,4CAGF,iEACE,oCAGF,+CP5BA,aACA,mBO8BE,YACA,0BAGF,+CPnCA,aACA,mBOqCE,YACA,aAGF,8CPhDA,aACA,mBACA,uBOiDE,YACA,aAEA,kDACE,kCAGF,wDACE,kCAIJ,6CACE,WACA,cACA,mBACA,aACA,YACA,mBACA,cACA,kCACA,iBAGF,yDACE,0BAGF,sDPzEA,aACA,mBO2EE,WACA,YAGF,4CPhFA,aACA,mBOkFE,cACA,oBAEA,mDPtFF,aACA,mBOwFI,aACA,iBACA,gBACA,iBACA,kBACA,yBACA,iCAGF,oDPxGF,aACA,mBACA,uBOyGI,YACA,eACA,WACA,uCACA,gBAEA,wDACE,eACA,kCAGF,8DACE,iCAIJ,iDACE,sCAGF,gDACE,oCAIJ,4CPpIA,aACA,mBACA,uBOqIE,eACA,WACA,+CACA,iBACA,gBACA,iCACA,cAGF,uTAGE,+CACA,iCAGF,gDPjJA,aACA,mBOmJE,WACA,YAEA,0DPvJF,aACA,mBOyJI,uBACA,cAGF,0DP9JF,aACA,mBOgKI,eAGF,iEACE,gBACA,gBACA,sCACA,cACA,kCACA,8BACA,iBACA,mBACA,mBAGF,6EPtLF,aACA,mBACA,uBOuLI,gBACA,gBACA,sCACA,cACA,8BAEA,iFACE,kCACA,iBAIJ,4EACE,iBACA,cACA,oCAGF,uDP3MF,aACA,mBACA,uBO4MI,YACA,cACA,oBACA,iBACA,gBAKN,4BPjNE,aACA,mBOmNA,WACA,YAEA,qCPvNA,aACA,mBOyNE,WACA,cACA,oBACA,sCAGF,kCACE,kCAGF,kCACE,cACA,aACA,aACA,mBACA,uBACA,iBACA,8BAEA,yCACE,mCAGF,+CACE,yCAGF,6CACE,iCAIJ,sCPhPA,mBACA,uBACA,gBACA,sBACA,gBO+OE,eACA,iBACA,gBACA,WAGF,4CPzQA,aACA,mBACA,uBO0QE,cACA,aACA,aAEA,gDACE,iBACA,kCAIJ,oCACE,aACA,iBACA,cACA,mBACA,gBACA,eACA,oCACA,kCACA,uCAEA,0CACE,iCAIJ,2CACE,gCACA,iCACA,WACA,eP1SF,aACA,mBACA,uBO4SE,+CACE,eACA,mBAGF,iDACE,gCCzTJ,oCRWA,aACA,mBQTE,yBACA,cACA,eACA,iBACA,qDAGF,oCACE,2BACA,WAGF,oCACE,gBAGF,mCRRA,aACA,mBQUE,kCACA,gBAEA,yCACE,4CAIJ,iDACE,aACA,YACA,WAGF,+DACE,4CAGF,gDRnCA,aACA,mBACA,uBQoCE,sCACA,cACA,aACA,iBACA,kBAEA,oDACE,iCACA,iBAGF,2DRjDF,aACA,mBACA,uBQkDI,cAIJ,+CACE,YACA,WACA,cAEA,8EACE,gCAIJ,yCR5DA,aACA,mBQ8DE,kBACA,cAEA,gDACE,cACA,YACA,cACA,mBACA,sCACA,8CACA,kCAEA,sDACE,yCACA,aAIJ,mDRjFF,aACA,mBQmFI,eACA,2BACA,cAIJ,0CR1FA,aACA,mBQ4FE,YACA,WAGF,oDRjGA,aACA,mBQmGE,cACA,WACA,eAGF,8CRzGA,aACA,mBQ2GE,cAEA,wDR9GF,aACA,mBQgHI,cAGF,+DR1HF,aACA,mBACA,uBQ2HI,YACA,eACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBAGF,kERjIF,aACA,mBQmII,YAGF,0EACE,iBACA,cACA,oCAGF,2ERnJF,aACA,mBACA,uBQoJI,YACA,aACA,sCACA,8BAEA,+EACE,iBACA,kCAIJ,+DRjKF,aACA,mBACA,uBQkKI,YACA,aACA,sCACA,kCACA,8BAEA,mEACE,iBAIJ,0EACE,gBACA,mCAEA,8EACE,iCAKN,4CRnLA,aACA,mBQqLE,YACA,aAGF,2CRhMA,aACA,mBACA,uBQiME,cACA,aAEA,+GAEE,kCAGF,2HAEE,kCAGF,mIAEE,iCAIJ,oFACE,aAGF,wCACE,cAGF,oCACE,aACA,WAEA,qFACE,iBAGF,0CACE,aACA,WACA,mBAEA,oDACE,gBACA,WACA,mBAGF,oDACE,kCAGF,kDRrPJ,aACA,mBACA,uBQsPM,cACA,iBACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBACA,WAGF,uDRnQJ,aACA,mBACA,uBQoQM,cACA,eACA,iBACA,gBACA,kCACA,8BACA,mBACA,WACA,iCAEA,2DACE,iBAIJ,sDRrRJ,aACA,mBACA,uBQsRM,gBACA,cACA,kCACA,sCACA,oBACA,kBACA,eCpSR,gCACE,YACA,WACA,aACA,sBAEA,yCTMA,aACA,mBSJE,yBACA,cACA,eACA,iBACA,qDAEA,oDTTF,aACA,mBACA,uBSUI,WAEA,wDACE,iCAKN,2CACE,2BACA,WACA,gBAGF,iDACE,aACA,WACA,cAEA,uDACE,4CAIJ,+CT9BA,aACA,mBSgCE,YACA,0BAGF,+CTrCA,aACA,mBSuCE,YACA,oBAGF,8CTlDA,aACA,mBACA,uBSmDE,aACA,cAEA,kDACE,kCAIA,wDACE,kCAKN,4CACE,aACA,iBAGF,wFT7DA,aACA,uBSgEE,aACA,iBAGF,iDACE,kCACA,iBAGF,6CACE,aACA,kCAGF,4FTpFA,aACA,mBSwFA,0GTzFA,aACA,mBS4FE,kBACA,oBACA,eACA,gBACA,cACA,gBAGF,mDACE,sCACA,kCAGF,uDACE,uCACA,iCACA,wCACA,oBCzHF,+CACE,gBAGF,qDACE,WACA,eAGF,0GVJA,aACA,mBACA,uBUME,aACA,iBACA,cAGF,gEACE,4CAGF,mEVDA,mBACA,uBACA,gBACA,sBACA,4BUCE,iBACA,YACA,kCACA,iBACA,wBAGF,wDACE,aACA,YACA,oBAGF,uDVlCA,aACA,mBACA,uBUmCE,YACA,WAEA,2DACE,iBACA,kCAGF,iEACE,kCAGF,qEACE,iCAIJ,qDACE,YAKF,4CACE,gBAIA,oDACE,eAIJ,8CACE,aACA,WACA,sCACA,eAGF,6CV7EA,aACA,mBACA,uBU8EE,WACA,cACA,eAEA,sDACE,aACA,YACA,oBAGF,qDV1FF,aACA,mBACA,uBU2FI,YACA,WAEA,yDACE,iBACA,kCAGF,+DACE,kCAGF,mEACE,iCAIJ,yDACE,YAGF,sDV5GF,aACA,mBASA,mBACA,uBACA,gBACA,sBACA,gBUkGI,YACA,WAGF,mDV1HF,aACA,mBACA,uBU2HI,WACA,eACA,kBACA,oBACA,cACA,4BAGF,kDACE,aACA,uBACA,aACA,iBAGF,oDV5HF,mBACA,uBACA,gBACA,sBACA,gBU2HI,YACA,iBACA,YACA,kCACA,iBAIJ,mDACE,4CC9JJ,qCACE,YACA,WAIA,mBAEA,gDAKE,oBAEA,sDACE,gBAGF,wDACE,kBAIJ,4DACE,4CAEA,gEACE,kCAIJ,8CACE,2BACA,gBAGF,sDXzBA,aACA,mBW2BE,eAGF,iDACE,WACA,eAGF,gDX1CA,aACA,mBACA,uBW2CE,aACA,iBACA,cAGF,kDXlCA,mBACA,uBACA,gBACA,sBACA,gBWiCE,YACA,iBACA,YACA,kCACA,iBAGF,+DACE,wBAGF,4DACE,oBACA,gBACA,iBACA,oCACA,YACA,iBACA,kBACA,8BACA,wBAGF,oDACE,aACA,YACA,oBAGF,mDXlFA,aACA,mBACA,uBWmFE,YACA,WAEA,uDACE,iBACA,uCAGF,6DACE,kCAGF,iEACE,iCAIJ,iDACE,YAGF,6CX1GA,aACA,mBACA,uBW2GE,cACA,qDACA,cACA,kBAGF,gDACE,cACA,aACA,kBAGF,4CACE,iBACA,cACA,qBACA,kBACA,WACA,qCACA,oBACA,8CAEA,uDXnIF,aACA,mBACA,uBWoII,kBACA,cACA,WAGF,uDACE,mBAGF,2DX/IF,aACA,mBACA,uBWgJI,kBACA,aACA,oBACA,cACA,gBACA,iBACA,gBACA,mCACA,iCACA,iBACA,eAGF,0DX/JF,aACA,mBACA,uBWgKI,kBACA,YACA,cACA,aAEA,8DACE,mCAIJ,qEX5KF,aACA,mBACA,uBW6KI,kBACA,aACA,cACA,aACA,eAEA,yEACE,iCAGF,iKAEE,iCAGF,wKAEE,4BAIJ,uDXpMF,aACA,mBACA,uBWqMI,kBACA,YACA,cACA,aAEA,2DACE,iCAGF,iEACE,iCAMJ,oDACE,eACA,oBAGF,mEXtNF,aACA,mBWwNI,gBACA,iCACA,oBACA,iBACA,eAGF,6DXhOF,aACA,mBWkOI,eAGF,kEACE,sBACA,kBAEA,sEACE,eACA,iCAGF,4EACE,eACA,iCAGF,sKAEE,mBACA,iCAKF,+EACE,eACA,4BAGF,qFACE,eACA,4BAGF,wLAEE,mBACA,iCAIJ,qEACE,sBACA,kBACA,kCACA,iBACA,eAIJ,2FAEE,YACA,aACA,gBAGF,yDACE,eACA,iBAEA,+DACE,iCACA,gBAGF,sEACE,iCACA,gBCnTJ,2DACE,cAGF,iEACE,2BAIA,mFACE,eAGF,yFACE,4BAIJ,8CACE,2BAGF,wDACE,2BAIJ,6BZNE,mBACA,uBACA,gBACA,sBACA,gBYKA,oBAEA,mCACE,iBACA,iCACA,kBACA,mBAGF,sCACE,iCACA,kBACA,mBACA,mCACA,oBACA,gBACA,eACA,gBACA,oCAGF,kCACE,iBACA,2BACA,kBACA","file":"index.css"}
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/shared/_lambda-editor.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/shared/_value-spec-editor.scss","../style/_query-builder.scss","../style/_query-builder-setup.scss","../style/_query-builder-olap.scss","../style/_query-builder-explorer.scss","../style/_query-builder-filter.scss","../style/_query-builder-post-filter.scss","../style/_query-builder-projection.scss","../style/_query-builder-graph-fetch-tree.scss","../style/_query-builder-functions-explorer.scss","../style/_query-builder-property-search-panel.scss","../style/_query-builder-service-plugin.scss"],"names":[],"mappings":"AAgBQ,+CACA,uDCCR,eCYE,aACA,mBDVA,cACA,cACA,YACA,oBAKE,8FAEE,iDAGF,wDACE,aAIJ,8BACE,kBACA,YACA,WAIA,6DACE,gBAIF,uHAEE,yBAGF,iEACE,qBACA,uBAGF,qDC/BF,aACA,mBDiCI,yBAIJ,6BCtCA,aACA,mBDwCE,YACA,gBACA,8CACA,kBACA,iBACA,sCAGF,6CCvDA,aACA,mBACA,uBDwDE,YACA,cACA,oBACA,gBACA,iCACA,qCACA,6CACA,iBACA,eAGF,wDACE,eAGF,0DACE,mCACA,iCACA,+BAGF,mCC/EA,aACA,mBACA,uBDgFE,YACA,aACA,sCACA,mDACA,oDACA,kCACA,gBACA,eAGF,6CACE,iCACA,mBAGF,yBACE,wBAGF,sDACE,uBACA,oBAGF,4DACE,sCACA,wCAGF,uEACE,iCACA,mCACA,+BAGF,uBACE,aACA,iBACA,sCACA,YACA,oDAEA,2BACE,kCAKN,+BACE,WACA,iBACA,gCACA,gCACA,oBACA,eAEA,+CACE,oBACA,mBACA,cAGF,uDCxHA,aACA,8BD0HE,mDACA,cAGF,mEACE,eACA,iBACA,cACA,uCACA,mBACA,oBACA,gBACA,iCAMA,sCACE,WACA,YACA,qCAIJ,wCACE,mDAEA,uDACE,gCAGF,mECnLF,aACA,mBACA,uBDoLI,kBACA,gCACA,yBACA,cACA,oBACA,cACA,iBACA,iBAIJ,+BACE,uBACA,qCACA,iBAGE,8HAEE,gDE/MR,mBDYE,aACA,mBCVA,YACA,WAEA,uCACE,kCAGF,8BDJA,aACA,mBACA,uBA2BA,YACA,cCtBE,cACA,aACA,sCACA,0BAEA,kCACE,iBACA,kCAGF,wCACE,kCAIJ,kCACE,WAGF,uDACE,mBAGF,gCD/BA,aACA,mBACA,uBCgCE,WACA,cACA,sCACA,oBACA,iBAIA,yCD1CF,aACA,mBACA,uBC2CI,WACA,cACA,kCACA,sCACA,iBAGF,yCACE,gBAGF,+CACE,aACA,iDAEA,sDACE,cACA,8CACA,kBACA,iBAIJ,6CDpEF,aACA,mBACA,uBCqEI,aACA,iDAEA,oDACE,WAGF,0DACE,kCACA,mBAGF,gED7EJ,aACA,mBC+EM,cACA,WACA,8CACA,kCACA,sCACA,kBACA,UAGF,6DAEE,kCACA,YACA,gBACA,kBAGF,mEACE,WACA,cAKN,6BACE,iBAGF,6BACE,aACA,cACA,oBACA,SACA,kCACA,iCACA,WAEA,wCACE,eAGF,mCD/HF,aACA,mBACA,uBCgII,WACA,eACA,uCACA,8BAGF,oCDlIF,aACA,mBCoII,iBACA,8BACA,WAGF,mCDhIF,mBACA,uBACA,gBACA,sBACA,gBC+HI,eACA,iBACA,gBACA,WAGF,mCDzJF,aACA,mBACA,uBC0JI,YACA,YACA,WAGF,wCDjKF,aACA,mBACA,uBCkKI,YACA,WACA,mBAEA,4CACE,iBACA,kCAKN,0BACE,YACA,eACA,WACA,iBACA,gBACA,sCACA,8CACA,gBACA,gBAIA,4CACE,aACA,WACA,cACA,kBAGF,kCACE,qBAGF,oCACE,kBACA,QAGF,mCD5MF,aACA,mBACA,uBA2BA,YACA,cCkLI,cACA,aAEA,uCACE,iBACA,kCAGF,6CACE,kCAKN,iCDxNA,aACA,mBC0NE,WACA,cACA,YACA,8CAEA,qCACE,eACA,iCAGF,2CACE,eACA,iCAGF,oGAEE,mBACA,iCAKF,8CACE,eACA,4BAGF,oDACE,eACA,4BAGF,sHAEE,mBACA,iCAIJ,yCDzPA,mBACA,uBACA,gBACA,sBACA,gBCwPE,mBACA,0BACA,cACA,iBACA,oCACA,sCACA,mBACA,kCACA,eAGF,6CDvRA,aACA,mBACA,uBCwRE,cACA,aACA,iBAEA,iDACE,iBAIJ,+CDnSA,aACA,mBACA,uBCoSE,cACA,iBAEA,mDACE,iBAIJ,0CACE,YAEA,uDACE,kCACA,iBACA,gBAIJ,2CDxTA,aACA,mBACA,uBCyTE,cACA,aACA,iBACA,sCACA,8BAEA,+CACE,iBACA,kCAIJ,sIAEE,sCACA,kCAGF,mGAEE,cAGF,uRAIE,cAGF,wGAEE,cACA,WAEA,gHACE,cAIJ,0FAEE,cAEA,sGACE,cACA,mBAKN,+BACE,+BACA,iDACA,sBACA,gBAEA,sCACE,0BAGF,sCACE,4CACA,sBAGF,wCACE,cAGF,qCD3XA,aACA,mBC8XA,4CACE,iBACA,iBACA,eACA,iCAGF,4CACE,iBACA,iBACA,eACA,gBACA,kBAIJ,yBACE,aACA,WAEA,gCACE,YACA,WAGF,sCACE,cACA,wBACA,YAIA,uCD/ZF,aACA,mBCiaI,iCACA,oBACA,iBACA,eAGF,6CDxaF,aACA,mBC0aI,sCACA,kCACA,kBACA,oBACA,eACA,gBACA,cACA,gBC9bN,eACE,YACA,WAEA,qBACE,2BACA,WACA,aAGF,wBACE,YACA,WACA,aACA,sBACA,qCAGF,qBACE,2BACA,WACA,cAGF,2BFZA,aACA,mBEcE,cACA,sCACA,oDAGF,2CFpBA,aACA,mBEsBE,2BAGF,6CF1BA,aACA,mBE4BE,yBACA,OAGF,yCACE,kCACA,cACA,OAGF,0CF7CA,aACA,mBACA,uBE8CE,cACA,eACA,oBACA,mBACA,gBACA,8CAEA,iDACE,iBACA,iCAGF,gDACE,iBACA,iCAGF,8CACE,eAIJ,yCACE,gBACA,mBAGF,kDF3EA,aACA,mBACA,uBE4EE,sDACE,eACA,iBAIJ,sBACE,YACA,cAEA,8BACE,cACA,kBACA,mBACA,kCACA,iBACA,sCACA,8BACA,kDAGF,4CFnGF,aACA,mBACA,uBEoGI,cACA,cACA,sCAGF,sCACE,kCAGF,0CACE,kCAGF,gDACE,kCAGF,8GAEE,iCAGF,mDACE,4BAGF,yDACE,2BAGF,gIAEE,4BAGF,+BACE,2BACA,qCACA,8BACA,oDACA,uDAIJ,2BF5IA,aACA,mBAiBA,aACA,8BE6HE,cACA,iCACA,gCACA,uBAEA,iCACE,YACA,aACA,mBAGF,kCACE,YACA,aACA,mBAGF,mCFvKF,aACA,mBACA,uBEwKI,eACA,gBACA,YACA,WAEA,4CACE,kCAEA,qDACE,gCAMJ,0DACE,gCAGF,8CACE,iBAIJ,wCFlMF,aACA,mBACA,uBEmMI,gBACA,gCACA,eACA,gBAEA,kDACE,kCAGF,sDACE,0CACA,6BAGF,yBACE,KACE,wBAGF,GACE,yBAOV,2BACE,YACA,WAEA,mCF9NA,aACA,mBEgOE,yBACA,cACA,qCACA,gBAGF,oCACE,2BACA,kBAGF,oCF5OA,aACA,mBE8OE,kDACA,YACA,mBACA,yBACA,SAEA,yCF3PF,aACA,mBACA,uBE4PI,cACA,oBACA,iCAIJ,iCF9PA,aACA,mBEgQE,sCACA,kCACA,cACA,iBACA,mBACA,eAGF,2CACE,iCAIJ,4EACE,wCACA,iCAIA,wCFpRA,aACA,mBEsRE,YACA,cAGF,uCF3RA,aACA,mBE6RE,sCACA,kCACA,cACA,iBACA,mBACA,eAGF,iDACE,iCAKF,uCACE,WAGF,kCACE,iBACA,iCACA,kBACA,oCAGF,qCFvTA,aACA,mBEyTE,iBAEA,4CACE,iBACA,8BACA,kBACA,oCAGF,2CACE,8BACA,kBAIJ,8BFzUA,aACA,mBE2UE,YACA,cAEA,qCFrVF,aACA,mBACA,uBEsVI,sCACA,eACA,cACA,8BACA,iBACA,iBAGF,qCACE,cAEA,iDACE,8CAGF,+CACE,mBAKN,+BACE,qBACA,kBACA,YAGF,iCACE,YAIA,sDAGE,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAIJ,wCFlYA,aACA,mBEqYA,iCFtYA,aACA,mBEwYE,YACA,YACA,eAEA,wCF7YF,aACA,mBE+YI,cACA,YACA,aACA,oBACA,qBAGF,8CACE,iBACA,kCAGF,+CACE,kBACA,kCACA,iBACA,gBAGF,yLAEE,iCAIJ,oCFzaA,aACA,mBE2aE,YACA,YACA,eAEA,2CFhbF,aACA,mBEkbI,cACA,YACA,iCACA,aACA,8BAGF,iDACE,iBACA,kCAGF,kDACE,kBACA,kCACA,iBACA,gBAGF,kDF5cF,aACA,mBACA,uBE6cI,cACA,WACA,iCACA,8BACA,oDAEA,sDACE,kCAIJ,iQAGE,iCAGF,4CACE,YAGF,iHAEE,sCAGF,6QAGE,iCAIJ,4GAEE,sCACA,iCAGF,+CACE,iCAGF,yCFpfA,aACA,mBEsfE,eACA,cACA,8CACA,sCACA,kCAEA,gDFngBF,aACA,mBACA,uBA2BA,YACA,cEyeI,YACA,gBACA,iBACA,WAGF,kDF7gBF,aACA,mBACA,uBA2BA,YACA,cEmfI,YACA,aAEA,sDACE,iCAIJ,qDFzhBF,aACA,mBACA,uBE0hBI,WACA,YAMJ,2BACE,iBAGF,mCACE,iBAGF,mCACE,iBAGF,0CACE,iBAIJ,uCFpjBE,aACA,mBACA,uBEqjBA,gCACA,cACA,eACA,oBACA,gCACA,mBAEA,6CACE,mBAGF,6CF5jBA,aACA,mBE8jBE,YACA,eACA,gBAIJ,wBACE,+BACA,iDACA,sBACA,gBAEA,iBACA,cAEA,+BACE,0BAGF,+BACE,4CACA,sBAGF,iCACE,cAGF,8BACE,aACA,mBAGF,qCACE,iBACA,iBACA,eACA,iCAGF,qCACE,iBACA,iBACA,eACA,gBACA,kBAEA,gBACA,qBAKF,wCACE,gBAGF,wCACE,WACA,aAGF,wDFnoBA,aACA,mBACA,uBEooBE,YACA,WACA,kBACA,+CACA,iCACA,gBAIJ,yCFzoBE,aACA,mBE2oBA,WACA,YAEA,kDF/oBA,aACA,mBEipBE,WACA,cACA,oBACA,gCAEA,yDACE,mCAGF,+DACE,yCAGF,6DACE,iCAIJ,mDF1pBA,mBACA,uBACA,gBACA,sBACA,gBEypBE,eACA,iBACA,gBACA,WAGF,yDFnrBA,aACA,mBACA,uBEorBE,cACA,aACA,aAEA,6DACE,iBACA,kCAIJ,iDACE,aACA,iBACA,cACA,mBACA,gBACA,eACA,oCACA,kCACA,uCAEA,uDACE,iCAIJ,wDACE,gCACA,iCACA,WACA,eFptBF,aACA,mBACA,uBEstBE,4DACE,eACA,mBAGF,8DACE,gCAKN,yBACE,aACA,sBACA,WACA,YAEA,qDACE,eAGF,kCACE,4BAMA,yCACE,WACA,YACA,qCAIJ,wCACE,uBACA,iBAGE,gJAEE,gDAKN,2CACE,mDAEA,0DACE,gCAGF,sEF9wBF,aACA,mBACA,uBE+wBI,kBACA,gCACA,yBACA,cACA,oBACA,cACA,iBACA,iBAKN,8BACE,8CAEA,yCACE,YACA,aACA,sBAIA,4HAEE,gDAKN,gCF9yBE,aACA,mBACA,uBE+yBA,cAEA,0CACE,cACA,sBACA,WAKF,0CACE,cAEA,gDACE,4BAMJ,uCFr0BA,aACA,mBACA,uBEs0BE,sBAGF,0CACE,gBACA,mBAGF,oDACE,cACA,YCv1BF,sCACE,YAGF,+BACE,cACA,qDACA,gBACA,oBAGF,oCACE,WAEA,4CHHF,aACA,mBGKI,8BACA,cACA,kBACA,iCACA,kCAEA,mDACE,kCACA,eACA,gBAGF,8DHxBJ,aACA,mBACA,uBGyBM,YACA,WAEA,kEACE,kCAKN,6CACE,aACA,sBACA,WACA,wBACA,8CAGF,0CHtCF,aACA,mBGwCI,WAGF,iDHlDF,aACA,mBACA,uBGmDI,sCACA,mBAGF,oDACE,WACA,gBAGF,oFACE,iBAGF,uFACE,mCAGF,wFACE,cACA,gDAGF,4FACE,2CAIJ,0CH1EA,aACA,mBG4EE,sGACE,mCAGF,uDHvFF,aACA,mBACA,uBGwFI,eACA,WACA,iBACA,kCAIJ,mCACE,kBAGF,wEACE,iBAGF,8CHnGA,aACA,mBGqGE,kDACE,4BAGF,qDHhHF,aACA,mBACA,uBGiHI,kBACA,cACA,iBACA,gBACA,sCACA,gBACA,oBC9HJ,8BACE,gBAGF,6BJOA,aACA,mBILE,kCACA,gBAEA,mCACE,4CAIJ,2CACE,aACA,YACA,WAGF,yDACE,4CAGF,0CJpBA,aACA,mBACA,uBIqBE,sCACA,cACA,aACA,iBACA,kBAEA,8CACE,iCACA,iBAGF,qDJlCF,aACA,mBACA,uBImCI,cAIJ,mCJnCA,aACA,mBIqCE,4BACA,cACA,yBACA,gBAEA,0CACE,cACA,cACA,mBACA,sCACA,8CACA,kCAEA,gDACE,yCACA,aAKN,wCJ1DA,aACA,mBI4DE,gBACA,cAEA,kDJhEF,aACA,mBIkEI,cAGF,yDJ5EF,aACA,mBACA,uBI6EI,YACA,gBACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBAEA,8DACE,YAIJ,4DJvFF,aACA,mBIyFI,YAGF,yDJnGF,aACA,mBACA,uBIoGI,YACA,aACA,mCACA,kCAEA,6DACE,iBACA,iCAIJ,oEACE,iBACA,cACA,oCAGF,qEJvHF,aACA,mBACA,uBIwHI,YACA,aACA,sCACA,8BAEA,yEACE,iBACA,kCAKN,sCJzGA,YACA,cAxBA,aACA,mBImIE,YACA,aACA,mBAGF,qCJzIA,aACA,mBI2IE,mBACA,cACA,aAEA,mGAEE,kCAGF,+GAEE,kCAGF,uHAEE,iCAIJ,wEACE,aAGF,qCJpKA,aACA,mBIsKE,gBACA,cAEA,+CJ1KF,aACA,mBI4KI,cAGF,sDJtLF,aACA,mBACA,uBIuLI,YACA,eACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBACA,WAGF,yDJ9LF,aACA,mBIgMI,YAGF,iEACE,iBACA,cACA,oCAGF,kEJhNF,aACA,mBACA,uBIiNI,YACA,aACA,sCACA,8BAEA,sEACE,iBACA,kCAIJ,sDJ9NF,aACA,mBACA,uBI+NI,YACA,aACA,sCACA,kCAEA,0DACE,iBAIJ,iEACE,gBACA,mCAEA,qEACE,iCAIJ,2CACE,aACA,mBACA,uBACA,YACA,eACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBACA,YAIJ,qCJ9PA,aACA,mBIgQE,cAEA,8CACE,aACA,cACA,sCACA,oBAEA,qDACE,aACA,aACA,uBACA,kCACA,iBACA,cACA,mBAIJ,8CACE,aACA,gBAGF,sDJ/RF,aACA,mBACA,uBIgSI,YACA,aACA,iCACA,kCACA,8BAEA,0DACE,iBACA,gCAKN,kCJzSA,aACA,mBI2SE,YACA,cAEA,wCJ/SF,aACA,mBIiTI,WACA,YAEA,iDJrTJ,aACA,mBIuTM,WACA,cACA,sCACA,gCAGF,kDJpTJ,mBACA,uBACA,gBACA,sBACA,gBImTM,eACA,iBACA,gBACA,WACA,kBAGF,8CACE,YACA,aACA,aACA,mBACA,uBACA,iBACA,8BAEA,2DACE,yCAGF,yDACE,iCAKN,2CACE,aACA,WACA,eAGF,4CACE,gBACA,WAGF,8CJ5WF,aACA,mBACA,uBI6WI,gBACA,cACA,kCACA,sCACA,oBACA,kBACA,eAIJ,4BACE,gBAEA,kCACE,cACA,aACA,sBCpYJ,4CAEE,YAKA,4JACE,kCAIJ,kCACE,gBACA,gBAGF,sCACE,UAGF,6CACE,WACA,YACA,eAGF,0DLtBA,aACA,mBACA,uBKuBE,kCACA,oCACA,eAGF,mDL9BA,aACA,mBACA,uBK+BE,aAEA,0DACE,WACA,kCACA,oCAMJ,yCACE,kDAGF,mCACE,gBACA,gBAGF,uCACE,cACA,wBACA,YAGF,iCACE,YACA,WAIA,iDACE,YACA,WAKF,wCLlEF,aACA,mBKoEI,iCACA,oBACA,iBACA,eAIJ,gCL5EA,aACA,mBK8EE,kCACA,eAGF,oCLzFA,aACA,mBACA,uBK0FE,WACA,cACA,eAEA,6CACE,aACA,YACA,oBAGF,4CLtGF,aACA,mBACA,uBKuGI,YACA,WAEA,gDACE,iBACA,kCAGF,sDACE,kCAGF,0DACE,iCAIJ,6CLpHF,aACA,mBKsHI,YACA,0BAGF,0CLjIF,aACA,mBACA,uBKkII,WACA,eACA,kBACA,oBACA,cACA,4BAGF,yCACE,aACA,uBACA,aACA,iBAGF,2CLnIF,mBACA,uBACA,gBACA,sBACA,gBKkII,aACA,kCACA,cACA,mBAGF,0CLtJF,aACA,mBKwJI,iDLzJJ,aACA,mBK2JM,sCACA,kCACA,kBACA,oBACA,eACA,gBACA,cACA,gBAIJ,0CACE,YACA,WAEA,iDACE,cACA,cACA,mBACA,sCACA,8CACA,kCAKN,0CACE,4CAKF,iCACE,4BACA,gBACA,mBACA,eACA,gBACA,uBACA,0BACA,6BACA,8BAKF,mCACE,gBAGF,yCACE,WACA,eAGF,kFLzNA,aACA,mBACA,uBK2NE,aACA,iBACA,cAGF,8CACE,eACA,kCAGF,oDACE,4CAIA,mGACE,kCAIJ,0EACE,4CAGF,wDACE,uCAGF,0CLzOA,mBACA,uBACA,gBACA,sBACA,gBKwOE,YACA,iBACA,YACA,kCACA,iBAGF,0DACE,oBAGF,sDACE,mCAGF,uDACE,wBAGF,wDACE,wBAGF,4DACE,oBACA,gBACA,iBACA,oCACA,kCACA,YACA,iBACA,kBAGF,oDACE,oBACA,gBACA,iBACA,oCACA,YACA,iBACA,kBACA,8BACA,wBAGF,4CACE,aACA,YACA,oBAGF,2CLhTA,aACA,mBACA,uBKiTE,YACA,WAEA,+CACE,iBACA,uCAGF,qDACE,kCAGF,yDACE,iCAIJ,mCACE,6BAEA,gIAGE,iBAIJ,qpBAME,iCAGF,2UAGE,4BAGF,yCACE,YCnWF,iCACE,gBAGF,wCNOA,aACA,mBMLE,2BACA,kCACA,aACA,iBACA,mBAGF,4CACE,eAGF,4CACE,cAGF,kDACE,4CAGF,kHAEE,iCAGF,wEACE,4CAGF,4DACE,oCAGF,0CN5BA,aACA,mBM8BE,YACA,0BAGF,0CNnCA,aACA,mBMqCE,YACA,aAGF,yCNhDA,aACA,mBACA,uBMiDE,YACA,aAEA,6CACE,kCAGF,mDACE,kCAIJ,wCACE,WACA,cACA,mBACA,aACA,YACA,mBACA,cACA,kCACA,iBAGF,oDACE,0BAGF,iDNzEA,aACA,mBM2EE,WACA,YAGF,uCNhFA,aACA,mBMkFE,cACA,oBAEA,8CNtFF,aACA,mBMwFI,aACA,iBACA,gBACA,iBACA,kBACA,yBACA,iCAGF,+CNxGF,aACA,mBACA,uBMyGI,YACA,eACA,WACA,uCACA,gBAEA,mDACE,eACA,kCAGF,yDACE,iCAIJ,4CACE,sCAGF,2CACE,oCAIJ,uCNpIA,aACA,mBACA,uBMqIE,eACA,WACA,+CACA,iBACA,gBACA,iCACA,cAGF,yRAGE,+CACA,iCAGF,2CNjJA,aACA,mBMmJE,WACA,YAEA,qDNvJF,aACA,mBMyJI,uBACA,cAGF,qDN9JF,aACA,mBMgKI,eAGF,4DACE,gBACA,gBACA,sCACA,cACA,kCACA,8BACA,iBACA,mBACA,mBAGF,wENtLF,aACA,mBACA,uBMuLI,gBACA,gBACA,sCACA,cACA,8BAEA,4EACE,kCACA,iBAIJ,uEACE,iBACA,cACA,oCAGF,kDN3MF,aACA,mBACA,uBM4MI,YACA,cACA,oBACA,iBACA,gBCvNJ,sCACE,gBAGF,6CPOA,aACA,mBOLE,2BACA,kCACA,aACA,iBACA,mBAGF,iDACE,eAGF,iDACE,cAGF,uDACE,4CAGF,4HAEE,iCAGF,6EACE,4CAGF,iEACE,oCAGF,+CP5BA,aACA,mBO8BE,YACA,0BAGF,+CPnCA,aACA,mBOqCE,YACA,aAGF,8CPhDA,aACA,mBACA,uBOiDE,YACA,aAEA,kDACE,kCAGF,wDACE,kCAIJ,6CACE,WACA,cACA,mBACA,aACA,YACA,mBACA,cACA,kCACA,iBAGF,yDACE,0BAGF,sDPzEA,aACA,mBO2EE,WACA,YAGF,4CPhFA,aACA,mBOkFE,cACA,oBAEA,mDPtFF,aACA,mBOwFI,aACA,iBACA,gBACA,iBACA,kBACA,yBACA,iCAGF,oDPxGF,aACA,mBACA,uBOyGI,YACA,eACA,WACA,uCACA,gBAEA,wDACE,eACA,kCAGF,8DACE,iCAIJ,iDACE,sCAGF,gDACE,oCAIJ,4CPpIA,aACA,mBACA,uBOqIE,eACA,WACA,+CACA,iBACA,gBACA,iCACA,cAGF,uTAGE,+CACA,iCAGF,gDPjJA,aACA,mBOmJE,WACA,YAEA,0DPvJF,aACA,mBOyJI,uBACA,cAGF,0DP9JF,aACA,mBOgKI,eAGF,iEACE,gBACA,gBACA,sCACA,cACA,kCACA,8BACA,iBACA,mBACA,mBAGF,6EPtLF,aACA,mBACA,uBOuLI,gBACA,gBACA,sCACA,cACA,8BAEA,iFACE,kCACA,iBAIJ,4EACE,iBACA,cACA,oCAGF,uDP3MF,aACA,mBACA,uBO4MI,YACA,cACA,oBACA,iBACA,gBAKN,4BPjNE,aACA,mBOmNA,WACA,YAEA,qCPvNA,aACA,mBOyNE,WACA,cACA,oBACA,sCAGF,kCACE,kCAGF,kCACE,cACA,aACA,aACA,mBACA,uBACA,iBACA,8BAEA,yCACE,mCAGF,+CACE,yCAGF,6CACE,iCAIJ,sCPhPA,mBACA,uBACA,gBACA,sBACA,gBO+OE,eACA,iBACA,gBACA,WAGF,4CPzQA,aACA,mBACA,uBO0QE,cACA,aACA,aAEA,gDACE,iBACA,kCAIJ,oCACE,aACA,iBACA,cACA,mBACA,gBACA,eACA,oCACA,kCACA,uCAEA,0CACE,iCAIJ,2CACE,gCACA,iCACA,WACA,eP1SF,aACA,mBACA,uBO4SE,+CACE,eACA,mBAGF,iDACE,gCCzTJ,oCRWA,aACA,mBQTE,yBACA,cACA,eACA,iBACA,qDAGF,oCACE,2BACA,WAGF,oCACE,gBAGF,mCRRA,aACA,mBQUE,kCACA,gBAEA,yCACE,4CAIJ,iDACE,aACA,YACA,WAGF,+DACE,4CAGF,gDRnCA,aACA,mBACA,uBQoCE,sCACA,cACA,aACA,iBACA,kBAEA,oDACE,iCACA,iBAGF,2DRjDF,aACA,mBACA,uBQkDI,cAIJ,+CACE,YACA,WACA,cAEA,8EACE,gCAIJ,yCR5DA,aACA,mBQ8DE,kBACA,cAEA,gDACE,cACA,YACA,cACA,mBACA,sCACA,8CACA,kCAEA,sDACE,yCACA,aAIJ,mDRjFF,aACA,mBQmFI,eACA,2BACA,cAIJ,0CR1FA,aACA,mBQ4FE,YACA,WAGF,oDRjGA,aACA,mBQmGE,cACA,WACA,eAGF,8CRzGA,aACA,mBQ2GE,cAEA,wDR9GF,aACA,mBQgHI,cAGF,+DR1HF,aACA,mBACA,uBQ2HI,YACA,eACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBAGF,kERjIF,aACA,mBQmII,YAGF,0EACE,iBACA,cACA,oCAGF,2ERnJF,aACA,mBACA,uBQoJI,YACA,aACA,sCACA,8BAEA,+EACE,iBACA,kCAIJ,+DRjKF,aACA,mBACA,uBQkKI,YACA,aACA,sCACA,kCACA,8BAEA,mEACE,iBAIJ,0EACE,gBACA,mCAEA,8EACE,iCAKN,4CRnLA,aACA,mBQqLE,YACA,aAGF,2CRhMA,aACA,mBACA,uBQiME,cACA,aAEA,+GAEE,kCAGF,2HAEE,kCAGF,mIAEE,iCAIJ,oFACE,aAGF,wCACE,cAGF,oCACE,aACA,WAEA,qFACE,iBAGF,0CACE,aACA,WACA,mBAEA,oDACE,gBACA,WACA,mBAGF,oDACE,kCAGF,kDRrPJ,aACA,mBACA,uBQsPM,cACA,iBACA,iBACA,gBACA,sCACA,kCACA,8BACA,mBACA,WAGF,uDRnQJ,aACA,mBACA,uBQoQM,cACA,eACA,iBACA,gBACA,kCACA,8BACA,mBACA,WACA,iCAEA,2DACE,iBAIJ,sDRrRJ,aACA,mBACA,uBQsRM,gBACA,cACA,kCACA,sCACA,oBACA,kBACA,eCpSR,gCACE,YACA,WACA,aACA,sBAEA,yCTMA,aACA,mBSJE,yBACA,cACA,eACA,iBACA,qDAEA,oDTTF,aACA,mBACA,uBSUI,WAEA,wDACE,iCAKN,2CACE,2BACA,WACA,gBAGF,iDACE,aACA,WACA,cAEA,uDACE,4CAIJ,+CT9BA,aACA,mBSgCE,YACA,0BAGF,+CTrCA,aACA,mBSuCE,YACA,oBAGF,8CTlDA,aACA,mBACA,uBSmDE,aACA,cAEA,kDACE,kCAIA,wDACE,kCAKN,4CACE,aACA,iBAGF,wFT7DA,aACA,uBSgEE,aACA,iBAGF,iDACE,kCACA,iBAGF,6CACE,aACA,kCAGF,4FTpFA,aACA,mBSwFA,0GTzFA,aACA,mBS4FE,kBACA,oBACA,eACA,gBACA,cACA,gBAGF,mDACE,sCACA,kCAGF,uDACE,uCACA,iCACA,wCACA,oBCzHF,+CACE,gBAGF,qDACE,WACA,eAGF,0GVJA,aACA,mBACA,uBUME,aACA,iBACA,cAGF,gEACE,4CAGF,mEVDA,mBACA,uBACA,gBACA,sBACA,4BUCE,iBACA,YACA,kCACA,iBACA,wBAGF,wDACE,aACA,YACA,oBAGF,uDVlCA,aACA,mBACA,uBUmCE,YACA,WAEA,2DACE,iBACA,kCAGF,iEACE,kCAGF,qEACE,iCAIJ,qDACE,YAKF,4CACE,gBAIA,oDACE,eAIJ,8CACE,aACA,WACA,sCACA,eAGF,6CV7EA,aACA,mBACA,uBU8EE,WACA,cACA,eAEA,sDACE,aACA,YACA,oBAGF,qDV1FF,aACA,mBACA,uBU2FI,YACA,WAEA,yDACE,iBACA,kCAGF,+DACE,kCAGF,mEACE,iCAIJ,yDACE,YAGF,sDV5GF,aACA,mBASA,mBACA,uBACA,gBACA,sBACA,gBUkGI,YACA,WAGF,mDV1HF,aACA,mBACA,uBU2HI,WACA,eACA,kBACA,oBACA,cACA,4BAGF,kDACE,aACA,uBACA,aACA,iBAGF,oDV5HF,mBACA,uBACA,gBACA,sBACA,gBU2HI,YACA,iBACA,YACA,kCACA,iBAIJ,mDACE,4CC9JJ,qCACE,YACA,WAIA,mBAEA,gDAKE,oBAEA,sDACE,gBAGF,wDACE,kBAIJ,4DACE,4CAEA,gEACE,kCAIJ,8CACE,2BACA,gBAGF,sDXzBA,aACA,mBW2BE,eAGF,iDACE,WACA,eAGF,gDX1CA,aACA,mBACA,uBW2CE,aACA,iBACA,cAGF,kDXlCA,mBACA,uBACA,gBACA,sBACA,gBWiCE,YACA,iBACA,YACA,kCACA,iBAGF,+DACE,wBAGF,4DACE,oBACA,gBACA,iBACA,oCACA,YACA,iBACA,kBACA,8BACA,wBAGF,oDACE,aACA,YACA,oBAGF,mDXlFA,aACA,mBACA,uBWmFE,YACA,WAEA,uDACE,iBACA,uCAGF,6DACE,kCAGF,iEACE,iCAIJ,iDACE,YAGF,6CX1GA,aACA,mBACA,uBW2GE,cACA,qDACA,cACA,kBAGF,gDACE,cACA,aACA,kBAGF,4CACE,iBACA,cACA,qBACA,kBACA,WACA,qCACA,oBACA,8CAEA,uDXnIF,aACA,mBACA,uBWoII,kBACA,cACA,WAGF,uDACE,mBAGF,2DX/IF,aACA,mBACA,uBWgJI,kBACA,aACA,oBACA,cACA,gBACA,iBACA,gBACA,mCACA,iCACA,iBACA,eAGF,0DX/JF,aACA,mBACA,uBWgKI,kBACA,YACA,cACA,aAEA,8DACE,mCAIJ,qEX5KF,aACA,mBACA,uBW6KI,kBACA,aACA,cACA,aACA,eAEA,yEACE,iCAGF,iKAEE,iCAGF,wKAEE,4BAIJ,uDXpMF,aACA,mBACA,uBWqMI,kBACA,YACA,cACA,aAEA,2DACE,iCAGF,iEACE,iCAMJ,oDACE,eACA,oBAGF,mEXtNF,aACA,mBWwNI,gBACA,iCACA,oBACA,iBACA,eAGF,6DXhOF,aACA,mBWkOI,eAGF,kEACE,sBACA,kBAEA,sEACE,eACA,iCAGF,4EACE,eACA,iCAGF,sKAEE,mBACA,iCAKF,+EACE,eACA,4BAGF,qFACE,eACA,4BAGF,wLAEE,mBACA,iCAIJ,qEACE,sBACA,kBACA,kCACA,iBACA,eAIJ,2FAEE,YACA,aACA,gBAGF,yDACE,eACA,iBAEA,+DACE,iCACA,gBAGF,sEACE,iCACA,gBCnTJ,2DACE,cAGF,iEACE,2BAIA,mFACE,eAGF,yFACE,4BAIJ,8CACE,2BAGF,wDACE,2BAIJ,6BZNE,mBACA,uBACA,gBACA,sBACA,gBYKA,oBAEA,mCACE,iBACA,iCACA,kBACA,mBAGF,sCACE,iCACA,kBACA,mBACA,mCACA,oBACA,gBACA,eACA,gBACA,oCAGF,kCACE,iBACA,2BACA,kBACA","file":"index.css"}
|
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -41,10 +41,10 @@
|
|
41
41
|
"test:watch": "jest --watch"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@ag-grid-community/client-side-row-model": "29.
|
45
|
-
"@ag-grid-community/core": "29.
|
46
|
-
"@ag-grid-community/react": "29.
|
47
|
-
"@ag-grid-community/styles": "29.
|
44
|
+
"@ag-grid-community/client-side-row-model": "29.2.0",
|
45
|
+
"@ag-grid-community/core": "29.2.0",
|
46
|
+
"@ag-grid-community/react": "29.2.0",
|
47
|
+
"@ag-grid-community/styles": "29.2.0",
|
48
48
|
"@finos/legend-application": "workspace:*",
|
49
49
|
"@finos/legend-art": "workspace:*",
|
50
50
|
"@finos/legend-graph": "workspace:*",
|
@@ -53,12 +53,13 @@
|
|
53
53
|
"@finos/legend-storage": "workspace:*",
|
54
54
|
"@testing-library/react": "14.0.0",
|
55
55
|
"@types/papaparse": "5.3.7",
|
56
|
-
"@types/react": "18.0.
|
56
|
+
"@types/react": "18.0.29",
|
57
57
|
"@types/react-dom": "18.0.11",
|
58
|
-
"
|
58
|
+
"mathjs": "11.7.0",
|
59
|
+
"mobx": "6.9.0",
|
59
60
|
"mobx-react-lite": "3.4.3",
|
60
61
|
"monaco-editor": "0.36.1",
|
61
|
-
"papaparse": "5.4.
|
62
|
+
"papaparse": "5.4.1",
|
62
63
|
"react": "18.2.0",
|
63
64
|
"react-dnd": "16.0.1",
|
64
65
|
"react-dom": "18.2.0",
|
@@ -71,8 +72,8 @@
|
|
71
72
|
"eslint": "8.36.0",
|
72
73
|
"jest": "29.5.0",
|
73
74
|
"npm-run-all": "4.1.5",
|
74
|
-
"rimraf": "4.4.
|
75
|
-
"sass": "1.
|
75
|
+
"rimraf": "4.4.1",
|
76
|
+
"sass": "1.60.0",
|
76
77
|
"typescript": "5.0.2"
|
77
78
|
},
|
78
79
|
"peerDependencies": {
|
@@ -32,11 +32,11 @@ export declare class QueryBuilderDiffViewState {
|
|
32
32
|
generateGrammarDiff(): GeneratorFn<void>;
|
33
33
|
}
|
34
34
|
export declare class QueryBuilderChangeDetectionState {
|
35
|
-
querybuilderState: QueryBuilderState;
|
36
|
-
initState: ActionState;
|
35
|
+
readonly querybuilderState: QueryBuilderState;
|
36
|
+
readonly initState: ActionState;
|
37
|
+
querySnapshot?: RawLambda | undefined;
|
38
|
+
hashCodeSnapshot?: string | undefined;
|
37
39
|
diffViewState?: QueryBuilderDiffViewState | undefined;
|
38
|
-
initialQuery?: RawLambda | undefined;
|
39
|
-
initialHashCode?: string | undefined;
|
40
40
|
constructor(queryBuilderState: QueryBuilderState);
|
41
41
|
showDiffViewPanel(): void;
|
42
42
|
hideDiffViewPanel(): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderChangeDetectionState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,WAAW,EAGX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,oBAAY,wBAAwB;IAClC,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,qBAAa,yBAAyB;IACpC,QAAQ,CAAC,oBAAoB,EAAE,gCAAgC,CAAC;IAChE,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC;IAEjC,IAAI,2BAAoC;IACxC,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG3C,oBAAoB,EAAE,gCAAgC,EACtD,YAAY,EAAE,SAAS,EACvB,YAAY,EAAE,SAAS;IA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E,yBAAyB,GAAG,SAAS,CAAC;gBAE1C,iBAAiB,EAAE,iBAAiB;IAchD,iBAAiB,IAAI,IAAI;IAYzB,iBAAiB,IAAI,IAAI;IAIzB,IAAI,UAAU,IAAI,OAAO,CAKxB;IAED,UAAU,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAOzC,mBAAmB,CAAC,SAAS,EAAE,MAAM,IAAI,GAAG,IAAI;CA0BjD"}
|
@@ -67,14 +67,14 @@ export class QueryBuilderDiffViewState {
|
|
67
67
|
export class QueryBuilderChangeDetectionState {
|
68
68
|
querybuilderState;
|
69
69
|
initState = ActionState.create();
|
70
|
+
querySnapshot;
|
71
|
+
hashCodeSnapshot;
|
70
72
|
diffViewState;
|
71
|
-
initialQuery;
|
72
|
-
initialHashCode;
|
73
73
|
constructor(queryBuilderState) {
|
74
74
|
makeObservable(this, {
|
75
75
|
diffViewState: observable,
|
76
|
-
|
77
|
-
|
76
|
+
querySnapshot: observable,
|
77
|
+
hashCodeSnapshot: observable,
|
78
78
|
hasChanged: computed,
|
79
79
|
initialize: action,
|
80
80
|
showDiffViewPanel: action,
|
@@ -83,8 +83,8 @@ export class QueryBuilderChangeDetectionState {
|
|
83
83
|
this.querybuilderState = queryBuilderState;
|
84
84
|
}
|
85
85
|
showDiffViewPanel() {
|
86
|
-
assertNonNullable(this.
|
87
|
-
this.diffViewState = new QueryBuilderDiffViewState(this, this.
|
86
|
+
assertNonNullable(this.querySnapshot, `Can't show changes: change detection is not properly initialized`);
|
87
|
+
this.diffViewState = new QueryBuilderDiffViewState(this, this.querySnapshot, this.querybuilderState.buildQuery());
|
88
88
|
}
|
89
89
|
hideDiffViewPanel() {
|
90
90
|
this.diffViewState = undefined;
|
@@ -93,12 +93,12 @@ export class QueryBuilderChangeDetectionState {
|
|
93
93
|
if (!this.initState.hasCompleted) {
|
94
94
|
return false;
|
95
95
|
}
|
96
|
-
return this.querybuilderState.hashCode !== this.
|
96
|
+
return this.querybuilderState.hashCode !== this.hashCodeSnapshot;
|
97
97
|
}
|
98
98
|
initialize(initialQuery) {
|
99
99
|
this.initState.inProgress();
|
100
|
-
this.
|
101
|
-
this.
|
100
|
+
this.hashCodeSnapshot = this.querybuilderState.hashCode;
|
101
|
+
this.querySnapshot = initialQuery;
|
102
102
|
this.initState.complete();
|
103
103
|
}
|
104
104
|
alertUnsavedChanges(onProceed) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderChangeDetectionState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1E,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,+CAAmB,CAAA;AACrB,CAAC,EAHW,wBAAwB,GAAxB,wBAAwB,KAAxB,wBAAwB,QAGnC;AAED,MAAM,OAAO,yBAAyB;IAC3B,oBAAoB,CAAmC;IACvD,YAAY,CAAY;IACxB,YAAY,CAAY;IAEjC,IAAI,GAAG,wBAAwB,CAAC,OAAO,CAAC;IACxC,uBAAuB,CAAsB;IAC7C,uBAAuB,CAAsB;IAE7C,YACE,oBAAsD,EACtD,YAAuB,EACvB,YAAuB;QAEvB,cAAc,CAAC,IAAI,EAAE;YACnB,IAAI,EAAE,UAAU;YAChB,uBAAuB,EAAE,UAAU;YACnC,uBAAuB,EAAE,UAAU;YACnC,OAAO,EAAE,MAAM;YACf,mBAAmB,EAAE,IAAI;SAC1B,CAAC,CAAC;QAEH,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,OAAO,CAAC,GAA6B;QACnC,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;IAClB,CAAC;IAED,CAAC,mBAAmB;QAClB,IAAI;YACF,IAAI,CAAC,uBAAuB;gBAC1B,CAAC,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,gBAAgB,CAChG,IAAI,CAAC,YAAY,EACjB,IAAI,CACL,CAAW,CAAC;SAChB;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,uBAAuB;gBAC1B,+DAA+D,CAAC;SACnE;QACD,IAAI;YACF,IAAI,CAAC,uBAAuB;gBAC1B,CAAC,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,gBAAgB,CAChG,IAAI,CAAC,YAAY,EACjB,IAAI,CACL,CAAW,CAAC;SAChB;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,uBAAuB;gBAC1B,+DAA+D,CAAC;SACnE;IACH,CAAC;CACF;AAED,MAAM,OAAO,gCAAgC;
|
1
|
+
{"version":3,"file":"QueryBuilderChangeDetectionState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1E,MAAM,C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,EAAE,OAAO,GAAG,IAAI;IAIxC,WAAW,CAAC,GAAG,EAAE,mCAAmC,GAAG,IAAI;IAI3D,cAAc,CAAC,GAAG,EAAE,mCAAmC,GAAG,IAAI;IAI9D,mBAAmB,CACjB,GAAG,EAAE,mCAAmC,GAAG,SAAS,GACnD,IAAI;IAIP,mBAAmB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO;IASvD,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -32,15 +32,15 @@ export class QueryBuilderConstantExpressionState {
|
|
32
32
|
changeValSpecType: action,
|
33
33
|
});
|
34
34
|
this.queryBuilderState = queryBuilderState;
|
35
|
-
this.value = observe_ValueSpecification(value, this.queryBuilderState.
|
36
|
-
observe_ValueSpecification(variable, this.queryBuilderState.
|
35
|
+
this.value = observe_ValueSpecification(value, this.queryBuilderState.observerContext);
|
36
|
+
observe_ValueSpecification(variable, this.queryBuilderState.observerContext);
|
37
37
|
this.variable = variable;
|
38
38
|
}
|
39
39
|
changeValSpecType(type) {
|
40
40
|
const variableType = this.value.genericType?.value.rawType;
|
41
41
|
if (variableType !== type) {
|
42
42
|
try {
|
43
|
-
const valSpec = buildDefaultInstanceValue(this.queryBuilderState.graphManagerState.graph, type);
|
43
|
+
const valSpec = buildDefaultInstanceValue(this.queryBuilderState.graphManagerState.graph, type, this.queryBuilderState.observerContext);
|
44
44
|
this.setValueSpec(valSpec);
|
45
45
|
}
|
46
46
|
catch (error) {
|
@@ -53,7 +53,7 @@ export class QueryBuilderConstantExpressionState {
|
|
53
53
|
if (value instanceof VariableExpression) {
|
54
54
|
throw new IllegalStateError('Can not assign a parameter to another parameter');
|
55
55
|
}
|
56
|
-
this.value = observe_ValueSpecification(value, this.queryBuilderState.
|
56
|
+
this.value = observe_ValueSpecification(value, this.queryBuilderState.observerContext);
|
57
57
|
const valueSpecType = value.genericType?.value.rawType;
|
58
58
|
if (valueSpecType &&
|
59
59
|
valueSpecType !== this.variable.genericType?.value.rawType) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderConstantsState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,IAAI,EACJ,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AAEjG,MAAM,OAAO,mCAAmC;IACrC,iBAAiB,CAAoB;IACrC,IAAI,GAAG,IAAI,EAAE,CAAC;IACvB,QAAQ,CAAqB;IAC7B,KAAK,CAAqB;IAE1B,YACE,iBAAoC,EACpC,QAA4B,EAC5B,KAAyB;QAEzB,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;YACjB,YAAY,EAAE,MAAM;YACpB,iBAAiB,EAAE,MAAM;SAC1B,CAAC,CAAC;QACH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,KAAK,GAAG,0BAA0B,CACrC,KAAK,EACL,IAAI,CAAC,iBAAiB,CAAC,
|
1
|
+
{"version":3,"file":"QueryBuilderConstantsState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderConstantsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,WAAW,EACX,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAk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AE,UAAU;YACrB,iBAAiB,EAAE,UAAU;YAC7B,gBAAgB,EAAE,UAAU;YAC5B,WAAW,EAAE,MAAM;YACnB,cAAc,EAAE,MAAM;YACtB,oBAAoB,EAAE,MAAM;YAC5B,mBAAmB,EAAE,MAAM;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;IAChC,CAAC;IAED,oBAAoB,CAAC,GAAY;QAC/B,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC;IAC/B,CAAC;IAED,WAAW,CAAC,GAAwC;QAClD,cAAc,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;IACtC,CAAC;IAED,cAAc,CAAC,GAAwC;QACrD,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;IACnC,CAAC;IAED,mBAAmB,CACjB,GAAoD;QAEpD,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC;IAC9B,CAAC;IAED,mBAAmB,CAAC,KAAyB;QAC3C,IAAI,KAAK,YAAY,kBAAkB,EAAE;YACvC,OAAO,OAAO,CACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC,CAC3D,CAAC;SACH;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,cAAc;YAC3C,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,9 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { type AbstractProperty, type ValueSpecification, type PureModel, AbstractPropertyExpression, DerivedProperty, VariableExpression } from '@finos/legend-graph';
|
17
|
+
import { type AbstractProperty, type ValueSpecification, type PureModel, AbstractPropertyExpression, DerivedProperty, VariableExpression, type ObserverContext } from '@finos/legend-graph';
|
18
18
|
import type { QueryBuilderState } from './QueryBuilderState.js';
|
19
|
-
export declare const prettyPropertyName: (value: string) => string;
|
20
19
|
export declare const getPropertyChainName: (propertyExpression: AbstractPropertyExpression, humanizePropertyName: boolean) => string;
|
21
20
|
export declare const getPropertyPath: (propertyExpression: AbstractPropertyExpression) => string;
|
22
21
|
/**
|
@@ -24,7 +23,7 @@ export declare const getPropertyPath: (propertyExpression: AbstractPropertyExpre
|
|
24
23
|
* we should check for the multiplicity and adaptively produce
|
25
24
|
* either simple primitive/enum instance value or collection
|
26
25
|
*/
|
27
|
-
export declare const generateValueSpecificationForParameter: (parameter: VariableExpression, graph: PureModel) => ValueSpecification;
|
26
|
+
export declare const generateValueSpecificationForParameter: (parameter: VariableExpression, graph: PureModel, observerContext: ObserverContext) => ValueSpecification;
|
28
27
|
export declare class QueryBuilderDerivedPropertyExpressionState {
|
29
28
|
queryBuilderState: QueryBuilderState;
|
30
29
|
path: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyEditorState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderPropertyEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,KAAK,QAAQ,
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyEditorState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderPropertyEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,gBAAgB,EAErB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,0BAA0B,EAC1B,eAAe,EAOf,kBAAkB,EASlB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC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AAG,EAAE,OAAO,GAAG,IAAI;IAI/C,OAAO,CAAC,mCAAmC;IAgE3C,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
|
@@ -14,17 +14,16 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { action, computed, makeObservable, observable } from 'mobx';
|
17
|
-
import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, hashArray,
|
17
|
+
import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, hashArray, prettyCONSTName, } from '@finos/legend-shared';
|
18
18
|
import { Class, AbstractPropertyExpression, DerivedProperty, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, InstanceValue, PrimitiveInstanceValue, VariableExpression, SimpleFunctionExpression, matchFunctionName, TYPE_CAST_TOKEN, observe_AbstractPropertyExpression, GenericTypeExplicitReference, GenericType, PropertyExplicitReference, PrimitiveType, } from '@finos/legend-graph';
|
19
19
|
import { createNullishValue, generateDefaultValueForPrimitiveType, } from './QueryBuilderValueSpecificationHelper.js';
|
20
20
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
|
21
21
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
|
22
22
|
import { propertyExpression_setFunc, functionExpression_setParametersValues, instanceValue_setValues, } from './shared/ValueSpecificationModifierHelper.js';
|
23
23
|
import { generateMilestonedPropertyParameterValue } from './milestoning/QueryBuilderMilestoningHelper.js';
|
24
|
-
export const prettyPropertyName = (value) => isCamelCase(value) ? prettyCamelCase(value) : prettyCONSTName(value);
|
25
24
|
export const getPropertyChainName = (propertyExpression, humanizePropertyName) => {
|
26
25
|
const propertyNameDecorator = humanizePropertyName
|
27
|
-
?
|
26
|
+
? prettyCONSTName
|
28
27
|
: (val) => val;
|
29
28
|
const chunks = [propertyNameDecorator(propertyExpression.func.value.name)];
|
30
29
|
let currentExpression = propertyExpression;
|
@@ -75,7 +74,7 @@ export const getPropertyPath = (propertyExpression) => {
|
|
75
74
|
* we should check for the multiplicity and adaptively produce
|
76
75
|
* either simple primitive/enum instance value or collection
|
77
76
|
*/
|
78
|
-
export const generateValueSpecificationForParameter = (parameter, graph) => {
|
77
|
+
export const generateValueSpecificationForParameter = (parameter, graph, observerContext) => {
|
79
78
|
if (parameter.genericType) {
|
80
79
|
const type = parameter.genericType.value.rawType;
|
81
80
|
if (type instanceof PrimitiveType) {
|
@@ -85,9 +84,7 @@ export const generateValueSpecificationForParameter = (parameter, graph) => {
|
|
85
84
|
// See https://github.com/finos/legend-studio/issues/1391
|
86
85
|
type === PrimitiveType.DATE ? PrimitiveType.STRICTDATE : type)));
|
87
86
|
if (type !== PrimitiveType.LATESTDATE) {
|
88
|
-
instanceValue_setValues(primitiveInstanceValue, [
|
89
|
-
generateDefaultValueForPrimitiveType(type.name),
|
90
|
-
]);
|
87
|
+
instanceValue_setValues(primitiveInstanceValue, [generateDefaultValueForPrimitiveType(type.name)], observerContext);
|
91
88
|
}
|
92
89
|
return primitiveInstanceValue;
|
93
90
|
}
|
@@ -95,7 +92,7 @@ export const generateValueSpecificationForParameter = (parameter, graph) => {
|
|
95
92
|
const enumValueInstanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(type)));
|
96
93
|
if (type.values.length) {
|
97
94
|
const enumValueRef = EnumValueExplicitReference.create(type.values[0]);
|
98
|
-
instanceValue_setValues(enumValueInstanceValue, [enumValueRef]);
|
95
|
+
instanceValue_setValues(enumValueInstanceValue, [enumValueRef], observerContext);
|
99
96
|
}
|
100
97
|
return enumValueInstanceValue;
|
101
98
|
}
|
@@ -119,12 +116,12 @@ const fillDerivedPropertyParameterValues = (derivedPropertyExpressionState) => {
|
|
119
116
|
}
|
120
117
|
parameterValues.push(generateMilestonedPropertyParameterValue(derivedPropertyExpressionState, idx) ??
|
121
118
|
generateValueSpecificationForParameter(parameter, derivedPropertyExpressionState.queryBuilderState.graphManagerState
|
122
|
-
.graph));
|
119
|
+
.graph, derivedPropertyExpressionState.queryBuilderState.observerContext));
|
123
120
|
});
|
124
121
|
functionExpression_setParametersValues(derivedPropertyExpressionState.propertyExpression, [
|
125
122
|
guaranteeNonNullable(derivedPropertyExpressionState.propertyExpression.parametersValues[0]),
|
126
123
|
...parameterValues,
|
127
|
-
], derivedPropertyExpressionState.queryBuilderState.
|
124
|
+
], derivedPropertyExpressionState.queryBuilderState.observerContext);
|
128
125
|
};
|
129
126
|
export class QueryBuilderDerivedPropertyExpressionState {
|
130
127
|
queryBuilderState;
|
@@ -137,7 +134,7 @@ export class QueryBuilderDerivedPropertyExpressionState {
|
|
137
134
|
constructor(queryBuilderState, propertyExpression, propertyExpressionState) {
|
138
135
|
this.path = getPropertyPath(propertyExpression);
|
139
136
|
this.title = getPropertyChainName(propertyExpression, true);
|
140
|
-
this.propertyExpression = observe_AbstractPropertyExpression(propertyExpression, queryBuilderState.
|
137
|
+
this.propertyExpression = observe_AbstractPropertyExpression(propertyExpression, queryBuilderState.observerContext);
|
141
138
|
this.queryBuilderState = queryBuilderState;
|
142
139
|
this.derivedProperty = guaranteeType(propertyExpression.func.value, DerivedProperty);
|
143
140
|
this.propertyExpressionState = propertyExpressionState;
|
@@ -201,7 +198,7 @@ export class QueryBuilderPropertyExpressionState {
|
|
201
198
|
hashCode: computed,
|
202
199
|
});
|
203
200
|
this.queryBuilderState = queryBuilderState;
|
204
|
-
this.propertyExpression = observe_AbstractPropertyExpression(propertyExpression, queryBuilderState.
|
201
|
+
this.propertyExpression = observe_AbstractPropertyExpression(propertyExpression, queryBuilderState.observerContext);
|
205
202
|
this.path = getPropertyPath(propertyExpression);
|
206
203
|
this.title = getPropertyChainName(propertyExpression, true);
|
207
204
|
this.initDerivedPropertyExpressionStates();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyEditorState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderPropertyEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EAEb,SAAS,EACT,
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyEditorState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderPropertyEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EAEb,SAAS,EACT,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,EAKL,0BAA0B,EAC1B,eAAe,EACf,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,aAAa,EACb,sBAAsB,EAEtB,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EACf,kCAAkC,EAClC,4BAA4B,EAC5B,WAAW,EACX,yBAAyB,EACzB,aAAa,GAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,iCAAiC,EAAE,MAAM,mDAAmD,CAAC;AACtG,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EACL,0BAA0B,EAC1B,sCAAsC,EACtC,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAE1G,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,kBAA8C,EAC9C,oBAA6B,EACrB,EAAE;IACV,MAAM,qBAAqB,GAAG,oBAAoB;QAChD,CAAC,CAAC,eAAe;QACjB,CAAC,CAAC,CAAC,GAAW,EAAU,EAAE,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,YAAY,EAC9B,iCAAiC,CAAC,OAAO,CAC1C,EACD;gBACA,iBAAiB,GAAG,uBAAuB,CACzC,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;aACH;SACF;QACD,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,+BAA+B,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;IAClE,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,yBAAyB;YACtD,IAAI,CAAC,kBAAkB;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -36,7 +36,7 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
|
|
36
36
|
readonly graphManagerState: GraphManagerState;
|
37
37
|
readonly changeDetectionState: QueryBuilderChangeDetectionState;
|
38
38
|
readonly queryCompileState: ActionState;
|
39
|
-
readonly
|
39
|
+
readonly observerContext: ObserverContext;
|
40
40
|
explorerState: QueryBuilderExplorerState;
|
41
41
|
functionsExplorerState: QueryFunctionsExplorerState;
|
42
42
|
parametersState: QueryBuilderParametersState;
|
@@ -84,9 +84,9 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
|
|
84
84
|
registerCommands(): void;
|
85
85
|
isVariableUsed(variable: VariableExpression): boolean;
|
86
86
|
deregisterCommands(): void;
|
87
|
-
resetQueryResult(
|
88
|
-
|
89
|
-
|
87
|
+
resetQueryResult(options?: {
|
88
|
+
preserveResult?: boolean | undefined;
|
89
|
+
}): void;
|
90
90
|
resetQueryContent(): void;
|
91
91
|
changeClass(val: Class): void;
|
92
92
|
changeMapping(val: Mapping, options?: {
|
@@ -100,7 +100,10 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
|
|
100
100
|
/**
|
101
101
|
* Process the provided query, and rebuild the query builder state.
|
102
102
|
*/
|
103
|
-
rebuildWithQuery(query: RawLambda
|
103
|
+
rebuildWithQuery(query: RawLambda, options?: {
|
104
|
+
preserveParameterValues?: boolean | undefined;
|
105
|
+
preserveResult?: boolean | undefined;
|
106
|
+
}): void;
|
104
107
|
saveQuery(onSaveQuery: (lambda: RawLambda) => Promise<void>): Promise<void>;
|
105
108
|
compileQuery(): GeneratorFn<void>;
|
106
109
|
get validationIssues(): string[] | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAKtB,SAAS,EACT,kBAAkB,EAElB,eAAe,
|
1
|
+
{"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAA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wFlC,IAAI,gBAAgB,IAAI,MAAM,EAAE,GAAG,SAAS,CAE3C;IAED;;;;OAIG;IACH,kCAAkC,IAAI,iBAAiB;IAYvD,IAAI,QAAQ,IAAI,MAAM,CAWrB;CACF;AAED;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,iBAAiB;CAAG"}
|
@@ -39,7 +39,7 @@ export class QueryBuilderState {
|
|
39
39
|
graphManagerState;
|
40
40
|
changeDetectionState;
|
41
41
|
queryCompileState = ActionState.create();
|
42
|
-
|
42
|
+
observerContext;
|
43
43
|
explorerState;
|
44
44
|
functionsExplorerState;
|
45
45
|
parametersState;
|
@@ -99,8 +99,6 @@ export class QueryBuilderState {
|
|
99
99
|
setTitleOfQuery: action,
|
100
100
|
resetQueryResult: action,
|
101
101
|
resetQueryContent: action,
|
102
|
-
resetQueryBodyContent: action,
|
103
|
-
resetQueryParameterContent: action,
|
104
102
|
changeClass: action,
|
105
103
|
changeMapping: action,
|
106
104
|
rebuildWithQuery: action,
|
@@ -122,7 +120,7 @@ export class QueryBuilderState {
|
|
122
120
|
this.resultState = new QueryBuilderResultState(this);
|
123
121
|
this.textEditorState = new QueryBuilderTextEditorState(this);
|
124
122
|
this.unsupportedQueryState = new QueryBuilderUnsupportedQueryState(this);
|
125
|
-
this.
|
123
|
+
this.observerContext = new ObserverContext(this.graphManagerState.pluginManager.getPureGraphManagerPlugins());
|
126
124
|
this.changeDetectionState = new QueryBuilderChangeDetectionState(this);
|
127
125
|
}
|
128
126
|
get isMappingReadOnly() {
|
@@ -201,12 +199,17 @@ export class QueryBuilderState {
|
|
201
199
|
deregisterCommands() {
|
202
200
|
[QUERY_BUILDER_COMMAND_KEY.COMPILE].forEach((key) => this.applicationStore.commandService.deregisterCommand(key));
|
203
201
|
}
|
204
|
-
resetQueryResult() {
|
202
|
+
resetQueryResult(options) {
|
205
203
|
const resultState = new QueryBuilderResultState(this);
|
206
204
|
resultState.setPreviewLimit(this.resultState.previewLimit);
|
205
|
+
if (options?.preserveResult) {
|
206
|
+
resultState.setExecutionResult(this.resultState.executionResult);
|
207
|
+
resultState.setExecutionDuration(this.resultState.executionDuration);
|
208
|
+
resultState.latestRunHashCode = this.resultState.latestRunHashCode;
|
209
|
+
}
|
207
210
|
this.resultState = resultState;
|
208
211
|
}
|
209
|
-
|
212
|
+
resetQueryContent() {
|
210
213
|
this.textEditorState = new QueryBuilderTextEditorState(this);
|
211
214
|
this.unsupportedQueryState = new QueryBuilderUnsupportedQueryState(this);
|
212
215
|
this.milestoningState = new QueryBuilderMilestoningState(this);
|
@@ -219,6 +222,7 @@ export class QueryBuilderState {
|
|
219
222
|
this.explorerState.refreshTreeData();
|
220
223
|
this.constantState = new QueryBuilderConstantsState(this);
|
221
224
|
this.functionsExplorerState = new QueryFunctionsExplorerState(this);
|
225
|
+
this.parametersState = new QueryBuilderParametersState(this);
|
222
226
|
this.filterState = new QueryBuilderFilterState(this, this.filterOperators);
|
223
227
|
this.watermarkState = new QueryBuilderWatermarkState(this);
|
224
228
|
this.checkEntitlementsState = new QueryBuilderCheckEntitlementsState(this);
|
@@ -229,13 +233,6 @@ export class QueryBuilderState {
|
|
229
233
|
this.fetchStructureState.changeImplementation(currentFetchStructureImplementationType);
|
230
234
|
}
|
231
235
|
}
|
232
|
-
resetQueryParameterContent() {
|
233
|
-
this.parametersState = new QueryBuilderParametersState(this);
|
234
|
-
}
|
235
|
-
resetQueryContent() {
|
236
|
-
this.resetQueryParameterContent();
|
237
|
-
this.resetQueryBodyContent();
|
238
|
-
}
|
239
236
|
changeClass(val) {
|
240
237
|
this.resetQueryResult();
|
241
238
|
this.resetQueryContent();
|
@@ -267,21 +264,28 @@ export class QueryBuilderState {
|
|
267
264
|
}), this.graphManagerState);
|
268
265
|
}
|
269
266
|
initializeWithQuery(query) {
|
270
|
-
this.resetQueryParameterContent();
|
271
267
|
this.rebuildWithQuery(query);
|
268
|
+
this.resetQueryResult();
|
272
269
|
this.changeDetectionState.initialize(query);
|
273
270
|
}
|
274
271
|
/**
|
275
272
|
* Process the provided query, and rebuild the query builder state.
|
276
273
|
*/
|
277
|
-
rebuildWithQuery(query) {
|
274
|
+
rebuildWithQuery(query, options) {
|
275
|
+
const previousStateParameterValues = new Map();
|
278
276
|
try {
|
279
|
-
|
280
|
-
|
277
|
+
if (options?.preserveParameterValues) {
|
278
|
+
// Preserving parameter values
|
279
|
+
this.parametersState.parameterStates.forEach((ps) => {
|
280
|
+
previousStateParameterValues.set(ps.parameter, ps.value);
|
281
|
+
});
|
282
|
+
}
|
283
|
+
this.resetQueryResult({ preserveResult: options?.preserveResult });
|
284
|
+
this.resetQueryContent();
|
281
285
|
if (!isStubbed_RawLambda(query)) {
|
282
|
-
const valueSpec = observe_ValueSpecification(this.graphManagerState.graphManager.buildValueSpecification(this.graphManagerState.graphManager.serializeRawValueSpecification(query), this.graphManagerState.graph), this.
|
286
|
+
const valueSpec = observe_ValueSpecification(this.graphManagerState.graphManager.buildValueSpecification(this.graphManagerState.graphManager.serializeRawValueSpecification(query), this.graphManagerState.graph), this.observerContext);
|
283
287
|
const compiledValueSpecification = guaranteeType(valueSpec, LambdaFunctionInstanceValue, `Can't build query state: query builder only support lambda`);
|
284
|
-
processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this);
|
288
|
+
processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this, previousStateParameterValues);
|
285
289
|
}
|
286
290
|
if (this.parametersState.parameterStates.length > 0) {
|
287
291
|
this.setShowParametersPanel(true);
|
@@ -289,13 +293,13 @@ export class QueryBuilderState {
|
|
289
293
|
}
|
290
294
|
catch (error) {
|
291
295
|
assertErrorThrown(error);
|
292
|
-
this.resetQueryBodyContent();
|
293
296
|
this.resetQueryResult();
|
297
|
+
this.resetQueryContent();
|
294
298
|
this.unsupportedQueryState.setLambdaError(error);
|
295
299
|
this.unsupportedQueryState.setRawLambda(query);
|
296
300
|
this.setClass(undefined);
|
297
301
|
const parameters = buildLambdaVariableExpressions(query, this.graphManagerState)
|
298
|
-
.map((param) => observe_ValueSpecification(param, this.
|
302
|
+
.map((param) => observe_ValueSpecification(param, this.observerContext))
|
299
303
|
.filter(filterByType(VariableExpression));
|
300
304
|
processParameters(parameters, this);
|
301
305
|
}
|