@true-engineering/true-react-common-ui-kit 3.28.2 → 3.28.4

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.
@@ -8016,9 +8016,10 @@
8016
8016
  ref: refs.setReference
8017
8017
  });
8018
8018
  var triggerElement = trueReactPlatformHelpers.applyAction(trigger, _object_spread$Y({
8019
- isActive: isOpen,
8020
- isDisabled
8021
- }, !isTriggerWrapped ? referenceProps : void 0));
8019
+ isActive: isOpen
8020
+ }, isDisabled ? {
8021
+ isDisabled: true
8022
+ } : void 0, !isTriggerWrapped ? referenceProps : void 0));
8022
8023
  return /* @__PURE__ */ jsxs(Fragment, {
8023
8024
  children: [
8024
8025
  isTriggerWrapped ? /* @__PURE__ */ jsx("div", _object_spread_props$P(_object_spread$Y({
@@ -8267,7 +8268,7 @@
8267
8268
  }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
8268
8269
  children: items.map(function(item, i) {
8269
8270
  var itemProps = _object_spread_props$N(_object_spread$W({
8270
- testId: trueReactPlatformHelpers.getTestId(item.testId, "item-".concat(i))
8271
+ testId: trueReactPlatformHelpers.getTestId(testId, "item-".concat(i))
8271
8272
  }, item), {
8272
8273
  shouldDrawSpacerAbove: item.shouldDrawSpacerAbove && i !== 0,
8273
8274
  shouldDrawSpacerBelow: item.shouldDrawSpacerBelow && i !== items.length - 1,
@@ -9104,10 +9105,10 @@
9104
9105
  }
9105
9106
  return target;
9106
9107
  }
9107
- function _object_without_properties$g(source, excluded) {
9108
+ function _object_without_properties$h(source, excluded) {
9108
9109
  if (source == null)
9109
9110
  return {};
9110
- var target = _object_without_properties_loose$g(source, excluded);
9111
+ var target = _object_without_properties_loose$h(source, excluded);
9111
9112
  var key, i;
9112
9113
  if (Object.getOwnPropertySymbols) {
9113
9114
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -9122,7 +9123,7 @@
9122
9123
  }
9123
9124
  return target;
9124
9125
  }
9125
- function _object_without_properties_loose$g(source, excluded) {
9126
+ function _object_without_properties_loose$h(source, excluded) {
9126
9127
  if (source == null)
9127
9128
  return {};
9128
9129
  var target = {};
@@ -9137,7 +9138,7 @@
9137
9138
  return target;
9138
9139
  }
9139
9140
  var Button = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
9140
- var _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, children = _param.children, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = _param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = _param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, icon = _param.icon, _param_iconPosition = _param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = _param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, interactions = _object_without_properties$g(_param, [
9141
+ var _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, children = _param.children, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = _param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = _param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, icon = _param.icon, _param_iconPosition = _param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = _param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, interactions = _object_without_properties$h(_param, [
9141
9142
  "type",
9142
9143
  "children",
9143
9144
  "size",
@@ -9993,10 +9994,10 @@
9993
9994
  }
9994
9995
  return target;
9995
9996
  }
9996
- function _object_without_properties$f(source, excluded) {
9997
+ function _object_without_properties$g(source, excluded) {
9997
9998
  if (source == null)
9998
9999
  return {};
9999
- var target = _object_without_properties_loose$f(source, excluded);
10000
+ var target = _object_without_properties_loose$g(source, excluded);
10000
10001
  var key, i;
10001
10002
  if (Object.getOwnPropertySymbols) {
10002
10003
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10011,7 +10012,7 @@
10011
10012
  }
10012
10013
  return target;
10013
10014
  }
10014
- function _object_without_properties_loose$f(source, excluded) {
10015
+ function _object_without_properties_loose$g(source, excluded) {
10015
10016
  if (source == null)
10016
10017
  return {};
10017
10018
  var target = {};
@@ -10144,7 +10145,7 @@
10144
10145
  }
10145
10146
  }
10146
10147
  var Input = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
10147
- var _param_value = _param.value, value = _param_value === void 0 ? "" : _param_value, label = _param.label, placeholder = _param.placeholder, _param_type = _param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = _param.isDisabled, _param_isReadonly = _param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_hasFloatingLabel = _param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = _param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = _param.infoMessage, errorMessage = _param.errorMessage, _param_errorPosition = _param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = _param.inlineStyle, border = _param.border, _param_isRequired = _param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isAutoSizeable = _param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? false : _param_isAutoSizeable, _param_defaultSize = _param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = _param.iconType, hasRequiredLabel = _param.hasRequiredLabel, data = _param.data, tweakStyles = _param.tweakStyles, _param_shouldFocusOnMount = _param.shouldFocusOnMount, shouldFocusOnMount = _param_shouldFocusOnMount === void 0 ? false : _param_shouldFocusOnMount, units = _param.units, testId = _param.testId, onChange = _param.onChange, onFocus = _param.onFocus, onBlur = _param.onBlur, onIconClick = _param.onIconClick, mask = _param.mask, maskPlaceholder = _param.maskPlaceholder, alwaysShowMask = _param.alwaysShowMask, _param_shouldAlwaysShowPlaceholder = _param.shouldAlwaysShowPlaceholder, shouldAlwaysShowPlaceholder = _param_shouldAlwaysShowPlaceholder === void 0 ? false : _param_shouldAlwaysShowPlaceholder, beforeMaskedStateChange = _param.beforeMaskedStateChange, inputProps = _object_without_properties$f(_param, [
10148
+ var _param_value = _param.value, value = _param_value === void 0 ? "" : _param_value, label = _param.label, placeholder = _param.placeholder, _param_type = _param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = _param.isDisabled, _param_isReadonly = _param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_hasFloatingLabel = _param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = _param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = _param.infoMessage, errorMessage = _param.errorMessage, _param_errorPosition = _param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = _param.inlineStyle, border = _param.border, _param_isRequired = _param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isAutoSizeable = _param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? false : _param_isAutoSizeable, _param_defaultSize = _param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = _param.iconType, hasRequiredLabel = _param.hasRequiredLabel, data = _param.data, tweakStyles = _param.tweakStyles, _param_shouldFocusOnMount = _param.shouldFocusOnMount, shouldFocusOnMount = _param_shouldFocusOnMount === void 0 ? false : _param_shouldFocusOnMount, units = _param.units, testId = _param.testId, onChange = _param.onChange, onFocus = _param.onFocus, onBlur = _param.onBlur, onIconClick = _param.onIconClick, mask = _param.mask, maskPlaceholder = _param.maskPlaceholder, alwaysShowMask = _param.alwaysShowMask, _param_shouldAlwaysShowPlaceholder = _param.shouldAlwaysShowPlaceholder, shouldAlwaysShowPlaceholder = _param_shouldAlwaysShowPlaceholder === void 0 ? false : _param_shouldAlwaysShowPlaceholder, beforeMaskedStateChange = _param.beforeMaskedStateChange, inputProps = _object_without_properties$g(_param, [
10148
10149
  "value",
10149
10150
  "label",
10150
10151
  "placeholder",
@@ -10386,10 +10387,10 @@
10386
10387
  }
10387
10388
  return target;
10388
10389
  }
10389
- function _object_without_properties$e(source, excluded) {
10390
+ function _object_without_properties$f(source, excluded) {
10390
10391
  if (source == null)
10391
10392
  return {};
10392
- var target = _object_without_properties_loose$e(source, excluded);
10393
+ var target = _object_without_properties_loose$f(source, excluded);
10393
10394
  var key, i;
10394
10395
  if (Object.getOwnPropertySymbols) {
10395
10396
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10404,7 +10405,7 @@
10404
10405
  }
10405
10406
  return target;
10406
10407
  }
10407
- function _object_without_properties_loose$e(source, excluded) {
10408
+ function _object_without_properties_loose$f(source, excluded) {
10408
10409
  if (source == null)
10409
10410
  return {};
10410
10411
  var target = {};
@@ -10419,7 +10420,7 @@
10419
10420
  return target;
10420
10421
  }
10421
10422
  var DateInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
10422
- var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$e(_param, [
10423
+ var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$f(_param, [
10423
10424
  "date",
10424
10425
  "startDate",
10425
10426
  "endDate",
@@ -10565,10 +10566,10 @@
10565
10566
  }
10566
10567
  return target;
10567
10568
  }
10568
- function _object_without_properties$d(source, excluded) {
10569
+ function _object_without_properties$e(source, excluded) {
10569
10570
  if (source == null)
10570
10571
  return {};
10571
- var target = _object_without_properties_loose$d(source, excluded);
10572
+ var target = _object_without_properties_loose$e(source, excluded);
10572
10573
  var key, i;
10573
10574
  if (Object.getOwnPropertySymbols) {
10574
10575
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10583,7 +10584,7 @@
10583
10584
  }
10584
10585
  return target;
10585
10586
  }
10586
- function _object_without_properties_loose$d(source, excluded) {
10587
+ function _object_without_properties_loose$e(source, excluded) {
10587
10588
  if (source == null)
10588
10589
  return {};
10589
10590
  var target = {};
@@ -10598,7 +10599,7 @@
10598
10599
  return target;
10599
10600
  }
10600
10601
  var SearchInput = function(_param) {
10601
- var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$d(_param, [
10602
+ var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$e(_param, [
10602
10603
  "isClearable",
10603
10604
  "tweakStyles",
10604
10605
  "testId",
@@ -10719,10 +10720,10 @@
10719
10720
  }
10720
10721
  return target;
10721
10722
  }
10722
- function _object_without_properties$c(source, excluded) {
10723
+ function _object_without_properties$d(source, excluded) {
10723
10724
  if (source == null)
10724
10725
  return {};
10725
- var target = _object_without_properties_loose$c(source, excluded);
10726
+ var target = _object_without_properties_loose$d(source, excluded);
10726
10727
  var key, i;
10727
10728
  if (Object.getOwnPropertySymbols) {
10728
10729
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10737,7 +10738,7 @@
10737
10738
  }
10738
10739
  return target;
10739
10740
  }
10740
- function _object_without_properties_loose$c(source, excluded) {
10741
+ function _object_without_properties_loose$d(source, excluded) {
10741
10742
  if (source == null)
10742
10743
  return {};
10743
10744
  var target = {};
@@ -10840,7 +10841,7 @@
10840
10841
  _this_props.active;
10841
10842
  var elementType = _this_props.elementType, children = _this_props.children;
10842
10843
  _this_props.options;
10843
- var wrapperProps = _object_without_properties$c(_this_props, [
10844
+ var wrapperProps = _object_without_properties$d(_this_props, [
10844
10845
  "active",
10845
10846
  "elementType",
10846
10847
  "children",
@@ -11442,10 +11443,10 @@
11442
11443
  }
11443
11444
  return target;
11444
11445
  }
11445
- function _object_without_properties$b(source, excluded) {
11446
+ function _object_without_properties$c(source, excluded) {
11446
11447
  if (source == null)
11447
11448
  return {};
11448
- var target = _object_without_properties_loose$b(source, excluded);
11449
+ var target = _object_without_properties_loose$c(source, excluded);
11449
11450
  var key, i;
11450
11451
  if (Object.getOwnPropertySymbols) {
11451
11452
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -11460,7 +11461,7 @@
11460
11461
  }
11461
11462
  return target;
11462
11463
  }
11463
- function _object_without_properties_loose$b(source, excluded) {
11464
+ function _object_without_properties_loose$c(source, excluded) {
11464
11465
  if (source == null)
11465
11466
  return {};
11466
11467
  var target = {};
@@ -11597,7 +11598,7 @@
11597
11598
  }
11598
11599
  function Select(props) {
11599
11600
  var _input_current;
11600
- var options = props.options, isMultiSelect = props.isMultiSelect, value = props.value, header = props.header, footer = props.footer, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$b(props, [
11601
+ var options = props.options, isMultiSelect = props.isMultiSelect, value = props.value, header = props.header, footer = props.footer, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$c(props, [
11601
11602
  "options",
11602
11603
  "isMultiSelect",
11603
11604
  "value",
@@ -11634,7 +11635,7 @@
11634
11635
  var classes = useStyles$D({
11635
11636
  theme: tweakStyles
11636
11637
  });
11637
- var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$b(_ref, [
11638
+ var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$c(_ref, [
11638
11639
  "shouldRenderInList"
11639
11640
  ]);
11640
11641
  var hasSearchInputInList = optionsMode !== "normal" && shouldRenderSearchInputInList;
@@ -12398,10 +12399,10 @@
12398
12399
  }
12399
12400
  return target;
12400
12401
  }
12401
- function _object_without_properties$a(source, excluded) {
12402
+ function _object_without_properties$b(source, excluded) {
12402
12403
  if (source == null)
12403
12404
  return {};
12404
- var target = _object_without_properties_loose$a(source, excluded);
12405
+ var target = _object_without_properties_loose$b(source, excluded);
12405
12406
  var key, i;
12406
12407
  if (Object.getOwnPropertySymbols) {
12407
12408
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -12416,7 +12417,7 @@
12416
12417
  }
12417
12418
  return target;
12418
12419
  }
12419
- function _object_without_properties_loose$a(source, excluded) {
12420
+ function _object_without_properties_loose$b(source, excluded) {
12420
12421
  if (source == null)
12421
12422
  return {};
12422
12423
  var target = {};
@@ -12447,7 +12448,7 @@
12447
12448
  return _array_like_to_array$i(o, minLen);
12448
12449
  }
12449
12450
  var DatePicker = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
12450
- var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, fixedHeight = _param.fixedHeight, excludeScrollbar = _param.excludeScrollbar, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, _param_shouldRenderPopperInBody = _param.shouldRenderPopperInBody, shouldRenderPopperInBody = _param_shouldRenderPopperInBody === void 0 ? false : _param_shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, highlightDates = _param.highlightDates, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$a(_param, [
12451
+ var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, fixedHeight = _param.fixedHeight, excludeScrollbar = _param.excludeScrollbar, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, _param_shouldRenderPopperInBody = _param.shouldRenderPopperInBody, shouldRenderPopperInBody = _param_shouldRenderPopperInBody === void 0 ? false : _param_shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, highlightDates = _param.highlightDates, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$b(_param, [
12451
12452
  "data",
12452
12453
  "selectedDate",
12453
12454
  "minDate",
@@ -13265,10 +13266,10 @@
13265
13266
  }
13266
13267
  return target;
13267
13268
  }
13268
- function _object_without_properties$9(source, excluded) {
13269
+ function _object_without_properties$a(source, excluded) {
13269
13270
  if (source == null)
13270
13271
  return {};
13271
- var target = _object_without_properties_loose$9(source, excluded);
13272
+ var target = _object_without_properties_loose$a(source, excluded);
13272
13273
  var key, i;
13273
13274
  if (Object.getOwnPropertySymbols) {
13274
13275
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -13283,7 +13284,7 @@
13283
13284
  }
13284
13285
  return target;
13285
13286
  }
13286
- function _object_without_properties_loose$9(source, excluded) {
13287
+ function _object_without_properties_loose$a(source, excluded) {
13287
13288
  if (source == null)
13288
13289
  return {};
13289
13290
  var target = {};
@@ -13298,7 +13299,7 @@
13298
13299
  return target;
13299
13300
  }
13300
13301
  var IconButton = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
13301
- var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? "m" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "cancel-light" : _param_view, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, testId = _param.testId, tweakStyles = _param.tweakStyles, data = _param.data, onClick = _param.onClick, restProps = _object_without_properties$9(_param, [
13302
+ var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? "m" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "cancel-light" : _param_view, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, testId = _param.testId, tweakStyles = _param.tweakStyles, data = _param.data, onClick = _param.onClick, restProps = _object_without_properties$a(_param, [
13302
13303
  "icon",
13303
13304
  "size",
13304
13305
  "view",
@@ -14222,10 +14223,10 @@
14222
14223
  }
14223
14224
  return target;
14224
14225
  }
14225
- function _object_without_properties$8(source, excluded) {
14226
+ function _object_without_properties$9(source, excluded) {
14226
14227
  if (source == null)
14227
14228
  return {};
14228
- var target = _object_without_properties_loose$8(source, excluded);
14229
+ var target = _object_without_properties_loose$9(source, excluded);
14229
14230
  var key, i;
14230
14231
  if (Object.getOwnPropertySymbols) {
14231
14232
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -14240,7 +14241,7 @@
14240
14241
  }
14241
14242
  return target;
14242
14243
  }
14243
- function _object_without_properties_loose$8(source, excluded) {
14244
+ function _object_without_properties_loose$9(source, excluded) {
14244
14245
  if (source == null)
14245
14246
  return {};
14246
14247
  var target = {};
@@ -14373,7 +14374,7 @@
14373
14374
  }
14374
14375
  }
14375
14376
  var NumberInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
14376
- var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$8(_param, [
14377
+ var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$9(_param, [
14377
14378
  "value",
14378
14379
  "canBeFloat",
14379
14380
  "canBeNegative",
@@ -19290,6 +19291,38 @@
19290
19291
  }
19291
19292
  return target;
19292
19293
  }
19294
+ function _object_without_properties$8(source, excluded) {
19295
+ if (source == null)
19296
+ return {};
19297
+ var target = _object_without_properties_loose$8(source, excluded);
19298
+ var key, i;
19299
+ if (Object.getOwnPropertySymbols) {
19300
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
19301
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
19302
+ key = sourceSymbolKeys[i];
19303
+ if (excluded.indexOf(key) >= 0)
19304
+ continue;
19305
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
19306
+ continue;
19307
+ target[key] = source[key];
19308
+ }
19309
+ }
19310
+ return target;
19311
+ }
19312
+ function _object_without_properties_loose$8(source, excluded) {
19313
+ if (source == null)
19314
+ return {};
19315
+ var target = {};
19316
+ var sourceKeys = Object.keys(source);
19317
+ var key, i;
19318
+ for (i = 0; i < sourceKeys.length; i++) {
19319
+ key = sourceKeys[i];
19320
+ if (excluded.indexOf(key) >= 0)
19321
+ continue;
19322
+ target[key] = source[key];
19323
+ }
19324
+ return target;
19325
+ }
19293
19326
  function FilterWrapper(param) {
19294
19327
  var filter = param.filter, value = param.value, isDisabled = param.isDisabled, locale2 = param.locale, localeKey = param.localeKey, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, onChange = param.onChange;
19295
19328
  var classes = useStyles$m({
@@ -19327,12 +19360,17 @@
19327
19360
  canBeFlipped: true,
19328
19361
  isDisabled: isBoolean || isDisabled,
19329
19362
  tweakStyles: tweakWithPopupStyles,
19330
- trigger: function(param2) {
19331
- var isActive = param2.isActive;
19363
+ trigger: function(_param) {
19364
+ var isActive = _param.isActive;
19365
+ _param.isDisabled;
19366
+ var props = _object_without_properties$8(_param, [
19367
+ "isActive",
19368
+ "isDisabled"
19369
+ ]);
19332
19370
  var _obj2;
19333
19371
  return /* @__PURE__ */ jsx("div", _object_spread_props$m(_object_spread$n({
19334
19372
  className: clsx(classes.root, (_obj2 = {}, _define_property$o(_obj2, classes.noValue, !hasValue), _define_property$o(_obj2, classes.openNoValue, isActive && !hasValue), _define_property$o(_obj2, classes.withValue, !isActive && hasValue), _define_property$o(_obj2, classes.openWithValue, isActive && hasValue), _define_property$o(_obj2, classes.boolean, isBoolean), _define_property$o(_obj2, classes.disabled, isDisabled), _obj2))
19335
- }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
19373
+ }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data), props), {
19336
19374
  children: /* @__PURE__ */ jsxs("div", {
19337
19375
  onClick: handleLabelClick,
19338
19376
  className: clsx(classes.item, _define_property$o({}, classes.booleanItem, isBoolean)),