@wssto2/vue-core 0.10.0 → 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 (58) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-DybAIOHS.js +64 -0
  3. package/dist/{Activity-CeAG0ZtJ.js → Activity-CdkJW68R.js} +2 -2
  4. package/dist/{Changes-B9-zpDxG.js → Changes-DxK_QfiB.js} +2 -2
  5. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-Cn0YOWJF.js → CollectionPage.vue_vue_type_script_setup_true_lang-x0jyJ01f.js} +1 -1
  6. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-BQRG8bpH.js → DataTable.vue_vue_type_script_setup_true_lang-C_ZytnW-.js} +1 -1
  7. package/dist/{DeadLetters-BP03yC4R.js → DeadLetters-DnA7LP1w.js} +2 -2
  8. package/dist/{General-BDmCJr3H.js → General-2matxl2Y.js} +23 -21
  9. package/dist/Highlight.vue_vue_type_script_setup_true_lang-DZGBmwcX.js +29 -0
  10. package/dist/{IncidentRecord-DEhl6AyA.js → IncidentRecord-Bt3G4HlX.js} +1 -1
  11. package/dist/{IncidentsList-COgRPdk3.js → IncidentsList-2iwgqp9J.js} +3 -3
  12. package/dist/{ProfilePage-BQCK2w8R.js → ProfilePage-CpuyDBAv.js} +21 -20
  13. package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-C0OIBrSp.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-FJbWxME_.js} +2 -2
  14. package/dist/{ServiceAccountRecord-gtlhYaAz.js → ServiceAccountRecord-0-JF5lRx.js} +29 -29
  15. package/dist/{ServiceAccountsList-BM7GGcvw.js → ServiceAccountsList-DcsnOcf-.js} +6 -6
  16. package/dist/{Sessions-BCDJYuV2.js → Sessions-DgWhpk-i.js} +2 -2
  17. package/dist/{SettingsPage-DUhMsYBf.js → SettingsPage-BXPWATYU.js} +5 -4
  18. package/dist/{SignIn-4D7WohI8.js → SignIn-DPoUwHZd.js} +2 -2
  19. package/dist/{SignInPage-B6B-34GG.js → SignInPage-OyrVemro.js} +1 -1
  20. package/dist/{SignIns-CFoe4hpX.js → SignIns-BMDrZVVp.js} +6 -6
  21. package/dist/{UserRecord-Cd1TCpJZ.js → UserRecord-BW-gdCqi.js} +43 -43
  22. package/dist/{UsersList-GJU5-CTG.js → UsersList-B3ZF_1Dj.js} +25 -25
  23. package/dist/app/index.d.ts +1 -0
  24. package/dist/app/index.js +11 -10
  25. package/dist/app/languages.d.ts +8 -0
  26. package/dist/collection/Highlight.vue.d.ts +12 -0
  27. package/dist/collection/index.d.ts +1 -0
  28. package/dist/collection/index.js +18 -17
  29. package/dist/i18n/index.d.ts +1 -0
  30. package/dist/i18n/index.js +6 -4
  31. package/dist/i18n/serverMessages.d.ts +16 -0
  32. package/dist/identity/index.d.ts +2 -1
  33. package/dist/identity/index.js +7 -7
  34. package/dist/identity/users/context.d.ts +3 -0
  35. package/dist/identity/users/feature.d.ts +12 -1
  36. package/dist/identity/users/list.d.ts +12 -1
  37. package/dist/identity/users/personSections.d.ts +14 -5
  38. package/dist/incidents/index.js +1 -1
  39. package/dist/{index-CTkG-acm.js → index-ClJeyW3F.js} +2 -2
  40. package/dist/{index-pJ_eRg80.js → index-Cq9TuOqH.js} +441 -434
  41. package/dist/{index-DUs7WSz-.js → index-kEHY7hcG.js} +2 -2
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +1 -1
  44. package/dist/keepAlive-ClGnsIzT.js +55 -0
  45. package/dist/notifications/index.js +1 -1
  46. package/dist/rowLayout-BsKEzEME.js +650 -0
  47. package/dist/serverMessages-B6GHgi40.js +25 -0
  48. package/dist/shell/QuickSearchPalette.vue.d.ts +3 -3
  49. package/dist/shell/index.js +419 -427
  50. package/dist/shell/quickSearchControl.d.ts +8 -5
  51. package/dist/styles.css +1 -1
  52. package/package.json +1 -1
  53. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js +0 -87
  54. package/dist/highlight-DnYhLXnu.js +0 -9
  55. package/dist/identity/fieldMessages.d.ts +0 -15
  56. package/dist/identity/users/languages.d.ts +0 -4
  57. package/dist/keepAlive-z3IRFkQq.js +0 -46
  58. package/dist/rowLayout-Il4psyXN.js +0 -658
@@ -262,11 +262,11 @@ const He = {
262
262
  }, null, 8, ["label"])) : R("", !0);
263
263
  }
264
264
  }), M = Z({
265
- index: { name: "incidents.index", path: "/incidents", component: () => import("./IncidentsList-COgRPdk3.js"), meta: { access: q, titleKey: "core.incidents.title" } },
265
+ index: { name: "incidents.index", path: "/incidents", component: () => import("./IncidentsList-2iwgqp9J.js"), meta: { access: q, titleKey: "core.incidents.title" } },
266
266
  details: {
267
267
  name: "incidents.details",
268
268
  path: "/incidents/:incidentID",
269
- component: () => import("./IncidentRecord-DEhl6AyA.js"),
269
+ component: () => import("./IncidentRecord-Bt3G4HlX.js"),
270
270
  // Previous / next record swaps the id in place.
271
271
  meta: { access: q, titleKey: "core.incidents.title", remountOnParam: "incidentID" }
272
272
  }
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The version of @wssto2/vue-core (kept equal to package.json by index.test.ts). */
2
- export declare const version = "0.10.0";
2
+ export declare const version = "0.11.0";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = "0.10.0";
1
+ const o = "0.11.0";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -0,0 +1,55 @@
1
+ import { computed as f } from "vue";
2
+ import { l as b } from "./languageName-CItV_SOv.js";
3
+ import { u as w } from "./environment-Dva-SG8D.js";
4
+ function A() {
5
+ const i = w();
6
+ return f(() => i.locales.map((t) => ({ value: t, label: b(t) })));
7
+ }
8
+ const h = 864e5;
9
+ function T(i = {}) {
10
+ const { margin: t = 6e4, retryAfter: m = 3e4 } = i;
11
+ return {
12
+ id: "vue-core.keep-session-alive",
13
+ scope: "session",
14
+ start({ signal: o, platform: s, report: v }) {
15
+ let r;
16
+ const a = () => {
17
+ const e = s.session.state.value;
18
+ return s.session.renewable && e.status === "authenticated" && e.expiresAt ? e.expiresAt.getTime() - Date.now() - t : null;
19
+ }, p = async () => {
20
+ try {
21
+ await s.session.renew();
22
+ } catch (e) {
23
+ v(e);
24
+ }
25
+ };
26
+ function u(e = 0) {
27
+ clearTimeout(r);
28
+ const d = a();
29
+ d !== null && !o.aborted && (r = setTimeout(() => void n(), Math.min(Math.max(d, e), h)));
30
+ }
31
+ async function n() {
32
+ if (o.aborted || !navigator.onLine) return;
33
+ const e = a();
34
+ if (e !== null) {
35
+ if (e <= 0) {
36
+ if (await p(), o.aborted) return;
37
+ u((a() ?? 1) <= 0 ? m : 0);
38
+ return;
39
+ }
40
+ u();
41
+ }
42
+ }
43
+ const c = () => {
44
+ document.visibilityState === "visible" && n();
45
+ }, l = () => void n();
46
+ return document.addEventListener("visibilitychange", c), window.addEventListener("online", l), n(), () => {
47
+ clearTimeout(r), document.removeEventListener("visibilitychange", c), window.removeEventListener("online", l);
48
+ };
49
+ }
50
+ };
51
+ }
52
+ export {
53
+ T as k,
54
+ A as u
55
+ };
@@ -1,4 +1,4 @@
1
- import { d as s, e as a, n as o, b as i, c as n, f as u } from "../index-CTkG-acm.js";
1
+ import { d as s, e as a, n as o, b as i, c as n, f as u } from "../index-ClJeyW3F.js";
2
2
  export {
3
3
  s as deadLettersRoutes,
4
4
  a as eventsRoutes,