@wssto2/vue-core 0.9.3 → 0.10.0
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/CHANGELOG.md +28 -0
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js +87 -0
- package/dist/Activity-CeAG0ZtJ.js +169 -0
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-DdJOodn8.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-D5i77H6S.js} +147 -159
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-BdeOKqz_.js → AsyncSection.vue_vue_type_script_setup_true_lang-DGzQ-Snp.js} +1 -1
- package/dist/BottomDockPortal.vue_vue_type_script_setup_true_lang-DmwR-2SP.js +17 -0
- package/dist/Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js +123 -0
- package/dist/Changes-B9-zpDxG.js +69 -0
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-DHcekGNn.js → CollectionPage.vue_vue_type_script_setup_true_lang-Cn0YOWJF.js} +19 -18
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-8kBsNRuq.js → DataTable.vue_vue_type_script_setup_true_lang-BQRG8bpH.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-BhKdCVFn.js → DateField.vue_vue_type_script_setup_true_lang-CeNwBbJT.js} +1 -1
- package/dist/{DeadLetters-Bb5pPlOY.js → DeadLetters-BP03yC4R.js} +5 -6
- package/dist/DrawnCheck.vue_vue_type_script_setup_true_lang-9DzDJlIA.js +38 -0
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js +427 -0
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-aaNnMIOi.js → FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js} +2 -2
- package/dist/{General-BAG7S6wV.js → General-BDmCJr3H.js} +35 -38
- package/dist/{IncidentRecord-D8aOpNHo.js → IncidentRecord-DEhl6AyA.js} +14 -15
- package/dist/{IncidentsList-C0cFl0Db.js → IncidentsList-COgRPdk3.js} +3 -3
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-BlHhdmMy.js → Modal.vue_vue_type_script_setup_true_lang-DDS0iEnn.js} +9 -8
- package/dist/{NewRolePage-C6Iu-EQJ.js → NewRolePage-DhGFwvk3.js} +4 -4
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-TGGAq8J-.js → NumberField.vue_vue_type_script_setup_true_lang-B3UrXNqH.js} +1 -1
- package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-qz1tmYpF.js → PersonAccess.vue_vue_type_script_setup_true_lang-DbGZSNQc.js} +56 -56
- package/dist/ProfilePage-BQCK2w8R.js +684 -0
- package/dist/ProgressTrack.vue_vue_type_script_setup_true_lang-DrOm8k--.js +30 -0
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-B9mN7UxZ.js → RecordHeader.vue_vue_type_script_setup_true_lang-DqGc3Jyo.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-Cw8mGf_B.js → ResourcePage.vue_vue_type_script_setup_true_lang-DljhsTU4.js} +3 -3
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-CJPvOVDV.js → RoleEditor.vue_vue_type_script_setup_true_lang-C0FIotFA.js} +11 -12
- package/dist/{RolePage-Dj_ocMnM.js → RolePage-DaNv049g.js} +10 -10
- package/dist/{RolesPage-PXrs4O-1.js → RolesPage-6hlzJes_.js} +6 -6
- package/dist/SearchInput.vue_vue_type_script_setup_true_lang-w4eAqyZ9.js +32 -0
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-CtdF1zuv.js → SectionList.vue_vue_type_script_setup_true_lang-DR0_NsqC.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-B5ove3rM.js → SectionNavigator.vue_vue_type_script_setup_true_lang-Dh3sXUt_.js} +2 -2
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-ChfDFAA2.js → SegmentedField.vue_vue_type_script_setup_true_lang-zv_AxpBn.js} +1 -1
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BP8nAQwo.js → SelectField.vue_vue_type_script_setup_true_lang-BZwdANL3.js} +3 -3
- package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-aWkKwxNe.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-C0OIBrSp.js} +20 -20
- package/dist/{ServiceAccountRecord-bxX9yQkC.js → ServiceAccountRecord-gtlhYaAz.js} +37 -37
- package/dist/{ServiceAccountsList-BXE6htxk.js → ServiceAccountsList-BM7GGcvw.js} +33 -33
- package/dist/{Sessions--Gvc0kxw.js → Sessions-BCDJYuV2.js} +23 -24
- package/dist/{SettingsPage-DzDC7gD-.js → SettingsPage-DUhMsYBf.js} +27 -30
- package/dist/{SignIn-CTI_699e.js → SignIn-4D7WohI8.js} +9 -10
- package/dist/{SignInPage-HKC1bm2E.js → SignInPage-B6B-34GG.js} +4 -4
- package/dist/SignIns-CFoe4hpX.js +64 -0
- package/dist/StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js +56 -0
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-BMA2YXTZ.js → SwitchField.vue_vue_type_script_setup_true_lang-Ds4q0bbl.js} +1 -1
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-BFVsqcBX.js → TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js} +2 -2
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-Dyh4Hhyl.js → TextareaField.vue_vue_type_script_setup_true_lang-D2j4s96s.js} +1 -1
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-gGFfQLuK.js → TimeField.vue_vue_type_script_setup_true_lang-D-Em4glH.js} +1 -1
- package/dist/UserRecord-Cd1TCpJZ.js +202 -0
- package/dist/UsersList-GJU5-CTG.js +74 -0
- package/dist/access/index.js +4 -4
- package/dist/app/index.js +1 -1
- package/dist/{application-BmXW6iW_.js → application-CuzT-0vW.js} +1 -1
- package/dist/button/index.js +6 -5
- package/dist/collection/PickerModal.vue.d.ts +26 -0
- package/dist/collection/definition.d.ts +6 -6
- package/dist/collection/http.d.ts +6 -6
- package/dist/collection/index.d.ts +5 -1
- package/dist/collection/index.js +144 -85
- package/dist/collection/picker.d.ts +39 -0
- package/dist/collection/types.d.ts +9 -4
- package/dist/collection/useCollection.d.ts +5 -5
- package/dist/content/ActivityStream.vue.d.ts +62 -0
- package/dist/content/CommentThread.vue.d.ts +52 -0
- package/dist/content/Composer.vue.d.ts +36 -0
- package/dist/content/index.d.ts +3 -0
- package/dist/content/index.js +321 -56
- package/dist/controls/index.js +28 -54
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +611 -595
- package/dist/form/storableText.d.ts +24 -0
- package/dist/format/index.d.ts +1 -0
- package/dist/format/index.js +10 -6
- package/dist/format/slug.d.ts +8 -0
- package/dist/highlight-DnYhLXnu.js +9 -0
- package/dist/http-Dm0uXY9O.js +95 -0
- package/dist/i18n/index.d.ts +14 -0
- package/dist/i18n/index.js +87 -63
- package/dist/i18n/plural.d.ts +23 -0
- package/dist/identity/embed.d.ts +39 -0
- package/dist/identity/index.d.ts +20 -0
- package/dist/identity/index.js +40 -21
- package/dist/identity/session.d.ts +9 -1
- package/dist/identity/shared/ChangeFeed.vue.d.ts +6 -3
- package/dist/identity/users/context.d.ts +8 -0
- package/dist/identity/users/dialogs.d.ts +10 -0
- package/dist/identity/users/ext.d.ts +8 -0
- package/dist/identity/users/feature.d.ts +10 -0
- package/dist/identity/users/list.d.ts +1 -1
- package/dist/identity/users/personSections.d.ts +1 -1
- package/dist/identity/users/replace.d.ts +45 -0
- package/dist/identity/users/words.d.ts +28 -0
- package/dist/incidents/api.d.ts +1 -1
- package/dist/incidents/index.js +1 -1
- package/dist/{index-Dz0LkLM8.js → index-CTkG-acm.js} +4 -4
- package/dist/{index-Dm-sdJJr.js → index-DUs7WSz-.js} +31 -32
- package/dist/index-pJ_eRg80.js +1257 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/modal/index.js +3 -3
- package/dist/modules/identity/entities.d.ts +7 -0
- package/dist/modules/identity/routes.d.ts +8 -4
- package/dist/modules/identity/schemas.d.ts +16 -0
- package/dist/{neighbors-DVfU9T0o.js → neighbors-OyvGi233.js} +2 -2
- package/dist/notifications/deadletters/list.d.ts +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{options-QuOkMKVZ.js → options-B48UiYsG.js} +2 -2
- package/dist/page/index.js +11 -11
- package/dist/phone/index.js +1 -1
- package/dist/pwa/AndroidInstallBanner.vue.d.ts +18 -0
- package/dist/pwa/InstallQrSheet.vue.d.ts +21 -0
- package/dist/pwa/IosInstallGuide.vue.d.ts +19 -0
- package/dist/pwa/QrCode.vue.d.ts +16 -0
- package/dist/pwa/index.d.ts +4 -0
- package/dist/pwa/index.js +244 -24
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-CT8vWYgI.js → rowLayout-Il4psyXN.js} +183 -188
- package/dist/shell/DarkModeRow.vue.d.ts +15 -0
- package/dist/shell/OfflineNotice.vue.d.ts +2 -0
- package/dist/shell/QuickSearchButton.vue.d.ts +2 -0
- package/dist/shell/QuickSearchPalette.vue.d.ts +12 -0
- package/dist/shell/darkMode.d.ts +26 -0
- package/dist/shell/index.d.ts +10 -0
- package/dist/shell/index.js +963 -580
- package/dist/shell/offlineNotice.d.ts +3 -0
- package/dist/shell/quickSearch.d.ts +14 -0
- package/dist/shell/quickSearchControl.d.ts +66 -0
- package/dist/shortcut-DUR6yPWA.js +93 -0
- package/dist/state/BackgroundTaskCapsule.vue.d.ts +18 -0
- package/dist/state/backgroundTasks.d.ts +58 -0
- package/dist/state/index.d.ts +4 -0
- package/dist/state/index.js +194 -80
- package/dist/state/useCountUp.d.ts +9 -0
- package/dist/styles.css +1 -1
- package/dist/{suggestions-BVQhoXzS.js → suggestions-q_v3M7G6.js} +1 -1
- package/dist/testing/collection.d.ts +1 -1
- package/dist/{useCommand-Dc8Lgs9h.js → useCommand-Ch_nx1AQ.js} +4 -4
- package/dist/{useGroupSheet-DQ6cVG-z.js → useGroupSheet-CPjHydQV.js} +14 -15
- package/dist/{useRecordDialog-BTsbHY38.js → useRecordDialog-DdkauXnU.js} +1 -1
- package/dist/{useResourceForm-DJ4Q75pq.js → useResourceForm-Dl6YFYyz.js} +1 -1
- package/package.json +3 -2
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-Cg1lhpcA.js +0 -45
- package/dist/Activity-29hsZ28j.js +0 -156
- package/dist/Button.vue_vue_type_script_setup_true_lang-Dp7OB-eF.js +0 -192
- package/dist/Changes-Dxjdkd_5.js +0 -129
- package/dist/FormErrors.vue_vue_type_script_setup_true_lang-CIggKPtq.js +0 -295
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-B37dixvJ.js +0 -137
- package/dist/PageBar.vue_vue_type_script_setup_true_lang-qI94fjJv.js +0 -47
- package/dist/ProfilePage-BnohZIEg.js +0 -764
- package/dist/ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js +0 -64
- package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +0 -23
- package/dist/SessionList.vue_vue_type_script_setup_true_lang-Cnyt5V8T.js +0 -133
- package/dist/SignIns-BcqBgWgN.js +0 -121
- package/dist/UserRecord-CtUPpbCt.js +0 -267
- package/dist/UsersList-BMkIgIg8.js +0 -155
- package/dist/definition-C7QuyV3i.js +0 -54
- package/dist/fieldMessages-B6GHgi40.js +0 -25
- package/dist/http-nz92KjdS.js +0 -42
- package/dist/index-CdtofdcJ.js +0 -501
- package/dist/languages-BShG9LpE.js +0 -10
- package/dist/signInEvents-DWShrJox.js +0 -30
- package/dist/status-BRA14qwX.js +0 -34
- package/dist/useWaitStatus-fsacMl4W.js +0 -24
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useRouter as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
import { g as H } from "./options-
|
|
9
|
-
import { _ as J } from "./TextField.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as q, useTemplateRef as F, ref as w, computed as n, openBlock as c, createBlock as d, unref as t, withCtx as r, createElementVNode as p, createVNode as l, createElementBlock as _, toDisplayString as b, createCommentVNode as x, Fragment as O, renderList as j, createTextVNode as z } from "vue";
|
|
2
|
+
import { useI18n as D } from "vue-i18n";
|
|
3
|
+
import { useRouter as G } from "vue-router";
|
|
4
|
+
import { u as I } from "./refusals-DfPzVNNY.js";
|
|
5
|
+
import { _ as K } from "./IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js";
|
|
6
|
+
import { _ as M } from "./Tabs.vue_vue_type_script_setup_true_lang-tpkGp98F.js";
|
|
7
|
+
import { a as P } from "./FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js";
|
|
8
|
+
import { g as H } from "./options-B48UiYsG.js";
|
|
9
|
+
import { _ as J } from "./TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js";
|
|
10
10
|
import { u as Q } from "./format-D8KUBmbS.js";
|
|
11
|
-
import {
|
|
11
|
+
import { _ as W } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-D5i77H6S.js";
|
|
12
12
|
import { u as X } from "./platform-BQOX_Ntw.js";
|
|
13
|
-
import { _ as Y } from "./AsyncSection.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as Y } from "./AsyncSection.vue_vue_type_script_setup_true_lang-DGzQ-Snp.js";
|
|
14
14
|
import { _ as Z } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
15
15
|
import { u as ee } from "./useLoad-M7V-AVwR.js";
|
|
16
|
-
import {
|
|
17
|
-
import { u as ae, _ as
|
|
18
|
-
const
|
|
16
|
+
import { o as te, p as $, q as A } from "./index-pJ_eRg80.js";
|
|
17
|
+
import { u as ae, _ as oe } from "./ServiceAccountDialog.vue_vue_type_script_setup_true_lang-C0OIBrSp.js";
|
|
18
|
+
const se = {
|
|
19
19
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
20
20
|
"data-test": "service-segment"
|
|
21
21
|
}, ce = { class: "flex flex-wrap items-center gap-3" }, re = { "data-test": "service-accounts" }, ne = {
|
|
@@ -26,12 +26,12 @@ const oe = {
|
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "min-w-[4.5rem] text-right text-footnote tabular-nums text-content-muted",
|
|
28
28
|
"data-test": "account-keys"
|
|
29
|
-
}, Ve = /* @__PURE__ */
|
|
29
|
+
}, Ve = /* @__PURE__ */ q({
|
|
30
30
|
__name: "ServiceAccountsList",
|
|
31
31
|
setup(ie) {
|
|
32
|
-
const { t: a } =
|
|
32
|
+
const { t: a } = D(), L = G(), { access: y } = X(), V = Q(), C = I(), N = ae(), { tenants: S } = te(), g = F("dialog"), v = ee(({ signal: e }) => N.list({ signal: e })), i = w("active"), f = w(""), h = n(() => v.data.value ?? []), u = (e) => e.deactivated_at === null, B = (e) => e.tenant?.name ?? C.levelLabel("organization"), m = n(() => {
|
|
33
33
|
const e = f.value.trim().toLowerCase();
|
|
34
|
-
return h.value.filter((
|
|
34
|
+
return h.value.filter((s) => e === "" || `${s.name} ${s.description} ${s.owner.name}`.toLowerCase().includes(e));
|
|
35
35
|
}), k = n(() => m.value.filter((e) => i.value === "all" || i.value === "active" === u(e))), R = n(() => [
|
|
36
36
|
{ value: "active", label: a("core.serviceaccounts.views.active"), badge: m.value.filter(u).length },
|
|
37
37
|
{ value: "inactive", label: a("core.serviceaccounts.views.inactive"), badge: m.value.filter((e) => !u(e)).length },
|
|
@@ -48,7 +48,7 @@ const oe = {
|
|
|
48
48
|
].filter(Boolean).join(" · ");
|
|
49
49
|
}
|
|
50
50
|
const U = (e) => void L.push({ ...A.record({ id: e.id }), query: { tab: "access" } });
|
|
51
|
-
return (e,
|
|
51
|
+
return (e, s) => (c(), d(t(W), {
|
|
52
52
|
title: t(a)("core.serviceaccounts.title_plural"),
|
|
53
53
|
description: t(a)("core.serviceaccounts.description"),
|
|
54
54
|
icon: "key2Line",
|
|
@@ -56,17 +56,17 @@ const oe = {
|
|
|
56
56
|
actions: T.value
|
|
57
57
|
}, {
|
|
58
58
|
default: r(() => [
|
|
59
|
-
p("div",
|
|
59
|
+
p("div", se, [
|
|
60
60
|
p("div", ce, [
|
|
61
|
-
l(t(
|
|
61
|
+
l(t(M), {
|
|
62
62
|
modelValue: i.value,
|
|
63
|
-
"onUpdate:modelValue":
|
|
63
|
+
"onUpdate:modelValue": s[0] || (s[0] = (o) => i.value = o),
|
|
64
64
|
tabs: R.value,
|
|
65
65
|
presentation: "scope"
|
|
66
66
|
}, null, 8, ["modelValue", "tabs"]),
|
|
67
67
|
l(t(J), {
|
|
68
68
|
modelValue: f.value,
|
|
69
|
-
"onUpdate:modelValue":
|
|
69
|
+
"onUpdate:modelValue": s[1] || (s[1] = (o) => f.value = o),
|
|
70
70
|
class: "min-w-[14rem] flex-1",
|
|
71
71
|
label: t(a)("core.serviceaccounts.search"),
|
|
72
72
|
"label-hidden": "",
|
|
@@ -77,7 +77,7 @@ const oe = {
|
|
|
77
77
|
state: t(v).state.value,
|
|
78
78
|
"skeleton-rows": 4,
|
|
79
79
|
"is-empty": () => !1,
|
|
80
|
-
onRetry:
|
|
80
|
+
onRetry: s[2] || (s[2] = (o) => t(v).reload())
|
|
81
81
|
}, {
|
|
82
82
|
default: r(() => [
|
|
83
83
|
p("div", re, [
|
|
@@ -86,27 +86,27 @@ const oe = {
|
|
|
86
86
|
}, {
|
|
87
87
|
default: r(() => [
|
|
88
88
|
k.value.length === 0 ? (c(), _("p", ne, b(t(a)("core.serviceaccounts.empty")), 1)) : x("", !0),
|
|
89
|
-
(c(!0), _(O, null, j(k.value, (
|
|
90
|
-
key:
|
|
89
|
+
(c(!0), _(O, null, j(k.value, (o) => (c(), d(t(H), {
|
|
90
|
+
key: o.id,
|
|
91
91
|
layout: "setting",
|
|
92
|
-
label:
|
|
93
|
-
sub: E(
|
|
94
|
-
to: t(A).record({ id:
|
|
95
|
-
"data-service-account":
|
|
92
|
+
label: o.name,
|
|
93
|
+
sub: E(o),
|
|
94
|
+
to: t(A).record({ id: o.id }),
|
|
95
|
+
"data-service-account": o.id
|
|
96
96
|
}, {
|
|
97
97
|
leading: r(() => [
|
|
98
|
-
l(t(
|
|
98
|
+
l(t(K), {
|
|
99
99
|
tone: "anchor",
|
|
100
100
|
icon: "key2Line"
|
|
101
101
|
})
|
|
102
102
|
]),
|
|
103
103
|
default: r(() => [
|
|
104
|
-
u(
|
|
104
|
+
u(o) ? (c(), _("span", le, b(t(a)("core.serviceaccounts.active_keys", { count: o.active_keys })), 1)) : (c(), d(t(Z), {
|
|
105
105
|
key: 0,
|
|
106
106
|
tone: "neutral"
|
|
107
107
|
}, {
|
|
108
108
|
default: r(() => [
|
|
109
|
-
|
|
109
|
+
z(b(t(a)("core.serviceaccounts.deactivated")), 1)
|
|
110
110
|
]),
|
|
111
111
|
_: 1
|
|
112
112
|
}))
|
|
@@ -121,7 +121,7 @@ const oe = {
|
|
|
121
121
|
_: 1
|
|
122
122
|
}, 8, ["state"])
|
|
123
123
|
]),
|
|
124
|
-
t(y).can(t($)) ? (c(), d(
|
|
124
|
+
t(y).can(t($)) ? (c(), d(oe, {
|
|
125
125
|
key: 0,
|
|
126
126
|
ref_key: "dialog",
|
|
127
127
|
ref: g,
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, openBlock as E, createElementBlock as
|
|
1
|
+
import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, openBlock as E, createElementBlock as h, createVNode as t, unref as e, createSlots as P, withCtx as u, createTextVNode as B, toDisplayString as C } from "vue";
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
|
-
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
|
|
4
4
|
import { u as A } from "./describeError-B-NMa--w.js";
|
|
5
|
-
import { P as D,
|
|
5
|
+
import { P as D, e as L, j as O, k as T, i as g, h as V } from "./index-pJ_eRg80.js";
|
|
6
6
|
import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-CrFhR9rJ.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import { u as
|
|
7
|
+
import { t as y } from "./toast-CqSDTWRX.js";
|
|
8
|
+
import { u as j } from "./platform-BQOX_Ntw.js";
|
|
9
9
|
import { b as I } from "./routeResource-DlTsGTg_.js";
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as F } from "./SessionList.vue_vue_type_script_setup_true_lang-Cnyt5V8T.js";
|
|
10
|
+
import { _ as z } from "./AsyncSection.vue_vue_type_script_setup_true_lang-DGzQ-Snp.js";
|
|
11
|
+
import { _ as F } from "./ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js";
|
|
13
12
|
const G = {
|
|
14
13
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
15
14
|
"data-person-sessions": ""
|
|
16
|
-
},
|
|
15
|
+
}, oe = /* @__PURE__ */ x({
|
|
17
16
|
__name: "Sessions",
|
|
18
17
|
setup(H) {
|
|
19
|
-
const { t: s } = N(), { http: d } =
|
|
20
|
-
async function _(
|
|
18
|
+
const { t: s } = N(), { http: d } = j(), S = A(), r = I(D), c = L(), a = O(), m = v("one"), f = v("all"), l = w(() => a.data.value?.sessions ?? []);
|
|
19
|
+
async function _(i, o) {
|
|
21
20
|
try {
|
|
22
|
-
await
|
|
21
|
+
await i(), y.success(o);
|
|
23
22
|
} catch (n) {
|
|
24
|
-
|
|
23
|
+
V(n) || y.error(S(n, { fallback: s("core.account.sessions.end_failed") }));
|
|
25
24
|
}
|
|
26
|
-
await
|
|
25
|
+
await a.reload();
|
|
27
26
|
}
|
|
28
|
-
const
|
|
29
|
-
return (
|
|
30
|
-
t(
|
|
27
|
+
const b = (i) => _(() => d.request(g.usersRevokeSession, { id: r.id.value ?? 0, session_id: i.id }), s("core.account.sessions.ended")), R = () => _(() => d.request(g.usersRevokeSessions, { id: r.id.value ?? 0 }), s("core.users.sessions.ended_all")), p = $(null);
|
|
28
|
+
return (i, o) => (E(), h("div", G, [
|
|
29
|
+
t(F, {
|
|
31
30
|
title: e(s)("core.users.sections.sessions"),
|
|
32
31
|
description: e(s)("core.users.intro.sessions", { name: e(r).data.value?.name ?? "" })
|
|
33
|
-
},
|
|
32
|
+
}, P({ _: 2 }, [
|
|
34
33
|
e(c).can.endSessions && l.value.length > 0 ? {
|
|
35
34
|
name: "actions",
|
|
36
35
|
fn: u(() => [
|
|
@@ -49,14 +48,14 @@ const G = {
|
|
|
49
48
|
key: "0"
|
|
50
49
|
} : void 0
|
|
51
50
|
]), 1032, ["title", "description"]),
|
|
52
|
-
t(e(
|
|
53
|
-
state: e(
|
|
51
|
+
t(e(z), {
|
|
52
|
+
state: e(a).state.value,
|
|
54
53
|
"skeleton-rows": 3,
|
|
55
54
|
"is-empty": () => !1,
|
|
56
|
-
onRetry: o[2] || (o[2] = (n) => e(
|
|
55
|
+
onRetry: o[2] || (o[2] = (n) => e(a).reload())
|
|
57
56
|
}, {
|
|
58
57
|
default: u(() => [
|
|
59
|
-
t(
|
|
58
|
+
t(T, {
|
|
60
59
|
sessions: l.value,
|
|
61
60
|
"can-end": e(c).can.endSessions,
|
|
62
61
|
header: e(s)("core.users.sessions.header", { n: l.value.length }),
|
|
@@ -76,7 +75,7 @@ const G = {
|
|
|
76
75
|
title: e(s)("core.account.sessions.end_title"),
|
|
77
76
|
message: e(s)("core.account.sessions.end_body", { device: p.value?.device || e(s)("core.account.sessions.unknown_device") }),
|
|
78
77
|
"confirm-label": e(s)("core.account.sessions.end"),
|
|
79
|
-
action:
|
|
78
|
+
action: b
|
|
80
79
|
}, null, 8, ["title", "message", "confirm-label"]),
|
|
81
80
|
t(e(k), {
|
|
82
81
|
ref_key: "all",
|
|
@@ -92,5 +91,5 @@ const G = {
|
|
|
92
91
|
}
|
|
93
92
|
});
|
|
94
93
|
export {
|
|
95
|
-
|
|
94
|
+
oe as default
|
|
96
95
|
};
|
|
@@ -1,30 +1,27 @@
|
|
|
1
1
|
import { defineComponent as B, ref as L, useTemplateRef as te, openBlock as o, createElementBlock as b, createVNode as u, unref as e, withCtx as _, Fragment as q, renderList as M, createElementVNode as O, createTextVNode as z, toDisplayString as w, createBlock as h, mergeProps as F, createCommentVNode as S, computed as D, watch as se, onMounted as ie, resolveDynamicComponent as ne } from "vue";
|
|
2
2
|
import { useI18n as V } from "vue-i18n";
|
|
3
3
|
import { useRouter as ae } from "vue-router";
|
|
4
|
-
import {
|
|
4
|
+
import { _ as oe } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-D5i77H6S.js";
|
|
5
5
|
import { t as C } from "./toast-CqSDTWRX.js";
|
|
6
|
-
import { u as U } from "./
|
|
7
|
-
import { _ as W } from "./AsyncSection.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { n as T, u as le, a as re } from "./index-
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as j } from "./Button.vue_vue_type_script_setup_true_lang-Dp7OB-eF.js";
|
|
6
|
+
import { u as U, _ as H, a as j } from "./ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js";
|
|
7
|
+
import { _ as W } from "./AsyncSection.vue_vue_type_script_setup_true_lang-DGzQ-Snp.js";
|
|
8
|
+
import { n as T, u as le, a as re } from "./index-CTkG-acm.js";
|
|
9
|
+
import { _ as I } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
|
|
11
10
|
import { _ as ce } from "./IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js";
|
|
12
11
|
import { u as ue } from "./format-D8KUBmbS.js";
|
|
13
|
-
import {
|
|
14
|
-
import { g as x } from "./options-
|
|
15
|
-
import { _ as
|
|
16
|
-
import { _ as
|
|
17
|
-
import { _ as
|
|
18
|
-
import { _ as
|
|
12
|
+
import { a as R, u as de } from "./FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js";
|
|
13
|
+
import { g as x } from "./options-B48UiYsG.js";
|
|
14
|
+
import { _ as fe } from "./TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js";
|
|
15
|
+
import { _ as me } from "./AlertDialog.vue_vue_type_script_setup_true_lang-CrFhR9rJ.js";
|
|
16
|
+
import { _ as pe } from "./Menu.vue_vue_type_script_setup_true_lang-wKc9gdCn.js";
|
|
17
|
+
import { _ as _e } from "./MenuButton.vue_vue_type_script_setup_true_lang-C-XRr5f2.js";
|
|
19
18
|
import { _ as E } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
20
|
-
import { _ as I } from "./ActionRow.vue_vue_type_script_setup_true_lang-Cg1lhpcA.js";
|
|
21
19
|
import { u as X } from "./platform-BQOX_Ntw.js";
|
|
22
20
|
import { u as Y } from "./useLoad-M7V-AVwR.js";
|
|
23
|
-
import { _ as ee } from "./SwitchField.vue_vue_type_script_setup_true_lang-
|
|
24
|
-
import { _ as
|
|
25
|
-
import {
|
|
26
|
-
import { _ as
|
|
27
|
-
import { _ as A } from "./TimeField.vue_vue_type_script_setup_true_lang-gGFfQLuK.js";
|
|
21
|
+
import { _ as ee } from "./SwitchField.vue_vue_type_script_setup_true_lang-Ds4q0bbl.js";
|
|
22
|
+
import { _ as ve } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
23
|
+
import { _ as ge } from "./FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js";
|
|
24
|
+
import { _ as A } from "./TimeField.vue_vue_type_script_setup_true_lang-D-Em4glH.js";
|
|
28
25
|
import { a as K, n as be } from "./useTypedEntry-C_Bk4sI0.js";
|
|
29
26
|
const he = {
|
|
30
27
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
@@ -99,7 +96,7 @@ const he = {
|
|
|
99
96
|
key: y.id
|
|
100
97
|
}, [
|
|
101
98
|
l.value === y.id ? (o(), b(q, { key: 0 }, [
|
|
102
|
-
u(e(
|
|
99
|
+
u(e(fe), {
|
|
103
100
|
modelValue: r.value,
|
|
104
101
|
"onUpdate:modelValue": $[0] || ($[0] = (N) => r.value = N),
|
|
105
102
|
label: e(t)("core.notifications.settings.devices.label"),
|
|
@@ -107,7 +104,7 @@ const he = {
|
|
|
107
104
|
"data-device": y.id
|
|
108
105
|
}, null, 8, ["modelValue", "label", "data-device"]),
|
|
109
106
|
O("div", ye, [
|
|
110
|
-
u(e(
|
|
107
|
+
u(e(I), {
|
|
111
108
|
size: "sm",
|
|
112
109
|
onClick: $[1] || ($[1] = (N) => l.value = null)
|
|
113
110
|
}, {
|
|
@@ -116,7 +113,7 @@ const he = {
|
|
|
116
113
|
]),
|
|
117
114
|
_: 1
|
|
118
115
|
}),
|
|
119
|
-
u(e(
|
|
116
|
+
u(e(I), {
|
|
120
117
|
prominence: "primary",
|
|
121
118
|
size: "sm",
|
|
122
119
|
processing: m.value,
|
|
@@ -172,12 +169,12 @@ const he = {
|
|
|
172
169
|
])) : S("", !0)
|
|
173
170
|
]),
|
|
174
171
|
trailing: _(() => [
|
|
175
|
-
u(e(
|
|
172
|
+
u(e(pe), {
|
|
176
173
|
items: P(y),
|
|
177
174
|
label: e(t)("core.notifications.settings.devices.menu", { label: y.label })
|
|
178
175
|
}, {
|
|
179
176
|
trigger: _((N) => [
|
|
180
|
-
u(e(
|
|
177
|
+
u(e(_e), F({ ref_for: !0 }, N, {
|
|
181
178
|
label: e(t)("core.notifications.settings.devices.menu", { label: y.label }),
|
|
182
179
|
"data-device-menu": ""
|
|
183
180
|
}), null, 16, ["label"])
|
|
@@ -194,7 +191,7 @@ const he = {
|
|
|
194
191
|
]),
|
|
195
192
|
_: 1
|
|
196
193
|
}, 8, ["state", "empty-title"]),
|
|
197
|
-
u(e(
|
|
194
|
+
u(e(me), {
|
|
198
195
|
ref_key: "dialog",
|
|
199
196
|
ref: c,
|
|
200
197
|
tone: "critical",
|
|
@@ -297,13 +294,13 @@ const he = {
|
|
|
297
294
|
]),
|
|
298
295
|
_: 1
|
|
299
296
|
}, 8, ["label"]),
|
|
300
|
-
t.device.state.value === "off" ? (o(), h(
|
|
297
|
+
t.device.state.value === "off" ? (o(), h(j, {
|
|
301
298
|
key: 0,
|
|
302
299
|
label: e(s)("core.notifications.settings.push.enable"),
|
|
303
300
|
disabled: t.device.busy.value,
|
|
304
301
|
"data-push-enable": "",
|
|
305
302
|
onClick: l
|
|
306
|
-
}, null, 8, ["label", "disabled"])) : (o(), h(
|
|
303
|
+
}, null, 8, ["label", "disabled"])) : (o(), h(j, {
|
|
307
304
|
key: 1,
|
|
308
305
|
label: e(s)("core.notifications.settings.push.disable"),
|
|
309
306
|
tone: "critical",
|
|
@@ -387,7 +384,7 @@ const Le = {
|
|
|
387
384
|
}, {
|
|
388
385
|
default: _(() => [
|
|
389
386
|
O("span", Ve, [
|
|
390
|
-
u(e(
|
|
387
|
+
u(e(ve), {
|
|
391
388
|
name: "lockLine",
|
|
392
389
|
size: 14
|
|
393
390
|
}),
|
|
@@ -451,7 +448,7 @@ const He = (a) => ({ enabled: a.enabled, start: G(a.start), end: G(a.end) }), Pe
|
|
|
451
448
|
];
|
|
452
449
|
return k.length > 0 || f === null || p === null ? { success: !1, error: { issues: k } } : { success: !0, data: { enabled: n.enabled, start: f, end: p } };
|
|
453
450
|
}
|
|
454
|
-
}, s =
|
|
451
|
+
}, s = de({ ...U(), defaults: () => He(i.quietHours), validator: d }), l = D(() => {
|
|
455
452
|
const { enabled: c, start: n, end: f } = s.values, p = K(n), k = K(f);
|
|
456
453
|
if (!c) return t("core.notifications.settings.quiet.summary_off");
|
|
457
454
|
if (!p || !k || p.hour === k.hour && p.minute === k.minute) return "";
|
|
@@ -589,7 +586,7 @@ function Ee(a = X().http) {
|
|
|
589
586
|
}
|
|
590
587
|
return { loaded: i, saving: t, setChannel: d, saveQuietHours: s };
|
|
591
588
|
}
|
|
592
|
-
const
|
|
589
|
+
const pt = /* @__PURE__ */ B({
|
|
593
590
|
__name: "SettingsPage",
|
|
594
591
|
setup(a) {
|
|
595
592
|
const { t: i } = V(), t = ae(), d = U(), s = Ee(), l = D(() => t.hasRoute("profile") ? { label: i("core.profile.menu"), to: { name: "profile" } } : void 0);
|
|
@@ -628,5 +625,5 @@ const gt = /* @__PURE__ */ B({
|
|
|
628
625
|
}
|
|
629
626
|
});
|
|
630
627
|
export {
|
|
631
|
-
|
|
628
|
+
pt as default
|
|
632
629
|
};
|
|
@@ -1,23 +1,22 @@
|
|
|
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
|
-
import { _ as B } from "./Button.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as B } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
|
|
4
4
|
import { _ as V } from "./IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js";
|
|
5
5
|
import { u as D } from "./format-D8KUBmbS.js";
|
|
6
|
-
import {
|
|
7
|
-
import { g as b } from "./options-
|
|
6
|
+
import { a as p } from "./FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js";
|
|
7
|
+
import { g as b } from "./options-B48UiYsG.js";
|
|
8
8
|
import { u as U } from "./describeError-B-NMa--w.js";
|
|
9
|
-
import {
|
|
9
|
+
import { g as q, P as z, e as F, _ as L, i as O, h as T } from "./index-pJ_eRg80.js";
|
|
10
10
|
import { t as h } from "./toast-CqSDTWRX.js";
|
|
11
11
|
import { u as j, h as G } from "./platform-BQOX_Ntw.js";
|
|
12
12
|
import { b as H } from "./routeResource-DlTsGTg_.js";
|
|
13
13
|
import { _ as J } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
14
|
-
import { _ as K } from "./ActionRow.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as M } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
14
|
+
import { _ as K, a as M } from "./ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js";
|
|
16
15
|
const Q = {
|
|
17
16
|
key: 0,
|
|
18
17
|
class: "flex min-w-0 max-w-200 flex-col gap-group-gap",
|
|
19
18
|
"data-person-signin": ""
|
|
20
|
-
},
|
|
19
|
+
}, de = /* @__PURE__ */ P({
|
|
21
20
|
__name: "SignIn",
|
|
22
21
|
setup(W) {
|
|
23
22
|
const { t: s } = A(), { http: w, access: y, session: x } = j(), $ = D(), C = U(), { signInAs: u } = q(), g = H(z), l = F(), o = f(() => g.data.value), t = f(() => o.value?.status === "locked"), c = I(!1), S = f(() => {
|
|
@@ -38,7 +37,7 @@ const Q = {
|
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
39
|
return (a, i) => o.value ? (m(), N("div", Q, [
|
|
41
|
-
n(
|
|
40
|
+
n(K, {
|
|
42
41
|
title: e(s)("core.users.sections.signin"),
|
|
43
42
|
description: e(s)("core.users.intro.signin", { name: o.value.name })
|
|
44
43
|
}, null, 8, ["title", "description"]),
|
|
@@ -100,7 +99,7 @@ const Q = {
|
|
|
100
99
|
footer: e(s)("core.users.signin.password_footer")
|
|
101
100
|
}, {
|
|
102
101
|
default: r(() => [
|
|
103
|
-
n(
|
|
102
|
+
n(M, {
|
|
104
103
|
label: e(s)("core.users.signin.set_password"),
|
|
105
104
|
sub: e(s)("core.users.signin.set_password_sub"),
|
|
106
105
|
"data-set-password": "",
|
|
@@ -136,5 +135,5 @@ const Q = {
|
|
|
136
135
|
}
|
|
137
136
|
});
|
|
138
137
|
export {
|
|
139
|
-
|
|
138
|
+
de as default
|
|
140
139
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as d, openBlock as _, createElementBlock as g, createElementVNode as b, toDisplayString as n, unref as e, createVNode as t, withCtx as s, mergeProps as i, createTextVNode as w } from "vue";
|
|
2
2
|
import { useI18n as x } from "vue-i18n";
|
|
3
3
|
import { useRoute as y, useRouter as h } from "vue-router";
|
|
4
|
-
import { _ as I } from "./Button.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as I } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
|
|
5
5
|
import { _ as N } from "./Panel.vue_vue_type_script_setup_true_lang-D_Wg42hu.js";
|
|
6
|
-
import { _ as S } from "./FormView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as S } from "./FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js";
|
|
7
|
+
import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js";
|
|
8
8
|
import { r as $ } from "./guards-Biv_SlGn.js";
|
|
9
|
-
import { u as C, a as E } from "./index-
|
|
9
|
+
import { u as C, a as E } from "./index-pJ_eRg80.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) {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as g, ref as m, watch as c, openBlock as p, 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
|
+
import { useI18n as N } from "vue-i18n";
|
|
3
|
+
import { P as S, i as b, l as k, m as I } from "./index-pJ_eRg80.js";
|
|
4
|
+
import { u as R } from "./platform-BQOX_Ntw.js";
|
|
5
|
+
import { b as C } from "./routeResource-DlTsGTg_.js";
|
|
6
|
+
import { _ as E } from "./AsyncSection.vue_vue_type_script_setup_true_lang-DGzQ-Snp.js";
|
|
7
|
+
import { u as B } from "./useLoad-M7V-AVwR.js";
|
|
8
|
+
import { _ as P } from "./ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js";
|
|
9
|
+
import { _ as h } from "./ViewTabs.vue_vue_type_script_setup_true_lang-BjdDXE3T.js";
|
|
10
|
+
const U = {
|
|
11
|
+
class: "flex min-w-0 flex-col gap-group-gap",
|
|
12
|
+
"data-person-signins": ""
|
|
13
|
+
}, q = { class: "px-row-inset text-footnote text-content-muted" }, J = /* @__PURE__ */ g({
|
|
14
|
+
__name: "SignIns",
|
|
15
|
+
setup(D) {
|
|
16
|
+
const d = ["all", "failed"], { t: s } = N(), { http: f } = R(), r = C(S), l = m("all"), a = m(1), n = B(
|
|
17
|
+
async ({ signal: u }) => {
|
|
18
|
+
const t = r.id.value;
|
|
19
|
+
return t === null ? null : (await f.request(b.usersSignins, { id: t, view: l.value, page: a.value, per_page: 20 }, { signal: u })).data;
|
|
20
|
+
},
|
|
21
|
+
{ watch: () => r.id.value }
|
|
22
|
+
);
|
|
23
|
+
return c(l, () => {
|
|
24
|
+
a.value = 1, n.reload();
|
|
25
|
+
}), c(a, () => void n.reload()), (u, t) => (p(), v("div", U, [
|
|
26
|
+
i(P, {
|
|
27
|
+
title: e(s)("core.users.sections.signins"),
|
|
28
|
+
description: e(s)("core.users.intro.signins", { name: e(r).data.value?.name ?? "" })
|
|
29
|
+
}, null, 8, ["title", "description"]),
|
|
30
|
+
i(h, {
|
|
31
|
+
modelValue: l.value,
|
|
32
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => l.value = o),
|
|
33
|
+
views: d,
|
|
34
|
+
counts: e(n).data.value?.meta?.views,
|
|
35
|
+
"label-of": (o) => e(s)(`core.account.signins.views.${o}`),
|
|
36
|
+
label: e(s)("core.users.sections.signins")
|
|
37
|
+
}, null, 8, ["modelValue", "counts", "label-of", "label"]),
|
|
38
|
+
i(e(E), {
|
|
39
|
+
state: e(n).state.value,
|
|
40
|
+
"skeleton-rows": 5,
|
|
41
|
+
"is-empty": () => !1,
|
|
42
|
+
onRetry: t[2] || (t[2] = (o) => e(n).reload())
|
|
43
|
+
}, {
|
|
44
|
+
default: w(({ value: o }) => [
|
|
45
|
+
i(k, {
|
|
46
|
+
rows: o?.data ?? []
|
|
47
|
+
}, null, 8, ["rows"]),
|
|
48
|
+
o ? (p(), x(I, {
|
|
49
|
+
key: 0,
|
|
50
|
+
page: a.value,
|
|
51
|
+
"onUpdate:page": t[1] || (t[1] = (_) => a.value = _),
|
|
52
|
+
"last-page": o.last_page,
|
|
53
|
+
total: o.total
|
|
54
|
+
}, null, 8, ["page", "last-page", "total"])) : y("", !0),
|
|
55
|
+
V("p", q, $(e(s)("core.account.signins.footer_user")), 1)
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 8, ["state"])
|
|
59
|
+
]));
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
J as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as d, openBlock as t, createElementBlock as s, createElementVNode as r, createVNode as m, createBlock as p, unref as n, normalizeClass as _, toDisplayString as a, createCommentVNode as l, renderSlot as u } from "vue";
|
|
2
|
+
import { useI18n as f } from "vue-i18n";
|
|
3
|
+
import { _ as x } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
4
|
+
import { _ as k } from "./DrawnCheck.vue_vue_type_script_setup_true_lang-9DzDJlIA.js";
|
|
5
|
+
const h = ["data-done"], y = {
|
|
6
|
+
class: "flex min-w-0 items-center gap-2.5 text-subheadline",
|
|
7
|
+
role: "status",
|
|
8
|
+
"aria-live": "polite"
|
|
9
|
+
}, v = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "text-content-link"
|
|
12
|
+
}, w = {
|
|
13
|
+
key: 2,
|
|
14
|
+
class: "ml-auto shrink-0 pl-2 text-footnote tabular-nums text-content-muted",
|
|
15
|
+
"data-status-elapsed": ""
|
|
16
|
+
}, B = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "pl-6.5 text-footnote"
|
|
19
|
+
}, N = /* @__PURE__ */ d({
|
|
20
|
+
__name: "StatusLine",
|
|
21
|
+
props: {
|
|
22
|
+
text: {},
|
|
23
|
+
done: { type: Boolean },
|
|
24
|
+
elapsed: {}
|
|
25
|
+
},
|
|
26
|
+
setup(i) {
|
|
27
|
+
const e = i, { t: c } = f();
|
|
28
|
+
return (o, $) => (t(), s("div", {
|
|
29
|
+
class: "flex min-w-0 flex-col gap-1",
|
|
30
|
+
"data-done": e.done || void 0
|
|
31
|
+
}, [
|
|
32
|
+
r("div", y, [
|
|
33
|
+
e.done ? (t(), s("span", v, [
|
|
34
|
+
m(k, { size: 16 })
|
|
35
|
+
])) : (t(), p(n(x), {
|
|
36
|
+
key: 1,
|
|
37
|
+
name: "loader4Line",
|
|
38
|
+
size: 16,
|
|
39
|
+
class: "animate-spin text-content-link"
|
|
40
|
+
})),
|
|
41
|
+
(t(), s("span", {
|
|
42
|
+
key: e.text,
|
|
43
|
+
class: _(["min-w-0 animate-text-swap", e.done ? "font-semibold text-content-link" : "text-shimmer"]),
|
|
44
|
+
"data-status-text": ""
|
|
45
|
+
}, a(e.text), 3)),
|
|
46
|
+
e.elapsed != null ? (t(), s("span", w, a(n(c)("core.wait.seconds", { count: e.elapsed })), 1)) : l("", !0)
|
|
47
|
+
]),
|
|
48
|
+
o.$slots.default ? (t(), s("div", B, [
|
|
49
|
+
u(o.$slots, "default")
|
|
50
|
+
])) : l("", !0)
|
|
51
|
+
], 8, h));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
N as _
|
|
56
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, useModel as w, computed as y, openBlock as g, createBlock as k, mergeProps as _, unref as t, createSlots as $, withCtx as l, createElementVNode as s, renderSlot as i, normalizeClass as d, normalizeStyle as B, toDisplayString as S, mergeModels as z, mergeDefaults as C } from "vue";
|
|
2
2
|
import { useI18n as M } from "vue-i18n";
|
|
3
|
-
import { u as V, _ as D, f as T, b as E } from "./options-
|
|
3
|
+
import { u as V, _ as D, f as T, b as E } from "./options-B48UiYsG.js";
|
|
4
4
|
const F = { class: "flex items-center gap-2" }, I = ["id", "aria-checked", "aria-label", "aria-describedby", "aria-invalid", "disabled"], P = { class: "sr-only" }, Z = /* @__PURE__ */ v({
|
|
5
5
|
__name: "SwitchField",
|
|
6
6
|
props: /* @__PURE__ */ z(/* @__PURE__ */ C({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as K, useTemplateRef as N, computed as v, watch as te, nextTick as oe, openBlock as n, createElementBlock as l, withModifiers as se, normalizeStyle as ne, unref as i, createElementVNode as m, toDisplayString as r, createCommentVNode as p, Fragment as R, renderList as ae, normalizeClass as B, createBlock as P, renderSlot as b, createTextVNode as E, useModel as ie, ref as le, mergeProps as re, createSlots as ce, withCtx as w, withDirectives as de, vModelDynamic as ue, mergeModels as H, mergeDefaults as pe } from "vue";
|
|
2
2
|
import { useI18n as G } from "vue-i18n";
|
|
3
3
|
import { b as me } from "./controlSurface-t7OEFESJ.js";
|
|
4
|
-
import { a as fe, e as he, _ as ve, f as ge, b as ye } from "./options-
|
|
4
|
+
import { a as fe, e as he, _ as ve, f as ge, b as ye } from "./options-B48UiYsG.js";
|
|
5
5
|
import { _ as xe } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
6
6
|
import { u as be, N as ke } from "./anchored-DpuUwf-9.js";
|
|
7
|
-
import { l as U, m as _e, u as we, c as $e } from "./suggestions-
|
|
7
|
+
import { l as U, m as _e, u as we, c as $e } from "./suggestions-q_v3M7G6.js";
|
|
8
8
|
const Me = ["id", "aria-busy"], qe = { class: "min-h-0 flex-1 overflow-y-auto p-1.5" }, Be = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "px-2.5 pb-1 pt-1.5 text-caption font-semibold uppercase text-content-disabled",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as V, useModel as L, useTemplateRef as M, computed as i, openBlock as p, createBlock as D, mergeProps as F, unref as f, createSlots as S, withCtx as n, createElementVNode as v, normalizeClass as b, withDirectives as z, vModelText as E, createElementBlock as P, toDisplayString as R, createCommentVNode as N, renderSlot as d, mergeModels as y, mergeDefaults as _ } from "vue";
|
|
2
2
|
import { u as j } from "./mediaQuery-CygcXmFW.js";
|
|
3
|
-
import { a as G, u as H, e as U, _ as A, f as I, b as J } from "./options-
|
|
3
|
+
import { a as G, u as H, e as U, _ as A, f as I, b as J } from "./options-B48UiYsG.js";
|
|
4
4
|
const K = ["id", "name", "rows", "placeholder", "maxlength", "autocomplete", "disabled", "required", "aria-required", "aria-invalid", "aria-describedby"], O = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "mt-1 self-end text-footnote tabular-nums text-content-muted"
|
|
@@ -5,7 +5,7 @@ import { u as oe } from "./format-D8KUBmbS.js";
|
|
|
5
5
|
import { _ as le } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
6
6
|
import { u as ae } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
import { _ as re } from "./Popover.vue_vue_type_script_setup_true_lang-C20Hf3Hl.js";
|
|
8
|
-
import { e as se, _ as ie, f as ne, b as ue } from "./options-
|
|
8
|
+
import { e as se, _ as ie, f as ne, b as ue } from "./options-B48UiYsG.js";
|
|
9
9
|
import { d as me, r as de, t as I, p as ce, u as pe, a as fe, i as Q, _ as ve, b as be, c as ye } from "./useTypedEntry-C_Bk4sI0.js";
|
|
10
10
|
function ke(s) {
|
|
11
11
|
const { t: i } = R(), y = m(() => [i("core.form.time.words.now").toLowerCase(), "now"]);
|