@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.
- package/README.md +14 -1
- package/dist/true-react-common-ui-kit.js +82 -44
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +82 -44
- 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/src/components/List/List.tsx +1 -1
- package/src/components/WithPopup/WithPopup.tsx +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,19 @@
|
|
|
11
11
|
|
|
12
12
|
# Release Notes
|
|
13
13
|
|
|
14
|
+
## 3.28.4
|
|
15
|
+
|
|
16
|
+
### Changes
|
|
17
|
+
|
|
18
|
+
- **FilterWrapper**: Поправлено взаимодействие с **WithPopup**
|
|
19
|
+
|
|
20
|
+
## 3.28.3
|
|
21
|
+
|
|
22
|
+
### Changes
|
|
23
|
+
|
|
24
|
+
- **List**: Фикс `testId` у айтемов
|
|
25
|
+
- **WithPopup**: Фикс рендера пропсы `isDisabled`
|
|
26
|
+
|
|
14
27
|
## 3.28.2
|
|
15
28
|
|
|
16
29
|
### Changes
|
|
@@ -21,7 +34,7 @@
|
|
|
21
34
|
|
|
22
35
|
### Changes
|
|
23
36
|
|
|
24
|
-
- **ListItem**: `onClick` стал опциональным. При отсутствии - базовый onClick List вызван не будет
|
|
37
|
+
- **ListItem**: `onClick` стал опциональным. При отсутствии - базовый `onClick` **List** вызван не будет
|
|
25
38
|
|
|
26
39
|
## 3.28.0
|
|
27
40
|
|
|
@@ -8028,9 +8028,10 @@ var WithPopup = function(param) {
|
|
|
8028
8028
|
ref: refs.setReference
|
|
8029
8029
|
});
|
|
8030
8030
|
var triggerElement = applyAction(trigger, _object_spread$Y({
|
|
8031
|
-
isActive: isOpen
|
|
8032
|
-
|
|
8033
|
-
|
|
8031
|
+
isActive: isOpen
|
|
8032
|
+
}, isDisabled ? {
|
|
8033
|
+
isDisabled: true
|
|
8034
|
+
} : void 0, !isTriggerWrapped ? referenceProps : void 0));
|
|
8034
8035
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
8035
8036
|
children: [
|
|
8036
8037
|
isTriggerWrapped ? /* @__PURE__ */ jsx("div", _object_spread_props$P(_object_spread$Y({
|
|
@@ -8279,7 +8280,7 @@ var List = function(param) {
|
|
|
8279
8280
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
8280
8281
|
children: items.map(function(item, i) {
|
|
8281
8282
|
var itemProps = _object_spread_props$N(_object_spread$W({
|
|
8282
|
-
testId: getTestId(
|
|
8283
|
+
testId: getTestId(testId, "item-".concat(i))
|
|
8283
8284
|
}, item), {
|
|
8284
8285
|
shouldDrawSpacerAbove: item.shouldDrawSpacerAbove && i !== 0,
|
|
8285
8286
|
shouldDrawSpacerBelow: item.shouldDrawSpacerBelow && i !== items.length - 1,
|
|
@@ -9116,10 +9117,10 @@ function _object_spread_props$J(target, source) {
|
|
|
9116
9117
|
}
|
|
9117
9118
|
return target;
|
|
9118
9119
|
}
|
|
9119
|
-
function _object_without_properties$
|
|
9120
|
+
function _object_without_properties$h(source, excluded) {
|
|
9120
9121
|
if (source == null)
|
|
9121
9122
|
return {};
|
|
9122
|
-
var target = _object_without_properties_loose$
|
|
9123
|
+
var target = _object_without_properties_loose$h(source, excluded);
|
|
9123
9124
|
var key, i;
|
|
9124
9125
|
if (Object.getOwnPropertySymbols) {
|
|
9125
9126
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -9134,7 +9135,7 @@ function _object_without_properties$g(source, excluded) {
|
|
|
9134
9135
|
}
|
|
9135
9136
|
return target;
|
|
9136
9137
|
}
|
|
9137
|
-
function _object_without_properties_loose$
|
|
9138
|
+
function _object_without_properties_loose$h(source, excluded) {
|
|
9138
9139
|
if (source == null)
|
|
9139
9140
|
return {};
|
|
9140
9141
|
var target = {};
|
|
@@ -9149,7 +9150,7 @@ function _object_without_properties_loose$g(source, excluded) {
|
|
|
9149
9150
|
return target;
|
|
9150
9151
|
}
|
|
9151
9152
|
var Button = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
9152
|
-
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, [
|
|
9153
9154
|
"type",
|
|
9154
9155
|
"children",
|
|
9155
9156
|
"size",
|
|
@@ -10005,10 +10006,10 @@ function _object_spread_props$G(target, source) {
|
|
|
10005
10006
|
}
|
|
10006
10007
|
return target;
|
|
10007
10008
|
}
|
|
10008
|
-
function _object_without_properties$
|
|
10009
|
+
function _object_without_properties$g(source, excluded) {
|
|
10009
10010
|
if (source == null)
|
|
10010
10011
|
return {};
|
|
10011
|
-
var target = _object_without_properties_loose$
|
|
10012
|
+
var target = _object_without_properties_loose$g(source, excluded);
|
|
10012
10013
|
var key, i;
|
|
10013
10014
|
if (Object.getOwnPropertySymbols) {
|
|
10014
10015
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10023,7 +10024,7 @@ function _object_without_properties$f(source, excluded) {
|
|
|
10023
10024
|
}
|
|
10024
10025
|
return target;
|
|
10025
10026
|
}
|
|
10026
|
-
function _object_without_properties_loose$
|
|
10027
|
+
function _object_without_properties_loose$g(source, excluded) {
|
|
10027
10028
|
if (source == null)
|
|
10028
10029
|
return {};
|
|
10029
10030
|
var target = {};
|
|
@@ -10156,7 +10157,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
10156
10157
|
}
|
|
10157
10158
|
}
|
|
10158
10159
|
var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
10159
|
-
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, [
|
|
10160
10161
|
"value",
|
|
10161
10162
|
"label",
|
|
10162
10163
|
"placeholder",
|
|
@@ -10398,10 +10399,10 @@ function _object_spread_props$F(target, source) {
|
|
|
10398
10399
|
}
|
|
10399
10400
|
return target;
|
|
10400
10401
|
}
|
|
10401
|
-
function _object_without_properties$
|
|
10402
|
+
function _object_without_properties$f(source, excluded) {
|
|
10402
10403
|
if (source == null)
|
|
10403
10404
|
return {};
|
|
10404
|
-
var target = _object_without_properties_loose$
|
|
10405
|
+
var target = _object_without_properties_loose$f(source, excluded);
|
|
10405
10406
|
var key, i;
|
|
10406
10407
|
if (Object.getOwnPropertySymbols) {
|
|
10407
10408
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10416,7 +10417,7 @@ function _object_without_properties$e(source, excluded) {
|
|
|
10416
10417
|
}
|
|
10417
10418
|
return target;
|
|
10418
10419
|
}
|
|
10419
|
-
function _object_without_properties_loose$
|
|
10420
|
+
function _object_without_properties_loose$f(source, excluded) {
|
|
10420
10421
|
if (source == null)
|
|
10421
10422
|
return {};
|
|
10422
10423
|
var target = {};
|
|
@@ -10431,7 +10432,7 @@ function _object_without_properties_loose$e(source, excluded) {
|
|
|
10431
10432
|
return target;
|
|
10432
10433
|
}
|
|
10433
10434
|
var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
10434
|
-
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, [
|
|
10435
10436
|
"date",
|
|
10436
10437
|
"startDate",
|
|
10437
10438
|
"endDate",
|
|
@@ -10577,10 +10578,10 @@ function _object_spread_props$E(target, source) {
|
|
|
10577
10578
|
}
|
|
10578
10579
|
return target;
|
|
10579
10580
|
}
|
|
10580
|
-
function _object_without_properties$
|
|
10581
|
+
function _object_without_properties$e(source, excluded) {
|
|
10581
10582
|
if (source == null)
|
|
10582
10583
|
return {};
|
|
10583
|
-
var target = _object_without_properties_loose$
|
|
10584
|
+
var target = _object_without_properties_loose$e(source, excluded);
|
|
10584
10585
|
var key, i;
|
|
10585
10586
|
if (Object.getOwnPropertySymbols) {
|
|
10586
10587
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10595,7 +10596,7 @@ function _object_without_properties$d(source, excluded) {
|
|
|
10595
10596
|
}
|
|
10596
10597
|
return target;
|
|
10597
10598
|
}
|
|
10598
|
-
function _object_without_properties_loose$
|
|
10599
|
+
function _object_without_properties_loose$e(source, excluded) {
|
|
10599
10600
|
if (source == null)
|
|
10600
10601
|
return {};
|
|
10601
10602
|
var target = {};
|
|
@@ -10610,7 +10611,7 @@ function _object_without_properties_loose$d(source, excluded) {
|
|
|
10610
10611
|
return target;
|
|
10611
10612
|
}
|
|
10612
10613
|
var SearchInput = function(_param) {
|
|
10613
|
-
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, [
|
|
10614
10615
|
"isClearable",
|
|
10615
10616
|
"tweakStyles",
|
|
10616
10617
|
"testId",
|
|
@@ -10731,10 +10732,10 @@ function _object_spread$K(target) {
|
|
|
10731
10732
|
}
|
|
10732
10733
|
return target;
|
|
10733
10734
|
}
|
|
10734
|
-
function _object_without_properties$
|
|
10735
|
+
function _object_without_properties$d(source, excluded) {
|
|
10735
10736
|
if (source == null)
|
|
10736
10737
|
return {};
|
|
10737
|
-
var target = _object_without_properties_loose$
|
|
10738
|
+
var target = _object_without_properties_loose$d(source, excluded);
|
|
10738
10739
|
var key, i;
|
|
10739
10740
|
if (Object.getOwnPropertySymbols) {
|
|
10740
10741
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -10749,7 +10750,7 @@ function _object_without_properties$c(source, excluded) {
|
|
|
10749
10750
|
}
|
|
10750
10751
|
return target;
|
|
10751
10752
|
}
|
|
10752
|
-
function _object_without_properties_loose$
|
|
10753
|
+
function _object_without_properties_loose$d(source, excluded) {
|
|
10753
10754
|
if (source == null)
|
|
10754
10755
|
return {};
|
|
10755
10756
|
var target = {};
|
|
@@ -10852,7 +10853,7 @@ var ScrollIntoViewIfNeeded = /* @__PURE__ */ function(PureComponent2) {
|
|
|
10852
10853
|
_this_props.active;
|
|
10853
10854
|
var elementType = _this_props.elementType, children = _this_props.children;
|
|
10854
10855
|
_this_props.options;
|
|
10855
|
-
var wrapperProps = _object_without_properties$
|
|
10856
|
+
var wrapperProps = _object_without_properties$d(_this_props, [
|
|
10856
10857
|
"active",
|
|
10857
10858
|
"elementType",
|
|
10858
10859
|
"children",
|
|
@@ -11454,10 +11455,10 @@ function _object_spread_props$B(target, source) {
|
|
|
11454
11455
|
}
|
|
11455
11456
|
return target;
|
|
11456
11457
|
}
|
|
11457
|
-
function _object_without_properties$
|
|
11458
|
+
function _object_without_properties$c(source, excluded) {
|
|
11458
11459
|
if (source == null)
|
|
11459
11460
|
return {};
|
|
11460
|
-
var target = _object_without_properties_loose$
|
|
11461
|
+
var target = _object_without_properties_loose$c(source, excluded);
|
|
11461
11462
|
var key, i;
|
|
11462
11463
|
if (Object.getOwnPropertySymbols) {
|
|
11463
11464
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -11472,7 +11473,7 @@ function _object_without_properties$b(source, excluded) {
|
|
|
11472
11473
|
}
|
|
11473
11474
|
return target;
|
|
11474
11475
|
}
|
|
11475
|
-
function _object_without_properties_loose$
|
|
11476
|
+
function _object_without_properties_loose$c(source, excluded) {
|
|
11476
11477
|
if (source == null)
|
|
11477
11478
|
return {};
|
|
11478
11479
|
var target = {};
|
|
@@ -11609,7 +11610,7 @@ function _ts_generator$4(thisArg, body) {
|
|
|
11609
11610
|
}
|
|
11610
11611
|
function Select(props) {
|
|
11611
11612
|
var _input_current;
|
|
11612
|
-
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, [
|
|
11613
11614
|
"options",
|
|
11614
11615
|
"isMultiSelect",
|
|
11615
11616
|
"value",
|
|
@@ -11646,7 +11647,7 @@ function Select(props) {
|
|
|
11646
11647
|
var classes = useStyles$D({
|
|
11647
11648
|
theme: tweakStyles
|
|
11648
11649
|
});
|
|
11649
|
-
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, [
|
|
11650
11651
|
"shouldRenderInList"
|
|
11651
11652
|
]);
|
|
11652
11653
|
var hasSearchInputInList = optionsMode !== "normal" && shouldRenderSearchInputInList;
|
|
@@ -12410,10 +12411,10 @@ function _object_spread_props$A(target, source) {
|
|
|
12410
12411
|
}
|
|
12411
12412
|
return target;
|
|
12412
12413
|
}
|
|
12413
|
-
function _object_without_properties$
|
|
12414
|
+
function _object_without_properties$b(source, excluded) {
|
|
12414
12415
|
if (source == null)
|
|
12415
12416
|
return {};
|
|
12416
|
-
var target = _object_without_properties_loose$
|
|
12417
|
+
var target = _object_without_properties_loose$b(source, excluded);
|
|
12417
12418
|
var key, i;
|
|
12418
12419
|
if (Object.getOwnPropertySymbols) {
|
|
12419
12420
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12428,7 +12429,7 @@ function _object_without_properties$a(source, excluded) {
|
|
|
12428
12429
|
}
|
|
12429
12430
|
return target;
|
|
12430
12431
|
}
|
|
12431
|
-
function _object_without_properties_loose$
|
|
12432
|
+
function _object_without_properties_loose$b(source, excluded) {
|
|
12432
12433
|
if (source == null)
|
|
12433
12434
|
return {};
|
|
12434
12435
|
var target = {};
|
|
@@ -12459,7 +12460,7 @@ function _unsupported_iterable_to_array$i(o, minLen) {
|
|
|
12459
12460
|
return _array_like_to_array$i(o, minLen);
|
|
12460
12461
|
}
|
|
12461
12462
|
var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
12462
|
-
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, [
|
|
12463
12464
|
"data",
|
|
12464
12465
|
"selectedDate",
|
|
12465
12466
|
"minDate",
|
|
@@ -13277,10 +13278,10 @@ function _object_spread_props$x(target, source) {
|
|
|
13277
13278
|
}
|
|
13278
13279
|
return target;
|
|
13279
13280
|
}
|
|
13280
|
-
function _object_without_properties$
|
|
13281
|
+
function _object_without_properties$a(source, excluded) {
|
|
13281
13282
|
if (source == null)
|
|
13282
13283
|
return {};
|
|
13283
|
-
var target = _object_without_properties_loose$
|
|
13284
|
+
var target = _object_without_properties_loose$a(source, excluded);
|
|
13284
13285
|
var key, i;
|
|
13285
13286
|
if (Object.getOwnPropertySymbols) {
|
|
13286
13287
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -13295,7 +13296,7 @@ function _object_without_properties$9(source, excluded) {
|
|
|
13295
13296
|
}
|
|
13296
13297
|
return target;
|
|
13297
13298
|
}
|
|
13298
|
-
function _object_without_properties_loose$
|
|
13299
|
+
function _object_without_properties_loose$a(source, excluded) {
|
|
13299
13300
|
if (source == null)
|
|
13300
13301
|
return {};
|
|
13301
13302
|
var target = {};
|
|
@@ -13310,7 +13311,7 @@ function _object_without_properties_loose$9(source, excluded) {
|
|
|
13310
13311
|
return target;
|
|
13311
13312
|
}
|
|
13312
13313
|
var IconButton = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
13313
|
-
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, [
|
|
13314
13315
|
"icon",
|
|
13315
13316
|
"size",
|
|
13316
13317
|
"view",
|
|
@@ -14234,10 +14235,10 @@ function _object_spread$y(target) {
|
|
|
14234
14235
|
}
|
|
14235
14236
|
return target;
|
|
14236
14237
|
}
|
|
14237
|
-
function _object_without_properties$
|
|
14238
|
+
function _object_without_properties$9(source, excluded) {
|
|
14238
14239
|
if (source == null)
|
|
14239
14240
|
return {};
|
|
14240
|
-
var target = _object_without_properties_loose$
|
|
14241
|
+
var target = _object_without_properties_loose$9(source, excluded);
|
|
14241
14242
|
var key, i;
|
|
14242
14243
|
if (Object.getOwnPropertySymbols) {
|
|
14243
14244
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -14252,7 +14253,7 @@ function _object_without_properties$8(source, excluded) {
|
|
|
14252
14253
|
}
|
|
14253
14254
|
return target;
|
|
14254
14255
|
}
|
|
14255
|
-
function _object_without_properties_loose$
|
|
14256
|
+
function _object_without_properties_loose$9(source, excluded) {
|
|
14256
14257
|
if (source == null)
|
|
14257
14258
|
return {};
|
|
14258
14259
|
var target = {};
|
|
@@ -14385,7 +14386,7 @@ function _ts_generator$3(thisArg, body) {
|
|
|
14385
14386
|
}
|
|
14386
14387
|
}
|
|
14387
14388
|
var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
14388
|
-
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, [
|
|
14389
14390
|
"value",
|
|
14390
14391
|
"canBeFloat",
|
|
14391
14392
|
"canBeNegative",
|
|
@@ -19302,6 +19303,38 @@ function _object_spread_props$m(target, source) {
|
|
|
19302
19303
|
}
|
|
19303
19304
|
return target;
|
|
19304
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
|
+
}
|
|
19305
19338
|
function FilterWrapper(param) {
|
|
19306
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;
|
|
19307
19340
|
var classes = useStyles$m({
|
|
@@ -19339,12 +19372,17 @@ function FilterWrapper(param) {
|
|
|
19339
19372
|
canBeFlipped: true,
|
|
19340
19373
|
isDisabled: isBoolean || isDisabled,
|
|
19341
19374
|
tweakStyles: tweakWithPopupStyles,
|
|
19342
|
-
trigger: function(
|
|
19343
|
-
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
|
+
]);
|
|
19344
19382
|
var _obj2;
|
|
19345
19383
|
return /* @__PURE__ */ jsx("div", _object_spread_props$m(_object_spread$n({
|
|
19346
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))
|
|
19347
|
-
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
19385
|
+
}, addDataTestId(testId), addDataAttributes(data), props), {
|
|
19348
19386
|
children: /* @__PURE__ */ jsxs("div", {
|
|
19349
19387
|
onClick: handleLabelClick,
|
|
19350
19388
|
className: clsx(classes.item, _define_property$o({}, classes.booleanItem, isBoolean)),
|