@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/modal/index.js
CHANGED
|
@@ -1,8 +1,66 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
1
|
+
import { _ as G } from "../DiscardChangesModal.vue_vue_type_script_setup_true_lang-Cb3xJI1x.js";
|
|
2
|
+
import { _ as y } from "../Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js";
|
|
3
|
+
import { m as O } from "../Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js";
|
|
4
|
+
import { _ as T } from "../Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js";
|
|
5
|
+
import { defineComponent as b, ref as k, computed as v, openBlock as t, createBlock as w, unref as i, withCtx as S, createElementVNode as r, createElementBlock as o, Fragment as c, renderList as u, toDisplayString as l, createCommentVNode as C } from "vue";
|
|
6
|
+
import { useI18n as B } from "vue-i18n";
|
|
7
|
+
import { a as K, u as M } from "../Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js";
|
|
8
|
+
const $ = {
|
|
9
|
+
class: "flex flex-col gap-5",
|
|
10
|
+
"data-test": "shortcut-help"
|
|
11
|
+
}, j = { class: "mb-1 text-footnote font-semibold text-content-muted uppercase" }, D = { class: "divide-y divide-border-separator" }, E = { class: "text-body" }, H = { class: "flex shrink-0 items-center gap-1 text-footnote text-content-muted" }, N = { key: 0 }, V = { class: "text-footnote text-content-muted" }, R = /* @__PURE__ */ b({
|
|
12
|
+
__name: "ShortcutHelp",
|
|
13
|
+
setup(z) {
|
|
14
|
+
const { t: s, te: f } = B(), p = k(null), h = K();
|
|
15
|
+
M({ key: "?", shiftKey: !0, group: "general", label: () => s("core.shortcuts.show_help") }, () => p.value?.present());
|
|
16
|
+
const x = v(() => {
|
|
17
|
+
const a = /* @__PURE__ */ new Map();
|
|
18
|
+
for (const e of h.value) a.set(e.group ?? "general", [...a.get(e.group ?? "general") ?? [], e]);
|
|
19
|
+
return [...a].map(([e, n]) => ({ group: e, title: f(`core.shortcuts.groups.${e}`) ? s(`core.shortcuts.groups.${e}`) : e, rows: n }));
|
|
20
|
+
});
|
|
21
|
+
return (a, e) => (t(), w(y, {
|
|
22
|
+
ref_key: "modal",
|
|
23
|
+
ref: p,
|
|
24
|
+
title: i(s)("core.shortcuts.title"),
|
|
25
|
+
size: "sm"
|
|
26
|
+
}, {
|
|
27
|
+
default: S(() => [
|
|
28
|
+
r("div", $, [
|
|
29
|
+
(t(!0), o(c, null, u(x.value, (n) => (t(), o("section", {
|
|
30
|
+
key: n.group
|
|
31
|
+
}, [
|
|
32
|
+
r("h3", j, l(n.title), 1),
|
|
33
|
+
r("dl", D, [
|
|
34
|
+
(t(!0), o(c, null, u(n.rows, (d) => (t(), o("div", {
|
|
35
|
+
key: d.label,
|
|
36
|
+
class: "flex items-center justify-between gap-4 py-1.5"
|
|
37
|
+
}, [
|
|
38
|
+
r("dt", E, l(d.label), 1),
|
|
39
|
+
r("dd", H, [
|
|
40
|
+
(t(!0), o(c, null, u(d.keys, (m, g) => (t(), o(c, {
|
|
41
|
+
key: m.join("+")
|
|
42
|
+
}, [
|
|
43
|
+
g > 0 ? (t(), o("span", N, l(i(s)("core.shortcuts.or")), 1)) : C("", !0),
|
|
44
|
+
(t(!0), o(c, null, u(m, (_) => (t(), o("kbd", {
|
|
45
|
+
key: _,
|
|
46
|
+
class: "min-w-6 rounded-control border border-border-separator bg-fill px-1.5 py-0.5 text-center font-mono text-content-strong"
|
|
47
|
+
}, l(_), 1))), 128))
|
|
48
|
+
], 64))), 128))
|
|
49
|
+
])
|
|
50
|
+
]))), 128))
|
|
51
|
+
])
|
|
52
|
+
]))), 128)),
|
|
53
|
+
r("p", V, l(i(s)("core.shortcuts.hint")), 1)
|
|
54
|
+
])
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["title"]));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
4
60
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
61
|
+
G as DiscardChangesModal,
|
|
62
|
+
y as Modal,
|
|
63
|
+
T as Sheet,
|
|
64
|
+
R as ShortcutHelp,
|
|
65
|
+
O as modalPlacementKey
|
|
8
66
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type InjectionKey, type MaybeRefOrGetter } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* Where a `Modal` stands on wide screens (phones always get the page sheet). The default is the
|
|
4
|
+
* centre of the viewport. An application shown inside a frame that has chrome of its own (the page
|
|
5
|
+
* around it covers part of the viewport) aligns dialogs to the top and shifts them away from it.
|
|
6
|
+
*/
|
|
7
|
+
export interface ModalPlacement {
|
|
8
|
+
/** `"center"` (default) or `"top"`: near the top edge, where a tall dialog does not push its header out of sight. */
|
|
9
|
+
readonly align?: "center" | "top";
|
|
10
|
+
/** A horizontal shift in pixels; negative moves the dialog left. Default 0. */
|
|
11
|
+
readonly offsetX?: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The placement of every modal of the application, once, reactive when given as a ref or getter:
|
|
15
|
+
*
|
|
16
|
+
* app.provide(modalPlacementKey, () => ({ align: "top", offsetX: -hostSidebarWidth.value / 2 }));
|
|
17
|
+
*
|
|
18
|
+
* A modal's own `placement` prop wins, field by field.
|
|
19
|
+
*/
|
|
20
|
+
export declare const modalPlacementKey: InjectionKey<MaybeRefOrGetter<ModalPlacement>>;
|
|
21
|
+
/** The placement to apply: the app's, with the modal's own fields on top. */
|
|
22
|
+
export declare function resolvePlacement(app: MaybeRefOrGetter<ModalPlacement> | undefined, own: ModalPlacement | undefined): Required<ModalPlacement>;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export type BindableRoles = {
|
|
2
|
+
roles: Role[];
|
|
3
|
+
};
|
|
4
|
+
export type Binding = {
|
|
5
|
+
id: number;
|
|
6
|
+
role: RoleSummary;
|
|
7
|
+
scope: Scope;
|
|
8
|
+
created_by: PersonRef | null;
|
|
9
|
+
created_at: string;
|
|
10
|
+
};
|
|
11
|
+
export type Constraint = {
|
|
12
|
+
attribute: string;
|
|
13
|
+
values: string[];
|
|
14
|
+
};
|
|
15
|
+
export type EffectiveGrant = {
|
|
16
|
+
qualifier: string;
|
|
17
|
+
scope: Scope;
|
|
18
|
+
attrs: Constraint[];
|
|
19
|
+
binding_id: number;
|
|
20
|
+
role_key: string;
|
|
21
|
+
role_name: string;
|
|
22
|
+
};
|
|
23
|
+
export type EffectivePermission = {
|
|
24
|
+
permission: string;
|
|
25
|
+
grants: EffectiveGrant[];
|
|
26
|
+
unavailable: boolean;
|
|
27
|
+
};
|
|
28
|
+
export type Grant = {
|
|
29
|
+
permission: string;
|
|
30
|
+
qualifier: string;
|
|
31
|
+
};
|
|
32
|
+
export type GrantDifference = {
|
|
33
|
+
permission: string;
|
|
34
|
+
role: string;
|
|
35
|
+
other: string;
|
|
36
|
+
};
|
|
37
|
+
export type PersonRef = {
|
|
38
|
+
id: number;
|
|
39
|
+
name: string;
|
|
40
|
+
};
|
|
41
|
+
export type Replaced = {
|
|
42
|
+
rebound: number;
|
|
43
|
+
};
|
|
44
|
+
export type Role = {
|
|
45
|
+
ref: string;
|
|
46
|
+
id: number | null;
|
|
47
|
+
key: string | null;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
predefined: boolean;
|
|
51
|
+
computed: boolean;
|
|
52
|
+
attrs: Constraint[];
|
|
53
|
+
holders: number;
|
|
54
|
+
permission_count: number;
|
|
55
|
+
grants: Grant[];
|
|
56
|
+
};
|
|
57
|
+
export type RoleComparison = {
|
|
58
|
+
only_in_role: Grant[];
|
|
59
|
+
only_in_other: Grant[];
|
|
60
|
+
different: GrantDifference[];
|
|
61
|
+
};
|
|
62
|
+
export type RoleHolder = {
|
|
63
|
+
subject: SubjectRef;
|
|
64
|
+
name: string;
|
|
65
|
+
scope: Scope;
|
|
66
|
+
};
|
|
67
|
+
export type RoleHolders = {
|
|
68
|
+
holders: RoleHolder[];
|
|
69
|
+
};
|
|
70
|
+
export type RoleList = {
|
|
71
|
+
roles: RoleSummary[];
|
|
72
|
+
};
|
|
73
|
+
export type RoleSummary = {
|
|
74
|
+
ref: string;
|
|
75
|
+
id: number | null;
|
|
76
|
+
key: string | null;
|
|
77
|
+
name: string;
|
|
78
|
+
description: string;
|
|
79
|
+
predefined: boolean;
|
|
80
|
+
computed: boolean;
|
|
81
|
+
attrs: Constraint[];
|
|
82
|
+
holders: number;
|
|
83
|
+
permission_count: number;
|
|
84
|
+
};
|
|
85
|
+
export type Scope = {
|
|
86
|
+
level: string;
|
|
87
|
+
id: number | null;
|
|
88
|
+
name: string | null;
|
|
89
|
+
};
|
|
90
|
+
export type ScopeOption = {
|
|
91
|
+
level: string;
|
|
92
|
+
id: number;
|
|
93
|
+
name: string;
|
|
94
|
+
parent_level: string;
|
|
95
|
+
parent_id: number | null;
|
|
96
|
+
};
|
|
97
|
+
export type ScopeOptions = {
|
|
98
|
+
root_level: string;
|
|
99
|
+
root: boolean;
|
|
100
|
+
places: ScopeOption[];
|
|
101
|
+
};
|
|
102
|
+
export type SubjectAccess = {
|
|
103
|
+
subject: SubjectRef;
|
|
104
|
+
bindings: Binding[];
|
|
105
|
+
effective: EffectivePermission[];
|
|
106
|
+
can_manage: boolean;
|
|
107
|
+
};
|
|
108
|
+
export type SubjectKind = "user" | "service";
|
|
109
|
+
export type SubjectRef = {
|
|
110
|
+
kind: SubjectKind;
|
|
111
|
+
id: number;
|
|
112
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { BindableRoles, Binding, Replaced, Role, RoleComparison, RoleHolders, RoleList, ScopeOptions, SubjectAccess } from "./entities";
|
|
2
|
+
export declare const accessRoutes: {
|
|
3
|
+
readonly rolesList: import("../../client").ApiRoute<void, RoleList>;
|
|
4
|
+
readonly rolesShow: import("../../client").ApiRoute<{
|
|
5
|
+
ref: string;
|
|
6
|
+
}, Role>;
|
|
7
|
+
readonly rolesHolders: import("../../client").ApiRoute<{
|
|
8
|
+
ref: string;
|
|
9
|
+
}, RoleHolders>;
|
|
10
|
+
readonly rolesCompare: import("../../client").ApiRoute<{
|
|
11
|
+
ref: string;
|
|
12
|
+
with: string;
|
|
13
|
+
}, RoleComparison>;
|
|
14
|
+
readonly rolesCreate: import("../../client").ApiRoute<{
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
grants: {
|
|
18
|
+
permission: string;
|
|
19
|
+
qualifier: string;
|
|
20
|
+
}[];
|
|
21
|
+
attrs: {
|
|
22
|
+
attribute: string;
|
|
23
|
+
values: string[];
|
|
24
|
+
}[];
|
|
25
|
+
}, Role>;
|
|
26
|
+
readonly rolesUpdate: import("../../client").ApiRoute<{
|
|
27
|
+
ref: string;
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
grants: {
|
|
31
|
+
permission: string;
|
|
32
|
+
qualifier: string;
|
|
33
|
+
}[];
|
|
34
|
+
attrs: {
|
|
35
|
+
attribute: string;
|
|
36
|
+
values: string[];
|
|
37
|
+
}[];
|
|
38
|
+
}, Role>;
|
|
39
|
+
readonly rolesDelete: import("../../client").ApiRoute<{
|
|
40
|
+
ref: string;
|
|
41
|
+
}, void>;
|
|
42
|
+
readonly rolesReplace: import("../../client").ApiRoute<{
|
|
43
|
+
ref: string;
|
|
44
|
+
with: string;
|
|
45
|
+
}, Replaced>;
|
|
46
|
+
readonly bindable: import("../../client").ApiRoute<{
|
|
47
|
+
level: string;
|
|
48
|
+
scope_id: number;
|
|
49
|
+
}, BindableRoles>;
|
|
50
|
+
readonly subjectsAccess: import("../../client").ApiRoute<{
|
|
51
|
+
id: number;
|
|
52
|
+
}, SubjectAccess>;
|
|
53
|
+
readonly subjectsScopes: import("../../client").ApiRoute<{
|
|
54
|
+
id: number;
|
|
55
|
+
}, ScopeOptions>;
|
|
56
|
+
readonly subjectsBind: import("../../client").ApiRoute<{
|
|
57
|
+
id: number;
|
|
58
|
+
role_ref: string;
|
|
59
|
+
level: string;
|
|
60
|
+
scope_id?: number | null | undefined;
|
|
61
|
+
}, Binding>;
|
|
62
|
+
readonly subjectsUnbind: import("../../client").ApiRoute<{
|
|
63
|
+
id: number;
|
|
64
|
+
binding_id: number;
|
|
65
|
+
}, void>;
|
|
66
|
+
readonly me: import("../../client").RawRoute;
|
|
67
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BindInputSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
role_ref: z.ZodString;
|
|
5
|
+
level: z.ZodString;
|
|
6
|
+
scope_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type BindInput = z.infer<typeof BindInputSchema>;
|
|
9
|
+
export declare const BindableInputSchema: z.ZodObject<{
|
|
10
|
+
level: z.ZodString;
|
|
11
|
+
scope_id: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type BindableInput = z.infer<typeof BindableInputSchema>;
|
|
14
|
+
export declare const CompareInputSchema: z.ZodObject<{
|
|
15
|
+
ref: z.ZodString;
|
|
16
|
+
with: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type CompareInput = z.infer<typeof CompareInputSchema>;
|
|
19
|
+
export declare const ConstraintSchema: z.ZodObject<{
|
|
20
|
+
attribute: z.ZodString;
|
|
21
|
+
values: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type Constraint = z.infer<typeof ConstraintSchema>;
|
|
24
|
+
export declare const GrantInputSchema: z.ZodObject<{
|
|
25
|
+
permission: z.ZodString;
|
|
26
|
+
qualifier: z.ZodString;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export type GrantInput = z.infer<typeof GrantInputSchema>;
|
|
29
|
+
export declare const CreateRoleInputSchema: z.ZodObject<{
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
description: z.ZodString;
|
|
32
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
33
|
+
permission: z.ZodString;
|
|
34
|
+
qualifier: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
attrs: z.ZodArray<z.ZodObject<{
|
|
37
|
+
attribute: z.ZodString;
|
|
38
|
+
values: z.ZodArray<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type CreateRoleInput = z.infer<typeof CreateRoleInputSchema>;
|
|
42
|
+
export declare const ReplaceRoleInputSchema: z.ZodObject<{
|
|
43
|
+
ref: z.ZodString;
|
|
44
|
+
with: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
export type ReplaceRoleInput = z.infer<typeof ReplaceRoleInputSchema>;
|
|
47
|
+
export declare const RoleInputSchema: z.ZodObject<{
|
|
48
|
+
ref: z.ZodString;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type RoleInput = z.infer<typeof RoleInputSchema>;
|
|
51
|
+
export declare const SubjectInputSchema: z.ZodObject<{
|
|
52
|
+
id: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export type SubjectInput = z.infer<typeof SubjectInputSchema>;
|
|
55
|
+
export declare const UnbindInputSchema: z.ZodObject<{
|
|
56
|
+
id: z.ZodNumber;
|
|
57
|
+
binding_id: z.ZodNumber;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export type UnbindInput = z.infer<typeof UnbindInputSchema>;
|
|
60
|
+
export declare const UpdateRoleInputSchema: z.ZodObject<{
|
|
61
|
+
ref: z.ZodString;
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
description: z.ZodString;
|
|
64
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
65
|
+
permission: z.ZodString;
|
|
66
|
+
qualifier: z.ZodString;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
attrs: z.ZodArray<z.ZodObject<{
|
|
69
|
+
attribute: z.ZodString;
|
|
70
|
+
values: z.ZodArray<z.ZodString>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
export type UpdateRoleInput = z.infer<typeof UpdateRoleInputSchema>;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
export type ActivityAction = "created" | "changed" | "deleted";
|
|
2
|
+
export type ActivityRow = {
|
|
3
|
+
id: number;
|
|
4
|
+
area: string;
|
|
5
|
+
record_type: string;
|
|
6
|
+
record_id: number;
|
|
7
|
+
action: ActivityAction;
|
|
8
|
+
signed_in_as: PersonRef | null;
|
|
9
|
+
created_at: string;
|
|
10
|
+
};
|
|
11
|
+
export type ChangeAction = "created" | "updated" | "deactivated" | "activated" | "password" | "email" | "profile";
|
|
12
|
+
export type ChangeRow = {
|
|
13
|
+
id: number;
|
|
14
|
+
action: ChangeAction;
|
|
15
|
+
fields: string[];
|
|
16
|
+
before: Record<string, string>;
|
|
17
|
+
after: Record<string, string>;
|
|
18
|
+
actor: PersonRef | null;
|
|
19
|
+
created_at: string;
|
|
20
|
+
};
|
|
21
|
+
export type ChangeView = "all" | "access" | "details";
|
|
22
|
+
export type ClauseInfo = {
|
|
23
|
+
scope: Scope;
|
|
24
|
+
qualifier: number;
|
|
25
|
+
attrs?: Record<string, string[]>;
|
|
26
|
+
role?: string;
|
|
27
|
+
binding_id?: number;
|
|
28
|
+
};
|
|
29
|
+
export type Impersonator = {
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
export type MyAccess = {
|
|
34
|
+
subject: Subject;
|
|
35
|
+
root: boolean;
|
|
36
|
+
permissions: Record<string, PermissionAccess>;
|
|
37
|
+
unavailable?: string[];
|
|
38
|
+
};
|
|
39
|
+
export type Node = {
|
|
40
|
+
i18n: string;
|
|
41
|
+
icon?: string;
|
|
42
|
+
route?: string;
|
|
43
|
+
children?: Node[];
|
|
44
|
+
permissions?: string[];
|
|
45
|
+
};
|
|
46
|
+
export type PendingEmail = {
|
|
47
|
+
email: string;
|
|
48
|
+
expires_at: string;
|
|
49
|
+
resend_available_at: string;
|
|
50
|
+
attempts_left: number;
|
|
51
|
+
};
|
|
52
|
+
export type PermissionAccess = {
|
|
53
|
+
scope: Scope;
|
|
54
|
+
qualifier: number;
|
|
55
|
+
clauses: ClauseInfo[];
|
|
56
|
+
};
|
|
57
|
+
export type PersonRef = {
|
|
58
|
+
id: number;
|
|
59
|
+
name: string;
|
|
60
|
+
};
|
|
61
|
+
export type ProfileResponse = {
|
|
62
|
+
id: number;
|
|
63
|
+
login: string;
|
|
64
|
+
name: string;
|
|
65
|
+
email: string;
|
|
66
|
+
phone: string;
|
|
67
|
+
locale: string;
|
|
68
|
+
created_at: string;
|
|
69
|
+
pending_email: PendingEmail | null;
|
|
70
|
+
};
|
|
71
|
+
export type Scope = {
|
|
72
|
+
level: string;
|
|
73
|
+
id?: number;
|
|
74
|
+
};
|
|
75
|
+
export type SessionItem = {
|
|
76
|
+
id: number;
|
|
77
|
+
device: string;
|
|
78
|
+
ip: string;
|
|
79
|
+
opened_by: PersonRef | null;
|
|
80
|
+
current: boolean;
|
|
81
|
+
last_used_at: string;
|
|
82
|
+
expires_at: string;
|
|
83
|
+
created_at: string;
|
|
84
|
+
};
|
|
85
|
+
export type SessionList = {
|
|
86
|
+
sessions: SessionItem[];
|
|
87
|
+
};
|
|
88
|
+
export type SessionResponse = {
|
|
89
|
+
user: unknown;
|
|
90
|
+
expires_at: string;
|
|
91
|
+
impersonator?: Impersonator | null;
|
|
92
|
+
access: MyAccess;
|
|
93
|
+
navigation?: Node[];
|
|
94
|
+
};
|
|
95
|
+
export type SignInEvent = "signed_in" | "wrong_password" | "locked_out" | "refused_inactive" | "signed_in_as" | "unlocked" | "signed_out_everywhere" | "session_revoked";
|
|
96
|
+
export type SignInRow = {
|
|
97
|
+
id: number;
|
|
98
|
+
event: SignInEvent;
|
|
99
|
+
ip: string;
|
|
100
|
+
device: string;
|
|
101
|
+
actor: PersonRef | null;
|
|
102
|
+
created_at: string;
|
|
103
|
+
};
|
|
104
|
+
export type SignInView = "all" | "failed";
|
|
105
|
+
export type Status = "active" | "locked" | "inactive";
|
|
106
|
+
export type Subject = {
|
|
107
|
+
kind: string;
|
|
108
|
+
id: number;
|
|
109
|
+
};
|
|
110
|
+
export type UnlockResult = {
|
|
111
|
+
unlocked: boolean;
|
|
112
|
+
};
|
|
113
|
+
export type User = {
|
|
114
|
+
id: number;
|
|
115
|
+
login: string;
|
|
116
|
+
name: string;
|
|
117
|
+
email: string;
|
|
118
|
+
locale: string;
|
|
119
|
+
};
|
|
120
|
+
export type UserDetail = {
|
|
121
|
+
id: number;
|
|
122
|
+
login: string;
|
|
123
|
+
name: string;
|
|
124
|
+
email: string;
|
|
125
|
+
phone: string;
|
|
126
|
+
locale: string;
|
|
127
|
+
active: boolean;
|
|
128
|
+
status: Status;
|
|
129
|
+
last_sign_in: string | null;
|
|
130
|
+
locked_until: string | null;
|
|
131
|
+
created_at: string;
|
|
132
|
+
};
|
|
133
|
+
export type UserRow = {
|
|
134
|
+
id: number;
|
|
135
|
+
login: string;
|
|
136
|
+
name: string;
|
|
137
|
+
email: string;
|
|
138
|
+
phone: string;
|
|
139
|
+
locale: string;
|
|
140
|
+
active: boolean;
|
|
141
|
+
status: Status;
|
|
142
|
+
last_sign_in: string | null;
|
|
143
|
+
locked_until: string | null;
|
|
144
|
+
created_at: string;
|
|
145
|
+
};
|
|
146
|
+
export type UserView = "active" | "locked" | "inactive" | "all";
|
|
147
|
+
export type ViewCount = {
|
|
148
|
+
key: string;
|
|
149
|
+
count: number;
|
|
150
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { type ListResult } from "../../client";
|
|
2
|
+
import type { ActivityRow, ChangeRow, PendingEmail, ProfileResponse, SessionList, SessionResponse, SignInRow, UnlockResult, UserDetail, UserRow } from "./entities";
|
|
3
|
+
export declare const identityRoutes: {
|
|
4
|
+
readonly login: import("../../client").ApiRoute<{
|
|
5
|
+
login: string;
|
|
6
|
+
password: string;
|
|
7
|
+
}, SessionResponse>;
|
|
8
|
+
readonly refresh: import("../../client").ApiRoute<{
|
|
9
|
+
refresh_token: string;
|
|
10
|
+
}, SessionResponse>;
|
|
11
|
+
readonly logout: import("../../client").ApiRoute<void, void>;
|
|
12
|
+
readonly me: import("../../client").ApiRoute<void, SessionResponse>;
|
|
13
|
+
readonly changeLocale: import("../../client").ApiRoute<{
|
|
14
|
+
locale: string;
|
|
15
|
+
}, void>;
|
|
16
|
+
readonly loginAs: import("../../client").ApiRoute<{
|
|
17
|
+
user_id: number;
|
|
18
|
+
}, SessionResponse>;
|
|
19
|
+
readonly loginAsReturn: import("../../client").ApiRoute<void, SessionResponse>;
|
|
20
|
+
readonly usersList: import("../../client").ApiRoute<{
|
|
21
|
+
view?: "inactive" | "all" | "locked" | "active" | undefined;
|
|
22
|
+
search?: string | undefined;
|
|
23
|
+
order_col?: string | undefined;
|
|
24
|
+
order_dir?: string | undefined;
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
per_page?: number | undefined;
|
|
27
|
+
}, ListResult<UserRow>>;
|
|
28
|
+
readonly usersShow: import("../../client").ApiRoute<{
|
|
29
|
+
id: number;
|
|
30
|
+
}, UserDetail>;
|
|
31
|
+
readonly usersCreate: import("../../client").ApiRoute<{
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
email: string;
|
|
35
|
+
locale: string;
|
|
36
|
+
password: string;
|
|
37
|
+
phone?: string | undefined;
|
|
38
|
+
}, UserDetail>;
|
|
39
|
+
readonly usersUpdate: import("../../client").ApiRoute<{
|
|
40
|
+
id: number;
|
|
41
|
+
login: string;
|
|
42
|
+
name: string;
|
|
43
|
+
email: string;
|
|
44
|
+
locale: string;
|
|
45
|
+
phone?: string | undefined;
|
|
46
|
+
}, UserDetail>;
|
|
47
|
+
readonly usersSetPassword: import("../../client").ApiRoute<{
|
|
48
|
+
id: number;
|
|
49
|
+
password: string;
|
|
50
|
+
}, void>;
|
|
51
|
+
readonly usersDeactivate: import("../../client").ApiRoute<{
|
|
52
|
+
id: number;
|
|
53
|
+
}, void>;
|
|
54
|
+
readonly usersActivate: import("../../client").ApiRoute<{
|
|
55
|
+
id: number;
|
|
56
|
+
}, void>;
|
|
57
|
+
readonly usersUnlock: import("../../client").ApiRoute<{
|
|
58
|
+
id: number;
|
|
59
|
+
}, UnlockResult>;
|
|
60
|
+
readonly usersSignins: import("../../client").ApiRoute<{
|
|
61
|
+
id: number;
|
|
62
|
+
view?: "all" | "failed" | undefined;
|
|
63
|
+
page?: number | undefined;
|
|
64
|
+
per_page?: number | undefined;
|
|
65
|
+
}, ListResult<SignInRow>>;
|
|
66
|
+
readonly usersChanges: import("../../client").ApiRoute<{
|
|
67
|
+
id: number;
|
|
68
|
+
view?: "details" | "all" | "access" | undefined;
|
|
69
|
+
page?: number | undefined;
|
|
70
|
+
per_page?: number | undefined;
|
|
71
|
+
}, ListResult<ChangeRow>>;
|
|
72
|
+
readonly usersActivity: import("../../client").ApiRoute<{
|
|
73
|
+
id: number;
|
|
74
|
+
area?: string | undefined;
|
|
75
|
+
from?: string | undefined;
|
|
76
|
+
to?: string | undefined;
|
|
77
|
+
page?: number | undefined;
|
|
78
|
+
per_page?: number | undefined;
|
|
79
|
+
}, ListResult<ActivityRow>>;
|
|
80
|
+
readonly usersSessions: import("../../client").ApiRoute<{
|
|
81
|
+
id: number;
|
|
82
|
+
}, SessionList>;
|
|
83
|
+
readonly usersRevokeSession: import("../../client").ApiRoute<{
|
|
84
|
+
id: number;
|
|
85
|
+
session_id: number;
|
|
86
|
+
}, void>;
|
|
87
|
+
readonly usersRevokeSessions: import("../../client").ApiRoute<{
|
|
88
|
+
id: number;
|
|
89
|
+
}, void>;
|
|
90
|
+
readonly profileShow: import("../../client").ApiRoute<void, ProfileResponse>;
|
|
91
|
+
readonly profileUpdate: import("../../client").ApiRoute<{
|
|
92
|
+
name: string;
|
|
93
|
+
phone?: string | undefined;
|
|
94
|
+
}, ProfileResponse>;
|
|
95
|
+
readonly profileChangePassword: import("../../client").ApiRoute<{
|
|
96
|
+
current_password: string;
|
|
97
|
+
new_password: string;
|
|
98
|
+
new_password_confirmation: string;
|
|
99
|
+
}, void>;
|
|
100
|
+
readonly profileRequestEmail: import("../../client").ApiRoute<{
|
|
101
|
+
email: string;
|
|
102
|
+
current_password: string;
|
|
103
|
+
}, PendingEmail>;
|
|
104
|
+
readonly profileResendEmail: import("../../client").ApiRoute<void, PendingEmail>;
|
|
105
|
+
readonly profileConfirmEmail: import("../../client").ApiRoute<{
|
|
106
|
+
code: string;
|
|
107
|
+
}, ProfileResponse>;
|
|
108
|
+
readonly profileCancelEmail: import("../../client").ApiRoute<void, void>;
|
|
109
|
+
readonly profileSignins: import("../../client").ApiRoute<{
|
|
110
|
+
view?: "all" | "failed" | undefined;
|
|
111
|
+
page?: number | undefined;
|
|
112
|
+
per_page?: number | undefined;
|
|
113
|
+
}, ListResult<SignInRow>>;
|
|
114
|
+
readonly profileSessions: import("../../client").ApiRoute<void, SessionList>;
|
|
115
|
+
readonly profileRevokeSession: import("../../client").ApiRoute<{
|
|
116
|
+
session_id: number;
|
|
117
|
+
}, void>;
|
|
118
|
+
};
|