pgo-ui 1.1.174 → 1.1.176
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/Radio-DbAeFLOh.js +4 -0
- package/dist/{index-D6OdHTWK.js → index-D28GwVQc.js} +5 -5
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
- package/src/PgoApp.vue +2 -2
- package/src/components/examples/AppBarExample.vue +1 -1
- package/src/components/examples/NavDrawerExample.vue +1 -1
- package/src/pgo-components/lib/core/fontSize/setFontScale.ts +1 -1
- package/src/pgo-components/lib/core/rtl/setRtl.ts +1 -1
- package/dist/Radio-HdNVmjDn.js +0 -4
|
@@ -923,7 +923,7 @@ const Hx = {
|
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
925
|
function Xr(n) {
|
|
926
|
-
Ft.value = n, localStorage.setItem("rtlSetting", JSON.stringify(n)), typeof document < "u" && (document.documentElement.setAttribute("dir", n == !1 ? "ltr" : "rtl"), document.documentElement.setAttribute("lang", n == !1 ? "en" : "dv"), n ? document.documentElement.classList.add("rtl-font") : document.documentElement.classList.remove("rtl-font"));
|
|
926
|
+
Ft.value = n, typeof window < "u" && localStorage.setItem("rtlSetting", JSON.stringify(n)), typeof document < "u" && (document.documentElement.setAttribute("dir", n == !1 ? "ltr" : "rtl"), document.documentElement.setAttribute("lang", n == !1 ? "en" : "dv"), n ? document.documentElement.classList.add("rtl-font") : document.documentElement.classList.remove("rtl-font"));
|
|
927
927
|
}
|
|
928
928
|
const Vx = {
|
|
929
929
|
install(n) {
|
|
@@ -3092,7 +3092,7 @@ function Pw(n) {
|
|
|
3092
3092
|
Qu.value = n;
|
|
3093
3093
|
}
|
|
3094
3094
|
function vc(n) {
|
|
3095
|
-
mc.value = n, localStorage.setItem(Mw, String(n)), typeof document < "u" && (Qu.value === "app" ? document.documentElement.style.fontSize = `${n}%` : document.documentElement.style.fontSize = "");
|
|
3095
|
+
mc.value = n, typeof window < "u" && localStorage.setItem(Mw, String(n)), typeof document < "u" && (Qu.value === "app" ? document.documentElement.style.fontSize = `${n}%` : document.documentElement.style.fontSize = "");
|
|
3096
3096
|
}
|
|
3097
3097
|
function Lw() {
|
|
3098
3098
|
const n = Mr.indexOf(mc.value);
|
|
@@ -18733,7 +18733,7 @@ const Ti = [
|
|
|
18733
18733
|
return Array.isArray(_) && _.length > 0;
|
|
18734
18734
|
})), ye = I(() => {
|
|
18735
18735
|
const z = {}, _ = new Set(g.form.fields.map((Q) => Q.inputType?.toLowerCase()));
|
|
18736
|
-
return (_.has("search") || _.has("inputsearch")) && (z.search = tt(() => Promise.resolve().then(() => op)), z.inputsearch = tt(() => Promise.resolve().then(() => op))), _.has("select") && (z.select = tt(() => Promise.resolve().then(() => lf))), _.has("textarea") && (z.textarea = tt(() => Promise.resolve().then(() => hv))), (_.has("textfield") || _.has("text") || _.has("string")) && (z.textfield = tt(() => Promise.resolve().then(() => Ja)), z.text = tt(() => Promise.resolve().then(() => Ja)), z.string = tt(() => Promise.resolve().then(() => Ja))), (_.has("datepicker") || _.has("date")) && (z.datepicker = tt(() => Promise.resolve().then(() => Qi)), z.date = tt(() => Promise.resolve().then(() => Qi))), _.has("chipgroup") && (z.chipgroup = tt(() => Promise.resolve().then(() => Vm))), _.has("checkbox") && (z.checkbox = tt(() => Promise.resolve().then(() => HC))), _.has("radio") && (z.radio = tt(() => import("./Radio-
|
|
18736
|
+
return (_.has("search") || _.has("inputsearch")) && (z.search = tt(() => Promise.resolve().then(() => op)), z.inputsearch = tt(() => Promise.resolve().then(() => op))), _.has("select") && (z.select = tt(() => Promise.resolve().then(() => lf))), _.has("textarea") && (z.textarea = tt(() => Promise.resolve().then(() => hv))), (_.has("textfield") || _.has("text") || _.has("string")) && (z.textfield = tt(() => Promise.resolve().then(() => Ja)), z.text = tt(() => Promise.resolve().then(() => Ja)), z.string = tt(() => Promise.resolve().then(() => Ja))), (_.has("datepicker") || _.has("date")) && (z.datepicker = tt(() => Promise.resolve().then(() => Qi)), z.date = tt(() => Promise.resolve().then(() => Qi))), _.has("chipgroup") && (z.chipgroup = tt(() => Promise.resolve().then(() => Vm))), _.has("checkbox") && (z.checkbox = tt(() => Promise.resolve().then(() => HC))), _.has("radio") && (z.radio = tt(() => import("./Radio-DbAeFLOh.js"))), (_.has("numberfield") || _.has("number")) && (z.numberfield = tt(() => Promise.resolve().then(() => Ki)), z.number = tt(() => Promise.resolve().then(() => Ki))), (_.has("file") || _.has("filefield")) && (z.file = tt(() => Promise.resolve().then(() => tp)), z.filefield = tt(() => Promise.resolve().then(() => tp))), (_.has("label") || _.has("labelfield")) && (z.label = tt(() => Promise.resolve().then(() => np)), z.labelfield = tt(() => Promise.resolve().then(() => np))), z;
|
|
18737
18737
|
}), V = (z) => {
|
|
18738
18738
|
const _ = z?.toLowerCase() || "textfield";
|
|
18739
18739
|
return ye.value[_] || ye.value.textfield;
|
|
@@ -48351,7 +48351,7 @@ const Oo = {
|
|
|
48351
48351
|
setup(n) {
|
|
48352
48352
|
const e = He("setRtl"), { t, setLanguage: s, language: a } = He("i18n"), i = R(!0);
|
|
48353
48353
|
return Ke(() => {
|
|
48354
|
-
const r = localStorage.getItem("rtlSetting");
|
|
48354
|
+
const r = typeof window < "u" ? localStorage.getItem("rtlSetting") : null;
|
|
48355
48355
|
r !== null ? i.value = r === "true" : i.value = globalRtl.value, console.log("Initial RTL setting on mount:", i.value);
|
|
48356
48356
|
}), Ie(i, (r) => {
|
|
48357
48357
|
e(r), i.value == !0 ? s("dv") : s("en");
|
|
@@ -64183,7 +64183,7 @@ const O5 = /* @__PURE__ */ xt(P5, [["render", L5]]), B5 = { class: "space-y-3" }
|
|
|
64183
64183
|
{ id: 4, label: "ސެޓިންގްސް", href: "#/settings", group: "އެޑްމިން" }
|
|
64184
64184
|
]);
|
|
64185
64185
|
return Ke(() => {
|
|
64186
|
-
const h = localStorage.getItem("rtlSetting");
|
|
64186
|
+
const h = typeof window < "u" ? localStorage.getItem("rtlSetting") : null;
|
|
64187
64187
|
h !== null ? (o.value = h === "true" ? "right" : "left", console.log("Loaded saved RTL setting:", h)) : (o.value = Ft.value ? "right" : "left", console.log("No saved RTL setting, using globalRtl:", Ft.value));
|
|
64188
64188
|
}), Ie(Ft, () => {
|
|
64189
64189
|
Ft.value ? o.value = "right" : o.value = "left";
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, A as t, B as i, b as r, c as n, d as l, e as c, f as p, g as d, C as m, h as S, i as u, j as C, k as F, l as b, m as g, D as h, n as T, o as w, p as D, q as x, r as B, s as M, t as R, E as v, u as P, v as f, w as y, x as z, y as I, z as E, F as L, L as V, G as k, H as A, I as N, M as G, J as O, N as Y, K as j, O as q, P as H, Q as K, R as U, S as _, T as J, U as Q, V as W, W as X, X as Z, Y as $, Z as aa, $ as sa, a0 as ea, a1 as oa, a2 as ta, a3 as ia, a4 as ra, a5 as na, a6 as la, a7 as ca, a8 as pa, a9 as da, aa as ma, ab as Sa, ac as ua, ad as Ca, ae as Fa, af as ba, ag as ga, ah as ha, ai as Ta, aj as wa, ak as Da, al as xa, am as Ba, an as Ma, ao as Ra, ap as va, aq as Pa, ar as fa, as as ya, at as za, au as Ia, av as Ea, aw as La, ax as Va, ay as ka, az as Aa } from "./index-
|
|
1
|
+
import { a as o, A as t, B as i, b as r, c as n, d as l, e as c, f as p, g as d, C as m, h as S, i as u, j as C, k as F, l as b, m as g, D as h, n as T, o as w, p as D, q as x, r as B, s as M, t as R, E as v, u as P, v as f, w as y, x as z, y as I, z as E, F as L, L as V, G as k, H as A, I as N, M as G, J as O, N as Y, K as j, O as q, P as H, Q as K, R as U, S as _, T as J, U as Q, V as W, W as X, X as Z, Y as $, Z as aa, $ as sa, a0 as ea, a1 as oa, a2 as ta, a3 as ia, a4 as ra, a5 as na, a6 as la, a7 as ca, a8 as pa, a9 as da, aa as ma, ab as Sa, ac as ua, ad as Ca, ae as Fa, af as ba, ag as ga, ah as ha, ai as Ta, aj as wa, ak as Da, al as xa, am as Ba, an as Ma, ao as Ra, ap as va, aq as Pa, ar as fa, as as ya, at as za, au as Ia, av as Ea, aw as La, ax as Va, ay as ka, az as Aa } from "./index-D28GwVQc.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
o as AppBar,
|