@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,247 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\elements\baseSurface.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 utils_1 = require("../../serializer/utils");
|
|
25
|
+
var _units_1 = require("../utils/_units");
|
|
26
|
+
var _cssCalculator_1 = require("../internal/_cssCalculator");
|
|
27
|
+
var _arrayutils_1 = require("../utils/_arrayutils");
|
|
28
|
+
var _hoverInfo_1 = require("../internal/_hoverInfo");
|
|
29
|
+
var point_1 = require("./point");
|
|
30
|
+
var _utils_1 = require("../../serializer/_utils");
|
|
31
|
+
var SurfaceElementArea = (function (_super) {
|
|
32
|
+
__extends(SurfaceElementArea, _super);
|
|
33
|
+
function SurfaceElementArea(control, context, unitProperties) {
|
|
34
|
+
var _this = _super.call(this) || this;
|
|
35
|
+
_this._createSurface = function (item) {
|
|
36
|
+
return item['surface'] || new (item.getControlFactory()).controlsMap[item.controlType].surfaceType(item, _this._context);
|
|
37
|
+
};
|
|
38
|
+
_this.preInitProperties(control, context, unitProperties);
|
|
39
|
+
_this._control = control;
|
|
40
|
+
_this._context = context;
|
|
41
|
+
control['surface'] = _this;
|
|
42
|
+
if (_this._context) {
|
|
43
|
+
_units_1.createUnitProperties(control, _this, unitProperties, _this._context.measureUnit, _this._context.zoom, function (property) { _this._disposables.push(property); });
|
|
44
|
+
}
|
|
45
|
+
_this._x = _this._x || ko.observable(0);
|
|
46
|
+
_this._y = _this._y || ko.observable(0);
|
|
47
|
+
_this._width = _this._width || ko.observable(0);
|
|
48
|
+
_this._height = _this._height || ko.observable(0);
|
|
49
|
+
var container = ko.pureComputed(function () { return _this.container(); });
|
|
50
|
+
_this._disposables.push(container);
|
|
51
|
+
_this._container = container();
|
|
52
|
+
_this._disposables.push(container.subscribe(function (value) {
|
|
53
|
+
if (_this._container !== value && _this.rtlLayout()) {
|
|
54
|
+
var x = _this._getX();
|
|
55
|
+
_this._container = value;
|
|
56
|
+
_this._setX(x);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
_this._container = value;
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
var x = ko.computed({
|
|
63
|
+
read: function () { return _this._getX(); },
|
|
64
|
+
write: function (value) {
|
|
65
|
+
_this._setX(value);
|
|
66
|
+
}
|
|
67
|
+
}), y = _this._y, width = _this._width, height = _this._height;
|
|
68
|
+
_this['position'] = {
|
|
69
|
+
top: y,
|
|
70
|
+
left: x,
|
|
71
|
+
width: width,
|
|
72
|
+
height: height,
|
|
73
|
+
lineHeight: height
|
|
74
|
+
};
|
|
75
|
+
_this._disposables.push(x);
|
|
76
|
+
var _rect = ko.observable();
|
|
77
|
+
_this._disposables.push(ko.computed(function () {
|
|
78
|
+
if (!_this._control.update()) {
|
|
79
|
+
_rect({ top: y(), left: x(), right: x() + width(), bottom: y() + height(), width: width(), height: height() });
|
|
80
|
+
}
|
|
81
|
+
}));
|
|
82
|
+
_this._disposables.push(_this.rect = ko.pureComputed({
|
|
83
|
+
read: function () {
|
|
84
|
+
return _rect();
|
|
85
|
+
},
|
|
86
|
+
write: function (newRect) {
|
|
87
|
+
newRect = _this.beforeRectUpdated(newRect);
|
|
88
|
+
_this._control.update(true);
|
|
89
|
+
try {
|
|
90
|
+
if (newRect.left !== undefined) {
|
|
91
|
+
_this._setX(newRect.left, newRect.width);
|
|
92
|
+
}
|
|
93
|
+
else if (newRect.width !== undefined) {
|
|
94
|
+
_this._setX(x(), newRect.width);
|
|
95
|
+
}
|
|
96
|
+
if (newRect.top !== undefined) {
|
|
97
|
+
y(newRect.top);
|
|
98
|
+
}
|
|
99
|
+
if (newRect.right !== undefined && newRect.left === undefined && newRect.width === undefined) {
|
|
100
|
+
width(newRect.right - x());
|
|
101
|
+
}
|
|
102
|
+
if (newRect.bottom !== undefined && newRect.top === undefined) {
|
|
103
|
+
height(newRect.bottom - y());
|
|
104
|
+
}
|
|
105
|
+
if (newRect.right !== undefined && newRect.left !== undefined && newRect.width === undefined) {
|
|
106
|
+
width(newRect.right - newRect.left);
|
|
107
|
+
}
|
|
108
|
+
if (newRect.bottom !== undefined && newRect.top !== undefined) {
|
|
109
|
+
height(newRect.bottom - newRect.top);
|
|
110
|
+
}
|
|
111
|
+
if (newRect.width !== undefined) {
|
|
112
|
+
width(newRect.width);
|
|
113
|
+
}
|
|
114
|
+
if (newRect.height !== undefined) {
|
|
115
|
+
height(newRect.height);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
finally {
|
|
119
|
+
_this._control.update(false);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}));
|
|
123
|
+
return _this;
|
|
124
|
+
}
|
|
125
|
+
SurfaceElementArea.prototype._getX = function () {
|
|
126
|
+
if (this.rtlLayout() && this._container) {
|
|
127
|
+
return this._container.rect().width - this._x() - this._width();
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
return this._x();
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
SurfaceElementArea.prototype._setX = function (value, width) {
|
|
134
|
+
width = width || this._width();
|
|
135
|
+
if (this.rtlLayout() && this._container) {
|
|
136
|
+
this._x(this._container.rect().width - value - width);
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
this._x(value);
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
SurfaceElementArea.prototype.getRoot = function () {
|
|
143
|
+
return this._context;
|
|
144
|
+
};
|
|
145
|
+
SurfaceElementArea.prototype.preInitProperties = function (control, context, unitProperties) { };
|
|
146
|
+
SurfaceElementArea.prototype.container = function () {
|
|
147
|
+
return this['parent'];
|
|
148
|
+
};
|
|
149
|
+
SurfaceElementArea.prototype.beforeRectUpdated = function (rect) {
|
|
150
|
+
rect.left = rect.left < 0 ? 0 : rect.left;
|
|
151
|
+
rect.top = rect.top < 0 ? 0 : rect.top;
|
|
152
|
+
return rect;
|
|
153
|
+
};
|
|
154
|
+
SurfaceElementArea.prototype.rtlLayout = function () {
|
|
155
|
+
return !!ko.unwrap(this._context.rtl);
|
|
156
|
+
};
|
|
157
|
+
SurfaceElementArea.prototype.getControlModel = function () {
|
|
158
|
+
return this._control;
|
|
159
|
+
};
|
|
160
|
+
return SurfaceElementArea;
|
|
161
|
+
}(utils_1.Disposable));
|
|
162
|
+
exports.SurfaceElementArea = SurfaceElementArea;
|
|
163
|
+
var SurfaceElementBase = (function (_super) {
|
|
164
|
+
__extends(SurfaceElementBase, _super);
|
|
165
|
+
function SurfaceElementBase(control, context, unitProperties) {
|
|
166
|
+
var _this = _super.call(this, control, context, unitProperties) || this;
|
|
167
|
+
_this._countSelectedChildren = ko.observable(0);
|
|
168
|
+
_this.focused = ko.observable(false);
|
|
169
|
+
_this.selected = ko.observable(false);
|
|
170
|
+
_this.underCursor = ko.observable(new _hoverInfo_1.HoverInfo());
|
|
171
|
+
_this.allowMultiselect = true;
|
|
172
|
+
_this.absolutePosition = new point_1.Point(0, 0);
|
|
173
|
+
_this.getControlModel = function () {
|
|
174
|
+
return control;
|
|
175
|
+
};
|
|
176
|
+
_this.cssCalculator = new _cssCalculator_1.CssCalculator(control, context.rtl);
|
|
177
|
+
if (_this._getChildrenHolderName() && control[_this._getChildrenHolderName()]) {
|
|
178
|
+
var collection = ko.observableArray();
|
|
179
|
+
if (_this._getChildrenHolderName() === 'controls') {
|
|
180
|
+
_this._disposables.push(_arrayutils_1.createObservableReverseArrayMapCollection(control[_this._getChildrenHolderName()], collection, _this._createSurface));
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
_this._disposables.push(_arrayutils_1.createObservableArrayMapCollection(control[_this._getChildrenHolderName()], collection, _this._createSurface));
|
|
184
|
+
}
|
|
185
|
+
_this[_this._getChildrenHolderName()] = collection;
|
|
186
|
+
_this._disposables.push(_this.isSelected = ko.pureComputed(function () {
|
|
187
|
+
if (!(_this.focused() || _this.selected())) {
|
|
188
|
+
return collection().some(function (item) {
|
|
189
|
+
return item.isSelected();
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
return true;
|
|
193
|
+
}));
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
_this._disposables.push(_this.isSelected = ko.pureComputed(function () {
|
|
197
|
+
return _this.focused() || _this.selected();
|
|
198
|
+
}));
|
|
199
|
+
}
|
|
200
|
+
_this._disposables.push(_this.css = ko.pureComputed(function () {
|
|
201
|
+
return _utils_1.extend({}, _this.cssCalculator.fontCss(), _this.cssCalculator.foreColorCss(), _this.cssCalculator.backGroundCss(), _this.cssCalculator.textAlignmentCss());
|
|
202
|
+
}));
|
|
203
|
+
_this._disposables.push(_this.contentCss = ko.pureComputed(function () {
|
|
204
|
+
return _utils_1.extend({}, _this.cssCalculator.fontCss(), _this.cssCalculator.foreColorCss(), _this.cssCalculator.textAlignmentCss(), _this.cssCalculator.angle(), _this.cssCalculator.wordWrapCss(), _this.cssCalculator.paddingsCss());
|
|
205
|
+
}));
|
|
206
|
+
_this._disposables.push(ko.computed(function () {
|
|
207
|
+
_this.updateAbsolutePosition();
|
|
208
|
+
}));
|
|
209
|
+
_this._disposables.push(_this.absoluteRect = ko.pureComputed(function () {
|
|
210
|
+
var controlRect = _this.rect(), absolutePositionY = _this.absolutePosition.y(), absolutePositionX = _this.absolutePosition.x();
|
|
211
|
+
return { top: absolutePositionY, left: absolutePositionX, right: absolutePositionX + controlRect.width, bottom: absolutePositionY + controlRect.height, width: controlRect.width, height: controlRect.height };
|
|
212
|
+
}));
|
|
213
|
+
_this.locked = control['lockedInUserDesigner'] ? control['lockedInUserDesigner']() : false;
|
|
214
|
+
return _this;
|
|
215
|
+
}
|
|
216
|
+
Object.defineProperty(SurfaceElementBase.prototype, "parent", {
|
|
217
|
+
get: function () {
|
|
218
|
+
return this.getControlModel().parentModel() && this.getControlModel().parentModel().surface;
|
|
219
|
+
},
|
|
220
|
+
enumerable: true,
|
|
221
|
+
configurable: true
|
|
222
|
+
});
|
|
223
|
+
SurfaceElementBase.prototype.checkParent = function (surfaceParent) {
|
|
224
|
+
return this.parent === surfaceParent;
|
|
225
|
+
};
|
|
226
|
+
SurfaceElementBase.prototype._getChildrenHolderName = function () { return 'controls'; };
|
|
227
|
+
SurfaceElementBase.prototype.getChildrenCollection = function () {
|
|
228
|
+
return this._getChildrenHolderName() && this[this._getChildrenHolderName()] || ko.observableArray([]);
|
|
229
|
+
};
|
|
230
|
+
SurfaceElementBase.prototype.updateAbsolutePosition = function () {
|
|
231
|
+
if (this.parent && this.parent.absolutePosition) {
|
|
232
|
+
var parentX = this.parent.absolutePosition.x(), parentY = this.parent.absolutePosition.y(), newX = parentX + this.rect().left, newY = parentY + this.rect().top;
|
|
233
|
+
this.absolutePosition.x(newX);
|
|
234
|
+
this.absolutePosition.y(newY);
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
this.absolutePosition.x(0);
|
|
238
|
+
this.absolutePosition.y(0);
|
|
239
|
+
}
|
|
240
|
+
this.afterUpdateAbsolutePosition();
|
|
241
|
+
};
|
|
242
|
+
SurfaceElementBase.prototype.canDrop = function () { return !this.locked && this._control.getMetaData().isContainer; };
|
|
243
|
+
SurfaceElementBase.prototype.afterUpdateAbsolutePosition = function () {
|
|
244
|
+
};
|
|
245
|
+
return SurfaceElementBase;
|
|
246
|
+
}(SurfaceElementArea));
|
|
247
|
+
exports.SurfaceElementBase = SurfaceElementBase;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\elements\elementViewModel.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 { ISerializationInfoArray, ISerializationInfo } from '../../serializer/serializationInfo';
|
|
10
|
+
import { ISelectionTarget } from '../selection/_selection';
|
|
11
|
+
import { IModelAction, IModelActionProvider } from '../../property-grid/widgets/internal/_utils';
|
|
12
|
+
import { Disposable } from '../../serializer/utils';
|
|
13
|
+
import { IModelSerializer } from '../../serializer/serializer';
|
|
14
|
+
import { ControlsFactory } from '../utils/controlsFactory';
|
|
15
|
+
export interface IElementMetadata {
|
|
16
|
+
info: ISerializationInfoArray;
|
|
17
|
+
surfaceType: any;
|
|
18
|
+
type?: any;
|
|
19
|
+
nonToolboxItem?: boolean;
|
|
20
|
+
isToolboxItem?: boolean;
|
|
21
|
+
toolboxIndex?: number;
|
|
22
|
+
defaultVal?: {};
|
|
23
|
+
size?: string;
|
|
24
|
+
isContainer?: boolean;
|
|
25
|
+
isCopyDeny?: boolean;
|
|
26
|
+
isPasteDeny?: boolean;
|
|
27
|
+
isDeleteDeny?: boolean;
|
|
28
|
+
popularProperties?: string[];
|
|
29
|
+
canDrop?: (dropTarget: ISelectionTarget, dragFrom?: ElementViewModel) => boolean;
|
|
30
|
+
elementActionsTypes?: any;
|
|
31
|
+
parentType?: string;
|
|
32
|
+
displayName?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IElementViewModel {
|
|
35
|
+
controlType: string;
|
|
36
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
37
|
+
parentModel: ko.Observable<IElementViewModel>;
|
|
38
|
+
addChild: (element: IElementViewModel) => void;
|
|
39
|
+
addChilds: (array: IElementViewModel[]) => void;
|
|
40
|
+
removeChild: (element: IElementViewModel) => void;
|
|
41
|
+
removeChilds: (array: IElementViewModel[]) => void;
|
|
42
|
+
getNearestParent: (dropTarget: IElementViewModel) => IElementViewModel;
|
|
43
|
+
}
|
|
44
|
+
export interface IControlPropertiesViewModel {
|
|
45
|
+
isPropertyDisabled: (name: string) => boolean;
|
|
46
|
+
isPropertyVisible: (name: string) => boolean;
|
|
47
|
+
isPropertyModified: (name: string) => boolean;
|
|
48
|
+
controlType?: string;
|
|
49
|
+
actions: IModelAction[];
|
|
50
|
+
actionProviders?: IModelActionProvider[];
|
|
51
|
+
}
|
|
52
|
+
export declare class ElementViewModel extends Disposable implements IElementViewModel, IControlPropertiesViewModel {
|
|
53
|
+
protected _resetProperty(propertyName: string): void;
|
|
54
|
+
getPropertyDefaultValue(propertyName: string): any;
|
|
55
|
+
getPropertyInfo(propertyName: string): ISerializationInfo;
|
|
56
|
+
getInfo(): ISerializationInfoArray;
|
|
57
|
+
createControl(model: any, serializer?: IModelSerializer): IElementViewModel;
|
|
58
|
+
dispose(): void;
|
|
59
|
+
preInitProperties(model: any, parent: ElementViewModel, serializer?: IModelSerializer): void;
|
|
60
|
+
constructor(model: any, parent: ElementViewModel, serializer?: IModelSerializer);
|
|
61
|
+
getNearestParent(target: IElementViewModel): any;
|
|
62
|
+
getControlInfo(): IElementMetadata;
|
|
63
|
+
getMetaData(): {
|
|
64
|
+
isContainer: boolean;
|
|
65
|
+
isCopyDeny: boolean;
|
|
66
|
+
isDeleteDeny: boolean;
|
|
67
|
+
canDrop: (dropTarget: ISelectionTarget, dragFrom?: ElementViewModel) => boolean;
|
|
68
|
+
isPasteDeny: boolean;
|
|
69
|
+
};
|
|
70
|
+
_hasModifiedValue(name: any): any;
|
|
71
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
72
|
+
controlType: string;
|
|
73
|
+
createChild(info: {}): ElementViewModel;
|
|
74
|
+
removeChilds(controls: ElementViewModel[]): void;
|
|
75
|
+
addChilds(controls: ElementViewModel[]): void;
|
|
76
|
+
removeChild(control: ElementViewModel): void;
|
|
77
|
+
addChild(control: IElementViewModel): void;
|
|
78
|
+
isPropertyVisible(name: string): boolean;
|
|
79
|
+
isPropertyDisabled(name: string): boolean;
|
|
80
|
+
isPropertyModified(name: string): any;
|
|
81
|
+
getControlFactory(): ControlsFactory;
|
|
82
|
+
resetValue: (propertyName: string) => void;
|
|
83
|
+
isResettableProperty(propertyName: string): boolean;
|
|
84
|
+
surface: any;
|
|
85
|
+
parentModel: ko.Observable<ElementViewModel>;
|
|
86
|
+
readonly root: ElementViewModel;
|
|
87
|
+
rtl(): boolean;
|
|
88
|
+
actions: IModelAction[];
|
|
89
|
+
actionProviders: any[];
|
|
90
|
+
update: ko.Observable<boolean>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\elements\elementViewModel.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 utils_1 = require("../../serializer/utils");
|
|
25
|
+
var _utils_1 = require("../utils/_utils");
|
|
26
|
+
var serializer_1 = require("../../serializer/serializer");
|
|
27
|
+
var localization_utils_1 = require("../../property-grid/localization/localization_utils");
|
|
28
|
+
var ElementViewModel = (function (_super) {
|
|
29
|
+
__extends(ElementViewModel, _super);
|
|
30
|
+
function ElementViewModel(model, parent, serializer) {
|
|
31
|
+
var _this = _super.call(this) || this;
|
|
32
|
+
_this.actions = [];
|
|
33
|
+
_this.actionProviders = [];
|
|
34
|
+
_this.update = ko.observable(false);
|
|
35
|
+
_this.preInitProperties(model, parent, serializer);
|
|
36
|
+
_this.parentModel = ko.observable(parent);
|
|
37
|
+
_this.controlType = _this.controlType || _this.getControlFactory().getControlType(model);
|
|
38
|
+
serializer = serializer || new serializer_1.ModelSerializer();
|
|
39
|
+
serializer.deserialize(_this, model);
|
|
40
|
+
_this._disposables.push(_this['displayName'] = ko.pureComputed(function () {
|
|
41
|
+
var result = _this.name && _this.name();
|
|
42
|
+
if (!result) {
|
|
43
|
+
result = 'unnamed ' + _this.controlType;
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}));
|
|
47
|
+
_this.resetValue = function (propertyName) {
|
|
48
|
+
_this._resetProperty(propertyName);
|
|
49
|
+
};
|
|
50
|
+
_this.actions.push({
|
|
51
|
+
action: _this.resetValue,
|
|
52
|
+
id: 'dxd-reset',
|
|
53
|
+
title: localization_utils_1.getLocalization('Reset', 'AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset'), visible: _this.isResettableProperty,
|
|
54
|
+
weight: 1000
|
|
55
|
+
});
|
|
56
|
+
return _this;
|
|
57
|
+
}
|
|
58
|
+
ElementViewModel.prototype._resetProperty = function (propertyName) {
|
|
59
|
+
if (this[propertyName].resetValue) {
|
|
60
|
+
this[propertyName].resetValue();
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
var defaultValue = this.getPropertyDefaultValue(propertyName);
|
|
64
|
+
if (ko.isObservable(this[propertyName])) {
|
|
65
|
+
this[propertyName](defaultValue);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
_utils_1.copyObservables(defaultValue, this[propertyName]);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
ElementViewModel.prototype.getPropertyDefaultValue = function (propertyName) {
|
|
73
|
+
var info = this.getPropertyInfo(propertyName);
|
|
74
|
+
return ko.unwrap(info && new serializer_1.ModelSerializer().deserializeDefaultValue(info));
|
|
75
|
+
};
|
|
76
|
+
ElementViewModel.prototype.getPropertyInfo = function (propertyName) {
|
|
77
|
+
return this.getInfo().filter(function (info) { return info.propertyName === propertyName; })[0];
|
|
78
|
+
};
|
|
79
|
+
ElementViewModel.prototype.getInfo = function () {
|
|
80
|
+
return this.getControlFactory().controlsMap[this.controlType].info;
|
|
81
|
+
};
|
|
82
|
+
ElementViewModel.prototype.createControl = function (model, serializer) {
|
|
83
|
+
return this.getControlFactory().createControl(model, this, serializer);
|
|
84
|
+
};
|
|
85
|
+
ElementViewModel.prototype.dispose = function () {
|
|
86
|
+
_super.prototype.dispose.call(this);
|
|
87
|
+
this.surface && this.surface.dispose();
|
|
88
|
+
};
|
|
89
|
+
ElementViewModel.prototype.preInitProperties = function (model, parent, serializer) { };
|
|
90
|
+
ElementViewModel.prototype.getNearestParent = function (target) {
|
|
91
|
+
return target.getMetaData().isContainer ? target : target.getNearestParent(target.parentModel());
|
|
92
|
+
};
|
|
93
|
+
ElementViewModel.prototype.getControlInfo = function () {
|
|
94
|
+
return this.getControlFactory().controlsMap[this.controlType || 'Unknown'];
|
|
95
|
+
};
|
|
96
|
+
ElementViewModel.prototype.getMetaData = function () {
|
|
97
|
+
var controlType = this.controlType ? this.controlType : 'Unknown', data = this.getControlFactory().controlsMap[controlType];
|
|
98
|
+
return {
|
|
99
|
+
isContainer: data.isContainer || false,
|
|
100
|
+
isCopyDeny: data.isCopyDeny || false,
|
|
101
|
+
isDeleteDeny: data.isDeleteDeny || false,
|
|
102
|
+
canDrop: data.canDrop || (function () { return true; }),
|
|
103
|
+
isPasteDeny: data.isPasteDeny || !data.isContainer
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
ElementViewModel.prototype._hasModifiedValue = function (name) {
|
|
107
|
+
return this['_' + name] && this['_' + name]() && this.isPropertyModified(name);
|
|
108
|
+
};
|
|
109
|
+
ElementViewModel.prototype.createChild = function (info) {
|
|
110
|
+
var newControl = this.getControlFactory().createControl(info, this);
|
|
111
|
+
this.addChild(newControl);
|
|
112
|
+
return newControl;
|
|
113
|
+
};
|
|
114
|
+
ElementViewModel.prototype.removeChilds = function (controls) {
|
|
115
|
+
if (this['controls']) {
|
|
116
|
+
var childs = this['controls']();
|
|
117
|
+
for (var i = 0; i < controls.length; i++) {
|
|
118
|
+
childs.splice(childs.indexOf(controls[i]), 1);
|
|
119
|
+
}
|
|
120
|
+
this['controls'].valueHasMutated();
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
ElementViewModel.prototype.addChilds = function (controls) {
|
|
124
|
+
if (this['controls']) {
|
|
125
|
+
var childs = this['controls']();
|
|
126
|
+
for (var i = 0; i < controls.length; i++) {
|
|
127
|
+
childs.splice(0, 0, controls[i]);
|
|
128
|
+
}
|
|
129
|
+
this['controls'].valueHasMutated();
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
ElementViewModel.prototype.removeChild = function (control) {
|
|
133
|
+
if (this['controls']) {
|
|
134
|
+
this['controls'].splice(this['controls']().indexOf(control), 1);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
ElementViewModel.prototype.addChild = function (control) {
|
|
138
|
+
if (this['controls'] && this['controls']().indexOf(control) === -1) {
|
|
139
|
+
control.parentModel(this);
|
|
140
|
+
this['controls'].splice(0, 0, control);
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
ElementViewModel.prototype.isPropertyVisible = function (name) {
|
|
144
|
+
return true;
|
|
145
|
+
};
|
|
146
|
+
ElementViewModel.prototype.isPropertyDisabled = function (name) {
|
|
147
|
+
return false;
|
|
148
|
+
};
|
|
149
|
+
ElementViewModel.prototype.isPropertyModified = function (name) {
|
|
150
|
+
var needName = this['_' + name] ? '_' + name : name;
|
|
151
|
+
if (this[needName].isPropertyModified) {
|
|
152
|
+
return this[needName].isPropertyModified();
|
|
153
|
+
}
|
|
154
|
+
else if (this[needName].isEmpty) {
|
|
155
|
+
return !this[needName].isEmpty();
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
var defaultValue = this.getPropertyDefaultValue(name), propertyValue = ko.unwrap(this[needName]);
|
|
159
|
+
if (defaultValue instanceof Object) {
|
|
160
|
+
return !_utils_1.compareObjects(defaultValue, propertyValue);
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
return defaultValue !== propertyValue;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
ElementViewModel.prototype.getControlFactory = function () {
|
|
168
|
+
throw Error('Virtual method getControlFactory');
|
|
169
|
+
};
|
|
170
|
+
ElementViewModel.prototype.isResettableProperty = function (propertyName) {
|
|
171
|
+
return ['name', 'size', 'location'].indexOf(propertyName) === -1;
|
|
172
|
+
};
|
|
173
|
+
Object.defineProperty(ElementViewModel.prototype, "root", {
|
|
174
|
+
get: function () {
|
|
175
|
+
var root = this;
|
|
176
|
+
while (root && root.parentModel()) {
|
|
177
|
+
root = root.parentModel();
|
|
178
|
+
}
|
|
179
|
+
return root;
|
|
180
|
+
},
|
|
181
|
+
enumerable: true,
|
|
182
|
+
configurable: true
|
|
183
|
+
});
|
|
184
|
+
ElementViewModel.prototype.rtl = function () {
|
|
185
|
+
return false;
|
|
186
|
+
};
|
|
187
|
+
return ElementViewModel;
|
|
188
|
+
}(utils_1.Disposable));
|
|
189
|
+
exports.ElementViewModel = ElementViewModel;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\elements\margins.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 { ISerializationInfoArray } from '../../serializer/serializationInfo';
|
|
10
|
+
export interface IMargins {
|
|
11
|
+
bottom: ko.Observable<number> | ko.Computed<number>;
|
|
12
|
+
left: ko.Observable<number> | ko.Computed<number>;
|
|
13
|
+
right: ko.Observable<number> | ko.Computed<number>;
|
|
14
|
+
top: ko.Observable<number> | ko.Computed<number>;
|
|
15
|
+
}
|
|
16
|
+
export declare class Margins implements IMargins {
|
|
17
|
+
static defaultVal: string;
|
|
18
|
+
static unitProperties: string[];
|
|
19
|
+
getInfo(): ISerializationInfoArray;
|
|
20
|
+
constructor(left: any, right: any, top: any, bottom: number);
|
|
21
|
+
isEmpty(): boolean;
|
|
22
|
+
static fromString(value?: string): Margins;
|
|
23
|
+
toString(): string;
|
|
24
|
+
bottom: ko.Observable<number> | ko.Computed<number>;
|
|
25
|
+
left: ko.Observable<number> | ko.Computed<number>;
|
|
26
|
+
right: ko.Observable<number> | ko.Computed<number>;
|
|
27
|
+
top: ko.Observable<number> | ko.Computed<number>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\elements\margins.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var ko = require("knockout");
|
|
11
|
+
var paddingModelMetaData_1 = require("./paddingModelMetaData");
|
|
12
|
+
var Margins = (function () {
|
|
13
|
+
function Margins(left, right, top, bottom) {
|
|
14
|
+
this.bottom = ko.observable(bottom);
|
|
15
|
+
this.left = ko.observable(left);
|
|
16
|
+
this.right = ko.observable(right);
|
|
17
|
+
this.top = ko.observable(top);
|
|
18
|
+
}
|
|
19
|
+
Margins.prototype.getInfo = function () {
|
|
20
|
+
return paddingModelMetaData_1.paddingSerializationsInfo;
|
|
21
|
+
};
|
|
22
|
+
Margins.prototype.isEmpty = function () {
|
|
23
|
+
return this.toString() === Margins.defaultVal;
|
|
24
|
+
};
|
|
25
|
+
Margins.fromString = function (value) {
|
|
26
|
+
if (value === void 0) { value = Margins.defaultVal; }
|
|
27
|
+
var components = value.split(',');
|
|
28
|
+
return new Margins(parseInt(components[0]), parseInt(components[1]), parseInt(components[2]), parseInt(components[3]));
|
|
29
|
+
};
|
|
30
|
+
Margins.prototype.toString = function () {
|
|
31
|
+
var result = Math.round(this.left()) + ', ' + Math.round(this.right()) + ', ' + Math.round(this.top()) + ', ' + Math.round(this.bottom());
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Margins.defaultVal = '100, 100, 100, 100';
|
|
35
|
+
Margins.unitProperties = ['left', 'right'];
|
|
36
|
+
return Margins;
|
|
37
|
+
}());
|
|
38
|
+
exports.Margins = Margins;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\elements\paddingModel.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 { Disposable } from '../../serializer/utils';
|
|
10
|
+
import { ISerializationInfoArray } from '../../serializer/serializationInfo';
|
|
11
|
+
export declare class PaddingModel extends Disposable {
|
|
12
|
+
left: ko.Observable<number> | ko.Computed<number>;
|
|
13
|
+
right: ko.Observable<number> | ko.Computed<number>;
|
|
14
|
+
top: ko.Observable<number> | ko.Computed<number>;
|
|
15
|
+
bottom: ko.Observable<number> | ko.Computed<number>;
|
|
16
|
+
dpi: ko.Observable<number> | ko.Computed<number>;
|
|
17
|
+
static defaultVal: string;
|
|
18
|
+
static unitProperties: string[];
|
|
19
|
+
getInfo(): ISerializationInfoArray;
|
|
20
|
+
resetValue(): void;
|
|
21
|
+
isEmpty(): boolean;
|
|
22
|
+
applyFromString(value: string): this;
|
|
23
|
+
static from(val: any): PaddingModel;
|
|
24
|
+
toString(): string;
|
|
25
|
+
_toString(inner?: boolean): string;
|
|
26
|
+
constructor(left?: ko.Observable<number> | ko.Computed<number>, right?: ko.Observable<number> | ko.Computed<number>, top?: ko.Observable<number> | ko.Computed<number>, bottom?: ko.Observable<number> | ko.Computed<number>, dpi?: ko.Observable<number> | ko.Computed<number>);
|
|
27
|
+
all: ko.Computed<number>;
|
|
28
|
+
}
|