@true-engineering/true-react-common-ui-kit 4.0.0-alpha1 → 4.0.0-alpha2
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/dist/components/SearchInput/SearchInput.stories.d.ts +1 -11
- package/dist/components/SearchInput/SearchInput.styles.d.ts +3 -5
- package/dist/true-react-common-ui-kit.js +142 -190
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +142 -190
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +1 -1
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.tsx +6 -1
- package/src/components/IncrementInput/IncrementInput.styles.ts +1 -1
- package/src/components/SearchInput/SearchInput.styles.ts +16 -29
- package/src/components/SearchInput/SearchInput.tsx +12 -20
|
@@ -1910,7 +1910,7 @@ function _object_spread$16(target) {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
return target;
|
|
1912
1912
|
}
|
|
1913
|
-
function ownKeys$
|
|
1913
|
+
function ownKeys$W(object, enumerableOnly) {
|
|
1914
1914
|
var keys2 = Object.keys(object);
|
|
1915
1915
|
if (Object.getOwnPropertySymbols) {
|
|
1916
1916
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -1923,12 +1923,12 @@ function ownKeys$X(object, enumerableOnly) {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
return keys2;
|
|
1925
1925
|
}
|
|
1926
|
-
function _object_spread_props$
|
|
1926
|
+
function _object_spread_props$W(target, source) {
|
|
1927
1927
|
source = source != null ? source : {};
|
|
1928
1928
|
if (Object.getOwnPropertyDescriptors) {
|
|
1929
1929
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1930
1930
|
} else {
|
|
1931
|
-
ownKeys$
|
|
1931
|
+
ownKeys$W(Object(source)).forEach(function(key) {
|
|
1932
1932
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1933
1933
|
});
|
|
1934
1934
|
}
|
|
@@ -1983,7 +1983,7 @@ function createThemedStyles() {
|
|
|
1983
1983
|
return mergeStyles(styles, isNotEmpty(componentName) ? theme === null || theme === void 0 ? void 0 : (_theme_components = theme.components) === null || _theme_components === void 0 ? void 0 : _theme_components[componentName] : void 0, tweakStyles);
|
|
1984
1984
|
});
|
|
1985
1985
|
return function(data) {
|
|
1986
|
-
return useStyles2(isNotEmpty(data) ? _object_spread_props$
|
|
1986
|
+
return useStyles2(isNotEmpty(data) ? _object_spread_props$W(_object_spread$16({}, data), {
|
|
1987
1987
|
theme: cleanStyles(data.theme)
|
|
1988
1988
|
}) : data);
|
|
1989
1989
|
};
|
|
@@ -7683,7 +7683,7 @@ function _object_spread$13(target) {
|
|
|
7683
7683
|
}
|
|
7684
7684
|
return target;
|
|
7685
7685
|
}
|
|
7686
|
-
function ownKeys$
|
|
7686
|
+
function ownKeys$V(object, enumerableOnly) {
|
|
7687
7687
|
var keys2 = Object.keys(object);
|
|
7688
7688
|
if (Object.getOwnPropertySymbols) {
|
|
7689
7689
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -7696,12 +7696,12 @@ function ownKeys$W(object, enumerableOnly) {
|
|
|
7696
7696
|
}
|
|
7697
7697
|
return keys2;
|
|
7698
7698
|
}
|
|
7699
|
-
function _object_spread_props$
|
|
7699
|
+
function _object_spread_props$V(target, source) {
|
|
7700
7700
|
source = source != null ? source : {};
|
|
7701
7701
|
if (Object.getOwnPropertyDescriptors) {
|
|
7702
7702
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7703
7703
|
} else {
|
|
7704
|
-
ownKeys$
|
|
7704
|
+
ownKeys$V(Object(source)).forEach(function(key) {
|
|
7705
7705
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7706
7706
|
});
|
|
7707
7707
|
}
|
|
@@ -7733,19 +7733,19 @@ var IconBoilerplate = function(param) {
|
|
|
7733
7733
|
}, path), index);
|
|
7734
7734
|
}),
|
|
7735
7735
|
(_icon_rects = icon.rects) === null || _icon_rects === void 0 ? void 0 : _icon_rects.map(function(rect, index) {
|
|
7736
|
-
return /* @__PURE__ */ createElement("rect", _object_spread_props$
|
|
7736
|
+
return /* @__PURE__ */ createElement("rect", _object_spread_props$V(_object_spread$13({}, rect), {
|
|
7737
7737
|
key: index
|
|
7738
7738
|
}));
|
|
7739
7739
|
}),
|
|
7740
7740
|
(_icon_circles = icon.circles) === null || _icon_circles === void 0 ? void 0 : _icon_circles.map(function(circle, index) {
|
|
7741
|
-
return /* @__PURE__ */ createElement("circle", _object_spread_props$
|
|
7741
|
+
return /* @__PURE__ */ createElement("circle", _object_spread_props$V(_object_spread$13({}, circle), {
|
|
7742
7742
|
key: index
|
|
7743
7743
|
}));
|
|
7744
7744
|
})
|
|
7745
7745
|
]
|
|
7746
7746
|
});
|
|
7747
7747
|
};
|
|
7748
|
-
var useStyles$
|
|
7748
|
+
var useStyles$W = createThemedStyles("Icon", {
|
|
7749
7749
|
root: {
|
|
7750
7750
|
display: "flex",
|
|
7751
7751
|
alignItems: "center"
|
|
@@ -7779,7 +7779,7 @@ function _object_spread$12(target) {
|
|
|
7779
7779
|
}
|
|
7780
7780
|
return target;
|
|
7781
7781
|
}
|
|
7782
|
-
function ownKeys$
|
|
7782
|
+
function ownKeys$U(object, enumerableOnly) {
|
|
7783
7783
|
var keys2 = Object.keys(object);
|
|
7784
7784
|
if (Object.getOwnPropertySymbols) {
|
|
7785
7785
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -7792,12 +7792,12 @@ function ownKeys$V(object, enumerableOnly) {
|
|
|
7792
7792
|
}
|
|
7793
7793
|
return keys2;
|
|
7794
7794
|
}
|
|
7795
|
-
function _object_spread_props$
|
|
7795
|
+
function _object_spread_props$U(target, source) {
|
|
7796
7796
|
source = source != null ? source : {};
|
|
7797
7797
|
if (Object.getOwnPropertyDescriptors) {
|
|
7798
7798
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7799
7799
|
} else {
|
|
7800
|
-
ownKeys$
|
|
7800
|
+
ownKeys$U(Object(source)).forEach(function(key) {
|
|
7801
7801
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7802
7802
|
});
|
|
7803
7803
|
}
|
|
@@ -7805,10 +7805,10 @@ function _object_spread_props$V(target, source) {
|
|
|
7805
7805
|
}
|
|
7806
7806
|
var Icon = function(param) {
|
|
7807
7807
|
var type = param.type, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
|
|
7808
|
-
var classes = useStyles$
|
|
7808
|
+
var classes = useStyles$W({
|
|
7809
7809
|
theme: tweakStyles
|
|
7810
7810
|
});
|
|
7811
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
7811
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$U(_object_spread$12({
|
|
7812
7812
|
className: classes.root
|
|
7813
7813
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
7814
7814
|
children: isComplexIcon(type) ? /* @__PURE__ */ jsx(ComplexIconBoilerplate, {
|
|
@@ -7824,7 +7824,7 @@ var renderIcon = function(icon) {
|
|
|
7824
7824
|
}) : icon;
|
|
7825
7825
|
};
|
|
7826
7826
|
var DEFAULT_OFFSET = 6;
|
|
7827
|
-
var useStyles$
|
|
7827
|
+
var useStyles$V = createThemedStyles("WithPopup", {
|
|
7828
7828
|
trigger: {
|
|
7829
7829
|
width: "fit-content"
|
|
7830
7830
|
},
|
|
@@ -7936,7 +7936,7 @@ function _object_spread$11(target) {
|
|
|
7936
7936
|
}
|
|
7937
7937
|
return target;
|
|
7938
7938
|
}
|
|
7939
|
-
function ownKeys$
|
|
7939
|
+
function ownKeys$T(object, enumerableOnly) {
|
|
7940
7940
|
var keys2 = Object.keys(object);
|
|
7941
7941
|
if (Object.getOwnPropertySymbols) {
|
|
7942
7942
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -7949,12 +7949,12 @@ function ownKeys$U(object, enumerableOnly) {
|
|
|
7949
7949
|
}
|
|
7950
7950
|
return keys2;
|
|
7951
7951
|
}
|
|
7952
|
-
function _object_spread_props$
|
|
7952
|
+
function _object_spread_props$T(target, source) {
|
|
7953
7953
|
source = source != null ? source : {};
|
|
7954
7954
|
if (Object.getOwnPropertyDescriptors) {
|
|
7955
7955
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7956
7956
|
} else {
|
|
7957
|
-
ownKeys$
|
|
7957
|
+
ownKeys$T(Object(source)).forEach(function(key) {
|
|
7958
7958
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7959
7959
|
});
|
|
7960
7960
|
}
|
|
@@ -7981,7 +7981,7 @@ function _unsupported_iterable_to_array$m(o, minLen) {
|
|
|
7981
7981
|
}
|
|
7982
7982
|
var WithPopup = function(param) {
|
|
7983
7983
|
var trigger = param.trigger, children = param.children, _param_middlewares = param.middlewares, middlewares = _param_middlewares === void 0 ? [] : _param_middlewares, _param_eventType = param.eventType, eventType = _param_eventType === void 0 ? "click" : _param_eventType, _param_placement = param.placement, placement = _param_placement === void 0 ? eventType === "click" ? "bottom-end" : "top" : _param_placement, _param_hoverDelay = param.hoverDelay, hoverDelay = _param_hoverDelay === void 0 ? 0 : _param_hoverDelay, _param_popupOffset = param.popupOffset, popupOffset = _param_popupOffset === void 0 ? DEFAULT_OFFSET : _param_popupOffset, _param_shouldStopPropagation = param.shouldStopPropagation, shouldStopPropagation = _param_shouldStopPropagation === void 0 ? true : _param_shouldStopPropagation, _param_shouldHideOnScroll = param.shouldHideOnScroll, shouldHideOnScroll = _param_shouldHideOnScroll === void 0 ? false : _param_shouldHideOnScroll, _param_shouldRenderInBody = param.shouldRenderInBody, shouldRenderInBody = _param_shouldRenderInBody === void 0 ? true : _param_shouldRenderInBody, _param_canBeFlipped = param.canBeFlipped, canBeFlipped = _param_canBeFlipped === void 0 ? true : _param_canBeFlipped, _param_isTriggerWrapped = param.isTriggerWrapped, isTriggerWrapped = _param_isTriggerWrapped === void 0 ? eventType === "hover" : _param_isTriggerWrapped, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, tweakStyles = param.tweakStyles, data = param.data, testId = param.testId, onToggle = param.onToggle;
|
|
7984
|
-
var classes = useStyles$
|
|
7984
|
+
var classes = useStyles$V({
|
|
7985
7985
|
theme: tweakStyles
|
|
7986
7986
|
});
|
|
7987
7987
|
var _useState = _sliced_to_array$m(useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
|
|
@@ -8054,14 +8054,14 @@ var WithPopup = function(param) {
|
|
|
8054
8054
|
var _obj2;
|
|
8055
8055
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
8056
8056
|
children: [
|
|
8057
|
-
isTriggerWrapped ? /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8057
|
+
isTriggerWrapped ? /* @__PURE__ */ jsx("div", _object_spread_props$T(_object_spread$11({
|
|
8058
8058
|
className: clsx(classes.trigger, (_obj2 = {}, _define_property$13(_obj2, classes.clickable, eventType === "click"), _define_property$13(_obj2, classes.disabled, isDisabled), _define_property$13(_obj2, classes.active, isOpen), _obj2))
|
|
8059
8059
|
}, referenceProps, addDataTestId(testId), addDataAttributes$1(data)), {
|
|
8060
8060
|
children: triggerElement
|
|
8061
8061
|
})) : triggerElement,
|
|
8062
8062
|
isMounted && /* @__PURE__ */ jsx(FloatingPortal, {
|
|
8063
8063
|
root: !shouldRenderInBody ? refs.reference.current : void 0,
|
|
8064
|
-
children: /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8064
|
+
children: /* @__PURE__ */ jsx("div", _object_spread_props$T(_object_spread$11({
|
|
8065
8065
|
style: floatingStyles,
|
|
8066
8066
|
className: classes.popup,
|
|
8067
8067
|
ref: refs.setFloating
|
|
@@ -8080,7 +8080,7 @@ var WithPopup = function(param) {
|
|
|
8080
8080
|
var ITEM_HORIZONTAL_PADDING = 16;
|
|
8081
8081
|
var ICON_SIZE$1 = 20;
|
|
8082
8082
|
var ICON_GAP = 12;
|
|
8083
|
-
var useStyles$
|
|
8083
|
+
var useStyles$U = createThemedStyles("ListItem", {
|
|
8084
8084
|
root: {
|
|
8085
8085
|
display: "flex",
|
|
8086
8086
|
alignItems: "center",
|
|
@@ -8147,7 +8147,7 @@ function _object_spread$10(target) {
|
|
|
8147
8147
|
}
|
|
8148
8148
|
return target;
|
|
8149
8149
|
}
|
|
8150
|
-
function ownKeys$
|
|
8150
|
+
function ownKeys$S(object, enumerableOnly) {
|
|
8151
8151
|
var keys2 = Object.keys(object);
|
|
8152
8152
|
if (Object.getOwnPropertySymbols) {
|
|
8153
8153
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8160,12 +8160,12 @@ function ownKeys$T(object, enumerableOnly) {
|
|
|
8160
8160
|
}
|
|
8161
8161
|
return keys2;
|
|
8162
8162
|
}
|
|
8163
|
-
function _object_spread_props$
|
|
8163
|
+
function _object_spread_props$S(target, source) {
|
|
8164
8164
|
source = source != null ? source : {};
|
|
8165
8165
|
if (Object.getOwnPropertyDescriptors) {
|
|
8166
8166
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8167
8167
|
} else {
|
|
8168
|
-
ownKeys$
|
|
8168
|
+
ownKeys$S(Object(source)).forEach(function(key) {
|
|
8169
8169
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8170
8170
|
});
|
|
8171
8171
|
}
|
|
@@ -8173,7 +8173,7 @@ function _object_spread_props$T(target, source) {
|
|
|
8173
8173
|
}
|
|
8174
8174
|
var ListItem = function(param) {
|
|
8175
8175
|
var icon = param.icon, item = param.item, nestedItems = param.nestedItems, isDisabled = param.disabled, isFocused = param.isFocused, shouldDrawSpacerAbove = param.shouldDrawSpacerAbove, shouldDrawSpacerBelow = param.shouldDrawSpacerBelow, testId = param.testId, tweakStyles = param.tweakStyles, _param_view = param.view, view = _param_view === void 0 ? "default" : _param_view, withIconGap = param.withIconGap, data = param.data, onClick = param.onClick;
|
|
8176
|
-
var classes = useStyles$
|
|
8176
|
+
var classes = useStyles$U({
|
|
8177
8177
|
theme: tweakStyles
|
|
8178
8178
|
});
|
|
8179
8179
|
var _obj2;
|
|
@@ -8182,9 +8182,9 @@ var ListItem = function(param) {
|
|
|
8182
8182
|
shouldDrawSpacerAbove && /* @__PURE__ */ jsx("div", {
|
|
8183
8183
|
className: classes.spacer
|
|
8184
8184
|
}),
|
|
8185
|
-
/* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
8185
|
+
/* @__PURE__ */ jsxs("div", _object_spread_props$S(_object_spread$10({
|
|
8186
8186
|
className: clsx(classes.root, classes[view], (_obj2 = {}, _define_property$12(_obj2, classes.disabledItem, isDisabled), _define_property$12(_obj2, classes.withIconGap, withIconGap), _define_property$12(_obj2, classes.focused, isFocused), _obj2))
|
|
8187
|
-
}, addClickHandler(onClick, !isDisabled), addDataTestId(testId), addDataAttributes(_object_spread_props$
|
|
8187
|
+
}, addClickHandler(onClick, !isDisabled), addDataTestId(testId), addDataAttributes(_object_spread_props$S(_object_spread$10({}, data), {
|
|
8188
8188
|
disabled: isDisabled ? true : void 0
|
|
8189
8189
|
}))), {
|
|
8190
8190
|
children: [
|
|
@@ -8210,7 +8210,7 @@ var ListItem = function(param) {
|
|
|
8210
8210
|
]
|
|
8211
8211
|
});
|
|
8212
8212
|
};
|
|
8213
|
-
var useStyles$
|
|
8213
|
+
var useStyles$T = createThemedStyles("List", {
|
|
8214
8214
|
root: {
|
|
8215
8215
|
minWidth: 180,
|
|
8216
8216
|
backgroundColor: colors.CLASSIC_WHITE,
|
|
@@ -8259,7 +8259,7 @@ function _object_spread$$(target) {
|
|
|
8259
8259
|
}
|
|
8260
8260
|
return target;
|
|
8261
8261
|
}
|
|
8262
|
-
function ownKeys$
|
|
8262
|
+
function ownKeys$R(object, enumerableOnly) {
|
|
8263
8263
|
var keys2 = Object.keys(object);
|
|
8264
8264
|
if (Object.getOwnPropertySymbols) {
|
|
8265
8265
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8272,12 +8272,12 @@ function ownKeys$S(object, enumerableOnly) {
|
|
|
8272
8272
|
}
|
|
8273
8273
|
return keys2;
|
|
8274
8274
|
}
|
|
8275
|
-
function _object_spread_props$
|
|
8275
|
+
function _object_spread_props$R(target, source) {
|
|
8276
8276
|
source = source != null ? source : {};
|
|
8277
8277
|
if (Object.getOwnPropertyDescriptors) {
|
|
8278
8278
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8279
8279
|
} else {
|
|
8280
|
-
ownKeys$
|
|
8280
|
+
ownKeys$R(Object(source)).forEach(function(key) {
|
|
8281
8281
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8282
8282
|
});
|
|
8283
8283
|
}
|
|
@@ -8285,7 +8285,7 @@ function _object_spread_props$S(target, source) {
|
|
|
8285
8285
|
}
|
|
8286
8286
|
var List = function(param) {
|
|
8287
8287
|
var items = param.items, testId = param.testId, data = param.data, tweakStyles = param.tweakStyles, onClick = param.onClick;
|
|
8288
|
-
var classes = useStyles$
|
|
8288
|
+
var classes = useStyles$T({
|
|
8289
8289
|
theme: tweakStyles
|
|
8290
8290
|
});
|
|
8291
8291
|
var handleItemClick = function(event, param2) {
|
|
@@ -8295,11 +8295,11 @@ var List = function(param) {
|
|
|
8295
8295
|
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
8296
8296
|
}
|
|
8297
8297
|
};
|
|
8298
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8298
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$R(_object_spread$$({
|
|
8299
8299
|
className: classes.root
|
|
8300
8300
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
8301
8301
|
children: items.map(function(item, i) {
|
|
8302
|
-
var itemProps = _object_spread_props$
|
|
8302
|
+
var itemProps = _object_spread_props$R(_object_spread$$({
|
|
8303
8303
|
testId: getTestId(testId, "item-".concat(i))
|
|
8304
8304
|
}, item), {
|
|
8305
8305
|
shouldDrawSpacerAbove: item.shouldDrawSpacerAbove && i !== 0,
|
|
@@ -8317,7 +8317,7 @@ var List = function(param) {
|
|
|
8317
8317
|
shouldRenderInBody: false,
|
|
8318
8318
|
trigger: function(param2) {
|
|
8319
8319
|
var triggerProps = param2.triggerProps;
|
|
8320
|
-
return /* @__PURE__ */ jsx(ListItem, _object_spread_props$
|
|
8320
|
+
return /* @__PURE__ */ jsx(ListItem, _object_spread_props$R(_object_spread$$({}, itemProps), {
|
|
8321
8321
|
isFocused: triggerProps.isActive
|
|
8322
8322
|
}));
|
|
8323
8323
|
},
|
|
@@ -8362,7 +8362,7 @@ function _object_spread$_(target) {
|
|
|
8362
8362
|
}
|
|
8363
8363
|
return target;
|
|
8364
8364
|
}
|
|
8365
|
-
var useStyles$
|
|
8365
|
+
var useStyles$S = createThemedStyles("AccountInfo", _object_spread$_({
|
|
8366
8366
|
root: {
|
|
8367
8367
|
display: "flex"
|
|
8368
8368
|
},
|
|
@@ -8475,7 +8475,7 @@ function _object_spread$Z(target) {
|
|
|
8475
8475
|
}
|
|
8476
8476
|
return target;
|
|
8477
8477
|
}
|
|
8478
|
-
function ownKeys$
|
|
8478
|
+
function ownKeys$Q(object, enumerableOnly) {
|
|
8479
8479
|
var keys2 = Object.keys(object);
|
|
8480
8480
|
if (Object.getOwnPropertySymbols) {
|
|
8481
8481
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8488,12 +8488,12 @@ function ownKeys$R(object, enumerableOnly) {
|
|
|
8488
8488
|
}
|
|
8489
8489
|
return keys2;
|
|
8490
8490
|
}
|
|
8491
|
-
function _object_spread_props$
|
|
8491
|
+
function _object_spread_props$Q(target, source) {
|
|
8492
8492
|
source = source != null ? source : {};
|
|
8493
8493
|
if (Object.getOwnPropertyDescriptors) {
|
|
8494
8494
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8495
8495
|
} else {
|
|
8496
|
-
ownKeys$
|
|
8496
|
+
ownKeys$Q(Object(source)).forEach(function(key) {
|
|
8497
8497
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8498
8498
|
});
|
|
8499
8499
|
}
|
|
@@ -8517,7 +8517,7 @@ function _unsupported_iterable_to_array$l(o, minLen) {
|
|
|
8517
8517
|
}
|
|
8518
8518
|
var AccountInfo = function(param) {
|
|
8519
8519
|
var data = param.data, testId = param.testId, avatar = param.avatar, tweakStyles = param.tweakStyles, accountName = param.accountName, options = param.options;
|
|
8520
|
-
var classes = useStyles$
|
|
8520
|
+
var classes = useStyles$S({
|
|
8521
8521
|
theme: tweakStyles
|
|
8522
8522
|
});
|
|
8523
8523
|
var tweakListStyles = useTweakStyles({
|
|
@@ -8537,7 +8537,7 @@ var AccountInfo = function(param) {
|
|
|
8537
8537
|
useOnClickOutsideWithRef(dropdownRef, function() {
|
|
8538
8538
|
return setIsMenuOpen(false);
|
|
8539
8539
|
}, nameRef);
|
|
8540
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
8540
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$Q(_object_spread$Z({
|
|
8541
8541
|
className: classes.root
|
|
8542
8542
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
8543
8543
|
children: [
|
|
@@ -8587,7 +8587,7 @@ var AccountInfo = function(param) {
|
|
|
8587
8587
|
]
|
|
8588
8588
|
}));
|
|
8589
8589
|
};
|
|
8590
|
-
var useStyles$
|
|
8590
|
+
var useStyles$R = createThemedStyles("AddButton", {
|
|
8591
8591
|
root: {
|
|
8592
8592
|
display: "flex",
|
|
8593
8593
|
alignItems: "center",
|
|
@@ -8641,7 +8641,7 @@ function _object_spread$Y(target) {
|
|
|
8641
8641
|
}
|
|
8642
8642
|
return target;
|
|
8643
8643
|
}
|
|
8644
|
-
function ownKeys$
|
|
8644
|
+
function ownKeys$P(object, enumerableOnly) {
|
|
8645
8645
|
var keys2 = Object.keys(object);
|
|
8646
8646
|
if (Object.getOwnPropertySymbols) {
|
|
8647
8647
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8654,12 +8654,12 @@ function ownKeys$Q(object, enumerableOnly) {
|
|
|
8654
8654
|
}
|
|
8655
8655
|
return keys2;
|
|
8656
8656
|
}
|
|
8657
|
-
function _object_spread_props$
|
|
8657
|
+
function _object_spread_props$P(target, source) {
|
|
8658
8658
|
source = source != null ? source : {};
|
|
8659
8659
|
if (Object.getOwnPropertyDescriptors) {
|
|
8660
8660
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8661
8661
|
} else {
|
|
8662
|
-
ownKeys$
|
|
8662
|
+
ownKeys$P(Object(source)).forEach(function(key) {
|
|
8663
8663
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8664
8664
|
});
|
|
8665
8665
|
}
|
|
@@ -8667,10 +8667,10 @@ function _object_spread_props$Q(target, source) {
|
|
|
8667
8667
|
}
|
|
8668
8668
|
var AddButton = function(param) {
|
|
8669
8669
|
var text = param.text, _param_type = param.type, type = _param_type === void 0 ? "button" : _param_type, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, onClick = param.onClick, _param_isFullWidth = param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
|
|
8670
|
-
var classes = useStyles$
|
|
8670
|
+
var classes = useStyles$R({
|
|
8671
8671
|
theme: tweakStyles
|
|
8672
8672
|
});
|
|
8673
|
-
return /* @__PURE__ */ jsxs("button", _object_spread_props$
|
|
8673
|
+
return /* @__PURE__ */ jsxs("button", _object_spread_props$P(_object_spread$Y({
|
|
8674
8674
|
type,
|
|
8675
8675
|
className: clsx(classes.root, isDisabled && classes.disabled, isFullWidth && classes.fullWidth),
|
|
8676
8676
|
onClick: !isDisabled ? onClick : void 0,
|
|
@@ -8689,7 +8689,7 @@ var AddButton = function(param) {
|
|
|
8689
8689
|
]
|
|
8690
8690
|
}));
|
|
8691
8691
|
};
|
|
8692
|
-
var useStyles$
|
|
8692
|
+
var useStyles$Q = createThemedStyles("DotsPreloader", {
|
|
8693
8693
|
root: {
|
|
8694
8694
|
display: "flex",
|
|
8695
8695
|
gap: 4,
|
|
@@ -8735,7 +8735,7 @@ var useStyles$R = createThemedStyles("DotsPreloader", {
|
|
|
8735
8735
|
});
|
|
8736
8736
|
var DotsPreloader = function(param) {
|
|
8737
8737
|
var tweakStyles = param.tweakStyles;
|
|
8738
|
-
var classes = useStyles$
|
|
8738
|
+
var classes = useStyles$Q({
|
|
8739
8739
|
theme: tweakStyles
|
|
8740
8740
|
});
|
|
8741
8741
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -8801,7 +8801,7 @@ var DefaultPreloader = function() {
|
|
|
8801
8801
|
]
|
|
8802
8802
|
});
|
|
8803
8803
|
};
|
|
8804
|
-
var useStyles$
|
|
8804
|
+
var useStyles$P = createThemedStyles("SvgPreloader", {
|
|
8805
8805
|
root: {
|
|
8806
8806
|
display: "flex",
|
|
8807
8807
|
width: "100%",
|
|
@@ -8811,7 +8811,7 @@ var useStyles$Q = createThemedStyles("SvgPreloader", {
|
|
|
8811
8811
|
var SvgPreloader = function(param) {
|
|
8812
8812
|
var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, tweakStyles = param.tweakStyles;
|
|
8813
8813
|
var _theme_preloaders;
|
|
8814
|
-
var classes = useStyles$
|
|
8814
|
+
var classes = useStyles$P({
|
|
8815
8815
|
theme: tweakStyles
|
|
8816
8816
|
});
|
|
8817
8817
|
var theme = useContext(ThemeContext).theme;
|
|
@@ -8825,7 +8825,7 @@ var SvgPreloader = function(param) {
|
|
|
8825
8825
|
}
|
|
8826
8826
|
}) : /* @__PURE__ */ jsx(PreloaderIcon, {});
|
|
8827
8827
|
};
|
|
8828
|
-
var useStyles$
|
|
8828
|
+
var useStyles$O = createThemedStyles("ThemedPreloader", {
|
|
8829
8829
|
root: {
|
|
8830
8830
|
display: "flex"
|
|
8831
8831
|
},
|
|
@@ -8864,7 +8864,7 @@ function _object_spread$X(target) {
|
|
|
8864
8864
|
}
|
|
8865
8865
|
return target;
|
|
8866
8866
|
}
|
|
8867
|
-
function ownKeys$
|
|
8867
|
+
function ownKeys$O(object, enumerableOnly) {
|
|
8868
8868
|
var keys2 = Object.keys(object);
|
|
8869
8869
|
if (Object.getOwnPropertySymbols) {
|
|
8870
8870
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8877,12 +8877,12 @@ function ownKeys$P(object, enumerableOnly) {
|
|
|
8877
8877
|
}
|
|
8878
8878
|
return keys2;
|
|
8879
8879
|
}
|
|
8880
|
-
function _object_spread_props$
|
|
8880
|
+
function _object_spread_props$O(target, source) {
|
|
8881
8881
|
source = source != null ? source : {};
|
|
8882
8882
|
if (Object.getOwnPropertyDescriptors) {
|
|
8883
8883
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8884
8884
|
} else {
|
|
8885
|
-
ownKeys$
|
|
8885
|
+
ownKeys$O(Object(source)).forEach(function(key) {
|
|
8886
8886
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8887
8887
|
});
|
|
8888
8888
|
}
|
|
@@ -8890,7 +8890,7 @@ function _object_spread_props$P(target, source) {
|
|
|
8890
8890
|
}
|
|
8891
8891
|
var ThemedPreloader = function(param) {
|
|
8892
8892
|
var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, _param_useCurrentColor = param.useCurrentColor, useCurrentColor = _param_useCurrentColor === void 0 ? false : _param_useCurrentColor, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
|
|
8893
|
-
var classes = useStyles$
|
|
8893
|
+
var classes = useStyles$O({
|
|
8894
8894
|
theme: tweakStyles
|
|
8895
8895
|
});
|
|
8896
8896
|
var tweakDotsPreloaderStyles = useTweakStyles({
|
|
@@ -8903,7 +8903,7 @@ var ThemedPreloader = function(param) {
|
|
|
8903
8903
|
className: "tweakSvgPreloader",
|
|
8904
8904
|
currentComponentName: "ThemedPreloader"
|
|
8905
8905
|
});
|
|
8906
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
8906
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$O(_object_spread$X({
|
|
8907
8907
|
className: clsx(classes.root, classes[type], _define_property$Z({}, classes.currentColor, useCurrentColor))
|
|
8908
8908
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
8909
8909
|
children: type === "dots" ? /* @__PURE__ */ jsx(DotsPreloader, {
|
|
@@ -8914,7 +8914,7 @@ var ThemedPreloader = function(param) {
|
|
|
8914
8914
|
})
|
|
8915
8915
|
}));
|
|
8916
8916
|
};
|
|
8917
|
-
var useStyles$
|
|
8917
|
+
var useStyles$N = createThemedStyles("Button", {
|
|
8918
8918
|
root: {
|
|
8919
8919
|
display: "flex",
|
|
8920
8920
|
justifyContent: "center",
|
|
@@ -9113,7 +9113,7 @@ function _object_spread$W(target) {
|
|
|
9113
9113
|
}
|
|
9114
9114
|
return target;
|
|
9115
9115
|
}
|
|
9116
|
-
function ownKeys$
|
|
9116
|
+
function ownKeys$N(object, enumerableOnly) {
|
|
9117
9117
|
var keys2 = Object.keys(object);
|
|
9118
9118
|
if (Object.getOwnPropertySymbols) {
|
|
9119
9119
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9126,12 +9126,12 @@ function ownKeys$O(object, enumerableOnly) {
|
|
|
9126
9126
|
}
|
|
9127
9127
|
return keys2;
|
|
9128
9128
|
}
|
|
9129
|
-
function _object_spread_props$
|
|
9129
|
+
function _object_spread_props$N(target, source) {
|
|
9130
9130
|
source = source != null ? source : {};
|
|
9131
9131
|
if (Object.getOwnPropertyDescriptors) {
|
|
9132
9132
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9133
9133
|
} else {
|
|
9134
|
-
ownKeys$
|
|
9134
|
+
ownKeys$N(Object(source)).forEach(function(key) {
|
|
9135
9135
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9136
9136
|
});
|
|
9137
9137
|
}
|
|
@@ -9188,7 +9188,7 @@ var Button = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
9188
9188
|
"iconPosition",
|
|
9189
9189
|
"preloaderType"
|
|
9190
9190
|
]);
|
|
9191
|
-
var classes = useStyles$
|
|
9191
|
+
var classes = useStyles$N({
|
|
9192
9192
|
theme: tweakStyles
|
|
9193
9193
|
});
|
|
9194
9194
|
var tweakPreloaderStyles = useTweakStyles({
|
|
@@ -9201,7 +9201,7 @@ var Button = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
9201
9201
|
var hasChildren = isReactNodeNotEmpty(children);
|
|
9202
9202
|
var hasNoAction = isDisabled || isLoading;
|
|
9203
9203
|
var _obj2, _obj1;
|
|
9204
|
-
return /* @__PURE__ */ jsxs("button", _object_spread_props$
|
|
9204
|
+
return /* @__PURE__ */ jsxs("button", _object_spread_props$N(_object_spread$W({
|
|
9205
9205
|
ref,
|
|
9206
9206
|
type,
|
|
9207
9207
|
className: clsx(classes.root, classes[size], classes[view], (_obj2 = {}, _define_property$Y(_obj2, classes.disabled, isDisabled), _define_property$Y(_obj2, classes.fullWidth, isFullWidth), _define_property$Y(_obj2, classes.inline, isInline), _define_property$Y(_obj2, classes.active, isActive), _define_property$Y(_obj2, classes.loading, isLoading), _define_property$Y(_obj2, classes.onlyIcon, hasIcon && !hasChildren), _obj2)),
|
|
@@ -9233,7 +9233,7 @@ var Button = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
9233
9233
|
]
|
|
9234
9234
|
}));
|
|
9235
9235
|
});
|
|
9236
|
-
var useStyles$
|
|
9236
|
+
var useStyles$M = createThemedStyles("Checkbox", {
|
|
9237
9237
|
root: {
|
|
9238
9238
|
cursor: "pointer",
|
|
9239
9239
|
display: "flex",
|
|
@@ -9299,7 +9299,7 @@ function _object_spread$V(target) {
|
|
|
9299
9299
|
}
|
|
9300
9300
|
return target;
|
|
9301
9301
|
}
|
|
9302
|
-
function ownKeys$
|
|
9302
|
+
function ownKeys$M(object, enumerableOnly) {
|
|
9303
9303
|
var keys2 = Object.keys(object);
|
|
9304
9304
|
if (Object.getOwnPropertySymbols) {
|
|
9305
9305
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9312,12 +9312,12 @@ function ownKeys$N(object, enumerableOnly) {
|
|
|
9312
9312
|
}
|
|
9313
9313
|
return keys2;
|
|
9314
9314
|
}
|
|
9315
|
-
function _object_spread_props$
|
|
9315
|
+
function _object_spread_props$M(target, source) {
|
|
9316
9316
|
source = source != null ? source : {};
|
|
9317
9317
|
if (Object.getOwnPropertyDescriptors) {
|
|
9318
9318
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9319
9319
|
} else {
|
|
9320
|
-
ownKeys$
|
|
9320
|
+
ownKeys$M(Object(source)).forEach(function(key) {
|
|
9321
9321
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9322
9322
|
});
|
|
9323
9323
|
}
|
|
@@ -9325,7 +9325,7 @@ function _object_spread_props$N(target, source) {
|
|
|
9325
9325
|
}
|
|
9326
9326
|
function Checkbox(param) {
|
|
9327
9327
|
var value = param.value, children = param.children, _param_isChecked = param.isChecked, isChecked = _param_isChecked === void 0 ? false : _param_isChecked, _param_isSemiChecked = param.isSemiChecked, isSemiChecked = _param_isSemiChecked === void 0 ? false : _param_isSemiChecked, _param_isInvalid = param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isReadonly = param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_labelPosition = param.labelPosition, labelPosition = _param_labelPosition === void 0 ? "right" : _param_labelPosition, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, onSelect = param.onSelect;
|
|
9328
|
-
var classes = useStyles$
|
|
9328
|
+
var classes = useStyles$M({
|
|
9329
9329
|
theme: tweakStyles
|
|
9330
9330
|
});
|
|
9331
9331
|
var hasAction = !isDisabled && !isReadonly;
|
|
@@ -9337,7 +9337,7 @@ function Checkbox(param) {
|
|
|
9337
9337
|
}, event);
|
|
9338
9338
|
};
|
|
9339
9339
|
var _obj2;
|
|
9340
|
-
return /* @__PURE__ */ jsxs("label", _object_spread_props$
|
|
9340
|
+
return /* @__PURE__ */ jsxs("label", _object_spread_props$M(_object_spread$V({
|
|
9341
9341
|
className: clsx(classes.root, (_obj2 = {}, _define_property$X(_obj2, classes.checked, isSelected), _define_property$X(_obj2, classes.invalid, isInvalid), _define_property$X(_obj2, classes.disabled, isDisabled), _define_property$X(_obj2, classes.labelPositionLeft, labelPosition === "left"), _obj2))
|
|
9342
9342
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
9343
9343
|
children: [
|
|
@@ -9364,7 +9364,7 @@ function Checkbox(param) {
|
|
|
9364
9364
|
]
|
|
9365
9365
|
}));
|
|
9366
9366
|
}
|
|
9367
|
-
var useStyles$
|
|
9367
|
+
var useStyles$L = createThemedStyles("CloseButton", {
|
|
9368
9368
|
root: {
|
|
9369
9369
|
width: 40,
|
|
9370
9370
|
height: 40,
|
|
@@ -9418,7 +9418,7 @@ function _object_spread$U(target) {
|
|
|
9418
9418
|
}
|
|
9419
9419
|
return target;
|
|
9420
9420
|
}
|
|
9421
|
-
function ownKeys$
|
|
9421
|
+
function ownKeys$L(object, enumerableOnly) {
|
|
9422
9422
|
var keys2 = Object.keys(object);
|
|
9423
9423
|
if (Object.getOwnPropertySymbols) {
|
|
9424
9424
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9431,12 +9431,12 @@ function ownKeys$M(object, enumerableOnly) {
|
|
|
9431
9431
|
}
|
|
9432
9432
|
return keys2;
|
|
9433
9433
|
}
|
|
9434
|
-
function _object_spread_props$
|
|
9434
|
+
function _object_spread_props$L(target, source) {
|
|
9435
9435
|
source = source != null ? source : {};
|
|
9436
9436
|
if (Object.getOwnPropertyDescriptors) {
|
|
9437
9437
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9438
9438
|
} else {
|
|
9439
|
-
ownKeys$
|
|
9439
|
+
ownKeys$L(Object(source)).forEach(function(key) {
|
|
9440
9440
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9441
9441
|
});
|
|
9442
9442
|
}
|
|
@@ -9444,10 +9444,10 @@ function _object_spread_props$M(target, source) {
|
|
|
9444
9444
|
}
|
|
9445
9445
|
var CloseButton = function(param) {
|
|
9446
9446
|
var tweakStyles = param.tweakStyles, testId = param.testId, data = param.data, _param_icon = param.icon, icon = _param_icon === void 0 ? "close" : _param_icon, onClose = param.onClose;
|
|
9447
|
-
var classes = useStyles$
|
|
9447
|
+
var classes = useStyles$L({
|
|
9448
9448
|
theme: tweakStyles
|
|
9449
9449
|
});
|
|
9450
|
-
return /* @__PURE__ */ jsx("button", _object_spread_props$
|
|
9450
|
+
return /* @__PURE__ */ jsx("button", _object_spread_props$L(_object_spread$U({
|
|
9451
9451
|
type: "button",
|
|
9452
9452
|
className: classes.root,
|
|
9453
9453
|
onClick: onClose
|
|
@@ -9457,7 +9457,7 @@ var CloseButton = function(param) {
|
|
|
9457
9457
|
})
|
|
9458
9458
|
}));
|
|
9459
9459
|
};
|
|
9460
|
-
var useStyles$
|
|
9460
|
+
var useStyles$K = createThemedStyles({
|
|
9461
9461
|
root: {
|
|
9462
9462
|
display: "flex",
|
|
9463
9463
|
flexWrap: "wrap"
|
|
@@ -9550,7 +9550,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9550
9550
|
return _array_like_to_array$k(o, minLen);
|
|
9551
9551
|
}
|
|
9552
9552
|
var Colors = function() {
|
|
9553
|
-
var classes = useStyles$
|
|
9553
|
+
var classes = useStyles$K();
|
|
9554
9554
|
var theme = useContext(ThemeContext).theme;
|
|
9555
9555
|
var _theme_colors = theme.colors, colors2 = _theme_colors === void 0 ? {} : _theme_colors;
|
|
9556
9556
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -9580,7 +9580,7 @@ var Colors = function() {
|
|
|
9580
9580
|
})
|
|
9581
9581
|
});
|
|
9582
9582
|
};
|
|
9583
|
-
var useStyles$
|
|
9583
|
+
var useStyles$J = createThemedStyles("CssBaseline", {
|
|
9584
9584
|
"@global html, body": {
|
|
9585
9585
|
fontFamily: "Arial, sans-serif",
|
|
9586
9586
|
color: colors.FONT_MAIN,
|
|
@@ -9619,14 +9619,14 @@ function _object_spread$T(target) {
|
|
|
9619
9619
|
}
|
|
9620
9620
|
var CssBaseline = function(param) {
|
|
9621
9621
|
var data = param.data, testId = param.testId, tweakStyles = param.tweakStyles;
|
|
9622
|
-
var classes = useStyles$
|
|
9622
|
+
var classes = useStyles$J({
|
|
9623
9623
|
theme: tweakStyles
|
|
9624
9624
|
});
|
|
9625
9625
|
return /* @__PURE__ */ jsx("div", _object_spread$T({
|
|
9626
9626
|
className: classes.root
|
|
9627
9627
|
}, addDataTestId(testId), addDataAttributes(data)));
|
|
9628
9628
|
};
|
|
9629
|
-
var useStyles$
|
|
9629
|
+
var useStyles$I = createThemedStyles("WithMessages", {
|
|
9630
9630
|
withMessages: {
|
|
9631
9631
|
display: "flex",
|
|
9632
9632
|
flexDirection: "column",
|
|
@@ -9688,7 +9688,7 @@ function _object_spread$S(target) {
|
|
|
9688
9688
|
}
|
|
9689
9689
|
return target;
|
|
9690
9690
|
}
|
|
9691
|
-
function ownKeys$
|
|
9691
|
+
function ownKeys$K(object, enumerableOnly) {
|
|
9692
9692
|
var keys2 = Object.keys(object);
|
|
9693
9693
|
if (Object.getOwnPropertySymbols) {
|
|
9694
9694
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9701,12 +9701,12 @@ function ownKeys$L(object, enumerableOnly) {
|
|
|
9701
9701
|
}
|
|
9702
9702
|
return keys2;
|
|
9703
9703
|
}
|
|
9704
|
-
function _object_spread_props$
|
|
9704
|
+
function _object_spread_props$K(target, source) {
|
|
9705
9705
|
source = source != null ? source : {};
|
|
9706
9706
|
if (Object.getOwnPropertyDescriptors) {
|
|
9707
9707
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9708
9708
|
} else {
|
|
9709
|
-
ownKeys$
|
|
9709
|
+
ownKeys$K(Object(source)).forEach(function(key) {
|
|
9710
9710
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9711
9711
|
});
|
|
9712
9712
|
}
|
|
@@ -9714,13 +9714,13 @@ function _object_spread_props$L(target, source) {
|
|
|
9714
9714
|
}
|
|
9715
9715
|
var WithMessages = /* @__PURE__ */ forwardRef(function(param, ref) {
|
|
9716
9716
|
var children = param.children, infoMessage = param.infoMessage, errorMessage = param.errorMessage, controlsDirection = param.controlsDirection, tweakStyles = param.tweakStyles, testId = param.testId, data = param.data;
|
|
9717
|
-
var classes = useStyles$
|
|
9717
|
+
var classes = useStyles$I({
|
|
9718
9718
|
theme: tweakStyles
|
|
9719
9719
|
});
|
|
9720
9720
|
var shouldShowError = isReactNodeNotEmpty(errorMessage);
|
|
9721
9721
|
var shouldShowInfo = isReactNodeNotEmpty(infoMessage) && !shouldShowError;
|
|
9722
9722
|
var _obj2;
|
|
9723
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
9723
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$K(_object_spread$S({
|
|
9724
9724
|
ref,
|
|
9725
9725
|
className: classes.withMessages,
|
|
9726
9726
|
"data-invalid": shouldShowError ? true : void 0
|
|
@@ -9733,12 +9733,12 @@ var WithMessages = /* @__PURE__ */ forwardRef(function(param, ref) {
|
|
|
9733
9733
|
(shouldShowError || shouldShowInfo) && /* @__PURE__ */ jsxs("div", {
|
|
9734
9734
|
className: classes.message,
|
|
9735
9735
|
children: [
|
|
9736
|
-
shouldShowError && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
9736
|
+
shouldShowError && /* @__PURE__ */ jsx("div", _object_spread_props$K(_object_spread$S({
|
|
9737
9737
|
className: classes.error
|
|
9738
9738
|
}, addDataTestId(testId, "error")), {
|
|
9739
9739
|
children: errorMessage
|
|
9740
9740
|
})),
|
|
9741
|
-
shouldShowInfo && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
9741
|
+
shouldShowInfo && /* @__PURE__ */ jsx("div", _object_spread_props$K(_object_spread$S({
|
|
9742
9742
|
className: classes.info
|
|
9743
9743
|
}, addDataTestId(testId, "info")), {
|
|
9744
9744
|
children: infoMessage
|
|
@@ -9748,8 +9748,8 @@ var WithMessages = /* @__PURE__ */ forwardRef(function(param, ref) {
|
|
|
9748
9748
|
]
|
|
9749
9749
|
}));
|
|
9750
9750
|
});
|
|
9751
|
-
var CONTROL$1 = dimensions.CONTROL, Z_INDEX$
|
|
9752
|
-
var useStyles$
|
|
9751
|
+
var CONTROL$1 = dimensions.CONTROL, Z_INDEX$1 = dimensions.Z_INDEX;
|
|
9752
|
+
var useStyles$H = createThemedStyles("ControlWrapper", {
|
|
9753
9753
|
controlWrapper: {
|
|
9754
9754
|
"--control-height": "".concat(CONTROL$1.HEIGHT - 2, "px"),
|
|
9755
9755
|
// borders
|
|
@@ -9771,12 +9771,12 @@ var useStyles$I = createThemedStyles("ControlWrapper", {
|
|
|
9771
9771
|
zIndex: 0
|
|
9772
9772
|
},
|
|
9773
9773
|
invalid: {
|
|
9774
|
-
zIndex: Z_INDEX$
|
|
9774
|
+
zIndex: Z_INDEX$1.CONTROL_INVALID
|
|
9775
9775
|
},
|
|
9776
9776
|
disabled: {},
|
|
9777
9777
|
focused: {
|
|
9778
9778
|
position: "relative",
|
|
9779
|
-
zIndex: Z_INDEX$
|
|
9779
|
+
zIndex: Z_INDEX$1.CONTROL_FOCUS
|
|
9780
9780
|
},
|
|
9781
9781
|
withValue: {},
|
|
9782
9782
|
loading: {},
|
|
@@ -9928,7 +9928,7 @@ function _object_spread$R(target) {
|
|
|
9928
9928
|
}
|
|
9929
9929
|
return target;
|
|
9930
9930
|
}
|
|
9931
|
-
function ownKeys$
|
|
9931
|
+
function ownKeys$J(object, enumerableOnly) {
|
|
9932
9932
|
var keys2 = Object.keys(object);
|
|
9933
9933
|
if (Object.getOwnPropertySymbols) {
|
|
9934
9934
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9941,12 +9941,12 @@ function ownKeys$K(object, enumerableOnly) {
|
|
|
9941
9941
|
}
|
|
9942
9942
|
return keys2;
|
|
9943
9943
|
}
|
|
9944
|
-
function _object_spread_props$
|
|
9944
|
+
function _object_spread_props$J(target, source) {
|
|
9945
9945
|
source = source != null ? source : {};
|
|
9946
9946
|
if (Object.getOwnPropertyDescriptors) {
|
|
9947
9947
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9948
9948
|
} else {
|
|
9949
|
-
ownKeys$
|
|
9949
|
+
ownKeys$J(Object(source)).forEach(function(key) {
|
|
9950
9950
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9951
9951
|
});
|
|
9952
9952
|
}
|
|
@@ -9954,7 +9954,7 @@ function _object_spread_props$K(target, source) {
|
|
|
9954
9954
|
}
|
|
9955
9955
|
var ControlWrapper = function(param) {
|
|
9956
9956
|
var label = param.label, icon = param.icon, groupPlacement = param.groupPlacement, isInvalid = param.isInvalid, isFocused = param.isFocused, isRequired = param.isRequired, isLoading = param.isLoading, isFullWidth = param.isFullWidth, isDisabled = param.isDisabled, hasValue = param.hasValue, testId = param.testId, children = param.children, tweakStyles = param.tweakStyles, data = param.data, onIconClick = param.onIconClick, onClear = param.onClear;
|
|
9957
|
-
var classes = useStyles$
|
|
9957
|
+
var classes = useStyles$H({
|
|
9958
9958
|
theme: tweakStyles
|
|
9959
9959
|
});
|
|
9960
9960
|
var hasEndIcon = !isLoading && isReactNodeNotEmpty(icon);
|
|
@@ -9966,7 +9966,7 @@ var ControlWrapper = function(param) {
|
|
|
9966
9966
|
currentComponentName: "ControlWrapper"
|
|
9967
9967
|
});
|
|
9968
9968
|
var _obj2, _obj1, _obj22;
|
|
9969
|
-
return /* @__PURE__ */ jsxs("div", _object_spread_props$
|
|
9969
|
+
return /* @__PURE__ */ jsxs("div", _object_spread_props$J(_object_spread$R({
|
|
9970
9970
|
className: clsx(classes.controlWrapper, isNotEmpty(groupPlacement) && [
|
|
9971
9971
|
classes["placement-".concat(groupPlacement)]
|
|
9972
9972
|
], (_obj2 = {}, _define_property$T(_obj2, classes.invalid, isInvalid), _define_property$T(_obj2, classes.focused, isFocused), _define_property$T(_obj2, classes.withValue, hasValue), _define_property$T(_obj2, classes.disabled, isDisabled), _define_property$T(_obj2, classes.loading, isLoading), _define_property$T(_obj2, classes.minContent, !isFullWidth), _obj2))
|
|
@@ -9983,7 +9983,7 @@ var ControlWrapper = function(param) {
|
|
|
9983
9983
|
hasControls && /* @__PURE__ */ jsxs("div", {
|
|
9984
9984
|
className: classes.controls,
|
|
9985
9985
|
children: [
|
|
9986
|
-
hasClearButton && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
9986
|
+
hasClearButton && /* @__PURE__ */ jsx("div", _object_spread_props$J(_object_spread$R({
|
|
9987
9987
|
className: clsx(classes.icon, classes.clearIcon, classes.activeIcon)
|
|
9988
9988
|
}, addClickHandler(onClear), addDataTestId(testId, "clear")), {
|
|
9989
9989
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -9993,7 +9993,7 @@ var ControlWrapper = function(param) {
|
|
|
9993
9993
|
})
|
|
9994
9994
|
})
|
|
9995
9995
|
})),
|
|
9996
|
-
hasEndIcon && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
9996
|
+
hasEndIcon && /* @__PURE__ */ jsx("div", _object_spread_props$J(_object_spread$R({
|
|
9997
9997
|
className: clsx(classes.icon, classes.endIcon, (_obj22 = {}, _define_property$T(_obj22, classes.activeIcon, !isDisabled && isNotEmpty(onIconClick)), _define_property$T(_obj22, classes.customIcon, !isString(icon)), _obj22))
|
|
9998
9998
|
}, addClickHandler(onIconClick, !isDisabled), addDataTestId(testId, "icon")), {
|
|
9999
9999
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -10001,7 +10001,7 @@ var ControlWrapper = function(param) {
|
|
|
10001
10001
|
children: renderIcon(icon)
|
|
10002
10002
|
})
|
|
10003
10003
|
})),
|
|
10004
|
-
isLoading && /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
10004
|
+
isLoading && /* @__PURE__ */ jsx("div", _object_spread_props$J(_object_spread$R({
|
|
10005
10005
|
className: clsx(classes.icon, classes.loader)
|
|
10006
10006
|
}, addDataTestId(testId, "loading")), {
|
|
10007
10007
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -10019,7 +10019,7 @@ var ControlWrapper = function(param) {
|
|
|
10019
10019
|
}));
|
|
10020
10020
|
};
|
|
10021
10021
|
var PADDING_WITH_UNITS = 8;
|
|
10022
|
-
var useStyles$
|
|
10022
|
+
var useStyles$G = createThemedStyles("Input", {
|
|
10023
10023
|
inputContent: {
|
|
10024
10024
|
height: "var(--control-height)",
|
|
10025
10025
|
padding: [
|
|
@@ -10191,7 +10191,7 @@ function _object_spread$Q(target) {
|
|
|
10191
10191
|
}
|
|
10192
10192
|
return target;
|
|
10193
10193
|
}
|
|
10194
|
-
function ownKeys$
|
|
10194
|
+
function ownKeys$I(object, enumerableOnly) {
|
|
10195
10195
|
var keys2 = Object.keys(object);
|
|
10196
10196
|
if (Object.getOwnPropertySymbols) {
|
|
10197
10197
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -10204,12 +10204,12 @@ function ownKeys$J(object, enumerableOnly) {
|
|
|
10204
10204
|
}
|
|
10205
10205
|
return keys2;
|
|
10206
10206
|
}
|
|
10207
|
-
function _object_spread_props$
|
|
10207
|
+
function _object_spread_props$I(target, source) {
|
|
10208
10208
|
source = source != null ? source : {};
|
|
10209
10209
|
if (Object.getOwnPropertyDescriptors) {
|
|
10210
10210
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10211
10211
|
} else {
|
|
10212
|
-
ownKeys$
|
|
10212
|
+
ownKeys$I(Object(source)).forEach(function(key) {
|
|
10213
10213
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10214
10214
|
});
|
|
10215
10215
|
}
|
|
@@ -10397,7 +10397,7 @@ var InputBase = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10397
10397
|
"shouldAlwaysShowPlaceholder",
|
|
10398
10398
|
"beforeMaskedStateChange"
|
|
10399
10399
|
]);
|
|
10400
|
-
var classes = useStyles$
|
|
10400
|
+
var classes = useStyles$G({
|
|
10401
10401
|
theme: tweakStyles
|
|
10402
10402
|
});
|
|
10403
10403
|
var tweakControlWrapperStyles = useTweakStyles({
|
|
@@ -10510,7 +10510,7 @@ var InputBase = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10510
10510
|
})
|
|
10511
10511
|
]
|
|
10512
10512
|
});
|
|
10513
|
-
return /* @__PURE__ */ jsx(ControlWrapper, _object_spread_props$
|
|
10513
|
+
return /* @__PURE__ */ jsx(ControlWrapper, _object_spread_props$I(_object_spread$Q({
|
|
10514
10514
|
label,
|
|
10515
10515
|
isDisabled,
|
|
10516
10516
|
isFocused: hasFocus,
|
|
@@ -10554,7 +10554,7 @@ function _object_spread$P(target) {
|
|
|
10554
10554
|
}
|
|
10555
10555
|
return target;
|
|
10556
10556
|
}
|
|
10557
|
-
function ownKeys$
|
|
10557
|
+
function ownKeys$H(object, enumerableOnly) {
|
|
10558
10558
|
var keys2 = Object.keys(object);
|
|
10559
10559
|
if (Object.getOwnPropertySymbols) {
|
|
10560
10560
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -10567,12 +10567,12 @@ function ownKeys$I(object, enumerableOnly) {
|
|
|
10567
10567
|
}
|
|
10568
10568
|
return keys2;
|
|
10569
10569
|
}
|
|
10570
|
-
function _object_spread_props$
|
|
10570
|
+
function _object_spread_props$H(target, source) {
|
|
10571
10571
|
source = source != null ? source : {};
|
|
10572
10572
|
if (Object.getOwnPropertyDescriptors) {
|
|
10573
10573
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10574
10574
|
} else {
|
|
10575
|
-
ownKeys$
|
|
10575
|
+
ownKeys$H(Object(source)).forEach(function(key) {
|
|
10576
10576
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10577
10577
|
});
|
|
10578
10578
|
}
|
|
@@ -10627,7 +10627,7 @@ var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10627
10627
|
infoMessage,
|
|
10628
10628
|
testId,
|
|
10629
10629
|
tweakStyles: tweakWithMessagesStyles,
|
|
10630
|
-
children: /* @__PURE__ */ jsx(InputBase, _object_spread_props$
|
|
10630
|
+
children: /* @__PURE__ */ jsx(InputBase, _object_spread_props$H(_object_spread$P({}, inputProps), {
|
|
10631
10631
|
ref,
|
|
10632
10632
|
testId,
|
|
10633
10633
|
tweakStyles,
|
|
@@ -10637,7 +10637,7 @@ var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10637
10637
|
});
|
|
10638
10638
|
var EMPTY_DATE_INPUT_VALUE = "__.__.____";
|
|
10639
10639
|
var EMPTY_DATE_RANGE_INPUT_VALUE = "".concat(EMPTY_DATE_INPUT_VALUE, " - ").concat(EMPTY_DATE_INPUT_VALUE);
|
|
10640
|
-
var useStyles$
|
|
10640
|
+
var useStyles$F = createThemedStyles("DateInput", {
|
|
10641
10641
|
root: {
|
|
10642
10642
|
width: "100%",
|
|
10643
10643
|
height: "100%",
|
|
@@ -10673,7 +10673,7 @@ function _object_spread$O(target) {
|
|
|
10673
10673
|
}
|
|
10674
10674
|
return target;
|
|
10675
10675
|
}
|
|
10676
|
-
function ownKeys$
|
|
10676
|
+
function ownKeys$G(object, enumerableOnly) {
|
|
10677
10677
|
var keys2 = Object.keys(object);
|
|
10678
10678
|
if (Object.getOwnPropertySymbols) {
|
|
10679
10679
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -10686,12 +10686,12 @@ function ownKeys$H(object, enumerableOnly) {
|
|
|
10686
10686
|
}
|
|
10687
10687
|
return keys2;
|
|
10688
10688
|
}
|
|
10689
|
-
function _object_spread_props$
|
|
10689
|
+
function _object_spread_props$G(target, source) {
|
|
10690
10690
|
source = source != null ? source : {};
|
|
10691
10691
|
if (Object.getOwnPropertyDescriptors) {
|
|
10692
10692
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10693
10693
|
} else {
|
|
10694
|
-
ownKeys$
|
|
10694
|
+
ownKeys$G(Object(source)).forEach(function(key) {
|
|
10695
10695
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10696
10696
|
});
|
|
10697
10697
|
}
|
|
@@ -10743,7 +10743,7 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10743
10743
|
"onClick",
|
|
10744
10744
|
"onChange"
|
|
10745
10745
|
]);
|
|
10746
|
-
var classes = useStyles$
|
|
10746
|
+
var classes = useStyles$F({
|
|
10747
10747
|
theme: tweakStyles
|
|
10748
10748
|
});
|
|
10749
10749
|
var tweakInputStyles = useTweakStyles({
|
|
@@ -10770,11 +10770,11 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10770
10770
|
}
|
|
10771
10771
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, value);
|
|
10772
10772
|
};
|
|
10773
|
-
return /* @__PURE__ */ jsx("div", _object_spread_props$
|
|
10773
|
+
return /* @__PURE__ */ jsx("div", _object_spread_props$G(_object_spread$O({
|
|
10774
10774
|
className: clsx(classes.root, className),
|
|
10775
10775
|
onClick
|
|
10776
10776
|
}, addDataAttributes(data)), {
|
|
10777
|
-
children: /* @__PURE__ */ jsx(Input, _object_spread_props$
|
|
10777
|
+
children: /* @__PURE__ */ jsx(Input, _object_spread_props$G(_object_spread$O({}, inputProps), {
|
|
10778
10778
|
ref,
|
|
10779
10779
|
value: isRange ? "".concat(startDate).concat(endDate) : date,
|
|
10780
10780
|
mask: mask !== null && mask !== void 0 ? mask : isRange ? "99.99.9999 - 99.99.9999" : "99.99.9999",
|
|
@@ -10786,33 +10786,21 @@ var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
|
|
|
10786
10786
|
}));
|
|
10787
10787
|
});
|
|
10788
10788
|
const reactDatepicker = "";
|
|
10789
|
-
var Z_INDEX$1 = dimensions.Z_INDEX;
|
|
10790
|
-
var useStyles$F = createThemedStyles("SearchInput", {
|
|
10791
|
-
root: {
|
|
10792
|
-
position: "relative"
|
|
10793
|
-
},
|
|
10794
|
-
icon: {
|
|
10795
|
-
display: "flex",
|
|
10796
|
-
alignItems: "center",
|
|
10797
|
-
position: "absolute",
|
|
10798
|
-
left: 12,
|
|
10799
|
-
height: "100%",
|
|
10800
|
-
width: 20,
|
|
10801
|
-
color: colors.GREY_ACTIVE,
|
|
10802
|
-
zIndex: Z_INDEX$1.CONTROL_FOCUS + 1
|
|
10803
|
-
}
|
|
10804
|
-
});
|
|
10805
10789
|
var inputStyles$4 = {
|
|
10806
10790
|
tweakControlWrapper: {
|
|
10807
|
-
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10791
|
+
endIcon: {
|
|
10792
|
+
position: "absolute",
|
|
10793
|
+
width: 40,
|
|
10794
|
+
left: 0,
|
|
10795
|
+
"&:last-child": {
|
|
10796
|
+
paddingRight: 0
|
|
10797
|
+
},
|
|
10798
|
+
"&:not($activeIcon)": {
|
|
10799
|
+
pointerEvents: "none"
|
|
10800
|
+
}
|
|
10812
10801
|
},
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
borderColor: colors.BORDER_MAIN
|
|
10802
|
+
controlWrapper: {
|
|
10803
|
+
borderColor: "transparent"
|
|
10816
10804
|
}
|
|
10817
10805
|
},
|
|
10818
10806
|
inputContent: {
|
|
@@ -10848,30 +10836,6 @@ function _object_spread$N(target) {
|
|
|
10848
10836
|
}
|
|
10849
10837
|
return target;
|
|
10850
10838
|
}
|
|
10851
|
-
function ownKeys$G(object, enumerableOnly) {
|
|
10852
|
-
var keys2 = Object.keys(object);
|
|
10853
|
-
if (Object.getOwnPropertySymbols) {
|
|
10854
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
10855
|
-
if (enumerableOnly) {
|
|
10856
|
-
symbols = symbols.filter(function(sym) {
|
|
10857
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
10858
|
-
});
|
|
10859
|
-
}
|
|
10860
|
-
keys2.push.apply(keys2, symbols);
|
|
10861
|
-
}
|
|
10862
|
-
return keys2;
|
|
10863
|
-
}
|
|
10864
|
-
function _object_spread_props$G(target, source) {
|
|
10865
|
-
source = source != null ? source : {};
|
|
10866
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
10867
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10868
|
-
} else {
|
|
10869
|
-
ownKeys$G(Object(source)).forEach(function(key) {
|
|
10870
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10871
|
-
});
|
|
10872
|
-
}
|
|
10873
|
-
return target;
|
|
10874
|
-
}
|
|
10875
10839
|
function _object_without_properties$f(source, excluded) {
|
|
10876
10840
|
if (source == null)
|
|
10877
10841
|
return {};
|
|
@@ -10905,42 +10869,30 @@ function _object_without_properties_loose$f(source, excluded) {
|
|
|
10905
10869
|
return target;
|
|
10906
10870
|
}
|
|
10907
10871
|
var SearchInput = function(_param) {
|
|
10908
|
-
var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable,
|
|
10872
|
+
var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, placeholder = _param.placeholder, value = _param.value, testId = _param.testId, tweakStyles = _param.tweakStyles;
|
|
10873
|
+
_param.data;
|
|
10874
|
+
var props = _object_without_properties$f(_param, [
|
|
10909
10875
|
"isClearable",
|
|
10910
|
-
"tweakStyles",
|
|
10911
10876
|
"placeholder",
|
|
10912
10877
|
"value",
|
|
10913
10878
|
"testId",
|
|
10879
|
+
"tweakStyles",
|
|
10914
10880
|
"data"
|
|
10915
10881
|
]);
|
|
10916
|
-
var classes = useStyles$F({
|
|
10917
|
-
theme: tweakStyles
|
|
10918
|
-
});
|
|
10919
10882
|
var tweakInputStyles = useTweakStyles({
|
|
10920
10883
|
innerStyles: inputStyles$4,
|
|
10921
10884
|
tweakStyles,
|
|
10922
10885
|
className: "tweakInput",
|
|
10923
10886
|
currentComponentName: "SearchInput"
|
|
10924
10887
|
});
|
|
10925
|
-
return /* @__PURE__ */
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
})
|
|
10934
|
-
}),
|
|
10935
|
-
/* @__PURE__ */ jsx(Input, _object_spread$N({
|
|
10936
|
-
value,
|
|
10937
|
-
placeholder,
|
|
10938
|
-
isClearable,
|
|
10939
|
-
testId: getTestId(testId, "input"),
|
|
10940
|
-
tweakStyles: tweakInputStyles
|
|
10941
|
-
}, props))
|
|
10942
|
-
]
|
|
10943
|
-
}));
|
|
10888
|
+
return /* @__PURE__ */ jsx(Input, _object_spread$N({
|
|
10889
|
+
value,
|
|
10890
|
+
placeholder,
|
|
10891
|
+
icon: "search",
|
|
10892
|
+
isClearable,
|
|
10893
|
+
testId: getTestId(testId, "input"),
|
|
10894
|
+
tweakStyles: tweakInputStyles
|
|
10895
|
+
}, props));
|
|
10944
10896
|
};
|
|
10945
10897
|
var ScrollIntoViewIfNeededDefaultElementType = "div";
|
|
10946
10898
|
var ScrollIntoViewIfNeededDefaultProps = {
|