@ulu/frontend-vue 0.1.0-beta.32 → 0.1.0-beta.34

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,4 +1,4 @@
1
- import { l as o, r as h, a as p, g as v } from "./index-Qc7R-Ey_.js";
1
+ import { l as o, r as h, a as p, g as v } from "./index-BfxKyYcS.js";
2
2
  const k = {
3
3
  iconClassClose: "css-icon css-icon--close",
4
4
  iconClassDragX: "css-icon css-icon--drag-x",
@@ -1,4 +1,4 @@
1
- import { _ as l, N as e, s as u, a1 as o, t, u as U, Q as i, v as r, w as n, x as c, y as S, U as d, W as F, O as p, z as b, h as m, X as g, Y as k, A as T, a5 as P, a6 as h, a7 as w, a8 as y, ad as A, a9 as L, aa as v, ab as M, ac as x, H as B, I as R, J as D, K as f, L as C, B as I, am as N, C as E, D as j, R as q, S as G, j as V, T as z, k as H, Z as O, $ as W, a2 as J, a3 as K, a0 as Q, ae as X, af as Y, ag as Z, ah as _, M as $, G as aa, ai as sa, aj as la, ak as ea, al as ua, V as oa, an as ta, ao as Ua, E as ia, m as ra, n as na, o as ca, p as Sa, q as da, ap as Fa, aq as pa, ar as ba, F as ma, P as ga, f as ka, b as Ta, d as Pa, c as ha, e as wa, aw as ya, ay as Aa, a4 as La, as as va, at as Ma, ax as xa, av as Ba, au as Ra, i as Da } from "./index-Qc7R-Ey_.js";
1
+ import { _ as l, N as e, s as u, a1 as o, t, u as U, Q as i, v as r, w as n, x as c, y as S, U as d, W as F, O as p, z as b, h as m, X as g, Y as k, A as T, a5 as P, a6 as h, a7 as w, a8 as y, ad as A, a9 as L, aa as v, ab as M, ac as x, H as B, I as R, J as D, K as f, L as C, B as I, am as N, C as E, D as j, R as q, S as G, j as V, T as z, k as H, Z as O, $ as W, a2 as J, a3 as K, a0 as Q, ae as X, af as Y, ag as Z, ah as _, M as $, G as aa, ai as sa, aj as la, ak as ea, al as ua, V as oa, an as ta, ao as Ua, E as ia, m as ra, n as na, o as ca, p as Sa, q as da, ap as Fa, aq as pa, ar as ba, F as ma, P as ga, f as ka, b as Ta, d as Pa, c as ha, e as wa, aw as ya, ay as Aa, a4 as La, as as va, at as Ma, ax as xa, av as Ba, au as Ra, i as Da } from "./index-BfxKyYcS.js";
2
2
  export {
3
3
  l as UluAccordion,
4
4
  e as UluAdaptiveLayout,
@@ -1,4 +1,4 @@
1
- import { reactive as lt, ref as M, computed as S, resolveDirective as rs, createElementBlock as d, openBlock as a, Fragment as O, withDirectives as Ce, createElementVNode as h, unref as T, normalizeClass as m, renderSlot as g, withKeys as ls, normalizeStyle as F, createCommentVNode as v, nextTick as as, toRef as Ys, toDisplayString as y, createBlock as p, Teleport as at, resolveDynamicComponent as B, mergeProps as Z, inject as ct, watchEffect as ut, defineAsyncComponent as Ks, markRaw as de, toRefs as Gs, toValue as Ee, resolveComponent as z, withModifiers as Zs, createVNode as x, useSlots as Js, renderList as A, TransitionGroup as cs, withCtx as w, createTextVNode as k, vShow as us, watch as ds, isRef as Qs, hasInjectionContext as en, getCurrentInstance as tn, onBeforeUnmount as sn, onDeactivated as nn, onActivated as on, onUnmounted as fs, onMounted as rn, normalizeProps as q, guardReactiveProps as Y, vModelText as ln, createSlots as ue } from "vue";
1
+ import { reactive as lt, ref as M, computed as S, resolveDirective as rs, createElementBlock as d, openBlock as a, Fragment as O, withDirectives as Ce, createElementVNode as h, unref as T, normalizeClass as m, renderSlot as g, withKeys as ls, normalizeStyle as F, createCommentVNode as v, nextTick as as, toRef as Ys, toDisplayString as y, createBlock as p, Teleport as at, resolveDynamicComponent as B, mergeProps as Z, inject as ct, watchEffect as ut, defineAsyncComponent as Ks, markRaw as de, toRefs as Gs, toValue as Ee, resolveComponent as I, withModifiers as Zs, createVNode as x, useSlots as Js, renderList as A, TransitionGroup as cs, withCtx as w, createTextVNode as k, vShow as us, watch as ds, isRef as Qs, hasInjectionContext as en, getCurrentInstance as tn, onBeforeUnmount as sn, onDeactivated as nn, onActivated as on, onUnmounted as fs, onMounted as rn, normalizeProps as q, guardReactiveProps as Y, vModelText as ln, createSlots as ue } from "vue";
2
2
  import { inline as hs, offset as ms, flip as gs, shift as ys, arrow as ps, useFloating as _s, autoUpdate as vs } from "@floating-ui/vue";
3
3
  import { Disclosure as an, DisclosureButton as cn, DisclosurePanel as un, Tab as dn, TabGroup as fn, TabList as hn, TabPanel as mn, TabPanels as gn } from "@headlessui/vue";
4
4
  import { useRoute as bs, useRouter as yn, RouterLink as Pe } from "vue-router";
@@ -193,7 +193,7 @@ function wn(e) {
193
193
  function Sn() {
194
194
  dt.value = !1, ft.value = null;
195
195
  }
196
- const ze = /* @__PURE__ */ new WeakMap(), kn = {
196
+ const Ie = /* @__PURE__ */ new WeakMap(), kn = {
197
197
  mounted(e, s) {
198
198
  $t(e, s);
199
199
  },
@@ -222,17 +222,17 @@ function $t(e, s) {
222
222
  e.addEventListener(r, i);
223
223
  }), t.hideEvents.forEach((r) => {
224
224
  e.addEventListener(r, o);
225
- }), ze.set(e, { onShow: i, onHide: o, config: t });
225
+ }), Ie.set(e, { onShow: i, onHide: o, config: t });
226
226
  }
227
227
  function At(e) {
228
- if (!ze.has(e))
228
+ if (!Ie.has(e))
229
229
  return;
230
- const { config: s, onShow: t, onHide: n } = ze.get(e);
230
+ const { config: s, onShow: t, onHide: n } = Ie.get(e);
231
231
  s.showEvents.forEach((i) => {
232
232
  e.removeEventListener(i, t);
233
233
  }), s.hideEvents.forEach((i) => {
234
234
  e.removeEventListener(i, n);
235
- }), ze.delete(e);
235
+ }), Ie.delete(e);
236
236
  }
237
237
  function Cn(e, s) {
238
238
  const { value: t } = s;
@@ -290,7 +290,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
290
290
  middleware: _
291
291
  }, {
292
292
  floatingStyles: R,
293
- placement: I,
293
+ placement: z,
294
294
  middlewareData: H,
295
295
  update: U,
296
296
  isPositioned: Q
@@ -362,7 +362,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
362
362
  "aria-labelledby": T(o),
363
363
  id: T(i),
364
364
  style: F(T(R)),
365
- "data-placement": T(I),
365
+ "data-placement": T(z),
366
366
  onKeydown: ee[0] || (ee[0] = ls((P) => ae(!1), ["esc"])),
367
367
  tabindex: "-1"
368
368
  }, [
@@ -439,7 +439,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
439
439
  }, null, 4)) : v("", !0)
440
440
  ], 14, xn));
441
441
  }
442
- }, zn = {
442
+ }, In = {
443
443
  __name: "UluTooltipDisplay",
444
444
  setup(e) {
445
445
  return (s, t) => (a(), p(at, {
@@ -454,14 +454,14 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
454
454
  };
455
455
  function ef(e, s = {}) {
456
456
  const t = vn(s);
457
- t.plugin.global && (e.directive(t.plugin.directiveName, kn), e.component("UluTooltipDisplay", zn), e.component("UluPopover", Fe));
457
+ t.plugin.global && (e.directive(t.plugin.directiveName, kn), e.component("UluTooltipDisplay", In), e.component("UluPopover", Fe));
458
458
  }
459
459
  const C = (e, s) => {
460
460
  const t = e.__vccOpts || e;
461
461
  for (const [n, i] of s)
462
462
  t[n] = i;
463
463
  return t;
464
- }, In = {
464
+ }, zn = {
465
465
  name: "UluModalsDisplay",
466
466
  emits: [
467
467
  "modal-unmount",
@@ -509,7 +509,7 @@ function Mn(e, s, t, n, i, o) {
509
509
  onVnodeUnmounted: o.modalUnmounted
510
510
  }), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : v("", !0);
511
511
  }
512
- const Bn = /* @__PURE__ */ C(In, [["render", Mn]]);
512
+ const Bn = /* @__PURE__ */ C(zn, [["render", Mn]]);
513
513
  function Pn() {
514
514
  return { getIconProps: (t) => t ? typeof t == "object" && !Array.isArray(t) ? t : { icon: t } : null, getClassesFromDefinition: (t) => {
515
515
  if (!t)
@@ -553,7 +553,7 @@ const V = {
553
553
  return console.warn(U), null;
554
554
  }
555
555
  return H;
556
- }), _ = S(() => !c.value || !f.value ? null : u.value(f.value)), b = S(() => n(f.value)), R = S(() => i(f.value)), I = S(() => ({
556
+ }), _ = S(() => !c.value || !f.value ? null : u.value(f.value)), b = S(() => n(f.value)), R = S(() => i(f.value)), z = S(() => ({
557
557
  "flow-inline": r.spaced
558
558
  }));
559
559
  return ut(async () => {
@@ -570,9 +570,9 @@ const V = {
570
570
  }
571
571
  } else
572
572
  t.value = null;
573
- }), (H, U) => c.value ? (a(), p(B(c.value), Z({ key: 0 }, _.value, { class: I.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (a(), p(B(t.value), Z({ key: 1 }, b.value, { class: I.value }), null, 16, ["class"])) : l.value && f.value ? (a(), d("span", {
573
+ }), (H, U) => c.value ? (a(), p(B(c.value), Z({ key: 0 }, _.value, { class: z.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (a(), p(B(t.value), Z({ key: 1 }, b.value, { class: z.value }), null, 16, ["class"])) : l.value && f.value ? (a(), d("span", {
574
574
  key: 2,
575
- class: m([R.value, I.value]),
575
+ class: m([R.value, z.value]),
576
576
  "aria-hidden": "true"
577
577
  }, null, 2)) : v("", !0);
578
578
  }
@@ -1167,7 +1167,7 @@ const qn = {
1167
1167
  type: "button"
1168
1168
  };
1169
1169
  function Jn(e, s, t, n, i, o) {
1170
- const r = z("UluIcon");
1170
+ const r = I("UluIcon");
1171
1171
  return a(), p(at, {
1172
1172
  to: t.teleport === !1 ? null : t.teleport,
1173
1173
  disabled: t.teleport === !1
@@ -1334,7 +1334,7 @@ const no = {
1334
1334
  }
1335
1335
  }, oo = ["onClick"];
1336
1336
  function io(e, s, t, n, i, o) {
1337
- const r = z("UluIcon");
1337
+ const r = I("UluIcon");
1338
1338
  return a(), d("div", {
1339
1339
  class: m(["toast", [
1340
1340
  {
@@ -1529,7 +1529,7 @@ function fo(e) {
1529
1529
  await new Promise((f) => {
1530
1530
  document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
1531
1531
  });
1532
- const r = await import("./breakpoints-ldu958QZ.js"), { BreakpointManager: l } = r, c = de(new l(s.plugin));
1532
+ const r = await import("./breakpoints-BnYvExbo.js"), { BreakpointManager: l } = r, c = de(new l(s.plugin));
1533
1533
  t.value = de(c);
1534
1534
  const u = () => {
1535
1535
  n.value = c.active, i.value = c.resizeDirection;
@@ -1946,7 +1946,7 @@ const jt = /* @__PURE__ */ C(go, [["render", vo]]), ks = {
1946
1946
  }
1947
1947
  };
1948
1948
  function wo(e, s, t, n, i, o) {
1949
- const r = z("UluIcon"), l = z("UluTag"), c = z("UluMenu", !0), u = rs("ulu-tooltip");
1949
+ const r = I("UluIcon"), l = I("UluTag"), c = I("UluMenu", !0), u = rs("ulu-tooltip");
1950
1950
  return t.items?.length ? (a(), d("ul", {
1951
1951
  key: 0,
1952
1952
  class: m(t.classes.list)
@@ -2025,7 +2025,7 @@ const Cs = /* @__PURE__ */ C(bo, [["render", wo]]), So = {
2025
2025
  }
2026
2026
  };
2027
2027
  function ko(e, s, t, n, i, o) {
2028
- const r = z("UluMenu");
2028
+ const r = I("UluMenu");
2029
2029
  return a(), d("nav", {
2030
2030
  class: m(["menu-stack", {
2031
2031
  "menu-stack--hanging": t.hanging,
@@ -2073,7 +2073,7 @@ const Co = /* @__PURE__ */ C(So, [["render", ko]]), To = {
2073
2073
  }
2074
2074
  };
2075
2075
  function $o(e, s, t, n, i, o) {
2076
- const r = z("UluMenuStack"), l = z("UluPopover");
2076
+ const r = I("UluMenuStack"), l = I("UluPopover");
2077
2077
  return a(), p(l, { classes: t.popoverClasses }, {
2078
2078
  trigger: w(({ isOpen: c }) => [
2079
2079
  g(e.$slots, "default", { isOpen: c })
@@ -2120,10 +2120,10 @@ const Ro = {
2120
2120
  uluBreakpointManager: "Breakpoints",
2121
2121
  uluModals: "Modals",
2122
2122
  uluToast: "Toast"
2123
- }, zt = {};
2123
+ }, It = {};
2124
2124
  function xo(e) {
2125
- const s = ct(e, zt);
2126
- if (s === zt) {
2125
+ const s = ct(e, It);
2126
+ if (s === It) {
2127
2127
  const t = Ro[e] || "", n = t ? ` from the '${t}' plugin` : "", i = t ? "Please install missing plugin." : "";
2128
2128
  throw new Error(`Required inject: '${e}'${n} was not provided. ${i}`);
2129
2129
  }
@@ -2147,14 +2147,14 @@ function lf(e, s) {
2147
2147
  pages: {}
2148
2148
  }, f = i.value, _ = o.value, b = 5, R = (U) => ({ query: { ...t.query, page: U } });
2149
2149
  f > 1 && (u.first = { href: R(1) }, u.previous = { href: R(f - 1) }), f < _ && (u.next = { href: R(f + 1) }, u.last = { href: R(_) });
2150
- let I, H;
2150
+ let z, H;
2151
2151
  if (_ <= b)
2152
- I = 1, H = _;
2152
+ z = 1, H = _;
2153
2153
  else {
2154
2154
  const U = Math.floor(b / 2), Q = Math.ceil(b / 2) - 1;
2155
- f <= U ? (I = 1, H = b) : f + Q >= _ ? (I = _ - b + 1, H = _) : (I = f - U, H = f + Q);
2155
+ f <= U ? (z = 1, H = b) : f + Q >= _ ? (z = _ - b + 1, H = _) : (z = f - U, H = f + Q);
2156
2156
  }
2157
- for (let U = I; U <= H; U++)
2157
+ for (let U = z; U <= H; U++)
2158
2158
  u.pages[U] = { href: R(U) };
2159
2159
  return u;
2160
2160
  }), c = S(() => {
@@ -2196,11 +2196,11 @@ function Eo() {
2196
2196
  }
2197
2197
  throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
2198
2198
  }
2199
- function zo(e, s = {}) {
2199
+ function Io(e, s = {}) {
2200
2200
  const t = s.head || Eo();
2201
- return t.ssr ? t.push(e || {}, s) : Io(t, e, s);
2201
+ return t.ssr ? t.push(e || {}, s) : zo(t, e, s);
2202
2202
  }
2203
- function Io(e, s, t = {}) {
2203
+ function zo(e, s, t = {}) {
2204
2204
  const n = M(!1);
2205
2205
  let i;
2206
2206
  return ut(() => {
@@ -2347,7 +2347,7 @@ function af(e = {}) {
2347
2347
  title: s,
2348
2348
  titleTemplate: t = "%s",
2349
2349
  useRoute: n = bs,
2350
- useHead: i = zo
2350
+ useHead: i = Io
2351
2351
  } = e, o = n(), r = o.path;
2352
2352
  if (s !== void 0) {
2353
2353
  ut(() => {
@@ -2581,7 +2581,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
2581
2581
  }
2582
2582
  }, Xo = { key: 1 };
2583
2583
  function qo(e, s, t, n, i, o) {
2584
- const r = z("UluIcon");
2584
+ const r = I("UluIcon");
2585
2585
  return a(), p(B(o.element), Z({
2586
2586
  class: ["button", [
2587
2587
  {
@@ -2671,7 +2671,7 @@ const Yo = /* @__PURE__ */ C(Wo, [["render", qo]]), Ko = {
2671
2671
  class: "margin-left-auto align-self-center"
2672
2672
  };
2673
2673
  function Qo(e, s, t, n, i, o) {
2674
- const r = z("UluIcon");
2674
+ const r = I("UluIcon");
2675
2675
  return a(), d("div", {
2676
2676
  class: m(["callout", n.resolvedModifiers])
2677
2677
  }, [
@@ -2832,7 +2832,7 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
2832
2832
  class: "button-verbose__body"
2833
2833
  };
2834
2834
  function ri(e, s, t, n, i, o) {
2835
- const r = z("UluIcon");
2835
+ const r = I("UluIcon");
2836
2836
  return a(), p(B(o.element), Z({
2837
2837
  class: ["button-verbose", [
2838
2838
  {
@@ -2894,7 +2894,7 @@ function ai(e, s, t, n, i, o) {
2894
2894
  g(e.$slots, "default")
2895
2895
  ], 2);
2896
2896
  }
2897
- const _f = /* @__PURE__ */ C(li, [["render", ai]]), It = (e, s) => {
2897
+ const _f = /* @__PURE__ */ C(li, [["render", ai]]), zt = (e, s) => {
2898
2898
  const t = !(s.to || s.href);
2899
2899
  return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
2900
2900
  }, ci = {
@@ -2925,14 +2925,14 @@ const _f = /* @__PURE__ */ C(li, [["render", ai]]), It = (e, s) => {
2925
2925
  */
2926
2926
  titleTo: {
2927
2927
  type: [String, Object],
2928
- validator: It
2928
+ validator: zt
2929
2929
  },
2930
2930
  /**
2931
2931
  * Will make title a link to href
2932
2932
  */
2933
2933
  titleHref: {
2934
2934
  type: String,
2935
- validator: It
2935
+ validator: zt
2936
2936
  },
2937
2937
  /**
2938
2938
  * When using href this will set title link's target attribute
@@ -3046,7 +3046,7 @@ const _f = /* @__PURE__ */ C(li, [["render", ai]]), It = (e, s) => {
3046
3046
  class: "card__footer"
3047
3047
  };
3048
3048
  function yi(e, s, t, n, i, o) {
3049
- const r = z("router-link");
3049
+ const r = I("router-link");
3050
3050
  return a(), p(B(o.resolvedElement), {
3051
3051
  class: m(["card", [
3052
3052
  {
@@ -3328,7 +3328,8 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
3328
3328
  type: String,
3329
3329
  default: "checkbox"
3330
3330
  },
3331
- modelValue: [String, Array]
3331
+ modelValue: [String, Array],
3332
+ hideInputs: Boolean
3332
3333
  },
3333
3334
  emits: ["update:modelValue"],
3334
3335
  setup(e, { emit: s }) {
@@ -3342,7 +3343,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
3342
3343
  f.checked = _.target.checked;
3343
3344
  };
3344
3345
  return (f, _) => (a(), d("div", {
3345
- class: "menu-stack form-theme",
3346
+ class: m(["menu-stack form-theme", { "menu-stack--hide-inputs": e.hideInputs }]),
3346
3347
  role: r.value,
3347
3348
  "aria-labelledby": o.value
3348
3349
  }, [
@@ -3375,7 +3376,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
3375
3376
  ])
3376
3377
  ]))), 128))
3377
3378
  ])
3378
- ], 8, ki));
3379
+ ], 10, ki));
3379
3380
  }
3380
3381
  }, Ri = ["href", "download"], xi = { class: "margin-left-small-x" }, Tf = {
3381
3382
  __name: "UluFileDisplay",
@@ -3477,7 +3478,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
3477
3478
  g(s.$slots, "default")
3478
3479
  ], 2));
3479
3480
  }
3480
- }, zi = { class: "site-form__item site-form__item--select" }, Ii = ["for"], Mi = ["id", "value"], Bi = ["value"], Of = {
3481
+ }, Ii = { class: "site-form__item site-form__item--select" }, zi = ["for"], Mi = ["id", "value"], Bi = ["value"], Of = {
3481
3482
  __name: "UluFormSelect",
3482
3483
  props: {
3483
3484
  label: String,
@@ -3491,7 +3492,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
3491
3492
  let n = 0;
3492
3493
  return () => `select-id-${++n}`;
3493
3494
  })())();
3494
- return (n, i) => (a(), d("div", zi, [
3495
+ return (n, i) => (a(), d("div", Ii, [
3495
3496
  h("label", {
3496
3497
  class: m({ "hidden-visually": e.labelHidden }),
3497
3498
  for: T(t)
@@ -3499,7 +3500,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
3499
3500
  g(n.$slots, "default", {}, () => [
3500
3501
  k(y(e.label), 1)
3501
3502
  ])
3502
- ], 10, Ii),
3503
+ ], 10, zi),
3503
3504
  h("select", {
3504
3505
  id: T(t),
3505
3506
  value: e.modelValue,
@@ -3646,7 +3647,7 @@ const jf = /* @__PURE__ */ C(qi, [["render", Yi]]), Ki = {
3646
3647
  class: "rail__item rail__item--pull"
3647
3648
  };
3648
3649
  function Zi(e, s, t, n, i, o) {
3649
- const r = z("UluIcon");
3650
+ const r = I("UluIcon");
3650
3651
  return a(), d("div", {
3651
3652
  class: m(["rail rail--title-rail", {
3652
3653
  "rail--rule": t.rule
@@ -3713,7 +3714,7 @@ const Ef = /* @__PURE__ */ C(Ki, [["render", Zi]]), Ji = {
3713
3714
  }
3714
3715
  };
3715
3716
  function Qi(e, s, t, n, i, o) {
3716
- const r = z("router-link"), l = z("UluIcon");
3717
+ const r = I("router-link"), l = I("UluIcon");
3717
3718
  return t.items.length ? (a(), d("nav", {
3718
3719
  key: 0,
3719
3720
  class: m(t.classes.nav),
@@ -3756,7 +3757,7 @@ function Qi(e, s, t, n, i, o) {
3756
3757
  ], 2)
3757
3758
  ], 2)) : v("", !0);
3758
3759
  }
3759
- const zf = /* @__PURE__ */ C(Ji, [["render", Qi]]), er = {
3760
+ const If = /* @__PURE__ */ C(Ji, [["render", Qi]]), er = {
3760
3761
  name: "UluNavStrip",
3761
3762
  components: {
3762
3763
  UluMenu: Cs
@@ -3781,7 +3782,7 @@ const zf = /* @__PURE__ */ C(Ji, [["render", Qi]]), er = {
3781
3782
  }
3782
3783
  };
3783
3784
  function tr(e, s, t, n, i, o) {
3784
- const r = z("UluMenu");
3785
+ const r = I("UluMenu");
3785
3786
  return a(), d("nav", {
3786
3787
  class: m(["nav-strip", {
3787
3788
  "nav-strip--rule": t.rule,
@@ -3800,7 +3801,7 @@ function tr(e, s, t, n, i, o) {
3800
3801
  }, null, 8, ["items"])
3801
3802
  ], 2);
3802
3803
  }
3803
- const If = /* @__PURE__ */ C(er, [["render", tr]]), sr = {}, nr = {
3804
+ const zf = /* @__PURE__ */ C(er, [["render", tr]]), sr = {}, nr = {
3804
3805
  class: "site-skip-link hidden-visually-focusable",
3805
3806
  href: "#main-content"
3806
3807
  };
@@ -3837,7 +3838,7 @@ function cr(e, s) {
3837
3838
  }
3838
3839
  const Pf = /* @__PURE__ */ C(lr, [["render", cr]]), ur = {};
3839
3840
  function dr(e, s) {
3840
- const t = z("router-view");
3841
+ const t = I("router-view");
3841
3842
  return a(), p(t);
3842
3843
  }
3843
3844
  const Ff = /* @__PURE__ */ C(ur, [["render", dr]]);
@@ -4041,7 +4042,7 @@ const Df = /* @__PURE__ */ C(vr, [["render", br]]), wr = {
4041
4042
  class: "progress-bar__value progress-bar__value--deficit color-status is-danger"
4042
4043
  }, Rr = { class: "progress-bar__value progress-bar__value--total" };
4043
4044
  function xr(e, s, t, n, i, o) {
4044
- const r = z("StatusIcon");
4045
+ const r = I("StatusIcon");
4045
4046
  return a(), d("div", {
4046
4047
  class: m(["progress-bar", {
4047
4048
  "progress-bar--small": t.small,
@@ -4141,10 +4142,10 @@ const jr = {
4141
4142
  mounted() {
4142
4143
  this.animate();
4143
4144
  }
4144
- }, Er = { class: "progress-donut__chart" }, zr = {
4145
+ }, Er = { class: "progress-donut__chart" }, Ir = {
4145
4146
  class: "progress-donut__chart-svg",
4146
4147
  viewBox: "0 0 32 32"
4147
- }, Ir = ["r"], Mr = {
4148
+ }, zr = ["r"], Mr = {
4148
4149
  key: 0,
4149
4150
  class: "progress-donut__chart-value"
4150
4151
  }, Br = {
@@ -4163,7 +4164,7 @@ function Pr(e, s, t, n, i, o) {
4163
4164
  }, [
4164
4165
  s[0] || (s[0] = h("strong", { class: "hidden-visually" }, "Course Progress", -1)),
4165
4166
  h("div", Er, [
4166
- (a(), d("svg", zr, [
4167
+ (a(), d("svg", Ir, [
4167
4168
  h("circle", {
4168
4169
  class: "progress-donut__chart-pie",
4169
4170
  ref: "pie",
@@ -4177,7 +4178,7 @@ function Pr(e, s, t, n, i, o) {
4177
4178
  r: t.small ? 7 : 11,
4178
4179
  cx: "16",
4179
4180
  cy: "16"
4180
- }, null, 8, Ir)
4181
+ }, null, 8, zr)
4181
4182
  ])),
4182
4183
  t.small ? v("", !0) : (a(), d("strong", Mr, y(t.percentage) + "% ", 1))
4183
4184
  ]),
@@ -4224,7 +4225,7 @@ function Xf(e, s = {}) {
4224
4225
  az: { text: "A-Z", sort: b },
4225
4226
  za: { text: "Z-A", sort: ($) => b($).reverse() }
4226
4227
  };
4227
- function I($) {
4228
+ function z($) {
4228
4229
  return ($ || []).map((P) => ({
4229
4230
  ...P,
4230
4231
  open: P.open || !1,
@@ -4235,9 +4236,9 @@ function Xf(e, s = {}) {
4235
4236
  selectedCount: 0
4236
4237
  }));
4237
4238
  }
4238
- const H = S(() => !i || !e.value?.length ? null : Fr(e.value, i)), U = M(I(n || H.value)), Q = M(o), Ae = M(r);
4239
+ const H = S(() => !i || !e.value?.length ? null : Fr(e.value, i)), U = M(z(n || H.value)), Q = M(o), Ae = M(r);
4239
4240
  i && !n && ds(H, ($) => {
4240
- U.value = I($);
4241
+ U.value = z($);
4241
4242
  });
4242
4243
  const Oe = S(() => ({
4243
4244
  ...l ? {} : R,
@@ -4434,7 +4435,8 @@ const Mt = {
4434
4435
  // container: null,
4435
4436
  // group: null
4436
4437
  })
4437
- }
4438
+ },
4439
+ hideInputs: Boolean
4438
4440
  },
4439
4441
  emits: ["facet-change"],
4440
4442
  setup(e, { emit: s }) {
@@ -4499,8 +4501,9 @@ const Mt = {
4499
4501
  type: u.multiple ? "checkbox" : "radio",
4500
4502
  options: n(u),
4501
4503
  "model-value": i(u),
4502
- "onUpdate:modelValue": (_) => r(u, _, f)
4503
- }, null, 8, ["legend", "type", "options", "model-value", "onUpdate:modelValue"])
4504
+ "onUpdate:modelValue": (_) => r(u, _, f),
4505
+ hideInputs: e.hideInputs
4506
+ }, null, 8, ["legend", "type", "options", "model-value", "onUpdate:modelValue", "hideInputs"])
4504
4507
  ]),
4505
4508
  _: 2
4506
4509
  }, 1032, ["classes"])
@@ -5313,9 +5316,9 @@ const lh = {
5313
5316
  key: 0,
5314
5317
  class: "slideshow__nav",
5315
5318
  ref: "nav"
5316
- }, zl = ["onClick"], Il = { class: "hidden-visually" };
5319
+ }, Il = ["onClick"], zl = { class: "hidden-visually" };
5317
5320
  function Ml(e, s, t, n, i, o) {
5318
- const r = z("UluIcon");
5321
+ const r = I("UluIcon");
5319
5322
  return a(), d("div", kl, [
5320
5323
  h("div", Cl, [
5321
5324
  h("div", Tl, [
@@ -5383,9 +5386,9 @@ function Ml(e, s, t, n, i, o) {
5383
5386
  index: c,
5384
5387
  active: l.active
5385
5388
  }, () => [
5386
- h("span", Il, "Item " + y(c + 1), 1)
5389
+ h("span", zl, "Item " + y(c + 1), 1)
5387
5390
  ])
5388
- ], 10, zl)
5391
+ ], 10, Il)
5389
5392
  ], 2))), 128))
5390
5393
  ], 512))
5391
5394
  ]);
@@ -5421,7 +5424,7 @@ const Bl = /* @__PURE__ */ C(Sl, [["render", Ml]]), Pl = {
5421
5424
  }
5422
5425
  }, Fl = ["src", "alt"], Ll = { class: "slideshow__image-actions" }, Hl = ["src", "alt"];
5423
5426
  function Vl(e, s, t, n, i, o) {
5424
- const r = z("AppButton"), l = z("UluSlideShow");
5427
+ const r = I("AppButton"), l = I("UluSlideShow");
5425
5428
  return a(), p(l, {
5426
5429
  class: "slideshow--images",
5427
5430
  items: t.images,
@@ -5624,7 +5627,7 @@ const Kl = /* @__PURE__ */ C(Wl, [["render", Yl]]), Gl = {
5624
5627
  "aria-hidden": "true"
5625
5628
  }, na = { class: "table-sticky__sort-icon-inner" }, oa = ["innerHTML"], ia = { key: 1 }, ra = { key: 2 };
5626
5629
  function la(e, s, t, n, i, o) {
5627
- const r = z("UluTableStickyRows");
5630
+ const r = I("UluTableStickyRows");
5628
5631
  return a(), d("table", {
5629
5632
  class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
5630
5633
  "aria-hidden": t.isActual ? "false" : "true"
@@ -5809,7 +5812,7 @@ function _a(e) {
5809
5812
  function va(e) {
5810
5813
  return this.__data__.has(e);
5811
5814
  }
5812
- var Es = typeof global == "object" && global && global.Object === Object && global, ba = typeof self == "object" && self && self.Object === Object && self, K = Es || ba || Function("return this")(), fe = K.Symbol, zs = Object.prototype, wa = zs.hasOwnProperty, Sa = zs.toString, pe = fe ? fe.toStringTag : void 0;
5815
+ var Es = typeof global == "object" && global && global.Object === Object && global, ba = typeof self == "object" && self && self.Object === Object && self, K = Es || ba || Function("return this")(), fe = K.Symbol, Is = Object.prototype, wa = Is.hasOwnProperty, Sa = Is.toString, pe = fe ? fe.toStringTag : void 0;
5813
5816
  function ka(e) {
5814
5817
  var s = wa.call(e, pe), t = e[pe];
5815
5818
  try {
@@ -5833,7 +5836,7 @@ function We(e) {
5833
5836
  return e != null && (s == "object" || s == "function");
5834
5837
  }
5835
5838
  var Ra = "[object AsyncFunction]", xa = "[object Function]", Ua = "[object GeneratorFunction]", ja = "[object Proxy]";
5836
- function Is(e) {
5839
+ function zs(e) {
5837
5840
  if (!We(e))
5838
5841
  return !1;
5839
5842
  var s = Te(e);
@@ -5846,11 +5849,11 @@ var Ge = K["__core-js_shared__"], Pt = function() {
5846
5849
  function Ea(e) {
5847
5850
  return !!Pt && Pt in e;
5848
5851
  }
5849
- var za = Function.prototype, Ia = za.toString;
5852
+ var Ia = Function.prototype, za = Ia.toString;
5850
5853
  function re(e) {
5851
5854
  if (e != null) {
5852
5855
  try {
5853
- return Ia.call(e);
5856
+ return za.call(e);
5854
5857
  } catch {
5855
5858
  }
5856
5859
  try {
@@ -5866,7 +5869,7 @@ var Ma = /[\\^$.*+?()[\]{}|]/g, Ba = /^\[object .+?Constructor\]$/, Pa = Functio
5866
5869
  function Da(e) {
5867
5870
  if (!We(e) || Ea(e))
5868
5871
  return !1;
5869
- var s = Is(e) ? Va : Ba;
5872
+ var s = zs(e) ? Va : Ba;
5870
5873
  return s.test(re(e));
5871
5874
  }
5872
5875
  function Na(e, s) {
@@ -6030,9 +6033,9 @@ var $c = 9007199254740991;
6030
6033
  function Fs(e) {
6031
6034
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= $c;
6032
6035
  }
6033
- var Ac = "[object Arguments]", Oc = "[object Array]", Rc = "[object Boolean]", xc = "[object Date]", Uc = "[object Error]", jc = "[object Function]", Ec = "[object Map]", zc = "[object Number]", Ic = "[object Object]", Mc = "[object RegExp]", Bc = "[object Set]", Pc = "[object String]", Fc = "[object WeakMap]", Lc = "[object ArrayBuffer]", Hc = "[object DataView]", Vc = "[object Float32Array]", Dc = "[object Float64Array]", Nc = "[object Int8Array]", Wc = "[object Int16Array]", Xc = "[object Int32Array]", qc = "[object Uint8Array]", Yc = "[object Uint8ClampedArray]", Kc = "[object Uint16Array]", Gc = "[object Uint32Array]", E = {};
6036
+ var Ac = "[object Arguments]", Oc = "[object Array]", Rc = "[object Boolean]", xc = "[object Date]", Uc = "[object Error]", jc = "[object Function]", Ec = "[object Map]", Ic = "[object Number]", zc = "[object Object]", Mc = "[object RegExp]", Bc = "[object Set]", Pc = "[object String]", Fc = "[object WeakMap]", Lc = "[object ArrayBuffer]", Hc = "[object DataView]", Vc = "[object Float32Array]", Dc = "[object Float64Array]", Nc = "[object Int8Array]", Wc = "[object Int16Array]", Xc = "[object Int32Array]", qc = "[object Uint8Array]", Yc = "[object Uint8ClampedArray]", Kc = "[object Uint16Array]", Gc = "[object Uint32Array]", E = {};
6034
6037
  E[Vc] = E[Dc] = E[Nc] = E[Wc] = E[Xc] = E[qc] = E[Yc] = E[Kc] = E[Gc] = !0;
6035
- E[Ac] = E[Oc] = E[Lc] = E[Rc] = E[Hc] = E[xc] = E[Uc] = E[jc] = E[Ec] = E[zc] = E[Ic] = E[Mc] = E[Bc] = E[Pc] = E[Fc] = !1;
6038
+ E[Ac] = E[Oc] = E[Lc] = E[Rc] = E[Hc] = E[xc] = E[Uc] = E[jc] = E[Ec] = E[Ic] = E[zc] = E[Mc] = E[Bc] = E[Pc] = E[Fc] = !1;
6036
6039
  function Zc(e) {
6037
6040
  return $e(e) && Fs(e.length) && !!E[Te(e)];
6038
6041
  }
@@ -6078,7 +6081,7 @@ function lu(e) {
6078
6081
  return s;
6079
6082
  }
6080
6083
  function au(e) {
6081
- return e != null && Fs(e.length) && !Is(e);
6084
+ return e != null && Fs(e.length) && !zs(e);
6082
6085
  }
6083
6086
  function cu(e) {
6084
6087
  return au(e) ? su(e) : lu(e);
@@ -6157,17 +6160,17 @@ var Qt = fe ? fe.prototype : void 0, es = Qt ? Qt.valueOf : void 0;
6157
6160
  function Eu(e) {
6158
6161
  return es ? Object(es.call(e)) : {};
6159
6162
  }
6160
- function zu(e, s) {
6163
+ function Iu(e, s) {
6161
6164
  var t = St(e.buffer);
6162
6165
  return new e.constructor(t, e.byteOffset, e.length);
6163
6166
  }
6164
- var Iu = "[object Boolean]", Mu = "[object Date]", Bu = "[object Map]", Pu = "[object Number]", Fu = "[object RegExp]", Lu = "[object Set]", Hu = "[object String]", Vu = "[object Symbol]", Du = "[object ArrayBuffer]", Nu = "[object DataView]", Wu = "[object Float32Array]", Xu = "[object Float64Array]", qu = "[object Int8Array]", Yu = "[object Int16Array]", Ku = "[object Int32Array]", Gu = "[object Uint8Array]", Zu = "[object Uint8ClampedArray]", Ju = "[object Uint16Array]", Qu = "[object Uint32Array]";
6167
+ var zu = "[object Boolean]", Mu = "[object Date]", Bu = "[object Map]", Pu = "[object Number]", Fu = "[object RegExp]", Lu = "[object Set]", Hu = "[object String]", Vu = "[object Symbol]", Du = "[object ArrayBuffer]", Nu = "[object DataView]", Wu = "[object Float32Array]", Xu = "[object Float64Array]", qu = "[object Int8Array]", Yu = "[object Int16Array]", Ku = "[object Int32Array]", Gu = "[object Uint8Array]", Zu = "[object Uint8ClampedArray]", Ju = "[object Uint16Array]", Qu = "[object Uint32Array]";
6165
6168
  function ed(e, s, t) {
6166
6169
  var n = e.constructor;
6167
6170
  switch (s) {
6168
6171
  case Du:
6169
6172
  return St(e);
6170
- case Iu:
6173
+ case zu:
6171
6174
  case Mu:
6172
6175
  return new n(+e);
6173
6176
  case Nu:
@@ -6181,7 +6184,7 @@ function ed(e, s, t) {
6181
6184
  case Zu:
6182
6185
  case Ju:
6183
6186
  case Qu:
6184
- return zu(e);
6187
+ return Iu(e);
6185
6188
  case Bu:
6186
6189
  return new n();
6187
6190
  case Pu:
@@ -6222,7 +6225,7 @@ function ld(e) {
6222
6225
  var ns = he && he.isSet, ad = ns ? wt(ns) : ld, Ns = "[object Arguments]", cd = "[object Array]", ud = "[object Boolean]", dd = "[object Date]", fd = "[object Error]", Ws = "[object Function]", hd = "[object GeneratorFunction]", md = "[object Map]", gd = "[object Number]", Xs = "[object Object]", yd = "[object RegExp]", pd = "[object Set]", _d = "[object String]", vd = "[object Symbol]", bd = "[object WeakMap]", wd = "[object ArrayBuffer]", Sd = "[object DataView]", kd = "[object Float32Array]", Cd = "[object Float64Array]", Td = "[object Int8Array]", $d = "[object Int16Array]", Ad = "[object Int32Array]", Od = "[object Uint8Array]", Rd = "[object Uint8ClampedArray]", xd = "[object Uint16Array]", Ud = "[object Uint32Array]", j = {};
6223
6226
  j[Ns] = j[cd] = j[wd] = j[Sd] = j[ud] = j[dd] = j[kd] = j[Cd] = j[Td] = j[$d] = j[Ad] = j[md] = j[gd] = j[Xs] = j[yd] = j[pd] = j[_d] = j[vd] = j[Od] = j[Rd] = j[xd] = j[Ud] = !0;
6224
6227
  j[fd] = j[Ws] = j[bd] = !1;
6225
- function Ie(e, s, t, n, i, o) {
6228
+ function ze(e, s, t, n, i, o) {
6226
6229
  var r;
6227
6230
  if (r !== void 0)
6228
6231
  return r;
@@ -6248,22 +6251,22 @@ function Ie(e, s, t, n, i, o) {
6248
6251
  if (f)
6249
6252
  return f;
6250
6253
  o.set(e, r), ad(e) ? e.forEach(function(R) {
6251
- r.add(Ie(R, s, t, R, e, o));
6252
- }) : id(e) && e.forEach(function(R, I) {
6253
- r.set(I, Ie(R, s, t, I, e, o));
6254
+ r.add(ze(R, s, t, R, e, o));
6255
+ }) : id(e) && e.forEach(function(R, z) {
6256
+ r.set(z, ze(R, s, t, z, e, o));
6254
6257
  });
6255
6258
  var _ = bu, b = l ? void 0 : _(e);
6256
- return uc(b || e, function(R, I) {
6257
- b && (I = R, R = e[I]), mc(r, I, Ie(R, s, t, I, e, o));
6259
+ return uc(b || e, function(R, z) {
6260
+ b && (z = R, R = e[z]), mc(r, z, ze(R, s, t, z, e, o));
6258
6261
  }), r;
6259
6262
  }
6260
6263
  var jd = 1, Ed = 4;
6261
- function zd(e) {
6262
- return Ie(e, jd | Ed);
6264
+ function Id(e) {
6265
+ return ze(e, jd | Ed);
6263
6266
  }
6264
6267
  const Je = (e) => e.every((s) => typeof s == "object"), os = !0, qs = () => window.innerWidth;
6265
6268
  let is = qs();
6266
- const Id = {
6269
+ const zd = {
6267
6270
  name: "UluTableSticky",
6268
6271
  components: {
6269
6272
  UluTableStickyTable: aa
@@ -6523,7 +6526,7 @@ const Id = {
6523
6526
  * - Can be used in the future for adding/removing or enabling/disabling
6524
6527
  */
6525
6528
  createColumns() {
6526
- const e = this.idCreator("c"), s = zd(this.columns), t = (n, i) => {
6529
+ const e = this.idCreator("c"), s = Id(this.columns), t = (n, i) => {
6527
6530
  n.id = e(), n.parent = i, n.width = "auto", n.boxWidth = null, n.sortApplied = !1, n.sortAscending = !1, n.sortFocused = !1;
6528
6531
  let o = [];
6529
6532
  i && (i.headers && i.headers.length ? o = [...i.headers] : o.push(i.id)), o.push(n.id), n.headers = o, n.columns ? n.columns.forEach((r) => t(r, n)) : !n.key && !n.value && !n.slot && console.warn("UluTableSticky: Missing 'key', 'value' or 'slot' in column configuration for", n);
@@ -6675,7 +6678,7 @@ const Id = {
6675
6678
  class: "table-sticky__display"
6676
6679
  };
6677
6680
  function Nd(e, s, t, n, i, o) {
6678
- const r = z("UluTableStickyTable");
6681
+ const r = I("UluTableStickyTable");
6679
6682
  return a(), d("div", {
6680
6683
  class: m(["table-sticky", {
6681
6684
  "table-sticky--overflown-x": i.overflownX,
@@ -6836,7 +6839,7 @@ function Nd(e, s, t, n, i, o) {
6836
6839
  ]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : v("", !0)
6837
6840
  ], 2);
6838
6841
  }
6839
- const dh = /* @__PURE__ */ C(Id, [["render", Nd]]);
6842
+ const dh = /* @__PURE__ */ C(zd, [["render", Nd]]);
6840
6843
  function Wd(e) {
6841
6844
  if (e) {
6842
6845
  if (e instanceof HTMLElement)
@@ -6871,10 +6874,10 @@ export {
6871
6874
  Uf as N,
6872
6875
  jf as O,
6873
6876
  Ef as P,
6874
- zf as Q,
6877
+ If as Q,
6875
6878
  Cs as R,
6876
6879
  Co as S,
6877
- If as T,
6880
+ zf as T,
6878
6881
  jt as U,
6879
6882
  Mf as V,
6880
6883
  Bf as W,
@@ -1,5 +1,10 @@
1
1
  <template>
2
- <div class="menu-stack form-theme" :role="groupRole" :aria-labelledby="legendId">
2
+ <div
3
+ class="menu-stack form-theme"
4
+ :class="{ 'menu-stack--hide-inputs' : hideInputs }"
5
+ :role="groupRole"
6
+ :aria-labelledby="legendId"
7
+ >
3
8
  <div v-if="legend" :id="legendId" class="hidden-visually">{{ legend }}</div>
4
9
  <ul class="menu-stack__list">
5
10
  <li class="menu-stack__item" v-for="option in options" :key="option.uid">
@@ -34,11 +39,12 @@ const props = defineProps({
34
39
  default: 'checkbox',
35
40
  },
36
41
  modelValue: [String, Array],
42
+ hideInputs: Boolean
37
43
  });
38
44
 
39
45
  const emit = defineEmits(['update:modelValue']);
40
46
 
41
- const name = computed(() => props.legend ? props.legend.toLowerCase().replace(/\s+/g, '-') : `menu-${Math.random().toString(36).substring(7)}`);
47
+ const name = computed(() => props.legend ? props.legend.toLowerCase().replace(/\s+/g, '-') : `menu-${ Math.random().toString(36).substring(7) }`);
42
48
  const legendId = computed(() => name.value ? `${name.value}-legend` : null);
43
49
  const groupRole = computed(() => props.type === 'radio' ? 'radiogroup' : 'group');
44
50
 
@@ -20,6 +20,7 @@
20
20
  :options="getMenuOptions(group)"
21
21
  :model-value="selectedUids(group)"
22
22
  @update:model-value="onFilterChange(group, $event, close)"
23
+ :hideInputs="hideInputs"
23
24
  />
24
25
  </template>
25
26
  </UluPopover>
@@ -46,7 +47,8 @@ const props = defineProps({
46
47
  // container: null,
47
48
  // group: null
48
49
  })
49
- }
50
+ },
51
+ hideInputs: Boolean
50
52
  });
51
53
 
52
54
  const emit = defineEmits(['facet-change']);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend-vue",
3
- "version": "0.1.0-beta.32",
3
+ "version": "0.1.0-beta.34",
4
4
  "description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
5
5
  "type": "module",
6
6
  "files": [