@devexpress/analytics-core 20.1.14 → 20.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytics-criteria-utils.d.ts +9 -0
- package/analytics-criteria-utils.js +14 -0
- package/analytics-criteria.d.ts +37 -0
- package/analytics-criteria.js +42 -0
- package/analytics-data-internal.d.ts +15 -0
- package/analytics-data-internal.js +20 -0
- package/analytics-data-metadata.d.ts +17 -0
- package/analytics-data-metadata.js +22 -0
- package/analytics-data-utils.d.ts +9 -0
- package/analytics-data-utils.js +14 -0
- package/analytics-data.d.ts +55 -0
- package/analytics-data.js +60 -0
- package/analytics-diagram.d.ts +47 -0
- package/analytics-diagram.js +50 -0
- package/analytics-elements-metadata.d.ts +9 -0
- package/analytics-elements-metadata.js +14 -0
- package/analytics-elements.d.ts +23 -0
- package/analytics-elements.js +28 -0
- package/analytics-internal.d.ts +139 -0
- package/analytics-internal.js +135 -0
- package/analytics-localization.d.ts +9 -0
- package/analytics-localization.js +14 -0
- package/analytics-tools.d.ts +9 -0
- package/analytics-tools.js +14 -0
- package/analytics-utils.d.ts +35 -0
- package/analytics-utils.js +37 -0
- package/analytics-widgets-filtering.d.ts +31 -0
- package/analytics-widgets-filtering.js +36 -0
- package/analytics-widgets-internal.d.ts +80 -0
- package/analytics-widgets-internal.js +81 -0
- package/analytics-widgets-metadata.d.ts +9 -0
- package/analytics-widgets-metadata.js +14 -0
- package/analytics-widgets-treeList.d.ts +9 -0
- package/analytics-widgets-treeList.js +14 -0
- package/analytics-widgets.d.ts +43 -0
- package/analytics-widgets.js +48 -0
- package/analytics-wizard-internal.d.ts +51 -0
- package/analytics-wizard-internal.js +56 -0
- package/analytics-wizard.d.ts +83 -0
- package/analytics-wizard.js +84 -0
- package/bundle/_add-analytics-to-bundle.d.ts +8 -0
- package/bundle/_add-analytics-to-bundle.js +40 -0
- package/bundle/_add-devextreme-to-bundle.d.ts +8 -0
- package/bundle/_add-devextreme-to-bundle.js +27 -0
- package/bundle/_add-querybuilder-to-bundle.d.ts +8 -0
- package/bundle/_add-querybuilder-to-bundle.js +44 -0
- package/bundle/_add-to-context.d.ts +8 -0
- package/bundle/_add-to-context.js +25 -0
- package/bundle/analytic-core-bundle.d.ts +9 -0
- package/bundle/analytic-core-bundle.js +12 -0
- package/bundle/query-builder-bundle.d.ts +12 -0
- package/bundle/query-builder-bundle.js +15 -0
- package/core/_actionProvider.d.ts +18 -0
- package/core/_actionProvider.js +33 -0
- package/core/_bindings.d.ts +11 -0
- package/core/_bindings.js +231 -0
- package/core/_legacy.d.ts +8 -0
- package/core/_legacy.js +9 -0
- package/core/_metadata.d.ts +10 -0
- package/core/_metadata.js +18 -0
- package/core/binding/_jsDesignerBindingCommon.d.ts +24 -0
- package/core/binding/_jsDesignerBindingCommon.js +99 -0
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +14 -0
- package/core/binding/_jsDesignerBindingCommonOptions.js +9 -0
- package/core/binding/_requestHelper.d.ts +10 -0
- package/core/binding/_requestHelper.js +22 -0
- package/core/dragDrop/_dragDropHandler.d.ts +44 -0
- package/core/dragDrop/_dragDropHandler.js +119 -0
- package/core/dragDrop/_dragHelperContent.d.ts +29 -0
- package/core/dragDrop/_dragHelperContent.js +90 -0
- package/core/dragDrop/_selectionDragDropHandler.d.ts +28 -0
- package/core/dragDrop/_selectionDragDropHandler.js +134 -0
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +21 -0
- package/core/dragDrop/_toolboxDragDropHandler.js +67 -0
- package/core/elements/baseSurface.d.ts +79 -0
- package/core/elements/baseSurface.js +247 -0
- package/core/elements/elementViewModel.d.ts +91 -0
- package/core/elements/elementViewModel.js +189 -0
- package/core/elements/margins.d.ts +28 -0
- package/core/elements/margins.js +38 -0
- package/core/elements/paddingModel.d.ts +28 -0
- package/core/elements/paddingModel.js +109 -0
- package/core/elements/paddingModelMetaData.d.ts +10 -0
- package/core/elements/paddingModelMetaData.js +14 -0
- package/core/elements/point.d.ts +22 -0
- package/core/elements/point.js +31 -0
- package/core/elements/rectangle.d.ts +16 -0
- package/core/elements/rectangle.js +29 -0
- package/core/elements/serializableModel.d.ts +15 -0
- package/core/elements/serializableModel.js +42 -0
- package/core/elements/size.d.ts +25 -0
- package/core/elements/size.js +32 -0
- package/core/internal/_ajaxSetup.d.ts +11 -0
- package/core/internal/_ajaxSetup.js +21 -0
- package/core/internal/_controlsHelper.d.ts +38 -0
- package/core/internal/_controlsHelper.js +146 -0
- package/core/internal/_cssCalculator.d.ts +63 -0
- package/core/internal/_cssCalculator.js +296 -0
- package/core/internal/_editorTypeMapper.d.ts +18 -0
- package/core/internal/_editorTypeMapper.js +38 -0
- package/core/internal/_getNameHelpers.d.ts +13 -0
- package/core/internal/_getNameHelpers.js +66 -0
- package/core/internal/_globalize.d.ts +18 -0
- package/core/internal/_globalize.js +23 -0
- package/core/internal/_hoverInfo.d.ts +22 -0
- package/core/internal/_hoverInfo.js +38 -0
- package/core/internal/_inlineTextEdit.d.ts +19 -0
- package/core/internal/_inlineTextEdit.js +90 -0
- package/core/internal/_objectStructureControllers.d.ts +24 -0
- package/core/internal/_objectStructureControllers.js +41 -0
- package/core/internal/_objectStructureProviders.d.ts +39 -0
- package/core/internal/_objectStructureProviders.js +201 -0
- package/core/internal/_papperKindMapper.d.ts +429 -0
- package/core/internal/_papperKindMapper.js +116 -0
- package/core/internal/_processError.d.ts +15 -0
- package/core/internal/_processError.js +50 -0
- package/core/internal/_resizable.d.ts +20 -0
- package/core/internal/_resizable.js +172 -0
- package/core/internal/_stores.d.ts +31 -0
- package/core/internal/_stores.js +111 -0
- package/core/internal/_surfaceHelpers.d.ts +45 -0
- package/core/internal/_surfaceHelpers.js +76 -0
- package/core/internal/_utils.d.ts +13 -0
- package/core/internal/_utils.js +43 -0
- package/core/internal/_validation.d.ts +14 -0
- package/core/internal/_validation.js +31 -0
- package/core/internal/ajaxSetup.d.ts +9 -0
- package/core/internal/ajaxSetup.js +11 -0
- package/core/selection/_combinedObj.d.ts +30 -0
- package/core/selection/_combinedObj.js +165 -0
- package/core/selection/_selection.d.ts +69 -0
- package/core/selection/_selection.js +210 -0
- package/core/selection/_selectionHelpers.d.ts +10 -0
- package/core/selection/_selectionHelpers.js +46 -0
- package/core/snapLines/_snapLineSurface.d.ts +24 -0
- package/core/snapLines/_snapLineSurface.js +28 -0
- package/core/snapLines/_snapLinesCollector.d.ts +33 -0
- package/core/snapLines/_snapLinesCollector.js +75 -0
- package/core/snapLines/_snapLinesHelper.d.ts +38 -0
- package/core/snapLines/_snapLinesHelper.js +142 -0
- package/core/tools/_actionList.d.ts +29 -0
- package/core/tools/_actionList.js +265 -0
- package/core/tools/_copyPaste.d.ts +32 -0
- package/core/tools/_copyPaste.js +111 -0
- package/core/tools/_keyboardHelper.d.ts +35 -0
- package/core/tools/_keyboardHelper.js +120 -0
- package/core/tools/actionId.d.ts +18 -0
- package/core/tools/actionId.js +20 -0
- package/core/tools/tabPanel.d.ts +63 -0
- package/core/tools/tabPanel.js +174 -0
- package/core/tools/toolbox.d.ts +24 -0
- package/core/tools/toolbox.js +56 -0
- package/core/utils/_arrayutils.d.ts +15 -0
- package/core/utils/_arrayutils.js +123 -0
- package/core/utils/_designerCreator.d.ts +179 -0
- package/core/utils/_designerCreator.js +520 -0
- package/core/utils/_fieldListProvider.d.ts +33 -0
- package/core/utils/_fieldListProvider.js +64 -0
- package/core/utils/_infoMessageHelpers.d.ts +18 -0
- package/core/utils/_infoMessageHelpers.js +69 -0
- package/core/utils/_units.d.ts +15 -0
- package/core/utils/_units.js +71 -0
- package/core/utils/_utils.d.ts +96 -0
- package/core/utils/_utils.js +393 -0
- package/core/utils/_visitors.d.ts +9 -0
- package/core/utils/_visitors.js +48 -0
- package/core/utils/controlsFactory.d.ts +21 -0
- package/core/utils/controlsFactory.js +82 -0
- package/core/utils/parsers.d.ts +16 -0
- package/core/utils/parsers.js +80 -0
- package/core/widgets/_buttonInlineEditor.d.ts +13 -0
- package/core/widgets/_buttonInlineEditor.js +74 -0
- package/core/widgets/_dataMemberEditor.d.ts +19 -0
- package/core/widgets/_dataMemberEditor.js +36 -0
- package/core/widgets/_fieldlistpicker.d.ts +30 -0
- package/core/widgets/_fieldlistpicker.js +162 -0
- package/core/widgets/_requiredNullableEditor.d.ts +15 -0
- package/core/widgets/_requiredNullableEditor.js +55 -0
- package/core/widgets/bordereditor/_binding.d.ts +8 -0
- package/core/widgets/bordereditor/_binding.js +21 -0
- package/core/widgets/bordereditor/_bordereditor.d.ts +26 -0
- package/core/widgets/bordereditor/_bordereditor.js +96 -0
- package/core/widgets/colorPickerEditor.d.ts +14 -0
- package/core/widgets/colorPickerEditor.js +49 -0
- package/core/widgets/dataMemberEditor.d.ts +14 -0
- package/core/widgets/dataMemberEditor.js +35 -0
- package/core/widgets/fieldListEditor.d.ts +15 -0
- package/core/widgets/fieldListEditor.js +40 -0
- package/core/widgets/propertygrid/_controlProperties.d.ts +38 -0
- package/core/widgets/propertygrid/_controlProperties.js +139 -0
- package/core/widgets/propertygrid/_group.d.ts +39 -0
- package/core/widgets/propertygrid/_group.js +84 -0
- package/core/widgets/registerDesignerEditors.d.ts +8 -0
- package/core/widgets/registerDesignerEditors.js +42 -0
- package/diagram/_legacy.d.ts +8 -0
- package/diagram/_legacy.js +9 -0
- package/diagram/bindings.d.ts +11 -0
- package/diagram/bindings.js +61 -0
- package/diagram/controlsFactory.d.ts +10 -0
- package/diagram/controlsFactory.js +184 -0
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +26 -0
- package/diagram/dragDrop/connectingPointDragHandler.js +79 -0
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +22 -0
- package/diagram/dragDrop/connectionPointDragHandler.js +78 -0
- package/diagram/elements/connectingPointModel.d.ts +24 -0
- package/diagram/elements/connectingPointModel.js +70 -0
- package/diagram/elements/connectingPointSurface.d.ts +18 -0
- package/diagram/elements/connectingPointSurface.js +44 -0
- package/diagram/elements/connectors/connectionPointModel.d.ts +20 -0
- package/diagram/elements/connectors/connectionPointModel.js +58 -0
- package/diagram/elements/connectors/connectionPointSurface.d.ts +21 -0
- package/diagram/elements/connectors/connectionPointSurface.js +52 -0
- package/diagram/elements/connectors/connectorModel.d.ts +22 -0
- package/diagram/elements/connectors/connectorModel.js +102 -0
- package/diagram/elements/connectors/connectorSurface.d.ts +19 -0
- package/diagram/elements/connectors/connectorSurface.js +42 -0
- package/diagram/elements/connectors/routedConnectorModel.d.ts +32 -0
- package/diagram/elements/connectors/routedConnectorModel.js +293 -0
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +36 -0
- package/diagram/elements/connectors/routedConnectorSurface.js +133 -0
- package/diagram/elements/diagramElementModel.d.ts +28 -0
- package/diagram/elements/diagramElementModel.js +53 -0
- package/diagram/elements/diagramElementSurface.d.ts +26 -0
- package/diagram/elements/diagramElementSurface.js +69 -0
- package/diagram/elements/diagramModel.d.ts +24 -0
- package/diagram/elements/diagramModel.js +50 -0
- package/diagram/elements/diagramSurface.d.ts +32 -0
- package/diagram/elements/diagramSurface.js +67 -0
- package/diagram/initializer.d.ts +11 -0
- package/diagram/initializer.js +55 -0
- package/diagram/metadata.d.ts +14 -0
- package/diagram/metadata.js +19 -0
- package/diagram/utils.d.ts +21 -0
- package/diagram/utils.js +42 -0
- package/dist/css/dx-analytics.carmine.compact.css +53 -54
- package/dist/css/dx-analytics.carmine.css +53 -54
- package/dist/css/dx-analytics.common.css +23 -24
- package/dist/css/dx-analytics.contrast.compact.css +53 -54
- package/dist/css/dx-analytics.contrast.css +53 -54
- package/dist/css/dx-analytics.dark.compact.css +32 -33
- package/dist/css/dx-analytics.dark.css +32 -33
- package/dist/css/dx-analytics.darkmoon.compact.css +45 -46
- package/dist/css/dx-analytics.darkmoon.css +45 -46
- package/dist/css/dx-analytics.darkviolet.compact.css +33 -34
- package/dist/css/dx-analytics.darkviolet.css +33 -34
- package/dist/css/dx-analytics.greenmist.compact.css +54 -55
- package/dist/css/dx-analytics.greenmist.css +54 -55
- package/dist/css/dx-analytics.light.compact.css +45 -46
- package/dist/css/dx-analytics.light.css +45 -46
- package/dist/css/dx-analytics.softblue.compact.css +50 -51
- package/dist/css/dx-analytics.softblue.css +50 -51
- package/dist/css/dx-querybuilder.css +6 -7
- package/dist/js/dx-analytics-core.d.ts +10177 -0
- package/dist/js/dx-analytics-core.js +19654 -16140
- package/dist/js/dx-analytics-core.min.js +7 -8
- package/dist/js/dx-querybuilder.js +15477 -12661
- package/dist/js/dx-querybuilder.min.js +7 -8
- package/dx-analytics-core-imports.d.ts +41 -0
- package/dx-analytics-core-imports.js +43 -0
- package/dx-analytics-core-svg-templates.d.ts +8 -0
- package/dx-analytics-core-svg-templates.js +110 -0
- package/dx-analytics-core-templates.d.ts +8 -0
- package/dx-analytics-core-templates.js +124 -0
- package/dx-analytics-core.d.ts +24 -4206
- package/dx-analytics-core.js +26 -16357
- package/dx-query-builder-templates.d.ts +8 -0
- package/dx-query-builder-templates.js +101 -0
- package/dx-querybuilder-imports.d.ts +11 -0
- package/dx-querybuilder-imports.js +13 -0
- package/dx-querybuilder.d.ts +19 -3418
- package/dx-querybuilder.js +21 -12764
- package/index.d.ts +9 -0
- package/index.js +11 -0
- package/less/colors/carmine-colors.less +1 -1
- package/less/colors/contrast-colors.less +1 -1
- package/less/colors/dark-colors.less +1 -1
- package/less/colors/darkmoon-colors.less +1 -1
- package/less/colors/darkviolet-colors.less +1 -1
- package/less/colors/greenmist-colors.less +1 -1
- package/less/colors/light-colors.less +1 -1
- package/less/colors/softblue-colors.less +1 -1
- package/less/common.less +1 -1
- package/less/dx-carmine-style.less +1 -1
- package/less/dx-contrast-style.less +1 -1
- package/less/dx-dark-style.less +1 -1
- package/less/dx-darkmoon-style.less +1 -1
- package/less/dx-darkviolet-style.less +1 -1
- package/less/dx-greenmist-style.less +1 -1
- package/less/dx-light-style.less +1 -1
- package/less/dx-softblue-style.less +1 -1
- package/less/dx-variable-style.less +1 -1
- package/package.json +3 -3
- package/property-grid/_legacy.d.ts +8 -0
- package/property-grid/_legacy.js +9 -0
- package/property-grid/_propertiesAccessibilityProvider.d.ts +18 -0
- package/property-grid/_propertiesAccessibilityProvider.js +46 -0
- package/property-grid/bindings.d.ts +8 -0
- package/property-grid/bindings.js +178 -0
- package/property-grid/internal/_addon.d.ts +36 -0
- package/property-grid/internal/_addon.js +118 -0
- package/property-grid/internal/_codeResolver.d.ts +25 -0
- package/property-grid/internal/_codeResolver.js +80 -0
- package/property-grid/internal/_popupService.d.ts +16 -0
- package/property-grid/internal/_popupService.js +21 -0
- package/property-grid/localization/_localization.d.ts +24 -0
- package/property-grid/localization/_localization.js +123 -0
- package/property-grid/localization/_localizationStringIds.d.ts +14 -0
- package/property-grid/localization/_localizationStringIds.js +16 -0
- package/property-grid/localization/localization.d.ts +10 -0
- package/property-grid/localization/localization.js +12 -0
- package/property-grid/localization/localization_utils.d.ts +15 -0
- package/property-grid/localization/localization_utils.js +34 -0
- package/property-grid/propertygrid.d.ts +58 -0
- package/property-grid/propertygrid.js +241 -0
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +8 -0
- package/property-grid/widgets/collectioneditor/_bindings.js +31 -0
- package/property-grid/widgets/collectioneditor/_editor.d.ts +70 -0
- package/property-grid/widgets/collectioneditor/_editor.js +199 -0
- package/property-grid/widgets/editor.d.ts +64 -0
- package/property-grid/widgets/editor.js +242 -0
- package/property-grid/widgets/editorValidator.d.ts +38 -0
- package/property-grid/widgets/editorValidator.js +170 -0
- package/property-grid/widgets/editorsInfo.d.ts +21 -0
- package/property-grid/widgets/editorsInfo.js +45 -0
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +27 -0
- package/property-grid/widgets/ellipsiseditor/_editor.js +103 -0
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +17 -0
- package/property-grid/widgets/fileimageeditor/_editor.js +84 -0
- package/property-grid/widgets/fonteditor/_fonts.d.ts +11 -0
- package/property-grid/widgets/fonteditor/_fonts.js +11 -0
- package/property-grid/widgets/fonteditor/_model.d.ts +29 -0
- package/property-grid/widgets/fonteditor/_model.js +97 -0
- package/property-grid/widgets/fonteditor/editor.d.ts +14 -0
- package/property-grid/widgets/fonteditor/editor.js +39 -0
- package/property-grid/widgets/fonteditor/metadata.d.ts +12 -0
- package/property-grid/widgets/fonteditor/metadata.js +29 -0
- package/property-grid/widgets/guideditor.d.ts +11 -0
- package/property-grid/widgets/guideditor.js +35 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +12 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +13 -0
- package/property-grid/widgets/internal/_internal.d.ts +23 -0
- package/property-grid/widgets/internal/_internal.js +46 -0
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +22 -0
- package/property-grid/widgets/internal/_svgTemplateEngine.js +82 -0
- package/property-grid/widgets/internal/_utils.d.ts +75 -0
- package/property-grid/widgets/internal/_utils.js +141 -0
- package/property-grid/widgets/registerBaseEdtior.d.ts +8 -0
- package/property-grid/widgets/registerBaseEdtior.js +31 -0
- package/query-builder/_accordionTabInfo.d.ts +43 -0
- package/query-builder/_accordionTabInfo.js +144 -0
- package/query-builder/_bindings.d.ts +11 -0
- package/query-builder/_bindings.js +74 -0
- package/query-builder/_initializer.d.ts +18 -0
- package/query-builder/_initializer.js +341 -0
- package/query-builder/_legacy.d.ts +8 -0
- package/query-builder/_legacy.js +9 -0
- package/query-builder/_queryBuilderModel.d.ts +42 -0
- package/query-builder/_queryBuilderModel.js +9 -0
- package/query-builder/binding/eventGenerator.d.ts +11 -0
- package/query-builder/binding/eventGenerator.js +58 -0
- package/query-builder/binding/jsQueryBuilder.d.ts +28 -0
- package/query-builder/binding/jsQueryBuilder.js +65 -0
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +24 -0
- package/query-builder/binding/jsQueryBuilderBinding.js +114 -0
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +32 -0
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +9 -0
- package/query-builder/dataSource/_dbSchema.d.ts +8 -0
- package/query-builder/dataSource/_dbSchema.js +19 -0
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +14 -0
- package/query-builder/dataSource/_dbSchemaProvider.js +40 -0
- package/query-builder/dataSource/_utils.d.ts +9 -0
- package/query-builder/dataSource/_utils.js +17 -0
- package/query-builder/dataSource/dataSourceParameter.d.ts +41 -0
- package/query-builder/dataSource/dataSourceParameter.js +216 -0
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +17 -0
- package/query-builder/dataSource/dataSourceParameterMeta.js +80 -0
- package/query-builder/dataSource/dbColumn.d.ts +36 -0
- package/query-builder/dataSource/dbColumn.js +111 -0
- package/query-builder/dataSource/dbForeignKey.d.ts +14 -0
- package/query-builder/dataSource/dbForeignKey.js +19 -0
- package/query-builder/dataSource/dbSchema.d.ts +14 -0
- package/query-builder/dataSource/dbSchema.js +24 -0
- package/query-builder/dataSource/dbSchemaProvider.d.ts +35 -0
- package/query-builder/dataSource/dbSchemaProvider.js +131 -0
- package/query-builder/dataSource/dbStoredProcedure.d.ts +24 -0
- package/query-builder/dataSource/dbStoredProcedure.js +33 -0
- package/query-builder/dataSource/dbTable.d.ts +16 -0
- package/query-builder/dataSource/dbTable.js +22 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +14 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +40 -0
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +21 -0
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +30 -0
- package/query-builder/dataSource/json/jsonDataSource.d.ts +32 -0
- package/query-builder/dataSource/json/jsonDataSource.js +82 -0
- package/query-builder/dataSource/json/jsonParameter.d.ts +41 -0
- package/query-builder/dataSource/json/jsonParameter.js +96 -0
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +50 -0
- package/query-builder/dataSource/json/jsonSchemaNode.js +168 -0
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +29 -0
- package/query-builder/dataSource/json/jsonSchemaProvider.js +90 -0
- package/query-builder/dataSource/json/jsonSource.d.ts +30 -0
- package/query-builder/dataSource/json/jsonSource.js +89 -0
- package/query-builder/dataSource/object/objectDataSource.d.ts +20 -0
- package/query-builder/dataSource/object/objectDataSource.js +42 -0
- package/query-builder/dataSource/object/objectSchema.d.ts +43 -0
- package/query-builder/dataSource/object/objectSchema.js +116 -0
- package/query-builder/dataSource/resultSet.d.ts +20 -0
- package/query-builder/dataSource/resultSet.js +36 -0
- package/query-builder/dataSource/resultTable.d.ts +19 -0
- package/query-builder/dataSource/resultTable.js +30 -0
- package/query-builder/dataSource/sql/connectionOptions.d.ts +16 -0
- package/query-builder/dataSource/sql/connectionOptions.js +30 -0
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +23 -0
- package/query-builder/dataSource/sql/customSqlQuery.js +34 -0
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +16 -0
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +25 -0
- package/query-builder/dataSource/sql/masterDetailRelation.js +62 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +22 -0
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +21 -0
- package/query-builder/dataSource/sql/sqlDataConnection.js +37 -0
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +33 -0
- package/query-builder/dataSource/sql/sqlDataSource.js +93 -0
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +23 -0
- package/query-builder/dataSource/sql/storedProcQuery.js +39 -0
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +16 -0
- package/query-builder/dataSource/sql/tableQuery.d.ts +27 -0
- package/query-builder/dataSource/sql/tableQuery.js +35 -0
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/tableQueryMeta.js +26 -0
- package/query-builder/dataSource/utils.d.ts +28 -0
- package/query-builder/dataSource/utils.js +19 -0
- package/query-builder/dragDrop/_columnDragHandler.d.ts +33 -0
- package/query-builder/dragDrop/_columnDragHandler.js +124 -0
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +28 -0
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +98 -0
- package/query-builder/elements/allColumnsModel.d.ts +18 -0
- package/query-builder/elements/allColumnsModel.js +62 -0
- package/query-builder/elements/allColumnsModelMeta.d.ts +9 -0
- package/query-builder/elements/allColumnsModelMeta.js +11 -0
- package/query-builder/elements/allColumnsSurface.d.ts +21 -0
- package/query-builder/elements/allColumnsSurface.js +50 -0
- package/query-builder/elements/columnExpression.d.ts +26 -0
- package/query-builder/elements/columnExpression.js +53 -0
- package/query-builder/elements/columnExpressionMeta.d.ts +26 -0
- package/query-builder/elements/columnExpressionMeta.js +25 -0
- package/query-builder/elements/columnModel.d.ts +36 -0
- package/query-builder/elements/columnModel.js +192 -0
- package/query-builder/elements/columnModelMeta.d.ts +20 -0
- package/query-builder/elements/columnModelMeta.js +50 -0
- package/query-builder/elements/columnSurface.d.ts +32 -0
- package/query-builder/elements/columnSurface.js +70 -0
- package/query-builder/elements/joinConditionModel.d.ts +26 -0
- package/query-builder/elements/joinConditionModel.js +55 -0
- package/query-builder/elements/joinConditionModelMeta.d.ts +17 -0
- package/query-builder/elements/joinConditionModelMeta.js +52 -0
- package/query-builder/elements/joinConditionSurface.d.ts +15 -0
- package/query-builder/elements/joinConditionSurface.js +39 -0
- package/query-builder/elements/parameterModel.d.ts +15 -0
- package/query-builder/elements/parameterModel.js +37 -0
- package/query-builder/elements/parameterModelMeta.d.ts +12 -0
- package/query-builder/elements/parameterModelMeta.js +14 -0
- package/query-builder/elements/queryElementModel.d.ts +18 -0
- package/query-builder/elements/queryElementModel.js +35 -0
- package/query-builder/elements/queryElementSurface.d.ts +19 -0
- package/query-builder/elements/queryElementSurface.js +52 -0
- package/query-builder/elements/queryModel.d.ts +69 -0
- package/query-builder/elements/queryModel.js +442 -0
- package/query-builder/elements/queryModelMeta.d.ts +9 -0
- package/query-builder/elements/queryModelMeta.js +35 -0
- package/query-builder/elements/querySurface.d.ts +39 -0
- package/query-builder/elements/querySurface.js +85 -0
- package/query-builder/elements/relationModel.d.ts +28 -0
- package/query-builder/elements/relationModel.js +73 -0
- package/query-builder/elements/relationModelMeta.d.ts +9 -0
- package/query-builder/elements/relationModelMeta.js +16 -0
- package/query-builder/elements/relationSurface.d.ts +17 -0
- package/query-builder/elements/relationSurface.js +40 -0
- package/query-builder/elements/tableModel.d.ts +51 -0
- package/query-builder/elements/tableModel.js +137 -0
- package/query-builder/elements/tableModelMeta.d.ts +9 -0
- package/query-builder/elements/tableModelMeta.js +13 -0
- package/query-builder/elements/tableSurface.d.ts +26 -0
- package/query-builder/elements/tableSurface.js +58 -0
- package/query-builder/initializer.d.ts +13 -0
- package/query-builder/initializer.js +16 -0
- package/query-builder/metadata.d.ts +16 -0
- package/query-builder/metadata.js +20 -0
- package/query-builder/utils/_callbacks.d.ts +14 -0
- package/query-builder/utils/_callbacks.js +9 -0
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +18 -0
- package/query-builder/utils/_columnExpressionCollectionHelper.js +44 -0
- package/query-builder/utils/_controlsFactory.d.ts +8 -0
- package/query-builder/utils/_controlsFactory.js +87 -0
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +16 -0
- package/query-builder/utils/_queryBuilderTreeListController.js +39 -0
- package/query-builder/utils/_requestwrapper.d.ts +19 -0
- package/query-builder/utils/_requestwrapper.js +36 -0
- package/query-builder/utils/controlsFactory.d.ts +9 -0
- package/query-builder/utils/controlsFactory.js +11 -0
- package/query-builder/utils/requestwrapper.d.ts +47 -0
- package/query-builder/utils/requestwrapper.js +103 -0
- package/query-builder/widgets/_undoEditor.d.ts +16 -0
- package/query-builder/widgets/_undoEditor.js +48 -0
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +8 -0
- package/query-builder/widgets/ace/_ace-mode-sql.js +164 -0
- package/query-builder/widgets/ace/_options.d.ts +29 -0
- package/query-builder/widgets/ace/_options.js +45 -0
- package/query-builder/widgets/editorTemplates.d.ts +11 -0
- package/query-builder/widgets/editorTemplates.js +11 -0
- package/query-builder/widgets/expressionFunctions.d.ts +9 -0
- package/query-builder/widgets/expressionFunctions.js +15 -0
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +20 -0
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +65 -0
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +27 -0
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +79 -0
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +28 -0
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +48 -0
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +16 -0
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +86 -0
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +20 -0
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +68 -0
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +33 -0
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +94 -0
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +21 -0
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +28 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +27 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +79 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +19 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +43 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +25 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +36 -0
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +20 -0
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +39 -0
- package/query-builder/widgets/registerEditorTemplates.d.ts +8 -0
- package/query-builder/widgets/registerEditorTemplates.js +23 -0
- package/query-builder/wizard/chooseAvailablePage.d.ts +29 -0
- package/query-builder/wizard/chooseAvailablePage.js +76 -0
- package/query-builder/wizard/dataSourceWizard.d.ts +62 -0
- package/query-builder/wizard/dataSourceWizard.js +193 -0
- package/query-builder/wizard/dataSourceWizardState.d.ts +51 -0
- package/query-builder/wizard/dataSourceWizardState.js +75 -0
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +28 -0
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +109 -0
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +28 -0
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +79 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +30 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +96 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +20 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +39 -0
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +74 -0
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +172 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +18 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +105 -0
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +30 -0
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +136 -0
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +17 -0
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +104 -0
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +66 -0
- package/query-builder/wizard/internal/_configureParametersUtils.js +149 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +39 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +163 -0
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +16 -0
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +46 -0
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +36 -0
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +93 -0
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +113 -0
- package/query-builder/wizard/internal/_jsonSourceSettings.js +548 -0
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +18 -0
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +47 -0
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +58 -0
- package/query-builder/wizard/internal/_queryBuilderPopup.js +95 -0
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +16 -0
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +27 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +57 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +105 -0
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +31 -0
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +116 -0
- package/query-builder/wizard/internal/_treeListNode.d.ts +107 -0
- package/query-builder/wizard/internal/_treeListNode.js +324 -0
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +30 -0
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +204 -0
- package/query-builder/wizard/internal/_utils.d.ts +72 -0
- package/query-builder/wizard/internal/_utils.js +150 -0
- package/query-builder/wizard/internal/_wizardAction.d.ts +15 -0
- package/query-builder/wizard/internal/_wizardAction.js +20 -0
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +42 -0
- package/query-builder/wizard/internal/_wizardPageProcessor.js +196 -0
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +16 -0
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +40 -0
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +41 -0
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +124 -0
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +15 -0
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +42 -0
- package/query-builder/wizard/internal/initializer.d.ts +16 -0
- package/query-builder/wizard/internal/initializer.js +9 -0
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +40 -0
- package/query-builder/wizard/internal/jsonSourceSettings.js +14 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +16 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +50 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +55 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +194 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +25 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +75 -0
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +29 -0
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +104 -0
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +16 -0
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +9 -0
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +31 -0
- package/query-builder/wizard/multiQueryDataSourceWizard.js +161 -0
- package/query-builder/wizard/pageFactory.d.ts +18 -0
- package/query-builder/wizard/pageFactory.js +32 -0
- package/query-builder/wizard/pageId.d.ts +44 -0
- package/query-builder/wizard/pageId.js +46 -0
- package/query-builder/wizard/pageIterator.d.ts +32 -0
- package/query-builder/wizard/pageIterator.js +127 -0
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +47 -0
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +120 -0
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +21 -0
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +87 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +19 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +74 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +50 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +266 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +47 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +152 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +24 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +94 -0
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +38 -0
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +154 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +121 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +404 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +37 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +191 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +28 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +101 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +27 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +101 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +22 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +80 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +28 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +111 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +54 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +212 -0
- package/query-builder/wizard/pages/wizardPage.d.ts +40 -0
- package/query-builder/wizard/pages/wizardPage.js +109 -0
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +18 -0
- package/query-builder/wizard/pages/wizardPageMetadata.js +9 -0
- package/query-builder/wizard/popupWizard.d.ts +118 -0
- package/query-builder/wizard/popupWizard.js +96 -0
- package/query-builder/wizard/stateManager.d.ts +20 -0
- package/query-builder/wizard/stateManager.js +39 -0
- package/query-builder/wizard/wizard.d.ts +47 -0
- package/query-builder/wizard/wizard.js +193 -0
- package/query-builder/wizard/wizardEventManager.d.ts +37 -0
- package/query-builder/wizard/wizardEventManager.js +9 -0
- package/queryBuilder-elements-metadata.d.ts +23 -0
- package/queryBuilder-elements-metadata.js +28 -0
- package/queryBuilder-elements.d.ts +39 -0
- package/queryBuilder-elements.js +44 -0
- package/queryBuilder-internal.d.ts +31 -0
- package/queryBuilder-internal.js +33 -0
- package/queryBuilder-metadata.d.ts +9 -0
- package/queryBuilder-metadata.js +14 -0
- package/queryBuilder-utils.d.ts +13 -0
- package/queryBuilder-utils.js +18 -0
- package/queryBuilder-widgets-internal.d.ts +37 -0
- package/queryBuilder-widgets-internal.js +43 -0
- package/queryBuilder-widgets.d.ts +9 -0
- package/queryBuilder-widgets.js +14 -0
- package/querybuilder.d.ts +15 -0
- package/querybuilder.js +19 -0
- package/serializer/_internal.d.ts +11 -0
- package/serializer/_internal.js +78 -0
- package/serializer/_legacy.d.ts +8 -0
- package/serializer/_legacy.js +9 -0
- package/serializer/_utils.d.ts +12 -0
- package/serializer/_utils.js +107 -0
- package/serializer/eventManager.d.ts +19 -0
- package/serializer/eventManager.js +52 -0
- package/serializer/serializationInfo.d.ts +64 -0
- package/serializer/serializationInfo.js +9 -0
- package/serializer/serializer.d.ts +43 -0
- package/serializer/serializer.js +290 -0
- package/serializer/utils.d.ts +26 -0
- package/serializer/utils.js +84 -0
- package/undo-engine/_legacy.d.ts +8 -0
- package/undo-engine/_legacy.js +9 -0
- package/undo-engine/_utils.d.ts +10 -0
- package/undo-engine/_utils.js +48 -0
- package/undo-engine/undoengine.d.ts +60 -0
- package/undo-engine/undoengine.js +495 -0
- package/utils/analytics-core-namespaces.js +1 -0
- package/utils/converter.js +83 -0
- package/utils/theme-builder.js +8 -1
- package/widgets/_legacy.d.ts +8 -0
- package/widgets/_legacy.js +9 -0
- package/widgets/_searchHighlighting.d.ts +29 -0
- package/widgets/_searchHighlighting.js +118 -0
- package/widgets/_utils.d.ts +23 -0
- package/widgets/_utils.js +121 -0
- package/widgets/ace/_ace-mode-criteria.d.ts +8 -0
- package/widgets/ace/_ace-mode-criteria.js +99 -0
- package/widgets/ace/_ace-mode-doc-comment.d.ts +8 -0
- package/widgets/ace/_ace-mode-doc-comment.js +52 -0
- package/widgets/ace/_binding.d.ts +14 -0
- package/widgets/ace/_binding.js +152 -0
- package/widgets/bindings.d.ts +8 -0
- package/widgets/bindings.js +33 -0
- package/widgets/common/_codeCompletor.d.ts +81 -0
- package/widgets/common/_codeCompletor.js +492 -0
- package/widgets/common/_displayNameProvider.d.ts +15 -0
- package/widgets/common/_displayNameProvider.js +91 -0
- package/widgets/common/displayNameProvider.d.ts +15 -0
- package/widgets/common/displayNameProvider.js +9 -0
- package/widgets/common/pathRequest.d.ts +24 -0
- package/widgets/common/pathRequest.js +30 -0
- package/widgets/criteria/criteriaOperatorPreprocessor.d.ts +49 -0
- package/widgets/criteria/criteriaOperatorPreprocessor.js +124 -0
- package/widgets/criteria/operators/aggregate.d.ts +39 -0
- package/widgets/criteria/operators/aggregate.js +127 -0
- package/widgets/criteria/operators/between.d.ts +30 -0
- package/widgets/criteria/operators/between.js +94 -0
- package/widgets/criteria/operators/binary.d.ts +45 -0
- package/widgets/criteria/operators/binary.js +101 -0
- package/widgets/criteria/operators/constant.d.ts +14 -0
- package/widgets/criteria/operators/constant.js +36 -0
- package/widgets/criteria/operators/criteriaOperator.d.ts +67 -0
- package/widgets/criteria/operators/criteriaOperator.js +295 -0
- package/widgets/criteria/operators/function.d.ts +162 -0
- package/widgets/criteria/operators/function.js +230 -0
- package/widgets/criteria/operators/group.d.ts +33 -0
- package/widgets/criteria/operators/group.js +119 -0
- package/widgets/criteria/operators/in.d.ts +27 -0
- package/widgets/criteria/operators/in.js +76 -0
- package/widgets/criteria/operators/join.d.ts +27 -0
- package/widgets/criteria/operators/join.js +61 -0
- package/widgets/criteria/operators/parameter.d.ts +20 -0
- package/widgets/criteria/operators/parameter.js +46 -0
- package/widgets/criteria/operators/property.d.ts +27 -0
- package/widgets/criteria/operators/property.js +52 -0
- package/widgets/criteria/operators/unary.d.ts +31 -0
- package/widgets/criteria/operators/unary.js +87 -0
- package/widgets/criteria/operators/value.d.ts +19 -0
- package/widgets/criteria/operators/value.js +67 -0
- package/widgets/criteria/parser/criteriaparser.d.ts +11 -0
- package/widgets/criteria/parser/criteriaparser.js +953 -0
- package/widgets/criteria/utils.d.ts +47 -0
- package/widgets/criteria/utils.js +32 -0
- package/widgets/expressioneditor/_expressioneditor.d.ts +24 -0
- package/widgets/expressioneditor/_expressioneditor.js +65 -0
- package/widgets/expressioneditor/bindings.d.ts +8 -0
- package/widgets/expressioneditor/bindings.js +40 -0
- package/widgets/expressioneditor/expressioneditor.d.ts +87 -0
- package/widgets/expressioneditor/expressioneditor.js +290 -0
- package/widgets/expressioneditor/tools/_functions.d.ts +23 -0
- package/widgets/expressioneditor/tools/_functions.js +218 -0
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +17 -0
- package/widgets/expressioneditor/tools/_operatorNames.js +32 -0
- package/widgets/expressioneditor/tools/_tools.d.ts +44 -0
- package/widgets/expressioneditor/tools/_tools.js +202 -0
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +34 -0
- package/widgets/expressioneditor/tools/_treeListControllers.js +82 -0
- package/widgets/filtereditor/filtereditor.d.ts +108 -0
- package/widgets/filtereditor/filtereditor.js +454 -0
- package/widgets/filtereditor/filtereditoroptions.d.ts +30 -0
- package/widgets/filtereditor/filtereditoroptions.js +38 -0
- package/widgets/filtereditor/helpers/_addon.d.ts +20 -0
- package/widgets/filtereditor/helpers/_addon.js +53 -0
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +29 -0
- package/widgets/filtereditor/helpers/_codeCompletor.js +80 -0
- package/widgets/filtereditor/helpers/_helper.d.ts +12 -0
- package/widgets/filtereditor/helpers/_helper.js +14 -0
- package/widgets/filtereditor/helpers/_serializer.d.ts +54 -0
- package/widgets/filtereditor/helpers/_serializer.js +180 -0
- package/widgets/filtereditor/helpers/_treelistController.d.ts +18 -0
- package/widgets/filtereditor/helpers/_treelistController.js +48 -0
- package/widgets/filtereditor/helpers/_validator.d.ts +27 -0
- package/widgets/filtereditor/helpers/_validator.js +93 -0
- package/widgets/filtereditor/helpers/helper.d.ts +104 -0
- package/widgets/filtereditor/helpers/helper.js +262 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +21 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +102 -0
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +21 -0
- package/widgets/filtereditor/operators/betweenOperandSurface.js +60 -0
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/binaryOperandSurface.js +57 -0
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +39 -0
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +142 -0
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +22 -0
- package/widgets/filtereditor/operators/functionOperandSurface.js +92 -0
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +23 -0
- package/widgets/filtereditor/operators/groupOperandSurface.js +103 -0
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/inOperandSurface.js +65 -0
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +22 -0
- package/widgets/filtereditor/operators/operandParameterSurface.js +57 -0
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +30 -0
- package/widgets/filtereditor/operators/operandPropertySurface.js +128 -0
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +25 -0
- package/widgets/filtereditor/operators/operandSurfaceBase.js +124 -0
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +32 -0
- package/widgets/filtereditor/operators/operandValueSurface.js +169 -0
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/unaryOperandSurface.js +76 -0
- package/widgets/formatstring/_patterns.d.ts +15 -0
- package/widgets/formatstring/_patterns.js +17 -0
- package/widgets/formatstring/binding.d.ts +8 -0
- package/widgets/formatstring/binding.js +27 -0
- package/widgets/formatstring/formatstringeditor.d.ts +81 -0
- package/widgets/formatstring/formatstringeditor.js +294 -0
- package/widgets/internal/_popupwithautoheight.d.ts +12 -0
- package/widgets/internal/_popupwithautoheight.js +38 -0
- package/widgets/internal/_valueEditorHelper.d.ts +80 -0
- package/widgets/internal/_valueEditorHelper.js +232 -0
- package/widgets/treelist/_binding.d.ts +8 -0
- package/widgets/treelist/_binding.js +99 -0
- package/widgets/treelist/_treeListSearchViewModel.d.ts +36 -0
- package/widgets/treelist/_treeListSearchViewModel.js +136 -0
- package/widgets/treelist/_treelistController.d.ts +39 -0
- package/widgets/treelist/_treelistController.js +35 -0
- package/widgets/treelist/_treelistItem.d.ts +132 -0
- package/widgets/treelist/_treelistItem.js +571 -0
- package/widgets/treelist/options.d.ts +8 -0
- package/widgets/treelist/options.js +11 -0
- package/widgets/utils.d.ts +59 -0
- package/widgets/utils.js +9 -0
- package/dist/html/templates.html +0 -2936
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (query-builder\wizard\internal\_jsonSourceSettings.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
var __extends = (this && this.__extends) || (function () {
|
|
10
|
+
var extendStatics = function (d, b) {
|
|
11
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
13
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
14
|
+
return extendStatics(d, b);
|
|
15
|
+
};
|
|
16
|
+
return function (d, b) {
|
|
17
|
+
extendStatics(d, b);
|
|
18
|
+
function __() { this.constructor = d; }
|
|
19
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20
|
+
};
|
|
21
|
+
})();
|
|
22
|
+
var __assign = (this && this.__assign) || function () {
|
|
23
|
+
__assign = Object.assign || function(t) {
|
|
24
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
25
|
+
s = arguments[i];
|
|
26
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
27
|
+
t[p] = s[p];
|
|
28
|
+
}
|
|
29
|
+
return t;
|
|
30
|
+
};
|
|
31
|
+
return __assign.apply(this, arguments);
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
var ko = require("knockout");
|
|
35
|
+
var $ = require("jquery");
|
|
36
|
+
var localization_utils_1 = require("../../../property-grid/localization/localization_utils");
|
|
37
|
+
var _utils_1 = require("../../../property-grid/widgets/internal/_utils");
|
|
38
|
+
var utils_1 = require("../../../serializer/utils");
|
|
39
|
+
var jsonSourceSettings_1 = require("./jsonSourceSettings");
|
|
40
|
+
var propertygrid_1 = require("../../../property-grid/propertygrid");
|
|
41
|
+
var jsonDataSource_1 = require("../../dataSource/json/jsonDataSource");
|
|
42
|
+
var _jsonDataSourceWidgets_1 = require("./_jsonDataSourceWidgets");
|
|
43
|
+
var jsonAuthenticationInfo_1 = require("../../dataSource/json/jsonAuthenticationInfo");
|
|
44
|
+
var editorsInfo_1 = require("../../../property-grid/widgets/editorsInfo");
|
|
45
|
+
var _getNameHelpers_1 = require("../../../core/internal/_getNameHelpers");
|
|
46
|
+
var jsonParameter_1 = require("../../dataSource/json/jsonParameter");
|
|
47
|
+
var _utils_2 = require("./_utils");
|
|
48
|
+
function getLocalizedValidationErrorMessage(emptyValueErrorMessage, localizedPropertyName, subProperty) {
|
|
49
|
+
var requiredMessageSuffix = emptyValueErrorMessage || localization_utils_1.getLocalization('The value cannot be empty', 'AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError');
|
|
50
|
+
if (!localizedPropertyName)
|
|
51
|
+
return requiredMessageSuffix;
|
|
52
|
+
var propertyNamesPrefix = !subProperty ? localizedPropertyName : _utils_1.formatUnicorn('{0}. {1}', localizedPropertyName, subProperty);
|
|
53
|
+
if (!localization_utils_1._stringEndsWith(propertyNamesPrefix, ':'))
|
|
54
|
+
propertyNamesPrefix += ':';
|
|
55
|
+
return _utils_1.formatUnicorn('{0} {1}', propertyNamesPrefix, requiredMessageSuffix);
|
|
56
|
+
}
|
|
57
|
+
exports.getLocalizedValidationErrorMessage = getLocalizedValidationErrorMessage;
|
|
58
|
+
var JsonDataSourceJsonSourcePageSettingsBase = (function (_super) {
|
|
59
|
+
__extends(JsonDataSourceJsonSourcePageSettingsBase, _super);
|
|
60
|
+
function JsonDataSourceJsonSourcePageSettingsBase() {
|
|
61
|
+
var _this = _super.call(this) || this;
|
|
62
|
+
_this._validationGroup = null;
|
|
63
|
+
_this._validationSummary = null;
|
|
64
|
+
_this.validationGroup = {
|
|
65
|
+
onInitialized: function (args) { return _this._onValidationGroupInitialized(args); },
|
|
66
|
+
onDisposing: function (args) { return _this._onValidationGroupDisposing(args); },
|
|
67
|
+
validate: function () { return _this._validate(); }
|
|
68
|
+
};
|
|
69
|
+
_this.validationSummary = {
|
|
70
|
+
onInitialized: function (args) { return _this._onValidationSummaryInitialized(args); },
|
|
71
|
+
onDisposing: function (args) { return _this._onValidationSummaryDisposing(args); }
|
|
72
|
+
};
|
|
73
|
+
_this._disposables.push(_this.grid = new propertygrid_1.ObjectProperties(ko.observable(_this)));
|
|
74
|
+
return _this;
|
|
75
|
+
}
|
|
76
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype.dispose = function () {
|
|
77
|
+
this._validationSummary && this._validationSummary.dispose();
|
|
78
|
+
this._validationGroup && this._validationGroup.dispose();
|
|
79
|
+
this._validationSummary = null;
|
|
80
|
+
this._validationGroup = null;
|
|
81
|
+
_super.prototype.dispose.call(this);
|
|
82
|
+
};
|
|
83
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype._onValidationGroupInitialized = function (args) {
|
|
84
|
+
this._validationGroup = args.component;
|
|
85
|
+
};
|
|
86
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype._onValidationGroupDisposing = function (args) {
|
|
87
|
+
this._validationGroup = null;
|
|
88
|
+
};
|
|
89
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype._onValidationSummaryInitialized = function (args) {
|
|
90
|
+
this._validationSummary = args.component;
|
|
91
|
+
};
|
|
92
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype._onValidationSummaryDisposing = function (args) {
|
|
93
|
+
this._validationSummary = null;
|
|
94
|
+
};
|
|
95
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype._repaintSummary = function () {
|
|
96
|
+
this._validationSummary && this._validationSummary.repaint();
|
|
97
|
+
};
|
|
98
|
+
JsonDataSourceJsonSourcePageSettingsBase.prototype._validate = function () {
|
|
99
|
+
this._validationSummary && this._validationGroup && this._validationGroup.validate();
|
|
100
|
+
};
|
|
101
|
+
return JsonDataSourceJsonSourcePageSettingsBase;
|
|
102
|
+
}(utils_1.Disposable));
|
|
103
|
+
exports.JsonDataSourceJsonSourcePageSettingsBase = JsonDataSourceJsonSourcePageSettingsBase;
|
|
104
|
+
var JsonDataSourceJsonSourcePageStringSettings = (function (_super) {
|
|
105
|
+
__extends(JsonDataSourceJsonSourcePageStringSettings, _super);
|
|
106
|
+
function JsonDataSourceJsonSourcePageStringSettings() {
|
|
107
|
+
var _this = _super.call(this) || this;
|
|
108
|
+
_this._validatorsReady = ko.observable(false);
|
|
109
|
+
_this.isValid = ko.pureComputed(function () {
|
|
110
|
+
var isJsonValid = _this._isJsonSourceValid(_this.stringSource());
|
|
111
|
+
var aceHasErrors = _this.aceEditorHasErrors();
|
|
112
|
+
return isJsonValid && !aceHasErrors;
|
|
113
|
+
});
|
|
114
|
+
_this.validationGroup = null;
|
|
115
|
+
_this.validationSummary = null;
|
|
116
|
+
_this.stringSource = ko.observable('');
|
|
117
|
+
_this.aceEditorHasErrors = ko.observable(false);
|
|
118
|
+
_this.cssClass = { 'dxrd-wizard-json-string-source-grid': true };
|
|
119
|
+
_this._disposables.push(_this.grid = new propertygrid_1.ObjectProperties(ko.observable(_this)));
|
|
120
|
+
return _this;
|
|
121
|
+
}
|
|
122
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype.onChange = function (_onChange) {
|
|
123
|
+
var _this = this;
|
|
124
|
+
var timeoutId = null;
|
|
125
|
+
var localOnChange = function () {
|
|
126
|
+
_onChange();
|
|
127
|
+
clearTimeout(timeoutId);
|
|
128
|
+
timeoutId = setTimeout(function () { return _this._validate(); }, 1);
|
|
129
|
+
};
|
|
130
|
+
this._disposables.push(this.stringSource.subscribe(function (newVal) { return localOnChange(); }));
|
|
131
|
+
};
|
|
132
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype._isJsonSourceValid = function (jsonString) {
|
|
133
|
+
if (!jsonString)
|
|
134
|
+
return false;
|
|
135
|
+
var isJsonSourceValid = true;
|
|
136
|
+
try {
|
|
137
|
+
JSON.parse(jsonString);
|
|
138
|
+
}
|
|
139
|
+
catch (ex) {
|
|
140
|
+
isJsonSourceValid = false;
|
|
141
|
+
}
|
|
142
|
+
return isJsonSourceValid;
|
|
143
|
+
};
|
|
144
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype.isEmpty = function () {
|
|
145
|
+
return !this.stringSource();
|
|
146
|
+
};
|
|
147
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype.reset = function () {
|
|
148
|
+
this.stringSource('');
|
|
149
|
+
};
|
|
150
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype.setValue = function (dataSource) {
|
|
151
|
+
this.stringSource(dataSource.source.json());
|
|
152
|
+
};
|
|
153
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype.getInfo = function () {
|
|
154
|
+
return [
|
|
155
|
+
{
|
|
156
|
+
propertyName: 'stringSource', defaultVal: '', displayName: 'JSON String', editor: {
|
|
157
|
+
header: 'dx-jsonwizard-jsonstring-editor', editorType: _jsonDataSourceWidgets_1.JsonStringEditor, custom: 'dx-property-json-string-editor'
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
];
|
|
161
|
+
};
|
|
162
|
+
JsonDataSourceJsonSourcePageStringSettings.prototype.applySettings = function (jsonDataSource) {
|
|
163
|
+
jsonDataSource.source.uri(undefined);
|
|
164
|
+
jsonDataSource.source.json(this.stringSource());
|
|
165
|
+
jsonDataSource.source.authenticationInfo = new jsonAuthenticationInfo_1.JsonAuthenticationInfo({});
|
|
166
|
+
jsonDataSource.source.headers([]);
|
|
167
|
+
jsonDataSource.source.queryParameters([]);
|
|
168
|
+
jsonDataSource.source.pathParameters([]);
|
|
169
|
+
};
|
|
170
|
+
return JsonDataSourceJsonSourcePageStringSettings;
|
|
171
|
+
}(JsonDataSourceJsonSourcePageSettingsBase));
|
|
172
|
+
exports.JsonDataSourceJsonSourcePageStringSettings = JsonDataSourceJsonSourcePageStringSettings;
|
|
173
|
+
var JsonDataSourceJsonSourcePageUriSettings = (function (_super) {
|
|
174
|
+
__extends(JsonDataSourceJsonSourcePageUriSettings, _super);
|
|
175
|
+
function JsonDataSourceJsonSourcePageUriSettings(_requestWrapper, _itemsProvider) {
|
|
176
|
+
var _this = _super.call(this) || this;
|
|
177
|
+
_this._requestWrapper = _requestWrapper;
|
|
178
|
+
_this._itemsProvider = _itemsProvider;
|
|
179
|
+
_this._isUriValid = ko.observable(false);
|
|
180
|
+
_this._lastValidatedJsonSourceJSON = '';
|
|
181
|
+
_this._authNameValidatorInstance = null;
|
|
182
|
+
_this._isInitUri = true;
|
|
183
|
+
_this._collectionItemNamePlaceholder = localization_utils_1.getLocalization('Name', 'AnalyticsCoreStringId.CollectionEditor_Name_Placeholder');
|
|
184
|
+
_this._lastValidateDeferred = null;
|
|
185
|
+
_this._sourceUriValidatorsReady = ko.observable(true);
|
|
186
|
+
_this._basicAuthValidatorsReady = ko.observable(false);
|
|
187
|
+
_this._validationRequested = ko.observable(false).extend({ deferred: true });
|
|
188
|
+
_this._noEmptyProperties = ko.pureComputed(function () {
|
|
189
|
+
var isBasicHttpAuthValid = _this._isBasicHttpAuthValid();
|
|
190
|
+
var isParametersValid = _this._isParametersValid();
|
|
191
|
+
var sourceUriNotEmpty = !!_this.sourceUri();
|
|
192
|
+
return isBasicHttpAuthValid && isParametersValid && sourceUriNotEmpty;
|
|
193
|
+
});
|
|
194
|
+
_this._lastValidationMessage = ko.observable();
|
|
195
|
+
_this._getSerializedUriSource = function (jsonDataSource) {
|
|
196
|
+
if (jsonDataSource === void 0) { jsonDataSource = new jsonDataSource_1.JsonDataSource({}); }
|
|
197
|
+
_this.applySettings(jsonDataSource);
|
|
198
|
+
return JSON.stringify(jsonDataSource.source.serialize(true));
|
|
199
|
+
};
|
|
200
|
+
_this._sourceUriValidationCallback = function (params) {
|
|
201
|
+
if (!_this.sourceUri()) {
|
|
202
|
+
if (_this._isInitUri) {
|
|
203
|
+
_this._isInitUri = false;
|
|
204
|
+
return true;
|
|
205
|
+
}
|
|
206
|
+
params.rule.message = getLocalizedValidationErrorMessage(null, localization_utils_1.getLocalization('Web Service Endpoint (URI):', 'DataAccessUIStringId.WizardPageChooseJsonSource_URI'));
|
|
207
|
+
return false;
|
|
208
|
+
}
|
|
209
|
+
var serverValidationResult = false;
|
|
210
|
+
_this._isInitUri = false;
|
|
211
|
+
var serializedJsonSource = _this._getSerializedUriSource();
|
|
212
|
+
if (serializedJsonSource != _this._lastValidatedJsonSourceJSON) {
|
|
213
|
+
if (!_this._lastValidationMessage())
|
|
214
|
+
_this._lastValidationMessage(localization_utils_1.getLocalization('Validation...', 'AnalyticsCoreStringId.Validation'));
|
|
215
|
+
_this._validateUriSource().done(function (result) {
|
|
216
|
+
serverValidationResult = params.rule.isValid = result.isUriValid;
|
|
217
|
+
result.faultMessage && (params.rule.message = result.faultMessage);
|
|
218
|
+
_this._lastValidationMessage(serverValidationResult ? null : result.faultMessage);
|
|
219
|
+
params.validator.validate();
|
|
220
|
+
setTimeout(function () { return _this._repaintSummary(); }, 1);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
return !_this._lastValidationMessage();
|
|
225
|
+
}
|
|
226
|
+
return serverValidationResult;
|
|
227
|
+
};
|
|
228
|
+
_this.isValid = ko.pureComputed(function () {
|
|
229
|
+
var isPropertiesNotEmpty = _this._noEmptyProperties();
|
|
230
|
+
var isUriValid = _this._isUriValid();
|
|
231
|
+
return isPropertiesNotEmpty && isUriValid;
|
|
232
|
+
});
|
|
233
|
+
_this._validatorsReady = ko.pureComputed({
|
|
234
|
+
read: function () {
|
|
235
|
+
var sourceUriValidatorReady = _this._sourceUriValidatorsReady();
|
|
236
|
+
var authIsEmpty = !_this.basicHttpAuth.password() && !_this.basicHttpAuth.userName();
|
|
237
|
+
var authInitialized = _this._basicAuthValidatorsReady();
|
|
238
|
+
return sourceUriValidatorReady && (authInitialized || authIsEmpty);
|
|
239
|
+
},
|
|
240
|
+
write: function (newVal) {
|
|
241
|
+
_this._basicAuthValidatorsReady(newVal);
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
_this.sourceUri = ko.observable('');
|
|
245
|
+
_this.basicHttpAuth = {
|
|
246
|
+
password: ko.observable(''),
|
|
247
|
+
userName: ko.observable(''),
|
|
248
|
+
};
|
|
249
|
+
_this.parameters = ko.observableArray([]);
|
|
250
|
+
_this._disposables.push(_this.resultUri = ko.pureComputed(function () {
|
|
251
|
+
return _this._getResultUri();
|
|
252
|
+
}));
|
|
253
|
+
_this._disposables.push(_this.grid = new propertygrid_1.ObjectProperties(ko.observable(_this)));
|
|
254
|
+
_this._disposables.push(ko.computed(function () {
|
|
255
|
+
var editorsInitialized = _this._validatorsReady();
|
|
256
|
+
var validationRequested = _this._validationRequested();
|
|
257
|
+
if (editorsInitialized && validationRequested) {
|
|
258
|
+
_this._validate();
|
|
259
|
+
}
|
|
260
|
+
}));
|
|
261
|
+
_this._disposables.push(_this._validatorsReady);
|
|
262
|
+
return _this;
|
|
263
|
+
}
|
|
264
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._validateUriSource = function () {
|
|
265
|
+
var _this = this;
|
|
266
|
+
var defaultValidationErrorMessage = localization_utils_1.getLocalization('Invalid URI.', 'AnalyticsCoreStringId.ReportDesigner_Wizard_JsonSource_UriValidationError');
|
|
267
|
+
var endpointUriDisplayName = localization_utils_1.getLocalization('Web Service Endpoint (URI):', 'DataAccessUIStringId.WizardPageChooseJsonSource_URI');
|
|
268
|
+
this._isUriValid(false);
|
|
269
|
+
if (this._lastValidateDeferred) {
|
|
270
|
+
this._lastValidateDeferred.reject();
|
|
271
|
+
}
|
|
272
|
+
var resultDeferred = $.Deferred();
|
|
273
|
+
this._lastValidateDeferred = resultDeferred;
|
|
274
|
+
try {
|
|
275
|
+
var jsonDataSource = new jsonDataSource_1.JsonDataSource({});
|
|
276
|
+
var serializedJsonSource = this._getSerializedUriSource(jsonDataSource);
|
|
277
|
+
this._lastValidatedJsonSourceJSON = serializedJsonSource;
|
|
278
|
+
var validationResultHandler = function (data) {
|
|
279
|
+
if (resultDeferred.state && resultDeferred.state() === 'rejected')
|
|
280
|
+
return;
|
|
281
|
+
_this._isUriValid(data.isUriValid);
|
|
282
|
+
var faultMessage = getLocalizedValidationErrorMessage((data.isUriValid ? '' : data && data.faultMessage) || defaultValidationErrorMessage, endpointUriDisplayName);
|
|
283
|
+
resultDeferred.resolve({
|
|
284
|
+
isUriValid: data.isUriValid,
|
|
285
|
+
faultMessage: faultMessage
|
|
286
|
+
});
|
|
287
|
+
};
|
|
288
|
+
this._requestWrapper.validateJsonUri(jsonDataSource)
|
|
289
|
+
.done(validationResultHandler)
|
|
290
|
+
.fail(function (data) {
|
|
291
|
+
if (data === void 0) { data = {}; }
|
|
292
|
+
data.isValid = false;
|
|
293
|
+
validationResultHandler(data);
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
catch (ex) {
|
|
297
|
+
this._isUriValid(false);
|
|
298
|
+
}
|
|
299
|
+
return resultDeferred.promise();
|
|
300
|
+
};
|
|
301
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._isCollectionValid = function (collectionName) {
|
|
302
|
+
return !this[collectionName]().length || this[collectionName]().every(function (x) { return x.name(); });
|
|
303
|
+
};
|
|
304
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._isParametersValid = function () {
|
|
305
|
+
return this._isCollectionValid('parameters');
|
|
306
|
+
};
|
|
307
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._isBasicHttpAuthValid = function () {
|
|
308
|
+
return !this.basicHttpAuth.password() || !!this.basicHttpAuth.userName();
|
|
309
|
+
};
|
|
310
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._getSourceUriInfo = function () {
|
|
311
|
+
var _this = this;
|
|
312
|
+
var sourceUri = {
|
|
313
|
+
propertyName: 'sourceUri',
|
|
314
|
+
displayName: 'Web Service Endpoint (URI):',
|
|
315
|
+
localizationId: 'DataAccessUIStringId.WizardPageChooseJsonSource_URI',
|
|
316
|
+
defaultVal: '',
|
|
317
|
+
editor: editorsInfo_1.editorTemplates.getEditor('text'),
|
|
318
|
+
validatorOptions: null,
|
|
319
|
+
isRequired: true,
|
|
320
|
+
editorOptions: {
|
|
321
|
+
elementAttr: {
|
|
322
|
+
title: this.sourceUri
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
var _self = this;
|
|
327
|
+
sourceUri.validatorOptions = {
|
|
328
|
+
onInitialized: function (e) {
|
|
329
|
+
_this._sourceUriValidatorsReady(true);
|
|
330
|
+
},
|
|
331
|
+
onDisposed: function () {
|
|
332
|
+
_this._sourceUriValidatorsReady(false);
|
|
333
|
+
},
|
|
334
|
+
validationRules: [
|
|
335
|
+
{
|
|
336
|
+
type: 'custom',
|
|
337
|
+
assignValueFirst: true,
|
|
338
|
+
isDeferred: ko.pureComputed(function () { return _this._noEmptyProperties(); }),
|
|
339
|
+
get message() {
|
|
340
|
+
return _self._lastValidationMessage();
|
|
341
|
+
},
|
|
342
|
+
validationCallback: this._sourceUriValidationCallback
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
};
|
|
346
|
+
return sourceUri;
|
|
347
|
+
};
|
|
348
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._getBasicHttpAuthInfo = function () {
|
|
349
|
+
var _this = this;
|
|
350
|
+
var basicHttpAuthName = {
|
|
351
|
+
propertyName: 'userName', displayName: 'Username:', localizationId: 'DataAccessUIStringId.WizardPageConfigureJsonConnection_UsernameText', editor: editorsInfo_1.editorTemplates.getEditor('text'),
|
|
352
|
+
validatorOptions: undefined,
|
|
353
|
+
};
|
|
354
|
+
var basicHttpAuth = {
|
|
355
|
+
propertyName: 'basicHttpAuth', displayName: 'Basic HTTP Authentication', localizationId: 'DataAccessUIStringId.WizardPageConfigureJsonConnection_BasicHttpAuthText', info: [
|
|
356
|
+
basicHttpAuthName,
|
|
357
|
+
{ propertyName: 'password', displayName: 'Password:', localizationId: 'DataAccessUIStringId.WizardPageConfigureJsonConnection_PasswordText', editor: editorsInfo_1.editorTemplates.getEditor('text'), editorOptions: { mode: 'password' } },
|
|
358
|
+
], editor: editorsInfo_1.editorTemplates.getEditor('objecteditor')
|
|
359
|
+
};
|
|
360
|
+
var onValidatorInitialied = function (e) {
|
|
361
|
+
var authNmeValidatorInstance = e && e.component;
|
|
362
|
+
if (_this._authNameValidatorInstance && _this._authNameValidatorInstance != authNmeValidatorInstance) {
|
|
363
|
+
_this._authNameValidatorInstance.dispose();
|
|
364
|
+
}
|
|
365
|
+
_this._authNameValidatorInstance = authNmeValidatorInstance;
|
|
366
|
+
_this._basicAuthValidatorsReady(true);
|
|
367
|
+
};
|
|
368
|
+
var authNameValidatorDisposed = function () {
|
|
369
|
+
_this._authNameValidatorInstance = null;
|
|
370
|
+
};
|
|
371
|
+
basicHttpAuthName.validatorOptions = {
|
|
372
|
+
onInitialized: onValidatorInitialied,
|
|
373
|
+
onDisposed: authNameValidatorDisposed,
|
|
374
|
+
validationRules: [{
|
|
375
|
+
type: 'custom',
|
|
376
|
+
reevaluate: true,
|
|
377
|
+
assignValueFirst: true,
|
|
378
|
+
get message() {
|
|
379
|
+
return getLocalizedValidationErrorMessage(null, localization_utils_1.getLocalization(basicHttpAuth.displayName, basicHttpAuth.localizationId), localization_utils_1.getLocalization(basicHttpAuthName.displayName, basicHttpAuthName.localizationId));
|
|
380
|
+
},
|
|
381
|
+
validationCallback: function (params) {
|
|
382
|
+
return _this._isBasicHttpAuthValid();
|
|
383
|
+
}
|
|
384
|
+
}]
|
|
385
|
+
};
|
|
386
|
+
return basicHttpAuth;
|
|
387
|
+
};
|
|
388
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._getParametersInfo = function () {
|
|
389
|
+
var _this = this;
|
|
390
|
+
var parameters = {
|
|
391
|
+
propertyName: 'parameters', displayName: 'Parameters', localizationId: 'AnalyticsCoreStringId.QueryBuilder_Parameters',
|
|
392
|
+
array: true,
|
|
393
|
+
addHandler: function () {
|
|
394
|
+
var newName = _getNameHelpers_1.getUniqueNameForNamedObjectsArray(_this.parameters(), 'parameter');
|
|
395
|
+
return jsonParameter_1.JsonParameter.from({ '@Name': newName });
|
|
396
|
+
},
|
|
397
|
+
editor: editorsInfo_1.editorTemplates.getEditor('commonCollection'),
|
|
398
|
+
editorOptions: null,
|
|
399
|
+
template: '#dx-jsonwizard-parametercollection'
|
|
400
|
+
};
|
|
401
|
+
parameters.editorOptions = {
|
|
402
|
+
itemsProvider: this._itemsProvider,
|
|
403
|
+
nameValidationRules: [{
|
|
404
|
+
type: 'required',
|
|
405
|
+
get message() {
|
|
406
|
+
return getLocalizedValidationErrorMessage(null, localization_utils_1.getLocalization(parameters.displayName, parameters.localizationId), this._collectionItemNamePlaceholder);
|
|
407
|
+
}
|
|
408
|
+
}]
|
|
409
|
+
};
|
|
410
|
+
return parameters;
|
|
411
|
+
};
|
|
412
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._getResultUriInfo = function () {
|
|
413
|
+
var _resultUri = {
|
|
414
|
+
propertyName: 'resultUri',
|
|
415
|
+
displayName: 'Resulting URI:',
|
|
416
|
+
localizationId: 'DataAccessUIStringId.WizardPageChooseJsonSource_ResultingUri',
|
|
417
|
+
defaultVal: '',
|
|
418
|
+
editor: editorsInfo_1.editorTemplates.getEditor('text'),
|
|
419
|
+
editorOptions: {
|
|
420
|
+
readOnly: true,
|
|
421
|
+
elementAttr: {
|
|
422
|
+
title: this.resultUri
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
return _resultUri;
|
|
427
|
+
};
|
|
428
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._getResultUri = function () {
|
|
429
|
+
if (!this.sourceUri() || !this._isUriValid() || !this._isParametersValid())
|
|
430
|
+
return null;
|
|
431
|
+
if (this.sourceUri() && this.parameters().length === 0)
|
|
432
|
+
return this.sourceUri();
|
|
433
|
+
var uriParts = this.sourceUri().split('?');
|
|
434
|
+
var url = uriParts[0];
|
|
435
|
+
var query = uriParts[1];
|
|
436
|
+
url = this._appendPathSegmentsToUri(uriParts[0]);
|
|
437
|
+
return this._appendQuerySegmentsToUri(url, query);
|
|
438
|
+
};
|
|
439
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._appendPathSegmentsToUri = function (uri) {
|
|
440
|
+
var segments = this.parameters()
|
|
441
|
+
.filter(function (p) { return p.itemType() === 'PathParameter'; })
|
|
442
|
+
.map(function (p) { return '{' + p.name() + '}'; });
|
|
443
|
+
segments.forEach(function (segment) {
|
|
444
|
+
uri = uri.replace(/[\/]+$/g, '') + '/' + segment.replace(/^[\/]+/g, '');
|
|
445
|
+
});
|
|
446
|
+
return uri;
|
|
447
|
+
};
|
|
448
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._appendQuerySegmentsToUri = function (uri, originalQuery) {
|
|
449
|
+
var separator = '';
|
|
450
|
+
var uriArguments = originalQuery || '';
|
|
451
|
+
var querySegments = this.parameters()
|
|
452
|
+
.filter(function (p) { return p.itemType() === 'QueryParameter'; })
|
|
453
|
+
.map(function (p) { return p.name() + '={?}'; });
|
|
454
|
+
querySegments.forEach(function (q) {
|
|
455
|
+
if (!!uriArguments)
|
|
456
|
+
uriArguments += '&';
|
|
457
|
+
uriArguments += q;
|
|
458
|
+
});
|
|
459
|
+
if (uriArguments.length > 0)
|
|
460
|
+
uri += '?' + uriArguments;
|
|
461
|
+
return uri;
|
|
462
|
+
};
|
|
463
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._onValidationSummaryInitialized = function (args) {
|
|
464
|
+
var _this = this;
|
|
465
|
+
_super.prototype._onValidationSummaryInitialized.call(this, args);
|
|
466
|
+
this._isInitUri = true;
|
|
467
|
+
setTimeout(function () {
|
|
468
|
+
_this._validate();
|
|
469
|
+
}, 1);
|
|
470
|
+
};
|
|
471
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._applyParametersToSource = function (jsonDataSource) {
|
|
472
|
+
var parametersByType = this.parameters().reduce(function (result, parameter) {
|
|
473
|
+
var _a;
|
|
474
|
+
return (__assign({}, result, (_a = {}, _a[parameter.itemType()] = (result[parameter.itemType()] || []).concat([parameter]), _a)));
|
|
475
|
+
}, {});
|
|
476
|
+
['PathParameter', 'QueryParameter', 'Header'].forEach(function (type) {
|
|
477
|
+
if (parametersByType[type])
|
|
478
|
+
jsonDataSource.source[jsonSourceSettings_1.parameterTypeToPropertyMap[type]](parametersByType[type]);
|
|
479
|
+
});
|
|
480
|
+
};
|
|
481
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.applySettings = function (jsonDataSource) {
|
|
482
|
+
jsonDataSource.source.uri(this.sourceUri());
|
|
483
|
+
jsonDataSource.source.json(undefined);
|
|
484
|
+
jsonDataSource.source.authenticationInfo.password(this.basicHttpAuth.password());
|
|
485
|
+
jsonDataSource.source.authenticationInfo.userName(this.basicHttpAuth.userName());
|
|
486
|
+
this._applyParametersToSource(jsonDataSource);
|
|
487
|
+
};
|
|
488
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.getInfo = function () {
|
|
489
|
+
var sourceUri = this._getSourceUriInfo();
|
|
490
|
+
var basicHttpAuth = this._getBasicHttpAuthInfo();
|
|
491
|
+
var parameters = this._getParametersInfo();
|
|
492
|
+
var resultUriInfo = this._getResultUriInfo();
|
|
493
|
+
return [sourceUri, basicHttpAuth, parameters, resultUriInfo];
|
|
494
|
+
};
|
|
495
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.reset = function () {
|
|
496
|
+
this.sourceUri('');
|
|
497
|
+
this.basicHttpAuth.password('');
|
|
498
|
+
this.basicHttpAuth.userName('');
|
|
499
|
+
this.parameters([]);
|
|
500
|
+
};
|
|
501
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.setValue = function (dataSource) {
|
|
502
|
+
this.sourceUri(dataSource.source.uri());
|
|
503
|
+
this.basicHttpAuth.userName(dataSource.source.authenticationInfo.userName());
|
|
504
|
+
this.basicHttpAuth.password(dataSource.source.authenticationInfo.password());
|
|
505
|
+
var sourceParameters = [].concat.apply([], [dataSource.source.pathParameters(), dataSource.source.queryParameters(), dataSource.source.headers()]);
|
|
506
|
+
this.parameters(sourceParameters);
|
|
507
|
+
};
|
|
508
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.dispose = function () {
|
|
509
|
+
this._authNameValidatorInstance && this._authNameValidatorInstance.dispose();
|
|
510
|
+
if (this._lastValidateDeferred) {
|
|
511
|
+
this._lastValidateDeferred.reject();
|
|
512
|
+
this._lastValidateDeferred = null;
|
|
513
|
+
}
|
|
514
|
+
_super.prototype.dispose.call(this);
|
|
515
|
+
this.disposeObservableArray(this.parameters);
|
|
516
|
+
};
|
|
517
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.onChange = function (_onChange) {
|
|
518
|
+
var _this = this;
|
|
519
|
+
var _a;
|
|
520
|
+
var timeoutId = null;
|
|
521
|
+
var localOnChange = function () {
|
|
522
|
+
_onChange();
|
|
523
|
+
clearTimeout(timeoutId);
|
|
524
|
+
timeoutId = setTimeout(function () { return _this._validate(); }, 1);
|
|
525
|
+
};
|
|
526
|
+
(_a = this._disposables).push.apply(_a, _utils_2.subscribeProperties([this.sourceUri, this.basicHttpAuth.password, this.basicHttpAuth.userName, this.resultUri], localOnChange));
|
|
527
|
+
this._disposables.push(_utils_2.subscribeArray(this.parameters, function (item) {
|
|
528
|
+
var _a;
|
|
529
|
+
(_a = item._disposables).push.apply(_a, _utils_2.subscribeProperties([item.name, item.itemType, item.value], localOnChange));
|
|
530
|
+
}, localOnChange));
|
|
531
|
+
};
|
|
532
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype.isEmpty = function () {
|
|
533
|
+
return !this.sourceUri();
|
|
534
|
+
};
|
|
535
|
+
JsonDataSourceJsonSourcePageUriSettings.prototype._validate = function () {
|
|
536
|
+
if (this._validationSummary && this._validationGroup) {
|
|
537
|
+
if (this._validatorsReady()) {
|
|
538
|
+
this._validationGroup.validate();
|
|
539
|
+
this._validationRequested(false);
|
|
540
|
+
}
|
|
541
|
+
else {
|
|
542
|
+
this._validationRequested(true);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
};
|
|
546
|
+
return JsonDataSourceJsonSourcePageUriSettings;
|
|
547
|
+
}(JsonDataSourceJsonSourcePageSettingsBase));
|
|
548
|
+
exports.JsonDataSourceJsonSourcePageUriSettings = JsonDataSourceJsonSourcePageUriSettings;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (query-builder\wizard\internal\_jsonTreeNodeItemsProvider.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import * as ko from 'knockout';
|
|
9
|
+
import { TreeNodeItemsProvider } from './_treeNodeItemsProvider';
|
|
10
|
+
import { IItemsProvider, IDataMemberInfo } from '../../../widgets/utils';
|
|
11
|
+
import { FieldListProvider } from '../../../core/utils/_fieldListProvider';
|
|
12
|
+
import { DataMemberTreeNode, FieldTreeNode } from './_treeListNode';
|
|
13
|
+
import { IPathRequest } from '../../../widgets/common/pathRequest';
|
|
14
|
+
export declare class JsonTreeNodeItemsProvider extends TreeNodeItemsProvider implements IItemsProvider {
|
|
15
|
+
constructor(fieldListProvider: FieldListProvider, rootItems: ko.ObservableArray<IDataMemberInfo>, generateTreeNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => DataMemberTreeNode, generateTreeLeafNode: (item: IDataMemberInfo, isChecked: boolean, path: string) => FieldTreeNode);
|
|
16
|
+
protected _getDefaultTreeNodeCheckState(item: IDataMemberInfo): boolean;
|
|
17
|
+
getNodeByPath(pathRequest: IPathRequest): DataMemberTreeNode;
|
|
18
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (query-builder\wizard\internal\_jsonTreeNodeItemsProvider.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
var __extends = (this && this.__extends) || (function () {
|
|
10
|
+
var extendStatics = function (d, b) {
|
|
11
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
13
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
14
|
+
return extendStatics(d, b);
|
|
15
|
+
};
|
|
16
|
+
return function (d, b) {
|
|
17
|
+
extendStatics(d, b);
|
|
18
|
+
function __() { this.constructor = d; }
|
|
19
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20
|
+
};
|
|
21
|
+
})();
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
var _treeNodeItemsProvider_1 = require("./_treeNodeItemsProvider");
|
|
24
|
+
var JsonTreeNodeItemsProvider = (function (_super) {
|
|
25
|
+
__extends(JsonTreeNodeItemsProvider, _super);
|
|
26
|
+
function JsonTreeNodeItemsProvider(fieldListProvider, rootItems, generateTreeNode, generateTreeLeafNode) {
|
|
27
|
+
return _super.call(this, fieldListProvider, rootItems, generateTreeNode, generateTreeLeafNode) || this;
|
|
28
|
+
}
|
|
29
|
+
JsonTreeNodeItemsProvider.prototype._getDefaultTreeNodeCheckState = function (item) {
|
|
30
|
+
return item.isSelected;
|
|
31
|
+
};
|
|
32
|
+
JsonTreeNodeItemsProvider.prototype.getNodeByPath = function (pathRequest) {
|
|
33
|
+
var listNode = this._rootItems().filter(function (item) { return item.path === (pathRequest.pathParts || [])[0]; })[0];
|
|
34
|
+
if (!listNode)
|
|
35
|
+
return;
|
|
36
|
+
var childPath = listNode.path;
|
|
37
|
+
for (var index = 1; index < pathRequest.pathParts.length; index++) {
|
|
38
|
+
if (!listNode)
|
|
39
|
+
return;
|
|
40
|
+
childPath += '.' + pathRequest.pathParts[index];
|
|
41
|
+
listNode = listNode.children().filter(function (item) { return item.path == childPath; })[0];
|
|
42
|
+
}
|
|
43
|
+
return listNode;
|
|
44
|
+
};
|
|
45
|
+
return JsonTreeNodeItemsProvider;
|
|
46
|
+
}(_treeNodeItemsProvider_1.TreeNodeItemsProvider));
|
|
47
|
+
exports.JsonTreeNodeItemsProvider = JsonTreeNodeItemsProvider;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (query-builder\wizard\internal\_queryBuilderPopup.d.ts)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
|
+
*/
|
|
8
|
+
import * as ko from 'knockout';
|
|
9
|
+
import { IRetrieveQuerySqlCallback } from '../dataSourceWizard';
|
|
10
|
+
import { SqlDataSource } from '../../dataSource/sql/sqlDataSource';
|
|
11
|
+
import { QueryViewModel } from '../../elements/queryModel';
|
|
12
|
+
import { IAction } from '../../../widgets/utils';
|
|
13
|
+
import { TableQuery } from '../../dataSource/sql/tableQuery';
|
|
14
|
+
import { ILocalizationInfo } from '../../../property-grid/widgets/internal/_utils';
|
|
15
|
+
import { IQueryBuilderOptions } from '../../binding/jsQueryBuilderBindingOptions';
|
|
16
|
+
export declare class QueryBuilderPopup {
|
|
17
|
+
customizeQBInitializationData: (options: IQueryBuilderOptions) => IQueryBuilderOptions;
|
|
18
|
+
private _applyQuery;
|
|
19
|
+
private _query;
|
|
20
|
+
private _dbSchemaProvider;
|
|
21
|
+
private _dataSource;
|
|
22
|
+
private _rtl;
|
|
23
|
+
constructor(applyNewQuery: IRetrieveQuerySqlCallback, rtl?: boolean, customizeQBInitializationData?: (options: IQueryBuilderOptions) => IQueryBuilderOptions);
|
|
24
|
+
designer: ko.Observable<{
|
|
25
|
+
model: ko.Observable<QueryViewModel> | ko.Computed<QueryViewModel>;
|
|
26
|
+
updateSurface: () => void;
|
|
27
|
+
showPreview: () => void;
|
|
28
|
+
dataPreview: any;
|
|
29
|
+
}>;
|
|
30
|
+
qbOptions: ko.Observable<any>;
|
|
31
|
+
okButtonDisabled: ko.PureComputed<boolean>;
|
|
32
|
+
isVisible: ko.Observable<boolean>;
|
|
33
|
+
showLoadIndicator: ko.Observable<boolean>;
|
|
34
|
+
static customizeQueryBuilderActions: (actions: IAction[]) => void;
|
|
35
|
+
show(query: TableQuery, dataSource: SqlDataSource): void;
|
|
36
|
+
cancelHandler(): void;
|
|
37
|
+
previewHandler(): void;
|
|
38
|
+
okHandler(): void;
|
|
39
|
+
onHiddenHandler(): void;
|
|
40
|
+
popupViewModel(element: HTMLElement): {
|
|
41
|
+
visible: ko.Observable<boolean>;
|
|
42
|
+
title: any;
|
|
43
|
+
showTitle: boolean;
|
|
44
|
+
shading: boolean;
|
|
45
|
+
fullScreen: boolean;
|
|
46
|
+
width: string;
|
|
47
|
+
height: string;
|
|
48
|
+
container: JQuery<HTMLElement>;
|
|
49
|
+
position: {
|
|
50
|
+
of: JQuery<HTMLElement>;
|
|
51
|
+
};
|
|
52
|
+
onHidden: () => void;
|
|
53
|
+
};
|
|
54
|
+
getDisplayText(key: any): any;
|
|
55
|
+
localizationIdMap: {
|
|
56
|
+
[key: string]: ILocalizationInfo;
|
|
57
|
+
};
|
|
58
|
+
}
|