@wssto2/vue-core 0.2.0 → 0.4.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 +36 -0
- package/dist/AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js +22 -0
- package/dist/AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js +76 -0
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-LlfIPWsJ.js +45 -0
- package/dist/Activity-2gGxQn7v.js +156 -0
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CeKK8_g5.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-BoinCY93.js} +48 -47
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-e4hzkzg3.js → AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js} +1 -1
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CWLB3xsR.js → AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js} +4 -4
- package/dist/{Banner.vue_vue_type_script_setup_true_lang-n_wGPIIu.js → Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.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-CL9Qh5yq.js} +1 -1
- package/dist/Changes-Bm8xvagD.js +129 -0
- package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-DCBVw2Qd.js +1485 -0
- package/dist/DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js +52 -0
- package/dist/DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js +255 -0
- package/dist/DeadLetters-CMRtXn_N.js +104 -0
- package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-DyhYHRyz.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js → EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js} +1 -1
- package/dist/FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js +276 -0
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js +136 -0
- package/dist/FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js +38 -0
- package/dist/General-CTqd0SLK.js +145 -0
- package/dist/HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js +45 -0
- package/dist/{Icon.vue_vue_type_script_lang-DtC4_mkz.js → Icon.vue_vue_type_script_lang-D7oC-d-S.js} +54 -37
- package/dist/{IconTile.vue_vue_type_script_setup_true_lang-Csfv6Sel.js → IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.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-Cv7KlA5y.js} +2 -2
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js → Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js} +66 -58
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-BQZM49gC.js → Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js} +4 -4
- package/dist/NewRolePage-DTOWIxxC.js +42 -0
- package/dist/NoAccess.vue_vue_type_script_setup_true_lang-DWxq-MTM.js +31 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-C7N5nq0P.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-B7qdEeej.js +47 -0
- package/dist/{Panel.vue_vue_type_script_setup_true_lang-BQmv3cLb.js → Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js} +1 -1
- package/dist/PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js +46 -0
- package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-ElDizaW2.js → PhotoViewer.vue_vue_type_script_setup_true_lang-QPCW3Xi6.js} +1 -1
- package/dist/Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js +125 -0
- package/dist/ProfilePage-BlpiWH_W.js +654 -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-C_ymvhHU.js +64 -0
- package/dist/ResourcePage.vue_vue_type_script_setup_true_lang-CwI_sROp.js +173 -0
- package/dist/RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js +300 -0
- package/dist/RolePage-DZk7BZOc.js +315 -0
- package/dist/RolesPage-DzGGCMnm.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-BFYls8fR.js +148 -0
- package/dist/SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js +314 -0
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js +58 -0
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js +423 -0
- package/dist/SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js +111 -0
- package/dist/Sessions-CWqjjTr1.js +96 -0
- package/dist/SettingsPage-C4s0IdkW.js +255 -0
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js +145 -0
- package/dist/SignIn-zzKY__df.js +140 -0
- package/dist/SignInPage-Rqnus_s-.js +60 -0
- package/dist/SignInTable.vue_vue_type_script_setup_true_lang-CEbAvZ_C.js +79 -0
- package/dist/SignIns-Cnf9BVR0.js +66 -0
- package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-BJIA2JfI.js +93 -0
- package/dist/SwitchField.vue_vue_type_script_setup_true_lang-CM8yp9JQ.js +64 -0
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js +155 -0
- package/dist/TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js +269 -0
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CqAWfABZ.js +68 -0
- package/dist/TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js +164 -0
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-CSY_mMm1.js → Timestamp.vue_vue_type_script_setup_true_lang-FVRUr-9y.js} +1 -1
- package/dist/UserRecord-DqigxVxH.js +267 -0
- package/dist/UsersList-DNlZsI9J.js +155 -0
- package/dist/ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.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 +11 -138
- package/dist/client/route.d.ts +59 -0
- package/dist/client-k9euDWF4.js +147 -0
- package/dist/closeOverlays-CjVsIrpL.js +8 -0
- package/dist/collection/definition.d.ts +3 -0
- package/dist/collection/http.d.ts +4 -2
- package/dist/collection/index.js +74 -2428
- package/dist/collection/useCollection.d.ts +2 -0
- package/dist/content/index.js +37 -66
- package/dist/contributions-DsfmDoRD.js +26 -0
- package/dist/control-7EP4tjYy.js +313 -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 +1159 -3474
- package/dist/guards-Dve61KjR.js +51 -0
- package/dist/http-CNcDHSOj.js +194 -0
- package/dist/i18n/index.d.ts +281 -0
- package/dist/i18n/index.js +52 -52
- package/dist/icon/core.d.ts +17 -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-BsJ92eub.js +504 -0
- package/dist/index-CGv-u1Ws.js +459 -0
- package/dist/index-GcLnFF-z.js +706 -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/Sheet.vue.d.ts +2 -0
- 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/events/entities.d.ts +16 -0
- package/dist/modules/events/routes.d.ts +17 -0
- package/dist/modules/events/schemas.d.ts +16 -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/modules/notification/entities.d.ts +46 -0
- package/dist/modules/notification/routes.d.ts +26 -0
- package/dist/modules/notification/schemas.d.ts +25 -0
- package/dist/{navigation-B33ikiCS.js → navigation-Cm3iChlR.js} +21 -20
- package/dist/neighbors-DpaIMQAL.js +86 -0
- package/dist/notifications/InboxPanel.vue.d.ts +16 -0
- package/dist/notifications/MarkAllRead.vue.d.ts +7 -0
- package/dist/notifications/NotificationBell.vue.d.ts +2 -0
- package/dist/notifications/SettingsLink.vue.d.ts +6 -0
- package/dist/notifications/context.d.ts +20 -0
- package/dist/notifications/deadletters/DeadLetters.vue.d.ts +2 -0
- package/dist/notifications/deadletters/access.d.ts +3 -0
- package/dist/notifications/deadletters/list.d.ts +3 -0
- package/dist/notifications/deadletters/routes.d.ts +13 -0
- package/dist/notifications/feature.d.ts +31 -0
- package/dist/notifications/inbox.d.ts +62 -0
- package/dist/notifications/index.d.ts +13 -0
- package/dist/notifications/index.js +8 -0
- package/dist/notifications/settings/EmailPanel.vue.d.ts +14 -0
- package/dist/notifications/settings/QuietHoursPanel.vue.d.ts +14 -0
- package/dist/notifications/settings/SettingsMenuItem.vue.d.ts +2 -0
- package/dist/notifications/settings/SettingsPage.vue.d.ts +2 -0
- package/dist/notifications/settings/categoryText.d.ts +9 -0
- package/dist/notifications/settings/routes.d.ts +13 -0
- package/dist/notifications/settings/settings.d.ts +18 -0
- package/dist/notifications/settings/state.d.ts +16 -0
- package/dist/notifications/state.d.ts +27 -0
- package/dist/notifications/stream.d.ts +21 -0
- package/dist/options-Ba_0uLWN.js +18 -0
- 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 +68 -67
- 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-q3cjODLx.js +255 -0
- package/dist/resource/index.js +8 -248
- package/dist/route-goWMxDUN.js +13 -0
- 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-BqTEhEuy.js +603 -0
- package/dist/sectionIndex-BS0ic5W7.js +86 -0
- package/dist/{sections-LtxV5Mtk.js → sections-CntvUTxn.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 +491 -595
- package/dist/state/ProgressTrack.vue.d.ts +1 -1
- package/dist/state/index.js +59 -92
- package/dist/status-BuP3ULjH.js +33 -0
- package/dist/styles.css +1 -1
- package/dist/suggestions-BxMm6MQA.js +138 -0
- package/dist/testing/index.js +1 -1
- package/dist/toast-D9Z5To38.js +13 -0
- package/dist/transport-BnP7WC0Y.js +4 -0
- package/dist/useCommand-BkONMn3X.js +135 -0
- package/dist/useLoad-CYRVx6HW.js +39 -0
- package/dist/useResourceForm-D1hIpwW5.js +52 -0
- package/dist/useSaveChrome-chi6D3HY.js +25 -0
- package/dist/useSheetDrag-OsD6Eb6I.js +72 -0
- package/dist/useTypedEntry-aTfPBAhw.js +857 -0
- package/package.json +26 -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/options-DAkBtYkI.js +0 -330
- package/dist/platform-jqlKVJ2e.js +0 -244
- package/dist/toast-DvrHQ6Ag.js +0 -131
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The version of @wssto2/vue-core (kept equal to package.json by index.test.ts). */
|
|
2
|
-
export declare const version = "0.
|
|
2
|
+
export declare const version = "0.4.0";
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
function w(a = {}) {
|
|
2
|
+
const { margin: v = 6e4, retryAfter: m = 3e4 } = a;
|
|
3
|
+
return {
|
|
4
|
+
id: "vue-core.keep-session-alive",
|
|
5
|
+
scope: "session",
|
|
6
|
+
start({ signal: n, platform: i, report: f }) {
|
|
7
|
+
let r, s = null;
|
|
8
|
+
const o = () => {
|
|
9
|
+
const e = i.session.state.value;
|
|
10
|
+
return e.status === "authenticated" && e.expiresAt ? e.expiresAt.getTime() - Date.now() - v : null;
|
|
11
|
+
}, h = () => (s ?? (s = (async () => {
|
|
12
|
+
try {
|
|
13
|
+
await a.renew?.(i), await i.session.refresh();
|
|
14
|
+
} catch (e) {
|
|
15
|
+
f(e);
|
|
16
|
+
} finally {
|
|
17
|
+
s = null;
|
|
18
|
+
}
|
|
19
|
+
})()), s);
|
|
20
|
+
function u(e = 0) {
|
|
21
|
+
clearTimeout(r);
|
|
22
|
+
const d = o();
|
|
23
|
+
d !== null && !n.aborted && (r = setTimeout(() => void t(), Math.min(Math.max(d, e), 864e5)));
|
|
24
|
+
}
|
|
25
|
+
async function t() {
|
|
26
|
+
if (n.aborted || !navigator.onLine) return;
|
|
27
|
+
const e = o();
|
|
28
|
+
if (e !== null) {
|
|
29
|
+
if (e <= 0) {
|
|
30
|
+
if (await h(), n.aborted) return;
|
|
31
|
+
u((o() ?? 1) <= 0 ? m : 0);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
u();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const c = () => {
|
|
38
|
+
document.visibilityState === "visible" && t();
|
|
39
|
+
}, l = () => void t();
|
|
40
|
+
return document.addEventListener("visibilitychange", c), window.addEventListener("online", l), t(), () => {
|
|
41
|
+
clearTimeout(r), document.removeEventListener("visibilitychange", c), window.removeEventListener("online", l);
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
w as k
|
|
48
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { computed as e } from "vue";
|
|
2
|
+
import { u as p } from "./environment-Dva-SG8D.js";
|
|
3
|
+
import { l as t } from "./languageName-CItV_SOv.js";
|
|
4
|
+
function r() {
|
|
5
|
+
const o = p();
|
|
6
|
+
return e(() => o.locales.map((a) => ({ value: a, label: t(a) })));
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
r as u
|
|
10
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { inject as f, onMounted as v, onBeforeUnmount as m, shallowRef as p } from "vue";
|
|
2
|
+
import { matchedRouteKey as h, onBeforeRouteLeave as w, onBeforeRouteUpdate as g } from "vue-router";
|
|
3
|
+
import { d as L } from "./context-Ch1r4fdN.js";
|
|
4
|
+
class G extends Error {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(
|
|
7
|
+
'A page with unsaved changes needs to ask "Discard changes?", but no <LeaveGuardRoot /> is mounted. BackofficeShell renders it; a shell of your own must render <LeaveGuardRoot /> once (import it from @wssto2/vue-core/form).'
|
|
8
|
+
), this.name = "MissingLeaveGuardRootError";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function R() {
|
|
12
|
+
const n = p(null), r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new WeakMap();
|
|
13
|
+
let t = 0;
|
|
14
|
+
function o(e = null) {
|
|
15
|
+
if (t === 0) return Promise.reject(new G());
|
|
16
|
+
const i = e ? a.get(e) : void 0;
|
|
17
|
+
if (i) return i;
|
|
18
|
+
const s = n.value;
|
|
19
|
+
if (s && e === null && s.to === null) return s.decision;
|
|
20
|
+
s?.resolve(!1);
|
|
21
|
+
let c;
|
|
22
|
+
const u = new Promise((l) => c = l), d = {
|
|
23
|
+
to: e,
|
|
24
|
+
decision: u,
|
|
25
|
+
resolve: (l) => {
|
|
26
|
+
n.value === d && (n.value = null), c(l);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
return n.value = d, e && a.set(e, u), u;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
pending: n,
|
|
33
|
+
confirm: o,
|
|
34
|
+
attach() {
|
|
35
|
+
t++;
|
|
36
|
+
let e = !1;
|
|
37
|
+
return () => {
|
|
38
|
+
e || t--, e = !0;
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
register(e) {
|
|
42
|
+
return r.add(e), () => r.delete(e);
|
|
43
|
+
},
|
|
44
|
+
hasUnsavedChanges: () => [...r].some((e) => e())
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const [k, B] = L("vue-core.leaveGuard");
|
|
48
|
+
function U(n) {
|
|
49
|
+
const r = R();
|
|
50
|
+
return n.provide(k, r), r;
|
|
51
|
+
}
|
|
52
|
+
function b(n) {
|
|
53
|
+
const r = B();
|
|
54
|
+
f(h, null) && (w((o) => n() ? r.confirm(o) : !0), g((o, e) => o.path !== e.path && n() ? r.confirm(o) : !0));
|
|
55
|
+
function a(o) {
|
|
56
|
+
n() && (o.preventDefault(), o.returnValue = "");
|
|
57
|
+
}
|
|
58
|
+
let t = null;
|
|
59
|
+
return v(() => {
|
|
60
|
+
window.addEventListener("beforeunload", a), t = r.register(n);
|
|
61
|
+
}), m(() => {
|
|
62
|
+
window.removeEventListener("beforeunload", a), t?.();
|
|
63
|
+
}), { confirmDiscard: async () => !n() || r.confirm() };
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
G as M,
|
|
67
|
+
b as a,
|
|
68
|
+
R as c,
|
|
69
|
+
U as i,
|
|
70
|
+
k as l,
|
|
71
|
+
B as u
|
|
72
|
+
};
|
|
@@ -92,8 +92,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
92
92
|
} | null;
|
|
93
93
|
title: string;
|
|
94
94
|
size: "sm" | "md" | "lg" | "xl";
|
|
95
|
-
status: "idle" | "processing" | "done";
|
|
96
95
|
placement: ModalPlacement;
|
|
96
|
+
status: "idle" | "processing" | "done";
|
|
97
97
|
subtitle: string;
|
|
98
98
|
grouped: boolean;
|
|
99
99
|
withoutFooter: boolean;
|
|
@@ -26,6 +26,8 @@ type __VLS_Slots = {
|
|
|
26
26
|
header?: (scope: {
|
|
27
27
|
titleId: string;
|
|
28
28
|
}) => unknown;
|
|
29
|
+
/** Buttons in the default header, just before the close button (an inbox's settings gear). */
|
|
30
|
+
actions?: () => unknown;
|
|
29
31
|
};
|
|
30
32
|
declare function present(): void;
|
|
31
33
|
declare function dismiss(): void;
|
package/dist/modal/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as G } from "../DiscardChangesModal.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as y } from "../Modal.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { m as O } from "../Modal.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as T } from "../Sheet.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as G } from "../DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js";
|
|
2
|
+
import { _ as y } from "../Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
3
|
+
import { m as O } from "../Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
4
|
+
import { _ as T } from "../Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
|
|
5
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
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-
|
|
7
|
+
import { a as K, u as M } from "../Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
8
8
|
const $ = {
|
|
9
9
|
class: "flex flex-col gap-5",
|
|
10
10
|
"data-test": "shortcut-help"
|
|
@@ -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,16 @@
|
|
|
1
|
+
export type ConsumerNames = {
|
|
2
|
+
consumers: string[];
|
|
3
|
+
};
|
|
4
|
+
export type DeadLetterRow = {
|
|
5
|
+
event_id: number;
|
|
6
|
+
consumer: string;
|
|
7
|
+
event_name: string;
|
|
8
|
+
event_created_at: string | null;
|
|
9
|
+
attempts: number;
|
|
10
|
+
last_error: string;
|
|
11
|
+
dead_at: string;
|
|
12
|
+
retryable: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type Retried = {
|
|
15
|
+
retried: number;
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ListResult } from "../../client";
|
|
2
|
+
import type { ConsumerNames, DeadLetterRow, Retried } from "./entities";
|
|
3
|
+
export declare const eventsRoutes: {
|
|
4
|
+
readonly deadLettersList: import("../../client").ApiRoute<{
|
|
5
|
+
consumer?: string | undefined;
|
|
6
|
+
page?: number | undefined;
|
|
7
|
+
per_page?: number | undefined;
|
|
8
|
+
}, ListResult<DeadLetterRow>>;
|
|
9
|
+
readonly deadLettersRetry: import("../../client").ApiRoute<{
|
|
10
|
+
event: number;
|
|
11
|
+
consumer: string;
|
|
12
|
+
}, Retried>;
|
|
13
|
+
readonly deadLettersRetryAll: import("../../client").ApiRoute<{
|
|
14
|
+
consumer: string;
|
|
15
|
+
}, Retried>;
|
|
16
|
+
readonly consumers: import("../../client").ApiRoute<void, ConsumerNames>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const DeadLettersInputSchema: z.ZodObject<{
|
|
3
|
+
consumer: z.ZodOptional<z.ZodString>;
|
|
4
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type DeadLettersInput = z.infer<typeof DeadLettersInputSchema>;
|
|
8
|
+
export declare const RetryAllInputSchema: z.ZodObject<{
|
|
9
|
+
consumer: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type RetryAllInput = z.infer<typeof RetryAllInputSchema>;
|
|
12
|
+
export declare const RetryInputSchema: z.ZodObject<{
|
|
13
|
+
event: z.ZodNumber;
|
|
14
|
+
consumer: z.ZodString;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type RetryInput = z.infer<typeof RetryInputSchema>;
|
|
@@ -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
|
+
};
|