@abdellatifui/react 3.2.55 → 3.2.56
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/nextgen.d.ts +0 -1
- package/dist/nextgen.js +8 -11
- package/package.json +1 -1
package/dist/nextgen.d.ts
CHANGED
package/dist/nextgen.js
CHANGED
|
@@ -19268,25 +19268,22 @@ const Rd = An({}), QS = (e) => {
|
|
|
19268
19268
|
onClose: u = () => {
|
|
19269
19269
|
},
|
|
19270
19270
|
defaultOpen: f = !1,
|
|
19271
|
-
disabled: p = !1
|
|
19272
|
-
|
|
19273
|
-
|
|
19274
|
-
|
|
19275
|
-
|
|
19276
|
-
x && (l(k), setTimeout(() => {
|
|
19277
|
-
S(s);
|
|
19278
|
-
}, m)), x || (u(k), S(null)), h((v) => ({ ...v, ...k }));
|
|
19271
|
+
disabled: p = !1
|
|
19272
|
+
} = e, { updateApi: m, options: h } = De(Rd), g = lt(5, !0, !1);
|
|
19273
|
+
function d() {
|
|
19274
|
+
const b = t.current.dataset.state != "open", S = { ...e, open: b, ref: t, refTrigger: r };
|
|
19275
|
+
b && l(S), b || u(S), m((w) => ({ ...w, ...S }));
|
|
19279
19276
|
}
|
|
19280
19277
|
return q(() => {
|
|
19281
19278
|
f && r?.current && setTimeout(() => {
|
|
19282
19279
|
pe(r.current).click();
|
|
19283
19280
|
}, 100);
|
|
19284
|
-
}, [f]), /* @__PURE__ */ c.jsxs(ea, { ref: t, id:
|
|
19281
|
+
}, [f]), /* @__PURE__ */ c.jsxs(ea, { ref: t, id: g, onClick: d, className: H(Bw({
|
|
19285
19282
|
disabled: p,
|
|
19286
|
-
border:
|
|
19283
|
+
border: h.border
|
|
19287
19284
|
}), a), disabled: p, value: o, children: [
|
|
19288
19285
|
/* @__PURE__ */ c.jsx(ta, { ref: r, children: i }),
|
|
19289
|
-
/* @__PURE__ */ c.jsx(na, { children:
|
|
19286
|
+
/* @__PURE__ */ c.jsx(na, { children: s })
|
|
19290
19287
|
] }, n);
|
|
19291
19288
|
}, Od = ge((e, n) => {
|
|
19292
19289
|
const [t, r] = $(/* @__PURE__ */ c.jsx(Ca, { size: 16 })), { value: o, restoreSec: s, outline: i = !0, className: a = "" } = e;
|