oiu-core 0.1.6 → 0.1.7
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.
|
@@ -6345,7 +6345,7 @@ const Mw = "_overlay_1ol4o_1", Fw = "_dummy_1ol4o_7", Uf = {
|
|
|
6345
6345
|
return s ? t ? /* @__PURE__ */ be(Dw, { spin: n, skeleton: o, className: r, children: e || !s ? i : void 0 }) : /* @__PURE__ */ be(Qm, { spin: n, skeleton: o, className: r, children: e || !s ? i : void 0 }) : i;
|
|
6346
6346
|
});
|
|
6347
6347
|
rr.displayName = "Wait";
|
|
6348
|
-
function Dw({ className: e, spin: t, skeleton: r, children: n }) {
|
|
6348
|
+
function Dw({ className: e = "wait-overlay", spin: t, skeleton: r, children: n }) {
|
|
6349
6349
|
const o = Gn();
|
|
6350
6350
|
if (t && t.spinning) {
|
|
6351
6351
|
if (t.tip && typeof t.tip != "string") throw new Error("Only string is allowed when using translation");
|
|
@@ -19318,7 +19318,7 @@ function UR({ className: e, children: t, getPermissionFor: r, defaultAbility: n
|
|
|
19318
19318
|
var zv = /* @__PURE__ */ ((e) => (e[e.Always = 1] = "Always", e[e.Never = 2] = "Never", e[e.RedirectIfFails = 3] = "RedirectIfFails", e))(zv || {});
|
|
19319
19319
|
const WR = () => import(
|
|
19320
19320
|
/* @vite-ignore */
|
|
19321
|
-
"./index-
|
|
19321
|
+
"./index-CYZOcuqx.js"
|
|
19322
19322
|
);
|
|
19323
19323
|
async function GR(e, t, r) {
|
|
19324
19324
|
return (await WR()).default(e, t, r);
|
package/dist/main.js
CHANGED