@wssto2/vue-core 0.1.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 +53 -9
- 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-CKghARkW.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js} +48 -47
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-BZb4qKXo.js → AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js} +2 -2
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-B82bl36A.js → AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js} +4 -4
- package/dist/Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js +51 -0
- 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-CYil8h9z.js +182 -0
- package/dist/Changes-DlT5mN9G.js +129 -0
- package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-CXILftEc.js +1481 -0
- package/dist/CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js +299 -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-Bx5O1RZJ.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-DH6EB8br.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js} +2 -2
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-D44EHXQZ.js → Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js} +61 -57
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-DYQgaUtj.js → Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js} +139 -129
- 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-DDVQXJRB.js → PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js} +2 -2
- 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/{Tooltip.vue_vue_type_script_setup_true_lang-BJWPVyfT.js → Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.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/application.d.ts +5 -0
- package/dist/app/contributions.d.ts +1 -1
- package/dist/app/environment.d.ts +2 -0
- package/dist/app/feature.d.ts +8 -0
- package/dist/app/index.js +260 -294
- package/dist/bottomDock-BZEiOPYZ.js +12 -0
- package/dist/button/Button.vue.d.ts +3 -3
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.js +5 -3
- package/dist/button/shortcut.d.ts +28 -2
- 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/CollectionPage.vue.d.ts +1 -0
- package/dist/collection/CollectionRows.vue.d.ts +59 -0
- package/dist/collection/CollectionTable.vue.d.ts +1 -1
- package/dist/collection/DataTable.vue.d.ts +47 -0
- package/dist/collection/RowActions.vue.d.ts +19 -0
- package/dist/collection/columns.d.ts +2 -0
- package/dist/collection/http.d.ts +4 -2
- package/dist/collection/index.d.ts +4 -2
- package/dist/collection/index.js +87 -2299
- package/dist/collection/rowLayout.d.ts +10 -0
- package/dist/collection/slots.d.ts +6 -3
- 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-Ctga6GcS.js +41 -0
- package/dist/dialogStack-DZZg55w0.js +31 -0
- 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 +13 -2
- 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/MultiSelectField.vue.d.ts +4 -1
- package/dist/form/NumberCell.vue.d.ts +1 -1
- package/dist/form/NumberField.vue.d.ts +8 -2
- package/dist/form/OptionList.vue.d.ts +6 -2
- package/dist/form/OtpInput.vue.d.ts +2 -2
- package/dist/form/PhotoField.vue.d.ts +1 -1
- package/dist/form/SelectField.vue.d.ts +4 -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.d.ts +2 -0
- package/dist/form/index.js +1273 -3509
- package/dist/form/suggestions.d.ts +11 -0
- package/dist/form/useOptions.d.ts +60 -0
- package/dist/guards-Cd1V28oG.js +51 -0
- package/dist/http-DGGSKWvU.js +193 -0
- package/dist/i18n/describeError.d.ts +31 -0
- package/dist/i18n/index.d.ts +307 -0
- package/dist/i18n/index.js +54 -52
- 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/{phone/CountryFlag.vue.d.ts → identity/shared/SignInTable.vue.d.ts} +5 -4
- 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/CountryFlag.vue.d.ts +10 -0
- 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 +4 -0
- package/dist/modal/ShortcutHelp.vue.d.ts +2 -0
- package/dist/modal/index.d.ts +2 -0
- package/dist/modal/index.js +64 -6
- package/dist/modal/placement.d.ts +22 -0
- 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-CjSz2dQK.js → options-BXkMR63B.js} +48 -49
- package/dist/overlay/AlertDialog.vue.d.ts +3 -3
- package/dist/overlay/Popover.vue.d.ts +4 -1
- package/dist/overlay/closeOverlays.d.ts +7 -0
- package/dist/overlay/dialogStack.d.ts +9 -0
- package/dist/overlay/index.d.ts +1 -1
- package/dist/overlay/index.js +20 -18
- 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 +247 -540
- package/dist/platform/AccessGate.vue.d.ts +50 -0
- package/dist/platform/index.d.ts +4 -2
- package/dist/platform/index.js +38 -35
- 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 +4 -1
- package/dist/shell/BackofficeShell.vue.d.ts +2 -2
- 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 +476 -532
- package/dist/state/Badge.vue.d.ts +17 -10
- package/dist/state/ProgressTrack.vue.d.ts +1 -1
- package/dist/state/hue.d.ts +8 -0
- package/dist/state/index.d.ts +2 -0
- package/dist/state/index.js +34 -31
- package/dist/state/useLoad.d.ts +41 -0
- package/dist/status-C9aXR-Jb.js +33 -0
- package/dist/styles.css +1 -1
- package/dist/suggestions-BJAqOj4c.js +138 -0
- package/dist/testing/app.d.ts +61 -0
- package/dist/testing/async.d.ts +12 -0
- package/dist/testing/collection.d.ts +18 -0
- package/dist/testing/format.d.ts +9 -0
- package/dist/testing/i18n.d.ts +16 -0
- package/dist/testing/index.d.ts +14 -0
- package/dist/testing/index.js +178 -0
- package/dist/testing/media.d.ts +23 -0
- package/dist/testing/platform.d.ts +40 -0
- package/dist/testing/transport.d.ts +40 -0
- package/dist/toast-D9Z5To38.js +13 -0
- package/dist/useCommand-BgRwnYlV.js +135 -0
- package/dist/{useDialog-wmyNx2j_.js → useDialog-CXR3hN0G.js} +1 -1
- 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 +26 -5
- package/src/styles/theme.css +60 -0
- package/dist/Badge.vue_vue_type_script_setup_true_lang-DKc6ugmr.js +0 -31
- package/dist/Button.vue_vue_type_script_setup_true_lang-3f0emVNU.js +0 -141
- package/dist/NoAccess.vue_vue_type_script_setup_true_lang-OKW8pKYU.js +0 -78
- package/dist/SectionList.vue_vue_type_script_setup_true_lang-DGcKX_OJ.js +0 -230
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-SyFWE33A.js +0 -422
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-BLBD5ps8.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/dialogStack-DiTG1rZc.js +0 -26
- package/dist/environment-D3nozt9a.js +0 -75
- package/dist/feature-DyDtyMLU.js +0 -47
- package/dist/platform-jqlKVJ2e.js +0 -244
- package/dist/toast-BTeX0r66.js +0 -129
- /package/dist/{phone → internal}/flagLoaders.d.ts +0 -0
package/dist/resource/index.js
CHANGED
|
@@ -1,250 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { i as S } from "../error-Bb_dr_Ay.js";
|
|
4
|
-
import { useRoute as H, useRouter as Q, RouterLink as I } from "vue-router";
|
|
5
|
-
import { M as N } from "../context-Ch1r4fdN.js";
|
|
6
|
-
import { u as T } from "../Button.vue_vue_type_script_setup_true_lang-3f0emVNU.js";
|
|
7
|
-
import { _ as w } from "../Icon.vue_vue_type_script_lang-DtC4_mkz.js";
|
|
8
|
-
import { _ as D } from "../Tooltip.vue_vue_type_script_setup_true_lang-BJWPVyfT.js";
|
|
9
|
-
import { a as X } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-CKghARkW.js";
|
|
10
|
-
import { _ as Y } from "../AsyncSection.vue_vue_type_script_setup_true_lang-B82bl36A.js";
|
|
11
|
-
import { _ as Z } from "../EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js";
|
|
12
|
-
function ee(t) {
|
|
13
|
-
if (!/^\d+$/.test(t)) return null;
|
|
14
|
-
const e = Number(t);
|
|
15
|
-
return Number.isSafeInteger(e) && e > 0 ? e : null;
|
|
16
|
-
}
|
|
17
|
-
const te = (t) => typeof t == "object" && t !== null && "state" in t && "reload" in t && "id" in t, oe = (t) => typeof t == "object" && t !== null && "id" in t;
|
|
18
|
-
function re(t) {
|
|
19
|
-
const { t: e } = C(), r = te(t.for) ? t.for : null, i = f(() => r ? r.id.value : K(t.for)), u = f(() => r !== null && r.data.value === null), o = F({ status: "loading" });
|
|
20
|
-
let n = null, s = 0, m = null;
|
|
21
|
-
const y = t.errorMessage ?? ((l) => S(l) && l.kind === "network" ? e("core.resource.offline") : S(l) && l.kind === "forbidden" ? e("core.no_access.body") : e("core.resource.unavailable"));
|
|
22
|
-
function R() {
|
|
23
|
-
return m?.abort(), m = null, ++s;
|
|
24
|
-
}
|
|
25
|
-
async function A() {
|
|
26
|
-
const l = i.value, p = R();
|
|
27
|
-
if (u.value) {
|
|
28
|
-
n = null, o.value = { status: "loading" };
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
if (l === null) {
|
|
32
|
-
n = null, o.value = { status: "failed", reason: "notFound", error: e("core.resource.not_found.body") };
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
const g = n === l && "value" in o.value ? o.value : null;
|
|
36
|
-
g ? o.value = { status: "refreshing", value: g.value } : (n = null, o.value = { status: "loading" });
|
|
37
|
-
const L = new AbortController();
|
|
38
|
-
m = L;
|
|
39
|
-
try {
|
|
40
|
-
const v = await t.load(l, { signal: L.signal });
|
|
41
|
-
if (p !== s) return;
|
|
42
|
-
n = l, o.value = { status: "loaded", value: v };
|
|
43
|
-
} catch (v) {
|
|
44
|
-
if (p !== s) return;
|
|
45
|
-
S(v) && v.kind === "notFound" ? (n = null, o.value = { status: "failed", reason: "notFound", error: e("core.resource.not_found.body") }) : g ? o.value = { status: "stale", value: g.value, error: y(v) } : (n = null, o.value = { status: "failed", reason: "unavailable", error: y(v) });
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function B(l) {
|
|
49
|
-
const p = i.value, g = t.identify ? t.identify(l) : oe(l) ? l.id : p;
|
|
50
|
-
return p === null || g !== p ? !1 : (R(), n = p, o.value = { status: "loaded", value: l }, !0);
|
|
51
|
-
}
|
|
52
|
-
return P([i, u], () => void A(), { immediate: !0, flush: "sync" }), M() && J(R), {
|
|
53
|
-
id: i,
|
|
54
|
-
state: f(() => o.value),
|
|
55
|
-
data: f(() => "value" in o.value ? o.value.value : null),
|
|
56
|
-
reload: A,
|
|
57
|
-
update: B
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function he(t) {
|
|
61
|
-
const e = H(), r = t.parse ?? ee, i = F(null);
|
|
62
|
-
let u = !1;
|
|
63
|
-
P(
|
|
64
|
-
() => e.params[t.param],
|
|
65
|
-
(n) => {
|
|
66
|
-
if (n === void 0 && u) return;
|
|
67
|
-
u = !0;
|
|
68
|
-
const s = Array.isArray(n) ? n[0] : n;
|
|
69
|
-
i.value = s === void 0 ? null : r(s);
|
|
70
|
-
},
|
|
71
|
-
{ immediate: !0, flush: "sync" }
|
|
72
|
-
);
|
|
73
|
-
const o = re({ ...t, for: i });
|
|
74
|
-
return t.key && U(t.key, o), o;
|
|
75
|
-
}
|
|
76
|
-
function ye(t) {
|
|
77
|
-
const e = t.description ?? "route resource";
|
|
78
|
-
if (!O()) throw new N(e, "outside-setup");
|
|
79
|
-
const r = W(t, null);
|
|
80
|
-
if (!r) throw new N(e, "not-provided");
|
|
81
|
-
return r;
|
|
82
|
-
}
|
|
83
|
-
const ne = ["aria-label"], se = {
|
|
84
|
-
class: "min-w-14 px-1 text-center text-footnote tabular-nums text-content-muted compact:px-1.5",
|
|
85
|
-
"data-test": "pager-position",
|
|
86
|
-
"aria-live": "polite"
|
|
87
|
-
}, x = "hit-target flex size-6 items-center justify-center rounded-button text-content-strong transition-colors duration-motion-fast hover:bg-fill-strong focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-border-focus compact:size-9 compact:text-content-link compact:hover:bg-transparent", E = "pointer-events-none opacity-40", ae = /* @__PURE__ */ V({
|
|
88
|
-
__name: "RecordPager",
|
|
89
|
-
props: {
|
|
90
|
-
neighbors: {}
|
|
91
|
-
},
|
|
92
|
-
setup(t) {
|
|
93
|
-
const e = t, { t: r } = C(), i = Q(), u = (o, n) => T({ key: o }, () => {
|
|
94
|
-
const s = e.neighbors[n];
|
|
95
|
-
if (!s) return !1;
|
|
96
|
-
i.push(s);
|
|
97
|
-
});
|
|
98
|
-
return u("j", "next"), u("ArrowRight", "next"), u("k", "previous"), u("ArrowLeft", "previous"), (o, n) => (c(), $("nav", {
|
|
99
|
-
"aria-label": a(r)("core.resource.pager.records"),
|
|
100
|
-
"data-test": "record-pager",
|
|
101
|
-
class: "inline-flex shrink-0 items-center rounded-button bg-fill p-0.5 compact:gap-0.5 compact:bg-surface-overlay compact:p-1 compact:shadow-float"
|
|
102
|
-
}, [
|
|
103
|
-
e.neighbors.previous ? (c(), h(a(D), {
|
|
104
|
-
key: 0,
|
|
105
|
-
side: "bottom",
|
|
106
|
-
delay: 300,
|
|
107
|
-
text: `${a(r)("core.resource.pager.previous")} (← / K)`
|
|
108
|
-
}, {
|
|
109
|
-
default: d(() => [
|
|
110
|
-
b(a(I), {
|
|
111
|
-
to: e.neighbors.previous,
|
|
112
|
-
"aria-label": a(r)("core.resource.pager.previous"),
|
|
113
|
-
"aria-keyshortcuts": "ArrowLeft K",
|
|
114
|
-
"data-test": "pager-previous",
|
|
115
|
-
class: k(x)
|
|
116
|
-
}, {
|
|
117
|
-
default: d(() => [
|
|
118
|
-
b(a(w), {
|
|
119
|
-
name: "arrowUpSLine",
|
|
120
|
-
size: 18
|
|
121
|
-
})
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 8, ["to", "aria-label"])
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}, 8, ["text"])) : (c(), $("span", {
|
|
128
|
-
key: 1,
|
|
129
|
-
class: k([x, E]),
|
|
130
|
-
"aria-hidden": "true"
|
|
131
|
-
}, [
|
|
132
|
-
b(a(w), {
|
|
133
|
-
name: "arrowUpSLine",
|
|
134
|
-
size: 18
|
|
135
|
-
})
|
|
136
|
-
], 2)),
|
|
137
|
-
q("span", se, z(e.neighbors.position) + " / " + z(e.neighbors.total), 1),
|
|
138
|
-
e.neighbors.next ? (c(), h(a(D), {
|
|
139
|
-
key: 2,
|
|
140
|
-
side: "bottom",
|
|
141
|
-
delay: 300,
|
|
142
|
-
text: `${a(r)("core.resource.pager.next")} (→ / J)`
|
|
143
|
-
}, {
|
|
144
|
-
default: d(() => [
|
|
145
|
-
b(a(I), {
|
|
146
|
-
to: e.neighbors.next,
|
|
147
|
-
"aria-label": a(r)("core.resource.pager.next"),
|
|
148
|
-
"aria-keyshortcuts": "ArrowRight J",
|
|
149
|
-
"data-test": "pager-next",
|
|
150
|
-
class: k(x)
|
|
151
|
-
}, {
|
|
152
|
-
default: d(() => [
|
|
153
|
-
b(a(w), {
|
|
154
|
-
name: "arrowDownSLine",
|
|
155
|
-
size: 18
|
|
156
|
-
})
|
|
157
|
-
]),
|
|
158
|
-
_: 1
|
|
159
|
-
}, 8, ["to", "aria-label"])
|
|
160
|
-
]),
|
|
161
|
-
_: 1
|
|
162
|
-
}, 8, ["text"])) : (c(), $("span", {
|
|
163
|
-
key: 3,
|
|
164
|
-
class: k([x, E]),
|
|
165
|
-
"aria-hidden": "true"
|
|
166
|
-
}, [
|
|
167
|
-
b(a(w), {
|
|
168
|
-
name: "arrowDownSLine",
|
|
169
|
-
size: 18
|
|
170
|
-
})
|
|
171
|
-
], 2))
|
|
172
|
-
], 8, ne));
|
|
173
|
-
}
|
|
174
|
-
}), ke = /* @__PURE__ */ V({
|
|
175
|
-
__name: "ResourcePage",
|
|
176
|
-
props: {
|
|
177
|
-
resource: {},
|
|
178
|
-
title: {},
|
|
179
|
-
back: { default: void 0 },
|
|
180
|
-
list: { default: null },
|
|
181
|
-
actions: { default: () => [] },
|
|
182
|
-
width: { default: "content" }
|
|
183
|
-
},
|
|
184
|
-
setup(t) {
|
|
185
|
-
const e = t, { t: r } = C(), i = f(() => e.resource.state.value), u = f(() => e.resource.data.value), o = f(() => i.value.status === "failed" && "reason" in i.value && i.value.reason === "notFound"), n = f(() => e.back ?? e.list?.back ?? null);
|
|
186
|
-
return (s, m) => (c(), h(X, {
|
|
187
|
-
title: e.title,
|
|
188
|
-
"document-title": e.title,
|
|
189
|
-
back: n.value,
|
|
190
|
-
actions: e.actions,
|
|
191
|
-
width: e.width
|
|
192
|
-
}, j({
|
|
193
|
-
default: d(() => [
|
|
194
|
-
o.value ? (c(), h(Z, {
|
|
195
|
-
key: 0,
|
|
196
|
-
title: a(r)("core.resource.not_found.title"),
|
|
197
|
-
description: a(r)("core.resource.not_found.body"),
|
|
198
|
-
icon: "errorWarningLine"
|
|
199
|
-
}, null, 8, ["title", "description"])) : (c(), h(Y, {
|
|
200
|
-
key: 1,
|
|
201
|
-
state: i.value,
|
|
202
|
-
"is-empty": () => !1,
|
|
203
|
-
onRetry: m[0] || (m[0] = (y) => e.resource.reload())
|
|
204
|
-
}, j({
|
|
205
|
-
default: d(({ value: y }) => [
|
|
206
|
-
_(s.$slots, "default", { record: y })
|
|
207
|
-
]),
|
|
208
|
-
_: 2
|
|
209
|
-
}, [
|
|
210
|
-
s.$slots.loading ? {
|
|
211
|
-
name: "skeleton",
|
|
212
|
-
fn: d(() => [
|
|
213
|
-
_(s.$slots, "loading")
|
|
214
|
-
]),
|
|
215
|
-
key: "0"
|
|
216
|
-
} : void 0
|
|
217
|
-
]), 1032, ["state"]))
|
|
218
|
-
]),
|
|
219
|
-
_: 2
|
|
220
|
-
}, [
|
|
221
|
-
s.$slots.pager || e.list?.neighbors ? {
|
|
222
|
-
name: "pager",
|
|
223
|
-
fn: d(() => [
|
|
224
|
-
_(s.$slots, "pager", {}, () => [
|
|
225
|
-
e.list?.neighbors ? (c(), h(ae, {
|
|
226
|
-
key: 0,
|
|
227
|
-
neighbors: e.list.neighbors
|
|
228
|
-
}, null, 8, ["neighbors"])) : G("", !0)
|
|
229
|
-
])
|
|
230
|
-
]),
|
|
231
|
-
key: "0"
|
|
232
|
-
} : void 0,
|
|
233
|
-
u.value !== null && s.$slots.header ? {
|
|
234
|
-
name: "header",
|
|
235
|
-
fn: d(() => [
|
|
236
|
-
_(s.$slots, "header", { record: u.value })
|
|
237
|
-
]),
|
|
238
|
-
key: "1"
|
|
239
|
-
} : void 0
|
|
240
|
-
]), 1032, ["title", "document-title", "back", "actions", "width"]));
|
|
241
|
-
}
|
|
242
|
-
});
|
|
1
|
+
import { p as o, u as r, a, b as u } from "../routeResource-DstM0hvf.js";
|
|
2
|
+
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-CJcKa9SW.js";
|
|
243
3
|
export {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
4
|
+
R as RecordPager,
|
|
5
|
+
c as ResourcePage,
|
|
6
|
+
o as positiveInteger,
|
|
7
|
+
r as useResource,
|
|
8
|
+
a as useRouteResource,
|
|
9
|
+
u as useRouteResourceContext
|
|
250
10
|
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { computed as f, toValue as x, shallowRef as R, watch as w, getCurrentScope as C, onScopeDispose as I, provide as j, hasInjectionContext as A, inject as F } from "vue";
|
|
2
|
+
import { useRoute as M } from "vue-router";
|
|
3
|
+
import { M as h } from "./context-Ch1r4fdN.js";
|
|
4
|
+
import { useI18n as S } from "vue-i18n";
|
|
5
|
+
import { a as p } from "./error-CD7x0Jrz.js";
|
|
6
|
+
function _(e) {
|
|
7
|
+
if (!/^\d+$/.test(e)) return null;
|
|
8
|
+
const n = Number(e);
|
|
9
|
+
return Number.isSafeInteger(n) && n > 0 ? n : null;
|
|
10
|
+
}
|
|
11
|
+
const E = (e) => typeof e == "object" && e !== null && "state" in e && "reload" in e && "id" in e, N = (e) => typeof e == "object" && e !== null && "id" in e;
|
|
12
|
+
function D(e) {
|
|
13
|
+
const { t: n } = S(), o = E(e.for) ? e.for : null, s = f(() => o ? o.id.value : x(e.for)), d = f(() => o !== null && o.data.value === null), t = R({ status: "loading" });
|
|
14
|
+
let u = null, a = 0, v = null;
|
|
15
|
+
const g = e.errorMessage ?? ((r) => p(r) && r.kind === "network" ? n("core.resource.offline") : p(r) && r.kind === "forbidden" ? n("core.no_access.body") : n("core.resource.unavailable"));
|
|
16
|
+
function m() {
|
|
17
|
+
return v?.abort(), v = null, ++a;
|
|
18
|
+
}
|
|
19
|
+
async function y() {
|
|
20
|
+
const r = s.value, l = m();
|
|
21
|
+
if (d.value) {
|
|
22
|
+
u = null, t.value = { status: "loading" };
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
if (r === null) {
|
|
26
|
+
u = null, t.value = { status: "failed", reason: "notFound", error: n("core.resource.not_found.body") };
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const i = u === r && "value" in t.value ? t.value : null;
|
|
30
|
+
i ? t.value = { status: "refreshing", value: i.value } : (u = null, t.value = { status: "loading" });
|
|
31
|
+
const b = new AbortController();
|
|
32
|
+
v = b;
|
|
33
|
+
try {
|
|
34
|
+
const c = await e.load(r, { signal: b.signal });
|
|
35
|
+
if (l !== a) return;
|
|
36
|
+
u = r, t.value = { status: "loaded", value: c };
|
|
37
|
+
} catch (c) {
|
|
38
|
+
if (l !== a) return;
|
|
39
|
+
p(c) && c.kind === "notFound" ? (u = null, t.value = { status: "failed", reason: "notFound", error: n("core.resource.not_found.body") }) : i ? t.value = { status: "stale", value: i.value, error: g(c) } : (u = null, t.value = { status: "failed", reason: "unavailable", error: g(c) });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function k(r) {
|
|
43
|
+
const l = s.value, i = e.identify ? e.identify(r) : N(r) ? r.id : l;
|
|
44
|
+
return l === null || i !== l ? !1 : (m(), u = l, t.value = { status: "loaded", value: r }, !0);
|
|
45
|
+
}
|
|
46
|
+
return w([s, d], () => void y(), { immediate: !0, flush: "sync" }), C() && I(m), {
|
|
47
|
+
id: s,
|
|
48
|
+
state: f(() => t.value),
|
|
49
|
+
data: f(() => "value" in t.value ? t.value.value : null),
|
|
50
|
+
reload: y,
|
|
51
|
+
update: k
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function B(e) {
|
|
55
|
+
const n = M(), o = e.parse ?? _, s = R(null);
|
|
56
|
+
let d = !1;
|
|
57
|
+
w(
|
|
58
|
+
() => n.params[e.param],
|
|
59
|
+
(u) => {
|
|
60
|
+
if (u === void 0 && d) return;
|
|
61
|
+
d = !0;
|
|
62
|
+
const a = Array.isArray(u) ? u[0] : u;
|
|
63
|
+
s.value = a === void 0 ? null : o(a);
|
|
64
|
+
},
|
|
65
|
+
{ immediate: !0, flush: "sync" }
|
|
66
|
+
);
|
|
67
|
+
const t = D({ ...e, for: s });
|
|
68
|
+
return e.key && j(e.key, t), t;
|
|
69
|
+
}
|
|
70
|
+
function G(e) {
|
|
71
|
+
const n = e.description ?? "route resource";
|
|
72
|
+
if (!A()) throw new h(n, "outside-setup");
|
|
73
|
+
const o = F(e, null);
|
|
74
|
+
if (!o) throw new h(n, "not-provided");
|
|
75
|
+
return o;
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
B as a,
|
|
79
|
+
G as b,
|
|
80
|
+
_ as p,
|
|
81
|
+
D as u
|
|
82
|
+
};
|
package/dist/router/guards.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RouteLocationNormalized, RouteLocationRaw, Router } from "vue-router";
|
|
2
|
-
import type
|
|
2
|
+
import { type Session } from "../platform/session";
|
|
3
3
|
export interface RouterGuardOptions {
|
|
4
4
|
router: Router;
|
|
5
5
|
session: Session;
|
|
@@ -19,6 +19,12 @@ export interface RouterGuardOptions {
|
|
|
19
19
|
start(): void;
|
|
20
20
|
done(): void;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* True when something on the page asks the person to sign in again when their session expires (the identity
|
|
24
|
+
* feature's sheet): an expired session then stays on its protected page instead of going to the login page.
|
|
25
|
+
* A session that ends any other way still goes to the login page.
|
|
26
|
+
*/
|
|
27
|
+
holdExpired?: boolean;
|
|
22
28
|
/** A failure of the session check or of the router (a lazy view that did not load). */
|
|
23
29
|
onError?: (error: unknown) => void;
|
|
24
30
|
}
|
package/dist/router/index.js
CHANGED
|
@@ -1,39 +1,25 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (const e of s)
|
|
8
|
-
typeof e.name == "string" && (yield e.name), e.children && (yield* r(e.children));
|
|
9
|
-
}
|
|
10
|
-
function f(s) {
|
|
11
|
-
const e = Object.values(s), o = /* @__PURE__ */ new Set();
|
|
12
|
-
for (const a of r(e)) {
|
|
13
|
-
if (o.has(a)) throw new Error(`defineRoutes: the route name "${a}" is used twice in one declaration.`);
|
|
14
|
-
o.add(a);
|
|
15
|
-
}
|
|
16
|
-
const n = {};
|
|
17
|
-
for (const [a, t] of Object.entries(s))
|
|
18
|
-
n[a] = c(t.path) ? (i) => ({ name: t.name, params: i ?? {} }) : { name: t.name };
|
|
19
|
-
return { ...n, records: e };
|
|
20
|
-
}
|
|
1
|
+
import { _ as a, c as o, a as r, i as t } from "../NoAccess.vue_vue_type_script_setup_true_lang-8m9cNptR.js";
|
|
2
|
+
import { d as c } from "../defineRoutes-BGAdiIrt.js";
|
|
3
|
+
import { A as u, f as p, i as f, r as A, u as m } from "../access-DdRFrVV1.js";
|
|
4
|
+
import { i as l, r as x } from "../guards-Cd1V28oG.js";
|
|
5
|
+
import { u as y } from "../sections-BEqW1dOc.js";
|
|
6
|
+
import { b as v, c as N, n as H, u as b } from "../navigation-BPWa63ge.js";
|
|
21
7
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
8
|
+
u as AppRouterView,
|
|
9
|
+
a as NoAccess,
|
|
10
|
+
v as bindNavigation,
|
|
11
|
+
o as createAppHistory,
|
|
12
|
+
N as createNavigation,
|
|
13
|
+
r as createReplaceOnlyHistory,
|
|
14
|
+
c as defineRoutes,
|
|
15
|
+
p as firstDenied,
|
|
16
|
+
l as installRouterGuards,
|
|
17
|
+
f as isAllowed,
|
|
18
|
+
t as isIosHomeScreenApp,
|
|
19
|
+
H as navigationKey,
|
|
20
|
+
x as returnTo,
|
|
21
|
+
A as routeAccessKey,
|
|
22
|
+
b as useNavigation,
|
|
23
|
+
m as useRouteAccess,
|
|
24
|
+
y as useRouteSections
|
|
39
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComputedRef } from "vue";
|
|
2
2
|
import type { RouteLocationRaw, Router } from "vue-router";
|
|
3
|
-
import type
|
|
3
|
+
import { type Session } from "../platform/session";
|
|
4
4
|
import type { Destination } from "./index";
|
|
5
5
|
/**
|
|
6
6
|
* Connects a destination the backend's menu names to a route of the application. The backend owns the
|