@oliasoft-open-source/react-ui-library 4.0.0-beta-24 → 4.0.0-beta-26
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/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29024,7 +29024,7 @@ const reducer = (state, action2) => {
|
|
|
29024
29024
|
}
|
|
29025
29025
|
case "ON_CHANGE_SEARCH": {
|
|
29026
29026
|
let visibleOptions = action2.options.filter(
|
|
29027
|
-
(o) => String(o.label).toLowerCase().includes(String(action2.value).toLowerCase())
|
|
29027
|
+
(o) => (String(o.label) + (o.details ? String(o.details) : "")).toLowerCase().includes(String(action2.value).toLowerCase())
|
|
29028
29028
|
);
|
|
29029
29029
|
if (action2.createAble && action2.value !== "") {
|
|
29030
29030
|
visibleOptions = visibleOptions.concat({
|
|
@@ -59716,7 +59716,9 @@ const NumberInput = ({
|
|
|
59716
59716
|
const onSetValue = (evt) => {
|
|
59717
59717
|
const input2 = evt.target;
|
|
59718
59718
|
const { value: value2 } = input2;
|
|
59719
|
-
const inputValue = cleanNumStr(
|
|
59719
|
+
const inputValue = cleanNumStr(
|
|
59720
|
+
value2.replaceAll(" ", "").replaceAll("|", "")
|
|
59721
|
+
);
|
|
59720
59722
|
const { valid, errors } = validateInputValue(inputValue);
|
|
59721
59723
|
if (valid) {
|
|
59722
59724
|
onChange({
|
|
@@ -74493,10 +74495,13 @@ const TreeItem = ({
|
|
|
74493
74495
|
item: data
|
|
74494
74496
|
}),
|
|
74495
74497
|
/* @__PURE__ */ jsxRuntime.exports.jsx("div", {
|
|
74496
|
-
className: listStyles.
|
|
74497
|
-
children: /* @__PURE__ */ jsxRuntime.exports.jsx(
|
|
74498
|
-
|
|
74499
|
-
|
|
74498
|
+
className: listStyles.right,
|
|
74499
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsx("div", {
|
|
74500
|
+
className: listStyles.actions,
|
|
74501
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsx(Actions, {
|
|
74502
|
+
actions: actions2,
|
|
74503
|
+
right: true
|
|
74504
|
+
})
|
|
74500
74505
|
})
|
|
74501
74506
|
})
|
|
74502
74507
|
]
|