@wssto2/vue-core 0.5.4 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +3 -1
- package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-Bv-APkGf.js → ActionRow.vue_vue_type_script_setup_true_lang-D8NCXX4p.js} +1 -1
- package/dist/{Activity-DUjDaPfP.js → Activity-DGodh6BU.js} +4 -4
- package/dist/{Changes-B0tZO6BZ.js → Changes-38u4xY6e.js} +3 -3
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-o_Pj-JcD.js → CollectionPage.vue_vue_type_script_setup_true_lang-DPcCnrjr.js} +3 -3
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-CDg31ZU7.js → DateField.vue_vue_type_script_setup_true_lang-BxUuUypB.js} +1 -1
- package/dist/{DeadLetters-IgVHao84.js → DeadLetters-CeHfhFHP.js} +6 -5
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-CSgT4ITL.js → FormGroup.vue_vue_type_script_setup_true_lang-CNb2CK01.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-D31Hk3pJ.js → FormView.vue_vue_type_script_setup_true_lang-nyz8EkzM.js} +1 -1
- package/dist/{General-C40HxupS.js → General-BNTjPvat.js} +6 -6
- package/dist/{NewRolePage-Bhy8KJO1.js → NewRolePage-Btg7gzzH.js} +7 -6
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-BdS7BxuS.js → NumberField.vue_vue_type_script_setup_true_lang-C8um4ARi.js} +1 -1
- package/dist/PersonAccess.vue_vue_type_script_setup_true_lang-ClmawvYm.js +600 -0
- package/dist/{ProfilePage-Bf7dFzGd.js → ProfilePage-CoZyG11N.js} +9 -9
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-C6oloGIh.js → RoleEditor.vue_vue_type_script_setup_true_lang-Bs9bo0Zb.js} +30 -29
- package/dist/{RolePage-BjbvciTg.js → RolePage-CPlwZA6X.js} +37 -35
- package/dist/{RolesPage-DzVOgF4z.js → RolesPage-CdYdIHR4.js} +29 -27
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-DXe_iOS8.js → SegmentedField.vue_vue_type_script_setup_true_lang-B_hBL5f4.js} +1 -1
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BN4vzvV9.js → SelectField.vue_vue_type_script_setup_true_lang-CBZhGNpm.js} +4 -4
- package/dist/ServiceAccountDialog.vue_vue_type_script_setup_true_lang-DuvSSBbX.js +126 -0
- package/dist/ServiceAccountRecord-BtaUZuWU.js +511 -0
- package/dist/ServiceAccountsList-CcRJvNaf.js +137 -0
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-PuWIK-Wa.js → SessionList.vue_vue_type_script_setup_true_lang-VvBB2EZz.js} +2 -2
- package/dist/{Sessions-CRUObe5G.js → Sessions-DkGNO1FO.js} +2 -2
- package/dist/{SettingsPage-C0qEC0uI.js → SettingsPage-D4G1HGbG.js} +8 -8
- package/dist/{SignIn-Uy0Jujzz.js → SignIn-DS1YymqD.js} +4 -4
- package/dist/{SignInPage-CpVZfrLZ.js → SignInPage-BrmL0PUw.js} +3 -3
- package/dist/{SignIns-Cp5Gx2dk.js → SignIns-C7l7IPHQ.js} +1 -1
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-Dj5Aq8QT.js → SwitchField.vue_vue_type_script_setup_true_lang-DXZK89A3.js} +1 -1
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-BwfNNQEz.js → TextField.vue_vue_type_script_setup_true_lang-CX3LdZLK.js} +2 -2
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-aT1P8Xqr.js → TextareaField.vue_vue_type_script_setup_true_lang-BOtn_1GT.js} +1 -1
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-jPKPE1hc.js → TimeField.vue_vue_type_script_setup_true_lang-CbflIrq6.js} +1 -1
- package/dist/{UserRecord-DbSMnTbj.js → UserRecord-Du8M_kuk.js} +25 -25
- package/dist/{UsersList-9MicE2pG.js → UsersList-D3ydQice.js} +13 -13
- package/dist/access/api.d.ts +7 -8
- package/dist/access/context.d.ts +2 -7
- package/dist/access/feature.d.ts +0 -8
- package/dist/access/index.js +47 -15
- package/dist/collection/index.js +17 -16
- package/dist/form/index.js +586 -611
- package/dist/http-nz92KjdS.js +42 -0
- package/dist/i18n/index.js +32 -32
- package/dist/identity/index.d.ts +7 -0
- package/dist/identity/index.js +19 -15
- package/dist/identity/serviceaccounts/ApiKeysPanel.vue.d.ts +17 -0
- package/dist/identity/serviceaccounts/CreatedApiKeyDialog.vue.d.ts +53 -0
- package/dist/identity/serviceaccounts/NewApiKeyDialog.vue.d.ts +24 -0
- package/dist/identity/serviceaccounts/ServiceAccountDialog.vue.d.ts +22 -0
- package/dist/identity/serviceaccounts/ServiceAccountRecord.vue.d.ts +2 -0
- package/dist/identity/serviceaccounts/ServiceAccountsList.vue.d.ts +2 -0
- package/dist/identity/serviceaccounts/access.d.ts +4 -0
- package/dist/identity/serviceaccounts/api.d.ts +27 -0
- package/dist/identity/serviceaccounts/context.d.ts +14 -0
- package/dist/identity/serviceaccounts/feature.d.ts +23 -0
- package/dist/identity/serviceaccounts/form.d.ts +4 -0
- package/dist/identity/serviceaccounts/messages.d.ts +11 -0
- package/dist/identity/serviceaccounts/routes.d.ts +22 -0
- package/dist/{index-Ok29ucE3.js → index-Cmj9iZmT.js} +191 -168
- package/dist/{index-C-oM_Mnf.js → index-DH0MoFqg.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/copyText.d.ts +5 -0
- package/dist/modules/serviceaccount/entities.d.ts +127 -0
- package/dist/modules/serviceaccount/routes.d.ts +58 -0
- package/dist/modules/serviceaccount/schemas.d.ts +49 -0
- package/dist/{neighbors-Bv6vnWlW.js → neighbors-DNZuGlQH.js} +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{options-Bu0XbEpN.js → options-e_CAfvDQ.js} +3 -3
- package/dist/phone/index.js +1 -1
- package/dist/refusals-COPr15XZ.js +135 -0
- package/dist/routes-CVckt7Pj.js +19 -0
- package/dist/state-BC1Fc6U2.js +154 -0
- package/dist/{status-C78NpXyB.js → status-C8XtnK6m.js} +7 -6
- package/dist/styles.css +1 -1
- package/dist/{suggestions-ClyLexMO.js → suggestions-cPjs5gQz.js} +1 -1
- package/dist/{useCommand-DyuPTosF.js → useCommand-CfG727e8.js} +1 -1
- package/dist/{useGroupSheet-C2NyqWRp.js → useGroupSheet-BVcNDWbP.js} +2 -2
- package/dist/useRecordDialog-D65FF85F.js +30 -0
- package/package.json +2 -2
- package/dist/http-CdQowFlW.js +0 -194
- package/dist/index-BdGnA1Jh.js +0 -765
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0 — 2026-10-15
|
|
4
|
+
|
|
5
|
+
The service account screens, for go-core v1.9.0. ARV's own screens (list, record, keys, new-key sheet, the key shown once) move into the library, on the generated `serviceaccount` module types.
|
|
6
|
+
|
|
7
|
+
### Requires
|
|
8
|
+
- **go-core `v1.9.0`**: `identity.WithServiceAccounts` (the routes under `/v1/iam/service-accounts`, with the access routes of an account), the wire names `tenant` / `tenant_id` and `owner` / `owner_id`. `src/modules` is regenerated and gains `serviceaccount/`. **`vue` 3.5.19 or later**, unchanged.
|
|
9
|
+
|
|
10
|
+
### New
|
|
11
|
+
- **`serviceAccountsFeature({ tenants?, destination? })`** from `/identity`, with `serviceAccountsRoutes` (`serviceaccounts.index` at `/iam/service-accounts`, `serviceaccounts.record` at `/iam/service-accounts/:id`) and `serviceaccountRoutes`, `ServiceAccount`, `ApiKey`, `CreatedApiKey`, `AccountTenant` and the list types. It requires `accessFeature()`.
|
|
12
|
+
- **The list** in grouped rows: description, tenant (when the application has them), the person who answers, last call, live keys. Views Active / Inactive / All counted under the search, which reads name, description and the responsible person. *New service account* opens the new account on its *Access* tab.
|
|
13
|
+
- **An account's record** in tabs (`?tab=general | access | keys`): its data, its roles (`PersonAccess` with `{ kind: "service", id }`) and its keys; *Edit account* and *Deactivate account* (which asks first and cannot be undone) behind `iam.serviceaccount:manage`.
|
|
14
|
+
- **API keys**: each key with the start of it, who made it, last use and expiry; *New API key* (`:manage`; name and an optional expiry, the end of the chosen day), *Revoke* (`:revoke`, asks first). The secret is shown **once**, in a sheet with *Copy* (the clipboard, or the old selection copy on a page without one) that only *I have saved the key* closes, and is dropped when it does.
|
|
15
|
+
- **Tenants** (`tenants: { labelKey, options }`): the application's word for a tenant and the ones to offer. Whoever holds `:manage` outside every tenant may also make an account of the whole organization; anyone who holds it at one tenant has to choose one. Without `tenants` none is shown or asked.
|
|
16
|
+
- Texts in English, Croatian, Bosnian, Slovenian and Serbian (`core.serviceaccounts.*`).
|
|
17
|
+
- **`accessPermissions.manageServiceBindings`** (`iam.serviceaccount:manage`).
|
|
18
|
+
|
|
19
|
+
### Changed (no backward compatibility)
|
|
20
|
+
- **`accessFeature({ subjects })` is removed**, with `createAccessApi(http, subjects)`'s second argument, `AccessSubjects` and `SubjectRoutes`. A subject is a `user` or a `service` (go-core's `SubjectKind`), and go-core serves both: a `service` subject goes to `/v1/iam/service-accounts/:id/{access,scopes,bindings,bindings/:binding_id}` and `bindable-roles` with no configuration. An application that passed `subjects: { service: … }` deletes it.
|
|
21
|
+
- **`PersonAccess` offers *Add role* and removal by the subject's kind**: `iam.serviceaccount:manage` for a service account, `iam.user:manage` for a person (before, a service account's roles needed `iam.user:manage`).
|
|
22
|
+
|
|
23
|
+
### Docs
|
|
24
|
+
- New recipe [service accounts](docs/recipes/service-accounts.md); the access recipe's "Other kinds of subject" becomes "A service account's roles".
|
|
25
|
+
|
|
3
26
|
## 0.5.4 — 2026-10-14
|
|
4
27
|
|
|
5
28
|
A route says what its envelope's `meta` is, so a paged list reads its numbers with no cast. Needed by go-core v1.8.7's route tables.
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Its plan and rules are in [PLAN.md](PLAN.md).
|
|
|
18
18
|
| `@wssto2/vue-core/resource`, `/page` | `useRouteResource`, `ResourcePage`, `SectionNavigator`, `AdaptivePageShell` |
|
|
19
19
|
| `@wssto2/vue-core/button`, `/controls`, `/content`, `/state`, `/overlay`, `/modal`, `/icon` | the primitives |
|
|
20
20
|
| `@wssto2/vue-core/i18n`, `/format`, `/client` | messages, `useDescribeError`, formatting, `HttpClient` and `ApiError` |
|
|
21
|
-
| `@wssto2/vue-core/identity`, `/access` | go-core's module contracts (types, route tables) and, in `/identity`, `identityFeature` (sign-in page, language), `identityPlatform()` and `usersFeature` (users, "my profile"): [sign-in](docs/recipes/sign-in.md), [users](docs/recipes/users.md) |
|
|
21
|
+
| `@wssto2/vue-core/identity`, `/access` | go-core's module contracts (types, route tables) and, in `/identity`, `identityFeature` (sign-in page, language), `identityPlatform()` and `usersFeature` (users, "my profile") and `serviceAccountsFeature` (service accounts and their API keys): [sign-in](docs/recipes/sign-in.md), [users](docs/recipes/users.md), [service accounts](docs/recipes/service-accounts.md) |
|
|
22
22
|
| `@wssto2/vue-core/access` (screens) | `accessFeature({ catalogue })`: roles list and editor, compare, replace, a person's roles (`PersonAccess`) and what they can do: [roles and access](docs/recipes/access.md) |
|
|
23
23
|
| `@wssto2/vue-core/notifications` | go-core's notification and events modules: `notificationsFeature({ categories, deadLetters })`: the bell with the unread count, the inbox (popover, bottom sheet on phones), the live stream, the failed-events page: [notifications](docs/recipes/notifications.md) |
|
|
24
24
|
| `@wssto2/vue-core/testing` | `createTestPlatform`, `createTestApp`, fake transports: for your tests, [testing](docs/recipes/testing.md) |
|
|
@@ -243,6 +243,7 @@ declare module "@wssto2/vue-core/router" {
|
|
|
243
243
|
tickets: true;
|
|
244
244
|
accounts: true;
|
|
245
245
|
users: true;
|
|
246
|
+
serviceaccounts: true;
|
|
246
247
|
"iam.roles": true;
|
|
247
248
|
"events.deadletters": true;
|
|
248
249
|
}
|
|
@@ -334,6 +335,7 @@ The library's own texts are under the `core` namespace in English, Croatian, Bos
|
|
|
334
335
|
- [Typed routes](docs/recipes/typed-routes.md): generated routes, `client.request`, a list from a route
|
|
335
336
|
- [Sign-in](docs/recipes/sign-in.md): go-core's identity module: the sign-in page, the session wiring, the language, the module's committed types, the dev server
|
|
336
337
|
- [Users and profile](docs/recipes/users.md): the users list and a person's record, "my profile" with the e-mail change by code, opting out, extra sections, refusals
|
|
338
|
+
- [Service accounts](docs/recipes/service-accounts.md): the list and an account's record, its roles, API keys shown once, tenants, linking
|
|
337
339
|
- [Roles and access](docs/recipes/access.md): go-core's access module: the roles list and editor from your catalogue, a person's roles and effective access, where a role applies, the refusals
|
|
338
340
|
- [Notifications](docs/recipes/notifications.md): the bell, the inbox and the live stream, categories, the failed-events page, trying it against go-core's dev server
|
|
339
341
|
- [Theming](docs/recipes/theming.md): brand accent, dark mode, tokens, status tones and category hues
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as s, createBlock as d, unref as n, withCtx as f, createElementVNode as t, normalizeClass as m, toDisplayString as l, createElementBlock as u, createCommentVNode as p, createVNode as b } from "vue";
|
|
2
|
-
import { g as _ } from "./options-
|
|
2
|
+
import { g as _ } from "./options-e_CAfvDQ.js";
|
|
3
3
|
import { _ as x } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
4
4
|
const k = ["disabled"], y = { class: "flex min-w-0 flex-1 flex-col" }, h = {
|
|
5
5
|
key: 0,
|
|
@@ -3,10 +3,10 @@ import { useI18n as q } from "vue-i18n";
|
|
|
3
3
|
import { _ as D } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
4
4
|
import { _ as I } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
|
|
5
5
|
import { u as O } from "./format-D8X4zsx6.js";
|
|
6
|
-
import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { g as z } from "./options-
|
|
9
|
-
import { P as G, c as H, i as J } from "./index-
|
|
6
|
+
import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-BxUuUypB.js";
|
|
7
|
+
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-CNb2CK01.js";
|
|
8
|
+
import { g as z } from "./options-e_CAfvDQ.js";
|
|
9
|
+
import { P as G, c as H, i as J } from "./index-Cmj9iZmT.js";
|
|
10
10
|
import { u as K } from "./platform-Dx6STiwY.js";
|
|
11
11
|
import { b as M } from "./routeResource-CcYA75T2.js";
|
|
12
12
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-B0NfvG3B.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { P as V, i as R } from "./index-Cmj9iZmT.js";
|
|
4
4
|
import { u as S } from "./platform-Dx6STiwY.js";
|
|
5
5
|
import { b as B } from "./routeResource-CcYA75T2.js";
|
|
6
6
|
import { _ as F } from "./AsyncSection.vue_vue_type_script_setup_true_lang-B0NfvG3B.js";
|
|
@@ -8,8 +8,8 @@ import { u as L } from "./useLoad-W4tfxmm5.js";
|
|
|
8
8
|
import { _ as P } from "./Avatar.vue_vue_type_script_setup_true_lang-BPj_fkJR.js";
|
|
9
9
|
import { _ as I } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
|
|
10
10
|
import { u as O } from "./format-D8X4zsx6.js";
|
|
11
|
-
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { g as U } from "./options-
|
|
11
|
+
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-CNb2CK01.js";
|
|
12
|
+
import { g as U } from "./options-e_CAfvDQ.js";
|
|
13
13
|
import { _ as q } from "./PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js";
|
|
14
14
|
import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
15
15
|
import { _ as A } from "./ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.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 { a as qe, i as ut } from "./error-Bb_dr_Ay.js";
|
|
4
|
-
import { a as dt, d as Re, o as ft, L as Te, e as je, w as pt,
|
|
4
|
+
import { a as dt, d as Re, o as ft, L as Te, e as je, w as pt, r as vt } from "./state-BC1Fc6U2.js";
|
|
5
5
|
import { a as mt } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-GUTIXuNd.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";
|
|
@@ -14,8 +14,8 @@ import { u as bt, _ as gt } from "./rowLayout-BBFyLbOl.js";
|
|
|
14
14
|
import { _ as Ye } from "./Menu.vue_vue_type_script_setup_true_lang-DsFOeCVe.js";
|
|
15
15
|
import { _ as Ze } from "./Popover.vue_vue_type_script_setup_true_lang-C70GrCP7.js";
|
|
16
16
|
import { _ as we } from "./ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js";
|
|
17
|
-
import { _ as ht } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { _ as yt } from "./SelectField.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as ht } from "./NumberField.vue_vue_type_script_setup_true_lang-C8um4ARi.js";
|
|
18
|
+
import { _ as yt } from "./SelectField.vue_vue_type_script_setup_true_lang-CBZhGNpm.js";
|
|
19
19
|
import { a as _t } from "./mediaQuery-CygcXmFW.js";
|
|
20
20
|
import { _ as xt } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
|
|
21
21
|
import { t as ke } from "./toast-CqSDTWRX.js";
|
|
@@ -5,7 +5,7 @@ import { u as W } from "./format-D8X4zsx6.js";
|
|
|
5
5
|
import { _ as de } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
6
6
|
import { u as ue } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
import { _ as ce } from "./Popover.vue_vue_type_script_setup_true_lang-C70GrCP7.js";
|
|
8
|
-
import {
|
|
8
|
+
import { e as me, _ as fe, f as pe, b as be } from "./options-e_CAfvDQ.js";
|
|
9
9
|
import { e as q, f as j, m as X, g as Z, h as ve, j as ye, u as ke, k as ge, _ as he, l as xe, c as we } from "./useTypedEntry-C7k7Dyl-.js";
|
|
10
10
|
const _e = ["d", "m", "y"];
|
|
11
11
|
function $e(o) {
|
|
@@ -1,15 +1,16 @@
|
|
|
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 { i as k } from "./error-Bb_dr_Ay.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-DPcCnrjr.js";
|
|
5
5
|
import { u as P } from "./describeError-BqGAUZgX.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-DH0MoFqg.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-W4tfxmm5.js";
|
|
11
11
|
import { u as j } from "./platform-Dx6STiwY.js";
|
|
12
|
-
import { a as G
|
|
12
|
+
import { a as G } from "./state-BC1Fc6U2.js";
|
|
13
|
+
import { r as H } from "./http-nz92KjdS.js";
|
|
13
14
|
function J(u) {
|
|
14
15
|
return G({
|
|
15
16
|
id: "events.deadletters",
|
|
@@ -23,7 +24,7 @@ function J(u) {
|
|
|
23
24
|
defaults: { pageSize: 25 }
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
|
-
const K = ["title"], M = ["datetime"],
|
|
27
|
+
const K = ["title"], M = ["datetime"], ce = /* @__PURE__ */ B({
|
|
27
28
|
__name: "DeadLetters",
|
|
28
29
|
setup(u) {
|
|
29
30
|
const { t: e } = q(), { http: s, access: l } = j(), g = I(), w = P(), f = C("confirm"), L = y(() => [
|
|
@@ -100,5 +101,5 @@ const K = ["title"], M = ["datetime"], le = /* @__PURE__ */ B({
|
|
|
100
101
|
}
|
|
101
102
|
});
|
|
102
103
|
export {
|
|
103
|
-
|
|
104
|
+
ce as default
|
|
104
105
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as B, openBlock as d, createBlock as L, withCtx as N, createTextVNode as v, toDisplayString as m, unref as h, createCommentVNode as i, inject as C, provide as y, ref as R, useSlots as O, computed as n, shallowReactive as E, useTemplateRef as V, useId as A, createElementBlock as p, normalizeStyle as M, normalizeClass as G, createElementVNode as S, renderSlot as f } from "vue";
|
|
2
2
|
import { s as T, u as W } from "./sectionIndex-BS0ic5W7.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as $, h as j } from "./options-e_CAfvDQ.js";
|
|
4
4
|
import { useI18n as D } from "vue-i18n";
|
|
5
5
|
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
6
6
|
const H = /* @__PURE__ */ B({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, provide as f, computed as s, useTemplateRef as u, openBlock as t, createElementBlock as p, withModifiers as c, createBlock as d, createCommentVNode as b, renderSlot as _ } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { d as v } from "./options-e_CAfvDQ.js";
|
|
3
3
|
import { _ as k } from "./FormErrors.vue_vue_type_script_setup_true_lang-D7edzNTL.js";
|
|
4
4
|
const x = /* @__PURE__ */ n({
|
|
5
5
|
__name: "FormView",
|
|
@@ -3,17 +3,17 @@ import { useI18n as V } from "vue-i18n";
|
|
|
3
3
|
import { RouterLink as B } from "vue-router";
|
|
4
4
|
import { u as E } from "./format-D8X4zsx6.js";
|
|
5
5
|
import { u as T } from "./useResourceForm-CJfl8rj_.js";
|
|
6
|
-
import { _ as h } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as h } from "./FormGroup.vue_vue_type_script_setup_true_lang-CNb2CK01.js";
|
|
7
|
+
import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-nyz8EkzM.js";
|
|
8
|
+
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-CBZhGNpm.js";
|
|
9
|
+
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-CX3LdZLK.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-Cmj9iZmT.js";
|
|
12
12
|
import { t as M } from "./toast-CqSDTWRX.js";
|
|
13
13
|
import { u as O } from "./platform-Dx6STiwY.js";
|
|
14
14
|
import { b as U } from "./routeResource-CcYA75T2.js";
|
|
15
15
|
import { u as j } from "./fieldMessages-DTXpWnBd.js";
|
|
16
|
-
import { _ as $ } from "./ActionRow.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as $ } from "./ActionRow.vue_vue_type_script_setup_true_lang-D8NCXX4p.js";
|
|
17
17
|
import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
|
|
18
18
|
import { u as H } from "./languages-BShG9LpE.js";
|
|
19
19
|
const J = {
|
|
@@ -4,13 +4,14 @@ import { useRoute as k, useRouter as R } from "vue-router";
|
|
|
4
4
|
import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-GUTIXuNd.js";
|
|
5
5
|
import { _ as b } from "./AsyncSection.vue_vue_type_script_setup_true_lang-B0NfvG3B.js";
|
|
6
6
|
import { u as g } from "./useLoad-W4tfxmm5.js";
|
|
7
|
-
import {
|
|
8
|
-
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
|
|
7
|
+
import { u as x } from "./PersonAccess.vue_vue_type_script_setup_true_lang-ClmawvYm.js";
|
|
8
|
+
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-Bs9bo0Zb.js";
|
|
9
|
+
import { accessPages as u } from "./access/index.js";
|
|
10
|
+
const j = /* @__PURE__ */ _({
|
|
10
11
|
__name: "NewRolePage",
|
|
11
12
|
setup(h) {
|
|
12
|
-
const { t: o } = v(),
|
|
13
|
-
return (
|
|
13
|
+
const { t: o } = v(), s = k(), p = R(), m = x(), t = d(() => typeof s.query.copy == "string" ? s.query.copy : ""), c = g(({ signal: r }) => t.value ? m.role(t.value, { signal: r }) : Promise.resolve(null), { watch: t }), f = (r) => p.replace(u.role({ ref: r.ref }));
|
|
14
|
+
return (r, a) => (y(), w(e($), {
|
|
14
15
|
title: e(o)("core.access.new_title"),
|
|
15
16
|
description: t.value ? e(o)("core.access.new_copy_description") : e(o)("core.access.new_description"),
|
|
16
17
|
back: { label: e(o)("core.access.title"), to: e(u).roles },
|
|
@@ -38,5 +39,5 @@ const V = /* @__PURE__ */ _({
|
|
|
38
39
|
}
|
|
39
40
|
});
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
j as default
|
|
42
43
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as H, ref as _, computed as B, useTemplateRef as K, watch as R, openBlock as q, createBlock as J, mergeProps as L, unref as T, createSlots as Q, withCtx as $, createElementVNode as Z, normalizeClass as E, createElementBlock as G, toDisplayString as I, createCommentVNode as P, isRef as W, renderSlot as N, mergeDefaults as U } from "vue";
|
|
2
2
|
import { b as X } from "./controlSurface-t7OEFESJ.js";
|
|
3
3
|
import { u as Y } from "./format-D8X4zsx6.js";
|
|
4
|
-
import { a as ee,
|
|
4
|
+
import { a as ee, e as te, _ as le, f as ae, b as oe } from "./options-e_CAfvDQ.js";
|
|
5
5
|
function ne(c) {
|
|
6
6
|
const r = c.number(1234.5, { minimumFractionDigits: 1, maximumFractionDigits: 1, useGrouping: !0 }), u = /^\d(\D)\d/.exec(r)?.[1] ?? "";
|
|
7
7
|
return { decimal: r.charAt(r.length - 2) || ".", group: u === "." || u === "," ? u : "" };
|