@devexpress/analytics-core 20.1.14 → 20.2.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/analytics-criteria-utils.d.ts +9 -0
- package/analytics-criteria-utils.js +14 -0
- package/analytics-criteria.d.ts +37 -0
- package/analytics-criteria.js +42 -0
- package/analytics-data-internal.d.ts +15 -0
- package/analytics-data-internal.js +20 -0
- package/analytics-data-metadata.d.ts +17 -0
- package/analytics-data-metadata.js +22 -0
- package/analytics-data-utils.d.ts +9 -0
- package/analytics-data-utils.js +14 -0
- package/analytics-data.d.ts +55 -0
- package/analytics-data.js +60 -0
- package/analytics-diagram.d.ts +47 -0
- package/analytics-diagram.js +50 -0
- package/analytics-elements-metadata.d.ts +9 -0
- package/analytics-elements-metadata.js +14 -0
- package/analytics-elements.d.ts +23 -0
- package/analytics-elements.js +28 -0
- package/analytics-internal.d.ts +139 -0
- package/analytics-internal.js +135 -0
- package/analytics-localization.d.ts +9 -0
- package/analytics-localization.js +14 -0
- package/analytics-tools.d.ts +9 -0
- package/analytics-tools.js +14 -0
- package/analytics-utils.d.ts +35 -0
- package/analytics-utils.js +37 -0
- package/analytics-widgets-filtering.d.ts +31 -0
- package/analytics-widgets-filtering.js +36 -0
- package/analytics-widgets-internal.d.ts +80 -0
- package/analytics-widgets-internal.js +81 -0
- package/analytics-widgets-metadata.d.ts +9 -0
- package/analytics-widgets-metadata.js +14 -0
- package/analytics-widgets-treeList.d.ts +9 -0
- package/analytics-widgets-treeList.js +14 -0
- package/analytics-widgets.d.ts +43 -0
- package/analytics-widgets.js +48 -0
- package/analytics-wizard-internal.d.ts +51 -0
- package/analytics-wizard-internal.js +56 -0
- package/analytics-wizard.d.ts +83 -0
- package/analytics-wizard.js +84 -0
- package/bundle/_add-analytics-to-bundle.d.ts +8 -0
- package/bundle/_add-analytics-to-bundle.js +40 -0
- package/bundle/_add-devextreme-to-bundle.d.ts +8 -0
- package/bundle/_add-devextreme-to-bundle.js +27 -0
- package/bundle/_add-querybuilder-to-bundle.d.ts +8 -0
- package/bundle/_add-querybuilder-to-bundle.js +44 -0
- package/bundle/_add-to-context.d.ts +8 -0
- package/bundle/_add-to-context.js +25 -0
- package/bundle/analytic-core-bundle.d.ts +9 -0
- package/bundle/analytic-core-bundle.js +12 -0
- package/bundle/query-builder-bundle.d.ts +12 -0
- package/bundle/query-builder-bundle.js +15 -0
- package/core/_actionProvider.d.ts +18 -0
- package/core/_actionProvider.js +33 -0
- package/core/_bindings.d.ts +11 -0
- package/core/_bindings.js +231 -0
- package/core/_legacy.d.ts +8 -0
- package/core/_legacy.js +9 -0
- package/core/_metadata.d.ts +10 -0
- package/core/_metadata.js +18 -0
- package/core/binding/_jsDesignerBindingCommon.d.ts +24 -0
- package/core/binding/_jsDesignerBindingCommon.js +99 -0
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +14 -0
- package/core/binding/_jsDesignerBindingCommonOptions.js +9 -0
- package/core/binding/_requestHelper.d.ts +10 -0
- package/core/binding/_requestHelper.js +22 -0
- package/core/dragDrop/_dragDropHandler.d.ts +44 -0
- package/core/dragDrop/_dragDropHandler.js +119 -0
- package/core/dragDrop/_dragHelperContent.d.ts +29 -0
- package/core/dragDrop/_dragHelperContent.js +90 -0
- package/core/dragDrop/_selectionDragDropHandler.d.ts +28 -0
- package/core/dragDrop/_selectionDragDropHandler.js +134 -0
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +21 -0
- package/core/dragDrop/_toolboxDragDropHandler.js +67 -0
- package/core/elements/baseSurface.d.ts +79 -0
- package/core/elements/baseSurface.js +247 -0
- package/core/elements/elementViewModel.d.ts +91 -0
- package/core/elements/elementViewModel.js +189 -0
- package/core/elements/margins.d.ts +28 -0
- package/core/elements/margins.js +38 -0
- package/core/elements/paddingModel.d.ts +28 -0
- package/core/elements/paddingModel.js +109 -0
- package/core/elements/paddingModelMetaData.d.ts +10 -0
- package/core/elements/paddingModelMetaData.js +14 -0
- package/core/elements/point.d.ts +22 -0
- package/core/elements/point.js +31 -0
- package/core/elements/rectangle.d.ts +16 -0
- package/core/elements/rectangle.js +29 -0
- package/core/elements/serializableModel.d.ts +15 -0
- package/core/elements/serializableModel.js +42 -0
- package/core/elements/size.d.ts +25 -0
- package/core/elements/size.js +32 -0
- package/core/internal/_ajaxSetup.d.ts +11 -0
- package/core/internal/_ajaxSetup.js +21 -0
- package/core/internal/_controlsHelper.d.ts +38 -0
- package/core/internal/_controlsHelper.js +146 -0
- package/core/internal/_cssCalculator.d.ts +63 -0
- package/core/internal/_cssCalculator.js +296 -0
- package/core/internal/_editorTypeMapper.d.ts +18 -0
- package/core/internal/_editorTypeMapper.js +38 -0
- package/core/internal/_getNameHelpers.d.ts +13 -0
- package/core/internal/_getNameHelpers.js +66 -0
- package/core/internal/_globalize.d.ts +18 -0
- package/core/internal/_globalize.js +23 -0
- package/core/internal/_hoverInfo.d.ts +22 -0
- package/core/internal/_hoverInfo.js +38 -0
- package/core/internal/_inlineTextEdit.d.ts +19 -0
- package/core/internal/_inlineTextEdit.js +90 -0
- package/core/internal/_objectStructureControllers.d.ts +24 -0
- package/core/internal/_objectStructureControllers.js +41 -0
- package/core/internal/_objectStructureProviders.d.ts +39 -0
- package/core/internal/_objectStructureProviders.js +201 -0
- package/core/internal/_papperKindMapper.d.ts +429 -0
- package/core/internal/_papperKindMapper.js +116 -0
- package/core/internal/_processError.d.ts +15 -0
- package/core/internal/_processError.js +50 -0
- package/core/internal/_resizable.d.ts +20 -0
- package/core/internal/_resizable.js +172 -0
- package/core/internal/_stores.d.ts +31 -0
- package/core/internal/_stores.js +111 -0
- package/core/internal/_surfaceHelpers.d.ts +45 -0
- package/core/internal/_surfaceHelpers.js +76 -0
- package/core/internal/_utils.d.ts +13 -0
- package/core/internal/_utils.js +43 -0
- package/core/internal/_validation.d.ts +14 -0
- package/core/internal/_validation.js +31 -0
- package/core/internal/ajaxSetup.d.ts +9 -0
- package/core/internal/ajaxSetup.js +11 -0
- package/core/selection/_combinedObj.d.ts +30 -0
- package/core/selection/_combinedObj.js +165 -0
- package/core/selection/_selection.d.ts +69 -0
- package/core/selection/_selection.js +210 -0
- package/core/selection/_selectionHelpers.d.ts +10 -0
- package/core/selection/_selectionHelpers.js +46 -0
- package/core/snapLines/_snapLineSurface.d.ts +24 -0
- package/core/snapLines/_snapLineSurface.js +28 -0
- package/core/snapLines/_snapLinesCollector.d.ts +33 -0
- package/core/snapLines/_snapLinesCollector.js +75 -0
- package/core/snapLines/_snapLinesHelper.d.ts +38 -0
- package/core/snapLines/_snapLinesHelper.js +142 -0
- package/core/tools/_actionList.d.ts +29 -0
- package/core/tools/_actionList.js +265 -0
- package/core/tools/_copyPaste.d.ts +32 -0
- package/core/tools/_copyPaste.js +111 -0
- package/core/tools/_keyboardHelper.d.ts +35 -0
- package/core/tools/_keyboardHelper.js +120 -0
- package/core/tools/actionId.d.ts +18 -0
- package/core/tools/actionId.js +20 -0
- package/core/tools/tabPanel.d.ts +63 -0
- package/core/tools/tabPanel.js +174 -0
- package/core/tools/toolbox.d.ts +24 -0
- package/core/tools/toolbox.js +56 -0
- package/core/utils/_arrayutils.d.ts +15 -0
- package/core/utils/_arrayutils.js +123 -0
- package/core/utils/_designerCreator.d.ts +179 -0
- package/core/utils/_designerCreator.js +520 -0
- package/core/utils/_fieldListProvider.d.ts +33 -0
- package/core/utils/_fieldListProvider.js +64 -0
- package/core/utils/_infoMessageHelpers.d.ts +18 -0
- package/core/utils/_infoMessageHelpers.js +69 -0
- package/core/utils/_units.d.ts +15 -0
- package/core/utils/_units.js +71 -0
- package/core/utils/_utils.d.ts +96 -0
- package/core/utils/_utils.js +393 -0
- package/core/utils/_visitors.d.ts +9 -0
- package/core/utils/_visitors.js +48 -0
- package/core/utils/controlsFactory.d.ts +21 -0
- package/core/utils/controlsFactory.js +82 -0
- package/core/utils/parsers.d.ts +16 -0
- package/core/utils/parsers.js +80 -0
- package/core/widgets/_buttonInlineEditor.d.ts +13 -0
- package/core/widgets/_buttonInlineEditor.js +74 -0
- package/core/widgets/_dataMemberEditor.d.ts +19 -0
- package/core/widgets/_dataMemberEditor.js +36 -0
- package/core/widgets/_fieldlistpicker.d.ts +30 -0
- package/core/widgets/_fieldlistpicker.js +162 -0
- package/core/widgets/_requiredNullableEditor.d.ts +15 -0
- package/core/widgets/_requiredNullableEditor.js +55 -0
- package/core/widgets/bordereditor/_binding.d.ts +8 -0
- package/core/widgets/bordereditor/_binding.js +21 -0
- package/core/widgets/bordereditor/_bordereditor.d.ts +26 -0
- package/core/widgets/bordereditor/_bordereditor.js +96 -0
- package/core/widgets/colorPickerEditor.d.ts +14 -0
- package/core/widgets/colorPickerEditor.js +49 -0
- package/core/widgets/dataMemberEditor.d.ts +14 -0
- package/core/widgets/dataMemberEditor.js +35 -0
- package/core/widgets/fieldListEditor.d.ts +15 -0
- package/core/widgets/fieldListEditor.js +40 -0
- package/core/widgets/propertygrid/_controlProperties.d.ts +38 -0
- package/core/widgets/propertygrid/_controlProperties.js +139 -0
- package/core/widgets/propertygrid/_group.d.ts +39 -0
- package/core/widgets/propertygrid/_group.js +84 -0
- package/core/widgets/registerDesignerEditors.d.ts +8 -0
- package/core/widgets/registerDesignerEditors.js +42 -0
- package/diagram/_legacy.d.ts +8 -0
- package/diagram/_legacy.js +9 -0
- package/diagram/bindings.d.ts +11 -0
- package/diagram/bindings.js +61 -0
- package/diagram/controlsFactory.d.ts +10 -0
- package/diagram/controlsFactory.js +184 -0
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +26 -0
- package/diagram/dragDrop/connectingPointDragHandler.js +79 -0
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +22 -0
- package/diagram/dragDrop/connectionPointDragHandler.js +78 -0
- package/diagram/elements/connectingPointModel.d.ts +24 -0
- package/diagram/elements/connectingPointModel.js +70 -0
- package/diagram/elements/connectingPointSurface.d.ts +18 -0
- package/diagram/elements/connectingPointSurface.js +44 -0
- package/diagram/elements/connectors/connectionPointModel.d.ts +20 -0
- package/diagram/elements/connectors/connectionPointModel.js +58 -0
- package/diagram/elements/connectors/connectionPointSurface.d.ts +21 -0
- package/diagram/elements/connectors/connectionPointSurface.js +52 -0
- package/diagram/elements/connectors/connectorModel.d.ts +22 -0
- package/diagram/elements/connectors/connectorModel.js +102 -0
- package/diagram/elements/connectors/connectorSurface.d.ts +19 -0
- package/diagram/elements/connectors/connectorSurface.js +42 -0
- package/diagram/elements/connectors/routedConnectorModel.d.ts +32 -0
- package/diagram/elements/connectors/routedConnectorModel.js +293 -0
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +36 -0
- package/diagram/elements/connectors/routedConnectorSurface.js +133 -0
- package/diagram/elements/diagramElementModel.d.ts +28 -0
- package/diagram/elements/diagramElementModel.js +53 -0
- package/diagram/elements/diagramElementSurface.d.ts +26 -0
- package/diagram/elements/diagramElementSurface.js +69 -0
- package/diagram/elements/diagramModel.d.ts +24 -0
- package/diagram/elements/diagramModel.js +50 -0
- package/diagram/elements/diagramSurface.d.ts +32 -0
- package/diagram/elements/diagramSurface.js +67 -0
- package/diagram/initializer.d.ts +11 -0
- package/diagram/initializer.js +55 -0
- package/diagram/metadata.d.ts +14 -0
- package/diagram/metadata.js +19 -0
- package/diagram/utils.d.ts +21 -0
- package/diagram/utils.js +42 -0
- package/dist/css/dx-analytics.carmine.compact.css +53 -54
- package/dist/css/dx-analytics.carmine.css +53 -54
- package/dist/css/dx-analytics.common.css +23 -24
- package/dist/css/dx-analytics.contrast.compact.css +53 -54
- package/dist/css/dx-analytics.contrast.css +53 -54
- package/dist/css/dx-analytics.dark.compact.css +32 -33
- package/dist/css/dx-analytics.dark.css +32 -33
- package/dist/css/dx-analytics.darkmoon.compact.css +45 -46
- package/dist/css/dx-analytics.darkmoon.css +45 -46
- package/dist/css/dx-analytics.darkviolet.compact.css +33 -34
- package/dist/css/dx-analytics.darkviolet.css +33 -34
- package/dist/css/dx-analytics.greenmist.compact.css +54 -55
- package/dist/css/dx-analytics.greenmist.css +54 -55
- package/dist/css/dx-analytics.light.compact.css +45 -46
- package/dist/css/dx-analytics.light.css +45 -46
- package/dist/css/dx-analytics.softblue.compact.css +50 -51
- package/dist/css/dx-analytics.softblue.css +50 -51
- package/dist/css/dx-querybuilder.css +6 -7
- package/dist/js/dx-analytics-core.d.ts +10177 -0
- package/dist/js/dx-analytics-core.js +19654 -16140
- package/dist/js/dx-analytics-core.min.js +7 -8
- package/dist/js/dx-querybuilder.js +15477 -12661
- package/dist/js/dx-querybuilder.min.js +7 -8
- package/dx-analytics-core-imports.d.ts +41 -0
- package/dx-analytics-core-imports.js +43 -0
- package/dx-analytics-core-svg-templates.d.ts +8 -0
- package/dx-analytics-core-svg-templates.js +110 -0
- package/dx-analytics-core-templates.d.ts +8 -0
- package/dx-analytics-core-templates.js +124 -0
- package/dx-analytics-core.d.ts +24 -4206
- package/dx-analytics-core.js +26 -16357
- package/dx-query-builder-templates.d.ts +8 -0
- package/dx-query-builder-templates.js +101 -0
- package/dx-querybuilder-imports.d.ts +11 -0
- package/dx-querybuilder-imports.js +13 -0
- package/dx-querybuilder.d.ts +19 -3418
- package/dx-querybuilder.js +21 -12764
- package/index.d.ts +9 -0
- package/index.js +11 -0
- package/less/colors/carmine-colors.less +1 -1
- package/less/colors/contrast-colors.less +1 -1
- package/less/colors/dark-colors.less +1 -1
- package/less/colors/darkmoon-colors.less +1 -1
- package/less/colors/darkviolet-colors.less +1 -1
- package/less/colors/greenmist-colors.less +1 -1
- package/less/colors/light-colors.less +1 -1
- package/less/colors/softblue-colors.less +1 -1
- package/less/common.less +1 -1
- package/less/dx-carmine-style.less +1 -1
- package/less/dx-contrast-style.less +1 -1
- package/less/dx-dark-style.less +1 -1
- package/less/dx-darkmoon-style.less +1 -1
- package/less/dx-darkviolet-style.less +1 -1
- package/less/dx-greenmist-style.less +1 -1
- package/less/dx-light-style.less +1 -1
- package/less/dx-softblue-style.less +1 -1
- package/less/dx-variable-style.less +1 -1
- package/package.json +3 -3
- package/property-grid/_legacy.d.ts +8 -0
- package/property-grid/_legacy.js +9 -0
- package/property-grid/_propertiesAccessibilityProvider.d.ts +18 -0
- package/property-grid/_propertiesAccessibilityProvider.js +46 -0
- package/property-grid/bindings.d.ts +8 -0
- package/property-grid/bindings.js +178 -0
- package/property-grid/internal/_addon.d.ts +36 -0
- package/property-grid/internal/_addon.js +118 -0
- package/property-grid/internal/_codeResolver.d.ts +25 -0
- package/property-grid/internal/_codeResolver.js +80 -0
- package/property-grid/internal/_popupService.d.ts +16 -0
- package/property-grid/internal/_popupService.js +21 -0
- package/property-grid/localization/_localization.d.ts +24 -0
- package/property-grid/localization/_localization.js +123 -0
- package/property-grid/localization/_localizationStringIds.d.ts +14 -0
- package/property-grid/localization/_localizationStringIds.js +16 -0
- package/property-grid/localization/localization.d.ts +10 -0
- package/property-grid/localization/localization.js +12 -0
- package/property-grid/localization/localization_utils.d.ts +15 -0
- package/property-grid/localization/localization_utils.js +34 -0
- package/property-grid/propertygrid.d.ts +58 -0
- package/property-grid/propertygrid.js +241 -0
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +8 -0
- package/property-grid/widgets/collectioneditor/_bindings.js +31 -0
- package/property-grid/widgets/collectioneditor/_editor.d.ts +70 -0
- package/property-grid/widgets/collectioneditor/_editor.js +199 -0
- package/property-grid/widgets/editor.d.ts +64 -0
- package/property-grid/widgets/editor.js +242 -0
- package/property-grid/widgets/editorValidator.d.ts +38 -0
- package/property-grid/widgets/editorValidator.js +170 -0
- package/property-grid/widgets/editorsInfo.d.ts +21 -0
- package/property-grid/widgets/editorsInfo.js +45 -0
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +27 -0
- package/property-grid/widgets/ellipsiseditor/_editor.js +103 -0
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +17 -0
- package/property-grid/widgets/fileimageeditor/_editor.js +84 -0
- package/property-grid/widgets/fonteditor/_fonts.d.ts +11 -0
- package/property-grid/widgets/fonteditor/_fonts.js +11 -0
- package/property-grid/widgets/fonteditor/_model.d.ts +29 -0
- package/property-grid/widgets/fonteditor/_model.js +97 -0
- package/property-grid/widgets/fonteditor/editor.d.ts +14 -0
- package/property-grid/widgets/fonteditor/editor.js +39 -0
- package/property-grid/widgets/fonteditor/metadata.d.ts +12 -0
- package/property-grid/widgets/fonteditor/metadata.js +29 -0
- package/property-grid/widgets/guideditor.d.ts +11 -0
- package/property-grid/widgets/guideditor.js +35 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +12 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +13 -0
- package/property-grid/widgets/internal/_internal.d.ts +23 -0
- package/property-grid/widgets/internal/_internal.js +46 -0
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +22 -0
- package/property-grid/widgets/internal/_svgTemplateEngine.js +82 -0
- package/property-grid/widgets/internal/_utils.d.ts +75 -0
- package/property-grid/widgets/internal/_utils.js +141 -0
- package/property-grid/widgets/registerBaseEdtior.d.ts +8 -0
- package/property-grid/widgets/registerBaseEdtior.js +31 -0
- package/query-builder/_accordionTabInfo.d.ts +43 -0
- package/query-builder/_accordionTabInfo.js +144 -0
- package/query-builder/_bindings.d.ts +11 -0
- package/query-builder/_bindings.js +74 -0
- package/query-builder/_initializer.d.ts +18 -0
- package/query-builder/_initializer.js +341 -0
- package/query-builder/_legacy.d.ts +8 -0
- package/query-builder/_legacy.js +9 -0
- package/query-builder/_queryBuilderModel.d.ts +42 -0
- package/query-builder/_queryBuilderModel.js +9 -0
- package/query-builder/binding/eventGenerator.d.ts +11 -0
- package/query-builder/binding/eventGenerator.js +58 -0
- package/query-builder/binding/jsQueryBuilder.d.ts +28 -0
- package/query-builder/binding/jsQueryBuilder.js +65 -0
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +24 -0
- package/query-builder/binding/jsQueryBuilderBinding.js +114 -0
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +32 -0
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +9 -0
- package/query-builder/dataSource/_dbSchema.d.ts +8 -0
- package/query-builder/dataSource/_dbSchema.js +19 -0
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +14 -0
- package/query-builder/dataSource/_dbSchemaProvider.js +40 -0
- package/query-builder/dataSource/_utils.d.ts +9 -0
- package/query-builder/dataSource/_utils.js +17 -0
- package/query-builder/dataSource/dataSourceParameter.d.ts +41 -0
- package/query-builder/dataSource/dataSourceParameter.js +216 -0
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +17 -0
- package/query-builder/dataSource/dataSourceParameterMeta.js +80 -0
- package/query-builder/dataSource/dbColumn.d.ts +36 -0
- package/query-builder/dataSource/dbColumn.js +111 -0
- package/query-builder/dataSource/dbForeignKey.d.ts +14 -0
- package/query-builder/dataSource/dbForeignKey.js +19 -0
- package/query-builder/dataSource/dbSchema.d.ts +14 -0
- package/query-builder/dataSource/dbSchema.js +24 -0
- package/query-builder/dataSource/dbSchemaProvider.d.ts +35 -0
- package/query-builder/dataSource/dbSchemaProvider.js +131 -0
- package/query-builder/dataSource/dbStoredProcedure.d.ts +24 -0
- package/query-builder/dataSource/dbStoredProcedure.js +33 -0
- package/query-builder/dataSource/dbTable.d.ts +16 -0
- package/query-builder/dataSource/dbTable.js +22 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +14 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +40 -0
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +21 -0
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +30 -0
- package/query-builder/dataSource/json/jsonDataSource.d.ts +32 -0
- package/query-builder/dataSource/json/jsonDataSource.js +82 -0
- package/query-builder/dataSource/json/jsonParameter.d.ts +41 -0
- package/query-builder/dataSource/json/jsonParameter.js +96 -0
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +50 -0
- package/query-builder/dataSource/json/jsonSchemaNode.js +168 -0
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +29 -0
- package/query-builder/dataSource/json/jsonSchemaProvider.js +90 -0
- package/query-builder/dataSource/json/jsonSource.d.ts +30 -0
- package/query-builder/dataSource/json/jsonSource.js +89 -0
- package/query-builder/dataSource/object/objectDataSource.d.ts +20 -0
- package/query-builder/dataSource/object/objectDataSource.js +42 -0
- package/query-builder/dataSource/object/objectSchema.d.ts +43 -0
- package/query-builder/dataSource/object/objectSchema.js +116 -0
- package/query-builder/dataSource/resultSet.d.ts +20 -0
- package/query-builder/dataSource/resultSet.js +36 -0
- package/query-builder/dataSource/resultTable.d.ts +19 -0
- package/query-builder/dataSource/resultTable.js +30 -0
- package/query-builder/dataSource/sql/connectionOptions.d.ts +16 -0
- package/query-builder/dataSource/sql/connectionOptions.js +30 -0
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +23 -0
- package/query-builder/dataSource/sql/customSqlQuery.js +34 -0
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +16 -0
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +25 -0
- package/query-builder/dataSource/sql/masterDetailRelation.js +62 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +22 -0
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +21 -0
- package/query-builder/dataSource/sql/sqlDataConnection.js +37 -0
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +33 -0
- package/query-builder/dataSource/sql/sqlDataSource.js +93 -0
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +23 -0
- package/query-builder/dataSource/sql/storedProcQuery.js +39 -0
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +16 -0
- package/query-builder/dataSource/sql/tableQuery.d.ts +27 -0
- package/query-builder/dataSource/sql/tableQuery.js +35 -0
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/tableQueryMeta.js +26 -0
- package/query-builder/dataSource/utils.d.ts +28 -0
- package/query-builder/dataSource/utils.js +19 -0
- package/query-builder/dragDrop/_columnDragHandler.d.ts +33 -0
- package/query-builder/dragDrop/_columnDragHandler.js +124 -0
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +28 -0
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +98 -0
- package/query-builder/elements/allColumnsModel.d.ts +18 -0
- package/query-builder/elements/allColumnsModel.js +62 -0
- package/query-builder/elements/allColumnsModelMeta.d.ts +9 -0
- package/query-builder/elements/allColumnsModelMeta.js +11 -0
- package/query-builder/elements/allColumnsSurface.d.ts +21 -0
- package/query-builder/elements/allColumnsSurface.js +50 -0
- package/query-builder/elements/columnExpression.d.ts +26 -0
- package/query-builder/elements/columnExpression.js +53 -0
- package/query-builder/elements/columnExpressionMeta.d.ts +26 -0
- package/query-builder/elements/columnExpressionMeta.js +25 -0
- package/query-builder/elements/columnModel.d.ts +36 -0
- package/query-builder/elements/columnModel.js +192 -0
- package/query-builder/elements/columnModelMeta.d.ts +20 -0
- package/query-builder/elements/columnModelMeta.js +50 -0
- package/query-builder/elements/columnSurface.d.ts +32 -0
- package/query-builder/elements/columnSurface.js +70 -0
- package/query-builder/elements/joinConditionModel.d.ts +26 -0
- package/query-builder/elements/joinConditionModel.js +55 -0
- package/query-builder/elements/joinConditionModelMeta.d.ts +17 -0
- package/query-builder/elements/joinConditionModelMeta.js +52 -0
- package/query-builder/elements/joinConditionSurface.d.ts +15 -0
- package/query-builder/elements/joinConditionSurface.js +39 -0
- package/query-builder/elements/parameterModel.d.ts +15 -0
- package/query-builder/elements/parameterModel.js +37 -0
- package/query-builder/elements/parameterModelMeta.d.ts +12 -0
- package/query-builder/elements/parameterModelMeta.js +14 -0
- package/query-builder/elements/queryElementModel.d.ts +18 -0
- package/query-builder/elements/queryElementModel.js +35 -0
- package/query-builder/elements/queryElementSurface.d.ts +19 -0
- package/query-builder/elements/queryElementSurface.js +52 -0
- package/query-builder/elements/queryModel.d.ts +69 -0
- package/query-builder/elements/queryModel.js +442 -0
- package/query-builder/elements/queryModelMeta.d.ts +9 -0
- package/query-builder/elements/queryModelMeta.js +35 -0
- package/query-builder/elements/querySurface.d.ts +39 -0
- package/query-builder/elements/querySurface.js +85 -0
- package/query-builder/elements/relationModel.d.ts +28 -0
- package/query-builder/elements/relationModel.js +73 -0
- package/query-builder/elements/relationModelMeta.d.ts +9 -0
- package/query-builder/elements/relationModelMeta.js +16 -0
- package/query-builder/elements/relationSurface.d.ts +17 -0
- package/query-builder/elements/relationSurface.js +40 -0
- package/query-builder/elements/tableModel.d.ts +51 -0
- package/query-builder/elements/tableModel.js +137 -0
- package/query-builder/elements/tableModelMeta.d.ts +9 -0
- package/query-builder/elements/tableModelMeta.js +13 -0
- package/query-builder/elements/tableSurface.d.ts +26 -0
- package/query-builder/elements/tableSurface.js +58 -0
- package/query-builder/initializer.d.ts +13 -0
- package/query-builder/initializer.js +16 -0
- package/query-builder/metadata.d.ts +16 -0
- package/query-builder/metadata.js +20 -0
- package/query-builder/utils/_callbacks.d.ts +14 -0
- package/query-builder/utils/_callbacks.js +9 -0
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +18 -0
- package/query-builder/utils/_columnExpressionCollectionHelper.js +44 -0
- package/query-builder/utils/_controlsFactory.d.ts +8 -0
- package/query-builder/utils/_controlsFactory.js +87 -0
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +16 -0
- package/query-builder/utils/_queryBuilderTreeListController.js +39 -0
- package/query-builder/utils/_requestwrapper.d.ts +19 -0
- package/query-builder/utils/_requestwrapper.js +36 -0
- package/query-builder/utils/controlsFactory.d.ts +9 -0
- package/query-builder/utils/controlsFactory.js +11 -0
- package/query-builder/utils/requestwrapper.d.ts +47 -0
- package/query-builder/utils/requestwrapper.js +103 -0
- package/query-builder/widgets/_undoEditor.d.ts +16 -0
- package/query-builder/widgets/_undoEditor.js +48 -0
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +8 -0
- package/query-builder/widgets/ace/_ace-mode-sql.js +164 -0
- package/query-builder/widgets/ace/_options.d.ts +29 -0
- package/query-builder/widgets/ace/_options.js +45 -0
- package/query-builder/widgets/editorTemplates.d.ts +11 -0
- package/query-builder/widgets/editorTemplates.js +11 -0
- package/query-builder/widgets/expressionFunctions.d.ts +9 -0
- package/query-builder/widgets/expressionFunctions.js +15 -0
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +20 -0
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +65 -0
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +27 -0
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +79 -0
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +28 -0
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +48 -0
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +16 -0
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +86 -0
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +20 -0
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +68 -0
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +33 -0
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +94 -0
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +21 -0
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +28 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +27 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +79 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +19 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +43 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +25 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +36 -0
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +20 -0
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +39 -0
- package/query-builder/widgets/registerEditorTemplates.d.ts +8 -0
- package/query-builder/widgets/registerEditorTemplates.js +23 -0
- package/query-builder/wizard/chooseAvailablePage.d.ts +29 -0
- package/query-builder/wizard/chooseAvailablePage.js +76 -0
- package/query-builder/wizard/dataSourceWizard.d.ts +62 -0
- package/query-builder/wizard/dataSourceWizard.js +193 -0
- package/query-builder/wizard/dataSourceWizardState.d.ts +51 -0
- package/query-builder/wizard/dataSourceWizardState.js +75 -0
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +28 -0
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +109 -0
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +28 -0
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +79 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +30 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +96 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +20 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +39 -0
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +74 -0
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +172 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +18 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +105 -0
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +30 -0
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +136 -0
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +17 -0
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +104 -0
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +66 -0
- package/query-builder/wizard/internal/_configureParametersUtils.js +149 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +39 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +163 -0
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +16 -0
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +46 -0
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +36 -0
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +93 -0
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +113 -0
- package/query-builder/wizard/internal/_jsonSourceSettings.js +548 -0
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +18 -0
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +47 -0
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +58 -0
- package/query-builder/wizard/internal/_queryBuilderPopup.js +95 -0
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +16 -0
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +27 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +57 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +105 -0
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +31 -0
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +116 -0
- package/query-builder/wizard/internal/_treeListNode.d.ts +107 -0
- package/query-builder/wizard/internal/_treeListNode.js +324 -0
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +30 -0
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +204 -0
- package/query-builder/wizard/internal/_utils.d.ts +72 -0
- package/query-builder/wizard/internal/_utils.js +150 -0
- package/query-builder/wizard/internal/_wizardAction.d.ts +15 -0
- package/query-builder/wizard/internal/_wizardAction.js +20 -0
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +42 -0
- package/query-builder/wizard/internal/_wizardPageProcessor.js +196 -0
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +16 -0
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +40 -0
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +41 -0
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +124 -0
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +15 -0
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +42 -0
- package/query-builder/wizard/internal/initializer.d.ts +16 -0
- package/query-builder/wizard/internal/initializer.js +9 -0
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +40 -0
- package/query-builder/wizard/internal/jsonSourceSettings.js +14 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +16 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +50 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +55 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +194 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +25 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +75 -0
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +29 -0
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +104 -0
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +16 -0
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +9 -0
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +31 -0
- package/query-builder/wizard/multiQueryDataSourceWizard.js +161 -0
- package/query-builder/wizard/pageFactory.d.ts +18 -0
- package/query-builder/wizard/pageFactory.js +32 -0
- package/query-builder/wizard/pageId.d.ts +44 -0
- package/query-builder/wizard/pageId.js +46 -0
- package/query-builder/wizard/pageIterator.d.ts +32 -0
- package/query-builder/wizard/pageIterator.js +127 -0
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +47 -0
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +120 -0
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +21 -0
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +87 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +19 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +74 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +50 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +266 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +47 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +152 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +24 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +94 -0
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +38 -0
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +154 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +121 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +404 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +37 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +191 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +28 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +101 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +27 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +101 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +22 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +80 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +28 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +111 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +54 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +212 -0
- package/query-builder/wizard/pages/wizardPage.d.ts +40 -0
- package/query-builder/wizard/pages/wizardPage.js +109 -0
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +18 -0
- package/query-builder/wizard/pages/wizardPageMetadata.js +9 -0
- package/query-builder/wizard/popupWizard.d.ts +118 -0
- package/query-builder/wizard/popupWizard.js +96 -0
- package/query-builder/wizard/stateManager.d.ts +20 -0
- package/query-builder/wizard/stateManager.js +39 -0
- package/query-builder/wizard/wizard.d.ts +47 -0
- package/query-builder/wizard/wizard.js +193 -0
- package/query-builder/wizard/wizardEventManager.d.ts +37 -0
- package/query-builder/wizard/wizardEventManager.js +9 -0
- package/queryBuilder-elements-metadata.d.ts +23 -0
- package/queryBuilder-elements-metadata.js +28 -0
- package/queryBuilder-elements.d.ts +39 -0
- package/queryBuilder-elements.js +44 -0
- package/queryBuilder-internal.d.ts +31 -0
- package/queryBuilder-internal.js +33 -0
- package/queryBuilder-metadata.d.ts +9 -0
- package/queryBuilder-metadata.js +14 -0
- package/queryBuilder-utils.d.ts +13 -0
- package/queryBuilder-utils.js +18 -0
- package/queryBuilder-widgets-internal.d.ts +37 -0
- package/queryBuilder-widgets-internal.js +43 -0
- package/queryBuilder-widgets.d.ts +9 -0
- package/queryBuilder-widgets.js +14 -0
- package/querybuilder.d.ts +15 -0
- package/querybuilder.js +19 -0
- package/serializer/_internal.d.ts +11 -0
- package/serializer/_internal.js +78 -0
- package/serializer/_legacy.d.ts +8 -0
- package/serializer/_legacy.js +9 -0
- package/serializer/_utils.d.ts +12 -0
- package/serializer/_utils.js +107 -0
- package/serializer/eventManager.d.ts +19 -0
- package/serializer/eventManager.js +52 -0
- package/serializer/serializationInfo.d.ts +64 -0
- package/serializer/serializationInfo.js +9 -0
- package/serializer/serializer.d.ts +43 -0
- package/serializer/serializer.js +290 -0
- package/serializer/utils.d.ts +26 -0
- package/serializer/utils.js +84 -0
- package/undo-engine/_legacy.d.ts +8 -0
- package/undo-engine/_legacy.js +9 -0
- package/undo-engine/_utils.d.ts +10 -0
- package/undo-engine/_utils.js +48 -0
- package/undo-engine/undoengine.d.ts +60 -0
- package/undo-engine/undoengine.js +495 -0
- package/utils/analytics-core-namespaces.js +1 -0
- package/utils/converter.js +83 -0
- package/utils/theme-builder.js +8 -1
- package/widgets/_legacy.d.ts +8 -0
- package/widgets/_legacy.js +9 -0
- package/widgets/_searchHighlighting.d.ts +29 -0
- package/widgets/_searchHighlighting.js +118 -0
- package/widgets/_utils.d.ts +23 -0
- package/widgets/_utils.js +121 -0
- package/widgets/ace/_ace-mode-criteria.d.ts +8 -0
- package/widgets/ace/_ace-mode-criteria.js +99 -0
- package/widgets/ace/_ace-mode-doc-comment.d.ts +8 -0
- package/widgets/ace/_ace-mode-doc-comment.js +52 -0
- package/widgets/ace/_binding.d.ts +14 -0
- package/widgets/ace/_binding.js +152 -0
- package/widgets/bindings.d.ts +8 -0
- package/widgets/bindings.js +33 -0
- package/widgets/common/_codeCompletor.d.ts +81 -0
- package/widgets/common/_codeCompletor.js +492 -0
- package/widgets/common/_displayNameProvider.d.ts +15 -0
- package/widgets/common/_displayNameProvider.js +91 -0
- package/widgets/common/displayNameProvider.d.ts +15 -0
- package/widgets/common/displayNameProvider.js +9 -0
- package/widgets/common/pathRequest.d.ts +24 -0
- package/widgets/common/pathRequest.js +30 -0
- package/widgets/criteria/criteriaOperatorPreprocessor.d.ts +49 -0
- package/widgets/criteria/criteriaOperatorPreprocessor.js +124 -0
- package/widgets/criteria/operators/aggregate.d.ts +39 -0
- package/widgets/criteria/operators/aggregate.js +127 -0
- package/widgets/criteria/operators/between.d.ts +30 -0
- package/widgets/criteria/operators/between.js +94 -0
- package/widgets/criteria/operators/binary.d.ts +45 -0
- package/widgets/criteria/operators/binary.js +101 -0
- package/widgets/criteria/operators/constant.d.ts +14 -0
- package/widgets/criteria/operators/constant.js +36 -0
- package/widgets/criteria/operators/criteriaOperator.d.ts +67 -0
- package/widgets/criteria/operators/criteriaOperator.js +295 -0
- package/widgets/criteria/operators/function.d.ts +162 -0
- package/widgets/criteria/operators/function.js +230 -0
- package/widgets/criteria/operators/group.d.ts +33 -0
- package/widgets/criteria/operators/group.js +119 -0
- package/widgets/criteria/operators/in.d.ts +27 -0
- package/widgets/criteria/operators/in.js +76 -0
- package/widgets/criteria/operators/join.d.ts +27 -0
- package/widgets/criteria/operators/join.js +61 -0
- package/widgets/criteria/operators/parameter.d.ts +20 -0
- package/widgets/criteria/operators/parameter.js +46 -0
- package/widgets/criteria/operators/property.d.ts +27 -0
- package/widgets/criteria/operators/property.js +52 -0
- package/widgets/criteria/operators/unary.d.ts +31 -0
- package/widgets/criteria/operators/unary.js +87 -0
- package/widgets/criteria/operators/value.d.ts +19 -0
- package/widgets/criteria/operators/value.js +67 -0
- package/widgets/criteria/parser/criteriaparser.d.ts +11 -0
- package/widgets/criteria/parser/criteriaparser.js +953 -0
- package/widgets/criteria/utils.d.ts +47 -0
- package/widgets/criteria/utils.js +32 -0
- package/widgets/expressioneditor/_expressioneditor.d.ts +24 -0
- package/widgets/expressioneditor/_expressioneditor.js +65 -0
- package/widgets/expressioneditor/bindings.d.ts +8 -0
- package/widgets/expressioneditor/bindings.js +40 -0
- package/widgets/expressioneditor/expressioneditor.d.ts +87 -0
- package/widgets/expressioneditor/expressioneditor.js +290 -0
- package/widgets/expressioneditor/tools/_functions.d.ts +23 -0
- package/widgets/expressioneditor/tools/_functions.js +218 -0
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +17 -0
- package/widgets/expressioneditor/tools/_operatorNames.js +32 -0
- package/widgets/expressioneditor/tools/_tools.d.ts +44 -0
- package/widgets/expressioneditor/tools/_tools.js +202 -0
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +34 -0
- package/widgets/expressioneditor/tools/_treeListControllers.js +82 -0
- package/widgets/filtereditor/filtereditor.d.ts +108 -0
- package/widgets/filtereditor/filtereditor.js +454 -0
- package/widgets/filtereditor/filtereditoroptions.d.ts +30 -0
- package/widgets/filtereditor/filtereditoroptions.js +38 -0
- package/widgets/filtereditor/helpers/_addon.d.ts +20 -0
- package/widgets/filtereditor/helpers/_addon.js +53 -0
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +29 -0
- package/widgets/filtereditor/helpers/_codeCompletor.js +80 -0
- package/widgets/filtereditor/helpers/_helper.d.ts +12 -0
- package/widgets/filtereditor/helpers/_helper.js +14 -0
- package/widgets/filtereditor/helpers/_serializer.d.ts +54 -0
- package/widgets/filtereditor/helpers/_serializer.js +180 -0
- package/widgets/filtereditor/helpers/_treelistController.d.ts +18 -0
- package/widgets/filtereditor/helpers/_treelistController.js +48 -0
- package/widgets/filtereditor/helpers/_validator.d.ts +27 -0
- package/widgets/filtereditor/helpers/_validator.js +93 -0
- package/widgets/filtereditor/helpers/helper.d.ts +104 -0
- package/widgets/filtereditor/helpers/helper.js +262 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +21 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +102 -0
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +21 -0
- package/widgets/filtereditor/operators/betweenOperandSurface.js +60 -0
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/binaryOperandSurface.js +57 -0
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +39 -0
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +142 -0
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +22 -0
- package/widgets/filtereditor/operators/functionOperandSurface.js +92 -0
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +23 -0
- package/widgets/filtereditor/operators/groupOperandSurface.js +103 -0
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/inOperandSurface.js +65 -0
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +22 -0
- package/widgets/filtereditor/operators/operandParameterSurface.js +57 -0
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +30 -0
- package/widgets/filtereditor/operators/operandPropertySurface.js +128 -0
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +25 -0
- package/widgets/filtereditor/operators/operandSurfaceBase.js +124 -0
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +32 -0
- package/widgets/filtereditor/operators/operandValueSurface.js +169 -0
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/unaryOperandSurface.js +76 -0
- package/widgets/formatstring/_patterns.d.ts +15 -0
- package/widgets/formatstring/_patterns.js +17 -0
- package/widgets/formatstring/binding.d.ts +8 -0
- package/widgets/formatstring/binding.js +27 -0
- package/widgets/formatstring/formatstringeditor.d.ts +81 -0
- package/widgets/formatstring/formatstringeditor.js +294 -0
- package/widgets/internal/_popupwithautoheight.d.ts +12 -0
- package/widgets/internal/_popupwithautoheight.js +38 -0
- package/widgets/internal/_valueEditorHelper.d.ts +80 -0
- package/widgets/internal/_valueEditorHelper.js +232 -0
- package/widgets/treelist/_binding.d.ts +8 -0
- package/widgets/treelist/_binding.js +99 -0
- package/widgets/treelist/_treeListSearchViewModel.d.ts +36 -0
- package/widgets/treelist/_treeListSearchViewModel.js +136 -0
- package/widgets/treelist/_treelistController.d.ts +39 -0
- package/widgets/treelist/_treelistController.js +35 -0
- package/widgets/treelist/_treelistItem.d.ts +132 -0
- package/widgets/treelist/_treelistItem.js +571 -0
- package/widgets/treelist/options.d.ts +8 -0
- package/widgets/treelist/options.js +11 -0
- package/widgets/utils.d.ts +59 -0
- package/widgets/utils.js +9 -0
- package/dist/html/templates.html +0 -2936
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import { CriteriaOperator } from './operators/criteriaOperator';
|
|
9
|
+
import { AggregateOperand } from './operators/aggregate';
|
|
10
|
+
import { GroupOperator } from './operators/group';
|
|
11
|
+
import { OperandProperty } from './operators/property';
|
|
12
|
+
import { ConstantValue } from './operators/constant';
|
|
13
|
+
import { OperandParameter } from './operators/parameter';
|
|
14
|
+
import { JoinOperand } from './operators/join';
|
|
15
|
+
import { BetweenOperator } from './operators/between';
|
|
16
|
+
import { InOperator } from './operators/in';
|
|
17
|
+
import { BinaryOperator } from './operators/binary';
|
|
18
|
+
import { UnaryOperator } from './operators/unary';
|
|
19
|
+
import { FunctionOperator } from './operators/function';
|
|
20
|
+
export interface IPropertyLocation {
|
|
21
|
+
index?: number;
|
|
22
|
+
name?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare var operatorTokens: {
|
|
25
|
+
'Plus': string;
|
|
26
|
+
'Minus': string;
|
|
27
|
+
'Equal': string;
|
|
28
|
+
'NotEqual': string;
|
|
29
|
+
'Greater': string;
|
|
30
|
+
'Less': string;
|
|
31
|
+
'LessOrEqual': string;
|
|
32
|
+
'GreaterOrEqual': string;
|
|
33
|
+
};
|
|
34
|
+
export declare function criteriaForEach(operator: CriteriaOperator, callback: (operator: CriteriaOperator, path?: any) => void, path?: string): void;
|
|
35
|
+
export interface ICriteriaOperatorVisitor {
|
|
36
|
+
visitGroupOperator?: (element: GroupOperator) => CriteriaOperator;
|
|
37
|
+
visitOperandProperty?: (element: OperandProperty) => CriteriaOperator;
|
|
38
|
+
visitConstantValue?: (element: ConstantValue) => CriteriaOperator;
|
|
39
|
+
visitOperandParameter?: (element: OperandParameter) => CriteriaOperator;
|
|
40
|
+
visitAggregateOperand?: (element: AggregateOperand) => CriteriaOperator;
|
|
41
|
+
visitJoinOperand?: (element: JoinOperand) => CriteriaOperator;
|
|
42
|
+
visitBetweenOperator?: (element: BetweenOperator) => CriteriaOperator;
|
|
43
|
+
visitInOperator?: (element: InOperator) => CriteriaOperator;
|
|
44
|
+
visitBinaryOperator?: (element: BinaryOperator) => CriteriaOperator;
|
|
45
|
+
visitUnaryOperator?: (element: UnaryOperator) => CriteriaOperator;
|
|
46
|
+
visitFunctionOperator?: (element: FunctionOperator) => CriteriaOperator;
|
|
47
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\criteria\utils.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 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
|
+
var aggregate_1 = require("./operators/aggregate");
|
|
11
|
+
exports.operatorTokens = {
|
|
12
|
+
'Plus': '+',
|
|
13
|
+
'Minus': '-',
|
|
14
|
+
'Equal': '=',
|
|
15
|
+
'NotEqual': '<>',
|
|
16
|
+
'Greater': '>',
|
|
17
|
+
'Less': '<',
|
|
18
|
+
'LessOrEqual': '<=',
|
|
19
|
+
'GreaterOrEqual': '>='
|
|
20
|
+
};
|
|
21
|
+
function criteriaForEach(operator, callback, path) {
|
|
22
|
+
if (path === void 0) { path = ''; }
|
|
23
|
+
callback(operator, path);
|
|
24
|
+
if (operator instanceof aggregate_1.AggregateOperand) {
|
|
25
|
+
operator.leftPart && criteriaForEach(operator.leftPart, callback, path);
|
|
26
|
+
if (operator.leftPart && operator.leftPart['propertyName']) {
|
|
27
|
+
path = path ? [path, operator.leftPart['propertyName']].join('.') : operator.leftPart['propertyName'];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
operator.children().forEach(function (item) { return criteriaForEach(item, callback, path); });
|
|
31
|
+
}
|
|
32
|
+
exports.criteriaForEach = criteriaForEach;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\_expressioneditor.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import * as ko from 'knockout';
|
|
9
|
+
import { IDisplayExpressionConverter } from '../common/displayNameProvider';
|
|
10
|
+
export declare var RangeSpecific: string;
|
|
11
|
+
export declare function createExpressionEditorCollectionToolOptions(collectionItems: any, toolName: string, displayToolName: string, showDescription: boolean): {
|
|
12
|
+
displayName: any;
|
|
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>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\_expressioneditor.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 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
|
+
var ko = require("knockout");
|
|
11
|
+
var localization_utils_1 = require("../../property-grid/localization/localization_utils");
|
|
12
|
+
exports.RangeSpecific = 'range';
|
|
13
|
+
function createExpressionEditorCollectionToolOptions(collectionItems, toolName, displayToolName, showDescription) {
|
|
14
|
+
return {
|
|
15
|
+
displayName: localization_utils_1.getLocalization(toolName, displayToolName),
|
|
16
|
+
content: {
|
|
17
|
+
showDescription: showDescription,
|
|
18
|
+
isSelected: ko.observable(false),
|
|
19
|
+
data: {
|
|
20
|
+
items: collectionItems,
|
|
21
|
+
selectedItem: ko.observable(null)
|
|
22
|
+
},
|
|
23
|
+
name: 'dx-expressioneditor-collection'
|
|
24
|
+
},
|
|
25
|
+
dispose: function () { return void 0; }
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
exports.createExpressionEditorCollectionToolOptions = createExpressionEditorCollectionToolOptions;
|
|
29
|
+
function wrapExpressionValue(path, value, converter, subscriptions) {
|
|
30
|
+
if (!(converter && path))
|
|
31
|
+
return value;
|
|
32
|
+
var _displayValue = ko.observable(value());
|
|
33
|
+
converter.toDisplayExpression(path(), value()).done(function (result) {
|
|
34
|
+
_displayValue(result);
|
|
35
|
+
}).fail(function () {
|
|
36
|
+
_displayValue(value());
|
|
37
|
+
});
|
|
38
|
+
var valueSubscription = value.subscribe(function (newValue) {
|
|
39
|
+
converter.toDisplayExpression(path(), newValue).done(function (result) {
|
|
40
|
+
_displayValue(result);
|
|
41
|
+
}).fail(function () {
|
|
42
|
+
_displayValue(newValue);
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
var pathSubscription = path.subscribe(function (newPath) {
|
|
46
|
+
converter.toDisplayExpression(newPath, value())
|
|
47
|
+
.done(function (result) { _displayValue(result); })
|
|
48
|
+
.fail(function (_) { _displayValue(value()); });
|
|
49
|
+
});
|
|
50
|
+
var displayValue = ko.pureComputed({
|
|
51
|
+
read: function () { return _displayValue(); },
|
|
52
|
+
write: function (newValue) {
|
|
53
|
+
_displayValue(newValue);
|
|
54
|
+
converter.toRealExpression(path(), newValue).done(function (result) {
|
|
55
|
+
value(result);
|
|
56
|
+
}).fail(function () {
|
|
57
|
+
value(newValue);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
if (subscriptions)
|
|
62
|
+
[displayValue, valueSubscription, pathSubscription].forEach(function (x) { return subscriptions.push(x); });
|
|
63
|
+
return displayValue;
|
|
64
|
+
}
|
|
65
|
+
exports.wrapExpressionValue = wrapExpressionValue;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\bindings.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\bindings.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 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
|
+
var ko = require("knockout");
|
|
11
|
+
var $ = require("jquery");
|
|
12
|
+
var _svgTemplateEngine_1 = require("../../property-grid/widgets/internal/_svgTemplateEngine");
|
|
13
|
+
var expressioneditor_1 = require("./expressioneditor");
|
|
14
|
+
var _internal_1 = require("../../serializer/_internal");
|
|
15
|
+
ko.bindingHandlers['dxExpressionEditor'] = {
|
|
16
|
+
init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
|
|
17
|
+
var $element = $(element);
|
|
18
|
+
$element.children().remove();
|
|
19
|
+
$(element).addClass('dx-popup-general');
|
|
20
|
+
var values = valueAccessor();
|
|
21
|
+
var templateName = values.editorTemplateName || 'dx-expressioneditor';
|
|
22
|
+
var templateHtml = _svgTemplateEngine_1.getTemplate(templateName), $element = $element.append(templateHtml);
|
|
23
|
+
var optionSubscription = null;
|
|
24
|
+
var editor = new expressioneditor_1.ExpressionEditor(ko.unwrap(values.options), values.fieldListProvider, viewModel.disabled, $(element).closest('.dx-rtl').length > 0, values.displayNameProvider, values.popupVisible);
|
|
25
|
+
if (ko.isSubscribable(values.options)) {
|
|
26
|
+
optionSubscription = values.options.subscribe(function (newOptions) {
|
|
27
|
+
newOptions && editor.koOptions(newOptions);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
var child = $element.children()[0];
|
|
31
|
+
ko.applyBindings(editor, child);
|
|
32
|
+
var callback = function () {
|
|
33
|
+
editor.dispose();
|
|
34
|
+
editor = null;
|
|
35
|
+
optionSubscription && optionSubscription.dispose();
|
|
36
|
+
};
|
|
37
|
+
_internal_1.addDisposeCallback(element, callback);
|
|
38
|
+
return { controlsDescendantBindings: true };
|
|
39
|
+
}
|
|
40
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\expressioneditor.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import * as ko from 'knockout';
|
|
9
|
+
import { IExpressionEditorFunction } from './tools/_functions';
|
|
10
|
+
import { ICompletionRootItem, CodeCompletor } from '../common/_codeCompletor';
|
|
11
|
+
import { CriteriaOperator } from '../criteria/operators/criteriaOperator';
|
|
12
|
+
import { IItemsProvider } from '../utils';
|
|
13
|
+
import { Disposable } from '../../serializer/utils';
|
|
14
|
+
import { getParentContainer } from '../_utils';
|
|
15
|
+
import { IDisplayNameProvider } from '../common/displayNameProvider';
|
|
16
|
+
import { DisplayExpressionConverter } from '../common/_displayNameProvider';
|
|
17
|
+
import { ExpressionEditorParametersTreeListController } from './tools/_treeListControllers';
|
|
18
|
+
import { Tools } from './tools/_tools';
|
|
19
|
+
export interface IExpressionOptions {
|
|
20
|
+
value: ko.Observable<string> | ko.Computed<string>;
|
|
21
|
+
path?: ko.Observable<string> | ko.Computed<string>;
|
|
22
|
+
fieldName?: ko.Observable<string> | ko.Computed<string>;
|
|
23
|
+
theme?: string;
|
|
24
|
+
patchFieldName?: (fieldName: string) => string;
|
|
25
|
+
functions?: Array<IExpressionEditorFunction>;
|
|
26
|
+
rootItems?: Array<ICompletionRootItem>;
|
|
27
|
+
customizeCategories?: (sender: any, categories: any, dblclick?: any) => void;
|
|
28
|
+
validate?: (criteria: CriteriaOperator) => boolean;
|
|
29
|
+
isValid?: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
30
|
+
warningMessage?: ko.Observable<string> | ko.Computed<string>;
|
|
31
|
+
}
|
|
32
|
+
export declare class ExpressionEditor extends Disposable {
|
|
33
|
+
private options;
|
|
34
|
+
private _displayNameProvider?;
|
|
35
|
+
popupVisible: ko.Observable<boolean>;
|
|
36
|
+
dispose(): void;
|
|
37
|
+
private _createMainPopupButtons;
|
|
38
|
+
private _getTextArea;
|
|
39
|
+
private _updateTextAreaValue;
|
|
40
|
+
private _updateAceValue;
|
|
41
|
+
private _updateValue;
|
|
42
|
+
private patchFieldName;
|
|
43
|
+
private _parametersPutSelectionHandler;
|
|
44
|
+
private _fieldsPutSelectionHandler;
|
|
45
|
+
private _createToolsOptions;
|
|
46
|
+
private _parametersCustomFilter;
|
|
47
|
+
constructor(options: IExpressionOptions, fieldListProvider: ko.Observable<IItemsProvider> | ko.Computed<IItemsProvider>, disabled?: ko.Observable<boolean> | ko.Computed<boolean>, rtl?: boolean, _displayNameProvider?: IDisplayNameProvider, popupVisible?: ko.Observable<boolean>);
|
|
48
|
+
displayExpressionConverter: DisplayExpressionConverter;
|
|
49
|
+
aceAvailable: boolean;
|
|
50
|
+
tools: Tools;
|
|
51
|
+
displayValue: ko.Observable<string> | ko.Computed<string>;
|
|
52
|
+
title: () => any;
|
|
53
|
+
value: ko.Observable<string> | ko.Computed<string>;
|
|
54
|
+
textAreaValue: ko.Observable<string>;
|
|
55
|
+
theme: string;
|
|
56
|
+
languageHelper: {
|
|
57
|
+
getLanguageMode: () => string;
|
|
58
|
+
createCompleters: (editor: any, bindingContext: any, viewModel: ExpressionEditor) => CodeCompletor[];
|
|
59
|
+
};
|
|
60
|
+
aceOptions: {
|
|
61
|
+
showLineNumbers: boolean;
|
|
62
|
+
showPrintMargin: boolean;
|
|
63
|
+
enableBasicAutocompletion: boolean;
|
|
64
|
+
enableLiveAutocompletion: boolean;
|
|
65
|
+
showFoldWidgets: boolean;
|
|
66
|
+
highlightActiveLine: boolean;
|
|
67
|
+
};
|
|
68
|
+
additionalOptions: {
|
|
69
|
+
onChange: (session: any) => void;
|
|
70
|
+
};
|
|
71
|
+
callbacks: {
|
|
72
|
+
focus: () => undefined;
|
|
73
|
+
};
|
|
74
|
+
koOptions: ko.Observable<IExpressionOptions> | ko.Computed<IExpressionOptions>;
|
|
75
|
+
editorContainer: ko.Observable<any> | ko.Computed<any>;
|
|
76
|
+
fieldListProvider: ko.Observable<IItemsProvider> | ko.Computed<IItemsProvider>;
|
|
77
|
+
parametersTreeListController: ExpressionEditorParametersTreeListController;
|
|
78
|
+
save: (sender: any) => void;
|
|
79
|
+
isValid: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
80
|
+
buttonItems: any[];
|
|
81
|
+
rtl: boolean;
|
|
82
|
+
modelValueValid: ko.Computed<boolean>;
|
|
83
|
+
modelValueWarning: ko.Computed<string>;
|
|
84
|
+
disabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
85
|
+
onShown(): void;
|
|
86
|
+
getPopupContainer: typeof getParentContainer;
|
|
87
|
+
}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\expressioneditor.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
14
|
+
return extendStatics(d, b);
|
|
15
|
+
};
|
|
16
|
+
return function (d, b) {
|
|
17
|
+
extendStatics(d, b);
|
|
18
|
+
function __() { this.constructor = d; }
|
|
19
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20
|
+
};
|
|
21
|
+
})();
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
var ko = require("knockout");
|
|
24
|
+
var $ = require("jquery");
|
|
25
|
+
var _codeCompletor_1 = require("../common/_codeCompletor");
|
|
26
|
+
var criteriaOperator_1 = require("../criteria/operators/criteriaOperator");
|
|
27
|
+
var utils_1 = require("../../serializer/utils");
|
|
28
|
+
var localization_utils_1 = require("../../property-grid/localization/localization_utils");
|
|
29
|
+
var _localizationStringIds_1 = require("../../property-grid/localization/_localizationStringIds");
|
|
30
|
+
var _utils_1 = require("../_utils");
|
|
31
|
+
var _expressioneditor_1 = require("./_expressioneditor");
|
|
32
|
+
var _displayNameProvider_1 = require("../common/_displayNameProvider");
|
|
33
|
+
var _treeListControllers_1 = require("./tools/_treeListControllers");
|
|
34
|
+
var _tools_1 = require("./tools/_tools");
|
|
35
|
+
var _binding_1 = require("../ace/_binding");
|
|
36
|
+
function createExpressionEditorFieldListProvider(originalProvider, fieldName) {
|
|
37
|
+
return ko.computed(function () {
|
|
38
|
+
var provider = ko.unwrap(originalProvider);
|
|
39
|
+
var unwrappedFieldName = ko.unwrap(fieldName);
|
|
40
|
+
return !unwrappedFieldName ? provider : {
|
|
41
|
+
getItems: function (path) {
|
|
42
|
+
var $deferred = $.Deferred();
|
|
43
|
+
provider.getItems(path)
|
|
44
|
+
.done(function (data) {
|
|
45
|
+
$deferred.resolve(data.filter(function (field) { return field.name !== unwrappedFieldName; }));
|
|
46
|
+
})
|
|
47
|
+
.fail(function () { return $deferred.reject(); });
|
|
48
|
+
return $deferred.promise();
|
|
49
|
+
},
|
|
50
|
+
getValues: function (path) {
|
|
51
|
+
return provider.getValues(path);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
var ExpressionEditor = (function (_super) {
|
|
57
|
+
__extends(ExpressionEditor, _super);
|
|
58
|
+
function ExpressionEditor(options, fieldListProvider, disabled, rtl, _displayNameProvider, popupVisible) {
|
|
59
|
+
if (disabled === void 0) { disabled = ko.observable(false); }
|
|
60
|
+
if (rtl === void 0) { rtl = false; }
|
|
61
|
+
if (popupVisible === void 0) { popupVisible = ko.observable(false); }
|
|
62
|
+
var _this = _super.call(this) || this;
|
|
63
|
+
_this.options = options;
|
|
64
|
+
_this._displayNameProvider = _displayNameProvider;
|
|
65
|
+
_this.popupVisible = popupVisible;
|
|
66
|
+
_this._updateTextAreaValue = function (item, element) {
|
|
67
|
+
var textArea = _this._getTextArea(element), textAreaValue = _this.textAreaValue().toString(), cursorPosition = textArea && textArea.selectionStart || textAreaValue.length, newAddedText = textAreaValue[cursorPosition - 1] == ' ' ? (item.val || item.text || item) + ' ' : ' ' + (item.val || item.text || item) + ' ';
|
|
68
|
+
_this.textAreaValue([textAreaValue.slice(0, cursorPosition), newAddedText, textAreaValue.slice(cursorPosition)].join(''));
|
|
69
|
+
if (textArea && textArea.setSelectionRange) {
|
|
70
|
+
textArea.focus();
|
|
71
|
+
var posisition = cursorPosition + (newAddedText.indexOf('(') !== -1 ? newAddedText.indexOf('(') + 1 : newAddedText.length);
|
|
72
|
+
textArea.setSelectionRange(posisition, posisition);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
_this._updateAceValue = function (item, element) {
|
|
76
|
+
var editor = _this.editorContainer(), _a = editor.getCursorPosition(), row = _a.row, col = _a.column, insertion = (item.val || item.text || item) + ' ';
|
|
77
|
+
if (col && editor.getSession().getValue().split('\n')[row][col - 1] !== ' ')
|
|
78
|
+
insertion = ' ' + insertion;
|
|
79
|
+
editor.insert(insertion);
|
|
80
|
+
editor.focus();
|
|
81
|
+
_utils_1.setCursorInFunctionParameter(item.paramCount, editor, insertion);
|
|
82
|
+
};
|
|
83
|
+
_this._updateValue = function (item, element) {
|
|
84
|
+
_this.aceAvailable ? _this._updateAceValue(item, $(element)) : _this._updateTextAreaValue(item, $(element));
|
|
85
|
+
};
|
|
86
|
+
_this.patchFieldName = function (fieldName) { return fieldName; };
|
|
87
|
+
_this._parametersPutSelectionHandler = function (selectedItemPath, element) {
|
|
88
|
+
var pathParts = selectedItemPath.split('.');
|
|
89
|
+
var newAddedString = '?' + _this.patchFieldName(pathParts[pathParts.length - 1]);
|
|
90
|
+
_this._updateValue(newAddedString, element);
|
|
91
|
+
};
|
|
92
|
+
_this._fieldsPutSelectionHandler = function (selectedItemPath, element) {
|
|
93
|
+
var path = _this.koOptions.peek().path.peek();
|
|
94
|
+
var proposedFieldName = selectedItemPath.substring(path.length + 1);
|
|
95
|
+
var newAddedString = '[' + _this.patchFieldName(proposedFieldName) + ']';
|
|
96
|
+
if (_this._displayNameProvider) {
|
|
97
|
+
_this.displayExpressionConverter.toDisplayExpression(path, newAddedString)
|
|
98
|
+
.done(function (result) { _this._updateValue(result, element); })
|
|
99
|
+
.fail(function () { _this._updateValue(newAddedString, element); });
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
_this._updateValue(newAddedString, element);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
_this.aceAvailable = _binding_1.aceAvailable;
|
|
106
|
+
_this.title = function () { return localization_utils_1.getLocalization('Expression Editor', 'AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption'); };
|
|
107
|
+
_this.value = ko.observable('');
|
|
108
|
+
_this.textAreaValue = ko.observable('');
|
|
109
|
+
_this.languageHelper = {
|
|
110
|
+
getLanguageMode: function () { return 'ace/mode/criteria'; },
|
|
111
|
+
createCompleters: function (editor, bindingContext, viewModel) {
|
|
112
|
+
var path = ko.computed(function () { return viewModel.koOptions() && ko.unwrap(viewModel.koOptions().path) || ''; }), functions = ko.computed(function () { return viewModel.koOptions() && ko.unwrap(viewModel.koOptions().functions) || []; }), completor = new _codeCompletor_1.CodeCompletor({
|
|
113
|
+
editor: editor,
|
|
114
|
+
bindingContext: bindingContext,
|
|
115
|
+
fieldListProvider: viewModel.fieldListProvider,
|
|
116
|
+
path: path,
|
|
117
|
+
functions: functions,
|
|
118
|
+
rootItems: viewModel.options.rootItems,
|
|
119
|
+
getRealExpression: function (path, member) {
|
|
120
|
+
return _this.displayExpressionConverter && _this.displayExpressionConverter.toRealExpression(path, member) || $.Deferred().resolve(member).promise();
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
[path, functions].forEach(function (x) { return completor._disposables.push(x); });
|
|
124
|
+
return [completor];
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
_this.aceOptions = {
|
|
128
|
+
showLineNumbers: false,
|
|
129
|
+
showPrintMargin: false,
|
|
130
|
+
enableBasicAutocompletion: true,
|
|
131
|
+
enableLiveAutocompletion: true,
|
|
132
|
+
showFoldWidgets: false,
|
|
133
|
+
highlightActiveLine: false
|
|
134
|
+
};
|
|
135
|
+
_this.additionalOptions = {
|
|
136
|
+
onChange: function (session) {
|
|
137
|
+
var value = session.getValue();
|
|
138
|
+
try {
|
|
139
|
+
var operator = criteriaOperator_1.CriteriaOperator.parse(value);
|
|
140
|
+
if (_this.koOptions().validate) {
|
|
141
|
+
_this.isValid(_this.koOptions().validate(operator));
|
|
142
|
+
}
|
|
143
|
+
session.clearAnnotations();
|
|
144
|
+
}
|
|
145
|
+
catch (exception) {
|
|
146
|
+
var row = exception.hash && exception.hash.line || 0;
|
|
147
|
+
var column = 0;
|
|
148
|
+
var lines = exception.message.split('\n');
|
|
149
|
+
var text = lines[1] + '\n' + lines[2];
|
|
150
|
+
session.setAnnotations([{ row: row, column: column, text: text, 'type': 'error' }]);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
_this.callbacks = {
|
|
155
|
+
focus: $.noop
|
|
156
|
+
};
|
|
157
|
+
_this.koOptions = ko.observable(null);
|
|
158
|
+
_this.editorContainer = ko.observable();
|
|
159
|
+
_this.isValid = ko.observable(true);
|
|
160
|
+
_this.buttonItems = [];
|
|
161
|
+
_this.rtl = false;
|
|
162
|
+
_this.modelValueValid = ko.computed(function () {
|
|
163
|
+
var options = _this.koOptions();
|
|
164
|
+
return options && ko.unwrap(options.isValid) || true;
|
|
165
|
+
});
|
|
166
|
+
_this.modelValueWarning = ko.computed(function () {
|
|
167
|
+
var options = _this.koOptions();
|
|
168
|
+
return options && ko.unwrap(options.warningMessage) || '';
|
|
169
|
+
});
|
|
170
|
+
_this.getPopupContainer = _utils_1.getParentContainer;
|
|
171
|
+
_this.koOptions(options);
|
|
172
|
+
_this.patchFieldName = function (fieldName) {
|
|
173
|
+
return _this.koOptions().patchFieldName && _this.koOptions().patchFieldName(fieldName) || fieldName;
|
|
174
|
+
};
|
|
175
|
+
_this.theme = _this.koOptions() && _this.koOptions().theme;
|
|
176
|
+
_this._disposables.push(_this.value = ko.computed({
|
|
177
|
+
read: function () {
|
|
178
|
+
var value = _this.koOptions() && ko.unwrap(_this.koOptions().value);
|
|
179
|
+
return (value && value.toString()) || '';
|
|
180
|
+
},
|
|
181
|
+
write: function (newVal) { return _this.koOptions() && _this.koOptions().value(newVal); }
|
|
182
|
+
}));
|
|
183
|
+
if (_displayNameProvider && options.path) {
|
|
184
|
+
_this.displayExpressionConverter = new _displayNameProvider_1.DisplayExpressionConverter(_displayNameProvider);
|
|
185
|
+
var pathFunc = ko.pureComputed(function () { return _this.koOptions() && _this.koOptions().path && _this.koOptions().path(); });
|
|
186
|
+
_this.displayValue = _expressioneditor_1.wrapExpressionValue(pathFunc, _this.value, _this.displayExpressionConverter, _this._disposables);
|
|
187
|
+
_this._disposables.push(pathFunc);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
_this.displayValue = _this.value;
|
|
191
|
+
}
|
|
192
|
+
_this.rtl = rtl;
|
|
193
|
+
var validate = function (value, sender) {
|
|
194
|
+
try {
|
|
195
|
+
criteriaOperator_1.CriteriaOperator.parse(value);
|
|
196
|
+
_this.isValid(true);
|
|
197
|
+
return true;
|
|
198
|
+
}
|
|
199
|
+
catch (exception) {
|
|
200
|
+
var result = criteriaOperator_1.CriteriaOperator.getNotValidRange(value, exception.message);
|
|
201
|
+
var textArea = _this._getTextArea(sender && sender.element);
|
|
202
|
+
textArea && textArea.setSelectionRange(result.start, result.end);
|
|
203
|
+
_this.isValid(false);
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
_this._disposables.push(_this.popupVisible.subscribe(function (newVal) {
|
|
207
|
+
if (!newVal)
|
|
208
|
+
return;
|
|
209
|
+
_this.tools.resetCategoriesSelection && _this.tools.resetCategoriesSelection();
|
|
210
|
+
_this.textAreaValue(_this.displayValue());
|
|
211
|
+
if (!_this.aceAvailable) {
|
|
212
|
+
validate(_this.value());
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
var editor = _this.editorContainer();
|
|
216
|
+
var session = editor && editor.getSession();
|
|
217
|
+
session && session.setValue(_this.textAreaValue());
|
|
218
|
+
}
|
|
219
|
+
}));
|
|
220
|
+
var fieldName = ko.computed(function () { return _this.koOptions() && _this.koOptions().fieldName && _this.koOptions().fieldName(); });
|
|
221
|
+
_this._disposables.push(_this.fieldListProvider = createExpressionEditorFieldListProvider(fieldListProvider, fieldName));
|
|
222
|
+
_this.disabled = disabled;
|
|
223
|
+
var self = _this;
|
|
224
|
+
_this.save = function (sender) {
|
|
225
|
+
var value = _this.textAreaValue();
|
|
226
|
+
if (_this.aceAvailable) {
|
|
227
|
+
var editor = _this.editorContainer();
|
|
228
|
+
var session = editor && editor.getSession();
|
|
229
|
+
value = session && session.getValue();
|
|
230
|
+
}
|
|
231
|
+
if (validate(value, sender)) {
|
|
232
|
+
_this.displayValue(value);
|
|
233
|
+
_this.popupVisible(false);
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
var selectedItem = null;
|
|
237
|
+
var selectionHandler = function (item) {
|
|
238
|
+
var selectedItemType = ko.unwrap(item.data['type']);
|
|
239
|
+
if (selectedItem)
|
|
240
|
+
selectedItem.isSelected(false);
|
|
241
|
+
selectedItem = item;
|
|
242
|
+
item.isSelected(true);
|
|
243
|
+
};
|
|
244
|
+
var fieldsTreeListOptions = ko.pureComputed(function () {
|
|
245
|
+
return _this.koOptions() && _this.koOptions().path && _this.koOptions().path() && _this._createToolsOptions(_this.koOptions().path(), _this.fieldListProvider(), new _treeListControllers_1.ExpressionEditorTreeListController(fieldName, function (data, element) { _this._fieldsPutSelectionHandler(data.path, element); }, selectionHandler));
|
|
246
|
+
});
|
|
247
|
+
_this.parametersTreeListController = new _treeListControllers_1.ExpressionEditorParametersTreeListController(_this._parametersCustomFilter, _this._parametersPutSelectionHandler, selectionHandler);
|
|
248
|
+
var parametersTreeListOptions = ko.pureComputed(function () {
|
|
249
|
+
return _this._createToolsOptions('', _this.fieldListProvider(), _this.parametersTreeListController);
|
|
250
|
+
});
|
|
251
|
+
_this._disposables.push(_this.tools = new _tools_1.Tools(_this._updateValue, parametersTreeListOptions, _this.koOptions, fieldsTreeListOptions));
|
|
252
|
+
_this._disposables.push(_this.modelValueValid, _this.modelValueWarning);
|
|
253
|
+
_this._createMainPopupButtons();
|
|
254
|
+
[fieldName, fieldsTreeListOptions, parametersTreeListOptions].forEach(function (x) { return _this._disposables.push(x); });
|
|
255
|
+
return _this;
|
|
256
|
+
}
|
|
257
|
+
ExpressionEditor.prototype.dispose = function () {
|
|
258
|
+
_super.prototype.dispose.call(this);
|
|
259
|
+
this.koOptions(null);
|
|
260
|
+
this.options = null;
|
|
261
|
+
};
|
|
262
|
+
ExpressionEditor.prototype._createMainPopupButtons = function () {
|
|
263
|
+
var self = this;
|
|
264
|
+
this.buttonItems = [
|
|
265
|
+
{ toolbar: 'bottom', location: 'after', widget: 'dxButton', options: { text: localization_utils_1.getLocalization('Save', _localizationStringIds_1.StringId.DataAccessBtnOK), onClick: function (sender) { self.save(sender); } } },
|
|
266
|
+
{ toolbar: 'bottom', location: 'after', widget: 'dxButton', options: { text: localization_utils_1.getLocalization('Cancel', _localizationStringIds_1.StringId.DataAccessBtnCancel), onClick: function () { self.popupVisible(false); } } }
|
|
267
|
+
];
|
|
268
|
+
};
|
|
269
|
+
ExpressionEditor.prototype._getTextArea = function (element) {
|
|
270
|
+
return element && element.parents('.dx-expressioneditor').find(':input')[0];
|
|
271
|
+
};
|
|
272
|
+
ExpressionEditor.prototype._createToolsOptions = function (path, fieldListProvider, treeListController) {
|
|
273
|
+
return {
|
|
274
|
+
itemsProvider: fieldListProvider,
|
|
275
|
+
selectedPath: ko.observable(''),
|
|
276
|
+
path: path,
|
|
277
|
+
templateName: 'dx-ee-treelist-item',
|
|
278
|
+
treeListController: treeListController,
|
|
279
|
+
rtl: this.rtl
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
ExpressionEditor.prototype._parametersCustomFilter = function (item) {
|
|
283
|
+
return item.specifics === 'parameters' || item.specifics === _expressioneditor_1.RangeSpecific || !_utils_1.isList(item);
|
|
284
|
+
};
|
|
285
|
+
ExpressionEditor.prototype.onShown = function () {
|
|
286
|
+
this.callbacks.focus();
|
|
287
|
+
};
|
|
288
|
+
return ExpressionEditor;
|
|
289
|
+
}(utils_1.Disposable));
|
|
290
|
+
exports.ExpressionEditor = ExpressionEditor;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_functions.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import { IExpressionEditorItem } from './_operatorNames';
|
|
9
|
+
export interface IExpressionEditorFunctionItem extends IExpressionEditorItem {
|
|
10
|
+
paramCount: number;
|
|
11
|
+
displayName?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IExpressionEditorFunction {
|
|
14
|
+
display: string;
|
|
15
|
+
localizationId?: string;
|
|
16
|
+
items?: {
|
|
17
|
+
[key: string]: Array<IExpressionEditorFunctionItem>;
|
|
18
|
+
};
|
|
19
|
+
category?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare var functionDisplay: (newVal?: IExpressionEditorFunction[]) => IExpressionEditorFunction[];
|
|
22
|
+
export declare var resetFunctionDisplay: () => IExpressionEditorFunction[];
|
|
23
|
+
export declare function insertInFunctionDisplay(addins: any): Array<IExpressionEditorFunction>;
|