@wssto2/vue-core 0.9.4 → 0.11.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.
Files changed (169) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-DybAIOHS.js +64 -0
  3. package/dist/Activity-CdkJW68R.js +169 -0
  4. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-DdJOodn8.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-D5i77H6S.js} +147 -159
  5. 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
  6. package/dist/BottomDockPortal.vue_vue_type_script_setup_true_lang-DmwR-2SP.js +17 -0
  7. package/dist/Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js +123 -0
  8. package/dist/Changes-DxK_QfiB.js +69 -0
  9. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-DHcekGNn.js → CollectionPage.vue_vue_type_script_setup_true_lang-x0jyJ01f.js} +19 -18
  10. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-8kBsNRuq.js → DataTable.vue_vue_type_script_setup_true_lang-C_ZytnW-.js} +1 -1
  11. package/dist/{DateField.vue_vue_type_script_setup_true_lang-BhKdCVFn.js → DateField.vue_vue_type_script_setup_true_lang-CeNwBbJT.js} +1 -1
  12. package/dist/{DeadLetters-Bb5pPlOY.js → DeadLetters-DnA7LP1w.js} +5 -6
  13. package/dist/DrawnCheck.vue_vue_type_script_setup_true_lang-9DzDJlIA.js +38 -0
  14. package/dist/FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js +427 -0
  15. package/dist/{FormView.vue_vue_type_script_setup_true_lang-aaNnMIOi.js → FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js} +2 -2
  16. package/dist/{General-BAG7S6wV.js → General-2matxl2Y.js} +23 -24
  17. package/dist/Highlight.vue_vue_type_script_setup_true_lang-DZGBmwcX.js +29 -0
  18. package/dist/{IncidentRecord-D8aOpNHo.js → IncidentRecord-Bt3G4HlX.js} +14 -15
  19. package/dist/{IncidentsList-C0cFl0Db.js → IncidentsList-2iwgqp9J.js} +3 -3
  20. package/dist/{Modal.vue_vue_type_script_setup_true_lang-BlHhdmMy.js → Modal.vue_vue_type_script_setup_true_lang-DDS0iEnn.js} +9 -8
  21. package/dist/{NewRolePage-C6Iu-EQJ.js → NewRolePage-DhGFwvk3.js} +4 -4
  22. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-TGGAq8J-.js → NumberField.vue_vue_type_script_setup_true_lang-B3UrXNqH.js} +1 -1
  23. package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-qz1tmYpF.js → PersonAccess.vue_vue_type_script_setup_true_lang-DbGZSNQc.js} +56 -56
  24. package/dist/ProfilePage-CpuyDBAv.js +685 -0
  25. package/dist/ProgressTrack.vue_vue_type_script_setup_true_lang-DrOm8k--.js +30 -0
  26. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-B9mN7UxZ.js → RecordHeader.vue_vue_type_script_setup_true_lang-DqGc3Jyo.js} +1 -1
  27. 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
  28. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-CJPvOVDV.js → RoleEditor.vue_vue_type_script_setup_true_lang-C0FIotFA.js} +11 -12
  29. package/dist/{RolePage-Dj_ocMnM.js → RolePage-DaNv049g.js} +10 -10
  30. package/dist/{RolesPage-PXrs4O-1.js → RolesPage-6hlzJes_.js} +6 -6
  31. package/dist/SearchInput.vue_vue_type_script_setup_true_lang-w4eAqyZ9.js +32 -0
  32. 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
  33. package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-B5ove3rM.js → SectionNavigator.vue_vue_type_script_setup_true_lang-Dh3sXUt_.js} +2 -2
  34. 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
  35. package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BP8nAQwo.js → SelectField.vue_vue_type_script_setup_true_lang-BZwdANL3.js} +3 -3
  36. package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-aWkKwxNe.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-FJbWxME_.js} +20 -20
  37. package/dist/{ServiceAccountRecord-bxX9yQkC.js → ServiceAccountRecord-0-JF5lRx.js} +24 -24
  38. package/dist/{ServiceAccountsList-BXE6htxk.js → ServiceAccountsList-DcsnOcf-.js} +32 -32
  39. package/dist/{Sessions--Gvc0kxw.js → Sessions-DgWhpk-i.js} +23 -24
  40. package/dist/{SettingsPage-DzDC7gD-.js → SettingsPage-BXPWATYU.js} +28 -30
  41. package/dist/{SignIn-CTI_699e.js → SignIn-DPoUwHZd.js} +9 -10
  42. package/dist/{SignInPage-HKC1bm2E.js → SignInPage-OyrVemro.js} +4 -4
  43. package/dist/SignIns-BMDrZVVp.js +64 -0
  44. package/dist/StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js +56 -0
  45. package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-BMA2YXTZ.js → SwitchField.vue_vue_type_script_setup_true_lang-Ds4q0bbl.js} +1 -1
  46. package/dist/{TextField.vue_vue_type_script_setup_true_lang-BFVsqcBX.js → TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js} +2 -2
  47. package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-Dyh4Hhyl.js → TextareaField.vue_vue_type_script_setup_true_lang-D2j4s96s.js} +1 -1
  48. 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
  49. package/dist/UserRecord-BW-gdCqi.js +202 -0
  50. package/dist/UsersList-B3ZF_1Dj.js +74 -0
  51. package/dist/access/index.js +4 -4
  52. package/dist/app/index.d.ts +1 -0
  53. package/dist/app/index.js +11 -10
  54. package/dist/app/languages.d.ts +8 -0
  55. package/dist/{application-BmXW6iW_.js → application-CuzT-0vW.js} +1 -1
  56. package/dist/button/index.js +6 -5
  57. package/dist/collection/Highlight.vue.d.ts +12 -0
  58. package/dist/collection/PickerModal.vue.d.ts +26 -0
  59. package/dist/collection/definition.d.ts +6 -6
  60. package/dist/collection/http.d.ts +6 -6
  61. package/dist/collection/index.d.ts +6 -1
  62. package/dist/collection/index.js +145 -85
  63. package/dist/collection/picker.d.ts +39 -0
  64. package/dist/collection/types.d.ts +9 -4
  65. package/dist/collection/useCollection.d.ts +5 -5
  66. package/dist/content/ActivityStream.vue.d.ts +62 -0
  67. package/dist/content/CommentThread.vue.d.ts +52 -0
  68. package/dist/content/Composer.vue.d.ts +36 -0
  69. package/dist/content/index.d.ts +3 -0
  70. package/dist/content/index.js +321 -56
  71. package/dist/controls/index.js +28 -54
  72. package/dist/form/index.js +132 -134
  73. package/dist/format/index.d.ts +1 -0
  74. package/dist/format/index.js +10 -6
  75. package/dist/format/slug.d.ts +8 -0
  76. package/dist/http-Dm0uXY9O.js +95 -0
  77. package/dist/i18n/index.d.ts +15 -0
  78. package/dist/i18n/index.js +89 -63
  79. package/dist/i18n/plural.d.ts +23 -0
  80. package/dist/i18n/serverMessages.d.ts +16 -0
  81. package/dist/identity/embed.d.ts +39 -0
  82. package/dist/identity/index.d.ts +22 -1
  83. package/dist/identity/index.js +40 -21
  84. package/dist/identity/session.d.ts +9 -1
  85. package/dist/identity/shared/ChangeFeed.vue.d.ts +6 -3
  86. package/dist/identity/users/context.d.ts +11 -0
  87. package/dist/identity/users/dialogs.d.ts +10 -0
  88. package/dist/identity/users/ext.d.ts +8 -0
  89. package/dist/identity/users/feature.d.ts +22 -1
  90. package/dist/identity/users/list.d.ts +12 -1
  91. package/dist/identity/users/personSections.d.ts +15 -6
  92. package/dist/identity/users/replace.d.ts +45 -0
  93. package/dist/identity/users/words.d.ts +28 -0
  94. package/dist/incidents/api.d.ts +1 -1
  95. package/dist/incidents/index.js +1 -1
  96. package/dist/{index-Dz0LkLM8.js → index-ClJeyW3F.js} +4 -4
  97. package/dist/index-Cq9TuOqH.js +1264 -0
  98. package/dist/{index-Dm-sdJJr.js → index-kEHY7hcG.js} +31 -32
  99. package/dist/index.d.ts +1 -1
  100. package/dist/index.js +1 -1
  101. package/dist/keepAlive-ClGnsIzT.js +55 -0
  102. package/dist/modal/index.js +3 -3
  103. package/dist/modules/identity/entities.d.ts +7 -0
  104. package/dist/modules/identity/routes.d.ts +8 -4
  105. package/dist/modules/identity/schemas.d.ts +16 -0
  106. package/dist/{neighbors-DVfU9T0o.js → neighbors-OyvGi233.js} +2 -2
  107. package/dist/notifications/deadletters/list.d.ts +1 -1
  108. package/dist/notifications/index.js +1 -1
  109. package/dist/{options-QuOkMKVZ.js → options-B48UiYsG.js} +2 -2
  110. package/dist/page/index.js +11 -11
  111. package/dist/phone/index.js +1 -1
  112. package/dist/pwa/AndroidInstallBanner.vue.d.ts +18 -0
  113. package/dist/pwa/InstallQrSheet.vue.d.ts +21 -0
  114. package/dist/pwa/IosInstallGuide.vue.d.ts +19 -0
  115. package/dist/pwa/QrCode.vue.d.ts +16 -0
  116. package/dist/pwa/index.d.ts +4 -0
  117. package/dist/pwa/index.js +244 -24
  118. package/dist/resource/index.js +1 -1
  119. package/dist/rowLayout-BsKEzEME.js +650 -0
  120. package/dist/shell/DarkModeRow.vue.d.ts +15 -0
  121. package/dist/shell/OfflineNotice.vue.d.ts +2 -0
  122. package/dist/shell/QuickSearchButton.vue.d.ts +2 -0
  123. package/dist/shell/QuickSearchPalette.vue.d.ts +12 -0
  124. package/dist/shell/darkMode.d.ts +26 -0
  125. package/dist/shell/index.d.ts +10 -0
  126. package/dist/shell/index.js +954 -579
  127. package/dist/shell/offlineNotice.d.ts +3 -0
  128. package/dist/shell/quickSearch.d.ts +14 -0
  129. package/dist/shell/quickSearchControl.d.ts +69 -0
  130. package/dist/shortcut-DUR6yPWA.js +93 -0
  131. package/dist/state/BackgroundTaskCapsule.vue.d.ts +18 -0
  132. package/dist/state/backgroundTasks.d.ts +58 -0
  133. package/dist/state/index.d.ts +4 -0
  134. package/dist/state/index.js +194 -80
  135. package/dist/state/useCountUp.d.ts +9 -0
  136. package/dist/styles.css +1 -1
  137. package/dist/{suggestions-BVQhoXzS.js → suggestions-q_v3M7G6.js} +1 -1
  138. package/dist/testing/collection.d.ts +1 -1
  139. package/dist/{useCommand-Dc8Lgs9h.js → useCommand-Ch_nx1AQ.js} +4 -4
  140. package/dist/{useGroupSheet-DQ6cVG-z.js → useGroupSheet-CPjHydQV.js} +14 -15
  141. package/dist/{useRecordDialog-BTsbHY38.js → useRecordDialog-DdkauXnU.js} +1 -1
  142. package/dist/{useResourceForm-DJ4Q75pq.js → useResourceForm-Dl6YFYyz.js} +1 -1
  143. package/package.json +3 -2
  144. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-Cg1lhpcA.js +0 -45
  145. package/dist/Activity-29hsZ28j.js +0 -156
  146. package/dist/Button.vue_vue_type_script_setup_true_lang-Dp7OB-eF.js +0 -192
  147. package/dist/Changes-Dxjdkd_5.js +0 -129
  148. package/dist/FormErrors.vue_vue_type_script_setup_true_lang-CIggKPtq.js +0 -295
  149. package/dist/FormGroup.vue_vue_type_script_setup_true_lang-B37dixvJ.js +0 -137
  150. package/dist/PageBar.vue_vue_type_script_setup_true_lang-qI94fjJv.js +0 -47
  151. package/dist/ProfilePage-BnohZIEg.js +0 -764
  152. package/dist/ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js +0 -64
  153. package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +0 -23
  154. package/dist/SessionList.vue_vue_type_script_setup_true_lang-Cnyt5V8T.js +0 -133
  155. package/dist/SignIns-BcqBgWgN.js +0 -121
  156. package/dist/UserRecord-CtUPpbCt.js +0 -267
  157. package/dist/UsersList-BMkIgIg8.js +0 -155
  158. package/dist/definition-C7QuyV3i.js +0 -54
  159. package/dist/http-nz92KjdS.js +0 -42
  160. package/dist/identity/fieldMessages.d.ts +0 -15
  161. package/dist/identity/users/languages.d.ts +0 -4
  162. package/dist/index-CdtofdcJ.js +0 -501
  163. package/dist/keepAlive-z3IRFkQq.js +0 -46
  164. package/dist/languages-BShG9LpE.js +0 -10
  165. package/dist/rowLayout-CT8vWYgI.js +0 -663
  166. package/dist/signInEvents-DWShrJox.js +0 -30
  167. package/dist/status-BRA14qwX.js +0 -34
  168. package/dist/useWaitStatus-fsacMl4W.js +0 -24
  169. /package/dist/{fieldMessages-B6GHgi40.js → serverMessages-B6GHgi40.js} +0 -0
@@ -1,36 +1,35 @@
1
- import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, openBlock as E, createElementBlock as P, createVNode as t, unref as e, createSlots as h, withCtx as u, createTextVNode as B, toDisplayString as C } from "vue";
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-Dp7OB-eF.js";
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, b as L, e as O, i as g, d as T } from "./index-CdtofdcJ.js";
5
+ import { P as D, e as L, h as O, j as T, i as g, g as V } from "./index-Cq9TuOqH.js";
6
6
  import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-CrFhR9rJ.js";
7
- import { t as b } from "./toast-CqSDTWRX.js";
8
- import { u as V } from "./platform-BQOX_Ntw.js";
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 j } from "./AsyncSection.vue_vue_type_script_setup_true_lang-BdeOKqz_.js";
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-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-DybAIOHS.js";
13
12
  const G = {
14
13
  class: "flex min-w-0 flex-col gap-group-gap",
15
14
  "data-person-sessions": ""
16
- }, ne = /* @__PURE__ */ x({
15
+ }, oe = /* @__PURE__ */ x({
17
16
  __name: "Sessions",
18
17
  setup(H) {
19
- const { t: s } = N(), { http: d } = V(), y = A(), r = I(D), c = L(), i = O(), m = v("one"), f = v("all"), l = w(() => i.data.value?.sessions ?? []);
20
- async function _(a, o) {
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 a(), b.success(o);
21
+ await i(), y.success(o);
23
22
  } catch (n) {
24
- T(n) || b.error(y(n, { fallback: s("core.account.sessions.end_failed") }));
23
+ V(n) || y.error(S(n, { fallback: s("core.account.sessions.end_failed") }));
25
24
  }
26
- await i.reload();
25
+ await a.reload();
27
26
  }
28
- const S = (a) => _(() => d.request(g.usersRevokeSession, { id: r.id.value ?? 0, session_id: a.id }), s("core.account.sessions.ended")), R = () => _(() => d.request(g.usersRevokeSessions, { id: r.id.value ?? 0 }), s("core.users.sessions.ended_all")), p = $(null);
29
- return (a, o) => (E(), P("div", G, [
30
- t(z, {
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
- }, h({ _: 2 }, [
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(j), {
53
- state: e(i).state.value,
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(i).reload())
55
+ onRetry: o[2] || (o[2] = (n) => e(a).reload())
57
56
  }, {
58
57
  default: u(() => [
59
- t(F, {
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: S
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
- ne as default
94
+ oe as default
96
95
  };
@@ -1,30 +1,28 @@
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 { a as oe } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-DdJOodn8.js";
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 "./fieldMessages-B6GHgi40.js";
7
- import { _ as W } from "./AsyncSection.vue_vue_type_script_setup_true_lang-BdeOKqz_.js";
8
- import { n as T, u as le, a as re } from "./index-Dz0LkLM8.js";
9
- import { _ as H } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
10
- import { _ as j } from "./Button.vue_vue_type_script_setup_true_lang-Dp7OB-eF.js";
6
+ import { u as U } from "./serverMessages-B6GHgi40.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-ClJeyW3F.js";
9
+ import { _ as H, a as j } from "./ActionRow.vue_vue_type_script_setup_true_lang-DybAIOHS.js";
10
+ import { _ as I } from "./Button.vue_vue_type_script_setup_true_lang-C74hcb0N.js";
11
11
  import { _ as ce } from "./IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js";
12
12
  import { u as ue } from "./format-D8KUBmbS.js";
13
- import { _ as R } from "./FormGroup.vue_vue_type_script_setup_true_lang-B37dixvJ.js";
14
- import { g as x } from "./options-QuOkMKVZ.js";
15
- import { _ as de } from "./TextField.vue_vue_type_script_setup_true_lang-BFVsqcBX.js";
16
- import { _ as fe } from "./AlertDialog.vue_vue_type_script_setup_true_lang-CrFhR9rJ.js";
17
- import { _ as me } from "./Menu.vue_vue_type_script_setup_true_lang-wKc9gdCn.js";
18
- import { _ as pe } from "./MenuButton.vue_vue_type_script_setup_true_lang-C-XRr5f2.js";
13
+ import { a as R, u as de } from "./FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js";
14
+ import { g as x } from "./options-B48UiYsG.js";
15
+ import { _ as fe } from "./TextField.vue_vue_type_script_setup_true_lang-CWIeeZRE.js";
16
+ import { _ as me } from "./AlertDialog.vue_vue_type_script_setup_true_lang-CrFhR9rJ.js";
17
+ import { _ as pe } from "./Menu.vue_vue_type_script_setup_true_lang-wKc9gdCn.js";
18
+ import { _ as _e } from "./MenuButton.vue_vue_type_script_setup_true_lang-C-XRr5f2.js";
19
19
  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
20
  import { u as X } from "./platform-BQOX_Ntw.js";
22
21
  import { u as Y } from "./useLoad-M7V-AVwR.js";
23
- import { _ as ee } from "./SwitchField.vue_vue_type_script_setup_true_lang-BMA2YXTZ.js";
24
- import { _ as _e } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
25
- import { u as ve } from "./FormErrors.vue_vue_type_script_setup_true_lang-CIggKPtq.js";
26
- import { _ as ge } from "./FormView.vue_vue_type_script_setup_true_lang-aaNnMIOi.js";
27
- import { _ as A } from "./TimeField.vue_vue_type_script_setup_true_lang-gGFfQLuK.js";
22
+ import { _ as ee } from "./SwitchField.vue_vue_type_script_setup_true_lang-Ds4q0bbl.js";
23
+ import { _ as ve } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
24
+ import { _ as ge } from "./FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js";
25
+ import { _ as A } from "./TimeField.vue_vue_type_script_setup_true_lang-D-Em4glH.js";
28
26
  import { a as K, n as be } from "./useTypedEntry-C_Bk4sI0.js";
29
27
  const he = {
30
28
  class: "flex min-w-0 flex-col gap-group-gap",
@@ -99,7 +97,7 @@ const he = {
99
97
  key: y.id
100
98
  }, [
101
99
  l.value === y.id ? (o(), b(q, { key: 0 }, [
102
- u(e(de), {
100
+ u(e(fe), {
103
101
  modelValue: r.value,
104
102
  "onUpdate:modelValue": $[0] || ($[0] = (N) => r.value = N),
105
103
  label: e(t)("core.notifications.settings.devices.label"),
@@ -107,7 +105,7 @@ const he = {
107
105
  "data-device": y.id
108
106
  }, null, 8, ["modelValue", "label", "data-device"]),
109
107
  O("div", ye, [
110
- u(e(j), {
108
+ u(e(I), {
111
109
  size: "sm",
112
110
  onClick: $[1] || ($[1] = (N) => l.value = null)
113
111
  }, {
@@ -116,7 +114,7 @@ const he = {
116
114
  ]),
117
115
  _: 1
118
116
  }),
119
- u(e(j), {
117
+ u(e(I), {
120
118
  prominence: "primary",
121
119
  size: "sm",
122
120
  processing: m.value,
@@ -172,12 +170,12 @@ const he = {
172
170
  ])) : S("", !0)
173
171
  ]),
174
172
  trailing: _(() => [
175
- u(e(me), {
173
+ u(e(pe), {
176
174
  items: P(y),
177
175
  label: e(t)("core.notifications.settings.devices.menu", { label: y.label })
178
176
  }, {
179
177
  trigger: _((N) => [
180
- u(e(pe), F({ ref_for: !0 }, N, {
178
+ u(e(_e), F({ ref_for: !0 }, N, {
181
179
  label: e(t)("core.notifications.settings.devices.menu", { label: y.label }),
182
180
  "data-device-menu": ""
183
181
  }), null, 16, ["label"])
@@ -194,7 +192,7 @@ const he = {
194
192
  ]),
195
193
  _: 1
196
194
  }, 8, ["state", "empty-title"]),
197
- u(e(fe), {
195
+ u(e(me), {
198
196
  ref_key: "dialog",
199
197
  ref: c,
200
198
  tone: "critical",
@@ -297,13 +295,13 @@ const he = {
297
295
  ]),
298
296
  _: 1
299
297
  }, 8, ["label"]),
300
- t.device.state.value === "off" ? (o(), h(I, {
298
+ t.device.state.value === "off" ? (o(), h(j, {
301
299
  key: 0,
302
300
  label: e(s)("core.notifications.settings.push.enable"),
303
301
  disabled: t.device.busy.value,
304
302
  "data-push-enable": "",
305
303
  onClick: l
306
- }, null, 8, ["label", "disabled"])) : (o(), h(I, {
304
+ }, null, 8, ["label", "disabled"])) : (o(), h(j, {
307
305
  key: 1,
308
306
  label: e(s)("core.notifications.settings.push.disable"),
309
307
  tone: "critical",
@@ -387,7 +385,7 @@ const Le = {
387
385
  }, {
388
386
  default: _(() => [
389
387
  O("span", Ve, [
390
- u(e(_e), {
388
+ u(e(ve), {
391
389
  name: "lockLine",
392
390
  size: 14
393
391
  }),
@@ -451,7 +449,7 @@ const He = (a) => ({ enabled: a.enabled, start: G(a.start), end: G(a.end) }), Pe
451
449
  ];
452
450
  return k.length > 0 || f === null || p === null ? { success: !1, error: { issues: k } } : { success: !0, data: { enabled: n.enabled, start: f, end: p } };
453
451
  }
454
- }, s = ve({ ...U(), defaults: () => He(i.quietHours), validator: d }), l = D(() => {
452
+ }, s = de({ ...U(), defaults: () => He(i.quietHours), validator: d }), l = D(() => {
455
453
  const { enabled: c, start: n, end: f } = s.values, p = K(n), k = K(f);
456
454
  if (!c) return t("core.notifications.settings.quiet.summary_off");
457
455
  if (!p || !k || p.hour === k.hour && p.minute === k.minute) return "";
@@ -589,7 +587,7 @@ function Ee(a = X().http) {
589
587
  }
590
588
  return { loaded: i, saving: t, setChannel: d, saveQuietHours: s };
591
589
  }
592
- const gt = /* @__PURE__ */ B({
590
+ const _t = /* @__PURE__ */ B({
593
591
  __name: "SettingsPage",
594
592
  setup(a) {
595
593
  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 +626,5 @@ const gt = /* @__PURE__ */ B({
628
626
  }
629
627
  });
630
628
  export {
631
- gt as default
629
+ _t as default
632
630
  };
@@ -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-Dp7OB-eF.js";
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 { _ as p } from "./FormGroup.vue_vue_type_script_setup_true_lang-B37dixvJ.js";
7
- import { g as b } from "./options-QuOkMKVZ.js";
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 { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-CdtofdcJ.js";
9
+ import { f as q, P as z, e as F, _ as L, i as O, g as T } from "./index-Cq9TuOqH.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-Cg1lhpcA.js";
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-DybAIOHS.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
- }, fe = /* @__PURE__ */ P({
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(M, {
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(K, {
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
- fe as default
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-Dp7OB-eF.js";
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-aaNnMIOi.js";
7
- import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-BFVsqcBX.js";
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-CdtofdcJ.js";
9
+ import { u as C, a as E } from "./index-Cq9TuOqH.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 k } from "vue-i18n";
3
+ import { P as N, i as S, k as b, l as I } from "./index-Cq9TuOqH.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-DybAIOHS.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 } = k(), { http: f } = R(), r = C(N), 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(S.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(b, {
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-QuOkMKVZ.js";
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-QuOkMKVZ.js";
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-BVQhoXzS.js";
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-QuOkMKVZ.js";
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-QuOkMKVZ.js";
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"]);