cx 24.3.7 → 24.3.9

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/dist/widgets.js CHANGED
@@ -62,10 +62,10 @@ export {
62
62
  import {
63
63
  isTouchEvent,
64
64
  debug,
65
- isUndefined,
66
65
  isString,
67
66
  isDefined,
68
67
  isArray,
68
+ isUndefined,
69
69
  isFunction,
70
70
  isNumber,
71
71
  isComponentFactory,
@@ -182,12 +182,6 @@ function _objectWithoutPropertiesLoose(source, excluded) {
182
182
  }
183
183
  return target;
184
184
  }
185
- function _assertThisInitialized(self) {
186
- if (self === void 0) {
187
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
188
- }
189
- return self;
190
- }
191
185
 
192
186
  var impl$1 = false;
193
187
  function tooltipMouseMove$1(e, parentInstance, tooltip, options) {
@@ -228,14 +222,14 @@ var urlAttributes = {
228
222
  "iframe.src": true,
229
223
  };
230
224
  var HtmlElement = /*#__PURE__*/ (function (_Container) {
231
- _inheritsLoose(HtmlElement, _Container);
232
225
  function HtmlElement(config) {
233
226
  var _this;
234
227
  _this = _Container.call(this, config) || this;
235
228
  if (isUndefined(_this.jsxAttributes) && config)
236
- _this.jsxAttributes = Object.keys(config).filter(_this.isValidHtmlAttribute.bind(_assertThisInitialized(_this)));
229
+ _this.jsxAttributes = Object.keys(config).filter(_this.isValidHtmlAttribute.bind(_this));
237
230
  return _this;
238
231
  }
232
+ _inheritsLoose(HtmlElement, _Container);
239
233
  var _proto = HtmlElement.prototype;
240
234
  _proto.declareData = function declareData() {
241
235
  var _this2 = this,
@@ -401,7 +395,6 @@ var HtmlElement = /*#__PURE__*/ (function (_Container) {
401
395
  HtmlElement.prototype.tag = "div";
402
396
  HtmlElement.prototype.styled = true;
403
397
  var ContainerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
404
- _inheritsLoose(ContainerComponent, _VDOM$Component);
405
398
  function ContainerComponent(props) {
406
399
  var _this3;
407
400
  _this3 = _VDOM$Component.call(this, props) || this;
@@ -414,6 +407,7 @@ var ContainerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
414
407
  };
415
408
  return _this3;
416
409
  }
410
+ _inheritsLoose(ContainerComponent, _VDOM$Component);
417
411
  var _proto2 = ContainerComponent.prototype;
418
412
  _proto2.render = function render() {
419
413
  var _this$props = this.props,
@@ -962,10 +956,10 @@ registerIcon(
962
956
  );
963
957
 
964
958
  var Icon = /*#__PURE__*/ (function (_Widget) {
965
- _inheritsLoose(Icon, _Widget);
966
959
  function Icon() {
967
960
  return _Widget.apply(this, arguments) || this;
968
961
  }
962
+ _inheritsLoose(Icon, _Widget);
969
963
  var _proto = Icon.prototype;
970
964
  _proto.declareData = function declareData() {
971
965
  var _Widget$prototype$dec;
@@ -1014,10 +1008,10 @@ Icon.prototype.styled = true;
1014
1008
  Widget.alias("icon", Icon);
1015
1009
 
1016
1010
  var Button = /*#__PURE__*/ (function (_HtmlElement) {
1017
- _inheritsLoose(Button, _HtmlElement);
1018
1011
  function Button() {
1019
1012
  return _HtmlElement.apply(this, arguments) || this;
1020
1013
  }
1014
+ _inheritsLoose(Button, _HtmlElement);
1021
1015
  var _proto = Button.prototype;
1022
1016
  _proto.declareData = function declareData() {
1023
1017
  var _HtmlElement$prototyp;
@@ -1123,10 +1117,10 @@ Button.prototype.submit = false;
1123
1117
  Widget.alias("button", Button);
1124
1118
 
1125
1119
  var DocumentTitle = /*#__PURE__*/ (function (_Widget) {
1126
- _inheritsLoose(DocumentTitle, _Widget);
1127
1120
  function DocumentTitle() {
1128
1121
  return _Widget.apply(this, arguments) || this;
1129
1122
  }
1123
+ _inheritsLoose(DocumentTitle, _Widget);
1130
1124
  var _proto = DocumentTitle.prototype;
1131
1125
  _proto.init = function init() {
1132
1126
  if (this.value) this.text = this.value;
@@ -1185,10 +1179,10 @@ DocumentTitle.prototype.separator = "";
1185
1179
  Widget.alias("document-title", DocumentTitle);
1186
1180
 
1187
1181
  var List = /*#__PURE__*/ (function (_Widget) {
1188
- _inheritsLoose(List, _Widget);
1189
1182
  function List() {
1190
1183
  return _Widget.apply(this, arguments) || this;
1191
1184
  }
1185
+ _inheritsLoose(List, _Widget);
1192
1186
  var _proto = List.prototype;
1193
1187
  _proto.init = function init() {
1194
1188
  if (this.recordAlias) this.recordName = this.recordAlias;
@@ -1366,7 +1360,6 @@ List.prototype.selectMode = false;
1366
1360
  List.prototype.selectOnTab = false;
1367
1361
  Widget.alias("list", List);
1368
1362
  var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1369
- _inheritsLoose(ListComponent, _VDOM$Component);
1370
1363
  function ListComponent(props) {
1371
1364
  var _this4;
1372
1365
  _this4 = _VDOM$Component.call(this, props) || this;
@@ -1376,11 +1369,12 @@ var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1376
1369
  cursor: focused && props.selectable ? 0 : -1,
1377
1370
  focused: focused,
1378
1371
  };
1379
- _this4.handleItemMouseDown = _this4.handleItemMouseDown.bind(_assertThisInitialized(_this4));
1380
- _this4.handleItemDoubleClick = _this4.handleItemDoubleClick.bind(_assertThisInitialized(_this4));
1381
- _this4.handleItemClick = _this4.handleItemClick.bind(_assertThisInitialized(_this4));
1372
+ _this4.handleItemMouseDown = _this4.handleItemMouseDown.bind(_this4);
1373
+ _this4.handleItemDoubleClick = _this4.handleItemDoubleClick.bind(_this4);
1374
+ _this4.handleItemClick = _this4.handleItemClick.bind(_this4);
1382
1375
  return _this4;
1383
1376
  }
1377
+ _inheritsLoose(ListComponent, _VDOM$Component);
1384
1378
  var _proto2 = ListComponent.prototype;
1385
1379
  _proto2.shouldComponentUpdate = function shouldComponentUpdate(props, state) {
1386
1380
  return props.instance.shouldUpdate || state != this.state;
@@ -1731,10 +1725,10 @@ var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1731
1725
  return ListComponent;
1732
1726
  })(VDOM.Component);
1733
1727
  var ListItem = /*#__PURE__*/ (function (_Container) {
1734
- _inheritsLoose(ListItem, _Container);
1735
1728
  function ListItem() {
1736
1729
  return _Container.apply(this, arguments) || this;
1737
1730
  }
1731
+ _inheritsLoose(ListItem, _Container);
1738
1732
  var _proto3 = ListItem.prototype;
1739
1733
  _proto3.declareData = function declareData() {
1740
1734
  var _Container$prototype$;
@@ -1763,10 +1757,10 @@ function isItemDisabled(item) {
1763
1757
  }
1764
1758
 
1765
1759
  var Sandbox = /*#__PURE__*/ (function (_PureContainer) {
1766
- _inheritsLoose(Sandbox, _PureContainer);
1767
1760
  function Sandbox() {
1768
1761
  return _PureContainer.apply(this, arguments) || this;
1769
1762
  }
1763
+ _inheritsLoose(Sandbox, _PureContainer);
1770
1764
  var _proto = Sandbox.prototype;
1771
1765
  _proto.init = function init() {
1772
1766
  if (this.recordAlias) this.recordName = this.recordAlias;
@@ -1824,10 +1818,10 @@ Sandbox.prototype.immutable = false;
1824
1818
  Widget.alias("sandbox", Sandbox);
1825
1819
 
1826
1820
  var CxCredit = /*#__PURE__*/ (function (_HtmlElement) {
1827
- _inheritsLoose(CxCredit, _HtmlElement);
1828
1821
  function CxCredit() {
1829
1822
  return _HtmlElement.apply(this, arguments) || this;
1830
1823
  }
1824
+ _inheritsLoose(CxCredit, _HtmlElement);
1831
1825
  var _proto = CxCredit.prototype;
1832
1826
  _proto.init = function init() {
1833
1827
  this.tooltip = {
@@ -1866,10 +1860,10 @@ CxCredit.prototype.tag = "div";
1866
1860
  Widget.alias("cx-credit", CxCredit);
1867
1861
 
1868
1862
  var Heading = /*#__PURE__*/ (function (_HtmlElement) {
1869
- _inheritsLoose(Heading, _HtmlElement);
1870
1863
  function Heading() {
1871
1864
  return _HtmlElement.apply(this, arguments) || this;
1872
1865
  }
1866
+ _inheritsLoose(Heading, _HtmlElement);
1873
1867
  var _proto = Heading.prototype;
1874
1868
  _proto.init = function init() {
1875
1869
  this.tag = "h" + this.level;
@@ -1899,10 +1893,10 @@ Heading.prototype.level = 3;
1899
1893
  Heading.prototype.baseClass = "heading";
1900
1894
 
1901
1895
  var Section = /*#__PURE__*/ (function (_Container) {
1902
- _inheritsLoose(Section, _Container);
1903
1896
  function Section() {
1904
1897
  return _Container.apply(this, arguments) || this;
1905
1898
  }
1899
+ _inheritsLoose(Section, _Container);
1906
1900
  var _proto = Section.prototype;
1907
1901
  _proto.init = function init() {
1908
1902
  if (isString(this.headerStyle)) this.headerStyle = parseStyle(this.headerStyle);
@@ -2027,10 +2021,10 @@ Section.prototype.baseClass = "section";
2027
2021
  Section.prototype.hLevel = 3;
2028
2022
 
2029
2023
  var FlexBox = /*#__PURE__*/ (function (_Container) {
2030
- _inheritsLoose(FlexBox, _Container);
2031
2024
  function FlexBox() {
2032
2025
  return _Container.apply(this, arguments) || this;
2033
2026
  }
2027
+ _inheritsLoose(FlexBox, _Container);
2034
2028
  var _proto = FlexBox.prototype;
2035
2029
  _proto.init = function init() {
2036
2030
  if (this.padding) this.pad = this.padding;
@@ -2115,26 +2109,26 @@ FlexBox.prototype.justify = false;
2115
2109
  FlexBox.prototype.target = "any";
2116
2110
  FlexBox.prototype.nested = false;
2117
2111
  var FlexRow = /*#__PURE__*/ (function (_FlexBox) {
2118
- _inheritsLoose(FlexRow, _FlexBox);
2119
2112
  function FlexRow() {
2120
2113
  return _FlexBox.apply(this, arguments) || this;
2121
2114
  }
2115
+ _inheritsLoose(FlexRow, _FlexBox);
2122
2116
  return FlexRow;
2123
2117
  })(FlexBox);
2124
2118
  var FlexCol = /*#__PURE__*/ (function (_FlexBox2) {
2125
- _inheritsLoose(FlexCol, _FlexBox2);
2126
2119
  function FlexCol() {
2127
2120
  return _FlexBox2.apply(this, arguments) || this;
2128
2121
  }
2122
+ _inheritsLoose(FlexCol, _FlexBox2);
2129
2123
  return FlexCol;
2130
2124
  })(FlexBox);
2131
2125
  FlexCol.prototype.direction = "column";
2132
2126
 
2133
2127
  var ProgressBar = /*#__PURE__*/ (function (_Widget) {
2134
- _inheritsLoose(ProgressBar, _Widget);
2135
2128
  function ProgressBar() {
2136
2129
  return _Widget.apply(this, arguments) || this;
2137
2130
  }
2131
+ _inheritsLoose(ProgressBar, _Widget);
2138
2132
  var _proto = ProgressBar.prototype;
2139
2133
  _proto.declareData = function declareData() {
2140
2134
  var _Widget$prototype$dec;
@@ -2320,10 +2314,10 @@ function getCursorPos(e) {
2320
2314
  }
2321
2315
 
2322
2316
  var Resizer = /*#__PURE__*/ (function (_Widget) {
2323
- _inheritsLoose(Resizer, _Widget);
2324
2317
  function Resizer() {
2325
2318
  return _Widget.apply(this, arguments) || this;
2326
2319
  }
2320
+ _inheritsLoose(Resizer, _Widget);
2327
2321
  var _proto = Resizer.prototype;
2328
2322
  _proto.declareData = function declareData() {
2329
2323
  var _Widget$prototype$dec;
@@ -2363,7 +2357,6 @@ Resizer.prototype.defaultSize = null;
2363
2357
  Resizer.prototype.minSize = 0;
2364
2358
  Resizer.prototype.maxSize = 1e6;
2365
2359
  var ResizerCmp = /*#__PURE__*/ (function (_VDOM$Component) {
2366
- _inheritsLoose(ResizerCmp, _VDOM$Component);
2367
2360
  function ResizerCmp(props) {
2368
2361
  var _this;
2369
2362
  _this = _VDOM$Component.call(this, props) || this;
@@ -2373,6 +2366,7 @@ var ResizerCmp = /*#__PURE__*/ (function (_VDOM$Component) {
2373
2366
  };
2374
2367
  return _this;
2375
2368
  }
2369
+ _inheritsLoose(ResizerCmp, _VDOM$Component);
2376
2370
  var _proto2 = ResizerCmp.prototype;
2377
2371
  _proto2.shouldComponentUpdate = function shouldComponentUpdate(props, state) {
2378
2372
  return state != this.state;
@@ -2489,10 +2483,10 @@ var ResizerCmp = /*#__PURE__*/ (function (_VDOM$Component) {
2489
2483
  })(VDOM.Component);
2490
2484
 
2491
2485
  var HighlightedSearchText = /*#__PURE__*/ (function (_Widget) {
2492
- _inheritsLoose(HighlightedSearchText, _Widget);
2493
2486
  function HighlightedSearchText() {
2494
2487
  return _Widget.apply(this, arguments) || this;
2495
2488
  }
2489
+ _inheritsLoose(HighlightedSearchText, _Widget);
2496
2490
  var _proto = HighlightedSearchText.prototype;
2497
2491
  _proto.declareData = function declareData() {
2498
2492
  var _Widget$prototype$dec;
@@ -2820,10 +2814,10 @@ var DragDropContext = VDOM.createContext
2820
2814
  return children;
2821
2815
  };
2822
2816
  var ContextWrap = /*#__PURE__*/ (function (_Container) {
2823
- _inheritsLoose(ContextWrap, _Container);
2824
2817
  function ContextWrap() {
2825
2818
  return _Container.apply(this, arguments) || this;
2826
2819
  }
2820
+ _inheritsLoose(ContextWrap, _Container);
2827
2821
  var _proto = ContextWrap.prototype;
2828
2822
  _proto.render = function render(context, instance, key) {
2829
2823
  return /*#__PURE__*/ jsx(
@@ -2839,10 +2833,10 @@ var ContextWrap = /*#__PURE__*/ (function (_Container) {
2839
2833
  })(Container);
2840
2834
 
2841
2835
  var Overlay = /*#__PURE__*/ (function (_Container) {
2842
- _inheritsLoose(Overlay, _Container);
2843
2836
  function Overlay() {
2844
2837
  return _Container.apply(this, arguments) || this;
2845
2838
  }
2839
+ _inheritsLoose(Overlay, _Container);
2846
2840
  var _proto = Overlay.prototype;
2847
2841
  _proto.init = function init() {
2848
2842
  if (this.center) this.centerX = this.centerY = this.center;
@@ -3039,10 +3033,10 @@ Widget.alias("overlay", Overlay);
3039
3033
 
3040
3034
  //TODO: all el related logic should be moved here
3041
3035
  var OverlayContent = /*#__PURE__*/ (function (_VDOM$Component) {
3042
- _inheritsLoose(OverlayContent, _VDOM$Component);
3043
3036
  function OverlayContent() {
3044
3037
  return _VDOM$Component.apply(this, arguments) || this;
3045
3038
  }
3039
+ _inheritsLoose(OverlayContent, _VDOM$Component);
3046
3040
  var _proto2 = OverlayContent.prototype;
3047
3041
  _proto2.render = function render() {
3048
3042
  return /*#__PURE__*/ jsx("div", {
@@ -3072,7 +3066,6 @@ var OverlayContent = /*#__PURE__*/ (function (_VDOM$Component) {
3072
3066
  return OverlayContent;
3073
3067
  })(VDOM.Component); //TODO: This should be called OverlayPortal
3074
3068
  var OverlayComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
3075
- _inheritsLoose(OverlayComponent, _VDOM$Component2);
3076
3069
  function OverlayComponent(props) {
3077
3070
  var _this3;
3078
3071
  _this3 = _VDOM$Component2.call(this, props) || this;
@@ -3080,6 +3073,7 @@ var OverlayComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
3080
3073
  _this3.customStyle = {};
3081
3074
  return _this3;
3082
3075
  }
3076
+ _inheritsLoose(OverlayComponent, _VDOM$Component2);
3083
3077
  var _proto3 = OverlayComponent.prototype;
3084
3078
  _proto3.render = function render() {
3085
3079
  var _this$props = this.props,
@@ -3504,10 +3498,10 @@ var OverlayComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
3504
3498
  })(VDOM.Component);
3505
3499
 
3506
3500
  var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3507
- _inheritsLoose(Dropdown, _Overlay);
3508
3501
  function Dropdown() {
3509
3502
  return _Overlay.apply(this, arguments) || this;
3510
3503
  }
3504
+ _inheritsLoose(Dropdown, _Overlay);
3511
3505
  var _proto = Dropdown.prototype;
3512
3506
  _proto.init = function init() {
3513
3507
  if (this.trackMouse) {
@@ -4069,10 +4063,10 @@ function getViewportRect(padding) {
4069
4063
  }
4070
4064
 
4071
4065
  var Tooltip = /*#__PURE__*/ (function (_Dropdown) {
4072
- _inheritsLoose(Tooltip, _Dropdown);
4073
4066
  function Tooltip() {
4074
4067
  return _Dropdown.apply(this, arguments) || this;
4075
4068
  }
4069
+ _inheritsLoose(Tooltip, _Dropdown);
4076
4070
  var _proto = Tooltip.prototype;
4077
4071
  _proto.declareData = function declareData() {
4078
4072
  var _Dropdown$prototype$d;
@@ -4338,10 +4332,10 @@ function enableTooltips() {
4338
4332
  }
4339
4333
 
4340
4334
  var Window = /*#__PURE__*/ (function (_Overlay) {
4341
- _inheritsLoose(Window, _Overlay);
4342
4335
  function Window() {
4343
4336
  return _Overlay.apply(this, arguments) || this;
4344
4337
  }
4338
+ _inheritsLoose(Window, _Overlay);
4345
4339
  var _proto = Window.prototype;
4346
4340
  _proto.init = function init() {
4347
4341
  if (isDefined(this.closeable)) this.closable = this.closeable;
@@ -4455,10 +4449,10 @@ Window.prototype.focusable = true;
4455
4449
  Widget.alias("window", Window);
4456
4450
  Localization.registerPrototype("cx/widgets/Window", Window);
4457
4451
  var WindowComponent = /*#__PURE__*/ (function (_OverlayComponent) {
4458
- _inheritsLoose(WindowComponent, _OverlayComponent);
4459
4452
  function WindowComponent() {
4460
4453
  return _OverlayComponent.apply(this, arguments) || this;
4461
4454
  }
4455
+ _inheritsLoose(WindowComponent, _OverlayComponent);
4462
4456
  var _proto2 = WindowComponent.prototype;
4463
4457
  _proto2.renderOverlayBody = function renderOverlayBody() {
4464
4458
  var _this = this;
@@ -4711,10 +4705,10 @@ function enableMsgBoxAlerts() {
4711
4705
  }
4712
4706
 
4713
4707
  var Toast = /*#__PURE__*/ (function (_Overlay) {
4714
- _inheritsLoose(Toast, _Overlay);
4715
4708
  function Toast() {
4716
4709
  return _Overlay.apply(this, arguments) || this;
4717
4710
  }
4711
+ _inheritsLoose(Toast, _Overlay);
4718
4712
  var _proto = Toast.prototype;
4719
4713
  _proto.init = function init() {
4720
4714
  if (this.message)
@@ -4804,10 +4798,10 @@ Toast.prototype.placement = "top";
4804
4798
  Toast.prototype.destroyDelay = 300;
4805
4799
 
4806
4800
  var ContextMenu = /*#__PURE__*/ (function (_Dropdown) {
4807
- _inheritsLoose(ContextMenu, _Dropdown);
4808
4801
  function ContextMenu() {
4809
4802
  return _Dropdown.apply(this, arguments) || this;
4810
4803
  }
4804
+ _inheritsLoose(ContextMenu, _Dropdown);
4811
4805
  return ContextMenu;
4812
4806
  })(Dropdown);
4813
4807
  ContextMenu.prototype.trackMouse = true;
@@ -4836,10 +4830,10 @@ var openContextMenu = function openContextMenu(e, content, storeOrInstance, opti
4836
4830
  };
4837
4831
 
4838
4832
  var FlyweightTooltipTracker = /*#__PURE__*/ (function (_Widget) {
4839
- _inheritsLoose(FlyweightTooltipTracker, _Widget);
4840
4833
  function FlyweightTooltipTracker() {
4841
4834
  return _Widget.apply(this, arguments) || this;
4842
4835
  }
4836
+ _inheritsLoose(FlyweightTooltipTracker, _Widget);
4843
4837
  var _proto = FlyweightTooltipTracker.prototype;
4844
4838
  _proto.initInstance = function initInstance(context, instance) {
4845
4839
  var _this = this;
@@ -4875,10 +4869,10 @@ var FlyweightTooltipTracker = /*#__PURE__*/ (function (_Widget) {
4875
4869
  })(Widget);
4876
4870
 
4877
4871
  var Route = /*#__PURE__*/ (function (_PureContainer) {
4878
- _inheritsLoose(Route, _PureContainer);
4879
4872
  function Route() {
4880
4873
  return _PureContainer.apply(this, arguments) || this;
4881
4874
  }
4875
+ _inheritsLoose(Route, _PureContainer);
4882
4876
  var _proto = Route.prototype;
4883
4877
  _proto.init = function init() {
4884
4878
  if (this.path) this.route = this.path;
@@ -4976,10 +4970,10 @@ Route.prototype.prefix = false;
4976
4970
  Widget.alias("route", Route);
4977
4971
 
4978
4972
  var RedirectRoute = /*#__PURE__*/ (function (_Route) {
4979
- _inheritsLoose(RedirectRoute, _Route);
4980
4973
  function RedirectRoute() {
4981
4974
  return _Route.apply(this, arguments) || this;
4982
4975
  }
4976
+ _inheritsLoose(RedirectRoute, _Route);
4983
4977
  var _proto = RedirectRoute.prototype;
4984
4978
  _proto.checkVisible = function checkVisible(context, instance, data) {
4985
4979
  if (!data.visible) return false;
@@ -5010,10 +5004,10 @@ var RedirectRoute = /*#__PURE__*/ (function (_Route) {
5010
5004
  Widget.alias("redirect-route", RedirectRoute);
5011
5005
 
5012
5006
  var Tab = /*#__PURE__*/ (function (_HtmlElement) {
5013
- _inheritsLoose(Tab, _HtmlElement);
5014
5007
  function Tab() {
5015
5008
  return _HtmlElement.apply(this, arguments) || this;
5016
5009
  }
5010
+ _inheritsLoose(Tab, _HtmlElement);
5017
5011
  var _proto = Tab.prototype;
5018
5012
  _proto.declareData = function declareData() {
5019
5013
  var _HtmlElement$prototyp;
@@ -5087,10 +5081,10 @@ Tab.prototype["default"] = false;
5087
5081
  Widget.alias("tab", Tab);
5088
5082
 
5089
5083
  var LinkButton = /*#__PURE__*/ (function (_Button) {
5090
- _inheritsLoose(LinkButton, _Button);
5091
5084
  function LinkButton() {
5092
5085
  return _Button.apply(this, arguments) || this;
5093
5086
  }
5087
+ _inheritsLoose(LinkButton, _Button);
5094
5088
  var _proto = LinkButton.prototype;
5095
5089
  _proto.init = function init() {
5096
5090
  this.activeStyle = parseStyle(this.activeStyle);
@@ -5190,20 +5184,20 @@ LinkButton.prototype.tag = "a";
5190
5184
  Widget.alias("link-button", LinkButton);
5191
5185
 
5192
5186
  var Link = /*#__PURE__*/ (function (_LinkButton) {
5193
- _inheritsLoose(Link, _LinkButton);
5194
5187
  function Link() {
5195
5188
  return _LinkButton.apply(this, arguments) || this;
5196
5189
  }
5190
+ _inheritsLoose(Link, _LinkButton);
5197
5191
  return Link;
5198
5192
  })(LinkButton);
5199
5193
  Link.prototype.baseClass = "link";
5200
5194
  Widget.alias("link", Link);
5201
5195
 
5202
5196
  var MenuItem = /*#__PURE__*/ (function (_HtmlElement) {
5203
- _inheritsLoose(MenuItem, _HtmlElement);
5204
5197
  function MenuItem() {
5205
5198
  return _HtmlElement.apply(this, arguments) || this;
5206
5199
  }
5200
+ _inheritsLoose(MenuItem, _HtmlElement);
5207
5201
  var _proto = MenuItem.prototype;
5208
5202
  _proto.init = function init() {
5209
5203
  if (this.hideCursor) this.showCursor = false;
@@ -5290,7 +5284,6 @@ MenuItem.prototype.openOnFocus = true;
5290
5284
  Widget.alias("submenu", MenuItem);
5291
5285
  Localization.registerPrototype("cx/widgets/MenuItem", MenuItem);
5292
5286
  var MenuItemComponent$1 = /*#__PURE__*/ (function (_VDOM$Component) {
5293
- _inheritsLoose(MenuItemComponent, _VDOM$Component);
5294
5287
  function MenuItemComponent(props) {
5295
5288
  var _this;
5296
5289
  _this = _VDOM$Component.call(this, props) || this;
@@ -5299,6 +5292,7 @@ var MenuItemComponent$1 = /*#__PURE__*/ (function (_VDOM$Component) {
5299
5292
  };
5300
5293
  return _this;
5301
5294
  }
5295
+ _inheritsLoose(MenuItemComponent, _VDOM$Component);
5302
5296
  var _proto2 = MenuItemComponent.prototype;
5303
5297
  _proto2.getDefaultPlacementOrder = function getDefaultPlacementOrder(horizontal) {
5304
5298
  return horizontal
@@ -5620,10 +5614,10 @@ var MenuItemComponent$1 = /*#__PURE__*/ (function (_VDOM$Component) {
5620
5614
  })(VDOM.Component);
5621
5615
 
5622
5616
  var MenuSpacer = /*#__PURE__*/ (function (_Widget) {
5623
- _inheritsLoose(MenuSpacer, _Widget);
5624
5617
  function MenuSpacer() {
5625
5618
  return _Widget.apply(this, arguments) || this;
5626
5619
  }
5620
+ _inheritsLoose(MenuSpacer, _Widget);
5627
5621
  var _proto = MenuSpacer.prototype;
5628
5622
  _proto.render = function render(context, instance, key) {
5629
5623
  return {
@@ -5637,10 +5631,10 @@ var MenuSpacer = /*#__PURE__*/ (function (_Widget) {
5637
5631
  MenuSpacer.prototype.isMenuSpacer = true;
5638
5632
 
5639
5633
  var Menu = /*#__PURE__*/ (function (_HtmlElement) {
5640
- _inheritsLoose(Menu, _HtmlElement);
5641
5634
  function Menu() {
5642
5635
  return _HtmlElement.apply(this, arguments) || this;
5643
5636
  }
5637
+ _inheritsLoose(Menu, _HtmlElement);
5644
5638
  var _proto = Menu.prototype;
5645
5639
  _proto.init = function init() {
5646
5640
  if (this.itemPadding === true) this.itemPadding = "medium";
@@ -5721,7 +5715,6 @@ Menu.prototype.overflowIcon = "drop-down";
5721
5715
  Menu.Item = MenuItem;
5722
5716
  Menu.Spacer = MenuSpacer;
5723
5717
  var MenuComponent = /*#__PURE__*/ (function (_VDOM$Component) {
5724
- _inheritsLoose(MenuComponent, _VDOM$Component);
5725
5718
  function MenuComponent(props) {
5726
5719
  var _this;
5727
5720
  _this = _VDOM$Component.call(this, props) || this;
@@ -5734,6 +5727,7 @@ var MenuComponent = /*#__PURE__*/ (function (_VDOM$Component) {
5734
5727
  };
5735
5728
  return _this;
5736
5729
  }
5730
+ _inheritsLoose(MenuComponent, _VDOM$Component);
5737
5731
  var _proto2 = MenuComponent.prototype;
5738
5732
  _proto2.render = function render() {
5739
5733
  var _this2 = this;
@@ -5932,7 +5926,6 @@ Menu.prototype.baseClass = "menu";
5932
5926
  Menu.prototype.tag = "ul";
5933
5927
  Widget.alias("menu", Menu);
5934
5928
  var MenuItemComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
5935
- _inheritsLoose(MenuItemComponent, _VDOM$Component2);
5936
5929
  function MenuItemComponent(props) {
5937
5930
  var _this5;
5938
5931
  _this5 = _VDOM$Component2.call(this, props) || this;
@@ -5941,6 +5934,7 @@ var MenuItemComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
5941
5934
  };
5942
5935
  return _this5;
5943
5936
  }
5937
+ _inheritsLoose(MenuItemComponent, _VDOM$Component2);
5944
5938
  var _proto3 = MenuItemComponent.prototype;
5945
5939
  _proto3.render = function render() {
5946
5940
  var _this6 = this;
@@ -6031,18 +6025,18 @@ var MenuItemComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
6031
6025
  })(VDOM.Component);
6032
6026
 
6033
6027
  var Submenu = /*#__PURE__*/ (function (_MenuItem) {
6034
- _inheritsLoose(Submenu, _MenuItem);
6035
6028
  function Submenu() {
6036
6029
  return _MenuItem.apply(this, arguments) || this;
6037
6030
  }
6031
+ _inheritsLoose(Submenu, _MenuItem);
6038
6032
  return Submenu;
6039
6033
  })(MenuItem);
6040
6034
 
6041
6035
  var Scroller = /*#__PURE__*/ (function (_Container) {
6042
- _inheritsLoose(Scroller, _Container);
6043
6036
  function Scroller() {
6044
6037
  return _Container.apply(this, arguments) || this;
6045
6038
  }
6039
+ _inheritsLoose(Scroller, _Container);
6046
6040
  var _proto = Scroller.prototype;
6047
6041
  _proto.init = function init() {
6048
6042
  if (!this.vertical) this.horizontal = true; //default
@@ -6080,7 +6074,6 @@ var Scroller = /*#__PURE__*/ (function (_Container) {
6080
6074
  Scroller.prototype.styled = true;
6081
6075
  Scroller.prototype.baseClass = "scroller";
6082
6076
  var HScrollerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
6083
- _inheritsLoose(HScrollerComponent, _VDOM$Component);
6084
6077
  function HScrollerComponent(props) {
6085
6078
  var _this;
6086
6079
  _this = _VDOM$Component.call(this, props) || this;
@@ -6104,6 +6097,7 @@ var HScrollerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
6104
6097
  };
6105
6098
  return _this;
6106
6099
  }
6100
+ _inheritsLoose(HScrollerComponent, _VDOM$Component);
6107
6101
  var _proto2 = HScrollerComponent.prototype;
6108
6102
  _proto2.render = function render() {
6109
6103
  var _this2 = this;
@@ -6256,27 +6250,27 @@ var HScrollerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
6256
6250
  return HScrollerComponent;
6257
6251
  })(VDOM.Component);
6258
6252
  var HScroller = /*#__PURE__*/ (function (_Scroller) {
6259
- _inheritsLoose(HScroller, _Scroller);
6260
6253
  function HScroller() {
6261
6254
  return _Scroller.apply(this, arguments) || this;
6262
6255
  }
6256
+ _inheritsLoose(HScroller, _Scroller);
6263
6257
  return HScroller;
6264
6258
  })(Scroller);
6265
6259
  HScroller.prototype.horizontal = true;
6266
6260
  var VScroller = /*#__PURE__*/ (function (_Scroller2) {
6267
- _inheritsLoose(VScroller, _Scroller2);
6268
6261
  function VScroller() {
6269
6262
  return _Scroller2.apply(this, arguments) || this;
6270
6263
  }
6264
+ _inheritsLoose(VScroller, _Scroller2);
6271
6265
  return VScroller;
6272
6266
  })(Scroller);
6273
6267
  VScroller.prototype.vertical = true;
6274
6268
 
6275
6269
  var ValidationError = /*#__PURE__*/ (function (_Widget) {
6276
- _inheritsLoose(ValidationError, _Widget);
6277
6270
  function ValidationError() {
6278
6271
  return _Widget.apply(this, arguments) || this;
6279
6272
  }
6273
+ _inheritsLoose(ValidationError, _Widget);
6280
6274
  var _proto = ValidationError.prototype;
6281
6275
  _proto.checkVisible = function checkVisible(context, instance, data) {
6282
6276
  if (
@@ -6323,10 +6317,10 @@ ValidationError.prototype.styled = true;
6323
6317
  Widget.alias("validation-error", ValidationError);
6324
6318
 
6325
6319
  var HelpText = /*#__PURE__*/ (function (_HtmlElement) {
6326
- _inheritsLoose(HelpText, _HtmlElement);
6327
6320
  function HelpText() {
6328
6321
  return _HtmlElement.apply(this, arguments) || this;
6329
6322
  }
6323
+ _inheritsLoose(HelpText, _HtmlElement);
6330
6324
  return HelpText;
6331
6325
  })(HtmlElement);
6332
6326
  HelpText.prototype.tag = "span";
@@ -6334,10 +6328,10 @@ HelpText.prototype.baseClass = "helptext";
6334
6328
  Widget.alias("help-text", HelpText);
6335
6329
 
6336
6330
  var Label = /*#__PURE__*/ (function (_HtmlElement) {
6337
- _inheritsLoose(Label, _HtmlElement);
6338
6331
  function Label() {
6339
6332
  return _HtmlElement.apply(this, arguments) || this;
6340
6333
  }
6334
+ _inheritsLoose(Label, _HtmlElement);
6341
6335
  var _proto = Label.prototype;
6342
6336
  _proto.declareData = function declareData() {
6343
6337
  var _HtmlElement$prototyp;
@@ -6419,10 +6413,10 @@ Label.prototype.tag = "label";
6419
6413
  Label.prototype.asterisk = false;
6420
6414
 
6421
6415
  var FieldIcon = /*#__PURE__*/ (function (_Widget) {
6422
- _inheritsLoose(FieldIcon, _Widget);
6423
6416
  function FieldIcon() {
6424
6417
  return _Widget.apply(this, arguments) || this;
6425
6418
  }
6419
+ _inheritsLoose(FieldIcon, _Widget);
6426
6420
  var _proto = FieldIcon.prototype;
6427
6421
  _proto.declareData = function declareData() {
6428
6422
  var _Widget$prototype$dec;
@@ -6468,10 +6462,10 @@ var FieldIcon = /*#__PURE__*/ (function (_Widget) {
6468
6462
  FieldIcon.prototype.styled = true;
6469
6463
 
6470
6464
  var Field = /*#__PURE__*/ (function (_PureContainer) {
6471
- _inheritsLoose(Field, _PureContainer);
6472
6465
  function Field() {
6473
6466
  return _PureContainer.apply(this, arguments) || this;
6474
6467
  }
6468
+ _inheritsLoose(Field, _PureContainer);
6475
6469
  var _proto = Field.prototype;
6476
6470
  _proto.declareData = function declareData() {
6477
6471
  var _PureContainer$protot;
@@ -6881,10 +6875,10 @@ function getFieldTooltip(instance) {
6881
6875
  }
6882
6876
 
6883
6877
  var TextField = /*#__PURE__*/ (function (_Field) {
6884
- _inheritsLoose(TextField, _Field);
6885
6878
  function TextField() {
6886
6879
  return _Field.apply(this, arguments) || this;
6887
6880
  }
6881
+ _inheritsLoose(TextField, _Field);
6888
6882
  var _proto = TextField.prototype;
6889
6883
  _proto.init = function init() {
6890
6884
  if (typeof this.hideClear !== "undefined") this.showClear = !this.hideClear;
@@ -6953,7 +6947,6 @@ TextField.prototype.keyboardShortcut = false;
6953
6947
  TextField.prototype.trim = false;
6954
6948
  Localization.registerPrototype("cx/widgets/TextField", TextField);
6955
6949
  var Input$2 = /*#__PURE__*/ (function (_VDOM$Component) {
6956
- _inheritsLoose(Input, _VDOM$Component);
6957
6950
  function Input(props) {
6958
6951
  var _this;
6959
6952
  _this = _VDOM$Component.call(this, props) || this;
@@ -6962,6 +6955,7 @@ var Input$2 = /*#__PURE__*/ (function (_VDOM$Component) {
6962
6955
  };
6963
6956
  return _this;
6964
6957
  }
6958
+ _inheritsLoose(Input, _VDOM$Component);
6965
6959
  var _proto2 = Input.prototype;
6966
6960
  _proto2.render = function render() {
6967
6961
  var _this2 = this;
@@ -7193,10 +7187,10 @@ var SquareIcon = registerIcon(
7193
7187
  );
7194
7188
 
7195
7189
  var Checkbox = /*#__PURE__*/ (function (_Field) {
7196
- _inheritsLoose(Checkbox, _Field);
7197
7190
  function Checkbox() {
7198
7191
  return _Field.apply(this, arguments) || this;
7199
7192
  }
7193
+ _inheritsLoose(Checkbox, _Field);
7200
7194
  var _proto = Checkbox.prototype;
7201
7195
  _proto.init = function init() {
7202
7196
  if (this.checked) this.value = this.checked;
@@ -7346,7 +7340,6 @@ Checkbox.prototype.indeterminate = false;
7346
7340
  Checkbox.prototype.unfocusable = false;
7347
7341
  Widget.alias("checkbox", Checkbox);
7348
7342
  var CheckboxCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7349
- _inheritsLoose(CheckboxCmp, _VDOM$Component);
7350
7343
  function CheckboxCmp(props) {
7351
7344
  var _this3;
7352
7345
  _this3 = _VDOM$Component.call(this, props) || this;
@@ -7355,6 +7348,7 @@ var CheckboxCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7355
7348
  };
7356
7349
  return _this3;
7357
7350
  }
7351
+ _inheritsLoose(CheckboxCmp, _VDOM$Component);
7358
7352
  var _proto2 = CheckboxCmp.prototype;
7359
7353
  _proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
7360
7354
  this.setState({
@@ -7423,10 +7417,10 @@ var CheckboxCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7423
7417
  })(VDOM.Component);
7424
7418
 
7425
7419
  var Radio = /*#__PURE__*/ (function (_Field) {
7426
- _inheritsLoose(Radio, _Field);
7427
7420
  function Radio() {
7428
7421
  return _Field.apply(this, arguments) || this;
7429
7422
  }
7423
+ _inheritsLoose(Radio, _Field);
7430
7424
  var _proto = Radio.prototype;
7431
7425
  _proto.declareData = function declareData() {
7432
7426
  var _Field$prototype$decl;
@@ -7574,7 +7568,6 @@ Radio.prototype["native"] = false;
7574
7568
  Radio.prototype["default"] = false;
7575
7569
  Widget.alias("radio", Radio);
7576
7570
  var RadioCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7577
- _inheritsLoose(RadioCmp, _VDOM$Component);
7578
7571
  function RadioCmp(props) {
7579
7572
  var _this3;
7580
7573
  _this3 = _VDOM$Component.call(this, props) || this;
@@ -7583,6 +7576,7 @@ var RadioCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7583
7576
  };
7584
7577
  return _this3;
7585
7578
  }
7579
+ _inheritsLoose(RadioCmp, _VDOM$Component);
7586
7580
  var _proto2 = RadioCmp.prototype;
7587
7581
  _proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
7588
7582
  this.setState({
@@ -7635,10 +7629,10 @@ var RadioCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7635
7629
  })(VDOM.Component);
7636
7630
 
7637
7631
  var Select = /*#__PURE__*/ (function (_Field) {
7638
- _inheritsLoose(Select, _Field);
7639
7632
  function Select() {
7640
7633
  return _Field.apply(this, arguments) || this;
7641
7634
  }
7635
+ _inheritsLoose(Select, _Field);
7642
7636
  var _proto = Select.prototype;
7643
7637
  _proto.declareData = function declareData() {
7644
7638
  var _Field$prototype$decl;
@@ -7708,7 +7702,6 @@ Select.prototype.icon = null;
7708
7702
  Widget.alias("select", Select);
7709
7703
  Localization.registerPrototype("cx/widgets/Select", Select);
7710
7704
  var SelectComponent = /*#__PURE__*/ (function (_VDOM$Component) {
7711
- _inheritsLoose(SelectComponent, _VDOM$Component);
7712
7705
  function SelectComponent(props) {
7713
7706
  var _this2;
7714
7707
  _this2 = _VDOM$Component.call(this, props) || this;
@@ -7718,6 +7711,7 @@ var SelectComponent = /*#__PURE__*/ (function (_VDOM$Component) {
7718
7711
  };
7719
7712
  return _this2;
7720
7713
  }
7714
+ _inheritsLoose(SelectComponent, _VDOM$Component);
7721
7715
  var _proto2 = SelectComponent.prototype;
7722
7716
  _proto2.render = function render() {
7723
7717
  var _this3 = this;
@@ -7883,10 +7877,10 @@ var SelectComponent = /*#__PURE__*/ (function (_VDOM$Component) {
7883
7877
  return SelectComponent;
7884
7878
  })(VDOM.Component);
7885
7879
  var Option = /*#__PURE__*/ (function (_HtmlElement) {
7886
- _inheritsLoose(Option, _HtmlElement);
7887
7880
  function Option() {
7888
7881
  return _HtmlElement.apply(this, arguments) || this;
7889
7882
  }
7883
+ _inheritsLoose(Option, _HtmlElement);
7890
7884
  var _proto3 = Option.prototype;
7891
7885
  _proto3.declareData = function declareData() {
7892
7886
  var _HtmlElement$prototyp;
@@ -7952,10 +7946,10 @@ var ForwardIcon = registerIcon(
7952
7946
  );
7953
7947
 
7954
7948
  var Calendar = /*#__PURE__*/ (function (_Field) {
7955
- _inheritsLoose(Calendar, _Field);
7956
7949
  function Calendar() {
7957
7950
  return _Field.apply(this, arguments) || this;
7958
7951
  }
7952
+ _inheritsLoose(Calendar, _Field);
7959
7953
  var _proto = Calendar.prototype;
7960
7954
  _proto.declareData = function declareData() {
7961
7955
  var _Field$prototype$decl;
@@ -8086,7 +8080,6 @@ var validationCheck$1 = function validationCheck(date, data, disabledDaysOfWeek)
8086
8080
  return true;
8087
8081
  };
8088
8082
  var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8089
- _inheritsLoose(CalendarCmp, _VDOM$Component);
8090
8083
  function CalendarCmp(props) {
8091
8084
  var _this2;
8092
8085
  _this2 = _VDOM$Component.call(this, props) || this;
@@ -8100,10 +8093,11 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8100
8093
  },
8101
8094
  _this2.getPage(refDate),
8102
8095
  );
8103
- _this2.handleMouseMove = _this2.handleMouseMove.bind(_assertThisInitialized(_this2));
8104
- _this2.handleMouseDown = _this2.handleMouseDown.bind(_assertThisInitialized(_this2));
8096
+ _this2.handleMouseMove = _this2.handleMouseMove.bind(_this2);
8097
+ _this2.handleMouseDown = _this2.handleMouseDown.bind(_this2);
8105
8098
  return _this2;
8106
8099
  }
8100
+ _inheritsLoose(CalendarCmp, _VDOM$Component);
8107
8101
  var _proto2 = CalendarCmp.prototype;
8108
8102
  _proto2.getPage = function getPage(refDate) {
8109
8103
  refDate = monthStart(refDate); //make a copy
@@ -8492,10 +8486,10 @@ var readDate = function readDate(ds) {
8492
8486
  Widget.alias("calendar", Calendar);
8493
8487
 
8494
8488
  var LookupField = /*#__PURE__*/ (function (_Field) {
8495
- _inheritsLoose(LookupField, _Field);
8496
8489
  function LookupField() {
8497
8490
  return _Field.apply(this, arguments) || this;
8498
8491
  }
8492
+ _inheritsLoose(LookupField, _Field);
8499
8493
  var _proto = LookupField.prototype;
8500
8494
  _proto.declareData = function declareData() {
8501
8495
  var _Field$prototype$decl;
@@ -8778,7 +8772,6 @@ function convertOption(bindings, data) {
8778
8772
  return result.$value;
8779
8773
  }
8780
8774
  var SelectionDelegate = /*#__PURE__*/ (function (_Selection) {
8781
- _inheritsLoose(SelectionDelegate, _Selection);
8782
8775
  function SelectionDelegate(_ref) {
8783
8776
  var _this4;
8784
8777
  var delegate = _ref.delegate;
@@ -8786,6 +8779,7 @@ var SelectionDelegate = /*#__PURE__*/ (function (_Selection) {
8786
8779
  _this4.delegate = delegate;
8787
8780
  return _this4;
8788
8781
  }
8782
+ _inheritsLoose(SelectionDelegate, _Selection);
8789
8783
  var _proto2 = SelectionDelegate.prototype;
8790
8784
  _proto2.getIsSelectedDelegate = function getIsSelectedDelegate(store) {
8791
8785
  var _this5 = this;
@@ -8799,7 +8793,6 @@ var SelectionDelegate = /*#__PURE__*/ (function (_Selection) {
8799
8793
  return SelectionDelegate;
8800
8794
  })(Selection);
8801
8795
  var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
8802
- _inheritsLoose(LookupComponent, _VDOM$Component);
8803
8796
  function LookupComponent(props) {
8804
8797
  var _this6;
8805
8798
  _this6 = _VDOM$Component.call(this, props) || this;
@@ -8819,6 +8812,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
8819
8812
  });
8820
8813
  return _this6;
8821
8814
  }
8815
+ _inheritsLoose(LookupComponent, _VDOM$Component);
8822
8816
  var _proto3 = LookupComponent.prototype;
8823
8817
  _proto3.getOptionKey = function getOptionKey(data) {
8824
8818
  return this.props.bindings
@@ -9762,10 +9756,10 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9762
9756
 
9763
9757
  enableCultureSensitiveFormatting();
9764
9758
  var NumberField = /*#__PURE__*/ (function (_Field) {
9765
- _inheritsLoose(NumberField, _Field);
9766
9759
  function NumberField() {
9767
9760
  return _Field.apply(this, arguments) || this;
9768
9761
  }
9762
+ _inheritsLoose(NumberField, _Field);
9769
9763
  var _proto = NumberField.prototype;
9770
9764
  _proto.declareData = function declareData() {
9771
9765
  var _Field$prototype$decl;
@@ -9876,7 +9870,6 @@ NumberField.prototype.alwaysShowClear = false;
9876
9870
  Widget.alias("numberfield", NumberField);
9877
9871
  Localization.registerPrototype("cx/widgets/NumberField", NumberField);
9878
9872
  var Input$1 = /*#__PURE__*/ (function (_VDOM$Component) {
9879
- _inheritsLoose(Input, _VDOM$Component);
9880
9873
  function Input(props) {
9881
9874
  var _this;
9882
9875
  _this = _VDOM$Component.call(this, props) || this;
@@ -9885,6 +9878,7 @@ var Input$1 = /*#__PURE__*/ (function (_VDOM$Component) {
9885
9878
  };
9886
9879
  return _this;
9887
9880
  }
9881
+ _inheritsLoose(Input, _VDOM$Component);
9888
9882
  var _proto2 = Input.prototype;
9889
9883
  _proto2.render = function render() {
9890
9884
  var _this2 = this;
@@ -10207,10 +10201,10 @@ var Input$1 = /*#__PURE__*/ (function (_VDOM$Component) {
10207
10201
  })(VDOM.Component);
10208
10202
 
10209
10203
  var TextArea = /*#__PURE__*/ (function (_TextField) {
10210
- _inheritsLoose(TextArea, _TextField);
10211
10204
  function TextArea() {
10212
10205
  return _TextField.apply(this, arguments) || this;
10213
10206
  }
10207
+ _inheritsLoose(TextArea, _TextField);
10214
10208
  var _proto = TextArea.prototype;
10215
10209
  _proto.declareData = function declareData() {
10216
10210
  var _TextField$prototype$;
@@ -10252,7 +10246,6 @@ TextArea.prototype.baseClass = "textarea";
10252
10246
  TextArea.prototype.reactOn = "blur";
10253
10247
  TextArea.prototype.suppressErrorsUntilVisited = true;
10254
10248
  var Input = /*#__PURE__*/ (function (_VDOM$Component) {
10255
- _inheritsLoose(Input, _VDOM$Component);
10256
10249
  function Input(props) {
10257
10250
  var _this;
10258
10251
  _this = _VDOM$Component.call(this, props) || this;
@@ -10261,6 +10254,7 @@ var Input = /*#__PURE__*/ (function (_VDOM$Component) {
10261
10254
  };
10262
10255
  return _this;
10263
10256
  }
10257
+ _inheritsLoose(Input, _VDOM$Component);
10264
10258
  var _proto2 = Input.prototype;
10265
10259
  _proto2.render = function render() {
10266
10260
  var _this2 = this;
@@ -10409,10 +10403,10 @@ var Input = /*#__PURE__*/ (function (_VDOM$Component) {
10409
10403
  Widget.alias("textarea", TextArea);
10410
10404
 
10411
10405
  var ValidationGroup = /*#__PURE__*/ (function (_PureContainer) {
10412
- _inheritsLoose(ValidationGroup, _PureContainer);
10413
10406
  function ValidationGroup() {
10414
10407
  return _PureContainer.apply(this, arguments) || this;
10415
10408
  }
10409
+ _inheritsLoose(ValidationGroup, _PureContainer);
10416
10410
  var _proto = ValidationGroup.prototype;
10417
10411
  _proto.declareData = function declareData() {
10418
10412
  var _PureContainer$protot;
@@ -10475,19 +10469,19 @@ ValidationGroup.prototype.isolated = false;
10475
10469
  Widget.alias("validation-group", ValidationGroup);
10476
10470
 
10477
10471
  var FieldGroup = /*#__PURE__*/ (function (_ValidationGroup) {
10478
- _inheritsLoose(FieldGroup, _ValidationGroup);
10479
10472
  function FieldGroup() {
10480
10473
  return _ValidationGroup.apply(this, arguments) || this;
10481
10474
  }
10475
+ _inheritsLoose(FieldGroup, _ValidationGroup);
10482
10476
  return FieldGroup;
10483
10477
  })(ValidationGroup);
10484
10478
  Widget.alias("field-group", FieldGroup);
10485
10479
 
10486
10480
  var LabeledContainer = /*#__PURE__*/ (function (_FieldGroup) {
10487
- _inheritsLoose(LabeledContainer, _FieldGroup);
10488
10481
  function LabeledContainer() {
10489
10482
  return _FieldGroup.apply(this, arguments) || this;
10490
10483
  }
10484
+ _inheritsLoose(LabeledContainer, _FieldGroup);
10491
10485
  var _proto = LabeledContainer.prototype;
10492
10486
  _proto.declareData = function declareData() {
10493
10487
  var _FieldGroup$prototype;
@@ -10544,10 +10538,10 @@ Widget.alias("labeled-container", LabeledContainer);
10544
10538
 
10545
10539
  enableCultureSensitiveFormatting();
10546
10540
  var MonthPicker = /*#__PURE__*/ (function (_Field) {
10547
- _inheritsLoose(MonthPicker, _Field);
10548
10541
  function MonthPicker() {
10549
10542
  return _Field.apply(this, arguments) || this;
10550
10543
  }
10544
+ _inheritsLoose(MonthPicker, _Field);
10551
10545
  var _proto = MonthPicker.prototype;
10552
10546
  _proto.declareData = function declareData() {
10553
10547
  var _Field$prototype$decl;
@@ -10670,7 +10664,6 @@ var monthNumber = function monthNumber(date) {
10670
10664
  return date.getFullYear() * 12 + date.getMonth();
10671
10665
  };
10672
10666
  var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
10673
- _inheritsLoose(MonthPickerComponent, _VDOM$Component);
10674
10667
  function MonthPickerComponent(props) {
10675
10668
  var _this;
10676
10669
  _this = _VDOM$Component.call(this, props) || this;
@@ -10687,14 +10680,15 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
10687
10680
  start: widget.startYear,
10688
10681
  end: widget.startYear + widget.bufferSize,
10689
10682
  };
10690
- _this.handleMouseDown = _this.handleMouseDown.bind(_assertThisInitialized(_this));
10691
- _this.handleMouseUp = _this.handleMouseUp.bind(_assertThisInitialized(_this));
10692
- _this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized(_this));
10693
- _this.handleKeyPress = _this.handleKeyPress.bind(_assertThisInitialized(_this));
10694
- _this.handleTouchMove = _this.handleTouchMove.bind(_assertThisInitialized(_this));
10695
- _this.handleTouchEnd = _this.handleTouchEnd.bind(_assertThisInitialized(_this));
10683
+ _this.handleMouseDown = _this.handleMouseDown.bind(_this);
10684
+ _this.handleMouseUp = _this.handleMouseUp.bind(_this);
10685
+ _this.handleMouseEnter = _this.handleMouseEnter.bind(_this);
10686
+ _this.handleKeyPress = _this.handleKeyPress.bind(_this);
10687
+ _this.handleTouchMove = _this.handleTouchMove.bind(_this);
10688
+ _this.handleTouchEnd = _this.handleTouchEnd.bind(_this);
10696
10689
  return _this;
10697
10690
  }
10691
+ _inheritsLoose(MonthPickerComponent, _VDOM$Component);
10698
10692
  var _proto2 = MonthPickerComponent.prototype;
10699
10693
  _proto2.extractCursorInfo = function extractCursorInfo(el) {
10700
10694
  if (!el.attributes["data-point"].value) return false;
@@ -11258,10 +11252,10 @@ var PixelPickerIcon = registerIcon(
11258
11252
  );
11259
11253
 
11260
11254
  var ColorPicker = /*#__PURE__*/ (function (_Field) {
11261
- _inheritsLoose(ColorPicker, _Field);
11262
11255
  function ColorPicker() {
11263
11256
  return _Field.apply(this, arguments) || this;
11264
11257
  }
11258
+ _inheritsLoose(ColorPicker, _Field);
11265
11259
  var _proto = ColorPicker.prototype;
11266
11260
  _proto.declareData = function declareData() {
11267
11261
  var _Field$prototype$decl;
@@ -11329,7 +11323,6 @@ ColorPicker.prototype.reportOn = "blur change";
11329
11323
  ColorPicker.prototype.format = "rgba";
11330
11324
  Widget.alias("color-picker", ColorPicker);
11331
11325
  var ColorPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11332
- _inheritsLoose(ColorPickerComponent, _VDOM$Component);
11333
11326
  function ColorPickerComponent(props) {
11334
11327
  var _this;
11335
11328
  _this = _VDOM$Component.call(this, props) || this;
@@ -11342,6 +11335,7 @@ var ColorPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11342
11335
  }
11343
11336
  return _this;
11344
11337
  }
11338
+ _inheritsLoose(ColorPickerComponent, _VDOM$Component);
11345
11339
  var _proto2 = ColorPickerComponent.prototype;
11346
11340
  _proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
11347
11341
  var data = props.instance.data;
@@ -11815,10 +11809,10 @@ var ColorPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11815
11809
  })(VDOM.Component);
11816
11810
 
11817
11811
  var MonthField = /*#__PURE__*/ (function (_Field) {
11818
- _inheritsLoose(MonthField, _Field);
11819
11812
  function MonthField() {
11820
11813
  return _Field.apply(this, arguments) || this;
11821
11814
  }
11815
+ _inheritsLoose(MonthField, _Field);
11822
11816
  var _proto = MonthField.prototype;
11823
11817
  _proto.declareData = function declareData() {
11824
11818
  var _Field$prototype$decl;
@@ -11988,17 +11982,17 @@ MonthField.prototype.reactOn = "enter blur";
11988
11982
  Localization.registerPrototype("cx/widgets/MonthField", MonthField);
11989
11983
  Widget.alias("monthfield", MonthField);
11990
11984
  var MonthInput = /*#__PURE__*/ (function (_VDOM$Component) {
11991
- _inheritsLoose(MonthInput, _VDOM$Component);
11992
11985
  function MonthInput(props) {
11993
11986
  var _this;
11994
11987
  _this = _VDOM$Component.call(this, props) || this;
11995
- _this.props.instance.component = _assertThisInitialized(_this);
11988
+ _this.props.instance.component = _this;
11996
11989
  _this.state = {
11997
11990
  dropdownOpen: false,
11998
11991
  focus: false,
11999
11992
  };
12000
11993
  return _this;
12001
11994
  }
11995
+ _inheritsLoose(MonthInput, _VDOM$Component);
12002
11996
  var _proto2 = MonthInput.prototype;
12003
11997
  _proto2.getDropdown = function getDropdown() {
12004
11998
  var _this2 = this;
@@ -12307,10 +12301,10 @@ var MonthInput = /*#__PURE__*/ (function (_VDOM$Component) {
12307
12301
  })(VDOM.Component);
12308
12302
 
12309
12303
  var ColorField = /*#__PURE__*/ (function (_Field) {
12310
- _inheritsLoose(ColorField, _Field);
12311
12304
  function ColorField() {
12312
12305
  return _Field.apply(this, arguments) || this;
12313
12306
  }
12307
+ _inheritsLoose(ColorField, _Field);
12314
12308
  var _proto = ColorField.prototype;
12315
12309
  _proto.declareData = function declareData() {
12316
12310
  var _Field$prototype$decl;
@@ -12372,7 +12366,6 @@ ColorField.prototype.alwaysShowClear = false;
12372
12366
  Widget.alias("color-field", ColorField);
12373
12367
  Localization.registerPrototype("cx/widgets/ColorField", ColorField);
12374
12368
  var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12375
- _inheritsLoose(ColorInput, _VDOM$Component);
12376
12369
  function ColorInput(props) {
12377
12370
  var _this;
12378
12371
  _this = _VDOM$Component.call(this, props) || this;
@@ -12384,6 +12377,7 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12384
12377
  };
12385
12378
  return _this;
12386
12379
  }
12380
+ _inheritsLoose(ColorInput, _VDOM$Component);
12387
12381
  var _proto2 = ColorInput.prototype;
12388
12382
  _proto2.getDropdown = function getDropdown() {
12389
12383
  var _this2 = this;
@@ -12707,10 +12701,10 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12707
12701
  })(VDOM.Component);
12708
12702
 
12709
12703
  var UploadButton = /*#__PURE__*/ (function (_Field) {
12710
- _inheritsLoose(UploadButton, _Field);
12711
12704
  function UploadButton() {
12712
12705
  return _Field.apply(this, arguments) || this;
12713
12706
  }
12707
+ _inheritsLoose(UploadButton, _Field);
12714
12708
  var _proto = UploadButton.prototype;
12715
12709
  _proto.declareData = function declareData() {
12716
12710
  var _Field$prototype$decl;
@@ -12749,7 +12743,6 @@ UploadButton.prototype.abortOnDestroy = false;
12749
12743
  UploadButton.prototype.uploadInProgressText = "Upload is in progress.";
12750
12744
  Localization.registerPrototype("cx/widgets/UploadButton", UploadButton);
12751
12745
  var UploadButtonComponent = /*#__PURE__*/ (function (_VDOM$Component) {
12752
- _inheritsLoose(UploadButtonComponent, _VDOM$Component);
12753
12746
  function UploadButtonComponent(props) {
12754
12747
  var _this;
12755
12748
  _this = _VDOM$Component.call(this, props) || this;
@@ -12760,6 +12753,7 @@ var UploadButtonComponent = /*#__PURE__*/ (function (_VDOM$Component) {
12760
12753
  };
12761
12754
  return _this;
12762
12755
  }
12756
+ _inheritsLoose(UploadButtonComponent, _VDOM$Component);
12763
12757
  var _proto2 = UploadButtonComponent.prototype;
12764
12758
  _proto2.render = function render() {
12765
12759
  var _this2 = this;
@@ -12915,10 +12909,10 @@ var UploadButtonComponent = /*#__PURE__*/ (function (_VDOM$Component) {
12915
12909
  Widget.alias("upload-button", UploadButton);
12916
12910
 
12917
12911
  var Slider = /*#__PURE__*/ (function (_Field) {
12918
- _inheritsLoose(Slider, _Field);
12919
12912
  function Slider() {
12920
12913
  return _Field.apply(this, arguments) || this;
12921
12914
  }
12915
+ _inheritsLoose(Slider, _Field);
12922
12916
  var _proto = Slider.prototype;
12923
12917
  _proto.declareData = function declareData() {
12924
12918
  var _Field$prototype$decl;
@@ -12991,7 +12985,6 @@ Slider.prototype.wheel = false;
12991
12985
  Slider.prototype.invert = false;
12992
12986
  Widget.alias("slider", Slider);
12993
12987
  var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
12994
- _inheritsLoose(SliderComponent, _VDOM$Component);
12995
12988
  function SliderComponent(props) {
12996
12989
  var _this;
12997
12990
  _this = _VDOM$Component.call(this, props) || this;
@@ -13003,6 +12996,7 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13003
12996
  };
13004
12997
  return _this;
13005
12998
  }
12999
+ _inheritsLoose(SliderComponent, _VDOM$Component);
13006
13000
  var _proto2 = SliderComponent.prototype;
13007
13001
  _proto2.render = function render() {
13008
13002
  var _extends2,
@@ -13357,10 +13351,10 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13357
13351
  })(VDOM.Component);
13358
13352
 
13359
13353
  var Switch = /*#__PURE__*/ (function (_Field) {
13360
- _inheritsLoose(Switch, _Field);
13361
13354
  function Switch() {
13362
13355
  return _Field.apply(this, arguments) || this;
13363
13356
  }
13357
+ _inheritsLoose(Switch, _Field);
13364
13358
  var _proto = Switch.prototype;
13365
13359
  _proto.declareData = function declareData() {
13366
13360
  var _Field$prototype$decl;
@@ -13488,10 +13482,10 @@ Switch.prototype.focusOnMouseDown = false;
13488
13482
  Widget.alias("switch", Switch);
13489
13483
 
13490
13484
  var Wheel = /*#__PURE__*/ (function (_PureContainer) {
13491
- _inheritsLoose(Wheel, _PureContainer);
13492
13485
  function Wheel() {
13493
13486
  return _PureContainer.apply(this, arguments) || this;
13494
13487
  }
13488
+ _inheritsLoose(Wheel, _PureContainer);
13495
13489
  var _proto = Wheel.prototype;
13496
13490
  _proto.declareData = function declareData() {
13497
13491
  var _PureContainer$protot;
@@ -13546,7 +13540,6 @@ Wheel.prototype.baseClass = "wheel";
13546
13540
  Wheel.prototype.size = 3;
13547
13541
  Wheel.prototype.styled = true;
13548
13542
  var WheelComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13549
- _inheritsLoose(WheelComponent, _VDOM$Component);
13550
13543
  function WheelComponent(props) {
13551
13544
  var _this;
13552
13545
  _this = _VDOM$Component.call(this, props) || this;
@@ -13558,10 +13551,11 @@ var WheelComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13558
13551
  _this.scrollRef = function (el) {
13559
13552
  _this.scrollEl = el;
13560
13553
  };
13561
- _this.onWheel = _this.onWheel.bind(_assertThisInitialized(_this));
13562
- _this.onKeyDown = _this.onKeyDown.bind(_assertThisInitialized(_this));
13554
+ _this.onWheel = _this.onWheel.bind(_this);
13555
+ _this.onKeyDown = _this.onKeyDown.bind(_this);
13563
13556
  return _this;
13564
13557
  }
13558
+ _inheritsLoose(WheelComponent, _VDOM$Component);
13565
13559
  var _proto2 = WheelComponent.prototype;
13566
13560
  _proto2.render = function render() {
13567
13561
  var _this2 = this;
@@ -13777,10 +13771,10 @@ var WheelComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13777
13771
 
13778
13772
  enableCultureSensitiveFormatting();
13779
13773
  var DateTimePicker = /*#__PURE__*/ (function (_Widget) {
13780
- _inheritsLoose(DateTimePicker, _Widget);
13781
13774
  function DateTimePicker() {
13782
13775
  return _Widget.apply(this, arguments) || this;
13783
13776
  }
13777
+ _inheritsLoose(DateTimePicker, _Widget);
13784
13778
  var _proto = DateTimePicker.prototype;
13785
13779
  _proto.declareData = function declareData() {
13786
13780
  var _Widget$prototype$dec;
@@ -13814,7 +13808,6 @@ DateTimePicker.prototype.autoFocus = false;
13814
13808
  DateTimePicker.prototype.segment = "datetime";
13815
13809
  DateTimePicker.prototype.showSeconds = false;
13816
13810
  var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13817
- _inheritsLoose(DateTimePickerComponent, _VDOM$Component);
13818
13811
  function DateTimePickerComponent(props) {
13819
13812
  var _this;
13820
13813
  _this = _VDOM$Component.call(this, props) || this;
@@ -13825,10 +13818,10 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13825
13818
  activeWheel: null,
13826
13819
  };
13827
13820
  var widget = props.instance.widget;
13828
- _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
13829
- _this.onFocus = _this.onFocus.bind(_assertThisInitialized(_this));
13830
- _this.onBlur = _this.onBlur.bind(_assertThisInitialized(_this));
13831
- _this.onKeyDown = _this.onKeyDown.bind(_assertThisInitialized(_this));
13821
+ _this.handleChange = _this.handleChange.bind(_this);
13822
+ _this.onFocus = _this.onFocus.bind(_this);
13823
+ _this.onBlur = _this.onBlur.bind(_this);
13824
+ _this.onKeyDown = _this.onKeyDown.bind(_this);
13832
13825
  var showDate = props.segment.indexOf("date") !== -1;
13833
13826
  var showTime = props.segment.indexOf("time") !== -1;
13834
13827
  _this.wheels = {
@@ -13842,6 +13835,7 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13842
13835
  _this.keyDownPipes = {};
13843
13836
  return _this;
13844
13837
  }
13838
+ _inheritsLoose(DateTimePickerComponent, _VDOM$Component);
13845
13839
  var _proto2 = DateTimePickerComponent.prototype;
13846
13840
  _proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
13847
13841
  var date = props.data.value ? new Date(props.data.value) : new Date();
@@ -14318,10 +14312,10 @@ var TimeList = createFunctionalComponent(function (_ref) {
14318
14312
  });
14319
14313
 
14320
14314
  var DateTimeField = /*#__PURE__*/ (function (_Field) {
14321
- _inheritsLoose(DateTimeField, _Field);
14322
14315
  function DateTimeField() {
14323
14316
  return _Field.apply(this, arguments) || this;
14324
14317
  }
14318
+ _inheritsLoose(DateTimeField, _Field);
14325
14319
  var _proto = DateTimeField.prototype;
14326
14320
  _proto.declareData = function declareData() {
14327
14321
  var _Field$prototype$decl;
@@ -14474,17 +14468,17 @@ DateTimeField.prototype.focusInputFirst = false;
14474
14468
  Widget.alias("datetimefield", DateTimeField);
14475
14469
  Localization.registerPrototype("cx/widgets/DateTimeField", DateTimeField);
14476
14470
  var DateTimeInput = /*#__PURE__*/ (function (_VDOM$Component) {
14477
- _inheritsLoose(DateTimeInput, _VDOM$Component);
14478
14471
  function DateTimeInput(props) {
14479
14472
  var _this;
14480
14473
  _this = _VDOM$Component.call(this, props) || this;
14481
- props.instance.component = _assertThisInitialized(_this);
14474
+ props.instance.component = _this;
14482
14475
  _this.state = {
14483
14476
  dropdownOpen: false,
14484
14477
  focus: false,
14485
14478
  };
14486
14479
  return _this;
14487
14480
  }
14481
+ _inheritsLoose(DateTimeInput, _VDOM$Component);
14488
14482
  var _proto2 = DateTimeInput.prototype;
14489
14483
  _proto2.getDropdown = function getDropdown() {
14490
14484
  var _this2 = this;
@@ -14867,10 +14861,10 @@ var DateTimeInput = /*#__PURE__*/ (function (_VDOM$Component) {
14867
14861
  })(VDOM.Component);
14868
14862
 
14869
14863
  var DateField = /*#__PURE__*/ (function (_DateTimeField) {
14870
- _inheritsLoose(DateField, _DateTimeField);
14871
14864
  function DateField() {
14872
14865
  return _DateTimeField.apply(this, arguments) || this;
14873
14866
  }
14867
+ _inheritsLoose(DateField, _DateTimeField);
14874
14868
  return DateField;
14875
14869
  })(DateTimeField);
14876
14870
  DateField.prototype.picker = "calendar";
@@ -14879,10 +14873,10 @@ Widget.alias("datefield", DateField);
14879
14873
  Localization.registerPrototype("cx/widgets/DateField", DateField);
14880
14874
 
14881
14875
  var TimeField = /*#__PURE__*/ (function (_DateTimeField) {
14882
- _inheritsLoose(TimeField, _DateTimeField);
14883
14876
  function TimeField() {
14884
14877
  return _DateTimeField.apply(this, arguments) || this;
14885
14878
  }
14879
+ _inheritsLoose(TimeField, _DateTimeField);
14886
14880
  return TimeField;
14887
14881
  })(DateTimeField);
14888
14882
  TimeField.prototype.segment = "time";
@@ -14890,10 +14884,10 @@ Widget.alias("timefield", TimeField);
14890
14884
  Localization.registerPrototype("cx/widgets/TimeField", TimeField);
14891
14885
 
14892
14886
  var Validator = /*#__PURE__*/ (function (_Field) {
14893
- _inheritsLoose(Validator, _Field);
14894
14887
  function Validator() {
14895
14888
  return _Field.apply(this, arguments) || this;
14896
14889
  }
14890
+ _inheritsLoose(Validator, _Field);
14897
14891
  var _proto = Validator.prototype;
14898
14892
  _proto.declareData = function declareData() {
14899
14893
  var _Field$prototype$decl;
@@ -14937,10 +14931,10 @@ var DropDownIcon = registerIcon(
14937
14931
  );
14938
14932
 
14939
14933
  var GridCell = /*#__PURE__*/ (function (_PureContainer) {
14940
- _inheritsLoose(GridCell, _PureContainer);
14941
14934
  function GridCell() {
14942
14935
  return _PureContainer.apply(this, arguments) || this;
14943
14936
  }
14937
+ _inheritsLoose(GridCell, _PureContainer);
14944
14938
  var _proto = GridCell.prototype;
14945
14939
  _proto.declareData = function declareData() {
14946
14940
  var _PureContainer$protot;
@@ -15010,10 +15004,10 @@ GridCell.prototype.styled = true;
15010
15004
  GridCell.prototype.fixed = false;
15011
15005
 
15012
15006
  var GridRowLine = /*#__PURE__*/ (function (_Container) {
15013
- _inheritsLoose(GridRowLine, _Container);
15014
15007
  function GridRowLine() {
15015
15008
  return _Container.apply(this, arguments) || this;
15016
15009
  }
15010
+ _inheritsLoose(GridRowLine, _Container);
15017
15011
  var _proto = GridRowLine.prototype;
15018
15012
  _proto.init = function init() {
15019
15013
  this.items = Widget.create(GridCell, this.columns || [], {
@@ -15035,10 +15029,10 @@ var GridRowLine = /*#__PURE__*/ (function (_Container) {
15035
15029
  GridRowLine.prototype.styled = true;
15036
15030
 
15037
15031
  var GridRow = /*#__PURE__*/ (function (_ValidationGroup) {
15038
- _inheritsLoose(GridRow, _ValidationGroup);
15039
15032
  function GridRow() {
15040
15033
  return _ValidationGroup.apply(this, arguments) || this;
15041
15034
  }
15035
+ _inheritsLoose(GridRow, _ValidationGroup);
15042
15036
  var _proto = GridRow.prototype;
15043
15037
  _proto.declareData = function declareData() {
15044
15038
  var _ValidationGroup$prot;
@@ -15079,15 +15073,14 @@ var GridRow = /*#__PURE__*/ (function (_ValidationGroup) {
15079
15073
  GridRow.prototype.styled = true; //styles used on the wrapper component
15080
15074
 
15081
15075
  var GridRowComponent = /*#__PURE__*/ (function (_VDOM$Component) {
15082
- _inheritsLoose(GridRowComponent, _VDOM$Component);
15083
15076
  function GridRowComponent(props) {
15084
15077
  var _this;
15085
15078
  _this = _VDOM$Component.call(this, props) || this;
15086
- _this.onMouseMove = _this.onMouseMove.bind(_assertThisInitialized(_this));
15087
- _this.onMouseDown = _this.onMouseDown.bind(_assertThisInitialized(_this));
15088
- _this.onMouseLeave = _this.onMouseLeave.bind(_assertThisInitialized(_this));
15089
- _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));
15090
- _this.onKeyDown = _this.onKeyDown.bind(_assertThisInitialized(_this));
15079
+ _this.onMouseMove = _this.onMouseMove.bind(_this);
15080
+ _this.onMouseDown = _this.onMouseDown.bind(_this);
15081
+ _this.onMouseLeave = _this.onMouseLeave.bind(_this);
15082
+ _this.onClick = _this.onClick.bind(_this);
15083
+ _this.onKeyDown = _this.onKeyDown.bind(_this);
15091
15084
  var grid = props.grid,
15092
15085
  instance = props.instance;
15093
15086
  if (grid.widget.onRowDoubleClick)
@@ -15107,6 +15100,7 @@ var GridRowComponent = /*#__PURE__*/ (function (_VDOM$Component) {
15107
15100
  };
15108
15101
  return _this;
15109
15102
  }
15103
+ _inheritsLoose(GridRowComponent, _VDOM$Component);
15110
15104
  var _proto2 = GridRowComponent.prototype;
15111
15105
  _proto2.render = function render() {
15112
15106
  var _this$props = this.props,
@@ -15270,10 +15264,10 @@ var GridRowComponent = /*#__PURE__*/ (function (_VDOM$Component) {
15270
15264
  })(VDOM.Component);
15271
15265
 
15272
15266
  var GridCellEditor = /*#__PURE__*/ (function (_Container) {
15273
- _inheritsLoose(GridCellEditor, _Container);
15274
15267
  function GridCellEditor() {
15275
15268
  return _Container.apply(this, arguments) || this;
15276
15269
  }
15270
+ _inheritsLoose(GridCellEditor, _Container);
15277
15271
  var _proto = GridCellEditor.prototype;
15278
15272
  _proto.render = function render(context, instance, key) {
15279
15273
  var data = instance.data;
@@ -15291,10 +15285,10 @@ var GridCellEditor = /*#__PURE__*/ (function (_Container) {
15291
15285
  })(Container);
15292
15286
  GridCellEditor.prototype.styled = true;
15293
15287
  var GridCellEditorCmp = /*#__PURE__*/ (function (_VDOM$Component) {
15294
- _inheritsLoose(GridCellEditorCmp, _VDOM$Component);
15295
15288
  function GridCellEditorCmp() {
15296
15289
  return _VDOM$Component.apply(this, arguments) || this;
15297
15290
  }
15291
+ _inheritsLoose(GridCellEditorCmp, _VDOM$Component);
15298
15292
  var _proto2 = GridCellEditorCmp.prototype;
15299
15293
  _proto2.render = function render() {
15300
15294
  var _this = this;
@@ -15321,10 +15315,10 @@ var GridCellEditorCmp = /*#__PURE__*/ (function (_VDOM$Component) {
15321
15315
  })(VDOM.Component);
15322
15316
 
15323
15317
  var Grid = /*#__PURE__*/ (function (_Container) {
15324
- _inheritsLoose(Grid, _Container);
15325
15318
  function Grid() {
15326
15319
  return _Container.apply(this, arguments) || this;
15327
15320
  }
15321
+ _inheritsLoose(Grid, _Container);
15328
15322
  var _proto = Grid.prototype;
15329
15323
  _proto.declareData = function declareData() {
15330
15324
  var _Container$prototype$;
@@ -16190,9 +16184,9 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16190
16184
  colSpan++;
16191
16185
  }
16192
16186
  if (colSpan > 1) skip = colSpan - 1;
16193
- } else if (c.aggregate && c.aggregateAlias && c.caption !== false) {
16187
+ } else if (c.aggregate && c.aggregateAliasGetter && c.caption !== false) {
16194
16188
  empty = false;
16195
- v = group[c.aggregateAlias];
16189
+ v = c.aggregateAliasGetter(group);
16196
16190
  if (isString(ci.data.format)) v = Format.value(v, ci.data.format);
16197
16191
  }
16198
16192
  if (cls) cls += " ";
@@ -16282,9 +16276,9 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16282
16276
  colSpan++;
16283
16277
  }
16284
16278
  if (colSpan > 1) skip = colSpan - 1;
16285
- } else if (c.aggregate && c.aggregateAlias && c.footer !== false) {
16279
+ } else if (c.aggregate && c.aggregateAliasGetter && c.footer !== false) {
16286
16280
  empty = false;
16287
- v = group[c.aggregateAlias];
16281
+ v = c.aggregateAliasGetter(group);
16288
16282
  if (isString(ci.data.format)) v = Format.value(v, ci.data.format);
16289
16283
  }
16290
16284
  if (cls) cls += " ";
@@ -16521,7 +16515,6 @@ Grid.prototype.allowsFileDrops = false;
16521
16515
  Widget.alias("grid", Grid);
16522
16516
  Localization.registerPrototype("cx/widgets/Grid", Grid);
16523
16517
  var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
16524
- _inheritsLoose(GridComponent, _VDOM$Component);
16525
16518
  function GridComponent(props) {
16526
16519
  var _this4;
16527
16520
  _this4 = _VDOM$Component.call(this, props) || this;
@@ -16555,6 +16548,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
16555
16548
  };
16556
16549
  return _this4;
16557
16550
  }
16551
+ _inheritsLoose(GridComponent, _VDOM$Component);
16558
16552
  var _proto2 = GridComponent.prototype;
16559
16553
  _proto2.getBufferStartEnd = function getBufferStartEnd() {
16560
16554
  //{start, end};
@@ -16921,20 +16915,22 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
16921
16915
  },
16922
16916
  "dropzone",
16923
16917
  );
16918
+ var dataRecordClass = CSS.element(baseClass, "data");
16924
16919
  var isDataRecord = widget.buffered
16925
16920
  ? function (item) {
16926
16921
  var _item$props;
16927
16922
  return (
16928
- ((_item$props = item.props) == null ||
16923
+ (item == null ||
16924
+ (_item$props = item.props) == null ||
16929
16925
  (_item$props = _item$props.instance) == null ||
16930
16926
  (_item$props = _item$props.data) == null
16931
16927
  ? void 0
16932
- : _item$props["class"]) == "cxe-grid-data"
16928
+ : _item$props["class"]) == dataRecordClass
16933
16929
  );
16934
16930
  }
16935
16931
  : function (item) {
16936
16932
  var _item$props2;
16937
- return (_item$props2 = item.props) == null || (_item$props2 = _item$props2.record) == null
16933
+ return item == null || (_item$props2 = item.props) == null || (_item$props2 = _item$props2.record) == null
16938
16934
  ? void 0
16939
16935
  : _item$props2.type;
16940
16936
  };
@@ -18321,10 +18317,10 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18321
18317
  return GridComponent;
18322
18318
  })(VDOM.Component);
18323
18319
  var GridColumnHeaderLine = /*#__PURE__*/ (function (_PureContainer) {
18324
- _inheritsLoose(GridColumnHeaderLine, _PureContainer);
18325
18320
  function GridColumnHeaderLine() {
18326
18321
  return _PureContainer.apply(this, arguments) || this;
18327
18322
  }
18323
+ _inheritsLoose(GridColumnHeaderLine, _PureContainer);
18328
18324
  var _proto3 = GridColumnHeaderLine.prototype;
18329
18325
  _proto3.declareData = function declareData() {
18330
18326
  var _PureContainer$protot;
@@ -18364,10 +18360,10 @@ GridColumnHeaderLine.prototype.styled = true;
18364
18360
  GridColumnHeaderLine.prototype.showHeader = true;
18365
18361
  GridColumnHeaderLine.autoInit = true;
18366
18362
  var GridColumnHeader = /*#__PURE__*/ (function (_Widget) {
18367
- _inheritsLoose(GridColumnHeader, _Widget);
18368
18363
  function GridColumnHeader() {
18369
18364
  return _Widget.apply(this, arguments) || this;
18370
18365
  }
18366
+ _inheritsLoose(GridColumnHeader, _Widget);
18371
18367
  var _proto4 = GridColumnHeader.prototype;
18372
18368
  _proto4.declareData = function declareData() {
18373
18369
  var _Widget$prototype$dec;
@@ -18408,6 +18404,7 @@ var GridColumnHeader = /*#__PURE__*/ (function (_Widget) {
18408
18404
  };
18409
18405
  if (!this.aggregateField && this.field) this.aggregateField = this.field;
18410
18406
  if (!this.aggregateAlias) this.aggregateAlias = this.aggregateField;
18407
+ if (this.aggregateAlias) this.aggregateAliasGetter = Binding.get(this.aggregateAlias).value;
18411
18408
  if (this.footer && isSelector(this.footer))
18412
18409
  this.footer = {
18413
18410
  value: this.footer,
@@ -18454,10 +18451,10 @@ var GridColumnHeader = /*#__PURE__*/ (function (_Widget) {
18454
18451
  })(Widget);
18455
18452
  GridColumnHeader.autoInit = true;
18456
18453
  var GridColumnHeaderCell = /*#__PURE__*/ (function (_PureContainer2) {
18457
- _inheritsLoose(GridColumnHeaderCell, _PureContainer2);
18458
18454
  function GridColumnHeaderCell() {
18459
18455
  return _PureContainer2.apply(this, arguments) || this;
18460
18456
  }
18457
+ _inheritsLoose(GridColumnHeaderCell, _PureContainer2);
18461
18458
  var _proto5 = GridColumnHeaderCell.prototype;
18462
18459
  _proto5.declareData = function declareData() {
18463
18460
  var _PureContainer2$proto;
@@ -18637,10 +18634,10 @@ function getDragDropEvent(ev) {
18637
18634
  }
18638
18635
 
18639
18636
  var TreeNode = /*#__PURE__*/ (function (_Container) {
18640
- _inheritsLoose(TreeNode, _Container);
18641
18637
  function TreeNode() {
18642
18638
  return _Container.apply(this, arguments) || this;
18643
18639
  }
18640
+ _inheritsLoose(TreeNode, _Container);
18644
18641
  var _proto = TreeNode.prototype;
18645
18642
  _proto.init = function init() {
18646
18643
  if (this.itemIcon) this.leafIcon = this.itemIcon;
@@ -18747,10 +18744,10 @@ TreeNode.prototype.hideIcon = false;
18747
18744
  Widget.alias("treenode", TreeNode);
18748
18745
 
18749
18746
  var Pagination = /*#__PURE__*/ (function (_Widget) {
18750
- _inheritsLoose(Pagination, _Widget);
18751
18747
  function Pagination() {
18752
18748
  return _Widget.apply(this, arguments) || this;
18753
18749
  }
18750
+ _inheritsLoose(Pagination, _Widget);
18754
18751
  var _proto = Pagination.prototype;
18755
18752
  _proto.declareData = function declareData() {
18756
18753
  var _Widget$prototype$dec;
@@ -18855,10 +18852,10 @@ Pagination.prototype.styled = true;
18855
18852
  Widget.alias("pagination", Pagination);
18856
18853
 
18857
18854
  var DragSource = /*#__PURE__*/ (function (_Container) {
18858
- _inheritsLoose(DragSource, _Container);
18859
18855
  function DragSource() {
18860
18856
  return _Container.apply(this, arguments) || this;
18861
18857
  }
18858
+ _inheritsLoose(DragSource, _Container);
18862
18859
  var _proto = DragSource.prototype;
18863
18860
  _proto.init = function init() {
18864
18861
  this.cloneStyle = parseStyle(this.cloneStyle);
@@ -18917,21 +18914,21 @@ DragSource.prototype.hideOnDrag = false;
18917
18914
  DragSource.prototype.handled = false;
18918
18915
  Widget.alias("dragsource", DragSource);
18919
18916
  var DragSourceComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18920
- _inheritsLoose(DragSourceComponent, _VDOM$Component);
18921
18917
  function DragSourceComponent(props) {
18922
18918
  var _this;
18923
18919
  _this = _VDOM$Component.call(this, props) || this;
18924
18920
  _this.state = {
18925
18921
  dragged: false,
18926
18922
  };
18927
- _this.beginDragDrop = _this.beginDragDrop.bind(_assertThisInitialized(_this));
18928
- _this.onMouseMove = _this.onMouseMove.bind(_assertThisInitialized(_this));
18929
- _this.onMouseDown = _this.onMouseDown.bind(_assertThisInitialized(_this));
18923
+ _this.beginDragDrop = _this.beginDragDrop.bind(_this);
18924
+ _this.onMouseMove = _this.onMouseMove.bind(_this);
18925
+ _this.onMouseDown = _this.onMouseDown.bind(_this);
18930
18926
  _this.setRef = function (el) {
18931
18927
  _this.el = el;
18932
18928
  };
18933
18929
  return _this;
18934
18930
  }
18931
+ _inheritsLoose(DragSourceComponent, _VDOM$Component);
18935
18932
  var _proto2 = DragSourceComponent.prototype;
18936
18933
  _proto2.render = function render() {
18937
18934
  var _this$props = this.props,
@@ -19034,10 +19031,10 @@ var DragSourceComponent = /*#__PURE__*/ (function (_VDOM$Component) {
19034
19031
  })(VDOM.Component);
19035
19032
 
19036
19033
  var DragHandle = /*#__PURE__*/ (function (_Container) {
19037
- _inheritsLoose(DragHandle, _Container);
19038
19034
  function DragHandle() {
19039
19035
  return _Container.apply(this, arguments) || this;
19040
19036
  }
19037
+ _inheritsLoose(DragHandle, _Container);
19041
19038
  var _proto = DragHandle.prototype;
19042
19039
  _proto.explore = function explore(context, instance) {
19043
19040
  if (isArray(context.dragHandles)) context.dragHandles.push(instance);
@@ -19068,10 +19065,10 @@ DragHandle.prototype.baseClass = "draghandle";
19068
19065
  Widget.alias("draghandle", DragHandle);
19069
19066
 
19070
19067
  var DropZone = /*#__PURE__*/ (function (_Container) {
19071
- _inheritsLoose(DropZone, _Container);
19072
19068
  function DropZone() {
19073
19069
  return _Container.apply(this, arguments) || this;
19074
19070
  }
19071
+ _inheritsLoose(DropZone, _Container);
19075
19072
  var _proto = DropZone.prototype;
19076
19073
  _proto.init = function init() {
19077
19074
  this.overStyle = parseStyle(this.overStyle);
@@ -19133,7 +19130,6 @@ DropZone.prototype.vinflate = 0;
19133
19130
  DropZone.prototype.baseClass = "dropzone";
19134
19131
  Widget.alias("dropzone", DropZone);
19135
19132
  var DropZoneComponent = /*#__PURE__*/ (function (_VDOM$Component) {
19136
- _inheritsLoose(DropZoneComponent, _VDOM$Component);
19137
19133
  function DropZoneComponent(props) {
19138
19134
  var _this;
19139
19135
  _this = _VDOM$Component.call(this, props) || this;
@@ -19142,6 +19138,7 @@ var DropZoneComponent = /*#__PURE__*/ (function (_VDOM$Component) {
19142
19138
  };
19143
19139
  return _this;
19144
19140
  }
19141
+ _inheritsLoose(DropZoneComponent, _VDOM$Component);
19145
19142
  var _proto2 = DropZoneComponent.prototype;
19146
19143
  _proto2.render = function render() {
19147
19144
  var _this2 = this;