@devexpress/analytics-core 21.2.8-build-22150-1702 → 22.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessibility/_accordionKeyboardHelper.d.ts +2 -2
- package/accessibility/_accordionKeyboardHelper.js +18 -15
- package/accessibility/_controlElementBase.d.ts +2 -2
- package/accessibility/_controlElementBase.js +18 -15
- package/accessibility/_controlElementWithParentHighlight.d.ts +2 -2
- package/accessibility/_controlElementWithParentHighlight.js +18 -15
- package/accessibility/_internal.d.ts +2 -2
- package/accessibility/_internal.js +5 -3
- package/accessibility/_keyboardHelperBase.d.ts +2 -2
- package/accessibility/_keyboardHelperBase.js +18 -15
- package/accessibility/_keyboardHelperWithArrowButtonBase.d.ts +2 -2
- package/accessibility/_keyboardHelperWithArrowButtonBase.js +18 -15
- package/accessibility/_listKeyboardHelper.d.ts +2 -2
- package/accessibility/_listKeyboardHelper.js +18 -15
- package/accessibility/_rightPanelKeyboardHelper.d.ts +2 -2
- package/accessibility/_rightPanelKeyboardHelper.js +18 -15
- package/accessibility/_toolbarKeyboardHelper.d.ts +3 -3
- package/accessibility/_toolbarKeyboardHelper.js +19 -16
- package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
- package/accessibility/_treeListKeyboardHelper.js +18 -15
- package/analytics-criteria-utils.d.ts +18 -4
- package/analytics-criteria-utils.js +28 -7
- package/analytics-criteria.d.ts +26 -4
- package/analytics-criteria.js +50 -21
- package/analytics-data-internal.d.ts +4 -2
- package/analytics-data-internal.js +18 -9
- package/analytics-data-metadata.d.ts +4 -2
- package/analytics-data-metadata.js +19 -10
- package/analytics-data-utils.d.ts +2 -2
- package/analytics-data-utils.js +13 -6
- package/analytics-data.d.ts +24 -2
- package/analytics-data.js +58 -29
- package/analytics-diagram.d.ts +10 -4
- package/analytics-diagram.js +39 -24
- package/analytics-elements-metadata.d.ts +2 -2
- package/analytics-elements-metadata.js +13 -6
- package/analytics-elements.d.ts +2 -2
- package/analytics-elements.js +20 -13
- package/analytics-internal.d.ts +6 -2
- package/analytics-internal.js +96 -76
- package/analytics-localization.d.ts +2 -2
- package/analytics-localization.js +13 -6
- package/analytics-tools.d.ts +2 -2
- package/analytics-tools.js +13 -6
- package/analytics-utils.d.ts +2 -2
- package/analytics-utils.js +27 -17
- package/analytics-version.d.ts +2 -2
- package/analytics-version.js +4 -3
- package/analytics-widgets-ace.d.ts +2 -2
- package/analytics-widgets-ace.js +15 -2
- package/analytics-widgets-filtering.d.ts +2 -2
- package/analytics-widgets-filtering.js +24 -17
- package/analytics-widgets-internal.d.ts +14 -4
- package/analytics-widgets-internal.js +59 -39
- package/analytics-widgets-metadata.d.ts +2 -2
- package/analytics-widgets-metadata.js +13 -6
- package/analytics-widgets-treeList.d.ts +2 -2
- package/analytics-widgets-treeList.js +13 -6
- package/analytics-widgets.d.ts +2 -2
- package/analytics-widgets.js +31 -20
- package/analytics-wizard-internal.d.ts +20 -2
- package/analytics-wizard-internal.js +52 -27
- package/analytics-wizard.d.ts +20 -4
- package/analytics-wizard.js +67 -40
- package/bundle/_add-analytics-to-bundle.d.ts +2 -2
- package/bundle/_add-analytics-to-bundle.js +3 -2
- package/bundle/_add-devextreme-to-bundle.d.ts +2 -2
- package/bundle/_add-devextreme-to-bundle.js +3 -2
- package/bundle/_add-querybuilder-to-bundle.d.ts +2 -2
- package/bundle/_add-querybuilder-to-bundle.js +3 -2
- package/bundle/_add-to-context.d.ts +2 -2
- package/bundle/_add-to-context.js +15 -14
- package/bundle/_validator.d.ts +2 -2
- package/bundle/_validator.js +3 -2
- package/bundle/analytic-core-bundle.d.ts +2 -2
- package/bundle/analytic-core-bundle.js +2 -2
- package/bundle/query-builder-bundle.d.ts +2 -2
- package/bundle/query-builder-bundle.js +2 -2
- package/core/_actionProvider.d.ts +2 -2
- package/core/_actionProvider.js +3 -2
- package/core/_bindings.d.ts +2 -2
- package/core/_bindings.js +2 -2
- package/core/_legacy.d.ts +2 -2
- package/core/_legacy.js +2 -2
- package/core/_metadata.d.ts +2 -2
- package/core/_metadata.js +3 -2
- package/core/binding/_jsDesignerBindingCommon.d.ts +3 -2
- package/core/binding/_jsDesignerBindingCommon.js +18 -15
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +2 -2
- package/core/binding/_jsDesignerBindingCommonOptions.js +2 -2
- package/core/binding/_requestHelper.d.ts +2 -2
- package/core/binding/_requestHelper.js +3 -2
- package/core/dragDrop/_dragDropHandler.d.ts +4 -2
- package/core/dragDrop/_dragDropHandler.js +18 -15
- package/core/dragDrop/_dragHelperContent.d.ts +3 -3
- package/core/dragDrop/_dragHelperContent.js +19 -16
- package/core/dragDrop/_selectionDragDropHandler.d.ts +3 -2
- package/core/dragDrop/_selectionDragDropHandler.js +18 -15
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_toolboxDragDropHandler.js +18 -15
- package/core/dragDrop/_wizardDragDropHandler.d.ts +30 -0
- package/core/dragDrop/_wizardDragDropHandler.js +78 -0
- package/core/elements/baseSurface.d.ts +8 -7
- package/core/elements/baseSurface.js +23 -17
- package/core/elements/elementViewModel.d.ts +33 -32
- package/core/elements/elementViewModel.js +29 -23
- package/core/elements/margins.d.ts +2 -2
- package/core/elements/margins.js +3 -2
- package/core/elements/paddingModel.d.ts +2 -2
- package/core/elements/paddingModel.js +18 -15
- package/core/elements/paddingModelMetaData.d.ts +2 -2
- package/core/elements/paddingModelMetaData.js +3 -2
- package/core/elements/point.d.ts +2 -2
- package/core/elements/point.js +3 -2
- package/core/elements/rectangle.d.ts +2 -2
- package/core/elements/rectangle.js +3 -2
- package/core/elements/serializableModel.d.ts +2 -2
- package/core/elements/serializableModel.js +18 -15
- package/core/elements/size.d.ts +2 -2
- package/core/elements/size.js +3 -2
- package/core/internal/_ajaxSetup.d.ts +3 -2
- package/core/internal/_ajaxSetup.js +3 -2
- package/core/internal/_controlsHelper.d.ts +2 -2
- package/core/internal/_controlsHelper.js +18 -15
- package/core/internal/_cssCalculator.d.ts +3 -3
- package/core/internal/_cssCalculator.js +3 -2
- package/core/internal/_editorTypeMapper.d.ts +2 -2
- package/core/internal/_editorTypeMapper.js +3 -2
- package/core/internal/_getNameHelpers.d.ts +3 -3
- package/core/internal/_getNameHelpers.js +3 -2
- package/core/internal/_globalize.d.ts +2 -2
- package/core/internal/_globalize.js +3 -2
- package/core/internal/_hoverInfo.d.ts +6 -4
- package/core/internal/_hoverInfo.js +5 -4
- package/core/internal/_inlineTextEdit.d.ts +3 -2
- package/core/internal/_inlineTextEdit.js +19 -16
- package/core/internal/_objectStructureControllers.d.ts +4 -3
- package/core/internal/_objectStructureControllers.js +30 -11
- package/core/internal/_objectStructureProviders.d.ts +3 -2
- package/core/internal/_objectStructureProviders.js +20 -17
- package/core/internal/_papperKindMapper.d.ts +2 -2
- package/core/internal/_papperKindMapper.js +3 -2
- package/core/internal/_processError.d.ts +3 -2
- package/core/internal/_processError.js +3 -2
- package/core/internal/_resizable.d.ts +2 -2
- package/core/internal/_resizable.js +4 -2
- package/core/internal/_scrollProcessor.d.ts +2 -2
- package/core/internal/_scrollProcessor.js +18 -15
- package/core/internal/_stores.d.ts +3 -2
- package/core/internal/_stores.js +18 -15
- package/core/internal/_surfaceHelpers.d.ts +3 -3
- package/core/internal/_surfaceHelpers.js +3 -2
- package/core/internal/_utils.d.ts +2 -2
- package/core/internal/_utils.js +3 -2
- package/core/internal/_validation.d.ts +2 -3
- package/core/internal/_validation.js +5 -4
- package/core/internal/ajaxSetup.d.ts +2 -2
- package/core/internal/ajaxSetup.js +3 -2
- package/core/internal/dx-versions.d.ts +2 -2
- package/core/internal/dx-versions.js +3 -2
- package/core/selection/_combinedObj.d.ts +2 -2
- package/core/selection/_combinedObj.js +3 -2
- package/core/selection/_selection.d.ts +17 -17
- package/core/selection/_selection.js +19 -16
- package/core/selection/_selectionHelpers.d.ts +2 -2
- package/core/selection/_selectionHelpers.js +3 -2
- package/core/snapLines/_snapLineSurface.d.ts +2 -2
- package/core/snapLines/_snapLineSurface.js +3 -2
- package/core/snapLines/_snapLinesCollector.d.ts +2 -2
- package/core/snapLines/_snapLinesCollector.js +3 -2
- package/core/snapLines/_snapLinesHelper.d.ts +2 -2
- package/core/snapLines/_snapLinesHelper.js +3 -2
- package/core/tools/_actionList.d.ts +3 -2
- package/core/tools/_actionList.js +18 -15
- package/core/tools/_copyPaste.d.ts +2 -2
- package/core/tools/_copyPaste.js +4 -3
- package/core/tools/_keyboardHelper.d.ts +4 -3
- package/core/tools/_keyboardHelper.js +19 -16
- package/core/tools/_tabInfoWithPropertyGrid.d.ts +2 -2
- package/core/tools/_tabInfoWithPropertyGrid.js +18 -15
- package/core/tools/actionId.d.ts +2 -2
- package/core/tools/actionId.js +3 -2
- package/core/tools/tabPanel.d.ts +3 -3
- package/core/tools/tabPanel.js +19 -16
- package/core/tools/toolbox.d.ts +7 -7
- package/core/tools/toolbox.js +8 -7
- package/core/utils/_arrayutils.d.ts +2 -2
- package/core/utils/_arrayutils.js +3 -2
- package/core/utils/_debug.d.ts +9 -0
- package/core/utils/_debug.js +15 -0
- package/core/utils/_designerCreator.d.ts +43 -27
- package/core/utils/_designerCreator.js +57 -41
- package/core/utils/_designerInitializer.d.ts +2 -2
- package/core/utils/_designerInitializer.js +16 -14
- package/core/utils/_fieldListProvider.d.ts +9 -3
- package/core/utils/_fieldListProvider.js +18 -5
- package/core/utils/_infoMessageHelpers.d.ts +2 -2
- package/core/utils/_infoMessageHelpers.js +10 -7
- package/core/utils/_units.d.ts +2 -2
- package/core/utils/_units.js +3 -2
- package/core/utils/_utils.d.ts +4 -4
- package/core/utils/_utils.js +17 -16
- package/core/utils/_visitors.d.ts +2 -2
- package/core/utils/_visitors.js +3 -2
- package/core/utils/controlsFactory.d.ts +12 -10
- package/core/utils/controlsFactory.js +12 -5
- package/core/utils/parsers.d.ts +2 -2
- package/core/utils/parsers.js +3 -2
- package/core/widgets/_buttonInlineEditor.d.ts +2 -2
- package/core/widgets/_buttonInlineEditor.js +18 -15
- package/core/widgets/_dataMemberEditor.d.ts +3 -2
- package/core/widgets/_dataMemberEditor.js +6 -2
- package/core/widgets/_fieldlistpicker.d.ts +5 -3
- package/core/widgets/_fieldlistpicker.js +25 -20
- package/core/widgets/_popupEditorBase.d.ts +21 -0
- package/core/widgets/_popupEditorBase.js +73 -0
- package/core/widgets/_requiredNullableEditor.d.ts +2 -2
- package/core/widgets/_requiredNullableEditor.js +18 -15
- package/core/widgets/bordereditor/_binding.d.ts +2 -2
- package/core/widgets/bordereditor/_binding.js +2 -2
- package/core/widgets/bordereditor/_bordereditor.d.ts +2 -2
- package/core/widgets/bordereditor/_bordereditor.js +18 -15
- package/core/widgets/colorPickerEditor.d.ts +2 -2
- package/core/widgets/colorPickerEditor.js +18 -15
- package/core/widgets/dataMemberEditor.d.ts +2 -2
- package/core/widgets/dataMemberEditor.js +18 -15
- package/core/widgets/fieldListEditor.d.ts +2 -2
- package/core/widgets/fieldListEditor.js +18 -15
- package/core/widgets/propertygrid/_controlProperties.d.ts +2 -2
- package/core/widgets/propertygrid/_controlProperties.js +18 -15
- package/core/widgets/propertygrid/_group.d.ts +2 -2
- package/core/widgets/propertygrid/_group.js +18 -15
- package/core/widgets/registerDesignerEditors.d.ts +2 -2
- package/core/widgets/registerDesignerEditors.js +3 -2
- package/core/widgets/textAlignmentEditor/_binding.d.ts +2 -2
- package/core/widgets/textAlignmentEditor/_binding.js +2 -2
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +2 -2
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +18 -15
- package/diagram/_legacy.d.ts +2 -2
- package/diagram/_legacy.js +2 -2
- package/diagram/bindings.d.ts +2 -2
- package/diagram/bindings.js +2 -2
- package/diagram/controlRegistrator.d.ts +8 -0
- package/diagram/controlRegistrator.js +185 -0
- package/diagram/controlsFactory.d.ts +3 -4
- package/diagram/controlsFactory.js +3 -175
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +4 -3
- package/diagram/dragDrop/connectingPointDragHandler.js +21 -18
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +3 -2
- package/diagram/dragDrop/connectionPointDragHandler.js +20 -17
- package/diagram/elements/connectingPointModel.d.ts +4 -4
- package/diagram/elements/connectingPointModel.js +20 -17
- package/diagram/elements/connectingPointSurface.d.ts +3 -3
- package/diagram/elements/connectingPointSurface.js +20 -17
- package/diagram/elements/connectors/connectionPointModel.d.ts +3 -3
- package/diagram/elements/connectors/connectionPointModel.js +20 -17
- package/diagram/elements/connectors/connectionPointSurface.d.ts +2 -2
- package/diagram/elements/connectors/connectionPointSurface.js +18 -15
- package/diagram/elements/connectors/connectorModel.d.ts +3 -3
- package/diagram/elements/connectors/connectorModel.js +28 -25
- package/diagram/elements/connectors/connectorSurface.d.ts +3 -3
- package/diagram/elements/connectors/connectorSurface.js +20 -17
- package/diagram/elements/connectors/routedConnectorModel.d.ts +2 -3
- package/diagram/elements/connectors/routedConnectorModel.js +23 -21
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +3 -3
- package/diagram/elements/connectors/routedConnectorSurface.js +21 -17
- package/diagram/elements/diagramElementBaseSurface.d.ts +21 -0
- package/diagram/elements/diagramElementBaseSurface.js +61 -0
- package/diagram/elements/{diagramElementModel.d.ts → diagramElementBaseViewModel.d.ts} +4 -12
- package/diagram/elements/diagramElementBaseViewModel.js +40 -0
- package/diagram/elements/diagramElementSurface.d.ts +5 -16
- package/diagram/elements/diagramElementSurface.js +20 -52
- package/diagram/elements/diagramElementViewModel.d.ts +17 -0
- package/diagram/elements/{diagramElementModel.js → diagramElementViewModel.js} +22 -33
- package/diagram/elements/diagramModel.d.ts +4 -4
- package/diagram/elements/diagramModel.js +20 -17
- package/diagram/elements/diagramSurface.d.ts +7 -5
- package/diagram/elements/diagramSurface.js +28 -16
- package/diagram/initializer.d.ts +2 -2
- package/diagram/initializer.js +5 -3
- package/diagram/metadata.d.ts +2 -2
- package/diagram/metadata.js +3 -2
- package/diagram/utils.d.ts +3 -2
- package/diagram/utils.js +6 -5
- package/dist/css/dx-analytics.carmine.compact.css +5 -2
- package/dist/css/dx-analytics.carmine.css +5 -2
- package/dist/css/dx-analytics.common.css +217 -46
- package/dist/css/dx-analytics.contrast.compact.css +5 -2
- package/dist/css/dx-analytics.contrast.css +5 -2
- package/dist/css/dx-analytics.dark.compact.css +5 -2
- package/dist/css/dx-analytics.dark.css +5 -2
- package/dist/css/dx-analytics.darkmoon.compact.css +5 -2
- package/dist/css/dx-analytics.darkmoon.css +5 -2
- package/dist/css/dx-analytics.darkviolet.compact.css +5 -2
- package/dist/css/dx-analytics.darkviolet.css +5 -2
- package/dist/css/dx-analytics.greenmist.compact.css +5 -2
- package/dist/css/dx-analytics.greenmist.css +5 -2
- package/dist/css/dx-analytics.light.compact.css +5 -2
- package/dist/css/dx-analytics.light.css +5 -2
- package/dist/css/dx-analytics.material.blue.dark.compact.css +788 -181
- package/dist/css/dx-analytics.material.blue.dark.css +788 -181
- package/dist/css/dx-analytics.material.blue.light.compact.css +743 -152
- package/dist/css/dx-analytics.material.blue.light.css +743 -152
- package/dist/css/dx-analytics.material.lime.dark.compact.css +788 -181
- package/dist/css/dx-analytics.material.lime.dark.css +788 -181
- package/dist/css/dx-analytics.material.lime.light.compact.css +743 -152
- package/dist/css/dx-analytics.material.lime.light.css +743 -152
- package/dist/css/dx-analytics.material.orange.dark.compact.css +788 -181
- package/dist/css/dx-analytics.material.orange.dark.css +788 -181
- package/dist/css/dx-analytics.material.orange.light.compact.css +743 -152
- package/dist/css/dx-analytics.material.orange.light.css +743 -152
- package/dist/css/dx-analytics.material.purple.dark.compact.css +788 -181
- package/dist/css/dx-analytics.material.purple.dark.css +788 -181
- package/dist/css/dx-analytics.material.purple.light.compact.css +743 -152
- package/dist/css/dx-analytics.material.purple.light.css +743 -152
- package/dist/css/dx-analytics.material.teal.dark.compact.css +788 -181
- package/dist/css/dx-analytics.material.teal.dark.css +788 -181
- package/dist/css/dx-analytics.material.teal.light.compact.css +743 -152
- package/dist/css/dx-analytics.material.teal.light.css +743 -152
- package/dist/css/dx-analytics.softblue.compact.css +5 -2
- package/dist/css/dx-analytics.softblue.css +5 -2
- package/dist/css/dx-querybuilder.css +272 -34
- package/dist/js/dx-analytics-core.d.ts +3969 -2658
- package/dist/js/dx-analytics-core.js +9319 -8350
- package/dist/js/dx-analytics-core.min.js +3 -3
- package/dist/js/dx-querybuilder.js +14158 -9928
- package/dist/js/dx-querybuilder.min.js +3 -3
- package/dx-analytics-core-imports.d.ts +2 -4
- package/dx-analytics-core-imports.js +2 -4
- package/dx-analytics-core-svg-templates.d.ts +2 -2
- package/dx-analytics-core-svg-templates.js +6 -5
- package/dx-analytics-core-templates.d.ts +2 -2
- package/dx-analytics-core-templates.js +25 -20
- package/dx-analytics-core.d.ts +3 -3
- package/dx-analytics-core.js +3 -3
- package/dx-query-builder-templates.d.ts +2 -2
- package/dx-query-builder-templates.js +27 -14
- package/dx-querybuilder-imports.d.ts +2 -2
- package/dx-querybuilder-imports.js +2 -2
- package/dx-querybuilder.d.ts +2 -2
- package/dx-querybuilder.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/less/colors/material.dark-colors.less +9 -0
- package/less/colors/material.light-colors.less +5 -0
- package/less/common.less +7 -0
- package/less/dx-material.blue.dark-style.less +2 -2
- package/less/dx-material.blue.light-style.less +2 -2
- package/less/dx-material.dark.fix-varialbles.less +23 -0
- package/less/dx-material.fix-style.less +948 -236
- package/less/dx-material.light.fix-varialbles.less +5 -0
- package/less/dx-material.lime.dark-style.less +3 -2
- package/less/dx-material.lime.light-style.less +3 -2
- package/less/dx-material.orange.dark-style.less +3 -2
- package/less/dx-material.orange.light-style.less +3 -2
- package/less/dx-material.purple.dark-style.less +3 -2
- package/less/dx-material.purple.light-style.less +3 -2
- package/less/dx-material.teal.dark-style.less +3 -2
- package/less/dx-material.teal.light-style.less +3 -2
- package/less/dx-variable-style.less +5 -0
- package/package.json +2 -2
- package/property-grid/_legacy.d.ts +2 -2
- package/property-grid/_legacy.js +2 -2
- package/property-grid/_propertiesAccessibilityProvider.d.ts +2 -2
- package/property-grid/_propertiesAccessibilityProvider.js +3 -2
- package/property-grid/bindings.d.ts +2 -2
- package/property-grid/bindings.js +10 -2
- package/property-grid/internal/_addon.d.ts +2 -2
- package/property-grid/internal/_addon.js +18 -15
- package/property-grid/internal/_codeResolver.d.ts +3 -2
- package/property-grid/internal/_codeResolver.js +3 -2
- package/property-grid/internal/_popupService.d.ts +2 -2
- package/property-grid/internal/_popupService.js +3 -2
- package/property-grid/localization/_localization.d.ts +3 -2
- package/property-grid/localization/_localization.js +3 -2
- package/property-grid/localization/_localizationStringIds.d.ts +2 -2
- package/property-grid/localization/_localizationStringIds.js +3 -2
- package/property-grid/localization/localization.d.ts +2 -2
- package/property-grid/localization/localization.js +3 -2
- package/property-grid/localization/localization_utils.d.ts +2 -2
- package/property-grid/localization/localization_utils.js +3 -2
- package/property-grid/propertygrid.d.ts +2 -2
- package/property-grid/propertygrid.js +19 -16
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_bindings.js +2 -2
- package/property-grid/widgets/collectioneditor/_editor.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_editor.js +18 -15
- package/property-grid/widgets/editor.d.ts +4 -4
- package/property-grid/widgets/editor.js +20 -17
- package/property-grid/widgets/editorValidator.d.ts +6 -4
- package/property-grid/widgets/editorValidator.js +20 -17
- package/property-grid/widgets/editorsInfo.d.ts +2 -2
- package/property-grid/widgets/editorsInfo.js +3 -2
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +4 -2
- package/property-grid/widgets/ellipsiseditor/_editor.js +18 -15
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +2 -2
- package/property-grid/widgets/fileimageeditor/_editor.js +18 -15
- package/property-grid/widgets/fonteditor/_fonts.d.ts +2 -2
- package/property-grid/widgets/fonteditor/_fonts.js +3 -2
- package/property-grid/widgets/fonteditor/_model.d.ts +2 -2
- package/property-grid/widgets/fonteditor/_model.js +18 -15
- package/property-grid/widgets/fonteditor/editor.d.ts +2 -2
- package/property-grid/widgets/fonteditor/editor.js +18 -15
- package/property-grid/widgets/fonteditor/metadata.d.ts +2 -2
- package/property-grid/widgets/fonteditor/metadata.js +3 -2
- package/property-grid/widgets/guideditor.d.ts +2 -2
- package/property-grid/widgets/guideditor.js +18 -15
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +2 -2
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +7 -3
- package/property-grid/widgets/internal/_internal.d.ts +2 -2
- package/property-grid/widgets/internal/_internal.js +3 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +4 -5
- package/property-grid/widgets/internal/_svgTemplateEngine.js +5 -7
- package/property-grid/widgets/internal/_utils.d.ts +4 -2
- package/property-grid/widgets/internal/_utils.js +7 -3
- package/property-grid/widgets/registerBaseEdtior.d.ts +2 -2
- package/property-grid/widgets/registerBaseEdtior.js +3 -2
- package/property-grid/widgets/templateUtils.d.ts +2 -2
- package/property-grid/widgets/templateUtils.js +3 -2
- package/query-builder/_accordionTabInfo.d.ts +6 -2
- package/query-builder/_accordionTabInfo.js +34 -15
- package/query-builder/_bindings.d.ts +2 -2
- package/query-builder/_bindings.js +2 -2
- package/query-builder/_initializer.d.ts +10 -4
- package/query-builder/_initializer.js +113 -59
- package/query-builder/_legacy.d.ts +2 -2
- package/query-builder/_legacy.js +2 -2
- package/query-builder/_queryBuilderModel.d.ts +3 -2
- package/query-builder/_queryBuilderModel.js +2 -2
- package/query-builder/binding/eventGenerator.d.ts +2 -2
- package/query-builder/binding/eventGenerator.js +3 -2
- package/query-builder/binding/jsQueryBuilder.d.ts +5 -4
- package/query-builder/binding/jsQueryBuilder.js +6 -5
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +3 -2
- package/query-builder/binding/jsQueryBuilderBinding.js +29 -15
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +7 -4
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +2 -2
- package/query-builder/dataSource/_dbSchema.d.ts +2 -2
- package/query-builder/dataSource/_dbSchema.js +3 -2
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +3 -2
- package/query-builder/dataSource/_dbSchemaProvider.js +3 -2
- package/query-builder/dataSource/_utils.d.ts +4 -4
- package/query-builder/dataSource/_utils.js +7 -5
- package/query-builder/dataSource/dataSourceParameter.d.ts +3 -4
- package/query-builder/dataSource/dataSourceParameter.js +23 -23
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +3 -2
- package/query-builder/dataSource/dataSourceParameterMeta.js +8 -4
- package/query-builder/dataSource/dbColumn.d.ts +2 -2
- package/query-builder/dataSource/dbColumn.js +3 -2
- package/query-builder/dataSource/dbForeignKey.d.ts +2 -2
- package/query-builder/dataSource/dbForeignKey.js +3 -2
- package/query-builder/dataSource/dbSchema.d.ts +2 -2
- package/query-builder/dataSource/dbSchema.js +3 -2
- package/query-builder/dataSource/dbSchemaProvider.d.ts +6 -5
- package/query-builder/dataSource/dbSchemaProvider.js +18 -15
- package/query-builder/dataSource/dbStoredProcedure.d.ts +2 -2
- package/query-builder/dataSource/dbStoredProcedure.js +3 -2
- package/query-builder/dataSource/dbTable.d.ts +2 -2
- package/query-builder/dataSource/dbTable.js +3 -2
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.d.ts +21 -0
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.js +67 -0
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +30 -0
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +78 -0
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +22 -0
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +62 -0
- package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +26 -0
- package/query-builder/dataSource/federation/federatedQueries/subNode.js +103 -0
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +36 -0
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +85 -0
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +28 -0
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +60 -0
- package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +31 -0
- package/query-builder/dataSource/federation/federatedQueriesContainer.js +126 -0
- package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +25 -0
- package/query-builder/dataSource/federation/federatedQueryExpression.js +39 -0
- package/query-builder/dataSource/federation/federationDataSource.d.ts +43 -0
- package/query-builder/dataSource/federation/federationDataSource.js +95 -0
- package/query-builder/dataSource/federation/federationDataSourceMeta.d.ts +10 -0
- package/query-builder/dataSource/federation/federationDataSourceMeta.js +29 -0
- package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +12 -0
- package/query-builder/dataSource/federation/federationMasterDetailRelation.js +59 -0
- package/query-builder/dataSource/federation/federationSerializableModel.d.ts +29 -0
- package/query-builder/dataSource/federation/federationSerializableModel.js +95 -0
- package/query-builder/dataSource/federation/federationSource.d.ts +19 -0
- package/query-builder/dataSource/federation/federationSource.js +62 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +3 -2
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +3 -2
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +2 -2
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +3 -2
- package/query-builder/dataSource/json/jsonDataSource.d.ts +3 -2
- package/query-builder/dataSource/json/jsonDataSource.js +18 -15
- package/query-builder/dataSource/json/jsonParameter.d.ts +2 -2
- package/query-builder/dataSource/json/jsonParameter.js +18 -15
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSchemaNode.js +18 -15
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +3 -2
- package/query-builder/dataSource/json/jsonSchemaProvider.js +18 -15
- package/query-builder/dataSource/json/jsonSource.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSource.js +18 -15
- package/query-builder/dataSource/object/objectDataSource.d.ts +2 -2
- package/query-builder/dataSource/object/objectDataSource.js +18 -15
- package/query-builder/dataSource/object/objectSchema.d.ts +2 -2
- package/query-builder/dataSource/object/objectSchema.js +18 -15
- package/query-builder/dataSource/resultSet.d.ts +3 -3
- package/query-builder/dataSource/resultSet.js +3 -2
- package/query-builder/dataSource/resultTable.d.ts +2 -2
- package/query-builder/dataSource/resultTable.js +3 -2
- package/query-builder/dataSource/sql/connectionOptions.d.ts +2 -2
- package/query-builder/dataSource/sql/connectionOptions.js +3 -2
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/customSqlQuery.js +3 -2
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +3 -2
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +2 -2
- package/query-builder/dataSource/sql/masterDetailRelation.js +18 -15
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +3 -2
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +2 -2
- package/query-builder/dataSource/sql/sqlDataConnection.js +3 -2
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +7 -4
- package/query-builder/dataSource/sql/sqlDataSource.js +18 -15
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/storedProcQuery.js +3 -2
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +3 -2
- package/query-builder/dataSource/sql/tableQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/tableQuery.js +3 -2
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/tableQueryMeta.js +3 -2
- package/query-builder/dataSource/utils.d.ts +20 -4
- package/query-builder/dataSource/utils.js +10 -2
- package/query-builder/dragDrop/_columnDragHandler.d.ts +3 -2
- package/query-builder/dragDrop/_columnDragHandler.js +19 -15
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +7 -7
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +44 -39
- package/query-builder/elements/_federationColumnModel.d.ts +21 -0
- package/query-builder/elements/_federationColumnModel.js +51 -0
- package/query-builder/elements/_federationQueryModel.d.ts +58 -0
- package/query-builder/elements/_federationQueryModel.js +181 -0
- package/query-builder/elements/allColumnsModel.d.ts +3 -2
- package/query-builder/elements/allColumnsModel.js +25 -18
- package/query-builder/elements/allColumnsModelMeta.d.ts +2 -2
- package/query-builder/elements/allColumnsModelMeta.js +3 -2
- package/query-builder/elements/allColumnsSurface.d.ts +2 -2
- package/query-builder/elements/allColumnsSurface.js +18 -15
- package/query-builder/elements/columnExpression.d.ts +9 -5
- package/query-builder/elements/columnExpression.js +18 -6
- package/query-builder/elements/columnExpressionMeta.d.ts +3 -2
- package/query-builder/elements/columnExpressionMeta.js +5 -3
- package/query-builder/elements/columnModel.d.ts +3 -3
- package/query-builder/elements/columnModel.js +19 -16
- package/query-builder/elements/columnModelMeta.d.ts +2 -2
- package/query-builder/elements/columnModelMeta.js +3 -2
- package/query-builder/elements/columnSurface.d.ts +2 -2
- package/query-builder/elements/columnSurface.js +18 -15
- package/query-builder/elements/joinConditionModel.d.ts +2 -2
- package/query-builder/elements/joinConditionModel.js +18 -15
- package/query-builder/elements/joinConditionModelMeta.d.ts +2 -2
- package/query-builder/elements/joinConditionModelMeta.js +3 -2
- package/query-builder/elements/joinConditionSurface.d.ts +2 -2
- package/query-builder/elements/joinConditionSurface.js +18 -15
- package/query-builder/elements/parameterModel.d.ts +2 -2
- package/query-builder/elements/parameterModel.js +18 -15
- package/query-builder/elements/parameterModelMeta.d.ts +2 -2
- package/query-builder/elements/parameterModelMeta.js +3 -2
- package/query-builder/elements/queryElementModel.d.ts +2 -2
- package/query-builder/elements/queryElementModel.js +18 -15
- package/query-builder/elements/queryElementSurface.d.ts +2 -2
- package/query-builder/elements/queryElementSurface.js +18 -15
- package/query-builder/elements/queryModel.d.ts +40 -29
- package/query-builder/elements/queryModel.js +240 -211
- package/query-builder/elements/queryModelMeta.d.ts +2 -2
- package/query-builder/elements/queryModelMeta.js +3 -2
- package/query-builder/elements/querySurface.d.ts +5 -5
- package/query-builder/elements/querySurface.js +18 -15
- package/query-builder/elements/relationModel.d.ts +4 -4
- package/query-builder/elements/relationModel.js +18 -15
- package/query-builder/elements/relationModelMeta.d.ts +2 -2
- package/query-builder/elements/relationModelMeta.js +3 -2
- package/query-builder/elements/relationSurface.d.ts +2 -2
- package/query-builder/elements/relationSurface.js +18 -15
- package/query-builder/elements/tableModel.d.ts +11 -8
- package/query-builder/elements/tableModel.js +33 -24
- package/query-builder/elements/tableModelMeta.d.ts +2 -2
- package/query-builder/elements/tableModelMeta.js +4 -3
- package/query-builder/elements/tableSurface.d.ts +4 -2
- package/query-builder/elements/tableSurface.js +20 -15
- package/query-builder/initializer.d.ts +2 -2
- package/query-builder/initializer.js +3 -2
- package/query-builder/metadata.d.ts +2 -2
- package/query-builder/metadata.js +3 -2
- package/query-builder/utils/_callbacks.d.ts +2 -2
- package/query-builder/utils/_callbacks.js +2 -2
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +9 -5
- package/query-builder/utils/_columnExpressionCollectionHelper.js +46 -5
- package/query-builder/utils/_controlsFactory.d.ts +2 -2
- package/query-builder/utils/_controlsFactory.js +32 -11
- package/query-builder/utils/_dataConnection.d.ts +9 -0
- package/query-builder/utils/_dataConnection.js +20 -0
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +22 -0
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.js +70 -0
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +8 -4
- package/query-builder/utils/_queryBuilderTreeListController.js +27 -23
- package/query-builder/utils/_requestwrapper.d.ts +9 -3
- package/query-builder/utils/_requestwrapper.js +10 -11
- package/query-builder/utils/controlsFactory.d.ts +3 -3
- package/query-builder/utils/controlsFactory.js +3 -2
- package/query-builder/utils/requestwrapper.d.ts +7 -2
- package/query-builder/utils/requestwrapper.js +16 -7
- package/query-builder/widgets/_federatedQueriesHelper.d.ts +32 -0
- package/query-builder/widgets/_federatedQueriesHelper.js +99 -0
- package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +32 -0
- package/query-builder/widgets/_manageFederatedQueriesEditor.js +159 -0
- package/query-builder/widgets/_rightPanelSwitcher.d.ts +27 -0
- package/query-builder/widgets/_rightPanelSwitcher.js +63 -0
- package/query-builder/widgets/_undoEditor.d.ts +2 -2
- package/query-builder/widgets/_undoEditor.js +18 -15
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +2 -2
- package/query-builder/widgets/ace/_ace-mode-sql.js +2 -2
- package/query-builder/widgets/ace/_options.d.ts +2 -2
- package/query-builder/widgets/ace/_options.js +3 -2
- package/query-builder/widgets/editorTemplates.d.ts +2 -2
- package/query-builder/widgets/editorTemplates.js +3 -2
- package/query-builder/widgets/expressionFunctions.d.ts +2 -2
- package/query-builder/widgets/expressionFunctions.js +3 -2
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +22 -19
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +3 -3
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +19 -16
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +18 -15
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +22 -19
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +18 -15
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +3 -2
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +3 -2
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +4 -3
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +5 -6
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +33 -23
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +3 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +3 -2
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +3 -2
- package/query-builder/widgets/registerEditorTemplates.d.ts +2 -2
- package/query-builder/widgets/registerEditorTemplates.js +3 -2
- package/query-builder/wizard/chooseAvailablePage.d.ts +9 -7
- package/query-builder/wizard/chooseAvailablePage.js +24 -21
- package/query-builder/wizard/dataSourceWizard.d.ts +20 -14
- package/query-builder/wizard/dataSourceWizard.js +43 -28
- package/query-builder/wizard/dataSourceWizardState.d.ts +14 -4
- package/query-builder/wizard/dataSourceWizardState.js +28 -7
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +5 -6
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +29 -26
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +5 -4
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +18 -15
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +18 -15
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +3 -3
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +18 -15
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +6 -14
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +24 -32
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.d.ts +18 -0
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +88 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +22 -18
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +4 -3
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +23 -21
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +23 -19
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +4 -4
- package/query-builder/wizard/internal/_configureParametersUtils.js +20 -17
- package/query-builder/wizard/internal/_constants.d.ts +9 -0
- package/query-builder/wizard/internal/_constants.js +12 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +8 -7
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +18 -15
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +2 -2
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +18 -15
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +3 -2
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +29 -17
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +2 -3
- package/query-builder/wizard/internal/_jsonSourceSettings.js +46 -49
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +18 -15
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +33 -15
- package/query-builder/wizard/internal/_queryBuilderPopup.js +72 -35
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +3 -2
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +3 -2
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +4 -3
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +19 -16
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +6 -4
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +20 -17
- package/query-builder/wizard/internal/_treeListNode.d.ts +12 -9
- package/query-builder/wizard/internal/_treeListNode.js +25 -16
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +4 -2
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +23 -17
- package/query-builder/wizard/internal/_utils.d.ts +32 -8
- package/query-builder/wizard/internal/_utils.js +39 -25
- package/query-builder/wizard/internal/_wizardAction.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardAction.js +3 -2
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +4 -3
- package/query-builder/wizard/internal/_wizardPageProcessor.js +21 -18
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +3 -3
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +18 -15
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +5 -3
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +3 -2
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +4 -3
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +20 -17
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +33 -0
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +74 -0
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +16 -0
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.js +40 -0
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +51 -0
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +112 -0
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +69 -0
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +388 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +16 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +38 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +36 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +215 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +16 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +58 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +26 -0
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +108 -0
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +31 -0
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +184 -0
- package/query-builder/wizard/internal/initializer.d.ts +2 -2
- package/query-builder/wizard/internal/initializer.js +2 -2
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +2 -2
- package/query-builder/wizard/internal/jsonSourceSettings.js +3 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +18 -15
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +18 -15
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +18 -15
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +3 -2
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +18 -15
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +3 -3
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +2 -2
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +6 -6
- package/query-builder/wizard/multiQueryDataSourceWizard.js +42 -26
- package/query-builder/wizard/pageFactory.d.ts +4 -4
- package/query-builder/wizard/pageFactory.js +3 -2
- package/query-builder/wizard/pageId.d.ts +10 -2
- package/query-builder/wizard/pageId.js +13 -4
- package/query-builder/wizard/pageIterator.d.ts +9 -6
- package/query-builder/wizard/pageIterator.js +25 -18
- package/query-builder/wizard/pages/IWizardPage.d.ts +17 -0
- package/query-builder/wizard/pages/IWizardPage.js +9 -0
- package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +26 -0
- package/query-builder/wizard/pages/{wizardPage.js → __wrappedWizardPage.js} +21 -48
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +8 -6
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +26 -19
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +6 -5
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +20 -17
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +31 -0
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +81 -0
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +70 -0
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +160 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +5 -4
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +20 -17
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +4 -3
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +20 -17
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +4 -3
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +22 -18
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +4 -3
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +18 -15
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +9 -21
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +26 -101
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +34 -0
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +128 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +10 -8
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +26 -24
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +6 -5
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +22 -19
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +8 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +22 -19
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +7 -6
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +21 -18
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +6 -5
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +20 -17
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +21 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +53 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +5 -4
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +22 -19
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +6 -18
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +23 -63
- package/query-builder/wizard/pages/wizardPageBase.d.ts +20 -0
- package/query-builder/wizard/pages/wizardPageBase.js +57 -0
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +3 -3
- package/query-builder/wizard/pages/wizardPageMetadata.js +2 -2
- package/query-builder/wizard/popupWizard.d.ts +6 -3
- package/query-builder/wizard/popupWizard.js +24 -17
- package/query-builder/wizard/stateManager.d.ts +2 -2
- package/query-builder/wizard/stateManager.js +3 -2
- package/query-builder/wizard/wizard.d.ts +7 -7
- package/query-builder/wizard/wizard.js +23 -21
- package/query-builder/wizard/wizardEventManager.d.ts +3 -3
- package/query-builder/wizard/wizardEventManager.js +2 -2
- package/queryBuilder-elements-metadata.d.ts +2 -2
- package/queryBuilder-elements-metadata.js +20 -13
- package/queryBuilder-elements.d.ts +2 -2
- package/queryBuilder-elements.js +28 -21
- package/queryBuilder-internal.d.ts +10 -2
- package/queryBuilder-internal.js +31 -13
- package/queryBuilder-metadata.d.ts +2 -2
- package/queryBuilder-metadata.js +13 -6
- package/queryBuilder-utils.d.ts +2 -2
- package/queryBuilder-utils.js +16 -9
- package/queryBuilder-widgets-internal.d.ts +8 -2
- package/queryBuilder-widgets-internal.js +33 -19
- package/queryBuilder-widgets.d.ts +2 -2
- package/queryBuilder-widgets.js +13 -6
- package/querybuilder.d.ts +2 -2
- package/querybuilder.js +16 -8
- package/serializer/_internal.d.ts +2 -2
- package/serializer/_internal.js +3 -2
- package/serializer/_legacy.d.ts +2 -2
- package/serializer/_legacy.js +2 -2
- package/serializer/_utils.d.ts +2 -2
- package/serializer/_utils.js +3 -2
- package/serializer/eventManager.d.ts +2 -2
- package/serializer/eventManager.js +18 -15
- package/serializer/serializationInfo.d.ts +2 -2
- package/serializer/serializationInfo.js +2 -2
- package/serializer/serializer.d.ts +2 -2
- package/serializer/serializer.js +3 -2
- package/serializer/utils.d.ts +2 -2
- package/serializer/utils.js +3 -2
- package/undo-engine/_legacy.d.ts +2 -2
- package/undo-engine/_legacy.js +2 -2
- package/undo-engine/_utils.d.ts +2 -2
- package/undo-engine/_utils.js +3 -2
- package/undo-engine/undoengine.d.ts +3 -3
- package/undo-engine/undoengine.js +21 -17
- package/utils/theme-builder.js +2 -2
- package/widgets/_legacy.d.ts +2 -2
- package/widgets/_legacy.js +2 -2
- package/widgets/_searchHighlighting.d.ts +2 -2
- package/widgets/_searchHighlighting.js +18 -15
- package/widgets/_utils.d.ts +4 -2
- package/widgets/_utils.js +9 -7
- package/widgets/ace/_ace-available.d.ts +2 -2
- package/widgets/ace/_ace-available.js +3 -2
- package/widgets/ace/_ace-mode-criteria.d.ts +2 -2
- package/widgets/ace/_ace-mode-criteria.js +2 -2
- package/widgets/ace/_ace-mode-doc-comment.d.ts +2 -2
- package/widgets/ace/_ace-mode-doc-comment.js +2 -2
- package/widgets/ace/_binding.d.ts +2 -2
- package/widgets/ace/_binding.js +2 -2
- package/widgets/bindings.d.ts +2 -2
- package/widgets/bindings.js +2 -2
- package/widgets/common/_codeCompletor.d.ts +3 -2
- package/widgets/common/_codeCompletor.js +20 -17
- package/widgets/common/_displayNameProvider.d.ts +3 -2
- package/widgets/common/_displayNameProvider.js +7 -6
- package/widgets/common/displayNameProvider.d.ts +3 -2
- package/widgets/common/displayNameProvider.js +2 -2
- package/widgets/common/pathRequest.d.ts +2 -2
- package/widgets/common/pathRequest.js +3 -2
- package/widgets/criteria/operators/aggregate.d.ts +14 -28
- package/widgets/criteria/operators/aggregate.js +75 -42
- package/widgets/criteria/operators/between.d.ts +11 -16
- package/widgets/criteria/operators/between.js +38 -32
- package/widgets/criteria/operators/binary.d.ts +13 -33
- package/widgets/criteria/operators/binary.js +38 -44
- package/widgets/criteria/operators/constant.d.ts +7 -5
- package/widgets/criteria/operators/constant.js +23 -16
- package/widgets/criteria/operators/criteriaOperator.d.ts +16 -53
- package/widgets/criteria/operators/criteriaOperator.js +20 -218
- package/widgets/criteria/operators/function.d.ts +14 -151
- package/widgets/criteria/operators/function.js +35 -164
- package/widgets/criteria/operators/group.d.ts +11 -18
- package/widgets/criteria/operators/group.js +51 -36
- package/widgets/criteria/operators/in.d.ts +12 -15
- package/widgets/criteria/operators/in.js +31 -21
- package/widgets/criteria/operators/join.d.ts +8 -14
- package/widgets/criteria/operators/join.js +20 -17
- package/widgets/criteria/operators/options/aggregate.d.ts +14 -0
- package/widgets/criteria/operators/options/aggregate.js +9 -0
- package/widgets/criteria/operators/options/between.d.ts +13 -0
- package/widgets/criteria/operators/options/between.js +9 -0
- package/widgets/criteria/operators/options/binary.d.ts +30 -0
- package/widgets/criteria/operators/options/binary.js +28 -0
- package/widgets/criteria/operators/options/function.d.ts +148 -0
- package/widgets/criteria/operators/options/function.js +148 -0
- package/widgets/criteria/operators/options/group.d.ts +16 -0
- package/widgets/criteria/operators/options/group.js +15 -0
- package/widgets/criteria/operators/options/in.d.ts +12 -0
- package/widgets/criteria/operators/options/in.js +9 -0
- package/widgets/criteria/operators/options/join.d.ts +14 -0
- package/widgets/criteria/operators/options/join.js +9 -0
- package/widgets/criteria/operators/options/parameter.d.ts +11 -0
- package/widgets/criteria/operators/options/parameter.js +9 -0
- package/widgets/criteria/operators/options/property.d.ts +14 -0
- package/widgets/criteria/operators/options/property.js +9 -0
- package/widgets/criteria/operators/options/unary.d.ts +19 -0
- package/widgets/criteria/operators/options/unary.js +18 -0
- package/widgets/criteria/operators/options/value.d.ts +10 -0
- package/widgets/criteria/operators/options/value.js +9 -0
- package/widgets/criteria/operators/parameter.d.ts +6 -9
- package/widgets/criteria/operators/parameter.js +24 -17
- package/widgets/criteria/operators/property.d.ts +7 -13
- package/widgets/criteria/operators/property.js +25 -18
- package/widgets/criteria/operators/unary.d.ts +10 -19
- package/widgets/criteria/operators/unary.js +35 -32
- package/widgets/criteria/operators/value.d.ts +5 -7
- package/widgets/criteria/operators/value.js +24 -17
- package/widgets/criteria/parser/criteriaparser.d.ts +2 -2
- package/widgets/criteria/parser/criteriaparser.js +74 -126
- package/widgets/criteria/utils/criteriaChangeOperator.d.ts +21 -0
- package/widgets/criteria/utils/criteriaChangeOperator.js +9 -0
- package/widgets/criteria/utils/criteriaEnumeration.d.ts +9 -0
- package/widgets/criteria/{utils.js → utils/criteriaEnumeration.js} +5 -14
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.d.ts +38 -0
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.js +60 -0
- package/widgets/criteria/utils/criteriaOperatorStateMachine.d.ts +38 -0
- package/widgets/criteria/utils/criteriaOperatorStateMachine.js +124 -0
- package/widgets/criteria/utils/criteriaOperatorVisitor.d.ts +32 -0
- package/widgets/criteria/utils/criteriaOperatorVisitor.js +9 -0
- package/widgets/criteria/utils/criteriaProcessType.d.ts +36 -0
- package/widgets/criteria/utils/criteriaProcessType.js +9 -0
- package/widgets/criteria/utils/operatorTokens.d.ts +17 -0
- package/widgets/criteria/utils/operatorTokens.js +20 -0
- package/widgets/criteria/utils/propertyLocation.d.ts +11 -0
- package/widgets/criteria/utils/propertyLocation.js +9 -0
- package/widgets/expressioneditor/_expressioneditor.d.ts +7 -16
- package/widgets/expressioneditor/_expressioneditor.js +3 -2
- package/widgets/expressioneditor/bindings.d.ts +2 -2
- package/widgets/expressioneditor/bindings.js +2 -2
- package/widgets/expressioneditor/expressioneditor.d.ts +35 -13
- package/widgets/expressioneditor/expressioneditor.js +52 -29
- package/widgets/expressioneditor/tools/_functions.d.ts +2 -2
- package/widgets/expressioneditor/tools/_functions.js +25 -16
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +2 -2
- package/widgets/expressioneditor/tools/_operatorNames.js +3 -2
- package/widgets/expressioneditor/tools/_tools.d.ts +14 -6
- package/widgets/expressioneditor/tools/_tools.js +27 -25
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +9 -12
- package/widgets/expressioneditor/tools/_treeListControllers.js +22 -18
- package/widgets/filtereditor/filtereditor.d.ts +11 -9
- package/widgets/filtereditor/filtereditor.js +48 -45
- package/widgets/filtereditor/filtereditoroptions.d.ts +2 -2
- package/widgets/filtereditor/filtereditoroptions.js +3 -2
- package/widgets/filtereditor/helpers/_addon.d.ts +2 -2
- package/widgets/filtereditor/helpers/_addon.js +18 -15
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +2 -2
- package/widgets/filtereditor/helpers/_codeCompletor.js +21 -18
- package/widgets/filtereditor/helpers/_helper.d.ts +2 -2
- package/widgets/filtereditor/helpers/_helper.js +3 -2
- package/widgets/filtereditor/helpers/_serializer.d.ts +18 -18
- package/widgets/filtereditor/helpers/_serializer.js +19 -15
- package/widgets/filtereditor/helpers/_treelistController.d.ts +2 -2
- package/widgets/filtereditor/helpers/_treelistController.js +18 -15
- package/widgets/filtereditor/helpers/_validator.d.ts +2 -2
- package/widgets/filtereditor/helpers/_validator.js +3 -2
- package/widgets/filtereditor/helpers/helper.d.ts +37 -47
- package/widgets/filtereditor/helpers/helper.js +104 -102
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +23 -21
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/betweenOperandSurface.js +20 -17
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/binaryOperandSurface.js +20 -17
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +10 -9
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +25 -23
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +5 -5
- package/widgets/filtereditor/operators/functionOperandSurface.js +22 -19
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +3 -3
- package/widgets/filtereditor/operators/groupOperandSurface.js +19 -16
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/inOperandSurface.js +20 -17
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/operandParameterSurface.js +20 -17
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +4 -4
- package/widgets/filtereditor/operators/operandPropertySurface.js +20 -17
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +4 -4
- package/widgets/filtereditor/operators/operandSurfaceBase.js +19 -16
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/operandValueSurface.js +21 -18
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +4 -4
- package/widgets/filtereditor/operators/unaryOperandSurface.js +23 -19
- package/widgets/formatstring/_patterns.d.ts +2 -2
- package/widgets/formatstring/_patterns.js +3 -2
- package/widgets/formatstring/binding.d.ts +2 -2
- package/widgets/formatstring/binding.js +2 -2
- package/widgets/formatstring/formatstringeditor.d.ts +6 -4
- package/widgets/formatstring/formatstringeditor.js +22 -19
- package/widgets/internal/_dxtInherit.d.ts +2 -2
- package/widgets/internal/_dxtInherit.js +3 -2
- package/widgets/internal/_popupComponentBase.d.ts +29 -0
- package/widgets/internal/_popupComponentBase.js +54 -0
- package/widgets/internal/_popupwithautoheight.d.ts +2 -2
- package/widgets/internal/_popupwithautoheight.js +18 -15
- package/widgets/internal/_resizeHelper.d.ts +25 -0
- package/widgets/internal/_resizeHelper.js +46 -0
- package/widgets/internal/_valueEditorHelper.d.ts +4 -4
- package/widgets/internal/_valueEditorHelper.js +3 -2
- package/widgets/treelist/_binding.d.ts +2 -2
- package/widgets/treelist/_binding.js +2 -2
- package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +2 -2
- package/widgets/treelist/_reorderTreeListDragDropHelper.js +18 -15
- package/widgets/treelist/_treeListSearchViewModel.d.ts +2 -2
- package/widgets/treelist/_treeListSearchViewModel.js +18 -15
- package/widgets/treelist/_treelistController.d.ts +5 -4
- package/widgets/treelist/_treelistController.js +7 -3
- package/widgets/treelist/_treelistItem.d.ts +18 -14
- package/widgets/treelist/_treelistItem.js +37 -29
- package/widgets/treelist/options.d.ts +2 -2
- package/widgets/treelist/options.js +3 -2
- package/widgets/utils.d.ts +7 -4
- package/widgets/utils.js +2 -2
- package/query-builder/wizard/pages/wizardPage.d.ts +0 -42
- package/widgets/criteria/criteriaOperatorPreprocessor.d.ts +0 -49
- package/widgets/criteria/criteriaOperatorPreprocessor.js +0 -124
- package/widgets/criteria/utils.d.ts +0 -47
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\criteriaOperatorStateMachine.d.ts)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import { CriteriaOperator } from '../operators/criteriaOperator';
|
|
9
|
+
export interface _IToken {
|
|
10
|
+
type: string;
|
|
11
|
+
val?: string;
|
|
12
|
+
start: number;
|
|
13
|
+
end: number;
|
|
14
|
+
}
|
|
15
|
+
export declare class MachineState {
|
|
16
|
+
private tokenName;
|
|
17
|
+
private alphabet;
|
|
18
|
+
private startTerm;
|
|
19
|
+
private endTerm;
|
|
20
|
+
private tokenLength;
|
|
21
|
+
isActiveState: boolean;
|
|
22
|
+
tokens: _IToken[];
|
|
23
|
+
constructor(tokenName: 'comment' | 'field' | 'value', alphabet: string, startTerm: string, endTerm: string);
|
|
24
|
+
private _isSubline;
|
|
25
|
+
private _getToken;
|
|
26
|
+
processTransitionFunction(pos: number): number;
|
|
27
|
+
}
|
|
28
|
+
export declare class CriteriaOperatorStateMachine {
|
|
29
|
+
private stringCriteria;
|
|
30
|
+
static parse(stringCriteria: string, saveOriginalStringLength?: boolean): CriteriaOperator;
|
|
31
|
+
private machineStates;
|
|
32
|
+
private _inputStringCriteria;
|
|
33
|
+
constructor(stringCriteria: string);
|
|
34
|
+
_tokenize(): _IToken[];
|
|
35
|
+
_replaceTokenToAnotherToken(tokens: _IToken[], newTokenChar: string, tokenName: string): string;
|
|
36
|
+
replaceCommentsToChar(char?: string): CriteriaOperatorStateMachine;
|
|
37
|
+
getCriteria(): CriteriaOperator;
|
|
38
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\criteriaOperatorStateMachine.js)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.CriteriaOperatorStateMachine = exports.MachineState = void 0;
|
|
11
|
+
var _utils_1 = require("../../../property-grid/widgets/internal/_utils");
|
|
12
|
+
var criteriaparser_1 = require("../parser/criteriaparser");
|
|
13
|
+
var MachineState = (function () {
|
|
14
|
+
function MachineState(tokenName, alphabet, startTerm, endTerm) {
|
|
15
|
+
this.tokenName = tokenName;
|
|
16
|
+
this.alphabet = alphabet;
|
|
17
|
+
this.startTerm = startTerm;
|
|
18
|
+
this.endTerm = endTerm;
|
|
19
|
+
this.tokenLength = 0;
|
|
20
|
+
this.isActiveState = false;
|
|
21
|
+
this.tokens = [];
|
|
22
|
+
}
|
|
23
|
+
MachineState.prototype._isSubline = function (pos, term) {
|
|
24
|
+
var result = (pos + term.length - 1 < this.alphabet.length);
|
|
25
|
+
for (var i = pos; i < (pos + term.length) && result; i++)
|
|
26
|
+
result = this.alphabet[i] == term[i - pos];
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
MachineState.prototype._getToken = function (pos) {
|
|
30
|
+
var token = {
|
|
31
|
+
type: this.tokenName, start: pos - this.tokenLength + 1, end: pos + this.endTerm.length
|
|
32
|
+
};
|
|
33
|
+
token.val = this.alphabet.substring(token.start, token.end);
|
|
34
|
+
return token;
|
|
35
|
+
};
|
|
36
|
+
MachineState.prototype.processTransitionFunction = function (pos) {
|
|
37
|
+
if (this.isActiveState) {
|
|
38
|
+
this.tokenLength++;
|
|
39
|
+
}
|
|
40
|
+
if (this._isSubline(pos, this.startTerm) && !this.isActiveState) {
|
|
41
|
+
this.isActiveState = true;
|
|
42
|
+
this.tokenLength += this.startTerm.length;
|
|
43
|
+
return this.startTerm.length - 1;
|
|
44
|
+
}
|
|
45
|
+
else if (this.isActiveState && this._isSubline(pos, this.endTerm)) {
|
|
46
|
+
this.isActiveState = false;
|
|
47
|
+
this.tokens.push(this._getToken(pos));
|
|
48
|
+
this.tokenLength = 0;
|
|
49
|
+
return this.endTerm.length - 1;
|
|
50
|
+
}
|
|
51
|
+
return 0;
|
|
52
|
+
};
|
|
53
|
+
return MachineState;
|
|
54
|
+
}());
|
|
55
|
+
exports.MachineState = MachineState;
|
|
56
|
+
var CriteriaOperatorStateMachine = (function () {
|
|
57
|
+
function CriteriaOperatorStateMachine(stringCriteria) {
|
|
58
|
+
this.stringCriteria = stringCriteria;
|
|
59
|
+
this.machineStates = [];
|
|
60
|
+
this.machineStates.push(new MachineState('field', stringCriteria, '[', ']'));
|
|
61
|
+
this.machineStates.push(new MachineState('value', stringCriteria, "'", "'"));
|
|
62
|
+
this.machineStates.push(new MachineState('comment', stringCriteria, '/*', '*/'));
|
|
63
|
+
this._inputStringCriteria = stringCriteria;
|
|
64
|
+
}
|
|
65
|
+
CriteriaOperatorStateMachine.parse = function (stringCriteria, saveOriginalStringLength) {
|
|
66
|
+
if (saveOriginalStringLength === void 0) { saveOriginalStringLength = false; }
|
|
67
|
+
if (stringCriteria && stringCriteria !== '') {
|
|
68
|
+
if (saveOriginalStringLength)
|
|
69
|
+
return new CriteriaOperatorStateMachine(stringCriteria).replaceCommentsToChar(' ').getCriteria();
|
|
70
|
+
return new CriteriaOperatorStateMachine(stringCriteria).replaceCommentsToChar().getCriteria();
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
};
|
|
74
|
+
CriteriaOperatorStateMachine.prototype._tokenize = function () {
|
|
75
|
+
var _this = this;
|
|
76
|
+
for (var i = 0; i < this.stringCriteria.length; i++) {
|
|
77
|
+
var step = 0;
|
|
78
|
+
this.machineStates.forEach(function (state) {
|
|
79
|
+
if (step)
|
|
80
|
+
return;
|
|
81
|
+
var anotherMachines = _this.machineStates.filter(function (a) { return a != state && a.isActiveState; });
|
|
82
|
+
if (!anotherMachines.length)
|
|
83
|
+
step = state.processTransitionFunction(i);
|
|
84
|
+
});
|
|
85
|
+
i += step;
|
|
86
|
+
}
|
|
87
|
+
var resultTokens = [];
|
|
88
|
+
this.machineStates.forEach(function (state) {
|
|
89
|
+
resultTokens = resultTokens.concat(state.tokens);
|
|
90
|
+
state.tokens = [];
|
|
91
|
+
});
|
|
92
|
+
return resultTokens;
|
|
93
|
+
};
|
|
94
|
+
CriteriaOperatorStateMachine.prototype._replaceTokenToAnotherToken = function (tokens, newTokenChar, tokenName) {
|
|
95
|
+
var tempCriteria = this.stringCriteria;
|
|
96
|
+
tokens = tokens.filter(function (a) { return a.type == tokenName; }).sort(function (a) { return a.start; }).reverse();
|
|
97
|
+
tokens.forEach(function (token) {
|
|
98
|
+
var lines = token.val.split('\n');
|
|
99
|
+
var start = token.start;
|
|
100
|
+
var end = token.end;
|
|
101
|
+
lines.forEach(function (line) {
|
|
102
|
+
if (line.length + start !== token.end) {
|
|
103
|
+
end = start + line.length;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
end = token.end;
|
|
107
|
+
}
|
|
108
|
+
tempCriteria = _utils_1.stringReplace(tempCriteria, start, end - start, newTokenChar);
|
|
109
|
+
start = (line.length * newTokenChar.length) + 1;
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
return tempCriteria;
|
|
113
|
+
};
|
|
114
|
+
CriteriaOperatorStateMachine.prototype.replaceCommentsToChar = function (char) {
|
|
115
|
+
if (char === void 0) { char = ''; }
|
|
116
|
+
this._inputStringCriteria = this._replaceTokenToAnotherToken(this._tokenize(), char, 'comment');
|
|
117
|
+
return this;
|
|
118
|
+
};
|
|
119
|
+
CriteriaOperatorStateMachine.prototype.getCriteria = function () {
|
|
120
|
+
return criteriaparser_1.parse(this._inputStringCriteria);
|
|
121
|
+
};
|
|
122
|
+
return CriteriaOperatorStateMachine;
|
|
123
|
+
}());
|
|
124
|
+
exports.CriteriaOperatorStateMachine = CriteriaOperatorStateMachine;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\criteriaOperatorVisitor.d.ts)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import { AggregateOperand } from '../operators/aggregate';
|
|
9
|
+
import { BetweenOperator } from '../operators/between';
|
|
10
|
+
import { BinaryOperator } from '../operators/binary';
|
|
11
|
+
import { ConstantValue } from '../operators/constant';
|
|
12
|
+
import { CriteriaOperator } from '../operators/criteriaOperator';
|
|
13
|
+
import { FunctionOperator } from '../operators/function';
|
|
14
|
+
import { GroupOperator } from '../operators/group';
|
|
15
|
+
import { InOperator } from '../operators/in';
|
|
16
|
+
import { JoinOperand } from '../operators/join';
|
|
17
|
+
import { OperandParameter } from '../operators/parameter';
|
|
18
|
+
import { OperandProperty } from '../operators/property';
|
|
19
|
+
import { UnaryOperator } from '../operators/unary';
|
|
20
|
+
export interface ICriteriaOperatorVisitor {
|
|
21
|
+
visitGroupOperator?: (element: GroupOperator) => CriteriaOperator;
|
|
22
|
+
visitOperandProperty?: (element: OperandProperty) => CriteriaOperator;
|
|
23
|
+
visitConstantValue?: (element: ConstantValue) => CriteriaOperator;
|
|
24
|
+
visitOperandParameter?: (element: OperandParameter) => CriteriaOperator;
|
|
25
|
+
visitAggregateOperand?: (element: AggregateOperand) => CriteriaOperator;
|
|
26
|
+
visitJoinOperand?: (element: JoinOperand) => CriteriaOperator;
|
|
27
|
+
visitBetweenOperator?: (element: BetweenOperator) => CriteriaOperator;
|
|
28
|
+
visitInOperator?: (element: InOperator) => CriteriaOperator;
|
|
29
|
+
visitBinaryOperator?: (element: BinaryOperator) => CriteriaOperator;
|
|
30
|
+
visitUnaryOperator?: (element: UnaryOperator) => CriteriaOperator;
|
|
31
|
+
visitFunctionOperator?: (element: FunctionOperator) => CriteriaOperator;
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\criteriaOperatorVisitor.js)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\criteriaProcessType.d.ts)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import { IAggregateOperandOptions } from '../operators/options/aggregate';
|
|
9
|
+
import { IBetweenOperatorOptions } from '../operators/options/between';
|
|
10
|
+
import { IBinaryOperatorOptions } from '../operators/options/binary';
|
|
11
|
+
import { IFunctionOperatorProperties } from '../operators/options/function';
|
|
12
|
+
import { IGroupOperatorOptions } from '../operators/options/group';
|
|
13
|
+
import { IInOperatorOptions } from '../operators/options/in';
|
|
14
|
+
import { IJoinOperandOptions } from '../operators/options/join';
|
|
15
|
+
import { IOperandParameterOptions } from '../operators/options/parameter';
|
|
16
|
+
import { IOperandPropertyOptions } from '../operators/options/property';
|
|
17
|
+
import { IUnaryOperatorOptions } from '../operators/options/unary';
|
|
18
|
+
import { IOperandValueOptions } from '../operators/options/value';
|
|
19
|
+
export declare type Nullable<T> = {
|
|
20
|
+
[K in keyof T]?: T[K];
|
|
21
|
+
};
|
|
22
|
+
export declare type CriteriaProcessType = {
|
|
23
|
+
'join': Nullable<IJoinOperandOptions>;
|
|
24
|
+
'between': Nullable<IBetweenOperatorOptions>;
|
|
25
|
+
'property': Nullable<IOperandPropertyOptions>;
|
|
26
|
+
'parameter': Nullable<IOperandParameterOptions>;
|
|
27
|
+
'value': Nullable<IOperandValueOptions>;
|
|
28
|
+
'in': Nullable<IInOperatorOptions>;
|
|
29
|
+
'function': Nullable<IFunctionOperatorProperties>;
|
|
30
|
+
'unary': Nullable<IUnaryOperatorOptions>;
|
|
31
|
+
'group': Nullable<IGroupOperatorOptions>;
|
|
32
|
+
'binary': Nullable<IBinaryOperatorOptions>;
|
|
33
|
+
'const': Nullable<IOperandValueOptions>;
|
|
34
|
+
'aggregate': Nullable<IAggregateOperandOptions>;
|
|
35
|
+
'default': any;
|
|
36
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\criteriaProcessType.js)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\operatorTokens.d.ts)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
export declare var operatorTokens: {
|
|
9
|
+
Plus: string;
|
|
10
|
+
Minus: string;
|
|
11
|
+
Equal: string;
|
|
12
|
+
NotEqual: string;
|
|
13
|
+
Greater: string;
|
|
14
|
+
Less: string;
|
|
15
|
+
LessOrEqual: string;
|
|
16
|
+
GreaterOrEqual: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\operatorTokens.js)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.operatorTokens = void 0;
|
|
11
|
+
exports.operatorTokens = {
|
|
12
|
+
'Plus': '+',
|
|
13
|
+
'Minus': '-',
|
|
14
|
+
'Equal': '=',
|
|
15
|
+
'NotEqual': '<>',
|
|
16
|
+
'Greater': '>',
|
|
17
|
+
'Less': '<',
|
|
18
|
+
'LessOrEqual': '<=',
|
|
19
|
+
'GreaterOrEqual': '>='
|
|
20
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\propertyLocation.d.ts)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
export interface IPropertyLocation {
|
|
9
|
+
index?: number;
|
|
10
|
+
name?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils\propertyLocation.js)
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\_expressioneditor.d.ts)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
8
8
|
import * as ko from 'knockout';
|
|
9
|
+
import { DisposableType } from '../../serializer/utils';
|
|
9
10
|
import { IDisplayExpressionConverter } from '../common/displayNameProvider';
|
|
11
|
+
import { IExpressionEditorItem } from './tools/_operatorNames';
|
|
12
|
+
import { IExpressionEditorCategory } from './tools/_tools';
|
|
10
13
|
export declare var RangeSpecific: string;
|
|
11
|
-
export declare function createExpressionEditorCollectionToolOptions(collectionItems:
|
|
12
|
-
|
|
13
|
-
content: {
|
|
14
|
-
showDescription: boolean;
|
|
15
|
-
isSelected: ko.Observable<boolean>;
|
|
16
|
-
data: {
|
|
17
|
-
items: any;
|
|
18
|
-
selectedItem: ko.Observable<any>;
|
|
19
|
-
};
|
|
20
|
-
name: string;
|
|
21
|
-
};
|
|
22
|
-
dispose: () => any;
|
|
23
|
-
};
|
|
24
|
-
export declare function wrapExpressionValue(path: ko.Observable<string> | ko.Computed<string>, value: ko.Observable<string> | ko.Computed<string>, converter: IDisplayExpressionConverter, subscriptions: any): ko.Observable<string> | ko.Computed<string>;
|
|
14
|
+
export declare function createExpressionEditorCollectionToolOptions(collectionItems: IExpressionEditorItem[], toolName: string, displayToolName: string, showDescription: boolean): IExpressionEditorCategory;
|
|
15
|
+
export declare function wrapExpressionValue(path: ko.Observable<string> | ko.Computed<string>, value: ko.Observable<string> | ko.Computed<string>, converter: IDisplayExpressionConverter, subscriptions: DisposableType[]): ko.Observable<string> | ko.Computed<string>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\_expressioneditor.js)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
8
8
|
"use strict";
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.wrapExpressionValue = exports.createExpressionEditorCollectionToolOptions = exports.RangeSpecific = void 0;
|
|
10
11
|
var ko = require("knockout");
|
|
11
12
|
var localization_utils_1 = require("../../property-grid/localization/localization_utils");
|
|
12
13
|
exports.RangeSpecific = 'range';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\bindings.d.ts)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\bindings.js)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\expressioneditor.d.ts)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
8
8
|
import * as ko from 'knockout';
|
|
9
|
-
import {
|
|
10
|
-
import { ICompletionRootItem, CodeCompletor } from '../common/_codeCompletor';
|
|
11
|
-
import { CriteriaOperator } from '../criteria/operators/criteriaOperator';
|
|
12
|
-
import { IItemsProvider } from '../utils';
|
|
9
|
+
import { Editor } from '../../property-grid/widgets/editor';
|
|
13
10
|
import { Disposable } from '../../serializer/utils';
|
|
14
|
-
import { getParentContainer } from '../_utils';
|
|
15
11
|
import { IDisplayNameProvider } from '../common/displayNameProvider';
|
|
12
|
+
import { CodeCompletor, ICompletionRootItem } from '../common/_codeCompletor';
|
|
16
13
|
import { DisplayExpressionConverter } from '../common/_displayNameProvider';
|
|
17
|
-
import {
|
|
14
|
+
import { CriteriaOperator } from '../criteria/operators/criteriaOperator';
|
|
15
|
+
import { ResizeHelper } from '../internal/_resizeHelper';
|
|
16
|
+
import { IItemsProvider } from '../utils';
|
|
17
|
+
import { getParentContainer } from '../_utils';
|
|
18
|
+
import { IExpressionEditorFunction } from './tools/_functions';
|
|
18
19
|
import { Tools } from './tools/_tools';
|
|
20
|
+
import { ExpressionEditorParametersTreeListController } from './tools/_treeListControllers';
|
|
19
21
|
export interface IExpressionOptions {
|
|
20
22
|
value: ko.Observable<string> | ko.Computed<string>;
|
|
21
23
|
path?: ko.Observable<string> | ko.Computed<string>;
|
|
@@ -30,7 +32,12 @@ export interface IExpressionOptions {
|
|
|
30
32
|
warningMessage?: ko.Observable<string> | ko.Computed<string>;
|
|
31
33
|
onHiding?: (e: any) => void;
|
|
32
34
|
onShowing?: (e: any) => void;
|
|
35
|
+
onContentReady?: (e: any) => void;
|
|
33
36
|
}
|
|
37
|
+
export declare function getNotValidRange(value: string, errorMessage: string): {
|
|
38
|
+
start: number;
|
|
39
|
+
end: number;
|
|
40
|
+
};
|
|
34
41
|
export declare class ExpressionEditor extends Disposable {
|
|
35
42
|
private options;
|
|
36
43
|
private _displayNameProvider?;
|
|
@@ -51,13 +58,13 @@ export declare class ExpressionEditor extends Disposable {
|
|
|
51
58
|
aceAvailable: boolean;
|
|
52
59
|
tools: Tools;
|
|
53
60
|
displayValue: ko.Observable<string> | ko.Computed<string>;
|
|
54
|
-
title: () =>
|
|
61
|
+
title: () => string;
|
|
55
62
|
value: ko.Observable<string> | ko.Computed<string>;
|
|
56
63
|
textAreaValue: ko.Observable<string>;
|
|
57
64
|
theme: string;
|
|
58
65
|
languageHelper: {
|
|
59
66
|
getLanguageMode: () => string;
|
|
60
|
-
createCompleters: (editor:
|
|
67
|
+
createCompleters: (editor: Editor, bindingContext: ko.BindingContext, viewModel: ExpressionEditor) => CodeCompletor[];
|
|
61
68
|
};
|
|
62
69
|
aceOptions: {
|
|
63
70
|
showLineNumbers: boolean;
|
|
@@ -68,11 +75,16 @@ export declare class ExpressionEditor extends Disposable {
|
|
|
68
75
|
highlightActiveLine: boolean;
|
|
69
76
|
};
|
|
70
77
|
additionalOptions: {
|
|
71
|
-
onChange: (session:
|
|
78
|
+
onChange: (session: {
|
|
79
|
+
clearAnnotations: () => void;
|
|
80
|
+
getValue: () => string;
|
|
81
|
+
setAnnotations: (any: any) => void;
|
|
82
|
+
}) => void;
|
|
72
83
|
};
|
|
73
84
|
callbacks: {
|
|
74
85
|
focus: () => undefined;
|
|
75
86
|
};
|
|
87
|
+
resizeHelper: ResizeHelper;
|
|
76
88
|
koOptions: ko.Observable<IExpressionOptions> | ko.Computed<IExpressionOptions>;
|
|
77
89
|
editorContainer: ko.Observable<any> | ko.Computed<any>;
|
|
78
90
|
fieldListProvider: ko.Observable<IItemsProvider> | ko.Computed<IItemsProvider>;
|
|
@@ -85,8 +97,18 @@ export declare class ExpressionEditor extends Disposable {
|
|
|
85
97
|
modelValueWarning: ko.Computed<string>;
|
|
86
98
|
disabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
87
99
|
onShown(): void;
|
|
88
|
-
onHiding(e:
|
|
89
|
-
|
|
100
|
+
onHiding(e: {
|
|
101
|
+
component: any;
|
|
102
|
+
element: HTMLElement;
|
|
103
|
+
}): void;
|
|
104
|
+
onShowing(e: {
|
|
105
|
+
component: any;
|
|
106
|
+
element: HTMLElement;
|
|
107
|
+
}): void;
|
|
108
|
+
onContentReady(e: {
|
|
109
|
+
component: any;
|
|
110
|
+
element: HTMLElement;
|
|
111
|
+
}): void;
|
|
90
112
|
initDisplayValue(): void;
|
|
91
113
|
getValue(): string;
|
|
92
114
|
validate: (value: any, sender?: any) => boolean;
|
|
@@ -1,38 +1,56 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\expressioneditor.js)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
8
8
|
"use strict";
|
|
9
|
-
var __extends = (this && this.__extends) || (function () {
|
|
10
|
-
var extendStatics = function (d, b) {
|
|
11
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
13
|
-
function (d, b) { for (var p in b) if (
|
|
14
|
-
return extendStatics(d, b);
|
|
15
|
-
};
|
|
16
|
-
return function (d, b) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
d
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
var __extends = (this && this.__extends) || (function () {
|
|
10
|
+
var extendStatics = function (d, b) {
|
|
11
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
13
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
14
|
+
return extendStatics(d, b);
|
|
15
|
+
};
|
|
16
|
+
return function (d, b) {
|
|
17
|
+
if (typeof b !== "function" && b !== null)
|
|
18
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
19
|
+
extendStatics(d, b);
|
|
20
|
+
function __() { this.constructor = d; }
|
|
21
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
22
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
-
|
|
25
|
+
exports.ExpressionEditor = exports.getNotValidRange = void 0;
|
|
24
26
|
var $ = require("jquery");
|
|
25
|
-
var
|
|
26
|
-
var criteriaOperator_1 = require("../criteria/operators/criteriaOperator");
|
|
27
|
-
var utils_1 = require("../../serializer/utils");
|
|
27
|
+
var ko = require("knockout");
|
|
28
28
|
var localization_utils_1 = require("../../property-grid/localization/localization_utils");
|
|
29
29
|
var _localizationStringIds_1 = require("../../property-grid/localization/_localizationStringIds");
|
|
30
|
-
var
|
|
31
|
-
var
|
|
30
|
+
var utils_1 = require("../../serializer/utils");
|
|
31
|
+
var _ace_available_1 = require("../ace/_ace-available");
|
|
32
|
+
var _codeCompletor_1 = require("../common/_codeCompletor");
|
|
32
33
|
var _displayNameProvider_1 = require("../common/_displayNameProvider");
|
|
33
|
-
var
|
|
34
|
+
var criteriaOperatorStateMachine_1 = require("../criteria/utils/criteriaOperatorStateMachine");
|
|
35
|
+
var _resizeHelper_1 = require("../internal/_resizeHelper");
|
|
36
|
+
var _utils_1 = require("../_utils");
|
|
34
37
|
var _tools_1 = require("./tools/_tools");
|
|
35
|
-
var
|
|
38
|
+
var _treeListControllers_1 = require("./tools/_treeListControllers");
|
|
39
|
+
var _expressioneditor_1 = require("./_expressioneditor");
|
|
40
|
+
function getNotValidRange(value, errorMessage) {
|
|
41
|
+
var start = 0;
|
|
42
|
+
var end = 0;
|
|
43
|
+
var parts = errorMessage.split('\n');
|
|
44
|
+
var errorText = parts[1];
|
|
45
|
+
var errorLength = parts[2].length;
|
|
46
|
+
if (errorText.indexOf('...') === 0) {
|
|
47
|
+
errorText = errorText.split('...')[1];
|
|
48
|
+
}
|
|
49
|
+
var start = value.indexOf(errorText);
|
|
50
|
+
var end = start + errorLength;
|
|
51
|
+
return { start: start, end: end };
|
|
52
|
+
}
|
|
53
|
+
exports.getNotValidRange = getNotValidRange;
|
|
36
54
|
function createExpressionEditorFieldListProvider(originalProvider, fieldName) {
|
|
37
55
|
return ko.computed(function () {
|
|
38
56
|
var provider = ko.unwrap(originalProvider);
|
|
@@ -136,7 +154,7 @@ var ExpressionEditor = (function (_super) {
|
|
|
136
154
|
onChange: function (session) {
|
|
137
155
|
var value = session.getValue();
|
|
138
156
|
try {
|
|
139
|
-
var operator =
|
|
157
|
+
var operator = criteriaOperatorStateMachine_1.CriteriaOperatorStateMachine.parse(value);
|
|
140
158
|
if (_this.koOptions().validate) {
|
|
141
159
|
_this.isValid(_this.koOptions().validate(operator));
|
|
142
160
|
}
|
|
@@ -192,12 +210,12 @@ var ExpressionEditor = (function (_super) {
|
|
|
192
210
|
_this.rtl = rtl;
|
|
193
211
|
_this.validate = function (value, sender) {
|
|
194
212
|
try {
|
|
195
|
-
|
|
213
|
+
criteriaOperatorStateMachine_1.CriteriaOperatorStateMachine.parse(value);
|
|
196
214
|
_this.isValid(true);
|
|
197
215
|
return true;
|
|
198
216
|
}
|
|
199
217
|
catch (exception) {
|
|
200
|
-
var result =
|
|
218
|
+
var result = getNotValidRange(value, exception.message);
|
|
201
219
|
var textArea = _this._getTextArea(sender && sender.element);
|
|
202
220
|
textArea && textArea.setSelectionRange(result.start, result.end);
|
|
203
221
|
_this.isValid(false);
|
|
@@ -240,6 +258,7 @@ var ExpressionEditor = (function (_super) {
|
|
|
240
258
|
_this._disposables.push(_this.modelValueValid, _this.modelValueWarning);
|
|
241
259
|
_this._createMainPopupButtons();
|
|
242
260
|
[fieldName, fieldsTreeListOptions, parametersTreeListOptions].forEach(function (x) { return _this._disposables.push(x); });
|
|
261
|
+
_this.resizeHelper = new _resizeHelper_1.ResizeHelper();
|
|
243
262
|
return _this;
|
|
244
263
|
}
|
|
245
264
|
ExpressionEditor.prototype.dispose = function () {
|
|
@@ -251,8 +270,8 @@ var ExpressionEditor = (function (_super) {
|
|
|
251
270
|
ExpressionEditor.prototype._createMainPopupButtons = function () {
|
|
252
271
|
var self = this;
|
|
253
272
|
this.buttonItems = [
|
|
254
|
-
{ toolbar: 'bottom', location: 'after', widget: 'dxButton', options: { text: localization_utils_1.getLocalization('
|
|
255
|
-
{ toolbar: 'bottom', location: 'after', widget: 'dxButton', options: { text: localization_utils_1.getLocalization('Cancel', _localizationStringIds_1.StringId.DataAccessBtnCancel), onClick: function () { self.popupVisible(false); } } }
|
|
273
|
+
{ toolbar: 'bottom', location: 'after', widget: 'dxButton', options: { text: localization_utils_1.getLocalization('OK', _localizationStringIds_1.StringId.DataAccessBtnOK), type: 'default', stylingMode: 'contained', onClick: function (sender) { self.save(sender); } } },
|
|
274
|
+
{ toolbar: 'bottom', location: 'after', widget: 'dxButton', options: { text: localization_utils_1.getLocalization('Cancel', _localizationStringIds_1.StringId.DataAccessBtnCancel), type: 'normal', stylingMode: 'contained', onClick: function () { self.popupVisible(false); } } }
|
|
256
275
|
];
|
|
257
276
|
};
|
|
258
277
|
ExpressionEditor.prototype._getTextArea = function (element) {
|
|
@@ -263,7 +282,7 @@ var ExpressionEditor = (function (_super) {
|
|
|
263
282
|
return {
|
|
264
283
|
itemsProvider: fieldListProvider,
|
|
265
284
|
selectedPath: ko.observable(''),
|
|
266
|
-
path: path,
|
|
285
|
+
path: ko.observable(path),
|
|
267
286
|
templateName: 'dx-ee-treelist-item',
|
|
268
287
|
treeListController: treeListController,
|
|
269
288
|
rtl: this.rtl
|
|
@@ -283,6 +302,10 @@ var ExpressionEditor = (function (_super) {
|
|
|
283
302
|
var options = this.koOptions();
|
|
284
303
|
return options && options.onShowing && options.onShowing(e);
|
|
285
304
|
};
|
|
305
|
+
ExpressionEditor.prototype.onContentReady = function (e) {
|
|
306
|
+
var options = this.koOptions();
|
|
307
|
+
return options && options.onContentReady && options.onContentReady(e);
|
|
308
|
+
};
|
|
286
309
|
ExpressionEditor.prototype.initDisplayValue = function () {
|
|
287
310
|
this.tools.resetCategoriesSelection && this.tools.resetCategoriesSelection();
|
|
288
311
|
this.textAreaValue(this.displayValue());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (widgets\expressioneditor\tools\_functions.d.ts)
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.3
|
|
4
|
+
* Build date: Jun 14, 2022
|
|
5
5
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|