@gisce/react-ooui 1.0.24 → 1.0.25-rc.0
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/react-ooui.es.js +3 -3
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +2 -2
- package/dist/react-ooui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/stories/mocks/models/cups.ts +5 -8
- package/src/widgets/base/Integer.tsx +1 -1
- package/src/widgets/base/many2one/Many2one.tsx +2 -2
package/dist/react-ooui.es.js
CHANGED
|
@@ -17491,7 +17491,7 @@ const Form$1 = forwardRef(Form), FormModal = (e) => {
|
|
|
17491
17491
|
id: r,
|
|
17492
17492
|
className: "w-full " + s,
|
|
17493
17493
|
disabled: o,
|
|
17494
|
-
formatter: (u) => `${u}`.replace(/[^0-9]
|
|
17494
|
+
formatter: (u) => `${u}`.replace(/[^0-9]-+/g, ""),
|
|
17495
17495
|
onChange: (u) => {
|
|
17496
17496
|
const d = u;
|
|
17497
17497
|
n == null || n(d);
|
|
@@ -18806,9 +18806,9 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
|
|
|
18806
18806
|
getContext: k,
|
|
18807
18807
|
setOriginalValue: $,
|
|
18808
18808
|
elementHasLostFocus: B
|
|
18809
|
-
} = F || {}, P = useRef([]), [D, j] = useState([]), U = t && t[0], L = t && t[1] || "";
|
|
18809
|
+
} = F || {}, P = useRef([]), [D, j] = useState([]), U = t && t[0] || void 0, L = t && t[1] || "";
|
|
18810
18810
|
useEffect(() => {
|
|
18811
|
-
!Array.isArray(t) &&
|
|
18811
|
+
!Array.isArray(t) && t && K(t);
|
|
18812
18812
|
}, [t]), useEffect(() => {
|
|
18813
18813
|
U && L.length === 0 ? K(U) : U && L.length > 0 ? w(L) : !U && !L && w(O.current || "");
|
|
18814
18814
|
}, [t]);
|