@devexpress/analytics-core 23.2.5-build-2465-1730 → 23.2.5
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/accessibility/_accordionKeyboardHelper.d.ts +2 -2
- package/accessibility/_accordionKeyboardHelper.js +2 -2
- package/accessibility/_controlElementBase.d.ts +2 -2
- package/accessibility/_controlElementBase.js +2 -2
- package/accessibility/_controlElementWithParentHighlight.d.ts +2 -2
- package/accessibility/_controlElementWithParentHighlight.js +2 -2
- package/accessibility/_dxMutationObserver.d.ts +2 -2
- package/accessibility/_dxMutationObserver.js +2 -2
- package/accessibility/_internal.d.ts +2 -2
- package/accessibility/_internal.js +2 -2
- package/accessibility/_keyboardHelperBase.d.ts +2 -2
- package/accessibility/_keyboardHelperBase.js +4 -4
- package/accessibility/_keyboardHelperWithArrowButtonBase.d.ts +2 -2
- package/accessibility/_keyboardHelperWithArrowButtonBase.js +2 -2
- package/accessibility/_listKeyboardHelper.d.ts +2 -2
- package/accessibility/_listKeyboardHelper.js +2 -2
- package/accessibility/_rightPanelKeyboardHelperNative.d.ts +2 -2
- package/accessibility/_rightPanelKeyboardHelperNative.js +2 -2
- package/accessibility/_toolbarKeyboardHelper.d.ts +2 -2
- package/accessibility/_toolbarKeyboardHelper.js +2 -2
- package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
- package/accessibility/_treeListKeyboardHelper.js +2 -2
- package/analytics-criteria-utils.d.ts +2 -2
- package/analytics-criteria-utils.js +2 -2
- package/analytics-criteria.d.ts +2 -2
- package/analytics-criteria.js +2 -2
- package/analytics-data-internal.d.ts +2 -2
- package/analytics-data-internal.js +2 -2
- package/analytics-data-metadata.d.ts +2 -2
- package/analytics-data-metadata.js +2 -2
- package/analytics-data-utils.d.ts +2 -2
- package/analytics-data-utils.js +2 -2
- package/analytics-data.d.ts +2 -2
- package/analytics-data.js +2 -2
- package/analytics-diagram.d.ts +2 -2
- package/analytics-diagram.js +2 -2
- package/analytics-elements-metadata.d.ts +2 -2
- package/analytics-elements-metadata.js +2 -2
- package/analytics-elements-native.d.ts +2 -2
- package/analytics-elements-native.js +2 -2
- package/analytics-elements.d.ts +2 -2
- package/analytics-elements.js +2 -2
- package/analytics-internal-native.d.ts +2 -2
- package/analytics-internal-native.js +2 -2
- package/analytics-internal.d.ts +2 -2
- package/analytics-internal.js +2 -2
- package/analytics-localization-native.d.ts +2 -2
- package/analytics-localization-native.js +2 -2
- package/analytics-localization.d.ts +2 -2
- package/analytics-localization.js +2 -2
- package/analytics-resources.d.ts +2 -2
- package/analytics-resources.js +2 -2
- package/analytics-serializer-native.d.ts +2 -2
- package/analytics-serializer-native.js +2 -2
- package/analytics-tools.d.ts +2 -2
- package/analytics-tools.js +2 -2
- package/analytics-utils-native.d.ts +2 -2
- package/analytics-utils-native.js +2 -2
- package/analytics-utils.d.ts +2 -2
- package/analytics-utils.js +2 -2
- package/analytics-version.d.ts +2 -2
- package/analytics-version.js +3 -3
- package/analytics-widgets-ace.d.ts +2 -2
- package/analytics-widgets-ace.js +2 -2
- package/analytics-widgets-filtering.d.ts +2 -2
- package/analytics-widgets-filtering.js +2 -2
- package/analytics-widgets-internal-native.d.ts +2 -2
- package/analytics-widgets-internal-native.js +2 -2
- package/analytics-widgets-internal.d.ts +2 -2
- package/analytics-widgets-internal.js +2 -2
- package/analytics-widgets-metadata.d.ts +2 -2
- package/analytics-widgets-metadata.js +2 -2
- package/analytics-widgets-native.d.ts +2 -2
- package/analytics-widgets-native.js +2 -2
- package/analytics-widgets-treeList.d.ts +2 -2
- package/analytics-widgets-treeList.js +2 -2
- package/analytics-widgets.d.ts +2 -2
- package/analytics-widgets.js +2 -2
- package/analytics-wizard-internal.d.ts +2 -2
- package/analytics-wizard-internal.js +2 -2
- package/analytics-wizard.d.ts +2 -2
- package/analytics-wizard.js +2 -2
- package/bundle/_add-analytics-to-bundle.d.ts +2 -2
- package/bundle/_add-analytics-to-bundle.js +2 -2
- package/bundle/_add-devextreme-to-bundle.d.ts +2 -2
- package/bundle/_add-devextreme-to-bundle.js +2 -2
- package/bundle/_add-querybuilder-to-bundle.d.ts +2 -2
- package/bundle/_add-querybuilder-to-bundle.js +2 -2
- package/bundle/_add-to-context.d.ts +2 -2
- package/bundle/_add-to-context.js +2 -2
- package/bundle/_validator.d.ts +2 -2
- package/bundle/_validator.js +2 -2
- package/bundle/analytic-core-bundle.d.ts +2 -2
- package/bundle/analytic-core-bundle.js +2 -2
- package/bundle/query-builder-bundle.d.ts +2 -2
- package/bundle/query-builder-bundle.js +2 -2
- package/core/_actionProvider.d.ts +2 -2
- package/core/_actionProvider.js +2 -2
- package/core/_actionsProvider.interface.d.ts +2 -2
- package/core/_actionsProvider.interface.js +2 -2
- package/core/_bindings.d.ts +2 -2
- package/core/_bindings.js +6 -5
- package/core/_legacy.d.ts +2 -2
- package/core/_legacy.js +2 -2
- package/core/_metadata.d.ts +2 -2
- package/core/_metadata.js +2 -2
- package/core/_updateZoomBinding.d.ts +2 -2
- package/core/_updateZoomBinding.js +2 -2
- package/core/binding/_jsDesignerBindingCommon.d.ts +2 -2
- package/core/binding/_jsDesignerBindingCommon.js +2 -2
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +2 -2
- package/core/binding/_jsDesignerBindingCommonOptions.js +2 -2
- package/core/binding/_requestHelper.d.ts +2 -2
- package/core/binding/_requestHelper.js +2 -2
- package/core/dragDrop/_dragDropHandler.d.ts +2 -2
- package/core/dragDrop/_dragDropHandler.js +2 -2
- package/core/dragDrop/_dragHelperContent.d.ts +2 -2
- package/core/dragDrop/_dragHelperContent.js +2 -2
- package/core/dragDrop/_selectionDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_selectionDragDropHandler.js +2 -2
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_toolboxDragDropHandler.js +2 -2
- package/core/dragDrop/_wizardDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_wizardDragDropHandler.js +2 -2
- package/core/elements/area.d.ts +2 -2
- package/core/elements/area.js +2 -2
- package/core/elements/baseSurface.d.ts +2 -2
- package/core/elements/baseSurface.js +2 -2
- package/core/elements/elementViewModel.d.ts +2 -2
- package/core/elements/elementViewModel.js +2 -2
- package/core/elements/margins.d.ts +2 -2
- package/core/elements/margins.js +2 -2
- package/core/elements/paddingModel.d.ts +2 -2
- package/core/elements/paddingModel.js +2 -2
- package/core/elements/paddingModelMetaData.d.ts +2 -2
- package/core/elements/paddingModelMetaData.js +2 -2
- package/core/elements/point.d.ts +2 -2
- package/core/elements/point.js +2 -2
- package/core/elements/rectangle.d.ts +2 -2
- package/core/elements/rectangle.js +2 -2
- package/core/elements/serializableModel.d.ts +2 -2
- package/core/elements/serializableModel.js +2 -2
- package/core/elements/size.d.ts +2 -2
- package/core/elements/size.js +2 -2
- package/core/elements/size.native.d.ts +2 -2
- package/core/elements/size.native.js +2 -2
- package/core/internal/_ajaxRequestManager.d.ts +2 -2
- package/core/internal/_ajaxRequestManager.js +2 -2
- package/core/internal/_ajaxSetup.d.ts +2 -2
- package/core/internal/_ajaxSetup.js +2 -2
- package/core/internal/_arrayStores.d.ts +2 -2
- package/core/internal/_arrayStores.js +2 -2
- package/core/internal/_controlsHelper.d.ts +2 -2
- package/core/internal/_controlsHelper.js +2 -2
- package/core/internal/_cssCalculator.d.ts +2 -2
- package/core/internal/_cssCalculator.js +2 -2
- package/core/internal/_draggable.d.ts +2 -2
- package/core/internal/_draggable.js +2 -2
- package/core/internal/_editorTypeMapper.d.ts +2 -2
- package/core/internal/_editorTypeMapper.js +2 -2
- package/core/internal/_fetchRequestManager.d.ts +2 -2
- package/core/internal/_fetchRequestManager.js +2 -2
- package/core/internal/_fetchSetup.d.ts +2 -2
- package/core/internal/_fetchSetup.js +2 -2
- package/core/internal/_getNameHelpers.d.ts +2 -2
- package/core/internal/_getNameHelpers.js +2 -2
- package/core/internal/_globalize.d.ts +2 -2
- package/core/internal/_globalize.js +2 -2
- package/core/internal/_hoverInfo.d.ts +2 -2
- package/core/internal/_hoverInfo.js +2 -2
- package/core/internal/_inlineTextEdit.d.ts +2 -2
- package/core/internal/_inlineTextEdit.js +2 -2
- package/core/internal/_isDefined.d.ts +2 -2
- package/core/internal/_isDefined.js +2 -2
- package/core/internal/_ko_integration.d.ts +2 -2
- package/core/internal/_ko_integration.js +2 -2
- package/core/internal/_objectStructureControllers.d.ts +2 -2
- package/core/internal/_objectStructureControllers.js +2 -2
- package/core/internal/_objectStructureProviders.d.ts +2 -2
- package/core/internal/_objectStructureProviders.js +2 -2
- package/core/internal/_papperKindMapper.d.ts +2 -2
- package/core/internal/_papperKindMapper.js +2 -2
- package/core/internal/_processError.d.ts +2 -2
- package/core/internal/_processError.js +2 -2
- package/core/internal/_processTextEditorHotKeys.d.ts +2 -2
- package/core/internal/_processTextEditorHotKeys.js +2 -2
- package/core/internal/_requestManager.d.ts +2 -2
- package/core/internal/_requestManager.js +2 -2
- package/core/internal/_resizable.d.ts +2 -2
- package/core/internal/_resizable.js +2 -2
- package/core/internal/_resizableBinding.d.ts +2 -2
- package/core/internal/_resizableBinding.js +2 -2
- package/core/internal/_scrollProcessor.d.ts +2 -2
- package/core/internal/_scrollProcessor.js +2 -2
- package/core/internal/_stores.d.ts +2 -2
- package/core/internal/_stores.js +2 -2
- package/core/internal/_surfaceHelpers.d.ts +2 -2
- package/core/internal/_surfaceHelpers.js +2 -2
- package/core/internal/_utils.d.ts +2 -2
- package/core/internal/_utils.js +2 -2
- package/core/internal/_utils.unitsConvertation.d.ts +2 -2
- package/core/internal/_utils.unitsConvertation.js +2 -2
- package/core/internal/_validation.d.ts +2 -2
- package/core/internal/_validation.js +2 -2
- package/core/internal/ajaxSetup.d.ts +2 -2
- package/core/internal/ajaxSetup.js +2 -2
- package/core/internal/dx-versions.d.ts +2 -2
- package/core/internal/dx-versions.js +2 -2
- package/core/internal/dxtTemplate.d.ts +2 -2
- package/core/internal/dxtTemplate.js +3 -3
- package/core/internal/fetchSetup.d.ts +2 -2
- package/core/internal/fetchSetup.js +2 -2
- package/core/internal/requestManager.d.ts +2 -2
- package/core/internal/requestManager.js +2 -2
- package/core/internal/selectable.d.ts +2 -2
- package/core/internal/selectable.js +2 -2
- package/core/selection/_combinedObj.d.ts +2 -2
- package/core/selection/_combinedObj.js +2 -2
- package/core/selection/_selection.d.ts +2 -2
- package/core/selection/_selection.js +2 -2
- package/core/selection/_selectionHelpers.d.ts +2 -2
- package/core/selection/_selectionHelpers.js +2 -2
- package/core/snapLines/_snapLineSurface.d.ts +2 -2
- package/core/snapLines/_snapLineSurface.js +2 -2
- package/core/snapLines/_snapLinesCollector.d.ts +2 -2
- package/core/snapLines/_snapLinesCollector.js +2 -2
- package/core/snapLines/_snapLinesHelper.d.ts +2 -2
- package/core/snapLines/_snapLinesHelper.js +2 -2
- package/core/tools/_actionList.d.ts +2 -2
- package/core/tools/_actionList.js +2 -2
- package/core/tools/_actionListBase.d.ts +2 -2
- package/core/tools/_actionListBase.js +2 -2
- package/core/tools/_actionListBase.viewModel.d.ts +2 -2
- package/core/tools/_actionListBase.viewModel.js +2 -2
- package/core/tools/_copyPaste.d.ts +2 -2
- package/core/tools/_copyPaste.js +2 -2
- package/core/tools/_keyboardHelper.d.ts +4 -3
- package/core/tools/_keyboardHelper.js +11 -5
- package/core/tools/_tabInfoWithPropertyGrid.d.ts +2 -2
- package/core/tools/_tabInfoWithPropertyGrid.js +2 -2
- package/core/tools/actionId.d.ts +2 -2
- package/core/tools/actionId.js +2 -2
- package/core/tools/contextMenuProvider.d.ts +2 -2
- package/core/tools/contextMenuProvider.js +2 -2
- package/core/tools/toolbox.d.ts +2 -2
- package/core/tools/toolbox.js +2 -2
- package/core/utils/_arrayutils.compareArrays.d.ts +2 -2
- package/core/utils/_arrayutils.compareArrays.js +2 -2
- package/core/utils/_arrayutils.d.ts +2 -2
- package/core/utils/_arrayutils.js +2 -2
- package/core/utils/_debug.d.ts +2 -2
- package/core/utils/_debug.js +2 -2
- package/core/utils/_designerCreator.d.ts +2 -2
- package/core/utils/_designerCreator.js +2 -2
- package/core/utils/_designerInitializer.d.ts +2 -2
- package/core/utils/_designerInitializer.js +2 -2
- package/core/utils/_fieldListProvider.d.ts +2 -2
- package/core/utils/_fieldListProvider.js +2 -2
- package/core/utils/_infoMessageHelpers.d.ts +2 -2
- package/core/utils/_infoMessageHelpers.js +2 -2
- package/core/utils/_jqueryUtils.d.ts +2 -2
- package/core/utils/_jqueryUtils.js +2 -2
- package/core/utils/_koUtils.d.ts +2 -2
- package/core/utils/_koUtils.js +2 -2
- package/core/utils/_troubleshootingHelpers.d.ts +2 -2
- package/core/utils/_troubleshootingHelpers.js +2 -2
- package/core/utils/_units.d.ts +2 -2
- package/core/utils/_units.js +2 -2
- package/core/utils/_units.roundingXDecimals.d.ts +2 -2
- package/core/utils/_units.roundingXDecimals.js +2 -2
- package/core/utils/_units.unitsToPixel.d.ts +2 -2
- package/core/utils/_units.unitsToPixel.js +2 -2
- package/core/utils/_utils.ajax.d.ts +2 -2
- package/core/utils/_utils.ajax.js +2 -2
- package/core/utils/_utils.createPasswordSerializationInfo.d.ts +2 -2
- package/core/utils/_utils.createPasswordSerializationInfo.js +2 -2
- package/core/utils/_utils.d.ts +2 -2
- package/core/utils/_utils.designerPart.d.ts +2 -2
- package/core/utils/_utils.designerPart.js +2 -2
- package/core/utils/_utils.getResizableOptions.d.ts +2 -2
- package/core/utils/_utils.getResizableOptions.js +2 -2
- package/core/utils/_utils.js +2 -2
- package/core/utils/_utils.parseZoom.d.ts +2 -2
- package/core/utils/_utils.parseZoom.js +2 -2
- package/core/utils/_utils.sizeFactorType.d.ts +2 -2
- package/core/utils/_utils.sizeFactorType.js +2 -2
- package/core/utils/_utils.staticContext.d.ts +2 -2
- package/core/utils/_utils.staticContext.js +2 -2
- package/core/utils/_utils.typings.d.ts +2 -2
- package/core/utils/_utils.typings.js +2 -2
- package/core/utils/_utils.wrapModelInObservable.d.ts +2 -2
- package/core/utils/_utils.wrapModelInObservable.js +2 -2
- package/core/utils/_visitors.d.ts +2 -2
- package/core/utils/_visitors.js +2 -2
- package/core/utils/controlsFactory.d.ts +2 -2
- package/core/utils/controlsFactory.js +2 -2
- package/core/utils/parsers.d.ts +2 -2
- package/core/utils/parsers.js +2 -2
- package/core/widgets/_buttonInlineEditor.d.ts +8 -4
- package/core/widgets/_buttonInlineEditor.js +7 -4
- package/core/widgets/_dataMemberEditor.d.ts +2 -2
- package/core/widgets/_dataMemberEditor.js +2 -2
- package/core/widgets/_fieldlistpicker.d.ts +2 -2
- package/core/widgets/_fieldlistpicker.js +2 -2
- package/core/widgets/_generateIconTemplate.d.ts +2 -2
- package/core/widgets/_generateIconTemplate.js +2 -2
- package/core/widgets/_popupEditorBase.d.ts +2 -2
- package/core/widgets/_popupEditorBase.js +2 -2
- package/core/widgets/_requiredNullableEditor.d.ts +2 -2
- package/core/widgets/_requiredNullableEditor.js +2 -2
- package/core/widgets/booleanEditor.d.ts +2 -2
- package/core/widgets/booleanEditor.js +2 -2
- package/core/widgets/bordereditor/_binding.d.ts +2 -2
- package/core/widgets/bordereditor/_binding.js +2 -2
- package/core/widgets/bordereditor/_bordereditor.d.ts +2 -2
- package/core/widgets/bordereditor/_bordereditor.js +2 -2
- package/core/widgets/colorPickerEditor.d.ts +2 -2
- package/core/widgets/colorPickerEditor.js +2 -2
- package/core/widgets/dataMemberEditor.d.ts +2 -2
- package/core/widgets/dataMemberEditor.js +2 -2
- package/core/widgets/fieldListEditor.d.ts +2 -2
- package/core/widgets/fieldListEditor.js +2 -2
- package/core/widgets/popover.d.ts +2 -2
- package/core/widgets/popover.js +2 -2
- package/core/widgets/propertygrid/_controlProperties.d.ts +2 -2
- package/core/widgets/propertygrid/_controlProperties.js +2 -2
- package/core/widgets/propertygrid/_group.d.ts +2 -2
- package/core/widgets/propertygrid/_group.js +2 -2
- package/core/widgets/registerDesignerEditors.d.ts +2 -2
- package/core/widgets/registerDesignerEditors.js +2 -2
- package/core/widgets/registerDesignerEditors.native.d.ts +2 -2
- package/core/widgets/registerDesignerEditors.native.js +2 -2
- package/core/widgets/tabInfo.d.ts +2 -2
- package/core/widgets/tabInfo.js +2 -2
- package/core/widgets/tabPanel.d.ts +2 -2
- package/core/widgets/tabPanel.js +2 -2
- package/core/widgets/textAlignmentEditor/_binding.d.ts +2 -2
- package/core/widgets/textAlignmentEditor/_binding.js +2 -2
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +2 -2
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +2 -2
- package/diagram/_legacy.d.ts +2 -2
- package/diagram/_legacy.js +2 -2
- package/diagram/bindings.d.ts +2 -2
- package/diagram/bindings.js +2 -2
- package/diagram/controlRegistrator.d.ts +2 -2
- package/diagram/controlRegistrator.js +2 -2
- package/diagram/controlsFactory.d.ts +2 -2
- package/diagram/controlsFactory.js +2 -2
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +2 -2
- package/diagram/dragDrop/connectingPointDragHandler.js +2 -2
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +2 -2
- package/diagram/dragDrop/connectionPointDragHandler.js +2 -2
- package/diagram/elements/connectingPointModel.d.ts +2 -2
- package/diagram/elements/connectingPointModel.js +2 -2
- package/diagram/elements/connectingPointSurface.d.ts +2 -2
- package/diagram/elements/connectingPointSurface.js +2 -2
- package/diagram/elements/connectors/connectionPointModel.d.ts +2 -2
- package/diagram/elements/connectors/connectionPointModel.js +2 -2
- package/diagram/elements/connectors/connectionPointSurface.d.ts +2 -2
- package/diagram/elements/connectors/connectionPointSurface.js +2 -2
- package/diagram/elements/connectors/connectorModel.d.ts +2 -2
- package/diagram/elements/connectors/connectorModel.js +2 -2
- package/diagram/elements/connectors/connectorSurface.d.ts +2 -2
- package/diagram/elements/connectors/connectorSurface.js +2 -2
- package/diagram/elements/connectors/routedConnectorModel.d.ts +2 -2
- package/diagram/elements/connectors/routedConnectorModel.js +2 -2
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +2 -2
- package/diagram/elements/connectors/routedConnectorSurface.js +2 -2
- package/diagram/elements/diagramElementBaseSurface.d.ts +2 -2
- package/diagram/elements/diagramElementBaseSurface.js +2 -2
- package/diagram/elements/diagramElementBaseViewModel.d.ts +2 -2
- package/diagram/elements/diagramElementBaseViewModel.js +2 -2
- package/diagram/elements/diagramElementSurface.d.ts +2 -2
- package/diagram/elements/diagramElementSurface.js +2 -2
- package/diagram/elements/diagramElementViewModel.d.ts +2 -2
- package/diagram/elements/diagramElementViewModel.js +2 -2
- package/diagram/elements/diagramModel.d.ts +2 -2
- package/diagram/elements/diagramModel.js +2 -2
- package/diagram/elements/diagramSurface.d.ts +2 -2
- package/diagram/elements/diagramSurface.js +2 -2
- package/diagram/initializer.d.ts +2 -2
- package/diagram/initializer.js +2 -2
- package/diagram/metadata.d.ts +2 -2
- package/diagram/metadata.js +2 -2
- package/diagram/utils.d.ts +2 -2
- package/diagram/utils.js +2 -2
- package/dist/css/dx-analytics.carmine.compact.css +2 -2
- package/dist/css/dx-analytics.carmine.css +2 -2
- package/dist/css/dx-analytics.common.css +17 -12
- package/dist/css/dx-analytics.contrast.compact.css +2 -2
- package/dist/css/dx-analytics.contrast.css +2 -2
- package/dist/css/dx-analytics.dark.compact.css +2 -2
- package/dist/css/dx-analytics.dark.css +2 -2
- package/dist/css/dx-analytics.darkmoon.compact.css +2 -2
- package/dist/css/dx-analytics.darkmoon.css +2 -2
- package/dist/css/dx-analytics.darkviolet.compact.css +2 -2
- package/dist/css/dx-analytics.darkviolet.css +2 -2
- package/dist/css/dx-analytics.greenmist.compact.css +2 -2
- package/dist/css/dx-analytics.greenmist.css +2 -2
- package/dist/css/dx-analytics.light.compact.css +2 -2
- package/dist/css/dx-analytics.light.css +2 -2
- package/dist/css/dx-analytics.material.blue.dark.compact.css +5 -5
- package/dist/css/dx-analytics.material.blue.dark.css +5 -5
- package/dist/css/dx-analytics.material.blue.light.compact.css +5 -5
- package/dist/css/dx-analytics.material.blue.light.css +5 -5
- package/dist/css/dx-analytics.material.lime.dark.compact.css +5 -5
- package/dist/css/dx-analytics.material.lime.dark.css +5 -5
- package/dist/css/dx-analytics.material.lime.light.compact.css +5 -5
- package/dist/css/dx-analytics.material.lime.light.css +5 -5
- package/dist/css/dx-analytics.material.orange.dark.compact.css +5 -5
- package/dist/css/dx-analytics.material.orange.dark.css +5 -5
- package/dist/css/dx-analytics.material.orange.light.compact.css +5 -5
- package/dist/css/dx-analytics.material.orange.light.css +5 -5
- package/dist/css/dx-analytics.material.purple.dark.compact.css +5 -5
- package/dist/css/dx-analytics.material.purple.dark.css +5 -5
- package/dist/css/dx-analytics.material.purple.light.compact.css +5 -5
- package/dist/css/dx-analytics.material.purple.light.css +5 -5
- package/dist/css/dx-analytics.material.teal.dark.compact.css +5 -5
- package/dist/css/dx-analytics.material.teal.dark.css +5 -5
- package/dist/css/dx-analytics.material.teal.light.compact.css +5 -5
- package/dist/css/dx-analytics.material.teal.light.css +5 -5
- package/dist/css/dx-analytics.softblue.compact.css +2 -2
- package/dist/css/dx-analytics.softblue.css +2 -2
- package/dist/css/dx-querybuilder.css +2 -2
- package/dist/js/dx-analytics-core.d.ts +19 -14
- package/dist/js/dx-analytics-core.js +1174 -1137
- package/dist/js/dx-analytics-core.min.js +3 -3
- package/dist/js/dx-querybuilder.js +2 -2
- package/dist/js/dx-querybuilder.min.js +2 -2
- package/dx-analytics-core-bindings.d.ts +2 -2
- package/dx-analytics-core-bindings.js +2 -2
- package/dx-analytics-core-imports.d.ts +2 -2
- package/dx-analytics-core-imports.js +2 -2
- package/dx-analytics-core-svg-bindings.d.ts +2 -2
- package/dx-analytics-core-svg-bindings.js +2 -2
- package/dx-analytics-core-svg-templates.d.ts +2 -2
- package/dx-analytics-core-svg-templates.js +2 -2
- package/dx-analytics-core-templates.d.ts +2 -2
- package/dx-analytics-core-templates.js +2 -2
- package/dx-analytics-core.d.ts +2 -2
- package/dx-analytics-core.js +2 -2
- package/dx-query-builder-bindings.d.ts +2 -2
- package/dx-query-builder-bindings.js +2 -2
- package/dx-query-builder-templates.d.ts +2 -2
- package/dx-query-builder-templates.js +2 -2
- package/dx-querybuilder-imports.d.ts +2 -2
- package/dx-querybuilder-imports.js +2 -2
- package/dx-querybuilder.d.ts +2 -2
- package/dx-querybuilder.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/less/dx-material.fix-style.less +5 -5
- package/package.json +2 -2
- package/property-grid/_legacy.d.ts +2 -2
- package/property-grid/_legacy.js +2 -2
- package/property-grid/_propertiesAccessibilityProvider.d.ts +2 -2
- package/property-grid/_propertiesAccessibilityProvider.js +2 -2
- package/property-grid/bindings.accordion.d.ts +2 -2
- package/property-grid/bindings.accordion.js +2 -2
- package/property-grid/bindings.d.ts +2 -2
- package/property-grid/bindings.js +2 -2
- package/property-grid/internal/_addon.d.ts +2 -2
- package/property-grid/internal/_addon.js +2 -2
- package/property-grid/internal/_codeResolver.d.ts +2 -2
- package/property-grid/internal/_codeResolver.js +2 -2
- package/property-grid/internal/_popupService.d.ts +2 -2
- package/property-grid/internal/_popupService.js +2 -2
- package/property-grid/localization/_localization.d.ts +2 -2
- package/property-grid/localization/_localization.js +2 -2
- package/property-grid/localization/_localizationStringIds.d.ts +2 -2
- package/property-grid/localization/_localizationStringIds.js +2 -2
- package/property-grid/localization/localization.d.ts +2 -2
- package/property-grid/localization/localization.js +2 -2
- package/property-grid/localization/localization_utils.d.ts +2 -2
- package/property-grid/localization/localization_utils.js +2 -2
- package/property-grid/propertygrid.d.ts +2 -2
- package/property-grid/propertygrid.js +2 -2
- package/property-grid/widgets/bindingsCacheUtils.d.ts +2 -2
- package/property-grid/widgets/bindingsCacheUtils.js +2 -2
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_bindings.js +2 -2
- package/property-grid/widgets/collectioneditor/_editor.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_editor.js +2 -2
- package/property-grid/widgets/collectioneditor/_ko_model.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_ko_model.js +2 -2
- package/property-grid/widgets/editor.d.ts +2 -2
- package/property-grid/widgets/editor.js +2 -2
- package/property-grid/widgets/editor.viewmodel.d.ts +2 -2
- package/property-grid/widgets/editor.viewmodel.js +2 -2
- package/property-grid/widgets/editorValidator.d.ts +2 -2
- package/property-grid/widgets/editorValidator.js +2 -2
- package/property-grid/widgets/editorsInfo.d.ts +2 -2
- package/property-grid/widgets/editorsInfo.js +2 -2
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +11 -11
- package/property-grid/widgets/ellipsiseditor/_editor.js +39 -14
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +2 -2
- package/property-grid/widgets/fileimageeditor/_editor.js +2 -2
- package/property-grid/widgets/fonteditor/_fonts.d.ts +2 -2
- package/property-grid/widgets/fonteditor/_fonts.js +2 -2
- package/property-grid/widgets/fonteditor/_model.d.ts +2 -2
- package/property-grid/widgets/fonteditor/_model.js +2 -2
- package/property-grid/widgets/fonteditor/editor.d.ts +2 -2
- package/property-grid/widgets/fonteditor/editor.js +2 -2
- package/property-grid/widgets/fonteditor/metadata.d.ts +2 -2
- package/property-grid/widgets/fonteditor/metadata.js +2 -2
- package/property-grid/widgets/guideditor.d.ts +2 -2
- package/property-grid/widgets/guideditor.js +2 -2
- package/property-grid/widgets/internal/_bindingsCache.d.ts +2 -2
- package/property-grid/widgets/internal/_bindingsCache.js +2 -2
- package/property-grid/widgets/internal/_bindingsCache.ko.d.ts +2 -2
- package/property-grid/widgets/internal/_bindingsCache.ko.js +2 -2
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +2 -2
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +2 -2
- package/property-grid/widgets/internal/_internal.d.ts +2 -2
- package/property-grid/widgets/internal/_internal.js +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.js +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.ko.d.ts +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.ko.js +2 -2
- package/property-grid/widgets/internal/_utils.d.ts +2 -2
- package/property-grid/widgets/internal/_utils.js +2 -2
- package/property-grid/widgets/registerBaseEdtior.d.ts +2 -2
- package/property-grid/widgets/registerBaseEdtior.js +2 -2
- package/property-grid/widgets/registerBaseEdtior.native.d.ts +2 -2
- package/property-grid/widgets/registerBaseEdtior.native.js +2 -2
- package/property-grid/widgets/templateUtils.d.ts +2 -2
- package/property-grid/widgets/templateUtils.js +2 -2
- package/query-builder/_accordionTabInfo.d.ts +2 -2
- package/query-builder/_accordionTabInfo.js +2 -2
- package/query-builder/_bindings.d.ts +2 -2
- package/query-builder/_bindings.js +2 -2
- package/query-builder/_initializer.d.ts +2 -2
- package/query-builder/_initializer.js +2 -2
- package/query-builder/_legacy.d.ts +2 -2
- package/query-builder/_legacy.js +2 -2
- package/query-builder/_queryBuilderModel.d.ts +2 -2
- package/query-builder/_queryBuilderModel.js +2 -2
- package/query-builder/binding/eventGenerator.d.ts +2 -2
- package/query-builder/binding/eventGenerator.js +2 -2
- package/query-builder/binding/jsQueryBuilder.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilder.js +2 -2
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilderBinding.js +2 -2
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +2 -2
- package/query-builder/dataSource/_dbSchema.d.ts +2 -2
- package/query-builder/dataSource/_dbSchema.js +2 -2
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/_dbSchemaProvider.js +2 -2
- package/query-builder/dataSource/_utils.d.ts +2 -2
- package/query-builder/dataSource/_utils.js +2 -2
- package/query-builder/dataSource/dataSourceParameter.d.ts +2 -2
- package/query-builder/dataSource/dataSourceParameter.js +2 -2
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +2 -2
- package/query-builder/dataSource/dataSourceParameterMeta.js +2 -2
- package/query-builder/dataSource/dbColumn.d.ts +2 -2
- package/query-builder/dataSource/dbColumn.js +2 -2
- package/query-builder/dataSource/dbForeignKey.d.ts +2 -2
- package/query-builder/dataSource/dbForeignKey.js +2 -2
- package/query-builder/dataSource/dbSchema.d.ts +2 -2
- package/query-builder/dataSource/dbSchema.js +2 -2
- package/query-builder/dataSource/dbSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/dbSchemaProvider.js +2 -2
- package/query-builder/dataSource/dbStoredProcedure.d.ts +2 -2
- package/query-builder/dataSource/dbStoredProcedure.js +2 -2
- package/query-builder/dataSource/dbTable.d.ts +2 -2
- package/query-builder/dataSource/dbTable.js +2 -2
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.d.ts +2 -2
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/subNode.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueriesContainer.js +2 -2
- package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueryExpression.js +2 -2
- package/query-builder/dataSource/federation/federationDataSource.d.ts +2 -2
- package/query-builder/dataSource/federation/federationDataSource.js +2 -2
- package/query-builder/dataSource/federation/federationDataSourceMeta.d.ts +2 -2
- package/query-builder/dataSource/federation/federationDataSourceMeta.js +2 -2
- package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +2 -2
- package/query-builder/dataSource/federation/federationMasterDetailRelation.js +2 -2
- package/query-builder/dataSource/federation/federationSerializableModel.d.ts +2 -2
- package/query-builder/dataSource/federation/federationSerializableModel.js +2 -2
- package/query-builder/dataSource/federation/federationSource.d.ts +2 -2
- package/query-builder/dataSource/federation/federationSource.js +2 -2
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +2 -2
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +2 -2
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +2 -2
- package/query-builder/dataSource/json/jsonDataSource.d.ts +2 -2
- package/query-builder/dataSource/json/jsonDataSource.js +2 -2
- package/query-builder/dataSource/json/jsonParameter.d.ts +2 -2
- package/query-builder/dataSource/json/jsonParameter.js +2 -2
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSchemaNode.js +2 -2
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSchemaProvider.js +2 -2
- package/query-builder/dataSource/json/jsonSource.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSource.js +2 -2
- package/query-builder/dataSource/object/objectDataSource.d.ts +2 -2
- package/query-builder/dataSource/object/objectDataSource.js +2 -2
- package/query-builder/dataSource/object/objectSchema.d.ts +2 -2
- package/query-builder/dataSource/object/objectSchema.js +2 -2
- package/query-builder/dataSource/resultSet.d.ts +2 -2
- package/query-builder/dataSource/resultSet.js +2 -2
- package/query-builder/dataSource/resultTable.d.ts +2 -2
- package/query-builder/dataSource/resultTable.js +2 -2
- package/query-builder/dataSource/sql/connectionOptions.d.ts +2 -2
- package/query-builder/dataSource/sql/connectionOptions.js +2 -2
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/customSqlQuery.js +2 -2
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +2 -2
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +2 -2
- package/query-builder/dataSource/sql/masterDetailRelation.js +2 -2
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +2 -2
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +2 -2
- package/query-builder/dataSource/sql/sqlDataConnection.js +2 -2
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +2 -2
- package/query-builder/dataSource/sql/sqlDataSource.js +2 -2
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/storedProcQuery.js +2 -2
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +2 -2
- package/query-builder/dataSource/sql/tableQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/tableQuery.js +2 -2
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/tableQueryMeta.js +2 -2
- package/query-builder/dataSource/utils.d.ts +2 -2
- package/query-builder/dataSource/utils.js +2 -2
- package/query-builder/dragDrop/_columnDragHandler.d.ts +2 -2
- package/query-builder/dragDrop/_columnDragHandler.js +2 -2
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +2 -2
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +2 -2
- package/query-builder/elements/_federationColumnModel.d.ts +2 -2
- package/query-builder/elements/_federationColumnModel.js +2 -2
- package/query-builder/elements/_federationQueryModel.d.ts +2 -2
- package/query-builder/elements/_federationQueryModel.js +2 -2
- package/query-builder/elements/allColumnsModel.d.ts +2 -2
- package/query-builder/elements/allColumnsModel.js +2 -2
- package/query-builder/elements/allColumnsModelMeta.d.ts +2 -2
- package/query-builder/elements/allColumnsModelMeta.js +2 -2
- package/query-builder/elements/allColumnsSurface.d.ts +2 -2
- package/query-builder/elements/allColumnsSurface.js +2 -2
- package/query-builder/elements/columnExpression.d.ts +2 -2
- package/query-builder/elements/columnExpression.js +2 -2
- package/query-builder/elements/columnExpressionMeta.d.ts +2 -2
- package/query-builder/elements/columnExpressionMeta.js +2 -2
- package/query-builder/elements/columnModel.d.ts +2 -2
- package/query-builder/elements/columnModel.js +2 -2
- package/query-builder/elements/columnModelMeta.d.ts +2 -2
- package/query-builder/elements/columnModelMeta.js +2 -2
- package/query-builder/elements/columnSurface.d.ts +2 -2
- package/query-builder/elements/columnSurface.js +2 -2
- package/query-builder/elements/joinConditionModel.d.ts +2 -2
- package/query-builder/elements/joinConditionModel.js +2 -2
- package/query-builder/elements/joinConditionModelMeta.d.ts +2 -2
- package/query-builder/elements/joinConditionModelMeta.js +2 -2
- package/query-builder/elements/joinConditionSurface.d.ts +2 -2
- package/query-builder/elements/joinConditionSurface.js +2 -2
- package/query-builder/elements/parameterModel.d.ts +2 -2
- package/query-builder/elements/parameterModel.js +2 -2
- package/query-builder/elements/parameterModelMeta.d.ts +2 -2
- package/query-builder/elements/parameterModelMeta.js +2 -2
- package/query-builder/elements/queryElementModel.d.ts +2 -2
- package/query-builder/elements/queryElementModel.js +2 -2
- package/query-builder/elements/queryElementSurface.d.ts +2 -2
- package/query-builder/elements/queryElementSurface.js +2 -2
- package/query-builder/elements/queryModel.d.ts +2 -2
- package/query-builder/elements/queryModel.js +2 -2
- package/query-builder/elements/queryModelMeta.d.ts +2 -2
- package/query-builder/elements/queryModelMeta.js +2 -2
- package/query-builder/elements/querySurface.d.ts +2 -2
- package/query-builder/elements/querySurface.js +2 -2
- package/query-builder/elements/relationModel.d.ts +2 -2
- package/query-builder/elements/relationModel.js +2 -2
- package/query-builder/elements/relationModelMeta.d.ts +2 -2
- package/query-builder/elements/relationModelMeta.js +2 -2
- package/query-builder/elements/relationSurface.d.ts +2 -2
- package/query-builder/elements/relationSurface.js +2 -2
- package/query-builder/elements/tableModel.d.ts +2 -2
- package/query-builder/elements/tableModel.js +2 -2
- package/query-builder/elements/tableModelMeta.d.ts +2 -2
- package/query-builder/elements/tableModelMeta.js +2 -2
- package/query-builder/elements/tableSurface.d.ts +2 -2
- package/query-builder/elements/tableSurface.js +2 -2
- package/query-builder/initializer.d.ts +2 -2
- package/query-builder/initializer.js +2 -2
- package/query-builder/metadata.d.ts +2 -2
- package/query-builder/metadata.js +2 -2
- package/query-builder/utils/_callbacks.d.ts +2 -2
- package/query-builder/utils/_callbacks.js +2 -2
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +2 -2
- package/query-builder/utils/_columnExpressionCollectionHelper.js +2 -2
- package/query-builder/utils/_controlsFactory.d.ts +2 -2
- package/query-builder/utils/_controlsFactory.js +2 -2
- package/query-builder/utils/_dataConnection.d.ts +2 -2
- package/query-builder/utils/_dataConnection.js +2 -2
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +2 -2
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.js +2 -2
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +2 -2
- package/query-builder/utils/_queryBuilderTreeListController.js +2 -2
- package/query-builder/utils/_requestwrapper.d.ts +2 -2
- package/query-builder/utils/_requestwrapper.js +2 -2
- package/query-builder/utils/controlsFactory.d.ts +2 -2
- package/query-builder/utils/controlsFactory.js +2 -2
- package/query-builder/utils/publicCallbacks.d.ts +2 -2
- package/query-builder/utils/publicCallbacks.js +2 -2
- package/query-builder/utils/requestwrapper.d.ts +2 -2
- package/query-builder/utils/requestwrapper.js +2 -2
- package/query-builder/widgets/_federatedQueriesHelper.d.ts +2 -2
- package/query-builder/widgets/_federatedQueriesHelper.js +2 -2
- package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +2 -2
- package/query-builder/widgets/_manageFederatedQueriesEditor.js +2 -2
- package/query-builder/widgets/_rightPanelSwitcher.d.ts +2 -2
- package/query-builder/widgets/_rightPanelSwitcher.js +2 -2
- package/query-builder/widgets/_undoEditor.d.ts +2 -2
- package/query-builder/widgets/_undoEditor.js +2 -2
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +2 -2
- package/query-builder/widgets/ace/_ace-mode-sql.js +2 -2
- package/query-builder/widgets/ace/_options.d.ts +2 -2
- package/query-builder/widgets/ace/_options.js +2 -2
- package/query-builder/widgets/editorTemplates.d.ts +2 -2
- package/query-builder/widgets/editorTemplates.js +2 -2
- package/query-builder/widgets/expressionFunctions.d.ts +2 -2
- package/query-builder/widgets/expressionFunctions.js +2 -2
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +2 -2
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +2 -2
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +2 -2
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +2 -2
- package/query-builder/widgets/registerEditorTemplates.d.ts +2 -2
- package/query-builder/widgets/registerEditorTemplates.js +2 -2
- package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +2 -2
- package/query-builder/wizard/chooseAvailableDataSourcePage.js +2 -2
- package/query-builder/wizard/chooseAvailablePage.d.ts +2 -2
- package/query-builder/wizard/chooseAvailablePage.js +2 -2
- package/query-builder/wizard/dataSourceWizard.d.ts +2 -2
- package/query-builder/wizard/dataSourceWizard.js +2 -2
- package/query-builder/wizard/dataSourceWizardState.d.ts +2 -2
- package/query-builder/wizard/dataSourceWizardState.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +2 -2
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +2 -2
- package/query-builder/wizard/internal/_configureParametersUtils.js +2 -2
- package/query-builder/wizard/internal/_constants.d.ts +2 -2
- package/query-builder/wizard/internal/_constants.js +2 -2
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +2 -2
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +2 -2
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +2 -2
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +2 -2
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonSourceSettings.js +2 -2
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +2 -2
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/_queryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +2 -2
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +2 -2
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +2 -2
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +2 -2
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +2 -2
- package/query-builder/wizard/internal/_treeListNode.d.ts +2 -2
- package/query-builder/wizard/internal/_treeListNode.js +2 -2
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +2 -2
- package/query-builder/wizard/internal/_utils.d.ts +2 -2
- package/query-builder/wizard/internal/_utils.js +2 -2
- package/query-builder/wizard/internal/_wizardAction.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardAction.js +2 -2
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardPageProcessor.js +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +2 -2
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +2 -2
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/initializer.d.ts +2 -2
- package/query-builder/wizard/internal/initializer.js +2 -2
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +2 -2
- package/query-builder/wizard/internal/jsonSourceSettings.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +2 -2
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +2 -2
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +2 -2
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +2 -2
- package/query-builder/wizard/multiQueryDataSourceWizard.js +2 -2
- package/query-builder/wizard/pageFactory.d.ts +2 -2
- package/query-builder/wizard/pageFactory.js +2 -2
- package/query-builder/wizard/pageId.d.ts +2 -2
- package/query-builder/wizard/pageId.js +2 -2
- package/query-builder/wizard/pageIterator.d.ts +2 -2
- package/query-builder/wizard/pageIterator.js +2 -2
- package/query-builder/wizard/pages/IWizardPage.d.ts +2 -2
- package/query-builder/wizard/pages/IWizardPage.js +2 -2
- package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +2 -2
- package/query-builder/wizard/pages/__wrappedWizardPage.js +2 -2
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +2 -2
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +2 -2
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +2 -2
- package/query-builder/wizard/pages/wizardPageBase.d.ts +2 -2
- package/query-builder/wizard/pages/wizardPageBase.js +2 -2
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +2 -2
- package/query-builder/wizard/pages/wizardPageMetadata.js +2 -2
- package/query-builder/wizard/popupWizard.d.ts +2 -2
- package/query-builder/wizard/popupWizard.js +2 -2
- package/query-builder/wizard/settings.d.ts +2 -2
- package/query-builder/wizard/settings.js +2 -2
- package/query-builder/wizard/stateManager.d.ts +2 -2
- package/query-builder/wizard/stateManager.js +2 -2
- package/query-builder/wizard/wizard.d.ts +2 -2
- package/query-builder/wizard/wizard.js +2 -2
- package/query-builder/wizard/wizardEventManager.d.ts +2 -2
- package/query-builder/wizard/wizardEventManager.js +2 -2
- package/queryBuilder-elements-metadata.d.ts +2 -2
- package/queryBuilder-elements-metadata.js +2 -2
- package/queryBuilder-elements.d.ts +2 -2
- package/queryBuilder-elements.js +2 -2
- package/queryBuilder-internal.d.ts +2 -2
- package/queryBuilder-internal.js +2 -2
- package/queryBuilder-metadata.d.ts +2 -2
- package/queryBuilder-metadata.js +2 -2
- package/queryBuilder-utils.d.ts +2 -2
- package/queryBuilder-utils.js +2 -2
- package/queryBuilder-widgets-internal.d.ts +2 -2
- package/queryBuilder-widgets-internal.js +2 -2
- package/queryBuilder-widgets.d.ts +2 -2
- package/queryBuilder-widgets.js +2 -2
- package/querybuilder.d.ts +2 -2
- package/querybuilder.js +2 -2
- package/serializer/_date.utiles.d.ts +2 -2
- package/serializer/_date.utiles.js +2 -2
- package/serializer/_internal.d.ts +2 -2
- package/serializer/_internal.js +2 -2
- package/serializer/_legacy.d.ts +2 -2
- package/serializer/_legacy.js +2 -2
- package/serializer/_utils.d.ts +2 -2
- package/serializer/_utils.js +2 -2
- package/serializer/disposable.d.ts +2 -2
- package/serializer/disposable.js +2 -2
- package/serializer/eventManager.d.ts +2 -2
- package/serializer/eventManager.js +2 -2
- package/serializer/native/deserialization.utils.d.ts +2 -2
- package/serializer/native/deserialization.utils.js +2 -2
- package/serializer/native/deserializationEngine.d.ts +2 -2
- package/serializer/native/deserializationEngine.js +2 -2
- package/serializer/native/deserializationEngine.updateViewModel.d.ts +2 -2
- package/serializer/native/deserializationEngine.updateViewModel.js +2 -2
- package/serializer/native/models/base.model.d.ts +2 -2
- package/serializer/native/models/base.model.js +2 -2
- package/serializer/native/models/interfaces.model.d.ts +2 -2
- package/serializer/native/models/interfaces.model.js +2 -2
- package/serializer/native/models/modelAccessor.d.ts +2 -2
- package/serializer/native/models/modelAccessor.js +2 -2
- package/serializer/native/multiplatformEngine.d.ts +2 -2
- package/serializer/native/multiplatformEngine.js +2 -2
- package/serializer/native/serializer.d.ts +2 -2
- package/serializer/native/serializer.js +2 -2
- package/serializer/native/templatesEngineTyping.d.ts +2 -2
- package/serializer/native/templatesEngineTyping.js +2 -2
- package/serializer/native/viewModels/viewModelGenerator.d.ts +2 -2
- package/serializer/native/viewModels/viewModelGenerator.js +2 -2
- package/serializer/propertyChangedEvents.d.ts +2 -2
- package/serializer/propertyChangedEvents.js +2 -2
- package/serializer/serializationInfo.d.ts +2 -2
- package/serializer/serializationInfo.js +2 -2
- package/serializer/serializer.d.ts +2 -2
- package/serializer/serializer.js +2 -2
- package/serializer/utils.d.ts +2 -2
- package/serializer/utils.js +2 -2
- package/undo-engine/_legacy.d.ts +2 -2
- package/undo-engine/_legacy.js +2 -2
- package/undo-engine/_propertiesVisitor.d.ts +2 -2
- package/undo-engine/_propertiesVisitor.js +2 -2
- package/undo-engine/_utils.d.ts +2 -2
- package/undo-engine/_utils.js +2 -2
- package/undo-engine/undoengine.d.ts +2 -2
- package/undo-engine/undoengine.js +2 -2
- package/widgets/_legacy.d.ts +2 -2
- package/widgets/_legacy.js +2 -2
- package/widgets/_searchHighlighting.binding.d.ts +2 -2
- package/widgets/_searchHighlighting.binding.js +2 -2
- package/widgets/_searchHighlighting.d.ts +2 -2
- package/widgets/_searchHighlighting.js +2 -2
- package/widgets/_utils.d.ts +2 -2
- package/widgets/_utils.js +2 -2
- package/widgets/ace/_ace-available.d.ts +2 -2
- package/widgets/ace/_ace-available.js +2 -2
- package/widgets/ace/_ace-mode-criteria.d.ts +2 -2
- package/widgets/ace/_ace-mode-criteria.js +2 -2
- package/widgets/ace/_ace-mode-doc-comment.d.ts +2 -2
- package/widgets/ace/_ace-mode-doc-comment.js +2 -2
- package/widgets/ace/_ace_theme.d.ts +2 -2
- package/widgets/ace/_ace_theme.js +2 -2
- package/widgets/ace/_binding.d.ts +2 -2
- package/widgets/ace/_binding.js +2 -2
- package/widgets/bindings.d.ts +2 -2
- package/widgets/bindings.js +2 -2
- package/widgets/common/_codeCompletor.d.ts +2 -2
- package/widgets/common/_codeCompletor.js +2 -2
- package/widgets/common/_displayNameProvider.d.ts +2 -2
- package/widgets/common/_displayNameProvider.js +2 -2
- package/widgets/common/displayNameProvider.d.ts +2 -2
- package/widgets/common/displayNameProvider.js +2 -2
- package/widgets/common/pathRequest.d.ts +2 -2
- package/widgets/common/pathRequest.js +2 -2
- package/widgets/criteria/operators/aggregate.d.ts +2 -2
- package/widgets/criteria/operators/aggregate.js +2 -2
- package/widgets/criteria/operators/between.d.ts +2 -2
- package/widgets/criteria/operators/between.js +2 -2
- package/widgets/criteria/operators/binary.d.ts +2 -2
- package/widgets/criteria/operators/binary.js +2 -2
- package/widgets/criteria/operators/constant.d.ts +2 -2
- package/widgets/criteria/operators/constant.js +2 -2
- package/widgets/criteria/operators/criteriaOperator.d.ts +2 -2
- package/widgets/criteria/operators/criteriaOperator.js +2 -2
- package/widgets/criteria/operators/function.d.ts +2 -2
- package/widgets/criteria/operators/function.js +2 -2
- package/widgets/criteria/operators/group.d.ts +2 -2
- package/widgets/criteria/operators/group.js +2 -2
- package/widgets/criteria/operators/in.d.ts +2 -2
- package/widgets/criteria/operators/in.js +2 -2
- package/widgets/criteria/operators/join.d.ts +2 -2
- package/widgets/criteria/operators/join.js +2 -2
- package/widgets/criteria/operators/options/aggregate.d.ts +2 -2
- package/widgets/criteria/operators/options/aggregate.js +2 -2
- package/widgets/criteria/operators/options/between.d.ts +2 -2
- package/widgets/criteria/operators/options/between.js +2 -2
- package/widgets/criteria/operators/options/binary.d.ts +2 -2
- package/widgets/criteria/operators/options/binary.js +2 -2
- package/widgets/criteria/operators/options/function.d.ts +2 -2
- package/widgets/criteria/operators/options/function.js +2 -2
- package/widgets/criteria/operators/options/group.d.ts +2 -2
- package/widgets/criteria/operators/options/group.js +2 -2
- package/widgets/criteria/operators/options/in.d.ts +2 -2
- package/widgets/criteria/operators/options/in.js +2 -2
- package/widgets/criteria/operators/options/join.d.ts +2 -2
- package/widgets/criteria/operators/options/join.js +2 -2
- package/widgets/criteria/operators/options/parameter.d.ts +2 -2
- package/widgets/criteria/operators/options/parameter.js +2 -2
- package/widgets/criteria/operators/options/property.d.ts +2 -2
- package/widgets/criteria/operators/options/property.js +2 -2
- package/widgets/criteria/operators/options/unary.d.ts +2 -2
- package/widgets/criteria/operators/options/unary.js +2 -2
- package/widgets/criteria/operators/options/value.d.ts +2 -2
- package/widgets/criteria/operators/options/value.js +2 -2
- package/widgets/criteria/operators/parameter.d.ts +2 -2
- package/widgets/criteria/operators/parameter.js +2 -2
- package/widgets/criteria/operators/property.d.ts +2 -2
- package/widgets/criteria/operators/property.js +2 -2
- package/widgets/criteria/operators/unary.d.ts +2 -2
- package/widgets/criteria/operators/unary.js +2 -2
- package/widgets/criteria/operators/value.d.ts +2 -2
- package/widgets/criteria/operators/value.js +2 -2
- package/widgets/criteria/parser/criteriaparser.d.ts +2 -2
- package/widgets/criteria/parser/criteriaparser.js +2 -2
- package/widgets/criteria/utils/criteriaChangeOperator.d.ts +2 -2
- package/widgets/criteria/utils/criteriaChangeOperator.js +2 -2
- package/widgets/criteria/utils/criteriaEnumeration.d.ts +2 -2
- package/widgets/criteria/utils/criteriaEnumeration.js +2 -2
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.d.ts +2 -2
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.js +2 -2
- package/widgets/criteria/utils/criteriaOperatorStateMachine.d.ts +2 -2
- package/widgets/criteria/utils/criteriaOperatorStateMachine.js +2 -2
- package/widgets/criteria/utils/criteriaOperatorVisitor.d.ts +2 -2
- package/widgets/criteria/utils/criteriaOperatorVisitor.js +2 -2
- package/widgets/criteria/utils/criteriaProcessType.d.ts +2 -2
- package/widgets/criteria/utils/criteriaProcessType.js +2 -2
- package/widgets/criteria/utils/operatorTokens.d.ts +2 -2
- package/widgets/criteria/utils/operatorTokens.js +2 -2
- package/widgets/criteria/utils/propertyLocation.d.ts +2 -2
- package/widgets/criteria/utils/propertyLocation.js +2 -2
- package/widgets/expressioneditor/_expressioneditor.d.ts +2 -2
- package/widgets/expressioneditor/_expressioneditor.js +2 -2
- package/widgets/expressioneditor/bindings.d.ts +2 -2
- package/widgets/expressioneditor/bindings.js +2 -2
- package/widgets/expressioneditor/expressioneditor.d.ts +2 -2
- package/widgets/expressioneditor/expressioneditor.js +2 -2
- package/widgets/expressioneditor/tools/_functions.d.ts +2 -2
- package/widgets/expressioneditor/tools/_functions.js +2 -2
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +2 -2
- package/widgets/expressioneditor/tools/_operatorNames.js +2 -2
- package/widgets/expressioneditor/tools/_tools.d.ts +2 -2
- package/widgets/expressioneditor/tools/_tools.js +2 -2
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +2 -2
- package/widgets/expressioneditor/tools/_treeListControllers.js +2 -2
- package/widgets/filtereditor/filtereditor.d.ts +2 -2
- package/widgets/filtereditor/filtereditor.js +2 -2
- package/widgets/filtereditor/filtereditoroptions.d.ts +2 -2
- package/widgets/filtereditor/filtereditoroptions.js +2 -2
- package/widgets/filtereditor/helpers/_addon.d.ts +2 -2
- package/widgets/filtereditor/helpers/_addon.js +2 -2
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +2 -2
- package/widgets/filtereditor/helpers/_codeCompletor.js +2 -2
- package/widgets/filtereditor/helpers/_helper.d.ts +2 -2
- package/widgets/filtereditor/helpers/_helper.js +2 -2
- package/widgets/filtereditor/helpers/_serializer.d.ts +2 -2
- package/widgets/filtereditor/helpers/_serializer.js +2 -2
- package/widgets/filtereditor/helpers/_treelistController.d.ts +2 -2
- package/widgets/filtereditor/helpers/_treelistController.js +2 -2
- package/widgets/filtereditor/helpers/_validator.d.ts +2 -2
- package/widgets/filtereditor/helpers/_validator.js +2 -2
- package/widgets/filtereditor/helpers/helper.d.ts +2 -2
- package/widgets/filtereditor/helpers/helper.js +2 -2
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/betweenOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/binaryOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +2 -2
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/functionOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/groupOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/inOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/operandParameterSurface.js +2 -2
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +2 -2
- package/widgets/filtereditor/operators/operandPropertySurface.js +2 -2
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +2 -2
- package/widgets/filtereditor/operators/operandSurfaceBase.js +2 -2
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/operandValueSurface.js +2 -2
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/unaryOperandSurface.js +2 -2
- package/widgets/formatstring/_patterns.d.ts +2 -2
- package/widgets/formatstring/_patterns.js +2 -2
- package/widgets/formatstring/binding.d.ts +2 -2
- package/widgets/formatstring/binding.js +2 -2
- package/widgets/formatstring/formatstringeditor.d.ts +2 -2
- package/widgets/formatstring/formatstringeditor.js +2 -2
- package/widgets/internal/_popupComponentBase.d.ts +2 -2
- package/widgets/internal/_popupComponentBase.js +2 -2
- package/widgets/internal/_popupwithautoheight.d.ts +2 -2
- package/widgets/internal/_popupwithautoheight.js +2 -2
- package/widgets/internal/_resizeHelper.d.ts +2 -2
- package/widgets/internal/_resizeHelper.js +2 -2
- package/widgets/internal/_valueEditorHelper.d.ts +2 -2
- package/widgets/internal/_valueEditorHelper.js +2 -2
- package/widgets/treelist/_binding.d.ts +2 -2
- package/widgets/treelist/_binding.js +2 -2
- package/widgets/treelist/_ko_binging.d.ts +2 -2
- package/widgets/treelist/_ko_binging.js +2 -2
- package/widgets/treelist/_ko_treelistUtils.d.ts +2 -2
- package/widgets/treelist/_ko_treelistUtils.js +2 -2
- package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +2 -2
- package/widgets/treelist/_reorderTreeListDragDropHelper.js +2 -2
- package/widgets/treelist/_treeListSearchOptions.d.ts +2 -2
- package/widgets/treelist/_treeListSearchOptions.js +2 -2
- package/widgets/treelist/_treeListSearchViewModel.d.ts +2 -2
- package/widgets/treelist/_treeListSearchViewModel.js +2 -2
- package/widgets/treelist/_treelistController.d.ts +2 -2
- package/widgets/treelist/_treelistController.js +2 -2
- package/widgets/treelist/_treelistItem.d.ts +2 -2
- package/widgets/treelist/_treelistItem.js +2 -2
- package/widgets/treelist/_treelistItem.viewModel.d.ts +2 -2
- package/widgets/treelist/_treelistItem.viewModel.js +2 -2
- package/widgets/treelist/options.d.ts +2 -2
- package/widgets/treelist/options.js +2 -2
- package/widgets/utils.d.ts +2 -2
- package/widgets/utils.js +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (dist\js\dx-analytics-core.js)
|
|
3
|
-
* Version: 23.2.5
|
|
4
|
-
* Build date: Mar
|
|
3
|
+
* Version: 23.2.5
|
|
4
|
+
* Build date: Mar 12, 2024
|
|
5
5
|
* Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
@@ -100,10 +100,12 @@ __webpack_require__.d(analytics_internal_namespaceObject, {
|
|
|
100
100
|
ExpressionType: () => (ExpressionType),
|
|
101
101
|
FetchRequestManager: () => (FetchRequestManager),
|
|
102
102
|
FieldListProvider: () => (FieldListProvider),
|
|
103
|
+
GetWindowKeyDownHandlersManager: () => (GetWindowKeyDownHandlersManager),
|
|
103
104
|
Globalize: () => (Globalize),
|
|
104
105
|
Group: () => (Group),
|
|
105
106
|
HighlightEngine: () => (HighlightEngine),
|
|
106
107
|
HoverInfo: () => (HoverInfo),
|
|
108
|
+
InitButtonWithTemplate: () => (InitButtonWithTemplate),
|
|
107
109
|
InlineTextEdit: () => (InlineTextEdit),
|
|
108
110
|
IsDataAccessExpression: () => (IsDataAccessExpression),
|
|
109
111
|
JSDesignerBindingCommon: () => (JSDesignerBindingCommon),
|
|
@@ -613,197 +615,92 @@ __webpack_require__.d(analytics_widgets_ace_namespaceObject, {
|
|
|
613
615
|
|
|
614
616
|
;// CONCATENATED MODULE: external "jQuery"
|
|
615
617
|
const external_jQuery_namespaceObject = jQuery;
|
|
616
|
-
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
model['updateViewModel'](args);
|
|
618
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/disposable.js
|
|
619
|
+
class Disposable {
|
|
620
|
+
constructor() {
|
|
621
|
+
this._disposables = [];
|
|
622
|
+
this.isDisposing = false;
|
|
623
|
+
}
|
|
624
|
+
disposeObservableArray(array) {
|
|
625
|
+
if (array) {
|
|
626
|
+
array().forEach((item) => { item.dispose && item.dispose(); });
|
|
626
627
|
}
|
|
627
628
|
}
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
model[chunksDictionaryName][args.propertyName]
|
|
637
|
-
: [];
|
|
638
|
-
model[chunksDictionaryName][args.propertyName] = [...chunks, args];
|
|
629
|
+
resetObservableArray(array) {
|
|
630
|
+
if (array)
|
|
631
|
+
array([]);
|
|
632
|
+
}
|
|
633
|
+
disposeArray(array) {
|
|
634
|
+
if (array) {
|
|
635
|
+
array.forEach((item) => { item.dispose && item.dispose(); });
|
|
636
|
+
array.splice(0, array.length);
|
|
639
637
|
}
|
|
640
|
-
|
|
641
|
-
|
|
638
|
+
}
|
|
639
|
+
addDisposable(...disposables) {
|
|
640
|
+
this._disposables.push(...disposables.map(x => {
|
|
641
|
+
if (!x)
|
|
642
|
+
return x;
|
|
643
|
+
if ('dispose' in x)
|
|
644
|
+
return x;
|
|
645
|
+
else {
|
|
646
|
+
return { dispose: x };
|
|
647
|
+
}
|
|
648
|
+
}));
|
|
649
|
+
}
|
|
650
|
+
dispose() {
|
|
651
|
+
if (!this.isDisposing) {
|
|
652
|
+
this.isDisposing = true;
|
|
653
|
+
(this._disposables || []).reverse().forEach(x => x && x.dispose && x.dispose());
|
|
654
|
+
this._disposables = [];
|
|
642
655
|
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
chunk.forEach((args) => model['updateViewModel'](args));
|
|
648
|
-
}
|
|
649
|
-
else {
|
|
650
|
-
model['updateViewModel'](chunk);
|
|
651
|
-
}
|
|
652
|
-
});
|
|
653
|
-
model[chunksDictionaryName] = {};
|
|
656
|
+
}
|
|
657
|
+
removeProperties() {
|
|
658
|
+
Object.keys(this).forEach((propertyName) => {
|
|
659
|
+
delete this[propertyName];
|
|
654
660
|
});
|
|
655
661
|
}
|
|
656
662
|
}
|
|
657
663
|
|
|
658
|
-
;// CONCATENATED MODULE:
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
664
|
+
;// CONCATENATED MODULE: external "DevExpress.localization"
|
|
665
|
+
const external_DevExpress_localization_namespaceObject = DevExpress.localization;
|
|
666
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/_date.utiles.js
|
|
667
|
+
function toStringWithDelimiter(values, delimiter) {
|
|
668
|
+
return (values || []).map(value => {
|
|
669
|
+
let str = value !== undefined && value !== null ? value.toString() : '00';
|
|
670
|
+
if (str.length === 1) {
|
|
671
|
+
str = '0' + str;
|
|
672
|
+
}
|
|
673
|
+
return str;
|
|
674
|
+
}).join(delimiter);
|
|
665
675
|
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
return (...items) => {
|
|
673
|
-
const currentLength = array.length;
|
|
674
|
-
const result = Array.prototype.push.call(array, ...items);
|
|
675
|
-
callback({
|
|
676
|
-
operation: 'push',
|
|
677
|
-
added: items.map((x, index) => ({
|
|
678
|
-
item: x,
|
|
679
|
-
index: currentLength + index
|
|
680
|
-
})),
|
|
681
|
-
removed: [],
|
|
682
|
-
newValue: array
|
|
683
|
-
});
|
|
684
|
-
return result;
|
|
685
|
-
};
|
|
686
|
-
}
|
|
687
|
-
});
|
|
688
|
-
},
|
|
689
|
-
'splice': (array, callback) => {
|
|
690
|
-
Object.defineProperty(array, 'splice', {
|
|
691
|
-
enumerable: false,
|
|
692
|
-
configurable: true,
|
|
693
|
-
get: () => {
|
|
694
|
-
return (startIndex, deleteCount, ...items) => {
|
|
695
|
-
const result = Array.prototype.splice.call(array, startIndex, deleteCount, ...items);
|
|
696
|
-
callback({
|
|
697
|
-
operation: 'splice',
|
|
698
|
-
added: items.map((x, index) => ({
|
|
699
|
-
item: x,
|
|
700
|
-
index: startIndex + index
|
|
701
|
-
})),
|
|
702
|
-
removed: result && result.map((x, index) => ({
|
|
703
|
-
item: x,
|
|
704
|
-
index: startIndex + index
|
|
705
|
-
})),
|
|
706
|
-
newValue: array
|
|
707
|
-
});
|
|
708
|
-
return result;
|
|
709
|
-
};
|
|
710
|
-
}
|
|
711
|
-
});
|
|
712
|
-
},
|
|
713
|
-
'pop': (array, callback) => {
|
|
714
|
-
Object.defineProperty(array, 'pop', {
|
|
715
|
-
enumerable: false,
|
|
716
|
-
configurable: true,
|
|
717
|
-
get: () => {
|
|
718
|
-
return () => {
|
|
719
|
-
const currentLength = array.length;
|
|
720
|
-
const result = Array.prototype.pop.call(array);
|
|
721
|
-
callback({
|
|
722
|
-
operation: 'pop',
|
|
723
|
-
added: [],
|
|
724
|
-
removed: [{
|
|
725
|
-
item: result,
|
|
726
|
-
index: currentLength - 1
|
|
727
|
-
}],
|
|
728
|
-
newValue: array
|
|
729
|
-
});
|
|
730
|
-
return result;
|
|
731
|
-
};
|
|
732
|
-
}
|
|
733
|
-
});
|
|
734
|
-
}
|
|
735
|
-
};
|
|
736
|
-
class PropertyDeserializationEngine {
|
|
737
|
-
_defineProperty(model, propertyName, createCurrentValue, onValueChanged = () => void 0, options) {
|
|
738
|
-
let currentValue = createCurrentValue();
|
|
739
|
-
let notifyPromise = null;
|
|
740
|
-
let notifyTimeout = null;
|
|
741
|
-
onValueChanged && onValueChanged(currentValue);
|
|
742
|
-
Object.defineProperty(model, propertyName, {
|
|
743
|
-
configurable: true,
|
|
744
|
-
enumerable: true,
|
|
745
|
-
get: () => {
|
|
746
|
-
return currentValue;
|
|
747
|
-
},
|
|
748
|
-
set: (newValue) => {
|
|
749
|
-
const oldValue = currentValue;
|
|
750
|
-
currentValue = newValue;
|
|
751
|
-
const notifySubscribers = () => {
|
|
752
|
-
const disposabledModel = model;
|
|
753
|
-
if (!disposabledModel.isDisposing && (oldValue !== currentValue || (options === null || options === void 0 ? void 0 : options.notify) === 'always')) {
|
|
754
|
-
const args = {
|
|
755
|
-
propertyName,
|
|
756
|
-
oldValue,
|
|
757
|
-
newValue: currentValue
|
|
758
|
-
};
|
|
759
|
-
onValueChanged && onValueChanged(currentValue);
|
|
760
|
-
notifyPropertyChanged(model, args);
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
if (options === null || options === void 0 ? void 0 : options.deferred) {
|
|
764
|
-
if (!notifyPromise) {
|
|
765
|
-
notifyPromise = Promise.resolve().then(() => {
|
|
766
|
-
notifySubscribers();
|
|
767
|
-
notifyPromise = null;
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
else if (options === null || options === void 0 ? void 0 : options.rateLimit) {
|
|
772
|
-
if (options.rateLimit.method === 'notifyWhenChangesStop') {
|
|
773
|
-
if (notifyTimeout)
|
|
774
|
-
clearTimeout(notifyTimeout);
|
|
775
|
-
}
|
|
776
|
-
else {
|
|
777
|
-
if (notifyTimeout !== null)
|
|
778
|
-
return;
|
|
779
|
-
}
|
|
780
|
-
notifyTimeout = setTimeout(() => {
|
|
781
|
-
notifySubscribers();
|
|
782
|
-
notifyTimeout = null;
|
|
783
|
-
}, options.rateLimit.timeout);
|
|
784
|
-
}
|
|
785
|
-
else {
|
|
786
|
-
notifySubscribers();
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
generateArrayProperty(model, propertyName, value, options) {
|
|
792
|
-
this._defineProperty(model, propertyName, () => value, ((newVal) => {
|
|
793
|
-
if (Array.isArray(newVal))
|
|
794
|
-
for (const name in arrayModificationMapper) {
|
|
795
|
-
arrayModificationMapper[name](newVal, (changes) => {
|
|
796
|
-
const args = Object.assign({ propertyName }, changes);
|
|
797
|
-
notifyPropertyChanged(model, args);
|
|
798
|
-
});
|
|
799
|
-
}
|
|
800
|
-
}), options);
|
|
676
|
+
function serializeDate(date, dateDelimiter) {
|
|
677
|
+
const datePart = [date.getMonth() + 1, date.getDate(), date.getFullYear()];
|
|
678
|
+
const timePart = toStringWithDelimiter([date.getHours(), date.getMinutes(), date.getSeconds()], ':');
|
|
679
|
+
if (dateDelimiter === '-' || timePart === '00:00:00') {
|
|
680
|
+
const datePartString = toStringWithDelimiter([datePart[2], datePart[0], datePart[1]], '-');
|
|
681
|
+
return timePart === '00:00:00' ? datePartString : datePartString + ' ' + timePart;
|
|
801
682
|
}
|
|
802
|
-
|
|
803
|
-
|
|
683
|
+
return timePart === '00:00:00' ? toStringWithDelimiter([datePart[2], datePart[0], datePart[1]], '-')
|
|
684
|
+
: toStringWithDelimiter(datePart, '/') + ' ' + timePart;
|
|
685
|
+
}
|
|
686
|
+
function deserializeDate(dateTime) {
|
|
687
|
+
const dateTimeParts = dateTime.split(' ');
|
|
688
|
+
let dateArgs = dateTimeParts[0].split('-');
|
|
689
|
+
let timeArgs = [0, 0, 0];
|
|
690
|
+
if (dateTimeParts.length > 1) {
|
|
691
|
+
if (dateArgs.length !== 3) {
|
|
692
|
+
dateArgs = dateTimeParts[0].split('/');
|
|
693
|
+
dateArgs.splice(0, 0, dateArgs.splice(2, 1)[0]);
|
|
694
|
+
}
|
|
695
|
+
timeArgs = dateTimeParts[1].split(':').map(x => parseInt(x));
|
|
696
|
+
if (timeArgs.length !== 3)
|
|
697
|
+
return null;
|
|
804
698
|
}
|
|
699
|
+
if (dateArgs.length !== 3)
|
|
700
|
+
return null;
|
|
701
|
+
dateArgs = dateArgs.map(x => parseInt(x));
|
|
702
|
+
return new Date(dateArgs[0], dateArgs[1] - 1, dateArgs[2], timeArgs[0], timeArgs[1], timeArgs[2]);
|
|
805
703
|
}
|
|
806
|
-
const defaultPropertyDeserializatonEngine = new PropertyDeserializationEngine();
|
|
807
704
|
|
|
808
705
|
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/_utils.js
|
|
809
706
|
function isWindow(obj) {
|
|
@@ -883,1063 +780,1174 @@ function assignObj(obj, objectProps) {
|
|
|
883
780
|
return Object.assign(Object.create(Object.getPrototypeOf(obj)), objectProps || obj);
|
|
884
781
|
}
|
|
885
782
|
|
|
886
|
-
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/
|
|
887
|
-
class Disposable {
|
|
888
|
-
constructor() {
|
|
889
|
-
this._disposables = [];
|
|
890
|
-
this.isDisposing = false;
|
|
891
|
-
}
|
|
892
|
-
disposeObservableArray(array) {
|
|
893
|
-
if (array) {
|
|
894
|
-
array().forEach((item) => { item.dispose && item.dispose(); });
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
resetObservableArray(array) {
|
|
898
|
-
if (array)
|
|
899
|
-
array([]);
|
|
900
|
-
}
|
|
901
|
-
disposeArray(array) {
|
|
902
|
-
if (array) {
|
|
903
|
-
array.forEach((item) => { item.dispose && item.dispose(); });
|
|
904
|
-
array.splice(0, array.length);
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
addDisposable(...disposables) {
|
|
908
|
-
this._disposables.push(...disposables.map(x => {
|
|
909
|
-
if (!x)
|
|
910
|
-
return x;
|
|
911
|
-
if ('dispose' in x)
|
|
912
|
-
return x;
|
|
913
|
-
else {
|
|
914
|
-
return { dispose: x };
|
|
915
|
-
}
|
|
916
|
-
}));
|
|
917
|
-
}
|
|
918
|
-
dispose() {
|
|
919
|
-
if (!this.isDisposing) {
|
|
920
|
-
this.isDisposing = true;
|
|
921
|
-
(this._disposables || []).reverse().forEach(x => x && x.dispose && x.dispose());
|
|
922
|
-
this._disposables = [];
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
removeProperties() {
|
|
926
|
-
Object.keys(this).forEach((propertyName) => {
|
|
927
|
-
delete this[propertyName];
|
|
928
|
-
});
|
|
929
|
-
}
|
|
930
|
-
}
|
|
783
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/property-grid/localization/_localization.js
|
|
931
784
|
|
|
932
|
-
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/eventManager.js
|
|
933
785
|
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
const
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
addHandler(type, listener) {
|
|
950
|
-
if (!(type in this._handlers)) {
|
|
951
|
-
this._handlers[type] = [];
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
function loadMessages(_messages) {
|
|
789
|
+
extend(messages, _messages);
|
|
790
|
+
}
|
|
791
|
+
function _processLocalization(id, _removeWinSymbols = removeWinSymbols) {
|
|
792
|
+
const text = localize(id);
|
|
793
|
+
if (text && _removeWinSymbols) {
|
|
794
|
+
if (text.indexOf('&') !== -1 ||
|
|
795
|
+
text.indexOf('<u>') !== -1 ||
|
|
796
|
+
text.indexOf('</u>') !== -1) {
|
|
797
|
+
const obj = {};
|
|
798
|
+
obj[id] = text.replace('&', '').replace('<u>', '').replace('</u>', '');
|
|
799
|
+
loadMessages(obj);
|
|
800
|
+
return obj[id];
|
|
952
801
|
}
|
|
953
|
-
this._handlers[type].push(listener);
|
|
954
802
|
}
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
803
|
+
}
|
|
804
|
+
function _getLocalization(text) {
|
|
805
|
+
return localize(text) || text;
|
|
806
|
+
}
|
|
807
|
+
function getLocalization(text, id = null, _removeWinSymbols = removeWinSymbols) {
|
|
808
|
+
let _localizedText = id && localize(id) || _getLocalization(text);
|
|
809
|
+
_localizedText = id && _processLocalization(id, _removeWinSymbols) || _localizedText;
|
|
810
|
+
if (isCustomizedWithUpdateLocalizationMethod(_localizedText)) {
|
|
811
|
+
text = _localizedText;
|
|
960
812
|
}
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
return () => {
|
|
964
|
-
if (!this._handlers[type])
|
|
965
|
-
return;
|
|
966
|
-
this.removeHandler(type, listener);
|
|
967
|
-
};
|
|
813
|
+
if (!isCustomizedWithUpdateLocalizationMethod(text)) {
|
|
814
|
+
return _localizedText;
|
|
968
815
|
}
|
|
816
|
+
return _getLocalization(text);
|
|
969
817
|
}
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
super.call('propertyChanged', args);
|
|
977
|
-
}
|
|
978
|
-
else {
|
|
979
|
-
super.call(type, _args);
|
|
980
|
-
}
|
|
981
|
-
}
|
|
818
|
+
const removeWinSymbols = true;
|
|
819
|
+
const Globalize = window['Globalize'];
|
|
820
|
+
const messages = {};
|
|
821
|
+
const custom_localization_values = {};
|
|
822
|
+
function selectPlaceholder() {
|
|
823
|
+
return getLocalization('Select...', 'AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText');
|
|
982
824
|
}
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
function toStringWithDelimiter(values, delimiter) {
|
|
986
|
-
return (values || []).map(value => {
|
|
987
|
-
let str = value !== undefined && value !== null ? value.toString() : '00';
|
|
988
|
-
if (str.length === 1) {
|
|
989
|
-
str = '0' + str;
|
|
990
|
-
}
|
|
991
|
-
return str;
|
|
992
|
-
}).join(delimiter);
|
|
825
|
+
function noDataText() {
|
|
826
|
+
return getLocalization('No data to display', 'AnalyticsCoreStringId.DataPreview_Empty');
|
|
993
827
|
}
|
|
994
|
-
function
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
828
|
+
function searchPlaceholder() {
|
|
829
|
+
return getLocalization('Enter text to search...', 'AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText');
|
|
830
|
+
}
|
|
831
|
+
function resolveFromPromises(promises, createModel) {
|
|
832
|
+
const deferred = external_jQuery_namespaceObject.Deferred();
|
|
833
|
+
if (promises.length > 0) {
|
|
834
|
+
external_jQuery_namespaceObject.when(...promises).done((...messages) => {
|
|
835
|
+
messages.forEach(x => loadMessages(x[0]));
|
|
836
|
+
}).always(() => deferred.resolve(createModel()));
|
|
1000
837
|
}
|
|
1001
|
-
|
|
1002
|
-
|
|
838
|
+
else {
|
|
839
|
+
deferred.resolve(createModel());
|
|
840
|
+
}
|
|
841
|
+
return deferred;
|
|
1003
842
|
}
|
|
1004
|
-
function
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
843
|
+
function isCustomizedWithUpdateLocalizationMethod(text) {
|
|
844
|
+
return !!custom_localization_values[text];
|
|
845
|
+
}
|
|
846
|
+
function localizeWithUpdateLocalizationMethod(oldText) {
|
|
847
|
+
return isCustomizedWithUpdateLocalizationMethod(oldText) ? getLocalization(oldText) : false;
|
|
848
|
+
}
|
|
849
|
+
function localize(val) {
|
|
850
|
+
return messages[val];
|
|
851
|
+
}
|
|
852
|
+
function formatDate(val) {
|
|
853
|
+
return external_DevExpress_localization_namespaceObject.formatDate(val, 'shortDate');
|
|
854
|
+
}
|
|
855
|
+
function parseDate(val, useDefault = true, format) {
|
|
856
|
+
if (!useDefault)
|
|
857
|
+
return format ? external_DevExpress_localization_namespaceObject.parseDate(val, format) : external_DevExpress_localization_namespaceObject.parseDate(val, undefined);
|
|
858
|
+
if (val) {
|
|
859
|
+
if (val instanceof Date)
|
|
860
|
+
return val;
|
|
861
|
+
return deserializeDate(val);
|
|
1016
862
|
}
|
|
1017
|
-
|
|
1018
|
-
return null;
|
|
1019
|
-
dateArgs = dateArgs.map(x => parseInt(x));
|
|
1020
|
-
return new Date(dateArgs[0], dateArgs[1] - 1, dateArgs[2], timeArgs[0], timeArgs[1], timeArgs[2]);
|
|
863
|
+
return null;
|
|
1021
864
|
}
|
|
1022
865
|
|
|
1023
|
-
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/
|
|
1024
|
-
|
|
1025
|
-
|
|
866
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/property-grid/widgets/internal/_utils.js
|
|
1026
867
|
|
|
1027
868
|
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
}
|
|
1047
|
-
linkObjects() {
|
|
1048
|
-
Object.keys(this._linkTable).forEach((index) => {
|
|
1049
|
-
const val = this._refTable[index];
|
|
1050
|
-
if (val) {
|
|
1051
|
-
this._linkTable[index].splice(0).forEach(property => property(val));
|
|
869
|
+
var SearchMode;
|
|
870
|
+
(function (SearchMode) {
|
|
871
|
+
SearchMode[SearchMode["contains"] = 0] = "contains";
|
|
872
|
+
SearchMode[SearchMode["startWith"] = 1] = "startWith";
|
|
873
|
+
})(SearchMode || (SearchMode = {}));
|
|
874
|
+
function _getFileContent(content, readMode) {
|
|
875
|
+
return readMode !== 'text' ? (content).replace(/(^data:[^,]+,)|(^data:)/, '') : content;
|
|
876
|
+
}
|
|
877
|
+
function _uploadFile(filesHolder, deferred, options) {
|
|
878
|
+
try {
|
|
879
|
+
const files = filesHolder.files;
|
|
880
|
+
for (let i = 0; i < files.length; i++) {
|
|
881
|
+
const file = files[i];
|
|
882
|
+
if (options.type === 'img') {
|
|
883
|
+
const imageType = /image.*/;
|
|
884
|
+
if (!file.type.match(imageType)) {
|
|
885
|
+
continue;
|
|
886
|
+
}
|
|
1052
887
|
}
|
|
1053
|
-
|
|
888
|
+
const fr = new FileReader();
|
|
889
|
+
const format = file.name.split('.').pop();
|
|
890
|
+
fr.onload = () => {
|
|
891
|
+
try {
|
|
892
|
+
deferred.resolve({
|
|
893
|
+
format: format,
|
|
894
|
+
content: _getFileContent(fr.result, options.readMode)
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
catch (e) {
|
|
898
|
+
deferred.reject();
|
|
899
|
+
}
|
|
900
|
+
};
|
|
901
|
+
options.readMode === 'text' || format === 'html' || format === 'htm' ? fr.readAsText(file) : fr.readAsDataURL(file);
|
|
902
|
+
}
|
|
1054
903
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
904
|
+
catch (e) {
|
|
905
|
+
deferred.reject();
|
|
1057
906
|
}
|
|
1058
|
-
|
|
1059
|
-
|
|
907
|
+
}
|
|
908
|
+
const fileUploaderId = 'dxd-fileuploader-input';
|
|
909
|
+
function createFileUploaderElement() {
|
|
910
|
+
const input = document.createElement('input');
|
|
911
|
+
input.type = 'file';
|
|
912
|
+
input.id = fileUploaderId;
|
|
913
|
+
input.style.width = '0px';
|
|
914
|
+
input.style.height = '0px';
|
|
915
|
+
input.style.display = 'none';
|
|
916
|
+
document.body.appendChild(input);
|
|
917
|
+
return input;
|
|
918
|
+
}
|
|
919
|
+
let uploadFile = (options) => {
|
|
920
|
+
const deferred = external_jQuery_namespaceObject.Deferred();
|
|
921
|
+
let element = document.getElementById(fileUploaderId);
|
|
922
|
+
if (!element) {
|
|
923
|
+
element = createFileUploaderElement();
|
|
1060
924
|
}
|
|
1061
|
-
|
|
1062
|
-
|
|
925
|
+
element.accept = options.accept;
|
|
926
|
+
element.onchange = () => {
|
|
927
|
+
_uploadFile(element, deferred, options);
|
|
928
|
+
element.value = '';
|
|
929
|
+
};
|
|
930
|
+
element.click();
|
|
931
|
+
return deferred.promise();
|
|
932
|
+
};
|
|
933
|
+
const _replaceUploadFile = (newFunc) => uploadFile = newFunc;
|
|
934
|
+
function setUploadFile(newFunc) {
|
|
935
|
+
uploadFile = newFunc;
|
|
936
|
+
}
|
|
937
|
+
function compareEditorInfo(editor1, editor2) {
|
|
938
|
+
return !!editor1 && !!editor2 &&
|
|
939
|
+
editor1.header === editor2.header
|
|
940
|
+
&& editor1.content === editor2.content
|
|
941
|
+
&& editor1.editorType === editor2.editorType;
|
|
942
|
+
}
|
|
943
|
+
function findMatchesInString(stringWhereSearch, searchPattern, options) {
|
|
944
|
+
if (!options) {
|
|
945
|
+
const searchExpr = escapeToRegExp(searchPattern);
|
|
946
|
+
return !!stringWhereSearch && stringWhereSearch.match(new RegExp(searchExpr, 'gi'));
|
|
1063
947
|
}
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
948
|
+
let searchExpr = !options.canUseRegex ? escapeToRegExp(searchPattern) : searchPattern;
|
|
949
|
+
if (options.searchMode == SearchMode.startWith && !options.canUseRegex)
|
|
950
|
+
searchExpr = '^' + searchExpr;
|
|
951
|
+
let exprRule = '';
|
|
952
|
+
if (!options.caseSensitive)
|
|
953
|
+
exprRule = exprRule + 'i';
|
|
954
|
+
if (options.globalMatch)
|
|
955
|
+
exprRule = exprRule + 'g';
|
|
956
|
+
return !!stringWhereSearch && stringWhereSearch.match(new RegExp(searchExpr, exprRule));
|
|
957
|
+
}
|
|
958
|
+
function escapeToRegExp(value) {
|
|
959
|
+
return value.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
|
|
960
|
+
}
|
|
961
|
+
function stringRemove(value, start, count) {
|
|
962
|
+
count = count ? count : value.length - start;
|
|
963
|
+
return value.slice(0, start) + value.slice(start + count, value.length);
|
|
964
|
+
}
|
|
965
|
+
function stringReplace(value, start, count, newChar = '') {
|
|
966
|
+
let temp = value;
|
|
967
|
+
temp = stringRemove(temp, start, count);
|
|
968
|
+
temp = stringInsert(temp, start, Array(count + 1).join(newChar));
|
|
969
|
+
return temp;
|
|
970
|
+
}
|
|
971
|
+
function stringInsert(value, pos, subStr) {
|
|
972
|
+
return value.substring(0, pos) + subStr + value.substring(pos);
|
|
973
|
+
}
|
|
974
|
+
function formatUnicorn(format, ...args) {
|
|
975
|
+
return format.replace(/{(\d+)(:[^}]+)?}/g, (match, number, formatSpecifier) => {
|
|
976
|
+
const value = args[parseInt(number)];
|
|
977
|
+
if (value !== undefined && value !== null) {
|
|
978
|
+
if (formatSpecifier) {
|
|
979
|
+
switch (formatSpecifier.substring(1)) {
|
|
980
|
+
case 'd':
|
|
981
|
+
return formatDate(new Date(value));
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
return value.toString();
|
|
985
|
+
}
|
|
986
|
+
else {
|
|
987
|
+
return match;
|
|
988
|
+
}
|
|
989
|
+
});
|
|
990
|
+
}
|
|
991
|
+
var KeyboardEnum;
|
|
992
|
+
(function (KeyboardEnum) {
|
|
993
|
+
KeyboardEnum["Plus"] = "+";
|
|
994
|
+
KeyboardEnum["Minus"] = "-";
|
|
995
|
+
KeyboardEnum["Equal"] = "=";
|
|
996
|
+
KeyboardEnum["Tab"] = "Tab";
|
|
997
|
+
KeyboardEnum["Delete"] = "Delete";
|
|
998
|
+
KeyboardEnum["Enter"] = "Enter";
|
|
999
|
+
KeyboardEnum["Esc"] = "Escape";
|
|
1000
|
+
KeyboardEnum["Space"] = " ";
|
|
1001
|
+
KeyboardEnum["End"] = "End";
|
|
1002
|
+
KeyboardEnum["Home"] = "Home";
|
|
1003
|
+
KeyboardEnum["PageUp"] = "PageUp";
|
|
1004
|
+
KeyboardEnum["PageDown"] = "PageDown";
|
|
1005
|
+
KeyboardEnum["ArrowLeft"] = "ArrowLeft";
|
|
1006
|
+
KeyboardEnum["ArrowUp"] = "ArrowUp";
|
|
1007
|
+
KeyboardEnum["ArrowRight"] = "ArrowRight";
|
|
1008
|
+
KeyboardEnum["ArrowDown"] = "ArrowDown";
|
|
1009
|
+
})(KeyboardEnum || (KeyboardEnum = {}));
|
|
1010
|
+
var KeyboardCodesEnum;
|
|
1011
|
+
(function (KeyboardCodesEnum) {
|
|
1012
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Tab"] = 9] = "Tab";
|
|
1013
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Enter"] = 13] = "Enter";
|
|
1014
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Esc"] = 27] = "Esc";
|
|
1015
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Space"] = 32] = "Space";
|
|
1016
|
+
KeyboardCodesEnum[KeyboardCodesEnum["End"] = 35] = "End";
|
|
1017
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Home"] = 36] = "Home";
|
|
1018
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Left"] = 37] = "Left";
|
|
1019
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Up"] = 38] = "Up";
|
|
1020
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Right"] = 39] = "Right";
|
|
1021
|
+
KeyboardCodesEnum[KeyboardCodesEnum["Down"] = 40] = "Down";
|
|
1022
|
+
})(KeyboardCodesEnum || (KeyboardCodesEnum = {}));
|
|
1023
|
+
|
|
1024
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/core/tools/_keyboardHelper.js
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
class KeyboardHelperBase extends Disposable {
|
|
1029
|
+
_processShortcut(map, e, index) {
|
|
1030
|
+
const method = map[KeyboardCodesEnum[e.keyCode]];
|
|
1031
|
+
if (method) {
|
|
1032
|
+
return method(e, index);
|
|
1033
|
+
}
|
|
1034
|
+
return false;
|
|
1070
1035
|
}
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
let value = undefined;
|
|
1074
|
-
this._linkTable[refVal] = this._linkTable[refVal] || [];
|
|
1075
|
-
this._linkTable[refVal].push((newVal) => value = newVal);
|
|
1076
|
-
if (!internalModel._restoreLinks)
|
|
1077
|
-
internalModel._restoreLinks = [];
|
|
1078
|
-
internalModel._restoreLinks.push((model) => {
|
|
1079
|
-
const currentModel = this._getModel(model, propertyPath);
|
|
1080
|
-
return {
|
|
1081
|
-
setRef: (ref) => {
|
|
1082
|
-
if (ref === -1)
|
|
1083
|
-
delete currentModel[propertyName];
|
|
1084
|
-
else
|
|
1085
|
-
currentModel[propertyName] = '#Ref-' + ref;
|
|
1086
|
-
},
|
|
1087
|
-
obj: () => value
|
|
1088
|
-
};
|
|
1089
|
-
});
|
|
1036
|
+
processShortcut(e, index) {
|
|
1037
|
+
return this._processShortcut(this.shortcutMap, e, index);
|
|
1090
1038
|
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
internalModel._refs = [];
|
|
1094
|
-
internalModel._refs.push((model, ref) => {
|
|
1095
|
-
this._getModel(model, propertyPath)[propertyName] = ref;
|
|
1096
|
-
});
|
|
1039
|
+
processChildrenShortcut(e, index) {
|
|
1040
|
+
return this._processShortcut(this.childrenShortcutMap, e, index);
|
|
1097
1041
|
}
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
});
|
|
1112
|
-
if (start)
|
|
1113
|
-
this.linkObjects();
|
|
1042
|
+
}
|
|
1043
|
+
class KeyboardHelper extends KeyboardHelperBase {
|
|
1044
|
+
constructor(selection, undoEngine) {
|
|
1045
|
+
super();
|
|
1046
|
+
this._selection = selection;
|
|
1047
|
+
this._undoEngine = undoEngine;
|
|
1048
|
+
this.shortcutMap = {
|
|
1049
|
+
Esc: (e) => { this.processEsc(); return true; },
|
|
1050
|
+
Left: (e) => { this.moveSelectedControls(true, true, -1); return true; },
|
|
1051
|
+
Up: (e) => { this.moveSelectedControls(true, false, -1); return true; },
|
|
1052
|
+
Right: (e) => { this.moveSelectedControls(false, true, 1); return true; },
|
|
1053
|
+
Down: (e) => { this.moveSelectedControls(false, false, 1); return true; }
|
|
1054
|
+
};
|
|
1114
1055
|
}
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
item.setRef(refValue);
|
|
1119
|
-
});
|
|
1056
|
+
processEsc() {
|
|
1057
|
+
const parent = this._selection.focused() && this._selection.focused().parent;
|
|
1058
|
+
parent && this._selection.focused(parent);
|
|
1120
1059
|
}
|
|
1121
|
-
|
|
1122
|
-
const
|
|
1123
|
-
if (!
|
|
1060
|
+
moveSelectedControls(leftUp, isHoriz, sign) {
|
|
1061
|
+
const focusedControl = this._selection.focused();
|
|
1062
|
+
if (!focusedControl || focusedControl && focusedControl.getControlModel().getMetaData().isCopyDeny) {
|
|
1124
1063
|
return;
|
|
1125
1064
|
}
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
}
|
|
1133
|
-
deserializePropertyValue(modelPropertyInfo, modelValue, strict = true) {
|
|
1134
|
-
if (typeof modelPropertyInfo === 'string') {
|
|
1135
|
-
return this.wrapPropertyValue(modelValue);
|
|
1065
|
+
this._undoEngine && this._undoEngine().start();
|
|
1066
|
+
const distance = 1, axisProperty = isHoriz ? 'left' : 'top', lengthProperty = isHoriz ? 'width' : 'height';
|
|
1067
|
+
let minAxis, maxSide, newAxis;
|
|
1068
|
+
if (focusedControl.rect) {
|
|
1069
|
+
minAxis = focusedControl.rect()[axisProperty];
|
|
1070
|
+
maxSide = focusedControl.rect()[axisProperty] + focusedControl.rect()[lengthProperty];
|
|
1136
1071
|
}
|
|
1137
|
-
else
|
|
1138
|
-
if (modelPropertyInfo.from) {
|
|
1139
|
-
return modelPropertyInfo.from(modelValue, this);
|
|
1140
|
-
}
|
|
1141
|
-
else if (modelPropertyInfo.info) {
|
|
1142
|
-
return this.wrapPropertyArrayValue(Object.keys(modelValue || {}).map(propertyName => {
|
|
1143
|
-
const object = this.createObjectByInfo(modelPropertyInfo.info || []);
|
|
1144
|
-
this.deserialize(object, modelValue[propertyName] || {});
|
|
1145
|
-
return object;
|
|
1146
|
-
}));
|
|
1147
|
-
}
|
|
1072
|
+
else {
|
|
1148
1073
|
return;
|
|
1149
1074
|
}
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
const ctorResult = new modelPropertyInfo.type(modelValue, this, modelPropertyInfo.info);
|
|
1155
|
-
if (!ctorResult._model) {
|
|
1156
|
-
this.deserialize(ctorResult, modelValue || {}, modelPropertyInfo.info);
|
|
1075
|
+
this._selection.selectedItems.filter((item) => { return !item.locked; }).forEach((item) => {
|
|
1076
|
+
const axis = item.rect()[axisProperty];
|
|
1077
|
+
if (axis < minAxis) {
|
|
1078
|
+
minAxis = axis;
|
|
1157
1079
|
}
|
|
1158
|
-
|
|
1080
|
+
});
|
|
1081
|
+
this._selection.selectedItems.filter((item) => { return !item.locked; }).forEach((item) => {
|
|
1082
|
+
const side = item.rect()[axisProperty] + item.rect()[lengthProperty];
|
|
1083
|
+
if (side > maxSide) {
|
|
1084
|
+
maxSide = side;
|
|
1085
|
+
}
|
|
1086
|
+
});
|
|
1087
|
+
if ((leftUp && minAxis <= 0) || (!focusedControl.parent.rect || (!leftUp && maxSide.toFixed(5) >= focusedControl.parent.rect()[lengthProperty]))) {
|
|
1088
|
+
return;
|
|
1159
1089
|
}
|
|
1160
|
-
else
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1090
|
+
else {
|
|
1091
|
+
this._selection.selectedItems.filter((item) => { return !item.locked; })
|
|
1092
|
+
.filter((item) => { return !!item.rect; })
|
|
1093
|
+
.forEach((item) => {
|
|
1094
|
+
const newVal = {}, itemAxisProperty = item.rect()[axisProperty], itemLengthProperty = item.rect()[lengthProperty], parentLengthProperty = item.parent.rect()[lengthProperty];
|
|
1095
|
+
newAxis = itemAxisProperty + sign * distance;
|
|
1096
|
+
if ((leftUp && newAxis >= 0) || (!leftUp && (newAxis + itemLengthProperty) <= parentLengthProperty)) {
|
|
1097
|
+
newVal[axisProperty] = newAxis;
|
|
1098
|
+
}
|
|
1099
|
+
if (!leftUp && (newAxis + itemLengthProperty) > parentLengthProperty) {
|
|
1100
|
+
newVal[axisProperty] = parentLengthProperty - itemLengthProperty;
|
|
1101
|
+
}
|
|
1102
|
+
if (leftUp && newAxis < 0 && itemAxisProperty > 0) {
|
|
1103
|
+
newVal[axisProperty] = 0;
|
|
1104
|
+
}
|
|
1105
|
+
item.rect(newVal);
|
|
1106
|
+
});
|
|
1170
1107
|
}
|
|
1171
|
-
|
|
1108
|
+
this._undoEngine && this._undoEngine().end();
|
|
1172
1109
|
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1110
|
+
}
|
|
1111
|
+
class KeyDownHandlersManager {
|
|
1112
|
+
constructor(targetElement) {
|
|
1113
|
+
this._handlers = [];
|
|
1114
|
+
this._targetElement = targetElement;
|
|
1176
1115
|
}
|
|
1177
|
-
|
|
1178
|
-
return
|
|
1116
|
+
get _activeHandler() {
|
|
1117
|
+
return this._handlers.length > 0 ? this._handlers[this._handlers.length - 1] : null;
|
|
1179
1118
|
}
|
|
1180
|
-
|
|
1181
|
-
|
|
1119
|
+
_removeHandler(handler, eventName) {
|
|
1120
|
+
const index = this._handlers.indexOf(handler);
|
|
1121
|
+
if (index < 0)
|
|
1182
1122
|
return;
|
|
1183
|
-
this.
|
|
1123
|
+
this._handlers.splice(index, 1);
|
|
1124
|
+
if (index === this._handlers.length) {
|
|
1125
|
+
this._targetElement.removeEventListener(eventName, handler);
|
|
1126
|
+
if (this._activeHandler)
|
|
1127
|
+
this._targetElement.addEventListener(eventName, this._activeHandler);
|
|
1128
|
+
}
|
|
1184
1129
|
}
|
|
1185
|
-
|
|
1186
|
-
|
|
1130
|
+
bindHandler(handler, eventName = 'keydown') {
|
|
1131
|
+
if (this._activeHandler)
|
|
1132
|
+
this._targetElement.removeEventListener(eventName, this._activeHandler);
|
|
1133
|
+
const _handler = (e) => {
|
|
1134
|
+
if (external_jQuery_namespaceObject.fn.constructor(this._targetElement).closest('.dx-designer').length > 0 ||
|
|
1135
|
+
external_jQuery_namespaceObject.fn.constructor(e.target).closest('.dx-designer').length > 0 ||
|
|
1136
|
+
e.target === document.body)
|
|
1137
|
+
handler(e);
|
|
1138
|
+
};
|
|
1139
|
+
this._handlers.push(_handler);
|
|
1140
|
+
this._targetElement.addEventListener(eventName, _handler);
|
|
1141
|
+
return () => { this._removeHandler(_handler, eventName); };
|
|
1187
1142
|
}
|
|
1188
|
-
|
|
1189
|
-
|
|
1143
|
+
}
|
|
1144
|
+
let windowKeyDownHandlersManager = null;
|
|
1145
|
+
function GetWindowKeyDownHandlersManager() {
|
|
1146
|
+
if (windowKeyDownHandlersManager === null) {
|
|
1147
|
+
windowKeyDownHandlersManager = new KeyDownHandlersManager(window);
|
|
1190
1148
|
}
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
if (
|
|
1200
|
-
|
|
1201
|
-
serializationsInfo = viewModel.getInfo();
|
|
1202
|
-
const refValue = model['@Ref'];
|
|
1203
|
-
const proto = Object.getPrototypeOf(viewModel);
|
|
1204
|
-
serializationsInfo.forEach((modelPropertyInfo) => {
|
|
1205
|
-
const propertyName = modelPropertyInfo.propertyName, propName = modelPropertyInfo.modelName;
|
|
1206
|
-
if (model[propName] !== undefined) {
|
|
1207
|
-
delete viewModel._model[propName];
|
|
1208
|
-
}
|
|
1209
|
-
let property = undefined;
|
|
1210
|
-
if (modelPropertyInfo.link) {
|
|
1211
|
-
property = this.wrapPropertyValue(null);
|
|
1212
|
-
const modelValue = model[modelPropertyInfo.modelName];
|
|
1213
|
-
if (modelValue) {
|
|
1214
|
-
const refVal = modelValue && modelValue.slice('#Ref-'.length);
|
|
1215
|
-
this._linkTable[refVal] = this._linkTable[refVal] || [];
|
|
1216
|
-
const self = this;
|
|
1217
|
-
this._linkTable[refVal].push(function (newVal) {
|
|
1218
|
-
if (arguments.length === 0)
|
|
1219
|
-
return self.getLinkProperty(viewModel, propertyName);
|
|
1220
|
-
else
|
|
1221
|
-
return self.setLinkProperty(viewModel, propertyName, newVal);
|
|
1222
|
-
});
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
else {
|
|
1226
|
-
property = this.deserializeProperty(modelPropertyInfo, model);
|
|
1227
|
-
}
|
|
1228
|
-
const descriptor = Object.getOwnPropertyDescriptor(proto, propertyName);
|
|
1229
|
-
if (property !== undefined && (!descriptor || !!descriptor.set)) {
|
|
1230
|
-
this.generateProperty(viewModel, propertyName, property);
|
|
1231
|
-
}
|
|
1232
|
-
if (!(propertyName in viewModel) && property === undefined && modelPropertyInfo.array) {
|
|
1233
|
-
this.generateArrayProperty(viewModel, propertyName, []);
|
|
1234
|
-
}
|
|
1235
|
-
});
|
|
1236
|
-
if (refValue) {
|
|
1237
|
-
this.setReferencedProperty(viewModel, model, refValue);
|
|
1149
|
+
return windowKeyDownHandlersManager;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/native/deserializationEngine.updateViewModel.js
|
|
1153
|
+
const chunksTimeoutName = '__viewModel__timeout';
|
|
1154
|
+
const chunksDictionaryName = '__viewModel__chunks';
|
|
1155
|
+
function updateViewModel(model, args) {
|
|
1156
|
+
if (model['__viewModel'] && model['updateViewModel']) {
|
|
1157
|
+
if (model['deferredUpdateViewModel']()) {
|
|
1158
|
+
_updateViewModelWithChunks(model, args);
|
|
1238
1159
|
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
serialize(viewModel, serializationsInfo, refs = null) {
|
|
1242
|
-
if (!serializationsInfo && !refs) {
|
|
1243
|
-
return this._serialize(viewModel, [], null);
|
|
1160
|
+
else {
|
|
1161
|
+
model['updateViewModel'](args);
|
|
1244
1162
|
}
|
|
1245
|
-
return this._serialize(viewModel, serializationsInfo || [], refs);
|
|
1246
1163
|
}
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
if (
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1164
|
+
}
|
|
1165
|
+
function _updateViewModelWithChunks(model, args) {
|
|
1166
|
+
if (model['__viewModel'] && model['updateViewModel']) {
|
|
1167
|
+
model[chunksTimeoutName] && clearTimeout(model[chunksTimeoutName]);
|
|
1168
|
+
if (!model[chunksDictionaryName])
|
|
1169
|
+
model[chunksDictionaryName] = {};
|
|
1170
|
+
if ('added' in args || 'removed' in args) {
|
|
1171
|
+
const chunks = Array.isArray(model[chunksDictionaryName][args.propertyName]) ?
|
|
1172
|
+
model[chunksDictionaryName][args.propertyName]
|
|
1173
|
+
: [];
|
|
1174
|
+
model[chunksDictionaryName][args.propertyName] = [...chunks, args];
|
|
1257
1175
|
}
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
return;
|
|
1176
|
+
else {
|
|
1177
|
+
model[chunksDictionaryName][args.propertyName] = args;
|
|
1261
1178
|
}
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
if (index < 0) {
|
|
1268
|
-
delete result[modelPropertyInfo.modelName];
|
|
1269
|
-
}
|
|
1270
|
-
else {
|
|
1271
|
-
result[modelPropertyInfo.modelName] = '#Ref-' + index;
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
});
|
|
1275
|
-
resultValue = undefined;
|
|
1276
|
-
}
|
|
1277
|
-
else if (modelPropertyInfo.array) {
|
|
1278
|
-
resultValue = {};
|
|
1279
|
-
let index = 1;
|
|
1280
|
-
value.forEach((item) => {
|
|
1281
|
-
const info = modelPropertyInfo.info || null;
|
|
1282
|
-
const item_ = this._serialize(item, info, refs);
|
|
1283
|
-
if (this._isSerializableValue(item_) || modelPropertyInfo.alwaysSerialize) {
|
|
1284
|
-
resultValue['Item' + index] = item_;
|
|
1285
|
-
if (this._options.useRefs) {
|
|
1286
|
-
item_['@Ref'] = (refs.objects.push(item) - 1).toString();
|
|
1287
|
-
}
|
|
1288
|
-
index++;
|
|
1289
|
-
}
|
|
1290
|
-
});
|
|
1291
|
-
}
|
|
1292
|
-
else if (modelPropertyInfo.from) {
|
|
1293
|
-
if (value['isEmpty'] && value['isEmpty']()) {
|
|
1294
|
-
resultValue = {};
|
|
1295
|
-
}
|
|
1296
|
-
else {
|
|
1297
|
-
resultValue = modelPropertyInfo.toJsonObject ? modelPropertyInfo.toJsonObject(value, this, refs) : value.toString();
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
else if (modelPropertyInfo.info || value['getInfo']) {
|
|
1301
|
-
resultValue = this._serialize(value, modelPropertyInfo.info, refs);
|
|
1302
|
-
}
|
|
1303
|
-
else if (modelPropertyInfo.modelName) {
|
|
1304
|
-
if (value instanceof Date) {
|
|
1305
|
-
resultValue = this._options && this._options.serializeDate(value);
|
|
1179
|
+
model[chunksTimeoutName] = setTimeout(() => {
|
|
1180
|
+
model[chunksDictionaryName] && Object.keys(model[chunksDictionaryName]).forEach((chunkName) => {
|
|
1181
|
+
const chunk = model[chunksDictionaryName][chunkName];
|
|
1182
|
+
if (Array.isArray(chunk)) {
|
|
1183
|
+
chunk.forEach((args) => model['updateViewModel'](args));
|
|
1306
1184
|
}
|
|
1307
1185
|
else {
|
|
1308
|
-
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
else {
|
|
1312
|
-
throw new Error("Invalid info '" + serializationsInfo.stringify() + "'");
|
|
1313
|
-
}
|
|
1314
|
-
if (modelPropertyInfo.alwaysSerialize || this._isSerializableValue(resultValue)) {
|
|
1315
|
-
if (modelPropertyInfo.asRef) {
|
|
1316
|
-
resultValue['@Ref'] = (refs.objects.push(value) - 1).toString();
|
|
1186
|
+
model['updateViewModel'](chunk);
|
|
1317
1187
|
}
|
|
1318
|
-
|
|
1319
|
-
}
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
_serialize(viewModel, serializationsInfo, refs) {
|
|
1323
|
-
const result = extend(true, {}, viewModel._model), isInitial = refs === null;
|
|
1324
|
-
refs = refs || { linkObjTable: [], objects: [] };
|
|
1325
|
-
if (result._restoreLinks) {
|
|
1326
|
-
refs.linkObjTable.push.apply(refs.linkObjTable, result._restoreLinks.map((x) => x(result)));
|
|
1327
|
-
delete result._restoreLinks;
|
|
1328
|
-
}
|
|
1329
|
-
if (result._refs) {
|
|
1330
|
-
result._refs.forEach((x) => x(result, (refs.objects.push('0') - 1).toString()));
|
|
1331
|
-
delete result._refs;
|
|
1332
|
-
}
|
|
1333
|
-
serializationsInfo = viewModel.getInfo ? viewModel.getInfo() : serializationsInfo;
|
|
1334
|
-
delete result['@Ref'];
|
|
1335
|
-
if (viewModel['isEmpty'] && viewModel['isEmpty']())
|
|
1336
|
-
return {};
|
|
1337
|
-
serializationsInfo.forEach((modelPropertyInfo) => {
|
|
1338
|
-
this.serializeProperty(modelPropertyInfo, viewModel, serializationsInfo, refs, result);
|
|
1188
|
+
});
|
|
1189
|
+
model[chunksDictionaryName] = {};
|
|
1339
1190
|
});
|
|
1340
|
-
if (isInitial)
|
|
1341
|
-
this.setLinks(refs);
|
|
1342
|
-
return result;
|
|
1343
1191
|
}
|
|
1344
1192
|
}
|
|
1345
1193
|
|
|
1346
|
-
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/native/
|
|
1347
|
-
|
|
1348
|
-
|
|
1194
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/native/deserializationEngine.js
|
|
1349
1195
|
|
|
1350
|
-
function
|
|
1351
|
-
|
|
1196
|
+
function notifyPropertyChanged(model, args) {
|
|
1197
|
+
var _a;
|
|
1198
|
+
model.onPropertyChanged && model.onPropertyChanged(args);
|
|
1199
|
+
updateViewModel(model, args);
|
|
1200
|
+
(_a = model.events) === null || _a === void 0 ? void 0 : _a.call('propertyChanged', args);
|
|
1352
1201
|
}
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1202
|
+
const arrayModificationMapper = {
|
|
1203
|
+
'push': (array, callback) => {
|
|
1204
|
+
Object.defineProperty(array, 'push', {
|
|
1205
|
+
enumerable: false,
|
|
1206
|
+
configurable: true,
|
|
1207
|
+
get: () => {
|
|
1208
|
+
return (...items) => {
|
|
1209
|
+
const currentLength = array.length;
|
|
1210
|
+
const result = Array.prototype.push.call(array, ...items);
|
|
1211
|
+
callback({
|
|
1212
|
+
operation: 'push',
|
|
1213
|
+
added: items.map((x, index) => ({
|
|
1214
|
+
item: x,
|
|
1215
|
+
index: currentLength + index
|
|
1216
|
+
})),
|
|
1217
|
+
removed: [],
|
|
1218
|
+
newValue: array
|
|
1219
|
+
});
|
|
1220
|
+
return result;
|
|
1221
|
+
};
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
},
|
|
1225
|
+
'splice': (array, callback) => {
|
|
1226
|
+
Object.defineProperty(array, 'splice', {
|
|
1227
|
+
enumerable: false,
|
|
1228
|
+
configurable: true,
|
|
1229
|
+
get: () => {
|
|
1230
|
+
return (startIndex, deleteCount, ...items) => {
|
|
1231
|
+
const result = Array.prototype.splice.call(array, startIndex, deleteCount, ...items);
|
|
1232
|
+
callback({
|
|
1233
|
+
operation: 'splice',
|
|
1234
|
+
added: items.map((x, index) => ({
|
|
1235
|
+
item: x,
|
|
1236
|
+
index: startIndex + index
|
|
1237
|
+
})),
|
|
1238
|
+
removed: result && result.map((x, index) => ({
|
|
1239
|
+
item: x,
|
|
1240
|
+
index: startIndex + index
|
|
1241
|
+
})),
|
|
1242
|
+
newValue: array
|
|
1243
|
+
});
|
|
1244
|
+
return result;
|
|
1245
|
+
};
|
|
1246
|
+
}
|
|
1247
|
+
});
|
|
1248
|
+
},
|
|
1249
|
+
'pop': (array, callback) => {
|
|
1250
|
+
Object.defineProperty(array, 'pop', {
|
|
1251
|
+
enumerable: false,
|
|
1252
|
+
configurable: true,
|
|
1253
|
+
get: () => {
|
|
1254
|
+
return () => {
|
|
1255
|
+
const currentLength = array.length;
|
|
1256
|
+
const result = Array.prototype.pop.call(array);
|
|
1257
|
+
callback({
|
|
1258
|
+
operation: 'pop',
|
|
1259
|
+
added: [],
|
|
1260
|
+
removed: [{
|
|
1261
|
+
item: result,
|
|
1262
|
+
index: currentLength - 1
|
|
1263
|
+
}],
|
|
1264
|
+
newValue: array
|
|
1265
|
+
});
|
|
1266
|
+
return result;
|
|
1267
|
+
};
|
|
1268
|
+
}
|
|
1269
|
+
});
|
|
1362
1270
|
}
|
|
1363
|
-
|
|
1364
|
-
|
|
1271
|
+
};
|
|
1272
|
+
class PropertyDeserializationEngine {
|
|
1273
|
+
_defineProperty(model, propertyName, createCurrentValue, onValueChanged = () => void 0, options) {
|
|
1274
|
+
let currentValue = createCurrentValue();
|
|
1275
|
+
let notifyPromise = null;
|
|
1276
|
+
let notifyTimeout = null;
|
|
1277
|
+
onValueChanged && onValueChanged(currentValue);
|
|
1278
|
+
Object.defineProperty(model, propertyName, {
|
|
1279
|
+
configurable: true,
|
|
1280
|
+
enumerable: true,
|
|
1281
|
+
get: () => {
|
|
1282
|
+
return currentValue;
|
|
1283
|
+
},
|
|
1284
|
+
set: (newValue) => {
|
|
1285
|
+
const oldValue = currentValue;
|
|
1286
|
+
currentValue = newValue;
|
|
1287
|
+
const notifySubscribers = () => {
|
|
1288
|
+
const disposabledModel = model;
|
|
1289
|
+
if (!disposabledModel.isDisposing && (oldValue !== currentValue || (options === null || options === void 0 ? void 0 : options.notify) === 'always')) {
|
|
1290
|
+
const args = {
|
|
1291
|
+
propertyName,
|
|
1292
|
+
oldValue,
|
|
1293
|
+
newValue: currentValue
|
|
1294
|
+
};
|
|
1295
|
+
onValueChanged && onValueChanged(currentValue);
|
|
1296
|
+
notifyPropertyChanged(model, args);
|
|
1297
|
+
}
|
|
1298
|
+
};
|
|
1299
|
+
if (options === null || options === void 0 ? void 0 : options.deferred) {
|
|
1300
|
+
if (!notifyPromise) {
|
|
1301
|
+
notifyPromise = Promise.resolve().then(() => {
|
|
1302
|
+
notifySubscribers();
|
|
1303
|
+
notifyPromise = null;
|
|
1304
|
+
});
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
else if (options === null || options === void 0 ? void 0 : options.rateLimit) {
|
|
1308
|
+
if (options.rateLimit.method === 'notifyWhenChangesStop') {
|
|
1309
|
+
if (notifyTimeout)
|
|
1310
|
+
clearTimeout(notifyTimeout);
|
|
1311
|
+
}
|
|
1312
|
+
else {
|
|
1313
|
+
if (notifyTimeout !== null)
|
|
1314
|
+
return;
|
|
1315
|
+
}
|
|
1316
|
+
notifyTimeout = setTimeout(() => {
|
|
1317
|
+
notifySubscribers();
|
|
1318
|
+
notifyTimeout = null;
|
|
1319
|
+
}, options.rateLimit.timeout);
|
|
1320
|
+
}
|
|
1321
|
+
else {
|
|
1322
|
+
notifySubscribers();
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
});
|
|
1365
1326
|
}
|
|
1366
|
-
|
|
1367
|
-
model
|
|
1327
|
+
generateArrayProperty(model, propertyName, value, options) {
|
|
1328
|
+
this._defineProperty(model, propertyName, () => value, ((newVal) => {
|
|
1329
|
+
if (Array.isArray(newVal))
|
|
1330
|
+
for (const name in arrayModificationMapper) {
|
|
1331
|
+
arrayModificationMapper[name](newVal, (changes) => {
|
|
1332
|
+
const args = Object.assign({ propertyName }, changes);
|
|
1333
|
+
notifyPropertyChanged(model, args);
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
}), options);
|
|
1368
1337
|
}
|
|
1369
1338
|
generateProperty(model, propertyName, value, options) {
|
|
1370
|
-
|
|
1339
|
+
this._defineProperty(model, propertyName, () => value, null, options);
|
|
1371
1340
|
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1341
|
+
}
|
|
1342
|
+
const defaultPropertyDeserializatonEngine = new PropertyDeserializationEngine();
|
|
1343
|
+
|
|
1344
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/eventManager.js
|
|
1345
|
+
|
|
1346
|
+
class EventManager extends Disposable {
|
|
1347
|
+
constructor() {
|
|
1348
|
+
super(...arguments);
|
|
1349
|
+
this._handlers = {};
|
|
1374
1350
|
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
const
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1351
|
+
dispose() {
|
|
1352
|
+
super.dispose();
|
|
1353
|
+
this._handlers = {};
|
|
1354
|
+
}
|
|
1355
|
+
call(type, args) {
|
|
1356
|
+
if (type in this._handlers) {
|
|
1357
|
+
const currentHandlers = [...this._handlers[type]];
|
|
1358
|
+
currentHandlers.forEach(x => x(args));
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
addHandler(type, listener) {
|
|
1362
|
+
if (!(type in this._handlers)) {
|
|
1363
|
+
this._handlers[type] = [];
|
|
1364
|
+
}
|
|
1365
|
+
this._handlers[type].push(listener);
|
|
1366
|
+
}
|
|
1367
|
+
removeHandler(type, listener) {
|
|
1368
|
+
const index = this._handlers[type].indexOf(listener);
|
|
1369
|
+
if (index !== -1) {
|
|
1370
|
+
this._handlers[type].splice(index, 1);
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
on(type, listener) {
|
|
1374
|
+
this.addHandler(type, listener);
|
|
1375
|
+
return () => {
|
|
1376
|
+
if (!this._handlers[type])
|
|
1385
1377
|
return;
|
|
1386
|
-
|
|
1387
|
-
const args = {
|
|
1388
|
-
propertyName: configurablePropertyName,
|
|
1389
|
-
newValue
|
|
1390
|
-
};
|
|
1391
|
-
configurableModel['onPropertyChanged'] && configurableModel['onPropertyChanged'](args);
|
|
1392
|
-
updateViewModel(configurableModel, args);
|
|
1393
|
-
configurableModel['events'] && configurableModel['events'].call('propertyChanged', args);
|
|
1378
|
+
this.removeHandler(type, listener);
|
|
1394
1379
|
};
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
class EventPropertyManager extends EventManager {
|
|
1383
|
+
call(type, _args) {
|
|
1384
|
+
if (_args && type === 'propertyChanged' || type === `${_args === null || _args === void 0 ? void 0 : _args.propertyName}Changed`) {
|
|
1385
|
+
const args = _args;
|
|
1386
|
+
const eventName = `${args.propertyName}Changed`;
|
|
1387
|
+
super.call(eventName, args);
|
|
1388
|
+
super.call('propertyChanged', args);
|
|
1404
1389
|
}
|
|
1405
1390
|
else {
|
|
1406
|
-
|
|
1407
|
-
configurable: true,
|
|
1408
|
-
enumerable: true,
|
|
1409
|
-
get: () => {
|
|
1410
|
-
return comOptions.read();
|
|
1411
|
-
},
|
|
1412
|
-
set: (newVal) => comOptions.write(newVal)
|
|
1413
|
-
});
|
|
1391
|
+
super.call(type, _args);
|
|
1414
1392
|
}
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
});
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/native/serializer.js
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
const xtraNullString = '~Xtra#NULL';
|
|
1402
|
+
class NativeModelSerializer {
|
|
1403
|
+
constructor(options) {
|
|
1404
|
+
this.engineType = 'native';
|
|
1405
|
+
this._options = {
|
|
1406
|
+
useRefs: true,
|
|
1407
|
+
serializeDate: serializeDate
|
|
1408
|
+
};
|
|
1409
|
+
this._refTable = {};
|
|
1410
|
+
this._linkTable = {};
|
|
1411
|
+
this._options = extend(this._options, options);
|
|
1412
|
+
}
|
|
1413
|
+
createObjectByInfo(info) {
|
|
1414
|
+
return {
|
|
1415
|
+
getInfo: () => { return info || []; },
|
|
1416
|
+
events: new EventPropertyManager(),
|
|
1417
|
+
onPropertyChanged(args) { },
|
|
1418
|
+
};
|
|
1419
|
+
}
|
|
1420
|
+
linkObjects() {
|
|
1421
|
+
Object.keys(this._linkTable).forEach((index) => {
|
|
1422
|
+
const val = this._refTable[index];
|
|
1423
|
+
if (val) {
|
|
1424
|
+
this._linkTable[index].splice(0).forEach(property => property(val));
|
|
1448
1425
|
}
|
|
1449
|
-
return () => {
|
|
1450
|
-
for (const name in curreetModelSubscriptions)
|
|
1451
|
-
curreetModelSubscriptions[name]();
|
|
1452
|
-
currentSubscriptions.forEach(x => x && x());
|
|
1453
|
-
};
|
|
1454
|
-
}
|
|
1455
|
-
const subscriptions = properties.map(x => {
|
|
1456
|
-
if (x.model)
|
|
1457
|
-
return subscribeProperty(x.model, x.properties);
|
|
1458
|
-
return () => void 0;
|
|
1459
1426
|
});
|
|
1460
|
-
return () => { subscriptions.forEach(x => x()); };
|
|
1461
|
-
}
|
|
1462
|
-
subscribeValue(value, callback) {
|
|
1463
|
-
return () => void 0;
|
|
1464
1427
|
}
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
const eventName = `${subscribablePropertyName}Changed`;
|
|
1468
|
-
const subscription = model.events.on(eventName, ({ newValue }) => {
|
|
1469
|
-
callback(newValue);
|
|
1470
|
-
});
|
|
1471
|
-
return () => {
|
|
1472
|
-
subscription();
|
|
1473
|
-
onDispose && onDispose();
|
|
1474
|
-
};
|
|
1475
|
-
}
|
|
1476
|
-
return () => void 0;
|
|
1428
|
+
wrapPropertyValue(value) {
|
|
1429
|
+
return value;
|
|
1477
1430
|
}
|
|
1478
|
-
|
|
1431
|
+
wrapPropertyArrayValue(value) {
|
|
1479
1432
|
return value;
|
|
1480
1433
|
}
|
|
1481
|
-
|
|
1434
|
+
unwrapPropertyValue(value) {
|
|
1482
1435
|
return value;
|
|
1483
1436
|
}
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1437
|
+
_getModel(model, propertyPath) {
|
|
1438
|
+
let currentModel = model;
|
|
1439
|
+
propertyPath.forEach((name) => {
|
|
1440
|
+
currentModel = currentModel[name];
|
|
1441
|
+
});
|
|
1442
|
+
return currentModel;
|
|
1443
|
+
}
|
|
1444
|
+
_collectLinks(model, internalModel, propertyPath, propertyName) {
|
|
1445
|
+
const refVal = model[propertyName].slice('#Ref-'.length);
|
|
1446
|
+
let value = undefined;
|
|
1447
|
+
this._linkTable[refVal] = this._linkTable[refVal] || [];
|
|
1448
|
+
this._linkTable[refVal].push((newVal) => value = newVal);
|
|
1449
|
+
if (!internalModel._restoreLinks)
|
|
1450
|
+
internalModel._restoreLinks = [];
|
|
1451
|
+
internalModel._restoreLinks.push((model) => {
|
|
1452
|
+
const currentModel = this._getModel(model, propertyPath);
|
|
1453
|
+
return {
|
|
1454
|
+
setRef: (ref) => {
|
|
1455
|
+
if (ref === -1)
|
|
1456
|
+
delete currentModel[propertyName];
|
|
1457
|
+
else
|
|
1458
|
+
currentModel[propertyName] = '#Ref-' + ref;
|
|
1459
|
+
},
|
|
1460
|
+
obj: () => value
|
|
1461
|
+
};
|
|
1462
|
+
});
|
|
1463
|
+
}
|
|
1464
|
+
_enumRefs(internalModel, propertyPath, propertyName) {
|
|
1465
|
+
if (!internalModel._refs)
|
|
1466
|
+
internalModel._refs = [];
|
|
1467
|
+
internalModel._refs.push((model, ref) => {
|
|
1468
|
+
this._getModel(model, propertyPath)[propertyName] = ref;
|
|
1469
|
+
});
|
|
1470
|
+
}
|
|
1471
|
+
_collectLinksAndEnumRefs(model, internalModel = null, propertyPath = []) {
|
|
1472
|
+
const start = internalModel === null;
|
|
1473
|
+
internalModel = internalModel || model;
|
|
1474
|
+
Object.keys(model).forEach((propertyName) => {
|
|
1475
|
+
if (model[propertyName] instanceof Object) {
|
|
1476
|
+
this._collectLinksAndEnumRefs(model[propertyName], internalModel, [].concat(propertyPath, [propertyName]));
|
|
1515
1477
|
}
|
|
1516
|
-
|
|
1478
|
+
else if (model[propertyName].indexOf && model[propertyName].indexOf('#Ref-') === 0) {
|
|
1479
|
+
this._collectLinks(model, internalModel, propertyPath, propertyName);
|
|
1480
|
+
}
|
|
1481
|
+
else if (!start && propertyName === '@Ref') {
|
|
1482
|
+
this._enumRefs(internalModel, propertyPath, propertyName);
|
|
1483
|
+
}
|
|
1484
|
+
});
|
|
1485
|
+
if (start)
|
|
1486
|
+
this.linkObjects();
|
|
1487
|
+
}
|
|
1488
|
+
setLinks(refs) {
|
|
1489
|
+
refs.linkObjTable.forEach(item => {
|
|
1490
|
+
const refValue = refs.objects.indexOf(item.obj());
|
|
1491
|
+
item.setRef(refValue);
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1494
|
+
deserializeProperty(modelPropertyInfo, model) {
|
|
1495
|
+
const propName = modelPropertyInfo.modelName;
|
|
1496
|
+
if (!propName) {
|
|
1497
|
+
return;
|
|
1517
1498
|
}
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
propertyName: pathParts[pathParts.length - 1]
|
|
1521
|
-
};
|
|
1522
|
-
};
|
|
1523
|
-
const realObjectPath = objectPathes[objectPathes.length - 1];
|
|
1524
|
-
const realObject = getAndCreateObject(objectPathes[objectPathes.length - 1]);
|
|
1525
|
-
for (let i = 0; i < objectPathes.length - 1; i++) {
|
|
1526
|
-
((legacyObjectPath, legacyObject) => {
|
|
1527
|
-
Object.defineProperty(legacyObject.object, legacyObject.propertyName, {
|
|
1528
|
-
get: () => {
|
|
1529
|
-
console.warn('DevExpress.' + legacyObjectPath + ' is now deprecated and will be removed in future versions. Use DevExpress.' + realObjectPath + ' instead.');
|
|
1530
|
-
return realObject.object[realObject.propertyName];
|
|
1531
|
-
},
|
|
1532
|
-
set: (newVal) => {
|
|
1533
|
-
console.warn('DevExpress.' + legacyObjectPath + ' is now deprecated and will be removed in future versions. Use DevExpress.' + realObjectPath + ' instead.');
|
|
1534
|
-
realObject.object[realObject.propertyName] = newVal;
|
|
1535
|
-
},
|
|
1536
|
-
configurable: true
|
|
1537
|
-
});
|
|
1538
|
-
})(objectPathes[i], getAndCreateObject(objectPathes[i]));
|
|
1499
|
+
const modelValue = model[propName] !== undefined ? model[propName] : modelPropertyInfo.defaultVal;
|
|
1500
|
+
return this.deserializePropertyValue(modelPropertyInfo, modelValue);
|
|
1539
1501
|
}
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
let currentValue = defaultVal;
|
|
1552
|
-
const subscribers = [];
|
|
1553
|
-
const updateFunc = (newVal) => {
|
|
1554
|
-
if (newVal !== undefined) {
|
|
1555
|
-
if (currentValue !== newVal) {
|
|
1556
|
-
currentValue = newVal;
|
|
1557
|
-
onValueChanged && onValueChanged(newVal);
|
|
1558
|
-
subscribers.forEach(x => x(newVal));
|
|
1502
|
+
deserializeDefaultValue(modelPropertyInfo) {
|
|
1503
|
+
const value = this.deserializePropertyValue(modelPropertyInfo, modelPropertyInfo.defaultVal, false);
|
|
1504
|
+
return value || modelPropertyInfo.defaultVal;
|
|
1505
|
+
}
|
|
1506
|
+
deserializePropertyValue(modelPropertyInfo, modelValue, strict = true) {
|
|
1507
|
+
if (typeof modelPropertyInfo === 'string') {
|
|
1508
|
+
return this.wrapPropertyValue(modelValue);
|
|
1509
|
+
}
|
|
1510
|
+
else if (modelPropertyInfo.array) {
|
|
1511
|
+
if (modelPropertyInfo.from) {
|
|
1512
|
+
return modelPropertyInfo.from(modelValue, this);
|
|
1559
1513
|
}
|
|
1514
|
+
else if (modelPropertyInfo.info) {
|
|
1515
|
+
return this.wrapPropertyArrayValue(Object.keys(modelValue || {}).map(propertyName => {
|
|
1516
|
+
const object = this.createObjectByInfo(modelPropertyInfo.info || []);
|
|
1517
|
+
this.deserialize(object, modelValue[propertyName] || {});
|
|
1518
|
+
return object;
|
|
1519
|
+
}));
|
|
1520
|
+
}
|
|
1521
|
+
return;
|
|
1560
1522
|
}
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
const subscribe = (callback) => {
|
|
1564
|
-
subscribers.push(callback);
|
|
1565
|
-
return () => subscribers.splice(subscribers.indexOf(callback), 1);
|
|
1566
|
-
};
|
|
1567
|
-
const notifySubscribers = (newVal) => {
|
|
1568
|
-
if (currentValue !== newVal) {
|
|
1569
|
-
currentValue = newVal;
|
|
1570
|
-
subscribers.forEach(x => x(newVal));
|
|
1523
|
+
else if (modelPropertyInfo.from) {
|
|
1524
|
+
return modelPropertyInfo.from(modelValue, this);
|
|
1571
1525
|
}
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
const
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
function _processLocalization(id, _removeWinSymbols = removeWinSymbols) {
|
|
1590
|
-
const text = localize(id);
|
|
1591
|
-
if (text && _removeWinSymbols) {
|
|
1592
|
-
if (text.indexOf('&') !== -1 ||
|
|
1593
|
-
text.indexOf('<u>') !== -1 ||
|
|
1594
|
-
text.indexOf('</u>') !== -1) {
|
|
1595
|
-
const obj = {};
|
|
1596
|
-
obj[id] = text.replace('&', '').replace('<u>', '').replace('</u>', '');
|
|
1597
|
-
loadMessages(obj);
|
|
1598
|
-
return obj[id];
|
|
1526
|
+
else if (modelPropertyInfo.type) {
|
|
1527
|
+
const ctorResult = new modelPropertyInfo.type(modelValue, this, modelPropertyInfo.info);
|
|
1528
|
+
if (!ctorResult._model) {
|
|
1529
|
+
this.deserialize(ctorResult, modelValue || {}, modelPropertyInfo.info);
|
|
1530
|
+
}
|
|
1531
|
+
return ctorResult;
|
|
1532
|
+
}
|
|
1533
|
+
else if (modelPropertyInfo.info) {
|
|
1534
|
+
const object = this.createObjectByInfo(modelPropertyInfo.info);
|
|
1535
|
+
this.deserialize(object, modelValue || {});
|
|
1536
|
+
return object;
|
|
1537
|
+
}
|
|
1538
|
+
else if (modelPropertyInfo.modelName) {
|
|
1539
|
+
return this.wrapPropertyValue(modelValue);
|
|
1540
|
+
}
|
|
1541
|
+
if (strict) {
|
|
1542
|
+
throw new Error("Invalid info '" + JSON.stringify(modelPropertyInfo) + "'");
|
|
1599
1543
|
}
|
|
1544
|
+
return;
|
|
1600
1545
|
}
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
}
|
|
1605
|
-
function getLocalization(text, id = null, _removeWinSymbols = removeWinSymbols) {
|
|
1606
|
-
let _localizedText = id && localize(id) || _getLocalization(text);
|
|
1607
|
-
_localizedText = id && _processLocalization(id, _removeWinSymbols) || _localizedText;
|
|
1608
|
-
if (isCustomizedWithUpdateLocalizationMethod(_localizedText)) {
|
|
1609
|
-
text = _localizedText;
|
|
1546
|
+
setLinkProperty(viewModel, propertyName, newVal) {
|
|
1547
|
+
viewModel[propertyName] = newVal;
|
|
1548
|
+
return viewModel[propertyName];
|
|
1610
1549
|
}
|
|
1611
|
-
|
|
1612
|
-
return
|
|
1550
|
+
getLinkProperty(viewModel, propertyName) {
|
|
1551
|
+
return viewModel[propertyName];
|
|
1613
1552
|
}
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
const messages = {};
|
|
1619
|
-
const custom_localization_values = {};
|
|
1620
|
-
function selectPlaceholder() {
|
|
1621
|
-
return getLocalization('Select...', 'AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText');
|
|
1622
|
-
}
|
|
1623
|
-
function noDataText() {
|
|
1624
|
-
return getLocalization('No data to display', 'AnalyticsCoreStringId.DataPreview_Empty');
|
|
1625
|
-
}
|
|
1626
|
-
function searchPlaceholder() {
|
|
1627
|
-
return getLocalization('Enter text to search...', 'AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText');
|
|
1628
|
-
}
|
|
1629
|
-
function resolveFromPromises(promises, createModel) {
|
|
1630
|
-
const deferred = external_jQuery_namespaceObject.Deferred();
|
|
1631
|
-
if (promises.length > 0) {
|
|
1632
|
-
external_jQuery_namespaceObject.when(...promises).done((...messages) => {
|
|
1633
|
-
messages.forEach(x => loadMessages(x[0]));
|
|
1634
|
-
}).always(() => deferred.resolve(createModel()));
|
|
1553
|
+
setReferencedProperty(viewModel, model, refValue) {
|
|
1554
|
+
if (Object.keys(model).some(key => model[key] === xtraNullString))
|
|
1555
|
+
return;
|
|
1556
|
+
this._refTable[refValue] = viewModel;
|
|
1635
1557
|
}
|
|
1636
|
-
|
|
1637
|
-
|
|
1558
|
+
generateProperty(model, propertyName, value) {
|
|
1559
|
+
defaultPropertyDeserializatonEngine.generateProperty(model, propertyName, value);
|
|
1638
1560
|
}
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
function isCustomizedWithUpdateLocalizationMethod(text) {
|
|
1642
|
-
return !!custom_localization_values[text];
|
|
1643
|
-
}
|
|
1644
|
-
function localizeWithUpdateLocalizationMethod(oldText) {
|
|
1645
|
-
return isCustomizedWithUpdateLocalizationMethod(oldText) ? getLocalization(oldText) : false;
|
|
1646
|
-
}
|
|
1647
|
-
function localize(val) {
|
|
1648
|
-
return messages[val];
|
|
1649
|
-
}
|
|
1650
|
-
function formatDate(val) {
|
|
1651
|
-
return external_DevExpress_localization_namespaceObject.formatDate(val, 'shortDate');
|
|
1652
|
-
}
|
|
1653
|
-
function parseDate(val, useDefault = true, format) {
|
|
1654
|
-
if (!useDefault)
|
|
1655
|
-
return format ? external_DevExpress_localization_namespaceObject.parseDate(val, format) : external_DevExpress_localization_namespaceObject.parseDate(val, undefined);
|
|
1656
|
-
if (val) {
|
|
1657
|
-
if (val instanceof Date)
|
|
1658
|
-
return val;
|
|
1659
|
-
return deserializeDate(val);
|
|
1561
|
+
generateArrayProperty(model, propertyName, value) {
|
|
1562
|
+
defaultPropertyDeserializatonEngine.generateArrayProperty(model, propertyName, value);
|
|
1660
1563
|
}
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
if (
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1564
|
+
deserialize(viewModel, model, serializationsInfo = []) {
|
|
1565
|
+
if (!model) {
|
|
1566
|
+
return;
|
|
1567
|
+
}
|
|
1568
|
+
viewModel._model = extend({}, model);
|
|
1569
|
+
if (!viewModel['events']) {
|
|
1570
|
+
viewModel['events'] = new EventPropertyManager();
|
|
1571
|
+
}
|
|
1572
|
+
if (!viewModel['getInfo'])
|
|
1573
|
+
viewModel['getInfo'] = () => serializationsInfo;
|
|
1574
|
+
serializationsInfo = viewModel.getInfo();
|
|
1575
|
+
const refValue = model['@Ref'];
|
|
1576
|
+
const proto = Object.getPrototypeOf(viewModel);
|
|
1577
|
+
serializationsInfo.forEach((modelPropertyInfo) => {
|
|
1578
|
+
const propertyName = modelPropertyInfo.propertyName, propName = modelPropertyInfo.modelName;
|
|
1579
|
+
if (model[propName] !== undefined) {
|
|
1580
|
+
delete viewModel._model[propName];
|
|
1581
|
+
}
|
|
1582
|
+
let property = undefined;
|
|
1583
|
+
if (modelPropertyInfo.link) {
|
|
1584
|
+
property = this.wrapPropertyValue(null);
|
|
1585
|
+
const modelValue = model[modelPropertyInfo.modelName];
|
|
1586
|
+
if (modelValue) {
|
|
1587
|
+
const refVal = modelValue && modelValue.slice('#Ref-'.length);
|
|
1588
|
+
this._linkTable[refVal] = this._linkTable[refVal] || [];
|
|
1589
|
+
const self = this;
|
|
1590
|
+
this._linkTable[refVal].push(function (newVal) {
|
|
1591
|
+
if (arguments.length === 0)
|
|
1592
|
+
return self.getLinkProperty(viewModel, propertyName);
|
|
1593
|
+
else
|
|
1594
|
+
return self.setLinkProperty(viewModel, propertyName, newVal);
|
|
1595
|
+
});
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
else {
|
|
1599
|
+
property = this.deserializeProperty(modelPropertyInfo, model);
|
|
1600
|
+
}
|
|
1601
|
+
const descriptor = Object.getOwnPropertyDescriptor(proto, propertyName);
|
|
1602
|
+
if (property !== undefined && (!descriptor || !!descriptor.set)) {
|
|
1603
|
+
this.generateProperty(viewModel, propertyName, property);
|
|
1604
|
+
}
|
|
1605
|
+
if (!(propertyName in viewModel) && property === undefined && modelPropertyInfo.array) {
|
|
1606
|
+
this.generateArrayProperty(viewModel, propertyName, []);
|
|
1607
|
+
}
|
|
1608
|
+
});
|
|
1609
|
+
if (refValue) {
|
|
1610
|
+
this.setReferencedProperty(viewModel, model, refValue);
|
|
1611
|
+
}
|
|
1612
|
+
this.linkObjects();
|
|
1613
|
+
}
|
|
1614
|
+
serialize(viewModel, serializationsInfo, refs = null) {
|
|
1615
|
+
if (!serializationsInfo && !refs) {
|
|
1616
|
+
return this._serialize(viewModel, [], null);
|
|
1617
|
+
}
|
|
1618
|
+
return this._serialize(viewModel, serializationsInfo || [], refs);
|
|
1619
|
+
}
|
|
1620
|
+
_isSerializableValue(resultValue) {
|
|
1621
|
+
return (isPlainObject(resultValue) && !isEmptyObject(resultValue)) || (Array.isArray(resultValue) && resultValue['length'] > 0) || (!Array.isArray(resultValue) && !isPlainObject(resultValue));
|
|
1622
|
+
}
|
|
1623
|
+
serializeProperty(modelPropertyInfo, viewModel, serializationsInfo, refs, result) {
|
|
1624
|
+
const propertyName = modelPropertyInfo.propertyName;
|
|
1625
|
+
let value = this.unwrapPropertyValue('_' + propertyName in viewModel ? viewModel['_' + propertyName] : viewModel[propertyName]), defaultVal = modelPropertyInfo.defaultVal;
|
|
1626
|
+
if (modelPropertyInfo.beforeSerialize)
|
|
1627
|
+
value = modelPropertyInfo.beforeSerialize(value);
|
|
1628
|
+
if (!!modelPropertyInfo.from) {
|
|
1629
|
+
defaultVal = this.unwrapPropertyValue(modelPropertyInfo.from(defaultVal, this));
|
|
1630
|
+
}
|
|
1631
|
+
let resultValue = {};
|
|
1632
|
+
if (!modelPropertyInfo.modelName) {
|
|
1633
|
+
return;
|
|
1634
|
+
}
|
|
1635
|
+
if (modelPropertyInfo.alwaysSerialize || ((value !== undefined && value !== null) && ((isPlainObject(value) || !isEmptyObject(value)) || (Array.isArray(value) && value.length > 0) || (!Array.isArray(value) && !isPlainObject(value))) && (value !== defaultVal))) {
|
|
1636
|
+
if (modelPropertyInfo.link) {
|
|
1637
|
+
refs.linkObjTable.push({
|
|
1638
|
+
obj: () => value,
|
|
1639
|
+
setRef: (index) => {
|
|
1640
|
+
if (index < 0) {
|
|
1641
|
+
delete result[modelPropertyInfo.modelName];
|
|
1642
|
+
}
|
|
1643
|
+
else {
|
|
1644
|
+
result[modelPropertyInfo.modelName] = '#Ref-' + index;
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
});
|
|
1648
|
+
resultValue = undefined;
|
|
1649
|
+
}
|
|
1650
|
+
else if (modelPropertyInfo.array) {
|
|
1651
|
+
resultValue = {};
|
|
1652
|
+
let index = 1;
|
|
1653
|
+
value.forEach((item) => {
|
|
1654
|
+
const info = modelPropertyInfo.info || null;
|
|
1655
|
+
const item_ = this._serialize(item, info, refs);
|
|
1656
|
+
if (this._isSerializableValue(item_) || modelPropertyInfo.alwaysSerialize) {
|
|
1657
|
+
resultValue['Item' + index] = item_;
|
|
1658
|
+
if (this._options.useRefs) {
|
|
1659
|
+
item_['@Ref'] = (refs.objects.push(item) - 1).toString();
|
|
1660
|
+
}
|
|
1661
|
+
index++;
|
|
1662
|
+
}
|
|
1663
|
+
});
|
|
1664
|
+
}
|
|
1665
|
+
else if (modelPropertyInfo.from) {
|
|
1666
|
+
if (value['isEmpty'] && value['isEmpty']()) {
|
|
1667
|
+
resultValue = {};
|
|
1668
|
+
}
|
|
1669
|
+
else {
|
|
1670
|
+
resultValue = modelPropertyInfo.toJsonObject ? modelPropertyInfo.toJsonObject(value, this, refs) : value.toString();
|
|
1684
1671
|
}
|
|
1685
1672
|
}
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
content: _getFileContent(fr.result, options.readMode)
|
|
1693
|
-
});
|
|
1673
|
+
else if (modelPropertyInfo.info || value['getInfo']) {
|
|
1674
|
+
resultValue = this._serialize(value, modelPropertyInfo.info, refs);
|
|
1675
|
+
}
|
|
1676
|
+
else if (modelPropertyInfo.modelName) {
|
|
1677
|
+
if (value instanceof Date) {
|
|
1678
|
+
resultValue = this._options && this._options.serializeDate(value);
|
|
1694
1679
|
}
|
|
1695
|
-
|
|
1696
|
-
|
|
1680
|
+
else {
|
|
1681
|
+
resultValue = value;
|
|
1697
1682
|
}
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
}
|
|
1706
|
-
const fileUploaderId = 'dxd-fileuploader-input';
|
|
1707
|
-
function createFileUploaderElement() {
|
|
1708
|
-
const input = document.createElement('input');
|
|
1709
|
-
input.type = 'file';
|
|
1710
|
-
input.id = fileUploaderId;
|
|
1711
|
-
input.style.width = '0px';
|
|
1712
|
-
input.style.height = '0px';
|
|
1713
|
-
input.style.display = 'none';
|
|
1714
|
-
document.body.appendChild(input);
|
|
1715
|
-
return input;
|
|
1716
|
-
}
|
|
1717
|
-
let uploadFile = (options) => {
|
|
1718
|
-
const deferred = external_jQuery_namespaceObject.Deferred();
|
|
1719
|
-
let element = document.getElementById(fileUploaderId);
|
|
1720
|
-
if (!element) {
|
|
1721
|
-
element = createFileUploaderElement();
|
|
1722
|
-
}
|
|
1723
|
-
element.accept = options.accept;
|
|
1724
|
-
element.onchange = () => {
|
|
1725
|
-
_uploadFile(element, deferred, options);
|
|
1726
|
-
element.value = '';
|
|
1727
|
-
};
|
|
1728
|
-
element.click();
|
|
1729
|
-
return deferred.promise();
|
|
1730
|
-
};
|
|
1731
|
-
const _replaceUploadFile = (newFunc) => uploadFile = newFunc;
|
|
1732
|
-
function setUploadFile(newFunc) {
|
|
1733
|
-
uploadFile = newFunc;
|
|
1734
|
-
}
|
|
1735
|
-
function compareEditorInfo(editor1, editor2) {
|
|
1736
|
-
return !!editor1 && !!editor2 &&
|
|
1737
|
-
editor1.header === editor2.header
|
|
1738
|
-
&& editor1.content === editor2.content
|
|
1739
|
-
&& editor1.editorType === editor2.editorType;
|
|
1740
|
-
}
|
|
1741
|
-
function findMatchesInString(stringWhereSearch, searchPattern, options) {
|
|
1742
|
-
if (!options) {
|
|
1743
|
-
const searchExpr = escapeToRegExp(searchPattern);
|
|
1744
|
-
return !!stringWhereSearch && stringWhereSearch.match(new RegExp(searchExpr, 'gi'));
|
|
1745
|
-
}
|
|
1746
|
-
let searchExpr = !options.canUseRegex ? escapeToRegExp(searchPattern) : searchPattern;
|
|
1747
|
-
if (options.searchMode == SearchMode.startWith && !options.canUseRegex)
|
|
1748
|
-
searchExpr = '^' + searchExpr;
|
|
1749
|
-
let exprRule = '';
|
|
1750
|
-
if (!options.caseSensitive)
|
|
1751
|
-
exprRule = exprRule + 'i';
|
|
1752
|
-
if (options.globalMatch)
|
|
1753
|
-
exprRule = exprRule + 'g';
|
|
1754
|
-
return !!stringWhereSearch && stringWhereSearch.match(new RegExp(searchExpr, exprRule));
|
|
1755
|
-
}
|
|
1756
|
-
function escapeToRegExp(value) {
|
|
1757
|
-
return value.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
|
|
1758
|
-
}
|
|
1759
|
-
function stringRemove(value, start, count) {
|
|
1760
|
-
count = count ? count : value.length - start;
|
|
1761
|
-
return value.slice(0, start) + value.slice(start + count, value.length);
|
|
1762
|
-
}
|
|
1763
|
-
function stringReplace(value, start, count, newChar = '') {
|
|
1764
|
-
let temp = value;
|
|
1765
|
-
temp = stringRemove(temp, start, count);
|
|
1766
|
-
temp = stringInsert(temp, start, Array(count + 1).join(newChar));
|
|
1767
|
-
return temp;
|
|
1768
|
-
}
|
|
1769
|
-
function stringInsert(value, pos, subStr) {
|
|
1770
|
-
return value.substring(0, pos) + subStr + value.substring(pos);
|
|
1771
|
-
}
|
|
1772
|
-
function formatUnicorn(format, ...args) {
|
|
1773
|
-
return format.replace(/{(\d+)(:[^}]+)?}/g, (match, number, formatSpecifier) => {
|
|
1774
|
-
const value = args[parseInt(number)];
|
|
1775
|
-
if (value !== undefined && value !== null) {
|
|
1776
|
-
if (formatSpecifier) {
|
|
1777
|
-
switch (formatSpecifier.substring(1)) {
|
|
1778
|
-
case 'd':
|
|
1779
|
-
return formatDate(new Date(value));
|
|
1683
|
+
}
|
|
1684
|
+
else {
|
|
1685
|
+
throw new Error("Invalid info '" + serializationsInfo.stringify() + "'");
|
|
1686
|
+
}
|
|
1687
|
+
if (modelPropertyInfo.alwaysSerialize || this._isSerializableValue(resultValue)) {
|
|
1688
|
+
if (modelPropertyInfo.asRef) {
|
|
1689
|
+
resultValue['@Ref'] = (refs.objects.push(value) - 1).toString();
|
|
1780
1690
|
}
|
|
1691
|
+
result[modelPropertyInfo.modelName] = resultValue;
|
|
1781
1692
|
}
|
|
1782
|
-
return value.toString();
|
|
1783
1693
|
}
|
|
1784
|
-
|
|
1785
|
-
|
|
1694
|
+
}
|
|
1695
|
+
_serialize(viewModel, serializationsInfo, refs) {
|
|
1696
|
+
const result = extend(true, {}, viewModel._model), isInitial = refs === null;
|
|
1697
|
+
refs = refs || { linkObjTable: [], objects: [] };
|
|
1698
|
+
if (result._restoreLinks) {
|
|
1699
|
+
refs.linkObjTable.push.apply(refs.linkObjTable, result._restoreLinks.map((x) => x(result)));
|
|
1700
|
+
delete result._restoreLinks;
|
|
1786
1701
|
}
|
|
1787
|
-
|
|
1702
|
+
if (result._refs) {
|
|
1703
|
+
result._refs.forEach((x) => x(result, (refs.objects.push('0') - 1).toString()));
|
|
1704
|
+
delete result._refs;
|
|
1705
|
+
}
|
|
1706
|
+
serializationsInfo = viewModel.getInfo ? viewModel.getInfo() : serializationsInfo;
|
|
1707
|
+
delete result['@Ref'];
|
|
1708
|
+
if (viewModel['isEmpty'] && viewModel['isEmpty']())
|
|
1709
|
+
return {};
|
|
1710
|
+
serializationsInfo.forEach((modelPropertyInfo) => {
|
|
1711
|
+
this.serializeProperty(modelPropertyInfo, viewModel, serializationsInfo, refs, result);
|
|
1712
|
+
});
|
|
1713
|
+
if (isInitial)
|
|
1714
|
+
this.setLinks(refs);
|
|
1715
|
+
return result;
|
|
1716
|
+
}
|
|
1788
1717
|
}
|
|
1789
|
-
var KeyboardEnum;
|
|
1790
|
-
(function (KeyboardEnum) {
|
|
1791
|
-
KeyboardEnum["Plus"] = "+";
|
|
1792
|
-
KeyboardEnum["Minus"] = "-";
|
|
1793
|
-
KeyboardEnum["Equal"] = "=";
|
|
1794
|
-
KeyboardEnum["Tab"] = "Tab";
|
|
1795
|
-
KeyboardEnum["Delete"] = "Delete";
|
|
1796
|
-
KeyboardEnum["Enter"] = "Enter";
|
|
1797
|
-
KeyboardEnum["Esc"] = "Escape";
|
|
1798
|
-
KeyboardEnum["Space"] = " ";
|
|
1799
|
-
KeyboardEnum["End"] = "End";
|
|
1800
|
-
KeyboardEnum["Home"] = "Home";
|
|
1801
|
-
KeyboardEnum["PageUp"] = "PageUp";
|
|
1802
|
-
KeyboardEnum["PageDown"] = "PageDown";
|
|
1803
|
-
KeyboardEnum["ArrowLeft"] = "ArrowLeft";
|
|
1804
|
-
KeyboardEnum["ArrowUp"] = "ArrowUp";
|
|
1805
|
-
KeyboardEnum["ArrowRight"] = "ArrowRight";
|
|
1806
|
-
KeyboardEnum["ArrowDown"] = "ArrowDown";
|
|
1807
|
-
})(KeyboardEnum || (KeyboardEnum = {}));
|
|
1808
|
-
var KeyboardCodesEnum;
|
|
1809
|
-
(function (KeyboardCodesEnum) {
|
|
1810
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Tab"] = 9] = "Tab";
|
|
1811
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Enter"] = 13] = "Enter";
|
|
1812
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Esc"] = 27] = "Esc";
|
|
1813
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Space"] = 32] = "Space";
|
|
1814
|
-
KeyboardCodesEnum[KeyboardCodesEnum["End"] = 35] = "End";
|
|
1815
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Home"] = 36] = "Home";
|
|
1816
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Left"] = 37] = "Left";
|
|
1817
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Up"] = 38] = "Up";
|
|
1818
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Right"] = 39] = "Right";
|
|
1819
|
-
KeyboardCodesEnum[KeyboardCodesEnum["Down"] = 40] = "Down";
|
|
1820
|
-
})(KeyboardCodesEnum || (KeyboardCodesEnum = {}));
|
|
1821
|
-
|
|
1822
|
-
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/core/tools/_keyboardHelper.js
|
|
1823
1718
|
|
|
1719
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/native/multiplatformEngine.js
|
|
1824
1720
|
|
|
1825
1721
|
|
|
1826
1722
|
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1723
|
+
function isComplexProperty(currentProperty) {
|
|
1724
|
+
return typeof currentProperty === 'object' && 'subscribables' in currentProperty;
|
|
1725
|
+
}
|
|
1726
|
+
function subscribableProperty(model, properties) {
|
|
1727
|
+
return { model, properties };
|
|
1728
|
+
}
|
|
1729
|
+
class MultiplatformEngine {
|
|
1730
|
+
cleanNode(child) { }
|
|
1731
|
+
addDisposeCallback(element, disposeCallback) { }
|
|
1732
|
+
removeDisposeCallback(element, disposeCallback) { }
|
|
1733
|
+
peek(value) {
|
|
1734
|
+
return value;
|
|
1834
1735
|
}
|
|
1835
|
-
|
|
1836
|
-
return
|
|
1736
|
+
getPropertyValue(model, propertyName) {
|
|
1737
|
+
return model[propertyName];
|
|
1837
1738
|
}
|
|
1838
|
-
|
|
1839
|
-
|
|
1739
|
+
setPropertyValue(model, propertyName, value, currentValue) {
|
|
1740
|
+
model[propertyName] = value;
|
|
1840
1741
|
}
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
constructor(selection, undoEngine) {
|
|
1844
|
-
super();
|
|
1845
|
-
this._selection = selection;
|
|
1846
|
-
this._undoEngine = undoEngine;
|
|
1847
|
-
this.shortcutMap = {
|
|
1848
|
-
Esc: (e) => { this.processEsc(); return true; },
|
|
1849
|
-
Left: (e) => { this.moveSelectedControls(true, true, -1); return true; },
|
|
1850
|
-
Up: (e) => { this.moveSelectedControls(true, false, -1); return true; },
|
|
1851
|
-
Right: (e) => { this.moveSelectedControls(false, true, 1); return true; },
|
|
1852
|
-
Down: (e) => { this.moveSelectedControls(false, false, 1); return true; }
|
|
1853
|
-
};
|
|
1742
|
+
generateProperty(model, propertyName, value, options) {
|
|
1743
|
+
defaultPropertyDeserializatonEngine.generateProperty(model, propertyName, value, options);
|
|
1854
1744
|
}
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
parent && this._selection.focused(parent);
|
|
1745
|
+
generateArrayProperty(model, propertyName, value, options) {
|
|
1746
|
+
defaultPropertyDeserializatonEngine.generateArrayProperty(model, propertyName, value, options);
|
|
1858
1747
|
}
|
|
1859
|
-
|
|
1860
|
-
const
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1748
|
+
createComputedProperty(configurableModel, configurablePropertyName, comOptions, properties, options, pure = false) {
|
|
1749
|
+
const computedResults = {
|
|
1750
|
+
prevValue: void 0,
|
|
1751
|
+
value: void 0
|
|
1752
|
+
};
|
|
1753
|
+
const notifyChanges = () => {
|
|
1754
|
+
const newValue = configurableModel[configurablePropertyName];
|
|
1755
|
+
computedResults['prevValue'] = computedResults['value'];
|
|
1756
|
+
computedResults['value'] = newValue;
|
|
1757
|
+
if (typeof newValue !== 'object' && computedResults['prevValue'] === computedResults['value']) {
|
|
1758
|
+
return;
|
|
1759
|
+
}
|
|
1760
|
+
const args = {
|
|
1761
|
+
propertyName: configurablePropertyName,
|
|
1762
|
+
newValue
|
|
1763
|
+
};
|
|
1764
|
+
configurableModel['onPropertyChanged'] && configurableModel['onPropertyChanged'](args);
|
|
1765
|
+
updateViewModel(configurableModel, args);
|
|
1766
|
+
configurableModel['events'] && configurableModel['events'].call('propertyChanged', args);
|
|
1767
|
+
};
|
|
1768
|
+
if (typeof comOptions === 'function') {
|
|
1769
|
+
Object.defineProperty(configurableModel, configurablePropertyName, {
|
|
1770
|
+
configurable: true,
|
|
1771
|
+
enumerable: true,
|
|
1772
|
+
get: () => {
|
|
1773
|
+
return comOptions();
|
|
1774
|
+
}
|
|
1775
|
+
});
|
|
1776
|
+
comOptions();
|
|
1870
1777
|
}
|
|
1871
1778
|
else {
|
|
1872
|
-
|
|
1779
|
+
Object.defineProperty(configurableModel, configurablePropertyName, {
|
|
1780
|
+
configurable: true,
|
|
1781
|
+
enumerable: true,
|
|
1782
|
+
get: () => {
|
|
1783
|
+
return comOptions.read();
|
|
1784
|
+
},
|
|
1785
|
+
set: (newVal) => comOptions.write(newVal)
|
|
1786
|
+
});
|
|
1873
1787
|
}
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1788
|
+
function subscribeProperty(model, properties) {
|
|
1789
|
+
var _a;
|
|
1790
|
+
const curreetModelSubscriptions = {};
|
|
1791
|
+
const currentSubscriptions = [];
|
|
1792
|
+
if (properties === '*') {
|
|
1793
|
+
currentSubscriptions.push((_a = model === null || model === void 0 ? void 0 : model.events) === null || _a === void 0 ? void 0 : _a.on('propertyChanged', () => {
|
|
1794
|
+
notifyChanges();
|
|
1795
|
+
}));
|
|
1878
1796
|
}
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1797
|
+
else {
|
|
1798
|
+
properties.forEach(property => {
|
|
1799
|
+
var _a, _b;
|
|
1800
|
+
if (isComplexProperty(property)) {
|
|
1801
|
+
const eventName = `${property.propertyName}Changed`;
|
|
1802
|
+
currentSubscriptions.push((_a = model === null || model === void 0 ? void 0 : model.events) === null || _a === void 0 ? void 0 : _a.on(eventName, ({ propertyName }) => {
|
|
1803
|
+
curreetModelSubscriptions[propertyName] && curreetModelSubscriptions[propertyName]();
|
|
1804
|
+
if (Array.isArray(model[propertyName])) {
|
|
1805
|
+
const arraySubscriptions = model[propertyName].map((value) => {
|
|
1806
|
+
return subscribeProperty(value, property.subscribables);
|
|
1807
|
+
});
|
|
1808
|
+
curreetModelSubscriptions[propertyName] = () => arraySubscriptions.forEach((sub) => sub());
|
|
1809
|
+
}
|
|
1810
|
+
else {
|
|
1811
|
+
curreetModelSubscriptions[propertyName] = subscribeProperty(model[propertyName], property.subscribables);
|
|
1812
|
+
}
|
|
1813
|
+
notifyChanges();
|
|
1814
|
+
}));
|
|
1815
|
+
}
|
|
1816
|
+
else if (typeof property === 'string') {
|
|
1817
|
+
const eventName = `${property}Changed`;
|
|
1818
|
+
currentSubscriptions.push((_b = model === null || model === void 0 ? void 0 : model.events) === null || _b === void 0 ? void 0 : _b.on(eventName, () => notifyChanges()));
|
|
1819
|
+
}
|
|
1820
|
+
});
|
|
1884
1821
|
}
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1822
|
+
return () => {
|
|
1823
|
+
for (const name in curreetModelSubscriptions)
|
|
1824
|
+
curreetModelSubscriptions[name]();
|
|
1825
|
+
currentSubscriptions.forEach(x => x && x());
|
|
1826
|
+
};
|
|
1888
1827
|
}
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
item.rect(newVal);
|
|
1828
|
+
const subscriptions = properties.map(x => {
|
|
1829
|
+
if (x.model)
|
|
1830
|
+
return subscribeProperty(x.model, x.properties);
|
|
1831
|
+
return () => void 0;
|
|
1832
|
+
});
|
|
1833
|
+
return () => { subscriptions.forEach(x => x()); };
|
|
1834
|
+
}
|
|
1835
|
+
subscribeValue(value, callback) {
|
|
1836
|
+
return () => void 0;
|
|
1837
|
+
}
|
|
1838
|
+
subscribeOnPropertyChanged(model, subscribablePropertyName, callback, onDispose) {
|
|
1839
|
+
if (model && model.events) {
|
|
1840
|
+
const eventName = `${subscribablePropertyName}Changed`;
|
|
1841
|
+
const subscription = model.events.on(eventName, ({ newValue }) => {
|
|
1842
|
+
callback(newValue);
|
|
1905
1843
|
});
|
|
1844
|
+
return () => {
|
|
1845
|
+
subscription();
|
|
1846
|
+
onDispose && onDispose();
|
|
1847
|
+
};
|
|
1906
1848
|
}
|
|
1907
|
-
|
|
1849
|
+
return () => void 0;
|
|
1908
1850
|
}
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
constructor(targetElement) {
|
|
1912
|
-
this._handlers = [];
|
|
1913
|
-
this._targetElement = targetElement;
|
|
1851
|
+
unwrap(value) {
|
|
1852
|
+
return value;
|
|
1914
1853
|
}
|
|
1915
|
-
|
|
1916
|
-
return
|
|
1854
|
+
wrap(value) {
|
|
1855
|
+
return value;
|
|
1917
1856
|
}
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1857
|
+
applyBindings(value, element) { }
|
|
1858
|
+
}
|
|
1859
|
+
const nativeMultiPlatformEngine = new MultiplatformEngine();
|
|
1860
|
+
const nativeModelSerializer = (options) => new NativeModelSerializer(options);
|
|
1861
|
+
let currentModelSerializer = nativeModelSerializer;
|
|
1862
|
+
let currentMultiPlatformEngine = nativeMultiPlatformEngine;
|
|
1863
|
+
function setCurrentMultiplatfromEngine(engine) {
|
|
1864
|
+
currentMultiPlatformEngine = engine;
|
|
1865
|
+
}
|
|
1866
|
+
function setCurrentModelSerializer(serializerCallback) {
|
|
1867
|
+
currentModelSerializer = serializerCallback;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/serializer/_internal.js
|
|
1871
|
+
|
|
1872
|
+
function _defineProperty(legacyObject, realObject, propertyName, newPropertyName) {
|
|
1873
|
+
delete legacyObject[propertyName];
|
|
1874
|
+
newPropertyName = newPropertyName || propertyName;
|
|
1875
|
+
Object.defineProperty(legacyObject, propertyName, {
|
|
1876
|
+
get: () => { return realObject[newPropertyName]; },
|
|
1877
|
+
set: (newVal) => { realObject[newPropertyName] = newVal; },
|
|
1878
|
+
configurable: true
|
|
1879
|
+
});
|
|
1880
|
+
}
|
|
1881
|
+
function _definePropertyByString(rootObject, ...objectPathes) {
|
|
1882
|
+
const getAndCreateObject = (path, createNew = true) => {
|
|
1883
|
+
const pathParts = path.split('.');
|
|
1884
|
+
let foundedObject = rootObject;
|
|
1885
|
+
for (let i = 0; i < pathParts.length - 1; i++) {
|
|
1886
|
+
if (!foundedObject[pathParts[i]] && createNew) {
|
|
1887
|
+
foundedObject[pathParts[i]] = {};
|
|
1888
|
+
}
|
|
1889
|
+
foundedObject = foundedObject[pathParts[i]];
|
|
1927
1890
|
}
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
this._targetElement.removeEventListener(eventName, this._activeHandler);
|
|
1932
|
-
const _handler = (e) => {
|
|
1933
|
-
if (external_jQuery_namespaceObject.fn.constructor(this._targetElement).closest('.dx-designer').length > 0 ||
|
|
1934
|
-
external_jQuery_namespaceObject.fn.constructor(e.target).closest('.dx-designer').length > 0 ||
|
|
1935
|
-
e.target === document.body)
|
|
1936
|
-
handler(e);
|
|
1891
|
+
return {
|
|
1892
|
+
object: foundedObject,
|
|
1893
|
+
propertyName: pathParts[pathParts.length - 1]
|
|
1937
1894
|
};
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1895
|
+
};
|
|
1896
|
+
const realObjectPath = objectPathes[objectPathes.length - 1];
|
|
1897
|
+
const realObject = getAndCreateObject(objectPathes[objectPathes.length - 1]);
|
|
1898
|
+
for (let i = 0; i < objectPathes.length - 1; i++) {
|
|
1899
|
+
((legacyObjectPath, legacyObject) => {
|
|
1900
|
+
Object.defineProperty(legacyObject.object, legacyObject.propertyName, {
|
|
1901
|
+
get: () => {
|
|
1902
|
+
console.warn('DevExpress.' + legacyObjectPath + ' is now deprecated and will be removed in future versions. Use DevExpress.' + realObjectPath + ' instead.');
|
|
1903
|
+
return realObject.object[realObject.propertyName];
|
|
1904
|
+
},
|
|
1905
|
+
set: (newVal) => {
|
|
1906
|
+
console.warn('DevExpress.' + legacyObjectPath + ' is now deprecated and will be removed in future versions. Use DevExpress.' + realObjectPath + ' instead.');
|
|
1907
|
+
realObject.object[realObject.propertyName] = newVal;
|
|
1908
|
+
},
|
|
1909
|
+
configurable: true
|
|
1910
|
+
});
|
|
1911
|
+
})(objectPathes[i], getAndCreateObject(objectPathes[i]));
|
|
1941
1912
|
}
|
|
1942
1913
|
}
|
|
1914
|
+
function addDisposeCallback(element, callback) {
|
|
1915
|
+
let disposeCallback = () => {
|
|
1916
|
+
currentMultiPlatformEngine.removeDisposeCallback(element, disposeCallback);
|
|
1917
|
+
callback && callback();
|
|
1918
|
+
disposeCallback = null;
|
|
1919
|
+
callback = null;
|
|
1920
|
+
};
|
|
1921
|
+
currentMultiPlatformEngine.addDisposeCallback(element, disposeCallback);
|
|
1922
|
+
}
|
|
1923
|
+
function createGlobalModuleVariableFunc(defaultVal, onValueChanged) {
|
|
1924
|
+
let currentValue = defaultVal;
|
|
1925
|
+
const subscribers = [];
|
|
1926
|
+
const updateFunc = (newVal) => {
|
|
1927
|
+
if (newVal !== undefined) {
|
|
1928
|
+
if (currentValue !== newVal) {
|
|
1929
|
+
currentValue = newVal;
|
|
1930
|
+
onValueChanged && onValueChanged(newVal);
|
|
1931
|
+
subscribers.forEach(x => x(newVal));
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
return currentValue;
|
|
1935
|
+
};
|
|
1936
|
+
const subscribe = (callback) => {
|
|
1937
|
+
subscribers.push(callback);
|
|
1938
|
+
return () => subscribers.splice(subscribers.indexOf(callback), 1);
|
|
1939
|
+
};
|
|
1940
|
+
const notifySubscribers = (newVal) => {
|
|
1941
|
+
if (currentValue !== newVal) {
|
|
1942
|
+
currentValue = newVal;
|
|
1943
|
+
subscribers.forEach(x => x(newVal));
|
|
1944
|
+
}
|
|
1945
|
+
};
|
|
1946
|
+
return Object.assign(updateFunc, {
|
|
1947
|
+
subscribe,
|
|
1948
|
+
notifySubscribers
|
|
1949
|
+
});
|
|
1950
|
+
}
|
|
1943
1951
|
|
|
1944
1952
|
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/accessibility/_controlElementBase.js
|
|
1945
1953
|
|
|
@@ -2025,7 +2033,7 @@ class AccessibilityKeyboardHelperBase extends KeyboardHelperBase {
|
|
|
2025
2033
|
}
|
|
2026
2034
|
if (needUpdate) {
|
|
2027
2035
|
this.initialize(undefined, htmlElements);
|
|
2028
|
-
this._handlersManager.bindHandler(
|
|
2036
|
+
this.addDisposable(this._handlersManager.bindHandler(e => this._keyDownHandler(e)));
|
|
2029
2037
|
}
|
|
2030
2038
|
}
|
|
2031
2039
|
};
|
|
@@ -2117,7 +2125,7 @@ class AccessibilityKeyboardHelperBase extends KeyboardHelperBase {
|
|
|
2117
2125
|
this._elementContainer = elementContainer;
|
|
2118
2126
|
this.initialize();
|
|
2119
2127
|
this._handlersManager = new KeyDownHandlersManager(this._elementContainer);
|
|
2120
|
-
this._handlersManager.bindHandler(
|
|
2128
|
+
this.addDisposable(this._handlersManager.bindHandler(e => this._keyDownHandler(e)));
|
|
2121
2129
|
}
|
|
2122
2130
|
handleEscKey(e, index) {
|
|
2123
2131
|
if (this._prevActiveElement) {
|
|
@@ -3601,11 +3609,11 @@ class WizardDragDropHandler extends DragDropHandler {
|
|
|
3601
3609
|
;// CONCATENATED MODULE: external "DevExpress.VERSION"
|
|
3602
3610
|
const external_DevExpress_VERSION_namespaceObject = DevExpress.VERSION;
|
|
3603
3611
|
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/analytics-version.js
|
|
3604
|
-
const version = '23.2.
|
|
3612
|
+
const version = '23.2.5';
|
|
3605
3613
|
|
|
3606
3614
|
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/core/internal/dxtTemplate.js
|
|
3607
3615
|
function dxtTemplate() {
|
|
3608
|
-
const template = '
|
|
3616
|
+
const template = 'eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaU5YSkJWblk1UmxWSk1DMUVkbEJVYkVFeVdVOVJRU0lLZlE9PS5GVjV6QXEwOWlIelYzVkFLVVpWOXVUWHNVTWFZNG1iYm5hMXlUSTFQYlZsL05tSHpsWkZJUE5hYjkya0k3MzN2S2pySTVKZG94cm9NZHdldi9LeFA3RExMbjJaTTYvQlFBVEZYWVVZSUYzUm9JcjJDZU9HWE9zVVpDWkhwTmZDMUh5TFFLUT09In0=';
|
|
3609
3617
|
return template ? JSON.parse(atob(template)) : null;
|
|
3610
3618
|
}
|
|
3611
3619
|
|
|
@@ -14074,7 +14082,6 @@ const editor_template = {
|
|
|
14074
14082
|
|
|
14075
14083
|
|
|
14076
14084
|
|
|
14077
|
-
|
|
14078
14085
|
class dxButtonWithTemplate extends (external_DevExpress_ui_dxButton_default()) {
|
|
14079
14086
|
constructor(element, options) {
|
|
14080
14087
|
options['template'] = editor_template;
|
|
@@ -14083,10 +14090,14 @@ class dxButtonWithTemplate extends (external_DevExpress_ui_dxButton_default()) {
|
|
|
14083
14090
|
_patchOptionValues(options) {
|
|
14084
14091
|
const patchedOptions = super['_patchOptionValues'].call(this, options);
|
|
14085
14092
|
const optionsToExtend = { iconClass: options['iconClass'] };
|
|
14086
|
-
|
|
14093
|
+
patchedOptions.templateData = Object.assign(Object.assign({}, patchedOptions.templateData), optionsToExtend);
|
|
14087
14094
|
return patchedOptions;
|
|
14088
14095
|
}
|
|
14089
14096
|
}
|
|
14097
|
+
function InitButtonWithTemplate(element, options) {
|
|
14098
|
+
const button = new dxButtonWithTemplate(element, options);
|
|
14099
|
+
return () => button === null || button === void 0 ? void 0 : button.dispose();
|
|
14100
|
+
}
|
|
14090
14101
|
external_DevExpress_registerComponent_default()('dxButtonWithTemplate', dxButtonWithTemplate);
|
|
14091
14102
|
|
|
14092
14103
|
;// CONCATENATED MODULE: ./node_modules/@devexpress/analytics-core/core/_actionProvider.js
|
|
@@ -14380,11 +14391,12 @@ external_ko_namespaceObject.bindingHandlers['zoom'] = {
|
|
|
14380
14391
|
update: (element, valueAccessor) => updateZoomBinding(element, external_ko_namespaceObject.unwrap(valueAccessor()))
|
|
14381
14392
|
};
|
|
14382
14393
|
external_ko_namespaceObject.bindingHandlers['keyDownActions'] = (() => {
|
|
14383
|
-
const handlersManager =
|
|
14394
|
+
const handlersManager = GetWindowKeyDownHandlersManager();
|
|
14384
14395
|
return {
|
|
14385
14396
|
init: function (element, valueAccessor) {
|
|
14386
14397
|
const actionLists = valueAccessor();
|
|
14387
|
-
handlersManager.bindHandler(
|
|
14398
|
+
const disposeFunc = handlersManager.bindHandler(e => actionLists.processShortcut(e));
|
|
14399
|
+
addDisposeCallback(element, () => disposeFunc());
|
|
14388
14400
|
}
|
|
14389
14401
|
};
|
|
14390
14402
|
})();
|
|
@@ -17338,10 +17350,29 @@ external_ko_namespaceObject.bindingHandlers['dxCollectionEditor'] = {
|
|
|
17338
17350
|
|
|
17339
17351
|
|
|
17340
17352
|
|
|
17341
|
-
|
|
17342
17353
|
const editor_prefix = 'dx-ellipsiseditor', EDITOR_CLASS = editor_prefix + ' dx-dropdowneditor', EDITOR_BUTTON_CLASS = editor_prefix + '-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button', EDITOR_BUTTON_ICON_CLASS = editor_prefix + '-icon dx-ellipsis-image dx-dropdowneditor-icon', EDITOR_BUTTON_ICON_TEMPLATE = 'dxrd-svg-ellipsis', EDITOR_WARNING_STATE_CLASS = 'dx-ellipsiseditor-warning';
|
|
17343
17354
|
class dxEllipsisEditor extends (external_DevExpress_ui_dxTextBox_default()) {
|
|
17344
17355
|
constructor(element, options) {
|
|
17356
|
+
const ellipsisButton = {
|
|
17357
|
+
name: 'ellipsisButton',
|
|
17358
|
+
location: 'after',
|
|
17359
|
+
options: {
|
|
17360
|
+
disabled: false,
|
|
17361
|
+
template: SvgTemplatesEngine.templates[EDITOR_BUTTON_ICON_TEMPLATE],
|
|
17362
|
+
icon: EDITOR_BUTTON_ICON_TEMPLATE,
|
|
17363
|
+
onClick: options.buttonAction,
|
|
17364
|
+
elementAttr: {
|
|
17365
|
+
class: EDITOR_BUTTON_CLASS
|
|
17366
|
+
}
|
|
17367
|
+
}
|
|
17368
|
+
};
|
|
17369
|
+
const clearButton = {
|
|
17370
|
+
name: 'clear'
|
|
17371
|
+
};
|
|
17372
|
+
options.buttons = [
|
|
17373
|
+
clearButton,
|
|
17374
|
+
ellipsisButton
|
|
17375
|
+
];
|
|
17345
17376
|
super(element, options);
|
|
17346
17377
|
}
|
|
17347
17378
|
_init() {
|
|
@@ -17350,7 +17381,6 @@ class dxEllipsisEditor extends (external_DevExpress_ui_dxTextBox_default()) {
|
|
|
17350
17381
|
this._$element = external_jQuery_namespaceObject.fn.constructor(this.element());
|
|
17351
17382
|
}
|
|
17352
17383
|
this._$element.addClass(EDITOR_CLASS);
|
|
17353
|
-
this._koContext = external_ko_namespaceObject.contextFor(this._$element.get(0));
|
|
17354
17384
|
}
|
|
17355
17385
|
_render() {
|
|
17356
17386
|
super['_render'].apply(this);
|
|
@@ -17368,21 +17398,22 @@ class dxEllipsisEditor extends (external_DevExpress_ui_dxTextBox_default()) {
|
|
|
17368
17398
|
this._$element.removeClass(EDITOR_WARNING_STATE_CLASS);
|
|
17369
17399
|
}
|
|
17370
17400
|
}
|
|
17371
|
-
_renderButton() {
|
|
17372
|
-
this._$button = external_jQuery_namespaceObject.fn.constructor('<div />').addClass(EDITOR_BUTTON_CLASS);
|
|
17373
|
-
this._attachButtonEvents();
|
|
17374
|
-
this._$buttonIcon = external_jQuery_namespaceObject.fn.constructor('<div />').addClass(EDITOR_BUTTON_ICON_CLASS).height('100%').append(SvgTemplatesEngine.templates[EDITOR_BUTTON_ICON_TEMPLATE]).appendTo(this._$button);
|
|
17375
|
-
external_ko_namespaceObject.applyBindingsToDescendants(this._koContext, this._$buttonIcon[0]);
|
|
17376
|
-
const buttonsContainer = this['_buttonsContainer']();
|
|
17377
|
-
this._$button.appendTo(buttonsContainer);
|
|
17378
|
-
}
|
|
17379
17401
|
_updateButtonSize() {
|
|
17380
17402
|
this._$buttonIcon.height(external_jQuery_namespaceObject.fn.constructor(this.element()).height());
|
|
17381
17403
|
}
|
|
17404
|
+
_renderButton() {
|
|
17405
|
+
const buttonsContainer = this['_buttonsContainer']();
|
|
17406
|
+
const children = buttonsContainer.children();
|
|
17407
|
+
const buttonsContainerContent = children[1];
|
|
17408
|
+
this._$button = external_jQuery_namespaceObject.fn.constructor(buttonsContainerContent);
|
|
17409
|
+
external_jQuery_namespaceObject.fn.constructor(this._$button.children()[0]).addClass(EDITOR_BUTTON_ICON_CLASS);
|
|
17410
|
+
this._attachButtonEvents();
|
|
17411
|
+
this._removeCustomHoveredStyle();
|
|
17412
|
+
}
|
|
17382
17413
|
_attachButtonEvents() {
|
|
17383
|
-
const subscribeElements = [];
|
|
17384
17414
|
if (!this._$input)
|
|
17385
17415
|
this._$input = external_jQuery_namespaceObject.fn.constructor(this['_input']());
|
|
17416
|
+
const subscribeElements = [];
|
|
17386
17417
|
this._$button.off('click');
|
|
17387
17418
|
this._$input.off('click');
|
|
17388
17419
|
if (!this.option('disabled'))
|
|
@@ -17393,6 +17424,12 @@ class dxEllipsisEditor extends (external_DevExpress_ui_dxTextBox_default()) {
|
|
|
17393
17424
|
$element.on('click', this.buttonAction.bind(this));
|
|
17394
17425
|
});
|
|
17395
17426
|
}
|
|
17427
|
+
_removeCustomHoveredStyle() {
|
|
17428
|
+
this._$button.off('mouseover');
|
|
17429
|
+
this._$button.on('mouseover', () => {
|
|
17430
|
+
external_jQuery_namespaceObject.fn.constructor(this.element()).removeClass('dx-custom-button-hovered');
|
|
17431
|
+
});
|
|
17432
|
+
}
|
|
17396
17433
|
_attachInputEvents() {
|
|
17397
17434
|
const input = this['_input']()[0];
|
|
17398
17435
|
if (!input)
|