@wssto2/vue-core 0.2.0 → 0.3.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/README.md +33 -0
- package/dist/AccessGate.vue_vue_type_script_setup_true_lang-DKX3PH2n.js +22 -0
- package/dist/AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js +76 -0
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-B7Lpfkf6.js +45 -0
- package/dist/Activity-DviO0VQ8.js +156 -0
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CeKK8_g5.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js} +48 -47
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-e4hzkzg3.js → AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js} +1 -1
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CWLB3xsR.js → AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js} +4 -4
- package/dist/{Banner.vue_vue_type_script_setup_true_lang-n_wGPIIu.js → Banner.vue_vue_type_script_setup_true_lang-Cib_YYpr.js} +1 -1
- package/dist/{BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js → BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-B1eZgLae.js → Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js} +1 -1
- package/dist/Changes-DlT5mN9G.js +129 -0
- package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-CXILftEc.js +1481 -0
- package/dist/DataTable.vue_vue_type_script_setup_true_lang-DSYgS9lC.js +52 -0
- package/dist/DateField.vue_vue_type_script_setup_true_lang-DMVjNsaM.js +1099 -0
- package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-DyhYHRyz.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-Cb3xJI1x.js} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js → EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js} +1 -1
- package/dist/FormErrors.vue_vue_type_script_setup_true_lang-DVgNBQ8p.js +276 -0
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-0mfG8TkU.js +136 -0
- package/dist/FormView.vue_vue_type_script_setup_true_lang-Bz2m3AtF.js +38 -0
- package/dist/General-BD-Hcz0a.js +145 -0
- package/dist/{Icon.vue_vue_type_script_lang-DtC4_mkz.js → Icon.vue_vue_type_script_lang-VvcV2Bzo.js} +46 -33
- package/dist/{IconTile.vue_vue_type_script_setup_true_lang-Csfv6Sel.js → IconTile.vue_vue_type_script_setup_true_lang-D7QgnUyN.js} +1 -1
- package/dist/KeyValue.vue_vue_type_script_setup_true_lang-wcZcvnow.js +35 -0
- package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CvwoT1JF.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js} +2 -2
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js → Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js} +61 -57
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-BQZM49gC.js → Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js} +4 -4
- package/dist/NewRolePage-Dla4YnMs.js +42 -0
- package/dist/NoAccess.vue_vue_type_script_setup_true_lang-8m9cNptR.js +31 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-CYRg7Kfg.js +113 -0
- package/dist/OtpInput.vue_vue_type_script_setup_true_lang-gp4FfWAH.js +95 -0
- package/dist/PageBar.vue_vue_type_script_setup_true_lang-Cfr5xsJx.js +47 -0
- package/dist/{Panel.vue_vue_type_script_setup_true_lang-BQmv3cLb.js → Panel.vue_vue_type_script_setup_true_lang-BCRxRK4D.js} +1 -1
- package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-ElDizaW2.js → PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js} +1 -1
- package/dist/Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js +125 -0
- package/dist/ProfilePage-OJMQ8cr8.js +691 -0
- package/dist/{ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.js → ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js} +2 -2
- package/dist/RecordHeader.vue_vue_type_script_setup_true_lang-DKsaKlAq.js +64 -0
- package/dist/ResourcePage.vue_vue_type_script_setup_true_lang-CJcKa9SW.js +173 -0
- package/dist/RoleEditor.vue_vue_type_script_setup_true_lang-DuEPOmjI.js +299 -0
- package/dist/RolePage-bZzv_E4l.js +315 -0
- package/dist/RolesPage-BniZv0nB.js +115 -0
- package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +23 -0
- package/dist/SectionList.vue_vue_type_script_setup_true_lang-BKP_bge8.js +148 -0
- package/dist/SectionNavigator.vue_vue_type_script_setup_true_lang-BgGEGxSI.js +314 -0
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BZ9UdgA1.js +58 -0
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-BiGaEKBQ.js +422 -0
- package/dist/SessionList.vue_vue_type_script_setup_true_lang-DUQpr7gb.js +111 -0
- package/dist/Sessions-Co5-xdeb.js +96 -0
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js +142 -0
- package/dist/SignIn-BWwFbxki.js +140 -0
- package/dist/SignInPage-FnLtoi2q.js +60 -0
- package/dist/SignInTable.vue_vue_type_script_setup_true_lang-Dnx3T_42.js +79 -0
- package/dist/SignIns-3UcI64_h.js +66 -0
- package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-4I8m27ol.js +93 -0
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-BeGaydRr.js +155 -0
- package/dist/TextField.vue_vue_type_script_setup_true_lang-C_FMf3Vc.js +269 -0
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CU3KTKIJ.js +127 -0
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-CSY_mMm1.js → Timestamp.vue_vue_type_script_setup_true_lang-1RJGKxbD.js} +1 -1
- package/dist/UserRecord-Ci8HfwbX.js +267 -0
- package/dist/UsersList-vEJ-cgkT.js +155 -0
- package/dist/ViewTabs.vue_vue_type_script_setup_true_lang-ByqTU2JT.js +28 -0
- package/dist/access/AddRoleDialog.vue.d.ts +19 -0
- package/dist/access/BindingRow.vue.d.ts +19 -0
- package/dist/access/EffectiveAccess.vue.d.ts +12 -0
- package/dist/access/NewRolePage.vue.d.ts +2 -0
- package/dist/access/PermissionTree.vue.d.ts +13 -0
- package/dist/access/PersonAccess.vue.d.ts +21 -0
- package/dist/access/ReplaceRoleDialog.vue.d.ts +17 -0
- package/dist/access/RoleCompareDialog.vue.d.ts +14 -0
- package/dist/access/RoleEditor.vue.d.ts +28 -0
- package/dist/access/RolePage.vue.d.ts +2 -0
- package/dist/access/RolesPage.vue.d.ts +2 -0
- package/dist/access/api.d.ts +26 -0
- package/dist/access/catalogue.d.ts +64 -0
- package/dist/access/context.d.ts +20 -0
- package/dist/access/effective.d.ts +42 -0
- package/dist/access/feature.d.ts +27 -0
- package/dist/access/index.d.ts +13 -0
- package/dist/access/index.js +15 -0
- package/dist/access/labels.d.ts +35 -0
- package/dist/access/refusals.d.ts +6 -0
- package/dist/access/routes.d.ts +45 -0
- package/dist/access/scopes.d.ts +20 -0
- package/dist/app/contributions.d.ts +1 -1
- package/dist/app/feature.d.ts +8 -0
- package/dist/app/index.js +259 -296
- package/dist/bottomDock-BZEiOPYZ.js +12 -0
- package/dist/button/Button.vue.d.ts +3 -3
- package/dist/button/index.js +1 -1
- package/dist/chrome-BS3xJcad.js +93 -0
- package/dist/client/client.d.ts +13 -0
- package/dist/client/index.d.ts +3 -1
- package/dist/client/index.js +19 -138
- package/dist/client/route.d.ts +59 -0
- package/dist/client-Bw0aM5Gu.js +147 -0
- package/dist/closeOverlays-CjVsIrpL.js +8 -0
- package/dist/collection/http.d.ts +4 -2
- package/dist/collection/index.js +74 -2428
- package/dist/content/index.js +37 -66
- package/dist/contributions-CDDg3fKp.js +26 -0
- package/dist/controls/DateButton.vue.d.ts +1 -1
- package/dist/controls/PopupButton.vue.d.ts +1 -1
- package/dist/controls/index.js +11 -10
- package/dist/defineRoutes-BGAdiIrt.js +19 -0
- package/dist/{describeError-l5T9b8Uv.js → describeError-Ctga6GcS.js} +1 -1
- package/dist/environment-Dva-SG8D.js +6 -0
- package/dist/{error-Bb_dr_Ay.js → error-CD7x0Jrz.js} +2 -2
- package/dist/feature-DdUAfyi4.js +25 -0
- package/dist/fieldMessages-C3Rpbktw.js +25 -0
- package/dist/form/CheckboxField.vue.d.ts +1 -1
- package/dist/form/CommandDialog.vue.d.ts +1 -1
- package/dist/form/DateField.vue.d.ts +1 -1
- package/dist/form/DateTimeField.vue.d.ts +1 -1
- package/dist/form/EditorPage.vue.d.ts +1 -1
- package/dist/form/Field.vue.d.ts +1 -1
- package/dist/form/FileField.vue.d.ts +1 -1
- package/dist/form/FormGroup.vue.d.ts +1 -1
- package/dist/form/FormGroupButton.vue.d.ts +1 -1
- package/dist/form/FormRow.vue.d.ts +1 -1
- package/dist/form/I18nField.vue.d.ts +3 -3
- package/dist/form/MoneyField.vue.d.ts +1 -1
- package/dist/form/MonthYearField.vue.d.ts +1 -1
- package/dist/form/NumberCell.vue.d.ts +1 -1
- package/dist/form/NumberField.vue.d.ts +2 -2
- package/dist/form/OtpInput.vue.d.ts +2 -2
- package/dist/form/PhotoField.vue.d.ts +1 -1
- package/dist/form/SwitchField.vue.d.ts +1 -1
- package/dist/form/TextField.vue.d.ts +3 -3
- package/dist/form/TextareaField.vue.d.ts +3 -3
- package/dist/form/TimeField.vue.d.ts +1 -1
- package/dist/form/date/DatePickerSheet.vue.d.ts +1 -1
- package/dist/form/date/MonthYearPanel.vue.d.ts +1 -1
- package/dist/form/index.js +1262 -3430
- package/dist/guards-Cd1V28oG.js +51 -0
- package/dist/http-DGGSKWvU.js +193 -0
- package/dist/i18n/index.d.ts +281 -0
- package/dist/i18n/index.js +50 -50
- package/dist/icon/core.d.ts +13 -0
- package/dist/icon/index.js +1 -1
- package/dist/identity/ImpersonationBanner.vue.d.ts +2 -0
- package/dist/identity/LocaleSync.vue.d.ts +2 -0
- package/dist/identity/SessionExpiry.vue.d.ts +2 -0
- package/dist/identity/SignInAsButton.vue.d.ts +15 -0
- package/dist/identity/SignInPage.vue.d.ts +2 -0
- package/dist/identity/context.d.ts +7 -0
- package/dist/identity/feature.d.ts +16 -0
- package/dist/identity/fieldMessages.d.ts +15 -0
- package/dist/identity/index.d.ts +16 -0
- package/dist/identity/index.js +18 -0
- package/dist/identity/profile/DetailsPanel.vue.d.ts +11 -0
- package/dist/identity/profile/EmailChangeDialog.vue.d.ts +14 -0
- package/dist/identity/profile/EmailPanel.vue.d.ts +11 -0
- package/dist/identity/profile/PanelActions.vue.d.ts +17 -0
- package/dist/identity/profile/PasswordPanel.vue.d.ts +2 -0
- package/dist/identity/profile/ProfileMenuItem.vue.d.ts +2 -0
- package/dist/identity/profile/ProfilePage.vue.d.ts +2 -0
- package/dist/identity/profile/SessionsPanel.vue.d.ts +2 -0
- package/dist/identity/profile/SignInsPanel.vue.d.ts +2 -0
- package/dist/identity/profile/VerifyCode.vue.d.ts +49 -0
- package/dist/identity/profile/routes.d.ts +13 -0
- package/dist/identity/session.d.ts +30 -0
- package/dist/identity/shared/ActionRow.vue.d.ts +20 -0
- package/dist/identity/shared/ChangeFeed.vue.d.ts +11 -0
- package/dist/identity/shared/PageBar.vue.d.ts +12 -0
- package/dist/identity/shared/SectionIntro.vue.d.ts +16 -0
- package/dist/identity/shared/SessionList.vue.d.ts +19 -0
- package/dist/identity/shared/SignInTable.vue.d.ts +11 -0
- package/dist/identity/shared/ViewTabs.vue.d.ts +23 -0
- package/dist/identity/shared/signInEvents.d.ts +9 -0
- package/dist/identity/signIn.d.ts +27 -0
- package/dist/identity/useSignInForm.d.ts +20 -0
- package/dist/identity/user.d.ts +6 -0
- package/dist/identity/users/DeactivateDialog.vue.d.ts +18 -0
- package/dist/identity/users/NewUserDialog.vue.d.ts +9 -0
- package/dist/identity/users/SetPasswordDialog.vue.d.ts +16 -0
- package/dist/identity/users/UserRecord.vue.d.ts +2 -0
- package/dist/identity/users/UsersList.vue.d.ts +2 -0
- package/dist/identity/users/access.d.ts +4 -0
- package/dist/identity/users/context.d.ts +9 -0
- package/dist/identity/users/feature.d.ts +34 -0
- package/dist/identity/users/languages.d.ts +4 -0
- package/dist/identity/users/list.d.ts +8 -0
- package/dist/identity/users/person.d.ts +26 -0
- package/dist/identity/users/personSections.d.ts +22 -0
- package/dist/identity/users/routes.d.ts +22 -0
- package/dist/identity/users/sections/Activity.vue.d.ts +2 -0
- package/dist/identity/users/sections/Changes.vue.d.ts +2 -0
- package/dist/identity/users/sections/General.vue.d.ts +2 -0
- package/dist/identity/users/sections/Sessions.vue.d.ts +2 -0
- package/dist/identity/users/sections/SignIn.vue.d.ts +2 -0
- package/dist/identity/users/sections/SignIns.vue.d.ts +2 -0
- package/dist/identity/users/status.d.ts +4 -0
- package/dist/index-B2dbYZR9.js +706 -0
- package/dist/index-BAcl44SC.js +459 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/languageName.d.ts +2 -0
- package/dist/keepAlive-WYQGRhuz.js +48 -0
- package/dist/languageName-CItV_SOv.js +11 -0
- package/dist/languages-BShG9LpE.js +10 -0
- package/dist/leaveGuard-Cc8yeLxM.js +72 -0
- package/dist/modal/Modal.vue.d.ts +1 -1
- package/dist/modal/index.js +5 -5
- package/dist/modules/access/entities.d.ts +112 -0
- package/dist/modules/access/routes.d.ts +67 -0
- package/dist/modules/access/schemas.d.ts +73 -0
- package/dist/modules/identity/entities.d.ts +150 -0
- package/dist/modules/identity/routes.d.ts +118 -0
- package/dist/modules/identity/schemas.d.ts +145 -0
- package/dist/{navigation-B33ikiCS.js → navigation-BPWa63ge.js} +21 -20
- package/dist/neighbors-D0WRBxXI.js +86 -0
- package/dist/{options-DAkBtYkI.js → options-BXkMR63B.js} +51 -52
- package/dist/overlay/AlertDialog.vue.d.ts +3 -3
- package/dist/overlay/Popover.vue.d.ts +1 -1
- package/dist/overlay/closeOverlays.d.ts +7 -0
- package/dist/overlay/index.js +21 -20
- package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
- package/dist/page/ResourceHeader.vue.d.ts +2 -2
- package/dist/page/index.js +99 -457
- package/dist/phone/PhoneField.vue.d.ts +2 -2
- package/dist/phone/index.js +2 -2
- package/dist/platform/index.d.ts +2 -2
- package/dist/platform/index.js +73 -90
- package/dist/platform/platform.d.ts +2 -2
- package/dist/platform/session.d.ts +22 -1
- package/dist/platform-hunMqFdB.js +255 -0
- package/dist/resource/index.js +8 -248
- package/dist/routeResource-DstM0hvf.js +82 -0
- package/dist/router/guards.d.ts +7 -1
- package/dist/router/index.js +23 -37
- package/dist/router/navigation.d.ts +1 -1
- package/dist/rowLayout-BI7a3Kom.js +603 -0
- package/dist/sectionIndex-BS0ic5W7.js +86 -0
- package/dist/{sections-LtxV5Mtk.js → sections-BEqW1dOc.js} +1 -1
- package/dist/shell/AccountMenuItem.vue.d.ts +1 -1
- package/dist/shell/BackofficeShell.vue.d.ts +2 -2
- package/dist/shell/NavigationList.vue.d.ts +1 -1
- package/dist/shell/ShellBrand.vue.d.ts +1 -1
- package/dist/shell/backofficeShell.d.ts +1 -1
- package/dist/shell/identity.d.ts +1 -1
- package/dist/shell/index.js +507 -575
- package/dist/state/ProgressTrack.vue.d.ts +1 -1
- package/dist/state/index.js +59 -92
- package/dist/status-C9aXR-Jb.js +33 -0
- package/dist/styles.css +1 -1
- package/dist/suggestions-BJAqOj4c.js +138 -0
- package/dist/testing/index.js +1 -1
- package/dist/toast-D9Z5To38.js +13 -0
- package/dist/useCommand-BgRwnYlV.js +135 -0
- package/dist/useLoad-CYRVx6HW.js +39 -0
- package/dist/useResourceForm-Bgc9jMcu.js +52 -0
- package/dist/useSaveChrome-chi6D3HY.js +25 -0
- package/dist/useSheetDrag-OsD6Eb6I.js +72 -0
- package/package.json +22 -5
- package/dist/NoAccess.vue_vue_type_script_setup_true_lang-OKW8pKYU.js +0 -78
- package/dist/SectionList.vue_vue_type_script_setup_true_lang-L9ita_Kx.js +0 -230
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-DZTrU8NJ.js +0 -661
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js +0 -210
- package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-CGTuEnTv.js +0 -243
- package/dist/chrome-D9pwD6iS.js +0 -101
- package/dist/environment-D3nozt9a.js +0 -75
- package/dist/feature-DyDtyMLU.js +0 -47
- package/dist/platform-jqlKVJ2e.js +0 -244
- package/dist/toast-DvrHQ6Ag.js +0 -131
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { computed as k } from "vue";
|
|
2
2
|
import { d as y } from "./context-Ch1r4fdN.js";
|
|
3
|
-
|
|
3
|
+
import { h as N } from "./platform-hunMqFdB.js";
|
|
4
|
+
function F(l, a = {}) {
|
|
4
5
|
const i = /* @__PURE__ */ new Map(), o = [];
|
|
5
6
|
for (const e of l) {
|
|
6
7
|
const { destination: s } = e.binding, u = i.get(s);
|
|
@@ -8,30 +9,30 @@ function x(l, r = {}) {
|
|
|
8
9
|
o.push(`The destination "${s}" is bound twice: by feature "${u.feature}" and by feature "${e.feature}".`);
|
|
9
10
|
continue;
|
|
10
11
|
}
|
|
11
|
-
|
|
12
|
+
a.known && !a.known.includes(s) && o.push(`Feature "${e.feature}" binds the destination "${s}", which the backend's navigation does not contain.`), i.set(s, e);
|
|
12
13
|
}
|
|
13
|
-
for (const e of
|
|
14
|
+
for (const e of a.required ?? [])
|
|
14
15
|
i.has(e) || o.push(`The destination "${e}" is required but no feature binds it.`);
|
|
15
16
|
return { destinations: i, issues: o };
|
|
16
17
|
}
|
|
17
|
-
function
|
|
18
|
-
const { session:
|
|
19
|
-
function u(t,
|
|
18
|
+
function M(l) {
|
|
19
|
+
const { session: a, router: i, i18n: o, destinations: e } = l, s = (t) => o.te(t.i18n) ? o.t(t.i18n) : t.i18n;
|
|
20
|
+
function u(t, r) {
|
|
20
21
|
return t.flatMap((n, f) => {
|
|
21
|
-
const c = `${
|
|
22
|
+
const c = `${r}/${n.route ?? f}`, d = u(n.children ?? [], c);
|
|
22
23
|
if (n.route === void 0) return d.length > 0 ? [h(n, c, null, d, !1)] : [];
|
|
23
24
|
const v = e.get(n.route);
|
|
24
25
|
if (!v) return [];
|
|
25
|
-
const { to:
|
|
26
|
-
return [h(n, c,
|
|
26
|
+
const { to: m, within: g = [] } = v.binding, p = g.some(($) => i.currentRoute.value.matched.some((w) => w.name === $));
|
|
27
|
+
return [h(n, c, m, d, p || b(m))];
|
|
27
28
|
});
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
-
const { matched:
|
|
30
|
+
function b(t) {
|
|
31
|
+
const { matched: r } = i.resolve(t), n = r[r.length - 1];
|
|
31
32
|
return n !== void 0 && i.currentRoute.value.matched.includes(n);
|
|
32
33
|
}
|
|
33
|
-
const h = (t,
|
|
34
|
-
key:
|
|
34
|
+
const h = (t, r, n, f, c) => ({
|
|
35
|
+
key: r,
|
|
35
36
|
label: s(t),
|
|
36
37
|
icon: t.icon ?? null,
|
|
37
38
|
to: n,
|
|
@@ -39,14 +40,14 @@ function C(l) {
|
|
|
39
40
|
children: f
|
|
40
41
|
});
|
|
41
42
|
return k(() => {
|
|
42
|
-
const t =
|
|
43
|
-
return t
|
|
43
|
+
const t = N(a.state.value);
|
|
44
|
+
return t ? u(t.navigation ?? [], "") : [];
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
|
-
const [
|
|
47
|
+
const [R, T] = y("vue-core.navigation");
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
F as b,
|
|
50
|
+
M as c,
|
|
51
|
+
R as n,
|
|
52
|
+
T as u
|
|
52
53
|
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ref as P, shallowRef as z, watch as X, getCurrentScope as j, onScopeDispose as B } from "vue";
|
|
2
|
+
import { useRoute as F } from "vue-router";
|
|
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-DGGSKWvU.js";
|
|
5
|
+
const V = 8;
|
|
6
|
+
function te(s, r) {
|
|
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();
|
|
8
|
+
let m = 0, k = new AbortController(), E = !1;
|
|
9
|
+
function q(w, g, l) {
|
|
10
|
+
const f = { ...w, page: g }, c = U(f);
|
|
11
|
+
let a = n.get(c);
|
|
12
|
+
for (a ? n.delete(c) : (a = (async () => s.load(f, { signal: l }))(), a.catch(() => {
|
|
13
|
+
n.get(c) === a && n.delete(c);
|
|
14
|
+
})), n.set(c, a); n.size > V; ) n.delete(n.keys().next().value);
|
|
15
|
+
return a.catch((e) => {
|
|
16
|
+
if (M(e)) throw e;
|
|
17
|
+
return null;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function K() {
|
|
21
|
+
y.value = null, h.value = null, d.value = null, p.value = 0, S.value = null;
|
|
22
|
+
}
|
|
23
|
+
async function T() {
|
|
24
|
+
const w = ++m, g = k.signal, l = Q(s, R()), f = r.current();
|
|
25
|
+
if (!l || f === null || f === void 0 || f === "") {
|
|
26
|
+
K(), b.value = !1;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
b.value = !0, h.value = null, d.value = null;
|
|
30
|
+
const c = (e) => e ? e.rows.findIndex((t) => String(s.key(t)) === String(f)) : -1, a = (e, t) => {
|
|
31
|
+
const o = N(s, { ...l, page: e });
|
|
32
|
+
return { key: t, to: { name: v.name ?? void 0, params: { ...v.params, [r.param]: String(t) }, query: { ...v.query, [I]: o }, hash: v.hash } };
|
|
33
|
+
};
|
|
34
|
+
try {
|
|
35
|
+
let e = l.page, t = await q(l, e, g), o = c(t);
|
|
36
|
+
for (const i of [e - 1, e + 1]) {
|
|
37
|
+
if (o !== -1 || !t || i < 1 || i > t.lastPage) continue;
|
|
38
|
+
const u = await q(l, i, g), _ = c(u);
|
|
39
|
+
u && _ !== -1 && (e = i, t = u, o = _);
|
|
40
|
+
}
|
|
41
|
+
if (w !== m) return;
|
|
42
|
+
if (!t || o === -1) {
|
|
43
|
+
K();
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const O = t.pageSize || l.pageSize, C = t.rows;
|
|
47
|
+
let A = null;
|
|
48
|
+
if (o > 0) A = a(e, s.key(C[o - 1]));
|
|
49
|
+
else if (e > 1) {
|
|
50
|
+
const i = await q(l, e - 1, g), u = i?.rows[i.rows.length - 1];
|
|
51
|
+
u !== void 0 && (A = a(e - 1, s.key(u)));
|
|
52
|
+
}
|
|
53
|
+
let L = null;
|
|
54
|
+
if (o < C.length - 1) L = a(e, s.key(C[o + 1]));
|
|
55
|
+
else if (e < t.lastPage) {
|
|
56
|
+
const u = (await q(l, e + 1, g))?.rows[0];
|
|
57
|
+
u !== void 0 && (L = a(e + 1, s.key(u)));
|
|
58
|
+
}
|
|
59
|
+
if (w !== m) return;
|
|
60
|
+
p.value = t.total, y.value = (e - 1) * O + o + 1, h.value = A, d.value = L;
|
|
61
|
+
const x = r.list;
|
|
62
|
+
S.value = typeof x == "string" ? x : { ...x, query: { ...x.query, [D]: N(s, { ...l, page: e }) } };
|
|
63
|
+
} catch (e) {
|
|
64
|
+
if (!M(e)) throw e;
|
|
65
|
+
} finally {
|
|
66
|
+
w === m && (b.value = !1);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const G = X([R, r.current], T, { immediate: !0 });
|
|
70
|
+
function H() {
|
|
71
|
+
E || (E = !0, m++, k.abort(), G(), n.clear());
|
|
72
|
+
}
|
|
73
|
+
return j() && B(H), J(() => {
|
|
74
|
+
k.abort(), k = new AbortController(), n.clear(), T();
|
|
75
|
+
}), { position: y, total: p, previous: h, next: d, loading: b, listRoute: S, context: {
|
|
76
|
+
get back() {
|
|
77
|
+
return { label: typeof r.backLabel == "function" ? r.backLabel() : r.backLabel, to: S.value ?? r.list };
|
|
78
|
+
},
|
|
79
|
+
get neighbors() {
|
|
80
|
+
return y.value === null ? null : { position: y.value, total: p.value, previous: h.value?.to ?? null, next: d.value?.to ?? null };
|
|
81
|
+
}
|
|
82
|
+
} };
|
|
83
|
+
}
|
|
84
|
+
export {
|
|
85
|
+
te as u
|
|
86
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { inject as N, ref as G, computed as n, onBeforeUnmount as A, defineComponent as D, useSlots as V, openBlock as s, createBlock as L, resolveDynamicComponent as C, unref as t, normalizeClass as p, withCtx as w, createElementBlock as i, renderSlot as f, createCommentVNode as u, createElementVNode as x, createTextVNode as h, toDisplayString as c, createVNode as z, useAttrs as K, useId as M, mergeProps as F, createSlots as P, mergeDefaults as U } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { useI18n as Y } from "vue-i18n";
|
|
3
|
+
import { _ as q } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
|
|
4
|
+
import { RouterLink as H } from "vue-router";
|
|
5
|
+
import { c as J, a as Q } from "./controlSurface-t7OEFESJ.js";
|
|
6
6
|
import { u as W } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
const X = {
|
|
8
8
|
label: void 0,
|
|
@@ -27,22 +27,17 @@ const re = ["label", "hint", "error", "required", "editable", "disabled", "locke
|
|
|
27
27
|
function Re(r) {
|
|
28
28
|
return Object.fromEntries(re.map((e) => [e, r[e]]));
|
|
29
29
|
}
|
|
30
|
-
const ae =
|
|
31
|
-
function Ee(r, e) {
|
|
32
|
-
const o = !!R();
|
|
33
|
-
return n(() => o ? Y({ kind: r, state: e() }) : [ae, ...H(r, e()).map(([l]) => l)].join(" "));
|
|
34
|
-
}
|
|
35
|
-
const se = {
|
|
30
|
+
const ae = {
|
|
36
31
|
key: 0,
|
|
37
32
|
class: "flex shrink-0 items-center"
|
|
38
|
-
},
|
|
33
|
+
}, se = { class: "row-body min-h-row min-w-0 flex-1 border-t border-border-separator py-2 pr-row-inset" }, ne = {
|
|
39
34
|
key: 0,
|
|
40
35
|
class: "text-content-destructive",
|
|
41
36
|
"aria-hidden": "true"
|
|
42
|
-
},
|
|
37
|
+
}, ie = ["id"], de = {
|
|
43
38
|
key: 0,
|
|
44
39
|
class: "break-words text-body text-content-strong"
|
|
45
|
-
},
|
|
40
|
+
}, ue = ["id"], ce = /* @__PURE__ */ D({
|
|
46
41
|
__name: "FormRow",
|
|
47
42
|
props: {
|
|
48
43
|
label: { default: void 0 },
|
|
@@ -72,7 +67,7 @@ const se = {
|
|
|
72
67
|
return "flex flex-col gap-1";
|
|
73
68
|
}
|
|
74
69
|
}), S = n(() => e.layout === "stacked" ? "text-footnote text-content-muted" : e.layout === "value" ? "text-body text-content-muted" : "text-body text-content-strong"), g = n(() => e.value !== void 0 && e.value !== null && e.value !== "");
|
|
75
|
-
return (b, _) => (s(), L(C(e.to ? t(
|
|
70
|
+
return (b, _) => (s(), L(C(e.to ? t(H) : "div"), {
|
|
76
71
|
to: e.to,
|
|
77
72
|
"data-test": "form-row",
|
|
78
73
|
"data-layout": e.layout,
|
|
@@ -80,10 +75,10 @@ const se = {
|
|
|
80
75
|
class: p(["form-row flex min-w-0 items-stretch gap-3 transition-colors duration-motion-fast first:rounded-t-group last:rounded-b-group focus-within:bg-tint-soft/50 [&:first-child>.row-body]:border-t-0", [v[Math.min(y.value, 2)], e.to ? "hover:bg-fill focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus" : ""]])
|
|
81
76
|
}, {
|
|
82
77
|
default: w(() => [
|
|
83
|
-
o.leading ? (s(), i("div",
|
|
78
|
+
o.leading ? (s(), i("div", ae, [
|
|
84
79
|
f(b.$slots, "leading")
|
|
85
80
|
])) : u("", !0),
|
|
86
|
-
x("div",
|
|
81
|
+
x("div", se, [
|
|
87
82
|
x("div", {
|
|
88
83
|
class: p(["min-w-0", m.value])
|
|
89
84
|
}, [
|
|
@@ -100,7 +95,7 @@ const se = {
|
|
|
100
95
|
}, {
|
|
101
96
|
default: w(() => [
|
|
102
97
|
h(c(e.label), 1),
|
|
103
|
-
e.required ? (s(), i("span",
|
|
98
|
+
e.required ? (s(), i("span", ne, " *")) : u("", !0)
|
|
104
99
|
]),
|
|
105
100
|
_: 1
|
|
106
101
|
}, 8, ["for", "class"])),
|
|
@@ -114,13 +109,13 @@ const se = {
|
|
|
114
109
|
f(b.$slots, "sub", {}, () => [
|
|
115
110
|
h(c(e.sub), 1)
|
|
116
111
|
])
|
|
117
|
-
], 8,
|
|
112
|
+
], 8, ie)) : u("", !0)
|
|
118
113
|
], 2)) : u("", !0),
|
|
119
114
|
x("div", {
|
|
120
115
|
class: p(["flex min-w-0 items-center gap-2", e.layout === "value" ? "justify-end text-right" : e.layout === "setting" ? "flex-wrap justify-end text-right" : e.layout === "entry" ? "compact:justify-end" : ""])
|
|
121
116
|
}, [
|
|
122
117
|
f(b.$slots, "default", {}, () => [
|
|
123
|
-
g.value ? (s(), i("span",
|
|
118
|
+
g.value ? (s(), i("span", de, c(e.value), 1)) : u("", !0)
|
|
124
119
|
]),
|
|
125
120
|
f(b.$slots, "trailing"),
|
|
126
121
|
e.to ? (s(), L(t(q), {
|
|
@@ -143,32 +138,32 @@ const se = {
|
|
|
143
138
|
class: "mt-px shrink-0"
|
|
144
139
|
}),
|
|
145
140
|
h(" " + c(e.error), 1)
|
|
146
|
-
], 8,
|
|
141
|
+
], 8, ue)) : u("", !0)
|
|
147
142
|
])
|
|
148
143
|
]),
|
|
149
144
|
_: 3
|
|
150
145
|
}, 8, ["to", "data-layout", "data-field-error", "class"]));
|
|
151
146
|
}
|
|
152
|
-
}),
|
|
147
|
+
}), fe = ["title"], ve = {
|
|
153
148
|
key: 0,
|
|
154
149
|
class: "mr-1"
|
|
155
|
-
},
|
|
150
|
+
}, me = {
|
|
156
151
|
key: 1,
|
|
157
152
|
class: "ml-1 text-content-muted"
|
|
158
|
-
},
|
|
153
|
+
}, be = {
|
|
159
154
|
key: 3,
|
|
160
155
|
class: "block text-body text-content-disabled"
|
|
161
|
-
},
|
|
156
|
+
}, pe = {
|
|
162
157
|
key: 0,
|
|
163
158
|
class: "sr-only"
|
|
164
|
-
},
|
|
159
|
+
}, ye = ["data-field-error"], ge = {
|
|
165
160
|
key: 0,
|
|
166
161
|
class: "flex items-center justify-between gap-3"
|
|
167
|
-
},
|
|
162
|
+
}, xe = ["for"], he = {
|
|
168
163
|
key: 0,
|
|
169
164
|
class: "text-content-destructive",
|
|
170
165
|
"aria-hidden": "true"
|
|
171
|
-
},
|
|
166
|
+
}, ke = ["id"], we = ["id"], Ee = /* @__PURE__ */ D({
|
|
172
167
|
__name: "Field",
|
|
173
168
|
props: /* @__PURE__ */ U({
|
|
174
169
|
label: {},
|
|
@@ -188,7 +183,7 @@ const se = {
|
|
|
188
183
|
rowLabelAlign: {}
|
|
189
184
|
}, { ...X, value: void 0, prefix: void 0, suffix: void 0, valueStyle: void 0, rowLayout: "entry", rowLabelAlign: "center" }),
|
|
190
185
|
setup(r) {
|
|
191
|
-
const e = r, { t: o } =
|
|
186
|
+
const e = r, { t: o } = Y(), l = V(), y = K(), v = R(), { editable: a, locked: m } = le(e), S = M(), g = n(() => e.name ?? S), b = n(() => `${g.value}-hint`), _ = n(() => `${g.value}-error`);
|
|
192
187
|
if (v?.registerField) {
|
|
193
188
|
const d = y["data-field-key"], T = v.registerField(typeof d == "string" ? d : void 0, n(() => e.disabled));
|
|
194
189
|
A(T);
|
|
@@ -199,7 +194,7 @@ const se = {
|
|
|
199
194
|
}), E = n(() => typeof e.value == "boolean" ? e.value ? o("core.form.yes") : o("core.form.no") : e.value), O = n(() => !!v && !a.value && v.hideEmpty.value && !k.value && !l.readonly), B = n(() => [e.hint && a.value ? b.value : null, e.error ? _.value : null].filter(Boolean).join(" ") || void 0), $ = n(() => a.value ? e.rowLayout : e.rowLayout === "stacked" ? "stacked" : "value"), j = n(
|
|
200
195
|
() => a.value && !m.value && e.required ? { "data-field-required": "true", "data-field-filled": k.value ? "true" : void 0 } : {}
|
|
201
196
|
);
|
|
202
|
-
return (d, T) => t(v) && !O.value ? (s(), L(
|
|
197
|
+
return (d, T) => t(v) && !O.value ? (s(), L(ce, F({ key: 0 }, j.value, {
|
|
203
198
|
label: e.label,
|
|
204
199
|
for: t(a) ? g.value : void 0,
|
|
205
200
|
sub: t(a) ? e.hint : void 0,
|
|
@@ -229,13 +224,13 @@ const se = {
|
|
|
229
224
|
key: 2,
|
|
230
225
|
class: p(["block break-words text-body text-content-strong", e.valueStyle === "mono" ? "font-mono" : e.valueStyle === "numeric" ? "tabular-nums" : ""])
|
|
231
226
|
}, [
|
|
232
|
-
e.prefix ? (s(), i("span",
|
|
227
|
+
e.prefix ? (s(), i("span", ve, c(e.prefix), 1)) : u("", !0),
|
|
233
228
|
h(c(E.value), 1),
|
|
234
|
-
e.suffix ? (s(), i("span",
|
|
235
|
-
], 2)) : (s(), i("span",
|
|
229
|
+
e.suffix ? (s(), i("span", me, c(e.suffix), 1)) : u("", !0)
|
|
230
|
+
], 2)) : (s(), i("span", be, c(t(o)("core.state.no_value")), 1))
|
|
236
231
|
], 2)
|
|
237
|
-
], 8,
|
|
238
|
-
t(m) && e.lockedReason ? (s(), i("span",
|
|
232
|
+
], 8, fe),
|
|
233
|
+
t(m) && e.lockedReason ? (s(), i("span", pe, c(e.lockedReason), 1)) : u("", !0)
|
|
239
234
|
]),
|
|
240
235
|
_: 2
|
|
241
236
|
}, [
|
|
@@ -257,15 +252,15 @@ const se = {
|
|
|
257
252
|
"data-field-error": e.error ? "true" : void 0,
|
|
258
253
|
class: "flex min-w-0 flex-col gap-1"
|
|
259
254
|
}), [
|
|
260
|
-
e.label || t(a) && t(l).labelTrailing ? (s(), i("div",
|
|
255
|
+
e.label || t(a) && t(l).labelTrailing ? (s(), i("div", ge, [
|
|
261
256
|
e.label ? (s(), i("label", {
|
|
262
257
|
key: 0,
|
|
263
258
|
for: t(a) ? g.value : void 0,
|
|
264
259
|
class: "text-footnote font-medium text-content-muted"
|
|
265
260
|
}, [
|
|
266
261
|
h(c(e.label), 1),
|
|
267
|
-
t(a) && e.required ? (s(), i("span",
|
|
268
|
-
], 8,
|
|
262
|
+
t(a) && e.required ? (s(), i("span", he, " *")) : u("", !0)
|
|
263
|
+
], 8, xe)) : u("", !0),
|
|
269
264
|
t(a) ? f(d.$slots, "labelTrailing", {}, void 0, void 0, 1) : u("", !0)
|
|
270
265
|
])) : u("", !0),
|
|
271
266
|
t(a) ? f(d.$slots, "default", {
|
|
@@ -282,7 +277,7 @@ const se = {
|
|
|
282
277
|
key: 4,
|
|
283
278
|
id: b.value,
|
|
284
279
|
class: "text-footnote text-content-muted"
|
|
285
|
-
}, c(e.hint), 9,
|
|
280
|
+
}, c(e.hint), 9, ke)) : u("", !0),
|
|
286
281
|
e.error ? (s(), i("p", {
|
|
287
282
|
key: 5,
|
|
288
283
|
id: _.value,
|
|
@@ -295,10 +290,14 @@ const se = {
|
|
|
295
290
|
class: "mt-px shrink-0"
|
|
296
291
|
}),
|
|
297
292
|
h(" " + c(e.error), 1)
|
|
298
|
-
], 8,
|
|
299
|
-
], 16,
|
|
293
|
+
], 8, we)) : u("", !0)
|
|
294
|
+
], 16, ye));
|
|
300
295
|
}
|
|
301
|
-
});
|
|
296
|
+
}), _e = "rounded-control transition-[background-color,box-shadow,opacity] duration-motion-fast ease-motion-standard";
|
|
297
|
+
function Be(r, e) {
|
|
298
|
+
const o = !!R();
|
|
299
|
+
return n(() => o ? J({ kind: r, state: e() }) : [_e, ...Q(r, e()).map(([l]) => l)].join(" "));
|
|
300
|
+
}
|
|
302
301
|
function je(r) {
|
|
303
302
|
const e = /* @__PURE__ */ new Map();
|
|
304
303
|
for (const o of r) {
|
|
@@ -313,18 +312,18 @@ function Te(r, e) {
|
|
|
313
312
|
}
|
|
314
313
|
const I = (r) => r.normalize("NFD").replace(/[̀-ͯ]/g, "").toLocaleLowerCase();
|
|
315
314
|
export {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
315
|
+
Ee as _,
|
|
316
|
+
R as a,
|
|
317
|
+
X as b,
|
|
318
|
+
I as c,
|
|
319
|
+
te as d,
|
|
320
|
+
ce as e,
|
|
321
|
+
Re as f,
|
|
322
|
+
Be as g,
|
|
323
|
+
je as h,
|
|
324
|
+
Z as i,
|
|
326
325
|
ee as j,
|
|
327
326
|
oe as k,
|
|
328
327
|
Te as m,
|
|
329
|
-
|
|
328
|
+
le as u
|
|
330
329
|
};
|
|
@@ -2,10 +2,10 @@ import { type IconName } from "../icon";
|
|
|
2
2
|
declare const _default: <Subject = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly onCancel?: (() => any) | undefined;
|
|
5
|
-
readonly onFailed?: ((error: unknown) => any) | undefined;
|
|
6
5
|
readonly onDismissed?: (() => any) | undefined;
|
|
6
|
+
readonly onFailed?: ((error: unknown) => any) | undefined;
|
|
7
7
|
readonly onConfirm?: ((subject: Subject) => any) | undefined;
|
|
8
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onCancel" | "onDismissed" | "
|
|
8
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onCancel" | "onDismissed" | "onFailed" | "onConfirm"> & {
|
|
9
9
|
title: string;
|
|
10
10
|
message?: string;
|
|
11
11
|
/** Says exactly what happens; by default "Confirm". */
|
|
@@ -25,7 +25,7 @@ declare const _default: <Subject = undefined>(__VLS_props: NonNullable<Awaited<t
|
|
|
25
25
|
slots: {
|
|
26
26
|
default?: () => unknown;
|
|
27
27
|
};
|
|
28
|
-
emit: ((evt: "cancel") => void) & ((evt: "
|
|
28
|
+
emit: ((evt: "cancel") => void) & ((evt: "dismissed") => void) & ((evt: "failed", error: unknown) => void) & ((evt: "confirm", subject: Subject) => void);
|
|
29
29
|
}>) => import("vue").VNode & {
|
|
30
30
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
31
|
};
|
|
@@ -61,8 +61,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
61
61
|
onDismissed?: (() => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
63
|
width: "sm" | "md" | "lg" | "auto";
|
|
64
|
-
block: boolean;
|
|
65
64
|
placement: Placement;
|
|
65
|
+
block: boolean;
|
|
66
66
|
arrow: boolean;
|
|
67
67
|
matchTriggerWidth: boolean;
|
|
68
68
|
autofocus: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Fired on `document` to close every open popover and menu; see `closeOverlays`. */
|
|
2
|
+
export declare const CLOSE_OVERLAYS_EVENT = "vue-core:close-overlays";
|
|
3
|
+
/**
|
|
4
|
+
* Closes every open popover and menu: for something that takes the screen over (the prompt of an expired session),
|
|
5
|
+
* so a menu does not hang open beside it. Dialogs are not touched: they have their own stack.
|
|
6
|
+
*/
|
|
7
|
+
export declare function closeOverlays(): void;
|
package/dist/overlay/index.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { _ as e } from "../AlertDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as p
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import { I as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { _ as e } from "../AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js";
|
|
2
|
+
import { _ as a } from "../Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js";
|
|
3
|
+
import { _ as p } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
|
|
4
|
+
import { _ as m } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
|
|
5
|
+
import { _ as x } from "../Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.js";
|
|
6
|
+
import { t as T } from "../toast-D9Z5To38.js";
|
|
7
|
+
import { I as i, u as A } from "../dialogStack-DZZg55w0.js";
|
|
8
|
+
import { I as P, u as l } from "../useDialog-CXR3hN0G.js";
|
|
9
|
+
import { C as D, u as R } from "../mediaQuery-CygcXmFW.js";
|
|
10
|
+
import { _ as E } from "../PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js";
|
|
10
11
|
export {
|
|
11
12
|
e as AlertDialog,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
D as COMPACT_MEDIA_QUERY,
|
|
14
|
+
i as INERT_SKIP_ATTR,
|
|
15
|
+
P as INITIAL_FOCUS_SKIP_ATTR,
|
|
16
|
+
a as Menu,
|
|
17
|
+
E as PhotoViewer,
|
|
17
18
|
p as Popover,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
m as Toaster,
|
|
20
|
+
x as Tooltip,
|
|
21
|
+
T as toast,
|
|
22
|
+
R as useCompactPresentation,
|
|
23
|
+
l as useDialog,
|
|
24
|
+
A as useOpenDialogCount
|
|
24
25
|
};
|
|
@@ -58,11 +58,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
58
58
|
path: readonly PagePathItem[] | null;
|
|
59
59
|
width: "full" | "content" | "readable";
|
|
60
60
|
icon: IconName;
|
|
61
|
-
description: string;
|
|
62
61
|
actions: readonly PageAction[];
|
|
63
|
-
count: number | null;
|
|
64
62
|
back: PageBack | null;
|
|
65
63
|
documentTitle: string | null;
|
|
64
|
+
description: string;
|
|
65
|
+
count: number | null;
|
|
66
66
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
67
67
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
68
68
|
export default _default;
|
|
@@ -27,11 +27,11 @@ type __VLS_Slots = {
|
|
|
27
27
|
};
|
|
28
28
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
29
|
icon: IconName;
|
|
30
|
+
actions: readonly PageAction[];
|
|
31
|
+
leading: PageAction | null;
|
|
30
32
|
status: string | null;
|
|
31
33
|
description: string;
|
|
32
|
-
actions: readonly PageAction[];
|
|
33
34
|
count: number | null;
|
|
34
|
-
leading: PageAction | null;
|
|
35
35
|
inlineActions: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|