@glimstone/vue 4.9.1 → 4.9.2
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/ConnectionRow.vue.d.ts +2 -0
- package/dist/MultiSelect.js +109 -0
- package/dist/MultiSelect.vue.d.ts +28 -0
- package/dist/Pagination.js +70 -37
- package/dist/entries/multiselect.d.ts +2 -0
- package/dist/index.js +912 -970
- package/package.json +6 -2
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./Badge-BhK0gMse.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./TipWrap-5Nw7Yj0O.js";
|
|
3
3
|
import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f } from "./Button-CZHmbNOm.js";
|
|
4
|
-
import { C as p, S as m, T as h, _ as g, a as _, b as v, c as ee, d as te, f as
|
|
4
|
+
import { C as p, S as m, T as h, _ as g, a as _, b as v, c as ee, d as te, f as y, g as ne, h as re, i as b, l as ie, m as x, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as fe, w as pe, x as me, y as he } from "./glyphs-CS3VBARx.js";
|
|
5
5
|
import { t as ge } from "./IconTipButton-BLtrZfgN.js";
|
|
6
6
|
import { n as _e, r as ve, t as ye } from "./fieldName-DBygJJfe.js";
|
|
7
7
|
import { t as be } from "./selectParts-0e1ib8BL.js";
|
|
@@ -9,9 +9,9 @@ import { t as xe } from "./Select-DBABOjwc.js";
|
|
|
9
9
|
import { t as Se } from "./IconButton-D5YOChZI.js";
|
|
10
10
|
import { t as Ce } from "./Accordion-JaQ-i8V1.js";
|
|
11
11
|
import { Fragment as S, Teleport as we, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as O, createTextVNode as k, createVNode as A, defineComponent as j, h as Te, inject as Ee, mergeModels as M, mergeProps as N, nextTick as De, normalizeClass as P, normalizeStyle as F, onBeforeUnmount as Oe, onMounted as ke, onScopeDispose as Ae, onUnmounted as je, onUpdated as Me, openBlock as I, provide as Ne, ref as L, renderList as R, renderSlot as z, resolveDynamicComponent as B, shallowReactive as Pe, shallowRef as V, toDisplayString as H, toRef as Fe, unref as U, useAttrs as Ie, useId as Le, useModel as W, useSlots as Re, vModelDynamic as ze, vModelText as Be, vShow as Ve, watch as G, watchEffect as He, withCtx as K, withDirectives as Ue, withKeys as We, withModifiers as q } from "vue";
|
|
12
|
-
import { COLOR_NAMES_DE as Ge, COLOR_PICKER_TEXT as Ke, COPIED_MS as qe, GLIMSTONE_RELEASE_URL as Je, GLIMSTONE_REPO as Ye, GLIMSTONE_VERSION as Xe, MARKS as Ze, NOTIFY_CARD_KEYS as Qe, NOTIFY_KINDS as $e, NOTIFY_REDACTED as et, PASSWORD_FIELD_TEXT as tt, PATH_ROOM_PX as nt, SIGN_IN_TILE_CARDS as rt, SIGN_IN_TILE_KEYS as it, SIGN_IN_TOKEN_LIVES as at, TOAST_MARKS as ot, WIDE_QUERY as st, accountFacts as ct, anchorName as lt, announce as ut, appCardView as dt, ariaSort as ft, attachNumberSteppers as pt, autoSwitch as mt, checkButton as ht, claimMenu as gt, closeMenuOutside as _t, colorPicker as vt, columnValues as yt, componentRows as bt, computeBubblePosition as xt, connectionButtons as St, connectionTestFace as Ct, connectionTile as wt, copyText as Tt, countSelector as Et, createFortressFlow as Dt, createNotifyCardFlow as Ot, createSignInFlow as kt, createSignInTileFlow as At, designRow as jt, donationHandlers as Mt, doubtView as Nt, fieldErrorView as Pt, fieldNoteView as Ft, fieldWidthClass as It, fill as J, floatColorPicker as Lt, focusByLetter as Rt, focusFirstField as zt, focusFirstMenuRow as Bt, focusMenuRow as Vt, focusMenuRowByLetter as Ht, focusTreeRow as Ut, focusedAsker as Wt, footStartShows as Gt, holdPickHeight as Kt, hueVars as qt, isMenuHead as Jt, isTileMark as Yt, isTypeahead as Xt, joinRefusalText as Zt, keepReadmeFit as Qt, labelInside as $t, listKey as en, listOf as tn, listView as nn, liveRegionAttrs as rn, loadPaypal as an, mailHref as on, mediaMatches as sn, memberName as cn, menuIsOpen as ln, menuMove as un, menuRowView as dn, meterView as fn, nearestColorName as pn, nextSort as mn, normalizeHex as hn, notifyChannelName as gn, notifyForm as _n, notifyGlyphKey as vn, notifyPicker as yn, notifyRemoval as bn, notifyRows as xn, numberLink as Sn, offersDiscord as Cn, offersMail as wn, openInBrowser as Tn, openInstance as En, openPopover as Dn, openSheet as On, othersLine as kn, pageLocale as An, passkeyFacts as jn, passkeyOfferKey as Mn, passwordConfirmView as Nn, passwordGoes as Pn, permissionsWith as Fn, phraseReady as In, pickFocusTarget as Ln, pickMarkClass as Rn, pickSearchKey as zn, pickSections as Bn, pickTileKey as Vn, pickTileStyle as Hn, pickerHue as Un, pillClassName as Wn, placeMenu as Gn, placeSubmenu as Kn, plural as qn, portalTarget as Jn, presenceTone as Yn, pressRowControl as Xn, progressView as Zn, qrCode as Qn, readmePartClass as $n, readmePartLabel as er, readmeSoon as tr, readmeUnitClass as nr, removalQuestion as rr, resetBlocked as ir, returnFocus as ar, roveSelector as or, rovedIndex as sr, segmentView as cr, selectByClick as lr, selectorAxis as ur, selectorFlex as dr, selectorTabId as fr, selectorTabId as pr, selectorView as mr, sessionFacts as hr, shake as gr, showNotifyRefusal as _r, showRefusal as vr, showTileRefusal as yr, sidebarRowView as br, signInBlocked as xr, signInCardNotice as Sr, signInDevice as Cr,
|
|
12
|
+
import { COLOR_NAMES_DE as Ge, COLOR_PICKER_TEXT as Ke, COPIED_MS as qe, GLIMSTONE_RELEASE_URL as Je, GLIMSTONE_REPO as Ye, GLIMSTONE_VERSION as Xe, MARKS as Ze, NOTIFY_CARD_KEYS as Qe, NOTIFY_KINDS as $e, NOTIFY_REDACTED as et, PASSWORD_FIELD_TEXT as tt, PATH_ROOM_PX as nt, SIGN_IN_TILE_CARDS as rt, SIGN_IN_TILE_KEYS as it, SIGN_IN_TOKEN_LIVES as at, TOAST_MARKS as ot, WIDE_QUERY as st, accountFacts as ct, anchorName as lt, announce as ut, appCardView as dt, ariaSort as ft, attachNumberSteppers as pt, autoSwitch as mt, checkButton as ht, claimMenu as gt, closeMenuOutside as _t, colorPicker as vt, columnValues as yt, componentRows as bt, computeBubblePosition as xt, connectionButtons as St, connectionTestFace as Ct, connectionTile as wt, copyText as Tt, countSelector as Et, createFortressFlow as Dt, createNotifyCardFlow as Ot, createSignInFlow as kt, createSignInTileFlow as At, designRow as jt, donationHandlers as Mt, doubtView as Nt, fieldErrorView as Pt, fieldNoteView as Ft, fieldWidthClass as It, fill as J, floatColorPicker as Lt, focusByLetter as Rt, focusFirstField as zt, focusFirstMenuRow as Bt, focusMenuRow as Vt, focusMenuRowByLetter as Ht, focusTreeRow as Ut, focusedAsker as Wt, footStartShows as Gt, holdPickHeight as Kt, hueVars as qt, isMenuHead as Jt, isTileMark as Yt, isTypeahead as Xt, joinRefusalText as Zt, keepReadmeFit as Qt, labelInside as $t, listKey as en, listOf as tn, listView as nn, liveRegionAttrs as rn, loadPaypal as an, mailHref as on, mediaMatches as sn, memberName as cn, menuIsOpen as ln, menuMove as un, menuRowView as dn, meterView as fn, nearestColorName as pn, nextSort as mn, normalizeHex as hn, notifyChannelName as gn, notifyForm as _n, notifyGlyphKey as vn, notifyPicker as yn, notifyRemoval as bn, notifyRows as xn, numberLink as Sn, offersDiscord as Cn, offersMail as wn, openInBrowser as Tn, openInstance as En, openPopover as Dn, openSheet as On, othersLine as kn, pageLocale as An, passkeyFacts as jn, passkeyOfferKey as Mn, passwordConfirmView as Nn, passwordGoes as Pn, permissionsWith as Fn, phraseReady as In, pickFocusTarget as Ln, pickMarkClass as Rn, pickSearchKey as zn, pickSections as Bn, pickTileKey as Vn, pickTileStyle as Hn, pickerHue as Un, pillClassName as Wn, placeMenu as Gn, placeSubmenu as Kn, plural as qn, portalTarget as Jn, presenceTone as Yn, pressRowControl as Xn, progressView as Zn, qrCode as Qn, readmePartClass as $n, readmePartLabel as er, readmeSoon as tr, readmeUnitClass as nr, removalQuestion as rr, resetBlocked as ir, returnFocus as ar, roveSelector as or, rovedIndex as sr, segmentView as cr, selectByClick as lr, selectorAxis as ur, selectorFlex as dr, selectorTabId as fr, selectorTabId as pr, selectorView as mr, sessionFacts as hr, shake as gr, showNotifyRefusal as _r, showRefusal as vr, showTileRefusal as yr, sidebarRowView as br, signInBlocked as xr, signInCardNotice as Sr, signInDevice as Cr, signInPasswordAsks as wr, signInPasswordElsewhere as Tr, signInReauthError as Er, signInRedirectAddress as Dr, signInRoleItems as Or, signInScopeItems as kr, signInServiceActions as Ar, signInServiceBadge as jr, signInServiceLabel as Mr, signInServiceName as Nr, signInServicePicker as Pr, signInServiceQuiet as Fr, signInServiceStatus as Ir, signInShortHint as Lr, signInStage as Rr, signInTestLabel as zr, signInTileCards as Br, signInWhen as Vr, skeletonRowView as Hr, softBreaks as Ur, stackWindow as Wr, statusView as Gr, storeShowOthers as Kr, storedShowOthers as qr, subscribeMedia as Jr, syncNumberSteppers as Yr, tableCellClass as Xr, textFieldClass as Zr, tidyMenu as Qr, toastPoliteness as $r, toggleSelection as ei, tokenFacts as ti, trapDialogKeys as ni, treeRows as ri, treeStep as ii, updateAction as ai, updateLine as oi, versionLink as si, warnDeprecated as ci, watchSelectorFit as li, whatsNewLabel as ui, windowFocusTarget as di, windowFoot as fi, withApp as pi } from "@glimstone/core";
|
|
13
13
|
// src/InfoBubble.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
-
var
|
|
14
|
+
var mi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
15
15
|
__name: "InfoBubble",
|
|
16
16
|
props: {
|
|
17
17
|
tip: {},
|
|
@@ -61,9 +61,9 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
61
61
|
"stroke-width": "1.3",
|
|
62
62
|
"stroke-linecap": "round"
|
|
63
63
|
})
|
|
64
|
-
], -1)]], 42,
|
|
64
|
+
], -1)]], 42, mi), A(t, { state: U(i) }, null, 8, ["state"])], 64));
|
|
65
65
|
}
|
|
66
|
-
}),
|
|
66
|
+
}), hi = ["data-glim-title"], gi = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "glim-panel-heading"
|
|
69
69
|
}, X = /* @__PURE__ */ j({
|
|
@@ -88,7 +88,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
88
88
|
}
|
|
89
89
|
]),
|
|
90
90
|
style: F(r.value)
|
|
91
|
-
}, [t.title || t.hint || n.$slots.title ? (I(), E("h2",
|
|
91
|
+
}, [t.title || t.hint || n.$slots.title ? (I(), E("h2", gi, [A(e, {
|
|
92
92
|
tone: "heading",
|
|
93
93
|
size: "heading",
|
|
94
94
|
wrap: "",
|
|
@@ -100,23 +100,23 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
100
100
|
"on-accent": ""
|
|
101
101
|
}, null, 8, ["tip"])) : T("", !0)]),
|
|
102
102
|
_: 3
|
|
103
|
-
}, 8, ["hue-index"])])) : T("", !0), z(n.$slots, "default")], 14,
|
|
103
|
+
}, 8, ["hue-index"])])) : T("", !0), z(n.$slots, "default")], 14, hi));
|
|
104
104
|
}
|
|
105
|
-
}),
|
|
105
|
+
}), _i = {
|
|
106
106
|
key: 0,
|
|
107
107
|
class: "glim-readme-btn-art",
|
|
108
108
|
"aria-hidden": "true"
|
|
109
|
-
},
|
|
109
|
+
}, vi = { class: "glim-readme-btn-text" }, yi = { class: "glim-readme-btn-name" }, bi = {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: "glim-readme-btn-sub"
|
|
112
|
-
},
|
|
112
|
+
}, xi = {
|
|
113
113
|
key: 0,
|
|
114
114
|
class: "glim-readme-btn-sheen",
|
|
115
115
|
"aria-hidden": "true"
|
|
116
|
-
},
|
|
116
|
+
}, Si = {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "glim-readme-btn-hint"
|
|
119
|
-
},
|
|
119
|
+
}, Ci = /* @__PURE__ */ j({
|
|
120
120
|
__name: "ReadmeButton",
|
|
121
121
|
props: {
|
|
122
122
|
brand: {},
|
|
@@ -170,19 +170,19 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
170
170
|
"aria-label": p(t),
|
|
171
171
|
class: U($n)(r, o.value)
|
|
172
172
|
}), {
|
|
173
|
-
default: K(() => [r === 0 && n.$slots.art ? (I(), E("span",
|
|
173
|
+
default: K(() => [r === 0 && n.$slots.art ? (I(), E("span", _i, [z(n.$slots, "art")])) : (I(), E(S, { key: 1 }, [r === 0 && n.$slots.mark ? (I(), E("span", {
|
|
174
174
|
key: 0,
|
|
175
175
|
class: P(`glim-readme-btn-mark ${e.markClass ?? ""}`),
|
|
176
176
|
"aria-hidden": "true"
|
|
177
|
-
}, [z(n.$slots, "mark")], 2)) : T("", !0), D("span",
|
|
177
|
+
}, [z(n.$slots, "mark")], 2)) : T("", !0), D("span", vi, [D("span", yi, H(t.name), 1), f(t) ? (I(), E("span", bi, H(f(t)), 1)) : T("", !0)])], 64))]),
|
|
178
178
|
_: 2
|
|
179
179
|
}, 1040, ["aria-label", "class"]))), 128)),
|
|
180
|
-
o.value ? T("", !0) : (I(), E("span",
|
|
181
|
-
e.hint ? (I(), E("span",
|
|
180
|
+
o.value ? T("", !0) : (I(), E("span", xi)),
|
|
181
|
+
e.hint ? (I(), E("span", Si, [A(Y, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0),
|
|
182
182
|
A(t, { state: U(u) }, null, 8, ["state"])
|
|
183
183
|
], 2));
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
185
|
+
}), wi = { class: "glim-info-text" }, Ti = { class: "glim-info-text" }, Ei = { class: "glim-readme-btn-rows glim-about-give" }, Di = /* @__PURE__ */ j({
|
|
186
186
|
__name: "InfoAboutCard",
|
|
187
187
|
props: {
|
|
188
188
|
text: {},
|
|
@@ -201,10 +201,10 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
201
201
|
"hue-index": e.hueIndex
|
|
202
202
|
}, {
|
|
203
203
|
default: K(() => [
|
|
204
|
-
D("p",
|
|
205
|
-
D("p",
|
|
206
|
-
D("div",
|
|
207
|
-
A(
|
|
204
|
+
D("p", wi, H(e.text.body), 1),
|
|
205
|
+
D("p", Ti, H(e.text.coffee), 1),
|
|
206
|
+
D("div", Ei, [
|
|
207
|
+
A(Ci, {
|
|
208
208
|
brand: "coffee",
|
|
209
209
|
parts: [{
|
|
210
210
|
name: e.text.coffeeButton,
|
|
@@ -214,7 +214,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
214
214
|
art: K(() => [(I(), w(B(e.coffeeArt)))]),
|
|
215
215
|
_: 1
|
|
216
216
|
}, 8, ["parts"]),
|
|
217
|
-
e.onPaypal && e.text.paypalButton ? (I(), w(
|
|
217
|
+
e.onPaypal && e.text.paypalButton ? (I(), w(Ci, {
|
|
218
218
|
key: 0,
|
|
219
219
|
brand: "paypal",
|
|
220
220
|
parts: [{
|
|
@@ -227,7 +227,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
227
227
|
fn: K(() => [(I(), w(B(e.paypalGlyph)))]),
|
|
228
228
|
key: "0"
|
|
229
229
|
} : void 0]), 1032, ["parts"])) : T("", !0),
|
|
230
|
-
e.onCrypto && e.text.cryptoButton ? (I(), w(
|
|
230
|
+
e.onCrypto && e.text.cryptoButton ? (I(), w(Ci, {
|
|
231
231
|
key: 1,
|
|
232
232
|
brand: "bitcoin",
|
|
233
233
|
parts: [{
|
|
@@ -245,7 +245,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
245
245
|
_: 1
|
|
246
246
|
}, 8, ["title", "hue-index"]));
|
|
247
247
|
}
|
|
248
|
-
}),
|
|
248
|
+
}), Oi = { class: "glim-info-text" }, ki = { class: "glim-readme-btn-rows" }, Ai = /* @__PURE__ */ j({
|
|
249
249
|
__name: "InfoHelpCard",
|
|
250
250
|
props: {
|
|
251
251
|
text: {},
|
|
@@ -273,8 +273,8 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
273
273
|
hint: e.text.hint,
|
|
274
274
|
"hue-index": e.hueIndex
|
|
275
275
|
}, {
|
|
276
|
-
default: K(() => [D("p",
|
|
277
|
-
A(
|
|
276
|
+
default: K(() => [D("p", Oi, H(e.text.report), 1), D("div", ki, [
|
|
277
|
+
A(Ci, {
|
|
278
278
|
brand: "github",
|
|
279
279
|
parts: [{
|
|
280
280
|
name: e.text.repoButton,
|
|
@@ -286,7 +286,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
286
286
|
fn: K(() => [(I(), w(B(e.repoGlyph)))]),
|
|
287
287
|
key: "0"
|
|
288
288
|
} : void 0]), 1032, ["parts"]),
|
|
289
|
-
r.value ? (I(), w(
|
|
289
|
+
r.value ? (I(), w(Ci, {
|
|
290
290
|
key: 0,
|
|
291
291
|
brand: "discord",
|
|
292
292
|
parts: [{
|
|
@@ -299,7 +299,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
299
299
|
fn: K(() => [(I(), w(B(e.discordGlyph)))]),
|
|
300
300
|
key: "0"
|
|
301
301
|
} : void 0]), 1032, ["parts"])) : T("", !0),
|
|
302
|
-
n.value ? (I(), w(
|
|
302
|
+
n.value ? (I(), w(Ci, {
|
|
303
303
|
key: 1,
|
|
304
304
|
brand: "house",
|
|
305
305
|
parts: [{
|
|
@@ -312,7 +312,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
312
312
|
fn: K(() => [(I(), w(B(e.mailGlyph)))]),
|
|
313
313
|
key: "0"
|
|
314
314
|
} : void 0]), 1032, ["parts"])) : T("", !0),
|
|
315
|
-
e.manualUrl && e.text.manual ? (I(), w(
|
|
315
|
+
e.manualUrl && e.text.manual ? (I(), w(Ci, {
|
|
316
316
|
key: 2,
|
|
317
317
|
brand: "docs",
|
|
318
318
|
parts: [{
|
|
@@ -326,7 +326,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
326
326
|
fn: K(() => [(I(), w(B(e.manualGlyph)))]),
|
|
327
327
|
key: "0"
|
|
328
328
|
} : void 0]), 1032, ["parts"])) : T("", !0),
|
|
329
|
-
e.onBugReport && e.text.bugReport ? (I(), w(
|
|
329
|
+
e.onBugReport && e.text.bugReport ? (I(), w(Ci, {
|
|
330
330
|
key: 3,
|
|
331
331
|
brand: "github",
|
|
332
332
|
parts: [{
|
|
@@ -347,13 +347,13 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
347
347
|
"hue-index"
|
|
348
348
|
]));
|
|
349
349
|
}
|
|
350
|
-
}),
|
|
350
|
+
}), ji = {
|
|
351
351
|
"data-glim": "AboutCard",
|
|
352
352
|
style: { display: "contents" }
|
|
353
|
-
},
|
|
353
|
+
}, Mi = { class: "glim-version-rows" }, Ni = { class: "glim-version-name" }, Pi = { class: "glim-version-part" }, Fi = ["href"], Ii = {
|
|
354
354
|
key: 1,
|
|
355
355
|
class: "glim-num glim-version-number"
|
|
356
|
-
},
|
|
356
|
+
}, Li = /* @__PURE__ */ j({
|
|
357
357
|
__name: "AboutCard",
|
|
358
358
|
props: {
|
|
359
359
|
text: {},
|
|
@@ -380,7 +380,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
380
380
|
},
|
|
381
381
|
setup(e) {
|
|
382
382
|
let t = e;
|
|
383
|
-
|
|
383
|
+
ci("AboutCard");
|
|
384
384
|
let n = C(() => [...t.version ? [{
|
|
385
385
|
name: t.text.version,
|
|
386
386
|
version: t.version,
|
|
@@ -391,26 +391,26 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
391
391
|
repoUrl: t.glimstoneRepoUrl
|
|
392
392
|
}].map((e) => ({
|
|
393
393
|
row: e,
|
|
394
|
-
link:
|
|
394
|
+
link: si(e)
|
|
395
395
|
}))), r = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
|
|
396
|
-
return (t, i) => (I(), E("div",
|
|
396
|
+
return (t, i) => (I(), E("div", ji, [
|
|
397
397
|
A(X, {
|
|
398
398
|
title: e.text.version,
|
|
399
399
|
"hue-index": r(0)
|
|
400
400
|
}, {
|
|
401
|
-
default: K(() => [D("ul",
|
|
401
|
+
default: K(() => [D("ul", Mi, [(I(!0), E(S, null, R(n.value, ({ row: t, link: n }) => (I(), E("li", {
|
|
402
402
|
key: t.name,
|
|
403
403
|
class: "glim-version-row"
|
|
404
|
-
}, [D("span",
|
|
404
|
+
}, [D("span", Ni, [D("span", Pi, H(t.name), 1)]), n.href ? (I(), E("a", {
|
|
405
405
|
key: 0,
|
|
406
406
|
href: n.href,
|
|
407
407
|
target: "_blank",
|
|
408
408
|
rel: "noopener noreferrer",
|
|
409
409
|
class: "glim-num glim-version-number"
|
|
410
|
-
}, H(n.shown), 9,
|
|
410
|
+
}, H(n.shown), 9, Fi)) : (I(), E("span", Ii, H(n.released ? n.shown : e.text.unreleased(n.shown)), 1))]))), 128))])]),
|
|
411
411
|
_: 1
|
|
412
412
|
}, 8, ["title", "hue-index"]),
|
|
413
|
-
A(
|
|
413
|
+
A(Ai, {
|
|
414
414
|
"hue-index": r(1),
|
|
415
415
|
text: {
|
|
416
416
|
title: e.text.helpTitle,
|
|
@@ -438,7 +438,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
438
438
|
"mail-glyph",
|
|
439
439
|
"open-url"
|
|
440
440
|
]),
|
|
441
|
-
A(
|
|
441
|
+
A(Di, {
|
|
442
442
|
"hue-index": r(2),
|
|
443
443
|
text: e.text,
|
|
444
444
|
"on-coffee": e.onCoffee,
|
|
@@ -459,40 +459,40 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
459
459
|
])
|
|
460
460
|
]));
|
|
461
461
|
}
|
|
462
|
-
}),
|
|
462
|
+
}), Ri = {
|
|
463
463
|
key: 0,
|
|
464
464
|
"data-glim": "BrandMark",
|
|
465
465
|
class: "glim-brand-svg",
|
|
466
466
|
"aria-hidden": "true"
|
|
467
|
-
},
|
|
467
|
+
}, zi = ["innerHTML"], Bi = ["innerHTML"], Vi = ["innerHTML"], Hi = /* @__PURE__ */ j({
|
|
468
468
|
__name: "BrandMark",
|
|
469
469
|
props: {
|
|
470
470
|
svg: {},
|
|
471
471
|
hover: {}
|
|
472
472
|
},
|
|
473
473
|
setup(e) {
|
|
474
|
-
return (t, n) => e.hover ? (I(), E("span",
|
|
474
|
+
return (t, n) => e.hover ? (I(), E("span", Ri, [D("span", {
|
|
475
475
|
class: "glim-mark-rest",
|
|
476
476
|
innerHTML: e.svg
|
|
477
|
-
}, null, 8,
|
|
477
|
+
}, null, 8, zi), D("span", {
|
|
478
478
|
class: "glim-mark-hover",
|
|
479
479
|
innerHTML: e.hover
|
|
480
|
-
}, null, 8,
|
|
480
|
+
}, null, 8, Bi)])) : (I(), E("span", {
|
|
481
481
|
key: 1,
|
|
482
482
|
"data-glim": "BrandMark",
|
|
483
483
|
class: "glim-brand-svg",
|
|
484
484
|
"aria-hidden": "true",
|
|
485
485
|
innerHTML: e.svg
|
|
486
|
-
}, null, 8,
|
|
486
|
+
}, null, 8, Vi));
|
|
487
487
|
}
|
|
488
|
-
}),
|
|
488
|
+
}), Ui = [
|
|
489
489
|
"aria-checked",
|
|
490
490
|
"aria-label",
|
|
491
491
|
"disabled"
|
|
492
|
-
],
|
|
492
|
+
], Wi = {
|
|
493
493
|
class: "glim-checkbox-box",
|
|
494
494
|
"aria-hidden": "true"
|
|
495
|
-
},
|
|
495
|
+
}, Gi = { key: 0 }, Ki = /* @__PURE__ */ j({
|
|
496
496
|
__name: "Checkbox",
|
|
497
497
|
props: /*@__PURE__*/ M({
|
|
498
498
|
label: {},
|
|
@@ -528,12 +528,12 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
528
528
|
class: P(["glim-checkbox", { "glim-checkbox--slim": e.slim }]),
|
|
529
529
|
onClick: i[0] ||= (e) => r.value = !r.value,
|
|
530
530
|
onKeydown: i[1] ||= We(q(() => {}, ["prevent"]), ["enter"])
|
|
531
|
-
}, [D("span",
|
|
531
|
+
}, [D("span", Wi, [A(U(b))]), n.value ? T("", !0) : (I(), E("span", Gi, H(e.label), 1))], 42, Ui));
|
|
532
532
|
}
|
|
533
|
-
}),
|
|
533
|
+
}), qi = ["data-glim-title"], Ji = { class: "glim-modal-head" }, Yi = {
|
|
534
534
|
id: "coffee-title",
|
|
535
535
|
class: "glim-modal-title"
|
|
536
|
-
},
|
|
536
|
+
}, Xi = { class: "glim-give-body" }, Zi = { class: "glim-give-appeal" }, Qi = { class: "glim-give-intro" }, $i = { class: "glim-give-frame" }, ea = ["src", "title"], ta = { class: "glim-give-foot" }, na = /* @__PURE__ */ j({
|
|
537
537
|
__name: "CoffeeDialog",
|
|
538
538
|
props: {
|
|
539
539
|
widgetUrl: {},
|
|
@@ -556,7 +556,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
556
556
|
"aria-labelledby": "coffee-title",
|
|
557
557
|
class: "glim-modal-card glim-modal-card--wide glim-modal-card--tall"
|
|
558
558
|
}, [
|
|
559
|
-
D("div",
|
|
559
|
+
D("div", Ji, [D("h2", Yi, [A(e, {
|
|
560
560
|
tone: "heading",
|
|
561
561
|
size: "heading",
|
|
562
562
|
wrap: ""
|
|
@@ -564,28 +564,28 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
564
564
|
default: K(() => [k(H(t.text.title), 1)]),
|
|
565
565
|
_: 1
|
|
566
566
|
})])]),
|
|
567
|
-
D("div",
|
|
568
|
-
D("p",
|
|
569
|
-
D("p",
|
|
570
|
-
D("div",
|
|
567
|
+
D("div", Xi, [
|
|
568
|
+
D("p", Zi, H(t.text.appeal), 1),
|
|
569
|
+
D("p", Qi, H(t.text.intro), 1),
|
|
570
|
+
D("div", $i, [D("iframe", {
|
|
571
571
|
src: t.widgetUrl,
|
|
572
572
|
title: t.text.title,
|
|
573
573
|
allow: "payment",
|
|
574
574
|
class: "glim-give-iframe"
|
|
575
|
-
}, null, 8,
|
|
575
|
+
}, null, 8, ea)])
|
|
576
576
|
]),
|
|
577
|
-
D("div",
|
|
577
|
+
D("div", ta, [A(f, {
|
|
578
578
|
label: t.text.closeLabel,
|
|
579
579
|
"label-key": "common.close",
|
|
580
580
|
tone: "neutral",
|
|
581
581
|
onClick: r[0] ||= (e) => i("close")
|
|
582
582
|
}, null, 8, ["label"])])
|
|
583
|
-
], 8,
|
|
583
|
+
], 8, qi)]));
|
|
584
584
|
}
|
|
585
|
-
}),
|
|
585
|
+
}), ra = { class: "glim-picker-foot" }, ia = {
|
|
586
586
|
key: 0,
|
|
587
587
|
class: "glim-picker-name"
|
|
588
|
-
},
|
|
588
|
+
}, aa = ["value", "aria-label"], oa = { class: "glim-picker-actions" }, sa = /* @__PURE__ */ j({
|
|
589
589
|
__name: "ColorPicker",
|
|
590
590
|
props: /*@__PURE__*/ M({
|
|
591
591
|
anchor: { default: null },
|
|
@@ -643,12 +643,12 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
643
643
|
ref: s,
|
|
644
644
|
style: { display: "contents" }
|
|
645
645
|
}, null, 512),
|
|
646
|
-
D("div",
|
|
646
|
+
D("div", ra, [
|
|
647
647
|
n[0] ||= D("span", {
|
|
648
648
|
class: "glim-picker-swatch",
|
|
649
649
|
"aria-hidden": "true"
|
|
650
650
|
}, null, -1),
|
|
651
|
-
u.value === null ? T("", !0) : (I(), E("span",
|
|
651
|
+
u.value === null ? T("", !0) : (I(), E("span", ia, H(u.value), 1)),
|
|
652
652
|
D("input", {
|
|
653
653
|
class: "glim-picker-hex",
|
|
654
654
|
value: l.value,
|
|
@@ -656,9 +656,9 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
656
656
|
spellcheck: "false",
|
|
657
657
|
"aria-label": a.hex,
|
|
658
658
|
onInput: m
|
|
659
|
-
}, null, 40,
|
|
659
|
+
}, null, 40, aa)
|
|
660
660
|
]),
|
|
661
|
-
D("div",
|
|
661
|
+
D("div", oa, [A(f, {
|
|
662
662
|
label: a.apply,
|
|
663
663
|
"label-key": "apply",
|
|
664
664
|
glyph: U(b),
|
|
@@ -667,16 +667,16 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
667
667
|
}, null, 8, ["label", "glyph"])])
|
|
668
668
|
], 38)], 8, ["to", "disabled"]));
|
|
669
669
|
}
|
|
670
|
-
}),
|
|
670
|
+
}), ca = ["data-glim-title"], la = { class: "glim-modal-head" }, ua = {
|
|
671
671
|
id: "confirmdialog-title",
|
|
672
672
|
class: "glim-modal-title"
|
|
673
|
-
},
|
|
673
|
+
}, da = { class: "glim-modal-body" }, fa = {
|
|
674
674
|
id: "confirmdialog-message",
|
|
675
675
|
class: "glim-modal-text"
|
|
676
|
-
},
|
|
676
|
+
}, pa = {
|
|
677
677
|
key: 0,
|
|
678
678
|
class: "glim-modal-extra"
|
|
679
|
-
},
|
|
679
|
+
}, ma = { class: "glim-modal-foot" }, ha = /* @__PURE__ */ j({
|
|
680
680
|
__name: "ConfirmDialog",
|
|
681
681
|
props: {
|
|
682
682
|
title: {},
|
|
@@ -704,7 +704,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
704
704
|
"aria-describedby": "confirmdialog-message",
|
|
705
705
|
class: "glim-modal-card"
|
|
706
706
|
}, [
|
|
707
|
-
D("div",
|
|
707
|
+
D("div", la, [D("h2", ua, [A(e, {
|
|
708
708
|
tone: "heading",
|
|
709
709
|
size: "heading",
|
|
710
710
|
wrap: ""
|
|
@@ -719,8 +719,8 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
719
719
|
class: "glim-modal-close",
|
|
720
720
|
onClick: r[0] ||= (e) => i("cancel")
|
|
721
721
|
}, null, 8, ["label", "glyph"]))]),
|
|
722
|
-
D("div",
|
|
723
|
-
D("div",
|
|
722
|
+
D("div", da, [D("p", fa, H(t.message), 1), n.$slots.extra ? (I(), E("div", pa, [z(n.$slots, "extra")])) : T("", !0)]),
|
|
723
|
+
D("div", ma, [A(f, {
|
|
724
724
|
ref_key: "cancel",
|
|
725
725
|
ref: o,
|
|
726
726
|
label: t.cancelLabel,
|
|
@@ -737,18 +737,18 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
737
737
|
"label-key",
|
|
738
738
|
"glyph"
|
|
739
739
|
])])
|
|
740
|
-
], 8,
|
|
740
|
+
], 8, ca)]));
|
|
741
741
|
}
|
|
742
|
-
}),
|
|
742
|
+
}), ga = ["aria-label"], _a = { class: "glim-connection-main" }, va = { class: "glim-connection-head" }, ya = { class: "glim-connection-name" }, ba = {
|
|
743
743
|
key: 0,
|
|
744
744
|
class: "glim-connection-badges"
|
|
745
|
-
},
|
|
745
|
+
}, xa = { class: "glim-connection-foot" }, Sa = { class: "glim-connection-about" }, Ca = {
|
|
746
746
|
key: 0,
|
|
747
747
|
class: "glim-connection-status"
|
|
748
|
-
},
|
|
748
|
+
}, wa = {
|
|
749
749
|
key: 0,
|
|
750
750
|
class: "glim-connection-actions"
|
|
751
|
-
},
|
|
751
|
+
}, Ta = 640, Ea = /* @__PURE__ */ j({
|
|
752
752
|
__name: "ConnectionRow",
|
|
753
753
|
props: {
|
|
754
754
|
name: {},
|
|
@@ -784,10 +784,14 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
784
784
|
class: "glim-connection-tile",
|
|
785
785
|
style: F(n.value.style),
|
|
786
786
|
"aria-hidden": "true"
|
|
787
|
-
}, [D("span", { class: P(n.value.wordmark ? "glim-connection-mark glim-connection-mark--wordmark" : "glim-connection-mark") }, [n.value.svg === void 0 ? (I(), w(B(e.mark), { key: 1 })) : (I(), w(
|
|
787
|
+
}, [D("span", { class: P(n.value.wordmark ? "glim-connection-mark glim-connection-mark--wordmark" : "glim-connection-mark") }, [n.value.svg === void 0 ? (I(), w(B(e.mark), { key: 1 })) : (I(), w(Hi, {
|
|
788
788
|
key: 0,
|
|
789
789
|
svg: n.value.svg
|
|
790
|
-
}, null, 8, ["svg"]))], 2)], 4), D("div",
|
|
790
|
+
}, null, 8, ["svg"]))], 2)], 4), D("div", _a, [D("div", va, [
|
|
791
|
+
D("span", ya, H(e.name), 1),
|
|
792
|
+
t.$slots.badges ? (I(), E("span", ba, [z(t.$slots, "badges")])) : T("", !0),
|
|
793
|
+
z(t.$slots, "control")
|
|
794
|
+
]), D("div", xa, [D("div", Sa, [e.status ? (I(), E("p", Ca, H(e.status), 1)) : T("", !0), z(t.$slots, "default")]), r.value.length > 0 ? (I(), E("span", wa, [(I(!0), E(S, null, R(r.value, (e) => (I(), w(f, {
|
|
791
795
|
key: e.id,
|
|
792
796
|
label: e.label,
|
|
793
797
|
"label-key": e.labelKey,
|
|
@@ -796,7 +800,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
796
800
|
busy: e.busy,
|
|
797
801
|
title: e.title,
|
|
798
802
|
disabled: e.disabled,
|
|
799
|
-
"compact-below":
|
|
803
|
+
"compact-below": Ta,
|
|
800
804
|
class: P({ "glim-shake": e.face.shake }),
|
|
801
805
|
"data-connection": e.id,
|
|
802
806
|
onClick: e.onClick
|
|
@@ -811,25 +815,25 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
811
815
|
"class",
|
|
812
816
|
"data-connection",
|
|
813
817
|
"onClick"
|
|
814
|
-
]))), 128))])) : T("", !0)])])], 8,
|
|
818
|
+
]))), 128))])) : T("", !0)])])], 8, ga));
|
|
815
819
|
}
|
|
816
|
-
}),
|
|
820
|
+
}), Da = {
|
|
817
821
|
"data-glim": "Kbd",
|
|
818
822
|
class: "glim-kbd"
|
|
819
|
-
},
|
|
823
|
+
}, Oa = /* @__PURE__ */ j({
|
|
820
824
|
__name: "Kbd",
|
|
821
825
|
setup(e) {
|
|
822
|
-
return (e, t) => (I(), E("kbd",
|
|
826
|
+
return (e, t) => (I(), E("kbd", Da, [z(e.$slots, "default")]));
|
|
823
827
|
}
|
|
824
|
-
}),
|
|
828
|
+
}), ka = {
|
|
825
829
|
key: 0,
|
|
826
830
|
class: "glim-menu-sep",
|
|
827
831
|
role: "separator"
|
|
828
|
-
},
|
|
832
|
+
}, Aa = {
|
|
829
833
|
key: 1,
|
|
830
834
|
class: "glim-menu-head",
|
|
831
835
|
role: "presentation"
|
|
832
|
-
},
|
|
836
|
+
}, ja = [
|
|
833
837
|
"role",
|
|
834
838
|
"aria-checked",
|
|
835
839
|
"aria-haspopup",
|
|
@@ -837,26 +841,26 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
837
841
|
"disabled",
|
|
838
842
|
"data-row",
|
|
839
843
|
"onClick"
|
|
840
|
-
],
|
|
844
|
+
], Ma = {
|
|
841
845
|
key: 0,
|
|
842
846
|
class: "glim-checkbox-box",
|
|
843
847
|
"aria-hidden": "true"
|
|
844
|
-
},
|
|
848
|
+
}, Na = {
|
|
845
849
|
key: 2,
|
|
846
850
|
class: "glim-menu-glyph",
|
|
847
851
|
"aria-hidden": "true"
|
|
848
|
-
},
|
|
852
|
+
}, Pa = { class: "glim-menu-label" }, Fa = {
|
|
849
853
|
key: 3,
|
|
850
854
|
class: "glim-menu-end glim-menu-caret",
|
|
851
855
|
"aria-hidden": "true"
|
|
852
|
-
},
|
|
856
|
+
}, Ia = {
|
|
853
857
|
key: 4,
|
|
854
858
|
class: "glim-menu-end glim-menu-tick",
|
|
855
859
|
"aria-hidden": "true"
|
|
856
|
-
},
|
|
860
|
+
}, La = {
|
|
857
861
|
key: 6,
|
|
858
862
|
class: "glim-menu-end glim-menu-count glim-num"
|
|
859
|
-
},
|
|
863
|
+
}, Ra = /* @__PURE__ */ j({
|
|
860
864
|
__name: "MenuRows",
|
|
861
865
|
props: {
|
|
862
866
|
entries: {},
|
|
@@ -872,7 +876,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
872
876
|
item: e,
|
|
873
877
|
view: dn(e)
|
|
874
878
|
}));
|
|
875
|
-
return (t, n) => (I(!0), E(S, null, R(i.value, (t, n) => (I(), E(S, { key: n }, [t.kind === "sep" ? (I(), E("div",
|
|
879
|
+
return (t, n) => (I(!0), E(S, null, R(i.value, (t, n) => (I(), E(S, { key: n }, [t.kind === "sep" ? (I(), E("div", ka)) : t.kind === "head" ? (I(), E("div", Aa, [D("span", null, H(t.head.head), 1), t.head.edit ? (I(), w(ge, {
|
|
876
880
|
key: 0,
|
|
877
881
|
tip: t.head.edit.tip,
|
|
878
882
|
role: "menuitem",
|
|
@@ -900,23 +904,23 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
900
904
|
"data-row": n,
|
|
901
905
|
onClick: (e) => r("pick", n)
|
|
902
906
|
}, [
|
|
903
|
-
t.view.lead === "box" ? (I(), E("span",
|
|
907
|
+
t.view.lead === "box" ? (I(), E("span", Ma, [A(U(b))])) : t.view.lead === "dot" ? (I(), E("span", {
|
|
904
908
|
key: 1,
|
|
905
909
|
class: "glim-menu-dot",
|
|
906
910
|
style: F({ backgroundColor: t.item.color }),
|
|
907
911
|
"aria-hidden": "true"
|
|
908
|
-
}, null, 4)) : (I(), E("span",
|
|
909
|
-
D("span",
|
|
910
|
-
t.view.end === "submenu" ? (I(), E("span",
|
|
912
|
+
}, null, 4)) : (I(), E("span", Na, [t.view.lead === "glyph" ? (I(), w(B(t.item.glyph), { key: 0 })) : T("", !0)])),
|
|
913
|
+
D("span", Pa, H(t.item.label), 1),
|
|
914
|
+
t.view.end === "submenu" ? (I(), E("span", Fa, [A(U(le))])) : t.view.end === "tick" ? (I(), E("span", Ia, [A(U(b))])) : t.view.end === "shortcut" ? (I(), w(Oa, {
|
|
911
915
|
key: 5,
|
|
912
916
|
class: "glim-menu-end"
|
|
913
917
|
}, {
|
|
914
918
|
default: K(() => [k(H(t.item.shortcut), 1)]),
|
|
915
919
|
_: 2
|
|
916
|
-
}, 1024)) : t.view.end === "count" ? (I(), E("span",
|
|
917
|
-
], 10,
|
|
920
|
+
}, 1024)) : t.view.end === "count" ? (I(), E("span", La, H(t.item.count), 1)) : T("", !0)
|
|
921
|
+
], 10, ja))], 64))), 128));
|
|
918
922
|
}
|
|
919
|
-
}),
|
|
923
|
+
}), za = ["id", "aria-label"], Ba = ["id", "aria-label"], Va = /* @__PURE__ */ j({
|
|
920
924
|
__name: "ContextMenu",
|
|
921
925
|
props: {
|
|
922
926
|
x: {},
|
|
@@ -939,10 +943,10 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
939
943
|
let n = e, r = t, i = V(null), a = V(null), o = Wt(), s = L({
|
|
940
944
|
left: n.x,
|
|
941
945
|
top: n.y
|
|
942
|
-
}), c = V(null), l = L(null), u = C(() =>
|
|
946
|
+
}), c = V(null), l = L(null), u = C(() => Qr(n.items)), d = C(() => {
|
|
943
947
|
let e = c.value ? u.value[c.value.at] : void 0;
|
|
944
948
|
return e && e !== "-" && !Jt(e) && e.sub ? e : null;
|
|
945
|
-
}), f = C(() => d.value?.sub ?
|
|
949
|
+
}), f = C(() => d.value?.sub ? Qr(d.value.sub) : null), p = () => ({
|
|
946
950
|
width: innerWidth,
|
|
947
951
|
height: innerHeight
|
|
948
952
|
});
|
|
@@ -1031,11 +1035,11 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1031
1035
|
onKeydown: n[1] ||= (e) => ee(e, !1),
|
|
1032
1036
|
onMouseover: te,
|
|
1033
1037
|
onContextmenu: n[2] ||= q(() => {}, ["prevent"])
|
|
1034
|
-
}, [A(
|
|
1038
|
+
}, [A(Ra, {
|
|
1035
1039
|
entries: u.value,
|
|
1036
1040
|
"open-at": c.value?.at,
|
|
1037
1041
|
onPick: n[0] ||= (e) => v(u.value, e)
|
|
1038
|
-
}, null, 8, ["entries", "open-at"])], 44,
|
|
1042
|
+
}, null, 8, ["entries", "open-at"])], 44, za), f.value ? (I(), E("div", {
|
|
1039
1043
|
key: 0,
|
|
1040
1044
|
id: d.value?.subId,
|
|
1041
1045
|
ref_key: "subMenu",
|
|
@@ -1049,15 +1053,15 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1049
1053
|
}),
|
|
1050
1054
|
onKeydown: n[4] ||= (e) => ee(e, !0),
|
|
1051
1055
|
onContextmenu: n[5] ||= q(() => {}, ["prevent"])
|
|
1052
|
-
}, [A(
|
|
1056
|
+
}, [A(Ra, {
|
|
1053
1057
|
entries: f.value,
|
|
1054
1058
|
onPick: n[3] ||= (e) => v(f.value, e)
|
|
1055
|
-
}, null, 8, ["entries"])], 44,
|
|
1059
|
+
}, null, 8, ["entries"])], 44, Ba)) : T("", !0)], 8, ["to"]));
|
|
1056
1060
|
}
|
|
1057
|
-
}),
|
|
1061
|
+
}), Ha = ["value", "aria-label"], Ua = {
|
|
1058
1062
|
role: "status",
|
|
1059
1063
|
class: "glim-sr-only"
|
|
1060
|
-
},
|
|
1064
|
+
}, Wa = /* @__PURE__ */ j({
|
|
1061
1065
|
__name: "CopyField",
|
|
1062
1066
|
props: {
|
|
1063
1067
|
value: {},
|
|
@@ -1088,7 +1092,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1088
1092
|
"aria-label": U(i),
|
|
1089
1093
|
spellcheck: "false",
|
|
1090
1094
|
class: "glim-input glim-input--mono"
|
|
1091
|
-
}, null, 8,
|
|
1095
|
+
}, null, 8, Ha),
|
|
1092
1096
|
A(f, {
|
|
1093
1097
|
label: a.value ? e.text.copied : e.text.copy,
|
|
1094
1098
|
"label-key": a.value ? "copied" : "copy",
|
|
@@ -1100,27 +1104,27 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1100
1104
|
"label-key",
|
|
1101
1105
|
"glyph"
|
|
1102
1106
|
]),
|
|
1103
|
-
D("span",
|
|
1107
|
+
D("span", Ua, H(a.value ? e.text.copied : ""), 1)
|
|
1104
1108
|
], 2));
|
|
1105
1109
|
}
|
|
1106
|
-
}),
|
|
1110
|
+
}), Ga = ["data-glim-title"], Ka = { class: "glim-modal-head" }, qa = {
|
|
1107
1111
|
id: "cryptodonate-title",
|
|
1108
1112
|
class: "glim-modal-title"
|
|
1109
|
-
},
|
|
1113
|
+
}, Ja = { class: "glim-give-body glim-give-body--scroll" }, Ya = { class: "glim-give-appeal" }, Xa = { class: "glim-give-intro" }, Za = { class: "glim-give-well" }, Qa = {
|
|
1110
1114
|
dir: "ltr",
|
|
1111
1115
|
class: "glim-give-address"
|
|
1112
|
-
},
|
|
1116
|
+
}, $a = ["aria-label"], eo = ["aria-selected", "onClick"], to = {
|
|
1113
1117
|
key: 0,
|
|
1114
1118
|
class: "glim-give-note"
|
|
1115
|
-
},
|
|
1119
|
+
}, no = ["aria-label"], ro = [
|
|
1116
1120
|
"aria-selected",
|
|
1117
1121
|
"aria-label",
|
|
1118
1122
|
"title",
|
|
1119
1123
|
"onClick"
|
|
1120
|
-
],
|
|
1124
|
+
], io = {
|
|
1121
1125
|
key: 1,
|
|
1122
1126
|
class: "glim-give-ticker"
|
|
1123
|
-
},
|
|
1127
|
+
}, ao = { class: "glim-give-foot" }, oo = /* @__PURE__ */ j({
|
|
1124
1128
|
__name: "CryptoDonateDialog",
|
|
1125
1129
|
props: {
|
|
1126
1130
|
coins: {},
|
|
@@ -1164,7 +1168,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1164
1168
|
"aria-labelledby": "cryptodonate-title",
|
|
1165
1169
|
class: "glim-modal-card glim-modal-card--wide"
|
|
1166
1170
|
}, [
|
|
1167
|
-
D("div",
|
|
1171
|
+
D("div", Ka, [D("h2", qa, [A(e, {
|
|
1168
1172
|
tone: "heading",
|
|
1169
1173
|
size: "heading",
|
|
1170
1174
|
wrap: ""
|
|
@@ -1172,12 +1176,12 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1172
1176
|
default: K(() => [k(H(t.text.title), 1)]),
|
|
1173
1177
|
_: 1
|
|
1174
1178
|
})])]),
|
|
1175
|
-
D("div",
|
|
1176
|
-
D("p",
|
|
1177
|
-
D("p",
|
|
1178
|
-
D("div",
|
|
1179
|
+
D("div", Ja, [
|
|
1180
|
+
D("p", Ya, H(t.text.appeal), 1),
|
|
1181
|
+
D("p", Xa, H(t.text.intro), 1),
|
|
1182
|
+
D("div", Za, [
|
|
1179
1183
|
z(n.$slots, "qr", { value: t.network.address }),
|
|
1180
|
-
D("p",
|
|
1184
|
+
D("p", Qa, H(t.network.address), 1),
|
|
1181
1185
|
D("div", {
|
|
1182
1186
|
class: "glim-give-networks",
|
|
1183
1187
|
role: "listbox",
|
|
@@ -1190,8 +1194,8 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1190
1194
|
style: F(U(qt)(n)),
|
|
1191
1195
|
class: P(e.id === t.network.id ? "glim-give-network glim-hue glim-active" : "glim-give-network glim-hue"),
|
|
1192
1196
|
onClick: (n) => a("pick", t.coin, e)
|
|
1193
|
-
}, H(e.name), 15,
|
|
1194
|
-
t.network.note ? (I(), E("p",
|
|
1197
|
+
}, H(e.name), 15, eo))), 128))], 8, $a),
|
|
1198
|
+
t.network.note ? (I(), E("p", to, H(t.network.note), 1)) : T("", !0),
|
|
1195
1199
|
A(f, {
|
|
1196
1200
|
label: t.text.copyLabel,
|
|
1197
1201
|
"label-key": "common.copy",
|
|
@@ -1214,17 +1218,17 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1214
1218
|
style: F(d(e, r)),
|
|
1215
1219
|
class: P(p(e)),
|
|
1216
1220
|
onClick: (t) => a("pick", e, e.networks[0])
|
|
1217
|
-
}, [s.value ? z(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (I(), E("span",
|
|
1221
|
+
}, [s.value ? z(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (I(), E("span", io, H(e.symbol), 1)) : T("", !0)], 14, ro))), 128))], 8, no)
|
|
1218
1222
|
]),
|
|
1219
|
-
D("div",
|
|
1223
|
+
D("div", ao, [A(f, {
|
|
1220
1224
|
label: t.text.closeLabel,
|
|
1221
1225
|
"label-key": "common.close",
|
|
1222
1226
|
tone: "neutral",
|
|
1223
1227
|
onClick: r[1] ||= (e) => a("close")
|
|
1224
1228
|
}, null, 8, ["label"])])
|
|
1225
|
-
], 8,
|
|
1229
|
+
], 8, Ga)]));
|
|
1226
1230
|
}
|
|
1227
|
-
}),
|
|
1231
|
+
}), so = ["aria-multiselectable", "aria-label"], co = 4, lo = /* @__PURE__ */ j({
|
|
1228
1232
|
__name: "DropdownListbox",
|
|
1229
1233
|
props: {
|
|
1230
1234
|
open: { type: Boolean },
|
|
@@ -1235,7 +1239,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1235
1239
|
emits: ["close"],
|
|
1236
1240
|
setup(e, { emit: t }) {
|
|
1237
1241
|
let n = e;
|
|
1238
|
-
|
|
1242
|
+
ci("DropdownListbox");
|
|
1239
1243
|
let r = t, i = V(null), a = V(null), o = be(() => n.open, Fe(n, "triggerRef")), s = !1;
|
|
1240
1244
|
G(() => n.open, (e) => {
|
|
1241
1245
|
e || (s = !!i.value?.contains(document.activeElement));
|
|
@@ -1252,7 +1256,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1252
1256
|
}, { left: o, top: s } = xt(t, {
|
|
1253
1257
|
width: t.width,
|
|
1254
1258
|
height: i.value.offsetHeight
|
|
1255
|
-
}, r,
|
|
1259
|
+
}, r, co);
|
|
1256
1260
|
a.value = {
|
|
1257
1261
|
left: o,
|
|
1258
1262
|
top: s,
|
|
@@ -1333,16 +1337,16 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1333
1337
|
...U(o).style.value
|
|
1334
1338
|
}),
|
|
1335
1339
|
onKeydown: g
|
|
1336
|
-
}, [z(t.$slots, "default")], 46,
|
|
1340
|
+
}, [z(t.$slots, "default")], 46, so)], 8, ["to"])) : T("", !0);
|
|
1337
1341
|
}
|
|
1338
|
-
}),
|
|
1342
|
+
}), uo = ["data-glim-title"], fo = {
|
|
1339
1343
|
key: 0,
|
|
1340
1344
|
class: "glim-empty-glyph",
|
|
1341
1345
|
"aria-hidden": "true"
|
|
1342
|
-
},
|
|
1346
|
+
}, po = { class: "glim-empty-title" }, mo = {
|
|
1343
1347
|
key: 1,
|
|
1344
1348
|
class: "glim-empty-hint"
|
|
1345
|
-
},
|
|
1349
|
+
}, ho = /* @__PURE__ */ j({
|
|
1346
1350
|
__name: "EmptyState",
|
|
1347
1351
|
props: {
|
|
1348
1352
|
glyph: {},
|
|
@@ -1359,13 +1363,13 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1359
1363
|
"data-glim-title": e.title,
|
|
1360
1364
|
class: P(e.nested ? "glim-empty" : "glim-card glim-empty")
|
|
1361
1365
|
}, [
|
|
1362
|
-
e.glyph ? (I(), E("span",
|
|
1363
|
-
D("p",
|
|
1364
|
-
e.hint ? (I(), E("p",
|
|
1366
|
+
e.glyph ? (I(), E("span", fo, [(I(), w(B(e.glyph)))])) : T("", !0),
|
|
1367
|
+
D("p", po, H(e.title), 1),
|
|
1368
|
+
e.hint ? (I(), E("p", mo, H(e.hint), 1)) : T("", !0),
|
|
1365
1369
|
z(t.$slots, "default")
|
|
1366
|
-
], 10,
|
|
1370
|
+
], 10, uo));
|
|
1367
1371
|
}
|
|
1368
|
-
}),
|
|
1372
|
+
}), go = ["id"], _o = /* @__PURE__ */ j({
|
|
1369
1373
|
__name: "FieldError",
|
|
1370
1374
|
props: { id: {} },
|
|
1371
1375
|
setup(e) {
|
|
@@ -1373,9 +1377,9 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1373
1377
|
"data-glim": "FieldError",
|
|
1374
1378
|
id: e.id,
|
|
1375
1379
|
class: "glim-field-error"
|
|
1376
|
-
}, [A(U(p), { mark: U(ot).fail }, null, 8, ["mark"]), z(t.$slots, "default")], 8,
|
|
1380
|
+
}, [A(U(p), { mark: U(ot).fail }, null, 8, ["mark"]), z(t.$slots, "default")], 8, go));
|
|
1377
1381
|
}
|
|
1378
|
-
}),
|
|
1382
|
+
}), vo = /* @__PURE__ */ j({
|
|
1379
1383
|
__name: "Pill",
|
|
1380
1384
|
props: { tone: { default: "neutral" } },
|
|
1381
1385
|
setup(e) {
|
|
@@ -1385,7 +1389,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1385
1389
|
class: P(n.value)
|
|
1386
1390
|
}, [z(e.$slots, "default")], 2));
|
|
1387
1391
|
}
|
|
1388
|
-
}),
|
|
1392
|
+
}), yo = { class: "glim-field-row-name" }, bo = {
|
|
1389
1393
|
key: 0,
|
|
1390
1394
|
class: "glim-field-row-controls"
|
|
1391
1395
|
}, Z = /* @__PURE__ */ j({
|
|
@@ -1406,20 +1410,20 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1406
1410
|
ref: r,
|
|
1407
1411
|
"data-glim": "FieldRow",
|
|
1408
1412
|
class: P(["glim-field-row", { "glim-field-row--wide": e.wide }])
|
|
1409
|
-
}, [D("span",
|
|
1413
|
+
}, [D("span", yo, [D("span", {
|
|
1410
1414
|
class: "glim-field-row-label",
|
|
1411
1415
|
onClick: i[0] ||= (e) => U(Xn)(r.value)
|
|
1412
1416
|
}, [z(t.$slots, "label", {}, () => [k(H(e.label), 1)])]), e.hint ? (I(), w(Y, {
|
|
1413
1417
|
key: 0,
|
|
1414
1418
|
tip: e.hint
|
|
1415
|
-
}, null, 8, ["tip"])) : T("", !0)]), U(n) ? (I(), E("span",
|
|
1419
|
+
}, null, 8, ["tip"])) : T("", !0)]), U(n) ? (I(), E("span", bo, [z(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (I(), w(vo, {
|
|
1416
1420
|
key: 0,
|
|
1417
1421
|
class: "glim-num",
|
|
1418
1422
|
tone: e.tone
|
|
1419
1423
|
}, {
|
|
1420
1424
|
default: K(() => [k(H(e.value), 1)]),
|
|
1421
1425
|
_: 1
|
|
1422
|
-
}, 8, ["tone"]))])])) : z(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (I(), w(
|
|
1426
|
+
}, 8, ["tone"]))])])) : z(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (I(), w(vo, {
|
|
1423
1427
|
key: 0,
|
|
1424
1428
|
class: "glim-num",
|
|
1425
1429
|
tone: e.tone
|
|
@@ -1428,7 +1432,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1428
1432
|
_: 1
|
|
1429
1433
|
}, 8, ["tone"]))], void 0, 1)], 2));
|
|
1430
1434
|
}
|
|
1431
|
-
}),
|
|
1435
|
+
}), xo = /* @__PURE__ */ j({
|
|
1432
1436
|
__name: "FieldRowGroup",
|
|
1433
1437
|
props: { columns: {} },
|
|
1434
1438
|
setup(e) {
|
|
@@ -1438,13 +1442,13 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1438
1442
|
style: F(e.columns ? { "--field-columns": e.columns } : void 0)
|
|
1439
1443
|
}, [z(t.$slots, "default")], 4));
|
|
1440
1444
|
}
|
|
1441
|
-
}),
|
|
1445
|
+
}), So = {
|
|
1442
1446
|
key: 0,
|
|
1443
1447
|
class: "glim-modal-foot"
|
|
1444
|
-
},
|
|
1448
|
+
}, Co = {
|
|
1445
1449
|
key: 0,
|
|
1446
1450
|
class: "glim-window-start"
|
|
1447
|
-
},
|
|
1451
|
+
}, wo = { class: "glim-window-actions" }, To = /* @__PURE__ */ j({
|
|
1448
1452
|
__name: "WindowFootRow",
|
|
1449
1453
|
props: {
|
|
1450
1454
|
actions: {},
|
|
@@ -1454,7 +1458,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1454
1458
|
},
|
|
1455
1459
|
emits: ["close"],
|
|
1456
1460
|
setup(e, { emit: t }) {
|
|
1457
|
-
let n = e, r = t, i = C(() =>
|
|
1461
|
+
let n = e, r = t, i = C(() => fi(n.actions, n.hasStart, {
|
|
1458
1462
|
cancel: {
|
|
1459
1463
|
label: n.text.cancel,
|
|
1460
1464
|
labelKey: "common.cancel",
|
|
@@ -1471,7 +1475,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1471
1475
|
function a(e) {
|
|
1472
1476
|
e.onClick?.() !== !1 && r("close");
|
|
1473
1477
|
}
|
|
1474
|
-
return (t, n) => i.value.length ? (I(), E("div",
|
|
1478
|
+
return (t, n) => i.value.length ? (I(), E("div", So, [e.hasStart ? (I(), E("span", Co, [z(t.$slots, "start", {}, () => [k(H(e.start), 1)])])) : T("", !0), D("div", wo, [(I(!0), E(S, null, R(i.value, (e, t) => (I(), w(f, N({ ref_for: !0 }, e.attrs, {
|
|
1475
1479
|
key: t,
|
|
1476
1480
|
label: e.label,
|
|
1477
1481
|
"label-key": e.labelKey,
|
|
@@ -1492,11 +1496,11 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1492
1496
|
"onClick"
|
|
1493
1497
|
]))), 128))])])) : T("", !0);
|
|
1494
1498
|
}
|
|
1495
|
-
}),
|
|
1499
|
+
}), Eo = [
|
|
1496
1500
|
"data-glim-title",
|
|
1497
1501
|
"aria-labelledby",
|
|
1498
1502
|
"aria-label"
|
|
1499
|
-
],
|
|
1503
|
+
], Do = ["id"], Oo = { class: "glim-modal-body glim-window-body" }, Q = /* @__PURE__ */ j({
|
|
1500
1504
|
inheritAttrs: !1,
|
|
1501
1505
|
__name: "Window",
|
|
1502
1506
|
props: {
|
|
@@ -1517,7 +1521,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1517
1521
|
d?.(), a("close");
|
|
1518
1522
|
}
|
|
1519
1523
|
ke(() => {
|
|
1520
|
-
d =
|
|
1524
|
+
d = Wr(() => s.value, f), s.value && di(s.value)?.focus();
|
|
1521
1525
|
}), je(() => {
|
|
1522
1526
|
d?.(), ar(l);
|
|
1523
1527
|
}), n({ card: s });
|
|
@@ -1554,9 +1558,9 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1554
1558
|
}, {
|
|
1555
1559
|
default: K(() => [z(n.$slots, "title", {}, () => [k(H(t.title), 1)])]),
|
|
1556
1560
|
_: 3
|
|
1557
|
-
})], 8,
|
|
1558
|
-
D("div",
|
|
1559
|
-
A(
|
|
1561
|
+
})], 8, Do),
|
|
1562
|
+
D("div", Oo, [z(n.$slots, "default")]),
|
|
1563
|
+
A(To, {
|
|
1560
1564
|
actions: t.actions,
|
|
1561
1565
|
start: t.start,
|
|
1562
1566
|
"has-start": u.value,
|
|
@@ -1572,9 +1576,9 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1572
1576
|
"has-start",
|
|
1573
1577
|
"text"
|
|
1574
1578
|
])
|
|
1575
|
-
], 16,
|
|
1579
|
+
], 16, Eo)], 32)], 8, ["to"]));
|
|
1576
1580
|
}
|
|
1577
|
-
}),
|
|
1581
|
+
}), ko = { class: "glim-fortress-text" }, Ao = /* @__PURE__ */ j({
|
|
1578
1582
|
__name: "FortressDoubtWindow",
|
|
1579
1583
|
props: {
|
|
1580
1584
|
app: {},
|
|
@@ -1601,7 +1605,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1601
1605
|
},
|
|
1602
1606
|
onClose: i[0] ||= (t) => e.onClose()
|
|
1603
1607
|
}, {
|
|
1604
|
-
default: K(() => [D("div",
|
|
1608
|
+
default: K(() => [D("div", ko, [D("p", null, H(n.value.body), 1)])]),
|
|
1605
1609
|
_: 1
|
|
1606
1610
|
}, 8, [
|
|
1607
1611
|
"title",
|
|
@@ -1609,32 +1613,32 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1609
1613
|
"text"
|
|
1610
1614
|
]));
|
|
1611
1615
|
}
|
|
1612
|
-
}),
|
|
1616
|
+
}), jo = ["data-glim-title"], Mo = { class: "glim-instance-top" }, No = {
|
|
1613
1617
|
key: 0,
|
|
1614
1618
|
class: "glim-instance-mark",
|
|
1615
1619
|
"aria-hidden": "true"
|
|
1616
|
-
},
|
|
1620
|
+
}, Po = ["src"], Fo = { class: "glim-instance-main" }, Io = { class: "glim-instance-name" }, Lo = { class: "glim-instance-title" }, Ro = {
|
|
1617
1621
|
key: 0,
|
|
1618
1622
|
class: "glim-instance-badges"
|
|
1619
|
-
},
|
|
1623
|
+
}, zo = {
|
|
1620
1624
|
key: 0,
|
|
1621
1625
|
class: "glim-eyebrow"
|
|
1622
|
-
},
|
|
1626
|
+
}, Bo = {
|
|
1623
1627
|
key: 1,
|
|
1624
1628
|
class: "glim-instance-facts glim-num"
|
|
1625
|
-
},
|
|
1629
|
+
}, Vo = {
|
|
1626
1630
|
key: 2,
|
|
1627
1631
|
class: "glim-instance-figures"
|
|
1628
|
-
},
|
|
1632
|
+
}, Ho = { class: "glim-num" }, Uo = {
|
|
1629
1633
|
key: 3,
|
|
1630
1634
|
class: "glim-instance-acts"
|
|
1631
|
-
},
|
|
1635
|
+
}, Wo = {
|
|
1632
1636
|
key: 0,
|
|
1633
1637
|
class: "glim-instance-body"
|
|
1634
|
-
},
|
|
1638
|
+
}, Go = {
|
|
1635
1639
|
key: 1,
|
|
1636
1640
|
class: "glim-instance-acts"
|
|
1637
|
-
},
|
|
1641
|
+
}, Ko = /* @__PURE__ */ j({
|
|
1638
1642
|
__name: "InstanceCard",
|
|
1639
1643
|
props: {
|
|
1640
1644
|
logo: {},
|
|
@@ -1652,27 +1656,27 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1652
1656
|
class: P(["glim-card glim-instance", e.hueIndex !== void 0 && "glim-hue"]),
|
|
1653
1657
|
style: F(r.value)
|
|
1654
1658
|
}, [
|
|
1655
|
-
D("div",
|
|
1659
|
+
D("div", Mo, [t.$slots.logo ? (I(), E("span", No, [z(t.$slots, "logo")])) : e.logo ? (I(), E("img", {
|
|
1656
1660
|
key: 1,
|
|
1657
1661
|
class: "glim-instance-mark",
|
|
1658
1662
|
src: e.logo,
|
|
1659
1663
|
alt: "",
|
|
1660
1664
|
draggable: "false"
|
|
1661
|
-
}, null, 8,
|
|
1662
|
-
D("div",
|
|
1663
|
-
e.eyebrow ? (I(), E("span",
|
|
1664
|
-
n.value ? (I(), E("p",
|
|
1665
|
-
e.figures?.length ? (I(), E("dl",
|
|
1666
|
-
t.$slots.actions && !t.$slots.default ? (I(), E("div",
|
|
1665
|
+
}, null, 8, Po)) : T("", !0), D("div", Fo, [
|
|
1666
|
+
D("div", Io, [D("h3", Lo, H(e.name), 1), t.$slots.badges ? (I(), E("span", Ro, [z(t.$slots, "badges")])) : T("", !0)]),
|
|
1667
|
+
e.eyebrow ? (I(), E("span", zo, H(e.eyebrow), 1)) : T("", !0),
|
|
1668
|
+
n.value ? (I(), E("p", Bo, H(n.value), 1)) : T("", !0),
|
|
1669
|
+
e.figures?.length ? (I(), E("dl", Vo, [(I(!0), E(S, null, R(e.figures, (e) => (I(), E("div", { key: e.label }, [D("dt", null, H(e.label), 1), D("dd", Ho, H(e.value), 1)]))), 128))])) : T("", !0),
|
|
1670
|
+
t.$slots.actions && !t.$slots.default ? (I(), E("div", Uo, [z(t.$slots, "actions")])) : T("", !0)
|
|
1667
1671
|
])]),
|
|
1668
|
-
t.$slots.default ? (I(), E("div",
|
|
1669
|
-
t.$slots.actions && t.$slots.default ? (I(), E("div",
|
|
1670
|
-
], 14,
|
|
1672
|
+
t.$slots.default ? (I(), E("div", Wo, [z(t.$slots, "default")])) : T("", !0),
|
|
1673
|
+
t.$slots.actions && t.$slots.default ? (I(), E("div", Go, [z(t.$slots, "actions")])) : T("", !0)
|
|
1674
|
+
], 14, jo));
|
|
1671
1675
|
}
|
|
1672
|
-
}),
|
|
1676
|
+
}), qo = {
|
|
1673
1677
|
"data-glim": "PresenceBadges",
|
|
1674
1678
|
style: { display: "contents" }
|
|
1675
|
-
},
|
|
1679
|
+
}, Jo = /* @__PURE__ */ j({
|
|
1676
1680
|
__name: "PresenceBadges",
|
|
1677
1681
|
props: {
|
|
1678
1682
|
instance: {},
|
|
@@ -1684,7 +1688,7 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1684
1688
|
checking: n.text.checking,
|
|
1685
1689
|
away: n.text.away
|
|
1686
1690
|
})[n.instance.presence];
|
|
1687
|
-
return (n, i) => (I(), E("span",
|
|
1691
|
+
return (n, i) => (I(), E("span", qo, [t.instance.relay ? (I(), w(e, { key: 0 }, {
|
|
1688
1692
|
default: K(() => [k(H(t.text.viaRelay), 1)]),
|
|
1689
1693
|
_: 1
|
|
1690
1694
|
})) : T("", !0), A(e, { tone: U(Yn)(t.instance.presence) }, {
|
|
@@ -1694,14 +1698,14 @@ var pi = ["aria-label", "aria-describedby"], Y = /* @__PURE__ */ j({
|
|
|
1694
1698
|
}
|
|
1695
1699
|
});
|
|
1696
1700
|
// src/fortressParts.ts
|
|
1697
|
-
function
|
|
1701
|
+
function Yo(e) {
|
|
1698
1702
|
return e ? pe(`device${e.charAt(0).toUpperCase()}${e.slice(1)}`) : void 0;
|
|
1699
1703
|
}
|
|
1700
1704
|
// src/FortressAppCard.vue?vue&type=script&setup=true&lang.ts
|
|
1701
|
-
var
|
|
1705
|
+
var Xo = { class: "glim-instance-rows" }, Zo = ["data-instance"], Qo = {
|
|
1702
1706
|
class: "glim-instance-device",
|
|
1703
1707
|
"aria-hidden": "true"
|
|
1704
|
-
},
|
|
1708
|
+
}, $o = { class: "glim-instance-row-text" }, es = { class: "glim-instance-row-name" }, ts = { class: "glim-instance-row-sub glim-num" }, ns = { class: "glim-instance-row-end" }, rs = /* @__PURE__ */ j({
|
|
1705
1709
|
inheritAttrs: !1,
|
|
1706
1710
|
__name: "FortressAppCard",
|
|
1707
1711
|
props: {
|
|
@@ -1718,11 +1722,11 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1718
1722
|
connected: n.text.connected,
|
|
1719
1723
|
checking: n.text.checking,
|
|
1720
1724
|
away: n.text.away
|
|
1721
|
-
})[e.presence], o = (e) =>
|
|
1725
|
+
})[e.presence], o = (e) => Yo(e.deviceKind), s = (e) => cn(n.text, n.app, e), c = (e) => !!n.onRemove && !e.self, l = C(() => !!r.value.open || i.value && c(r.value.main)), u = V(null);
|
|
1722
1726
|
function d(e) {
|
|
1723
1727
|
e.doubt ? u.value = e : En(n.app, e, n.onOpen);
|
|
1724
1728
|
}
|
|
1725
|
-
return (n, p) => (I(), E(S, null, [A(
|
|
1729
|
+
return (n, p) => (I(), E(S, null, [A(Ko, N(n.$attrs, {
|
|
1726
1730
|
"data-glim": "FortressAppCard",
|
|
1727
1731
|
"data-fortress-app": t.app.id,
|
|
1728
1732
|
logo: t.app.logo,
|
|
@@ -1749,7 +1753,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1749
1753
|
default: K(() => [k(H(r.value.needs), 1)]),
|
|
1750
1754
|
_: 1
|
|
1751
1755
|
})) : T("", !0),
|
|
1752
|
-
A(
|
|
1756
|
+
A(Jo, {
|
|
1753
1757
|
instance: r.value.main,
|
|
1754
1758
|
text: t.text
|
|
1755
1759
|
}, null, 8, ["instance", "text"])
|
|
@@ -1757,14 +1761,14 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1757
1761
|
_: 2
|
|
1758
1762
|
}, [i.value ? void 0 : {
|
|
1759
1763
|
name: "default",
|
|
1760
|
-
fn: K(() => [D("ul",
|
|
1764
|
+
fn: K(() => [D("ul", Xo, [(I(!0), E(S, null, R(r.value.rows, ({ instance: n, sub: r, open: i }) => (I(), E("li", {
|
|
1761
1765
|
key: n.id,
|
|
1762
1766
|
class: "glim-instance-row",
|
|
1763
1767
|
"data-instance": n.id
|
|
1764
1768
|
}, [
|
|
1765
|
-
D("span",
|
|
1766
|
-
D("span",
|
|
1767
|
-
D("span",
|
|
1769
|
+
D("span", Qo, [o(n) ? (I(), w(B(o(n)), { key: 0 })) : T("", !0)]),
|
|
1770
|
+
D("span", $o, [D("span", es, H(n.device), 1), D("span", ts, H(r), 1)]),
|
|
1771
|
+
D("span", ns, [
|
|
1768
1772
|
A(e, { tone: U(Yn)(n.presence) }, {
|
|
1769
1773
|
default: K(() => [k(H(a(n)), 1)]),
|
|
1770
1774
|
_: 2
|
|
@@ -1801,7 +1805,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1801
1805
|
"onClick"
|
|
1802
1806
|
])) : T("", !0)
|
|
1803
1807
|
])
|
|
1804
|
-
], 8,
|
|
1808
|
+
], 8, Zo))), 128))])]),
|
|
1805
1809
|
key: "0"
|
|
1806
1810
|
}, l.value ? {
|
|
1807
1811
|
name: "actions",
|
|
@@ -1832,7 +1836,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1832
1836
|
"eyebrow",
|
|
1833
1837
|
"facts",
|
|
1834
1838
|
"hue-index"
|
|
1835
|
-
]), u.value ? (I(), w(
|
|
1839
|
+
]), u.value ? (I(), w(Ao, {
|
|
1836
1840
|
key: 0,
|
|
1837
1841
|
app: t.app,
|
|
1838
1842
|
instance: u.value,
|
|
@@ -1847,14 +1851,14 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1847
1851
|
"on-close"
|
|
1848
1852
|
])) : T("", !0)], 64));
|
|
1849
1853
|
}
|
|
1850
|
-
}),
|
|
1854
|
+
}), is = [
|
|
1851
1855
|
"href",
|
|
1852
1856
|
"data-sel-id",
|
|
1853
1857
|
"aria-selected",
|
|
1854
1858
|
"aria-current",
|
|
1855
1859
|
"aria-describedby",
|
|
1856
1860
|
"tabindex"
|
|
1857
|
-
],
|
|
1861
|
+
], as = [
|
|
1858
1862
|
"data-sel-id",
|
|
1859
1863
|
"id",
|
|
1860
1864
|
"role",
|
|
@@ -1867,7 +1871,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1867
1871
|
"aria-hidden",
|
|
1868
1872
|
"disabled",
|
|
1869
1873
|
"tabindex"
|
|
1870
|
-
],
|
|
1874
|
+
], os = ["id"], ss = /* @__PURE__ */ j({
|
|
1871
1875
|
__name: "SelectorSegment",
|
|
1872
1876
|
props: {
|
|
1873
1877
|
item: {},
|
|
@@ -1941,7 +1945,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1941
1945
|
key: 1,
|
|
1942
1946
|
"data-sel-label": "",
|
|
1943
1947
|
class: P(s.value.labelClass)
|
|
1944
|
-
}, H(e.item.label), 3))], 16,
|
|
1948
|
+
}, H(e.item.label), 3))], 16, is)) : (I(), E(S, { key: 1 }, [A(U(r), N({
|
|
1945
1949
|
on: u.value,
|
|
1946
1950
|
show: U(c).show,
|
|
1947
1951
|
hide: U(c).hide
|
|
@@ -1972,7 +1976,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1972
1976
|
key: 1,
|
|
1973
1977
|
"data-sel-label": "",
|
|
1974
1978
|
class: P(s.value.labelClass)
|
|
1975
|
-
}, H(e.item.label), 3))], 16,
|
|
1979
|
+
}, H(e.item.label), 3))], 16, as)]),
|
|
1976
1980
|
_: 1
|
|
1977
1981
|
}, 16, [
|
|
1978
1982
|
"on",
|
|
@@ -1982,16 +1986,16 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
1982
1986
|
key: 0,
|
|
1983
1987
|
id: U(l),
|
|
1984
1988
|
hidden: ""
|
|
1985
|
-
}, H(s.value.tip), 9,
|
|
1989
|
+
}, H(s.value.tip), 9, os)) : T("", !0)], 64)), A(t, { state: U(c) }, null, 8, ["state"])], 64));
|
|
1986
1990
|
}
|
|
1987
|
-
}),
|
|
1991
|
+
}), cs = [
|
|
1988
1992
|
"role",
|
|
1989
1993
|
"aria-label",
|
|
1990
1994
|
"aria-orientation"
|
|
1991
|
-
],
|
|
1995
|
+
], ls = {
|
|
1992
1996
|
key: 0,
|
|
1993
1997
|
class: "glim-sel-list"
|
|
1994
|
-
},
|
|
1998
|
+
}, us = /* @__PURE__ */ j({
|
|
1995
1999
|
__name: "Selector",
|
|
1996
2000
|
props: {
|
|
1997
2001
|
items: {},
|
|
@@ -2038,7 +2042,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2038
2042
|
let n = e, r = t, i = C(() => n.modelValue);
|
|
2039
2043
|
function a(e) {
|
|
2040
2044
|
let t = V(sn(e));
|
|
2041
|
-
return Ae(
|
|
2045
|
+
return Ae(Jr(e, () => t.value = sn(e))), t;
|
|
2042
2046
|
}
|
|
2043
2047
|
let o = ve(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(ur(n.size, n.orientation)), u = a(st), d = C(() => mr({
|
|
2044
2048
|
mode: c.value,
|
|
@@ -2082,7 +2086,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2082
2086
|
return;
|
|
2083
2087
|
}
|
|
2084
2088
|
let { pinWidth: t, canSqueeze: r, canList: i } = d.value;
|
|
2085
|
-
return
|
|
2089
|
+
return li(e, {
|
|
2086
2090
|
pinWidth: t,
|
|
2087
2091
|
fit: n.fit,
|
|
2088
2092
|
canSqueeze: r,
|
|
@@ -2098,10 +2102,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2098
2102
|
label: e.label,
|
|
2099
2103
|
glyph: e.glyph,
|
|
2100
2104
|
disabled: re.value[t]
|
|
2101
|
-
}))), te = C(() => i.value === null ? null : String(i.value)),
|
|
2105
|
+
}))), te = C(() => i.value === null ? null : String(i.value)), y = C(() => n.select === "many"), ne = (e) => y.value ? (i.value ?? []).includes(e) : i.value === e, re = C(() => n.items.map((e) => n.disabled || !!e.disabled)), b = C(() => sr(re.value, n.items.findIndex((e) => ne(e.id))));
|
|
2102
2106
|
function ie(e) {
|
|
2103
2107
|
r("press", e);
|
|
2104
|
-
let t =
|
|
2108
|
+
let t = y.value ? ei(i.value ?? [], e, n.items.map((e) => e.id)) : e;
|
|
2105
2109
|
t !== i.value && r("update:modelValue", t);
|
|
2106
2110
|
}
|
|
2107
2111
|
function x(e) {
|
|
@@ -2131,12 +2135,12 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2131
2135
|
class: P([d.value.className, { "glim-sel--listed": v.value }]),
|
|
2132
2136
|
style: F(_.value.track),
|
|
2133
2137
|
onKeydown: ae
|
|
2134
|
-
}, [(I(!0), E(S, null, R(e.items, (t, n) => (I(), w(
|
|
2138
|
+
}, [(I(!0), E(S, null, R(e.items, (t, n) => (I(), w(ss, {
|
|
2135
2139
|
key: t.id,
|
|
2136
2140
|
item: t,
|
|
2137
2141
|
index: n,
|
|
2138
2142
|
strip: d.value,
|
|
2139
|
-
on:
|
|
2143
|
+
on: ne(t.id),
|
|
2140
2144
|
disabled: re.value[n],
|
|
2141
2145
|
roved: n === b.value,
|
|
2142
2146
|
listed: v.value,
|
|
@@ -2172,7 +2176,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2172
2176
|
"hue-offset",
|
|
2173
2177
|
"panel-id",
|
|
2174
2178
|
"onSelect"
|
|
2175
|
-
]))), 128)), v.value ? (I(), E("div",
|
|
2179
|
+
]))), 128)), v.value ? (I(), E("div", ls, [A(xe, {
|
|
2176
2180
|
"model-value": te.value,
|
|
2177
2181
|
label: U(o) ?? "",
|
|
2178
2182
|
"hide-label": "",
|
|
@@ -2188,18 +2192,18 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2188
2192
|
"size",
|
|
2189
2193
|
"options",
|
|
2190
2194
|
"disabled"
|
|
2191
|
-
])])) : T("", !0)], 46,
|
|
2195
|
+
])])) : T("", !0)], 46, cs));
|
|
2192
2196
|
}
|
|
2193
|
-
}),
|
|
2197
|
+
}), ds = {
|
|
2194
2198
|
key: 0,
|
|
2195
2199
|
class: "glim-toggle-label"
|
|
2196
|
-
},
|
|
2200
|
+
}, fs = [
|
|
2197
2201
|
"aria-checked",
|
|
2198
2202
|
"aria-label",
|
|
2199
2203
|
"aria-disabled",
|
|
2200
2204
|
"aria-describedby",
|
|
2201
2205
|
"disabled"
|
|
2202
|
-
],
|
|
2206
|
+
], ps = ["id"], ms = /* @__PURE__ */ j({
|
|
2203
2207
|
inheritAttrs: !1,
|
|
2204
2208
|
__name: "Toggle",
|
|
2205
2209
|
props: /*@__PURE__*/ M({
|
|
@@ -2234,7 +2238,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2234
2238
|
"data-glim": "Toggle",
|
|
2235
2239
|
class: P(["glim-toggle", n.$attrs.class]),
|
|
2236
2240
|
style: F(n.$attrs.style)
|
|
2237
|
-
}, [o.value ? (I(), E("span",
|
|
2241
|
+
}, [o.value ? (I(), E("span", ds, H(e.label), 1)) : T("", !0), D("button", N({
|
|
2238
2242
|
...n.$attrs,
|
|
2239
2243
|
class: void 0,
|
|
2240
2244
|
style: void 0
|
|
@@ -2253,25 +2257,25 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2253
2257
|
onMouseleave: r[1] ||= (...e) => U(s).hide && U(s).hide(...e),
|
|
2254
2258
|
onFocus: r[2] ||= (...e) => U(s).showOnFocus && U(s).showOnFocus(...e),
|
|
2255
2259
|
onBlur: r[3] ||= (...e) => U(s).hide && U(s).hide(...e)
|
|
2256
|
-
}), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16,
|
|
2260
|
+
}), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, fs)], 6),
|
|
2257
2261
|
e.refused ? (I(), E("span", {
|
|
2258
2262
|
key: 0,
|
|
2259
2263
|
id: U(c),
|
|
2260
2264
|
class: "glim-toggle-refusal"
|
|
2261
|
-
}, H(e.refused), 9,
|
|
2265
|
+
}, H(e.refused), 9, ps)) : T("", !0),
|
|
2262
2266
|
A(t, { state: U(s) }, null, 8, ["state"])
|
|
2263
2267
|
], 64));
|
|
2264
2268
|
}
|
|
2265
|
-
}),
|
|
2269
|
+
}), hs = {
|
|
2266
2270
|
key: 0,
|
|
2267
2271
|
class: "glim-fortress-sub"
|
|
2268
|
-
},
|
|
2272
|
+
}, gs = { class: "glim-permissions" }, _s = ["data-permission"], vs = {
|
|
2269
2273
|
class: "glim-permission-pair",
|
|
2270
2274
|
"aria-hidden": "true"
|
|
2271
|
-
},
|
|
2275
|
+
}, ys = ["src"], bs = { class: "glim-permission-to" }, xs = ["src"], Ss = { class: "glim-permission-text" }, Cs = { class: "glim-permission-title" }, ws = {
|
|
2272
2276
|
key: 0,
|
|
2273
2277
|
class: "glim-fortress-sub"
|
|
2274
|
-
},
|
|
2278
|
+
}, Ts = /* @__PURE__ */ j({
|
|
2275
2279
|
__name: "FortressPermissions",
|
|
2276
2280
|
props: {
|
|
2277
2281
|
text: {},
|
|
@@ -2306,7 +2310,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2306
2310
|
hint: e.text.permissionsAbout,
|
|
2307
2311
|
"hue-index": e.hueIndex
|
|
2308
2312
|
}, {
|
|
2309
|
-
default: K(() => [e.permissions.length === 0 ? (I(), E("p",
|
|
2313
|
+
default: K(() => [e.permissions.length === 0 ? (I(), E("p", hs, H(e.text.noPermissions), 1)) : (I(), E(S, { key: 1 }, [i.value ? (I(), w(us, {
|
|
2310
2314
|
key: 0,
|
|
2311
2315
|
modelValue: n.value,
|
|
2312
2316
|
"onUpdate:modelValue": r[0] ||= (e) => n.value = e,
|
|
@@ -2318,35 +2322,35 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2318
2322
|
"modelValue",
|
|
2319
2323
|
"label",
|
|
2320
2324
|
"items"
|
|
2321
|
-
])) : T("", !0), D("ul",
|
|
2325
|
+
])) : T("", !0), D("ul", gs, [(I(!0), E(S, null, R(a.value, (e) => (I(), E("li", {
|
|
2322
2326
|
key: e.id,
|
|
2323
2327
|
class: P(["glim-permission", e.on && "glim-permission--on"]),
|
|
2324
2328
|
"data-permission": e.id
|
|
2325
2329
|
}, [
|
|
2326
|
-
D("span",
|
|
2330
|
+
D("span", vs, [
|
|
2327
2331
|
s(e.from) ? (I(), E("img", {
|
|
2328
2332
|
key: 0,
|
|
2329
2333
|
src: s(e.from),
|
|
2330
2334
|
alt: "",
|
|
2331
2335
|
draggable: "false"
|
|
2332
|
-
}, null, 8,
|
|
2336
|
+
}, null, 8, ys)) : T("", !0),
|
|
2333
2337
|
A(U(p), {
|
|
2334
2338
|
mark: U(Ze).expand,
|
|
2335
2339
|
class: "glim-permission-arrow"
|
|
2336
2340
|
}, null, 8, ["mark"]),
|
|
2337
|
-
D("span",
|
|
2341
|
+
D("span", bs, [(I(!0), E(S, null, R(e.to, (e) => (I(), E(S, { key: e }, [s(e) ? (I(), E("img", {
|
|
2338
2342
|
key: 0,
|
|
2339
2343
|
src: s(e),
|
|
2340
2344
|
alt: "",
|
|
2341
2345
|
draggable: "false"
|
|
2342
|
-
}, null, 8,
|
|
2346
|
+
}, null, 8, xs)) : T("", !0)], 64))), 128))])
|
|
2343
2347
|
]),
|
|
2344
|
-
D("span",
|
|
2345
|
-
D("span",
|
|
2346
|
-
e.detail ? (I(), E("span",
|
|
2348
|
+
D("span", Ss, [
|
|
2349
|
+
D("span", Cs, H(e.title), 1),
|
|
2350
|
+
e.detail ? (I(), E("span", ws, H(e.detail), 1)) : T("", !0),
|
|
2347
2351
|
z(t.$slots, "extra", { permission: e })
|
|
2348
2352
|
]),
|
|
2349
|
-
A(
|
|
2353
|
+
A(ms, {
|
|
2350
2354
|
"model-value": e.on,
|
|
2351
2355
|
label: e.title,
|
|
2352
2356
|
"hide-label": "",
|
|
@@ -2356,7 +2360,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2356
2360
|
"label",
|
|
2357
2361
|
"onUpdate:modelValue"
|
|
2358
2362
|
])
|
|
2359
|
-
], 10,
|
|
2363
|
+
], 10, _s))), 128))])], 64))]),
|
|
2360
2364
|
_: 3
|
|
2361
2365
|
}, 8, [
|
|
2362
2366
|
"title",
|
|
@@ -2364,26 +2368,26 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2364
2368
|
"hue-index"
|
|
2365
2369
|
]));
|
|
2366
2370
|
}
|
|
2367
|
-
}),
|
|
2371
|
+
}), Es = [
|
|
2368
2372
|
"autocomplete",
|
|
2369
2373
|
"aria-label",
|
|
2370
2374
|
"aria-invalid",
|
|
2371
2375
|
"aria-describedby",
|
|
2372
2376
|
"disabled",
|
|
2373
2377
|
"type"
|
|
2374
|
-
],
|
|
2378
|
+
], Ds = ["id"], Os = {
|
|
2375
2379
|
key: 2,
|
|
2376
2380
|
class: "glim-secret-confirm"
|
|
2377
|
-
},
|
|
2381
|
+
}, ks = ["for"], As = { class: "glim-secret" }, js = [
|
|
2378
2382
|
"id",
|
|
2379
2383
|
"aria-invalid",
|
|
2380
2384
|
"aria-describedby",
|
|
2381
2385
|
"disabled",
|
|
2382
2386
|
"type"
|
|
2383
|
-
],
|
|
2387
|
+
], Ms = {
|
|
2384
2388
|
"aria-live": "polite",
|
|
2385
2389
|
class: "glim-secret-confirm-live"
|
|
2386
|
-
},
|
|
2390
|
+
}, Ns = /* @__PURE__ */ j({
|
|
2387
2391
|
inheritAttrs: !1,
|
|
2388
2392
|
__name: "PasswordField",
|
|
2389
2393
|
props: /*@__PURE__*/ M({
|
|
@@ -2440,7 +2444,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2440
2444
|
disabled: e.disabled,
|
|
2441
2445
|
type: s.value ? "text" : "password",
|
|
2442
2446
|
class: "glim-input"
|
|
2443
|
-
}), null, 16,
|
|
2447
|
+
}), null, 16, Es), [[ze, i.value]]), A(ge, N(e.eyeAttrs, {
|
|
2444
2448
|
tip: s.value ? o.value.hide : o.value.show,
|
|
2445
2449
|
class: "glim-secret-eye",
|
|
2446
2450
|
disabled: e.disabled,
|
|
@@ -2449,7 +2453,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2449
2453
|
default: K(() => [(I(), w(B(s.value ? U(ie) : U(ee))))]),
|
|
2450
2454
|
_: 1
|
|
2451
2455
|
}, 16, ["tip", "disabled"])], 6),
|
|
2452
|
-
g.value.errorId ? (I(), w(
|
|
2456
|
+
g.value.errorId ? (I(), w(_o, {
|
|
2453
2457
|
key: 0,
|
|
2454
2458
|
id: g.value.errorId
|
|
2455
2459
|
}, {
|
|
@@ -2460,11 +2464,11 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2460
2464
|
key: 1,
|
|
2461
2465
|
id: h.value.noteId,
|
|
2462
2466
|
class: "glim-field-note"
|
|
2463
|
-
}, H(e.note), 9,
|
|
2464
|
-
e.confirm && _.value.shown ? (I(), E("span",
|
|
2467
|
+
}, H(e.note), 9, Ds)) : T("", !0),
|
|
2468
|
+
e.confirm && _.value.shown ? (I(), E("span", Os, [D("label", {
|
|
2465
2469
|
for: `${m.value}-confirm`,
|
|
2466
2470
|
class: "glim-secret-confirm-label"
|
|
2467
|
-
}, H(o.value.confirm), 9,
|
|
2471
|
+
}, H(o.value.confirm), 9, ks), D("span", { class: P(["glim-secret-confirm-box", f.value]) }, [D("span", As, [Ue(D("input", {
|
|
2468
2472
|
id: `${m.value}-confirm`,
|
|
2469
2473
|
"onUpdate:modelValue": n[2] ||= (e) => l.value = e,
|
|
2470
2474
|
autocomplete: "new-password",
|
|
@@ -2474,7 +2478,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2474
2478
|
disabled: e.disabled,
|
|
2475
2479
|
type: c.value ? "text" : "password",
|
|
2476
2480
|
class: "glim-input"
|
|
2477
|
-
}, null, 8,
|
|
2481
|
+
}, null, 8, js), [[ze, l.value]]), A(ge, {
|
|
2478
2482
|
tip: c.value ? o.value.hide : o.value.show,
|
|
2479
2483
|
class: "glim-secret-eye",
|
|
2480
2484
|
disabled: e.disabled,
|
|
@@ -2482,7 +2486,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2482
2486
|
}, {
|
|
2483
2487
|
default: K(() => [(I(), w(B(c.value ? U(ie) : U(ee))))]),
|
|
2484
2488
|
_: 1
|
|
2485
|
-
}, 8, ["tip", "disabled"])]), D("span",
|
|
2489
|
+
}, 8, ["tip", "disabled"])]), D("span", Ms, [v.value.errorId ? (I(), w(_o, {
|
|
2486
2490
|
key: 0,
|
|
2487
2491
|
id: v.value.errorId
|
|
2488
2492
|
}, {
|
|
@@ -2491,67 +2495,67 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2491
2495
|
}, 8, ["id"])) : T("", !0)])], 2)])) : T("", !0)
|
|
2492
2496
|
], 64));
|
|
2493
2497
|
}
|
|
2494
|
-
}),
|
|
2498
|
+
}), Ps = { class: "glim-phrase-fields" }, Fs = { class: "glim-phrase-number glim-num" }, Is = [
|
|
2495
2499
|
"data-word",
|
|
2496
2500
|
"value",
|
|
2497
2501
|
"aria-label",
|
|
2498
2502
|
"onInput"
|
|
2499
|
-
],
|
|
2503
|
+
], Ls = { class: "glim-fortress-sub" }, Rs = {
|
|
2500
2504
|
key: 0,
|
|
2501
2505
|
class: "glim-fortress-note",
|
|
2502
2506
|
"data-fortress": "moves"
|
|
2503
|
-
},
|
|
2507
|
+
}, zs = {
|
|
2504
2508
|
key: 1,
|
|
2505
2509
|
class: "glim-fortress-error",
|
|
2506
2510
|
role: "alert"
|
|
2507
|
-
},
|
|
2511
|
+
}, Bs = {
|
|
2508
2512
|
key: 1,
|
|
2509
2513
|
class: "glim-fortress-result"
|
|
2510
|
-
},
|
|
2514
|
+
}, Vs = {
|
|
2511
2515
|
class: "glim-fortress-result-mark",
|
|
2512
2516
|
"aria-hidden": "true"
|
|
2513
|
-
},
|
|
2517
|
+
}, Hs = { class: "glim-fortress-text" }, Us = { class: "glim-fortress-result-title" }, Ws = { class: "glim-fortress-sub" }, Gs = {
|
|
2514
2518
|
key: 2,
|
|
2515
2519
|
class: "glim-fortress-text"
|
|
2516
|
-
},
|
|
2520
|
+
}, Ks = { class: "glim-fortress-sub" }, qs = {
|
|
2517
2521
|
key: 0,
|
|
2518
2522
|
class: "glim-fortress-error",
|
|
2519
2523
|
role: "alert"
|
|
2520
|
-
},
|
|
2524
|
+
}, Js = {
|
|
2521
2525
|
key: 3,
|
|
2522
2526
|
class: "glim-fortress-text"
|
|
2523
|
-
},
|
|
2527
|
+
}, Ys = { class: "glim-fortress-sub" }, Xs = {
|
|
2524
2528
|
key: 0,
|
|
2525
2529
|
class: "glim-fortress-error",
|
|
2526
2530
|
role: "alert"
|
|
2527
|
-
},
|
|
2531
|
+
}, Zs = {
|
|
2528
2532
|
key: 4,
|
|
2529
2533
|
class: "glim-fortress-text"
|
|
2530
|
-
},
|
|
2534
|
+
}, Qs = {
|
|
2531
2535
|
key: 0,
|
|
2532
2536
|
class: "glim-fortress-error",
|
|
2533
2537
|
role: "alert"
|
|
2534
|
-
},
|
|
2538
|
+
}, $s = {
|
|
2535
2539
|
key: 0,
|
|
2536
2540
|
class: "glim-fortress-error",
|
|
2537
2541
|
role: "alert"
|
|
2538
|
-
},
|
|
2542
|
+
}, ec = {
|
|
2539
2543
|
key: 6,
|
|
2540
2544
|
class: "glim-fortress-text"
|
|
2541
|
-
},
|
|
2545
|
+
}, tc = { class: "glim-fortress-sub" }, nc = {
|
|
2542
2546
|
key: 0,
|
|
2543
2547
|
class: "glim-fortress-error",
|
|
2544
2548
|
role: "alert"
|
|
2545
|
-
},
|
|
2549
|
+
}, rc = {
|
|
2546
2550
|
key: 7,
|
|
2547
2551
|
class: "glim-fortress-text"
|
|
2548
|
-
},
|
|
2552
|
+
}, ic = { class: "glim-phrase-show" }, ac = {
|
|
2549
2553
|
class: "glim-phrase-words",
|
|
2550
2554
|
"data-fortress": "words"
|
|
2551
|
-
},
|
|
2555
|
+
}, oc = { class: "glim-phrase-number glim-num" }, sc = ["aria-label", "viewBox"], cc = ["width", "height"], lc = ["d"], uc = { class: "glim-phrase-scan" }, dc = {
|
|
2552
2556
|
key: 0,
|
|
2553
2557
|
class: "glim-fortress-sub"
|
|
2554
|
-
},
|
|
2558
|
+
}, fc = /* @__PURE__ */ j({
|
|
2555
2559
|
__name: "FortressWindow",
|
|
2556
2560
|
props: {
|
|
2557
2561
|
flow: {},
|
|
@@ -2579,7 +2583,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2579
2583
|
}), G(() => a.value.kind, async () => {
|
|
2580
2584
|
await De();
|
|
2581
2585
|
let e = n.value?.card;
|
|
2582
|
-
e &&
|
|
2586
|
+
e && di(e)?.focus();
|
|
2583
2587
|
});
|
|
2584
2588
|
function u(e, t, n, r, i = !1) {
|
|
2585
2589
|
return {
|
|
@@ -2682,10 +2686,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2682
2686
|
onSubmit: i[0] ||= q((t) => e.flow.join(), ["prevent"])
|
|
2683
2687
|
}, [
|
|
2684
2688
|
D("p", null, H(e.text.about), 1),
|
|
2685
|
-
D("div",
|
|
2689
|
+
D("div", Ps, [(I(!0), E(S, null, R(a.value.words, (t, n) => (I(), E("label", {
|
|
2686
2690
|
key: n,
|
|
2687
2691
|
class: "glim-phrase-field"
|
|
2688
|
-
}, [D("span",
|
|
2692
|
+
}, [D("span", Fs, H(n + 1), 1), D("input", {
|
|
2689
2693
|
class: "glim-input",
|
|
2690
2694
|
"data-word": n,
|
|
2691
2695
|
value: t,
|
|
@@ -2695,32 +2699,32 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2695
2699
|
autocorrect: "off",
|
|
2696
2700
|
spellcheck: "false",
|
|
2697
2701
|
onInput: (t) => e.flow.enter(n, t.target.value)
|
|
2698
|
-
}, null, 40,
|
|
2702
|
+
}, null, 40, Is)]))), 128))]),
|
|
2699
2703
|
i[4] ||= D("button", {
|
|
2700
2704
|
type: "submit",
|
|
2701
2705
|
hidden: ""
|
|
2702
2706
|
}, null, -1),
|
|
2703
|
-
D("p",
|
|
2704
|
-
o.value ? (I(), E("p",
|
|
2707
|
+
D("p", Ls, H(e.text.phraseWhere), 1),
|
|
2708
|
+
o.value ? (I(), E("p", Rs, [U(pe)("info") ? (I(), w(B(U(pe)("info")), { key: 0 })) : T("", !0), D("span", null, H(U(J)(e.text.moves, {
|
|
2705
2709
|
app: e.app.name,
|
|
2706
2710
|
devices: o.value
|
|
2707
2711
|
})), 1)])) : T("", !0),
|
|
2708
|
-
e.state.error ? (I(), E("p",
|
|
2709
|
-
], 32)) : a.value.kind === "joined" ? (I(), E("div",
|
|
2712
|
+
e.state.error ? (I(), E("p", zs, H(e.state.error), 1)) : T("", !0)
|
|
2713
|
+
], 32)) : a.value.kind === "joined" ? (I(), E("div", Bs, [D("span", Vs, [A(U(p), { mark: U(Ze).check }, null, 8, ["mark"])]), D("div", Hs, [D("p", Us, H(U(J)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", Ws, H(o.value ? `${U(J)(e.text.joinedMoved, { devices: o.value })} ` : "") + H(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (I(), E("div", Gs, [
|
|
2710
2714
|
D("p", null, H(U(J)(e.text.leaveBody, { app: e.app.name })) + H(o.value ? ` ${U(J)(e.text.leavePairing, { devices: o.value })}` : "") + H(e.leaveNote ? ` ${e.leaveNote}` : ""), 1),
|
|
2711
|
-
D("p",
|
|
2712
|
-
e.state.error ? (I(), E("p",
|
|
2713
|
-
])) : a.value.kind === "remove" ? (I(), E("div",
|
|
2715
|
+
D("p", Ks, H(e.text.leaveBack), 1),
|
|
2716
|
+
e.state.error ? (I(), E("p", qs, H(e.state.error), 1)) : T("", !0)
|
|
2717
|
+
])) : a.value.kind === "remove" ? (I(), E("div", Js, [
|
|
2714
2718
|
D("p", null, H(U(J)(e.text.removeBody, { device: a.value.device })), 1),
|
|
2715
|
-
D("p",
|
|
2716
|
-
e.state.error ? (I(), E("p",
|
|
2717
|
-
])) : a.value.kind === "removed" ? (I(), E("div",
|
|
2719
|
+
D("p", Ys, H(e.text.removeBack), 1),
|
|
2720
|
+
e.state.error ? (I(), E("p", Xs, H(e.state.error), 1)) : T("", !0)
|
|
2721
|
+
])) : a.value.kind === "removed" ? (I(), E("div", Zs, [D("p", null, H(U(J)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (I(), E("p", Qs, H(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (I(), E("form", {
|
|
2718
2722
|
key: 5,
|
|
2719
2723
|
class: "glim-fortress-text",
|
|
2720
2724
|
onSubmit: i[2] ||= q((t) => e.flow.unlock(), ["prevent"])
|
|
2721
2725
|
}, [
|
|
2722
2726
|
D("p", null, H(U(J)(e.text.phrasePassword, { app: e.app.name })), 1),
|
|
2723
|
-
A(
|
|
2727
|
+
A(Ns, {
|
|
2724
2728
|
"model-value": a.value.password,
|
|
2725
2729
|
"aria-label": U(J)(e.text.password, { app: e.app.name }),
|
|
2726
2730
|
placeholder: U(J)(e.text.password, { app: e.app.name }),
|
|
@@ -2735,15 +2739,15 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2735
2739
|
"placeholder",
|
|
2736
2740
|
"text"
|
|
2737
2741
|
]),
|
|
2738
|
-
e.state.error ? (I(), E("p",
|
|
2739
|
-
], 32)) : a.value.kind === "change" ? (I(), E("div",
|
|
2742
|
+
e.state.error ? (I(), E("p", $s, H(e.state.error), 1)) : T("", !0)
|
|
2743
|
+
], 32)) : a.value.kind === "change" ? (I(), E("div", ec, [
|
|
2740
2744
|
D("p", null, H(e.text.changeBody), 1),
|
|
2741
|
-
D("p",
|
|
2742
|
-
e.state.error ? (I(), E("p",
|
|
2743
|
-
])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (I(), E("div",
|
|
2745
|
+
D("p", tc, H(e.text.changeAway), 1),
|
|
2746
|
+
e.state.error ? (I(), E("p", nc, H(e.state.error), 1)) : T("", !0)
|
|
2747
|
+
])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (I(), E("div", rc, [
|
|
2744
2748
|
D("p", null, H(e.text.phraseBody), 1),
|
|
2745
|
-
D("div",
|
|
2746
|
-
D("ol",
|
|
2749
|
+
D("div", ic, [
|
|
2750
|
+
D("ol", ac, [(I(!0), E(S, null, R(a.value.words, (e, t) => (I(), E("li", { key: t }, [D("span", oc, H(t + 1), 1), k(H(e), 1)]))), 128))]),
|
|
2747
2751
|
f.value ? (I(), E("svg", {
|
|
2748
2752
|
key: 0,
|
|
2749
2753
|
class: "glim-phrase-qr",
|
|
@@ -2758,13 +2762,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2758
2762
|
width: f.value.side,
|
|
2759
2763
|
height: f.value.side,
|
|
2760
2764
|
fill: "#ffffff"
|
|
2761
|
-
}, null, 8,
|
|
2765
|
+
}, null, 8, cc), D("path", {
|
|
2762
2766
|
d: f.value.path,
|
|
2763
2767
|
fill: "#161616"
|
|
2764
|
-
}, null, 8,
|
|
2765
|
-
D("p",
|
|
2768
|
+
}, null, 8, lc)], 8, sc)) : T("", !0),
|
|
2769
|
+
D("p", uc, H(e.text.scanHint), 1)
|
|
2766
2770
|
]),
|
|
2767
|
-
a.value.kind === "changed" && a.value.left.length ? (I(), E("p",
|
|
2771
|
+
a.value.kind === "changed" && a.value.left.length ? (I(), E("p", dc, H(U(J)(e.text.changedLeft, { devices: U(tn)(e.lang, a.value.left) })), 1)) : T("", !0)
|
|
2768
2772
|
])) : T("", !0)]),
|
|
2769
2773
|
_: 1
|
|
2770
2774
|
}, 8, [
|
|
@@ -2775,25 +2779,25 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2775
2779
|
"text"
|
|
2776
2780
|
]));
|
|
2777
2781
|
}
|
|
2778
|
-
}),
|
|
2782
|
+
}), pc = {
|
|
2779
2783
|
"data-glim": "Fortress",
|
|
2780
2784
|
class: "glim-fortress"
|
|
2781
|
-
},
|
|
2785
|
+
}, mc = { class: "glim-fortress-grid" }, hc = {
|
|
2782
2786
|
key: 0,
|
|
2783
2787
|
class: "glim-card glim-instance glim-instance--out",
|
|
2784
2788
|
"data-fortress": "out"
|
|
2785
|
-
},
|
|
2789
|
+
}, gc = { class: "glim-instance-title" }, _c = { class: "glim-instance-hint" }, vc = {
|
|
2786
2790
|
key: 0,
|
|
2787
2791
|
class: "glim-instance-found"
|
|
2788
|
-
},
|
|
2792
|
+
}, yc = ["src"], bc = { class: "glim-fortress-switch-text" }, xc = { class: "glim-fortress-switch-name" }, Sc = { class: "glim-fortress-sub" }, Cc = {
|
|
2789
2793
|
key: 1,
|
|
2790
2794
|
class: "glim-fortress-removed",
|
|
2791
2795
|
"data-fortress": "removed",
|
|
2792
2796
|
role: "status"
|
|
2793
|
-
},
|
|
2797
|
+
}, wc = { class: "glim-fortress-grid" }, Tc = {
|
|
2794
2798
|
key: 3,
|
|
2795
2799
|
class: "glim-fortress-actions"
|
|
2796
|
-
},
|
|
2800
|
+
}, Ec = /* @__PURE__ */ j({
|
|
2797
2801
|
__name: "Fortress",
|
|
2798
2802
|
props: {
|
|
2799
2803
|
text: {},
|
|
@@ -2847,20 +2851,20 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2847
2851
|
unlock: "unlock",
|
|
2848
2852
|
copy: "copy",
|
|
2849
2853
|
...n.labelKeys
|
|
2850
|
-
})), c = L(
|
|
2854
|
+
})), c = L(qr()), l = C(() => n.showOthers ?? c.value);
|
|
2851
2855
|
function u(e) {
|
|
2852
|
-
r("update:showOthers", e), n.showOthers === void 0 && (
|
|
2856
|
+
r("update:showOthers", e), n.showOthers === void 0 && (Kr(e), c.value = e);
|
|
2853
2857
|
}
|
|
2854
2858
|
let d = C(() => J(n.text.removedNote, { devices: tn(n.lang, n.removed) })), p = C(() => kn(n.text, n.lang, n.apps));
|
|
2855
|
-
return (t, n) => (I(), E("div",
|
|
2856
|
-
D("div",
|
|
2857
|
-
D("h3",
|
|
2858
|
-
D("p",
|
|
2859
|
-
e.found ? (I(), E("p",
|
|
2859
|
+
return (t, n) => (I(), E("div", pc, [
|
|
2860
|
+
D("div", mc, [z(t.$slots, "default", { remove: U(i).openRemove }), e.joined ? T("", !0) : (I(), E("div", hc, [
|
|
2861
|
+
D("h3", gc, H(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
|
|
2862
|
+
D("p", _c, H(U(J)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
|
|
2863
|
+
e.found ? (I(), E("p", vc, [e.found.logo ? (I(), E("img", {
|
|
2860
2864
|
key: 0,
|
|
2861
2865
|
src: e.found.logo,
|
|
2862
2866
|
alt: ""
|
|
2863
|
-
}, null, 8,
|
|
2867
|
+
}, null, 8, yc)) : T("", !0), D("span", null, H(U(J)(e.text.found, {
|
|
2864
2868
|
app: e.found.app,
|
|
2865
2869
|
device: e.found.device
|
|
2866
2870
|
})), 1)])) : T("", !0)
|
|
@@ -2869,14 +2873,14 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2869
2873
|
key: 0,
|
|
2870
2874
|
class: "glim-card glim-fortress-switch glim-hue",
|
|
2871
2875
|
style: F(U(qt)(e.hueStart))
|
|
2872
|
-
}, [D("span",
|
|
2876
|
+
}, [D("span", bc, [D("span", xc, [k(H(e.text.showOthers), 1), A(Y, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Sc, H(p.value), 1)]), A(ms, {
|
|
2873
2877
|
"model-value": l.value,
|
|
2874
2878
|
label: e.text.showOthers,
|
|
2875
2879
|
"hide-label": "",
|
|
2876
2880
|
"data-fortress": "others",
|
|
2877
2881
|
"onUpdate:modelValue": u
|
|
2878
2882
|
}, null, 8, ["model-value", "label"])], 4)) : T("", !0),
|
|
2879
|
-
e.joined && e.removed.length ? (I(), E("div",
|
|
2883
|
+
e.joined && e.removed.length ? (I(), E("div", Cc, [
|
|
2880
2884
|
U(pe)("info") ? (I(), w(B(U(pe)("info")), { key: 0 })) : T("", !0),
|
|
2881
2885
|
D("span", null, H(d.value), 1),
|
|
2882
2886
|
e.onChangePhrase ? (I(), w(f, {
|
|
@@ -2888,11 +2892,11 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2888
2892
|
onClick: n[0] ||= (e) => U(i).openChange()
|
|
2889
2893
|
}, null, 8, ["label", "label-key"])) : T("", !0)
|
|
2890
2894
|
])) : T("", !0),
|
|
2891
|
-
e.joined && l.value ? (I(), E(S, { key: 2 }, [D("div",
|
|
2895
|
+
e.joined && l.value ? (I(), E(S, { key: 2 }, [D("div", wc, [(I(!0), E(S, null, R(e.apps, (n, r) => (I(), E(S, { key: n.id }, [t.$slots.app ? z(t.$slots, "app", {
|
|
2892
2896
|
app: n,
|
|
2893
2897
|
hueIndex: e.hueStart + 1 + r,
|
|
2894
2898
|
remove: e.onRemove && U(i).openRemove
|
|
2895
|
-
}, void 0, void 0, 0) : (I(), w(
|
|
2899
|
+
}, void 0, void 0, 0) : (I(), w(rs, {
|
|
2896
2900
|
key: 1,
|
|
2897
2901
|
app: n,
|
|
2898
2902
|
text: e.text,
|
|
@@ -2909,7 +2913,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2909
2913
|
"on-open",
|
|
2910
2914
|
"on-remove",
|
|
2911
2915
|
"remove-key"
|
|
2912
|
-
]))], 64))), 128))]), A(
|
|
2916
|
+
]))], 64))), 128))]), A(Ts, {
|
|
2913
2917
|
text: e.text,
|
|
2914
2918
|
app: e.app,
|
|
2915
2919
|
apps: [e.app, ...e.apps],
|
|
@@ -2929,7 +2933,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2929
2933
|
"notify",
|
|
2930
2934
|
"hue-index"
|
|
2931
2935
|
])], 64)) : T("", !0),
|
|
2932
|
-
!e.joined || e.onShowPhrase ? (I(), E("div",
|
|
2936
|
+
!e.joined || e.onShowPhrase ? (I(), E("div", Tc, [e.joined ? (I(), w(f, {
|
|
2933
2937
|
key: 0,
|
|
2934
2938
|
label: e.text.showPhrase,
|
|
2935
2939
|
"label-key": s.value.showPhrase,
|
|
@@ -2951,7 +2955,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2951
2955
|
"data-fortress": "open-join",
|
|
2952
2956
|
onClick: n[2] ||= (e) => U(i).openJoin()
|
|
2953
2957
|
}, null, 8, ["label", "label-key"]))])) : T("", !0),
|
|
2954
|
-
a.value.window ? (I(), w(
|
|
2958
|
+
a.value.window ? (I(), w(fc, {
|
|
2955
2959
|
key: 4,
|
|
2956
2960
|
flow: U(i),
|
|
2957
2961
|
state: a.value,
|
|
@@ -2973,7 +2977,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
2973
2977
|
])) : T("", !0)
|
|
2974
2978
|
]));
|
|
2975
2979
|
}
|
|
2976
|
-
}),
|
|
2980
|
+
}), Dc = /* @__PURE__ */ j({
|
|
2977
2981
|
__name: "FortressPairing",
|
|
2978
2982
|
props: {
|
|
2979
2983
|
text: {},
|
|
@@ -3051,7 +3055,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3051
3055
|
_: 1
|
|
3052
3056
|
}, 8, ["label", "hint"]),
|
|
3053
3057
|
z(t.$slots, "after"),
|
|
3054
|
-
r.value.window ? (I(), w(
|
|
3058
|
+
r.value.window ? (I(), w(fc, {
|
|
3055
3059
|
key: 1,
|
|
3056
3060
|
flow: U(n),
|
|
3057
3061
|
state: r.value,
|
|
@@ -3077,13 +3081,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3077
3081
|
_: 3
|
|
3078
3082
|
}, 8, ["title", "hue-index"]));
|
|
3079
3083
|
}
|
|
3080
|
-
}),
|
|
3084
|
+
}), Oc = [
|
|
3081
3085
|
"aria-label",
|
|
3082
3086
|
"aria-valuemin",
|
|
3083
3087
|
"aria-valuemax",
|
|
3084
3088
|
"aria-valuenow",
|
|
3085
3089
|
"aria-valuetext"
|
|
3086
|
-
],
|
|
3090
|
+
], kc = /* @__PURE__ */ j({
|
|
3087
3091
|
__name: "ProgressBar",
|
|
3088
3092
|
props: {
|
|
3089
3093
|
value: { default: null },
|
|
@@ -3115,48 +3119,48 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3115
3119
|
}, [D("span", {
|
|
3116
3120
|
class: "glim-progress-fill",
|
|
3117
3121
|
style: F(n.value.width ? { width: n.value.width } : void 0)
|
|
3118
|
-
}, null, 4)], 10,
|
|
3122
|
+
}, null, 4)], 10, Oc));
|
|
3119
3123
|
}
|
|
3120
|
-
}),
|
|
3124
|
+
}), Ac = { class: "glim-status-title" }, jc = ["src"], Mc = {
|
|
3121
3125
|
class: "glim-fortress-text",
|
|
3122
3126
|
"data-fortress": "status"
|
|
3123
|
-
},
|
|
3127
|
+
}, Nc = {
|
|
3124
3128
|
key: 0,
|
|
3125
3129
|
class: "glim-fortress-note",
|
|
3126
3130
|
"data-fortress": "loading"
|
|
3127
|
-
},
|
|
3131
|
+
}, Pc = { role: "status" }, Fc = {
|
|
3128
3132
|
key: 1,
|
|
3129
3133
|
class: "glim-fortress-note",
|
|
3130
3134
|
role: "status",
|
|
3131
3135
|
"data-fortress": "error"
|
|
3132
|
-
},
|
|
3136
|
+
}, Ic = {
|
|
3133
3137
|
key: 2,
|
|
3134
3138
|
class: "glim-status-state",
|
|
3135
3139
|
"data-fortress": "state"
|
|
3136
|
-
},
|
|
3140
|
+
}, Lc = {
|
|
3137
3141
|
key: 0,
|
|
3138
3142
|
class: "glim-fortress-sub"
|
|
3139
|
-
},
|
|
3143
|
+
}, Rc = {
|
|
3140
3144
|
key: 3,
|
|
3141
3145
|
class: "glim-status-section",
|
|
3142
3146
|
"data-fortress": "needs"
|
|
3143
|
-
},
|
|
3147
|
+
}, zc = { class: "glim-status-heading" }, Bc = { class: "glim-status-list" }, Vc = {
|
|
3144
3148
|
key: 4,
|
|
3145
3149
|
class: "glim-status-section",
|
|
3146
3150
|
"data-fortress": "work"
|
|
3147
|
-
},
|
|
3151
|
+
}, Hc = { class: "glim-status-heading" }, Uc = { class: "glim-status-list" }, Wc = {
|
|
3148
3152
|
key: 5,
|
|
3149
3153
|
class: "glim-status-section",
|
|
3150
3154
|
"data-fortress": "next"
|
|
3151
|
-
},
|
|
3155
|
+
}, Gc = { class: "glim-status-heading" }, Kc = { class: "glim-status-list" }, qc = { class: "glim-status-at glim-num" }, Jc = {
|
|
3152
3156
|
key: 6,
|
|
3153
3157
|
class: "glim-status-section",
|
|
3154
3158
|
"data-fortress": "log"
|
|
3155
|
-
},
|
|
3159
|
+
}, Yc = { class: "glim-status-heading" }, Xc = { class: "glim-status-list" }, Zc = { class: "glim-status-at glim-num" }, Qc = {
|
|
3156
3160
|
key: 7,
|
|
3157
3161
|
class: "glim-fortress-sub",
|
|
3158
3162
|
"data-fortress": "where"
|
|
3159
|
-
},
|
|
3163
|
+
}, $c = /* @__PURE__ */ j({
|
|
3160
3164
|
__name: "FortressStatusWindow",
|
|
3161
3165
|
props: {
|
|
3162
3166
|
app: {},
|
|
@@ -3170,7 +3174,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3170
3174
|
onClose: { type: Function }
|
|
3171
3175
|
},
|
|
3172
3176
|
setup(t) {
|
|
3173
|
-
let n = t, r = C(() =>
|
|
3177
|
+
let n = t, r = C(() => Gr({
|
|
3174
3178
|
app: n.app,
|
|
3175
3179
|
instance: n.instance,
|
|
3176
3180
|
report: n.report,
|
|
@@ -3195,22 +3199,22 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3195
3199
|
},
|
|
3196
3200
|
onClose: o[0] ||= (e) => t.onClose()
|
|
3197
3201
|
}, {
|
|
3198
|
-
title: K(() => [D("span",
|
|
3202
|
+
title: K(() => [D("span", Ac, [t.app.logo ? (I(), E("img", {
|
|
3199
3203
|
key: 0,
|
|
3200
3204
|
src: t.app.logo,
|
|
3201
3205
|
alt: ""
|
|
3202
|
-
}, null, 8,
|
|
3203
|
-
default: K(() => [D("div",
|
|
3204
|
-
r.value.loading ? (I(), E("p",
|
|
3206
|
+
}, null, 8, jc)) : T("", !0), k(H(r.value.title), 1)])]),
|
|
3207
|
+
default: K(() => [D("div", Mc, [
|
|
3208
|
+
r.value.loading ? (I(), E("p", Nc, [A(c, {
|
|
3205
3209
|
size: "small",
|
|
3206
3210
|
delay: 0
|
|
3207
|
-
}), D("span",
|
|
3208
|
-
r.value.error === void 0 ? T("", !0) : (I(), E("p",
|
|
3209
|
-
r.value.state ? (I(), E("p",
|
|
3211
|
+
}), D("span", Pc, H(r.value.loading), 1)])) : T("", !0),
|
|
3212
|
+
r.value.error === void 0 ? T("", !0) : (I(), E("p", Fc, [U(a) ? (I(), w(B(U(a)), { key: 0 })) : T("", !0), D("span", null, H(r.value.error), 1)])),
|
|
3213
|
+
r.value.state ? (I(), E("p", Ic, [A(e, { tone: r.value.state.tone }, {
|
|
3210
3214
|
default: K(() => [k(H(r.value.state.label), 1)]),
|
|
3211
3215
|
_: 1
|
|
3212
|
-
}, 8, ["tone"]), r.value.quiet ? (I(), E("span",
|
|
3213
|
-
r.value.needsYou.length ? (I(), E("section",
|
|
3216
|
+
}, 8, ["tone"]), r.value.quiet ? (I(), E("span", Lc, H(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
|
|
3217
|
+
r.value.needsYou.length ? (I(), E("section", Rc, [D("h3", zc, H(t.text.statusNeedsYou), 1), D("ul", Bc, [(I(!0), E(S, null, R(r.value.needsYou, (t, n) => (I(), E("li", {
|
|
3214
3218
|
key: n,
|
|
3215
3219
|
class: "glim-status-line"
|
|
3216
3220
|
}, [
|
|
@@ -3224,26 +3228,26 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3224
3228
|
o[1] ||= k(),
|
|
3225
3229
|
D("span", null, H(t.text), 1)
|
|
3226
3230
|
]))), 128))])])) : T("", !0),
|
|
3227
|
-
r.value.work.length ? (I(), E("section",
|
|
3231
|
+
r.value.work.length ? (I(), E("section", Vc, [D("h3", Hc, H(t.text.statusWork), 1), D("ul", Uc, [(I(!0), E(S, null, R(r.value.work, (e, t) => (I(), E("li", {
|
|
3228
3232
|
key: t,
|
|
3229
3233
|
class: "glim-status-work"
|
|
3230
|
-
}, [D("span", null, H(e.title), 1), A(
|
|
3234
|
+
}, [D("span", null, H(e.title), 1), A(kc, {
|
|
3231
3235
|
value: e.progress,
|
|
3232
3236
|
label: e.title
|
|
3233
3237
|
}, null, 8, ["value", "label"])]))), 128))])])) : T("", !0),
|
|
3234
|
-
r.value.next.length ? (I(), E("section",
|
|
3238
|
+
r.value.next.length ? (I(), E("section", Wc, [D("h3", Gc, H(t.text.statusNext), 1), D("ul", Kc, [(I(!0), E(S, null, R(r.value.next, (e, t) => (I(), E("li", {
|
|
3235
3239
|
key: t,
|
|
3236
3240
|
class: "glim-status-line"
|
|
3237
3241
|
}, [
|
|
3238
3242
|
D("span", null, H(e.title), 1),
|
|
3239
3243
|
o[2] ||= k(),
|
|
3240
|
-
D("span",
|
|
3244
|
+
D("span", qc, H(e.at), 1)
|
|
3241
3245
|
]))), 128))])])) : T("", !0),
|
|
3242
|
-
r.value.log.length ? (I(), E("section",
|
|
3246
|
+
r.value.log.length ? (I(), E("section", Jc, [D("h3", Yc, H(t.text.statusLog), 1), D("ul", Xc, [(I(!0), E(S, null, R(r.value.log, (t, n) => (I(), E("li", {
|
|
3243
3247
|
key: n,
|
|
3244
3248
|
class: "glim-status-line"
|
|
3245
3249
|
}, [
|
|
3246
|
-
D("span",
|
|
3250
|
+
D("span", Zc, H(t.at), 1),
|
|
3247
3251
|
o[3] ||= k(),
|
|
3248
3252
|
t.level ? (I(), w(e, {
|
|
3249
3253
|
key: 0,
|
|
@@ -3255,7 +3259,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3255
3259
|
o[4] ||= k(),
|
|
3256
3260
|
D("span", null, H(t.text), 1)
|
|
3257
3261
|
]))), 128))])])) : T("", !0),
|
|
3258
|
-
r.value.where ? (I(), E("p",
|
|
3262
|
+
r.value.where ? (I(), E("p", Qc, H(r.value.where), 1)) : T("", !0)
|
|
3259
3263
|
])]),
|
|
3260
3264
|
_: 1
|
|
3261
3265
|
}, 8, [
|
|
@@ -3265,10 +3269,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3265
3269
|
"text"
|
|
3266
3270
|
]));
|
|
3267
3271
|
}
|
|
3268
|
-
}),
|
|
3272
|
+
}), el = {
|
|
3269
3273
|
class: "glim-glyph-field-glyph",
|
|
3270
3274
|
"aria-hidden": "true"
|
|
3271
|
-
},
|
|
3275
|
+
}, tl = ["aria-label"], nl = /* @__PURE__ */ j({
|
|
3272
3276
|
inheritAttrs: !1,
|
|
3273
3277
|
__name: "GlyphField",
|
|
3274
3278
|
props: /*@__PURE__*/ M({
|
|
@@ -3294,7 +3298,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3294
3298
|
]),
|
|
3295
3299
|
style: F(t.$attrs.style)
|
|
3296
3300
|
}, [
|
|
3297
|
-
D("span",
|
|
3301
|
+
D("span", el, [(I(), w(B(e.glyph)))]),
|
|
3298
3302
|
Ue(D("input", N({
|
|
3299
3303
|
ref_key: "input",
|
|
3300
3304
|
ref: o,
|
|
@@ -3305,11 +3309,11 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3305
3309
|
...t.$attrs,
|
|
3306
3310
|
class: void 0,
|
|
3307
3311
|
style: void 0
|
|
3308
|
-
}, { class: "glim-glyph-field-input" }), null, 16,
|
|
3312
|
+
}, { class: "glim-glyph-field-input" }), null, 16, tl), [[Be, r.value]]),
|
|
3309
3313
|
z(t.$slots, "after")
|
|
3310
3314
|
], 6));
|
|
3311
3315
|
}
|
|
3312
|
-
}),
|
|
3316
|
+
}), rl = /* @__PURE__ */ j({
|
|
3313
3317
|
__name: "GlyphTile",
|
|
3314
3318
|
props: {
|
|
3315
3319
|
glyph: { type: [Object, Function] },
|
|
@@ -3328,13 +3332,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3328
3332
|
"aria-hidden": "true"
|
|
3329
3333
|
}, [(I(), w(B(e.glyph)))], 2));
|
|
3330
3334
|
}
|
|
3331
|
-
}),
|
|
3335
|
+
}), il = { class: "glim-version-rows" }, al = { class: "glim-version-name" }, ol = { class: "glim-version-part" }, sl = { class: "glim-version-end" }, cl = ["data-tone"], ll = { class: "glim-version-tail" }, ul = ["href", "onClick"], dl = {
|
|
3332
3336
|
key: 2,
|
|
3333
3337
|
class: "glim-num glim-version-number"
|
|
3334
|
-
},
|
|
3338
|
+
}, fl = {
|
|
3335
3339
|
key: 1,
|
|
3336
3340
|
class: "glim-version-actions"
|
|
3337
|
-
},
|
|
3341
|
+
}, pl = /* @__PURE__ */ j({
|
|
3338
3342
|
__name: "InfoComponentsCard",
|
|
3339
3343
|
props: /*@__PURE__*/ M({
|
|
3340
3344
|
text: {},
|
|
@@ -3369,21 +3373,21 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3369
3373
|
return (t, a) => (I(), w(X, {
|
|
3370
3374
|
"data-glim": "InfoComponentsCard",
|
|
3371
3375
|
title: e.text.title,
|
|
3372
|
-
hint: U(
|
|
3376
|
+
hint: U(pi)(e.text.hint, e.name),
|
|
3373
3377
|
"hue-index": e.hueIndex
|
|
3374
3378
|
}, {
|
|
3375
3379
|
default: K(() => [
|
|
3376
|
-
D("ul",
|
|
3380
|
+
D("ul", il, [(I(!0), E(S, null, R(r.value, ({ row: t, link: n }) => (I(), E("li", {
|
|
3377
3381
|
key: t.name,
|
|
3378
3382
|
class: "glim-version-row"
|
|
3379
|
-
}, [D("span",
|
|
3383
|
+
}, [D("span", al, [D("span", ol, H(t.name), 1), t.hint ? (I(), w(Y, {
|
|
3380
3384
|
key: 0,
|
|
3381
3385
|
tip: t.hint
|
|
3382
|
-
}, null, 8, ["tip"])) : T("", !0)]), D("span",
|
|
3386
|
+
}, null, 8, ["tip"])) : T("", !0)]), D("span", sl, [t.status ? (I(), E("span", {
|
|
3383
3387
|
key: 0,
|
|
3384
3388
|
class: "glim-version-status",
|
|
3385
3389
|
"data-tone": t.tone
|
|
3386
|
-
}, H(t.status), 9,
|
|
3390
|
+
}, H(t.status), 9, cl)) : T("", !0), D("span", ll, [t.action ? (I(), w(f, {
|
|
3387
3391
|
key: 0,
|
|
3388
3392
|
label: t.action.label,
|
|
3389
3393
|
"label-key": t.action.labelKey,
|
|
@@ -3399,13 +3403,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3399
3403
|
rel: "noopener noreferrer",
|
|
3400
3404
|
class: "glim-num glim-version-number",
|
|
3401
3405
|
onClick: (e) => i(e, n.href)
|
|
3402
|
-
}, H(n.shown), 9,
|
|
3406
|
+
}, H(n.shown), 9, ul)) : (I(), E("span", dl, H(n.released ? n.shown : e.text.unreleased(n.shown)), 1))])])]))), 128))]),
|
|
3403
3407
|
n.value === void 0 ? T("", !0) : (I(), w(Z, {
|
|
3404
3408
|
key: 0,
|
|
3405
3409
|
label: e.text.auto,
|
|
3406
|
-
hint: U(
|
|
3410
|
+
hint: U(pi)(e.text.autoHint, e.name)
|
|
3407
3411
|
}, {
|
|
3408
|
-
default: K(() => [A(
|
|
3412
|
+
default: K(() => [A(ms, {
|
|
3409
3413
|
modelValue: n.value,
|
|
3410
3414
|
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
3411
3415
|
label: e.text.auto,
|
|
@@ -3413,7 +3417,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3413
3417
|
}, null, 8, ["modelValue", "label"])]),
|
|
3414
3418
|
_: 1
|
|
3415
3419
|
}, 8, ["label", "hint"])),
|
|
3416
|
-
e.onUpdate ? (I(), E("div",
|
|
3420
|
+
e.onUpdate ? (I(), E("div", fl, [A(f, {
|
|
3417
3421
|
label: e.text.update,
|
|
3418
3422
|
"label-key": "components.update",
|
|
3419
3423
|
busy: e.updating,
|
|
@@ -3427,13 +3431,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3427
3431
|
"hue-index"
|
|
3428
3432
|
]));
|
|
3429
3433
|
}
|
|
3430
|
-
}),
|
|
3434
|
+
}), ml = { class: "glim-version-head" }, hl = { class: "glim-version-app" }, gl = ["href"], _l = {
|
|
3431
3435
|
key: 1,
|
|
3432
3436
|
class: "glim-num glim-version-number"
|
|
3433
|
-
},
|
|
3437
|
+
}, vl = ["aria-label", "aria-valuenow"], yl = { class: "glim-version-foot" }, bl = ["data-tone"], xl = { class: "glim-version-line" }, Sl = {
|
|
3434
3438
|
key: 0,
|
|
3435
3439
|
class: "glim-version-note"
|
|
3436
|
-
},
|
|
3440
|
+
}, Cl = { class: "glim-version-actions" }, wl = ["data-unseen"], Tl = /* @__PURE__ */ j({
|
|
3437
3441
|
__name: "InfoVersionCard",
|
|
3438
3442
|
props: /*@__PURE__*/ M({
|
|
3439
3443
|
text: {},
|
|
@@ -3462,7 +3466,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3462
3466
|
}),
|
|
3463
3467
|
emits: ["update:autoUpdate"],
|
|
3464
3468
|
setup(e) {
|
|
3465
|
-
let t = e, n = W(e, "autoUpdate"), r = C(() =>
|
|
3469
|
+
let t = e, n = W(e, "autoUpdate"), r = C(() => oi(t.state, t.text)), i = C(() => ai(t.route, t.state, t.text)), a = C(() => mt(t.route, t.text)), o = C(() => Sn({
|
|
3466
3470
|
name: t.name,
|
|
3467
3471
|
version: t.version,
|
|
3468
3472
|
repoUrl: t.repoUrl
|
|
@@ -3476,24 +3480,24 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3476
3480
|
return (t, u) => (I(), w(X, {
|
|
3477
3481
|
"data-glim": "InfoVersionCard",
|
|
3478
3482
|
title: e.text.title,
|
|
3479
|
-
hint: U(
|
|
3483
|
+
hint: U(pi)(e.text.hint, e.name),
|
|
3480
3484
|
"hue-index": e.hueIndex
|
|
3481
3485
|
}, {
|
|
3482
3486
|
default: K(() => [
|
|
3483
|
-
D("div",
|
|
3487
|
+
D("div", ml, [D("span", hl, H(e.name), 1), o.value.href ? (I(), E("a", {
|
|
3484
3488
|
key: 0,
|
|
3485
3489
|
href: o.value.href,
|
|
3486
3490
|
target: "_blank",
|
|
3487
3491
|
rel: "noopener noreferrer",
|
|
3488
3492
|
class: "glim-num glim-version-number",
|
|
3489
3493
|
onClick: u[0] ||= (e) => l(e, o.value.href)
|
|
3490
|
-
}, H(o.value.shown), 9,
|
|
3494
|
+
}, H(o.value.shown), 9, gl)) : (I(), E("span", _l, H(o.value.released ? o.value.shown : e.text.unreleased(o.value.shown)), 1))]),
|
|
3491
3495
|
a.value && n.value !== void 0 ? (I(), w(Z, {
|
|
3492
3496
|
key: 0,
|
|
3493
3497
|
label: a.value.label,
|
|
3494
|
-
hint: U(
|
|
3498
|
+
hint: U(pi)(a.value.hint, e.name)
|
|
3495
3499
|
}, {
|
|
3496
|
-
default: K(() => [A(
|
|
3500
|
+
default: K(() => [A(ms, {
|
|
3497
3501
|
modelValue: n.value,
|
|
3498
3502
|
"onUpdate:modelValue": u[1] ||= (e) => n.value = e,
|
|
3499
3503
|
label: a.value.label,
|
|
@@ -3509,14 +3513,14 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3509
3513
|
"aria-valuemin": 0,
|
|
3510
3514
|
"aria-valuemax": 100,
|
|
3511
3515
|
"aria-valuenow": e.state.percent
|
|
3512
|
-
}, [D("span", { style: F({ width: `${e.state.percent}%` }) }, null, 4)], 8,
|
|
3513
|
-
D("div",
|
|
3516
|
+
}, [D("span", { style: F({ width: `${e.state.percent}%` }) }, null, 4)], 8, vl)) : T("", !0),
|
|
3517
|
+
D("div", yl, [D("p", {
|
|
3514
3518
|
class: "glim-version-state",
|
|
3515
3519
|
"data-tone": r.value.tone,
|
|
3516
3520
|
role: "status"
|
|
3517
|
-
}, [D("span",
|
|
3521
|
+
}, [D("span", xl, H(r.value.line), 1), r.value.note ? (I(), E("span", Sl, H(r.value.note), 1)) : T("", !0)], 8, bl), D("div", Cl, [
|
|
3518
3522
|
A(f, {
|
|
3519
|
-
label: U(
|
|
3523
|
+
label: U(ui)(e.text, e.unseen),
|
|
3520
3524
|
"label-key": "version.whatsNew",
|
|
3521
3525
|
onClick: u[2] ||= (t) => e.onWhatsNew()
|
|
3522
3526
|
}, {
|
|
@@ -3524,7 +3528,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3524
3528
|
class: "glim-version-dot",
|
|
3525
3529
|
"data-unseen": e.unseen > 0 ? "" : void 0,
|
|
3526
3530
|
"aria-hidden": "true"
|
|
3527
|
-
}, null, 8,
|
|
3531
|
+
}, null, 8, wl)]),
|
|
3528
3532
|
_: 1
|
|
3529
3533
|
}, 8, ["label"]),
|
|
3530
3534
|
s.value && e.onCheck ? (I(), w(f, {
|
|
@@ -3559,10 +3563,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3559
3563
|
"hue-index"
|
|
3560
3564
|
]));
|
|
3561
3565
|
}
|
|
3562
|
-
}),
|
|
3566
|
+
}), El = {
|
|
3563
3567
|
"data-glim": "InfoTile",
|
|
3564
3568
|
style: { display: "contents" }
|
|
3565
|
-
},
|
|
3569
|
+
}, Dl = /* @__PURE__ */ j({
|
|
3566
3570
|
__name: "InfoTile",
|
|
3567
3571
|
props: {
|
|
3568
3572
|
version: {},
|
|
@@ -3573,27 +3577,27 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3573
3577
|
},
|
|
3574
3578
|
setup(e) {
|
|
3575
3579
|
let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
|
|
3576
|
-
return (t, r) => (I(), E("div",
|
|
3577
|
-
A(
|
|
3578
|
-
A(
|
|
3579
|
-
A(
|
|
3580
|
-
A(
|
|
3580
|
+
return (t, r) => (I(), E("div", El, [
|
|
3581
|
+
A(Tl, N(e.version, { "hue-index": n(0) }), null, 16, ["hue-index"]),
|
|
3582
|
+
A(pl, N(e.components, { "hue-index": n(1) }), null, 16, ["hue-index"]),
|
|
3583
|
+
A(Ai, N(e.help, { "hue-index": n(2) }), null, 16, ["hue-index"]),
|
|
3584
|
+
A(Di, N(e.about, { "hue-index": n(3) }), null, 16, ["hue-index"])
|
|
3581
3585
|
]));
|
|
3582
3586
|
}
|
|
3583
|
-
}),
|
|
3587
|
+
}), Ol = [
|
|
3584
3588
|
"aria-label",
|
|
3585
3589
|
"tabindex",
|
|
3586
3590
|
"onKeydown"
|
|
3587
|
-
],
|
|
3591
|
+
], kl = {
|
|
3588
3592
|
key: 0,
|
|
3589
3593
|
class: "glim-list-row-tile"
|
|
3590
|
-
},
|
|
3594
|
+
}, Al = {
|
|
3591
3595
|
key: 1,
|
|
3592
3596
|
class: "glim-list-row-text"
|
|
3593
|
-
},
|
|
3597
|
+
}, jl = { class: "glim-list-row-title" }, Ml = { class: "glim-list-row-meta" }, Nl = { class: "glim-list-row-title" }, Pl = {
|
|
3594
3598
|
key: 3,
|
|
3595
3599
|
class: "glim-list-row-badges"
|
|
3596
|
-
},
|
|
3600
|
+
}, Fl = /* @__PURE__ */ j({
|
|
3597
3601
|
__name: "ListRow",
|
|
3598
3602
|
props: {
|
|
3599
3603
|
name: {},
|
|
@@ -3618,28 +3622,28 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3618
3622
|
}]),
|
|
3619
3623
|
onKeydown: [We(q(a, ["self"]), ["enter"]), We(q(a, ["self"]), ["space"])]
|
|
3620
3624
|
}, [
|
|
3621
|
-
t.$slots.tile ? (I(), E("span",
|
|
3622
|
-
e.meta ? (I(), E("span",
|
|
3625
|
+
t.$slots.tile ? (I(), E("span", kl, [z(t.$slots, "tile")])) : T("", !0),
|
|
3626
|
+
e.meta ? (I(), E("span", Al, [D("span", { class: P(i.value) }, [D("span", jl, H(e.name), 1), e.tip ? (I(), E("span", {
|
|
3623
3627
|
key: 0,
|
|
3624
3628
|
class: "glim-list-row-tip",
|
|
3625
3629
|
onClick: n[0] ||= q(() => {}, ["stop"])
|
|
3626
|
-
}, [A(Y, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2), D("span",
|
|
3630
|
+
}, [A(Y, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2), D("span", Ml, H(e.meta), 1)])) : (I(), E("span", {
|
|
3627
3631
|
key: 2,
|
|
3628
3632
|
class: P(i.value)
|
|
3629
|
-
}, [D("span",
|
|
3633
|
+
}, [D("span", Nl, H(e.name), 1), e.tip ? (I(), E("span", {
|
|
3630
3634
|
key: 0,
|
|
3631
3635
|
class: "glim-list-row-tip",
|
|
3632
3636
|
onClick: n[1] ||= q(() => {}, ["stop"])
|
|
3633
3637
|
}, [A(Y, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2)),
|
|
3634
|
-
t.$slots.badges ? (I(), E("span",
|
|
3638
|
+
t.$slots.badges ? (I(), E("span", Pl, [z(t.$slots, "badges")])) : T("", !0),
|
|
3635
3639
|
t.$slots.actions ? (I(), E("span", {
|
|
3636
3640
|
key: 4,
|
|
3637
3641
|
class: "glim-list-row-actions",
|
|
3638
3642
|
onClick: n[2] ||= q(() => {}, ["stop"])
|
|
3639
3643
|
}, [z(t.$slots, "actions")])) : T("", !0)
|
|
3640
|
-
], 42,
|
|
3644
|
+
], 42, Ol));
|
|
3641
3645
|
}
|
|
3642
|
-
}),
|
|
3646
|
+
}), Il = ["aria-label"], Ll = /* @__PURE__ */ j({
|
|
3643
3647
|
__name: "Popover",
|
|
3644
3648
|
props: {
|
|
3645
3649
|
open: { type: Boolean },
|
|
@@ -3664,24 +3668,24 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3664
3668
|
role: "dialog",
|
|
3665
3669
|
"aria-label": e.label,
|
|
3666
3670
|
class: "glim-popover"
|
|
3667
|
-
}, [z(t.$slots, "default")], 8,
|
|
3671
|
+
}, [z(t.$slots, "default")], 8, Il)) : T("", !0);
|
|
3668
3672
|
}
|
|
3669
|
-
}),
|
|
3673
|
+
}), Rl = {
|
|
3670
3674
|
"data-glim": "ListTable",
|
|
3671
3675
|
class: "glim-list"
|
|
3672
|
-
},
|
|
3676
|
+
}, zl = ["aria-label", "onKeydown"], Bl = { class: "glim-list-info" }, Vl = ["aria-label", "aria-describedby"], Hl = ["aria-sort"], Ul = { class: "glim-list-th-box" }, Wl = ["onClick"], Gl = [
|
|
3673
3677
|
"aria-label",
|
|
3674
3678
|
"aria-expanded",
|
|
3675
3679
|
"aria-pressed",
|
|
3676
3680
|
"onClick"
|
|
3677
|
-
],
|
|
3681
|
+
], Kl = [
|
|
3678
3682
|
"aria-selected",
|
|
3679
3683
|
"onClick",
|
|
3680
3684
|
"onDblclick"
|
|
3681
|
-
],
|
|
3685
|
+
], ql = ["tabindex"], Jl = {
|
|
3682
3686
|
key: 1,
|
|
3683
3687
|
class: "glim-list-empty"
|
|
3684
|
-
},
|
|
3688
|
+
}, Yl = ["id"], Xl = { class: "glim-list-filter-values" }, Zl = /* @__PURE__ */ j({
|
|
3685
3689
|
__name: "ListTable",
|
|
3686
3690
|
props: {
|
|
3687
3691
|
label: {},
|
|
@@ -3737,9 +3741,9 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3737
3741
|
function te() {
|
|
3738
3742
|
o.value = null, g();
|
|
3739
3743
|
}
|
|
3740
|
-
let
|
|
3744
|
+
let y = C(() => c.value && n.columns.find((e) => e.key === c.value.key)), ne = (e) => a.value[e] ?? [];
|
|
3741
3745
|
function re(e, t) {
|
|
3742
|
-
let n =
|
|
3746
|
+
let n = ne(e);
|
|
3743
3747
|
a.value = {
|
|
3744
3748
|
...a.value,
|
|
3745
3749
|
[e]: n.includes(t) ? n.filter((e) => e !== t) : [...n, t]
|
|
@@ -3752,7 +3756,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3752
3756
|
};
|
|
3753
3757
|
}
|
|
3754
3758
|
let ie = (e, t) => String(e[t] ?? "");
|
|
3755
|
-
return (t, n) => (I(), E("div",
|
|
3759
|
+
return (t, n) => (I(), E("div", Rl, [
|
|
3756
3760
|
o.value === null ? T("", !0) : Ue((I(), E("input", {
|
|
3757
3761
|
key: 0,
|
|
3758
3762
|
ref_key: "searchField",
|
|
@@ -3762,7 +3766,8 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3762
3766
|
type: "search",
|
|
3763
3767
|
"aria-label": e.text.search,
|
|
3764
3768
|
onKeydown: We(q(te, ["prevent", "stop"]), ["esc"])
|
|
3765
|
-
}, null, 40,
|
|
3769
|
+
}, null, 40, zl)), [[Be, o.value]]),
|
|
3770
|
+
D("span", Bl, [A(Y, { tip: e.text.hint }, null, 8, ["tip"])]),
|
|
3766
3771
|
D("table", {
|
|
3767
3772
|
ref_key: "grid",
|
|
3768
3773
|
ref: l,
|
|
@@ -3776,7 +3781,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3776
3781
|
scope: "col",
|
|
3777
3782
|
"aria-sort": U(ft)(i.value, t.key),
|
|
3778
3783
|
class: P(t.end ? "glim-list-th glim-table-end" : "glim-list-th")
|
|
3779
|
-
}, [D("span",
|
|
3784
|
+
}, [D("span", Ul, [D("button", {
|
|
3780
3785
|
type: "button",
|
|
3781
3786
|
class: "glim-list-sort",
|
|
3782
3787
|
onClick: (e) => i.value = U(mn)(i.value, t.key)
|
|
@@ -3784,16 +3789,16 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3784
3789
|
key: 0,
|
|
3785
3790
|
mark: U(Ze).expand,
|
|
3786
3791
|
class: P(`glim-list-sort-mark glim-list-sort-mark--${i.value.dir}`)
|
|
3787
|
-
}, null, 8, ["mark", "class"])) : T("", !0)], 8,
|
|
3792
|
+
}, null, 8, ["mark", "class"])) : T("", !0)], 8, Wl), t.filter ? (I(), E("button", {
|
|
3788
3793
|
key: 0,
|
|
3789
3794
|
type: "button",
|
|
3790
3795
|
"aria-label": e.text.filterOf(t.label),
|
|
3791
3796
|
"aria-haspopup": "dialog",
|
|
3792
3797
|
"aria-expanded": c.value?.key === t.key,
|
|
3793
|
-
"aria-pressed":
|
|
3798
|
+
"aria-pressed": ne(t.key).length > 0,
|
|
3794
3799
|
class: "glim-list-filter",
|
|
3795
3800
|
onClick: (e) => b(t.key, e.currentTarget)
|
|
3796
|
-
}, [A(U(p), { mark: U(Ze).expand }, null, 8, ["mark"])], 8,
|
|
3801
|
+
}, [A(U(p), { mark: U(Ze).expand }, null, 8, ["mark"])], 8, Gl)) : T("", !0)])], 10, Hl))), 128))])]), D("tbody", { onKeydown: v }, [(I(!0), E(S, null, R(f.value, (n, i) => (I(), E("tr", {
|
|
3797
3802
|
key: m.value[i],
|
|
3798
3803
|
"aria-selected": h.value.selected.includes(i),
|
|
3799
3804
|
class: "glim-list-tr",
|
|
@@ -3802,28 +3807,28 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3802
3807
|
}, [(I(!0), E(S, null, R(e.columns, (e, r) => (I(), E("td", {
|
|
3803
3808
|
key: e.key,
|
|
3804
3809
|
tabindex: r === 0 ? i === h.value.focus ? 0 : -1 : void 0,
|
|
3805
|
-
class: P(U(
|
|
3810
|
+
class: P(U(Xr)(e) || void 0)
|
|
3806
3811
|
}, [z(t.$slots, "cell", {
|
|
3807
3812
|
row: n,
|
|
3808
3813
|
column: e
|
|
3809
|
-
}, () => [k(H(ie(n, e.key)), 1)])], 10,
|
|
3810
|
-
f.value.length === 0 ? (I(), E("p",
|
|
3814
|
+
}, () => [k(H(ie(n, e.key)), 1)])], 10, ql))), 128))], 40, Kl))), 128))], 32)], 8, Vl),
|
|
3815
|
+
f.value.length === 0 ? (I(), E("p", Jl, H(e.text.noMatch), 1)) : T("", !0),
|
|
3811
3816
|
D("p", {
|
|
3812
3817
|
id: U(d),
|
|
3813
|
-
class: "glim-
|
|
3814
|
-
}, H(e.text.hint), 9,
|
|
3815
|
-
|
|
3818
|
+
class: "glim-sr-only"
|
|
3819
|
+
}, H(e.text.hint), 9, Yl),
|
|
3820
|
+
y.value ? (I(), w(Ll, {
|
|
3816
3821
|
key: 2,
|
|
3817
3822
|
open: !0,
|
|
3818
3823
|
anchor: c.value.at,
|
|
3819
|
-
label: e.text.filterOf(
|
|
3824
|
+
label: e.text.filterOf(y.value.label),
|
|
3820
3825
|
onClose: n[1] ||= (e) => c.value = null
|
|
3821
3826
|
}, {
|
|
3822
|
-
default: K(() => [D("div",
|
|
3827
|
+
default: K(() => [D("div", Xl, [(I(!0), E(S, null, R(U(yt)(e.rows, y.value.key), (e) => (I(), w(Ki, {
|
|
3823
3828
|
key: e,
|
|
3824
3829
|
label: e,
|
|
3825
|
-
"model-value": y
|
|
3826
|
-
"onUpdate:modelValue": (t) => re(
|
|
3830
|
+
"model-value": ne(y.value.key).includes(e),
|
|
3831
|
+
"onUpdate:modelValue": (t) => re(y.value.key, e)
|
|
3827
3832
|
}, null, 8, [
|
|
3828
3833
|
"label",
|
|
3829
3834
|
"model-value",
|
|
@@ -3833,14 +3838,14 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3833
3838
|
}, 8, ["anchor", "label"])) : T("", !0)
|
|
3834
3839
|
]));
|
|
3835
3840
|
}
|
|
3836
|
-
}),
|
|
3841
|
+
}), Ql = ["aria-label"], $l = [
|
|
3837
3842
|
"aria-expanded",
|
|
3838
3843
|
"tabindex",
|
|
3839
3844
|
"onClick",
|
|
3840
3845
|
"onMouseenter",
|
|
3841
3846
|
"onKeydown",
|
|
3842
3847
|
"onFocus"
|
|
3843
|
-
],
|
|
3848
|
+
], eu = /* @__PURE__ */ j({
|
|
3844
3849
|
__name: "MenuBar",
|
|
3845
3850
|
props: {
|
|
3846
3851
|
label: {},
|
|
@@ -3894,7 +3899,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3894
3899
|
onMouseenter: (e) => i.value && i.value.at !== t && o(t),
|
|
3895
3900
|
onKeydown: (e) => l(e, t),
|
|
3896
3901
|
onFocus: (e) => a.value = t
|
|
3897
|
-
}, H(e.label), 41,
|
|
3902
|
+
}, H(e.label), 41, $l))), 128)), i.value && e.menus[i.value.at] ? (I(), w(Va, {
|
|
3898
3903
|
key: i.value.at,
|
|
3899
3904
|
x: i.value.x,
|
|
3900
3905
|
y: i.value.y,
|
|
@@ -3913,9 +3918,9 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3913
3918
|
"id",
|
|
3914
3919
|
"opener",
|
|
3915
3920
|
"from-end"
|
|
3916
|
-
])) : T("", !0)], 8,
|
|
3921
|
+
])) : T("", !0)], 8, Ql));
|
|
3917
3922
|
}
|
|
3918
|
-
}),
|
|
3923
|
+
}), tu = [
|
|
3919
3924
|
"role",
|
|
3920
3925
|
"aria-label",
|
|
3921
3926
|
"aria-valuemin",
|
|
@@ -3923,7 +3928,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3923
3928
|
"aria-valuenow",
|
|
3924
3929
|
"aria-valuetext",
|
|
3925
3930
|
"aria-busy"
|
|
3926
|
-
],
|
|
3931
|
+
], nu = /* @__PURE__ */ j({
|
|
3927
3932
|
inheritAttrs: !1,
|
|
3928
3933
|
__name: "Meter",
|
|
3929
3934
|
props: {
|
|
@@ -3958,16 +3963,16 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3958
3963
|
}), [D("span", {
|
|
3959
3964
|
class: "glim-meter-fill",
|
|
3960
3965
|
style: F(i.value.width ? { width: i.value.width } : void 0)
|
|
3961
|
-
}, null, 4)], 16,
|
|
3966
|
+
}, null, 4)], 16, tu), A(t, { state: U(o) }, null, 8, ["state"])], 64));
|
|
3962
3967
|
}
|
|
3963
|
-
}),
|
|
3968
|
+
}), ru = {
|
|
3964
3969
|
"data-glim": "NumberField",
|
|
3965
3970
|
class: "glim-num-wrap"
|
|
3966
|
-
},
|
|
3971
|
+
}, iu = [
|
|
3967
3972
|
"aria-label",
|
|
3968
3973
|
"aria-invalid",
|
|
3969
3974
|
"aria-describedby"
|
|
3970
|
-
],
|
|
3975
|
+
], au = /* @__PURE__ */ j({
|
|
3971
3976
|
inheritAttrs: !1,
|
|
3972
3977
|
__name: "NumberField",
|
|
3973
3978
|
props: /*@__PURE__*/ M({ error: {} }, {
|
|
@@ -3992,13 +3997,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
3992
3997
|
() => r.disabled,
|
|
3993
3998
|
() => r.readonly
|
|
3994
3999
|
], () => {
|
|
3995
|
-
l(n.value), s.value &&
|
|
4000
|
+
l(n.value), s.value && Yr(s.value);
|
|
3996
4001
|
}, { flush: "post" });
|
|
3997
4002
|
function u(e) {
|
|
3998
4003
|
let t = e.target;
|
|
3999
4004
|
n.value = t.value === "" ? null : t.valueAsNumber;
|
|
4000
4005
|
}
|
|
4001
|
-
return (t, n) => (I(), E(S, null, [D("span",
|
|
4006
|
+
return (t, n) => (I(), E(S, null, [D("span", ru, [D("input", N(t.$attrs, {
|
|
4002
4007
|
ref_key: "input",
|
|
4003
4008
|
ref: s,
|
|
4004
4009
|
"aria-label": U(i),
|
|
@@ -4007,7 +4012,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4007
4012
|
type: "number",
|
|
4008
4013
|
class: "glim-num-input glim-num-field glim-num",
|
|
4009
4014
|
onInput: u
|
|
4010
|
-
}), null, 16,
|
|
4015
|
+
}), null, 16, iu)]), o.value.errorId ? (I(), w(_o, {
|
|
4011
4016
|
key: 0,
|
|
4012
4017
|
id: o.value.errorId
|
|
4013
4018
|
}, {
|
|
@@ -4015,7 +4020,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4015
4020
|
_: 1
|
|
4016
4021
|
}, 8, ["id"])) : T("", !0)], 64));
|
|
4017
4022
|
}
|
|
4018
|
-
}),
|
|
4023
|
+
}), ou = ["aria-label", "disabled"], su = /* @__PURE__ */ j({
|
|
4019
4024
|
inheritAttrs: !1,
|
|
4020
4025
|
__name: "PathField",
|
|
4021
4026
|
props: /*@__PURE__*/ M({
|
|
@@ -4071,7 +4076,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4071
4076
|
}, {
|
|
4072
4077
|
disabled: e.disabled,
|
|
4073
4078
|
class: "glim-input glim-input--mono"
|
|
4074
|
-
}), null, 16,
|
|
4079
|
+
}), null, 16, ou), [[Be, i.value]]), A(f, N(e.buttonAttrs, {
|
|
4075
4080
|
variant: "icon",
|
|
4076
4081
|
label: e.text.pick,
|
|
4077
4082
|
"label-key": null,
|
|
@@ -4086,27 +4091,27 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4086
4091
|
"disabled"
|
|
4087
4092
|
])], 6));
|
|
4088
4093
|
}
|
|
4089
|
-
}),
|
|
4094
|
+
}), cu = ["data-glim-title"], lu = { class: "glim-modal-head" }, uu = {
|
|
4090
4095
|
id: "paypal-window-title",
|
|
4091
4096
|
class: "glim-modal-title"
|
|
4092
|
-
},
|
|
4097
|
+
}, du = { class: "glim-give-body glim-give-body--scroll" }, fu = { class: "glim-give-appeal" }, pu = { class: "glim-give-intro" }, mu = { class: "glim-give-group" }, hu = {
|
|
4093
4098
|
id: "paypal-frequency",
|
|
4094
4099
|
class: "glim-eyebrow"
|
|
4095
|
-
},
|
|
4100
|
+
}, gu = { class: "glim-give-group" }, _u = {
|
|
4096
4101
|
id: "paypal-amount",
|
|
4097
4102
|
class: "glim-eyebrow"
|
|
4098
|
-
},
|
|
4103
|
+
}, vu = { class: "glim-give-amounts" }, yu = [
|
|
4099
4104
|
"value",
|
|
4100
4105
|
"placeholder",
|
|
4101
4106
|
"aria-label",
|
|
4102
4107
|
"aria-invalid"
|
|
4103
|
-
],
|
|
4108
|
+
], bu = { class: "glim-give-loading" }, xu = {
|
|
4104
4109
|
key: 0,
|
|
4105
4110
|
class: "glim-give-status glim-give-status--ok"
|
|
4106
|
-
},
|
|
4111
|
+
}, Su = {
|
|
4107
4112
|
key: 1,
|
|
4108
4113
|
class: "glim-give-status glim-give-status--fail"
|
|
4109
|
-
},
|
|
4114
|
+
}, Cu = { class: "glim-give-foot" }, wu = /* @__PURE__ */ j({
|
|
4110
4115
|
__name: "PaypalDialog",
|
|
4111
4116
|
props: {
|
|
4112
4117
|
text: {},
|
|
@@ -4147,7 +4152,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4147
4152
|
"aria-labelledby": "paypal-window-title",
|
|
4148
4153
|
class: "glim-modal-card glim-modal-card--wide"
|
|
4149
4154
|
}, [
|
|
4150
|
-
D("div",
|
|
4155
|
+
D("div", lu, [D("h2", uu, [A(e, {
|
|
4151
4156
|
tone: "heading",
|
|
4152
4157
|
size: "heading",
|
|
4153
4158
|
wrap: ""
|
|
@@ -4155,10 +4160,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4155
4160
|
default: K(() => [k(H(t.text.title), 1)]),
|
|
4156
4161
|
_: 1
|
|
4157
4162
|
})])]),
|
|
4158
|
-
D("div",
|
|
4159
|
-
D("p",
|
|
4160
|
-
D("p",
|
|
4161
|
-
D("div",
|
|
4163
|
+
D("div", du, [
|
|
4164
|
+
D("p", fu, H(t.text.appeal), 1),
|
|
4165
|
+
D("p", pu, H(t.text.intro), 1),
|
|
4166
|
+
D("div", mu, [D("span", hu, H(t.text.frequencyLabel), 1), z(n.$slots, "selector", {
|
|
4162
4167
|
labelledBy: "paypal-frequency",
|
|
4163
4168
|
options: a.map((e) => ({
|
|
4164
4169
|
value: e,
|
|
@@ -4167,7 +4172,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4167
4172
|
value: t.frequency,
|
|
4168
4173
|
onChange: s
|
|
4169
4174
|
})]),
|
|
4170
|
-
D("div",
|
|
4175
|
+
D("div", gu, [D("span", _u, H(t.text.amountLabel), 1), D("div", vu, [D("div", null, [z(n.$slots, "selector", {
|
|
4171
4176
|
labelledBy: "paypal-amount",
|
|
4172
4177
|
options: t.amounts.map((e) => ({
|
|
4173
4178
|
value: e,
|
|
@@ -4184,29 +4189,29 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4184
4189
|
"aria-invalid": t.typed !== "" && !t.typedValid,
|
|
4185
4190
|
class: P(t.typedValid ? "glim-give-amount glim-give-amount--valid" : "glim-give-amount"),
|
|
4186
4191
|
onInput: l
|
|
4187
|
-
}, null, 42,
|
|
4192
|
+
}, null, 42, yu)])]),
|
|
4188
4193
|
D("div", {
|
|
4189
4194
|
ref: t.buttonsRef,
|
|
4190
4195
|
class: "glim-give-wallet"
|
|
4191
|
-
}, [D("p",
|
|
4192
|
-
t.status === "done" ? (I(), E("p",
|
|
4193
|
-
t.status === "failed" ? (I(), E("p",
|
|
4196
|
+
}, [D("p", bu, H(t.text.loading), 1)], 512),
|
|
4197
|
+
t.status === "done" ? (I(), E("p", xu, H(t.text.thanks), 1)) : T("", !0),
|
|
4198
|
+
t.status === "failed" ? (I(), E("p", Su, H(t.text.failed), 1)) : T("", !0)
|
|
4194
4199
|
]),
|
|
4195
|
-
D("div",
|
|
4200
|
+
D("div", Cu, [A(f, {
|
|
4196
4201
|
label: t.text.closeLabel,
|
|
4197
4202
|
"label-key": "common.close",
|
|
4198
4203
|
tone: "neutral",
|
|
4199
4204
|
onClick: r[0] ||= (e) => i("close")
|
|
4200
4205
|
}, null, 8, ["label"])])
|
|
4201
|
-
], 8,
|
|
4206
|
+
], 8, cu)]));
|
|
4202
4207
|
}
|
|
4203
|
-
}),
|
|
4208
|
+
}), Tu = {
|
|
4204
4209
|
key: 0,
|
|
4205
4210
|
class: "glim-pick-none"
|
|
4206
|
-
},
|
|
4211
|
+
}, Eu = {
|
|
4207
4212
|
key: 0,
|
|
4208
4213
|
class: "glim-pick-eyebrow"
|
|
4209
|
-
},
|
|
4214
|
+
}, Du = { class: "glim-eyebrow" }, Ou = { class: "glim-provider-pick" }, ku = /* @__PURE__ */ j({
|
|
4210
4215
|
__name: "PickerWindow",
|
|
4211
4216
|
props: {
|
|
4212
4217
|
title: {},
|
|
@@ -4246,7 +4251,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4246
4251
|
function ee() {
|
|
4247
4252
|
o.value = "", l()?.focus();
|
|
4248
4253
|
}
|
|
4249
|
-
let te = (e) => v(e, zn(e.key, o.value, d.value, () => o.value = "")),
|
|
4254
|
+
let te = (e) => v(e, zn(e.key, o.value, d.value, () => o.value = "")), y = (e) => {
|
|
4250
4255
|
e.target !== e.currentTarget && v(e, Vn(e.key, e.target, e.currentTarget, l()));
|
|
4251
4256
|
};
|
|
4252
4257
|
return (n, r) => (I(), w(Q, {
|
|
@@ -4268,13 +4273,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4268
4273
|
actions: h(),
|
|
4269
4274
|
onClose: r[1] ||= (e) => i("close")
|
|
4270
4275
|
}, O({
|
|
4271
|
-
default: K(() => [f() ? z(n.$slots, "default", {}, void 0, void 0, 0) : (I(), E(S, { key: 1 }, [A(
|
|
4276
|
+
default: K(() => [f() ? z(n.$slots, "default", {}, void 0, void 0, 0) : (I(), E(S, { key: 1 }, [A(nl, {
|
|
4272
4277
|
ref_key: "field",
|
|
4273
4278
|
ref: c,
|
|
4274
4279
|
modelValue: o.value,
|
|
4275
4280
|
"onUpdate:modelValue": r[0] ||= (e) => o.value = e,
|
|
4276
4281
|
class: "glim-pick-search",
|
|
4277
|
-
glyph: U(
|
|
4282
|
+
glyph: U(ne),
|
|
4278
4283
|
type: "search",
|
|
4279
4284
|
label: t.text.search,
|
|
4280
4285
|
placeholder: t.text.search,
|
|
@@ -4298,12 +4303,12 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4298
4303
|
ref_key: "scroll",
|
|
4299
4304
|
ref: d,
|
|
4300
4305
|
class: "glim-pick-scroll",
|
|
4301
|
-
onKeydown:
|
|
4302
|
-
}, [g.value.length === 0 ? (I(), E("p",
|
|
4306
|
+
onKeydown: y
|
|
4307
|
+
}, [g.value.length === 0 ? (I(), E("p", Tu, H(U(J)(t.text.none, { query: o.value.trim() })), 1)) : (I(!0), E(S, { key: 1 }, R(g.value, (n) => (I(), E("section", {
|
|
4303
4308
|
key: n.id,
|
|
4304
4309
|
class: "glim-pick-section"
|
|
4305
|
-
}, [n.title ? (I(), E("div",
|
|
4306
|
-
D("h3",
|
|
4310
|
+
}, [n.title ? (I(), E("div", Eu, [
|
|
4311
|
+
D("h3", Du, H(n.title), 1),
|
|
4307
4312
|
n.badge ? (I(), w(e, {
|
|
4308
4313
|
key: 0,
|
|
4309
4314
|
size: "small",
|
|
@@ -4316,10 +4321,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4316
4321
|
key: 1,
|
|
4317
4322
|
tip: n.hint
|
|
4318
4323
|
}, null, 8, ["tip"])) : T("", !0)
|
|
4319
|
-
])) : T("", !0), D("ul",
|
|
4324
|
+
])) : T("", !0), D("ul", Ou, [(I(!0), E(S, null, R(n.items, (e) => (I(), E("li", {
|
|
4320
4325
|
key: e.id,
|
|
4321
4326
|
style: F(U(Hn)(e.mark))
|
|
4322
|
-
}, [A(
|
|
4327
|
+
}, [A(Ci, {
|
|
4323
4328
|
brand: "house",
|
|
4324
4329
|
parts: [{
|
|
4325
4330
|
name: e.label,
|
|
@@ -4333,7 +4338,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4333
4338
|
tip: e.tip
|
|
4334
4339
|
}, O({ _: 2 }, [e.mark ? {
|
|
4335
4340
|
name: "mark",
|
|
4336
|
-
fn: K(() => [U(Yt)(e.mark) ? (I(), w(
|
|
4341
|
+
fn: K(() => [U(Yt)(e.mark) ? (I(), w(Hi, {
|
|
4337
4342
|
key: 0,
|
|
4338
4343
|
svg: e.mark.svg,
|
|
4339
4344
|
hover: e.mark.hover
|
|
@@ -4369,7 +4374,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4369
4374
|
"actions"
|
|
4370
4375
|
]));
|
|
4371
4376
|
}
|
|
4372
|
-
}),
|
|
4377
|
+
}), Au = /* @__PURE__ */ j({
|
|
4373
4378
|
__name: "RowMark",
|
|
4374
4379
|
props: { on: { type: Boolean } },
|
|
4375
4380
|
setup(e) {
|
|
@@ -4379,7 +4384,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4379
4384
|
"aria-hidden": "true"
|
|
4380
4385
|
}, [A(U(b))], 2));
|
|
4381
4386
|
}
|
|
4382
|
-
}),
|
|
4387
|
+
}), ju = { class: "glim-sr-only" }, Mu = /* @__PURE__ */ j({
|
|
4383
4388
|
inheritAttrs: !1,
|
|
4384
4389
|
__name: "SidebarRowLink",
|
|
4385
4390
|
props: {
|
|
@@ -4414,7 +4419,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4414
4419
|
e.view.countClass && e.count ? (I(), E(S, { key: 1 }, [D("span", {
|
|
4415
4420
|
class: P(e.view.countClass),
|
|
4416
4421
|
"aria-hidden": "true"
|
|
4417
|
-
}, H(e.count.value), 3), D("span",
|
|
4422
|
+
}, H(e.count.value), 3), D("span", ju, H(e.count.label), 1)], 64)) : T("", !0)
|
|
4418
4423
|
]),
|
|
4419
4424
|
_: 1
|
|
4420
4425
|
}, 16, [
|
|
@@ -4429,13 +4434,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4429
4434
|
"onBlur"
|
|
4430
4435
|
])), A(t, { state: U(i) }, null, 8, ["state"])], 64));
|
|
4431
4436
|
}
|
|
4432
|
-
}),
|
|
4437
|
+
}), Nu = {
|
|
4433
4438
|
key: 0,
|
|
4434
4439
|
class: "glim-nav-row-slot"
|
|
4435
|
-
},
|
|
4440
|
+
}, Pu = {
|
|
4436
4441
|
key: 1,
|
|
4437
4442
|
class: "glim-nav-row-slot"
|
|
4438
|
-
},
|
|
4443
|
+
}, Fu = /* @__PURE__ */ j({
|
|
4439
4444
|
inheritAttrs: !1,
|
|
4440
4445
|
__name: "SidebarRow",
|
|
4441
4446
|
props: {
|
|
@@ -4478,15 +4483,15 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4478
4483
|
]),
|
|
4479
4484
|
style: F([i.value.style, e.$attrs.style])
|
|
4480
4485
|
}, [
|
|
4481
|
-
e.$slots.before ? (I(), E("span",
|
|
4482
|
-
A(
|
|
4486
|
+
e.$slots.before ? (I(), E("span", Nu, [z(e.$slots, "before")])) : T("", !0),
|
|
4487
|
+
A(Mu, N({
|
|
4483
4488
|
...e.$attrs,
|
|
4484
4489
|
...a.value,
|
|
4485
4490
|
class: void 0,
|
|
4486
4491
|
style: void 0
|
|
4487
4492
|
}, { "class-name": "glim-nav-row-main" }), null, 16),
|
|
4488
|
-
e.$slots.after ? (I(), E("span",
|
|
4489
|
-
], 6)) : (I(), w(
|
|
4493
|
+
e.$slots.after ? (I(), E("span", Pu, [z(e.$slots, "after")])) : T("", !0)
|
|
4494
|
+
], 6)) : (I(), w(Mu, N({
|
|
4490
4495
|
key: 1,
|
|
4491
4496
|
"data-glim": "SidebarRow"
|
|
4492
4497
|
}, {
|
|
@@ -4503,7 +4508,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4503
4508
|
"style"
|
|
4504
4509
|
]));
|
|
4505
4510
|
}
|
|
4506
|
-
}),
|
|
4511
|
+
}), Iu = ["data-glim-title", "aria-labelledby"], Lu = { class: "glim-sheet-panel" }, Ru = ["id"], zu = { class: "glim-sheet-body" }, Bu = /* @__PURE__ */ j({
|
|
4507
4512
|
__name: "Sheet",
|
|
4508
4513
|
props: {
|
|
4509
4514
|
open: { type: Boolean },
|
|
@@ -4525,7 +4530,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4525
4530
|
ref: o,
|
|
4526
4531
|
"aria-labelledby": U(s),
|
|
4527
4532
|
class: "glim-sheet"
|
|
4528
|
-
}, [D("div",
|
|
4533
|
+
}, [D("div", Lu, [
|
|
4529
4534
|
D("h2", {
|
|
4530
4535
|
id: U(s),
|
|
4531
4536
|
class: "glim-sheet-title"
|
|
@@ -4537,9 +4542,9 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4537
4542
|
}, {
|
|
4538
4543
|
default: K(() => [k(H(t.title), 1)]),
|
|
4539
4544
|
_: 1
|
|
4540
|
-
})], 8,
|
|
4541
|
-
D("div",
|
|
4542
|
-
A(
|
|
4545
|
+
})], 8, Ru),
|
|
4546
|
+
D("div", zu, [z(n.$slots, "default")]),
|
|
4547
|
+
A(To, {
|
|
4543
4548
|
actions: t.actions,
|
|
4544
4549
|
start: t.start,
|
|
4545
4550
|
"has-start": c.value,
|
|
@@ -4555,12 +4560,12 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4555
4560
|
"has-start",
|
|
4556
4561
|
"text"
|
|
4557
4562
|
])
|
|
4558
|
-
])], 8,
|
|
4563
|
+
])], 8, Iu)) : T("", !0);
|
|
4559
4564
|
}
|
|
4560
|
-
}),
|
|
4565
|
+
}), Vu = {
|
|
4561
4566
|
"data-glim": "SignInField",
|
|
4562
4567
|
class: "glim-signin-field"
|
|
4563
|
-
},
|
|
4568
|
+
}, Hu = ["for"], Uu = /* @__PURE__ */ j({
|
|
4564
4569
|
__name: "SignInField",
|
|
4565
4570
|
props: {
|
|
4566
4571
|
label: {},
|
|
@@ -4571,15 +4576,15 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4571
4576
|
let t = e, n = L(!1), r = (e) => {
|
|
4572
4577
|
n.value = $t(document.getElementById(t.for), t.label, t.hint, e);
|
|
4573
4578
|
};
|
|
4574
|
-
return ke(() => r()), G(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (I(), E("div",
|
|
4579
|
+
return ke(() => r()), G(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (I(), E("div", Vu, [D("label", {
|
|
4575
4580
|
for: t.$props.for,
|
|
4576
4581
|
class: P(n.value ? "glim-sr-only" : "glim-signin-label")
|
|
4577
4582
|
}, [k(H(e.label), 1), e.hint ? (I(), w(Y, {
|
|
4578
4583
|
key: 0,
|
|
4579
4584
|
tip: e.hint
|
|
4580
|
-
}, null, 8, ["tip"])) : T("", !0)], 10,
|
|
4585
|
+
}, null, 8, ["tip"])) : T("", !0)], 10, Hu), z(t.$slots, "default")]));
|
|
4581
4586
|
}
|
|
4582
|
-
}),
|
|
4587
|
+
}), Wu = [
|
|
4583
4588
|
"aria-label",
|
|
4584
4589
|
"aria-invalid",
|
|
4585
4590
|
"aria-describedby"
|
|
@@ -4597,7 +4602,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4597
4602
|
}),
|
|
4598
4603
|
emits: ["update:modelValue"],
|
|
4599
4604
|
setup(e, { expose: t }) {
|
|
4600
|
-
let n = e, r = W(e, "modelValue"), i = ve(() => n.label), a = C(() =>
|
|
4605
|
+
let n = e, r = W(e, "modelValue"), i = ve(() => n.label), a = C(() => Zr({
|
|
4601
4606
|
width: n.width,
|
|
4602
4607
|
mono: n.mono
|
|
4603
4608
|
})), o = Ie(), s = Le(), c = C(() => Pt(n.error, o.id ?? s, o["aria-describedby"])), l = V(null);
|
|
@@ -4610,7 +4615,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4610
4615
|
"aria-invalid": c.value.invalid,
|
|
4611
4616
|
"aria-describedby": c.value.describedBy,
|
|
4612
4617
|
class: a.value
|
|
4613
|
-
}), null, 16,
|
|
4618
|
+
}), null, 16, Wu), [[Be, r.value]]), c.value.errorId ? (I(), w(_o, {
|
|
4614
4619
|
key: 0,
|
|
4615
4620
|
id: c.value.errorId
|
|
4616
4621
|
}, {
|
|
@@ -4618,26 +4623,26 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4618
4623
|
_: 1
|
|
4619
4624
|
}, 8, ["id"])) : T("", !0)], 64));
|
|
4620
4625
|
}
|
|
4621
|
-
}),
|
|
4626
|
+
}), Gu = {
|
|
4622
4627
|
"data-glim": "SignInCard",
|
|
4623
4628
|
class: "glim-signin"
|
|
4624
|
-
},
|
|
4629
|
+
}, Ku = { class: "glim-signin-head" }, qu = {
|
|
4625
4630
|
key: 0,
|
|
4626
4631
|
class: "glim-signin-logo",
|
|
4627
4632
|
"aria-hidden": "true"
|
|
4628
|
-
},
|
|
4633
|
+
}, Ju = ["src"], Yu = { class: "glim-signin-name" }, Xu = {
|
|
4629
4634
|
key: 1,
|
|
4630
4635
|
class: "glim-signin-error",
|
|
4631
4636
|
role: "alert"
|
|
4632
|
-
},
|
|
4637
|
+
}, Zu = {
|
|
4633
4638
|
key: 0,
|
|
4634
4639
|
class: "glim-signin-note",
|
|
4635
4640
|
role: "status"
|
|
4636
|
-
},
|
|
4641
|
+
}, Qu = { class: "glim-signin-hint" }, $u = {
|
|
4637
4642
|
key: 3,
|
|
4638
4643
|
class: "glim-signin-error",
|
|
4639
4644
|
role: "alert"
|
|
4640
|
-
},
|
|
4645
|
+
}, ed = ["disabled", "aria-busy"], td = /* @__PURE__ */ j({
|
|
4641
4646
|
__name: "SignInCard",
|
|
4642
4647
|
props: {
|
|
4643
4648
|
logo: {},
|
|
@@ -4688,7 +4693,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4688
4693
|
hide: t.text.hide
|
|
4689
4694
|
})), u = C(() => {
|
|
4690
4695
|
let e = t.service?.mark;
|
|
4691
|
-
return e ? () => Te(
|
|
4696
|
+
return e ? () => Te(Hi, { svg: e.svg }) : pe(c.value.service);
|
|
4692
4697
|
}), d = C(() => i.value.error ?? (i.value.tried ? void 0 : t.error)), p = L(!!n.step), m = C(() => !!t.onPasskeyOffer && !p.value), h = C(() => m.value ? Mn(i.value) : null);
|
|
4693
4698
|
G(h, (e, t, n) => {
|
|
4694
4699
|
if (!e) return;
|
|
@@ -4698,27 +4703,27 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4698
4703
|
let g = V(null), _ = "";
|
|
4699
4704
|
function v() {
|
|
4700
4705
|
p.value = !!n.step;
|
|
4701
|
-
let e = n.step ? "step" :
|
|
4706
|
+
let e = n.step ? "step" : Rr(i.value);
|
|
4702
4707
|
e !== _ && ((_ || t.autoFocus) && zt(g.value), _ = e);
|
|
4703
4708
|
}
|
|
4704
4709
|
return ke(v), Me(v), G(() => i.value.refusal?.count, (e, t, n) => {
|
|
4705
4710
|
let r = i.value.refusal;
|
|
4706
4711
|
r && n(vr(g.value, r));
|
|
4707
|
-
}, { flush: "post" }), (t, n) => (I(), E("div",
|
|
4712
|
+
}, { flush: "post" }), (t, n) => (I(), E("div", Gu, [D("div", {
|
|
4708
4713
|
ref_key: "card",
|
|
4709
4714
|
ref: g,
|
|
4710
4715
|
class: "glim-card glim-signin-card"
|
|
4711
|
-
}, [D("div",
|
|
4716
|
+
}, [D("div", Ku, [e.logo || t.$slots.logo ? (I(), E("span", qu, [z(t.$slots, "logo", {}, () => [D("img", {
|
|
4712
4717
|
src: e.logo,
|
|
4713
4718
|
alt: "",
|
|
4714
4719
|
draggable: "false"
|
|
4715
|
-
}, null, 8,
|
|
4720
|
+
}, null, 8, Ju)])])) : T("", !0), D("h1", Yu, H(e.appName), 1)]), t.$slots.step ? z(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (I(), E("form", {
|
|
4716
4721
|
key: 1,
|
|
4717
4722
|
class: "glim-signin-form",
|
|
4718
4723
|
novalidate: "",
|
|
4719
4724
|
onSubmit: n[5] ||= q((e) => U(r).submit(), ["prevent"])
|
|
4720
4725
|
}, [
|
|
4721
|
-
A(
|
|
4726
|
+
A(Uu, {
|
|
4722
4727
|
label: e.text.resetCode,
|
|
4723
4728
|
for: s("reset-code"),
|
|
4724
4729
|
hint: e.text.resetCodeTip
|
|
@@ -4740,7 +4745,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4740
4745
|
"for",
|
|
4741
4746
|
"hint"
|
|
4742
4747
|
]),
|
|
4743
|
-
e.resetName ? (I(), w(
|
|
4748
|
+
e.resetName ? (I(), w(Uu, {
|
|
4744
4749
|
key: 0,
|
|
4745
4750
|
label: e.text.name,
|
|
4746
4751
|
for: s("reset-name")
|
|
@@ -4756,17 +4761,17 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4756
4761
|
}, null, 8, ["id", "model-value"])]),
|
|
4757
4762
|
_: 1
|
|
4758
4763
|
}, 8, ["label", "for"])) : T("", !0),
|
|
4759
|
-
A(
|
|
4764
|
+
A(Uu, {
|
|
4760
4765
|
label: e.text.newPassword,
|
|
4761
4766
|
for: s("new")
|
|
4762
4767
|
}, {
|
|
4763
|
-
default: K(() => [A(
|
|
4768
|
+
default: K(() => [A(Ns, {
|
|
4764
4769
|
id: s("new"),
|
|
4765
4770
|
"data-signin-field": "newPassword",
|
|
4766
4771
|
"model-value": i.value.newPassword,
|
|
4767
4772
|
autocomplete: "new-password",
|
|
4768
4773
|
text: l.value,
|
|
4769
|
-
note: U(
|
|
4774
|
+
note: U(Lr)(e.text.shortHint, i.value.newPassword, e.minPassword),
|
|
4770
4775
|
"onUpdate:modelValue": n[2] ||= (e) => U(r).set("newPassword", e)
|
|
4771
4776
|
}, null, 8, [
|
|
4772
4777
|
"id",
|
|
@@ -4776,11 +4781,11 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4776
4781
|
])]),
|
|
4777
4782
|
_: 1
|
|
4778
4783
|
}, 8, ["label", "for"]),
|
|
4779
|
-
A(
|
|
4784
|
+
A(Uu, {
|
|
4780
4785
|
label: e.text.confirmPassword,
|
|
4781
4786
|
for: s("confirm")
|
|
4782
4787
|
}, {
|
|
4783
|
-
default: K(() => [A(
|
|
4788
|
+
default: K(() => [A(Ns, {
|
|
4784
4789
|
id: s("confirm"),
|
|
4785
4790
|
"data-signin-field": "confirm",
|
|
4786
4791
|
"model-value": i.value.confirm,
|
|
@@ -4794,7 +4799,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4794
4799
|
])]),
|
|
4795
4800
|
_: 1
|
|
4796
4801
|
}, 8, ["label", "for"]),
|
|
4797
|
-
i.value.error ? (I(), E("p",
|
|
4802
|
+
i.value.error ? (I(), E("p", Xu, H(i.value.error), 1)) : T("", !0),
|
|
4798
4803
|
A(f, {
|
|
4799
4804
|
label: e.text.setPassword,
|
|
4800
4805
|
"label-key": c.value.setPassword,
|
|
@@ -4829,13 +4834,13 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4829
4834
|
novalidate: "",
|
|
4830
4835
|
onSubmit: n[12] ||= q((e) => U(r).submit(), ["prevent"])
|
|
4831
4836
|
}, [
|
|
4832
|
-
e.note ? (I(), E("p",
|
|
4837
|
+
e.note ? (I(), E("p", Zu, H(e.note), 1)) : T("", !0),
|
|
4833
4838
|
i.value.viaPasskey ? T("", !0) : z(t.$slots, "fields", {}, void 0, void 0, 1),
|
|
4834
|
-
Ue(A(
|
|
4839
|
+
Ue(A(Uu, {
|
|
4835
4840
|
label: e.text.password,
|
|
4836
4841
|
for: s("password")
|
|
4837
4842
|
}, {
|
|
4838
|
-
default: K(() => [A(
|
|
4843
|
+
default: K(() => [A(Ns, {
|
|
4839
4844
|
id: s("password"),
|
|
4840
4845
|
"data-signin-field": "password",
|
|
4841
4846
|
"model-value": i.value.password,
|
|
@@ -4850,7 +4855,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4850
4855
|
])]),
|
|
4851
4856
|
_: 1
|
|
4852
4857
|
}, 8, ["label", "for"]), [[Ve, !i.value.viaPasskey]]),
|
|
4853
|
-
i.value.needCode ? (I(), w(
|
|
4858
|
+
i.value.needCode ? (I(), w(Uu, {
|
|
4854
4859
|
key: 2,
|
|
4855
4860
|
label: e.text.code,
|
|
4856
4861
|
for: s("code")
|
|
@@ -4865,10 +4870,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4865
4870
|
spellcheck: "false",
|
|
4866
4871
|
placeholder: "000000",
|
|
4867
4872
|
"onUpdate:modelValue": n[7] ||= (e) => U(r).set("code", e)
|
|
4868
|
-
}, null, 8, ["id", "model-value"]), D("p",
|
|
4873
|
+
}, null, 8, ["id", "model-value"]), D("p", Qu, H(e.text.codeHint), 1)]),
|
|
4869
4874
|
_: 1
|
|
4870
4875
|
}, 8, ["label", "for"])) : T("", !0),
|
|
4871
|
-
d.value ? (I(), E("p",
|
|
4876
|
+
d.value ? (I(), E("p", $u, H(d.value), 1)) : T("", !0),
|
|
4872
4877
|
A(f, {
|
|
4873
4878
|
label: e.text.signIn,
|
|
4874
4879
|
"label-key": c.value.signIn,
|
|
@@ -4933,10 +4938,10 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4933
4938
|
disabled: !!i.value.busy,
|
|
4934
4939
|
"aria-busy": i.value.busy === "askCode" || void 0,
|
|
4935
4940
|
onClick: n[11] ||= (e) => U(r).forgot()
|
|
4936
|
-
}, H(e.text.forgot), 9,
|
|
4941
|
+
}, H(e.text.forgot), 9, ed)) : T("", !0)
|
|
4937
4942
|
], 32))], 512)]));
|
|
4938
4943
|
}
|
|
4939
|
-
}),
|
|
4944
|
+
}), nd = { class: "glim-signin-tile-body" }, rd = { class: "glim-signin-tile-text" }, id = /* @__PURE__ */ j({
|
|
4940
4945
|
__name: "SignInReauthWindow",
|
|
4941
4946
|
props: {
|
|
4942
4947
|
api: {},
|
|
@@ -4972,15 +4977,15 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4972
4977
|
actions: a.value,
|
|
4973
4978
|
onClose: i[1] ||= (e) => U(n).cancel()
|
|
4974
4979
|
}, {
|
|
4975
|
-
default: K(() => [D("div",
|
|
4976
|
-
default: K(() => [A(
|
|
4980
|
+
default: K(() => [D("div", nd, [D("p", rd, H(e.text.text), 1), A(Z, { label: e.text.password }, {
|
|
4981
|
+
default: K(() => [A(Ns, {
|
|
4977
4982
|
autocomplete: "current-password",
|
|
4978
4983
|
"model-value": r.value.password,
|
|
4979
4984
|
text: {
|
|
4980
4985
|
show: e.text.show,
|
|
4981
4986
|
hide: e.text.hide
|
|
4982
4987
|
},
|
|
4983
|
-
error: U(
|
|
4988
|
+
error: U(Er)(e.text, r.value.error),
|
|
4984
4989
|
"onUpdate:modelValue": i[0] ||= (e) => U(n).set(e),
|
|
4985
4990
|
onKeydown: o
|
|
4986
4991
|
}, null, 8, [
|
|
@@ -4999,7 +5004,7 @@ var Yo = { class: "glim-instance-rows" }, Xo = ["data-instance"], Zo = {
|
|
|
4999
5004
|
}
|
|
5000
5005
|
});
|
|
5001
5006
|
// src/confirm.ts
|
|
5002
|
-
function
|
|
5007
|
+
function ad(e) {
|
|
5003
5008
|
let t = V(null), n = V(null), r = null, i = null;
|
|
5004
5009
|
function a(e, n) {
|
|
5005
5010
|
return i = Wt(), new Promise((i) => {
|
|
@@ -5013,12 +5018,12 @@ function rd(e) {
|
|
|
5013
5018
|
r?.(e), r = null, t.value = null, ar(i), i = null;
|
|
5014
5019
|
}
|
|
5015
5020
|
let s = () => o(!1);
|
|
5016
|
-
return
|
|
5021
|
+
return od(() => t.value !== null, n, s), {
|
|
5017
5022
|
confirm: a,
|
|
5018
5023
|
dismiss: s,
|
|
5019
5024
|
ConfirmHost: j(() => () => {
|
|
5020
5025
|
let r = t.value;
|
|
5021
|
-
return r ? Te(we, { to: Jn() }, [Te(
|
|
5026
|
+
return r ? Te(we, { to: Jn() }, [Te(ha, {
|
|
5022
5027
|
ref: (e) => n.value = e?.card ?? null,
|
|
5023
5028
|
title: e.title,
|
|
5024
5029
|
message: r.message,
|
|
@@ -5032,19 +5037,19 @@ function rd(e) {
|
|
|
5032
5037
|
})
|
|
5033
5038
|
};
|
|
5034
5039
|
}
|
|
5035
|
-
function
|
|
5040
|
+
function od(e, t, n) {
|
|
5036
5041
|
G(e, (e, r, i) => {
|
|
5037
|
-
e && i(
|
|
5042
|
+
e && i(ni(() => t.value, n));
|
|
5038
5043
|
}, { immediate: !0 });
|
|
5039
5044
|
}
|
|
5040
5045
|
// src/SignInTileWindow.vue?vue&type=script&setup=true&lang.ts
|
|
5041
|
-
var
|
|
5046
|
+
var sd = { class: "glim-signin-tile-body" }, cd = { class: "glim-signin-tile-text" }, ld = {
|
|
5042
5047
|
key: 0,
|
|
5043
5048
|
class: "glim-signin-tile-goes"
|
|
5044
|
-
},
|
|
5049
|
+
}, ud = { class: "glim-signin-tile-body" }, dd = { class: "glim-signin-tile-text" }, fd = ["viewBox", "aria-label"], pd = ["d"], md = { class: "glim-signin-tile-body" }, hd = { class: "glim-signin-tile-text" }, gd = { class: "glim-signin-tile-codes" }, _d = { class: "glim-signin-tile-body" }, vd = ["role"], yd = { class: "glim-signin-tile-body" }, bd = {
|
|
5045
5050
|
key: 0,
|
|
5046
5051
|
class: "glim-signin-tile-text"
|
|
5047
|
-
},
|
|
5052
|
+
}, xd = { class: "glim-signin-tile-body" }, Sd = { class: "glim-signin-tile-text" }, Cd = ["data-signin-form"], wd = { class: "glim-signin-tile-text" }, Td = { class: "glim-signin-tile-quiet" }, Ed = ["role"], Dd = /* @__PURE__ */ j({
|
|
5048
5053
|
__name: "SignInTileWindow",
|
|
5049
5054
|
props: {
|
|
5050
5055
|
state: {},
|
|
@@ -5105,10 +5110,10 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5105
5110
|
primary: !0,
|
|
5106
5111
|
wayOut: !0,
|
|
5107
5112
|
attrs: { "data-signin-tile": "two-factor-saved" }
|
|
5108
|
-
}]), v = C(() => n.value?.kind === "addPasskey"), ee = () => v.value ? t.flow.addPasskey() : t.flow.renamePasskey(), te = C(() => [v.value ? s(t.text.passkeys.continue, t.keys.passkey, "passkey-add", ee, { primary: !0 }) : s(t.text.save, t.keys.save, "passkey-rename", ee, { primary: !0 })]),
|
|
5113
|
+
}]), v = C(() => n.value?.kind === "addPasskey"), ee = () => v.value ? t.flow.addPasskey() : t.flow.renamePasskey(), te = C(() => [v.value ? s(t.text.passkeys.continue, t.keys.passkey, "passkey-add", ee, { primary: !0 }) : s(t.text.save, t.keys.save, "passkey-rename", ee, { primary: !0 })]), y = C(() => kr(t.scopes, t.text.tokens.scopes)), ne = C(() => at.map((e) => ({
|
|
5109
5114
|
id: e,
|
|
5110
5115
|
label: t.text.tokens.lifetimes[e]
|
|
5111
|
-
}))), re = C(() =>
|
|
5116
|
+
}))), re = C(() => Pr(t.providers, t.text, t.lang, t.state.services, () => pe(t.keys.service))), ie = C(() => {
|
|
5112
5117
|
let e = t.text.services;
|
|
5113
5118
|
return {
|
|
5114
5119
|
search: e.search,
|
|
@@ -5121,15 +5126,15 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5121
5126
|
}), x = C(() => {
|
|
5122
5127
|
let e = n.value;
|
|
5123
5128
|
if (e?.kind !== "serviceForm") return null;
|
|
5124
|
-
let r =
|
|
5129
|
+
let r = Nr(t.text, e.provider, t.state.draft.label, t.providers.entries.find((t) => t.id === e.provider)?.name), i = t.state.services?.find((t) => t.id === e.edit);
|
|
5125
5130
|
return {
|
|
5126
5131
|
...e,
|
|
5127
5132
|
name: r,
|
|
5128
|
-
redirect:
|
|
5133
|
+
redirect: Dr(t.api, i)
|
|
5129
5134
|
};
|
|
5130
5135
|
}), ae = C(() => {
|
|
5131
5136
|
let e = t.text.services, n = t.state.formTest;
|
|
5132
|
-
return [s(
|
|
5137
|
+
return [s(zr(t.text, n), "test", "service-test", t.flow.testDraft, {
|
|
5133
5138
|
glyph: n?.tone === "ok" ? b : n?.tone === "danger" ? _ : void 0,
|
|
5134
5139
|
tone: n?.busy ? void 0 : n?.tone,
|
|
5135
5140
|
busy: !!n?.busy,
|
|
@@ -5142,7 +5147,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5142
5147
|
title: e.mustTest,
|
|
5143
5148
|
attrs: { "data-signin-tile": "service-turn-on" }
|
|
5144
5149
|
}];
|
|
5145
|
-
}), oe = C(() =>
|
|
5150
|
+
}), oe = C(() => Or(t.text, t.state.roles)), se = C(() => [
|
|
5146
5151
|
["scopes", t.text.services.scopes],
|
|
5147
5152
|
["nameClaim", t.text.services.nameClaim],
|
|
5148
5153
|
["groupsClaim", t.text.services.groupsClaim]
|
|
@@ -5155,11 +5160,11 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5155
5160
|
actions: [o.value, s(e.text.password.remove, e.keys.removePassword, "remove-password", e.flow.removePassword)],
|
|
5156
5161
|
onClose: _[2] ||= (t) => e.flow.close()
|
|
5157
5162
|
}, {
|
|
5158
|
-
default: K(() => [D("div",
|
|
5159
|
-
D("p",
|
|
5160
|
-
u.value.length > 0 ? (I(), E("ul",
|
|
5163
|
+
default: K(() => [D("div", sd, [
|
|
5164
|
+
D("p", cd, H(e.text.password.removeText), 1),
|
|
5165
|
+
u.value.length > 0 ? (I(), E("ul", ld, [(I(!0), E(S, null, R(u.value, (e) => (I(), E("li", { key: e }, H(e), 1))), 128))])) : T("", !0),
|
|
5161
5166
|
A(Z, { label: e.text.password.current }, {
|
|
5162
|
-
default: K(() => [A(
|
|
5167
|
+
default: K(() => [A(Ns, {
|
|
5163
5168
|
autocomplete: "current-password",
|
|
5164
5169
|
"model-value": e.state.draft.current,
|
|
5165
5170
|
text: i.value,
|
|
@@ -5187,20 +5192,20 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5187
5192
|
actions: p.value,
|
|
5188
5193
|
onClose: _[5] ||= (t) => e.flow.close()
|
|
5189
5194
|
}, {
|
|
5190
|
-
default: K(() => [D("div",
|
|
5191
|
-
D("p",
|
|
5195
|
+
default: K(() => [D("div", ud, [
|
|
5196
|
+
D("p", dd, H(d.value ? e.text.twoFactor.scan : e.text.twoFactor.offText), 1),
|
|
5192
5197
|
m.value ? (I(), E("svg", {
|
|
5193
5198
|
key: 0,
|
|
5194
5199
|
class: "glim-signin-tile-qr",
|
|
5195
5200
|
viewBox: `-2 -2 ${m.value.size + 4} ${m.value.size + 4}`,
|
|
5196
5201
|
role: "img",
|
|
5197
5202
|
"aria-label": e.text.twoFactor.qr
|
|
5198
|
-
}, [D("path", { d: m.value.path }, null, 8,
|
|
5203
|
+
}, [D("path", { d: m.value.path }, null, 8, pd)], 8, fd)) : T("", !0),
|
|
5199
5204
|
d.value ? (I(), w(Z, {
|
|
5200
5205
|
key: 1,
|
|
5201
5206
|
label: e.text.twoFactor.key
|
|
5202
5207
|
}, {
|
|
5203
|
-
default: K(() => [A(
|
|
5208
|
+
default: K(() => [A(Wa, {
|
|
5204
5209
|
value: h.value,
|
|
5205
5210
|
text: {
|
|
5206
5211
|
copy: e.text.copy,
|
|
@@ -5240,7 +5245,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5240
5245
|
actions: g.value,
|
|
5241
5246
|
onClose: _[6] ||= (t) => e.flow.close()
|
|
5242
5247
|
}, {
|
|
5243
|
-
default: K(() => [D("div",
|
|
5248
|
+
default: K(() => [D("div", md, [D("p", hd, H(e.text.twoFactor.codesText), 1), D("ul", gd, [(I(!0), E(S, null, R(n.value.codes, (e) => (I(), E("li", { key: e }, H(e), 1))), 128))])])]),
|
|
5244
5249
|
_: 1
|
|
5245
5250
|
}, 8, [
|
|
5246
5251
|
"title",
|
|
@@ -5254,7 +5259,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5254
5259
|
actions: te.value,
|
|
5255
5260
|
onClose: _[9] ||= (t) => e.flow.close()
|
|
5256
5261
|
}, {
|
|
5257
|
-
default: K(() => [D("div",
|
|
5262
|
+
default: K(() => [D("div", _d, [A(Z, {
|
|
5258
5263
|
label: e.text.passkeys.name,
|
|
5259
5264
|
hint: e.text.passkeys.nameHint
|
|
5260
5265
|
}, {
|
|
@@ -5269,7 +5274,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5269
5274
|
key: 0,
|
|
5270
5275
|
class: P(e.state.said.ok ? "glim-signin-tile-said" : "glim-signin-tile-said glim-signin-tile-said--fail"),
|
|
5271
5276
|
role: e.state.said.ok ? "status" : "alert"
|
|
5272
|
-
}, H(e.state.said.message), 11,
|
|
5277
|
+
}, H(e.state.said.message), 11, vd)) : T("", !0)])]),
|
|
5273
5278
|
_: 1
|
|
5274
5279
|
}, 8, [
|
|
5275
5280
|
"title",
|
|
@@ -5283,7 +5288,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5283
5288
|
actions: [s(e.text.tokens.make, e.keys.createToken, "token-make", e.flow.makeToken, { primary: !0 })],
|
|
5284
5289
|
onClose: _[14] ||= (t) => e.flow.close()
|
|
5285
5290
|
}, {
|
|
5286
|
-
default: K(() => [D("div",
|
|
5291
|
+
default: K(() => [D("div", yd, [e.state.me?.via === "open" ? (I(), E("p", bd, H(e.text.tokens.openHint), 1)) : T("", !0), A(xo, null, {
|
|
5287
5292
|
default: K(() => [
|
|
5288
5293
|
A(Z, {
|
|
5289
5294
|
label: e.text.tokens.name,
|
|
@@ -5298,21 +5303,21 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5298
5303
|
_: 1
|
|
5299
5304
|
}, 8, ["label", "hint"]),
|
|
5300
5305
|
A(Z, { label: e.text.tokens.scope }, {
|
|
5301
|
-
default: K(() => [A(
|
|
5306
|
+
default: K(() => [A(us, {
|
|
5302
5307
|
inline: "",
|
|
5303
5308
|
activation: "manual",
|
|
5304
5309
|
"model-value": e.state.draft.scope,
|
|
5305
|
-
items:
|
|
5310
|
+
items: y.value,
|
|
5306
5311
|
"onUpdate:modelValue": _[12] ||= (t) => e.flow.set("scope", t)
|
|
5307
5312
|
}, null, 8, ["model-value", "items"])]),
|
|
5308
5313
|
_: 1
|
|
5309
5314
|
}, 8, ["label"]),
|
|
5310
5315
|
A(Z, { label: e.text.tokens.lifetime }, {
|
|
5311
|
-
default: K(() => [A(
|
|
5316
|
+
default: K(() => [A(us, {
|
|
5312
5317
|
inline: "",
|
|
5313
5318
|
activation: "manual",
|
|
5314
5319
|
"model-value": e.state.draft.life,
|
|
5315
|
-
items:
|
|
5320
|
+
items: ne.value,
|
|
5316
5321
|
"onUpdate:modelValue": _[13] ||= (t) => e.flow.set("life", t)
|
|
5317
5322
|
}, null, 8, ["model-value", "items"])]),
|
|
5318
5323
|
_: 1
|
|
@@ -5338,8 +5343,8 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5338
5343
|
}],
|
|
5339
5344
|
onClose: _[15] ||= (t) => e.flow.close()
|
|
5340
5345
|
}, {
|
|
5341
|
-
default: K(() => [D("div",
|
|
5342
|
-
default: K(() => [A(
|
|
5346
|
+
default: K(() => [D("div", xd, [D("p", Sd, H(e.text.tokens.shownText), 1), A(Z, { label: n.value.name }, {
|
|
5347
|
+
default: K(() => [A(Wa, {
|
|
5343
5348
|
value: n.value.value,
|
|
5344
5349
|
text: {
|
|
5345
5350
|
copy: e.text.copy,
|
|
@@ -5353,7 +5358,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5353
5358
|
"title",
|
|
5354
5359
|
"text",
|
|
5355
5360
|
"actions"
|
|
5356
|
-
])) : n.value?.kind === "pickService" ? (I(), w(
|
|
5361
|
+
])) : n.value?.kind === "pickService" ? (I(), w(ku, {
|
|
5357
5362
|
key: 6,
|
|
5358
5363
|
title: e.text.services.pick,
|
|
5359
5364
|
hint: e.text.services.pickHint,
|
|
@@ -5369,7 +5374,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5369
5374
|
"groups",
|
|
5370
5375
|
"text",
|
|
5371
5376
|
"onPick"
|
|
5372
|
-
])) : x.value ? (I(), w(
|
|
5377
|
+
])) : x.value ? (I(), w(ku, {
|
|
5373
5378
|
key: 7,
|
|
5374
5379
|
title: x.value.name,
|
|
5375
5380
|
items: re.value.items,
|
|
@@ -5385,8 +5390,8 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5385
5390
|
class: "glim-signin-tile-form",
|
|
5386
5391
|
"data-signin-form": x.value.provider
|
|
5387
5392
|
}, [
|
|
5388
|
-
D("p",
|
|
5389
|
-
A(
|
|
5393
|
+
D("p", wd, H(U(J)(e.text.services.formHint, { name: x.value.name })), 1),
|
|
5394
|
+
A(xo, null, {
|
|
5390
5395
|
default: K(() => [
|
|
5391
5396
|
A(Z, {
|
|
5392
5397
|
label: e.text.services.issuer,
|
|
@@ -5416,7 +5421,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5416
5421
|
label: e.text.services.secret,
|
|
5417
5422
|
hint: x.value.edit ? e.text.services.secretKept : void 0
|
|
5418
5423
|
}, {
|
|
5419
|
-
default: K(() => [A(
|
|
5424
|
+
default: K(() => [A(Ns, {
|
|
5420
5425
|
autocomplete: "off",
|
|
5421
5426
|
"model-value": e.state.draft.secret,
|
|
5422
5427
|
text: i.value,
|
|
@@ -5434,7 +5439,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5434
5439
|
label: e.text.services.redirect,
|
|
5435
5440
|
hint: e.text.services.redirectHint
|
|
5436
5441
|
}, {
|
|
5437
|
-
default: K(() => [A(
|
|
5442
|
+
default: K(() => [A(Wa, {
|
|
5438
5443
|
value: x.value.redirect,
|
|
5439
5444
|
text: {
|
|
5440
5445
|
copy: e.text.copy,
|
|
@@ -5446,7 +5451,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5446
5451
|
A(Z, { label: e.text.services.label }, {
|
|
5447
5452
|
default: K(() => [A($, {
|
|
5448
5453
|
"model-value": e.state.draft.label,
|
|
5449
|
-
placeholder: U(
|
|
5454
|
+
placeholder: U(Mr)({ provider: x.value.provider }, e.providers, e.text).name,
|
|
5450
5455
|
error: a("label"),
|
|
5451
5456
|
"data-signin-field": "label",
|
|
5452
5457
|
"onUpdate:modelValue": _[20] ||= (t) => e.flow.set("label", t)
|
|
@@ -5462,7 +5467,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5462
5467
|
label: e.text.services.role,
|
|
5463
5468
|
"data-signin-field": "role"
|
|
5464
5469
|
}, {
|
|
5465
|
-
default: K(() => [A(
|
|
5470
|
+
default: K(() => [A(us, {
|
|
5466
5471
|
inline: "",
|
|
5467
5472
|
activation: "manual",
|
|
5468
5473
|
"model-value": e.state.draft.role,
|
|
@@ -5478,7 +5483,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5478
5483
|
value: "more",
|
|
5479
5484
|
title: e.text.services.more
|
|
5480
5485
|
}] }, {
|
|
5481
|
-
content: K(() => [A(
|
|
5486
|
+
content: K(() => [A(xo, null, {
|
|
5482
5487
|
default: K(() => [(I(!0), E(S, null, R(se.value, ([t, n]) => (I(), w(Z, {
|
|
5483
5488
|
key: t,
|
|
5484
5489
|
label: n
|
|
@@ -5501,13 +5506,13 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5501
5506
|
})]),
|
|
5502
5507
|
_: 1
|
|
5503
5508
|
}, 8, ["items"]),
|
|
5504
|
-
D("p",
|
|
5509
|
+
D("p", Td, H(U(Fr)(e.text, e.state, x.value.name)), 1),
|
|
5505
5510
|
e.state.said ? (I(), E("p", {
|
|
5506
5511
|
key: 0,
|
|
5507
5512
|
class: P(e.state.said.ok ? "glim-signin-tile-said" : "glim-signin-tile-said glim-signin-tile-said--fail"),
|
|
5508
5513
|
role: e.state.said.ok ? "status" : "alert"
|
|
5509
|
-
}, H(e.state.said.message), 11,
|
|
5510
|
-
], 8,
|
|
5514
|
+
}, H(e.state.said.message), 11, Ed)) : T("", !0)
|
|
5515
|
+
], 8, Cd)]),
|
|
5511
5516
|
_: 1
|
|
5512
5517
|
}, 8, [
|
|
5513
5518
|
"title",
|
|
@@ -5519,10 +5524,10 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5519
5524
|
"onPick"
|
|
5520
5525
|
])) : T("", !0);
|
|
5521
5526
|
}
|
|
5522
|
-
}),
|
|
5527
|
+
}), Od = ["data-glim-title"], kd = { class: "glim-notice-title" }, Ad = { class: "glim-notice-reason" }, jd = {
|
|
5523
5528
|
key: 0,
|
|
5524
5529
|
class: "glim-notice-action"
|
|
5525
|
-
},
|
|
5530
|
+
}, Md = /* @__PURE__ */ j({
|
|
5526
5531
|
__name: "UnavailableNotice",
|
|
5527
5532
|
props: { title: {} },
|
|
5528
5533
|
setup(e) {
|
|
@@ -5531,54 +5536,54 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5531
5536
|
"data-glim-title": e.title,
|
|
5532
5537
|
class: "glim-notice"
|
|
5533
5538
|
}, [
|
|
5534
|
-
D("p",
|
|
5535
|
-
D("p",
|
|
5536
|
-
t.$slots.action ? (I(), E("div",
|
|
5537
|
-
], 8,
|
|
5539
|
+
D("p", kd, H(e.title), 1),
|
|
5540
|
+
D("p", Ad, [z(t.$slots, "default")]),
|
|
5541
|
+
t.$slots.action ? (I(), E("div", jd, [z(t.$slots, "action")])) : T("", !0)
|
|
5542
|
+
], 8, Od));
|
|
5538
5543
|
}
|
|
5539
|
-
}),
|
|
5544
|
+
}), Nd = {
|
|
5540
5545
|
"data-glim": "SignInTile",
|
|
5541
5546
|
class: "glim-signin-tile"
|
|
5542
|
-
},
|
|
5547
|
+
}, Pd = {
|
|
5543
5548
|
key: 0,
|
|
5544
|
-
class: "glim-signin-tile-
|
|
5545
|
-
},
|
|
5549
|
+
class: "glim-signin-tile-body"
|
|
5550
|
+
}, Fd = { class: "glim-signin-tile-text" }, Id = {
|
|
5546
5551
|
key: 1,
|
|
5547
5552
|
class: "glim-signin-tile-body"
|
|
5548
|
-
},
|
|
5553
|
+
}, Ld = { class: "glim-signin-tile-foot" }, Rd = {
|
|
5549
5554
|
key: 1,
|
|
5550
5555
|
class: "glim-signin-tile-body"
|
|
5551
|
-
},
|
|
5556
|
+
}, zd = { class: "glim-signin-tile-foot" }, Bd = {
|
|
5552
5557
|
key: 1,
|
|
5553
5558
|
class: "glim-signin-tile-body"
|
|
5554
|
-
},
|
|
5559
|
+
}, Vd = {
|
|
5555
5560
|
key: 1,
|
|
5556
|
-
class: "glim-
|
|
5557
|
-
},
|
|
5561
|
+
class: "glim-signin-tile-rows"
|
|
5562
|
+
}, Hd = { class: "glim-connection-status" }, Ud = {
|
|
5558
5563
|
key: 3,
|
|
5559
5564
|
class: "glim-signin-tile-foot"
|
|
5560
|
-
},
|
|
5565
|
+
}, Wd = {
|
|
5561
5566
|
key: 1,
|
|
5562
5567
|
class: "glim-signin-tile-body"
|
|
5563
|
-
},
|
|
5568
|
+
}, Gd = { class: "glim-signin-tile-rows" }, Kd = {
|
|
5564
5569
|
key: 0,
|
|
5565
5570
|
class: "glim-signin-tile-foot"
|
|
5566
|
-
},
|
|
5571
|
+
}, qd = {
|
|
5567
5572
|
key: 1,
|
|
5568
5573
|
class: "glim-signin-tile-body"
|
|
5569
|
-
},
|
|
5574
|
+
}, Jd = {
|
|
5570
5575
|
key: 0,
|
|
5571
|
-
class: "glim-
|
|
5572
|
-
},
|
|
5576
|
+
class: "glim-signin-tile-rows"
|
|
5577
|
+
}, Yd = { class: "glim-signin-tile-foot" }, Xd = {
|
|
5573
5578
|
key: 1,
|
|
5574
5579
|
class: "glim-signin-tile-body"
|
|
5575
|
-
},
|
|
5580
|
+
}, Zd = {
|
|
5576
5581
|
key: 0,
|
|
5577
|
-
class: "glim-
|
|
5578
|
-
},
|
|
5582
|
+
class: "glim-signin-tile-rows"
|
|
5583
|
+
}, Qd = { class: "glim-signin-tile-foot" }, $d = {
|
|
5579
5584
|
key: 1,
|
|
5580
|
-
class: "glim-
|
|
5581
|
-
},
|
|
5585
|
+
class: "glim-signin-tile-rows"
|
|
5586
|
+
}, ef = /* @__PURE__ */ j({
|
|
5582
5587
|
__name: "SignInTile",
|
|
5583
5588
|
props: {
|
|
5584
5589
|
api: {},
|
|
@@ -5605,31 +5610,30 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5605
5610
|
let s = C(() => ({
|
|
5606
5611
|
...it,
|
|
5607
5612
|
...n.labelKeys
|
|
5608
|
-
})), c = C(() => n.time ??
|
|
5613
|
+
})), c = C(() => n.time ?? Vr(n.lang)), l = C(() => ({
|
|
5609
5614
|
show: n.text.show,
|
|
5610
5615
|
hide: n.text.hide,
|
|
5611
5616
|
confirm: n.text.confirmPassword,
|
|
5612
5617
|
mismatch: n.text.mismatch
|
|
5613
|
-
})), u = (e) => i.value.invalid?.field === e ? i.value.invalid.message : void 0, d = C(() =>
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
}
|
|
5618
|
-
let { confirm: te, ConfirmHost: ne } = rd({
|
|
5618
|
+
})), u = (e) => i.value.invalid?.field === e ? i.value.invalid.message : void 0, d = C(() => Br(i.value, n.cards)), p = (e) => Sr(n.text, i.value, e), m = C(() => Tr(n.text, i.value)), h = C(() => !!i.value.me?.password), g = C(() => wr(i.value, n.cards) && !i.value.editing), _ = (e) => pe(e), v = (e = n.text.services.edit) => ({
|
|
5619
|
+
test: n.text.services.test,
|
|
5620
|
+
edit: e,
|
|
5621
|
+
remove: n.text.remove
|
|
5622
|
+
}), { confirm: ee, ConfirmHost: te } = ad({
|
|
5619
5623
|
title: n.text.confirm,
|
|
5620
5624
|
cancel: n.text.cancel,
|
|
5621
5625
|
confirm: n.text.confirm
|
|
5622
5626
|
});
|
|
5623
5627
|
function y(e, t, i) {
|
|
5624
5628
|
let a = rr(n.text, e, i);
|
|
5625
|
-
|
|
5629
|
+
ee(a.message, {
|
|
5626
5630
|
confirmLabel: a.confirm,
|
|
5627
5631
|
confirmLabelKey: s.value.remove
|
|
5628
5632
|
}).then((n) => {
|
|
5629
5633
|
n && r.remove(e, t);
|
|
5630
5634
|
});
|
|
5631
5635
|
}
|
|
5632
|
-
return (n, a) => (I(), E("div",
|
|
5636
|
+
return (n, a) => (I(), E("div", Nd, [
|
|
5633
5637
|
(I(!0), E(S, null, R(d.value, (n, o) => (I(), E(S, { key: n }, [n === "password" ? (I(), w(X, {
|
|
5634
5638
|
key: 0,
|
|
5635
5639
|
title: t.text.password.title,
|
|
@@ -5637,27 +5641,57 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5637
5641
|
"hue-index": t.hueStart + o,
|
|
5638
5642
|
"data-signin-card": "password"
|
|
5639
5643
|
}, {
|
|
5640
|
-
default: K(() => [m.value ? (I(), E("p",
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5644
|
+
default: K(() => [m.value ? (I(), E("div", Pd, [D("p", Fd, H(m.value), 1), g.value ? (I(), w(Z, {
|
|
5645
|
+
key: 0,
|
|
5646
|
+
label: t.text.askPassword.label,
|
|
5647
|
+
hint: t.text.askPassword.when
|
|
5648
|
+
}, {
|
|
5649
|
+
default: K(() => [A(ms, {
|
|
5650
|
+
"model-value": !!i.value.settings?.askPassword,
|
|
5651
|
+
"data-signin-tile": "ask-password",
|
|
5652
|
+
"onUpdate:modelValue": a[0] ||= (e) => U(r).setAskPassword(e)
|
|
5653
|
+
}, null, 8, ["model-value"])]),
|
|
5654
|
+
_: 1
|
|
5655
|
+
}, 8, ["label", "hint"])) : T("", !0)])) : (I(), E("div", Id, [
|
|
5656
|
+
h.value ? (I(), w(xo, { key: 0 }, {
|
|
5657
|
+
default: K(() => [A(Z, {
|
|
5658
|
+
label: t.text.password.state,
|
|
5659
|
+
value: t.text.password.set
|
|
5660
|
+
}, null, 8, ["label", "value"]), g.value ? (I(), w(Z, {
|
|
5661
|
+
key: 0,
|
|
5662
|
+
label: t.text.askPassword.label,
|
|
5663
|
+
hint: t.text.askPassword.when
|
|
5664
|
+
}, {
|
|
5665
|
+
default: K(() => [A(ms, {
|
|
5666
|
+
"model-value": !!i.value.settings?.askPassword,
|
|
5667
|
+
"data-signin-tile": "ask-password",
|
|
5668
|
+
"onUpdate:modelValue": a[1] ||= (e) => U(r).setAskPassword(e)
|
|
5669
|
+
}, null, 8, ["model-value"])]),
|
|
5670
|
+
_: 1
|
|
5671
|
+
}, 8, ["label", "hint"])) : T("", !0)]),
|
|
5672
|
+
_: 1
|
|
5673
|
+
})) : i.value.editing ? T("", !0) : (I(), w(ho, {
|
|
5674
|
+
key: 1,
|
|
5675
|
+
nested: "",
|
|
5676
|
+
glyph: _(s.value.setPassword),
|
|
5677
|
+
title: t.text.password.none,
|
|
5678
|
+
hint: t.text.password.noneHint
|
|
5645
5679
|
}, null, 8, [
|
|
5646
|
-
"
|
|
5647
|
-
"
|
|
5648
|
-
"
|
|
5649
|
-
]),
|
|
5650
|
-
i.value.editing ? (I(), w(
|
|
5680
|
+
"glyph",
|
|
5681
|
+
"title",
|
|
5682
|
+
"hint"
|
|
5683
|
+
])),
|
|
5684
|
+
i.value.editing ? (I(), w(xo, { key: 2 }, {
|
|
5651
5685
|
default: K(() => [h.value ? (I(), w(Z, {
|
|
5652
5686
|
key: 0,
|
|
5653
5687
|
label: t.text.password.current
|
|
5654
5688
|
}, {
|
|
5655
|
-
default: K(() => [A(
|
|
5689
|
+
default: K(() => [A(Ns, {
|
|
5656
5690
|
autocomplete: "current-password",
|
|
5657
5691
|
"model-value": i.value.draft.current,
|
|
5658
5692
|
text: l.value,
|
|
5659
5693
|
error: u("current"),
|
|
5660
|
-
"onUpdate:modelValue": a[
|
|
5694
|
+
"onUpdate:modelValue": a[2] ||= (e) => U(r).set("current", e)
|
|
5661
5695
|
}, null, 8, [
|
|
5662
5696
|
"model-value",
|
|
5663
5697
|
"text",
|
|
@@ -5665,13 +5699,13 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5665
5699
|
])]),
|
|
5666
5700
|
_: 1
|
|
5667
5701
|
}, 8, ["label"])) : T("", !0), A(Z, { label: t.text.password.next }, {
|
|
5668
|
-
default: K(() => [A(
|
|
5702
|
+
default: K(() => [A(Ns, {
|
|
5669
5703
|
confirm: "",
|
|
5670
5704
|
"model-value": i.value.draft.next,
|
|
5671
5705
|
text: l.value,
|
|
5672
5706
|
error: u("next"),
|
|
5673
|
-
note: U(
|
|
5674
|
-
"onUpdate:modelValue": a[
|
|
5707
|
+
note: U(Lr)(t.text.password.shortHint, i.value.draft.next, i.value.offer?.minPassword ?? 12),
|
|
5708
|
+
"onUpdate:modelValue": a[3] ||= (e) => U(r).set("next", e),
|
|
5675
5709
|
onConfirmedChange: U(r).setConfirmed
|
|
5676
5710
|
}, null, 8, [
|
|
5677
5711
|
"model-value",
|
|
@@ -5684,11 +5718,11 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5684
5718
|
}, 8, ["label"])]),
|
|
5685
5719
|
_: 1
|
|
5686
5720
|
})) : T("", !0),
|
|
5687
|
-
D("div",
|
|
5721
|
+
D("div", Ld, [i.value.editing ? (I(), E(S, { key: 0 }, [A(f, {
|
|
5688
5722
|
label: t.text.cancel,
|
|
5689
5723
|
"label-key": "common.cancel",
|
|
5690
5724
|
glyph: U(ce),
|
|
5691
|
-
onClick: a[
|
|
5725
|
+
onClick: a[4] ||= (e) => U(r).cancelPassword()
|
|
5692
5726
|
}, null, 8, ["label", "glyph"]), A(f, {
|
|
5693
5727
|
label: t.text.password.save,
|
|
5694
5728
|
"label-key": s.value.savePassword,
|
|
@@ -5696,7 +5730,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5696
5730
|
busy: i.value.busy === "save-password",
|
|
5697
5731
|
disabled: !i.value.confirmed || h.value && i.value.draft.current === "",
|
|
5698
5732
|
"data-signin-tile": "save-password",
|
|
5699
|
-
onClick: a[
|
|
5733
|
+
onClick: a[5] ||= (e) => U(r).savePassword()
|
|
5700
5734
|
}, null, 8, [
|
|
5701
5735
|
"label",
|
|
5702
5736
|
"label-key",
|
|
@@ -5707,12 +5741,12 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5707
5741
|
label: t.text.password.remove,
|
|
5708
5742
|
"label-key": s.value.removePassword,
|
|
5709
5743
|
"data-signin-tile": "ask-remove-password",
|
|
5710
|
-
onClick: a[
|
|
5744
|
+
onClick: a[6] ||= (e) => U(r).askRemovePassword()
|
|
5711
5745
|
}, null, 8, ["label", "label-key"])) : T("", !0), A(f, {
|
|
5712
5746
|
label: h.value ? t.text.password.change : t.text.password.add,
|
|
5713
5747
|
"label-key": h.value ? s.value.change : s.value.setPassword,
|
|
5714
5748
|
"data-signin-tile": "edit-password",
|
|
5715
|
-
onClick: a[
|
|
5749
|
+
onClick: a[7] ||= (e) => U(r).editPassword()
|
|
5716
5750
|
}, null, 8, ["label", "label-key"])], 64))])
|
|
5717
5751
|
]))]),
|
|
5718
5752
|
_: 1
|
|
@@ -5727,7 +5761,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5727
5761
|
"hue-index": t.hueStart + o,
|
|
5728
5762
|
"data-signin-card": "askPassword"
|
|
5729
5763
|
}, {
|
|
5730
|
-
default: K(() => [p("askPassword") ? (I(), w(
|
|
5764
|
+
default: K(() => [p("askPassword") ? (I(), w(Md, {
|
|
5731
5765
|
key: 0,
|
|
5732
5766
|
title: p("askPassword").title
|
|
5733
5767
|
}, {
|
|
@@ -5738,10 +5772,10 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5738
5772
|
label: t.text.askPassword.label,
|
|
5739
5773
|
hint: t.text.askPassword.when
|
|
5740
5774
|
}, {
|
|
5741
|
-
default: K(() => [A(
|
|
5775
|
+
default: K(() => [A(ms, {
|
|
5742
5776
|
"model-value": !!i.value.settings?.askPassword,
|
|
5743
5777
|
"data-signin-tile": "ask-password",
|
|
5744
|
-
"onUpdate:modelValue": a[
|
|
5778
|
+
"onUpdate:modelValue": a[8] ||= (e) => U(r).setAskPassword(e)
|
|
5745
5779
|
}, null, 8, ["model-value"])]),
|
|
5746
5780
|
_: 1
|
|
5747
5781
|
}, 8, ["label", "hint"]))]),
|
|
@@ -5757,33 +5791,38 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5757
5791
|
"hue-index": t.hueStart + o,
|
|
5758
5792
|
"data-signin-card": "twoFactor"
|
|
5759
5793
|
}, {
|
|
5760
|
-
default: K(() => [p("twoFactor") ? (I(), w(
|
|
5794
|
+
default: K(() => [p("twoFactor") ? (I(), w(Md, {
|
|
5761
5795
|
key: 0,
|
|
5762
5796
|
title: p("twoFactor").title
|
|
5763
5797
|
}, {
|
|
5764
5798
|
default: K(() => [k(H(p("twoFactor").reason), 1)]),
|
|
5765
5799
|
_: 1
|
|
5766
|
-
}, 8, ["title"])) : (I(), E("div",
|
|
5800
|
+
}, 8, ["title"])) : (I(), E("div", Rd, [i.value.me?.twoFactor ? (I(), w(xo, { key: 0 }, {
|
|
5767
5801
|
default: K(() => [A(Z, {
|
|
5768
5802
|
label: t.text.twoFactor.state,
|
|
5769
|
-
value:
|
|
5770
|
-
tone:
|
|
5771
|
-
}, null, 8, [
|
|
5772
|
-
"label",
|
|
5773
|
-
"value",
|
|
5774
|
-
"tone"
|
|
5775
|
-
]), i.value.me?.twoFactor ? (I(), w(Z, {
|
|
5776
|
-
key: 0,
|
|
5803
|
+
value: t.text.twoFactor.on,
|
|
5804
|
+
tone: "ok"
|
|
5805
|
+
}, null, 8, ["label", "value"]), A(Z, {
|
|
5777
5806
|
label: t.text.twoFactor.codesLeft,
|
|
5778
5807
|
value: U(qn)(t.lang, t.text.twoFactor.codesLeftValue, i.value.me?.recoveryLeft ?? 0)
|
|
5779
|
-
}, null, 8, ["label", "value"])
|
|
5808
|
+
}, null, 8, ["label", "value"])]),
|
|
5780
5809
|
_: 1
|
|
5781
|
-
})
|
|
5810
|
+
})) : (I(), w(ho, {
|
|
5811
|
+
key: 1,
|
|
5812
|
+
nested: "",
|
|
5813
|
+
glyph: _(s.value.setUp),
|
|
5814
|
+
title: t.text.twoFactor.none,
|
|
5815
|
+
hint: t.text.twoFactor.noneHint
|
|
5816
|
+
}, null, 8, [
|
|
5817
|
+
"glyph",
|
|
5818
|
+
"title",
|
|
5819
|
+
"hint"
|
|
5820
|
+
])), D("div", zd, [i.value.me?.twoFactor ? (I(), E(S, { key: 0 }, [A(f, {
|
|
5782
5821
|
label: t.text.twoFactor.newCodes,
|
|
5783
5822
|
"label-key": s.value.newCodes,
|
|
5784
5823
|
busy: i.value.busy === "two-factor-codes",
|
|
5785
5824
|
"data-signin-tile": "two-factor-codes",
|
|
5786
|
-
onClick: a[
|
|
5825
|
+
onClick: a[9] ||= (e) => U(r).newCodes()
|
|
5787
5826
|
}, null, 8, [
|
|
5788
5827
|
"label",
|
|
5789
5828
|
"label-key",
|
|
@@ -5792,14 +5831,14 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5792
5831
|
label: t.text.twoFactor.turnOff,
|
|
5793
5832
|
"label-key": s.value.turnOff,
|
|
5794
5833
|
"data-signin-tile": "ask-two-factor-off",
|
|
5795
|
-
onClick: a[
|
|
5834
|
+
onClick: a[10] ||= (e) => U(r).askTwoFactorOff()
|
|
5796
5835
|
}, null, 8, ["label", "label-key"])], 64)) : (I(), w(f, {
|
|
5797
5836
|
key: 1,
|
|
5798
5837
|
label: t.text.twoFactor.setUp,
|
|
5799
5838
|
"label-key": s.value.setUp,
|
|
5800
5839
|
busy: i.value.busy === "two-factor-set-up",
|
|
5801
5840
|
"data-signin-tile": "two-factor-set-up",
|
|
5802
|
-
onClick: a[
|
|
5841
|
+
onClick: a[11] ||= (e) => U(r).setUpTwoFactor()
|
|
5803
5842
|
}, null, 8, [
|
|
5804
5843
|
"label",
|
|
5805
5844
|
"label-key",
|
|
@@ -5817,66 +5856,47 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5817
5856
|
"hue-index": t.hueStart + o,
|
|
5818
5857
|
"data-signin-card": "passkeys"
|
|
5819
5858
|
}, {
|
|
5820
|
-
default: K(() => [p("passkeys") ? (I(), w(
|
|
5859
|
+
default: K(() => [p("passkeys") ? (I(), w(Md, {
|
|
5821
5860
|
key: 0,
|
|
5822
5861
|
title: p("passkeys").title
|
|
5823
5862
|
}, {
|
|
5824
5863
|
default: K(() => [k(H(p("passkeys").reason), 1)]),
|
|
5825
5864
|
_: 1
|
|
5826
|
-
}, 8, ["title"])) : (I(), E("div",
|
|
5827
|
-
i.value.passkeysHere ? T("", !0) : (I(), w(
|
|
5865
|
+
}, 8, ["title"])) : (I(), E("div", Bd, [
|
|
5866
|
+
i.value.passkeysHere ? T("", !0) : (I(), w(Md, {
|
|
5828
5867
|
key: 0,
|
|
5829
5868
|
title: t.text.passkeys.unavailableTitle
|
|
5830
5869
|
}, {
|
|
5831
5870
|
default: K(() => [k(H(t.text.passkeys.unavailable), 1)]),
|
|
5832
5871
|
_: 1
|
|
5833
5872
|
}, 8, ["title"])),
|
|
5834
|
-
i.value.passkeys.length > 0 ? (I(), E("div",
|
|
5873
|
+
i.value.passkeys.length > 0 ? (I(), E("div", Vd, [(I(!0), E(S, null, R(i.value.passkeys, (e) => (I(), w(Ea, {
|
|
5835
5874
|
key: e.id,
|
|
5836
|
-
steady: "",
|
|
5837
5875
|
name: e.name,
|
|
5838
|
-
|
|
5839
|
-
|
|
5876
|
+
mark: _(s.value.passkey),
|
|
5877
|
+
status: U(jn)(t.text, e, c.value).added,
|
|
5878
|
+
text: v(t.text.passkeys.rename),
|
|
5879
|
+
"label-keys": {
|
|
5880
|
+
edit: s.value.rename,
|
|
5881
|
+
remove: s.value.remove
|
|
5882
|
+
},
|
|
5883
|
+
"on-edit": () => U(r).askRenamePasskey(e.id),
|
|
5884
|
+
"on-remove": () => y("passkey", e.id, e.name)
|
|
5840
5885
|
}, {
|
|
5841
|
-
|
|
5842
|
-
actions: K(() => [A(f, {
|
|
5843
|
-
compact: "",
|
|
5844
|
-
tone: "subtle",
|
|
5845
|
-
label: t.text.passkeys.rename,
|
|
5846
|
-
"label-key": s.value.rename,
|
|
5847
|
-
glyph: U(se),
|
|
5848
|
-
"data-signin-tile": `passkey-rename-${e.id}`,
|
|
5849
|
-
onClick: (t) => U(r).askRenamePasskey(e.id)
|
|
5850
|
-
}, null, 8, [
|
|
5851
|
-
"label",
|
|
5852
|
-
"label-key",
|
|
5853
|
-
"glyph",
|
|
5854
|
-
"data-signin-tile",
|
|
5855
|
-
"onClick"
|
|
5856
|
-
]), A(f, {
|
|
5857
|
-
compact: "",
|
|
5858
|
-
tone: "subtle",
|
|
5859
|
-
label: t.text.remove,
|
|
5860
|
-
"label-key": s.value.remove,
|
|
5861
|
-
glyph: U(fe),
|
|
5862
|
-
"data-signin-tile": `remove-passkey-${e.id}`,
|
|
5863
|
-
onClick: (t) => y("passkey", e.id, e.name)
|
|
5864
|
-
}, null, 8, [
|
|
5865
|
-
"label",
|
|
5866
|
-
"label-key",
|
|
5867
|
-
"glyph",
|
|
5868
|
-
"data-signin-tile",
|
|
5869
|
-
"onClick"
|
|
5870
|
-
])]),
|
|
5886
|
+
default: K(() => [D("p", Hd, H(U(jn)(t.text, e, c.value).more), 1)]),
|
|
5871
5887
|
_: 2
|
|
5872
5888
|
}, 1032, [
|
|
5873
5889
|
"name",
|
|
5874
|
-
"
|
|
5875
|
-
"
|
|
5876
|
-
|
|
5890
|
+
"mark",
|
|
5891
|
+
"status",
|
|
5892
|
+
"text",
|
|
5893
|
+
"label-keys",
|
|
5894
|
+
"on-edit",
|
|
5895
|
+
"on-remove"
|
|
5896
|
+
]))), 128))])) : i.value.passkeysHere ? (I(), w(ho, {
|
|
5877
5897
|
key: 2,
|
|
5878
5898
|
nested: "",
|
|
5879
|
-
glyph:
|
|
5899
|
+
glyph: _(s.value.passkey),
|
|
5880
5900
|
title: t.text.passkeys.none,
|
|
5881
5901
|
hint: t.text.passkeys.noneHint
|
|
5882
5902
|
}, null, 8, [
|
|
@@ -5884,11 +5904,11 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5884
5904
|
"title",
|
|
5885
5905
|
"hint"
|
|
5886
5906
|
])) : T("", !0),
|
|
5887
|
-
i.value.passkeysHere ? (I(), E("div",
|
|
5907
|
+
i.value.passkeysHere ? (I(), E("div", Ud, [A(f, {
|
|
5888
5908
|
label: t.text.passkeys.add,
|
|
5889
5909
|
"label-key": s.value.add,
|
|
5890
5910
|
"data-signin-tile": "passkey-ask-add",
|
|
5891
|
-
onClick: a[
|
|
5911
|
+
onClick: a[12] ||= (e) => U(r).askAddPasskey()
|
|
5892
5912
|
}, null, 8, ["label", "label-key"])])) : T("", !0)
|
|
5893
5913
|
]))]),
|
|
5894
5914
|
_: 1
|
|
@@ -5903,21 +5923,26 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5903
5923
|
"hue-index": t.hueStart + o,
|
|
5904
5924
|
"data-signin-card": "sessions"
|
|
5905
5925
|
}, {
|
|
5906
|
-
default: K(() => [p("sessions") ? (I(), w(
|
|
5926
|
+
default: K(() => [p("sessions") ? (I(), w(Md, {
|
|
5907
5927
|
key: 0,
|
|
5908
5928
|
title: p("sessions").title
|
|
5909
5929
|
}, {
|
|
5910
5930
|
default: K(() => [k(H(p("sessions").reason), 1)]),
|
|
5911
5931
|
_: 1
|
|
5912
|
-
}, 8, ["title"])) : (I(), E("div",
|
|
5932
|
+
}, 8, ["title"])) : (I(), E("div", Wd, [D("div", Gd, [(I(!0), E(S, null, R(i.value.sessions, (n) => (I(), w(Ea, {
|
|
5913
5933
|
key: n.id,
|
|
5914
|
-
steady: "",
|
|
5915
5934
|
name: U(Cr)(n.agent, t.text.sessions).name,
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5935
|
+
mark: _(U(Cr)(n.agent, t.text.sessions).phone ? s.value.phone : s.value.laptop),
|
|
5936
|
+
status: U(hr)(t.text, n, i.value.serviceLabels, c.value).join(" · "),
|
|
5937
|
+
text: v(),
|
|
5938
|
+
actions: n.current ? [] : [{
|
|
5939
|
+
id: "end",
|
|
5940
|
+
label: t.text.sessions.end,
|
|
5941
|
+
labelKey: s.value.end,
|
|
5942
|
+
busy: i.value.busy === `session-end-${n.id}`,
|
|
5943
|
+
onClick: () => void U(r).endSession(n.id)
|
|
5944
|
+
}]
|
|
5945
|
+
}, O({ _: 2 }, [n.current ? {
|
|
5921
5946
|
name: "badges",
|
|
5922
5947
|
fn: K(() => [A(e, {
|
|
5923
5948
|
size: "small",
|
|
@@ -5927,30 +5952,18 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5927
5952
|
_: 1
|
|
5928
5953
|
})]),
|
|
5929
5954
|
key: "0"
|
|
5930
|
-
} : void 0,
|
|
5931
|
-
name
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
busy: i.value.busy === `session-end-${n.id}`,
|
|
5938
|
-
"data-signin-tile": `session-end-${n.id}`,
|
|
5939
|
-
onClick: (e) => U(r).endSession(n.id)
|
|
5940
|
-
}, null, 8, [
|
|
5941
|
-
"label",
|
|
5942
|
-
"label-key",
|
|
5943
|
-
"busy",
|
|
5944
|
-
"data-signin-tile",
|
|
5945
|
-
"onClick"
|
|
5946
|
-
])]),
|
|
5947
|
-
key: "1"
|
|
5948
|
-
}]), 1032, ["name", "meta"]))), 128))]), i.value.sessions.some((e) => !e.current) ? (I(), E("div", Hd, [A(f, {
|
|
5955
|
+
} : void 0]), 1032, [
|
|
5956
|
+
"name",
|
|
5957
|
+
"mark",
|
|
5958
|
+
"status",
|
|
5959
|
+
"text",
|
|
5960
|
+
"actions"
|
|
5961
|
+
]))), 128))]), i.value.sessions.some((e) => !e.current) ? (I(), E("div", Kd, [A(f, {
|
|
5949
5962
|
label: t.text.sessions.endOthers,
|
|
5950
5963
|
"label-key": s.value.endOthers,
|
|
5951
5964
|
busy: i.value.busy === "sessions-end-others",
|
|
5952
5965
|
"data-signin-tile": "sessions-end-others",
|
|
5953
|
-
onClick: a[
|
|
5966
|
+
onClick: a[13] ||= (e) => U(r).endOtherSessions()
|
|
5954
5967
|
}, null, 8, [
|
|
5955
5968
|
"label",
|
|
5956
5969
|
"label-key",
|
|
@@ -5968,34 +5981,25 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
5968
5981
|
"hue-index": t.hueStart + o,
|
|
5969
5982
|
"data-signin-card": "tokens"
|
|
5970
5983
|
}, {
|
|
5971
|
-
default: K(() => [p("tokens") ? (I(), w(
|
|
5984
|
+
default: K(() => [p("tokens") ? (I(), w(Md, {
|
|
5972
5985
|
key: 0,
|
|
5973
5986
|
title: p("tokens").title
|
|
5974
5987
|
}, {
|
|
5975
5988
|
default: K(() => [k(H(p("tokens").reason), 1)]),
|
|
5976
5989
|
_: 1
|
|
5977
|
-
}, 8, ["title"])) : (I(), E("div",
|
|
5990
|
+
}, 8, ["title"])) : (I(), E("div", qd, [i.value.tokens.length > 0 ? (I(), E("div", Jd, [(I(!0), E(S, null, R(i.value.tokens, (n) => (I(), w(Ea, {
|
|
5978
5991
|
key: n.id,
|
|
5979
|
-
steady: "",
|
|
5980
5992
|
name: n.name,
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
actions:
|
|
5985
|
-
|
|
5986
|
-
tone: "subtle",
|
|
5993
|
+
mark: _(s.value.token),
|
|
5994
|
+
status: U(ti)(t.text, n, c.value).join(" · "),
|
|
5995
|
+
text: v(),
|
|
5996
|
+
actions: [{
|
|
5997
|
+
id: "revoke",
|
|
5987
5998
|
label: t.text.tokens.revoke,
|
|
5988
|
-
|
|
5989
|
-
"
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
"label",
|
|
5993
|
-
"label-key",
|
|
5994
|
-
"data-signin-tile",
|
|
5995
|
-
"onClick"
|
|
5996
|
-
])]),
|
|
5997
|
-
_: 2
|
|
5998
|
-
}, [n.scopes.length > 0 ? {
|
|
5999
|
+
labelKey: s.value.revoke,
|
|
6000
|
+
onClick: () => y("token", n.id, n.name)
|
|
6001
|
+
}]
|
|
6002
|
+
}, O({ _: 2 }, [n.scopes.length > 0 ? {
|
|
5999
6003
|
name: "badges",
|
|
6000
6004
|
fn: K(() => [(I(!0), E(S, null, R(n.scopes, (n) => (I(), w(e, {
|
|
6001
6005
|
key: n,
|
|
@@ -6005,21 +6009,27 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6005
6009
|
_: 2
|
|
6006
6010
|
}, 1024))), 128))]),
|
|
6007
6011
|
key: "0"
|
|
6008
|
-
} : void 0]), 1032, [
|
|
6012
|
+
} : void 0]), 1032, [
|
|
6013
|
+
"name",
|
|
6014
|
+
"mark",
|
|
6015
|
+
"status",
|
|
6016
|
+
"text",
|
|
6017
|
+
"actions"
|
|
6018
|
+
]))), 128))])) : (I(), w(ho, {
|
|
6009
6019
|
key: 1,
|
|
6010
6020
|
nested: "",
|
|
6011
|
-
glyph:
|
|
6021
|
+
glyph: _(s.value.token),
|
|
6012
6022
|
title: t.text.tokens.none,
|
|
6013
6023
|
hint: t.text.tokens.noneHint
|
|
6014
6024
|
}, null, 8, [
|
|
6015
6025
|
"glyph",
|
|
6016
6026
|
"title",
|
|
6017
6027
|
"hint"
|
|
6018
|
-
])), D("div",
|
|
6028
|
+
])), D("div", Yd, [A(f, {
|
|
6019
6029
|
label: t.text.tokens.create,
|
|
6020
6030
|
"label-key": s.value.createToken,
|
|
6021
6031
|
"data-signin-tile": "token-ask",
|
|
6022
|
-
onClick: a[
|
|
6032
|
+
onClick: a[14] ||= (e) => U(r).askToken()
|
|
6023
6033
|
}, null, 8, ["label", "label-key"])])]))]),
|
|
6024
6034
|
_: 1
|
|
6025
6035
|
}, 8, [
|
|
@@ -6033,124 +6043,73 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6033
6043
|
"hue-index": t.hueStart + o,
|
|
6034
6044
|
"data-signin-card": "services"
|
|
6035
6045
|
}, {
|
|
6036
|
-
default: K(() => [p("services") ? (I(), w(
|
|
6046
|
+
default: K(() => [p("services") ? (I(), w(Md, {
|
|
6037
6047
|
key: 0,
|
|
6038
6048
|
title: p("services").title
|
|
6039
6049
|
}, {
|
|
6040
6050
|
default: K(() => [k(H(p("services").reason), 1)]),
|
|
6041
6051
|
_: 1
|
|
6042
|
-
}, 8, ["title"])) : (I(), E("div",
|
|
6052
|
+
}, 8, ["title"])) : (I(), E("div", Xd, [(i.value.services?.length ?? 0) > 0 ? (I(), E("div", Zd, [(I(!0), E(S, null, R(i.value.services ?? [], (n) => (I(), w(Ea, {
|
|
6043
6053
|
key: n.id,
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
"data-signin-service": n.provider
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6054
|
+
name: U(Mr)(n, t.providers, t.text).name,
|
|
6055
|
+
mark: U(Mr)(n, t.providers, t.text).mark ?? _(s.value.service),
|
|
6056
|
+
status: U(Ir)(t.text, n, c.value),
|
|
6057
|
+
"data-signin-service": n.provider,
|
|
6058
|
+
text: v(),
|
|
6059
|
+
"label-keys": {
|
|
6060
|
+
test: s.value.test,
|
|
6061
|
+
edit: s.value.edit,
|
|
6062
|
+
remove: s.value.remove
|
|
6063
|
+
},
|
|
6064
|
+
actions: U(Ar)(t.text, n, i.value, s.value.turnOn, (e) => void U(r).confirmService(e)),
|
|
6065
|
+
test: i.value.rowTests[n.id],
|
|
6066
|
+
"on-test": n.fromConfig ? void 0 : () => void U(r).testService(n.id),
|
|
6067
|
+
"on-edit": n.fromConfig ? void 0 : () => U(r).editService(n.id),
|
|
6068
|
+
"on-remove": n.fromConfig ? void 0 : () => y("service", n.id, U(Mr)(n, t.providers, t.text).name)
|
|
6069
|
+
}, O({ _: 2 }, [U(jr)(t.text, n) ? {
|
|
6070
|
+
name: "badges",
|
|
6071
|
+
fn: K(() => [A(e, {
|
|
6051
6072
|
size: "small",
|
|
6052
|
-
tone: U(
|
|
6073
|
+
tone: U(jr)(t.text, n).tone
|
|
6053
6074
|
}, {
|
|
6054
|
-
default: K(() => [k(H(U(
|
|
6075
|
+
default: K(() => [k(H(U(jr)(t.text, n).label), 1)]),
|
|
6055
6076
|
_: 2
|
|
6056
6077
|
}, 1032, ["tone"])]),
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
tone: "subtle",
|
|
6077
|
-
label: e.label,
|
|
6078
|
-
"label-key": e.labelKey,
|
|
6079
|
-
busy: e.busy,
|
|
6080
|
-
"data-signin-tile": `service-${e.id}-${n.id}`,
|
|
6081
|
-
onClick: (t) => e.onClick()
|
|
6082
|
-
}, null, 8, [
|
|
6083
|
-
"label",
|
|
6084
|
-
"label-key",
|
|
6085
|
-
"busy",
|
|
6086
|
-
"data-signin-tile",
|
|
6087
|
-
"onClick"
|
|
6088
|
-
]))), 128)),
|
|
6089
|
-
n.fromConfig ? T("", !0) : (I(), E(S, { key: 1 }, [
|
|
6090
|
-
A(f, {
|
|
6091
|
-
compact: "",
|
|
6092
|
-
tone: v(n.id).tone === "neutral" ? "subtle" : v(n.id).tone,
|
|
6093
|
-
label: t.text.services.test,
|
|
6094
|
-
"label-key": s.value.test,
|
|
6095
|
-
glyph: v(n.id).outcome === "cross" ? U(_) : U(b),
|
|
6096
|
-
busy: i.value.rowTests[n.id]?.busy,
|
|
6097
|
-
title: i.value.rowTests[n.id]?.title,
|
|
6098
|
-
class: P({ "glim-shake": v(n.id).shake }),
|
|
6099
|
-
"data-signin-tile": `service-test-${n.id}`,
|
|
6100
|
-
onClick: (e) => U(r).testService(n.id)
|
|
6101
|
-
}, null, 8, [
|
|
6102
|
-
"tone",
|
|
6103
|
-
"label",
|
|
6104
|
-
"label-key",
|
|
6105
|
-
"glyph",
|
|
6106
|
-
"busy",
|
|
6107
|
-
"title",
|
|
6108
|
-
"class",
|
|
6109
|
-
"data-signin-tile",
|
|
6110
|
-
"onClick"
|
|
6111
|
-
]),
|
|
6112
|
-
A(f, {
|
|
6113
|
-
compact: "",
|
|
6114
|
-
tone: "subtle",
|
|
6115
|
-
label: t.text.services.edit,
|
|
6116
|
-
"label-key": s.value.edit,
|
|
6117
|
-
glyph: U(se),
|
|
6118
|
-
"data-signin-tile": `service-edit-${n.id}`,
|
|
6119
|
-
onClick: (e) => U(r).editService(n.id)
|
|
6120
|
-
}, null, 8, [
|
|
6121
|
-
"label",
|
|
6122
|
-
"label-key",
|
|
6123
|
-
"glyph",
|
|
6124
|
-
"data-signin-tile",
|
|
6125
|
-
"onClick"
|
|
6126
|
-
]),
|
|
6127
|
-
A(f, {
|
|
6128
|
-
compact: "",
|
|
6129
|
-
tone: "subtle",
|
|
6130
|
-
label: t.text.remove,
|
|
6131
|
-
"label-key": s.value.remove,
|
|
6132
|
-
glyph: U(fe),
|
|
6133
|
-
"data-signin-tile": `remove-service-${n.id}`,
|
|
6134
|
-
onClick: (e) => y("service", n.id, U(jr)(n, t.providers, t.text).name)
|
|
6135
|
-
}, null, 8, [
|
|
6136
|
-
"label",
|
|
6137
|
-
"label-key",
|
|
6138
|
-
"glyph",
|
|
6139
|
-
"data-signin-tile",
|
|
6140
|
-
"onClick"
|
|
6141
|
-
])
|
|
6142
|
-
], 64))
|
|
6143
|
-
]),
|
|
6144
|
-
_: 2
|
|
6145
|
-
}, 1032, [
|
|
6078
|
+
key: "0"
|
|
6079
|
+
} : void 0, n.fromConfig ? void 0 : {
|
|
6080
|
+
name: "control",
|
|
6081
|
+
fn: K(() => [A(ms, {
|
|
6082
|
+
"model-value": n.on,
|
|
6083
|
+
label: t.text.services.show,
|
|
6084
|
+
"hide-label": "",
|
|
6085
|
+
refused: !n.tested || n.paused ? t.text.services.mustTest : void 0,
|
|
6086
|
+
"data-signin-tile": `service-on-${n.id}`,
|
|
6087
|
+
"onUpdate:modelValue": (e) => U(r).setServiceOn(n.id, e)
|
|
6088
|
+
}, null, 8, [
|
|
6089
|
+
"model-value",
|
|
6090
|
+
"label",
|
|
6091
|
+
"refused",
|
|
6092
|
+
"data-signin-tile",
|
|
6093
|
+
"onUpdate:modelValue"
|
|
6094
|
+
])]),
|
|
6095
|
+
key: "1"
|
|
6096
|
+
}]), 1032, [
|
|
6146
6097
|
"name",
|
|
6147
|
-
"
|
|
6148
|
-
"
|
|
6149
|
-
|
|
6098
|
+
"mark",
|
|
6099
|
+
"status",
|
|
6100
|
+
"data-signin-service",
|
|
6101
|
+
"text",
|
|
6102
|
+
"label-keys",
|
|
6103
|
+
"actions",
|
|
6104
|
+
"test",
|
|
6105
|
+
"on-test",
|
|
6106
|
+
"on-edit",
|
|
6107
|
+
"on-remove"
|
|
6108
|
+
]))), 128))])) : T("", !0), D("div", Qd, [A(f, {
|
|
6150
6109
|
label: t.text.services.add,
|
|
6151
6110
|
"label-key": s.value.addService,
|
|
6152
6111
|
"data-signin-tile": "service-pick",
|
|
6153
|
-
onClick: a[
|
|
6112
|
+
onClick: a[15] ||= (e) => U(r).pickService()
|
|
6154
6113
|
}, null, 8, ["label", "label-key"])])]))]),
|
|
6155
6114
|
_: 1
|
|
6156
6115
|
}, 8, [
|
|
@@ -6164,21 +6123,28 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6164
6123
|
"hue-index": t.hueStart + o,
|
|
6165
6124
|
"data-signin-card": "accounts"
|
|
6166
6125
|
}, {
|
|
6167
|
-
default: K(() => [p("accounts") ? (I(), w(
|
|
6126
|
+
default: K(() => [p("accounts") ? (I(), w(Md, {
|
|
6168
6127
|
key: 0,
|
|
6169
6128
|
title: p("accounts").title
|
|
6170
6129
|
}, {
|
|
6171
6130
|
default: K(() => [k(H(p("accounts").reason), 1)]),
|
|
6172
6131
|
_: 1
|
|
6173
|
-
}, 8, ["title"])) : (I(), E("div",
|
|
6132
|
+
}, 8, ["title"])) : (I(), E("div", $d, [(I(!0), E(S, null, R(i.value.accounts ?? [], (n) => (I(), w(Ea, {
|
|
6174
6133
|
key: n.id,
|
|
6175
|
-
steady: "",
|
|
6176
6134
|
name: n.name,
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6135
|
+
mark: _(s.value.account),
|
|
6136
|
+
status: U(ct)(t.text, n, i.value.serviceLabels, c.value).join(" · "),
|
|
6137
|
+
text: v(),
|
|
6138
|
+
"label-keys": { remove: s.value.remove },
|
|
6139
|
+
actions: n.owner || n.id === i.value.me?.account ? [] : [{
|
|
6140
|
+
id: "block",
|
|
6141
|
+
label: n.blocked ? t.text.accounts.unblock : t.text.accounts.block,
|
|
6142
|
+
labelKey: n.blocked ? s.value.unblock : s.value.block,
|
|
6143
|
+
busy: i.value.busy === `account-block-${n.id}`,
|
|
6144
|
+
onClick: () => void U(r).block(n.id, !n.blocked)
|
|
6145
|
+
}],
|
|
6146
|
+
"on-remove": n.owner || n.id === i.value.me?.account ? void 0 : () => y("account", n.id, n.name)
|
|
6147
|
+
}, O({ _: 2 }, [n.owner || n.blocked ? {
|
|
6182
6148
|
name: "badges",
|
|
6183
6149
|
fn: K(() => [n.owner ? (I(), w(e, {
|
|
6184
6150
|
key: 0,
|
|
@@ -6195,46 +6161,22 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6195
6161
|
_: 1
|
|
6196
6162
|
})) : T("", !0)]),
|
|
6197
6163
|
key: "0"
|
|
6198
|
-
} : void 0,
|
|
6199
|
-
name
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
onClick: (e) => U(r).block(n.id, !n.blocked)
|
|
6208
|
-
}, null, 8, [
|
|
6209
|
-
"label",
|
|
6210
|
-
"label-key",
|
|
6211
|
-
"busy",
|
|
6212
|
-
"data-signin-tile",
|
|
6213
|
-
"onClick"
|
|
6214
|
-
]), A(f, {
|
|
6215
|
-
compact: "",
|
|
6216
|
-
tone: "subtle",
|
|
6217
|
-
label: t.text.remove,
|
|
6218
|
-
"label-key": s.value.remove,
|
|
6219
|
-
glyph: U(fe),
|
|
6220
|
-
"data-signin-tile": `remove-account-${n.id}`,
|
|
6221
|
-
onClick: (e) => y("account", n.id, n.name)
|
|
6222
|
-
}, null, 8, [
|
|
6223
|
-
"label",
|
|
6224
|
-
"label-key",
|
|
6225
|
-
"glyph",
|
|
6226
|
-
"data-signin-tile",
|
|
6227
|
-
"onClick"
|
|
6228
|
-
])]),
|
|
6229
|
-
key: "1"
|
|
6230
|
-
} : void 0]), 1032, ["name", "meta"]))), 128))]))]),
|
|
6164
|
+
} : void 0]), 1032, [
|
|
6165
|
+
"name",
|
|
6166
|
+
"mark",
|
|
6167
|
+
"status",
|
|
6168
|
+
"text",
|
|
6169
|
+
"label-keys",
|
|
6170
|
+
"actions",
|
|
6171
|
+
"on-remove"
|
|
6172
|
+
]))), 128))]))]),
|
|
6231
6173
|
_: 1
|
|
6232
6174
|
}, 8, [
|
|
6233
6175
|
"title",
|
|
6234
6176
|
"hint",
|
|
6235
6177
|
"hue-index"
|
|
6236
6178
|
]))], 64))), 128)),
|
|
6237
|
-
A(
|
|
6179
|
+
A(Dd, {
|
|
6238
6180
|
state: i.value,
|
|
6239
6181
|
flow: U(r),
|
|
6240
6182
|
api: t.api,
|
|
@@ -6253,14 +6195,14 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6253
6195
|
"providers",
|
|
6254
6196
|
"keys"
|
|
6255
6197
|
]),
|
|
6256
|
-
A(U(
|
|
6198
|
+
A(U(te))
|
|
6257
6199
|
]));
|
|
6258
6200
|
}
|
|
6259
|
-
}),
|
|
6201
|
+
}), tf = [
|
|
6260
6202
|
"aria-label",
|
|
6261
6203
|
"aria-invalid",
|
|
6262
6204
|
"aria-describedby"
|
|
6263
|
-
],
|
|
6205
|
+
], nf = /* @__PURE__ */ j({
|
|
6264
6206
|
inheritAttrs: !1,
|
|
6265
6207
|
__name: "TextArea",
|
|
6266
6208
|
props: /*@__PURE__*/ M({
|
|
@@ -6274,7 +6216,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6274
6216
|
}),
|
|
6275
6217
|
emits: ["update:modelValue"],
|
|
6276
6218
|
setup(e, { expose: t }) {
|
|
6277
|
-
let n = e, r = W(e, "modelValue"), i = ve(() => n.label), a = C(() =>
|
|
6219
|
+
let n = e, r = W(e, "modelValue"), i = ve(() => n.label), a = C(() => Zr({
|
|
6278
6220
|
width: n.width,
|
|
6279
6221
|
mono: n.mono,
|
|
6280
6222
|
area: !0
|
|
@@ -6287,7 +6229,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6287
6229
|
"aria-invalid": c.value.invalid,
|
|
6288
6230
|
"aria-describedby": c.value.describedBy,
|
|
6289
6231
|
class: a.value
|
|
6290
|
-
}), null, 16,
|
|
6232
|
+
}), null, 16, tf), [[Be, r.value]]), c.value.errorId ? (I(), w(_o, {
|
|
6291
6233
|
key: 0,
|
|
6292
6234
|
id: c.value.errorId
|
|
6293
6235
|
}, {
|
|
@@ -6295,32 +6237,32 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6295
6237
|
_: 1
|
|
6296
6238
|
}, 8, ["id"])) : T("", !0)], 64));
|
|
6297
6239
|
}
|
|
6298
|
-
}),
|
|
6240
|
+
}), rf = ["data-notify-form"], af = {
|
|
6299
6241
|
key: 0,
|
|
6300
6242
|
class: "glim-notify-text"
|
|
6301
|
-
},
|
|
6243
|
+
}, of = {
|
|
6302
6244
|
key: 0,
|
|
6303
6245
|
class: "glim-notify-problem",
|
|
6304
6246
|
role: "alert"
|
|
6305
|
-
},
|
|
6247
|
+
}, sf = {
|
|
6306
6248
|
key: 0,
|
|
6307
6249
|
class: "glim-notify-problem",
|
|
6308
6250
|
role: "alert"
|
|
6309
|
-
},
|
|
6251
|
+
}, cf = {
|
|
6310
6252
|
key: 5,
|
|
6311
6253
|
class: "glim-notify-checks",
|
|
6312
6254
|
"data-notify": "events"
|
|
6313
|
-
},
|
|
6255
|
+
}, lf = {
|
|
6314
6256
|
key: 6,
|
|
6315
6257
|
class: "glim-notify-headers"
|
|
6316
|
-
},
|
|
6258
|
+
}, uf = {
|
|
6317
6259
|
key: 0,
|
|
6318
6260
|
class: "glim-notify-text"
|
|
6319
|
-
},
|
|
6261
|
+
}, df = {
|
|
6320
6262
|
key: 1,
|
|
6321
6263
|
class: "glim-notify-problem",
|
|
6322
6264
|
role: "alert"
|
|
6323
|
-
},
|
|
6265
|
+
}, ff = ["role"], pf = /* @__PURE__ */ j({
|
|
6324
6266
|
__name: "NotifyCardForm",
|
|
6325
6267
|
props: {
|
|
6326
6268
|
form: {},
|
|
@@ -6341,8 +6283,8 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6341
6283
|
class: "glim-notify-form",
|
|
6342
6284
|
"data-notify-form": e.form.kind
|
|
6343
6285
|
}, [
|
|
6344
|
-
e.form.hint ? (I(), E("p",
|
|
6345
|
-
e.form.unavailable ? (I(), w(
|
|
6286
|
+
e.form.hint ? (I(), E("p", af, H(e.form.hint), 1)) : T("", !0),
|
|
6287
|
+
e.form.unavailable ? (I(), w(Md, {
|
|
6346
6288
|
key: 1,
|
|
6347
6289
|
title: e.text.idle
|
|
6348
6290
|
}, {
|
|
@@ -6354,13 +6296,13 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6354
6296
|
class: "glim-notify-problem",
|
|
6355
6297
|
role: "alert"
|
|
6356
6298
|
}, H(e), 1))), 128)),
|
|
6357
|
-
A(
|
|
6299
|
+
A(xo, null, {
|
|
6358
6300
|
default: K(() => [(I(!0), E(S, null, R(e.form.fields, (t) => (I(), w(Z, {
|
|
6359
6301
|
key: t.path,
|
|
6360
6302
|
label: t.label,
|
|
6361
6303
|
hint: t.hint
|
|
6362
6304
|
}, {
|
|
6363
|
-
default: K(() => [t.control === "secret" ? (I(), w(
|
|
6305
|
+
default: K(() => [t.control === "secret" ? (I(), w(Ns, {
|
|
6364
6306
|
key: 0,
|
|
6365
6307
|
autocomplete: "new-password",
|
|
6366
6308
|
"model-value": t.value,
|
|
@@ -6374,7 +6316,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6374
6316
|
"note",
|
|
6375
6317
|
"error",
|
|
6376
6318
|
"onUpdate:modelValue"
|
|
6377
|
-
])) : t.control === "number" ? (I(), w(
|
|
6319
|
+
])) : t.control === "number" ? (I(), w(au, {
|
|
6378
6320
|
key: 1,
|
|
6379
6321
|
min: 1,
|
|
6380
6322
|
max: 65535,
|
|
@@ -6387,7 +6329,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6387
6329
|
"placeholder",
|
|
6388
6330
|
"error",
|
|
6389
6331
|
"onUpdate:modelValue"
|
|
6390
|
-
])) : t.control === "area" ? (I(), w(
|
|
6332
|
+
])) : t.control === "area" ? (I(), w(nf, {
|
|
6391
6333
|
key: 2,
|
|
6392
6334
|
mono: t.mono,
|
|
6393
6335
|
"model-value": t.value,
|
|
@@ -6408,7 +6350,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6408
6350
|
"model-value",
|
|
6409
6351
|
"options",
|
|
6410
6352
|
"onUpdate:modelValue"
|
|
6411
|
-
]), t.error ? (I(), E("p",
|
|
6353
|
+
]), t.error ? (I(), E("p", of, H(t.error), 1)) : T("", !0)], 64)) : t.control === "segments" ? (I(), E(S, { key: 4 }, [A(us, {
|
|
6412
6354
|
inline: "",
|
|
6413
6355
|
activation: "manual",
|
|
6414
6356
|
"model-value": t.value,
|
|
@@ -6418,7 +6360,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6418
6360
|
"model-value",
|
|
6419
6361
|
"items",
|
|
6420
6362
|
"onUpdate:modelValue"
|
|
6421
|
-
]), t.error ? (I(), E("p",
|
|
6363
|
+
]), t.error ? (I(), E("p", sf, H(t.error), 1)) : T("", !0)], 64)) : t.control === "checks" ? (I(), E("div", cf, [(I(!0), E(S, null, R(t.options ?? [], (t) => (I(), w(Ki, {
|
|
6422
6364
|
key: t.value,
|
|
6423
6365
|
"model-value": !!t.checked,
|
|
6424
6366
|
label: t.label,
|
|
@@ -6427,7 +6369,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6427
6369
|
"model-value",
|
|
6428
6370
|
"label",
|
|
6429
6371
|
"onUpdate:modelValue"
|
|
6430
|
-
]))), 128))])) : t.control === "headers" ? (I(), E("div",
|
|
6372
|
+
]))), 128))])) : t.control === "headers" ? (I(), E("div", lf, [
|
|
6431
6373
|
(I(!0), E(S, null, R(e.state.headers, (t, r) => (I(), E("div", {
|
|
6432
6374
|
key: r,
|
|
6433
6375
|
class: "glim-notify-header"
|
|
@@ -6443,7 +6385,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6443
6385
|
"model-value",
|
|
6444
6386
|
"onUpdate:modelValue"
|
|
6445
6387
|
]),
|
|
6446
|
-
A(
|
|
6388
|
+
A(Ns, {
|
|
6447
6389
|
autocomplete: "new-password",
|
|
6448
6390
|
"aria-label": e.text.fields.headerValue,
|
|
6449
6391
|
"model-value": t.value === U(et) ? "" : t.value,
|
|
@@ -6474,8 +6416,8 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6474
6416
|
"label-key": e.keys.add,
|
|
6475
6417
|
onClick: a[0] ||= (t) => e.flow.addHeader()
|
|
6476
6418
|
}, null, 8, ["label", "label-key"])]),
|
|
6477
|
-
t.note ? (I(), E("p",
|
|
6478
|
-
t.error ? (I(), E("p",
|
|
6419
|
+
t.note ? (I(), E("p", uf, H(t.note), 1)) : T("", !0),
|
|
6420
|
+
t.error ? (I(), E("p", df, H(t.error), 1)) : T("", !0)
|
|
6479
6421
|
])) : (I(), w($, {
|
|
6480
6422
|
key: 7,
|
|
6481
6423
|
mono: t.mono,
|
|
@@ -6498,10 +6440,10 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6498
6440
|
key: 2,
|
|
6499
6441
|
class: P(e.state.said.ok ? "glim-notify-said" : "glim-notify-said glim-notify-said--fail"),
|
|
6500
6442
|
role: e.state.said.ok ? "status" : "alert"
|
|
6501
|
-
}, H(e.state.said.message), 11,
|
|
6502
|
-
], 8,
|
|
6443
|
+
}, H(e.state.said.message), 11, ff)) : T("", !0)
|
|
6444
|
+
], 8, rf));
|
|
6503
6445
|
}
|
|
6504
|
-
}),
|
|
6446
|
+
}), mf = /* @__PURE__ */ j({
|
|
6505
6447
|
__name: "NotifyCardWindow",
|
|
6506
6448
|
props: {
|
|
6507
6449
|
state: {},
|
|
@@ -6545,7 +6487,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6545
6487
|
onClick: () => (t.flow.save(), !1)
|
|
6546
6488
|
}];
|
|
6547
6489
|
});
|
|
6548
|
-
return (t, c) => n.value?.kind === "pick" ? (I(), w(
|
|
6490
|
+
return (t, c) => n.value?.kind === "pick" ? (I(), w(ku, {
|
|
6549
6491
|
key: 0,
|
|
6550
6492
|
title: e.text.add,
|
|
6551
6493
|
hint: e.text.hint,
|
|
@@ -6561,7 +6503,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6561
6503
|
"groups",
|
|
6562
6504
|
"text",
|
|
6563
6505
|
"onPick"
|
|
6564
|
-
])) : n.value?.kind === "form" && a.value && n.value.adding ? (I(), w(
|
|
6506
|
+
])) : n.value?.kind === "form" && a.value && n.value.adding ? (I(), w(ku, {
|
|
6565
6507
|
key: 1,
|
|
6566
6508
|
title: e.text.add,
|
|
6567
6509
|
items: r.value.items,
|
|
@@ -6573,7 +6515,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6573
6515
|
onBack: c[1] ||= (t) => e.flow.pick(),
|
|
6574
6516
|
onClose: c[2] ||= (t) => e.flow.close()
|
|
6575
6517
|
}, {
|
|
6576
|
-
default: K(() => [A(
|
|
6518
|
+
default: K(() => [A(pf, {
|
|
6577
6519
|
form: a.value,
|
|
6578
6520
|
state: e.state,
|
|
6579
6521
|
flow: e.flow,
|
|
@@ -6606,7 +6548,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6606
6548
|
actions: s.value,
|
|
6607
6549
|
onClose: c[3] ||= (t) => e.flow.close()
|
|
6608
6550
|
}, {
|
|
6609
|
-
default: K(() => [A(
|
|
6551
|
+
default: K(() => [A(pf, {
|
|
6610
6552
|
form: a.value,
|
|
6611
6553
|
state: e.state,
|
|
6612
6554
|
flow: e.flow,
|
|
@@ -6626,14 +6568,14 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6626
6568
|
"actions"
|
|
6627
6569
|
])) : T("", !0);
|
|
6628
6570
|
}
|
|
6629
|
-
}),
|
|
6571
|
+
}), hf = { "data-glim": "NotifyCard" }, gf = { class: "glim-notify-body" }, _f = {
|
|
6630
6572
|
key: 0,
|
|
6631
6573
|
class: "glim-notify-said glim-notify-said--fail",
|
|
6632
6574
|
role: "alert"
|
|
6633
|
-
},
|
|
6575
|
+
}, vf = {
|
|
6634
6576
|
key: 1,
|
|
6635
6577
|
class: "glim-list glim-notify-rows"
|
|
6636
|
-
},
|
|
6578
|
+
}, yf = { class: "glim-notify-foot" }, bf = /* @__PURE__ */ j({
|
|
6637
6579
|
__name: "NotifyCard",
|
|
6638
6580
|
props: {
|
|
6639
6581
|
api: {},
|
|
@@ -6660,9 +6602,9 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6660
6602
|
})), c = C(() => xn(i.value, n)), l = (e) => Ct(i.value.rowTests[e]);
|
|
6661
6603
|
function u(e) {
|
|
6662
6604
|
let t = n.providers.entries.find((t) => t.id === e)?.mark;
|
|
6663
|
-
return t ? () => Te(
|
|
6605
|
+
return t ? () => Te(Hi, { svg: t.svg }) : pe(vn(e, s.value));
|
|
6664
6606
|
}
|
|
6665
|
-
let { confirm: d, ConfirmHost: p } =
|
|
6607
|
+
let { confirm: d, ConfirmHost: p } = ad({
|
|
6666
6608
|
title: n.text.remove,
|
|
6667
6609
|
cancel: n.text.cancel,
|
|
6668
6610
|
confirm: n.text.remove
|
|
@@ -6678,24 +6620,24 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6678
6620
|
t && r.remove(e);
|
|
6679
6621
|
});
|
|
6680
6622
|
}
|
|
6681
|
-
return (n, a) => (I(), E("div",
|
|
6623
|
+
return (n, a) => (I(), E("div", hf, [
|
|
6682
6624
|
A(X, {
|
|
6683
6625
|
title: t.text.title,
|
|
6684
6626
|
hint: t.text.hint,
|
|
6685
6627
|
"hue-index": t.hueIndex
|
|
6686
6628
|
}, {
|
|
6687
|
-
default: K(() => [D("div",
|
|
6688
|
-
i.value.loadFailed ? (I(), E("p",
|
|
6689
|
-
c.value.length > 0 ? (I(), E("div",
|
|
6629
|
+
default: K(() => [D("div", gf, [
|
|
6630
|
+
i.value.loadFailed ? (I(), E("p", _f, H(t.text.notLoaded), 1)) : T("", !0),
|
|
6631
|
+
c.value.length > 0 ? (I(), E("div", vf, [(I(!0), E(S, null, R(c.value, (n) => (I(), w(Fl, {
|
|
6690
6632
|
key: n.id,
|
|
6691
6633
|
steady: "",
|
|
6692
6634
|
name: n.name,
|
|
6693
6635
|
meta: n.meta,
|
|
6694
6636
|
"data-notify-channel": n.id
|
|
6695
6637
|
}, O({
|
|
6696
|
-
tile: K(() => [A(
|
|
6638
|
+
tile: K(() => [A(rl, { glyph: u(n.kind) }, null, 8, ["glyph"])]),
|
|
6697
6639
|
actions: K(() => [
|
|
6698
|
-
A(
|
|
6640
|
+
A(ms, {
|
|
6699
6641
|
"model-value": n.enabled,
|
|
6700
6642
|
label: n.name,
|
|
6701
6643
|
"hide-label": "",
|
|
@@ -6777,12 +6719,12 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6777
6719
|
"name",
|
|
6778
6720
|
"meta",
|
|
6779
6721
|
"data-notify-channel"
|
|
6780
|
-
]))), 128))])) : i.value.loaded ? (I(), w(
|
|
6722
|
+
]))), 128))])) : i.value.loaded ? (I(), w(ho, {
|
|
6781
6723
|
key: 2,
|
|
6782
6724
|
nested: "",
|
|
6783
6725
|
title: U(J)(t.text.empty, { app: t.app })
|
|
6784
6726
|
}, null, 8, ["title"])) : T("", !0),
|
|
6785
|
-
D("div",
|
|
6727
|
+
D("div", yf, [A(f, {
|
|
6786
6728
|
label: t.text.add,
|
|
6787
6729
|
"label-key": s.value.add,
|
|
6788
6730
|
disabled: !i.value.loaded,
|
|
@@ -6800,7 +6742,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6800
6742
|
"hint",
|
|
6801
6743
|
"hue-index"
|
|
6802
6744
|
]),
|
|
6803
|
-
A(
|
|
6745
|
+
A(mf, {
|
|
6804
6746
|
state: i.value,
|
|
6805
6747
|
flow: U(r),
|
|
6806
6748
|
text: t.text,
|
|
@@ -6829,13 +6771,13 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6829
6771
|
A(U(p))
|
|
6830
6772
|
]));
|
|
6831
6773
|
}
|
|
6832
|
-
}),
|
|
6774
|
+
}), xf = {
|
|
6833
6775
|
key: 0,
|
|
6834
6776
|
class: "glim-skeleton-block glim-skeleton-tile"
|
|
6835
|
-
},
|
|
6777
|
+
}, Sf = {
|
|
6836
6778
|
key: 1,
|
|
6837
6779
|
class: "glim-skeleton-block glim-skeleton-badge"
|
|
6838
|
-
},
|
|
6780
|
+
}, Cf = /* @__PURE__ */ j({
|
|
6839
6781
|
__name: "SkeletonRow",
|
|
6840
6782
|
props: {
|
|
6841
6783
|
delay: {},
|
|
@@ -6849,7 +6791,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6849
6791
|
}
|
|
6850
6792
|
},
|
|
6851
6793
|
setup(e) {
|
|
6852
|
-
let t = e, n = C(() =>
|
|
6794
|
+
let t = e, n = C(() => Hr({
|
|
6853
6795
|
delay: t.delay,
|
|
6854
6796
|
tile: t.tile,
|
|
6855
6797
|
badge: t.badge
|
|
@@ -6860,18 +6802,18 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6860
6802
|
class: P(n.value.className),
|
|
6861
6803
|
style: F(n.value.style)
|
|
6862
6804
|
}, [
|
|
6863
|
-
n.value.tile ? (I(), E("span",
|
|
6805
|
+
n.value.tile ? (I(), E("span", xf)) : T("", !0),
|
|
6864
6806
|
t[0] ||= D("span", { class: "glim-skeleton-block glim-skeleton-name" }, null, -1),
|
|
6865
|
-
n.value.badge ? (I(), E("span",
|
|
6807
|
+
n.value.badge ? (I(), E("span", Sf)) : T("", !0)
|
|
6866
6808
|
], 6));
|
|
6867
6809
|
}
|
|
6868
|
-
}),
|
|
6810
|
+
}), wf = ["data-glim-title", "aria-labelledby"], Tf = {
|
|
6869
6811
|
key: 0,
|
|
6870
6812
|
class: "glim-panel-heading"
|
|
6871
|
-
},
|
|
6813
|
+
}, Ef = ["id"], Df = {
|
|
6872
6814
|
key: 1,
|
|
6873
6815
|
class: "glim-subcard-end"
|
|
6874
|
-
},
|
|
6816
|
+
}, Of = /* @__PURE__ */ j({
|
|
6875
6817
|
__name: "SubCard",
|
|
6876
6818
|
props: {
|
|
6877
6819
|
title: {},
|
|
@@ -6885,23 +6827,23 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6885
6827
|
class: P(["glim-subcard", { "glim-subcard--titled": t.title }]),
|
|
6886
6828
|
"aria-labelledby": t.title ? U(n) : void 0
|
|
6887
6829
|
}, [
|
|
6888
|
-
t.title ? (I(), E("h3",
|
|
6830
|
+
t.title ? (I(), E("h3", Tf, [A(e, {
|
|
6889
6831
|
tone: "heading",
|
|
6890
6832
|
size: "heading",
|
|
6891
6833
|
wrap: ""
|
|
6892
6834
|
}, {
|
|
6893
|
-
default: K(() => [D("span", { id: U(n) }, H(t.title), 9,
|
|
6835
|
+
default: K(() => [D("span", { id: U(n) }, H(t.title), 9, Ef), t.hint ? (I(), w(Y, {
|
|
6894
6836
|
key: 0,
|
|
6895
6837
|
tip: t.hint,
|
|
6896
6838
|
"on-accent": ""
|
|
6897
6839
|
}, null, 8, ["tip"])) : T("", !0)]),
|
|
6898
6840
|
_: 1
|
|
6899
6841
|
})])) : T("", !0),
|
|
6900
|
-
r.$slots.end ? (I(), E("div",
|
|
6842
|
+
r.$slots.end ? (I(), E("div", Df, [z(r.$slots, "end")])) : T("", !0),
|
|
6901
6843
|
z(r.$slots, "default")
|
|
6902
|
-
], 10,
|
|
6844
|
+
], 10, wf));
|
|
6903
6845
|
}
|
|
6904
|
-
}),
|
|
6846
|
+
}), kf = ["aria-label"], Af = { key: 0 }, jf = { key: 0 }, Mf = ["colspan"], Nf = /* @__PURE__ */ j({
|
|
6905
6847
|
__name: "Table",
|
|
6906
6848
|
props: {
|
|
6907
6849
|
label: {},
|
|
@@ -6915,23 +6857,23 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6915
6857
|
"data-glim": "Table",
|
|
6916
6858
|
class: "glim-table",
|
|
6917
6859
|
"aria-label": e.label
|
|
6918
|
-
}, [n.value ? (I(), E("thead",
|
|
6860
|
+
}, [n.value ? (I(), E("thead", Af, [D("tr", null, [(I(!0), E(S, null, R(e.columns, (e) => (I(), E("th", {
|
|
6919
6861
|
key: e.key,
|
|
6920
6862
|
scope: "col",
|
|
6921
6863
|
class: P({ "glim-table-end": e.end })
|
|
6922
6864
|
}, H(e.label), 3))), 128))])])) : T("", !0), D("tbody", null, [(I(!0), E(S, null, R(e.rows, (n, i) => (I(), E("tr", { key: i }, [(I(!0), E(S, null, R(e.columns, (e) => (I(), E("td", {
|
|
6923
6865
|
key: e.key,
|
|
6924
|
-
class: P(U(
|
|
6866
|
+
class: P(U(Xr)(e))
|
|
6925
6867
|
}, [z(t.$slots, "cell", {
|
|
6926
6868
|
row: n,
|
|
6927
6869
|
column: e,
|
|
6928
6870
|
value: r(n, e)
|
|
6929
|
-
}, () => [k(H(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (I(), E("tr",
|
|
6871
|
+
}, () => [k(H(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (I(), E("tr", jf, [D("td", {
|
|
6930
6872
|
colspan: e.columns.length,
|
|
6931
6873
|
class: "glim-table-muted"
|
|
6932
|
-
}, H(e.more), 9,
|
|
6874
|
+
}, H(e.more), 9, Mf)])) : T("", !0)])], 8, kf));
|
|
6933
6875
|
}
|
|
6934
|
-
}),
|
|
6876
|
+
}), Pf = { class: "glim-toast-body" }, Ff = { class: "glim-toast-message" }, If = { key: 0 }, Lf = ["aria-label"], Rf = /* @__PURE__ */ j({
|
|
6935
6877
|
__name: "ToastCard",
|
|
6936
6878
|
props: {
|
|
6937
6879
|
id: {},
|
|
@@ -6965,7 +6907,7 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6965
6907
|
mark: U(ot)[e.severity],
|
|
6966
6908
|
class: P(`glim-toast-glyph glim-toast-glyph--${e.severity}`)
|
|
6967
6909
|
}, null, 8, ["mark", "class"]),
|
|
6968
|
-
D("div",
|
|
6910
|
+
D("div", Pf, [D("p", Ff, [(I(!0), E(S, null, R(U(Ur)(e.message), (e, t) => (I(), E(S, { key: t }, [t > 0 ? (I(), E("wbr", If)) : T("", !0), k(H(e), 1)], 64))), 128))]), e.action ? (I(), w(f, {
|
|
6969
6911
|
key: 0,
|
|
6970
6912
|
class: "glim-toast-action",
|
|
6971
6913
|
tone: "subtle",
|
|
@@ -6978,19 +6920,19 @@ var ad = { class: "glim-signin-tile-body" }, od = { class: "glim-signin-tile-tex
|
|
|
6978
6920
|
"aria-label": e.dismissLabel,
|
|
6979
6921
|
class: "glim-btn-bare glim-toast-dismiss",
|
|
6980
6922
|
onClick: n[1] ||= (t) => r("dismiss", e.id)
|
|
6981
|
-
}, [A(U(p), { mark: U(Ze).dismiss }, null, 8, ["mark"])], 8,
|
|
6923
|
+
}, [A(U(p), { mark: U(Ze).dismiss }, null, 8, ["mark"])], 8, Lf)
|
|
6982
6924
|
], 32));
|
|
6983
6925
|
}
|
|
6984
|
-
}),
|
|
6985
|
-
function
|
|
6986
|
-
for (let i of Object.values(t)) typeof n[
|
|
6926
|
+
}), zf = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
|
|
6927
|
+
function Bf(e, t, n, r) {
|
|
6928
|
+
for (let i of Object.values(t)) typeof n[zf(i)] == "function" && r(`${e} ${i}`);
|
|
6987
6929
|
return (e, ...r) => {
|
|
6988
|
-
let i = t[e], a = i === void 0 ? void 0 : n[
|
|
6930
|
+
let i = t[e], a = i === void 0 ? void 0 : n[zf(i)];
|
|
6989
6931
|
typeof a == "function" && a(...r);
|
|
6990
6932
|
};
|
|
6991
6933
|
}
|
|
6992
6934
|
// src/ToastViewport.vue
|
|
6993
|
-
var
|
|
6935
|
+
var Vf = /* @__PURE__ */ j({
|
|
6994
6936
|
inheritAttrs: !1,
|
|
6995
6937
|
__name: "ToastViewport",
|
|
6996
6938
|
props: {
|
|
@@ -7009,12 +6951,12 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7009
6951
|
"blur"
|
|
7010
6952
|
],
|
|
7011
6953
|
setup(e, { emit: t }) {
|
|
7012
|
-
let n = e, r = t, i =
|
|
6954
|
+
let n = e, r = t, i = Bf("ToastViewport", {
|
|
7013
6955
|
mouseEnter: "enter",
|
|
7014
6956
|
mouseLeave: "leave",
|
|
7015
6957
|
focus: "focusin",
|
|
7016
6958
|
blur: "focusout"
|
|
7017
|
-
}, n,
|
|
6959
|
+
}, n, ci);
|
|
7018
6960
|
function a(e) {
|
|
7019
6961
|
r("mouseEnter", e), i("mouseEnter", e);
|
|
7020
6962
|
}
|
|
@@ -7031,7 +6973,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7031
6973
|
return G(() => n.toasts, (e) => {
|
|
7032
6974
|
let t = new Set(e.map((e) => e.id));
|
|
7033
6975
|
for (let e of l) t.has(e) || l.delete(e);
|
|
7034
|
-
for (let t of e) l.has(t.id) || (l.add(t.id), ut(t.message,
|
|
6976
|
+
for (let t of e) l.has(t.id) || (l.add(t.id), ut(t.message, $r(t.severity)));
|
|
7035
6977
|
}, {
|
|
7036
6978
|
immediate: !0,
|
|
7037
6979
|
deep: 1,
|
|
@@ -7042,7 +6984,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7042
6984
|
D("div", N({
|
|
7043
6985
|
"data-glim": "ToastViewport",
|
|
7044
6986
|
class: "glim-toast-stack"
|
|
7045
|
-
}, t.$attrs), [(I(!0), E(S, null, R(e.toasts, (t) => (I(), w(
|
|
6987
|
+
}, t.$attrs), [(I(!0), E(S, null, R(e.toasts, (t) => (I(), w(Rf, {
|
|
7046
6988
|
id: t.id,
|
|
7047
6989
|
key: t.id,
|
|
7048
6990
|
message: t.message,
|
|
@@ -7063,7 +7005,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7063
7005
|
]))), 128))], 16)
|
|
7064
7006
|
], 64));
|
|
7065
7007
|
}
|
|
7066
|
-
}),
|
|
7008
|
+
}), Hf = ["aria-label"], Uf = [
|
|
7067
7009
|
"aria-level",
|
|
7068
7010
|
"aria-posinset",
|
|
7069
7011
|
"aria-setsize",
|
|
@@ -7074,11 +7016,11 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7074
7016
|
"onClick",
|
|
7075
7017
|
"onDblclick",
|
|
7076
7018
|
"onKeydown"
|
|
7077
|
-
],
|
|
7019
|
+
], Wf = ["onClick"], Gf = {
|
|
7078
7020
|
key: 0,
|
|
7079
7021
|
class: "glim-tree-glyph",
|
|
7080
7022
|
"aria-hidden": "true"
|
|
7081
|
-
},
|
|
7023
|
+
}, Kf = { class: "glim-tree-label" }, qf = /* @__PURE__ */ j({
|
|
7082
7024
|
__name: "Tree",
|
|
7083
7025
|
props: /*@__PURE__*/ M({
|
|
7084
7026
|
label: {},
|
|
@@ -7096,7 +7038,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7096
7038
|
s.has(e) || (s.add(e), Promise.resolve(n.load(e)).then((t) => o.set(e, t), () => s.delete(e)));
|
|
7097
7039
|
}
|
|
7098
7040
|
G(i, (e) => [null, ...e].forEach(l), { immediate: !0 });
|
|
7099
|
-
let u = C(() =>
|
|
7041
|
+
let u = C(() => ri(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
|
|
7100
7042
|
function f(e) {
|
|
7101
7043
|
i.value = i.value.includes(e) ? i.value.filter((t) => t !== e) : [...i.value, e];
|
|
7102
7044
|
}
|
|
@@ -7107,7 +7049,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7107
7049
|
e.preventDefault(), r.value = n, e.key === "Enter" && a("activate", n);
|
|
7108
7050
|
return;
|
|
7109
7051
|
}
|
|
7110
|
-
let i =
|
|
7052
|
+
let i = ii(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
|
|
7111
7053
|
i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, Ut(c.value, i.focus)) : f("open" in i ? i.open : i.close));
|
|
7112
7054
|
}
|
|
7113
7055
|
return (t, n) => (I(), E("div", {
|
|
@@ -7138,12 +7080,12 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7138
7080
|
"aria-hidden": "true",
|
|
7139
7081
|
onClick: q((t) => e.node.hasChildren && f(e.node.id), ["stop"]),
|
|
7140
7082
|
onDblclick: n[0] ||= q(() => {}, ["stop"])
|
|
7141
|
-
}, [e.node.hasChildren ? (I(), w(U(le), { key: 0 })) : T("", !0)], 40,
|
|
7142
|
-
e.node.glyph ? (I(), E("span",
|
|
7143
|
-
D("span",
|
|
7144
|
-
], 16,
|
|
7083
|
+
}, [e.node.hasChildren ? (I(), w(U(le), { key: 0 })) : T("", !0)], 40, Wf),
|
|
7084
|
+
e.node.glyph ? (I(), E("span", Gf, [(I(), w(B(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
|
|
7085
|
+
D("span", Kf, H(e.node.label), 1)
|
|
7086
|
+
], 16, Uf))), 128))], 8, Hf));
|
|
7145
7087
|
}
|
|
7146
|
-
}),
|
|
7088
|
+
}), Jf = ["aria-label"], Yf = { class: "glim-window-square" }, Xf = { class: "glim-window-square" }, Zf = { class: "glim-window-square" }, Qf = /* @__PURE__ */ j({
|
|
7147
7089
|
__name: "WindowBar",
|
|
7148
7090
|
props: {
|
|
7149
7091
|
appName: {},
|
|
@@ -7184,7 +7126,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7184
7126
|
class: "glim-window-button",
|
|
7185
7127
|
onClick: r[0] ||= (e) => n("minimise")
|
|
7186
7128
|
}, {
|
|
7187
|
-
default: K(() => [D("span",
|
|
7129
|
+
default: K(() => [D("span", Yf, [A(U(me))])]),
|
|
7188
7130
|
_: 1
|
|
7189
7131
|
}, 8, ["tip"]),
|
|
7190
7132
|
A(ge, {
|
|
@@ -7192,7 +7134,7 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7192
7134
|
class: "glim-window-button",
|
|
7193
7135
|
onClick: r[1] ||= (e) => n("toggleMaximise")
|
|
7194
7136
|
}, {
|
|
7195
|
-
default: K(() => [D("span",
|
|
7137
|
+
default: K(() => [D("span", Xf, [e.maximised ? (I(), w(U(m), { key: 0 })) : (I(), w(U(v), { key: 1 }))])]),
|
|
7196
7138
|
_: 1
|
|
7197
7139
|
}, 8, ["tip"]),
|
|
7198
7140
|
A(ge, {
|
|
@@ -7200,14 +7142,14 @@ var Lf = /* @__PURE__ */ j({
|
|
|
7200
7142
|
class: "glim-window-button",
|
|
7201
7143
|
onClick: r[2] ||= (e) => n("close")
|
|
7202
7144
|
}, {
|
|
7203
|
-
default: K(() => [D("span",
|
|
7145
|
+
default: K(() => [D("span", Zf, [A(U(_))])]),
|
|
7204
7146
|
_: 1
|
|
7205
7147
|
}, 8, ["tip"])
|
|
7206
|
-
], 40,
|
|
7148
|
+
], 40, Jf));
|
|
7207
7149
|
}
|
|
7208
7150
|
});
|
|
7209
7151
|
// src/paypalButtons.ts
|
|
7210
|
-
function
|
|
7152
|
+
function $f(e) {
|
|
7211
7153
|
let t = V(null), n = () => {};
|
|
7212
7154
|
return G([
|
|
7213
7155
|
t,
|
|
@@ -7241,8 +7183,8 @@ function Yf(e) {
|
|
|
7241
7183
|
}), Ae(() => n()), (e) => t.value = e;
|
|
7242
7184
|
}
|
|
7243
7185
|
// src/dragArmed.ts
|
|
7244
|
-
function
|
|
7186
|
+
function ep(e, t) {
|
|
7245
7187
|
let n = () => e.value?.classList.toggle("glim-drag-armed", t());
|
|
7246
7188
|
He(n, { flush: "post" }), Me(n);
|
|
7247
7189
|
}
|
|
7248
|
-
export {
|
|
7190
|
+
export { Li as AboutCard, e as Badge, Hi as BrandMark, c as BusyRing, f as Button, X as Card, Ki as Checkbox, na as CoffeeDialog, sa as ColorPicker, ha as ConfirmDialog, Ea as ConnectionRow, Va as ContextMenu, Wa as CopyField, oo as CryptoDonateDialog, lo as DropdownListbox, ho as EmptyState, _o as FieldError, Z as FieldRow, xo as FieldRowGroup, Ec as Fortress, rs as FortressAppCard, Ao as FortressDoubtWindow, Dc as FortressPairing, Ts as FortressPermissions, $c as FortressStatusWindow, Je as GLIMSTONE_RELEASE_URL, Ye as GLIMSTONE_REPO, Xe as GLIMSTONE_VERSION, nl as GlyphField, rl as GlyphTile, ue as IconBack, Se as IconButton, ae as IconCalendar, ce as IconCancel, b as IconCheck, _ as IconClose, oe as IconCopy, le as IconExpand, ee as IconEye, ie as IconEyeOff, de as IconFolderOpen, te as IconForward, y as IconPause, se as IconPencil, x as IconPlay, re as IconResetArrow, ne as IconSearch, g as IconStar, ge as IconTipButton, fe as IconTrash, he as IconUpload, v as IconWindowMaximise, me as IconWindowMinimise, m as IconWindowRestore, Di as InfoAboutCard, Y as InfoBubble, pl as InfoComponentsCard, Ai as InfoHelpCard, Dl as InfoTile, Tl as InfoVersionCard, Ko as InstanceCard, Oa as Kbd, Fl as ListRow, Zl as ListTable, p as MarkSvg, eu as MenuBar, nu as Meter, bf as NotifyCard, au as NumberField, Ns as PasswordField, su as PathField, wu as PaypalDialog, ku as PickerWindow, vo as Pill, Ll as Popover, Jo as PresenceBadges, kc as ProgressBar, Ci as ReadmeButton, Au as RowMark, us as Selector, Bu as Sheet, Fu as SidebarRow, td as SignInCard, Uu as SignInField, id as SignInReauthWindow, ef as SignInTile, Cf as SkeletonRow, Of as SubCard, Nf as Table, nf as TextArea, $ as TextField, Rf as ToastCard, Vf as ToastViewport, ms as Toggle, qf as Tree, Md as UnavailableNotice, Q as Window, Qf as WindowBar, Yo as deviceGlyph, pe as glyphFor, fr as selectorTabId, h as setGlyphResolver, u as useAccent, ad as useConfirm, o as useDensity, od as useDialogKeys, ep as useDragArmed, ve as useFieldName, i as useHue, l as useLabelMode, d as useMotion, $f as usePaypalButtons, be as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };
|