@wssto2/vue-core 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Activity-DnW1LTO2.js → Activity-DukTfcmn.js} +2 -2
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js} +137 -129
- package/dist/{Changes-DJDSlnp1.js → Changes-Dhi7EBe9.js} +2 -2
- package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-BuAdhiy_.js +1514 -0
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DBtMgcW6.js → DataTable.vue_vue_type_script_setup_true_lang-KPm5NrDE.js} +1 -1
- package/dist/{DeadLetters-C8ICE47Y.js → DeadLetters-CfKE1axC.js} +2 -2
- package/dist/{General-BbEDM3y_.js → General-BwT5Y_TN.js} +2 -2
- package/dist/IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js +50 -0
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js → Menu.vue_vue_type_script_setup_true_lang-uPmxWvds.js} +56 -50
- package/dist/{NewRolePage-CYfEuRIV.js → NewRolePage-B8OGQE-A.js} +3 -3
- package/dist/{ProfilePage-V2ywWbL3.js → ProfilePage-DIJEhiW-.js} +4 -4
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-BCTNrzBb.js → RecordHeader.vue_vue_type_script_setup_true_lang-D87Hs75d.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-C_tQTUyN.js → ResourcePage.vue_vue_type_script_setup_true_lang-gJGEfLzX.js} +1 -1
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-et4dyitf.js → RoleEditor.vue_vue_type_script_setup_true_lang-4YJhNgbn.js} +1 -1
- package/dist/{RolePage-CjCBcRau.js → RolePage-Bn0re7VE.js} +6 -6
- package/dist/{RolesPage-Cr3Hlr4Q.js → RolesPage-CjEAQvTq.js} +3 -3
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BtQjHjd4.js → SectionList.vue_vue_type_script_setup_true_lang-B0p_8xQG.js} +2 -2
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BGc8A9AQ.js → SectionNavigator.vue_vue_type_script_setup_true_lang-ROl9_pdO.js} +3 -3
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-BJoAkBo2.js +437 -0
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js → SessionList.vue_vue_type_script_setup_true_lang-D4k5QeWS.js} +1 -1
- package/dist/{Sessions-_35nYhoR.js → Sessions-BZnBtu7h.js} +2 -2
- package/dist/{SettingsPage-CDESMl3M.js → SettingsPage-BmRCB75J.js} +2 -2
- package/dist/{SignIn-CkXwxorT.js → SignIn-D-n9cfMH.js} +2 -2
- package/dist/{SignInPage-BdwfKB31.js → SignInPage-BzIP6sPa.js} +1 -1
- package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-CifEaH7c.js → SignInTable.vue_vue_type_script_setup_true_lang-ALAuc0sI.js} +1 -1
- package/dist/{SignIns-Dvdid5QB.js → SignIns-dFIzemgy.js} +2 -2
- package/dist/ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js +24 -0
- package/dist/{UserRecord-CM0JQQGT.js → UserRecord-DoOu1hWB.js} +5 -5
- package/dist/{UsersList-CR3RpQ4-.js → UsersList-CYBGEOqE.js} +4 -4
- package/dist/access/index.js +1 -1
- package/dist/collection/CollectionCell.vue.d.ts +2 -0
- package/dist/collection/RecordIdentity.vue.d.ts +6 -0
- package/dist/collection/filters.d.ts +4 -0
- package/dist/collection/index.js +3 -3
- package/dist/collection/rowInteractions.d.ts +2 -0
- package/dist/controls/IconTile.vue.d.ts +10 -3
- package/dist/controls/index.js +1 -1
- package/dist/form/I18nField.vue.d.ts +1 -1
- package/dist/form/TextareaField.vue.d.ts +1 -1
- package/dist/form/index.js +4 -4
- package/dist/form/options.d.ts +3 -0
- package/dist/identity/index.js +1 -1
- package/dist/{index-ClU_gPzK.js → index-BHt1dLX2.js} +2 -2
- package/dist/{index-B1jflSA6.js → index-BVX0nmMv.js} +10 -10
- package/dist/{index-DVp6cwfN.js → index-CixCeO47.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/overlay/AlertDialog.vue.d.ts +2 -2
- package/dist/overlay/Menu.vue.d.ts +3 -0
- package/dist/overlay/index.js +1 -1
- package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
- package/dist/page/ResourceHeader.vue.d.ts +2 -2
- package/dist/page/index.js +5 -5
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-CZ7uZFnE.js → rowLayout-BkQWulan.js} +239 -221
- package/dist/shell/NavigationList.vue.d.ts +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/state/ToneDot.vue.d.ts +12 -0
- package/dist/{status-D2Fmu3YH.js → status-D3cLPSCh.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/styles/collection.css +1 -1
- package/src/styles/theme.css +7 -0
- package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js +0 -1485
- package/dist/IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js +0 -40
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js +0 -423
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
import { defineComponent as N, ref as P, useId as I, useTemplateRef as R, computed as k, watch as B, nextTick as j, openBlock as n, createElementBlock as g, normalizeClass as y, createElementVNode as s, createVNode as V, unref as t, withDirectives as G, vModelText as K, createCommentVNode as h, toDisplayString as w, createBlock as L, Fragment as T, renderList as E, onScopeDispose as W, useModel as J, mergeProps as M, withCtx as q, createSlots as Q, createTextVNode as X, mergeModels as Y, mergeDefaults as Z } from "vue";
|
|
2
|
+
import { useI18n as H } from "vue-i18n";
|
|
3
|
+
import { _ as ee } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
|
+
import { _ as D } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
5
|
+
import { u as te } from "./mediaQuery-CygcXmFW.js";
|
|
6
|
+
import { _ as F } from "./ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js";
|
|
7
|
+
import { _ as oe } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
|
|
8
|
+
import { _ as le } from "./Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
|
|
9
|
+
import { a as ae, c as ne, _ as se, f as re, b as ie } from "./control-7EP4tjYy.js";
|
|
10
|
+
import { g as ue, m as de } from "./options-Ba_0uLWN.js";
|
|
11
|
+
import { a as ce } from "./suggestions-BxMm6MQA.js";
|
|
12
|
+
const pe = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill px-2.5 text-content-muted focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-border-focus" }, me = ["aria-label", "placeholder"], fe = ["aria-multiselectable", "aria-busy"], ve = {
|
|
13
|
+
key: 0,
|
|
14
|
+
role: "presentation"
|
|
15
|
+
}, be = ["aria-selected"], ge = { class: "flex-1 py-2" }, he = {
|
|
16
|
+
key: 1,
|
|
17
|
+
role: "presentation",
|
|
18
|
+
class: "flex items-center gap-2.5 px-row-inset py-4 text-subheadline text-content-muted",
|
|
19
|
+
"data-test": "options-loading"
|
|
20
|
+
}, ye = { role: "status" }, xe = {
|
|
21
|
+
key: 2,
|
|
22
|
+
role: "presentation",
|
|
23
|
+
class: "flex flex-col items-start gap-1 px-row-inset py-3",
|
|
24
|
+
"data-test": "options-failed"
|
|
25
|
+
}, ke = {
|
|
26
|
+
role: "alert",
|
|
27
|
+
class: "text-subheadline text-content-destructive"
|
|
28
|
+
}, _e = ["id"], we = ["aria-labelledby"], $e = ["aria-selected"], Ce = ["disabled", "onClick"], Se = {
|
|
29
|
+
key: 0,
|
|
30
|
+
"aria-hidden": "true",
|
|
31
|
+
class: "flex shrink-0 items-center"
|
|
32
|
+
}, Le = { class: "min-w-0 flex-1 text-content-strong" }, Ve = {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: "shrink-0 text-footnote text-content-muted"
|
|
35
|
+
}, De = {
|
|
36
|
+
key: 3,
|
|
37
|
+
class: "px-4 py-6 text-center text-subheadline text-content-muted"
|
|
38
|
+
}, U = /* @__PURE__ */ N({
|
|
39
|
+
__name: "OptionList",
|
|
40
|
+
props: {
|
|
41
|
+
options: {},
|
|
42
|
+
modelValue: { default: null },
|
|
43
|
+
multiple: { type: Boolean, default: !1 },
|
|
44
|
+
searchFrom: { default: 9 },
|
|
45
|
+
noneLabel: { default: void 0 },
|
|
46
|
+
presentation: { default: "grouped" },
|
|
47
|
+
status: { default: "loaded" }
|
|
48
|
+
},
|
|
49
|
+
emits: ["select", "retry"],
|
|
50
|
+
setup(r, { emit: l }) {
|
|
51
|
+
const e = r, c = l, { t: v } = H(), b = P(""), f = I(), x = R("root"), o = k(() => e.options.length >= e.searchFrom), p = k(() => ue(de(e.options, b.value))), S = (m) => e.multiple ? Array.isArray(e.modelValue) && e.modelValue.includes(m.value) : e.modelValue === m.value, A = k(() => e.multiple ? !1 : e.modelValue === null);
|
|
52
|
+
function O(m) {
|
|
53
|
+
if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(m.key)) return;
|
|
54
|
+
const a = [...x.value?.querySelectorAll("[data-option]:not([disabled])") ?? []];
|
|
55
|
+
if (a.length === 0) return;
|
|
56
|
+
const u = a.indexOf(document.activeElement), i = m.key === "Home" ? 0 : m.key === "End" ? a.length - 1 : m.key === "ArrowDown" ? Math.min(u + 1, a.length - 1) : Math.max(u - 1, 0);
|
|
57
|
+
m.key === "ArrowUp" && u <= 0 ? x.value?.querySelector("[data-option-search]")?.focus() : a[u === -1 && m.key === "ArrowDown" ? 0 : i]?.focus(), m.preventDefault();
|
|
58
|
+
}
|
|
59
|
+
const $ = k(() => e.presentation === "grouped"), C = k(() => e.status === "loading"), d = k(() => e.status === "failed");
|
|
60
|
+
return B(() => e.status, (m, _) => {
|
|
61
|
+
_ !== "loading" || m === "loading" || j(() => {
|
|
62
|
+
const a = document.activeElement;
|
|
63
|
+
(!a || a === document.body || a.getAttribute("role") === "dialog" && !!x.value && a.contains(x.value)) && x.value?.querySelector("[data-option-search], [data-option]:not([disabled])")?.focus({ preventScroll: !0 });
|
|
64
|
+
});
|
|
65
|
+
}), (m, _) => (n(), g("div", {
|
|
66
|
+
ref_key: "root",
|
|
67
|
+
ref: x,
|
|
68
|
+
"data-test": "option-list",
|
|
69
|
+
onKeydown: O
|
|
70
|
+
}, [
|
|
71
|
+
o.value ? (n(), g("div", {
|
|
72
|
+
key: 0,
|
|
73
|
+
class: y(["sticky top-0 z-10 pb-2", $.value ? "bg-surface-page pt-1" : "bg-surface-cell"])
|
|
74
|
+
}, [
|
|
75
|
+
s("label", pe, [
|
|
76
|
+
V(t(D), {
|
|
77
|
+
name: "search",
|
|
78
|
+
size: 16,
|
|
79
|
+
class: "shrink-0"
|
|
80
|
+
}),
|
|
81
|
+
G(s("input", {
|
|
82
|
+
"onUpdate:modelValue": _[0] || (_[0] = (a) => b.value = a),
|
|
83
|
+
"data-option-search": "",
|
|
84
|
+
type: "search",
|
|
85
|
+
enterkeyhint: "search",
|
|
86
|
+
autocomplete: "off",
|
|
87
|
+
autocapitalize: "off",
|
|
88
|
+
spellcheck: "false",
|
|
89
|
+
"aria-label": t(v)("core.form.select.search"),
|
|
90
|
+
placeholder: t(v)("core.form.select.search"),
|
|
91
|
+
class: "min-w-0 flex-1 border-0 bg-transparent p-0 text-body text-content-strong outline-none placeholder:text-content-disabled focus:ring-0"
|
|
92
|
+
}, null, 8, me), [
|
|
93
|
+
[K, b.value]
|
|
94
|
+
])
|
|
95
|
+
])
|
|
96
|
+
], 2)) : h("", !0),
|
|
97
|
+
s("ul", {
|
|
98
|
+
class: y(["flex flex-col", $.value ? "gap-group-gap" : "gap-2"]),
|
|
99
|
+
role: "listbox",
|
|
100
|
+
"aria-multiselectable": e.multiple || void 0,
|
|
101
|
+
"aria-busy": C.value || void 0
|
|
102
|
+
}, [
|
|
103
|
+
e.noneLabel && b.value === "" ? (n(), g("li", ve, [
|
|
104
|
+
s("ul", {
|
|
105
|
+
role: "group",
|
|
106
|
+
class: y($.value ? "rounded-group bg-surface-cell shadow-group" : "")
|
|
107
|
+
}, [
|
|
108
|
+
s("li", {
|
|
109
|
+
role: "option",
|
|
110
|
+
"aria-selected": A.value
|
|
111
|
+
}, [
|
|
112
|
+
s("button", {
|
|
113
|
+
type: "button",
|
|
114
|
+
"data-option": "",
|
|
115
|
+
class: y(["flex min-h-row w-full cursor-pointer items-center gap-3 px-row-inset text-left text-body hover:bg-fill focus-visible:bg-fill focus-visible:outline-none active:bg-fill", [A.value ? "text-content-strong" : "text-content-muted", $.value ? "rounded-group" : "rounded-control"]]),
|
|
116
|
+
onClick: _[1] || (_[1] = (a) => c("select", null))
|
|
117
|
+
}, [
|
|
118
|
+
s("span", ge, w(e.noneLabel), 1),
|
|
119
|
+
A.value ? (n(), L(t(D), {
|
|
120
|
+
key: 0,
|
|
121
|
+
name: "checkCustom",
|
|
122
|
+
size: 18,
|
|
123
|
+
class: "shrink-0 text-content-link"
|
|
124
|
+
})) : h("", !0)
|
|
125
|
+
], 2)
|
|
126
|
+
], 8, be)
|
|
127
|
+
], 2)
|
|
128
|
+
])) : h("", !0),
|
|
129
|
+
C.value ? (n(), g("li", he, [
|
|
130
|
+
V(t(D), {
|
|
131
|
+
name: "loader4Line",
|
|
132
|
+
size: 16,
|
|
133
|
+
class: "shrink-0 animate-spin text-content-link"
|
|
134
|
+
}),
|
|
135
|
+
s("span", ye, w(t(v)("core.form.select.loading")), 1)
|
|
136
|
+
])) : d.value ? (n(), g("li", xe, [
|
|
137
|
+
s("span", ke, w(t(v)("core.form.select.load_failed")), 1),
|
|
138
|
+
s("button", {
|
|
139
|
+
type: "button",
|
|
140
|
+
"data-option": "",
|
|
141
|
+
"data-test": "options-retry",
|
|
142
|
+
class: "-ml-2 cursor-pointer rounded-control px-2 py-1 text-subheadline font-medium text-content-link hover:bg-fill focus-visible:bg-fill focus-visible:outline-none",
|
|
143
|
+
onClick: _[2] || (_[2] = (a) => c("retry"))
|
|
144
|
+
}, w(t(v)("core.actions.retry")), 1)
|
|
145
|
+
])) : h("", !0),
|
|
146
|
+
(n(!0), g(T, null, E(p.value, (a, u) => (n(), g("li", {
|
|
147
|
+
key: a.title ?? u,
|
|
148
|
+
role: "presentation"
|
|
149
|
+
}, [
|
|
150
|
+
a.title ? (n(), g("p", {
|
|
151
|
+
key: 0,
|
|
152
|
+
id: `${t(f)}-${u}`,
|
|
153
|
+
class: "px-row-inset pb-1.5 text-footnote uppercase tracking-wide text-content-muted"
|
|
154
|
+
}, w(a.title), 9, _e)) : h("", !0),
|
|
155
|
+
s("ul", {
|
|
156
|
+
role: "group",
|
|
157
|
+
"aria-labelledby": a.title ? `${t(f)}-${u}` : void 0,
|
|
158
|
+
class: y($.value ? "rounded-group bg-surface-cell shadow-group" : "")
|
|
159
|
+
}, [
|
|
160
|
+
(n(!0), g(T, null, E(a.options, (i) => (n(), g("li", {
|
|
161
|
+
key: String(i.value),
|
|
162
|
+
role: "option",
|
|
163
|
+
"aria-selected": S(i),
|
|
164
|
+
class: "group/option"
|
|
165
|
+
}, [
|
|
166
|
+
s("button", {
|
|
167
|
+
type: "button",
|
|
168
|
+
"data-option": "",
|
|
169
|
+
"data-test": "option",
|
|
170
|
+
disabled: i.disabled,
|
|
171
|
+
class: y(["flex w-full cursor-pointer items-stretch gap-3 pl-row-inset text-left text-body hover:bg-fill focus-visible:bg-fill focus-visible:outline-none active:bg-fill disabled:cursor-not-allowed disabled:opacity-45", $.value ? "group-first/option:rounded-t-group group-last/option:rounded-b-group" : "rounded-control"]),
|
|
172
|
+
onClick: (Be) => c("select", i.value)
|
|
173
|
+
}, [
|
|
174
|
+
e.multiple ? (n(), g("span", Se, [
|
|
175
|
+
s("span", {
|
|
176
|
+
class: y(["flex size-5.5 items-center justify-center rounded-full border", S(i) ? "border-control-on bg-control-on text-white" : "border-border-control"])
|
|
177
|
+
}, [
|
|
178
|
+
S(i) ? (n(), L(t(D), {
|
|
179
|
+
key: 0,
|
|
180
|
+
name: "checkCustom",
|
|
181
|
+
size: 12
|
|
182
|
+
})) : h("", !0)
|
|
183
|
+
], 2)
|
|
184
|
+
])) : h("", !0),
|
|
185
|
+
s("span", {
|
|
186
|
+
class: y(["flex min-h-row min-w-0 flex-1 items-center gap-3 py-2 pr-row-inset", $.value ? "border-t border-border-separator group-first/option:border-t-0" : ""])
|
|
187
|
+
}, [
|
|
188
|
+
i.dot ? (n(), L(F, {
|
|
189
|
+
key: 0,
|
|
190
|
+
tone: i.dot,
|
|
191
|
+
class: "-mr-1.5"
|
|
192
|
+
}, null, 8, ["tone"])) : h("", !0),
|
|
193
|
+
s("span", Le, w(i.label), 1),
|
|
194
|
+
i.description ? (n(), g("span", Ve, w(i.description), 1)) : h("", !0),
|
|
195
|
+
!e.multiple && S(i) ? (n(), L(t(D), {
|
|
196
|
+
key: 2,
|
|
197
|
+
name: "checkCustom",
|
|
198
|
+
size: 18,
|
|
199
|
+
class: "shrink-0 text-content-link"
|
|
200
|
+
})) : h("", !0)
|
|
201
|
+
], 2)
|
|
202
|
+
], 10, Ce)
|
|
203
|
+
], 8, $e))), 128))
|
|
204
|
+
], 10, we)
|
|
205
|
+
]))), 128)),
|
|
206
|
+
p.value.length === 0 && !C.value && !d.value ? (n(), g("li", De, w(t(v)("core.form.select.no_matches")), 1)) : h("", !0)
|
|
207
|
+
], 10, fe)
|
|
208
|
+
], 544));
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
function Ke(r) {
|
|
212
|
+
const l = ce(), e = r.for !== void 0;
|
|
213
|
+
let c = 0;
|
|
214
|
+
function v() {
|
|
215
|
+
const b = r.for?.();
|
|
216
|
+
if (e && b == null) {
|
|
217
|
+
l.cancel(), l.items.value = [], l.status.value = "idle";
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
l.run(
|
|
221
|
+
(f) => e ? r.load(b, { signal: f }) : r.load({ signal: f })
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
return B(
|
|
225
|
+
() => r.for?.(),
|
|
226
|
+
(b, f) => {
|
|
227
|
+
f != null && c++, v();
|
|
228
|
+
},
|
|
229
|
+
{ immediate: !0 }
|
|
230
|
+
), W(l.cancel), {
|
|
231
|
+
get status() {
|
|
232
|
+
return l.status.value;
|
|
233
|
+
},
|
|
234
|
+
get options() {
|
|
235
|
+
return l.items.value;
|
|
236
|
+
},
|
|
237
|
+
get generation() {
|
|
238
|
+
return c;
|
|
239
|
+
},
|
|
240
|
+
reload: v
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
const z = (r) => Array.isArray(r), qe = [];
|
|
244
|
+
function ze(r, l) {
|
|
245
|
+
const e = k(() => {
|
|
246
|
+
const o = r();
|
|
247
|
+
return z(o) ? o : o.options;
|
|
248
|
+
}), c = k(() => {
|
|
249
|
+
const o = r();
|
|
250
|
+
return z(o) ? "loaded" : o.status;
|
|
251
|
+
}), v = k(() => c.value === "loading" || c.value === "failed" ? qe : e.value), b = k(() => c.value === "loading"), f = r();
|
|
252
|
+
let x = z(f) ? 0 : f.generation;
|
|
253
|
+
return B(
|
|
254
|
+
() => {
|
|
255
|
+
const o = r();
|
|
256
|
+
return z(o) ? null : o.status === "loaded" || o.status === "idle" ? o.options : null;
|
|
257
|
+
},
|
|
258
|
+
(o) => {
|
|
259
|
+
const p = r();
|
|
260
|
+
o === null || z(p) || p.generation === x || (x = p.generation, l(o));
|
|
261
|
+
}
|
|
262
|
+
), { known: e, rows: v, status: c, loading: b, reload: () => {
|
|
263
|
+
const o = r();
|
|
264
|
+
z(o) || o.reload();
|
|
265
|
+
} };
|
|
266
|
+
}
|
|
267
|
+
const Ae = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid", "aria-describedby", "aria-busy"], Oe = ["id", "disabled", "aria-required", "aria-invalid", "aria-describedby", "aria-busy", "onClick"], Fe = { class: "max-h-72 overflow-y-auto" }, We = /* @__PURE__ */ N({
|
|
268
|
+
__name: "SelectField",
|
|
269
|
+
props: /* @__PURE__ */ Y(/* @__PURE__ */ Z({
|
|
270
|
+
label: {},
|
|
271
|
+
hint: {},
|
|
272
|
+
error: {},
|
|
273
|
+
required: { type: Boolean },
|
|
274
|
+
editable: { type: Boolean },
|
|
275
|
+
disabled: { type: Boolean },
|
|
276
|
+
lockedReason: {},
|
|
277
|
+
presentation: {},
|
|
278
|
+
name: {},
|
|
279
|
+
options: {},
|
|
280
|
+
selected: {},
|
|
281
|
+
placeholder: {},
|
|
282
|
+
clearable: { type: Boolean },
|
|
283
|
+
searchFrom: {}
|
|
284
|
+
}, { ...ie, selected: null, placeholder: void 0, clearable: !1, searchFrom: 9 }), {
|
|
285
|
+
modelValue: { default: null },
|
|
286
|
+
modelModifiers: {}
|
|
287
|
+
}),
|
|
288
|
+
emits: ["update:modelValue"],
|
|
289
|
+
setup(r) {
|
|
290
|
+
const l = r, e = J(r, "modelValue"), { t: c } = H(), v = te(), b = !!ae(), f = R("sheet"), x = P(!1), o = ze(() => l.options, (C) => {
|
|
291
|
+
e.value !== null && !C.some((d) => d.value === e.value) && (e.value = null);
|
|
292
|
+
}), p = k(() => o.known.value.find((C) => C.value === e.value) ?? (l.selected?.value === e.value ? l.selected : null)), S = k(() => l.placeholder ?? c("core.form.select.choose")), A = ne("popup", () => l.error ? "error" : l.disabled ? "locked" : "rest");
|
|
293
|
+
function O(C) {
|
|
294
|
+
e.value = C, f.value?.dismiss();
|
|
295
|
+
}
|
|
296
|
+
const $ = k(() => [
|
|
297
|
+
"flex max-w-full min-w-0 items-center gap-1.5 py-1 pl-2.5 pr-2 text-body focus-visible:outline-none",
|
|
298
|
+
b ? "compact:pl-0 compact:pr-0" : "",
|
|
299
|
+
l.disabled ? "cursor-not-allowed" : "cursor-pointer"
|
|
300
|
+
]);
|
|
301
|
+
return (C, d) => (n(), L(se, M(t(re)(l), {
|
|
302
|
+
value: p.value?.label ?? null
|
|
303
|
+
}), {
|
|
304
|
+
default: q(({ id: m, describedby: _, invalid: a }) => [
|
|
305
|
+
s("div", {
|
|
306
|
+
class: y(["inline-flex max-w-full min-w-0", t(A)])
|
|
307
|
+
}, [
|
|
308
|
+
t(v) ? (n(), g("button", {
|
|
309
|
+
key: 0,
|
|
310
|
+
id: m,
|
|
311
|
+
type: "button",
|
|
312
|
+
disabled: l.disabled,
|
|
313
|
+
"aria-haspopup": "dialog",
|
|
314
|
+
"aria-expanded": x.value,
|
|
315
|
+
"aria-required": l.required || void 0,
|
|
316
|
+
"aria-invalid": a || void 0,
|
|
317
|
+
"aria-describedby": _,
|
|
318
|
+
"aria-busy": t(o).loading.value || void 0,
|
|
319
|
+
class: y($.value),
|
|
320
|
+
onClick: d[0] || (d[0] = (u) => f.value?.present())
|
|
321
|
+
}, [
|
|
322
|
+
p.value?.dot ? (n(), L(F, {
|
|
323
|
+
key: 0,
|
|
324
|
+
tone: p.value.dot
|
|
325
|
+
}, null, 8, ["tone"])) : h("", !0),
|
|
326
|
+
s("span", {
|
|
327
|
+
class: y(["min-w-0 truncate", p.value ? b ? "text-content-strong compact:text-content-muted" : "text-content-strong" : "text-content-disabled"])
|
|
328
|
+
}, w(p.value?.label ?? S.value), 3),
|
|
329
|
+
V(t(D), {
|
|
330
|
+
name: t(o).loading.value ? "loader4Line" : "expandUpDownLine",
|
|
331
|
+
size: 14,
|
|
332
|
+
class: y(["shrink-0 text-content-muted", t(o).loading.value ? "animate-spin" : ""])
|
|
333
|
+
}, null, 8, ["name", "class"])
|
|
334
|
+
], 10, Ae)) : (n(), L(le, {
|
|
335
|
+
key: 1,
|
|
336
|
+
label: l.label ?? S.value,
|
|
337
|
+
width: "md",
|
|
338
|
+
"match-trigger-width": "",
|
|
339
|
+
placement: "bottom-start",
|
|
340
|
+
arrow: !1
|
|
341
|
+
}, {
|
|
342
|
+
trigger: q(({ toggle: u, attrs: i }) => [
|
|
343
|
+
s("button", M({
|
|
344
|
+
id: m,
|
|
345
|
+
type: "button"
|
|
346
|
+
}, i, {
|
|
347
|
+
"aria-haspopup": "listbox",
|
|
348
|
+
disabled: l.disabled,
|
|
349
|
+
"aria-required": l.required || void 0,
|
|
350
|
+
"aria-invalid": a || void 0,
|
|
351
|
+
"aria-describedby": _,
|
|
352
|
+
"aria-busy": t(o).loading.value || void 0,
|
|
353
|
+
class: $.value,
|
|
354
|
+
onClick: u
|
|
355
|
+
}), [
|
|
356
|
+
p.value?.dot ? (n(), L(F, {
|
|
357
|
+
key: 0,
|
|
358
|
+
tone: p.value.dot
|
|
359
|
+
}, null, 8, ["tone"])) : h("", !0),
|
|
360
|
+
s("span", {
|
|
361
|
+
class: y(["min-w-0 truncate", p.value ? "text-content-strong" : "text-content-disabled"])
|
|
362
|
+
}, w(p.value?.label ?? S.value), 3),
|
|
363
|
+
V(t(D), {
|
|
364
|
+
name: t(o).loading.value ? "loader4Line" : "expandUpDownLine",
|
|
365
|
+
size: 14,
|
|
366
|
+
class: y(["shrink-0 text-content-muted", t(o).loading.value ? "animate-spin" : ""])
|
|
367
|
+
}, null, 8, ["name", "class"])
|
|
368
|
+
], 16, Oe)
|
|
369
|
+
]),
|
|
370
|
+
default: q(({ dismiss: u }) => [
|
|
371
|
+
s("div", Fe, [
|
|
372
|
+
V(U, {
|
|
373
|
+
options: t(o).rows.value,
|
|
374
|
+
status: t(o).status.value,
|
|
375
|
+
"model-value": e.value,
|
|
376
|
+
"search-from": l.searchFrom,
|
|
377
|
+
"none-label": l.clearable ? t(c)("core.form.select.clear") : void 0,
|
|
378
|
+
presentation: "plain",
|
|
379
|
+
onSelect: (i) => {
|
|
380
|
+
e.value = i, u();
|
|
381
|
+
},
|
|
382
|
+
onRetry: d[1] || (d[1] = (i) => t(o).reload())
|
|
383
|
+
}, null, 8, ["options", "status", "model-value", "search-from", "none-label", "onSelect"])
|
|
384
|
+
])
|
|
385
|
+
]),
|
|
386
|
+
_: 2
|
|
387
|
+
}, 1032, ["label"]))
|
|
388
|
+
], 2),
|
|
389
|
+
t(v) ? (n(), L(oe, {
|
|
390
|
+
key: 0,
|
|
391
|
+
ref_key: "sheet",
|
|
392
|
+
ref: f,
|
|
393
|
+
title: l.label ?? S.value,
|
|
394
|
+
grouped: "",
|
|
395
|
+
onPresented: d[4] || (d[4] = (u) => x.value = !0),
|
|
396
|
+
onDismissed: d[5] || (d[5] = (u) => x.value = !1)
|
|
397
|
+
}, Q({
|
|
398
|
+
default: q(() => [
|
|
399
|
+
V(U, {
|
|
400
|
+
options: t(o).rows.value,
|
|
401
|
+
status: t(o).status.value,
|
|
402
|
+
"model-value": e.value,
|
|
403
|
+
"search-from": l.searchFrom,
|
|
404
|
+
"none-label": l.clearable ? t(c)("core.form.select.clear") : void 0,
|
|
405
|
+
onSelect: O,
|
|
406
|
+
onRetry: d[2] || (d[2] = (u) => t(o).reload())
|
|
407
|
+
}, null, 8, ["options", "status", "model-value", "search-from", "none-label"])
|
|
408
|
+
]),
|
|
409
|
+
_: 2
|
|
410
|
+
}, [
|
|
411
|
+
l.clearable && e.value !== null ? {
|
|
412
|
+
name: "footer",
|
|
413
|
+
fn: q(() => [
|
|
414
|
+
V(ee, {
|
|
415
|
+
prominence: "plain",
|
|
416
|
+
onClick: d[3] || (d[3] = (u) => O(null))
|
|
417
|
+
}, {
|
|
418
|
+
default: q(() => [
|
|
419
|
+
X(w(t(c)("core.form.select.clear")), 1)
|
|
420
|
+
]),
|
|
421
|
+
_: 1
|
|
422
|
+
})
|
|
423
|
+
]),
|
|
424
|
+
key: "0"
|
|
425
|
+
} : void 0
|
|
426
|
+
]), 1032, ["title"])) : h("", !0)
|
|
427
|
+
]),
|
|
428
|
+
_: 1
|
|
429
|
+
}, 16, ["value"]));
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
export {
|
|
433
|
+
We as _,
|
|
434
|
+
U as a,
|
|
435
|
+
Ke as b,
|
|
436
|
+
ze as u
|
|
437
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, openBlock as n, createBlock as i, unref as t, withCtx as a, createCommentVNode as r, createElementBlock as d, Fragment as x, renderList as v, createSlots as w, createElementVNode as l, toDisplayString as s, createTextVNode as m, createVNode as u } from "vue";
|
|
2
2
|
import { useI18n as $ } from "vue-i18n";
|
|
3
3
|
import { _ as C } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
|
-
import { _ as B } from "./IconTile.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as B } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
5
5
|
import { u as E } from "./format-B8mJm946.js";
|
|
6
6
|
import { _ as N } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
7
7
|
import { e as f } from "./control-7EP4tjYy.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, ope
|
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
3
|
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
4
|
import { u as A } from "./describeError-Ctga6GcS.js";
|
|
5
|
-
import { P as D, b as L, e as O, i as g, d as T } from "./index-
|
|
5
|
+
import { P as D, b as L, e as O, i as g, d as T } from "./index-BVX0nmMv.js";
|
|
6
6
|
import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
7
7
|
import { t as b } from "./toast-CqSDTWRX.js";
|
|
8
8
|
import { u as V } from "./platform-q3cjODLx.js";
|
|
9
9
|
import { b as I } from "./routeResource-DstM0hvf.js";
|
|
10
10
|
import { _ as j } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
11
11
|
import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
12
|
-
import { _ as F } from "./SessionList.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as F } from "./SessionList.vue_vue_type_script_setup_true_lang-D4k5QeWS.js";
|
|
13
13
|
const G = {
|
|
14
14
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
15
15
|
"data-person-sessions": ""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, openBlock as u, createBlock as b, unref as e, withCtx as p, createElementBlock as g, toDisplayString as y, Fragment as $, renderList as Q, createElementVNode as P, createVNode as d, createTextVNode as U, createCommentVNode as S, computed as V, mergeProps as h, ref as D } from "vue";
|
|
2
2
|
import { useI18n as v } from "vue-i18n";
|
|
3
3
|
import { useRouter as I } from "vue-router";
|
|
4
|
-
import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js";
|
|
5
5
|
import { t as T } from "./toast-CqSDTWRX.js";
|
|
6
6
|
import { u as N } from "./fieldMessages-C3Rpbktw.js";
|
|
7
7
|
import { _ as A } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -15,7 +15,7 @@ import { _ as W } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.
|
|
|
15
15
|
import { _ as E } from "./TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js";
|
|
16
16
|
import { a as k, n as X } from "./useTypedEntry-aTfPBAhw.js";
|
|
17
17
|
import { _ as Y } from "./PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js";
|
|
18
|
-
import { n as q } from "./index-
|
|
18
|
+
import { n as q } from "./index-BHt1dLX2.js";
|
|
19
19
|
import { u as ee } from "./platform-q3cjODLx.js";
|
|
20
20
|
import { u as te } from "./useLoad-CYRVx6HW.js";
|
|
21
21
|
function ne() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as P, computed as f, ref as I, openBlock as m, createElementBlock as N, createVNode as n, unref as e, withCtx as r, createSlots as R, createBlock as _, createTextVNode as k, toDisplayString as v, createCommentVNode as d } from "vue";
|
|
2
2
|
import { useI18n as A } from "vue-i18n";
|
|
3
3
|
import { _ as B } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
|
-
import { _ as V } from "./IconTile.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as V } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
5
5
|
import { u as D } from "./format-B8mJm946.js";
|
|
6
6
|
import { _ as p } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
7
7
|
import { e as b } from "./control-7EP4tjYy.js";
|
|
8
8
|
import { u as U } from "./describeError-Ctga6GcS.js";
|
|
9
|
-
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-
|
|
9
|
+
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-BVX0nmMv.js";
|
|
10
10
|
import { t as h } from "./toast-CqSDTWRX.js";
|
|
11
11
|
import { u as j, h as G } from "./platform-q3cjODLx.js";
|
|
12
12
|
import { b as H } from "./routeResource-DstM0hvf.js";
|
|
@@ -6,7 +6,7 @@ import { _ as N } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js"
|
|
|
6
6
|
import { _ as S } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js";
|
|
7
7
|
import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
8
8
|
import { r as $ } from "./guards-Dve61KjR.js";
|
|
9
|
-
import { u as C, a as E } from "./index-
|
|
9
|
+
import { u as C, a as E } from "./index-BVX0nmMv.js";
|
|
10
10
|
const V = { class: "flex flex-1 flex-col items-center justify-center gap-8" }, k = { class: "text-xl font-semibold text-content-strong" }, H = /* @__PURE__ */ d({
|
|
11
11
|
__name: "SignInPage",
|
|
12
12
|
setup(q) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, computed as p, openBlock as y, createElementBlock as g, createVNode as l, unref as i, withCtx as s, createElementVNode as a, toDisplayString as r, createTextVNode as h } from "vue";
|
|
2
2
|
import { useI18n as b } from "vue-i18n";
|
|
3
|
-
import { _ as f } from "./DataTable.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as f } from "./DataTable.vue_vue_type_script_setup_true_lang-KPm5NrDE.js";
|
|
4
4
|
import { _ as v } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
5
5
|
const w = {
|
|
6
6
|
signed_in: { tone: "positive", byOther: !1 },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as g, ref as m, watch as p, openBlock as c, createElementBlock as v, createVNode as i, unref as e, withCtx as w, createBlock as x, createCommentVNode as y, createElementVNode as V, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
|
-
import { P as S, i as b } from "./index-
|
|
3
|
+
import { P as S, i as b } from "./index-BVX0nmMv.js";
|
|
4
4
|
import { u as k } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { b as I } from "./routeResource-DstM0hvf.js";
|
|
6
6
|
import { _ as R } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
7
7
|
import { u as C } from "./useLoad-CYRVx6HW.js";
|
|
8
8
|
import { _ as E } from "./PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js";
|
|
9
9
|
import { _ as B } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
10
|
-
import { _ as P } from "./SignInTable.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as P } from "./SignInTable.vue_vue_type_script_setup_true_lang-ALAuc0sI.js";
|
|
11
11
|
import { _ as h } from "./ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js";
|
|
12
12
|
const U = {
|
|
13
13
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as s, createElementBlock as a, normalizeClass as c } from "vue";
|
|
2
|
+
const r = ["data-tone"], p = /* @__PURE__ */ o({
|
|
3
|
+
__name: "ToneDot",
|
|
4
|
+
props: {
|
|
5
|
+
tone: {}
|
|
6
|
+
},
|
|
7
|
+
setup(n) {
|
|
8
|
+
const t = n, e = {
|
|
9
|
+
neutral: "bg-status-neutral-content",
|
|
10
|
+
info: "bg-status-info-content",
|
|
11
|
+
positive: "bg-status-success-content",
|
|
12
|
+
warning: "bg-status-warning-content",
|
|
13
|
+
critical: "bg-status-danger-content"
|
|
14
|
+
};
|
|
15
|
+
return (i, l) => (s(), a("span", {
|
|
16
|
+
"aria-hidden": "true",
|
|
17
|
+
"data-tone": t.tone,
|
|
18
|
+
class: c(["inline-block size-2 shrink-0 rounded-full", e[t.tone]])
|
|
19
|
+
}, null, 10, r));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
p as _
|
|
24
|
+
};
|
|
@@ -3,22 +3,22 @@ import { useI18n as A } from "vue-i18n";
|
|
|
3
3
|
import { u as F } from "./neighbors-DpaIMQAL.js";
|
|
4
4
|
import { _ as H } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
5
5
|
import { u as J } from "./describeError-Ctga6GcS.js";
|
|
6
|
-
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-
|
|
6
|
+
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-BVX0nmMv.js";
|
|
7
7
|
import { _ as se } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
8
8
|
import { t as k } from "./toast-CqSDTWRX.js";
|
|
9
|
-
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-ROl9_pdO.js";
|
|
10
10
|
import { u as E } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { a as te } from "./routeResource-DstM0hvf.js";
|
|
12
|
-
import { a as oe } from "./ResourcePage.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { a as oe } from "./ResourcePage.vue_vue_type_script_setup_true_lang-gJGEfLzX.js";
|
|
13
13
|
import { A as re } from "./access-DmAceEo5.js";
|
|
14
14
|
import { _ as ne } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
15
15
|
import { u as ie } from "./useLoad-CYRVx6HW.js";
|
|
16
|
-
import { _ as V } from "./IconTile.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as V } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
17
17
|
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
18
18
|
import { e as B } from "./control-7EP4tjYy.js";
|
|
19
19
|
import { u as z, _ as K } from "./useCommand-BkONMn3X.js";
|
|
20
20
|
import { u as U } from "./fieldMessages-C3Rpbktw.js";
|
|
21
|
-
import { u as ce, s as le } from "./status-
|
|
21
|
+
import { u as ce, s as le } from "./status-D3cLPSCh.js";
|
|
22
22
|
import { _ as M } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
23
23
|
const ue = /* @__PURE__ */ R({
|
|
24
24
|
__name: "DeactivateDialog",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as U, openBlock as p, createBlock as C, unref as e, withCtx as c, createVNode as r, mergeProps as i, useTemplateRef as V, computed as q, createTextVNode as z, toDisplayString as $, createCommentVNode as A, createElementBlock as S, normalizeClass as N } from "vue";
|
|
2
2
|
import { useI18n as B } from "vue-i18n";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-BuAdhiy_.js";
|
|
5
5
|
import { _ as I } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
6
6
|
import { u as F } from "./format-B8mJm946.js";
|
|
7
7
|
import { u as L } from "./platform-q3cjODLx.js";
|
|
8
8
|
import { _ as G } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
9
|
-
import { i as K, f as E, M as W } from "./index-
|
|
10
|
-
import { U as j, u as H, s as J } from "./status-
|
|
9
|
+
import { i as K, f as E, M as W } from "./index-BVX0nmMv.js";
|
|
10
|
+
import { U as j, u as H, s as J } from "./status-D3cLPSCh.js";
|
|
11
11
|
import { u as O } from "./environment-Dva-SG8D.js";
|
|
12
12
|
import { u as Q } from "./languages-BShG9LpE.js";
|
|
13
13
|
import { _ as X } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
14
|
-
import { _ as Y } from "./SelectField.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { _ as Y } from "./SelectField.vue_vue_type_script_setup_true_lang-BJoAkBo2.js";
|
|
15
15
|
import { _ as d } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
16
16
|
import { u as Z, _ as ee } from "./useCommand-BkONMn3X.js";
|
|
17
17
|
import { t as se } from "./toast-CqSDTWRX.js";
|
package/dist/access/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-
|
|
1
|
+
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-CixCeO47.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BindingRow,
|
|
4
4
|
c as PersonAccess,
|
|
@@ -9,6 +9,8 @@ declare const _default: <Row extends object>(__VLS_props: NonNullable<Awaited<ty
|
|
|
9
9
|
to: RouteLocationRaw | null;
|
|
10
10
|
/** The list's search text: marked in an identity's title. */
|
|
11
11
|
search?: string | null;
|
|
12
|
+
/** An identity's lines as cells of the parent grid (the phone row's first line has something beside the title). */
|
|
13
|
+
spread?: boolean;
|
|
12
14
|
} & Partial<{}>> & import("vue").PublicProps;
|
|
13
15
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
14
16
|
attrs: any;
|
|
@@ -6,6 +6,9 @@ import type { RouteLocationRaw } from "vue-router";
|
|
|
6
6
|
*
|
|
7
7
|
* <RecordIdentity :to="recordRoute" :title="name" :subtitle="email" subtitle-selectable />
|
|
8
8
|
*
|
|
9
|
+
* `spread` (the phone row) lets the two lines be cells of the grid they sit in: the title in the first column of the first
|
|
10
|
+
* row, the subtitle across the full width of the second, so something beside the title (a status) never narrows the subtitle.
|
|
11
|
+
*
|
|
9
12
|
* `highlight` (the list's search text) marks where it matches the title, in `<mark>`: what found the row is visible.
|
|
10
13
|
*/
|
|
11
14
|
type __VLS_Props = {
|
|
@@ -17,11 +20,14 @@ type __VLS_Props = {
|
|
|
17
20
|
subtitleSelectable?: boolean;
|
|
18
21
|
/** The search text to mark in the title (its words, any case). */
|
|
19
22
|
highlight?: string | null;
|
|
23
|
+
/** Lays the lines out as cells of the parent grid (see above) instead of a column of its own. */
|
|
24
|
+
spread?: boolean;
|
|
20
25
|
};
|
|
21
26
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
27
|
to: RouteLocationRaw | null;
|
|
23
28
|
subtitle: string | null;
|
|
24
29
|
subtitleSelectable: boolean;
|
|
25
30
|
highlight: string | null;
|
|
31
|
+
spread: boolean;
|
|
26
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
33
|
export default _default;
|