@ulu/frontend-vue 0.1.1-beta.6 → 0.1.1-beta.8

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-DwyCjdba.js";
1
+ import { l as o, r as h, a as p, g as v } from "./index-DygmGRgT.js";
2
2
  const k = {
3
3
  iconClassClose: "css-icon css-icon--close",
4
4
  iconClassDragX: "css-icon css-icon--drag-x",
@@ -1 +1 @@
1
- .toast-animation-move,.toast-animation-enter-active,.toast-animation-leave-active{transition:all .3s ease}.toast-animation-enter-from,.toast-animation-leave-to{opacity:0;transform:translate(30px)}.toast-animation-leave-active{position:absolute;width:100%}.facets-dropdown-filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.facets-dropdown-filters__group{display:flex;gap:.5rem;align-items:center}.facets-header-layout__header{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap}.facets-results__list{list-style:none;padding:0}.facets-fade-enter-active,.facets-fade-leave-active{transition:opacity .25s ease}.facets-fade-enter-from,.facets-fade-leave-to{opacity:0}.facets-sidebar-layout__body{display:grid;grid-template-columns:250px 1fr;gap:2rem}.facets-sidebar-layout--filters-hidden .facets-sidebar-layout__body{grid-template-columns:1fr}.scroll-anchors__rail{border-left:3px solid rgb(220,220,220);padding-left:1rem}.scroll-anchors__indicator{position:absolute;top:0;left:0;width:3px;background-color:#000}.scroll-anchors__indicator--can-transition{transition-property:height,transform;transition-timing-function:ease-in-out;transition-duration:.25s}
1
+ .toast-animation-move,.toast-animation-enter-active,.toast-animation-leave-active{transition:all .3s ease}.toast-animation-enter-from,.toast-animation-leave-to{opacity:0;transform:translate(30px)}.toast-animation-leave-active{position:absolute;width:100%}.facets-dropdown-filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.facets-dropdown-filters__group{display:flex;gap:.5rem;align-items:center}.facets-header-layout__header{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap}.facets-results__list{list-style:none;padding:0}.facets-fade-enter-active,.facets-fade-leave-active{transition:opacity .25s ease}.facets-fade-enter-from,.facets-fade-leave-to{opacity:0}.facets-sidebar__body{display:grid;grid-template-columns:250px 1fr;gap:2rem}.facets-sidebar--filters-hidden .facets-sidebar__body{grid-template-columns:1fr}.scroll-anchors__rail{border-left:3px solid rgb(220,220,220);padding-left:1rem}.scroll-anchors__indicator{position:absolute;top:0;left:0;width:3px;background-color:#000}.scroll-anchors__indicator--can-transition{transition-property:height,transform;transition-timing-function:ease-in-out;transition-duration:.25s}
@@ -1,4 +1,4 @@
1
- import { _ as l, N as e, s as u, a1 as U, t, u as o, Q as i, v as r, w as n, x as c, y as S, h as d, W as F, O as p, z as b, j as m, X as k, Y as T, A as g, 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 C, J as R, K as f, L as D, B as I, am as N, C as E, D as j, R as q, S as G, U 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 Ua, an as ta, ao as oa, 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 ka, f as Ta, b as ga, 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 Ca, i as Ra } from "./index-DwyCjdba.js";
1
+ import { _ as l, N as e, s as u, a1 as U, t, u as o, Q as i, v as r, w as n, x as c, y as S, h as d, W as F, O as p, z as b, j as m, X as k, Y as T, A as g, 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 C, J as R, K as f, L as D, B as I, am as N, C as E, D as j, R as q, S as G, U 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 Ua, an as ta, ao as oa, 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 ka, f as Ta, b as ga, 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 Ca, i as Ra } from "./index-DygmGRgT.js";
2
2
  export {
3
3
  l as UluAccordion,
4
4
  e as UluAdaptiveLayout,
@@ -1,4 +1,4 @@
1
- import { reactive as qt, ref as I, computed as w, resolveDirective as Gn, createElementBlock as d, openBlock as u, Fragment as E, withDirectives as Oe, createElementVNode as h, unref as A, normalizeClass as m, renderSlot as g, createTextVNode as $, toDisplayString as b, withKeys as Zn, normalizeStyle as H, createCommentVNode as p, nextTick as Qn, toRef as Ws, createBlock as _, Teleport as dt, resolveDynamicComponent as V, mergeProps as le, inject as ft, watchEffect as ht, defineAsyncComponent as Xs, markRaw as xe, toRefs as Ys, toValue as ot, resolveComponent as N, withModifiers as qs, createVNode as z, useSlots as Ks, renderList as x, TransitionGroup as Jn, withCtx as S, onMounted as mt, onBeforeUnmount as es, watch as We, isRef as Gs, hasInjectionContext as Zs, getCurrentInstance as Qs, onDeactivated as Js, onActivated as eo, onUnmounted as ts, normalizeProps as ee, guardReactiveProps as te, vModelText as to, vShow as Mt, createSlots as Ae } from "vue";
1
+ import { reactive as qt, ref as I, computed as w, resolveDirective as Gn, createElementBlock as d, openBlock as u, Fragment as E, withDirectives as Oe, createElementVNode as h, unref as A, normalizeClass as m, renderSlot as g, createTextVNode as $, toDisplayString as p, withKeys as Zn, normalizeStyle as H, createCommentVNode as b, nextTick as Qn, toRef as Ws, createBlock as _, Teleport as dt, resolveDynamicComponent as V, mergeProps as le, inject as ft, watchEffect as ht, defineAsyncComponent as Xs, markRaw as xe, toRefs as Ys, toValue as ot, resolveComponent as N, withModifiers as qs, createVNode as z, useSlots as Ks, renderList as x, TransitionGroup as Jn, withCtx as S, onMounted as mt, onBeforeUnmount as es, watch as We, isRef as Gs, hasInjectionContext as Zs, getCurrentInstance as Qs, onDeactivated as Js, onActivated as eo, onUnmounted as ts, normalizeProps as ee, guardReactiveProps as te, vModelText as to, vShow as Mt, createSlots as Ae } from "vue";
2
2
  import { inline as ns, offset as ss, flip as os, shift as is, arrow as rs, useFloating as ls, autoUpdate as as } from "@floating-ui/vue";
3
3
  import { useRoute as cs, useRouter as no, RouterLink as gt } from "vue-router";
4
4
  import { Tab as so, TabGroup as oo, TabList as io, TabPanel as ro, TabPanels as lo } from "@headlessui/vue";
@@ -351,7 +351,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
351
351
  toggle: Me,
352
352
  close: de
353
353
  }, () => [
354
- $(b(e.triggerText), 1)
354
+ $(p(e.triggerText), 1)
355
355
  ])
356
356
  ], 10, po)), [
357
357
  [ke, e.tooltip ? e.tooltip : null]
@@ -383,7 +383,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
383
383
  ]),
384
384
  W.$slots.footer ? (u(), d("span", wo, [
385
385
  g(W.$slots, "footer", { close: de })
386
- ])) : p("", !0),
386
+ ])) : b("", !0),
387
387
  A(r).arrow ? (u(), d("span", {
388
388
  key: 1,
389
389
  class: "popover__arrow",
@@ -391,7 +391,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
391
391
  ref: f,
392
392
  style: H(Je.value),
393
393
  "data-ulu-popover-arrow": ""
394
- }, null, 4)) : p("", !0)
394
+ }, null, 4)) : b("", !0)
395
395
  ], 46, bo)
396
396
  ], 64);
397
397
  };
@@ -441,14 +441,14 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
441
441
  key: 0,
442
442
  class: "popover__inner",
443
443
  innerHTML: e.config.content
444
- }, null, 8, ko)) : (u(), d("span", $o, b(e.config.content), 1)),
444
+ }, null, 8, ko)) : (u(), d("span", $o, p(e.config.content), 1)),
445
445
  e.config.arrow ? (u(), d("span", {
446
446
  key: 2,
447
447
  class: "popover__arrow",
448
448
  ref_key: "contentArrow",
449
449
  ref: s,
450
450
  style: H(y.value)
451
- }, null, 4)) : p("", !0)
451
+ }, null, 4)) : b("", !0)
452
452
  ], 14, So));
453
453
  }
454
454
  }, To = {
@@ -460,7 +460,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
460
460
  A(Kt) ? (u(), _(Co, {
461
461
  key: 0,
462
462
  config: A(Gt)
463
- }, null, 8, ["config"])) : p("", !0)
463
+ }, null, 8, ["config"])) : b("", !0)
464
464
  ], 8, ["to"]));
465
465
  }
466
466
  };
@@ -519,7 +519,7 @@ function Oo(e, n, t, s, o, i) {
519
519
  "onUpdate:modelValue": n[0] || (n[0] = (r) => o.open = r),
520
520
  onVnodeMounted: i.modalMounted,
521
521
  onVnodeUnmounted: i.modalUnmounted
522
- }), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : p("", !0);
522
+ }), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : b("", !0);
523
523
  }
524
524
  const xo = /* @__PURE__ */ R(Ao, [["render", Oo]]);
525
525
  function Ro() {
@@ -586,7 +586,7 @@ const D = {
586
586
  key: 2,
587
587
  class: m([k.value, j.value]),
588
588
  "aria-hidden": "true"
589
- }, null, 2)) : p("", !0);
589
+ }, null, 2)) : b("", !0);
590
590
  }
591
591
  };
592
592
  function Ut(e) {
@@ -1208,8 +1208,8 @@ function Do(e, n, t, s, o, i) {
1208
1208
  key: 0,
1209
1209
  class: "modal__title-icon",
1210
1210
  icon: t.titleIcon
1211
- }, null, 8, ["icon"])) : p("", !0),
1212
- h("span", Ho, b(t.title), 1)
1211
+ }, null, 8, ["icon"])) : b("", !0),
1212
+ h("span", Ho, p(t.title), 1)
1213
1213
  ])
1214
1214
  ], 10, Fo),
1215
1215
  h("button", {
@@ -1225,7 +1225,7 @@ function Do(e, n, t, s, o, i) {
1225
1225
  }, null, 8, ["icon"])
1226
1226
  ])
1227
1227
  ])
1228
- ], 2)) : p("", !0),
1228
+ ], 2)) : b("", !0),
1229
1229
  h("div", {
1230
1230
  class: m(["modal__body", t.classes.body])
1231
1231
  }, [
@@ -1236,7 +1236,7 @@ function Do(e, n, t, s, o, i) {
1236
1236
  class: m(["site-modal__footer", t.classes.footer])
1237
1237
  }, [
1238
1238
  g(e.$slots, "footer", { close: i.close })
1239
- ], 2)) : p("", !0),
1239
+ ], 2)) : b("", !0),
1240
1240
  s.resizerEnabled ? (u(), d("button", No, [
1241
1241
  g(e.$slots, "resizerIcon", {}, () => [
1242
1242
  z(r, {
@@ -1244,7 +1244,7 @@ function Do(e, n, t, s, o, i) {
1244
1244
  icon: t.resizerIcon || s.resizerIconType
1245
1245
  }, null, 8, ["icon"])
1246
1246
  ])
1247
- ], 512)) : p("", !0)
1247
+ ], 512)) : b("", !0)
1248
1248
  ], 46, Vo)
1249
1249
  ], 8, ["to", "disabled"]);
1250
1250
  }
@@ -1363,9 +1363,9 @@ function Go(e, n, t, s, o, i) {
1363
1363
  t.toast.icon ? (u(), _(r, {
1364
1364
  key: 0,
1365
1365
  icon: t.toast.icon
1366
- }, null, 8, ["icon"])) : p("", !0)
1366
+ }, null, 8, ["icon"])) : b("", !0)
1367
1367
  ])
1368
- ], 2)) : p("", !0),
1368
+ ], 2)) : b("", !0),
1369
1369
  h("div", {
1370
1370
  class: m(["toast__content", t.classes.content])
1371
1371
  }, [
@@ -1376,16 +1376,16 @@ function Go(e, n, t, s, o, i) {
1376
1376
  }, [
1377
1377
  h("strong", {
1378
1378
  class: m(["toast__title", t.classes.title])
1379
- }, b(t.toast.title), 3),
1379
+ }, p(t.toast.title), 3),
1380
1380
  t.toast.date ? (u(), d("span", {
1381
1381
  key: 0,
1382
1382
  class: m(["toast__date", t.classes.date])
1383
- }, b(t.toast.date), 3)) : p("", !0)
1384
- ], 2)) : p("", !0),
1383
+ }, p(t.toast.date), 3)) : b("", !0)
1384
+ ], 2)) : b("", !0),
1385
1385
  t.toast.description ? (u(), d("div", {
1386
1386
  key: 1,
1387
1387
  class: m(["toast__body", t.classes.body])
1388
- }, b(t.toast.description), 3)) : p("", !0)
1388
+ }, p(t.toast.description), 3)) : b("", !0)
1389
1389
  ])
1390
1390
  ], 2),
1391
1391
  t.toast.actions?.length ? (u(), d("div", {
@@ -1396,8 +1396,8 @@ function Go(e, n, t, s, o, i) {
1396
1396
  key: a,
1397
1397
  class: m(["toast__action", t.classes.action]),
1398
1398
  onClick: (c) => i.handleAction(c, l)
1399
- }, b(l.label), 11, Ko))), 128))
1400
- ], 2)) : p("", !0),
1399
+ }, p(l.label), 11, Ko))), 128))
1400
+ ], 2)) : b("", !0),
1401
1401
  h("button", {
1402
1402
  class: m(["toast__close", t.classes.closeButton]),
1403
1403
  onClick: n[0] || (n[0] = (...l) => t.toast.close && t.toast.close(...l))
@@ -1541,7 +1541,7 @@ function ni(e) {
1541
1541
  await new Promise((f) => {
1542
1542
  document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
1543
1543
  });
1544
- const r = await import("./breakpoints-DfvqG8m8.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
1544
+ const r = await import("./breakpoints-D4qCPIvM.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
1545
1545
  t.value = xe(a);
1546
1546
  const c = () => {
1547
1547
  s.value = a.active, o.value = a.resizeDirection;
@@ -2058,7 +2058,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2058
2058
  isOpen: c.value,
2059
2059
  toggle: k
2060
2060
  }, () => [
2061
- $(b(e.triggerText), 1)
2061
+ $(p(e.triggerText), 1)
2062
2062
  ])
2063
2063
  ], 10, bi),
2064
2064
  c.value ? (u(), d("div", {
@@ -2077,7 +2077,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2077
2077
  toggle: k
2078
2078
  })
2079
2079
  ], 2)
2080
- ], 10, _i)) : p("", !0)
2080
+ ], 10, _i)) : b("", !0)
2081
2081
  ], 34));
2082
2082
  }
2083
2083
  }, Gf = {
@@ -2155,7 +2155,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2155
2155
  }, () => [
2156
2156
  (u(), _(V(e.triggerTextElement), null, {
2157
2157
  default: S(() => [
2158
- $(b(e.triggerText), 1)
2158
+ $(p(e.triggerText), 1)
2159
2159
  ]),
2160
2160
  _: 1
2161
2161
  }))
@@ -2225,9 +2225,9 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2225
2225
  key: 0,
2226
2226
  icon: e.icon,
2227
2227
  spaced: ""
2228
- }, null, 8, ["icon"])) : p("", !0),
2228
+ }, null, 8, ["icon"])) : b("", !0),
2229
2229
  g(s.$slots, "default", {}, () => [
2230
- h("span", null, b(e.text), 1)
2230
+ h("span", null, p(e.text), 1)
2231
2231
  ])
2232
2232
  ], 2));
2233
2233
  }
@@ -2296,15 +2296,17 @@ function Si(e, n, t, s, o, i) {
2296
2296
  ])
2297
2297
  }, [
2298
2298
  Oe((u(), _(V(f.to || f.path ? "router-link" : f.click ? "button" : "a"), le({ ref_for: !0 }, {
2299
- ...f.to || f.path ? { to: f.to || f.path } : {},
2299
+ ...f.to || f.path ? {
2300
+ to: f.to || f.path,
2301
+ activeClass: t.classes.linkActive || null,
2302
+ exactActiveClass: t.classes.linkExactActive || null
2303
+ } : {},
2300
2304
  ...f.href ? { href: f.href || "#" } : {}
2301
2305
  }, {
2302
2306
  onClick: (v) => {
2303
2307
  i.handleItemClick(v, f);
2304
2308
  },
2305
2309
  class: [t.classes.link, f?.classes?.link],
2306
- activeClass: t.classes.linkActive,
2307
- exactActiveClass: t.classes.linkExactActive,
2308
2310
  "aria-label": t.iconOnly ? f.title : null,
2309
2311
  id: f.id
2310
2312
  }), {
@@ -2317,18 +2319,18 @@ function Si(e, n, t, s, o, i) {
2317
2319
  key: 0,
2318
2320
  icon: f.icon,
2319
2321
  class: m([t.classes.linkIcon, f?.classes?.linkIcon])
2320
- }, null, 8, ["icon", "class"])) : p("", !0),
2322
+ }, null, 8, ["icon", "class"])) : b("", !0),
2321
2323
  h("span", {
2322
2324
  class: m([t.classes.linkText, f?.classes?.linkText])
2323
- }, b(f.title), 3),
2325
+ }, p(f.title), 3),
2324
2326
  f.tag ? (u(), _(l, le({
2325
2327
  key: 1,
2326
2328
  ref_for: !0
2327
- }, f.tag), null, 16)) : p("", !0)
2329
+ }, f.tag), null, 16)) : b("", !0)
2328
2330
  ])
2329
2331
  ]),
2330
2332
  _: 2
2331
- }, 1040, ["onClick", "class", "activeClass", "exactActiveClass", "aria-label", "id"])), [
2333
+ }, 1040, ["onClick", "class", "aria-label", "id"])), [
2332
2334
  [c, t.iconOnly ? f.title : f.tooltip || null]
2333
2335
  ]),
2334
2336
  !t.noChildren && f?.children?.length ? (u(), _(a, {
@@ -2336,9 +2338,9 @@ function Si(e, n, t, s, o, i) {
2336
2338
  iconOnly: t.iconOnly,
2337
2339
  classes: t.classes,
2338
2340
  items: f.children
2339
- }, null, 8, ["iconOnly", "classes", "items"])) : p("", !0)
2341
+ }, null, 8, ["iconOnly", "classes", "items"])) : b("", !0)
2340
2342
  ], 2))), 128))
2341
- ], 2)) : p("", !0);
2343
+ ], 2)) : b("", !0);
2342
2344
  }
2343
2345
  const _s = /* @__PURE__ */ R(wi, [["render", Si]]), ki = {
2344
2346
  __name: "UluMenuStack",
@@ -2426,7 +2428,7 @@ const _s = /* @__PURE__ */ R(wi, [["render", Si]]), ki = {
2426
2428
  return (n, t) => (u(), _(vt, { classes: e.popoverClasses }, {
2427
2429
  trigger: S(({ isOpen: s }) => [
2428
2430
  g(n.$slots, "trigger", { isOpen: s }, () => [
2429
- h("span", null, b(e.triggerText), 1),
2431
+ h("span", null, p(e.triggerText), 1),
2430
2432
  z(D, {
2431
2433
  class: "button__icon",
2432
2434
  icon: "type:dropdownExpand",
@@ -2760,7 +2762,7 @@ const Vi = { class: "layout-flex-baseline" }, Fi = { class: "type-word-break" },
2760
2762
  ])
2761
2763
  ]),
2762
2764
  _: 3
2763
- })) : p("", !0)
2765
+ })) : b("", !0)
2764
2766
  ]));
2765
2767
  }
2766
2768
  }, th = {
@@ -2960,17 +2962,17 @@ function Di(e, n, t, s, o, i) {
2960
2962
  key: 0,
2961
2963
  icon: t.icon,
2962
2964
  class: "button__icon"
2963
- }, null, 8, ["icon"])) : p("", !0),
2965
+ }, null, 8, ["icon"])) : b("", !0),
2964
2966
  (e.$slots.default || t.text) && !t.iconOnly ? (u(), d("span", Ni, [
2965
2967
  g(e.$slots, "default", {}, () => [
2966
- $(b(t.text), 1)
2968
+ $(p(t.text), 1)
2967
2969
  ])
2968
- ])) : p("", !0),
2970
+ ])) : b("", !0),
2969
2971
  t.icon && !t.iconBefore && !t.iconOnly ? (u(), _(r, {
2970
2972
  key: 2,
2971
2973
  icon: t.icon,
2972
2974
  class: "button__icon"
2973
- }, null, 8, ["icon"])) : p("", !0),
2975
+ }, null, 8, ["icon"])) : b("", !0),
2974
2976
  g(e.$slots, "after")
2975
2977
  ]),
2976
2978
  _: 3
@@ -3039,18 +3041,18 @@ function Gi(e, n, t, s, o, i) {
3039
3041
  h("div", qi, [
3040
3042
  h("div", null, [
3041
3043
  g(e.$slots, "title", {}, () => [
3042
- h("strong", null, b(t.title), 1)
3044
+ h("strong", null, p(t.title), 1)
3043
3045
  ])
3044
3046
  ]),
3045
3047
  h("div", null, [
3046
3048
  g(e.$slots, "description", {}, () => [
3047
- $(b(t.description), 1)
3049
+ $(p(t.description), 1)
3048
3050
  ])
3049
3051
  ])
3050
3052
  ]),
3051
3053
  e.$slots.action ? (u(), d("div", Ki, [
3052
3054
  g(e.$slots, "action")
3053
- ])) : p("", !0)
3055
+ ])) : b("", !0)
3054
3056
  ])
3055
3057
  ], 2);
3056
3058
  }
@@ -3115,8 +3117,8 @@ const rh = /* @__PURE__ */ R(Xi, [["render", Gi]]), Zi = ["aria-hidden"], Qi = {
3115
3117
  e.text ? (u(), d("span", {
3116
3118
  key: 0,
3117
3119
  "aria-hidden": e.alt ? "true" : null
3118
- }, b(e.text), 9, Zi)) : g(o.$slots, "default", { key: 1 }),
3119
- e.alt ? (u(), d("span", Qi, b(e.alt), 1)) : p("", !0)
3120
+ }, p(e.text), 9, Zi)) : g(o.$slots, "default", { key: 1 }),
3121
+ e.alt ? (u(), d("span", Qi, p(e.alt), 1)) : b("", !0)
3120
3122
  ], 2)
3121
3123
  ]),
3122
3124
  _: 3
@@ -3229,22 +3231,22 @@ function sr(e, n, t, s, o, i) {
3229
3231
  }, {
3230
3232
  default: S(() => [
3231
3233
  g(e.$slots, "title", {}, () => [
3232
- $(b(t.title), 1)
3234
+ $(p(t.title), 1)
3233
3235
  ])
3234
3236
  ]),
3235
3237
  _: 3
3236
- })) : p("", !0),
3238
+ })) : b("", !0),
3237
3239
  e.$slots.default || t.body ? (u(), d("span", nr, [
3238
3240
  g(e.$slots, "default", {}, () => [
3239
- $(b(t.body), 1)
3241
+ $(p(t.body), 1)
3240
3242
  ])
3241
- ])) : p("", !0),
3243
+ ])) : b("", !0),
3242
3244
  t.icon ? (u(), _(r, {
3243
3245
  key: 2,
3244
3246
  icon: t.icon,
3245
3247
  class: "button-verbose__icon",
3246
3248
  "aria-hidden": "true"
3247
- }, null, 8, ["icon"])) : p("", !0)
3249
+ }, null, 8, ["icon"])) : b("", !0)
3248
3250
  ]),
3249
3251
  _: 3
3250
3252
  }, 16, ["class"]);
@@ -3459,7 +3461,7 @@ function hr(e, n, t, s, o, i) {
3459
3461
  }, {
3460
3462
  default: S(() => [
3461
3463
  g(e.$slots, "title", {}, () => [
3462
- $(b(t.title), 1)
3464
+ $(p(t.title), 1)
3463
3465
  ])
3464
3466
  ]),
3465
3467
  _: 3
@@ -3471,10 +3473,10 @@ function hr(e, n, t, s, o, i) {
3471
3473
  ref: "link"
3472
3474
  }, [
3473
3475
  g(e.$slots, "title", {}, () => [
3474
- $(b(t.title), 1)
3476
+ $(p(t.title), 1)
3475
3477
  ])
3476
3478
  ], 8, cr)) : g(e.$slots, "title", { key: 2 }, () => [
3477
- $(b(t.title), 1)
3479
+ $(p(t.title), 1)
3478
3480
  ])
3479
3481
  ]),
3480
3482
  _: 3
@@ -3483,7 +3485,7 @@ function hr(e, n, t, s, o, i) {
3483
3485
  ]),
3484
3486
  e.$slots.aside ? (u(), d("div", ur, [
3485
3487
  g(e.$slots, "aside")
3486
- ])) : p("", !0)
3488
+ ])) : b("", !0)
3487
3489
  ]),
3488
3490
  e.$slots.image || t.imageSrc ? (u(), d("div", {
3489
3491
  key: 0,
@@ -3498,10 +3500,10 @@ function hr(e, n, t, s, o, i) {
3498
3500
  alt: t.imageAlt
3499
3501
  }, null, 8, dr)
3500
3502
  ])
3501
- ], 2)) : p("", !0),
3503
+ ], 2)) : b("", !0),
3502
3504
  e.$slots.footer ? (u(), d("div", fr, [
3503
3505
  g(e.$slots, "footer")
3504
- ])) : p("", !0)
3506
+ ])) : b("", !0)
3505
3507
  ]),
3506
3508
  _: 3
3507
3509
  }, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
@@ -3537,7 +3539,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3537
3539
  item: s,
3538
3540
  index: o
3539
3541
  }, () => [
3540
- $(b(s.term), 1)
3542
+ $(p(s.term), 1)
3541
3543
  ])
3542
3544
  ], 2),
3543
3545
  h("dd", {
@@ -3547,7 +3549,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3547
3549
  item: s,
3548
3550
  index: o
3549
3551
  }, () => [
3550
- $(b(s.description), 1)
3552
+ $(p(s.description), 1)
3551
3553
  ])
3552
3554
  ], 2)
3553
3555
  ], 2))), 128))
@@ -3584,7 +3586,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3584
3586
  }, [
3585
3587
  h("span", gr, [
3586
3588
  g(n.$slots, "default", {}, () => [
3587
- $(b(e.text), 1)
3589
+ $(p(e.text), 1)
3588
3590
  ])
3589
3591
  ]),
3590
3592
  z(D, {
@@ -3669,7 +3671,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3669
3671
  item: i,
3670
3672
  index: r
3671
3673
  }, () => [
3672
- $(b(i), 1)
3674
+ $(p(i), 1)
3673
3675
  ])
3674
3676
  ], 2))), 128))
3675
3677
  ]),
@@ -3746,7 +3748,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3746
3748
  key: 0,
3747
3749
  id: i.value,
3748
3750
  class: "hidden-visually"
3749
- }, b(e.legend), 9, wr)) : p("", !0),
3751
+ }, p(e.legend), 9, wr)) : b("", !0),
3750
3752
  h("ul", Sr, [
3751
3753
  (u(!0), d(E, null, x(e.options, (v) => (u(), d("li", {
3752
3754
  class: "menu-stack__item",
@@ -3765,7 +3767,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3765
3767
  for: l(v)
3766
3768
  }, [
3767
3769
  g(f.$slots, "default", { option: v }, () => [
3768
- $(b(v?.label || v?.title || v?.text), 1)
3770
+ $(p(v?.label || v?.title || v?.text), 1)
3769
3771
  ])
3770
3772
  ], 8, Cr)
3771
3773
  ])
@@ -3814,8 +3816,8 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3814
3816
  icon: e.icon
3815
3817
  }, null, 8, ["icon"]),
3816
3818
  h("span", Ar, [
3817
- $(b(e.file.name) + " ", 1),
3818
- e.noFileSize ? p("", !0) : (u(), _(bs, {
3819
+ $(p(e.file.name) + " ", 1),
3820
+ e.noFileSize ? b("", !0) : (u(), _(bs, {
3819
3821
  key: 0,
3820
3822
  text: s.value,
3821
3823
  small: "",
@@ -3866,7 +3868,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3866
3868
  for: A(o)
3867
3869
  }, [
3868
3870
  g(r.$slots, "label", {}, () => [
3869
- $(b(e.label), 1)
3871
+ $(p(e.label), 1)
3870
3872
  ])
3871
3873
  ], 10, xr),
3872
3874
  h("input", le({
@@ -3899,7 +3901,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3899
3901
  e.error || e.warning ? (u(), _(D, {
3900
3902
  key: 0,
3901
3903
  icon: `type:${e.error ? "error" : "warning"}`
3902
- }, null, 8, ["icon"])) : p("", !0),
3904
+ }, null, 8, ["icon"])) : b("", !0),
3903
3905
  g(n.$slots, "default")
3904
3906
  ], 2));
3905
3907
  }
@@ -3935,7 +3937,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3935
3937
  for: A(t)
3936
3938
  }, [
3937
3939
  g(s.$slots, "default", {}, () => [
3938
- $(b(e.label), 1)
3940
+ $(p(e.label), 1)
3939
3941
  ])
3940
3942
  ], 10, jr),
3941
3943
  h("select", {
@@ -3950,7 +3952,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3950
3952
  (u(!0), d(E, null, x(e.options, (i, r) => (u(), d("option", {
3951
3953
  key: r,
3952
3954
  value: i.value
3953
- }, b(i.text), 9, zr))), 128))
3955
+ }, p(i.text), 9, zr))), 128))
3954
3956
  ], 40, Ir)
3955
3957
  ]));
3956
3958
  }
@@ -3982,7 +3984,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3982
3984
  for: A(t)
3983
3985
  }, [
3984
3986
  g(s.$slots, "default", {}, () => [
3985
- $(b(e.label), 1)
3987
+ $(p(e.label), 1)
3986
3988
  ])
3987
3989
  ], 10, Ur),
3988
3990
  h("input", {
@@ -4132,9 +4134,9 @@ function qr(e, n, t, s, o, i) {
4132
4134
  key: 0,
4133
4135
  class: m(t.classes.icon),
4134
4136
  icon: t.icon
4135
- }, null, 8, ["class", "icon"])) : p("", !0),
4137
+ }, null, 8, ["class", "icon"])) : b("", !0),
4136
4138
  g(e.$slots, "default", {}, () => [
4137
- $(b(t.title), 1)
4139
+ $(p(t.title), 1)
4138
4140
  ])
4139
4141
  ]),
4140
4142
  _: 3
@@ -4142,7 +4144,7 @@ function qr(e, n, t, s, o, i) {
4142
4144
  ], 2),
4143
4145
  e.$slots.end ? (u(), d("div", Yr, [
4144
4146
  g(e.$slots, "end")
4145
- ])) : p("", !0)
4147
+ ])) : b("", !0)
4146
4148
  ], 2);
4147
4149
  }
4148
4150
  const $h = /* @__PURE__ */ R(Xr, [["render", qr]]), Kr = {
@@ -4199,7 +4201,7 @@ function Gr(e, n, t, s, o, i) {
4199
4201
  class: m(a.current)
4200
4202
  }, [
4201
4203
  g(e.$slots, "default", { item: a }, () => [
4202
- $(b(a.title), 1)
4204
+ $(p(a.title), 1)
4203
4205
  ])
4204
4206
  ], 2)) : (u(), _(r, {
4205
4207
  key: 0,
@@ -4209,7 +4211,7 @@ function Gr(e, n, t, s, o, i) {
4209
4211
  }, {
4210
4212
  default: S(() => [
4211
4213
  g(e.$slots, "default", { item: a }, () => [
4212
- $(b(a.title), 1)
4214
+ $(p(a.title), 1)
4213
4215
  ])
4214
4216
  ]),
4215
4217
  _: 2
@@ -4219,10 +4221,10 @@ function Gr(e, n, t, s, o, i) {
4219
4221
  class: m(t.classes.separator),
4220
4222
  icon: t.separatorIcon || "type:pathSeparator"
4221
4223
  }, null, 8, ["class", "icon"])
4222
- ]) : p("", !0)
4224
+ ]) : b("", !0)
4223
4225
  ], 2))), 128))
4224
4226
  ], 2)
4225
- ], 2)) : p("", !0);
4227
+ ], 2)) : b("", !0);
4226
4228
  }
4227
4229
  const Ch = /* @__PURE__ */ R(Kr, [["render", Gr]]), Zr = {
4228
4230
  name: "UluNavStrip",
@@ -4294,10 +4296,10 @@ const Ah = /* @__PURE__ */ R(Jr, [["render", tl]]), nl = {
4294
4296
  function sl(e, n, t, s, o, i) {
4295
4297
  return t.text != null ? (u(), _(V(t.element), { key: 0 }, {
4296
4298
  default: S(() => [
4297
- $(b(t.text), 1)
4299
+ $(p(t.text), 1)
4298
4300
  ]),
4299
4301
  _: 1
4300
- })) : p("", !0);
4302
+ })) : b("", !0);
4301
4303
  }
4302
4304
  const Oh = /* @__PURE__ */ R(nl, [["render", sl]]), ol = {}, il = { style: { display: "none" } };
4303
4305
  function rl(e, n) {
@@ -4431,7 +4433,7 @@ function gl(e, n, t, s, o, i) {
4431
4433
  tabindex: "-1",
4432
4434
  class: "hidden-visually",
4433
4435
  ref: "el"
4434
- }, b(i.title), 513)) : p("", !0);
4436
+ }, p(i.title), 513)) : b("", !0);
4435
4437
  }
4436
4438
  const Ih = /* @__PURE__ */ R(ml, [["render", gl]]), vl = {
4437
4439
  name: "AnimateNumber",
@@ -4461,7 +4463,7 @@ const Ih = /* @__PURE__ */ R(ml, [["render", gl]]), vl = {
4461
4463
  function yl(e, n, t, s, o, i) {
4462
4464
  return u(), d("span", null, [
4463
4465
  g(e.$slots, "default", { currentValue: o.currentValue }, () => [
4464
- $(b(o.currentValue), 1)
4466
+ $(p(o.currentValue), 1)
4465
4467
  ])
4466
4468
  ]);
4467
4469
  }
@@ -4584,21 +4586,21 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4584
4586
  }, {
4585
4587
  default: S(() => [
4586
4588
  g(r.$slots, "label", {}, () => [
4587
- $(b(e.label), 1)
4589
+ $(p(e.label), 1)
4588
4590
  ])
4589
4591
  ]),
4590
4592
  _: 3
4591
- }, 8, ["class"])) : p("", !0),
4593
+ }, 8, ["class"])) : b("", !0),
4592
4594
  e.amountInHeader ? (u(), d("div", bl, [
4593
4595
  l[0] || (l[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
4594
4596
  g(r.$slots, "valueAmount", { value: e.amount }, () => [
4595
- $(b(e.formatValue(e.amount, "amount")), 1)
4597
+ $(p(e.formatValue(e.amount, "amount")), 1)
4596
4598
  ])
4597
- ])) : p("", !0),
4599
+ ])) : b("", !0),
4598
4600
  r.$slots.icon ? (u(), d("div", _l, [
4599
4601
  g(r.$slots, "icon")
4600
- ])) : p("", !0)
4601
- ])) : p("", !0),
4602
+ ])) : b("", !0)
4603
+ ])) : b("", !0),
4602
4604
  h("div", wl, [
4603
4605
  h("div", {
4604
4606
  class: "progress-bar__bar",
@@ -4608,28 +4610,28 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4608
4610
  key: 0,
4609
4611
  class: "progress-bar__bar--deficit",
4610
4612
  style: H({ width: o.value })
4611
- }, null, 4)) : p("", !0)
4613
+ }, null, 4)) : b("", !0)
4612
4614
  ]),
4613
4615
  !e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (u(), d("div", Sl, [
4614
4616
  h("div", kl, [
4615
4617
  l[1] || (l[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
4616
4618
  g(r.$slots, "valueAmount", { value: e.amount }, () => [
4617
- $(b(e.formatValue(e.amount, "amount")), 1)
4619
+ $(p(e.formatValue(e.amount, "amount")), 1)
4618
4620
  ])
4619
4621
  ]),
4620
4622
  e.deficit > 0 ? (u(), d("div", $l, [
4621
4623
  l[2] || (l[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
4622
4624
  g(r.$slots, "valueDeficit", { value: e.deficit }, () => [
4623
- $("-" + b(e.formatValue(e.deficit, "deficit")), 1)
4625
+ $("-" + p(e.formatValue(e.deficit, "deficit")), 1)
4624
4626
  ])
4625
- ])) : p("", !0),
4627
+ ])) : b("", !0),
4626
4628
  h("div", Cl, [
4627
4629
  l[3] || (l[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
4628
4630
  g(r.$slots, "valueTotal", { value: e.total }, () => [
4629
- $(b(e.formatValue(e.total, "total")), 1)
4631
+ $(p(e.formatValue(e.total, "total")), 1)
4630
4632
  ])
4631
4633
  ])
4632
- ])) : p("", !0)
4634
+ ])) : b("", !0)
4633
4635
  ], 2));
4634
4636
  }
4635
4637
  }, Tl = { class: "hidden-visually" }, Al = { class: "progress-circle__chart" }, Ol = {
@@ -4739,7 +4741,7 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4739
4741
  }), (a, c) => (u(), d("div", {
4740
4742
  class: m(l.value)
4741
4743
  }, [
4742
- h("strong", Tl, b(e.label), 1),
4744
+ h("strong", Tl, p(e.label), 1),
4743
4745
  h("div", Al, [
4744
4746
  (u(), d("svg", Ol, [
4745
4747
  c[0] || (c[0] = h("circle", {
@@ -4765,15 +4767,15 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4765
4767
  ])),
4766
4768
  !r.value && !e.noValue ? (u(), d("strong", xl, [
4767
4769
  g(a.$slots, "value", { value: e.percentage }, () => [
4768
- $(b(e.formatValue(e.percentage)), 1)
4770
+ $(p(e.formatValue(e.percentage)), 1)
4769
4771
  ])
4770
- ])) : p("", !0)
4772
+ ])) : b("", !0)
4771
4773
  ]),
4772
4774
  r.value && !e.noValue ? (u(), d("strong", Rl, [
4773
4775
  g(a.$slots, "value", { value: e.percentage }, () => [
4774
- $(b(e.formatValue(e.percentage)), 1)
4776
+ $(p(e.formatValue(e.percentage)), 1)
4775
4777
  ])
4776
- ])) : p("", !0)
4778
+ ])) : b("", !0)
4777
4779
  ], 2));
4778
4780
  }
4779
4781
  };
@@ -5014,8 +5016,8 @@ const Il = { key: 0 }, Tn = {
5014
5016
  "onUpdate:modelValue": i
5015
5017
  }, {
5016
5018
  default: S(({ option: a }) => [
5017
- $(b(a.label) + " ", 1),
5018
- a.count !== void 0 ? (u(), d("span", Il, "(" + b(a.count) + ")", 1)) : p("", !0)
5019
+ $(p(a.label) + " ", 1),
5020
+ a.count !== void 0 ? (u(), d("span", Il, "(" + p(a.count) + ")", 1)) : b("", !0)
5019
5021
  ]),
5020
5022
  _: 1
5021
5023
  }, 8, ["legend", "type", "options", "model-value"]));
@@ -5064,7 +5066,7 @@ const Il = { key: 0 }, Tn = {
5064
5066
  group: r,
5065
5067
  isOpen: l
5066
5068
  }, () => [
5067
- $(b(r.name), 1)
5069
+ $(p(r.name), 1)
5068
5070
  ])
5069
5071
  ]),
5070
5072
  default: S(() => [
@@ -5084,7 +5086,7 @@ const Il = { key: 0 }, Tn = {
5084
5086
  transitionHeight: !0
5085
5087
  }, {
5086
5088
  trigger: S(({ isOpen: l }) => [
5087
- $(b(l ? "View Less" : "Show More"), 1)
5089
+ $(p(l ? "View Less" : "Show More"), 1)
5088
5090
  ]),
5089
5091
  default: S(() => [
5090
5092
  z(Tn, {
@@ -5097,7 +5099,7 @@ const Il = { key: 0 }, Tn = {
5097
5099
  }, null, 8, ["children", "groupUid", "groupName", "type", "model-value"])
5098
5100
  ]),
5099
5101
  _: 2
5100
- }, 1032, ["class"])) : p("", !0)
5102
+ }, 1032, ["class"])) : b("", !0)
5101
5103
  ]),
5102
5104
  _: 2
5103
5105
  }, 1032, ["classes", "startOpen"]))), 128))
@@ -5179,8 +5181,8 @@ const Il = { key: 0 }, Tn = {
5179
5181
  label: i(c)
5180
5182
  }, () => [
5181
5183
  h("span", null, [
5182
- $(b(c.name) + ": ", 1),
5183
- h("strong", null, b(i(c)), 1)
5184
+ $(p(c.name) + ": ", 1),
5185
+ h("strong", null, p(i(c)), 1)
5184
5186
  ])
5185
5187
  ]),
5186
5188
  z(D, {
@@ -5233,18 +5235,18 @@ const Il = { key: 0 }, Tn = {
5233
5235
  h("label", {
5234
5236
  for: `facet-dropdown-${r.uid}`,
5235
5237
  class: "facets-dropdown-filters__label"
5236
- }, b(r.name), 9, Ul),
5238
+ }, p(r.name), 9, Ul),
5237
5239
  h("select", {
5238
5240
  id: `facet-dropdown-${r.uid}`,
5239
5241
  class: "facets-dropdown-filters__select",
5240
5242
  onChange: (l) => s(r, l)
5241
5243
  }, [
5242
- h("option", Pl, "All " + b(r.name) + "s", 1),
5244
+ h("option", Pl, "All " + p(r.name) + "s", 1),
5243
5245
  (u(!0), d(E, null, x(r.children, (l) => (u(), d("option", {
5244
5246
  key: l.uid,
5245
5247
  value: l.uid,
5246
5248
  selected: l.selected
5247
- }, b(l.label), 9, Ll))), 128))
5249
+ }, p(l.label), 9, Ll))), 128))
5248
5250
  ], 40, Bl)
5249
5251
  ]))), 128))
5250
5252
  ]));
@@ -5354,27 +5356,44 @@ const Il = { key: 0 }, Tn = {
5354
5356
  ])
5355
5357
  ]));
5356
5358
  }
5357
- }, Yl = { class: "facets-sidebar-layout__header" }, ql = { class: "facets-sidebar-layout__mobile-controls" }, Kl = { class: "facets-sidebar-layout__body" }, Gl = { class: "facets-sidebar-layout__main" }, Dh = {
5359
+ }, Yl = { class: "facets-sidebar__header" }, ql = { class: "facets-sidebar__mobile-controls" }, Kl = { class: "facets-sidebar__body" }, Gl = { class: "facets-sidebar__main" }, Dh = {
5358
5360
  __name: "UluFacetsSidebarLayout",
5361
+ props: {
5362
+ mobileButtonText: {
5363
+ type: String,
5364
+ default: "Filters & Sort"
5365
+ },
5366
+ /**
5367
+ * Classes for elements. See UluCollapsible for all available class keys (toggle, content, etc).
5368
+ * The 'icon' key is also available for the icon span.
5369
+ * - Any valid class binding value per element
5370
+ */
5371
+ classes: {
5372
+ type: Object,
5373
+ default: () => ({
5374
+ mobileButton: "button"
5375
+ })
5376
+ }
5377
+ },
5359
5378
  setup(e) {
5360
5379
  const n = I(!1), t = ft("uluIsMobile"), s = I(null), o = I(null), i = w(() => t.value ? o.value : s.value);
5361
5380
  return (r, l) => (u(), d("div", {
5362
- class: m(["facets-sidebar-layout", { "facets-sidebar-layout--filters-hidden": A(t) }])
5381
+ class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": A(t) }])
5363
5382
  }, [
5364
5383
  h("div", Yl, [
5365
5384
  g(r.$slots, "header")
5366
5385
  ]),
5367
5386
  Oe(h("div", ql, [
5368
5387
  h("button", {
5369
- class: "button",
5388
+ class: m(e.classes.mobileButton),
5370
5389
  onClick: l[0] || (l[0] = (a) => n.value = !0)
5371
- }, "Filters & Sort")
5390
+ }, p(e.mobileButtonText), 3)
5372
5391
  ], 512), [
5373
5392
  [Mt, A(t)]
5374
5393
  ]),
5375
5394
  h("div", Kl, [
5376
5395
  Oe(h("div", {
5377
- class: "facets-sidebar-layout__sidebar",
5396
+ class: "facets-sidebar__sidebar",
5378
5397
  ref_key: "desktopTarget",
5379
5398
  ref: s
5380
5399
  }, null, 512), [
@@ -5394,19 +5413,19 @@ const Il = { key: 0 }, Tn = {
5394
5413
  }, {
5395
5414
  default: S(() => [
5396
5415
  h("div", {
5397
- class: "facets-sidebar-layout__sidebar",
5416
+ class: "facets-sidebar__sidebar",
5398
5417
  ref_key: "mobileTarget",
5399
5418
  ref: o
5400
5419
  }, null, 512)
5401
5420
  ]),
5402
5421
  _: 1
5403
- }, 8, ["modelValue"])) : p("", !0),
5422
+ }, 8, ["modelValue"])) : b("", !0),
5404
5423
  i.value ? (u(), _(dt, {
5405
5424
  key: 1,
5406
5425
  to: i.value
5407
5426
  }, [
5408
5427
  g(r.$slots, "sidebar")
5409
- ], 8, ["to"])) : p("", !0)
5428
+ ], 8, ["to"])) : b("", !0)
5410
5429
  ], 2));
5411
5430
  }
5412
5431
  }, Zl = ["for"], Ql = ["value", "id"], Jl = ["value"], Wh = {
@@ -5449,7 +5468,7 @@ const Il = { key: 0 }, Tn = {
5449
5468
  (u(!0), d(E, null, x(e.sortTypes, (l, a) => (u(), d("option", {
5450
5469
  value: a,
5451
5470
  key: a
5452
- }, b(l.text), 9, Jl))), 128))
5471
+ }, p(l.text), 9, Jl))), 128))
5453
5472
  ], 42, Ql)
5454
5473
  ], 2));
5455
5474
  }
@@ -5590,12 +5609,12 @@ function ia(e, n, t, s, o, i) {
5590
5609
  h("a", {
5591
5610
  class: m({ "is-active": r.active }),
5592
5611
  href: `#${r.titleId}`
5593
- }, b(r.title), 11, oa)
5612
+ }, p(r.title), 11, oa)
5594
5613
  ], 2))), 128))
5595
5614
  ])
5596
5615
  ]),
5597
5616
  _: 1
5598
- })) : p("", !0);
5617
+ })) : b("", !0);
5599
5618
  }
5600
5619
  const Yh = /* @__PURE__ */ R(sa, [["render", ia]]);
5601
5620
  function As(e) {
@@ -5669,7 +5688,7 @@ function ca(e, n, t, s, o, i) {
5669
5688
  ref_for: !0,
5670
5689
  ref: (a) => i.addLinkRef(l, a),
5671
5690
  href: `#${r.titleId}`
5672
- }, b(r.title), 11, aa)
5691
+ }, p(r.title), 11, aa)
5673
5692
  ], 2))), 128))
5674
5693
  ]),
5675
5694
  h("div", {
@@ -5685,7 +5704,7 @@ function ca(e, n, t, s, o, i) {
5685
5704
  }, null, 6)
5686
5705
  ]),
5687
5706
  _: 1
5688
- })) : p("", !0);
5707
+ })) : b("", !0);
5689
5708
  }
5690
5709
  const qh = /* @__PURE__ */ R(ra, [["render", ca]]), ua = {
5691
5710
  name: "ScrollAnchorsSection",
@@ -5742,7 +5761,7 @@ function da(e, n, t, s, o, i) {
5742
5761
  id: o.titleId
5743
5762
  }, {
5744
5763
  default: S(() => [
5745
- $(b(t.title), 1)
5764
+ $(p(t.title), 1)
5746
5765
  ]),
5747
5766
  _: 1
5748
5767
  }, 8, ["class", "id"])),
@@ -6099,7 +6118,7 @@ function xa(e, n, t, s, o, i) {
6099
6118
  ])
6100
6119
  ])
6101
6120
  ], 512),
6102
- t.noNav ? p("", !0) : (u(), d("ul", Ta, [
6121
+ t.noNav ? b("", !0) : (u(), d("ul", Ta, [
6103
6122
  (u(!0), d(E, null, x(o.slides, (l, a) => (u(), d("li", {
6104
6123
  class: m(["slideshow__nav-item", { "is-active": l.active }]),
6105
6124
  ref_for: !0,
@@ -6117,7 +6136,7 @@ function xa(e, n, t, s, o, i) {
6117
6136
  index: a,
6118
6137
  active: l.active
6119
6138
  }, () => [
6120
- h("span", Oa, "Item " + b(a + 1), 1)
6139
+ h("span", Oa, "Item " + p(a + 1), 1)
6121
6140
  ])
6122
6141
  ], 10, Aa)
6123
6142
  ], 2))), 128))
@@ -6178,7 +6197,7 @@ function Ma(e, n, t, s, o, i) {
6178
6197
  $(" Select ", -1)
6179
6198
  ])]),
6180
6199
  _: 1
6181
- })) : p("", !0)
6200
+ })) : b("", !0)
6182
6201
  ])
6183
6202
  ]),
6184
6203
  nav: S(({ index: a }) => [
@@ -6260,7 +6279,7 @@ function Fa(e, n, t, s, o, i) {
6260
6279
  key: 1,
6261
6280
  innerHTML: t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })
6262
6281
  }, null, 8, Va)) : (u(), d(E, { key: 2 }, [
6263
- $(b(t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
6282
+ $(p(t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
6264
6283
  ], 64))
6265
6284
  ]),
6266
6285
  _: 2
@@ -6363,7 +6382,7 @@ function ec(e, n, t, s, o, i) {
6363
6382
  class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
6364
6383
  "aria-hidden": t.isActual ? "false" : "true"
6365
6384
  }, [
6366
- t.caption ? (u(), d("caption", Wa, b(t.caption), 1)) : p("", !0),
6385
+ t.caption ? (u(), d("caption", Wa, p(t.caption), 1)) : b("", !0),
6367
6386
  h("thead", null, [
6368
6387
  (u(!0), d(E, null, x(t.headerRows, (l, a) => (u(), d("tr", {
6369
6388
  key: `hr-${a}`,
@@ -6416,7 +6435,7 @@ function ec(e, n, t, s, o, i) {
6416
6435
  key: 1,
6417
6436
  innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
6418
6437
  }, null, 8, qa)) : (u(), d(E, { key: 2 }, [
6419
- $(b(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6438
+ $(p(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6420
6439
  ], 64)),
6421
6440
  h("span", Ka, [
6422
6441
  h("span", Ga, [
@@ -6437,7 +6456,7 @@ function ec(e, n, t, s, o, i) {
6437
6456
  key: 1,
6438
6457
  innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
6439
6458
  }, null, 8, Za)) : (u(), d(E, { key: 2 }, [
6440
- $(b(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6459
+ $(p(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6441
6460
  ], 64))
6442
6461
  ], 64))
6443
6462
  ], 14, Ya))), 128))
@@ -6462,7 +6481,7 @@ function ec(e, n, t, s, o, i) {
6462
6481
  ])
6463
6482
  }))
6464
6483
  ]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
6465
- ])) : p("", !0),
6484
+ ])) : b("", !0),
6466
6485
  t.footerRows ? (u(), d("tfoot", Ja, [
6467
6486
  z(r, {
6468
6487
  rows: t.footerRows,
@@ -6483,7 +6502,7 @@ function ec(e, n, t, s, o, i) {
6483
6502
  ])
6484
6503
  }))
6485
6504
  ]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
6486
- ])) : p("", !0)
6505
+ ])) : b("", !0)
6487
6506
  ], 10, Da);
6488
6507
  }
6489
6508
  const tc = /* @__PURE__ */ R(Na, [["render", ec]]);
@@ -7467,7 +7486,7 @@ function Pf(e, n, t, s, o, i) {
7467
7486
  g(e.$slots, a, ee(te(c)))
7468
7487
  ])
7469
7488
  }))
7470
- ]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : p("", !0)
7489
+ ]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : b("", !0)
7471
7490
  ]),
7472
7491
  h("div", If, [
7473
7492
  Oe(h("div", {
@@ -7567,7 +7586,7 @@ function Pf(e, n, t, s, o, i) {
7567
7586
  g(e.$slots, a, ee(te(c)))
7568
7587
  ])
7569
7588
  }))
7570
- ]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : p("", !0)
7589
+ ]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : b("", !0)
7571
7590
  ], 2);
7572
7591
  }
7573
7592
  const nm = /* @__PURE__ */ R(xf, [["render", Pf]]), sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -17,13 +17,15 @@
17
17
  <component
18
18
  :is="item.to || item.path ? 'router-link' : item.click ? 'button' : 'a'"
19
19
  v-bind="{
20
- ...(item.to || item.path ? { to: item.to || item.path } : {}),
20
+ ...(item.to || item.path ? {
21
+ to: item.to || item.path,
22
+ activeClass: classes.linkActive || null,
23
+ exactActiveClass: classes.linkExactActive || null
24
+ } : {}),
21
25
  ...(item.href ? { 'href' : item.href || '#' } : {}),
22
26
  }"
23
27
  @click="(event) => { handleItemClick(event, item) }"
24
28
  :class="[classes.link, item?.classes?.link]"
25
- :activeClass="classes.linkActive"
26
- :exactActiveClass="classes.linkExactActive"
27
29
  :aria-label="iconOnly ? item.title : null"
28
30
  :id="item.id"
29
31
  v-ulu-tooltip="iconOnly ? item.title : item.tooltip || null"
@@ -1,21 +1,23 @@
1
1
  <template>
2
2
  <div
3
- class="facets-sidebar-layout"
4
- :class="{ 'facets-sidebar-layout--filters-hidden' : isMobile }"
3
+ class="facets-sidebar"
4
+ :class="{ 'facets-sidebar--filters-hidden' : isMobile }"
5
5
  >
6
- <div class="facets-sidebar-layout__header">
6
+ <div class="facets-sidebar__header">
7
7
  <slot name="header"></slot>
8
8
  </div>
9
9
 
10
- <div v-show="isMobile" class="facets-sidebar-layout__mobile-controls">
11
- <button class="button" @click="showMobileFilters = true">Filters & Sort</button>
10
+ <div v-show="isMobile" class="facets-sidebar__mobile-controls">
11
+ <button :class="classes.mobileButton" @click="showMobileFilters = true">
12
+ {{ mobileButtonText }}
13
+ </button>
12
14
  </div>
13
15
 
14
- <div class="facets-sidebar-layout__body">
16
+ <div class="facets-sidebar__body">
15
17
  <!-- Desktop container for the sidebar -->
16
- <div v-show="!isMobile" class="facets-sidebar-layout__sidebar" ref="desktopTarget"></div>
18
+ <div v-show="!isMobile" class="facets-sidebar__sidebar" ref="desktopTarget"></div>
17
19
 
18
- <div class="facets-sidebar-layout__main">
20
+ <div class="facets-sidebar__main">
19
21
  <slot name="main"></slot>
20
22
  </div>
21
23
  </div>
@@ -28,7 +30,7 @@
28
30
  allowResize
29
31
  >
30
32
  <!-- Mobile container for the sidebar -->
31
- <div class="facets-sidebar-layout__sidebar" ref="mobileTarget"></div>
33
+ <div class="facets-sidebar__sidebar" ref="mobileTarget"></div>
32
34
  </UluModal>
33
35
 
34
36
  <teleport :to="teleportTarget" v-if="teleportTarget">
@@ -41,6 +43,24 @@
41
43
  import { ref, inject, computed } from 'vue';
42
44
  import UluModal from '../../collapsible/UluModal.vue';
43
45
 
46
+ defineProps({
47
+ mobileButtonText: {
48
+ type: String,
49
+ default: "Filters & Sort"
50
+ },
51
+ /**
52
+ * Classes for elements. See UluCollapsible for all available class keys (toggle, content, etc).
53
+ * The 'icon' key is also available for the icon span.
54
+ * - Any valid class binding value per element
55
+ */
56
+ classes: {
57
+ type: Object,
58
+ default: () => ({
59
+ mobileButton: 'button'
60
+ })
61
+ }
62
+ })
63
+
44
64
  const showMobileFilters = ref(false);
45
65
  const isMobile = inject("uluIsMobile");
46
66
 
@@ -57,13 +77,13 @@
57
77
  </script>
58
78
 
59
79
  <style lang="scss">
60
- .facets-sidebar-layout__body {
80
+ .facets-sidebar__body {
61
81
  display: grid;
62
82
  grid-template-columns: 250px 1fr;
63
83
  gap: 2rem;
64
84
  }
65
- .facets-sidebar-layout--filters-hidden {
66
- .facets-sidebar-layout__body {
85
+ .facets-sidebar--filters-hidden {
86
+ .facets-sidebar__body {
67
87
  grid-template-columns: 1fr;
68
88
  }
69
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend-vue",
3
- "version": "0.1.1-beta.6",
3
+ "version": "0.1.1-beta.8",
4
4
  "description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
5
5
  "type": "module",
6
6
  "files": [
@@ -1 +1 @@
1
- {"version":3,"file":"UluMenu.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/navigation/UluMenu.vue"],"names":[],"mappings":";IAkIM;;;;;;;;;;;OAWG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IA3BH;;;;;;;;;;;OAWG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG"}
1
+ {"version":3,"file":"UluMenu.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/navigation/UluMenu.vue"],"names":[],"mappings":";IAoIM;;;;;;;;;;;OAWG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IA3BH;;;;;;;;;;;OAWG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG"}
@@ -3,7 +3,11 @@ export default _default;
3
3
  type __VLS_WithSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ $props: Partial<typeof __VLS_props>;
8
+ classes: Record<string, any>;
9
+ mobileButtonText: string;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
11
  type __VLS_Slots = {
8
12
  header?: ((props: {}) => any) | undefined;
9
13
  } & {
@@ -11,4 +15,8 @@ type __VLS_Slots = {
11
15
  } & {
12
16
  sidebar?: ((props: {}) => any) | undefined;
13
17
  };
18
+ declare const __VLS_props: {
19
+ readonly classes: Record<string, any>;
20
+ readonly mobileButtonText: string;
21
+ };
14
22
  //# sourceMappingURL=UluFacetsSidebarLayout.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluFacetsSidebarLayout.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsSidebarLayout.vue"],"names":[],"mappings":"wBAqOqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AAJzB,6SACG"}
1
+ {"version":3,"file":"UluFacetsSidebarLayout.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsSidebarLayout.vue"],"names":[],"mappings":"wBAqRqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,WAAW,CAAC;;;2OAE3C;;;;;;;;AAtLD;;;EAgBE"}