@glimstone/vue 4.3.4 → 4.3.5

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.
Files changed (2) hide show
  1. package/dist/index.js +310 -307
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2,9 +2,9 @@ import { i as e, n as t, r as n, t as r } from "./Select-ohRK0e4y.js";
2
2
  import { a as i, c as a, d as o, f as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v } from "./glyphs-CYhs4mrY.js";
3
3
  import { n as ee, r as y, t as te } from "./fieldName-DBygJJfe.js";
4
4
  import { Fragment as b, Teleport as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createSlots as D, createTextVNode as O, createVNode as k, defineComponent as A, h as ne, inject as re, mergeModels as j, mergeProps as M, normalizeClass as N, normalizeStyle as P, onBeforeUnmount as ie, onMounted as F, onScopeDispose as I, onUnmounted as ae, onUpdated as oe, openBlock as L, provide as se, ref as R, renderList as z, renderSlot as B, resolveDynamicComponent as V, shallowReactive as ce, shallowRef as H, toDisplayString as U, unref as W, useAttrs as le, useId as ue, useModel as G, useSlots as de, vModelDynamic as fe, vModelText as pe, vShow as me, watch as K, watchEffect as he, withCtx as q, withDirectives as J, withKeys as ge, withModifiers as Y } from "vue";
5
- import { COLOR_NAMES_DE as _e, COLOR_PICKER_TEXT as ve, COPIED_MS as ye, DEFAULT_MOTION as be, DEFAULT_SHAPE as xe, GLIMSTONE_VERSION as Se, MARKS as Ce, PATH_ROOM_PX as we, TOAST_MARKS as Te, WIDE_QUERY as Ee, applyAccent as De, applyMotion as Oe, applyRainbow as ke, applyShape as Ae, attachNumberSteppers as je, badgeClassName as Me, buttonView as Ne, claimMenu as Pe, closeMenuOutside as Fe, colorPicker as Ie, copyText as Le, countSelector as Re, createSignInFlow as ze, fieldWidthClass as Be, floatColorPicker as Ve, focusFirstField as He, focusFirstMenuRow as Ue, focusMenuRow as We, focusTreeRow as Ge, focusedAsker as Ke, getLabelMode as qe, hueVars as Je, isMenuHead as Ye, keepReadmeFit as Xe, labelModeChanged as Ze, mailHref as Qe, mediaMatches as $e, menuIsOpen as et, menuMove as tt, menuRowView as nt, meterView as rt, narrowerThan as it, nearestColorName as at, normalizeHex as ot, offersMail as st, openInBrowser as ct, pillClassName as lt, placeMenu as ut, placeSubmenu as dt, pressRowControl as ft, progressView as pt, rainbowState as mt, readmePartClass as ht, readmePartLabel as gt, readmeSoon as _t, readmeUnitClass as vt, resetBlocked as yt, returnFocus as bt, roveSelector as xt, rovedIndex as St, runUpdateCheck as Ct, segmentView as wt, selectorAxis as Tt, selectorFlex as Et, selectorTabId as Dt, selectorTabId as Ot, selectorView as kt, setLabelMode as At, shake as jt, showRefusal as Mt, sidebarRowView as Nt, signInBlocked as Pt, signInStage as Ft, softBreaks as It, stackWindow as Lt, subscribeLabelMode as Rt, subscribeMedia as zt, subscribeRainbow as Bt, syncNumberSteppers as Vt, tableCellClass as Ht, takePageHue as Ut, textFieldClass as Wt, tidyMenu as Gt, toggleSelection as Kt, trapDialogKeys as qt, treeRows as Jt, treeStep as Yt, updateFace as Xt, updateStage as Zt, versionLink as X, watchSelectorFit as Qt, windowFocusTarget as $t, windowFoot as en } from "@glimstone/core";
5
+ import { COLOR_NAMES_DE as _e, COLOR_PICKER_TEXT as ve, COPIED_MS as ye, DEFAULT_MOTION as be, DEFAULT_SHAPE as xe, GLIMSTONE_VERSION as Se, MARKS as Ce, PATH_ROOM_PX as we, TOAST_MARKS as Te, WIDE_QUERY as Ee, applyAccent as De, applyMotion as Oe, applyRainbow as ke, applyShape as Ae, attachNumberSteppers as je, badgeClassName as Me, buttonView as Ne, claimMenu as Pe, closeMenuOutside as Fe, colorPicker as Ie, copyText as Le, countSelector as Re, createSignInFlow as ze, fieldWidthClass as Be, floatColorPicker as Ve, focusFirstField as He, focusFirstMenuRow as Ue, focusMenuRow as We, focusTreeRow as Ge, focusedAsker as Ke, getLabelMode as qe, hueVars as Je, isMenuHead as Ye, keepReadmeFit as Xe, labelInside as Ze, labelModeChanged as Qe, mailHref as $e, mediaMatches as et, menuIsOpen as tt, menuMove as nt, menuRowView as rt, meterView as it, narrowerThan as at, nearestColorName as ot, normalizeHex as st, offersMail as ct, openInBrowser as lt, pillClassName as ut, placeMenu as dt, placeSubmenu as ft, pressRowControl as pt, progressView as mt, rainbowState as ht, readmePartClass as gt, readmePartLabel as _t, readmeSoon as vt, readmeUnitClass as yt, resetBlocked as bt, returnFocus as xt, roveSelector as St, rovedIndex as Ct, runUpdateCheck as wt, segmentView as Tt, selectorAxis as Et, selectorFlex as Dt, selectorTabId as Ot, selectorTabId as kt, selectorView as At, setLabelMode as jt, shake as Mt, showRefusal as Nt, sidebarRowView as Pt, signInBlocked as Ft, signInStage as It, softBreaks as Lt, stackWindow as Rt, subscribeLabelMode as zt, subscribeMedia as Bt, subscribeRainbow as Vt, syncNumberSteppers as Ht, tableCellClass as Ut, takePageHue as Wt, textFieldClass as Gt, tidyMenu as Kt, toggleSelection as qt, trapDialogKeys as Jt, treeRows as Yt, treeStep as Xt, updateFace as Zt, updateStage as Qt, versionLink as X, watchSelectorFit as $t, windowFocusTarget as en, windowFoot as tn } from "@glimstone/core";
6
6
  // src/IconTipButton.vue
7
- var tn = /* @__PURE__ */ A({
7
+ var nn = /* @__PURE__ */ A({
8
8
  inheritAttrs: !1,
9
9
  __name: "IconTipButton",
10
10
  props: {
@@ -55,7 +55,7 @@ var tn = /* @__PURE__ */ A({
55
55
  "hide"
56
56
  ]), k(n, { state: W(a) }, null, 8, ["state"])], 64));
57
57
  }
58
- }), nn = ["disabled"], rn = /* @__PURE__ */ A({
58
+ }), rn = ["disabled"], an = /* @__PURE__ */ A({
59
59
  __name: "Badge",
60
60
  props: {
61
61
  tone: { default: "neutral" },
@@ -93,7 +93,7 @@ var tn = /* @__PURE__ */ A({
93
93
  action: t.as !== "span"
94
94
  })
95
95
  ].filter(Boolean)), i = S(() => n.value ? Je(t.hueIndex) : void 0);
96
- return (t, n) => e.as === "button" && e.tip !== void 0 ? (L(), C(tn, {
96
+ return (t, n) => e.as === "button" && e.tip !== void 0 ? (L(), C(nn, {
97
97
  key: 0,
98
98
  tip: e.tip,
99
99
  disabled: e.disabled,
@@ -113,7 +113,7 @@ var tn = /* @__PURE__ */ A({
113
113
  disabled: e.disabled,
114
114
  class: N(r.value),
115
115
  style: P(i.value)
116
- }, [B(t.$slots, "default")], 14, nn)) : e.as === "a" ? (L(), T("a", {
116
+ }, [B(t.$slots, "default")], 14, rn)) : e.as === "a" ? (L(), T("a", {
117
117
  key: 2,
118
118
  class: N(r.value),
119
119
  style: P(i.value)
@@ -123,7 +123,7 @@ var tn = /* @__PURE__ */ A({
123
123
  style: P(i.value)
124
124
  }, [B(t.$slots, "default")], 6));
125
125
  }
126
- }), an = ["innerHTML"], on = /* @__PURE__ */ A({
126
+ }), on = ["innerHTML"], sn = /* @__PURE__ */ A({
127
127
  __name: "BrandMark",
128
128
  props: { svg: {} },
129
129
  setup(e) {
@@ -131,65 +131,65 @@ var tn = /* @__PURE__ */ A({
131
131
  class: "glim-brand-svg",
132
132
  "aria-hidden": "true",
133
133
  innerHTML: e.svg
134
- }, null, 8, an));
134
+ }, null, 8, on));
135
135
  }
136
136
  });
137
137
  // src/engines.ts
138
- function sn(e) {
138
+ function cn(e) {
139
139
  let t = H(qe(e));
140
- return I(Rt(() => t.value = qe(e))), S({
140
+ return I(zt(() => t.value = qe(e))), S({
141
141
  get: () => t.value,
142
142
  set: (t) => {
143
- At(e, t), Ze();
143
+ jt(e, t), Qe();
144
144
  }
145
145
  });
146
146
  }
147
- function cn() {
148
- let e = H(mt());
149
- return I(Bt(() => e.value = mt())), S({
147
+ function ln() {
148
+ let e = H(ht());
149
+ return I(Vt(() => e.value = ht())), S({
150
150
  get: () => e.value,
151
151
  set: (e) => ke(e)
152
152
  });
153
153
  }
154
- function ln(e) {
154
+ function un(e) {
155
155
  return S(() => {
156
156
  let t = e();
157
157
  return t === void 0 ? void 0 : Je(t);
158
158
  });
159
159
  }
160
- function un(e, t) {
160
+ function dn(e, t) {
161
161
  let n = H(t()), r = new MutationObserver(() => n.value = t());
162
162
  return r.observe(document.documentElement, {
163
163
  attributes: !0,
164
164
  attributeFilter: [e]
165
165
  }), I(() => r.disconnect()), n;
166
166
  }
167
- function dn() {
168
- let e = un("data-shape", () => document.documentElement.getAttribute("data-shape") ?? xe);
167
+ function fn() {
168
+ let e = dn("data-shape", () => document.documentElement.getAttribute("data-shape") ?? xe);
169
169
  return S({
170
170
  get: () => e.value,
171
171
  set: Ae
172
172
  });
173
173
  }
174
- function fn() {
175
- let e = un("data-motion", () => document.documentElement.getAttribute("data-motion") ?? be);
174
+ function pn() {
175
+ let e = dn("data-motion", () => document.documentElement.getAttribute("data-motion") ?? be);
176
176
  return S({
177
177
  get: () => e.value,
178
178
  set: Oe
179
179
  });
180
180
  }
181
- function pn() {
182
- let e = un("style", () => document.documentElement.style.getPropertyValue("--accent"));
181
+ function mn() {
182
+ let e = dn("style", () => document.documentElement.style.getPropertyValue("--accent"));
183
183
  return S({
184
184
  get: () => e.value,
185
185
  set: (e) => De(e || void 0)
186
186
  });
187
187
  }
188
188
  // src/Button.vue?vue&type=script&setup=true&lang.ts
189
- var mn = {
189
+ var hn = {
190
190
  key: 0,
191
191
  class: "glim-btn-glyph"
192
- }, hn = {
192
+ }, gn = {
193
193
  key: 0,
194
194
  class: "glim-spinner"
195
195
  }, Z = /* @__PURE__ */ A({
@@ -223,11 +223,11 @@ var mn = {
223
223
  size: {}
224
224
  },
225
225
  setup(r, { expose: i }) {
226
- let a = r, o = sn("buttons"), s = H(!1);
226
+ let a = r, o = cn("buttons"), s = H(!1);
227
227
  he((e) => {
228
228
  if (a.compactBelow === void 0) return void (s.value = !1);
229
- let t = it(a.compactBelow), n = () => s.value = $e(t);
230
- n(), e(zt(t, n));
229
+ let t = at(a.compactBelow), n = () => s.value = et(t);
230
+ n(), e(Bt(t, n));
231
231
  });
232
232
  let c = S(() => a.glyph ?? (a.labelKey ? d(a.labelKey) : void 0) ?? (a.variant === "chip" ? h : void 0)), l = S(() => Ne({
233
233
  mode: o.value,
@@ -247,10 +247,10 @@ var mn = {
247
247
  p.value = e, f.trigger.value = p.value;
248
248
  }
249
249
  function g(e) {
250
- l.value.pageHue && Ut(e.currentTarget), f.show();
250
+ l.value.pageHue && Wt(e.currentTarget), f.show();
251
251
  }
252
252
  function _(e) {
253
- l.value.pageHue && Ut(e.currentTarget), f.showOnFocus();
253
+ l.value.pageHue && Wt(e.currentTarget), f.showOnFocus();
254
254
  }
255
255
  return i({ el: p }), (e, i) => (L(), T(b, null, [k(W(t), {
256
256
  on: r.disabled && !!l.value.tip,
@@ -273,7 +273,7 @@ var mn = {
273
273
  }), {
274
274
  default: q(() => [
275
275
  B(e.$slots, "before"),
276
- l.value.showGlyph ? (L(), T("span", mn, [r.busy ? (L(), T("span", hn)) : (L(), C(V(c.value), { key: 1 }))])) : w("", !0),
276
+ l.value.showGlyph ? (L(), T("span", hn, [r.busy ? (L(), T("span", gn)) : (L(), C(V(c.value), { key: 1 }))])) : w("", !0),
277
277
  E("span", { class: N(l.value.labelClass) }, U(r.label), 3),
278
278
  B(e.$slots, "after")
279
279
  ]),
@@ -296,7 +296,7 @@ var mn = {
296
296
  "hide"
297
297
  ]), k(n, { state: W(f) }, null, 8, ["state"])], 64));
298
298
  }
299
- }), gn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ A({
299
+ }), _n = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ A({
300
300
  __name: "InfoBubble",
301
301
  props: {
302
302
  tip: {},
@@ -344,12 +344,12 @@ var mn = {
344
344
  "stroke-width": "1.3",
345
345
  "stroke-linecap": "round"
346
346
  })
347
- ], -1)]], 42, gn), k(n, { state: W(i) }, null, 8, ["state"])], 64));
347
+ ], -1)]], 42, _n), k(n, { state: W(i) }, null, 8, ["state"])], 64));
348
348
  }
349
- }), _n = {
349
+ }), vn = {
350
350
  key: 0,
351
351
  class: "glim-panel-heading"
352
- }, vn = /* @__PURE__ */ A({
352
+ }, yn = /* @__PURE__ */ A({
353
353
  __name: "Card",
354
354
  props: {
355
355
  title: {},
@@ -369,7 +369,7 @@ var mn = {
369
369
  }
370
370
  ]),
371
371
  style: P(n.value)
372
- }, [e.title || e.hint || t.$slots.title ? (L(), T("h2", _n, [k(rn, {
372
+ }, [e.title || e.hint || t.$slots.title ? (L(), T("h2", vn, [k(an, {
373
373
  tone: "heading",
374
374
  size: "heading",
375
375
  wrap: "",
@@ -383,14 +383,14 @@ var mn = {
383
383
  _: 3
384
384
  }, 8, ["hue-index"])])) : w("", !0), B(t.$slots, "default")], 6));
385
385
  }
386
- }), yn = [
386
+ }), bn = [
387
387
  "aria-checked",
388
388
  "aria-label",
389
389
  "disabled"
390
- ], bn = {
390
+ ], xn = {
391
391
  class: "glim-checkbox-box",
392
392
  "aria-hidden": "true"
393
- }, xn = { key: 0 }, Sn = /* @__PURE__ */ A({
393
+ }, Sn = { key: 0 }, Cn = /* @__PURE__ */ A({
394
394
  __name: "Checkbox",
395
395
  props: /*@__PURE__*/ j({
396
396
  label: {},
@@ -424,12 +424,12 @@ var mn = {
424
424
  disabled: e.disabled,
425
425
  class: N(["glim-checkbox", { "glim-checkbox--slim": e.slim }]),
426
426
  onClick: i[0] ||= (e) => r.value = !r.value
427
- }, [E("span", bn, [k(W(f))]), n.value ? w("", !0) : (L(), T("span", xn, U(e.label), 1))], 10, yn));
427
+ }, [E("span", xn, [k(W(f))]), n.value ? w("", !0) : (L(), T("span", Sn, U(e.label), 1))], 10, bn));
428
428
  }
429
- }), Cn = { class: "glim-picker-foot" }, wn = {
429
+ }), wn = { class: "glim-picker-foot" }, Tn = {
430
430
  key: 0,
431
431
  class: "glim-picker-name"
432
- }, Tn = ["value", "aria-label"], En = { class: "glim-picker-actions" }, Dn = /* @__PURE__ */ A({
432
+ }, En = ["value", "aria-label"], Dn = { class: "glim-picker-actions" }, On = /* @__PURE__ */ A({
433
433
  __name: "ColorPicker",
434
434
  props: /*@__PURE__*/ j({
435
435
  anchor: { default: null },
@@ -451,18 +451,18 @@ var mn = {
451
451
  let n = e, r = G(e, "modelValue"), i = t, a = {
452
452
  ...ve,
453
453
  ...n.text
454
- }, o = H(null), s = H(null), c = R(ot(r.value) ?? "#000000"), l = R(c.value), u = S(() => n.names === !1 ? null : at(c.value, n.names)), d = Ie(c.value, (e) => {
454
+ }, o = H(null), s = H(null), c = R(st(r.value) ?? "#000000"), l = R(c.value), u = S(() => n.names === !1 ? null : ot(c.value, n.names)), d = Ie(c.value, (e) => {
455
455
  c.value = e, l.value = e, i("input", e);
456
456
  }, { text: a }), p;
457
457
  F(() => {
458
458
  s.value.appendChild(d.el), n.anchor && o.value && (p = Ve(o.value, n.anchor, () => i("close")), d.focus());
459
459
  }), ie(() => p?.()), K(r, (e) => {
460
- let t = ot(e);
460
+ let t = st(e);
461
461
  t && (c.value = t, l.value = t, d.setValue(t));
462
462
  });
463
463
  function m(e) {
464
464
  l.value = e.target.value;
465
- let t = ot(l.value);
465
+ let t = st(l.value);
466
466
  t && (c.value = t, d.setValue(t), i("input", t));
467
467
  }
468
468
  function h() {
@@ -486,12 +486,12 @@ var mn = {
486
486
  ref: s,
487
487
  style: { display: "contents" }
488
488
  }, null, 512),
489
- E("div", Cn, [
489
+ E("div", wn, [
490
490
  n[0] ||= E("span", {
491
491
  class: "glim-picker-swatch",
492
492
  "aria-hidden": "true"
493
493
  }, null, -1),
494
- u.value === null ? w("", !0) : (L(), T("span", wn, U(u.value), 1)),
494
+ u.value === null ? w("", !0) : (L(), T("span", Tn, U(u.value), 1)),
495
495
  E("input", {
496
496
  class: "glim-picker-hex",
497
497
  value: l.value,
@@ -499,9 +499,9 @@ var mn = {
499
499
  spellcheck: "false",
500
500
  "aria-label": a.hex,
501
501
  onInput: m
502
- }, null, 40, Tn)
502
+ }, null, 40, En)
503
503
  ]),
504
- E("div", En, [k(Z, {
504
+ E("div", Dn, [k(Z, {
505
505
  label: a.apply,
506
506
  "label-key": "apply",
507
507
  glyph: W(f),
@@ -510,16 +510,16 @@ var mn = {
510
510
  }, null, 8, ["label", "glyph"])])
511
511
  ], 38)], 8, ["disabled"]));
512
512
  }
513
- }), On = { class: "glim-modal-head" }, kn = {
513
+ }), kn = { class: "glim-modal-head" }, An = {
514
514
  id: "confirmdialog-title",
515
515
  class: "glim-modal-title"
516
- }, An = { class: "glim-modal-body" }, jn = {
516
+ }, jn = { class: "glim-modal-body" }, Mn = {
517
517
  id: "confirmdialog-message",
518
518
  class: "glim-modal-text"
519
- }, Mn = {
519
+ }, Nn = {
520
520
  key: 0,
521
521
  class: "glim-modal-extra"
522
- }, Nn = { class: "glim-modal-foot" }, Pn = /* @__PURE__ */ A({
522
+ }, Pn = { class: "glim-modal-foot" }, Fn = /* @__PURE__ */ A({
523
523
  __name: "ConfirmDialog",
524
524
  props: {
525
525
  title: {},
@@ -545,7 +545,7 @@ var mn = {
545
545
  "aria-describedby": "confirmdialog-message",
546
546
  class: "glim-modal-card"
547
547
  }, [
548
- E("div", On, [E("h2", kn, [k(rn, {
548
+ E("div", kn, [E("h2", An, [k(an, {
549
549
  tone: "heading",
550
550
  size: "heading",
551
551
  wrap: ""
@@ -560,8 +560,8 @@ var mn = {
560
560
  class: "glim-modal-close",
561
561
  onClick: n[0] ||= (e) => r("cancel")
562
562
  }, null, 8, ["label", "glyph"]))]),
563
- E("div", An, [E("p", jn, U(e.message), 1), t.$slots.extra ? (L(), T("div", Mn, [B(t.$slots, "extra")])) : w("", !0)]),
564
- E("div", Nn, [k(Z, {
563
+ E("div", jn, [E("p", Mn, U(e.message), 1), t.$slots.extra ? (L(), T("div", Nn, [B(t.$slots, "extra")])) : w("", !0)]),
564
+ E("div", Pn, [k(Z, {
565
565
  ref_key: "cancel",
566
566
  ref: a,
567
567
  label: e.cancelLabel,
@@ -580,20 +580,20 @@ var mn = {
580
580
  ])])
581
581
  ], 512)]));
582
582
  }
583
- }), Fn = { class: "glim-kbd" }, In = /* @__PURE__ */ A({
583
+ }), In = { class: "glim-kbd" }, Ln = /* @__PURE__ */ A({
584
584
  __name: "Kbd",
585
585
  setup(e) {
586
- return (e, t) => (L(), T("kbd", Fn, [B(e.$slots, "default")]));
586
+ return (e, t) => (L(), T("kbd", In, [B(e.$slots, "default")]));
587
587
  }
588
- }), Ln = {
588
+ }), Rn = {
589
589
  key: 0,
590
590
  class: "glim-menu-sep",
591
591
  role: "separator"
592
- }, Rn = {
592
+ }, zn = {
593
593
  key: 1,
594
594
  class: "glim-menu-head",
595
595
  role: "presentation"
596
- }, zn = [
596
+ }, Bn = [
597
597
  "role",
598
598
  "aria-checked",
599
599
  "aria-haspopup",
@@ -601,26 +601,26 @@ var mn = {
601
601
  "disabled",
602
602
  "data-row",
603
603
  "onClick"
604
- ], Bn = {
604
+ ], Vn = {
605
605
  key: 0,
606
606
  class: "glim-checkbox-box",
607
607
  "aria-hidden": "true"
608
- }, Vn = {
608
+ }, Hn = {
609
609
  key: 2,
610
610
  class: "glim-menu-glyph",
611
611
  "aria-hidden": "true"
612
- }, Hn = { class: "glim-menu-label" }, Un = {
612
+ }, Un = { class: "glim-menu-label" }, Wn = {
613
613
  key: 3,
614
614
  class: "glim-menu-end glim-menu-caret",
615
615
  "aria-hidden": "true"
616
- }, Wn = {
616
+ }, Gn = {
617
617
  key: 4,
618
618
  class: "glim-menu-end glim-menu-tick",
619
619
  "aria-hidden": "true"
620
- }, Gn = {
620
+ }, Kn = {
621
621
  key: 6,
622
622
  class: "glim-menu-end glim-menu-count glim-num"
623
- }, Kn = /* @__PURE__ */ A({
623
+ }, qn = /* @__PURE__ */ A({
624
624
  __name: "MenuRows",
625
625
  props: {
626
626
  entries: {},
@@ -634,9 +634,9 @@ var mn = {
634
634
  } : {
635
635
  kind: "item",
636
636
  item: e,
637
- view: nt(e)
637
+ view: rt(e)
638
638
  }));
639
- return (t, n) => (L(!0), T(b, null, z(a.value, (t, n) => (L(), T(b, { key: n }, [t.kind === "sep" ? (L(), T("div", Ln)) : t.kind === "head" ? (L(), T("div", Rn, [E("span", null, U(t.head.head), 1), t.head.edit ? (L(), C(tn, {
639
+ return (t, n) => (L(!0), T(b, null, z(a.value, (t, n) => (L(), T(b, { key: n }, [t.kind === "sep" ? (L(), T("div", Rn)) : t.kind === "head" ? (L(), T("div", zn, [E("span", null, U(t.head.head), 1), t.head.edit ? (L(), C(nn, {
640
640
  key: 0,
641
641
  tip: t.head.edit.tip,
642
642
  role: "menuitem",
@@ -664,23 +664,23 @@ var mn = {
664
664
  "data-row": n,
665
665
  onClick: (e) => r("pick", n)
666
666
  }, [
667
- t.view.lead === "box" ? (L(), T("span", Bn, [k(W(f))])) : t.view.lead === "dot" ? (L(), T("span", {
667
+ t.view.lead === "box" ? (L(), T("span", Vn, [k(W(f))])) : t.view.lead === "dot" ? (L(), T("span", {
668
668
  key: 1,
669
669
  class: "glim-menu-dot",
670
670
  style: P({ backgroundColor: t.item.color }),
671
671
  "aria-hidden": "true"
672
- }, null, 4)) : (L(), T("span", Vn, [t.view.lead === "glyph" ? (L(), C(V(t.item.glyph), { key: 0 })) : w("", !0)])),
673
- E("span", Hn, U(t.item.label), 1),
674
- t.view.end === "submenu" ? (L(), T("span", Un, [k(W(i))])) : t.view.end === "tick" ? (L(), T("span", Wn, [k(W(f))])) : t.view.end === "shortcut" ? (L(), C(In, {
672
+ }, null, 4)) : (L(), T("span", Hn, [t.view.lead === "glyph" ? (L(), C(V(t.item.glyph), { key: 0 })) : w("", !0)])),
673
+ E("span", Un, U(t.item.label), 1),
674
+ t.view.end === "submenu" ? (L(), T("span", Wn, [k(W(i))])) : t.view.end === "tick" ? (L(), T("span", Gn, [k(W(f))])) : t.view.end === "shortcut" ? (L(), C(Ln, {
675
675
  key: 5,
676
676
  class: "glim-menu-end"
677
677
  }, {
678
678
  default: q(() => [O(U(t.item.shortcut), 1)]),
679
679
  _: 2
680
- }, 1024)) : t.view.end === "count" ? (L(), T("span", Gn, U(t.item.count), 1)) : w("", !0)
681
- ], 10, zn))], 64))), 128));
680
+ }, 1024)) : t.view.end === "count" ? (L(), T("span", Kn, U(t.item.count), 1)) : w("", !0)
681
+ ], 10, Bn))], 64))), 128));
682
682
  }
683
- }), qn = ["id", "aria-label"], Jn = ["id", "aria-label"], Yn = /* @__PURE__ */ A({
683
+ }), Jn = ["id", "aria-label"], Yn = ["id", "aria-label"], Xn = /* @__PURE__ */ A({
684
684
  __name: "ContextMenu",
685
685
  props: {
686
686
  x: {},
@@ -699,19 +699,19 @@ var mn = {
699
699
  let n = e, r = t, i = H(null), a = H(null), o = Ke(), s = R({
700
700
  left: n.x,
701
701
  top: n.y
702
- }), c = H(null), l = R(null), u = S(() => Gt(n.items)), d = S(() => {
702
+ }), c = H(null), l = R(null), u = S(() => Kt(n.items)), d = S(() => {
703
703
  let e = c.value ? u.value[c.value.at] : void 0;
704
704
  return e && e !== "-" && !Ye(e) && e.sub ? e : null;
705
- }), f = S(() => d.value?.sub ? Gt(d.value.sub) : null), p = () => ({
705
+ }), f = S(() => d.value?.sub ? Kt(d.value.sub) : null), p = () => ({
706
706
  width: innerWidth,
707
707
  height: innerHeight
708
708
  });
709
709
  function m(e) {
710
- r("close"), e && bt(n.opener ?? o);
710
+ r("close"), e && xt(n.opener ?? o);
711
711
  }
712
712
  function h() {
713
713
  let e = i.value;
714
- e && (s.value = ut(n.x, n.y, {
714
+ e && (s.value = dt(n.x, n.y, {
715
715
  width: e.offsetWidth,
716
716
  height: e.offsetHeight
717
717
  }, p(), n.above));
@@ -735,7 +735,7 @@ var mn = {
735
735
  let t = e && i.value?.querySelector(`[data-row="${e.at}"]`), n = a.value;
736
736
  if (!e || !t || !n) return;
737
737
  let r = getComputedStyle(i.value).direction === "rtl";
738
- l.value = dt(t.getBoundingClientRect(), {
738
+ l.value = ft(t.getBoundingClientRect(), {
739
739
  width: n.offsetWidth,
740
740
  height: n.offsetHeight
741
741
  }, p(), r), e.focus && Ue(n);
@@ -745,11 +745,11 @@ var mn = {
745
745
  n !== "-" && (Ye(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
746
746
  at: t,
747
747
  focus: !0
748
- } : (nt(n).staysOpen || m(!0), n.onSelect?.()));
748
+ } : (rt(n).staysOpen || m(!0), n.onSelect?.()));
749
749
  }
750
750
  function ee(e, t) {
751
751
  if (e.key === "Tab") return m(!1);
752
- let n = e.currentTarget, a = tt(e.key, getComputedStyle(n).direction === "rtl");
752
+ let n = e.currentTarget, a = nt(e.key, getComputedStyle(n).direction === "rtl");
753
753
  if (!a) return;
754
754
  if (e.preventDefault(), a !== "in" && a !== "out") return We(n, a);
755
755
  if (t) {
@@ -785,11 +785,11 @@ var mn = {
785
785
  onKeydown: n[1] ||= (e) => ee(e, !1),
786
786
  onMouseover: y,
787
787
  onContextmenu: n[2] ||= Y(() => {}, ["prevent"])
788
- }, [k(Kn, {
788
+ }, [k(qn, {
789
789
  entries: u.value,
790
790
  "open-at": c.value?.at,
791
791
  onPick: n[0] ||= (e) => v(u.value, e)
792
- }, null, 8, ["entries", "open-at"])], 44, qn), f.value ? (L(), T("div", {
792
+ }, null, 8, ["entries", "open-at"])], 44, Jn), f.value ? (L(), T("div", {
793
793
  key: 0,
794
794
  id: d.value?.subId,
795
795
  ref_key: "subMenu",
@@ -803,15 +803,15 @@ var mn = {
803
803
  }),
804
804
  onKeydown: n[4] ||= (e) => ee(e, !0),
805
805
  onContextmenu: n[5] ||= Y(() => {}, ["prevent"])
806
- }, [k(Kn, {
806
+ }, [k(qn, {
807
807
  entries: f.value,
808
808
  onPick: n[3] ||= (e) => v(f.value, e)
809
- }, null, 8, ["entries"])], 44, Jn)) : w("", !0)]));
809
+ }, null, 8, ["entries"])], 44, Yn)) : w("", !0)]));
810
810
  }
811
- }), Xn = ["value", "aria-label"], Zn = {
811
+ }), Zn = ["value", "aria-label"], Qn = {
812
812
  role: "status",
813
813
  class: "glim-sr-only"
814
- }, Qn = /* @__PURE__ */ A({
814
+ }, $n = /* @__PURE__ */ A({
815
815
  __name: "CopyField",
816
816
  props: {
817
817
  value: {},
@@ -839,7 +839,7 @@ var mn = {
839
839
  "aria-label": W(i),
840
840
  spellcheck: "false",
841
841
  class: "glim-input glim-input--mono"
842
- }, null, 8, Xn),
842
+ }, null, 8, Zn),
843
843
  k(Z, {
844
844
  label: a.value ? e.text.copied : e.text.copy,
845
845
  "label-key": a.value ? "copied" : "copy",
@@ -851,17 +851,17 @@ var mn = {
851
851
  "label-key",
852
852
  "glyph"
853
853
  ]),
854
- E("span", Zn, U(a.value ? e.text.copied : ""), 1)
854
+ E("span", Qn, U(a.value ? e.text.copied : ""), 1)
855
855
  ], 2));
856
856
  }
857
- }), $n = {
857
+ }), er = {
858
858
  key: 0,
859
859
  class: "glim-empty-glyph",
860
860
  "aria-hidden": "true"
861
- }, er = { class: "glim-empty-title" }, tr = {
861
+ }, tr = { class: "glim-empty-title" }, nr = {
862
862
  key: 1,
863
863
  class: "glim-empty-hint"
864
- }, nr = /* @__PURE__ */ A({
864
+ }, rr = /* @__PURE__ */ A({
865
865
  __name: "EmptyState",
866
866
  props: {
867
867
  glyph: {},
@@ -874,23 +874,23 @@ var mn = {
874
874
  },
875
875
  setup(e) {
876
876
  return (t, n) => (L(), T("div", { class: N(e.nested ? "glim-empty" : "glim-card glim-empty") }, [
877
- e.glyph ? (L(), T("span", $n, [(L(), C(V(e.glyph)))])) : w("", !0),
878
- E("p", er, U(e.title), 1),
879
- e.hint ? (L(), T("p", tr, U(e.hint), 1)) : w("", !0),
877
+ e.glyph ? (L(), T("span", er, [(L(), C(V(e.glyph)))])) : w("", !0),
878
+ E("p", tr, U(e.title), 1),
879
+ e.hint ? (L(), T("p", nr, U(e.hint), 1)) : w("", !0),
880
880
  B(t.$slots, "default")
881
881
  ], 2));
882
882
  }
883
- }), rr = /* @__PURE__ */ A({
883
+ }), ir = /* @__PURE__ */ A({
884
884
  __name: "Pill",
885
885
  props: { tone: { default: "neutral" } },
886
886
  setup(e) {
887
- let t = e, n = S(() => lt(t.tone));
887
+ let t = e, n = S(() => ut(t.tone));
888
888
  return (e, t) => (L(), T("span", { class: N(n.value) }, [B(e.$slots, "default")], 2));
889
889
  }
890
- }), ir = { class: "glim-field-row-name" }, ar = {
890
+ }), ar = { class: "glim-field-row-name" }, or = {
891
891
  key: 0,
892
892
  class: "glim-field-row-controls"
893
- }, or = /* @__PURE__ */ A({
893
+ }, sr = /* @__PURE__ */ A({
894
894
  __name: "FieldRow",
895
895
  props: {
896
896
  label: {},
@@ -907,20 +907,20 @@ var mn = {
907
907
  ref_key: "row",
908
908
  ref: r,
909
909
  class: N(["glim-field-row", { "glim-field-row--wide": e.wide }])
910
- }, [E("span", ir, [E("span", {
910
+ }, [E("span", ar, [E("span", {
911
911
  class: "glim-field-row-label",
912
- onClick: i[0] ||= (e) => W(ft)(r.value)
912
+ onClick: i[0] ||= (e) => W(pt)(r.value)
913
913
  }, [B(t.$slots, "label", {}, () => [O(U(e.label), 1)])]), e.hint ? (L(), C(Q, {
914
914
  key: 0,
915
915
  tip: e.hint
916
- }, null, 8, ["tip"])) : w("", !0)]), W(n) ? (L(), T("span", ar, [B(t.$slots, "default", {}, () => [e.value === void 0 ? w("", !0) : (L(), C(rr, {
916
+ }, null, 8, ["tip"])) : w("", !0)]), W(n) ? (L(), T("span", or, [B(t.$slots, "default", {}, () => [e.value === void 0 ? w("", !0) : (L(), C(ir, {
917
917
  key: 0,
918
918
  class: "glim-num",
919
919
  tone: e.tone
920
920
  }, {
921
921
  default: q(() => [O(U(e.value), 1)]),
922
922
  _: 1
923
- }, 8, ["tone"]))])])) : B(t.$slots, "default", {}, () => [e.value === void 0 ? w("", !0) : (L(), C(rr, {
923
+ }, 8, ["tone"]))])])) : B(t.$slots, "default", {}, () => [e.value === void 0 ? w("", !0) : (L(), C(ir, {
924
924
  key: 0,
925
925
  class: "glim-num",
926
926
  tone: e.tone
@@ -929,7 +929,7 @@ var mn = {
929
929
  _: 1
930
930
  }, 8, ["tone"]))], void 0, 1)], 2));
931
931
  }
932
- }), sr = /* @__PURE__ */ A({
932
+ }), cr = /* @__PURE__ */ A({
933
933
  __name: "FieldRowGroup",
934
934
  props: { columns: {} },
935
935
  setup(e) {
@@ -938,10 +938,10 @@ var mn = {
938
938
  style: P(e.columns ? { "--field-columns": e.columns } : void 0)
939
939
  }, [B(t.$slots, "default")], 4));
940
940
  }
941
- }), cr = {
941
+ }), lr = {
942
942
  class: "glim-glyph-field-glyph",
943
943
  "aria-hidden": "true"
944
- }, lr = ["aria-label"], ur = /* @__PURE__ */ A({
944
+ }, ur = ["aria-label"], dr = /* @__PURE__ */ A({
945
945
  inheritAttrs: !1,
946
946
  __name: "GlyphField",
947
947
  props: /*@__PURE__*/ j({
@@ -966,7 +966,7 @@ var mn = {
966
966
  ]),
967
967
  style: P(t.$attrs.style)
968
968
  }, [
969
- E("span", cr, [(L(), C(V(e.glyph)))]),
969
+ E("span", lr, [(L(), C(V(e.glyph)))]),
970
970
  J(E("input", M({
971
971
  ref_key: "input",
972
972
  ref: o,
@@ -977,11 +977,11 @@ var mn = {
977
977
  ...t.$attrs,
978
978
  class: void 0,
979
979
  style: void 0
980
- }, { class: "glim-glyph-field-input" }), null, 16, lr), [[pe, r.value]]),
980
+ }, { class: "glim-glyph-field-input" }), null, 16, ur), [[pe, r.value]]),
981
981
  B(t.$slots, "after")
982
982
  ], 6));
983
983
  }
984
- }), dr = /* @__PURE__ */ A({
984
+ }), fr = /* @__PURE__ */ A({
985
985
  __name: "GlyphTile",
986
986
  props: {
987
987
  glyph: {},
@@ -999,11 +999,11 @@ var mn = {
999
999
  "aria-hidden": "true"
1000
1000
  }, [(L(), C(V(e.glyph)))], 2));
1001
1001
  }
1002
- }), fr = {
1002
+ }), pr = {
1003
1003
  key: 0,
1004
1004
  class: "glim-icon-btn-gap",
1005
1005
  "aria-hidden": "true"
1006
- }, pr = /* @__PURE__ */ A({
1006
+ }, mr = /* @__PURE__ */ A({
1007
1007
  __name: "IconButton",
1008
1008
  props: {
1009
1009
  tip: {},
@@ -1018,9 +1018,9 @@ var mn = {
1018
1018
  },
1019
1019
  setup(e) {
1020
1020
  function t(e) {
1021
- Ut(e.currentTarget);
1021
+ Wt(e.currentTarget);
1022
1022
  }
1023
- return (n, r) => e.absent ? (L(), T("span", fr)) : (L(), C(tn, {
1023
+ return (n, r) => e.absent ? (L(), T("span", pr)) : (L(), C(nn, {
1024
1024
  key: 1,
1025
1025
  tip: e.tip,
1026
1026
  href: e.href,
@@ -1039,18 +1039,18 @@ var mn = {
1039
1039
  "disabled"
1040
1040
  ]));
1041
1041
  }
1042
- }), mr = {
1042
+ }), hr = {
1043
1043
  key: 0,
1044
1044
  class: "glim-readme-btn-art",
1045
1045
  "aria-hidden": "true"
1046
- }, hr = { class: "glim-readme-btn-text" }, gr = { class: "glim-readme-btn-name" }, _r = {
1046
+ }, gr = { class: "glim-readme-btn-text" }, _r = { class: "glim-readme-btn-name" }, vr = {
1047
1047
  key: 0,
1048
1048
  class: "glim-readme-btn-sub"
1049
- }, vr = {
1049
+ }, yr = {
1050
1050
  key: 0,
1051
1051
  class: "glim-readme-btn-sheen",
1052
1052
  "aria-hidden": "true"
1053
- }, yr = {
1053
+ }, br = {
1054
1054
  key: 1,
1055
1055
  class: "glim-readme-btn-hint"
1056
1056
  }, $ = /* @__PURE__ */ A({
@@ -1068,11 +1068,11 @@ var mn = {
1068
1068
  },
1069
1069
  emits: ["linkClick"],
1070
1070
  setup(e, { emit: t }) {
1071
- let n = e, r = t, i = S(() => _t(n.parts)), a = H(null), o = S(() => n.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (i.value ? n.soonLabel : "")), s;
1071
+ let n = e, r = t, i = S(() => vt(n.parts)), a = H(null), o = S(() => n.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (i.value ? n.soonLabel : "")), s;
1072
1072
  K([a, o], () => {
1073
1073
  s?.(), s = a.value ? Xe(a.value) : void 0;
1074
1074
  }, { flush: "post" }), I(() => s?.());
1075
- let c = (e) => i.value ? n.soonLabel : e.sub, l = (e) => gt(e, c(e)), u = (e) => i.value ? "span" : e.href ? "a" : "button", d = (e) => i.value ? { "aria-disabled": !0 } : e.href ? {
1075
+ let c = (e) => i.value ? n.soonLabel : e.sub, l = (e) => _t(e, c(e)), u = (e) => i.value ? "span" : e.href ? "a" : "button", d = (e) => i.value ? { "aria-disabled": !0 } : e.href ? {
1076
1076
  href: e.href,
1077
1077
  target: "_blank",
1078
1078
  rel: "noreferrer noopener",
@@ -1084,24 +1084,24 @@ var mn = {
1084
1084
  return (t, n) => (L(), T("div", {
1085
1085
  ref_key: "root",
1086
1086
  ref: a,
1087
- class: N(W(vt)(e.brand, e.parts.length, e.note, i.value))
1087
+ class: N(W(yt)(e.brand, e.parts.length, e.note, i.value))
1088
1088
  }, [
1089
1089
  (L(!0), T(b, null, z(e.parts, (n, r) => (L(), C(V(u(n)), M({ key: r }, { ref_for: !0 }, d(n), {
1090
1090
  "aria-label": l(n),
1091
- class: W(ht)(r, i.value)
1091
+ class: W(gt)(r, i.value)
1092
1092
  }), {
1093
- default: q(() => [r === 0 && t.$slots.art ? (L(), T("span", mr, [B(t.$slots, "art")])) : (L(), T(b, { key: 1 }, [r === 0 && t.$slots.mark ? (L(), T("span", {
1093
+ default: q(() => [r === 0 && t.$slots.art ? (L(), T("span", hr, [B(t.$slots, "art")])) : (L(), T(b, { key: 1 }, [r === 0 && t.$slots.mark ? (L(), T("span", {
1094
1094
  key: 0,
1095
1095
  class: N(`glim-readme-btn-mark ${e.markClass ?? ""}`),
1096
1096
  "aria-hidden": "true"
1097
- }, [B(t.$slots, "mark")], 2)) : w("", !0), E("span", hr, [E("span", gr, U(n.name), 1), c(n) ? (L(), T("span", _r, U(c(n)), 1)) : w("", !0)])], 64))]),
1097
+ }, [B(t.$slots, "mark")], 2)) : w("", !0), E("span", gr, [E("span", _r, U(n.name), 1), c(n) ? (L(), T("span", vr, U(c(n)), 1)) : w("", !0)])], 64))]),
1098
1098
  _: 2
1099
1099
  }, 1040, ["aria-label", "class"]))), 128)),
1100
- i.value ? w("", !0) : (L(), T("span", vr)),
1101
- e.hint ? (L(), T("span", yr, [k(Q, { tip: e.hint }, null, 8, ["tip"])])) : w("", !0)
1100
+ i.value ? w("", !0) : (L(), T("span", yr)),
1101
+ e.hint ? (L(), T("span", br, [k(Q, { tip: e.hint }, null, 8, ["tip"])])) : w("", !0)
1102
1102
  ], 2));
1103
1103
  }
1104
- }), br = { class: "glim-info-text" }, xr = { class: "glim-info-text" }, Sr = { class: "glim-readme-btn-rows glim-about-give" }, Cr = /* @__PURE__ */ A({
1104
+ }), xr = { class: "glim-info-text" }, Sr = { class: "glim-info-text" }, Cr = { class: "glim-readme-btn-rows glim-about-give" }, wr = /* @__PURE__ */ A({
1105
1105
  __name: "InfoAboutCard",
1106
1106
  props: {
1107
1107
  text: {},
@@ -1114,14 +1114,14 @@ var mn = {
1114
1114
  hueIndex: {}
1115
1115
  },
1116
1116
  setup(e) {
1117
- return (t, n) => (L(), C(vn, {
1117
+ return (t, n) => (L(), C(yn, {
1118
1118
  title: e.text.title,
1119
1119
  "hue-index": e.hueIndex
1120
1120
  }, {
1121
1121
  default: q(() => [
1122
- E("p", br, U(e.text.body), 1),
1123
- E("p", xr, U(e.text.coffee), 1),
1124
- E("div", Sr, [
1122
+ E("p", xr, U(e.text.body), 1),
1123
+ E("p", Sr, U(e.text.coffee), 1),
1124
+ E("div", Cr, [
1125
1125
  k($, {
1126
1126
  brand: "coffee",
1127
1127
  parts: [{
@@ -1163,7 +1163,7 @@ var mn = {
1163
1163
  _: 1
1164
1164
  }, 8, ["title", "hue-index"]));
1165
1165
  }
1166
- }), wr = { class: "glim-info-text" }, Tr = { class: "glim-readme-btn-rows" }, Er = /* @__PURE__ */ A({
1166
+ }), Tr = { class: "glim-info-text" }, Er = { class: "glim-readme-btn-rows" }, Dr = /* @__PURE__ */ A({
1167
1167
  __name: "InfoHelpCard",
1168
1168
  props: {
1169
1169
  text: {},
@@ -1177,18 +1177,18 @@ var mn = {
1177
1177
  bugGlyph: {},
1178
1178
  openUrl: {
1179
1179
  type: Function,
1180
- default: ct
1180
+ default: lt
1181
1181
  },
1182
1182
  hueIndex: {}
1183
1183
  },
1184
1184
  setup(e) {
1185
- let t = e, n = S(() => st(t.text.report, t.mailAddress));
1186
- return (t, r) => (L(), C(vn, {
1185
+ let t = e, n = S(() => ct(t.text.report, t.mailAddress));
1186
+ return (t, r) => (L(), C(yn, {
1187
1187
  title: e.text.title,
1188
1188
  hint: e.text.hint,
1189
1189
  "hue-index": e.hueIndex
1190
1190
  }, {
1191
- default: q(() => [E("p", wr, U(e.text.report), 1), E("div", Tr, [
1191
+ default: q(() => [E("p", Tr, U(e.text.report), 1), E("div", Er, [
1192
1192
  k($, {
1193
1193
  brand: "github",
1194
1194
  parts: [{
@@ -1206,7 +1206,7 @@ var mn = {
1206
1206
  brand: "house",
1207
1207
  parts: [{
1208
1208
  name: e.text.mailButton,
1209
- onClick: () => e.openUrl(W(Qe)(e.mailAddress, e.text.mailSubject))
1209
+ onClick: () => e.openUrl(W($e)(e.mailAddress, e.text.mailSubject))
1210
1210
  }],
1211
1211
  "mark-class": "glim-house-mark"
1212
1212
  }, D({ _: 2 }, [e.mailGlyph ? {
@@ -1249,19 +1249,19 @@ var mn = {
1249
1249
  "hue-index"
1250
1250
  ]));
1251
1251
  }
1252
- }), Dr = { class: "glim-version-rows" }, Or = { class: "glim-version-name" }, kr = { class: "glim-version-part" }, Ar = {
1252
+ }), Or = { class: "glim-version-rows" }, kr = { class: "glim-version-name" }, Ar = { class: "glim-version-part" }, jr = {
1253
1253
  key: 0,
1254
1254
  class: "glim-version-sub"
1255
- }, jr = ["href", "onClick"], Mr = {
1255
+ }, Mr = ["href", "onClick"], Nr = {
1256
1256
  key: 1,
1257
1257
  class: "glim-num glim-version-number"
1258
- }, Nr = {
1258
+ }, Pr = {
1259
1259
  key: 0,
1260
1260
  class: "glim-version-actions"
1261
- }, Pr = {
1261
+ }, Fr = {
1262
1262
  role: "status",
1263
1263
  class: "glim-sr-only"
1264
- }, Fr = /* @__PURE__ */ A({
1264
+ }, Ir = /* @__PURE__ */ A({
1265
1265
  __name: "InfoVersionCard",
1266
1266
  props: {
1267
1267
  text: {},
@@ -1270,36 +1270,36 @@ var mn = {
1270
1270
  onReleaseNotes: {},
1271
1271
  openUrl: {
1272
1272
  type: Function,
1273
- default: ct
1273
+ default: lt
1274
1274
  },
1275
1275
  hueIndex: {}
1276
1276
  },
1277
1277
  setup(e) {
1278
- let t = e, n = de(), r = S(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = H({ kind: "idle" }), a = H(0), o = S(() => t.updateCheck && Xt(i.value, t.updateCheck.text));
1278
+ let t = e, n = de(), r = S(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = H({ kind: "idle" }), a = H(0), o = S(() => t.updateCheck && Zt(i.value, t.updateCheck.text));
1279
1279
  function s() {
1280
- Ct(t.updateCheck, i.value, (e) => {
1280
+ wt(t.updateCheck, i.value, (e) => {
1281
1281
  i.value = e, e.kind === "failed" && a.value++;
1282
1282
  });
1283
1283
  }
1284
1284
  function c(e, n) {
1285
1285
  e.preventDefault(), t.openUrl(n);
1286
1286
  }
1287
- return (t, n) => (L(), C(vn, {
1287
+ return (t, n) => (L(), C(yn, {
1288
1288
  title: e.text.title,
1289
1289
  hint: e.text.hint,
1290
1290
  "hue-index": e.hueIndex
1291
1291
  }, {
1292
- default: q(() => [E("ul", Dr, [(L(!0), T(b, null, z(e.rows, (t) => (L(), T("li", {
1292
+ default: q(() => [E("ul", Or, [(L(!0), T(b, null, z(e.rows, (t) => (L(), T("li", {
1293
1293
  key: t.name,
1294
1294
  class: "glim-version-row"
1295
- }, [E("span", Or, [E("span", kr, U(t.name), 1), t.sub ? (L(), T("span", Ar, U(t.sub), 1)) : w("", !0)]), W(X)(t).href ? (L(), T("a", {
1295
+ }, [E("span", kr, [E("span", Ar, U(t.name), 1), t.sub ? (L(), T("span", jr, U(t.sub), 1)) : w("", !0)]), W(X)(t).href ? (L(), T("a", {
1296
1296
  key: 0,
1297
1297
  href: W(X)(t).href,
1298
1298
  target: "_blank",
1299
1299
  rel: "noopener noreferrer",
1300
1300
  class: "glim-num glim-version-number",
1301
1301
  onClick: (e) => c(e, W(X)(t).href)
1302
- }, U(W(X)(t).shown), 9, jr)) : (L(), T("span", Mr, U(W(X)(t).released ? W(X)(t).shown : e.text.unreleased(W(X)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (L(), T("div", Nr, [
1302
+ }, U(W(X)(t).shown), 9, Mr)) : (L(), T("span", Nr, U(W(X)(t).released ? W(X)(t).shown : e.text.unreleased(W(X)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (L(), T("div", Pr, [
1303
1303
  r.value ? (L(), C(Z, {
1304
1304
  key: 0,
1305
1305
  label: e.text.releaseNotes,
@@ -1312,7 +1312,7 @@ var mn = {
1312
1312
  label: o.value.label,
1313
1313
  "label-key": o.value.labelKey,
1314
1314
  tone: o.value.tone,
1315
- stage: W(Zt)(e.updateCheck.text, o.value.label),
1315
+ stage: W(Qt)(e.updateCheck.text, o.value.label),
1316
1316
  busy: i.value.kind === "busy",
1317
1317
  class: N(a.value > 0 ? "glim-shake" : ""),
1318
1318
  onClick: s
@@ -1323,7 +1323,7 @@ var mn = {
1323
1323
  "stage",
1324
1324
  "busy",
1325
1325
  "class"
1326
- ])), E("span", Pr, U(o.value.announced), 1)], 64)) : w("", !0)
1326
+ ])), E("span", Fr, U(o.value.announced), 1)], 64)) : w("", !0)
1327
1327
  ])) : w("", !0)]),
1328
1328
  _: 3
1329
1329
  }, 8, [
@@ -1332,7 +1332,7 @@ var mn = {
1332
1332
  "hue-index"
1333
1333
  ]));
1334
1334
  }
1335
- }), Ir = /* @__PURE__ */ A({
1335
+ }), Lr = /* @__PURE__ */ A({
1336
1336
  __name: "InfoTile",
1337
1337
  props: {
1338
1338
  version: {},
@@ -1343,26 +1343,26 @@ var mn = {
1343
1343
  setup(e) {
1344
1344
  let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
1345
1345
  return (t, r) => (L(), T(b, null, [
1346
- k(Fr, M(e.version, { "hue-index": n(0) }), D({ _: 2 }, [t.$slots["whats-new"] ? {
1346
+ k(Ir, M(e.version, { "hue-index": n(0) }), D({ _: 2 }, [t.$slots["whats-new"] ? {
1347
1347
  name: "whats-new",
1348
1348
  fn: q(() => [B(t.$slots, "whats-new")]),
1349
1349
  key: "0"
1350
1350
  } : void 0]), 1040, ["hue-index"]),
1351
- k(Er, M(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
1352
- k(Cr, M(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
1351
+ k(Dr, M(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
1352
+ k(wr, M(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
1353
1353
  ], 64));
1354
1354
  }
1355
- }), Lr = [
1355
+ }), Rr = [
1356
1356
  "aria-label",
1357
1357
  "tabindex",
1358
1358
  "onKeydown"
1359
- ], Rr = {
1359
+ ], zr = {
1360
1360
  key: 0,
1361
1361
  class: "glim-list-row-tile"
1362
- }, zr = { class: "glim-list-row-title" }, Br = {
1362
+ }, Br = { class: "glim-list-row-title" }, Vr = {
1363
1363
  key: 1,
1364
1364
  class: "glim-list-row-badges"
1365
- }, Vr = /* @__PURE__ */ A({
1365
+ }, Hr = /* @__PURE__ */ A({
1366
1366
  __name: "ListRow",
1367
1367
  props: {
1368
1368
  name: {},
@@ -1381,28 +1381,28 @@ var mn = {
1381
1381
  class: N(["glim-list-row", { "glim-list-row--opens": r.value }]),
1382
1382
  onKeydown: [ge(Y(a, ["self"]), ["enter"]), ge(Y(a, ["self"]), ["space"])]
1383
1383
  }, [
1384
- t.$slots.tile ? (L(), T("span", Rr, [B(t.$slots, "tile")])) : w("", !0),
1385
- E("span", { class: N(i.value) }, [E("span", zr, U(e.name), 1), e.tip ? (L(), T("span", {
1384
+ t.$slots.tile ? (L(), T("span", zr, [B(t.$slots, "tile")])) : w("", !0),
1385
+ E("span", { class: N(i.value) }, [E("span", Br, U(e.name), 1), e.tip ? (L(), T("span", {
1386
1386
  key: 0,
1387
1387
  class: "glim-list-row-tip",
1388
1388
  onClick: n[0] ||= Y(() => {}, ["stop"])
1389
1389
  }, [k(Q, { tip: e.tip }, null, 8, ["tip"])])) : w("", !0)], 2),
1390
- t.$slots.badges ? (L(), T("span", Br, [B(t.$slots, "badges")])) : w("", !0),
1390
+ t.$slots.badges ? (L(), T("span", Vr, [B(t.$slots, "badges")])) : w("", !0),
1391
1391
  t.$slots.actions ? (L(), T("span", {
1392
1392
  key: 2,
1393
1393
  class: "glim-list-row-actions",
1394
1394
  onClick: n[1] ||= Y(() => {}, ["stop"])
1395
1395
  }, [B(t.$slots, "actions")])) : w("", !0)
1396
- ], 42, Lr));
1396
+ ], 42, Rr));
1397
1397
  }
1398
- }), Hr = ["aria-label"], Ur = [
1398
+ }), Ur = ["aria-label"], Wr = [
1399
1399
  "aria-expanded",
1400
1400
  "tabindex",
1401
1401
  "onClick",
1402
1402
  "onMouseenter",
1403
1403
  "onKeydown",
1404
1404
  "onFocus"
1405
- ], Wr = /* @__PURE__ */ A({
1405
+ ], Gr = /* @__PURE__ */ A({
1406
1406
  __name: "MenuBar",
1407
1407
  props: {
1408
1408
  label: {},
@@ -1451,7 +1451,7 @@ var mn = {
1451
1451
  onMouseenter: (e) => i.value && i.value.at !== t && o(t),
1452
1452
  onKeydown: (e) => l(e, t),
1453
1453
  onFocus: (e) => a.value = t
1454
- }, U(e.label), 41, Ur))), 128)), i.value && e.menus[i.value.at] ? (L(), C(Yn, {
1454
+ }, U(e.label), 41, Wr))), 128)), i.value && e.menus[i.value.at] ? (L(), C(Xn, {
1455
1455
  key: i.value.at,
1456
1456
  x: i.value.x,
1457
1457
  y: i.value.y,
@@ -1468,9 +1468,9 @@ var mn = {
1468
1468
  "label",
1469
1469
  "id",
1470
1470
  "opener"
1471
- ])) : w("", !0)], 8, Hr));
1471
+ ])) : w("", !0)], 8, Ur));
1472
1472
  }
1473
- }), Gr = [
1473
+ }), Kr = [
1474
1474
  "role",
1475
1475
  "aria-label",
1476
1476
  "aria-valuemin",
@@ -1478,7 +1478,7 @@ var mn = {
1478
1478
  "aria-valuenow",
1479
1479
  "aria-valuetext",
1480
1480
  "aria-busy"
1481
- ], Kr = /* @__PURE__ */ A({
1481
+ ], qr = /* @__PURE__ */ A({
1482
1482
  inheritAttrs: !1,
1483
1483
  __name: "Meter",
1484
1484
  props: {
@@ -1493,7 +1493,7 @@ var mn = {
1493
1493
  valueText: {}
1494
1494
  },
1495
1495
  setup(t) {
1496
- let r = t, i = S(() => rt(r.value, {
1496
+ let r = t, i = S(() => it(r.value, {
1497
1497
  size: r.size,
1498
1498
  threshold: r.threshold,
1499
1499
  quiet: r.quiet
@@ -1513,9 +1513,9 @@ var mn = {
1513
1513
  }), [E("span", {
1514
1514
  class: "glim-meter-fill",
1515
1515
  style: P(i.value.width ? { width: i.value.width } : void 0)
1516
- }, null, 4)], 16, Gr), k(n, { state: W(o) }, null, 8, ["state"])], 64));
1516
+ }, null, 4)], 16, Kr), k(n, { state: W(o) }, null, 8, ["state"])], 64));
1517
1517
  }
1518
- }), qr = { class: "glim-num-wrap" }, Jr = ["aria-label"], Yr = /* @__PURE__ */ A({
1518
+ }), Jr = { class: "glim-num-wrap" }, Yr = ["aria-label"], Xr = /* @__PURE__ */ A({
1519
1519
  inheritAttrs: !1,
1520
1520
  __name: "NumberField",
1521
1521
  props: {
@@ -1540,26 +1540,26 @@ var mn = {
1540
1540
  () => n.disabled,
1541
1541
  () => n.readonly
1542
1542
  ], () => {
1543
- o(t.value), i.value && Vt(i.value);
1543
+ o(t.value), i.value && Ht(i.value);
1544
1544
  }, { flush: "post" });
1545
1545
  function s(e) {
1546
1546
  let n = e.target;
1547
1547
  t.value = n.value === "" ? null : n.valueAsNumber;
1548
1548
  }
1549
- return (e, t) => (L(), T("span", qr, [E("input", M(e.$attrs, {
1549
+ return (e, t) => (L(), T("span", Jr, [E("input", M(e.$attrs, {
1550
1550
  ref_key: "input",
1551
1551
  ref: i,
1552
1552
  "aria-label": W(r),
1553
1553
  type: "number",
1554
1554
  class: "glim-num-input glim-num-field glim-num",
1555
1555
  onInput: s
1556
- }), null, 16, Jr)]));
1556
+ }), null, 16, Yr)]));
1557
1557
  }
1558
- }), Xr = [
1558
+ }), Zr = [
1559
1559
  "aria-label",
1560
1560
  "disabled",
1561
1561
  "type"
1562
- ], Zr = /* @__PURE__ */ A({
1562
+ ], Qr = /* @__PURE__ */ A({
1563
1563
  inheritAttrs: !1,
1564
1564
  __name: "PasswordField",
1565
1565
  props: /*@__PURE__*/ j({
@@ -1602,7 +1602,7 @@ var mn = {
1602
1602
  disabled: e.disabled,
1603
1603
  type: i.value ? "text" : "password",
1604
1604
  class: "glim-input"
1605
- }), null, 16, Xr), [[fe, r.value]]), k(tn, M(e.eyeAttrs, {
1605
+ }), null, 16, Zr), [[fe, r.value]]), k(nn, M(e.eyeAttrs, {
1606
1606
  tip: i.value ? e.text.hide : e.text.show,
1607
1607
  class: "glim-secret-eye",
1608
1608
  disabled: e.disabled,
@@ -1612,7 +1612,7 @@ var mn = {
1612
1612
  _: 1
1613
1613
  }, 16, ["tip", "disabled"])], 6));
1614
1614
  }
1615
- }), Qr = ["aria-label", "disabled"], $r = /* @__PURE__ */ A({
1615
+ }), $r = ["aria-label", "disabled"], ei = /* @__PURE__ */ A({
1616
1616
  inheritAttrs: !1,
1617
1617
  __name: "PathField",
1618
1618
  props: /*@__PURE__*/ j({
@@ -1665,7 +1665,7 @@ var mn = {
1665
1665
  }, {
1666
1666
  disabled: e.disabled,
1667
1667
  class: "glim-input glim-input--mono"
1668
- }), null, 16, Qr), [[pe, i.value]]), k(Z, M(e.buttonAttrs, {
1668
+ }), null, 16, $r), [[pe, i.value]]), k(Z, M(e.buttonAttrs, {
1669
1669
  variant: "icon",
1670
1670
  label: e.text.pick,
1671
1671
  "label-key": null,
@@ -1680,13 +1680,13 @@ var mn = {
1680
1680
  "disabled"
1681
1681
  ])], 6));
1682
1682
  }
1683
- }), ei = [
1683
+ }), ti = [
1684
1684
  "aria-label",
1685
1685
  "aria-valuemin",
1686
1686
  "aria-valuemax",
1687
1687
  "aria-valuenow",
1688
1688
  "aria-valuetext"
1689
- ], ti = /* @__PURE__ */ A({
1689
+ ], ni = /* @__PURE__ */ A({
1690
1690
  __name: "ProgressBar",
1691
1691
  props: {
1692
1692
  value: { default: null },
@@ -1702,7 +1702,7 @@ var mn = {
1702
1702
  valueText: {}
1703
1703
  },
1704
1704
  setup(e) {
1705
- let t = e, n = S(() => pt(t.value, {
1705
+ let t = e, n = S(() => mt(t.value, {
1706
1706
  paused: t.paused,
1707
1707
  failed: t.failed
1708
1708
  }));
@@ -1717,9 +1717,9 @@ var mn = {
1717
1717
  }, [E("span", {
1718
1718
  class: "glim-progress-fill",
1719
1719
  style: P(n.value.width ? { width: n.value.width } : void 0)
1720
- }, null, 4)], 10, ei));
1720
+ }, null, 4)], 10, ti));
1721
1721
  }
1722
- }), ni = /* @__PURE__ */ A({
1722
+ }), ri = /* @__PURE__ */ A({
1723
1723
  __name: "RowMark",
1724
1724
  props: { on: { type: Boolean } },
1725
1725
  setup(e) {
@@ -1728,14 +1728,14 @@ var mn = {
1728
1728
  "aria-hidden": "true"
1729
1729
  }, [k(W(f))], 2));
1730
1730
  }
1731
- }), ri = [
1731
+ }), ii = [
1732
1732
  "href",
1733
1733
  "data-sel-id",
1734
1734
  "aria-selected",
1735
1735
  "aria-current",
1736
1736
  "aria-describedby",
1737
1737
  "tabindex"
1738
- ], ii = [
1738
+ ], ai = [
1739
1739
  "data-sel-id",
1740
1740
  "id",
1741
1741
  "role",
@@ -1748,7 +1748,7 @@ var mn = {
1748
1748
  "aria-hidden",
1749
1749
  "disabled",
1750
1750
  "tabindex"
1751
- ], ai = ["id"], oi = /* @__PURE__ */ A({
1751
+ ], oi = ["id"], si = /* @__PURE__ */ A({
1752
1752
  __name: "SelectorSegment",
1753
1753
  props: {
1754
1754
  item: {},
@@ -1772,7 +1772,7 @@ var mn = {
1772
1772
  },
1773
1773
  emits: ["select"],
1774
1774
  setup(r, { emit: i }) {
1775
- let a = r, o = i, s = S(() => wt({
1775
+ let a = r, o = i, s = S(() => Tt({
1776
1776
  strip: a.strip,
1777
1777
  orientation: a.orientation,
1778
1778
  size: a.size,
@@ -1822,7 +1822,7 @@ var mn = {
1822
1822
  key: 1,
1823
1823
  "data-sel-label": "",
1824
1824
  class: N(s.value.labelClass)
1825
- }, U(r.item.label), 3))], 16, ri)) : (L(), T(b, { key: 1 }, [k(W(t), M({
1825
+ }, U(r.item.label), 3))], 16, ii)) : (L(), T(b, { key: 1 }, [k(W(t), M({
1826
1826
  on: u.value,
1827
1827
  show: W(c).show,
1828
1828
  hide: W(c).hide
@@ -1831,7 +1831,7 @@ var mn = {
1831
1831
  ref: m,
1832
1832
  type: "button",
1833
1833
  "data-sel-id": r.item.id,
1834
- id: r.panelId && f.value ? W(Ot)(r.panelId, r.item.id) : void 0,
1834
+ id: r.panelId && f.value ? W(kt)(r.panelId, r.item.id) : void 0,
1835
1835
  role: r.strip.kind === "toggle" ? void 0 : r.strip.kind,
1836
1836
  "aria-selected": f.value ? r.on : void 0,
1837
1837
  "aria-controls": r.panelId && f.value && r.on ? r.panelId : void 0,
@@ -1853,7 +1853,7 @@ var mn = {
1853
1853
  key: 1,
1854
1854
  "data-sel-label": "",
1855
1855
  class: N(s.value.labelClass)
1856
- }, U(r.item.label), 3))], 16, ii)]),
1856
+ }, U(r.item.label), 3))], 16, ai)]),
1857
1857
  _: 1
1858
1858
  }, 16, [
1859
1859
  "on",
@@ -1863,16 +1863,16 @@ var mn = {
1863
1863
  key: 0,
1864
1864
  id: W(l),
1865
1865
  hidden: ""
1866
- }, U(s.value.tip), 9, ai)) : w("", !0)], 64)), k(n, { state: W(c) }, null, 8, ["state"])], 64));
1866
+ }, U(s.value.tip), 9, oi)) : w("", !0)], 64)), k(n, { state: W(c) }, null, 8, ["state"])], 64));
1867
1867
  }
1868
- }), si = [
1868
+ }), ci = [
1869
1869
  "role",
1870
1870
  "aria-label",
1871
1871
  "aria-orientation"
1872
- ], ci = {
1872
+ ], li = {
1873
1873
  key: 0,
1874
1874
  class: "glim-sel-list"
1875
- }, li = /* @__PURE__ */ A({
1875
+ }, ui = /* @__PURE__ */ A({
1876
1876
  __name: "Selector",
1877
1877
  props: {
1878
1878
  items: {},
@@ -1918,10 +1918,10 @@ var mn = {
1918
1918
  setup(e, { emit: t }) {
1919
1919
  let n = e, i = t, a = S(() => n.modelValue);
1920
1920
  function o(e) {
1921
- let t = H($e(e));
1922
- return I(zt(e, () => t.value = $e(e))), t;
1921
+ let t = H(et(e));
1922
+ return I(Bt(e, () => t.value = et(e))), t;
1923
1923
  }
1924
- let s = y(() => n.label), c = S(() => n.inline || n.label === void 0 && s.value !== void 0), l = sn(Tt(n.size, n.orientation)), u = o(Ee), d = S(() => kt({
1924
+ let s = y(() => n.label), c = S(() => n.inline || n.label === void 0 && s.value !== void 0), l = cn(Et(n.size, n.orientation)), u = o(Ee), d = S(() => At({
1925
1925
  mode: l.value,
1926
1926
  select: n.select === "many" ? "many" : "one",
1927
1927
  activation: n.activation,
@@ -1963,14 +1963,14 @@ var mn = {
1963
1963
  return;
1964
1964
  }
1965
1965
  let { pinWidth: t, canSqueeze: r, canList: i } = d.value;
1966
- return Qt(e, {
1966
+ return $t(e, {
1967
1967
  pinWidth: t,
1968
1968
  fit: n.fit,
1969
1969
  canSqueeze: r,
1970
1970
  canList: i
1971
1971
  }, (e) => p.value = e);
1972
1972
  });
1973
- let _ = S(() => Et({
1973
+ let _ = S(() => Dt({
1974
1974
  layout: p.value,
1975
1975
  inline: c.value,
1976
1976
  fit: n.fit
@@ -1979,10 +1979,10 @@ var mn = {
1979
1979
  label: e.label,
1980
1980
  glyph: e.glyph,
1981
1981
  disabled: D.value[t]
1982
- }))), te = S(() => a.value === null ? null : String(a.value)), x = S(() => n.select === "many"), E = (e) => x.value ? (a.value ?? []).includes(e) : a.value === e, D = S(() => n.items.map((e) => n.disabled || !!e.disabled)), O = S(() => St(D.value, n.items.findIndex((e) => E(e.id))));
1982
+ }))), te = S(() => a.value === null ? null : String(a.value)), x = S(() => n.select === "many"), E = (e) => x.value ? (a.value ?? []).includes(e) : a.value === e, D = S(() => n.items.map((e) => n.disabled || !!e.disabled)), O = S(() => Ct(D.value, n.items.findIndex((e) => E(e.id))));
1983
1983
  function A(e) {
1984
1984
  i("press", e);
1985
- let t = x.value ? Kt(a.value ?? [], e, n.items.map((e) => e.id)) : e;
1985
+ let t = x.value ? qt(a.value ?? [], e, n.items.map((e) => e.id)) : e;
1986
1986
  t !== a.value && i("update:modelValue", t);
1987
1987
  }
1988
1988
  function ne(e) {
@@ -1996,7 +1996,7 @@ var mn = {
1996
1996
  e.preventDefault(), t.click();
1997
1997
  return;
1998
1998
  }
1999
- let r = xt(f.value, e.key, n.orientation);
1999
+ let r = St(f.value, e.key, n.orientation);
2000
2000
  if (!r) return;
2001
2001
  e.preventDefault();
2002
2002
  let i = n.items.find((e) => String(e.id) === r.dataset.selId);
@@ -2011,7 +2011,7 @@ var mn = {
2011
2011
  class: N([d.value.className, { "glim-sel--listed": v.value }]),
2012
2012
  style: P(_.value.track),
2013
2013
  onKeydown: re
2014
- }, [(L(!0), T(b, null, z(e.items, (t, n) => (L(), C(oi, {
2014
+ }, [(L(!0), T(b, null, z(e.items, (t, n) => (L(), C(si, {
2015
2015
  key: t.id,
2016
2016
  item: t,
2017
2017
  index: n,
@@ -2052,7 +2052,7 @@ var mn = {
2052
2052
  "hue-offset",
2053
2053
  "panel-id",
2054
2054
  "onSelect"
2055
- ]))), 128)), v.value ? (L(), T("div", ci, [k(r, {
2055
+ ]))), 128)), v.value ? (L(), T("div", li, [k(r, {
2056
2056
  "model-value": te.value,
2057
2057
  label: W(s) ?? "",
2058
2058
  "hide-label": "",
@@ -2068,9 +2068,9 @@ var mn = {
2068
2068
  "size",
2069
2069
  "options",
2070
2070
  "disabled"
2071
- ])])) : w("", !0)], 46, si));
2071
+ ])])) : w("", !0)], 46, ci));
2072
2072
  }
2073
- }), ui = { class: "glim-sr-only" }, di = /* @__PURE__ */ A({
2073
+ }), di = { class: "glim-sr-only" }, fi = /* @__PURE__ */ A({
2074
2074
  inheritAttrs: !1,
2075
2075
  __name: "SidebarRowLink",
2076
2076
  props: {
@@ -2105,7 +2105,7 @@ var mn = {
2105
2105
  t.view.countClass && t.count ? (L(), T(b, { key: 1 }, [E("span", {
2106
2106
  class: N(t.view.countClass),
2107
2107
  "aria-hidden": "true"
2108
- }, U(t.count.value), 3), E("span", ui, U(t.count.label), 1)], 64)) : w("", !0)
2108
+ }, U(t.count.value), 3), E("span", di, U(t.count.label), 1)], 64)) : w("", !0)
2109
2109
  ]),
2110
2110
  _: 1
2111
2111
  }, 16, [
@@ -2120,13 +2120,13 @@ var mn = {
2120
2120
  "onBlur"
2121
2121
  ])), k(n, { state: W(i) }, null, 8, ["state"])], 64));
2122
2122
  }
2123
- }), fi = {
2123
+ }), pi = {
2124
2124
  key: 0,
2125
2125
  class: "glim-nav-row-slot"
2126
- }, pi = {
2126
+ }, mi = {
2127
2127
  key: 1,
2128
2128
  class: "glim-nav-row-slot"
2129
- }, mi = /* @__PURE__ */ A({
2129
+ }, hi = /* @__PURE__ */ A({
2130
2130
  inheritAttrs: !1,
2131
2131
  __name: "SidebarRow",
2132
2132
  props: {
@@ -2142,7 +2142,7 @@ var mn = {
2142
2142
  depth: {}
2143
2143
  },
2144
2144
  setup(e) {
2145
- let t = e, n = sn("sidebar"), r = de(), i = S(() => Nt({
2145
+ let t = e, n = cn("sidebar"), r = de(), i = S(() => Pt({
2146
2146
  mode: n.value,
2147
2147
  label: t.label,
2148
2148
  hasGlyph: !!t.glyph,
@@ -2168,15 +2168,15 @@ var mn = {
2168
2168
  ]),
2169
2169
  style: P([i.value.style, e.$attrs.style])
2170
2170
  }, [
2171
- e.$slots.before ? (L(), T("span", fi, [B(e.$slots, "before")])) : w("", !0),
2172
- k(di, M({
2171
+ e.$slots.before ? (L(), T("span", pi, [B(e.$slots, "before")])) : w("", !0),
2172
+ k(fi, M({
2173
2173
  ...e.$attrs,
2174
2174
  ...a.value,
2175
2175
  class: void 0,
2176
2176
  style: void 0
2177
2177
  }, { "class-name": "glim-nav-row-main" }), null, 16),
2178
- e.$slots.after ? (L(), T("span", pi, [B(e.$slots, "after")])) : w("", !0)
2179
- ], 6)) : (L(), C(di, M({ key: 1 }, {
2178
+ e.$slots.after ? (L(), T("span", mi, [B(e.$slots, "after")])) : w("", !0)
2179
+ ], 6)) : (L(), C(fi, M({ key: 1 }, {
2180
2180
  ...e.$attrs,
2181
2181
  ...a.value,
2182
2182
  class: void 0
@@ -2190,7 +2190,7 @@ var mn = {
2190
2190
  "style"
2191
2191
  ]));
2192
2192
  }
2193
- }), hi = { class: "glim-signin-field" }, gi = ["for"], _i = /* @__PURE__ */ A({
2193
+ }), gi = { class: "glim-signin-field" }, _i = ["for"], vi = /* @__PURE__ */ A({
2194
2194
  __name: "SignInField",
2195
2195
  props: {
2196
2196
  label: {},
@@ -2198,15 +2198,18 @@ var mn = {
2198
2198
  hint: {}
2199
2199
  },
2200
2200
  setup(e) {
2201
- return (t, n) => (L(), T("div", hi, [E("label", {
2201
+ let t = e, n = R(!1), r = (e) => {
2202
+ n.value = Ze(document.getElementById(t.for), t.label, t.hint, e);
2203
+ };
2204
+ return F(() => r()), K(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (L(), T("div", gi, [E("label", {
2202
2205
  for: t.$props.for,
2203
- class: "glim-signin-label"
2206
+ class: N(n.value ? "glim-sr-only" : "glim-signin-label")
2204
2207
  }, [O(U(e.label), 1), e.hint ? (L(), C(Q, {
2205
2208
  key: 0,
2206
2209
  tip: e.hint
2207
- }, null, 8, ["tip"])) : w("", !0)], 8, gi), B(t.$slots, "default")]));
2210
+ }, null, 8, ["tip"])) : w("", !0)], 10, _i), B(t.$slots, "default")]));
2208
2211
  }
2209
- }), vi = ["aria-label"], yi = /* @__PURE__ */ A({
2212
+ }), yi = ["aria-label"], bi = /* @__PURE__ */ A({
2210
2213
  __name: "TextField",
2211
2214
  props: /*@__PURE__*/ j({
2212
2215
  label: {},
@@ -2218,7 +2221,7 @@ var mn = {
2218
2221
  }),
2219
2222
  emits: ["update:modelValue"],
2220
2223
  setup(e, { expose: t }) {
2221
- let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Wt({
2224
+ let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Gt({
2222
2225
  width: n.width,
2223
2226
  mono: n.mono
2224
2227
  })), o = H(null);
@@ -2229,25 +2232,25 @@ var mn = {
2229
2232
  type: "text",
2230
2233
  "aria-label": W(i),
2231
2234
  class: N(a.value)
2232
- }, null, 10, vi)), [[pe, r.value]]);
2235
+ }, null, 10, yi)), [[pe, r.value]]);
2233
2236
  }
2234
- }), bi = { class: "glim-signin" }, xi = { class: "glim-signin-head" }, Si = {
2237
+ }), xi = { class: "glim-signin" }, Si = { class: "glim-signin-head" }, Ci = {
2235
2238
  key: 0,
2236
2239
  class: "glim-signin-logo",
2237
2240
  "aria-hidden": "true"
2238
- }, Ci = ["src"], wi = { class: "glim-signin-name" }, Ti = {
2241
+ }, wi = ["src"], Ti = { class: "glim-signin-name" }, Ei = {
2239
2242
  key: 0,
2240
2243
  class: "glim-signin-error",
2241
2244
  role: "alert"
2242
- }, Ei = {
2245
+ }, Di = {
2243
2246
  key: 0,
2244
2247
  class: "glim-signin-note",
2245
2248
  role: "status"
2246
- }, Di = { class: "glim-signin-hint" }, Oi = {
2249
+ }, Oi = { class: "glim-signin-hint" }, ki = {
2247
2250
  key: 3,
2248
2251
  class: "glim-signin-error",
2249
2252
  role: "alert"
2250
- }, ki = /* @__PURE__ */ A({
2253
+ }, Ai = /* @__PURE__ */ A({
2251
2254
  __name: "SignInCard",
2252
2255
  props: {
2253
2256
  logo: {},
@@ -2289,32 +2292,32 @@ var mn = {
2289
2292
  hide: t.text.hide
2290
2293
  })), u = H(null), d = "";
2291
2294
  function f() {
2292
- let e = n.step ? "step" : Ft(i.value);
2295
+ let e = n.step ? "step" : It(i.value);
2293
2296
  e !== d && ((d || t.autoFocus) && He(u.value), d = e);
2294
2297
  }
2295
2298
  return F(f), oe(f), K(() => i.value.refusal?.count, (e, t, n) => {
2296
2299
  let r = i.value.refusal;
2297
- r && n(Mt(u.value, r));
2298
- }, { flush: "post" }), (t, n) => (L(), T("div", bi, [E("div", {
2300
+ r && n(Nt(u.value, r));
2301
+ }, { flush: "post" }), (t, n) => (L(), T("div", xi, [E("div", {
2299
2302
  ref_key: "card",
2300
2303
  ref: u,
2301
2304
  class: "glim-card glim-signin-card"
2302
- }, [E("div", xi, [e.logo || t.$slots.logo ? (L(), T("span", Si, [B(t.$slots, "logo", {}, () => [E("img", {
2305
+ }, [E("div", Si, [e.logo || t.$slots.logo ? (L(), T("span", Ci, [B(t.$slots, "logo", {}, () => [E("img", {
2303
2306
  src: e.logo,
2304
2307
  alt: "",
2305
2308
  draggable: "false"
2306
- }, null, 8, Ci)])])) : w("", !0), E("h1", wi, U(e.appName), 1)]), t.$slots.step ? B(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (L(), T("form", {
2309
+ }, null, 8, wi)])])) : w("", !0), E("h1", Ti, U(e.appName), 1)]), t.$slots.step ? B(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (L(), T("form", {
2307
2310
  key: 1,
2308
2311
  class: "glim-signin-form",
2309
2312
  novalidate: "",
2310
2313
  onSubmit: n[4] ||= Y((e) => W(r).submit(), ["prevent"])
2311
2314
  }, [
2312
- k(_i, {
2315
+ k(vi, {
2313
2316
  label: e.text.resetCode,
2314
2317
  for: s("reset-code"),
2315
2318
  hint: e.text.resetCodeTip
2316
2319
  }, {
2317
- default: q(() => [k(yi, {
2320
+ default: q(() => [k(bi, {
2318
2321
  id: s("reset-code"),
2319
2322
  "data-signin-field": "resetCode",
2320
2323
  class: "glim-signin-log-code",
@@ -2331,11 +2334,11 @@ var mn = {
2331
2334
  "for",
2332
2335
  "hint"
2333
2336
  ]),
2334
- k(_i, {
2337
+ k(vi, {
2335
2338
  label: e.text.newPassword,
2336
2339
  for: s("new")
2337
2340
  }, {
2338
- default: q(() => [k(Zr, {
2341
+ default: q(() => [k(Qr, {
2339
2342
  id: s("new"),
2340
2343
  "data-signin-field": "newPassword",
2341
2344
  "model-value": i.value.newPassword,
@@ -2349,11 +2352,11 @@ var mn = {
2349
2352
  ])]),
2350
2353
  _: 1
2351
2354
  }, 8, ["label", "for"]),
2352
- k(_i, {
2355
+ k(vi, {
2353
2356
  label: e.text.confirmPassword,
2354
2357
  for: s("confirm")
2355
2358
  }, {
2356
- default: q(() => [k(Zr, {
2359
+ default: q(() => [k(Qr, {
2357
2360
  id: s("confirm"),
2358
2361
  "data-signin-field": "confirm",
2359
2362
  "model-value": i.value.confirm,
@@ -2367,14 +2370,14 @@ var mn = {
2367
2370
  ])]),
2368
2371
  _: 1
2369
2372
  }, 8, ["label", "for"]),
2370
- i.value.error ? (L(), T("p", Ti, U(i.value.error), 1)) : w("", !0),
2373
+ i.value.error ? (L(), T("p", Ei, U(i.value.error), 1)) : w("", !0),
2371
2374
  k(Z, {
2372
2375
  label: e.text.setPassword,
2373
2376
  "label-key": c.value.setPassword,
2374
2377
  tone: "accent",
2375
2378
  type: "submit",
2376
2379
  "data-signin": "set-password",
2377
- disabled: W(yt)(i.value),
2380
+ disabled: W(bt)(i.value),
2378
2381
  busy: i.value.busy === "setPassword",
2379
2382
  title: i.value.busy === "setPassword" ? e.text.saving : void 0
2380
2383
  }, null, 8, [
@@ -2402,13 +2405,13 @@ var mn = {
2402
2405
  novalidate: "",
2403
2406
  onSubmit: n[10] ||= Y((e) => W(r).submit(), ["prevent"])
2404
2407
  }, [
2405
- e.note ? (L(), T("p", Ei, U(e.note), 1)) : w("", !0),
2408
+ e.note ? (L(), T("p", Di, U(e.note), 1)) : w("", !0),
2406
2409
  i.value.viaPasskey ? w("", !0) : B(t.$slots, "fields", {}, void 0, void 0, 1),
2407
- J(k(_i, {
2410
+ J(k(vi, {
2408
2411
  label: e.text.password,
2409
2412
  for: s("password")
2410
2413
  }, {
2411
- default: q(() => [k(Zr, {
2414
+ default: q(() => [k(Qr, {
2412
2415
  id: s("password"),
2413
2416
  "data-signin-field": "password",
2414
2417
  "model-value": i.value.password,
@@ -2422,12 +2425,12 @@ var mn = {
2422
2425
  ])]),
2423
2426
  _: 1
2424
2427
  }, 8, ["label", "for"]), [[me, !i.value.viaPasskey]]),
2425
- i.value.needCode ? (L(), C(_i, {
2428
+ i.value.needCode ? (L(), C(vi, {
2426
2429
  key: 2,
2427
2430
  label: e.text.code,
2428
2431
  for: s("code")
2429
2432
  }, {
2430
- default: q(() => [k(yi, {
2433
+ default: q(() => [k(bi, {
2431
2434
  id: s("code"),
2432
2435
  "data-signin-field": "code",
2433
2436
  class: "glim-signin-code",
@@ -2437,17 +2440,17 @@ var mn = {
2437
2440
  spellcheck: "false",
2438
2441
  placeholder: "000000",
2439
2442
  "onUpdate:modelValue": n[6] ||= (e) => W(r).set("code", e)
2440
- }, null, 8, ["id", "model-value"]), E("p", Di, U(e.text.codeHint), 1)]),
2443
+ }, null, 8, ["id", "model-value"]), E("p", Oi, U(e.text.codeHint), 1)]),
2441
2444
  _: 1
2442
2445
  }, 8, ["label", "for"])) : w("", !0),
2443
- i.value.error ? (L(), T("p", Oi, U(i.value.error), 1)) : w("", !0),
2446
+ i.value.error ? (L(), T("p", ki, U(i.value.error), 1)) : w("", !0),
2444
2447
  k(Z, {
2445
2448
  label: e.text.signIn,
2446
2449
  "label-key": c.value.signIn,
2447
2450
  tone: "accent",
2448
2451
  type: "submit",
2449
2452
  "data-signin": "submit",
2450
- disabled: W(Pt)(i.value),
2453
+ disabled: W(Ft)(i.value),
2451
2454
  busy: i.value.busy === "signIn",
2452
2455
  title: i.value.busy === "signIn" ? e.text.signingIn : void 0
2453
2456
  }, null, 8, [
@@ -2501,10 +2504,10 @@ var mn = {
2501
2504
  ])) : w("", !0)
2502
2505
  ], 32))], 512)]));
2503
2506
  }
2504
- }), Ai = ["aria-labelledby"], ji = {
2507
+ }), ji = ["aria-labelledby"], Mi = {
2505
2508
  key: 0,
2506
2509
  class: "glim-subcard-title"
2507
- }, Mi = ["id"], Ni = /* @__PURE__ */ A({
2510
+ }, Ni = ["id"], Pi = /* @__PURE__ */ A({
2508
2511
  __name: "SubCard",
2509
2512
  props: {
2510
2513
  title: {},
@@ -2515,12 +2518,12 @@ var mn = {
2515
2518
  return (n, r) => (L(), T("section", {
2516
2519
  class: "glim-subcard",
2517
2520
  "aria-labelledby": e.title ? W(t) : void 0
2518
- }, [e.title ? (L(), T("h3", ji, [E("span", { id: W(t) }, U(e.title), 9, Mi), e.hint ? (L(), C(Q, {
2521
+ }, [e.title ? (L(), T("h3", Mi, [E("span", { id: W(t) }, U(e.title), 9, Ni), e.hint ? (L(), C(Q, {
2519
2522
  key: 0,
2520
2523
  tip: e.hint
2521
- }, null, 8, ["tip"])) : w("", !0)])) : w("", !0), B(n.$slots, "default")], 8, Ai));
2524
+ }, null, 8, ["tip"])) : w("", !0)])) : w("", !0), B(n.$slots, "default")], 8, ji));
2522
2525
  }
2523
- }), Pi = ["aria-label"], Fi = { key: 0 }, Ii = { key: 0 }, Li = ["colspan"], Ri = /* @__PURE__ */ A({
2526
+ }), Fi = ["aria-label"], Ii = { key: 0 }, Li = { key: 0 }, Ri = ["colspan"], zi = /* @__PURE__ */ A({
2524
2527
  __name: "Table",
2525
2528
  props: {
2526
2529
  label: {},
@@ -2533,23 +2536,23 @@ var mn = {
2533
2536
  return (t, i) => (L(), T("table", {
2534
2537
  class: "glim-table",
2535
2538
  "aria-label": e.label
2536
- }, [n.value ? (L(), T("thead", Fi, [E("tr", null, [(L(!0), T(b, null, z(e.columns, (e) => (L(), T("th", {
2539
+ }, [n.value ? (L(), T("thead", Ii, [E("tr", null, [(L(!0), T(b, null, z(e.columns, (e) => (L(), T("th", {
2537
2540
  key: e.key,
2538
2541
  scope: "col",
2539
2542
  class: N({ "glim-table-end": e.end })
2540
2543
  }, U(e.label), 3))), 128))])])) : w("", !0), E("tbody", null, [(L(!0), T(b, null, z(e.rows, (n, i) => (L(), T("tr", { key: i }, [(L(!0), T(b, null, z(e.columns, (e) => (L(), T("td", {
2541
2544
  key: e.key,
2542
- class: N(W(Ht)(e))
2545
+ class: N(W(Ut)(e))
2543
2546
  }, [B(t.$slots, "cell", {
2544
2547
  row: n,
2545
2548
  column: e,
2546
2549
  value: r(n, e)
2547
- }, () => [O(U(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (L(), T("tr", Ii, [E("td", {
2550
+ }, () => [O(U(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (L(), T("tr", Li, [E("td", {
2548
2551
  colspan: e.columns.length,
2549
2552
  class: "glim-table-muted"
2550
- }, U(e.more), 9, Li)])) : w("", !0)])], 8, Pi));
2553
+ }, U(e.more), 9, Ri)])) : w("", !0)])], 8, Fi));
2551
2554
  }
2552
- }), zi = ["aria-label"], Bi = /* @__PURE__ */ A({
2555
+ }), Bi = ["aria-label"], Vi = /* @__PURE__ */ A({
2553
2556
  __name: "TextArea",
2554
2557
  props: /*@__PURE__*/ j({
2555
2558
  label: {},
@@ -2561,7 +2564,7 @@ var mn = {
2561
2564
  }),
2562
2565
  emits: ["update:modelValue"],
2563
2566
  setup(e, { expose: t }) {
2564
- let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Wt({
2567
+ let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Gt({
2565
2568
  width: n.width,
2566
2569
  mono: n.mono,
2567
2570
  area: !0
@@ -2572,16 +2575,16 @@ var mn = {
2572
2575
  "onUpdate:modelValue": t[0] ||= (e) => r.value = e,
2573
2576
  "aria-label": W(i),
2574
2577
  class: N(a.value)
2575
- }, null, 10, zi)), [[pe, r.value]]);
2578
+ }, null, 10, Bi)), [[pe, r.value]]);
2576
2579
  }
2577
- }), Vi = { class: "glim-toast-stack" }, Hi = [
2580
+ }), Hi = { class: "glim-toast-stack" }, Ui = [
2578
2581
  "role",
2579
2582
  "onMouseenter",
2580
2583
  "onMouseleave",
2581
2584
  "onFocusin",
2582
2585
  "onFocusout",
2583
2586
  "onKeydown"
2584
- ], Ui = { class: "glim-toast-body" }, Wi = { class: "glim-toast-message" }, Gi = { key: 0 }, Ki = ["aria-label", "onClick"], qi = /* @__PURE__ */ A({
2587
+ ], Wi = { class: "glim-toast-body" }, Gi = { class: "glim-toast-message" }, Ki = { key: 0 }, qi = ["aria-label", "onClick"], Ji = /* @__PURE__ */ A({
2585
2588
  __name: "ToastViewport",
2586
2589
  props: {
2587
2590
  toasts: {},
@@ -2599,7 +2602,7 @@ var mn = {
2599
2602
  function i(e, t) {
2600
2603
  t.onClick(), n("dismiss", e);
2601
2604
  }
2602
- return (t, a) => (L(), T("div", Vi, [(L(!0), T(b, null, z(e.toasts, (t) => (L(), T("div", {
2605
+ return (t, a) => (L(), T("div", Hi, [(L(!0), T(b, null, z(e.toasts, (t) => (L(), T("div", {
2603
2606
  key: t.id,
2604
2607
  role: r(t.severity),
2605
2608
  class: "glim-toast glim-toast-card",
@@ -2613,7 +2616,7 @@ var mn = {
2613
2616
  mark: W(Te)[t.severity],
2614
2617
  class: N(`glim-toast-glyph glim-toast-glyph--${t.severity}`)
2615
2618
  }, null, 8, ["mark", "class"]),
2616
- E("div", Ui, [E("p", Wi, [(L(!0), T(b, null, z(W(It)(t.message), (e, t) => (L(), T(b, { key: t }, [t > 0 ? (L(), T("wbr", Gi)) : w("", !0), O(U(e), 1)], 64))), 128))]), t.action ? (L(), C(Z, {
2619
+ E("div", Wi, [E("p", Gi, [(L(!0), T(b, null, z(W(Lt)(t.message), (e, t) => (L(), T(b, { key: t }, [t > 0 ? (L(), T("wbr", Ki)) : w("", !0), O(U(e), 1)], 64))), 128))]), t.action ? (L(), C(Z, {
2617
2620
  key: 0,
2618
2621
  class: "glim-toast-action",
2619
2622
  tone: "subtle",
@@ -2626,19 +2629,19 @@ var mn = {
2626
2629
  "aria-label": e.dismissLabel,
2627
2630
  class: "glim-btn-bare glim-toast-dismiss",
2628
2631
  onClick: (e) => n("dismiss", t.id)
2629
- }, [k(W(m), { mark: W(Ce).dismiss }, null, 8, ["mark"])], 8, Ki)
2630
- ], 40, Hi))), 128))]));
2632
+ }, [k(W(m), { mark: W(Ce).dismiss }, null, 8, ["mark"])], 8, qi)
2633
+ ], 40, Ui))), 128))]));
2631
2634
  }
2632
- }), Ji = {
2635
+ }), Yi = {
2633
2636
  key: 0,
2634
2637
  class: "glim-toggle-label"
2635
- }, Yi = [
2638
+ }, Xi = [
2636
2639
  "aria-checked",
2637
2640
  "aria-label",
2638
2641
  "aria-disabled",
2639
2642
  "aria-describedby",
2640
2643
  "disabled"
2641
- ], Xi = ["id"], Zi = /* @__PURE__ */ A({
2644
+ ], Zi = ["id"], Qi = /* @__PURE__ */ A({
2642
2645
  inheritAttrs: !1,
2643
2646
  __name: "Toggle",
2644
2647
  props: /*@__PURE__*/ j({
@@ -2664,7 +2667,7 @@ var mn = {
2664
2667
  let r = t, i = G(t, "modelValue"), a = y(() => r.label), o = S(() => r.label !== void 0 && !r.hideLabel), s = e(() => r.refused), c = ue(), l = H(null), u;
2665
2668
  I(() => u?.());
2666
2669
  function d() {
2667
- r.refused ? (u?.(), u = jt(l.value)) : i.value = !i.value;
2670
+ r.refused ? (u?.(), u = Mt(l.value)) : i.value = !i.value;
2668
2671
  }
2669
2672
  return (e, r) => (L(), T(b, null, [
2670
2673
  E("span", {
@@ -2672,7 +2675,7 @@ var mn = {
2672
2675
  ref: l,
2673
2676
  class: N(["glim-toggle", e.$attrs.class]),
2674
2677
  style: P(e.$attrs.style)
2675
- }, [o.value ? (L(), T("span", Ji, U(t.label), 1)) : w("", !0), E("button", M({
2678
+ }, [o.value ? (L(), T("span", Yi, U(t.label), 1)) : w("", !0), E("button", M({
2676
2679
  ...e.$attrs,
2677
2680
  class: void 0,
2678
2681
  style: void 0
@@ -2691,16 +2694,16 @@ var mn = {
2691
2694
  onMouseleave: r[1] ||= (...e) => W(s).hide && W(s).hide(...e),
2692
2695
  onFocus: r[2] ||= (...e) => W(s).showOnFocus && W(s).showOnFocus(...e),
2693
2696
  onBlur: r[3] ||= (...e) => W(s).hide && W(s).hide(...e)
2694
- }), [...r[4] ||= [E("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Yi)], 6),
2697
+ }), [...r[4] ||= [E("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Xi)], 6),
2695
2698
  t.refused ? (L(), T("span", {
2696
2699
  key: 0,
2697
2700
  id: W(c),
2698
2701
  class: "glim-toggle-refusal"
2699
- }, U(t.refused), 9, Xi)) : w("", !0),
2702
+ }, U(t.refused), 9, Zi)) : w("", !0),
2700
2703
  k(n, { state: W(s) }, null, 8, ["state"])
2701
2704
  ], 64));
2702
2705
  }
2703
- }), Qi = ["aria-label"], $i = [
2706
+ }), $i = ["aria-label"], ea = [
2704
2707
  "aria-level",
2705
2708
  "aria-posinset",
2706
2709
  "aria-setsize",
@@ -2711,11 +2714,11 @@ var mn = {
2711
2714
  "onClick",
2712
2715
  "onDblclick",
2713
2716
  "onKeydown"
2714
- ], ea = ["onClick"], ta = {
2717
+ ], ta = ["onClick"], na = {
2715
2718
  key: 0,
2716
2719
  class: "glim-tree-glyph",
2717
2720
  "aria-hidden": "true"
2718
- }, na = { class: "glim-tree-label" }, ra = /* @__PURE__ */ A({
2721
+ }, ra = { class: "glim-tree-label" }, ia = /* @__PURE__ */ A({
2719
2722
  __name: "Tree",
2720
2723
  props: /*@__PURE__*/ j({
2721
2724
  label: {},
@@ -2733,7 +2736,7 @@ var mn = {
2733
2736
  c.has(e) || (c.add(e), Promise.resolve(n.load(e)).then((t) => s.set(e, t), () => c.delete(e)));
2734
2737
  }
2735
2738
  K(a, (e) => [null, ...e].forEach(u), { immediate: !0 });
2736
- let d = S(() => Jt(s, a.value)), f = S(() => Math.max(d.value.findIndex((e) => e.node.id === r.value), 0));
2739
+ let d = S(() => Yt(s, a.value)), f = S(() => Math.max(d.value.findIndex((e) => e.node.id === r.value), 0));
2737
2740
  function p(e) {
2738
2741
  a.value = a.value.includes(e) ? a.value.filter((t) => t !== e) : [...a.value, e];
2739
2742
  }
@@ -2744,7 +2747,7 @@ var mn = {
2744
2747
  e.preventDefault(), r.value = n, e.key === "Enter" && o("activate", n);
2745
2748
  return;
2746
2749
  }
2747
- let i = Yt(d.value, t, e.key, getComputedStyle(l.value).direction === "rtl");
2750
+ let i = Xt(d.value, t, e.key, getComputedStyle(l.value).direction === "rtl");
2748
2751
  i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, Ge(l.value, i.focus)) : p("open" in i ? i.open : i.close));
2749
2752
  }
2750
2753
  return (t, n) => (L(), T("div", {
@@ -2774,31 +2777,31 @@ var mn = {
2774
2777
  "aria-hidden": "true",
2775
2778
  onClick: Y((t) => e.node.hasChildren && p(e.node.id), ["stop"]),
2776
2779
  onDblclick: n[0] ||= Y(() => {}, ["stop"])
2777
- }, [e.node.hasChildren ? (L(), C(W(i), { key: 0 })) : w("", !0)], 40, ea),
2778
- e.node.glyph ? (L(), T("span", ta, [(L(), C(V(e.open && e.node.openGlyph || e.node.glyph)))])) : w("", !0),
2779
- E("span", na, U(e.node.label), 1)
2780
- ], 16, $i))), 128))], 8, Qi));
2780
+ }, [e.node.hasChildren ? (L(), C(W(i), { key: 0 })) : w("", !0)], 40, ta),
2781
+ e.node.glyph ? (L(), T("span", na, [(L(), C(V(e.open && e.node.openGlyph || e.node.glyph)))])) : w("", !0),
2782
+ E("span", ra, U(e.node.label), 1)
2783
+ ], 16, ea))), 128))], 8, $i));
2781
2784
  }
2782
- }), ia = { class: "glim-notice" }, aa = { class: "glim-notice-title" }, oa = { class: "glim-notice-reason" }, sa = {
2785
+ }), aa = { class: "glim-notice" }, oa = { class: "glim-notice-title" }, sa = { class: "glim-notice-reason" }, ca = {
2783
2786
  key: 0,
2784
2787
  class: "glim-notice-action"
2785
- }, ca = /* @__PURE__ */ A({
2788
+ }, la = /* @__PURE__ */ A({
2786
2789
  __name: "UnavailableNotice",
2787
2790
  props: { title: {} },
2788
2791
  setup(e) {
2789
- return (t, n) => (L(), T("div", ia, [
2790
- E("p", aa, U(e.title), 1),
2791
- E("p", oa, [B(t.$slots, "default")]),
2792
- t.$slots.action ? (L(), T("div", sa, [B(t.$slots, "action")])) : w("", !0)
2792
+ return (t, n) => (L(), T("div", aa, [
2793
+ E("p", oa, U(e.title), 1),
2794
+ E("p", sa, [B(t.$slots, "default")]),
2795
+ t.$slots.action ? (L(), T("div", ca, [B(t.$slots, "action")])) : w("", !0)
2793
2796
  ]));
2794
2797
  }
2795
- }), la = ["aria-labelledby", "aria-label"], ua = ["id"], da = { class: "glim-modal-body glim-window-body" }, fa = {
2798
+ }), ua = ["aria-labelledby", "aria-label"], da = ["id"], fa = { class: "glim-modal-body glim-window-body" }, pa = {
2796
2799
  key: 0,
2797
2800
  class: "glim-modal-foot"
2798
- }, pa = {
2801
+ }, ma = {
2799
2802
  key: 0,
2800
2803
  class: "glim-window-start"
2801
- }, ma = /* @__PURE__ */ A({
2804
+ }, ha = /* @__PURE__ */ A({
2802
2805
  inheritAttrs: !1,
2803
2806
  __name: "Window",
2804
2807
  props: {
@@ -2810,7 +2813,7 @@ var mn = {
2810
2813
  },
2811
2814
  emits: ["close"],
2812
2815
  setup(e, { expose: t, emit: n }) {
2813
- let r = e, i = n, a = de(), o = H(null), s = ue(), c = Ke(), l = S(() => r.start !== void 0 || !!a.start), u = S(() => en(r.actions, l.value, {
2816
+ let r = e, i = n, a = de(), o = H(null), s = ue(), c = Ke(), l = S(() => r.start !== void 0 || !!a.start), u = S(() => tn(r.actions, l.value, {
2814
2817
  cancel: {
2815
2818
  label: r.text.cancel,
2816
2819
  labelKey: "common.cancel",
@@ -2825,15 +2828,15 @@ var mn = {
2825
2828
  }
2826
2829
  })), d;
2827
2830
  F(() => {
2828
- d = Lt(() => o.value, () => i("close")), o.value && $t(o.value)?.focus();
2831
+ d = Rt(() => o.value, () => i("close")), o.value && en(o.value)?.focus();
2829
2832
  }), ae(() => {
2830
- d?.(), bt(c);
2833
+ d?.(), xt(c);
2831
2834
  }), t({ card: o });
2832
2835
  function f(e) {
2833
2836
  e.onClick?.() !== !1 && i("close");
2834
2837
  }
2835
2838
  function p() {
2836
- et() || i("close");
2839
+ tt() || i("close");
2837
2840
  }
2838
2841
  return (t, n) => (L(), C(x, { to: "body" }, [E("div", {
2839
2842
  class: "glim-modal-backdrop",
@@ -2854,7 +2857,7 @@ var mn = {
2854
2857
  E("h2", {
2855
2858
  id: W(s),
2856
2859
  class: "glim-window-title"
2857
- }, [k(rn, {
2860
+ }, [k(an, {
2858
2861
  tone: "heading",
2859
2862
  size: "heading",
2860
2863
  wrap: "",
@@ -2862,9 +2865,9 @@ var mn = {
2862
2865
  }, {
2863
2866
  default: q(() => [B(t.$slots, "title", {}, () => [O(U(e.title), 1)])]),
2864
2867
  _: 3
2865
- })], 8, ua),
2866
- E("div", da, [B(t.$slots, "default")]),
2867
- u.value.length ? (L(), T("div", fa, [l.value ? (L(), T("span", pa, [B(t.$slots, "start", {}, () => [O(U(e.start), 1)])])) : w("", !0), (L(!0), T(b, null, z(u.value, (e, t) => (L(), C(Z, M({ ref_for: !0 }, e.attrs, {
2868
+ })], 8, da),
2869
+ E("div", fa, [B(t.$slots, "default")]),
2870
+ u.value.length ? (L(), T("div", pa, [l.value ? (L(), T("span", ma, [B(t.$slots, "start", {}, () => [O(U(e.start), 1)])])) : w("", !0), (L(!0), T(b, null, z(u.value, (e, t) => (L(), C(Z, M({ ref_for: !0 }, e.attrs, {
2868
2871
  key: t,
2869
2872
  label: e.label,
2870
2873
  "label-key": e.labelKey,
@@ -2880,11 +2883,11 @@ var mn = {
2880
2883
  "disabled",
2881
2884
  "onClick"
2882
2885
  ]))), 128))])) : w("", !0)
2883
- ], 16, la)], 32)]));
2886
+ ], 16, ua)], 32)]));
2884
2887
  }
2885
2888
  });
2886
2889
  // src/confirm.ts
2887
- function ha(e) {
2890
+ function ga(e) {
2888
2891
  let t = H(null), n = H(null), r = null, i = null;
2889
2892
  function a(e, n) {
2890
2893
  return i = Ke(), new Promise((i) => {
@@ -2895,17 +2898,17 @@ function ha(e) {
2895
2898
  });
2896
2899
  }
2897
2900
  function o(e) {
2898
- r?.(e), r = null, t.value = null, bt(i), i = null;
2901
+ r?.(e), r = null, t.value = null, xt(i), i = null;
2899
2902
  }
2900
2903
  let s = () => o(!1);
2901
2904
  return K(t, (e, t, r) => {
2902
- e && r(qt(() => n.value, s));
2905
+ e && r(Jt(() => n.value, s));
2903
2906
  }), {
2904
2907
  confirm: a,
2905
2908
  dismiss: s,
2906
2909
  ConfirmHost: A(() => () => {
2907
2910
  let r = t.value;
2908
- return r ? ne(x, { to: "body" }, [ne(Pn, {
2911
+ return r ? ne(x, { to: "body" }, [ne(Fn, {
2909
2912
  ref: (e) => n.value = e?.card ?? null,
2910
2913
  title: e.title,
2911
2914
  message: r.message,
@@ -2920,8 +2923,8 @@ function ha(e) {
2920
2923
  };
2921
2924
  }
2922
2925
  // src/dragArmed.ts
2923
- function ga(e, t) {
2926
+ function _a(e, t) {
2924
2927
  let n = () => e.value?.classList.toggle("glim-drag-armed", t());
2925
2928
  he(n, { flush: "post" }), oe(n);
2926
2929
  }
2927
- export { rn as Badge, on as BrandMark, Z as Button, vn as Card, Sn as Checkbox, Dn as ColorPicker, Pn as ConfirmDialog, Yn as ContextMenu, Qn as CopyField, nr as EmptyState, or as FieldRow, sr as FieldRowGroup, Se as GLIMSTONE_VERSION, ur as GlyphField, dr as GlyphTile, pr as IconButton, _ as IconCancel, f as IconCheck, h as IconClose, l as IconCopy, i as IconExpand, p as IconEye, g as IconEyeOff, a as IconFolderOpen, u as IconPencil, tn as IconTipButton, v as IconWindowMaximise, o as IconWindowMinimise, s as IconWindowRestore, Cr as InfoAboutCard, Q as InfoBubble, Er as InfoHelpCard, Ir as InfoTile, Fr as InfoVersionCard, In as Kbd, Vr as ListRow, m as MarkSvg, Wr as MenuBar, Kr as Meter, Yr as NumberField, Zr as PasswordField, $r as PathField, rr as Pill, ti as ProgressBar, $ as ReadmeButton, ni as RowMark, li as Selector, mi as SidebarRow, ki as SignInCard, _i as SignInField, Ni as SubCard, Ri as Table, Bi as TextArea, yi as TextField, qi as ToastViewport, Zi as Toggle, ra as Tree, ca as UnavailableNotice, ma as Window, d as glyphFor, Dt as selectorTabId, c as setGlyphResolver, pn as useAccent, ha as useConfirm, ga as useDragArmed, y as useFieldName, ln as useHue, sn as useLabelMode, fn as useMotion, cn as useRainbow, dn as useShape, e as useTipBubble };
2930
+ export { an as Badge, sn as BrandMark, Z as Button, yn as Card, Cn as Checkbox, On as ColorPicker, Fn as ConfirmDialog, Xn as ContextMenu, $n as CopyField, rr as EmptyState, sr as FieldRow, cr as FieldRowGroup, Se as GLIMSTONE_VERSION, dr as GlyphField, fr as GlyphTile, mr as IconButton, _ as IconCancel, f as IconCheck, h as IconClose, l as IconCopy, i as IconExpand, p as IconEye, g as IconEyeOff, a as IconFolderOpen, u as IconPencil, nn as IconTipButton, v as IconWindowMaximise, o as IconWindowMinimise, s as IconWindowRestore, wr as InfoAboutCard, Q as InfoBubble, Dr as InfoHelpCard, Lr as InfoTile, Ir as InfoVersionCard, Ln as Kbd, Hr as ListRow, m as MarkSvg, Gr as MenuBar, qr as Meter, Xr as NumberField, Qr as PasswordField, ei as PathField, ir as Pill, ni as ProgressBar, $ as ReadmeButton, ri as RowMark, ui as Selector, hi as SidebarRow, Ai as SignInCard, vi as SignInField, Pi as SubCard, zi as Table, Vi as TextArea, bi as TextField, Ji as ToastViewport, Qi as Toggle, ia as Tree, la as UnavailableNotice, ha as Window, d as glyphFor, Ot as selectorTabId, c as setGlyphResolver, mn as useAccent, ga as useConfirm, _a as useDragArmed, y as useFieldName, un as useHue, cn as useLabelMode, pn as useMotion, ln as useRainbow, fn as useShape, e as useTipBubble };