devextreme 19.1.6 → 19.1.7
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/animation/easing.js +2 -2
- package/animation/frame.d.ts +2 -2
- package/animation/frame.js +2 -2
- package/animation/fx.d.ts +2 -2
- package/animation/fx.js +2 -2
- package/animation/position.js +2 -2
- package/animation/presets/presets.js +2 -2
- package/animation/presets.d.ts +2 -2
- package/animation/presets.js +2 -2
- package/animation/transition_executor/transition_executor.js +2 -2
- package/animation/transition_executor.d.ts +2 -2
- package/animation/transition_executor.js +2 -2
- package/animation/translator.js +2 -2
- package/aspnet.js +2 -2
- package/bundles/dx.all.d.ts +5886 -5886
- package/bundles/modules/core.js +2 -2
- package/bundles/modules/data.js +2 -2
- package/bundles/modules/data.odata.js +2 -2
- package/bundles/modules/file_providers.js +2 -2
- package/bundles/modules/ui.js +2 -2
- package/bundles/modules/viz.js +2 -2
- package/color.js +2 -2
- package/core/action.js +2 -2
- package/core/class.js +2 -2
- package/core/component.js +2 -2
- package/core/component_registrator.js +2 -2
- package/core/component_registrator_callbacks.js +2 -2
- package/core/config.d.ts +2 -2
- package/core/config.js +2 -2
- package/core/devices.d.ts +2 -2
- package/core/devices.js +2 -2
- package/core/dom_adapter.js +23 -12
- package/core/dom_component.d.ts +2 -2
- package/core/dom_component.js +78 -58
- package/core/element.d.ts +2 -2
- package/core/element_data.js +2 -2
- package/core/errors.js +2 -2
- package/core/events_mixin.js +2 -2
- package/core/events_strategy.js +2 -2
- package/core/guid.d.ts +2 -2
- package/core/guid.js +2 -2
- package/core/http_request.js +2 -2
- package/core/memorized_callbacks.js +2 -2
- package/core/polyfills/promise.js +2 -2
- package/core/polyfills/weak_map.js +2 -2
- package/core/remove_event.js +2 -2
- package/core/renderer.js +2 -2
- package/core/renderer_base.js +2 -2
- package/core/utils/ajax.js +2 -2
- package/core/utils/array.js +2 -2
- package/core/utils/array_compare.js +2 -2
- package/core/utils/browser.js +2 -2
- package/core/utils/call_once.js +2 -2
- package/core/utils/callbacks.js +2 -2
- package/core/utils/common.js +2 -2
- package/core/utils/console.js +2 -2
- package/core/utils/data.js +2 -2
- package/core/utils/date.js +2 -2
- package/core/utils/date_serialization.js +2 -2
- package/core/utils/deferred.js +3 -3
- package/core/utils/dependency_injector.js +2 -2
- package/core/utils/dom.js +2 -2
- package/core/utils/error.js +2 -2
- package/core/utils/extend.js +2 -2
- package/core/utils/html_parser.js +2 -2
- package/core/utils/icon.js +2 -2
- package/core/utils/inflector.js +2 -2
- package/core/utils/iterator.js +2 -2
- package/core/utils/locker.js +2 -2
- package/core/utils/math.js +2 -2
- package/core/utils/object.js +2 -2
- package/core/utils/position.js +2 -2
- package/core/utils/public_component.js +2 -2
- package/core/utils/queue.js +2 -2
- package/core/utils/ready_callbacks.js +2 -2
- package/core/utils/resize_callbacks.js +2 -2
- package/core/utils/selection_filter.js +2 -2
- package/core/utils/size.js +2 -2
- package/core/utils/storage.js +2 -2
- package/core/utils/string.js +2 -2
- package/core/utils/style.js +2 -2
- package/core/utils/support.js +2 -2
- package/core/utils/svg.js +2 -2
- package/core/utils/type.js +2 -2
- package/core/utils/variable_wrapper.js +2 -2
- package/core/utils/version.js +2 -2
- package/core/utils/view_port.js +2 -2
- package/core/utils/window.js +2 -2
- package/core/version.js +3 -3
- package/data/abstract_store.js +2 -2
- package/data/array_query.js +2 -2
- package/data/array_store.d.ts +2 -2
- package/data/array_store.js +2 -2
- package/data/array_utils.js +2 -2
- package/data/custom_store.d.ts +2 -2
- package/data/custom_store.js +2 -2
- package/data/data_source/data_source.js +2 -2
- package/data/data_source.d.ts +2 -2
- package/data/data_source.js +2 -2
- package/data/endpoint_selector.d.ts +2 -2
- package/data/endpoint_selector.js +2 -2
- package/data/errors.d.ts +2 -2
- package/data/errors.js +2 -2
- package/data/load_options.d.ts +2 -2
- package/data/local_store.d.ts +2 -2
- package/data/local_store.js +2 -2
- package/data/odata/context.d.ts +2 -2
- package/data/odata/context.js +2 -2
- package/data/odata/mixins.js +2 -2
- package/data/odata/query_adapter.js +2 -2
- package/data/odata/store.d.ts +2 -2
- package/data/odata/store.js +2 -2
- package/data/odata/utils.d.ts +2 -2
- package/data/odata/utils.js +2 -2
- package/data/proxy_url_formatter.js +2 -2
- package/data/query.d.ts +2 -2
- package/data/query.js +2 -2
- package/data/query_adapters.js +2 -2
- package/data/remote_query.js +2 -2
- package/data/store_helper.js +2 -2
- package/data/utils.d.ts +2 -2
- package/data/utils.js +2 -2
- package/data_helper.js +2 -2
- package/dist/css/dx.carmine.compact.css +136 -73
- package/dist/css/dx.carmine.css +136 -73
- package/dist/css/dx.common.css +4 -9
- package/dist/css/dx.contrast.compact.css +134 -71
- package/dist/css/dx.contrast.css +134 -71
- package/dist/css/dx.dark.compact.css +138 -75
- package/dist/css/dx.dark.css +138 -75
- package/dist/css/dx.darkmoon.compact.css +134 -71
- package/dist/css/dx.darkmoon.css +134 -71
- package/dist/css/dx.darkviolet.compact.css +138 -75
- package/dist/css/dx.darkviolet.css +138 -75
- package/dist/css/dx.greenmist.compact.css +136 -73
- package/dist/css/dx.greenmist.css +136 -73
- package/dist/css/dx.ios7.default.css +20 -7
- package/dist/css/dx.light.compact.css +134 -71
- package/dist/css/dx.light.css +134 -71
- package/dist/css/dx.material.blue.dark.compact.css +146 -52
- package/dist/css/dx.material.blue.dark.css +146 -52
- package/dist/css/dx.material.blue.light.compact.css +146 -52
- package/dist/css/dx.material.blue.light.css +146 -52
- package/dist/css/dx.material.lime.dark.compact.css +146 -52
- package/dist/css/dx.material.lime.dark.css +146 -52
- package/dist/css/dx.material.lime.light.compact.css +146 -52
- package/dist/css/dx.material.lime.light.css +146 -52
- package/dist/css/dx.material.orange.dark.compact.css +146 -52
- package/dist/css/dx.material.orange.dark.css +146 -52
- package/dist/css/dx.material.orange.light.compact.css +146 -52
- package/dist/css/dx.material.orange.light.css +146 -52
- package/dist/css/dx.material.purple.dark.compact.css +146 -52
- package/dist/css/dx.material.purple.dark.css +146 -52
- package/dist/css/dx.material.purple.light.compact.css +146 -52
- package/dist/css/dx.material.purple.light.css +146 -52
- package/dist/css/dx.material.teal.dark.compact.css +146 -52
- package/dist/css/dx.material.teal.dark.css +146 -52
- package/dist/css/dx.material.teal.light.compact.css +146 -52
- package/dist/css/dx.material.teal.light.css +146 -52
- package/dist/css/dx.softblue.compact.css +136 -73
- package/dist/css/dx.softblue.css +136 -73
- package/dist/js/dx.all.debug.js +3943 -3218
- package/dist/js/dx.all.js +115 -114
- package/dist/js/dx.aspnet.mvc.js +2 -2
- package/dist/js/dx.viz-web.debug.js +3930 -3205
- package/dist/js/dx.viz-web.js +114 -114
- package/dist/js/dx.viz.debug.js +1403 -1287
- package/dist/js/dx.viz.js +41 -41
- package/dist/js/dx.web.debug.js +3245 -2552
- package/dist/js/dx.web.js +91 -90
- package/dist/js/localization/dx.messages.cs.js +2 -2
- package/dist/js/localization/dx.messages.de.js +2 -2
- package/dist/js/localization/dx.messages.el.js +2 -2
- package/dist/js/localization/dx.messages.en.js +2 -2
- package/dist/js/localization/dx.messages.es.js +2 -2
- package/dist/js/localization/dx.messages.fi.js +2 -2
- package/dist/js/localization/dx.messages.fr.js +2 -2
- package/dist/js/localization/dx.messages.it.js +2 -2
- package/dist/js/localization/dx.messages.ja.js +2 -2
- package/dist/js/localization/dx.messages.nl.js +2 -2
- package/dist/js/localization/dx.messages.pt.js +2 -2
- package/dist/js/localization/dx.messages.ru.js +2 -2
- package/dist/js/localization/dx.messages.sl.js +2 -2
- package/dist/js/localization/dx.messages.sv.js +2 -2
- package/dist/js/localization/dx.messages.tr.js +2 -2
- package/dist/js/localization/dx.messages.zh.js +2 -2
- package/dist/js/vectormap-utils/dx.vectormaputils.debug.js +2 -2
- package/dist/js/vectormap-utils/dx.vectormaputils.js +2 -2
- package/dist/js/vectormap-utils/dx.vectormaputils.node.js +2 -2
- package/dist/ts/dx.all.d.ts +5886 -5886
- package/docEnums.js +2 -2
- package/events/click.d.ts +2 -2
- package/events/click.js +2 -2
- package/events/contextmenu.d.ts +2 -2
- package/events/contextmenu.js +2 -2
- package/events/core/emitter.feedback.js +2 -2
- package/events/core/emitter.js +2 -2
- package/events/core/emitter_registrator.js +2 -2
- package/events/core/event_registrator.js +2 -2
- package/events/core/event_registrator_callbacks.js +2 -2
- package/events/core/events_engine.js +2 -2
- package/events/core/hook_touch_props.js +2 -2
- package/events/core/wheel.js +2 -2
- package/events/core.js +2 -2
- package/events/dblclick.d.ts +2 -2
- package/events/dblclick.js +2 -2
- package/events/double_click.js +2 -2
- package/events/drag.d.ts +2 -2
- package/events/drag.js +2 -2
- package/events/gesture/emitter.gesture.js +2 -2
- package/events/gesture/swipeable.js +2 -2
- package/events/hold.d.ts +2 -2
- package/events/hold.js +2 -2
- package/events/hover.d.ts +2 -2
- package/events/hover.js +2 -2
- package/events/pointer/base.js +2 -2
- package/events/pointer/mouse.js +2 -2
- package/events/pointer/mouse_and_touch.js +2 -2
- package/events/pointer/mspointer.js +2 -2
- package/events/pointer/observer.js +2 -2
- package/events/pointer/touch.js +2 -2
- package/events/pointer.d.ts +2 -2
- package/events/pointer.js +2 -2
- package/events/swipe.d.ts +2 -2
- package/events/swipe.js +2 -2
- package/events/transform.d.ts +2 -2
- package/events/transform.js +2 -2
- package/events/utils.js +10 -6
- package/events.d.ts +2 -2
- package/events.js +2 -2
- package/exporter/excel/excel.cell_alignment_helper.js +2 -2
- package/exporter/excel/excel.cell_format_helper.js +2 -2
- package/exporter/excel/excel.color_helper.js +2 -2
- package/exporter/excel/excel.doc_comments.js +2 -2
- package/exporter/excel/excel.file.js +2 -2
- package/exporter/excel/excel.fill_helper.js +2 -2
- package/exporter/excel/excel.font_helper.js +2 -2
- package/exporter/excel/excel.number_format_helper.js +2 -2
- package/exporter/excel/excel.pattern_fill_helper.js +2 -2
- package/exporter/excel/excel.tag_helper.js +2 -2
- package/exporter/excel_creator.js +2 -2
- package/exporter/excel_format_converter.js +2 -2
- package/exporter/exceljs/excelExporter.js +2 -2
- package/exporter/exceljs/exportDataGrid.js +39 -12
- package/exporter/file_saver.js +4 -3
- package/exporter/image_creator.js +2 -2
- package/exporter/pdf_creator.js +2 -2
- package/exporter/svg_creator.js +2 -2
- package/exporter.js +2 -2
- package/format_helper.js +2 -2
- package/integration/angular/action_executors.js +2 -2
- package/integration/angular/component_registrator.js +2 -2
- package/integration/angular/components.js +2 -2
- package/integration/angular/event_registrator.js +2 -2
- package/integration/angular/module.js +2 -2
- package/integration/angular/template.js +2 -2
- package/integration/angular.js +2 -2
- package/integration/jquery/ajax.js +2 -2
- package/integration/jquery/component_registrator.js +2 -2
- package/integration/jquery/deferred.js +2 -2
- package/integration/jquery/easing.js +2 -2
- package/integration/jquery/element.js +2 -2
- package/integration/jquery/element_data.js +2 -2
- package/integration/jquery/events.js +2 -2
- package/integration/jquery/hold_ready.js +2 -2
- package/integration/jquery/hooks.js +2 -2
- package/integration/jquery/renderer.js +2 -2
- package/integration/jquery/use_jquery.js +2 -2
- package/integration/jquery.d.ts +2 -2
- package/integration/jquery.js +2 -2
- package/integration/knockout/clean_node.js +2 -2
- package/integration/knockout/clean_node_old.js +2 -2
- package/integration/knockout/component_registrator.js +2 -2
- package/integration/knockout/components.js +2 -2
- package/integration/knockout/event_registrator.js +2 -2
- package/integration/knockout/template.js +2 -2
- package/integration/knockout/utils.js +2 -2
- package/integration/knockout/validation.js +2 -2
- package/integration/knockout/variable_wrapper_utils.js +2 -2
- package/integration/knockout.js +2 -2
- package/localization/cldr-data/parentLocales.js +2 -2
- package/localization/core.js +2 -2
- package/localization/currency.js +2 -2
- package/localization/date.js +2 -2
- package/localization/default_date_names.js +2 -2
- package/localization/default_messages.js +2 -2
- package/localization/globalize/core.js +2 -2
- package/localization/globalize/currency.js +2 -2
- package/localization/globalize/date.js +3 -3
- package/localization/globalize/message.js +2 -2
- package/localization/globalize/number.js +2 -2
- package/localization/language_codes.js +2 -2
- package/localization/ldml/date.format.js +2 -2
- package/localization/ldml/date.formatter.js +2 -2
- package/localization/ldml/date.parser.js +2 -2
- package/localization/ldml/number.js +2 -2
- package/localization/message.js +2 -2
- package/localization/number.js +2 -2
- package/localization/utils.js +2 -2
- package/localization.d.ts +2 -2
- package/localization.js +2 -2
- package/mobile/hide_top_overlay.d.ts +2 -2
- package/mobile/hide_top_overlay.js +2 -2
- package/mobile/init_mobile_viewport/init_mobile_viewport.js +2 -2
- package/mobile/init_mobile_viewport.d.ts +2 -2
- package/mobile/init_mobile_viewport.js +2 -2
- package/package.json +2 -2
- package/ui/accordion.d.ts +2 -2
- package/ui/accordion.js +2 -2
- package/ui/action_sheet.d.ts +2 -2
- package/ui/action_sheet.js +2 -2
- package/ui/autocomplete.d.ts +2 -2
- package/ui/autocomplete.js +2 -2
- package/ui/box.d.ts +2 -2
- package/ui/box.js +2 -2
- package/ui/button.d.ts +2 -2
- package/ui/button.js +2 -2
- package/ui/button_group.d.ts +2 -2
- package/ui/button_group.js +2 -2
- package/ui/calendar/ui.calendar.base_view.js +2 -2
- package/ui/calendar/ui.calendar.js +2 -2
- package/ui/calendar/ui.calendar.navigator.js +2 -2
- package/ui/calendar/ui.calendar.views.js +2 -2
- package/ui/calendar.d.ts +2 -2
- package/ui/calendar.js +2 -2
- package/ui/check_box.d.ts +2 -2
- package/ui/check_box.js +2 -2
- package/ui/collection/item.js +2 -2
- package/ui/collection/ui.collection_widget.async.js +2 -2
- package/ui/collection/ui.collection_widget.base.js +6 -2
- package/ui/collection/ui.collection_widget.edit.js +2 -2
- package/ui/collection/ui.collection_widget.edit.strategy.js +2 -2
- package/ui/collection/ui.collection_widget.edit.strategy.plain.js +2 -2
- package/ui/collection/ui.collection_widget.live_update.js +2 -2
- package/ui/color_box/color_box.js +2 -2
- package/ui/color_box/color_view.js +2 -2
- package/ui/color_box.d.ts +2 -2
- package/ui/color_box.js +2 -2
- package/ui/context_menu/ui.context_menu.js +2 -2
- package/ui/context_menu/ui.menu_base.edit.strategy.js +2 -2
- package/ui/context_menu/ui.menu_base.js +2 -2
- package/ui/context_menu.d.ts +2 -2
- package/ui/context_menu.js +2 -2
- package/ui/data_grid/aggregate_calculator.js +2 -2
- package/ui/data_grid/ui.data_grid.adaptivity.js +2 -2
- package/ui/data_grid/ui.data_grid.base.d.ts +2 -2
- package/ui/data_grid/ui.data_grid.base.js +2 -2
- package/ui/data_grid/ui.data_grid.column_chooser.js +2 -2
- package/ui/data_grid/ui.data_grid.column_fixing.js +2 -2
- package/ui/data_grid/ui.data_grid.column_headers.js +2 -2
- package/ui/data_grid/ui.data_grid.columns_controller.js +2 -2
- package/ui/data_grid/ui.data_grid.columns_resizing_reordering.js +2 -2
- package/ui/data_grid/ui.data_grid.context_menu.js +2 -2
- package/ui/data_grid/ui.data_grid.core.js +2 -2
- package/ui/data_grid/ui.data_grid.data_controller.js +2 -2
- package/ui/data_grid/ui.data_grid.data_source_adapter.js +2 -2
- package/ui/data_grid/ui.data_grid.editing.js +2 -2
- package/ui/data_grid/ui.data_grid.editor_factory.js +2 -2
- package/ui/data_grid/ui.data_grid.error_handling.js +2 -2
- package/ui/data_grid/ui.data_grid.export.js +28 -6
- package/ui/data_grid/ui.data_grid.filter_builder.js +2 -2
- package/ui/data_grid/ui.data_grid.filter_panel.js +2 -2
- package/ui/data_grid/ui.data_grid.filter_row.js +2 -2
- package/ui/data_grid/ui.data_grid.filter_sync.js +2 -2
- package/ui/data_grid/ui.data_grid.focus.js +2 -2
- package/ui/data_grid/ui.data_grid.grid_view.js +2 -2
- package/ui/data_grid/ui.data_grid.grouping.collapsed.js +10 -6
- package/ui/data_grid/ui.data_grid.grouping.core.js +2 -2
- package/ui/data_grid/ui.data_grid.grouping.expanded.js +2 -2
- package/ui/data_grid/ui.data_grid.grouping.js +2 -2
- package/ui/data_grid/ui.data_grid.header_filter.js +2 -2
- package/ui/data_grid/ui.data_grid.header_panel.js +2 -2
- package/ui/data_grid/ui.data_grid.js +2 -2
- package/ui/data_grid/ui.data_grid.keyboard_navigation.js +2 -2
- package/ui/data_grid/ui.data_grid.master_detail.js +2 -2
- package/ui/data_grid/ui.data_grid.pager.js +2 -2
- package/ui/data_grid/ui.data_grid.rows.js +2 -2
- package/ui/data_grid/ui.data_grid.search.js +2 -2
- package/ui/data_grid/ui.data_grid.selection.js +2 -2
- package/ui/data_grid/ui.data_grid.sorting.js +2 -2
- package/ui/data_grid/ui.data_grid.state_storing.js +2 -2
- package/ui/data_grid/ui.data_grid.summary.js +2 -2
- package/ui/data_grid/ui.data_grid.utils.js +2 -2
- package/ui/data_grid/ui.data_grid.validating.js +2 -2
- package/ui/data_grid/ui.data_grid.virtual_columns.js +2 -2
- package/ui/data_grid/ui.data_grid.virtual_scrolling.js +2 -2
- package/ui/data_grid.d.ts +2 -2
- package/ui/data_grid.js +2 -2
- package/ui/date_box/ui.date_box.base.js +3 -3
- package/ui/date_box/ui.date_box.js +2 -2
- package/ui/date_box/ui.date_box.mask.js +18 -11
- package/ui/date_box/ui.date_box.mask.parts.js +4 -4
- package/ui/date_box/ui.date_box.strategy.calendar.js +2 -2
- package/ui/date_box/ui.date_box.strategy.calendar_with_time.js +2 -2
- package/ui/date_box/ui.date_box.strategy.date_view.js +2 -2
- package/ui/date_box/ui.date_box.strategy.js +5 -2
- package/ui/date_box/ui.date_box.strategy.list.js +13 -2
- package/ui/date_box/ui.date_box.strategy.native.js +2 -2
- package/ui/date_box/ui.date_utils.js +2 -2
- package/ui/date_box/ui.date_view.js +2 -2
- package/ui/date_box/ui.date_view_roller.js +2 -2
- package/ui/date_box/ui.time_view.js +2 -2
- package/ui/date_box.d.ts +2 -2
- package/ui/date_box.js +2 -2
- package/ui/defer_rendering.d.ts +2 -2
- package/ui/defer_rendering.js +2 -2
- package/ui/diagram/diagram.panel.js +2 -2
- package/ui/diagram/diagram_bar.js +2 -2
- package/ui/diagram/diagram_importer.js +2 -2
- package/ui/diagram/ui.diagram.commands.js +2 -2
- package/ui/diagram/ui.diagram.contextmenu.js +2 -2
- package/ui/diagram/ui.diagram.edges.js +2 -2
- package/ui/diagram/ui.diagram.items.js +2 -2
- package/ui/diagram/ui.diagram.js +2 -2
- package/ui/diagram/ui.diagram.leftpanel.js +2 -2
- package/ui/diagram/ui.diagram.nodes.js +2 -2
- package/ui/diagram/ui.diagram.rightpanel.js +2 -2
- package/ui/diagram/ui.diagram.shape.categories.js +2 -2
- package/ui/diagram/ui.diagram.toolbar.js +2 -2
- package/ui/diagram.d.ts +2 -2
- package/ui/diagram.js +2 -2
- package/ui/dialog.d.ts +2 -2
- package/ui/dialog.js +2 -2
- package/ui/draggable.js +2 -2
- package/ui/drawer/ui.drawer.js +2 -2
- package/ui/drawer/ui.drawer.rendering.strategy.js +2 -2
- package/ui/drawer/ui.drawer.rendering.strategy.overlap.js +2 -2
- package/ui/drawer/ui.drawer.rendering.strategy.push.js +2 -2
- package/ui/drawer/ui.drawer.rendering.strategy.shrink.js +2 -2
- package/ui/drawer.d.ts +2 -2
- package/ui/drawer.js +2 -2
- package/ui/drop_down_box.d.ts +2 -2
- package/ui/drop_down_box.js +2 -2
- package/ui/drop_down_button.d.ts +2 -2
- package/ui/drop_down_button.js +25 -10
- package/ui/drop_down_editor/ui.drop_down_button.js +2 -2
- package/ui/drop_down_editor/ui.drop_down_editor.d.ts +2 -2
- package/ui/drop_down_editor/ui.drop_down_editor.js +3 -3
- package/ui/drop_down_editor/ui.drop_down_list.js +8 -4
- package/ui/drop_down_menu.js +2 -2
- package/ui/editor/editor.js +10 -3
- package/ui/editor/ui.data_expression.js +2 -2
- package/ui/file_manager/file_provider/ajax.js +2 -2
- package/ui/file_manager/file_provider/array.js +2 -2
- package/ui/file_manager/file_provider/file_provider.js +2 -2
- package/ui/file_manager/file_provider/onedrive.js +2 -2
- package/ui/file_manager/file_provider/webapi.js +2 -2
- package/ui/file_manager/ui.file_manager.adaptivity.js +2 -2
- package/ui/file_manager/ui.file_manager.breadcrumbs.js +2 -2
- package/ui/file_manager/ui.file_manager.command_manager.js +2 -2
- package/ui/file_manager/ui.file_manager.common.js +2 -2
- package/ui/file_manager/ui.file_manager.context_menu.js +2 -2
- package/ui/file_manager/ui.file_manager.dialog.folder_chooser.js +2 -2
- package/ui/file_manager/ui.file_manager.dialog.js +2 -2
- package/ui/file_manager/ui.file_manager.dialog.name_editor.js +2 -2
- package/ui/file_manager/ui.file_manager.editing.js +3 -3
- package/ui/file_manager/ui.file_manager.file_actions_button.js +2 -2
- package/ui/file_manager/ui.file_manager.file_uploader.js +2 -2
- package/ui/file_manager/ui.file_manager.files_tree_view.js +2 -2
- package/ui/file_manager/ui.file_manager.item_list.details.js +2 -2
- package/ui/file_manager/ui.file_manager.item_list.js +2 -2
- package/ui/file_manager/ui.file_manager.item_list.thumbnails.js +2 -2
- package/ui/file_manager/ui.file_manager.js +2 -2
- package/ui/file_manager/ui.file_manager.messages.js +2 -2
- package/ui/file_manager/ui.file_manager.toolbar.js +2 -2
- package/ui/file_manager/ui.file_manager.utils.js +2 -2
- package/ui/file_manager.d.ts +2 -2
- package/ui/file_manager.js +2 -2
- package/ui/file_uploader.d.ts +2 -2
- package/ui/file_uploader.js +2 -2
- package/ui/filter_builder/between.js +2 -2
- package/ui/filter_builder/filter_builder.js +4 -2
- package/ui/filter_builder/ui.filter_operations_dictionary.js +2 -2
- package/ui/filter_builder/utils.js +6 -3
- package/ui/filter_builder.d.ts +2 -2
- package/ui/filter_builder.js +2 -2
- package/ui/form/ui.form.item_option_action.js +69 -0
- package/ui/form/ui.form.item_options_actions.js +175 -0
- package/ui/form/ui.form.items_runtime_info.js +2 -2
- package/ui/form/ui.form.js +185 -180
- package/ui/form/ui.form.layout_manager.js +63 -74
- package/ui/form.d.ts +2 -2
- package/ui/form.js +2 -2
- package/ui/gallery.d.ts +2 -2
- package/ui/gallery.js +2 -2
- package/ui/grid_core/ui.grid_core.accessibility.js +2 -2
- package/ui/grid_core/ui.grid_core.adaptivity.js +7 -7
- package/ui/grid_core/ui.grid_core.column_chooser.js +21 -4
- package/ui/grid_core/ui.grid_core.column_fixing.js +2 -2
- package/ui/grid_core/ui.grid_core.column_headers.js +2 -2
- package/ui/grid_core/ui.grid_core.column_state_mixin.js +2 -2
- package/ui/grid_core/ui.grid_core.columns_controller.js +22 -18
- package/ui/grid_core/ui.grid_core.columns_resizing_reordering.js +10 -5
- package/ui/grid_core/ui.grid_core.columns_view.js +2 -2
- package/ui/grid_core/ui.grid_core.context_menu.js +4 -4
- package/ui/grid_core/ui.grid_core.data_controller.js +3 -3
- package/ui/grid_core/ui.grid_core.data_source_adapter.js +2 -2
- package/ui/grid_core/ui.grid_core.editing.js +35 -28
- package/ui/grid_core/ui.grid_core.editor_factory.js +9 -4
- package/ui/grid_core/ui.grid_core.error_handling.js +2 -2
- package/ui/grid_core/ui.grid_core.export_mixin.js +2 -2
- package/ui/grid_core/ui.grid_core.filter_builder.js +2 -2
- package/ui/grid_core/ui.grid_core.filter_custom_operations.js +2 -2
- package/ui/grid_core/ui.grid_core.filter_panel.js +2 -2
- package/ui/grid_core/ui.grid_core.filter_row.js +2 -2
- package/ui/grid_core/ui.grid_core.filter_sync.js +2 -2
- package/ui/grid_core/ui.grid_core.focus.js +79 -69
- package/ui/grid_core/ui.grid_core.grid_view.js +2 -2
- package/ui/grid_core/ui.grid_core.header_filter.js +3 -6
- package/ui/grid_core/ui.grid_core.header_filter_core.js +2 -2
- package/ui/grid_core/ui.grid_core.header_panel.js +2 -2
- package/ui/grid_core/ui.grid_core.keyboard_navigation.js +40 -24
- package/ui/grid_core/ui.grid_core.master_detail.js +3 -3
- package/ui/grid_core/ui.grid_core.modules.js +2 -2
- package/ui/grid_core/ui.grid_core.pager.js +2 -2
- package/ui/grid_core/ui.grid_core.rows.js +3 -3
- package/ui/grid_core/ui.grid_core.search.js +6 -4
- package/ui/grid_core/ui.grid_core.selection.js +4 -4
- package/ui/grid_core/ui.grid_core.sorting.js +2 -2
- package/ui/grid_core/ui.grid_core.sorting_mixin.js +2 -2
- package/ui/grid_core/ui.grid_core.state_storing.js +18 -13
- package/ui/grid_core/ui.grid_core.state_storing_core.js +2 -2
- package/ui/grid_core/ui.grid_core.utils.js +10 -3
- package/ui/grid_core/ui.grid_core.validating.js +2 -2
- package/ui/grid_core/ui.grid_core.virtual_columns.js +2 -2
- package/ui/grid_core/ui.grid_core.virtual_columns_core.js +2 -2
- package/ui/grid_core/ui.grid_core.virtual_scrolling.js +2 -2
- package/ui/grid_core/ui.grid_core.virtual_scrolling_core.js +2 -2
- package/ui/hierarchical_collection/ui.data_adapter.js +2 -2
- package/ui/hierarchical_collection/ui.data_converter.js +2 -2
- package/ui/hierarchical_collection/ui.hierarchical_collection_widget.js +2 -2
- package/ui/html_editor/converterController.js +2 -2
- package/ui/html_editor/converters/delta.js +2 -2
- package/ui/html_editor/converters/markdown.js +2 -2
- package/ui/html_editor/formats/align.js +2 -2
- package/ui/html_editor/formats/font.js +2 -2
- package/ui/html_editor/formats/image.js +2 -2
- package/ui/html_editor/formats/link.js +2 -2
- package/ui/html_editor/formats/mention.js +2 -2
- package/ui/html_editor/formats/size.js +2 -2
- package/ui/html_editor/formats/variable.js +2 -2
- package/ui/html_editor/matchers/textDecoration.js +2 -2
- package/ui/html_editor/matchers/wordLists.js +2 -2
- package/ui/html_editor/modules/dropImage.js +2 -2
- package/ui/html_editor/modules/mentions.js +2 -2
- package/ui/html_editor/modules/popup.js +2 -2
- package/ui/html_editor/modules/resizing.js +2 -2
- package/ui/html_editor/modules/toolbar.js +7 -2
- package/ui/html_editor/modules/variables.js +2 -2
- package/ui/html_editor/modules/widget_collector.js +2 -2
- package/ui/html_editor/quill_importer.js +2 -2
- package/ui/html_editor/quill_registrator.js +2 -2
- package/ui/html_editor/themes/base.js +2 -2
- package/ui/html_editor/ui/formDialog.js +2 -2
- package/ui/html_editor/ui.html_editor.js +38 -3
- package/ui/html_editor.d.ts +2 -2
- package/ui/html_editor.js +2 -2
- package/ui/list/item.js +2 -2
- package/ui/list/ui.list.base.js +2 -2
- package/ui/list/ui.list.edit.decorator.context.js +2 -2
- package/ui/list/ui.list.edit.decorator.js +2 -2
- package/ui/list/ui.list.edit.decorator.reorder.js +35 -4
- package/ui/list/ui.list.edit.decorator.selection.js +2 -2
- package/ui/list/ui.list.edit.decorator.static.js +2 -2
- package/ui/list/ui.list.edit.decorator.swipe.js +2 -2
- package/ui/list/ui.list.edit.decorator.switchable.button.js +2 -2
- package/ui/list/ui.list.edit.decorator.switchable.js +2 -2
- package/ui/list/ui.list.edit.decorator.switchable.slide.js +2 -2
- package/ui/list/ui.list.edit.decorator_menu_helper.js +2 -2
- package/ui/list/ui.list.edit.decorator_registry.js +2 -2
- package/ui/list/ui.list.edit.js +2 -2
- package/ui/list/ui.list.edit.provider.js +2 -2
- package/ui/list/ui.list.edit.search.js +2 -2
- package/ui/list/ui.list.edit.strategy.grouped.js +2 -2
- package/ui/list.d.ts +2 -2
- package/ui/list.js +2 -2
- package/ui/load_indicator.d.ts +2 -2
- package/ui/load_indicator.js +2 -2
- package/ui/load_panel.d.ts +2 -2
- package/ui/load_panel.js +2 -2
- package/ui/lookup.d.ts +2 -2
- package/ui/lookup.js +2 -2
- package/ui/map/provider.dynamic.bing.js +2 -2
- package/ui/map/provider.dynamic.google.js +2 -2
- package/ui/map/provider.dynamic.js +2 -2
- package/ui/map/provider.google_static.js +2 -2
- package/ui/map/provider.js +2 -2
- package/ui/map.d.ts +2 -2
- package/ui/map.js +2 -2
- package/ui/menu/ui.menu.js +2 -2
- package/ui/menu/ui.submenu.js +2 -2
- package/ui/menu.d.ts +2 -2
- package/ui/menu.js +2 -2
- package/ui/multi_view.d.ts +2 -2
- package/ui/multi_view.js +2 -2
- package/ui/nav_bar/item.js +2 -2
- package/ui/nav_bar.d.ts +2 -2
- package/ui/nav_bar.js +2 -2
- package/ui/notify.d.ts +2 -2
- package/ui/notify.js +2 -2
- package/ui/number_box/number_box.base.js +6 -3
- package/ui/number_box/number_box.caret.js +12 -8
- package/ui/number_box/number_box.js +2 -2
- package/ui/number_box/number_box.mask.js +31 -24
- package/ui/number_box/number_box.spin.js +2 -2
- package/ui/number_box/number_box.spins.js +2 -2
- package/ui/number_box.d.ts +2 -2
- package/ui/number_box.js +2 -2
- package/ui/overlay/ui.overlay.js +4 -3
- package/ui/overlay/utils.js +2 -2
- package/ui/overlay/z_index.js +2 -2
- package/ui/overlay.d.ts +2 -2
- package/ui/overlay.js +2 -2
- package/ui/pager.js +2 -2
- package/ui/pivot_grid/data_source.d.ts +2 -2
- package/ui/pivot_grid/data_source.js +2 -2
- package/ui/pivot_grid/local_store.js +2 -2
- package/ui/pivot_grid/remote_store.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.area_item.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.chart_integration.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.data_area.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.data_controller.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.export.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.field_chooser.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.field_chooser_base.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.fields_area.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.headers_area.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.js +3 -3
- package/ui/pivot_grid/ui.pivot_grid.summary_display_modes.js +2 -2
- package/ui/pivot_grid/ui.pivot_grid.utils.js +2 -2
- package/ui/pivot_grid/ui.sortable.js +2 -2
- package/ui/pivot_grid/xmla_store/xmla_store.js +2 -2
- package/ui/pivot_grid/xmla_store.d.ts +2 -2
- package/ui/pivot_grid/xmla_store.js +2 -2
- package/ui/pivot_grid.d.ts +2 -2
- package/ui/pivot_grid.js +2 -2
- package/ui/pivot_grid_field_chooser.d.ts +2 -2
- package/ui/pivot_grid_field_chooser.js +2 -2
- package/ui/popover.d.ts +2 -2
- package/ui/popover.js +15 -10
- package/ui/popup.d.ts +2 -2
- package/ui/popup.js +4 -4
- package/ui/progress_bar.d.ts +2 -2
- package/ui/progress_bar.js +2 -2
- package/ui/radio_group/radio_button.js +2 -2
- package/ui/radio_group/radio_group.js +4 -5
- package/ui/radio_group.d.ts +2 -2
- package/ui/radio_group.js +2 -2
- package/ui/range_slider.d.ts +2 -2
- package/ui/range_slider.js +2 -2
- package/ui/recurrence_editor.d.ts +2 -2
- package/ui/recurrence_editor.js +2 -2
- package/ui/resizable.d.ts +2 -2
- package/ui/resizable.js +2 -2
- package/ui/responsive_box.d.ts +2 -2
- package/ui/responsive_box.js +2 -2
- package/ui/scheduler/compactAppointmentsHelper.js +2 -2
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.agenda.js +2 -5
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.base.js +8 -10
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.horizontal.js +2 -10
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.horizontal_month.js +2 -5
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.horizontal_month_line.js +2 -2
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.vertical.js +2 -2
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointmentsPositioning.strategy.adaptive.js +2 -2
- package/ui/scheduler/rendering_strategies/ui.scheduler.appointmentsPositioning.strategy.base.js +2 -2
- package/ui/scheduler/shaders/ui.scheduler.current_time_shader.horizontal.js +2 -2
- package/ui/scheduler/shaders/ui.scheduler.current_time_shader.js +2 -2
- package/ui/scheduler/shaders/ui.scheduler.current_time_shader.vertical.js +2 -2
- package/ui/scheduler/timezones/ui.scheduler.timezone_editor.js +2 -2
- package/ui/scheduler/timezones/ui.scheduler.timezones.js +2 -2
- package/ui/scheduler/timezones/ui.scheduler.timezones_data.js +2 -2
- package/ui/scheduler/tooltip_strategies/desktopTooltipStrategy.js +2 -2
- package/ui/scheduler/tooltip_strategies/mobileTooltipStrategy.js +2 -2
- package/ui/scheduler/tooltip_strategies/tooltipStrategyBase.js +12 -8
- package/ui/scheduler/ui.loading.js +2 -2
- package/ui/scheduler/ui.scheduler.appointment.js +2 -2
- package/ui/scheduler/ui.scheduler.appointment_form.js +8 -5
- package/ui/scheduler/ui.scheduler.appointment_model.js +8 -7
- package/ui/scheduler/ui.scheduler.appointments.js +13 -9
- package/ui/scheduler/ui.scheduler.appointments.layout_manager.js +2 -2
- package/ui/scheduler/ui.scheduler.header.js +2 -2
- package/ui/scheduler/ui.scheduler.js +7 -4
- package/ui/scheduler/ui.scheduler.navigator.js +2 -2
- package/ui/scheduler/ui.scheduler.publisher_mixin.js +2 -2
- package/ui/scheduler/ui.scheduler.recurrence_editor.js +4 -3
- package/ui/scheduler/ui.scheduler.resource_manager.js +2 -2
- package/ui/scheduler/ui.scheduler.subscribes.js +5 -5
- package/ui/scheduler/ui.scheduler.table_creator.js +2 -2
- package/ui/scheduler/utils.recurrence.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.agenda.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.timeline.js +4 -3
- package/ui/scheduler/workspaces/ui.scheduler.timeline_day.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.timeline_month.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.timeline_week.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.timeline_work_week.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space.grouped.strategy.horizontal.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space.grouped.strategy.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space.grouped.strategy.vertical.js +5 -4
- package/ui/scheduler/workspaces/ui.scheduler.work_space.indicator.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space.js +3 -3
- package/ui/scheduler/workspaces/ui.scheduler.work_space_day.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space_month.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space_week.js +2 -2
- package/ui/scheduler/workspaces/ui.scheduler.work_space_work_week.js +2 -2
- package/ui/scheduler.d.ts +2 -2
- package/ui/scheduler.js +2 -2
- package/ui/scroll_view/animator.js +2 -2
- package/ui/scroll_view/scrollable.d.ts +2 -2
- package/ui/scroll_view/ui.events.emitter.gesture.scroll.js +2 -2
- package/ui/scroll_view/ui.scroll_view.js +2 -2
- package/ui/scroll_view/ui.scroll_view.native.pull_down.js +2 -2
- package/ui/scroll_view/ui.scroll_view.native.slide_down.js +2 -2
- package/ui/scroll_view/ui.scroll_view.native.swipe_down.js +2 -2
- package/ui/scroll_view/ui.scroll_view.simulated.js +4 -4
- package/ui/scroll_view/ui.scrollable.js +2 -2
- package/ui/scroll_view/ui.scrollable.native.js +4 -4
- package/ui/scroll_view/ui.scrollable.simulated.js +3 -2
- package/ui/scroll_view/ui.scrollbar.js +51 -34
- package/ui/scroll_view.d.ts +2 -2
- package/ui/scroll_view.js +2 -2
- package/ui/select_box.d.ts +2 -2
- package/ui/select_box.js +7 -4
- package/ui/selection/selection.js +2 -2
- package/ui/selection/selection.strategy.deferred.js +2 -2
- package/ui/selection/selection.strategy.js +2 -2
- package/ui/selection/selection.strategy.standard.js +2 -2
- package/ui/set_template_engine.d.ts +2 -2
- package/ui/set_template_engine.js +2 -2
- package/ui/shared/accessibility.js +2 -2
- package/ui/shared/async_template_mixin.js +2 -2
- package/ui/shared/filtering.js +2 -2
- package/ui/shared/grouped_data_converter_mixin.js +2 -2
- package/ui/shared/ui.editor_factory_mixin.js +5 -2
- package/ui/slide_out.d.ts +2 -2
- package/ui/slide_out.js +2 -2
- package/ui/slide_out_view.d.ts +2 -2
- package/ui/slide_out_view.js +2 -2
- package/ui/slider/ui.slider.js +2 -2
- package/ui/slider/ui.slider_handle.js +2 -2
- package/ui/slider.d.ts +2 -2
- package/ui/slider.js +2 -2
- package/ui/speed_dial_action/repaint_floating_action_button.d.ts +2 -2
- package/ui/speed_dial_action/repaint_floating_action_button.js +2 -2
- package/ui/speed_dial_action/speed_dial_action.js +2 -2
- package/ui/speed_dial_action/speed_dial_item.js +2 -2
- package/ui/speed_dial_action/speed_dial_main_item.js +6 -3
- package/ui/speed_dial_action.d.ts +2 -2
- package/ui/speed_dial_action.js +2 -2
- package/ui/switch.d.ts +2 -2
- package/ui/switch.js +2 -2
- package/ui/tab_panel/item.js +2 -2
- package/ui/tab_panel.d.ts +2 -2
- package/ui/tab_panel.js +2 -2
- package/ui/tabs/item.js +2 -2
- package/ui/tabs.d.ts +2 -2
- package/ui/tabs.js +2 -2
- package/ui/tag_box.d.ts +2 -2
- package/ui/tag_box.js +51 -14
- package/ui/text_area.d.ts +2 -2
- package/ui/text_area.js +13 -25
- package/ui/text_box/text_box.js +14 -14
- package/ui/text_box/texteditor_button_collection/button.js +2 -2
- package/ui/text_box/texteditor_button_collection/custom.js +2 -2
- package/ui/text_box/texteditor_button_collection/index.js +2 -2
- package/ui/text_box/ui.text_editor.base.js +27 -2
- package/ui/text_box/ui.text_editor.clear.js +3 -3
- package/ui/text_box/ui.text_editor.js +2 -2
- package/ui/text_box/ui.text_editor.mask.js +22 -12
- package/ui/text_box/ui.text_editor.mask.rule.js +2 -2
- package/ui/text_box/ui.text_editor.mask.strategy.android.js +2 -7
- package/ui/text_box/ui.text_editor.mask.strategy.base.js +26 -14
- package/ui/text_box/ui.text_editor.mask.strategy.default.js +34 -35
- package/ui/text_box/utils.caret.js +2 -2
- package/ui/text_box/utils.scroll.js +37 -0
- package/ui/text_box.d.ts +2 -2
- package/ui/text_box.js +2 -2
- package/ui/themes.d.ts +2 -2
- package/ui/themes.js +2 -2
- package/ui/themes_callback.js +2 -2
- package/ui/tile_view.d.ts +2 -2
- package/ui/tile_view.js +2 -2
- package/ui/toast.d.ts +2 -2
- package/ui/toast.js +2 -2
- package/ui/toolbar/ui.toolbar.base.js +6 -4
- package/ui/toolbar/ui.toolbar.menu.js +2 -2
- package/ui/toolbar/ui.toolbar.strategy.action_sheet.js +2 -2
- package/ui/toolbar/ui.toolbar.strategy.drop_down_menu.js +2 -2
- package/ui/toolbar/ui.toolbar.strategy.js +2 -2
- package/ui/toolbar.d.ts +2 -2
- package/ui/toolbar.js +2 -2
- package/ui/tooltip/tooltip.js +2 -2
- package/ui/tooltip/ui.tooltip.js +2 -2
- package/ui/tooltip.d.ts +2 -2
- package/ui/tooltip.js +2 -2
- package/ui/track_bar.js +2 -2
- package/ui/tree_list/ui.tree_list.adaptivity.js +2 -2
- package/ui/tree_list/ui.tree_list.base.js +2 -2
- package/ui/tree_list/ui.tree_list.column_chooser.js +2 -2
- package/ui/tree_list/ui.tree_list.column_fixing.js +2 -2
- package/ui/tree_list/ui.tree_list.column_headers.js +2 -2
- package/ui/tree_list/ui.tree_list.columns_controller.js +2 -2
- package/ui/tree_list/ui.tree_list.columns_resizing_reordering.js +2 -2
- package/ui/tree_list/ui.tree_list.context_menu.js +2 -2
- package/ui/tree_list/ui.tree_list.core.js +2 -2
- package/ui/tree_list/ui.tree_list.data_controller.js +2 -2
- package/ui/tree_list/ui.tree_list.data_source_adapter.js +10 -2
- package/ui/tree_list/ui.tree_list.editing.js +3 -3
- package/ui/tree_list/ui.tree_list.editor_factory.js +2 -2
- package/ui/tree_list/ui.tree_list.error_handling.js +2 -2
- package/ui/tree_list/ui.tree_list.filter_builder.js +2 -2
- package/ui/tree_list/ui.tree_list.filter_panel.js +2 -2
- package/ui/tree_list/ui.tree_list.filter_row.js +2 -2
- package/ui/tree_list/ui.tree_list.filter_sync.js +2 -2
- package/ui/tree_list/ui.tree_list.focus.js +2 -2
- package/ui/tree_list/ui.tree_list.grid_view.js +2 -2
- package/ui/tree_list/ui.tree_list.header_filter.js +2 -2
- package/ui/tree_list/ui.tree_list.header_panel.js +2 -2
- package/ui/tree_list/ui.tree_list.js +2 -2
- package/ui/tree_list/ui.tree_list.keyboard_navigation.js +2 -2
- package/ui/tree_list/ui.tree_list.master_detail.js +2 -2
- package/ui/tree_list/ui.tree_list.pager.js +2 -2
- package/ui/tree_list/ui.tree_list.rows.js +2 -2
- package/ui/tree_list/ui.tree_list.search.js +2 -2
- package/ui/tree_list/ui.tree_list.selection.js +2 -2
- package/ui/tree_list/ui.tree_list.sorting.js +2 -2
- package/ui/tree_list/ui.tree_list.state_storing.js +2 -2
- package/ui/tree_list/ui.tree_list.validating.js +2 -2
- package/ui/tree_list/ui.tree_list.virtual_columns.js +2 -2
- package/ui/tree_list/ui.tree_list.virtual_scrolling.js +2 -2
- package/ui/tree_list.d.ts +2 -2
- package/ui/tree_list.js +2 -2
- package/ui/tree_view/ui.tree_view.base.js +2 -2
- package/ui/tree_view/ui.tree_view.search.js +2 -2
- package/ui/tree_view.d.ts +2 -2
- package/ui/tree_view.js +2 -2
- package/ui/validation/default_adapter.js +2 -2
- package/ui/validation/validation_mixin.js +2 -2
- package/ui/validation_engine.d.ts +2 -2
- package/ui/validation_engine.js +2 -2
- package/ui/validation_group.d.ts +2 -2
- package/ui/validation_group.js +2 -2
- package/ui/validation_summary.d.ts +2 -2
- package/ui/validation_summary.js +2 -2
- package/ui/validator.d.ts +2 -2
- package/ui/validator.js +2 -2
- package/ui/widget/bindable_template.js +2 -2
- package/ui/widget/child_default_template.js +2 -2
- package/ui/widget/empty_template.js +2 -2
- package/ui/widget/function_template.js +2 -2
- package/ui/widget/selectors.js +2 -2
- package/ui/widget/swatch_container.js +2 -2
- package/ui/widget/template.d.ts +2 -2
- package/ui/widget/template.js +2 -2
- package/ui/widget/template_engine_registry.js +2 -2
- package/ui/widget/template_engines.js +2 -2
- package/ui/widget/ui.errors.js +2 -2
- package/ui/widget/ui.keyboard_processor.js +2 -2
- package/ui/widget/ui.search_box_mixin.js +2 -2
- package/ui/widget/ui.template_base.js +2 -2
- package/ui/widget/ui.widget.js +14 -5
- package/ui/widget/utils.ink_ripple.js +2 -2
- package/utils.d.ts +2 -2
- package/utils.js +2 -2
- package/viz/axes/axes_constants.js +2 -2
- package/viz/axes/base_axis.js +12 -10
- package/viz/axes/constant_line.js +2 -2
- package/viz/axes/datetime_breaks.js +2 -2
- package/viz/axes/polar_axes.js +2 -2
- package/viz/axes/smart_formatter.js +2 -2
- package/viz/axes/strip.js +2 -2
- package/viz/axes/tick.js +2 -2
- package/viz/axes/tick_generator.js +2 -2
- package/viz/axes/xy_axes.js +13 -5
- package/viz/bar_gauge.d.ts +2 -2
- package/viz/bar_gauge.js +2 -2
- package/viz/bullet.d.ts +2 -2
- package/viz/bullet.js +2 -2
- package/viz/chart.d.ts +2 -2
- package/viz/chart.js +18 -20
- package/viz/chart_components/advanced_chart.js +5 -4
- package/viz/chart_components/base_chart.js +4 -4
- package/viz/chart_components/crosshair.js +2 -2
- package/viz/chart_components/layout_manager.js +2 -2
- package/viz/chart_components/multi_axes_synchronizer.js +2 -2
- package/viz/chart_components/scroll_bar.js +2 -2
- package/viz/chart_components/shutter_zoom.js +2 -2
- package/viz/chart_components/tracker.js +2 -2
- package/viz/chart_components/zoom_and_pan.js +33 -52
- package/viz/circular_gauge.d.ts +2 -2
- package/viz/circular_gauge.js +2 -2
- package/viz/components/chart_theme_manager.js +2 -2
- package/viz/components/consts.js +2 -2
- package/viz/components/data_validator.js +2 -2
- package/viz/components/legend.js +2 -2
- package/viz/components/parse_utils.js +2 -2
- package/viz/components/tracker.js +2 -2
- package/viz/core/annotations.js +2 -2
- package/viz/core/base_theme_manager.js +2 -2
- package/viz/core/base_widget.js +2 -2
- package/viz/core/data_source.js +2 -2
- package/viz/core/errors_warnings.js +2 -2
- package/viz/core/export.js +2 -2
- package/viz/core/helpers.js +2 -2
- package/viz/core/layout.js +2 -2
- package/viz/core/layout_element.js +2 -2
- package/viz/core/loading_indicator.js +2 -2
- package/viz/core/plaque.js +2 -2
- package/viz/core/renderers/animation.js +2 -2
- package/viz/core/renderers/renderer.js +5 -5
- package/viz/core/series_family.js +2 -2
- package/viz/core/themes/generic.carmine.js +2 -2
- package/viz/core/themes/generic.contrast.js +2 -2
- package/viz/core/themes/generic.dark.js +2 -2
- package/viz/core/themes/generic.darkmoon.js +2 -2
- package/viz/core/themes/generic.darkviolet.js +2 -2
- package/viz/core/themes/generic.greenmist.js +2 -2
- package/viz/core/themes/generic.light.js +2 -2
- package/viz/core/themes/generic.softblue.js +2 -2
- package/viz/core/themes/ios.js +2 -2
- package/viz/core/themes/material.js +2 -2
- package/viz/core/title.js +2 -2
- package/viz/core/tooltip.js +2 -2
- package/viz/core/utils.js +2 -2
- package/viz/export.d.ts +2 -2
- package/viz/export.js +2 -2
- package/viz/funnel/funnel.js +2 -2
- package/viz/funnel/item.js +2 -2
- package/viz/funnel/label.js +2 -2
- package/viz/funnel/tiling.funnel.js +2 -2
- package/viz/funnel/tiling.js +2 -2
- package/viz/funnel/tiling.pyramid.js +2 -2
- package/viz/funnel/tooltip.js +2 -2
- package/viz/funnel/tracker.js +2 -2
- package/viz/funnel.d.ts +2 -2
- package/viz/funnel.js +2 -2
- package/viz/gauges/bar_gauge.js +2 -2
- package/viz/gauges/base_gauge.js +2 -2
- package/viz/gauges/base_indicators.js +2 -2
- package/viz/gauges/base_range_container.js +2 -2
- package/viz/gauges/circular_gauge.js +2 -2
- package/viz/gauges/circular_indicators.js +2 -2
- package/viz/gauges/circular_range_container.js +2 -2
- package/viz/gauges/common.js +2 -2
- package/viz/gauges/linear_gauge.js +2 -2
- package/viz/gauges/linear_indicators.js +2 -2
- package/viz/gauges/linear_range_container.js +2 -2
- package/viz/gauges/theme_manager.js +2 -2
- package/viz/gauges/tracker.js +2 -2
- package/viz/linear_gauge.d.ts +2 -2
- package/viz/linear_gauge.js +2 -2
- package/viz/palette.d.ts +2 -2
- package/viz/palette.js +2 -2
- package/viz/pie_chart.d.ts +2 -2
- package/viz/pie_chart.js +2 -2
- package/viz/polar_chart.d.ts +2 -2
- package/viz/polar_chart.js +2 -2
- package/viz/range_selector/common.js +2 -2
- package/viz/range_selector/range_selector.js +158 -145
- package/viz/range_selector/range_view.js +2 -2
- package/viz/range_selector/series_data_source.js +2 -2
- package/viz/range_selector/slider.js +2 -2
- package/viz/range_selector/slider_marker.js +2 -2
- package/viz/range_selector/sliders_controller.js +23 -23
- package/viz/range_selector/tracker.js +109 -86
- package/viz/range_selector.d.ts +2 -2
- package/viz/range_selector.js +2 -2
- package/viz/sankey/constants.js +2 -2
- package/viz/sankey/data_validator.js +2 -2
- package/viz/sankey/graph.js +2 -2
- package/viz/sankey/layout.js +2 -2
- package/viz/sankey/link_item.js +2 -2
- package/viz/sankey/node_item.js +2 -2
- package/viz/sankey/sankey.js +2 -2
- package/viz/sankey/tooltip.js +2 -2
- package/viz/sankey/tracker.js +2 -2
- package/viz/sankey.d.ts +2 -2
- package/viz/sankey.js +2 -2
- package/viz/series/area_series.js +2 -2
- package/viz/series/bar_series.js +2 -2
- package/viz/series/base_series.js +4 -3
- package/viz/series/bubble_series.js +2 -2
- package/viz/series/financial_series.js +2 -2
- package/viz/series/helpers/range_data_calculator.js +2 -2
- package/viz/series/line_series.js +2 -2
- package/viz/series/pie_series.js +9 -5
- package/viz/series/points/bar_point.js +2 -2
- package/viz/series/points/base_point.js +2 -2
- package/viz/series/points/bubble_point.js +2 -2
- package/viz/series/points/candlestick_point.js +2 -2
- package/viz/series/points/label.js +2 -2
- package/viz/series/points/pie_point.js +2 -2
- package/viz/series/points/polar_point.js +2 -2
- package/viz/series/points/range_bar_point.js +2 -2
- package/viz/series/points/range_symbol_point.js +2 -2
- package/viz/series/points/stock_point.js +2 -2
- package/viz/series/points/symbol_point.js +2 -2
- package/viz/series/range_series.js +2 -2
- package/viz/series/scatter_series.js +2 -2
- package/viz/series/stacked_series.js +2 -2
- package/viz/sparkline.d.ts +2 -2
- package/viz/sparkline.js +2 -2
- package/viz/sparklines/base_sparkline.js +2 -2
- package/viz/sparklines/bullet.js +2 -2
- package/viz/sparklines/sparkline.js +2 -2
- package/viz/themes.d.ts +2 -2
- package/viz/themes.js +2 -2
- package/viz/translators/category_translator.js +2 -2
- package/viz/translators/datetime_translator.js +2 -2
- package/viz/translators/interval_translator.js +2 -2
- package/viz/translators/logarithmic_translator.js +2 -2
- package/viz/translators/range.js +2 -2
- package/viz/translators/translator1d.js +2 -2
- package/viz/translators/translator2d.js +2 -2
- package/viz/tree_map/api.js +2 -2
- package/viz/tree_map/colorizing.discrete.js +2 -2
- package/viz/tree_map/colorizing.gradient.js +2 -2
- package/viz/tree_map/colorizing.js +2 -2
- package/viz/tree_map/colorizing.range.js +2 -2
- package/viz/tree_map/common.js +2 -2
- package/viz/tree_map/drilldown.js +2 -2
- package/viz/tree_map/hover.js +2 -2
- package/viz/tree_map/node.js +2 -2
- package/viz/tree_map/plain_data_source.js +2 -2
- package/viz/tree_map/selection.js +2 -2
- package/viz/tree_map/states.js +2 -2
- package/viz/tree_map/tiling.js +2 -2
- package/viz/tree_map/tiling.rotated_slice_and_dice.js +2 -2
- package/viz/tree_map/tiling.slice_and_dice.js +2 -2
- package/viz/tree_map/tiling.squarified.base.js +2 -2
- package/viz/tree_map/tiling.squarified.js +2 -2
- package/viz/tree_map/tiling.strip.js +2 -2
- package/viz/tree_map/tooltip.js +2 -2
- package/viz/tree_map/tracker.js +2 -2
- package/viz/tree_map/tree_map.base.js +2 -2
- package/viz/tree_map/tree_map.js +2 -2
- package/viz/tree_map.d.ts +2 -2
- package/viz/tree_map.js +2 -2
- package/viz/utils.d.ts +2 -2
- package/viz/utils.js +2 -2
- package/viz/vector_map/control_bar.js +2 -2
- package/viz/vector_map/data_exchanger.js +2 -2
- package/viz/vector_map/event_emitter.js +2 -2
- package/viz/vector_map/gesture_handler.js +2 -2
- package/viz/vector_map/layout.js +2 -2
- package/viz/vector_map/legend.js +2 -2
- package/viz/vector_map/map_layer.js +2 -2
- package/viz/vector_map/projection.d.ts +2 -2
- package/viz/vector_map/projection.js +2 -2
- package/viz/vector_map/projection.main.js +2 -2
- package/viz/vector_map/tooltip_viewer.js +2 -2
- package/viz/vector_map/tracker.js +2 -2
- package/viz/vector_map/vector_map.js +2 -2
- package/viz/vector_map.d.ts +2 -2
- package/viz/vector_map.js +2 -2
|
@@ -1,71 +1,83 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExtreme (viz/range_selector/range_selector.js)
|
|
3
|
-
* Version: 19.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 19.1.7
|
|
4
|
+
* Build date: Fri Oct 11 2019
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
|
8
8
|
*/
|
|
9
9
|
"use strict";
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
10
|
+
var _component_registrator = require("../../core/component_registrator");
|
|
11
|
+
var _component_registrator2 = _interopRequireDefault(_component_registrator);
|
|
12
|
+
var _type2 = require("../../core/utils/type");
|
|
13
|
+
var _extend = require("../../core/utils/extend");
|
|
14
|
+
var _iterator = require("../../core/utils/iterator");
|
|
15
|
+
var _utils = require("../core/utils");
|
|
16
|
+
var _date = require("../../core/utils/date");
|
|
17
|
+
var _math = require("../../core/utils/math");
|
|
18
|
+
var _range = require("../translators/range");
|
|
19
|
+
var _range2 = _interopRequireDefault(_range);
|
|
20
|
+
var _base_axis = require("../axes/base_axis");
|
|
21
|
+
var _base_axis2 = _interopRequireDefault(_base_axis);
|
|
22
|
+
var _parse_utils = require("../components/parse_utils");
|
|
23
|
+
var _parse_utils2 = _interopRequireDefault(_parse_utils);
|
|
24
|
+
var _format_helper = require("../../format_helper");
|
|
25
|
+
var _format_helper2 = _interopRequireDefault(_format_helper);
|
|
26
|
+
var _common = require("./common");
|
|
27
|
+
var _common2 = _interopRequireDefault(_common);
|
|
28
|
+
var _sliders_controller = require("./sliders_controller");
|
|
29
|
+
var _sliders_controller2 = _interopRequireDefault(_sliders_controller);
|
|
30
|
+
var _tracker = require("./tracker");
|
|
31
|
+
var _range_view = require("./range_view");
|
|
32
|
+
var _range_view2 = _interopRequireDefault(_range_view);
|
|
33
|
+
var _series_data_source = require("./series_data_source");
|
|
34
|
+
var _series_data_source2 = _interopRequireDefault(_series_data_source);
|
|
35
|
+
var _tick_generator = require("../axes/tick_generator");
|
|
36
|
+
var _tick_generator2 = _interopRequireDefault(_tick_generator);
|
|
37
|
+
var _base_widget = require("../core/base_widget");
|
|
38
|
+
var _base_widget2 = _interopRequireDefault(_base_widget);
|
|
39
|
+
var _export = require("../core/export");
|
|
40
|
+
var _title = require("../core/title");
|
|
41
|
+
var _loading_indicator = require("../core/loading_indicator");
|
|
42
|
+
var _data_source = require("../core/data_source");
|
|
43
|
+
|
|
44
|
+
function _interopRequireDefault(obj) {
|
|
45
|
+
return obj && obj.__esModule ? obj : {
|
|
46
|
+
"default": obj
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
var _max = Math.max;
|
|
50
|
+
var _ceil = Math.ceil;
|
|
51
|
+
var _floor = Math.floor;
|
|
52
|
+
var START_VALUE = "startValue";
|
|
53
|
+
var END_VALUE = "endValue";
|
|
54
|
+
var DATETIME = "datetime";
|
|
55
|
+
var VALUE = "value";
|
|
56
|
+
var DISCRETE = "discrete";
|
|
57
|
+
var SEMIDISCRETE = "semidiscrete";
|
|
58
|
+
var STRING = "string";
|
|
59
|
+
var VALUE_CHANGED = VALUE + "Changed";
|
|
60
|
+
var CONTAINER_BACKGROUND_COLOR = "containerBackgroundColor";
|
|
61
|
+
var SLIDER_MARKER = "sliderMarker";
|
|
62
|
+
var OPTION_BACKGROUND = "background";
|
|
63
|
+
var LOGARITHMIC = "logarithmic";
|
|
64
|
+
var KEEP = "keep";
|
|
65
|
+
var SHIFT = "shift";
|
|
66
|
+
var RESET = "reset";
|
|
67
|
+
var INVISIBLE_POS = -1e3;
|
|
68
|
+
var SEMIDISCRETE_GRID_SPACING_FACTOR = 50;
|
|
69
|
+
var DEFAULT_AXIS_DIVISION_FACTOR = 30;
|
|
70
|
+
var DEFAULT_MINOR_AXIS_DIVISION_FACTOR = 15;
|
|
71
|
+
var logarithmBase = 10;
|
|
60
72
|
|
|
61
73
|
function calculateMarkerHeight(renderer, value, sliderMarkerOptions) {
|
|
62
|
-
var formattedText = void 0 === value ?
|
|
74
|
+
var formattedText = void 0 === value ? _common2.default.consts.emptySliderMarkerText : _common2.default.formatValue(value, sliderMarkerOptions),
|
|
63
75
|
textBBox = getTextBBox(renderer, formattedText, sliderMarkerOptions.font);
|
|
64
|
-
return _ceil(textBBox.height) + 2 * sliderMarkerOptions.paddingTopBottom +
|
|
76
|
+
return _ceil(textBBox.height) + 2 * sliderMarkerOptions.paddingTopBottom + _common2.default.consts.pointerSize
|
|
65
77
|
}
|
|
66
78
|
|
|
67
79
|
function calculateScaleLabelHalfWidth(renderer, value, scaleOptions, tickIntervalsInfo) {
|
|
68
|
-
var formattedText =
|
|
80
|
+
var formattedText = _common2.default.formatValue(value, scaleOptions.label, tickIntervalsInfo, scaleOptions.valueType, scaleOptions.type, scaleOptions.logarithmBase),
|
|
69
81
|
textBBox = getTextBBox(renderer, formattedText, scaleOptions.label.font);
|
|
70
82
|
return _ceil(textBBox.width / 2)
|
|
71
83
|
}
|
|
@@ -86,8 +98,8 @@ function calculateIndents(renderer, scale, sliderMarkerOptions, indentOptions, t
|
|
|
86
98
|
}
|
|
87
99
|
}
|
|
88
100
|
if (scale.label.visible) {
|
|
89
|
-
startTickValue =
|
|
90
|
-
endTickValue =
|
|
101
|
+
startTickValue = (0, _type2.isDefined)(scale.startValue) ? ticks[0] : void 0;
|
|
102
|
+
endTickValue = (0, _type2.isDefined)(scale.endValue) ? ticks[ticks.length - 1] : void 0;
|
|
91
103
|
leftScaleLabelWidth = calculateScaleLabelHalfWidth(renderer, startTickValue, scale, tickIntervalsInfo);
|
|
92
104
|
rightScaleLabelWidth = calculateScaleLabelHalfWidth(renderer, endTickValue, scale, tickIntervalsInfo)
|
|
93
105
|
}
|
|
@@ -102,8 +114,8 @@ function calculateIndents(renderer, scale, sliderMarkerOptions, indentOptions, t
|
|
|
102
114
|
}
|
|
103
115
|
|
|
104
116
|
function calculateValueType(firstValue, secondValue) {
|
|
105
|
-
var typeFirstValue =
|
|
106
|
-
typeSecondValue =
|
|
117
|
+
var typeFirstValue = (0, _type2.type)(firstValue),
|
|
118
|
+
typeSecondValue = (0, _type2.type)(secondValue),
|
|
107
119
|
validType = function(type) {
|
|
108
120
|
return typeFirstValue === type || typeSecondValue === type
|
|
109
121
|
};
|
|
@@ -117,7 +129,7 @@ function showScaleMarkers(scaleOptions) {
|
|
|
117
129
|
function updateTranslatorRangeInterval(translatorRange, scaleOptions) {
|
|
118
130
|
var intervalX = scaleOptions.minorTickInterval || scaleOptions.tickInterval;
|
|
119
131
|
if ("datetime" === scaleOptions.valueType) {
|
|
120
|
-
intervalX =
|
|
132
|
+
intervalX = (0, _date.dateToMilliseconds)(intervalX)
|
|
121
133
|
}
|
|
122
134
|
translatorRange.addRange({
|
|
123
135
|
interval: intervalX
|
|
@@ -130,7 +142,7 @@ function checkLogarithmicOptions(options, defaultLogarithmBase, incidentOccurred
|
|
|
130
142
|
return
|
|
131
143
|
}
|
|
132
144
|
logarithmBase = options.logarithmBase;
|
|
133
|
-
if (options.type === LOGARITHMIC && logarithmBase <= 0 || logarithmBase && !
|
|
145
|
+
if (options.type === LOGARITHMIC && logarithmBase <= 0 || logarithmBase && !(0, _type2.isNumeric)(logarithmBase)) {
|
|
134
146
|
options.logarithmBase = defaultLogarithmBase;
|
|
135
147
|
incidentOccurred("E2104")
|
|
136
148
|
} else {
|
|
@@ -145,7 +157,7 @@ function calculateScaleAreaHeight(renderer, scaleOptions, visibleMarkers, tickIn
|
|
|
145
157
|
markerScaleOptions = scaleOptions.marker,
|
|
146
158
|
placeholderHeight = scaleOptions.placeholderHeight,
|
|
147
159
|
ticks = "semidiscrete" === scaleOptions.type ? scaleOptions.customTicks : tickIntervalsInfo.ticks,
|
|
148
|
-
text =
|
|
160
|
+
text = _common2.default.formatValue(ticks[0], labelScaleOptions);
|
|
149
161
|
if (placeholderHeight) {
|
|
150
162
|
return placeholderHeight
|
|
151
163
|
} else {
|
|
@@ -154,11 +166,11 @@ function calculateScaleAreaHeight(renderer, scaleOptions, visibleMarkers, tickIn
|
|
|
154
166
|
}
|
|
155
167
|
|
|
156
168
|
function getMinorTickIntervalUnit(tickInterval, minorTickInterval, withCorrection) {
|
|
157
|
-
var interval =
|
|
158
|
-
majorUnit =
|
|
159
|
-
idx =
|
|
169
|
+
var interval = (0, _date.getDateUnitInterval)(minorTickInterval),
|
|
170
|
+
majorUnit = (0, _date.getDateUnitInterval)(tickInterval),
|
|
171
|
+
idx = _date.dateUnitIntervals.indexOf(interval);
|
|
160
172
|
if (withCorrection && interval === majorUnit && idx > 0) {
|
|
161
|
-
interval =
|
|
173
|
+
interval = _date.dateUnitIntervals[idx - 1]
|
|
162
174
|
}
|
|
163
175
|
return interval
|
|
164
176
|
}
|
|
@@ -168,7 +180,7 @@ function getNextTickInterval(tickInterval, minorTickInterval, isDateType) {
|
|
|
168
180
|
tickInterval = minorTickInterval
|
|
169
181
|
} else {
|
|
170
182
|
if (isDateType) {
|
|
171
|
-
tickInterval =
|
|
183
|
+
tickInterval = (0, _date.getNextDateUnit)(tickInterval)
|
|
172
184
|
} else {
|
|
173
185
|
tickInterval += minorTickInterval
|
|
174
186
|
}
|
|
@@ -190,7 +202,7 @@ function calculateTickIntervalsForSemidiscreteScale(scaleOptions, min, max, scre
|
|
|
190
202
|
break
|
|
191
203
|
}
|
|
192
204
|
if (isDateType) {
|
|
193
|
-
interval = dateToMilliseconds(tickInterval)
|
|
205
|
+
interval = (0, _date.dateToMilliseconds)(tickInterval)
|
|
194
206
|
}
|
|
195
207
|
tickCountByInterval = _ceil((max - min) / interval);
|
|
196
208
|
tickCountByScreen = _floor(screenDelta / (gridSpacingFactor[tickInterval] || SEMIDISCRETE_GRID_SPACING_FACTOR)) || 1
|
|
@@ -208,14 +220,14 @@ function calculateTickIntervalsForSemidiscreteScale(scaleOptions, min, max, scre
|
|
|
208
220
|
}
|
|
209
221
|
|
|
210
222
|
function updateTickIntervals(scaleOptions, screenDelta, incidentOccurred, range) {
|
|
211
|
-
var result, ticksInfo, length, min =
|
|
212
|
-
max =
|
|
223
|
+
var result, ticksInfo, length, min = (0, _type2.isDefined)(range.minVisible) ? range.minVisible : range.min,
|
|
224
|
+
max = (0, _type2.isDefined)(range.maxVisible) ? range.maxVisible : range.max,
|
|
213
225
|
categoriesInfo = scaleOptions._categoriesInfo,
|
|
214
226
|
bounds = {};
|
|
215
227
|
if (scaleOptions.type === SEMIDISCRETE) {
|
|
216
228
|
result = calculateTickIntervalsForSemidiscreteScale(scaleOptions, min, max, screenDelta)
|
|
217
229
|
} else {
|
|
218
|
-
ticksInfo =
|
|
230
|
+
ticksInfo = _tick_generator2.default.tickGenerator({
|
|
219
231
|
axisType: scaleOptions.type,
|
|
220
232
|
dataType: scaleOptions.valueType,
|
|
221
233
|
logBase: scaleOptions.logarithmBase,
|
|
@@ -229,7 +241,7 @@ function updateTickIntervals(scaleOptions, screenDelta, incidentOccurred, range)
|
|
|
229
241
|
})({
|
|
230
242
|
min: min,
|
|
231
243
|
max: max,
|
|
232
|
-
categories:
|
|
244
|
+
categories: (0, _type2.isDefined)(categoriesInfo) ? categoriesInfo.categories : []
|
|
233
245
|
}, screenDelta, scaleOptions.tickInterval, scaleOptions.forceUserTickInterval, void 0, scaleOptions.minorTickInterval, scaleOptions.minorTickCount);
|
|
234
246
|
length = ticksInfo.ticks.length;
|
|
235
247
|
bounds.minVisible = ticksInfo.ticks[0] < min ? ticksInfo.ticks[0] : min;
|
|
@@ -248,11 +260,11 @@ function calculateTranslatorRange(seriesDataSource, scaleOptions) {
|
|
|
248
260
|
var minValue, maxValue, categories, categoriesInfo, rangeForCategories, inverted = false,
|
|
249
261
|
startValue = scaleOptions.startValue,
|
|
250
262
|
endValue = scaleOptions.endValue,
|
|
251
|
-
translatorRange = seriesDataSource ? seriesDataSource.getBoundRange().arg : new
|
|
263
|
+
translatorRange = seriesDataSource ? seriesDataSource.getBoundRange().arg : new _range2.default.Range,
|
|
252
264
|
isDate = "datetime" === scaleOptions.valueType,
|
|
253
265
|
minRange = scaleOptions.minRange;
|
|
254
266
|
if (scaleOptions.type === DISCRETE) {
|
|
255
|
-
rangeForCategories = new
|
|
267
|
+
rangeForCategories = new _range2.default.Range({
|
|
256
268
|
minVisible: startValue,
|
|
257
269
|
maxVisible: endValue
|
|
258
270
|
});
|
|
@@ -260,7 +272,7 @@ function calculateTranslatorRange(seriesDataSource, scaleOptions) {
|
|
|
260
272
|
translatorRange = rangeForCategories;
|
|
261
273
|
categories = seriesDataSource ? seriesDataSource.argCategories : scaleOptions.categories || !seriesDataSource && startValue && endValue && [startValue, endValue];
|
|
262
274
|
categories = categories || [];
|
|
263
|
-
scaleOptions._categoriesInfo = categoriesInfo =
|
|
275
|
+
scaleOptions._categoriesInfo = categoriesInfo = (0, _utils.getCategoriesInfo)(categories, startValue, endValue)
|
|
264
276
|
}
|
|
265
277
|
if (scaleOptions.type === SEMIDISCRETE) {
|
|
266
278
|
startValue = scaleOptions.startValue = correctValueByInterval(scaleOptions.startValue, isDate, minRange);
|
|
@@ -270,12 +282,12 @@ function calculateTranslatorRange(seriesDataSource, scaleOptions) {
|
|
|
270
282
|
translatorRange.min = correctValueByInterval(translatorRange.min, isDate, minRange);
|
|
271
283
|
translatorRange.max = correctValueByInterval(translatorRange.max, isDate, minRange)
|
|
272
284
|
}
|
|
273
|
-
if (
|
|
285
|
+
if ((0, _type2.isDefined)(startValue) && (0, _type2.isDefined)(endValue)) {
|
|
274
286
|
inverted = categoriesInfo ? categoriesInfo.inverted : startValue > endValue;
|
|
275
287
|
minValue = categoriesInfo ? categoriesInfo.start : inverted ? endValue : startValue;
|
|
276
288
|
maxValue = categoriesInfo ? categoriesInfo.end : inverted ? startValue : endValue
|
|
277
289
|
} else {
|
|
278
|
-
if (
|
|
290
|
+
if ((0, _type2.isDefined)(startValue) || (0, _type2.isDefined)(endValue)) {
|
|
279
291
|
minValue = startValue;
|
|
280
292
|
maxValue = endValue
|
|
281
293
|
} else {
|
|
@@ -304,11 +316,11 @@ function calculateTranslatorRange(seriesDataSource, scaleOptions) {
|
|
|
304
316
|
}
|
|
305
317
|
|
|
306
318
|
function startEndNotDefined(start, end) {
|
|
307
|
-
return !
|
|
319
|
+
return !(0, _type2.isDefined)(start) || !(0, _type2.isDefined)(end)
|
|
308
320
|
}
|
|
309
321
|
|
|
310
322
|
function getTextBBox(renderer, text, fontOptions) {
|
|
311
|
-
var textElement = renderer.text(text, INVISIBLE_POS, INVISIBLE_POS).css(patchFontOptions(fontOptions)).append(renderer.root);
|
|
323
|
+
var textElement = renderer.text(text, INVISIBLE_POS, INVISIBLE_POS).css((0, _utils.patchFontOptions)(fontOptions)).append(renderer.root);
|
|
312
324
|
var textBBox = textElement.getBBox();
|
|
313
325
|
textElement.remove();
|
|
314
326
|
return textBBox
|
|
@@ -317,7 +329,7 @@ function getTextBBox(renderer, text, fontOptions) {
|
|
|
317
329
|
function getDateMarkerVisibilityChecker(screenDelta) {
|
|
318
330
|
return function(isDateScale, isMarkerVisible, min, max, tickInterval) {
|
|
319
331
|
if (isMarkerVisible && isDateScale) {
|
|
320
|
-
if (!
|
|
332
|
+
if (!(0, _type2.isDefined)(tickInterval) || tickInterval.years || tickInterval.months >= 6 || screenDelta / SEMIDISCRETE_GRID_SPACING_FACTOR < _ceil((max - min) / (0, _date.dateToMilliseconds)("year")) + 1) {
|
|
321
333
|
isMarkerVisible = false
|
|
322
334
|
}
|
|
323
335
|
}
|
|
@@ -340,7 +352,7 @@ function updateScaleOptions(scaleOptions, seriesDataSource, translatorRange, tic
|
|
|
340
352
|
scaleOptions.endValue = categoriesInfo.end
|
|
341
353
|
}
|
|
342
354
|
if (scaleOptions.type.indexOf(DISCRETE) === -1) {
|
|
343
|
-
isEmptyInterval =
|
|
355
|
+
isEmptyInterval = (0, _type2.isDate)(scaleOptions.startValue) && (0, _type2.isDate)(scaleOptions.endValue) && scaleOptions.startValue.getTime() === scaleOptions.endValue.getTime() || scaleOptions.startValue === scaleOptions.endValue
|
|
344
356
|
}
|
|
345
357
|
scaleOptions.isEmpty = startEndNotDefined(scaleOptions.startValue, scaleOptions.endValue) || isEmptyInterval;
|
|
346
358
|
if (scaleOptions.isEmpty) {
|
|
@@ -348,14 +360,14 @@ function updateScaleOptions(scaleOptions, seriesDataSource, translatorRange, tic
|
|
|
348
360
|
} else {
|
|
349
361
|
scaleOptions.minorTickInterval = tickIntervalsInfo.minorTickInterval;
|
|
350
362
|
scaleOptions.tickInterval = tickIntervalsInfo.tickInterval;
|
|
351
|
-
if (isDateTime && (!
|
|
363
|
+
if (isDateTime && (!(0, _type2.isDefined)(scaleOptions.label.format) || scaleOptions.type === SEMIDISCRETE && scaleOptions.minorTickInterval !== scaleOptions.tickInterval)) {
|
|
352
364
|
if (scaleOptions.type === DISCRETE) {
|
|
353
|
-
scaleOptions.label.format =
|
|
365
|
+
scaleOptions.label.format = _format_helper2.default.getDateFormatByTicks(tickIntervalsInfo.ticks)
|
|
354
366
|
} else {
|
|
355
367
|
if (!scaleOptions.marker.visible) {
|
|
356
|
-
scaleOptions.label.format =
|
|
368
|
+
scaleOptions.label.format = _format_helper2.default.getDateFormatByTickInterval(scaleOptions.startValue, scaleOptions.endValue, scaleOptions.tickInterval)
|
|
357
369
|
} else {
|
|
358
|
-
scaleOptions.label.format =
|
|
370
|
+
scaleOptions.label.format = (0, _date.getDateFormatByTickInterval)(scaleOptions.tickInterval)
|
|
359
371
|
}
|
|
360
372
|
}
|
|
361
373
|
}
|
|
@@ -370,12 +382,12 @@ function updateScaleOptions(scaleOptions, seriesDataSource, translatorRange, tic
|
|
|
370
382
|
|
|
371
383
|
function prepareScaleOptions(scaleOption, calculatedValueType, incidentOccurred, containerColor) {
|
|
372
384
|
var parser, parsedValue = 0,
|
|
373
|
-
valueType =
|
|
385
|
+
valueType = _parse_utils2.default.correctValueType((0, _utils.normalizeEnum)(scaleOption.valueType)),
|
|
374
386
|
validateStartEndValues = function(field, parser) {
|
|
375
387
|
var messageToIncidentOccurred = field === START_VALUE ? "start" : "end";
|
|
376
|
-
if (
|
|
388
|
+
if ((0, _type2.isDefined)(scaleOption[field])) {
|
|
377
389
|
parsedValue = parser(scaleOption[field]);
|
|
378
|
-
if (
|
|
390
|
+
if ((0, _type2.isDefined)(parsedValue)) {
|
|
379
391
|
scaleOption[field] = parsedValue
|
|
380
392
|
} else {
|
|
381
393
|
scaleOption[field] = void 0;
|
|
@@ -394,7 +406,7 @@ function prepareScaleOptions(scaleOption, calculatedValueType, incidentOccurred,
|
|
|
394
406
|
scaleOption.containerColor = containerColor;
|
|
395
407
|
scaleOption.valueType = valueType;
|
|
396
408
|
scaleOption.dataType = valueType;
|
|
397
|
-
parser =
|
|
409
|
+
parser = _parse_utils2.default.getParser(valueType);
|
|
398
410
|
validateStartEndValues(START_VALUE, parser);
|
|
399
411
|
validateStartEndValues(END_VALUE, parser);
|
|
400
412
|
checkLogarithmicOptions(scaleOption, logarithmBase, incidentOccurred);
|
|
@@ -408,15 +420,15 @@ function prepareScaleOptions(scaleOption, calculatedValueType, incidentOccurred,
|
|
|
408
420
|
scaleOption.marker.visible = false;
|
|
409
421
|
scaleOption.maxRange = void 0
|
|
410
422
|
}
|
|
411
|
-
scaleOption.forceUserTickInterval |=
|
|
412
|
-
scaleOption.axisDivisionFactor =
|
|
413
|
-
scaleOption.minorAxisDivisionFactor =
|
|
423
|
+
scaleOption.forceUserTickInterval |= (0, _type2.isDefined)(scaleOption.tickInterval) && !(0, _type2.isDefined)(scaleOption.axisDivisionFactor);
|
|
424
|
+
scaleOption.axisDivisionFactor = (0, _type2.isDefined)(scaleOption.axisDivisionFactor) ? scaleOption.axisDivisionFactor : DEFAULT_AXIS_DIVISION_FACTOR;
|
|
425
|
+
scaleOption.minorAxisDivisionFactor = (0, _type2.isDefined)(scaleOption.minorAxisDivisionFactor) ? scaleOption.minorAxisDivisionFactor : DEFAULT_MINOR_AXIS_DIVISION_FACTOR;
|
|
414
426
|
return scaleOption
|
|
415
427
|
}
|
|
416
428
|
|
|
417
429
|
function correctValueByInterval(value, isDate, interval) {
|
|
418
|
-
if (
|
|
419
|
-
value = isDate ?
|
|
430
|
+
if ((0, _type2.isDefined)(value)) {
|
|
431
|
+
value = isDate ? (0, _date.correctDateWithUnitBeginning)(new Date(value), interval) : (0, _math.adjust)(_floor((0, _math.adjust)(value / interval)) * interval)
|
|
420
432
|
}
|
|
421
433
|
return value
|
|
422
434
|
}
|
|
@@ -429,15 +441,15 @@ function getIntervalCustomTicks(options) {
|
|
|
429
441
|
res = {
|
|
430
442
|
intervals: []
|
|
431
443
|
};
|
|
432
|
-
if (!
|
|
444
|
+
if (!(0, _type2.isDefined)(min) || !(0, _type2.isDefined)(max)) {
|
|
433
445
|
return res
|
|
434
446
|
}
|
|
435
|
-
res.intervals = getSequenceByInterval(min, max, options.minorTickInterval);
|
|
447
|
+
res.intervals = (0, _date.getSequenceByInterval)(min, max, options.minorTickInterval);
|
|
436
448
|
if (tickInterval !== options.minorTickInterval) {
|
|
437
449
|
res.altIntervals = res.intervals;
|
|
438
450
|
min = correctValueByInterval(min, isDate, tickInterval);
|
|
439
451
|
max = correctValueByInterval(max, isDate, tickInterval);
|
|
440
|
-
res.intervals = getSequenceByInterval(min, max, tickInterval);
|
|
452
|
+
res.intervals = (0, _date.getSequenceByInterval)(min, max, tickInterval);
|
|
441
453
|
res.intervals[0] = res.altIntervals[0]
|
|
442
454
|
}
|
|
443
455
|
return res
|
|
@@ -445,10 +457,10 @@ function getIntervalCustomTicks(options) {
|
|
|
445
457
|
|
|
446
458
|
function getPrecisionForSlider(startValue, endValue, screenDelta) {
|
|
447
459
|
var d = Math.abs(endValue - startValue) / screenDelta,
|
|
448
|
-
tail = d -
|
|
449
|
-
return tail > 0 ?
|
|
460
|
+
tail = d - _floor(d);
|
|
461
|
+
return tail > 0 ? _ceil(Math.abs((0, _math.adjust)((0, _utils.getLog)(tail, 10)))) : 0
|
|
450
462
|
}
|
|
451
|
-
var dxRangeSelector =
|
|
463
|
+
var dxRangeSelector = _base_widget2.default.inherit({
|
|
452
464
|
_toggleParentsScrollSubscription: function() {},
|
|
453
465
|
_eventsMap: {
|
|
454
466
|
onValueChanged: {
|
|
@@ -457,7 +469,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
457
469
|
},
|
|
458
470
|
_setDeprecatedOptions: function() {
|
|
459
471
|
this.callBase.apply(this, arguments);
|
|
460
|
-
extend(this._deprecatedOptions, {
|
|
472
|
+
(0, _extend.extend)(this._deprecatedOptions, {
|
|
461
473
|
"chart.barWidth": {
|
|
462
474
|
since: "18.1",
|
|
463
475
|
message: "Use the 'chart.commonSeriesSettings.barPadding' or 'chart.series.barPadding' option instead"
|
|
@@ -510,33 +522,34 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
510
522
|
renderer: renderer,
|
|
511
523
|
root: scaleGroup,
|
|
512
524
|
scaleBreaksGroup: scaleBreaksGroup,
|
|
513
|
-
updateSelectedRange: function(range) {
|
|
514
|
-
that.setValue(convertVisualRangeObject(range))
|
|
525
|
+
updateSelectedRange: function(range, e) {
|
|
526
|
+
that.setValue((0, _utils.convertVisualRangeObject)(range), e)
|
|
515
527
|
},
|
|
516
528
|
incidentOccurred: that._incidentOccurred
|
|
517
529
|
});
|
|
518
|
-
that._rangeView = new
|
|
530
|
+
that._rangeView = new _range_view2.default.RangeView({
|
|
519
531
|
renderer: renderer,
|
|
520
532
|
root: rangeViewGroup,
|
|
521
533
|
translator: that._axis.getTranslator()
|
|
522
534
|
});
|
|
523
|
-
that._slidersController = new
|
|
535
|
+
that._slidersController = new _sliders_controller2.default.SlidersController({
|
|
524
536
|
renderer: renderer,
|
|
525
537
|
root: slidersGroup,
|
|
526
538
|
trackersGroup: trackersGroup,
|
|
527
|
-
updateSelectedRange: function(range, lastSelectedRange) {
|
|
539
|
+
updateSelectedRange: function(range, lastSelectedRange, e) {
|
|
528
540
|
if (!that._rangeOption) {
|
|
529
|
-
that.option(VALUE, convertVisualRangeObject(range,
|
|
541
|
+
that.option(VALUE, (0, _utils.convertVisualRangeObject)(range, (0, _type2.isPlainObject)(that._options[VALUE])))
|
|
530
542
|
}
|
|
531
543
|
that._eventTrigger(VALUE_CHANGED, {
|
|
532
|
-
value: convertVisualRangeObject(range),
|
|
533
|
-
previousValue: convertVisualRangeObject(lastSelectedRange)
|
|
544
|
+
value: (0, _utils.convertVisualRangeObject)(range),
|
|
545
|
+
previousValue: (0, _utils.convertVisualRangeObject)(lastSelectedRange),
|
|
546
|
+
event: e
|
|
534
547
|
})
|
|
535
548
|
},
|
|
536
549
|
axis: that._axis,
|
|
537
550
|
translator: that._axis.getTranslator()
|
|
538
551
|
});
|
|
539
|
-
that._tracker = new
|
|
552
|
+
that._tracker = new _tracker.Tracker({
|
|
540
553
|
renderer: renderer,
|
|
541
554
|
controller: that._slidersController
|
|
542
555
|
})
|
|
@@ -572,9 +585,9 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
572
585
|
if (options.dataSource) {
|
|
573
586
|
var selectedRangeUpdateMode = that.option("selectedRangeUpdateMode");
|
|
574
587
|
var value = that.getValue();
|
|
575
|
-
var valueIsReady =
|
|
576
|
-
if (
|
|
577
|
-
selectedRangeUpdateMode =
|
|
588
|
+
var valueIsReady = (0, _type2.isDefined)(value[0]) && (0, _type2.isDefined)(value[1]);
|
|
589
|
+
if ((0, _type2.isDefined)(selectedRangeUpdateMode)) {
|
|
590
|
+
selectedRangeUpdateMode = (0, _utils.normalizeEnum)(selectedRangeUpdateMode);
|
|
578
591
|
that.__skipAnimation = true
|
|
579
592
|
} else {
|
|
580
593
|
if (valueIsReady) {
|
|
@@ -625,7 +638,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
625
638
|
_change_SLIDER_SELECTION: function() {
|
|
626
639
|
var that = this,
|
|
627
640
|
value = that._options[VALUE];
|
|
628
|
-
that._slidersController.setSelectedRange(value &&
|
|
641
|
+
that._slidersController.setSelectedRange(value && (0, _utils.getVizRangeObject)(value))
|
|
629
642
|
},
|
|
630
643
|
_change_VALUE: function() {
|
|
631
644
|
var that = this,
|
|
@@ -638,7 +651,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
638
651
|
_validateRange: function(start, end) {
|
|
639
652
|
var that = this,
|
|
640
653
|
translator = that._axis.getTranslator();
|
|
641
|
-
if (
|
|
654
|
+
if ((0, _type2.isDefined)(start) && !translator.isValid(start) || (0, _type2.isDefined)(end) && !translator.isValid(end)) {
|
|
642
655
|
that._incidentOccurred("E2203")
|
|
643
656
|
}
|
|
644
657
|
},
|
|
@@ -674,7 +687,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
674
687
|
width: rect[2] - rect[0],
|
|
675
688
|
height: rect[3] - rect[1]
|
|
676
689
|
});
|
|
677
|
-
that._axis.getTranslator().update(new
|
|
690
|
+
that._axis.getTranslator().update(new _range2.default.Range, canvas, {
|
|
678
691
|
isHorizontal: true
|
|
679
692
|
});
|
|
680
693
|
that._updateContent({
|
|
@@ -702,7 +715,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
702
715
|
width: rect[2] - rect[0],
|
|
703
716
|
height: rect[3] - rect[1]
|
|
704
717
|
};
|
|
705
|
-
this._axis.updateOptions(extend({}, scaleOptions, {
|
|
718
|
+
this._axis.updateOptions((0, _extend.extend)({}, scaleOptions, {
|
|
706
719
|
isHorizontal: true,
|
|
707
720
|
label: {}
|
|
708
721
|
}));
|
|
@@ -734,7 +747,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
734
747
|
left: canvas.left + indents.left,
|
|
735
748
|
top: canvas.top + indents.top,
|
|
736
749
|
width: canvas.left + indents.left + _max(canvas.width - indents.left - indents.right, 1),
|
|
737
|
-
height: _max(!isCompactMode ? canvas.height - indents.top - indents.bottom - calculateScaleAreaHeight(that._renderer, scaleOptions, showScaleMarkers(scaleOptions), tickIntervalsInfo) :
|
|
750
|
+
height: _max(!isCompactMode ? canvas.height - indents.top - indents.bottom - calculateScaleAreaHeight(that._renderer, scaleOptions, showScaleMarkers(scaleOptions), tickIntervalsInfo) : _common2.default.HEIGHT_COMPACT_MODE, 0),
|
|
738
751
|
right: 0,
|
|
739
752
|
bottom: 0
|
|
740
753
|
};
|
|
@@ -766,7 +779,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
766
779
|
dataSource = that._dataSourceItems(),
|
|
767
780
|
scaleOptions = that._getOption("scale"),
|
|
768
781
|
valueType = scaleOptions.valueType || calculateValueType(scaleOptions.startValue, scaleOptions.endValue),
|
|
769
|
-
valueAxis = new
|
|
782
|
+
valueAxis = new _base_axis2.default.Axis({
|
|
770
783
|
renderer: that._renderer,
|
|
771
784
|
axisType: "xyAxes",
|
|
772
785
|
drawingType: "linear"
|
|
@@ -777,13 +790,13 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
777
790
|
categoriesSortingMethod: that._getOption("chart").valueAxis.categoriesSortingMethod
|
|
778
791
|
});
|
|
779
792
|
if (dataSource || chartOptions && chartOptions.series) {
|
|
780
|
-
chartOptions = extend({}, chartOptions, {
|
|
793
|
+
chartOptions = (0, _extend.extend)({}, chartOptions, {
|
|
781
794
|
theme: that.option("theme")
|
|
782
795
|
});
|
|
783
|
-
seriesDataSource = new
|
|
796
|
+
seriesDataSource = new _series_data_source2.default.SeriesDataSource({
|
|
784
797
|
renderer: that._renderer,
|
|
785
798
|
dataSource: dataSource,
|
|
786
|
-
valueType:
|
|
799
|
+
valueType: (0, _utils.normalizeEnum)(valueType),
|
|
787
800
|
axisType: scaleOptions.type,
|
|
788
801
|
chart: chartOptions,
|
|
789
802
|
dataSourceField: that.option("dataSourceField"),
|
|
@@ -808,41 +821,41 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
808
821
|
isValueTypeDatetime = scaleOptions.valueType === DATETIME;
|
|
809
822
|
sliderMarkerOptions.borderColor = that._getOption(CONTAINER_BACKGROUND_COLOR, true);
|
|
810
823
|
if (!sliderMarkerOptions.format && !argRange.isEmpty()) {
|
|
811
|
-
if (doNotSnap &&
|
|
824
|
+
if (doNotSnap && (0, _type2.isNumeric)(scaleOptions.startValue)) {
|
|
812
825
|
sliderMarkerOptions.format = {
|
|
813
826
|
type: "fixedPoint",
|
|
814
827
|
precision: getPrecisionForSlider(startValue, endValue, screenDelta)
|
|
815
828
|
}
|
|
816
829
|
}
|
|
817
830
|
if (isValueTypeDatetime && !isTypeDiscrete) {
|
|
818
|
-
if (
|
|
831
|
+
if ((0, _type2.isDefined)(minorTickInterval) && 0 !== minorTickInterval) {
|
|
819
832
|
interval = getMinorTickIntervalUnit(tickInterval, minorTickInterval, doNotSnap)
|
|
820
833
|
}
|
|
821
834
|
if (!scaleOptions.marker.visible) {
|
|
822
|
-
if (
|
|
823
|
-
sliderMarkerOptions.format =
|
|
835
|
+
if ((0, _type2.isDefined)(startValue) && (0, _type2.isDefined)(endValue)) {
|
|
836
|
+
sliderMarkerOptions.format = _format_helper2.default.getDateFormatByTickInterval(startValue, endValue, interval)
|
|
824
837
|
}
|
|
825
838
|
} else {
|
|
826
|
-
sliderMarkerOptions.format =
|
|
839
|
+
sliderMarkerOptions.format = (0, _date.getDateFormatByTickInterval)(interval)
|
|
827
840
|
}
|
|
828
841
|
}
|
|
829
842
|
if (isValueTypeDatetime && isTypeDiscrete && tickIntervalsInfo.ticks.length) {
|
|
830
|
-
sliderMarkerOptions.format =
|
|
843
|
+
sliderMarkerOptions.format = _format_helper2.default.getDateFormatByTicks(tickIntervalsInfo.ticks)
|
|
831
844
|
}
|
|
832
845
|
}
|
|
833
846
|
return sliderMarkerOptions
|
|
834
847
|
},
|
|
835
848
|
getValue: function() {
|
|
836
|
-
return convertVisualRangeObject(this._slidersController.getSelectedRange())
|
|
849
|
+
return (0, _utils.convertVisualRangeObject)(this._slidersController.getSelectedRange())
|
|
837
850
|
},
|
|
838
|
-
setValue: function(value) {
|
|
851
|
+
setValue: function(value, e) {
|
|
839
852
|
var current;
|
|
840
|
-
var visualRange =
|
|
853
|
+
var visualRange = (0, _utils.getVizRangeObject)(value);
|
|
841
854
|
if (!this._isUpdating && value) {
|
|
842
855
|
this._validateRange(visualRange.startValue, visualRange.endValue);
|
|
843
856
|
current = this._slidersController.getSelectedRange();
|
|
844
857
|
if (!current || current.startValue !== visualRange.startValue || current.endValue !== visualRange.endValue) {
|
|
845
|
-
this._slidersController.setSelectedRange(
|
|
858
|
+
this._slidersController.setSelectedRange((0, _utils.getVizRangeObject)(value), e)
|
|
846
859
|
}
|
|
847
860
|
}
|
|
848
861
|
},
|
|
@@ -851,7 +864,7 @@ var dxRangeSelector = require("../core/base_widget").inherit({
|
|
|
851
864
|
this.callBase.apply(this, arguments)
|
|
852
865
|
}
|
|
853
866
|
});
|
|
854
|
-
each(["selectedRangeColor", "containerBackgroundColor", "sliderMarker", "sliderHandle", "shutter", OPTION_BACKGROUND, "behavior", "chart", "indent"], function(_, name) {
|
|
867
|
+
(0, _iterator.each)(["selectedRangeColor", "containerBackgroundColor", "sliderMarker", "sliderHandle", "shutter", OPTION_BACKGROUND, "behavior", "chart", "indent"], function(_, name) {
|
|
855
868
|
dxRangeSelector.prototype._optionChangesMap[name] = "MOSTLY_TOTAL"
|
|
856
869
|
});
|
|
857
870
|
|
|
@@ -874,16 +887,16 @@ function prepareAxisOptions(scaleOptions, isCompactMode, height, axisPosition) {
|
|
|
874
887
|
}
|
|
875
888
|
|
|
876
889
|
function createDateMarkersEvent(scaleOptions, markerTrackers, setSelectedRange) {
|
|
877
|
-
each(markerTrackers, function(_, value) {
|
|
890
|
+
(0, _iterator.each)(markerTrackers, function(_, value) {
|
|
878
891
|
value.on("dxpointerdown", onPointerDown)
|
|
879
892
|
});
|
|
880
893
|
|
|
881
894
|
function onPointerDown(e) {
|
|
882
895
|
var range = e.target.range,
|
|
883
|
-
minRange = scaleOptions.minRange ? addInterval(range.startValue, scaleOptions.minRange) : void 0,
|
|
884
|
-
maxRange = scaleOptions.maxRange ? addInterval(range.startValue, scaleOptions.maxRange) : void 0;
|
|
896
|
+
minRange = scaleOptions.minRange ? (0, _date.addInterval)(range.startValue, scaleOptions.minRange) : void 0,
|
|
897
|
+
maxRange = scaleOptions.maxRange ? (0, _date.addInterval)(range.startValue, scaleOptions.maxRange) : void 0;
|
|
885
898
|
if (!(minRange && minRange > range.endValue || maxRange && maxRange < range.endValue)) {
|
|
886
|
-
setSelectedRange(range)
|
|
899
|
+
setSelectedRange(range, e)
|
|
887
900
|
}
|
|
888
901
|
}
|
|
889
902
|
}
|
|
@@ -893,12 +906,12 @@ function getShiftDirection() {
|
|
|
893
906
|
}
|
|
894
907
|
|
|
895
908
|
function getTickStartPositionShift(length) {
|
|
896
|
-
return length % 2 === 1 ? -
|
|
909
|
+
return length % 2 === 1 ? -_floor(length / 2) : -length / 2
|
|
897
910
|
}
|
|
898
911
|
|
|
899
912
|
function AxisWrapper(params) {
|
|
900
913
|
var that = this;
|
|
901
|
-
that._axis = new
|
|
914
|
+
that._axis = new _base_axis2.default.Axis({
|
|
902
915
|
renderer: params.renderer,
|
|
903
916
|
axesContainerGroup: params.root,
|
|
904
917
|
scaleBreaksGroup: params.scaleBreaksGroup,
|
|
@@ -923,7 +936,7 @@ AxisWrapper.prototype = {
|
|
|
923
936
|
},
|
|
924
937
|
update: function(options, isCompactMode, canvas, businessRange, seriesDataSource) {
|
|
925
938
|
var axis = this._axis;
|
|
926
|
-
axis.updateOptions(prepareAxisOptions(options, isCompactMode, canvas.height, canvas.height / 2 -
|
|
939
|
+
axis.updateOptions(prepareAxisOptions(options, isCompactMode, canvas.height, canvas.height / 2 - _ceil(options.width / 2)));
|
|
927
940
|
axis.validate();
|
|
928
941
|
axis.setBusinessRange(businessRange, true);
|
|
929
942
|
if (void 0 !== seriesDataSource && seriesDataSource.isShowChart()) {
|
|
@@ -962,9 +975,9 @@ AxisWrapper.prototype = {
|
|
|
962
975
|
return axis[methodName].apply(axis, arguments)
|
|
963
976
|
}
|
|
964
977
|
});
|
|
965
|
-
|
|
978
|
+
(0, _component_registrator2.default)("dxRangeSelector", dxRangeSelector);
|
|
966
979
|
module.exports = dxRangeSelector;
|
|
967
|
-
dxRangeSelector.addPlugin(
|
|
968
|
-
dxRangeSelector.addPlugin(
|
|
969
|
-
dxRangeSelector.addPlugin(
|
|
970
|
-
dxRangeSelector.addPlugin(
|
|
980
|
+
dxRangeSelector.addPlugin(_export.plugin);
|
|
981
|
+
dxRangeSelector.addPlugin(_title.plugin);
|
|
982
|
+
dxRangeSelector.addPlugin(_loading_indicator.plugin);
|
|
983
|
+
dxRangeSelector.addPlugin(_data_source.plugin);
|