@true-engineering/true-react-common-ui-kit 3.28.3 → 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.
- package/README.md +9 -3
- package/dist/true-react-common-ui-kit.js +77 -40
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +77 -40
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.tsx +2 -1
|
@@ -9105,10 +9105,10 @@
|
|
|
9105
9105
|
}
|
|
9106
9106
|
return target;
|
|
9107
9107
|
}
|
|
9108
|
-
function _object_without_properties$
|
|
9108
|
+
function _object_without_properties$h(source, excluded) {
|
|
9109
9109
|
if (source == null)
|
|
9110
9110
|
return {};
|
|
9111
|
-
var target = _object_without_properties_loose$
|
|
9111
|
+
var target = _object_without_properties_loose$h(source, excluded);
|
|
9112
9112
|
var key, i;
|
|
9113
9113
|
if (Object.getOwnPropertySymbols) {
|
|
9114
9114
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -9123,7 +9123,7 @@
|
|
|
9123
9123
|
}
|
|
9124
9124
|
return target;
|
|
9125
9125
|
}
|
|
9126
|
-
function _object_without_properties_loose$
|
|
9126
|
+
function _object_without_properties_loose$h(source, excluded) {
|
|
9127
9127
|
if (source == null)
|
|
9128
9128
|
return {};
|
|
9129
9129
|
var target = {};
|
|
@@ -9138,7 +9138,7 @@
|
|
|
9138
9138
|
return target;
|
|
9139
9139
|
}
|
|
9140
9140
|
var Button = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
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$
|
|
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, [
|
|
9142
9142
|
"type",
|
|
9143
9143
|
"children",
|
|
9144
9144
|
"size",
|
|
@@ -9994,10 +9994,10 @@
|
|
|
9994
9994
|
}
|
|
9995
9995
|
return target;
|
|
9996
9996
|
}
|
|
9997
|
-
function _object_without_properties$
|
|
9997
|
+
function _object_without_properties$g(source, excluded) {
|
|
9998
9998
|
if (source == null)
|
|
9999
9999
|
return {};
|
|
10000
|
-
var target = _object_without_properties_loose$
|
|
10000
|
+
var target = _object_without_properties_loose$g(source, excluded);
|
|
10001
10001
|
var key, i;
|
|
10002
10002
|
if (Object.getOwnPropertySymbols) {
|
|
10003
10003
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10012,7 +10012,7 @@
|
|
|
10012
10012
|
}
|
|
10013
10013
|
return target;
|
|
10014
10014
|
}
|
|
10015
|
-
function _object_without_properties_loose$
|
|
10015
|
+
function _object_without_properties_loose$g(source, excluded) {
|
|
10016
10016
|
if (source == null)
|
|
10017
10017
|
return {};
|
|
10018
10018
|
var target = {};
|
|
@@ -10145,7 +10145,7 @@
|
|
|
10145
10145
|
}
|
|
10146
10146
|
}
|
|
10147
10147
|
var Input = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
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$
|
|
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, [
|
|
10149
10149
|
"value",
|
|
10150
10150
|
"label",
|
|
10151
10151
|
"placeholder",
|
|
@@ -10387,10 +10387,10 @@
|
|
|
10387
10387
|
}
|
|
10388
10388
|
return target;
|
|
10389
10389
|
}
|
|
10390
|
-
function _object_without_properties$
|
|
10390
|
+
function _object_without_properties$f(source, excluded) {
|
|
10391
10391
|
if (source == null)
|
|
10392
10392
|
return {};
|
|
10393
|
-
var target = _object_without_properties_loose$
|
|
10393
|
+
var target = _object_without_properties_loose$f(source, excluded);
|
|
10394
10394
|
var key, i;
|
|
10395
10395
|
if (Object.getOwnPropertySymbols) {
|
|
10396
10396
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10405,7 +10405,7 @@
|
|
|
10405
10405
|
}
|
|
10406
10406
|
return target;
|
|
10407
10407
|
}
|
|
10408
|
-
function _object_without_properties_loose$
|
|
10408
|
+
function _object_without_properties_loose$f(source, excluded) {
|
|
10409
10409
|
if (source == null)
|
|
10410
10410
|
return {};
|
|
10411
10411
|
var target = {};
|
|
@@ -10420,7 +10420,7 @@
|
|
|
10420
10420
|
return target;
|
|
10421
10421
|
}
|
|
10422
10422
|
var DateInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
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$
|
|
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, [
|
|
10424
10424
|
"date",
|
|
10425
10425
|
"startDate",
|
|
10426
10426
|
"endDate",
|
|
@@ -10566,10 +10566,10 @@
|
|
|
10566
10566
|
}
|
|
10567
10567
|
return target;
|
|
10568
10568
|
}
|
|
10569
|
-
function _object_without_properties$
|
|
10569
|
+
function _object_without_properties$e(source, excluded) {
|
|
10570
10570
|
if (source == null)
|
|
10571
10571
|
return {};
|
|
10572
|
-
var target = _object_without_properties_loose$
|
|
10572
|
+
var target = _object_without_properties_loose$e(source, excluded);
|
|
10573
10573
|
var key, i;
|
|
10574
10574
|
if (Object.getOwnPropertySymbols) {
|
|
10575
10575
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10584,7 +10584,7 @@
|
|
|
10584
10584
|
}
|
|
10585
10585
|
return target;
|
|
10586
10586
|
}
|
|
10587
|
-
function _object_without_properties_loose$
|
|
10587
|
+
function _object_without_properties_loose$e(source, excluded) {
|
|
10588
10588
|
if (source == null)
|
|
10589
10589
|
return {};
|
|
10590
10590
|
var target = {};
|
|
@@ -10599,7 +10599,7 @@
|
|
|
10599
10599
|
return target;
|
|
10600
10600
|
}
|
|
10601
10601
|
var SearchInput = function(_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$
|
|
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, [
|
|
10603
10603
|
"isClearable",
|
|
10604
10604
|
"tweakStyles",
|
|
10605
10605
|
"testId",
|
|
@@ -10720,10 +10720,10 @@
|
|
|
10720
10720
|
}
|
|
10721
10721
|
return target;
|
|
10722
10722
|
}
|
|
10723
|
-
function _object_without_properties$
|
|
10723
|
+
function _object_without_properties$d(source, excluded) {
|
|
10724
10724
|
if (source == null)
|
|
10725
10725
|
return {};
|
|
10726
|
-
var target = _object_without_properties_loose$
|
|
10726
|
+
var target = _object_without_properties_loose$d(source, excluded);
|
|
10727
10727
|
var key, i;
|
|
10728
10728
|
if (Object.getOwnPropertySymbols) {
|
|
10729
10729
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10738,7 +10738,7 @@
|
|
|
10738
10738
|
}
|
|
10739
10739
|
return target;
|
|
10740
10740
|
}
|
|
10741
|
-
function _object_without_properties_loose$
|
|
10741
|
+
function _object_without_properties_loose$d(source, excluded) {
|
|
10742
10742
|
if (source == null)
|
|
10743
10743
|
return {};
|
|
10744
10744
|
var target = {};
|
|
@@ -10841,7 +10841,7 @@
|
|
|
10841
10841
|
_this_props.active;
|
|
10842
10842
|
var elementType = _this_props.elementType, children = _this_props.children;
|
|
10843
10843
|
_this_props.options;
|
|
10844
|
-
var wrapperProps = _object_without_properties$
|
|
10844
|
+
var wrapperProps = _object_without_properties$d(_this_props, [
|
|
10845
10845
|
"active",
|
|
10846
10846
|
"elementType",
|
|
10847
10847
|
"children",
|
|
@@ -11443,10 +11443,10 @@
|
|
|
11443
11443
|
}
|
|
11444
11444
|
return target;
|
|
11445
11445
|
}
|
|
11446
|
-
function _object_without_properties$
|
|
11446
|
+
function _object_without_properties$c(source, excluded) {
|
|
11447
11447
|
if (source == null)
|
|
11448
11448
|
return {};
|
|
11449
|
-
var target = _object_without_properties_loose$
|
|
11449
|
+
var target = _object_without_properties_loose$c(source, excluded);
|
|
11450
11450
|
var key, i;
|
|
11451
11451
|
if (Object.getOwnPropertySymbols) {
|
|
11452
11452
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -11461,7 +11461,7 @@
|
|
|
11461
11461
|
}
|
|
11462
11462
|
return target;
|
|
11463
11463
|
}
|
|
11464
|
-
function _object_without_properties_loose$
|
|
11464
|
+
function _object_without_properties_loose$c(source, excluded) {
|
|
11465
11465
|
if (source == null)
|
|
11466
11466
|
return {};
|
|
11467
11467
|
var target = {};
|
|
@@ -11598,7 +11598,7 @@
|
|
|
11598
11598
|
}
|
|
11599
11599
|
function Select(props) {
|
|
11600
11600
|
var _input_current;
|
|
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$
|
|
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, [
|
|
11602
11602
|
"options",
|
|
11603
11603
|
"isMultiSelect",
|
|
11604
11604
|
"value",
|
|
@@ -11635,7 +11635,7 @@
|
|
|
11635
11635
|
var classes = useStyles$D({
|
|
11636
11636
|
theme: tweakStyles
|
|
11637
11637
|
});
|
|
11638
|
-
var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$
|
|
11638
|
+
var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$c(_ref, [
|
|
11639
11639
|
"shouldRenderInList"
|
|
11640
11640
|
]);
|
|
11641
11641
|
var hasSearchInputInList = optionsMode !== "normal" && shouldRenderSearchInputInList;
|
|
@@ -12399,10 +12399,10 @@
|
|
|
12399
12399
|
}
|
|
12400
12400
|
return target;
|
|
12401
12401
|
}
|
|
12402
|
-
function _object_without_properties$
|
|
12402
|
+
function _object_without_properties$b(source, excluded) {
|
|
12403
12403
|
if (source == null)
|
|
12404
12404
|
return {};
|
|
12405
|
-
var target = _object_without_properties_loose$
|
|
12405
|
+
var target = _object_without_properties_loose$b(source, excluded);
|
|
12406
12406
|
var key, i;
|
|
12407
12407
|
if (Object.getOwnPropertySymbols) {
|
|
12408
12408
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12417,7 +12417,7 @@
|
|
|
12417
12417
|
}
|
|
12418
12418
|
return target;
|
|
12419
12419
|
}
|
|
12420
|
-
function _object_without_properties_loose$
|
|
12420
|
+
function _object_without_properties_loose$b(source, excluded) {
|
|
12421
12421
|
if (source == null)
|
|
12422
12422
|
return {};
|
|
12423
12423
|
var target = {};
|
|
@@ -12448,7 +12448,7 @@
|
|
|
12448
12448
|
return _array_like_to_array$i(o, minLen);
|
|
12449
12449
|
}
|
|
12450
12450
|
var DatePicker = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
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$
|
|
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, [
|
|
12452
12452
|
"data",
|
|
12453
12453
|
"selectedDate",
|
|
12454
12454
|
"minDate",
|
|
@@ -13266,10 +13266,10 @@
|
|
|
13266
13266
|
}
|
|
13267
13267
|
return target;
|
|
13268
13268
|
}
|
|
13269
|
-
function _object_without_properties$
|
|
13269
|
+
function _object_without_properties$a(source, excluded) {
|
|
13270
13270
|
if (source == null)
|
|
13271
13271
|
return {};
|
|
13272
|
-
var target = _object_without_properties_loose$
|
|
13272
|
+
var target = _object_without_properties_loose$a(source, excluded);
|
|
13273
13273
|
var key, i;
|
|
13274
13274
|
if (Object.getOwnPropertySymbols) {
|
|
13275
13275
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -13284,7 +13284,7 @@
|
|
|
13284
13284
|
}
|
|
13285
13285
|
return target;
|
|
13286
13286
|
}
|
|
13287
|
-
function _object_without_properties_loose$
|
|
13287
|
+
function _object_without_properties_loose$a(source, excluded) {
|
|
13288
13288
|
if (source == null)
|
|
13289
13289
|
return {};
|
|
13290
13290
|
var target = {};
|
|
@@ -13299,7 +13299,7 @@
|
|
|
13299
13299
|
return target;
|
|
13300
13300
|
}
|
|
13301
13301
|
var IconButton = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
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$
|
|
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, [
|
|
13303
13303
|
"icon",
|
|
13304
13304
|
"size",
|
|
13305
13305
|
"view",
|
|
@@ -14223,10 +14223,10 @@
|
|
|
14223
14223
|
}
|
|
14224
14224
|
return target;
|
|
14225
14225
|
}
|
|
14226
|
-
function _object_without_properties$
|
|
14226
|
+
function _object_without_properties$9(source, excluded) {
|
|
14227
14227
|
if (source == null)
|
|
14228
14228
|
return {};
|
|
14229
|
-
var target = _object_without_properties_loose$
|
|
14229
|
+
var target = _object_without_properties_loose$9(source, excluded);
|
|
14230
14230
|
var key, i;
|
|
14231
14231
|
if (Object.getOwnPropertySymbols) {
|
|
14232
14232
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -14241,7 +14241,7 @@
|
|
|
14241
14241
|
}
|
|
14242
14242
|
return target;
|
|
14243
14243
|
}
|
|
14244
|
-
function _object_without_properties_loose$
|
|
14244
|
+
function _object_without_properties_loose$9(source, excluded) {
|
|
14245
14245
|
if (source == null)
|
|
14246
14246
|
return {};
|
|
14247
14247
|
var target = {};
|
|
@@ -14374,7 +14374,7 @@
|
|
|
14374
14374
|
}
|
|
14375
14375
|
}
|
|
14376
14376
|
var NumberInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
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$
|
|
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, [
|
|
14378
14378
|
"value",
|
|
14379
14379
|
"canBeFloat",
|
|
14380
14380
|
"canBeNegative",
|
|
@@ -19291,6 +19291,38 @@
|
|
|
19291
19291
|
}
|
|
19292
19292
|
return target;
|
|
19293
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
|
+
}
|
|
19294
19326
|
function FilterWrapper(param) {
|
|
19295
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;
|
|
19296
19328
|
var classes = useStyles$m({
|
|
@@ -19328,12 +19360,17 @@
|
|
|
19328
19360
|
canBeFlipped: true,
|
|
19329
19361
|
isDisabled: isBoolean || isDisabled,
|
|
19330
19362
|
tweakStyles: tweakWithPopupStyles,
|
|
19331
|
-
trigger: function(
|
|
19332
|
-
var 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
|
+
]);
|
|
19333
19370
|
var _obj2;
|
|
19334
19371
|
return /* @__PURE__ */ jsx("div", _object_spread_props$m(_object_spread$n({
|
|
19335
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))
|
|
19336
|
-
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
|
|
19373
|
+
}, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data), props), {
|
|
19337
19374
|
children: /* @__PURE__ */ jsxs("div", {
|
|
19338
19375
|
onClick: handleLabelClick,
|
|
19339
19376
|
className: clsx(classes.item, _define_property$o({}, classes.booleanItem, isBoolean)),
|