@glimstone/vue 4.8.0 → 4.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +431 -431
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -814,16 +814,16 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
814
814
|
])])
|
|
815
815
|
], 8, pi)]));
|
|
816
816
|
}
|
|
817
|
-
}), xi = ["aria-label"], Si = { class: "glim-connection-
|
|
817
|
+
}), xi = ["aria-label"], Si = { class: "glim-connection-main" }, Ci = { class: "glim-connection-head" }, wi = { class: "glim-connection-name" }, Ti = {
|
|
818
818
|
key: 0,
|
|
819
819
|
class: "glim-connection-badges"
|
|
820
|
-
},
|
|
820
|
+
}, Ei = { class: "glim-connection-foot" }, Di = { class: "glim-connection-about" }, Oi = {
|
|
821
821
|
key: 0,
|
|
822
822
|
class: "glim-connection-status"
|
|
823
|
-
},
|
|
823
|
+
}, ki = {
|
|
824
824
|
key: 0,
|
|
825
825
|
class: "glim-connection-actions"
|
|
826
|
-
},
|
|
826
|
+
}, Ai = 640, ji = /* @__PURE__ */ j({
|
|
827
827
|
__name: "ConnectionRow",
|
|
828
828
|
props: {
|
|
829
829
|
name: {},
|
|
@@ -859,10 +859,10 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
859
859
|
class: "glim-connection-tile",
|
|
860
860
|
style: F(n.value.style),
|
|
861
861
|
"aria-hidden": "true"
|
|
862
|
-
}, [D("span",
|
|
862
|
+
}, [D("span", { class: P(n.value.wordmark ? "glim-connection-mark glim-connection-mark--wordmark" : "glim-connection-mark") }, [n.value.svg === void 0 ? (R(), w(H(e.mark), { key: 1 })) : (R(), w(qr, {
|
|
863
863
|
key: 0,
|
|
864
864
|
svg: n.value.svg
|
|
865
|
-
}, null, 8, ["svg"]))])], 4), D("div",
|
|
865
|
+
}, null, 8, ["svg"]))], 2)], 4), D("div", Si, [D("div", Ci, [D("span", wi, W(e.name), 1), t.$slots.badges ? (R(), E("span", Ti, [V(t.$slots, "badges")])) : T("", !0)]), D("div", Ei, [D("div", Di, [e.status ? (R(), E("p", Oi, W(e.status), 1)) : T("", !0), V(t.$slots, "default")]), r.value.length > 0 ? (R(), E("span", ki, [(R(!0), E(S, null, B(r.value, (e) => (R(), w(f, {
|
|
866
866
|
key: e.id,
|
|
867
867
|
label: e.label,
|
|
868
868
|
"label-key": e.labelKey,
|
|
@@ -871,7 +871,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
871
871
|
busy: e.busy,
|
|
872
872
|
title: e.title,
|
|
873
873
|
disabled: e.disabled,
|
|
874
|
-
"compact-below":
|
|
874
|
+
"compact-below": Ai,
|
|
875
875
|
class: P({ "glim-shake": e.face.shake }),
|
|
876
876
|
"data-connection": e.id,
|
|
877
877
|
onClick: e.onClick
|
|
@@ -888,23 +888,23 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
888
888
|
"onClick"
|
|
889
889
|
]))), 128))])) : T("", !0)])])], 8, xi));
|
|
890
890
|
}
|
|
891
|
-
}),
|
|
891
|
+
}), Mi = {
|
|
892
892
|
"data-glim": "Kbd",
|
|
893
893
|
class: "glim-kbd"
|
|
894
|
-
},
|
|
894
|
+
}, Ni = /* @__PURE__ */ j({
|
|
895
895
|
__name: "Kbd",
|
|
896
896
|
setup(e) {
|
|
897
|
-
return (e, t) => (R(), E("kbd",
|
|
897
|
+
return (e, t) => (R(), E("kbd", Mi, [V(e.$slots, "default")]));
|
|
898
898
|
}
|
|
899
|
-
}),
|
|
899
|
+
}), Pi = {
|
|
900
900
|
key: 0,
|
|
901
901
|
class: "glim-menu-sep",
|
|
902
902
|
role: "separator"
|
|
903
|
-
},
|
|
903
|
+
}, Fi = {
|
|
904
904
|
key: 1,
|
|
905
905
|
class: "glim-menu-head",
|
|
906
906
|
role: "presentation"
|
|
907
|
-
},
|
|
907
|
+
}, Ii = [
|
|
908
908
|
"role",
|
|
909
909
|
"aria-checked",
|
|
910
910
|
"aria-haspopup",
|
|
@@ -912,26 +912,26 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
912
912
|
"disabled",
|
|
913
913
|
"data-row",
|
|
914
914
|
"onClick"
|
|
915
|
-
],
|
|
915
|
+
], Li = {
|
|
916
916
|
key: 0,
|
|
917
917
|
class: "glim-checkbox-box",
|
|
918
918
|
"aria-hidden": "true"
|
|
919
|
-
},
|
|
919
|
+
}, Ri = {
|
|
920
920
|
key: 2,
|
|
921
921
|
class: "glim-menu-glyph",
|
|
922
922
|
"aria-hidden": "true"
|
|
923
|
-
},
|
|
923
|
+
}, zi = { class: "glim-menu-label" }, Bi = {
|
|
924
924
|
key: 3,
|
|
925
925
|
class: "glim-menu-end glim-menu-caret",
|
|
926
926
|
"aria-hidden": "true"
|
|
927
|
-
},
|
|
927
|
+
}, Vi = {
|
|
928
928
|
key: 4,
|
|
929
929
|
class: "glim-menu-end glim-menu-tick",
|
|
930
930
|
"aria-hidden": "true"
|
|
931
|
-
},
|
|
931
|
+
}, Hi = {
|
|
932
932
|
key: 6,
|
|
933
933
|
class: "glim-menu-end glim-menu-count glim-num"
|
|
934
|
-
},
|
|
934
|
+
}, Ui = /* @__PURE__ */ j({
|
|
935
935
|
__name: "MenuRows",
|
|
936
936
|
props: {
|
|
937
937
|
entries: {},
|
|
@@ -947,7 +947,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
947
947
|
item: e,
|
|
948
948
|
view: Kt(e)
|
|
949
949
|
}));
|
|
950
|
-
return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div",
|
|
950
|
+
return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", Pi)) : t.kind === "head" ? (R(), E("div", Fi, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(_e, {
|
|
951
951
|
key: 0,
|
|
952
952
|
tip: t.head.edit.tip,
|
|
953
953
|
role: "menuitem",
|
|
@@ -975,23 +975,23 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
975
975
|
"data-row": n,
|
|
976
976
|
onClick: (e) => r("pick", n)
|
|
977
977
|
}, [
|
|
978
|
-
t.view.lead === "box" ? (R(), E("span",
|
|
978
|
+
t.view.lead === "box" ? (R(), E("span", Li, [A(G(b))])) : t.view.lead === "dot" ? (R(), E("span", {
|
|
979
979
|
key: 1,
|
|
980
980
|
class: "glim-menu-dot",
|
|
981
981
|
style: F({ backgroundColor: t.item.color }),
|
|
982
982
|
"aria-hidden": "true"
|
|
983
|
-
}, null, 4)) : (R(), E("span",
|
|
984
|
-
D("span",
|
|
985
|
-
t.view.end === "submenu" ? (R(), E("span",
|
|
983
|
+
}, null, 4)) : (R(), E("span", Ri, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
|
|
984
|
+
D("span", zi, W(t.item.label), 1),
|
|
985
|
+
t.view.end === "submenu" ? (R(), E("span", Bi, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", Vi, [A(G(b))])) : t.view.end === "shortcut" ? (R(), w(Ni, {
|
|
986
986
|
key: 5,
|
|
987
987
|
class: "glim-menu-end"
|
|
988
988
|
}, {
|
|
989
989
|
default: Y(() => [k(W(t.item.shortcut), 1)]),
|
|
990
990
|
_: 2
|
|
991
|
-
}, 1024)) : t.view.end === "count" ? (R(), E("span",
|
|
992
|
-
], 10,
|
|
991
|
+
}, 1024)) : t.view.end === "count" ? (R(), E("span", Hi, W(t.item.count), 1)) : T("", !0)
|
|
992
|
+
], 10, Ii))], 64))), 128));
|
|
993
993
|
}
|
|
994
|
-
}),
|
|
994
|
+
}), Wi = ["id", "aria-label"], Gi = ["id", "aria-label"], Ki = /* @__PURE__ */ j({
|
|
995
995
|
__name: "ContextMenu",
|
|
996
996
|
props: {
|
|
997
997
|
x: {},
|
|
@@ -1106,11 +1106,11 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1106
1106
|
onKeydown: n[1] ||= (e) => ee(e, !1),
|
|
1107
1107
|
onMouseover: te,
|
|
1108
1108
|
onContextmenu: n[2] ||= X(() => {}, ["prevent"])
|
|
1109
|
-
}, [A(
|
|
1109
|
+
}, [A(Ui, {
|
|
1110
1110
|
entries: u.value,
|
|
1111
1111
|
"open-at": c.value?.at,
|
|
1112
1112
|
onPick: n[0] ||= (e) => v(u.value, e)
|
|
1113
|
-
}, null, 8, ["entries", "open-at"])], 44,
|
|
1113
|
+
}, null, 8, ["entries", "open-at"])], 44, Wi), f.value ? (R(), E("div", {
|
|
1114
1114
|
key: 0,
|
|
1115
1115
|
id: d.value?.subId,
|
|
1116
1116
|
ref_key: "subMenu",
|
|
@@ -1124,15 +1124,15 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1124
1124
|
}),
|
|
1125
1125
|
onKeydown: n[4] ||= (e) => ee(e, !0),
|
|
1126
1126
|
onContextmenu: n[5] ||= X(() => {}, ["prevent"])
|
|
1127
|
-
}, [A(
|
|
1127
|
+
}, [A(Ui, {
|
|
1128
1128
|
entries: f.value,
|
|
1129
1129
|
onPick: n[3] ||= (e) => v(f.value, e)
|
|
1130
|
-
}, null, 8, ["entries"])], 44,
|
|
1130
|
+
}, null, 8, ["entries"])], 44, Gi)) : T("", !0)], 8, ["to"]));
|
|
1131
1131
|
}
|
|
1132
|
-
}),
|
|
1132
|
+
}), qi = ["value", "aria-label"], Ji = {
|
|
1133
1133
|
role: "status",
|
|
1134
1134
|
class: "glim-sr-only"
|
|
1135
|
-
},
|
|
1135
|
+
}, Yi = /* @__PURE__ */ j({
|
|
1136
1136
|
__name: "CopyField",
|
|
1137
1137
|
props: {
|
|
1138
1138
|
value: {},
|
|
@@ -1163,7 +1163,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1163
1163
|
"aria-label": G(i),
|
|
1164
1164
|
spellcheck: "false",
|
|
1165
1165
|
class: "glim-input glim-input--mono"
|
|
1166
|
-
}, null, 8,
|
|
1166
|
+
}, null, 8, qi),
|
|
1167
1167
|
A(f, {
|
|
1168
1168
|
label: a.value ? e.text.copied : e.text.copy,
|
|
1169
1169
|
"label-key": a.value ? "copied" : "copy",
|
|
@@ -1175,27 +1175,27 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1175
1175
|
"label-key",
|
|
1176
1176
|
"glyph"
|
|
1177
1177
|
]),
|
|
1178
|
-
D("span",
|
|
1178
|
+
D("span", Ji, W(a.value ? e.text.copied : ""), 1)
|
|
1179
1179
|
], 2));
|
|
1180
1180
|
}
|
|
1181
|
-
}),
|
|
1181
|
+
}), Xi = ["data-glim-title"], Zi = { class: "glim-modal-head" }, Qi = {
|
|
1182
1182
|
id: "cryptodonate-title",
|
|
1183
1183
|
class: "glim-modal-title"
|
|
1184
|
-
},
|
|
1184
|
+
}, $i = { class: "glim-give-body glim-give-body--scroll" }, ea = { class: "glim-give-appeal" }, ta = { class: "glim-give-intro" }, na = { class: "glim-give-well" }, ra = {
|
|
1185
1185
|
dir: "ltr",
|
|
1186
1186
|
class: "glim-give-address"
|
|
1187
|
-
},
|
|
1187
|
+
}, ia = ["aria-label"], aa = ["aria-selected", "onClick"], oa = {
|
|
1188
1188
|
key: 0,
|
|
1189
1189
|
class: "glim-give-note"
|
|
1190
|
-
},
|
|
1190
|
+
}, sa = ["aria-label"], ca = [
|
|
1191
1191
|
"aria-selected",
|
|
1192
1192
|
"aria-label",
|
|
1193
1193
|
"title",
|
|
1194
1194
|
"onClick"
|
|
1195
|
-
],
|
|
1195
|
+
], la = {
|
|
1196
1196
|
key: 1,
|
|
1197
1197
|
class: "glim-give-ticker"
|
|
1198
|
-
},
|
|
1198
|
+
}, ua = { class: "glim-give-foot" }, da = /* @__PURE__ */ j({
|
|
1199
1199
|
__name: "CryptoDonateDialog",
|
|
1200
1200
|
props: {
|
|
1201
1201
|
coins: {},
|
|
@@ -1239,7 +1239,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1239
1239
|
"aria-labelledby": "cryptodonate-title",
|
|
1240
1240
|
class: "glim-modal-card glim-modal-card--wide"
|
|
1241
1241
|
}, [
|
|
1242
|
-
D("div",
|
|
1242
|
+
D("div", Zi, [D("h2", Qi, [A(e, {
|
|
1243
1243
|
tone: "heading",
|
|
1244
1244
|
size: "heading",
|
|
1245
1245
|
wrap: ""
|
|
@@ -1247,12 +1247,12 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1247
1247
|
default: Y(() => [k(W(t.text.title), 1)]),
|
|
1248
1248
|
_: 1
|
|
1249
1249
|
})])]),
|
|
1250
|
-
D("div",
|
|
1251
|
-
D("p",
|
|
1252
|
-
D("p",
|
|
1253
|
-
D("div",
|
|
1250
|
+
D("div", $i, [
|
|
1251
|
+
D("p", ea, W(t.text.appeal), 1),
|
|
1252
|
+
D("p", ta, W(t.text.intro), 1),
|
|
1253
|
+
D("div", na, [
|
|
1254
1254
|
V(n.$slots, "qr", { value: t.network.address }),
|
|
1255
|
-
D("p",
|
|
1255
|
+
D("p", ra, W(t.network.address), 1),
|
|
1256
1256
|
D("div", {
|
|
1257
1257
|
class: "glim-give-networks",
|
|
1258
1258
|
role: "listbox",
|
|
@@ -1265,8 +1265,8 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1265
1265
|
style: F(G(kt)(n)),
|
|
1266
1266
|
class: P(e.id === t.network.id ? "glim-give-network glim-hue glim-active" : "glim-give-network glim-hue"),
|
|
1267
1267
|
onClick: (n) => a("pick", t.coin, e)
|
|
1268
|
-
}, W(e.name), 15,
|
|
1269
|
-
t.network.note ? (R(), E("p",
|
|
1268
|
+
}, W(e.name), 15, aa))), 128))], 8, ia),
|
|
1269
|
+
t.network.note ? (R(), E("p", oa, W(t.network.note), 1)) : T("", !0),
|
|
1270
1270
|
A(f, {
|
|
1271
1271
|
label: t.text.copyLabel,
|
|
1272
1272
|
"label-key": "common.copy",
|
|
@@ -1289,17 +1289,17 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1289
1289
|
style: F(d(e, r)),
|
|
1290
1290
|
class: P(p(e)),
|
|
1291
1291
|
onClick: (t) => a("pick", e, e.networks[0])
|
|
1292
|
-
}, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span",
|
|
1292
|
+
}, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", la, W(e.symbol), 1)) : T("", !0)], 14, ca))), 128))], 8, sa)
|
|
1293
1293
|
]),
|
|
1294
|
-
D("div",
|
|
1294
|
+
D("div", ua, [A(f, {
|
|
1295
1295
|
label: t.text.closeLabel,
|
|
1296
1296
|
"label-key": "common.close",
|
|
1297
1297
|
tone: "neutral",
|
|
1298
1298
|
onClick: r[1] ||= (e) => a("close")
|
|
1299
1299
|
}, null, 8, ["label"])])
|
|
1300
|
-
], 8,
|
|
1300
|
+
], 8, Xi)]));
|
|
1301
1301
|
}
|
|
1302
|
-
}),
|
|
1302
|
+
}), fa = ["aria-multiselectable", "aria-label"], pa = 4, ma = /* @__PURE__ */ j({
|
|
1303
1303
|
__name: "DropdownListbox",
|
|
1304
1304
|
props: {
|
|
1305
1305
|
open: { type: Boolean },
|
|
@@ -1327,7 +1327,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1327
1327
|
}, { left: o, top: s } = st(t, {
|
|
1328
1328
|
width: t.width,
|
|
1329
1329
|
height: i.value.offsetHeight
|
|
1330
|
-
}, r,
|
|
1330
|
+
}, r, pa);
|
|
1331
1331
|
a.value = {
|
|
1332
1332
|
left: o,
|
|
1333
1333
|
top: s,
|
|
@@ -1408,16 +1408,16 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1408
1408
|
...G(o).style.value
|
|
1409
1409
|
}),
|
|
1410
1410
|
onKeydown: g
|
|
1411
|
-
}, [V(t.$slots, "default")], 46,
|
|
1411
|
+
}, [V(t.$slots, "default")], 46, fa)], 8, ["to"])) : T("", !0);
|
|
1412
1412
|
}
|
|
1413
|
-
}),
|
|
1413
|
+
}), ha = ["data-glim-title"], ga = {
|
|
1414
1414
|
key: 0,
|
|
1415
1415
|
class: "glim-empty-glyph",
|
|
1416
1416
|
"aria-hidden": "true"
|
|
1417
|
-
},
|
|
1417
|
+
}, _a = { class: "glim-empty-title" }, va = {
|
|
1418
1418
|
key: 1,
|
|
1419
1419
|
class: "glim-empty-hint"
|
|
1420
|
-
},
|
|
1420
|
+
}, ya = /* @__PURE__ */ j({
|
|
1421
1421
|
__name: "EmptyState",
|
|
1422
1422
|
props: {
|
|
1423
1423
|
glyph: {},
|
|
@@ -1434,13 +1434,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1434
1434
|
"data-glim-title": e.title,
|
|
1435
1435
|
class: P(e.nested ? "glim-empty" : "glim-card glim-empty")
|
|
1436
1436
|
}, [
|
|
1437
|
-
e.glyph ? (R(), E("span",
|
|
1438
|
-
D("p",
|
|
1439
|
-
e.hint ? (R(), E("p",
|
|
1437
|
+
e.glyph ? (R(), E("span", ga, [(R(), w(H(e.glyph)))])) : T("", !0),
|
|
1438
|
+
D("p", _a, W(e.title), 1),
|
|
1439
|
+
e.hint ? (R(), E("p", va, W(e.hint), 1)) : T("", !0),
|
|
1440
1440
|
V(t.$slots, "default")
|
|
1441
|
-
], 10,
|
|
1441
|
+
], 10, ha));
|
|
1442
1442
|
}
|
|
1443
|
-
}),
|
|
1443
|
+
}), ba = ["id"], xa = /* @__PURE__ */ j({
|
|
1444
1444
|
__name: "FieldError",
|
|
1445
1445
|
props: { id: {} },
|
|
1446
1446
|
setup(e) {
|
|
@@ -1448,9 +1448,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1448
1448
|
"data-glim": "FieldError",
|
|
1449
1449
|
id: e.id,
|
|
1450
1450
|
class: "glim-field-error"
|
|
1451
|
-
}, [A(G(p), { mark: G(Xe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8,
|
|
1451
|
+
}, [A(G(p), { mark: G(Xe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, ba));
|
|
1452
1452
|
}
|
|
1453
|
-
}),
|
|
1453
|
+
}), Sa = /* @__PURE__ */ j({
|
|
1454
1454
|
__name: "Pill",
|
|
1455
1455
|
props: { tone: { default: "neutral" } },
|
|
1456
1456
|
setup(e) {
|
|
@@ -1460,10 +1460,10 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1460
1460
|
class: P(n.value)
|
|
1461
1461
|
}, [V(e.$slots, "default")], 2));
|
|
1462
1462
|
}
|
|
1463
|
-
}),
|
|
1463
|
+
}), Ca = { class: "glim-field-row-name" }, wa = {
|
|
1464
1464
|
key: 0,
|
|
1465
1465
|
class: "glim-field-row-controls"
|
|
1466
|
-
},
|
|
1466
|
+
}, Ta = /* @__PURE__ */ j({
|
|
1467
1467
|
__name: "FieldRow",
|
|
1468
1468
|
props: {
|
|
1469
1469
|
label: {},
|
|
@@ -1481,20 +1481,20 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1481
1481
|
ref: r,
|
|
1482
1482
|
"data-glim": "FieldRow",
|
|
1483
1483
|
class: P(["glim-field-row", { "glim-field-row--wide": e.wide }])
|
|
1484
|
-
}, [D("span",
|
|
1484
|
+
}, [D("span", Ca, [D("span", {
|
|
1485
1485
|
class: "glim-field-row-label",
|
|
1486
1486
|
onClick: i[0] ||= (e) => G(xn)(r.value)
|
|
1487
1487
|
}, [V(t.$slots, "label", {}, () => [k(W(e.label), 1)])]), e.hint ? (R(), w(Q, {
|
|
1488
1488
|
key: 0,
|
|
1489
1489
|
tip: e.hint
|
|
1490
|
-
}, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span",
|
|
1490
|
+
}, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", wa, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Sa, {
|
|
1491
1491
|
key: 0,
|
|
1492
1492
|
class: "glim-num",
|
|
1493
1493
|
tone: e.tone
|
|
1494
1494
|
}, {
|
|
1495
1495
|
default: Y(() => [k(W(e.value), 1)]),
|
|
1496
1496
|
_: 1
|
|
1497
|
-
}, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(
|
|
1497
|
+
}, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Sa, {
|
|
1498
1498
|
key: 0,
|
|
1499
1499
|
class: "glim-num",
|
|
1500
1500
|
tone: e.tone
|
|
@@ -1503,7 +1503,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1503
1503
|
_: 1
|
|
1504
1504
|
}, 8, ["tone"]))], void 0, 1)], 2));
|
|
1505
1505
|
}
|
|
1506
|
-
}),
|
|
1506
|
+
}), Ea = /* @__PURE__ */ j({
|
|
1507
1507
|
__name: "FieldRowGroup",
|
|
1508
1508
|
props: { columns: {} },
|
|
1509
1509
|
setup(e) {
|
|
@@ -1513,13 +1513,13 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1513
1513
|
style: F(e.columns ? { "--field-columns": e.columns } : void 0)
|
|
1514
1514
|
}, [V(t.$slots, "default")], 4));
|
|
1515
1515
|
}
|
|
1516
|
-
}),
|
|
1516
|
+
}), Da = {
|
|
1517
1517
|
key: 0,
|
|
1518
1518
|
class: "glim-modal-foot"
|
|
1519
|
-
},
|
|
1519
|
+
}, Oa = {
|
|
1520
1520
|
key: 0,
|
|
1521
1521
|
class: "glim-window-start"
|
|
1522
|
-
},
|
|
1522
|
+
}, ka = { class: "glim-window-actions" }, Aa = /* @__PURE__ */ j({
|
|
1523
1523
|
__name: "WindowFootRow",
|
|
1524
1524
|
props: {
|
|
1525
1525
|
actions: {},
|
|
@@ -1546,7 +1546,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1546
1546
|
function a(e) {
|
|
1547
1547
|
e.onClick?.() !== !1 && r("close");
|
|
1548
1548
|
}
|
|
1549
|
-
return (t, n) => i.value.length ? (R(), E("div",
|
|
1549
|
+
return (t, n) => i.value.length ? (R(), E("div", Da, [e.hasStart ? (R(), E("span", Oa, [V(t.$slots, "start", {}, () => [k(W(e.start), 1)])])) : T("", !0), D("div", ka, [(R(!0), E(S, null, B(i.value, (e, t) => (R(), w(f, N({ ref_for: !0 }, e.attrs, {
|
|
1550
1550
|
key: t,
|
|
1551
1551
|
label: e.label,
|
|
1552
1552
|
"label-key": e.labelKey,
|
|
@@ -1567,11 +1567,11 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1567
1567
|
"onClick"
|
|
1568
1568
|
]))), 128))])])) : T("", !0);
|
|
1569
1569
|
}
|
|
1570
|
-
}),
|
|
1570
|
+
}), ja = [
|
|
1571
1571
|
"data-glim-title",
|
|
1572
1572
|
"aria-labelledby",
|
|
1573
1573
|
"aria-label"
|
|
1574
|
-
],
|
|
1574
|
+
], Ma = ["id"], Na = { class: "glim-modal-body glim-window-body" }, Pa = /* @__PURE__ */ j({
|
|
1575
1575
|
inheritAttrs: !1,
|
|
1576
1576
|
__name: "Window",
|
|
1577
1577
|
props: {
|
|
@@ -1629,9 +1629,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1629
1629
|
}, {
|
|
1630
1630
|
default: Y(() => [V(n.$slots, "title", {}, () => [k(W(t.title), 1)])]),
|
|
1631
1631
|
_: 3
|
|
1632
|
-
})], 8,
|
|
1633
|
-
D("div",
|
|
1634
|
-
A(
|
|
1632
|
+
})], 8, Ma),
|
|
1633
|
+
D("div", Na, [V(n.$slots, "default")]),
|
|
1634
|
+
A(Aa, {
|
|
1635
1635
|
actions: t.actions,
|
|
1636
1636
|
start: t.start,
|
|
1637
1637
|
"has-start": u.value,
|
|
@@ -1647,9 +1647,9 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1647
1647
|
"has-start",
|
|
1648
1648
|
"text"
|
|
1649
1649
|
])
|
|
1650
|
-
], 16,
|
|
1650
|
+
], 16, ja)], 32)], 8, ["to"]));
|
|
1651
1651
|
}
|
|
1652
|
-
}),
|
|
1652
|
+
}), Fa = { class: "glim-fortress-text" }, Ia = /* @__PURE__ */ j({
|
|
1653
1653
|
__name: "FortressDoubtWindow",
|
|
1654
1654
|
props: {
|
|
1655
1655
|
app: {},
|
|
@@ -1666,7 +1666,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1666
1666
|
attrs: { "data-fortress": "open-anyway" },
|
|
1667
1667
|
onClick: () => t.onOpen()
|
|
1668
1668
|
}]);
|
|
1669
|
-
return (t, i) => (R(), w(
|
|
1669
|
+
return (t, i) => (R(), w(Pa, {
|
|
1670
1670
|
"data-glim": "FortressDoubtWindow",
|
|
1671
1671
|
title: n.value.title,
|
|
1672
1672
|
actions: r.value,
|
|
@@ -1676,7 +1676,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1676
1676
|
},
|
|
1677
1677
|
onClose: i[0] ||= (t) => e.onClose()
|
|
1678
1678
|
}, {
|
|
1679
|
-
default: Y(() => [D("div",
|
|
1679
|
+
default: Y(() => [D("div", Fa, [D("p", null, W(n.value.body), 1)])]),
|
|
1680
1680
|
_: 1
|
|
1681
1681
|
}, 8, [
|
|
1682
1682
|
"title",
|
|
@@ -1684,32 +1684,32 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1684
1684
|
"text"
|
|
1685
1685
|
]));
|
|
1686
1686
|
}
|
|
1687
|
-
}),
|
|
1687
|
+
}), La = ["data-glim-title"], Ra = { class: "glim-instance-top" }, za = {
|
|
1688
1688
|
key: 0,
|
|
1689
1689
|
class: "glim-instance-mark",
|
|
1690
1690
|
"aria-hidden": "true"
|
|
1691
|
-
},
|
|
1691
|
+
}, Ba = ["src"], Va = { class: "glim-instance-main" }, Ha = { class: "glim-instance-name" }, Ua = { class: "glim-instance-title" }, Wa = {
|
|
1692
1692
|
key: 0,
|
|
1693
1693
|
class: "glim-instance-badges"
|
|
1694
|
-
},
|
|
1694
|
+
}, Ga = {
|
|
1695
1695
|
key: 0,
|
|
1696
1696
|
class: "glim-eyebrow"
|
|
1697
|
-
},
|
|
1697
|
+
}, Ka = {
|
|
1698
1698
|
key: 1,
|
|
1699
1699
|
class: "glim-instance-facts glim-num"
|
|
1700
|
-
},
|
|
1700
|
+
}, qa = {
|
|
1701
1701
|
key: 2,
|
|
1702
1702
|
class: "glim-instance-figures"
|
|
1703
|
-
},
|
|
1703
|
+
}, Ja = { class: "glim-num" }, Ya = {
|
|
1704
1704
|
key: 3,
|
|
1705
1705
|
class: "glim-instance-acts"
|
|
1706
|
-
},
|
|
1706
|
+
}, Xa = {
|
|
1707
1707
|
key: 0,
|
|
1708
1708
|
class: "glim-instance-body"
|
|
1709
|
-
},
|
|
1709
|
+
}, Za = {
|
|
1710
1710
|
key: 1,
|
|
1711
1711
|
class: "glim-instance-acts"
|
|
1712
|
-
},
|
|
1712
|
+
}, Qa = /* @__PURE__ */ j({
|
|
1713
1713
|
__name: "InstanceCard",
|
|
1714
1714
|
props: {
|
|
1715
1715
|
logo: {},
|
|
@@ -1727,27 +1727,27 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1727
1727
|
class: P(["glim-card glim-instance", e.hueIndex !== void 0 && "glim-hue"]),
|
|
1728
1728
|
style: F(r.value)
|
|
1729
1729
|
}, [
|
|
1730
|
-
D("div",
|
|
1730
|
+
D("div", Ra, [t.$slots.logo ? (R(), E("span", za, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
|
|
1731
1731
|
key: 1,
|
|
1732
1732
|
class: "glim-instance-mark",
|
|
1733
1733
|
src: e.logo,
|
|
1734
1734
|
alt: "",
|
|
1735
1735
|
draggable: "false"
|
|
1736
|
-
}, null, 8,
|
|
1737
|
-
D("div",
|
|
1738
|
-
e.eyebrow ? (R(), E("span",
|
|
1739
|
-
n.value ? (R(), E("p",
|
|
1740
|
-
e.figures?.length ? (R(), E("dl",
|
|
1741
|
-
t.$slots.actions && !t.$slots.default ? (R(), E("div",
|
|
1736
|
+
}, null, 8, Ba)) : T("", !0), D("div", Va, [
|
|
1737
|
+
D("div", Ha, [D("h3", Ua, W(e.name), 1), t.$slots.badges ? (R(), E("span", Wa, [V(t.$slots, "badges")])) : T("", !0)]),
|
|
1738
|
+
e.eyebrow ? (R(), E("span", Ga, W(e.eyebrow), 1)) : T("", !0),
|
|
1739
|
+
n.value ? (R(), E("p", Ka, W(n.value), 1)) : T("", !0),
|
|
1740
|
+
e.figures?.length ? (R(), E("dl", qa, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", Ja, W(e.value), 1)]))), 128))])) : T("", !0),
|
|
1741
|
+
t.$slots.actions && !t.$slots.default ? (R(), E("div", Ya, [V(t.$slots, "actions")])) : T("", !0)
|
|
1742
1742
|
])]),
|
|
1743
|
-
t.$slots.default ? (R(), E("div",
|
|
1744
|
-
t.$slots.actions && t.$slots.default ? (R(), E("div",
|
|
1745
|
-
], 14,
|
|
1743
|
+
t.$slots.default ? (R(), E("div", Xa, [V(t.$slots, "default")])) : T("", !0),
|
|
1744
|
+
t.$slots.actions && t.$slots.default ? (R(), E("div", Za, [V(t.$slots, "actions")])) : T("", !0)
|
|
1745
|
+
], 14, La));
|
|
1746
1746
|
}
|
|
1747
|
-
}),
|
|
1747
|
+
}), $a = {
|
|
1748
1748
|
"data-glim": "PresenceBadges",
|
|
1749
1749
|
style: { display: "contents" }
|
|
1750
|
-
},
|
|
1750
|
+
}, eo = /* @__PURE__ */ j({
|
|
1751
1751
|
__name: "PresenceBadges",
|
|
1752
1752
|
props: {
|
|
1753
1753
|
instance: {},
|
|
@@ -1759,7 +1759,7 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1759
1759
|
checking: n.text.checking,
|
|
1760
1760
|
away: n.text.away
|
|
1761
1761
|
})[n.instance.presence];
|
|
1762
|
-
return (n, i) => (R(), E("span",
|
|
1762
|
+
return (n, i) => (R(), E("span", $a, [t.instance.relay ? (R(), w(e, { key: 0 }, {
|
|
1763
1763
|
default: Y(() => [k(W(t.text.viaRelay), 1)]),
|
|
1764
1764
|
_: 1
|
|
1765
1765
|
})) : T("", !0), A(e, { tone: G(bn)(t.instance.presence) }, {
|
|
@@ -1769,14 +1769,14 @@ var mr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
|
|
|
1769
1769
|
}
|
|
1770
1770
|
});
|
|
1771
1771
|
// src/fortressParts.ts
|
|
1772
|
-
function
|
|
1772
|
+
function to(e) {
|
|
1773
1773
|
return e ? me(`device${e.charAt(0).toUpperCase()}${e.slice(1)}`) : void 0;
|
|
1774
1774
|
}
|
|
1775
1775
|
// src/FortressAppCard.vue?vue&type=script&setup=true&lang.ts
|
|
1776
|
-
var
|
|
1776
|
+
var no = { class: "glim-instance-rows" }, ro = ["data-instance"], io = {
|
|
1777
1777
|
class: "glim-instance-device",
|
|
1778
1778
|
"aria-hidden": "true"
|
|
1779
|
-
},
|
|
1779
|
+
}, ao = { class: "glim-instance-row-text" }, oo = { class: "glim-instance-row-name" }, so = { class: "glim-instance-row-sub glim-num" }, co = { class: "glim-instance-row-end" }, lo = /* @__PURE__ */ j({
|
|
1780
1780
|
inheritAttrs: !1,
|
|
1781
1781
|
__name: "FortressAppCard",
|
|
1782
1782
|
props: {
|
|
@@ -1793,11 +1793,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1793
1793
|
connected: n.text.connected,
|
|
1794
1794
|
checking: n.text.checking,
|
|
1795
1795
|
away: n.text.away
|
|
1796
|
-
})[e.presence], o = (e) =>
|
|
1796
|
+
})[e.presence], o = (e) => to(e.deviceKind), s = (e) => Ut(n.text, n.app, e), c = (e) => !!n.onRemove && !e.self, l = C(() => !!r.value.open || i.value && c(r.value.main)), u = U(null);
|
|
1797
1797
|
function d(e) {
|
|
1798
1798
|
e.doubt ? u.value = e : en(n.app, e, n.onOpen);
|
|
1799
1799
|
}
|
|
1800
|
-
return (n, p) => (R(), E(S, null, [A(
|
|
1800
|
+
return (n, p) => (R(), E(S, null, [A(Qa, N(n.$attrs, {
|
|
1801
1801
|
"data-glim": "FortressAppCard",
|
|
1802
1802
|
"data-fortress-app": t.app.id,
|
|
1803
1803
|
logo: t.app.logo,
|
|
@@ -1824,7 +1824,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1824
1824
|
default: Y(() => [k(W(r.value.needs), 1)]),
|
|
1825
1825
|
_: 1
|
|
1826
1826
|
})) : T("", !0),
|
|
1827
|
-
A(
|
|
1827
|
+
A(eo, {
|
|
1828
1828
|
instance: r.value.main,
|
|
1829
1829
|
text: t.text
|
|
1830
1830
|
}, null, 8, ["instance", "text"])
|
|
@@ -1832,14 +1832,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1832
1832
|
_: 2
|
|
1833
1833
|
}, [i.value ? void 0 : {
|
|
1834
1834
|
name: "default",
|
|
1835
|
-
fn: Y(() => [D("ul",
|
|
1835
|
+
fn: Y(() => [D("ul", no, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
|
|
1836
1836
|
key: n.id,
|
|
1837
1837
|
class: "glim-instance-row",
|
|
1838
1838
|
"data-instance": n.id
|
|
1839
1839
|
}, [
|
|
1840
|
-
D("span",
|
|
1841
|
-
D("span",
|
|
1842
|
-
D("span",
|
|
1840
|
+
D("span", io, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
|
|
1841
|
+
D("span", ao, [D("span", oo, W(n.device), 1), D("span", so, W(r), 1)]),
|
|
1842
|
+
D("span", co, [
|
|
1843
1843
|
A(e, { tone: G(bn)(n.presence) }, {
|
|
1844
1844
|
default: Y(() => [k(W(a(n)), 1)]),
|
|
1845
1845
|
_: 2
|
|
@@ -1876,7 +1876,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1876
1876
|
"onClick"
|
|
1877
1877
|
])) : T("", !0)
|
|
1878
1878
|
])
|
|
1879
|
-
], 8,
|
|
1879
|
+
], 8, ro))), 128))])]),
|
|
1880
1880
|
key: "0"
|
|
1881
1881
|
}, l.value ? {
|
|
1882
1882
|
name: "actions",
|
|
@@ -1907,7 +1907,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1907
1907
|
"eyebrow",
|
|
1908
1908
|
"facts",
|
|
1909
1909
|
"hue-index"
|
|
1910
|
-
]), u.value ? (R(), w(
|
|
1910
|
+
]), u.value ? (R(), w(Ia, {
|
|
1911
1911
|
key: 0,
|
|
1912
1912
|
app: t.app,
|
|
1913
1913
|
instance: u.value,
|
|
@@ -1922,14 +1922,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1922
1922
|
"on-close"
|
|
1923
1923
|
])) : T("", !0)], 64));
|
|
1924
1924
|
}
|
|
1925
|
-
}),
|
|
1925
|
+
}), uo = [
|
|
1926
1926
|
"href",
|
|
1927
1927
|
"data-sel-id",
|
|
1928
1928
|
"aria-selected",
|
|
1929
1929
|
"aria-current",
|
|
1930
1930
|
"aria-describedby",
|
|
1931
1931
|
"tabindex"
|
|
1932
|
-
],
|
|
1932
|
+
], fo = [
|
|
1933
1933
|
"data-sel-id",
|
|
1934
1934
|
"id",
|
|
1935
1935
|
"role",
|
|
@@ -1942,7 +1942,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
1942
1942
|
"aria-hidden",
|
|
1943
1943
|
"disabled",
|
|
1944
1944
|
"tabindex"
|
|
1945
|
-
],
|
|
1945
|
+
], po = ["id"], mo = /* @__PURE__ */ j({
|
|
1946
1946
|
__name: "SelectorSegment",
|
|
1947
1947
|
props: {
|
|
1948
1948
|
item: {},
|
|
@@ -2016,7 +2016,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2016
2016
|
key: 1,
|
|
2017
2017
|
"data-sel-label": "",
|
|
2018
2018
|
class: P(s.value.labelClass)
|
|
2019
|
-
}, W(e.item.label), 3))], 16,
|
|
2019
|
+
}, W(e.item.label), 3))], 16, uo)) : (R(), E(S, { key: 1 }, [A(G(r), N({
|
|
2020
2020
|
on: u.value,
|
|
2021
2021
|
show: G(c).show,
|
|
2022
2022
|
hide: G(c).hide
|
|
@@ -2047,7 +2047,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2047
2047
|
key: 1,
|
|
2048
2048
|
"data-sel-label": "",
|
|
2049
2049
|
class: P(s.value.labelClass)
|
|
2050
|
-
}, W(e.item.label), 3))], 16,
|
|
2050
|
+
}, W(e.item.label), 3))], 16, fo)]),
|
|
2051
2051
|
_: 1
|
|
2052
2052
|
}, 16, [
|
|
2053
2053
|
"on",
|
|
@@ -2057,16 +2057,16 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2057
2057
|
key: 0,
|
|
2058
2058
|
id: G(l),
|
|
2059
2059
|
hidden: ""
|
|
2060
|
-
}, W(s.value.tip), 9,
|
|
2060
|
+
}, W(s.value.tip), 9, po)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
|
|
2061
2061
|
}
|
|
2062
|
-
}),
|
|
2062
|
+
}), ho = [
|
|
2063
2063
|
"role",
|
|
2064
2064
|
"aria-label",
|
|
2065
2065
|
"aria-orientation"
|
|
2066
|
-
],
|
|
2066
|
+
], go = {
|
|
2067
2067
|
key: 0,
|
|
2068
2068
|
class: "glim-sel-list"
|
|
2069
|
-
},
|
|
2069
|
+
}, _o = /* @__PURE__ */ j({
|
|
2070
2070
|
__name: "Selector",
|
|
2071
2071
|
props: {
|
|
2072
2072
|
items: {},
|
|
@@ -2206,7 +2206,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2206
2206
|
class: P([d.value.className, { "glim-sel--listed": v.value }]),
|
|
2207
2207
|
style: F(_.value.track),
|
|
2208
2208
|
onKeydown: oe
|
|
2209
|
-
}, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(
|
|
2209
|
+
}, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(mo, {
|
|
2210
2210
|
key: t.id,
|
|
2211
2211
|
item: t,
|
|
2212
2212
|
index: n,
|
|
@@ -2247,7 +2247,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2247
2247
|
"hue-offset",
|
|
2248
2248
|
"panel-id",
|
|
2249
2249
|
"onSelect"
|
|
2250
|
-
]))), 128)), v.value ? (R(), E("div",
|
|
2250
|
+
]))), 128)), v.value ? (R(), E("div", go, [A(xe, {
|
|
2251
2251
|
"model-value": te.value,
|
|
2252
2252
|
label: G(o) ?? "",
|
|
2253
2253
|
"hide-label": "",
|
|
@@ -2263,18 +2263,18 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2263
2263
|
"size",
|
|
2264
2264
|
"options",
|
|
2265
2265
|
"disabled"
|
|
2266
|
-
])])) : T("", !0)], 46,
|
|
2266
|
+
])])) : T("", !0)], 46, ho));
|
|
2267
2267
|
}
|
|
2268
|
-
}),
|
|
2268
|
+
}), vo = {
|
|
2269
2269
|
key: 0,
|
|
2270
2270
|
class: "glim-toggle-label"
|
|
2271
|
-
},
|
|
2271
|
+
}, yo = [
|
|
2272
2272
|
"aria-checked",
|
|
2273
2273
|
"aria-label",
|
|
2274
2274
|
"aria-disabled",
|
|
2275
2275
|
"aria-describedby",
|
|
2276
2276
|
"disabled"
|
|
2277
|
-
],
|
|
2277
|
+
], bo = ["id"], xo = /* @__PURE__ */ j({
|
|
2278
2278
|
inheritAttrs: !1,
|
|
2279
2279
|
__name: "Toggle",
|
|
2280
2280
|
props: /*@__PURE__*/ M({
|
|
@@ -2309,7 +2309,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2309
2309
|
"data-glim": "Toggle",
|
|
2310
2310
|
class: P(["glim-toggle", n.$attrs.class]),
|
|
2311
2311
|
style: F(n.$attrs.style)
|
|
2312
|
-
}, [o.value ? (R(), E("span",
|
|
2312
|
+
}, [o.value ? (R(), E("span", vo, W(e.label), 1)) : T("", !0), D("button", N({
|
|
2313
2313
|
...n.$attrs,
|
|
2314
2314
|
class: void 0,
|
|
2315
2315
|
style: void 0
|
|
@@ -2328,25 +2328,25 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2328
2328
|
onMouseleave: r[1] ||= (...e) => G(s).hide && G(s).hide(...e),
|
|
2329
2329
|
onFocus: r[2] ||= (...e) => G(s).showOnFocus && G(s).showOnFocus(...e),
|
|
2330
2330
|
onBlur: r[3] ||= (...e) => G(s).hide && G(s).hide(...e)
|
|
2331
|
-
}), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16,
|
|
2331
|
+
}), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, yo)], 6),
|
|
2332
2332
|
e.refused ? (R(), E("span", {
|
|
2333
2333
|
key: 0,
|
|
2334
2334
|
id: G(c),
|
|
2335
2335
|
class: "glim-toggle-refusal"
|
|
2336
|
-
}, W(e.refused), 9,
|
|
2336
|
+
}, W(e.refused), 9, bo)) : T("", !0),
|
|
2337
2337
|
A(t, { state: G(s) }, null, 8, ["state"])
|
|
2338
2338
|
], 64));
|
|
2339
2339
|
}
|
|
2340
|
-
}),
|
|
2340
|
+
}), So = {
|
|
2341
2341
|
key: 0,
|
|
2342
2342
|
class: "glim-fortress-sub"
|
|
2343
|
-
},
|
|
2343
|
+
}, Co = { class: "glim-permissions" }, wo = ["data-permission"], To = {
|
|
2344
2344
|
class: "glim-permission-pair",
|
|
2345
2345
|
"aria-hidden": "true"
|
|
2346
|
-
},
|
|
2346
|
+
}, Eo = ["src"], Do = { class: "glim-permission-to" }, Oo = ["src"], ko = { class: "glim-permission-text" }, Ao = { class: "glim-permission-title" }, jo = {
|
|
2347
2347
|
key: 0,
|
|
2348
2348
|
class: "glim-fortress-sub"
|
|
2349
|
-
},
|
|
2349
|
+
}, Mo = /* @__PURE__ */ j({
|
|
2350
2350
|
__name: "FortressPermissions",
|
|
2351
2351
|
props: {
|
|
2352
2352
|
text: {},
|
|
@@ -2381,7 +2381,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2381
2381
|
hint: e.text.permissionsAbout,
|
|
2382
2382
|
"hue-index": e.hueIndex
|
|
2383
2383
|
}, {
|
|
2384
|
-
default: Y(() => [e.permissions.length === 0 ? (R(), E("p",
|
|
2384
|
+
default: Y(() => [e.permissions.length === 0 ? (R(), E("p", So, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(_o, {
|
|
2385
2385
|
key: 0,
|
|
2386
2386
|
modelValue: n.value,
|
|
2387
2387
|
"onUpdate:modelValue": r[0] ||= (e) => n.value = e,
|
|
@@ -2393,35 +2393,35 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2393
2393
|
"modelValue",
|
|
2394
2394
|
"label",
|
|
2395
2395
|
"items"
|
|
2396
|
-
])) : T("", !0), D("ul",
|
|
2396
|
+
])) : T("", !0), D("ul", Co, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
|
|
2397
2397
|
key: e.id,
|
|
2398
2398
|
class: P(["glim-permission", e.on && "glim-permission--on"]),
|
|
2399
2399
|
"data-permission": e.id
|
|
2400
2400
|
}, [
|
|
2401
|
-
D("span",
|
|
2401
|
+
D("span", To, [
|
|
2402
2402
|
s(e.from) ? (R(), E("img", {
|
|
2403
2403
|
key: 0,
|
|
2404
2404
|
src: s(e.from),
|
|
2405
2405
|
alt: "",
|
|
2406
2406
|
draggable: "false"
|
|
2407
|
-
}, null, 8,
|
|
2407
|
+
}, null, 8, Eo)) : T("", !0),
|
|
2408
2408
|
A(G(p), {
|
|
2409
2409
|
mark: G(qe).expand,
|
|
2410
2410
|
class: "glim-permission-arrow"
|
|
2411
2411
|
}, null, 8, ["mark"]),
|
|
2412
|
-
D("span",
|
|
2412
|
+
D("span", Do, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
|
|
2413
2413
|
key: 0,
|
|
2414
2414
|
src: s(e),
|
|
2415
2415
|
alt: "",
|
|
2416
2416
|
draggable: "false"
|
|
2417
|
-
}, null, 8,
|
|
2417
|
+
}, null, 8, Oo)) : T("", !0)], 64))), 128))])
|
|
2418
2418
|
]),
|
|
2419
|
-
D("span",
|
|
2420
|
-
D("span",
|
|
2421
|
-
e.detail ? (R(), E("span",
|
|
2419
|
+
D("span", ko, [
|
|
2420
|
+
D("span", Ao, W(e.title), 1),
|
|
2421
|
+
e.detail ? (R(), E("span", jo, W(e.detail), 1)) : T("", !0),
|
|
2422
2422
|
V(t.$slots, "extra", { permission: e })
|
|
2423
2423
|
]),
|
|
2424
|
-
A(
|
|
2424
|
+
A(xo, {
|
|
2425
2425
|
"model-value": e.on,
|
|
2426
2426
|
label: e.title,
|
|
2427
2427
|
"hide-label": "",
|
|
@@ -2431,7 +2431,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2431
2431
|
"label",
|
|
2432
2432
|
"onUpdate:modelValue"
|
|
2433
2433
|
])
|
|
2434
|
-
], 10,
|
|
2434
|
+
], 10, wo))), 128))])], 64))]),
|
|
2435
2435
|
_: 3
|
|
2436
2436
|
}, 8, [
|
|
2437
2437
|
"title",
|
|
@@ -2439,26 +2439,26 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2439
2439
|
"hue-index"
|
|
2440
2440
|
]));
|
|
2441
2441
|
}
|
|
2442
|
-
}),
|
|
2442
|
+
}), No = [
|
|
2443
2443
|
"autocomplete",
|
|
2444
2444
|
"aria-label",
|
|
2445
2445
|
"aria-invalid",
|
|
2446
2446
|
"aria-describedby",
|
|
2447
2447
|
"disabled",
|
|
2448
2448
|
"type"
|
|
2449
|
-
],
|
|
2449
|
+
], Po = {
|
|
2450
2450
|
key: 1,
|
|
2451
2451
|
class: "glim-secret-confirm"
|
|
2452
|
-
},
|
|
2452
|
+
}, Fo = ["for"], Io = { class: "glim-secret" }, Lo = [
|
|
2453
2453
|
"id",
|
|
2454
2454
|
"aria-invalid",
|
|
2455
2455
|
"aria-describedby",
|
|
2456
2456
|
"disabled",
|
|
2457
2457
|
"type"
|
|
2458
|
-
],
|
|
2458
|
+
], Ro = {
|
|
2459
2459
|
"aria-live": "polite",
|
|
2460
2460
|
class: "glim-secret-confirm-live"
|
|
2461
|
-
},
|
|
2461
|
+
}, zo = /* @__PURE__ */ j({
|
|
2462
2462
|
inheritAttrs: !1,
|
|
2463
2463
|
__name: "PasswordField",
|
|
2464
2464
|
props: /*@__PURE__*/ M({
|
|
@@ -2514,7 +2514,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2514
2514
|
disabled: e.disabled,
|
|
2515
2515
|
type: s.value ? "text" : "password",
|
|
2516
2516
|
class: "glim-input"
|
|
2517
|
-
}), null, 16,
|
|
2517
|
+
}), null, 16, No), [[Fe, i.value]]), A(_e, N(e.eyeAttrs, {
|
|
2518
2518
|
tip: s.value ? o.value.hide : o.value.show,
|
|
2519
2519
|
class: "glim-secret-eye",
|
|
2520
2520
|
disabled: e.disabled,
|
|
@@ -2523,17 +2523,17 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2523
2523
|
default: Y(() => [(R(), w(H(s.value ? G(ie) : G(ee))))]),
|
|
2524
2524
|
_: 1
|
|
2525
2525
|
}, 16, ["tip", "disabled"])], 6),
|
|
2526
|
-
h.value.errorId ? (R(), w(
|
|
2526
|
+
h.value.errorId ? (R(), w(xa, {
|
|
2527
2527
|
key: 0,
|
|
2528
2528
|
id: h.value.errorId
|
|
2529
2529
|
}, {
|
|
2530
2530
|
default: Y(() => [k(W(e.error), 1)]),
|
|
2531
2531
|
_: 1
|
|
2532
2532
|
}, 8, ["id"])) : T("", !0),
|
|
2533
|
-
e.confirm && g.value.shown ? (R(), E("span",
|
|
2533
|
+
e.confirm && g.value.shown ? (R(), E("span", Po, [D("label", {
|
|
2534
2534
|
for: `${m.value}-confirm`,
|
|
2535
2535
|
class: "glim-secret-confirm-label"
|
|
2536
|
-
}, W(o.value.confirm), 9,
|
|
2536
|
+
}, W(o.value.confirm), 9, Fo), D("span", { class: P(["glim-secret-confirm-box", f.value]) }, [D("span", Io, [ze(D("input", {
|
|
2537
2537
|
id: `${m.value}-confirm`,
|
|
2538
2538
|
"onUpdate:modelValue": n[2] ||= (e) => l.value = e,
|
|
2539
2539
|
autocomplete: "new-password",
|
|
@@ -2543,7 +2543,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2543
2543
|
disabled: e.disabled,
|
|
2544
2544
|
type: c.value ? "text" : "password",
|
|
2545
2545
|
class: "glim-input"
|
|
2546
|
-
}, null, 8,
|
|
2546
|
+
}, null, 8, Lo), [[Fe, l.value]]), A(_e, {
|
|
2547
2547
|
tip: c.value ? o.value.hide : o.value.show,
|
|
2548
2548
|
class: "glim-secret-eye",
|
|
2549
2549
|
disabled: e.disabled,
|
|
@@ -2551,7 +2551,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2551
2551
|
}, {
|
|
2552
2552
|
default: Y(() => [(R(), w(H(c.value ? G(ie) : G(ee))))]),
|
|
2553
2553
|
_: 1
|
|
2554
|
-
}, 8, ["tip", "disabled"])]), D("span",
|
|
2554
|
+
}, 8, ["tip", "disabled"])]), D("span", Ro, [_.value.errorId ? (R(), w(xa, {
|
|
2555
2555
|
key: 0,
|
|
2556
2556
|
id: _.value.errorId
|
|
2557
2557
|
}, {
|
|
@@ -2560,67 +2560,67 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2560
2560
|
}, 8, ["id"])) : T("", !0)])], 2)])) : T("", !0)
|
|
2561
2561
|
], 64));
|
|
2562
2562
|
}
|
|
2563
|
-
}),
|
|
2563
|
+
}), Bo = { class: "glim-phrase-fields" }, Vo = { class: "glim-phrase-number glim-num" }, Ho = [
|
|
2564
2564
|
"data-word",
|
|
2565
2565
|
"value",
|
|
2566
2566
|
"aria-label",
|
|
2567
2567
|
"onInput"
|
|
2568
|
-
],
|
|
2568
|
+
], Uo = { class: "glim-fortress-sub" }, Wo = {
|
|
2569
2569
|
key: 0,
|
|
2570
2570
|
class: "glim-fortress-note",
|
|
2571
2571
|
"data-fortress": "moves"
|
|
2572
|
-
},
|
|
2572
|
+
}, Go = {
|
|
2573
2573
|
key: 1,
|
|
2574
2574
|
class: "glim-fortress-error",
|
|
2575
2575
|
role: "alert"
|
|
2576
|
-
},
|
|
2576
|
+
}, Ko = {
|
|
2577
2577
|
key: 1,
|
|
2578
2578
|
class: "glim-fortress-result"
|
|
2579
|
-
},
|
|
2579
|
+
}, qo = {
|
|
2580
2580
|
class: "glim-fortress-result-mark",
|
|
2581
2581
|
"aria-hidden": "true"
|
|
2582
|
-
},
|
|
2582
|
+
}, Jo = { class: "glim-fortress-text" }, Yo = { class: "glim-fortress-result-title" }, Xo = { class: "glim-fortress-sub" }, Zo = {
|
|
2583
2583
|
key: 2,
|
|
2584
2584
|
class: "glim-fortress-text"
|
|
2585
|
-
},
|
|
2585
|
+
}, Qo = { class: "glim-fortress-sub" }, $o = {
|
|
2586
2586
|
key: 0,
|
|
2587
2587
|
class: "glim-fortress-error",
|
|
2588
2588
|
role: "alert"
|
|
2589
|
-
},
|
|
2589
|
+
}, es = {
|
|
2590
2590
|
key: 3,
|
|
2591
2591
|
class: "glim-fortress-text"
|
|
2592
|
-
},
|
|
2592
|
+
}, ts = { class: "glim-fortress-sub" }, ns = {
|
|
2593
2593
|
key: 0,
|
|
2594
2594
|
class: "glim-fortress-error",
|
|
2595
2595
|
role: "alert"
|
|
2596
|
-
},
|
|
2596
|
+
}, rs = {
|
|
2597
2597
|
key: 4,
|
|
2598
2598
|
class: "glim-fortress-text"
|
|
2599
|
-
},
|
|
2599
|
+
}, is = {
|
|
2600
2600
|
key: 0,
|
|
2601
2601
|
class: "glim-fortress-error",
|
|
2602
2602
|
role: "alert"
|
|
2603
|
-
},
|
|
2603
|
+
}, as = {
|
|
2604
2604
|
key: 0,
|
|
2605
2605
|
class: "glim-fortress-error",
|
|
2606
2606
|
role: "alert"
|
|
2607
|
-
},
|
|
2607
|
+
}, os = {
|
|
2608
2608
|
key: 6,
|
|
2609
2609
|
class: "glim-fortress-text"
|
|
2610
|
-
},
|
|
2610
|
+
}, ss = { class: "glim-fortress-sub" }, cs = {
|
|
2611
2611
|
key: 0,
|
|
2612
2612
|
class: "glim-fortress-error",
|
|
2613
2613
|
role: "alert"
|
|
2614
|
-
},
|
|
2614
|
+
}, ls = {
|
|
2615
2615
|
key: 7,
|
|
2616
2616
|
class: "glim-fortress-text"
|
|
2617
|
-
},
|
|
2617
|
+
}, us = { class: "glim-phrase-show" }, ds = {
|
|
2618
2618
|
class: "glim-phrase-words",
|
|
2619
2619
|
"data-fortress": "words"
|
|
2620
|
-
},
|
|
2620
|
+
}, fs = { class: "glim-phrase-number glim-num" }, ps = ["aria-label", "viewBox"], ms = ["width", "height"], hs = ["d"], gs = { class: "glim-phrase-scan" }, _s = {
|
|
2621
2621
|
key: 0,
|
|
2622
2622
|
class: "glim-fortress-sub"
|
|
2623
|
-
},
|
|
2623
|
+
}, vs = /* @__PURE__ */ j({
|
|
2624
2624
|
__name: "FortressWindow",
|
|
2625
2625
|
props: {
|
|
2626
2626
|
flow: {},
|
|
@@ -2735,7 +2735,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2735
2735
|
actions: []
|
|
2736
2736
|
};
|
|
2737
2737
|
});
|
|
2738
|
-
return (t, i) => (R(), w(
|
|
2738
|
+
return (t, i) => (R(), w(Pa, {
|
|
2739
2739
|
ref_key: "win",
|
|
2740
2740
|
ref: n,
|
|
2741
2741
|
title: h.value.title,
|
|
@@ -2751,10 +2751,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2751
2751
|
onSubmit: i[0] ||= X((t) => e.flow.join(), ["prevent"])
|
|
2752
2752
|
}, [
|
|
2753
2753
|
D("p", null, W(e.text.about), 1),
|
|
2754
|
-
D("div",
|
|
2754
|
+
D("div", Bo, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
|
|
2755
2755
|
key: n,
|
|
2756
2756
|
class: "glim-phrase-field"
|
|
2757
|
-
}, [D("span",
|
|
2757
|
+
}, [D("span", Vo, W(n + 1), 1), D("input", {
|
|
2758
2758
|
class: "glim-input",
|
|
2759
2759
|
"data-word": n,
|
|
2760
2760
|
value: t,
|
|
@@ -2764,32 +2764,32 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2764
2764
|
autocorrect: "off",
|
|
2765
2765
|
spellcheck: "false",
|
|
2766
2766
|
onInput: (t) => e.flow.enter(n, t.target.value)
|
|
2767
|
-
}, null, 40,
|
|
2767
|
+
}, null, 40, Ho)]))), 128))]),
|
|
2768
2768
|
i[4] ||= D("button", {
|
|
2769
2769
|
type: "submit",
|
|
2770
2770
|
hidden: ""
|
|
2771
2771
|
}, null, -1),
|
|
2772
|
-
D("p",
|
|
2773
|
-
o.value ? (R(), E("p",
|
|
2772
|
+
D("p", Uo, W(e.text.phraseWhere), 1),
|
|
2773
|
+
o.value ? (R(), E("p", Wo, [G(me)("info") ? (R(), w(H(G(me)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
|
|
2774
2774
|
app: e.app.name,
|
|
2775
2775
|
devices: o.value
|
|
2776
2776
|
})), 1)])) : T("", !0),
|
|
2777
|
-
e.state.error ? (R(), E("p",
|
|
2778
|
-
], 32)) : a.value.kind === "joined" ? (R(), E("div",
|
|
2777
|
+
e.state.error ? (R(), E("p", Go, W(e.state.error), 1)) : T("", !0)
|
|
2778
|
+
], 32)) : a.value.kind === "joined" ? (R(), E("div", Ko, [D("span", qo, [A(G(p), { mark: G(qe).check }, null, 8, ["mark"])]), D("div", Jo, [D("p", Yo, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", Xo, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", Zo, [
|
|
2779
2779
|
D("p", null, W(G(Z)(e.text.leaveBody, { app: e.app.name })) + W(o.value ? ` ${G(Z)(e.text.leavePairing, { devices: o.value })}` : "") + W(e.leaveNote ? ` ${e.leaveNote}` : ""), 1),
|
|
2780
|
-
D("p",
|
|
2781
|
-
e.state.error ? (R(), E("p",
|
|
2782
|
-
])) : a.value.kind === "remove" ? (R(), E("div",
|
|
2780
|
+
D("p", Qo, W(e.text.leaveBack), 1),
|
|
2781
|
+
e.state.error ? (R(), E("p", $o, W(e.state.error), 1)) : T("", !0)
|
|
2782
|
+
])) : a.value.kind === "remove" ? (R(), E("div", es, [
|
|
2783
2783
|
D("p", null, W(G(Z)(e.text.removeBody, { device: a.value.device })), 1),
|
|
2784
|
-
D("p",
|
|
2785
|
-
e.state.error ? (R(), E("p",
|
|
2786
|
-
])) : a.value.kind === "removed" ? (R(), E("div",
|
|
2784
|
+
D("p", ts, W(e.text.removeBack), 1),
|
|
2785
|
+
e.state.error ? (R(), E("p", ns, W(e.state.error), 1)) : T("", !0)
|
|
2786
|
+
])) : a.value.kind === "removed" ? (R(), E("div", rs, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", is, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
|
|
2787
2787
|
key: 5,
|
|
2788
2788
|
class: "glim-fortress-text",
|
|
2789
2789
|
onSubmit: i[2] ||= X((t) => e.flow.unlock(), ["prevent"])
|
|
2790
2790
|
}, [
|
|
2791
2791
|
D("p", null, W(G(Z)(e.text.phrasePassword, { app: e.app.name })), 1),
|
|
2792
|
-
A(
|
|
2792
|
+
A(zo, {
|
|
2793
2793
|
"model-value": a.value.password,
|
|
2794
2794
|
"aria-label": G(Z)(e.text.password, { app: e.app.name }),
|
|
2795
2795
|
placeholder: G(Z)(e.text.password, { app: e.app.name }),
|
|
@@ -2804,15 +2804,15 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2804
2804
|
"placeholder",
|
|
2805
2805
|
"text"
|
|
2806
2806
|
]),
|
|
2807
|
-
e.state.error ? (R(), E("p",
|
|
2808
|
-
], 32)) : a.value.kind === "change" ? (R(), E("div",
|
|
2807
|
+
e.state.error ? (R(), E("p", as, W(e.state.error), 1)) : T("", !0)
|
|
2808
|
+
], 32)) : a.value.kind === "change" ? (R(), E("div", os, [
|
|
2809
2809
|
D("p", null, W(e.text.changeBody), 1),
|
|
2810
|
-
D("p",
|
|
2811
|
-
e.state.error ? (R(), E("p",
|
|
2812
|
-
])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div",
|
|
2810
|
+
D("p", ss, W(e.text.changeAway), 1),
|
|
2811
|
+
e.state.error ? (R(), E("p", cs, W(e.state.error), 1)) : T("", !0)
|
|
2812
|
+
])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", ls, [
|
|
2813
2813
|
D("p", null, W(e.text.phraseBody), 1),
|
|
2814
|
-
D("div",
|
|
2815
|
-
D("ol",
|
|
2814
|
+
D("div", us, [
|
|
2815
|
+
D("ol", ds, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", fs, W(t + 1), 1), k(W(e), 1)]))), 128))]),
|
|
2816
2816
|
f.value ? (R(), E("svg", {
|
|
2817
2817
|
key: 0,
|
|
2818
2818
|
class: "glim-phrase-qr",
|
|
@@ -2827,13 +2827,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2827
2827
|
width: f.value.side,
|
|
2828
2828
|
height: f.value.side,
|
|
2829
2829
|
fill: "#ffffff"
|
|
2830
|
-
}, null, 8,
|
|
2830
|
+
}, null, 8, ms), D("path", {
|
|
2831
2831
|
d: f.value.path,
|
|
2832
2832
|
fill: "#161616"
|
|
2833
|
-
}, null, 8,
|
|
2834
|
-
D("p",
|
|
2833
|
+
}, null, 8, hs)], 8, ps)) : T("", !0),
|
|
2834
|
+
D("p", gs, W(e.text.scanHint), 1)
|
|
2835
2835
|
]),
|
|
2836
|
-
a.value.kind === "changed" && a.value.left.length ? (R(), E("p",
|
|
2836
|
+
a.value.kind === "changed" && a.value.left.length ? (R(), E("p", _s, W(G(Z)(e.text.changedLeft, { devices: G(Lt)(e.lang, a.value.left) })), 1)) : T("", !0)
|
|
2837
2837
|
])) : T("", !0)]),
|
|
2838
2838
|
_: 1
|
|
2839
2839
|
}, 8, [
|
|
@@ -2844,25 +2844,25 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2844
2844
|
"text"
|
|
2845
2845
|
]));
|
|
2846
2846
|
}
|
|
2847
|
-
}),
|
|
2847
|
+
}), ys = {
|
|
2848
2848
|
"data-glim": "Fortress",
|
|
2849
2849
|
class: "glim-fortress"
|
|
2850
|
-
},
|
|
2850
|
+
}, bs = { class: "glim-fortress-grid" }, xs = {
|
|
2851
2851
|
key: 0,
|
|
2852
2852
|
class: "glim-card glim-instance glim-instance--out",
|
|
2853
2853
|
"data-fortress": "out"
|
|
2854
|
-
},
|
|
2854
|
+
}, Ss = { class: "glim-instance-title" }, Cs = { class: "glim-instance-hint" }, ws = {
|
|
2855
2855
|
key: 0,
|
|
2856
2856
|
class: "glim-instance-found"
|
|
2857
|
-
},
|
|
2857
|
+
}, Ts = ["src"], Es = { class: "glim-fortress-switch-text" }, Ds = { class: "glim-fortress-switch-name" }, Os = { class: "glim-fortress-sub" }, ks = {
|
|
2858
2858
|
key: 1,
|
|
2859
2859
|
class: "glim-fortress-removed",
|
|
2860
2860
|
"data-fortress": "removed",
|
|
2861
2861
|
role: "status"
|
|
2862
|
-
},
|
|
2862
|
+
}, As = { class: "glim-fortress-grid" }, js = {
|
|
2863
2863
|
key: 3,
|
|
2864
2864
|
class: "glim-fortress-actions"
|
|
2865
|
-
},
|
|
2865
|
+
}, Ms = /* @__PURE__ */ j({
|
|
2866
2866
|
__name: "Fortress",
|
|
2867
2867
|
props: {
|
|
2868
2868
|
text: {},
|
|
@@ -2921,15 +2921,15 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2921
2921
|
r("update:showOthers", e), n.showOthers === void 0 && (Yn(e), c.value = e);
|
|
2922
2922
|
}
|
|
2923
2923
|
let d = C(() => Z(n.text.removedNote, { devices: Lt(n.lang, n.removed) })), p = C(() => rn(n.text, n.lang, n.apps));
|
|
2924
|
-
return (t, n) => (R(), E("div",
|
|
2925
|
-
D("div",
|
|
2926
|
-
D("h3",
|
|
2927
|
-
D("p",
|
|
2928
|
-
e.found ? (R(), E("p",
|
|
2924
|
+
return (t, n) => (R(), E("div", ys, [
|
|
2925
|
+
D("div", bs, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", xs, [
|
|
2926
|
+
D("h3", Ss, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
|
|
2927
|
+
D("p", Cs, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
|
|
2928
|
+
e.found ? (R(), E("p", ws, [e.found.logo ? (R(), E("img", {
|
|
2929
2929
|
key: 0,
|
|
2930
2930
|
src: e.found.logo,
|
|
2931
2931
|
alt: ""
|
|
2932
|
-
}, null, 8,
|
|
2932
|
+
}, null, 8, Ts)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
|
|
2933
2933
|
app: e.found.app,
|
|
2934
2934
|
device: e.found.device
|
|
2935
2935
|
})), 1)])) : T("", !0)
|
|
@@ -2938,14 +2938,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2938
2938
|
key: 0,
|
|
2939
2939
|
class: "glim-card glim-fortress-switch glim-hue",
|
|
2940
2940
|
style: F(G(kt)(e.hueStart))
|
|
2941
|
-
}, [D("span",
|
|
2941
|
+
}, [D("span", Es, [D("span", Ds, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Os, W(p.value), 1)]), A(xo, {
|
|
2942
2942
|
"model-value": l.value,
|
|
2943
2943
|
label: e.text.showOthers,
|
|
2944
2944
|
"hide-label": "",
|
|
2945
2945
|
"data-fortress": "others",
|
|
2946
2946
|
"onUpdate:modelValue": u
|
|
2947
2947
|
}, null, 8, ["model-value", "label"])], 4)) : T("", !0),
|
|
2948
|
-
e.joined && e.removed.length ? (R(), E("div",
|
|
2948
|
+
e.joined && e.removed.length ? (R(), E("div", ks, [
|
|
2949
2949
|
G(me)("info") ? (R(), w(H(G(me)("info")), { key: 0 })) : T("", !0),
|
|
2950
2950
|
D("span", null, W(d.value), 1),
|
|
2951
2951
|
e.onChangePhrase ? (R(), w(f, {
|
|
@@ -2957,11 +2957,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2957
2957
|
onClick: n[0] ||= (e) => G(i).openChange()
|
|
2958
2958
|
}, null, 8, ["label", "label-key"])) : T("", !0)
|
|
2959
2959
|
])) : T("", !0),
|
|
2960
|
-
e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div",
|
|
2960
|
+
e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", As, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
|
|
2961
2961
|
app: n,
|
|
2962
2962
|
hueIndex: e.hueStart + 1 + r,
|
|
2963
2963
|
remove: e.onRemove && G(i).openRemove
|
|
2964
|
-
}, void 0, void 0, 0) : (R(), w(
|
|
2964
|
+
}, void 0, void 0, 0) : (R(), w(lo, {
|
|
2965
2965
|
key: 1,
|
|
2966
2966
|
app: n,
|
|
2967
2967
|
text: e.text,
|
|
@@ -2978,7 +2978,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2978
2978
|
"on-open",
|
|
2979
2979
|
"on-remove",
|
|
2980
2980
|
"remove-key"
|
|
2981
|
-
]))], 64))), 128))]), A(
|
|
2981
|
+
]))], 64))), 128))]), A(Mo, {
|
|
2982
2982
|
text: e.text,
|
|
2983
2983
|
app: e.app,
|
|
2984
2984
|
apps: [e.app, ...e.apps],
|
|
@@ -2998,7 +2998,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
2998
2998
|
"notify",
|
|
2999
2999
|
"hue-index"
|
|
3000
3000
|
])], 64)) : T("", !0),
|
|
3001
|
-
!e.joined || e.onShowPhrase ? (R(), E("div",
|
|
3001
|
+
!e.joined || e.onShowPhrase ? (R(), E("div", js, [e.joined ? (R(), w(f, {
|
|
3002
3002
|
key: 0,
|
|
3003
3003
|
label: e.text.showPhrase,
|
|
3004
3004
|
"label-key": s.value.showPhrase,
|
|
@@ -3020,7 +3020,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3020
3020
|
"data-fortress": "open-join",
|
|
3021
3021
|
onClick: n[2] ||= (e) => G(i).openJoin()
|
|
3022
3022
|
}, null, 8, ["label", "label-key"]))])) : T("", !0),
|
|
3023
|
-
a.value.window ? (R(), w(
|
|
3023
|
+
a.value.window ? (R(), w(vs, {
|
|
3024
3024
|
key: 4,
|
|
3025
3025
|
flow: G(i),
|
|
3026
3026
|
state: a.value,
|
|
@@ -3042,7 +3042,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3042
3042
|
])) : T("", !0)
|
|
3043
3043
|
]));
|
|
3044
3044
|
}
|
|
3045
|
-
}),
|
|
3045
|
+
}), Ns = /* @__PURE__ */ j({
|
|
3046
3046
|
__name: "FortressPairing",
|
|
3047
3047
|
props: {
|
|
3048
3048
|
text: {},
|
|
@@ -3082,7 +3082,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3082
3082
|
}, {
|
|
3083
3083
|
default: Y(() => [
|
|
3084
3084
|
V(t.$slots, "default"),
|
|
3085
|
-
e.onShowPhrase || e.onChangePhrase ? (R(), w(
|
|
3085
|
+
e.onShowPhrase || e.onChangePhrase ? (R(), w(Ta, {
|
|
3086
3086
|
key: 0,
|
|
3087
3087
|
label: e.text.phraseTitle,
|
|
3088
3088
|
hint: e.onChangePhrase ? e.text.changePhraseAbout : void 0
|
|
@@ -3107,7 +3107,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3107
3107
|
}, null, 8, ["label", "label-key"])) : T("", !0)]),
|
|
3108
3108
|
_: 1
|
|
3109
3109
|
}, 8, ["label", "hint"])) : T("", !0),
|
|
3110
|
-
A(
|
|
3110
|
+
A(Ta, {
|
|
3111
3111
|
label: e.text.leaveRow,
|
|
3112
3112
|
hint: G(Z)(e.text.leaveAbout, { app: e.app.name })
|
|
3113
3113
|
}, {
|
|
@@ -3120,7 +3120,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3120
3120
|
_: 1
|
|
3121
3121
|
}, 8, ["label", "hint"]),
|
|
3122
3122
|
V(t.$slots, "after"),
|
|
3123
|
-
r.value.window ? (R(), w(
|
|
3123
|
+
r.value.window ? (R(), w(vs, {
|
|
3124
3124
|
key: 1,
|
|
3125
3125
|
flow: G(n),
|
|
3126
3126
|
state: r.value,
|
|
@@ -3146,13 +3146,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3146
3146
|
_: 3
|
|
3147
3147
|
}, 8, ["title", "hue-index"]));
|
|
3148
3148
|
}
|
|
3149
|
-
}),
|
|
3149
|
+
}), Ps = [
|
|
3150
3150
|
"aria-label",
|
|
3151
3151
|
"aria-valuemin",
|
|
3152
3152
|
"aria-valuemax",
|
|
3153
3153
|
"aria-valuenow",
|
|
3154
3154
|
"aria-valuetext"
|
|
3155
|
-
],
|
|
3155
|
+
], Fs = /* @__PURE__ */ j({
|
|
3156
3156
|
__name: "ProgressBar",
|
|
3157
3157
|
props: {
|
|
3158
3158
|
value: { default: null },
|
|
@@ -3184,48 +3184,48 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3184
3184
|
}, [D("span", {
|
|
3185
3185
|
class: "glim-progress-fill",
|
|
3186
3186
|
style: F(n.value.width ? { width: n.value.width } : void 0)
|
|
3187
|
-
}, null, 4)], 10,
|
|
3187
|
+
}, null, 4)], 10, Ps));
|
|
3188
3188
|
}
|
|
3189
|
-
}),
|
|
3189
|
+
}), Is = { class: "glim-status-title" }, Ls = ["src"], Rs = {
|
|
3190
3190
|
class: "glim-fortress-text",
|
|
3191
3191
|
"data-fortress": "status"
|
|
3192
|
-
},
|
|
3192
|
+
}, zs = {
|
|
3193
3193
|
key: 0,
|
|
3194
3194
|
class: "glim-fortress-note",
|
|
3195
3195
|
"data-fortress": "loading"
|
|
3196
|
-
},
|
|
3196
|
+
}, Bs = { role: "status" }, Vs = {
|
|
3197
3197
|
key: 1,
|
|
3198
3198
|
class: "glim-fortress-note",
|
|
3199
3199
|
role: "status",
|
|
3200
3200
|
"data-fortress": "error"
|
|
3201
|
-
},
|
|
3201
|
+
}, Hs = {
|
|
3202
3202
|
key: 2,
|
|
3203
3203
|
class: "glim-status-state",
|
|
3204
3204
|
"data-fortress": "state"
|
|
3205
|
-
},
|
|
3205
|
+
}, Us = {
|
|
3206
3206
|
key: 0,
|
|
3207
3207
|
class: "glim-fortress-sub"
|
|
3208
|
-
},
|
|
3208
|
+
}, Ws = {
|
|
3209
3209
|
key: 3,
|
|
3210
3210
|
class: "glim-status-section",
|
|
3211
3211
|
"data-fortress": "needs"
|
|
3212
|
-
},
|
|
3212
|
+
}, Gs = { class: "glim-status-heading" }, Ks = { class: "glim-status-list" }, qs = {
|
|
3213
3213
|
key: 4,
|
|
3214
3214
|
class: "glim-status-section",
|
|
3215
3215
|
"data-fortress": "work"
|
|
3216
|
-
},
|
|
3216
|
+
}, Js = { class: "glim-status-heading" }, Ys = { class: "glim-status-list" }, Xs = {
|
|
3217
3217
|
key: 5,
|
|
3218
3218
|
class: "glim-status-section",
|
|
3219
3219
|
"data-fortress": "next"
|
|
3220
|
-
},
|
|
3220
|
+
}, Zs = { class: "glim-status-heading" }, Qs = { class: "glim-status-list" }, $s = { class: "glim-status-at glim-num" }, ec = {
|
|
3221
3221
|
key: 6,
|
|
3222
3222
|
class: "glim-status-section",
|
|
3223
3223
|
"data-fortress": "log"
|
|
3224
|
-
},
|
|
3224
|
+
}, tc = { class: "glim-status-heading" }, nc = { class: "glim-status-list" }, rc = { class: "glim-status-at glim-num" }, ic = {
|
|
3225
3225
|
key: 7,
|
|
3226
3226
|
class: "glim-fortress-sub",
|
|
3227
3227
|
"data-fortress": "where"
|
|
3228
|
-
},
|
|
3228
|
+
}, ac = /* @__PURE__ */ j({
|
|
3229
3229
|
__name: "FortressStatusWindow",
|
|
3230
3230
|
props: {
|
|
3231
3231
|
app: {},
|
|
@@ -3253,7 +3253,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3253
3253
|
glyph: _,
|
|
3254
3254
|
wayOut: !0
|
|
3255
3255
|
}]), a = me("info");
|
|
3256
|
-
return (n, o) => (R(), w(
|
|
3256
|
+
return (n, o) => (R(), w(Pa, {
|
|
3257
3257
|
"data-glim": "FortressStatusWindow",
|
|
3258
3258
|
lang: t.lang,
|
|
3259
3259
|
title: r.value.title,
|
|
@@ -3264,22 +3264,22 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3264
3264
|
},
|
|
3265
3265
|
onClose: o[0] ||= (e) => t.onClose()
|
|
3266
3266
|
}, {
|
|
3267
|
-
title: Y(() => [D("span",
|
|
3267
|
+
title: Y(() => [D("span", Is, [t.app.logo ? (R(), E("img", {
|
|
3268
3268
|
key: 0,
|
|
3269
3269
|
src: t.app.logo,
|
|
3270
3270
|
alt: ""
|
|
3271
|
-
}, null, 8,
|
|
3272
|
-
default: Y(() => [D("div",
|
|
3273
|
-
r.value.loading ? (R(), E("p",
|
|
3271
|
+
}, null, 8, Ls)) : T("", !0), k(W(r.value.title), 1)])]),
|
|
3272
|
+
default: Y(() => [D("div", Rs, [
|
|
3273
|
+
r.value.loading ? (R(), E("p", zs, [A(c, {
|
|
3274
3274
|
size: "small",
|
|
3275
3275
|
delay: 0
|
|
3276
|
-
}), D("span",
|
|
3277
|
-
r.value.error === void 0 ? T("", !0) : (R(), E("p",
|
|
3278
|
-
r.value.state ? (R(), E("p",
|
|
3276
|
+
}), D("span", Bs, W(r.value.loading), 1)])) : T("", !0),
|
|
3277
|
+
r.value.error === void 0 ? T("", !0) : (R(), E("p", Vs, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
|
|
3278
|
+
r.value.state ? (R(), E("p", Hs, [A(e, { tone: r.value.state.tone }, {
|
|
3279
3279
|
default: Y(() => [k(W(r.value.state.label), 1)]),
|
|
3280
3280
|
_: 1
|
|
3281
|
-
}, 8, ["tone"]), r.value.quiet ? (R(), E("span",
|
|
3282
|
-
r.value.needsYou.length ? (R(), E("section",
|
|
3281
|
+
}, 8, ["tone"]), r.value.quiet ? (R(), E("span", Us, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
|
|
3282
|
+
r.value.needsYou.length ? (R(), E("section", Ws, [D("h3", Gs, W(t.text.statusNeedsYou), 1), D("ul", Ks, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
|
|
3283
3283
|
key: n,
|
|
3284
3284
|
class: "glim-status-line"
|
|
3285
3285
|
}, [
|
|
@@ -3293,26 +3293,26 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3293
3293
|
o[1] ||= k(),
|
|
3294
3294
|
D("span", null, W(t.text), 1)
|
|
3295
3295
|
]))), 128))])])) : T("", !0),
|
|
3296
|
-
r.value.work.length ? (R(), E("section",
|
|
3296
|
+
r.value.work.length ? (R(), E("section", qs, [D("h3", Js, W(t.text.statusWork), 1), D("ul", Ys, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
|
|
3297
3297
|
key: t,
|
|
3298
3298
|
class: "glim-status-work"
|
|
3299
|
-
}, [D("span", null, W(e.title), 1), A(
|
|
3299
|
+
}, [D("span", null, W(e.title), 1), A(Fs, {
|
|
3300
3300
|
value: e.progress,
|
|
3301
3301
|
label: e.title
|
|
3302
3302
|
}, null, 8, ["value", "label"])]))), 128))])])) : T("", !0),
|
|
3303
|
-
r.value.next.length ? (R(), E("section",
|
|
3303
|
+
r.value.next.length ? (R(), E("section", Xs, [D("h3", Zs, W(t.text.statusNext), 1), D("ul", Qs, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
|
|
3304
3304
|
key: t,
|
|
3305
3305
|
class: "glim-status-line"
|
|
3306
3306
|
}, [
|
|
3307
3307
|
D("span", null, W(e.title), 1),
|
|
3308
3308
|
o[2] ||= k(),
|
|
3309
|
-
D("span",
|
|
3309
|
+
D("span", $s, W(e.at), 1)
|
|
3310
3310
|
]))), 128))])])) : T("", !0),
|
|
3311
|
-
r.value.log.length ? (R(), E("section",
|
|
3311
|
+
r.value.log.length ? (R(), E("section", ec, [D("h3", tc, W(t.text.statusLog), 1), D("ul", nc, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
|
|
3312
3312
|
key: n,
|
|
3313
3313
|
class: "glim-status-line"
|
|
3314
3314
|
}, [
|
|
3315
|
-
D("span",
|
|
3315
|
+
D("span", rc, W(t.at), 1),
|
|
3316
3316
|
o[3] ||= k(),
|
|
3317
3317
|
t.level ? (R(), w(e, {
|
|
3318
3318
|
key: 0,
|
|
@@ -3324,7 +3324,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3324
3324
|
o[4] ||= k(),
|
|
3325
3325
|
D("span", null, W(t.text), 1)
|
|
3326
3326
|
]))), 128))])])) : T("", !0),
|
|
3327
|
-
r.value.where ? (R(), E("p",
|
|
3327
|
+
r.value.where ? (R(), E("p", ic, W(r.value.where), 1)) : T("", !0)
|
|
3328
3328
|
])]),
|
|
3329
3329
|
_: 1
|
|
3330
3330
|
}, 8, [
|
|
@@ -3334,10 +3334,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3334
3334
|
"text"
|
|
3335
3335
|
]));
|
|
3336
3336
|
}
|
|
3337
|
-
}),
|
|
3337
|
+
}), oc = {
|
|
3338
3338
|
class: "glim-glyph-field-glyph",
|
|
3339
3339
|
"aria-hidden": "true"
|
|
3340
|
-
},
|
|
3340
|
+
}, sc = ["aria-label"], cc = /* @__PURE__ */ j({
|
|
3341
3341
|
inheritAttrs: !1,
|
|
3342
3342
|
__name: "GlyphField",
|
|
3343
3343
|
props: /*@__PURE__*/ M({
|
|
@@ -3363,7 +3363,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3363
3363
|
]),
|
|
3364
3364
|
style: F(t.$attrs.style)
|
|
3365
3365
|
}, [
|
|
3366
|
-
D("span",
|
|
3366
|
+
D("span", oc, [(R(), w(H(e.glyph)))]),
|
|
3367
3367
|
ze(D("input", N({
|
|
3368
3368
|
ref_key: "input",
|
|
3369
3369
|
ref: o,
|
|
@@ -3374,11 +3374,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3374
3374
|
...t.$attrs,
|
|
3375
3375
|
class: void 0,
|
|
3376
3376
|
style: void 0
|
|
3377
|
-
}, { class: "glim-glyph-field-input" }), null, 16,
|
|
3377
|
+
}, { class: "glim-glyph-field-input" }), null, 16, sc), [[Ie, r.value]]),
|
|
3378
3378
|
V(t.$slots, "after")
|
|
3379
3379
|
], 6));
|
|
3380
3380
|
}
|
|
3381
|
-
}),
|
|
3381
|
+
}), lc = /* @__PURE__ */ j({
|
|
3382
3382
|
__name: "GlyphTile",
|
|
3383
3383
|
props: {
|
|
3384
3384
|
glyph: {},
|
|
@@ -3397,17 +3397,17 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3397
3397
|
"aria-hidden": "true"
|
|
3398
3398
|
}, [(R(), w(H(e.glyph)))], 2));
|
|
3399
3399
|
}
|
|
3400
|
-
}),
|
|
3400
|
+
}), uc = [
|
|
3401
3401
|
"aria-label",
|
|
3402
3402
|
"tabindex",
|
|
3403
3403
|
"onKeydown"
|
|
3404
|
-
],
|
|
3404
|
+
], dc = {
|
|
3405
3405
|
key: 0,
|
|
3406
3406
|
class: "glim-list-row-tile"
|
|
3407
|
-
},
|
|
3407
|
+
}, fc = { class: "glim-list-row-title" }, pc = {
|
|
3408
3408
|
key: 1,
|
|
3409
3409
|
class: "glim-list-row-badges"
|
|
3410
|
-
},
|
|
3410
|
+
}, mc = /* @__PURE__ */ j({
|
|
3411
3411
|
__name: "ListRow",
|
|
3412
3412
|
props: {
|
|
3413
3413
|
name: {},
|
|
@@ -3427,21 +3427,21 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3427
3427
|
class: P(["glim-list-row", { "glim-list-row--opens": r.value }]),
|
|
3428
3428
|
onKeydown: [Be(X(a, ["self"]), ["enter"]), Be(X(a, ["self"]), ["space"])]
|
|
3429
3429
|
}, [
|
|
3430
|
-
t.$slots.tile ? (R(), E("span",
|
|
3431
|
-
D("span", { class: P(i.value) }, [D("span",
|
|
3430
|
+
t.$slots.tile ? (R(), E("span", dc, [V(t.$slots, "tile")])) : T("", !0),
|
|
3431
|
+
D("span", { class: P(i.value) }, [D("span", fc, W(e.name), 1), e.tip ? (R(), E("span", {
|
|
3432
3432
|
key: 0,
|
|
3433
3433
|
class: "glim-list-row-tip",
|
|
3434
3434
|
onClick: n[0] ||= X(() => {}, ["stop"])
|
|
3435
3435
|
}, [A(Q, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2),
|
|
3436
|
-
t.$slots.badges ? (R(), E("span",
|
|
3436
|
+
t.$slots.badges ? (R(), E("span", pc, [V(t.$slots, "badges")])) : T("", !0),
|
|
3437
3437
|
t.$slots.actions ? (R(), E("span", {
|
|
3438
3438
|
key: 2,
|
|
3439
3439
|
class: "glim-list-row-actions",
|
|
3440
3440
|
onClick: n[1] ||= X(() => {}, ["stop"])
|
|
3441
3441
|
}, [V(t.$slots, "actions")])) : T("", !0)
|
|
3442
|
-
], 42,
|
|
3442
|
+
], 42, uc));
|
|
3443
3443
|
}
|
|
3444
|
-
}),
|
|
3444
|
+
}), hc = ["aria-label"], gc = /* @__PURE__ */ j({
|
|
3445
3445
|
__name: "Popover",
|
|
3446
3446
|
props: {
|
|
3447
3447
|
open: { type: Boolean },
|
|
@@ -3466,24 +3466,24 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3466
3466
|
role: "dialog",
|
|
3467
3467
|
"aria-label": e.label,
|
|
3468
3468
|
class: "glim-popover"
|
|
3469
|
-
}, [V(t.$slots, "default")], 8,
|
|
3469
|
+
}, [V(t.$slots, "default")], 8, hc)) : T("", !0);
|
|
3470
3470
|
}
|
|
3471
|
-
}),
|
|
3471
|
+
}), _c = {
|
|
3472
3472
|
"data-glim": "ListTable",
|
|
3473
3473
|
class: "glim-list"
|
|
3474
|
-
},
|
|
3474
|
+
}, vc = ["aria-label", "onKeydown"], yc = ["aria-label", "aria-describedby"], bc = ["aria-sort"], xc = { class: "glim-list-th-box" }, Sc = ["onClick"], Cc = [
|
|
3475
3475
|
"aria-label",
|
|
3476
3476
|
"aria-expanded",
|
|
3477
3477
|
"aria-pressed",
|
|
3478
3478
|
"onClick"
|
|
3479
|
-
],
|
|
3479
|
+
], wc = [
|
|
3480
3480
|
"aria-selected",
|
|
3481
3481
|
"onClick",
|
|
3482
3482
|
"onDblclick"
|
|
3483
|
-
],
|
|
3483
|
+
], Tc = ["tabindex"], Ec = {
|
|
3484
3484
|
key: 1,
|
|
3485
3485
|
class: "glim-list-empty"
|
|
3486
|
-
},
|
|
3486
|
+
}, Dc = ["id"], Oc = { class: "glim-list-filter-values" }, kc = /* @__PURE__ */ j({
|
|
3487
3487
|
__name: "ListTable",
|
|
3488
3488
|
props: {
|
|
3489
3489
|
label: {},
|
|
@@ -3554,7 +3554,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3554
3554
|
};
|
|
3555
3555
|
}
|
|
3556
3556
|
let ie = (e, t) => String(e[t] ?? "");
|
|
3557
|
-
return (t, n) => (R(), E("div",
|
|
3557
|
+
return (t, n) => (R(), E("div", _c, [
|
|
3558
3558
|
o.value === null ? T("", !0) : ze((R(), E("input", {
|
|
3559
3559
|
key: 0,
|
|
3560
3560
|
ref_key: "searchField",
|
|
@@ -3564,7 +3564,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3564
3564
|
type: "search",
|
|
3565
3565
|
"aria-label": e.text.search,
|
|
3566
3566
|
onKeydown: Be(X(te, ["prevent", "stop"]), ["esc"])
|
|
3567
|
-
}, null, 40,
|
|
3567
|
+
}, null, 40, vc)), [[Ie, o.value]]),
|
|
3568
3568
|
D("table", {
|
|
3569
3569
|
ref_key: "grid",
|
|
3570
3570
|
ref: l,
|
|
@@ -3578,7 +3578,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3578
3578
|
scope: "col",
|
|
3579
3579
|
"aria-sort": G(tt)(i.value, t.key),
|
|
3580
3580
|
class: P(t.end ? "glim-list-th glim-table-end" : "glim-list-th")
|
|
3581
|
-
}, [D("span",
|
|
3581
|
+
}, [D("span", xc, [D("button", {
|
|
3582
3582
|
type: "button",
|
|
3583
3583
|
class: "glim-list-sort",
|
|
3584
3584
|
onClick: (e) => i.value = G(Yt)(i.value, t.key)
|
|
@@ -3586,7 +3586,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3586
3586
|
key: 0,
|
|
3587
3587
|
mark: G(qe).expand,
|
|
3588
3588
|
class: P(`glim-list-sort-mark glim-list-sort-mark--${i.value.dir}`)
|
|
3589
|
-
}, null, 8, ["mark", "class"])) : T("", !0)], 8,
|
|
3589
|
+
}, null, 8, ["mark", "class"])) : T("", !0)], 8, Sc), t.filter ? (R(), E("button", {
|
|
3590
3590
|
key: 0,
|
|
3591
3591
|
type: "button",
|
|
3592
3592
|
"aria-label": e.text.filterOf(t.label),
|
|
@@ -3595,7 +3595,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3595
3595
|
"aria-pressed": ne(t.key).length > 0,
|
|
3596
3596
|
class: "glim-list-filter",
|
|
3597
3597
|
onClick: (e) => b(t.key, e.currentTarget)
|
|
3598
|
-
}, [A(G(p), { mark: G(qe).expand }, null, 8, ["mark"])], 8,
|
|
3598
|
+
}, [A(G(p), { mark: G(qe).expand }, null, 8, ["mark"])], 8, Cc)) : T("", !0)])], 10, bc))), 128))])]), D("tbody", { onKeydown: v }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
|
|
3599
3599
|
key: m.value[i],
|
|
3600
3600
|
"aria-selected": h.value.selected.includes(i),
|
|
3601
3601
|
class: "glim-list-tr",
|
|
@@ -3608,20 +3608,20 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3608
3608
|
}, [V(t.$slots, "cell", {
|
|
3609
3609
|
row: n,
|
|
3610
3610
|
column: e
|
|
3611
|
-
}, () => [k(W(ie(n, e.key)), 1)])], 10,
|
|
3612
|
-
f.value.length === 0 ? (R(), E("p",
|
|
3611
|
+
}, () => [k(W(ie(n, e.key)), 1)])], 10, Tc))), 128))], 40, wc))), 128))], 32)], 8, yc),
|
|
3612
|
+
f.value.length === 0 ? (R(), E("p", Ec, W(e.text.noMatch), 1)) : T("", !0),
|
|
3613
3613
|
D("p", {
|
|
3614
3614
|
id: G(d),
|
|
3615
3615
|
class: "glim-list-hint"
|
|
3616
|
-
}, W(e.text.hint), 9,
|
|
3617
|
-
y.value ? (R(), w(
|
|
3616
|
+
}, W(e.text.hint), 9, Dc),
|
|
3617
|
+
y.value ? (R(), w(gc, {
|
|
3618
3618
|
key: 2,
|
|
3619
3619
|
open: !0,
|
|
3620
3620
|
anchor: c.value.at,
|
|
3621
3621
|
label: e.text.filterOf(y.value.label),
|
|
3622
3622
|
onClose: n[1] ||= (e) => c.value = null
|
|
3623
3623
|
}, {
|
|
3624
|
-
default: Y(() => [D("div",
|
|
3624
|
+
default: Y(() => [D("div", Oc, [(R(!0), E(S, null, B(G(ot)(e.rows, y.value.key), (e) => (R(), w(Zr, {
|
|
3625
3625
|
key: e,
|
|
3626
3626
|
label: e,
|
|
3627
3627
|
"model-value": ne(y.value.key).includes(e),
|
|
@@ -3635,14 +3635,14 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3635
3635
|
}, 8, ["anchor", "label"])) : T("", !0)
|
|
3636
3636
|
]));
|
|
3637
3637
|
}
|
|
3638
|
-
}),
|
|
3638
|
+
}), Ac = ["aria-label"], jc = [
|
|
3639
3639
|
"aria-expanded",
|
|
3640
3640
|
"tabindex",
|
|
3641
3641
|
"onClick",
|
|
3642
3642
|
"onMouseenter",
|
|
3643
3643
|
"onKeydown",
|
|
3644
3644
|
"onFocus"
|
|
3645
|
-
],
|
|
3645
|
+
], Mc = /* @__PURE__ */ j({
|
|
3646
3646
|
__name: "MenuBar",
|
|
3647
3647
|
props: {
|
|
3648
3648
|
label: {},
|
|
@@ -3696,7 +3696,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3696
3696
|
onMouseenter: (e) => i.value && i.value.at !== t && o(t),
|
|
3697
3697
|
onKeydown: (e) => l(e, t),
|
|
3698
3698
|
onFocus: (e) => a.value = t
|
|
3699
|
-
}, W(e.label), 41,
|
|
3699
|
+
}, W(e.label), 41, jc))), 128)), i.value && e.menus[i.value.at] ? (R(), w(Ki, {
|
|
3700
3700
|
key: i.value.at,
|
|
3701
3701
|
x: i.value.x,
|
|
3702
3702
|
y: i.value.y,
|
|
@@ -3715,9 +3715,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3715
3715
|
"id",
|
|
3716
3716
|
"opener",
|
|
3717
3717
|
"from-end"
|
|
3718
|
-
])) : T("", !0)], 8,
|
|
3718
|
+
])) : T("", !0)], 8, Ac));
|
|
3719
3719
|
}
|
|
3720
|
-
}),
|
|
3720
|
+
}), Nc = [
|
|
3721
3721
|
"role",
|
|
3722
3722
|
"aria-label",
|
|
3723
3723
|
"aria-valuemin",
|
|
@@ -3725,7 +3725,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3725
3725
|
"aria-valuenow",
|
|
3726
3726
|
"aria-valuetext",
|
|
3727
3727
|
"aria-busy"
|
|
3728
|
-
],
|
|
3728
|
+
], Pc = /* @__PURE__ */ j({
|
|
3729
3729
|
inheritAttrs: !1,
|
|
3730
3730
|
__name: "Meter",
|
|
3731
3731
|
props: {
|
|
@@ -3760,16 +3760,16 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3760
3760
|
}), [D("span", {
|
|
3761
3761
|
class: "glim-meter-fill",
|
|
3762
3762
|
style: F(i.value.width ? { width: i.value.width } : void 0)
|
|
3763
|
-
}, null, 4)], 16,
|
|
3763
|
+
}, null, 4)], 16, Nc), A(t, { state: G(o) }, null, 8, ["state"])], 64));
|
|
3764
3764
|
}
|
|
3765
|
-
}),
|
|
3765
|
+
}), Fc = {
|
|
3766
3766
|
"data-glim": "NumberField",
|
|
3767
3767
|
class: "glim-num-wrap"
|
|
3768
|
-
},
|
|
3768
|
+
}, Ic = [
|
|
3769
3769
|
"aria-label",
|
|
3770
3770
|
"aria-invalid",
|
|
3771
3771
|
"aria-describedby"
|
|
3772
|
-
],
|
|
3772
|
+
], Lc = /* @__PURE__ */ j({
|
|
3773
3773
|
inheritAttrs: !1,
|
|
3774
3774
|
__name: "NumberField",
|
|
3775
3775
|
props: /*@__PURE__*/ M({ error: {} }, {
|
|
@@ -3800,7 +3800,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3800
3800
|
let t = e.target;
|
|
3801
3801
|
n.value = t.value === "" ? null : t.valueAsNumber;
|
|
3802
3802
|
}
|
|
3803
|
-
return (t, n) => (R(), E(S, null, [D("span",
|
|
3803
|
+
return (t, n) => (R(), E(S, null, [D("span", Fc, [D("input", N(t.$attrs, {
|
|
3804
3804
|
ref_key: "input",
|
|
3805
3805
|
ref: s,
|
|
3806
3806
|
"aria-label": G(i),
|
|
@@ -3809,7 +3809,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3809
3809
|
type: "number",
|
|
3810
3810
|
class: "glim-num-input glim-num-field glim-num",
|
|
3811
3811
|
onInput: u
|
|
3812
|
-
}), null, 16,
|
|
3812
|
+
}), null, 16, Ic)]), o.value.errorId ? (R(), w(xa, {
|
|
3813
3813
|
key: 0,
|
|
3814
3814
|
id: o.value.errorId
|
|
3815
3815
|
}, {
|
|
@@ -3817,7 +3817,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3817
3817
|
_: 1
|
|
3818
3818
|
}, 8, ["id"])) : T("", !0)], 64));
|
|
3819
3819
|
}
|
|
3820
|
-
}),
|
|
3820
|
+
}), Rc = ["aria-label", "disabled"], zc = /* @__PURE__ */ j({
|
|
3821
3821
|
inheritAttrs: !1,
|
|
3822
3822
|
__name: "PathField",
|
|
3823
3823
|
props: /*@__PURE__*/ M({
|
|
@@ -3871,7 +3871,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3871
3871
|
}, {
|
|
3872
3872
|
disabled: e.disabled,
|
|
3873
3873
|
class: "glim-input glim-input--mono"
|
|
3874
|
-
}), null, 16,
|
|
3874
|
+
}), null, 16, Rc), [[Ie, i.value]]), A(f, N(e.buttonAttrs, {
|
|
3875
3875
|
variant: "icon",
|
|
3876
3876
|
label: e.text.pick,
|
|
3877
3877
|
"label-key": null,
|
|
@@ -3886,27 +3886,27 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3886
3886
|
"disabled"
|
|
3887
3887
|
])], 6));
|
|
3888
3888
|
}
|
|
3889
|
-
}),
|
|
3889
|
+
}), Bc = ["data-glim-title"], Vc = { class: "glim-modal-head" }, Hc = {
|
|
3890
3890
|
id: "paypal-window-title",
|
|
3891
3891
|
class: "glim-modal-title"
|
|
3892
|
-
},
|
|
3892
|
+
}, Uc = { class: "glim-give-body glim-give-body--scroll" }, Wc = { class: "glim-give-appeal" }, Gc = { class: "glim-give-intro" }, Kc = { class: "glim-give-group" }, qc = {
|
|
3893
3893
|
id: "paypal-frequency",
|
|
3894
3894
|
class: "glim-eyebrow"
|
|
3895
|
-
},
|
|
3895
|
+
}, Jc = { class: "glim-give-group" }, Yc = {
|
|
3896
3896
|
id: "paypal-amount",
|
|
3897
3897
|
class: "glim-eyebrow"
|
|
3898
|
-
},
|
|
3898
|
+
}, Xc = { class: "glim-give-amounts" }, Zc = [
|
|
3899
3899
|
"value",
|
|
3900
3900
|
"placeholder",
|
|
3901
3901
|
"aria-label",
|
|
3902
3902
|
"aria-invalid"
|
|
3903
|
-
],
|
|
3903
|
+
], Qc = { class: "glim-give-loading" }, $c = {
|
|
3904
3904
|
key: 0,
|
|
3905
3905
|
class: "glim-give-status glim-give-status--ok"
|
|
3906
|
-
},
|
|
3906
|
+
}, el = {
|
|
3907
3907
|
key: 1,
|
|
3908
3908
|
class: "glim-give-status glim-give-status--fail"
|
|
3909
|
-
},
|
|
3909
|
+
}, tl = { class: "glim-give-foot" }, nl = /* @__PURE__ */ j({
|
|
3910
3910
|
__name: "PaypalDialog",
|
|
3911
3911
|
props: {
|
|
3912
3912
|
text: {},
|
|
@@ -3947,7 +3947,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3947
3947
|
"aria-labelledby": "paypal-window-title",
|
|
3948
3948
|
class: "glim-modal-card glim-modal-card--wide"
|
|
3949
3949
|
}, [
|
|
3950
|
-
D("div",
|
|
3950
|
+
D("div", Vc, [D("h2", Hc, [A(e, {
|
|
3951
3951
|
tone: "heading",
|
|
3952
3952
|
size: "heading",
|
|
3953
3953
|
wrap: ""
|
|
@@ -3955,10 +3955,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3955
3955
|
default: Y(() => [k(W(t.text.title), 1)]),
|
|
3956
3956
|
_: 1
|
|
3957
3957
|
})])]),
|
|
3958
|
-
D("div",
|
|
3959
|
-
D("p",
|
|
3960
|
-
D("p",
|
|
3961
|
-
D("div",
|
|
3958
|
+
D("div", Uc, [
|
|
3959
|
+
D("p", Wc, W(t.text.appeal), 1),
|
|
3960
|
+
D("p", Gc, W(t.text.intro), 1),
|
|
3961
|
+
D("div", Kc, [D("span", qc, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
|
|
3962
3962
|
labelledBy: "paypal-frequency",
|
|
3963
3963
|
options: a.map((e) => ({
|
|
3964
3964
|
value: e,
|
|
@@ -3967,7 +3967,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3967
3967
|
value: t.frequency,
|
|
3968
3968
|
onChange: s
|
|
3969
3969
|
})]),
|
|
3970
|
-
D("div",
|
|
3970
|
+
D("div", Jc, [D("span", Yc, W(t.text.amountLabel), 1), D("div", Xc, [D("div", null, [V(n.$slots, "selector", {
|
|
3971
3971
|
labelledBy: "paypal-amount",
|
|
3972
3972
|
options: t.amounts.map((e) => ({
|
|
3973
3973
|
value: e,
|
|
@@ -3984,29 +3984,29 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
3984
3984
|
"aria-invalid": t.typed !== "" && !t.typedValid,
|
|
3985
3985
|
class: P(t.typedValid ? "glim-give-amount glim-give-amount--valid" : "glim-give-amount"),
|
|
3986
3986
|
onInput: l
|
|
3987
|
-
}, null, 42,
|
|
3987
|
+
}, null, 42, Zc)])]),
|
|
3988
3988
|
D("div", {
|
|
3989
3989
|
ref: t.buttonsRef,
|
|
3990
3990
|
class: "glim-give-wallet"
|
|
3991
|
-
}, [D("p",
|
|
3992
|
-
t.status === "done" ? (R(), E("p",
|
|
3993
|
-
t.status === "failed" ? (R(), E("p",
|
|
3991
|
+
}, [D("p", Qc, W(t.text.loading), 1)], 512),
|
|
3992
|
+
t.status === "done" ? (R(), E("p", $c, W(t.text.thanks), 1)) : T("", !0),
|
|
3993
|
+
t.status === "failed" ? (R(), E("p", el, W(t.text.failed), 1)) : T("", !0)
|
|
3994
3994
|
]),
|
|
3995
|
-
D("div",
|
|
3995
|
+
D("div", tl, [A(f, {
|
|
3996
3996
|
label: t.text.closeLabel,
|
|
3997
3997
|
"label-key": "common.close",
|
|
3998
3998
|
tone: "neutral",
|
|
3999
3999
|
onClick: r[0] ||= (e) => i("close")
|
|
4000
4000
|
}, null, 8, ["label"])])
|
|
4001
|
-
], 8,
|
|
4001
|
+
], 8, Bc)]));
|
|
4002
4002
|
}
|
|
4003
|
-
}),
|
|
4003
|
+
}), rl = {
|
|
4004
4004
|
key: 0,
|
|
4005
4005
|
class: "glim-pick-none"
|
|
4006
|
-
},
|
|
4006
|
+
}, il = {
|
|
4007
4007
|
key: 0,
|
|
4008
4008
|
class: "glim-pick-eyebrow"
|
|
4009
|
-
},
|
|
4009
|
+
}, al = { class: "glim-eyebrow" }, ol = { class: "glim-provider-pick" }, sl = /* @__PURE__ */ j({
|
|
4010
4010
|
__name: "PickerWindow",
|
|
4011
4011
|
props: {
|
|
4012
4012
|
title: {},
|
|
@@ -4049,7 +4049,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4049
4049
|
let te = (e) => v(e, dn(e.key, o.value, d.value, () => o.value = "")), y = (e) => {
|
|
4050
4050
|
e.target !== e.currentTarget && v(e, pn(e.key, e.target, e.currentTarget, l()));
|
|
4051
4051
|
};
|
|
4052
|
-
return (n, r) => (R(), w(
|
|
4052
|
+
return (n, r) => (R(), w(Pa, {
|
|
4053
4053
|
ref_key: "win",
|
|
4054
4054
|
ref: s,
|
|
4055
4055
|
"data-glim": "PickerWindow",
|
|
@@ -4068,7 +4068,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4068
4068
|
actions: h(),
|
|
4069
4069
|
onClose: r[1] ||= (e) => i("close")
|
|
4070
4070
|
}, O({
|
|
4071
|
-
default: Y(() => [f() ? V(n.$slots, "default", {}, void 0, void 0, 0) : (R(), E(S, { key: 1 }, [A(
|
|
4071
|
+
default: Y(() => [f() ? V(n.$slots, "default", {}, void 0, void 0, 0) : (R(), E(S, { key: 1 }, [A(cc, {
|
|
4072
4072
|
ref_key: "field",
|
|
4073
4073
|
ref: c,
|
|
4074
4074
|
modelValue: o.value,
|
|
@@ -4099,11 +4099,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4099
4099
|
ref: d,
|
|
4100
4100
|
class: "glim-pick-scroll",
|
|
4101
4101
|
onKeydown: y
|
|
4102
|
-
}, [g.value.length === 0 ? (R(), E("p",
|
|
4102
|
+
}, [g.value.length === 0 ? (R(), E("p", rl, W(G(Z)(t.text.none, { query: o.value.trim() })), 1)) : (R(!0), E(S, { key: 1 }, B(g.value, (n) => (R(), E("section", {
|
|
4103
4103
|
key: n.id,
|
|
4104
4104
|
class: "glim-pick-section"
|
|
4105
|
-
}, [n.title ? (R(), E("div",
|
|
4106
|
-
D("h3",
|
|
4105
|
+
}, [n.title ? (R(), E("div", il, [
|
|
4106
|
+
D("h3", al, W(n.title), 1),
|
|
4107
4107
|
n.badge ? (R(), w(e, {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
size: "small",
|
|
@@ -4116,7 +4116,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4116
4116
|
key: 1,
|
|
4117
4117
|
tip: n.hint
|
|
4118
4118
|
}, null, 8, ["tip"])) : T("", !0)
|
|
4119
|
-
])) : T("", !0), D("ul",
|
|
4119
|
+
])) : T("", !0), D("ul", ol, [(R(!0), E(S, null, B(n.items, (e) => (R(), E("li", {
|
|
4120
4120
|
key: e.id,
|
|
4121
4121
|
style: F(G(mn)(e.mark))
|
|
4122
4122
|
}, [A($, {
|
|
@@ -4169,7 +4169,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4169
4169
|
"actions"
|
|
4170
4170
|
]));
|
|
4171
4171
|
}
|
|
4172
|
-
}),
|
|
4172
|
+
}), cl = /* @__PURE__ */ j({
|
|
4173
4173
|
__name: "RowMark",
|
|
4174
4174
|
props: { on: { type: Boolean } },
|
|
4175
4175
|
setup(e) {
|
|
@@ -4179,7 +4179,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4179
4179
|
"aria-hidden": "true"
|
|
4180
4180
|
}, [A(G(b))], 2));
|
|
4181
4181
|
}
|
|
4182
|
-
}),
|
|
4182
|
+
}), ll = { class: "glim-sr-only" }, ul = /* @__PURE__ */ j({
|
|
4183
4183
|
inheritAttrs: !1,
|
|
4184
4184
|
__name: "SidebarRowLink",
|
|
4185
4185
|
props: {
|
|
@@ -4214,7 +4214,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4214
4214
|
e.view.countClass && e.count ? (R(), E(S, { key: 1 }, [D("span", {
|
|
4215
4215
|
class: P(e.view.countClass),
|
|
4216
4216
|
"aria-hidden": "true"
|
|
4217
|
-
}, W(e.count.value), 3), D("span",
|
|
4217
|
+
}, W(e.count.value), 3), D("span", ll, W(e.count.label), 1)], 64)) : T("", !0)
|
|
4218
4218
|
]),
|
|
4219
4219
|
_: 1
|
|
4220
4220
|
}, 16, [
|
|
@@ -4229,13 +4229,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4229
4229
|
"onBlur"
|
|
4230
4230
|
])), A(t, { state: G(i) }, null, 8, ["state"])], 64));
|
|
4231
4231
|
}
|
|
4232
|
-
}),
|
|
4232
|
+
}), dl = {
|
|
4233
4233
|
key: 0,
|
|
4234
4234
|
class: "glim-nav-row-slot"
|
|
4235
|
-
},
|
|
4235
|
+
}, fl = {
|
|
4236
4236
|
key: 1,
|
|
4237
4237
|
class: "glim-nav-row-slot"
|
|
4238
|
-
},
|
|
4238
|
+
}, pl = /* @__PURE__ */ j({
|
|
4239
4239
|
inheritAttrs: !1,
|
|
4240
4240
|
__name: "SidebarRow",
|
|
4241
4241
|
props: {
|
|
@@ -4278,15 +4278,15 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4278
4278
|
]),
|
|
4279
4279
|
style: F([i.value.style, e.$attrs.style])
|
|
4280
4280
|
}, [
|
|
4281
|
-
e.$slots.before ? (R(), E("span",
|
|
4282
|
-
A(
|
|
4281
|
+
e.$slots.before ? (R(), E("span", dl, [V(e.$slots, "before")])) : T("", !0),
|
|
4282
|
+
A(ul, N({
|
|
4283
4283
|
...e.$attrs,
|
|
4284
4284
|
...a.value,
|
|
4285
4285
|
class: void 0,
|
|
4286
4286
|
style: void 0
|
|
4287
4287
|
}, { "class-name": "glim-nav-row-main" }), null, 16),
|
|
4288
|
-
e.$slots.after ? (R(), E("span",
|
|
4289
|
-
], 6)) : (R(), w(
|
|
4288
|
+
e.$slots.after ? (R(), E("span", fl, [V(e.$slots, "after")])) : T("", !0)
|
|
4289
|
+
], 6)) : (R(), w(ul, N({
|
|
4290
4290
|
key: 1,
|
|
4291
4291
|
"data-glim": "SidebarRow"
|
|
4292
4292
|
}, {
|
|
@@ -4303,7 +4303,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4303
4303
|
"style"
|
|
4304
4304
|
]));
|
|
4305
4305
|
}
|
|
4306
|
-
}),
|
|
4306
|
+
}), ml = ["data-glim-title", "aria-labelledby"], hl = { class: "glim-sheet-panel" }, gl = ["id"], _l = { class: "glim-sheet-body" }, vl = /* @__PURE__ */ j({
|
|
4307
4307
|
__name: "Sheet",
|
|
4308
4308
|
props: {
|
|
4309
4309
|
open: { type: Boolean },
|
|
@@ -4325,7 +4325,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4325
4325
|
ref: o,
|
|
4326
4326
|
"aria-labelledby": G(s),
|
|
4327
4327
|
class: "glim-sheet"
|
|
4328
|
-
}, [D("div",
|
|
4328
|
+
}, [D("div", hl, [
|
|
4329
4329
|
D("h2", {
|
|
4330
4330
|
id: G(s),
|
|
4331
4331
|
class: "glim-sheet-title"
|
|
@@ -4337,9 +4337,9 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4337
4337
|
}, {
|
|
4338
4338
|
default: Y(() => [k(W(t.title), 1)]),
|
|
4339
4339
|
_: 1
|
|
4340
|
-
})], 8,
|
|
4341
|
-
D("div",
|
|
4342
|
-
A(
|
|
4340
|
+
})], 8, gl),
|
|
4341
|
+
D("div", _l, [V(n.$slots, "default")]),
|
|
4342
|
+
A(Aa, {
|
|
4343
4343
|
actions: t.actions,
|
|
4344
4344
|
start: t.start,
|
|
4345
4345
|
"has-start": c.value,
|
|
@@ -4355,12 +4355,12 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4355
4355
|
"has-start",
|
|
4356
4356
|
"text"
|
|
4357
4357
|
])
|
|
4358
|
-
])], 8,
|
|
4358
|
+
])], 8, ml)) : T("", !0);
|
|
4359
4359
|
}
|
|
4360
|
-
}),
|
|
4360
|
+
}), yl = {
|
|
4361
4361
|
"data-glim": "SignInField",
|
|
4362
4362
|
class: "glim-signin-field"
|
|
4363
|
-
},
|
|
4363
|
+
}, bl = ["for"], xl = /* @__PURE__ */ j({
|
|
4364
4364
|
__name: "SignInField",
|
|
4365
4365
|
props: {
|
|
4366
4366
|
label: {},
|
|
@@ -4371,19 +4371,19 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4371
4371
|
let t = e, n = z(!1), r = (e) => {
|
|
4372
4372
|
n.value = Ft(document.getElementById(t.for), t.label, t.hint, e);
|
|
4373
4373
|
};
|
|
4374
|
-
return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div",
|
|
4374
|
+
return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", yl, [D("label", {
|
|
4375
4375
|
for: t.$props.for,
|
|
4376
4376
|
class: P(n.value ? "glim-sr-only" : "glim-signin-label")
|
|
4377
4377
|
}, [k(W(e.label), 1), e.hint ? (R(), w(Q, {
|
|
4378
4378
|
key: 0,
|
|
4379
4379
|
tip: e.hint
|
|
4380
|
-
}, null, 8, ["tip"])) : T("", !0)], 10,
|
|
4380
|
+
}, null, 8, ["tip"])) : T("", !0)], 10, bl), V(t.$slots, "default")]));
|
|
4381
4381
|
}
|
|
4382
|
-
}),
|
|
4382
|
+
}), Sl = [
|
|
4383
4383
|
"aria-label",
|
|
4384
4384
|
"aria-invalid",
|
|
4385
4385
|
"aria-describedby"
|
|
4386
|
-
],
|
|
4386
|
+
], Cl = /* @__PURE__ */ j({
|
|
4387
4387
|
inheritAttrs: !1,
|
|
4388
4388
|
__name: "TextField",
|
|
4389
4389
|
props: /*@__PURE__*/ M({
|
|
@@ -4410,7 +4410,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4410
4410
|
"aria-invalid": c.value.invalid,
|
|
4411
4411
|
"aria-describedby": c.value.describedBy,
|
|
4412
4412
|
class: a.value
|
|
4413
|
-
}), null, 16,
|
|
4413
|
+
}), null, 16, Sl), [[Ie, r.value]]), c.value.errorId ? (R(), w(xa, {
|
|
4414
4414
|
key: 0,
|
|
4415
4415
|
id: c.value.errorId
|
|
4416
4416
|
}, {
|
|
@@ -4418,26 +4418,26 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4418
4418
|
_: 1
|
|
4419
4419
|
}, 8, ["id"])) : T("", !0)], 64));
|
|
4420
4420
|
}
|
|
4421
|
-
}),
|
|
4421
|
+
}), wl = {
|
|
4422
4422
|
"data-glim": "SignInCard",
|
|
4423
4423
|
class: "glim-signin"
|
|
4424
|
-
},
|
|
4424
|
+
}, Tl = { class: "glim-signin-head" }, El = {
|
|
4425
4425
|
key: 0,
|
|
4426
4426
|
class: "glim-signin-logo",
|
|
4427
4427
|
"aria-hidden": "true"
|
|
4428
|
-
},
|
|
4428
|
+
}, Dl = ["src"], Ol = { class: "glim-signin-name" }, kl = {
|
|
4429
4429
|
key: 0,
|
|
4430
4430
|
class: "glim-signin-error",
|
|
4431
4431
|
role: "alert"
|
|
4432
|
-
},
|
|
4432
|
+
}, Al = {
|
|
4433
4433
|
key: 0,
|
|
4434
4434
|
class: "glim-signin-note",
|
|
4435
4435
|
role: "status"
|
|
4436
|
-
},
|
|
4436
|
+
}, jl = { class: "glim-signin-hint" }, Ml = {
|
|
4437
4437
|
key: 3,
|
|
4438
4438
|
class: "glim-signin-error",
|
|
4439
4439
|
role: "alert"
|
|
4440
|
-
},
|
|
4440
|
+
}, Nl = /* @__PURE__ */ j({
|
|
4441
4441
|
__name: "SignInCard",
|
|
4442
4442
|
props: {
|
|
4443
4443
|
logo: {},
|
|
@@ -4485,26 +4485,26 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4485
4485
|
return L(p), ke(p), J(() => i.value.refusal?.count, (e, t, n) => {
|
|
4486
4486
|
let r = i.value.refusal;
|
|
4487
4487
|
r && n(Vn(u.value, r));
|
|
4488
|
-
}, { flush: "post" }), (t, n) => (R(), E("div",
|
|
4488
|
+
}, { flush: "post" }), (t, n) => (R(), E("div", wl, [D("div", {
|
|
4489
4489
|
ref_key: "card",
|
|
4490
4490
|
ref: u,
|
|
4491
4491
|
class: "glim-card glim-signin-card"
|
|
4492
|
-
}, [D("div",
|
|
4492
|
+
}, [D("div", Tl, [e.logo || t.$slots.logo ? (R(), E("span", El, [V(t.$slots, "logo", {}, () => [D("img", {
|
|
4493
4493
|
src: e.logo,
|
|
4494
4494
|
alt: "",
|
|
4495
4495
|
draggable: "false"
|
|
4496
|
-
}, null, 8,
|
|
4496
|
+
}, null, 8, Dl)])])) : T("", !0), D("h1", Ol, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
|
|
4497
4497
|
key: 1,
|
|
4498
4498
|
class: "glim-signin-form",
|
|
4499
4499
|
novalidate: "",
|
|
4500
4500
|
onSubmit: n[4] ||= X((e) => G(r).submit(), ["prevent"])
|
|
4501
4501
|
}, [
|
|
4502
|
-
A(
|
|
4502
|
+
A(xl, {
|
|
4503
4503
|
label: e.text.resetCode,
|
|
4504
4504
|
for: s("reset-code"),
|
|
4505
4505
|
hint: e.text.resetCodeTip
|
|
4506
4506
|
}, {
|
|
4507
|
-
default: Y(() => [A(
|
|
4507
|
+
default: Y(() => [A(Cl, {
|
|
4508
4508
|
id: s("reset-code"),
|
|
4509
4509
|
"data-signin-field": "resetCode",
|
|
4510
4510
|
class: "glim-signin-log-code",
|
|
@@ -4521,11 +4521,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4521
4521
|
"for",
|
|
4522
4522
|
"hint"
|
|
4523
4523
|
]),
|
|
4524
|
-
A(
|
|
4524
|
+
A(xl, {
|
|
4525
4525
|
label: e.text.newPassword,
|
|
4526
4526
|
for: s("new")
|
|
4527
4527
|
}, {
|
|
4528
|
-
default: Y(() => [A(
|
|
4528
|
+
default: Y(() => [A(zo, {
|
|
4529
4529
|
id: s("new"),
|
|
4530
4530
|
"data-signin-field": "newPassword",
|
|
4531
4531
|
"model-value": i.value.newPassword,
|
|
@@ -4539,11 +4539,11 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4539
4539
|
])]),
|
|
4540
4540
|
_: 1
|
|
4541
4541
|
}, 8, ["label", "for"]),
|
|
4542
|
-
A(
|
|
4542
|
+
A(xl, {
|
|
4543
4543
|
label: e.text.confirmPassword,
|
|
4544
4544
|
for: s("confirm")
|
|
4545
4545
|
}, {
|
|
4546
|
-
default: Y(() => [A(
|
|
4546
|
+
default: Y(() => [A(zo, {
|
|
4547
4547
|
id: s("confirm"),
|
|
4548
4548
|
"data-signin-field": "confirm",
|
|
4549
4549
|
"model-value": i.value.confirm,
|
|
@@ -4557,7 +4557,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4557
4557
|
])]),
|
|
4558
4558
|
_: 1
|
|
4559
4559
|
}, 8, ["label", "for"]),
|
|
4560
|
-
i.value.error ? (R(), E("p",
|
|
4560
|
+
i.value.error ? (R(), E("p", kl, W(i.value.error), 1)) : T("", !0),
|
|
4561
4561
|
A(f, {
|
|
4562
4562
|
label: e.text.setPassword,
|
|
4563
4563
|
"label-key": c.value.setPassword,
|
|
@@ -4592,13 +4592,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4592
4592
|
novalidate: "",
|
|
4593
4593
|
onSubmit: n[10] ||= X((e) => G(r).submit(), ["prevent"])
|
|
4594
4594
|
}, [
|
|
4595
|
-
e.note ? (R(), E("p",
|
|
4595
|
+
e.note ? (R(), E("p", Al, W(e.note), 1)) : T("", !0),
|
|
4596
4596
|
i.value.viaPasskey ? T("", !0) : V(t.$slots, "fields", {}, void 0, void 0, 1),
|
|
4597
|
-
ze(A(
|
|
4597
|
+
ze(A(xl, {
|
|
4598
4598
|
label: e.text.password,
|
|
4599
4599
|
for: s("password")
|
|
4600
4600
|
}, {
|
|
4601
|
-
default: Y(() => [A(
|
|
4601
|
+
default: Y(() => [A(zo, {
|
|
4602
4602
|
id: s("password"),
|
|
4603
4603
|
"data-signin-field": "password",
|
|
4604
4604
|
"model-value": i.value.password,
|
|
@@ -4612,12 +4612,12 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4612
4612
|
])]),
|
|
4613
4613
|
_: 1
|
|
4614
4614
|
}, 8, ["label", "for"]), [[Le, !i.value.viaPasskey]]),
|
|
4615
|
-
i.value.needCode ? (R(), w(
|
|
4615
|
+
i.value.needCode ? (R(), w(xl, {
|
|
4616
4616
|
key: 2,
|
|
4617
4617
|
label: e.text.code,
|
|
4618
4618
|
for: s("code")
|
|
4619
4619
|
}, {
|
|
4620
|
-
default: Y(() => [A(
|
|
4620
|
+
default: Y(() => [A(Cl, {
|
|
4621
4621
|
id: s("code"),
|
|
4622
4622
|
"data-signin-field": "code",
|
|
4623
4623
|
class: "glim-signin-code",
|
|
@@ -4627,10 +4627,10 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4627
4627
|
spellcheck: "false",
|
|
4628
4628
|
placeholder: "000000",
|
|
4629
4629
|
"onUpdate:modelValue": n[6] ||= (e) => G(r).set("code", e)
|
|
4630
|
-
}, null, 8, ["id", "model-value"]), D("p",
|
|
4630
|
+
}, null, 8, ["id", "model-value"]), D("p", jl, W(e.text.codeHint), 1)]),
|
|
4631
4631
|
_: 1
|
|
4632
4632
|
}, 8, ["label", "for"])) : T("", !0),
|
|
4633
|
-
i.value.error ? (R(), E("p",
|
|
4633
|
+
i.value.error ? (R(), E("p", Ml, W(i.value.error), 1)) : T("", !0),
|
|
4634
4634
|
A(f, {
|
|
4635
4635
|
label: e.text.signIn,
|
|
4636
4636
|
"label-key": c.value.signIn,
|
|
@@ -4691,13 +4691,13 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4691
4691
|
])) : T("", !0)
|
|
4692
4692
|
], 32))], 512)]));
|
|
4693
4693
|
}
|
|
4694
|
-
}),
|
|
4694
|
+
}), Pl = {
|
|
4695
4695
|
key: 0,
|
|
4696
4696
|
class: "glim-skeleton-block glim-skeleton-tile"
|
|
4697
|
-
},
|
|
4697
|
+
}, Fl = {
|
|
4698
4698
|
key: 1,
|
|
4699
4699
|
class: "glim-skeleton-block glim-skeleton-badge"
|
|
4700
|
-
},
|
|
4700
|
+
}, Il = /* @__PURE__ */ j({
|
|
4701
4701
|
__name: "SkeletonRow",
|
|
4702
4702
|
props: {
|
|
4703
4703
|
delay: {},
|
|
@@ -4722,18 +4722,18 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4722
4722
|
class: P(n.value.className),
|
|
4723
4723
|
style: F(n.value.style)
|
|
4724
4724
|
}, [
|
|
4725
|
-
n.value.tile ? (R(), E("span",
|
|
4725
|
+
n.value.tile ? (R(), E("span", Pl)) : T("", !0),
|
|
4726
4726
|
t[0] ||= D("span", { class: "glim-skeleton-block glim-skeleton-name" }, null, -1),
|
|
4727
|
-
n.value.badge ? (R(), E("span",
|
|
4727
|
+
n.value.badge ? (R(), E("span", Fl)) : T("", !0)
|
|
4728
4728
|
], 6));
|
|
4729
4729
|
}
|
|
4730
|
-
}),
|
|
4730
|
+
}), Ll = ["data-glim-title", "aria-labelledby"], Rl = {
|
|
4731
4731
|
key: 0,
|
|
4732
4732
|
class: "glim-panel-heading"
|
|
4733
|
-
},
|
|
4733
|
+
}, zl = ["id"], Bl = {
|
|
4734
4734
|
key: 1,
|
|
4735
4735
|
class: "glim-subcard-end"
|
|
4736
|
-
},
|
|
4736
|
+
}, Vl = /* @__PURE__ */ j({
|
|
4737
4737
|
__name: "SubCard",
|
|
4738
4738
|
props: {
|
|
4739
4739
|
title: {},
|
|
@@ -4747,23 +4747,23 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4747
4747
|
class: P(["glim-subcard", { "glim-subcard--titled": t.title }]),
|
|
4748
4748
|
"aria-labelledby": t.title ? G(n) : void 0
|
|
4749
4749
|
}, [
|
|
4750
|
-
t.title ? (R(), E("h3",
|
|
4750
|
+
t.title ? (R(), E("h3", Rl, [A(e, {
|
|
4751
4751
|
tone: "heading",
|
|
4752
4752
|
size: "heading",
|
|
4753
4753
|
wrap: ""
|
|
4754
4754
|
}, {
|
|
4755
|
-
default: Y(() => [D("span", { id: G(n) }, W(t.title), 9,
|
|
4755
|
+
default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, zl), t.hint ? (R(), w(Q, {
|
|
4756
4756
|
key: 0,
|
|
4757
4757
|
tip: t.hint,
|
|
4758
4758
|
"on-accent": ""
|
|
4759
4759
|
}, null, 8, ["tip"])) : T("", !0)]),
|
|
4760
4760
|
_: 1
|
|
4761
4761
|
})])) : T("", !0),
|
|
4762
|
-
r.$slots.end ? (R(), E("div",
|
|
4762
|
+
r.$slots.end ? (R(), E("div", Bl, [V(r.$slots, "end")])) : T("", !0),
|
|
4763
4763
|
V(r.$slots, "default")
|
|
4764
|
-
], 10,
|
|
4764
|
+
], 10, Ll));
|
|
4765
4765
|
}
|
|
4766
|
-
}),
|
|
4766
|
+
}), Hl = ["aria-label"], Ul = { key: 0 }, Wl = { key: 0 }, Gl = ["colspan"], Kl = /* @__PURE__ */ j({
|
|
4767
4767
|
__name: "Table",
|
|
4768
4768
|
props: {
|
|
4769
4769
|
label: {},
|
|
@@ -4777,7 +4777,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4777
4777
|
"data-glim": "Table",
|
|
4778
4778
|
class: "glim-table",
|
|
4779
4779
|
"aria-label": e.label
|
|
4780
|
-
}, [n.value ? (R(), E("thead",
|
|
4780
|
+
}, [n.value ? (R(), E("thead", Ul, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
|
|
4781
4781
|
key: e.key,
|
|
4782
4782
|
scope: "col",
|
|
4783
4783
|
class: P({ "glim-table-end": e.end })
|
|
@@ -4788,16 +4788,16 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4788
4788
|
row: n,
|
|
4789
4789
|
column: e,
|
|
4790
4790
|
value: r(n, e)
|
|
4791
|
-
}, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr",
|
|
4791
|
+
}, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", Wl, [D("td", {
|
|
4792
4792
|
colspan: e.columns.length,
|
|
4793
4793
|
class: "glim-table-muted"
|
|
4794
|
-
}, W(e.more), 9,
|
|
4794
|
+
}, W(e.more), 9, Gl)])) : T("", !0)])], 8, Hl));
|
|
4795
4795
|
}
|
|
4796
|
-
}),
|
|
4796
|
+
}), ql = [
|
|
4797
4797
|
"aria-label",
|
|
4798
4798
|
"aria-invalid",
|
|
4799
4799
|
"aria-describedby"
|
|
4800
|
-
],
|
|
4800
|
+
], Jl = /* @__PURE__ */ j({
|
|
4801
4801
|
inheritAttrs: !1,
|
|
4802
4802
|
__name: "TextArea",
|
|
4803
4803
|
props: /*@__PURE__*/ M({
|
|
@@ -4824,7 +4824,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4824
4824
|
"aria-invalid": c.value.invalid,
|
|
4825
4825
|
"aria-describedby": c.value.describedBy,
|
|
4826
4826
|
class: a.value
|
|
4827
|
-
}), null, 16,
|
|
4827
|
+
}), null, 16, ql), [[Ie, r.value]]), c.value.errorId ? (R(), w(xa, {
|
|
4828
4828
|
key: 0,
|
|
4829
4829
|
id: c.value.errorId
|
|
4830
4830
|
}, {
|
|
@@ -4832,7 +4832,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4832
4832
|
_: 1
|
|
4833
4833
|
}, 8, ["id"])) : T("", !0)], 64));
|
|
4834
4834
|
}
|
|
4835
|
-
}),
|
|
4835
|
+
}), Yl = { class: "glim-toast-body" }, Xl = { class: "glim-toast-message" }, Zl = { key: 0 }, Ql = ["aria-label"], $l = /* @__PURE__ */ j({
|
|
4836
4836
|
__name: "ToastCard",
|
|
4837
4837
|
props: {
|
|
4838
4838
|
id: {},
|
|
@@ -4866,7 +4866,7 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4866
4866
|
mark: G(Xe)[e.severity],
|
|
4867
4867
|
class: P(`glim-toast-glyph glim-toast-glyph--${e.severity}`)
|
|
4868
4868
|
}, null, 8, ["mark", "class"]),
|
|
4869
|
-
D("div",
|
|
4869
|
+
D("div", Yl, [D("p", Xl, [(R(!0), E(S, null, B(G(Kn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", Zl)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
|
|
4870
4870
|
key: 0,
|
|
4871
4871
|
class: "glim-toast-action",
|
|
4872
4872
|
tone: "subtle",
|
|
@@ -4879,19 +4879,19 @@ var ro = { class: "glim-instance-rows" }, io = ["data-instance"], ao = {
|
|
|
4879
4879
|
"aria-label": e.dismissLabel,
|
|
4880
4880
|
class: "glim-btn-bare glim-toast-dismiss",
|
|
4881
4881
|
onClick: n[1] ||= (t) => r("dismiss", e.id)
|
|
4882
|
-
}, [A(G(p), { mark: G(qe).dismiss }, null, 8, ["mark"])], 8,
|
|
4882
|
+
}, [A(G(p), { mark: G(qe).dismiss }, null, 8, ["mark"])], 8, Ql)
|
|
4883
4883
|
], 32));
|
|
4884
4884
|
}
|
|
4885
|
-
}),
|
|
4886
|
-
function
|
|
4887
|
-
for (let i of Object.values(t)) typeof n[
|
|
4885
|
+
}), eu = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
|
|
4886
|
+
function tu(e, t, n, r) {
|
|
4887
|
+
for (let i of Object.values(t)) typeof n[eu(i)] == "function" && r(`${e} ${i}`);
|
|
4888
4888
|
return (e, ...r) => {
|
|
4889
|
-
let i = t[e], a = i === void 0 ? void 0 : n[
|
|
4889
|
+
let i = t[e], a = i === void 0 ? void 0 : n[eu(i)];
|
|
4890
4890
|
typeof a == "function" && a(...r);
|
|
4891
4891
|
};
|
|
4892
4892
|
}
|
|
4893
4893
|
// src/ToastViewport.vue
|
|
4894
|
-
var
|
|
4894
|
+
var nu = /* @__PURE__ */ j({
|
|
4895
4895
|
inheritAttrs: !1,
|
|
4896
4896
|
__name: "ToastViewport",
|
|
4897
4897
|
props: {
|
|
@@ -4910,7 +4910,7 @@ var ru = /* @__PURE__ */ j({
|
|
|
4910
4910
|
"blur"
|
|
4911
4911
|
],
|
|
4912
4912
|
setup(e, { emit: t }) {
|
|
4913
|
-
let n = e, r = t, i =
|
|
4913
|
+
let n = e, r = t, i = tu("ToastViewport", {
|
|
4914
4914
|
mouseEnter: "enter",
|
|
4915
4915
|
mouseLeave: "leave",
|
|
4916
4916
|
focus: "focusin",
|
|
@@ -4943,7 +4943,7 @@ var ru = /* @__PURE__ */ j({
|
|
|
4943
4943
|
D("div", N({
|
|
4944
4944
|
"data-glim": "ToastViewport",
|
|
4945
4945
|
class: "glim-toast-stack"
|
|
4946
|
-
}, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(
|
|
4946
|
+
}, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w($l, {
|
|
4947
4947
|
id: t.id,
|
|
4948
4948
|
key: t.id,
|
|
4949
4949
|
message: t.message,
|
|
@@ -4964,7 +4964,7 @@ var ru = /* @__PURE__ */ j({
|
|
|
4964
4964
|
]))), 128))], 16)
|
|
4965
4965
|
], 64));
|
|
4966
4966
|
}
|
|
4967
|
-
}),
|
|
4967
|
+
}), ru = ["aria-label"], iu = [
|
|
4968
4968
|
"aria-level",
|
|
4969
4969
|
"aria-posinset",
|
|
4970
4970
|
"aria-setsize",
|
|
@@ -4975,11 +4975,11 @@ var ru = /* @__PURE__ */ j({
|
|
|
4975
4975
|
"onClick",
|
|
4976
4976
|
"onDblclick",
|
|
4977
4977
|
"onKeydown"
|
|
4978
|
-
],
|
|
4978
|
+
], au = ["onClick"], ou = {
|
|
4979
4979
|
key: 0,
|
|
4980
4980
|
class: "glim-tree-glyph",
|
|
4981
4981
|
"aria-hidden": "true"
|
|
4982
|
-
},
|
|
4982
|
+
}, su = { class: "glim-tree-label" }, cu = /* @__PURE__ */ j({
|
|
4983
4983
|
__name: "Tree",
|
|
4984
4984
|
props: /*@__PURE__*/ M({
|
|
4985
4985
|
label: {},
|
|
@@ -5039,15 +5039,15 @@ var ru = /* @__PURE__ */ j({
|
|
|
5039
5039
|
"aria-hidden": "true",
|
|
5040
5040
|
onClick: X((t) => e.node.hasChildren && f(e.node.id), ["stop"]),
|
|
5041
5041
|
onDblclick: n[0] ||= X(() => {}, ["stop"])
|
|
5042
|
-
}, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40,
|
|
5043
|
-
e.node.glyph ? (R(), E("span",
|
|
5044
|
-
D("span",
|
|
5045
|
-
], 16,
|
|
5042
|
+
}, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, au),
|
|
5043
|
+
e.node.glyph ? (R(), E("span", ou, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
|
|
5044
|
+
D("span", su, W(e.node.label), 1)
|
|
5045
|
+
], 16, iu))), 128))], 8, ru));
|
|
5046
5046
|
}
|
|
5047
|
-
}),
|
|
5047
|
+
}), lu = ["data-glim-title"], uu = { class: "glim-notice-title" }, du = { class: "glim-notice-reason" }, fu = {
|
|
5048
5048
|
key: 0,
|
|
5049
5049
|
class: "glim-notice-action"
|
|
5050
|
-
},
|
|
5050
|
+
}, pu = /* @__PURE__ */ j({
|
|
5051
5051
|
__name: "UnavailableNotice",
|
|
5052
5052
|
props: { title: {} },
|
|
5053
5053
|
setup(e) {
|
|
@@ -5056,12 +5056,12 @@ var ru = /* @__PURE__ */ j({
|
|
|
5056
5056
|
"data-glim-title": e.title,
|
|
5057
5057
|
class: "glim-notice"
|
|
5058
5058
|
}, [
|
|
5059
|
-
D("p",
|
|
5060
|
-
D("p",
|
|
5061
|
-
t.$slots.action ? (R(), E("div",
|
|
5062
|
-
], 8,
|
|
5059
|
+
D("p", uu, W(e.title), 1),
|
|
5060
|
+
D("p", du, [V(t.$slots, "default")]),
|
|
5061
|
+
t.$slots.action ? (R(), E("div", fu, [V(t.$slots, "action")])) : T("", !0)
|
|
5062
|
+
], 8, lu));
|
|
5063
5063
|
}
|
|
5064
|
-
}),
|
|
5064
|
+
}), mu = ["aria-label"], hu = { class: "glim-window-square" }, gu = { class: "glim-window-square" }, _u = { class: "glim-window-square" }, vu = /* @__PURE__ */ j({
|
|
5065
5065
|
__name: "WindowBar",
|
|
5066
5066
|
props: {
|
|
5067
5067
|
appName: {},
|
|
@@ -5102,7 +5102,7 @@ var ru = /* @__PURE__ */ j({
|
|
|
5102
5102
|
class: "glim-window-button",
|
|
5103
5103
|
onClick: r[0] ||= (e) => n("minimise")
|
|
5104
5104
|
}, {
|
|
5105
|
-
default: Y(() => [D("span",
|
|
5105
|
+
default: Y(() => [D("span", hu, [A(G(he))])]),
|
|
5106
5106
|
_: 1
|
|
5107
5107
|
}, 8, ["tip"]),
|
|
5108
5108
|
A(_e, {
|
|
@@ -5110,7 +5110,7 @@ var ru = /* @__PURE__ */ j({
|
|
|
5110
5110
|
class: "glim-window-button",
|
|
5111
5111
|
onClick: r[1] ||= (e) => n("toggleMaximise")
|
|
5112
5112
|
}, {
|
|
5113
|
-
default: Y(() => [D("span",
|
|
5113
|
+
default: Y(() => [D("span", gu, [e.maximised ? (R(), w(G(m), { key: 0 })) : (R(), w(G(v), { key: 1 }))])]),
|
|
5114
5114
|
_: 1
|
|
5115
5115
|
}, 8, ["tip"]),
|
|
5116
5116
|
A(_e, {
|
|
@@ -5118,14 +5118,14 @@ var ru = /* @__PURE__ */ j({
|
|
|
5118
5118
|
class: "glim-window-button",
|
|
5119
5119
|
onClick: r[2] ||= (e) => n("close")
|
|
5120
5120
|
}, {
|
|
5121
|
-
default: Y(() => [D("span",
|
|
5121
|
+
default: Y(() => [D("span", _u, [A(G(_))])]),
|
|
5122
5122
|
_: 1
|
|
5123
5123
|
}, 8, ["tip"])
|
|
5124
|
-
], 40,
|
|
5124
|
+
], 40, mu));
|
|
5125
5125
|
}
|
|
5126
5126
|
});
|
|
5127
5127
|
// src/confirm.ts
|
|
5128
|
-
function
|
|
5128
|
+
function yu(e) {
|
|
5129
5129
|
let t = U(null), n = U(null), r = null, i = null;
|
|
5130
5130
|
function a(e, n) {
|
|
5131
5131
|
return i = Et(), new Promise((i) => {
|
|
@@ -5139,7 +5139,7 @@ function bu(e) {
|
|
|
5139
5139
|
r?.(e), r = null, t.value = null, kn(i), i = null;
|
|
5140
5140
|
}
|
|
5141
5141
|
let s = () => o(!1);
|
|
5142
|
-
return
|
|
5142
|
+
return bu(() => t.value !== null, n, s), {
|
|
5143
5143
|
confirm: a,
|
|
5144
5144
|
dismiss: s,
|
|
5145
5145
|
ConfirmHost: j(() => () => {
|
|
@@ -5158,13 +5158,13 @@ function bu(e) {
|
|
|
5158
5158
|
})
|
|
5159
5159
|
};
|
|
5160
5160
|
}
|
|
5161
|
-
function
|
|
5161
|
+
function bu(e, t, n) {
|
|
5162
5162
|
J(e, (e, r, i) => {
|
|
5163
5163
|
e && i(ir(() => t.value, n));
|
|
5164
5164
|
}, { immediate: !0 });
|
|
5165
5165
|
}
|
|
5166
5166
|
// src/paypalButtons.ts
|
|
5167
|
-
function
|
|
5167
|
+
function xu(e) {
|
|
5168
5168
|
let t = U(null), n = () => {};
|
|
5169
5169
|
return J([
|
|
5170
5170
|
t,
|
|
@@ -5198,8 +5198,8 @@ function Su(e) {
|
|
|
5198
5198
|
}), De(() => n()), (e) => t.value = e;
|
|
5199
5199
|
}
|
|
5200
5200
|
// src/dragArmed.ts
|
|
5201
|
-
function
|
|
5201
|
+
function Su(e, t) {
|
|
5202
5202
|
let n = () => e.value?.classList.toggle("glim-drag-armed", t());
|
|
5203
5203
|
Re(n, { flush: "post" }), ke(n);
|
|
5204
5204
|
}
|
|
5205
|
-
export { Hr as AboutCard, e as Badge, qr as BrandMark, c as BusyRing, f as Button, _r as Card, Zr as Checkbox, si as CoffeeDialog, fi as ColorPicker, bi as ConfirmDialog,
|
|
5205
|
+
export { Hr as AboutCard, e as Badge, qr as BrandMark, c as BusyRing, f as Button, _r as Card, Zr as Checkbox, si as CoffeeDialog, fi as ColorPicker, bi as ConfirmDialog, ji as ConnectionRow, Ki as ContextMenu, Yi as CopyField, da as CryptoDonateDialog, ma as DropdownListbox, ya as EmptyState, xa as FieldError, Ta as FieldRow, Ea as FieldRowGroup, Ms as Fortress, lo as FortressAppCard, Ia as FortressDoubtWindow, Ns as FortressPairing, Mo as FortressPermissions, ac as FortressStatusWindow, We as GLIMSTONE_RELEASE_URL, Ge as GLIMSTONE_REPO, Ke as GLIMSTONE_VERSION, cc as GlyphField, lc as GlyphTile, de as IconBack, Se as IconButton, oe as IconCalendar, le as IconCancel, b as IconCheck, _ as IconClose, se as IconCopy, ue as IconExpand, ee as IconEye, ie as IconEyeOff, fe as IconFolderOpen, te as IconForward, y as IconPause, ce as IconPencil, ae as IconPlay, re as IconResetArrow, ne as IconSearch, g as IconStar, _e as IconTipButton, pe as IconTrash, ge as IconUpload, v as IconWindowMaximise, he as IconWindowMinimise, m as IconWindowRestore, Dr as InfoAboutCard, Q as InfoBubble, Ar as InfoHelpCard, Vr as InfoTile, zr as InfoVersionCard, Qa as InstanceCard, Ni as Kbd, mc as ListRow, kc as ListTable, p as MarkSvg, Mc as MenuBar, Pc as Meter, Lc as NumberField, zo as PasswordField, zc as PathField, nl as PaypalDialog, sl as PickerWindow, Sa as Pill, gc as Popover, eo as PresenceBadges, Fs as ProgressBar, $ as ReadmeButton, cl as RowMark, _o as Selector, vl as Sheet, pl as SidebarRow, Nl as SignInCard, xl as SignInField, Il as SkeletonRow, Vl as SubCard, Kl as Table, Jl as TextArea, Cl as TextField, $l as ToastCard, nu as ToastViewport, xo as Toggle, cu as Tree, pu as UnavailableNotice, Pa as Window, vu as WindowBar, to as deviceGlyph, me as glyphFor, Ln as selectorTabId, h as setGlyphResolver, u as useAccent, yu as useConfirm, o as useDensity, bu as useDialogKeys, Su as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, xu as usePaypalButtons, be as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };
|