@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,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_functions.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 _utils_1 = require("../../../serializer/_utils");
|
|
11
|
+
var _internal_1 = require("../../../serializer/_internal");
|
|
12
|
+
var defaultFunctionDisplay = [
|
|
13
|
+
{
|
|
14
|
+
display: 'Aggregate',
|
|
15
|
+
localizationId: 'DataAccessStringId.ExpressionEditor_FunctionCategory_Aggregate',
|
|
16
|
+
category: 'Aggregate',
|
|
17
|
+
items: {
|
|
18
|
+
Avg: [{ paramCount: 1, text: '[].Avg()', displayName: 'Avg()', descriptionStringId: 'ExpressionEditorStringId.Function_AvgAggregate' }],
|
|
19
|
+
Count: [{ paramCount: 1, text: '[].Count()', displayName: 'Count()', descriptionStringId: 'ExpressionEditorStringId.Function_CountAggregate' }],
|
|
20
|
+
Exists: [{ paramCount: 1, text: '[].Exists()', displayName: 'Exists()', descriptionStringId: 'ExpressionEditorStringId.Function_ExistsAggregate' }],
|
|
21
|
+
Max: [{ paramCount: 1, text: '[].Max()', displayName: 'Max()', descriptionStringId: 'ExpressionEditorStringId.Function_MaxAggregate' }],
|
|
22
|
+
Min: [{ paramCount: 1, text: '[].Min()', displayName: 'Min()', descriptionStringId: 'ExpressionEditorStringId.Function_MinAggregate' }],
|
|
23
|
+
Single: [{ paramCount: 1, text: '[].Single()', displayName: 'Single()', descriptionStringId: 'ExpressionEditorStringId.Function_SingleAggregate' }],
|
|
24
|
+
Sum: [{ paramCount: 1, text: '[].Sum()', displayName: 'Sum()', descriptionStringId: 'ExpressionEditorStringId.Function_SumAggregate' }],
|
|
25
|
+
}
|
|
26
|
+
}, {
|
|
27
|
+
display: 'Date-Time',
|
|
28
|
+
localizationId: 'DataAccessStringId.ExpressionEditor_FunctionCategory_DateTime',
|
|
29
|
+
items: {
|
|
30
|
+
LocalDateTimeThisYear: [{ paramCount: 0, text: 'LocalDateTimeThisYear()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeThisYear' }],
|
|
31
|
+
LocalDateTimeThisMonth: [{ paramCount: 0, text: 'LocalDateTimeThisMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeThisMonth' }],
|
|
32
|
+
LocalDateTimeLastMonth: [{ paramCount: 0, text: 'LocalDateTimeLastMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeLastMonth' }],
|
|
33
|
+
LocalDateTimeLastWeek: [{ paramCount: 0, text: 'LocalDateTimeLastWeek()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeLastWeek' }],
|
|
34
|
+
LocalDateTimeLastYear: [{ paramCount: 0, text: 'LocalDateTimeLastYear()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeLastYear' }],
|
|
35
|
+
LocalDateTimeThisWeek: [{ paramCount: 0, text: 'LocalDateTimeThisWeek()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeThisWeek' }],
|
|
36
|
+
LocalDateTimeYesterday: [{ paramCount: 0, text: 'LocalDateTimeYesterday()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeYesterday' }],
|
|
37
|
+
LocalDateTimeToday: [{ paramCount: 0, text: 'LocalDateTimeToday()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeToday' }],
|
|
38
|
+
LocalDateTimeNow: [{ paramCount: 0, text: 'LocalDateTimeNow()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeNow' }],
|
|
39
|
+
LocalDateTimeTomorrow: [{ paramCount: 0, text: 'LocalDateTimeTomorrow()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeTomorrow' }],
|
|
40
|
+
LocalDateTimeDayAfterTomorrow: [{ paramCount: 0, text: 'LocalDateTimeDayAfterTomorrow()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow' }],
|
|
41
|
+
LocalDateTimeNextWeek: [{ paramCount: 0, text: 'LocalDateTimeNextWeek()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeNextWeek' }],
|
|
42
|
+
LocalDateTimeTwoMonthsAway: [{ paramCount: 0, text: 'LocalDateTimeTwoMonthsAway()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway' }],
|
|
43
|
+
LocalDateTimeTwoYearsAway: [{ paramCount: 0, text: 'LocalDateTimeTwoYearsAway()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway' }],
|
|
44
|
+
LocalDateTimeTwoWeeksAway: [{ paramCount: 0, text: 'LocalDateTimeTwoWeeksAway()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway' }],
|
|
45
|
+
LocalDateTimeNextMonth: [{ paramCount: 0, text: 'LocalDateTimeNextMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeNextMonth' }],
|
|
46
|
+
LocalDateTimeNextYear: [{ paramCount: 0, text: 'LocalDateTimeNextYear()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeNextYear' }],
|
|
47
|
+
LocalDateTimeYearBeforeToday: [{ paramCount: 0, text: 'LocalDateTimeYearBeforeToday()', descriptionStringId: 'ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday' }],
|
|
48
|
+
IsOutlookIntervalBeyondThisYear: null,
|
|
49
|
+
IsOutlookIntervalLaterThisYear: null,
|
|
50
|
+
IsOutlookIntervalLaterThisMonth: null,
|
|
51
|
+
IsOutlookIntervalNextWeek: null,
|
|
52
|
+
IsOutlookIntervalLaterThisWeek: null,
|
|
53
|
+
IsOutlookIntervalTomorrow: null,
|
|
54
|
+
IsOutlookIntervalToday: null,
|
|
55
|
+
IsOutlookIntervalYesterday: null,
|
|
56
|
+
IsOutlookIntervalEarlierThisWeek: null,
|
|
57
|
+
IsOutlookIntervalLastWeek: null,
|
|
58
|
+
IsOutlookIntervalEarlierThisMonth: null,
|
|
59
|
+
IsOutlookIntervalEarlierThisYear: null,
|
|
60
|
+
IsOutlookIntervalPriorThisYear: null,
|
|
61
|
+
IsLastMonth: [{ paramCount: 1, text: 'IsLastMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_IsLastMonth' }],
|
|
62
|
+
IsLastYear: [{ paramCount: 1, text: 'IsLastYear()', descriptionStringId: 'ExpressionEditorStringId.Function_IsLastYear' }],
|
|
63
|
+
IsNextMonth: [{ paramCount: 1, text: 'IsNextMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_IsNextMonth' }],
|
|
64
|
+
IsNextYear: [{ paramCount: 1, text: 'IsNextYear()', descriptionStringId: 'ExpressionEditorStringId.Function_IsNextYear' }],
|
|
65
|
+
IsThisWeek: [{ paramCount: 1, text: 'IsThisWeek()', descriptionStringId: 'ExpressionEditorStringId.Function_IsThisWeek' }],
|
|
66
|
+
IsThisMonth: [{ paramCount: 1, text: 'IsThisMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_IsThisMonth' }],
|
|
67
|
+
IsThisYear: [{ paramCount: 1, text: 'IsThisYear()', descriptionStringId: 'ExpressionEditorStringId.Function_IsThisYear' }],
|
|
68
|
+
IsJanuary: [{ paramCount: 1, text: 'IsJanuary()', descriptionStringId: 'ExpressionEditorStringId.Function_IsJanuary' }],
|
|
69
|
+
IsFebruary: [{ paramCount: 1, text: 'IsFebruary()', descriptionStringId: 'ExpressionEditorStringId.Function_IsFebruary' }],
|
|
70
|
+
IsMarch: [{ paramCount: 1, text: 'IsMarch()', descriptionStringId: 'ExpressionEditorStringId.Function_IsMarch' }],
|
|
71
|
+
IsApril: [{ paramCount: 1, text: 'IsApril()', descriptionStringId: 'ExpressionEditorStringId.Function_IsApril' }],
|
|
72
|
+
IsMay: [{ paramCount: 1, text: 'IsMay()', descriptionStringId: 'ExpressionEditorStringId.Function_IsMay' }],
|
|
73
|
+
IsJune: [{ paramCount: 1, text: 'IsJune()', descriptionStringId: 'ExpressionEditorStringId.Function_IsJune' }],
|
|
74
|
+
IsJuly: [{ paramCount: 1, text: 'IsJuly()', descriptionStringId: 'ExpressionEditorStringId.Function_IsJuly' }],
|
|
75
|
+
IsAugust: [{ paramCount: 1, text: 'IsAugust()', descriptionStringId: 'ExpressionEditorStringId.Function_IsAugust' }],
|
|
76
|
+
IsSeptember: [{ paramCount: 1, text: 'IsSeptember()', descriptionStringId: 'ExpressionEditorStringId.Function_IsSeptember' }],
|
|
77
|
+
IsOctober: [{ paramCount: 1, text: 'IsOctober()', descriptionStringId: 'ExpressionEditorStringId.Function_IsOctober' }],
|
|
78
|
+
IsNovember: [{ paramCount: 1, text: 'IsNovember()', descriptionStringId: 'ExpressionEditorStringId.Function_IsNovember' }],
|
|
79
|
+
IsDecember: [{ paramCount: 1, text: 'IsDecember()', descriptionStringId: 'ExpressionEditorStringId.Function_IsDecember' }],
|
|
80
|
+
IsSameDay: [{ paramCount: 2, text: 'IsSameDay(, )', descriptionStringId: 'ExpressionEditorStringId.Function_IsSameDay' }],
|
|
81
|
+
IsYearToDate: [{ paramCount: 1, text: 'IsYearToDate()', descriptionStringId: 'ExpressionEditorStringId.Function_IsYearToDate' }],
|
|
82
|
+
DateDiffTick: [{ paramCount: 2, text: 'DateDiffTick(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffTick' }],
|
|
83
|
+
DateDiffSecond: [{ paramCount: 2, text: 'DateDiffSecond(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffSecond' }],
|
|
84
|
+
DateDiffMilliSecond: [{ paramCount: 2, text: 'DateDiffMilliSecond(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffMilliSecond' }],
|
|
85
|
+
DateDiffMinute: [{ paramCount: 2, text: 'DateDiffMinute(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffMinute' }],
|
|
86
|
+
DateDiffHour: [{ paramCount: 2, text: 'DateDiffHour(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffHour' }],
|
|
87
|
+
DateDiffDay: [{ paramCount: 2, text: 'DateDiffDay(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffDay' }],
|
|
88
|
+
DateDiffMonth: [{ paramCount: 2, text: 'DateDiffMonth(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffMonth' }],
|
|
89
|
+
DateDiffYear: [{ paramCount: 2, text: 'DateDiffYear(, )', descriptionStringId: 'ExpressionEditorStringId.Function_DateDiffYear' }],
|
|
90
|
+
GetDate: [{ paramCount: 1, text: 'GetDate()', descriptionStringId: 'ExpressionEditorStringId.Function_GetDate' }],
|
|
91
|
+
GetMilliSecond: [{ paramCount: 1, text: 'GetMilliSecond()', descriptionStringId: 'ExpressionEditorStringId.Function_GetMilliSecond' }],
|
|
92
|
+
GetSecond: [{ paramCount: 1, text: 'GetSecond()', descriptionStringId: 'ExpressionEditorStringId.Function_GetSecond' }],
|
|
93
|
+
GetMinute: [{ paramCount: 1, text: 'GetMinute()', descriptionStringId: 'ExpressionEditorStringId.Function_GetMinute' }],
|
|
94
|
+
GetHour: [{ paramCount: 1, text: 'GetHour()', descriptionStringId: 'ExpressionEditorStringId.Function_GetHour' }],
|
|
95
|
+
GetDay: [{ paramCount: 1, text: 'GetDay()', descriptionStringId: 'ExpressionEditorStringId.Function_GetDay' }],
|
|
96
|
+
GetMonth: [{ paramCount: 1, text: 'GetMonth()', descriptionStringId: 'ExpressionEditorStringId.Function_GetMonth' }],
|
|
97
|
+
GetYear: [{ paramCount: 1, text: 'GetYear()', descriptionStringId: 'ExpressionEditorStringId.Function_GetYear' }],
|
|
98
|
+
GetDayOfWeek: [{ paramCount: 1, text: 'GetDayOfWeek()', descriptionStringId: 'ExpressionEditorStringId.Function_GetDayOfWeek' }],
|
|
99
|
+
GetDayOfYear: [{ paramCount: 1, text: 'GetDayOfYear()', descriptionStringId: 'ExpressionEditorStringId.Function_GetDayOfYear' }],
|
|
100
|
+
GetTimeOfDay: [{ paramCount: 1, text: 'GetTimeOfDay()', descriptionStringId: 'ExpressionEditorStringId.Function_GetTimeOfDay' }],
|
|
101
|
+
Now: [{ paramCount: 0, text: 'Now()', descriptionStringId: 'ExpressionEditorStringId.Function_Now' }],
|
|
102
|
+
UtcNow: [{ paramCount: 0, text: 'UtcNow()', descriptionStringId: 'ExpressionEditorStringId.Function_UtcNow' }],
|
|
103
|
+
Today: [{ paramCount: 0, text: 'Today()', descriptionStringId: 'ExpressionEditorStringId.Function_Today' }],
|
|
104
|
+
AddTimeSpan: [{ paramCount: 2, text: 'AddTimeSpan(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddTimeSpan' }],
|
|
105
|
+
AddTicks: [{ paramCount: 2, text: 'AddTicks(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddTicks' }],
|
|
106
|
+
AddMilliSeconds: [{ paramCount: 2, text: 'AddMilliSeconds(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddMilliSeconds' }],
|
|
107
|
+
AddSeconds: [{ paramCount: 2, text: 'AddSeconds(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddSeconds' }],
|
|
108
|
+
AddMinutes: [{ paramCount: 2, text: 'AddMinutes(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddMinutes' }],
|
|
109
|
+
AddHours: [{ paramCount: 2, text: 'AddHours(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddHours' }],
|
|
110
|
+
AddDays: [{ paramCount: 2, text: 'AddDays(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddDays' }],
|
|
111
|
+
AddMonths: [{ paramCount: 2, text: 'AddMonths(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddMonths' }],
|
|
112
|
+
AddYears: [{ paramCount: 2, text: 'AddYears(, )', descriptionStringId: 'ExpressionEditorStringId.Function_AddYears' }],
|
|
113
|
+
},
|
|
114
|
+
}, {
|
|
115
|
+
display: 'Logical',
|
|
116
|
+
localizationId: 'DataAccessStringId.ExpressionEditor_FunctionCategory_Logical',
|
|
117
|
+
items: {
|
|
118
|
+
Iif: [{ paramCount: 3, text: 'Iif(, , )', descriptionStringId: 'ExpressionEditorStringId.Function_Iif' }],
|
|
119
|
+
IsNull: [{ paramCount: 1, text: 'IsNull()', descriptionStringId: 'ExpressionEditorStringId.Function_IsNull' }],
|
|
120
|
+
IsNullOrEmpty: [{ paramCount: 1, text: 'IsNullOrEmpty()', descriptionStringId: 'ExpressionEditorStringId.Function_IsNullOrEmpty' }],
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
123
|
+
display: 'Math',
|
|
124
|
+
localizationId: 'DataAccessStringId.ExpressionEditor_FunctionCategory_Math',
|
|
125
|
+
items: {
|
|
126
|
+
Abs: [{ paramCount: 1, text: 'Abs()', descriptionStringId: 'ExpressionEditorStringId.Function_Abs' }],
|
|
127
|
+
Sqr: [{ paramCount: 1, text: 'Sqr()', descriptionStringId: 'ExpressionEditorStringId.Function_Sqr' }],
|
|
128
|
+
Cos: [{ paramCount: 1, text: 'Cos()', descriptionStringId: 'ExpressionEditorStringId.Function_Cos' }],
|
|
129
|
+
Sin: [{ paramCount: 1, text: 'Sin()', descriptionStringId: 'ExpressionEditorStringId.Function_Sin' }],
|
|
130
|
+
Atn: [{ paramCount: 1, text: 'Atn()', descriptionStringId: 'ExpressionEditorStringId.Function_Atn' }],
|
|
131
|
+
Exp: [{ paramCount: 1, text: 'Exp()', descriptionStringId: 'ExpressionEditorStringId.Function_Exp' }],
|
|
132
|
+
Log: [
|
|
133
|
+
{ paramCount: 1, text: 'Log()', descriptionStringId: 'ExpressionEditorStringId.Function_Log' },
|
|
134
|
+
{ paramCount: 2, text: 'Log(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Log_2' },
|
|
135
|
+
],
|
|
136
|
+
Rnd: [{ paramCount: 0, text: 'Rnd()', descriptionStringId: 'ExpressionEditorStringId.Function_Rnd' }],
|
|
137
|
+
Tan: [{ paramCount: 1, text: 'Tan()', descriptionStringId: 'ExpressionEditorStringId.Function_Tan' }],
|
|
138
|
+
Power: [{ paramCount: 2, text: 'Power(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Power' }],
|
|
139
|
+
Sign: [{ paramCount: 1, text: 'Sign()', descriptionStringId: 'ExpressionEditorStringId.Function_Sign' }],
|
|
140
|
+
Round: [
|
|
141
|
+
{ paramCount: 1, text: 'Round()', descriptionStringId: 'ExpressionEditorStringId.Function_Round' },
|
|
142
|
+
{ paramCount: 2, text: 'Round(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Round_2' },
|
|
143
|
+
],
|
|
144
|
+
Ceiling: [{ paramCount: 1, text: 'Ceiling()', descriptionStringId: 'ExpressionEditorStringId.Function_Ceiling' }],
|
|
145
|
+
Floor: [{ paramCount: 1, text: 'Floor()', descriptionStringId: 'ExpressionEditorStringId.Function_Floor' }],
|
|
146
|
+
Max: [{ paramCount: 2, text: 'Max(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Max' }],
|
|
147
|
+
Min: [{ paramCount: 2, text: 'Min(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Min' }],
|
|
148
|
+
Acos: [{ paramCount: 1, text: 'Acos()', descriptionStringId: 'ExpressionEditorStringId.Function_Acos' }],
|
|
149
|
+
Asin: [{ paramCount: 1, text: 'Asin()', descriptionStringId: 'ExpressionEditorStringId.Function_Asin' }],
|
|
150
|
+
Atn2: [{ paramCount: 2, text: 'Atn2(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Atn2' }],
|
|
151
|
+
BigMul: [{ paramCount: 2, text: 'BigMul(, )', descriptionStringId: 'ExpressionEditorStringId.Function_BigMul' }],
|
|
152
|
+
Cosh: [{ paramCount: 1, text: 'Cosh()', descriptionStringId: 'ExpressionEditorStringId.Function_Cosh' }],
|
|
153
|
+
Log10: [{ paramCount: 1, text: 'Log10()', descriptionStringId: 'ExpressionEditorStringId.Function_Log10' }],
|
|
154
|
+
Sinh: [{ paramCount: 1, text: 'Sinh()', descriptionStringId: 'ExpressionEditorStringId.Function_Sinh' }],
|
|
155
|
+
Tanh: [{ paramCount: 1, text: 'Tanh()', descriptionStringId: 'ExpressionEditorStringId.Function_Tanh' }],
|
|
156
|
+
ToInt: [{ paramCount: 1, text: 'ToInt()', descriptionStringId: 'ExpressionEditorStringId.Function_ToInt' }],
|
|
157
|
+
ToLong: [{ paramCount: 1, text: 'ToLong()', descriptionStringId: 'ExpressionEditorStringId.Function_ToLong' }],
|
|
158
|
+
ToFloat: [{ paramCount: 1, text: 'ToFloat()', descriptionStringId: 'ExpressionEditorStringId.Function_ToFloat' }],
|
|
159
|
+
ToDouble: [{ paramCount: 1, text: 'ToDouble()', descriptionStringId: 'ExpressionEditorStringId.Function_ToDouble' }],
|
|
160
|
+
ToDecimal: [{ paramCount: 1, text: 'ToDecimal()', descriptionStringId: 'ExpressionEditorStringId.Function_ToDecimal' }],
|
|
161
|
+
}
|
|
162
|
+
}, {
|
|
163
|
+
display: 'String',
|
|
164
|
+
localizationId: 'DataAccessStringId.ExpressionEditor_FunctionCategory_Text',
|
|
165
|
+
items: {
|
|
166
|
+
Trim: [{ paramCount: 1, text: 'Trim()', descriptionStringId: 'ExpressionEditorStringId.Function_Trim' }],
|
|
167
|
+
Len: [{ paramCount: 1, text: 'Len()', descriptionStringId: 'ExpressionEditorStringId.Function_Len' }],
|
|
168
|
+
Substring: [
|
|
169
|
+
{ paramCount: 3, text: "Substring('', , )", descriptionStringId: 'ExpressionEditorStringId.Function_Substring_3' },
|
|
170
|
+
{ paramCount: 2, text: "Substring('', )", descriptionStringId: 'ExpressionEditorStringId.Function_Substring' }
|
|
171
|
+
],
|
|
172
|
+
Upper: [{ paramCount: 1, text: 'Upper()', descriptionStringId: 'ExpressionEditorStringId.Function_Upper' }],
|
|
173
|
+
Lower: [{ paramCount: 1, text: 'Lower()', descriptionStringId: 'ExpressionEditorStringId.Function_Lower' }],
|
|
174
|
+
Concat: [{ paramCount: Infinity, text: 'Concat(, )', descriptionStringId: 'ExpressionEditorStringId.Function_Concat' }],
|
|
175
|
+
Ascii: [{ paramCount: 1, text: "Ascii('')", descriptionStringId: 'ExpressionEditorStringId.Function_Ascii' }],
|
|
176
|
+
Char: [{ paramCount: 1, text: 'Char()', descriptionStringId: 'ExpressionEditorStringId.Function_Char' }],
|
|
177
|
+
ToStr: [{ paramCount: 1, text: 'ToStr()', descriptionStringId: 'ExpressionEditorStringId.Function_ToStr' }],
|
|
178
|
+
Replace: [{ paramCount: 3, text: "Replace('','', '')", descriptionStringId: 'ExpressionEditorStringId.Function_Replace' }],
|
|
179
|
+
Reverse: [{ paramCount: 1, text: "Reverse('')", descriptionStringId: 'ExpressionEditorStringId.Function_Reverse' }],
|
|
180
|
+
Insert: [{ paramCount: 3, text: "Insert('', , '')", descriptionStringId: 'ExpressionEditorStringId.Function_Insert' }],
|
|
181
|
+
CharIndex: [
|
|
182
|
+
{ paramCount: 2, text: "CharIndex('','')", descriptionStringId: 'ExpressionEditorStringId.Function_CharIndex' },
|
|
183
|
+
{ paramCount: 3, text: "CharIndex('','', )", descriptionStringId: 'ExpressionEditorStringId.Function_CharIndex_3' }
|
|
184
|
+
],
|
|
185
|
+
Remove: [
|
|
186
|
+
{ paramCount: 2, text: "Remove('', )", descriptionStringId: 'ExpressionEditorStringId.Function_Remove' },
|
|
187
|
+
{ paramCount: 3, text: "Remove('', , )", descriptionStringId: 'ExpressionEditorStringId.Function_Remove_3' }
|
|
188
|
+
],
|
|
189
|
+
PadLeft: [
|
|
190
|
+
{ paramCount: 2, text: 'PadLeft(, )', descriptionStringId: 'ExpressionEditorStringId.Function_PadLeft' },
|
|
191
|
+
{ paramCount: 3, text: "PadLeft(, , '')", descriptionStringId: 'ExpressionEditorStringId.Function_PadLeft_3' }
|
|
192
|
+
],
|
|
193
|
+
PadRight: [
|
|
194
|
+
{ paramCount: 2, text: 'PadRight(, )', descriptionStringId: 'ExpressionEditorStringId.Function_PadRight' },
|
|
195
|
+
{ paramCount: 3, text: "PadRight(, , '')", descriptionStringId: 'ExpressionEditorStringId.Function_PadRight_3' }
|
|
196
|
+
],
|
|
197
|
+
StartsWith: [{ paramCount: 2, text: "StartsWith('', '')", descriptionStringId: 'ExpressionEditorStringId.Function_StartsWith' }],
|
|
198
|
+
EndsWith: [{ paramCount: 2, text: "EndsWith('', '')", descriptionStringId: 'ExpressionEditorStringId.Function_EndsWith' }],
|
|
199
|
+
Contains: [{ paramCount: 0, text: "Contains('', '')", descriptionStringId: 'ExpressionEditorStringId.Function_Contains' }],
|
|
200
|
+
Join: [
|
|
201
|
+
{ paramCount: 1, text: 'Join()', descriptionStringId: 'ExpressionEditorStringId.Function_Join' },
|
|
202
|
+
{ paramCount: 2, text: "Join(, '')", descriptionStringId: 'ExpressionEditorStringId.Function_Join_2' }
|
|
203
|
+
],
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
];
|
|
207
|
+
exports.functionDisplay = _internal_1.createGlobalModuleVariableFunc(defaultFunctionDisplay);
|
|
208
|
+
exports.resetFunctionDisplay = function () { return exports.functionDisplay(defaultFunctionDisplay); };
|
|
209
|
+
function insertInFunctionDisplay(addins) {
|
|
210
|
+
return exports.functionDisplay().map(function (cat) {
|
|
211
|
+
var ext = addins[cat.display];
|
|
212
|
+
return ext ? {
|
|
213
|
+
display: cat.display, category: cat.category, localizationId: cat.localizationId,
|
|
214
|
+
items: _utils_1.extend({}, cat.items, ext)
|
|
215
|
+
} : cat;
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
exports.insertInFunctionDisplay = insertInFunctionDisplay;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_operatorNames.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 interface IExpressionEditorItem {
|
|
9
|
+
text: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
descriptionStringId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IExpressionEditorOperatorItem extends IExpressionEditorItem {
|
|
14
|
+
image?: string;
|
|
15
|
+
hasSeparator?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare var operatorNames: Array<IExpressionEditorOperatorItem>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_operatorNames.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
|
+
exports.operatorNames = [
|
|
11
|
+
{ text: '+', image: 'addition', descriptionStringId: 'ExpressionEditorStringId.Operator_Plus' },
|
|
12
|
+
{ text: '-', image: 'subtraction', descriptionStringId: 'ExpressionEditorStringId.Operator_Minus' },
|
|
13
|
+
{ text: '*', image: 'multiplication', descriptionStringId: 'ExpressionEditorStringId.Operator_Multiply' },
|
|
14
|
+
{ text: '/', image: 'division', descriptionStringId: 'ExpressionEditorStringId.Operator_Divide' },
|
|
15
|
+
{ text: '%', image: 'modulus', hasSeparator: true, descriptionStringId: 'ExpressionEditorStringId.Operator_Modulo' },
|
|
16
|
+
{ text: '()', image: 'parenthesis', hasSeparator: true },
|
|
17
|
+
{ text: '|', descriptionStringId: 'ExpressionEditorStringId.Operator_BitwiseOr' },
|
|
18
|
+
{ text: '&', descriptionStringId: 'ExpressionEditorStringId.Operator_BitwiseAnd' },
|
|
19
|
+
{ text: '^', descriptionStringId: 'ExpressionEditorStringId.Operator_BitwiseXor' },
|
|
20
|
+
{ text: '==', image: 'equal', descriptionStringId: 'ExpressionEditorStringId.Operator_Equal' },
|
|
21
|
+
{ text: '!=', image: 'not_equal', descriptionStringId: 'ExpressionEditorStringId.Operator_NotEqual' },
|
|
22
|
+
{ text: '<', image: 'less', descriptionStringId: 'ExpressionEditorStringId.Operator_Less' },
|
|
23
|
+
{ text: '<=', image: 'less_or_equal', descriptionStringId: 'ExpressionEditorStringId.Operator_LessOrEqual' },
|
|
24
|
+
{ text: '>=', image: 'greater_or_equal', descriptionStringId: 'ExpressionEditorStringId.Operator_GreaterOrEqual' },
|
|
25
|
+
{ text: '>', hasSeparator: true, image: 'greater', descriptionStringId: 'ExpressionEditorStringId.Operator_Greater' },
|
|
26
|
+
{ text: 'In', descriptionStringId: 'ExpressionEditorStringId.Operator_In' },
|
|
27
|
+
{ text: 'Like', descriptionStringId: 'ExpressionEditorStringId.Operator_Like' },
|
|
28
|
+
{ text: 'Between', descriptionStringId: 'ExpressionEditorStringId.Operator_Between' },
|
|
29
|
+
{ text: 'And', image: 'and', descriptionStringId: 'ExpressionEditorStringId.Operator_And' },
|
|
30
|
+
{ text: 'Or', image: 'or', descriptionStringId: 'ExpressionEditorStringId.Operator_Or' },
|
|
31
|
+
{ text: 'Not', image: 'not', descriptionStringId: 'ExpressionEditorStringId.Operator_Not' }
|
|
32
|
+
];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_tools.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 { IDisposable, Disposable } from '../../../serializer/utils';
|
|
10
|
+
import { IExpressionOptions } from '../expressioneditor';
|
|
11
|
+
export interface IExpressionEditorContent {
|
|
12
|
+
data: any;
|
|
13
|
+
name: string;
|
|
14
|
+
isSelected: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
15
|
+
showDescription: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface IExpressionEditorCategory extends IDisposable {
|
|
18
|
+
displayName: string;
|
|
19
|
+
collapsed?: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
20
|
+
content?: IExpressionEditorContent;
|
|
21
|
+
items?: ko.Observable<IExpressionEditorContent[]> | ko.Computed<IExpressionEditorContent[]>;
|
|
22
|
+
templateName?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class Tools extends Disposable {
|
|
25
|
+
private _defaultClick;
|
|
26
|
+
searchPlaceholder: () => any;
|
|
27
|
+
private _generateTab;
|
|
28
|
+
private _localizedExpressionEditorItem;
|
|
29
|
+
private _initDescription;
|
|
30
|
+
private _createFieldsCategory;
|
|
31
|
+
private _createConstantCategory;
|
|
32
|
+
private _createOperatorsCategory;
|
|
33
|
+
private _createFunctionsCategoryContent;
|
|
34
|
+
private _createFunctionsCategoryItem;
|
|
35
|
+
private _createFunctionsCategory;
|
|
36
|
+
private _disposeCategories;
|
|
37
|
+
constructor(onClick: (item: any, element: any) => void, parametersOptions: any, options: ko.Observable<IExpressionOptions> | ko.Computed<IExpressionOptions>, fieldListOptions?: any);
|
|
38
|
+
dispose(): void;
|
|
39
|
+
resetCategoriesSelection: () => void;
|
|
40
|
+
private _categories;
|
|
41
|
+
showDescription: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
42
|
+
toolBox: any[];
|
|
43
|
+
description: ko.Observable<string> | ko.Computed<string>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_tools.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 utils_1 = require("../../../serializer/utils");
|
|
26
|
+
var _localization_1 = require("../../../property-grid/localization/_localization");
|
|
27
|
+
var _operatorNames_1 = require("./_operatorNames");
|
|
28
|
+
var localization_utils_1 = require("../../../property-grid/localization/localization_utils");
|
|
29
|
+
var _expressioneditor_1 = require("../_expressioneditor");
|
|
30
|
+
var _utils_1 = require("../../../property-grid/widgets/internal/_utils");
|
|
31
|
+
var _functions_1 = require("./_functions");
|
|
32
|
+
var Tools = (function (_super) {
|
|
33
|
+
__extends(Tools, _super);
|
|
34
|
+
function Tools(onClick, parametersOptions, options, fieldListOptions) {
|
|
35
|
+
var _this = _super.call(this) || this;
|
|
36
|
+
_this.searchPlaceholder = function () { return _localization_1.searchPlaceholder(); };
|
|
37
|
+
_this._categories = ko.observableArray([]);
|
|
38
|
+
_this.toolBox = [];
|
|
39
|
+
_this.description = ko.observable();
|
|
40
|
+
_this._defaultClick = onClick;
|
|
41
|
+
_operatorNames_1.operatorNames.filter(function (item) { return !!item.descriptionStringId; }).forEach(function (item) { return _this._initDescription(item); });
|
|
42
|
+
var functionGroups = ko.computed(function () {
|
|
43
|
+
return options() && ko.unwrap(options().functions) || _functions_1.functionDisplay();
|
|
44
|
+
}), functions = ko.computed(function () {
|
|
45
|
+
return functionGroups().map(function (funtionGroup) {
|
|
46
|
+
return _this._createFunctionsCategoryItem(funtionGroup.items, localization_utils_1.getLocalization(funtionGroup.display, funtionGroup.localizationId));
|
|
47
|
+
});
|
|
48
|
+
}), createDefaultCategories = function () {
|
|
49
|
+
return [
|
|
50
|
+
_this._createFieldsCategory(fieldListOptions, parametersOptions),
|
|
51
|
+
_this._createConstantCategory(),
|
|
52
|
+
_this._createFunctionsCategory(functions),
|
|
53
|
+
_this._createOperatorsCategory(_operatorNames_1.operatorNames)
|
|
54
|
+
];
|
|
55
|
+
}, selectedContent = ko.observable(null), resetCategoriesSelection = function () {
|
|
56
|
+
var firstItem = _this._categories()[0].content;
|
|
57
|
+
selectedContent() && selectedContent().isSelected(false);
|
|
58
|
+
selectedContent(firstItem);
|
|
59
|
+
firstItem.isSelected(true);
|
|
60
|
+
}, updateCategories = function (newOptions) {
|
|
61
|
+
_this._disposeCategories();
|
|
62
|
+
var defaultCategories = createDefaultCategories();
|
|
63
|
+
newOptions && newOptions.customizeCategories && newOptions.customizeCategories(_this, defaultCategories, onClick);
|
|
64
|
+
_this._categories(defaultCategories);
|
|
65
|
+
resetCategoriesSelection();
|
|
66
|
+
};
|
|
67
|
+
_this.resetCategoriesSelection = resetCategoriesSelection;
|
|
68
|
+
[functionGroups, functions].forEach(function (x) { return _this._disposables.push(x); });
|
|
69
|
+
_this._disposables.push(options.subscribe(function (newOptions) {
|
|
70
|
+
updateCategories(newOptions);
|
|
71
|
+
}));
|
|
72
|
+
updateCategories(options());
|
|
73
|
+
_this._disposables.push(_this.showDescription = ko.computed(function () { return selectedContent() && selectedContent().showDescription; }));
|
|
74
|
+
_this.toolBox = [
|
|
75
|
+
_this._generateTab(_this._categories, 'dx-expressioneditor-categories', '170px', function (item) {
|
|
76
|
+
if (item.data && item.data.selectedItem && item.data.selectedItem() && item.data.items.indexOf(item.data.selectedItem()) !== -1) {
|
|
77
|
+
var contentItem = item.data.selectedItem();
|
|
78
|
+
_this.description(_this._localizedExpressionEditorItem(contentItem));
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
_this.description(undefined);
|
|
82
|
+
}
|
|
83
|
+
if (selectedContent() === item)
|
|
84
|
+
return;
|
|
85
|
+
selectedContent().isSelected(false);
|
|
86
|
+
item.isSelected(true);
|
|
87
|
+
selectedContent(item);
|
|
88
|
+
}),
|
|
89
|
+
_this._generateTab(selectedContent, 'dx-expressioneditor-selectedcontent', ko.computed(function () { return _this.showDescription() ? '248px' : '435px'; }), function (item) { _this.description(_this._localizedExpressionEditorItem(item)); }, _this._defaultClick),
|
|
90
|
+
_this._generateTab(_this.description, 'dx-expressioneditor-description', undefined, undefined, undefined, _this.showDescription)
|
|
91
|
+
];
|
|
92
|
+
return _this;
|
|
93
|
+
}
|
|
94
|
+
Tools.prototype._generateTab = function (content, templateName, width, click, dblclick, visible) {
|
|
95
|
+
if (templateName === void 0) { templateName = null; }
|
|
96
|
+
return {
|
|
97
|
+
templateName: templateName,
|
|
98
|
+
width: width || '30%',
|
|
99
|
+
content: content,
|
|
100
|
+
click: click,
|
|
101
|
+
dblclick: dblclick,
|
|
102
|
+
visible: visible || true
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
Tools.prototype._localizedExpressionEditorItem = function (item) {
|
|
106
|
+
return item.descriptionStringId ? localization_utils_1.getLocalization(item.text, item.descriptionStringId) : item.description ? item.description : item.text;
|
|
107
|
+
};
|
|
108
|
+
Tools.prototype._initDescription = function (expressionEditorItem) {
|
|
109
|
+
expressionEditorItem.description = this._localizedExpressionEditorItem(expressionEditorItem);
|
|
110
|
+
};
|
|
111
|
+
Tools.prototype._createFieldsCategory = function (fields, parameters) {
|
|
112
|
+
var category = {
|
|
113
|
+
displayName: localization_utils_1.getLocalization('Fields', 'AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields'),
|
|
114
|
+
content: {
|
|
115
|
+
showDescription: false,
|
|
116
|
+
isSelected: ko.observable(false),
|
|
117
|
+
data: { fields: fields, parameters: parameters },
|
|
118
|
+
name: 'dx-expressioneditor-fields'
|
|
119
|
+
},
|
|
120
|
+
dispose: function () { return void 0; }
|
|
121
|
+
};
|
|
122
|
+
return category;
|
|
123
|
+
};
|
|
124
|
+
Tools.prototype._createConstantCategory = function () {
|
|
125
|
+
var items = [
|
|
126
|
+
{ text: '?', descriptionStringId: 'ExpressionEditorStringId.Constant_Null' },
|
|
127
|
+
{ text: 'False', descriptionStringId: 'ExpressionEditorStringId.Constant_False' },
|
|
128
|
+
{ text: 'True', descriptionStringId: 'ExpressionEditorStringId.Constant_True' }
|
|
129
|
+
];
|
|
130
|
+
return _expressioneditor_1.createExpressionEditorCollectionToolOptions(items, 'Constants', 'DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants', true);
|
|
131
|
+
};
|
|
132
|
+
Tools.prototype._createOperatorsCategory = function (data) {
|
|
133
|
+
return _expressioneditor_1.createExpressionEditorCollectionToolOptions(data, 'Operators', 'DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators', true);
|
|
134
|
+
};
|
|
135
|
+
Tools.prototype._createFunctionsCategoryContent = function (textToSearch, isSelected, items) {
|
|
136
|
+
return {
|
|
137
|
+
showDescription: true,
|
|
138
|
+
isSelected: isSelected,
|
|
139
|
+
data: {
|
|
140
|
+
textToSearch: textToSearch,
|
|
141
|
+
items: items,
|
|
142
|
+
availableItems: ko.observableArray(items),
|
|
143
|
+
selectedItem: ko.observable(null)
|
|
144
|
+
},
|
|
145
|
+
name: 'dx-expressioneditor-collection-function',
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
Tools.prototype._createFunctionsCategoryItem = function (functions, display) {
|
|
149
|
+
var _this = this;
|
|
150
|
+
var result = {
|
|
151
|
+
display: display,
|
|
152
|
+
isSelected: ko.observable(false),
|
|
153
|
+
data: [],
|
|
154
|
+
name: 'dx-expressioneditor-collection-function',
|
|
155
|
+
};
|
|
156
|
+
$.map(functions, (function (item) {
|
|
157
|
+
if (item) {
|
|
158
|
+
item.forEach(function (functionItem) {
|
|
159
|
+
_this._initDescription(functionItem);
|
|
160
|
+
result.data.push(functionItem);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}));
|
|
164
|
+
return result;
|
|
165
|
+
};
|
|
166
|
+
Tools.prototype._createFunctionsCategory = function (items) {
|
|
167
|
+
var textToSearch = ko.observable(''), disposables = [], isSelected = ko.observable(false), timeout = null, allItems = ko.computed(function () { return [].concat.apply([], items().map(function (x) { return x.data; })); }), content = this._createFunctionsCategoryContent(textToSearch, isSelected, allItems()), category = {
|
|
168
|
+
displayName: localization_utils_1.getLocalization('Functions', 'DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions'),
|
|
169
|
+
items: items, allItems: allItems, isSelected: isSelected, content: content,
|
|
170
|
+
collapsed: ko.observable(true),
|
|
171
|
+
updateContent: function (items, isSelected) {
|
|
172
|
+
content.isSelected && content.isSelected(false);
|
|
173
|
+
content.isSelected = isSelected;
|
|
174
|
+
content.isSelected(true);
|
|
175
|
+
content.data.items = items;
|
|
176
|
+
content.data.availableItems(content.data.items.filter(function (x) { return !!_utils_1.findMatchesInString(x.text, textToSearch()); }));
|
|
177
|
+
},
|
|
178
|
+
templateName: 'dx-expressioneditor-category-accordion',
|
|
179
|
+
dispose: function () {
|
|
180
|
+
disposables.forEach(function (x) { return x.dispose(); });
|
|
181
|
+
disposables.splice(0, disposables.length);
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
disposables.push(allItems);
|
|
185
|
+
disposables.push(textToSearch.subscribe(function (newVal) {
|
|
186
|
+
timeout && clearTimeout(timeout);
|
|
187
|
+
timeout = setTimeout(function () {
|
|
188
|
+
category.content.data.availableItems(category.content.data.items.filter(function (x) { return !!_utils_1.findMatchesInString(x.text, newVal); }));
|
|
189
|
+
}, 150);
|
|
190
|
+
}));
|
|
191
|
+
return category;
|
|
192
|
+
};
|
|
193
|
+
Tools.prototype._disposeCategories = function () {
|
|
194
|
+
this._categories().forEach(function (category) { return category.dispose && category.dispose(); });
|
|
195
|
+
};
|
|
196
|
+
Tools.prototype.dispose = function () {
|
|
197
|
+
_super.prototype.dispose.call(this);
|
|
198
|
+
this._disposeCategories();
|
|
199
|
+
};
|
|
200
|
+
return Tools;
|
|
201
|
+
}(utils_1.Disposable));
|
|
202
|
+
exports.Tools = Tools;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_treeListControllers.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 { TreeListController } from '../../treelist/_treelistController';
|
|
9
|
+
import { TreeListItemViewModel } from '../../treelist/_treelistItem';
|
|
10
|
+
import { IDataMemberInfo } from '../../utils';
|
|
11
|
+
export declare class ExpressionEditorTreeListController extends TreeListController {
|
|
12
|
+
fieldName: any;
|
|
13
|
+
putSelectionHandler: (item: TreeListItemViewModel, element: any) => void;
|
|
14
|
+
selectionHandler?: (item: TreeListItemViewModel) => void;
|
|
15
|
+
constructor(fieldName: any, putSelectionHandler: (item: TreeListItemViewModel, element: any) => void, selectionHandler?: (item: TreeListItemViewModel) => void);
|
|
16
|
+
itemsFilter(item: IDataMemberInfo): boolean;
|
|
17
|
+
select(value: TreeListItemViewModel): void;
|
|
18
|
+
getActions(item: TreeListItemViewModel): {
|
|
19
|
+
clickAction: (element: any) => void;
|
|
20
|
+
}[];
|
|
21
|
+
canSelect(value: TreeListItemViewModel): boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare class ExpressionEditorParametersTreeListController extends TreeListController {
|
|
24
|
+
customFilter: (item: IDataMemberInfo) => boolean;
|
|
25
|
+
putSelectionHandler: (selectedItemPath: string, element: any) => void;
|
|
26
|
+
selectionHandler?: (item: TreeListItemViewModel) => void;
|
|
27
|
+
constructor(customFilter: (item: IDataMemberInfo) => boolean, putSelectionHandler: (selectedItemPath: string, element: any) => void, selectionHandler?: (item: TreeListItemViewModel) => void);
|
|
28
|
+
itemsFilter(item: IDataMemberInfo): boolean;
|
|
29
|
+
select(value: TreeListItemViewModel): void;
|
|
30
|
+
getActions(item: TreeListItemViewModel): {
|
|
31
|
+
clickAction: (element: any) => void;
|
|
32
|
+
}[];
|
|
33
|
+
canSelect(value: TreeListItemViewModel): boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (widgets\expressioneditor\tools\_treeListControllers.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 $ = require("jquery");
|
|
24
|
+
var _treelistController_1 = require("../../treelist/_treelistController");
|
|
25
|
+
var ExpressionEditorTreeListController = (function (_super) {
|
|
26
|
+
__extends(ExpressionEditorTreeListController, _super);
|
|
27
|
+
function ExpressionEditorTreeListController(fieldName, putSelectionHandler, selectionHandler) {
|
|
28
|
+
var _this = _super.call(this) || this;
|
|
29
|
+
_this.fieldName = fieldName;
|
|
30
|
+
_this.putSelectionHandler = putSelectionHandler;
|
|
31
|
+
_this.selectionHandler = selectionHandler;
|
|
32
|
+
return _this;
|
|
33
|
+
}
|
|
34
|
+
ExpressionEditorTreeListController.prototype.itemsFilter = function (item) {
|
|
35
|
+
return item.specifics !== 'none' && item.name !== 'ReportItems';
|
|
36
|
+
};
|
|
37
|
+
ExpressionEditorTreeListController.prototype.select = function (value) {
|
|
38
|
+
if (this.selectionHandler)
|
|
39
|
+
this.selectionHandler(value);
|
|
40
|
+
else
|
|
41
|
+
_super.prototype.select.call(this, value);
|
|
42
|
+
};
|
|
43
|
+
ExpressionEditorTreeListController.prototype.getActions = function (item) {
|
|
44
|
+
var _this = this;
|
|
45
|
+
return [{ clickAction: function (element) { return _this.putSelectionHandler(item, $(element)); } }];
|
|
46
|
+
};
|
|
47
|
+
ExpressionEditorTreeListController.prototype.canSelect = function (value) {
|
|
48
|
+
return true;
|
|
49
|
+
};
|
|
50
|
+
return ExpressionEditorTreeListController;
|
|
51
|
+
}(_treelistController_1.TreeListController));
|
|
52
|
+
exports.ExpressionEditorTreeListController = ExpressionEditorTreeListController;
|
|
53
|
+
var ExpressionEditorParametersTreeListController = (function (_super) {
|
|
54
|
+
__extends(ExpressionEditorParametersTreeListController, _super);
|
|
55
|
+
function ExpressionEditorParametersTreeListController(customFilter, putSelectionHandler, selectionHandler) {
|
|
56
|
+
var _this = _super.call(this) || this;
|
|
57
|
+
_this.customFilter = customFilter;
|
|
58
|
+
_this.putSelectionHandler = putSelectionHandler;
|
|
59
|
+
_this.selectionHandler = selectionHandler;
|
|
60
|
+
return _this;
|
|
61
|
+
}
|
|
62
|
+
ExpressionEditorParametersTreeListController.prototype.itemsFilter = function (item) {
|
|
63
|
+
return item.specifics !== 'none' && (!this.customFilter || this.customFilter(item));
|
|
64
|
+
};
|
|
65
|
+
ExpressionEditorParametersTreeListController.prototype.select = function (value) {
|
|
66
|
+
this.selectionHandler(value);
|
|
67
|
+
};
|
|
68
|
+
ExpressionEditorParametersTreeListController.prototype.getActions = function (item) {
|
|
69
|
+
var _this = this;
|
|
70
|
+
return [{
|
|
71
|
+
clickAction: function (element) {
|
|
72
|
+
if (item && !item.hasItems)
|
|
73
|
+
_this.putSelectionHandler(item.path, $(element));
|
|
74
|
+
}
|
|
75
|
+
}];
|
|
76
|
+
};
|
|
77
|
+
ExpressionEditorParametersTreeListController.prototype.canSelect = function (value) {
|
|
78
|
+
return true;
|
|
79
|
+
};
|
|
80
|
+
return ExpressionEditorParametersTreeListController;
|
|
81
|
+
}(_treelistController_1.TreeListController));
|
|
82
|
+
exports.ExpressionEditorParametersTreeListController = ExpressionEditorParametersTreeListController;
|