@glimstone/vue 4.1.2 → 4.2.3

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,10 +1,10 @@
1
1
  import { n as e, r as t, t as n } from "./TipWrap-rNAEgvb0.js";
2
2
  import { a as r, c as i, d as a, f as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _ } from "./glyphs-CYhs4mrY.js";
3
3
  import { n as v, r as y, t as ee } from "./fieldName-DBygJJfe.js";
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 te, inject as ne, mergeModels as j, mergeProps as M, normalizeClass as N, normalizeStyle as P, onBeforeUnmount as re, onMounted as F, onScopeDispose as I, onUnmounted as ie, openBlock as L, provide as ae, ref as R, renderList as z, renderSlot as B, resolveDynamicComponent as V, shallowReactive as oe, shallowRef as H, toDisplayString as U, unref as W, useAttrs as se, useId as ce, useModel as G, useSlots as le, vModelDynamic as ue, vModelText as de, watch as K, watchEffect as fe, withCtx as q, withDirectives as J, withKeys as pe, withModifiers as Y } from "vue";
5
- import { COLOR_NAMES_DE as me, COLOR_PICKER_TEXT as he, COPIED_MS as ge, DEFAULT_MOTION as _e, DEFAULT_SHAPE as ve, DESKTOP_QUERY as ye, GLIMSTONE_VERSION as be, MARKS as xe, PATH_ROOM_PX as Se, TOAST_MARKS as Ce, WIDE_QUERY as we, applyAccent as Te, applyMotion as Ee, applyRainbow as De, applyShape as Oe, attachNumberSteppers as ke, badgeClassName as Ae, buttonView as je, claimMenu as Me, closeMenuOutside as Ne, colorPicker as Pe, copyText as Fe, countSelector as Ie, fieldWidthClass as Le, floatColorPicker as Re, focusFirstMenuRow as ze, focusMenuRow as Be, focusTreeRow as Ve, focusedAsker as He, getLabelMode as Ue, hueVars as We, isMenuHead as Ge, keepReadmeFit as Ke, labelModeChanged as qe, mailHref as Je, mediaMatches as Ye, menuIsOpen as Xe, menuMove as Ze, menuRowView as Qe, meterView as $e, narrowerThan as et, nearestColorName as tt, normalizeHex as nt, offersMail as rt, openInBrowser as it, pillClassName as at, placeMenu as ot, placeSubmenu as st, pressRowControl as ct, progressView as lt, rainbowState as ut, readmePartClass as dt, readmeSoon as ft, readmeUnitClass as pt, returnFocus as mt, roveSelector as ht, rovedIndex as gt, runUpdateCheck as _t, segmentView as vt, selectorAxis as yt, selectorFlex as bt, selectorTabId as xt, selectorTabId as St, selectorView as Ct, setLabelMode as wt, sidebarRowView as Tt, softBreaks as Et, stackWindow as Dt, subscribeLabelMode as Ot, subscribeMedia as kt, subscribeRainbow as At, syncNumberSteppers as jt, tableCellClass as Mt, takePageHue as Nt, textFieldClass as Pt, tidyMenu as Ft, toggleSelection as It, trapDialogKeys as Lt, treeRows as Rt, treeStep as zt, updateFace as Bt, updateStage as Vt, versionLink as X, watchSelectorFit as Ht, watchSelectorRows as Ut, windowFocusTarget as Wt, windowFoot as Gt } from "@glimstone/core";
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 te, inject as ne, mergeModels as j, mergeProps as M, normalizeClass as N, normalizeStyle as P, onBeforeUnmount as re, onMounted as F, onScopeDispose as I, onUnmounted as ie, onUpdated as ae, openBlock as L, provide as oe, ref as R, renderList as z, renderSlot as B, resolveDynamicComponent as V, shallowReactive as se, shallowRef as H, toDisplayString as U, unref as W, useAttrs as ce, useId as le, useModel as G, useSlots as ue, vModelDynamic as de, vModelText as fe, vShow as pe, watch as K, watchEffect as me, withCtx as q, withDirectives as J, withKeys as he, withModifiers as Y } from "vue";
5
+ import { COLOR_NAMES_DE as ge, COLOR_PICKER_TEXT as _e, COPIED_MS as ve, DEFAULT_MOTION as ye, DEFAULT_SHAPE as be, DESKTOP_QUERY 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, readmeSoon as gt, readmeUnitClass as _t, resetBlocked as vt, returnFocus as yt, roveSelector as bt, rovedIndex as xt, runUpdateCheck as St, segmentView as Ct, selectorAxis as wt, selectorFlex as Tt, selectorTabId as Et, selectorTabId as Dt, selectorView as Ot, setLabelMode as kt, shake as At, showRefusal as jt, sidebarRowView as Mt, signInBlocked as Nt, signInStage as Pt, softBreaks as Ft, stackWindow as It, subscribeLabelMode as Lt, subscribeMedia as Rt, subscribeRainbow as zt, syncNumberSteppers as Bt, tableCellClass as Vt, takePageHue as Ht, textFieldClass as Ut, tidyMenu as Wt, toggleSelection as Gt, trapDialogKeys as Kt, treeRows as qt, treeStep as Jt, updateFace as Yt, updateStage as Xt, versionLink as X, watchSelectorFit as Zt, watchSelectorRows as Qt, windowFocusTarget as $t, windowFoot as en } from "@glimstone/core";
6
6
  // src/IconTipButton.vue
7
- var Kt = /* @__PURE__ */ A({
7
+ var tn = /* @__PURE__ */ A({
8
8
  inheritAttrs: !1,
9
9
  __name: "IconTipButton",
10
10
  props: {
@@ -55,7 +55,7 @@ var Kt = /* @__PURE__ */ A({
55
55
  "hide"
56
56
  ]), k(e, { state: W(a) }, null, 8, ["state"])], 64));
57
57
  }
58
- }), qt = ["disabled"], Jt = /* @__PURE__ */ A({
58
+ }), nn = ["disabled"], rn = /* @__PURE__ */ A({
59
59
  __name: "Badge",
60
60
  props: {
61
61
  tone: { default: "neutral" },
@@ -82,7 +82,7 @@ var Kt = /* @__PURE__ */ A({
82
82
  let t = e, n = S(() => t.hueIndex !== void 0 && (t.tone === "heading" || t.tone === "active")), r = S(() => [
83
83
  n.value && "glim-hue",
84
84
  n.value && t.size === "heading" && "glim-notch-hue",
85
- Ae({
85
+ Me({
86
86
  tone: t.tone,
87
87
  size: t.size,
88
88
  shape: t.shape,
@@ -92,8 +92,8 @@ var Kt = /* @__PURE__ */ A({
92
92
  insetStart: t.insetStart,
93
93
  action: t.as !== "span"
94
94
  })
95
- ].filter(Boolean)), i = S(() => n.value ? We(t.hueIndex) : void 0);
96
- return (t, n) => e.as === "button" && e.tip !== void 0 ? (L(), C(Kt, {
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, {
97
97
  key: 0,
98
98
  tip: e.tip,
99
99
  disabled: e.disabled,
@@ -113,7 +113,7 @@ var Kt = /* @__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, qt)) : e.as === "a" ? (L(), T("a", {
116
+ }, [B(t.$slots, "default")], 14, nn)) : 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 Kt = /* @__PURE__ */ A({
123
123
  style: P(i.value)
124
124
  }, [B(t.$slots, "default")], 6));
125
125
  }
126
- }), Yt = ["innerHTML"], Xt = /* @__PURE__ */ A({
126
+ }), an = ["innerHTML"], on = /* @__PURE__ */ A({
127
127
  __name: "BrandMark",
128
128
  props: { svg: {} },
129
129
  setup(e) {
@@ -131,65 +131,65 @@ var Kt = /* @__PURE__ */ A({
131
131
  class: "glim-brand-svg",
132
132
  "aria-hidden": "true",
133
133
  innerHTML: e.svg
134
- }, null, 8, Yt));
134
+ }, null, 8, an));
135
135
  }
136
136
  });
137
137
  // src/engines.ts
138
- function Zt(e) {
139
- let t = H(Ue(e));
140
- return I(Ot(() => t.value = Ue(e))), S({
138
+ function sn(e) {
139
+ let t = H(qe(e));
140
+ return I(Lt(() => t.value = qe(e))), S({
141
141
  get: () => t.value,
142
142
  set: (t) => {
143
- wt(e, t), qe();
143
+ kt(e, t), Ze();
144
144
  }
145
145
  });
146
146
  }
147
- function Qt() {
148
- let e = H(ut());
149
- return I(At(() => e.value = ut())), S({
147
+ function cn() {
148
+ let e = H(mt());
149
+ return I(zt(() => e.value = mt())), S({
150
150
  get: () => e.value,
151
- set: (e) => De(e)
151
+ set: (e) => ke(e)
152
152
  });
153
153
  }
154
- function $t(e) {
154
+ function ln(e) {
155
155
  return S(() => {
156
156
  let t = e();
157
- return t === void 0 ? void 0 : We(t);
157
+ return t === void 0 ? void 0 : Je(t);
158
158
  });
159
159
  }
160
- function en(e, t) {
160
+ function un(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 tn() {
168
- let e = en("data-shape", () => document.documentElement.getAttribute("data-shape") ?? ve);
167
+ function dn() {
168
+ let e = un("data-shape", () => document.documentElement.getAttribute("data-shape") ?? be);
169
169
  return S({
170
170
  get: () => e.value,
171
- set: Oe
171
+ set: Ae
172
172
  });
173
173
  }
174
- function nn() {
175
- let e = en("data-motion", () => document.documentElement.getAttribute("data-motion") ?? _e);
174
+ function fn() {
175
+ let e = un("data-motion", () => document.documentElement.getAttribute("data-motion") ?? ye);
176
176
  return S({
177
177
  get: () => e.value,
178
- set: Ee
178
+ set: Oe
179
179
  });
180
180
  }
181
- function rn() {
182
- let e = en("style", () => document.documentElement.style.getPropertyValue("--accent"));
181
+ function pn() {
182
+ let e = un("style", () => document.documentElement.style.getPropertyValue("--accent"));
183
183
  return S({
184
184
  get: () => e.value,
185
- set: (e) => Te(e || void 0)
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 an = {
189
+ var mn = {
190
190
  key: 0,
191
191
  class: "glim-btn-glyph"
192
- }, on = {
192
+ }, hn = {
193
193
  key: 0,
194
194
  class: "glim-spinner"
195
195
  }, Z = /* @__PURE__ */ A({
@@ -223,13 +223,13 @@ var an = {
223
223
  size: {}
224
224
  },
225
225
  setup(r, { expose: i }) {
226
- let a = r, o = Zt("buttons"), s = H(!1);
227
- fe((e) => {
226
+ let a = r, o = sn("buttons"), s = H(!1);
227
+ me((e) => {
228
228
  if (a.compactBelow === void 0) return void (s.value = !1);
229
- let t = et(a.compactBelow), n = () => s.value = Ye(t);
230
- n(), e(kt(t, n));
229
+ let t = it(a.compactBelow), n = () => s.value = $e(t);
230
+ n(), e(Rt(t, n));
231
231
  });
232
- let c = S(() => a.glyph ?? (a.labelKey ? u(a.labelKey) : void 0) ?? (a.variant === "chip" ? m : void 0)), l = S(() => je({
232
+ let c = S(() => a.glyph ?? (a.labelKey ? u(a.labelKey) : void 0) ?? (a.variant === "chip" ? m : void 0)), l = S(() => Ne({
233
233
  mode: o.value,
234
234
  label: a.label,
235
235
  hasGlyph: !!c.value || a.busy,
@@ -247,10 +247,10 @@ var an = {
247
247
  p.value = e, f.trigger.value = p.value;
248
248
  }
249
249
  function g(e) {
250
- l.value.pageHue && Nt(e.currentTarget), f.show();
250
+ l.value.pageHue && Ht(e.currentTarget), f.show();
251
251
  }
252
252
  function _(e) {
253
- l.value.pageHue && Nt(e.currentTarget), f.showOnFocus();
253
+ l.value.pageHue && Ht(e.currentTarget), f.showOnFocus();
254
254
  }
255
255
  return i({ el: p }), (t, i) => (L(), T(b, null, [k(W(n), {
256
256
  on: r.disabled && !!l.value.tip,
@@ -273,7 +273,7 @@ var an = {
273
273
  }), {
274
274
  default: q(() => [
275
275
  B(t.$slots, "before"),
276
- l.value.showGlyph ? (L(), T("span", an, [r.busy ? (L(), T("span", on)) : (L(), C(V(c.value), { key: 1 }))])) : w("", !0),
276
+ l.value.showGlyph ? (L(), T("span", mn, [r.busy ? (L(), T("span", hn)) : (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(t.$slots, "after")
279
279
  ]),
@@ -296,7 +296,7 @@ var an = {
296
296
  "hide"
297
297
  ]), k(e, { state: W(f) }, null, 8, ["state"])], 64));
298
298
  }
299
- }), sn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ A({
299
+ }), gn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ A({
300
300
  __name: "InfoBubble",
301
301
  props: {
302
302
  tip: {},
@@ -344,12 +344,12 @@ var an = {
344
344
  "stroke-width": "1.3",
345
345
  "stroke-linecap": "round"
346
346
  })
347
- ], -1)]], 42, sn), k(e, { state: W(i) }, null, 8, ["state"])], 64));
347
+ ], -1)]], 42, gn), k(e, { state: W(i) }, null, 8, ["state"])], 64));
348
348
  }
349
- }), cn = {
349
+ }), _n = {
350
350
  key: 0,
351
351
  class: "glim-panel-heading"
352
- }, ln = /* @__PURE__ */ A({
352
+ }, vn = /* @__PURE__ */ A({
353
353
  __name: "Card",
354
354
  props: {
355
355
  title: {},
@@ -358,7 +358,7 @@ var an = {
358
358
  nested: { type: Boolean }
359
359
  },
360
360
  setup(e) {
361
- let t = e, n = S(() => t.hueIndex === void 0 ? void 0 : We(t.hueIndex));
361
+ let t = e, n = S(() => t.hueIndex === void 0 ? void 0 : Je(t.hueIndex));
362
362
  return (t, r) => (L(), T("div", {
363
363
  class: N([
364
364
  "glim-panel",
@@ -369,7 +369,7 @@ var an = {
369
369
  }
370
370
  ]),
371
371
  style: P(n.value)
372
- }, [e.title || e.hint || t.$slots.title ? (L(), T("h2", cn, [k(Jt, {
372
+ }, [e.title || e.hint || t.$slots.title ? (L(), T("h2", _n, [k(rn, {
373
373
  tone: "heading",
374
374
  size: "heading",
375
375
  wrap: "",
@@ -383,14 +383,14 @@ var an = {
383
383
  _: 3
384
384
  }, 8, ["hue-index"])])) : w("", !0), B(t.$slots, "default")], 6));
385
385
  }
386
- }), un = [
386
+ }), yn = [
387
387
  "aria-checked",
388
388
  "aria-label",
389
389
  "disabled"
390
- ], dn = {
390
+ ], bn = {
391
391
  class: "glim-checkbox-box",
392
392
  "aria-hidden": "true"
393
- }, fn = { key: 0 }, pn = /* @__PURE__ */ A({
393
+ }, xn = { key: 0 }, Sn = /* @__PURE__ */ A({
394
394
  __name: "Checkbox",
395
395
  props: /*@__PURE__*/ j({
396
396
  label: {},
@@ -424,18 +424,18 @@ var an = {
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", dn, [k(W(d))]), n.value ? w("", !0) : (L(), T("span", fn, U(e.label), 1))], 10, un));
427
+ }, [E("span", bn, [k(W(d))]), n.value ? w("", !0) : (L(), T("span", xn, U(e.label), 1))], 10, yn));
428
428
  }
429
- }), mn = { class: "glim-picker-foot" }, hn = {
429
+ }), Cn = { class: "glim-picker-foot" }, wn = {
430
430
  key: 0,
431
431
  class: "glim-picker-name"
432
- }, gn = ["value", "aria-label"], _n = { class: "glim-picker-actions" }, vn = /* @__PURE__ */ A({
432
+ }, Tn = ["value", "aria-label"], En = { class: "glim-picker-actions" }, Dn = /* @__PURE__ */ A({
433
433
  __name: "ColorPicker",
434
434
  props: /*@__PURE__*/ j({
435
435
  anchor: { default: null },
436
436
  names: {
437
437
  type: [Array, Boolean],
438
- default: () => me
438
+ default: () => ge
439
439
  },
440
440
  text: {}
441
441
  }, {
@@ -449,20 +449,20 @@ var an = {
449
449
  ], ["update:modelValue"]),
450
450
  setup(e, { emit: t }) {
451
451
  let n = e, r = G(e, "modelValue"), i = t, a = {
452
- ...he,
452
+ ..._e,
453
453
  ...n.text
454
- }, o = H(null), s = H(null), c = R(nt(r.value) ?? "#000000"), l = R(c.value), u = S(() => n.names === !1 ? null : tt(c.value, n.names)), f = Pe(c.value, (e) => {
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)), f = Ie(c.value, (e) => {
455
455
  c.value = e, l.value = e, i("input", e);
456
456
  }, { text: a }), p;
457
457
  F(() => {
458
- s.value.appendChild(f.el), n.anchor && o.value && (p = Re(o.value, n.anchor, () => i("close")), f.focus());
458
+ s.value.appendChild(f.el), n.anchor && o.value && (p = Ve(o.value, n.anchor, () => i("close")), f.focus());
459
459
  }), re(() => p?.()), K(r, (e) => {
460
- let t = nt(e);
460
+ let t = ot(e);
461
461
  t && (c.value = t, l.value = t, f.setValue(t));
462
462
  });
463
463
  function m(e) {
464
464
  l.value = e.target.value;
465
- let t = nt(l.value);
465
+ let t = ot(l.value);
466
466
  t && (c.value = t, f.setValue(t), i("input", t));
467
467
  }
468
468
  function h() {
@@ -486,12 +486,12 @@ var an = {
486
486
  ref: s,
487
487
  style: { display: "contents" }
488
488
  }, null, 512),
489
- E("div", mn, [
489
+ E("div", Cn, [
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", hn, U(u.value), 1)),
494
+ u.value === null ? w("", !0) : (L(), T("span", wn, U(u.value), 1)),
495
495
  E("input", {
496
496
  class: "glim-picker-hex",
497
497
  value: l.value,
@@ -499,9 +499,9 @@ var an = {
499
499
  spellcheck: "false",
500
500
  "aria-label": a.hex,
501
501
  onInput: m
502
- }, null, 40, gn)
502
+ }, null, 40, Tn)
503
503
  ]),
504
- E("div", _n, [k(Z, {
504
+ E("div", En, [k(Z, {
505
505
  label: a.apply,
506
506
  "label-key": "apply",
507
507
  glyph: W(d),
@@ -510,16 +510,16 @@ var an = {
510
510
  }, null, 8, ["label", "glyph"])])
511
511
  ], 38)], 8, ["disabled"]));
512
512
  }
513
- }), yn = { class: "glim-modal-head" }, bn = {
513
+ }), On = { class: "glim-modal-head" }, kn = {
514
514
  id: "confirmdialog-title",
515
515
  class: "glim-modal-title"
516
- }, xn = { class: "glim-modal-body" }, Sn = {
516
+ }, An = { class: "glim-modal-body" }, jn = {
517
517
  id: "confirmdialog-message",
518
518
  class: "glim-modal-text"
519
- }, Cn = {
519
+ }, Mn = {
520
520
  key: 0,
521
521
  class: "glim-modal-extra"
522
- }, wn = { class: "glim-modal-foot" }, Tn = /* @__PURE__ */ A({
522
+ }, Nn = { class: "glim-modal-foot" }, Pn = /* @__PURE__ */ A({
523
523
  __name: "ConfirmDialog",
524
524
  props: {
525
525
  title: {},
@@ -545,7 +545,7 @@ var an = {
545
545
  "aria-describedby": "confirmdialog-message",
546
546
  class: "glim-modal-card"
547
547
  }, [
548
- E("div", yn, [E("h2", bn, [k(Jt, {
548
+ E("div", On, [E("h2", kn, [k(rn, {
549
549
  tone: "heading",
550
550
  size: "heading",
551
551
  wrap: ""
@@ -560,8 +560,8 @@ var an = {
560
560
  class: "glim-modal-close",
561
561
  onClick: n[0] ||= (e) => r("cancel")
562
562
  }, null, 8, ["label", "glyph"]))]),
563
- E("div", xn, [E("p", Sn, U(e.message), 1), t.$slots.extra ? (L(), T("div", Cn, [B(t.$slots, "extra")])) : w("", !0)]),
564
- E("div", wn, [k(Z, {
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, {
565
565
  ref_key: "cancel",
566
566
  ref: a,
567
567
  label: e.cancelLabel,
@@ -580,20 +580,20 @@ var an = {
580
580
  ])])
581
581
  ], 512)]));
582
582
  }
583
- }), En = { class: "glim-kbd" }, Dn = /* @__PURE__ */ A({
583
+ }), Fn = { class: "glim-kbd" }, In = /* @__PURE__ */ A({
584
584
  __name: "Kbd",
585
585
  setup(e) {
586
- return (e, t) => (L(), T("kbd", En, [B(e.$slots, "default")]));
586
+ return (e, t) => (L(), T("kbd", Fn, [B(e.$slots, "default")]));
587
587
  }
588
- }), On = {
588
+ }), Ln = {
589
589
  key: 0,
590
590
  class: "glim-menu-sep",
591
591
  role: "separator"
592
- }, kn = {
592
+ }, Rn = {
593
593
  key: 1,
594
594
  class: "glim-menu-head",
595
595
  role: "presentation"
596
- }, An = [
596
+ }, zn = [
597
597
  "role",
598
598
  "aria-checked",
599
599
  "aria-haspopup",
@@ -601,26 +601,26 @@ var an = {
601
601
  "disabled",
602
602
  "data-row",
603
603
  "onClick"
604
- ], jn = {
604
+ ], Bn = {
605
605
  key: 0,
606
606
  class: "glim-checkbox-box",
607
607
  "aria-hidden": "true"
608
- }, Mn = {
608
+ }, Vn = {
609
609
  key: 2,
610
610
  class: "glim-menu-glyph",
611
611
  "aria-hidden": "true"
612
- }, Nn = { class: "glim-menu-label" }, Pn = {
612
+ }, Hn = { class: "glim-menu-label" }, Un = {
613
613
  key: 3,
614
614
  class: "glim-menu-end glim-menu-caret",
615
615
  "aria-hidden": "true"
616
- }, Fn = {
616
+ }, Wn = {
617
617
  key: 4,
618
618
  class: "glim-menu-end glim-menu-tick",
619
619
  "aria-hidden": "true"
620
- }, In = {
620
+ }, Gn = {
621
621
  key: 6,
622
622
  class: "glim-menu-end glim-menu-count glim-num"
623
- }, Ln = /* @__PURE__ */ A({
623
+ }, Kn = /* @__PURE__ */ A({
624
624
  __name: "MenuRows",
625
625
  props: {
626
626
  entries: {},
@@ -628,15 +628,15 @@ var an = {
628
628
  },
629
629
  emits: ["pick"],
630
630
  setup(e, { emit: t }) {
631
- let n = e, i = t, a = S(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : Ge(e) ? {
631
+ let n = e, i = t, a = S(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : Ye(e) ? {
632
632
  kind: "head",
633
633
  head: e
634
634
  } : {
635
635
  kind: "item",
636
636
  item: e,
637
- view: Qe(e)
637
+ view: nt(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", On)) : t.kind === "head" ? (L(), T("div", kn, [E("span", null, U(t.head.head), 1), t.head.edit ? (L(), C(Kt, {
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, {
640
640
  key: 0,
641
641
  tip: t.head.edit.tip,
642
642
  role: "menuitem",
@@ -664,23 +664,23 @@ var an = {
664
664
  "data-row": n,
665
665
  onClick: (e) => i("pick", n)
666
666
  }, [
667
- t.view.lead === "box" ? (L(), T("span", jn, [k(W(d))])) : t.view.lead === "dot" ? (L(), T("span", {
667
+ t.view.lead === "box" ? (L(), T("span", Bn, [k(W(d))])) : 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", Mn, [t.view.lead === "glyph" ? (L(), C(V(t.item.glyph), { key: 0 })) : w("", !0)])),
673
- E("span", Nn, U(t.item.label), 1),
674
- t.view.end === "submenu" ? (L(), T("span", Pn, [k(W(r))])) : t.view.end === "tick" ? (L(), T("span", Fn, [k(W(d))])) : t.view.end === "shortcut" ? (L(), C(Dn, {
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(r))])) : t.view.end === "tick" ? (L(), T("span", Wn, [k(W(d))])) : t.view.end === "shortcut" ? (L(), C(In, {
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", In, U(t.item.count), 1)) : w("", !0)
681
- ], 10, An))], 64))), 128));
680
+ }, 1024)) : t.view.end === "count" ? (L(), T("span", Gn, U(t.item.count), 1)) : w("", !0)
681
+ ], 10, zn))], 64))), 128));
682
682
  }
683
- }), Rn = ["id", "aria-label"], zn = ["id", "aria-label"], Bn = /* @__PURE__ */ A({
683
+ }), qn = ["id", "aria-label"], Jn = ["id", "aria-label"], Yn = /* @__PURE__ */ A({
684
684
  __name: "ContextMenu",
685
685
  props: {
686
686
  x: {},
@@ -696,22 +696,22 @@ var an = {
696
696
  },
697
697
  emits: ["close", "step"],
698
698
  setup(e, { emit: t }) {
699
- let n = e, r = t, i = H(null), a = H(null), o = He(), s = R({
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(() => Ft(n.items)), d = S(() => {
702
+ }), c = H(null), l = R(null), u = S(() => Wt(n.items)), d = S(() => {
703
703
  let e = c.value ? u.value[c.value.at] : void 0;
704
- return e && e !== "-" && !Ge(e) && e.sub ? e : null;
705
- }), f = S(() => d.value?.sub ? Ft(d.value.sub) : null), p = () => ({
704
+ return e && e !== "-" && !Ye(e) && e.sub ? e : null;
705
+ }), f = S(() => d.value?.sub ? Wt(d.value.sub) : null), p = () => ({
706
706
  width: innerWidth,
707
707
  height: innerHeight
708
708
  });
709
709
  function m(e) {
710
- r("close"), e && mt(n.opener ?? o);
710
+ r("close"), e && yt(n.opener ?? o);
711
711
  }
712
712
  function h() {
713
713
  let e = i.value;
714
- e && (s.value = ot(n.x, n.y, {
714
+ e && (s.value = ut(n.x, n.y, {
715
715
  width: e.offsetWidth,
716
716
  height: e.offsetHeight
717
717
  }, p(), n.above));
@@ -723,11 +723,11 @@ var an = {
723
723
  ], h, { flush: "post" });
724
724
  let g, _;
725
725
  F(() => {
726
- h(), g = Me(m), _ = Ne(() => [
726
+ h(), g = Pe(m), _ = Fe(() => [
727
727
  i.value,
728
728
  a.value,
729
729
  n.opener
730
- ], () => m(!1)), i.value && ze(i.value);
730
+ ], () => m(!1)), i.value && Ue(i.value);
731
731
  }), ie(() => {
732
732
  g?.(), _?.();
733
733
  }), K(c, (e) => {
@@ -735,29 +735,29 @@ var an = {
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 = st(t.getBoundingClientRect(), {
738
+ l.value = dt(t.getBoundingClientRect(), {
739
739
  width: n.offsetWidth,
740
740
  height: n.offsetHeight
741
- }, p(), r), e.focus && ze(n);
741
+ }, p(), r), e.focus && Ue(n);
742
742
  }, { flush: "post" });
743
743
  function v(e, t) {
744
744
  let n = e[t];
745
- n !== "-" && (Ge(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
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
- } : (Qe(n).staysOpen || m(!0), n.onSelect?.()));
748
+ } : (nt(n).staysOpen || m(!0), n.onSelect?.()));
749
749
  }
750
750
  function y(e, t) {
751
751
  if (e.key === "Tab") return m(!1);
752
- let n = e.currentTarget, a = Ze(e.key, getComputedStyle(n).direction === "rtl");
752
+ let n = e.currentTarget, a = tt(e.key, getComputedStyle(n).direction === "rtl");
753
753
  if (!a) return;
754
- if (e.preventDefault(), a !== "in" && a !== "out") return Be(n, a);
754
+ if (e.preventDefault(), a !== "in" && a !== "out") return We(n, a);
755
755
  if (t) {
756
756
  a === "out" && c.value && (i.value?.querySelector(`[data-row="${c.value.at}"]`)?.focus(), c.value = null);
757
757
  return;
758
758
  }
759
759
  let o = Number(document.activeElement?.dataset.row), s = u.value[o];
760
- a === "in" && s && s !== "-" && !Ge(s) && s.sub && !s.disabled ? c.value = {
760
+ a === "in" && s && s !== "-" && !Ye(s) && s.sub && !s.disabled ? c.value = {
761
761
  at: o,
762
762
  focus: !0
763
763
  } : r("step", a === "in" ? 1 : -1);
@@ -765,7 +765,7 @@ var an = {
765
765
  function ee(e) {
766
766
  let t = e.target.closest("[data-row]");
767
767
  if (!t) return;
768
- let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !Ge(r) && !!r.sub && !r.disabled;
768
+ let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !Ye(r) && !!r.sub && !r.disabled;
769
769
  i && c.value?.at !== n ? c.value = {
770
770
  at: n,
771
771
  focus: !1
@@ -785,11 +785,11 @@ var an = {
785
785
  onKeydown: n[1] ||= (e) => y(e, !1),
786
786
  onMouseover: ee,
787
787
  onContextmenu: n[2] ||= Y(() => {}, ["prevent"])
788
- }, [k(Ln, {
788
+ }, [k(Kn, {
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, Rn), f.value ? (L(), T("div", {
792
+ }, null, 8, ["entries", "open-at"])], 44, qn), 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 an = {
803
803
  }),
804
804
  onKeydown: n[4] ||= (e) => y(e, !0),
805
805
  onContextmenu: n[5] ||= Y(() => {}, ["prevent"])
806
- }, [k(Ln, {
806
+ }, [k(Kn, {
807
807
  entries: f.value,
808
808
  onPick: n[3] ||= (e) => v(f.value, e)
809
- }, null, 8, ["entries"])], 44, zn)) : w("", !0)]));
809
+ }, null, 8, ["entries"])], 44, Jn)) : w("", !0)]));
810
810
  }
811
- }), Vn = ["value", "aria-label"], Hn = {
811
+ }), Xn = ["value", "aria-label"], Zn = {
812
812
  role: "status",
813
813
  class: "glim-sr-only"
814
- }, Un = /* @__PURE__ */ A({
814
+ }, Qn = /* @__PURE__ */ A({
815
815
  __name: "CopyField",
816
816
  props: {
817
817
  value: {},
@@ -827,10 +827,10 @@ var an = {
827
827
  let n = e, r = t, i = y(() => n.label), a = R(!1), o = H(null), s;
828
828
  re(() => clearTimeout(s));
829
829
  async function l() {
830
- let e = await Fe(n.value);
831
- r("copy", e), e ? (a.value = !0, clearTimeout(s), s = window.setTimeout(() => a.value = !1, ge)) : (o.value?.focus(), o.value?.select());
830
+ let e = await Le(n.value);
831
+ r("copy", e), e ? (a.value = !0, clearTimeout(s), s = window.setTimeout(() => a.value = !1, ve)) : (o.value?.focus(), o.value?.select());
832
832
  }
833
- return (t, n) => (L(), T("span", { class: N(["glim-copy", W(Le)(e.width)]) }, [
833
+ return (t, n) => (L(), T("span", { class: N(["glim-copy", W(Be)(e.width)]) }, [
834
834
  E("input", {
835
835
  ref_key: "field",
836
836
  ref: o,
@@ -839,7 +839,7 @@ var an = {
839
839
  "aria-label": W(i),
840
840
  spellcheck: "false",
841
841
  class: "glim-input glim-input--mono"
842
- }, null, 8, Vn),
842
+ }, null, 8, Xn),
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 an = {
851
851
  "label-key",
852
852
  "glyph"
853
853
  ]),
854
- E("span", Hn, U(a.value ? e.text.copied : ""), 1)
854
+ E("span", Zn, U(a.value ? e.text.copied : ""), 1)
855
855
  ], 2));
856
856
  }
857
- }), Wn = {
857
+ }), $n = {
858
858
  key: 0,
859
859
  class: "glim-empty-glyph",
860
860
  "aria-hidden": "true"
861
- }, Gn = { class: "glim-empty-title" }, Kn = {
861
+ }, er = { class: "glim-empty-title" }, tr = {
862
862
  key: 1,
863
863
  class: "glim-empty-hint"
864
- }, qn = /* @__PURE__ */ A({
864
+ }, nr = /* @__PURE__ */ A({
865
865
  __name: "EmptyState",
866
866
  props: {
867
867
  glyph: {},
@@ -874,23 +874,23 @@ var an = {
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", Wn, [(L(), C(V(e.glyph)))])) : w("", !0),
878
- E("p", Gn, U(e.title), 1),
879
- e.hint ? (L(), T("p", Kn, U(e.hint), 1)) : w("", !0),
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),
880
880
  B(t.$slots, "default")
881
881
  ], 2));
882
882
  }
883
- }), Jn = /* @__PURE__ */ A({
883
+ }), rr = /* @__PURE__ */ A({
884
884
  __name: "Pill",
885
885
  props: { tone: { default: "neutral" } },
886
886
  setup(e) {
887
- let t = e, n = S(() => at(t.tone));
887
+ let t = e, n = S(() => lt(t.tone));
888
888
  return (e, t) => (L(), T("span", { class: N(n.value) }, [B(e.$slots, "default")], 2));
889
889
  }
890
- }), Yn = { class: "glim-field-row-name" }, Xn = {
890
+ }), ir = { class: "glim-field-row-name" }, ar = {
891
891
  key: 0,
892
892
  class: "glim-field-row-controls"
893
- }, Zn = /* @__PURE__ */ A({
893
+ }, or = /* @__PURE__ */ A({
894
894
  __name: "FieldRow",
895
895
  props: {
896
896
  label: {},
@@ -901,26 +901,26 @@ var an = {
901
901
  },
902
902
  setup(e) {
903
903
  let t = e;
904
- ae(ee, S(() => t.label));
904
+ oe(ee, S(() => t.label));
905
905
  let n = ne(v, !1), r = H(null);
906
906
  return (t, i) => (L(), T("div", {
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", Yn, [E("span", {
910
+ }, [E("span", ir, [E("span", {
911
911
  class: "glim-field-row-label",
912
- onClick: i[0] ||= (e) => W(ct)(r.value)
912
+ onClick: i[0] ||= (e) => W(ft)(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", Xn, [B(t.$slots, "default", {}, () => [e.value === void 0 ? w("", !0) : (L(), C(Jn, {
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, {
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(Jn, {
923
+ }, 8, ["tone"]))])])) : B(t.$slots, "default", {}, () => [e.value === void 0 ? w("", !0) : (L(), C(rr, {
924
924
  key: 0,
925
925
  class: "glim-num",
926
926
  tone: e.tone
@@ -929,19 +929,19 @@ var an = {
929
929
  _: 1
930
930
  }, 8, ["tone"]))], void 0, 1)], 2));
931
931
  }
932
- }), Qn = /* @__PURE__ */ A({
932
+ }), sr = /* @__PURE__ */ A({
933
933
  __name: "FieldRowGroup",
934
934
  props: { columns: {} },
935
935
  setup(e) {
936
- return ae(v, !0), (t, n) => (L(), T("div", {
936
+ return oe(v, !0), (t, n) => (L(), T("div", {
937
937
  class: "glim-field-row-group",
938
938
  style: P(e.columns ? { "--field-columns": e.columns } : void 0)
939
939
  }, [B(t.$slots, "default")], 4));
940
940
  }
941
- }), $n = {
941
+ }), cr = {
942
942
  class: "glim-glyph-field-glyph",
943
943
  "aria-hidden": "true"
944
- }, er = ["aria-label"], tr = /* @__PURE__ */ A({
944
+ }, lr = ["aria-label"], ur = /* @__PURE__ */ A({
945
945
  inheritAttrs: !1,
946
946
  __name: "GlyphField",
947
947
  props: /*@__PURE__*/ j({
@@ -955,7 +955,7 @@ var an = {
955
955
  }),
956
956
  emits: ["update:modelValue"],
957
957
  setup(e, { expose: t }) {
958
- let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Le(n.width)), o = H(null);
958
+ let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Be(n.width)), o = H(null);
959
959
  return t({ input: o }), (t, n) => (L(), T("label", {
960
960
  class: N([
961
961
  "glim-input",
@@ -966,7 +966,7 @@ var an = {
966
966
  ]),
967
967
  style: P(t.$attrs.style)
968
968
  }, [
969
- E("span", $n, [(L(), C(V(e.glyph)))]),
969
+ E("span", cr, [(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 an = {
977
977
  ...t.$attrs,
978
978
  class: void 0,
979
979
  style: void 0
980
- }, { class: "glim-glyph-field-input" }), null, 16, er), [[de, r.value]]),
980
+ }, { class: "glim-glyph-field-input" }), null, 16, lr), [[fe, r.value]]),
981
981
  B(t.$slots, "after")
982
982
  ], 6));
983
983
  }
984
- }), nr = /* @__PURE__ */ A({
984
+ }), dr = /* @__PURE__ */ A({
985
985
  __name: "GlyphTile",
986
986
  props: {
987
987
  glyph: {},
@@ -999,11 +999,11 @@ var an = {
999
999
  "aria-hidden": "true"
1000
1000
  }, [(L(), C(V(e.glyph)))], 2));
1001
1001
  }
1002
- }), rr = {
1002
+ }), fr = {
1003
1003
  key: 0,
1004
1004
  class: "glim-icon-btn-gap",
1005
1005
  "aria-hidden": "true"
1006
- }, ir = /* @__PURE__ */ A({
1006
+ }, pr = /* @__PURE__ */ A({
1007
1007
  __name: "IconButton",
1008
1008
  props: {
1009
1009
  tip: {},
@@ -1018,9 +1018,9 @@ var an = {
1018
1018
  },
1019
1019
  setup(e) {
1020
1020
  function t(e) {
1021
- Nt(e.currentTarget);
1021
+ Ht(e.currentTarget);
1022
1022
  }
1023
- return (n, r) => e.absent ? (L(), T("span", rr)) : (L(), C(Kt, {
1023
+ return (n, r) => e.absent ? (L(), T("span", fr)) : (L(), C(tn, {
1024
1024
  key: 1,
1025
1025
  tip: e.tip,
1026
1026
  href: e.href,
@@ -1039,18 +1039,18 @@ var an = {
1039
1039
  "disabled"
1040
1040
  ]));
1041
1041
  }
1042
- }), ar = {
1042
+ }), mr = {
1043
1043
  key: 0,
1044
1044
  class: "glim-readme-btn-art",
1045
1045
  "aria-hidden": "true"
1046
- }, or = { class: "glim-readme-btn-text" }, sr = { class: "glim-readme-btn-name" }, cr = {
1046
+ }, hr = { class: "glim-readme-btn-text" }, gr = { class: "glim-readme-btn-name" }, _r = {
1047
1047
  key: 0,
1048
1048
  class: "glim-readme-btn-sub"
1049
- }, lr = {
1049
+ }, vr = {
1050
1050
  key: 0,
1051
1051
  class: "glim-readme-btn-sheen",
1052
1052
  "aria-hidden": "true"
1053
- }, ur = {
1053
+ }, yr = {
1054
1054
  key: 1,
1055
1055
  class: "glim-readme-btn-hint"
1056
1056
  }, $ = /* @__PURE__ */ A({
@@ -1068,9 +1068,9 @@ var an = {
1068
1068
  },
1069
1069
  emits: ["linkClick"],
1070
1070
  setup(e, { emit: t }) {
1071
- let n = e, r = t, i = S(() => ft(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(() => gt(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
- s?.(), s = a.value ? Ke(a.value) : void 0;
1073
+ s?.(), s = a.value ? Xe(a.value) : void 0;
1074
1074
  }, { flush: "post" }), I(() => s?.());
1075
1075
  let c = (e) => i.value ? n.soonLabel : e.sub, l = (e) => c(e) ? `${e.name} ${c(e)}` : e.name, u = (e) => i.value ? "span" : e.href ? "a" : "button", d = (e) => i.value ? { "aria-disabled": !0 } : e.href ? {
1076
1076
  href: e.href,
@@ -1084,24 +1084,24 @@ var an = {
1084
1084
  return (t, n) => (L(), T("div", {
1085
1085
  ref_key: "root",
1086
1086
  ref: a,
1087
- class: N(W(pt)(e.brand, e.parts.length, e.note, i.value))
1087
+ class: N(W(_t)(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(dt)(r, i.value)
1091
+ class: W(ht)(r, i.value)
1092
1092
  }), {
1093
- default: q(() => [r === 0 && t.$slots.art ? (L(), T("span", ar, [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", mr, [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", or, [E("span", sr, U(n.name), 1), c(n) ? (L(), T("span", cr, U(c(n)), 1)) : w("", !0)])], 64))]),
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))]),
1098
1098
  _: 2
1099
1099
  }, 1040, ["aria-label", "class"]))), 128)),
1100
- i.value ? w("", !0) : (L(), T("span", lr)),
1101
- e.hint ? (L(), T("span", ur, [k(Q, { tip: e.hint }, null, 8, ["tip"])])) : w("", !0)
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)
1102
1102
  ], 2));
1103
1103
  }
1104
- }), dr = { class: "glim-info-text" }, fr = { class: "glim-info-text" }, pr = { class: "glim-readme-btn-rows glim-about-give" }, mr = /* @__PURE__ */ A({
1104
+ }), br = { class: "glim-info-text" }, xr = { class: "glim-info-text" }, Sr = { class: "glim-readme-btn-rows glim-about-give" }, Cr = /* @__PURE__ */ A({
1105
1105
  __name: "InfoAboutCard",
1106
1106
  props: {
1107
1107
  text: {},
@@ -1114,14 +1114,14 @@ var an = {
1114
1114
  hueIndex: {}
1115
1115
  },
1116
1116
  setup(e) {
1117
- return (t, n) => (L(), C(ln, {
1117
+ return (t, n) => (L(), C(vn, {
1118
1118
  title: e.text.title,
1119
1119
  "hue-index": e.hueIndex
1120
1120
  }, {
1121
1121
  default: q(() => [
1122
- E("p", dr, U(e.text.body), 1),
1123
- E("p", fr, U(e.text.coffee), 1),
1124
- E("div", pr, [
1122
+ E("p", br, U(e.text.body), 1),
1123
+ E("p", xr, U(e.text.coffee), 1),
1124
+ E("div", Sr, [
1125
1125
  k($, {
1126
1126
  brand: "coffee",
1127
1127
  parts: [{
@@ -1163,7 +1163,7 @@ var an = {
1163
1163
  _: 1
1164
1164
  }, 8, ["title", "hue-index"]));
1165
1165
  }
1166
- }), hr = { class: "glim-info-text" }, gr = { class: "glim-readme-btn-rows" }, _r = /* @__PURE__ */ A({
1166
+ }), wr = { class: "glim-info-text" }, Tr = { class: "glim-readme-btn-rows" }, Er = /* @__PURE__ */ A({
1167
1167
  __name: "InfoHelpCard",
1168
1168
  props: {
1169
1169
  text: {},
@@ -1175,17 +1175,17 @@ var an = {
1175
1175
  manualGlyph: {},
1176
1176
  onBugReport: {},
1177
1177
  bugGlyph: {},
1178
- openUrl: { default: it },
1178
+ openUrl: { default: ct },
1179
1179
  hueIndex: {}
1180
1180
  },
1181
1181
  setup(e) {
1182
- let t = e, n = S(() => rt(t.text.report, t.mailAddress));
1183
- return (t, r) => (L(), C(ln, {
1182
+ let t = e, n = S(() => st(t.text.report, t.mailAddress));
1183
+ return (t, r) => (L(), C(vn, {
1184
1184
  title: e.text.title,
1185
1185
  hint: e.text.hint,
1186
1186
  "hue-index": e.hueIndex
1187
1187
  }, {
1188
- default: q(() => [E("p", hr, U(e.text.report), 1), E("div", gr, [
1188
+ default: q(() => [E("p", wr, U(e.text.report), 1), E("div", Tr, [
1189
1189
  k($, {
1190
1190
  brand: "github",
1191
1191
  parts: [{
@@ -1203,7 +1203,7 @@ var an = {
1203
1203
  brand: "house",
1204
1204
  parts: [{
1205
1205
  name: e.text.mailButton,
1206
- onClick: () => e.openUrl(W(Je)(e.mailAddress, e.text.mailSubject))
1206
+ onClick: () => e.openUrl(W(Qe)(e.mailAddress, e.text.mailSubject))
1207
1207
  }],
1208
1208
  "mark-class": "glim-house-mark"
1209
1209
  }, D({ _: 2 }, [e.mailGlyph ? {
@@ -1246,54 +1246,54 @@ var an = {
1246
1246
  "hue-index"
1247
1247
  ]));
1248
1248
  }
1249
- }), vr = { class: "glim-version-rows" }, yr = { class: "glim-version-name" }, br = { class: "glim-version-part" }, xr = {
1249
+ }), Dr = { class: "glim-version-rows" }, Or = { class: "glim-version-name" }, kr = { class: "glim-version-part" }, Ar = {
1250
1250
  key: 0,
1251
1251
  class: "glim-version-sub"
1252
- }, Sr = ["href", "onClick"], Cr = {
1252
+ }, jr = ["href", "onClick"], Mr = {
1253
1253
  key: 1,
1254
1254
  class: "glim-num glim-version-number"
1255
- }, wr = {
1255
+ }, Nr = {
1256
1256
  key: 0,
1257
1257
  class: "glim-version-actions"
1258
- }, Tr = {
1258
+ }, Pr = {
1259
1259
  role: "status",
1260
1260
  class: "glim-sr-only"
1261
- }, Er = /* @__PURE__ */ A({
1261
+ }, Fr = /* @__PURE__ */ A({
1262
1262
  __name: "InfoVersionCard",
1263
1263
  props: {
1264
1264
  text: {},
1265
1265
  rows: {},
1266
1266
  updateCheck: {},
1267
1267
  onReleaseNotes: {},
1268
- openUrl: { default: it },
1268
+ openUrl: { default: ct },
1269
1269
  hueIndex: {}
1270
1270
  },
1271
1271
  setup(e) {
1272
- let t = e, n = le(), r = S(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = H({ kind: "idle" }), a = H(0), o = S(() => t.updateCheck && Bt(i.value, t.updateCheck.text));
1272
+ let t = e, n = ue(), r = S(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = H({ kind: "idle" }), a = H(0), o = S(() => t.updateCheck && Yt(i.value, t.updateCheck.text));
1273
1273
  function s() {
1274
- _t(t.updateCheck, i.value, (e) => {
1274
+ St(t.updateCheck, i.value, (e) => {
1275
1275
  i.value = e, e.kind === "failed" && a.value++;
1276
1276
  });
1277
1277
  }
1278
1278
  function c(e, n) {
1279
1279
  e.preventDefault(), t.openUrl(n);
1280
1280
  }
1281
- return (t, n) => (L(), C(ln, {
1281
+ return (t, n) => (L(), C(vn, {
1282
1282
  title: e.text.title,
1283
1283
  hint: e.text.hint,
1284
1284
  "hue-index": e.hueIndex
1285
1285
  }, {
1286
- default: q(() => [E("ul", vr, [(L(!0), T(b, null, z(e.rows, (t) => (L(), T("li", {
1286
+ default: q(() => [E("ul", Dr, [(L(!0), T(b, null, z(e.rows, (t) => (L(), T("li", {
1287
1287
  key: t.name,
1288
1288
  class: "glim-version-row"
1289
- }, [E("span", yr, [E("span", br, U(t.name), 1), t.sub ? (L(), T("span", xr, U(t.sub), 1)) : w("", !0)]), W(X)(t).href ? (L(), T("a", {
1289
+ }, [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", {
1290
1290
  key: 0,
1291
1291
  href: W(X)(t).href,
1292
1292
  target: "_blank",
1293
1293
  rel: "noopener noreferrer",
1294
1294
  class: "glim-num glim-version-number",
1295
1295
  onClick: (e) => c(e, W(X)(t).href)
1296
- }, U(W(X)(t).shown), 9, Sr)) : (L(), T("span", Cr, 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", wr, [
1296
+ }, 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, [
1297
1297
  r.value ? (L(), C(Z, {
1298
1298
  key: 0,
1299
1299
  label: e.text.releaseNotes,
@@ -1306,7 +1306,7 @@ var an = {
1306
1306
  label: o.value.label,
1307
1307
  "label-key": o.value.labelKey,
1308
1308
  tone: o.value.tone,
1309
- stage: W(Vt)(e.updateCheck.text, o.value.label),
1309
+ stage: W(Xt)(e.updateCheck.text, o.value.label),
1310
1310
  busy: i.value.kind === "busy",
1311
1311
  class: N(a.value > 0 ? "glim-shake" : ""),
1312
1312
  onClick: s
@@ -1317,7 +1317,7 @@ var an = {
1317
1317
  "stage",
1318
1318
  "busy",
1319
1319
  "class"
1320
- ])), E("span", Tr, U(o.value.announced), 1)], 64)) : w("", !0)
1320
+ ])), E("span", Pr, U(o.value.announced), 1)], 64)) : w("", !0)
1321
1321
  ])) : w("", !0)]),
1322
1322
  _: 3
1323
1323
  }, 8, [
@@ -1326,7 +1326,7 @@ var an = {
1326
1326
  "hue-index"
1327
1327
  ]));
1328
1328
  }
1329
- }), Dr = /* @__PURE__ */ A({
1329
+ }), Ir = /* @__PURE__ */ A({
1330
1330
  __name: "InfoTile",
1331
1331
  props: {
1332
1332
  version: {},
@@ -1337,26 +1337,26 @@ var an = {
1337
1337
  setup(e) {
1338
1338
  let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
1339
1339
  return (t, r) => (L(), T(b, null, [
1340
- k(Er, M(e.version, { "hue-index": n(0) }), D({ _: 2 }, [t.$slots["whats-new"] ? {
1340
+ k(Fr, M(e.version, { "hue-index": n(0) }), D({ _: 2 }, [t.$slots["whats-new"] ? {
1341
1341
  name: "whats-new",
1342
1342
  fn: q(() => [B(t.$slots, "whats-new")]),
1343
1343
  key: "0"
1344
1344
  } : void 0]), 1040, ["hue-index"]),
1345
- k(_r, M(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
1346
- k(mr, M(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
1345
+ k(Er, M(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
1346
+ k(Cr, M(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
1347
1347
  ], 64));
1348
1348
  }
1349
- }), Or = [
1349
+ }), Lr = [
1350
1350
  "aria-label",
1351
1351
  "tabindex",
1352
1352
  "onKeydown"
1353
- ], kr = {
1353
+ ], Rr = {
1354
1354
  key: 0,
1355
1355
  class: "glim-list-row-tile"
1356
- }, Ar = { class: "glim-list-row-title" }, jr = {
1356
+ }, zr = { class: "glim-list-row-title" }, Br = {
1357
1357
  key: 1,
1358
1358
  class: "glim-list-row-badges"
1359
- }, Mr = /* @__PURE__ */ A({
1359
+ }, Vr = /* @__PURE__ */ A({
1360
1360
  __name: "ListRow",
1361
1361
  props: {
1362
1362
  name: {},
@@ -1364,7 +1364,7 @@ var an = {
1364
1364
  mono: { type: Boolean }
1365
1365
  },
1366
1366
  setup(e) {
1367
- let t = e, n = se(), r = S(() => !!n.onClick), i = S(() => ["glim-list-row-name", { "glim-list-row-name--mono": t.mono }]);
1367
+ let t = e, n = ce(), r = S(() => !!n.onClick), i = S(() => ["glim-list-row-name", { "glim-list-row-name--mono": t.mono }]);
1368
1368
  function a(e) {
1369
1369
  e.preventDefault(), e.currentTarget.click();
1370
1370
  }
@@ -1373,30 +1373,30 @@ var an = {
1373
1373
  "aria-label": e.name,
1374
1374
  tabindex: r.value ? 0 : void 0,
1375
1375
  class: N(["glim-list-row", { "glim-list-row--opens": r.value }]),
1376
- onKeydown: [pe(Y(a, ["self"]), ["enter"]), pe(Y(a, ["self"]), ["space"])]
1376
+ onKeydown: [he(Y(a, ["self"]), ["enter"]), he(Y(a, ["self"]), ["space"])]
1377
1377
  }, [
1378
- t.$slots.tile ? (L(), T("span", kr, [B(t.$slots, "tile")])) : w("", !0),
1379
- E("span", { class: N(i.value) }, [E("span", Ar, U(e.name), 1), e.tip ? (L(), T("span", {
1378
+ t.$slots.tile ? (L(), T("span", Rr, [B(t.$slots, "tile")])) : w("", !0),
1379
+ E("span", { class: N(i.value) }, [E("span", zr, U(e.name), 1), e.tip ? (L(), T("span", {
1380
1380
  key: 0,
1381
1381
  class: "glim-list-row-tip",
1382
1382
  onClick: n[0] ||= Y(() => {}, ["stop"])
1383
1383
  }, [k(Q, { tip: e.tip }, null, 8, ["tip"])])) : w("", !0)], 2),
1384
- t.$slots.badges ? (L(), T("span", jr, [B(t.$slots, "badges")])) : w("", !0),
1384
+ t.$slots.badges ? (L(), T("span", Br, [B(t.$slots, "badges")])) : w("", !0),
1385
1385
  t.$slots.actions ? (L(), T("span", {
1386
1386
  key: 2,
1387
1387
  class: "glim-list-row-actions",
1388
1388
  onClick: n[1] ||= Y(() => {}, ["stop"])
1389
1389
  }, [B(t.$slots, "actions")])) : w("", !0)
1390
- ], 42, Or));
1390
+ ], 42, Lr));
1391
1391
  }
1392
- }), Nr = ["aria-label"], Pr = [
1392
+ }), Hr = ["aria-label"], Ur = [
1393
1393
  "aria-expanded",
1394
1394
  "tabindex",
1395
1395
  "onClick",
1396
1396
  "onMouseenter",
1397
1397
  "onKeydown",
1398
1398
  "onFocus"
1399
- ], Fr = /* @__PURE__ */ A({
1399
+ ], Wr = /* @__PURE__ */ A({
1400
1400
  __name: "MenuBar",
1401
1401
  props: {
1402
1402
  label: {},
@@ -1445,7 +1445,7 @@ var an = {
1445
1445
  onMouseenter: (e) => i.value && i.value.at !== t && o(t),
1446
1446
  onKeydown: (e) => l(e, t),
1447
1447
  onFocus: (e) => a.value = t
1448
- }, U(e.label), 41, Pr))), 128)), i.value && e.menus[i.value.at] ? (L(), C(Bn, {
1448
+ }, U(e.label), 41, Ur))), 128)), i.value && e.menus[i.value.at] ? (L(), C(Yn, {
1449
1449
  key: i.value.at,
1450
1450
  x: i.value.x,
1451
1451
  y: i.value.y,
@@ -1462,9 +1462,9 @@ var an = {
1462
1462
  "label",
1463
1463
  "id",
1464
1464
  "opener"
1465
- ])) : w("", !0)], 8, Nr));
1465
+ ])) : w("", !0)], 8, Hr));
1466
1466
  }
1467
- }), Ir = [
1467
+ }), Gr = [
1468
1468
  "role",
1469
1469
  "aria-label",
1470
1470
  "aria-valuemin",
@@ -1472,7 +1472,7 @@ var an = {
1472
1472
  "aria-valuenow",
1473
1473
  "aria-valuetext",
1474
1474
  "aria-busy"
1475
- ], Lr = /* @__PURE__ */ A({
1475
+ ], Kr = /* @__PURE__ */ A({
1476
1476
  inheritAttrs: !1,
1477
1477
  __name: "Meter",
1478
1478
  props: {
@@ -1487,7 +1487,7 @@ var an = {
1487
1487
  valueText: {}
1488
1488
  },
1489
1489
  setup(n) {
1490
- let r = n, i = S(() => $e(r.value, {
1490
+ let r = n, i = S(() => rt(r.value, {
1491
1491
  size: r.size,
1492
1492
  threshold: r.threshold,
1493
1493
  quiet: r.quiet
@@ -1507,9 +1507,9 @@ var an = {
1507
1507
  }), [E("span", {
1508
1508
  class: "glim-meter-fill",
1509
1509
  style: P(i.value.width ? { width: i.value.width } : void 0)
1510
- }, null, 4)], 16, Ir), k(e, { state: W(o) }, null, 8, ["state"])], 64));
1510
+ }, null, 4)], 16, Gr), k(e, { state: W(o) }, null, 8, ["state"])], 64));
1511
1511
  }
1512
- }), Rr = { class: "glim-num-wrap" }, zr = ["aria-label"], Br = /* @__PURE__ */ A({
1512
+ }), qr = { class: "glim-num-wrap" }, Jr = ["aria-label"], Yr = /* @__PURE__ */ A({
1513
1513
  inheritAttrs: !1,
1514
1514
  __name: "NumberField",
1515
1515
  props: {
@@ -1518,9 +1518,9 @@ var an = {
1518
1518
  },
1519
1519
  emits: ["update:modelValue"],
1520
1520
  setup(e) {
1521
- let t = G(e, "modelValue"), n = se(), r = y(() => n["aria-label"]), i = H(null), a;
1521
+ let t = G(e, "modelValue"), n = ce(), r = y(() => n["aria-label"]), i = H(null), a;
1522
1522
  F(() => {
1523
- o(t.value), a = ke(i.value);
1523
+ o(t.value), a = je(i.value);
1524
1524
  }), re(() => a?.());
1525
1525
  function o(e) {
1526
1526
  let t = i.value;
@@ -1534,26 +1534,26 @@ var an = {
1534
1534
  () => n.disabled,
1535
1535
  () => n.readonly
1536
1536
  ], () => {
1537
- o(t.value), i.value && jt(i.value);
1537
+ o(t.value), i.value && Bt(i.value);
1538
1538
  }, { flush: "post" });
1539
1539
  function s(e) {
1540
1540
  let n = e.target;
1541
1541
  t.value = n.value === "" ? null : n.valueAsNumber;
1542
1542
  }
1543
- return (e, t) => (L(), T("span", Rr, [E("input", M(e.$attrs, {
1543
+ return (e, t) => (L(), T("span", qr, [E("input", M(e.$attrs, {
1544
1544
  ref_key: "input",
1545
1545
  ref: i,
1546
1546
  "aria-label": W(r),
1547
1547
  type: "number",
1548
1548
  class: "glim-num-input glim-num-field glim-num",
1549
1549
  onInput: s
1550
- }), null, 16, zr)]));
1550
+ }), null, 16, Jr)]));
1551
1551
  }
1552
- }), Vr = [
1552
+ }), Xr = [
1553
1553
  "aria-label",
1554
1554
  "disabled",
1555
1555
  "type"
1556
- ], Hr = /* @__PURE__ */ A({
1556
+ ], Zr = /* @__PURE__ */ A({
1557
1557
  inheritAttrs: !1,
1558
1558
  __name: "PasswordField",
1559
1559
  props: /*@__PURE__*/ j({
@@ -1573,7 +1573,7 @@ var an = {
1573
1573
  }),
1574
1574
  emits: ["update:modelValue"],
1575
1575
  setup(e, { expose: t }) {
1576
- let n = e, r = G(e, "modelValue"), i = R(!1), a = se(), o = y(() => a["aria-label"]), s = S(() => Le(n.width)), c = H(null);
1576
+ let n = e, r = G(e, "modelValue"), i = R(!1), a = ce(), o = y(() => a["aria-label"]), s = S(() => Be(n.width)), c = H(null);
1577
1577
  return t({ input: c }), (t, n) => (L(), T("span", {
1578
1578
  class: N([
1579
1579
  "glim-secret",
@@ -1596,7 +1596,7 @@ var an = {
1596
1596
  disabled: e.disabled,
1597
1597
  type: i.value ? "text" : "password",
1598
1598
  class: "glim-input"
1599
- }), null, 16, Vr), [[ue, r.value]]), k(Kt, M(e.eyeAttrs, {
1599
+ }), null, 16, Xr), [[de, r.value]]), k(tn, M(e.eyeAttrs, {
1600
1600
  tip: i.value ? e.text.hide : e.text.show,
1601
1601
  class: "glim-secret-eye",
1602
1602
  disabled: e.disabled,
@@ -1606,7 +1606,7 @@ var an = {
1606
1606
  _: 1
1607
1607
  }, 16, ["tip", "disabled"])], 6));
1608
1608
  }
1609
- }), Ur = ["aria-label", "disabled"], Wr = /* @__PURE__ */ A({
1609
+ }), Qr = ["aria-label", "disabled"], $r = /* @__PURE__ */ A({
1610
1610
  inheritAttrs: !1,
1611
1611
  __name: "PathField",
1612
1612
  props: /*@__PURE__*/ j({
@@ -1629,7 +1629,7 @@ var an = {
1629
1629
  setup(e, { expose: t, emit: n }) {
1630
1630
  let r = e, a = G(e, "modelValue"), o = n, s = y(() => r.label), c = H(null);
1631
1631
  t({ input: c });
1632
- let l = H(null), u = R(!1), d = new ResizeObserver(([e]) => u.value = e.contentRect.width < Se);
1632
+ let l = H(null), u = R(!1), d = new ResizeObserver(([e]) => u.value = e.contentRect.width < we);
1633
1633
  F(() => d.observe(l.value)), re(() => d.disconnect());
1634
1634
  async function f() {
1635
1635
  let e = await r.pick(a.value);
@@ -1640,7 +1640,7 @@ var an = {
1640
1640
  ref: l,
1641
1641
  class: N([
1642
1642
  "glim-path",
1643
- W(Le)(e.width),
1643
+ W(Be)(e.width),
1644
1644
  t.$attrs.class
1645
1645
  ]),
1646
1646
  style: P(t.$attrs.style)
@@ -1659,7 +1659,7 @@ var an = {
1659
1659
  }, {
1660
1660
  disabled: e.disabled,
1661
1661
  class: "glim-input glim-input--mono"
1662
- }), null, 16, Ur), [[de, a.value]]), k(Z, M(e.buttonAttrs, {
1662
+ }), null, 16, Qr), [[fe, a.value]]), k(Z, M(e.buttonAttrs, {
1663
1663
  variant: "icon",
1664
1664
  label: e.text.pick,
1665
1665
  "label-key": null,
@@ -1674,13 +1674,13 @@ var an = {
1674
1674
  "disabled"
1675
1675
  ])], 6));
1676
1676
  }
1677
- }), Gr = [
1677
+ }), ei = [
1678
1678
  "aria-label",
1679
1679
  "aria-valuemin",
1680
1680
  "aria-valuemax",
1681
1681
  "aria-valuenow",
1682
1682
  "aria-valuetext"
1683
- ], Kr = /* @__PURE__ */ A({
1683
+ ], ti = /* @__PURE__ */ A({
1684
1684
  __name: "ProgressBar",
1685
1685
  props: {
1686
1686
  value: { default: null },
@@ -1696,7 +1696,7 @@ var an = {
1696
1696
  valueText: {}
1697
1697
  },
1698
1698
  setup(e) {
1699
- let t = e, n = S(() => lt(t.value, {
1699
+ let t = e, n = S(() => pt(t.value, {
1700
1700
  paused: t.paused,
1701
1701
  failed: t.failed
1702
1702
  }));
@@ -1711,9 +1711,9 @@ var an = {
1711
1711
  }, [E("span", {
1712
1712
  class: "glim-progress-fill",
1713
1713
  style: P(n.value.width ? { width: n.value.width } : void 0)
1714
- }, null, 4)], 10, Gr));
1714
+ }, null, 4)], 10, ei));
1715
1715
  }
1716
- }), qr = /* @__PURE__ */ A({
1716
+ }), ni = /* @__PURE__ */ A({
1717
1717
  __name: "RowMark",
1718
1718
  props: { on: { type: Boolean } },
1719
1719
  setup(e) {
@@ -1722,14 +1722,14 @@ var an = {
1722
1722
  "aria-hidden": "true"
1723
1723
  }, [k(W(d))], 2));
1724
1724
  }
1725
- }), Jr = [
1725
+ }), ri = [
1726
1726
  "href",
1727
1727
  "data-sel-id",
1728
1728
  "aria-selected",
1729
1729
  "aria-current",
1730
1730
  "aria-describedby",
1731
1731
  "tabindex"
1732
- ], Yr = [
1732
+ ], ii = [
1733
1733
  "data-sel-id",
1734
1734
  "id",
1735
1735
  "role",
@@ -1741,7 +1741,7 @@ var an = {
1741
1741
  "aria-describedby",
1742
1742
  "disabled",
1743
1743
  "tabindex"
1744
- ], Xr = ["id"], Zr = /* @__PURE__ */ A({
1744
+ ], ai = ["id"], oi = /* @__PURE__ */ A({
1745
1745
  __name: "SelectorSegment",
1746
1746
  props: {
1747
1747
  item: {},
@@ -1764,7 +1764,7 @@ var an = {
1764
1764
  },
1765
1765
  emits: ["select"],
1766
1766
  setup(r, { emit: i }) {
1767
- let a = r, o = i, s = S(() => vt({
1767
+ let a = r, o = i, s = S(() => Ct({
1768
1768
  strip: a.strip,
1769
1769
  orientation: a.orientation,
1770
1770
  size: a.size,
@@ -1784,7 +1784,7 @@ var an = {
1784
1784
  disabled: a.disabled,
1785
1785
  dim: a.item.dim,
1786
1786
  squeezed: a.squeezed
1787
- })), c = t(() => s.value.tip, () => a.disabled), l = ce(), u = S(() => a.disabled && !!s.value.tip), d = S(() => u.value ? l : c.describedBy.value), f = S(() => a.strip.kind === "tab"), p = S(() => ({
1787
+ })), c = t(() => s.value.tip, () => a.disabled), l = le(), u = S(() => a.disabled && !!s.value.tip), d = S(() => u.value ? l : c.describedBy.value), f = S(() => a.strip.kind === "tab"), p = S(() => ({
1788
1788
  ...s.value.style,
1789
1789
  ...a.share
1790
1790
  }));
@@ -1814,7 +1814,7 @@ var an = {
1814
1814
  key: 1,
1815
1815
  "data-sel-label": "",
1816
1816
  class: N(s.value.labelClass)
1817
- }, U(r.item.label), 3))], 16, Jr)) : (L(), T(b, { key: 1 }, [k(W(n), M({
1817
+ }, U(r.item.label), 3))], 16, ri)) : (L(), T(b, { key: 1 }, [k(W(n), M({
1818
1818
  on: u.value,
1819
1819
  show: W(c).show,
1820
1820
  hide: W(c).hide
@@ -1823,7 +1823,7 @@ var an = {
1823
1823
  ref: m,
1824
1824
  type: "button",
1825
1825
  "data-sel-id": r.item.id,
1826
- id: r.panelId && f.value ? W(St)(r.panelId, r.item.id) : void 0,
1826
+ id: r.panelId && f.value ? W(Dt)(r.panelId, r.item.id) : void 0,
1827
1827
  role: r.strip.kind === "toggle" ? void 0 : r.strip.kind,
1828
1828
  "aria-selected": f.value ? r.on : void 0,
1829
1829
  "aria-controls": r.panelId && f.value && r.on ? r.panelId : void 0,
@@ -1844,7 +1844,7 @@ var an = {
1844
1844
  key: 1,
1845
1845
  "data-sel-label": "",
1846
1846
  class: N(s.value.labelClass)
1847
- }, U(r.item.label), 3))], 16, Yr)]),
1847
+ }, U(r.item.label), 3))], 16, ii)]),
1848
1848
  _: 1
1849
1849
  }, 16, [
1850
1850
  "on",
@@ -1854,13 +1854,13 @@ var an = {
1854
1854
  key: 0,
1855
1855
  id: W(l),
1856
1856
  hidden: ""
1857
- }, U(s.value.tip), 9, Xr)) : w("", !0)], 64)), k(e, { state: W(c) }, null, 8, ["state"])], 64));
1857
+ }, U(s.value.tip), 9, ai)) : w("", !0)], 64)), k(e, { state: W(c) }, null, 8, ["state"])], 64));
1858
1858
  }
1859
- }), Qr = [
1859
+ }), si = [
1860
1860
  "role",
1861
1861
  "aria-label",
1862
1862
  "aria-orientation"
1863
- ], $r = /* @__PURE__ */ A({
1863
+ ], ci = /* @__PURE__ */ A({
1864
1864
  __name: "Selector",
1865
1865
  props: {
1866
1866
  items: {},
@@ -1906,10 +1906,10 @@ var an = {
1906
1906
  setup(e, { emit: t }) {
1907
1907
  let n = e, r = t, i = S(() => n.modelValue);
1908
1908
  function a(e) {
1909
- let t = H(Ye(e));
1910
- return I(kt(e, () => t.value = Ye(e))), t;
1909
+ let t = H($e(e));
1910
+ return I(Rt(e, () => t.value = $e(e))), t;
1911
1911
  }
1912
- let o = y(() => n.label), s = S(() => n.inline || n.label === void 0 && o.value !== void 0), c = Zt(yt(n.size, n.orientation)), l = a(ye), u = a(we), d = S(() => Ct({
1912
+ let o = y(() => n.label), s = S(() => n.inline || n.label === void 0 && o.value !== void 0), c = sn(wt(n.size, n.orientation)), l = a(xe), u = a(Ee), d = S(() => Ot({
1913
1913
  mode: c.value,
1914
1914
  select: n.select === "many" ? "many" : "one",
1915
1915
  activation: n.activation,
@@ -1936,7 +1936,7 @@ var an = {
1936
1936
  i && r(i);
1937
1937
  }, { flush: "post" });
1938
1938
  }
1939
- _(() => d.value.counted, (e) => d.value.counted ? Ie(e) : void 0), _(() => [
1939
+ _(() => d.value.counted, (e) => d.value.counted ? Re(e) : void 0), _(() => [
1940
1940
  d.value.pinWidth,
1941
1941
  n.equalWidth,
1942
1942
  s.value,
@@ -1946,7 +1946,7 @@ var an = {
1946
1946
  d.value.mode
1947
1947
  ].join("|"), (e) => {
1948
1948
  if (!d.value.pinWidth) p.value = null;
1949
- else return Ut(e, {
1949
+ else return Qt(e, {
1950
1950
  inline: s.value,
1951
1951
  equalWidth: n.equalWidth
1952
1952
  }, (e) => p.value = e);
@@ -1957,19 +1957,19 @@ var an = {
1957
1957
  n.size
1958
1958
  ].join("|"), (e) => {
1959
1959
  if (!d.value.canSqueeze) m.value = "even";
1960
- else return Ht(e, (e) => m.value = e);
1960
+ else return Zt(e, (e) => m.value = e);
1961
1961
  });
1962
- let v = S(() => bt({
1962
+ let v = S(() => Tt({
1963
1963
  rows: p.value,
1964
1964
  pinWidth: d.value.pinWidth,
1965
1965
  inline: s.value,
1966
1966
  fit: n.fit,
1967
1967
  fitMode: m.value,
1968
1968
  pairsOnPhone: n.pairsOnPhone
1969
- })), ee = S(() => n.select === "many"), x = (e) => ee.value ? (i.value ?? []).includes(e) : i.value === e, w = S(() => n.items.map((e) => n.disabled || !!e.disabled)), E = S(() => gt(w.value, n.items.findIndex((e) => x(e.id))));
1969
+ })), ee = S(() => n.select === "many"), x = (e) => ee.value ? (i.value ?? []).includes(e) : i.value === e, w = S(() => n.items.map((e) => n.disabled || !!e.disabled)), E = S(() => xt(w.value, n.items.findIndex((e) => x(e.id))));
1970
1970
  function D(e) {
1971
1971
  r("press", e);
1972
- let t = ee.value ? It(i.value ?? [], e, n.items.map((e) => e.id)) : e;
1972
+ let t = ee.value ? Gt(i.value ?? [], e, n.items.map((e) => e.id)) : e;
1973
1973
  t !== i.value && r("update:modelValue", t);
1974
1974
  }
1975
1975
  function O(e) {
@@ -1978,7 +1978,7 @@ var an = {
1978
1978
  e.preventDefault(), t.click();
1979
1979
  return;
1980
1980
  }
1981
- let r = ht(f.value, e.key, n.orientation);
1981
+ let r = bt(f.value, e.key, n.orientation);
1982
1982
  if (!r) return;
1983
1983
  e.preventDefault();
1984
1984
  let i = n.items.find((e) => String(e.id) === r.dataset.selId);
@@ -1993,7 +1993,7 @@ var an = {
1993
1993
  class: N(d.value.className),
1994
1994
  style: P(v.value.track),
1995
1995
  onKeydown: O
1996
- }, [(L(!0), T(b, null, z(e.items, (t, n) => (L(), C(Zr, {
1996
+ }, [(L(!0), T(b, null, z(e.items, (t, n) => (L(), C(oi, {
1997
1997
  key: t.id,
1998
1998
  item: t,
1999
1999
  index: n,
@@ -2032,9 +2032,9 @@ var an = {
2032
2032
  "hue-offset",
2033
2033
  "panel-id",
2034
2034
  "onSelect"
2035
- ]))), 128))], 46, Qr));
2035
+ ]))), 128))], 46, si));
2036
2036
  }
2037
- }), ei = { class: "glim-sr-only" }, ti = /* @__PURE__ */ A({
2037
+ }), li = { class: "glim-sr-only" }, ui = /* @__PURE__ */ A({
2038
2038
  inheritAttrs: !1,
2039
2039
  __name: "SidebarRowLink",
2040
2040
  props: {
@@ -2069,7 +2069,7 @@ var an = {
2069
2069
  n.view.countClass && n.count ? (L(), T(b, { key: 1 }, [E("span", {
2070
2070
  class: N(n.view.countClass),
2071
2071
  "aria-hidden": "true"
2072
- }, U(n.count.value), 3), E("span", ei, U(n.count.label), 1)], 64)) : w("", !0)
2072
+ }, U(n.count.value), 3), E("span", li, U(n.count.label), 1)], 64)) : w("", !0)
2073
2073
  ]),
2074
2074
  _: 1
2075
2075
  }, 16, [
@@ -2084,13 +2084,13 @@ var an = {
2084
2084
  "onBlur"
2085
2085
  ])), k(e, { state: W(i) }, null, 8, ["state"])], 64));
2086
2086
  }
2087
- }), ni = {
2087
+ }), di = {
2088
2088
  key: 0,
2089
2089
  class: "glim-nav-row-slot"
2090
- }, ri = {
2090
+ }, fi = {
2091
2091
  key: 1,
2092
2092
  class: "glim-nav-row-slot"
2093
- }, ii = /* @__PURE__ */ A({
2093
+ }, pi = /* @__PURE__ */ A({
2094
2094
  inheritAttrs: !1,
2095
2095
  __name: "SidebarRow",
2096
2096
  props: {
@@ -2106,7 +2106,7 @@ var an = {
2106
2106
  depth: {}
2107
2107
  },
2108
2108
  setup(e) {
2109
- let t = e, n = Zt("sidebar"), r = le(), i = S(() => Tt({
2109
+ let t = e, n = sn("sidebar"), r = ue(), i = S(() => Mt({
2110
2110
  mode: n.value,
2111
2111
  label: t.label,
2112
2112
  hasGlyph: !!t.glyph,
@@ -2132,15 +2132,15 @@ var an = {
2132
2132
  ]),
2133
2133
  style: P([i.value.style, e.$attrs.style])
2134
2134
  }, [
2135
- e.$slots.before ? (L(), T("span", ni, [B(e.$slots, "before")])) : w("", !0),
2136
- k(ti, M({
2135
+ e.$slots.before ? (L(), T("span", di, [B(e.$slots, "before")])) : w("", !0),
2136
+ k(ui, M({
2137
2137
  ...e.$attrs,
2138
2138
  ...a.value,
2139
2139
  class: void 0,
2140
2140
  style: void 0
2141
2141
  }, { "class-name": "glim-nav-row-main" }), null, 16),
2142
- e.$slots.after ? (L(), T("span", ri, [B(e.$slots, "after")])) : w("", !0)
2143
- ], 6)) : (L(), C(ti, M({ key: 1 }, {
2142
+ e.$slots.after ? (L(), T("span", fi, [B(e.$slots, "after")])) : w("", !0)
2143
+ ], 6)) : (L(), C(ui, M({ key: 1 }, {
2144
2144
  ...e.$attrs,
2145
2145
  ...a.value,
2146
2146
  class: void 0
@@ -2154,26 +2154,337 @@ var an = {
2154
2154
  "style"
2155
2155
  ]));
2156
2156
  }
2157
- }), ai = ["aria-labelledby"], oi = {
2157
+ }), mi = { class: "glim-signin-field" }, hi = ["for"], gi = /* @__PURE__ */ A({
2158
+ __name: "SignInField",
2159
+ props: {
2160
+ label: {},
2161
+ for: {},
2162
+ hint: {}
2163
+ },
2164
+ setup(e) {
2165
+ return (t, n) => (L(), T("div", mi, [E("label", {
2166
+ for: t.$props.for,
2167
+ class: "glim-signin-label"
2168
+ }, [O(U(e.label), 1), e.hint ? (L(), C(Q, {
2169
+ key: 0,
2170
+ tip: e.hint
2171
+ }, null, 8, ["tip"])) : w("", !0)], 8, hi), B(t.$slots, "default")]));
2172
+ }
2173
+ }), _i = ["aria-label"], vi = /* @__PURE__ */ A({
2174
+ __name: "TextField",
2175
+ props: /*@__PURE__*/ j({
2176
+ label: {},
2177
+ mono: { type: Boolean },
2178
+ width: {}
2179
+ }, {
2180
+ modelValue: { default: "" },
2181
+ modelModifiers: {}
2182
+ }),
2183
+ emits: ["update:modelValue"],
2184
+ setup(e, { expose: t }) {
2185
+ let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Ut({
2186
+ width: n.width,
2187
+ mono: n.mono
2188
+ })), o = H(null);
2189
+ return t({ input: o }), (e, t) => J((L(), T("input", {
2190
+ ref_key: "input",
2191
+ ref: o,
2192
+ "onUpdate:modelValue": t[0] ||= (e) => r.value = e,
2193
+ type: "text",
2194
+ "aria-label": W(i),
2195
+ class: N(a.value)
2196
+ }, null, 10, _i)), [[fe, r.value]]);
2197
+ }
2198
+ }), yi = { class: "glim-signin" }, bi = { class: "glim-signin-head" }, xi = {
2199
+ key: 0,
2200
+ class: "glim-signin-logo",
2201
+ "aria-hidden": "true"
2202
+ }, Si = ["src"], Ci = { class: "glim-signin-name" }, wi = {
2203
+ key: 0,
2204
+ class: "glim-signin-error",
2205
+ role: "alert"
2206
+ }, Ti = {
2207
+ key: 0,
2208
+ class: "glim-signin-note",
2209
+ role: "status"
2210
+ }, Ei = { class: "glim-signin-hint" }, Di = {
2211
+ key: 3,
2212
+ class: "glim-signin-error",
2213
+ role: "alert"
2214
+ }, Oi = /* @__PURE__ */ A({
2215
+ __name: "SignInCard",
2216
+ props: {
2217
+ logo: {},
2218
+ appName: {},
2219
+ text: {},
2220
+ passkey: {
2221
+ type: Boolean,
2222
+ default: !1
2223
+ },
2224
+ reset: {
2225
+ type: Boolean,
2226
+ default: !1
2227
+ },
2228
+ minPassword: { default: 12 },
2229
+ note: {},
2230
+ labelKeys: {},
2231
+ idPrefix: {},
2232
+ autoFocus: {
2233
+ type: Boolean,
2234
+ default: !0
2235
+ },
2236
+ onSignIn: {},
2237
+ onPasskey: {},
2238
+ onAskCode: {},
2239
+ onSetPassword: {}
2240
+ },
2241
+ setup(e) {
2242
+ let t = e, n = ue(), r = ze(() => t), i = H(r.state()), a = r.subscribe(() => i.value = r.state());
2243
+ re(a);
2244
+ let o = le(), s = (e) => `${t.idPrefix ?? o}-${e}`, c = S(() => ({
2245
+ signIn: "signIn",
2246
+ passkey: "signInWithPasskey",
2247
+ forgot: "forgotPassword",
2248
+ back: "back",
2249
+ setPassword: "setPassword",
2250
+ ...t.labelKeys
2251
+ })), l = S(() => ({
2252
+ show: t.text.show,
2253
+ hide: t.text.hide
2254
+ })), u = H(null), d = "";
2255
+ function f() {
2256
+ let e = n.step ? "step" : Pt(i.value);
2257
+ e !== d && ((d || t.autoFocus) && He(u.value), d = e);
2258
+ }
2259
+ return F(f), ae(f), K(() => i.value.refusal?.count, (e, t, n) => {
2260
+ let r = i.value.refusal;
2261
+ r && n(jt(u.value, r));
2262
+ }, { flush: "post" }), (t, n) => (L(), T("div", yi, [E("div", {
2263
+ ref_key: "card",
2264
+ ref: u,
2265
+ class: "glim-card glim-signin-card"
2266
+ }, [E("div", bi, [e.logo || t.$slots.logo ? (L(), T("span", xi, [B(t.$slots, "logo", {}, () => [E("img", {
2267
+ src: e.logo,
2268
+ alt: "",
2269
+ draggable: "false"
2270
+ }, null, 8, Si)])])) : w("", !0), E("h1", Ci, U(e.appName), 1)]), t.$slots.step ? B(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (L(), T("form", {
2271
+ key: 1,
2272
+ class: "glim-signin-form",
2273
+ novalidate: "",
2274
+ onSubmit: n[4] ||= Y((e) => W(r).submit(), ["prevent"])
2275
+ }, [
2276
+ k(gi, {
2277
+ label: e.text.resetCode,
2278
+ for: s("reset-code"),
2279
+ hint: e.text.resetCodeTip
2280
+ }, {
2281
+ default: q(() => [k(vi, {
2282
+ id: s("reset-code"),
2283
+ "data-signin-field": "resetCode",
2284
+ class: "glim-signin-log-code",
2285
+ "model-value": i.value.resetCode,
2286
+ autocomplete: "one-time-code",
2287
+ autocapitalize: "characters",
2288
+ spellcheck: "false",
2289
+ placeholder: "XXXX-XXXX-XXXX",
2290
+ "onUpdate:modelValue": n[0] ||= (e) => W(r).set("resetCode", e)
2291
+ }, null, 8, ["id", "model-value"])]),
2292
+ _: 1
2293
+ }, 8, [
2294
+ "label",
2295
+ "for",
2296
+ "hint"
2297
+ ]),
2298
+ k(gi, {
2299
+ label: e.text.newPassword,
2300
+ for: s("new")
2301
+ }, {
2302
+ default: q(() => [k(Zr, {
2303
+ id: s("new"),
2304
+ "data-signin-field": "newPassword",
2305
+ "model-value": i.value.newPassword,
2306
+ autocomplete: "new-password",
2307
+ text: l.value,
2308
+ "onUpdate:modelValue": n[1] ||= (e) => W(r).set("newPassword", e)
2309
+ }, null, 8, [
2310
+ "id",
2311
+ "model-value",
2312
+ "text"
2313
+ ])]),
2314
+ _: 1
2315
+ }, 8, ["label", "for"]),
2316
+ k(gi, {
2317
+ label: e.text.confirmPassword,
2318
+ for: s("confirm")
2319
+ }, {
2320
+ default: q(() => [k(Zr, {
2321
+ id: s("confirm"),
2322
+ "data-signin-field": "confirm",
2323
+ "model-value": i.value.confirm,
2324
+ autocomplete: "new-password",
2325
+ text: l.value,
2326
+ "onUpdate:modelValue": n[2] ||= (e) => W(r).set("confirm", e)
2327
+ }, null, 8, [
2328
+ "id",
2329
+ "model-value",
2330
+ "text"
2331
+ ])]),
2332
+ _: 1
2333
+ }, 8, ["label", "for"]),
2334
+ i.value.error ? (L(), T("p", wi, U(i.value.error), 1)) : w("", !0),
2335
+ k(Z, {
2336
+ label: e.text.setPassword,
2337
+ "label-key": c.value.setPassword,
2338
+ tone: "accent",
2339
+ type: "submit",
2340
+ "data-signin": "set-password",
2341
+ disabled: W(vt)(i.value),
2342
+ busy: i.value.busy === "setPassword",
2343
+ title: i.value.busy === "setPassword" ? e.text.saving : void 0
2344
+ }, null, 8, [
2345
+ "label",
2346
+ "label-key",
2347
+ "disabled",
2348
+ "busy",
2349
+ "title"
2350
+ ]),
2351
+ k(Z, {
2352
+ label: e.text.back,
2353
+ "label-key": c.value.back,
2354
+ tone: "subtle",
2355
+ "data-signin": "back",
2356
+ disabled: !!i.value.busy,
2357
+ onClick: n[3] ||= (e) => W(r).back()
2358
+ }, null, 8, [
2359
+ "label",
2360
+ "label-key",
2361
+ "disabled"
2362
+ ])
2363
+ ], 32)) : (L(), T("form", {
2364
+ key: 2,
2365
+ class: "glim-signin-form",
2366
+ novalidate: "",
2367
+ onSubmit: n[10] ||= Y((e) => W(r).submit(), ["prevent"])
2368
+ }, [
2369
+ e.note ? (L(), T("p", Ti, U(e.note), 1)) : w("", !0),
2370
+ i.value.viaPasskey ? w("", !0) : B(t.$slots, "fields", {}, void 0, void 0, 1),
2371
+ J(k(gi, {
2372
+ label: e.text.password,
2373
+ for: s("password")
2374
+ }, {
2375
+ default: q(() => [k(Zr, {
2376
+ id: s("password"),
2377
+ "data-signin-field": "password",
2378
+ "model-value": i.value.password,
2379
+ autocomplete: "current-password",
2380
+ text: l.value,
2381
+ "onUpdate:modelValue": n[5] ||= (e) => W(r).set("password", e)
2382
+ }, null, 8, [
2383
+ "id",
2384
+ "model-value",
2385
+ "text"
2386
+ ])]),
2387
+ _: 1
2388
+ }, 8, ["label", "for"]), [[pe, !i.value.viaPasskey]]),
2389
+ i.value.needCode ? (L(), C(gi, {
2390
+ key: 2,
2391
+ label: e.text.code,
2392
+ for: s("code")
2393
+ }, {
2394
+ default: q(() => [k(vi, {
2395
+ id: s("code"),
2396
+ "data-signin-field": "code",
2397
+ class: "glim-signin-code",
2398
+ "model-value": i.value.code,
2399
+ inputmode: "numeric",
2400
+ autocomplete: "one-time-code",
2401
+ spellcheck: "false",
2402
+ placeholder: "000000",
2403
+ "onUpdate:modelValue": n[6] ||= (e) => W(r).set("code", e)
2404
+ }, null, 8, ["id", "model-value"]), E("p", Ei, U(e.text.codeHint), 1)]),
2405
+ _: 1
2406
+ }, 8, ["label", "for"])) : w("", !0),
2407
+ i.value.error ? (L(), T("p", Di, U(i.value.error), 1)) : w("", !0),
2408
+ k(Z, {
2409
+ label: e.text.signIn,
2410
+ "label-key": c.value.signIn,
2411
+ tone: "accent",
2412
+ type: "submit",
2413
+ "data-signin": "submit",
2414
+ disabled: W(Nt)(i.value),
2415
+ busy: i.value.busy === "signIn",
2416
+ title: i.value.busy === "signIn" ? e.text.signingIn : void 0
2417
+ }, null, 8, [
2418
+ "label",
2419
+ "label-key",
2420
+ "disabled",
2421
+ "busy",
2422
+ "title"
2423
+ ]),
2424
+ !i.value.needCode && e.passkey ? (L(), C(Z, {
2425
+ key: 4,
2426
+ label: e.text.passkey,
2427
+ "label-key": c.value.passkey,
2428
+ "data-signin": "passkey",
2429
+ disabled: !!i.value.busy,
2430
+ busy: i.value.busy === "passkey",
2431
+ onClick: n[7] ||= (e) => W(r).passkey()
2432
+ }, null, 8, [
2433
+ "label",
2434
+ "label-key",
2435
+ "disabled",
2436
+ "busy"
2437
+ ])) : w("", !0),
2438
+ i.value.needCode ? w("", !0) : B(t.$slots, "actions", {}, void 0, void 0, 5),
2439
+ i.value.needCode ? (L(), C(Z, {
2440
+ key: 6,
2441
+ label: e.text.back,
2442
+ "label-key": c.value.back,
2443
+ tone: "subtle",
2444
+ "data-signin": "back",
2445
+ disabled: !!i.value.busy,
2446
+ onClick: n[8] ||= (e) => W(r).back()
2447
+ }, null, 8, [
2448
+ "label",
2449
+ "label-key",
2450
+ "disabled"
2451
+ ])) : e.reset ? (L(), C(Z, {
2452
+ key: 7,
2453
+ label: e.text.forgot,
2454
+ "label-key": c.value.forgot,
2455
+ tone: "subtle",
2456
+ "data-signin": "forgot",
2457
+ disabled: !!i.value.busy,
2458
+ busy: i.value.busy === "askCode",
2459
+ onClick: n[9] ||= (e) => W(r).forgot()
2460
+ }, null, 8, [
2461
+ "label",
2462
+ "label-key",
2463
+ "disabled",
2464
+ "busy"
2465
+ ])) : w("", !0)
2466
+ ], 32))], 512)]));
2467
+ }
2468
+ }), ki = ["aria-labelledby"], Ai = {
2158
2469
  key: 0,
2159
2470
  class: "glim-subcard-title"
2160
- }, si = ["id"], ci = /* @__PURE__ */ A({
2471
+ }, ji = ["id"], Mi = /* @__PURE__ */ A({
2161
2472
  __name: "SubCard",
2162
2473
  props: {
2163
2474
  title: {},
2164
2475
  hint: {}
2165
2476
  },
2166
2477
  setup(e) {
2167
- let t = ce();
2478
+ let t = le();
2168
2479
  return (n, r) => (L(), T("section", {
2169
2480
  class: "glim-subcard",
2170
2481
  "aria-labelledby": e.title ? W(t) : void 0
2171
- }, [e.title ? (L(), T("h3", oi, [E("span", { id: W(t) }, U(e.title), 9, si), e.hint ? (L(), C(Q, {
2482
+ }, [e.title ? (L(), T("h3", Ai, [E("span", { id: W(t) }, U(e.title), 9, ji), e.hint ? (L(), C(Q, {
2172
2483
  key: 0,
2173
2484
  tip: e.hint
2174
- }, null, 8, ["tip"])) : w("", !0)])) : w("", !0), B(n.$slots, "default")], 8, ai));
2485
+ }, null, 8, ["tip"])) : w("", !0)])) : w("", !0), B(n.$slots, "default")], 8, ki));
2175
2486
  }
2176
- }), li = ["aria-label"], ui = { key: 0 }, di = { key: 0 }, fi = ["colspan"], pi = /* @__PURE__ */ A({
2487
+ }), Ni = ["aria-label"], Pi = { key: 0 }, Fi = { key: 0 }, Ii = ["colspan"], Li = /* @__PURE__ */ A({
2177
2488
  __name: "Table",
2178
2489
  props: {
2179
2490
  label: {},
@@ -2186,23 +2497,23 @@ var an = {
2186
2497
  return (t, i) => (L(), T("table", {
2187
2498
  class: "glim-table",
2188
2499
  "aria-label": e.label
2189
- }, [n.value ? (L(), T("thead", ui, [E("tr", null, [(L(!0), T(b, null, z(e.columns, (e) => (L(), T("th", {
2500
+ }, [n.value ? (L(), T("thead", Pi, [E("tr", null, [(L(!0), T(b, null, z(e.columns, (e) => (L(), T("th", {
2190
2501
  key: e.key,
2191
2502
  scope: "col",
2192
2503
  class: N({ "glim-table-end": e.end })
2193
2504
  }, 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", {
2194
2505
  key: e.key,
2195
- class: N(W(Mt)(e))
2506
+ class: N(W(Vt)(e))
2196
2507
  }, [B(t.$slots, "cell", {
2197
2508
  row: n,
2198
2509
  column: e,
2199
2510
  value: r(n, e)
2200
- }, () => [O(U(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (L(), T("tr", di, [E("td", {
2511
+ }, () => [O(U(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (L(), T("tr", Fi, [E("td", {
2201
2512
  colspan: e.columns.length,
2202
2513
  class: "glim-table-muted"
2203
- }, U(e.more), 9, fi)])) : w("", !0)])], 8, li));
2514
+ }, U(e.more), 9, Ii)])) : w("", !0)])], 8, Ni));
2204
2515
  }
2205
- }), mi = ["aria-label"], hi = /* @__PURE__ */ A({
2516
+ }), Ri = ["aria-label"], zi = /* @__PURE__ */ A({
2206
2517
  __name: "TextArea",
2207
2518
  props: /*@__PURE__*/ j({
2208
2519
  label: {},
@@ -2214,7 +2525,7 @@ var an = {
2214
2525
  }),
2215
2526
  emits: ["update:modelValue"],
2216
2527
  setup(e, { expose: t }) {
2217
- let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Pt({
2528
+ let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Ut({
2218
2529
  width: n.width,
2219
2530
  mono: n.mono,
2220
2531
  area: !0
@@ -2225,41 +2536,16 @@ var an = {
2225
2536
  "onUpdate:modelValue": t[0] ||= (e) => r.value = e,
2226
2537
  "aria-label": W(i),
2227
2538
  class: N(a.value)
2228
- }, null, 10, mi)), [[de, r.value]]);
2229
- }
2230
- }), gi = ["aria-label"], _i = /* @__PURE__ */ A({
2231
- __name: "TextField",
2232
- props: /*@__PURE__*/ j({
2233
- label: {},
2234
- mono: { type: Boolean },
2235
- width: {}
2236
- }, {
2237
- modelValue: { default: "" },
2238
- modelModifiers: {}
2239
- }),
2240
- emits: ["update:modelValue"],
2241
- setup(e, { expose: t }) {
2242
- let n = e, r = G(e, "modelValue"), i = y(() => n.label), a = S(() => Pt({
2243
- width: n.width,
2244
- mono: n.mono
2245
- })), o = H(null);
2246
- return t({ input: o }), (e, t) => J((L(), T("input", {
2247
- ref_key: "input",
2248
- ref: o,
2249
- "onUpdate:modelValue": t[0] ||= (e) => r.value = e,
2250
- type: "text",
2251
- "aria-label": W(i),
2252
- class: N(a.value)
2253
- }, null, 10, gi)), [[de, r.value]]);
2539
+ }, null, 10, Ri)), [[fe, r.value]]);
2254
2540
  }
2255
- }), vi = { class: "glim-toast-stack" }, yi = [
2541
+ }), Bi = { class: "glim-toast-stack" }, Vi = [
2256
2542
  "role",
2257
2543
  "onMouseenter",
2258
2544
  "onMouseleave",
2259
2545
  "onFocusin",
2260
2546
  "onFocusout",
2261
2547
  "onKeydown"
2262
- ], bi = { class: "glim-toast-body" }, xi = { class: "glim-toast-message" }, Si = { key: 0 }, Ci = ["aria-label", "onClick"], wi = /* @__PURE__ */ A({
2548
+ ], Hi = { class: "glim-toast-body" }, Ui = { class: "glim-toast-message" }, Wi = { key: 0 }, Gi = ["aria-label", "onClick"], Ki = /* @__PURE__ */ A({
2263
2549
  __name: "ToastViewport",
2264
2550
  props: {
2265
2551
  toasts: {},
@@ -2277,7 +2563,7 @@ var an = {
2277
2563
  function i(e, t) {
2278
2564
  t.onClick(), n("dismiss", e);
2279
2565
  }
2280
- return (t, a) => (L(), T("div", vi, [(L(!0), T(b, null, z(e.toasts, (t) => (L(), T("div", {
2566
+ return (t, a) => (L(), T("div", Bi, [(L(!0), T(b, null, z(e.toasts, (t) => (L(), T("div", {
2281
2567
  key: t.id,
2282
2568
  role: r(t.severity),
2283
2569
  class: "glim-toast glim-toast-card",
@@ -2285,13 +2571,13 @@ var an = {
2285
2571
  onMouseleave: (e) => n("leave", t.id),
2286
2572
  onFocusin: (e) => n("focusin", t.id),
2287
2573
  onFocusout: (e) => n("focusout", t.id),
2288
- onKeydown: pe(Y((e) => n("dismiss", t.id), ["stop"]), ["esc"])
2574
+ onKeydown: he(Y((e) => n("dismiss", t.id), ["stop"]), ["esc"])
2289
2575
  }, [
2290
2576
  k(W(p), {
2291
- mark: W(Ce)[t.severity],
2577
+ mark: W(Te)[t.severity],
2292
2578
  class: N(`glim-toast-glyph glim-toast-glyph--${t.severity}`)
2293
2579
  }, null, 8, ["mark", "class"]),
2294
- E("div", bi, [E("p", xi, [(L(!0), T(b, null, z(W(Et)(t.message), (e, t) => (L(), T(b, { key: t }, [t > 0 ? (L(), T("wbr", Si)) : w("", !0), O(U(e), 1)], 64))), 128))]), t.action ? (L(), C(Z, {
2580
+ E("div", Hi, [E("p", Ui, [(L(!0), T(b, null, z(W(Ft)(t.message), (e, t) => (L(), T(b, { key: t }, [t > 0 ? (L(), T("wbr", Wi)) : w("", !0), O(U(e), 1)], 64))), 128))]), t.action ? (L(), C(Z, {
2295
2581
  key: 0,
2296
2582
  class: "glim-toast-action",
2297
2583
  tone: "subtle",
@@ -2304,17 +2590,19 @@ var an = {
2304
2590
  "aria-label": e.dismissLabel,
2305
2591
  class: "glim-btn-bare glim-toast-dismiss",
2306
2592
  onClick: (e) => n("dismiss", t.id)
2307
- }, [k(W(p), { mark: W(xe).dismiss }, null, 8, ["mark"])], 8, Ci)
2308
- ], 40, yi))), 128))]));
2593
+ }, [k(W(p), { mark: W(Ce).dismiss }, null, 8, ["mark"])], 8, Gi)
2594
+ ], 40, Vi))), 128))]));
2309
2595
  }
2310
- }), Ti = {
2596
+ }), qi = {
2311
2597
  key: 0,
2312
2598
  class: "glim-toggle-label"
2313
- }, Ei = [
2599
+ }, Ji = [
2314
2600
  "aria-checked",
2315
2601
  "aria-label",
2602
+ "aria-disabled",
2603
+ "aria-describedby",
2316
2604
  "disabled"
2317
- ], Di = /* @__PURE__ */ A({
2605
+ ], Yi = ["id"], Xi = /* @__PURE__ */ A({
2318
2606
  inheritAttrs: !1,
2319
2607
  __name: "Toggle",
2320
2608
  props: /*@__PURE__*/ j({
@@ -2326,7 +2614,8 @@ var an = {
2326
2614
  disabled: {
2327
2615
  type: Boolean,
2328
2616
  default: !1
2329
- }
2617
+ },
2618
+ refused: {}
2330
2619
  }, {
2331
2620
  modelValue: {
2332
2621
  type: Boolean,
@@ -2335,26 +2624,47 @@ var an = {
2335
2624
  modelModifiers: {}
2336
2625
  }),
2337
2626
  emits: ["update:modelValue"],
2338
- setup(e) {
2339
- let t = e, n = G(e, "modelValue"), r = y(() => t.label), i = S(() => t.label !== void 0 && !t.hideLabel);
2340
- return (t, a) => (L(), T("span", {
2341
- class: N(["glim-toggle", t.$attrs.class]),
2342
- style: P(t.$attrs.style)
2343
- }, [i.value ? (L(), T("span", Ti, U(e.label), 1)) : w("", !0), E("button", M({
2344
- ...t.$attrs,
2345
- class: void 0,
2346
- style: void 0
2347
- }, {
2348
- type: "button",
2349
- role: "switch",
2350
- "aria-checked": n.value,
2351
- "aria-label": W(r),
2352
- disabled: e.disabled,
2353
- class: "glim-toggle-track",
2354
- onClick: a[0] ||= (e) => n.value = !n.value
2355
- }), [...a[1] ||= [E("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Ei)], 6));
2627
+ setup(n) {
2628
+ let r = n, i = G(n, "modelValue"), a = y(() => r.label), o = S(() => r.label !== void 0 && !r.hideLabel), s = t(() => r.refused), c = le(), l = H(null), u;
2629
+ I(() => u?.());
2630
+ function d() {
2631
+ r.refused ? (u?.(), u = At(l.value)) : i.value = !i.value;
2632
+ }
2633
+ return (t, r) => (L(), T(b, null, [
2634
+ E("span", {
2635
+ ref_key: "frame",
2636
+ ref: l,
2637
+ class: N(["glim-toggle", t.$attrs.class]),
2638
+ style: P(t.$attrs.style)
2639
+ }, [o.value ? (L(), T("span", qi, U(n.label), 1)) : w("", !0), E("button", M({
2640
+ ...t.$attrs,
2641
+ class: void 0,
2642
+ style: void 0
2643
+ }, {
2644
+ ref: (e) => W(s).trigger.value = e,
2645
+ type: "button",
2646
+ role: "switch",
2647
+ "aria-checked": i.value,
2648
+ "aria-label": W(a),
2649
+ "aria-disabled": n.refused ? !0 : void 0,
2650
+ "aria-describedby": n.refused ? W(c) : t.$attrs["aria-describedby"],
2651
+ disabled: n.disabled,
2652
+ class: "glim-toggle-track",
2653
+ onClick: d,
2654
+ onMouseenter: r[0] ||= (...e) => W(s).show && W(s).show(...e),
2655
+ onMouseleave: r[1] ||= (...e) => W(s).hide && W(s).hide(...e),
2656
+ onFocus: r[2] ||= (...e) => W(s).showOnFocus && W(s).showOnFocus(...e),
2657
+ onBlur: r[3] ||= (...e) => W(s).hide && W(s).hide(...e)
2658
+ }), [...r[4] ||= [E("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Ji)], 6),
2659
+ n.refused ? (L(), T("span", {
2660
+ key: 0,
2661
+ id: W(c),
2662
+ class: "glim-toggle-refusal"
2663
+ }, U(n.refused), 9, Yi)) : w("", !0),
2664
+ k(e, { state: W(s) }, null, 8, ["state"])
2665
+ ], 64));
2356
2666
  }
2357
- }), Oi = ["aria-label"], ki = [
2667
+ }), Zi = ["aria-label"], Qi = [
2358
2668
  "aria-level",
2359
2669
  "aria-posinset",
2360
2670
  "aria-setsize",
@@ -2365,11 +2675,11 @@ var an = {
2365
2675
  "onClick",
2366
2676
  "onDblclick",
2367
2677
  "onKeydown"
2368
- ], Ai = ["onClick"], ji = {
2678
+ ], $i = ["onClick"], ea = {
2369
2679
  key: 0,
2370
2680
  class: "glim-tree-glyph",
2371
2681
  "aria-hidden": "true"
2372
- }, Mi = { class: "glim-tree-label" }, Ni = /* @__PURE__ */ A({
2682
+ }, ta = { class: "glim-tree-label" }, na = /* @__PURE__ */ A({
2373
2683
  __name: "Tree",
2374
2684
  props: /*@__PURE__*/ j({
2375
2685
  label: {},
@@ -2382,12 +2692,12 @@ var an = {
2382
2692
  }),
2383
2693
  emits: /*@__PURE__*/ j(["activate"], ["update:modelValue", "update:open"]),
2384
2694
  setup(e, { emit: t }) {
2385
- let n = e, i = G(e, "modelValue"), a = G(e, "open"), o = t, s = oe(/* @__PURE__ */ new Map()), c = /* @__PURE__ */ new Set(), l = H(null);
2695
+ let n = e, i = G(e, "modelValue"), a = G(e, "open"), o = t, s = se(/* @__PURE__ */ new Map()), c = /* @__PURE__ */ new Set(), l = H(null);
2386
2696
  function u(e) {
2387
2697
  c.has(e) || (c.add(e), Promise.resolve(n.load(e)).then((t) => s.set(e, t), () => c.delete(e)));
2388
2698
  }
2389
2699
  K(a, (e) => [null, ...e].forEach(u), { immediate: !0 });
2390
- let d = S(() => Rt(s, a.value)), f = S(() => Math.max(d.value.findIndex((e) => e.node.id === i.value), 0));
2700
+ let d = S(() => qt(s, a.value)), f = S(() => Math.max(d.value.findIndex((e) => e.node.id === i.value), 0));
2391
2701
  function p(e) {
2392
2702
  a.value = a.value.includes(e) ? a.value.filter((t) => t !== e) : [...a.value, e];
2393
2703
  }
@@ -2398,8 +2708,8 @@ var an = {
2398
2708
  e.preventDefault(), i.value = n, e.key === "Enter" && o("activate", n);
2399
2709
  return;
2400
2710
  }
2401
- let r = zt(d.value, t, e.key, getComputedStyle(l.value).direction === "rtl");
2402
- r && (e.preventDefault(), "focus" in r ? (i.value = r.focus, Ve(l.value, r.focus)) : p("open" in r ? r.open : r.close));
2711
+ let r = Jt(d.value, t, e.key, getComputedStyle(l.value).direction === "rtl");
2712
+ r && (e.preventDefault(), "focus" in r ? (i.value = r.focus, Ge(l.value, r.focus)) : p("open" in r ? r.open : r.close));
2403
2713
  }
2404
2714
  return (t, n) => (L(), T("div", {
2405
2715
  ref_key: "tree",
@@ -2428,31 +2738,31 @@ var an = {
2428
2738
  "aria-hidden": "true",
2429
2739
  onClick: Y((t) => e.node.hasChildren && p(e.node.id), ["stop"]),
2430
2740
  onDblclick: n[0] ||= Y(() => {}, ["stop"])
2431
- }, [e.node.hasChildren ? (L(), C(W(r), { key: 0 })) : w("", !0)], 40, Ai),
2432
- e.node.glyph ? (L(), T("span", ji, [(L(), C(V(e.open && e.node.openGlyph || e.node.glyph)))])) : w("", !0),
2433
- E("span", Mi, U(e.node.label), 1)
2434
- ], 16, ki))), 128))], 8, Oi));
2741
+ }, [e.node.hasChildren ? (L(), C(W(r), { key: 0 })) : w("", !0)], 40, $i),
2742
+ e.node.glyph ? (L(), T("span", ea, [(L(), C(V(e.open && e.node.openGlyph || e.node.glyph)))])) : w("", !0),
2743
+ E("span", ta, U(e.node.label), 1)
2744
+ ], 16, Qi))), 128))], 8, Zi));
2435
2745
  }
2436
- }), Pi = { class: "glim-notice" }, Fi = { class: "glim-notice-title" }, Ii = { class: "glim-notice-reason" }, Li = {
2746
+ }), ra = { class: "glim-notice" }, ia = { class: "glim-notice-title" }, aa = { class: "glim-notice-reason" }, oa = {
2437
2747
  key: 0,
2438
2748
  class: "glim-notice-action"
2439
- }, Ri = /* @__PURE__ */ A({
2749
+ }, sa = /* @__PURE__ */ A({
2440
2750
  __name: "UnavailableNotice",
2441
2751
  props: { title: {} },
2442
2752
  setup(e) {
2443
- return (t, n) => (L(), T("div", Pi, [
2444
- E("p", Fi, U(e.title), 1),
2445
- E("p", Ii, [B(t.$slots, "default")]),
2446
- t.$slots.action ? (L(), T("div", Li, [B(t.$slots, "action")])) : w("", !0)
2753
+ return (t, n) => (L(), T("div", ra, [
2754
+ E("p", ia, U(e.title), 1),
2755
+ E("p", aa, [B(t.$slots, "default")]),
2756
+ t.$slots.action ? (L(), T("div", oa, [B(t.$slots, "action")])) : w("", !0)
2447
2757
  ]));
2448
2758
  }
2449
- }), zi = ["aria-labelledby", "aria-label"], Bi = ["id"], Vi = { class: "glim-modal-body glim-window-body" }, Hi = {
2759
+ }), ca = ["aria-labelledby", "aria-label"], la = ["id"], ua = { class: "glim-modal-body glim-window-body" }, da = {
2450
2760
  key: 0,
2451
2761
  class: "glim-modal-foot"
2452
- }, Ui = {
2762
+ }, fa = {
2453
2763
  key: 0,
2454
2764
  class: "glim-window-start"
2455
- }, Wi = /* @__PURE__ */ A({
2765
+ }, pa = /* @__PURE__ */ A({
2456
2766
  inheritAttrs: !1,
2457
2767
  __name: "Window",
2458
2768
  props: {
@@ -2464,7 +2774,7 @@ var an = {
2464
2774
  },
2465
2775
  emits: ["close"],
2466
2776
  setup(e, { expose: t, emit: n }) {
2467
- let r = e, i = n, a = le(), o = H(null), s = ce(), c = He(), l = S(() => r.start !== void 0 || !!a.start), u = S(() => Gt(r.actions, l.value, {
2777
+ let r = e, i = n, a = ue(), o = H(null), s = le(), c = Ke(), l = S(() => r.start !== void 0 || !!a.start), u = S(() => en(r.actions, l.value, {
2468
2778
  cancel: {
2469
2779
  label: r.text.cancel,
2470
2780
  labelKey: "common.cancel",
@@ -2479,15 +2789,15 @@ var an = {
2479
2789
  }
2480
2790
  })), d;
2481
2791
  F(() => {
2482
- d = Dt(() => o.value, () => i("close")), o.value && Wt(o.value)?.focus();
2792
+ d = It(() => o.value, () => i("close")), o.value && $t(o.value)?.focus();
2483
2793
  }), ie(() => {
2484
- d?.(), mt(c);
2794
+ d?.(), yt(c);
2485
2795
  }), t({ card: o });
2486
2796
  function f(e) {
2487
2797
  e.onClick?.() !== !1 && i("close");
2488
2798
  }
2489
2799
  function p() {
2490
- Xe() || i("close");
2800
+ et() || i("close");
2491
2801
  }
2492
2802
  return (t, n) => (L(), C(x, { to: "body" }, [E("div", {
2493
2803
  class: "glim-modal-backdrop",
@@ -2508,7 +2818,7 @@ var an = {
2508
2818
  E("h2", {
2509
2819
  id: W(s),
2510
2820
  class: "glim-window-title"
2511
- }, [k(Jt, {
2821
+ }, [k(rn, {
2512
2822
  tone: "heading",
2513
2823
  size: "heading",
2514
2824
  wrap: "",
@@ -2516,9 +2826,9 @@ var an = {
2516
2826
  }, {
2517
2827
  default: q(() => [B(t.$slots, "title", {}, () => [O(U(e.title), 1)])]),
2518
2828
  _: 3
2519
- })], 8, Bi),
2520
- E("div", Vi, [B(t.$slots, "default")]),
2521
- u.value.length ? (L(), T("div", Hi, [l.value ? (L(), T("span", Ui, [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, {
2829
+ })], 8, la),
2830
+ E("div", ua, [B(t.$slots, "default")]),
2831
+ u.value.length ? (L(), T("div", da, [l.value ? (L(), T("span", fa, [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, {
2522
2832
  key: t,
2523
2833
  label: e.label,
2524
2834
  "label-key": e.labelKey,
@@ -2534,14 +2844,14 @@ var an = {
2534
2844
  "disabled",
2535
2845
  "onClick"
2536
2846
  ]))), 128))])) : w("", !0)
2537
- ], 16, zi)], 32)]));
2847
+ ], 16, ca)], 32)]));
2538
2848
  }
2539
2849
  });
2540
2850
  // src/confirm.ts
2541
- function Gi(e) {
2851
+ function ma(e) {
2542
2852
  let t = H(null), n = H(null), r = null, i = null;
2543
2853
  function a(e, n) {
2544
- return i = He(), new Promise((i) => {
2854
+ return i = Ke(), new Promise((i) => {
2545
2855
  r = i, t.value = {
2546
2856
  message: e,
2547
2857
  ...n
@@ -2549,17 +2859,17 @@ function Gi(e) {
2549
2859
  });
2550
2860
  }
2551
2861
  function o(e) {
2552
- r?.(e), r = null, t.value = null, mt(i), i = null;
2862
+ r?.(e), r = null, t.value = null, yt(i), i = null;
2553
2863
  }
2554
2864
  let s = () => o(!1);
2555
2865
  return K(t, (e, t, r) => {
2556
- e && r(Lt(() => n.value, s));
2866
+ e && r(Kt(() => n.value, s));
2557
2867
  }), {
2558
2868
  confirm: a,
2559
2869
  dismiss: s,
2560
2870
  ConfirmHost: A(() => () => {
2561
2871
  let r = t.value;
2562
- return r ? te(x, { to: "body" }, [te(Tn, {
2872
+ return r ? te(x, { to: "body" }, [te(Pn, {
2563
2873
  ref: (e) => n.value = e?.card ?? null,
2564
2874
  title: e.title,
2565
2875
  message: r.message,
@@ -2573,4 +2883,4 @@ function Gi(e) {
2573
2883
  })
2574
2884
  };
2575
2885
  }
2576
- export { Jt as Badge, Xt as BrandMark, Z as Button, ln as Card, pn as Checkbox, vn as ColorPicker, Tn as ConfirmDialog, Bn as ContextMenu, Un as CopyField, qn as EmptyState, Zn as FieldRow, Qn as FieldRowGroup, be as GLIMSTONE_VERSION, tr as GlyphField, nr as GlyphTile, ir as IconButton, g as IconCancel, d as IconCheck, m as IconClose, c as IconCopy, r as IconExpand, f as IconEye, h as IconEyeOff, i as IconFolderOpen, l as IconPencil, Kt as IconTipButton, _ as IconWindowMaximise, a as IconWindowMinimise, o as IconWindowRestore, mr as InfoAboutCard, Q as InfoBubble, _r as InfoHelpCard, Dr as InfoTile, Er as InfoVersionCard, Dn as Kbd, Mr as ListRow, p as MarkSvg, Fr as MenuBar, Lr as Meter, Br as NumberField, Hr as PasswordField, Wr as PathField, Jn as Pill, Kr as ProgressBar, $ as ReadmeButton, qr as RowMark, $r as Selector, ii as SidebarRow, ci as SubCard, pi as Table, hi as TextArea, _i as TextField, wi as ToastViewport, Di as Toggle, Ni as Tree, Ri as UnavailableNotice, Wi as Window, u as glyphFor, xt as selectorTabId, s as setGlyphResolver, rn as useAccent, Gi as useConfirm, y as useFieldName, $t as useHue, Zt as useLabelMode, nn as useMotion, Qt as useRainbow, tn as useShape, t as useTipBubble };
2886
+ 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, g as IconCancel, d as IconCheck, m as IconClose, c as IconCopy, r as IconExpand, f as IconEye, h as IconEyeOff, i as IconFolderOpen, l as IconPencil, tn as IconTipButton, _ as IconWindowMaximise, a as IconWindowMinimise, o as IconWindowRestore, Cr as InfoAboutCard, Q as InfoBubble, Er as InfoHelpCard, Ir as InfoTile, Fr as InfoVersionCard, In as Kbd, Vr as ListRow, p 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, ci as Selector, pi as SidebarRow, Oi as SignInCard, gi as SignInField, Mi as SubCard, Li as Table, zi as TextArea, vi as TextField, Ki as ToastViewport, Xi as Toggle, na as Tree, sa as UnavailableNotice, pa as Window, u as glyphFor, Et as selectorTabId, s as setGlyphResolver, pn as useAccent, ma as useConfirm, y as useFieldName, ln as useHue, sn as useLabelMode, fn as useMotion, cn as useRainbow, dn as useShape, t as useTipBubble };