superdesk-ui-framework 3.0.1-beta.5 → 3.0.1-beta.6

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.
@@ -5855,11 +5855,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
5855
5855
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5856
5856
  };
5857
5857
  Object.defineProperty(exports, "__esModule", { value: true });
5858
- exports.DropdownLabel = exports.DropdownItem = exports.DropdownFirst = exports.HeadingText = exports.ContentDivider = exports.Divider = exports.Icon = exports.Prop = exports.PropsList = exports.StrechBar = exports.SlidingToolbar = exports.SubNavDivider = exports.SubNav = exports.LeftMenu = exports.TabList = exports.Tab = exports.NavButton = exports.CheckButtonGroup = exports.CheckGroup = exports.CheckboxButton = exports.RadioButtonGroup = exports.Checkbox = exports.RadioGroup = exports.Loader = exports.ButtonGroup = exports.SwitchGroup = exports.Switch = exports.FormLabel = exports.TimePicker = exports.DatePickerLocaleSettings = exports.DatePickerISO = exports.DatePicker = exports.DurationInput = exports.Tooltip = exports.IconLabel = exports.IconButton = exports.AvatarGroup = exports.AvatarContentImage = exports.AvatarContentText = exports.AvatarWrapper = exports.Alert = exports.Badge = exports.Label = exports.Popover = exports.SelectWithTemplate = exports.Option = exports.Select = exports.Input = exports.Button = exports.HelloWorld = void 0;
5859
- exports.ContentListItem = exports.TreeSelect = exports.BottomNav = exports.Heading = exports.Time = exports.Text = exports.LoadingOverlay = exports.Spinner = exports.ListItemLoader = exports.Skeleton = exports.WithSizeObserver = exports.SearchBar = exports.CreateButton = exports.DropZone = exports.ThemeSelector = exports.IconPicker = exports.SelectGrid = exports.ToggleBox = exports.Menu = exports.toasted = exports.GridItemCheckWrapper = exports.GridItemTopActions = exports.GridItemFooterActions = exports.GridItemFooterBlock = exports.GridItemSlug = exports.GridItemText = exports.GridItemTitle = exports.GridItemTime = exports.GridItemContentBlock = exports.GridItemFooter = exports.GridItemMedia = exports.GridItemContent = exports.GridItem = exports.GridList = exports.TagInputTest = exports.TagInput = exports.Modal = exports.Carousel = exports.DonutChart = exports.Autocomplete = exports.EmptyState = exports.Tabs = exports.TabContent = exports.TabPanel = exports.TabLabel = exports.Tag = exports.Dropdown = exports.DropdownDivider = void 0;
5858
+ exports.DropdownItem = exports.DropdownFirst = exports.HeadingText = exports.ContentDivider = exports.Divider = exports.Icon = exports.Prop = exports.PropsList = exports.StrechBar = exports.SlidingToolbar = exports.SubNavDivider = exports.SubNav = exports.LeftMenu = exports.TabList = exports.Tab = exports.NavButton = exports.CheckButtonGroup = exports.CheckGroup = exports.CheckboxButton = exports.RadioButtonGroup = exports.Checkbox = exports.RadioGroup = exports.Loader = exports.ButtonGroup = exports.SwitchGroup = exports.Switch = exports.FormLabel = exports.TimePicker = exports.DatePickerLocaleSettings = exports.DatePickerISO = exports.DatePicker = exports.getDurationString = exports.DurationInput = exports.Tooltip = exports.IconLabel = exports.IconButton = exports.AvatarGroup = exports.AvatarContentImage = exports.AvatarContentText = exports.AvatarWrapper = exports.Alert = exports.Badge = exports.Label = exports.Popover = exports.SelectWithTemplate = exports.Option = exports.Select = exports.Input = exports.Button = exports.HelloWorld = void 0;
5859
+ exports.ContentListItem = exports.TreeSelect = exports.BottomNav = exports.Heading = exports.Time = exports.Text = exports.LoadingOverlay = exports.Spinner = exports.ListItemLoader = exports.Skeleton = exports.WithSizeObserver = exports.SearchBar = exports.CreateButton = exports.DropZone = exports.ThemeSelector = exports.IconPicker = exports.SelectGrid = exports.ToggleBox = exports.Menu = exports.toasted = exports.GridItemCheckWrapper = exports.GridItemTopActions = exports.GridItemFooterActions = exports.GridItemFooterBlock = exports.GridItemSlug = exports.GridItemText = exports.GridItemTitle = exports.GridItemTime = exports.GridItemContentBlock = exports.GridItemFooter = exports.GridItemMedia = exports.GridItemContent = exports.GridItem = exports.GridList = exports.TagInputTest = exports.TagInput = exports.Modal = exports.Carousel = exports.DonutChart = exports.Autocomplete = exports.EmptyState = exports.Tabs = exports.TabContent = exports.TabPanel = exports.TabLabel = exports.Tag = exports.Dropdown = exports.DropdownDivider = exports.DropdownLabel = void 0;
5860
5860
  var HelloWorld_1 = __webpack_require__(261);
5861
5861
  Object.defineProperty(exports, "HelloWorld", { enumerable: true, get: function () { return HelloWorld_1.HelloWorld; } });
5862
- var Button_1 = __webpack_require__(70);
5862
+ var Button_1 = __webpack_require__(71);
5863
5863
  Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
5864
5864
  var Input_1 = __webpack_require__(262);
5865
5865
  Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } });
@@ -5890,13 +5890,15 @@ var IconLabel_1 = __webpack_require__(289);
5890
5890
  Object.defineProperty(exports, "IconLabel", { enumerable: true, get: function () { return IconLabel_1.IconLabel; } });
5891
5891
  var Tooltip_1 = __webpack_require__(38);
5892
5892
  Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return Tooltip_1.Tooltip; } });
5893
- var DurationInput_1 = __webpack_require__(77);
5893
+ var DurationInput_1 = __webpack_require__(54);
5894
5894
  Object.defineProperty(exports, "DurationInput", { enumerable: true, get: function () { return DurationInput_1.DurationInput; } });
5895
- var DatePicker_1 = __webpack_require__(54);
5895
+ var DurationInput_2 = __webpack_require__(54);
5896
+ Object.defineProperty(exports, "getDurationString", { enumerable: true, get: function () { return DurationInput_2.getDurationString; } });
5897
+ var DatePicker_1 = __webpack_require__(55);
5896
5898
  Object.defineProperty(exports, "DatePicker", { enumerable: true, get: function () { return DatePicker_1.DatePicker; } });
5897
- var DatePicker_2 = __webpack_require__(54);
5899
+ var DatePicker_2 = __webpack_require__(55);
5898
5900
  Object.defineProperty(exports, "DatePickerISO", { enumerable: true, get: function () { return DatePicker_2.DatePickerISO; } });
5899
- var DatePicker_3 = __webpack_require__(54);
5901
+ var DatePicker_3 = __webpack_require__(55);
5900
5902
  Object.defineProperty(exports, "DatePickerLocaleSettings", { enumerable: true, get: function () { return DatePicker_3.DatePickerLocaleSettings; } });
5901
5903
  var TimePicker_1 = __webpack_require__(247);
5902
5904
  Object.defineProperty(exports, "TimePicker", { enumerable: true, get: function () { return TimePicker_1.TimePicker; } });
@@ -5908,7 +5910,7 @@ var SwitchGroup_1 = __webpack_require__(322);
5908
5910
  Object.defineProperty(exports, "SwitchGroup", { enumerable: true, get: function () { return SwitchGroup_1.SwitchGroup; } });
5909
5911
  var ButtonGroup_1 = __webpack_require__(323);
5910
5912
  Object.defineProperty(exports, "ButtonGroup", { enumerable: true, get: function () { return ButtonGroup_1.ButtonGroup; } });
5911
- var Loader_1 = __webpack_require__(57);
5913
+ var Loader_1 = __webpack_require__(58);
5912
5914
  Object.defineProperty(exports, "Loader", { enumerable: true, get: function () { return Loader_1.Loader; } });
5913
5915
  var RadioGroup_1 = __webpack_require__(324);
5914
5916
  Object.defineProperty(exports, "RadioGroup", { enumerable: true, get: function () { return RadioGroup_1.RadioGroup; } });
@@ -5980,7 +5982,7 @@ var TagInputTest_1 = __webpack_require__(400);
5980
5982
  Object.defineProperty(exports, "TagInputTest", { enumerable: true, get: function () { return TagInputTest_1.TagInputTest; } });
5981
5983
  var GridList_1 = __webpack_require__(401);
5982
5984
  Object.defineProperty(exports, "GridList", { enumerable: true, get: function () { return GridList_1.GridList; } });
5983
- var GridItem_1 = __webpack_require__(68);
5985
+ var GridItem_1 = __webpack_require__(69);
5984
5986
  Object.defineProperty(exports, "GridItem", { enumerable: true, get: function () { return GridItem_1.GridItem; } });
5985
5987
  Object.defineProperty(exports, "GridItemContent", { enumerable: true, get: function () { return GridItem_1.GridItemContent; } });
5986
5988
  Object.defineProperty(exports, "GridItemMedia", { enumerable: true, get: function () { return GridItem_1.GridItemMedia; } });
@@ -6016,7 +6018,7 @@ var WithSizeObserver_1 = __webpack_require__(250);
6016
6018
  Object.defineProperty(exports, "WithSizeObserver", { enumerable: true, get: function () { return WithSizeObserver_1.WithSizeObserver; } });
6017
6019
  __exportStar(__webpack_require__(16), exports);
6018
6020
  __exportStar(__webpack_require__(15), exports);
6019
- __exportStar(__webpack_require__(72), exports);
6021
+ __exportStar(__webpack_require__(73), exports);
6020
6022
  __exportStar(__webpack_require__(239), exports);
6021
6023
  var Skeleton_1 = __webpack_require__(240);
6022
6024
  Object.defineProperty(exports, "Skeleton", { enumerable: true, get: function () { return Skeleton_1.Skeleton; } });
@@ -8621,11 +8623,11 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8621
8623
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ReplaceTransition", function() { return __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__["a"]; });
8622
8624
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(284);
8623
8625
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SwitchTransition", function() { return __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__["a"]; });
8624
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(76);
8626
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(77);
8625
8627
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TransitionGroup", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
8626
8628
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(52);
8627
8629
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Transition", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
8628
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(74);
8630
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(75);
8629
8631
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "config", function() { return __WEBPACK_IMPORTED_MODULE_5__config__["a"]; });
8630
8632
 
8631
8633
 
@@ -37843,8 +37845,8 @@ exports.FormLabel = FormLabel;
37843
37845
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
37844
37846
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(9);
37845
37847
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
37846
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(74);
37847
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(75);
37848
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(75);
37849
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(76);
37848
37850
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(53);
37849
37851
 
37850
37852
 
@@ -38480,6 +38482,316 @@ Transition.EXITING = EXITING;
38480
38482
 
38481
38483
  "use strict";
38482
38484
 
38485
+ var __extends = (this && this.__extends) || (function () {
38486
+ var extendStatics = function (d, b) {
38487
+ extendStatics = Object.setPrototypeOf ||
38488
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
38489
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
38490
+ return extendStatics(d, b);
38491
+ };
38492
+ return function (d, b) {
38493
+ if (typeof b !== "function" && b !== null)
38494
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
38495
+ extendStatics(d, b);
38496
+ function __() { this.constructor = d; }
38497
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
38498
+ };
38499
+ })();
38500
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
38501
+ if (k2 === undefined) k2 = k;
38502
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
38503
+ }) : (function(o, m, k, k2) {
38504
+ if (k2 === undefined) k2 = k;
38505
+ o[k2] = m[k];
38506
+ }));
38507
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
38508
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
38509
+ }) : function(o, v) {
38510
+ o["default"] = v;
38511
+ });
38512
+ var __importStar = (this && this.__importStar) || function (mod) {
38513
+ if (mod && mod.__esModule) return mod;
38514
+ var result = {};
38515
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
38516
+ __setModuleDefault(result, mod);
38517
+ return result;
38518
+ };
38519
+ var __importDefault = (this && this.__importDefault) || function (mod) {
38520
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38521
+ };
38522
+ Object.defineProperty(exports, "__esModule", { value: true });
38523
+ exports.getDurationString = exports.DurationInput = void 0;
38524
+ var React = __importStar(__webpack_require__(0));
38525
+ var classnames_1 = __importDefault(__webpack_require__(2));
38526
+ var moment_1 = __importDefault(__webpack_require__(1));
38527
+ var react_id_generator_1 = __importDefault(__webpack_require__(8));
38528
+ var Form_1 = __webpack_require__(15);
38529
+ var DurationInput = /** @class */ (function (_super) {
38530
+ __extends(DurationInput, _super);
38531
+ function DurationInput(props) {
38532
+ var _this = _super.call(this, props) || this;
38533
+ _this.htmlId = (0, react_id_generator_1.default)();
38534
+ _this.state = {
38535
+ hours: _this.stateUpdate('hours', _this.props.hours, _this.props.minutes, _this.props.seconds),
38536
+ minutes: _this.stateUpdate('minutes', _this.props.minutes, _this.props.seconds),
38537
+ seconds: _this.stateUpdate('seconds', _this.props.seconds),
38538
+ };
38539
+ _this.hourRef = React.createRef();
38540
+ _this.minuteRef = React.createRef();
38541
+ _this.secondRef = React.createRef();
38542
+ _this.handleKeyDown = _this.handleKeyDown.bind(_this);
38543
+ _this.zeroPad = _this.zeroPad.bind(_this);
38544
+ _this.handleChange = _this.handleChange.bind(_this);
38545
+ _this.handleFocusOnKeyUp = _this.handleFocusOnKeyUp.bind(_this);
38546
+ _this.handleKeyValue = _this.handleKeyValue.bind(_this);
38547
+ _this.valueUpdate = _this.valueUpdate.bind(_this);
38548
+ _this.stateUpdate = _this.stateUpdate.bind(_this);
38549
+ return _this;
38550
+ }
38551
+ DurationInput.prototype.stateUpdate = function (state, parametar1, parametar2, parametar3) {
38552
+ var value;
38553
+ if (state === 'hours') {
38554
+ value = parametar1
38555
+ ? parametar1 + Math.floor((parametar2 || 0) / 60) + Math.floor((parametar3 || 0) / 3600)
38556
+ : Math.floor((parametar2 || 0) / 60) + Math.floor((parametar3 || 0) / 3600);
38557
+ }
38558
+ else if (state === 'minutes') {
38559
+ value = parametar1
38560
+ ? (parametar1 % 60) + Math.floor((parametar2 || 0) % 3600 / 60)
38561
+ : Math.floor((parametar2 || 0) % 3600 / 60);
38562
+ }
38563
+ else {
38564
+ value = parametar1 ? parametar1 % 60 : 0;
38565
+ }
38566
+ return this.zeroPad(value);
38567
+ };
38568
+ DurationInput.prototype.componentDidUpdate = function (_, prevState) {
38569
+ if (!this.hourRef.current || !this.minuteRef.current || !this.secondRef.current) {
38570
+ return;
38571
+ }
38572
+ if (this.state.hours !== prevState.hours) {
38573
+ if (Number(this.hourRef.current.value) > 99) {
38574
+ this.setState({
38575
+ hours: this.zeroPad(99),
38576
+ });
38577
+ }
38578
+ }
38579
+ if (this.state.minutes !== prevState.minutes) {
38580
+ if (Number(this.minuteRef.current.value) > 59) {
38581
+ this.setState({
38582
+ hours: this.zeroPad(Number(this.state.hours) + 1),
38583
+ minutes: this.zeroPad(this.state.minutes % 60),
38584
+ });
38585
+ }
38586
+ if (Number(this.minuteRef.current.value) < 0) {
38587
+ this.setState({
38588
+ hours: this.zeroPad(Number(this.state.hours)) > 0
38589
+ ? this.zeroPad(Number(this.state.hours) - 1)
38590
+ : this.zeroPad(Number(this.state.hours)),
38591
+ minutes: 59,
38592
+ });
38593
+ }
38594
+ }
38595
+ if (this.state.seconds !== prevState.seconds) {
38596
+ if (Number(this.secondRef.current.value) > 59) {
38597
+ this.setState({
38598
+ minutes: this.zeroPad(Number(this.state.minutes) + 1),
38599
+ seconds: this.zeroPad(this.state.seconds % 60),
38600
+ });
38601
+ }
38602
+ if (Number(this.secondRef.current.value) < 0) {
38603
+ this.setState({
38604
+ minutes: this.zeroPad(Number(this.state.minutes) - 1),
38605
+ seconds: 59,
38606
+ });
38607
+ }
38608
+ }
38609
+ };
38610
+ DurationInput.prototype.valueUpdate = function () {
38611
+ if (this.props.onChange) {
38612
+ this.props.onChange(moment_1.default.duration("".concat(this.state.hours, ":").concat(this.state.minutes, ":").concat(this.state.seconds))
38613
+ .asSeconds());
38614
+ }
38615
+ };
38616
+ DurationInput.prototype.handleKeyDown = function (event) {
38617
+ if (!(event.target instanceof HTMLInputElement)) {
38618
+ return;
38619
+ }
38620
+ if (event.target.id === 'hours') {
38621
+ if (event.key === 'ArrowRight') {
38622
+ if (event.target.selectionEnd === event.target.value.length) {
38623
+ this.handleFocus(this.minuteRef.current, event.target.id);
38624
+ }
38625
+ }
38626
+ if (event.key === 'ArrowLeft') {
38627
+ if (event.target.selectionStart === 0) {
38628
+ this.handleFocus(this.secondRef.current, event.target.id);
38629
+ }
38630
+ }
38631
+ }
38632
+ if (event.target.id === 'minutes') {
38633
+ if (event.key === 'ArrowRight') {
38634
+ if (event.target.selectionEnd === event.target.value.length) {
38635
+ this.handleFocus(this.secondRef.current, event.target.id);
38636
+ }
38637
+ }
38638
+ if (event.key === 'ArrowLeft') {
38639
+ if (event.target.selectionStart === 0) {
38640
+ this.handleFocus(this.hourRef.current, event.target.id);
38641
+ }
38642
+ }
38643
+ }
38644
+ if (event.target.id === 'seconds') {
38645
+ if (event.key === 'ArrowRight') {
38646
+ if (event.target.selectionEnd === event.target.value.length) {
38647
+ this.handleFocus(this.hourRef.current, event.target.id);
38648
+ }
38649
+ }
38650
+ if (event.key === 'ArrowLeft') {
38651
+ if (event.target.selectionStart === 0) {
38652
+ this.handleFocus(this.minuteRef.current, event.target.id);
38653
+ }
38654
+ }
38655
+ }
38656
+ if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
38657
+ this.handleKeyValue(event, event.target.id);
38658
+ setTimeout(this.valueUpdate);
38659
+ }
38660
+ if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {
38661
+ if (!this.state.hours || !this.state.minutes || !this.state.seconds) {
38662
+ setTimeout(this.valueUpdate);
38663
+ }
38664
+ }
38665
+ };
38666
+ DurationInput.prototype.handleKeyValue = function (event, state) {
38667
+ if (!(event.target instanceof HTMLInputElement)) {
38668
+ return;
38669
+ }
38670
+ if (!this.state[state]) {
38671
+ return;
38672
+ }
38673
+ event.preventDefault();
38674
+ event.stopPropagation();
38675
+ var stateClone = {};
38676
+ if (event.key === 'ArrowUp') {
38677
+ if (event.target.id === 'hours') {
38678
+ stateClone[state] = this.state[state] < 99
38679
+ ? this.zeroPad(Number(this.state[state]) + 1)
38680
+ : this.zeroPad(99);
38681
+ }
38682
+ else {
38683
+ stateClone[state] = this.zeroPad(Number(this.state[state]) + 1);
38684
+ }
38685
+ }
38686
+ else if (event.key === 'ArrowDown') {
38687
+ if (event.target.id === 'hours') {
38688
+ stateClone[state] = this.state[state] > 0
38689
+ ? this.zeroPad(Number(this.state[state]) - 1)
38690
+ : this.zeroPad(0);
38691
+ }
38692
+ else {
38693
+ stateClone[state] = this.zeroPad(Number(this.state[state]) - 1);
38694
+ }
38695
+ }
38696
+ this.setState(stateClone);
38697
+ };
38698
+ DurationInput.prototype.zeroPad = function (value) {
38699
+ if (value.toString().length === 1 || value === 0) {
38700
+ return "0".concat(value);
38701
+ }
38702
+ else if (!value) {
38703
+ return '00';
38704
+ }
38705
+ else {
38706
+ return value;
38707
+ }
38708
+ };
38709
+ DurationInput.prototype.handleChange = function (event, state) {
38710
+ var stateClone = {};
38711
+ if (event.target.value.length >= 2) {
38712
+ stateClone[state] = event.target.value.slice(0, 2);
38713
+ }
38714
+ else {
38715
+ stateClone[state] = event.target.value;
38716
+ }
38717
+ this.setState(stateClone);
38718
+ setTimeout(this.valueUpdate);
38719
+ };
38720
+ DurationInput.prototype.handleFocus = function (ref, state) {
38721
+ ref === null || ref === void 0 ? void 0 : ref.focus();
38722
+ setTimeout(function () {
38723
+ ref === null || ref === void 0 ? void 0 : ref.setSelectionRange(0, 2);
38724
+ });
38725
+ var stateClone = {};
38726
+ stateClone[state] = this.zeroPad(this.state[state]);
38727
+ this.setState(stateClone);
38728
+ };
38729
+ DurationInput.prototype.handleFocusOnKeyUp = function (event, ref) {
38730
+ if (event.key !== 'ArrowRight' && event.key !== 'ArrowLeft' && event.key !== 'ArrowUp' && event.key !== 'ArrowDown' && event.key !== 'Backspace') {
38731
+ if ((event.keyCode > 46 && event.keyCode < 58) || (event.keyCode > 95 && event.keyCode < 106)) {
38732
+ var target = event.target;
38733
+ if (target.value.length >= 2) {
38734
+ ref === null || ref === void 0 ? void 0 : ref.focus();
38735
+ setTimeout(function () {
38736
+ ref === null || ref === void 0 ? void 0 : ref.setSelectionRange(0, 2);
38737
+ });
38738
+ }
38739
+ }
38740
+ }
38741
+ };
38742
+ DurationInput.prototype.render = function () {
38743
+ var _this = this;
38744
+ var InputClasses = (0, classnames_1.default)('sd-input__duration-input');
38745
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, required: this.props.required, disabled: this.props.disabled, invalid: this.props.invalid, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, fullWidth: this.props.fullWidth, htmlId: this.htmlId, tabindex: this.props.tabindex },
38746
+ React.createElement("div", { className: InputClasses },
38747
+ React.createElement("input", { className: 'duration-input', type: 'text', id: 'hours', max: 99, min: 0, ref: this.hourRef, value: this.state.hours, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.minuteRef.current); }, onChange: function (event) { _this.handleChange(event, 'hours'); }, onBlur: function (event) { return _this.setState({ hours: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
38748
+ if (!/[0-9]/.test(event.key)) {
38749
+ event.preventDefault();
38750
+ }
38751
+ } }),
38752
+ React.createElement("span", { className: 'sd-input__suffix' }, "h"),
38753
+ React.createElement("input", { className: 'duration-input', type: 'text', id: 'minutes', ref: this.minuteRef, value: this.state.minutes, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.secondRef.current); }, onChange: function (event) { _this.handleChange(event, 'minutes'); }, onBlur: function (event) { return _this.setState({ minutes: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
38754
+ if (!/[0-9]/.test(event.key)) {
38755
+ event.preventDefault();
38756
+ }
38757
+ } }),
38758
+ React.createElement("span", { className: 'sd-input__suffix' }, "m"),
38759
+ React.createElement("input", { className: 'duration-input', type: 'text', id: 'seconds', ref: this.secondRef, value: this.state.seconds, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.hourRef.current); }, onChange: function (event) { _this.handleChange(event, 'seconds'); }, onBlur: function (event) { return _this.setState({ seconds: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
38760
+ if (!/[0-9]/.test(event.key)) {
38761
+ event.preventDefault();
38762
+ }
38763
+ } }),
38764
+ React.createElement("span", { className: 'sd-input__suffix' }, "s"))));
38765
+ };
38766
+ return DurationInput;
38767
+ }(React.PureComponent));
38768
+ exports.DurationInput = DurationInput;
38769
+ function getDurationString(seconds) {
38770
+ function zeroPad(value) {
38771
+ if (value.toString().length === 1 || value === 0) {
38772
+ return "0".concat(value);
38773
+ }
38774
+ else if (!value) {
38775
+ return '00';
38776
+ }
38777
+ else {
38778
+ return value;
38779
+ }
38780
+ }
38781
+ var hour = zeroPad(Math.floor(seconds / 3600));
38782
+ var minute = zeroPad(Math.floor((seconds % 3600) / 60));
38783
+ var second = zeroPad(Math.floor(seconds % 60));
38784
+ return "".concat(hour, "h ").concat(minute, "m ").concat(second, "s");
38785
+ }
38786
+ exports.getDurationString = getDurationString;
38787
+
38788
+
38789
+ /***/ }),
38790
+ /* 55 */
38791
+ /***/ (function(module, exports, __webpack_require__) {
38792
+
38793
+ "use strict";
38794
+
38483
38795
  var __extends = (this && this.__extends) || (function () {
38484
38796
  var extendStatics = function (d, b) {
38485
38797
  extendStatics = Object.setPrototypeOf ||
@@ -38665,7 +38977,7 @@ exports.DatePickerISO = DatePickerISO;
38665
38977
 
38666
38978
 
38667
38979
  /***/ }),
38668
- /* 55 */
38980
+ /* 56 */
38669
38981
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38670
38982
 
38671
38983
  "use strict";
@@ -38689,7 +39001,7 @@ function startOfUTCISOWeek(dirtyDate) {
38689
39001
  }
38690
39002
 
38691
39003
  /***/ }),
38692
- /* 56 */
39004
+ /* 57 */
38693
39005
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38694
39006
 
38695
39007
  "use strict";
@@ -38724,7 +39036,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
38724
39036
  }
38725
39037
 
38726
39038
  /***/ }),
38727
- /* 57 */
39039
+ /* 58 */
38728
39040
  /***/ (function(module, exports, __webpack_require__) {
38729
39041
 
38730
39042
  "use strict";
@@ -38785,7 +39097,7 @@ exports.Loader = Loader;
38785
39097
 
38786
39098
 
38787
39099
  /***/ }),
38788
- /* 58 */
39100
+ /* 59 */
38789
39101
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38790
39102
 
38791
39103
  "use strict";
@@ -38877,7 +39189,7 @@ function effect(_ref2) {
38877
39189
  });
38878
39190
 
38879
39191
  /***/ }),
38880
- /* 59 */
39192
+ /* 60 */
38881
39193
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38882
39194
 
38883
39195
  "use strict";
@@ -38910,7 +39222,7 @@ function getLayoutRect(element) {
38910
39222
  }
38911
39223
 
38912
39224
  /***/ }),
38913
- /* 60 */
39225
+ /* 61 */
38914
39226
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38915
39227
 
38916
39228
  "use strict";
@@ -38920,7 +39232,7 @@ function getMainAxisFromPlacement(placement) {
38920
39232
  }
38921
39233
 
38922
39234
  /***/ }),
38923
- /* 61 */
39235
+ /* 62 */
38924
39236
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
38925
39237
 
38926
39238
  "use strict";
@@ -39117,7 +39429,7 @@ function computeStyles(_ref5) {
39117
39429
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(6)))
39118
39430
 
39119
39431
  /***/ }),
39120
- /* 62 */
39432
+ /* 63 */
39121
39433
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
39122
39434
 
39123
39435
  "use strict";
@@ -39173,14 +39485,14 @@ function effect(_ref) {
39173
39485
  });
39174
39486
 
39175
39487
  /***/ }),
39176
- /* 63 */
39488
+ /* 64 */
39177
39489
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
39178
39490
 
39179
39491
  "use strict";
39180
39492
  /* harmony export (immutable) */ __webpack_exports__["a"] = getWindowScrollBarX;
39181
39493
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getBoundingClientRect_js__ = __webpack_require__(34);
39182
39494
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getDocumentElement_js__ = __webpack_require__(21);
39183
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindowScroll_js__ = __webpack_require__(64);
39495
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindowScroll_js__ = __webpack_require__(65);
39184
39496
 
39185
39497
 
39186
39498
 
@@ -39196,7 +39508,7 @@ function getWindowScrollBarX(element) {
39196
39508
  }
39197
39509
 
39198
39510
  /***/ }),
39199
- /* 64 */
39511
+ /* 65 */
39200
39512
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
39201
39513
 
39202
39514
  "use strict";
@@ -39214,7 +39526,7 @@ function getWindowScroll(node) {
39214
39526
  }
39215
39527
 
39216
39528
  /***/ }),
39217
- /* 65 */
39529
+ /* 66 */
39218
39530
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
39219
39531
 
39220
39532
  "use strict";
@@ -39232,7 +39544,7 @@ function isScrollParent(element) {
39232
39544
  }
39233
39545
 
39234
39546
  /***/ }),
39235
- /* 66 */
39547
+ /* 67 */
39236
39548
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
39237
39549
 
39238
39550
  "use strict";
@@ -39264,14 +39576,14 @@ function popperOffsets(_ref) {
39264
39576
  });
39265
39577
 
39266
39578
  /***/ }),
39267
- /* 67 */
39579
+ /* 68 */
39268
39580
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
39269
39581
 
39270
39582
  "use strict";
39271
39583
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["c"] = popperGenerator;
39272
39584
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createPopper; });
39273
39585
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dom_utils_getCompositeRect_js__ = __webpack_require__(365);
39274
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dom_utils_getLayoutRect_js__ = __webpack_require__(59);
39586
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dom_utils_getLayoutRect_js__ = __webpack_require__(60);
39275
39587
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dom_utils_listScrollParents_js__ = __webpack_require__(229);
39276
39588
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dom_utils_getOffsetParent_js__ = __webpack_require__(35);
39277
39589
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dom_utils_getComputedStyle_js__ = __webpack_require__(31);
@@ -39547,7 +39859,7 @@ var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line i
39547
39859
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(6)))
39548
39860
 
39549
39861
  /***/ }),
39550
- /* 68 */
39862
+ /* 69 */
39551
39863
  /***/ (function(module, exports, __webpack_require__) {
39552
39864
 
39553
39865
  "use strict";
@@ -39769,8 +40081,8 @@ exports.default = GridItem;
39769
40081
 
39770
40082
 
39771
40083
  /***/ }),
39772
- /* 69 */,
39773
- /* 70 */
40084
+ /* 70 */,
40085
+ /* 71 */
39774
40086
  /***/ (function(module, exports, __webpack_require__) {
39775
40087
 
39776
40088
  "use strict";
@@ -39848,7 +40160,7 @@ exports.Button = Button;
39848
40160
 
39849
40161
 
39850
40162
  /***/ }),
39851
- /* 71 */
40163
+ /* 72 */
39852
40164
  /***/ (function(module, exports, __webpack_require__) {
39853
40165
 
39854
40166
  "use strict";
@@ -40028,7 +40340,7 @@ _defineProperty(InputText, "propTypes", {
40028
40340
  });
40029
40341
 
40030
40342
  /***/ }),
40031
- /* 72 */
40343
+ /* 73 */
40032
40344
  /***/ (function(module, exports, __webpack_require__) {
40033
40345
 
40034
40346
  "use strict";
@@ -40044,14 +40356,14 @@ Object.defineProperty(exports, "QuickNavBar", { enumerable: true, get: function
40044
40356
 
40045
40357
 
40046
40358
  /***/ }),
40047
- /* 73 */
40359
+ /* 74 */
40048
40360
  /***/ (function(module, exports) {
40049
40361
 
40050
40362
  module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
40051
40363
 
40052
40364
 
40053
40365
  /***/ }),
40054
- /* 74 */
40366
+ /* 75 */
40055
40367
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
40056
40368
 
40057
40369
  "use strict";
@@ -40060,7 +40372,7 @@ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
40060
40372
  });
40061
40373
 
40062
40374
  /***/ }),
40063
- /* 75 */
40375
+ /* 76 */
40064
40376
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
40065
40377
 
40066
40378
  "use strict";
@@ -40089,7 +40401,7 @@ var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED
40089
40401
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(6)))
40090
40402
 
40091
40403
  /***/ }),
40092
- /* 76 */
40404
+ /* 77 */
40093
40405
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
40094
40406
 
40095
40407
  "use strict";
@@ -40294,302 +40606,6 @@ TransitionGroup.defaultProps = defaultProps;
40294
40606
  /* harmony default export */ __webpack_exports__["a"] = (TransitionGroup);
40295
40607
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(6)))
40296
40608
 
40297
- /***/ }),
40298
- /* 77 */
40299
- /***/ (function(module, exports, __webpack_require__) {
40300
-
40301
- "use strict";
40302
-
40303
- var __extends = (this && this.__extends) || (function () {
40304
- var extendStatics = function (d, b) {
40305
- extendStatics = Object.setPrototypeOf ||
40306
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
40307
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
40308
- return extendStatics(d, b);
40309
- };
40310
- return function (d, b) {
40311
- if (typeof b !== "function" && b !== null)
40312
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
40313
- extendStatics(d, b);
40314
- function __() { this.constructor = d; }
40315
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
40316
- };
40317
- })();
40318
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
40319
- if (k2 === undefined) k2 = k;
40320
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
40321
- }) : (function(o, m, k, k2) {
40322
- if (k2 === undefined) k2 = k;
40323
- o[k2] = m[k];
40324
- }));
40325
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
40326
- Object.defineProperty(o, "default", { enumerable: true, value: v });
40327
- }) : function(o, v) {
40328
- o["default"] = v;
40329
- });
40330
- var __importStar = (this && this.__importStar) || function (mod) {
40331
- if (mod && mod.__esModule) return mod;
40332
- var result = {};
40333
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
40334
- __setModuleDefault(result, mod);
40335
- return result;
40336
- };
40337
- var __importDefault = (this && this.__importDefault) || function (mod) {
40338
- return (mod && mod.__esModule) ? mod : { "default": mod };
40339
- };
40340
- Object.defineProperty(exports, "__esModule", { value: true });
40341
- exports.getDurationString = exports.DurationInput = void 0;
40342
- var React = __importStar(__webpack_require__(0));
40343
- var classnames_1 = __importDefault(__webpack_require__(2));
40344
- var moment_1 = __importDefault(__webpack_require__(1));
40345
- var react_id_generator_1 = __importDefault(__webpack_require__(8));
40346
- var Form_1 = __webpack_require__(15);
40347
- var DurationInput = /** @class */ (function (_super) {
40348
- __extends(DurationInput, _super);
40349
- function DurationInput(props) {
40350
- var _this = _super.call(this, props) || this;
40351
- _this.htmlId = (0, react_id_generator_1.default)();
40352
- _this.state = {
40353
- hours: _this.stateUpdate('hours', _this.props.hours, _this.props.minutes, _this.props.seconds),
40354
- minutes: _this.stateUpdate('minutes', _this.props.minutes, _this.props.seconds),
40355
- seconds: _this.stateUpdate('seconds', _this.props.seconds),
40356
- };
40357
- _this.hourRef = React.createRef();
40358
- _this.minuteRef = React.createRef();
40359
- _this.secondRef = React.createRef();
40360
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
40361
- _this.zeroPad = _this.zeroPad.bind(_this);
40362
- _this.handleChange = _this.handleChange.bind(_this);
40363
- _this.handleFocusOnKeyUp = _this.handleFocusOnKeyUp.bind(_this);
40364
- _this.handleKeyValue = _this.handleKeyValue.bind(_this);
40365
- _this.valueUpdate = _this.valueUpdate.bind(_this);
40366
- _this.stateUpdate = _this.stateUpdate.bind(_this);
40367
- return _this;
40368
- }
40369
- DurationInput.prototype.stateUpdate = function (state, parametar1, parametar2, parametar3) {
40370
- var value;
40371
- if (state === 'hours') {
40372
- value = parametar1
40373
- ? parametar1 + Math.floor((parametar2 || 0) / 60) + Math.floor((parametar3 || 0) / 3600)
40374
- : Math.floor((parametar2 || 0) / 60) + Math.floor((parametar3 || 0) / 3600);
40375
- }
40376
- else if (state === 'minutes') {
40377
- value = parametar1
40378
- ? (parametar1 % 60) + Math.floor((parametar2 || 0) % 3600 / 60)
40379
- : Math.floor((parametar2 || 0) % 3600 / 60);
40380
- }
40381
- else {
40382
- value = parametar1 ? parametar1 % 60 : 0;
40383
- }
40384
- return this.zeroPad(value);
40385
- };
40386
- DurationInput.prototype.componentDidUpdate = function (_, prevState) {
40387
- if (!this.hourRef.current || !this.minuteRef.current || !this.secondRef.current) {
40388
- return;
40389
- }
40390
- if (this.state.hours !== prevState.hours) {
40391
- if (Number(this.hourRef.current.value) > 99) {
40392
- this.setState({
40393
- hours: this.zeroPad(99),
40394
- });
40395
- }
40396
- }
40397
- if (this.state.minutes !== prevState.minutes) {
40398
- if (Number(this.minuteRef.current.value) > 59) {
40399
- this.setState({
40400
- hours: this.zeroPad(Number(this.state.hours) + 1),
40401
- minutes: this.zeroPad(this.state.minutes % 60),
40402
- });
40403
- }
40404
- if (Number(this.minuteRef.current.value) < 0) {
40405
- this.setState({
40406
- hours: this.zeroPad(Number(this.state.hours)) > 0
40407
- ? this.zeroPad(Number(this.state.hours) - 1)
40408
- : this.zeroPad(Number(this.state.hours)),
40409
- minutes: 59,
40410
- });
40411
- }
40412
- }
40413
- if (this.state.seconds !== prevState.seconds) {
40414
- if (Number(this.secondRef.current.value) > 59) {
40415
- this.setState({
40416
- minutes: this.zeroPad(Number(this.state.minutes) + 1),
40417
- seconds: this.zeroPad(this.state.seconds % 60),
40418
- });
40419
- }
40420
- if (Number(this.secondRef.current.value) < 0) {
40421
- this.setState({
40422
- minutes: this.zeroPad(Number(this.state.minutes) - 1),
40423
- seconds: 59,
40424
- });
40425
- }
40426
- }
40427
- };
40428
- DurationInput.prototype.valueUpdate = function () {
40429
- if (this.props.onChange) {
40430
- this.props.onChange(moment_1.default.duration("".concat(this.state.hours, ":").concat(this.state.minutes, ":").concat(this.state.seconds))
40431
- .asSeconds());
40432
- }
40433
- };
40434
- DurationInput.prototype.handleKeyDown = function (event) {
40435
- if (!(event.target instanceof HTMLInputElement)) {
40436
- return;
40437
- }
40438
- if (event.target.id === 'hours') {
40439
- if (event.key === 'ArrowRight') {
40440
- if (event.target.selectionEnd === event.target.value.length) {
40441
- this.handleFocus(this.minuteRef.current, event.target.id);
40442
- }
40443
- }
40444
- if (event.key === 'ArrowLeft') {
40445
- if (event.target.selectionStart === 0) {
40446
- this.handleFocus(this.secondRef.current, event.target.id);
40447
- }
40448
- }
40449
- }
40450
- if (event.target.id === 'minutes') {
40451
- if (event.key === 'ArrowRight') {
40452
- if (event.target.selectionEnd === event.target.value.length) {
40453
- this.handleFocus(this.secondRef.current, event.target.id);
40454
- }
40455
- }
40456
- if (event.key === 'ArrowLeft') {
40457
- if (event.target.selectionStart === 0) {
40458
- this.handleFocus(this.hourRef.current, event.target.id);
40459
- }
40460
- }
40461
- }
40462
- if (event.target.id === 'seconds') {
40463
- if (event.key === 'ArrowRight') {
40464
- if (event.target.selectionEnd === event.target.value.length) {
40465
- this.handleFocus(this.hourRef.current, event.target.id);
40466
- }
40467
- }
40468
- if (event.key === 'ArrowLeft') {
40469
- if (event.target.selectionStart === 0) {
40470
- this.handleFocus(this.minuteRef.current, event.target.id);
40471
- }
40472
- }
40473
- }
40474
- if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
40475
- this.handleKeyValue(event, event.target.id);
40476
- setTimeout(this.valueUpdate);
40477
- }
40478
- if (event.key === 'ArrowRight' || event.key === 'ArrowLeft') {
40479
- if (!this.state.hours || !this.state.minutes || !this.state.seconds) {
40480
- setTimeout(this.valueUpdate);
40481
- }
40482
- }
40483
- };
40484
- DurationInput.prototype.handleKeyValue = function (event, state) {
40485
- if (!(event.target instanceof HTMLInputElement)) {
40486
- return;
40487
- }
40488
- if (!this.state[state]) {
40489
- return;
40490
- }
40491
- event.preventDefault();
40492
- event.stopPropagation();
40493
- var stateClone = {};
40494
- if (event.key === 'ArrowUp') {
40495
- if (event.target.id === 'hours') {
40496
- stateClone[state] = this.state[state] < 99
40497
- ? this.zeroPad(Number(this.state[state]) + 1)
40498
- : this.zeroPad(99);
40499
- }
40500
- else {
40501
- stateClone[state] = this.zeroPad(Number(this.state[state]) + 1);
40502
- }
40503
- }
40504
- else if (event.key === 'ArrowDown') {
40505
- if (event.target.id === 'hours') {
40506
- stateClone[state] = this.state[state] > 0
40507
- ? this.zeroPad(Number(this.state[state]) - 1)
40508
- : this.zeroPad(0);
40509
- }
40510
- else {
40511
- stateClone[state] = this.zeroPad(Number(this.state[state]) - 1);
40512
- }
40513
- }
40514
- this.setState(stateClone);
40515
- };
40516
- DurationInput.prototype.zeroPad = function (value) {
40517
- if (value.toString().length === 1 || value === 0) {
40518
- return "0".concat(value);
40519
- }
40520
- else if (!value) {
40521
- return '00';
40522
- }
40523
- else {
40524
- return value;
40525
- }
40526
- };
40527
- DurationInput.prototype.handleChange = function (event, state) {
40528
- var stateClone = {};
40529
- if (event.target.value.length >= 2) {
40530
- stateClone[state] = event.target.value.slice(0, 2);
40531
- }
40532
- else {
40533
- stateClone[state] = event.target.value;
40534
- }
40535
- this.setState(stateClone);
40536
- setTimeout(this.valueUpdate);
40537
- };
40538
- DurationInput.prototype.handleFocus = function (ref, state) {
40539
- ref === null || ref === void 0 ? void 0 : ref.focus();
40540
- setTimeout(function () {
40541
- ref === null || ref === void 0 ? void 0 : ref.setSelectionRange(0, 2);
40542
- });
40543
- var stateClone = {};
40544
- stateClone[state] = this.zeroPad(this.state[state]);
40545
- this.setState(stateClone);
40546
- };
40547
- DurationInput.prototype.handleFocusOnKeyUp = function (event, ref) {
40548
- if (event.key !== 'ArrowRight' && event.key !== 'ArrowLeft' && event.key !== 'ArrowUp' && event.key !== 'ArrowDown' && event.key !== 'Backspace') {
40549
- if ((event.keyCode > 46 && event.keyCode < 58) || (event.keyCode > 95 && event.keyCode < 106)) {
40550
- var target = event.target;
40551
- if (target.value.length >= 2) {
40552
- ref === null || ref === void 0 ? void 0 : ref.focus();
40553
- setTimeout(function () {
40554
- ref === null || ref === void 0 ? void 0 : ref.setSelectionRange(0, 2);
40555
- });
40556
- }
40557
- }
40558
- }
40559
- };
40560
- DurationInput.prototype.render = function () {
40561
- var _this = this;
40562
- var InputClasses = (0, classnames_1.default)('sd-input__duration-input');
40563
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, required: this.props.required, disabled: this.props.disabled, invalid: this.props.invalid, info: this.props.info, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, fullWidth: this.props.fullWidth, htmlId: this.htmlId, tabindex: this.props.tabindex },
40564
- React.createElement("div", { className: InputClasses },
40565
- React.createElement("input", { className: 'duration-input', type: 'text', id: 'hours', max: 99, min: 0, ref: this.hourRef, value: this.state.hours, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.minuteRef.current); }, onChange: function (event) { _this.handleChange(event, 'hours'); }, onBlur: function (event) { return _this.setState({ hours: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
40566
- if (!/[0-9]/.test(event.key)) {
40567
- event.preventDefault();
40568
- }
40569
- } }),
40570
- React.createElement("span", { className: 'sd-input__suffix' }, "h"),
40571
- React.createElement("input", { className: 'duration-input', type: 'text', id: 'minutes', ref: this.minuteRef, value: this.state.minutes, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.secondRef.current); }, onChange: function (event) { _this.handleChange(event, 'minutes'); }, onBlur: function (event) { return _this.setState({ minutes: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
40572
- if (!/[0-9]/.test(event.key)) {
40573
- event.preventDefault();
40574
- }
40575
- } }),
40576
- React.createElement("span", { className: 'sd-input__suffix' }, "m"),
40577
- React.createElement("input", { className: 'duration-input', type: 'text', id: 'seconds', ref: this.secondRef, value: this.state.seconds, disabled: this.props.disabled, onKeyDown: function (event) { return _this.handleKeyDown(event); }, onKeyUp: function (event) { return _this.handleFocusOnKeyUp(event, _this.hourRef.current); }, onChange: function (event) { _this.handleChange(event, 'seconds'); }, onBlur: function (event) { return _this.setState({ seconds: _this.zeroPad(event.target.value) }); }, onKeyPress: function (event) {
40578
- if (!/[0-9]/.test(event.key)) {
40579
- event.preventDefault();
40580
- }
40581
- } }),
40582
- React.createElement("span", { className: 'sd-input__suffix' }, "s"))));
40583
- };
40584
- return DurationInput;
40585
- }(React.PureComponent));
40586
- exports.DurationInput = DurationInput;
40587
- function getDurationString(seconds) {
40588
- return moment_1.default.utc(seconds * 1000).format("HH:mm:ss");
40589
- }
40590
- exports.getDurationString = getDurationString;
40591
-
40592
-
40593
40609
  /***/ }),
40594
40610
  /* 78 */
40595
40611
  /***/ (function(module, exports, __webpack_require__) {
@@ -55803,7 +55819,7 @@ function addLeadingZeros(number, targetLength) {
55803
55819
  "use strict";
55804
55820
  /* harmony export (immutable) */ __webpack_exports__["a"] = getUTCISOWeekYear;
55805
55821
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__toDate_index_js__ = __webpack_require__(14);
55806
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCISOWeek_index_js__ = __webpack_require__(55);
55822
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCISOWeek_index_js__ = __webpack_require__(56);
55807
55823
 
55808
55824
  // This function will be a part of public API when UTC function will be implemented.
55809
55825
  // See issue: https://github.com/date-fns/date-fns/issues/376
@@ -55841,7 +55857,7 @@ function getUTCISOWeekYear(dirtyDate) {
55841
55857
  /* harmony export (immutable) */ __webpack_exports__["a"] = getUTCWeekYear;
55842
55858
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__toInteger_index_js__ = __webpack_require__(25);
55843
55859
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__toDate_index_js__ = __webpack_require__(14);
55844
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__startOfUTCWeek_index_js__ = __webpack_require__(56);
55860
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__startOfUTCWeek_index_js__ = __webpack_require__(57);
55845
55861
 
55846
55862
 
55847
55863
  // This function will be a part of public API when UTC function will be implemented.
@@ -56493,7 +56509,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
56493
56509
  /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "offset", function() { return __WEBPACK_IMPORTED_MODULE_1__modifiers_index_js__["g"]; });
56494
56510
  /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "popperOffsets", function() { return __WEBPACK_IMPORTED_MODULE_1__modifiers_index_js__["h"]; });
56495
56511
  /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "preventOverflow", function() { return __WEBPACK_IMPORTED_MODULE_1__modifiers_index_js__["i"]; });
56496
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createPopper_js__ = __webpack_require__(67);
56512
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createPopper_js__ = __webpack_require__(68);
56497
56513
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "popperGenerator", function() { return __WEBPACK_IMPORTED_MODULE_2__createPopper_js__["c"]; });
56498
56514
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "detectOverflow", function() { return __WEBPACK_IMPORTED_MODULE_2__createPopper_js__["b"]; });
56499
56515
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createPopperBase", function() { return __WEBPACK_IMPORTED_MODULE_2__createPopper_js__["a"]; });
@@ -56515,13 +56531,13 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
56515
56531
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
56516
56532
 
56517
56533
  "use strict";
56518
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__applyStyles_js__ = __webpack_require__(58);
56534
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__applyStyles_js__ = __webpack_require__(59);
56519
56535
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__applyStyles_js__["a"]; });
56520
56536
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__arrow_js__ = __webpack_require__(222);
56521
56537
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__arrow_js__["a"]; });
56522
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__computeStyles_js__ = __webpack_require__(61);
56538
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__computeStyles_js__ = __webpack_require__(62);
56523
56539
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_2__computeStyles_js__["a"]; });
56524
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__eventListeners_js__ = __webpack_require__(62);
56540
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__eventListeners_js__ = __webpack_require__(63);
56525
56541
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__eventListeners_js__["a"]; });
56526
56542
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__flip_js__ = __webpack_require__(228);
56527
56543
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__flip_js__["a"]; });
@@ -56529,7 +56545,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
56529
56545
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__hide_js__["a"]; });
56530
56546
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__offset_js__ = __webpack_require__(233);
56531
56547
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__offset_js__["a"]; });
56532
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__popperOffsets_js__ = __webpack_require__(66);
56548
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__popperOffsets_js__ = __webpack_require__(67);
56533
56549
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__popperOffsets_js__["a"]; });
56534
56550
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__preventOverflow_js__ = __webpack_require__(234);
56535
56551
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__preventOverflow_js__["a"]; });
@@ -56549,10 +56565,10 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
56549
56565
 
56550
56566
  "use strict";
56551
56567
  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_getBasePlacement_js__ = __webpack_require__(20);
56552
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dom_utils_getLayoutRect_js__ = __webpack_require__(59);
56568
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dom_utils_getLayoutRect_js__ = __webpack_require__(60);
56553
56569
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dom_utils_contains_js__ = __webpack_require__(223);
56554
56570
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dom_utils_getOffsetParent_js__ = __webpack_require__(35);
56555
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_getMainAxisFromPlacement_js__ = __webpack_require__(60);
56571
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_getMainAxisFromPlacement_js__ = __webpack_require__(61);
56556
56572
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_within_js__ = __webpack_require__(224);
56557
56573
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_mergePaddingObject_js__ = __webpack_require__(225);
56558
56574
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_expandToHashMap_js__ = __webpack_require__(227);
@@ -56918,7 +56934,7 @@ function flip(_ref) {
56918
56934
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getScrollParent_js__ = __webpack_require__(362);
56919
56935
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getParentNode_js__ = __webpack_require__(45);
56920
56936
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindow_js__ = __webpack_require__(19);
56921
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__isScrollParent_js__ = __webpack_require__(65);
56937
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__isScrollParent_js__ = __webpack_require__(66);
56922
56938
 
56923
56939
 
56924
56940
 
@@ -56969,7 +56985,7 @@ function rectToClientRect(rect) {
56969
56985
  /* harmony export (immutable) */ __webpack_exports__["a"] = computeOffsets;
56970
56986
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getBasePlacement_js__ = __webpack_require__(20);
56971
56987
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getVariation_js__ = __webpack_require__(36);
56972
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getMainAxisFromPlacement_js__ = __webpack_require__(60);
56988
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getMainAxisFromPlacement_js__ = __webpack_require__(61);
56973
56989
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__enums_js__ = __webpack_require__(11);
56974
56990
 
56975
56991
 
@@ -57181,10 +57197,10 @@ function offset(_ref2) {
57181
57197
  "use strict";
57182
57198
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__enums_js__ = __webpack_require__(11);
57183
57199
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_getBasePlacement_js__ = __webpack_require__(20);
57184
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_getMainAxisFromPlacement_js__ = __webpack_require__(60);
57200
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_getMainAxisFromPlacement_js__ = __webpack_require__(61);
57185
57201
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_getAltAxis_js__ = __webpack_require__(364);
57186
57202
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_within_js__ = __webpack_require__(224);
57187
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__dom_utils_getLayoutRect_js__ = __webpack_require__(59);
57203
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__dom_utils_getLayoutRect_js__ = __webpack_require__(60);
57188
57204
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__dom_utils_getOffsetParent_js__ = __webpack_require__(35);
57189
57205
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_detectOverflow_js__ = __webpack_require__(37);
57190
57206
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_getVariation_js__ = __webpack_require__(36);
@@ -57340,11 +57356,11 @@ function preventOverflow(_ref) {
57340
57356
  "use strict";
57341
57357
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createPopper; });
57342
57358
  /* unused harmony export defaultModifiers */
57343
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createPopper_js__ = __webpack_require__(67);
57344
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__modifiers_eventListeners_js__ = __webpack_require__(62);
57345
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modifiers_popperOffsets_js__ = __webpack_require__(66);
57346
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modifiers_computeStyles_js__ = __webpack_require__(61);
57347
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modifiers_applyStyles_js__ = __webpack_require__(58);
57359
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createPopper_js__ = __webpack_require__(68);
57360
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__modifiers_eventListeners_js__ = __webpack_require__(63);
57361
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modifiers_popperOffsets_js__ = __webpack_require__(67);
57362
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modifiers_computeStyles_js__ = __webpack_require__(62);
57363
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modifiers_applyStyles_js__ = __webpack_require__(59);
57348
57364
  /* unused harmony reexport popperGenerator */
57349
57365
  /* unused harmony reexport detectOverflow */
57350
57366
 
@@ -57416,7 +57432,7 @@ exports.SelectGrid = void 0;
57416
57432
  var React = __importStar(__webpack_require__(0));
57417
57433
  var react_id_generator_1 = __importDefault(__webpack_require__(8));
57418
57434
  var overlaypanel_1 = __webpack_require__(412);
57419
- var Loader_1 = __webpack_require__(57);
57435
+ var Loader_1 = __webpack_require__(58);
57420
57436
  var SelectGrid = /** @class */ (function (_super) {
57421
57437
  __extends(SelectGrid, _super);
57422
57438
  function SelectGrid(props) {
@@ -61493,7 +61509,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
61493
61509
  exports.TreeSelect = void 0;
61494
61510
  var React = __importStar(__webpack_require__(0));
61495
61511
  var Icon_1 = __webpack_require__(7);
61496
- var Loader_1 = __webpack_require__(57);
61512
+ var Loader_1 = __webpack_require__(58);
61497
61513
  var classnames_1 = __importDefault(__webpack_require__(2));
61498
61514
  var react_id_generator_1 = __importDefault(__webpack_require__(8));
61499
61515
  var TreeSelect = /** @class */ (function (_super) {
@@ -62137,7 +62153,7 @@ var ReactIs = __webpack_require__(48);
62137
62153
  var assign = __webpack_require__(258);
62138
62154
 
62139
62155
  var ReactPropTypesSecret = __webpack_require__(49);
62140
- var has = __webpack_require__(73);
62156
+ var has = __webpack_require__(74);
62141
62157
  var checkPropTypes = __webpack_require__(259);
62142
62158
 
62143
62159
  var printWarning = function() {};
@@ -62853,7 +62869,7 @@ var printWarning = function() {};
62853
62869
  if (process.env.NODE_ENV !== 'production') {
62854
62870
  var ReactPropTypesSecret = __webpack_require__(49);
62855
62871
  var loggedTypeFailures = {};
62856
- var has = __webpack_require__(73);
62872
+ var has = __webpack_require__(74);
62857
62873
 
62858
62874
  printWarning = function(text) {
62859
62875
  var message = 'Warning: ' + text;
@@ -63155,7 +63171,7 @@ var Input = /** @class */ (function (_super) {
63155
63171
  };
63156
63172
  Input.prototype.render = function () {
63157
63173
  var _a, _b;
63158
- return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, required: this.props.required, disabled: this.props.disabled, value: this.state.value, invalid: this.state.invalid, info: this.props.info, maxLength: this.props.maxLength, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, size: (_a = this.props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: this.props.fullWidth, htmlId: this.htmlId, boxedStyle: this.props.boxedStyle, boxedLable: this.props.boxedLable, tabindex: this.props.tabindex },
63174
+ return (React.createElement(Form_1.InputWrapper, { label: this.props.label, error: this.props.error, required: this.props.required, disabled: this.props.disabled, value: this.state.value, invalid: this.props.invalid, info: this.props.info, maxLength: this.props.maxLength, inlineLabel: this.props.inlineLabel, labelHidden: this.props.labelHidden, size: (_a = this.props.size) !== null && _a !== void 0 ? _a : 'medium', fullWidth: this.props.fullWidth, htmlId: this.htmlId, boxedStyle: this.props.boxedStyle, boxedLable: this.props.boxedLable, tabindex: this.props.tabindex },
63159
63175
  React.createElement("input", { className: 'sd-input__input', type: (_b = this.props.type) !== null && _b !== void 0 ? _b : 'text', id: this.htmlId, value: this.state.value, "aria-describedby": this.htmlId + 'label', tabIndex: this.props.tabindex, onChange: this.handleChange, placeholder: this.props.placeholder, disabled: this.props.disabled })));
63160
63176
  };
63161
63177
  return Input;
@@ -65284,7 +65300,7 @@ _defineProperty(PrimeReact, "ripple", false);
65284
65300
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
65285
65301
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
65286
65302
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Transition__ = __webpack_require__(52);
65287
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_PropTypes__ = __webpack_require__(75);
65303
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_PropTypes__ = __webpack_require__(76);
65288
65304
 
65289
65305
 
65290
65306
 
@@ -65775,7 +65791,7 @@ function removeClass(element, className) {
65775
65791
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
65776
65792
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(9);
65777
65793
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
65778
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__TransitionGroup__ = __webpack_require__(76);
65794
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__TransitionGroup__ = __webpack_require__(77);
65779
65795
 
65780
65796
 
65781
65797
 
@@ -69204,7 +69220,7 @@ function getUTCDayOfYear(dirtyDate) {
69204
69220
  "use strict";
69205
69221
  /* harmony export (immutable) */ __webpack_exports__["a"] = getUTCISOWeek;
69206
69222
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__toDate_index_js__ = __webpack_require__(14);
69207
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCISOWeek_index_js__ = __webpack_require__(55);
69223
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCISOWeek_index_js__ = __webpack_require__(56);
69208
69224
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__startOfUTCISOWeekYear_index_js__ = __webpack_require__(310);
69209
69225
 
69210
69226
 
@@ -69232,7 +69248,7 @@ function getUTCISOWeek(dirtyDate) {
69232
69248
  "use strict";
69233
69249
  /* harmony export (immutable) */ __webpack_exports__["a"] = startOfUTCISOWeekYear;
69234
69250
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getUTCISOWeekYear_index_js__ = __webpack_require__(214);
69235
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCISOWeek_index_js__ = __webpack_require__(55);
69251
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCISOWeek_index_js__ = __webpack_require__(56);
69236
69252
 
69237
69253
  // This function will be a part of public API when UTC function will be implemented.
69238
69254
  // See issue: https://github.com/date-fns/date-fns/issues/376
@@ -69257,7 +69273,7 @@ function startOfUTCISOWeekYear(dirtyDate) {
69257
69273
  "use strict";
69258
69274
  /* harmony export (immutable) */ __webpack_exports__["a"] = getUTCWeek;
69259
69275
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__toDate_index_js__ = __webpack_require__(14);
69260
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCWeek_index_js__ = __webpack_require__(56);
69276
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__startOfUTCWeek_index_js__ = __webpack_require__(57);
69261
69277
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__startOfUTCWeekYear_index_js__ = __webpack_require__(312);
69262
69278
 
69263
69279
 
@@ -69286,7 +69302,7 @@ function getUTCWeek(dirtyDate, options) {
69286
69302
  /* harmony export (immutable) */ __webpack_exports__["a"] = startOfUTCWeekYear;
69287
69303
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__toInteger_index_js__ = __webpack_require__(25);
69288
69304
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getUTCWeekYear_index_js__ = __webpack_require__(215);
69289
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__startOfUTCWeek_index_js__ = __webpack_require__(56);
69305
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__startOfUTCWeek_index_js__ = __webpack_require__(57);
69290
69306
 
69291
69307
 
69292
69308
  // This function will be a part of public API when UTC function will be implemented.
@@ -69494,7 +69510,7 @@ var _reactDom = _interopRequireDefault(__webpack_require__(9));
69494
69510
 
69495
69511
  var _propTypes = _interopRequireDefault(__webpack_require__(4));
69496
69512
 
69497
- var _InputText = __webpack_require__(71);
69513
+ var _InputText = __webpack_require__(72);
69498
69514
 
69499
69515
  var _Button = __webpack_require__(216);
69500
69516
 
@@ -75065,7 +75081,7 @@ function getClippingRect(element, boundary, rootBoundary) {
75065
75081
  /* harmony export (immutable) */ __webpack_exports__["a"] = getViewportRect;
75066
75082
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getWindow_js__ = __webpack_require__(19);
75067
75083
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getDocumentElement_js__ = __webpack_require__(21);
75068
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindowScrollBarX_js__ = __webpack_require__(63);
75084
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindowScrollBarX_js__ = __webpack_require__(64);
75069
75085
 
75070
75086
 
75071
75087
 
@@ -75115,8 +75131,8 @@ function getViewportRect(element) {
75115
75131
  /* harmony export (immutable) */ __webpack_exports__["a"] = getDocumentRect;
75116
75132
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getDocumentElement_js__ = __webpack_require__(21);
75117
75133
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getComputedStyle_js__ = __webpack_require__(31);
75118
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindowScrollBarX_js__ = __webpack_require__(63);
75119
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getWindowScroll_js__ = __webpack_require__(64);
75134
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getWindowScrollBarX_js__ = __webpack_require__(64);
75135
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getWindowScroll_js__ = __webpack_require__(65);
75120
75136
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_math_js__ = __webpack_require__(27);
75121
75137
 
75122
75138
 
@@ -75155,7 +75171,7 @@ function getDocumentRect(element) {
75155
75171
  "use strict";
75156
75172
  /* harmony export (immutable) */ __webpack_exports__["a"] = getScrollParent;
75157
75173
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getParentNode_js__ = __webpack_require__(45);
75158
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__isScrollParent_js__ = __webpack_require__(65);
75174
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__isScrollParent_js__ = __webpack_require__(66);
75159
75175
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getNodeName_js__ = __webpack_require__(26);
75160
75176
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__instanceOf_js__ = __webpack_require__(13);
75161
75177
 
@@ -75254,9 +75270,9 @@ function getAltAxis(axis) {
75254
75270
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getNodeScroll_js__ = __webpack_require__(366);
75255
75271
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__getNodeName_js__ = __webpack_require__(26);
75256
75272
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__instanceOf_js__ = __webpack_require__(13);
75257
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__getWindowScrollBarX_js__ = __webpack_require__(63);
75273
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__getWindowScrollBarX_js__ = __webpack_require__(64);
75258
75274
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__getDocumentElement_js__ = __webpack_require__(21);
75259
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__isScrollParent_js__ = __webpack_require__(65);
75275
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__isScrollParent_js__ = __webpack_require__(66);
75260
75276
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_math_js__ = __webpack_require__(27);
75261
75277
 
75262
75278
 
@@ -75323,7 +75339,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
75323
75339
 
75324
75340
  "use strict";
75325
75341
  /* harmony export (immutable) */ __webpack_exports__["a"] = getNodeScroll;
75326
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getWindowScroll_js__ = __webpack_require__(64);
75342
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getWindowScroll_js__ = __webpack_require__(65);
75327
75343
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getWindow_js__ = __webpack_require__(19);
75328
75344
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__instanceOf_js__ = __webpack_require__(13);
75329
75345
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getHTMLElementScroll_js__ = __webpack_require__(367);
@@ -75578,11 +75594,11 @@ function mergeByName(modifiers) {
75578
75594
  "use strict";
75579
75595
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createPopper; });
75580
75596
  /* unused harmony export defaultModifiers */
75581
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createPopper_js__ = __webpack_require__(67);
75582
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__modifiers_eventListeners_js__ = __webpack_require__(62);
75583
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modifiers_popperOffsets_js__ = __webpack_require__(66);
75584
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modifiers_computeStyles_js__ = __webpack_require__(61);
75585
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modifiers_applyStyles_js__ = __webpack_require__(58);
75597
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createPopper_js__ = __webpack_require__(68);
75598
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__modifiers_eventListeners_js__ = __webpack_require__(63);
75599
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modifiers_popperOffsets_js__ = __webpack_require__(67);
75600
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modifiers_computeStyles_js__ = __webpack_require__(62);
75601
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modifiers_applyStyles_js__ = __webpack_require__(59);
75586
75602
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modifiers_offset_js__ = __webpack_require__(233);
75587
75603
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modifiers_flip_js__ = __webpack_require__(228);
75588
75604
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modifiers_preventOverflow_js__ = __webpack_require__(234);
@@ -76079,7 +76095,7 @@ var _propTypes = _interopRequireDefault(__webpack_require__(4));
76079
76095
 
76080
76096
  var _reactDom = _interopRequireDefault(__webpack_require__(9));
76081
76097
 
76082
- var _InputText = __webpack_require__(71);
76098
+ var _InputText = __webpack_require__(72);
76083
76099
 
76084
76100
  var _Button = __webpack_require__(216);
76085
76101
 
@@ -97292,7 +97308,7 @@ exports.IconPicker = void 0;
97292
97308
  var React = __importStar(__webpack_require__(0));
97293
97309
  // @ts-ignore
97294
97310
  var iconFont = __importStar(__webpack_require__(249));
97295
- var Button_1 = __webpack_require__(70);
97311
+ var Button_1 = __webpack_require__(71);
97296
97312
  var Icon_1 = __webpack_require__(7);
97297
97313
  var SelectGrid_1 = __webpack_require__(237);
97298
97314
  var IconPicker = /** @class */ (function (_super) {