sit-onyx 1.0.0-beta.97 → 1.0.0-beta.98

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/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { computed as y, inject as me, unref as s, defineComponent as w, ref as T, watch as Y, openBlock as r, createElementBlock as m, normalizeClass as C, withModifiers as Se, renderSlot as k, createCommentVNode as _, createBlock as x, resolveDynamicComponent as xe, withCtx as $, provide as Ve, toRef as ne, Fragment as H, createTextVNode as G, toDisplayString as E, mergeProps as B, createElementVNode as f, createVNode as V, useSlots as ie, reactive as yt, onBeforeMount as Gt, renderList as te, normalizeStyle as Me, toHandlers as Io, watchEffect as ye, shallowRef as Kt, onBeforeUnmount as Fe, toValue as he, nextTick as ht, useId as ae, onMounted as Ue, Teleport as ft, withDirectives as le, vModelCheckbox as Zt, vShow as vt, h as $e, toRefs as jt, vModelDynamic as Yt, mergeModels as Ne, useModel as _t, normalizeProps as Be, guardReactiveProps as Oe, useAttrs as Lo, vModelText as bt, createSlots as qe, isRef as Wt, withKeys as Tt } from "vue";
2
- const Ao = {
1
+ import { computed as y, inject as me, readonly as Tt, toRef as X, defineComponent as w, ref as T, watch as Y, openBlock as r, createElementBlock as m, normalizeClass as C, unref as s, withModifiers as Se, renderSlot as k, createCommentVNode as _, createBlock as x, resolveDynamicComponent as xe, withCtx as $, provide as Ve, Fragment as H, createTextVNode as G, toDisplayString as E, mergeProps as B, createElementVNode as f, createVNode as V, useSlots as ie, reactive as yt, onBeforeMount as Kt, renderList as oe, normalizeStyle as Me, toHandlers as Lo, watchEffect as ye, shallowRef as Zt, onBeforeUnmount as Fe, toValue as he, nextTick as ht, useId as ae, onMounted as Ue, Teleport as ft, withDirectives as le, vModelCheckbox as jt, vShow as vt, h as $e, toRefs as Yt, vModelDynamic as Wt, mergeModels as Ne, useModel as _t, normalizeProps as Be, guardReactiveProps as Oe, useAttrs as Ao, vModelText as bt, createSlots as qe, isRef as Jt, withKeys as It } from "vue";
2
+ const Do = {
3
3
  "2xs": 320,
4
4
  xs: 576,
5
5
  sm: 768,
6
6
  md: 992,
7
7
  lg: 1440,
8
8
  xl: 1920
9
- }, ke = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.03 8.03-1.06-1.06L12 10.94 8.03 6.97 6.97 8.03 10.94 12l-3.97 3.97 1.06 1.06L12 13.06l3.97 3.97 1.06-1.06L13.06 12z"/></svg>', br = ["compact", "default", "cozy"], R = (o) => ({
9
+ }, ke = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.03 8.03-1.06-1.06L12 10.94 8.03 6.97 6.97 8.03 10.94 12l-3.97 3.97 1.06 1.06L12 13.06l3.97 3.97 1.06-1.06L13.06 12z"/></svg>', xr = ["compact", "default", "cozy"], R = (o) => ({
10
10
  densityClass: y(() => ({ [`onyx-density-${o.density}`]: !!o.density }))
11
- }), Do = "(optional)", Ro = "Cancel", No = "Apply", Ho = "Back", zo = "Close", Po = {
11
+ }), Ro = "(optional)", No = "Cancel", Ho = "Apply", zo = "Back", Po = "Close", Fo = {
12
12
  head: {
13
13
  sortingAction: {
14
14
  asc: "Sort the table ascending by the {field} column.",
@@ -16,7 +16,7 @@ const Ao = {
16
16
  none: "Reset sorting."
17
17
  }
18
18
  }
19
- }, Fo = {
19
+ }, Uo = {
20
20
  tooShort: {
21
21
  preview: "Too short, minimum {minLength} characters required",
22
22
  fullError: "Make the input at least {minLength} characters long. It is currently {n} characters long. Special characters might use more than one character."
@@ -71,24 +71,24 @@ const Ao = {
71
71
  fullError: '"{value}" is not a valid URL. A URL usually points to a website and should be similar to "https://www.example.com".'
72
72
  }
73
73
  }
74
- }, Uo = {
74
+ }, qo = {
75
75
  toggleDropDown: "Toggle selection popover",
76
76
  empty: "No data available",
77
77
  noMatch: "No item matches your search",
78
78
  searchInputLabel: "Filter the list items",
79
79
  clearSearch: "Clear search filter",
80
80
  searchPlaceholder: "Search"
81
- }, qo = {
81
+ }, Go = {
82
82
  selectAll: "Select all",
83
83
  currentSelection: "{n} selected"
84
- }, Go = {
84
+ }, Ko = {
85
85
  decrement: "Decrement by {stepSize}",
86
86
  increment: "Increment by {stepSize}"
87
- }, Ko = {
88
- empty: "This table is empty."
89
87
  }, Zo = {
88
+ empty: "This table is empty."
89
+ }, jo = {
90
90
  opensExternally: "Opens in a new tab."
91
- }, jo = "Subpages of {label}", Yo = {
91
+ }, Yo = "Subpages of {label}", Wo = {
92
92
  appLogo: "App logo of {appName}",
93
93
  goToHome: "Go to home page",
94
94
  goBack: "Go back",
@@ -98,11 +98,11 @@ const Ao = {
98
98
  navigationHeadline: "Navigation",
99
99
  moreActionsFlyout: 'Choose an action for the column "{column}"',
100
100
  moreActionsTrigger: "Toggle column actions"
101
- }, Wo = {
101
+ }, Jo = {
102
102
  neutral: "Toggle info tooltip",
103
103
  danger: "Toggle error tooltip",
104
104
  success: "Toggle success tooltip"
105
- }, Jo = {
105
+ }, Xo = {
106
106
  headline: "Change appearance",
107
107
  subtitle: "Select the appearance of the application:",
108
108
  appearance: "Appearance",
@@ -118,7 +118,7 @@ const Ao = {
118
118
  label: "Dark",
119
119
  description: "This color mode is optimized for darker environments."
120
120
  }
121
- }, Xo = {
121
+ }, Qo = {
122
122
  label: "Pagination",
123
123
  ofPages: "of 1 page | of {n} pages",
124
124
  previous: "previous page",
@@ -127,51 +127,51 @@ const Ao = {
127
127
  label: "Page selection",
128
128
  listLabel: "Available pages"
129
129
  }
130
- }, Qo = {
131
- clear: "Clear input"
132
130
  }, en = {
131
+ clear: "Clear input"
132
+ }, tn = {
133
133
  close: "Close dialog"
134
134
  }, lt = {
135
- optional: Do,
136
- cancel: Ro,
137
- apply: No,
138
- back: Ho,
139
- close: zo,
140
- dataGrid: Po,
141
- validations: Fo,
142
- select: Uo,
143
- selections: qo,
144
- stepper: Go,
145
- table: Ko,
146
- link: Zo,
147
- navItemOptionsLabel: jo,
148
- navigation: Yo,
149
- tooltip: Wo,
150
- colorScheme: Jo,
151
- pagination: Xo,
152
- input: Qo,
153
- dialog: en
154
- }, Jt = Symbol(), Xt = (o = {}) => {
155
- const t = y(() => s(o == null ? void 0 : o.locale) ?? "en-US");
156
- if (o.t)
157
- return { t: o.t, locale: t };
158
- const e = y(() => o != null && o.messages && t.value in o.messages ? o.messages[t.value] : lt), n = y(() => (l, a = {}) => {
159
- let c = It(l, e.value) ?? It(l, lt) ?? "";
160
- return c = on(c, a.n), nn(c, a);
135
+ optional: Ro,
136
+ cancel: No,
137
+ apply: Ho,
138
+ back: zo,
139
+ close: Po,
140
+ dataGrid: Fo,
141
+ validations: Uo,
142
+ select: qo,
143
+ selections: Go,
144
+ stepper: Ko,
145
+ table: Zo,
146
+ link: jo,
147
+ navItemOptionsLabel: Yo,
148
+ navigation: Wo,
149
+ tooltip: Jo,
150
+ colorScheme: Xo,
151
+ pagination: Qo,
152
+ input: en,
153
+ dialog: tn
154
+ }, Xt = Symbol(), Qt = (o = {}) => {
155
+ const t = Tt(X((o == null ? void 0 : o.locale) ?? "en-US")), e = o.t ? Tt(X(o.t)) : void 0;
156
+ if (e)
157
+ return { t: e, locale: t };
158
+ const n = y(() => o != null && o.messages && t.value in o.messages ? o.messages[t.value] : lt), l = y(() => (a, c = {}) => {
159
+ let i = Lt(a, n.value) ?? Lt(a, lt) ?? "";
160
+ return i = nn(i, c.n), an(i, c);
161
161
  });
162
- return { locale: t, t: n };
163
- }, tn = (o, t) => {
164
- const e = Xt(t);
165
- return o.provide(Jt, e), e;
166
- }, P = () => me(Jt, () => Xt(), !0), It = (o, t) => {
162
+ return { locale: t, t: l };
163
+ }, on = (o, t) => {
164
+ const e = Qt(t);
165
+ return o.provide(Xt, e), e;
166
+ }, P = () => me(Xt, () => Qt(), !0), Lt = (o, t) => {
167
167
  const e = o.split(".").reduce((n, l) => !n || typeof n == "string" ? n : n[l], t);
168
168
  return e && typeof e == "string" ? e : void 0;
169
- }, on = (o, t) => {
169
+ }, nn = (o, t) => {
170
170
  const e = o.split(" | ").map((l) => l.trim());
171
171
  if (e.length <= 1) return o;
172
172
  let n = 1;
173
173
  return t === 0 && (n = 0), t && (t <= 0 || t > 1) && (n = 2), e.length === 2 ? n === 1 ? e[0] : e[1] : e[n];
174
- }, nn = (o, t) => t ? Object.entries(t).reduce((n, [l, a]) => a === void 0 ? n : n.replace(new RegExp(`{${l}}`, "gi"), a.toString()), o).replace(/\s?{.*}\s?/gi, "") : o, an = ["aria-modal", "aria-label", "role"], xt = /* @__PURE__ */ w({
174
+ }, an = (o, t) => t ? Object.entries(t).reduce((n, [l, a]) => a === void 0 ? n : n.replace(new RegExp(`{${l}}`, "gi"), a.toString()), o).replace(/\s?{.*}\s?/gi, "") : o, ln = ["aria-modal", "aria-label", "role"], xt = /* @__PURE__ */ w({
175
175
  __name: "OnyxDialog",
176
176
  props: {
177
177
  density: {},
@@ -206,7 +206,7 @@ const Ao = {
206
206
  onCancel: d[0] || (d[0] = Se((u) => n("close"), ["prevent"]))
207
207
  }, [
208
208
  k(i.$slots, "default")
209
- ], 42, an)) : _("", !0);
209
+ ], 42, ln)) : _("", !0);
210
210
  }
211
211
  }), _e = /* @__PURE__ */ w({
212
212
  __name: "OnyxHeadline",
@@ -224,7 +224,7 @@ const Ao = {
224
224
  _: 3
225
225
  }, 8, ["class"]));
226
226
  }
227
- }), ln = ["innerHTML"], A = /* @__PURE__ */ w({
227
+ }), sn = ["innerHTML"], A = /* @__PURE__ */ w({
228
228
  __name: "OnyxIcon",
229
229
  props: {
230
230
  size: {},
@@ -242,46 +242,46 @@ const Ao = {
242
242
  }),
243
243
  "aria-hidden": "true",
244
244
  innerHTML: t.icon
245
- }, null, 10, ln));
245
+ }, null, 10, sn));
246
246
  }
247
- }), Qt = Symbol(), X = Symbol("SKELETON_INJECTED_SYMBOL"), eo = (o) => (t) => y(() => typeof t.skeleton != "symbol" ? t.skeleton : t.skeleton === X && (o == null ? void 0 : o.skeleton) === !0 ? 3 : !1), gt = (o) => Ve(Qt, eo(o)), sn = eo(), oe = (o) => me(
248
- Qt,
247
+ }), eo = Symbol(), Q = Symbol("SKELETON_INJECTED_SYMBOL"), to = (o) => (t) => y(() => typeof t.skeleton != "symbol" ? t.skeleton : t.skeleton === Q && (o == null ? void 0 : o.skeleton) === !0 ? 3 : !1), gt = (o) => Ve(eo, to(o)), rn = to(), ne = (o) => me(
248
+ eo,
249
249
  /** Default */
250
- sn
251
- )(o), to = Symbol(), W = Symbol("FORM_INJECTED_SYMBOL"), Lt = (o, t, e, n) => y(() => {
250
+ rn
251
+ )(o), oo = Symbol(), W = Symbol("FORM_INJECTED_SYMBOL"), At = (o, t, e, n) => y(() => {
252
252
  const l = t.value[e];
253
253
  return l != null && typeof l != "symbol" ? l : l === W ? (o == null ? void 0 : o.value[e]) ?? n : n;
254
- }), oo = (o) => (t) => ({
255
- disabled: Lt(o, t, "disabled", !1),
256
- showError: Lt(o, t, "showError", "touched")
257
- }), rn = (o) => Ve(to, oo(o && ne(o))), cn = oo(), se = (o) => me(
258
- to,
254
+ }), no = (o) => (t) => ({
255
+ disabled: At(o, t, "disabled", !1),
256
+ showError: At(o, t, "showError", "touched")
257
+ }), cn = (o) => Ve(oo, no(o && X(o))), un = no(), se = (o) => me(
258
+ oo,
259
259
  /** Default */
260
- cn
261
- )(ne(o)), kt = (o, t) => {
260
+ un
261
+ )(X(o)), kt = (o, t) => {
262
262
  const e = o.__vccOpts || o;
263
263
  for (const [n, l] of t)
264
264
  e[n] = l;
265
265
  return e;
266
- }, un = {}, dn = {
266
+ }, dn = {}, pn = {
267
267
  "aria-hidden": "true",
268
268
  class: "onyx-component onyx-skeleton"
269
269
  };
270
- function pn(o, t) {
271
- return r(), m("figure", dn);
270
+ function mn(o, t) {
271
+ return r(), m("figure", pn);
272
272
  }
273
- const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title", "disabled", "autofocus"], Ge = /* @__PURE__ */ w({
273
+ const K = /* @__PURE__ */ kt(dn, [["render", mn]]), yn = ["aria-label", "title", "disabled", "autofocus"], Ge = /* @__PURE__ */ w({
274
274
  __name: "OnyxSystemButton",
275
275
  props: {
276
276
  disabled: { default: W },
277
277
  autofocus: { type: Boolean, default: !1 },
278
- skeleton: { type: [Symbol, Boolean, Number], default: X },
278
+ skeleton: { type: [Symbol, Boolean, Number], default: Q },
279
279
  label: {},
280
280
  icon: {},
281
281
  color: { default: "intense" }
282
282
  },
283
283
  setup(o) {
284
- const t = o, { disabled: e } = se(t), n = oe(t);
284
+ const t = o, { disabled: e } = se(t), n = ne(t);
285
285
  return (l, a) => s(n) ? (r(), x(K, {
286
286
  key: 0,
287
287
  class: C(["onyx-system-button-skeleton", t.icon ? "" : "onyx-system-button-skeleton--text"])
@@ -300,9 +300,9 @@ const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title",
300
300
  }, null, 8, ["icon"])) : (r(), m(H, { key: 1 }, [
301
301
  G(E(t.label), 1)
302
302
  ], 64))
303
- ], 10, mn));
303
+ ], 10, yn));
304
304
  }
305
- }), yn = { class: "onyx-alert-dialog__content" }, hn = { class: "onyx-alert-dialog__headline" }, fn = { class: "onyx-alert-dialog__body onyx-truncation" }, vn = { class: "onyx-alert-dialog__actions" }, xr = /* @__PURE__ */ w({
305
+ }), hn = { class: "onyx-alert-dialog__content" }, fn = { class: "onyx-alert-dialog__headline" }, vn = { class: "onyx-alert-dialog__body onyx-truncation" }, _n = { class: "onyx-alert-dialog__actions" }, gr = /* @__PURE__ */ w({
306
306
  __name: "OnyxAlertDialog",
307
307
  props: {
308
308
  density: {},
@@ -321,13 +321,13 @@ const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title",
321
321
  onClose: i[1] || (i[1] = (d) => n("close"))
322
322
  }), {
323
323
  default: $(() => [
324
- f("div", yn, [
324
+ f("div", hn, [
325
325
  e.icon ? (r(), x(A, B({
326
326
  key: 0,
327
327
  class: "onyx-alert-dialog__icon"
328
328
  }, e.icon, { size: "64px" }), null, 16)) : _("", !0),
329
329
  f("div", null, [
330
- f("div", hn, [
330
+ f("div", fn, [
331
331
  k(c.$slots, "headline", {
332
332
  label: e.label
333
333
  }, () => [
@@ -345,28 +345,28 @@ const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title",
345
345
  onClick: i[0] || (i[0] = (d) => n("close"))
346
346
  }, null, 8, ["label", "icon"])
347
347
  ]),
348
- f("div", fn, [
348
+ f("div", vn, [
349
349
  k(c.$slots, "default")
350
350
  ])
351
351
  ])
352
352
  ]),
353
- f("div", vn, [
353
+ f("div", _n, [
354
354
  k(c.$slots, "actions")
355
355
  ])
356
356
  ]),
357
357
  _: 3
358
358
  }, 16, ["class"]));
359
359
  }
360
- }), _n = {
360
+ }), bn = {
361
361
  key: 0,
362
362
  class: "onyx-app__nav"
363
- }, bn = { class: "onyx-app__page" }, xn = {
363
+ }, xn = { class: "onyx-app__page" }, gn = {
364
364
  key: 1,
365
365
  class: "onyx-app__page-overlay"
366
- }, gn = {
366
+ }, kn = {
367
367
  key: 2,
368
368
  class: "onyx-app__app-overlay"
369
- }, gr = /* @__PURE__ */ w({
369
+ }, kr = /* @__PURE__ */ w({
370
370
  __name: "OnyxAppLayout",
371
371
  props: {
372
372
  navBarAlignment: { default: "top" }
@@ -376,24 +376,24 @@ const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title",
376
376
  return (n, l) => (r(), m("div", {
377
377
  class: C(["onyx-component onyx-app", { "onyx-app--horizontal": t.navBarAlignment === "left" }])
378
378
  }, [
379
- e.navBar ? (r(), m("div", _n, [
379
+ e.navBar ? (r(), m("div", bn, [
380
380
  k(n.$slots, "navBar")
381
381
  ])) : _("", !0),
382
- f("div", bn, [
382
+ f("div", xn, [
383
383
  k(n.$slots, "default")
384
384
  ]),
385
- e.pageOverlay ? (r(), m("div", xn, [
385
+ e.pageOverlay ? (r(), m("div", gn, [
386
386
  k(n.$slots, "pageOverlay")
387
387
  ])) : _("", !0),
388
- e.appOverlay ? (r(), m("div", gn, [
388
+ e.appOverlay ? (r(), m("div", kn, [
389
389
  k(n.$slots, "appOverlay")
390
390
  ])) : _("", !0)
391
391
  ], 2));
392
392
  }
393
- }), kn = ["title"], wn = ["src", "alt"], Cn = {
393
+ }), wn = ["title"], Cn = ["src", "alt"], $n = {
394
394
  key: 1,
395
395
  class: "onyx-avatar__initials"
396
- }, At = /* @__PURE__ */ w({
396
+ }, Dt = /* @__PURE__ */ w({
397
397
  __name: "OnyxAvatar",
398
398
  props: {
399
399
  size: { default: "48px" },
@@ -418,21 +418,21 @@ const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title",
418
418
  src: t.src,
419
419
  alt: t.label,
420
420
  onError: c[0] || (c[0] = (i) => l.value = !0)
421
- }, null, 40, wn)) : (r(), m("div", Cn, [
421
+ }, null, 40, Cn)) : (r(), m("div", $n, [
422
422
  k(a.$slots, "default", {}, () => [
423
423
  G(E(n.value), 1)
424
424
  ])
425
425
  ]))
426
- ], 10, kn));
426
+ ], 10, wn));
427
427
  }
428
- }), $n = { class: "onyx-component onyx-avatar-stack" }, kr = /* @__PURE__ */ w({
428
+ }), Sn = { class: "onyx-component onyx-avatar-stack" }, wr = /* @__PURE__ */ w({
429
429
  __name: "OnyxAvatarStack",
430
430
  setup(o) {
431
- return (t, e) => (r(), m("div", $n, [
431
+ return (t, e) => (r(), m("div", Sn, [
432
432
  k(t.$slots, "default")
433
433
  ]));
434
434
  }
435
- }), Sn = /* @__PURE__ */ w({
435
+ }), Mn = /* @__PURE__ */ w({
436
436
  __name: "OnyxBadge",
437
437
  props: {
438
438
  density: {},
@@ -460,12 +460,12 @@ const K = /* @__PURE__ */ kt(un, [["render", pn]]), mn = ["aria-label", "title",
460
460
  ], 64))
461
461
  ], 2));
462
462
  }
463
- }), Mn = {}, Vn = {
463
+ }), Vn = {}, Bn = {
464
464
  class: "onyx-component onyx-circle-spinner",
465
465
  viewBox: "0 0 50 50"
466
466
  };
467
- function Bn(o, t) {
468
- return r(), m("svg", Vn, t[0] || (t[0] = [
467
+ function On(o, t) {
468
+ return r(), m("svg", Bn, t[0] || (t[0] = [
469
469
  f("circle", {
470
470
  class: "onyx-circle-spinner__circle",
471
471
  cx: "50%",
@@ -474,22 +474,22 @@ function Bn(o, t) {
474
474
  }, null, -1)
475
475
  ]));
476
476
  }
477
- const On = /* @__PURE__ */ kt(Mn, [["render", Bn]]), En = {}, Tn = { class: "onyx-component onyx-loading-dots" };
478
- function In(o, t) {
479
- return r(), m("div", Tn, t[0] || (t[0] = [
477
+ const En = /* @__PURE__ */ kt(Vn, [["render", On]]), Tn = {}, In = { class: "onyx-component onyx-loading-dots" };
478
+ function Ln(o, t) {
479
+ return r(), m("div", In, t[0] || (t[0] = [
480
480
  f("span", { class: "onyx-loading-dots__center" }, null, -1)
481
481
  ]));
482
482
  }
483
- const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
483
+ const An = /* @__PURE__ */ kt(Tn, [["render", Ln]]), de = /* @__PURE__ */ w({
484
484
  __name: "OnyxLoadingIndicator",
485
485
  props: {
486
486
  type: { default: "dots" }
487
487
  },
488
488
  setup(o) {
489
489
  const t = o;
490
- return (e, n) => t.type === "circle" ? (r(), x(On, { key: 0 })) : t.type === "dots" ? (r(), x(Ln, { key: 1 })) : _("", !0);
490
+ return (e, n) => t.type === "circle" ? (r(), x(En, { key: 0 })) : t.type === "dots" ? (r(), x(An, { key: 1 })) : _("", !0);
491
491
  }
492
- }), An = (o) => {
492
+ }), Dn = (o) => {
493
493
  const t = T(!1), e = yt(/* @__PURE__ */ new Map()), n = (i) => {
494
494
  var p;
495
495
  const d = (p = o.value) == null ? void 0 : p.getBoundingClientRect();
@@ -510,7 +510,7 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
510
510
  i.animationEnded && e.delete(d);
511
511
  });
512
512
  }, c = T({});
513
- return Gt(() => {
513
+ return Kt(() => {
514
514
  var i;
515
515
  (i = window.matchMedia) != null && i.call(window, "pointer: none").matches ? c.value = {
516
516
  touchstart: n,
@@ -522,10 +522,10 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
522
522
  mouseup: a
523
523
  };
524
524
  }), { isPointerDown: t, ripples: e, startRipple: n, hideRipples: a, hideRipple: l, events: c };
525
- }, Dn = ["data-rippleid"], Rn = /* @__PURE__ */ w({
525
+ }, Rn = ["data-rippleid"], Nn = /* @__PURE__ */ w({
526
526
  __name: "OnyxRipple",
527
527
  setup(o, { expose: t }) {
528
- const e = T(), { ripples: n, hideRipple: l, events: a } = An(e);
528
+ const e = T(), { ripples: n, hideRipple: l, events: a } = Dn(e);
529
529
  return t({
530
530
  events: a
531
531
  }), (c, i) => (r(), m("span", {
@@ -534,7 +534,7 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
534
534
  class: "onyx-component onyx-ripple",
535
535
  "aria-hidden": "true"
536
536
  }, [
537
- (r(!0), m(H, null, te(s(n), ([d, u]) => (r(), m("span", {
537
+ (r(!0), m(H, null, oe(s(n), ([d, u]) => (r(), m("span", {
538
538
  key: d,
539
539
  class: "onyx-ripple__element",
540
540
  style: Me({
@@ -543,10 +543,10 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
543
543
  }),
544
544
  "data-rippleid": d,
545
545
  onAnimationend: i[0] || (i[0] = (p) => s(l)(p.target))
546
- }, null, 44, Dn))), 128))
546
+ }, null, 44, Rn))), 128))
547
547
  ], 512));
548
548
  }
549
- }), Nn = ["disabled", "type", "aria-label", "autofocus"], Hn = { class: "onyx-button__label onyx-truncation-ellipsis" }, st = /* @__PURE__ */ w({
549
+ }), Hn = ["disabled", "type", "aria-label", "autofocus"], zn = { class: "onyx-button__label onyx-truncation-ellipsis" }, st = /* @__PURE__ */ w({
550
550
  __name: "OnyxButton",
551
551
  props: {
552
552
  density: {},
@@ -558,10 +558,10 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
558
558
  color: { default: "primary" },
559
559
  mode: { default: "default" },
560
560
  icon: {},
561
- skeleton: { type: [Symbol, Boolean, Number], default: X }
561
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
562
562
  },
563
563
  setup(o) {
564
- const t = o, { densityClass: e } = R(t), { disabled: n } = se(t), l = oe(t), a = T(), c = y(() => {
564
+ const t = o, { densityClass: e } = R(t), { disabled: n } = se(t), l = ne(t), a = T(), c = y(() => {
565
565
  var i;
566
566
  return ((i = a.value) == null ? void 0 : i.events) ?? {};
567
567
  });
@@ -582,8 +582,8 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
582
582
  type: t.type,
583
583
  "aria-label": t.loading ? t.label : void 0,
584
584
  autofocus: t.autofocus
585
- }, Io(c.value, !0)), [
586
- !s(n) && !t.loading ? (r(), x(Rn, {
585
+ }, Lo(c.value, !0)), [
586
+ !s(n) && !t.loading ? (r(), x(Nn, {
587
587
  key: 0,
588
588
  ref_key: "rippleRef",
589
589
  ref: a
@@ -597,10 +597,10 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
597
597
  key: 2,
598
598
  class: "onyx-button__loading"
599
599
  })) : _("", !0),
600
- f("span", Hn, E(t.label), 1)
601
- ], 16, Nn));
600
+ f("span", zn, E(t.label), 1)
601
+ ], 16, Hn));
602
602
  }
603
- }), wr = ["button", "submit", "reset"], Cr = ["primary", "neutral", "danger"], $r = ["default", "outline", "plain"], Ke = (o) => ({
603
+ }), Cr = ["button", "submit", "reset"], $r = ["primary", "neutral", "danger"], Sr = ["default", "outline", "plain"], Ke = (o) => ({
604
604
  /**
605
605
  * Class that configures which type of required marker is used.
606
606
  */
@@ -611,29 +611,29 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
611
611
  "onyx-required-marker": o.required,
612
612
  "onyx-optional-marker": !o.required
613
613
  }))
614
- }), rt = (o) => o instanceof Date && !isNaN(o), zn = (o, t) => {
614
+ }), rt = (o) => o instanceof Date && !isNaN(o), Pn = (o, t) => {
615
615
  const e = Object.entries(o).filter(([l, a]) => a !== void 0), n = Object.entries(t).filter(([l, a]) => a !== void 0);
616
616
  return e.length !== n.length ? !1 : e.every(([l, a]) => a === t[l]);
617
- }, Pn = (o, t) => o.reduce(
617
+ }, Fn = (o, t) => o.reduce(
618
618
  (e, n) => {
619
619
  const l = n[t] ?? "";
620
620
  return e[l] = e[l] || [], e[l].push(n), e;
621
621
  },
622
622
  {}
623
- ), no = () => Object.entries(Object.getOwnPropertyDescriptors(ValidityState.prototype)).filter(([o, t]) => t.enumerable).map(([o]) => o), Fn = (o) => no().reduce(
623
+ ), ao = () => Object.entries(Object.getOwnPropertyDescriptors(ValidityState.prototype)).filter(([o, t]) => t.enumerable).map(([o]) => o), Un = (o) => ao().reduce(
624
624
  (t, e) => (t[e] = o[e], t),
625
625
  {}
626
- ), Un = (o) => {
626
+ ), qn = (o) => {
627
627
  if (o.valueMissing) return "valueMissing";
628
- const t = no().filter((e) => e !== "valid").sort();
628
+ const t = ao().filter((e) => e !== "valid").sort();
629
629
  for (const e of t)
630
630
  if (e in o && o[e]) return e;
631
- }, qn = Object.keys(
631
+ }, Gn = Object.keys(
632
632
  lt.validations.typeMismatch
633
633
  ), ce = (o) => {
634
634
  if (o)
635
635
  return typeof o == "string" ? { shortMessage: o, longMessage: o, hidden: !1 } : o;
636
- }, ao = (o) => {
636
+ }, lo = (o) => {
637
637
  if (!o) return;
638
638
  if (typeof o == "string")
639
639
  return o;
@@ -650,13 +650,13 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
650
650
  );
651
651
  const a = {
652
652
  mounted: (i) => {
653
- ye(() => i.setCustomValidity(ao(o.props.customError) ?? "")), Y(
653
+ ye(() => i.setCustomValidity(lo(o.props.customError) ?? "")), Y(
654
654
  // we need to watch all props instead of only modelValue so the validity is re-checked
655
655
  // when the validation rules change
656
656
  [() => o.props],
657
657
  () => {
658
- const d = Fn(i.validity);
659
- !n.value && d.valid || n.value && zn(d, n.value) || (n.value = d);
658
+ const d = Un(i.validity);
659
+ !n.value && d.valid || n.value && Pn(d, n.value) || (n.value = d);
660
660
  },
661
661
  { immediate: !0, deep: !0 }
662
662
  ), Y(
@@ -670,12 +670,12 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
670
670
  }, c = y(() => {
671
671
  var p, h, v;
672
672
  if (!n.value || n.value.valid) return;
673
- const i = Un(n.value), d = ce(o.props.customError);
673
+ const i = qn(n.value), d = ce(o.props.customError);
674
674
  if (d || i === "customError")
675
675
  return d || void 0;
676
676
  if (!i) return;
677
677
  if (i === "typeMismatch") {
678
- const b = qn.includes(o.props.type) ? o.props.type : "generic";
678
+ const b = Gn.includes(o.props.type) ? o.props.type : "generic";
679
679
  return {
680
680
  longMessage: t.value(`validations.typeMismatch.${b}.fullError`, {
681
681
  value: (p = o.props.modelValue) == null ? void 0 : p.toString()
@@ -688,8 +688,8 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
688
688
  n: ((v = o.props.modelValue) == null ? void 0 : v.toString().length) ?? 0,
689
689
  minLength: o.props.minlength,
690
690
  maxLength: o.props.maxlength,
691
- min: Dt(e.value, o.props.type, o.props.min),
692
- max: Dt(e.value, o.props.type, o.props.max),
691
+ min: Rt(e.value, o.props.type, o.props.min),
692
+ max: Rt(e.value, o.props.type, o.props.max),
693
693
  step: o.props.precision
694
694
  };
695
695
  return {
@@ -707,7 +707,7 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
707
707
  */
708
708
  errorMessages: c
709
709
  };
710
- }, Dt = (o, t, e) => {
710
+ }, Rt = (o, t, e) => {
711
711
  if (!t || !["date", "datetime-local"].includes(t)) return e == null ? void 0 : e.toString();
712
712
  const n = e != null ? new Date(e) : void 0;
713
713
  if (!rt(n)) return e == null ? void 0 : e.toString();
@@ -720,7 +720,7 @@ const Ln = /* @__PURE__ */ kt(En, [["render", In]]), de = /* @__PURE__ */ w({
720
720
  return n.toLocaleString(o, l);
721
721
  }, ve = (o) => o;
722
722
  function it() {
723
- const o = Kt();
723
+ const o = Zt();
724
724
  return y({
725
725
  set: (t) => {
726
726
  o.value = t != null && "$el" in t ? t.$el : t;
@@ -728,12 +728,12 @@ function it() {
728
728
  get: () => o.value
729
729
  });
730
730
  }
731
- const Gn = (o, t) => Object.entries(o).every(
731
+ const Kn = (o, t) => Object.entries(o).every(
732
732
  ([e, n]) => t[e] === n
733
- ), Kn = (o, t) => typeof t == "string" ? o.key === t : Gn(
733
+ ), Zn = (o, t) => typeof t == "string" ? o.key === t : Kn(
734
734
  { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1, ...t },
735
735
  o
736
- ), ct = (o) => !jn.has(o), Zn = [
736
+ ), ct = (o) => !Yn.has(o), jn = [
737
737
  "Unidentified",
738
738
  "Alt",
739
739
  "AltGraph",
@@ -1041,19 +1041,19 @@ const Gn = (o, t) => Object.entries(o).every(
1041
1041
  "MediaPreviousTrack",
1042
1042
  "Power",
1043
1043
  "Unidentified"
1044
- ], jn = new Set(Zn), ge = yt(/* @__PURE__ */ new Map()), Yn = (o, t) => {
1044
+ ], Yn = new Set(jn), ge = yt(/* @__PURE__ */ new Map()), Wn = (o, t) => {
1045
1045
  if (t != null && t.size) {
1046
1046
  ge.set(o, t);
1047
1047
  return;
1048
1048
  }
1049
- ge.delete(o), document.removeEventListener(o, lo);
1050
- }, Rt = (o, t) => {
1049
+ ge.delete(o), document.removeEventListener(o, so);
1050
+ }, Nt = (o, t) => {
1051
1051
  const e = ge.get(o);
1052
- e == null || e.delete(t), Yn(o, e);
1053
- }, Wn = (o, t) => {
1052
+ e == null || e.delete(t), Wn(o, e);
1053
+ }, Jn = (o, t) => {
1054
1054
  const e = ge.get(o) ?? /* @__PURE__ */ new Set();
1055
- e.add(t), ge.set(o, e), document.addEventListener(o, lo);
1056
- }, lo = (o) => {
1055
+ e.add(t), ge.set(o, e), document.addEventListener(o, so);
1056
+ }, so = (o) => {
1057
1057
  var e;
1058
1058
  const t = o.type;
1059
1059
  (e = ge.get(t)) == null || e.forEach((n) => n(o));
@@ -1062,31 +1062,31 @@ const Gn = (o, t) => Object.entries(o).every(
1062
1062
  listener: t,
1063
1063
  disabled: e
1064
1064
  }) => {
1065
- Gt(
1065
+ Kt(
1066
1066
  () => ye(
1067
- () => e != null && e.value ? Rt(o, t) : Wn(o, t)
1067
+ () => e != null && e.value ? Nt(o, t) : Jn(o, t)
1068
1068
  )
1069
- ), Fe(() => Rt(o, t));
1070
- }, so = ({ inside: o, onOutsideClick: t, disabled: e }) => {
1069
+ ), Fe(() => Nt(o, t));
1070
+ }, ro = ({ inside: o, onOutsideClick: t, disabled: e }) => {
1071
1071
  Ze({ type: "click", listener: (l) => {
1072
1072
  const a = he(o);
1073
1073
  !(Array.isArray(a) ? a : [a]).some(
1074
1074
  (d) => d == null ? void 0 : d.contains(l.target)
1075
1075
  ) && t(l);
1076
1076
  }, disabled: e });
1077
- }, ro = (o, t) => {
1077
+ }, io = (o, t) => {
1078
1078
  let e;
1079
1079
  const n = (...l) => {
1080
1080
  clearTimeout(e), e = setTimeout(() => o(...l), he(t));
1081
1081
  };
1082
1082
  return n.abort = () => clearTimeout(e), n;
1083
- }, io = (o, t = 500) => {
1083
+ }, co = (o, t = 500) => {
1084
1084
  let e = "";
1085
- const n = ro(() => e = "", t);
1085
+ const n = io(() => e = "", t);
1086
1086
  return (l) => {
1087
1087
  ct(l.key) && (n(), e = `${e}${l.key}`, o(e));
1088
1088
  };
1089
- }, Jn = ve(
1089
+ }, Xn = ve(
1090
1090
  (o) => {
1091
1091
  const t = y(() => s(o.multiple) ?? !1), e = y(() => s(o.isExpanded) ?? !1), n = /* @__PURE__ */ new Map(), l = (u) => (n.has(u) || n.set(u, ae()), n.get(u)), a = T(!1);
1092
1092
  ye(async () => {
@@ -1098,7 +1098,7 @@ const Gn = (o, t) => Object.entries(o).every(
1098
1098
  (p = document.getElementById(u)) == null || p.scrollIntoView({ block: "end", inline: "nearest" });
1099
1099
  });
1100
1100
  });
1101
- const c = io((u) => {
1101
+ const c = co((u) => {
1102
1102
  var p;
1103
1103
  return (p = o.onTypeAhead) == null ? void 0 : p.call(o, u);
1104
1104
  }), i = (u) => {
@@ -1180,15 +1180,15 @@ const Gn = (o, t) => Object.entries(o).every(
1180
1180
  }
1181
1181
  };
1182
1182
  }
1183
- ), co = ["ArrowDown", "ArrowUp", " ", "Enter", "Home", "End"], uo = [
1183
+ ), uo = ["ArrowDown", "ArrowUp", " ", "Enter", "Home", "End"], po = [
1184
1184
  "Escape",
1185
1185
  { key: "ArrowUp", altKey: !0 },
1186
1186
  "Enter",
1187
1187
  "Tab"
1188
- ], Nt = ["Enter"], Xn = (o, t) => {
1189
- const e = t ? [...Nt, " "] : Nt;
1188
+ ], Ht = ["Enter"], Qn = (o, t) => {
1189
+ const e = t ? [...Ht, " "] : Ht;
1190
1190
  return ut(o, e);
1191
- }, ut = (o, t) => t.some((e) => Kn(o, e)), Qn = ve(
1191
+ }, ut = (o, t) => t.some((e) => Zn(o, e)), ea = ve(
1192
1192
  ({
1193
1193
  autocomplete: o,
1194
1194
  onAutocomplete: t,
@@ -1210,7 +1210,7 @@ const Gn = (o, t) => Object.entries(o).every(
1210
1210
  const M = ae(), I = y(() => s(o)), L = y(() => s(i)), z = y(() => s(n)), U = (D) => {
1211
1211
  const Je = D.target;
1212
1212
  I.value !== "none" && (t == null || t(Je.value));
1213
- }, Z = io((D) => e == null ? void 0 : e(D)), pe = (D) => {
1213
+ }, Z = co((D) => e == null ? void 0 : e(D)), pe = (D) => {
1214
1214
  p == null || p(D), s(z) || u == null || u();
1215
1215
  }, J = (D) => {
1216
1216
  switch (D.key) {
@@ -1232,11 +1232,11 @@ const Gn = (o, t) => Object.entries(o).every(
1232
1232
  break;
1233
1233
  }
1234
1234
  }, N = (D) => {
1235
- if (D.key === "Enter" && D.preventDefault(), !L.value && ut(D, co))
1235
+ if (D.key === "Enter" && D.preventDefault(), !L.value && ut(D, uo))
1236
1236
  return u == null || u(), D.key === " " && D.preventDefault(), D.key === "End" ? v == null ? void 0 : v() : h == null ? void 0 : h();
1237
- if (Xn(D, I.value === "none"))
1237
+ if (Qn(D, I.value === "none"))
1238
1238
  return pe(d.value);
1239
- if (L.value && ut(D, uo))
1239
+ if (L.value && ut(D, po))
1240
1240
  return u == null ? void 0 : u();
1241
1241
  if (I.value === "none" && ct(D.key))
1242
1242
  return !L.value && (u == null || u()), Z(D);
@@ -1249,9 +1249,9 @@ const Gn = (o, t) => Object.entries(o).every(
1249
1249
  "aria-autocomplete": I.value,
1250
1250
  type: "text"
1251
1251
  }), {
1252
- elements: { option: Q, group: we, listbox: Ce },
1252
+ elements: { option: ee, group: we, listbox: Ce },
1253
1253
  internals: { getOptionId: We }
1254
- } = Jn({
1254
+ } = Xn({
1255
1255
  label: a,
1256
1256
  description: c,
1257
1257
  multiple: z,
@@ -1260,14 +1260,14 @@ const Gn = (o, t) => Object.entries(o).every(
1260
1260
  isExpanded: L,
1261
1261
  onSelect: pe
1262
1262
  });
1263
- return so({
1263
+ return ro({
1264
1264
  inside: S,
1265
1265
  onOutsideClick() {
1266
1266
  L.value && (u == null || u(!0));
1267
1267
  }
1268
1268
  }), {
1269
1269
  elements: {
1270
- option: Q,
1270
+ option: ee,
1271
1271
  group: we,
1272
1272
  /**
1273
1273
  * The listbox associated with the combobox.
@@ -1302,14 +1302,14 @@ const Gn = (o, t) => Object.entries(o).every(
1302
1302
  }
1303
1303
  };
1304
1304
  }
1305
- ), ea = ve((o) => {
1305
+ ), ta = ve((o) => {
1306
1306
  const t = ae(), e = ae(), n = it(), l = ae();
1307
1307
  Ze({
1308
1308
  type: "keydown",
1309
1309
  listener: (p) => p.key === "Escape" && c(!1),
1310
1310
  disabled: y(() => !o.isExpanded.value)
1311
1311
  });
1312
- const a = ro(() => o.onToggle(), 200);
1312
+ const a = io(() => o.onToggle(), 200);
1313
1313
  Y(o.isExpanded, () => a.abort());
1314
1314
  const c = (p, h = !1) => {
1315
1315
  if (p === o.isExpanded.value) {
@@ -1401,10 +1401,10 @@ const Gn = (o, t) => Object.entries(o).every(
1401
1401
  "aria-labelledby": l,
1402
1402
  onClick: () => c(!1)
1403
1403
  },
1404
- ...po().elements
1404
+ ...mo().elements
1405
1405
  }
1406
1406
  };
1407
- }), po = ve(() => ({
1407
+ }), mo = ve(() => ({
1408
1408
  elements: {
1409
1409
  listItem: {
1410
1410
  role: "none"
@@ -1415,19 +1415,19 @@ const Gn = (o, t) => Object.entries(o).every(
1415
1415
  role: "menuitem"
1416
1416
  })
1417
1417
  }
1418
- })), ta = {
1418
+ })), oa = {
1419
1419
  /**
1420
1420
  * Ensures that a given `number` is or is between a given `min` and `max`.
1421
1421
  */
1422
1422
  clamp: (o, t, e) => Math.max(Math.min(o, e), t)
1423
- }, oa = ve(({ navigationName: o }) => {
1423
+ }, na = ve(({ navigationName: o }) => {
1424
1424
  const t = ae(), e = () => {
1425
1425
  const l = t ? document.getElementById(t) : void 0;
1426
1426
  return l ? [...l.querySelectorAll("button[aria-expanded][aria-controls]")] : [];
1427
1427
  }, n = (l, a) => {
1428
1428
  const c = e(), i = c.indexOf(l);
1429
1429
  if (i === -1) return;
1430
- const d = ta.clamp(
1430
+ const d = oa.clamp(
1431
1431
  i + (a === "next" ? 1 : -1),
1432
1432
  0,
1433
1433
  c.length - 1
@@ -1452,7 +1452,7 @@ const Gn = (o, t) => Object.entries(o).every(
1452
1452
  }
1453
1453
  }
1454
1454
  };
1455
- }), na = ve((o) => {
1455
+ }), aa = ve((o) => {
1456
1456
  const t = /* @__PURE__ */ new Map(), e = (l) => (t.has(l) || t.set(l, { tabId: ae(), panelId: ae() }), t.get(l)), n = (l) => {
1457
1457
  var v, b;
1458
1458
  const a = l.target, c = Array.from(
@@ -1518,20 +1518,20 @@ const Gn = (o, t) => Object.entries(o).every(
1518
1518
  })
1519
1519
  }
1520
1520
  };
1521
- }), mo = ({ isExpanded: o }) => Ze({
1521
+ }), yo = ({ isExpanded: o }) => Ze({
1522
1522
  type: "keydown",
1523
1523
  listener: (t) => {
1524
1524
  t.key === "Escape" && (o.value = !1);
1525
1525
  },
1526
1526
  disabled: y(() => !o.value)
1527
- }), aa = ve(
1527
+ }), la = ve(
1528
1528
  ({ toggleLabel: o, isVisible: t }) => {
1529
- const e = it(), n = it(), l = ne(t ?? !1);
1530
- so({
1529
+ const e = it(), n = it(), l = X(t ?? !1);
1530
+ ro({
1531
1531
  inside: y(() => [e.value, n.value]),
1532
1532
  onOutsideClick: () => l.value = !1,
1533
1533
  disabled: y(() => !l.value)
1534
- }), mo({ isExpanded: l });
1534
+ }), yo({ isExpanded: l });
1535
1535
  const a = () => l.value = !l.value;
1536
1536
  return {
1537
1537
  elements: {
@@ -1559,8 +1559,8 @@ const Gn = (o, t) => Object.entries(o).every(
1559
1559
  }
1560
1560
  };
1561
1561
  }
1562
- ), la = ve(({ debounce: o, isVisible: t }) => {
1563
- const e = ae(), n = ne(t ?? !1);
1562
+ ), sa = ve(({ debounce: o, isVisible: t }) => {
1563
+ const e = ae(), n = X(t ?? !1);
1564
1564
  let l;
1565
1565
  const a = y({
1566
1566
  get: () => n.value,
@@ -1575,7 +1575,7 @@ const Gn = (o, t) => Object.entries(o).every(
1575
1575
  onFocusin: () => n.value = !0,
1576
1576
  onFocusout: () => n.value = !1
1577
1577
  };
1578
- return mo({ isExpanded: n }), {
1578
+ return yo({ isExpanded: n }), {
1579
1579
  elements: {
1580
1580
  /**
1581
1581
  * The element which controls the tooltip visibility on hover.
@@ -1599,7 +1599,7 @@ const Gn = (o, t) => Object.entries(o).every(
1599
1599
  isVisible: n
1600
1600
  }
1601
1601
  };
1602
- }), yo = (o, t = "bottom") => {
1602
+ }), ho = (o, t = "bottom") => {
1603
1603
  const e = T(t);
1604
1604
  return {
1605
1605
  /**
@@ -1621,7 +1621,7 @@ const Gn = (o, t) => Object.entries(o).every(
1621
1621
  e.value = p > u ? "top" : "bottom";
1622
1622
  }
1623
1623
  };
1624
- }, wt = (o) => o ? getComputedStyle(o).overflow.includes("hidden") ? o : o.parentElement ? wt(o.parentElement) : void 0 : void 0, sa = (o, t) => {
1624
+ }, wt = (o) => o ? getComputedStyle(o).overflow.includes("hidden") ? o : o.parentElement ? wt(o.parentElement) : void 0 : void 0, ra = (o, t) => {
1625
1625
  const n = T("center");
1626
1626
  return {
1627
1627
  /**
@@ -1681,7 +1681,7 @@ const Gn = (o, t) => Object.entries(o).every(
1681
1681
  [`onyx-tooltip--${t.position}`]: t.position !== "auto",
1682
1682
  [`onyx-tooltip--${L.value}`]: t.alignment === "auto",
1683
1683
  [`onyx-tooltip--${t.alignment}`]: t.alignment !== "auto"
1684
- })), p = () => d.value === "hover" ? la(c.value) : aa(i.value), h = Kt(p());
1684
+ })), p = () => d.value === "hover" ? sa(c.value) : la(i.value), h = Zt(p());
1685
1685
  Y(d, () => h.value = p());
1686
1686
  const v = y(() => {
1687
1687
  var Z;
@@ -1689,7 +1689,7 @@ const Gn = (o, t) => Object.entries(o).every(
1689
1689
  }), b = y(() => {
1690
1690
  var Z;
1691
1691
  return he((Z = h.value) == null ? void 0 : Z.elements.trigger);
1692
- }), g = T(), S = T(), { openDirection: M, updateOpenDirection: I } = yo(g, "top"), { wedgePosition: L, updateWedgePosition: z } = sa(g, S), U = () => {
1692
+ }), g = T(), S = T(), { openDirection: M, updateOpenDirection: I } = ho(g, "top"), { wedgePosition: L, updateWedgePosition: z } = ra(g, S), U = () => {
1693
1693
  I(), z();
1694
1694
  };
1695
1695
  return Ze({
@@ -1720,15 +1720,15 @@ const Gn = (o, t) => Object.entries(o).every(
1720
1720
  k(Z.$slots, "default", { trigger: b.value })
1721
1721
  ], 2));
1722
1722
  }
1723
- }), ra = { class: "onyx-component" }, Ct = /* @__PURE__ */ w({
1723
+ }), ia = { class: "onyx-component" }, Ct = /* @__PURE__ */ w({
1724
1724
  __name: "OnyxErrorTooltip",
1725
1725
  props: {
1726
1726
  errorMessages: {},
1727
1727
  disabled: { type: Boolean }
1728
1728
  },
1729
1729
  setup(o) {
1730
- const t = o, e = y(() => ao(t.errorMessages)), n = T();
1731
- return (l, a) => (r(), m("div", ra, [
1730
+ const t = o, e = y(() => lo(t.errorMessages)), n = T();
1731
+ return (l, a) => (r(), m("div", ia, [
1732
1732
  !e.value || t.disabled ? (r(), m("div", {
1733
1733
  key: 0,
1734
1734
  ref_key: "targetRef",
@@ -1758,7 +1758,7 @@ const Gn = (o, t) => Object.entries(o).every(
1758
1758
  ], 8, ["to"])) : _("", !0)
1759
1759
  ]));
1760
1760
  }
1761
- }), ia = ["title"], ca = { class: "onyx-checkbox__container" }, ua = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"], tt = /* @__PURE__ */ w({
1761
+ }), ca = ["title"], ua = { class: "onyx-checkbox__container" }, da = ["aria-label", "indeterminate", "disabled", "required", "value", "autofocus"], tt = /* @__PURE__ */ w({
1762
1762
  __name: "OnyxCheckbox",
1763
1763
  props: {
1764
1764
  density: {},
@@ -1767,7 +1767,7 @@ const Gn = (o, t) => Object.entries(o).every(
1767
1767
  hideLabel: { type: Boolean },
1768
1768
  disabled: { default: W },
1769
1769
  loading: { type: Boolean, default: !1 },
1770
- skeleton: { type: [Symbol, Boolean, Number], default: X },
1770
+ skeleton: { type: [Symbol, Boolean, Number], default: Q },
1771
1771
  truncation: { default: "ellipsis" },
1772
1772
  required: { type: Boolean, default: !1 },
1773
1773
  requiredMarker: {},
@@ -1781,7 +1781,7 @@ const Gn = (o, t) => Object.entries(o).every(
1781
1781
  const e = o, n = t, l = y({
1782
1782
  get: () => e.modelValue,
1783
1783
  set: (b) => n("update:modelValue", b)
1784
- }), { requiredMarkerClass: a, requiredTypeClass: c } = Ke(e), { densityClass: i } = R(e), { vCustomValidity: d, errorMessages: u } = fe({ props: e, emit: n }), { disabled: p } = se(e), h = oe(e), v = y(() => e.hideLabel ? e.label : void 0);
1784
+ }), { requiredMarkerClass: a, requiredTypeClass: c } = Ke(e), { densityClass: i } = R(e), { vCustomValidity: d, errorMessages: u } = fe({ props: e, emit: n }), { disabled: p } = se(e), h = ne(e), v = y(() => e.hideLabel ? e.label : void 0);
1785
1785
  return (b, g) => s(h) ? (r(), m("div", {
1786
1786
  key: 0,
1787
1787
  class: C(["onyx-component", "onyx-checkbox-skeleton", s(i)])
@@ -1801,7 +1801,7 @@ const Gn = (o, t) => Object.entries(o).every(
1801
1801
  class: C(["onyx-component onyx-checkbox", [s(c), s(i)]]),
1802
1802
  title: v.value
1803
1803
  }, [
1804
- f("div", ca, [
1804
+ f("div", ua, [
1805
1805
  e.loading ? (r(), x(de, {
1806
1806
  key: 0,
1807
1807
  class: "onyx-checkbox__loading",
@@ -1817,8 +1817,8 @@ const Gn = (o, t) => Object.entries(o).every(
1817
1817
  required: e.required,
1818
1818
  value: e.value,
1819
1819
  autofocus: e.autofocus
1820
- }, null, 8, ua)), [
1821
- [Zt, l.value],
1820
+ }, null, 8, da)), [
1821
+ [jt, l.value],
1822
1822
  [s(d)]
1823
1823
  ])
1824
1824
  ]),
@@ -1835,12 +1835,12 @@ const Gn = (o, t) => Object.entries(o).every(
1835
1835
  class: C(["onyx-checkbox__marker", [s(a)]])
1836
1836
  }, null, 2)) : _("", !0)
1837
1837
  ], 64))
1838
- ], 10, ia)
1838
+ ], 10, ca)
1839
1839
  ]),
1840
1840
  _: 1
1841
1841
  }, 8, ["disabled", "error-messages"]));
1842
1842
  }
1843
- }), da = (o, t) => y(() => {
1843
+ }), pa = (o, t) => y(() => {
1844
1844
  const e = t.value.filter(
1845
1845
  (l) => o.value.includes(l)
1846
1846
  ), n = e.length === o.value.length;
@@ -1848,14 +1848,14 @@ const Gn = (o, t) => Object.entries(o).every(
1848
1848
  modelValue: n,
1849
1849
  indeterminate: !n && o.value.length && e.length ? !0 : void 0
1850
1850
  };
1851
- }), ho = (o, t, e) => ({
1851
+ }), fo = (o, t, e) => ({
1852
1852
  /**
1853
1853
  * Current "select all" checkbox state.
1854
1854
  * - checked if all options are checked
1855
1855
  * - indeterminate if at least one but not all options are checked
1856
1856
  * - unchecked if no options are checked
1857
1857
  */
1858
- state: da(o, t),
1858
+ state: pa(o, t),
1859
1859
  /**
1860
1860
  * Provides an update for the checkbox list with
1861
1861
  * - all option values if "select all" was checked
@@ -1882,7 +1882,7 @@ const Gn = (o, t) => Object.entries(o).every(
1882
1882
  _: 3
1883
1883
  }));
1884
1884
  }
1885
- }), pa = { class: "onyx-component onyx-info-tooltip" }, je = /* @__PURE__ */ w({
1885
+ }), ma = { class: "onyx-component onyx-info-tooltip" }, je = /* @__PURE__ */ w({
1886
1886
  __name: "OnyxInfoTooltip",
1887
1887
  props: {
1888
1888
  text: {},
@@ -1892,7 +1892,7 @@ const Gn = (o, t) => Object.entries(o).every(
1892
1892
  },
1893
1893
  setup(o) {
1894
1894
  const t = o, e = y(() => typeof t.open == "object" ? t.open.type : typeof t.open == "string" ? t.open : "click");
1895
- return (n, l) => (r(), m("span", pa, [
1895
+ return (n, l) => (r(), m("span", ma, [
1896
1896
  e.value === "click" ? (r(), x(He, {
1897
1897
  key: 0,
1898
1898
  text: t.text,
@@ -1933,10 +1933,10 @@ const Gn = (o, t) => Object.entries(o).every(
1933
1933
  ], 64))
1934
1934
  ]));
1935
1935
  }
1936
- }), ma = ["disabled", "aria-label"], ya = {
1936
+ }), ya = ["disabled", "aria-label"], ha = {
1937
1937
  key: 0,
1938
1938
  class: "onyx-checkbox-group__label"
1939
- }, Sr = /* @__PURE__ */ w({
1939
+ }, Mr = /* @__PURE__ */ w({
1940
1940
  __name: "OnyxCheckboxGroup",
1941
1941
  props: {
1942
1942
  density: {},
@@ -1949,7 +1949,7 @@ const Gn = (o, t) => Object.entries(o).every(
1949
1949
  direction: { default: "vertical" },
1950
1950
  withCheckAll: { type: [Boolean, Object], default: !1 },
1951
1951
  disabled: { default: W },
1952
- skeleton: { type: [Symbol, Boolean, Number], default: X }
1952
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
1953
1953
  },
1954
1954
  emits: ["update:modelValue"],
1955
1955
  setup(o, { emit: t }) {
@@ -1958,7 +1958,7 @@ const Gn = (o, t) => Object.entries(o).every(
1958
1958
  l("update:modelValue", g);
1959
1959
  }, i = y(
1960
1960
  () => e.options.filter((v) => !v.disabled && !v.skeleton).map(({ value: v }) => v)
1961
- ), { disabled: d } = se(e), u = oe(e), p = ho(
1961
+ ), { disabled: d } = se(e), u = ne(e), p = fo(
1962
1962
  i,
1963
1963
  y(() => e.modelValue),
1964
1964
  (v) => l("update:modelValue", v)
@@ -1972,7 +1972,7 @@ const Gn = (o, t) => Object.entries(o).every(
1972
1972
  disabled: s(d),
1973
1973
  "aria-label": e.label
1974
1974
  }, [
1975
- e.hideLabel ? _("", !0) : (r(), m("legend", ya, [
1975
+ e.hideLabel ? _("", !0) : (r(), m("legend", ha, [
1976
1976
  V(_e, { is: "h3" }, {
1977
1977
  default: $(() => [
1978
1978
  G(E(e.label), 1)
@@ -1991,7 +1991,7 @@ const Gn = (o, t) => Object.entries(o).every(
1991
1991
  "onyx-checkbox-group__content--vertical": e.direction === "vertical"
1992
1992
  }])
1993
1993
  }, [
1994
- s(u) ? typeof s(u) == "number" ? (r(!0), m(H, { key: 1 }, te(s(u), (g) => (r(), x(tt, {
1994
+ s(u) ? typeof s(u) == "number" ? (r(!0), m(H, { key: 1 }, oe(s(u), (g) => (r(), x(tt, {
1995
1995
  key: g,
1996
1996
  label: `Skeleton ${g}`,
1997
1997
  value: `skeleton-${g}`,
@@ -2003,7 +2003,7 @@ const Gn = (o, t) => Object.entries(o).every(
2003
2003
  class: "onyx-checkbox-group__option onyx-checkbox-group__check-all",
2004
2004
  "onUpdate:modelValue": s(p).handleChange
2005
2005
  }), null, 16, ["label", "onUpdate:modelValue"])) : _("", !0),
2006
- (r(!0), m(H, null, te(e.options, (g) => (r(), x(tt, B({
2006
+ (r(!0), m(H, null, oe(e.options, (g) => (r(), x(tt, B({
2007
2007
  key: g.value.toString(),
2008
2008
  ref_for: !0
2009
2009
  }, g, {
@@ -2014,9 +2014,9 @@ const Gn = (o, t) => Object.entries(o).every(
2014
2014
  }), null, 16, ["truncation", "model-value", "onUpdate:modelValue"]))), 128))
2015
2015
  ], 64))
2016
2016
  ], 2)
2017
- ], 10, ma));
2017
+ ], 10, ya));
2018
2018
  }
2019
- }), ha = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.25 17.25h-4.5V6.008h4.5zm-3-1.5h1.5V7.508h-1.5zm14.273 1.958c.457-.668.727-1.47.727-2.333 0-.127-.008-.255-.023-.375V4.508h-4.5v6.765a4.3 4.3 0 0 0-1.5.442V8.258h-4.5v8.992h2.716a4.12 4.12 0 0 0 3.667 2.25c.863 0 1.672-.27 2.332-.727l2.76 2.76 1.058-1.058-2.76-2.76zm-.788-11.7v6.18a4.05 4.05 0 0 0-1.492-.773v-5.4h1.492zm-7.492 9.742V9.758h1.5v3.292a4.1 4.1 0 0 0-.735 2.325c0 .127.007.255.022.375zM16.124 18a2.63 2.63 0 0 1-2.625-2.625 2.63 2.63 0 0 1 2.625-2.625 2.63 2.63 0 0 1 2.625 2.625A2.63 2.63 0 0 1 16.125 18"/></svg>', fo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m12 10.94 3.61-3.612 1.062 1.06L13.06 12l3.612 3.61-1.062 1.062L12 13.06l-3.61 3.612-1.062-1.062L10.94 12 7.328 8.389l1.062-1.06z"/><path fill-rule="evenodd" d="M14.049 1.702a10.5 10.5 0 0 1 5.376 2.873 10.466 10.466 0 0 1 0 14.85 10.5 10.5 0 1 1-5.376-17.723m1.394 18.644a9 9 0 0 0 2.92-1.982A9.002 9.002 0 0 0 15.48 3.626a9 9 0 0 0-9.843 2.01 9 9 0 0 0 9.807 14.71" clip-rule="evenodd"/></svg>', fa = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" }, vo = /* @__PURE__ */ w({
2019
+ }), fa = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.25 17.25h-4.5V6.008h4.5zm-3-1.5h1.5V7.508h-1.5zm14.273 1.958c.457-.668.727-1.47.727-2.333 0-.127-.008-.255-.023-.375V4.508h-4.5v6.765a4.3 4.3 0 0 0-1.5.442V8.258h-4.5v8.992h2.716a4.12 4.12 0 0 0 3.667 2.25c.863 0 1.672-.27 2.332-.727l2.76 2.76 1.058-1.058-2.76-2.76zm-.788-11.7v6.18a4.05 4.05 0 0 0-1.492-.773v-5.4h1.492zm-7.492 9.742V9.758h1.5v3.292a4.1 4.1 0 0 0-.735 2.325c0 .127.007.255.022.375zM16.124 18a2.63 2.63 0 0 1-2.625-2.625 2.63 2.63 0 0 1 2.625-2.625 2.63 2.63 0 0 1 2.625 2.625A2.63 2.63 0 0 1 16.125 18"/></svg>', vo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m12 10.94 3.61-3.612 1.062 1.06L13.06 12l3.612 3.61-1.062 1.062L12 13.06l-3.61 3.612-1.062-1.062L10.94 12 7.328 8.389l1.062-1.06z"/><path fill-rule="evenodd" d="M14.049 1.702a10.5 10.5 0 0 1 5.376 2.873 10.466 10.466 0 0 1 0 14.85 10.5 10.5 0 1 1-5.376-17.723m1.394 18.644a9 9 0 0 0 2.92-1.982A9.002 9.002 0 0 0 15.48 3.626a9 9 0 0 0-9.843 2.01 9 9 0 0 0 9.807 14.71" clip-rule="evenodd"/></svg>', va = { class: "onyx-empty__label onyx-text onyx-truncation-multiline" }, _o = /* @__PURE__ */ w({
2020
2020
  __name: "OnyxEmpty",
2021
2021
  props: {
2022
2022
  density: {}
@@ -2028,19 +2028,19 @@ const Gn = (o, t) => Object.entries(o).every(
2028
2028
  }, [
2029
2029
  k(n.$slots, "icon", {}, () => [
2030
2030
  V(A, {
2031
- icon: s(fo),
2031
+ icon: s(vo),
2032
2032
  size: "48px"
2033
2033
  }, null, 8, ["icon"])
2034
2034
  ]),
2035
- f("div", fa, [
2035
+ f("div", va, [
2036
2036
  k(n.$slots, "default")
2037
2037
  ])
2038
2038
  ], 2));
2039
2039
  }
2040
- }), va = { class: "onyx-table-wrapper onyx-component" }, _a = ["tabindex"], ba = ["span"], xa = {
2040
+ }), _a = { class: "onyx-table-wrapper onyx-component" }, ba = ["tabindex"], xa = ["span"], ga = {
2041
2041
  key: 0,
2042
2042
  class: "onyx-table__header"
2043
- }, ga = { key: 0 }, ka = ["colspan"], wa = { class: "onyx-table__empty" }, Ca = { colspan: "100%" }, $a = { class: "onyx-table__empty-content" }, Sa = /* @__PURE__ */ w({
2043
+ }, ka = { key: 0 }, wa = ["colspan"], Ca = { class: "onyx-table__empty" }, $a = { colspan: "100%" }, Sa = { class: "onyx-table__empty-content" }, Ma = /* @__PURE__ */ w({
2044
2044
  __name: "OnyxTable",
2045
2045
  props: {
2046
2046
  density: {},
@@ -2053,7 +2053,7 @@ const Gn = (o, t) => Object.entries(o).every(
2053
2053
  const t = o, e = ie(), { t: n } = P(), { densityClass: l } = R(t), a = y(() => n.value("table.empty"));
2054
2054
  return (c, i) => {
2055
2055
  var d;
2056
- return r(), m("div", va, [
2056
+ return r(), m("div", _a, [
2057
2057
  f("div", {
2058
2058
  class: C({ "onyx-table-wrapper__scroll-container": !t.withPageScrolling }),
2059
2059
  tabindex: t.withPageScrolling ? void 0 : 0
@@ -2065,31 +2065,31 @@ const Gn = (o, t) => Object.entries(o).every(
2065
2065
  s(l)
2066
2066
  ]])
2067
2067
  }, [
2068
- (r(!0), m(H, null, te(t.columnGroups, (u) => (r(), m("colgroup", {
2068
+ (r(!0), m(H, null, oe(t.columnGroups, (u) => (r(), m("colgroup", {
2069
2069
  key: u.key,
2070
2070
  span: u.span
2071
- }, null, 8, ba))), 128)),
2072
- e.head ? (r(), m("thead", xa, [
2073
- (d = t.columnGroups) != null && d.length ? (r(), m("tr", ga, [
2074
- (r(!0), m(H, null, te(t.columnGroups, (u) => (r(), m("th", {
2071
+ }, null, 8, xa))), 128)),
2072
+ e.head ? (r(), m("thead", ga, [
2073
+ (d = t.columnGroups) != null && d.length ? (r(), m("tr", ka, [
2074
+ (r(!0), m(H, null, oe(t.columnGroups, (u) => (r(), m("th", {
2075
2075
  key: u.key,
2076
2076
  colspan: u.span,
2077
2077
  scope: "colgroup",
2078
2078
  class: "onyx-table__colgroup"
2079
- }, E(u.header), 9, ka))), 128))
2079
+ }, E(u.header), 9, wa))), 128))
2080
2080
  ])) : _("", !0),
2081
2081
  k(c.$slots, "head")
2082
2082
  ])) : _("", !0),
2083
2083
  f("tbody", null, [
2084
2084
  k(c.$slots, "default", {}, () => [
2085
- f("tr", wa, [
2086
- f("td", Ca, [
2087
- f("div", $a, [
2085
+ f("tr", Ca, [
2086
+ f("td", $a, [
2087
+ f("div", Sa, [
2088
2088
  k(c.$slots, "empty", { defaultMessage: a.value }, () => [
2089
- V(vo, null, {
2089
+ V(_o, null, {
2090
2090
  icon: $(() => [
2091
2091
  V(A, {
2092
- icon: s(ha),
2092
+ icon: s(fa),
2093
2093
  size: "48px"
2094
2094
  }, null, 8, ["icon"])
2095
2095
  ]),
@@ -2105,11 +2105,11 @@ const Gn = (o, t) => Object.entries(o).every(
2105
2105
  ])
2106
2106
  ])
2107
2107
  ], 2)
2108
- ], 10, _a)
2108
+ ], 10, ba)
2109
2109
  ]);
2110
2110
  };
2111
2111
  }
2112
- }), Ma = /* @__PURE__ */ w({
2112
+ }), Va = /* @__PURE__ */ w({
2113
2113
  __name: "OnyxDataGridRenderer",
2114
2114
  props: {
2115
2115
  density: {},
@@ -2122,10 +2122,10 @@ const Gn = (o, t) => Object.entries(o).every(
2122
2122
  },
2123
2123
  setup(o) {
2124
2124
  const t = o;
2125
- return (e, n) => (r(), x(Sa, B({ class: "onyx-data-grid" }, t), {
2125
+ return (e, n) => (r(), x(Ma, B({ class: "onyx-data-grid" }, t), {
2126
2126
  head: $(() => [
2127
2127
  f("tr", null, [
2128
- (r(!0), m(H, null, te(t.columns, (l) => (r(), m("th", B({
2128
+ (r(!0), m(H, null, oe(t.columns, (l) => (r(), m("th", B({
2129
2129
  key: l.key,
2130
2130
  ref_for: !0
2131
2131
  }, l.thAttributes, { scope: "col" }), [
@@ -2134,11 +2134,11 @@ const Gn = (o, t) => Object.entries(o).every(
2134
2134
  ])
2135
2135
  ]),
2136
2136
  default: $(() => [
2137
- (r(!0), m(H, null, te(t.rows, (l) => (r(), m("tr", B({
2137
+ (r(!0), m(H, null, oe(t.rows, (l) => (r(), m("tr", B({
2138
2138
  key: l.id,
2139
2139
  ref_for: !0
2140
2140
  }, l.trAttributes), [
2141
- (r(!0), m(H, null, te(t.columns, (a) => (r(), m(H, {
2141
+ (r(!0), m(H, null, oe(t.columns, (a) => (r(), m(H, {
2142
2142
  key: a.key
2143
2143
  }, [
2144
2144
  l.cells[a.key] ? (r(), m("td", B({
@@ -2153,7 +2153,7 @@ const Gn = (o, t) => Object.entries(o).every(
2153
2153
  _: 1
2154
2154
  }, 16));
2155
2155
  }
2156
- }), Va = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.75 14.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m8.25 0a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5M22.5 12a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0"/></svg>', $t = /* @__PURE__ */ w({
2156
+ }), Ba = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.75 14.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m8.25 0a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5M22.5 12a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0"/></svg>', $t = /* @__PURE__ */ w({
2157
2157
  __name: "OnyxListItem",
2158
2158
  props: {
2159
2159
  density: {},
@@ -2180,15 +2180,15 @@ const Gn = (o, t) => Object.entries(o).every(
2180
2180
  k(n.$slots, "default")
2181
2181
  ], 2));
2182
2182
  }
2183
- }), Ba = (o) => y(o), be = Symbol("MANAGED_SYMBOL"), ze = (o, t, e) => {
2183
+ }), Oa = (o) => y(o), be = Symbol("MANAGED_SYMBOL"), ze = (o, t, e) => {
2184
2184
  const n = y(() => o.value === be), l = T(he(n) ? t : o.value);
2185
- return { state: Ba({
2185
+ return { state: Oa({
2186
2186
  set: (c) => {
2187
2187
  l.value = c, e(c);
2188
2188
  },
2189
2189
  get: () => n.value ? l.value : o.value
2190
2190
  }), isManaged: n };
2191
- }, Oa = ["aria-label"], St = /* @__PURE__ */ w({
2191
+ }, Ea = ["aria-label"], St = /* @__PURE__ */ w({
2192
2192
  __name: "OnyxFlyoutMenu",
2193
2193
  props: {
2194
2194
  open: { default: be },
@@ -2198,12 +2198,12 @@ const Gn = (o, t) => Object.entries(o).every(
2198
2198
  emits: ["update:open"],
2199
2199
  setup(o, { emit: t }) {
2200
2200
  const e = o, n = t, { state: l } = ze(
2201
- ne(() => e.open),
2201
+ X(() => e.open),
2202
2202
  !1,
2203
2203
  (u) => n("update:open", u)
2204
2204
  ), a = ie(), {
2205
2205
  elements: { root: c, button: i, menu: d }
2206
- } = ea({
2206
+ } = ta({
2207
2207
  isExpanded: y(() => !!l.value),
2208
2208
  onToggle: () => l.value = !l.value,
2209
2209
  trigger: y(() => e.trigger)
@@ -2224,30 +2224,30 @@ const Gn = (o, t) => Object.entries(o).every(
2224
2224
  k(u.$slots, "options")
2225
2225
  ], 16)) : _("", !0),
2226
2226
  k(u.$slots, "footer")
2227
- ], 10, Oa)), [
2227
+ ], 10, Ea)), [
2228
2228
  [vt, s(l)]
2229
2229
  ]) : _("", !0)
2230
2230
  ], 16));
2231
2231
  }
2232
- }), Ea = { class: "onyx-component onyx-data-grid-header-cell" }, Ta = { class: "onyx-data-grid-header-cell__label" }, Ia = {
2232
+ }), Ta = { class: "onyx-component onyx-data-grid-header-cell" }, Ia = { class: "onyx-data-grid-header-cell__label" }, La = {
2233
2233
  key: 0,
2234
2234
  class: "onyx-data-grid-header-cell__actions"
2235
- }, Ht = /* @__PURE__ */ w({
2235
+ }, zt = /* @__PURE__ */ w({
2236
2236
  __name: "HeaderCell",
2237
2237
  props: {
2238
2238
  label: {}
2239
2239
  },
2240
2240
  setup(o) {
2241
2241
  const t = o, e = ie();
2242
- return (n, l) => (r(), m("div", Ea, [
2243
- f("span", Ta, E(t.label), 1),
2244
- e.actions ? (r(), m("div", Ia, [
2242
+ return (n, l) => (r(), m("div", Ta, [
2243
+ f("span", Ia, E(t.label), 1),
2244
+ e.actions ? (r(), m("div", La, [
2245
2245
  k(n.$slots, "actions")
2246
2246
  ])) : _("", !0)
2247
2247
  ]));
2248
2248
  }
2249
2249
  });
2250
- const La = (o) => {
2250
+ const Aa = (o) => {
2251
2251
  const t = (l) => {
2252
2252
  const c = o.map((i) => i.header).filter((i) => !!i).map((i) => i.actions).filter((i) => !!i);
2253
2253
  return l.map((i) => {
@@ -2262,7 +2262,7 @@ const La = (o) => {
2262
2262
  button: ({ trigger: b }) => $e(Ge, {
2263
2263
  label: p.value("navigation.moreActionsTrigger"),
2264
2264
  color: "medium",
2265
- icon: Va,
2265
+ icon: Ba,
2266
2266
  ...b
2267
2267
  }),
2268
2268
  options: () => h
@@ -2270,14 +2270,14 @@ const La = (o) => {
2270
2270
  );
2271
2271
  return {
2272
2272
  key: i,
2273
- component: () => $e(Ht, { label: String(i) }, { actions: () => v }),
2273
+ component: () => $e(zt, { label: String(i) }, { actions: () => v }),
2274
2274
  props: {}
2275
2275
  };
2276
2276
  }
2277
2277
  const u = c.flatMap((p) => p(i)).map(({ iconComponent: p }) => p);
2278
2278
  return {
2279
2279
  key: i,
2280
- component: () => $e(Ht, { label: String(i) }, { actions: () => u }),
2280
+ component: () => $e(zt, { label: String(i) }, { actions: () => u }),
2281
2281
  props: {}
2282
2282
  };
2283
2283
  });
@@ -2305,7 +2305,7 @@ const La = (o) => {
2305
2305
  // the combined `watch` for all features
2306
2306
  watchSources: n
2307
2307
  };
2308
- }, Mr = /* @__PURE__ */ w({
2308
+ }, Vr = /* @__PURE__ */ w({
2309
2309
  __name: "OnyxDataGrid",
2310
2310
  props: {
2311
2311
  features: { default: () => [] },
@@ -2313,8 +2313,8 @@ const La = (o) => {
2313
2313
  data: {}
2314
2314
  },
2315
2315
  setup(o) {
2316
- const t = o, e = T([]), n = T([]), { columns: l, data: a, features: c } = jt(t), i = y(
2317
- () => La(c.value)
2316
+ const t = o, e = T([]), n = T([]), { columns: l, data: a, features: c } = Yt(t), i = y(
2317
+ () => Aa(c.value)
2318
2318
  );
2319
2319
  let d;
2320
2320
  const u = () => {
@@ -2333,12 +2333,12 @@ const La = (o) => {
2333
2333
  d == null || d(), d = u();
2334
2334
  },
2335
2335
  { immediate: !0 }
2336
- ), (p, h) => (r(), x(Ma, {
2336
+ ), (p, h) => (r(), x(Va, {
2337
2337
  columns: e.value,
2338
2338
  rows: n.value
2339
2339
  }, null, 8, ["columns", "rows"]));
2340
2340
  }
2341
- }), Aa = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.905 12.653 12 17.558l-4.905-4.905 1.058-1.058 3.097 3.098V6h1.5v8.693l3.098-3.098z"/></svg>', Da = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.095 10.905 12 6l4.905 4.905-1.058 1.058-3.097-3.098v8.693h-1.5V8.865l-3.098 3.098z"/></svg>', Ra = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m15.75 1.94 5.03 5.03-1.06 1.06-3.22-3.22v8.69H15V4.81l-3.22 3.22-1.06-1.06zM9 10.5v8.69l3.22-3.22 1.06 1.06-5.03 5.03-5.03-5.03 1.06-1.06 3.22 3.22V10.5z"/></svg>', Na = /* @__PURE__ */ w({
2341
+ }), Da = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.905 12.653 12 17.558l-4.905-4.905 1.058-1.058 3.097 3.098V6h1.5v8.693l3.098-3.098z"/></svg>', Ra = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.095 10.905 12 6l4.905 4.905-1.058 1.058-3.097-3.098v8.693h-1.5V8.865l-3.098 3.098z"/></svg>', Na = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m15.75 1.94 5.03 5.03-1.06 1.06-3.22-3.22v8.69H15V4.81l-3.22 3.22-1.06-1.06zM9 10.5v8.69l3.22-3.22 1.06 1.06-5.03 5.03-5.03-5.03 1.06-1.06 3.22 3.22V10.5z"/></svg>', Ha = /* @__PURE__ */ w({
2342
2342
  __name: "SortAction",
2343
2343
  props: {
2344
2344
  columnLabel: {},
@@ -2346,7 +2346,7 @@ const La = (o) => {
2346
2346
  },
2347
2347
  setup(o) {
2348
2348
  const t = o, { t: e } = P(), n = y(
2349
- () => t.sortDirection === "asc" ? Da : t.sortDirection === "desc" ? Aa : Ra
2349
+ () => t.sortDirection === "asc" ? Ra : t.sortDirection === "desc" ? Da : Na
2350
2350
  ), l = y(() => {
2351
2351
  const a = pt(t.sortDirection);
2352
2352
  return e.value(`dataGrid.head.sortingAction.${a}`, {
@@ -2369,8 +2369,8 @@ const La = (o) => {
2369
2369
  default:
2370
2370
  return "asc";
2371
2371
  }
2372
- }, Ha = Symbol("Sorting"), za = (o) => {
2373
- const t = ne(
2372
+ }, za = Symbol("Sorting"), Pa = (o) => {
2373
+ const t = X(
2374
2374
  (o == null ? void 0 : o.sortState) ?? {
2375
2375
  column: void 0,
2376
2376
  direction: "none"
@@ -2393,7 +2393,7 @@ const La = (o) => {
2393
2393
  };
2394
2394
  };
2395
2395
  return {
2396
- name: Ha,
2396
+ name: za,
2397
2397
  watch: [t, a],
2398
2398
  mutation: {
2399
2399
  func: (d) => {
@@ -2407,7 +2407,7 @@ const La = (o) => {
2407
2407
  header: {
2408
2408
  actions: (d) => n.value(d) === !0 ? [
2409
2409
  {
2410
- iconComponent: $e(Na, {
2410
+ iconComponent: $e(Ha, {
2411
2411
  columnLabel: String(d),
2412
2412
  sortDirection: t.value.column === d ? t.value.direction : void 0,
2413
2413
  onClick: () => c(d)
@@ -2416,10 +2416,10 @@ const La = (o) => {
2416
2416
  ] : []
2417
2417
  }
2418
2418
  };
2419
- }, Vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2419
+ }, Br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2420
2420
  __proto__: null,
2421
- useSorting: za
2422
- }, Symbol.toStringTag, { value: "Module" })), Te = (o) => y(() => o.value === !0 ? "onyx-form-element--immediate-invalid" : o.value === !1 ? "onyx-form-element--suppress-invalid" : "onyx-form-element--touched-invalid"), Pa = {
2421
+ useSorting: Pa
2422
+ }, Symbol.toStringTag, { value: "Module" })), Te = (o) => y(() => o.value === !0 ? "onyx-form-element--immediate-invalid" : o.value === !1 ? "onyx-form-element--suppress-invalid" : "onyx-form-element--touched-invalid"), Fa = {
2423
2423
  class: /* @__PURE__ */ C(["onyx-truncation-ellipsis"])
2424
2424
  }, ot = /* @__PURE__ */ w({
2425
2425
  __name: "FormMessage",
@@ -2433,7 +2433,7 @@ const La = (o) => {
2433
2433
  class: C(["onyx-component", "onyx-form-message", `onyx-form-message__${t.type}`])
2434
2434
  }, {
2435
2435
  default: $(() => [
2436
- f("span", Pa, E(t.messages.shortMessage), 1),
2436
+ f("span", Fa, E(t.messages.shortMessage), 1),
2437
2437
  t.messages.longMessage ? (r(), x(je, {
2438
2438
  key: 0,
2439
2439
  class: "onyx-form-message__tooltip",
@@ -2446,10 +2446,10 @@ const La = (o) => {
2446
2446
  _: 1
2447
2447
  }, 8, ["class"]));
2448
2448
  }
2449
- }), Fa = {
2449
+ }), Ua = {
2450
2450
  key: 0,
2451
2451
  class: "onyx-form-element__label onyx-text--small"
2452
- }, Ua = ["for"], qa = { class: "onyx-form-element__footer onyx-text--small" }, Ga = { class: "onyx-form-element__footer-messages" }, Ka = {
2452
+ }, qa = ["for"], Ga = { class: "onyx-form-element__footer onyx-text--small" }, Ka = { class: "onyx-form-element__footer-messages" }, Za = {
2453
2453
  key: 0,
2454
2454
  class: "onyx-form-element__counter"
2455
2455
  }, Ie = /* @__PURE__ */ w({
@@ -2483,11 +2483,11 @@ const La = (o) => {
2483
2483
  a.successMessages ? "onyx-form-element--success" : void 0
2484
2484
  ])
2485
2485
  }, [
2486
- t.hideLabel ? _("", !0) : (r(), m("div", Fa, [
2486
+ t.hideLabel ? _("", !0) : (r(), m("div", Ua, [
2487
2487
  f("label", {
2488
2488
  for: t.id,
2489
2489
  class: "onyx-truncation-ellipsis"
2490
- }, E(t.label), 9, Ua),
2490
+ }, E(t.label), 9, qa),
2491
2491
  t.required ? (r(), m("span", {
2492
2492
  key: 0,
2493
2493
  class: C([t.required ? s(e) : void 0])
@@ -2506,8 +2506,8 @@ const La = (o) => {
2506
2506
  k(a.$slots, "default", {
2507
2507
  id: t.id
2508
2508
  }),
2509
- f("div", qa, [
2510
- f("span", Ga, [
2509
+ f("div", Ga, [
2510
+ f("span", Ka, [
2511
2511
  t.errorMessages ? (r(), x(ot, {
2512
2512
  key: 0,
2513
2513
  class: "onyx-form-element__error-message",
@@ -2527,11 +2527,11 @@ const La = (o) => {
2527
2527
  type: "neutral"
2528
2528
  }, null, 8, ["messages"])) : _("", !0)
2529
2529
  ]),
2530
- l.value ? (r(), m("span", Ka, E(l.value), 1)) : _("", !0)
2530
+ l.value ? (r(), m("span", Za, E(l.value), 1)) : _("", !0)
2531
2531
  ])
2532
2532
  ], 2));
2533
2533
  }
2534
- }), Za = { class: "onyx-datepicker__wrapper" }, ja = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"], Br = /* @__PURE__ */ w({
2534
+ }), ja = { class: "onyx-datepicker__wrapper" }, Ya = ["id", "type", "required", "autofocus", "name", "readonly", "disabled", "aria-label", "title", "min", "max"], Or = /* @__PURE__ */ w({
2535
2535
  __name: "OnyxDatePicker",
2536
2536
  props: {
2537
2537
  disabled: { default: W },
@@ -2553,7 +2553,7 @@ const La = (o) => {
2553
2553
  loading: { type: Boolean, default: !1 },
2554
2554
  hideSuccessIcon: { type: Boolean },
2555
2555
  hideClearIcon: { type: Boolean },
2556
- skeleton: { type: [Symbol, Boolean, Number], default: X },
2556
+ skeleton: { type: [Symbol, Boolean, Number], default: Q },
2557
2557
  modelValue: {},
2558
2558
  type: { default: "date" },
2559
2559
  min: {},
@@ -2561,7 +2561,7 @@ const La = (o) => {
2561
2561
  },
2562
2562
  emits: ["update:modelValue", "validityChange"],
2563
2563
  setup(o, { emit: t }) {
2564
- const e = o, n = t, { vCustomValidity: l, errorMessages: a } = fe({ props: e, emit: n }), c = y(() => ce(e.success)), i = y(() => ce(e.message)), { densityClass: d } = R(e), { disabled: u, showError: p } = se(e), h = oe(e), v = Te(p), b = y(() => (S) => {
2564
+ const e = o, n = t, { vCustomValidity: l, errorMessages: a } = fe({ props: e, emit: n }), c = y(() => ce(e.success)), i = y(() => ce(e.message)), { densityClass: d } = R(e), { disabled: u, showError: p } = se(e), h = ne(e), v = Te(p), b = y(() => (S) => {
2565
2565
  const M = S != null ? new Date(S) : void 0;
2566
2566
  if (!rt(M)) return;
2567
2567
  const I = M.toISOString().split("T")[0];
@@ -2594,7 +2594,7 @@ const La = (o) => {
2594
2594
  message: i.value
2595
2595
  }), {
2596
2596
  default: $(({ id: I }) => [
2597
- f("div", Za, [
2597
+ f("div", ja, [
2598
2598
  e.loading ? (r(), x(de, {
2599
2599
  key: 0,
2600
2600
  class: "onyx-datepicker__loading",
@@ -2615,8 +2615,8 @@ const La = (o) => {
2615
2615
  title: e.hideLabel ? e.label : void 0,
2616
2616
  min: b.value(e.min),
2617
2617
  max: b.value(e.max)
2618
- }, null, 10, ja)), [
2619
- [Yt, g.value],
2618
+ }, null, 10, Ya)), [
2619
+ [Wt, g.value],
2620
2620
  [s(l)]
2621
2621
  ])
2622
2622
  ])
@@ -2625,7 +2625,7 @@ const La = (o) => {
2625
2625
  }, 16, ["error-messages", "success-messages", "message"])
2626
2626
  ], 2));
2627
2627
  }
2628
- }), Ya = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.15 7.913v1.5h4.377l-6.145 6.144 1.06 1.06 6.146-6.144v4.377h1.5V7.913z"/></svg>', Wa = (o) => /^http(s?):\/\//.test(o), Mt = /* @__PURE__ */ w({
2628
+ }), Wa = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.15 7.913v1.5h4.377l-6.145 6.144 1.06 1.06 6.146-6.144v4.377h1.5V7.913z"/></svg>', Ja = (o) => /^http(s?):\/\//.test(o), Mt = /* @__PURE__ */ w({
2629
2629
  __name: "OnyxExternalLinkIcon",
2630
2630
  props: {
2631
2631
  href: {},
@@ -2634,16 +2634,16 @@ const La = (o) => {
2634
2634
  setup(o) {
2635
2635
  const t = o, e = y(() => {
2636
2636
  const n = t.withExternalIcon;
2637
- return n !== "auto" ? n : Wa(t.href ?? "");
2637
+ return n !== "auto" ? n : Ja(t.href ?? "");
2638
2638
  });
2639
2639
  return (n, l) => e.value ? (r(), x(A, {
2640
2640
  key: 0,
2641
2641
  class: "onyx-component onyx-external-link-icon",
2642
- icon: s(Ya),
2642
+ icon: s(Wa),
2643
2643
  size: "16px"
2644
2644
  }, null, 8, ["icon"])) : _("", !0);
2645
2645
  }
2646
- }), Or = ["h1", "h2", "h3", "h4", "h5", "h6"], Er = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"], Ja = ["aria-label", "title", "type", "disabled", "autofocus"], Xa = /* @__PURE__ */ w({
2646
+ }), Er = ["h1", "h2", "h3", "h4", "h5", "h6"], Tr = ["12px", "16px", "24px", "32px", "48px", "64px", "96px"], Xa = ["aria-label", "title", "type", "disabled", "autofocus"], Qa = /* @__PURE__ */ w({
2647
2647
  __name: "OnyxIconButton",
2648
2648
  props: {
2649
2649
  density: {},
@@ -2654,10 +2654,10 @@ const La = (o) => {
2654
2654
  color: { default: "primary" },
2655
2655
  loading: { type: Boolean },
2656
2656
  icon: {},
2657
- skeleton: { type: [Symbol, Boolean, Number], default: X }
2657
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
2658
2658
  },
2659
2659
  setup(o) {
2660
- const t = o, { densityClass: e } = R(t), { disabled: n } = se(t), l = oe(t);
2660
+ const t = o, { densityClass: e } = R(t), { disabled: n } = se(t), l = ne(t);
2661
2661
  return (a, c) => s(l) ? (r(), x(K, {
2662
2662
  key: 0,
2663
2663
  class: C(["onyx-icon-button-skeleton", s(e)])
@@ -2681,9 +2681,9 @@ const La = (o) => {
2681
2681
  key: 1,
2682
2682
  icon: t.icon
2683
2683
  }, null, 8, ["icon"])) : k(a.$slots, "default", { key: 2 })
2684
- ], 10, Ja));
2684
+ ], 10, Xa));
2685
2685
  }
2686
- }), Vt = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m15.983 8.095-6.22 6.22-2.468-2.47-1.061 1.062 3.53 3.525 7.28-7.28z"/></svg>', Qa = { class: "onyx-input__wrapper" }, el = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "minlength", "maxlength", "aria-label", "title"], tl = ["aria-label", "title"], Tr = /* @__PURE__ */ w({
2686
+ }), Vt = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m15.983 8.095-6.22 6.22-2.468-2.47-1.061 1.062 3.53 3.525 7.28-7.28z"/></svg>', el = { class: "onyx-input__wrapper" }, tl = ["id", "placeholder", "type", "required", "autocapitalize", "autocomplete", "autofocus", "name", "pattern", "readonly", "disabled", "minlength", "maxlength", "aria-label", "title"], ol = ["aria-label", "title"], Ir = /* @__PURE__ */ w({
2687
2687
  __name: "OnyxInput",
2688
2688
  props: /* @__PURE__ */ Ne({
2689
2689
  disabled: { default: W },
@@ -2714,14 +2714,14 @@ const La = (o) => {
2714
2714
  hideSuccessIcon: { type: Boolean, default: !1 },
2715
2715
  hideClearIcon: { type: Boolean, default: !1 },
2716
2716
  minlength: {},
2717
- skeleton: { type: [Symbol, Boolean, Number], default: X }
2717
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
2718
2718
  }, {
2719
2719
  modelValue: { default: "" },
2720
2720
  modelModifiers: {}
2721
2721
  }),
2722
2722
  emits: /* @__PURE__ */ Ne(["update:modelValue", "validityChange"], ["update:modelValue"]),
2723
2723
  setup(o, { emit: t }) {
2724
- const e = o, n = t, { t: l } = P(), { vCustomValidity: a, errorMessages: c } = fe({ props: e, emit: n }), i = y(() => ce(e.success)), d = y(() => ce(e.message)), { densityClass: u } = R(e), p = _t(o, "modelValue"), h = y(() => e.pattern instanceof RegExp ? e.pattern.source : e.pattern), { disabled: v, showError: b } = se(e), g = oe(e), S = Te(b);
2724
+ const e = o, n = t, { t: l } = P(), { vCustomValidity: a, errorMessages: c } = fe({ props: e, emit: n }), i = y(() => ce(e.success)), d = y(() => ce(e.message)), { densityClass: u } = R(e), p = _t(o, "modelValue"), h = y(() => e.pattern instanceof RegExp ? e.pattern.source : e.pattern), { disabled: v, showError: b } = se(e), g = ne(e), S = Te(b);
2725
2725
  return (M, I) => s(g) ? (r(), m("div", {
2726
2726
  key: 0,
2727
2727
  class: C(["onyx-component", "onyx-input-skeleton", s(u)])
@@ -2741,7 +2741,7 @@ const La = (o) => {
2741
2741
  message: d.value
2742
2742
  }), {
2743
2743
  default: $(({ id: L }) => [
2744
- f("div", Qa, [
2744
+ f("div", el, [
2745
2745
  e.loading ? (r(), x(de, {
2746
2746
  key: 0,
2747
2747
  class: "onyx-input__loading",
@@ -2765,8 +2765,8 @@ const La = (o) => {
2765
2765
  maxlength: e.maxlength,
2766
2766
  "aria-label": e.hideLabel ? e.label : void 0,
2767
2767
  title: e.hideLabel ? e.label : void 0
2768
- }, null, 8, el), [
2769
- [Yt, p.value],
2768
+ }, null, 8, tl), [
2769
+ [Wt, p.value],
2770
2770
  [s(a)]
2771
2771
  ]),
2772
2772
  !e.hideClearIcon && p.value !== "" ? (r(), m("button", {
@@ -2779,7 +2779,7 @@ const La = (o) => {
2779
2779
  onClick: I[1] || (I[1] = () => p.value = "")
2780
2780
  }, [
2781
2781
  V(A, { icon: s(ke) }, null, 8, ["icon"])
2782
- ], 8, tl)) : _("", !0),
2782
+ ], 8, ol)) : _("", !0),
2783
2783
  !e.hideSuccessIcon && i.value ? (r(), x(A, {
2784
2784
  key: 2,
2785
2785
  class: "onyx-input__check-icon",
@@ -2792,7 +2792,7 @@ const La = (o) => {
2792
2792
  }, 16, ["error-messages", "success-messages", "message"])
2793
2793
  ], 2));
2794
2794
  }
2795
- }), Ir = ["email", "password", "search", "tel", "text", "url"], Lr = ["none", "sentences", "words", "characters"], ol = ["href", "target", "rel"], Ar = /* @__PURE__ */ w({
2795
+ }), Lr = ["email", "password", "search", "tel", "text", "url"], Ar = ["none", "sentences", "words", "characters"], nl = ["href", "target", "rel"], Dr = /* @__PURE__ */ w({
2796
2796
  __name: "OnyxLink",
2797
2797
  props: {
2798
2798
  href: {},
@@ -2815,10 +2815,10 @@ const La = (o) => {
2815
2815
  _: 1
2816
2816
  })) : _("", !0),
2817
2817
  V(Mt, Be(Oe(t)), null, 16)
2818
- ], 8, ol));
2818
+ ], 8, nl));
2819
2819
  }
2820
- }), Dr = ["_self", "_blank", "_parent", "_top"], nl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m21.53 20.47-5.977-5.977a7.512 7.512 0 1 0-1.06 1.06l5.977 5.977zM3.75 9.75a6 6 0 1 1 6 6 6.007 6.007 0 0 1-6-6"/></svg>', _o = () => {
2821
- const o = Lo(), t = y(
2820
+ }), Rr = ["_self", "_blank", "_parent", "_top"], al = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m21.53 20.47-5.977-5.977a7.512 7.512 0 1 0-1.06 1.06l5.977 5.977zM3.75 9.75a6 6 0 1 1 6 6 6.007 6.007 0 0 1-6-6"/></svg>', bo = () => {
2821
+ const o = Ao(), t = y(
2822
2822
  () => ({ class: o.class, style: o.style })
2823
2823
  ), e = y(() => {
2824
2824
  const n = { ...o };
@@ -2834,7 +2834,7 @@ const La = (o) => {
2834
2834
  */
2835
2835
  restAttrs: e
2836
2836
  };
2837
- }, al = ["placeholder", "aria-label"], ll = ["aria-label"], sl = /* @__PURE__ */ w({
2837
+ }, ll = ["placeholder", "aria-label"], sl = ["aria-label"], rl = /* @__PURE__ */ w({
2838
2838
  inheritAttrs: !1,
2839
2839
  __name: "OnyxMiniSearch",
2840
2840
  props: {
@@ -2844,7 +2844,7 @@ const La = (o) => {
2844
2844
  },
2845
2845
  emits: ["update:modelValue", "clear"],
2846
2846
  setup(o, { expose: t, emit: e }) {
2847
- const n = o, l = e, { rootAttrs: a, restAttrs: c } = _o(), { densityClass: i } = R(n), { t: d } = P(), u = T(), p = y({
2847
+ const n = o, l = e, { rootAttrs: a, restAttrs: c } = bo(), { densityClass: i } = R(n), { t: d } = P(), u = T(), p = y({
2848
2848
  get: () => n.modelValue,
2849
2849
  set: (v) => l("update:modelValue", v ?? "")
2850
2850
  }), h = y(() => d.value("select.searchPlaceholder"));
@@ -2871,7 +2871,7 @@ const La = (o) => {
2871
2871
  size: "1"
2872
2872
  }, s(c), {
2873
2873
  "aria-label": n.label
2874
- }), null, 16, al), [
2874
+ }), null, 16, ll), [
2875
2875
  [bt, p.value]
2876
2876
  ]),
2877
2877
  f("button", {
@@ -2884,14 +2884,14 @@ const La = (o) => {
2884
2884
  onClick: b[2] || (b[2] = (g) => l("clear"))
2885
2885
  }, [
2886
2886
  V(A, { icon: s(ke) }, null, 8, ["icon"])
2887
- ], 40, ll),
2887
+ ], 40, sl),
2888
2888
  V(A, {
2889
2889
  class: "onyx-mini-search__icon",
2890
- icon: s(nl)
2890
+ icon: s(al)
2891
2891
  }, null, 8, ["icon"])
2892
2892
  ], 16));
2893
2893
  }
2894
- }), rl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m20.78 4.28-1.06-1.06L12 10.94 4.28 3.22 3.22 4.28 10.94 12l-7.72 7.72 1.06 1.06L12 13.06l7.72 7.72 1.06-1.06L13.06 12z"/></svg>', il = { class: "onyx-component onyx-mobile-nav-button" }, cl = ["aria-label"], ul = { class: "onyx-mobile-nav-button__flyout" }, dl = { class: "onyx-mobile-nav-button__menu" }, zt = /* @__PURE__ */ w({
2894
+ }), il = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m20.78 4.28-1.06-1.06L12 10.94 4.28 3.22 3.22 4.28 10.94 12l-7.72 7.72 1.06 1.06L12 13.06l7.72 7.72 1.06-1.06L13.06 12z"/></svg>', cl = { class: "onyx-component onyx-mobile-nav-button" }, ul = ["aria-label"], dl = { class: "onyx-mobile-nav-button__flyout" }, pl = { class: "onyx-mobile-nav-button__menu" }, Pt = /* @__PURE__ */ w({
2895
2895
  __name: "OnyxMobileNavButton",
2896
2896
  props: {
2897
2897
  label: {},
@@ -2902,7 +2902,7 @@ const La = (o) => {
2902
2902
  emits: ["update:open"],
2903
2903
  setup(o, { emit: t }) {
2904
2904
  const e = o, n = t;
2905
- return (l, a) => (r(), m("div", il, [
2905
+ return (l, a) => (r(), m("div", cl, [
2906
2906
  f("button", {
2907
2907
  type: "button",
2908
2908
  class: C(["onyx-mobile-nav-button__trigger", { "onyx-mobile-nav-button__trigger--active": e.open }]),
@@ -2910,12 +2910,12 @@ const La = (o) => {
2910
2910
  onClick: a[0] || (a[0] = (c) => n("update:open", !e.open))
2911
2911
  }, [
2912
2912
  V(A, {
2913
- icon: e.open ? s(rl) : e.icon
2913
+ icon: e.open ? s(il) : e.icon
2914
2914
  }, null, 8, ["icon"])
2915
- ], 10, cl),
2915
+ ], 10, ul),
2916
2916
  e.open ? (r(), m(H, { key: 0 }, [
2917
- f("div", ul, [
2918
- f("div", dl, [
2917
+ f("div", dl, [
2918
+ f("div", pl, [
2919
2919
  e.headline ? (r(), x(_e, {
2920
2920
  key: 0,
2921
2921
  is: "h2",
@@ -2937,7 +2937,7 @@ const La = (o) => {
2937
2937
  ], 64)) : _("", !0)
2938
2938
  ]));
2939
2939
  }
2940
- }), pl = { class: "onyx-modal-dialog__header" }, ml = { class: "onyx-modal-dialog__headline" }, yl = { class: "onyx-modal-dialog__subtitle onyx-text--small" }, Rr = /* @__PURE__ */ w({
2940
+ }), ml = { class: "onyx-modal-dialog__header" }, yl = { class: "onyx-modal-dialog__headline" }, hl = { class: "onyx-modal-dialog__subtitle onyx-text--small" }, Nr = /* @__PURE__ */ w({
2941
2941
  __name: "OnyxModalDialog",
2942
2942
  props: {
2943
2943
  density: {},
@@ -2954,8 +2954,8 @@ const La = (o) => {
2954
2954
  onClose: i[1] || (i[1] = (d) => n("close"))
2955
2955
  }), {
2956
2956
  default: $(() => [
2957
- f("div", pl, [
2958
- f("div", ml, [
2957
+ f("div", ml, [
2958
+ f("div", yl, [
2959
2959
  k(c.$slots, "headline", {
2960
2960
  label: e.label
2961
2961
  }, () => [
@@ -2973,7 +2973,7 @@ const La = (o) => {
2973
2973
  onClick: i[0] || (i[0] = (d) => n("close"))
2974
2974
  }, null, 8, ["label", "icon"])
2975
2975
  ]),
2976
- f("div", yl, [
2976
+ f("div", hl, [
2977
2977
  k(c.$slots, "subtitle")
2978
2978
  ])
2979
2979
  ]),
@@ -3002,13 +3002,13 @@ const La = (o) => {
3002
3002
  { immediate: !0 }
3003
3003
  ), Fe(() => c.disconnect());
3004
3004
  }), { width: n, height: l };
3005
- }, mt = (o) => o instanceof Element ? o : o == null ? void 0 : o.$el, hl = (o) => {
3005
+ }, mt = (o) => o instanceof Element ? o : o == null ? void 0 : o.$el, fl = (o) => {
3006
3006
  const t = T([]), e = T([]), { width: n } = Pe(o.parentRef), { width: l } = Pe(o.moreIndicatorRef), a = yt(/* @__PURE__ */ new Map());
3007
3007
  return Ue(() => {
3008
3008
  ye(() => {
3009
3009
  let c = n.value;
3010
3010
  if (c <= 0) return;
3011
- const i = Pt(o.parentRef.value), d = Pt(o.listRef.value);
3011
+ const i = Ft(o.parentRef.value), d = Ft(o.listRef.value);
3012
3012
  l.value > 0 && (c -= l.value + i), t.value = [], e.value = [], Array.from(a.entries()).forEach(([u, p], h) => {
3013
3013
  c -= p + (h > 0 ? d : 0), c >= 0 || // check if last element fits if more indicator would be hidden
3014
3014
  h === a.size - 1 && c + l.value >= 0 ? t.value.push(u) : e.value.push(u);
@@ -3031,10 +3031,10 @@ const La = (o) => {
3031
3031
  */
3032
3032
  componentMap: a
3033
3033
  };
3034
- }, Pt = (o) => {
3034
+ }, Ft = (o) => {
3035
3035
  const t = mt(o);
3036
3036
  return t && Number.parseFloat(getComputedStyle(t).columnGap) || 0;
3037
- }, fl = (o) => {
3037
+ }, vl = (o) => {
3038
3038
  const t = ae(), e = T(), n = me(o, void 0), { width: l } = Pe(e);
3039
3039
  Y(
3040
3040
  l,
@@ -3056,14 +3056,14 @@ const La = (o) => {
3056
3056
  */
3057
3057
  isVisible: a
3058
3058
  };
3059
- }, Nr = /* @__PURE__ */ w({
3059
+ }, Hr = /* @__PURE__ */ w({
3060
3060
  __name: "OnyxMoreList",
3061
3061
  props: {
3062
3062
  injectionKey: {}
3063
3063
  },
3064
3064
  emits: ["visibilityChange"],
3065
3065
  setup(o, { emit: t }) {
3066
- const e = o, n = t, l = T(), a = T(), c = T(), i = hl({ parentRef: l, listRef: a, moreIndicatorRef: c });
3066
+ const e = o, n = t, l = T(), a = T(), c = T(), i = fl({ parentRef: l, listRef: a, moreIndicatorRef: c });
3067
3067
  return Ve(e.injectionKey, i), Y(
3068
3068
  [() => i.visibleElements.value.length, () => i.hiddenElements.value.length],
3069
3069
  ([d, u]) => {
@@ -3091,10 +3091,10 @@ const La = (o) => {
3091
3091
  }) : _("", !0)
3092
3092
  ], 512));
3093
3093
  }
3094
- }), vl = ["aria-label"], _l = ["src", "alt"], bl = {
3094
+ }), _l = ["aria-label"], bl = ["src", "alt"], xl = {
3095
3095
  key: 1,
3096
3096
  class: "onyx-text-small onyx-truncation-ellipsis"
3097
- }, xl = /* @__PURE__ */ w({
3097
+ }, gl = /* @__PURE__ */ w({
3098
3098
  __name: "OnyxNavAppArea",
3099
3099
  props: {
3100
3100
  logoUrl: {},
@@ -3116,12 +3116,12 @@ const La = (o) => {
3116
3116
  class: "onyx-nav-app-area__logo",
3117
3117
  width: "24",
3118
3118
  height: "24"
3119
- }, null, 8, _l)) : _("", !0),
3120
- t.appName ? (r(), m("span", bl, E(t.appName), 1)) : _("", !0)
3119
+ }, null, 8, bl)) : _("", !0),
3120
+ t.appName ? (r(), m("span", xl, E(t.appName), 1)) : _("", !0)
3121
3121
  ])
3122
- ], 8, vl));
3122
+ ], 8, _l));
3123
3123
  }
3124
- }), gl = `<svg width="166" height="104" viewBox="0 0 166 104" fill="none" xmlns="http://www.w3.org/2000/svg">
3124
+ }), kl = `<svg width="166" height="104" viewBox="0 0 166 104" fill="none" xmlns="http://www.w3.org/2000/svg">
3125
3125
  <g clip-path="url(#clip0_4499_144781)">
3126
3126
  <mask id="mask0_4499_144781" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="83" height="104">
3127
3127
  <rect width="83" height="104" fill="#D9D9D9"/>
@@ -3209,7 +3209,7 @@ const La = (o) => {
3209
3209
  </clipPath>
3210
3210
  </defs>
3211
3211
  </svg>
3212
- `, kl = `<svg width="166" height="104" viewBox="0 0 166 104" fill="none" xmlns="http://www.w3.org/2000/svg">
3212
+ `, wl = `<svg width="166" height="104" viewBox="0 0 166 104" fill="none" xmlns="http://www.w3.org/2000/svg">
3213
3213
  <g clip-path="url(#clip0_4499_144833)">
3214
3214
  <path d="M0 4C0 1.79086 1.79086 0 4 0H162C164.209 0 166 1.79086 166 4V100C166 102.209 164.209 104 162 104H4C1.79086 104 0 102.209 0 100V4Z" fill="var(--onyx-color-steel-1100"/>
3215
3215
  <g filter="url(#filter0_d_4499_144833)">
@@ -3256,7 +3256,7 @@ const La = (o) => {
3256
3256
  </clipPath>
3257
3257
  </defs>
3258
3258
  </svg>
3259
- `, wl = `<svg width="166" height="104" viewBox="0 0 166 104" fill="none" xmlns="http://www.w3.org/2000/svg">
3259
+ `, Cl = `<svg width="166" height="104" viewBox="0 0 166 104" fill="none" xmlns="http://www.w3.org/2000/svg">
3260
3260
  <g clip-path="url(#clip0_4499_144816)">
3261
3261
  <path d="M0 4C0 1.79086 1.79086 0 4 0H162C164.209 0 166 1.79086 166 4V100C166 102.209 164.209 104 162 104H4C1.79086 104 0 102.209 0 100V4Z" fill="white"/>
3262
3262
  <g filter="url(#filter0_d_4499_144816)">
@@ -3303,7 +3303,7 @@ const La = (o) => {
3303
3303
  </clipPath>
3304
3304
  </defs>
3305
3305
  </svg>
3306
- `, Cl = { class: "onyx-color-scheme-dialog__subtitle onyx-text" }, $l = ["innerHTML"], Sl = ["autofocus", "value", "checked", "aria-label"], Ml = { class: "onyx-text--small" }, Vl = { class: "onyx-color-scheme-dialog__actions" }, Bl = /* @__PURE__ */ w({
3306
+ `, $l = { class: "onyx-color-scheme-dialog__subtitle onyx-text" }, Sl = ["innerHTML"], Ml = ["autofocus", "value", "checked", "aria-label"], Vl = { class: "onyx-text--small" }, Bl = { class: "onyx-color-scheme-dialog__actions" }, Ol = /* @__PURE__ */ w({
3307
3307
  __name: "OnyxColorSchemeDialog",
3308
3308
  props: {
3309
3309
  open: { type: Boolean, default: !1 },
@@ -3317,19 +3317,19 @@ const La = (o) => {
3317
3317
  const { t: a } = P(), c = y(() => [
3318
3318
  {
3319
3319
  value: "auto",
3320
- image: gl,
3320
+ image: kl,
3321
3321
  label: a.value("colorScheme.auto.label"),
3322
3322
  description: a.value("colorScheme.auto.description")
3323
3323
  },
3324
3324
  {
3325
3325
  value: "light",
3326
- image: wl,
3326
+ image: Cl,
3327
3327
  label: a.value("colorScheme.light.label"),
3328
3328
  description: a.value("colorScheme.light.description")
3329
3329
  },
3330
3330
  {
3331
3331
  value: "dark",
3332
- image: kl,
3332
+ image: wl,
3333
3333
  label: a.value("colorScheme.dark.label"),
3334
3334
  description: a.value("colorScheme.dark.description")
3335
3335
  }
@@ -3356,20 +3356,20 @@ const La = (o) => {
3356
3356
  ]),
3357
3357
  _: 1
3358
3358
  }),
3359
- f("span", Cl, E(s(a)("colorScheme.subtitle")), 1)
3359
+ f("span", $l, E(s(a)("colorScheme.subtitle")), 1)
3360
3360
  ]),
3361
3361
  f("fieldset", {
3362
3362
  class: "onyx-color-scheme-dialog__list",
3363
3363
  onChange: i
3364
3364
  }, [
3365
- (r(!0), m(H, null, te(c.value, (h) => (r(), m("label", {
3365
+ (r(!0), m(H, null, oe(c.value, (h) => (r(), m("label", {
3366
3366
  key: h.value,
3367
3367
  class: "onyx-color-scheme-dialog__option"
3368
3368
  }, [
3369
3369
  f("figure", {
3370
3370
  class: "onyx-color-scheme-dialog__image",
3371
3371
  innerHTML: h.image
3372
- }, null, 8, $l),
3372
+ }, null, 8, Sl),
3373
3373
  f("div", null, [
3374
3374
  V(Ee, { is: "div" }, {
3375
3375
  default: $(() => [
@@ -3381,7 +3381,7 @@ const La = (o) => {
3381
3381
  checked: e.modelValue === h.value,
3382
3382
  "aria-label": h.label,
3383
3383
  required: ""
3384
- }, null, 8, Sl)
3384
+ }, null, 8, Ml)
3385
3385
  ]),
3386
3386
  _: 2
3387
3387
  }, 1024),
@@ -3394,11 +3394,11 @@ const La = (o) => {
3394
3394
  ]),
3395
3395
  _: 2
3396
3396
  }, 1024),
3397
- f("p", Ml, E(h.description), 1)
3397
+ f("p", Vl, E(h.description), 1)
3398
3398
  ])
3399
3399
  ]))), 128))
3400
3400
  ], 32),
3401
- f("div", Vl, [
3401
+ f("div", Bl, [
3402
3402
  V(st, {
3403
3403
  label: s(a)("cancel"),
3404
3404
  mode: "plain",
@@ -3415,7 +3415,7 @@ const La = (o) => {
3415
3415
  _: 1
3416
3416
  }, 16, ["label"]));
3417
3417
  }
3418
- }), Ol = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.008 1.5c-5.79 0-10.493 4.71-10.493 10.493 0 5.782 4.71 10.492 10.493 10.492 5.782 0 10.492-4.71 10.492-10.492S17.79 1.5 12.008 1.5M13.5 3.135q.753.126 1.463.375v16.973q-.709.249-1.463.375zm2.962 1.058a9.3 9.3 0 0 1 1.59 1.162v13.282a9 9 0 0 1-1.59 1.163zm3.083 2.917a8.93 8.93 0 0 1 1.447 4.882 9 9 0 0 1-1.447 4.883zM3.008 11.992C3.008 7.036 7.043 3 12 3v17.993c-4.957 0-8.992-4.035-8.992-8.993z"/></svg>', El = ["href", "target", "rel"], Tl = ["disabled"], bo = /* @__PURE__ */ w({
3418
+ }), El = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.008 1.5c-5.79 0-10.493 4.71-10.493 10.493 0 5.782 4.71 10.492 10.493 10.492 5.782 0 10.492-4.71 10.492-10.492S17.79 1.5 12.008 1.5M13.5 3.135q.753.126 1.463.375v16.973q-.709.249-1.463.375zm2.962 1.058a9.3 9.3 0 0 1 1.59 1.162v13.282a9 9 0 0 1-1.59 1.163zm3.083 2.917a8.93 8.93 0 0 1 1.447 4.882 9 9 0 0 1-1.447 4.883zM3.008 11.992C3.008 7.036 7.043 3 12 3v17.993c-4.957 0-8.992-4.035-8.992-8.993z"/></svg>', Tl = ["href", "target", "rel"], Il = ["disabled"], xo = /* @__PURE__ */ w({
3419
3419
  __name: "OnyxMenuItem",
3420
3420
  props: {
3421
3421
  target: { default: "_self" },
@@ -3427,7 +3427,7 @@ const La = (o) => {
3427
3427
  setup(o) {
3428
3428
  const t = o, { t: e } = P(), {
3429
3429
  elements: { listItem: n, menuItem: l }
3430
- } = po(), a = y(
3430
+ } = mo(), a = y(
3431
3431
  () => l({
3432
3432
  active: t.active,
3433
3433
  disabled: t.disabled
@@ -3449,7 +3449,7 @@ const La = (o) => {
3449
3449
  rel: t.target === "_blank" ? "noreferrer" : void 0
3450
3450
  }, a.value), [
3451
3451
  k(c.$slots, "default")
3452
- ], 16, El)) : (r(), m("button", B({
3452
+ ], 16, Tl)) : (r(), m("button", B({
3453
3453
  key: 1,
3454
3454
  class: "onyx-menu-item__trigger",
3455
3455
  type: "button",
@@ -3462,12 +3462,12 @@ const La = (o) => {
3462
3462
  ]),
3463
3463
  _: 1
3464
3464
  })) : _("", !0)
3465
- ], 16, Tl))
3465
+ ], 16, Il))
3466
3466
  ]),
3467
3467
  _: 3
3468
3468
  }, 16, ["selected", "active", "color", "disabled"]));
3469
3469
  }
3470
- }), Il = { class: "onyx-color-scheme-menu-item__value" }, Hr = /* @__PURE__ */ w({
3470
+ }), Ll = { class: "onyx-color-scheme-menu-item__value" }, zr = /* @__PURE__ */ w({
3471
3471
  __name: "OnyxColorSchemeMenuItem",
3472
3472
  props: {
3473
3473
  modelValue: {}
@@ -3475,18 +3475,18 @@ const La = (o) => {
3475
3475
  emits: ["update:modelValue"],
3476
3476
  setup(o, { emit: t }) {
3477
3477
  const e = o, n = t, { t: l } = P(), a = T(!1);
3478
- return (c, i) => (r(), x(bo, {
3478
+ return (c, i) => (r(), x(xo, {
3479
3479
  class: "onyx-component onyx-color-scheme-menu-item",
3480
3480
  onClick: i[2] || (i[2] = (d) => a.value = !0)
3481
3481
  }, {
3482
3482
  default: $(() => [
3483
- V(A, { icon: s(Ol) }, null, 8, ["icon"]),
3483
+ V(A, { icon: s(El) }, null, 8, ["icon"]),
3484
3484
  f("div", null, [
3485
3485
  G(E(s(l)("colorScheme.appearance")) + ": ", 1),
3486
- f("span", Il, E(s(l)(`colorScheme.${e.modelValue}.label`)), 1)
3486
+ f("span", Ll, E(s(l)(`colorScheme.${e.modelValue}.label`)), 1)
3487
3487
  ]),
3488
3488
  (r(), x(ft, { to: "body" }, [
3489
- V(Bl, {
3489
+ V(Ol, {
3490
3490
  "model-value": e.modelValue,
3491
3491
  open: a.value,
3492
3492
  onClose: i[0] || (i[0] = (d) => a.value = !1),
@@ -3497,7 +3497,7 @@ const La = (o) => {
3497
3497
  _: 1
3498
3498
  }));
3499
3499
  }
3500
- }), xo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m9.905 6.22-1.06 1.06 4.72 4.72-4.72 4.72 1.06 1.06 5.78-5.78z"/></svg>', Ye = Symbol(), Ll = Symbol(), Al = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.618 11.626H8.936l3.094-3.094-1.064-1.056-4.899 4.898 4.9 4.9 1.063-1.064-3.094-3.086h8.682z"/></svg>', Dl = ["aria-orientation"], Rl = /* @__PURE__ */ w({
3500
+ }), go = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m9.905 6.22-1.06 1.06 4.72 4.72-4.72 4.72 1.06 1.06 5.78-5.78z"/></svg>', Ye = Symbol(), Al = Symbol(), Dl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.618 11.626H8.936l3.094-3.094-1.064-1.056-4.899 4.898 4.9 4.9 1.063-1.064-3.094-3.086h8.682z"/></svg>', Rl = ["aria-orientation"], Nl = /* @__PURE__ */ w({
3501
3501
  __name: "OnyxNavSeparator",
3502
3502
  props: {
3503
3503
  orientation: { default: "vertical" }
@@ -3511,12 +3511,12 @@ const La = (o) => {
3511
3511
  class: C(["onyx-component onyx-nav-separator", { "onyx-nav-separator--horizontal": t.orientation === "horizontal" || s(e) }]),
3512
3512
  role: "separator",
3513
3513
  "aria-orientation": t.orientation
3514
- }, null, 10, Dl));
3514
+ }, null, 10, Rl));
3515
3515
  }
3516
- }), Nl = {
3516
+ }), Hl = {
3517
3517
  class: "onyx-component",
3518
3518
  role: "presentation"
3519
- }, Hl = /* @__PURE__ */ w({
3519
+ }, zl = /* @__PURE__ */ w({
3520
3520
  __name: "NavButtonLayout",
3521
3521
  props: {
3522
3522
  href: {},
@@ -3529,21 +3529,21 @@ const La = (o) => {
3529
3529
  emits: ["update:mobileChildrenOpen"],
3530
3530
  setup(o, { emit: t }) {
3531
3531
  const e = o, n = ie(), { t: l } = P(), a = t;
3532
- return (c, i) => (r(), m("li", Nl, [
3532
+ return (c, i) => (r(), m("li", Hl, [
3533
3533
  e.isMobile ? (r(), m(H, { key: 0 }, [
3534
3534
  e.isMobile && c.mobileChildrenOpen ? (r(), x(st, {
3535
3535
  key: 0,
3536
3536
  label: s(l)("back"),
3537
3537
  mode: "plain",
3538
3538
  color: "neutral",
3539
- icon: s(Al),
3539
+ icon: s(Dl),
3540
3540
  onClick: i[0] || (i[0] = (d) => a("update:mobileChildrenOpen", !1))
3541
3541
  }, null, 8, ["label", "icon"])) : _("", !0),
3542
3542
  !c.mobileChildrenOpen || e.href ? k(c.$slots, "button", {
3543
3543
  key: 1,
3544
3544
  trigger: { trigger: {} }
3545
3545
  }) : _("", !0),
3546
- c.mobileChildrenOpen && e.href ? (r(), x(Rl, {
3546
+ c.mobileChildrenOpen && e.href ? (r(), x(Nl, {
3547
3547
  key: 2,
3548
3548
  orientation: "horizontal"
3549
3549
  })) : _("", !0),
@@ -3574,7 +3574,7 @@ const La = (o) => {
3574
3574
  ]), 1032, ["label"]))
3575
3575
  ]));
3576
3576
  }
3577
- }), zl = ["aria-label"], Pl = { class: "onyx-truncation-ellipsis" }, zr = /* @__PURE__ */ w({
3577
+ }), Pl = ["aria-label"], Fl = { class: "onyx-truncation-ellipsis" }, Pr = /* @__PURE__ */ w({
3578
3578
  __name: "OnyxNavButton",
3579
3579
  props: {
3580
3580
  href: {},
@@ -3588,19 +3588,19 @@ const La = (o) => {
3588
3588
  const e = o, n = t, l = ie(), a = me(
3589
3589
  Ye,
3590
3590
  y(() => !1)
3591
- ), c = y(() => !!l.children), { componentRef: i, isVisible: d } = fl(Ll), { state: u } = ze(
3592
- ne(() => e.mobileChildrenOpen),
3591
+ ), c = y(() => !!l.children), { componentRef: i, isVisible: d } = vl(Al), { state: u } = ze(
3592
+ X(() => e.mobileChildrenOpen),
3593
3593
  !1,
3594
3594
  (h) => n("update:mobileChildrenOpen", h)
3595
3595
  ), p = (h) => {
3596
3596
  a != null && a.value && c.value && !u.value ? u.value = !0 : e.href && n("navigate", e.href, h);
3597
3597
  };
3598
- return (h, v) => le((r(), x(Hl, B({
3598
+ return (h, v) => le((r(), x(zl, B({
3599
3599
  ref_key: "componentRef",
3600
3600
  ref: i
3601
3601
  }, e, {
3602
3602
  "mobile-children-open": s(u),
3603
- "onUpdate:mobileChildrenOpen": v[0] || (v[0] = (b) => Wt(u) ? u.value = b : null),
3603
+ "onUpdate:mobileChildrenOpen": v[0] || (v[0] = (b) => Jt(u) ? u.value = b : null),
3604
3604
  class: ["onyx-component onyx-nav-button", {
3605
3605
  "onyx-nav-button--mobile": s(a),
3606
3606
  "onyx-nav-button--active": e.active
@@ -3615,15 +3615,15 @@ const La = (o) => {
3615
3615
  type: "button"
3616
3616
  }, b, { onClick: p }), [
3617
3617
  k(h.$slots, "default", {}, () => [
3618
- f("span", Pl, E(e.label), 1),
3618
+ f("span", Fl, E(e.label), 1),
3619
3619
  V(Mt, Be(Oe(e)), null, 16)
3620
3620
  ]),
3621
3621
  s(a) && c.value && !s(u) ? (r(), x(A, {
3622
3622
  key: 0,
3623
3623
  class: "onyx-nav-button__mobile-chevron",
3624
- icon: s(xo)
3624
+ icon: s(go)
3625
3625
  }, null, 8, ["icon"])) : _("", !0)
3626
- ], 16, zl)
3626
+ ], 16, Pl)
3627
3627
  ]),
3628
3628
  _: 2
3629
3629
  }, [
@@ -3638,7 +3638,7 @@ const La = (o) => {
3638
3638
  [vt, s(a) || s(d)]
3639
3639
  ]);
3640
3640
  }
3641
- }), Pr = /* @__PURE__ */ w({
3641
+ }), Fr = /* @__PURE__ */ w({
3642
3642
  __name: "OnyxNavItem",
3643
3643
  props: {
3644
3644
  href: {},
@@ -3650,7 +3650,7 @@ const La = (o) => {
3650
3650
  emits: ["navigate"],
3651
3651
  setup(o, { emit: t }) {
3652
3652
  const e = o, n = t;
3653
- return (l, a) => (r(), x(bo, {
3653
+ return (l, a) => (r(), x(xo, {
3654
3654
  class: "onyx-component onyx-nav-item",
3655
3655
  active: e.active,
3656
3656
  href: e.href ?? "javascript:void(0)",
@@ -3665,7 +3665,7 @@ const La = (o) => {
3665
3665
  _: 3
3666
3666
  }, 8, ["active", "href"]));
3667
3667
  }
3668
- }), Fl = (o) => {
3668
+ }), Ul = (o) => {
3669
3669
  const t = T(), e = T(nt(new Date(o.value).getTime())), n = y(() => e.value === 0);
3670
3670
  return Y(
3671
3671
  o,
@@ -3690,23 +3690,23 @@ const La = (o) => {
3690
3690
  }, nt = (o) => {
3691
3691
  const t = o - Date.now();
3692
3692
  return Math.max(t, 0);
3693
- }, go = (o) => {
3693
+ }, ko = (o) => {
3694
3694
  const t = Math.floor(o / 6e4 / 60), e = Math.floor(o / 6e4 % 60), n = Math.floor(o % 6e4 / 1e3);
3695
3695
  return { hours: t, minutes: e, seconds: n };
3696
- }, Ul = (o, t) => {
3697
- const { hours: e, minutes: n, seconds: l } = go(o), a = (d) => d.toString().padStart(2, "0");
3696
+ }, ql = (o, t) => {
3697
+ const { hours: e, minutes: n, seconds: l } = ko(o), a = (d) => d.toString().padStart(2, "0");
3698
3698
  let c = "", i = at(t.formatToParts(o, "seconds"));
3699
3699
  return n > 0 && (i = at(t.formatToParts(o, "minutes"))), e > 0 && (i = at(t.formatToParts(o, "hours")), c = `${a(e)}:`), `${c}${a(n)}:${a(l)} ${i}`;
3700
3700
  }, at = (o) => {
3701
3701
  var t;
3702
3702
  return ((t = o.at(-1)) == null ? void 0 : t.value.replace(".", "").trim()) ?? "";
3703
- }, ql = (o) => {
3704
- const { hours: t, minutes: e, seconds: n } = go(o);
3703
+ }, Gl = (o) => {
3704
+ const { hours: t, minutes: e, seconds: n } = ko(o);
3705
3705
  return `PT${t}H${e}M${n}S`;
3706
- }, Gl = ["aria-label"], Kl = {
3706
+ }, Kl = ["aria-label"], Zl = {
3707
3707
  key: 0,
3708
3708
  class: "onyx-timer__label"
3709
- }, Zl = ["datetime"], Fr = /* @__PURE__ */ w({
3709
+ }, jl = ["datetime"], Ur = /* @__PURE__ */ w({
3710
3710
  __name: "OnyxTimer",
3711
3711
  props: {
3712
3712
  endTime: {},
@@ -3715,22 +3715,22 @@ const La = (o) => {
3715
3715
  },
3716
3716
  emits: ["timerEnded"],
3717
3717
  setup(o, { emit: t }) {
3718
- const e = o, n = t, { locale: l } = P(), { timeLeft: a, isEnded: c } = Fl(y(() => e.endTime)), i = y(
3718
+ const e = o, n = t, { locale: l } = P(), { timeLeft: a, isEnded: c } = Ul(y(() => e.endTime)), i = y(
3719
3719
  () => new Intl.RelativeTimeFormat(l.value, { numeric: "always", style: "short" })
3720
- ), d = y(() => Ul(a.value, i.value));
3720
+ ), d = y(() => ql(a.value, i.value));
3721
3721
  return ye(() => c.value && n("timerEnded")), (u, p) => (r(), m("div", {
3722
3722
  class: "onyx-component onyx-timer onyx-text onyx-truncation-ellipsis",
3723
3723
  role: "timer",
3724
3724
  "aria-label": e.hideLabel ? e.label : void 0
3725
3725
  }, [
3726
- e.hideLabel ? _("", !0) : (r(), m("span", Kl, E(e.label), 1)),
3726
+ e.hideLabel ? _("", !0) : (r(), m("span", Zl, E(e.label), 1)),
3727
3727
  f("time", {
3728
- datetime: s(ql)(s(a)),
3728
+ datetime: s(Gl)(s(a)),
3729
3729
  class: "onyx-timer__time"
3730
- }, E(d.value), 9, Zl)
3731
- ], 8, Gl));
3730
+ }, E(d.value), 9, jl)
3731
+ ], 8, Kl));
3732
3732
  }
3733
- }), jl = { class: "onyx-component" }, Yl = { class: "onyx-user-menu__footer onyx-text--small" }, Wl = /* @__PURE__ */ w({
3733
+ }), Yl = { class: "onyx-component" }, Wl = { class: "onyx-user-menu__footer onyx-text--small" }, Jl = /* @__PURE__ */ w({
3734
3734
  __name: "UserMenuLayout",
3735
3735
  props: {
3736
3736
  isMobile: { type: Boolean },
@@ -3739,7 +3739,7 @@ const La = (o) => {
3739
3739
  emits: ["update:flyoutOpen"],
3740
3740
  setup(o) {
3741
3741
  const t = o, e = _t(t, "flyoutOpen"), n = ie(), { t: l } = P();
3742
- return (a, c) => (r(), m("div", jl, [
3742
+ return (a, c) => (r(), m("div", Yl, [
3743
3743
  t.isMobile ? (r(), m(H, { key: 0 }, [
3744
3744
  k(a.$slots, "header"),
3745
3745
  k(a.$slots, "options"),
@@ -3756,7 +3756,7 @@ const La = (o) => {
3756
3756
  ], 64)) : (r(), x(St, {
3757
3757
  key: 1,
3758
3758
  open: s(e),
3759
- "onUpdate:open": c[0] || (c[0] = (i) => Wt(e) ? e.value = i : null),
3759
+ "onUpdate:open": c[0] || (c[0] = (i) => Jt(e) ? e.value = i : null),
3760
3760
  label: s(l)("navigation.userMenuLabel")
3761
3761
  }, qe({
3762
3762
  button: $(({ trigger: i }) => [
@@ -3773,7 +3773,7 @@ const La = (o) => {
3773
3773
  n.footer ? {
3774
3774
  name: "footer",
3775
3775
  fn: $(() => [
3776
- f("div", Yl, [
3776
+ f("div", Wl, [
3777
3777
  k(a.$slots, "footer")
3778
3778
  ])
3779
3779
  ]),
@@ -3782,10 +3782,10 @@ const La = (o) => {
3782
3782
  ]), 1032, ["open", "label"]))
3783
3783
  ]));
3784
3784
  }
3785
- }), Jl = { class: "onyx-truncation-ellipsis" }, Xl = { class: "onyx-user-menu__header" }, Ql = { class: "onyx-truncation-ellipsis" }, es = { class: "onyx-user-menu__username onyx-text onyx-truncation-ellipsis" }, ts = {
3785
+ }), Xl = { class: "onyx-truncation-ellipsis" }, Ql = { class: "onyx-user-menu__header" }, es = { class: "onyx-truncation-ellipsis" }, ts = { class: "onyx-user-menu__username onyx-text onyx-truncation-ellipsis" }, os = {
3786
3786
  key: 0,
3787
3787
  class: "onyx-user-menu__description onyx-text--small onyx-truncation-ellipsis"
3788
- }, os = { class: "onyx-user-menu__options" }, Ur = /* @__PURE__ */ w({
3788
+ }, ns = { class: "onyx-user-menu__options" }, qr = /* @__PURE__ */ w({
3789
3789
  __name: "OnyxUserMenu",
3790
3790
  props: {
3791
3791
  username: {},
@@ -3799,7 +3799,7 @@ const La = (o) => {
3799
3799
  Ye,
3800
3800
  y(() => !1)
3801
3801
  );
3802
- return (i, d) => (r(), x(Wl, {
3802
+ return (i, d) => (r(), x(Jl, {
3803
3803
  class: C(["onyx-component onyx-user-menu", { "onyx-user-menu--mobile": s(c) }]),
3804
3804
  "is-mobile": s(c),
3805
3805
  "flyout-open": i.flyoutOpen,
@@ -3810,21 +3810,21 @@ const La = (o) => {
3810
3810
  class: "onyx-user-menu__trigger onyx-text",
3811
3811
  type: "button"
3812
3812
  }, u), [
3813
- V(At, B(a.value, { size: "24px" }), null, 16),
3814
- f("span", Jl, E(e.username), 1)
3813
+ V(Dt, B(a.value, { size: "24px" }), null, 16),
3814
+ f("span", Xl, E(e.username), 1)
3815
3815
  ], 16)
3816
3816
  ]),
3817
3817
  header: $(() => [
3818
- f("div", Xl, [
3819
- V(At, Be(Oe(a.value)), null, 16),
3820
- f("div", Ql, [
3821
- f("div", es, E(e.username), 1),
3822
- e.description ? (r(), m("div", ts, E(e.description), 1)) : _("", !0)
3818
+ f("div", Ql, [
3819
+ V(Dt, Be(Oe(a.value)), null, 16),
3820
+ f("div", es, [
3821
+ f("div", ts, E(e.username), 1),
3822
+ e.description ? (r(), m("div", os, E(e.description), 1)) : _("", !0)
3823
3823
  ])
3824
3824
  ])
3825
3825
  ]),
3826
3826
  options: $(() => [
3827
- f("div", os, [
3827
+ f("div", ns, [
3828
3828
  k(i.$slots, "default")
3829
3829
  ])
3830
3830
  ]),
@@ -3839,19 +3839,19 @@ const La = (o) => {
3839
3839
  } : void 0
3840
3840
  ]), 1032, ["class", "is-mobile", "flyout-open"]));
3841
3841
  }
3842
- }), ko = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m15.155 7.28-1.06-1.06L8.315 12l5.78 5.78 1.06-1.06-4.72-4.72z"/></svg>', ns = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22.5 6h-21v1.5h21zm0 5.25h-21v1.5h21zm-21 5.25h21V18h-21z"/></svg>', as = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 1.5A2.25 2.25 0 1 1 12 6a2.25 2.25 0 0 1 0-4.5m0 8.25a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5m1.25 8.63a2.25 2.25 0 1 0-2.5 3.741 2.25 2.25 0 0 0 2.5-3.742"/></svg>', ls = { class: "onyx-nav-bar__content" }, ss = {
3842
+ }), wo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m15.155 7.28-1.06-1.06L8.315 12l5.78 5.78 1.06-1.06-4.72-4.72z"/></svg>', as = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22.5 6h-21v1.5h21zm0 5.25h-21v1.5h21zm-21 5.25h21V18h-21z"/></svg>', ls = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 1.5A2.25 2.25 0 1 1 12 6a2.25 2.25 0 0 1 0-4.5m0 8.25a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5m1.25 8.63a2.25 2.25 0 1 0-2.5 3.741 2.25 2.25 0 0 0 2.5-3.742"/></svg>', ss = { class: "onyx-nav-bar__content" }, rs = {
3843
3843
  key: 0,
3844
3844
  class: "onyx-nav-bar__mobile-page onyx-truncation-ellipsis"
3845
- }, rs = { role: "menubar" }, is = { role: "menubar" }, cs = {
3845
+ }, is = { role: "menubar" }, cs = { role: "menubar" }, us = {
3846
3846
  key: 0,
3847
3847
  class: "onyx-nav-bar__mobile-context"
3848
- }, us = {
3848
+ }, ds = {
3849
3849
  key: 0,
3850
3850
  class: "onyx-nav-bar__mobile-global-context"
3851
- }, ds = { class: "onyx-nav-bar__mobile-context-content" }, ps = {
3851
+ }, ps = { class: "onyx-nav-bar__mobile-context-content" }, ms = {
3852
3852
  key: 1,
3853
3853
  class: "onyx-nav-bar__context"
3854
- }, qr = /* @__PURE__ */ w({
3854
+ }, Gr = /* @__PURE__ */ w({
3855
3855
  __name: "OnyxNavBar",
3856
3856
  props: {
3857
3857
  logoUrl: {},
@@ -3864,8 +3864,8 @@ const La = (o) => {
3864
3864
  setup(o, { expose: t, emit: e }) {
3865
3865
  const n = o, l = e, a = ie(), c = T(), { width: i } = Pe(c), { t: d } = P(), {
3866
3866
  elements: { nav: u }
3867
- } = oa({ navigationName: ne(() => n.appName) }), p = T(!1), h = T(!1), v = y(() => {
3868
- const b = typeof n.mobileBreakpoint == "number" ? n.mobileBreakpoint : Ao[n.mobileBreakpoint];
3867
+ } = na({ navigationName: X(() => n.appName) }), p = T(!1), h = T(!1), v = y(() => {
3868
+ const b = typeof n.mobileBreakpoint == "number" ? n.mobileBreakpoint : Do[n.mobileBreakpoint];
3869
3869
  return i.value !== 0 && i.value < b;
3870
3870
  });
3871
3871
  return Ve(Ye, v), t({
@@ -3890,10 +3890,10 @@ const La = (o) => {
3890
3890
  ref: c,
3891
3891
  class: C(["onyx-component onyx-nav-bar", { "onyx-nav-bar--mobile": v.value }])
3892
3892
  }, [
3893
- f("div", ls, [
3894
- v.value && a.mobileActivePage && !p.value && !h.value ? (r(), m("span", ss, [
3893
+ f("div", ss, [
3894
+ v.value && a.mobileActivePage && !p.value && !h.value ? (r(), m("span", rs, [
3895
3895
  k(b.$slots, "mobileActivePage")
3896
- ])) : n.appName || n.logoUrl || a.appArea ? (r(), x(xl, {
3896
+ ])) : n.appName || n.logoUrl || a.appArea ? (r(), x(gl, {
3897
3897
  key: 1,
3898
3898
  class: "onyx-nav-bar__app",
3899
3899
  "app-name": n.appName,
@@ -3908,16 +3908,16 @@ const La = (o) => {
3908
3908
  ]),
3909
3909
  _: 3
3910
3910
  }, 8, ["app-name", "logo-url", "label"])) : _("", !0),
3911
- n.withBackButton ? (r(), x(Xa, {
3911
+ n.withBackButton ? (r(), x(Qa, {
3912
3912
  key: 2,
3913
3913
  class: "onyx-nav-bar__back",
3914
3914
  label: s(d)("navigation.goBack"),
3915
- icon: s(ko),
3915
+ icon: s(wo),
3916
3916
  color: "neutral",
3917
3917
  onClick: g[1] || (g[1] = (S) => l("navigateBack", S))
3918
3918
  }, null, 8, ["label", "icon"])) : _("", !0),
3919
3919
  a.default ? (r(), m(H, { key: 3 }, [
3920
- v.value ? (r(), x(zt, {
3920
+ v.value ? (r(), x(Pt, {
3921
3921
  key: 0,
3922
3922
  open: p.value,
3923
3923
  "onUpdate:open": [
@@ -3925,13 +3925,13 @@ const La = (o) => {
3925
3925
  g[3] || (g[3] = (S) => h.value = !1)
3926
3926
  ],
3927
3927
  class: "onyx-nav-bar__burger",
3928
- icon: s(ns),
3928
+ icon: s(as),
3929
3929
  label: s(d)("navigation.toggleBurgerMenu"),
3930
3930
  headline: s(d)("navigation.navigationHeadline")
3931
3931
  }, {
3932
3932
  default: $(() => [
3933
3933
  f("nav", B({ class: "onyx-nav-bar__nav--mobile" }, s(u)), [
3934
- f("ul", rs, [
3934
+ f("ul", is, [
3935
3935
  k(b.$slots, "default")
3936
3936
  ])
3937
3937
  ], 16)
@@ -3941,34 +3941,34 @@ const La = (o) => {
3941
3941
  key: 1,
3942
3942
  class: "onyx-nav-bar__nav"
3943
3943
  }, s(u)), [
3944
- f("ul", is, [
3944
+ f("ul", cs, [
3945
3945
  k(b.$slots, "default")
3946
3946
  ])
3947
3947
  ], 16))
3948
3948
  ], 64)) : _("", !0),
3949
3949
  a.contextArea || a.globalContextArea ? (r(), m(H, { key: 4 }, [
3950
- v.value ? (r(), m("div", cs, [
3951
- a.globalContextArea ? (r(), m("div", us, [
3950
+ v.value ? (r(), m("div", us, [
3951
+ a.globalContextArea ? (r(), m("div", ds, [
3952
3952
  k(b.$slots, "globalContextArea")
3953
3953
  ])) : _("", !0),
3954
- a.contextArea ? (r(), x(zt, {
3954
+ a.contextArea ? (r(), x(Pt, {
3955
3955
  key: 1,
3956
3956
  open: h.value,
3957
3957
  "onUpdate:open": [
3958
3958
  g[4] || (g[4] = (S) => h.value = S),
3959
3959
  g[5] || (g[5] = (S) => p.value = !1)
3960
3960
  ],
3961
- icon: s(as),
3961
+ icon: s(ls),
3962
3962
  label: s(d)("navigation.toggleContextMenu")
3963
3963
  }, {
3964
3964
  default: $(() => [
3965
- f("div", ds, [
3965
+ f("div", ps, [
3966
3966
  k(b.$slots, "contextArea")
3967
3967
  ])
3968
3968
  ]),
3969
3969
  _: 3
3970
3970
  }, 8, ["open", "icon", "label"])) : _("", !0)
3971
- ])) : (r(), m("div", ps, [
3971
+ ])) : (r(), m("div", ms, [
3972
3972
  a.globalContextArea ? k(b.$slots, "globalContextArea", { key: 0 }) : _("", !0),
3973
3973
  a.contextArea ? k(b.$slots, "contextArea", { key: 1 }) : _("", !0)
3974
3974
  ]))
@@ -3976,13 +3976,13 @@ const La = (o) => {
3976
3976
  ])
3977
3977
  ], 2));
3978
3978
  }
3979
- }), ms = {
3979
+ }), ys = {
3980
3980
  key: 0,
3981
3981
  class: "onyx-page__sidebar"
3982
- }, ys = { class: "onyx-page__main" }, hs = {
3982
+ }, hs = { class: "onyx-page__main" }, fs = {
3983
3983
  key: 1,
3984
3984
  class: "onyx-page__footer"
3985
- }, Gr = /* @__PURE__ */ w({
3985
+ }, Kr = /* @__PURE__ */ w({
3986
3986
  __name: "OnyxPageLayout",
3987
3987
  props: {
3988
3988
  skeleton: { type: Boolean },
@@ -3996,18 +3996,18 @@ const La = (o) => {
3996
3996
  return (l, a) => (r(), m("div", {
3997
3997
  class: C(["onyx-component onyx-page", n.value])
3998
3998
  }, [
3999
- e.sidebar && !t.hideSidebar ? (r(), m("aside", ms, [
3999
+ e.sidebar && !t.hideSidebar ? (r(), m("aside", ys, [
4000
4000
  k(l.$slots, "sidebar")
4001
4001
  ])) : _("", !0),
4002
- f("main", ys, [
4002
+ f("main", hs, [
4003
4003
  k(l.$slots, "default")
4004
4004
  ]),
4005
- e.footer ? (r(), m("footer", hs, [
4005
+ e.footer ? (r(), m("footer", fs, [
4006
4006
  k(l.$slots, "footer")
4007
4007
  ])) : _("", !0)
4008
4008
  ], 2));
4009
4009
  }
4010
- }), fs = (o) => {
4010
+ }), vs = (o) => {
4011
4011
  const e = T(!1), n = (a) => {
4012
4012
  const c = a.target;
4013
4013
  if (!(c instanceof Element)) return;
@@ -4022,10 +4022,10 @@ const La = (o) => {
4022
4022
  });
4023
4023
  }
4024
4024
  }, isScrollEnd: e };
4025
- }, vs = (o, t) => {
4026
- const e = Ft(o.toLowerCase()), n = Ft(t.toLowerCase());
4025
+ }, _s = (o, t) => {
4026
+ const e = Ut(o.toLowerCase()), n = Ut(t.toLowerCase());
4027
4027
  return e.includes(n);
4028
- }, Ft = (o) => o.normalize("NFD").replace(/[\u0300-\u036f]/g, ""), _s = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m16.718 14.123 1.057 1.057-5.782 5.782L6.21 15.18l1.058-1.057 4.717 4.717 4.718-4.717zM12 5.153l4.718 4.717 1.057-1.057-5.782-5.783L6.21 8.813 7.268 9.87l4.717-4.717z"/></svg>', bs = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"], xs = ["aria-label", "title", "disabled"], gs = /* @__PURE__ */ w({
4028
+ }, Ut = (o) => o.normalize("NFD").replace(/[\u0300-\u036f]/g, ""), bs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m16.718 14.123 1.057 1.057-5.782 5.782L6.21 15.18l1.058-1.057 4.717 4.717 4.718-4.717zM12 5.153l4.718 4.717 1.057-1.057-5.782-5.783L6.21 8.813 7.268 9.87l4.717-4.717z"/></svg>', xs = ["id", "readonly", "placeholder", "required", "disabled", "aria-label", "title", "value", "autofocus"], gs = ["aria-label", "title", "disabled"], ks = /* @__PURE__ */ w({
4029
4029
  inheritAttrs: !1,
4030
4030
  __name: "OnyxSelectInput",
4031
4031
  props: {
@@ -4046,7 +4046,7 @@ const La = (o) => {
4046
4046
  success: {},
4047
4047
  modelValue: {},
4048
4048
  textMode: {},
4049
- skeleton: { type: [Symbol, Boolean, Number], default: X },
4049
+ skeleton: { type: [Symbol, Boolean, Number], default: Q },
4050
4050
  readonly: { type: Boolean, default: !1 },
4051
4051
  loading: { type: Boolean, default: !1 },
4052
4052
  hideSuccessIcon: { type: Boolean, default: !1 },
@@ -4055,7 +4055,7 @@ const La = (o) => {
4055
4055
  },
4056
4056
  emits: ["inputClick", "validityChange"],
4057
4057
  setup(o, { expose: t, emit: e }) {
4058
- const { rootAttrs: n, restAttrs: l } = _o(), a = o, c = e, { t: i } = P(), { vCustomValidity: d, errorMessages: u } = fe({ props: a, emit: c }), p = y(() => ce(a.success)), h = y(() => ce(a.message)), { disabled: v, showError: b } = se(a), g = oe(a), S = Te(b), M = y(() => a.modelValue ? a.modelValue.length : 0), I = y(() => {
4058
+ const { rootAttrs: n, restAttrs: l } = bo(), a = o, c = e, { t: i } = P(), { vCustomValidity: d, errorMessages: u } = fe({ props: a, emit: c }), p = y(() => ce(a.success)), h = y(() => ce(a.message)), { disabled: v, showError: b } = se(a), g = ne(a), S = Te(b), M = y(() => a.modelValue ? a.modelValue.length : 0), I = y(() => {
4059
4059
  var N;
4060
4060
  const J = (N = a.modelValue) == null ? void 0 : N.length;
4061
4061
  if (!a.modelValue || !J) return "";
@@ -4077,7 +4077,7 @@ const La = (o) => {
4077
4077
  L.value || N && J === !1 && (L.value = !0);
4078
4078
  }
4079
4079
  );
4080
- const Z = co.concat(uo), pe = (J) => {
4080
+ const Z = uo.concat(po), pe = (J) => {
4081
4081
  Z.includes(J.key) || J.preventDefault();
4082
4082
  };
4083
4083
  return (J, N) => s(g) ? (r(), m("div", B({
@@ -4107,7 +4107,7 @@ const La = (o) => {
4107
4107
  default: $(({ id: q }) => [
4108
4108
  f("div", {
4109
4109
  class: "onyx-select-input__wrapper",
4110
- onClick: N[0] || (N[0] = (Q) => !s(v) && !a.loading && c("inputClick"))
4110
+ onClick: N[0] || (N[0] = (ee) => !s(v) && !a.loading && c("inputClick"))
4111
4111
  }, [
4112
4112
  a.loading ? (r(), x(de, {
4113
4113
  key: 0,
@@ -4136,7 +4136,7 @@ const La = (o) => {
4136
4136
  autofocus: a.autofocus,
4137
4137
  autocomplete: "off",
4138
4138
  onKeydown: pe
4139
- }), null, 16, bs), [
4139
+ }), null, 16, xs), [
4140
4140
  [s(d)]
4141
4141
  ]),
4142
4142
  a.textMode === "preview" && M.value > 0 ? (r(), x(He, {
@@ -4144,8 +4144,8 @@ const La = (o) => {
4144
4144
  text: I.value,
4145
4145
  position: "bottom"
4146
4146
  }, {
4147
- default: $(({ trigger: Q }) => [
4148
- V(Sn, B({ class: "onyx-select-input__badge" }, Q, { color: "neutral" }), {
4147
+ default: $(({ trigger: ee }) => [
4148
+ V(Mn, B({ class: "onyx-select-input__badge" }, ee, { color: "neutral" }), {
4149
4149
  default: $(() => [
4150
4150
  G(E(M.value), 1)
4151
4151
  ]),
@@ -4162,8 +4162,8 @@ const La = (o) => {
4162
4162
  tabindex: "-1",
4163
4163
  disabled: s(v) || a.readonly || a.loading
4164
4164
  }, [
4165
- V(A, { icon: s(_s) }, null, 8, ["icon"])
4166
- ], 8, xs),
4165
+ V(A, { icon: s(bs) }, null, 8, ["icon"])
4166
+ ], 8, gs),
4167
4167
  !a.hideSuccessIcon && p.value ? (r(), x(A, {
4168
4168
  key: 2,
4169
4169
  class: "onyx-select-input__check-icon",
@@ -4176,7 +4176,7 @@ const La = (o) => {
4176
4176
  }, 16, ["message", "success-messages", "error-messages"])
4177
4177
  ], 16));
4178
4178
  }
4179
- }), ks = ["checked", "aria-labelledby", "disabled", "indeterminate"], Ut = /* @__PURE__ */ w({
4179
+ }), ws = ["checked", "aria-labelledby", "disabled", "indeterminate"], qt = /* @__PURE__ */ w({
4180
4180
  __name: "OnyxSelectOption",
4181
4181
  props: {
4182
4182
  active: { type: Boolean, default: !1 },
@@ -4204,7 +4204,7 @@ const La = (o) => {
4204
4204
  tabindex: "-1",
4205
4205
  class: "onyx-select-option__checkbox",
4206
4206
  type: "checkbox"
4207
- }, null, 8, ks)) : _("", !0),
4207
+ }, null, 8, ws)) : _("", !0),
4208
4208
  t.icon ? (r(), x(A, {
4209
4209
  key: 1,
4210
4210
  icon: t.icon
@@ -4218,30 +4218,30 @@ const La = (o) => {
4218
4218
  _: 3
4219
4219
  }, 16, ["checked", "selected", "disabled"]));
4220
4220
  }
4221
- }), ws = ["inert"], Cs = {
4221
+ }), Cs = ["inert"], $s = {
4222
4222
  class: "onyx-select__wrapper",
4223
4223
  tabindex: "-1"
4224
- }, $s = {
4224
+ }, Ss = {
4225
4225
  key: 0,
4226
4226
  role: "group",
4227
4227
  class: "onyx-select__group"
4228
- }, Ss = {
4228
+ }, Ms = {
4229
4229
  role: "option",
4230
4230
  "aria-selected": "false"
4231
- }, Ms = {
4231
+ }, Vs = {
4232
4232
  key: 0,
4233
4233
  role: "presentation",
4234
4234
  class: "onyx-select__group-name onyx-text--small"
4235
- }, Vs = {
4235
+ }, Bs = {
4236
4236
  key: 1,
4237
4237
  class: "onyx-select__slot"
4238
- }, Bs = {
4238
+ }, Os = {
4239
4239
  key: 2,
4240
4240
  class: "onyx-select__slot"
4241
- }, Os = {
4241
+ }, Es = {
4242
4242
  key: 0,
4243
4243
  class: "onyx-select__description onyx-text--small"
4244
- }, Es = /* @__PURE__ */ w({
4244
+ }, Ts = /* @__PURE__ */ w({
4245
4245
  __name: "OnyxSelect",
4246
4246
  props: {
4247
4247
  density: {},
@@ -4282,18 +4282,18 @@ const La = (o) => {
4282
4282
  emits: ["update:modelValue", "update:searchTerm", "update:open", "lazyLoad", "validityChange"],
4283
4283
  setup(o, { emit: t }) {
4284
4284
  const e = o, n = t, { densityClass: l } = R(e), a = ie(), { t: c } = P(), { state: i, isManaged: d } = ze(
4285
- ne(() => e.searchTerm),
4285
+ X(() => e.searchTerm),
4286
4286
  "",
4287
4287
  (O) => n("update:searchTerm", O)
4288
4288
  ), { state: u } = ze(
4289
- ne(() => e.open),
4289
+ X(() => e.open),
4290
4290
  !1,
4291
4291
  (O) => n("update:open", O)
4292
- ), p = T(), { openDirection: h, updateOpenDirection: v } = yo(p), b = T(), g = y(() => e.modelValue === void 0 ? [] : e.multiple && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue]), S = y(() => e.valueLabel !== void 0 ? Array.isArray(e.valueLabel) ? e.valueLabel : [e.valueLabel] : g.value.reduce((O, F) => {
4293
- var ee;
4294
- const j = (ee = e.options.find(({ value: re }) => re === F)) == null ? void 0 : ee.label;
4292
+ ), p = T(), { openDirection: h, updateOpenDirection: v } = ho(p), b = T(), g = y(() => e.modelValue === void 0 ? [] : e.multiple && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue]), S = y(() => e.valueLabel !== void 0 ? Array.isArray(e.valueLabel) ? e.valueLabel : [e.valueLabel] : g.value.reduce((O, F) => {
4293
+ var te;
4294
+ const j = (te = e.options.find(({ value: re }) => re === F)) == null ? void 0 : te.label;
4295
4295
  return j && O.push(j), O;
4296
- }, [])), M = T(), I = T(), L = y(() => d.value && i.value ? e.options.filter(({ label: O }) => vs(O, i.value)) : e.options);
4296
+ }, [])), M = T(), I = T(), L = y(() => d.value && i.value ? e.options.filter(({ label: O }) => _s(O, i.value)) : e.options);
4297
4297
  Y(
4298
4298
  g,
4299
4299
  () => {
@@ -4304,26 +4304,26 @@ const La = (o) => {
4304
4304
  const z = ae(), U = y(() => (e.multiple && e.withCheckAll && !i.value ? [z] : []).concat(
4305
4305
  Et.value
4306
4306
  )), Z = async (O) => {
4307
- var j, ee;
4307
+ var j, te;
4308
4308
  if (e.readonly) {
4309
4309
  u.value = !1;
4310
4310
  return;
4311
4311
  }
4312
4312
  const F = u.value;
4313
- u.value = !F, await ht(), u.value && v(), F !== u.value && (F ? (i.value && (i.value = ""), O || (j = I.value) == null || j.focus()) : (ee = M.value) == null || ee.focus());
4313
+ u.value = !F, await ht(), u.value && v(), F !== u.value && (F ? (i.value && (i.value = ""), O || (j = I.value) == null || j.focus()) : (te = M.value) == null || te.focus());
4314
4314
  }, pe = () => b.value = U.value.at(0), J = () => b.value = U.value.at(-1), N = (O) => {
4315
4315
  const F = U.value.findIndex((j) => j === O);
4316
4316
  F < U.value.length - 1 && (b.value = U.value[F + 1]);
4317
4317
  }, q = (O) => {
4318
4318
  const F = U.value.findIndex((j) => j === O);
4319
4319
  F > 0 && (b.value = U.value[F - 1]);
4320
- }, Q = (O) => {
4320
+ }, ee = (O) => {
4321
4321
  const F = L.value.find((j) => j.label.toLowerCase().trim().startsWith(O.toLowerCase()));
4322
4322
  F && (b.value = F.value);
4323
4323
  }, we = (O) => i.value = O, Ce = (O) => {
4324
- var ee;
4324
+ var te;
4325
4325
  if (O === z) {
4326
- (ee = Le.value) == null || ee.handleChange(!Le.value.state.value.modelValue);
4326
+ (te = Le.value) == null || te.handleChange(!Le.value.state.value.modelValue);
4327
4327
  return;
4328
4328
  }
4329
4329
  if (!L.value.find(({ value: re }) => re === O))
@@ -4334,14 +4334,14 @@ const La = (o) => {
4334
4334
  "update:modelValue",
4335
4335
  g.value.filter((re) => re !== O)
4336
4336
  ) : n("update:modelValue", [...g.value, O]);
4337
- }, We = y(() => e.withSearch ? "list" : "none"), { label: D, listLabel: Je, listDescription: $o, multiple: So } = jt(e), {
4338
- elements: { input: Xe, option: Bt, group: Ot, listbox: Mo }
4339
- } = Qn({
4337
+ }, We = y(() => e.withSearch ? "list" : "none"), { label: D, listLabel: Je, listDescription: So, multiple: Mo } = Yt(e), {
4338
+ elements: { input: Xe, option: Bt, group: Ot, listbox: Vo }
4339
+ } = ea({
4340
4340
  autocomplete: We,
4341
4341
  label: D,
4342
4342
  listLabel: Je,
4343
- listDescription: $o,
4344
- multiple: So,
4343
+ listDescription: So,
4344
+ multiple: Mo,
4345
4345
  activeOption: y(() => b.value),
4346
4346
  isExpanded: u,
4347
4347
  templateRef: p,
@@ -4350,10 +4350,10 @@ const La = (o) => {
4350
4350
  onActivateLast: J,
4351
4351
  onActivateNext: N,
4352
4352
  onActivatePrevious: q,
4353
- onTypeAhead: Q,
4353
+ onTypeAhead: ee,
4354
4354
  onAutocomplete: we,
4355
4355
  onSelect: Ce
4356
- }), Vo = y(() => Pn(L.value, "group")), { vScrollEnd: Bo, isScrollEnd: Oo } = fs({
4356
+ }), Bo = y(() => Fn(L.value, "group")), { vScrollEnd: Oo, isScrollEnd: Eo } = vs({
4357
4357
  enabled: y(() => {
4358
4358
  var O;
4359
4359
  return ((O = e.lazyLoading) == null ? void 0 : O.enabled) ?? !1;
@@ -4370,10 +4370,10 @@ const La = (o) => {
4370
4370
  () => L.value.filter((O) => !O.disabled).map(({ value: O }) => O)
4371
4371
  ), Le = y(() => {
4372
4372
  if (!(!e.multiple || !e.withCheckAll))
4373
- return ho(Et, g, (O) => {
4373
+ return fo(Et, g, (O) => {
4374
4374
  const F = O.map((j) => {
4375
- var ee;
4376
- return (ee = e.options.find(({ value: re }) => re === j)) == null ? void 0 : ee.value;
4375
+ var te;
4376
+ return (te = e.options.find(({ value: re }) => re === j)) == null ? void 0 : te.value;
4377
4377
  }).filter((j) => j != null);
4378
4378
  n("update:modelValue", F);
4379
4379
  });
@@ -4385,9 +4385,9 @@ const La = (o) => {
4385
4385
  return typeof e.withCheckAll == "boolean" ? O : ((F = e.withCheckAll) == null ? void 0 : F.label) ?? O;
4386
4386
  });
4387
4387
  ye(() => {
4388
- Oo.value && n("lazyLoad");
4388
+ Eo.value && n("lazyLoad");
4389
4389
  });
4390
- const Eo = y(() => {
4390
+ const To = y(() => {
4391
4391
  const O = {
4392
4392
  ...e,
4393
4393
  open: void 0,
@@ -4397,16 +4397,16 @@ const La = (o) => {
4397
4397
  return e.withSearch ? { ...O, onKeydown: Xe.value.onKeydown } : { ...O, ...Xe.value };
4398
4398
  });
4399
4399
  return (O, F) => {
4400
- var j, ee, re;
4400
+ var j, te, re;
4401
4401
  return r(), m("div", {
4402
4402
  ref_key: "selectRef",
4403
4403
  ref: p,
4404
4404
  class: "onyx-component onyx-select-wrapper"
4405
4405
  }, [
4406
- V(gs, B({
4406
+ V(ks, B({
4407
4407
  ref_key: "selectInput",
4408
4408
  ref: I
4409
- }, Eo.value, {
4409
+ }, To.value, {
4410
4410
  "show-focus": s(u),
4411
4411
  autofocus: e.autofocus,
4412
4412
  onInputClick: Z,
@@ -4422,8 +4422,8 @@ const La = (o) => {
4422
4422
  ]),
4423
4423
  inert: !s(u)
4424
4424
  }, [
4425
- le((r(), m("div", Cs, [
4426
- e.withSearch ? (r(), x(sl, B({
4425
+ le((r(), m("div", $s, [
4426
+ e.withSearch ? (r(), x(rl, B({
4427
4427
  key: 0,
4428
4428
  ref_key: "miniSearch",
4429
4429
  ref: M,
@@ -4433,11 +4433,11 @@ const La = (o) => {
4433
4433
  class: "onyx-select__search",
4434
4434
  onClear: F[1] || (F[1] = (Ae) => i.value = "")
4435
4435
  }), null, 16, ["model-value", "label"])) : _("", !0),
4436
- f("div", Be(Oe(s(Mo))), [
4437
- Qe.value ? (r(), m("ul", $s, [
4438
- f("li", Ss, [
4436
+ f("div", Be(Oe(s(Vo))), [
4437
+ Qe.value ? (r(), m("ul", Ss, [
4438
+ f("li", Ms, [
4439
4439
  k(O.$slots, "empty", { defaultMessage: Qe.value }, () => [
4440
- V(vo, null, {
4440
+ V(_o, null, {
4441
4441
  default: $(() => [
4442
4442
  G(E(Qe.value), 1)
4443
4443
  ]),
@@ -4450,7 +4450,7 @@ const La = (o) => {
4450
4450
  key: 0,
4451
4451
  class: "onyx-select__check-all"
4452
4452
  }, s(Ot)({ label: et.value })), [
4453
- V(Ut, B(
4453
+ V(qt, B(
4454
4454
  s(Bt)({
4455
4455
  value: s(z),
4456
4456
  label: et.value,
@@ -4459,7 +4459,7 @@ const La = (o) => {
4459
4459
  {
4460
4460
  multiple: "",
4461
4461
  active: s(z) === b.value,
4462
- indeterminate: (ee = Le.value) == null ? void 0 : ee.state.value.indeterminate,
4462
+ indeterminate: (te = Le.value) == null ? void 0 : te.state.value.indeterminate,
4463
4463
  density: e.density
4464
4464
  }
4465
4465
  ), {
@@ -4469,13 +4469,13 @@ const La = (o) => {
4469
4469
  _: 1
4470
4470
  }, 16, ["active", "indeterminate", "density"])
4471
4471
  ], 16)) : _("", !0),
4472
- (r(!0), m(H, null, te(Vo.value, (Ae, De) => (r(), m("ul", B({
4472
+ (r(!0), m(H, null, oe(Bo.value, (Ae, De) => (r(), m("ul", B({
4473
4473
  key: De,
4474
4474
  class: "onyx-select__group",
4475
4475
  ref_for: !0
4476
4476
  }, s(Ot)({ label: De })), [
4477
- De != "" ? (r(), m("li", Ms, E(De), 1)) : _("", !0),
4478
- (r(!0), m(H, null, te(Ae, (ue) => (r(), x(Ut, B(
4477
+ De != "" ? (r(), m("li", Vs, E(De), 1)) : _("", !0),
4478
+ (r(!0), m(H, null, oe(Ae, (ue) => (r(), x(qt, B(
4479
4479
  {
4480
4480
  key: ue.value.toString(),
4481
4481
  ref_for: !0
@@ -4485,7 +4485,7 @@ const La = (o) => {
4485
4485
  label: ue.label,
4486
4486
  disabled: ue.disabled,
4487
4487
  // TODO: remove type cast once its fixed in Vue / vue-tsc version
4488
- selected: g.value.some((To) => To === ue.value)
4488
+ selected: g.value.some((Io) => Io === ue.value)
4489
4489
  }),
4490
4490
  {
4491
4491
  multiple: e.multiple,
@@ -4505,21 +4505,21 @@ const La = (o) => {
4505
4505
  ], 16))), 128))
4506
4506
  ], 64))
4507
4507
  ], 16),
4508
- (re = e.lazyLoading) != null && re.loading ? (r(), m("div", Vs, [
4508
+ (re = e.lazyLoading) != null && re.loading ? (r(), m("div", Bs, [
4509
4509
  V(de, { class: "onyx-select__loading" })
4510
4510
  ])) : _("", !0),
4511
- a.optionsEnd ? (r(), m("div", Bs, [
4511
+ a.optionsEnd ? (r(), m("div", Os, [
4512
4512
  k(O.$slots, "optionsEnd")
4513
4513
  ])) : _("", !0)
4514
4514
  ])), [
4515
- [s(Bo)]
4515
+ [s(Oo)]
4516
4516
  ]),
4517
- e.listDescription ? (r(), m("div", Os, E(e.listDescription), 1)) : _("", !0)
4518
- ], 10, ws)
4517
+ e.listDescription ? (r(), m("div", Es, E(e.listDescription), 1)) : _("", !0)
4518
+ ], 10, Cs)
4519
4519
  ], 512);
4520
4520
  };
4521
4521
  }
4522
- }), Ts = ["aria-label"], Is = { class: "onyx-pagination__count" }, Ls = ["aria-label", "disabled"], As = ["aria-label", "disabled"], Ds = /* @__PURE__ */ w({
4522
+ }), Is = ["aria-label"], Ls = { class: "onyx-pagination__count" }, As = ["aria-label", "disabled"], Ds = ["aria-label", "disabled"], Rs = /* @__PURE__ */ w({
4523
4523
  __name: "OnyxSelectPagination",
4524
4524
  props: {
4525
4525
  density: {},
@@ -4542,7 +4542,7 @@ const La = (o) => {
4542
4542
  "aria-label": s(l)("pagination.label"),
4543
4543
  style: Me({ "--onyx-pagination-character-count": e.modelValue.toString().length })
4544
4544
  }, [
4545
- V(Es, {
4545
+ V(Ts, {
4546
4546
  class: "onyx-pagination__select",
4547
4547
  label: s(l)("pagination.select.label"),
4548
4548
  "list-label": s(l)("pagination.select.listLabel"),
@@ -4555,7 +4555,7 @@ const La = (o) => {
4555
4555
  "with-search": "",
4556
4556
  "onUpdate:modelValue": p[0] || (p[0] = (h) => n("update:modelValue", h))
4557
4557
  }, null, 8, ["label", "list-label", "options", "model-value", "value-label", "disabled"]),
4558
- f("div", Is, E(s(l)("pagination.ofPages", { n: e.pages })), 1),
4558
+ f("div", Ls, E(s(l)("pagination.ofPages", { n: e.pages })), 1),
4559
4559
  f("button", {
4560
4560
  class: "onyx-pagination__button",
4561
4561
  "aria-label": s(l)("pagination.previous"),
@@ -4563,8 +4563,8 @@ const La = (o) => {
4563
4563
  disabled: e.disabled || i.value,
4564
4564
  onClick: p[1] || (p[1] = (h) => n("update:modelValue", e.modelValue - 1))
4565
4565
  }, [
4566
- V(A, { icon: s(ko) }, null, 8, ["icon"])
4567
- ], 8, Ls),
4566
+ V(A, { icon: s(wo) }, null, 8, ["icon"])
4567
+ ], 8, As),
4568
4568
  f("button", {
4569
4569
  class: "onyx-pagination__button",
4570
4570
  "aria-label": s(l)("pagination.next"),
@@ -4572,11 +4572,11 @@ const La = (o) => {
4572
4572
  disabled: e.disabled || d.value,
4573
4573
  onClick: p[2] || (p[2] = (h) => n("update:modelValue", e.modelValue + 1))
4574
4574
  }, [
4575
- V(A, { icon: s(xo) }, null, 8, ["icon"])
4576
- ], 8, As)
4577
- ], 14, Ts));
4575
+ V(A, { icon: s(go) }, null, 8, ["icon"])
4576
+ ], 8, Ds)
4577
+ ], 14, Is));
4578
4578
  }
4579
- }), Kr = /* @__PURE__ */ w({
4579
+ }), Zr = /* @__PURE__ */ w({
4580
4580
  __name: "OnyxPagination",
4581
4581
  props: {
4582
4582
  density: {},
@@ -4587,11 +4587,11 @@ const La = (o) => {
4587
4587
  emits: ["update:modelValue"],
4588
4588
  setup(o, { emit: t }) {
4589
4589
  const e = o, n = t;
4590
- return (l, a) => (r(), x(Ds, B(e, {
4590
+ return (l, a) => (r(), x(Rs, B(e, {
4591
4591
  "onUpdate:modelValue": a[0] || (a[0] = (c) => n("update:modelValue", c))
4592
4592
  }), null, 16));
4593
4593
  }
4594
- }), Rs = ["required", "name", "value", "checked", "disabled", "autofocus"], qt = /* @__PURE__ */ w({
4594
+ }), Ns = ["required", "name", "value", "checked", "disabled", "autofocus"], Gt = /* @__PURE__ */ w({
4595
4595
  __name: "OnyxRadioButton",
4596
4596
  props: {
4597
4597
  density: {},
@@ -4599,7 +4599,7 @@ const La = (o) => {
4599
4599
  label: {},
4600
4600
  disabled: { default: W },
4601
4601
  loading: { type: Boolean, default: !1 },
4602
- skeleton: { type: [Symbol, Boolean, Number], default: X },
4602
+ skeleton: { type: [Symbol, Boolean, Number], default: Q },
4603
4603
  truncation: { default: "ellipsis" },
4604
4604
  customError: {},
4605
4605
  autofocus: { type: Boolean },
@@ -4609,7 +4609,7 @@ const La = (o) => {
4609
4609
  },
4610
4610
  emits: ["validityChange"],
4611
4611
  setup(o, { emit: t }) {
4612
- const e = o, n = t, { vCustomValidity: l, errorMessages: a } = fe({ props: e, emit: n }), { densityClass: c } = R(e), { disabled: i } = se(e), d = oe(e);
4612
+ const e = o, n = t, { vCustomValidity: l, errorMessages: a } = fe({ props: e, emit: n }), { densityClass: c } = R(e), { disabled: i } = se(e), d = ne(e);
4613
4613
  return (u, p) => s(d) ? (r(), m("div", {
4614
4614
  key: 0,
4615
4615
  class: C(["onyx-component", "onyx-radio-button-skeleton", s(c)])
@@ -4639,7 +4639,7 @@ const La = (o) => {
4639
4639
  checked: e.checked,
4640
4640
  disabled: s(i),
4641
4641
  autofocus: e.autofocus
4642
- }, null, 8, Rs)), [
4642
+ }, null, 8, Ns)), [
4643
4643
  [s(l)]
4644
4644
  ]),
4645
4645
  f("span", {
@@ -4650,10 +4650,10 @@ const La = (o) => {
4650
4650
  _: 1
4651
4651
  }, 8, ["disabled", "error-messages"]));
4652
4652
  }
4653
- }), Ns = ["disabled", "aria-label"], Hs = {
4653
+ }), Hs = ["disabled", "aria-label"], zs = {
4654
4654
  key: 0,
4655
4655
  class: "onyx-radio-group__label"
4656
- }, Zr = /* @__PURE__ */ w({
4656
+ }, jr = /* @__PURE__ */ w({
4657
4657
  __name: "OnyxRadioGroup",
4658
4658
  props: {
4659
4659
  density: {},
@@ -4669,11 +4669,11 @@ const La = (o) => {
4669
4669
  modelValue: {},
4670
4670
  disabled: { default: W },
4671
4671
  direction: { default: "vertical" },
4672
- skeleton: { type: [Symbol, Boolean, Number], default: X }
4672
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
4673
4673
  },
4674
4674
  emits: ["update:modelValue", "validityChange"],
4675
4675
  setup(o, { emit: t }) {
4676
- const e = o, { densityClass: n } = R(e), { requiredMarkerClass: l, requiredTypeClass: a } = Ke(e), { disabled: c } = se(e), i = oe(e), d = t, u = (p, h) => {
4676
+ const e = o, { densityClass: n } = R(e), { requiredMarkerClass: l, requiredTypeClass: a } = Ke(e), { disabled: c } = se(e), i = ne(e), d = t, u = (p, h) => {
4677
4677
  p && d("update:modelValue", h);
4678
4678
  };
4679
4679
  return (p, h) => (r(), m("fieldset", {
@@ -4682,7 +4682,7 @@ const La = (o) => {
4682
4682
  role: "radiogroup",
4683
4683
  "aria-label": e.label
4684
4684
  }, [
4685
- e.hideLabel ? _("", !0) : (r(), m("legend", Hs, [
4685
+ e.hideLabel ? _("", !0) : (r(), m("legend", zs, [
4686
4686
  V(_e, {
4687
4687
  is: "h3",
4688
4688
  class: C(s(l))
@@ -4701,14 +4701,14 @@ const La = (o) => {
4701
4701
  f("div", {
4702
4702
  class: C(["onyx-radio-group__content", { "onyx-radio-group__content--horizontal": e.direction === "horizontal" }])
4703
4703
  }, [
4704
- s(i) ? typeof s(i) == "number" ? (r(!0), m(H, { key: 1 }, te(s(i), (v) => (r(), x(qt, {
4704
+ s(i) ? typeof s(i) == "number" ? (r(!0), m(H, { key: 1 }, oe(s(i), (v) => (r(), x(Gt, {
4705
4705
  id: `skeleton-${v}`,
4706
4706
  key: v,
4707
4707
  value: `skeleton-${v}`,
4708
4708
  label: "Skeleton ${i}",
4709
4709
  name: e.name,
4710
4710
  skeleton: ""
4711
- }, null, 8, ["id", "value", "name"]))), 128)) : _("", !0) : (r(!0), m(H, { key: 0 }, te(e.options, (v, b) => (r(), x(qt, B({
4711
+ }, null, 8, ["id", "value", "name"]))), 128)) : _("", !0) : (r(!0), m(H, { key: 0 }, oe(e.options, (v, b) => (r(), x(Gt, B({
4712
4712
  key: v.value.toString(),
4713
4713
  ref_for: !0
4714
4714
  }, v, {
@@ -4721,9 +4721,9 @@ const La = (o) => {
4721
4721
  onChange: (g) => u(g, v.value)
4722
4722
  }), null, 16, ["name", "custom-error", "checked", "required", "truncation", "onValidityChange", "onChange"]))), 128))
4723
4723
  ], 2)
4724
- ], 10, Ns));
4724
+ ], 10, Hs));
4725
4725
  }
4726
- }), jr = ["full", "left", "right"], Yr = ["summary", "preview"], zs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 11.25h18v1.5H3z"/></svg>', Ps = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.75 11.25V3h-1.5v8.25H3v1.5h8.25V21h1.5v-8.25H21v-1.5z"/></svg>', Fs = (o, t) => o / t % 1 === 0, Us = (o, t, e) => {
4726
+ }), Yr = ["full", "left", "right"], Wr = ["summary", "preview"], Ps = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 11.25h18v1.5H3z"/></svg>', Fs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.75 11.25V3h-1.5v8.25H3v1.5h8.25V21h1.5v-8.25H21v-1.5z"/></svg>', Us = (o, t) => o / t % 1 === 0, qs = (o, t, e) => {
4727
4727
  const n = t ?? -1 / 0, l = e ?? 1 / 0;
4728
4728
  return Math.min(Math.max(o, n), l);
4729
4729
  }, Re = (o, t) => {
@@ -4732,7 +4732,7 @@ const La = (o) => {
4732
4732
  return o.toFixed(t);
4733
4733
  const n = Math.pow(10, t);
4734
4734
  return (Math.round(o * n) / n).toString();
4735
- }, qs = { class: "onyx-stepper__wrapper" }, Gs = ["disabled", "aria-label"], Ks = ["aria-label", "autofocus", "disabled", "min", "max", "name", "placeholder", "readonly", "required", "step", "title"], Zs = ["disabled", "aria-label"], Wr = /* @__PURE__ */ w({
4735
+ }, Gs = { class: "onyx-stepper__wrapper" }, Ks = ["disabled", "aria-label"], Zs = ["aria-label", "autofocus", "disabled", "min", "max", "name", "placeholder", "readonly", "required", "step", "title"], js = ["disabled", "aria-label"], Jr = /* @__PURE__ */ w({
4736
4736
  __name: "OnyxStepper",
4737
4737
  props: /* @__PURE__ */ Ne({
4738
4738
  disabled: { default: W },
@@ -4760,14 +4760,14 @@ const La = (o) => {
4760
4760
  autocomplete: {},
4761
4761
  readonly: { type: Boolean, default: !1 },
4762
4762
  loading: { type: Boolean, default: !1 },
4763
- skeleton: { type: [Symbol, Boolean, Number], default: X }
4763
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
4764
4764
  }, {
4765
4765
  modelValue: {},
4766
4766
  modelModifiers: {}
4767
4767
  }),
4768
4768
  emits: /* @__PURE__ */ Ne(["validityChange"], ["update:modelValue"]),
4769
4769
  setup(o, { emit: t }) {
4770
- const e = o, { t: n } = P(), l = T(), a = t, { disabled: c, showError: i } = se(e), d = oe(e), u = Te(i), { densityClass: p } = R(e), { vCustomValidity: h, errorMessages: v } = fe({ props: e, emit: a }), b = y(() => ce(e.success)), g = y(() => ce(e.message)), S = T(!1), M = _t(o, "modelValue"), I = T(), L = y(() => {
4770
+ const e = o, { t: n } = P(), l = T(), a = t, { disabled: c, showError: i } = se(e), d = ne(e), u = Te(i), { densityClass: p } = R(e), { vCustomValidity: h, errorMessages: v } = fe({ props: e, emit: a }), b = y(() => ce(e.success)), g = y(() => ce(e.message)), S = T(!1), M = _t(o, "modelValue"), I = T(), L = y(() => {
4771
4771
  const N = e.precision, q = N.toString();
4772
4772
  return q.includes(".") ? q.split(".")[1].length : -Math.floor(Math.log10(N));
4773
4773
  });
@@ -4783,8 +4783,8 @@ const La = (o) => {
4783
4783
  ), U = (N) => {
4784
4784
  if (!l.value) return;
4785
4785
  S.value = !0;
4786
- const q = M.value || 0, Q = (N === "stepUp" ? 1 : -1) * z.value, we = q + Q, Ce = Math.round(we / e.precision) * e.precision;
4787
- M.value = Us(Ce, e.min, e.max);
4786
+ const q = M.value || 0, ee = (N === "stepUp" ? 1 : -1) * z.value, we = q + ee, Ce = Math.round(we / e.precision) * e.precision;
4787
+ M.value = qs(Ce, e.min, e.max);
4788
4788
  }, Z = () => {
4789
4789
  if (!l.value) return;
4790
4790
  S.value = !0;
@@ -4793,7 +4793,7 @@ const La = (o) => {
4793
4793
  M.value = void 0;
4794
4794
  return;
4795
4795
  }
4796
- if (e.stripStep && (!Fs(N, e.precision) || e.min !== void 0 && e.min > N || e.max !== void 0 && e.max < N)) {
4796
+ if (e.stripStep && (!Us(N, e.precision) || e.min !== void 0 && e.min > N || e.max !== void 0 && e.max < N)) {
4797
4797
  I.value = Re(M.value, L.value);
4798
4798
  return;
4799
4799
  }
@@ -4822,17 +4822,17 @@ const La = (o) => {
4822
4822
  "error-messages": s(v)
4823
4823
  }), {
4824
4824
  default: $(() => [
4825
- f("div", qs, [
4825
+ f("div", Gs, [
4826
4826
  f("button", {
4827
4827
  type: "button",
4828
4828
  class: "onyx-stepper__counter",
4829
4829
  disabled: s(c) || N.readonly || e.loading || e.min !== void 0 && M.value !== void 0 && M.value <= e.min,
4830
4830
  "aria-label": J.value,
4831
4831
  tabindex: "-1",
4832
- onClick: q[0] || (q[0] = (Q) => U("stepDown"))
4832
+ onClick: q[0] || (q[0] = (ee) => U("stepDown"))
4833
4833
  }, [
4834
- V(A, { icon: s(zs) }, null, 8, ["icon"])
4835
- ], 8, Gs),
4834
+ V(A, { icon: s(Ps) }, null, 8, ["icon"])
4835
+ ], 8, Ks),
4836
4836
  e.loading ? (r(), x(de, {
4837
4837
  key: 0,
4838
4838
  class: "onyx-stepper__loading",
@@ -4841,7 +4841,7 @@ const La = (o) => {
4841
4841
  key: 1,
4842
4842
  ref_key: "inputRef",
4843
4843
  ref: l,
4844
- "onUpdate:modelValue": q[1] || (q[1] = (Q) => I.value = Q),
4844
+ "onUpdate:modelValue": q[1] || (q[1] = (ee) => I.value = ee),
4845
4845
  class: C(["onyx-stepper__native", { "onyx-stepper__native--touched": S.value }]),
4846
4846
  type: "number",
4847
4847
  "aria-label": e.label,
@@ -4857,10 +4857,10 @@ const La = (o) => {
4857
4857
  title: e.hideLabel ? e.label : void 0,
4858
4858
  onChange: Z,
4859
4859
  onKeydown: [
4860
- q[2] || (q[2] = Tt(Se((Q) => U("stepUp"), ["prevent"]), ["up"])),
4861
- q[3] || (q[3] = Tt(Se((Q) => U("stepDown"), ["prevent"]), ["down"]))
4860
+ q[2] || (q[2] = It(Se((ee) => U("stepUp"), ["prevent"]), ["up"])),
4861
+ q[3] || (q[3] = It(Se((ee) => U("stepDown"), ["prevent"]), ["down"]))
4862
4862
  ]
4863
- }, null, 42, Ks)), [
4863
+ }, null, 42, Zs)), [
4864
4864
  [bt, I.value],
4865
4865
  [s(h)]
4866
4866
  ]),
@@ -4870,17 +4870,17 @@ const La = (o) => {
4870
4870
  disabled: s(c) || N.readonly || e.loading || e.max !== void 0 && M.value !== void 0 && M.value >= e.max,
4871
4871
  "aria-label": pe.value,
4872
4872
  tabindex: "-1",
4873
- onClick: q[4] || (q[4] = (Q) => U("stepUp"))
4873
+ onClick: q[4] || (q[4] = (ee) => U("stepUp"))
4874
4874
  }, [
4875
- V(A, { icon: s(Ps) }, null, 8, ["icon"])
4876
- ], 8, Zs)
4875
+ V(A, { icon: s(Fs) }, null, 8, ["icon"])
4876
+ ], 8, js)
4877
4877
  ])
4878
4878
  ]),
4879
4879
  _: 1
4880
4880
  }, 16, ["message", "success-messages", "error-messages"])
4881
4881
  ], 2));
4882
4882
  }
4883
- }), js = { class: "onyx-switch-skeleton__click-area" }, Ys = ["title"], Ws = ["aria-label", "disabled", "required", "autofocus"], Js = { class: "onyx-switch__click-area" }, Xs = { class: "onyx-switch__container" }, Qs = { class: "onyx-switch__icon" }, Jr = /* @__PURE__ */ w({
4883
+ }), Ys = { class: "onyx-switch-skeleton__click-area" }, Ws = ["title"], Js = ["aria-label", "disabled", "required", "autofocus"], Xs = { class: "onyx-switch__click-area" }, Qs = { class: "onyx-switch__container" }, er = { class: "onyx-switch__icon" }, Xr = /* @__PURE__ */ w({
4884
4884
  __name: "OnyxSwitch",
4885
4885
  props: {
4886
4886
  disabled: { default: W },
@@ -4895,13 +4895,13 @@ const La = (o) => {
4895
4895
  loading: { type: Boolean, default: !1 },
4896
4896
  hideLabel: { type: Boolean },
4897
4897
  truncation: { default: "ellipsis" },
4898
- skeleton: { type: [Symbol, Boolean, Number], default: X }
4898
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
4899
4899
  },
4900
4900
  emits: ["update:modelValue", "validityChange"],
4901
4901
  setup(o, { emit: t }) {
4902
4902
  const e = o, n = t, { requiredMarkerClass: l, requiredTypeClass: a } = Ke(e), { densityClass: c } = R(e), { disabled: i, showError: d } = se(e), { vCustomValidity: u, errorMessages: p } = fe({ props: e, emit: n }), h = y(
4903
4903
  () => d.value !== !1 ? p.value : void 0
4904
- ), v = y(() => e.hideLabel && e.label || void 0), b = oe(e), g = y({
4904
+ ), v = y(() => e.hideLabel && e.label || void 0), b = ne(e), g = y({
4905
4905
  get: () => e.modelValue,
4906
4906
  set: (S) => {
4907
4907
  n("update:modelValue", S);
@@ -4911,7 +4911,7 @@ const La = (o) => {
4911
4911
  key: 0,
4912
4912
  class: C(["onyx-component", "onyx-switch-skeleton", s(c)])
4913
4913
  }, [
4914
- f("span", js, [
4914
+ f("span", Ys, [
4915
4915
  V(K, { class: "onyx-switch-skeleton__input" })
4916
4916
  ]),
4917
4917
  e.hideLabel ? _("", !0) : (r(), x(K, {
@@ -4937,13 +4937,13 @@ const La = (o) => {
4937
4937
  disabled: s(i) || e.loading,
4938
4938
  required: e.required,
4939
4939
  autofocus: e.autofocus
4940
- }, null, 10, Ws), [
4941
- [Zt, g.value],
4940
+ }, null, 10, Js), [
4941
+ [jt, g.value],
4942
4942
  [s(u)]
4943
4943
  ]),
4944
- f("span", Js, [
4945
- f("span", Xs, [
4946
- f("span", Qs, [
4944
+ f("span", Xs, [
4945
+ f("span", Qs, [
4946
+ f("span", er, [
4947
4947
  e.loading ? (r(), x(de, {
4948
4948
  key: 0,
4949
4949
  class: "onyx-switch__spinner",
@@ -4968,22 +4968,22 @@ const La = (o) => {
4968
4968
  key: 1,
4969
4969
  class: C(["onyx-switch__marker", [s(l)]])
4970
4970
  }, null, 2)) : _("", !0)
4971
- ], 10, Ys)
4971
+ ], 10, Ws)
4972
4972
  ]),
4973
4973
  _: 1
4974
4974
  }, 8, ["disabled", "error-messages"]));
4975
4975
  }
4976
- }), Xr = ["intense", "soft", "medium"], wo = Symbol(), er = ["disabled"], tr = { class: "onyx-tab__label" }, Qr = /* @__PURE__ */ w({
4976
+ }), Qr = ["intense", "soft", "medium"], Co = Symbol(), tr = ["disabled"], or = { class: "onyx-tab__label" }, ei = /* @__PURE__ */ w({
4977
4977
  __name: "OnyxTab",
4978
4978
  props: {
4979
4979
  density: {},
4980
4980
  value: {},
4981
4981
  label: {},
4982
4982
  disabled: { type: Boolean, default: !1 },
4983
- skeleton: { type: [Symbol, Boolean, Number], default: X }
4983
+ skeleton: { type: [Symbol, Boolean, Number], default: Q }
4984
4984
  },
4985
4985
  setup(o) {
4986
- const t = o, { densityClass: e } = R(t), n = me(wo), l = oe(t), a = y(() => `onyx-tab--${n == null ? void 0 : n.size.value}`), c = y(
4986
+ const t = o, { densityClass: e } = R(t), n = me(Co), l = ne(t), a = y(() => `onyx-tab--${n == null ? void 0 : n.size.value}`), c = y(
4987
4987
  () => n == null ? void 0 : n.headless.elements.tab.value({
4988
4988
  value: t.value,
4989
4989
  disabled: t.disabled || !!l.value
@@ -5008,12 +5008,12 @@ const La = (o) => {
5008
5008
  type: "button",
5009
5009
  disabled: t.disabled
5010
5010
  }), [
5011
- f("div", tr, [
5011
+ f("div", or, [
5012
5012
  k(i.$slots, "tab", {}, () => [
5013
5013
  G(E(t.label), 1)
5014
5014
  ])
5015
5015
  ])
5016
- ], 16, er)),
5016
+ ], 16, tr)),
5017
5017
  (r(), x(ft, {
5018
5018
  to: (p = s(n)) == null ? void 0 : p.panelRef.value,
5019
5019
  disabled: !((h = s(n)) != null && h.panelRef.value),
@@ -5026,7 +5026,7 @@ const La = (o) => {
5026
5026
  ], 64);
5027
5027
  };
5028
5028
  }
5029
- }), ei = /* @__PURE__ */ w({
5029
+ }), ti = /* @__PURE__ */ w({
5030
5030
  __name: "OnyxTabs",
5031
5031
  props: {
5032
5032
  density: {},
@@ -5038,15 +5038,15 @@ const La = (o) => {
5038
5038
  },
5039
5039
  emits: ["update:modelValue"],
5040
5040
  setup(o, { emit: t }) {
5041
- const e = o, n = t, { densityClass: l } = R(e), a = na({
5042
- label: ne(e, "label"),
5043
- selectedTab: ne(() => e.modelValue),
5041
+ const e = o, n = t, { densityClass: l } = R(e), a = aa({
5042
+ label: X(e, "label"),
5043
+ selectedTab: X(() => e.modelValue),
5044
5044
  onSelect: (i) => n("update:modelValue", i)
5045
5045
  }), c = T();
5046
- return gt(e), Ve(wo, {
5046
+ return gt(e), Ve(Co, {
5047
5047
  headless: a,
5048
5048
  panelRef: c,
5049
- size: ne(e, "size")
5049
+ size: X(e, "size")
5050
5050
  }), (i, d) => (r(), m("div", {
5051
5051
  ref_key: "panelRef",
5052
5052
  ref: c,
@@ -5062,7 +5062,7 @@ const La = (o) => {
5062
5062
  ], 16)
5063
5063
  ], 2));
5064
5064
  }
5065
- }), or = { class: "onyx-text onyx-truncation-ellipsis" }, ti = /* @__PURE__ */ w({
5065
+ }), nr = { class: "onyx-text onyx-truncation-ellipsis" }, oi = /* @__PURE__ */ w({
5066
5066
  __name: "OnyxTag",
5067
5067
  props: {
5068
5068
  density: {},
@@ -5080,10 +5080,10 @@ const La = (o) => {
5080
5080
  icon: t.icon,
5081
5081
  size: "16px"
5082
5082
  }, null, 8, ["icon"])) : _("", !0),
5083
- f("span", or, E(t.label), 1)
5083
+ f("span", nr, E(t.label), 1)
5084
5084
  ], 2));
5085
5085
  }
5086
- }), nr = ["data-autosize-value"], ar = ["id", "placeholder", "required", "autocapitalize", "autofocus", "name", "readonly", "disabled", "minlength", "maxlength", "aria-label", "title"], oi = /* @__PURE__ */ w({
5086
+ }), ar = ["data-autosize-value"], lr = ["id", "placeholder", "required", "autocapitalize", "autofocus", "name", "readonly", "disabled", "minlength", "maxlength", "aria-label", "title"], ni = /* @__PURE__ */ w({
5087
5087
  __name: "OnyxTextarea",
5088
5088
  props: {
5089
5089
  density: {},
@@ -5105,7 +5105,7 @@ const La = (o) => {
5105
5105
  withCounter: { type: Boolean },
5106
5106
  message: {},
5107
5107
  success: {},
5108
- skeleton: { type: [Symbol, Boolean, Number], default: X },
5108
+ skeleton: { type: [Symbol, Boolean, Number], default: Q },
5109
5109
  autosize: {},
5110
5110
  disableManualResize: { type: Boolean, default: !1 }
5111
5111
  },
@@ -5122,7 +5122,7 @@ const La = (o) => {
5122
5122
  var L;
5123
5123
  const I = M.target;
5124
5124
  (L = I.parentElement) == null || L.setAttribute("data-autosize-value", I.value);
5125
- }, { disabled: v, showError: b } = se(e), g = oe(e), S = Te(b);
5125
+ }, { disabled: v, showError: b } = se(e), g = ne(e), S = Te(b);
5126
5126
  return (M, I) => s(g) ? (r(), m("div", {
5127
5127
  key: 0,
5128
5128
  class: C(["onyx-component", "onyx-textarea-skeleton", s(c)]),
@@ -5164,21 +5164,21 @@ const La = (o) => {
5164
5164
  "aria-label": e.hideLabel ? e.label : void 0,
5165
5165
  title: e.hideLabel ? e.label : void 0,
5166
5166
  onInput: h
5167
- }, null, 42, ar), [
5167
+ }, null, 42, lr), [
5168
5168
  [bt, u.value],
5169
5169
  [s(l)]
5170
5170
  ])
5171
- ], 8, nr)
5171
+ ], 8, ar)
5172
5172
  ]),
5173
5173
  _: 1
5174
5174
  }, 16, ["message", "success-messages", "error-messages"])
5175
5175
  ], 6));
5176
5176
  }
5177
- }), lr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.25 16.5h1.5V18h-1.5zM12.75 6h-1.5v8.25h1.5z"/><path fill-rule="evenodd" d="M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21m6.364 16.864A9 9 0 1 1 21 12a8.94 8.94 0 0 1-2.636 6.364" clip-rule="evenodd"/></svg>', sr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m7.275 11.828 2.465 2.47 6.22-6.22 1.06 1.06-7.28 7.281-3.528-3.53z"/><path fill-rule="evenodd" d="M6.167 3.27a10.5 10.5 0 1 1 11.666 17.46A10.5 10.5 0 0 1 6.167 3.27M7 19.483A9 9 0 0 0 12 21a9.01 9.01 0 0 0 9-9 9 9 0 1 0-14 7.483" clip-rule="evenodd"/></svg>', rr = { class: "onyx-toast-message__wrapper" }, ir = { class: "onyx-toast-message__content onyx-truncation-ellipsis" }, cr = { class: "onyx-toast-message__headline onyx-text" }, ur = { class: "onyx-truncation-ellipsis" }, dr = ["aria-label"], pr = {
5177
+ }), sr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.25 16.5h1.5V18h-1.5zM12.75 6h-1.5v8.25h1.5z"/><path fill-rule="evenodd" d="M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21m6.364 16.864A9 9 0 1 1 21 12a8.94 8.94 0 0 1-2.636 6.364" clip-rule="evenodd"/></svg>', rr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m7.275 11.828 2.465 2.47 6.22-6.22 1.06 1.06-7.28 7.281-3.528-3.53z"/><path fill-rule="evenodd" d="M6.167 3.27a10.5 10.5 0 1 1 11.666 17.46A10.5 10.5 0 0 1 6.167 3.27M7 19.483A9 9 0 0 0 12 21a9.01 9.01 0 0 0 9-9 9 9 0 1 0-14 7.483" clip-rule="evenodd"/></svg>', ir = { class: "onyx-toast-message__wrapper" }, cr = { class: "onyx-toast-message__content onyx-truncation-ellipsis" }, ur = { class: "onyx-toast-message__headline onyx-text" }, dr = { class: "onyx-truncation-ellipsis" }, pr = ["aria-label"], mr = {
5178
5178
  key: 0,
5179
5179
  class: "onyx-toast-message__description onyx-text--small onyx-truncation-multiline",
5180
5180
  tabindex: "0"
5181
- }, mr = /* @__PURE__ */ w({
5181
+ }, yr = /* @__PURE__ */ w({
5182
5182
  __name: "OnyxToastMessage",
5183
5183
  props: {
5184
5184
  density: {},
@@ -5193,9 +5193,9 @@ const La = (o) => {
5193
5193
  setup(o, { emit: t }) {
5194
5194
  const e = o, n = t, { t: l } = P(), { densityClass: a } = R(e), c = y(() => e.duration > 0), i = {
5195
5195
  neutral: dt,
5196
- danger: fo,
5197
- warning: lr,
5198
- success: sr
5196
+ danger: vo,
5197
+ warning: sr,
5198
+ success: rr
5199
5199
  }, d = y(() => {
5200
5200
  if (e.icon !== !1)
5201
5201
  return e.icon || i[e.color];
@@ -5206,14 +5206,14 @@ const La = (o) => {
5206
5206
  "aria-label": e.clickable ? e.headline : void 0
5207
5207
  }, {
5208
5208
  default: $(() => [
5209
- f("div", rr, [
5209
+ f("div", ir, [
5210
5210
  d.value ? (r(), x(A, {
5211
5211
  key: 0,
5212
5212
  icon: d.value
5213
5213
  }, null, 8, ["icon"])) : _("", !0),
5214
- f("div", ir, [
5215
- f("div", cr, [
5216
- f("span", ur, E(e.headline), 1),
5214
+ f("div", cr, [
5215
+ f("div", ur, [
5216
+ f("span", dr, E(e.headline), 1),
5217
5217
  e.clickable ? _("", !0) : (r(), m("button", {
5218
5218
  key: 0,
5219
5219
  type: "button",
@@ -5222,9 +5222,9 @@ const La = (o) => {
5222
5222
  onClick: p[0] || (p[0] = (h) => n("close"))
5223
5223
  }, [
5224
5224
  V(A, { icon: s(ke) }, null, 8, ["icon"])
5225
- ], 8, dr))
5225
+ ], 8, pr))
5226
5226
  ]),
5227
- e.description ? (r(), m("p", pr, E(e.description), 1)) : _("", !0)
5227
+ e.description ? (r(), m("p", mr, E(e.description), 1)) : _("", !0)
5228
5228
  ])
5229
5229
  ]),
5230
5230
  c.value ? (r(), m("time", {
@@ -5238,7 +5238,7 @@ const La = (o) => {
5238
5238
  _: 1
5239
5239
  }, 8, ["class", "role", "aria-label"]));
5240
5240
  }
5241
- }), Co = Symbol(), yr = () => {
5241
+ }), $o = Symbol(), hr = () => {
5242
5242
  let o = 1;
5243
5243
  const t = T([]), e = (l) => {
5244
5244
  const a = o++;
@@ -5256,14 +5256,14 @@ const La = (o) => {
5256
5256
  show: e,
5257
5257
  remove: n
5258
5258
  };
5259
- }, hr = () => {
5259
+ }, fr = () => {
5260
5260
  const o = () => {
5261
5261
  console.warn(
5262
5262
  'Trying to use "useToast()" before the toast provider has been provided. Make sure to "provide" it first.'
5263
5263
  );
5264
5264
  };
5265
5265
  return me(
5266
- Co,
5266
+ $o,
5267
5267
  // provide fallback so "useToast()" does not return "undefined"
5268
5268
  () => ({
5269
5269
  toasts: y(() => []),
@@ -5272,24 +5272,24 @@ const La = (o) => {
5272
5272
  }),
5273
5273
  !0
5274
5274
  );
5275
- }, fr = {
5275
+ }, vr = {
5276
5276
  key: 0,
5277
5277
  class: "onyx-component onyx-toast",
5278
5278
  role: "presentation",
5279
5279
  "aria-live": "polite",
5280
5280
  open: ""
5281
- }, ni = /* @__PURE__ */ w({
5281
+ }, ai = /* @__PURE__ */ w({
5282
5282
  __name: "OnyxToast",
5283
5283
  setup(o) {
5284
- const t = hr();
5285
- return (e, n) => s(t).toasts.value.length ? (r(), m("dialog", fr, [
5286
- (r(!0), m(H, null, te(s(t).toasts.value, ({ id: l, ...a }) => (r(), x(mr, B({
5284
+ const t = fr();
5285
+ return (e, n) => s(t).toasts.value.length ? (r(), m("dialog", vr, [
5286
+ (r(!0), m(H, null, oe(s(t).toasts.value, ({ id: l, ...a }) => (r(), x(yr, B({
5287
5287
  key: l,
5288
5288
  ref_for: !0
5289
5289
  }, a), null, 16))), 128))
5290
5290
  ])) : _("", !0);
5291
5291
  }
5292
- }), ai = ["top", "bottom", "auto"], li = /* @__PURE__ */ w({
5292
+ }), li = ["top", "bottom", "auto"], si = /* @__PURE__ */ w({
5293
5293
  __name: "OnyxForm",
5294
5294
  props: {
5295
5295
  disabled: { type: Boolean, default: !1 },
@@ -5299,7 +5299,7 @@ const La = (o) => {
5299
5299
  },
5300
5300
  setup(o) {
5301
5301
  const t = o;
5302
- rn(t), gt(t);
5302
+ cn(t), gt(t);
5303
5303
  const { densityClass: e } = R(t);
5304
5304
  return (n, l) => (r(), m("form", {
5305
5305
  class: C({
@@ -5311,22 +5311,22 @@ const La = (o) => {
5311
5311
  k(n.$slots, "default")
5312
5312
  ], 2));
5313
5313
  }
5314
- }), si = ["primary", "neutral", "danger", "warning", "success", "info"], ri = ["small", "default", "large"], ii = ["ellipsis", "multiline"], ci = ["onyx", "digits", "kaufland", "lidl", "schwarz"], ui = ["horizontal", "vertical"], di = (o = {}) => ({
5314
+ }), ri = ["primary", "neutral", "danger", "warning", "success", "info"], ii = ["small", "default", "large"], ci = ["ellipsis", "multiline"], ui = ["onyx", "digits", "kaufland", "lidl", "schwarz"], di = ["horizontal", "vertical"], pi = (o = {}) => ({
5315
5315
  install: (t) => {
5316
- tn(t, o.i18n);
5316
+ on(t, o.i18n);
5317
5317
  const e = t.runWithContext(() => P());
5318
- t.provide(Co, yr()), t.mixin({
5318
+ t.provide($o, hr()), t.mixin({
5319
5319
  beforeMount: () => {
5320
5320
  ye(() => {
5321
- vr(e.t.value("optional"));
5321
+ _r(e.t.value("optional"));
5322
5322
  });
5323
5323
  }
5324
5324
  });
5325
5325
  }
5326
- }), vr = (o) => {
5326
+ }), _r = (o) => {
5327
5327
  var t;
5328
5328
  (t = globalThis.document) == null || t.body.style.setProperty("--onyx-global-optional-text", o);
5329
- }, pi = (o) => {
5329
+ }, mi = (o) => {
5330
5330
  Ue(() => {
5331
5331
  Y([o], () => {
5332
5332
  const t = document.documentElement, e = "onyx-transition-active", n = () => {
@@ -5337,94 +5337,94 @@ const La = (o) => {
5337
5337
  });
5338
5338
  };
5339
5339
  export {
5340
- Lr as AUTOCAPITALIZE,
5341
- Cr as BUTTON_COLORS,
5342
- $r as BUTTON_MODES,
5343
- wr as BUTTON_TYPES,
5344
- br as DENSITIES,
5345
- ui as DIRECTIONS,
5346
- Vr as DataGridFeatures,
5347
- Or as HEADLINE_TYPES,
5348
- Er as ICON_SIZES,
5349
- Ir as INPUT_TYPES,
5350
- Dr as LINK_TARGETS,
5340
+ Ar as AUTOCAPITALIZE,
5341
+ $r as BUTTON_COLORS,
5342
+ Sr as BUTTON_MODES,
5343
+ Cr as BUTTON_TYPES,
5344
+ xr as DENSITIES,
5345
+ di as DIRECTIONS,
5346
+ Br as DataGridFeatures,
5347
+ Er as HEADLINE_TYPES,
5348
+ Tr as ICON_SIZES,
5349
+ Lr as INPUT_TYPES,
5350
+ Rr as LINK_TARGETS,
5351
5351
  Ye as MOBILE_NAV_BAR_INJECTION_KEY,
5352
- Yr as MULTISELECT_TEXT_MODE,
5353
- Ll as NAV_BAR_MORE_LIST_INJECTION_KEY,
5354
- Ao as ONYX_BREAKPOINTS,
5355
- si as ONYX_COLORS,
5356
- ci as ONYX_THEMES,
5357
- xr as OnyxAlertDialog,
5358
- gr as OnyxAppLayout,
5359
- At as OnyxAvatar,
5360
- kr as OnyxAvatarStack,
5361
- Sn as OnyxBadge,
5352
+ Wr as MULTISELECT_TEXT_MODE,
5353
+ Al as NAV_BAR_MORE_LIST_INJECTION_KEY,
5354
+ Do as ONYX_BREAKPOINTS,
5355
+ ri as ONYX_COLORS,
5356
+ ui as ONYX_THEMES,
5357
+ gr as OnyxAlertDialog,
5358
+ kr as OnyxAppLayout,
5359
+ Dt as OnyxAvatar,
5360
+ wr as OnyxAvatarStack,
5361
+ Mn as OnyxBadge,
5362
5362
  st as OnyxButton,
5363
5363
  tt as OnyxCheckbox,
5364
- Sr as OnyxCheckboxGroup,
5365
- Bl as OnyxColorSchemeDialog,
5366
- Hr as OnyxColorSchemeMenuItem,
5367
- Mr as OnyxDataGrid,
5368
- Ma as OnyxDataGridRenderer,
5369
- Br as OnyxDatePicker,
5364
+ Mr as OnyxCheckboxGroup,
5365
+ Ol as OnyxColorSchemeDialog,
5366
+ zr as OnyxColorSchemeMenuItem,
5367
+ Vr as OnyxDataGrid,
5368
+ Va as OnyxDataGridRenderer,
5369
+ Or as OnyxDatePicker,
5370
5370
  xt as OnyxDialog,
5371
- vo as OnyxEmpty,
5371
+ _o as OnyxEmpty,
5372
5372
  Mt as OnyxExternalLinkIcon,
5373
5373
  St as OnyxFlyoutMenu,
5374
- li as OnyxForm,
5374
+ si as OnyxForm,
5375
5375
  _e as OnyxHeadline,
5376
5376
  A as OnyxIcon,
5377
- Xa as OnyxIconButton,
5377
+ Qa as OnyxIconButton,
5378
5378
  je as OnyxInfoTooltip,
5379
- Tr as OnyxInput,
5380
- Ar as OnyxLink,
5379
+ Ir as OnyxInput,
5380
+ Dr as OnyxLink,
5381
5381
  $t as OnyxListItem,
5382
5382
  de as OnyxLoadingIndicator,
5383
- bo as OnyxMenuItem,
5384
- sl as OnyxMiniSearch,
5385
- zt as OnyxMobileNavButton,
5386
- Rr as OnyxModalDialog,
5387
- Nr as OnyxMoreList,
5388
- xl as OnyxNavAppArea,
5389
- qr as OnyxNavBar,
5390
- zr as OnyxNavButton,
5391
- Pr as OnyxNavItem,
5392
- Rl as OnyxNavSeparator,
5393
- Gr as OnyxPageLayout,
5394
- Kr as OnyxPagination,
5395
- qt as OnyxRadioButton,
5396
- Zr as OnyxRadioGroup,
5397
- Es as OnyxSelect,
5398
- gs as OnyxSelectInput,
5399
- Ut as OnyxSelectOption,
5383
+ xo as OnyxMenuItem,
5384
+ rl as OnyxMiniSearch,
5385
+ Pt as OnyxMobileNavButton,
5386
+ Nr as OnyxModalDialog,
5387
+ Hr as OnyxMoreList,
5388
+ gl as OnyxNavAppArea,
5389
+ Gr as OnyxNavBar,
5390
+ Pr as OnyxNavButton,
5391
+ Fr as OnyxNavItem,
5392
+ Nl as OnyxNavSeparator,
5393
+ Kr as OnyxPageLayout,
5394
+ Zr as OnyxPagination,
5395
+ Gt as OnyxRadioButton,
5396
+ jr as OnyxRadioGroup,
5397
+ Ts as OnyxSelect,
5398
+ ks as OnyxSelectInput,
5399
+ qt as OnyxSelectOption,
5400
5400
  K as OnyxSkeleton,
5401
- Wr as OnyxStepper,
5402
- Jr as OnyxSwitch,
5401
+ Jr as OnyxStepper,
5402
+ Xr as OnyxSwitch,
5403
5403
  Ge as OnyxSystemButton,
5404
- Qr as OnyxTab,
5405
- Sa as OnyxTable,
5406
- ei as OnyxTabs,
5407
- ti as OnyxTag,
5408
- oi as OnyxTextarea,
5409
- Fr as OnyxTimer,
5410
- ni as OnyxToast,
5411
- mr as OnyxToastMessage,
5404
+ ei as OnyxTab,
5405
+ Ma as OnyxTable,
5406
+ ti as OnyxTabs,
5407
+ oi as OnyxTag,
5408
+ ni as OnyxTextarea,
5409
+ Ur as OnyxTimer,
5410
+ ai as OnyxToast,
5411
+ yr as OnyxToastMessage,
5412
5412
  He as OnyxTooltip,
5413
- Ur as OnyxUserMenu,
5413
+ qr as OnyxUserMenu,
5414
5414
  Ee as OnyxVisuallyHidden,
5415
- jr as SELECT_ALIGNMENTS,
5416
- Xr as SYSTEM_BUTTON_COLORS,
5417
- wo as TABS_INJECTION_KEY,
5418
- ri as TEXT_SIZES,
5419
- Co as TOAST_PROVIDER_INJECTION_KEY,
5420
- ai as TOOLTIP_POSITIONS,
5421
- ii as TRUNCATION_TYPES,
5422
- di as createOnyx,
5423
- yr as createToastProvider,
5424
- vs as normalizedIncludes,
5425
- tn as provideI18n,
5415
+ Yr as SELECT_ALIGNMENTS,
5416
+ Qr as SYSTEM_BUTTON_COLORS,
5417
+ Co as TABS_INJECTION_KEY,
5418
+ ii as TEXT_SIZES,
5419
+ $o as TOAST_PROVIDER_INJECTION_KEY,
5420
+ li as TOOLTIP_POSITIONS,
5421
+ ci as TRUNCATION_TYPES,
5422
+ pi as createOnyx,
5423
+ hr as createToastProvider,
5424
+ _s as normalizedIncludes,
5425
+ on as provideI18n,
5426
5426
  R as useDensity,
5427
- fs as useScrollEnd,
5428
- pi as useThemeTransition,
5429
- hr as useToast
5427
+ vs as useScrollEnd,
5428
+ mi as useThemeTransition,
5429
+ fr as useToast
5430
5430
  };