@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,162 +1,111 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DevExpress Analytics (core\utils\_designerCreator.js)
|
|
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
|
-
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.CommonDesignerGenerator = exports.SelectionSettings = exports.MenuSettings = exports.ControlsHelperSettings = exports.DragDropSettings = exports.ContextActionsSettings = exports.ResizeSettings = exports.DesignerContextGenerator = exports.DesignerContextGeneratorInternal = void 0;
|
|
26
|
-
var ko = require("knockout");
|
|
27
|
-
var propertygrid_1 = require("../../property-grid/propertygrid");
|
|
28
|
-
var utils_1 = require("../../serializer/utils");
|
|
29
|
-
var _utils_1 = require("../../serializer/_utils");
|
|
30
|
-
var undoengine_1 = require("../../undo-engine/undoengine");
|
|
31
|
-
var _controlsHelper_1 = require("../internal/_controlsHelper");
|
|
32
|
-
var _stores_1 = require("../internal/_stores");
|
|
33
|
-
var tabPanel_1 = require("../tools/tabPanel");
|
|
34
|
-
var _actionList_1 = require("../tools/_actionList");
|
|
35
|
-
var _controlProperties_1 = require("../widgets/propertygrid/_controlProperties");
|
|
36
|
-
var _utils_2 = require("./_utils");
|
|
37
|
-
var DesignerContextGeneratorInternal = (function () {
|
|
38
|
-
function DesignerContextGeneratorInternal(_context, _rtl) {
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (core\utils\_designerCreator.js)
|
|
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
|
+
import * as ko from 'knockout';
|
|
9
|
+
import { ObjectProperties } from '../../property-grid/propertygrid';
|
|
10
|
+
import { Disposable } from '../../serializer/utils';
|
|
11
|
+
import { extend } from '../../serializer/_utils';
|
|
12
|
+
import { UndoEngine } from '../../undo-engine/undoengine';
|
|
13
|
+
import { DesignControlsHelper } from '../internal/_controlsHelper';
|
|
14
|
+
import { ControlsStore } from '../internal/_stores';
|
|
15
|
+
import { TabPanel } from '../tools/tabPanel';
|
|
16
|
+
import { ActionLists } from '../tools/_actionList';
|
|
17
|
+
import { ControlProperties } from '../widgets/propertygrid/_controlProperties';
|
|
18
|
+
import { collectGroupsFromFlatList, createActionWrappingFunction, generateDefaultParts } from './_utils';
|
|
19
|
+
export class DesignerContextGeneratorInternal {
|
|
20
|
+
constructor(_context, _rtl) {
|
|
39
21
|
this._context = _context;
|
|
40
22
|
this._rtl = _rtl;
|
|
41
23
|
}
|
|
42
|
-
|
|
24
|
+
addElement(propertyName, model) {
|
|
43
25
|
this._context[propertyName] = model;
|
|
44
26
|
return this;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
if (undoEngine === void 0) { undoEngine = ko.observable(new undoengine_1.UndoEngine(this._context.model)); }
|
|
27
|
+
}
|
|
28
|
+
addUndoEngine(undoEngine = ko.observable(new UndoEngine(this._context.model))) {
|
|
48
29
|
this._context.undoEngine = undoEngine;
|
|
49
30
|
return this;
|
|
50
|
-
}
|
|
51
|
-
|
|
31
|
+
}
|
|
32
|
+
addSurface(surface) {
|
|
52
33
|
this._context.surface = surface;
|
|
53
34
|
return this;
|
|
54
|
-
}
|
|
55
|
-
|
|
35
|
+
}
|
|
36
|
+
getContext() {
|
|
56
37
|
return this._context;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
var DesignerContextGenerator = (function () {
|
|
62
|
-
function DesignerContextGenerator(_rtl) {
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export class DesignerContextGenerator {
|
|
41
|
+
constructor(_rtl) {
|
|
63
42
|
this._rtl = _rtl;
|
|
64
43
|
}
|
|
65
|
-
|
|
44
|
+
addModel(model) {
|
|
66
45
|
return new DesignerContextGeneratorInternal({ model: model }, this._rtl);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Object.defineProperty(ResizeSettings.prototype, "handler", {
|
|
77
|
-
get: function () { return this._handler; },
|
|
78
|
-
set: function (newVal) {
|
|
79
|
-
this._disposables.push(newVal);
|
|
80
|
-
this._handler = newVal;
|
|
81
|
-
},
|
|
82
|
-
enumerable: false,
|
|
83
|
-
configurable: true
|
|
84
|
-
});
|
|
85
|
-
ResizeSettings.prototype.generate = function () {
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class ResizeSettings extends Disposable {
|
|
49
|
+
get handler() { return this._handler; }
|
|
50
|
+
set handler(newVal) {
|
|
51
|
+
this._disposables.push(newVal);
|
|
52
|
+
this._handler = newVal;
|
|
53
|
+
}
|
|
54
|
+
generate() {
|
|
86
55
|
var result = {};
|
|
87
56
|
if (this.handler)
|
|
88
57
|
result['resizeHandler'] = this.handler;
|
|
89
58
|
return result;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
__extends(ContextActionsSettings, _super);
|
|
96
|
-
function ContextActionsSettings() {
|
|
97
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
98
|
-
}
|
|
99
|
-
ContextActionsSettings.prototype._actionUndoEngineWrappingFunction = function (contextActions, undoEngine) {
|
|
100
|
-
return _utils_2.createActionWrappingFunction('WrapWithUndoEngine', function (model, handler) {
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class ContextActionsSettings extends Disposable {
|
|
62
|
+
_actionUndoEngineWrappingFunction(contextActions, undoEngine) {
|
|
63
|
+
return createActionWrappingFunction('WrapWithUndoEngine', (model, handler) => {
|
|
101
64
|
undoEngine().start();
|
|
102
65
|
handler(model);
|
|
103
66
|
undoEngine().end();
|
|
104
67
|
})(contextActions);
|
|
105
|
-
}
|
|
106
|
-
|
|
68
|
+
}
|
|
69
|
+
_collectActions(editableObj, undoEngine) {
|
|
107
70
|
var editable = editableObj(), contextActions = [];
|
|
108
|
-
this.actionProviders.forEach(
|
|
71
|
+
this.actionProviders.forEach(actionProvider => {
|
|
109
72
|
contextActions.push.apply(contextActions, actionProvider.getActions(editable));
|
|
110
73
|
});
|
|
111
74
|
this._actionUndoEngineWrappingFunction(contextActions, undoEngine);
|
|
112
75
|
return contextActions;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
return this._groupActions;
|
|
139
|
-
},
|
|
140
|
-
set: function (val) {
|
|
141
|
-
this._disposables.push(val);
|
|
142
|
-
this._groupActions = val;
|
|
143
|
-
},
|
|
144
|
-
enumerable: false,
|
|
145
|
-
configurable: true
|
|
146
|
-
});
|
|
147
|
-
ContextActionsSettings.prototype.createDefaultActions = function (editableObj, undoEngine) {
|
|
148
|
-
var _this = this;
|
|
149
|
-
this.actions = ko.computed(function () {
|
|
150
|
-
return _this._collectActions(editableObj, undoEngine);
|
|
76
|
+
}
|
|
77
|
+
get actionProviders() {
|
|
78
|
+
return this._actionProviders;
|
|
79
|
+
}
|
|
80
|
+
set actionProviders(val) {
|
|
81
|
+
this._disposables.push.apply(this._disposables, val);
|
|
82
|
+
this._actionProviders = val;
|
|
83
|
+
}
|
|
84
|
+
get actions() {
|
|
85
|
+
return this._actions;
|
|
86
|
+
}
|
|
87
|
+
set actions(val) {
|
|
88
|
+
this._disposables.push(val);
|
|
89
|
+
this._actions = val;
|
|
90
|
+
}
|
|
91
|
+
get groupActions() {
|
|
92
|
+
return this._groupActions;
|
|
93
|
+
}
|
|
94
|
+
set groupActions(val) {
|
|
95
|
+
this._disposables.push(val);
|
|
96
|
+
this._groupActions = val;
|
|
97
|
+
}
|
|
98
|
+
createDefaultActions(editableObj, undoEngine) {
|
|
99
|
+
this.actions = ko.computed(() => {
|
|
100
|
+
return this._collectActions(editableObj, undoEngine);
|
|
151
101
|
});
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
return _utils_2.collectGroupsFromFlatList(_this._collectActions(editableObj, undoEngine), function (x) { return x.group && x.group(); });
|
|
102
|
+
}
|
|
103
|
+
createDefaultGroupAction(editableObj, undoEngine) {
|
|
104
|
+
this.groupActions = ko.computed(() => {
|
|
105
|
+
return collectGroupsFromFlatList(this._collectActions(editableObj, undoEngine), (x) => x.group && x.group());
|
|
157
106
|
});
|
|
158
|
-
}
|
|
159
|
-
|
|
107
|
+
}
|
|
108
|
+
generate() {
|
|
160
109
|
var result = {};
|
|
161
110
|
if (this.actionProviders)
|
|
162
111
|
result['contextActionProviders'] = this.actionProviders;
|
|
@@ -165,95 +114,74 @@ var ContextActionsSettings = (function (_super) {
|
|
|
165
114
|
if (this.groupActions)
|
|
166
115
|
result['contextGroupActions'] = this.groupActions;
|
|
167
116
|
return result;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
Object.defineProperty(DragDropSettings.prototype, "dragDropStarted", {
|
|
191
|
-
get: function () {
|
|
192
|
-
return this._dragDropStarted;
|
|
193
|
-
},
|
|
194
|
-
set: function (val) {
|
|
195
|
-
this._disposables.push(val);
|
|
196
|
-
this._dragDropStarted = val;
|
|
197
|
-
},
|
|
198
|
-
enumerable: false,
|
|
199
|
-
configurable: true
|
|
200
|
-
});
|
|
201
|
-
DragDropSettings.prototype.addDragDropHandler = function (propertyName, handler) {
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
export class DragDropSettings extends Disposable {
|
|
120
|
+
constructor() {
|
|
121
|
+
super(...arguments);
|
|
122
|
+
this._model = {};
|
|
123
|
+
}
|
|
124
|
+
get dragHelperContent() {
|
|
125
|
+
return this._dragHelperContent;
|
|
126
|
+
}
|
|
127
|
+
set dragHelperContent(val) {
|
|
128
|
+
this._disposables.push(val);
|
|
129
|
+
this._dragHelperContent = val;
|
|
130
|
+
}
|
|
131
|
+
get dragDropStarted() {
|
|
132
|
+
return this._dragDropStarted;
|
|
133
|
+
}
|
|
134
|
+
set dragDropStarted(val) {
|
|
135
|
+
this._disposables.push(val);
|
|
136
|
+
this._dragDropStarted = val;
|
|
137
|
+
}
|
|
138
|
+
addDragDropHandler(propertyName, handler) {
|
|
202
139
|
this._disposables.push(handler);
|
|
203
140
|
this._model[propertyName] = handler;
|
|
204
|
-
}
|
|
205
|
-
|
|
141
|
+
}
|
|
142
|
+
generate() {
|
|
206
143
|
var result = this._model;
|
|
207
144
|
if (this.dragHelperContent)
|
|
208
145
|
result['dragHelperContent'] = this.dragHelperContent;
|
|
209
146
|
if (this.dragDropStarted)
|
|
210
147
|
result['dragDropStarted'] = this.dragDropStarted;
|
|
211
148
|
return result;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
_this._model = {};
|
|
223
|
-
return _this;
|
|
224
|
-
}
|
|
225
|
-
ControlsHelperSettings.prototype.generate = function () {
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
export class ControlsHelperSettings extends Disposable {
|
|
152
|
+
constructor(_selection, _context) {
|
|
153
|
+
super();
|
|
154
|
+
this._selection = _selection;
|
|
155
|
+
this._context = _context;
|
|
156
|
+
this._model = {};
|
|
157
|
+
}
|
|
158
|
+
generate() {
|
|
226
159
|
var result = this._model;
|
|
227
160
|
if (this.controlsHelper)
|
|
228
161
|
result['controlsHelper'] = this.controlsHelper;
|
|
229
162
|
return result;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
deleted: function (control) { control.surface === _this._selection.focused() && _this._selection.focused(control.surface.findNextSelection()); }
|
|
163
|
+
}
|
|
164
|
+
addControlsHelper(helper) {
|
|
165
|
+
this.controlsHelper = helper || new DesignControlsHelper(this._context.model, [{
|
|
166
|
+
added: (control) => { },
|
|
167
|
+
deleted: (control) => { control.surface === this._selection.focused() && this._selection.focused(control.surface.findNextSelection()); }
|
|
236
168
|
}]);
|
|
237
169
|
this._disposables.push(this.controlsHelper);
|
|
238
170
|
return this;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
store = store || new
|
|
171
|
+
}
|
|
172
|
+
addControlsStore(store) {
|
|
173
|
+
store = store || new ControlsStore(this.controlsHelper.allControls);
|
|
242
174
|
this._disposables.push(store);
|
|
243
175
|
this._model['controlsStore'] = store;
|
|
244
176
|
return this;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
_this.stopPropagation = false;
|
|
254
|
-
return _this;
|
|
255
|
-
}
|
|
256
|
-
MenuSettings.prototype.generate = function () {
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
export class MenuSettings extends Disposable {
|
|
180
|
+
constructor() {
|
|
181
|
+
super(...arguments);
|
|
182
|
+
this.stopPropagation = false;
|
|
183
|
+
}
|
|
184
|
+
generate() {
|
|
257
185
|
var result = {};
|
|
258
186
|
if (this.appMenuVisible)
|
|
259
187
|
result['appMenuVisible'] = this.appMenuVisible;
|
|
@@ -265,76 +193,56 @@ var MenuSettings = (function (_super) {
|
|
|
265
193
|
result['getMenuPopupTarget'] = this.getMenuPopupTarget;
|
|
266
194
|
result['stopPropagation'] = this.stopPropagation;
|
|
267
195
|
return result;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
__extends(SelectionSettings, _super);
|
|
285
|
-
function SelectionSettings() {
|
|
286
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
287
|
-
_this._dragDropSettings = new DragDropSettings();
|
|
288
|
-
_this._resizeSettings = new ResizeSettings();
|
|
289
|
-
return _this;
|
|
290
|
-
}
|
|
291
|
-
SelectionSettings.prototype.dispose = function () {
|
|
196
|
+
}
|
|
197
|
+
get appMenuVisible() {
|
|
198
|
+
return this._appMenuVisible;
|
|
199
|
+
}
|
|
200
|
+
set appMenuVisible(val) {
|
|
201
|
+
this._disposables.push(val);
|
|
202
|
+
this._appMenuVisible = val;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
export class SelectionSettings extends Disposable {
|
|
206
|
+
constructor() {
|
|
207
|
+
super(...arguments);
|
|
208
|
+
this._dragDropSettings = new DragDropSettings();
|
|
209
|
+
this._resizeSettings = new ResizeSettings();
|
|
210
|
+
}
|
|
211
|
+
dispose() {
|
|
292
212
|
this._editableObject(null);
|
|
293
|
-
|
|
213
|
+
super.dispose();
|
|
294
214
|
this.removeProperties();
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
Object.defineProperty(SelectionSettings.prototype, "editableObject", {
|
|
319
|
-
get: function () {
|
|
320
|
-
return this._editableObject;
|
|
321
|
-
},
|
|
322
|
-
set: function (val) {
|
|
323
|
-
this._disposables.push(val);
|
|
324
|
-
this._editableObject = val;
|
|
325
|
-
},
|
|
326
|
-
enumerable: false,
|
|
327
|
-
configurable: true
|
|
328
|
-
});
|
|
329
|
-
SelectionSettings.prototype.addDragDrop = function (func) {
|
|
215
|
+
}
|
|
216
|
+
get selection() {
|
|
217
|
+
return this._selection;
|
|
218
|
+
}
|
|
219
|
+
set selection(val) {
|
|
220
|
+
this._disposables.push(val);
|
|
221
|
+
this._selection = val;
|
|
222
|
+
}
|
|
223
|
+
get snapHelper() {
|
|
224
|
+
return this._snapHelper;
|
|
225
|
+
}
|
|
226
|
+
set snapHelper(val) {
|
|
227
|
+
this._disposables.push(val);
|
|
228
|
+
this._snapHelper = val;
|
|
229
|
+
}
|
|
230
|
+
get editableObject() {
|
|
231
|
+
return this._editableObject;
|
|
232
|
+
}
|
|
233
|
+
set editableObject(val) {
|
|
234
|
+
this._disposables.push(val);
|
|
235
|
+
this._editableObject = val;
|
|
236
|
+
}
|
|
237
|
+
addDragDrop(func) {
|
|
330
238
|
func(this._dragDropSettings);
|
|
331
239
|
this._disposables.push(this._dragDropSettings);
|
|
332
|
-
}
|
|
333
|
-
|
|
240
|
+
}
|
|
241
|
+
addResize(func) {
|
|
334
242
|
func(this._resizeSettings);
|
|
335
243
|
this._disposables.push(this._resizeSettings);
|
|
336
|
-
}
|
|
337
|
-
|
|
244
|
+
}
|
|
245
|
+
generate() {
|
|
338
246
|
var result = {};
|
|
339
247
|
if (this.selection)
|
|
340
248
|
result['selection'] = this.selection;
|
|
@@ -342,149 +250,129 @@ var SelectionSettings = (function (_super) {
|
|
|
342
250
|
result['snapHelper'] = this.snapHelper;
|
|
343
251
|
if (this.editableObject)
|
|
344
252
|
result['editableObject'] = this.editableObject;
|
|
345
|
-
return
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
_this._model.rtl = _this._rtl;
|
|
359
|
-
_this._model.dispose = function () {
|
|
360
|
-
_this.dispose();
|
|
253
|
+
return extend(result, this._dragDropSettings.generate(), this._resizeSettings.generate());
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
export class CommonDesignerGenerator extends Disposable {
|
|
257
|
+
constructor(_context, _rtl) {
|
|
258
|
+
super();
|
|
259
|
+
this._context = _context;
|
|
260
|
+
this._rtl = _rtl;
|
|
261
|
+
this._model = {};
|
|
262
|
+
this._selectionSettings = new SelectionSettings();
|
|
263
|
+
this._model.rtl = this._rtl;
|
|
264
|
+
this._model.dispose = () => {
|
|
265
|
+
this.dispose();
|
|
361
266
|
};
|
|
362
|
-
return _this;
|
|
363
267
|
}
|
|
364
|
-
|
|
268
|
+
_createPopularProperties(info, popularProperties) {
|
|
365
269
|
var properties = [];
|
|
366
|
-
popularProperties.forEach(
|
|
367
|
-
var property = info.filter(
|
|
270
|
+
popularProperties.forEach((name) => {
|
|
271
|
+
var property = info.filter((propertyInfo) => { return propertyInfo.propertyName === name; })[0];
|
|
368
272
|
if (property) {
|
|
369
273
|
properties.push(property);
|
|
370
274
|
}
|
|
371
275
|
});
|
|
372
276
|
return properties;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
Object.keys(this._model).forEach(function (propertyName) {
|
|
277
|
+
}
|
|
278
|
+
_resetModel() {
|
|
279
|
+
Object.keys(this._model).forEach((propertyName) => {
|
|
377
280
|
if (propertyName !== 'dispose')
|
|
378
|
-
delete
|
|
281
|
+
delete this._model[propertyName];
|
|
379
282
|
});
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
configurable: true
|
|
391
|
-
});
|
|
392
|
-
CommonDesignerGenerator.prototype.dispose = function () {
|
|
393
|
-
_super.prototype.dispose.call(this);
|
|
283
|
+
}
|
|
284
|
+
get rtl() {
|
|
285
|
+
return this._rtl;
|
|
286
|
+
}
|
|
287
|
+
set rtl(newVal) {
|
|
288
|
+
this._rtl = newVal;
|
|
289
|
+
this._model.rtl = newVal;
|
|
290
|
+
}
|
|
291
|
+
dispose() {
|
|
292
|
+
super.dispose();
|
|
394
293
|
this._resetModel();
|
|
395
|
-
}
|
|
396
|
-
|
|
294
|
+
}
|
|
295
|
+
initializeContext(context) {
|
|
397
296
|
this._context = context;
|
|
398
297
|
return this;
|
|
399
|
-
}
|
|
400
|
-
|
|
298
|
+
}
|
|
299
|
+
getPropertyByName(propertyName) {
|
|
401
300
|
return this._model[propertyName];
|
|
402
|
-
}
|
|
403
|
-
|
|
301
|
+
}
|
|
302
|
+
addElement(propertyName, elementFunc) {
|
|
404
303
|
this._model[propertyName] = elementFunc();
|
|
405
304
|
this._disposables.push(this._model[propertyName]);
|
|
406
305
|
return this;
|
|
407
|
-
}
|
|
408
|
-
|
|
306
|
+
}
|
|
307
|
+
mapOnContext() {
|
|
409
308
|
this._model.model = this._context.model;
|
|
410
309
|
this._model.surface = this._context.surface;
|
|
411
310
|
this._model.undoEngine = this._context.undoEngine;
|
|
412
311
|
return this;
|
|
413
|
-
}
|
|
414
|
-
|
|
312
|
+
}
|
|
313
|
+
addSelection(func) {
|
|
415
314
|
func(this._selectionSettings);
|
|
416
315
|
this._disposables.push(this._selectionSettings);
|
|
417
|
-
|
|
316
|
+
extend(this._model, this._selectionSettings.generate());
|
|
418
317
|
return this;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
if (propertyName === void 0) { propertyName = 'propertyGrid'; }
|
|
318
|
+
}
|
|
319
|
+
addPropertyGrid(propertyGrid, propertyName = 'propertyGrid') {
|
|
422
320
|
this._model[propertyName] = propertyGrid && propertyGrid();
|
|
423
321
|
this._disposables.push(this._model[propertyName]);
|
|
424
322
|
return this;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
this._model.
|
|
429
|
-
this._model.addDisposables = function () {
|
|
430
|
-
var _a;
|
|
431
|
-
var elem = [];
|
|
432
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
433
|
-
elem[_i] = arguments[_i];
|
|
434
|
-
}
|
|
435
|
-
return (_a = _this._model.disposableContainer._disposables).push.apply(_a, elem);
|
|
436
|
-
};
|
|
323
|
+
}
|
|
324
|
+
addDisposableContainer() {
|
|
325
|
+
this._model.disposableContainer = new Disposable();
|
|
326
|
+
this._model.addDisposables = (...elem) => this._model.disposableContainer._disposables.push(...elem);
|
|
437
327
|
return this;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
var properties = new _controlProperties_1.ControlProperties(this._model.editableObject, { groups: groups, editors: editors }, null);
|
|
328
|
+
}
|
|
329
|
+
addControlProperties(editors, groups, accessibilityProvider) {
|
|
330
|
+
return this.addPropertyGrid(() => this.createControlProperties(editors, groups, accessibilityProvider));
|
|
331
|
+
}
|
|
332
|
+
createControlProperties(editors, groups, accessibilityProvider) {
|
|
333
|
+
var properties = new ControlProperties(this._model.editableObject, { groups: groups, editors: editors }, null);
|
|
445
334
|
if (accessibilityProvider)
|
|
446
335
|
properties.registerAccessibilityProvider(accessibilityProvider);
|
|
447
336
|
return properties;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
var popularPropertiesObject = { getInfo: function () { return []; } }, editable = _this._model.editableObject();
|
|
337
|
+
}
|
|
338
|
+
addPopularProperties(controlsFactory, accessibilityProvider) {
|
|
339
|
+
return this.addPropertyGrid(() => {
|
|
340
|
+
var properties = new ObjectProperties(ko.pureComputed(() => {
|
|
341
|
+
var popularPropertiesObject = { getInfo: () => { return []; } }, editable = this._model.editableObject();
|
|
454
342
|
if (editable) {
|
|
455
|
-
var controlInfo = controlsFactory.controlsMap[editable.controlType], propertiesInfo =
|
|
456
|
-
(propertiesInfo).forEach(
|
|
343
|
+
var controlInfo = controlsFactory.controlsMap[editable.controlType], propertiesInfo = this._createPopularProperties(controlInfo && controlInfo.info || [], controlInfo && controlInfo.popularProperties || []);
|
|
344
|
+
(propertiesInfo).forEach(item => {
|
|
457
345
|
if (item.propertyName in editable)
|
|
458
346
|
popularPropertiesObject[item.propertyName] = editable[item.propertyName];
|
|
459
347
|
});
|
|
460
|
-
popularPropertiesObject.getInfo =
|
|
348
|
+
popularPropertiesObject.getInfo = () => {
|
|
461
349
|
return propertiesInfo;
|
|
462
350
|
};
|
|
463
351
|
popularPropertiesObject['root'] = editable.root;
|
|
464
352
|
popularPropertiesObject['actions'] = editable.actions;
|
|
465
353
|
popularPropertiesObject['actionProviders'] = editable.actionProviders;
|
|
466
|
-
popularPropertiesObject['getPath'] =
|
|
467
|
-
popularPropertiesObject['getModel'] =
|
|
468
|
-
popularPropertiesObject['isPropertyModified'] =
|
|
354
|
+
popularPropertiesObject['getPath'] = (propertyName) => { return editable.getPath && editable.getPath(propertyName) || ''; };
|
|
355
|
+
popularPropertiesObject['getModel'] = () => editable;
|
|
356
|
+
popularPropertiesObject['isPropertyModified'] = (name) => {
|
|
469
357
|
return editable.isPropertyModified ? editable.isPropertyModified(name) : false;
|
|
470
358
|
};
|
|
471
|
-
popularPropertiesObject['getActionClassName'] =
|
|
359
|
+
popularPropertiesObject['getActionClassName'] = (name) => {
|
|
472
360
|
return editable['getActionClassName'] ? editable['getActionClassName'](name) : '';
|
|
473
361
|
};
|
|
474
|
-
popularPropertiesObject['getMenuBoxTemplate'] =
|
|
362
|
+
popularPropertiesObject['getMenuBoxTemplate'] = (name) => {
|
|
475
363
|
return editable['getMenuBoxTemplate'] ? editable['getMenuBoxTemplate'](name) : '';
|
|
476
364
|
};
|
|
477
|
-
popularPropertiesObject['isPropertyVisible'] =
|
|
365
|
+
popularPropertiesObject['isPropertyVisible'] = (propertyName) => {
|
|
478
366
|
return editable['isPropertyVisible'] ? editable['isPropertyVisible'](propertyName, true) : true;
|
|
479
367
|
};
|
|
480
|
-
popularPropertiesObject['isPropertyHighlighted'] =
|
|
368
|
+
popularPropertiesObject['isPropertyHighlighted'] = (propertyName) => {
|
|
481
369
|
return editable['isPropertyHighlighted'] ? editable['isPropertyHighlighted'](propertyName) : false;
|
|
482
370
|
};
|
|
483
|
-
popularPropertiesObject['isPropertyDisabled'] =
|
|
371
|
+
popularPropertiesObject['isPropertyDisabled'] = (name) => {
|
|
484
372
|
return editable.isPropertyDisabled ? editable.isPropertyDisabled(name) : false;
|
|
485
373
|
};
|
|
486
|
-
popularPropertiesObject['isSame'] =
|
|
487
|
-
['name', 'displayName'].forEach(
|
|
374
|
+
popularPropertiesObject['isSame'] = x => x === editable;
|
|
375
|
+
['name', 'displayName'].forEach((propertyName) => {
|
|
488
376
|
if (propertyName in editable) {
|
|
489
377
|
popularPropertiesObject[propertyName] = editable[propertyName];
|
|
490
378
|
}
|
|
@@ -496,67 +384,61 @@ var CommonDesignerGenerator = (function (_super) {
|
|
|
496
384
|
properties.registerAccessibilityProvider(accessibilityProvider);
|
|
497
385
|
return properties;
|
|
498
386
|
}, 'popularProperties');
|
|
499
|
-
}
|
|
500
|
-
|
|
387
|
+
}
|
|
388
|
+
addToolboxItems(items) {
|
|
501
389
|
this._model.toolboxItems = items && items();
|
|
502
390
|
return this;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
this._model.groupedToolboxItems =
|
|
391
|
+
}
|
|
392
|
+
addGroupedToolboxItems() {
|
|
393
|
+
this._model.groupedToolboxItems = collectGroupsFromFlatList(this._model.toolboxItems, (item) => item.info.group);
|
|
506
394
|
return this;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
var panelModel = panel && panel() || new tabPanel_1.TabPanel({ tabs: addTabInfo(), rtl: this._rtl, width: 375 });
|
|
395
|
+
}
|
|
396
|
+
addTabPanel(panel, addTabInfo = () => []) {
|
|
397
|
+
var panelModel = panel && panel() || new TabPanel({ tabs: addTabInfo(), rtl: this._rtl, width: 375 });
|
|
511
398
|
this._model.tabPanel = panelModel;
|
|
512
399
|
this._disposables.push(panelModel);
|
|
513
400
|
return this;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
if (isLoadingFunc === void 0) { isLoadingFunc = function () { return ko.observable(true); }; }
|
|
401
|
+
}
|
|
402
|
+
addIsLoading(isLoadingFunc = () => ko.observable(true)) {
|
|
517
403
|
this._model.isLoading = isLoadingFunc();
|
|
518
404
|
this._disposables.push(this._model.isLoading);
|
|
519
405
|
return this;
|
|
520
|
-
}
|
|
521
|
-
|
|
406
|
+
}
|
|
407
|
+
addControlsHelper(func) {
|
|
522
408
|
var settings = new ControlsHelperSettings(this._selectionSettings.selection, this._context);
|
|
523
409
|
func(settings);
|
|
524
410
|
this._disposables.push(settings);
|
|
525
|
-
|
|
411
|
+
extend(this._model, settings.generate());
|
|
526
412
|
return this;
|
|
527
|
-
}
|
|
528
|
-
|
|
413
|
+
}
|
|
414
|
+
addMenu(func) {
|
|
529
415
|
var settings = new MenuSettings();
|
|
530
416
|
func(settings);
|
|
531
417
|
this._disposables.push(settings);
|
|
532
|
-
|
|
418
|
+
extend(this._model, settings.generate());
|
|
533
419
|
return this;
|
|
534
|
-
}
|
|
535
|
-
|
|
420
|
+
}
|
|
421
|
+
addContextActions(func) {
|
|
536
422
|
var settings = new ContextActionsSettings();
|
|
537
423
|
func(settings);
|
|
538
424
|
this._disposables.push(settings);
|
|
539
|
-
|
|
425
|
+
extend(this._model, settings.generate());
|
|
540
426
|
return this;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
if (func === void 0) { func = function (parts) { return parts; }; }
|
|
544
|
-
if (useDefaults === void 0) { useDefaults = true; }
|
|
427
|
+
}
|
|
428
|
+
addParts(func = (parts) => parts, useDefaults = true) {
|
|
545
429
|
var parts = [];
|
|
546
430
|
if (useDefaults)
|
|
547
|
-
parts =
|
|
431
|
+
parts = generateDefaultParts(this._model);
|
|
548
432
|
this._model.parts = func(parts);
|
|
549
433
|
return this;
|
|
550
|
-
}
|
|
551
|
-
|
|
434
|
+
}
|
|
435
|
+
getModel() {
|
|
552
436
|
return this._model;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
var actionLists = actionListsFunc && actionListsFunc() || new
|
|
437
|
+
}
|
|
438
|
+
addActionList(actionListsFunc) {
|
|
439
|
+
var actionLists = actionListsFunc && actionListsFunc() || new ActionLists(this._context.surface, this._selectionSettings.selection, this._context.undoEngine, () => { });
|
|
556
440
|
this._disposables.push(actionLists);
|
|
557
441
|
this._model.actionLists = actionLists;
|
|
558
442
|
return this;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
}(utils_1.Disposable));
|
|
562
|
-
exports.CommonDesignerGenerator = CommonDesignerGenerator;
|
|
443
|
+
}
|
|
444
|
+
}
|