@devexpress/analytics-core 22.1.6 → 22.2.2-beta
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/README.md +7 -7
- package/accessibility/_accordionKeyboardHelper.d.ts +7 -7
- package/accessibility/_accordionKeyboardHelper.js +38 -61
- package/accessibility/_controlElementBase.d.ts +7 -7
- package/accessibility/_controlElementBase.js +28 -51
- package/accessibility/_controlElementWithParentHighlight.d.ts +7 -7
- package/accessibility/_controlElementWithParentHighlight.js +24 -48
- package/accessibility/_internal.d.ts +7 -7
- package/accessibility/_internal.js +11 -15
- package/accessibility/_keyboardHelperBase.d.ts +7 -7
- package/accessibility/_keyboardHelperBase.js +144 -173
- package/accessibility/_keyboardHelperWithArrowButtonBase.d.ts +7 -7
- package/accessibility/_keyboardHelperWithArrowButtonBase.js +21 -44
- package/accessibility/_listKeyboardHelper.d.ts +7 -7
- package/accessibility/_listKeyboardHelper.js +21 -43
- package/accessibility/_rightPanelKeyboardHelper.d.ts +7 -7
- package/accessibility/_rightPanelKeyboardHelper.js +32 -55
- package/accessibility/_toolbarKeyboardHelper.d.ts +7 -7
- package/accessibility/_toolbarKeyboardHelper.js +57 -86
- package/accessibility/_treeListKeyboardHelper.d.ts +7 -7
- package/accessibility/_treeListKeyboardHelper.js +39 -61
- package/analytics-criteria-utils.d.ts +7 -7
- package/analytics-criteria-utils.js +23 -35
- package/analytics-criteria.d.ts +7 -7
- package/analytics-criteria.js +59 -71
- package/analytics-data-internal.d.ts +7 -7
- package/analytics-data-internal.js +17 -29
- package/analytics-data-metadata.d.ts +7 -7
- package/analytics-data-metadata.js +19 -31
- package/analytics-data-utils.d.ts +7 -7
- package/analytics-data-utils.js +9 -21
- package/analytics-data.d.ts +7 -7
- package/analytics-data.js +77 -89
- package/analytics-diagram.d.ts +7 -7
- package/analytics-diagram.js +53 -65
- package/analytics-elements-metadata.d.ts +7 -7
- package/analytics-elements-metadata.js +9 -21
- package/analytics-elements.d.ts +7 -7
- package/analytics-elements.js +23 -35
- package/analytics-internal.d.ts +81 -79
- package/analytics-internal.js +173 -183
- package/analytics-localization.d.ts +7 -7
- package/analytics-localization.js +9 -21
- package/analytics-tools.d.ts +7 -7
- package/analytics-tools.js +9 -21
- package/analytics-utils.d.ts +33 -29
- package/analytics-utils.js +41 -49
- package/analytics-version.d.ts +7 -7
- package/analytics-version.js +8 -11
- package/analytics-widgets-ace.d.ts +7 -7
- package/analytics-widgets-ace.js +13 -25
- package/analytics-widgets-filtering.d.ts +7 -7
- package/analytics-widgets-filtering.js +31 -43
- package/analytics-widgets-internal.d.ts +59 -58
- package/analytics-widgets-internal.js +93 -104
- package/analytics-widgets-metadata.d.ts +7 -7
- package/analytics-widgets-metadata.js +9 -21
- package/analytics-widgets-treeList.d.ts +7 -7
- package/analytics-widgets-treeList.js +9 -21
- package/analytics-widgets.d.ts +7 -7
- package/analytics-widgets.js +49 -61
- package/analytics-wizard-internal.d.ts +7 -7
- package/analytics-wizard-internal.js +69 -81
- package/analytics-wizard.d.ts +11 -7
- package/analytics-wizard.js +103 -111
- package/bundle/_add-analytics-to-bundle.d.ts +7 -7
- package/bundle/_add-analytics-to-bundle.js +24 -28
- package/bundle/_add-devextreme-to-bundle.d.ts +7 -7
- package/bundle/_add-devextreme-to-bundle.js +19 -23
- package/bundle/_add-querybuilder-to-bundle.d.ts +7 -7
- package/bundle/_add-querybuilder-to-bundle.js +23 -27
- package/bundle/_add-to-context.d.ts +7 -7
- package/bundle/_add-to-context.js +10 -25
- package/bundle/_validator.d.ts +7 -7
- package/bundle/_validator.js +11 -16
- package/bundle/analytic-core-bundle.d.ts +8 -8
- package/bundle/analytic-core-bundle.js +14 -15
- package/bundle/query-builder-bundle.d.ts +9 -9
- package/bundle/query-builder-bundle.js +12 -13
- package/core/_actionProvider.d.ts +7 -7
- package/core/_actionProvider.js +17 -24
- package/core/_bindings.d.ts +7 -9
- package/core/_bindings.js +78 -88
- package/core/_legacy.d.ts +7 -7
- package/core/_legacy.js +8 -9
- package/core/_metadata.d.ts +7 -7
- package/core/_metadata.js +14 -17
- package/core/binding/_jsDesignerBindingCommon.d.ts +20 -9
- package/core/binding/_jsDesignerBindingCommon.js +79 -67
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +7 -7
- package/core/binding/_jsDesignerBindingCommonOptions.js +8 -9
- package/core/binding/_requestHelper.d.ts +7 -7
- package/core/binding/_requestHelper.js +11 -18
- package/core/dragDrop/_dragDropHandler.d.ts +7 -9
- package/core/dragDrop/_dragDropHandler.js +49 -73
- package/core/dragDrop/_dragHelperContent.d.ts +7 -7
- package/core/dragDrop/_dragHelperContent.js +37 -69
- package/core/dragDrop/_selectionDragDropHandler.d.ts +7 -9
- package/core/dragDrop/_selectionDragDropHandler.js +51 -75
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +7 -7
- package/core/dragDrop/_toolboxDragDropHandler.js +28 -50
- package/core/dragDrop/_wizardDragDropHandler.d.ts +8 -9
- package/core/dragDrop/_wizardDragDropHandler.js +31 -53
- package/core/elements/baseSurface.d.ts +7 -7
- package/core/elements/baseSurface.js +119 -149
- package/core/elements/elementViewModel.d.ts +7 -7
- package/core/elements/elementViewModel.js +87 -113
- package/core/elements/margins.d.ts +7 -7
- package/core/elements/margins.js +25 -31
- package/core/elements/paddingModel.d.ts +7 -7
- package/core/elements/paddingModel.js +52 -83
- package/core/elements/paddingModelMetaData.d.ts +7 -7
- package/core/elements/paddingModelMetaData.js +12 -15
- package/core/elements/point.d.ts +7 -7
- package/core/elements/point.js +20 -26
- package/core/elements/rectangle.d.ts +7 -7
- package/core/elements/rectangle.js +11 -20
- package/core/elements/serializableModel.d.ts +7 -7
- package/core/elements/serializableModel.js +20 -42
- package/core/elements/size.d.ts +7 -7
- package/core/elements/size.js +21 -27
- package/core/internal/_ajaxSetup.d.ts +7 -7
- package/core/internal/_ajaxSetup.js +15 -20
- package/core/internal/_controlsHelper.d.ts +7 -7
- package/core/internal/_controlsHelper.js +79 -103
- package/core/internal/_cssCalculator.d.ts +7 -7
- package/core/internal/_cssCalculator.js +85 -95
- package/core/internal/_editorTypeMapper.d.ts +7 -7
- package/core/internal/_editorTypeMapper.js +31 -36
- package/core/internal/_getNameHelpers.d.ts +8 -8
- package/core/internal/_getNameHelpers.js +20 -31
- package/core/internal/_globalize.d.ts +7 -7
- package/core/internal/_globalize.js +11 -15
- package/core/internal/_hoverInfo.d.ts +7 -7
- package/core/internal/_hoverInfo.js +22 -35
- package/core/internal/_inlineTextEdit.d.ts +7 -7
- package/core/internal/_inlineTextEdit.js +40 -63
- package/core/internal/_objectStructureControllers.d.ts +7 -7
- package/core/internal/_objectStructureControllers.js +25 -47
- package/core/internal/_objectStructureProviders.d.ts +7 -7
- package/core/internal/_objectStructureProviders.js +65 -95
- package/core/internal/_papperKindMapper.d.ts +7 -7
- package/core/internal/_papperKindMapper.js +8 -11
- package/core/internal/_processError.d.ts +7 -7
- package/core/internal/_processError.js +21 -26
- package/core/internal/_resizable.d.ts +44 -19
- package/core/internal/_resizable.js +174 -172
- package/core/internal/_resizableBinding.d.ts +17 -0
- package/core/internal/_resizableBinding.js +212 -0
- package/core/internal/_scrollProcessor.d.ts +7 -7
- package/core/internal/_scrollProcessor.js +34 -58
- package/core/internal/_stores.d.ts +8 -7
- package/core/internal/_stores.js +46 -75
- package/core/internal/_surfaceHelpers.d.ts +7 -7
- package/core/internal/_surfaceHelpers.js +16 -26
- package/core/internal/_utils.d.ts +9 -7
- package/core/internal/_utils.js +16 -20
- package/core/internal/_validation.d.ts +7 -7
- package/core/internal/_validation.js +15 -20
- package/core/internal/ajaxSetup.d.ts +7 -7
- package/core/internal/ajaxSetup.js +9 -12
- package/core/internal/dx-versions.d.ts +7 -7
- package/core/internal/dx-versions.js +12 -15
- package/core/internal/selectable.d.ts +48 -0
- package/core/internal/selectable.js +160 -0
- package/core/selection/_combinedObj.d.ts +7 -7
- package/core/selection/_combinedObj.js +61 -70
- package/core/selection/_selection.d.ts +7 -7
- package/core/selection/_selection.js +68 -96
- package/core/selection/_selectionHelpers.d.ts +7 -7
- package/core/selection/_selectionHelpers.js +11 -15
- package/core/snapLines/_snapLineSurface.d.ts +7 -7
- package/core/snapLines/_snapLineSurface.js +18 -23
- package/core/snapLines/_snapLinesCollector.d.ts +7 -7
- package/core/snapLines/_snapLinesCollector.js +29 -35
- package/core/snapLines/_snapLinesHelper.d.ts +7 -7
- package/core/snapLines/_snapLinesHelper.js +28 -37
- package/core/tools/_actionList.d.ts +7 -7
- package/core/tools/_actionList.js +87 -115
- package/core/tools/_copyPaste.d.ts +7 -7
- package/core/tools/_copyPaste.js +43 -52
- package/core/tools/_keyboardHelper.d.ts +7 -7
- package/core/tools/_keyboardHelper.js +55 -91
- package/core/tools/_tabInfoWithPropertyGrid.d.ts +7 -7
- package/core/tools/_tabInfoWithPropertyGrid.js +20 -42
- package/core/tools/actionId.d.ts +7 -7
- package/core/tools/actionId.js +8 -11
- package/core/tools/tabPanel.d.ts +7 -7
- package/core/tools/tabPanel.js +117 -145
- package/core/tools/toolbox.d.ts +7 -7
- package/core/tools/toolbox.js +29 -54
- package/core/utils/_arrayutils.d.ts +7 -7
- package/core/utils/_arrayutils.js +27 -37
- package/core/utils/_debug.d.ts +7 -7
- package/core/utils/_debug.js +10 -14
- package/core/utils/_designerCreator.d.ts +7 -7
- package/core/utils/_designerCreator.js +274 -392
- package/core/utils/_designerInitializer.d.ts +7 -7
- package/core/utils/_designerInitializer.js +63 -80
- package/core/utils/_fieldListProvider.d.ts +7 -7
- package/core/utils/_fieldListProvider.js +32 -39
- package/core/utils/_infoMessageHelpers.d.ts +7 -7
- package/core/utils/_infoMessageHelpers.js +26 -39
- package/core/utils/_units.d.ts +7 -7
- package/core/utils/_units.js +16 -27
- package/core/utils/_utils.d.ts +15 -10
- package/core/utils/_utils.js +96 -133
- package/core/utils/_visitors.d.ts +7 -7
- package/core/utils/_visitors.js +12 -21
- package/core/utils/controlsFactory.d.ts +7 -7
- package/core/utils/controlsFactory.js +38 -43
- package/core/utils/parsers.d.ts +7 -7
- package/core/utils/parsers.js +19 -31
- package/core/widgets/_buttonInlineEditor.d.ts +10 -11
- package/core/widgets/_buttonInlineEditor.js +26 -51
- package/core/widgets/_dataMemberEditor.d.ts +7 -7
- package/core/widgets/_dataMemberEditor.js +22 -27
- package/core/widgets/_fieldlistpicker.d.ts +10 -11
- package/core/widgets/_fieldlistpicker.js +80 -109
- package/core/widgets/_popupEditorBase.d.ts +7 -7
- package/core/widgets/_popupEditorBase.js +33 -63
- package/core/widgets/_requiredNullableEditor.d.ts +7 -7
- package/core/widgets/_requiredNullableEditor.js +24 -51
- package/core/widgets/bordereditor/_binding.d.ts +7 -7
- package/core/widgets/bordereditor/_binding.js +16 -18
- package/core/widgets/bordereditor/_bordereditor.d.ts +7 -7
- package/core/widgets/bordereditor/_bordereditor.js +34 -56
- package/core/widgets/colorPickerEditor.d.ts +7 -7
- package/core/widgets/colorPickerEditor.js +18 -40
- package/core/widgets/dataMemberEditor.d.ts +7 -7
- package/core/widgets/dataMemberEditor.js +15 -37
- package/core/widgets/fieldListEditor.d.ts +7 -7
- package/core/widgets/fieldListEditor.js +19 -41
- package/core/widgets/propertygrid/_controlProperties.d.ts +7 -7
- package/core/widgets/propertygrid/_controlProperties.js +80 -105
- package/core/widgets/propertygrid/_group.d.ts +7 -7
- package/core/widgets/propertygrid/_group.js +45 -69
- package/core/widgets/registerDesignerEditors.d.ts +7 -7
- package/core/widgets/registerDesignerEditors.js +33 -37
- package/core/widgets/textAlignmentEditor/_binding.d.ts +7 -7
- package/core/widgets/textAlignmentEditor/_binding.js +16 -18
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +7 -7
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +38 -60
- package/diagram/_legacy.d.ts +7 -7
- package/diagram/_legacy.js +8 -9
- package/diagram/bindings.d.ts +7 -9
- package/diagram/bindings.js +20 -24
- package/diagram/controlRegistrator.d.ts +7 -7
- package/diagram/controlRegistrator.js +64 -68
- package/diagram/controlsFactory.d.ts +7 -7
- package/diagram/controlsFactory.js +9 -12
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +7 -7
- package/diagram/dragDrop/connectingPointDragHandler.js +33 -59
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +7 -7
- package/diagram/dragDrop/connectionPointDragHandler.js +28 -50
- package/diagram/elements/connectingPointModel.d.ts +7 -7
- package/diagram/elements/connectingPointModel.js +37 -59
- package/diagram/elements/connectingPointSurface.d.ts +7 -7
- package/diagram/elements/connectingPointSurface.js +24 -46
- package/diagram/elements/connectors/connectionPointModel.d.ts +7 -7
- package/diagram/elements/connectors/connectionPointModel.js +28 -50
- package/diagram/elements/connectors/connectionPointSurface.d.ts +7 -7
- package/diagram/elements/connectors/connectionPointSurface.js +29 -51
- package/diagram/elements/connectors/connectorModel.d.ts +7 -7
- package/diagram/elements/connectors/connectorModel.js +58 -80
- package/diagram/elements/connectors/connectorSurface.d.ts +7 -7
- package/diagram/elements/connectors/connectorSurface.js +20 -42
- package/diagram/elements/connectors/routedConnectorModel.d.ts +7 -7
- package/diagram/elements/connectors/routedConnectorModel.js +122 -144
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +7 -7
- package/diagram/elements/connectors/routedConnectorSurface.js +51 -77
- package/diagram/elements/diagramElementBaseSurface.d.ts +7 -7
- package/diagram/elements/diagramElementBaseSurface.js +36 -58
- package/diagram/elements/diagramElementBaseViewModel.d.ts +7 -7
- package/diagram/elements/diagramElementBaseViewModel.js +18 -39
- package/diagram/elements/diagramElementSurface.d.ts +7 -7
- package/diagram/elements/diagramElementSurface.js +14 -36
- package/diagram/elements/diagramElementViewModel.d.ts +7 -7
- package/diagram/elements/diagramElementViewModel.js +18 -40
- package/diagram/elements/diagramModel.d.ts +7 -7
- package/diagram/elements/diagramModel.js +29 -52
- package/diagram/elements/diagramSurface.d.ts +7 -7
- package/diagram/elements/diagramSurface.js +47 -74
- package/diagram/initializer.d.ts +7 -7
- package/diagram/initializer.js +36 -40
- package/diagram/metadata.d.ts +7 -7
- package/diagram/metadata.js +17 -20
- package/diagram/utils.d.ts +7 -7
- package/diagram/utils.js +13 -17
- package/dist/css/dx-analytics.carmine.compact.css +7 -7
- package/dist/css/dx-analytics.carmine.css +7 -7
- package/dist/css/dx-analytics.common.css +23 -28
- package/dist/css/dx-analytics.contrast.compact.css +7 -7
- package/dist/css/dx-analytics.contrast.css +7 -7
- package/dist/css/dx-analytics.dark.compact.css +7 -7
- package/dist/css/dx-analytics.dark.css +7 -7
- package/dist/css/dx-analytics.darkmoon.compact.css +7 -7
- package/dist/css/dx-analytics.darkmoon.css +7 -7
- package/dist/css/dx-analytics.darkviolet.compact.css +7 -7
- package/dist/css/dx-analytics.darkviolet.css +7 -7
- package/dist/css/dx-analytics.greenmist.compact.css +7 -7
- package/dist/css/dx-analytics.greenmist.css +7 -7
- package/dist/css/dx-analytics.light.compact.css +7 -7
- package/dist/css/dx-analytics.light.css +7 -7
- package/dist/css/dx-analytics.material.blue.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.blue.dark.css +38 -34
- package/dist/css/dx-analytics.material.blue.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.blue.light.css +38 -34
- package/dist/css/dx-analytics.material.lime.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.lime.dark.css +38 -34
- package/dist/css/dx-analytics.material.lime.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.lime.light.css +38 -34
- package/dist/css/dx-analytics.material.orange.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.orange.dark.css +38 -34
- package/dist/css/dx-analytics.material.orange.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.orange.light.css +38 -34
- package/dist/css/dx-analytics.material.purple.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.purple.dark.css +38 -34
- package/dist/css/dx-analytics.material.purple.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.purple.light.css +38 -34
- package/dist/css/dx-analytics.material.teal.dark.compact.css +38 -34
- package/dist/css/dx-analytics.material.teal.dark.css +38 -34
- package/dist/css/dx-analytics.material.teal.light.compact.css +38 -34
- package/dist/css/dx-analytics.material.teal.light.css +38 -34
- package/dist/css/dx-analytics.softblue.compact.css +7 -7
- package/dist/css/dx-analytics.softblue.css +7 -7
- package/dist/css/dx-querybuilder.css +70 -7
- package/dist/js/dx-analytics-core.d.ts +2006 -1856
- package/dist/js/dx-analytics-core.js +17525 -20475
- package/dist/js/dx-analytics-core.min.js +8 -8
- package/dist/js/dx-querybuilder.js +14039 -18110
- package/dist/js/dx-querybuilder.min.js +8 -8
- package/dx-analytics-core-bindings.d.ts +8 -0
- package/dx-analytics-core-bindings.js +461 -0
- package/dx-analytics-core-imports.d.ts +25 -25
- package/dx-analytics-core-imports.js +39 -41
- package/dx-analytics-core-svg-bindings.d.ts +8 -0
- package/dx-analytics-core-svg-bindings.js +118 -0
- package/dx-analytics-core-svg-templates.d.ts +7 -7
- package/dx-analytics-core-svg-templates.js +18 -17
- package/dx-analytics-core-templates.d.ts +7 -7
- package/dx-analytics-core-templates.js +20 -21
- package/dx-analytics-core.d.ts +7 -7
- package/dx-analytics-core.js +27 -29
- package/dx-query-builder-bindings.d.ts +8 -0
- package/dx-query-builder-bindings.js +368 -0
- package/dx-query-builder-templates.d.ts +7 -7
- package/dx-query-builder-templates.js +14 -15
- package/dx-querybuilder-imports.d.ts +9 -8
- package/dx-querybuilder-imports.js +12 -13
- package/dx-querybuilder.d.ts +7 -7
- package/dx-querybuilder.js +20 -22
- package/index.d.ts +7 -7
- package/index.js +9 -11
- package/less/colors/carmine-colors.less +35 -35
- package/less/colors/contrast-colors.less +35 -35
- package/less/colors/dark-colors.less +34 -34
- package/less/colors/darkmoon-colors.less +34 -34
- package/less/colors/darkviolet-colors.less +34 -34
- package/less/colors/greenmist-colors.less +34 -34
- package/less/colors/light-colors.less +34 -34
- package/less/colors/material.dark-colors.less +8 -8
- package/less/colors/material.light-colors.less +5 -5
- package/less/colors/softblue-colors.less +34 -34
- package/less/common.less +102 -102
- package/less/dx-carmine-style.less +2 -2
- package/less/dx-contrast-style.less +95 -95
- package/less/dx-dark-style.less +1 -1
- package/less/dx-darkmoon-style.less +2 -2
- package/less/dx-darkviolet-style.less +2 -2
- package/less/dx-greenmist-style.less +2 -2
- package/less/dx-light-style.less +1 -1
- package/less/dx-material.blue.dark-style.less +4 -3
- package/less/dx-material.blue.light-style.less +4 -3
- package/less/dx-material.dark.fix-varialbles.less +22 -22
- package/less/dx-material.fix-style.less +1109 -1099
- package/less/dx-material.light.fix-varialbles.less +4 -4
- package/less/dx-material.lime.dark-style.less +5 -4
- package/less/dx-material.lime.light-style.less +5 -4
- package/less/dx-material.orange.dark-style.less +5 -4
- package/less/dx-material.orange.light-style.less +5 -4
- package/less/dx-material.purple.dark-style.less +5 -4
- package/less/dx-material.purple.light-style.less +5 -4
- package/less/dx-material.teal.dark-style.less +5 -4
- package/less/dx-material.teal.light-style.less +5 -4
- package/less/dx-softblue-style.less +2 -2
- package/less/dx-variable-style.less +408 -408
- package/package.json +2 -2
- package/property-grid/_legacy.d.ts +7 -7
- package/property-grid/_legacy.js +8 -9
- package/property-grid/_propertiesAccessibilityProvider.d.ts +7 -7
- package/property-grid/_propertiesAccessibilityProvider.js +17 -24
- package/property-grid/bindings.d.ts +7 -7
- package/property-grid/bindings.js +50 -52
- package/property-grid/internal/_addon.d.ts +7 -7
- package/property-grid/internal/_addon.js +46 -74
- package/property-grid/internal/_codeResolver.d.ts +7 -7
- package/property-grid/internal/_codeResolver.js +33 -41
- package/property-grid/internal/_popupService.d.ts +7 -7
- package/property-grid/internal/_popupService.js +11 -16
- package/property-grid/localization/_localization.d.ts +7 -7
- package/property-grid/localization/_localization.js +34 -56
- package/property-grid/localization/_localizationStringIds.d.ts +7 -7
- package/property-grid/localization/_localizationStringIds.js +8 -11
- package/property-grid/localization/localization.d.ts +7 -7
- package/property-grid/localization/localization.js +9 -13
- package/property-grid/localization/localization_utils.d.ts +8 -8
- package/property-grid/localization/localization_utils.js +18 -25
- package/property-grid/propertygrid.d.ts +7 -7
- package/property-grid/propertygrid.js +117 -155
- package/property-grid/widgets/bindingsCacheUtils.d.ts +9 -0
- package/property-grid/widgets/bindingsCacheUtils.js +14 -0
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +7 -7
- package/property-grid/widgets/collectioneditor/_bindings.js +18 -20
- package/property-grid/widgets/collectioneditor/_editor.d.ts +7 -7
- package/property-grid/widgets/collectioneditor/_editor.js +94 -123
- package/property-grid/widgets/editor.d.ts +7 -7
- package/property-grid/widgets/editor.js +121 -156
- package/property-grid/widgets/editorValidator.d.ts +7 -7
- package/property-grid/widgets/editorValidator.js +67 -101
- package/property-grid/widgets/editorsInfo.d.ts +7 -7
- package/property-grid/widgets/editorsInfo.js +22 -28
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +16 -11
- package/property-grid/widgets/ellipsiseditor/_editor.js +53 -79
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +8 -8
- package/property-grid/widgets/fileimageeditor/_editor.js +40 -64
- package/property-grid/widgets/fonteditor/_fonts.d.ts +7 -7
- package/property-grid/widgets/fonteditor/_fonts.js +9 -12
- package/property-grid/widgets/fonteditor/_model.d.ts +7 -13
- package/property-grid/widgets/fonteditor/_model.js +39 -77
- package/property-grid/widgets/fonteditor/editor.d.ts +7 -7
- package/property-grid/widgets/fonteditor/editor.js +19 -40
- package/property-grid/widgets/fonteditor/metadata.d.ts +7 -8
- package/property-grid/widgets/fonteditor/metadata.js +17 -26
- package/property-grid/widgets/guideditor.d.ts +7 -7
- package/property-grid/widgets/guideditor.js +13 -37
- package/property-grid/widgets/internal/_bindingsCache.d.ts +9 -0
- package/property-grid/widgets/internal/_bindingsCache.js +61 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +7 -7
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +11 -15
- package/property-grid/widgets/internal/_internal.d.ts +7 -7
- package/property-grid/widgets/internal/_internal.js +19 -24
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +7 -7
- package/property-grid/widgets/internal/_svgTemplateEngine.js +35 -51
- package/property-grid/widgets/internal/_utils.d.ts +11 -11
- package/property-grid/widgets/internal/_utils.js +33 -52
- package/property-grid/widgets/registerBaseEdtior.d.ts +7 -7
- package/property-grid/widgets/registerBaseEdtior.js +15 -19
- package/property-grid/widgets/templateUtils.d.ts +7 -7
- package/property-grid/widgets/templateUtils.js +12 -17
- package/query-builder/_accordionTabInfo.d.ts +7 -7
- package/query-builder/_accordionTabInfo.js +53 -80
- package/query-builder/_bindings.d.ts +7 -9
- package/query-builder/_bindings.js +42 -38
- package/query-builder/_initializer.d.ts +10 -10
- package/query-builder/_initializer.js +151 -160
- package/query-builder/_legacy.d.ts +7 -7
- package/query-builder/_legacy.js +8 -9
- package/query-builder/_queryBuilderModel.d.ts +7 -7
- package/query-builder/_queryBuilderModel.js +8 -9
- package/query-builder/binding/eventGenerator.d.ts +11 -9
- package/query-builder/binding/eventGenerator.js +42 -44
- package/query-builder/binding/jsQueryBuilder.d.ts +7 -7
- package/query-builder/binding/jsQueryBuilder.js +42 -51
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +12 -10
- package/query-builder/binding/jsQueryBuilderBinding.js +70 -86
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +7 -7
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +8 -9
- package/query-builder/dataSource/_dbSchema.d.ts +7 -7
- package/query-builder/dataSource/_dbSchema.js +9 -13
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/_dbSchemaProvider.js +22 -27
- package/query-builder/dataSource/_utils.d.ts +7 -7
- package/query-builder/dataSource/_utils.js +12 -17
- package/query-builder/dataSource/dataSourceParameter.d.ts +7 -7
- package/query-builder/dataSource/dataSourceParameter.js +118 -153
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +7 -7
- package/query-builder/dataSource/dataSourceParameterMeta.js +29 -34
- package/query-builder/dataSource/dbColumn.d.ts +7 -7
- package/query-builder/dataSource/dbColumn.js +16 -21
- package/query-builder/dataSource/dbForeignKey.d.ts +7 -7
- package/query-builder/dataSource/dbForeignKey.js +10 -15
- package/query-builder/dataSource/dbSchema.d.ts +7 -7
- package/query-builder/dataSource/dbSchema.js +18 -23
- package/query-builder/dataSource/dbSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/dbSchemaProvider.js +60 -84
- package/query-builder/dataSource/dbStoredProcedure.d.ts +7 -7
- package/query-builder/dataSource/dbStoredProcedure.js +17 -24
- package/query-builder/dataSource/dbTable.d.ts +7 -7
- package/query-builder/dataSource/dbTable.js +15 -20
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.d.ts +7 -7
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.js +28 -50
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +40 -66
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +27 -49
- package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/subNode.js +48 -53
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +39 -67
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +28 -50
- package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +10 -9
- package/query-builder/dataSource/federation/federatedQueriesContainer.js +70 -89
- package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +7 -7
- package/query-builder/dataSource/federation/federatedQueryExpression.js +23 -28
- package/query-builder/dataSource/federation/federationDataSource.d.ts +8 -7
- package/query-builder/dataSource/federation/federationDataSource.js +59 -78
- package/query-builder/dataSource/federation/federationDataSourceMeta.d.ts +7 -7
- package/query-builder/dataSource/federation/federationDataSourceMeta.js +9 -12
- package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +7 -7
- package/query-builder/dataSource/federation/federationMasterDetailRelation.js +22 -44
- package/query-builder/dataSource/federation/federationSerializableModel.d.ts +7 -7
- package/query-builder/dataSource/federation/federationSerializableModel.js +43 -71
- package/query-builder/dataSource/federation/federationSource.d.ts +7 -7
- package/query-builder/dataSource/federation/federationSource.js +26 -48
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +20 -26
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +7 -7
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +18 -23
- package/query-builder/dataSource/json/jsonDataSource.d.ts +7 -7
- package/query-builder/dataSource/json/jsonDataSource.js +41 -66
- package/query-builder/dataSource/json/jsonParameter.d.ts +7 -7
- package/query-builder/dataSource/json/jsonParameter.js +45 -67
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSchemaNode.js +66 -99
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSchemaProvider.js +35 -59
- package/query-builder/dataSource/json/jsonSource.d.ts +7 -7
- package/query-builder/dataSource/json/jsonSource.js +47 -71
- package/query-builder/dataSource/object/objectDataSource.d.ts +7 -7
- package/query-builder/dataSource/object/objectDataSource.js +18 -40
- package/query-builder/dataSource/object/objectSchema.d.ts +7 -7
- package/query-builder/dataSource/object/objectSchema.js +54 -97
- package/query-builder/dataSource/resultSet.d.ts +7 -7
- package/query-builder/dataSource/resultSet.js +22 -27
- package/query-builder/dataSource/resultTable.d.ts +7 -7
- package/query-builder/dataSource/resultTable.js +14 -19
- package/query-builder/dataSource/sql/connectionOptions.d.ts +7 -7
- package/query-builder/dataSource/sql/connectionOptions.js +18 -23
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +7 -7
- package/query-builder/dataSource/sql/customSqlQuery.js +26 -31
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +8 -11
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +7 -7
- package/query-builder/dataSource/sql/masterDetailRelation.js +31 -53
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +8 -11
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +7 -7
- package/query-builder/dataSource/sql/sqlDataConnection.js +21 -26
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +7 -7
- package/query-builder/dataSource/sql/sqlDataSource.js +52 -77
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +7 -7
- package/query-builder/dataSource/sql/storedProcQuery.js +29 -34
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +8 -11
- package/query-builder/dataSource/sql/tableQuery.d.ts +7 -7
- package/query-builder/dataSource/sql/tableQuery.js +27 -32
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +7 -7
- package/query-builder/dataSource/sql/tableQueryMeta.js +8 -11
- package/query-builder/dataSource/utils.d.ts +7 -7
- package/query-builder/dataSource/utils.js +11 -14
- package/query-builder/dragDrop/_columnDragHandler.d.ts +7 -7
- package/query-builder/dragDrop/_columnDragHandler.js +49 -71
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +7 -7
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +43 -65
- package/query-builder/elements/_federationColumnModel.d.ts +7 -7
- package/query-builder/elements/_federationColumnModel.js +25 -49
- package/query-builder/elements/_federationQueryModel.d.ts +7 -7
- package/query-builder/elements/_federationQueryModel.js +102 -140
- package/query-builder/elements/allColumnsModel.d.ts +7 -7
- package/query-builder/elements/allColumnsModel.js +35 -57
- package/query-builder/elements/allColumnsModelMeta.d.ts +7 -7
- package/query-builder/elements/allColumnsModelMeta.js +9 -12
- package/query-builder/elements/allColumnsSurface.d.ts +7 -7
- package/query-builder/elements/allColumnsSurface.js +24 -46
- package/query-builder/elements/columnExpression.d.ts +7 -7
- package/query-builder/elements/columnExpression.js +35 -41
- package/query-builder/elements/columnExpressionMeta.d.ts +7 -7
- package/query-builder/elements/columnExpressionMeta.js +11 -14
- package/query-builder/elements/columnModel.d.ts +7 -7
- package/query-builder/elements/columnModel.js +84 -111
- package/query-builder/elements/columnModelMeta.d.ts +7 -7
- package/query-builder/elements/columnModelMeta.js +21 -24
- package/query-builder/elements/columnSurface.d.ts +7 -7
- package/query-builder/elements/columnSurface.js +38 -60
- package/query-builder/elements/joinConditionModel.d.ts +7 -7
- package/query-builder/elements/joinConditionModel.js +31 -53
- package/query-builder/elements/joinConditionModelMeta.d.ts +7 -7
- package/query-builder/elements/joinConditionModelMeta.js +15 -18
- package/query-builder/elements/joinConditionSurface.d.ts +7 -7
- package/query-builder/elements/joinConditionSurface.js +17 -39
- package/query-builder/elements/parameterModel.d.ts +7 -7
- package/query-builder/elements/parameterModel.js +15 -39
- package/query-builder/elements/parameterModelMeta.d.ts +7 -7
- package/query-builder/elements/parameterModelMeta.js +8 -11
- package/query-builder/elements/queryElementModel.d.ts +7 -7
- package/query-builder/elements/queryElementModel.js +16 -37
- package/query-builder/elements/queryElementSurface.d.ts +7 -7
- package/query-builder/elements/queryElementSurface.js +32 -54
- package/query-builder/elements/queryModel.d.ts +7 -7
- package/query-builder/elements/queryModel.js +210 -244
- package/query-builder/elements/queryModelMeta.d.ts +7 -7
- package/query-builder/elements/queryModelMeta.js +17 -20
- package/query-builder/elements/querySurface.d.ts +7 -7
- package/query-builder/elements/querySurface.js +51 -74
- package/query-builder/elements/relationModel.d.ts +7 -7
- package/query-builder/elements/relationModel.js +33 -55
- package/query-builder/elements/relationModelMeta.d.ts +7 -7
- package/query-builder/elements/relationModelMeta.js +8 -11
- package/query-builder/elements/relationSurface.d.ts +7 -7
- package/query-builder/elements/relationSurface.js +19 -41
- package/query-builder/elements/tableModel.d.ts +7 -7
- package/query-builder/elements/tableModel.js +80 -106
- package/query-builder/elements/tableModelMeta.d.ts +7 -7
- package/query-builder/elements/tableModelMeta.js +10 -13
- package/query-builder/elements/tableSurface.d.ts +7 -7
- package/query-builder/elements/tableSurface.js +36 -58
- package/query-builder/initializer.d.ts +7 -7
- package/query-builder/initializer.js +10 -13
- package/query-builder/metadata.d.ts +7 -7
- package/query-builder/metadata.js +18 -21
- package/query-builder/utils/_callbacks.d.ts +9 -9
- package/query-builder/utils/_callbacks.js +8 -9
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +7 -7
- package/query-builder/utils/_columnExpressionCollectionHelper.js +55 -64
- package/query-builder/utils/_controlsFactory.d.ts +7 -7
- package/query-builder/utils/_controlsFactory.js +62 -66
- package/query-builder/utils/_dataConnection.d.ts +7 -7
- package/query-builder/utils/_dataConnection.js +12 -16
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +7 -7
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.js +25 -53
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +7 -7
- package/query-builder/utils/_queryBuilderTreeListController.js +17 -39
- package/query-builder/utils/_requestwrapper.d.ts +7 -7
- package/query-builder/utils/_requestwrapper.js +17 -23
- package/query-builder/utils/controlsFactory.d.ts +7 -7
- package/query-builder/utils/controlsFactory.js +9 -12
- package/query-builder/utils/requestwrapper.d.ts +7 -7
- package/query-builder/utils/requestwrapper.js +48 -56
- package/query-builder/widgets/_federatedQueriesHelper.d.ts +7 -7
- package/query-builder/widgets/_federatedQueriesHelper.js +62 -88
- package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +7 -7
- package/query-builder/widgets/_manageFederatedQueriesEditor.js +62 -86
- package/query-builder/widgets/_rightPanelSwitcher.d.ts +7 -7
- package/query-builder/widgets/_rightPanelSwitcher.js +29 -56
- package/query-builder/widgets/_undoEditor.d.ts +7 -7
- package/query-builder/widgets/_undoEditor.js +19 -41
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +7 -7
- package/query-builder/widgets/ace/_ace-mode-sql.js +18 -20
- package/query-builder/widgets/ace/_options.d.ts +7 -7
- package/query-builder/widgets/ace/_options.js +15 -22
- package/query-builder/widgets/editorTemplates.d.ts +7 -7
- package/query-builder/widgets/editorTemplates.js +9 -12
- package/query-builder/widgets/expressionFunctions.d.ts +7 -7
- package/query-builder/widgets/expressionFunctions.js +9 -12
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +36 -60
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +44 -70
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +17 -38
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +42 -65
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +30 -52
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +7 -7
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +53 -59
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +16 -23
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +46 -68
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +24 -31
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +20 -26
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +7 -7
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +25 -31
- package/query-builder/widgets/registerEditorTemplates.d.ts +7 -7
- package/query-builder/widgets/registerEditorTemplates.js +12 -16
- package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +20 -0
- package/query-builder/wizard/chooseAvailableDataSourcePage.js +55 -0
- package/query-builder/wizard/chooseAvailablePage.d.ts +11 -9
- package/query-builder/wizard/chooseAvailablePage.js +56 -75
- package/query-builder/wizard/dataSourceWizard.d.ts +11 -8
- package/query-builder/wizard/dataSourceWizard.js +99 -161
- package/query-builder/wizard/dataSourceWizardState.d.ts +16 -15
- package/query-builder/wizard/dataSourceWizardState.js +41 -62
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +13 -10
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +71 -94
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +7 -7
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +40 -63
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +7 -7
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +40 -62
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +7 -7
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +19 -41
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +7 -7
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +93 -122
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +22 -0
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.js +71 -0
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.d.ts +9 -9
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +48 -71
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +8 -8
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +51 -74
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +7 -7
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +63 -88
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +8 -8
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +60 -83
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +7 -7
- package/query-builder/wizard/internal/_configureParametersUtils.js +70 -115
- package/query-builder/wizard/internal/_constants.d.ts +7 -7
- package/query-builder/wizard/internal/_constants.js +9 -12
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +85 -108
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +7 -7
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +19 -41
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +7 -7
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +47 -71
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +7 -7
- package/query-builder/wizard/internal/_jsonSourceSettings.js +234 -294
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +18 -39
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +20 -20
- package/query-builder/wizard/internal/_queryBuilderPopup.js +69 -99
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +18 -23
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +7 -7
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +60 -87
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +7 -7
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +64 -95
- package/query-builder/wizard/internal/_treeListNode.d.ts +7 -7
- package/query-builder/wizard/internal/_treeListNode.js +165 -227
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +7 -7
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +81 -112
- package/query-builder/wizard/internal/_utils.d.ts +18 -16
- package/query-builder/wizard/internal/_utils.js +49 -81
- package/query-builder/wizard/internal/_wizardAction.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardAction.js +11 -16
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardPageProcessor.js +99 -133
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +13 -37
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +7 -7
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +56 -67
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +7 -7
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +16 -38
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +29 -52
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.js +16 -21
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +64 -87
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +170 -196
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +18 -23
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +85 -111
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +23 -29
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +53 -78
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +7 -7
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +72 -97
- package/query-builder/wizard/internal/initializer.d.ts +7 -7
- package/query-builder/wizard/internal/initializer.js +8 -9
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +7 -7
- package/query-builder/wizard/internal/jsonSourceSettings.js +8 -11
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +7 -7
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +22 -44
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +12 -12
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +111 -152
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +7 -7
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +34 -62
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +7 -7
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +43 -70
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +7 -7
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +8 -9
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +7 -7
- package/query-builder/wizard/multiQueryDataSourceWizard.js +113 -145
- package/query-builder/wizard/pageFactory.d.ts +7 -7
- package/query-builder/wizard/pageFactory.js +20 -25
- package/query-builder/wizard/pageId.d.ts +9 -7
- package/query-builder/wizard/pageId.js +26 -27
- package/query-builder/wizard/pageIterator.d.ts +7 -9
- package/query-builder/wizard/pageIterator.js +49 -76
- package/query-builder/wizard/pages/IWizardPage.d.ts +7 -7
- package/query-builder/wizard/pages/IWizardPage.js +8 -9
- package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +7 -7
- package/query-builder/wizard/pages/__wrappedWizardPage.js +39 -65
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +9 -9
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +54 -79
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +10 -9
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +58 -66
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +7 -7
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +40 -63
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +8 -7
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +90 -101
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +9 -9
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +34 -67
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +7 -7
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +105 -134
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +7 -7
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +78 -103
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +12 -11
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +40 -65
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +7 -7
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +36 -59
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +7 -7
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +65 -91
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +9 -9
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +185 -217
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +7 -7
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +94 -122
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +7 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +47 -79
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +7 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +47 -76
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +7 -7
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +34 -57
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +7 -7
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +30 -40
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +7 -7
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +59 -85
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +7 -7
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +95 -118
- package/query-builder/wizard/pages/wizardPageBase.d.ts +7 -7
- package/query-builder/wizard/pages/wizardPageBase.js +29 -51
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +7 -7
- package/query-builder/wizard/pages/wizardPageMetadata.js +8 -9
- package/query-builder/wizard/popupWizard.d.ts +14 -14
- package/query-builder/wizard/popupWizard.js +56 -78
- package/query-builder/wizard/stateManager.d.ts +7 -7
- package/query-builder/wizard/stateManager.js +25 -31
- package/query-builder/wizard/wizard.d.ts +7 -7
- package/query-builder/wizard/wizard.js +109 -141
- package/query-builder/wizard/wizardEventManager.d.ts +7 -7
- package/query-builder/wizard/wizardEventManager.js +8 -9
- package/queryBuilder-elements-metadata.d.ts +7 -7
- package/queryBuilder-elements-metadata.js +23 -35
- package/queryBuilder-elements.d.ts +7 -7
- package/queryBuilder-elements.js +39 -51
- package/queryBuilder-internal.d.ts +27 -26
- package/queryBuilder-internal.js +40 -51
- package/queryBuilder-metadata.d.ts +7 -7
- package/queryBuilder-metadata.js +9 -21
- package/queryBuilder-utils.d.ts +7 -7
- package/queryBuilder-utils.js +15 -27
- package/queryBuilder-widgets-internal.d.ts +7 -7
- package/queryBuilder-widgets-internal.js +45 -57
- package/queryBuilder-widgets.d.ts +7 -7
- package/queryBuilder-widgets.js +9 -21
- package/querybuilder.d.ts +7 -7
- package/querybuilder.js +15 -27
- package/serializer/_internal.d.ts +7 -7
- package/serializer/_internal.js +20 -32
- package/serializer/_legacy.d.ts +7 -7
- package/serializer/_legacy.js +8 -9
- package/serializer/_utils.d.ts +8 -7
- package/serializer/_utils.js +17 -29
- package/serializer/eventManager.d.ts +7 -7
- package/serializer/eventManager.js +23 -45
- package/serializer/serializationInfo.d.ts +7 -7
- package/serializer/serializationInfo.js +8 -9
- package/serializer/serializer.d.ts +7 -7
- package/serializer/serializer.js +78 -96
- package/serializer/utils.d.ts +7 -7
- package/serializer/utils.js +33 -42
- package/undo-engine/_legacy.d.ts +7 -7
- package/undo-engine/_legacy.js +8 -9
- package/undo-engine/_utils.d.ts +7 -7
- package/undo-engine/_utils.js +13 -21
- package/undo-engine/undoengine.d.ts +7 -7
- package/undo-engine/undoengine.js +154 -195
- package/utils/20.2/convert.js +81 -81
- package/utils/converter.js +6 -6
- package/widgets/_legacy.d.ts +7 -7
- package/widgets/_legacy.js +8 -9
- package/widgets/_searchHighlighting.d.ts +7 -7
- package/widgets/_searchHighlighting.js +46 -70
- package/widgets/_utils.d.ts +9 -9
- package/widgets/_utils.js +57 -69
- package/widgets/ace/_ace-available.d.ts +7 -7
- package/widgets/ace/_ace-available.js +11 -14
- package/widgets/ace/_ace-mode-criteria.d.ts +7 -7
- package/widgets/ace/_ace-mode-criteria.js +8 -12
- package/widgets/ace/_ace-mode-doc-comment.d.ts +7 -7
- package/widgets/ace/_ace-mode-doc-comment.js +8 -12
- package/widgets/ace/_binding.d.ts +7 -7
- package/widgets/ace/_binding.js +48 -52
- package/widgets/bindings.d.ts +7 -7
- package/widgets/bindings.js +14 -16
- package/widgets/common/_codeCompletor.d.ts +7 -7
- package/widgets/common/_codeCompletor.js +138 -175
- package/widgets/common/_displayNameProvider.d.ts +7 -7
- package/widgets/common/_displayNameProvider.js +32 -38
- package/widgets/common/displayNameProvider.d.ts +7 -7
- package/widgets/common/displayNameProvider.js +8 -9
- package/widgets/common/pathRequest.d.ts +7 -7
- package/widgets/common/pathRequest.js +10 -16
- package/widgets/criteria/operators/aggregate.d.ts +7 -7
- package/widgets/criteria/operators/aggregate.js +65 -99
- package/widgets/criteria/operators/between.d.ts +7 -7
- package/widgets/criteria/operators/between.js +47 -85
- package/widgets/criteria/operators/binary.d.ts +7 -7
- package/widgets/criteria/operators/binary.js +43 -81
- package/widgets/criteria/operators/constant.d.ts +7 -7
- package/widgets/criteria/operators/constant.js +17 -39
- package/widgets/criteria/operators/criteriaOperator.d.ts +7 -7
- package/widgets/criteria/operators/criteriaOperator.js +37 -61
- package/widgets/criteria/operators/function.d.ts +7 -7
- package/widgets/criteria/operators/function.js +45 -83
- package/widgets/criteria/operators/group.d.ts +7 -7
- package/widgets/criteria/operators/group.js +57 -88
- package/widgets/criteria/operators/in.d.ts +7 -7
- package/widgets/criteria/operators/in.js +42 -80
- package/widgets/criteria/operators/join.d.ts +7 -7
- package/widgets/criteria/operators/join.js +24 -46
- package/widgets/criteria/operators/options/aggregate.d.ts +7 -7
- package/widgets/criteria/operators/options/aggregate.js +8 -9
- package/widgets/criteria/operators/options/between.d.ts +7 -7
- package/widgets/criteria/operators/options/between.js +8 -9
- package/widgets/criteria/operators/options/binary.d.ts +7 -7
- package/widgets/criteria/operators/options/binary.js +9 -12
- package/widgets/criteria/operators/options/function.d.ts +7 -7
- package/widgets/criteria/operators/options/function.js +9 -12
- package/widgets/criteria/operators/options/group.d.ts +7 -7
- package/widgets/criteria/operators/options/group.js +9 -12
- package/widgets/criteria/operators/options/in.d.ts +7 -7
- package/widgets/criteria/operators/options/in.js +8 -9
- package/widgets/criteria/operators/options/join.d.ts +7 -7
- package/widgets/criteria/operators/options/join.js +8 -9
- package/widgets/criteria/operators/options/parameter.d.ts +7 -7
- package/widgets/criteria/operators/options/parameter.js +8 -9
- package/widgets/criteria/operators/options/property.d.ts +7 -7
- package/widgets/criteria/operators/options/property.js +8 -9
- package/widgets/criteria/operators/options/unary.d.ts +7 -7
- package/widgets/criteria/operators/options/unary.js +9 -12
- package/widgets/criteria/operators/options/value.d.ts +7 -7
- package/widgets/criteria/operators/options/value.js +8 -9
- package/widgets/criteria/operators/parameter.d.ts +7 -7
- package/widgets/criteria/operators/parameter.js +21 -47
- package/widgets/criteria/operators/property.d.ts +7 -7
- package/widgets/criteria/operators/property.js +25 -56
- package/widgets/criteria/operators/unary.d.ts +7 -7
- package/widgets/criteria/operators/unary.js +35 -69
- package/widgets/criteria/operators/value.d.ts +7 -7
- package/widgets/criteria/operators/value.js +29 -55
- package/widgets/criteria/parser/criteriaparser.d.ts +12 -12
- package/widgets/criteria/parser/criteriaparser.js +911 -911
- package/widgets/criteria/utils/criteriaChangeOperator.d.ts +7 -7
- package/widgets/criteria/utils/criteriaChangeOperator.js +8 -9
- package/widgets/criteria/utils/criteriaEnumeration.d.ts +7 -7
- package/widgets/criteria/utils/criteriaEnumeration.js +11 -16
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.d.ts +7 -7
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.js +26 -33
- package/widgets/criteria/utils/criteriaOperatorStateMachine.d.ts +7 -7
- package/widgets/criteria/utils/criteriaOperatorStateMachine.js +39 -49
- package/widgets/criteria/utils/criteriaOperatorVisitor.d.ts +7 -7
- package/widgets/criteria/utils/criteriaOperatorVisitor.js +8 -9
- package/widgets/criteria/utils/criteriaProcessType.d.ts +7 -7
- package/widgets/criteria/utils/criteriaProcessType.js +8 -9
- package/widgets/criteria/utils/operatorTokens.d.ts +7 -7
- package/widgets/criteria/utils/operatorTokens.js +8 -11
- package/widgets/criteria/utils/propertyLocation.d.ts +7 -7
- package/widgets/criteria/utils/propertyLocation.js +8 -9
- package/widgets/expressioneditor/_expressioneditor.d.ts +7 -7
- package/widgets/expressioneditor/_expressioneditor.js +27 -32
- package/widgets/expressioneditor/bindings.d.ts +7 -7
- package/widgets/expressioneditor/bindings.js +17 -19
- package/widgets/expressioneditor/expressioneditor.d.ts +7 -7
- package/widgets/expressioneditor/expressioneditor.js +157 -183
- package/widgets/expressioneditor/tools/_functions.d.ts +7 -7
- package/widgets/expressioneditor/tools/_functions.js +18 -39
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +7 -7
- package/widgets/expressioneditor/tools/_operatorNames.js +8 -11
- package/widgets/expressioneditor/tools/_tools.d.ts +7 -7
- package/widgets/expressioneditor/tools/_tools.js +103 -127
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +7 -7
- package/widgets/expressioneditor/tools/_treeListControllers.js +44 -72
- package/widgets/filtereditor/filtereditor.d.ts +8 -8
- package/widgets/filtereditor/filtereditor.js +227 -272
- package/widgets/filtereditor/filtereditoroptions.d.ts +7 -7
- package/widgets/filtereditor/filtereditoroptions.js +22 -28
- package/widgets/filtereditor/helpers/_addon.d.ts +7 -7
- package/widgets/filtereditor/helpers/_addon.js +45 -68
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +7 -7
- package/widgets/filtereditor/helpers/_codeCompletor.js +34 -56
- package/widgets/filtereditor/helpers/_helper.d.ts +7 -7
- package/widgets/filtereditor/helpers/_helper.js +10 -14
- package/widgets/filtereditor/helpers/_serializer.d.ts +7 -7
- package/widgets/filtereditor/helpers/_serializer.js +91 -101
- package/widgets/filtereditor/helpers/_treelistController.d.ts +7 -7
- package/widgets/filtereditor/helpers/_treelistController.js +21 -43
- package/widgets/filtereditor/helpers/_validator.d.ts +7 -7
- package/widgets/filtereditor/helpers/_validator.js +48 -55
- package/widgets/filtereditor/helpers/helper.d.ts +7 -7
- package/widgets/filtereditor/helpers/helper.js +160 -175
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +47 -77
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/betweenOperandSurface.js +29 -59
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/binaryOperandSurface.js +27 -57
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +63 -106
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/functionOperandSurface.js +47 -82
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/groupOperandSurface.js +42 -68
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/inOperandSurface.js +34 -64
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/operandParameterSurface.js +33 -63
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +7 -7
- package/widgets/filtereditor/operators/operandPropertySurface.js +67 -99
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +7 -7
- package/widgets/filtereditor/operators/operandSurfaceBase.js +49 -75
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/operandValueSurface.js +110 -151
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +7 -7
- package/widgets/filtereditor/operators/unaryOperandSurface.js +42 -72
- package/widgets/formatstring/_patterns.d.ts +7 -7
- package/widgets/formatstring/_patterns.js +8 -11
- package/widgets/formatstring/binding.d.ts +7 -7
- package/widgets/formatstring/binding.js +17 -19
- package/widgets/formatstring/formatstringeditor.d.ts +8 -9
- package/widgets/formatstring/formatstringeditor.js +129 -163
- package/widgets/internal/_popupComponentBase.d.ts +7 -7
- package/widgets/internal/_popupComponentBase.js +24 -46
- package/widgets/internal/_popupwithautoheight.d.ts +9 -11
- package/widgets/internal/_popupwithautoheight.js +14 -41
- package/widgets/internal/_resizeHelper.d.ts +9 -7
- package/widgets/internal/_resizeHelper.js +41 -38
- package/widgets/internal/_valueEditorHelper.d.ts +7 -7
- package/widgets/internal/_valueEditorHelper.js +103 -114
- package/widgets/treelist/_binding.d.ts +7 -7
- package/widgets/treelist/_binding.js +32 -34
- package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +7 -7
- package/widgets/treelist/_reorderTreeListDragDropHelper.js +54 -78
- package/widgets/treelist/_treeListSearchViewModel.d.ts +7 -7
- package/widgets/treelist/_treeListSearchViewModel.js +62 -89
- package/widgets/treelist/_treelistController.d.ts +7 -7
- package/widgets/treelist/_treelistController.js +22 -27
- package/widgets/treelist/_treelistItem.d.ts +20 -10
- package/widgets/treelist/_treelistItem.js +285 -376
- package/widgets/treelist/options.d.ts +7 -7
- package/widgets/treelist/options.js +9 -12
- package/widgets/utils.d.ts +7 -7
- package/widgets/utils.js +8 -9
- package/utils/analytics-core-namespaces.js +0 -1
- package/utils/theme-builder.js +0 -48
- package/widgets/internal/_dxtInherit.d.ts +0 -22
- package/widgets/internal/_dxtInherit.js +0 -92
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DevExpress Analytics (dist\js\dx-analytics-core.d.ts)
|
|
3
|
-
* Version: 22.
|
|
4
|
-
* Build date:
|
|
5
|
-
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
-
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
-
*/
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (dist\js\dx-analytics-core.d.ts)
|
|
3
|
+
* Version: 22.2.2-beta
|
|
4
|
+
* Build date: Nov 15, 2022
|
|
5
|
+
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
8
|
|
|
9
9
|
declare module DevExpress.Analytics.Utils {
|
|
10
10
|
import IPathRequest = DevExpress.Analytics.Utils.IPathRequest;
|
|
@@ -218,7 +218,7 @@ declare module DevExpress.Analytics.Utils {
|
|
|
218
218
|
messages: any;
|
|
219
219
|
}): void;
|
|
220
220
|
export function getLocalization(text: string, id?: string, _removeWinSymblols?: boolean): any;
|
|
221
|
-
export function _stringEndsWith(
|
|
221
|
+
export function _stringEndsWith(value: string, searchString: string): boolean;
|
|
222
222
|
export function updateLocalization(object: {
|
|
223
223
|
[key: string]: string;
|
|
224
224
|
}): void;
|
|
@@ -403,6 +403,9 @@ declare module DevExpress.Analytics.Utils {
|
|
|
403
403
|
export function intToColor(color: number, hasAlpha?: boolean): string;
|
|
404
404
|
export function colorToString(val: string): string;
|
|
405
405
|
|
|
406
|
+
export function registerBaseBinding(bindingName: string, optionsName?: string): void;
|
|
407
|
+
export function addToBindingsCache(bindingText: string, value: ($context: any, $element: any) => any): void;
|
|
408
|
+
|
|
406
409
|
/// <reference types="jquery" />
|
|
407
410
|
export interface IDisplayExpressionConverter {
|
|
408
411
|
toDisplayExpression(path: string, expression: string): JQueryPromise<string>;
|
|
@@ -441,10 +444,10 @@ declare module DevExpress.Analytics.Internal {
|
|
|
441
444
|
import ISelectionTarget = DevExpress.Analytics.Internal.ISelectionTarget;
|
|
442
445
|
import SnapLinesHelper = DevExpress.Analytics.Internal.SnapLinesHelper;
|
|
443
446
|
import IDisposable = DevExpress.Analytics.Utils.IDisposable;
|
|
444
|
-
import ISerializationInfo = DevExpress.Analytics.Utils.ISerializationInfo;
|
|
445
|
-
import PaddingModel = DevExpress.Analytics.Elements.PaddingModel;
|
|
446
447
|
import IElementMetadata = DevExpress.Analytics.Elements.IElementMetadata;
|
|
447
448
|
import ToolboxItem = DevExpress.Analytics.Utils.ToolboxItem;
|
|
449
|
+
import ISerializationInfo = DevExpress.Analytics.Utils.ISerializationInfo;
|
|
450
|
+
import PaddingModel = DevExpress.Analytics.Elements.PaddingModel;
|
|
448
451
|
import IHoverInfo = DevExpress.Analytics.Internal.IHoverInfo;
|
|
449
452
|
import ElementViewModel = DevExpress.Analytics.Elements.ElementViewModel;
|
|
450
453
|
import Disposable = DevExpress.Analytics.Utils.Disposable;
|
|
@@ -465,9 +468,9 @@ declare module DevExpress.Analytics.Internal {
|
|
|
465
468
|
import IEditorInfo = DevExpress.Analytics.Utils.IEditorInfo;
|
|
466
469
|
import ITreeListController = DevExpress.Analytics.Widgets.Internal.ITreeListController;
|
|
467
470
|
import IPathRequest = DevExpress.Analytics.Utils.IPathRequest;
|
|
468
|
-
import ArrayStore =
|
|
469
|
-
import CustomStore =
|
|
470
|
-
import DataSource =
|
|
471
|
+
import ArrayStore = DevExpress.data.ArrayStore;
|
|
472
|
+
import CustomStore = DevExpress.data.CustomStore;
|
|
473
|
+
import DataSource = DevExpress.data.DataSource;
|
|
471
474
|
import IPoint = DevExpress.Analytics.Elements.IPoint;
|
|
472
475
|
import ModelSerializer = DevExpress.Analytics.Utils.ModelSerializer;
|
|
473
476
|
import IShortcutActionList = DevExpress.Analytics.Internal.IShortcutActionList;
|
|
@@ -496,7 +499,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
496
499
|
import IGroupedItem = DevExpress.Analytics.Internal.IGroupedItem;
|
|
497
500
|
import ICombinedProperty = DevExpress.Analytics.Internal.ICombinedProperty;
|
|
498
501
|
import IDesignerModel = DevExpress.Analytics.Internal.IDesignerModel;
|
|
499
|
-
import
|
|
502
|
+
import dxButton = DevExpress.ui.dxButton;
|
|
500
503
|
import KeyboardHelperWithArrowButtonBase = DevExpress.Analytics.Internal.KeyboardHelperWithArrowButtonBase;
|
|
501
504
|
import IDisplayExpressionConverter = DevExpress.Analytics.Utils.IDisplayExpressionConverter;
|
|
502
505
|
import IDisplayNameProvider = DevExpress.Analytics.Utils.IDisplayNameProvider;
|
|
@@ -520,6 +523,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
520
523
|
export function isPlainObject(obj: any): boolean;
|
|
521
524
|
export function isEmptyObject(obj: any): boolean;
|
|
522
525
|
export function extend(target: any, object1?: any, ...objectN: any[]): any;
|
|
526
|
+
export function assignObj(obj: object, objectProps?: object): object;
|
|
523
527
|
|
|
524
528
|
/// <reference types="jquery" />
|
|
525
529
|
export function loadMessages(_messages: {
|
|
@@ -571,10 +575,10 @@ declare module DevExpress.Analytics.Internal {
|
|
|
571
575
|
export function setUploadFile(newFunc: any): void;
|
|
572
576
|
export function compareEditorInfo(editor1: any, editor2: any): boolean;
|
|
573
577
|
export function findMatchesInString(stringWhereSearch: string, searchPattern: string, options?: ISearchOptions): RegExpMatchArray;
|
|
574
|
-
export function escapeToRegExp(
|
|
575
|
-
export function stringRemove(
|
|
576
|
-
export function stringReplace(
|
|
577
|
-
export function stringInsert(
|
|
578
|
+
export function escapeToRegExp(value: String): string;
|
|
579
|
+
export function stringRemove(value: string, start: number, count?: number): string;
|
|
580
|
+
export function stringReplace(value: string, start: number, count?: number, newChar?: string): string;
|
|
581
|
+
export function stringInsert(value: string, pos: number, subStr: string): string;
|
|
578
582
|
export function formatUnicorn(text: string, ...args: any[]): string;
|
|
579
583
|
export interface IModelAction {
|
|
580
584
|
id?: string;
|
|
@@ -649,7 +653,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
649
653
|
export function getControlFullName(value: any): string;
|
|
650
654
|
export function getImageClassName(controlType: string, isTemplate?: boolean): string;
|
|
651
655
|
export function getUniqueNameForNamedObjectsArray(objects: any[], prefix: string, names?: string[]): string;
|
|
652
|
-
export function getUniqueName(names: string[], prefix: string): string;
|
|
656
|
+
export function getUniqueName(names: string[], prefix: string, inculdeFirst?: boolean): string;
|
|
653
657
|
|
|
654
658
|
export function _defineProperty(legacyObject: any, realObject: any, propertyName: any, newPropertyName?: any): void;
|
|
655
659
|
export function _definePropertyByString(rootObject: any, ...objectPathes: string[]): void;
|
|
@@ -660,9 +664,9 @@ declare module DevExpress.Analytics.Internal {
|
|
|
660
664
|
export var calculateWithZoomFactor: (value: number) => number;
|
|
661
665
|
|
|
662
666
|
/// <reference types="jquery" />
|
|
663
|
-
/// <reference types="jqueryui" />
|
|
664
667
|
|
|
665
668
|
export function integerValueConverter(val: any, defaultValue: any, type?: any): any;
|
|
669
|
+
export function enumValueConverter(val: any, defaultValue: any, valuesList: any): any;
|
|
666
670
|
export interface IValidateExpressionOptions {
|
|
667
671
|
fieldListProvider: IItemsProvider;
|
|
668
672
|
expression: string;
|
|
@@ -675,7 +679,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
675
679
|
export function _setIsDarkTheme(callback: any): void;
|
|
676
680
|
export function setCursorInFunctionParameter(paramCount: any, editor: any, insertValue: any): void;
|
|
677
681
|
export function isList(data: IDataMemberInfo): boolean;
|
|
678
|
-
export function getParentContainer(el: HTMLElement, container?: string):
|
|
682
|
+
export function getParentContainer(el: HTMLElement, container?: string): any;
|
|
679
683
|
export function isNullOrEmptyString(str: string): boolean;
|
|
680
684
|
|
|
681
685
|
/// <reference types="jquery" />
|
|
@@ -684,6 +688,11 @@ declare module DevExpress.Analytics.Internal {
|
|
|
684
688
|
sendRequest(settings: JQueryAjaxSettings): JQueryXHR;
|
|
685
689
|
}
|
|
686
690
|
|
|
691
|
+
export var dxversions: {
|
|
692
|
+
analytics: string;
|
|
693
|
+
devextreme: any;
|
|
694
|
+
};
|
|
695
|
+
|
|
687
696
|
export interface ISnapLine {
|
|
688
697
|
position: number;
|
|
689
698
|
limitInf: number;
|
|
@@ -831,14 +840,18 @@ declare module DevExpress.Analytics.Internal {
|
|
|
831
840
|
};
|
|
832
841
|
export function processErrorEvent(func: any): IDisposable;
|
|
833
842
|
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
export function getToolboxItems(controlsMap: {
|
|
846
|
+
[key: string]: IElementMetadata;
|
|
847
|
+
}, defaultGroup?: string): ToolboxItem[];
|
|
848
|
+
export function blur(element: Element): void;
|
|
849
|
+
export const convertToCssPixelUnits: (value: number) => string;
|
|
850
|
+
export const convertFromCssPixelUnits: (value: string) => number;
|
|
851
|
+
|
|
834
852
|
export function objectsVisitor(target: any, visitor: (target: any) => any, visited?: any[], skip?: Array<string>): void;
|
|
835
853
|
export function collectionsVisitor(target: any, visitor: (target: any, owner?: any) => any, collectionsToProcess?: string[], visited?: any[]): void;
|
|
836
854
|
|
|
837
|
-
export var dxversions: {
|
|
838
|
-
analytics: string;
|
|
839
|
-
devextreme: any;
|
|
840
|
-
};
|
|
841
|
-
|
|
842
855
|
/// <reference types="jquery" />
|
|
843
856
|
/// <reference types="jqueryui" />
|
|
844
857
|
|
|
@@ -880,12 +893,17 @@ declare module DevExpress.Analytics.Internal {
|
|
|
880
893
|
export function _ajaxWithOptions(options: IAjaxSettings): JQuery.Promise<any, any, any>;
|
|
881
894
|
export var ajax: (...params: (IAjaxSettings | any)[]) => any;
|
|
882
895
|
export function setAjax(newFunc: any): void;
|
|
883
|
-
export interface
|
|
896
|
+
export interface _ICommonCallbacksHandler {
|
|
884
897
|
customizeActions?: (actions: IAction[]) => void;
|
|
885
898
|
customizeLocalization?: (callbacks?: JQueryPromise<any>[]) => void;
|
|
886
899
|
onServerError?: (e: any) => void;
|
|
887
900
|
beforeRender?: (designerModel: any) => void;
|
|
888
901
|
}
|
|
902
|
+
export interface ICommonCallbacksHandler<T> extends _ICommonCallbacksHandler {
|
|
903
|
+
CustomizeMenuActions?: (sender: T, args: {
|
|
904
|
+
Actions: IAction[];
|
|
905
|
+
}) => void;
|
|
906
|
+
}
|
|
889
907
|
export interface ICommonBindingCustomizationHandler<T> {
|
|
890
908
|
_eventSenderCreated?: (sender: T) => void;
|
|
891
909
|
}
|
|
@@ -911,7 +929,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
911
929
|
export function createActionWrappingFunction(wrapperName: string, func: (model: any, originalHandler: (model?: any) => any) => any): (actions: IAction[]) => void;
|
|
912
930
|
export function localizeNoneString(noneValue: any): any;
|
|
913
931
|
export function parseZoom(val: string): number;
|
|
914
|
-
export function getResizableOptions($element: Element, panelOffset: number, minWidth: number, position: string, startPosition: string, width?: ko.MaybeSubscribable<number>, disabled?: ko.MaybeSubscribable<boolean>): JQueryUI.ResizableOptions | any;
|
|
932
|
+
export function getResizableOptions($element: Element, panelOffset: number, minWidth: ko.Observable<number> | number, position: string, startPosition: string, width?: ko.MaybeSubscribable<number>, disabled?: ko.MaybeSubscribable<boolean>): JQueryUI.ResizableOptions | any;
|
|
915
933
|
export function createPasswordSerializationInfo(info: ISerializationInfo, isNew?: boolean): ISerializationInfo;
|
|
916
934
|
|
|
917
935
|
export function roundingXDecimals(value: number, useFloor?: boolean, x?: number): number;
|
|
@@ -1001,13 +1019,6 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1001
1019
|
export var sizeFake: ISerializationInfoArray;
|
|
1002
1020
|
export var locationFake: ISerializationInfoArray;
|
|
1003
1021
|
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
export function getToolboxItems(controlsMap: {
|
|
1007
|
-
[key: string]: IElementMetadata;
|
|
1008
|
-
}, defaultGroup?: string): ToolboxItem[];
|
|
1009
|
-
export function blur(element: Element): void;
|
|
1010
|
-
|
|
1011
1022
|
export function propertiesVisitor(target: any, visitor: (properties: any[]) => any, visited?: any[], skip?: Array<string>): void;
|
|
1012
1023
|
export function checkModelReady(model: any): boolean;
|
|
1013
1024
|
export function guid(): string;
|
|
@@ -1266,11 +1277,88 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1266
1277
|
}
|
|
1267
1278
|
|
|
1268
1279
|
|
|
1280
|
+
|
|
1281
|
+
interface IResizable {
|
|
1282
|
+
handles?: string;
|
|
1283
|
+
filter?: string;
|
|
1284
|
+
distance?: number;
|
|
1285
|
+
minimumHeight?: number;
|
|
1286
|
+
minimumWidth?: number;
|
|
1287
|
+
selecting?: (event: MouseEvent, element: Element) => void;
|
|
1288
|
+
start: (event: MouseEvent, ui?: any) => void;
|
|
1289
|
+
stop: () => void;
|
|
1290
|
+
resize: (event: MouseEvent, element: Element, boundsDiff: IArea) => void;
|
|
1291
|
+
}
|
|
1292
|
+
export class Resizable extends Disposable {
|
|
1293
|
+
private _element;
|
|
1294
|
+
private _options;
|
|
1295
|
+
static inProcess: boolean;
|
|
1296
|
+
readonly handleClass: string;
|
|
1297
|
+
readonly handleClassSelector: string;
|
|
1298
|
+
readonly resizableElementClass = "ui-resizable";
|
|
1299
|
+
readonly _defaultMinSize = 1;
|
|
1300
|
+
private _bodyEvents;
|
|
1301
|
+
private _startResizeMousePosition;
|
|
1302
|
+
private _resizeDirection;
|
|
1303
|
+
private _resizeHandles;
|
|
1304
|
+
private _initResize;
|
|
1305
|
+
private _mouseMove;
|
|
1306
|
+
private _mouseUp;
|
|
1307
|
+
private _mouseDown;
|
|
1308
|
+
private _initResizeHandle;
|
|
1309
|
+
private _addClassToElement;
|
|
1310
|
+
private _removeClassFromElement;
|
|
1311
|
+
private _getBoundsDiff;
|
|
1312
|
+
constructor(_element: HTMLElement, _options: IResizable);
|
|
1313
|
+
initialize(): Resizable;
|
|
1314
|
+
}
|
|
1315
|
+
export function getResizeDirection(currentClassList: DOMTokenList): string;
|
|
1269
1316
|
export {};
|
|
1270
1317
|
|
|
1271
|
-
|
|
1272
|
-
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
interface ISelectableOptions {
|
|
1321
|
+
filter: string;
|
|
1322
|
+
distance: number;
|
|
1323
|
+
selecting: (event: MouseEvent, element: Element) => void;
|
|
1324
|
+
start: (event: MouseEvent) => void;
|
|
1325
|
+
stop: () => void;
|
|
1326
|
+
unselecting: (event: MouseEvent, element: Element) => void;
|
|
1327
|
+
disabled: boolean;
|
|
1328
|
+
zoom: number;
|
|
1329
|
+
}
|
|
1330
|
+
export class SelectableElement extends Disposable {
|
|
1331
|
+
private _element;
|
|
1332
|
+
private _options;
|
|
1333
|
+
updateSelection(currentRect: IArea, event: MouseEvent): void;
|
|
1334
|
+
constructor(_element: Element, _options: ISelectableOptions);
|
|
1335
|
+
bounds: IArea;
|
|
1336
|
+
isSelected: boolean;
|
|
1337
|
+
}
|
|
1338
|
+
export class Selectable extends Disposable {
|
|
1339
|
+
private _element;
|
|
1340
|
+
private _options;
|
|
1341
|
+
static inProcess: boolean;
|
|
1342
|
+
static disabled: boolean;
|
|
1343
|
+
private _elements;
|
|
1344
|
+
private _$window;
|
|
1345
|
+
private _$selectionContent;
|
|
1346
|
+
private _bodyEvents;
|
|
1347
|
+
private _collectElements;
|
|
1348
|
+
private _startRect;
|
|
1349
|
+
readonly _minResizeDistance = 2;
|
|
1350
|
+
private _updateSelectionContent;
|
|
1351
|
+
private _initStartRect;
|
|
1352
|
+
private _mouseMove;
|
|
1353
|
+
private shouldStartResize;
|
|
1354
|
+
private _mouseUp;
|
|
1355
|
+
private _mouseDown;
|
|
1356
|
+
constructor(_element: Element, _options: ISelectableOptions);
|
|
1273
1357
|
}
|
|
1358
|
+
export {};
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
export {};
|
|
1274
1362
|
|
|
1275
1363
|
export interface IJSDesignerBindingCommonOptions {
|
|
1276
1364
|
callbacks?: {};
|
|
@@ -1280,6 +1368,10 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1280
1368
|
};
|
|
1281
1369
|
}
|
|
1282
1370
|
|
|
1371
|
+
export class RequestHelper {
|
|
1372
|
+
static generateUri(host: string, uri: string): string;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1283
1375
|
/// <reference types="jquery" />
|
|
1284
1376
|
|
|
1285
1377
|
|
|
@@ -1289,15 +1381,26 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1289
1381
|
sender: TSender;
|
|
1290
1382
|
dispose(): void;
|
|
1291
1383
|
protected _fireEvent(eventName: any, args?: any): void;
|
|
1292
|
-
|
|
1293
|
-
protected
|
|
1384
|
+
private _warnForIncorrectCallbackName;
|
|
1385
|
+
protected _checkCallbackName(availableEvents: any[]): void;
|
|
1386
|
+
protected _getServerActionUrl(host: string, uri: string): string;
|
|
1387
|
+
protected _generateCallbackDictionary(eventsArray: any, prefix?: string): any;
|
|
1294
1388
|
protected _templateHtml: string;
|
|
1295
1389
|
protected _getLocalizationRequest(): JQuery.Promise<{
|
|
1296
1390
|
messages: any;
|
|
1297
1391
|
}, any, any>;
|
|
1298
1392
|
protected _createDisposeFunction(element: HTMLElement): void;
|
|
1393
|
+
static convertCallbackArrayToDictionary(callbackArray: any[]): {};
|
|
1299
1394
|
constructor(_options: TOptions, _customEventRaiser?: any);
|
|
1300
1395
|
}
|
|
1396
|
+
export class DxAnalyticsComponentCommon<TOptions> {
|
|
1397
|
+
private _element;
|
|
1398
|
+
private _options;
|
|
1399
|
+
constructor(_element: HTMLElement, _options: TOptions);
|
|
1400
|
+
getBindingName(): string;
|
|
1401
|
+
render(): void;
|
|
1402
|
+
dispose(): void;
|
|
1403
|
+
}
|
|
1301
1404
|
|
|
1302
1405
|
/// <reference types="jquery" />
|
|
1303
1406
|
|
|
@@ -1332,7 +1435,6 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1332
1435
|
}
|
|
1333
1436
|
|
|
1334
1437
|
/// <reference types="jquery" />
|
|
1335
|
-
/// <reference types="jqueryui" />
|
|
1336
1438
|
|
|
1337
1439
|
|
|
1338
1440
|
export interface IWizardDragDropHandlerOptions {
|
|
@@ -1350,7 +1452,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1350
1452
|
protected _addHandler: any;
|
|
1351
1453
|
protected _target: any;
|
|
1352
1454
|
constructor(options: IWizardDragDropHandlerOptions);
|
|
1353
|
-
helper(draggable: any, event: any):
|
|
1455
|
+
helper(draggable: any, event: any): any;
|
|
1354
1456
|
doStopDrag(ui: any, draggable: any): void;
|
|
1355
1457
|
drag(event: JQueryEventObject, ui: any): void;
|
|
1356
1458
|
}
|
|
@@ -1950,6 +2052,7 @@ declare module DevExpress.Analytics.Internal {
|
|
|
1950
2052
|
private _filter;
|
|
1951
2053
|
dataSource: ko.Computed<DataSource>;
|
|
1952
2054
|
constructor(allControls: ko.ObservableArray<any>);
|
|
2055
|
+
getFilter(): any;
|
|
1953
2056
|
setFilter(filter: any): void;
|
|
1954
2057
|
resetFilter(): void;
|
|
1955
2058
|
visible: ko.Computed<boolean>;
|
|
@@ -2418,26 +2521,9 @@ declare module DevExpress.Analytics.Internal {
|
|
|
2418
2521
|
}
|
|
2419
2522
|
|
|
2420
2523
|
|
|
2421
|
-
export
|
|
2422
|
-
|
|
2423
|
-
$element: any;
|
|
2424
|
-
[name: string]: any;
|
|
2425
|
-
_isInitialized: boolean;
|
|
2426
|
-
_disposableObj: Disposable;
|
|
2427
|
-
_options: any;
|
|
2428
|
-
ctor($element: any, _options: any): void;
|
|
2429
|
-
updateOptions(_options: any): void;
|
|
2430
|
-
constructor($element: any, _accessor: () => any);
|
|
2431
|
-
getComponentName(): any;
|
|
2432
|
-
bind(): any;
|
|
2433
|
-
}
|
|
2434
|
-
export function _registerDxtComponent(bindingName: string, type: any): void;
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
export class dxButtonWithTemplate extends _dxtInherit {
|
|
2438
|
-
updateOptions(options: any): void;
|
|
2524
|
+
export class dxButtonWithTemplate extends dxButton {
|
|
2525
|
+
constructor(element: any, options?: any);
|
|
2439
2526
|
_patchOptionValues(options: any): any;
|
|
2440
|
-
getComponentName(): string;
|
|
2441
2527
|
}
|
|
2442
2528
|
|
|
2443
2529
|
export var StringId: {
|
|
@@ -3137,7 +3223,7 @@ declare module DevExpress.Analytics.Widgets {
|
|
|
3137
3223
|
};
|
|
3138
3224
|
editorContainer: ko.Observable<any>;
|
|
3139
3225
|
textVisible: ko.Observable<boolean>;
|
|
3140
|
-
getPopupContainer: (el: any) =>
|
|
3226
|
+
getPopupContainer: (el: any) => any;
|
|
3141
3227
|
timeout: any;
|
|
3142
3228
|
animationTimeout: any;
|
|
3143
3229
|
advancedMode: ko.Computed<boolean>;
|
|
@@ -3178,7 +3264,6 @@ declare module DevExpress.Analytics.Widgets {
|
|
|
3178
3264
|
}
|
|
3179
3265
|
|
|
3180
3266
|
/// <reference types="jquery" />
|
|
3181
|
-
/// <reference types="jqueryui" />
|
|
3182
3267
|
|
|
3183
3268
|
|
|
3184
3269
|
|
|
@@ -3226,7 +3311,7 @@ declare module DevExpress.Analytics.Widgets {
|
|
|
3226
3311
|
get customPatterns(): string[];
|
|
3227
3312
|
get isGeneralType(): boolean;
|
|
3228
3313
|
getDisplayText(key: any): any;
|
|
3229
|
-
getPopupContainer(el: any):
|
|
3314
|
+
getPopupContainer(el: any): any;
|
|
3230
3315
|
currentType: ko.Observable<string>;
|
|
3231
3316
|
setType: (e: {
|
|
3232
3317
|
itemData: IPatternItem;
|
|
@@ -4028,11 +4113,11 @@ declare module DevExpress.Analytics.Criteria {
|
|
|
4028
4113
|
accept(visitor: ICriteriaOperatorVisitor): any;
|
|
4029
4114
|
}
|
|
4030
4115
|
|
|
4031
|
-
|
|
4032
|
-
export function parse(criteria: string): any;
|
|
4033
|
-
export var criteriaparser: {
|
|
4034
|
-
|
|
4035
|
-
};
|
|
4116
|
+
|
|
4117
|
+
export function parse(criteria: string): any;
|
|
4118
|
+
export var criteriaparser: {
|
|
4119
|
+
parse: (criteria: string) => any
|
|
4120
|
+
};
|
|
4036
4121
|
|
|
4037
4122
|
}
|
|
4038
4123
|
declare module DevExpress.Analytics.Criteria.Utils {
|
|
@@ -4193,15 +4278,18 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4193
4278
|
import IAction = DevExpress.Analytics.Utils.IAction;
|
|
4194
4279
|
import TreeListItemViewModel = DevExpress.Analytics.Widgets.Internal.TreeListItemViewModel;
|
|
4195
4280
|
import TreeListSearchOptions = DevExpress.Analytics.Widgets.Internal.TreeListSearchOptions;
|
|
4196
|
-
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
4197
|
-
import ISearchOptions = DevExpress.Analytics.Internal.ISearchOptions;
|
|
4198
4281
|
import CodeResolver = DevExpress.Analytics.Internal.CodeResolver;
|
|
4199
|
-
import
|
|
4282
|
+
import ISearchOptions = DevExpress.Analytics.Internal.ISearchOptions;
|
|
4283
|
+
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
4284
|
+
import dxDropDownBox = DevExpress.ui.dxDropDownBox;
|
|
4200
4285
|
import Editor = DevExpress.Analytics.Widgets.Editor;
|
|
4201
4286
|
import IUndoEngine = DevExpress.Analytics.Internal.IUndoEngine;
|
|
4202
4287
|
import ILocalizationInfo = DevExpress.Analytics.Internal.ILocalizationInfo;
|
|
4203
4288
|
import ISerializationInfo = DevExpress.Analytics.Utils.ISerializationInfo;
|
|
4204
4289
|
import ListKeyboardHelper = DevExpress.Analytics.Internal.ListKeyboardHelper;
|
|
4290
|
+
import dxTextBox = DevExpress.ui.dxTextBox;
|
|
4291
|
+
import dxTextBoxOptions = DevExpress.ui.dxTextBox.dxTextBoxOptions;
|
|
4292
|
+
import TextBoxInstance = DevExpress.ui.dxTextBox.TextBoxInstance;
|
|
4205
4293
|
import dxEllipsisEditor = DevExpress.Analytics.Widgets.Internal.dxEllipsisEditor;
|
|
4206
4294
|
import IFileUploadResult = DevExpress.Analytics.Internal.IFileUploadResult;
|
|
4207
4295
|
import IExpressionEditorItem = DevExpress.Analytics.Widgets.Internal.IExpressionEditorItem;
|
|
@@ -4230,6 +4318,7 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4230
4318
|
import CriteriaOperatorSurface = DevExpress.Analytics.Widgets.Filtering.CriteriaOperatorSurface;
|
|
4231
4319
|
import CodeCompletor = DevExpress.Analytics.Widgets.Internal.CodeCompletor;
|
|
4232
4320
|
import ICodeCompletorOptions = DevExpress.Analytics.Widgets.Internal.ICodeCompletorOptions;
|
|
4321
|
+
import dxPopup = DevExpress.ui.dxPopup;
|
|
4233
4322
|
import DragHelperContent = DevExpress.Analytics.Internal.DragHelperContent;
|
|
4234
4323
|
export var propertiesGridEditorsPaddingLeft: (newVal?: number) => number;
|
|
4235
4324
|
export var defaultFontSerialization: (newVal?: string) => string;
|
|
@@ -4513,9 +4602,19 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4513
4602
|
dispose(): void;
|
|
4514
4603
|
get visible(): boolean;
|
|
4515
4604
|
setVisible(value: boolean): void;
|
|
4605
|
+
getCssRules(): {
|
|
4606
|
+
'dx-treelist-item-selected dxd-state-selected': boolean;
|
|
4607
|
+
};
|
|
4516
4608
|
mouseenter(): void;
|
|
4517
4609
|
mouseleave(): void;
|
|
4518
4610
|
selectedItems(): TreeListItemViewModel[];
|
|
4611
|
+
templates: {
|
|
4612
|
+
accordionItem: string;
|
|
4613
|
+
headerItem: string;
|
|
4614
|
+
headerItemContent: string;
|
|
4615
|
+
itemTextContent: string;
|
|
4616
|
+
actionsContainer: string;
|
|
4617
|
+
};
|
|
4519
4618
|
}
|
|
4520
4619
|
export class TreeListRootItemViewModel extends TreeListItemViewModel {
|
|
4521
4620
|
private _options;
|
|
@@ -4551,7 +4650,7 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4551
4650
|
/// <reference types="jquery" />
|
|
4552
4651
|
/// <reference types="jqueryui" />
|
|
4553
4652
|
|
|
4554
|
-
export class dxFieldListPicker extends
|
|
4653
|
+
export class dxFieldListPicker extends dxDropDownBox {
|
|
4555
4654
|
_path: ko.Observable<string>;
|
|
4556
4655
|
_value: ko.Observable<string>;
|
|
4557
4656
|
_parentViewport: JQuery<Element>;
|
|
@@ -4559,7 +4658,7 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4559
4658
|
_hasDisplayNameOption: boolean;
|
|
4560
4659
|
_defaultPosition: any;
|
|
4561
4660
|
updateOptions(options: any): void;
|
|
4562
|
-
|
|
4661
|
+
constructor($element: any, options: any);
|
|
4563
4662
|
_showDropDown(): void;
|
|
4564
4663
|
_getMaxHeight(): number;
|
|
4565
4664
|
_closeOutsideDropDownHandler(e: any, ignoreContainerClicks: any): void;
|
|
@@ -4573,7 +4672,6 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4573
4672
|
}): void;
|
|
4574
4673
|
_clearValueHandler(): void;
|
|
4575
4674
|
_renderPopupContent(): void;
|
|
4576
|
-
getComponentName(): string;
|
|
4577
4675
|
}
|
|
4578
4676
|
|
|
4579
4677
|
|
|
@@ -4625,19 +4723,16 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4625
4723
|
|
|
4626
4724
|
export {};
|
|
4627
4725
|
|
|
4726
|
+
export function registerBaseBinding(bindingName: string, optionsName?: string): void;
|
|
4727
|
+
export function addToBindingsCache(key: string, value: ($context: any, $element: any) => any): void;
|
|
4728
|
+
|
|
4628
4729
|
|
|
4629
|
-
export var availableUnits: {
|
|
4630
|
-
value: string;
|
|
4631
|
-
displayValue: string;
|
|
4632
|
-
localizationId: string;
|
|
4633
|
-
}[];
|
|
4634
4730
|
export class FontModel extends Disposable {
|
|
4635
4731
|
private _toString;
|
|
4636
4732
|
updateModel(value: string): void;
|
|
4637
4733
|
updateValue(value: any): void;
|
|
4638
4734
|
constructor(value: ko.Observable<string> | ko.Computed<string>);
|
|
4639
4735
|
family: ko.Observable<any>;
|
|
4640
|
-
unit: ko.Observable<any>;
|
|
4641
4736
|
isUpdateModel: boolean;
|
|
4642
4737
|
size: ko.Observable<any>;
|
|
4643
4738
|
modificators: {
|
|
@@ -4719,16 +4814,20 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4719
4814
|
/// <reference types="jquery" />
|
|
4720
4815
|
/// <reference types="jqueryui" />
|
|
4721
4816
|
|
|
4722
|
-
|
|
4817
|
+
interface CustomDxTextBoxOptions<T> extends dxTextBoxOptions<T> {
|
|
4818
|
+
value?: any;
|
|
4819
|
+
} type CustomTextBoxType = CustomDxTextBoxOptions<TextBoxInstance>;
|
|
4820
|
+
export class dxEllipsisEditor extends dxTextBox<CustomTextBoxType> {
|
|
4723
4821
|
_$button: JQuery<HTMLElement>;
|
|
4724
4822
|
_$buttonIcon: JQuery<HTMLElement>;
|
|
4725
4823
|
_$element: JQuery<HTMLElement>;
|
|
4726
4824
|
_modelByElement: any;
|
|
4727
4825
|
_koContext: any;
|
|
4728
4826
|
_$input: JQuery<HTMLElement>;
|
|
4827
|
+
constructor(element: any, options?: any);
|
|
4729
4828
|
_init(): void;
|
|
4730
4829
|
_render(): void;
|
|
4731
|
-
_updateWarningState(value?:
|
|
4830
|
+
_updateWarningState(value?: unknown): void;
|
|
4732
4831
|
_renderButton(): void;
|
|
4733
4832
|
_updateButtonSize(): void;
|
|
4734
4833
|
_attachButtonEvents(): void;
|
|
@@ -4738,13 +4837,13 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4738
4837
|
value: any;
|
|
4739
4838
|
}): void;
|
|
4740
4839
|
buttonAction(e: any): void;
|
|
4741
|
-
getComponentName(): string;
|
|
4742
4840
|
}
|
|
4841
|
+
export {};
|
|
4743
4842
|
|
|
4744
4843
|
|
|
4745
4844
|
|
|
4746
4845
|
export class dxFileImagePicker extends dxEllipsisEditor {
|
|
4747
|
-
|
|
4846
|
+
constructor(element: any, options?: any);
|
|
4748
4847
|
_getDisplayValue(): any;
|
|
4749
4848
|
_handleResult(result: IFileUploadResult): void;
|
|
4750
4849
|
_renderInput(inputContainer: any): void;
|
|
@@ -4968,6 +5067,7 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4968
5067
|
export class ResizeHelper {
|
|
4969
5068
|
resultSize?: ko.Observable<number>;
|
|
4970
5069
|
disabled: ko.Observable<boolean>;
|
|
5070
|
+
private _resize;
|
|
4971
5071
|
constructor(resultSize?: ko.Observable<number>, disabled?: ko.Observable<boolean>);
|
|
4972
5072
|
resizable(resizeHandler: object, handles: string): any;
|
|
4973
5073
|
stopResize: () => void;
|
|
@@ -4979,6 +5079,7 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
4979
5079
|
dw: number;
|
|
4980
5080
|
dh: number;
|
|
4981
5081
|
};
|
|
5082
|
+
element: HTMLDivElement;
|
|
4982
5083
|
}) => void;
|
|
4983
5084
|
}
|
|
4984
5085
|
|
|
@@ -5119,9 +5220,8 @@ declare module DevExpress.Analytics.Widgets.Internal {
|
|
|
5119
5220
|
}
|
|
5120
5221
|
|
|
5121
5222
|
|
|
5122
|
-
export class dxPopupWithAutoHeight extends
|
|
5223
|
+
export class dxPopupWithAutoHeight extends dxPopup {
|
|
5123
5224
|
_setContentHeight(): void;
|
|
5124
|
-
getComponentName(): string;
|
|
5125
5225
|
}
|
|
5126
5226
|
|
|
5127
5227
|
export {};
|
|
@@ -5194,7 +5294,6 @@ declare module DevExpress.Analytics.Widgets.Metadata {
|
|
|
5194
5294
|
|
|
5195
5295
|
export var fontName: ISerializationInfo;
|
|
5196
5296
|
export var fontSize: ISerializationInfo;
|
|
5197
|
-
export var fontSizeUnit: ISerializationInfo;
|
|
5198
5297
|
export var fontInfo: ISerializationInfoArray;
|
|
5199
5298
|
|
|
5200
5299
|
}
|
|
@@ -5220,11 +5319,6 @@ declare module DevExpress.Analytics.Data {
|
|
|
5220
5319
|
import DBSchemaProvider = DevExpress.Analytics.Data.DBSchemaProvider;
|
|
5221
5320
|
import IDBSchemaProvider = DevExpress.Analytics.Data.IDBSchemaProvider;
|
|
5222
5321
|
import IPathRequest = DevExpress.Analytics.Utils.IPathRequest;
|
|
5223
|
-
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
5224
|
-
import IDataSourceBase = DevExpress.Analytics.Data.IDataSourceBase;
|
|
5225
|
-
import IObjectDataSourceWizardState = DevExpress.Analytics.Wizard.IObjectDataSourceWizardState;
|
|
5226
|
-
import ObjectCtor = DevExpress.Analytics.Data.ObjectCtor;
|
|
5227
|
-
import ObjectDataMember = DevExpress.Analytics.Data.ObjectDataMember;
|
|
5228
5322
|
import IFederationQuery = DevExpress.QueryBuilder.Utils.IFederationQuery;
|
|
5229
5323
|
import FederatedQueryExpression = DevExpress.Analytics.Data.FederatedQueryExpression;
|
|
5230
5324
|
import SourceQuery = DevExpress.Analytics.Data.SourceQuery;
|
|
@@ -5238,9 +5332,14 @@ declare module DevExpress.Analytics.Data {
|
|
|
5238
5332
|
import FederatedQueriesContainer = DevExpress.Analytics.Data.FederatedQueriesContainer;
|
|
5239
5333
|
import IFederationDataSource = DevExpress.Analytics.Data.IFederationDataSource;
|
|
5240
5334
|
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
5335
|
+
import IDataSourceBase = DevExpress.Analytics.Data.IDataSourceBase;
|
|
5241
5336
|
import IDataSourceDBSchema = DevExpress.Analytics.Data.IDataSourceDBSchema;
|
|
5242
5337
|
import FederationMasterDetailRelation = DevExpress.Analytics.Data.FederationMasterDetailRelation;
|
|
5243
5338
|
import SerializableDataFederationDataSource = DevExpress.Analytics.Data.SerializableDataFederationDataSource;
|
|
5339
|
+
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
5340
|
+
import IObjectDataSourceWizardState = DevExpress.Analytics.Wizard.IObjectDataSourceWizardState;
|
|
5341
|
+
import ObjectCtor = DevExpress.Analytics.Data.ObjectCtor;
|
|
5342
|
+
import ObjectDataMember = DevExpress.Analytics.Data.ObjectDataMember;
|
|
5244
5343
|
import IExpressionOptions = DevExpress.Analytics.Widgets.IExpressionOptions;
|
|
5245
5344
|
import JsonSchemaRootNode = DevExpress.Analytics.Data.JsonSchemaRootNode;
|
|
5246
5345
|
import JsonSchemaNode = DevExpress.Analytics.Data.JsonSchemaNode;
|
|
@@ -5581,55 +5680,6 @@ declare module DevExpress.Analytics.Data {
|
|
|
5581
5680
|
}
|
|
5582
5681
|
|
|
5583
5682
|
|
|
5584
|
-
export class ObjectDataMemberBase implements IDataMemberInfo {
|
|
5585
|
-
name: string;
|
|
5586
|
-
displayName: string;
|
|
5587
|
-
dataMember: string;
|
|
5588
|
-
constructor(model?: ObjectDataMemberBase);
|
|
5589
|
-
}
|
|
5590
|
-
export class ObjectParameter extends ObjectDataMemberBase {
|
|
5591
|
-
type: string;
|
|
5592
|
-
value: any;
|
|
5593
|
-
resultType: string;
|
|
5594
|
-
constructor(model?: ObjectParameter);
|
|
5595
|
-
}
|
|
5596
|
-
export abstract class ObjectDataSourceMethodBase extends ObjectDataMemberBase {
|
|
5597
|
-
parameters: ObjectParameter[];
|
|
5598
|
-
constructor(model: ObjectDataSourceMethodBase);
|
|
5599
|
-
}
|
|
5600
|
-
export class ObjectDataMember extends ObjectDataSourceMethodBase {
|
|
5601
|
-
static entireObject: () => any;
|
|
5602
|
-
isStatic: boolean;
|
|
5603
|
-
memberType: string;
|
|
5604
|
-
disabled: ko.Observable<boolean>;
|
|
5605
|
-
constructor(model: ObjectDataMember);
|
|
5606
|
-
static empty(): ObjectDataMember;
|
|
5607
|
-
isEntireObject(): boolean;
|
|
5608
|
-
isAvailable(): boolean;
|
|
5609
|
-
}
|
|
5610
|
-
export class ObjectCtor extends ObjectDataSourceMethodBase {
|
|
5611
|
-
}
|
|
5612
|
-
export class ObjectType extends ObjectDataMemberBase {
|
|
5613
|
-
ctors: ObjectCtor[];
|
|
5614
|
-
members: ObjectDataMember[];
|
|
5615
|
-
constructor(model: ObjectType);
|
|
5616
|
-
updateMembers(selectedCtor: ObjectCtor): void;
|
|
5617
|
-
}
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
export class ObjectDataSource extends Disposable implements IDataSourceBase {
|
|
5624
|
-
setState(state: IObjectDataSourceWizardState): void;
|
|
5625
|
-
name: ko.Observable<string>;
|
|
5626
|
-
id: string;
|
|
5627
|
-
selectedType: string;
|
|
5628
|
-
ctor: ObjectCtor;
|
|
5629
|
-
dataMember: ObjectDataMember;
|
|
5630
|
-
}
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
5683
|
|
|
5634
5684
|
|
|
5635
5685
|
export var sourceQuerySerializationsInfo: ISerializationInfoArray;
|
|
@@ -5724,6 +5774,7 @@ declare module DevExpress.Analytics.Data {
|
|
|
5724
5774
|
dataSources: ko.ObservableArray<IDataSourceInfo> | ko.Computed<IDataSourceInfo[]>;
|
|
5725
5775
|
protected _serializer?: IModelSerializer;
|
|
5726
5776
|
constructor(model: object, dataSources: ko.ObservableArray<IDataSourceInfo> | ko.Computed<IDataSourceInfo[]>, _serializer?: IModelSerializer);
|
|
5777
|
+
protected _dataSourceName(dataSource: IDataSourceInfo): any;
|
|
5727
5778
|
getQueryNameFromPath(path: string): string;
|
|
5728
5779
|
getPathFromQueryName(sourceName: string): string;
|
|
5729
5780
|
createQuery(item: object, dataSource?: FederatedQueriesContainer): IFederationQuery;
|
|
@@ -5818,6 +5869,7 @@ declare module DevExpress.Analytics.Data {
|
|
|
5818
5869
|
updateSerializableModel(): void;
|
|
5819
5870
|
constructor(model: object, dataSources: ko.ObservableArray<IDataSourceInfo> | ko.Computed<IDataSourceInfo[]>, fielListProvider?: IItemsProvider, serializer?: IModelSerializer);
|
|
5820
5871
|
dispose(): void;
|
|
5872
|
+
get dependentDataSources(): string[];
|
|
5821
5873
|
relations: ko.ObservableArray<FederationMasterDetailRelation>;
|
|
5822
5874
|
resultSet: ResultSet;
|
|
5823
5875
|
dbSchemaProvider: IDBSchemaProvider;
|
|
@@ -5825,6 +5877,55 @@ declare module DevExpress.Analytics.Data {
|
|
|
5825
5877
|
}
|
|
5826
5878
|
|
|
5827
5879
|
|
|
5880
|
+
export class ObjectDataMemberBase implements IDataMemberInfo {
|
|
5881
|
+
name: string;
|
|
5882
|
+
displayName: string;
|
|
5883
|
+
dataMember: string;
|
|
5884
|
+
constructor(model?: ObjectDataMemberBase);
|
|
5885
|
+
}
|
|
5886
|
+
export class ObjectParameter extends ObjectDataMemberBase {
|
|
5887
|
+
type: string;
|
|
5888
|
+
value: any;
|
|
5889
|
+
resultType: string;
|
|
5890
|
+
constructor(model?: ObjectParameter);
|
|
5891
|
+
}
|
|
5892
|
+
export abstract class ObjectDataSourceMethodBase extends ObjectDataMemberBase {
|
|
5893
|
+
parameters: ObjectParameter[];
|
|
5894
|
+
constructor(model: ObjectDataSourceMethodBase);
|
|
5895
|
+
}
|
|
5896
|
+
export class ObjectDataMember extends ObjectDataSourceMethodBase {
|
|
5897
|
+
static entireObject: () => any;
|
|
5898
|
+
isStatic: boolean;
|
|
5899
|
+
memberType: string;
|
|
5900
|
+
disabled: ko.Observable<boolean>;
|
|
5901
|
+
constructor(model: ObjectDataMember);
|
|
5902
|
+
static empty(): ObjectDataMember;
|
|
5903
|
+
isEntireObject(): boolean;
|
|
5904
|
+
isAvailable(): boolean;
|
|
5905
|
+
}
|
|
5906
|
+
export class ObjectCtor extends ObjectDataSourceMethodBase {
|
|
5907
|
+
}
|
|
5908
|
+
export class ObjectType extends ObjectDataMemberBase {
|
|
5909
|
+
ctors: ObjectCtor[];
|
|
5910
|
+
members: ObjectDataMember[];
|
|
5911
|
+
constructor(model: ObjectType);
|
|
5912
|
+
updateMembers(selectedCtor: ObjectCtor): void;
|
|
5913
|
+
}
|
|
5914
|
+
|
|
5915
|
+
|
|
5916
|
+
|
|
5917
|
+
|
|
5918
|
+
|
|
5919
|
+
export class ObjectDataSource extends Disposable implements IDataSourceBase {
|
|
5920
|
+
setState(state: IObjectDataSourceWizardState): void;
|
|
5921
|
+
name: ko.Observable<string>;
|
|
5922
|
+
id: string;
|
|
5923
|
+
selectedType: string;
|
|
5924
|
+
ctor: ObjectCtor;
|
|
5925
|
+
dataMember: ObjectDataMember;
|
|
5926
|
+
}
|
|
5927
|
+
|
|
5928
|
+
|
|
5828
5929
|
export class JsonAuthenticationInfo {
|
|
5829
5930
|
static from(model: any, serializer?: IModelSerializer): JsonAuthenticationInfo;
|
|
5830
5931
|
static toJson(value: JsonAuthenticationInfo, serializer: any, refs: any): any;
|
|
@@ -6629,30 +6730,6 @@ declare module DevExpress.QueryBuilder.Widgets.Internal {
|
|
|
6629
6730
|
export var editorTemplates: EditorTemplates<QueryBuilderEditors>;
|
|
6630
6731
|
export {};
|
|
6631
6732
|
|
|
6632
|
-
export {};
|
|
6633
|
-
|
|
6634
|
-
export function createDefaultSQLAceOptions(readOnly?: boolean): {
|
|
6635
|
-
showLineNumbers: boolean;
|
|
6636
|
-
showPrintMargin: boolean;
|
|
6637
|
-
enableBasicAutocompletion: boolean;
|
|
6638
|
-
enableLiveAutocompletion: boolean;
|
|
6639
|
-
readOnly: boolean;
|
|
6640
|
-
highlightSelectedWord: boolean;
|
|
6641
|
-
showGutter: boolean;
|
|
6642
|
-
highlightActiveLine: boolean;
|
|
6643
|
-
};
|
|
6644
|
-
export function createDefaultSQLAdditionalOptions(value: any): {
|
|
6645
|
-
onChange: (session: any) => void;
|
|
6646
|
-
onValueChange: (editor: any) => void;
|
|
6647
|
-
changeTimeout: number;
|
|
6648
|
-
overrideEditorFocus: boolean;
|
|
6649
|
-
setUseWrapMode: boolean;
|
|
6650
|
-
};
|
|
6651
|
-
export function createDefaultSQLLanguageHelper(): {
|
|
6652
|
-
getLanguageMode: () => string;
|
|
6653
|
-
createCompleters: () => any[];
|
|
6654
|
-
};
|
|
6655
|
-
|
|
6656
6733
|
/// <reference types="jquery" />
|
|
6657
6734
|
|
|
6658
6735
|
|
|
@@ -6680,6 +6757,30 @@ declare module DevExpress.QueryBuilder.Widgets.Internal {
|
|
|
6680
6757
|
static groupByObjectsFilter: IQueryBuilderObjectProviderFilter;
|
|
6681
6758
|
}
|
|
6682
6759
|
|
|
6760
|
+
export {};
|
|
6761
|
+
|
|
6762
|
+
export function createDefaultSQLAceOptions(readOnly?: boolean): {
|
|
6763
|
+
showLineNumbers: boolean;
|
|
6764
|
+
showPrintMargin: boolean;
|
|
6765
|
+
enableBasicAutocompletion: boolean;
|
|
6766
|
+
enableLiveAutocompletion: boolean;
|
|
6767
|
+
readOnly: boolean;
|
|
6768
|
+
highlightSelectedWord: boolean;
|
|
6769
|
+
showGutter: boolean;
|
|
6770
|
+
highlightActiveLine: boolean;
|
|
6771
|
+
};
|
|
6772
|
+
export function createDefaultSQLAdditionalOptions(value: any): {
|
|
6773
|
+
onChange: (session: any) => void;
|
|
6774
|
+
onValueChange: (editor: any) => void;
|
|
6775
|
+
changeTimeout: number;
|
|
6776
|
+
overrideEditorFocus: boolean;
|
|
6777
|
+
setUseWrapMode: boolean;
|
|
6778
|
+
};
|
|
6779
|
+
export function createDefaultSQLLanguageHelper(): {
|
|
6780
|
+
getLanguageMode: () => string;
|
|
6781
|
+
createCompleters: () => any[];
|
|
6782
|
+
};
|
|
6783
|
+
|
|
6683
6784
|
|
|
6684
6785
|
|
|
6685
6786
|
|
|
@@ -6937,186 +7038,99 @@ declare module DevExpress.QueryBuilder.Metadata {
|
|
|
6937
7038
|
export var unknownSerializationsInfo: ISerializationInfoArray;
|
|
6938
7039
|
|
|
6939
7040
|
}
|
|
6940
|
-
declare module DevExpress.Analytics.
|
|
6941
|
-
import SqlDataConnection = DevExpress.Analytics.Data.SqlDataConnection;
|
|
6942
|
-
import ISelectStatementResponse = DevExpress.QueryBuilder.Utils.ISelectStatementResponse;
|
|
6943
|
-
import TableQuery = DevExpress.Analytics.Data.TableQuery;
|
|
6944
|
-
import ISqlQueryViewModel = DevExpress.QueryBuilder.Utils.ISqlQueryViewModel;
|
|
6945
|
-
import Disposable = DevExpress.Analytics.Utils.Disposable;
|
|
6946
|
-
import SelectQuerySqlTextProvider = DevExpress.Analytics.Wizard.Internal.SelectQuerySqlTextProvider;
|
|
6947
|
-
import ISqlQueryControl = DevExpress.Analytics.Wizard.Internal.ISqlQueryControl;
|
|
6948
|
-
import StoredProcQuery = DevExpress.Analytics.Data.StoredProcQuery;
|
|
6949
|
-
import DBStoredProcedure = DevExpress.Analytics.Data.DBStoredProcedure;
|
|
6950
|
-
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
6951
|
-
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
6952
|
-
import TreeNode = DevExpress.Analytics.Wizard.Internal.TreeNode;
|
|
6953
|
-
import ParameterTreeNode = DevExpress.Analytics.Wizard.Internal.ParameterTreeNode;
|
|
6954
|
-
import QueriesTreeNode = DevExpress.Analytics.Wizard.Internal.QueriesTreeNode;
|
|
6955
|
-
import TreeNodeBase = DevExpress.Analytics.Wizard.Internal.TreeNodeBase;
|
|
6956
|
-
import IDBSchemaProvider = DevExpress.Analytics.Data.IDBSchemaProvider;
|
|
6957
|
-
import IPathRequest = DevExpress.Analytics.Utils.IPathRequest;
|
|
6958
|
-
import IAction = DevExpress.Analytics.Utils.IAction;
|
|
6959
|
-
import DataSourceParameter = DevExpress.Analytics.Data.DataSourceParameter;
|
|
6960
|
-
import DBStoredProcedureArgument = DevExpress.Analytics.Data.DBStoredProcedureArgument;
|
|
6961
|
-
import IAddQueriesTreeListCallbacks = DevExpress.Analytics.Wizard.Internal.IAddQueriesTreeListCallbacks;
|
|
6962
|
-
import IPopoverListOptions = DevExpress.Analytics.Wizard.Internal.IPopoverListOptions;
|
|
6963
|
-
import DataMemberTreeNode = DevExpress.Analytics.Wizard.Internal.DataMemberTreeNode;
|
|
6964
|
-
import FieldTreeNode = DevExpress.Analytics.Wizard.Internal.FieldTreeNode;
|
|
6965
|
-
import FieldListProvider = DevExpress.Analytics.Internal.FieldListProvider;
|
|
6966
|
-
import TreeNodeItemsProvider = DevExpress.Analytics.Wizard.Internal.TreeNodeItemsProvider;
|
|
6967
|
-
import Editor = DevExpress.Analytics.Widgets.Editor;
|
|
7041
|
+
declare module DevExpress.Analytics.Diagram {
|
|
6968
7042
|
import ISerializationInfo = DevExpress.Analytics.Utils.ISerializationInfo;
|
|
6969
|
-
import IJsonDataSourceJsonSourceValidatable = DevExpress.Analytics.Wizard.IJsonDataSourceJsonSourceValidatable;
|
|
6970
|
-
import IJsonDataSourceJsonSourcePageSettings = DevExpress.Analytics.Wizard.IJsonDataSourceJsonSourcePageSettings;
|
|
6971
|
-
import ObjectProperties = DevExpress.Analytics.Widgets.ObjectProperties;
|
|
6972
|
-
import JsonDataSource = DevExpress.Analytics.Data.JsonDataSource;
|
|
6973
7043
|
import ISerializationInfoArray = DevExpress.Analytics.Utils.ISerializationInfoArray;
|
|
6974
|
-
import
|
|
6975
|
-
import
|
|
6976
|
-
import
|
|
6977
|
-
import
|
|
6978
|
-
import
|
|
6979
|
-
import
|
|
6980
|
-
import
|
|
6981
|
-
import
|
|
6982
|
-
import
|
|
6983
|
-
import
|
|
6984
|
-
import
|
|
6985
|
-
import
|
|
6986
|
-
import
|
|
6987
|
-
import
|
|
6988
|
-
import
|
|
7044
|
+
import ControlsFactory = DevExpress.Analytics.Utils.ControlsFactory;
|
|
7045
|
+
import ElementViewModel = DevExpress.Analytics.Elements.ElementViewModel;
|
|
7046
|
+
import ModelSerializer = DevExpress.Analytics.Utils.ModelSerializer;
|
|
7047
|
+
import Size = DevExpress.Analytics.Elements.Size;
|
|
7048
|
+
import Point = DevExpress.Analytics.Elements.Point;
|
|
7049
|
+
import IConnectingPoint = DevExpress.Analytics.Diagram.IConnectingPoint;
|
|
7050
|
+
import IPoint = DevExpress.Analytics.Elements.IPoint;
|
|
7051
|
+
import PointSide = DevExpress.Analytics.Diagram.PointSide;
|
|
7052
|
+
import DiagramElementBaseViewModel = DevExpress.Analytics.Diagram.DiagramElementBaseViewModel;
|
|
7053
|
+
import ConnectorViewModel = DevExpress.Analytics.Diagram.ConnectorViewModel;
|
|
7054
|
+
import ConnectionPointViewModel = DevExpress.Analytics.Diagram.ConnectionPointViewModel;
|
|
7055
|
+
import SurfaceElementBase = DevExpress.Analytics.Elements.SurfaceElementBase;
|
|
7056
|
+
import ISurfaceContext = DevExpress.Analytics.Elements.ISurfaceContext;
|
|
7057
|
+
import IUnitProperties = DevExpress.Analytics.Internal.IUnitProperties;
|
|
7058
|
+
import Margins = DevExpress.Analytics.Elements.Margins;
|
|
7059
|
+
import DiagramViewModel = DevExpress.Analytics.Diagram.DiagramViewModel;
|
|
7060
|
+
import ISelectionTarget = DevExpress.Analytics.Internal.ISelectionTarget;
|
|
7061
|
+
import IHoverInfo = DevExpress.Analytics.Internal.IHoverInfo;
|
|
7062
|
+
import IMargins = DevExpress.Analytics.Elements.IMargins;
|
|
7063
|
+
import DiagramElementBaseSurface = DevExpress.Analytics.Diagram.DiagramElementBaseSurface;
|
|
7064
|
+
import DiagramSurface = DevExpress.Analytics.Diagram.DiagramSurface;
|
|
7065
|
+
import RoutedConnectorViewModel = DevExpress.Analytics.Diagram.RoutedConnectorViewModel;
|
|
7066
|
+
import ConnectionPointSurface = DevExpress.Analytics.Diagram.ConnectionPointSurface;
|
|
7067
|
+
import ConnectingPointViewModel = DevExpress.Analytics.Diagram.ConnectingPointViewModel;
|
|
7068
|
+
import DiagramElementViewModel = DevExpress.Analytics.Diagram.DiagramElementViewModel;
|
|
7069
|
+
import DragDropHandler = DevExpress.Analytics.Internal.DragDropHandler;
|
|
7070
|
+
import SurfaceSelection = DevExpress.Analytics.Internal.SurfaceSelection;
|
|
6989
7071
|
import UndoEngine = DevExpress.Analytics.Utils.UndoEngine;
|
|
6990
|
-
import
|
|
6991
|
-
import
|
|
6992
|
-
import
|
|
6993
|
-
import
|
|
6994
|
-
import
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
import EventManager = DevExpress.Analytics.Utils.EventManager;
|
|
7003
|
-
import IWizardEvents = DevExpress.Analytics.Wizard.IWizardEvents;
|
|
7004
|
-
import IDataSourceWizardState = DevExpress.Analytics.Wizard.IDataSourceWizardState;
|
|
7005
|
-
import TreeListItemViewModel = DevExpress.Analytics.Widgets.Internal.TreeListItemViewModel;
|
|
7006
|
-
import DefaultTreeListItemFactory = DevExpress.Analytics.Widgets.Internal.DefaultTreeListItemFactory;
|
|
7007
|
-
import BaseWizard = DevExpress.Analytics.Wizard.BaseWizard;
|
|
7008
|
-
import WizardPageProcessor = DevExpress.Analytics.Wizard.Internal.WizardPageProcessor;
|
|
7009
|
-
import IBeforeWizardPageInitializeEventArgs = DevExpress.Analytics.Wizard.IBeforeWizardPageInitializeEventArgs;
|
|
7010
|
-
import IWizardPageEventArgs = DevExpress.Analytics.Wizard.IWizardPageEventArgs;
|
|
7011
|
-
import IDataSourceInfo = DevExpress.Analytics.Internal.IDataSourceInfo;
|
|
7012
|
-
import FederationDataSource = DevExpress.Analytics.Data.FederationDataSource;
|
|
7013
|
-
import WizardDragDropHandler = DevExpress.Analytics.Internal.WizardDragDropHandler;
|
|
7014
|
-
import PopupEditorBase = DevExpress.Analytics.Widgets.Internal.PopupEditorBase;
|
|
7015
|
-
import ResizeHelper = DevExpress.Analytics.Widgets.Internal.ResizeHelper;
|
|
7016
|
-
import ITreeListOptions = DevExpress.Analytics.Widgets.Internal.ITreeListOptions;
|
|
7017
|
-
import getParentContainer = DevExpress.Analytics.Internal.getParentContainer;
|
|
7018
|
-
import IFederationQuery = DevExpress.QueryBuilder.Utils.IFederationQuery;
|
|
7019
|
-
import FederationTableViewModel = DevExpress.QueryBuilder.Internal.FederationTableViewModel;
|
|
7020
|
-
import SelectQuery = DevExpress.Analytics.Data.SelectQuery;
|
|
7021
|
-
import IQueryBuilderSurfaceCreator = DevExpress.QueryBuilder.Internal.IQueryBuilderSurfaceCreator;
|
|
7022
|
-
import FederationQueryBuilderPopupBase = DevExpress.Analytics.Wizard.Internal.FederationQueryBuilderPopupBase;
|
|
7023
|
-
import TransformQuery = DevExpress.Analytics.Data.TransformQuery;
|
|
7024
|
-
import UnionQuery = DevExpress.Analytics.Data.UnionQuery;
|
|
7025
|
-
import ObjectType = DevExpress.Analytics.Data.ObjectType;
|
|
7026
|
-
import TreeListController = DevExpress.Analytics.Widgets.Internal.TreeListController;
|
|
7027
|
-
import ObjectSchemaProvider = DevExpress.Analytics.Wizard.Internal.ObjectSchemaProvider;
|
|
7028
|
-
import IItemsExtender = DevExpress.Analytics.Internal.IItemsExtender;
|
|
7029
|
-
import PathRequest = DevExpress.Analytics.Utils.PathRequest;
|
|
7030
|
-
import IFederationQueryBuilderCallbacks = DevExpress.Analytics.Wizard.Internal.IFederationQueryBuilderCallbacks;
|
|
7031
|
-
/// <reference types="jquery" />
|
|
7072
|
+
import SnapLinesHelper = DevExpress.Analytics.Internal.SnapLinesHelper;
|
|
7073
|
+
import DragHelperContent = DevExpress.Analytics.Internal.DragHelperContent;
|
|
7074
|
+
import ConnectingPointSurface = DevExpress.Analytics.Diagram.ConnectingPointSurface;
|
|
7075
|
+
import ConnectorSurface = DevExpress.Analytics.Diagram.ConnectorSurface;
|
|
7076
|
+
import GroupObject = DevExpress.Analytics.Internal.GroupObject;
|
|
7077
|
+
|
|
7078
|
+
export var name: ISerializationInfo;
|
|
7079
|
+
export var text: ISerializationInfo;
|
|
7080
|
+
export var size: ISerializationInfo;
|
|
7081
|
+
export var location: ISerializationInfo;
|
|
7082
|
+
export var sizeLocation: ISerializationInfoArray;
|
|
7083
|
+
export var unknownSerializationsInfo: ISerializationInfoArray;
|
|
7032
7084
|
|
|
7033
7085
|
|
|
7086
|
+
export var diagramControlsFactory: ControlsFactory<string>;
|
|
7034
7087
|
|
|
7035
|
-
export class SelectQuerySqlTextProvider {
|
|
7036
|
-
private _selectStatementCallback;
|
|
7037
|
-
private _connection;
|
|
7038
|
-
constructor(_selectStatementCallback: (connection: SqlDataConnection, queryJSON: string) => JQueryPromise<ISelectStatementResponse>, _connection: () => SqlDataConnection);
|
|
7039
|
-
getQuerySqlText(newQuery: TableQuery): JQueryPromise<ISelectStatementResponse>;
|
|
7040
|
-
}
|
|
7041
7088
|
|
|
7042
|
-
/// <reference types="jquery" />
|
|
7043
7089
|
|
|
7044
7090
|
|
|
7045
7091
|
|
|
7046
7092
|
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7093
|
+
|
|
7094
|
+
export class DiagramElementBaseViewModel extends ElementViewModel {
|
|
7095
|
+
getControlFactory(): ControlsFactory;
|
|
7096
|
+
constructor(control: any, parent: ElementViewModel, serializer?: ModelSerializer);
|
|
7097
|
+
size: Size;
|
|
7098
|
+
location: Point;
|
|
7053
7099
|
}
|
|
7054
|
-
export
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
showLineNumbers: boolean;
|
|
7063
|
-
showPrintMargin: boolean;
|
|
7064
|
-
enableBasicAutocompletion: boolean;
|
|
7065
|
-
enableLiveAutocompletion: boolean;
|
|
7066
|
-
readOnly: boolean;
|
|
7067
|
-
highlightSelectedWord: boolean;
|
|
7068
|
-
showGutter: boolean;
|
|
7069
|
-
highlightActiveLine: boolean;
|
|
7070
|
-
};
|
|
7071
|
-
additionalOptions: {
|
|
7072
|
-
onChange: (session: any) => void;
|
|
7073
|
-
onValueChange: (editor: any) => void;
|
|
7074
|
-
changeTimeout: number;
|
|
7075
|
-
overrideEditorFocus: boolean;
|
|
7076
|
-
setUseWrapMode: boolean;
|
|
7077
|
-
};
|
|
7078
|
-
aceAvailable: any;
|
|
7079
|
-
languageHelper: {
|
|
7080
|
-
getLanguageMode: () => string;
|
|
7081
|
-
createCompleters: () => any[];
|
|
7082
|
-
};
|
|
7083
|
-
caption: () => any;
|
|
7084
|
-
sqlString: ko.PureComputed<string>;
|
|
7085
|
-
setQuery(query: ISqlQueryViewModel, isInProcess?: ko.Observable<boolean>): JQueryPromise<ISelectStatementResponse>;
|
|
7086
|
-
getQuery(): ISqlQueryViewModel;
|
|
7087
|
-
isNextDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7088
|
-
isFinishDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7089
|
-
get runQueryBuilderDisabled(): boolean;
|
|
7090
|
-
disableCustomSql: () => boolean;
|
|
7100
|
+
export var diagramElementSerializationInfo: ISerializationInfoArray;
|
|
7101
|
+
|
|
7102
|
+
|
|
7103
|
+
export enum PointSide {
|
|
7104
|
+
East = 0,
|
|
7105
|
+
South = 1,
|
|
7106
|
+
North = 2,
|
|
7107
|
+
West = 3
|
|
7091
7108
|
}
|
|
7109
|
+
export const GRID_SIZE = 10;
|
|
7110
|
+
export function determineConnectingPoints<T extends {
|
|
7111
|
+
rightConnectionPoint: IConnectingPoint;
|
|
7112
|
+
leftConnectionPoint: IConnectingPoint;
|
|
7113
|
+
}>(startObject: T, endObject: T): {
|
|
7114
|
+
start: IConnectingPoint;
|
|
7115
|
+
end: IConnectingPoint;
|
|
7116
|
+
};
|
|
7092
7117
|
|
|
7093
|
-
/// <reference types="jquery" />
|
|
7094
7118
|
|
|
7095
7119
|
|
|
7096
7120
|
|
|
7097
7121
|
|
|
7098
|
-
export class StoredProceduresQueryControl extends Disposable implements ISqlQueryControl {
|
|
7099
|
-
private _query;
|
|
7100
|
-
private _needToProcessParameters;
|
|
7101
|
-
private static _availableConvertToParameter;
|
|
7102
|
-
private get _selectedProcedure();
|
|
7103
|
-
private set _selectedProcedure(value);
|
|
7104
|
-
constructor();
|
|
7105
|
-
template: string;
|
|
7106
|
-
storedProcedures: ko.ObservableArray<DBStoredProcedure>;
|
|
7107
|
-
selectedProcedure: ko.ObservableArray<DBStoredProcedure>;
|
|
7108
|
-
caption: () => any;
|
|
7109
|
-
generateStoredProcedureDisplayName: (procedure: any) => string;
|
|
7110
|
-
scrollActiveItem(e: any): void;
|
|
7111
|
-
static generateStoredProcedureDisplayName(procedure: DBStoredProcedure): string;
|
|
7112
|
-
setQuery(query: StoredProcQuery): JQuery.Promise<any, any, any>;
|
|
7113
|
-
getQuery(): StoredProcQuery;
|
|
7114
|
-
isNextDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7115
|
-
isFinishDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7116
|
-
get runQueryBuilderDisabled(): boolean;
|
|
7117
|
-
}
|
|
7118
7122
|
|
|
7119
|
-
|
|
7123
|
+
export interface IConnectingPoint {
|
|
7124
|
+
location: IPoint;
|
|
7125
|
+
side: ko.Observable<PointSide> | ko.Computed<PointSide>;
|
|
7126
|
+
}
|
|
7127
|
+
export class ConnectingPointViewModel extends DiagramElementBaseViewModel implements IConnectingPoint {
|
|
7128
|
+
constructor(control: any, parent: DiagramElementBaseViewModel, serializer?: ModelSerializer);
|
|
7129
|
+
percentOffsetX: ko.Observable<number> | ko.Computed<number>;
|
|
7130
|
+
percentOffsetY: ko.Observable<number> | ko.Computed<number>;
|
|
7131
|
+
side: ko.PureComputed<PointSide>;
|
|
7132
|
+
}
|
|
7133
|
+
export var connectingPointSerializationInfo: ISerializationInfoArray;
|
|
7120
7134
|
|
|
7121
7135
|
|
|
7122
7136
|
|
|
@@ -7124,207 +7138,122 @@ declare module DevExpress.Analytics.Wizard.Internal {
|
|
|
7124
7138
|
|
|
7125
7139
|
|
|
7126
7140
|
|
|
7127
|
-
export
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
}
|
|
7132
|
-
export class DBSchemaItemsProvider extends Disposable implements IItemsProvider {
|
|
7133
|
-
private _callBack;
|
|
7134
|
-
private _tables;
|
|
7135
|
-
private _views;
|
|
7136
|
-
private _procedures;
|
|
7137
|
-
private _queries;
|
|
7138
|
-
private _customQueries;
|
|
7139
|
-
private _rootItems;
|
|
7140
|
-
constructor(dbSchemaProvider: IDBSchemaProvider, customQueries: ko.ObservableArray<TableQuery>, showQbCallBack: any, disableCustomSql: any, afterCheckToggled: (node: TreeNodeBase) => void);
|
|
7141
|
-
private _checkedRootNodesCount;
|
|
7142
|
-
getItems: (path: IPathRequest) => JQueryPromise<IDataMemberInfo[]>;
|
|
7143
|
-
hasCheckedItems: ko.PureComputed<boolean>;
|
|
7144
|
-
nextButtonDisabled: ko.PureComputed<boolean>;
|
|
7145
|
-
hasParametersToEdit: ko.PureComputed<boolean>;
|
|
7146
|
-
tables: () => TreeNode;
|
|
7147
|
-
views: () => TreeNode;
|
|
7148
|
-
procedures: () => ParameterTreeNode;
|
|
7149
|
-
queries: () => QueriesTreeNode;
|
|
7150
|
-
customQueries: () => ko.ObservableArray<ISqlQueryViewModel>;
|
|
7141
|
+
export class ConnectionPointViewModel extends DiagramElementBaseViewModel {
|
|
7142
|
+
constructor(control: any, parent: ConnectorViewModel, serializer?: ModelSerializer);
|
|
7143
|
+
location: Point;
|
|
7144
|
+
connectingPoint: ko.Observable<IConnectingPoint>;
|
|
7151
7145
|
}
|
|
7146
|
+
export var connectionPointSerializationInfo: ISerializationInfoArray;
|
|
7152
7147
|
|
|
7153
7148
|
|
|
7154
7149
|
|
|
7155
7150
|
|
|
7156
7151
|
|
|
7152
|
+
export class ConnectorViewModel extends DiagramElementBaseViewModel {
|
|
7153
|
+
static MIN_LINE_THICKNESS: number;
|
|
7154
|
+
getX(): number;
|
|
7155
|
+
getY(): number;
|
|
7156
|
+
getWidth(): number;
|
|
7157
|
+
getHeight(): number;
|
|
7158
|
+
constructor(control: any, parent: ElementViewModel, serializer?: ModelSerializer);
|
|
7159
|
+
startPoint: ko.Observable<ConnectionPointViewModel> | ko.Computed<ConnectionPointViewModel>;
|
|
7160
|
+
endPoint: ko.Observable<ConnectionPointViewModel> | ko.Computed<ConnectionPointViewModel>;
|
|
7161
|
+
}
|
|
7157
7162
|
|
|
7158
7163
|
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
private
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
hasQuery: boolean;
|
|
7181
|
-
}
|
|
7182
|
-
export class TreeNode extends TreeNodeBase {
|
|
7183
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
7184
|
-
initialized(): boolean;
|
|
7185
|
-
setChecked(value: boolean): void;
|
|
7186
|
-
initializeChildren(children: TreeNodeBase[]): void;
|
|
7187
|
-
countChecked: ko.PureComputed<number>;
|
|
7188
|
-
isList: boolean;
|
|
7189
|
-
children: ko.ObservableArray<TreeNodeBase>;
|
|
7190
|
-
}
|
|
7191
|
-
export class ParameterTreeNode extends TreeNode {
|
|
7192
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
7193
|
-
countChecked: ko.PureComputed<number>;
|
|
7194
|
-
hasParamsToEdit: ko.Observable<boolean>;
|
|
7195
|
-
}
|
|
7196
|
-
export class QueriesTreeNode extends ParameterTreeNode implements IPopoverListOptions {
|
|
7197
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, callbacks?: ko.Observable<IAddQueriesTreeListCallbacks>, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
7198
|
-
addAction: {
|
|
7199
|
-
clickAction: (item: any) => any;
|
|
7200
|
-
imageClassName: string;
|
|
7201
|
-
imageTemplateName: string;
|
|
7202
|
-
templateName: string;
|
|
7203
|
-
text: any;
|
|
7204
|
-
};
|
|
7205
|
-
getActions(context: any): IAction[];
|
|
7206
|
-
popoverListItems(): any;
|
|
7207
|
-
showPopover(): void;
|
|
7208
|
-
itemClickAction: (e: {
|
|
7209
|
-
itemData: {
|
|
7210
|
-
name: string;
|
|
7211
|
-
addAction: any;
|
|
7212
|
-
};
|
|
7213
|
-
}) => void;
|
|
7214
|
-
addQuery: any;
|
|
7215
|
-
addCustomQuery: any;
|
|
7216
|
-
target: any;
|
|
7217
|
-
className: string;
|
|
7218
|
-
popoverVisible: ko.Observable<boolean>;
|
|
7219
|
-
disableCustomSql: () => boolean;
|
|
7220
|
-
selectionDisabled: ko.PureComputed<boolean>;
|
|
7221
|
-
}
|
|
7222
|
-
export class TreeQueryNode extends TreeLeafNode {
|
|
7223
|
-
private query?;
|
|
7224
|
-
private _name;
|
|
7225
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, parameters: ko.Observable<DataSourceParameter[]>, callbacks: ko.Observable<IAddQueriesTreeListCallbacks>, afterCheckToggled?: (node: TreeLeafNode) => void, query?: any);
|
|
7226
|
-
setObservableName(name: ko.Observable<string> | ko.Computed<string>): void;
|
|
7227
|
-
editAction: {
|
|
7228
|
-
clickAction: (item: any) => any;
|
|
7229
|
-
imageClassName: string;
|
|
7230
|
-
imageTemplateName: string;
|
|
7231
|
-
text: any;
|
|
7232
|
-
};
|
|
7233
|
-
removeAction: {
|
|
7234
|
-
clickAction: (item: any) => void;
|
|
7235
|
-
imageClassName: string;
|
|
7236
|
-
imageTemplateName: string;
|
|
7237
|
-
text: any;
|
|
7238
|
-
};
|
|
7239
|
-
getActions(context: any): IAction[];
|
|
7240
|
-
editQuery: any;
|
|
7241
|
-
removeQuery: any;
|
|
7242
|
-
parameters: ko.Observable<DataSourceParameter[]>;
|
|
7243
|
-
}
|
|
7244
|
-
export class FieldTreeNode extends TreeNodeBase {
|
|
7245
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, path: string, afterCheckToggled?: (node: TreeNodeBase) => void, isDraggable?: boolean);
|
|
7246
|
-
visible: ko.Observable<boolean>;
|
|
7247
|
-
isComplex: boolean;
|
|
7248
|
-
dragData: any;
|
|
7249
|
-
disabled: ko.Observable<boolean>;
|
|
7250
|
-
}
|
|
7251
|
-
export class DataMemberTreeNode extends TreeNode {
|
|
7252
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, path: string, afterCheckToggled?: (node: DataMemberTreeNode) => void);
|
|
7253
|
-
setChecked(value: boolean): void;
|
|
7254
|
-
visible: ko.Observable<boolean>;
|
|
7255
|
-
children: ko.ObservableArray<DataMemberTreeNode | FieldTreeNode>;
|
|
7256
|
-
isComplex: boolean;
|
|
7257
|
-
}
|
|
7258
|
-
export class SingleCheckedDataMemberTreeNode extends DataMemberTreeNode {
|
|
7259
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, path: string, afterCheckToggled?: (node: DataMemberTreeNode) => void);
|
|
7260
|
-
_checked: ko.Observable<boolean>;
|
|
7261
|
-
children: ko.ObservableArray<FieldTreeNode>;
|
|
7164
|
+
|
|
7165
|
+
|
|
7166
|
+
|
|
7167
|
+
|
|
7168
|
+
export class RoutedConnectorViewModel extends ConnectorViewModel {
|
|
7169
|
+
private _isUpdating;
|
|
7170
|
+
getX(): number;
|
|
7171
|
+
getY(): number;
|
|
7172
|
+
getWidth(): number;
|
|
7173
|
+
getHeight(): number;
|
|
7174
|
+
_fixPoint(point: IPoint, side: PointSide): void;
|
|
7175
|
+
_getStartPointSide(): PointSide;
|
|
7176
|
+
_getEndPointSide(): PointSide;
|
|
7177
|
+
private _getPower;
|
|
7178
|
+
private _getRatio;
|
|
7179
|
+
constructor(control: any, parent: ElementViewModel, serializer?: ModelSerializer);
|
|
7180
|
+
seriesNumber: ko.Observable<number>;
|
|
7181
|
+
routePoints: ko.Observable<IPoint[]>;
|
|
7182
|
+
freezeRoute: ko.Observable<boolean>;
|
|
7183
|
+
beginUpdate(): void;
|
|
7184
|
+
endUpdate(): void;
|
|
7262
7185
|
}
|
|
7263
7186
|
|
|
7264
|
-
/// <reference types="jquery" />
|
|
7265
7187
|
|
|
7266
7188
|
|
|
7267
7189
|
|
|
7190
|
+
export class DiagramElementBaseSurface<M extends DiagramElementBaseViewModel = DiagramElementBaseViewModel> extends SurfaceElementBase<M> {
|
|
7191
|
+
static _unitProperties: IUnitProperties<DiagramElementBaseViewModel>;
|
|
7192
|
+
constructor(control: M, context: ISurfaceContext, unitProperties: IUnitProperties<M>);
|
|
7193
|
+
template: string;
|
|
7194
|
+
selectiontemplate: string;
|
|
7195
|
+
contenttemplate: string;
|
|
7196
|
+
margin: ko.Observable<number>;
|
|
7197
|
+
positionWidthWithoutMargins: ko.Computed<number>;
|
|
7198
|
+
positionLineHeightWithoutMargins: ko.Computed<number>;
|
|
7199
|
+
}
|
|
7268
7200
|
|
|
7269
7201
|
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
protected _getParentNode(pathRequest: IPathRequest): DataMemberTreeNode;
|
|
7281
|
-
protected _getDefaultTreeNodeCheckState(item: IDataMemberInfo): boolean;
|
|
7282
|
-
constructor(fieldListProvider: FieldListProvider, rootItems: ko.ObservableArray<IDataMemberInfo>, generateTreeNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => DataMemberTreeNode, generateTreeLeafNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => FieldTreeNode);
|
|
7283
|
-
hasCheckedItems: ko.Computed<boolean>;
|
|
7284
|
-
getItems: (path: IPathRequest, collectChilds?: boolean) => JQueryPromise<IDataMemberInfo[]>;
|
|
7285
|
-
getRootItems: () => DataMemberTreeNode[];
|
|
7286
|
-
isList(dataMember: IDataMemberInfo, parentNode: DataMemberTreeNode): boolean;
|
|
7202
|
+
|
|
7203
|
+
|
|
7204
|
+
export class DiagramViewModel extends DiagramElementBaseViewModel {
|
|
7205
|
+
getInfo(): ISerializationInfoArray;
|
|
7206
|
+
constructor(diagramSource: any);
|
|
7207
|
+
controls: ko.ObservableArray<DiagramElementBaseViewModel>;
|
|
7208
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
7209
|
+
pageWidth: ko.Observable<number> | ko.Computed<number>;
|
|
7210
|
+
pageHeight: ko.Observable<number> | ko.Computed<number>;
|
|
7211
|
+
margins: Margins;
|
|
7287
7212
|
}
|
|
7213
|
+
export var margins: ISerializationInfo;
|
|
7214
|
+
export var pageWidth: ISerializationInfo;
|
|
7215
|
+
export var pageHeight: ISerializationInfo;
|
|
7216
|
+
export var diagramSerializationsInfo: ISerializationInfoArray;
|
|
7288
7217
|
|
|
7289
7218
|
|
|
7290
7219
|
|
|
7291
7220
|
|
|
7292
7221
|
|
|
7293
7222
|
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7223
|
+
|
|
7224
|
+
|
|
7225
|
+
export class DiagramSurface extends SurfaceElementBase<DiagramViewModel> implements ISelectionTarget, ISurfaceContext {
|
|
7226
|
+
static _unitProperties: IUnitProperties<DiagramViewModel>;
|
|
7227
|
+
constructor(diagram: DiagramViewModel, zoom?: ko.Observable<number>);
|
|
7228
|
+
measureUnit: ko.Observable<string>;
|
|
7229
|
+
dpi: ko.Observable<number>;
|
|
7230
|
+
zoom: ko.Observable<number> | ko.Computed<number>;
|
|
7231
|
+
controls: ko.ObservableArray<DiagramElementBaseSurface<DevExpress.Analytics.DiagramElementBaseViewModel>>;
|
|
7232
|
+
allowMultiselect: boolean;
|
|
7233
|
+
focused: ko.Observable<boolean>;
|
|
7234
|
+
selected: ko.Observable<boolean>;
|
|
7235
|
+
underCursor: ko.Observable<IHoverInfo>;
|
|
7236
|
+
checkParent(surfaceParent: ISelectionTarget): boolean;
|
|
7237
|
+
_parent: ISelectionTarget;
|
|
7238
|
+
get parent(): ISelectionTarget;
|
|
7239
|
+
set parent(newVal: ISelectionTarget);
|
|
7240
|
+
templateName: string;
|
|
7241
|
+
getChildrenCollection(): ko.ObservableArray<any>;
|
|
7242
|
+
margins: IMargins;
|
|
7298
7243
|
}
|
|
7299
7244
|
|
|
7300
7245
|
|
|
7301
7246
|
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
getLanguageMode: () => string;
|
|
7313
|
-
createCompleters: () => any[];
|
|
7314
|
-
};
|
|
7315
|
-
aceOptions: {
|
|
7316
|
-
showLineNumbers: boolean;
|
|
7317
|
-
highlightActiveLine: boolean;
|
|
7318
|
-
showPrintMargin: boolean;
|
|
7319
|
-
enableBasicAutocompletion: boolean;
|
|
7320
|
-
enableLiveAutocompletion: boolean;
|
|
7321
|
-
};
|
|
7322
|
-
isValid: ko.Computed<any>;
|
|
7323
|
-
additionalOptions: {
|
|
7324
|
-
onChangeAnnotation: (session: any) => void;
|
|
7325
|
-
onBlur: () => void;
|
|
7326
|
-
};
|
|
7327
|
-
jsonStringValidationRules: Array<any>;
|
|
7247
|
+
|
|
7248
|
+
|
|
7249
|
+
export class ConnectionPointSurface extends SurfaceElementBase<ConnectionPointViewModel> {
|
|
7250
|
+
static _unitProperties: IUnitProperties<ConnectionPointViewModel>;
|
|
7251
|
+
constructor(control: ConnectionPointViewModel, context: ISurfaceContext);
|
|
7252
|
+
template: string;
|
|
7253
|
+
selectiontemplate: string;
|
|
7254
|
+
relativeX: ko.Observable<number> | ko.Computed<number>;
|
|
7255
|
+
relativeY: ko.Observable<number> | ko.Computed<number>;
|
|
7256
|
+
container(): DiagramSurface;
|
|
7328
7257
|
}
|
|
7329
7258
|
|
|
7330
7259
|
|
|
@@ -7332,434 +7261,267 @@ declare module DevExpress.Analytics.Wizard.Internal {
|
|
|
7332
7261
|
|
|
7333
7262
|
|
|
7334
7263
|
|
|
7264
|
+
export interface IRoutePoint {
|
|
7265
|
+
x: ko.Observable<number> | ko.Computed<number>;
|
|
7266
|
+
y: ko.Observable<number> | ko.Computed<number>;
|
|
7267
|
+
modelPoint: IPoint;
|
|
7268
|
+
}
|
|
7269
|
+
export class RoutedConnectorSurface extends DiagramElementBaseSurface<RoutedConnectorViewModel> {
|
|
7270
|
+
private static _connectorsCount;
|
|
7271
|
+
private _connectorID;
|
|
7272
|
+
private _createRoutePoint;
|
|
7273
|
+
private _createRouteLineWrapper;
|
|
7274
|
+
private _updateRoutePoints;
|
|
7275
|
+
constructor(control: RoutedConnectorViewModel, context: ISurfaceContext);
|
|
7276
|
+
template: string;
|
|
7277
|
+
selectiontemplate: string;
|
|
7278
|
+
startPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
7279
|
+
endPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
7280
|
+
showArrow: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7281
|
+
showRightArrow: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7282
|
+
isVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7283
|
+
routePoints: ko.ObservableArray<IRoutePoint>;
|
|
7284
|
+
routePointsSet: ko.PureComputed<string>;
|
|
7285
|
+
routeLineWrappers: ko.PureComputed<any[]>;
|
|
7286
|
+
connectorID: () => number;
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7289
|
+
|
|
7335
7290
|
|
|
7336
7291
|
|
|
7337
7292
|
|
|
7338
|
-
export
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
protected _validationGroup: any;
|
|
7345
|
-
protected _validationSummary: any;
|
|
7346
|
-
private _onValidationGroupInitialized;
|
|
7347
|
-
private _onValidationGroupDisposing;
|
|
7348
|
-
protected _onValidationSummaryInitialized(args: any): void;
|
|
7349
|
-
private _onValidationSummaryDisposing;
|
|
7350
|
-
protected _repaintSummary(): void;
|
|
7351
|
-
abstract _validatorsReady: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7352
|
-
_validate(): void;
|
|
7353
|
-
constructor();
|
|
7354
|
-
validationGroup: {
|
|
7355
|
-
onInitialized: (args: any) => void;
|
|
7356
|
-
onDisposing: (args: any) => void;
|
|
7357
|
-
validate: () => void;
|
|
7358
|
-
};
|
|
7359
|
-
validationSummary: {
|
|
7360
|
-
onInitialized: (args: any) => void;
|
|
7361
|
-
onDisposing: (args: any) => void;
|
|
7362
|
-
};
|
|
7363
|
-
isValid: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7364
|
-
grid: ObjectProperties;
|
|
7365
|
-
}
|
|
7366
|
-
export class JsonDataSourceJsonSourcePageStringSettings extends JsonDataSourceJsonSourcePageSettingsBase implements IJsonDataSourceJsonSourcePageSettings {
|
|
7367
|
-
onChange(_onChange: () => void): any;
|
|
7368
|
-
_validatorsReady: ko.Observable<boolean>;
|
|
7369
|
-
private _isJsonSourceValid;
|
|
7370
|
-
isEmpty(): boolean;
|
|
7371
|
-
reset(): void;
|
|
7372
|
-
setValue(dataSource: JsonDataSource): void;
|
|
7373
|
-
getInfo(): ISerializationInfoArray;
|
|
7374
|
-
applySettings(jsonDataSource: JsonDataSource): void;
|
|
7375
|
-
constructor();
|
|
7376
|
-
isValid: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7377
|
-
validationGroup: any;
|
|
7378
|
-
validationSummary: any;
|
|
7379
|
-
stringSource: ko.Observable<string> | ko.Computed<string>;
|
|
7380
|
-
aceEditorHasErrors: ko.Observable<boolean>;
|
|
7381
|
-
grid: ObjectProperties;
|
|
7382
|
-
cssClass: {
|
|
7383
|
-
'dxrd-wizard-json-string-source-grid': boolean;
|
|
7384
|
-
};
|
|
7385
|
-
}
|
|
7386
|
-
export class JsonDataSourceJsonSourcePageUriSettings extends JsonDataSourceJsonSourcePageSettingsBase implements IJsonDataSourceJsonSourcePageSettings {
|
|
7387
|
-
private _requestWrapper;
|
|
7388
|
-
private _itemsProvider?;
|
|
7389
|
-
private _isUriValid;
|
|
7390
|
-
private _lastValidatedJsonSourceJSON;
|
|
7391
|
-
private _authNameValidatorInstance;
|
|
7392
|
-
private _isInitUri;
|
|
7393
|
-
private _collectionItemNamePlaceholder;
|
|
7394
|
-
private _lastValidateDeferred;
|
|
7395
|
-
private _sourceUriValidatorsReady;
|
|
7396
|
-
private _basicAuthValidatorsReady;
|
|
7397
|
-
private _validationRequested;
|
|
7398
|
-
private _validateUriSource;
|
|
7399
|
-
private _isCollectionValid;
|
|
7400
|
-
private _isParametersValid;
|
|
7401
|
-
private _isBasicHttpAuthValid;
|
|
7402
|
-
private _noEmptyProperties;
|
|
7403
|
-
private _lastValidationMessage;
|
|
7404
|
-
private _getSerializedUriSource;
|
|
7405
|
-
_sourceUriValidationCallback: (params: any) => boolean;
|
|
7406
|
-
private _getSourceUriInfo;
|
|
7407
|
-
private _getBasicHttpAuthInfo;
|
|
7408
|
-
private _getParametersInfo;
|
|
7409
|
-
private _getResultUriInfo;
|
|
7410
|
-
private _getResultUri;
|
|
7411
|
-
private _appendPathSegmentsToUri;
|
|
7412
|
-
private _appendQuerySegmentsToUri;
|
|
7413
|
-
constructor(_requestWrapper: RequestWrapper, _itemsProvider?: IItemsProvider);
|
|
7414
|
-
protected _onValidationSummaryInitialized(args: any): void;
|
|
7415
|
-
_applyParametersToSource(jsonDataSource: JsonDataSource): void;
|
|
7416
|
-
applySettings(jsonDataSource: JsonDataSource): void;
|
|
7417
|
-
getInfo(): ISerializationInfoArray;
|
|
7418
|
-
reset(): void;
|
|
7419
|
-
setValue(dataSource: JsonDataSource): void;
|
|
7420
|
-
dispose(): void;
|
|
7421
|
-
onChange(_onChange: () => void): any;
|
|
7422
|
-
isEmpty(): boolean;
|
|
7423
|
-
isValid: ko.PureComputed<boolean>;
|
|
7424
|
-
_validate(): void;
|
|
7425
|
-
_validatorsReady: ko.PureComputed<boolean>;
|
|
7426
|
-
sourceUri: ko.Observable<string>;
|
|
7427
|
-
basicHttpAuth: {
|
|
7428
|
-
password: ko.Observable<string>;
|
|
7429
|
-
userName: ko.Observable<string>;
|
|
7430
|
-
};
|
|
7431
|
-
parameters: ko.ObservableArray<JsonParameter>;
|
|
7432
|
-
resultUri: ko.Computed<string>;
|
|
7293
|
+
export class ConnectorSurface extends DiagramElementBaseSurface<ConnectorViewModel> {
|
|
7294
|
+
constructor(control: ConnectorViewModel, context: ISurfaceContext);
|
|
7295
|
+
template: string;
|
|
7296
|
+
selectiontemplate: string;
|
|
7297
|
+
startPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
7298
|
+
endPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
7433
7299
|
}
|
|
7434
7300
|
|
|
7435
7301
|
|
|
7436
7302
|
|
|
7437
7303
|
|
|
7438
7304
|
|
|
7305
|
+
export class DiagramElementViewModel extends DiagramElementBaseViewModel {
|
|
7306
|
+
constructor(control: any, parent: ElementViewModel, serializer?: ModelSerializer);
|
|
7307
|
+
connectingPoints: ko.ObservableArray<ConnectingPointViewModel>;
|
|
7308
|
+
text: ko.Observable<string> | ko.Computed<string>;
|
|
7309
|
+
type: ko.Observable<string> | ko.Computed<string>;
|
|
7310
|
+
}
|
|
7439
7311
|
|
|
7440
7312
|
|
|
7441
7313
|
|
|
7442
|
-
export class ObjectDataSourceParameterProperty extends Disposable {
|
|
7443
|
-
private _parameter;
|
|
7444
|
-
private _itemsProvider;
|
|
7445
|
-
switchPropertyType(): void;
|
|
7446
|
-
isExpression(): boolean;
|
|
7447
|
-
private _generateInfo;
|
|
7448
|
-
private _initGetInfo;
|
|
7449
|
-
private _isDateTimeParamerterType;
|
|
7450
|
-
private _patchOriginalParameterValue;
|
|
7451
|
-
private _afterInitialize;
|
|
7452
|
-
private _subscribeProperties;
|
|
7453
|
-
isPropertyVisible(propertyName: string): boolean;
|
|
7454
|
-
constructor(_parameter: ObjectParameter, _itemsProvider: IItemsProvider);
|
|
7455
|
-
actions: IModelAction[];
|
|
7456
|
-
actionProviders: IModelActionProvider[];
|
|
7457
|
-
reset: () => void;
|
|
7458
|
-
getInfo: () => ISerializationInfoArray;
|
|
7459
|
-
type: ko.Observable<string>;
|
|
7460
|
-
value: ko.Observable<any>;
|
|
7461
|
-
expression: IExpressionOptions;
|
|
7462
|
-
} class ObjectDataSourceParameterGrid extends ObjectProperties {
|
|
7463
|
-
constructor(x: ObjectDataSourceParameterProperty);
|
|
7464
|
-
}
|
|
7465
|
-
export class ObjectDataSourceParametersModel extends Disposable {
|
|
7466
|
-
_grids: ObjectDataSourceParameterGrid[];
|
|
7467
|
-
displayName: string;
|
|
7468
|
-
constructor(parametersMethod: ObjectDataSourceMethodBase, itemsProvider: IItemsProvider);
|
|
7469
|
-
}
|
|
7470
|
-
export class ChooseObjectMemberParameters extends Disposable {
|
|
7471
|
-
private _itemsProvider;
|
|
7472
|
-
private _ctorParametersObject;
|
|
7473
|
-
private _dataMemberParametersObject;
|
|
7474
|
-
private _updateParameters;
|
|
7475
|
-
constructor(_itemsProvider: IItemsProvider);
|
|
7476
|
-
updateCtorParameters(method: ObjectDataSourceMethodBase): void;
|
|
7477
|
-
updateMethodParameters(method: ObjectDataSourceMethodBase): void;
|
|
7478
|
-
hasParameters: () => ObjectDataSourceParametersModel;
|
|
7479
|
-
}
|
|
7480
|
-
export class ChooseObjectParameters extends ChooseObjectMemberParameters {
|
|
7481
|
-
constructor(selectedCtor: ko.Observable<ObjectCtor>, selectedDataMembers: ko.ObservableArray<ObjectDataMember>, itemsProvider: IItemsProvider);
|
|
7482
|
-
}
|
|
7483
|
-
export {};
|
|
7484
7314
|
|
|
7485
|
-
/// <reference types="jquery" />
|
|
7486
|
-
/// <reference types="jqueryui" />
|
|
7487
7315
|
|
|
7316
|
+
export class ConnectingPointSurface extends DiagramElementBaseSurface<ConnectingPointViewModel> {
|
|
7317
|
+
static _unitProperties: IUnitProperties<ConnectingPointViewModel>;
|
|
7318
|
+
constructor(control: ConnectingPointViewModel, context: ISurfaceContext);
|
|
7319
|
+
template: string;
|
|
7320
|
+
selectiontemplate: string;
|
|
7321
|
+
contenttemplate: string;
|
|
7322
|
+
}
|
|
7488
7323
|
|
|
7489
7324
|
|
|
7490
7325
|
|
|
7491
7326
|
|
|
7327
|
+
export class DiagramElementSurface extends DiagramElementBaseSurface<DiagramElementViewModel> {
|
|
7328
|
+
constructor(control: DiagramElementViewModel, context: ISurfaceContext);
|
|
7329
|
+
_getChildrenHolderName(): string;
|
|
7330
|
+
contenttemplate: string;
|
|
7331
|
+
}
|
|
7492
7332
|
|
|
7333
|
+
export function registerControls(): void;
|
|
7493
7334
|
|
|
7335
|
+
export {};
|
|
7494
7336
|
|
|
7495
7337
|
|
|
7338
|
+
/// <reference types="jquery" />
|
|
7496
7339
|
|
|
7497
7340
|
|
|
7498
7341
|
|
|
7499
|
-
export abstract class QueryBuilderPopupBase extends Disposable {
|
|
7500
|
-
customizeQBInitializationData: (options: IQueryBuilderOptions) => IQueryBuilderOptions;
|
|
7501
|
-
protected _rtl: boolean;
|
|
7502
|
-
protected _querySource: ko.Observable | ko.Computed;
|
|
7503
|
-
protected _dbSchemaProvider: ko.Observable<IDBSchemaProvider> | ko.Computed<IDBSchemaProvider>;
|
|
7504
|
-
protected _dataSource: IDataSourceDBSchema;
|
|
7505
|
-
protected _applyQuery: any;
|
|
7506
|
-
constructor(applyNewQuery: any, rtl?: boolean, customizeQBInitializationData?: (options: IQueryBuilderOptions) => IQueryBuilderOptions);
|
|
7507
|
-
designer: ko.Observable<{
|
|
7508
|
-
model: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>;
|
|
7509
|
-
updateSurface: () => void;
|
|
7510
|
-
showPreview: () => void;
|
|
7511
|
-
dataPreview: any;
|
|
7512
|
-
fieldDragHandler: DbObjectDragDropHandler;
|
|
7513
|
-
undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>;
|
|
7514
|
-
}>;
|
|
7515
|
-
qbOptions: ko.Observable<IQueryBuilderOptions>;
|
|
7516
|
-
okButtonDisabled: ko.PureComputed<boolean>;
|
|
7517
|
-
isVisible: ko.Observable<boolean>;
|
|
7518
|
-
showLoadIndicator: ko.Observable<boolean>;
|
|
7519
|
-
static customizeQueryBuilderActions: (actions: IAction[]) => void;
|
|
7520
|
-
show(query: any, dataSource: IDataSourceDBSchema): void;
|
|
7521
|
-
cancelHandler(): void;
|
|
7522
|
-
previewHandler(): void;
|
|
7523
|
-
okHandler(): void;
|
|
7524
|
-
abstract createQuery(): ISerializableModel;
|
|
7525
|
-
abstract getDataSource(): IDataSourceBase;
|
|
7526
|
-
onHiddingHandler(): void;
|
|
7527
|
-
popupViewModel(element: HTMLElement): {
|
|
7528
|
-
visible: ko.Observable<boolean>;
|
|
7529
|
-
title: any;
|
|
7530
|
-
showTitle: boolean;
|
|
7531
|
-
shading: boolean;
|
|
7532
|
-
fullScreen: boolean;
|
|
7533
|
-
width: string;
|
|
7534
|
-
height: string;
|
|
7535
|
-
container: JQuery<HTMLElement>;
|
|
7536
|
-
wrapperAttr: {
|
|
7537
|
-
class: string;
|
|
7538
|
-
};
|
|
7539
|
-
position: {
|
|
7540
|
-
of: JQuery<HTMLElement>;
|
|
7541
|
-
};
|
|
7542
|
-
onHidding: () => void;
|
|
7543
|
-
};
|
|
7544
|
-
getDisplayText(key: any): any;
|
|
7545
|
-
localizationIdMap: {
|
|
7546
|
-
[key: string]: ILocalizationInfo;
|
|
7547
|
-
};
|
|
7548
|
-
}
|
|
7549
|
-
export class QueryBuilderPopup extends QueryBuilderPopupBase {
|
|
7550
|
-
customizeQBInitializationData: (options: IQueryBuilderOptions) => IQueryBuilderOptions;
|
|
7551
|
-
protected _applyQuery: IRetrieveQuerySqlCallback;
|
|
7552
|
-
constructor(applyNewQuery: IRetrieveQuerySqlCallback, rtl?: boolean, customizeQBInitializationData?: (options: IQueryBuilderOptions) => IQueryBuilderOptions);
|
|
7553
|
-
getDataSource(): SqlDataSource;
|
|
7554
|
-
createQuery(): TableQuery;
|
|
7555
|
-
}
|
|
7556
7342
|
|
|
7557
7343
|
|
|
7558
7344
|
|
|
7559
7345
|
|
|
7560
|
-
export class
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7346
|
+
export class ConnectionPointDragHandler extends DragDropHandler {
|
|
7347
|
+
constructor(surface: ko.Observable<ISurfaceContext> | ko.Computed<ISurfaceContext>, selection: SurfaceSelection, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, snapHelper: SnapLinesHelper, dragHelperContent: DragHelperContent);
|
|
7348
|
+
startDrag(control: ISelectionTarget): void;
|
|
7349
|
+
drag(event: JQueryEventObject, ui: any): void;
|
|
7350
|
+
doStopDrag(): void;
|
|
7351
|
+
currentConnectionPoint: ConnectionPointSurface;
|
|
7565
7352
|
}
|
|
7566
7353
|
|
|
7354
|
+
/// <reference types="jquery" />
|
|
7567
7355
|
|
|
7568
7356
|
|
|
7569
7357
|
|
|
7570
|
-
export class WizardPageSectionFactory extends PageFactory {
|
|
7571
|
-
registerMetadata<T extends IWizardPage>(pageId: string, metadata: IWizardPageSectionMetadata<T>): void;
|
|
7572
|
-
metadata: {
|
|
7573
|
-
[key: string]: IWizardPageSectionMetadata<IWizardPage>;
|
|
7574
|
-
};
|
|
7575
|
-
}
|
|
7576
|
-
|
|
7577
|
-
/// <reference types="jquery" />
|
|
7578
7358
|
|
|
7579
7359
|
|
|
7580
7360
|
|
|
7581
7361
|
|
|
7582
7362
|
|
|
7583
7363
|
|
|
7584
|
-
export class
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
export class WizardPageSectionIterator {
|
|
7593
|
-
pageFactory: WizardPageSectionFactory;
|
|
7594
|
-
stateManager: StateManager;
|
|
7595
|
-
private _resetPageCallback;
|
|
7596
|
-
private _pagesIds;
|
|
7597
|
-
private _pages;
|
|
7598
|
-
private _resetPages;
|
|
7599
|
-
private _tryResetPageByMetadata;
|
|
7600
|
-
private _resetPage;
|
|
7601
|
-
private _createNewPage;
|
|
7602
|
-
private _getPage;
|
|
7603
|
-
private _getNextPage;
|
|
7604
|
-
private _getPageIndex;
|
|
7605
|
-
resetNextPages(pageId: string): void;
|
|
7606
|
-
constructor(pageFactory: WizardPageSectionFactory, stateManager: StateManager, _resetPageCallback: (pageId: string) => void);
|
|
7607
|
-
getStartPage(): WrappedWizardPageSection;
|
|
7608
|
-
getNextPage(currentPageId: string): JQuery.Promise<WrappedWizardPageSection[], any, any>;
|
|
7609
|
-
getCurrentState(): any;
|
|
7610
|
-
getNextPageId(pageId?: string): string | string[];
|
|
7364
|
+
export class ConnectingPointDragHandler extends DragDropHandler {
|
|
7365
|
+
constructor(surface: ko.Observable<ISurfaceContext> | ko.Computed<ISurfaceContext>, selection: SurfaceSelection, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, snapHelper: SnapLinesHelper, dragHelperContent: DragHelperContent);
|
|
7366
|
+
startDrag(control: ISelectionTarget): void;
|
|
7367
|
+
drag(event: JQueryEventObject, ui: any): void;
|
|
7368
|
+
doStopDrag(): void;
|
|
7369
|
+
startConnectingPoint: ConnectingPointSurface;
|
|
7370
|
+
newConnector: ConnectorViewModel;
|
|
7371
|
+
get newConnectorSurface(): ConnectorSurface;
|
|
7611
7372
|
}
|
|
7612
7373
|
|
|
7613
|
-
/// <reference types="jquery" />
|
|
7614
7374
|
|
|
7375
|
+
export var groups: GroupObject;
|
|
7376
|
+
export function createDiagramDesigner(element: Element, diagramSource: ko.Observable<any>, localization?: any, rtl?: boolean): any;
|
|
7615
7377
|
|
|
7378
|
+
}
|
|
7379
|
+
declare module DevExpress.QueryBuilder.Elements.Metadata {
|
|
7380
|
+
import ISerializationInfoArray = DevExpress.Analytics.Utils.ISerializationInfoArray;
|
|
7616
7381
|
|
|
7382
|
+
export var AggregationType: {
|
|
7383
|
+
None: string;
|
|
7384
|
+
Count: string;
|
|
7385
|
+
Max: string;
|
|
7386
|
+
Min: string;
|
|
7387
|
+
Avg: string;
|
|
7388
|
+
Sum: string;
|
|
7389
|
+
CountDistinct: string;
|
|
7390
|
+
AvgDistinct: string;
|
|
7391
|
+
SumDistinct: string;
|
|
7392
|
+
};
|
|
7393
|
+
export var columnSerializationInfo: ISerializationInfoArray;
|
|
7617
7394
|
|
|
7395
|
+
export var ColumnType: {
|
|
7396
|
+
RecordsCount: string;
|
|
7397
|
+
Column: string;
|
|
7398
|
+
Expression: string;
|
|
7399
|
+
AllColumns: string;
|
|
7400
|
+
AllColumnsQuery: string;
|
|
7401
|
+
};
|
|
7402
|
+
export var columnExpressionSerializationsInfo: ({
|
|
7403
|
+
propertyName: string;
|
|
7404
|
+
modelName: string;
|
|
7405
|
+
defaultVal?: undefined;
|
|
7406
|
+
} | {
|
|
7407
|
+
propertyName: string;
|
|
7408
|
+
modelName: string;
|
|
7409
|
+
defaultVal: string;
|
|
7410
|
+
} | {
|
|
7411
|
+
propertyName: string;
|
|
7412
|
+
modelName: string;
|
|
7413
|
+
defaultVal: boolean;
|
|
7414
|
+
})[];
|
|
7618
7415
|
|
|
7619
7416
|
|
|
7417
|
+
export var allColumnsSerializationInfo: ISerializationInfoArray;
|
|
7620
7418
|
|
|
7621
7419
|
|
|
7622
|
-
export
|
|
7623
|
-
pageFactory: WizardPageSectionFactory;
|
|
7624
|
-
dispose(): void;
|
|
7625
|
-
static __loadingStateFunctionName: string;
|
|
7626
|
-
stateManager: StateManager;
|
|
7627
|
-
iterator: WizardPageSectionIterator;
|
|
7628
|
-
events: EventManager<WizardPageProcessor, IWizardEvents<WizardPageProcessor>>;
|
|
7629
|
-
protected _createLoadingState(page: IWizardPage): void;
|
|
7630
|
-
protected _createNextAction(page: IWizardPage): void;
|
|
7631
|
-
private _loadingTimeout;
|
|
7632
|
-
private _changeTimeout;
|
|
7633
|
-
protected _loadingState(active: any): void;
|
|
7634
|
-
protected _extendedNextAction(): void;
|
|
7635
|
-
constructor(pageFactory: WizardPageSectionFactory, _loadingState?: (boolean: any) => void, _nextAction?: () => void);
|
|
7636
|
-
private _resetPageById;
|
|
7637
|
-
initialize(state: IDataSourceWizardState, createIterator?: (pageFactory: WizardPageSectionFactory, stateManager: StateManager) => WizardPageSectionIterator): void;
|
|
7638
|
-
private _canNext;
|
|
7639
|
-
private _canFinish;
|
|
7640
|
-
private _initPage;
|
|
7641
|
-
getPageById(pageId: any): WizardPageSection;
|
|
7642
|
-
start(): void;
|
|
7643
|
-
finishAction(): JQuery.Promise<any, any, any>;
|
|
7644
|
-
private _nextAction;
|
|
7645
|
-
sections: WizardPageSection[];
|
|
7646
|
-
isLoading: ko.Observable<boolean>;
|
|
7647
|
-
}
|
|
7648
|
-
|
|
7649
|
-
/// <reference types="jquery" />
|
|
7420
|
+
export var tableSerializationInfo: ISerializationInfoArray;
|
|
7650
7421
|
|
|
7651
7422
|
|
|
7423
|
+
export var relationSerializationInfo: ISerializationInfoArray;
|
|
7652
7424
|
|
|
7425
|
+
export var ParametersMode: {
|
|
7426
|
+
ReadWrite: string;
|
|
7427
|
+
Read: string;
|
|
7428
|
+
Disabled: string;
|
|
7429
|
+
};
|
|
7653
7430
|
|
|
7654
7431
|
|
|
7432
|
+
export var querySerializationsInfo: ISerializationInfoArray;
|
|
7655
7433
|
|
|
7656
7434
|
|
|
7435
|
+
export var ConditionType: {
|
|
7436
|
+
Equal: string;
|
|
7437
|
+
NotEqual: string;
|
|
7438
|
+
Greater: string;
|
|
7439
|
+
GreaterOrEqual: string;
|
|
7440
|
+
Less: string;
|
|
7441
|
+
LessOrEqual: string;
|
|
7442
|
+
};
|
|
7443
|
+
export var joinConditionSerializationInfo: ISerializationInfoArray;
|
|
7657
7444
|
|
|
7445
|
+
}
|
|
7446
|
+
declare module DevExpress.QueryBuilder.Internal {
|
|
7447
|
+
import ColumnExpression = DevExpress.QueryBuilder.Elements.ColumnExpression;
|
|
7448
|
+
import QueryViewModelBase = DevExpress.QueryBuilder.Elements.QueryViewModelBase;
|
|
7449
|
+
import ISerializationInfoArray = DevExpress.Analytics.Utils.ISerializationInfoArray;
|
|
7450
|
+
import IModelSerializer = DevExpress.Analytics.Utils.IModelSerializer;
|
|
7451
|
+
import DBColumn = DevExpress.Analytics.Data.DBColumn;
|
|
7452
|
+
import AllColumnsViewModel = DevExpress.QueryBuilder.Elements.AllColumnsViewModel;
|
|
7453
|
+
import ColumnViewModel = DevExpress.QueryBuilder.Elements.ColumnViewModel;
|
|
7454
|
+
import TableViewModel = DevExpress.QueryBuilder.Elements.TableViewModel;
|
|
7455
|
+
import ElementViewModel = DevExpress.Analytics.Elements.ElementViewModel;
|
|
7456
|
+
import ModelSerializer = DevExpress.Analytics.Utils.ModelSerializer;
|
|
7457
|
+
import IDBSchemaProvider = DevExpress.Analytics.Data.IDBSchemaProvider;
|
|
7458
|
+
import SubNode = DevExpress.Analytics.Data.SubNode;
|
|
7459
|
+
import FederatedQueryExpression = DevExpress.Analytics.Data.FederatedQueryExpression;
|
|
7460
|
+
import FederationDataSource = DevExpress.Analytics.Data.FederationDataSource;
|
|
7461
|
+
import IDataSourceBase = DevExpress.Analytics.Data.IDataSourceBase;
|
|
7462
|
+
import JoinConditionViewModel = DevExpress.QueryBuilder.Elements.JoinConditionViewModel;
|
|
7463
|
+
import QuerySurface = DevExpress.QueryBuilder.Elements.QuerySurface;
|
|
7464
|
+
import TableSurface = DevExpress.QueryBuilder.Elements.TableSurface;
|
|
7465
|
+
import FederationColumnViewModel = DevExpress.QueryBuilder.Internal.FederationColumnViewModel;
|
|
7466
|
+
import SqlDataConnection = DevExpress.Analytics.Data.SqlDataConnection;
|
|
7467
|
+
import ISelectStatementResponse = DevExpress.QueryBuilder.Utils.ISelectStatementResponse;
|
|
7468
|
+
import SqlDataSource = DevExpress.Analytics.Data.SqlDataSource;
|
|
7469
|
+
import DragDropHandler = DevExpress.Analytics.Internal.DragDropHandler;
|
|
7470
|
+
import SurfaceSelection = DevExpress.Analytics.Internal.SurfaceSelection;
|
|
7471
|
+
import ISelectionTarget = DevExpress.Analytics.Internal.ISelectionTarget;
|
|
7472
|
+
import UndoEngine = DevExpress.Analytics.Utils.UndoEngine;
|
|
7473
|
+
import SnapLinesHelper = DevExpress.Analytics.Internal.SnapLinesHelper;
|
|
7474
|
+
import DragHelperContent = DevExpress.Analytics.Internal.DragHelperContent;
|
|
7475
|
+
import RoutedConnectorSurface = DevExpress.Analytics.Diagram.RoutedConnectorSurface;
|
|
7476
|
+
import TreeListItemViewModel = DevExpress.Analytics.Widgets.Internal.TreeListItemViewModel;
|
|
7477
|
+
import IDisposable = DevExpress.Analytics.Utils.IDisposable;
|
|
7478
|
+
import ColumnDragHandler = DevExpress.QueryBuilder.Internal.ColumnDragHandler;
|
|
7479
|
+
import IDesignerModel = DevExpress.Analytics.Internal.IDesignerModel;
|
|
7480
|
+
import DbObjectDragDropHandler = DevExpress.QueryBuilder.Internal.DbObjectDragDropHandler;
|
|
7481
|
+
import QueryBuilderObjectsProvider = DevExpress.QueryBuilder.Widgets.Internal.QueryBuilderObjectsProvider;
|
|
7482
|
+
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
7483
|
+
import ICommonBindingCustomizationHandler = DevExpress.Analytics.Internal.ICommonBindingCustomizationHandler;
|
|
7484
|
+
import ICommonCallbacksHandler = DevExpress.Analytics.Internal.ICommonCallbacksHandler;
|
|
7485
|
+
import JSQueryBuilder = DevExpress.Querybuilder.JSQueryBuilder;
|
|
7486
|
+
import ObjectProperties = DevExpress.Analytics.Widgets.ObjectProperties;
|
|
7487
|
+
import ITreeListOptions = DevExpress.Analytics.Widgets.Internal.ITreeListOptions;
|
|
7488
|
+
import TabInfo = DevExpress.Analytics.Utils.TabInfo;
|
|
7489
|
+
import GroupObject = DevExpress.Analytics.Internal.GroupObject;
|
|
7490
|
+
import QueryViewModel = DevExpress.QueryBuilder.Elements.QueryViewModel;
|
|
7491
|
+
import ControlProperties = DevExpress.Analytics.Internal.ControlProperties;
|
|
7492
|
+
import TreeListController = DevExpress.Analytics.Widgets.Internal.TreeListController;
|
|
7493
|
+
import IQueryBuilderOptions = DevExpress.Querybuilder.IQueryBuilderOptions;
|
|
7494
|
+
import IQueryBuilderCustomizationHandler = DevExpress.QueryBuilder.Internal.IQueryBuilderCustomizationHandler;
|
|
7495
|
+
import IQueryBuilderModel = DevExpress.QueryBuilder.Internal.IQueryBuilderModel;
|
|
7496
|
+
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
7658
7497
|
|
|
7659
7498
|
|
|
7499
|
+
export class ColumnExpressionCollectionHelper {
|
|
7500
|
+
static find(collection: ko.ObservableArray<ColumnExpression>, tableName: string, columnName: string): ColumnExpression;
|
|
7501
|
+
static findByName(collection: ko.ObservableArray<ColumnExpression>, actualName: string): ColumnExpression;
|
|
7502
|
+
static removeDependend(collection: ko.ObservableArray<ColumnExpression>, tableName: string): void;
|
|
7503
|
+
static toExpresson(column: ColumnExpression, columns: ko.ObservableArray<ColumnExpression>, value: any): void;
|
|
7504
|
+
static setUniqueAlias(collection: any, alias: any): string;
|
|
7505
|
+
static createNew(query: QueryViewModelBase, collection: ko.ObservableArray<ColumnExpression>, table: string, column: string): ColumnExpression;
|
|
7506
|
+
static addNew(query: QueryViewModelBase, collection: ko.ObservableArray<ColumnExpression>, table: string, column: string, lazy?: boolean): ColumnExpression;
|
|
7507
|
+
static remove(collection: ko.ObservableArray<ColumnExpression>, tableName: string, columnName: string, lazy?: boolean): void;
|
|
7508
|
+
static columnTypeToFederated(type: any): string;
|
|
7509
|
+
static federatedTypeToColumn(type: any): string;
|
|
7510
|
+
}
|
|
7660
7511
|
|
|
7661
7512
|
|
|
7662
7513
|
|
|
7663
7514
|
|
|
7664
|
-
export interface IParameter {
|
|
7665
|
-
name: string;
|
|
7666
|
-
value: any;
|
|
7667
|
-
}
|
|
7668
|
-
export enum WizardSectionPosition {
|
|
7669
|
-
Left = 1,
|
|
7670
|
-
TopLeft = 2,
|
|
7671
|
-
BottomLeft = 3,
|
|
7672
|
-
Right = 4,
|
|
7673
|
-
TopRight = 5,
|
|
7674
|
-
BottomRight = 6,
|
|
7675
|
-
Top = 7,
|
|
7676
|
-
Bottom = 8
|
|
7677
|
-
}
|
|
7678
|
-
export interface IJsonDataSourceWizardCallbacks {
|
|
7679
|
-
getParameters?: () => IParameter[];
|
|
7680
|
-
}
|
|
7681
|
-
export interface IDataSourceWizardCallbacks extends IJsonDataSourceWizardCallbacks {
|
|
7682
|
-
selectStatement?: (connection: SqlDataConnection, queryJSON: string) => JQueryPromise<ISelectStatementResponse>;
|
|
7683
|
-
finishCallback?: (wizardModel: any) => JQueryPromise<any>;
|
|
7684
|
-
customQueriesPreset?: (dataSource: SqlDataSource) => JQueryPromise<ISqlQueryViewModel[]>;
|
|
7685
|
-
customizeQBInitData?: (data: any) => any;
|
|
7686
|
-
validateJsonUri?: (data: any) => any;
|
|
7687
|
-
getItemsProviderCallback?: () => IItemsProvider;
|
|
7688
|
-
fieldListsCallback?: (request: IPathRequest, dataSource?: IDataSourceInfo) => JQueryPromise<IDataMemberInfo[]>;
|
|
7689
|
-
}
|
|
7690
|
-
export interface IPopoverListOptions {
|
|
7691
|
-
showPopover: () => void;
|
|
7692
|
-
target?: string;
|
|
7693
|
-
popoverListItems: () => any[];
|
|
7694
|
-
className?: string;
|
|
7695
|
-
popoverVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7696
|
-
position?: any;
|
|
7697
|
-
popupContainer?: string;
|
|
7698
|
-
}
|
|
7699
|
-
export class CustomQueryTreeListItem extends TreeListItemViewModel {
|
|
7700
|
-
dispose(): void;
|
|
7701
|
-
protected _getTemplateName(): string;
|
|
7702
|
-
protected _getCustomizedTemplateName(isEditable: boolean): string;
|
|
7703
|
-
queryName: ko.Computed<string>;
|
|
7704
|
-
editingMode: ko.Observable<boolean>;
|
|
7705
|
-
}
|
|
7706
|
-
export class MultiQueryTreeListItemFactory extends DefaultTreeListItemFactory {
|
|
7707
|
-
createItem(options: any, path?: string[], onItemsVisibilityChanged?: any, rtl?: any, resolver?: any): TreeListItemViewModel;
|
|
7708
|
-
}
|
|
7709
|
-
export interface IMultiQueryDataSourceWizardCallbacks extends IDataSourceWizardCallbacks {
|
|
7710
|
-
sqlDataSourceResultSchema?: (dataSource: SqlDataSource) => JQueryPromise<{
|
|
7711
|
-
resultSchemaJSON: string;
|
|
7712
|
-
connectionParameters?: string;
|
|
7713
|
-
}>;
|
|
7714
|
-
federationDataSourceResultSchema?: (dataSource: FederationDataSource) => JQueryPromise<{
|
|
7715
|
-
resultSchemaJSON: string;
|
|
7716
|
-
}>;
|
|
7717
|
-
}
|
|
7718
|
-
export interface IParametersViewModelConverter {
|
|
7719
|
-
createParameterViewModel(parameter: DataSourceParameter): any;
|
|
7720
|
-
getParameterFromViewModel(parameterViewModel: any): DataSourceParameter;
|
|
7721
|
-
}
|
|
7722
|
-
export interface IWizardPageStyle {
|
|
7723
|
-
top?: any;
|
|
7724
|
-
bottom?: any;
|
|
7725
|
-
left?: any;
|
|
7726
|
-
right?: any;
|
|
7727
|
-
width?: any;
|
|
7728
|
-
height?: any;
|
|
7729
|
-
display?: any;
|
|
7730
|
-
}
|
|
7731
|
-
export function getSectionStyle(position: WizardSectionPosition, defaultMargin?: number, isVisible?: boolean): IWizardPageStyle;
|
|
7732
|
-
export function subscribeArray<T>(array: ko.ObservableArray<T>, subscribeItem: (value: T, onChange: () => void) => void, onChange: () => void): ko.Subscription;
|
|
7733
|
-
export function subscribeProperties(properties: Array<ko.Observable<any> | ko.Computed<any>>, onChange: (val?: any) => void): any[];
|
|
7734
|
-
export function subscribeObject<T>(object: ko.Observable<T> | ko.Computed<T>, subscribeProperties: (value: T, onChange: () => void) => void, onChange: () => void): ko.Subscription;
|
|
7735
|
-
export function _createBeforeInitializePageEventArgs<TWizard extends BaseWizard | WizardPageProcessor>(page: _WrappedWizardPage, self: TWizard): IBeforeWizardPageInitializeEventArgs<TWizard>;
|
|
7736
|
-
export function _createPageEventArgs<TWizard extends BaseWizard | WizardPageProcessor>(page: _WrappedWizardPage, self: TWizard): IWizardPageEventArgs<TWizard>;
|
|
7737
7515
|
|
|
7738
7516
|
|
|
7739
7517
|
|
|
7740
|
-
export
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
}
|
|
7748
|
-
export class FederatedQueriesTreeNode extends QueriesTreeNode {
|
|
7749
|
-
callbacks?: ko.Observable<IFederationAddQueriesTreeListCallbacks>;
|
|
7750
|
-
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, callbacks?: ko.Observable<IFederationAddQueriesTreeListCallbacks>, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
7751
|
-
addAction: {
|
|
7752
|
-
clickAction: () => void;
|
|
7753
|
-
imageClassName: string;
|
|
7754
|
-
imageTemplateName: string;
|
|
7755
|
-
templateName: string;
|
|
7756
|
-
text: any;
|
|
7757
|
-
};
|
|
7758
|
-
getActions(context: {
|
|
7759
|
-
path: string;
|
|
7760
|
-
}): Array<any>;
|
|
7761
|
-
popoverListItems(): Array<any>;
|
|
7762
|
-
className: string;
|
|
7518
|
+
export class FederationColumnViewModel extends ColumnViewModel {
|
|
7519
|
+
constructor(model: any, dbColumn: DBColumn, parent: TableViewModel, serializer?: IModelSerializer);
|
|
7520
|
+
getInfo(): ISerializationInfoArray;
|
|
7521
|
+
}
|
|
7522
|
+
export class FederationAllColumnsViewModel extends AllColumnsViewModel {
|
|
7523
|
+
constructor(parent: TableViewModel, serializer?: any);
|
|
7524
|
+
getInfo(): ISerializationInfoArray;
|
|
7763
7525
|
}
|
|
7764
7526
|
|
|
7765
7527
|
|
|
@@ -7769,199 +7531,166 @@ declare module DevExpress.Analytics.Wizard.Internal {
|
|
|
7769
7531
|
|
|
7770
7532
|
|
|
7771
7533
|
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7534
|
+
|
|
7535
|
+
|
|
7536
|
+
|
|
7537
|
+
|
|
7538
|
+
|
|
7539
|
+
|
|
7540
|
+
|
|
7541
|
+
|
|
7542
|
+
|
|
7543
|
+
export var federationQuerySerializationsInfo: ISerializationInfoArray;
|
|
7544
|
+
export class FederationQueryViewModel extends QueryViewModelBase {
|
|
7545
|
+
private _dbSchemaProvider?;
|
|
7546
|
+
private serializer?;
|
|
7547
|
+
private static emptyModel;
|
|
7548
|
+
protected _initializeTable(table: FederationTableViewModel): void;
|
|
7549
|
+
private _createTableViewModel;
|
|
7550
|
+
constructor(querySource: any, dataSource: IDataSourceBase, _dbSchemaProvider?: IDBSchemaProvider, parametersMode?: string, serializer?: ModelSerializer);
|
|
7787
7551
|
dispose(): void;
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7552
|
+
serialize(includeRootTag?: boolean): any;
|
|
7553
|
+
createChild(info: any, model?: any, path?: string): ElementViewModel;
|
|
7554
|
+
cerateJoinCondition(parentColumn: ColumnViewModel, nestedColumn: ColumnViewModel): JoinConditionViewModel;
|
|
7555
|
+
getInfo(): ISerializationInfoArray;
|
|
7556
|
+
tables: ko.ObservableArray<FederationTableViewModel>;
|
|
7557
|
+
expressions: ko.ObservableArray<FederatedQueryExpression>;
|
|
7558
|
+
subNodes: ko.ObservableArray<SubNode>;
|
|
7559
|
+
rootModel: ko.Observable<FederationTableViewModel>;
|
|
7560
|
+
dataSource: FederationDataSource;
|
|
7561
|
+
controlType: string;
|
|
7562
|
+
defaultPageHeight: number;
|
|
7563
|
+
topOffset: number;
|
|
7564
|
+
}
|
|
7565
|
+
export class FederationQuerySurface extends QuerySurface {
|
|
7566
|
+
}
|
|
7567
|
+
export class FederationTableViewModel extends TableViewModel {
|
|
7568
|
+
constructor(model: any, parent: FederationQueryViewModel, path: string, serializer?: ModelSerializer);
|
|
7569
|
+
queryType: ko.Observable<string> | ko.Computed<string>;
|
|
7570
|
+
path: string;
|
|
7571
|
+
sourceName: ko.Observable<string> | ko.Computed<string>;
|
|
7572
|
+
getInfo(): ISerializationInfoArray;
|
|
7573
|
+
getPath(): string;
|
|
7574
|
+
createChildColumn(item: DBColumn): FederationColumnViewModel;
|
|
7575
|
+
displaySourceName: ko.Observable<string>;
|
|
7576
|
+
}
|
|
7577
|
+
export class FederationTableSurface extends TableSurface {
|
|
7578
|
+
titletemplate: string;
|
|
7808
7579
|
}
|
|
7809
7580
|
|
|
7810
7581
|
/// <reference types="jquery" />
|
|
7811
7582
|
|
|
7812
7583
|
|
|
7813
|
-
export class FederationTablesExpressionFieldListProvider implements IItemsProvider {
|
|
7814
|
-
private provider;
|
|
7815
|
-
private tables;
|
|
7816
|
-
getItems(pathRequest: any): JQuery.Promise<IDataMemberInfo[], any, any>;
|
|
7817
|
-
constructor(provider: IItemsProvider, tables: ko.ObservableArray<FederationTableViewModel>);
|
|
7818
|
-
}
|
|
7819
7584
|
|
|
7820
7585
|
|
|
7586
|
+
export function wrapGetSelectStatement(callback?: (connection: SqlDataConnection, queryJSON: string) => JQueryPromise<ISelectStatementResponse>): (connection: SqlDataConnection, queryJSON: string) => JQueryPromise<ISelectStatementResponse>;
|
|
7587
|
+
export function wrapRebuildResultSchema(callback?: (dataSource: SqlDataSource, queryName?: string, relationsEditing?: boolean) => JQueryPromise<{
|
|
7588
|
+
resultSchemaJSON: string;
|
|
7589
|
+
connectionParameters?: string;
|
|
7590
|
+
}>): (dataSource: SqlDataSource, queryName?: string, relationsEditing?: boolean) => JQueryPromise<{
|
|
7591
|
+
resultSchemaJSON: string;
|
|
7592
|
+
connectionParameters?: string;
|
|
7593
|
+
}>;
|
|
7594
|
+
export function wrapGetFederationdResultSchema(callback?: (dataSource: FederationDataSource) => JQueryPromise<{
|
|
7595
|
+
resultSchemaJSON: string;
|
|
7596
|
+
}>): (dataSource: FederationDataSource) => JQueryPromise<{
|
|
7597
|
+
resultSchemaJSON: string;
|
|
7598
|
+
}>;
|
|
7821
7599
|
|
|
7600
|
+
/// <reference types="jquery" />
|
|
7822
7601
|
|
|
7823
7602
|
|
|
7824
7603
|
|
|
7825
7604
|
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
private _gridComponent;
|
|
7841
|
-
private _onContentReady;
|
|
7842
|
-
private _getQuery;
|
|
7843
|
-
private _afterChangeColumn;
|
|
7844
|
-
private _changeColumn;
|
|
7845
|
-
private _switchEditors;
|
|
7846
|
-
private _deleteRow;
|
|
7847
|
-
private _onRowUpdating;
|
|
7848
|
-
protected _aliasValidationCallback(alias: string, data: {
|
|
7849
|
-
key: string;
|
|
7850
|
-
alias: string;
|
|
7851
|
-
}): boolean;
|
|
7852
|
-
dispose(): void;
|
|
7853
|
-
private _generateKey;
|
|
7854
|
-
private _isSelectAllItemByKey;
|
|
7855
|
-
constructor(onSaveCallback: (query: SelectQuery) => void, dataSource: FederationDataSource, rtl?: boolean, onCloseCallback?: () => void);
|
|
7856
|
-
save(): void;
|
|
7857
|
-
addRow(): void;
|
|
7858
|
-
canSave(): boolean;
|
|
7859
|
-
addDataMember(item: TreeListItemViewModel, position?: {
|
|
7860
|
-
left: number;
|
|
7605
|
+
|
|
7606
|
+
|
|
7607
|
+
|
|
7608
|
+
|
|
7609
|
+
export class ColumnDragHandler extends DragDropHandler {
|
|
7610
|
+
private querySurface;
|
|
7611
|
+
private undoEngine;
|
|
7612
|
+
private _dragColumn;
|
|
7613
|
+
private _dragConditionSurface;
|
|
7614
|
+
private _scrollProcessor;
|
|
7615
|
+
private _needToCreateRelation;
|
|
7616
|
+
constructor(querySurface: ko.Observable<QuerySurface>, selection: SurfaceSelection, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, snapHelper: SnapLinesHelper, dragHelperContent: DragHelperContent);
|
|
7617
|
+
startDrag(control: ISelectionTarget): void;
|
|
7618
|
+
setConnectorPoints(cursorPosition: {
|
|
7861
7619
|
top: number;
|
|
7620
|
+
left: number;
|
|
7862
7621
|
}): void;
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
addRowDisabled: ko.PureComputed<boolean>;
|
|
7868
|
-
popupContentTemplate: string;
|
|
7869
|
-
columnsExpressions: ko.PureComputed<IFederationSelectQBGridColumnsExpressions[]>;
|
|
7870
|
-
allColumns: ko.PureComputed<IFederationSelectQBGridAllColumns[]>;
|
|
7871
|
-
queryBuilderSurfaceCreator: IQueryBuilderSurfaceCreator;
|
|
7872
|
-
_querySource: ko.Observable<any>;
|
|
7873
|
-
designer: ko.Observable<any>;
|
|
7874
|
-
joinResultCollapsed: ko.Observable<boolean>;
|
|
7875
|
-
selectQuery: SelectQuery;
|
|
7876
|
-
width: string;
|
|
7877
|
-
height: string;
|
|
7878
|
-
cssClass: string;
|
|
7622
|
+
drag(event: JQueryEventObject, ui: any): void;
|
|
7623
|
+
doStopDrag(): void;
|
|
7624
|
+
dragDropConnector: ko.Observable<RoutedConnectorSurface>;
|
|
7625
|
+
getDragColumn(): ColumnViewModel;
|
|
7879
7626
|
}
|
|
7880
7627
|
|
|
7881
|
-
/// <reference types="jquery" />
|
|
7882
7628
|
|
|
7883
7629
|
|
|
7884
|
-
export class TransformResultSchemaProvider implements IItemsProvider {
|
|
7885
|
-
constructor(itemsProvider: IItemsProvider, transformData: ko.Observable<any[]>, currentPath: ko.Observable<string>);
|
|
7886
|
-
dispose: () => void;
|
|
7887
|
-
getItems: (path: IPathRequest) => JQueryPromise<IDataMemberInfo[]>;
|
|
7888
|
-
}
|
|
7889
7630
|
|
|
7890
7631
|
|
|
7891
7632
|
|
|
7892
7633
|
|
|
7893
7634
|
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
onHiding(): void;
|
|
7907
|
-
show(query: TransformQuery): void;
|
|
7908
|
-
transformGrid: any;
|
|
7909
|
-
transformGridTitle: ko.Observable<string>;
|
|
7910
|
-
transformResultGridTitle: ko.Observable<string>;
|
|
7911
|
-
transformResultCollapsed: ko.Observable<boolean>;
|
|
7912
|
-
transformSources: ko.Observable<any[]>;
|
|
7913
|
-
resultFieldListModel: ko.Observable<ITreeListOptions>;
|
|
7914
|
-
currentPath: ko.Observable<string>;
|
|
7915
|
-
transformQuery: ko.Observable<TransformQuery>;
|
|
7916
|
-
popupContentTemplate: string;
|
|
7635
|
+
|
|
7636
|
+
|
|
7637
|
+
export class DbObjectDragDropHandler extends DragDropHandler {
|
|
7638
|
+
private _undoEngine;
|
|
7639
|
+
private _querySurface;
|
|
7640
|
+
protected _query: () => QueryViewModelBase;
|
|
7641
|
+
protected suggestLocation(newControl: TableViewModel, query: QueryViewModelBase): void;
|
|
7642
|
+
getDropCallback: (undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, suggestLocation: boolean) => (item: TreeListItemViewModel, query: QueryViewModelBase) => TableViewModel;
|
|
7643
|
+
constructor(surface: ko.Observable<QuerySurface>, selection: SurfaceSelection, _undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, snapHelper: SnapLinesHelper, dragHelperContent: DragHelperContent);
|
|
7644
|
+
startDrag(draggable: any): void;
|
|
7645
|
+
doStopDrag(ui: any, draggable: any): void;
|
|
7646
|
+
addControl(control: any, dropTargetSurface: any, size: any): void;
|
|
7917
7647
|
}
|
|
7918
7648
|
|
|
7649
|
+
/// <reference types="jquery" />
|
|
7919
7650
|
|
|
7920
7651
|
|
|
7921
7652
|
|
|
7922
7653
|
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7654
|
+
|
|
7655
|
+
|
|
7656
|
+
export interface IQueryBuilderModel extends IDesignerModel, IDisposable {
|
|
7657
|
+
rootStyle: string;
|
|
7658
|
+
columnDragHandler: ColumnDragHandler;
|
|
7659
|
+
connectionPointDragHandler: ColumnDragHandler;
|
|
7660
|
+
fieldDragHandler: DbObjectDragDropHandler;
|
|
7661
|
+
fieldListProvider: QueryBuilderObjectsProvider;
|
|
7662
|
+
dataBindingsProvider: QueryBuilderObjectsProvider;
|
|
7663
|
+
parametersBindingsProvider: IItemsProvider;
|
|
7664
|
+
dataBindingsGroupProvider: QueryBuilderObjectsProvider;
|
|
7665
|
+
selectStatmentPreview: IQueryBuilderDialog;
|
|
7666
|
+
dataPreview: IQueryBuilderDialog;
|
|
7667
|
+
findControl: (s: any, e: JQueryEventObject) => void;
|
|
7668
|
+
showPreview: () => void;
|
|
7669
|
+
showStatement: () => void;
|
|
7670
|
+
columnsLoadingMsg?: () => string;
|
|
7671
|
+
updateSurfaceSize: () => void;
|
|
7672
|
+
updateSurface: () => void;
|
|
7673
|
+
}
|
|
7674
|
+
export interface IQueryBuilderDialog {
|
|
7675
|
+
isLoading: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7676
|
+
isVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
7677
|
+
template: string;
|
|
7678
|
+
title: () => string;
|
|
7679
|
+
data: any;
|
|
7680
|
+
okButtonText: () => string;
|
|
7681
|
+
okButtonHandler: (e: any) => void;
|
|
7682
|
+
container: any;
|
|
7941
7683
|
}
|
|
7942
7684
|
|
|
7943
|
-
/// <reference types="jquery" />
|
|
7944
|
-
|
|
7945
7685
|
|
|
7686
|
+
export function serializeDataConnection(connection: SqlDataConnection): string;
|
|
7946
7687
|
|
|
7947
7688
|
|
|
7948
7689
|
|
|
7949
|
-
export
|
|
7950
|
-
|
|
7951
|
-
constructor(model: any);
|
|
7952
|
-
}
|
|
7953
|
-
export interface IObjectSchemaProvider extends IItemsProvider {
|
|
7954
|
-
getObjectTypeDescriptions: () => JQueryPromise<ObjectTypeDescriptions>;
|
|
7690
|
+
export interface IQueryBuilderCustomizationHandler extends ICommonCallbacksHandler<JSQueryBuilder> {
|
|
7691
|
+
saveQueryRequested?: (serializedData: any) => void;
|
|
7955
7692
|
}
|
|
7956
|
-
export
|
|
7957
|
-
export class ObjectSchemaProvider extends Disposable implements IObjectSchemaProvider {
|
|
7958
|
-
private _requestWrapper;
|
|
7959
|
-
private _objectTypeDescriptionsPromise;
|
|
7960
|
-
constructor(_requestWrapper?: RequestWrapper);
|
|
7961
|
-
dispose(): void;
|
|
7962
|
-
getItems: (IPathRequest: any) => JQueryPromise<IDataMemberInfo[]>;
|
|
7963
|
-
getSchemaByPath(pathRequest: IPathRequest, objectSchema: ObjectTypeDescriptions): IDataMemberInfo[];
|
|
7964
|
-
getObjectTypeDescriptions(context?: string): JQueryPromise<ObjectTypeDescriptions>;
|
|
7693
|
+
export interface IJSQueryBuilderCallbacks extends IQueryBuilderCustomizationHandler, ICommonBindingCustomizationHandler<JSQueryBuilder> {
|
|
7965
7694
|
}
|
|
7966
7695
|
|
|
7967
7696
|
|
|
@@ -7969,131 +7698,90 @@ declare module DevExpress.Analytics.Wizard.Internal {
|
|
|
7969
7698
|
|
|
7970
7699
|
|
|
7971
7700
|
|
|
7972
|
-
export class ChooseObjectTypesTreelistController extends TreeListController {
|
|
7973
|
-
canSelect(value: any): boolean;
|
|
7974
|
-
}
|
|
7975
|
-
export class ChooseObjectTypes extends Disposable {
|
|
7976
|
-
types: ko.ObservableArray<ObjectType>;
|
|
7977
|
-
constructor(types: ko.ObservableArray<ObjectType>, provider: ObjectSchemaProvider);
|
|
7978
|
-
availableTypesTreelistModel: ITreeListOptions;
|
|
7979
|
-
selectedType: ko.Observable<ObjectType>;
|
|
7980
|
-
selectedCtor: ko.Observable<ObjectCtor>;
|
|
7981
|
-
selectedPath: ko.Observable<string>;
|
|
7982
|
-
_scrollViewHeight: string;
|
|
7983
|
-
}
|
|
7984
|
-
|
|
7985
7701
|
|
|
7986
7702
|
|
|
7987
|
-
export
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7703
|
+
export interface ITabModel {
|
|
7704
|
+
editableObject: any;
|
|
7705
|
+
properties: ObjectProperties;
|
|
7706
|
+
}
|
|
7707
|
+
export interface IItemPropertiesTabModel extends ITabModel {
|
|
7708
|
+
fieldListModel: {
|
|
7709
|
+
treeListOptions: ko.Observable<ITreeListOptions> | ko.Computed<ITreeListOptions>;
|
|
7710
|
+
};
|
|
7711
|
+
tablesTop: ko.Observable<number> | ko.Computed<number>;
|
|
7712
|
+
searchPlaceholder: () => string;
|
|
7713
|
+
}
|
|
7714
|
+
export class AccordionTabInfo extends TabInfo {
|
|
7715
|
+
static _getSelectedItemPropertyName(model: any): string;
|
|
7716
|
+
static _createWrappedObject(query: any, commonModel: any, undoEngine: any, showParameters: boolean): {
|
|
7717
|
+
selectedItem: any;
|
|
7718
|
+
query: {
|
|
7719
|
+
editableObject: any;
|
|
7720
|
+
properties: ObjectProperties;
|
|
7721
|
+
};
|
|
7722
|
+
fields: any;
|
|
7723
|
+
isPropertyVisible: (propertyName: string) => boolean;
|
|
7724
|
+
};
|
|
7725
|
+
static _createGroups(editableObject: ko.Observable<any>, showParameters: boolean): GroupObject;
|
|
7726
|
+
static _createQBPropertyGrid(query: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>, commonModel: IItemPropertiesTabModel, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, showParameters: boolean): ControlProperties;
|
|
7727
|
+
private _getGroupByName;
|
|
7728
|
+
constructor(query: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>, itemPropertiesTabInfoModel: IItemPropertiesTabModel, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, focused: ko.Observable | ko.Computed, showParameters: boolean);
|
|
7729
|
+
model: ControlProperties;
|
|
7730
|
+
}
|
|
7731
|
+
export class SelectedTabInfo extends TabInfo {
|
|
7732
|
+
model: ObjectProperties;
|
|
7733
|
+
constructor(model: ObjectProperties);
|
|
7992
7734
|
}
|
|
7993
7735
|
|
|
7994
7736
|
|
|
7737
|
+
export function registerControls(): void;
|
|
7995
7738
|
|
|
7996
7739
|
|
|
7997
|
-
export class FederationDataSourceItemsExtender implements IItemsExtender {
|
|
7998
|
-
private _rootItems;
|
|
7999
|
-
constructor(_rootItems: ko.ObservableArray<IDataSourceInfo>);
|
|
8000
|
-
afterItemsFilled(request: PathRequest, items: IDataMemberInfo[]): void;
|
|
8001
|
-
beforeItemsFilled(request: PathRequest, items: IDataMemberInfo[]): boolean;
|
|
8002
|
-
}
|
|
8003
7740
|
|
|
8004
7741
|
|
|
8005
7742
|
|
|
8006
7743
|
|
|
7744
|
+
export class QueryBuilderTreeListController extends TreeListController {
|
|
7745
|
+
private undoEngine;
|
|
7746
|
+
private query;
|
|
7747
|
+
private _dragDropHandler;
|
|
7748
|
+
constructor(undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, query: ko.Subscribable<QueryViewModel>, dragDropHandler: DbObjectDragDropHandler);
|
|
7749
|
+
dblClickHandler(item: TreeListItemViewModel): void;
|
|
7750
|
+
}
|
|
8007
7751
|
|
|
7752
|
+
/// <reference types="jquery" />
|
|
7753
|
+
/// <reference types="jqueryui" />
|
|
8008
7754
|
|
|
8009
7755
|
|
|
8010
|
-
export class FederationTreeNodeProvider extends TreeNodeItemsProvider {
|
|
8011
|
-
constructor(fieldListProvider: FieldListProvider, rootItems: ko.ObservableArray<IDataMemberInfo>, callBacks: IFederationQueryBuilderCallbacks, customQueries: ko.ObservableArray<IFederationQuery>, afterCheckToggled: (node: TreeNodeBase) => void);
|
|
8012
|
-
private _queries;
|
|
8013
|
-
private _customQueries;
|
|
8014
|
-
private _callBack;
|
|
8015
|
-
isList(dataMember: IDataMemberInfo, parentNode: FederationDataMemberTreeNode): boolean;
|
|
8016
|
-
} class FederationDataMemberTreeNode extends DataMemberTreeNode {
|
|
8017
|
-
constructor(name: string, displayName: string, specifics: string, isListType: boolean, isChecked: boolean, path: string, afterCheckToggled?: (node: DataMemberTreeNode) => void);
|
|
8018
|
-
isListType: boolean;
|
|
8019
|
-
}
|
|
8020
|
-
export {};
|
|
8021
7756
|
|
|
8022
7757
|
|
|
8023
7758
|
|
|
8024
7759
|
|
|
8025
|
-
export
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
getActions(value: TreeListItemViewModel): IAction[];
|
|
8029
|
-
canSelect(value: TreeListItemViewModel): boolean;
|
|
7760
|
+
export interface IQueryBuilderSurfaceCreator {
|
|
7761
|
+
options: IQueryBuilderOptions;
|
|
7762
|
+
creator: (options: IQueryBuilderOptions) => QueryViewModelBase;
|
|
8030
7763
|
}
|
|
7764
|
+
export function updateQueryBuilderSurfaceContentSize(getRoot: () => JQuery<HTMLElement>, surfaceSize: ko.Observable<number> | ko.Computed<number>, surface: ko.Observable<QuerySurface>, updateLayoutCallbacks?: Array<() => void>): () => void;
|
|
7765
|
+
export function createIsLoadingFlag(model: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>, dbSchemaProvider: ko.Observable<IDBSchemaProvider> | ko.Computed<IDBSchemaProvider>): ko.PureComputed<boolean>;
|
|
7766
|
+
export function createQueryBuilder(element: Element, options: IQueryBuilderOptions, callbacks: IQueryBuilderCustomizationHandler, applyBindings?: boolean): JQueryDeferred<IQueryBuilderModel>;
|
|
7767
|
+
export function createQueryBuilderSurface(element: Element, options: IQueryBuilderOptions, queryCreator: (options: IQueryBuilderOptions) => QueryViewModelBase): IQueryBuilderModel;
|
|
8031
7768
|
|
|
7769
|
+
export {};
|
|
8032
7770
|
|
|
8033
7771
|
|
|
8034
7772
|
|
|
8035
7773
|
|
|
8036
7774
|
|
|
8037
|
-
export class
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
});
|
|
8044
|
-
dataSourceParameter: ko.Observable<{
|
|
8045
|
-
name: ko.Observable<string> | ko.Computed<string>;
|
|
8046
|
-
}> | ko.Computed<{
|
|
8047
|
-
name: ko.Observable<string> | ko.Computed<string>;
|
|
8048
|
-
}>;
|
|
8049
|
-
editor: DevExpress.Analytics.Utils.IEditorInfo;
|
|
8050
|
-
isList: boolean;
|
|
8051
|
-
contenttemplate: string;
|
|
8052
|
-
actionsTemplate: string;
|
|
8053
|
-
get name(): string;
|
|
8054
|
-
get displayName(): string;
|
|
8055
|
-
}
|
|
8056
|
-
export class ParametersTreeListItem extends ParametersTreeListItemBase {
|
|
8057
|
-
parent: ParametersTreeListRootItem;
|
|
8058
|
-
constructor(parameter: {
|
|
8059
|
-
name: ko.Observable<string> | ko.Computed<string>;
|
|
8060
|
-
}, parent: ParametersTreeListRootItem);
|
|
8061
|
-
query(): ISqlQueryViewModel;
|
|
8062
|
-
}
|
|
8063
|
-
export class ParametersTreeListRootItemBase implements IDataMemberInfo {
|
|
8064
|
-
constructor(name: string);
|
|
8065
|
-
name: string;
|
|
8066
|
-
displayName: string;
|
|
8067
|
-
isList: boolean;
|
|
8068
|
-
specifics: string;
|
|
8069
|
-
parameters: ko.ObservableArray<ParametersTreeListItemBase>;
|
|
8070
|
-
visible: ko.Observable<boolean>;
|
|
8071
|
-
removeChild(parameter: any): void;
|
|
8072
|
-
}
|
|
8073
|
-
export class ParametersTreeListRootItem extends ParametersTreeListRootItemBase {
|
|
8074
|
-
private _query;
|
|
8075
|
-
constructor(query: ISqlQueryViewModel);
|
|
8076
|
-
query(): ISqlQueryViewModel;
|
|
7775
|
+
export class FederatedUnionQueryBuilderTreeListController extends TreeListController {
|
|
7776
|
+
dragDropHandler: DragDropHandler;
|
|
7777
|
+
dblClickHandler: (item: TreeListItemViewModel) => void;
|
|
7778
|
+
itemsFilter(item: IDataMemberInfo, path?: string, model?: TreeListItemViewModel): boolean;
|
|
7779
|
+
isDraggable(item: TreeListItemViewModel): boolean;
|
|
7780
|
+
constructor(dragDropHandler: DragDropHandler, dblClickHandler: (item: TreeListItemViewModel) => void);
|
|
8077
7781
|
}
|
|
8078
|
-
export class
|
|
8079
|
-
|
|
8080
|
-
private _rootItems;
|
|
8081
|
-
constructor(rootItems: ParametersTreeListRootItemBase[], createNewParameter: (queryName: string, parameters: {
|
|
8082
|
-
name: string;
|
|
8083
|
-
}[]) => any);
|
|
7782
|
+
export class FederatedTransformQueryBuilderTreeListController extends FederatedUnionQueryBuilderTreeListController {
|
|
7783
|
+
itemsFilter(item: IDataMemberInfo, path: string, model: TreeListItemViewModel): boolean;
|
|
8084
7784
|
hasItems(item: IDataMemberInfo): boolean;
|
|
8085
|
-
getActions(treeListItem: TreeListItemViewModel & {
|
|
8086
|
-
data: ParametersTreeListRootItem | ParametersTreeListItem;
|
|
8087
|
-
}): IAction[];
|
|
8088
|
-
canSelect(value: TreeListItemViewModel): boolean;
|
|
8089
|
-
}
|
|
8090
|
-
|
|
8091
|
-
export class WizardAction {
|
|
8092
|
-
constructor(handler: () => void, text: string);
|
|
8093
|
-
isVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
8094
|
-
isDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
8095
|
-
handler: () => void;
|
|
8096
|
-
text: string;
|
|
8097
7785
|
}
|
|
8098
7786
|
|
|
8099
7787
|
}
|
|
@@ -8101,23 +7789,25 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8101
7789
|
import IDisposable = DevExpress.Analytics.Utils.IDisposable;
|
|
8102
7790
|
import IWizardPage = DevExpress.Analytics.Wizard.IWizardPage;
|
|
8103
7791
|
import IWizardPageMetadata = DevExpress.Analytics.Wizard.IWizardPageMetadata;
|
|
8104
|
-
import PageFactory = DevExpress.Analytics.Wizard.PageFactory;
|
|
8105
7792
|
import Disposable = DevExpress.Analytics.Utils.Disposable;
|
|
8106
|
-
import IDataSourceWizardState = DevExpress.Analytics.Wizard.IDataSourceWizardState;
|
|
8107
7793
|
import _DataSourceWizardOptions = DevExpress.Analytics.Wizard._DataSourceWizardOptions;
|
|
7794
|
+
import IDataSourceWizardState = DevExpress.Analytics.Wizard.IDataSourceWizardState;
|
|
7795
|
+
import PageFactory = DevExpress.Analytics.Wizard.PageFactory;
|
|
8108
7796
|
import WizardPageBase = DevExpress.Analytics.Wizard.WizardPageBase;
|
|
8109
7797
|
import SqlDataSource = DevExpress.Analytics.Data.SqlDataSource;
|
|
8110
7798
|
import ISqlQueryViewModel = DevExpress.QueryBuilder.Utils.ISqlQueryViewModel;
|
|
8111
7799
|
import RequestWrapper = DevExpress.QueryBuilder.Utils.RequestWrapper;
|
|
8112
|
-
import
|
|
7800
|
+
import IDataSourceInfo = DevExpress.Analytics.Internal.IDataSourceInfo;
|
|
7801
|
+
import FederationDataSource = DevExpress.Analytics.Data.FederationDataSource;
|
|
7802
|
+
import JsonDataSource = DevExpress.Analytics.Data.JsonDataSource;
|
|
7803
|
+
import ObjectDataSource = DevExpress.Analytics.Data.ObjectDataSource;
|
|
8113
7804
|
import ObjectCtor = DevExpress.Analytics.Data.ObjectCtor;
|
|
7805
|
+
import ObjectDataMember = DevExpress.Analytics.Data.ObjectDataMember;
|
|
8114
7806
|
import ObjectType = DevExpress.Analytics.Data.ObjectType;
|
|
8115
7807
|
import DataSourceType = DevExpress.Analytics.Wizard.DataSourceType;
|
|
8116
|
-
import JsonDataSource = DevExpress.Analytics.Data.JsonDataSource;
|
|
8117
|
-
import ObjectDataSource = DevExpress.Analytics.Data.ObjectDataSource;
|
|
8118
|
-
import FederationDataSource = DevExpress.Analytics.Data.FederationDataSource;
|
|
8119
|
-
import IDataSourceInfo = DevExpress.Analytics.Internal.IDataSourceInfo;
|
|
8120
7808
|
import _SqlDataSourceWrapper = DevExpress.Analytics.Wizard._SqlDataSourceWrapper;
|
|
7809
|
+
import _WrappedWizardPage = DevExpress.Analytics.Wizard._WrappedWizardPage;
|
|
7810
|
+
import StateManager = DevExpress.Analytics.Wizard.StateManager;
|
|
8121
7811
|
import ISqlDataSourceWizardState = DevExpress.Analytics.Wizard.ISqlDataSourceWizardState;
|
|
8122
7812
|
import IConnectionStringDefinition = DevExpress.Analytics.Wizard.IConnectionStringDefinition;
|
|
8123
7813
|
import ChooseAvailableItemPage = DevExpress.Analytics.Wizard.ChooseAvailableItemPage;
|
|
@@ -8135,17 +7825,15 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8135
7825
|
import ICollectionEditorOptions = DevExpress.Analytics.Widgets.Internal.ICollectionEditorOptions;
|
|
8136
7826
|
import QueryBuilderPopup = DevExpress.Analytics.Wizard.Internal.QueryBuilderPopup;
|
|
8137
7827
|
import ISqlQueryControl = DevExpress.Analytics.Wizard.Internal.ISqlQueryControl;
|
|
7828
|
+
import PageIterator = DevExpress.Analytics.Wizard.PageIterator;
|
|
7829
|
+
import EventManager = DevExpress.Analytics.Utils.EventManager;
|
|
7830
|
+
import IWizardEvents = DevExpress.Analytics.Wizard.IWizardEvents;
|
|
8138
7831
|
import BaseWizard = DevExpress.Analytics.Wizard.BaseWizard;
|
|
8139
7832
|
import TableQuery = DevExpress.Analytics.Data.TableQuery;
|
|
8140
7833
|
import ISelectStatementResponse = DevExpress.QueryBuilder.Utils.ISelectStatementResponse;
|
|
8141
7834
|
import IDataSourceWizardConnectionStrings = DevExpress.Analytics.Wizard.IDataSourceWizardConnectionStrings;
|
|
8142
7835
|
import IDataSourceWizardCallbacks = DevExpress.Analytics.Wizard.Internal.IDataSourceWizardCallbacks;
|
|
8143
|
-
import PageIterator = DevExpress.Analytics.Wizard.PageIterator;
|
|
8144
7836
|
import PopupWizard = DevExpress.Analytics.Wizard.PopupWizard;
|
|
8145
|
-
import StateManager = DevExpress.Analytics.Wizard.StateManager;
|
|
8146
|
-
import _WrappedWizardPage = DevExpress.Analytics.Wizard._WrappedWizardPage;
|
|
8147
|
-
import EventManager = DevExpress.Analytics.Utils.EventManager;
|
|
8148
|
-
import IWizardEvents = DevExpress.Analytics.Wizard.IWizardEvents;
|
|
8149
7837
|
import _MultiQueryDataSourceWizardOptions = DevExpress.Analytics.Wizard._MultiQueryDataSourceWizardOptions;
|
|
8150
7838
|
import FullscreenWizardPageFactory = DevExpress.Analytics.Wizard.FullscreenWizardPageFactory;
|
|
8151
7839
|
import MasterDetailRelation = DevExpress.Analytics.Data.MasterDetailRelation;
|
|
@@ -8176,6 +7864,9 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8176
7864
|
import FullscreenWizardPage = DevExpress.Analytics.Wizard.FullscreenWizardPage;
|
|
8177
7865
|
import ChooseJsonConnectionPage = DevExpress.Analytics.Wizard.ChooseJsonConnectionPage;
|
|
8178
7866
|
import ChooseJsonSourcePage = DevExpress.Analytics.Wizard.ChooseJsonSourcePage;
|
|
7867
|
+
export const __loadingStateFunctionName = "__loadingState";
|
|
7868
|
+
export const __nextActionFunctionName = "__nextAction";
|
|
7869
|
+
|
|
8179
7870
|
/// <reference types="jquery" />
|
|
8180
7871
|
|
|
8181
7872
|
export interface IWizardPage extends IDisposable {
|
|
@@ -8211,21 +7902,8 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8211
7902
|
};
|
|
8212
7903
|
}
|
|
8213
7904
|
|
|
8214
|
-
|
|
8215
|
-
export class StateManager {
|
|
8216
|
-
private globalState;
|
|
8217
|
-
private pageFactory;
|
|
8218
|
-
private defaultState;
|
|
8219
|
-
private _getPageState;
|
|
8220
|
-
constructor(globalState: any, pageFactory: PageFactory);
|
|
8221
|
-
setPageState(pageId: string, data: any): void;
|
|
8222
|
-
getPageState(pageId: string): any;
|
|
8223
|
-
resetPageState(pageId: string): void;
|
|
8224
|
-
getCurrentState(): any;
|
|
8225
|
-
reset(): void;
|
|
8226
|
-
}
|
|
8227
|
-
|
|
8228
7905
|
export var DataSourceWizardPageId: {
|
|
7906
|
+
ChoosePredefinedDataSourcePage: string;
|
|
8229
7907
|
ChooseDataSourceTypePage: string;
|
|
8230
7908
|
ConfigureMasterDetailRelationshipsPage: string;
|
|
8231
7909
|
};
|
|
@@ -8258,6 +7936,7 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8258
7936
|
SpecifyJsonDataSourceSettingsPage: string;
|
|
8259
7937
|
SpecifyObjectDataSourceSettingsPage: string;
|
|
8260
7938
|
SpecifyFederationDataSourceSettingsPage: string;
|
|
7939
|
+
SelectDataSourcePage: string;
|
|
8261
7940
|
};
|
|
8262
7941
|
export var FullscreenDataSourceWizardSectionId: {
|
|
8263
7942
|
SpecifyJsonConnectionPage: string;
|
|
@@ -8285,9 +7964,6 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8285
7964
|
canFinish(): boolean;
|
|
8286
7965
|
}
|
|
8287
7966
|
|
|
8288
|
-
export const __loadingStateFunctionName = "__loadingState";
|
|
8289
|
-
export const __nextActionFunctionName = "__nextAction";
|
|
8290
|
-
|
|
8291
7967
|
/// <reference types="jquery" />
|
|
8292
7968
|
|
|
8293
7969
|
|
|
@@ -8297,7 +7973,7 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8297
7973
|
text: string;
|
|
8298
7974
|
imageClassName: string;
|
|
8299
7975
|
imageTemplateName: string;
|
|
8300
|
-
type
|
|
7976
|
+
type?: number;
|
|
8301
7977
|
}
|
|
8302
7978
|
export enum DataSourceType {
|
|
8303
7979
|
NoData = 0,
|
|
@@ -8389,24 +8065,86 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8389
8065
|
objectDataSourceWizard?: IObjectDataSourceWizardState;
|
|
8390
8066
|
federationDataSourceWizard?: IFederationDataSourceWizardState;
|
|
8391
8067
|
dataSourceId?: string;
|
|
8068
|
+
predeifnedDataSourceName?: string;
|
|
8392
8069
|
}
|
|
8393
8070
|
export var _restoreSqlDataSourceFromState: (state?: ISqlDataSourceWizardState, requestWrapper?: RequestWrapper, dataSourceId?: string) => _SqlDataSourceWrapper;
|
|
8394
|
-
export var _setRestoreSqlDataSourceFromState: (func:
|
|
8395
|
-
export var _resetRestoreSqlDataSourceFromState: () =>
|
|
8071
|
+
export var _setRestoreSqlDataSourceFromState: (func: (state?: ISqlDataSourceWizardState, requestWrapper?: RequestWrapper, dataSourceId?: string) => _SqlDataSourceWrapper) => void;
|
|
8072
|
+
export var _resetRestoreSqlDataSourceFromState: () => void;
|
|
8396
8073
|
export var _restoreFederationDataSourceFromState: (state: IFederationDataSourceWizardState, usedDataSources: ko.ObservableArray<IDataSourceInfo> | ko.Computed<IDataSourceInfo[]>, dataSourceId?: string) => FederationDataSource;
|
|
8397
8074
|
export var _restoreJsonDataSourceFromState: (state: IJsonDataSourceWizardState, requestWrapper?: RequestWrapper, dataSourceId?: string) => JsonDataSource;
|
|
8398
|
-
export function _setRestoreJsonDataSourceFromState(func:
|
|
8075
|
+
export function _setRestoreJsonDataSourceFromState(func: (state: IJsonDataSourceWizardState, requestWrapper?: RequestWrapper, dataSourceId?: string) => JsonDataSource): void;
|
|
8399
8076
|
export function _resetRestoreJsonDataSourceFromState(): void;
|
|
8400
8077
|
export function _restoreObjectDataSourceFromState(state: IObjectDataSourceWizardState, requestWrapper?: RequestWrapper, dataSourceId?: string): ObjectDataSource;
|
|
8401
8078
|
export function _createDefaultDataSourceWizardState(sqlDataSourceWizardState?: ISqlDataSourceWizardState, jsonDataSourceWizardState?: IJsonDataSourceWizardState, objectDataSourceWizardState?: IObjectDataSourceWizardState, federationDataSourceWizardState?: IFederationDataSourceWizardState): IDataSourceWizardState;
|
|
8402
8079
|
|
|
8403
|
-
export interface IConnectionStringDefinition {
|
|
8404
|
-
name: string;
|
|
8405
|
-
description?: string;
|
|
8080
|
+
export interface IConnectionStringDefinition {
|
|
8081
|
+
name: string;
|
|
8082
|
+
description?: string;
|
|
8083
|
+
}
|
|
8084
|
+
export interface IDataSourceWizardConnectionStrings {
|
|
8085
|
+
sql: ko.ObservableArray<IConnectionStringDefinition>;
|
|
8086
|
+
json?: ko.ObservableArray<IConnectionStringDefinition>;
|
|
8087
|
+
}
|
|
8088
|
+
|
|
8089
|
+
/// <reference types="jquery" />
|
|
8090
|
+
|
|
8091
|
+
|
|
8092
|
+
export class _WrappedWizardPage extends Disposable {
|
|
8093
|
+
pageId: string;
|
|
8094
|
+
page: IWizardPage;
|
|
8095
|
+
template: string;
|
|
8096
|
+
description?: string;
|
|
8097
|
+
dispose(): void;
|
|
8098
|
+
resetCommitedState(): void;
|
|
8099
|
+
private _lastCommitedState;
|
|
8100
|
+
private _isInitialized;
|
|
8101
|
+
private _initDef;
|
|
8102
|
+
isChanged: boolean;
|
|
8103
|
+
onChange: (callback: () => void) => void;
|
|
8104
|
+
constructor(pageId: string, page: IWizardPage, template: string, description?: string);
|
|
8105
|
+
commit(): JQueryPromise<any>;
|
|
8106
|
+
initialize(state: any, force?: boolean, stateChanged?: boolean): JQueryPromise<any>;
|
|
8107
|
+
}
|
|
8108
|
+
|
|
8109
|
+
|
|
8110
|
+
export class StateManager {
|
|
8111
|
+
private globalState;
|
|
8112
|
+
private pageFactory;
|
|
8113
|
+
private defaultState;
|
|
8114
|
+
private _getPageState;
|
|
8115
|
+
constructor(globalState: any, pageFactory: PageFactory);
|
|
8116
|
+
setPageState(pageId: string, data: any): void;
|
|
8117
|
+
getPageState(pageId: string): any;
|
|
8118
|
+
resetPageState(pageId: string): void;
|
|
8119
|
+
getCurrentState(): any;
|
|
8120
|
+
reset(): void;
|
|
8406
8121
|
}
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8122
|
+
|
|
8123
|
+
/// <reference types="jquery" />
|
|
8124
|
+
|
|
8125
|
+
|
|
8126
|
+
|
|
8127
|
+
|
|
8128
|
+
export class PageIterator<T = any> extends Disposable {
|
|
8129
|
+
pageFactory: PageFactory;
|
|
8130
|
+
stateManager: StateManager;
|
|
8131
|
+
private _onResetPage;
|
|
8132
|
+
dispose(): void;
|
|
8133
|
+
private _pages;
|
|
8134
|
+
private _currentIndex;
|
|
8135
|
+
private __resetPages;
|
|
8136
|
+
private _nextPage;
|
|
8137
|
+
private _getNextExistingPage;
|
|
8138
|
+
_resetPages(): void;
|
|
8139
|
+
private _getNextNewPage;
|
|
8140
|
+
constructor(pageFactory: PageFactory, stateManager: StateManager, _onResetPage?: (page: _WrappedWizardPage) => void);
|
|
8141
|
+
_getStartPage(pageId?: string): _WrappedWizardPage;
|
|
8142
|
+
_getNextPage(): JQueryPromise<_WrappedWizardPage>;
|
|
8143
|
+
_getPreviousPage(): JQueryPromise<_WrappedWizardPage>;
|
|
8144
|
+
_goToPage(pageId: string): JQueryPromise<_WrappedWizardPage>;
|
|
8145
|
+
_getCurrentPage(): _WrappedWizardPage;
|
|
8146
|
+
_getCurrentState(): T;
|
|
8147
|
+
getNextPageId(pageId?: string): string;
|
|
8410
8148
|
}
|
|
8411
8149
|
|
|
8412
8150
|
/// <reference types="jquery" />
|
|
@@ -8415,26 +8153,29 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8415
8153
|
|
|
8416
8154
|
|
|
8417
8155
|
export class ChooseSqlConnectionPage extends WizardPageBase<ISqlDataSourceWizardState, ISqlDataSourceWizardState> {
|
|
8418
|
-
|
|
8156
|
+
private _getSqlConnectionsCallback?;
|
|
8157
|
+
constructor(connectionStrings: ko.ObservableArray<IConnectionStringDefinition>, _getSqlConnectionsCallback?: () => JQueryPromise<IConnectionStringDefinition[]>);
|
|
8419
8158
|
initialize(state: ISqlDataSourceWizardState): JQueryPromise<any>;
|
|
8420
8159
|
canNext(): boolean;
|
|
8421
8160
|
commit(): JQueryPromise<ISqlDataSourceWizardState>;
|
|
8422
8161
|
_connectionStrings: ko.ObservableArray<IConnectionStringDefinition>;
|
|
8423
8162
|
_selectedConnectionString: ko.ObservableArray<IConnectionStringDefinition>;
|
|
8424
8163
|
}
|
|
8425
|
-
export function _registerChooseSqlConnectionPage(factory: PageFactory, connectionStrings: ko.ObservableArray<IConnectionStringDefinition>): void;
|
|
8164
|
+
export function _registerChooseSqlConnectionPage(factory: PageFactory, connectionStrings: ko.ObservableArray<IConnectionStringDefinition>, getSqlConnectionsCallback?: () => JQueryPromise<IConnectionStringDefinition[]>): void;
|
|
8426
8165
|
|
|
8427
8166
|
/// <reference types="jquery" />
|
|
8428
8167
|
|
|
8429
8168
|
|
|
8430
8169
|
|
|
8170
|
+
|
|
8431
8171
|
export interface IChooseAvailableItemPageOperation {
|
|
8432
8172
|
text: string;
|
|
8433
8173
|
createNew: boolean;
|
|
8434
8174
|
}
|
|
8435
8175
|
export class ChooseAvailableItemPage extends WizardPageBase {
|
|
8436
8176
|
items: ko.Subscribable<any[]>;
|
|
8437
|
-
|
|
8177
|
+
private _getJsonConnectionsCallback?;
|
|
8178
|
+
constructor(items: ko.Subscribable<any[]>, canCreateNew?: boolean, _getJsonConnectionsCallback?: () => JQueryPromise<IConnectionStringDefinition[]>);
|
|
8438
8179
|
canNext(): boolean;
|
|
8439
8180
|
canCreateNew: ko.Observable<boolean>;
|
|
8440
8181
|
selectedItems: ko.ObservableArray<IDataSourceInfo>;
|
|
@@ -8656,6 +8397,77 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8656
8397
|
}
|
|
8657
8398
|
export function _registerConfigureQueryPage(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): void;
|
|
8658
8399
|
|
|
8400
|
+
|
|
8401
|
+
export interface IWizardEventArgs<Sender> {
|
|
8402
|
+
wizard: Sender;
|
|
8403
|
+
}
|
|
8404
|
+
export interface IWizardPageEventArgs<Sender> extends IWizardEventArgs<Sender> {
|
|
8405
|
+
page: IWizardPage;
|
|
8406
|
+
pageId: string;
|
|
8407
|
+
}
|
|
8408
|
+
export interface IBeforeWizardPageInitializeEventArgs<Sender> extends IWizardPageEventArgs<Sender>, IBeforeWizardInitializeEventArgs<Sender> {
|
|
8409
|
+
}
|
|
8410
|
+
export interface IBeforeWizardInitializeEventArgs<Sender> extends IWizardEventArgs<Sender> {
|
|
8411
|
+
state: any;
|
|
8412
|
+
}
|
|
8413
|
+
export interface IBeforeWizardFinishEventArgs {
|
|
8414
|
+
state: any;
|
|
8415
|
+
wizardModel?: any;
|
|
8416
|
+
}
|
|
8417
|
+
export interface IAfterWizardFinishEventArgs {
|
|
8418
|
+
state: any;
|
|
8419
|
+
wizardResult?: any;
|
|
8420
|
+
}
|
|
8421
|
+
export interface IWizardEvents<Sender> {
|
|
8422
|
+
'afterInitialize': IWizardEventArgs<Sender>;
|
|
8423
|
+
'beforeInitialize': IBeforeWizardInitializeEventArgs<Sender>;
|
|
8424
|
+
'beforeStart': IWizardEventArgs<Sender>;
|
|
8425
|
+
'beforePageInitialize': IBeforeWizardPageInitializeEventArgs<Sender>;
|
|
8426
|
+
'afterPageInitialize': IWizardPageEventArgs<Sender>;
|
|
8427
|
+
'beforeFinish': IBeforeWizardFinishEventArgs;
|
|
8428
|
+
'afterFinish': IAfterWizardFinishEventArgs;
|
|
8429
|
+
}
|
|
8430
|
+
|
|
8431
|
+
/// <reference types="jquery" />
|
|
8432
|
+
|
|
8433
|
+
|
|
8434
|
+
|
|
8435
|
+
|
|
8436
|
+
|
|
8437
|
+
|
|
8438
|
+
|
|
8439
|
+
|
|
8440
|
+
|
|
8441
|
+
export class BaseWizard extends Disposable {
|
|
8442
|
+
pageFactory: PageFactory;
|
|
8443
|
+
stateManager: StateManager;
|
|
8444
|
+
iterator: PageIterator;
|
|
8445
|
+
events: EventManager<BaseWizard, IWizardEvents<BaseWizard>>;
|
|
8446
|
+
private _finishCallback;
|
|
8447
|
+
protected _createLoadingState(page: IWizardPage): void;
|
|
8448
|
+
protected _createNextAction(page: IWizardPage): void;
|
|
8449
|
+
private _loadingTimeout;
|
|
8450
|
+
protected _loadingState(active: boolean): void;
|
|
8451
|
+
protected _callBeforeFinishHandler(state: any, wizardModel?: any): void;
|
|
8452
|
+
protected _callAfterFinishHandler(state: any, result: any): void;
|
|
8453
|
+
onFinish(): void;
|
|
8454
|
+
constructor(pageFactory: PageFactory, finishCallback?: (model: IDataSourceWizardState) => JQueryPromise<boolean>);
|
|
8455
|
+
initialize(state?: any, createIterator?: (pageFactory: PageFactory, stateManager: StateManager) => PageIterator): void;
|
|
8456
|
+
isFirstPage(): boolean;
|
|
8457
|
+
canNext(): boolean;
|
|
8458
|
+
canFinish(): boolean;
|
|
8459
|
+
_initPage(page: _WrappedWizardPage): JQueryPromise<any>;
|
|
8460
|
+
start(): void;
|
|
8461
|
+
canRunWizard(): boolean;
|
|
8462
|
+
nextAction(): void;
|
|
8463
|
+
previousAction(): void;
|
|
8464
|
+
goToPage(pageId: string): void;
|
|
8465
|
+
finishAction(): void;
|
|
8466
|
+
isLoading: ko.Observable<boolean>;
|
|
8467
|
+
_currentPage: ko.Observable<_WrappedWizardPage>;
|
|
8468
|
+
isVisible: ko.Observable<boolean>;
|
|
8469
|
+
}
|
|
8470
|
+
|
|
8659
8471
|
/// <reference types="jquery" />
|
|
8660
8472
|
/// <reference types="jqueryui" />
|
|
8661
8473
|
|
|
@@ -8682,9 +8494,9 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8682
8494
|
shading: boolean;
|
|
8683
8495
|
shadingColor: string;
|
|
8684
8496
|
position: {
|
|
8685
|
-
of:
|
|
8497
|
+
of: any;
|
|
8686
8498
|
};
|
|
8687
|
-
container:
|
|
8499
|
+
container: any;
|
|
8688
8500
|
};
|
|
8689
8501
|
constructor(pageFactory: any, finishCallback?: any);
|
|
8690
8502
|
start(): void;
|
|
@@ -8714,7 +8526,7 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8714
8526
|
onClick: () => void;
|
|
8715
8527
|
};
|
|
8716
8528
|
_wizardPopupPosition(element: HTMLElement): {
|
|
8717
|
-
of:
|
|
8529
|
+
of: any;
|
|
8718
8530
|
};
|
|
8719
8531
|
_loadPanelViewModel(element: HTMLElement): {
|
|
8720
8532
|
animation: {
|
|
@@ -8737,9 +8549,9 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8737
8549
|
shading: boolean;
|
|
8738
8550
|
shadingColor: string;
|
|
8739
8551
|
position: {
|
|
8740
|
-
of:
|
|
8552
|
+
of: any;
|
|
8741
8553
|
};
|
|
8742
|
-
container:
|
|
8554
|
+
container: any;
|
|
8743
8555
|
};
|
|
8744
8556
|
_getLoadPanelViewModel(element: HTMLElement, observableVisible: ko.Observable<boolean>): {
|
|
8745
8557
|
animation: {
|
|
@@ -8762,9 +8574,9 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8762
8574
|
shading: boolean;
|
|
8763
8575
|
shadingColor: string;
|
|
8764
8576
|
position: {
|
|
8765
|
-
of:
|
|
8577
|
+
of: any;
|
|
8766
8578
|
};
|
|
8767
|
-
container:
|
|
8579
|
+
container: any;
|
|
8768
8580
|
};
|
|
8769
8581
|
_titleTemplate: string;
|
|
8770
8582
|
title: string;
|
|
@@ -8796,6 +8608,9 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8796
8608
|
queryName: string;
|
|
8797
8609
|
allowCreateNewJsonConnection: boolean;
|
|
8798
8610
|
dataSources: ko.PureComputed<IDataSourceInfo[]>;
|
|
8611
|
+
predefinedDataSources: ko.PureComputed<IDataSourceInfo[]> | ko.Observable<IDataSourceInfo[]>;
|
|
8612
|
+
getSqlConnectionStrings?: () => JQueryPromise<IConnectionStringDefinition[]>;
|
|
8613
|
+
getJsonConnectionStrings?: () => JQueryPromise<IConnectionStringDefinition[]>;
|
|
8799
8614
|
}
|
|
8800
8615
|
export class _DataSourceWizardOptions extends _DataSourceWizardOptionsBase<IDataSourceWizardCallbacks> {
|
|
8801
8616
|
}
|
|
@@ -8803,153 +8618,33 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8803
8618
|
enableJsonDataSource?: boolean;
|
|
8804
8619
|
enableSqlDataSource?: boolean;
|
|
8805
8620
|
enableObjectDataSource?: boolean;
|
|
8806
|
-
enableFederationDataSource?: boolean;
|
|
8807
|
-
}
|
|
8808
|
-
export class DataSourceWizardSettings implements IDataSourceWizardSettings {
|
|
8809
|
-
createDefault(settings?: IDataSourceWizardSettings): IDataSourceWizardSettings;
|
|
8810
|
-
enableJsonDataSource?: boolean;
|
|
8811
|
-
enableSqlDataSource?: boolean;
|
|
8812
|
-
enableObjectDataSource?: boolean;
|
|
8813
|
-
enableFederationDataSource?: boolean;
|
|
8814
|
-
}
|
|
8815
|
-
export interface IRetrieveQuerySqlCallback {
|
|
8816
|
-
(query: TableQuery, isInProcess: ko.Observable<boolean>): JQueryPromise<ISelectStatementResponse>;
|
|
8817
|
-
}
|
|
8818
|
-
export class DataSourceWizardPageIterator extends PageIterator {
|
|
8819
|
-
private _dataSourceWizardOptions;
|
|
8820
|
-
constructor(pageFactory: PageFactory, stateManager: StateManager, _dataSourceWizardOptions: _DataSourceWizardOptions);
|
|
8821
|
-
getNextPageId(pageId: string): string;
|
|
8822
|
-
}
|
|
8823
|
-
export class DataSourceWizard extends PopupWizard {
|
|
8824
|
-
private _wizardOptions;
|
|
8825
|
-
constructor(pageFactory: PageFactory, _wizardOptions: _DataSourceWizardOptions);
|
|
8826
|
-
initialize(state: IDataSourceWizardState, createIterator?: (pageFactory: PageFactory, stateManager: StateManager) => PageIterator): void;
|
|
8827
|
-
canRunWizard(): boolean;
|
|
8828
|
-
_extendCssClass: string;
|
|
8829
|
-
title: any;
|
|
8830
|
-
}
|
|
8831
|
-
export function _registerDataSourceWizardPages(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): PageFactory;
|
|
8832
|
-
export function _createDataSourceWizard(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): DataSourceWizard;
|
|
8833
|
-
|
|
8834
|
-
/// <reference types="jquery" />
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
export class _WrappedWizardPage extends Disposable {
|
|
8838
|
-
pageId: string;
|
|
8839
|
-
page: IWizardPage;
|
|
8840
|
-
template: string;
|
|
8841
|
-
description?: string;
|
|
8842
|
-
dispose(): void;
|
|
8843
|
-
resetCommitedState(): void;
|
|
8844
|
-
private _lastCommitedState;
|
|
8845
|
-
private _isInitialized;
|
|
8846
|
-
private _initDef;
|
|
8847
|
-
isChanged: boolean;
|
|
8848
|
-
onChange: (callback: () => void) => void;
|
|
8849
|
-
constructor(pageId: string, page: IWizardPage, template: string, description?: string);
|
|
8850
|
-
commit(): JQueryPromise<any>;
|
|
8851
|
-
initialize(state: any, force?: boolean, stateChanged?: boolean): JQueryPromise<any>;
|
|
8852
|
-
}
|
|
8853
|
-
|
|
8854
|
-
/// <reference types="jquery" />
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
export class PageIterator<T = any> extends Disposable {
|
|
8861
|
-
pageFactory: PageFactory;
|
|
8862
|
-
stateManager: StateManager;
|
|
8863
|
-
private _onResetPage;
|
|
8864
|
-
dispose(): void;
|
|
8865
|
-
private _pages;
|
|
8866
|
-
private _currentIndex;
|
|
8867
|
-
private __resetPages;
|
|
8868
|
-
private _nextPage;
|
|
8869
|
-
private _getNextExistingPage;
|
|
8870
|
-
_resetPages(): void;
|
|
8871
|
-
private _getNextNewPage;
|
|
8872
|
-
protected _isMoreThanOneDataSourceTypeAvailable(dataSourceOptions: _DataSourceWizardOptions): boolean;
|
|
8873
|
-
constructor(pageFactory: PageFactory, stateManager: StateManager, _onResetPage?: (page: _WrappedWizardPage) => void);
|
|
8874
|
-
_getStartPage(pageId?: string): _WrappedWizardPage;
|
|
8875
|
-
_getNextPage(): JQueryPromise<_WrappedWizardPage>;
|
|
8876
|
-
_getPreviousPage(): JQueryPromise<_WrappedWizardPage>;
|
|
8877
|
-
_goToPage(pageId: string): JQueryPromise<_WrappedWizardPage>;
|
|
8878
|
-
_getCurrentPage(): _WrappedWizardPage;
|
|
8879
|
-
_getCurrentState(): T;
|
|
8880
|
-
getNextPageId(pageId?: string): string;
|
|
8881
|
-
}
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
export interface IWizardEventArgs<Sender> {
|
|
8885
|
-
wizard: Sender;
|
|
8886
|
-
}
|
|
8887
|
-
export interface IWizardPageEventArgs<Sender> extends IWizardEventArgs<Sender> {
|
|
8888
|
-
page: IWizardPage;
|
|
8889
|
-
pageId: string;
|
|
8890
|
-
}
|
|
8891
|
-
export interface IBeforeWizardPageInitializeEventArgs<Sender> extends IWizardPageEventArgs<Sender>, IBeforeWizardInitializeEventArgs<Sender> {
|
|
8892
|
-
}
|
|
8893
|
-
export interface IBeforeWizardInitializeEventArgs<Sender> extends IWizardEventArgs<Sender> {
|
|
8894
|
-
state: any;
|
|
8895
|
-
}
|
|
8896
|
-
export interface IBeforeWizardFinishEventArgs {
|
|
8897
|
-
state: any;
|
|
8898
|
-
wizardModel?: any;
|
|
8899
|
-
}
|
|
8900
|
-
export interface IAfterWizardFinishEventArgs {
|
|
8901
|
-
state: any;
|
|
8902
|
-
wizardResult?: any;
|
|
8903
|
-
}
|
|
8904
|
-
export interface IWizardEvents<Sender> {
|
|
8905
|
-
'afterInitialize': IWizardEventArgs<Sender>;
|
|
8906
|
-
'beforeInitialize': IBeforeWizardInitializeEventArgs<Sender>;
|
|
8907
|
-
'beforeStart': IWizardEventArgs<Sender>;
|
|
8908
|
-
'beforePageInitialize': IBeforeWizardPageInitializeEventArgs<Sender>;
|
|
8909
|
-
'afterPageInitialize': IWizardPageEventArgs<Sender>;
|
|
8910
|
-
'beforeFinish': IBeforeWizardFinishEventArgs;
|
|
8911
|
-
'afterFinish': IAfterWizardFinishEventArgs;
|
|
8912
|
-
}
|
|
8913
|
-
|
|
8914
|
-
/// <reference types="jquery" />
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
export class BaseWizard extends Disposable {
|
|
8925
|
-
pageFactory: PageFactory;
|
|
8926
|
-
stateManager: StateManager;
|
|
8927
|
-
iterator: PageIterator;
|
|
8928
|
-
events: EventManager<BaseWizard, IWizardEvents<BaseWizard>>;
|
|
8929
|
-
private _finishCallback;
|
|
8930
|
-
protected _createLoadingState(page: IWizardPage): void;
|
|
8931
|
-
protected _createNextAction(page: IWizardPage): void;
|
|
8932
|
-
private _loadingTimeout;
|
|
8933
|
-
protected _loadingState(active: boolean): void;
|
|
8934
|
-
protected _callBeforeFinishHandler(state: any, wizardModel?: any): void;
|
|
8935
|
-
protected _callAfterFinishHandler(state: any, result: any): void;
|
|
8936
|
-
onFinish(): void;
|
|
8937
|
-
constructor(pageFactory: PageFactory, finishCallback?: (model: IDataSourceWizardState) => JQueryPromise<boolean>);
|
|
8938
|
-
initialize(state?: any, createIterator?: (pageFactory: PageFactory, stateManager: StateManager) => PageIterator): void;
|
|
8939
|
-
isFirstPage(): boolean;
|
|
8940
|
-
canNext(): boolean;
|
|
8941
|
-
canFinish(): boolean;
|
|
8942
|
-
_initPage(page: _WrappedWizardPage): JQueryPromise<any>;
|
|
8943
|
-
start(): void;
|
|
8621
|
+
enableFederationDataSource?: boolean;
|
|
8622
|
+
}
|
|
8623
|
+
export class DataSourceWizardSettings implements IDataSourceWizardSettings {
|
|
8624
|
+
createDefault(settings?: IDataSourceWizardSettings): IDataSourceWizardSettings;
|
|
8625
|
+
enableJsonDataSource?: boolean;
|
|
8626
|
+
enableSqlDataSource?: boolean;
|
|
8627
|
+
enableObjectDataSource?: boolean;
|
|
8628
|
+
enableFederationDataSource?: boolean;
|
|
8629
|
+
}
|
|
8630
|
+
export interface IRetrieveQuerySqlCallback {
|
|
8631
|
+
(query: TableQuery, isInProcess: ko.Observable<boolean>): JQueryPromise<ISelectStatementResponse>;
|
|
8632
|
+
}
|
|
8633
|
+
export class DataSourceWizardPageIterator extends PageIterator {
|
|
8634
|
+
private _dataSourceWizardOptions;
|
|
8635
|
+
constructor(pageFactory: PageFactory, stateManager: StateManager, _dataSourceWizardOptions: _DataSourceWizardOptions);
|
|
8636
|
+
getNextPageId(pageId: string): string;
|
|
8637
|
+
}
|
|
8638
|
+
export class DataSourceWizard extends PopupWizard {
|
|
8639
|
+
private _wizardOptions;
|
|
8640
|
+
constructor(pageFactory: PageFactory, _wizardOptions: _DataSourceWizardOptions);
|
|
8641
|
+
initialize(state: IDataSourceWizardState, createIterator?: (pageFactory: PageFactory, stateManager: StateManager) => PageIterator): void;
|
|
8944
8642
|
canRunWizard(): boolean;
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
goToPage(pageId: string): void;
|
|
8948
|
-
finishAction(): void;
|
|
8949
|
-
isLoading: ko.Observable<boolean>;
|
|
8950
|
-
_currentPage: ko.Observable<_WrappedWizardPage>;
|
|
8951
|
-
isVisible: ko.Observable<boolean>;
|
|
8643
|
+
_extendCssClass: string;
|
|
8644
|
+
title: any;
|
|
8952
8645
|
}
|
|
8646
|
+
export function _registerDataSourceWizardPages(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): PageFactory;
|
|
8647
|
+
export function _createDataSourceWizard(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): DataSourceWizard;
|
|
8953
8648
|
|
|
8954
8649
|
|
|
8955
8650
|
|
|
@@ -8961,6 +8656,20 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
8961
8656
|
required?: boolean;
|
|
8962
8657
|
}
|
|
8963
8658
|
|
|
8659
|
+
/// <reference types="jquery" />
|
|
8660
|
+
|
|
8661
|
+
|
|
8662
|
+
|
|
8663
|
+
|
|
8664
|
+
|
|
8665
|
+
export class ChooseAvailableDataSourcePage extends ChooseAvailableItemPage {
|
|
8666
|
+
commit(): JQuery.Promise<IDataSourceWizardState>;
|
|
8667
|
+
_getSelectedItem(state: IDataSourceWizardState): IDataSourceInfo;
|
|
8668
|
+
canNext(): boolean;
|
|
8669
|
+
canFinish(): boolean;
|
|
8670
|
+
}
|
|
8671
|
+
export function _registerChooseAvailableDataSourcePage(factory: PageFactory, wizardOptions: _DataSourceWizardOptions): void;
|
|
8672
|
+
|
|
8964
8673
|
|
|
8965
8674
|
|
|
8966
8675
|
|
|
@@ -9070,6 +8779,7 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
9070
8779
|
private _itemsProvider;
|
|
9071
8780
|
private _customQueries;
|
|
9072
8781
|
private _setQueryChecked;
|
|
8782
|
+
private _wrapFieldListCallback;
|
|
9073
8783
|
constructor(_options: _MultiQueryDataSourceWizardOptions);
|
|
9074
8784
|
canNext(): boolean;
|
|
9075
8785
|
canFinish(): boolean;
|
|
@@ -9178,9 +8888,9 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
9178
8888
|
shading: boolean;
|
|
9179
8889
|
shadingColor: string;
|
|
9180
8890
|
position: {
|
|
9181
|
-
of:
|
|
8891
|
+
of: any;
|
|
9182
8892
|
};
|
|
9183
|
-
container:
|
|
8893
|
+
container: any;
|
|
9184
8894
|
};
|
|
9185
8895
|
_setTableQuery(query: TableQuery, isInProcess?: ko.Observable<boolean>): JQueryPromise<ISelectStatementResponse>;
|
|
9186
8896
|
_setCustomSqlQuery(query: CustomSqlQuery): void;
|
|
@@ -9441,8 +9151,24 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
9441
9151
|
|
|
9442
9152
|
|
|
9443
9153
|
|
|
9154
|
+
|
|
9155
|
+
export class SelectDataSourcePage extends FullscreenWizardPage {
|
|
9156
|
+
private wizardOptions;
|
|
9157
|
+
private dataSources;
|
|
9158
|
+
constructor(wizardOptions: _DataSourceWizardOptions, dataSources: IDataSourceInfo[]);
|
|
9159
|
+
registerSections(): void;
|
|
9160
|
+
showPredefinedDataSourceSection(): boolean;
|
|
9161
|
+
showChooseDataSourceTypeSection(): boolean;
|
|
9162
|
+
getNextSectionId(sectionId: string): string;
|
|
9163
|
+
disabledSectionText: any;
|
|
9164
|
+
}
|
|
9165
|
+
export function _registerSelectDataSourcePage(factory: FullscreenWizardPageFactory, wizardOptions: _DataSourceWizardOptions): void;
|
|
9166
|
+
|
|
9167
|
+
|
|
9168
|
+
|
|
9169
|
+
|
|
9444
9170
|
export class SpecifyFederationDataSourceSettingsPage extends FullscreenWizardPage {
|
|
9445
|
-
|
|
9171
|
+
protected _dataSourceWizardOptions: _MultiQueryDataSourceWizardOptions;
|
|
9446
9172
|
constructor(_dataSourceWizardOptions: _MultiQueryDataSourceWizardOptions);
|
|
9447
9173
|
getNextSectionId(sectionId: string): string;
|
|
9448
9174
|
_showPageDescription(): boolean;
|
|
@@ -9458,15 +9184,16 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
9458
9184
|
|
|
9459
9185
|
|
|
9460
9186
|
|
|
9187
|
+
|
|
9461
9188
|
export class SpecifyJsonConnectionPage extends ChooseJsonConnectionPage {
|
|
9462
9189
|
private _requestWrapper;
|
|
9463
|
-
constructor(connections: any, allowCreateNewJsonConnection: any, itemsProvider?: IItemsProvider, _requestWrapper?: RequestWrapper);
|
|
9190
|
+
constructor(connections: any, allowCreateNewJsonConnection: any, itemsProvider?: IItemsProvider, _requestWrapper?: RequestWrapper, _getJsonConnectionsCallback?: () => JQueryPromise<IConnectionStringDefinition[]>);
|
|
9464
9191
|
commit(): JQuery.Promise<IJsonDataSourceWizardState, any, any>;
|
|
9465
9192
|
canNext(): boolean;
|
|
9466
9193
|
initialize(state: any): JQuery.Promise<IWizardPage, any, any>;
|
|
9467
9194
|
_specifySourceData: ChooseJsonSourcePage;
|
|
9468
9195
|
}
|
|
9469
|
-
export function _registerSpecifyJsonConnectionPage(factory: PageFactory, connections: ko.ObservableArray<any>, allowCreateNewJsonConnection: boolean, getItemsProviderCallBack: () => IItemsProvider): void;
|
|
9196
|
+
export function _registerSpecifyJsonConnectionPage(factory: PageFactory, connections: ko.ObservableArray<any>, allowCreateNewJsonConnection: boolean, getItemsProviderCallBack: () => IItemsProvider, getJsonConnectionsCallback?: () => JQueryPromise<IConnectionStringDefinition[]>): void;
|
|
9470
9197
|
|
|
9471
9198
|
|
|
9472
9199
|
|
|
@@ -9498,197 +9225,414 @@ declare module DevExpress.Analytics.Wizard {
|
|
|
9498
9225
|
|
|
9499
9226
|
|
|
9500
9227
|
|
|
9228
|
+
|
|
9229
|
+
|
|
9501
9230
|
export class FullscreenDataSourceWizard extends FullscreenWizard {
|
|
9502
9231
|
private _dataSourceWizardOptions;
|
|
9503
|
-
constructor(factory:
|
|
9232
|
+
constructor(factory: FullscreenWizardPageFactory, _dataSourceWizardOptions: _DataSourceWizardOptions);
|
|
9504
9233
|
initialize(state: IDataSourceWizardState, createIterator?: (pageFactory: PageFactory, stateManager: StateManager) => PageIterator): void;
|
|
9505
9234
|
canRunWizard(): boolean;
|
|
9506
|
-
_description():
|
|
9235
|
+
_description(): string;
|
|
9507
9236
|
}
|
|
9508
9237
|
export class FullscreenDataSourceWizardPageIterator extends PageIterator {
|
|
9509
9238
|
private _dataSourceOptions;
|
|
9510
|
-
constructor(factory:
|
|
9239
|
+
constructor(factory: PageFactory, stateManager: StateManager, _dataSourceOptions: _DataSourceWizardOptions, onResetPage: (page: _WrappedWizardPage) => void);
|
|
9240
|
+
private _shouldSelectDataSource;
|
|
9511
9241
|
getNextPageId(pageId?: string): string;
|
|
9512
9242
|
}
|
|
9513
9243
|
export function _createDataSourceFullscreenWizard(dataSourceWizardOptions: _MultiQueryDataSourceWizardOptions): FullscreenDataSourceWizard;
|
|
9514
9244
|
|
|
9515
9245
|
}
|
|
9516
|
-
declare module DevExpress.Analytics.
|
|
9246
|
+
declare module DevExpress.Analytics.Wizard.Internal {
|
|
9247
|
+
import SqlDataConnection = DevExpress.Analytics.Data.SqlDataConnection;
|
|
9248
|
+
import ISelectStatementResponse = DevExpress.QueryBuilder.Utils.ISelectStatementResponse;
|
|
9249
|
+
import TableQuery = DevExpress.Analytics.Data.TableQuery;
|
|
9250
|
+
import ISqlQueryViewModel = DevExpress.QueryBuilder.Utils.ISqlQueryViewModel;
|
|
9251
|
+
import Disposable = DevExpress.Analytics.Utils.Disposable;
|
|
9252
|
+
import SelectQuerySqlTextProvider = DevExpress.Analytics.Wizard.Internal.SelectQuerySqlTextProvider;
|
|
9253
|
+
import ISqlQueryControl = DevExpress.Analytics.Wizard.Internal.ISqlQueryControl;
|
|
9254
|
+
import StoredProcQuery = DevExpress.Analytics.Data.StoredProcQuery;
|
|
9255
|
+
import DBStoredProcedure = DevExpress.Analytics.Data.DBStoredProcedure;
|
|
9256
|
+
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
9257
|
+
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
9258
|
+
import TreeNode = DevExpress.Analytics.Wizard.Internal.TreeNode;
|
|
9259
|
+
import ParameterTreeNode = DevExpress.Analytics.Wizard.Internal.ParameterTreeNode;
|
|
9260
|
+
import QueriesTreeNode = DevExpress.Analytics.Wizard.Internal.QueriesTreeNode;
|
|
9261
|
+
import TreeNodeBase = DevExpress.Analytics.Wizard.Internal.TreeNodeBase;
|
|
9262
|
+
import IDBSchemaProvider = DevExpress.Analytics.Data.IDBSchemaProvider;
|
|
9263
|
+
import IPathRequest = DevExpress.Analytics.Utils.IPathRequest;
|
|
9264
|
+
import IAction = DevExpress.Analytics.Utils.IAction;
|
|
9265
|
+
import DataSourceParameter = DevExpress.Analytics.Data.DataSourceParameter;
|
|
9266
|
+
import DBStoredProcedureArgument = DevExpress.Analytics.Data.DBStoredProcedureArgument;
|
|
9267
|
+
import IAddQueriesTreeListCallbacks = DevExpress.Analytics.Wizard.Internal.IAddQueriesTreeListCallbacks;
|
|
9268
|
+
import IPopoverListOptions = DevExpress.Analytics.Wizard.Internal.IPopoverListOptions;
|
|
9269
|
+
import DataMemberTreeNode = DevExpress.Analytics.Wizard.Internal.DataMemberTreeNode;
|
|
9270
|
+
import FieldTreeNode = DevExpress.Analytics.Wizard.Internal.FieldTreeNode;
|
|
9271
|
+
import FieldListProvider = DevExpress.Analytics.Internal.FieldListProvider;
|
|
9272
|
+
import TreeNodeItemsProvider = DevExpress.Analytics.Wizard.Internal.TreeNodeItemsProvider;
|
|
9273
|
+
import Editor = DevExpress.Analytics.Widgets.Editor;
|
|
9517
9274
|
import ISerializationInfo = DevExpress.Analytics.Utils.ISerializationInfo;
|
|
9275
|
+
import IJsonDataSourceJsonSourceValidatable = DevExpress.Analytics.Wizard.IJsonDataSourceJsonSourceValidatable;
|
|
9276
|
+
import IJsonDataSourceJsonSourcePageSettings = DevExpress.Analytics.Wizard.IJsonDataSourceJsonSourcePageSettings;
|
|
9277
|
+
import ObjectProperties = DevExpress.Analytics.Widgets.ObjectProperties;
|
|
9278
|
+
import JsonDataSource = DevExpress.Analytics.Data.JsonDataSource;
|
|
9518
9279
|
import ISerializationInfoArray = DevExpress.Analytics.Utils.ISerializationInfoArray;
|
|
9519
|
-
import
|
|
9520
|
-
import
|
|
9521
|
-
import
|
|
9522
|
-
import
|
|
9523
|
-
import
|
|
9524
|
-
import
|
|
9525
|
-
import
|
|
9526
|
-
import
|
|
9527
|
-
import
|
|
9528
|
-
import
|
|
9529
|
-
import
|
|
9530
|
-
import SurfaceElementBase = DevExpress.Analytics.Elements.SurfaceElementBase;
|
|
9531
|
-
import ISurfaceContext = DevExpress.Analytics.Elements.ISurfaceContext;
|
|
9532
|
-
import IUnitProperties = DevExpress.Analytics.Internal.IUnitProperties;
|
|
9533
|
-
import Margins = DevExpress.Analytics.Elements.Margins;
|
|
9534
|
-
import DiagramViewModel = DevExpress.Analytics.Diagram.DiagramViewModel;
|
|
9535
|
-
import ISelectionTarget = DevExpress.Analytics.Internal.ISelectionTarget;
|
|
9536
|
-
import IHoverInfo = DevExpress.Analytics.Internal.IHoverInfo;
|
|
9537
|
-
import IMargins = DevExpress.Analytics.Elements.IMargins;
|
|
9538
|
-
import DiagramElementBaseSurface = DevExpress.Analytics.Diagram.DiagramElementBaseSurface;
|
|
9539
|
-
import DiagramSurface = DevExpress.Analytics.Diagram.DiagramSurface;
|
|
9540
|
-
import RoutedConnectorViewModel = DevExpress.Analytics.Diagram.RoutedConnectorViewModel;
|
|
9541
|
-
import ConnectionPointSurface = DevExpress.Analytics.Diagram.ConnectionPointSurface;
|
|
9542
|
-
import ConnectingPointViewModel = DevExpress.Analytics.Diagram.ConnectingPointViewModel;
|
|
9543
|
-
import DiagramElementViewModel = DevExpress.Analytics.Diagram.DiagramElementViewModel;
|
|
9544
|
-
import DragDropHandler = DevExpress.Analytics.Internal.DragDropHandler;
|
|
9545
|
-
import SurfaceSelection = DevExpress.Analytics.Internal.SurfaceSelection;
|
|
9280
|
+
import RequestWrapper = DevExpress.QueryBuilder.Utils.RequestWrapper;
|
|
9281
|
+
import JsonParameter = DevExpress.Analytics.Data.JsonParameter;
|
|
9282
|
+
import IModelAction = DevExpress.Analytics.Internal.IModelAction;
|
|
9283
|
+
import IModelActionProvider = DevExpress.Analytics.Internal.IModelActionProvider;
|
|
9284
|
+
import IExpressionOptions = DevExpress.Analytics.Widgets.IExpressionOptions;
|
|
9285
|
+
import ObjectCtor = DevExpress.Analytics.Data.ObjectCtor;
|
|
9286
|
+
import ObjectDataMember = DevExpress.Analytics.Data.ObjectDataMember;
|
|
9287
|
+
import ObjectDataSourceMethodBase = DevExpress.Analytics.Data.ObjectDataSourceMethodBase;
|
|
9288
|
+
import ObjectParameter = DevExpress.Analytics.Data.ObjectParameter;
|
|
9289
|
+
import ILocalizationInfo = DevExpress.Analytics.Internal.ILocalizationInfo;
|
|
9290
|
+
import ISerializableModel = DevExpress.Analytics.Utils.ISerializableModel;
|
|
9546
9291
|
import UndoEngine = DevExpress.Analytics.Utils.UndoEngine;
|
|
9547
|
-
import
|
|
9548
|
-
import
|
|
9549
|
-
import
|
|
9550
|
-
import
|
|
9551
|
-
import
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9292
|
+
import IQueryBuilderOptions = DevExpress.Querybuilder.IQueryBuilderOptions;
|
|
9293
|
+
import IDataSourceBase = DevExpress.Analytics.Data.IDataSourceBase;
|
|
9294
|
+
import IDataSourceDBSchema = DevExpress.Analytics.Data.IDataSourceDBSchema;
|
|
9295
|
+
import SqlDataSource = DevExpress.Analytics.Data.SqlDataSource;
|
|
9296
|
+
import DbObjectDragDropHandler = DevExpress.QueryBuilder.Internal.DbObjectDragDropHandler;
|
|
9297
|
+
import QueryViewModel = DevExpress.QueryBuilder.Elements.QueryViewModel;
|
|
9298
|
+
import IRetrieveQuerySqlCallback = DevExpress.Analytics.Wizard.IRetrieveQuerySqlCallback;
|
|
9299
|
+
import IWizardPage = DevExpress.Analytics.Wizard.IWizardPage;
|
|
9300
|
+
import _WrappedWizardPage = DevExpress.Analytics.Wizard._WrappedWizardPage;
|
|
9301
|
+
import IWizardPageSectionMetadata = DevExpress.Analytics.Wizard.IWizardPageSectionMetadata;
|
|
9302
|
+
import PageFactory = DevExpress.Analytics.Wizard.PageFactory;
|
|
9303
|
+
import WrappedWizardPageSection = DevExpress.Analytics.Wizard.Internal.WrappedWizardPageSection;
|
|
9304
|
+
import WizardPageSectionFactory = DevExpress.Analytics.Wizard.Internal.WizardPageSectionFactory;
|
|
9305
|
+
import StateManager = DevExpress.Analytics.Wizard.StateManager;
|
|
9306
|
+
import WizardPageSectionIterator = DevExpress.Analytics.Wizard.Internal.WizardPageSectionIterator;
|
|
9307
|
+
import WizardPageSection = DevExpress.Analytics.Wizard.Internal.WizardPageSection;
|
|
9308
|
+
import EventManager = DevExpress.Analytics.Utils.EventManager;
|
|
9309
|
+
import IWizardEvents = DevExpress.Analytics.Wizard.IWizardEvents;
|
|
9310
|
+
import IDataSourceWizardState = DevExpress.Analytics.Wizard.IDataSourceWizardState;
|
|
9311
|
+
import IDataSourceInfo = DevExpress.Analytics.Internal.IDataSourceInfo;
|
|
9312
|
+
import DefaultTreeListItemFactory = DevExpress.Analytics.Widgets.Internal.DefaultTreeListItemFactory;
|
|
9313
|
+
import TreeListItemViewModel = DevExpress.Analytics.Widgets.Internal.TreeListItemViewModel;
|
|
9314
|
+
import FederationDataSource = DevExpress.Analytics.Data.FederationDataSource;
|
|
9315
|
+
import _DataSourceWizardOptions = DevExpress.Analytics.Wizard._DataSourceWizardOptions;
|
|
9316
|
+
import BaseWizard = DevExpress.Analytics.Wizard.BaseWizard;
|
|
9317
|
+
import IBeforeWizardPageInitializeEventArgs = DevExpress.Analytics.Wizard.IBeforeWizardPageInitializeEventArgs;
|
|
9318
|
+
import IWizardPageEventArgs = DevExpress.Analytics.Wizard.IWizardPageEventArgs;
|
|
9319
|
+
import WizardPageProcessor = DevExpress.Analytics.Wizard.Internal.WizardPageProcessor;
|
|
9320
|
+
import WizardDragDropHandler = DevExpress.Analytics.Internal.WizardDragDropHandler;
|
|
9321
|
+
import PopupEditorBase = DevExpress.Analytics.Widgets.Internal.PopupEditorBase;
|
|
9322
|
+
import ResizeHelper = DevExpress.Analytics.Widgets.Internal.ResizeHelper;
|
|
9323
|
+
import ITreeListOptions = DevExpress.Analytics.Widgets.Internal.ITreeListOptions;
|
|
9324
|
+
import getParentContainer = DevExpress.Analytics.Internal.getParentContainer;
|
|
9325
|
+
import IFederationQuery = DevExpress.QueryBuilder.Utils.IFederationQuery;
|
|
9326
|
+
import FederationTableViewModel = DevExpress.QueryBuilder.Internal.FederationTableViewModel;
|
|
9327
|
+
import SelectQuery = DevExpress.Analytics.Data.SelectQuery;
|
|
9328
|
+
import IQueryBuilderSurfaceCreator = DevExpress.QueryBuilder.Internal.IQueryBuilderSurfaceCreator;
|
|
9329
|
+
import FederationQueryBuilderPopupBase = DevExpress.Analytics.Wizard.Internal.FederationQueryBuilderPopupBase;
|
|
9330
|
+
import TransformQuery = DevExpress.Analytics.Data.TransformQuery;
|
|
9331
|
+
import UnionQuery = DevExpress.Analytics.Data.UnionQuery;
|
|
9332
|
+
import ObjectType = DevExpress.Analytics.Data.ObjectType;
|
|
9333
|
+
import TreeListController = DevExpress.Analytics.Widgets.Internal.TreeListController;
|
|
9334
|
+
import ObjectSchemaProvider = DevExpress.Analytics.Wizard.Internal.ObjectSchemaProvider;
|
|
9335
|
+
import IItemsExtender = DevExpress.Analytics.Internal.IItemsExtender;
|
|
9336
|
+
import PathRequest = DevExpress.Analytics.Utils.PathRequest;
|
|
9337
|
+
import IFederationQueryBuilderCallbacks = DevExpress.Analytics.Wizard.Internal.IFederationQueryBuilderCallbacks;
|
|
9338
|
+
/// <reference types="jquery" />
|
|
9563
9339
|
|
|
9564
9340
|
|
|
9565
9341
|
|
|
9342
|
+
export class SelectQuerySqlTextProvider {
|
|
9343
|
+
private _selectStatementCallback;
|
|
9344
|
+
private _connection;
|
|
9345
|
+
constructor(_selectStatementCallback: (connection: SqlDataConnection, queryJSON: string) => JQueryPromise<ISelectStatementResponse>, _connection: () => SqlDataConnection);
|
|
9346
|
+
getQuerySqlText(newQuery: TableQuery): JQueryPromise<ISelectStatementResponse>;
|
|
9347
|
+
}
|
|
9566
9348
|
|
|
9349
|
+
/// <reference types="jquery" />
|
|
9567
9350
|
|
|
9568
9351
|
|
|
9569
|
-
export class DiagramElementBaseViewModel extends ElementViewModel {
|
|
9570
|
-
getControlFactory(): ControlsFactory;
|
|
9571
|
-
constructor(control: any, parent: ElementViewModel, serializer?: ModelSerializer);
|
|
9572
|
-
size: Size;
|
|
9573
|
-
location: Point;
|
|
9574
|
-
}
|
|
9575
|
-
export var diagramElementSerializationInfo: ISerializationInfoArray;
|
|
9576
9352
|
|
|
9577
9353
|
|
|
9578
|
-
export
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9354
|
+
export interface ISqlQueryControl {
|
|
9355
|
+
isNextDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9356
|
+
isFinishDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9357
|
+
setQuery: (query: ISqlQueryViewModel, isInProcess?: ko.Observable<boolean>) => JQueryPromise<any>;
|
|
9358
|
+
getQuery: () => ISqlQueryViewModel;
|
|
9359
|
+
runQueryBuilderDisabled: boolean;
|
|
9360
|
+
}
|
|
9361
|
+
export class SelectStatementQueryControl extends Disposable implements ISqlQueryControl {
|
|
9362
|
+
private _tableQueryString;
|
|
9363
|
+
private _query;
|
|
9364
|
+
private _needToCustomizeParameters;
|
|
9365
|
+
private _sqlTextProvider;
|
|
9366
|
+
constructor(sqlTextProvider: SelectQuerySqlTextProvider, disableCustomSql: any);
|
|
9367
|
+
template: string;
|
|
9368
|
+
aceOptions: {
|
|
9369
|
+
showLineNumbers: boolean;
|
|
9370
|
+
showPrintMargin: boolean;
|
|
9371
|
+
enableBasicAutocompletion: boolean;
|
|
9372
|
+
enableLiveAutocompletion: boolean;
|
|
9373
|
+
readOnly: boolean;
|
|
9374
|
+
highlightSelectedWord: boolean;
|
|
9375
|
+
showGutter: boolean;
|
|
9376
|
+
highlightActiveLine: boolean;
|
|
9377
|
+
};
|
|
9378
|
+
additionalOptions: {
|
|
9379
|
+
onChange: (session: any) => void;
|
|
9380
|
+
onValueChange: (editor: any) => void;
|
|
9381
|
+
changeTimeout: number;
|
|
9382
|
+
overrideEditorFocus: boolean;
|
|
9383
|
+
setUseWrapMode: boolean;
|
|
9384
|
+
};
|
|
9385
|
+
aceAvailable: any;
|
|
9386
|
+
languageHelper: {
|
|
9387
|
+
getLanguageMode: () => string;
|
|
9388
|
+
createCompleters: () => any[];
|
|
9389
|
+
};
|
|
9390
|
+
caption: () => any;
|
|
9391
|
+
sqlString: ko.PureComputed<string>;
|
|
9392
|
+
setQuery(query: ISqlQueryViewModel, isInProcess?: ko.Observable<boolean>): JQueryPromise<ISelectStatementResponse>;
|
|
9393
|
+
getQuery(): ISqlQueryViewModel;
|
|
9394
|
+
isNextDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9395
|
+
isFinishDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9396
|
+
get runQueryBuilderDisabled(): boolean;
|
|
9397
|
+
disableCustomSql: () => boolean;
|
|
9583
9398
|
}
|
|
9584
|
-
export const GRID_SIZE = 10;
|
|
9585
|
-
export function determineConnectingPoints<T extends {
|
|
9586
|
-
rightConnectionPoint: IConnectingPoint;
|
|
9587
|
-
leftConnectionPoint: IConnectingPoint;
|
|
9588
|
-
}>(startObject: T, endObject: T): {
|
|
9589
|
-
start: IConnectingPoint;
|
|
9590
|
-
end: IConnectingPoint;
|
|
9591
|
-
};
|
|
9592
|
-
|
|
9593
9399
|
|
|
9400
|
+
/// <reference types="jquery" />
|
|
9594
9401
|
|
|
9595
9402
|
|
|
9596
9403
|
|
|
9597
9404
|
|
|
9598
|
-
export
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9405
|
+
export class StoredProceduresQueryControl extends Disposable implements ISqlQueryControl {
|
|
9406
|
+
private _query;
|
|
9407
|
+
private _needToProcessParameters;
|
|
9408
|
+
private static _availableConvertToParameter;
|
|
9409
|
+
private get _selectedProcedure();
|
|
9410
|
+
private set _selectedProcedure(value);
|
|
9411
|
+
constructor();
|
|
9412
|
+
template: string;
|
|
9413
|
+
storedProcedures: ko.ObservableArray<DBStoredProcedure>;
|
|
9414
|
+
selectedProcedure: ko.ObservableArray<DBStoredProcedure>;
|
|
9415
|
+
caption: () => any;
|
|
9416
|
+
generateStoredProcedureDisplayName: (procedure: any) => string;
|
|
9417
|
+
scrollActiveItem(e: any): void;
|
|
9418
|
+
static generateStoredProcedureDisplayName(procedure: DBStoredProcedure): string;
|
|
9419
|
+
setQuery(query: StoredProcQuery): JQuery.Promise<any, any, any>;
|
|
9420
|
+
getQuery(): StoredProcQuery;
|
|
9421
|
+
isNextDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9422
|
+
isFinishDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9423
|
+
get runQueryBuilderDisabled(): boolean;
|
|
9607
9424
|
}
|
|
9608
|
-
export var connectingPointSerializationInfo: ISerializationInfoArray;
|
|
9609
9425
|
|
|
9426
|
+
/// <reference types="jquery" />
|
|
9610
9427
|
|
|
9611
9428
|
|
|
9612
9429
|
|
|
9613
9430
|
|
|
9614
9431
|
|
|
9615
9432
|
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9433
|
+
|
|
9434
|
+
export interface IAddQueriesTreeListCallbacks {
|
|
9435
|
+
deleteAction?: (name: string) => any;
|
|
9436
|
+
showQbCallBack?: (name?: string, isCustomQuery?: boolean) => any;
|
|
9437
|
+
disableCustomSql?: boolean;
|
|
9438
|
+
}
|
|
9439
|
+
export class DBSchemaItemsProvider extends Disposable implements IItemsProvider {
|
|
9440
|
+
private _callBack;
|
|
9441
|
+
private _tables;
|
|
9442
|
+
private _views;
|
|
9443
|
+
private _procedures;
|
|
9444
|
+
private _queries;
|
|
9445
|
+
private _customQueries;
|
|
9446
|
+
private _rootItems;
|
|
9447
|
+
constructor(dbSchemaProvider: IDBSchemaProvider, customQueries: ko.ObservableArray<TableQuery>, showQbCallBack: any, disableCustomSql: any, afterCheckToggled: (node: TreeNodeBase) => void);
|
|
9448
|
+
private _checkedRootNodesCount;
|
|
9449
|
+
getItems: (path: IPathRequest) => JQueryPromise<IDataMemberInfo[]>;
|
|
9450
|
+
hasCheckedItems: ko.PureComputed<boolean>;
|
|
9451
|
+
nextButtonDisabled: ko.PureComputed<boolean>;
|
|
9452
|
+
hasParametersToEdit: ko.PureComputed<boolean>;
|
|
9453
|
+
tables: () => TreeNode;
|
|
9454
|
+
views: () => TreeNode;
|
|
9455
|
+
procedures: () => ParameterTreeNode;
|
|
9456
|
+
queries: () => QueriesTreeNode;
|
|
9457
|
+
customQueries: () => ko.ObservableArray<ISqlQueryViewModel>;
|
|
9620
9458
|
}
|
|
9621
|
-
export var connectionPointSerializationInfo: ISerializationInfoArray;
|
|
9622
9459
|
|
|
9623
9460
|
|
|
9624
9461
|
|
|
9625
9462
|
|
|
9626
9463
|
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9464
|
+
|
|
9465
|
+
|
|
9466
|
+
export var defaultObjectDataSourceItemSpecifics: string;
|
|
9467
|
+
export class TreeNodeBase extends Disposable implements IDataMemberInfo {
|
|
9468
|
+
name: string;
|
|
9469
|
+
displayName: string;
|
|
9470
|
+
specifics: string;
|
|
9471
|
+
private _afterCheckToggled;
|
|
9472
|
+
constructor(name: string, displayName: string, specifics: string, isChecked?: boolean, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
9473
|
+
checked: ko.PureComputed<boolean>;
|
|
9474
|
+
unChecked(): boolean;
|
|
9475
|
+
toggleChecked(): void;
|
|
9476
|
+
setChecked(value: boolean): void;
|
|
9477
|
+
isList: boolean;
|
|
9478
|
+
path: string;
|
|
9479
|
+
_checked: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9480
|
+
}
|
|
9481
|
+
export class TreeLeafNode extends TreeNodeBase {
|
|
9482
|
+
name: string;
|
|
9483
|
+
displayName: string;
|
|
9484
|
+
specifics: string;
|
|
9485
|
+
constructor(name: string, displayName: string, specifics: string, isChecked?: boolean, nodeArguments?: any, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
9486
|
+
arguments: DBStoredProcedureArgument[];
|
|
9487
|
+
hasQuery: boolean;
|
|
9488
|
+
}
|
|
9489
|
+
export class TreeNode extends TreeNodeBase {
|
|
9490
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
9491
|
+
initialized(): boolean;
|
|
9492
|
+
setChecked(value: boolean): void;
|
|
9493
|
+
initializeChildren(children: TreeNodeBase[]): void;
|
|
9494
|
+
countChecked: ko.PureComputed<number>;
|
|
9495
|
+
isList: boolean;
|
|
9496
|
+
children: ko.ObservableArray<TreeNodeBase>;
|
|
9497
|
+
}
|
|
9498
|
+
export class ParameterTreeNode extends TreeNode {
|
|
9499
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
9500
|
+
countChecked: ko.PureComputed<number>;
|
|
9501
|
+
hasParamsToEdit: ko.Observable<boolean>;
|
|
9502
|
+
}
|
|
9503
|
+
export class QueriesTreeNode extends ParameterTreeNode implements IPopoverListOptions {
|
|
9504
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, callbacks?: ko.Observable<IAddQueriesTreeListCallbacks>, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
9505
|
+
addAction: {
|
|
9506
|
+
clickAction: (item: any) => any;
|
|
9507
|
+
imageClassName: string;
|
|
9508
|
+
imageTemplateName: string;
|
|
9509
|
+
templateName: string;
|
|
9510
|
+
text: any;
|
|
9511
|
+
};
|
|
9512
|
+
getActions(context: any): IAction[];
|
|
9513
|
+
popoverListItems(): any;
|
|
9514
|
+
showPopover(): void;
|
|
9515
|
+
itemClickAction: (e: {
|
|
9516
|
+
itemData: {
|
|
9517
|
+
name: string;
|
|
9518
|
+
addAction: any;
|
|
9519
|
+
};
|
|
9520
|
+
}) => void;
|
|
9521
|
+
addQuery: any;
|
|
9522
|
+
addCustomQuery: any;
|
|
9523
|
+
target: any;
|
|
9524
|
+
className: string;
|
|
9525
|
+
popoverVisible: ko.Observable<boolean>;
|
|
9526
|
+
disableCustomSql: () => boolean;
|
|
9527
|
+
selectionDisabled: ko.PureComputed<boolean>;
|
|
9528
|
+
}
|
|
9529
|
+
export class TreeQueryNode extends TreeLeafNode {
|
|
9530
|
+
private query?;
|
|
9531
|
+
private _name;
|
|
9532
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, parameters: ko.Observable<DataSourceParameter[]>, callbacks: ko.Observable<IAddQueriesTreeListCallbacks>, afterCheckToggled?: (node: TreeLeafNode) => void, query?: any);
|
|
9533
|
+
setObservableName(name: ko.Observable<string> | ko.Computed<string>): void;
|
|
9534
|
+
editAction: {
|
|
9535
|
+
clickAction: (item: any) => any;
|
|
9536
|
+
imageClassName: string;
|
|
9537
|
+
imageTemplateName: string;
|
|
9538
|
+
text: any;
|
|
9539
|
+
};
|
|
9540
|
+
removeAction: {
|
|
9541
|
+
clickAction: (item: any) => void;
|
|
9542
|
+
imageClassName: string;
|
|
9543
|
+
imageTemplateName: string;
|
|
9544
|
+
text: any;
|
|
9545
|
+
};
|
|
9546
|
+
getActions(context: any): IAction[];
|
|
9547
|
+
editQuery: any;
|
|
9548
|
+
removeQuery: any;
|
|
9549
|
+
parameters: ko.Observable<DataSourceParameter[]>;
|
|
9550
|
+
}
|
|
9551
|
+
export class FieldTreeNode extends TreeNodeBase {
|
|
9552
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, path: string, afterCheckToggled?: (node: TreeNodeBase) => void, isDraggable?: boolean);
|
|
9553
|
+
visible: ko.Observable<boolean>;
|
|
9554
|
+
isComplex: boolean;
|
|
9555
|
+
dragData: any;
|
|
9556
|
+
disabled: ko.Observable<boolean>;
|
|
9557
|
+
}
|
|
9558
|
+
export class DataMemberTreeNode extends TreeNode {
|
|
9559
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, path: string, afterCheckToggled?: (node: DataMemberTreeNode) => void);
|
|
9560
|
+
setChecked(value: boolean): void;
|
|
9561
|
+
visible: ko.Observable<boolean>;
|
|
9562
|
+
children: ko.ObservableArray<DataMemberTreeNode | FieldTreeNode>;
|
|
9563
|
+
isComplex: boolean;
|
|
9564
|
+
}
|
|
9565
|
+
export class SingleCheckedDataMemberTreeNode extends DataMemberTreeNode {
|
|
9566
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, path: string, afterCheckToggled?: (node: DataMemberTreeNode) => void);
|
|
9567
|
+
_checked: ko.Observable<boolean>;
|
|
9568
|
+
children: ko.ObservableArray<FieldTreeNode>;
|
|
9636
9569
|
}
|
|
9637
9570
|
|
|
9571
|
+
/// <reference types="jquery" />
|
|
9638
9572
|
|
|
9639
9573
|
|
|
9640
9574
|
|
|
9641
9575
|
|
|
9642
9576
|
|
|
9643
|
-
export class
|
|
9644
|
-
private
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9577
|
+
export class TreeNodeItemsProvider extends Disposable implements IItemsProvider {
|
|
9578
|
+
private _fullTreeLoaded;
|
|
9579
|
+
protected _rootItems: ko.ObservableArray<DataMemberTreeNode>;
|
|
9580
|
+
private _checkedRootNodesCount;
|
|
9581
|
+
private _createTree;
|
|
9582
|
+
private _createTreePart;
|
|
9583
|
+
private _setChecked;
|
|
9584
|
+
selectAllItems(onlyRoot?: boolean): JQuery.Promise<any, any, any>;
|
|
9585
|
+
selectItemsByPath(path: string): JQuery.Promise<any, any, any>;
|
|
9586
|
+
selectItemByPath(path: string): JQuery.Promise<any, any, any>;
|
|
9587
|
+
protected _getParentNode(pathRequest: IPathRequest): DataMemberTreeNode;
|
|
9588
|
+
protected _getDefaultTreeNodeCheckState(item: IDataMemberInfo): boolean;
|
|
9589
|
+
constructor(fieldListProvider: FieldListProvider, rootItems: ko.ObservableArray<IDataMemberInfo>, generateTreeNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => DataMemberTreeNode, generateTreeLeafNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => FieldTreeNode);
|
|
9590
|
+
hasCheckedItems: ko.Computed<boolean>;
|
|
9591
|
+
getItems: (path: IPathRequest, collectChilds?: boolean) => JQueryPromise<IDataMemberInfo[]>;
|
|
9592
|
+
getRootItems: () => DataMemberTreeNode[];
|
|
9593
|
+
isList(dataMember: IDataMemberInfo, parentNode: DataMemberTreeNode): boolean;
|
|
9660
9594
|
}
|
|
9661
9595
|
|
|
9662
9596
|
|
|
9663
9597
|
|
|
9664
9598
|
|
|
9665
|
-
export class DiagramElementBaseSurface<M extends DiagramElementBaseViewModel = DiagramElementBaseViewModel> extends SurfaceElementBase<M> {
|
|
9666
|
-
static _unitProperties: IUnitProperties<DiagramElementBaseViewModel>;
|
|
9667
|
-
constructor(control: M, context: ISurfaceContext, unitProperties: IUnitProperties<M>);
|
|
9668
|
-
template: string;
|
|
9669
|
-
selectiontemplate: string;
|
|
9670
|
-
contenttemplate: string;
|
|
9671
|
-
margin: ko.Observable<number>;
|
|
9672
|
-
positionWidthWithoutMargins: ko.Computed<number>;
|
|
9673
|
-
positionLineHeightWithoutMargins: ko.Computed<number>;
|
|
9674
|
-
}
|
|
9675
9599
|
|
|
9676
9600
|
|
|
9601
|
+
export class JsonTreeNodeItemsProvider extends TreeNodeItemsProvider implements IItemsProvider {
|
|
9602
|
+
constructor(fieldListProvider: FieldListProvider, rootItems: ko.ObservableArray<IDataMemberInfo>, generateTreeNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => DataMemberTreeNode, generateTreeLeafNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => FieldTreeNode);
|
|
9603
|
+
protected _getDefaultTreeNodeCheckState(item: IDataMemberInfo): boolean;
|
|
9604
|
+
getNodeByPath(pathRequest: IPathRequest): DataMemberTreeNode;
|
|
9605
|
+
}
|
|
9677
9606
|
|
|
9678
9607
|
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
|
|
9608
|
+
|
|
9609
|
+
export function getLocalizedValidationErrorMessage(emptyValueErrorMessage: string, localizedPropertyName?: string, subProperty?: string): any;
|
|
9610
|
+
export class JsonStringEditor extends Editor {
|
|
9611
|
+
constructor(modelPropertyInfo: ISerializationInfo, level: any, parentDisabled: any, textToSearch: any);
|
|
9612
|
+
uploadFile(e: any): void;
|
|
9613
|
+
getUploadTitle(): any;
|
|
9614
|
+
aceEditorHasErrors: ko.Observable<boolean>;
|
|
9615
|
+
aceAvailable: any;
|
|
9616
|
+
editorContainer: ko.Observable<any>;
|
|
9617
|
+
_model: ko.Observable<any>;
|
|
9618
|
+
languageHelper: {
|
|
9619
|
+
getLanguageMode: () => string;
|
|
9620
|
+
createCompleters: () => any[];
|
|
9621
|
+
};
|
|
9622
|
+
aceOptions: {
|
|
9623
|
+
showLineNumbers: boolean;
|
|
9624
|
+
highlightActiveLine: boolean;
|
|
9625
|
+
showPrintMargin: boolean;
|
|
9626
|
+
enableBasicAutocompletion: boolean;
|
|
9627
|
+
enableLiveAutocompletion: boolean;
|
|
9628
|
+
};
|
|
9629
|
+
isValid: ko.Computed<any>;
|
|
9630
|
+
additionalOptions: {
|
|
9631
|
+
onChangeAnnotation: (session: any) => void;
|
|
9632
|
+
onBlur: () => void;
|
|
9633
|
+
};
|
|
9634
|
+
jsonStringValidationRules: Array<any>;
|
|
9687
9635
|
}
|
|
9688
|
-
export var margins: ISerializationInfo;
|
|
9689
|
-
export var pageWidth: ISerializationInfo;
|
|
9690
|
-
export var pageHeight: ISerializationInfo;
|
|
9691
|
-
export var diagramSerializationsInfo: ISerializationInfoArray;
|
|
9692
9636
|
|
|
9693
9637
|
|
|
9694
9638
|
|
|
@@ -9697,119 +9641,246 @@ declare module DevExpress.Analytics.Diagram {
|
|
|
9697
9641
|
|
|
9698
9642
|
|
|
9699
9643
|
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9644
|
+
|
|
9645
|
+
export interface IJSONSourcePagePropertyDescriptor {
|
|
9646
|
+
value: ko.Observable<any>;
|
|
9647
|
+
displayName: () => string;
|
|
9648
|
+
}
|
|
9649
|
+
export abstract class JsonDataSourceJsonSourcePageSettingsBase extends Disposable implements IJsonDataSourceJsonSourceValidatable {
|
|
9650
|
+
dispose(): void;
|
|
9651
|
+
protected _validationGroup: any;
|
|
9652
|
+
protected _validationSummary: any;
|
|
9653
|
+
private _onValidationGroupInitialized;
|
|
9654
|
+
private _onValidationGroupDisposing;
|
|
9655
|
+
protected _onValidationSummaryInitialized(args: any): void;
|
|
9656
|
+
private _onValidationSummaryDisposing;
|
|
9657
|
+
protected _repaintSummary(): void;
|
|
9658
|
+
abstract _validatorsReady: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9659
|
+
_validate(): void;
|
|
9660
|
+
constructor();
|
|
9661
|
+
validationGroup: {
|
|
9662
|
+
onInitialized: (args: any) => void;
|
|
9663
|
+
onDisposing: (args: any) => void;
|
|
9664
|
+
validate: () => void;
|
|
9665
|
+
};
|
|
9666
|
+
validationSummary: {
|
|
9667
|
+
onInitialized: (args: any) => void;
|
|
9668
|
+
onDisposing: (args: any) => void;
|
|
9669
|
+
};
|
|
9670
|
+
isValid: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9671
|
+
grid: ObjectProperties;
|
|
9672
|
+
}
|
|
9673
|
+
export class JsonDataSourceJsonSourcePageStringSettings extends JsonDataSourceJsonSourcePageSettingsBase implements IJsonDataSourceJsonSourcePageSettings {
|
|
9674
|
+
onChange(_onChange: () => void): any;
|
|
9675
|
+
_validatorsReady: ko.Observable<boolean>;
|
|
9676
|
+
private _isJsonSourceValid;
|
|
9677
|
+
isEmpty(): boolean;
|
|
9678
|
+
reset(): void;
|
|
9679
|
+
setValue(dataSource: JsonDataSource): void;
|
|
9680
|
+
getInfo(): ISerializationInfoArray;
|
|
9681
|
+
applySettings(jsonDataSource: JsonDataSource): void;
|
|
9682
|
+
constructor();
|
|
9683
|
+
isValid: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9684
|
+
validationGroup: any;
|
|
9685
|
+
validationSummary: any;
|
|
9686
|
+
stringSource: ko.Observable<string> | ko.Computed<string>;
|
|
9687
|
+
aceEditorHasErrors: ko.Observable<boolean>;
|
|
9688
|
+
grid: ObjectProperties;
|
|
9689
|
+
cssClass: {
|
|
9690
|
+
'dxrd-wizard-json-string-source-grid': boolean;
|
|
9691
|
+
};
|
|
9692
|
+
}
|
|
9693
|
+
export class JsonDataSourceJsonSourcePageUriSettings extends JsonDataSourceJsonSourcePageSettingsBase implements IJsonDataSourceJsonSourcePageSettings {
|
|
9694
|
+
private _requestWrapper;
|
|
9695
|
+
private _itemsProvider?;
|
|
9696
|
+
private _isUriValid;
|
|
9697
|
+
private _lastValidatedJsonSourceJSON;
|
|
9698
|
+
private _authNameValidatorInstance;
|
|
9699
|
+
private _isInitUri;
|
|
9700
|
+
private _collectionItemNamePlaceholder;
|
|
9701
|
+
private _lastValidateDeferred;
|
|
9702
|
+
private _sourceUriValidatorsReady;
|
|
9703
|
+
private _basicAuthValidatorsReady;
|
|
9704
|
+
private _validationRequested;
|
|
9705
|
+
private _validateUriSource;
|
|
9706
|
+
private _isCollectionValid;
|
|
9707
|
+
private _isParametersValid;
|
|
9708
|
+
private _isBasicHttpAuthValid;
|
|
9709
|
+
private _noEmptyProperties;
|
|
9710
|
+
private _lastValidationMessage;
|
|
9711
|
+
private _getSerializedUriSource;
|
|
9712
|
+
_sourceUriValidationCallback: (params: any) => boolean;
|
|
9713
|
+
private _getSourceUriInfo;
|
|
9714
|
+
private _getBasicHttpAuthInfo;
|
|
9715
|
+
private _getParametersInfo;
|
|
9716
|
+
private _getResultUriInfo;
|
|
9717
|
+
private _getResultUri;
|
|
9718
|
+
private _appendPathSegmentsToUri;
|
|
9719
|
+
private _appendQuerySegmentsToUri;
|
|
9720
|
+
constructor(_requestWrapper: RequestWrapper, _itemsProvider?: IItemsProvider);
|
|
9721
|
+
protected _onValidationSummaryInitialized(args: any): void;
|
|
9722
|
+
_applyParametersToSource(jsonDataSource: JsonDataSource): void;
|
|
9723
|
+
applySettings(jsonDataSource: JsonDataSource): void;
|
|
9724
|
+
getInfo(): ISerializationInfoArray;
|
|
9725
|
+
reset(): void;
|
|
9726
|
+
setValue(dataSource: JsonDataSource): void;
|
|
9727
|
+
dispose(): void;
|
|
9728
|
+
onChange(_onChange: () => void): any;
|
|
9729
|
+
isEmpty(): boolean;
|
|
9730
|
+
isValid: ko.PureComputed<boolean>;
|
|
9731
|
+
_validate(): void;
|
|
9732
|
+
_validatorsReady: ko.PureComputed<boolean>;
|
|
9733
|
+
sourceUri: ko.Observable<string>;
|
|
9734
|
+
basicHttpAuth: {
|
|
9735
|
+
password: ko.Observable<string>;
|
|
9736
|
+
userName: ko.Observable<string>;
|
|
9737
|
+
};
|
|
9738
|
+
parameters: ko.ObservableArray<JsonParameter>;
|
|
9739
|
+
resultUri: ko.Computed<string>;
|
|
9718
9740
|
}
|
|
9719
9741
|
|
|
9720
9742
|
|
|
9721
9743
|
|
|
9722
9744
|
|
|
9723
9745
|
|
|
9724
|
-
export class ConnectionPointSurface extends SurfaceElementBase<ConnectionPointViewModel> {
|
|
9725
|
-
static _unitProperties: IUnitProperties<ConnectionPointViewModel>;
|
|
9726
|
-
constructor(control: ConnectionPointViewModel, context: ISurfaceContext);
|
|
9727
|
-
template: string;
|
|
9728
|
-
selectiontemplate: string;
|
|
9729
|
-
relativeX: ko.Observable<number> | ko.Computed<number>;
|
|
9730
|
-
relativeY: ko.Observable<number> | ko.Computed<number>;
|
|
9731
|
-
container(): DiagramSurface;
|
|
9732
|
-
}
|
|
9733
9746
|
|
|
9734
9747
|
|
|
9735
9748
|
|
|
9749
|
+
export class ObjectDataSourceParameterProperty extends Disposable {
|
|
9750
|
+
private _parameter;
|
|
9751
|
+
private _itemsProvider;
|
|
9752
|
+
switchPropertyType(): void;
|
|
9753
|
+
isExpression(): boolean;
|
|
9754
|
+
private _generateInfo;
|
|
9755
|
+
private _initGetInfo;
|
|
9756
|
+
private _isDateTimeParamerterType;
|
|
9757
|
+
private _patchOriginalParameterValue;
|
|
9758
|
+
private _afterInitialize;
|
|
9759
|
+
private _subscribeProperties;
|
|
9760
|
+
isPropertyVisible(propertyName: string): boolean;
|
|
9761
|
+
constructor(_parameter: ObjectParameter, _itemsProvider: IItemsProvider);
|
|
9762
|
+
actions: IModelAction[];
|
|
9763
|
+
actionProviders: IModelActionProvider[];
|
|
9764
|
+
reset: () => void;
|
|
9765
|
+
getInfo: () => ISerializationInfoArray;
|
|
9766
|
+
type: ko.Observable<string>;
|
|
9767
|
+
value: ko.Observable<any>;
|
|
9768
|
+
expression: IExpressionOptions;
|
|
9769
|
+
} class ObjectDataSourceParameterGrid extends ObjectProperties {
|
|
9770
|
+
constructor(x: ObjectDataSourceParameterProperty);
|
|
9771
|
+
}
|
|
9772
|
+
export class ObjectDataSourceParametersModel extends Disposable {
|
|
9773
|
+
_grids: ObjectDataSourceParameterGrid[];
|
|
9774
|
+
displayName: string;
|
|
9775
|
+
constructor(parametersMethod: ObjectDataSourceMethodBase, itemsProvider: IItemsProvider);
|
|
9776
|
+
}
|
|
9777
|
+
export class ChooseObjectMemberParameters extends Disposable {
|
|
9778
|
+
private _itemsProvider;
|
|
9779
|
+
private _ctorParametersObject;
|
|
9780
|
+
private _dataMemberParametersObject;
|
|
9781
|
+
private _updateParameters;
|
|
9782
|
+
constructor(_itemsProvider: IItemsProvider);
|
|
9783
|
+
updateCtorParameters(method: ObjectDataSourceMethodBase): void;
|
|
9784
|
+
updateMethodParameters(method: ObjectDataSourceMethodBase): void;
|
|
9785
|
+
hasParameters: () => ObjectDataSourceParametersModel;
|
|
9786
|
+
}
|
|
9787
|
+
export class ChooseObjectParameters extends ChooseObjectMemberParameters {
|
|
9788
|
+
constructor(selectedCtor: ko.Observable<ObjectCtor>, selectedDataMembers: ko.ObservableArray<ObjectDataMember>, itemsProvider: IItemsProvider);
|
|
9789
|
+
}
|
|
9790
|
+
export {};
|
|
9736
9791
|
|
|
9737
9792
|
|
|
9738
9793
|
|
|
9739
|
-
export interface IRoutePoint {
|
|
9740
|
-
x: ko.Observable<number> | ko.Computed<number>;
|
|
9741
|
-
y: ko.Observable<number> | ko.Computed<number>;
|
|
9742
|
-
modelPoint: IPoint;
|
|
9743
|
-
}
|
|
9744
|
-
export class RoutedConnectorSurface extends DiagramElementBaseSurface<RoutedConnectorViewModel> {
|
|
9745
|
-
private static _connectorsCount;
|
|
9746
|
-
private _connectorID;
|
|
9747
|
-
private _createRoutePoint;
|
|
9748
|
-
private _createRouteLineWrapper;
|
|
9749
|
-
private _updateRoutePoints;
|
|
9750
|
-
constructor(control: RoutedConnectorViewModel, context: ISurfaceContext);
|
|
9751
|
-
template: string;
|
|
9752
|
-
selectiontemplate: string;
|
|
9753
|
-
startPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
9754
|
-
endPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
9755
|
-
showArrow: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9756
|
-
showRightArrow: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9757
|
-
isVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
9758
|
-
routePoints: ko.ObservableArray<IRoutePoint>;
|
|
9759
|
-
routePointsSet: ko.PureComputed<string>;
|
|
9760
|
-
routeLineWrappers: ko.PureComputed<any[]>;
|
|
9761
|
-
connectorID: () => number;
|
|
9762
|
-
}
|
|
9763
9794
|
|
|
9764
9795
|
|
|
9765
9796
|
|
|
9766
9797
|
|
|
9767
9798
|
|
|
9768
|
-
export class ConnectorSurface extends DiagramElementBaseSurface<ConnectorViewModel> {
|
|
9769
|
-
constructor(control: ConnectorViewModel, context: ISurfaceContext);
|
|
9770
|
-
template: string;
|
|
9771
|
-
selectiontemplate: string;
|
|
9772
|
-
startPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
9773
|
-
endPoint: ko.Observable<ConnectionPointSurface> | ko.Computed<ConnectionPointSurface>;
|
|
9774
|
-
}
|
|
9775
9799
|
|
|
9776
9800
|
|
|
9777
9801
|
|
|
9778
9802
|
|
|
9779
9803
|
|
|
9780
|
-
export class
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9804
|
+
export abstract class QueryBuilderPopupBase extends Disposable {
|
|
9805
|
+
customizeQBInitializationData: (options: IQueryBuilderOptions) => IQueryBuilderOptions;
|
|
9806
|
+
protected _rtl: boolean;
|
|
9807
|
+
protected _querySource: ko.Observable | ko.Computed;
|
|
9808
|
+
protected _dbSchemaProvider: ko.Observable<IDBSchemaProvider> | ko.Computed<IDBSchemaProvider>;
|
|
9809
|
+
protected _dataSource: IDataSourceDBSchema;
|
|
9810
|
+
protected _applyQuery: any;
|
|
9811
|
+
constructor(applyNewQuery: any, rtl?: boolean, customizeQBInitializationData?: (options: IQueryBuilderOptions) => IQueryBuilderOptions);
|
|
9812
|
+
designer: ko.Observable<{
|
|
9813
|
+
model: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>;
|
|
9814
|
+
updateSurface: () => void;
|
|
9815
|
+
showPreview: () => void;
|
|
9816
|
+
dataPreview: any;
|
|
9817
|
+
fieldDragHandler: DbObjectDragDropHandler;
|
|
9818
|
+
undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>;
|
|
9819
|
+
}>;
|
|
9820
|
+
qbOptions: ko.Observable<IQueryBuilderOptions>;
|
|
9821
|
+
okButtonDisabled: ko.PureComputed<boolean>;
|
|
9822
|
+
isVisible: ko.Observable<boolean>;
|
|
9823
|
+
showLoadIndicator: ko.Observable<boolean>;
|
|
9824
|
+
static customizeQueryBuilderActions: (sender: any, args: {
|
|
9825
|
+
Actions: IAction[];
|
|
9826
|
+
}) => void;
|
|
9827
|
+
show(query: any, dataSource: IDataSourceDBSchema): void;
|
|
9828
|
+
cancelHandler(): void;
|
|
9829
|
+
previewHandler(): void;
|
|
9830
|
+
okHandler(): void;
|
|
9831
|
+
abstract createQuery(): ISerializableModel;
|
|
9832
|
+
abstract getDataSource(): IDataSourceBase;
|
|
9833
|
+
onHiddingHandler(): void;
|
|
9834
|
+
popupViewModel(element: HTMLElement): {
|
|
9835
|
+
visible: ko.Observable<boolean>;
|
|
9836
|
+
title: any;
|
|
9837
|
+
showTitle: boolean;
|
|
9838
|
+
shading: boolean;
|
|
9839
|
+
fullScreen: boolean;
|
|
9840
|
+
width: string;
|
|
9841
|
+
height: string;
|
|
9842
|
+
container: any;
|
|
9843
|
+
wrapperAttr: {
|
|
9844
|
+
class: string;
|
|
9845
|
+
};
|
|
9846
|
+
position: {
|
|
9847
|
+
of: any;
|
|
9848
|
+
};
|
|
9849
|
+
onHidding: () => void;
|
|
9850
|
+
};
|
|
9851
|
+
getDisplayText(key: any): any;
|
|
9852
|
+
localizationIdMap: {
|
|
9853
|
+
[key: string]: ILocalizationInfo;
|
|
9854
|
+
};
|
|
9855
|
+
}
|
|
9856
|
+
export class QueryBuilderPopup extends QueryBuilderPopupBase {
|
|
9857
|
+
customizeQBInitializationData: (options: IQueryBuilderOptions) => IQueryBuilderOptions;
|
|
9858
|
+
protected _applyQuery: IRetrieveQuerySqlCallback;
|
|
9859
|
+
constructor(applyNewQuery: IRetrieveQuerySqlCallback, rtl?: boolean, customizeQBInitializationData?: (options: IQueryBuilderOptions) => IQueryBuilderOptions);
|
|
9860
|
+
getDataSource(): SqlDataSource;
|
|
9861
|
+
createQuery(): TableQuery;
|
|
9785
9862
|
}
|
|
9786
9863
|
|
|
9787
9864
|
|
|
9788
9865
|
|
|
9789
9866
|
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
selectiontemplate: string;
|
|
9796
|
-
contenttemplate: string;
|
|
9867
|
+
export class WrappedWizardPageSection extends _WrappedWizardPage {
|
|
9868
|
+
pageId: string;
|
|
9869
|
+
page: IWizardPage;
|
|
9870
|
+
onChange: (callback: () => void) => void;
|
|
9871
|
+
constructor(pageId: string, page: IWizardPage, metadata: IWizardPageSectionMetadata<IWizardPage>);
|
|
9797
9872
|
}
|
|
9798
9873
|
|
|
9799
9874
|
|
|
9800
9875
|
|
|
9801
9876
|
|
|
9802
|
-
export class
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9877
|
+
export class WizardPageSectionFactory extends PageFactory {
|
|
9878
|
+
registerMetadata<T extends IWizardPage>(pageId: string, metadata: IWizardPageSectionMetadata<T>): void;
|
|
9879
|
+
metadata: {
|
|
9880
|
+
[key: string]: IWizardPageSectionMetadata<IWizardPage>;
|
|
9881
|
+
};
|
|
9806
9882
|
}
|
|
9807
9883
|
|
|
9808
|
-
export function registerControls(): void;
|
|
9809
|
-
|
|
9810
|
-
export {};
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
9884
|
/// <reference types="jquery" />
|
|
9814
9885
|
|
|
9815
9886
|
|
|
@@ -9817,13 +9888,33 @@ declare module DevExpress.Analytics.Diagram {
|
|
|
9817
9888
|
|
|
9818
9889
|
|
|
9819
9890
|
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9891
|
+
export class WizardPageSection {
|
|
9892
|
+
pageId: string;
|
|
9893
|
+
metadata: IWizardPageSectionMetadata<IWizardPage>;
|
|
9894
|
+
resetPage(): void;
|
|
9895
|
+
setPage(page: _WrappedWizardPage): void;
|
|
9896
|
+
constructor(pageId: string, metadata: IWizardPageSectionMetadata<IWizardPage>);
|
|
9897
|
+
page: ko.Observable<_WrappedWizardPage>;
|
|
9898
|
+
}
|
|
9899
|
+
export class WizardPageSectionIterator {
|
|
9900
|
+
pageFactory: WizardPageSectionFactory;
|
|
9901
|
+
stateManager: StateManager;
|
|
9902
|
+
private _resetPageCallback;
|
|
9903
|
+
private _pagesIds;
|
|
9904
|
+
private _pages;
|
|
9905
|
+
private _resetPages;
|
|
9906
|
+
private _tryResetPageByMetadata;
|
|
9907
|
+
private _resetPage;
|
|
9908
|
+
private _createNewPage;
|
|
9909
|
+
private _getPage;
|
|
9910
|
+
private _getNextPage;
|
|
9911
|
+
private _getPageIndex;
|
|
9912
|
+
resetNextPages(pageId: string): void;
|
|
9913
|
+
constructor(pageFactory: WizardPageSectionFactory, stateManager: StateManager, _resetPageCallback: (pageId: string) => void);
|
|
9914
|
+
getStartPage(): WrappedWizardPageSection;
|
|
9915
|
+
getNextPage(currentPageId: string): JQuery.Promise<WrappedWizardPageSection[], any, any>;
|
|
9916
|
+
getCurrentState(): any;
|
|
9917
|
+
getNextPageId(pageId?: string): string | string[];
|
|
9827
9918
|
}
|
|
9828
9919
|
|
|
9829
9920
|
/// <reference types="jquery" />
|
|
@@ -9835,168 +9926,149 @@ declare module DevExpress.Analytics.Diagram {
|
|
|
9835
9926
|
|
|
9836
9927
|
|
|
9837
9928
|
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9929
|
+
export class WizardPageProcessor extends Disposable {
|
|
9930
|
+
pageFactory: WizardPageSectionFactory;
|
|
9931
|
+
dispose(): void;
|
|
9932
|
+
static __loadingStateFunctionName: string;
|
|
9933
|
+
stateManager: StateManager;
|
|
9934
|
+
iterator: WizardPageSectionIterator;
|
|
9935
|
+
events: EventManager<WizardPageProcessor, IWizardEvents<WizardPageProcessor>>;
|
|
9936
|
+
protected _createLoadingState(page: IWizardPage): void;
|
|
9937
|
+
protected _createNextAction(page: IWizardPage): void;
|
|
9938
|
+
private _loadingTimeout;
|
|
9939
|
+
private _changeTimeout;
|
|
9940
|
+
protected _loadingState(active: any): void;
|
|
9941
|
+
protected _extendedNextAction(): void;
|
|
9942
|
+
constructor(pageFactory: WizardPageSectionFactory, _loadingState?: (boolean: any) => void, _nextAction?: () => void);
|
|
9943
|
+
private _resetPageById;
|
|
9944
|
+
initialize(state: IDataSourceWizardState, createIterator?: (pageFactory: WizardPageSectionFactory, stateManager: StateManager) => WizardPageSectionIterator): void;
|
|
9945
|
+
private _canNext;
|
|
9946
|
+
private _canFinish;
|
|
9947
|
+
private _initPage;
|
|
9948
|
+
getPageById(pageId: any): WizardPageSection;
|
|
9949
|
+
start(): void;
|
|
9950
|
+
finishAction(): JQuery.Promise<any, any, any>;
|
|
9951
|
+
private _nextAction;
|
|
9952
|
+
sections: WizardPageSection[];
|
|
9953
|
+
isLoading: ko.Observable<boolean>;
|
|
9847
9954
|
}
|
|
9848
9955
|
|
|
9956
|
+
/// <reference types="jquery" />
|
|
9849
9957
|
|
|
9850
|
-
export var groups: GroupObject;
|
|
9851
|
-
export function createDiagramDesigner(element: Element, diagramSource: ko.Observable<any>, localization?: any, rtl?: boolean): any;
|
|
9852
|
-
|
|
9853
|
-
}
|
|
9854
|
-
declare module DevExpress.QueryBuilder.Elements.Metadata {
|
|
9855
|
-
import ISerializationInfoArray = DevExpress.Analytics.Utils.ISerializationInfoArray;
|
|
9856
|
-
|
|
9857
|
-
export var AggregationType: {
|
|
9858
|
-
None: string;
|
|
9859
|
-
Count: string;
|
|
9860
|
-
Max: string;
|
|
9861
|
-
Min: string;
|
|
9862
|
-
Avg: string;
|
|
9863
|
-
Sum: string;
|
|
9864
|
-
CountDistinct: string;
|
|
9865
|
-
AvgDistinct: string;
|
|
9866
|
-
SumDistinct: string;
|
|
9867
|
-
};
|
|
9868
|
-
export var columnSerializationInfo: ISerializationInfoArray;
|
|
9869
|
-
|
|
9870
|
-
export var ColumnType: {
|
|
9871
|
-
RecordsCount: string;
|
|
9872
|
-
Column: string;
|
|
9873
|
-
Expression: string;
|
|
9874
|
-
AllColumns: string;
|
|
9875
|
-
AllColumnsQuery: string;
|
|
9876
|
-
};
|
|
9877
|
-
export var columnExpressionSerializationsInfo: ({
|
|
9878
|
-
propertyName: string;
|
|
9879
|
-
modelName: string;
|
|
9880
|
-
defaultVal?: undefined;
|
|
9881
|
-
} | {
|
|
9882
|
-
propertyName: string;
|
|
9883
|
-
modelName: string;
|
|
9884
|
-
defaultVal: string;
|
|
9885
|
-
} | {
|
|
9886
|
-
propertyName: string;
|
|
9887
|
-
modelName: string;
|
|
9888
|
-
defaultVal: boolean;
|
|
9889
|
-
})[];
|
|
9890
9958
|
|
|
9891
9959
|
|
|
9892
|
-
export var allColumnsSerializationInfo: ISerializationInfoArray;
|
|
9893
9960
|
|
|
9894
9961
|
|
|
9895
|
-
export var tableSerializationInfo: ISerializationInfoArray;
|
|
9896
9962
|
|
|
9897
9963
|
|
|
9898
|
-
export var relationSerializationInfo: ISerializationInfoArray;
|
|
9899
9964
|
|
|
9900
|
-
export var ParametersMode: {
|
|
9901
|
-
ReadWrite: string;
|
|
9902
|
-
Read: string;
|
|
9903
|
-
Disabled: string;
|
|
9904
|
-
};
|
|
9905
9965
|
|
|
9906
9966
|
|
|
9907
|
-
export var querySerializationsInfo: ISerializationInfoArray;
|
|
9908
9967
|
|
|
9909
9968
|
|
|
9910
|
-
export var ConditionType: {
|
|
9911
|
-
Equal: string;
|
|
9912
|
-
NotEqual: string;
|
|
9913
|
-
Greater: string;
|
|
9914
|
-
GreaterOrEqual: string;
|
|
9915
|
-
Less: string;
|
|
9916
|
-
LessOrEqual: string;
|
|
9917
|
-
};
|
|
9918
|
-
export var joinConditionSerializationInfo: ISerializationInfoArray;
|
|
9919
9969
|
|
|
9920
|
-
}
|
|
9921
|
-
declare module DevExpress.QueryBuilder.Internal {
|
|
9922
|
-
import ColumnExpression = DevExpress.QueryBuilder.Elements.ColumnExpression;
|
|
9923
|
-
import QueryViewModelBase = DevExpress.QueryBuilder.Elements.QueryViewModelBase;
|
|
9924
|
-
import ISerializationInfoArray = DevExpress.Analytics.Utils.ISerializationInfoArray;
|
|
9925
|
-
import IModelSerializer = DevExpress.Analytics.Utils.IModelSerializer;
|
|
9926
|
-
import DBColumn = DevExpress.Analytics.Data.DBColumn;
|
|
9927
|
-
import AllColumnsViewModel = DevExpress.QueryBuilder.Elements.AllColumnsViewModel;
|
|
9928
|
-
import ColumnViewModel = DevExpress.QueryBuilder.Elements.ColumnViewModel;
|
|
9929
|
-
import TableViewModel = DevExpress.QueryBuilder.Elements.TableViewModel;
|
|
9930
|
-
import ElementViewModel = DevExpress.Analytics.Elements.ElementViewModel;
|
|
9931
|
-
import ModelSerializer = DevExpress.Analytics.Utils.ModelSerializer;
|
|
9932
|
-
import IDBSchemaProvider = DevExpress.Analytics.Data.IDBSchemaProvider;
|
|
9933
|
-
import SubNode = DevExpress.Analytics.Data.SubNode;
|
|
9934
|
-
import FederatedQueryExpression = DevExpress.Analytics.Data.FederatedQueryExpression;
|
|
9935
|
-
import FederationDataSource = DevExpress.Analytics.Data.FederationDataSource;
|
|
9936
|
-
import IDataSourceBase = DevExpress.Analytics.Data.IDataSourceBase;
|
|
9937
|
-
import JoinConditionViewModel = DevExpress.QueryBuilder.Elements.JoinConditionViewModel;
|
|
9938
|
-
import QuerySurface = DevExpress.QueryBuilder.Elements.QuerySurface;
|
|
9939
|
-
import TableSurface = DevExpress.QueryBuilder.Elements.TableSurface;
|
|
9940
|
-
import FederationColumnViewModel = DevExpress.QueryBuilder.Internal.FederationColumnViewModel;
|
|
9941
|
-
import SqlDataConnection = DevExpress.Analytics.Data.SqlDataConnection;
|
|
9942
|
-
import ISelectStatementResponse = DevExpress.QueryBuilder.Utils.ISelectStatementResponse;
|
|
9943
|
-
import SqlDataSource = DevExpress.Analytics.Data.SqlDataSource;
|
|
9944
|
-
import DragDropHandler = DevExpress.Analytics.Internal.DragDropHandler;
|
|
9945
|
-
import SurfaceSelection = DevExpress.Analytics.Internal.SurfaceSelection;
|
|
9946
|
-
import ISelectionTarget = DevExpress.Analytics.Internal.ISelectionTarget;
|
|
9947
|
-
import UndoEngine = DevExpress.Analytics.Utils.UndoEngine;
|
|
9948
|
-
import SnapLinesHelper = DevExpress.Analytics.Internal.SnapLinesHelper;
|
|
9949
|
-
import DragHelperContent = DevExpress.Analytics.Internal.DragHelperContent;
|
|
9950
|
-
import RoutedConnectorSurface = DevExpress.Analytics.Diagram.RoutedConnectorSurface;
|
|
9951
|
-
import TreeListItemViewModel = DevExpress.Analytics.Widgets.Internal.TreeListItemViewModel;
|
|
9952
|
-
import IDisposable = DevExpress.Analytics.Utils.IDisposable;
|
|
9953
|
-
import ColumnDragHandler = DevExpress.QueryBuilder.Internal.ColumnDragHandler;
|
|
9954
|
-
import IDesignerModel = DevExpress.Analytics.Internal.IDesignerModel;
|
|
9955
|
-
import DbObjectDragDropHandler = DevExpress.QueryBuilder.Internal.DbObjectDragDropHandler;
|
|
9956
|
-
import QueryBuilderObjectsProvider = DevExpress.QueryBuilder.Widgets.Internal.QueryBuilderObjectsProvider;
|
|
9957
|
-
import IItemsProvider = DevExpress.Analytics.Utils.IItemsProvider;
|
|
9958
|
-
import ICommonBindingCustomizationHandler = DevExpress.Analytics.Internal.ICommonBindingCustomizationHandler;
|
|
9959
|
-
import ICommonCustomizationHandler = DevExpress.Analytics.Internal.ICommonCustomizationHandler;
|
|
9960
|
-
import JSQueryBuilder = DevExpress.Querybuilder.JSQueryBuilder;
|
|
9961
|
-
import ObjectProperties = DevExpress.Analytics.Widgets.ObjectProperties;
|
|
9962
|
-
import ITreeListOptions = DevExpress.Analytics.Widgets.Internal.ITreeListOptions;
|
|
9963
|
-
import TabInfo = DevExpress.Analytics.Utils.TabInfo;
|
|
9964
|
-
import GroupObject = DevExpress.Analytics.Internal.GroupObject;
|
|
9965
|
-
import QueryViewModel = DevExpress.QueryBuilder.Elements.QueryViewModel;
|
|
9966
|
-
import ControlProperties = DevExpress.Analytics.Internal.ControlProperties;
|
|
9967
|
-
import TreeListController = DevExpress.Analytics.Widgets.Internal.TreeListController;
|
|
9968
|
-
import IQueryBuilderModel = DevExpress.QueryBuilder.Internal.IQueryBuilderModel;
|
|
9969
|
-
import IQueryBuilderOptions = DevExpress.Querybuilder.IQueryBuilderOptions;
|
|
9970
|
-
import IQueryBuilderCustomizationHandler = DevExpress.QueryBuilder.Internal.IQueryBuilderCustomizationHandler;
|
|
9971
|
-
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
9972
9970
|
|
|
9973
9971
|
|
|
9974
|
-
export
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9972
|
+
export interface IParameter {
|
|
9973
|
+
name: string;
|
|
9974
|
+
value: any;
|
|
9975
|
+
}
|
|
9976
|
+
export enum WizardSectionPosition {
|
|
9977
|
+
Left = 1,
|
|
9978
|
+
TopLeft = 2,
|
|
9979
|
+
BottomLeft = 3,
|
|
9980
|
+
Right = 4,
|
|
9981
|
+
TopRight = 5,
|
|
9982
|
+
BottomRight = 6,
|
|
9983
|
+
Top = 7,
|
|
9984
|
+
Bottom = 8
|
|
9985
|
+
}
|
|
9986
|
+
export interface IJsonDataSourceWizardCallbacks {
|
|
9987
|
+
getParameters?: () => IParameter[];
|
|
9988
|
+
}
|
|
9989
|
+
export interface IDataSourceWizardCallbacks extends IJsonDataSourceWizardCallbacks {
|
|
9990
|
+
selectStatement?: (connection: SqlDataConnection, queryJSON: string) => JQueryPromise<ISelectStatementResponse>;
|
|
9991
|
+
finishCallback?: (wizardModel: any) => JQueryPromise<any>;
|
|
9992
|
+
customQueriesPreset?: (dataSource: SqlDataSource) => JQueryPromise<ISqlQueryViewModel[]>;
|
|
9993
|
+
customizeQBInitData?: (data: any) => any;
|
|
9994
|
+
validateJsonUri?: (data: any) => any;
|
|
9995
|
+
getItemsProviderCallback?: () => IItemsProvider;
|
|
9996
|
+
fieldListsCallback?: (request: IPathRequest, dataSource?: IDataSourceInfo) => JQueryPromise<IDataMemberInfo[]>;
|
|
9997
|
+
}
|
|
9998
|
+
export interface IPopoverListOptions {
|
|
9999
|
+
showPopover: () => void;
|
|
10000
|
+
target?: string;
|
|
10001
|
+
popoverListItems: () => any[];
|
|
10002
|
+
className?: string;
|
|
10003
|
+
popoverVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
10004
|
+
position?: any;
|
|
10005
|
+
popupContainer?: string;
|
|
9985
10006
|
}
|
|
10007
|
+
export class CustomQueryTreeListItem extends TreeListItemViewModel {
|
|
10008
|
+
dispose(): void;
|
|
10009
|
+
protected _getTemplateName(): string;
|
|
10010
|
+
protected _getCustomizedTemplateName(isEditable: boolean): string;
|
|
10011
|
+
queryName: ko.Computed<string>;
|
|
10012
|
+
editingMode: ko.Observable<boolean>;
|
|
10013
|
+
}
|
|
10014
|
+
export class MultiQueryTreeListItemFactory extends DefaultTreeListItemFactory {
|
|
10015
|
+
createItem(options: any, path?: string[], onItemsVisibilityChanged?: any, rtl?: any, resolver?: any): TreeListItemViewModel;
|
|
10016
|
+
}
|
|
10017
|
+
export interface IMultiQueryDataSourceWizardCallbacks extends IDataSourceWizardCallbacks {
|
|
10018
|
+
sqlDataSourceResultSchema?: (dataSource: SqlDataSource) => JQueryPromise<{
|
|
10019
|
+
resultSchemaJSON: string;
|
|
10020
|
+
connectionParameters?: string;
|
|
10021
|
+
}>;
|
|
10022
|
+
federationDataSourceResultSchema?: (dataSource: FederationDataSource) => JQueryPromise<{
|
|
10023
|
+
resultSchemaJSON: string;
|
|
10024
|
+
}>;
|
|
10025
|
+
}
|
|
10026
|
+
export interface IParametersViewModelConverter {
|
|
10027
|
+
createParameterViewModel(parameter: DataSourceParameter): any;
|
|
10028
|
+
getParameterFromViewModel(parameterViewModel: any): DataSourceParameter;
|
|
10029
|
+
}
|
|
10030
|
+
export interface IWizardPageStyle {
|
|
10031
|
+
top?: any;
|
|
10032
|
+
bottom?: any;
|
|
10033
|
+
left?: any;
|
|
10034
|
+
right?: any;
|
|
10035
|
+
width?: any;
|
|
10036
|
+
height?: any;
|
|
10037
|
+
display?: any;
|
|
10038
|
+
}
|
|
10039
|
+
export function getSectionStyle(position: WizardSectionPosition, defaultMargin?: number, isVisible?: boolean): IWizardPageStyle;
|
|
10040
|
+
export function subscribeArray<T>(array: ko.ObservableArray<T>, subscribeItem: (value: T, onChange: () => void) => void, onChange: () => void): ko.Subscription;
|
|
10041
|
+
export function subscribeProperties(properties: Array<ko.Observable<any> | ko.Computed<any>>, onChange: (val?: any) => void): any[];
|
|
10042
|
+
export function subscribeObject<T>(object: ko.Observable<T> | ko.Computed<T>, subscribeProperties: (value: T, onChange: () => void) => void, onChange: () => void): ko.Subscription;
|
|
10043
|
+
export function _createBeforeInitializePageEventArgs<TWizard extends BaseWizard | WizardPageProcessor>(page: _WrappedWizardPage, self: TWizard): IBeforeWizardPageInitializeEventArgs<TWizard>;
|
|
10044
|
+
export function _createPageEventArgs<TWizard extends BaseWizard | WizardPageProcessor>(page: _WrappedWizardPage, self: TWizard): IWizardPageEventArgs<TWizard>;
|
|
10045
|
+
export function _isMoreThanOneDataSourceTypeAvailable(dataSourceOptions: _DataSourceWizardOptions): boolean;
|
|
9986
10046
|
|
|
9987
10047
|
|
|
9988
10048
|
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
export class FederationColumnViewModel extends ColumnViewModel {
|
|
9994
|
-
constructor(model: any, dbColumn: DBColumn, parent: TableViewModel, serializer?: IModelSerializer);
|
|
9995
|
-
getInfo(): ISerializationInfoArray;
|
|
10049
|
+
export interface IFederationQueryBuilderCallbacks {
|
|
10050
|
+
joinCallBack?: (name?: string) => any;
|
|
10051
|
+
unionCallBack?: (name?: string) => any;
|
|
10052
|
+
transformCallBack?: (name?: string) => any;
|
|
9996
10053
|
}
|
|
9997
|
-
export
|
|
9998
|
-
|
|
9999
|
-
|
|
10054
|
+
export interface IFederationAddQueriesTreeListCallbacks extends IAddQueriesTreeListCallbacks {
|
|
10055
|
+
showQbCallBacks: IFederationQueryBuilderCallbacks;
|
|
10056
|
+
}
|
|
10057
|
+
export class FederatedQueriesTreeNode extends QueriesTreeNode {
|
|
10058
|
+
callbacks?: ko.Observable<IFederationAddQueriesTreeListCallbacks>;
|
|
10059
|
+
constructor(name: string, displayName: string, specifics: string, isChecked: boolean, callbacks?: ko.Observable<IFederationAddQueriesTreeListCallbacks>, afterCheckToggled?: (node: TreeNodeBase) => void);
|
|
10060
|
+
addAction: {
|
|
10061
|
+
clickAction: () => void;
|
|
10062
|
+
imageClassName: string;
|
|
10063
|
+
imageTemplateName: string;
|
|
10064
|
+
templateName: string;
|
|
10065
|
+
text: any;
|
|
10066
|
+
};
|
|
10067
|
+
getActions(context: {
|
|
10068
|
+
path: string;
|
|
10069
|
+
}): Array<any>;
|
|
10070
|
+
popoverListItems(): Array<any>;
|
|
10071
|
+
className: string;
|
|
10000
10072
|
}
|
|
10001
10073
|
|
|
10002
10074
|
|
|
@@ -10006,119 +10078,175 @@ declare module DevExpress.QueryBuilder.Internal {
|
|
|
10006
10078
|
|
|
10007
10079
|
|
|
10008
10080
|
|
|
10081
|
+
export class FederationQueryBuilderPopupBase extends PopupEditorBase {
|
|
10082
|
+
onSaveCallback: (query: IFederationQuery) => void;
|
|
10083
|
+
protected _dataSource: FederationDataSource;
|
|
10084
|
+
rtl: boolean;
|
|
10085
|
+
onCloseCallback?: () => void;
|
|
10086
|
+
protected _aliasValidationRule: {
|
|
10087
|
+
type: string;
|
|
10088
|
+
validationCallback: (options: any) => void;
|
|
10089
|
+
readonly message: any;
|
|
10090
|
+
};
|
|
10091
|
+
protected _aliasValidationCallback(alias: string, data: {
|
|
10092
|
+
key: string;
|
|
10093
|
+
alias: string;
|
|
10094
|
+
}): boolean;
|
|
10095
|
+
constructor(onSaveCallback: (query: IFederationQuery) => void, _dataSource: FederationDataSource, rtl?: boolean, onCloseCallback?: () => void);
|
|
10096
|
+
dispose(): void;
|
|
10097
|
+
addDataMember(item: TreeListItemViewModel, position?: {
|
|
10098
|
+
left: number;
|
|
10099
|
+
top: number;
|
|
10100
|
+
}): void;
|
|
10101
|
+
save(): void;
|
|
10102
|
+
close(): void;
|
|
10103
|
+
popupTarget(): string;
|
|
10104
|
+
onHiding(): void;
|
|
10105
|
+
selectedPath: ko.Observable<string>;
|
|
10106
|
+
dragDropHandler: WizardDragDropHandler;
|
|
10107
|
+
fieldListModel: ITreeListOptions;
|
|
10108
|
+
title: () => string;
|
|
10109
|
+
getPopupContainer: typeof getParentContainer;
|
|
10110
|
+
loaded: ko.Observable<boolean>;
|
|
10111
|
+
maxHeight: string;
|
|
10112
|
+
width: string;
|
|
10113
|
+
height: string;
|
|
10114
|
+
cssClass: string;
|
|
10115
|
+
resultGridHeight: ko.Observable<number>;
|
|
10116
|
+
resizeHelper: ResizeHelper;
|
|
10117
|
+
}
|
|
10009
10118
|
|
|
10119
|
+
/// <reference types="jquery" />
|
|
10010
10120
|
|
|
10011
10121
|
|
|
10122
|
+
export class FederationTablesExpressionFieldListProvider implements IItemsProvider {
|
|
10123
|
+
private provider;
|
|
10124
|
+
private tables;
|
|
10125
|
+
getItems(pathRequest: any): JQuery.Promise<IDataMemberInfo[], any, any>;
|
|
10126
|
+
constructor(provider: IItemsProvider, tables: ko.ObservableArray<FederationTableViewModel>);
|
|
10127
|
+
}
|
|
10012
10128
|
|
|
10013
10129
|
|
|
10014
10130
|
|
|
10015
10131
|
|
|
10016
10132
|
|
|
10017
10133
|
|
|
10018
|
-
|
|
10019
|
-
export
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
protected _initializeTable(table: FederationTableViewModel): void;
|
|
10024
|
-
private _createTableViewModel;
|
|
10025
|
-
constructor(querySource: any, dataSource: IDataSourceBase, _dbSchemaProvider?: IDBSchemaProvider, parametersMode?: string, serializer?: ModelSerializer);
|
|
10026
|
-
dispose(): void;
|
|
10027
|
-
serialize(includeRootTag?: boolean): any;
|
|
10028
|
-
createChild(info: any, model?: any, path?: string): ElementViewModel;
|
|
10029
|
-
cerateJoinCondition(parentColumn: ColumnViewModel, nestedColumn: ColumnViewModel): JoinConditionViewModel;
|
|
10030
|
-
getInfo(): ISerializationInfoArray;
|
|
10031
|
-
tables: ko.ObservableArray<FederationTableViewModel>;
|
|
10032
|
-
expressions: ko.ObservableArray<FederatedQueryExpression>;
|
|
10033
|
-
subNodes: ko.ObservableArray<SubNode>;
|
|
10034
|
-
rootModel: ko.Observable<FederationTableViewModel>;
|
|
10035
|
-
dataSource: FederationDataSource;
|
|
10036
|
-
controlType: string;
|
|
10037
|
-
defaultPageHeight: number;
|
|
10038
|
-
topOffset: number;
|
|
10039
|
-
}
|
|
10040
|
-
export class FederationQuerySurface extends QuerySurface {
|
|
10134
|
+
|
|
10135
|
+
export interface IFederationSelectQBGridAllColumns {
|
|
10136
|
+
column: string;
|
|
10137
|
+
table: string;
|
|
10138
|
+
key: string;
|
|
10041
10139
|
}
|
|
10042
|
-
export
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
getInfo(): ISerializationInfoArray;
|
|
10048
|
-
getPath(): string;
|
|
10049
|
-
createChildColumn(item: DBColumn): FederationColumnViewModel;
|
|
10050
|
-
displaySourceName: ko.Observable<string>;
|
|
10140
|
+
export interface IFederationSelectQBGridColumnsExpressions extends IFederationSelectQBGridAllColumns {
|
|
10141
|
+
alias: string;
|
|
10142
|
+
index: number;
|
|
10143
|
+
isExpression: ko.Observable<boolean>;
|
|
10144
|
+
expression: ko.Observable<string> | ko.Computed<string>;
|
|
10051
10145
|
}
|
|
10052
|
-
export class
|
|
10053
|
-
|
|
10146
|
+
export class FederationSelectQueryBuilderPopup extends FederationQueryBuilderPopupBase {
|
|
10147
|
+
private _qbOptions;
|
|
10148
|
+
private _bindingContext;
|
|
10149
|
+
private _gridComponent;
|
|
10150
|
+
private _onContentReady;
|
|
10151
|
+
private _getQuery;
|
|
10152
|
+
private _afterChangeColumn;
|
|
10153
|
+
private _changeColumn;
|
|
10154
|
+
private _switchEditors;
|
|
10155
|
+
private _deleteRow;
|
|
10156
|
+
private _onRowUpdating;
|
|
10157
|
+
protected _aliasValidationCallback(alias: string, data: {
|
|
10158
|
+
key: string;
|
|
10159
|
+
alias: string;
|
|
10160
|
+
}): boolean;
|
|
10161
|
+
dispose(): void;
|
|
10162
|
+
private _generateKey;
|
|
10163
|
+
private _isSelectAllItemByKey;
|
|
10164
|
+
constructor(onSaveCallback: (query: SelectQuery) => void, dataSource: FederationDataSource, rtl?: boolean, onCloseCallback?: () => void);
|
|
10165
|
+
save(): void;
|
|
10166
|
+
addRow(): void;
|
|
10167
|
+
canSave(): boolean;
|
|
10168
|
+
addDataMember(item: TreeListItemViewModel, position?: {
|
|
10169
|
+
left: number;
|
|
10170
|
+
top: number;
|
|
10171
|
+
}): void;
|
|
10172
|
+
show(query: SelectQuery): void;
|
|
10173
|
+
popupTarget(): string;
|
|
10174
|
+
gridResizeHelper: ResizeHelper;
|
|
10175
|
+
columnsGrid: any;
|
|
10176
|
+
addRowDisabled: ko.PureComputed<boolean>;
|
|
10177
|
+
popupContentTemplate: string;
|
|
10178
|
+
columnsExpressions: ko.PureComputed<IFederationSelectQBGridColumnsExpressions[]>;
|
|
10179
|
+
allColumns: ko.PureComputed<IFederationSelectQBGridAllColumns[]>;
|
|
10180
|
+
queryBuilderSurfaceCreator: IQueryBuilderSurfaceCreator;
|
|
10181
|
+
_querySource: ko.Observable<any>;
|
|
10182
|
+
designer: ko.Observable<any>;
|
|
10183
|
+
joinResultCollapsed: ko.Observable<boolean>;
|
|
10184
|
+
selectQuery: SelectQuery;
|
|
10185
|
+
width: string;
|
|
10186
|
+
height: string;
|
|
10187
|
+
cssClass: string;
|
|
10054
10188
|
}
|
|
10055
10189
|
|
|
10056
10190
|
/// <reference types="jquery" />
|
|
10057
10191
|
|
|
10058
10192
|
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
connectionParameters?: string;
|
|
10065
|
-
}>): (dataSource: SqlDataSource, queryName?: string, relationsEditing?: boolean) => JQueryPromise<{
|
|
10066
|
-
resultSchemaJSON: string;
|
|
10067
|
-
connectionParameters?: string;
|
|
10068
|
-
}>;
|
|
10069
|
-
export function wrapGetFederationdResultSchema(callback?: (dataSource: FederationDataSource) => JQueryPromise<{
|
|
10070
|
-
resultSchemaJSON: string;
|
|
10071
|
-
}>): (dataSource: FederationDataSource) => JQueryPromise<{
|
|
10072
|
-
resultSchemaJSON: string;
|
|
10073
|
-
}>;
|
|
10074
|
-
|
|
10075
|
-
/// <reference types="jquery" />
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10193
|
+
export class TransformResultSchemaProvider implements IItemsProvider {
|
|
10194
|
+
constructor(itemsProvider: IItemsProvider, transformData: ko.Observable<any[]>, currentPath: ko.Observable<string>);
|
|
10195
|
+
dispose: () => void;
|
|
10196
|
+
getItems: (path: IPathRequest) => JQueryPromise<IDataMemberInfo[]>;
|
|
10197
|
+
}
|
|
10079
10198
|
|
|
10080
10199
|
|
|
10081
10200
|
|
|
10082
10201
|
|
|
10083
10202
|
|
|
10084
|
-
export class
|
|
10085
|
-
private
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10203
|
+
export class FederationTransformQueryBuilderPopup extends FederationQueryBuilderPopupBase {
|
|
10204
|
+
private _updateColumns;
|
|
10205
|
+
protected _aliasValidationCallback(alias: string, data: {
|
|
10206
|
+
alias: string;
|
|
10207
|
+
key: string;
|
|
10208
|
+
}): boolean;
|
|
10209
|
+
constructor(onSaveCallback: (query: TransformQuery) => void, dataSource: FederationDataSource, rtl?: boolean, onCloseCallback?: () => void);
|
|
10210
|
+
dispose(): void;
|
|
10211
|
+
addDataMember(item: TreeListItemViewModel): void;
|
|
10212
|
+
updateColumns(): void;
|
|
10213
|
+
canSave(): boolean;
|
|
10214
|
+
save(): void;
|
|
10215
|
+
onHiding(): void;
|
|
10216
|
+
show(query: TransformQuery): void;
|
|
10217
|
+
transformGrid: any;
|
|
10218
|
+
transformGridTitle: ko.Observable<string>;
|
|
10219
|
+
transformResultGridTitle: ko.Observable<string>;
|
|
10220
|
+
transformResultCollapsed: ko.Observable<boolean>;
|
|
10221
|
+
transformSources: ko.Observable<any[]>;
|
|
10222
|
+
resultFieldListModel: ko.Observable<ITreeListOptions>;
|
|
10223
|
+
currentPath: ko.Observable<string>;
|
|
10224
|
+
transformQuery: ko.Observable<TransformQuery>;
|
|
10225
|
+
popupContentTemplate: string;
|
|
10101
10226
|
}
|
|
10102
10227
|
|
|
10103
10228
|
|
|
10104
10229
|
|
|
10105
10230
|
|
|
10106
10231
|
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10232
|
+
export class FederationUnionQueryBuilderPopup extends FederationQueryBuilderPopupBase {
|
|
10233
|
+
protected _aliasValidationCallback(alias: string, data: {
|
|
10234
|
+
alias: string;
|
|
10235
|
+
key: string;
|
|
10236
|
+
}): boolean;
|
|
10237
|
+
constructor(onSaveCallback: (query: UnionQuery) => void, dataSource: FederationDataSource, rtl?: boolean, onCloseCallback?: () => void);
|
|
10238
|
+
dispose(): void;
|
|
10239
|
+
addDataMember(item: TreeListItemViewModel): void;
|
|
10240
|
+
canSave(): boolean;
|
|
10241
|
+
save(): void;
|
|
10242
|
+
onHiding(): void;
|
|
10243
|
+
show(query: UnionQuery): void;
|
|
10244
|
+
aliasGrid: any;
|
|
10245
|
+
sourcesGrid: any;
|
|
10246
|
+
unionQuery: ko.Observable<UnionQuery>;
|
|
10247
|
+
unionAll: ko.Observable<boolean>;
|
|
10248
|
+
columns: ko.ObservableArray<any>;
|
|
10249
|
+
popupContentTemplate: string;
|
|
10122
10250
|
}
|
|
10123
10251
|
|
|
10124
10252
|
/// <reference types="jquery" />
|
|
@@ -10127,85 +10255,59 @@ declare module DevExpress.QueryBuilder.Internal {
|
|
|
10127
10255
|
|
|
10128
10256
|
|
|
10129
10257
|
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
columnDragHandler: ColumnDragHandler;
|
|
10134
|
-
connectionPointDragHandler: ColumnDragHandler;
|
|
10135
|
-
fieldDragHandler: DbObjectDragDropHandler;
|
|
10136
|
-
fieldListProvider: QueryBuilderObjectsProvider;
|
|
10137
|
-
dataBindingsProvider: QueryBuilderObjectsProvider;
|
|
10138
|
-
parametersBindingsProvider: IItemsProvider;
|
|
10139
|
-
dataBindingsGroupProvider: QueryBuilderObjectsProvider;
|
|
10140
|
-
selectStatmentPreview: IQueryBuilderDialog;
|
|
10141
|
-
dataPreview: IQueryBuilderDialog;
|
|
10142
|
-
findControl: (s: any, e: JQueryEventObject) => void;
|
|
10143
|
-
showPreview: () => void;
|
|
10144
|
-
showStatement: () => void;
|
|
10145
|
-
columnsLoadingMsg?: () => string;
|
|
10146
|
-
updateSurfaceSize: () => void;
|
|
10147
|
-
updateSurface: () => void;
|
|
10258
|
+
export class ObjectTypeDescriptions {
|
|
10259
|
+
types: ObjectType[];
|
|
10260
|
+
constructor(model: any);
|
|
10148
10261
|
}
|
|
10149
|
-
export interface
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10262
|
+
export interface IObjectSchemaProvider extends IItemsProvider {
|
|
10263
|
+
getObjectTypeDescriptions: () => JQueryPromise<ObjectTypeDescriptions>;
|
|
10264
|
+
}
|
|
10265
|
+
export function getObjectTypeDescriptionsCallback(requestWrapper: RequestWrapper, context: string): JQueryPromise<ObjectTypeDescriptions>;
|
|
10266
|
+
export class ObjectSchemaProvider extends Disposable implements IObjectSchemaProvider {
|
|
10267
|
+
private _requestWrapper;
|
|
10268
|
+
private _objectTypeDescriptionsPromise;
|
|
10269
|
+
constructor(_requestWrapper?: RequestWrapper);
|
|
10270
|
+
dispose(): void;
|
|
10271
|
+
getItems: (IPathRequest: any) => JQueryPromise<IDataMemberInfo[]>;
|
|
10272
|
+
getSchemaByPath(pathRequest: IPathRequest, objectSchema: ObjectTypeDescriptions): IDataMemberInfo[];
|
|
10273
|
+
getObjectTypeDescriptions(context?: string): JQueryPromise<ObjectTypeDescriptions>;
|
|
10158
10274
|
}
|
|
10159
10275
|
|
|
10160
10276
|
|
|
10161
|
-
export function serializeDataConnection(connection: SqlDataConnection): string;
|
|
10162
10277
|
|
|
10163
10278
|
|
|
10164
10279
|
|
|
10165
|
-
|
|
10166
|
-
|
|
10280
|
+
|
|
10281
|
+
export class ChooseObjectTypesTreelistController extends TreeListController {
|
|
10282
|
+
canSelect(value: any): boolean;
|
|
10167
10283
|
}
|
|
10168
|
-
export
|
|
10284
|
+
export class ChooseObjectTypes extends Disposable {
|
|
10285
|
+
types: ko.ObservableArray<ObjectType>;
|
|
10286
|
+
constructor(types: ko.ObservableArray<ObjectType>, provider: ObjectSchemaProvider);
|
|
10287
|
+
availableTypesTreelistModel: ITreeListOptions;
|
|
10288
|
+
selectedType: ko.Observable<ObjectType>;
|
|
10289
|
+
selectedCtor: ko.Observable<ObjectCtor>;
|
|
10290
|
+
selectedPath: ko.Observable<string>;
|
|
10291
|
+
_scrollViewHeight: string;
|
|
10169
10292
|
}
|
|
10170
10293
|
|
|
10171
10294
|
|
|
10172
10295
|
|
|
10296
|
+
export class ChooseObjectDataMembers extends Disposable {
|
|
10297
|
+
constructor(type: ko.Observable<ObjectType>, ctor: ko.Observable<ObjectCtor>);
|
|
10298
|
+
private coerceSelection;
|
|
10299
|
+
dataMembers: ko.ObservableArray<ObjectDataMember>;
|
|
10300
|
+
selectedDataMembers: ko.ObservableArray<ObjectDataMember>;
|
|
10301
|
+
}
|
|
10173
10302
|
|
|
10174
10303
|
|
|
10175
10304
|
|
|
10176
10305
|
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
export interface IItemPropertiesTabModel extends ITabModel {
|
|
10183
|
-
fieldListModel: {
|
|
10184
|
-
treeListOptions: ko.Observable<ITreeListOptions> | ko.Computed<ITreeListOptions>;
|
|
10185
|
-
};
|
|
10186
|
-
tablesTop: ko.Observable<number> | ko.Computed<number>;
|
|
10187
|
-
searchPlaceholder: () => string;
|
|
10188
|
-
}
|
|
10189
|
-
export class AccordionTabInfo extends TabInfo {
|
|
10190
|
-
static _getSelectedItemPropertyName(model: any): string;
|
|
10191
|
-
static _createWrappedObject(query: any, commonModel: any, undoEngine: any, showParameters: boolean): {
|
|
10192
|
-
selectedItem: any;
|
|
10193
|
-
query: {
|
|
10194
|
-
editableObject: any;
|
|
10195
|
-
properties: ObjectProperties;
|
|
10196
|
-
};
|
|
10197
|
-
fields: any;
|
|
10198
|
-
isPropertyVisible: (propertyName: string) => boolean;
|
|
10199
|
-
};
|
|
10200
|
-
static _createGroups(editableObject: ko.Observable<any>, showParameters: boolean): GroupObject;
|
|
10201
|
-
static _createQBPropertyGrid(query: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>, commonModel: IItemPropertiesTabModel, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, showParameters: boolean): ControlProperties;
|
|
10202
|
-
private _getGroupByName;
|
|
10203
|
-
constructor(query: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>, itemPropertiesTabInfoModel: IItemPropertiesTabModel, undoEngine: ko.Observable<UndoEngine> | ko.Computed<UndoEngine>, focused: ko.Observable | ko.Computed, showParameters: boolean);
|
|
10204
|
-
model: ControlProperties;
|
|
10205
|
-
}
|
|
10206
|
-
export class SelectedTabInfo extends TabInfo {
|
|
10207
|
-
model: ObjectProperties;
|
|
10208
|
-
constructor(model: ObjectProperties);
|
|
10306
|
+
export class FederationDataSourceItemsExtender implements IItemsExtender {
|
|
10307
|
+
private _rootItems;
|
|
10308
|
+
constructor(_rootItems: ko.ObservableArray<IDataSourceInfo>);
|
|
10309
|
+
afterItemsFilled(request: PathRequest, items: IDataMemberInfo[]): void;
|
|
10310
|
+
beforeItemsFilled(request: PathRequest, items: IDataMemberInfo[]): boolean;
|
|
10209
10311
|
}
|
|
10210
10312
|
|
|
10211
10313
|
|
|
@@ -10214,49 +10316,93 @@ declare module DevExpress.QueryBuilder.Internal {
|
|
|
10214
10316
|
|
|
10215
10317
|
|
|
10216
10318
|
|
|
10217
|
-
export class
|
|
10218
|
-
|
|
10219
|
-
private
|
|
10220
|
-
private
|
|
10221
|
-
|
|
10222
|
-
|
|
10319
|
+
export class FederationTreeNodeProvider extends TreeNodeItemsProvider {
|
|
10320
|
+
constructor(fieldListProvider: FieldListProvider, rootItems: ko.ObservableArray<IDataMemberInfo>, callBacks: IFederationQueryBuilderCallbacks, customQueries: ko.ObservableArray<IFederationQuery>, afterCheckToggled: (node: TreeNodeBase) => void);
|
|
10321
|
+
private _queries;
|
|
10322
|
+
private _customQueries;
|
|
10323
|
+
private _callBack;
|
|
10324
|
+
isList(dataMember: IDataMemberInfo, parentNode: FederationDataMemberTreeNode): boolean;
|
|
10325
|
+
} class FederationDataMemberTreeNode extends DataMemberTreeNode {
|
|
10326
|
+
constructor(name: string, displayName: string, specifics: string, isListType: boolean, isChecked: boolean, path: string, afterCheckToggled?: (node: DataMemberTreeNode) => void);
|
|
10327
|
+
isListType: boolean;
|
|
10223
10328
|
}
|
|
10224
|
-
|
|
10225
|
-
export function registerControls(): void;
|
|
10226
|
-
|
|
10227
|
-
/// <reference types="jquery" />
|
|
10228
|
-
/// <reference types="jqueryui" />
|
|
10229
|
-
|
|
10230
|
-
|
|
10329
|
+
export {};
|
|
10231
10330
|
|
|
10232
10331
|
|
|
10233
10332
|
|
|
10234
10333
|
|
|
10235
|
-
export
|
|
10236
|
-
|
|
10237
|
-
|
|
10334
|
+
export class DBSchemaTreeListController extends TreeListController {
|
|
10335
|
+
private _customizeDBSchemaTreeListActions;
|
|
10336
|
+
constructor(_customizeDBSchemaTreeListActions: (item: IDataMemberInfo, actions: IAction[]) => void);
|
|
10337
|
+
getActions(value: TreeListItemViewModel): IAction[];
|
|
10338
|
+
canSelect(value: TreeListItemViewModel): boolean;
|
|
10238
10339
|
}
|
|
10239
|
-
export function updateQueryBuilderSurfaceContentSize(getRoot: () => JQuery<HTMLElement>, surfaceSize: ko.Observable<number> | ko.Computed<number>, surface: ko.Observable<QuerySurface>, updateLayoutCallbacks?: Array<() => void>): () => void;
|
|
10240
|
-
export function createIsLoadingFlag(model: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>, dbSchemaProvider: ko.Observable<IDBSchemaProvider> | ko.Computed<IDBSchemaProvider>): ko.PureComputed<boolean>;
|
|
10241
|
-
export function createQueryBuilder(element: Element, options: IQueryBuilderOptions, callbacks: IQueryBuilderCustomizationHandler, applyBindings?: boolean): JQueryDeferred<IQueryBuilderModel>;
|
|
10242
|
-
export function createQueryBuilderSurface(element: Element, options: IQueryBuilderOptions, queryCreator: (options: IQueryBuilderOptions) => QueryViewModelBase): IQueryBuilderModel;
|
|
10243
10340
|
|
|
10244
|
-
export {};
|
|
10245
10341
|
|
|
10246
10342
|
|
|
10247
10343
|
|
|
10248
10344
|
|
|
10249
10345
|
|
|
10250
|
-
export class
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10346
|
+
export class ParametersTreeListItemBase extends Disposable implements IDataMemberInfo {
|
|
10347
|
+
private _displayName;
|
|
10348
|
+
private _name;
|
|
10349
|
+
constructor(parameter: {
|
|
10350
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
10351
|
+
displayName?: any;
|
|
10352
|
+
});
|
|
10353
|
+
dataSourceParameter: ko.Observable<{
|
|
10354
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
10355
|
+
}> | ko.Computed<{
|
|
10356
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
10357
|
+
}>;
|
|
10358
|
+
editor: DevExpress.Analytics.Utils.IEditorInfo;
|
|
10359
|
+
isList: boolean;
|
|
10360
|
+
contenttemplate: string;
|
|
10361
|
+
actionsTemplate: string;
|
|
10362
|
+
get name(): string;
|
|
10363
|
+
get displayName(): string;
|
|
10256
10364
|
}
|
|
10257
|
-
export class
|
|
10258
|
-
|
|
10365
|
+
export class ParametersTreeListItem extends ParametersTreeListItemBase {
|
|
10366
|
+
parent: ParametersTreeListRootItem;
|
|
10367
|
+
constructor(parameter: {
|
|
10368
|
+
name: ko.Observable<string> | ko.Computed<string>;
|
|
10369
|
+
}, parent: ParametersTreeListRootItem);
|
|
10370
|
+
query(): ISqlQueryViewModel;
|
|
10371
|
+
}
|
|
10372
|
+
export class ParametersTreeListRootItemBase implements IDataMemberInfo {
|
|
10373
|
+
constructor(name: string);
|
|
10374
|
+
name: string;
|
|
10375
|
+
displayName: string;
|
|
10376
|
+
isList: boolean;
|
|
10377
|
+
specifics: string;
|
|
10378
|
+
parameters: ko.ObservableArray<ParametersTreeListItemBase>;
|
|
10379
|
+
visible: ko.Observable<boolean>;
|
|
10380
|
+
removeChild(parameter: any): void;
|
|
10381
|
+
}
|
|
10382
|
+
export class ParametersTreeListRootItem extends ParametersTreeListRootItemBase {
|
|
10383
|
+
private _query;
|
|
10384
|
+
constructor(query: ISqlQueryViewModel);
|
|
10385
|
+
query(): ISqlQueryViewModel;
|
|
10386
|
+
}
|
|
10387
|
+
export class ParametersTreeListController extends TreeListController {
|
|
10388
|
+
private _createNewParameter;
|
|
10389
|
+
private _rootItems;
|
|
10390
|
+
constructor(rootItems: ParametersTreeListRootItemBase[], createNewParameter: (queryName: string, parameters: {
|
|
10391
|
+
name: string;
|
|
10392
|
+
}[]) => any);
|
|
10259
10393
|
hasItems(item: IDataMemberInfo): boolean;
|
|
10394
|
+
getActions(treeListItem: TreeListItemViewModel & {
|
|
10395
|
+
data: ParametersTreeListRootItem | ParametersTreeListItem;
|
|
10396
|
+
}): IAction[];
|
|
10397
|
+
canSelect(value: TreeListItemViewModel): boolean;
|
|
10398
|
+
}
|
|
10399
|
+
|
|
10400
|
+
export class WizardAction {
|
|
10401
|
+
constructor(handler: () => void, text: string);
|
|
10402
|
+
isVisible: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
10403
|
+
isDisabled: ko.Observable<boolean> | ko.Computed<boolean>;
|
|
10404
|
+
handler: () => void;
|
|
10405
|
+
text: string;
|
|
10260
10406
|
}
|
|
10261
10407
|
|
|
10262
10408
|
}
|
|
@@ -10268,9 +10414,9 @@ declare module DevExpress.Querybuilder {
|
|
|
10268
10414
|
import IJSQueryBuilderCallbacks = DevExpress.QueryBuilder.Internal.IJSQueryBuilderCallbacks;
|
|
10269
10415
|
import IJSDesignerBindingCommonOptions = DevExpress.Analytics.Internal.IJSDesignerBindingCommonOptions;
|
|
10270
10416
|
import IDataSourceBase = DevExpress.Analytics.Data.IDataSourceBase;
|
|
10271
|
-
import
|
|
10272
|
-
import JSQueryBuilder = DevExpress.Querybuilder.JSQueryBuilder;
|
|
10417
|
+
import DxAnalyticsComponentCommon = DevExpress.Analytics.Internal.DxAnalyticsComponentCommon;
|
|
10273
10418
|
import JSDesignerBindingCommon = DevExpress.Analytics.Internal.JSDesignerBindingCommon;
|
|
10419
|
+
import JSQueryBuilder = DevExpress.Querybuilder.JSQueryBuilder;
|
|
10274
10420
|
import IQueryBuilderOptions = DevExpress.Querybuilder.IQueryBuilderOptions;
|
|
10275
10421
|
|
|
10276
10422
|
export class JSQueryBuilder {
|
|
@@ -10323,9 +10469,11 @@ declare module DevExpress.Querybuilder {
|
|
|
10323
10469
|
showPropertyGridCondition?: (editableObj: any) => boolean;
|
|
10324
10470
|
}
|
|
10325
10471
|
|
|
10326
|
-
|
|
10327
10472
|
export class EventGenerator {
|
|
10328
|
-
static generateQueryBuilderEvents(fireEvent: (eventName: any, args?: any) => void):
|
|
10473
|
+
static generateQueryBuilderEvents(fireEvent: (eventName: any, args?: any) => void): {
|
|
10474
|
+
publicName: string;
|
|
10475
|
+
privateName: string;
|
|
10476
|
+
}[];
|
|
10329
10477
|
}
|
|
10330
10478
|
|
|
10331
10479
|
/// <reference types="jquery" />
|
|
@@ -10339,13 +10487,15 @@ declare module DevExpress.Querybuilder {
|
|
|
10339
10487
|
private _callbacks;
|
|
10340
10488
|
_templateHtml: string;
|
|
10341
10489
|
private _applyBindings;
|
|
10342
|
-
private _initializeEvents;
|
|
10343
10490
|
private _initializeCallbacks;
|
|
10344
10491
|
_createModel(element: any): JQueryDeferred<IQueryBuilderModel>;
|
|
10345
10492
|
constructor(options: IQueryBuilderOptions, customEventRaiser?: any);
|
|
10346
10493
|
dispose(): void;
|
|
10347
10494
|
applyBindings(element: HTMLElement): void;
|
|
10348
10495
|
}
|
|
10496
|
+
export class DxQueryBuilder extends DxAnalyticsComponentCommon<IQueryBuilderOptions> {
|
|
10497
|
+
getBindingName(): string;
|
|
10498
|
+
}
|
|
10349
10499
|
|
|
10350
10500
|
}
|
|
10351
10501
|
declare module DevExpress.Analytics.Widgets.Filtering {
|
|
@@ -10367,7 +10517,7 @@ declare module DevExpress.Analytics.Widgets.Filtering {
|
|
|
10367
10517
|
import OperandParameter = DevExpress.Analytics.Criteria.OperandParameter;
|
|
10368
10518
|
import IDataMemberInfo = DevExpress.Analytics.Utils.IDataMemberInfo;
|
|
10369
10519
|
import OperandProperty = DevExpress.Analytics.Criteria.OperandProperty;
|
|
10370
|
-
import DataSource =
|
|
10520
|
+
import DataSource = DevExpress.data.DataSource;
|
|
10371
10521
|
import OperandValue = DevExpress.Analytics.Criteria.OperandValue;
|
|
10372
10522
|
|
|
10373
10523
|
|