@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
package/README.md
CHANGED
|
@@ -11,12 +11,18 @@
|
|
|
11
11
|
|
|
12
12
|
# Release Notes
|
|
13
13
|
|
|
14
|
+
## 3.28.4
|
|
15
|
+
|
|
16
|
+
### Changes
|
|
17
|
+
|
|
18
|
+
- **FilterWrapper**: Поправлено взаимодействие с **WithPopup**
|
|
19
|
+
|
|
14
20
|
## 3.28.3
|
|
15
21
|
|
|
16
22
|
### Changes
|
|
17
23
|
|
|
18
|
-
- **List**: Фикс testId у айтемов
|
|
19
|
-
- **WithPopup**: Фикс рендера пропсы isDisabled
|
|
24
|
+
- **List**: Фикс `testId` у айтемов
|
|
25
|
+
- **WithPopup**: Фикс рендера пропсы `isDisabled`
|
|
20
26
|
|
|
21
27
|
## 3.28.2
|
|
22
28
|
|
|
@@ -28,7 +34,7 @@
|
|
|
28
34
|
|
|
29
35
|
### Changes
|
|
30
36
|
|
|
31
|
-
- **ListItem**: `onClick` стал опциональным. При отсутствии - базовый onClick List вызван не будет
|
|
37
|
+
- **ListItem**: `onClick` стал опциональным. При отсутствии - базовый `onClick` **List** вызван не будет
|
|
32
38
|
|
|
33
39
|
## 3.28.0
|
|
34
40
|
|
|
@@ -9117,10 +9117,10 @@ function _object_spread_props$J(target, source) {
|
|
|
9117
9117
|
}
|
|
9118
9118
|
return target;
|
|
9119
9119
|
}
|
|
9120
|
-
function _object_without_properties$
|
|
9120
|
+
function _object_without_properties$h(source, excluded) {
|
|
9121
9121
|
if (source == null)
|
|
9122
9122
|
return {};
|
|
9123
|
-
var target = _object_without_properties_loose$
|
|
9123
|
+
var target = _object_without_properties_loose$h(source, excluded);
|
|
9124
9124
|
var key, i;
|
|
9125
9125
|
if (Object.getOwnPropertySymbols) {
|
|
9126
9126
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -9135,7 +9135,7 @@ function _object_without_properties$g(source, excluded) {
|
|
|
9135
9135
|
}
|
|
9136
9136
|
return target;
|
|
9137
9137
|
}
|
|
9138
|
-
function _object_without_properties_loose$
|
|
9138
|
+
function _object_without_properties_loose$h(source, excluded) {
|
|
9139
9139
|
if (source == null)
|
|
9140
9140
|
return {};
|
|
9141
9141
|
var target = {};
|
|
@@ -9150,7 +9150,7 @@ function _object_without_properties_loose$g(source, excluded) {
|
|
|
9150
9150
|
return target;
|
|
9151
9151
|
}
|
|
9152
9152
|
var Button = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
9153
|
-
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$
|
|
9153
|
+
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, [
|
|
9154
9154
|
"type",
|
|
9155
9155
|
"children",
|
|
9156
9156
|
"size",
|
|
@@ -10006,10 +10006,10 @@ function _object_spread_props$G(target, source) {
|
|
|
10006
10006
|
}
|
|
10007
10007
|
return target;
|
|
10008
10008
|
}
|
|
10009
|
-
function _object_without_properties$
|
|
10009
|
+
function _object_without_properties$g(source, excluded) {
|
|
10010
10010
|
if (source == null)
|
|
10011
10011
|
return {};
|
|
10012
|
-
var target = _object_without_properties_loose$
|
|
10012
|
+
var target = _object_without_properties_loose$g(source, excluded);
|
|
10013
10013
|
var key, i;
|
|
10014
10014
|
if (Object.getOwnPropertySymbols) {
|
|
10015
10015
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10024,7 +10024,7 @@ function _object_without_properties$f(source, excluded) {
|
|
|
10024
10024
|
}
|
|
10025
10025
|
return target;
|
|
10026
10026
|
}
|
|
10027
|
-
function _object_without_properties_loose$
|
|
10027
|
+
function _object_without_properties_loose$g(source, excluded) {
|
|
10028
10028
|
if (source == null)
|
|
10029
10029
|
return {};
|
|
10030
10030
|
var target = {};
|
|
@@ -10157,7 +10157,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
10157
10157
|
}
|
|
10158
10158
|
}
|
|
10159
10159
|
var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
10160
|
-
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$
|
|
10160
|
+
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, [
|
|
10161
10161
|
"value",
|
|
10162
10162
|
"label",
|
|
10163
10163
|
"placeholder",
|
|
@@ -10399,10 +10399,10 @@ function _object_spread_props$F(target, source) {
|
|
|
10399
10399
|
}
|
|
10400
10400
|
return target;
|
|
10401
10401
|
}
|
|
10402
|
-
function _object_without_properties$
|
|
10402
|
+
function _object_without_properties$f(source, excluded) {
|
|
10403
10403
|
if (source == null)
|
|
10404
10404
|
return {};
|
|
10405
|
-
var target = _object_without_properties_loose$
|
|
10405
|
+
var target = _object_without_properties_loose$f(source, excluded);
|
|
10406
10406
|
var key, i;
|
|
10407
10407
|
if (Object.getOwnPropertySymbols) {
|
|
10408
10408
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10417,7 +10417,7 @@ function _object_without_properties$e(source, excluded) {
|
|
|
10417
10417
|
}
|
|
10418
10418
|
return target;
|
|
10419
10419
|
}
|
|
10420
|
-
function _object_without_properties_loose$
|
|
10420
|
+
function _object_without_properties_loose$f(source, excluded) {
|
|
10421
10421
|
if (source == null)
|
|
10422
10422
|
return {};
|
|
10423
10423
|
var target = {};
|
|
@@ -10432,7 +10432,7 @@ function _object_without_properties_loose$e(source, excluded) {
|
|
|
10432
10432
|
return target;
|
|
10433
10433
|
}
|
|
10434
10434
|
var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
10435
|
-
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$
|
|
10435
|
+
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, [
|
|
10436
10436
|
"date",
|
|
10437
10437
|
"startDate",
|
|
10438
10438
|
"endDate",
|
|
@@ -10578,10 +10578,10 @@ function _object_spread_props$E(target, source) {
|
|
|
10578
10578
|
}
|
|
10579
10579
|
return target;
|
|
10580
10580
|
}
|
|
10581
|
-
function _object_without_properties$
|
|
10581
|
+
function _object_without_properties$e(source, excluded) {
|
|
10582
10582
|
if (source == null)
|
|
10583
10583
|
return {};
|
|
10584
|
-
var target = _object_without_properties_loose$
|
|
10584
|
+
var target = _object_without_properties_loose$e(source, excluded);
|
|
10585
10585
|
var key, i;
|
|
10586
10586
|
if (Object.getOwnPropertySymbols) {
|
|
10587
10587
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10596,7 +10596,7 @@ function _object_without_properties$d(source, excluded) {
|
|
|
10596
10596
|
}
|
|
10597
10597
|
return target;
|
|
10598
10598
|
}
|
|
10599
|
-
function _object_without_properties_loose$
|
|
10599
|
+
function _object_without_properties_loose$e(source, excluded) {
|
|
10600
10600
|
if (source == null)
|
|
10601
10601
|
return {};
|
|
10602
10602
|
var target = {};
|
|
@@ -10611,7 +10611,7 @@ function _object_without_properties_loose$d(source, excluded) {
|
|
|
10611
10611
|
return target;
|
|
10612
10612
|
}
|
|
10613
10613
|
var SearchInput = function(_param) {
|
|
10614
|
-
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$
|
|
10614
|
+
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, [
|
|
10615
10615
|
"isClearable",
|
|
10616
10616
|
"tweakStyles",
|
|
10617
10617
|
"testId",
|
|
@@ -10732,10 +10732,10 @@ function _object_spread$K(target) {
|
|
|
10732
10732
|
}
|
|
10733
10733
|
return target;
|
|
10734
10734
|
}
|
|
10735
|
-
function _object_without_properties$
|
|
10735
|
+
function _object_without_properties$d(source, excluded) {
|
|
10736
10736
|
if (source == null)
|
|
10737
10737
|
return {};
|
|
10738
|
-
var target = _object_without_properties_loose$
|
|
10738
|
+
var target = _object_without_properties_loose$d(source, excluded);
|
|
10739
10739
|
var key, i;
|
|
10740
10740
|
if (Object.getOwnPropertySymbols) {
|
|
10741
10741
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10750,7 +10750,7 @@ function _object_without_properties$c(source, excluded) {
|
|
|
10750
10750
|
}
|
|
10751
10751
|
return target;
|
|
10752
10752
|
}
|
|
10753
|
-
function _object_without_properties_loose$
|
|
10753
|
+
function _object_without_properties_loose$d(source, excluded) {
|
|
10754
10754
|
if (source == null)
|
|
10755
10755
|
return {};
|
|
10756
10756
|
var target = {};
|
|
@@ -10853,7 +10853,7 @@ var ScrollIntoViewIfNeeded = /* @__PURE__ */ function(PureComponent2) {
|
|
|
10853
10853
|
_this_props.active;
|
|
10854
10854
|
var elementType = _this_props.elementType, children = _this_props.children;
|
|
10855
10855
|
_this_props.options;
|
|
10856
|
-
var wrapperProps = _object_without_properties$
|
|
10856
|
+
var wrapperProps = _object_without_properties$d(_this_props, [
|
|
10857
10857
|
"active",
|
|
10858
10858
|
"elementType",
|
|
10859
10859
|
"children",
|
|
@@ -11455,10 +11455,10 @@ function _object_spread_props$B(target, source) {
|
|
|
11455
11455
|
}
|
|
11456
11456
|
return target;
|
|
11457
11457
|
}
|
|
11458
|
-
function _object_without_properties$
|
|
11458
|
+
function _object_without_properties$c(source, excluded) {
|
|
11459
11459
|
if (source == null)
|
|
11460
11460
|
return {};
|
|
11461
|
-
var target = _object_without_properties_loose$
|
|
11461
|
+
var target = _object_without_properties_loose$c(source, excluded);
|
|
11462
11462
|
var key, i;
|
|
11463
11463
|
if (Object.getOwnPropertySymbols) {
|
|
11464
11464
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -11473,7 +11473,7 @@ function _object_without_properties$b(source, excluded) {
|
|
|
11473
11473
|
}
|
|
11474
11474
|
return target;
|
|
11475
11475
|
}
|
|
11476
|
-
function _object_without_properties_loose$
|
|
11476
|
+
function _object_without_properties_loose$c(source, excluded) {
|
|
11477
11477
|
if (source == null)
|
|
11478
11478
|
return {};
|
|
11479
11479
|
var target = {};
|
|
@@ -11610,7 +11610,7 @@ function _ts_generator$4(thisArg, body) {
|
|
|
11610
11610
|
}
|
|
11611
11611
|
function Select(props) {
|
|
11612
11612
|
var _input_current;
|
|
11613
|
-
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$
|
|
11613
|
+
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, [
|
|
11614
11614
|
"options",
|
|
11615
11615
|
"isMultiSelect",
|
|
11616
11616
|
"value",
|
|
@@ -11647,7 +11647,7 @@ function Select(props) {
|
|
|
11647
11647
|
var classes = useStyles$D({
|
|
11648
11648
|
theme: tweakStyles
|
|
11649
11649
|
});
|
|
11650
|
-
var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$
|
|
11650
|
+
var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$c(_ref, [
|
|
11651
11651
|
"shouldRenderInList"
|
|
11652
11652
|
]);
|
|
11653
11653
|
var hasSearchInputInList = optionsMode !== "normal" && shouldRenderSearchInputInList;
|
|
@@ -12411,10 +12411,10 @@ function _object_spread_props$A(target, source) {
|
|
|
12411
12411
|
}
|
|
12412
12412
|
return target;
|
|
12413
12413
|
}
|
|
12414
|
-
function _object_without_properties$
|
|
12414
|
+
function _object_without_properties$b(source, excluded) {
|
|
12415
12415
|
if (source == null)
|
|
12416
12416
|
return {};
|
|
12417
|
-
var target = _object_without_properties_loose$
|
|
12417
|
+
var target = _object_without_properties_loose$b(source, excluded);
|
|
12418
12418
|
var key, i;
|
|
12419
12419
|
if (Object.getOwnPropertySymbols) {
|
|
12420
12420
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12429,7 +12429,7 @@ function _object_without_properties$a(source, excluded) {
|
|
|
12429
12429
|
}
|
|
12430
12430
|
return target;
|
|
12431
12431
|
}
|
|
12432
|
-
function _object_without_properties_loose$
|
|
12432
|
+
function _object_without_properties_loose$b(source, excluded) {
|
|
12433
12433
|
if (source == null)
|
|
12434
12434
|
return {};
|
|
12435
12435
|
var target = {};
|
|
@@ -12460,7 +12460,7 @@ function _unsupported_iterable_to_array$i(o, minLen) {
|
|
|
12460
12460
|
return _array_like_to_array$i(o, minLen);
|
|
12461
12461
|
}
|
|
12462
12462
|
var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
12463
|
-
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$
|
|
12463
|
+
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, [
|
|
12464
12464
|
"data",
|
|
12465
12465
|
"selectedDate",
|
|
12466
12466
|
"minDate",
|
|
@@ -13278,10 +13278,10 @@ function _object_spread_props$x(target, source) {
|
|
|
13278
13278
|
}
|
|
13279
13279
|
return target;
|
|
13280
13280
|
}
|
|
13281
|
-
function _object_without_properties$
|
|
13281
|
+
function _object_without_properties$a(source, excluded) {
|
|
13282
13282
|
if (source == null)
|
|
13283
13283
|
return {};
|
|
13284
|
-
var target = _object_without_properties_loose$
|
|
13284
|
+
var target = _object_without_properties_loose$a(source, excluded);
|
|
13285
13285
|
var key, i;
|
|
13286
13286
|
if (Object.getOwnPropertySymbols) {
|
|
13287
13287
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -13296,7 +13296,7 @@ function _object_without_properties$9(source, excluded) {
|
|
|
13296
13296
|
}
|
|
13297
13297
|
return target;
|
|
13298
13298
|
}
|
|
13299
|
-
function _object_without_properties_loose$
|
|
13299
|
+
function _object_without_properties_loose$a(source, excluded) {
|
|
13300
13300
|
if (source == null)
|
|
13301
13301
|
return {};
|
|
13302
13302
|
var target = {};
|
|
@@ -13311,7 +13311,7 @@ function _object_without_properties_loose$9(source, excluded) {
|
|
|
13311
13311
|
return target;
|
|
13312
13312
|
}
|
|
13313
13313
|
var IconButton = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
13314
|
-
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$
|
|
13314
|
+
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, [
|
|
13315
13315
|
"icon",
|
|
13316
13316
|
"size",
|
|
13317
13317
|
"view",
|
|
@@ -14235,10 +14235,10 @@ function _object_spread$y(target) {
|
|
|
14235
14235
|
}
|
|
14236
14236
|
return target;
|
|
14237
14237
|
}
|
|
14238
|
-
function _object_without_properties$
|
|
14238
|
+
function _object_without_properties$9(source, excluded) {
|
|
14239
14239
|
if (source == null)
|
|
14240
14240
|
return {};
|
|
14241
|
-
var target = _object_without_properties_loose$
|
|
14241
|
+
var target = _object_without_properties_loose$9(source, excluded);
|
|
14242
14242
|
var key, i;
|
|
14243
14243
|
if (Object.getOwnPropertySymbols) {
|
|
14244
14244
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -14253,7 +14253,7 @@ function _object_without_properties$8(source, excluded) {
|
|
|
14253
14253
|
}
|
|
14254
14254
|
return target;
|
|
14255
14255
|
}
|
|
14256
|
-
function _object_without_properties_loose$
|
|
14256
|
+
function _object_without_properties_loose$9(source, excluded) {
|
|
14257
14257
|
if (source == null)
|
|
14258
14258
|
return {};
|
|
14259
14259
|
var target = {};
|
|
@@ -14386,7 +14386,7 @@ function _ts_generator$3(thisArg, body) {
|
|
|
14386
14386
|
}
|
|
14387
14387
|
}
|
|
14388
14388
|
var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
14389
|
-
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$
|
|
14389
|
+
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, [
|
|
14390
14390
|
"value",
|
|
14391
14391
|
"canBeFloat",
|
|
14392
14392
|
"canBeNegative",
|
|
@@ -19303,6 +19303,38 @@ function _object_spread_props$m(target, source) {
|
|
|
19303
19303
|
}
|
|
19304
19304
|
return target;
|
|
19305
19305
|
}
|
|
19306
|
+
function _object_without_properties$8(source, excluded) {
|
|
19307
|
+
if (source == null)
|
|
19308
|
+
return {};
|
|
19309
|
+
var target = _object_without_properties_loose$8(source, excluded);
|
|
19310
|
+
var key, i;
|
|
19311
|
+
if (Object.getOwnPropertySymbols) {
|
|
19312
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
19313
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
19314
|
+
key = sourceSymbolKeys[i];
|
|
19315
|
+
if (excluded.indexOf(key) >= 0)
|
|
19316
|
+
continue;
|
|
19317
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
19318
|
+
continue;
|
|
19319
|
+
target[key] = source[key];
|
|
19320
|
+
}
|
|
19321
|
+
}
|
|
19322
|
+
return target;
|
|
19323
|
+
}
|
|
19324
|
+
function _object_without_properties_loose$8(source, excluded) {
|
|
19325
|
+
if (source == null)
|
|
19326
|
+
return {};
|
|
19327
|
+
var target = {};
|
|
19328
|
+
var sourceKeys = Object.keys(source);
|
|
19329
|
+
var key, i;
|
|
19330
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
19331
|
+
key = sourceKeys[i];
|
|
19332
|
+
if (excluded.indexOf(key) >= 0)
|
|
19333
|
+
continue;
|
|
19334
|
+
target[key] = source[key];
|
|
19335
|
+
}
|
|
19336
|
+
return target;
|
|
19337
|
+
}
|
|
19306
19338
|
function FilterWrapper(param) {
|
|
19307
19339
|
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;
|
|
19308
19340
|
var classes = useStyles$m({
|
|
@@ -19340,12 +19372,17 @@ function FilterWrapper(param) {
|
|
|
19340
19372
|
canBeFlipped: true,
|
|
19341
19373
|
isDisabled: isBoolean || isDisabled,
|
|
19342
19374
|
tweakStyles: tweakWithPopupStyles,
|
|
19343
|
-
trigger: function(
|
|
19344
|
-
var isActive =
|
|
19375
|
+
trigger: function(_param) {
|
|
19376
|
+
var isActive = _param.isActive;
|
|
19377
|
+
_param.isDisabled;
|
|
19378
|
+
var props = _object_without_properties$8(_param, [
|
|
19379
|
+
"isActive",
|
|
19380
|
+
"isDisabled"
|
|
19381
|
+
]);
|
|
19345
19382
|
var _obj2;
|
|
19346
19383
|
return /* @__PURE__ */ jsx("div", _object_spread_props$m(_object_spread$n({
|
|
19347
19384
|
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))
|
|
19348
|
-
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
19385
|
+
}, addDataTestId(testId), addDataAttributes(data), props), {
|
|
19349
19386
|
children: /* @__PURE__ */ jsxs("div", {
|
|
19350
19387
|
onClick: handleLabelClick,
|
|
19351
19388
|
className: clsx(classes.item, _define_property$o({}, classes.booleanItem, isBoolean)),
|