@wssto2/vue-core 0.4.5 → 0.4.7

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 (30) hide show
  1. package/dist/{Activity-DukTfcmn.js → Activity-CEeZADHC.js} +1 -1
  2. package/dist/{Changes-Dhi7EBe9.js → Changes-B7TxVDoE.js} +1 -1
  3. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-DzuvFLj2.js +1546 -0
  4. package/dist/{DeadLetters-CfKE1axC.js → DeadLetters-DwKeKpu6.js} +3 -3
  5. package/dist/{General-BwT5Y_TN.js → General-C43nVs_x.js} +1 -1
  6. package/dist/{ProfilePage-DIJEhiW-.js → ProfilePage-BXVPsyS8.js} +1 -1
  7. package/dist/{Sessions-BZnBtu7h.js → Sessions-9OEiLpje.js} +1 -1
  8. package/dist/{SettingsPage-BmRCB75J.js → SettingsPage-CmPy-kpL.js} +1 -1
  9. package/dist/{SignIn-D-n9cfMH.js → SignIn-f-HF9B7-.js} +1 -1
  10. package/dist/{SignInPage-BzIP6sPa.js → SignInPage-C8zaS_7r.js} +1 -1
  11. package/dist/{SignIns-dFIzemgy.js → SignIns-DzKz0Ple.js} +1 -1
  12. package/dist/{UserRecord-DoOu1hWB.js → UserRecord-pciJE77m.js} +3 -3
  13. package/dist/{UsersList-CYBGEOqE.js → UsersList-YRJTY69g.js} +3 -3
  14. package/dist/collection/datePresets.d.ts +8 -4
  15. package/dist/collection/index.js +49 -49
  16. package/dist/collection/state.d.ts +10 -5
  17. package/dist/collection/useCollection.d.ts +24 -5
  18. package/dist/http-D_D9YbLH.js +194 -0
  19. package/dist/i18n/index.js +4 -4
  20. package/dist/identity/index.js +1 -1
  21. package/dist/{index-BHt1dLX2.js → index-DnYLRcv6.js} +2 -2
  22. package/dist/{index-BVX0nmMv.js → index-DoowoCS7.js} +10 -10
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.js +1 -1
  25. package/dist/{neighbors-DpaIMQAL.js → neighbors-BRf4Eh2R.js} +1 -1
  26. package/dist/notifications/index.js +1 -1
  27. package/dist/{status-D3cLPSCh.js → status-GT-QFBrB.js} +2 -2
  28. package/package.json +1 -1
  29. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-BuAdhiy_.js +0 -1514
  30. package/dist/http-CNcDHSOj.js +0 -194
@@ -1,4 +1,4 @@
1
- import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-BVX0nmMv.js";
1
+ import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-DoowoCS7.js";
2
2
  export {
3
3
  t as SignInAsButton,
4
4
  n as identityFeature,
@@ -31,9 +31,9 @@ const M = {
31
31
  deadLettersRetryAll: y("POST", "/v1/events/dead-letters/retry", { permission: "events.deadletter:retry" }),
32
32
  consumers: y("GET", "/v1/events/consumers", { permission: "events.deadletter:view" })
33
33
  }, [ke, ee] = fe("vue-core.notifications"), we = "events.deadletter:view", bt = "events.deadletter:retry", J = Z({
34
- index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-CfKE1axC.js"), meta: { access: we, titleKey: "core.notifications.dead_letters.title" } }
34
+ index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-DwKeKpu6.js"), meta: { access: we, titleKey: "core.notifications.dead_letters.title" } }
35
35
  }), j = Z({
36
- index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-BmRCB75J.js"), meta: { titleKey: "core.notifications.settings.title" } }
36
+ index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-CmPy-kpL.js"), meta: { titleKey: "core.notifications.settings.title" } }
37
37
  }), Te = /* @__PURE__ */ z({
38
38
  __name: "SettingsMenuItem",
39
39
  setup(o) {
@@ -315,7 +315,7 @@ function Cs(e) {
315
315
  const Ye = async (e) => {
316
316
  await B(e.http);
317
317
  }, Je = z({
318
- login: { name: "login", path: "/login", component: () => import("./SignInPage-BzIP6sPa.js"), meta: { public: !0, titleKey: "core.identity.signin.title" } }
318
+ login: { name: "login", path: "/login", component: () => import("./SignInPage-C8zaS_7r.js"), meta: { public: !0, titleKey: "core.identity.signin.title" } }
319
319
  });
320
320
  function Os(e = {}) {
321
321
  return H({
@@ -334,7 +334,7 @@ function Os(e = {}) {
334
334
  });
335
335
  }
336
336
  const Z = z({
337
- index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-DIJEhiW-.js"), meta: { titleKey: "core.profile.title" } }
337
+ index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-BXVPsyS8.js"), meta: { titleKey: "core.profile.title" } }
338
338
  }), Qe = /* @__PURE__ */ E({
339
339
  __name: "ProfileMenuItem",
340
340
  setup(e) {
@@ -358,19 +358,19 @@ function es(e) {
358
358
  return { name: `users.record.${e.path}`, path: e.path, component: s, meta: { ...e.meta } };
359
359
  }
360
360
  const W = "iam.user:view", qs = "iam.user:manage", ss = "iam.user.activity:view", ee = z({
361
- index: { name: "users.index", path: "/users", component: () => import("./UsersList-CYBGEOqE.js"), meta: { access: W, titleKey: "core.users.title" } },
361
+ index: { name: "users.index", path: "/users", component: () => import("./UsersList-YRJTY69g.js"), meta: { access: W, titleKey: "core.users.title" } },
362
362
  record: {
363
363
  name: "users.record",
364
364
  path: "/users/:id",
365
- component: () => import("./UserRecord-DoOu1hWB.js"),
365
+ component: () => import("./UserRecord-pciJE77m.js"),
366
366
  meta: { access: W, titleKey: "core.users.title", remountOnParam: "id" },
367
367
  children: [
368
- { name: "users.record.general", path: "general", component: () => import("./General-BwT5Y_TN.js"), meta: { section: { labelKey: "core.users.sections.general", icon: "user3Line", groupKey: "core.users.section_groups.person" } } },
369
- { name: "users.record.signin", path: "signin", component: () => import("./SignIn-D-n9cfMH.js"), meta: { section: { labelKey: "core.users.sections.signin", icon: "key2Line", groupKey: "core.users.section_groups.access" } } },
370
- { name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-BZnBtu7h.js"), meta: { section: { labelKey: "core.users.sections.sessions", icon: "deviceLine", groupKey: "core.users.section_groups.access" } } },
371
- { name: "users.record.signins", path: "signins", component: () => import("./SignIns-dFIzemgy.js"), meta: { section: { labelKey: "core.users.sections.signins", icon: "timeFill", groupKey: "core.users.section_groups.activity" } } },
372
- { name: "users.record.changes", path: "changes", component: () => import("./Changes-Dhi7EBe9.js"), meta: { section: { labelKey: "core.users.sections.changes", icon: "edit", groupKey: "core.users.section_groups.activity" } } },
373
- { name: "users.record.activity", path: "activity", component: () => import("./Activity-DukTfcmn.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
368
+ { name: "users.record.general", path: "general", component: () => import("./General-C43nVs_x.js"), meta: { section: { labelKey: "core.users.sections.general", icon: "user3Line", groupKey: "core.users.section_groups.person" } } },
369
+ { name: "users.record.signin", path: "signin", component: () => import("./SignIn-f-HF9B7-.js"), meta: { section: { labelKey: "core.users.sections.signin", icon: "key2Line", groupKey: "core.users.section_groups.access" } } },
370
+ { name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-9OEiLpje.js"), meta: { section: { labelKey: "core.users.sections.sessions", icon: "deviceLine", groupKey: "core.users.section_groups.access" } } },
371
+ { name: "users.record.signins", path: "signins", component: () => import("./SignIns-DzKz0Ple.js"), meta: { section: { labelKey: "core.users.sections.signins", icon: "timeFill", groupKey: "core.users.section_groups.activity" } } },
372
+ { name: "users.record.changes", path: "changes", component: () => import("./Changes-B7TxVDoE.js"), meta: { section: { labelKey: "core.users.sections.changes", icon: "edit", groupKey: "core.users.section_groups.activity" } } },
373
+ { name: "users.record.activity", path: "activity", component: () => import("./Activity-CEeZADHC.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
374
374
  ]
375
375
  }
376
376
  });
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.4.5";
2
+ export declare const version = "0.4.7";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = "0.4.5";
1
+ const o = "0.4.7";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { ref as P, shallowRef as z, watch as X, getCurrentScope as j, onScopeDispose as B } from "vue";
2
2
  import { useRoute as F } from "vue-router";
3
3
  import { i as M } from "./error-CD7x0Jrz.js";
4
- import { L as I, o as J, d as Q, e as N, q as U } from "./http-CNcDHSOj.js";
4
+ import { L as I, o as J, d as Q, e as N, q as U } from "./http-D_D9YbLH.js";
5
5
  const V = 8;
6
6
  function te(s, r) {
7
7
  const v = F(), R = r.from ?? (() => typeof v.query[I] == "string" ? v.query[I] : null), D = r.stateKey ?? "query", y = P(null), p = P(0), h = z(null), d = z(null), b = P(!1), S = z(null), n = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- import { d as s, e as o, n as a, a as i, b as n } from "../index-BHt1dLX2.js";
1
+ import { d as s, e as o, n as a, a as i, b as n } from "../index-DnYLRcv6.js";
2
2
  export {
3
3
  s as deadLettersRoutes,
4
4
  o as eventsRoutes,
@@ -1,5 +1,5 @@
1
- import { a, r as o } from "./http-CNcDHSOj.js";
2
- import { i as r } from "./index-BVX0nmMv.js";
1
+ import { a, r as o } from "./http-D_D9YbLH.js";
2
+ import { i as r } from "./index-DoowoCS7.js";
3
3
  const n = ["active", "locked", "inactive", "all"];
4
4
  function l(i) {
5
5
  return a({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wssto2/vue-core",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "goCore": "v1.7.0",
5
5
  "description": "Shared Vue 3 library for go-core applications: app shell, list / record / form pages and their controls.",
6
6
  "keywords": [