@diasro/ucsd-its-frontend 0.1.5 → 0.1.6

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/main.css CHANGED
@@ -8,11 +8,6 @@
8
8
  font-size: 14px;
9
9
  font-weight: bold;
10
10
  }
11
- .app-bar-bg {
12
- background-image: url("./assets/light_dock_bg.jpg");
13
- background-size: cover;
14
- background-position: center;
15
- }
16
11
  .light.dock-window {
17
12
  width: 100%;
18
13
  position: relative;
@@ -123,11 +123,11 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
123
123
  meta: R.meta
124
124
  })), H = (R) => {
125
125
  const re = /* @__PURE__ */ new Map(), me = /* @__PURE__ */ new Map();
126
- return R.forEach((he) => {
127
- const Le = he.meta?.roles || [];
128
- re.set(he.path, Le);
129
- const gt = he.meta?.requiresAuth || !1;
130
- me.set(he.path, gt);
126
+ return R.forEach((ye) => {
127
+ const je = ye.meta?.roles || [];
128
+ re.set(ye.path, je);
129
+ const gt = ye.meta?.requiresAuth || !1;
130
+ me.set(ye.path, gt);
131
131
  }), { rolesMap: re, authMap: me };
132
132
  }, G = () => {
133
133
  i.value !== "Default" && typeof e?.menus < "u" && typeof t.value < "u" && (t.value.children = e.menus, c.value = [t.value, ...e.menus]), i.value === "Floating" && an(!0);
@@ -138,21 +138,21 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
138
138
  return R;
139
139
  if (R.children && R.children.length > 0)
140
140
  for (let me of R.children) {
141
- const he = F(me, re);
142
- if (he)
143
- return he;
141
+ const ye = F(me, re);
142
+ if (ye)
143
+ return ye;
144
144
  }
145
145
  return {};
146
146
  }, M = () => {
147
147
  G();
148
148
  }, N = (R, re, me) => {
149
- for (let he = c.value.length - 1; he >= 0; he--) {
150
- let Le = !1;
151
- if (typeof c.value[he].hide < "u" && c.value[he].hide && (Le = !0), !Le && re) {
152
- const gt = re.get(c.value[he].link);
153
- gt && gt.length > 0 && !R.some((kn) => gt.includes(kn)) && (Le = !0);
149
+ for (let ye = c.value.length - 1; ye >= 0; ye--) {
150
+ let je = !1;
151
+ if (typeof c.value[ye].hide < "u" && c.value[ye].hide && (je = !0), !je && re) {
152
+ const gt = re.get(c.value[ye].link);
153
+ gt && gt.length > 0 && !R.some((kn) => gt.includes(kn)) && (je = !0);
154
154
  }
155
- !Le && me && me.get(c.value[he].link) && !Pe().isAuthenticated() && (Le = !0), Le && c.value.splice(he, 1);
155
+ !je && me && me.get(c.value[ye].link) && !Pe().isAuthenticated() && (je = !0), je && c.value.splice(ye, 1);
156
156
  }
157
157
  }, W = () => {
158
158
  const R = Pe().getRoleAssignedToUser(), { rolesMap: re, authMap: me } = H(Y);
@@ -162,13 +162,13 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
162
162
  j(!1, "", 100), Pe().setUserDetails(R.user), pt(i.value ?? "Default"), W();
163
163
  const re = R.menuValue ? R.menuValue : "0-0", me = F(t.value, re);
164
164
  Object.keys(me).length > 0 && Gt(me), Object.keys(me).length > 0 && Gt(me);
165
- const he = Pe().preAuthRoute;
166
- if (he) {
167
- console.log("preAuthRoute", he), V.push(he);
165
+ const ye = Pe().preAuthRoute;
166
+ if (ye) {
167
+ V.push(ye);
168
168
  return;
169
169
  }
170
- const Le = R.routeData ? R.routeData : null;
171
- console.log("pushRoute", Le), Le ? V.push(Le) : V.push("/");
170
+ const je = R.routeData ? R.routeData : null;
171
+ je ? V.push(je) : V.push("/");
172
172
  }).catch((R) => {
173
173
  console.error(R), ea().handleApiError(R);
174
174
  }));
@@ -190,8 +190,8 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
190
190
  d.value = R;
191
191
  }, pt = (R) => {
192
192
  R === "Default" && typeof e?.menus < "u" ? c.value = [...e.menus] : typeof e?.menus < "u" && typeof t.value < "u" && (t.value.children = e.menus, c.value = [t.value, ...e.menus]);
193
- const re = Pe().getRoleAssignedToUser(), { rolesMap: me, authMap: he } = H(Y);
194
- N(re, me, he), i.value = R;
193
+ const re = Pe().getRoleAssignedToUser(), { rolesMap: me, authMap: ye } = H(Y);
194
+ N(re, me, ye), i.value = R;
195
195
  }, Ot = (R) => {
196
196
  u.value = R;
197
197
  }, X = (R) => {
@@ -214,8 +214,8 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
214
214
  }));
215
215
  }
216
216
  re.push(R), R.children && R.children.forEach((zt) => re.push(zt)), c.value = re, c.value.findIndex((zt) => zt.key === "0-0") === -1 && c.value.unshift(t.value);
217
- const Le = Pe().getRoleAssignedToUser(), { rolesMap: gt, authMap: kn } = H(Y);
218
- N(Le, gt, kn);
217
+ const je = Pe().getRoleAssignedToUser(), { rolesMap: gt, authMap: kn } = H(Y);
218
+ N(je, gt, kn);
219
219
  };
220
220
  return {
221
221
  currentTheme: l,
@@ -384,7 +384,7 @@ const oe = D({
384
384
  type: [String, Array, Object],
385
385
  default: null
386
386
  }
387
- }, "component"), je = typeof window < "u", ko = je && "IntersectionObserver" in window, rs = je && "matchMedia" in window && typeof window.matchMedia == "function", ba = () => rs && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
387
+ }, "component"), Le = typeof window < "u", ko = Le && "IntersectionObserver" in window, rs = Le && "matchMedia" in window && typeof window.matchMedia == "function", ba = () => rs && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
388
388
  function ti(e, t, n) {
389
389
  ss(e, t), t.set(e, n);
390
390
  }
@@ -613,7 +613,7 @@ function Nn(e, t) {
613
613
  }
614
614
  }
615
615
  function gs(e, t) {
616
- if (!(je && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports(`selector(${t})`))) return null;
616
+ if (!(Le && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports(`selector(${t})`))) return null;
617
617
  try {
618
618
  return !!e && e.matches(t);
619
619
  } catch {
@@ -621,7 +621,7 @@ function gs(e, t) {
621
621
  }
622
622
  }
623
623
  function ms(e, t) {
624
- if (!je || e === 0)
624
+ if (!Le || e === 0)
625
625
  return t(), () => {
626
626
  };
627
627
  const n = window.setTimeout(t, e);
@@ -2223,7 +2223,7 @@ function la(e) {
2223
2223
  function No(e) {
2224
2224
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
2225
2225
  const n = eo(), a = L();
2226
- if (je) {
2226
+ if (Le) {
2227
2227
  const o = new ResizeObserver((i) => {
2228
2228
  e?.(i, o), i.length && (t === "content" ? a.value = i[0].contentRect : a.value = i[0].target.getBoundingClientRect());
2229
2229
  });
@@ -2550,7 +2550,7 @@ const Bo = D({
2550
2550
  let Ua = !1;
2551
2551
  function du(e, t) {
2552
2552
  let n = !1, a, o;
2553
- je && e?.beforeEach && (Ye(() => {
2553
+ Le && e?.beforeEach && (Ye(() => {
2554
2554
  window.addEventListener("popstate", i), a = e.beforeEach((l, r, s) => {
2555
2555
  Ua ? n ? t(s) : s() : setTimeout(() => n ? t(s) : s()), Ua = !0;
2556
2556
  }), o = e?.afterEach(() => {
@@ -3252,7 +3252,7 @@ const ir = {
3252
3252
  }, "VOverlay-location-strategies");
3253
3253
  function Du(e, t) {
3254
3254
  const n = L({}), a = L();
3255
- je && ut(() => !!(t.isActive.value && e.locationStrategy), (r) => {
3255
+ Le && ut(() => !!(t.isActive.value && e.locationStrategy), (r) => {
3256
3256
  ee(() => e.locationStrategy, r), $e(() => {
3257
3257
  window.removeEventListener("resize", o), visualViewport?.removeEventListener("resize", i), visualViewport?.removeEventListener("scroll", l), a.value = void 0;
3258
3258
  }), window.addEventListener("resize", o, {
@@ -3516,7 +3516,7 @@ const lr = {
3516
3516
  }
3517
3517
  }, "VOverlay-scroll-strategies");
3518
3518
  function Zu(e, t) {
3519
- if (!je) return;
3519
+ if (!Le) return;
3520
3520
  let n;
3521
3521
  ct(async () => {
3522
3522
  n?.stop(), t.isActive.value && e.scrollStrategy && (n = Ao(), await new Promise((a) => setTimeout(a)), n.active && n.run(() => {
@@ -3702,7 +3702,7 @@ function zu(e, t) {
3702
3702
  const I = eo(), V = k(() => e.target === "cursor" && g.value ? g.value : I.value ? I.el : sr(e.target, i) || l.value), x = k(() => Array.isArray(V.value) ? void 0 : V.value);
3703
3703
  let P;
3704
3704
  return ee(() => !!e.activator, (w) => {
3705
- w && je ? (P = Ao(), P.run(() => {
3705
+ w && Le ? (P = Ao(), P.run(() => {
3706
3706
  Uu(e, i, {
3707
3707
  activatorEl: l,
3708
3708
  activatorEvents: b
@@ -3768,7 +3768,7 @@ function sr(e, t) {
3768
3768
  return n;
3769
3769
  }
3770
3770
  function Xu() {
3771
- if (!je) return _(!1);
3771
+ if (!Le) return _(!1);
3772
3772
  const {
3773
3773
  ssr: e
3774
3774
  } = Jl();
@@ -3838,7 +3838,7 @@ function _u(e) {
3838
3838
  return {
3839
3839
  teleportTarget: k(() => {
3840
3840
  const n = e();
3841
- if (n === !0 || !je) return;
3841
+ if (n === !0 || !Le) return;
3842
3842
  const a = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n;
3843
3843
  if (a == null) {
3844
3844
  xa(`Unable to locate target ${n}`);
@@ -4041,12 +4041,12 @@ const ja = D({
4041
4041
  return c.value && C.value && // If using scrim, only close if clicking on it rather than anything opened on top
4042
4042
  (!e.scrim || X.target === r.value || X instanceof MouseEvent && X.shadowTarget === r.value);
4043
4043
  }
4044
- je && ee(c, (X) => {
4044
+ Le && ee(c, (X) => {
4045
4045
  X ? window.addEventListener("keydown", z) : window.removeEventListener("keydown", z);
4046
4046
  }, {
4047
4047
  immediate: !0
4048
4048
  }), qe(() => {
4049
- je && window.removeEventListener("keydown", z);
4049
+ Le && window.removeEventListener("keydown", z);
4050
4050
  });
4051
4051
  function z(X) {
4052
4052
  X.key === "Escape" && C.value && (s.value?.contains(document.activeElement) || o("keydown", X), e.persistent ? xe() : (c.value = !1, s.value?.contains(document.activeElement) && I.value?.focus()));
@@ -6795,9 +6795,9 @@ const _c = D({
6795
6795
  !s.value.contentEl.contains(V) && (f ? (!e.openOnHover || !s.value.activatorEl?.contains(V)) && (a.value = !1) : (Bn(s.value.contentEl)[0]?.focus(), document.removeEventListener("pointerdown", v)));
6796
6796
  }
6797
6797
  ee(a, (y) => {
6798
- y ? (u?.register(), je && !e.disableInitialFocus && (document.addEventListener("pointerdown", v), document.addEventListener("focusin", g, {
6798
+ y ? (u?.register(), Le && !e.disableInitialFocus && (document.addEventListener("pointerdown", v), document.addEventListener("focusin", g, {
6799
6799
  once: !0
6800
- }))) : (u?.unregister(), je && (clearTimeout(d), document.removeEventListener("pointerdown", v), document.removeEventListener("focusin", g)));
6800
+ }))) : (u?.unregister(), Le && (clearTimeout(d), document.removeEventListener("pointerdown", v), document.removeEventListener("focusin", g)));
6801
6801
  }, {
6802
6802
  immediate: !0
6803
6803
  });
@@ -7565,7 +7565,7 @@ const _c = D({
7565
7565
  }
7566
7566
  qe(() => {
7567
7567
  document.removeEventListener("focusin", r), document.removeEventListener("keydown", s);
7568
- }), je && ee(() => o.value && e.retainFocus, (f) => {
7568
+ }), Le && ee(() => o.value && e.retainFocus, (f) => {
7569
7569
  f ? (document.addEventListener("focusin", r, {
7570
7570
  once: !0
7571
7571
  }), document.addEventListener("keydown", s)) : (document.removeEventListener("focusin", r), document.removeEventListener("keydown", s));
@@ -8580,7 +8580,7 @@ function bn(e) {
8580
8580
  function Qo(e) {
8581
8581
  return !!(e && e.constructor && e.call && e.apply);
8582
8582
  }
8583
- function ye(e) {
8583
+ function he(e) {
8584
8584
  return !bn(e);
8585
8585
  }
8586
8586
  function Mt(e, t = !0) {
@@ -8603,7 +8603,7 @@ function Wa(e, t = !0) {
8603
8603
  return Array.isArray(e) && (t || e.length !== 0);
8604
8604
  }
8605
8605
  function Nd(e) {
8606
- return ye(e) && !isNaN(e);
8606
+ return he(e) && !isNaN(e);
8607
8607
  }
8608
8608
  function It(e, t) {
8609
8609
  if (t) {
@@ -8689,7 +8689,7 @@ function Zr(e, t = "", n = "", a = [], o) {
8689
8689
  if (It(l, i)) {
8690
8690
  const r = l.replaceAll(i, (c) => {
8691
8691
  const d = c.replace(/{|}/g, "").split(".").filter((v) => !a.some((g) => It(v, g)));
8692
- return `var(${Mr(n, Lr(d.join("-")))}${ye(o) ? `, ${o}` : ""})`;
8692
+ return `var(${Mr(n, Lr(d.join("-")))}${he(o) ? `, ${o}` : ""})`;
8693
8693
  }), s = /(\d+\s+[\+\-\*\/]\s+\d+)/g, u = /var\([^)]+\)/g;
8694
8694
  return It(r.replace(u, "0"), s) ? `calc(${r})` : r;
8695
8695
  }
@@ -8778,13 +8778,13 @@ var ot = {
8778
8778
  var i, l, r, s, u, c, f;
8779
8779
  const { preset: d, options: v } = t;
8780
8780
  let g, h, b, C, p, y, I;
8781
- if (ye(d) && v.transform !== "strict") {
8782
- const { primitive: V, semantic: x, extend: P } = d, w = x || {}, { colorScheme: j } = w, Y = Ct(w, ["colorScheme"]), H = P || {}, { colorScheme: G } = H, F = Ct(H, ["colorScheme"]), M = j || {}, { dark: N } = M, W = Ct(M, ["dark"]), J = G || {}, { dark: te } = J, ge = Ct(J, ["dark"]), z = ye(V) ? this._toVariables({ primitive: V }, v) : {}, de = ye(Y) ? this._toVariables({ semantic: Y }, v) : {}, Ne = ye(W) ? this._toVariables({ light: W }, v) : {}, De = ye(N) ? this._toVariables({ dark: N }, v) : {}, xe = ye(F) ? this._toVariables({ semantic: F }, v) : {}, pt = ye(ge) ? this._toVariables({ light: ge }, v) : {}, Ot = ye(te) ? this._toVariables({ dark: te }, v) : {}, [X, He] = [(i = z.declarations) != null ? i : "", z.tokens], [an, Yt] = [(l = de.declarations) != null ? l : "", de.tokens || []], [Gt, In] = [(r = Ne.declarations) != null ? r : "", Ne.tokens || []], [on, $o] = [(s = De.declarations) != null ? s : "", De.tokens || []], [R, re] = [(u = xe.declarations) != null ? u : "", xe.tokens || []], [me, he] = [(c = pt.declarations) != null ? c : "", pt.tokens || []], [Le, gt] = [(f = Ot.declarations) != null ? f : "", Ot.tokens || []];
8781
+ if (he(d) && v.transform !== "strict") {
8782
+ const { primitive: V, semantic: x, extend: P } = d, w = x || {}, { colorScheme: j } = w, Y = Ct(w, ["colorScheme"]), H = P || {}, { colorScheme: G } = H, F = Ct(H, ["colorScheme"]), M = j || {}, { dark: N } = M, W = Ct(M, ["dark"]), J = G || {}, { dark: te } = J, ge = Ct(J, ["dark"]), z = he(V) ? this._toVariables({ primitive: V }, v) : {}, de = he(Y) ? this._toVariables({ semantic: Y }, v) : {}, Ne = he(W) ? this._toVariables({ light: W }, v) : {}, De = he(N) ? this._toVariables({ dark: N }, v) : {}, xe = he(F) ? this._toVariables({ semantic: F }, v) : {}, pt = he(ge) ? this._toVariables({ light: ge }, v) : {}, Ot = he(te) ? this._toVariables({ dark: te }, v) : {}, [X, He] = [(i = z.declarations) != null ? i : "", z.tokens], [an, Yt] = [(l = de.declarations) != null ? l : "", de.tokens || []], [Gt, In] = [(r = Ne.declarations) != null ? r : "", Ne.tokens || []], [on, $o] = [(s = De.declarations) != null ? s : "", De.tokens || []], [R, re] = [(u = xe.declarations) != null ? u : "", xe.tokens || []], [me, ye] = [(c = pt.declarations) != null ? c : "", pt.tokens || []], [je, gt] = [(f = Ot.declarations) != null ? f : "", Ot.tokens || []];
8783
8783
  g = this.transformCSS(e, X, "light", "variable", v, a, o), h = He;
8784
8784
  const kn = this.transformCSS(e, `${an}${Gt}`, "light", "variable", v, a, o), zt = this.transformCSS(e, `${on}`, "dark", "variable", v, a, o);
8785
8785
  b = `${kn}${zt}`, C = [.../* @__PURE__ */ new Set([...Yt, ...In, ...$o])];
8786
- const wn = this.transformCSS(e, `${R}${me}color-scheme:light`, "light", "variable", v, a, o), ln = this.transformCSS(e, `${Le}color-scheme:dark`, "dark", "variable", v, a, o);
8787
- p = `${wn}${ln}`, y = [.../* @__PURE__ */ new Set([...re, ...he, ...gt])], I = Xe(d.css, { dt: Ln });
8786
+ const wn = this.transformCSS(e, `${R}${me}color-scheme:light`, "light", "variable", v, a, o), ln = this.transformCSS(e, `${je}color-scheme:dark`, "dark", "variable", v, a, o);
8787
+ p = `${wn}${ln}`, y = [.../* @__PURE__ */ new Set([...re, ...ye, ...gt])], I = Xe(d.css, { dt: Ln });
8788
8788
  }
8789
8789
  return {
8790
8790
  primitive: {
@@ -8805,8 +8805,8 @@ var ot = {
8805
8805
  getPreset({ name: e = "", preset: t = {}, options: n, params: a, set: o, defaults: i, selector: l }) {
8806
8806
  var r, s, u;
8807
8807
  let c, f, d;
8808
- if (ye(t) && n.transform !== "strict") {
8809
- const v = e.replace("-directive", ""), g = t, { colorScheme: h, extend: b, css: C } = g, p = Ct(g, ["colorScheme", "extend", "css"]), y = b || {}, { colorScheme: I } = y, V = Ct(y, ["colorScheme"]), x = h || {}, { dark: P } = x, w = Ct(x, ["dark"]), j = I || {}, { dark: Y } = j, H = Ct(j, ["dark"]), G = ye(p) ? this._toVariables({ [v]: rt(rt({}, p), V) }, n) : {}, F = ye(w) ? this._toVariables({ [v]: rt(rt({}, w), H) }, n) : {}, M = ye(P) ? this._toVariables({ [v]: rt(rt({}, P), Y) }, n) : {}, [N, W] = [(r = G.declarations) != null ? r : "", G.tokens || []], [J, te] = [(s = F.declarations) != null ? s : "", F.tokens || []], [ge, z] = [(u = M.declarations) != null ? u : "", M.tokens || []], de = this.transformCSS(v, `${N}${J}`, "light", "variable", n, o, i, l), Ne = this.transformCSS(v, ge, "dark", "variable", n, o, i, l);
8808
+ if (he(t) && n.transform !== "strict") {
8809
+ const v = e.replace("-directive", ""), g = t, { colorScheme: h, extend: b, css: C } = g, p = Ct(g, ["colorScheme", "extend", "css"]), y = b || {}, { colorScheme: I } = y, V = Ct(y, ["colorScheme"]), x = h || {}, { dark: P } = x, w = Ct(x, ["dark"]), j = I || {}, { dark: Y } = j, H = Ct(j, ["dark"]), G = he(p) ? this._toVariables({ [v]: rt(rt({}, p), V) }, n) : {}, F = he(w) ? this._toVariables({ [v]: rt(rt({}, w), H) }, n) : {}, M = he(P) ? this._toVariables({ [v]: rt(rt({}, P), Y) }, n) : {}, [N, W] = [(r = G.declarations) != null ? r : "", G.tokens || []], [J, te] = [(s = F.declarations) != null ? s : "", F.tokens || []], [ge, z] = [(u = M.declarations) != null ? u : "", M.tokens || []], de = this.transformCSS(v, `${N}${J}`, "light", "variable", n, o, i, l), Ne = this.transformCSS(v, ge, "dark", "variable", n, o, i, l);
8810
8810
  c = `${de}${Ne}`, f = [.../* @__PURE__ */ new Set([...W, ...te, ...z])], d = Xe(C, { dt: Ln });
8811
8811
  }
8812
8812
  return {
@@ -8894,21 +8894,21 @@ var ot = {
8894
8894
  }, void 0);
8895
8895
  },
8896
8896
  getSelectorRule(e, t, n, a) {
8897
- return n === "class" || n === "attr" ? cn(ye(t) ? `${e}${t},${e} ${t}` : e, a) : cn(e, ye(t) ? cn(t, a) : a);
8897
+ return n === "class" || n === "attr" ? cn(he(t) ? `${e}${t},${e} ${t}` : e, a) : cn(e, he(t) ? cn(t, a) : a);
8898
8898
  },
8899
8899
  transformCSS(e, t, n, a, o = {}, i, l, r) {
8900
- if (ye(t)) {
8900
+ if (he(t)) {
8901
8901
  const { cssLayer: s } = o;
8902
8902
  if (a !== "style") {
8903
8903
  const u = this.getColorSchemeOption(o, l);
8904
- t = n === "dark" ? u.reduce((c, { type: f, selector: d }) => (ye(d) && (c += d.includes("[CSS]") ? d.replace("[CSS]", t) : this.getSelectorRule(d, r, f, t)), c), "") : cn(r ?? ":root", t);
8904
+ t = n === "dark" ? u.reduce((c, { type: f, selector: d }) => (he(d) && (c += d.includes("[CSS]") ? d.replace("[CSS]", t) : this.getSelectorRule(d, r, f, t)), c), "") : cn(r ?? ":root", t);
8905
8905
  }
8906
8906
  if (s) {
8907
8907
  const u = {
8908
8908
  name: "primeui",
8909
8909
  order: "primeui"
8910
8910
  };
8911
- Mt(s) && (u.name = Xe(s.name, { name: e, type: a })), ye(u.name) && (t = cn(`@layer ${u.name}`, t), i?.layerNames(u.name));
8911
+ Mt(s) && (u.name = Xe(s.name, { name: e, type: a })), he(u.name) && (t = cn(`@layer ${u.name}`, t), i?.layerNames(u.name));
8912
8912
  }
8913
8913
  return t;
8914
8914
  }
@@ -9553,7 +9553,7 @@ var vf = function(t) {
9553
9553
  }, o = a(Xe(t, {
9554
9554
  dt: Ln
9555
9555
  }));
9556
- return ye(o) ? of(Dn(o), $a({
9556
+ return he(o) ? of(Dn(o), $a({
9557
9557
  name: this.name
9558
9558
  }, n)) : {};
9559
9559
  },
@@ -9592,7 +9592,7 @@ var vf = function(t) {
9592
9592
  var s = Qi(r, 2), u = s[0], c = s[1];
9593
9593
  return l.push("".concat(u, '="').concat(c, '"')) && l;
9594
9594
  }, []).join(" ");
9595
- return ye(o) ? '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(o, "</style>") : "";
9595
+ return he(o) ? '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(o, "</style>") : "";
9596
9596
  }
9597
9597
  return "";
9598
9598
  },
@@ -9609,7 +9609,7 @@ var vf = function(t) {
9609
9609
  var c = Qi(u, 2), f = c[0], d = c[1];
9610
9610
  return s.push("".concat(f, '="').concat(d, '"')) && s;
9611
9611
  }, []).join(" ");
9612
- ye(l) && a.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(r, ">").concat(l, "</style>"));
9612
+ he(l) && a.push('<style type="text/css" data-primevue-style-id="'.concat(o, '" ').concat(r, ">").concat(l, "</style>"));
9613
9613
  }
9614
9614
  return a.join("");
9615
9615
  },
@@ -9816,7 +9816,7 @@ var Kr = {
9816
9816
  },
9817
9817
  _loadGlobalStyles: function() {
9818
9818
  var t = this._useGlobalPT(this._getOptionValue, "global.css", this.$params);
9819
- ye(t) && Oe.load(t, ne({
9819
+ he(t) && Oe.load(t, ne({
9820
9820
  name: "global"
9821
9821
  }, this.$styleOptions));
9822
9822
  },
@@ -9895,7 +9895,7 @@ var Kr = {
9895
9895
  );
9896
9896
  },
9897
9897
  _getPTDatasets: function() {
9898
- var t, n, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = "data-pc-", i = a === "root" && ye((t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"]);
9898
+ var t, n, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = "data-pc-", i = a === "root" && he((t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"]);
9899
9899
  return a !== "transition" && ne(ne({}, a === "root" && ne(ne(Rn({}, "".concat(o, "name"), lt(i ? (n = this.pt) === null || n === void 0 ? void 0 : n["data-pc-section"] : this.$.type.name)), i && Rn({}, "".concat(o, "extend"), lt(this.$.type.name))), Ur() && Rn({}, "".concat(this.$attrSelector), ""))), {}, Rn({}, "".concat(o, "section"), lt(a)));
9900
9900
  },
9901
9901
  _getPTClassValue: function() {