cx 25.6.3 → 25.7.0

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 (111) hide show
  1. package/dist/charts.css +250 -250
  2. package/dist/charts.js +109 -109
  3. package/dist/data.js +19 -19
  4. package/dist/hooks.js +1 -1
  5. package/dist/manifest.js +744 -744
  6. package/dist/svg.js +25 -25
  7. package/dist/ui.js +84 -84
  8. package/dist/util.js +6 -9
  9. package/dist/widgets.css +6 -6
  10. package/dist/widgets.js +516 -511
  11. package/package.json +1 -1
  12. package/src/charts/Legend.d.ts +45 -45
  13. package/src/charts/LegendEntry.js +128 -128
  14. package/src/charts/LegendEntry.scss +27 -27
  15. package/src/charts/Marker.d.ts +1 -1
  16. package/src/charts/MarkerLine.d.ts +25 -27
  17. package/src/charts/PieChart.d.ts +92 -92
  18. package/src/charts/RangeMarker.js +159 -159
  19. package/src/charts/axis/Axis.d.ts +113 -113
  20. package/src/charts/axis/Axis.js +280 -280
  21. package/src/charts/axis/CategoryAxis.d.ts +30 -30
  22. package/src/charts/axis/CategoryAxis.js +241 -241
  23. package/src/charts/axis/NumericAxis.js +351 -351
  24. package/src/charts/axis/Stack.js +55 -55
  25. package/src/charts/axis/TimeAxis.js +611 -611
  26. package/src/charts/helpers/SnapPointFinder.js +69 -69
  27. package/src/data/Binding.spec.js +69 -69
  28. package/src/data/ExposedValueView.d.ts +19 -19
  29. package/src/data/Expression.js +229 -229
  30. package/src/data/Expression.spec.js +229 -229
  31. package/src/data/StringTemplate.js +92 -92
  32. package/src/data/StringTemplate.spec.js +132 -132
  33. package/src/data/StructuredSelector.js +132 -132
  34. package/src/data/getAccessor.spec.js +11 -11
  35. package/src/data/getSelector.js +49 -49
  36. package/src/hooks/createLocalStorageRef.d.ts +3 -3
  37. package/src/hooks/createLocalStorageRef.js +20 -20
  38. package/src/index.scss +6 -6
  39. package/src/ui/Culture.d.ts +57 -57
  40. package/src/ui/Culture.js +139 -139
  41. package/src/ui/FocusManager.js +171 -171
  42. package/src/ui/Format.js +108 -108
  43. package/src/ui/HoverSync.js +147 -147
  44. package/src/ui/Repeater.d.ts +61 -61
  45. package/src/ui/index.d.ts +42 -42
  46. package/src/ui/layout/ContentPlaceholder.d.ts +19 -19
  47. package/src/ui/layout/ContentPlaceholder.js +105 -105
  48. package/src/ui/layout/ContentPlaceholder.spec.js +579 -579
  49. package/src/ui/layout/LabelsTopLayout.js +134 -134
  50. package/src/util/Format.js +270 -270
  51. package/src/util/date/encodeDate.d.ts +1 -1
  52. package/src/util/date/encodeDate.js +8 -8
  53. package/src/util/date/encodeDateWithTimezoneOffset.d.ts +1 -1
  54. package/src/util/date/index.d.ts +11 -11
  55. package/src/util/date/index.js +11 -11
  56. package/src/util/date/parseDateInvariant.d.ts +3 -3
  57. package/src/util/date/parseDateInvariant.js +20 -20
  58. package/src/util/getSearchQueryPredicate.js +59 -59
  59. package/src/util/index.d.ts +51 -51
  60. package/src/util/index.js +54 -54
  61. package/src/util/isFunction.d.ts +1 -1
  62. package/src/util/isValidIdentifierName.d.ts +1 -1
  63. package/src/util/isValidIdentifierName.js +5 -5
  64. package/src/util/isValidIdentifierName.spec.js +33 -33
  65. package/src/util/scss/add-rules.scss +38 -38
  66. package/src/widgets/CxCredit.scss +37 -37
  67. package/src/widgets/HighlightedSearchText.js +36 -36
  68. package/src/widgets/HighlightedSearchText.scss +18 -18
  69. package/src/widgets/List.scss +91 -91
  70. package/src/widgets/Sandbox.d.ts +18 -18
  71. package/src/widgets/Sandbox.js +65 -65
  72. package/src/widgets/drag-drop/DropZone.js +214 -214
  73. package/src/widgets/form/Calendar.js +618 -618
  74. package/src/widgets/form/Calendar.scss +196 -196
  75. package/src/widgets/form/Checkbox.scss +127 -127
  76. package/src/widgets/form/ColorField.js +397 -397
  77. package/src/widgets/form/ColorField.scss +96 -96
  78. package/src/widgets/form/ColorPicker.scss +283 -283
  79. package/src/widgets/form/DateTimeField.js +576 -576
  80. package/src/widgets/form/DateTimePicker.js +392 -392
  81. package/src/widgets/form/LookupField.d.ts +179 -179
  82. package/src/widgets/form/LookupField.scss +219 -219
  83. package/src/widgets/form/NumberField.js +459 -459
  84. package/src/widgets/form/NumberField.scss +61 -61
  85. package/src/widgets/form/Radio.scss +121 -121
  86. package/src/widgets/form/Select.scss +99 -99
  87. package/src/widgets/form/Slider.scss +118 -118
  88. package/src/widgets/form/Switch.scss +140 -140
  89. package/src/widgets/form/TextArea.scss +43 -43
  90. package/src/widgets/form/TextField.js +290 -290
  91. package/src/widgets/form/TextField.scss +55 -55
  92. package/src/widgets/form/UploadButton.d.ts +34 -34
  93. package/src/widgets/form/variables.scss +353 -353
  94. package/src/widgets/grid/Grid.d.ts +442 -442
  95. package/src/widgets/grid/Grid.js +28 -23
  96. package/src/widgets/grid/GridRow.js +228 -228
  97. package/src/widgets/grid/TreeNode.d.ts +23 -23
  98. package/src/widgets/grid/TreeNode.scss +88 -88
  99. package/src/widgets/grid/variables.scss +133 -133
  100. package/src/widgets/nav/LinkButton.js +128 -128
  101. package/src/widgets/nav/Menu.scss +74 -74
  102. package/src/widgets/overlay/Dropdown.js +612 -612
  103. package/src/widgets/overlay/FlyweightTooltipTracker.js +39 -39
  104. package/src/widgets/overlay/Overlay.d.ts +73 -73
  105. package/src/widgets/overlay/Window.js +202 -202
  106. package/src/widgets/overlay/captureMouse.js +124 -124
  107. package/src/widgets/overlay/createHotPromiseWindowFactory.d.ts +18 -18
  108. package/src/widgets/overlay/createHotPromiseWindowFactory.js +56 -56
  109. package/src/widgets/overlay/index.d.ts +11 -11
  110. package/src/widgets/overlay/index.js +11 -11
  111. package/src/widgets/variables.scss +144 -144
package/dist/widgets.js CHANGED
@@ -32,8 +32,8 @@ import {
32
32
  enableCultureSensitiveFormatting,
33
33
  Format,
34
34
  ContentResolver,
35
- DataProxy,
36
35
  KeySelection,
36
+ DataProxy,
37
37
  InstanceCache,
38
38
  StaticText,
39
39
  DataAdapter,
@@ -152,7 +152,7 @@ function _extends() {
152
152
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
153
153
  }
154
154
  return n;
155
- }),
155
+ }),
156
156
  _extends.apply(null, arguments)
157
157
  );
158
158
  }
@@ -164,7 +164,7 @@ function _objectWithoutPropertiesLoose(r, e) {
164
164
  var t = {};
165
165
  for (var n in r)
166
166
  if ({}.hasOwnProperty.call(r, n)) {
167
- if (e.includes(n)) continue;
167
+ if (-1 !== e.indexOf(n)) continue;
168
168
  t[n] = r[n];
169
169
  }
170
170
  return t;
@@ -175,7 +175,7 @@ function _setPrototypeOf(t, e) {
175
175
  ? Object.setPrototypeOf.bind()
176
176
  : function (t, e) {
177
177
  return (t.__proto__ = e), t;
178
- }),
178
+ }),
179
179
  _setPrototypeOf(t, e)
180
180
  );
181
181
  }
@@ -269,7 +269,7 @@ var HtmlElement = /*#__PURE__*/ (function (_Container) {
269
269
  if (this.urlAttributes.length == 0) delete this.urlAttributes;
270
270
  (_Container$prototype$ = _Container.prototype.declareData).call.apply(
271
271
  _Container$prototype$,
272
- [this].concat(Array.prototype.slice.call(arguments), [data]),
272
+ [this].concat(Array.prototype.slice.call(arguments), [data])
273
273
  );
274
274
  };
275
275
  _proto.isValidHtmlAttribute = function isValidHtmlAttribute(attrName) {
@@ -360,7 +360,7 @@ var HtmlElement = /*#__PURE__*/ (function (_Container) {
360
360
  key: key,
361
361
  },
362
362
  data.attrs,
363
- events,
363
+ events
364
364
  );
365
365
  if (data.classNames) props.className = data.classNames;
366
366
  if (data.style) props.style = data.style;
@@ -386,7 +386,7 @@ var HtmlElement = /*#__PURE__*/ (function (_Container) {
386
386
  data: data,
387
387
  children: props.children,
388
388
  },
389
- key,
389
+ key
390
390
  );
391
391
  return VDOM.createElement(this.tag, props, props.children);
392
392
  };
@@ -462,7 +462,7 @@ Widget.factory = function (type, config, more) {
462
462
  {
463
463
  tag: type,
464
464
  },
465
- config,
465
+ config
466
466
  );
467
467
  return originalWidgetFactory.call(Widget, type, config, more);
468
468
  };
@@ -480,12 +480,12 @@ function getHtmlElementFactory(tagName) {
480
480
  {
481
481
  tag: tagName,
482
482
  },
483
- flattenProps(config),
483
+ flattenProps(config)
484
484
  );
485
485
  },
486
486
  {
487
487
  tag: tagName,
488
- },
488
+ }
489
489
  ));
490
490
  }
491
491
  function cx(typeName, props) {
@@ -523,7 +523,7 @@ function react(config) {
523
523
  function getMessage(options) {
524
524
  debug(
525
525
  deprecatedFlag,
526
- "Call enableMsgBoxes() on startup to use Cx based message boxes. Message boxes are not auto enabled anymore to reduce the bundle size for apps that do not use them. ",
526
+ "Call enableMsgBoxes() on startup to use Cx based message boxes. Message boxes are not auto enabled anymore to reduce the bundle size for apps that do not use them. "
527
527
  );
528
528
  if (!options) return null;
529
529
  if (isString(options)) return options;
@@ -621,10 +621,10 @@ registerIcon(
621
621
  d: "M3 5h24v24H3z",
622
622
  }),
623
623
  ],
624
- }),
624
+ })
625
625
  );
626
626
  },
627
- true,
627
+ true
628
628
  );
629
629
 
630
630
  var CheckIcon = registerIcon(
@@ -638,10 +638,10 @@ var CheckIcon = registerIcon(
638
638
  d: "M7.136 42.94l20.16 14.784 29.568-40.32-9.72-7.128-22.598 30.816-10.44-7.656z",
639
639
  fill: "currentColor",
640
640
  }),
641
- }),
641
+ })
642
642
  );
643
643
  },
644
- true,
644
+ true
645
645
  );
646
646
 
647
647
  var ClearIcon = registerIcon(
@@ -657,10 +657,10 @@ var ClearIcon = registerIcon(
657
657
  stroke: "currentColor",
658
658
  d: "M16.9 16l4.92-4.92c.24-.24.24-.6 0-.84s-.6-.24-.84 0l-4.92 4.92-5.04-4.98c-.24-.24-.6-.24-.84 0s-.24.6 0 .84L15.16 16l-4.98 4.98c-.24.24-.24.6 0 .84s.6.24.84 0L16 16.84l4.98 4.98c.24.24.6.24.84 0s.24-.6 0-.84L16.9 16z",
659
659
  }),
660
- }),
660
+ })
661
661
  );
662
662
  },
663
- true,
663
+ true
664
664
  );
665
665
 
666
666
  registerIcon(
@@ -676,10 +676,10 @@ registerIcon(
676
676
  stroke: "currentColor",
677
677
  d: "M17.8 16l9.84-9.84c.48-.48.48-1.2 0-1.68s-1.2-.48-1.68 0l-9.84 9.84L6.04 4.36c-.48-.48-1.2-.48-1.68 0s-.48 1.2 0 1.68L14.32 16l-9.96 9.96c-.48.48-.48 1.2 0 1.68s1.2.48 1.68 0L16 17.68l9.96 9.96c.48.48 1.2.48 1.68 0s.48-1.2 0-1.68L17.8 16z",
678
678
  }),
679
- }),
679
+ })
680
680
  );
681
681
  },
682
- true,
682
+ true
683
683
  );
684
684
 
685
685
  var DropdownIcon = registerIcon(
@@ -695,10 +695,10 @@ var DropdownIcon = registerIcon(
695
695
  stroke: "currentColor",
696
696
  d: "M4.516 8.147L10.01 12.5l5.474-4.33-.473-.65-5 3.98-5-4z",
697
697
  }),
698
- }),
698
+ })
699
699
  );
700
700
  },
701
- true,
701
+ true
702
702
  );
703
703
 
704
704
  registerIcon(
@@ -713,10 +713,10 @@ registerIcon(
713
713
  fill: "currentColor",
714
714
  stroke: "none",
715
715
  }),
716
- }),
716
+ })
717
717
  );
718
718
  },
719
- true,
719
+ true
720
720
  );
721
721
 
722
722
  registerIcon(
@@ -738,10 +738,10 @@ registerIcon(
738
738
  stroke: "none",
739
739
  }),
740
740
  ],
741
- }),
741
+ })
742
742
  );
743
743
  },
744
- true,
744
+ true
745
745
  );
746
746
 
747
747
  registerIcon(
@@ -761,10 +761,10 @@ registerIcon(
761
761
  fill: "currentColor",
762
762
  }),
763
763
  ],
764
- }),
764
+ })
765
765
  );
766
766
  },
767
- true,
767
+ true
768
768
  );
769
769
 
770
770
  registerIcon(
@@ -785,10 +785,10 @@ registerIcon(
785
785
  fill: "currentColor",
786
786
  d: "M43.94 25.14c0-10.3-8.37-18.68-18.7-18.68-10.3 0-18.67 8.37-18.67 18.68h4.07c0-8.07 6.54-14.6 14.6-14.6 8.08 0 14.63 6.53 14.63 14.6h4.07z",
787
787
  }),
788
- }),
788
+ })
789
789
  );
790
790
  },
791
- true,
791
+ true
792
792
  );
793
793
 
794
794
  registerIcon(
@@ -802,10 +802,10 @@ registerIcon(
802
802
  fill: "currentColor",
803
803
  d: "M25.595 22.036l-5.26-5.075c.75-1.18 1.206-2.56 1.206-4.05 0-4.32-3.63-7.82-8.103-7.82-4.477 0-8.107 3.503-8.107 7.82 0 4.32 3.63 7.825 8.106 7.825 1.544 0 2.972-.44 4.198-1.162l5.26 5.074c.37.356.98.354 1.35 0l1.352-1.304c.37-.357.37-.947 0-1.304zm-12.16-3.91c-2.985 0-5.405-2.336-5.405-5.216 0-2.88 2.42-5.214 5.405-5.214 2.984 0 5.404 2.335 5.404 5.214 0 2.88-2.42 5.215-5.407 5.215z",
804
804
  }),
805
- }),
805
+ })
806
806
  );
807
807
  },
808
- true,
808
+ true
809
809
  );
810
810
 
811
811
  registerIcon(
@@ -925,10 +925,10 @@ registerIcon(
925
925
  }),
926
926
  ],
927
927
  }),
928
- }),
928
+ })
929
929
  );
930
930
  },
931
- true,
931
+ true
932
932
  );
933
933
 
934
934
  registerIcon(
@@ -950,10 +950,10 @@ registerIcon(
950
950
  stroke: "none",
951
951
  }),
952
952
  ],
953
- }),
953
+ })
954
954
  );
955
955
  },
956
- true,
956
+ true
957
957
  );
958
958
 
959
959
  var Icon = /*#__PURE__*/ (function (_Widget) {
@@ -970,7 +970,7 @@ var Icon = /*#__PURE__*/ (function (_Widget) {
970
970
  {
971
971
  name: undefined,
972
972
  },
973
- ]),
973
+ ])
974
974
  );
975
975
  };
976
976
  _proto.render = function render(context, instance, key) {
@@ -1028,7 +1028,7 @@ var Button = /*#__PURE__*/ (function (_HtmlElement) {
1028
1028
  disabled: undefined,
1029
1029
  enabled: undefined,
1030
1030
  },
1031
- ]),
1031
+ ])
1032
1032
  );
1033
1033
  };
1034
1034
  _proto.prepareData = function prepareData(context, instance) {
@@ -1092,7 +1092,7 @@ var Button = /*#__PURE__*/ (function (_HtmlElement) {
1092
1092
  props.className = this.CSS.expand(
1093
1093
  props.className,
1094
1094
  this.CSS.state("icon"),
1095
- children.length == 0 && this.CSS.state("empty"),
1095
+ children.length == 0 && this.CSS.state("empty")
1096
1096
  );
1097
1097
  if (children.length == 0) {
1098
1098
  props.children.push(
@@ -1102,8 +1102,8 @@ var Button = /*#__PURE__*/ (function (_HtmlElement) {
1102
1102
  className: this.CSS.element(this.baseClass, "baseline"),
1103
1103
  children: "\xA0",
1104
1104
  },
1105
- "baseline",
1106
- ),
1105
+ "baseline"
1106
+ )
1107
1107
  );
1108
1108
  }
1109
1109
  }
@@ -1139,7 +1139,7 @@ var DocumentTitle = /*#__PURE__*/ (function (_Widget) {
1139
1139
  action: undefined,
1140
1140
  separator: undefined,
1141
1141
  },
1142
- ]),
1142
+ ])
1143
1143
  );
1144
1144
  };
1145
1145
  _proto.explore = function explore(context, instance) {
@@ -1207,8 +1207,8 @@ var List = /*#__PURE__*/ (function (_Widget) {
1207
1207
  style: this.itemStyle,
1208
1208
  disabled: this.itemDisabled,
1209
1209
  },
1210
- this.item,
1211
- ),
1210
+ this.item
1211
+ )
1212
1212
  );
1213
1213
  delete this.children;
1214
1214
  this.selection = Selection.create(this.selection, {
@@ -1244,7 +1244,7 @@ var List = /*#__PURE__*/ (function (_Widget) {
1244
1244
  emptyText: undefined,
1245
1245
  tabIndex: undefined,
1246
1246
  },
1247
- ].concat(Array.prototype.slice.call(arguments)),
1247
+ ].concat(Array.prototype.slice.call(arguments))
1248
1248
  );
1249
1249
  };
1250
1250
  _proto.prepareData = function prepareData(context, instance) {
@@ -1322,7 +1322,7 @@ var List = /*#__PURE__*/ (function (_Widget) {
1322
1322
  items: items,
1323
1323
  selectable: !this.selection.isDummy || this.onItemClick,
1324
1324
  },
1325
- key,
1325
+ key
1326
1326
  );
1327
1327
  };
1328
1328
  _proto.groupBy = function groupBy(grouping) {
@@ -1403,7 +1403,7 @@ var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1403
1403
  },
1404
1404
  {
1405
1405
  passive: true,
1406
- },
1406
+ }
1407
1407
  );
1408
1408
  }
1409
1409
  this.componentDidUpdate();
@@ -1499,7 +1499,7 @@ var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1499
1499
  onDoubleClick: onDblClick,
1500
1500
  children: x.content,
1501
1501
  },
1502
- x.key,
1502
+ x.key
1503
1503
  );
1504
1504
  } else {
1505
1505
  return /*#__PURE__*/ jsx(
@@ -1508,7 +1508,7 @@ var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1508
1508
  className: CSS.element(baseClass, x.type),
1509
1509
  children: x.content,
1510
1510
  },
1511
- x.key,
1511
+ x.key
1512
1512
  );
1513
1513
  }
1514
1514
  });
@@ -1526,7 +1526,7 @@ var ListComponent = /*#__PURE__*/ (function (_VDOM$Component) {
1526
1526
  data.classNames,
1527
1527
  CSS.state({
1528
1528
  focused: this.state.focused,
1529
- }),
1529
+ })
1530
1530
  ),
1531
1531
  style: data.style,
1532
1532
  tabIndex: widget.focusable && selectable && items.length > 0 ? data.tabIndex || 0 : null,
@@ -1748,7 +1748,7 @@ var ListItem = /*#__PURE__*/ (function (_Container) {
1748
1748
  {
1749
1749
  disabled: undefined,
1750
1750
  },
1751
- ]),
1751
+ ])
1752
1752
  );
1753
1753
  };
1754
1754
  return ListItem;
@@ -1798,7 +1798,7 @@ var Sandbox = /*#__PURE__*/ (function (_PureContainer) {
1798
1798
  storage: undefined,
1799
1799
  key: undefined,
1800
1800
  },
1801
- ].concat(Array.prototype.slice.call(arguments)),
1801
+ ].concat(Array.prototype.slice.call(arguments))
1802
1802
  );
1803
1803
  };
1804
1804
  _proto.prepareData = function prepareData(context, instance) {
@@ -1884,7 +1884,7 @@ var Heading = /*#__PURE__*/ (function (_HtmlElement) {
1884
1884
  data.stateMods = _extends(
1885
1885
  {},
1886
1886
  data.stateMods,
1887
- ((_extends2 = {}), (_extends2["level-" + this.level] = true), _extends2),
1887
+ ((_extends2 = {}), (_extends2["level-" + this.level] = true), _extends2)
1888
1888
  );
1889
1889
  _HtmlElement.prototype.prepareData.call(this, context, instance);
1890
1890
  };
@@ -2017,9 +2017,9 @@ var Section = /*#__PURE__*/ (function (_Container) {
2017
2017
  }),
2018
2018
  footer,
2019
2019
  ],
2020
- },
2020
+ }
2021
2021
  ),
2022
- key,
2022
+ key
2023
2023
  );
2024
2024
  };
2025
2025
  return Section;
@@ -2063,7 +2063,7 @@ var FlexBox = /*#__PURE__*/ (function (_Container) {
2063
2063
  (_extends2[this.hpad + "-hpad"] = this.hpad),
2064
2064
  (_extends2[this.vpad + "-vpad"] = this.vpad),
2065
2065
  (_extends2.nested = this.nested),
2066
- _extends2),
2066
+ _extends2)
2067
2067
  );
2068
2068
  _Container.prototype.prepareCSS.call(this, context, instance);
2069
2069
  };
@@ -2096,9 +2096,9 @@ var FlexBox = /*#__PURE__*/ (function (_Container) {
2096
2096
  className: CSS.element(baseClass, "flexbox", flexboxMods),
2097
2097
  children: this.renderChildren(context, instance),
2098
2098
  }),
2099
- },
2099
+ }
2100
2100
  ),
2101
- key,
2101
+ key
2102
2102
  );
2103
2103
  };
2104
2104
  return FlexBox;
@@ -2150,7 +2150,7 @@ var ProgressBar = /*#__PURE__*/ (function (_Widget) {
2150
2150
  text: undefined,
2151
2151
  value: undefined,
2152
2152
  },
2153
- ].concat(Array.prototype.slice.call(arguments)),
2153
+ ].concat(Array.prototype.slice.call(arguments))
2154
2154
  );
2155
2155
  };
2156
2156
  _proto.render = function render(context, instance, key) {
@@ -2169,7 +2169,7 @@ var ProgressBar = /*#__PURE__*/ (function (_Widget) {
2169
2169
  data.classNames,
2170
2170
  CSS.state({
2171
2171
  disabled: disabled,
2172
- }),
2172
+ })
2173
2173
  ),
2174
2174
  style: data.style,
2175
2175
  children: [
@@ -2185,7 +2185,7 @@ var ProgressBar = /*#__PURE__*/ (function (_Widget) {
2185
2185
  }),
2186
2186
  ],
2187
2187
  },
2188
- key,
2188
+ key
2189
2189
  );
2190
2190
  };
2191
2191
  return ProgressBar;
@@ -2342,7 +2342,7 @@ var Resizer = /*#__PURE__*/ (function (_Widget) {
2342
2342
  minSize: undefined,
2343
2343
  maxSize: undefined,
2344
2344
  },
2345
- ]),
2345
+ ])
2346
2346
  );
2347
2347
  };
2348
2348
  _proto.render = function render(context, instance, key) {
@@ -2353,7 +2353,7 @@ var Resizer = /*#__PURE__*/ (function (_Widget) {
2353
2353
  instance: instance,
2354
2354
  data: data,
2355
2355
  },
2356
- key,
2356
+ key
2357
2357
  );
2358
2358
  };
2359
2359
  return Resizer;
@@ -2397,7 +2397,7 @@ var ResizerCmp = /*#__PURE__*/ (function (_VDOM$Component) {
2397
2397
  CSS.state({
2398
2398
  vertical: !widget.horizontal,
2399
2399
  horizontal: widget.horizontal,
2400
- }),
2400
+ })
2401
2401
  ),
2402
2402
  style: data.style,
2403
2403
  onDoubleClick: function onDoubleClick(e) {
@@ -2438,7 +2438,7 @@ var ResizerCmp = /*#__PURE__*/ (function (_VDOM$Component) {
2438
2438
  this.onHandleMove.bind(this),
2439
2439
  this.onDragComplete.bind(this),
2440
2440
  this.state.initialPosition,
2441
- widget.horizontal ? "row-resize" : "col-resize",
2441
+ widget.horizontal ? "row-resize" : "col-resize"
2442
2442
  );
2443
2443
  }
2444
2444
  };
@@ -2510,7 +2510,7 @@ var HighlightedSearchText = /*#__PURE__*/ (function (_Widget) {
2510
2510
  chunks: undefined,
2511
2511
  query: undefined,
2512
2512
  },
2513
- ]),
2513
+ ])
2514
2514
  );
2515
2515
  };
2516
2516
  _proto.render = function render(context, instance, key) {
@@ -2536,7 +2536,7 @@ var HighlightedSearchText = /*#__PURE__*/ (function (_Widget) {
2536
2536
  style: style,
2537
2537
  children: text,
2538
2538
  },
2539
- key + "-" + i,
2539
+ key + "-" + i
2540
2540
  );
2541
2541
  });
2542
2542
  };
@@ -2732,7 +2732,7 @@ function notifyDragMove(e, captureData) {
2732
2732
  var current = vscrollParent.scrollTop;
2733
2733
  var next = Math.min(
2734
2734
  vscrollParent.scrollHeight,
2735
- Math.max(0, current + (scrollY * 5 * Math.min(200, Math.max(50, event.source.height))) / 60),
2735
+ Math.max(0, current + (scrollY * 5 * Math.min(200, Math.max(50, event.source.height))) / 60)
2736
2736
  ); //60 FPS
2737
2737
  vscrollParent.scrollTop = next;
2738
2738
  }
@@ -2740,7 +2740,7 @@ function notifyDragMove(e, captureData) {
2740
2740
  var _current = hscrollParent.scrollLeft;
2741
2741
  var _next = Math.min(
2742
2742
  hscrollParent.scrollWidth,
2743
- Math.max(0, _current + (scrollX * 5 * Math.min(200, Math.max(50, event.source.width))) / 60),
2743
+ Math.max(0, _current + (scrollX * 5 * Math.min(200, Math.max(50, event.source.width))) / 60)
2744
2744
  ); //60 FPS
2745
2745
  hscrollParent.scrollLeft = _next;
2746
2746
  }
@@ -2817,11 +2817,11 @@ function isDragHandleEvent(e) {
2817
2817
  var DragDropContext = VDOM.createContext
2818
2818
  ? VDOM.createContext({
2819
2819
  disabled: false,
2820
- })
2820
+ })
2821
2821
  : function (_ref) {
2822
2822
  var children = _ref.children;
2823
2823
  return children;
2824
- };
2824
+ };
2825
2825
  var ContextWrap = /*#__PURE__*/ (function (_Container) {
2826
2826
  function ContextWrap() {
2827
2827
  return _Container.apply(this, arguments) || this;
@@ -2835,7 +2835,7 @@ var ContextWrap = /*#__PURE__*/ (function (_Container) {
2835
2835
  value: this.value,
2836
2836
  children: this.renderChildren(context, instance),
2837
2837
  },
2838
- key,
2838
+ key
2839
2839
  );
2840
2840
  };
2841
2841
  return ContextWrap;
@@ -2864,7 +2864,7 @@ var Overlay = /*#__PURE__*/ (function (_Container) {
2864
2864
  draggable: undefined,
2865
2865
  zIndex: undefined,
2866
2866
  },
2867
- ]),
2867
+ ])
2868
2868
  );
2869
2869
  };
2870
2870
  _proto.prepareData = function prepareData(context, instance) {
@@ -2898,7 +2898,7 @@ var Overlay = /*#__PURE__*/ (function (_Container) {
2898
2898
  "parentOptions",
2899
2899
  _extends({}, context.parentOptions, {
2900
2900
  dismiss: instance.dismiss,
2901
- }),
2901
+ })
2902
2902
  );
2903
2903
  }
2904
2904
  if (instance.cache("dismiss", instance.dismiss)) instance.markShouldUpdate(context);
@@ -2918,7 +2918,7 @@ var Overlay = /*#__PURE__*/ (function (_Container) {
2918
2918
  parentEl: context.options.parentEl,
2919
2919
  children: this.renderContents(context, instance),
2920
2920
  },
2921
- key,
2921
+ key
2922
2922
  );
2923
2923
  };
2924
2924
  _proto.renderContents = function renderContents(context, instance) {
@@ -2980,7 +2980,7 @@ var Overlay = /*#__PURE__*/ (function (_Container) {
2980
2980
  subscribeToBeforeDismiss: function subscribeToBeforeDismiss(cb) {
2981
2981
  beforeDismiss = cb;
2982
2982
  },
2983
- },
2983
+ }
2984
2984
  );
2985
2985
  options.name = options.name || "overlay";
2986
2986
  stop = startAppLoop(el, storeOrInstance, this, options);
@@ -3153,12 +3153,12 @@ var OverlayComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
3153
3153
  className: CSS.element("overlay", "modal-backdrop"),
3154
3154
  onClick: this.onBackdropClick.bind(this),
3155
3155
  },
3156
- "backdrop",
3156
+ "backdrop"
3157
3157
  ),
3158
3158
  content,
3159
3159
  ],
3160
3160
  },
3161
- "shadow",
3161
+ "shadow"
3162
3162
  );
3163
3163
  }
3164
3164
  return result;
@@ -3415,7 +3415,7 @@ var OverlayComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
3415
3415
  },
3416
3416
  {
3417
3417
  passive: false,
3418
- },
3418
+ }
3419
3419
  );
3420
3420
  };
3421
3421
  _proto3.componentWillUnmount = function componentWillUnmount() {
@@ -3485,8 +3485,8 @@ var OverlayComponent = /*#__PURE__*/ (function (_VDOM$Component2) {
3485
3485
  animated: this.state.animated && !this.unmounting && !this.dismissed,
3486
3486
  "animate-enter": this.state.animated && !this.dismissed,
3487
3487
  "animate-leave": widget.animate && this.dismissed,
3488
- }),
3489
- ),
3488
+ })
3489
+ )
3490
3490
  );
3491
3491
  };
3492
3492
  _proto3.overlayDidUpdate = function overlayDidUpdate() {
@@ -3528,7 +3528,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3528
3528
  {
3529
3529
  placement: undefined,
3530
3530
  },
3531
- ]),
3531
+ ])
3532
3532
  );
3533
3533
  };
3534
3534
  _proto.initInstance = function initInstance(context, instance) {
@@ -3566,7 +3566,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3566
3566
  instance.invoke("pipeValidateDropdownPosition", component.updateDropdownPosition, instance);
3567
3567
  if (instance.parentPositionChangeEvent)
3568
3568
  component.offParentPositionChange = instance.parentPositionChangeEvent.subscribe(
3569
- component.updateDropdownPosition,
3569
+ component.updateDropdownPosition
3570
3570
  );
3571
3571
  };
3572
3572
  _proto.overlayDidUpdate = function overlayDidUpdate(instance, component) {
@@ -3657,7 +3657,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3657
3657
  initialScreenPosition: initialScreenPosition,
3658
3658
  },
3659
3659
  instance,
3660
- component,
3660
+ component
3661
3661
  );
3662
3662
  instance.positionChangeSubscribers.notify();
3663
3663
  };
@@ -3667,7 +3667,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3667
3667
  contentSize,
3668
3668
  rel,
3669
3669
  el,
3670
- noAuto,
3670
+ noAuto
3671
3671
  ) {
3672
3672
  var viewport = getViewportRect(this.screenPadding);
3673
3673
  style.position = "fixed";
@@ -3765,7 +3765,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3765
3765
  contentSize,
3766
3766
  rel,
3767
3767
  el,
3768
- noAuto,
3768
+ noAuto
3769
3769
  ) {
3770
3770
  var viewport = getViewportRect(this.screenPadding);
3771
3771
  style.position = "absolute";
@@ -3857,7 +3857,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3857
3857
  contentSize,
3858
3858
  parentBounds,
3859
3859
  el,
3860
- noAuto,
3860
+ noAuto
3861
3861
  ) {
3862
3862
  switch (this.positioning) {
3863
3863
  case "absolute":
@@ -3984,15 +3984,15 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
3984
3984
  {
3985
3985
  className: CSS.element(baseClass, "arrow-border"),
3986
3986
  },
3987
- "arrow-border",
3987
+ "arrow-border"
3988
3988
  ),
3989
3989
  /*#__PURE__*/ jsx(
3990
3990
  "div",
3991
3991
  {
3992
3992
  className: CSS.element(baseClass, "arrow-fill"),
3993
3993
  },
3994
- "arrow-back",
3995
- ),
3994
+ "arrow-back"
3995
+ )
3996
3996
  );
3997
3997
  }
3998
3998
  return result;
@@ -4023,7 +4023,7 @@ var Dropdown = /*#__PURE__*/ (function (_Overlay) {
4023
4023
  });
4024
4024
  },
4025
4025
  },
4026
- key + "-beacon",
4026
+ key + "-beacon"
4027
4027
  );
4028
4028
  }
4029
4029
  return [beacon, instance.relatedElement && _Overlay.prototype.render.call(this, context, instance, key)];
@@ -4087,7 +4087,7 @@ var Tooltip = /*#__PURE__*/ (function (_Dropdown) {
4087
4087
  title: undefined,
4088
4088
  alwaysVisible: undefined,
4089
4089
  },
4090
- ]),
4090
+ ])
4091
4091
  );
4092
4092
  };
4093
4093
  _proto.prepareData = function prepareData(context, instance) {
@@ -4109,7 +4109,7 @@ var Tooltip = /*#__PURE__*/ (function (_Dropdown) {
4109
4109
  className: CSS.element(baseClass, "title"),
4110
4110
  children: data.title,
4111
4111
  },
4112
- "title",
4112
+ "title"
4113
4113
  ),
4114
4114
  data.text,
4115
4115
  ].concat(_Dropdown.prototype.renderContents.call(this, context, instance));
@@ -4245,7 +4245,7 @@ function getTooltipInstance(e, parentInstance, tooltip, options) {
4245
4245
  {
4246
4246
  relatedElement: target,
4247
4247
  },
4248
- config,
4248
+ config
4249
4249
  );
4250
4250
  var store = new ReadOnlyDataView({
4251
4251
  store: parentInstance.store,
@@ -4401,7 +4401,7 @@ var Window = /*#__PURE__*/ (function (_Overlay) {
4401
4401
  structured: true,
4402
4402
  },
4403
4403
  },
4404
- ]),
4404
+ ])
4405
4405
  );
4406
4406
  };
4407
4407
  _proto.initHelpers = function initHelpers() {
@@ -4415,14 +4415,14 @@ var Window = /*#__PURE__*/ (function (_Overlay) {
4415
4415
  type: ContentPlaceholder,
4416
4416
  name: "header",
4417
4417
  scoped: true,
4418
- },
4418
+ }
4419
4419
  ),
4420
4420
  footer: Widget.create(
4421
4421
  this.footer || {
4422
4422
  type: ContentPlaceholder,
4423
4423
  name: "footer",
4424
4424
  scoped: true,
4425
- },
4425
+ }
4426
4426
  ),
4427
4427
  close:
4428
4428
  this.closable &&
@@ -4435,7 +4435,7 @@ var Window = /*#__PURE__*/ (function (_Overlay) {
4435
4435
  onMouseDown: stopPropagation,
4436
4436
  }),
4437
4437
  },
4438
- ]),
4438
+ ])
4439
4439
  );
4440
4440
  };
4441
4441
  _proto.exploreCleanup = function exploreCleanup(context, instance) {
@@ -4472,7 +4472,7 @@ var Window = /*#__PURE__*/ (function (_Overlay) {
4472
4472
  subscribeToBeforeDismiss: context.options.subscribeToBeforeDismiss,
4473
4473
  children: this.renderContents(context, instance),
4474
4474
  },
4475
- key,
4475
+ key
4476
4476
  );
4477
4477
  };
4478
4478
  return Window;
@@ -4517,7 +4517,7 @@ var WindowComponent = /*#__PURE__*/ (function (_OverlayComponent) {
4517
4517
  onTouchMove: this.onHeaderMouseMove.bind(this),
4518
4518
  children: this.props.header,
4519
4519
  },
4520
- "header",
4520
+ "header"
4521
4521
  );
4522
4522
  }
4523
4523
  if (this.props.footer) {
@@ -4531,7 +4531,7 @@ var WindowComponent = /*#__PURE__*/ (function (_OverlayComponent) {
4531
4531
  style: data.footerStyle,
4532
4532
  children: this.props.footer,
4533
4533
  },
4534
- "footer",
4534
+ "footer"
4535
4535
  );
4536
4536
  }
4537
4537
  var body = /*#__PURE__*/ jsx(
@@ -4544,12 +4544,12 @@ var WindowComponent = /*#__PURE__*/ (function (_OverlayComponent) {
4544
4544
  CSS.element(widget.baseClass, "body", {
4545
4545
  pad: widget.pad,
4546
4546
  }),
4547
- data.bodyClass,
4547
+ data.bodyClass
4548
4548
  ),
4549
4549
  style: data.bodyStyle,
4550
4550
  children: this.props.children,
4551
4551
  },
4552
- "body",
4552
+ "body"
4553
4553
  );
4554
4554
  return [header, body, footer];
4555
4555
  };
@@ -4769,7 +4769,7 @@ var Toast = /*#__PURE__*/ (function (_Overlay) {
4769
4769
  {
4770
4770
  timeout: undefined,
4771
4771
  },
4772
- ]),
4772
+ ])
4773
4773
  );
4774
4774
  };
4775
4775
  _proto.prepareData = function prepareData(context, instance) {
@@ -4814,7 +4814,7 @@ var Toast = /*#__PURE__*/ (function (_Overlay) {
4814
4814
  toaster.el.className = this.CSS.block(
4815
4815
  "toaster",
4816
4816
  null,
4817
- ((_this$CSS$block = {}), (_this$CSS$block["placement-" + placement] = true), _this$CSS$block),
4817
+ ((_this$CSS$block = {}), (_this$CSS$block["placement-" + placement] = true), _this$CSS$block)
4818
4818
  );
4819
4819
  toaster.el.insertBefore(el, toaster.el.firstChild);
4820
4820
  return el;
@@ -4938,8 +4938,8 @@ function createHotPromiseWindowFactoryWithProps(module, factory) {
4938
4938
  (_options$parent = options == null ? void 0 : options.parent) != null
4939
4939
  ? _options$parent
4940
4940
  : options == null
4941
- ? void 0
4942
- : options.store) != null
4941
+ ? void 0
4942
+ : options.store) != null
4943
4943
  ? _ref
4944
4944
  : new Store();
4945
4945
  var reloading = false;
@@ -4967,7 +4967,7 @@ function createHotPromiseWindowFactoryWithProps(module, factory) {
4967
4967
  rerun();
4968
4968
  reloading = false;
4969
4969
  }, 10);
4970
- });
4970
+ });
4971
4971
  rerun();
4972
4972
  });
4973
4973
  };
@@ -5010,7 +5010,7 @@ var Route = /*#__PURE__*/ (function (_PureContainer) {
5010
5010
  {
5011
5011
  url: undefined,
5012
5012
  },
5013
- ]),
5013
+ ])
5014
5014
  );
5015
5015
  };
5016
5016
  _proto.checkVisible = function checkVisible(context, instance, data) {
@@ -5066,8 +5066,8 @@ var Route = /*#__PURE__*/ (function (_PureContainer) {
5066
5066
  {
5067
5067
  remainder: "",
5068
5068
  },
5069
- data,
5070
- ),
5069
+ data
5070
+ )
5071
5071
  );
5072
5072
  },
5073
5073
  });
@@ -5101,7 +5101,7 @@ var RedirectRoute = /*#__PURE__*/ (function (_Route) {
5101
5101
  {
5102
5102
  redirect: undefined,
5103
5103
  },
5104
- ]),
5104
+ ])
5105
5105
  );
5106
5106
  };
5107
5107
  _proto.prepareData = function prepareData(context, instance) {
@@ -5134,7 +5134,7 @@ var Tab = /*#__PURE__*/ (function (_HtmlElement) {
5134
5134
  disabled: undefined,
5135
5135
  text: undefined,
5136
5136
  },
5137
- ].concat(Array.prototype.slice.call(arguments)),
5137
+ ].concat(Array.prototype.slice.call(arguments))
5138
5138
  );
5139
5139
  };
5140
5140
  _proto.prepareData = function prepareData(context, instance) {
@@ -5220,7 +5220,7 @@ var LinkButton = /*#__PURE__*/ (function (_Button) {
5220
5220
  inactiveClass: undefined,
5221
5221
  inactiveStyle: undefined,
5222
5222
  },
5223
- ].concat(Array.prototype.slice.call(arguments)),
5223
+ ].concat(Array.prototype.slice.call(arguments))
5224
5224
  );
5225
5225
  };
5226
5226
  _proto.prepareData = function prepareData(context, instance) {
@@ -5329,7 +5329,7 @@ var MenuItem = /*#__PURE__*/ (function (_HtmlElement) {
5329
5329
  arrow: undefined,
5330
5330
  confirm: undefined,
5331
5331
  },
5332
- ]),
5332
+ ])
5333
5333
  );
5334
5334
  };
5335
5335
  _proto.explore = function explore(context, instance) {
@@ -5358,10 +5358,10 @@ var MenuItem = /*#__PURE__*/ (function (_HtmlElement) {
5358
5358
  children: instance.data.text
5359
5359
  ? /*#__PURE__*/ jsx("span", {
5360
5360
  children: instance.data.text,
5361
- })
5361
+ })
5362
5362
  : this.renderChildren(context, instance),
5363
5363
  },
5364
- key,
5364
+ key
5365
5365
  );
5366
5366
  };
5367
5367
  _proto.add = function add(element) {
@@ -5445,8 +5445,8 @@ var MenuItemComponent$1 = /*#__PURE__*/ (function (_VDOM$Component) {
5445
5445
  _this2.closeDropdown();
5446
5446
  return false;
5447
5447
  },
5448
- },
5449
- ),
5448
+ }
5449
+ )
5450
5450
  );
5451
5451
  }
5452
5452
  return this.dropdown;
@@ -5511,8 +5511,8 @@ var MenuItemComponent$1 = /*#__PURE__*/ (function (_VDOM$Component) {
5511
5511
  (_CSS$state.icon = !!icon || instance.icons),
5512
5512
  (_CSS$state.disabled = data.disabled),
5513
5513
  (_CSS$state.empty = empty),
5514
- _CSS$state),
5515
- ),
5514
+ _CSS$state)
5515
+ )
5516
5516
  );
5517
5517
  if (empty)
5518
5518
  children = /*#__PURE__*/ jsx("span", {
@@ -5660,7 +5660,7 @@ var MenuItemComponent$1 = /*#__PURE__*/ (function (_VDOM$Component) {
5660
5660
  {
5661
5661
  dropdownOpen: true,
5662
5662
  },
5663
- callback,
5663
+ callback
5664
5664
  );
5665
5665
 
5666
5666
  //hide tooltip if dropdown is open
@@ -5769,7 +5769,7 @@ var Menu = /*#__PURE__*/ (function (_HtmlElement) {
5769
5769
  showOnlyOverflowItems: true,
5770
5770
  },
5771
5771
  ],
5772
- }),
5772
+ })
5773
5773
  );
5774
5774
  }
5775
5775
  };
@@ -5785,7 +5785,7 @@ var Menu = /*#__PURE__*/ (function (_HtmlElement) {
5785
5785
  overflow: this.overflow,
5786
5786
  }),
5787
5787
  (_extends2[this.itemPadding + "-item-padding"] = this.itemPadding),
5788
- _extends2),
5788
+ _extends2)
5789
5789
  );
5790
5790
  _HtmlElement.prototype.prepareData.call(this, context, instance);
5791
5791
  };
@@ -5803,7 +5803,7 @@ var Menu = /*#__PURE__*/ (function (_HtmlElement) {
5803
5803
  instance: instance,
5804
5804
  children: this.renderChildren(context, instance),
5805
5805
  },
5806
- key,
5806
+ key
5807
5807
  );
5808
5808
  };
5809
5809
  _proto.add = function add(item) {
@@ -5872,7 +5872,7 @@ var MenuComponent = /*#__PURE__*/ (function (_VDOM$Component) {
5872
5872
  data.classNames,
5873
5873
  CSS.state({
5874
5874
  pack: this.state.nonOverflownItemCount < children.length - 1,
5875
- }),
5875
+ })
5876
5876
  ),
5877
5877
  style: data.style,
5878
5878
  onBlur: FocusManager.nudge(),
@@ -5887,7 +5887,7 @@ var MenuComponent = /*#__PURE__*/ (function (_VDOM$Component) {
5887
5887
  {
5888
5888
  className: CSS.element(baseClass, "spacer"),
5889
5889
  },
5890
- key,
5890
+ key
5891
5891
  )
5892
5892
  );
5893
5893
  }
@@ -5905,7 +5905,7 @@ var MenuComponent = /*#__PURE__*/ (function (_VDOM$Component) {
5905
5905
  moveCursor: _this2.moveCursor.bind(_this2),
5906
5906
  children: content,
5907
5907
  },
5908
- key,
5908
+ key
5909
5909
  );
5910
5910
  }),
5911
5911
  });
@@ -6026,7 +6026,7 @@ var MenuComponent = /*#__PURE__*/ (function (_VDOM$Component) {
6026
6026
  },
6027
6027
  function () {
6028
6028
  _this4.isMeasureOverflowDisabled = false;
6029
- },
6029
+ }
6030
6030
  );
6031
6031
  }
6032
6032
  };
@@ -6168,7 +6168,7 @@ var Scroller = /*#__PURE__*/ (function (_Container) {
6168
6168
  {
6169
6169
  scrollIntoViewSelector: undefined,
6170
6170
  },
6171
- ]),
6171
+ ])
6172
6172
  );
6173
6173
  };
6174
6174
  _proto.render = function render(context, instance, key) {
@@ -6180,7 +6180,7 @@ var Scroller = /*#__PURE__*/ (function (_Container) {
6180
6180
  data: instance.data,
6181
6181
  children: this.renderChildren(context, instance),
6182
6182
  },
6183
- key,
6183
+ key
6184
6184
  );
6185
6185
  };
6186
6186
  return Scroller;
@@ -6228,7 +6228,7 @@ var HScrollerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
6228
6228
  scrollable: this.state.scrollable,
6229
6229
  horizontal: widget.horizontal,
6230
6230
  vertical: widget.vertical,
6231
- }),
6231
+ })
6232
6232
  ),
6233
6233
  style: data.style,
6234
6234
  ref: function ref(el) {
@@ -6421,7 +6421,7 @@ var ValidationError = /*#__PURE__*/ (function (_Widget) {
6421
6421
  style: data.style,
6422
6422
  children: data.errorMessage,
6423
6423
  },
6424
- key,
6424
+ key
6425
6425
  );
6426
6426
  };
6427
6427
  return ValidationError;
@@ -6458,7 +6458,7 @@ var Label = /*#__PURE__*/ (function (_HtmlElement) {
6458
6458
  htmlFor: undefined,
6459
6459
  asterisk: undefined,
6460
6460
  },
6461
- ]),
6461
+ ])
6462
6462
  );
6463
6463
  };
6464
6464
  _proto.prepareData = function prepareData(context, instance) {
@@ -6475,7 +6475,7 @@ var Label = /*#__PURE__*/ (function (_HtmlElement) {
6475
6475
  data.disabled = data.stateMods.disabled = coalesce(
6476
6476
  context.parentStrict ? context.parentDisabled : null,
6477
6477
  data._disabled,
6478
- context.parentDisabled,
6478
+ context.parentDisabled
6479
6479
  );
6480
6480
  data.asterisk = context.parentAsterisk || data.asterisk;
6481
6481
  if (instance.cache("disabled", data.disabled) || instance.cache("asterisk", data.asterisk)) {
@@ -6515,8 +6515,8 @@ var Label = /*#__PURE__*/ (function (_HtmlElement) {
6515
6515
  className: this.CSS.element(this.baseClass, "asterisk"),
6516
6516
  children: "*",
6517
6517
  },
6518
- "asterisk",
6519
- ),
6518
+ "asterisk"
6519
+ )
6520
6520
  );
6521
6521
  }
6522
6522
  };
@@ -6543,7 +6543,7 @@ var FieldIcon = /*#__PURE__*/ (function (_Widget) {
6543
6543
  {
6544
6544
  name: undefined,
6545
6545
  },
6546
- ]),
6546
+ ])
6547
6547
  );
6548
6548
  };
6549
6549
  _proto.render = function render(context, instance, key) {
@@ -6612,7 +6612,7 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6612
6612
  structured: true,
6613
6613
  },
6614
6614
  },
6615
- ].concat(Array.prototype.slice.call(arguments)),
6615
+ ].concat(Array.prototype.slice.call(arguments))
6616
6616
  );
6617
6617
  };
6618
6618
  _proto.init = function init() {
@@ -6629,7 +6629,7 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6629
6629
  },
6630
6630
  mod: "error",
6631
6631
  },
6632
- this.errorTooltip,
6632
+ this.errorTooltip
6633
6633
  );
6634
6634
  }
6635
6635
  if (isUndefined(this.help)) {
@@ -6683,7 +6683,7 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6683
6683
  help: this.help,
6684
6684
  icon: this.icon,
6685
6685
  },
6686
- ]),
6686
+ ])
6687
6687
  );
6688
6688
  };
6689
6689
  _proto.initState = function initState(context, instance) {
@@ -6723,22 +6723,22 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6723
6723
  data.disabled = coalesce(
6724
6724
  context.parentStrict ? context.parentDisabled : null,
6725
6725
  data._disabled,
6726
- context.parentDisabled,
6726
+ context.parentDisabled
6727
6727
  );
6728
6728
  data.readOnly = coalesce(
6729
6729
  context.parentStrict ? context.parentReadOnly : null,
6730
6730
  data._readOnly,
6731
- context.parentReadOnly,
6731
+ context.parentReadOnly
6732
6732
  );
6733
6733
  data.viewMode = coalesce(
6734
6734
  context.parentStrict ? context.parentViewMode : null,
6735
6735
  data._viewMode,
6736
- context.parentViewMode,
6736
+ context.parentViewMode
6737
6737
  );
6738
6738
  data.tabOnEnterKey = coalesce(
6739
6739
  context.parentStrict ? context.parentTabOnEnterKey : null,
6740
6740
  data._tabOnEnterKey,
6741
- context.parentTabOnEnterKey,
6741
+ context.parentTabOnEnterKey
6742
6742
  );
6743
6743
  data.visited = coalesce(context.parentStrict ? context.parentVisited : null, data.visited, context.parentVisited);
6744
6744
  if (!data.error && !data.disabled && !data.viewMode) this.validate(context, instance);
@@ -6894,7 +6894,7 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6894
6894
  },
6895
6895
  children: text,
6896
6896
  },
6897
- key,
6897
+ key
6898
6898
  );
6899
6899
  }
6900
6900
  };
@@ -6914,7 +6914,7 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6914
6914
  onTouchStart: interactive ? stopPropagation : null,
6915
6915
  children: [content, this.labelPlacement && this.renderLabel(context, instance, "label")],
6916
6916
  },
6917
- key,
6917
+ key
6918
6918
  );
6919
6919
  };
6920
6920
  _proto.renderEmptyText = function renderEmptyText(context, _ref2, key) {
@@ -6929,7 +6929,7 @@ var Field = /*#__PURE__*/ (function (_PureContainer) {
6929
6929
  children: "\xA0",
6930
6930
  }),
6931
6931
  },
6932
- key,
6932
+ key
6933
6933
  );
6934
6934
  };
6935
6935
  _proto.render = function render(context, instance, key) {
@@ -7022,7 +7022,7 @@ var TextField = /*#__PURE__*/ (function (_Field) {
7022
7022
  icon: undefined,
7023
7023
  trim: undefined,
7024
7024
  },
7025
- ].concat(Array.prototype.slice.call(arguments)),
7025
+ ].concat(Array.prototype.slice.call(arguments))
7026
7026
  );
7027
7027
  };
7028
7028
  _proto.renderInput = function renderInput(context, instance, key) {
@@ -7035,7 +7035,7 @@ var TextField = /*#__PURE__*/ (function (_Field) {
7035
7035
  help: this.helpPlacement && getContent(this.renderHelp(context, instance, "help")),
7036
7036
  icon: this.renderIcon(context, instance, "icon"),
7037
7037
  },
7038
- key,
7038
+ key
7039
7039
  );
7040
7040
  };
7041
7041
  _proto.validate = function validate(context, instance) {
@@ -7131,7 +7131,7 @@ var Input$2 = /*#__PURE__*/ (function (_VDOM$Component) {
7131
7131
  clear: insideButton != null,
7132
7132
  empty: empty && !data.placeholder,
7133
7133
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !empty),
7134
- }),
7134
+ })
7135
7135
  ),
7136
7136
  style: data.style,
7137
7137
  onMouseDown: stopPropagation,
@@ -7168,8 +7168,8 @@ var Input$2 = /*#__PURE__*/ (function (_VDOM$Component) {
7168
7168
  onFocus: this.onFocus.bind(this),
7169
7169
  onBlur: this.onBlur.bind(this),
7170
7170
  onClick: stopPropagation,
7171
- },
7172
- ),
7171
+ }
7172
+ )
7173
7173
  ),
7174
7174
  insideButton,
7175
7175
  icon,
@@ -7301,10 +7301,10 @@ var SquareIcon = registerIcon(
7301
7301
  height: "40",
7302
7302
  fill: "currentColor",
7303
7303
  }),
7304
- }),
7304
+ })
7305
7305
  );
7306
7306
  },
7307
- true,
7307
+ true
7308
7308
  );
7309
7309
 
7310
7310
  var Checkbox = /*#__PURE__*/ (function (_Field) {
@@ -7332,7 +7332,7 @@ var Checkbox = /*#__PURE__*/ (function (_Field) {
7332
7332
  required: undefined,
7333
7333
  viewText: undefined,
7334
7334
  },
7335
- ].concat(Array.prototype.slice.call(arguments)),
7335
+ ].concat(Array.prototype.slice.call(arguments))
7336
7336
  );
7337
7337
  };
7338
7338
  _proto.renderWrap = function renderWrap(context, instance, key, content) {
@@ -7358,7 +7358,7 @@ var Checkbox = /*#__PURE__*/ (function (_Field) {
7358
7358
  style: data.style,
7359
7359
  children: [content, this.labelPlacement && getContent(this.renderLabel(context, instance, "label"))],
7360
7360
  },
7361
- key,
7361
+ key
7362
7362
  );
7363
7363
  };
7364
7364
  _proto.validateRequired = function validateRequired(context, instance) {
@@ -7386,9 +7386,9 @@ var Checkbox = /*#__PURE__*/ (function (_Field) {
7386
7386
  onChange: function onChange(e) {
7387
7387
  _this2.handleChange(e, instance);
7388
7388
  },
7389
- },
7389
+ }
7390
7390
  ),
7391
- "input",
7391
+ "input"
7392
7392
  );
7393
7393
  };
7394
7394
  _proto.renderCheck = function renderCheck(context, instance) {
@@ -7398,7 +7398,7 @@ var Checkbox = /*#__PURE__*/ (function (_Field) {
7398
7398
  instance: instance,
7399
7399
  data: instance.data,
7400
7400
  },
7401
- "check",
7401
+ "check"
7402
7402
  );
7403
7403
  };
7404
7404
  _proto.renderInput = function renderInput(context, instance, key) {
@@ -7415,16 +7415,16 @@ var Checkbox = /*#__PURE__*/ (function (_Field) {
7415
7415
  className: CSS.element(baseClass, "text"),
7416
7416
  children: text,
7417
7417
  },
7418
- "text",
7419
- )
7418
+ "text"
7419
+ )
7420
7420
  : /*#__PURE__*/ jsx(
7421
7421
  "span",
7422
7422
  {
7423
7423
  className: CSS.element(baseClass, "baseline"),
7424
7424
  children: "\xA0",
7425
7425
  },
7426
- "baseline",
7427
- ),
7426
+ "baseline"
7427
+ ),
7428
7428
  ]);
7429
7429
  };
7430
7430
  _proto.renderValue = function renderValue(context, _ref) {
@@ -7511,7 +7511,7 @@ var CheckboxCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7511
7511
  }),
7512
7512
  ],
7513
7513
  },
7514
- "check",
7514
+ "check"
7515
7515
  );
7516
7516
  };
7517
7517
  _proto2.onClick = function onClick(e) {
@@ -7562,7 +7562,7 @@ var Radio = /*#__PURE__*/ (function (_Field) {
7562
7562
  required: undefined,
7563
7563
  text: undefined,
7564
7564
  },
7565
- ].concat(Array.prototype.slice.call(arguments)),
7565
+ ].concat(Array.prototype.slice.call(arguments))
7566
7566
  );
7567
7567
  };
7568
7568
  _proto.init = function init() {
@@ -7606,7 +7606,7 @@ var Radio = /*#__PURE__*/ (function (_Field) {
7606
7606
  htmlFor: data.id,
7607
7607
  children: [content, this.labelPlacement && getContent(this.renderLabel(context, instance, "label"))],
7608
7608
  },
7609
- key,
7609
+ key
7610
7610
  );
7611
7611
  };
7612
7612
  _proto.renderNativeCheck = function renderNativeCheck(context, instance) {
@@ -7630,9 +7630,9 @@ var Radio = /*#__PURE__*/ (function (_Field) {
7630
7630
  onChange: function onChange(e) {
7631
7631
  _this2.handleChange(e, instance);
7632
7632
  },
7633
- },
7633
+ }
7634
7634
  ),
7635
- "input",
7635
+ "input"
7636
7636
  );
7637
7637
  };
7638
7638
  _proto.renderCheck = function renderCheck(context, instance) {
@@ -7642,7 +7642,7 @@ var Radio = /*#__PURE__*/ (function (_Field) {
7642
7642
  instance: instance,
7643
7643
  data: instance.data,
7644
7644
  },
7645
- "check",
7645
+ "check"
7646
7646
  );
7647
7647
  };
7648
7648
  _proto.renderInput = function renderInput(context, instance, key) {
@@ -7659,16 +7659,16 @@ var Radio = /*#__PURE__*/ (function (_Field) {
7659
7659
  className: CSS.element(baseClass, "text"),
7660
7660
  children: text,
7661
7661
  },
7662
- "text",
7663
- )
7662
+ "text"
7663
+ )
7664
7664
  : /*#__PURE__*/ jsx(
7665
7665
  "span",
7666
7666
  {
7667
7667
  className: CSS.element(baseClass, "baseline"),
7668
7668
  children: "\xA0",
7669
7669
  },
7670
- "baseline",
7671
- ),
7670
+ "baseline"
7671
+ ),
7672
7672
  ]);
7673
7673
  };
7674
7674
  _proto.handleClick = function handleClick(e, instance) {
@@ -7726,7 +7726,7 @@ var RadioCmp = /*#__PURE__*/ (function (_VDOM$Component) {
7726
7726
  onClick: this.onClick.bind(this),
7727
7727
  onKeyDown: this.onKeyDown.bind(this),
7728
7728
  },
7729
- "check",
7729
+ "check"
7730
7730
  );
7731
7731
  };
7732
7732
  _proto2.onClick = function onClick(e) {
@@ -7772,7 +7772,7 @@ var Select = /*#__PURE__*/ (function (_Field) {
7772
7772
  placeholder: undefined,
7773
7773
  icon: undefined,
7774
7774
  },
7775
- ].concat(Array.prototype.slice.call(arguments)),
7775
+ ].concat(Array.prototype.slice.call(arguments))
7776
7776
  );
7777
7777
  };
7778
7778
  _proto.init = function init() {
@@ -7795,7 +7795,7 @@ var Select = /*#__PURE__*/ (function (_Field) {
7795
7795
  icon: this.renderIcon(context, instance, "icon"),
7796
7796
  children: this.renderChildren(context, instance),
7797
7797
  },
7798
- key,
7798
+ key
7799
7799
  );
7800
7800
  };
7801
7801
  _proto.convert = function convert(value) {
@@ -7904,7 +7904,7 @@ var SelectComponent = /*#__PURE__*/ (function (_VDOM$Component) {
7904
7904
  focus: this.state.focus,
7905
7905
  error: state.visited && data.error,
7906
7906
  empty: data.empty && !data.placeholder,
7907
- }),
7907
+ })
7908
7908
  ),
7909
7909
  style: data.style,
7910
7910
  onMouseDown: stopPropagation,
@@ -7943,8 +7943,8 @@ var SelectComponent = /*#__PURE__*/ (function (_VDOM$Component) {
7943
7943
  return tooltipMouseLeave$1.apply(void 0, [e].concat(getFieldTooltip(instance)));
7944
7944
  },
7945
7945
  children: [placeholder, this.props.children],
7946
- },
7947
- ),
7946
+ }
7947
+ )
7948
7948
  ),
7949
7949
  insideButton,
7950
7950
  icon,
@@ -8019,7 +8019,7 @@ var Option = /*#__PURE__*/ (function (_HtmlElement) {
8019
8019
  selected: undefined,
8020
8020
  text: undefined,
8021
8021
  },
8022
- ].concat(Array.prototype.slice.call(arguments)),
8022
+ ].concat(Array.prototype.slice.call(arguments))
8023
8023
  );
8024
8024
  };
8025
8025
  _proto3.prepareData = function prepareData(context, _ref) {
@@ -8035,7 +8035,7 @@ var Option = /*#__PURE__*/ (function (_HtmlElement) {
8035
8035
  value: data.value,
8036
8036
  children: data.text || this.renderChildren(context, instance),
8037
8037
  },
8038
- key,
8038
+ key
8039
8039
  );
8040
8040
  };
8041
8041
  return Option;
@@ -8063,10 +8063,10 @@ var ForwardIcon = registerIcon(
8063
8063
  d: "M6.15 15.5L10.5 10 6.17 4.53 5.52 5l3.98 5-4 5z",
8064
8064
  }),
8065
8065
  ],
8066
- }),
8066
+ })
8067
8067
  );
8068
8068
  },
8069
- true,
8069
+ true
8070
8070
  );
8071
8071
 
8072
8072
  var Calendar = /*#__PURE__*/ (function (_Field) {
@@ -8093,7 +8093,7 @@ var Calendar = /*#__PURE__*/ (function (_Field) {
8093
8093
  focusable: undefined,
8094
8094
  dayData: undefined,
8095
8095
  },
8096
- ].concat(Array.prototype.slice.call(arguments)),
8096
+ ].concat(Array.prototype.slice.call(arguments))
8097
8097
  );
8098
8098
  };
8099
8099
  _proto.init = function init() {
@@ -8154,7 +8154,7 @@ var Calendar = /*#__PURE__*/ (function (_Field) {
8154
8154
  return _this.handleSelect(e, instance, date);
8155
8155
  },
8156
8156
  },
8157
- key,
8157
+ key
8158
8158
  );
8159
8159
  };
8160
8160
  _proto.handleSelect = function handleSelect(e, instance, date) {
@@ -8216,7 +8216,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8216
8216
  cursor: zeroTime(data.date || refDate),
8217
8217
  activeView: "calendar",
8218
8218
  },
8219
- _this2.getPage(refDate),
8219
+ _this2.getPage(refDate)
8220
8220
  );
8221
8221
  _this2.handleMouseMove = _this2.handleMouseMove.bind(_this2);
8222
8222
  _this2.handleMouseDown = _this2.handleMouseDown.bind(_this2);
@@ -8255,7 +8255,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8255
8255
  this.setState(
8256
8256
  _extends({}, this.getPage(refDate), {
8257
8257
  cursor: date,
8258
- }),
8258
+ })
8259
8259
  );
8260
8260
  };
8261
8261
  _proto2.move = function move(e, period, delta) {
@@ -8397,7 +8397,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8397
8397
  this.setState(
8398
8398
  _extends({}, this.getPage(data.date), {
8399
8399
  value: data.date,
8400
- }),
8400
+ })
8401
8401
  );
8402
8402
  tooltipParentWillReceiveProps$1.apply(void 0, [this.el].concat(getFieldTooltip(props.instance)));
8403
8403
  };
@@ -8420,7 +8420,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8420
8420
  _extends({}, this.getPage(refDate), {
8421
8421
  refDate: refDate,
8422
8422
  activeView: "calendar",
8423
- }),
8423
+ })
8424
8424
  );
8425
8425
  };
8426
8426
  _proto2.renderYearPicker = function renderYearPicker() {
@@ -8482,11 +8482,11 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8482
8482
  },
8483
8483
  children: year,
8484
8484
  },
8485
- year,
8485
+ year
8486
8486
  );
8487
8487
  }),
8488
8488
  },
8489
- rowIndex,
8489
+ rowIndex
8490
8490
  );
8491
8491
  }),
8492
8492
  }),
@@ -8526,7 +8526,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8526
8526
  today: widget.highlightToday && sameDate(date, today),
8527
8527
  }),
8528
8528
  dayInfo.className,
8529
- CSS.mod(dayInfo.mod),
8529
+ CSS.mod(dayInfo.mod)
8530
8530
  );
8531
8531
  var dateInst = new Date(date);
8532
8532
  days.push(
@@ -8542,8 +8542,8 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8542
8542
  onMouseDown: unselectable ? null : this.handleMouseDown,
8543
8543
  children: date.getDate(),
8544
8544
  },
8545
- i,
8546
- ),
8545
+ i
8546
+ )
8547
8547
  );
8548
8548
  date.setDate(date.getDate() + 1);
8549
8549
  }
@@ -8554,8 +8554,8 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8554
8554
  className: CSS.element(baseClass, "week"),
8555
8555
  children: [/*#__PURE__*/ jsx("td", {}), days, /*#__PURE__*/ jsx("td", {})],
8556
8556
  },
8557
- weeks.length,
8558
- ),
8557
+ weeks.length
8558
+ )
8559
8559
  );
8560
8560
  }
8561
8561
  var culture = Culture.getDateTimeCulture();
@@ -8641,7 +8641,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8641
8641
  }),
8642
8642
  /*#__PURE__*/ jsx("td", {
8643
8643
  onClick: function onClick(e) {
8644
- return _this5.move(e, "m", +1);
8644
+ return _this5.move(e, "m", 1);
8645
8645
  },
8646
8646
  children: /*#__PURE__*/ jsx(DropdownIcon, {
8647
8647
  className: CSS.element(baseClass, "icon-next-month"),
@@ -8649,7 +8649,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8649
8649
  }),
8650
8650
  /*#__PURE__*/ jsx("td", {
8651
8651
  onClick: function onClick(e) {
8652
- return _this5.move(e, "y", +1);
8652
+ return _this5.move(e, "y", 1);
8653
8653
  },
8654
8654
  children: /*#__PURE__*/ jsx(ForwardIcon, {
8655
8655
  className: CSS.element(baseClass, "icon-next-year"),
@@ -8658,7 +8658,7 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8658
8658
  /*#__PURE__*/ jsx("td", {}),
8659
8659
  ],
8660
8660
  },
8661
- "h",
8661
+ "h"
8662
8662
  ),
8663
8663
  /*#__PURE__*/ jsxs(
8664
8664
  "tr",
@@ -8672,13 +8672,13 @@ var CalendarCmp = /*#__PURE__*/ (function (_VDOM$Component) {
8672
8672
  {
8673
8673
  children: name,
8674
8674
  },
8675
- i,
8675
+ i
8676
8676
  );
8677
8677
  }),
8678
8678
  /*#__PURE__*/ jsx("td", {}),
8679
8679
  ],
8680
8680
  },
8681
- "d",
8681
+ "d"
8682
8682
  ),
8683
8683
  ],
8684
8684
  }),
@@ -8725,11 +8725,11 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
8725
8725
  ? {
8726
8726
  values: undefined,
8727
8727
  records: undefined,
8728
- }
8728
+ }
8729
8729
  : {
8730
8730
  value: undefined,
8731
8731
  text: undefined,
8732
- };
8732
+ };
8733
8733
  (_Field$prototype$decl = _Field.prototype.declareData).call.apply(
8734
8734
  _Field$prototype$decl,
8735
8735
  [
@@ -8748,7 +8748,7 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
8748
8748
  },
8749
8749
  },
8750
8750
  additionalAttributes,
8751
- ].concat(Array.prototype.slice.call(arguments)),
8751
+ ].concat(Array.prototype.slice.call(arguments))
8752
8752
  );
8753
8753
  };
8754
8754
  _proto.init = function init() {
@@ -8853,14 +8853,14 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
8853
8853
  $value: $value,
8854
8854
  });
8855
8855
  });
8856
- }),
8856
+ })
8857
8857
  );
8858
8858
  } else {
8859
8859
  var dataViewData = store.getData();
8860
8860
  data.selectedKeys.push(
8861
8861
  this.keyBindings.map(function (b) {
8862
8862
  return Binding.get(b.local).value(dataViewData);
8863
- }),
8863
+ })
8864
8864
  );
8865
8865
  if (!this.text && isArray(data.options)) {
8866
8866
  var option = data.options.find(function ($option) {
@@ -8868,7 +8868,7 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
8868
8868
  getOptionKey(_this.keyBindings, {
8869
8869
  $option: $option,
8870
8870
  }),
8871
- data.selectedKeys[0],
8871
+ data.selectedKeys[0]
8872
8872
  );
8873
8873
  });
8874
8874
  data.text = (option && option[this.optionTextField]) || "";
@@ -8891,7 +8891,7 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
8891
8891
  forceUpdate: context.forceUpdate,
8892
8892
  icon: this.renderIcon(context, instance, "icon"),
8893
8893
  },
8894
- key,
8894
+ key
8895
8895
  );
8896
8896
  };
8897
8897
  _proto.filterOptions = function filterOptions(instance, options, query) {
@@ -8925,7 +8925,7 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
8925
8925
  ? _this$onGetRecordDisp
8926
8926
  : function (record) {
8927
8927
  return record[_this3.valueTextField] || record[_this3.valueIdField];
8928
- };
8928
+ };
8929
8929
  return records.map(function (record) {
8930
8930
  return valueTextFormatter(record, instance);
8931
8931
  });
@@ -9109,7 +9109,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9109
9109
  x,
9110
9110
  _this7.getOptionKey({
9111
9111
  $option: data,
9112
- }),
9112
+ })
9113
9113
  );
9114
9114
  }) != null
9115
9115
  );
@@ -9168,7 +9168,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9168
9168
  _this7.closeDropdown(null, true);
9169
9169
  return false;
9170
9170
  },
9171
- },
9171
+ }
9172
9172
  );
9173
9173
  return (this.dropdown = Widget.create(dropdown));
9174
9174
  };
@@ -9191,7 +9191,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9191
9191
  className: CSS.element(baseClass, "message", "loading"),
9192
9192
  children: widget.loadingText,
9193
9193
  },
9194
- "msg",
9194
+ "msg"
9195
9195
  );
9196
9196
  } else if (this.state.status == "error") {
9197
9197
  content = /*#__PURE__*/ jsx(
@@ -9200,7 +9200,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9200
9200
  className: CSS.element(baseClass, "message", "error"),
9201
9201
  children: widget.queryErrorText,
9202
9202
  },
9203
- "msg",
9203
+ "msg"
9204
9204
  );
9205
9205
  } else if (this.state.status == "info") {
9206
9206
  content = /*#__PURE__*/ jsx(
@@ -9209,7 +9209,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9209
9209
  className: CSS.element(baseClass, "message", "info"),
9210
9210
  children: this.state.message,
9211
9211
  },
9212
- "msg",
9212
+ "msg"
9213
9213
  );
9214
9214
  } else if (this.state.options.length == 0) {
9215
9215
  content = /*#__PURE__*/ jsx(
@@ -9218,7 +9218,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9218
9218
  className: CSS.element(baseClass, "message", "no-results"),
9219
9219
  children: widget.noResultsText,
9220
9220
  },
9221
- "msg",
9221
+ "msg"
9222
9222
  );
9223
9223
  } else {
9224
9224
  content = /*#__PURE__*/ jsx(
@@ -9238,7 +9238,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9238
9238
  },
9239
9239
  }),
9240
9240
  },
9241
- "msg",
9241
+ "msg"
9242
9242
  );
9243
9243
  }
9244
9244
  return /*#__PURE__*/ jsxs(
@@ -9276,12 +9276,12 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9276
9276
  return _this8.onQueryBlur(e);
9277
9277
  },
9278
9278
  },
9279
- "query",
9279
+ "query"
9280
9280
  ),
9281
9281
  content,
9282
9282
  ],
9283
9283
  },
9284
- "dropdown",
9284
+ "dropdown"
9285
9285
  );
9286
9286
  };
9287
9287
  _proto3.onListWheel = function onListWheel(e) {
@@ -9345,7 +9345,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9345
9345
  },
9346
9346
  children: iconVDOM,
9347
9347
  },
9348
- "icon",
9348
+ "icon"
9349
9349
  );
9350
9350
  var dropdown;
9351
9351
  if (this.state.dropdownOpen) {
@@ -9382,7 +9382,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9382
9382
  className: CSS.element(baseClass, "icon"),
9383
9383
  }),
9384
9384
  },
9385
- "ib",
9385
+ "ib"
9386
9386
  );
9387
9387
  } else {
9388
9388
  insideButton = /*#__PURE__*/ jsx(
@@ -9399,7 +9399,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9399
9399
  className: CSS.element(baseClass, "icon"),
9400
9400
  }),
9401
9401
  },
9402
- "ib",
9402
+ "ib"
9403
9403
  );
9404
9404
  }
9405
9405
  }
@@ -9413,7 +9413,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9413
9413
  ? _widget$onGetRecordDi
9414
9414
  : function (record) {
9415
9415
  return record[widget.valueTextField];
9416
- };
9416
+ };
9417
9417
  text = data.records.map(function (v, i) {
9418
9418
  return /*#__PURE__*/ jsxs(
9419
9419
  "div",
@@ -9442,7 +9442,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9442
9442
  }),
9443
9443
  ],
9444
9444
  },
9445
- i,
9445
+ i
9446
9446
  );
9447
9447
  });
9448
9448
  } else {
@@ -9534,7 +9534,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9534
9534
  if (e.keyCode != KeyCode.tab) e.preventDefault();
9535
9535
  };
9536
9536
  _proto3.onClearClick = function onClearClick(e, value) {
9537
- var _this10 = this;
9537
+ var _this0 = this;
9538
9538
  var instance = this.props.instance;
9539
9539
  var data = instance.data,
9540
9540
  store = instance.store,
@@ -9549,16 +9549,16 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9549
9549
  });
9550
9550
  var newRecords = data.records.filter(function (v) {
9551
9551
  return !areKeysEqual(
9552
- _this10.getLocalKey({
9552
+ _this0.getLocalKey({
9553
9553
  $value: v,
9554
9554
  }),
9555
- itemKey,
9555
+ itemKey
9556
9556
  );
9557
9557
  });
9558
9558
  instance.set("records", newRecords);
9559
9559
  var newValues = newRecords
9560
9560
  .map(function (rec) {
9561
- return _this10.getLocalKey({
9561
+ return _this0.getLocalKey({
9562
9562
  $value: rec,
9563
9563
  });
9564
9564
  })
@@ -9580,7 +9580,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9580
9580
  instance.set("values", []);
9581
9581
  };
9582
9582
  _proto3.select = function select(e, itemsData, reset) {
9583
- var _this11 = this;
9583
+ var _this1 = this;
9584
9584
  var instance = this.props.instance;
9585
9585
  var store = instance.store,
9586
9586
  data = instance.data,
@@ -9605,9 +9605,9 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9605
9605
  newRecords = records.filter(function (v) {
9606
9606
  return !areKeysEqual(
9607
9607
  optionKey,
9608
- _this11.getLocalKey({
9608
+ _this1.getLocalKey({
9609
9609
  $value: v,
9610
- }),
9610
+ })
9611
9611
  );
9612
9612
  });
9613
9613
  } else {
@@ -9624,7 +9624,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9624
9624
  instance.set("records", newRecords);
9625
9625
  var newValues = newRecords
9626
9626
  .map(function (rec) {
9627
- return _this11.getLocalKey({
9627
+ return _this1.getLocalKey({
9628
9628
  $value: rec,
9629
9629
  });
9630
9630
  })
@@ -9751,15 +9751,15 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9751
9751
  else this.openDropdown(e);
9752
9752
  };
9753
9753
  _proto3.closeDropdown = function closeDropdown(e, keepFocus) {
9754
- var _this12 = this;
9754
+ var _this10 = this;
9755
9755
  if (this.state.dropdownOpen) {
9756
9756
  this.setState(
9757
9757
  {
9758
9758
  dropdownOpen: false,
9759
9759
  },
9760
9760
  function () {
9761
- return keepFocus && _this12.dom.input.focus();
9762
- },
9761
+ return keepFocus && _this10.dom.input.focus();
9762
+ }
9763
9763
  );
9764
9764
  this.props.instance.setState({
9765
9765
  visited: true,
@@ -9770,7 +9770,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9770
9770
  delete this.tmpCachedResult;
9771
9771
  };
9772
9772
  _proto3.openDropdown = function openDropdown(e) {
9773
- var _this13 = this;
9773
+ var _this11 = this;
9774
9774
  var instance = this.props.instance;
9775
9775
  var data = instance.data;
9776
9776
  if (!this.state.dropdownOpen && !data.disabled && !data.readOnly) {
@@ -9780,13 +9780,13 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9780
9780
  dropdownOpen: true,
9781
9781
  },
9782
9782
  function () {
9783
- if (_this13.dom.dropdown) _this13.dom.dropdown.focus();
9784
- },
9783
+ if (_this11.dom.dropdown) _this11.dom.dropdown.focus();
9784
+ }
9785
9785
  );
9786
9786
  }
9787
9787
  };
9788
9788
  _proto3.query = function query(q) {
9789
- var _this14 = this;
9789
+ var _this12 = this;
9790
9790
  /*
9791
9791
  In fetchAll mode onQuery should fetch all data and after
9792
9792
  that everything is done filtering is done client-side.
@@ -9828,8 +9828,8 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9828
9828
  });
9829
9829
  }
9830
9830
  this.queryTimeoutId = setTimeout(function () {
9831
- delete _this14.queryTimeoutId;
9832
- var result = _this14.tmpCachedResult || _this14.cachedResult;
9831
+ delete _this12.queryTimeoutId;
9832
+ var result = _this12.tmpCachedResult || _this12.cachedResult;
9833
9833
  var query = fetchAll ? "" : q;
9834
9834
  var params = !widget.infinite
9835
9835
  ? query
@@ -9837,20 +9837,20 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9837
9837
  query: query,
9838
9838
  page: 1,
9839
9839
  pageSize: pageSize,
9840
- };
9840
+ };
9841
9841
  if (!result) result = instance.invoke("onQuery", params, instance);
9842
- var queryId = (_this14.lastQueryId = Date.now());
9842
+ var queryId = (_this12.lastQueryId = Date.now());
9843
9843
  Promise.resolve(result)
9844
9844
  .then(function (results) {
9845
9845
  //discard results which do not belong to the last query
9846
- if (queryId !== _this14.lastQueryId) return;
9846
+ if (queryId !== _this12.lastQueryId) return;
9847
9847
  if (!isArray(results)) results = [];
9848
9848
  if (fetchAll) {
9849
- if (cacheAll) _this14.cachedResult = results;
9850
- else _this14.tmpCachedResult = results;
9851
- results = widget.filterOptions(_this14.props.instance, results, _this14.lastQuery);
9849
+ if (cacheAll) _this12.cachedResult = results;
9850
+ else _this12.tmpCachedResult = results;
9851
+ results = widget.filterOptions(_this12.props.instance, results, _this12.lastQuery);
9852
9852
  }
9853
- _this14.setState(
9853
+ _this12.setState(
9854
9854
  {
9855
9855
  page: 1,
9856
9856
  query: query,
@@ -9858,12 +9858,12 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9858
9858
  status: "loaded",
9859
9859
  },
9860
9860
  function () {
9861
- if (widget.infinite) _this14.onListScroll();
9862
- },
9861
+ if (widget.infinite) _this12.onListScroll();
9862
+ }
9863
9863
  );
9864
9864
  })
9865
9865
  ["catch"](function (err) {
9866
- _this14.setState({
9866
+ _this12.setState({
9867
9867
  status: "error",
9868
9868
  });
9869
9869
  debug("Lookup query error:", err);
@@ -9872,7 +9872,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9872
9872
  }
9873
9873
  };
9874
9874
  _proto3.loadAdditionalOptionPages = function loadAdditionalOptionPages() {
9875
- var _this15 = this;
9875
+ var _this13 = this;
9876
9876
  var instance = this.props.instance;
9877
9877
  var widget = instance.widget;
9878
9878
  if (!widget.infinite) return;
@@ -9896,24 +9896,24 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9896
9896
  Promise.resolve(result)
9897
9897
  .then(function (results) {
9898
9898
  //discard results which do not belong to the last query
9899
- if (_this15.extraPageLoadingBlocker !== blockerKey) return;
9900
- _this15.extraPageLoadingBlocker = false;
9899
+ if (_this13.extraPageLoadingBlocker !== blockerKey) return;
9900
+ _this13.extraPageLoadingBlocker = false;
9901
9901
  if (!isArray(results)) return;
9902
- _this15.setState(
9902
+ _this13.setState(
9903
9903
  {
9904
9904
  page: params.page,
9905
9905
  query: query,
9906
9906
  options: [].concat(options, results),
9907
9907
  },
9908
9908
  function () {
9909
- _this15.onListScroll();
9910
- },
9909
+ _this13.onListScroll();
9910
+ }
9911
9911
  );
9912
9912
  })
9913
9913
  ["catch"](function (err) {
9914
- if (_this15.extraPageLoadingBlocker !== blockerKey) return;
9915
- _this15.extraPageLoadingBlocker = false;
9916
- _this15.setState({
9914
+ if (_this13.extraPageLoadingBlocker !== blockerKey) return;
9915
+ _this13.extraPageLoadingBlocker = false;
9916
+ _this13.setState({
9917
9917
  status: "error",
9918
9918
  });
9919
9919
  debug("Lookup query error:", err);
@@ -9936,7 +9936,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9936
9936
  this.subscribeListOnWheel(null);
9937
9937
  };
9938
9938
  _proto3.subscribeListOnWheel = function subscribeListOnWheel(list) {
9939
- var _this16 = this;
9939
+ var _this14 = this;
9940
9940
  if (this.unsubscribeListOnWheel) {
9941
9941
  this.unsubscribeListOnWheel();
9942
9942
  this.unsubscribeListOnWheel = null;
@@ -9946,16 +9946,16 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9946
9946
  list,
9947
9947
  "wheel",
9948
9948
  function (e) {
9949
- return _this16.onListWheel(e);
9949
+ return _this14.onListWheel(e);
9950
9950
  },
9951
9951
  {
9952
9952
  passive: false,
9953
- },
9953
+ }
9954
9954
  );
9955
9955
  }
9956
9956
  };
9957
9957
  _proto3.subscribeListOnScroll = function subscribeListOnScroll(list) {
9958
- var _this17 = this;
9958
+ var _this15 = this;
9959
9959
  if (this.unsubscribeListOnScroll) {
9960
9960
  this.unsubscribeListOnScroll();
9961
9961
  this.unsubscribeListOnScroll = null;
@@ -9965,11 +9965,11 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9965
9965
  list,
9966
9966
  "scroll",
9967
9967
  function (e) {
9968
- return _this17.onListScroll(e);
9968
+ return _this15.onListScroll(e);
9969
9969
  },
9970
9970
  {
9971
9971
  passive: false,
9972
- },
9972
+ }
9973
9973
  );
9974
9974
  }
9975
9975
  };
@@ -10019,7 +10019,7 @@ var NumberField = /*#__PURE__*/ (function (_Field) {
10019
10019
  scale: undefined,
10020
10020
  offset: undefined,
10021
10021
  },
10022
- ].concat(Array.prototype.slice.call(arguments)),
10022
+ ].concat(Array.prototype.slice.call(arguments))
10023
10023
  );
10024
10024
  };
10025
10025
  _proto.init = function init() {
@@ -10075,7 +10075,7 @@ var NumberField = /*#__PURE__*/ (function (_Field) {
10075
10075
  help: this.helpPlacement && getContent(this.renderHelp(context, instance, "help")),
10076
10076
  icon: this.renderIcon(context, instance, "icon"),
10077
10077
  },
10078
- key,
10078
+ key
10079
10079
  );
10080
10080
  };
10081
10081
  _proto.validateRequired = function validateRequired(context, instance) {
@@ -10161,7 +10161,7 @@ var Input$1 = /*#__PURE__*/ (function (_VDOM$Component) {
10161
10161
  icon: !!icon,
10162
10162
  empty: empty && !data.placeholder,
10163
10163
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !empty),
10164
- }),
10164
+ })
10165
10165
  ),
10166
10166
  style: data.style,
10167
10167
  onMouseDown: stopPropagation,
@@ -10206,8 +10206,8 @@ var Input$1 = /*#__PURE__*/ (function (_VDOM$Component) {
10206
10206
  _this2.onChange(e, "wheel");
10207
10207
  },
10208
10208
  onClick: stopPropagation,
10209
- },
10210
- ),
10209
+ }
10210
+ )
10211
10211
  ),
10212
10212
  insideButton,
10213
10213
  icon,
@@ -10243,7 +10243,7 @@ var Input$1 = /*#__PURE__*/ (function (_VDOM$Component) {
10243
10243
  value: this.input.value,
10244
10244
  },
10245
10245
  },
10246
- "blur",
10246
+ "blur"
10247
10247
  );
10248
10248
  }
10249
10249
  tooltipParentWillUnmount$1(this.props.instance);
@@ -10448,7 +10448,7 @@ var TextArea = /*#__PURE__*/ (function (_TextField) {
10448
10448
  {
10449
10449
  rows: undefined,
10450
10450
  },
10451
- ].concat(Array.prototype.slice.call(arguments)),
10451
+ ].concat(Array.prototype.slice.call(arguments))
10452
10452
  );
10453
10453
  };
10454
10454
  _proto.prepareData = function prepareData(context, instance) {
@@ -10467,7 +10467,7 @@ var TextArea = /*#__PURE__*/ (function (_TextField) {
10467
10467
  label: this.labelPlacement && getContent(this.renderLabel(context, instance, "label")),
10468
10468
  help: this.helpPlacement && getContent(this.renderHelp(context, instance, "help")),
10469
10469
  },
10470
- key,
10470
+ key
10471
10471
  );
10472
10472
  };
10473
10473
  _proto.validateRequired = function validateRequired(context, instance) {
@@ -10510,7 +10510,7 @@ var Input = /*#__PURE__*/ (function (_VDOM$Component) {
10510
10510
  focus: this.state.focus,
10511
10511
  empty: empty && !data.placeholder,
10512
10512
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !empty),
10513
- }),
10513
+ })
10514
10514
  ),
10515
10515
  style: data.style,
10516
10516
  onMouseDown: stopPropagation,
@@ -10557,8 +10557,8 @@ var Input = /*#__PURE__*/ (function (_VDOM$Component) {
10557
10557
  onMouseLeave: function onMouseLeave(e) {
10558
10558
  return tooltipMouseLeave$1.apply(void 0, [e].concat(getFieldTooltip(instance)));
10559
10559
  },
10560
- },
10561
- ),
10560
+ }
10561
+ )
10562
10562
  ),
10563
10563
  label,
10564
10564
  help,
@@ -10660,7 +10660,7 @@ var ValidationGroup = /*#__PURE__*/ (function (_PureContainer) {
10660
10660
  strict: undefined,
10661
10661
  asterisk: undefined,
10662
10662
  },
10663
- ]),
10663
+ ])
10664
10664
  );
10665
10665
  };
10666
10666
  _proto.explore = function explore(context, instance) {
@@ -10725,7 +10725,7 @@ var LabeledContainer = /*#__PURE__*/ (function (_FieldGroup) {
10725
10725
  {
10726
10726
  label: undefined,
10727
10727
  },
10728
- ].concat(Array.prototype.slice.call(arguments)),
10728
+ ].concat(Array.prototype.slice.call(arguments))
10729
10729
  );
10730
10730
  };
10731
10731
  _proto.init = function init() {
@@ -10752,7 +10752,7 @@ var LabeledContainer = /*#__PURE__*/ (function (_FieldGroup) {
10752
10752
  {
10753
10753
  label: this.label,
10754
10754
  },
10755
- ]),
10755
+ ])
10756
10756
  );
10757
10757
  };
10758
10758
  _proto.renderLabel = function renderLabel(context, instance, key) {
@@ -10807,7 +10807,7 @@ var MonthPicker = /*#__PURE__*/ (function (_Field) {
10807
10807
  maxValue: undefined,
10808
10808
  maxExclusive: undefined,
10809
10809
  },
10810
- ].concat(Array.prototype.slice.call(arguments)),
10810
+ ].concat(Array.prototype.slice.call(arguments))
10811
10811
  );
10812
10812
  };
10813
10813
  _proto.init = function init() {
@@ -10834,7 +10834,7 @@ var MonthPicker = /*#__PURE__*/ (function (_Field) {
10834
10834
  instance.isMonthDateSelectable = instance.invoke(
10835
10835
  "onCreateIsMonthDateSelectable",
10836
10836
  data.validationParams,
10837
- instance,
10837
+ instance
10838
10838
  );
10839
10839
  }
10840
10840
  _Field.prototype.prepareData.apply(this, arguments);
@@ -10868,7 +10868,7 @@ var MonthPicker = /*#__PURE__*/ (function (_Field) {
10868
10868
  onKeyDown: this.onKeyDown,
10869
10869
  autoFocus: this.autoFocus,
10870
10870
  },
10871
- key,
10871
+ key
10872
10872
  );
10873
10873
  };
10874
10874
  _proto.handleSelect = function handleSelect(e, instance, date1, date2) {
@@ -11051,7 +11051,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11051
11051
  },
11052
11052
  {
11053
11053
  ensureVisible: true,
11054
- },
11054
+ }
11055
11055
  );
11056
11056
  else if (column == "Q")
11057
11057
  this.moveCursor(
@@ -11062,7 +11062,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11062
11062
  },
11063
11063
  {
11064
11064
  ensureVisible: true,
11065
- },
11065
+ }
11066
11066
  );
11067
11067
  else if (column == "M")
11068
11068
  if (cursorMonth > 3)
@@ -11073,7 +11073,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11073
11073
  },
11074
11074
  {
11075
11075
  ensureVisible: true,
11076
- },
11076
+ }
11077
11077
  );
11078
11078
  else
11079
11079
  this.moveCursor(
@@ -11084,7 +11084,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11084
11084
  },
11085
11085
  {
11086
11086
  ensureVisible: true,
11087
- },
11087
+ }
11088
11088
  );
11089
11089
  break;
11090
11090
  case KeyCode.down:
@@ -11096,7 +11096,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11096
11096
  },
11097
11097
  {
11098
11098
  ensureVisible: true,
11099
- },
11099
+ }
11100
11100
  );
11101
11101
  else if (column == "Q")
11102
11102
  this.moveCursor(
@@ -11107,7 +11107,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11107
11107
  },
11108
11108
  {
11109
11109
  ensureVisible: true,
11110
- },
11110
+ }
11111
11111
  );
11112
11112
  else if (column == "M")
11113
11113
  if (cursorMonth < 10)
@@ -11118,7 +11118,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11118
11118
  },
11119
11119
  {
11120
11120
  ensureVisible: true,
11121
- },
11121
+ }
11122
11122
  );
11123
11123
  else
11124
11124
  this.moveCursor(
@@ -11129,7 +11129,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11129
11129
  },
11130
11130
  {
11131
11131
  ensureVisible: true,
11132
- },
11132
+ }
11133
11133
  );
11134
11134
  break;
11135
11135
  case KeyCode.pageUp:
@@ -11213,8 +11213,8 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11213
11213
  {
11214
11214
  state: "drag",
11215
11215
  },
11216
- cursor,
11217
- ),
11216
+ cursor
11217
+ )
11218
11218
  );
11219
11219
  }
11220
11220
  };
@@ -11321,15 +11321,15 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11321
11321
  }),
11322
11322
  CSS.state({
11323
11323
  unselectable: unselectableYear,
11324
- }),
11324
+ })
11325
11325
  ),
11326
11326
  onMouseEnter: unselectableYear ? null : this.handleMouseEnter,
11327
11327
  onMouseDown: unselectableYear ? null : this.handleMouseDown,
11328
11328
  onMouseUp: unselectableYear ? null : this.handleMouseUp,
11329
11329
  children: y,
11330
11330
  },
11331
- "year",
11332
- ),
11331
+ "year"
11332
+ )
11333
11333
  );
11334
11334
  }
11335
11335
  for (var _i = 0; _i < 3; _i++) {
@@ -11357,8 +11357,8 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11357
11357
  onTouchEnd: this.handleMouseUp,
11358
11358
  children: monthNames[m - 1].substr(0, 3),
11359
11359
  },
11360
- "M" + m,
11361
- ),
11360
+ "M" + m
11361
+ )
11362
11362
  );
11363
11363
  }
11364
11364
  if (!hideQuarters) {
@@ -11389,8 +11389,8 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11389
11389
  onMouseUp: unselectableQuarter ? null : this.handleMouseUp,
11390
11390
  children: "Q" + (q + 1),
11391
11391
  },
11392
- "q" + q,
11393
- ),
11392
+ "q" + q
11393
+ )
11394
11394
  );
11395
11395
  }
11396
11396
  rows.push(row);
@@ -11436,11 +11436,11 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11436
11436
  {
11437
11437
  children: cells,
11438
11438
  },
11439
- i,
11439
+ i
11440
11440
  );
11441
11441
  }),
11442
11442
  },
11443
- start + y,
11443
+ start + y
11444
11444
  );
11445
11445
  }),
11446
11446
  }),
@@ -11461,7 +11461,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11461
11461
  var visibleItems = ceil5(Math.ceil(this.dom.el.offsetHeight / this.state.yearHeight));
11462
11462
  var start = Math.max(
11463
11463
  startYear,
11464
- startYear + floor5(Math.floor(this.dom.el.scrollTop / this.state.yearHeight)) - visibleItems,
11464
+ startYear + floor5(Math.floor(this.dom.el.scrollTop / this.state.yearHeight)) - visibleItems
11465
11465
  );
11466
11466
  if (start != this.state.start && start + bufferSize <= endYear) {
11467
11467
  this.setState({
@@ -11499,7 +11499,7 @@ var MonthPickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
11499
11499
  _this4.dom.el.scrollTop =
11500
11500
  (_this4.state.cursorYear - startYear + yearCount / 2) * _this4.state.yearHeight -
11501
11501
  _this4.dom.el.offsetHeight / 2;
11502
- },
11502
+ }
11503
11503
  );
11504
11504
  };
11505
11505
  _proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
@@ -11532,10 +11532,10 @@ var PixelPickerIcon = registerIcon(
11532
11532
  d: "M27.7,3.3c-1.5-1.5-3.9-1.5-5.4,0L17,8.6l-1.3-1.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l1.3,1.3L5,20.6 c-0.6,0.6-1,1.4-1.1,2.3C3.3,23.4,3,24.2,3,25c0,1.7,1.3,3,3,3c0.8,0,1.6-0.3,2.2-0.9C9,27,9.8,26.6,10.4,26L21,15.4l1.3,1.3 c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L22.4,14l5.3-5.3C29.2,7.2,29.2,4.8,27.7,3.3z M9,24.6 c-0.4,0.4-0.8,0.6-1.3,0.5c-0.4,0-0.7,0.2-0.9,0.5C6.7,25.8,6.3,26,6,26c-0.6,0-1-0.4-1-1c0-0.3,0.2-0.7,0.5-0.8 c0.3-0.2,0.5-0.5,0.5-0.9c0-0.5,0.2-1,0.5-1.3L17,11.4l2.6,2.6L9,24.6z",
11533
11533
  fill: "currentColor",
11534
11534
  }),
11535
- }),
11535
+ })
11536
11536
  );
11537
11537
  },
11538
- true,
11538
+ true
11539
11539
  );
11540
11540
 
11541
11541
  var ColorPicker = /*#__PURE__*/ (function (_Field) {
@@ -11554,7 +11554,7 @@ var ColorPicker = /*#__PURE__*/ (function (_Field) {
11554
11554
  value: this.emptyValue,
11555
11555
  format: undefined,
11556
11556
  },
11557
- ].concat(Array.prototype.slice.call(arguments)),
11557
+ ].concat(Array.prototype.slice.call(arguments))
11558
11558
  );
11559
11559
  };
11560
11560
  _proto.renderInput = function renderInput(context, instance, key) {
@@ -11563,7 +11563,7 @@ var ColorPicker = /*#__PURE__*/ (function (_Field) {
11563
11563
  {
11564
11564
  instance: instance,
11565
11565
  },
11566
- key,
11566
+ key
11567
11567
  );
11568
11568
  };
11569
11569
  _proto.handleEvent = function handleEvent(eventType, instance, color) {
@@ -12141,7 +12141,7 @@ var MonthField = /*#__PURE__*/ (function (_Field) {
12141
12141
  maxExclusive: undefined,
12142
12142
  icon: undefined,
12143
12143
  },
12144
- ].concat(Array.prototype.slice.call(arguments)),
12144
+ ].concat(Array.prototype.slice.call(arguments))
12145
12145
  );
12146
12146
  };
12147
12147
  _proto.isEmpty = function isEmpty(data) {
@@ -12226,7 +12226,7 @@ var MonthField = /*#__PURE__*/ (function (_Field) {
12226
12226
  help: this.helpPlacement && getContent(this.renderHelp(context, instance, "help")),
12227
12227
  icon: this.renderIcon(context, instance, "icon"),
12228
12228
  },
12229
- key,
12229
+ key
12230
12230
  );
12231
12231
  };
12232
12232
  _proto.formatValue = function formatValue(context, _ref) {
@@ -12331,11 +12331,11 @@ var MonthInput = /*#__PURE__*/ (function (_VDOM$Component) {
12331
12331
  if (!touch) _this2.input.focus();
12332
12332
  });
12333
12333
  },
12334
- },
12334
+ }
12335
12335
  ),
12336
12336
  constrain: true,
12337
12337
  firstChildDefinesWidth: true,
12338
- },
12338
+ }
12339
12339
  );
12340
12340
  return (this.dropdown = Widget.create(dropdown));
12341
12341
  };
@@ -12405,7 +12405,7 @@ var MonthInput = /*#__PURE__*/ (function (_VDOM$Component) {
12405
12405
  icon: !!icon,
12406
12406
  empty: empty && !data.placeholder,
12407
12407
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !empty),
12408
- }),
12408
+ })
12409
12409
  ),
12410
12410
  style: data.style,
12411
12411
  onMouseDown: this.onMouseDown.bind(this),
@@ -12532,7 +12532,7 @@ var MonthInput = /*#__PURE__*/ (function (_VDOM$Component) {
12532
12532
  {
12533
12533
  dropdownOpen: false,
12534
12534
  },
12535
- callback,
12535
+ callback
12536
12536
  );
12537
12537
  } else if (callback) callback();
12538
12538
  };
@@ -12620,7 +12620,7 @@ var ColorField = /*#__PURE__*/ (function (_Field) {
12620
12620
  required: undefined,
12621
12621
  format: undefined,
12622
12622
  },
12623
- ].concat(Array.prototype.slice.call(arguments)),
12623
+ ].concat(Array.prototype.slice.call(arguments))
12624
12624
  );
12625
12625
  };
12626
12626
  _proto.init = function init() {
@@ -12652,7 +12652,7 @@ var ColorField = /*#__PURE__*/ (function (_Field) {
12652
12652
  label: this.labelPlacement && getContent(this.renderLabel(context, instance, "label")),
12653
12653
  help: this.helpPlacement && getContent(this.renderHelp(context, instance, "help")),
12654
12654
  },
12655
- key,
12655
+ key
12656
12656
  );
12657
12657
  };
12658
12658
  return ColorField;
@@ -12713,7 +12713,7 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12713
12713
  if (!touch) _this2.input.focus();
12714
12714
  });
12715
12715
  },
12716
- },
12716
+ }
12717
12717
  ),
12718
12718
  onFocusOut: function onFocusOut() {
12719
12719
  _this2.closeDropdown();
@@ -12723,7 +12723,7 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12723
12723
  },
12724
12724
  firstChildDefinesHeight: true,
12725
12725
  firstChildDefinesWidth: true,
12726
- },
12726
+ }
12727
12727
  );
12728
12728
  return (this.dropdown = Widget.create(dropdown));
12729
12729
  };
@@ -12794,7 +12794,7 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12794
12794
  icon: true,
12795
12795
  empty: empty && !data.placeholder,
12796
12796
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !empty),
12797
- }),
12797
+ })
12798
12798
  ),
12799
12799
  style: data.style,
12800
12800
  onMouseDown: this.onMouseDown.bind(this),
@@ -12841,8 +12841,8 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12841
12841
  onMouseLeave: function onMouseLeave(e) {
12842
12842
  return tooltipMouseLeave$1.apply(void 0, [e].concat(getFieldTooltip(instance)));
12843
12843
  },
12844
- },
12845
- ),
12844
+ }
12845
+ )
12846
12846
  ),
12847
12847
  well,
12848
12848
  insideButton,
@@ -12922,7 +12922,7 @@ var ColorInput = /*#__PURE__*/ (function (_VDOM$Component) {
12922
12922
  {
12923
12923
  dropdownOpen: false,
12924
12924
  },
12925
- callback,
12925
+ callback
12926
12926
  );
12927
12927
  } else if (callback) callback();
12928
12928
  };
@@ -13019,7 +13019,7 @@ var UploadButton = /*#__PURE__*/ (function (_Field) {
13019
13019
  icon: undefined,
13020
13020
  accept: undefined,
13021
13021
  },
13022
- ].concat(Array.prototype.slice.call(arguments)),
13022
+ ].concat(Array.prototype.slice.call(arguments))
13023
13023
  );
13024
13024
  };
13025
13025
  _proto.renderInput = function renderInput(context, instance, key) {
@@ -13030,7 +13030,7 @@ var UploadButton = /*#__PURE__*/ (function (_Field) {
13030
13030
  instance: instance,
13031
13031
  children: data.text || this.renderChildren(context, instance),
13032
13032
  },
13033
- key,
13033
+ key
13034
13034
  );
13035
13035
  };
13036
13036
  return UploadButton;
@@ -13088,7 +13088,7 @@ var UploadButtonComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13088
13088
  width: this.state.progress + "%",
13089
13089
  },
13090
13090
  },
13091
- "progress",
13091
+ "progress"
13092
13092
  ),
13093
13093
  icon,
13094
13094
  children,
@@ -13104,7 +13104,7 @@ var UploadButtonComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13104
13104
  tabIndex: data.tabIndex,
13105
13105
  onChange: this.onFileSelected.bind(this),
13106
13106
  },
13107
- this.state.uploadKey,
13107
+ this.state.uploadKey
13108
13108
  ),
13109
13109
  ],
13110
13110
  });
@@ -13239,7 +13239,7 @@ var Slider = /*#__PURE__*/ (function (_Field) {
13239
13239
  },
13240
13240
  invert: false,
13241
13241
  },
13242
- ].concat(Array.prototype.slice.call(arguments)),
13242
+ ].concat(Array.prototype.slice.call(arguments))
13243
13243
  );
13244
13244
  };
13245
13245
  _proto.init = function init() {
@@ -13270,7 +13270,7 @@ var Slider = /*#__PURE__*/ (function (_Field) {
13270
13270
  data: instance.data,
13271
13271
  label: this.labelPlacement && getContent(this.renderLabel(context, instance, "label")),
13272
13272
  },
13273
- key,
13273
+ key
13274
13274
  );
13275
13275
  };
13276
13276
  return Slider;
@@ -13323,12 +13323,12 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13323
13323
  var fromHandleStyle = _extends(
13324
13324
  {},
13325
13325
  handleStyle,
13326
- ((_extends2 = {}), (_extends2[anchor] = (100 * (from - minValue)) / (maxValue - minValue) + "%"), _extends2),
13326
+ ((_extends2 = {}), (_extends2[anchor] = (100 * (from - minValue)) / (maxValue - minValue) + "%"), _extends2)
13327
13327
  );
13328
13328
  var toHandleStyle = _extends(
13329
13329
  {},
13330
13330
  handleStyle,
13331
- ((_extends3 = {}), (_extends3[anchor] = (100 * (to - minValue)) / (maxValue - minValue) + "%"), _extends3),
13331
+ ((_extends3 = {}), (_extends3[anchor] = (100 * (to - minValue)) / (maxValue - minValue) + "%"), _extends3)
13332
13332
  );
13333
13333
  var rangeStyle = _extends(
13334
13334
  {},
@@ -13336,7 +13336,7 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13336
13336
  ((_extends4 = {}),
13337
13337
  (_extends4[anchor] = (100 * rangeStart) / (maxValue - minValue) + "%"),
13338
13338
  (_extends4[widget.vertical ? "height" : "width"] = (100 * rangeSize) / (maxValue - minValue) + "%"),
13339
- _extends4),
13339
+ _extends4)
13340
13340
  );
13341
13341
  return /*#__PURE__*/ jsxs("div", {
13342
13342
  className: data.classNames,
@@ -13367,7 +13367,7 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13367
13367
  className: CSS.element(baseClass, "range"),
13368
13368
  style: rangeStyle,
13369
13369
  },
13370
- "range",
13370
+ "range"
13371
13371
  ),
13372
13372
  /*#__PURE__*/ jsxs(
13373
13373
  "div",
@@ -13402,7 +13402,7 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13402
13402
  return (_this2.dom.from = c);
13403
13403
  },
13404
13404
  },
13405
- "from",
13405
+ "from"
13406
13406
  ),
13407
13407
  widget.showTo &&
13408
13408
  /*#__PURE__*/ jsx(
@@ -13429,11 +13429,11 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13429
13429
  return (_this2.dom.to = c);
13430
13430
  },
13431
13431
  },
13432
- "to",
13432
+ "to"
13433
13433
  ),
13434
13434
  ],
13435
13435
  },
13436
- "space",
13436
+ "space"
13437
13437
  ),
13438
13438
  ],
13439
13439
  }),
@@ -13476,7 +13476,7 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13476
13476
  },
13477
13477
  {
13478
13478
  passive: false,
13479
- },
13479
+ }
13480
13480
  );
13481
13481
  };
13482
13482
  _proto2.onHandleMouseLeave = function onHandleMouseLeave(e, handle) {
@@ -13551,7 +13551,7 @@ var SliderComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13551
13551
  tooltipName: tooltipName,
13552
13552
  target: handleEl,
13553
13553
  });
13554
- },
13554
+ }
13555
13555
  );
13556
13556
  };
13557
13557
  _proto2.getValues = function getValues(e, d) {
@@ -13676,7 +13676,7 @@ var Switch = /*#__PURE__*/ (function (_Field) {
13676
13676
  structured: true,
13677
13677
  },
13678
13678
  },
13679
- ].concat(Array.prototype.slice.call(arguments)),
13679
+ ].concat(Array.prototype.slice.call(arguments))
13680
13680
  );
13681
13681
  };
13682
13682
  _proto.isEmpty = function isEmpty() {
@@ -13759,11 +13759,11 @@ var Switch = /*#__PURE__*/ (function (_Field) {
13759
13759
  className: CSS.element(this.baseClass, "text"),
13760
13760
  children: text,
13761
13761
  },
13762
- "text",
13762
+ "text"
13763
13763
  ),
13764
13764
  ],
13765
13765
  },
13766
- key,
13766
+ key
13767
13767
  );
13768
13768
  };
13769
13769
  _proto.toggle = function toggle(e, instance) {
@@ -13795,7 +13795,7 @@ var Wheel = /*#__PURE__*/ (function (_PureContainer) {
13795
13795
  value: undefined,
13796
13796
  options: undefined,
13797
13797
  },
13798
- ]),
13798
+ ])
13799
13799
  );
13800
13800
  };
13801
13801
  _proto.render = function render(context, instance, key) {
@@ -13826,11 +13826,11 @@ var Wheel = /*#__PURE__*/ (function (_PureContainer) {
13826
13826
  {
13827
13827
  children: o.text,
13828
13828
  },
13829
- 0,
13829
+ 0
13830
13830
  );
13831
13831
  }),
13832
13832
  },
13833
- key,
13833
+ key
13834
13834
  );
13835
13835
  };
13836
13836
  return Wheel;
@@ -13894,7 +13894,7 @@ var WheelComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13894
13894
  cls: optionClass,
13895
13895
  };
13896
13896
  }),
13897
- bpad,
13897
+ bpad
13898
13898
  );
13899
13899
  if (!this.state.wheelHeight) displayedOptions = displayedOptions.slice(this.index, this.index + size);
13900
13900
  return /*#__PURE__*/ jsxs("div", {
@@ -13932,7 +13932,7 @@ var WheelComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13932
13932
  className: opt.cls,
13933
13933
  children: opt.child,
13934
13934
  },
13935
- opt.key,
13935
+ opt.key
13936
13936
  );
13937
13937
  }),
13938
13938
  }),
@@ -13995,7 +13995,7 @@ var WheelComponent = /*#__PURE__*/ (function (_VDOM$Component) {
13995
13995
  },
13996
13996
  function () {
13997
13997
  _this3.scrollEl.scrollTop = (_this3.index * _this3.state.wheelHeight) / _this3.props.size;
13998
- },
13998
+ }
13999
13999
  );
14000
14000
  if (this.props.onPipeKeyDown) this.props.onPipeKeyDown(this.onKeyDown);
14001
14001
  };
@@ -14083,7 +14083,7 @@ var DateTimePicker = /*#__PURE__*/ (function (_Widget) {
14083
14083
  {
14084
14084
  value: undefined,
14085
14085
  },
14086
- ]),
14086
+ ])
14087
14087
  );
14088
14088
  };
14089
14089
  _proto.render = function render(context, instance, key) {
@@ -14095,7 +14095,7 @@ var DateTimePicker = /*#__PURE__*/ (function (_Widget) {
14095
14095
  size: this.size,
14096
14096
  segment: this.segment,
14097
14097
  },
14098
- key,
14098
+ key
14099
14099
  );
14100
14100
  };
14101
14101
  return DateTimePicker;
@@ -14191,8 +14191,8 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
14191
14191
  {
14192
14192
  children: y,
14193
14193
  },
14194
- y,
14195
- ),
14194
+ y
14195
+ )
14196
14196
  );
14197
14197
  var days = [];
14198
14198
  var start = new Date(date.getFullYear(), date.getMonth(), 1);
@@ -14204,8 +14204,8 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
14204
14204
  {
14205
14205
  children: day < 10 ? "0" + day : day,
14206
14206
  },
14207
- day,
14208
- ),
14207
+ day
14208
+ )
14209
14209
  );
14210
14210
  start.setDate(start.getDate() + 1);
14211
14211
  }
@@ -14217,8 +14217,8 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
14217
14217
  {
14218
14218
  children: h < 10 ? "0" + h : h,
14219
14219
  },
14220
- h,
14221
- ),
14220
+ h
14221
+ )
14222
14222
  );
14223
14223
  }
14224
14224
  var minutes = [];
@@ -14229,8 +14229,8 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
14229
14229
  {
14230
14230
  children: m < 10 ? "0" + m : m,
14231
14231
  },
14232
- m,
14233
- ),
14232
+ m
14233
+ )
14234
14234
  );
14235
14235
  }
14236
14236
  return /*#__PURE__*/ jsxs("div", {
@@ -14300,7 +14300,7 @@ var DateTimePickerComponent = /*#__PURE__*/ (function (_VDOM$Component) {
14300
14300
  {
14301
14301
  children: m,
14302
14302
  },
14303
- i,
14303
+ i
14304
14304
  );
14305
14305
  }),
14306
14306
  }),
@@ -14637,7 +14637,7 @@ var DateTimeField = /*#__PURE__*/ (function (_Field) {
14637
14637
  icon: undefined,
14638
14638
  autoOpen: undefined,
14639
14639
  },
14640
- ].concat(Array.prototype.slice.call(arguments)),
14640
+ ].concat(Array.prototype.slice.call(arguments))
14641
14641
  );
14642
14642
  };
14643
14643
  _proto.init = function init() {
@@ -14729,7 +14729,7 @@ var DateTimeField = /*#__PURE__*/ (function (_Field) {
14729
14729
  help: this.helpPlacement && getContent(this.renderHelp(context, instance, "help")),
14730
14730
  icon: getContent(this.renderIcon(context, instance, "icon")),
14731
14731
  },
14732
- key,
14732
+ key
14733
14733
  );
14734
14734
  };
14735
14735
  _proto.formatValue = function formatValue(context, _ref) {
@@ -14858,7 +14858,7 @@ var DateTimeInput = /*#__PURE__*/ (function (_VDOM$Component) {
14858
14858
  });
14859
14859
  },
14860
14860
  }),
14861
- },
14861
+ }
14862
14862
  );
14863
14863
  return (this.dropdown = Widget.create(dropdown));
14864
14864
  };
@@ -14928,7 +14928,7 @@ var DateTimeInput = /*#__PURE__*/ (function (_VDOM$Component) {
14928
14928
  icon: !!icon,
14929
14929
  empty: empty && !data.placeholder,
14930
14930
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !empty),
14931
- }),
14931
+ })
14932
14932
  ),
14933
14933
  style: data.style,
14934
14934
  onMouseDown: this.onMouseDown.bind(this),
@@ -14974,8 +14974,8 @@ var DateTimeInput = /*#__PURE__*/ (function (_VDOM$Component) {
14974
14974
  onMouseLeave: function onMouseLeave(e) {
14975
14975
  return tooltipMouseLeave$1.apply(void 0, [e].concat(getFieldTooltip(_this3.props.instance)));
14976
14976
  },
14977
- },
14978
- ),
14977
+ }
14978
+ )
14979
14979
  ),
14980
14980
  icon,
14981
14981
  insideButton,
@@ -15063,7 +15063,7 @@ var DateTimeInput = /*#__PURE__*/ (function (_VDOM$Component) {
15063
15063
  {
15064
15064
  dropdownOpen: false,
15065
15065
  },
15066
- callback,
15066
+ callback
15067
15067
  );
15068
15068
  this.props.instance.setState({
15069
15069
  visited: true,
@@ -15201,7 +15201,7 @@ var Validator = /*#__PURE__*/ (function (_Field) {
15201
15201
  },
15202
15202
  disabled: undefined,
15203
15203
  },
15204
- ]),
15204
+ ])
15205
15205
  );
15206
15206
  };
15207
15207
  _proto.isEmpty = function isEmpty(data) {
@@ -15225,10 +15225,10 @@ var DropDownIcon = registerIcon(
15225
15225
  fill: "currentColor",
15226
15226
  d: "M10.5 5.8l-3-3-3 3 .707.708L7 4.688v8.312h1V4.69l1.793 1.817z",
15227
15227
  }),
15228
- }),
15228
+ })
15229
15229
  );
15230
15230
  },
15231
- true,
15231
+ true
15232
15232
  );
15233
15233
 
15234
15234
  var GridCell = /*#__PURE__*/ (function (_PureContainer) {
@@ -15254,7 +15254,7 @@ var GridCell = /*#__PURE__*/ (function (_PureContainer) {
15254
15254
  fixed: undefined,
15255
15255
  mergeCells: undefined,
15256
15256
  },
15257
- ]),
15257
+ ])
15258
15258
  );
15259
15259
  };
15260
15260
  _proto.init = function init() {
@@ -15278,8 +15278,8 @@ var GridCell = /*#__PURE__*/ (function (_PureContainer) {
15278
15278
  }),
15279
15279
  (_this$CSS$state["aligned-" + this.align] = this.align),
15280
15280
  (_this$CSS$state.mergable = data.merged),
15281
- _this$CSS$state),
15282
- ),
15281
+ _this$CSS$state)
15282
+ )
15283
15283
  );
15284
15284
  data.style = this.CSS.parseStyle(data.style);
15285
15285
  };
@@ -15349,7 +15349,7 @@ var GridRow = /*#__PURE__*/ (function (_ValidationGroup) {
15349
15349
  {
15350
15350
  hoverId: undefined,
15351
15351
  },
15352
- ]),
15352
+ ])
15353
15353
  );
15354
15354
  };
15355
15355
  _proto.init = function init() {
@@ -15359,7 +15359,7 @@ var GridRow = /*#__PURE__*/ (function (_ValidationGroup) {
15359
15359
  this.items.push(
15360
15360
  GridRowLine.create(this["line" + i], {
15361
15361
  recordName: this.recordName,
15362
- }),
15362
+ })
15363
15363
  );
15364
15364
  }
15365
15365
  _ValidationGroup.prototype.init.call(this);
@@ -15444,7 +15444,7 @@ var GridRowComponent = /*#__PURE__*/ (function (_VDOM$Component) {
15444
15444
  onContextMenu: this.onRowContextMenu,
15445
15445
  "data-record-key": record.key,
15446
15446
  },
15447
- children,
15447
+ children
15448
15448
  );
15449
15449
  };
15450
15450
  _proto2.onMouseDown = function onMouseDown(e) {
@@ -15587,7 +15587,7 @@ var GridCellEditor = /*#__PURE__*/ (function (_Container) {
15587
15587
  style: data.style,
15588
15588
  children: this.renderChildren(context, instance),
15589
15589
  },
15590
- key,
15590
+ key
15591
15591
  );
15592
15592
  };
15593
15593
  return GridCellEditor;
@@ -15669,7 +15669,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15669
15669
  },
15670
15670
  },
15671
15671
  selection,
15672
- ]),
15672
+ ])
15673
15673
  );
15674
15674
  };
15675
15675
  _proto.init = function init() {
@@ -15693,6 +15693,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15693
15693
  colWidth: {},
15694
15694
  lockedColWidth: {},
15695
15695
  dimensionsVersion: 0,
15696
+ disableDefaultSort: false,
15696
15697
  };
15697
15698
  instance.v = 0;
15698
15699
  if (this.infinite)
@@ -15768,18 +15769,18 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15768
15769
  value: isDefined(c.aggregateValue)
15769
15770
  ? c.aggregateValue
15770
15771
  : isDefined(c.value)
15771
- ? c.value
15772
- : c.aggregateField
15773
- ? {
15774
- bind: _this.recordName + "." + c.aggregateField,
15775
- }
15776
- : null,
15772
+ ? c.value
15773
+ : c.aggregateField
15774
+ ? {
15775
+ bind: _this.recordName + "." + c.aggregateField,
15776
+ }
15777
+ : null,
15777
15778
  weight:
15778
15779
  c.weight != null
15779
15780
  ? c.weight
15780
15781
  : c.weightField && {
15781
15782
  bind: _this.recordName + "." + c.weightField,
15782
- },
15783
+ },
15783
15784
  type: c.aggregate,
15784
15785
  };
15785
15786
  } else if (c.footer && !showFooter) {
@@ -15804,7 +15805,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15804
15805
  grouping[0].showFooter = true;
15805
15806
  if (grouping[0].key && Object.keys(grouping[0].key).length > 0)
15806
15807
  Console.warn(
15807
- "First grouping level in grids with a fixed footer must group all data. The key field should be omitted.",
15808
+ "First grouping level in grids with a fixed footer must group all data. The key field should be omitted."
15808
15809
  );
15809
15810
  }
15810
15811
  instance.dataAdapter = DataAdapter.create(
@@ -15818,7 +15819,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15818
15819
  sortOptions: this.sortOptions,
15819
15820
  groupings: grouping,
15820
15821
  },
15821
- this.dataAdapter,
15822
+ this.dataAdapter
15822
15823
  );
15823
15824
  instance.dataAdapter.initInstance(context, instance);
15824
15825
  return Widget.create(
@@ -15831,8 +15832,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15831
15832
  recordName: this.recordName,
15832
15833
  hoverId: this.rowHoverId,
15833
15834
  },
15834
- row,
15835
- ),
15835
+ row
15836
+ )
15836
15837
  );
15837
15838
  };
15838
15839
  _proto.prepareData = function prepareData(context, instance) {
@@ -15873,7 +15874,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15873
15874
  sortField = data.sortField;
15874
15875
  data.sorters = [sorter];
15875
15876
  }
15876
- if (!isNonEmptyArray(data.sorters) && this.defaultSortField) {
15877
+ var skipDefaultSorting = this.clearableSort && instance.state.disableDefaultSort;
15878
+ if (!skipDefaultSorting && !isNonEmptyArray(data.sorters) && this.defaultSortField) {
15877
15879
  var _sorter = {
15878
15880
  field: this.defaultSortField,
15879
15881
  direction: this.defaultSortDirection || "ASC",
@@ -16077,7 +16079,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16077
16079
  fixedColumnsFixedFooter: instance.fixedColumnsFixedFooterVDOM,
16078
16080
  children: this.renderChildren(context, instance),
16079
16081
  },
16080
- key,
16082
+ key
16081
16083
  );
16082
16084
  };
16083
16085
  _proto.renderResizer = function renderResizer(instance, hdinst, header, colIndex, forPreviousColumn) {
@@ -16130,7 +16132,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16130
16132
  width: width,
16131
16133
  column: hdwidget,
16132
16134
  },
16133
- hdinst,
16135
+ hdinst
16134
16136
  );
16135
16137
  header.set("width", width);
16136
16138
  instance.setState({
@@ -16138,7 +16140,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16138
16140
  colWidth: _extends(
16139
16141
  {},
16140
16142
  instance.state.colWidth,
16141
- ((_extends2 = {}), (_extends2[hdwidget.uniqueColumnId] = width), _extends2),
16143
+ ((_extends2 = {}), (_extends2[hdwidget.uniqueColumnId] = width), _extends2)
16142
16144
  ),
16143
16145
  });
16144
16146
  },
@@ -16174,7 +16176,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16174
16176
  colWidth: _extends(
16175
16177
  {},
16176
16178
  instance.state.colWidth,
16177
- ((_extends3 = {}), (_extends3[hdwidget.uniqueColumnId] = width), _extends3),
16179
+ ((_extends3 = {}), (_extends3[hdwidget.uniqueColumnId] = width), _extends3)
16178
16180
  ),
16179
16181
  });
16180
16182
  },
@@ -16311,8 +16313,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16311
16313
  "data-unique-col-id": colSpan > 1 ? null : hdwidget.uniqueColumnId,
16312
16314
  children: [getContent(content), sortIcon, tool, prevColumnResizer, resizer],
16313
16315
  },
16314
- colIndex,
16315
- ),
16316
+ colIndex
16317
+ )
16316
16318
  );
16317
16319
  },
16318
16320
  _ret;
@@ -16334,8 +16336,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16334
16336
  rowSpan: result.length,
16335
16337
  className: CSS.element(baseClass, "col-header"),
16336
16338
  },
16337
- "dummy",
16338
- ),
16339
+ "dummy"
16340
+ )
16339
16341
  );
16340
16342
  }
16341
16343
  headerRows.push.apply(
@@ -16346,9 +16348,9 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16346
16348
  {
16347
16349
  children: h,
16348
16350
  },
16349
- lineIndex + "-" + i,
16351
+ lineIndex + "-" + i
16350
16352
  );
16351
- }),
16353
+ })
16352
16354
  );
16353
16355
  }
16354
16356
  });
@@ -16359,7 +16361,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16359
16361
  className: CSS.element(baseClass, "header"),
16360
16362
  children: headerRows,
16361
16363
  },
16362
- "h" + key,
16364
+ "h" + key
16363
16365
  );
16364
16366
  };
16365
16367
  _proto.onHeaderMouseMove = function onHeaderMouseMove(e, column, columnInstance, gridInstance, headerLine) {
@@ -16401,7 +16403,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16401
16403
  },
16402
16404
  },
16403
16405
  },
16404
- function () {},
16406
+ function () {}
16405
16407
  );
16406
16408
  }
16407
16409
  };
@@ -16432,7 +16434,10 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16432
16434
  ) {
16433
16435
  if (data.sorters[0].direction == "ASC" && (!this.clearableSort || direction == "ASC")) direction = "DESC";
16434
16436
  else if (data.sorters[0].direction == "DESC" && (!this.clearableSort || direction == "DESC")) direction = "ASC";
16435
- else direction = null;
16437
+ else {
16438
+ direction = null;
16439
+ instance.state.disableDefaultSort = true;
16440
+ }
16436
16441
  }
16437
16442
  var sorters = direction
16438
16443
  ? [
@@ -16443,7 +16448,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16443
16448
  comparer: comparer,
16444
16449
  sortOptions: sortOptions,
16445
16450
  },
16446
- ]
16451
+ ]
16447
16452
  : null;
16448
16453
  if (sorters == null) field = null;
16449
16454
  instance.set("sorters", sorters);
@@ -16474,7 +16479,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16474
16479
  }),
16475
16480
  }),
16476
16481
  },
16477
- "g-" + level + "-" + group.$key,
16482
+ "g-" + level + "-" + group.$key
16478
16483
  );
16479
16484
  } else if (g.showCaption) {
16480
16485
  var skip = 0;
@@ -16537,7 +16542,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16537
16542
  style: style,
16538
16543
  children: v,
16539
16544
  },
16540
- i,
16545
+ i
16541
16546
  );
16542
16547
  });
16543
16548
  if (empty) return;
@@ -16547,8 +16552,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16547
16552
  {
16548
16553
  children: cells,
16549
16554
  },
16550
- lineIndex,
16551
- ),
16555
+ lineIndex
16556
+ )
16552
16557
  );
16553
16558
  });
16554
16559
  if (lines.length == 0) return null;
@@ -16560,7 +16565,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16560
16565
  "data-group-element": "group-caption-" + level,
16561
16566
  children: lines,
16562
16567
  },
16563
- "c" + group.$key,
16568
+ "c" + group.$key
16564
16569
  );
16565
16570
  }
16566
16571
  };
@@ -16573,7 +16578,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16573
16578
  i,
16574
16579
  store,
16575
16580
  fixed,
16576
- fixedColumns,
16581
+ fixedColumns
16577
16582
  ) {
16578
16583
  var CSS = this.CSS,
16579
16584
  baseClass = this.baseClass;
@@ -16638,7 +16643,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16638
16643
  style: style,
16639
16644
  children: v,
16640
16645
  },
16641
- i,
16646
+ i
16642
16647
  );
16643
16648
  });
16644
16649
  if (empty) return;
@@ -16649,8 +16654,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16649
16654
  {
16650
16655
  className: CSS.element(baseClass, "fixed-footer-corner"),
16651
16656
  },
16652
- "dummy",
16653
- ),
16657
+ "dummy"
16658
+ )
16654
16659
  );
16655
16660
  lines.push(
16656
16661
  /*#__PURE__*/ jsx(
@@ -16658,8 +16663,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16658
16663
  {
16659
16664
  children: cells,
16660
16665
  },
16661
- lineIndex,
16662
- ),
16666
+ lineIndex
16667
+ )
16663
16668
  );
16664
16669
  });
16665
16670
  if (lines.length == 0) return null;
@@ -16672,7 +16677,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16672
16677
  "data-group-element": "group-footer-" + level,
16673
16678
  children: lines,
16674
16679
  },
16675
- "f" + i,
16680
+ "f" + i
16676
16681
  );
16677
16682
  };
16678
16683
  _proto.renderRows = function renderRows(context, instance) {
@@ -16697,8 +16702,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16697
16702
  record.group,
16698
16703
  record.key + "-caption",
16699
16704
  record.store,
16700
- false,
16701
- ),
16705
+ false
16706
+ )
16702
16707
  );
16703
16708
  if (hasFixedColumns)
16704
16709
  record.fixedVdom.push(
@@ -16710,8 +16715,8 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16710
16715
  record.group,
16711
16716
  record.key + "-caption",
16712
16717
  record.store,
16713
- true,
16714
- ),
16718
+ true
16719
+ )
16715
16720
  );
16716
16721
  if (g.showHeader) {
16717
16722
  record.vdom.push(this.renderHeader(context, instance, record.key + "-header", false, false));
@@ -16731,7 +16736,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16731
16736
  record.key + "-footer",
16732
16737
  record.store,
16733
16738
  false,
16734
- false,
16739
+ false
16735
16740
  );
16736
16741
  if (hasFixedColumns)
16737
16742
  record.fixedVdom = this.renderGroupFooter(
@@ -16743,7 +16748,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16743
16748
  record.key + "-footer",
16744
16749
  record.store,
16745
16750
  false,
16746
- true,
16751
+ true
16747
16752
  );
16748
16753
  }
16749
16754
  }
@@ -16773,7 +16778,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16773
16778
  record.key + "-footer",
16774
16779
  record.store,
16775
16780
  true,
16776
- false,
16781
+ false
16777
16782
  );
16778
16783
  if (hasFixedColumns)
16779
16784
  instance.fixedColumnsFixedFooterVDOM = this.renderGroupFooter(
@@ -16787,7 +16792,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
16787
16792
  record.key + "-footer",
16788
16793
  record.store,
16789
16794
  true,
16790
- true,
16795
+ true
16791
16796
  );
16792
16797
  };
16793
16798
  _proto.mapRecords = function mapRecords(context, instance) {
@@ -16907,7 +16912,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
16907
16912
  this.rowHeight > 0
16908
16913
  ? {
16909
16914
  height: this.rowHeight + 1,
16910
- }
16915
+ }
16911
16916
  : null,
16912
16917
  jsxAttributes: ["className", "style"],
16913
16918
  children: [
@@ -16931,7 +16936,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
16931
16936
  ],
16932
16937
  }),
16933
16938
  },
16934
- key,
16939
+ key
16935
16940
  );
16936
16941
  };
16937
16942
  _proto2.createRowRenderer = function createRowRenderer(cellWrap) {
@@ -17055,7 +17060,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17055
17060
  rowSpan: mergeRowSpan != null ? mergeRowSpan : data.rowSpan,
17056
17061
  children: content,
17057
17062
  },
17058
- key,
17063
+ key
17059
17064
  );
17060
17065
  });
17061
17066
  if (hasMergedCells) return cells;
@@ -17066,11 +17071,11 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17066
17071
  style: data.style,
17067
17072
  children: cells,
17068
17073
  },
17069
- key,
17074
+ key
17070
17075
  );
17071
17076
  }),
17072
17077
  },
17073
- key,
17078
+ key
17074
17079
  );
17075
17080
  };
17076
17081
  if (!standalone) return wrap(record.vdom);
@@ -17085,7 +17090,6 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17085
17090
  contentFactory: function contentFactory(x) {
17086
17091
  return wrap({
17087
17092
  content: Array.isArray(x.children) ? x.children : x.children != null ? [x.children] : [],
17088
- data: {},
17089
17093
  });
17090
17094
  },
17091
17095
  params: _extends({}, mod, {
@@ -17096,7 +17100,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17096
17100
  cellEdit: index == cursor && cursorCellIndex != null && cellEdit,
17097
17101
  }),
17098
17102
  },
17099
- key,
17103
+ key
17100
17104
  );
17101
17105
  };
17102
17106
  };
@@ -17171,7 +17175,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17171
17175
  ],
17172
17176
  },
17173
17177
  },
17174
- start + i,
17178
+ start + i
17175
17179
  );
17176
17180
  } else {
17177
17181
  var record = instance.records
@@ -17195,8 +17199,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17195
17199
  record.group,
17196
17200
  record.key + "-caption",
17197
17201
  record.store,
17198
- false,
17199
- ),
17202
+ false
17203
+ )
17200
17204
  );
17201
17205
  if (hasFixedColumns)
17202
17206
  fixedChildren.push(
@@ -17208,8 +17212,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17208
17212
  record.group,
17209
17213
  record.key + "-caption",
17210
17214
  record.store,
17211
- true,
17212
- ),
17215
+ true
17216
+ )
17213
17217
  );
17214
17218
  }
17215
17219
  } else if (record.type == "group-footer") {
@@ -17225,8 +17229,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17225
17229
  record.key + "-footer",
17226
17230
  record.store,
17227
17231
  false,
17228
- false,
17229
- ),
17232
+ false
17233
+ )
17230
17234
  );
17231
17235
  if (hasFixedColumns)
17232
17236
  fixedChildren.push(
@@ -17239,8 +17243,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17239
17243
  record.key + "-footer",
17240
17244
  record.store,
17241
17245
  false,
17242
- true,
17243
- ),
17246
+ true
17247
+ )
17244
17248
  );
17245
17249
  }
17246
17250
  }
@@ -17319,7 +17323,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17319
17323
  }),
17320
17324
  }),
17321
17325
  },
17322
- "dropzone",
17326
+ "dropzone"
17323
17327
  );
17324
17328
  var dataRecordClass = CSS.element(baseClass, "data");
17325
17329
  var isDataRecord = widget.buffered
@@ -17333,13 +17337,13 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17333
17337
  ? void 0
17334
17338
  : _item$props["class"]) == dataRecordClass
17335
17339
  );
17336
- }
17340
+ }
17337
17341
  : function (item) {
17338
17342
  var _item$props2;
17339
17343
  return item == null || (_item$props2 = item.props) == null || (_item$props2 = _item$props2.record) == null
17340
17344
  ? void 0
17341
17345
  : _item$props2.type;
17342
- };
17346
+ };
17343
17347
  var _index = 0;
17344
17348
  while (_index < children.length && !isDataRecord(children[_index])) _index++;
17345
17349
  var count = 0;
@@ -17372,7 +17376,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17372
17376
  }),
17373
17377
  }),
17374
17378
  },
17375
- "empty",
17379
+ "empty"
17376
17380
  ),
17377
17381
  ];
17378
17382
  } else if (widget.fixedFooter && (widget.buffered || !instance.fixedFooterIsGroupFooter)) {
@@ -17403,8 +17407,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17403
17407
  }),
17404
17408
  }),
17405
17409
  },
17406
- "fixedscroller",
17407
- ),
17410
+ "fixedscroller"
17411
+ )
17408
17412
  );
17409
17413
  }
17410
17414
  content.push(
@@ -17429,8 +17433,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17429
17433
  }),
17430
17434
  }),
17431
17435
  },
17432
- "scroller",
17433
- ),
17436
+ "scroller"
17437
+ )
17434
17438
  );
17435
17439
  if (this.props.fixedHeader)
17436
17440
  content.push(
@@ -17448,8 +17452,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17448
17452
  children: this.props.fixedHeader,
17449
17453
  }),
17450
17454
  },
17451
- "fh",
17452
- ),
17455
+ "fh"
17456
+ )
17453
17457
  );
17454
17458
  if (this.props.fixedColumnsFixedHeader)
17455
17459
  fixedColumnsContent.push(
@@ -17467,8 +17471,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17467
17471
  children: this.props.fixedColumnsFixedHeader,
17468
17472
  }),
17469
17473
  },
17470
- "fcfh",
17471
- ),
17474
+ "fcfh"
17475
+ )
17472
17476
  );
17473
17477
  if (shouldRenderFixedFooter) {
17474
17478
  content.push(
@@ -17483,8 +17487,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17483
17487
  children: fixedFooter,
17484
17488
  }),
17485
17489
  },
17486
- "ff",
17487
- ),
17490
+ "ff"
17491
+ )
17488
17492
  );
17489
17493
  if (hasFixedColumns)
17490
17494
  fixedColumnsContent.push(
@@ -17499,8 +17503,8 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17499
17503
  children: fixedColumnsFixedFooter,
17500
17504
  }),
17501
17505
  },
17502
- "fcff",
17503
- ),
17506
+ "fcff"
17507
+ )
17504
17508
  );
17505
17509
  }
17506
17510
  var columnInsertionMarker = null;
@@ -17583,7 +17587,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17583
17587
  filterParams: data.filterParams,
17584
17588
  state: _this8.prevFetchRecordsState,
17585
17589
  },
17586
- instance,
17590
+ instance
17587
17591
  );
17588
17592
  promises.push(Promise.resolve(result));
17589
17593
  }
@@ -17601,7 +17605,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17601
17605
  } else {
17602
17606
  if (!Array.isArray(page.records))
17603
17607
  throw new Error(
17604
- "onFetchRecords should return an array of records or an object with results inside records property.",
17608
+ "onFetchRecords should return an array of records or an object with results inside records property."
17605
17609
  );
17606
17610
  totalRecordCount = page.totalRecordCount;
17607
17611
  lastPage = page.lastPage;
@@ -17686,7 +17690,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17686
17690
  },
17687
17691
  function () {
17688
17692
  _this9.pending = false;
17689
- },
17693
+ }
17690
17694
  );
17691
17695
  }
17692
17696
  }
@@ -17699,7 +17703,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17699
17703
  return props.shouldUpdate !== false || state !== this.state;
17700
17704
  };
17701
17705
  _proto2.componentDidMount = function componentDidMount() {
17702
- var _this10 = this;
17706
+ var _this0 = this;
17703
17707
  this.componentDidUpdate();
17704
17708
  var instance = this.props.instance;
17705
17709
  var widget = instance.widget;
@@ -17707,10 +17711,10 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
17707
17711
  //update fixed header/footer on resize
17708
17712
  this.offResize = ResizeManager.trackElement(this.dom.scroller, function () {
17709
17713
  requestAnimationFrame(function () {
17710
- var _this10$dom$scroller;
17714
+ var _this0$dom$scroller;
17711
17715
  //ignore changes if the element is not visible on the page
17712
- if (!((_this10$dom$scroller = _this10.dom.scroller) != null && _this10$dom$scroller.offsetWidth)) return;
17713
- _this10.componentDidUpdate();
17716
+ if (!((_this0$dom$scroller = _this0.dom.scroller) != null && _this0$dom$scroller.offsetWidth)) return;
17717
+ _this0.componentDidUpdate();
17714
17718
  instance.setState({
17715
17719
  dimensionsVersion: instance.state.dimensionsVersion + 1,
17716
17720
  lockedColWidth: {},
@@ -18207,6 +18211,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18207
18211
  instance.buffer.totalRecordCount = 0;
18208
18212
  instance.buffer.page = 1;
18209
18213
  this.prevFetchRecordsState = null;
18214
+ this.loading = false;
18210
18215
  }
18211
18216
  }
18212
18217
  if (widget.scrollSelectionIntoView && !widget.buffered) {
@@ -18224,7 +18229,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18224
18229
  }
18225
18230
  };
18226
18231
  _proto2.moveCursor = function moveCursor(index, _temp) {
18227
- var _this11 = this;
18232
+ var _this1 = this;
18228
18233
  var _ref6 = _temp === void 0 ? {} : _temp,
18229
18234
  focused = _ref6.focused;
18230
18235
  _ref6.hover;
@@ -18263,72 +18268,72 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18263
18268
  }
18264
18269
  batchUpdates(function () {
18265
18270
  if (select) {
18266
- var start = selectRange && _this11.state.selectionStart >= 0 ? _this11.state.selectionStart : index;
18271
+ var start = selectRange && _this1.state.selectionStart >= 0 ? _this1.state.selectionStart : index;
18267
18272
  if (start < 0) start = index;
18268
- _this11.selectRange(start, index, selectOptions);
18273
+ _this1.selectRange(start, index, selectOptions);
18269
18274
  if (!selectRange) newState.selectionStart = index;
18270
18275
  }
18271
18276
  if (Object.keys(newState).length > 0) {
18272
- var prevState = _this11.state;
18277
+ var prevState = _this1.state;
18273
18278
  var wasCellEditing = prevState.focused && prevState.cellEdit;
18274
- var futureState = _extends({}, _this11.state, newState);
18279
+ var futureState = _extends({}, _this1.state, newState);
18275
18280
  if (!futureState.cellEdit && wasCellEditing) {
18276
18281
  // If cell editing is in progress, moving the cursor may cause that the cell editor to unmount before
18277
18282
  // the blur event which may cause data loss for components which do not have reactOn=change set, e.g. NumberField.
18278
18283
  unfocusElement(null, false);
18279
- var record = _this11.getRecordAt(prevState.cursor);
18280
- if ((!_this11.cellEditorValid || cancelEdit) && _this11.cellEditUndoData)
18281
- record.store.set(widget.recordName, _this11.cellEditUndoData);
18284
+ var record = _this1.getRecordAt(prevState.cursor);
18285
+ if ((!_this1.cellEditorValid || cancelEdit) && _this1.cellEditUndoData)
18286
+ record.store.set(widget.recordName, _this1.cellEditUndoData);
18282
18287
  else {
18283
18288
  var newData = record.store.get(widget.recordName); //record.data might be stale at this point
18284
- if (widget.onCellEdited && newData != _this11.cellEditUndoData) {
18285
- _this11.props.instance.invoke(
18289
+ if (widget.onCellEdited && newData != _this1.cellEditUndoData) {
18290
+ _this1.props.instance.invoke(
18286
18291
  "onCellEdited",
18287
18292
  {
18288
18293
  column: visibleColumns[prevState.cursorCellIndex],
18289
18294
  newData: newData,
18290
- oldData: _this11.cellEditUndoData,
18295
+ oldData: _this1.cellEditUndoData,
18291
18296
  field: visibleColumns[prevState.cursorCellIndex].field,
18292
18297
  },
18293
- record,
18298
+ record
18294
18299
  );
18295
- _this11.cellEditUndoData = newData;
18300
+ _this1.cellEditUndoData = newData;
18296
18301
  }
18297
18302
  }
18298
18303
  }
18299
18304
  if (futureState.cellEdit && !wasCellEditing) {
18300
- var _record = _this11.getRecordAt(futureState.cursor);
18305
+ var _record = _this1.getRecordAt(futureState.cursor);
18301
18306
  var cellEditUndoData = _record.data;
18302
18307
  if (
18303
18308
  widget.onBeforeCellEdit &&
18304
- _this11.props.instance.invoke(
18309
+ _this1.props.instance.invoke(
18305
18310
  "onBeforeCellEdit",
18306
18311
  {
18307
18312
  column: visibleColumns[futureState.cursorCellIndex],
18308
18313
  data: cellEditUndoData,
18309
18314
  field: visibleColumns[futureState.cursorCellIndex].field,
18310
18315
  },
18311
- _record,
18316
+ _record
18312
18317
  ) === false
18313
18318
  )
18314
18319
  return;
18315
- _this11.cellEditUndoData = cellEditUndoData;
18320
+ _this1.cellEditUndoData = cellEditUndoData;
18316
18321
  }
18317
- _this11.setState(newState, function () {
18318
- if (_this11.state.focused && !_this11.state.cellEdit && wasCellEditing) FocusManager.focus(_this11.dom.el);
18322
+ _this1.setState(newState, function () {
18323
+ if (_this1.state.focused && !_this1.state.cellEdit && wasCellEditing) FocusManager.focus(_this1.dom.el);
18319
18324
  if (scrollIntoView) {
18320
- var _record2 = _this11.getRecordAt(index);
18321
- var item = _record2 && _this11.dom.table.querySelector('tbody[data-record-key="' + _record2.key + '"]');
18325
+ var _record2 = _this1.getRecordAt(index);
18326
+ var item = _record2 && _this1.dom.table.querySelector('tbody[data-record-key="' + _record2.key + '"]');
18322
18327
  var hscroll = false;
18323
18328
  if (item) {
18324
18329
  if (widget.cellEditable)
18325
- if (_this11.state.cursorCellIndex >= _this11.props.instance.fixedColumnCount) {
18330
+ if (_this1.state.cursorCellIndex >= _this1.props.instance.fixedColumnCount) {
18326
18331
  hscroll = true;
18327
18332
  item =
18328
- item.firstChild.children[_this11.state.cursorCellIndex - _this11.props.instance.fixedColumnCount];
18333
+ item.firstChild.children[_this1.state.cursorCellIndex - _this1.props.instance.fixedColumnCount];
18329
18334
  } else {
18330
- var fixedItem = _this11.dom.fixedTable.querySelector('tbody[data-record-key="' + _record2.key + '"]');
18331
- var cell = fixedItem && fixedItem.firstChild.children[_this11.state.cursorCellIndex];
18335
+ var fixedItem = _this1.dom.fixedTable.querySelector('tbody[data-record-key="' + _record2.key + '"]');
18336
+ var cell = fixedItem && fixedItem.firstChild.children[_this1.state.cursorCellIndex];
18332
18337
  if (cell) scrollElementIntoView(cell, false, true, 10);
18333
18338
  }
18334
18339
  scrollElementIntoView(item, true, hscroll, widget.cellEditable ? 10 : 0);
@@ -18361,7 +18366,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18361
18366
  });
18362
18367
  };
18363
18368
  _proto2.onFocus = function onFocus() {
18364
- var _this12 = this;
18369
+ var _this10 = this;
18365
18370
  FocusManager.nudge();
18366
18371
 
18367
18372
  //focus moved within the grid
@@ -18376,13 +18381,13 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18376
18381
 
18377
18382
  //the cursor will be set if focus in originating from a mouse event
18378
18383
  setTimeout(function () {
18379
- _this12.showCursor(true);
18384
+ _this10.showCursor(true);
18380
18385
  }, 0);
18381
18386
  if (!widget.focused) {
18382
18387
  if (this.dom.el) {
18383
18388
  //if an inner element is focused first (autoFocus), this.dom.el might be undefined
18384
18389
  oneFocusOut(this, this.dom.el, function () {
18385
- _this12.moveCursor(-1, {
18390
+ _this10.moveCursor(-1, {
18386
18391
  focused: false,
18387
18392
  });
18388
18393
  });
@@ -18504,7 +18509,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18504
18509
  if (widget.cellEditable) {
18505
18510
  e.stopPropagation();
18506
18511
  e.preventDefault();
18507
- var direction = e.shiftKey ? -1 : +1;
18512
+ var direction = e.shiftKey ? -1 : 1;
18508
18513
  var cursor = this.state.cursor;
18509
18514
  var cellIndex = (this.state.cursorCellIndex + direction) % instance.row.line1.columns.length;
18510
18515
  if (cellIndex == -1) {
@@ -18593,7 +18598,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18593
18598
  }
18594
18599
  };
18595
18600
  _proto2.beginDragDrop = function beginDragDrop(e, record) {
18596
- var _this13 = this;
18601
+ var _this11 = this;
18597
18602
  var _this$props9 = this.props,
18598
18603
  instance = _this$props9.instance,
18599
18604
  data = _this$props9.data;
@@ -18611,7 +18616,7 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18611
18616
  var row = (mappedRecord.row = instance.getDetachedChild(
18612
18617
  instance.row,
18613
18618
  "DD:" + mappedRecord.key,
18614
- mappedRecord.store,
18619
+ mappedRecord.store
18615
18620
  ));
18616
18621
  row.selected = true;
18617
18622
  selected.push(mappedRecord);
@@ -18668,10 +18673,10 @@ var GridComponent = /*#__PURE__*/ (function (_VDOM$Component) {
18668
18673
  },
18669
18674
  },
18670
18675
  function () {
18671
- _this13.setState({
18676
+ _this11.setState({
18672
18677
  dragged: false,
18673
18678
  });
18674
- },
18679
+ }
18675
18680
  );
18676
18681
  this.setState({
18677
18682
  dragged: record,
@@ -18739,7 +18744,7 @@ var GridColumnHeaderLine = /*#__PURE__*/ (function (_PureContainer) {
18739
18744
  {
18740
18745
  showHeader: undefined,
18741
18746
  },
18742
- ]),
18747
+ ])
18743
18748
  );
18744
18749
  };
18745
18750
  _proto3.init = function init() {
@@ -18759,7 +18764,7 @@ var GridColumnHeaderLine = /*#__PURE__*/ (function (_PureContainer) {
18759
18764
  style: data.style,
18760
18765
  children: this.renderChildren(context, instance),
18761
18766
  },
18762
- key,
18767
+ key
18763
18768
  );
18764
18769
  };
18765
18770
  return GridColumnHeaderLine;
@@ -18785,7 +18790,7 @@ var GridColumnHeader = /*#__PURE__*/ (function (_Widget) {
18785
18790
  defaultWidth: undefined,
18786
18791
  fixed: undefined,
18787
18792
  },
18788
- ]),
18793
+ ])
18789
18794
  );
18790
18795
  };
18791
18796
  _proto4.init = function init() {
@@ -18880,7 +18885,7 @@ var GridColumnHeaderCell = /*#__PURE__*/ (function (_PureContainer2) {
18880
18885
  fixed: undefined,
18881
18886
  draggable: undefined,
18882
18887
  },
18883
- ]),
18888
+ ])
18884
18889
  );
18885
18890
  };
18886
18891
  _proto5.initComponents = function initComponents() {
@@ -18891,7 +18896,7 @@ var GridColumnHeaderCell = /*#__PURE__*/ (function (_PureContainer2) {
18891
18896
  {
18892
18897
  tool: this.tool && Widget.create(this.tool),
18893
18898
  },
18894
- ]),
18899
+ ])
18895
18900
  );
18896
18901
  };
18897
18902
  _proto5.render = function render(context, instance, key) {
@@ -19070,7 +19075,7 @@ var TreeNode = /*#__PURE__*/ (function (_Container) {
19070
19075
  folderIcon: undefined,
19071
19076
  hideArrow: undefined,
19072
19077
  },
19073
- ].concat(Array.prototype.slice.call(arguments)),
19078
+ ].concat(Array.prototype.slice.call(arguments))
19074
19079
  );
19075
19080
  };
19076
19081
  _proto.prepareData = function prepareData(context, instance) {
@@ -19131,7 +19136,7 @@ var TreeNode = /*#__PURE__*/ (function (_Container) {
19131
19136
  }),
19132
19137
  ],
19133
19138
  },
19134
- key,
19139
+ key
19135
19140
  );
19136
19141
  };
19137
19142
  _proto.toggle = function toggle(e, instance) {
@@ -19169,7 +19174,7 @@ var Pagination = /*#__PURE__*/ (function (_Widget) {
19169
19174
  length: undefined,
19170
19175
  pageCount: undefined,
19171
19176
  },
19172
- ].concat(Array.prototype.slice.call(arguments)),
19177
+ ].concat(Array.prototype.slice.call(arguments))
19173
19178
  );
19174
19179
  };
19175
19180
  _proto.render = function render(context, instance, key) {
@@ -19214,8 +19219,8 @@ var Pagination = /*#__PURE__*/ (function (_Widget) {
19214
19219
  },
19215
19220
  children: p < minPage ? prevPageIcon : p > maxPage ? nextPageIcon : p,
19216
19221
  },
19217
- p < minPage ? "-1" : p > maxPage ? "-2" : p,
19218
- ),
19222
+ p < minPage ? "-1" : p > maxPage ? "-2" : p
19223
+ )
19219
19224
  );
19220
19225
  };
19221
19226
  for (var p = minPage - 1; p <= maxPage + 1; p++) {
@@ -19232,7 +19237,7 @@ var Pagination = /*#__PURE__*/ (function (_Widget) {
19232
19237
  },
19233
19238
  children: pageBtns,
19234
19239
  },
19235
- key,
19240
+ key
19236
19241
  );
19237
19242
  };
19238
19243
  _proto.onKeyDown = function onKeyDown(e, instance) {
@@ -19294,7 +19299,7 @@ var DragSource = /*#__PURE__*/ (function (_Container) {
19294
19299
  structured: true,
19295
19300
  },
19296
19301
  },
19297
- ]),
19302
+ ])
19298
19303
  );
19299
19304
  };
19300
19305
  _proto.explore = function explore(context, instance) {
@@ -19312,7 +19317,7 @@ var DragSource = /*#__PURE__*/ (function (_Container) {
19312
19317
  handled: this.handled || instance.dragHandles.length > 0,
19313
19318
  children: this.renderChildren(context, instance),
19314
19319
  },
19315
- key,
19320
+ key
19316
19321
  );
19317
19322
  };
19318
19323
  return DragSource;
@@ -19382,8 +19387,8 @@ var DragSourceComponent = /*#__PURE__*/ (function (_VDOM$Component) {
19382
19387
  eventHandlers,
19383
19388
  {
19384
19389
  children: children,
19385
- },
19386
- ),
19390
+ }
19391
+ )
19387
19392
  );
19388
19393
  };
19389
19394
  _proto2.onMouseDown = function onMouseDown(e) {
@@ -19430,7 +19435,7 @@ var DragSourceComponent = /*#__PURE__*/ (function (_VDOM$Component) {
19430
19435
  dragged: false,
19431
19436
  });
19432
19437
  if (widget.onDragEnd) instance.invoke("onDragEnd", e, instance);
19433
- },
19438
+ }
19434
19439
  );
19435
19440
  this.setState({
19436
19441
  dragged: true,
@@ -19464,7 +19469,7 @@ var DragHandle = /*#__PURE__*/ (function (_Container) {
19464
19469
  onMouseUp: ddHandle,
19465
19470
  children: this.renderChildren(context, instance),
19466
19471
  },
19467
- key,
19472
+ key
19468
19473
  );
19469
19474
  };
19470
19475
  return DragHandle;
@@ -19517,7 +19522,7 @@ var DropZone = /*#__PURE__*/ (function (_Container) {
19517
19522
  structured: true,
19518
19523
  },
19519
19524
  },
19520
- ]),
19525
+ ])
19521
19526
  );
19522
19527
  };
19523
19528
  _proto.render = function render(context, instance, key) {
@@ -19527,7 +19532,7 @@ var DropZone = /*#__PURE__*/ (function (_Container) {
19527
19532
  instance: instance,
19528
19533
  children: this.renderChildren(context, instance),
19529
19534
  },
19530
- key,
19535
+ key
19531
19536
  );
19532
19537
  };
19533
19538
  return DropZone;