oiu-core 0.0.26 → 0.0.27
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ErrorCode/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAiB,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI1E,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;CACpB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ErrorCode/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAiB,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI1E,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;CACpB,CAAC;AACF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,cAAc,UAQvD;yBARe,SAAS;sBAiBA,SAAS,QAAQ,MAAM,UAAU,UAAU,CAAC,QAAQ,CAAC,WAAW,OAAO,EAAE"}
|
|
@@ -6997,11 +6997,12 @@ const $p = {
|
|
|
6997
6997
|
}), xc = (e) => e[Dc];
|
|
6998
6998
|
function ui({ code: e, args: t }) {
|
|
6999
6999
|
const r = tr(), n = Re((i) => xc(i).errors), o = ui.text(r, e, n, t);
|
|
7000
|
-
return t ? Qo(o, t) : o;
|
|
7000
|
+
return t && o ? Qo(o, t) : o;
|
|
7001
7001
|
}
|
|
7002
7002
|
ui.text = (e, t, r, ...n) => {
|
|
7003
7003
|
const o = r[t];
|
|
7004
|
-
|
|
7004
|
+
if (o)
|
|
7005
|
+
return n && n.length !== 0 ? Qo(o, ...n) : o;
|
|
7005
7006
|
};
|
|
7006
7007
|
const _m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7007
7008
|
__proto__: null,
|
|
@@ -7039,7 +7040,7 @@ function Hp({ className: e, children: t, getPermissionFor: r, defaultAbility: n
|
|
|
7039
7040
|
var Fc = /* @__PURE__ */ ((e) => (e[e.Always = 1] = "Always", e[e.Never = 2] = "Never", e[e.RedirectIfFails = 3] = "RedirectIfFails", e))(Fc || {});
|
|
7040
7041
|
const kp = () => import(
|
|
7041
7042
|
/* @vite-ignore */
|
|
7042
|
-
"./index-
|
|
7043
|
+
"./index-DZ3rREg7.js"
|
|
7043
7044
|
);
|
|
7044
7045
|
async function Up(e, t, r) {
|
|
7045
7046
|
return (await kp()).default(e, t, r);
|
package/dist/main.js
CHANGED