@wssto2/vue-core 0.3.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 (145) hide show
  1. package/README.md +3 -0
  2. package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-DKX3PH2n.js → AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js} +1 -1
  3. package/dist/{AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js → AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js} +1 -1
  4. package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-B7Lpfkf6.js → ActionRow.vue_vue_type_script_setup_true_lang-LlfIPWsJ.js} +2 -2
  5. package/dist/{Activity-DviO0VQ8.js → Activity-2gGxQn7v.js} +9 -9
  6. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-BoinCY93.js} +3 -3
  7. package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js → AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js} +1 -1
  8. package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js → AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js} +4 -4
  9. package/dist/{Banner.vue_vue_type_script_setup_true_lang-Cib_YYpr.js → Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js} +1 -1
  10. package/dist/{Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js → Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js} +1 -1
  11. package/dist/{Changes-DlT5mN9G.js → Changes-Bm8xvagD.js} +8 -8
  12. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-CXILftEc.js → CollectionPage.vue_vue_type_script_setup_true_lang-DCBVw2Qd.js} +176 -172
  13. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DSYgS9lC.js → DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js} +1 -1
  14. package/dist/DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js +255 -0
  15. package/dist/DeadLetters-CMRtXn_N.js +104 -0
  16. package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-Cb3xJI1x.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js} +1 -1
  17. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js → EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js} +1 -1
  18. package/dist/{FormErrors.vue_vue_type_script_setup_true_lang-DVgNBQ8p.js → FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js} +1 -1
  19. package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-0mfG8TkU.js → FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js} +10 -10
  20. package/dist/{FormView.vue_vue_type_script_setup_true_lang-Bz2m3AtF.js → FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js} +2 -2
  21. package/dist/{General-BD-Hcz0a.js → General-CTqd0SLK.js} +8 -8
  22. package/dist/HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js +45 -0
  23. package/dist/{Icon.vue_vue_type_script_lang-VvcV2Bzo.js → Icon.vue_vue_type_script_lang-D7oC-d-S.js} +33 -29
  24. package/dist/{IconTile.vue_vue_type_script_setup_true_lang-D7QgnUyN.js → IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js} +1 -1
  25. package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js} +1 -1
  26. package/dist/{Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js → Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js} +30 -26
  27. package/dist/{Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js → Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js} +2 -2
  28. package/dist/{NewRolePage-Dla4YnMs.js → NewRolePage-DTOWIxxC.js} +4 -4
  29. package/dist/{NoAccess.vue_vue_type_script_setup_true_lang-8m9cNptR.js → NoAccess.vue_vue_type_script_setup_true_lang-DWxq-MTM.js} +1 -1
  30. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-CYRg7Kfg.js → NumberField.vue_vue_type_script_setup_true_lang-C7N5nq0P.js} +1 -1
  31. package/dist/{PageBar.vue_vue_type_script_setup_true_lang-Cfr5xsJx.js → PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js} +1 -1
  32. package/dist/{Panel.vue_vue_type_script_setup_true_lang-BCRxRK4D.js → Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js} +1 -1
  33. package/dist/PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js +46 -0
  34. package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js → PhotoViewer.vue_vue_type_script_setup_true_lang-QPCW3Xi6.js} +1 -1
  35. package/dist/ProfilePage-BlpiWH_W.js +654 -0
  36. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-DKsaKlAq.js → RecordHeader.vue_vue_type_script_setup_true_lang-C_ymvhHU.js} +2 -2
  37. package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-CJcKa9SW.js → ResourcePage.vue_vue_type_script_setup_true_lang-CwI_sROp.js} +5 -5
  38. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-DuEPOmjI.js → RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js} +30 -29
  39. package/dist/{RolePage-bZzv_E4l.js → RolePage-DZk7BZOc.js} +13 -13
  40. package/dist/{RolesPage-BniZv0nB.js → RolesPage-DzGGCMnm.js} +9 -9
  41. package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BKP_bge8.js → SectionList.vue_vue_type_script_setup_true_lang-BFYls8fR.js} +3 -3
  42. package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BgGEGxSI.js → SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js} +5 -5
  43. package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-BZ9UdgA1.js → SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js} +1 -1
  44. package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BiGaEKBQ.js → SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js} +15 -14
  45. package/dist/{SessionList.vue_vue_type_script_setup_true_lang-DUQpr7gb.js → SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js} +4 -4
  46. package/dist/{Sessions-Co5-xdeb.js → Sessions-CWqjjTr1.js} +6 -6
  47. package/dist/SettingsPage-C4s0IdkW.js +255 -0
  48. package/dist/{Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js → Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js} +48 -45
  49. package/dist/{SignIn-BWwFbxki.js → SignIn-zzKY__df.js} +7 -7
  50. package/dist/{SignInPage-FnLtoi2q.js → SignInPage-Rqnus_s-.js} +6 -6
  51. package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-Dnx3T_42.js → SignInTable.vue_vue_type_script_setup_true_lang-CEbAvZ_C.js} +1 -1
  52. package/dist/{SignIns-3UcI64_h.js → SignIns-Cnf9BVR0.js} +6 -6
  53. package/dist/{SwipeActions.vue_vue_type_script_setup_true_lang-4I8m27ol.js → SwipeActions.vue_vue_type_script_setup_true_lang-BJIA2JfI.js} +1 -1
  54. package/dist/SwitchField.vue_vue_type_script_setup_true_lang-CM8yp9JQ.js +64 -0
  55. package/dist/{Tabs.vue_vue_type_script_setup_true_lang-BeGaydRr.js → Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js} +1 -1
  56. package/dist/{TextField.vue_vue_type_script_setup_true_lang-C_FMf3Vc.js → TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js} +3 -3
  57. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CqAWfABZ.js +68 -0
  58. package/dist/TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js +164 -0
  59. package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-1RJGKxbD.js → Timestamp.vue_vue_type_script_setup_true_lang-FVRUr-9y.js} +1 -1
  60. package/dist/{UserRecord-Ci8HfwbX.js → UserRecord-DqigxVxH.js} +12 -12
  61. package/dist/{UsersList-vEJ-cgkT.js → UsersList-DNlZsI9J.js} +8 -8
  62. package/dist/{ViewTabs.vue_vue_type_script_setup_true_lang-ByqTU2JT.js → ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js} +1 -1
  63. package/dist/access/index.js +1 -1
  64. package/dist/app/index.js +9 -9
  65. package/dist/button/index.js +1 -1
  66. package/dist/client/index.js +11 -19
  67. package/dist/{client-Bw0aM5Gu.js → client-k9euDWF4.js} +19 -19
  68. package/dist/collection/definition.d.ts +3 -0
  69. package/dist/collection/index.js +6 -6
  70. package/dist/collection/useCollection.d.ts +2 -0
  71. package/dist/content/index.js +2 -2
  72. package/dist/{contributions-CDDg3fKp.js → contributions-DsfmDoRD.js} +1 -1
  73. package/dist/control-7EP4tjYy.js +313 -0
  74. package/dist/controls/index.js +4 -4
  75. package/dist/form/index.js +987 -1134
  76. package/dist/{guards-Cd1V28oG.js → guards-Dve61KjR.js} +1 -1
  77. package/dist/{http-DGGSKWvU.js → http-CNcDHSOj.js} +9 -8
  78. package/dist/i18n/index.js +20 -20
  79. package/dist/icon/core.d.ts +4 -0
  80. package/dist/icon/index.js +1 -1
  81. package/dist/identity/index.js +1 -1
  82. package/dist/index-BsJ92eub.js +504 -0
  83. package/dist/{index-BAcl44SC.js → index-CGv-u1Ws.js} +19 -19
  84. package/dist/{index-B2dbYZR9.js → index-GcLnFF-z.js} +15 -15
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.js +1 -1
  87. package/dist/modal/Sheet.vue.d.ts +2 -0
  88. package/dist/modal/index.js +5 -5
  89. package/dist/modules/events/entities.d.ts +16 -0
  90. package/dist/modules/events/routes.d.ts +17 -0
  91. package/dist/modules/events/schemas.d.ts +16 -0
  92. package/dist/modules/notification/entities.d.ts +46 -0
  93. package/dist/modules/notification/routes.d.ts +26 -0
  94. package/dist/modules/notification/schemas.d.ts +25 -0
  95. package/dist/{navigation-BPWa63ge.js → navigation-Cm3iChlR.js} +1 -1
  96. package/dist/{neighbors-D0WRBxXI.js → neighbors-DpaIMQAL.js} +1 -1
  97. package/dist/notifications/InboxPanel.vue.d.ts +16 -0
  98. package/dist/notifications/MarkAllRead.vue.d.ts +7 -0
  99. package/dist/notifications/NotificationBell.vue.d.ts +2 -0
  100. package/dist/notifications/SettingsLink.vue.d.ts +6 -0
  101. package/dist/notifications/context.d.ts +20 -0
  102. package/dist/notifications/deadletters/DeadLetters.vue.d.ts +2 -0
  103. package/dist/notifications/deadletters/access.d.ts +3 -0
  104. package/dist/notifications/deadletters/list.d.ts +3 -0
  105. package/dist/notifications/deadletters/routes.d.ts +13 -0
  106. package/dist/notifications/feature.d.ts +31 -0
  107. package/dist/notifications/inbox.d.ts +62 -0
  108. package/dist/notifications/index.d.ts +13 -0
  109. package/dist/notifications/index.js +8 -0
  110. package/dist/notifications/settings/EmailPanel.vue.d.ts +14 -0
  111. package/dist/notifications/settings/QuietHoursPanel.vue.d.ts +14 -0
  112. package/dist/notifications/settings/SettingsMenuItem.vue.d.ts +2 -0
  113. package/dist/notifications/settings/SettingsPage.vue.d.ts +2 -0
  114. package/dist/notifications/settings/categoryText.d.ts +9 -0
  115. package/dist/notifications/settings/routes.d.ts +13 -0
  116. package/dist/notifications/settings/settings.d.ts +18 -0
  117. package/dist/notifications/settings/state.d.ts +16 -0
  118. package/dist/notifications/state.d.ts +27 -0
  119. package/dist/notifications/stream.d.ts +21 -0
  120. package/dist/options-Ba_0uLWN.js +18 -0
  121. package/dist/overlay/index.js +3 -3
  122. package/dist/page/index.js +7 -7
  123. package/dist/phone/index.js +68 -67
  124. package/dist/platform/index.js +2 -2
  125. package/dist/{platform-hunMqFdB.js → platform-q3cjODLx.js} +1 -1
  126. package/dist/resource/index.js +1 -1
  127. package/dist/route-goWMxDUN.js +13 -0
  128. package/dist/router/index.js +4 -4
  129. package/dist/{rowLayout-BI7a3Kom.js → rowLayout-BqTEhEuy.js} +5 -5
  130. package/dist/{sections-BEqW1dOc.js → sections-CntvUTxn.js} +1 -1
  131. package/dist/shell/index.js +460 -496
  132. package/dist/state/index.js +4 -4
  133. package/dist/{status-C9aXR-Jb.js → status-BuP3ULjH.js} +2 -2
  134. package/dist/styles.css +1 -1
  135. package/dist/{suggestions-BJAqOj4c.js → suggestions-BxMm6MQA.js} +1 -1
  136. package/dist/testing/index.js +1 -1
  137. package/dist/transport-BnP7WC0Y.js +4 -0
  138. package/dist/{useCommand-BgRwnYlV.js → useCommand-BkONMn3X.js} +2 -2
  139. package/dist/{useResourceForm-Bgc9jMcu.js → useResourceForm-D1hIpwW5.js} +1 -1
  140. package/dist/useTypedEntry-aTfPBAhw.js +857 -0
  141. package/package.json +6 -2
  142. package/dist/DateField.vue_vue_type_script_setup_true_lang-DMVjNsaM.js +0 -1099
  143. package/dist/ProfilePage-OJMQ8cr8.js +0 -691
  144. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CU3KTKIJ.js +0 -127
  145. package/dist/options-BXkMR63B.js +0 -329
@@ -47,5 +47,9 @@ export declare const coreIcons: {
47
47
  readonly listCheck: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z\"></path></svg>";
48
48
  readonly shieldStarFill: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M3.78307 2.82598L12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598ZM12 13.5L14.9389 15.0451L14.3776 11.7725L16.7553 9.45492L13.4695 8.97746L12 6L10.5305 8.97746L7.24472 9.45492L9.62236 11.7725L9.06107 15.0451L12 13.5Z\"></path></svg>";
49
49
  readonly swapBoxLine: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M4.00488 5.00275V19.0027H20.0049V5.00275H4.00488ZM3.00488 3.00275H21.0049C21.5572 3.00275 22.0049 3.45046 22.0049 4.00275V20.0027C22.0049 20.555 21.5572 21.0027 21.0049 21.0027H3.00488C2.4526 21.0027 2.00488 20.555 2.00488 20.0027V4.00275C2.00488 3.45046 2.4526 3.00275 3.00488 3.00275ZM15.0049 7.00275L18.5049 10.0027L15.0049 13.0027V11.0027H11.0049V9.00275H15.0049V7.00275ZM9.00488 17.0027L5.50488 14.0027L9.00488 11.0027V13.0027H13.0049V15.0027H9.00488V17.0027Z\"></path></svg>";
50
+ readonly notification3Line: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM18 17V10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10V17H18ZM9 21H15V23H9V21Z\"></path></svg>";
51
+ readonly checkDoubleLine: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.0139 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6351L3.82604 11.6363L8.77698 16.5873Z\"></path></svg>";
52
+ readonly settings3Line: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z\"></path></svg>";
53
+ readonly moonLine: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M10 7C10 10.866 13.134 14 17 14C18.9584 14 20.729 13.1957 21.9995 11.8995C22 11.933 22 11.9665 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.0335 2 12.067 2 12.1005 2.00049C10.8043 3.27098 10 5.04157 10 7ZM4 12C4 16.4183 7.58172 20 12 20C15.0583 20 17.7158 18.2839 19.062 15.7621C18.3945 15.9187 17.7035 16 17 16C12.0294 16 8 11.9706 8 7C8 6.29648 8.08133 5.60547 8.2379 4.938C5.71611 6.28423 4 8.9417 4 12Z\"></path></svg>";
50
54
  };
51
55
  export type CoreIconName = keyof typeof coreIcons;
@@ -1,4 +1,4 @@
1
- import { _ as a, i as n, p as c } from "../Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
1
+ import { _ as a, i as n, p as c } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
2
2
  export {
3
3
  a as Icon,
4
4
  n as installIcons,
@@ -1,4 +1,4 @@
1
- import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-BAcl44SC.js";
1
+ import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-CGv-u1Ws.js";
2
2
  export {
3
3
  t as SignInAsButton,
4
4
  n as identityFeature,
@@ -0,0 +1,504 @@
1
+ import { r as y } from "./route-goWMxDUN.js";
2
+ import { d as se, p as le } from "./feature-DdUAfyi4.js";
3
+ import { defineComponent as z, openBlock as g, createBlock as I, unref as a, shallowRef as U, ref as G, readonly as P, withCtx as R, createTextVNode as Q, toDisplayString as L, mergeProps as X, computed as q, createElementBlock as w, createElementVNode as C, createCommentVNode as S, createVNode as T, Fragment as B, renderList as ce, normalizeClass as W, useTemplateRef as de, createSlots as ue } from "vue";
4
+ import { d as fe } from "./context-Ch1r4fdN.js";
5
+ import { d as Z } from "./defineRoutes-BGAdiIrt.js";
6
+ import { useI18n as N } from "vue-i18n";
7
+ import { _ as me } from "./AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
8
+ import { f as ve } from "./transport-BnP7WC0Y.js";
9
+ import { u as pe } from "./mediaQuery-CygcXmFW.js";
10
+ import { _ as be } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
11
+ import { _ as _e } from "./Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
12
+ import { _ as H } from "./HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js";
13
+ import { useRouter as ge } from "vue-router";
14
+ import { _ as F } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
15
+ import { u as ye } from "./format-B8mJm946.js";
16
+ import { _ as xe } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
17
+ import { _ as he } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
18
+ const M = {
19
+ list: y("GET", "/v1/notifications"),
20
+ unread: y("GET", "/v1/notifications/unread"),
21
+ read: y("POST", "/v1/notifications/:id/read"),
22
+ readAll: y("POST", "/v1/notifications/read"),
23
+ stream: y.raw("GET", "/v1/notifications/stream"),
24
+ test: y("POST", "/v1/notifications/test"),
25
+ preferences: y("GET", "/v1/notifications/preferences"),
26
+ preferencesSetEmail: y("PUT", "/v1/notifications/preferences/:category"),
27
+ quietHours: y("PUT", "/v1/notifications/quiet-hours")
28
+ }, pt = {
29
+ deadLettersList: y("GET", "/v1/events/dead-letters", { permission: "events.deadletter:view" }),
30
+ deadLettersRetry: y("POST", "/v1/events/dead-letters/:event/:consumer/retry", { permission: "events.deadletter:retry" }),
31
+ deadLettersRetryAll: y("POST", "/v1/events/dead-letters/retry", { permission: "events.deadletter:retry" }),
32
+ consumers: y("GET", "/v1/events/consumers", { permission: "events.deadletter:view" })
33
+ }, [ke, ee] = fe("vue-core.notifications"), we = "events.deadletter:view", bt = "events.deadletter:retry", J = Z({
34
+ index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-CMRtXn_N.js"), meta: { access: we, titleKey: "core.notifications.dead_letters.title" } }
35
+ }), j = Z({
36
+ index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-C4s0IdkW.js"), meta: { titleKey: "core.notifications.settings.title" } }
37
+ }), Te = /* @__PURE__ */ z({
38
+ __name: "SettingsMenuItem",
39
+ setup(o) {
40
+ const { t } = N();
41
+ return (e, n) => (g(), I(me, {
42
+ label: a(t)("core.notifications.settings.title"),
43
+ icon: "notification3Line",
44
+ to: a(j).index,
45
+ "data-notification-settings-menu-item": ""
46
+ }, null, 8, ["label", "to"]));
47
+ }
48
+ });
49
+ function te(o) {
50
+ return o.reduce((t, e) => Math.max(t, e.id), 0);
51
+ }
52
+ function Ee(o, t, e) {
53
+ return o.map((n) => n.id === t && n.read_at === null ? { ...n, read_at: e } : n);
54
+ }
55
+ function Ce(o, t, e) {
56
+ return o.map((n) => n.read_at === null && n.id <= t ? { ...n, read_at: e } : n);
57
+ }
58
+ function Le(o, t) {
59
+ const e = te(o);
60
+ return [...t.filter((n) => n.id > e), ...o];
61
+ }
62
+ function Se(o, t) {
63
+ const e = new Set(o.map((n) => n.id));
64
+ return [...o, ...t.filter((n) => !e.has(n.id))];
65
+ }
66
+ function Re(o, t, e) {
67
+ let n = o.items;
68
+ if (t.type === "created" && t.notification && !n.some((r) => r.id === t.notification?.id) && (n = [t.notification, ...n]), t.type === "read") {
69
+ const r = new Set(t.read_ids ?? []), _ = t.read_up_to_id ?? 0;
70
+ n = n.map((f) => f.read_at === null && (t.all_read ? f.id <= _ : r.has(f.id)) ? { ...f, read_at: e } : f);
71
+ }
72
+ return { items: n, unreadCount: Math.max(0, t.unread_count) };
73
+ }
74
+ function $e(o) {
75
+ return o > 99 ? "99+" : String(o);
76
+ }
77
+ const Me = ["created", "read", "unread"];
78
+ function Ae(o) {
79
+ const t = o.split(`
80
+ `).filter((e) => e.startsWith("data:")).map((e) => e.slice(5).replace(/^ /, "")).join(`
81
+ `);
82
+ if (t === "") return null;
83
+ try {
84
+ const e = JSON.parse(t);
85
+ if (typeof e != "object" || e === null) return null;
86
+ const { type: n, unread_count: r } = e;
87
+ return typeof n == "string" && Me.includes(n) && typeof r == "number" ? e : null;
88
+ } catch {
89
+ return null;
90
+ }
91
+ }
92
+ async function Pe({ url: o, transport: t, signal: e, onEvent: n, idleTimeout: r }) {
93
+ if (e.aborted) return "aborted";
94
+ const _ = new AbortController();
95
+ let f = null, E = !1, i;
96
+ const b = () => {
97
+ _.abort(), f?.cancel().catch(() => {
98
+ });
99
+ }, v = () => {
100
+ clearTimeout(i), i = setTimeout(() => {
101
+ E = !0, b();
102
+ }, r);
103
+ };
104
+ e.addEventListener("abort", b, { once: !0 }), v();
105
+ try {
106
+ const l = await t(o, { method: "GET", headers: { Accept: "text/event-stream" }, credentials: "include", signal: _.signal });
107
+ if (l.status === 401) return "unauthorized";
108
+ if (!l.ok || !l.body) return "failed";
109
+ f = l.body.getReader();
110
+ const x = new TextDecoder();
111
+ let h = "";
112
+ for (; ; ) {
113
+ const { done: m, value: s } = await f.read();
114
+ if (e.aborted) return "aborted";
115
+ if (E) return "stalled";
116
+ if (m) return "closed";
117
+ v(), h += x.decode(s, { stream: !0 }).replace(/\r\n/g, `
118
+ `);
119
+ const k = h.split(`
120
+
121
+ `);
122
+ h = k.pop() ?? "";
123
+ for (const p of k) {
124
+ const A = Ae(p);
125
+ A && n(A);
126
+ }
127
+ }
128
+ } catch (l) {
129
+ return e.aborted ? "aborted" : E ? "stalled" : l instanceof Error && l.name === "AbortError" ? "aborted" : "failed";
130
+ } finally {
131
+ clearTimeout(i), e.removeEventListener("abort", b);
132
+ }
133
+ }
134
+ function ze(o) {
135
+ const { http: t, signal: e, pageSize: n = 20, backoff: r = { min: 1e3, max: 3e4 }, idleTimeout: _ = 5e4, transport: f = ve, now: E = () => /* @__PURE__ */ new Date() } = o, i = U([]), b = G(0), v = G(!1), l = U({ status: "idle" }), x = G("idle");
136
+ let h = 0;
137
+ const m = () => E().toISOString();
138
+ async function s() {
139
+ try {
140
+ const { data: c } = await t.request(M.unread, void 0, { signal: e });
141
+ e.aborted || (b.value = c.unread_count);
142
+ } catch {
143
+ }
144
+ }
145
+ async function k() {
146
+ const c = ++h;
147
+ x.value = "idle", l.value = { status: "loading" };
148
+ try {
149
+ const { data: d } = await t.request(M.list, { limit: n }, { signal: e });
150
+ if (e.aborted || c !== h) return;
151
+ i.value = Le(d.items, i.value), v.value = d.has_more, l.value = { status: "loaded" };
152
+ } catch (d) {
153
+ if (e.aborted || c !== h) return;
154
+ l.value = { status: "failed", error: d };
155
+ }
156
+ }
157
+ async function p() {
158
+ const c = i.value[i.value.length - 1]?.id;
159
+ if (!v.value || x.value === "loading" || c === void 0) return;
160
+ const d = h;
161
+ x.value = "loading";
162
+ try {
163
+ const { data: u } = await t.request(M.list, { before_id: c, limit: n }, { signal: e });
164
+ if (e.aborted || d !== h) return;
165
+ i.value = Se(i.value, u.items), v.value = u.has_more, x.value = "idle";
166
+ } catch {
167
+ !e.aborted && d === h && (x.value = "failed");
168
+ }
169
+ }
170
+ async function A(c) {
171
+ if (!(c.read_at !== null || i.value.find((d) => d.id === c.id)?.read_at)) {
172
+ i.value = Ee(i.value, c.id, m()), b.value = Math.max(0, b.value - 1);
173
+ try {
174
+ const { data: d } = await t.request(M.read, { id: c.id }, { signal: e });
175
+ e.aborted || (b.value = d.unread_count);
176
+ } catch {
177
+ if (e.aborted) return;
178
+ i.value = i.value.map((d) => d.id === c.id ? { ...d, read_at: null } : d), await s();
179
+ }
180
+ }
181
+ }
182
+ async function ae() {
183
+ const c = te(i.value);
184
+ if (c === 0) return;
185
+ const d = new Set(i.value.filter((u) => u.read_at === null && u.id <= c).map((u) => u.id));
186
+ i.value = Ce(i.value, c, m()), b.value = Math.max(0, b.value - d.size);
187
+ try {
188
+ const { data: u } = await t.request(M.readAll, { up_to_id: c }, { signal: e });
189
+ e.aborted || (b.value = u.unread_count);
190
+ } catch {
191
+ if (e.aborted) return;
192
+ i.value = i.value.map((u) => d.has(u.id) ? { ...u, read_at: null } : u), await s();
193
+ }
194
+ }
195
+ let $ = r.min, O = null;
196
+ const ie = (c) => new Promise((d) => {
197
+ const u = () => {
198
+ clearTimeout(D), e.removeEventListener("abort", u), O = null, d();
199
+ }, D = setTimeout(u, c);
200
+ e.addEventListener("abort", u, { once: !0 }), O = u;
201
+ });
202
+ async function re() {
203
+ for (let c = !1; !e.aborted; c = !0) {
204
+ if (c && await s(), e.aborted) return;
205
+ let d = !1;
206
+ if (await Pe({
207
+ url: o.streamUrl,
208
+ transport: f,
209
+ signal: e,
210
+ idleTimeout: _,
211
+ onEvent(u) {
212
+ d = !0;
213
+ const D = Re({ items: i.value, unreadCount: b.value }, u, m());
214
+ i.value = D.items, b.value = D.unreadCount;
215
+ }
216
+ }), e.aborted) return;
217
+ d && ($ = r.min), await ie($), $ = Math.min($ * 2, r.max);
218
+ }
219
+ }
220
+ const V = () => {
221
+ document.visibilityState === "visible" && (s(), $ = r.min, O?.());
222
+ }, K = () => {
223
+ s(), $ = r.min, O?.();
224
+ };
225
+ return document.addEventListener("visibilitychange", V), window.addEventListener("online", K), e.addEventListener(
226
+ "abort",
227
+ () => {
228
+ document.removeEventListener("visibilitychange", V), window.removeEventListener("online", K);
229
+ },
230
+ { once: !0 }
231
+ ), e.aborted || re(), { items: P(i), unreadCount: P(b), hasMore: P(v), list: P(l), more: P(x), load: k, loadMore: p, markRead: A, markAllRead: ae };
232
+ }
233
+ const ne = /* @__PURE__ */ z({
234
+ __name: "MarkAllRead",
235
+ props: {
236
+ inbox: {}
237
+ },
238
+ setup(o) {
239
+ const { t } = N();
240
+ return (e, n) => (g(), I(a(F), {
241
+ prominence: "plain",
242
+ size: "sm",
243
+ icon: "checkDoubleLine",
244
+ "data-notification-mark-all": "",
245
+ disabled: o.inbox.unreadCount.value === 0,
246
+ onClick: n[0] || (n[0] = (r) => o.inbox.markAllRead())
247
+ }, {
248
+ default: R(() => [
249
+ Q(L(a(t)("core.notifications.mark_all_read")), 1)
250
+ ]),
251
+ _: 1
252
+ }, 8, ["disabled"]));
253
+ }
254
+ }), oe = /* @__PURE__ */ z({
255
+ __name: "SettingsLink",
256
+ emits: ["click"],
257
+ setup(o, { emit: t }) {
258
+ const e = t, { t: n } = N();
259
+ return (r, _) => (g(), I(a(F), X({
260
+ prominence: "plain",
261
+ size: "sm",
262
+ icon: "settings3Line",
263
+ to: a(j).index
264
+ }, { "aria-label": a(n)("core.notifications.settings.open"), title: a(n)("core.notifications.settings.open") }, {
265
+ "data-notification-settings": "",
266
+ onClick: _[0] || (_[0] = (f) => e("click"))
267
+ }), null, 16, ["to"]));
268
+ }
269
+ }), Ie = {
270
+ "data-notification-inbox": "",
271
+ class: "w-full min-w-0 sm:w-96"
272
+ }, Ne = {
273
+ key: 0,
274
+ class: "mb-1 flex items-center justify-between gap-2"
275
+ }, Oe = { class: "px-1 text-headline font-semibold" }, De = { class: "flex items-center gap-1" }, qe = { class: "-mx-1 max-h-[min(28rem,60dvh)] overflow-y-auto overscroll-contain" }, Ge = ["data-unread", "onClick"], Ue = { class: "min-w-0 flex-1" }, Be = {
276
+ key: 0,
277
+ class: "mt-0.5 line-clamp-2 block text-footnote text-content-muted"
278
+ }, Fe = ["datetime"], je = {
279
+ key: 0,
280
+ class: "mt-2 size-2 shrink-0 rounded-full bg-content-link",
281
+ "aria-hidden": "true"
282
+ }, Ve = {
283
+ key: 1,
284
+ class: "sr-only"
285
+ }, Ke = {
286
+ key: 0,
287
+ class: "mt-2 flex flex-col items-center gap-1",
288
+ "data-notification-more": ""
289
+ }, We = {
290
+ key: 0,
291
+ class: "text-footnote text-status-danger-content",
292
+ role: "alert"
293
+ }, He = "bg-fill text-content-muted", Y = /* @__PURE__ */ z({
294
+ __name: "InboxPanel",
295
+ props: {
296
+ inbox: {},
297
+ appearance: {}
298
+ },
299
+ emits: ["close"],
300
+ setup(o, { emit: t }) {
301
+ const e = o, n = t, { t: r } = N(), _ = ge(), f = ye(), { categories: E, settings: i } = ee(), b = {
302
+ amber: "bg-category-amber-surface text-category-amber-content",
303
+ lime: "bg-category-lime-surface text-category-lime-content",
304
+ teal: "bg-category-teal-surface text-category-teal-content",
305
+ cyan: "bg-category-cyan-surface text-category-cyan-content",
306
+ blue: "bg-category-blue-surface text-category-blue-content",
307
+ indigo: "bg-category-indigo-surface text-category-indigo-content",
308
+ violet: "bg-category-violet-surface text-category-violet-content",
309
+ fuchsia: "bg-category-fuchsia-surface text-category-fuchsia-content",
310
+ pink: "bg-category-pink-surface text-category-pink-content"
311
+ }, v = q(() => {
312
+ const { list: m, items: s } = e.inbox;
313
+ if (m.value.status === "failed") {
314
+ const k = r("core.notifications.load_error");
315
+ return s.value.length > 0 ? { status: "stale", value: s.value, error: k } : { status: "failed", error: k };
316
+ }
317
+ return m.value.status === "loaded" ? { status: "loaded", value: s.value } : s.value.length > 0 ? { status: "refreshing", value: s.value } : { status: "loading" };
318
+ }), l = (m) => {
319
+ const s = E[m.category];
320
+ return { icon: s?.icon ?? "notification3Line", classes: s?.hue ? b[s.hue] : He };
321
+ }, x = (m) => m.startsWith("/") && !m.startsWith("//");
322
+ function h(m) {
323
+ e.inbox.markRead(m), !(m.link === "" || !x(m.link)) && (n("close"), _.push(m.link));
324
+ }
325
+ return (m, s) => (g(), w("div", Ie, [
326
+ o.appearance === "popover" ? (g(), w("div", Ne, [
327
+ C("h2", Oe, L(a(r)("core.notifications.title")), 1),
328
+ C("div", De, [
329
+ a(i) ? (g(), I(oe, {
330
+ key: 0,
331
+ onClick: s[0] || (s[0] = (k) => n("close"))
332
+ })) : S("", !0),
333
+ T(ne, { inbox: o.inbox }, null, 8, ["inbox"])
334
+ ])
335
+ ])) : S("", !0),
336
+ T(a(he), {
337
+ state: v.value,
338
+ "empty-title": a(r)("core.notifications.empty_title"),
339
+ "empty-description": a(r)("core.notifications.empty_description"),
340
+ "empty-icon": "notification3Line",
341
+ onRetry: s[2] || (s[2] = (k) => o.inbox.load())
342
+ }, {
343
+ default: R(({ value: k }) => [
344
+ C("ul", qe, [
345
+ (g(!0), w(B, null, ce(k, (p) => (g(), w("li", {
346
+ key: p.id
347
+ }, [
348
+ C("button", {
349
+ type: "button",
350
+ "data-notification-item": "",
351
+ "data-unread": p.read_at === null ? "true" : void 0,
352
+ class: "flex w-full cursor-pointer items-start gap-3 rounded-control px-2 py-2.5 text-left transition-colors duration-motion-fast hover:bg-fill focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus",
353
+ onClick: (A) => h(p)
354
+ }, [
355
+ C("span", {
356
+ class: W(["flex size-9 shrink-0 items-center justify-center rounded-full", l(p).classes]),
357
+ "aria-hidden": "true"
358
+ }, [
359
+ T(a(xe), {
360
+ name: l(p).icon,
361
+ size: 18
362
+ }, null, 8, ["name"])
363
+ ], 2),
364
+ C("span", Ue, [
365
+ C("span", {
366
+ class: W(["block text-subheadline", p.read_at === null ? "font-semibold text-content-strong" : "font-medium text-content"])
367
+ }, L(p.title), 3),
368
+ p.body ? (g(), w("span", Be, L(p.body), 1)) : S("", !0),
369
+ C("time", {
370
+ datetime: p.created_at,
371
+ class: "mt-0.5 block text-footnote text-content-muted"
372
+ }, L(a(f).relative(p.created_at)), 9, Fe)
373
+ ]),
374
+ p.read_at === null ? (g(), w("span", je)) : S("", !0),
375
+ p.read_at === null ? (g(), w("span", Ve, L(a(r)("core.notifications.unread")), 1)) : S("", !0)
376
+ ], 8, Ge)
377
+ ]))), 128))
378
+ ]),
379
+ o.inbox.hasMore.value ? (g(), w("div", Ke, [
380
+ o.inbox.more.value === "failed" ? (g(), w("p", We, L(a(r)("core.notifications.load_more_error")), 1)) : S("", !0),
381
+ T(a(F), {
382
+ prominence: "plain",
383
+ size: "sm",
384
+ processing: o.inbox.more.value === "loading",
385
+ onClick: s[1] || (s[1] = (p) => o.inbox.loadMore())
386
+ }, {
387
+ default: R(() => [
388
+ Q(L(a(r)("core.notifications.load_more")), 1)
389
+ ]),
390
+ _: 1
391
+ }, 8, ["processing"])
392
+ ])) : S("", !0)
393
+ ]),
394
+ _: 1
395
+ }, 8, ["state", "empty-title", "empty-description"])
396
+ ]));
397
+ }
398
+ }), Je = { class: "flex items-center justify-center" }, Ye = /* @__PURE__ */ z({
399
+ __name: "NotificationBell",
400
+ setup(o) {
401
+ const { t } = N(), { inbox: e, settings: n } = ee(), r = pe(), _ = de("sheet"), f = q(() => e.value?.unreadCount.value ?? 0), E = q(() => f.value > 0 ? t("core.notifications.open_unread", { count: f.value }) : t("core.notifications.open")), i = q(() => f.value > 0 ? $e(f.value) : void 0);
402
+ return (b, v) => a(e) ? (g(), w(B, { key: 0 }, [
403
+ a(r) ? (g(), w(B, { key: 1 }, [
404
+ T(H, {
405
+ icon: "notification3Line",
406
+ label: E.value,
407
+ badge: i.value,
408
+ "data-notification-bell": "",
409
+ onClick: v[1] || (v[1] = (l) => {
410
+ _.value?.present(), a(e).load();
411
+ })
412
+ }, null, 8, ["label", "badge"]),
413
+ T(a(be), {
414
+ ref_key: "sheet",
415
+ ref: _,
416
+ title: a(t)("core.notifications.title")
417
+ }, ue({
418
+ footer: R(() => [
419
+ C("div", Je, [
420
+ T(ne, { inbox: a(e) }, null, 8, ["inbox"])
421
+ ])
422
+ ]),
423
+ default: R(() => [
424
+ T(Y, {
425
+ inbox: a(e),
426
+ appearance: "sheet",
427
+ onClose: v[3] || (v[3] = (l) => _.value?.dismiss())
428
+ }, null, 8, ["inbox"])
429
+ ]),
430
+ _: 2
431
+ }, [
432
+ a(n) ? {
433
+ name: "actions",
434
+ fn: R(() => [
435
+ T(oe, {
436
+ onClick: v[2] || (v[2] = (l) => _.value?.dismiss())
437
+ })
438
+ ]),
439
+ key: "0"
440
+ } : void 0
441
+ ]), 1032, ["title"])
442
+ ], 64)) : (g(), I(a(_e), {
443
+ key: 0,
444
+ placement: "bottom-start",
445
+ width: "auto",
446
+ arrow: !1,
447
+ label: a(t)("core.notifications.title"),
448
+ onPresented: v[0] || (v[0] = (l) => a(e).load())
449
+ }, {
450
+ trigger: R(({ toggle: l, attrs: x }) => [
451
+ T(H, X(x, {
452
+ icon: "notification3Line",
453
+ label: E.value,
454
+ badge: i.value,
455
+ "data-notification-bell": "",
456
+ onClick: l
457
+ }), null, 16, ["label", "badge", "onClick"])
458
+ ]),
459
+ default: R(({ dismiss: l }) => [
460
+ T(Y, {
461
+ inbox: a(e),
462
+ appearance: "popover",
463
+ onClose: l
464
+ }, null, 8, ["inbox", "onClose"])
465
+ ]),
466
+ _: 1
467
+ }, 8, ["label"]))
468
+ ], 64)) : S("", !0);
469
+ }
470
+ });
471
+ function Qe(o) {
472
+ return {
473
+ id: "notifications.inbox",
474
+ scope: "session",
475
+ start({ signal: t, platform: e }) {
476
+ const n = e.config.apiBase.replace(/\/+$/, "");
477
+ return o.value = ze({ http: e.http, streamUrl: `${n}/${M.stream.path.replace(/^\/+/, "")}`, signal: t }), () => {
478
+ o.value = null;
479
+ };
480
+ }
481
+ };
482
+ }
483
+ function _t(o = {}) {
484
+ const t = U(null), e = o.deadLetters ?? {}, n = o.settings ?? !0;
485
+ return se({
486
+ id: "notifications",
487
+ routes: [...e === !1 ? [] : J.records, ...n ? j.records : []],
488
+ navigation: e !== !1 && e.destination ? [{ destination: e.destination, to: J.index }] : [],
489
+ context: le(ke, { inbox: t, categories: o.categories ?? {}, settings: n }),
490
+ contributions: [
491
+ { id: "notifications.bell", slot: "headerActions", component: Ye, scope: "authenticated" },
492
+ ...n ? [{ id: "notifications.settings", slot: "accountMenu", component: Te, scope: "authenticated", optional: !0, order: -9 }] : []
493
+ ],
494
+ effects: [Qe(t)]
495
+ });
496
+ }
497
+ export {
498
+ bt as R,
499
+ j as a,
500
+ _t as b,
501
+ J as d,
502
+ pt as e,
503
+ M as n
504
+ };
@@ -1,4 +1,4 @@
1
- import { route as i } from "./client/index.js";
1
+ import { r as i } from "./route-goWMxDUN.js";
2
2
  import { d as H, p as Y } from "./feature-DdUAfyi4.js";
3
3
  import { k as ie } from "./keepAlive-WYQGRhuz.js";
4
4
  import { d as z } from "./defineRoutes-BGAdiIrt.js";
@@ -7,23 +7,23 @@ import { defineComponent as E, computed as b, watch as $, openBlock as x, create
7
7
  import { u as pe } from "./environment-Dva-SG8D.js";
8
8
  import { u as P } from "./describeError-Ctga6GcS.js";
9
9
  import { t as k } from "./toast-D9Z5To38.js";
10
- import { u as A, h as q, f as M } from "./platform-hunMqFdB.js";
10
+ import { u as A, h as q, f as M } from "./platform-q3cjODLx.js";
11
11
  import { a as R } from "./error-CD7x0Jrz.js";
12
12
  import { useI18n as C } from "vue-i18n";
13
13
  import { useRouter as J, useRoute as de } from "vue-router";
14
- import { _ as Q } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
15
- import { _ as L } from "./Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js";
14
+ import { _ as Q } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
15
+ import { _ as L } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
16
16
  import { u as fe } from "./leaveGuard-Cc8yeLxM.js";
17
- import { _ as he } from "./FormView.vue_vue_type_script_setup_true_lang-Bz2m3AtF.js";
18
- import { _ as ye } from "./TextField.vue_vue_type_script_setup_true_lang-C_FMf3Vc.js";
17
+ import { _ as he } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js";
18
+ import { _ as ye } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
19
19
  import { u as ge } from "./mediaQuery-CygcXmFW.js";
20
20
  import { u as ve } from "./useDialog-CXR3hN0G.js";
21
21
  import { c as _e } from "./closeOverlays-CjVsIrpL.js";
22
- import { u as be } from "./FormErrors.vue_vue_type_script_setup_true_lang-DVgNBQ8p.js";
22
+ import { u as be } from "./FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js";
23
23
  import { u as we } from "./format-B8mJm946.js";
24
- import { _ as xe } from "./AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js";
24
+ import { _ as xe } from "./AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
25
25
  import { b as Ee } from "./routeResource-DstM0hvf.js";
26
- import { _ as Se } from "./AccessGate.vue_vue_type_script_setup_true_lang-DKX3PH2n.js";
26
+ import { _ as Se } from "./AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js";
27
27
  const w = {
28
28
  login: i("POST", "/v1/auth/login", { public: !0 }),
29
29
  refresh: i("POST", "/v1/auth/refresh", { public: !0 }),
@@ -315,7 +315,7 @@ function Cs(e) {
315
315
  const Ye = async (e) => {
316
316
  await B(e.http);
317
317
  }, Je = z({
318
- login: { name: "login", path: "/login", component: () => import("./SignInPage-FnLtoi2q.js"), meta: { public: !0, titleKey: "core.identity.signin.title" } }
318
+ login: { name: "login", path: "/login", component: () => import("./SignInPage-Rqnus_s-.js"), meta: { public: !0, titleKey: "core.identity.signin.title" } }
319
319
  });
320
320
  function Os(e = {}) {
321
321
  return H({
@@ -334,7 +334,7 @@ function Os(e = {}) {
334
334
  });
335
335
  }
336
336
  const Z = z({
337
- index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-OJMQ8cr8.js"), meta: { titleKey: "core.profile.title" } }
337
+ index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-BlpiWH_W.js"), meta: { titleKey: "core.profile.title" } }
338
338
  }), Qe = /* @__PURE__ */ E({
339
339
  __name: "ProfileMenuItem",
340
340
  setup(e) {
@@ -358,19 +358,19 @@ function es(e) {
358
358
  return { name: `users.record.${e.path}`, path: e.path, component: s, meta: { ...e.meta } };
359
359
  }
360
360
  const W = "iam.user:view", qs = "iam.user:manage", ss = "iam.user.activity:view", ee = z({
361
- index: { name: "users.index", path: "/users", component: () => import("./UsersList-vEJ-cgkT.js"), meta: { access: W, titleKey: "core.users.title" } },
361
+ index: { name: "users.index", path: "/users", component: () => import("./UsersList-DNlZsI9J.js"), meta: { access: W, titleKey: "core.users.title" } },
362
362
  record: {
363
363
  name: "users.record",
364
364
  path: "/users/:id",
365
- component: () => import("./UserRecord-Ci8HfwbX.js"),
365
+ component: () => import("./UserRecord-DqigxVxH.js"),
366
366
  meta: { access: W, titleKey: "core.users.title", remountOnParam: "id" },
367
367
  children: [
368
- { name: "users.record.general", path: "general", component: () => import("./General-BD-Hcz0a.js"), meta: { section: { labelKey: "core.users.sections.general", icon: "user3Line", groupKey: "core.users.section_groups.person" } } },
369
- { name: "users.record.signin", path: "signin", component: () => import("./SignIn-BWwFbxki.js"), meta: { section: { labelKey: "core.users.sections.signin", icon: "key2Line", groupKey: "core.users.section_groups.access" } } },
370
- { name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-Co5-xdeb.js"), meta: { section: { labelKey: "core.users.sections.sessions", icon: "deviceLine", groupKey: "core.users.section_groups.access" } } },
371
- { name: "users.record.signins", path: "signins", component: () => import("./SignIns-3UcI64_h.js"), meta: { section: { labelKey: "core.users.sections.signins", icon: "timeFill", groupKey: "core.users.section_groups.activity" } } },
372
- { name: "users.record.changes", path: "changes", component: () => import("./Changes-DlT5mN9G.js"), meta: { section: { labelKey: "core.users.sections.changes", icon: "edit", groupKey: "core.users.section_groups.activity" } } },
373
- { name: "users.record.activity", path: "activity", component: () => import("./Activity-DviO0VQ8.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
368
+ { name: "users.record.general", path: "general", component: () => import("./General-CTqd0SLK.js"), meta: { section: { labelKey: "core.users.sections.general", icon: "user3Line", groupKey: "core.users.section_groups.person" } } },
369
+ { name: "users.record.signin", path: "signin", component: () => import("./SignIn-zzKY__df.js"), meta: { section: { labelKey: "core.users.sections.signin", icon: "key2Line", groupKey: "core.users.section_groups.access" } } },
370
+ { name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-CWqjjTr1.js"), meta: { section: { labelKey: "core.users.sections.sessions", icon: "deviceLine", groupKey: "core.users.section_groups.access" } } },
371
+ { name: "users.record.signins", path: "signins", component: () => import("./SignIns-Cnf9BVR0.js"), meta: { section: { labelKey: "core.users.sections.signins", icon: "timeFill", groupKey: "core.users.section_groups.activity" } } },
372
+ { name: "users.record.changes", path: "changes", component: () => import("./Changes-Bm8xvagD.js"), meta: { section: { labelKey: "core.users.sections.changes", icon: "edit", groupKey: "core.users.section_groups.activity" } } },
373
+ { name: "users.record.activity", path: "activity", component: () => import("./Activity-2gGxQn7v.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
374
374
  ]
375
375
  }
376
376
  });