@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.
Files changed (309) hide show
  1. package/README.md +36 -0
  2. package/dist/AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js +22 -0
  3. package/dist/AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js +76 -0
  4. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-LlfIPWsJ.js +45 -0
  5. package/dist/Activity-2gGxQn7v.js +156 -0
  6. 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
  7. package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-e4hzkzg3.js → AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js} +1 -1
  8. package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CWLB3xsR.js → AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js} +4 -4
  9. 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
  10. package/dist/{BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js → BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js} +1 -1
  11. package/dist/{Button.vue_vue_type_script_setup_true_lang-B1eZgLae.js → Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js} +1 -1
  12. package/dist/Changes-Bm8xvagD.js +129 -0
  13. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-DCBVw2Qd.js +1485 -0
  14. package/dist/DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js +52 -0
  15. package/dist/DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js +255 -0
  16. package/dist/DeadLetters-CMRtXn_N.js +104 -0
  17. package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-DyhYHRyz.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js} +1 -1
  18. 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
  19. package/dist/FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js +276 -0
  20. package/dist/FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js +136 -0
  21. package/dist/FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js +38 -0
  22. package/dist/General-CTqd0SLK.js +145 -0
  23. package/dist/HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js +45 -0
  24. package/dist/{Icon.vue_vue_type_script_lang-DtC4_mkz.js → Icon.vue_vue_type_script_lang-D7oC-d-S.js} +54 -37
  25. package/dist/{IconTile.vue_vue_type_script_setup_true_lang-Csfv6Sel.js → IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js} +1 -1
  26. package/dist/KeyValue.vue_vue_type_script_setup_true_lang-wcZcvnow.js +35 -0
  27. package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CvwoT1JF.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js} +2 -2
  28. package/dist/{Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js → Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js} +66 -58
  29. package/dist/{Modal.vue_vue_type_script_setup_true_lang-BQZM49gC.js → Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js} +4 -4
  30. package/dist/NewRolePage-DTOWIxxC.js +42 -0
  31. package/dist/NoAccess.vue_vue_type_script_setup_true_lang-DWxq-MTM.js +31 -0
  32. package/dist/NumberField.vue_vue_type_script_setup_true_lang-C7N5nq0P.js +113 -0
  33. package/dist/OtpInput.vue_vue_type_script_setup_true_lang-gp4FfWAH.js +95 -0
  34. package/dist/PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js +47 -0
  35. 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
  36. package/dist/PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js +46 -0
  37. package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-ElDizaW2.js → PhotoViewer.vue_vue_type_script_setup_true_lang-QPCW3Xi6.js} +1 -1
  38. package/dist/Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js +125 -0
  39. package/dist/ProfilePage-BlpiWH_W.js +654 -0
  40. package/dist/{ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.js → ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js} +2 -2
  41. package/dist/RecordHeader.vue_vue_type_script_setup_true_lang-C_ymvhHU.js +64 -0
  42. package/dist/ResourcePage.vue_vue_type_script_setup_true_lang-CwI_sROp.js +173 -0
  43. package/dist/RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js +300 -0
  44. package/dist/RolePage-DZk7BZOc.js +315 -0
  45. package/dist/RolesPage-DzGGCMnm.js +115 -0
  46. package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +23 -0
  47. package/dist/SectionList.vue_vue_type_script_setup_true_lang-BFYls8fR.js +148 -0
  48. package/dist/SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js +314 -0
  49. package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js +58 -0
  50. package/dist/SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js +423 -0
  51. package/dist/SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js +111 -0
  52. package/dist/Sessions-CWqjjTr1.js +96 -0
  53. package/dist/SettingsPage-C4s0IdkW.js +255 -0
  54. package/dist/Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js +145 -0
  55. package/dist/SignIn-zzKY__df.js +140 -0
  56. package/dist/SignInPage-Rqnus_s-.js +60 -0
  57. package/dist/SignInTable.vue_vue_type_script_setup_true_lang-CEbAvZ_C.js +79 -0
  58. package/dist/SignIns-Cnf9BVR0.js +66 -0
  59. package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-BJIA2JfI.js +93 -0
  60. package/dist/SwitchField.vue_vue_type_script_setup_true_lang-CM8yp9JQ.js +64 -0
  61. package/dist/Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js +155 -0
  62. package/dist/TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js +269 -0
  63. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CqAWfABZ.js +68 -0
  64. package/dist/TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js +164 -0
  65. 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
  66. package/dist/UserRecord-DqigxVxH.js +267 -0
  67. package/dist/UsersList-DNlZsI9J.js +155 -0
  68. package/dist/ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js +28 -0
  69. package/dist/access/AddRoleDialog.vue.d.ts +19 -0
  70. package/dist/access/BindingRow.vue.d.ts +19 -0
  71. package/dist/access/EffectiveAccess.vue.d.ts +12 -0
  72. package/dist/access/NewRolePage.vue.d.ts +2 -0
  73. package/dist/access/PermissionTree.vue.d.ts +13 -0
  74. package/dist/access/PersonAccess.vue.d.ts +21 -0
  75. package/dist/access/ReplaceRoleDialog.vue.d.ts +17 -0
  76. package/dist/access/RoleCompareDialog.vue.d.ts +14 -0
  77. package/dist/access/RoleEditor.vue.d.ts +28 -0
  78. package/dist/access/RolePage.vue.d.ts +2 -0
  79. package/dist/access/RolesPage.vue.d.ts +2 -0
  80. package/dist/access/api.d.ts +26 -0
  81. package/dist/access/catalogue.d.ts +64 -0
  82. package/dist/access/context.d.ts +20 -0
  83. package/dist/access/effective.d.ts +42 -0
  84. package/dist/access/feature.d.ts +27 -0
  85. package/dist/access/index.d.ts +13 -0
  86. package/dist/access/index.js +15 -0
  87. package/dist/access/labels.d.ts +35 -0
  88. package/dist/access/refusals.d.ts +6 -0
  89. package/dist/access/routes.d.ts +45 -0
  90. package/dist/access/scopes.d.ts +20 -0
  91. package/dist/app/contributions.d.ts +1 -1
  92. package/dist/app/feature.d.ts +8 -0
  93. package/dist/app/index.js +259 -296
  94. package/dist/bottomDock-BZEiOPYZ.js +12 -0
  95. package/dist/button/Button.vue.d.ts +3 -3
  96. package/dist/button/index.js +1 -1
  97. package/dist/chrome-BS3xJcad.js +93 -0
  98. package/dist/client/client.d.ts +13 -0
  99. package/dist/client/index.d.ts +3 -1
  100. package/dist/client/index.js +11 -138
  101. package/dist/client/route.d.ts +59 -0
  102. package/dist/client-k9euDWF4.js +147 -0
  103. package/dist/closeOverlays-CjVsIrpL.js +8 -0
  104. package/dist/collection/definition.d.ts +3 -0
  105. package/dist/collection/http.d.ts +4 -2
  106. package/dist/collection/index.js +74 -2428
  107. package/dist/collection/useCollection.d.ts +2 -0
  108. package/dist/content/index.js +37 -66
  109. package/dist/contributions-DsfmDoRD.js +26 -0
  110. package/dist/control-7EP4tjYy.js +313 -0
  111. package/dist/controls/DateButton.vue.d.ts +1 -1
  112. package/dist/controls/PopupButton.vue.d.ts +1 -1
  113. package/dist/controls/index.js +11 -10
  114. package/dist/defineRoutes-BGAdiIrt.js +19 -0
  115. package/dist/{describeError-l5T9b8Uv.js → describeError-Ctga6GcS.js} +1 -1
  116. package/dist/environment-Dva-SG8D.js +6 -0
  117. package/dist/{error-Bb_dr_Ay.js → error-CD7x0Jrz.js} +2 -2
  118. package/dist/feature-DdUAfyi4.js +25 -0
  119. package/dist/fieldMessages-C3Rpbktw.js +25 -0
  120. package/dist/form/CheckboxField.vue.d.ts +1 -1
  121. package/dist/form/CommandDialog.vue.d.ts +1 -1
  122. package/dist/form/DateField.vue.d.ts +1 -1
  123. package/dist/form/DateTimeField.vue.d.ts +1 -1
  124. package/dist/form/EditorPage.vue.d.ts +1 -1
  125. package/dist/form/Field.vue.d.ts +1 -1
  126. package/dist/form/FileField.vue.d.ts +1 -1
  127. package/dist/form/FormGroup.vue.d.ts +1 -1
  128. package/dist/form/FormGroupButton.vue.d.ts +1 -1
  129. package/dist/form/FormRow.vue.d.ts +1 -1
  130. package/dist/form/I18nField.vue.d.ts +3 -3
  131. package/dist/form/MoneyField.vue.d.ts +1 -1
  132. package/dist/form/MonthYearField.vue.d.ts +1 -1
  133. package/dist/form/NumberCell.vue.d.ts +1 -1
  134. package/dist/form/NumberField.vue.d.ts +2 -2
  135. package/dist/form/OtpInput.vue.d.ts +2 -2
  136. package/dist/form/PhotoField.vue.d.ts +1 -1
  137. package/dist/form/SwitchField.vue.d.ts +1 -1
  138. package/dist/form/TextField.vue.d.ts +3 -3
  139. package/dist/form/TextareaField.vue.d.ts +3 -3
  140. package/dist/form/TimeField.vue.d.ts +1 -1
  141. package/dist/form/date/DatePickerSheet.vue.d.ts +1 -1
  142. package/dist/form/date/MonthYearPanel.vue.d.ts +1 -1
  143. package/dist/form/index.js +1159 -3474
  144. package/dist/guards-Dve61KjR.js +51 -0
  145. package/dist/http-CNcDHSOj.js +194 -0
  146. package/dist/i18n/index.d.ts +281 -0
  147. package/dist/i18n/index.js +52 -52
  148. package/dist/icon/core.d.ts +17 -0
  149. package/dist/icon/index.js +1 -1
  150. package/dist/identity/ImpersonationBanner.vue.d.ts +2 -0
  151. package/dist/identity/LocaleSync.vue.d.ts +2 -0
  152. package/dist/identity/SessionExpiry.vue.d.ts +2 -0
  153. package/dist/identity/SignInAsButton.vue.d.ts +15 -0
  154. package/dist/identity/SignInPage.vue.d.ts +2 -0
  155. package/dist/identity/context.d.ts +7 -0
  156. package/dist/identity/feature.d.ts +16 -0
  157. package/dist/identity/fieldMessages.d.ts +15 -0
  158. package/dist/identity/index.d.ts +16 -0
  159. package/dist/identity/index.js +18 -0
  160. package/dist/identity/profile/DetailsPanel.vue.d.ts +11 -0
  161. package/dist/identity/profile/EmailChangeDialog.vue.d.ts +14 -0
  162. package/dist/identity/profile/EmailPanel.vue.d.ts +11 -0
  163. package/dist/identity/profile/PanelActions.vue.d.ts +17 -0
  164. package/dist/identity/profile/PasswordPanel.vue.d.ts +2 -0
  165. package/dist/identity/profile/ProfileMenuItem.vue.d.ts +2 -0
  166. package/dist/identity/profile/ProfilePage.vue.d.ts +2 -0
  167. package/dist/identity/profile/SessionsPanel.vue.d.ts +2 -0
  168. package/dist/identity/profile/SignInsPanel.vue.d.ts +2 -0
  169. package/dist/identity/profile/VerifyCode.vue.d.ts +49 -0
  170. package/dist/identity/profile/routes.d.ts +13 -0
  171. package/dist/identity/session.d.ts +30 -0
  172. package/dist/identity/shared/ActionRow.vue.d.ts +20 -0
  173. package/dist/identity/shared/ChangeFeed.vue.d.ts +11 -0
  174. package/dist/identity/shared/PageBar.vue.d.ts +12 -0
  175. package/dist/identity/shared/SectionIntro.vue.d.ts +16 -0
  176. package/dist/identity/shared/SessionList.vue.d.ts +19 -0
  177. package/dist/identity/shared/SignInTable.vue.d.ts +11 -0
  178. package/dist/identity/shared/ViewTabs.vue.d.ts +23 -0
  179. package/dist/identity/shared/signInEvents.d.ts +9 -0
  180. package/dist/identity/signIn.d.ts +27 -0
  181. package/dist/identity/useSignInForm.d.ts +20 -0
  182. package/dist/identity/user.d.ts +6 -0
  183. package/dist/identity/users/DeactivateDialog.vue.d.ts +18 -0
  184. package/dist/identity/users/NewUserDialog.vue.d.ts +9 -0
  185. package/dist/identity/users/SetPasswordDialog.vue.d.ts +16 -0
  186. package/dist/identity/users/UserRecord.vue.d.ts +2 -0
  187. package/dist/identity/users/UsersList.vue.d.ts +2 -0
  188. package/dist/identity/users/access.d.ts +4 -0
  189. package/dist/identity/users/context.d.ts +9 -0
  190. package/dist/identity/users/feature.d.ts +34 -0
  191. package/dist/identity/users/languages.d.ts +4 -0
  192. package/dist/identity/users/list.d.ts +8 -0
  193. package/dist/identity/users/person.d.ts +26 -0
  194. package/dist/identity/users/personSections.d.ts +22 -0
  195. package/dist/identity/users/routes.d.ts +22 -0
  196. package/dist/identity/users/sections/Activity.vue.d.ts +2 -0
  197. package/dist/identity/users/sections/Changes.vue.d.ts +2 -0
  198. package/dist/identity/users/sections/General.vue.d.ts +2 -0
  199. package/dist/identity/users/sections/Sessions.vue.d.ts +2 -0
  200. package/dist/identity/users/sections/SignIn.vue.d.ts +2 -0
  201. package/dist/identity/users/sections/SignIns.vue.d.ts +2 -0
  202. package/dist/identity/users/status.d.ts +4 -0
  203. package/dist/index-BsJ92eub.js +504 -0
  204. package/dist/index-CGv-u1Ws.js +459 -0
  205. package/dist/index-GcLnFF-z.js +706 -0
  206. package/dist/index.d.ts +1 -1
  207. package/dist/index.js +1 -1
  208. package/dist/internal/languageName.d.ts +2 -0
  209. package/dist/keepAlive-WYQGRhuz.js +48 -0
  210. package/dist/languageName-CItV_SOv.js +11 -0
  211. package/dist/languages-BShG9LpE.js +10 -0
  212. package/dist/leaveGuard-Cc8yeLxM.js +72 -0
  213. package/dist/modal/Modal.vue.d.ts +1 -1
  214. package/dist/modal/Sheet.vue.d.ts +2 -0
  215. package/dist/modal/index.js +5 -5
  216. package/dist/modules/access/entities.d.ts +112 -0
  217. package/dist/modules/access/routes.d.ts +67 -0
  218. package/dist/modules/access/schemas.d.ts +73 -0
  219. package/dist/modules/events/entities.d.ts +16 -0
  220. package/dist/modules/events/routes.d.ts +17 -0
  221. package/dist/modules/events/schemas.d.ts +16 -0
  222. package/dist/modules/identity/entities.d.ts +150 -0
  223. package/dist/modules/identity/routes.d.ts +118 -0
  224. package/dist/modules/identity/schemas.d.ts +145 -0
  225. package/dist/modules/notification/entities.d.ts +46 -0
  226. package/dist/modules/notification/routes.d.ts +26 -0
  227. package/dist/modules/notification/schemas.d.ts +25 -0
  228. package/dist/{navigation-B33ikiCS.js → navigation-Cm3iChlR.js} +21 -20
  229. package/dist/neighbors-DpaIMQAL.js +86 -0
  230. package/dist/notifications/InboxPanel.vue.d.ts +16 -0
  231. package/dist/notifications/MarkAllRead.vue.d.ts +7 -0
  232. package/dist/notifications/NotificationBell.vue.d.ts +2 -0
  233. package/dist/notifications/SettingsLink.vue.d.ts +6 -0
  234. package/dist/notifications/context.d.ts +20 -0
  235. package/dist/notifications/deadletters/DeadLetters.vue.d.ts +2 -0
  236. package/dist/notifications/deadletters/access.d.ts +3 -0
  237. package/dist/notifications/deadletters/list.d.ts +3 -0
  238. package/dist/notifications/deadletters/routes.d.ts +13 -0
  239. package/dist/notifications/feature.d.ts +31 -0
  240. package/dist/notifications/inbox.d.ts +62 -0
  241. package/dist/notifications/index.d.ts +13 -0
  242. package/dist/notifications/index.js +8 -0
  243. package/dist/notifications/settings/EmailPanel.vue.d.ts +14 -0
  244. package/dist/notifications/settings/QuietHoursPanel.vue.d.ts +14 -0
  245. package/dist/notifications/settings/SettingsMenuItem.vue.d.ts +2 -0
  246. package/dist/notifications/settings/SettingsPage.vue.d.ts +2 -0
  247. package/dist/notifications/settings/categoryText.d.ts +9 -0
  248. package/dist/notifications/settings/routes.d.ts +13 -0
  249. package/dist/notifications/settings/settings.d.ts +18 -0
  250. package/dist/notifications/settings/state.d.ts +16 -0
  251. package/dist/notifications/state.d.ts +27 -0
  252. package/dist/notifications/stream.d.ts +21 -0
  253. package/dist/options-Ba_0uLWN.js +18 -0
  254. package/dist/overlay/AlertDialog.vue.d.ts +3 -3
  255. package/dist/overlay/Popover.vue.d.ts +1 -1
  256. package/dist/overlay/closeOverlays.d.ts +7 -0
  257. package/dist/overlay/index.js +21 -20
  258. package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
  259. package/dist/page/ResourceHeader.vue.d.ts +2 -2
  260. package/dist/page/index.js +99 -457
  261. package/dist/phone/PhoneField.vue.d.ts +2 -2
  262. package/dist/phone/index.js +68 -67
  263. package/dist/platform/index.d.ts +2 -2
  264. package/dist/platform/index.js +73 -90
  265. package/dist/platform/platform.d.ts +2 -2
  266. package/dist/platform/session.d.ts +22 -1
  267. package/dist/platform-q3cjODLx.js +255 -0
  268. package/dist/resource/index.js +8 -248
  269. package/dist/route-goWMxDUN.js +13 -0
  270. package/dist/routeResource-DstM0hvf.js +82 -0
  271. package/dist/router/guards.d.ts +7 -1
  272. package/dist/router/index.js +23 -37
  273. package/dist/router/navigation.d.ts +1 -1
  274. package/dist/rowLayout-BqTEhEuy.js +603 -0
  275. package/dist/sectionIndex-BS0ic5W7.js +86 -0
  276. package/dist/{sections-LtxV5Mtk.js → sections-CntvUTxn.js} +1 -1
  277. package/dist/shell/AccountMenuItem.vue.d.ts +1 -1
  278. package/dist/shell/BackofficeShell.vue.d.ts +2 -2
  279. package/dist/shell/NavigationList.vue.d.ts +1 -1
  280. package/dist/shell/ShellBrand.vue.d.ts +1 -1
  281. package/dist/shell/backofficeShell.d.ts +1 -1
  282. package/dist/shell/identity.d.ts +1 -1
  283. package/dist/shell/index.js +491 -595
  284. package/dist/state/ProgressTrack.vue.d.ts +1 -1
  285. package/dist/state/index.js +59 -92
  286. package/dist/status-BuP3ULjH.js +33 -0
  287. package/dist/styles.css +1 -1
  288. package/dist/suggestions-BxMm6MQA.js +138 -0
  289. package/dist/testing/index.js +1 -1
  290. package/dist/toast-D9Z5To38.js +13 -0
  291. package/dist/transport-BnP7WC0Y.js +4 -0
  292. package/dist/useCommand-BkONMn3X.js +135 -0
  293. package/dist/useLoad-CYRVx6HW.js +39 -0
  294. package/dist/useResourceForm-D1hIpwW5.js +52 -0
  295. package/dist/useSaveChrome-chi6D3HY.js +25 -0
  296. package/dist/useSheetDrag-OsD6Eb6I.js +72 -0
  297. package/dist/useTypedEntry-aTfPBAhw.js +857 -0
  298. package/package.json +26 -5
  299. package/dist/NoAccess.vue_vue_type_script_setup_true_lang-OKW8pKYU.js +0 -78
  300. package/dist/SectionList.vue_vue_type_script_setup_true_lang-L9ita_Kx.js +0 -230
  301. package/dist/SelectField.vue_vue_type_script_setup_true_lang-DZTrU8NJ.js +0 -661
  302. package/dist/Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js +0 -210
  303. package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-CGTuEnTv.js +0 -243
  304. package/dist/chrome-D9pwD6iS.js +0 -101
  305. package/dist/environment-D3nozt9a.js +0 -75
  306. package/dist/feature-DyDtyMLU.js +0 -47
  307. package/dist/options-DAkBtYkI.js +0 -330
  308. package/dist/platform-jqlKVJ2e.js +0 -244
  309. package/dist/toast-DvrHQ6Ag.js +0 -131
@@ -0,0 +1,62 @@
1
+ import { type Ref } from "vue";
2
+ import { type HttpClient, type Transport } from "../client";
3
+ import type { Item } from "../modules/notification/entities";
4
+ /** The first page of the inbox: not asked yet, on its way, here, or failed (`error` is what the request rejected with). */
5
+ export type InboxList = {
6
+ readonly status: "idle";
7
+ } | {
8
+ readonly status: "loading";
9
+ } | {
10
+ readonly status: "loaded";
11
+ } | {
12
+ readonly status: "failed";
13
+ readonly error: unknown;
14
+ };
15
+ export interface InboxOptions {
16
+ http: HttpClient;
17
+ /** The stream's whole address (the API base and `/v1/notifications/stream`). */
18
+ streamUrl: string;
19
+ /** Ends everything the inbox does: the stream, its timers and listeners, and the answers still on their way. */
20
+ signal: AbortSignal;
21
+ /** Reads the stream; default `fetch`. */
22
+ transport?: Transport;
23
+ /** Notifications per request, at most 50 (go-core's limit). Default 20. */
24
+ pageSize?: number;
25
+ /** The wait before reconnecting grows from `min` to `max`, in milliseconds. Default 1 s to 30 s. */
26
+ backoff?: {
27
+ readonly min: number;
28
+ readonly max: number;
29
+ };
30
+ /** How long a silent connection lives; go-core beats every 25 s, so the default is 50 s. */
31
+ idleTimeout?: number;
32
+ /** The moment to stamp a reading made here with. Default now. */
33
+ now?: () => Date;
34
+ }
35
+ /**
36
+ * One signed-in person's inbox: what the bell and the list show. It keeps the live stream open for as
37
+ * long as `signal` lives, and nothing of it outlives the session.
38
+ */
39
+ export interface Inbox {
40
+ /** Newest first: what was loaded plus what the stream brought. */
41
+ readonly items: Readonly<Ref<readonly Item[]>>;
42
+ /** The server's count, kept current by every answer and every stream event. */
43
+ readonly unreadCount: Readonly<Ref<number>>;
44
+ readonly hasMore: Readonly<Ref<boolean>>;
45
+ readonly list: Readonly<Ref<InboxList>>;
46
+ /** Whether "Load more" is running or failed. */
47
+ readonly more: Readonly<Ref<"idle" | "loading" | "failed">>;
48
+ /** Reads the first page again (opening the inbox). A reload while one is running makes the earlier answer irrelevant. */
49
+ load(): Promise<void>;
50
+ loadMore(): Promise<void>;
51
+ /** Marks one notification read here at once and, through the server, on every device. A reading that fails is taken back. */
52
+ markRead(item: Pick<Item, "id" | "read_at">): Promise<void>;
53
+ /** Marks read what the person has seen: everything up to the newest id this inbox shows. A notification that arrives afterwards stays unread. */
54
+ markAllRead(): Promise<void>;
55
+ }
56
+ /**
57
+ * Starts the inbox of a session. Staying right when the connection drops: the stream opens with the
58
+ * count; a reconnect waits 1 s, 2 s, … up to 30 s, and refetches the count first (through the platform's
59
+ * client, which also renews an expired session); a connection silent for two heartbeats is dropped and
60
+ * redone; coming back to the foreground or online refetches the count and reconnects at once.
61
+ */
62
+ export declare function createInbox(options: InboxOptions): Inbox;
@@ -0,0 +1,13 @@
1
+ export type { Item as Notification, Page as InboxPage, StreamEvent, StreamKind, UnreadCount } from "../modules/notification/entities";
2
+ export type * as Inputs from "../modules/notification/schemas";
3
+ export { notificationRoutes } from "../modules/notification/routes";
4
+ export type { DeadLetterRow, Retried } from "../modules/events/entities";
5
+ export type * as DeadLetterInputs from "../modules/events/schemas";
6
+ export { eventsRoutes } from "../modules/events/routes";
7
+ export { notificationsFeature } from "./feature";
8
+ export type { NotificationsFeatureOptions } from "./feature";
9
+ export type { NotificationCategoryLook } from "./context";
10
+ export { notificationSettingsRoutes } from "./settings/routes";
11
+ export type { NotificationSettingsRoutes } from "./settings/routes";
12
+ export { deadLettersRoutes } from "./deadletters/routes";
13
+ export type { DeadLettersRoutes } from "./deadletters/routes";
@@ -0,0 +1,8 @@
1
+ import { d as s, e as o, n as a, a as i, b as n } from "../index-BsJ92eub.js";
2
+ export {
3
+ s as deadLettersRoutes,
4
+ o as eventsRoutes,
5
+ a as notificationRoutes,
6
+ i as notificationSettingsRoutes,
7
+ n as notificationsFeature
8
+ };
@@ -0,0 +1,14 @@
1
+ import type { Preferences } from "../../modules/notification/entities";
2
+ /**
3
+ * "E-mail me about": one switch per category the application declared, saved as it is switched (one on its way ignores another
4
+ * touch). A setting someone else enforces is a row that reads, with who decides; without e-mail there is a sentence and no switches. In-app is not a switch: it is always on.
5
+ */
6
+ type __VLS_Props = {
7
+ preferences: Preferences;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ change: (category: string, enabled: boolean) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onChange?: ((category: string, enabled: boolean) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { QuietHours } from "../../modules/notification/entities";
2
+ import type { QuietHoursInput } from "../../modules/notification/schemas";
3
+ /**
4
+ * Quiet hours: e-mail made inside them waits until they end (the in-app notification never does). On or off, from and to
5
+ * on the clock of the application's time zone, and one line in words. A window may run over midnight; the same time twice is
6
+ * refused on the field. Saved with the button, like the profile's panels.
7
+ */
8
+ type __VLS_Props = {
9
+ quietHours: QuietHours;
10
+ timeZone: string;
11
+ submit: (input: QuietHoursInput) => Promise<QuietHours>;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * How a category is named on the settings page: the application's own texts `notifications.categories.<code>.label`
3
+ * (and an optional `.description`), the code split at its dots (`tickets.assigned` is `notifications.categories.tickets.assigned.label`).
4
+ * A category the application gave no text is shown by its code, never by a missing key.
5
+ */
6
+ export declare function useCategoryText(): (code: string) => {
7
+ label: string;
8
+ description?: string;
9
+ };
@@ -0,0 +1,13 @@
1
+ import type { RouteRecordRaw } from "vue-router";
2
+ /**
3
+ * The route of the person's own notification settings (`/profile/notifications`, name `notifications.settings`): any signed-in person
4
+ * may open it, so it has no `access`. A typed target for links and the record `notificationsFeature` installs.
5
+ */
6
+ export interface NotificationSettingsRoutes {
7
+ /** The records `notificationsFeature` installs. */
8
+ readonly records: readonly RouteRecordRaw[];
9
+ readonly index: {
10
+ readonly name: "notifications.settings";
11
+ };
12
+ }
13
+ export declare const notificationSettingsRoutes: NotificationSettingsRoutes;
@@ -0,0 +1,18 @@
1
+ import { type Ref } from "vue";
2
+ import type { HttpClient } from "../../client";
3
+ import type { Preferences, QuietHours } from "../../modules/notification/entities";
4
+ import type { QuietHoursInput } from "../../modules/notification/schemas";
5
+ import { type Load } from "../../state";
6
+ /** One person's notification settings: what the page shows and the two ways to change it. */
7
+ export interface Settings {
8
+ /** The load of the preferences, as `AsyncSection` takes it. */
9
+ readonly loaded: Load<Preferences>;
10
+ /** The categories whose switch is on its way to the server: each is locked meanwhile, so a change never overtakes another. */
11
+ readonly saving: Readonly<Ref<readonly string[]>>;
12
+ /** Switches the e-mail of one category at once and saves it; a refusal (an enforced setting) or a failure puts the switch back and rejects. */
13
+ setEmail(category: string, enabled: boolean): Promise<void>;
14
+ /** Saves the quiet hours; the server's answer is what is shown after. A refusal rejects and changes nothing. */
15
+ saveQuietHours(input: QuietHoursInput): Promise<QuietHours>;
16
+ }
17
+ /** The settings of the signed-in person, read from `GET /v1/notifications/preferences` through the platform's client. */
18
+ export declare function useSettings(http?: HttpClient): Settings;
@@ -0,0 +1,16 @@
1
+ import type { CategorySettings, Preferences, QuietHours } from "../../modules/notification/entities";
2
+ /** The preferences with one category's setting replaced (what the server answered, or what is shown before it does). */
3
+ export declare function withCategory(preferences: Preferences, settings: CategorySettings): Preferences;
4
+ /** One category's e-mail switched here, before the server answers: it is the person's own choice now. */
5
+ export declare function withEmail(preferences: Preferences, category: string, enabled: boolean): Preferences;
6
+ /** Minutes after midnight as the `"HH:mm"` a time field edits. */
7
+ export declare function timeOfMinutes(minutes: number): string;
8
+ /** A time field's `"HH:mm"` as minutes after midnight; null when it is empty. */
9
+ export declare function minutesOfTime(time: string | null): number | null;
10
+ /** What the quiet-hours form edits: the server's minutes as times of day. */
11
+ export interface QuietDraft {
12
+ enabled: boolean;
13
+ start: string | null;
14
+ end: string | null;
15
+ }
16
+ export declare const draftOf: (quiet: QuietHours) => QuietDraft;
@@ -0,0 +1,27 @@
1
+ import type { Item, StreamEvent } from "../modules/notification/entities";
2
+ /** What the inbox keeps: the notifications this app has loaded or been sent, newest first, and the server's unread count. */
3
+ export interface InboxContents {
4
+ readonly items: readonly Item[];
5
+ readonly unreadCount: number;
6
+ }
7
+ /** The newest id of a list: "Mark all as read" stops there, so a notification nobody has seen stays unread. 0 for none. */
8
+ export declare function newestId(items: readonly Item[]): number;
9
+ /** One notification marked read here (before the server answers). */
10
+ export declare function markedRead(items: readonly Item[], id: number, readAt: string): readonly Item[];
11
+ /** Everything up to `upToId` marked read here. */
12
+ export declare function markedReadUpTo(items: readonly Item[], upToId: number, readAt: string): readonly Item[];
13
+ /**
14
+ * The first page of a (re)load, with anything newer the stream brought while the request was on its way: the page was
15
+ * read before it, so it would otherwise vanish until the next load. Newest first, each id once.
16
+ */
17
+ export declare function withNewer(page: readonly Item[], current: readonly Item[]): readonly Item[];
18
+ /** A further (older) page appended, ids already shown left out. */
19
+ export declare function withOlder(current: readonly Item[], page: readonly Item[]): readonly Item[];
20
+ /**
21
+ * One stream event applied. Every event carries the server's unread count and it always wins over counting here
22
+ * (NOTIF-READ-001); a reading on another device marks the same notifications read here. A "read all" names the newest
23
+ * id that device had seen, and only notifications up to it are read.
24
+ */
25
+ export declare function applyStreamEvent(state: InboxContents, event: StreamEvent, readAt: string): InboxContents;
26
+ /** The unread count as a badge shows it: "99+" past 99. */
27
+ export declare function unreadBadge(count: number): string;
@@ -0,0 +1,21 @@
1
+ import type { Transport } from "../client";
2
+ import type { StreamEvent } from "../modules/notification/entities";
3
+ /** Why a stream ended: the caller reconnects, except after `aborted`. */
4
+ export type StreamEnd = "closed" | "unauthorized" | "failed" | "aborted" | "stalled";
5
+ export interface ReadStreamOptions {
6
+ url: string;
7
+ transport: Transport;
8
+ signal: AbortSignal;
9
+ onEvent(event: StreamEvent): void;
10
+ /** A connection that sends nothing, not even a heartbeat, for this long is dropped. go-core beats every 25 s. */
11
+ idleTimeout: number;
12
+ }
13
+ /** One server-sent message block as an event; a comment (`: ping`), a block without data and an unreadable one give null. */
14
+ export declare function parseStreamMessage(message: string): StreamEvent | null;
15
+ /**
16
+ * Opens the notification stream and reads it until it ends. `EventSource` cannot send headers and
17
+ * cannot tell a dead connection from a quiet one, so the byte stream is read with `fetch` through the
18
+ * platform's transport: the session cookie goes with it, the heartbeat resets a watchdog, and aborting
19
+ * the signal ends it at once.
20
+ */
21
+ export declare function readStream({ url, transport, signal, onEvent, idleTimeout }: ReadStreamOptions): Promise<StreamEnd>;
@@ -0,0 +1,18 @@
1
+ function l(t) {
2
+ const o = /* @__PURE__ */ new Map();
3
+ for (const e of t) {
4
+ const n = e.group ?? null, r = o.get(n) ?? [];
5
+ r.push(e), o.set(n, r);
6
+ }
7
+ return [...o.entries()].sort(([e], [n]) => e === null ? -1 : n === null ? 1 : 0).map(([e, n]) => ({ title: e, options: n }));
8
+ }
9
+ function c(t, o) {
10
+ const e = s(o.trim());
11
+ return e === "" ? t : t.filter((n) => s(n.label).includes(e) || n.description !== void 0 && s(n.description).includes(e));
12
+ }
13
+ const s = (t) => t.normalize("NFD").replace(/[̀-ͯ]/g, "").toLocaleLowerCase();
14
+ export {
15
+ s as f,
16
+ l as g,
17
+ c as m
18
+ };
@@ -2,10 +2,10 @@ import { type IconName } from "../icon";
2
2
  declare const _default: <Subject = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly onCancel?: (() => any) | undefined;
5
- readonly onFailed?: ((error: unknown) => any) | undefined;
6
5
  readonly onDismissed?: (() => any) | undefined;
6
+ readonly onFailed?: ((error: unknown) => any) | undefined;
7
7
  readonly onConfirm?: ((subject: Subject) => any) | undefined;
8
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onCancel" | "onDismissed" | "onConfirm" | "onFailed"> & {
8
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onCancel" | "onDismissed" | "onFailed" | "onConfirm"> & {
9
9
  title: string;
10
10
  message?: string;
11
11
  /** Says exactly what happens; by default "Confirm". */
@@ -25,7 +25,7 @@ declare const _default: <Subject = undefined>(__VLS_props: NonNullable<Awaited<t
25
25
  slots: {
26
26
  default?: () => unknown;
27
27
  };
28
- emit: ((evt: "cancel") => void) & ((evt: "failed", error: unknown) => void) & ((evt: "dismissed") => void) & ((evt: "confirm", subject: Subject) => void);
28
+ emit: ((evt: "cancel") => void) & ((evt: "dismissed") => void) & ((evt: "failed", error: unknown) => void) & ((evt: "confirm", subject: Subject) => void);
29
29
  }>) => import("vue").VNode & {
30
30
  __ctx?: Awaited<typeof __VLS_setup>;
31
31
  };
@@ -61,8 +61,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
61
61
  onDismissed?: (() => any) | undefined;
62
62
  }>, {
63
63
  width: "sm" | "md" | "lg" | "auto";
64
- block: boolean;
65
64
  placement: Placement;
65
+ block: boolean;
66
66
  arrow: boolean;
67
67
  matchTriggerWidth: boolean;
68
68
  autofocus: boolean;
@@ -0,0 +1,7 @@
1
+ /** Fired on `document` to close every open popover and menu; see `closeOverlays`. */
2
+ export declare const CLOSE_OVERLAYS_EVENT = "vue-core:close-overlays";
3
+ /**
4
+ * Closes every open popover and menu: for something that takes the screen over (the prompt of an expired session),
5
+ * so a menu does not hang open beside it. Dialogs are not touched: they have their own stack.
6
+ */
7
+ export declare function closeOverlays(): void;
@@ -1,24 +1,25 @@
1
- import { _ as e } from "../AlertDialog.vue_vue_type_script_setup_true_lang-e4hzkzg3.js";
2
- import { _ as t } from "../Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js";
3
- import { _ as p, t as _ } from "../toast-DvrHQ6Ag.js";
4
- import { _ as f } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
5
- import { _ as I } from "../Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.js";
6
- import { I as u, u as i } from "../dialogStack-DZZg55w0.js";
7
- import { I as C, u as P } from "../useDialog-CXR3hN0G.js";
8
- import { C as n, u as D } from "../mediaQuery-CygcXmFW.js";
9
- import { _ as g } from "../PhotoViewer.vue_vue_type_script_setup_true_lang-ElDizaW2.js";
1
+ import { _ as e } from "../AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
2
+ import { _ as a } from "../Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js";
3
+ import { _ as p } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
4
+ import { _ as m } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
5
+ import { _ as x } from "../Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.js";
6
+ import { t as T } from "../toast-D9Z5To38.js";
7
+ import { I as i, u as A } from "../dialogStack-DZZg55w0.js";
8
+ import { I as P, u as l } from "../useDialog-CXR3hN0G.js";
9
+ import { C as D, u as R } from "../mediaQuery-CygcXmFW.js";
10
+ import { _ as E } from "../PhotoViewer.vue_vue_type_script_setup_true_lang-QPCW3Xi6.js";
10
11
  export {
11
12
  e as AlertDialog,
12
- n as COMPACT_MEDIA_QUERY,
13
- u as INERT_SKIP_ATTR,
14
- C as INITIAL_FOCUS_SKIP_ATTR,
15
- t as Menu,
16
- g as PhotoViewer,
13
+ D as COMPACT_MEDIA_QUERY,
14
+ i as INERT_SKIP_ATTR,
15
+ P as INITIAL_FOCUS_SKIP_ATTR,
16
+ a as Menu,
17
+ E as PhotoViewer,
17
18
  p as Popover,
18
- f as Toaster,
19
- I as Tooltip,
20
- _ as toast,
21
- D as useCompactPresentation,
22
- P as useDialog,
23
- i as useOpenDialogCount
19
+ m as Toaster,
20
+ x as Tooltip,
21
+ T as toast,
22
+ R as useCompactPresentation,
23
+ l as useDialog,
24
+ A as useOpenDialogCount
24
25
  };
@@ -58,11 +58,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
58
58
  path: readonly PagePathItem[] | null;
59
59
  width: "full" | "content" | "readable";
60
60
  icon: IconName;
61
- description: string;
62
61
  actions: readonly PageAction[];
63
- count: number | null;
64
62
  back: PageBack | null;
65
63
  documentTitle: string | null;
64
+ description: string;
65
+ count: number | null;
66
66
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
67
67
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
68
68
  export default _default;
@@ -27,11 +27,11 @@ type __VLS_Slots = {
27
27
  };
28
28
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
29
29
  icon: IconName;
30
+ actions: readonly PageAction[];
31
+ leading: PageAction | null;
30
32
  status: string | null;
31
33
  description: string;
32
- actions: readonly PageAction[];
33
34
  count: number | null;
34
- leading: PageAction | null;
35
35
  inlineActions: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;