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.
Files changed (1054) hide show
  1. package/animation/easing.js +2 -2
  2. package/animation/frame.d.ts +2 -2
  3. package/animation/frame.js +2 -2
  4. package/animation/fx.d.ts +2 -2
  5. package/animation/fx.js +2 -2
  6. package/animation/position.js +2 -2
  7. package/animation/presets/presets.js +2 -2
  8. package/animation/presets.d.ts +2 -2
  9. package/animation/presets.js +2 -2
  10. package/animation/transition_executor/transition_executor.js +2 -2
  11. package/animation/transition_executor.d.ts +2 -2
  12. package/animation/transition_executor.js +2 -2
  13. package/animation/translator.js +2 -2
  14. package/aspnet.js +2 -2
  15. package/bundles/dx.all.d.ts +5886 -5886
  16. package/bundles/modules/core.js +2 -2
  17. package/bundles/modules/data.js +2 -2
  18. package/bundles/modules/data.odata.js +2 -2
  19. package/bundles/modules/file_providers.js +2 -2
  20. package/bundles/modules/ui.js +2 -2
  21. package/bundles/modules/viz.js +2 -2
  22. package/color.js +2 -2
  23. package/core/action.js +2 -2
  24. package/core/class.js +2 -2
  25. package/core/component.js +2 -2
  26. package/core/component_registrator.js +2 -2
  27. package/core/component_registrator_callbacks.js +2 -2
  28. package/core/config.d.ts +2 -2
  29. package/core/config.js +2 -2
  30. package/core/devices.d.ts +2 -2
  31. package/core/devices.js +2 -2
  32. package/core/dom_adapter.js +23 -12
  33. package/core/dom_component.d.ts +2 -2
  34. package/core/dom_component.js +78 -58
  35. package/core/element.d.ts +2 -2
  36. package/core/element_data.js +2 -2
  37. package/core/errors.js +2 -2
  38. package/core/events_mixin.js +2 -2
  39. package/core/events_strategy.js +2 -2
  40. package/core/guid.d.ts +2 -2
  41. package/core/guid.js +2 -2
  42. package/core/http_request.js +2 -2
  43. package/core/memorized_callbacks.js +2 -2
  44. package/core/polyfills/promise.js +2 -2
  45. package/core/polyfills/weak_map.js +2 -2
  46. package/core/remove_event.js +2 -2
  47. package/core/renderer.js +2 -2
  48. package/core/renderer_base.js +2 -2
  49. package/core/utils/ajax.js +2 -2
  50. package/core/utils/array.js +2 -2
  51. package/core/utils/array_compare.js +2 -2
  52. package/core/utils/browser.js +2 -2
  53. package/core/utils/call_once.js +2 -2
  54. package/core/utils/callbacks.js +2 -2
  55. package/core/utils/common.js +2 -2
  56. package/core/utils/console.js +2 -2
  57. package/core/utils/data.js +2 -2
  58. package/core/utils/date.js +2 -2
  59. package/core/utils/date_serialization.js +2 -2
  60. package/core/utils/deferred.js +3 -3
  61. package/core/utils/dependency_injector.js +2 -2
  62. package/core/utils/dom.js +2 -2
  63. package/core/utils/error.js +2 -2
  64. package/core/utils/extend.js +2 -2
  65. package/core/utils/html_parser.js +2 -2
  66. package/core/utils/icon.js +2 -2
  67. package/core/utils/inflector.js +2 -2
  68. package/core/utils/iterator.js +2 -2
  69. package/core/utils/locker.js +2 -2
  70. package/core/utils/math.js +2 -2
  71. package/core/utils/object.js +2 -2
  72. package/core/utils/position.js +2 -2
  73. package/core/utils/public_component.js +2 -2
  74. package/core/utils/queue.js +2 -2
  75. package/core/utils/ready_callbacks.js +2 -2
  76. package/core/utils/resize_callbacks.js +2 -2
  77. package/core/utils/selection_filter.js +2 -2
  78. package/core/utils/size.js +2 -2
  79. package/core/utils/storage.js +2 -2
  80. package/core/utils/string.js +2 -2
  81. package/core/utils/style.js +2 -2
  82. package/core/utils/support.js +2 -2
  83. package/core/utils/svg.js +2 -2
  84. package/core/utils/type.js +2 -2
  85. package/core/utils/variable_wrapper.js +2 -2
  86. package/core/utils/version.js +2 -2
  87. package/core/utils/view_port.js +2 -2
  88. package/core/utils/window.js +2 -2
  89. package/core/version.js +3 -3
  90. package/data/abstract_store.js +2 -2
  91. package/data/array_query.js +2 -2
  92. package/data/array_store.d.ts +2 -2
  93. package/data/array_store.js +2 -2
  94. package/data/array_utils.js +2 -2
  95. package/data/custom_store.d.ts +2 -2
  96. package/data/custom_store.js +2 -2
  97. package/data/data_source/data_source.js +2 -2
  98. package/data/data_source.d.ts +2 -2
  99. package/data/data_source.js +2 -2
  100. package/data/endpoint_selector.d.ts +2 -2
  101. package/data/endpoint_selector.js +2 -2
  102. package/data/errors.d.ts +2 -2
  103. package/data/errors.js +2 -2
  104. package/data/load_options.d.ts +2 -2
  105. package/data/local_store.d.ts +2 -2
  106. package/data/local_store.js +2 -2
  107. package/data/odata/context.d.ts +2 -2
  108. package/data/odata/context.js +2 -2
  109. package/data/odata/mixins.js +2 -2
  110. package/data/odata/query_adapter.js +2 -2
  111. package/data/odata/store.d.ts +2 -2
  112. package/data/odata/store.js +2 -2
  113. package/data/odata/utils.d.ts +2 -2
  114. package/data/odata/utils.js +2 -2
  115. package/data/proxy_url_formatter.js +2 -2
  116. package/data/query.d.ts +2 -2
  117. package/data/query.js +2 -2
  118. package/data/query_adapters.js +2 -2
  119. package/data/remote_query.js +2 -2
  120. package/data/store_helper.js +2 -2
  121. package/data/utils.d.ts +2 -2
  122. package/data/utils.js +2 -2
  123. package/data_helper.js +2 -2
  124. package/dist/css/dx.carmine.compact.css +136 -73
  125. package/dist/css/dx.carmine.css +136 -73
  126. package/dist/css/dx.common.css +4 -9
  127. package/dist/css/dx.contrast.compact.css +134 -71
  128. package/dist/css/dx.contrast.css +134 -71
  129. package/dist/css/dx.dark.compact.css +138 -75
  130. package/dist/css/dx.dark.css +138 -75
  131. package/dist/css/dx.darkmoon.compact.css +134 -71
  132. package/dist/css/dx.darkmoon.css +134 -71
  133. package/dist/css/dx.darkviolet.compact.css +138 -75
  134. package/dist/css/dx.darkviolet.css +138 -75
  135. package/dist/css/dx.greenmist.compact.css +136 -73
  136. package/dist/css/dx.greenmist.css +136 -73
  137. package/dist/css/dx.ios7.default.css +20 -7
  138. package/dist/css/dx.light.compact.css +134 -71
  139. package/dist/css/dx.light.css +134 -71
  140. package/dist/css/dx.material.blue.dark.compact.css +146 -52
  141. package/dist/css/dx.material.blue.dark.css +146 -52
  142. package/dist/css/dx.material.blue.light.compact.css +146 -52
  143. package/dist/css/dx.material.blue.light.css +146 -52
  144. package/dist/css/dx.material.lime.dark.compact.css +146 -52
  145. package/dist/css/dx.material.lime.dark.css +146 -52
  146. package/dist/css/dx.material.lime.light.compact.css +146 -52
  147. package/dist/css/dx.material.lime.light.css +146 -52
  148. package/dist/css/dx.material.orange.dark.compact.css +146 -52
  149. package/dist/css/dx.material.orange.dark.css +146 -52
  150. package/dist/css/dx.material.orange.light.compact.css +146 -52
  151. package/dist/css/dx.material.orange.light.css +146 -52
  152. package/dist/css/dx.material.purple.dark.compact.css +146 -52
  153. package/dist/css/dx.material.purple.dark.css +146 -52
  154. package/dist/css/dx.material.purple.light.compact.css +146 -52
  155. package/dist/css/dx.material.purple.light.css +146 -52
  156. package/dist/css/dx.material.teal.dark.compact.css +146 -52
  157. package/dist/css/dx.material.teal.dark.css +146 -52
  158. package/dist/css/dx.material.teal.light.compact.css +146 -52
  159. package/dist/css/dx.material.teal.light.css +146 -52
  160. package/dist/css/dx.softblue.compact.css +136 -73
  161. package/dist/css/dx.softblue.css +136 -73
  162. package/dist/js/dx.all.debug.js +3943 -3218
  163. package/dist/js/dx.all.js +115 -114
  164. package/dist/js/dx.aspnet.mvc.js +2 -2
  165. package/dist/js/dx.viz-web.debug.js +3930 -3205
  166. package/dist/js/dx.viz-web.js +114 -114
  167. package/dist/js/dx.viz.debug.js +1403 -1287
  168. package/dist/js/dx.viz.js +41 -41
  169. package/dist/js/dx.web.debug.js +3245 -2552
  170. package/dist/js/dx.web.js +91 -90
  171. package/dist/js/localization/dx.messages.cs.js +2 -2
  172. package/dist/js/localization/dx.messages.de.js +2 -2
  173. package/dist/js/localization/dx.messages.el.js +2 -2
  174. package/dist/js/localization/dx.messages.en.js +2 -2
  175. package/dist/js/localization/dx.messages.es.js +2 -2
  176. package/dist/js/localization/dx.messages.fi.js +2 -2
  177. package/dist/js/localization/dx.messages.fr.js +2 -2
  178. package/dist/js/localization/dx.messages.it.js +2 -2
  179. package/dist/js/localization/dx.messages.ja.js +2 -2
  180. package/dist/js/localization/dx.messages.nl.js +2 -2
  181. package/dist/js/localization/dx.messages.pt.js +2 -2
  182. package/dist/js/localization/dx.messages.ru.js +2 -2
  183. package/dist/js/localization/dx.messages.sl.js +2 -2
  184. package/dist/js/localization/dx.messages.sv.js +2 -2
  185. package/dist/js/localization/dx.messages.tr.js +2 -2
  186. package/dist/js/localization/dx.messages.zh.js +2 -2
  187. package/dist/js/vectormap-utils/dx.vectormaputils.debug.js +2 -2
  188. package/dist/js/vectormap-utils/dx.vectormaputils.js +2 -2
  189. package/dist/js/vectormap-utils/dx.vectormaputils.node.js +2 -2
  190. package/dist/ts/dx.all.d.ts +5886 -5886
  191. package/docEnums.js +2 -2
  192. package/events/click.d.ts +2 -2
  193. package/events/click.js +2 -2
  194. package/events/contextmenu.d.ts +2 -2
  195. package/events/contextmenu.js +2 -2
  196. package/events/core/emitter.feedback.js +2 -2
  197. package/events/core/emitter.js +2 -2
  198. package/events/core/emitter_registrator.js +2 -2
  199. package/events/core/event_registrator.js +2 -2
  200. package/events/core/event_registrator_callbacks.js +2 -2
  201. package/events/core/events_engine.js +2 -2
  202. package/events/core/hook_touch_props.js +2 -2
  203. package/events/core/wheel.js +2 -2
  204. package/events/core.js +2 -2
  205. package/events/dblclick.d.ts +2 -2
  206. package/events/dblclick.js +2 -2
  207. package/events/double_click.js +2 -2
  208. package/events/drag.d.ts +2 -2
  209. package/events/drag.js +2 -2
  210. package/events/gesture/emitter.gesture.js +2 -2
  211. package/events/gesture/swipeable.js +2 -2
  212. package/events/hold.d.ts +2 -2
  213. package/events/hold.js +2 -2
  214. package/events/hover.d.ts +2 -2
  215. package/events/hover.js +2 -2
  216. package/events/pointer/base.js +2 -2
  217. package/events/pointer/mouse.js +2 -2
  218. package/events/pointer/mouse_and_touch.js +2 -2
  219. package/events/pointer/mspointer.js +2 -2
  220. package/events/pointer/observer.js +2 -2
  221. package/events/pointer/touch.js +2 -2
  222. package/events/pointer.d.ts +2 -2
  223. package/events/pointer.js +2 -2
  224. package/events/swipe.d.ts +2 -2
  225. package/events/swipe.js +2 -2
  226. package/events/transform.d.ts +2 -2
  227. package/events/transform.js +2 -2
  228. package/events/utils.js +10 -6
  229. package/events.d.ts +2 -2
  230. package/events.js +2 -2
  231. package/exporter/excel/excel.cell_alignment_helper.js +2 -2
  232. package/exporter/excel/excel.cell_format_helper.js +2 -2
  233. package/exporter/excel/excel.color_helper.js +2 -2
  234. package/exporter/excel/excel.doc_comments.js +2 -2
  235. package/exporter/excel/excel.file.js +2 -2
  236. package/exporter/excel/excel.fill_helper.js +2 -2
  237. package/exporter/excel/excel.font_helper.js +2 -2
  238. package/exporter/excel/excel.number_format_helper.js +2 -2
  239. package/exporter/excel/excel.pattern_fill_helper.js +2 -2
  240. package/exporter/excel/excel.tag_helper.js +2 -2
  241. package/exporter/excel_creator.js +2 -2
  242. package/exporter/excel_format_converter.js +2 -2
  243. package/exporter/exceljs/excelExporter.js +2 -2
  244. package/exporter/exceljs/exportDataGrid.js +39 -12
  245. package/exporter/file_saver.js +4 -3
  246. package/exporter/image_creator.js +2 -2
  247. package/exporter/pdf_creator.js +2 -2
  248. package/exporter/svg_creator.js +2 -2
  249. package/exporter.js +2 -2
  250. package/format_helper.js +2 -2
  251. package/integration/angular/action_executors.js +2 -2
  252. package/integration/angular/component_registrator.js +2 -2
  253. package/integration/angular/components.js +2 -2
  254. package/integration/angular/event_registrator.js +2 -2
  255. package/integration/angular/module.js +2 -2
  256. package/integration/angular/template.js +2 -2
  257. package/integration/angular.js +2 -2
  258. package/integration/jquery/ajax.js +2 -2
  259. package/integration/jquery/component_registrator.js +2 -2
  260. package/integration/jquery/deferred.js +2 -2
  261. package/integration/jquery/easing.js +2 -2
  262. package/integration/jquery/element.js +2 -2
  263. package/integration/jquery/element_data.js +2 -2
  264. package/integration/jquery/events.js +2 -2
  265. package/integration/jquery/hold_ready.js +2 -2
  266. package/integration/jquery/hooks.js +2 -2
  267. package/integration/jquery/renderer.js +2 -2
  268. package/integration/jquery/use_jquery.js +2 -2
  269. package/integration/jquery.d.ts +2 -2
  270. package/integration/jquery.js +2 -2
  271. package/integration/knockout/clean_node.js +2 -2
  272. package/integration/knockout/clean_node_old.js +2 -2
  273. package/integration/knockout/component_registrator.js +2 -2
  274. package/integration/knockout/components.js +2 -2
  275. package/integration/knockout/event_registrator.js +2 -2
  276. package/integration/knockout/template.js +2 -2
  277. package/integration/knockout/utils.js +2 -2
  278. package/integration/knockout/validation.js +2 -2
  279. package/integration/knockout/variable_wrapper_utils.js +2 -2
  280. package/integration/knockout.js +2 -2
  281. package/localization/cldr-data/parentLocales.js +2 -2
  282. package/localization/core.js +2 -2
  283. package/localization/currency.js +2 -2
  284. package/localization/date.js +2 -2
  285. package/localization/default_date_names.js +2 -2
  286. package/localization/default_messages.js +2 -2
  287. package/localization/globalize/core.js +2 -2
  288. package/localization/globalize/currency.js +2 -2
  289. package/localization/globalize/date.js +3 -3
  290. package/localization/globalize/message.js +2 -2
  291. package/localization/globalize/number.js +2 -2
  292. package/localization/language_codes.js +2 -2
  293. package/localization/ldml/date.format.js +2 -2
  294. package/localization/ldml/date.formatter.js +2 -2
  295. package/localization/ldml/date.parser.js +2 -2
  296. package/localization/ldml/number.js +2 -2
  297. package/localization/message.js +2 -2
  298. package/localization/number.js +2 -2
  299. package/localization/utils.js +2 -2
  300. package/localization.d.ts +2 -2
  301. package/localization.js +2 -2
  302. package/mobile/hide_top_overlay.d.ts +2 -2
  303. package/mobile/hide_top_overlay.js +2 -2
  304. package/mobile/init_mobile_viewport/init_mobile_viewport.js +2 -2
  305. package/mobile/init_mobile_viewport.d.ts +2 -2
  306. package/mobile/init_mobile_viewport.js +2 -2
  307. package/package.json +2 -2
  308. package/ui/accordion.d.ts +2 -2
  309. package/ui/accordion.js +2 -2
  310. package/ui/action_sheet.d.ts +2 -2
  311. package/ui/action_sheet.js +2 -2
  312. package/ui/autocomplete.d.ts +2 -2
  313. package/ui/autocomplete.js +2 -2
  314. package/ui/box.d.ts +2 -2
  315. package/ui/box.js +2 -2
  316. package/ui/button.d.ts +2 -2
  317. package/ui/button.js +2 -2
  318. package/ui/button_group.d.ts +2 -2
  319. package/ui/button_group.js +2 -2
  320. package/ui/calendar/ui.calendar.base_view.js +2 -2
  321. package/ui/calendar/ui.calendar.js +2 -2
  322. package/ui/calendar/ui.calendar.navigator.js +2 -2
  323. package/ui/calendar/ui.calendar.views.js +2 -2
  324. package/ui/calendar.d.ts +2 -2
  325. package/ui/calendar.js +2 -2
  326. package/ui/check_box.d.ts +2 -2
  327. package/ui/check_box.js +2 -2
  328. package/ui/collection/item.js +2 -2
  329. package/ui/collection/ui.collection_widget.async.js +2 -2
  330. package/ui/collection/ui.collection_widget.base.js +6 -2
  331. package/ui/collection/ui.collection_widget.edit.js +2 -2
  332. package/ui/collection/ui.collection_widget.edit.strategy.js +2 -2
  333. package/ui/collection/ui.collection_widget.edit.strategy.plain.js +2 -2
  334. package/ui/collection/ui.collection_widget.live_update.js +2 -2
  335. package/ui/color_box/color_box.js +2 -2
  336. package/ui/color_box/color_view.js +2 -2
  337. package/ui/color_box.d.ts +2 -2
  338. package/ui/color_box.js +2 -2
  339. package/ui/context_menu/ui.context_menu.js +2 -2
  340. package/ui/context_menu/ui.menu_base.edit.strategy.js +2 -2
  341. package/ui/context_menu/ui.menu_base.js +2 -2
  342. package/ui/context_menu.d.ts +2 -2
  343. package/ui/context_menu.js +2 -2
  344. package/ui/data_grid/aggregate_calculator.js +2 -2
  345. package/ui/data_grid/ui.data_grid.adaptivity.js +2 -2
  346. package/ui/data_grid/ui.data_grid.base.d.ts +2 -2
  347. package/ui/data_grid/ui.data_grid.base.js +2 -2
  348. package/ui/data_grid/ui.data_grid.column_chooser.js +2 -2
  349. package/ui/data_grid/ui.data_grid.column_fixing.js +2 -2
  350. package/ui/data_grid/ui.data_grid.column_headers.js +2 -2
  351. package/ui/data_grid/ui.data_grid.columns_controller.js +2 -2
  352. package/ui/data_grid/ui.data_grid.columns_resizing_reordering.js +2 -2
  353. package/ui/data_grid/ui.data_grid.context_menu.js +2 -2
  354. package/ui/data_grid/ui.data_grid.core.js +2 -2
  355. package/ui/data_grid/ui.data_grid.data_controller.js +2 -2
  356. package/ui/data_grid/ui.data_grid.data_source_adapter.js +2 -2
  357. package/ui/data_grid/ui.data_grid.editing.js +2 -2
  358. package/ui/data_grid/ui.data_grid.editor_factory.js +2 -2
  359. package/ui/data_grid/ui.data_grid.error_handling.js +2 -2
  360. package/ui/data_grid/ui.data_grid.export.js +28 -6
  361. package/ui/data_grid/ui.data_grid.filter_builder.js +2 -2
  362. package/ui/data_grid/ui.data_grid.filter_panel.js +2 -2
  363. package/ui/data_grid/ui.data_grid.filter_row.js +2 -2
  364. package/ui/data_grid/ui.data_grid.filter_sync.js +2 -2
  365. package/ui/data_grid/ui.data_grid.focus.js +2 -2
  366. package/ui/data_grid/ui.data_grid.grid_view.js +2 -2
  367. package/ui/data_grid/ui.data_grid.grouping.collapsed.js +10 -6
  368. package/ui/data_grid/ui.data_grid.grouping.core.js +2 -2
  369. package/ui/data_grid/ui.data_grid.grouping.expanded.js +2 -2
  370. package/ui/data_grid/ui.data_grid.grouping.js +2 -2
  371. package/ui/data_grid/ui.data_grid.header_filter.js +2 -2
  372. package/ui/data_grid/ui.data_grid.header_panel.js +2 -2
  373. package/ui/data_grid/ui.data_grid.js +2 -2
  374. package/ui/data_grid/ui.data_grid.keyboard_navigation.js +2 -2
  375. package/ui/data_grid/ui.data_grid.master_detail.js +2 -2
  376. package/ui/data_grid/ui.data_grid.pager.js +2 -2
  377. package/ui/data_grid/ui.data_grid.rows.js +2 -2
  378. package/ui/data_grid/ui.data_grid.search.js +2 -2
  379. package/ui/data_grid/ui.data_grid.selection.js +2 -2
  380. package/ui/data_grid/ui.data_grid.sorting.js +2 -2
  381. package/ui/data_grid/ui.data_grid.state_storing.js +2 -2
  382. package/ui/data_grid/ui.data_grid.summary.js +2 -2
  383. package/ui/data_grid/ui.data_grid.utils.js +2 -2
  384. package/ui/data_grid/ui.data_grid.validating.js +2 -2
  385. package/ui/data_grid/ui.data_grid.virtual_columns.js +2 -2
  386. package/ui/data_grid/ui.data_grid.virtual_scrolling.js +2 -2
  387. package/ui/data_grid.d.ts +2 -2
  388. package/ui/data_grid.js +2 -2
  389. package/ui/date_box/ui.date_box.base.js +3 -3
  390. package/ui/date_box/ui.date_box.js +2 -2
  391. package/ui/date_box/ui.date_box.mask.js +18 -11
  392. package/ui/date_box/ui.date_box.mask.parts.js +4 -4
  393. package/ui/date_box/ui.date_box.strategy.calendar.js +2 -2
  394. package/ui/date_box/ui.date_box.strategy.calendar_with_time.js +2 -2
  395. package/ui/date_box/ui.date_box.strategy.date_view.js +2 -2
  396. package/ui/date_box/ui.date_box.strategy.js +5 -2
  397. package/ui/date_box/ui.date_box.strategy.list.js +13 -2
  398. package/ui/date_box/ui.date_box.strategy.native.js +2 -2
  399. package/ui/date_box/ui.date_utils.js +2 -2
  400. package/ui/date_box/ui.date_view.js +2 -2
  401. package/ui/date_box/ui.date_view_roller.js +2 -2
  402. package/ui/date_box/ui.time_view.js +2 -2
  403. package/ui/date_box.d.ts +2 -2
  404. package/ui/date_box.js +2 -2
  405. package/ui/defer_rendering.d.ts +2 -2
  406. package/ui/defer_rendering.js +2 -2
  407. package/ui/diagram/diagram.panel.js +2 -2
  408. package/ui/diagram/diagram_bar.js +2 -2
  409. package/ui/diagram/diagram_importer.js +2 -2
  410. package/ui/diagram/ui.diagram.commands.js +2 -2
  411. package/ui/diagram/ui.diagram.contextmenu.js +2 -2
  412. package/ui/diagram/ui.diagram.edges.js +2 -2
  413. package/ui/diagram/ui.diagram.items.js +2 -2
  414. package/ui/diagram/ui.diagram.js +2 -2
  415. package/ui/diagram/ui.diagram.leftpanel.js +2 -2
  416. package/ui/diagram/ui.diagram.nodes.js +2 -2
  417. package/ui/diagram/ui.diagram.rightpanel.js +2 -2
  418. package/ui/diagram/ui.diagram.shape.categories.js +2 -2
  419. package/ui/diagram/ui.diagram.toolbar.js +2 -2
  420. package/ui/diagram.d.ts +2 -2
  421. package/ui/diagram.js +2 -2
  422. package/ui/dialog.d.ts +2 -2
  423. package/ui/dialog.js +2 -2
  424. package/ui/draggable.js +2 -2
  425. package/ui/drawer/ui.drawer.js +2 -2
  426. package/ui/drawer/ui.drawer.rendering.strategy.js +2 -2
  427. package/ui/drawer/ui.drawer.rendering.strategy.overlap.js +2 -2
  428. package/ui/drawer/ui.drawer.rendering.strategy.push.js +2 -2
  429. package/ui/drawer/ui.drawer.rendering.strategy.shrink.js +2 -2
  430. package/ui/drawer.d.ts +2 -2
  431. package/ui/drawer.js +2 -2
  432. package/ui/drop_down_box.d.ts +2 -2
  433. package/ui/drop_down_box.js +2 -2
  434. package/ui/drop_down_button.d.ts +2 -2
  435. package/ui/drop_down_button.js +25 -10
  436. package/ui/drop_down_editor/ui.drop_down_button.js +2 -2
  437. package/ui/drop_down_editor/ui.drop_down_editor.d.ts +2 -2
  438. package/ui/drop_down_editor/ui.drop_down_editor.js +3 -3
  439. package/ui/drop_down_editor/ui.drop_down_list.js +8 -4
  440. package/ui/drop_down_menu.js +2 -2
  441. package/ui/editor/editor.js +10 -3
  442. package/ui/editor/ui.data_expression.js +2 -2
  443. package/ui/file_manager/file_provider/ajax.js +2 -2
  444. package/ui/file_manager/file_provider/array.js +2 -2
  445. package/ui/file_manager/file_provider/file_provider.js +2 -2
  446. package/ui/file_manager/file_provider/onedrive.js +2 -2
  447. package/ui/file_manager/file_provider/webapi.js +2 -2
  448. package/ui/file_manager/ui.file_manager.adaptivity.js +2 -2
  449. package/ui/file_manager/ui.file_manager.breadcrumbs.js +2 -2
  450. package/ui/file_manager/ui.file_manager.command_manager.js +2 -2
  451. package/ui/file_manager/ui.file_manager.common.js +2 -2
  452. package/ui/file_manager/ui.file_manager.context_menu.js +2 -2
  453. package/ui/file_manager/ui.file_manager.dialog.folder_chooser.js +2 -2
  454. package/ui/file_manager/ui.file_manager.dialog.js +2 -2
  455. package/ui/file_manager/ui.file_manager.dialog.name_editor.js +2 -2
  456. package/ui/file_manager/ui.file_manager.editing.js +3 -3
  457. package/ui/file_manager/ui.file_manager.file_actions_button.js +2 -2
  458. package/ui/file_manager/ui.file_manager.file_uploader.js +2 -2
  459. package/ui/file_manager/ui.file_manager.files_tree_view.js +2 -2
  460. package/ui/file_manager/ui.file_manager.item_list.details.js +2 -2
  461. package/ui/file_manager/ui.file_manager.item_list.js +2 -2
  462. package/ui/file_manager/ui.file_manager.item_list.thumbnails.js +2 -2
  463. package/ui/file_manager/ui.file_manager.js +2 -2
  464. package/ui/file_manager/ui.file_manager.messages.js +2 -2
  465. package/ui/file_manager/ui.file_manager.toolbar.js +2 -2
  466. package/ui/file_manager/ui.file_manager.utils.js +2 -2
  467. package/ui/file_manager.d.ts +2 -2
  468. package/ui/file_manager.js +2 -2
  469. package/ui/file_uploader.d.ts +2 -2
  470. package/ui/file_uploader.js +2 -2
  471. package/ui/filter_builder/between.js +2 -2
  472. package/ui/filter_builder/filter_builder.js +4 -2
  473. package/ui/filter_builder/ui.filter_operations_dictionary.js +2 -2
  474. package/ui/filter_builder/utils.js +6 -3
  475. package/ui/filter_builder.d.ts +2 -2
  476. package/ui/filter_builder.js +2 -2
  477. package/ui/form/ui.form.item_option_action.js +69 -0
  478. package/ui/form/ui.form.item_options_actions.js +175 -0
  479. package/ui/form/ui.form.items_runtime_info.js +2 -2
  480. package/ui/form/ui.form.js +185 -180
  481. package/ui/form/ui.form.layout_manager.js +63 -74
  482. package/ui/form.d.ts +2 -2
  483. package/ui/form.js +2 -2
  484. package/ui/gallery.d.ts +2 -2
  485. package/ui/gallery.js +2 -2
  486. package/ui/grid_core/ui.grid_core.accessibility.js +2 -2
  487. package/ui/grid_core/ui.grid_core.adaptivity.js +7 -7
  488. package/ui/grid_core/ui.grid_core.column_chooser.js +21 -4
  489. package/ui/grid_core/ui.grid_core.column_fixing.js +2 -2
  490. package/ui/grid_core/ui.grid_core.column_headers.js +2 -2
  491. package/ui/grid_core/ui.grid_core.column_state_mixin.js +2 -2
  492. package/ui/grid_core/ui.grid_core.columns_controller.js +22 -18
  493. package/ui/grid_core/ui.grid_core.columns_resizing_reordering.js +10 -5
  494. package/ui/grid_core/ui.grid_core.columns_view.js +2 -2
  495. package/ui/grid_core/ui.grid_core.context_menu.js +4 -4
  496. package/ui/grid_core/ui.grid_core.data_controller.js +3 -3
  497. package/ui/grid_core/ui.grid_core.data_source_adapter.js +2 -2
  498. package/ui/grid_core/ui.grid_core.editing.js +35 -28
  499. package/ui/grid_core/ui.grid_core.editor_factory.js +9 -4
  500. package/ui/grid_core/ui.grid_core.error_handling.js +2 -2
  501. package/ui/grid_core/ui.grid_core.export_mixin.js +2 -2
  502. package/ui/grid_core/ui.grid_core.filter_builder.js +2 -2
  503. package/ui/grid_core/ui.grid_core.filter_custom_operations.js +2 -2
  504. package/ui/grid_core/ui.grid_core.filter_panel.js +2 -2
  505. package/ui/grid_core/ui.grid_core.filter_row.js +2 -2
  506. package/ui/grid_core/ui.grid_core.filter_sync.js +2 -2
  507. package/ui/grid_core/ui.grid_core.focus.js +79 -69
  508. package/ui/grid_core/ui.grid_core.grid_view.js +2 -2
  509. package/ui/grid_core/ui.grid_core.header_filter.js +3 -6
  510. package/ui/grid_core/ui.grid_core.header_filter_core.js +2 -2
  511. package/ui/grid_core/ui.grid_core.header_panel.js +2 -2
  512. package/ui/grid_core/ui.grid_core.keyboard_navigation.js +40 -24
  513. package/ui/grid_core/ui.grid_core.master_detail.js +3 -3
  514. package/ui/grid_core/ui.grid_core.modules.js +2 -2
  515. package/ui/grid_core/ui.grid_core.pager.js +2 -2
  516. package/ui/grid_core/ui.grid_core.rows.js +3 -3
  517. package/ui/grid_core/ui.grid_core.search.js +6 -4
  518. package/ui/grid_core/ui.grid_core.selection.js +4 -4
  519. package/ui/grid_core/ui.grid_core.sorting.js +2 -2
  520. package/ui/grid_core/ui.grid_core.sorting_mixin.js +2 -2
  521. package/ui/grid_core/ui.grid_core.state_storing.js +18 -13
  522. package/ui/grid_core/ui.grid_core.state_storing_core.js +2 -2
  523. package/ui/grid_core/ui.grid_core.utils.js +10 -3
  524. package/ui/grid_core/ui.grid_core.validating.js +2 -2
  525. package/ui/grid_core/ui.grid_core.virtual_columns.js +2 -2
  526. package/ui/grid_core/ui.grid_core.virtual_columns_core.js +2 -2
  527. package/ui/grid_core/ui.grid_core.virtual_scrolling.js +2 -2
  528. package/ui/grid_core/ui.grid_core.virtual_scrolling_core.js +2 -2
  529. package/ui/hierarchical_collection/ui.data_adapter.js +2 -2
  530. package/ui/hierarchical_collection/ui.data_converter.js +2 -2
  531. package/ui/hierarchical_collection/ui.hierarchical_collection_widget.js +2 -2
  532. package/ui/html_editor/converterController.js +2 -2
  533. package/ui/html_editor/converters/delta.js +2 -2
  534. package/ui/html_editor/converters/markdown.js +2 -2
  535. package/ui/html_editor/formats/align.js +2 -2
  536. package/ui/html_editor/formats/font.js +2 -2
  537. package/ui/html_editor/formats/image.js +2 -2
  538. package/ui/html_editor/formats/link.js +2 -2
  539. package/ui/html_editor/formats/mention.js +2 -2
  540. package/ui/html_editor/formats/size.js +2 -2
  541. package/ui/html_editor/formats/variable.js +2 -2
  542. package/ui/html_editor/matchers/textDecoration.js +2 -2
  543. package/ui/html_editor/matchers/wordLists.js +2 -2
  544. package/ui/html_editor/modules/dropImage.js +2 -2
  545. package/ui/html_editor/modules/mentions.js +2 -2
  546. package/ui/html_editor/modules/popup.js +2 -2
  547. package/ui/html_editor/modules/resizing.js +2 -2
  548. package/ui/html_editor/modules/toolbar.js +7 -2
  549. package/ui/html_editor/modules/variables.js +2 -2
  550. package/ui/html_editor/modules/widget_collector.js +2 -2
  551. package/ui/html_editor/quill_importer.js +2 -2
  552. package/ui/html_editor/quill_registrator.js +2 -2
  553. package/ui/html_editor/themes/base.js +2 -2
  554. package/ui/html_editor/ui/formDialog.js +2 -2
  555. package/ui/html_editor/ui.html_editor.js +38 -3
  556. package/ui/html_editor.d.ts +2 -2
  557. package/ui/html_editor.js +2 -2
  558. package/ui/list/item.js +2 -2
  559. package/ui/list/ui.list.base.js +2 -2
  560. package/ui/list/ui.list.edit.decorator.context.js +2 -2
  561. package/ui/list/ui.list.edit.decorator.js +2 -2
  562. package/ui/list/ui.list.edit.decorator.reorder.js +35 -4
  563. package/ui/list/ui.list.edit.decorator.selection.js +2 -2
  564. package/ui/list/ui.list.edit.decorator.static.js +2 -2
  565. package/ui/list/ui.list.edit.decorator.swipe.js +2 -2
  566. package/ui/list/ui.list.edit.decorator.switchable.button.js +2 -2
  567. package/ui/list/ui.list.edit.decorator.switchable.js +2 -2
  568. package/ui/list/ui.list.edit.decorator.switchable.slide.js +2 -2
  569. package/ui/list/ui.list.edit.decorator_menu_helper.js +2 -2
  570. package/ui/list/ui.list.edit.decorator_registry.js +2 -2
  571. package/ui/list/ui.list.edit.js +2 -2
  572. package/ui/list/ui.list.edit.provider.js +2 -2
  573. package/ui/list/ui.list.edit.search.js +2 -2
  574. package/ui/list/ui.list.edit.strategy.grouped.js +2 -2
  575. package/ui/list.d.ts +2 -2
  576. package/ui/list.js +2 -2
  577. package/ui/load_indicator.d.ts +2 -2
  578. package/ui/load_indicator.js +2 -2
  579. package/ui/load_panel.d.ts +2 -2
  580. package/ui/load_panel.js +2 -2
  581. package/ui/lookup.d.ts +2 -2
  582. package/ui/lookup.js +2 -2
  583. package/ui/map/provider.dynamic.bing.js +2 -2
  584. package/ui/map/provider.dynamic.google.js +2 -2
  585. package/ui/map/provider.dynamic.js +2 -2
  586. package/ui/map/provider.google_static.js +2 -2
  587. package/ui/map/provider.js +2 -2
  588. package/ui/map.d.ts +2 -2
  589. package/ui/map.js +2 -2
  590. package/ui/menu/ui.menu.js +2 -2
  591. package/ui/menu/ui.submenu.js +2 -2
  592. package/ui/menu.d.ts +2 -2
  593. package/ui/menu.js +2 -2
  594. package/ui/multi_view.d.ts +2 -2
  595. package/ui/multi_view.js +2 -2
  596. package/ui/nav_bar/item.js +2 -2
  597. package/ui/nav_bar.d.ts +2 -2
  598. package/ui/nav_bar.js +2 -2
  599. package/ui/notify.d.ts +2 -2
  600. package/ui/notify.js +2 -2
  601. package/ui/number_box/number_box.base.js +6 -3
  602. package/ui/number_box/number_box.caret.js +12 -8
  603. package/ui/number_box/number_box.js +2 -2
  604. package/ui/number_box/number_box.mask.js +31 -24
  605. package/ui/number_box/number_box.spin.js +2 -2
  606. package/ui/number_box/number_box.spins.js +2 -2
  607. package/ui/number_box.d.ts +2 -2
  608. package/ui/number_box.js +2 -2
  609. package/ui/overlay/ui.overlay.js +4 -3
  610. package/ui/overlay/utils.js +2 -2
  611. package/ui/overlay/z_index.js +2 -2
  612. package/ui/overlay.d.ts +2 -2
  613. package/ui/overlay.js +2 -2
  614. package/ui/pager.js +2 -2
  615. package/ui/pivot_grid/data_source.d.ts +2 -2
  616. package/ui/pivot_grid/data_source.js +2 -2
  617. package/ui/pivot_grid/local_store.js +2 -2
  618. package/ui/pivot_grid/remote_store.js +2 -2
  619. package/ui/pivot_grid/ui.pivot_grid.area_item.js +2 -2
  620. package/ui/pivot_grid/ui.pivot_grid.chart_integration.js +2 -2
  621. package/ui/pivot_grid/ui.pivot_grid.data_area.js +2 -2
  622. package/ui/pivot_grid/ui.pivot_grid.data_controller.js +2 -2
  623. package/ui/pivot_grid/ui.pivot_grid.export.js +2 -2
  624. package/ui/pivot_grid/ui.pivot_grid.field_chooser.js +2 -2
  625. package/ui/pivot_grid/ui.pivot_grid.field_chooser_base.js +2 -2
  626. package/ui/pivot_grid/ui.pivot_grid.fields_area.js +2 -2
  627. package/ui/pivot_grid/ui.pivot_grid.headers_area.js +2 -2
  628. package/ui/pivot_grid/ui.pivot_grid.js +3 -3
  629. package/ui/pivot_grid/ui.pivot_grid.summary_display_modes.js +2 -2
  630. package/ui/pivot_grid/ui.pivot_grid.utils.js +2 -2
  631. package/ui/pivot_grid/ui.sortable.js +2 -2
  632. package/ui/pivot_grid/xmla_store/xmla_store.js +2 -2
  633. package/ui/pivot_grid/xmla_store.d.ts +2 -2
  634. package/ui/pivot_grid/xmla_store.js +2 -2
  635. package/ui/pivot_grid.d.ts +2 -2
  636. package/ui/pivot_grid.js +2 -2
  637. package/ui/pivot_grid_field_chooser.d.ts +2 -2
  638. package/ui/pivot_grid_field_chooser.js +2 -2
  639. package/ui/popover.d.ts +2 -2
  640. package/ui/popover.js +15 -10
  641. package/ui/popup.d.ts +2 -2
  642. package/ui/popup.js +4 -4
  643. package/ui/progress_bar.d.ts +2 -2
  644. package/ui/progress_bar.js +2 -2
  645. package/ui/radio_group/radio_button.js +2 -2
  646. package/ui/radio_group/radio_group.js +4 -5
  647. package/ui/radio_group.d.ts +2 -2
  648. package/ui/radio_group.js +2 -2
  649. package/ui/range_slider.d.ts +2 -2
  650. package/ui/range_slider.js +2 -2
  651. package/ui/recurrence_editor.d.ts +2 -2
  652. package/ui/recurrence_editor.js +2 -2
  653. package/ui/resizable.d.ts +2 -2
  654. package/ui/resizable.js +2 -2
  655. package/ui/responsive_box.d.ts +2 -2
  656. package/ui/responsive_box.js +2 -2
  657. package/ui/scheduler/compactAppointmentsHelper.js +2 -2
  658. package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.agenda.js +2 -5
  659. package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.base.js +8 -10
  660. package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.horizontal.js +2 -10
  661. package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.horizontal_month.js +2 -5
  662. package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.horizontal_month_line.js +2 -2
  663. package/ui/scheduler/rendering_strategies/ui.scheduler.appointments.strategy.vertical.js +2 -2
  664. package/ui/scheduler/rendering_strategies/ui.scheduler.appointmentsPositioning.strategy.adaptive.js +2 -2
  665. package/ui/scheduler/rendering_strategies/ui.scheduler.appointmentsPositioning.strategy.base.js +2 -2
  666. package/ui/scheduler/shaders/ui.scheduler.current_time_shader.horizontal.js +2 -2
  667. package/ui/scheduler/shaders/ui.scheduler.current_time_shader.js +2 -2
  668. package/ui/scheduler/shaders/ui.scheduler.current_time_shader.vertical.js +2 -2
  669. package/ui/scheduler/timezones/ui.scheduler.timezone_editor.js +2 -2
  670. package/ui/scheduler/timezones/ui.scheduler.timezones.js +2 -2
  671. package/ui/scheduler/timezones/ui.scheduler.timezones_data.js +2 -2
  672. package/ui/scheduler/tooltip_strategies/desktopTooltipStrategy.js +2 -2
  673. package/ui/scheduler/tooltip_strategies/mobileTooltipStrategy.js +2 -2
  674. package/ui/scheduler/tooltip_strategies/tooltipStrategyBase.js +12 -8
  675. package/ui/scheduler/ui.loading.js +2 -2
  676. package/ui/scheduler/ui.scheduler.appointment.js +2 -2
  677. package/ui/scheduler/ui.scheduler.appointment_form.js +8 -5
  678. package/ui/scheduler/ui.scheduler.appointment_model.js +8 -7
  679. package/ui/scheduler/ui.scheduler.appointments.js +13 -9
  680. package/ui/scheduler/ui.scheduler.appointments.layout_manager.js +2 -2
  681. package/ui/scheduler/ui.scheduler.header.js +2 -2
  682. package/ui/scheduler/ui.scheduler.js +7 -4
  683. package/ui/scheduler/ui.scheduler.navigator.js +2 -2
  684. package/ui/scheduler/ui.scheduler.publisher_mixin.js +2 -2
  685. package/ui/scheduler/ui.scheduler.recurrence_editor.js +4 -3
  686. package/ui/scheduler/ui.scheduler.resource_manager.js +2 -2
  687. package/ui/scheduler/ui.scheduler.subscribes.js +5 -5
  688. package/ui/scheduler/ui.scheduler.table_creator.js +2 -2
  689. package/ui/scheduler/utils.recurrence.js +2 -2
  690. package/ui/scheduler/workspaces/ui.scheduler.agenda.js +2 -2
  691. package/ui/scheduler/workspaces/ui.scheduler.timeline.js +4 -3
  692. package/ui/scheduler/workspaces/ui.scheduler.timeline_day.js +2 -2
  693. package/ui/scheduler/workspaces/ui.scheduler.timeline_month.js +2 -2
  694. package/ui/scheduler/workspaces/ui.scheduler.timeline_week.js +2 -2
  695. package/ui/scheduler/workspaces/ui.scheduler.timeline_work_week.js +2 -2
  696. package/ui/scheduler/workspaces/ui.scheduler.work_space.grouped.strategy.horizontal.js +2 -2
  697. package/ui/scheduler/workspaces/ui.scheduler.work_space.grouped.strategy.js +2 -2
  698. package/ui/scheduler/workspaces/ui.scheduler.work_space.grouped.strategy.vertical.js +5 -4
  699. package/ui/scheduler/workspaces/ui.scheduler.work_space.indicator.js +2 -2
  700. package/ui/scheduler/workspaces/ui.scheduler.work_space.js +3 -3
  701. package/ui/scheduler/workspaces/ui.scheduler.work_space_day.js +2 -2
  702. package/ui/scheduler/workspaces/ui.scheduler.work_space_month.js +2 -2
  703. package/ui/scheduler/workspaces/ui.scheduler.work_space_week.js +2 -2
  704. package/ui/scheduler/workspaces/ui.scheduler.work_space_work_week.js +2 -2
  705. package/ui/scheduler.d.ts +2 -2
  706. package/ui/scheduler.js +2 -2
  707. package/ui/scroll_view/animator.js +2 -2
  708. package/ui/scroll_view/scrollable.d.ts +2 -2
  709. package/ui/scroll_view/ui.events.emitter.gesture.scroll.js +2 -2
  710. package/ui/scroll_view/ui.scroll_view.js +2 -2
  711. package/ui/scroll_view/ui.scroll_view.native.pull_down.js +2 -2
  712. package/ui/scroll_view/ui.scroll_view.native.slide_down.js +2 -2
  713. package/ui/scroll_view/ui.scroll_view.native.swipe_down.js +2 -2
  714. package/ui/scroll_view/ui.scroll_view.simulated.js +4 -4
  715. package/ui/scroll_view/ui.scrollable.js +2 -2
  716. package/ui/scroll_view/ui.scrollable.native.js +4 -4
  717. package/ui/scroll_view/ui.scrollable.simulated.js +3 -2
  718. package/ui/scroll_view/ui.scrollbar.js +51 -34
  719. package/ui/scroll_view.d.ts +2 -2
  720. package/ui/scroll_view.js +2 -2
  721. package/ui/select_box.d.ts +2 -2
  722. package/ui/select_box.js +7 -4
  723. package/ui/selection/selection.js +2 -2
  724. package/ui/selection/selection.strategy.deferred.js +2 -2
  725. package/ui/selection/selection.strategy.js +2 -2
  726. package/ui/selection/selection.strategy.standard.js +2 -2
  727. package/ui/set_template_engine.d.ts +2 -2
  728. package/ui/set_template_engine.js +2 -2
  729. package/ui/shared/accessibility.js +2 -2
  730. package/ui/shared/async_template_mixin.js +2 -2
  731. package/ui/shared/filtering.js +2 -2
  732. package/ui/shared/grouped_data_converter_mixin.js +2 -2
  733. package/ui/shared/ui.editor_factory_mixin.js +5 -2
  734. package/ui/slide_out.d.ts +2 -2
  735. package/ui/slide_out.js +2 -2
  736. package/ui/slide_out_view.d.ts +2 -2
  737. package/ui/slide_out_view.js +2 -2
  738. package/ui/slider/ui.slider.js +2 -2
  739. package/ui/slider/ui.slider_handle.js +2 -2
  740. package/ui/slider.d.ts +2 -2
  741. package/ui/slider.js +2 -2
  742. package/ui/speed_dial_action/repaint_floating_action_button.d.ts +2 -2
  743. package/ui/speed_dial_action/repaint_floating_action_button.js +2 -2
  744. package/ui/speed_dial_action/speed_dial_action.js +2 -2
  745. package/ui/speed_dial_action/speed_dial_item.js +2 -2
  746. package/ui/speed_dial_action/speed_dial_main_item.js +6 -3
  747. package/ui/speed_dial_action.d.ts +2 -2
  748. package/ui/speed_dial_action.js +2 -2
  749. package/ui/switch.d.ts +2 -2
  750. package/ui/switch.js +2 -2
  751. package/ui/tab_panel/item.js +2 -2
  752. package/ui/tab_panel.d.ts +2 -2
  753. package/ui/tab_panel.js +2 -2
  754. package/ui/tabs/item.js +2 -2
  755. package/ui/tabs.d.ts +2 -2
  756. package/ui/tabs.js +2 -2
  757. package/ui/tag_box.d.ts +2 -2
  758. package/ui/tag_box.js +51 -14
  759. package/ui/text_area.d.ts +2 -2
  760. package/ui/text_area.js +13 -25
  761. package/ui/text_box/text_box.js +14 -14
  762. package/ui/text_box/texteditor_button_collection/button.js +2 -2
  763. package/ui/text_box/texteditor_button_collection/custom.js +2 -2
  764. package/ui/text_box/texteditor_button_collection/index.js +2 -2
  765. package/ui/text_box/ui.text_editor.base.js +27 -2
  766. package/ui/text_box/ui.text_editor.clear.js +3 -3
  767. package/ui/text_box/ui.text_editor.js +2 -2
  768. package/ui/text_box/ui.text_editor.mask.js +22 -12
  769. package/ui/text_box/ui.text_editor.mask.rule.js +2 -2
  770. package/ui/text_box/ui.text_editor.mask.strategy.android.js +2 -7
  771. package/ui/text_box/ui.text_editor.mask.strategy.base.js +26 -14
  772. package/ui/text_box/ui.text_editor.mask.strategy.default.js +34 -35
  773. package/ui/text_box/utils.caret.js +2 -2
  774. package/ui/text_box/utils.scroll.js +37 -0
  775. package/ui/text_box.d.ts +2 -2
  776. package/ui/text_box.js +2 -2
  777. package/ui/themes.d.ts +2 -2
  778. package/ui/themes.js +2 -2
  779. package/ui/themes_callback.js +2 -2
  780. package/ui/tile_view.d.ts +2 -2
  781. package/ui/tile_view.js +2 -2
  782. package/ui/toast.d.ts +2 -2
  783. package/ui/toast.js +2 -2
  784. package/ui/toolbar/ui.toolbar.base.js +6 -4
  785. package/ui/toolbar/ui.toolbar.menu.js +2 -2
  786. package/ui/toolbar/ui.toolbar.strategy.action_sheet.js +2 -2
  787. package/ui/toolbar/ui.toolbar.strategy.drop_down_menu.js +2 -2
  788. package/ui/toolbar/ui.toolbar.strategy.js +2 -2
  789. package/ui/toolbar.d.ts +2 -2
  790. package/ui/toolbar.js +2 -2
  791. package/ui/tooltip/tooltip.js +2 -2
  792. package/ui/tooltip/ui.tooltip.js +2 -2
  793. package/ui/tooltip.d.ts +2 -2
  794. package/ui/tooltip.js +2 -2
  795. package/ui/track_bar.js +2 -2
  796. package/ui/tree_list/ui.tree_list.adaptivity.js +2 -2
  797. package/ui/tree_list/ui.tree_list.base.js +2 -2
  798. package/ui/tree_list/ui.tree_list.column_chooser.js +2 -2
  799. package/ui/tree_list/ui.tree_list.column_fixing.js +2 -2
  800. package/ui/tree_list/ui.tree_list.column_headers.js +2 -2
  801. package/ui/tree_list/ui.tree_list.columns_controller.js +2 -2
  802. package/ui/tree_list/ui.tree_list.columns_resizing_reordering.js +2 -2
  803. package/ui/tree_list/ui.tree_list.context_menu.js +2 -2
  804. package/ui/tree_list/ui.tree_list.core.js +2 -2
  805. package/ui/tree_list/ui.tree_list.data_controller.js +2 -2
  806. package/ui/tree_list/ui.tree_list.data_source_adapter.js +10 -2
  807. package/ui/tree_list/ui.tree_list.editing.js +3 -3
  808. package/ui/tree_list/ui.tree_list.editor_factory.js +2 -2
  809. package/ui/tree_list/ui.tree_list.error_handling.js +2 -2
  810. package/ui/tree_list/ui.tree_list.filter_builder.js +2 -2
  811. package/ui/tree_list/ui.tree_list.filter_panel.js +2 -2
  812. package/ui/tree_list/ui.tree_list.filter_row.js +2 -2
  813. package/ui/tree_list/ui.tree_list.filter_sync.js +2 -2
  814. package/ui/tree_list/ui.tree_list.focus.js +2 -2
  815. package/ui/tree_list/ui.tree_list.grid_view.js +2 -2
  816. package/ui/tree_list/ui.tree_list.header_filter.js +2 -2
  817. package/ui/tree_list/ui.tree_list.header_panel.js +2 -2
  818. package/ui/tree_list/ui.tree_list.js +2 -2
  819. package/ui/tree_list/ui.tree_list.keyboard_navigation.js +2 -2
  820. package/ui/tree_list/ui.tree_list.master_detail.js +2 -2
  821. package/ui/tree_list/ui.tree_list.pager.js +2 -2
  822. package/ui/tree_list/ui.tree_list.rows.js +2 -2
  823. package/ui/tree_list/ui.tree_list.search.js +2 -2
  824. package/ui/tree_list/ui.tree_list.selection.js +2 -2
  825. package/ui/tree_list/ui.tree_list.sorting.js +2 -2
  826. package/ui/tree_list/ui.tree_list.state_storing.js +2 -2
  827. package/ui/tree_list/ui.tree_list.validating.js +2 -2
  828. package/ui/tree_list/ui.tree_list.virtual_columns.js +2 -2
  829. package/ui/tree_list/ui.tree_list.virtual_scrolling.js +2 -2
  830. package/ui/tree_list.d.ts +2 -2
  831. package/ui/tree_list.js +2 -2
  832. package/ui/tree_view/ui.tree_view.base.js +2 -2
  833. package/ui/tree_view/ui.tree_view.search.js +2 -2
  834. package/ui/tree_view.d.ts +2 -2
  835. package/ui/tree_view.js +2 -2
  836. package/ui/validation/default_adapter.js +2 -2
  837. package/ui/validation/validation_mixin.js +2 -2
  838. package/ui/validation_engine.d.ts +2 -2
  839. package/ui/validation_engine.js +2 -2
  840. package/ui/validation_group.d.ts +2 -2
  841. package/ui/validation_group.js +2 -2
  842. package/ui/validation_summary.d.ts +2 -2
  843. package/ui/validation_summary.js +2 -2
  844. package/ui/validator.d.ts +2 -2
  845. package/ui/validator.js +2 -2
  846. package/ui/widget/bindable_template.js +2 -2
  847. package/ui/widget/child_default_template.js +2 -2
  848. package/ui/widget/empty_template.js +2 -2
  849. package/ui/widget/function_template.js +2 -2
  850. package/ui/widget/selectors.js +2 -2
  851. package/ui/widget/swatch_container.js +2 -2
  852. package/ui/widget/template.d.ts +2 -2
  853. package/ui/widget/template.js +2 -2
  854. package/ui/widget/template_engine_registry.js +2 -2
  855. package/ui/widget/template_engines.js +2 -2
  856. package/ui/widget/ui.errors.js +2 -2
  857. package/ui/widget/ui.keyboard_processor.js +2 -2
  858. package/ui/widget/ui.search_box_mixin.js +2 -2
  859. package/ui/widget/ui.template_base.js +2 -2
  860. package/ui/widget/ui.widget.js +14 -5
  861. package/ui/widget/utils.ink_ripple.js +2 -2
  862. package/utils.d.ts +2 -2
  863. package/utils.js +2 -2
  864. package/viz/axes/axes_constants.js +2 -2
  865. package/viz/axes/base_axis.js +12 -10
  866. package/viz/axes/constant_line.js +2 -2
  867. package/viz/axes/datetime_breaks.js +2 -2
  868. package/viz/axes/polar_axes.js +2 -2
  869. package/viz/axes/smart_formatter.js +2 -2
  870. package/viz/axes/strip.js +2 -2
  871. package/viz/axes/tick.js +2 -2
  872. package/viz/axes/tick_generator.js +2 -2
  873. package/viz/axes/xy_axes.js +13 -5
  874. package/viz/bar_gauge.d.ts +2 -2
  875. package/viz/bar_gauge.js +2 -2
  876. package/viz/bullet.d.ts +2 -2
  877. package/viz/bullet.js +2 -2
  878. package/viz/chart.d.ts +2 -2
  879. package/viz/chart.js +18 -20
  880. package/viz/chart_components/advanced_chart.js +5 -4
  881. package/viz/chart_components/base_chart.js +4 -4
  882. package/viz/chart_components/crosshair.js +2 -2
  883. package/viz/chart_components/layout_manager.js +2 -2
  884. package/viz/chart_components/multi_axes_synchronizer.js +2 -2
  885. package/viz/chart_components/scroll_bar.js +2 -2
  886. package/viz/chart_components/shutter_zoom.js +2 -2
  887. package/viz/chart_components/tracker.js +2 -2
  888. package/viz/chart_components/zoom_and_pan.js +33 -52
  889. package/viz/circular_gauge.d.ts +2 -2
  890. package/viz/circular_gauge.js +2 -2
  891. package/viz/components/chart_theme_manager.js +2 -2
  892. package/viz/components/consts.js +2 -2
  893. package/viz/components/data_validator.js +2 -2
  894. package/viz/components/legend.js +2 -2
  895. package/viz/components/parse_utils.js +2 -2
  896. package/viz/components/tracker.js +2 -2
  897. package/viz/core/annotations.js +2 -2
  898. package/viz/core/base_theme_manager.js +2 -2
  899. package/viz/core/base_widget.js +2 -2
  900. package/viz/core/data_source.js +2 -2
  901. package/viz/core/errors_warnings.js +2 -2
  902. package/viz/core/export.js +2 -2
  903. package/viz/core/helpers.js +2 -2
  904. package/viz/core/layout.js +2 -2
  905. package/viz/core/layout_element.js +2 -2
  906. package/viz/core/loading_indicator.js +2 -2
  907. package/viz/core/plaque.js +2 -2
  908. package/viz/core/renderers/animation.js +2 -2
  909. package/viz/core/renderers/renderer.js +5 -5
  910. package/viz/core/series_family.js +2 -2
  911. package/viz/core/themes/generic.carmine.js +2 -2
  912. package/viz/core/themes/generic.contrast.js +2 -2
  913. package/viz/core/themes/generic.dark.js +2 -2
  914. package/viz/core/themes/generic.darkmoon.js +2 -2
  915. package/viz/core/themes/generic.darkviolet.js +2 -2
  916. package/viz/core/themes/generic.greenmist.js +2 -2
  917. package/viz/core/themes/generic.light.js +2 -2
  918. package/viz/core/themes/generic.softblue.js +2 -2
  919. package/viz/core/themes/ios.js +2 -2
  920. package/viz/core/themes/material.js +2 -2
  921. package/viz/core/title.js +2 -2
  922. package/viz/core/tooltip.js +2 -2
  923. package/viz/core/utils.js +2 -2
  924. package/viz/export.d.ts +2 -2
  925. package/viz/export.js +2 -2
  926. package/viz/funnel/funnel.js +2 -2
  927. package/viz/funnel/item.js +2 -2
  928. package/viz/funnel/label.js +2 -2
  929. package/viz/funnel/tiling.funnel.js +2 -2
  930. package/viz/funnel/tiling.js +2 -2
  931. package/viz/funnel/tiling.pyramid.js +2 -2
  932. package/viz/funnel/tooltip.js +2 -2
  933. package/viz/funnel/tracker.js +2 -2
  934. package/viz/funnel.d.ts +2 -2
  935. package/viz/funnel.js +2 -2
  936. package/viz/gauges/bar_gauge.js +2 -2
  937. package/viz/gauges/base_gauge.js +2 -2
  938. package/viz/gauges/base_indicators.js +2 -2
  939. package/viz/gauges/base_range_container.js +2 -2
  940. package/viz/gauges/circular_gauge.js +2 -2
  941. package/viz/gauges/circular_indicators.js +2 -2
  942. package/viz/gauges/circular_range_container.js +2 -2
  943. package/viz/gauges/common.js +2 -2
  944. package/viz/gauges/linear_gauge.js +2 -2
  945. package/viz/gauges/linear_indicators.js +2 -2
  946. package/viz/gauges/linear_range_container.js +2 -2
  947. package/viz/gauges/theme_manager.js +2 -2
  948. package/viz/gauges/tracker.js +2 -2
  949. package/viz/linear_gauge.d.ts +2 -2
  950. package/viz/linear_gauge.js +2 -2
  951. package/viz/palette.d.ts +2 -2
  952. package/viz/palette.js +2 -2
  953. package/viz/pie_chart.d.ts +2 -2
  954. package/viz/pie_chart.js +2 -2
  955. package/viz/polar_chart.d.ts +2 -2
  956. package/viz/polar_chart.js +2 -2
  957. package/viz/range_selector/common.js +2 -2
  958. package/viz/range_selector/range_selector.js +158 -145
  959. package/viz/range_selector/range_view.js +2 -2
  960. package/viz/range_selector/series_data_source.js +2 -2
  961. package/viz/range_selector/slider.js +2 -2
  962. package/viz/range_selector/slider_marker.js +2 -2
  963. package/viz/range_selector/sliders_controller.js +23 -23
  964. package/viz/range_selector/tracker.js +109 -86
  965. package/viz/range_selector.d.ts +2 -2
  966. package/viz/range_selector.js +2 -2
  967. package/viz/sankey/constants.js +2 -2
  968. package/viz/sankey/data_validator.js +2 -2
  969. package/viz/sankey/graph.js +2 -2
  970. package/viz/sankey/layout.js +2 -2
  971. package/viz/sankey/link_item.js +2 -2
  972. package/viz/sankey/node_item.js +2 -2
  973. package/viz/sankey/sankey.js +2 -2
  974. package/viz/sankey/tooltip.js +2 -2
  975. package/viz/sankey/tracker.js +2 -2
  976. package/viz/sankey.d.ts +2 -2
  977. package/viz/sankey.js +2 -2
  978. package/viz/series/area_series.js +2 -2
  979. package/viz/series/bar_series.js +2 -2
  980. package/viz/series/base_series.js +4 -3
  981. package/viz/series/bubble_series.js +2 -2
  982. package/viz/series/financial_series.js +2 -2
  983. package/viz/series/helpers/range_data_calculator.js +2 -2
  984. package/viz/series/line_series.js +2 -2
  985. package/viz/series/pie_series.js +9 -5
  986. package/viz/series/points/bar_point.js +2 -2
  987. package/viz/series/points/base_point.js +2 -2
  988. package/viz/series/points/bubble_point.js +2 -2
  989. package/viz/series/points/candlestick_point.js +2 -2
  990. package/viz/series/points/label.js +2 -2
  991. package/viz/series/points/pie_point.js +2 -2
  992. package/viz/series/points/polar_point.js +2 -2
  993. package/viz/series/points/range_bar_point.js +2 -2
  994. package/viz/series/points/range_symbol_point.js +2 -2
  995. package/viz/series/points/stock_point.js +2 -2
  996. package/viz/series/points/symbol_point.js +2 -2
  997. package/viz/series/range_series.js +2 -2
  998. package/viz/series/scatter_series.js +2 -2
  999. package/viz/series/stacked_series.js +2 -2
  1000. package/viz/sparkline.d.ts +2 -2
  1001. package/viz/sparkline.js +2 -2
  1002. package/viz/sparklines/base_sparkline.js +2 -2
  1003. package/viz/sparklines/bullet.js +2 -2
  1004. package/viz/sparklines/sparkline.js +2 -2
  1005. package/viz/themes.d.ts +2 -2
  1006. package/viz/themes.js +2 -2
  1007. package/viz/translators/category_translator.js +2 -2
  1008. package/viz/translators/datetime_translator.js +2 -2
  1009. package/viz/translators/interval_translator.js +2 -2
  1010. package/viz/translators/logarithmic_translator.js +2 -2
  1011. package/viz/translators/range.js +2 -2
  1012. package/viz/translators/translator1d.js +2 -2
  1013. package/viz/translators/translator2d.js +2 -2
  1014. package/viz/tree_map/api.js +2 -2
  1015. package/viz/tree_map/colorizing.discrete.js +2 -2
  1016. package/viz/tree_map/colorizing.gradient.js +2 -2
  1017. package/viz/tree_map/colorizing.js +2 -2
  1018. package/viz/tree_map/colorizing.range.js +2 -2
  1019. package/viz/tree_map/common.js +2 -2
  1020. package/viz/tree_map/drilldown.js +2 -2
  1021. package/viz/tree_map/hover.js +2 -2
  1022. package/viz/tree_map/node.js +2 -2
  1023. package/viz/tree_map/plain_data_source.js +2 -2
  1024. package/viz/tree_map/selection.js +2 -2
  1025. package/viz/tree_map/states.js +2 -2
  1026. package/viz/tree_map/tiling.js +2 -2
  1027. package/viz/tree_map/tiling.rotated_slice_and_dice.js +2 -2
  1028. package/viz/tree_map/tiling.slice_and_dice.js +2 -2
  1029. package/viz/tree_map/tiling.squarified.base.js +2 -2
  1030. package/viz/tree_map/tiling.squarified.js +2 -2
  1031. package/viz/tree_map/tiling.strip.js +2 -2
  1032. package/viz/tree_map/tooltip.js +2 -2
  1033. package/viz/tree_map/tracker.js +2 -2
  1034. package/viz/tree_map/tree_map.base.js +2 -2
  1035. package/viz/tree_map/tree_map.js +2 -2
  1036. package/viz/tree_map.d.ts +2 -2
  1037. package/viz/tree_map.js +2 -2
  1038. package/viz/utils.d.ts +2 -2
  1039. package/viz/utils.js +2 -2
  1040. package/viz/vector_map/control_bar.js +2 -2
  1041. package/viz/vector_map/data_exchanger.js +2 -2
  1042. package/viz/vector_map/event_emitter.js +2 -2
  1043. package/viz/vector_map/gesture_handler.js +2 -2
  1044. package/viz/vector_map/layout.js +2 -2
  1045. package/viz/vector_map/legend.js +2 -2
  1046. package/viz/vector_map/map_layer.js +2 -2
  1047. package/viz/vector_map/projection.d.ts +2 -2
  1048. package/viz/vector_map/projection.js +2 -2
  1049. package/viz/vector_map/projection.main.js +2 -2
  1050. package/viz/vector_map/tooltip_viewer.js +2 -2
  1051. package/viz/vector_map/tracker.js +2 -2
  1052. package/viz/vector_map/vector_map.js +2 -2
  1053. package/viz/vector_map.d.ts +2 -2
  1054. package/viz/vector_map.js +2 -2
@@ -1,71 +1,91 @@
1
1
  /**
2
2
  * DevExtreme (ui/form/ui.form.js)
3
- * Version: 19.1.6
4
- * Build date: Wed Sep 11 2019
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 $ = require("../../core/renderer"),
11
- eventsEngine = require("../../events/core/events_engine"),
12
- registerComponent = require("../../core/component_registrator"),
13
- Guid = require("../../core/guid"),
14
- utils = require("../../core/utils/common"),
15
- typeUtils = require("../../core/utils/type"),
16
- dataUtils = require("../../core/element_data"),
17
- each = require("../../core/utils/iterator").each,
18
- inArray = require("../../core/utils/array").inArray,
19
- extend = require("../../core/utils/extend").extend,
20
- stringUtils = require("../../core/utils/string"),
21
- browser = require("../../core/utils/browser"),
22
- domUtils = require("../../core/utils/dom"),
23
- messageLocalization = require("../../localization/message"),
24
- Widget = require("../widget/ui.widget"),
25
- windowUtils = require("../../core/utils/window"),
26
- ValidationEngine = require("../validation_engine"),
27
- LayoutManager = require("./ui.form.layout_manager"),
28
- FormItemsRunTimeInfo = require("./ui.form.items_runtime_info").default,
29
- TabPanel = require("../tab_panel"),
30
- Scrollable = require("../scroll_view/ui.scrollable"),
31
- Deferred = require("../../core/utils/deferred").Deferred,
32
- themes = require("../themes");
10
+ var _renderer = require("../../core/renderer");
11
+ var _renderer2 = _interopRequireDefault(_renderer);
12
+ var _events_engine = require("../../events/core/events_engine");
13
+ var _events_engine2 = _interopRequireDefault(_events_engine);
14
+ var _component_registrator = require("../../core/component_registrator");
15
+ var _component_registrator2 = _interopRequireDefault(_component_registrator);
16
+ var _guid = require("../../core/guid");
17
+ var _guid2 = _interopRequireDefault(_guid);
18
+ var _common = require("../../core/utils/common");
19
+ var _type = require("../../core/utils/type");
20
+ var _iterator = require("../../core/utils/iterator");
21
+ var _array = require("../../core/utils/array");
22
+ var _extend = require("../../core/utils/extend");
23
+ var _string = require("../../core/utils/string");
24
+ var _browser = require("../../core/utils/browser");
25
+ var _browser2 = _interopRequireDefault(_browser);
26
+ var _dom = require("../../core/utils/dom");
27
+ var _message = require("../../localization/message");
28
+ var _message2 = _interopRequireDefault(_message);
29
+ var _ui = require("../widget/ui.widget");
30
+ var _ui2 = _interopRequireDefault(_ui);
31
+ var _window = require("../../core/utils/window");
32
+ var _validation_engine = require("../validation_engine");
33
+ var _validation_engine2 = _interopRequireDefault(_validation_engine);
34
+ var _uiForm = require("./ui.form.layout_manager");
35
+ var _uiForm2 = _interopRequireDefault(_uiForm);
36
+ var _uiForm3 = require("./ui.form.items_runtime_info");
37
+ var _uiForm4 = _interopRequireDefault(_uiForm3);
38
+ var _tab_panel = require("../tab_panel");
39
+ var _tab_panel2 = _interopRequireDefault(_tab_panel);
40
+ var _ui3 = require("../scroll_view/ui.scrollable");
41
+ var _ui4 = _interopRequireDefault(_ui3);
42
+ var _deferred = require("../../core/utils/deferred");
43
+ var _themes = require("../themes");
44
+ var _themes2 = _interopRequireDefault(_themes);
45
+ var _uiForm5 = require("./ui.form.item_options_actions");
46
+ var _uiForm6 = _interopRequireDefault(_uiForm5);
33
47
  require("../validation_summary");
34
48
  require("../validation_group");
35
- var FORM_CLASS = "dx-form",
36
- FIELD_ITEM_CLASS = "dx-field-item",
37
- FIELD_ITEM_LABEL_TEXT_CLASS = "dx-field-item-label-text",
38
- FORM_GROUP_CLASS = "dx-form-group",
39
- FORM_GROUP_CONTENT_CLASS = "dx-form-group-content",
40
- FORM_GROUP_WITH_CAPTION_CLASS = "dx-form-group-with-caption",
41
- FORM_GROUP_CAPTION_CLASS = "dx-form-group-caption",
42
- HIDDEN_LABEL_CLASS = "dx-layout-manager-hidden-label",
43
- FIELD_ITEM_LABEL_CLASS = "dx-field-item-label",
44
- FIELD_ITEM_LABEL_CONTENT_CLASS = "dx-field-item-label-content",
45
- FIELD_ITEM_TAB_CLASS = "dx-field-item-tab",
46
- FORM_FIELD_ITEM_COL_CLASS = "dx-col-",
47
- GROUP_COL_COUNT_CLASS = "dx-group-colcount-",
48
- FIELD_ITEM_CONTENT_CLASS = "dx-field-item-content",
49
- FORM_VALIDATION_SUMMARY = "dx-form-validation-summary",
50
- WIDGET_CLASS = "dx-widget",
51
- FOCUSED_STATE_CLASS = "dx-state-focused";
52
- var Form = Widget.inherit({
49
+
50
+ function _interopRequireDefault(obj) {
51
+ return obj && obj.__esModule ? obj : {
52
+ "default": obj
53
+ }
54
+ }
55
+ var FORM_CLASS = "dx-form";
56
+ var FIELD_ITEM_CLASS = "dx-field-item";
57
+ var FIELD_ITEM_LABEL_TEXT_CLASS = "dx-field-item-label-text";
58
+ var FORM_GROUP_CLASS = "dx-form-group";
59
+ var FORM_GROUP_CONTENT_CLASS = "dx-form-group-content";
60
+ var FORM_GROUP_WITH_CAPTION_CLASS = "dx-form-group-with-caption";
61
+ var FORM_GROUP_CAPTION_CLASS = "dx-form-group-caption";
62
+ var HIDDEN_LABEL_CLASS = "dx-layout-manager-hidden-label";
63
+ var FIELD_ITEM_LABEL_CLASS = "dx-field-item-label";
64
+ var FIELD_ITEM_LABEL_CONTENT_CLASS = "dx-field-item-label-content";
65
+ var FIELD_ITEM_TAB_CLASS = "dx-field-item-tab";
66
+ var FORM_FIELD_ITEM_COL_CLASS = "dx-col-";
67
+ var GROUP_COL_COUNT_CLASS = "dx-group-colcount-";
68
+ var FIELD_ITEM_CONTENT_CLASS = "dx-field-item-content";
69
+ var FORM_VALIDATION_SUMMARY = "dx-form-validation-summary";
70
+ var WIDGET_CLASS = "dx-widget";
71
+ var FOCUSED_STATE_CLASS = "dx-state-focused";
72
+ var Form = _ui2.default.inherit({
53
73
  _init: function() {
54
74
  this.callBase();
55
75
  this._cachedColCountOptions = [];
56
- this._itemsRunTimeInfo = new FormItemsRunTimeInfo;
76
+ this._itemsRunTimeInfo = new _uiForm4.default;
57
77
  this._groupsColCount = [];
58
78
  this._attachSyncSubscriptions()
59
79
  },
60
80
  _initOptions: function(options) {
61
81
  if (!("screenByWidth" in options)) {
62
- options.screenByWidth = windowUtils.defaultScreenFactorFunc
82
+ options.screenByWidth = _window.defaultScreenFactorFunc
63
83
  }
64
84
  this.callBase(options)
65
85
  },
66
86
  _getDefaultOptions: function() {
67
- return extend(this.callBase(), {
68
- formID: "dx-" + new Guid,
87
+ return (0, _extend.extend)(this.callBase(), {
88
+ formID: "dx-" + new _guid2.default,
69
89
  formData: {},
70
90
  colCount: 1,
71
91
  screenByWidth: null,
@@ -82,8 +102,8 @@ var Form = Widget.inherit({
82
102
  showRequiredMark: true,
83
103
  showOptionalMark: false,
84
104
  requiredMark: "*",
85
- optionalMark: messageLocalization.format("dxForm-optionalMark"),
86
- requiredMessage: messageLocalization.getFormatter("dxForm-requiredMessage"),
105
+ optionalMark: _message2.default.format("dxForm-optionalMark"),
106
+ requiredMessage: _message2.default.getFormatter("dxForm-requiredMessage"),
87
107
  showValidationSummary: false,
88
108
  items: void 0,
89
109
  scrollingEnabled: false,
@@ -94,7 +114,7 @@ var Form = Widget.inherit({
94
114
  _defaultOptionsRules: function() {
95
115
  return this.callBase().concat([{
96
116
  device: function() {
97
- return themes.isMaterial()
117
+ return _themes2.default.isMaterial()
98
118
  },
99
119
  options: {
100
120
  showColonAfterLabel: false,
@@ -104,7 +124,7 @@ var Form = Widget.inherit({
104
124
  },
105
125
  _setOptionsByReference: function() {
106
126
  this.callBase();
107
- extend(this._optionsByReference, {
127
+ (0, _extend.extend)(this._optionsByReference, {
108
128
  formData: true,
109
129
  validationGroup: true
110
130
  })
@@ -123,7 +143,7 @@ var Form = Widget.inherit({
123
143
  return index
124
144
  },
125
145
  _createHiddenElement: function(rootLayoutManager) {
126
- this._$hiddenElement = $("<div>").addClass(WIDGET_CLASS).addClass(HIDDEN_LABEL_CLASS).appendTo("body");
146
+ this._$hiddenElement = (0, _renderer2.default)("<div>").addClass(WIDGET_CLASS).addClass(HIDDEN_LABEL_CLASS).appendTo("body");
127
147
  var $hiddenLabel = rootLayoutManager._renderLabel({
128
148
  text: " ",
129
149
  location: this.option("labelLocation")
@@ -150,7 +170,7 @@ var Form = Widget.inherit({
150
170
  result = "";
151
171
  for (i = 0; i < length; i++) {
152
172
  child = labelText.children[i];
153
- result += !stringUtils.isEmpty(child.innerText) ? child.innerText : child.innerHTML
173
+ result += !(0, _string.isEmpty)(child.innerText) ? child.innerText : child.innerHTML
154
174
  }
155
175
  return result
156
176
  },
@@ -179,7 +199,7 @@ var Form = Widget.inherit({
179
199
  }
180
200
  },
181
201
  _getGroupElementsInColumn: function($container, columnIndex, colCount) {
182
- var cssColCountSelector = typeUtils.isDefined(colCount) ? "." + GROUP_COL_COUNT_CLASS + colCount : "",
202
+ var cssColCountSelector = (0, _type.isDefined)(colCount) ? "." + GROUP_COL_COUNT_CLASS + colCount : "",
183
203
  groupSelector = "." + FORM_FIELD_ITEM_COL_CLASS + columnIndex + " > ." + FIELD_ITEM_CONTENT_CLASS + " > ." + FORM_GROUP_CLASS + cssColCountSelector;
184
204
  return $container.find(groupSelector)
185
205
  },
@@ -211,7 +231,7 @@ var Form = Widget.inherit({
211
231
  }
212
232
  },
213
233
  _alignLabelsInColumn: function(options) {
214
- if (!windowUtils.hasWindow()) {
234
+ if (!(0, _window.hasWindow)()) {
215
235
  return
216
236
  }
217
237
  this._createHiddenElement(options.layoutManager);
@@ -227,12 +247,12 @@ var Form = Widget.inherit({
227
247
  this._removeHiddenElement()
228
248
  },
229
249
  _prepareFormData: function() {
230
- if (!typeUtils.isDefined(this.option("formData"))) {
250
+ if (!(0, _type.isDefined)(this.option("formData"))) {
231
251
  this.option("formData", {})
232
252
  }
233
253
  },
234
254
  _initMarkup: function() {
235
- ValidationEngine.addGroup(this._getValidationGroup());
255
+ _validation_engine2.default.addGroup(this._getValidationGroup());
236
256
  this._clearCachedInstances();
237
257
  this._prepareFormData();
238
258
  this.$element().addClass(FORM_CLASS);
@@ -246,7 +266,7 @@ var Form = Widget.inherit({
246
266
  this._lastMarkupScreenFactor = this._targetScreenFactor || this._getCurrentScreenFactor()
247
267
  },
248
268
  _getCurrentScreenFactor: function() {
249
- return windowUtils.hasWindow() ? windowUtils.getCurrentScreenFactor(this.option("screenByWidth")) : "lg"
269
+ return (0, _window.hasWindow)() ? (0, _window.getCurrentScreenFactor)(this.option("screenByWidth")) : "lg"
250
270
  },
251
271
  _clearCachedInstances: function() {
252
272
  this._itemsRunTimeInfo.clear();
@@ -269,7 +289,7 @@ var Form = Widget.inherit({
269
289
  },
270
290
  _renderScrollable: function() {
271
291
  var useNativeScrolling = this.option("useNativeScrolling");
272
- this._scrollable = new Scrollable(this.$element(), {
292
+ this._scrollable = new _ui4.default(this.$element(), {
273
293
  useNative: !!useNativeScrolling,
274
294
  useSimulatedScrollbar: !useNativeScrolling,
275
295
  useKeyboard: false,
@@ -286,7 +306,7 @@ var Form = Widget.inherit({
286
306
  $validationSummary.remove()
287
307
  }
288
308
  if (this.option("showValidationSummary")) {
289
- $("<div>").addClass(FORM_VALIDATION_SUMMARY).dxValidationSummary({
309
+ (0, _renderer2.default)("<div>").addClass(FORM_VALIDATION_SUMMARY).dxValidationSummary({
290
310
  validationGroup: this._getValidationGroup()
291
311
  }).appendTo(this._getContent())
292
312
  }
@@ -297,8 +317,8 @@ var Form = Widget.inherit({
297
317
  for (var i = 0; i < items.length; i++) {
298
318
  var item = items[i];
299
319
  var guid = this._itemsRunTimeInfo.add(item);
300
- if (typeUtils.isObject(item)) {
301
- var itemCopy = extend({}, item);
320
+ if ((0, _type.isObject)(item)) {
321
+ var itemCopy = (0, _extend.extend)({}, item);
302
322
  itemCopy.guid = guid;
303
323
  this._tryPrepareGroupItem(itemCopy);
304
324
  this._tryPrepareTabbedItem(itemCopy);
@@ -319,7 +339,7 @@ var Form = Widget.inherit({
319
339
  },
320
340
  _tryPrepareGroupItem: function(item) {
321
341
  if ("group" === item.itemType) {
322
- item.alignItemLabels = utils.ensureDefined(item.alignItemLabels, true);
342
+ item.alignItemLabels = (0, _common.ensureDefined)(item.alignItemLabels, true);
323
343
  if (item.template) {
324
344
  item.groupContentTemplate = this._getTemplate(item.template)
325
345
  }
@@ -370,15 +390,15 @@ var Form = Widget.inherit({
370
390
  },
371
391
  _itemTabbedTemplate: function(item, e, $container) {
372
392
  var that = this,
373
- $tabPanel = $("<div>").appendTo($container),
374
- tabPanelOptions = extend({}, item.tabPanelOptions, {
393
+ $tabPanel = (0, _renderer2.default)("<div>").appendTo($container),
394
+ tabPanelOptions = (0, _extend.extend)({}, item.tabPanelOptions, {
375
395
  dataSource: item.tabs,
376
396
  onItemRendered: function(args) {
377
- domUtils.triggerShownEvent(args.itemElement)
397
+ (0, _dom.triggerShownEvent)(args.itemElement)
378
398
  },
379
399
  itemTemplate: function(itemData, e, container) {
380
- var layoutManager, $container = $(container),
381
- alignItemLabels = utils.ensureDefined(itemData.alignItemLabels, true);
400
+ var layoutManager, $container = (0, _renderer2.default)(container),
401
+ alignItemLabels = (0, _common.ensureDefined)(itemData.alignItemLabels, true);
382
402
  layoutManager = that._renderLayoutManager(that._tryGetItemsForTemplate(itemData), $container, {
383
403
  colCount: itemData.colCount,
384
404
  alignItemLabels: alignItemLabels,
@@ -404,14 +424,14 @@ var Form = Widget.inherit({
404
424
  }
405
425
  }
406
426
  });
407
- that._createComponent($tabPanel, TabPanel, tabPanelOptions)
427
+ that._createComponent($tabPanel, _tab_panel2.default, tabPanelOptions)
408
428
  },
409
429
  _itemGroupTemplate: function(item, e, $container) {
410
- var $groupContent, colCount, layoutManager, $group = $("<div>").toggleClass(FORM_GROUP_WITH_CAPTION_CLASS, typeUtils.isDefined(item.caption) && item.caption.length).addClass(FORM_GROUP_CLASS).appendTo($container);
430
+ var $groupContent, colCount, layoutManager, $group = (0, _renderer2.default)("<div>").toggleClass(FORM_GROUP_WITH_CAPTION_CLASS, (0, _type.isDefined)(item.caption) && item.caption.length).addClass(FORM_GROUP_CLASS).appendTo($container);
411
431
  if (item.caption) {
412
- $("<span>").addClass(FORM_GROUP_CAPTION_CLASS).text(item.caption).appendTo($group)
432
+ (0, _renderer2.default)("<span>").addClass(FORM_GROUP_CAPTION_CLASS).text(item.caption).appendTo($group)
413
433
  }
414
- $groupContent = $("<div>").addClass(FORM_GROUP_CONTENT_CLASS).appendTo($group);
434
+ $groupContent = (0, _renderer2.default)("<div>").addClass(FORM_GROUP_CONTENT_CLASS).appendTo($group);
415
435
  if (item.groupContentTemplate) {
416
436
  var data = {
417
437
  formData: this.option("formData"),
@@ -419,7 +439,7 @@ var Form = Widget.inherit({
419
439
  };
420
440
  item.groupContentTemplate.render({
421
441
  model: data,
422
- container: domUtils.getPublicElement($groupContent)
442
+ container: (0, _dom.getPublicElement)($groupContent)
423
443
  })
424
444
  } else {
425
445
  layoutManager = this._renderLayoutManager(this._tryGetItemsForTemplate(item), $groupContent, {
@@ -429,14 +449,14 @@ var Form = Widget.inherit({
429
449
  cssItemClass: item.cssItemClass
430
450
  });
431
451
  colCount = layoutManager._getColCount();
432
- if (inArray(colCount, this._groupsColCount) === -1) {
452
+ if ((0, _array.inArray)(colCount, this._groupsColCount) === -1) {
433
453
  this._groupsColCount.push(colCount)
434
454
  }
435
455
  $group.addClass(GROUP_COL_COUNT_CLASS + colCount)
436
456
  }
437
457
  },
438
458
  _renderLayoutManager: function(items, $rootElement, options) {
439
- var instance, $element = $("<div>"),
459
+ var instance, $element = (0, _renderer2.default)("<div>"),
440
460
  that = this,
441
461
  config = that._getLayoutManagerConfig(items, options),
442
462
  baseColCountByScreen = {
@@ -446,7 +466,7 @@ var Form = Widget.inherit({
446
466
  xs: 1
447
467
  };
448
468
  that._cachedColCountOptions.push({
449
- colCountByScreen: extend(baseColCountByScreen, options.colCountByScreen)
469
+ colCountByScreen: (0, _extend.extend)(baseColCountByScreen, options.colCountByScreen)
450
470
  });
451
471
  $element.appendTo($rootElement);
452
472
  instance = that._createComponent($element, "dxLayoutManager", config);
@@ -483,7 +503,7 @@ var Form = Widget.inherit({
483
503
  },
484
504
  validationBoundary: that.option("scrollingEnabled") ? that.$element() : void 0
485
505
  };
486
- return extend(baseConfig, {
506
+ return (0, _extend.extend)(baseConfig, {
487
507
  items: items,
488
508
  onContentReady: function(args) {
489
509
  that._itemsRunTimeInfo.addItemsOrExtendFrom(args.component._itemsRunTimeInfo);
@@ -510,13 +530,13 @@ var Form = Widget.inherit({
510
530
  that.on("optionChanged", function(args) {
511
531
  var optionFullName = args.fullName;
512
532
  if ("formData" === optionFullName) {
513
- if (!typeUtils.isDefined(args.value)) {
533
+ if (!(0, _type.isDefined)(args.value)) {
514
534
  that._options.formData = args.value = {}
515
535
  }
516
536
  that._triggerOnFieldDataChangedByDataSet(args.value)
517
537
  }
518
538
  if (that._cachedLayoutManagers.length) {
519
- each(that._cachedLayoutManagers, function(index, layoutManager) {
539
+ (0, _iterator.each)(that._cachedLayoutManagers, function(index, layoutManager) {
520
540
  if ("formData" === optionFullName) {
521
541
  that._isDataUpdating = true;
522
542
  layoutManager.option("layoutData", args.value);
@@ -540,7 +560,7 @@ var Form = Widget.inherit({
540
560
  if (!this.option("items")) {
541
561
  this._invalidate()
542
562
  } else {
543
- if (typeUtils.isEmptyObject(args.value)) {
563
+ if ((0, _type.isEmptyObject)(args.value)) {
544
564
  this._resetValues()
545
565
  }
546
566
  }
@@ -584,11 +604,11 @@ var Form = Widget.inherit({
584
604
  case "visible":
585
605
  this.callBase(args);
586
606
  if (args.value) {
587
- domUtils.triggerShownEvent(this.$element())
607
+ (0, _dom.triggerShownEvent)(this.$element())
588
608
  }
589
609
  break;
590
610
  case "validationGroup":
591
- ValidationEngine.removeGroup(args.previousValue || this);
611
+ _validation_engine2.default.removeGroup(args.previousValue || this);
592
612
  this._invalidate();
593
613
  break;
594
614
  default:
@@ -607,64 +627,43 @@ var Form = Widget.inherit({
607
627
  }
608
628
  return result
609
629
  },
630
+ _tryCreateItemOptionAction: function(optionName, item, value, previousValue) {
631
+ return (0, _uiForm6.default)(optionName, {
632
+ item: item,
633
+ value: value,
634
+ previousValue: previousValue,
635
+ itemsRunTimeInfo: this._itemsRunTimeInfo
636
+ })
637
+ },
638
+ _tryExecuteItemOptionAction: function(action) {
639
+ return action && action.tryExecute()
640
+ },
610
641
  _customHandlerOfComplexOption: function(args, rootOptionName) {
611
642
  var nameParts = args.fullName.split(".");
612
- switch (rootOptionName) {
613
- case "items":
614
- var itemPath = this._getItemPath(nameParts),
615
- item = this.option(itemPath),
616
- instance = this._itemsRunTimeInfo.findWidgetInstanceByItem(item),
617
- $itemContainer = this._itemsRunTimeInfo.findItemContainerByItem(item),
618
- fullName = args.fullName;
619
- if (instance) {
620
- if (fullName.search("buttonOptions") !== -1) {
621
- instance.option(item.buttonOptions);
622
- break
623
- } else {
624
- if (instance && fullName.search("editorOptions") !== -1) {
625
- instance.option(item.editorOptions);
626
- break
627
- } else {
628
- if (fullName.search("validationRules") !== -1) {
629
- var validator = dataUtils.data(instance.$element()[0], "dxValidator");
630
- if (validator) {
631
- var filterRequired = function(item) {
632
- return "required" === item.type
633
- };
634
- var oldContainsRequired = (validator.option("validationRules") || []).some(filterRequired);
635
- var newContainsRequired = (item.validationRules || []).some(filterRequired);
636
- if (!oldContainsRequired && !newContainsRequired || oldContainsRequired && newContainsRequired) {
637
- validator.option("validationRules", item.validationRules);
638
- break
639
- }
640
- }
641
- } else {
642
- if ($itemContainer && "cssClass" === fullName.substring(fullName.length - 8, fullName.length)) {
643
- $itemContainer.removeClass(args.previousValue).addClass(args.value);
644
- break
645
- }
646
- }
647
- }
648
- }
649
- }
650
- if (item) {
651
- var items, name = args.fullName.replace(itemPath + ".", "");
652
- this._changeItemOption(item, name, args.value);
653
- items = this._generateItemsFromData(this.option("items"));
654
- this.option("items", items)
655
- }
656
- break;
657
- case "formData":
658
- var dataField = nameParts.slice(1).join("."),
659
- editor = this.getEditor(dataField);
660
- if (editor) {
661
- editor.option("value", args.value)
662
- } else {
663
- this._triggerOnFieldDataChanged({
664
- dataField: dataField,
665
- value: args.value
666
- })
667
- }
643
+ var value = args.value;
644
+ if ("items" === rootOptionName) {
645
+ var itemPath = this._getItemPath(nameParts);
646
+ var item = this.option(itemPath);
647
+ var optionNameWithoutPath = args.fullName.replace(itemPath + ".", "");
648
+ var simpleOptionName = optionNameWithoutPath.split(".")[0].replace(/\[\d+]/, "");
649
+ var itemAction = this._tryCreateItemOptionAction(simpleOptionName, item, item[simpleOptionName], args.previousValue);
650
+ if (!this._tryExecuteItemOptionAction(itemAction) && item) {
651
+ this._changeItemOption(item, optionNameWithoutPath, value);
652
+ var items = this._generateItemsFromData(this.option("items"));
653
+ this.option("items", items)
654
+ }
655
+ }
656
+ if ("formData" === rootOptionName) {
657
+ var dataField = nameParts.slice(1).join(".");
658
+ var editor = this.getEditor(dataField);
659
+ if (editor) {
660
+ editor.option("value", value)
661
+ } else {
662
+ this._triggerOnFieldDataChanged({
663
+ dataField: dataField,
664
+ value: value
665
+ })
666
+ }
668
667
  }
669
668
  },
670
669
  _getItemPath: function(nameParts) {
@@ -683,8 +682,8 @@ var Form = Widget.inherit({
683
682
  },
684
683
  _triggerOnFieldDataChangedByDataSet: function(data) {
685
684
  var that = this;
686
- if (data && typeUtils.isObject(data)) {
687
- each(data, function(dataField, value) {
685
+ if (data && (0, _type.isObject)(data)) {
686
+ (0, _iterator.each)(data, function(dataField, value) {
688
687
  that._triggerOnFieldDataChanged({
689
688
  dataField: dataField,
690
689
  value: value
@@ -693,7 +692,7 @@ var Form = Widget.inherit({
693
692
  }
694
693
  },
695
694
  _updateFieldValue: function(dataField, value) {
696
- if (typeUtils.isDefined(this.option("formData"))) {
695
+ if ((0, _type.isDefined)(this.option("formData"))) {
697
696
  var editor = this.getEditor(dataField);
698
697
  this.option("formData." + dataField, value);
699
698
  if (editor) {
@@ -707,16 +706,16 @@ var Form = Widget.inherit({
707
706
  _generateItemsFromData: function(items) {
708
707
  var formData = this.option("formData"),
709
708
  result = [];
710
- if (!items && typeUtils.isDefined(formData)) {
711
- each(formData, function(dataField) {
709
+ if (!items && (0, _type.isDefined)(formData)) {
710
+ (0, _iterator.each)(formData, function(dataField) {
712
711
  result.push({
713
712
  dataField: dataField
714
713
  })
715
714
  })
716
715
  }
717
716
  if (items) {
718
- each(items, function(index, item) {
719
- if (typeUtils.isObject(item)) {
717
+ (0, _iterator.each)(items, function(index, item) {
718
+ if ((0, _type.isObject)(item)) {
720
719
  result.push(item)
721
720
  } else {
722
721
  result.push({
@@ -729,11 +728,11 @@ var Form = Widget.inherit({
729
728
  },
730
729
  _getItemByField: function(field, items) {
731
730
  var resultItem, that = this,
732
- fieldParts = typeUtils.isObject(field) ? field : that._getFieldParts(field),
731
+ fieldParts = (0, _type.isObject)(field) ? field : that._getFieldParts(field),
733
732
  fieldName = fieldParts.fieldName,
734
733
  fieldPath = fieldParts.fieldPath;
735
734
  if (items.length) {
736
- each(items, function(index, item) {
735
+ (0, _iterator.each)(items, function(index, item) {
737
736
  var itemType = item.itemType;
738
737
  if (fieldPath.length) {
739
738
  var path = fieldPath.slice();
@@ -779,7 +778,7 @@ var Form = Widget.inherit({
779
778
  do {
780
779
  if (isItemWithSubItems) {
781
780
  var pathNode, name = item.name || item.caption || item.title,
782
- isGroupWithName = typeUtils.isDefined(name),
781
+ isGroupWithName = (0, _type.isDefined)(name),
783
782
  nameWithoutSpaces = that._getTextWithoutSpaces(name);
784
783
  item[subItemsField] = that._generateItemsFromData(item[subItemsField]);
785
784
  if (isGroupWithName) {
@@ -799,7 +798,7 @@ var Form = Widget.inherit({
799
798
  } else {
800
799
  break
801
800
  }
802
- } while (path.length && !typeUtils.isDefined(result));
801
+ } while (path.length && !(0, _type.isDefined)(result));
803
802
  return result
804
803
  },
805
804
  _getSubItemField: function(itemType) {
@@ -807,7 +806,7 @@ var Form = Widget.inherit({
807
806
  },
808
807
  _searchItemInEverySubItem: function(path, fieldName, items) {
809
808
  var result, that = this;
810
- each(items, function(index, groupItem) {
809
+ (0, _iterator.each)(items, function(index, groupItem) {
811
810
  result = that._getItemByFieldPath(path.slice(), fieldName, groupItem);
812
811
  if (result) {
813
812
  return false
@@ -825,7 +824,7 @@ var Form = Widget.inherit({
825
824
  return item && (item.dataField === fieldName || item.name === fieldName || this._getTextWithoutSpaces(item.title) === fieldName || "group" === item.itemType && this._getTextWithoutSpaces(item.caption) === fieldName)
826
825
  },
827
826
  _changeItemOption: function(item, option, value) {
828
- if (typeUtils.isObject(item)) {
827
+ if ((0, _type.isObject)(item)) {
829
828
  item[option] = value
830
829
  }
831
830
  },
@@ -842,7 +841,7 @@ var Form = Widget.inherit({
842
841
  },
843
842
  _isColCountChanged: function(oldScreenSize, newScreenSize) {
844
843
  var isChanged = false;
845
- each(this._cachedColCountOptions, function(index, item) {
844
+ (0, _iterator.each)(this._cachedColCountOptions, function(index, item) {
846
845
  if (item.colCountByScreen[oldScreenSize] !== item.colCountByScreen[newScreenSize]) {
847
846
  isChanged = true;
848
847
  return false
@@ -852,29 +851,27 @@ var Form = Widget.inherit({
852
851
  },
853
852
  _refresh: function() {
854
853
  var editorSelector = "." + FOCUSED_STATE_CLASS + " input, ." + FOCUSED_STATE_CLASS + " textarea";
855
- eventsEngine.trigger(this.$element().find(editorSelector), "change");
854
+ _events_engine2.default.trigger(this.$element().find(editorSelector), "change");
856
855
  this.callBase()
857
856
  },
858
857
  _resetValues: function() {
859
- var validationGroup = this._getValidationGroup(),
860
- validationGroupConfig = ValidationEngine.getGroupConfig(validationGroup);
861
- validationGroupConfig && validationGroupConfig.reset();
862
858
  this._itemsRunTimeInfo.each(function(_, itemRunTimeInfo) {
863
- if (typeUtils.isDefined(itemRunTimeInfo.widgetInstance) && typeUtils.isDefined(itemRunTimeInfo.item) && "button" !== itemRunTimeInfo.item.itemType) {
859
+ if ((0, _type.isDefined)(itemRunTimeInfo.widgetInstance) && (0, _type.isDefined)(itemRunTimeInfo.item) && "button" !== itemRunTimeInfo.item.itemType) {
864
860
  itemRunTimeInfo.widgetInstance.reset();
865
861
  itemRunTimeInfo.widgetInstance.option("isValid", true)
866
862
  }
867
- })
863
+ });
864
+ _validation_engine2.default.resetGroup(this._getValidationGroup())
868
865
  },
869
866
  _updateData: function(data, value, isComplexData) {
870
867
  var that = this,
871
868
  _data = isComplexData ? value : data;
872
- if (typeUtils.isObject(_data)) {
873
- each(_data, function(dataField, fieldValue) {
874
- that._updateData(isComplexData ? data + "." + dataField : dataField, fieldValue, typeUtils.isObject(fieldValue))
869
+ if ((0, _type.isObject)(_data)) {
870
+ (0, _iterator.each)(_data, function(dataField, fieldValue) {
871
+ that._updateData(isComplexData ? data + "." + dataField : dataField, fieldValue, (0, _type.isObject)(fieldValue))
875
872
  })
876
873
  } else {
877
- if (typeUtils.isString(data)) {
874
+ if ((0, _type.isString)(data)) {
878
875
  that._updateFieldValue(data, value)
879
876
  }
880
877
  }
@@ -882,7 +879,7 @@ var Form = Widget.inherit({
882
879
  registerKeyHandler: function(key, handler) {
883
880
  this.callBase(key, handler);
884
881
  this._itemsRunTimeInfo.each(function(_, itemRunTimeInfo) {
885
- if (typeUtils.isDefined(itemRunTimeInfo.widgetInstance)) {
882
+ if ((0, _type.isDefined)(itemRunTimeInfo.widgetInstance)) {
886
883
  itemRunTimeInfo.widgetInstance.registerKeyHandler(key, handler)
887
884
  }
888
885
  })
@@ -891,12 +888,12 @@ var Form = Widget.inherit({
891
888
  return this.$element().find("." + FIELD_ITEM_CONTENT_CLASS + " [tabindex]").first()
892
889
  },
893
890
  _visibilityChanged: function(visible) {
894
- if (visible && browser.msie) {
891
+ if (visible && _browser2.default.msie) {
895
892
  this._refresh()
896
893
  }
897
894
  },
898
895
  _dispose: function() {
899
- ValidationEngine.removeGroup(this._getValidationGroup());
896
+ _validation_engine2.default.removeGroup(this._getValidationGroup());
900
897
  this.callBase()
901
898
  },
902
899
  resetValues: function() {
@@ -913,7 +910,7 @@ var Form = Widget.inherit({
913
910
  },
914
911
  updateDimensions: function() {
915
912
  var that = this,
916
- deferred = new Deferred;
913
+ deferred = new _deferred.Deferred;
917
914
  if (that._scrollable) {
918
915
  that._scrollable.update().done(function() {
919
916
  deferred.resolveWith(that)
@@ -924,34 +921,42 @@ var Form = Widget.inherit({
924
921
  return deferred.promise()
925
922
  },
926
923
  itemOption: function(id, option, value) {
927
- var that = this,
928
- argsCount = arguments.length,
929
- items = that._generateItemsFromData(that.option("items")),
930
- item = that._getItemByField(id, items);
931
- switch (argsCount) {
924
+ var _this = this;
925
+ var items = this._generateItemsFromData(this.option("items"));
926
+ var item = this._getItemByField(id, items);
927
+ switch (arguments.length) {
932
928
  case 1:
933
929
  return item;
934
930
  case 3:
935
- that._changeItemOption(item, option, value);
931
+ var itemAction = this._tryCreateItemOptionAction(option, item, value, item[option]);
932
+ this._changeItemOption(item, option, value);
933
+ if (!this._tryExecuteItemOptionAction(itemAction)) {
934
+ this.option("items", items)
935
+ }
936
936
  break;
937
937
  default:
938
- if (typeUtils.isObject(option)) {
939
- each(option, function(optionName, optionValue) {
940
- that._changeItemOption(item, optionName, optionValue)
941
- })
938
+ if ((0, _type.isObject)(option)) {
939
+ var allowUpdateItems = void 0;
940
+ (0, _iterator.each)(option, function(optionName, optionValue) {
941
+ var itemAction = _this._tryCreateItemOptionAction(optionName, item, optionValue, item[optionName]);
942
+ _this._changeItemOption(item, optionName, optionValue);
943
+ if (!allowUpdateItems && !_this._tryExecuteItemOptionAction(itemAction)) {
944
+ allowUpdateItems = true
945
+ }
946
+ });
947
+ allowUpdateItems && this.option("items", items)
942
948
  }
943
949
  }
944
- this.option("items", items)
945
950
  },
946
951
  validate: function() {
947
- return ValidationEngine.validateGroup(this._getValidationGroup())
952
+ return _validation_engine2.default.validateGroup(this._getValidationGroup())
948
953
  },
949
954
  getItemID: function(name) {
950
- return "dx_" + this.option("formID") + "_" + (name || new Guid)
955
+ return "dx_" + this.option("formID") + "_" + (name || new _guid2.default)
951
956
  },
952
957
  getTargetScreenFactor: function() {
953
958
  return this._targetScreenFactor
954
959
  }
955
960
  });
956
- registerComponent("dxForm", Form);
961
+ (0, _component_registrator2.default)("dxForm", Form);
957
962
  module.exports = Form;