@wssto2/vue-core 0.4.25 → 0.4.26
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 +16 -0
- package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js → AccessGate.vue_vue_type_script_setup_true_lang-J5HoyGNJ.js} +1 -1
- package/dist/{Activity-CI-l_OFl.js → Activity-B6R8Jghz.js} +2 -2
- package/dist/{Changes-BdR0R20V.js → Changes-BQG7IV49.js} +2 -2
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-BNM_cbXa.js → CollectionPage.vue_vue_type_script_setup_true_lang-BrbQ0Y5d.js} +1 -1
- package/dist/{DeadLetters-CRTeoZS1.js → DeadLetters-CJZSWjsn.js} +4 -4
- package/dist/{General-hdmVP72B.js → General-tsRC866T.js} +2 -2
- package/dist/{NewRolePage-BPeKasOp.js → NewRolePage-L57Zg1Mg.js} +2 -2
- package/dist/{ProfilePage-Dq9lcO5O.js → ProfilePage-B9WUrImn.js} +2 -2
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-B6g2760V.js → RoleEditor.vue_vue_type_script_setup_true_lang-Hr0WgL1K.js} +2 -2
- package/dist/{RolePage-BYH-0fVI.js → RolePage-uezn-Og1.js} +3 -3
- package/dist/{RolesPage-BRm5xDw7.js → RolesPage-DkMAJZR6.js} +2 -2
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BltrQnrQ.js → SectionNavigator.vue_vue_type_script_setup_true_lang-BYRc0-qh.js} +1 -1
- package/dist/{Sessions-B1eKG_I2.js → Sessions-BDu3nMmz.js} +2 -2
- package/dist/{SettingsPage-0P38Ty4w.js → SettingsPage-CA7YCy6K.js} +2 -2
- package/dist/{SignIn-Dp8Ji0_r.js → SignIn-DQzS20kM.js} +2 -2
- package/dist/{SignInPage-CiStJboK.js → SignInPage-ft3unWwX.js} +2 -2
- package/dist/{SignIns-Bo7R2Coi.js → SignIns-C3h_YIkc.js} +2 -2
- package/dist/{UserRecord-DGq_PPy1.js → UserRecord-BO5-wsYt.js} +5 -5
- package/dist/{UsersList-BulNu4aE.js → UsersList-D3b3DGN5.js} +4 -4
- package/dist/access/index.js +1 -1
- package/dist/app/index.js +5 -5
- package/dist/collection/index.js +3 -3
- package/dist/{contributions-DsfmDoRD.js → contributions-BVBZP5Jb.js} +1 -1
- package/dist/{guards-Dve61KjR.js → guards-BJZjc3FZ.js} +1 -1
- package/dist/{http-D_D9YbLH.js → http-BFfkA7gN.js} +1 -1
- package/dist/identity/index.js +1 -1
- package/dist/{index-BmowiT1y.js → index-BVU76sBO.js} +12 -12
- package/dist/{index-tnSTp0cM.js → index-C3CzOub7.js} +2 -2
- package/dist/{index-Yy28omu6.js → index-CvJSAsfk.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{navigation-Cm3iChlR.js → navigation-DpcDF0rX.js} +1 -1
- package/dist/{neighbors-DVN_cADL.js → neighbors-RVQ4O3Qv.js} +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/page/index.js +1 -1
- package/dist/platform/index.d.ts +25 -1
- package/dist/platform/index.js +59 -49
- package/dist/platform/platform.d.ts +9 -5
- package/dist/platform/session.d.ts +10 -0
- package/dist/platform/sessionUser.d.ts +8 -0
- package/dist/platform-PZpUkkMS.js +268 -0
- package/dist/router/index.js +3 -3
- package/dist/{sections-D-kD98vu.js → sections-CeZl-Jxg.js} +1 -1
- package/dist/shell/index.js +3 -3
- package/dist/{status-Bh3-Cg7o.js → status-8KH7PITT.js} +2 -2
- package/dist/testing/index.js +1 -1
- package/dist/testing/platform.d.ts +10 -7
- package/package.json +3 -2
- package/dist/platform-q3cjODLx.js +0 -255
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.26 — 2026-10-12
|
|
4
|
+
|
|
5
|
+
A typed platform declared once, and the signed-in user changed in place. From ARV cutover g (the step f map, wave 2 step 0). Three items, one commit each.
|
|
6
|
+
|
|
7
|
+
### Requires
|
|
8
|
+
- go-core unchanged: **`v1.7.0`**; **`vue` 3.5.19 or later**.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **`PlatformRegistry`** (`@wssto2/vue-core/platform`): the app says once what its session user and bootstrap config are, as it does for permissions: `declare module "@wssto2/vue-core/platform" { interface PlatformRegistry { user: ArvUser; config: ArvConfig } }`. Bare `Platform` (what `usePlatform()`, `createApplication({ platform })`, `createTestPlatform()` and `createTestSession()` use) is then `Platform<ArvUser, ArvConfig>`; a key left out falls back to `SessionUser` / `BootstrapConfig` (`RegisteredUser` and `RegisteredConfig` are exported). `createPlatform<U, C>` stays generic. **Moving from explicit generics:** declare the registry once, then drop the casts at every `usePlatform()` read and `Platform<User, Config>` annotations (they still compile: the same type). Checked by `typing.test-d.ts` (not augmented) and `test-data/registry` (augmented; `npm run typecheck:registry`, part of `check`).
|
|
12
|
+
- **`useSessionUser()`**: the signed-in user as a readonly computed ref, typed from the registry, `null` unless authenticated (a held, expired session is not a signed-in user). The impersonator stays on `session.state`. No `useSession()` reader: `usePlatform().session` is enough. ARV: the 39 files reading `useAuthStore().user` can read it.
|
|
13
|
+
- **`session.update(patch)`**: `patch` is `Partial<Pick<SessionSnapshot, "user" | "access" | "navigation">>` (`SessionPatch`). It replaces those parts of a signed-in session and keeps the status, `expiresAt`, impersonator and the rest. It is not a change of who is signed in: nothing in flight is cancelled and no late answer is dropped (a `refresh()` already asked still lands with the server's version). Reactive readers (`useSessionUser`, the access client, the application's locale-from-user) see the new value. A no-op unless authenticated; a `user.id` other than the signed-in one **throws** (a programming error: a different person is `session.establish`). ARV: `useAuthStore.write()` becomes `session.update(...)`, so a language or profile save no longer re-establishes the session.
|
|
14
|
+
|
|
15
|
+
### Changes to existing behaviour
|
|
16
|
+
- **Bare `Platform` follows the registry.** Without an augmentation nothing changes. With one, a platform built with another user type no longer fits bare `Platform`. `createTestPlatform({ config })` must then give the registered config's own fields (the test has no other source for them). ARV: `frontend/tests/app/features.test.ts` and `frontend/tests/support/arvApp.ts` (`createTestPlatform`) once the registry declares `config`.
|
|
17
|
+
- **Pinned by tests that were updated:** none.
|
|
18
|
+
|
|
3
19
|
## 0.4.25 — 2026-10-12
|
|
4
20
|
|
|
5
21
|
The photo viewer's actions on a phone. From ARV cutover g (wave 1, the vehicle gallery). Two items, one commit each.
|
|
@@ -6,8 +6,8 @@ import { u as O } from "./format-D8X4zsx6.js";
|
|
|
6
6
|
import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-CpuH0WTl.js";
|
|
7
7
|
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DSwSRsA5.js";
|
|
8
8
|
import { e as z } from "./control-B4SdblL6.js";
|
|
9
|
-
import { P as G, c as H, i as J } from "./index-
|
|
10
|
-
import { u as K } from "./platform-
|
|
9
|
+
import { P as G, c as H, i as J } from "./index-BVU76sBO.js";
|
|
10
|
+
import { u as K } from "./platform-PZpUkkMS.js";
|
|
11
11
|
import { b as M } from "./routeResource-DlTsGTg_.js";
|
|
12
12
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
13
13
|
import { _ as W } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, computed as N, openBlock as n, createBlock as u, unref as a, withCtx as g, createElementBlock as p, Fragment as _, renderList as $, createElementVNode as i, toDisplayString as h, createCommentVNode as C, ref as x, watch as b, createVNode as y } from "vue";
|
|
2
2
|
import { useI18n as E } from "vue-i18n";
|
|
3
|
-
import { P as V, i as R } from "./index-
|
|
4
|
-
import { u as S } from "./platform-
|
|
3
|
+
import { P as V, i as R } from "./index-BVU76sBO.js";
|
|
4
|
+
import { u as S } from "./platform-PZpUkkMS.js";
|
|
5
5
|
import { b as B } from "./routeResource-DlTsGTg_.js";
|
|
6
6
|
import { _ as F } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
7
7
|
import { u as L } from "./useLoad-M7V-AVwR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { hasInjectionContext as lt, inject as ot, shallowRef as xe, computed as k, watch as Ve, toValue as Se, ref as ie, getCurrentScope as nt, onScopeDispose as st, defineComponent as be, openBlock as u, createElementBlock as y, createVNode as O, unref as t, createElementVNode as i, toDisplayString as g, Fragment as ee, renderList as le, createCommentVNode as F, createBlock as W, mergeProps as ve, withCtx as q, createTextVNode as G, normalizeClass as ue, useTemplateRef as fe, withModifiers as Ke, withDirectives as Le, vModelText as Fe, nextTick as at, onBeforeUnmount as rt, onMounted as it, renderSlot as ge, useSlots as We, createSlots as Qe, normalizeProps as Xe, guardReactiveProps as Je } from "vue";
|
|
2
2
|
import { routerKey as ct } from "vue-router";
|
|
3
3
|
import { i as qe, a as ut } from "./error-CD7x0Jrz.js";
|
|
4
|
-
import { a as dt, d as Re, o as ft, L as Te, e as je, w as pt, b as vt } from "./http-
|
|
4
|
+
import { a as dt, d as Re, o as ft, L as Te, e as je, w as pt, b as vt } from "./http-BFfkA7gN.js";
|
|
5
5
|
import { a as mt } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js";
|
|
6
6
|
import { useI18n as he } from "vue-i18n";
|
|
7
7
|
import { _ as ce, u as Ne } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as B, useTemplateRef as C, computed as y, ref as v, openBlock as D, createBlock as z, unref as r, withCtx as m, createVNode as F, createElementVNode as b, normalizeClass as $, toDisplayString as h } from "vue";
|
|
2
2
|
import { useI18n as q } from "vue-i18n";
|
|
3
3
|
import { a as k } from "./error-CD7x0Jrz.js";
|
|
4
|
-
import { u as V, _ as N } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as V, _ as N } from "./CollectionPage.vue_vue_type_script_setup_true_lang-BrbQ0Y5d.js";
|
|
5
5
|
import { u as P } from "./describeError-B-NMa--w.js";
|
|
6
6
|
import { u as I } from "./format-D8X4zsx6.js";
|
|
7
|
-
import { e as a, R as O } from "./index-
|
|
7
|
+
import { e as a, R as O } from "./index-C3CzOub7.js";
|
|
8
8
|
import { _ as W } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
9
9
|
import { t as i } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { u as Y } from "./useLoad-M7V-AVwR.js";
|
|
11
|
-
import { u as j } from "./platform-
|
|
12
|
-
import { a as G, r as H } from "./http-
|
|
11
|
+
import { u as j } from "./platform-PZpUkkMS.js";
|
|
12
|
+
import { a as G, r as H } from "./http-BFfkA7gN.js";
|
|
13
13
|
function J(u) {
|
|
14
14
|
return G({
|
|
15
15
|
id: "events.deadletters",
|
|
@@ -8,9 +8,9 @@ import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-BUrYkjmF.
|
|
|
8
8
|
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-C3FbRQW7.js";
|
|
9
9
|
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-CP2WeU36.js";
|
|
10
10
|
import { u as A } from "./useSaveChrome-7huA3FzR.js";
|
|
11
|
-
import { P as D, b as G, i as I } from "./index-
|
|
11
|
+
import { P as D, b as G, i as I } from "./index-BVU76sBO.js";
|
|
12
12
|
import { t as M } from "./toast-CqSDTWRX.js";
|
|
13
|
-
import { u as O } from "./platform-
|
|
13
|
+
import { u as O } from "./platform-PZpUkkMS.js";
|
|
14
14
|
import { b as U } from "./routeResource-DlTsGTg_.js";
|
|
15
15
|
import { u as j } from "./fieldMessages-6HVzSDqG.js";
|
|
16
16
|
import { _ as $ } from "./ActionRow.vue_vue_type_script_setup_true_lang-QPvYudWc.js";
|
|
@@ -4,8 +4,8 @@ import { useRoute as k, useRouter as R } from "vue-router";
|
|
|
4
4
|
import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js";
|
|
5
5
|
import { _ as b } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
6
6
|
import { u as g } from "./useLoad-M7V-AVwR.js";
|
|
7
|
-
import { a as x, c as u } from "./index-
|
|
8
|
-
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { a as x, c as u } from "./index-CvJSAsfk.js";
|
|
8
|
+
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-Hr0WgL1K.js";
|
|
9
9
|
const V = /* @__PURE__ */ _({
|
|
10
10
|
__name: "NewRolePage",
|
|
11
11
|
setup(h) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as A, watch as X, openBlock as v, createBlock as S, unref as e, withCtx as u, createVNode as r, mergeProps as E, useModel as pe, useId as fe, useTemplateRef as J, ref as w, onMounted as me, onBeforeUnmount as ve, computed as M, createElementBlock as I, withModifiers as _e, toDisplayString as b, createCommentVNode as W, createElementVNode as x, createTextVNode as N, Fragment as le, mergeModels as oe } from "vue";
|
|
2
2
|
import { useI18n as R } from "vue-i18n";
|
|
3
3
|
import { a as ge } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js";
|
|
4
|
-
import { u as L } from "./platform-
|
|
4
|
+
import { u as L } from "./platform-PZpUkkMS.js";
|
|
5
5
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
6
6
|
import { u as Y } from "./useLoad-M7V-AVwR.js";
|
|
7
|
-
import { i as k, d as G } from "./index-
|
|
7
|
+
import { i as k, d as G } from "./index-BVU76sBO.js";
|
|
8
8
|
import { u as Z } from "./FormErrors.vue_vue_type_script_setup_true_lang-DGOSc-PS.js";
|
|
9
9
|
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-BUrYkjmF.js";
|
|
10
10
|
import { _ as U } from "./TextField.vue_vue_type_script_setup_true_lang-CP2WeU36.js";
|
|
@@ -9,12 +9,12 @@ import { u as ae } from "./useSaveChrome-7huA3FzR.js";
|
|
|
9
9
|
import { t as oe } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { _ as S } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
11
11
|
import { _ as E } from "./Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js";
|
|
12
|
-
import { d as G, u as J, p as ne, o as R, r as D, g as H, s as le, e as re, a as ie, f as ce, b as ue, h as de } from "./index-
|
|
12
|
+
import { d as G, u as J, p as ne, o as R, r as D, g as H, s as le, e as re, a as ie, f as ce, b as ue, h as de } from "./index-CvJSAsfk.js";
|
|
13
13
|
import { _ as me } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
14
14
|
import { _ as fe } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
|
|
15
15
|
import { _ as pe } from "./SegmentedField.vue_vue_type_script_setup_true_lang-Dg-_ZjgR.js";
|
|
16
16
|
import { _ as _e } from "./SwitchField.vue_vue_type_script_setup_true_lang-ALvJisiP.js";
|
|
17
|
-
import { u as ge } from "./platform-
|
|
17
|
+
import { u as ge } from "./platform-PZpUkkMS.js";
|
|
18
18
|
const ve = {
|
|
19
19
|
class: "flex min-w-0 flex-col gap-4 lg:grid lg:grid-cols-[15rem_minmax(0,1fr)] lg:items-start lg:gap-8",
|
|
20
20
|
"data-test": "permission-tree"
|
|
@@ -8,16 +8,16 @@ import { u as Z } from "./describeError-B-NMa--w.js";
|
|
|
8
8
|
import { _ as ee } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
9
9
|
import { t as q } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { _ as oe } from "./RecordHeader.vue_vue_type_script_setup_true_lang-szzWzdDu.js";
|
|
11
|
-
import { u as te } from "./platform-
|
|
11
|
+
import { u as te } from "./platform-PZpUkkMS.js";
|
|
12
12
|
import { a as ae, u as le } from "./routeResource-DlTsGTg_.js";
|
|
13
13
|
import { a as se } from "./ResourcePage.vue_vue_type_script_setup_true_lang-BFaaFQSm.js";
|
|
14
14
|
import { _ as re } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
15
15
|
import { _ as H } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
16
|
-
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-
|
|
16
|
+
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-CvJSAsfk.js";
|
|
17
17
|
import { _ as J } from "./SelectField.vue_vue_type_script_setup_true_lang-C3FbRQW7.js";
|
|
18
18
|
import { u as ie, _ as ue } from "./useCommand-Cj-APj-P.js";
|
|
19
19
|
import { _ as me } from "./Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
20
|
-
import { _ as pe } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { _ as pe } from "./RoleEditor.vue_vue_type_script_setup_true_lang-Hr0WgL1K.js";
|
|
21
21
|
const de = { "data-test": "role-replace" }, fe = /* @__PURE__ */ I({
|
|
22
22
|
__name: "ReplaceRoleDialog",
|
|
23
23
|
props: {
|
|
@@ -7,11 +7,11 @@ import { _ as U } from "./FormGroup.vue_vue_type_script_setup_true_lang-DSwSRsA5
|
|
|
7
7
|
import { e as j } from "./control-B4SdblL6.js";
|
|
8
8
|
import { _ as D } from "./TextField.vue_vue_type_script_setup_true_lang-CP2WeU36.js";
|
|
9
9
|
import { a as I } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js";
|
|
10
|
-
import { u as K } from "./platform-
|
|
10
|
+
import { u as K } from "./platform-PZpUkkMS.js";
|
|
11
11
|
import { _ as T } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
12
12
|
import { _ as q } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
13
13
|
import { u as z } from "./useLoad-M7V-AVwR.js";
|
|
14
|
-
import { u as G, a as H, b as J, c as x } from "./index-
|
|
14
|
+
import { u as G, a as H, b as J, c as x } from "./index-CvJSAsfk.js";
|
|
15
15
|
const M = {
|
|
16
16
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
17
17
|
"data-test": "roles-index"
|
|
@@ -5,7 +5,7 @@ import { _ as q } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.
|
|
|
5
5
|
import { _ as G } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
6
6
|
import { a as re } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
import { u as ie } from "./access-DmAceEo5.js";
|
|
8
|
-
import { u as ce, a as ue } from "./sections-
|
|
8
|
+
import { u as ce, a as ue } from "./sections-CeZl-Jxg.js";
|
|
9
9
|
import { p as de } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-CxU9aNRQ.js";
|
|
10
10
|
import { p as me } from "./sectionIndex-BS0ic5W7.js";
|
|
11
11
|
import { _ as K, a as pe } from "./SectionList.vue_vue_type_script_setup_true_lang-BJnz2ROc.js";
|
|
@@ -2,10 +2,10 @@ import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, ope
|
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
3
|
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
4
|
import { u as A } from "./describeError-B-NMa--w.js";
|
|
5
|
-
import { P as D, b as L, e as O, i as g, d as T } from "./index-
|
|
5
|
+
import { P as D, b as L, e as O, i as g, d as T } from "./index-BVU76sBO.js";
|
|
6
6
|
import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
7
7
|
import { t as b } from "./toast-CqSDTWRX.js";
|
|
8
|
-
import { u as V } from "./platform-
|
|
8
|
+
import { u as V } from "./platform-PZpUkkMS.js";
|
|
9
9
|
import { b as I } from "./routeResource-DlTsGTg_.js";
|
|
10
10
|
import { _ as j } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
11
11
|
import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
@@ -15,8 +15,8 @@ import { _ as W } from "./FormView.vue_vue_type_script_setup_true_lang-BUrYkjmF.
|
|
|
15
15
|
import { _ as E } from "./TimeField.vue_vue_type_script_setup_true_lang-DBxKAWRo.js";
|
|
16
16
|
import { a as k, n as X } from "./useTypedEntry-C7k7Dyl-.js";
|
|
17
17
|
import { _ as Y } from "./PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js";
|
|
18
|
-
import { n as q } from "./index-
|
|
19
|
-
import { u as ee } from "./platform-
|
|
18
|
+
import { n as q } from "./index-C3CzOub7.js";
|
|
19
|
+
import { u as ee } from "./platform-PZpUkkMS.js";
|
|
20
20
|
import { u as te } from "./useLoad-M7V-AVwR.js";
|
|
21
21
|
function ne() {
|
|
22
22
|
const { t: s, te: t } = v();
|
|
@@ -6,9 +6,9 @@ import { u as D } from "./format-D8X4zsx6.js";
|
|
|
6
6
|
import { _ as p } from "./FormGroup.vue_vue_type_script_setup_true_lang-DSwSRsA5.js";
|
|
7
7
|
import { e as b } from "./control-B4SdblL6.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-
|
|
9
|
+
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-BVU76sBO.js";
|
|
10
10
|
import { t as h } from "./toast-CqSDTWRX.js";
|
|
11
|
-
import { u as j, h as G } from "./platform-
|
|
11
|
+
import { u as j, h as G } from "./platform-PZpUkkMS.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
14
|
import { _ as K } from "./ActionRow.vue_vue_type_script_setup_true_lang-QPvYudWc.js";
|
|
@@ -5,8 +5,8 @@ import { _ as I } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js
|
|
|
5
5
|
import { _ as N } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
6
6
|
import { _ as S } from "./FormView.vue_vue_type_script_setup_true_lang-BUrYkjmF.js";
|
|
7
7
|
import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-CP2WeU36.js";
|
|
8
|
-
import { r as $ } from "./guards-
|
|
9
|
-
import { u as C, a as E } from "./index-
|
|
8
|
+
import { r as $ } from "./guards-BJZjc3FZ.js";
|
|
9
|
+
import { u as C, a as E } from "./index-BVU76sBO.js";
|
|
10
10
|
const V = { class: "flex flex-1 flex-col items-center justify-center gap-8" }, k = { class: "text-xl font-semibold text-content-strong" }, H = /* @__PURE__ */ d({
|
|
11
11
|
__name: "SignInPage",
|
|
12
12
|
setup(q) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, ref as m, watch as p, openBlock as c, createElementBlock as v, createVNode as i, unref as e, withCtx as w, createBlock as x, createCommentVNode as y, createElementVNode as V, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
|
-
import { P as S, i as b } from "./index-
|
|
4
|
-
import { u as k } from "./platform-
|
|
3
|
+
import { P as S, i as b } from "./index-BVU76sBO.js";
|
|
4
|
+
import { u as k } from "./platform-PZpUkkMS.js";
|
|
5
5
|
import { b as I } from "./routeResource-DlTsGTg_.js";
|
|
6
6
|
import { _ as R } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
7
7
|
import { u as C } from "./useLoad-M7V-AVwR.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as R, openBlock as q, createBlock as P, unref as e, withCtx as u, createVNode as t, mergeProps as L, provide as N, computed as g, useTemplateRef as $, createElementVNode as x, toDisplayString as C, createTextVNode as j } from "vue";
|
|
2
2
|
import { useI18n as A } from "vue-i18n";
|
|
3
|
-
import { a as F } from "./neighbors-
|
|
3
|
+
import { a as F } from "./neighbors-RVQ4O3Qv.js";
|
|
4
4
|
import { _ as H } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
5
5
|
import { u as J } from "./describeError-B-NMa--w.js";
|
|
6
|
-
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-
|
|
6
|
+
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-BVU76sBO.js";
|
|
7
7
|
import { _ as se } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
8
8
|
import { t as k } from "./toast-CqSDTWRX.js";
|
|
9
|
-
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as E } from "./platform-
|
|
9
|
+
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-BYRc0-qh.js";
|
|
10
|
+
import { u as E } from "./platform-PZpUkkMS.js";
|
|
11
11
|
import { a as te } from "./routeResource-DlTsGTg_.js";
|
|
12
12
|
import { a as oe } from "./ResourcePage.vue_vue_type_script_setup_true_lang-BFaaFQSm.js";
|
|
13
13
|
import { A as re } from "./access-DmAceEo5.js";
|
|
@@ -18,7 +18,7 @@ import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DSwSRsA5
|
|
|
18
18
|
import { e as B } from "./control-B4SdblL6.js";
|
|
19
19
|
import { u as z, _ as K } from "./useCommand-Cj-APj-P.js";
|
|
20
20
|
import { u as U } from "./fieldMessages-6HVzSDqG.js";
|
|
21
|
-
import { u as ce, s as le } from "./status-
|
|
21
|
+
import { u as ce, s as le } from "./status-8KH7PITT.js";
|
|
22
22
|
import { _ as M } from "./TextField.vue_vue_type_script_setup_true_lang-CP2WeU36.js";
|
|
23
23
|
const ue = /* @__PURE__ */ R({
|
|
24
24
|
__name: "DeactivateDialog",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as U, openBlock as p, createBlock as C, unref as e, withCtx as c, createVNode as r, mergeProps as i, useTemplateRef as V, computed as q, createTextVNode as z, toDisplayString as $, createCommentVNode as A, createElementBlock as S, normalizeClass as N } from "vue";
|
|
2
2
|
import { useI18n as B } from "vue-i18n";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-BrbQ0Y5d.js";
|
|
5
5
|
import { _ as I } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
6
6
|
import { u as F } from "./format-D8X4zsx6.js";
|
|
7
|
-
import { u as L } from "./platform-
|
|
7
|
+
import { u as L } from "./platform-PZpUkkMS.js";
|
|
8
8
|
import { _ as G } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
9
|
-
import { i as K, f as E, M as W } from "./index-
|
|
10
|
-
import { U as j, u as H, s as J } from "./status-
|
|
9
|
+
import { i as K, f as E, M as W } from "./index-BVU76sBO.js";
|
|
10
|
+
import { U as j, u as H, s as J } from "./status-8KH7PITT.js";
|
|
11
11
|
import { u as O } from "./environment-Dva-SG8D.js";
|
|
12
12
|
import { u as Q } from "./languages-BShG9LpE.js";
|
|
13
13
|
import { _ as X } from "./FormGroup.vue_vue_type_script_setup_true_lang-DSwSRsA5.js";
|
package/dist/access/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-
|
|
1
|
+
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-CvJSAsfk.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BindingRow,
|
|
4
4
|
c as PersonAccess,
|
package/dist/app/index.js
CHANGED
|
@@ -10,13 +10,13 @@ import { coreMessages as oe, createMessageRuntime as We } from "../i18n/index.js
|
|
|
10
10
|
import { i as Be, a as He } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
11
11
|
import { i as Ve, b as Ge } from "../bottomDock-BZEiOPYZ.js";
|
|
12
12
|
import { i as Je, p as ze } from "../chrome-nUcmVu8G.js";
|
|
13
|
-
import { i as Qe, g as Ue } from "../platform-
|
|
13
|
+
import { i as Qe, g as Ue } from "../platform-PZpUkkMS.js";
|
|
14
14
|
import { c as Xe, A as Ye, r as re } from "../access-DmAceEo5.js";
|
|
15
15
|
import { c as Ze, _ as et } from "../NoAccess.vue_vue_type_script_setup_true_lang-DWxq-MTM.js";
|
|
16
|
-
import { i as tt } from "../guards-
|
|
17
|
-
import { b as st, c as ot, n as ae } from "../navigation-
|
|
18
|
-
import { c as rt, s as ne } from "../contributions-
|
|
19
|
-
import { S as Pt } from "../contributions-
|
|
16
|
+
import { i as tt } from "../guards-BJZjc3FZ.js";
|
|
17
|
+
import { b as st, c as ot, n as ae } from "../navigation-DpcDF0rX.js";
|
|
18
|
+
import { c as rt, s as ne } from "../contributions-BVBZP5Jb.js";
|
|
19
|
+
import { S as Pt } from "../contributions-BVBZP5Jb.js";
|
|
20
20
|
import { a as ie } from "../environment-Dva-SG8D.js";
|
|
21
21
|
import { u as Bt } from "../environment-Dva-SG8D.js";
|
|
22
22
|
import { b as ce, c as le } from "../describeError-B-NMa--w.js";
|
package/dist/collection/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as O, L as j, a as U, h as G, l as X, r as Z } from "../http-
|
|
2
|
-
import { _ as H, a as J, u as K } from "../CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as W, a as Y } from "../neighbors-
|
|
1
|
+
import { D as O, L as j, a as U, h as G, l as X, r as Z } from "../http-BFfkA7gN.js";
|
|
2
|
+
import { _ as H, a as J, u as K } from "../CollectionPage.vue_vue_type_script_setup_true_lang-BrbQ0Y5d.js";
|
|
3
|
+
import { u as W, a as Y } from "../neighbors-RVQ4O3Qv.js";
|
|
4
4
|
import { a as te, b as se } from "../rowLayout-D1vrdy0s.js";
|
|
5
5
|
import { _ as ae } from "../DataTable.vue_vue_type_script_setup_true_lang-DPuH84I7.js";
|
|
6
6
|
import { defineComponent as y, openBlock as c, createElementBlock as d, Fragment as h, renderList as v, createBlock as k, unref as f, withCtx as C, normalizeClass as m, createVNode as p, createCommentVNode as g, computed as w, toValue as E } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, h as l } from "vue";
|
|
2
2
|
import { d as u } from "./context-Ch1r4fdN.js";
|
|
3
|
-
import { h as a } from "./platform-
|
|
3
|
+
import { h as a } from "./platform-PZpUkkMS.js";
|
|
4
4
|
function h(o, n) {
|
|
5
5
|
const t = o.map(({ contribution: e }) => e).sort((e, r) => (e.order ?? 0) - (r.order ?? 0));
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { hasInjectionContext as $, inject as _, watch as O } from "vue";
|
|
2
|
-
import { g as j } from "./platform-
|
|
2
|
+
import { g as j } from "./platform-PZpUkkMS.js";
|
|
3
3
|
const k = [5, 8, 10, 15, 25, 50, 100], A = 25;
|
|
4
4
|
function X(e) {
|
|
5
5
|
const t = `defineCollection("${e.id}")`;
|
package/dist/identity/index.js
CHANGED
|
@@ -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-
|
|
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-BVU76sBO.js";
|
|
2
2
|
export {
|
|
3
3
|
t as SignInAsButton,
|
|
4
4
|
n as identityFeature,
|
|
@@ -7,7 +7,7 @@ import { defineComponent as E, computed as b, watch as $, openBlock as x, create
|
|
|
7
7
|
import { u as pe } from "./environment-Dva-SG8D.js";
|
|
8
8
|
import { u as P } from "./describeError-B-NMa--w.js";
|
|
9
9
|
import { t as k } from "./toast-CqSDTWRX.js";
|
|
10
|
-
import { u as A, h as q, f as M } from "./platform-
|
|
10
|
+
import { u as A, h as q, f as M } from "./platform-PZpUkkMS.js";
|
|
11
11
|
import { a as R } from "./error-CD7x0Jrz.js";
|
|
12
12
|
import { useI18n as C } from "vue-i18n";
|
|
13
13
|
import { useRouter as J, useRoute as de } from "vue-router";
|
|
@@ -23,7 +23,7 @@ import { u as be } from "./FormErrors.vue_vue_type_script_setup_true_lang-DGOSc-
|
|
|
23
23
|
import { u as we } from "./format-D8X4zsx6.js";
|
|
24
24
|
import { _ as xe } from "./AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
|
|
25
25
|
import { b as Ee } from "./routeResource-DlTsGTg_.js";
|
|
26
|
-
import { _ as Se } from "./AccessGate.vue_vue_type_script_setup_true_lang-
|
|
26
|
+
import { _ as Se } from "./AccessGate.vue_vue_type_script_setup_true_lang-J5HoyGNJ.js";
|
|
27
27
|
const w = {
|
|
28
28
|
login: i("POST", "/v1/auth/login", { public: !0 }),
|
|
29
29
|
refresh: i("POST", "/v1/auth/refresh", { public: !0 }),
|
|
@@ -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-
|
|
318
|
+
login: { name: "login", path: "/login", component: () => import("./SignInPage-ft3unWwX.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-
|
|
337
|
+
index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-B9WUrImn.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-
|
|
361
|
+
index: { name: "users.index", path: "/users", component: () => import("./UsersList-D3b3DGN5.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-
|
|
365
|
+
component: () => import("./UserRecord-BO5-wsYt.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-
|
|
369
|
-
{ name: "users.record.signin", path: "signin", component: () => import("./SignIn-
|
|
370
|
-
{ name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-
|
|
371
|
-
{ name: "users.record.signins", path: "signins", component: () => import("./SignIns-
|
|
372
|
-
{ name: "users.record.changes", path: "changes", component: () => import("./Changes-
|
|
373
|
-
{ name: "users.record.activity", path: "activity", component: () => import("./Activity-
|
|
368
|
+
{ name: "users.record.general", path: "general", component: () => import("./General-tsRC866T.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-DQzS20kM.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-BDu3nMmz.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-C3h_YIkc.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-BQG7IV49.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-B6R8Jghz.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
|
|
374
374
|
]
|
|
375
375
|
}
|
|
376
376
|
});
|
|
@@ -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-
|
|
34
|
+
index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-CJZSWjsn.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-
|
|
36
|
+
index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-CA7YCy6K.js"), meta: { titleKey: "core.notifications.settings.title" } }
|
|
37
37
|
}), Te = /* @__PURE__ */ z({
|
|
38
38
|
__name: "SettingsMenuItem",
|
|
39
39
|
setup(o) {
|
|
@@ -11,13 +11,13 @@ import { _ as V } from "./FormGroup.vue_vue_type_script_setup_true_lang-DSwSRsA5
|
|
|
11
11
|
import { e as U } from "./control-B4SdblL6.js";
|
|
12
12
|
import { _ as Te } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
13
13
|
import { t as ee } from "./toast-CqSDTWRX.js";
|
|
14
|
-
import { _ as ce } from "./AccessGate.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { _ as ce } from "./AccessGate.vue_vue_type_script_setup_true_lang-J5HoyGNJ.js";
|
|
15
15
|
import { _ as Oe } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
16
16
|
import { u as Ae } from "./useLoad-M7V-AVwR.js";
|
|
17
17
|
import { _ as De, a as Ke } from "./SelectField.vue_vue_type_script_setup_true_lang-C3FbRQW7.js";
|
|
18
18
|
import { _ as Be } from "./SegmentedField.vue_vue_type_script_setup_true_lang-Dg-_ZjgR.js";
|
|
19
19
|
import { u as Pe, _ as Ue } from "./useCommand-Cj-APj-P.js";
|
|
20
|
-
import { u as Fe } from "./platform-
|
|
20
|
+
import { u as Fe } from "./platform-PZpUkkMS.js";
|
|
21
21
|
import { _ as Ge } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
22
22
|
import { u as Me } from "./mediaQuery-CygcXmFW.js";
|
|
23
23
|
import { _ as Ve } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
@@ -43,12 +43,12 @@ const C = {
|
|
|
43
43
|
viewAccess: "iam.user:view",
|
|
44
44
|
manageBindings: "iam.user:manage"
|
|
45
45
|
}, re = Ee({
|
|
46
|
-
roles: { name: "access.roles", path: "/iam/roles", component: () => import("./RolesPage-
|
|
47
|
-
newRole: { name: "access.roles.new", path: "/iam/roles/new", component: () => import("./NewRolePage-
|
|
46
|
+
roles: { name: "access.roles", path: "/iam/roles", component: () => import("./RolesPage-DkMAJZR6.js"), meta: { access: F.viewRoles, titleKey: "core.access.title" } },
|
|
47
|
+
newRole: { name: "access.roles.new", path: "/iam/roles/new", component: () => import("./NewRolePage-L57Zg1Mg.js"), meta: { access: F.manageRoles, titleKey: "core.access.new_title" } },
|
|
48
48
|
role: {
|
|
49
49
|
name: "access.role",
|
|
50
50
|
path: "/iam/roles/:ref",
|
|
51
|
-
component: () => import("./RolePage-
|
|
51
|
+
component: () => import("./RolePage-uezn-Og1.js"),
|
|
52
52
|
// A role's ref (its key, or the id of a custom one) swaps in place when a link leads to another role.
|
|
53
53
|
meta: { access: F.viewRoles, titleKey: "core.access.title", remountOnParam: "ref" }
|
|
54
54
|
}
|
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.
|
|
2
|
+
export declare const version = "0.4.26";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as k } from "vue";
|
|
2
2
|
import { d as y } from "./context-Ch1r4fdN.js";
|
|
3
|
-
import { h as N } from "./platform-
|
|
3
|
+
import { h as N } from "./platform-PZpUkkMS.js";
|
|
4
4
|
function F(l, a = {}) {
|
|
5
5
|
const i = /* @__PURE__ */ new Map(), o = [];
|
|
6
6
|
for (const e of l) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as j, ref as z, shallowRef as I, watch as F, getCurrentScope as J, onScopeDispose as Q } from "vue";
|
|
2
2
|
import { useRoute as O } from "vue-router";
|
|
3
3
|
import { i as N } from "./error-CD7x0Jrz.js";
|
|
4
|
-
import { L as k, d as B, e as D, o as U, q as V } from "./http-
|
|
4
|
+
import { L as k, d as B, e as D, o as U, q as V } from "./http-BFfkA7gN.js";
|
|
5
5
|
function K(l, t, n, g) {
|
|
6
6
|
return typeof t == "string" ? t : { ...t, query: { ...t.query, [n]: D(l, g) } };
|
|
7
7
|
}
|
package/dist/page/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { _ as ue } from "../RecordHeader.vue_vue_type_script_setup_true_lang-szz
|
|
|
8
8
|
import { c as pe, i as fe, p as me, a as be, u as ge, b as ve } from "../chrome-nUcmVu8G.js";
|
|
9
9
|
import { s as z, u as I } from "../sectionIndex-BS0ic5W7.js";
|
|
10
10
|
import { p as _e, a as xe } from "../sectionIndex-BS0ic5W7.js";
|
|
11
|
-
import { _ as ye } from "../SectionNavigator.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as ye } from "../SectionNavigator.vue_vue_type_script_setup_true_lang-BYRc0-qh.js";
|
|
12
12
|
import { a as Se, _ as Ce } from "../SectionList.vue_vue_type_script_setup_true_lang-BJnz2ROc.js";
|
|
13
13
|
import { _ as A } from "../Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
14
14
|
const K = ["aria-label"], M = ["aria-label"], N = ["aria-selected", "tabindex", "onClick"], R = { class: "relative" }, E = {
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { BootstrapConfig } from "./bootstrap";
|
|
2
|
+
import type { SessionUser } from "./session";
|
|
1
3
|
export { createAccessClient } from "./access";
|
|
2
4
|
export type { AccessClient, AccessClientOptions, AccessClause, AccessQualifier, AccessScope, AccessSnapshot, HeldAccess } from "./access";
|
|
3
5
|
export { BootstrapError, BootstrapFields, parseBootstrap, readBootstrap } from "./bootstrap";
|
|
@@ -9,8 +11,9 @@ export { httpSessionAdapter, parseSessionPayload } from "./httpSession";
|
|
|
9
11
|
export type { HttpSessionOptions, UserParser } from "./httpSession";
|
|
10
12
|
export { createPlatform, installPlatform, platformKey, usePlatform } from "./platform";
|
|
11
13
|
export type { Platform, PlatformOptions } from "./platform";
|
|
14
|
+
export { useSessionUser } from "./sessionUser";
|
|
12
15
|
export { beforeSignOutTimeout, createSession, heldSession } from "./session";
|
|
13
|
-
export type { BeforeSignOutHook, Session, SessionAdapter, SessionEnd, SessionImpersonator, SessionOptions, SessionSnapshot, SessionState, SessionUser } from "./session";
|
|
16
|
+
export type { BeforeSignOutHook, Session, SessionAdapter, SessionEnd, SessionImpersonator, SessionOptions, SessionPatch, SessionSnapshot, SessionState, SessionUser } from "./session";
|
|
14
17
|
/**
|
|
15
18
|
* The permission identifiers of the application. The library declares none: an app adds its own by
|
|
16
19
|
* augmenting this interface (declaration merging, like `IconRegistry`), so route metadata and
|
|
@@ -26,3 +29,24 @@ export interface PermissionRegistry {
|
|
|
26
29
|
export type Permission = keyof PermissionRegistry extends never ? string : Extract<keyof PermissionRegistry, string>;
|
|
27
30
|
export { default as AccessGate } from "./AccessGate.vue";
|
|
28
31
|
export type { AccessGateProps } from "./AccessGate.vue";
|
|
32
|
+
/**
|
|
33
|
+
* The application's own session user and bootstrap config. The library declares neither: an app says
|
|
34
|
+
* once what they are by augmenting this interface (declaration merging, like `PermissionRegistry`), and
|
|
35
|
+
* `usePlatform()`, `useSessionUser()`, `createApplication` and `createTestPlatform` are typed from it, with no cast.
|
|
36
|
+
*
|
|
37
|
+
* declare module "@wssto2/vue-core/platform" {
|
|
38
|
+
* interface PlatformRegistry { user: AppUser; config: AppConfig }
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* Both keys are optional: a missing one leaves `SessionUser` / `BootstrapConfig`.
|
|
42
|
+
*/
|
|
43
|
+
export interface PlatformRegistry {
|
|
44
|
+
}
|
|
45
|
+
/** The registered session user (`PlatformRegistry["user"]`); `SessionUser` until the app declares one. */
|
|
46
|
+
export type RegisteredUser = PlatformRegistry extends {
|
|
47
|
+
user: infer U extends SessionUser;
|
|
48
|
+
} ? U : SessionUser;
|
|
49
|
+
/** The registered bootstrap config (`PlatformRegistry["config"]`); `BootstrapConfig` until the app declares one. */
|
|
50
|
+
export type RegisteredConfig = PlatformRegistry extends {
|
|
51
|
+
config: infer C extends BootstrapConfig;
|
|
52
|
+
} ? C : BootstrapConfig;
|