@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
@@ -1,230 +1,162 @@
1
- import { defineComponent as M, computed as C, openBlock as r, createElementBlock as p, normalizeClass as y, createBlock as T, resolveDynamicComponent as he, unref as n, mergeProps as K, withCtx as I, createCommentVNode as L, createElementVNode as d, toDisplayString as O, provide as ne, ref as V, useId as ie, createVNode as h, withDirectives as Oe, Fragment as F, renderList as ee, vShow as Re, useTemplateRef as te, renderSlot as D, createSlots as W, normalizeProps as X, guardReactiveProps as Y, watch as q, onScopeDispose as le, inject as be, onBeforeUnmount as Be, normalizeStyle as ge, nextTick as ye, Teleport as Ne, shallowRef as Pe, h as J } from "vue";
1
+ import { defineComponent as z, provide as ae, computed as A, ref as F, useId as se, openBlock as u, createElementBlock as b, normalizeClass as $, unref as n, createVNode as v, createCommentVNode as E, createElementVNode as d, toDisplayString as D, createBlock as O, withDirectives as Ie, Fragment as V, renderList as te, vShow as ze, withCtx as T, mergeProps as G, useTemplateRef as ne, renderSlot as I, createSlots as K, normalizeProps as U, guardReactiveProps as X, watch as Y, onScopeDispose as le, inject as De, onBeforeUnmount as Oe, normalizeStyle as ve, nextTick as he, Teleport as Re, shallowRef as Be, h as Z } from "vue";
2
2
  import { useI18n as N } from "vue-i18n";
3
- import { _ as xe } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
- import { _ as R, u as je, c as Fe } from "../Icon.vue_vue_type_script_lang-DtC4_mkz.js";
5
- import { t as we, _ as Ve } from "../toast-DvrHQ6Ag.js";
6
- import { u as We, S as ae, d as ke } from "../feature-DyDtyMLU.js";
7
- import { b as Ke } from "../environment-D3nozt9a.js";
8
- import { _ as _e } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
- import { u as G } from "../platform-jqlKVJ2e.js";
10
- import { RouterLink as oe, useRoute as Ue, useRouter as re } from "vue-router";
11
- import { d as $e } from "../context-Ch1r4fdN.js";
12
- import { _ as Xe } from "../Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js";
13
- import { _ as Ye } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CvwoT1JF.js";
14
- import { _ as qe } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
15
- import { _ as He } from "../BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js";
16
- import { e as Se } from "../chrome-D9pwD6iS.js";
3
+ import { _ as be } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
+ import { _ as B, u as Ne, c as Pe } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
+ import { _ as je } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
6
+ import { u as Ve, S as H } from "../contributions-DsfmDoRD.js";
7
+ import { u as Fe } from "../environment-Dva-SG8D.js";
8
+ import { _ as Ke } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
+ import { l as de } from "../languageName-CItV_SOv.js";
10
+ import { t as ge } from "../toast-D9Z5To38.js";
11
+ import { u as Q, h as ie } from "../platform-q3cjODLx.js";
12
+ import { a as We, _ as fe, h as ye } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
13
+ import { _ as Ue } from "../Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
14
+ import { _ as Xe } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js";
15
+ import { _ as Ye } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
16
+ import { _ as qe } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
17
+ import { a as xe } from "../chrome-BS3xJcad.js";
17
18
  import { A as Ge } from "../access-DdRFrVV1.js";
18
- import { u as Qe } from "../navigation-B33ikiCS.js";
19
- import { a as H } from "../mediaQuery-CygcXmFW.js";
19
+ import { RouterLink as we, useRoute as He, useRouter as re } from "vue-router";
20
+ import { u as Qe } from "../navigation-Cm3iChlR.js";
21
+ import { a as q } from "../mediaQuery-CygcXmFW.js";
20
22
  import { u as Je } from "../useDialog-CXR3hN0G.js";
21
- import { _ as Ze } from "../Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js";
23
+ import { _ as Ze } from "../Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js";
22
24
  import { W as et } from "../useWaitStatus-fsacMl4W.js";
25
+ import { d as _e } from "../feature-DdUAfyi4.js";
26
+ import { _ as Qn } from "../HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js";
23
27
  import { S as tt } from "../dialogStack-DZZg55w0.js";
24
- const [nt, at] = $e("vue-core.accountMenu"), [ce] = $e("vue-core.headerSurface"), fe = "focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", ot = "relative not-first:before:absolute not-first:before:top-0 not-first:before:right-0 not-first:before:left-[calc(var(--app-row-inset)+2.25rem)] not-first:before:border-t not-first:before:border-border-separator", me = /* @__PURE__ */ M({
25
- __name: "AccountMenuItem",
26
- props: {
27
- label: {},
28
- icon: { default: void 0 },
29
- to: { default: void 0 },
30
- checked: { type: Boolean, default: void 0 },
31
- selected: { type: Boolean, default: void 0 },
32
- tone: { default: void 0 },
33
- flag: { default: void 0 }
34
- },
35
- emits: ["click"],
36
- setup(e, { emit: a }) {
37
- const t = e, o = a, i = at(), s = C(() => i.appearance === "sheet"), u = C(() => t.checked !== void 0 || t.selected !== void 0), f = C(() => t.tone === "critical"), c = `flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-1.5 text-left text-sm hover:bg-fill ${fe}`, v = `flex min-h-row w-full cursor-pointer items-center gap-3 px-row-inset py-2 text-left text-body transition-colors duration-motion-fast active:bg-fill ${fe}`;
38
- function b() {
39
- u.value || i.close(), o("click");
40
- }
41
- return (w, _) => (r(), p("div", {
42
- class: y(s.value ? ot : "")
43
- }, [
44
- (r(), T(he(e.to ? n(oe) : "button"), K(e.to ? { to: e.to } : { type: "button" }, {
45
- class: [s.value ? v : c, f.value ? "text-content-destructive" : "text-content-strong", s.value && f.value ? "justify-center" : ""],
46
- role: e.checked !== void 0 ? "switch" : void 0,
47
- "aria-checked": e.checked,
48
- "aria-current": e.selected ? "true" : void 0,
49
- "data-account-menu-item": "",
50
- onClick: b
51
- }), {
52
- default: I(() => [
53
- e.flag ? (r(), T(_e, {
54
- key: 0,
55
- country: e.flag
56
- }, null, 8, ["country"])) : e.icon && !(s.value && f.value) ? (r(), T(n(R), {
57
- key: 1,
58
- name: e.icon,
59
- size: s.value ? 22 : 16,
60
- class: y(["shrink-0", f.value ? "" : "text-content-muted"])
61
- }, null, 8, ["name", "size", "class"])) : L("", !0),
62
- d("span", {
63
- class: y(["min-w-0 truncate", s.value && f.value ? "" : "flex-1"])
64
- }, O(e.label), 3),
65
- e.checked !== void 0 ? (r(), p("span", {
66
- key: 2,
67
- "aria-hidden": "true",
68
- class: y(["relative inline-flex shrink-0 rounded-full transition-colors duration-motion-fast", [e.checked ? "bg-control-on" : "bg-fill-strong", s.value ? "h-switch-height w-switch-width" : "h-5 w-9"]])
69
- }, [
70
- d("span", {
71
- class: y(["absolute top-0.5 left-0.5 aspect-square h-[calc(100%-0.25rem)] rounded-full bg-white shadow-knob transition-transform duration-motion-fast", e.checked ? s.value ? "translate-x-[calc(var(--app-switch-width)-var(--app-switch-height))]" : "translate-x-4" : "translate-x-0"])
72
- }, null, 2)
73
- ], 2)) : e.selected ? (r(), T(n(R), {
74
- key: 3,
75
- name: "checkCustom",
76
- size: 16,
77
- class: "shrink-0 text-content-link"
78
- })) : e.to && s.value ? (r(), T(n(R), {
79
- key: 4,
80
- name: "arrowRightSLine",
81
- size: 18,
82
- class: "shrink-0 text-content-disabled"
83
- })) : L("", !0)
84
- ]),
85
- _: 1
86
- }, 16, ["class", "role", "aria-checked", "aria-current"]))
87
- ], 2));
88
- }
89
- }), st = ["aria-expanded", "aria-controls"], it = { class: "flex-1 whitespace-nowrap" }, lt = { class: "truncate" }, rt = ["id"], Ce = /* @__PURE__ */ M({
28
+ const nt = ["aria-expanded", "aria-controls"], at = { class: "flex-1 whitespace-nowrap" }, ot = { class: "truncate" }, st = ["id"], ke = /* @__PURE__ */ z({
90
29
  __name: "AccountMenuContent",
91
30
  props: {
92
31
  appearance: {}
93
32
  },
94
33
  emits: ["close"],
95
34
  setup(e, { emit: a }) {
96
- const t = e, o = a, { t: i } = N(), { session: s } = G(), u = Ke(), f = We();
97
- ne(nt, { appearance: t.appearance, close: () => o("close") });
98
- const c = t.appearance === "sheet", v = C(() => f.get("accountMenu").length > 0), b = u.locales.length > 1, w = V(!1), _ = ie(), S = (l) => {
35
+ const t = e, o = a, { t: i } = N(), { session: r } = Q(), c = Fe(), m = Ve();
36
+ ae(We, { appearance: t.appearance, close: () => o("close") });
37
+ const s = t.appearance === "sheet", p = A(() => m.get("accountMenu").length > 0), g = c.locales.length > 1, x = F(!1), _ = se(), k = A(() => de(c.locale.value)), y = (M) => c.localeFlags[M];
38
+ async function C() {
99
39
  try {
100
- const E = new Intl.DisplayNames([l], { type: "language" }).of(l);
101
- return E ? E.charAt(0).toLocaleUpperCase(l) + E.slice(1) : l;
40
+ await r.signOut();
102
41
  } catch {
103
- return l;
104
- }
105
- }, $ = C(() => S(u.locale.value)), A = (l) => u.localeFlags[l];
106
- async function m() {
107
- try {
108
- await s.signOut();
109
- } catch {
110
- we.error(i("core.shell.account.sign_out_failed"));
42
+ ge.error(i("core.shell.account.sign_out_failed"));
111
43
  }
112
44
  }
113
- const z = c ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
114
- return (l, E) => (r(), p("div", {
115
- class: y(c ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
45
+ const f = s ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
46
+ return (M, l) => (u(), b("div", {
47
+ class: $(s ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
116
48
  "data-shell-account-menu": ""
117
49
  }, [
118
- v.value ? (r(), p("div", {
50
+ p.value ? (u(), b("div", {
119
51
  key: 0,
120
- class: y(n(z))
52
+ class: $(n(f))
121
53
  }, [
122
- h(n(ae), { name: "accountMenu" })
123
- ], 2)) : L("", !0),
124
- b ? (r(), p("div", {
54
+ v(n(H), { name: "accountMenu" })
55
+ ], 2)) : E("", !0),
56
+ g ? (u(), b("div", {
125
57
  key: 1,
126
- class: y(n(z))
58
+ class: $(n(f))
127
59
  }, [
128
60
  d("div", {
129
- class: y(c ? "relative" : "")
61
+ class: $(s ? "relative" : "")
130
62
  }, [
131
63
  d("button", {
132
64
  type: "button",
133
- "aria-expanded": w.value,
65
+ "aria-expanded": x.value,
134
66
  "aria-controls": n(_),
135
67
  "data-account-language": "",
136
- class: y(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", c ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
137
- onClick: E[0] || (E[0] = (x) => w.value = !w.value)
68
+ class: $(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", s ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
69
+ onClick: l[0] || (l[0] = (L) => x.value = !x.value)
138
70
  }, [
139
- h(n(R), {
71
+ v(n(B), {
140
72
  name: "translate",
141
- size: c ? 22 : 16,
73
+ size: s ? 22 : 16,
142
74
  class: "shrink-0 text-content-muted"
143
75
  }, null, 8, ["size"]),
144
- d("span", it, O(n(i)("core.shell.account.language")), 1),
76
+ d("span", at, D(n(i)("core.shell.account.language")), 1),
145
77
  d("span", {
146
- class: y(["flex min-w-0 items-center gap-1.5 text-content-muted", c ? "" : "text-xs"])
78
+ class: $(["flex min-w-0 items-center gap-1.5 text-content-muted", s ? "" : "text-xs"])
147
79
  }, [
148
- A(n(u).locale.value) ? (r(), T(_e, {
80
+ y(n(c).locale.value) ? (u(), O(Ke, {
149
81
  key: 0,
150
- country: A(n(u).locale.value)
151
- }, null, 8, ["country"])) : L("", !0),
152
- d("span", lt, O($.value), 1)
82
+ country: y(n(c).locale.value)
83
+ }, null, 8, ["country"])) : E("", !0),
84
+ d("span", ot, D(k.value), 1)
153
85
  ], 2),
154
- h(n(R), {
86
+ v(n(B), {
155
87
  name: "arrowDownSLine",
156
- size: c ? 18 : 16,
157
- class: y(["shrink-0 text-content-disabled transition-transform duration-motion-fast", w.value ? "rotate-180" : ""])
88
+ size: s ? 18 : 16,
89
+ class: $(["shrink-0 text-content-disabled transition-transform duration-motion-fast", x.value ? "rotate-180" : ""])
158
90
  }, null, 8, ["size", "class"])
159
- ], 10, st)
91
+ ], 10, nt)
160
92
  ], 2),
161
- Oe(d("div", {
93
+ Ie(d("div", {
162
94
  id: n(_),
163
- class: y(c ? "" : "space-y-0.5 pl-4")
95
+ class: $(s ? "" : "space-y-0.5 pl-4")
164
96
  }, [
165
- (r(!0), p(F, null, ee(n(u).locales, (x) => (r(), T(me, {
166
- key: x,
167
- label: S(x),
168
- flag: A(x),
169
- selected: x === n(u).locale.value,
170
- onClick: (k) => n(u).setLocale(x)
97
+ (u(!0), b(V, null, te(n(c).locales, (L) => (u(), O(fe, {
98
+ key: L,
99
+ label: n(de)(L),
100
+ flag: y(L),
101
+ selected: L === n(c).locale.value,
102
+ onClick: (S) => n(c).setLocale(L)
171
103
  }, null, 8, ["label", "flag", "selected", "onClick"]))), 128))
172
- ], 10, rt), [
173
- [Re, w.value]
104
+ ], 10, st), [
105
+ [ze, x.value]
174
106
  ])
175
- ], 2)) : L("", !0),
107
+ ], 2)) : E("", !0),
176
108
  d("div", {
177
- class: y(n(z))
109
+ class: $(n(f))
178
110
  }, [
179
- h(me, {
111
+ v(fe, {
180
112
  label: n(i)("core.shell.account.sign_out"),
181
113
  icon: "logoutBoxRLine",
182
114
  tone: "critical",
183
- onClick: m
115
+ onClick: C
184
116
  }, null, 8, ["label"])
185
117
  ], 2)
186
118
  ], 2));
187
119
  }
188
- }), ct = ["onClick"], ut = { class: "min-w-0 flex-1" }, dt = { class: "block truncate text-sm font-semibold text-white" }, ft = {
120
+ }), lt = ["onClick"], it = { class: "min-w-0 flex-1" }, rt = { class: "block truncate text-sm font-semibold text-white" }, ct = {
189
121
  key: 0,
190
122
  class: "block truncate text-xs text-gray-300"
191
- }, mt = /* @__PURE__ */ M({
123
+ }, ut = /* @__PURE__ */ z({
192
124
  __name: "AccountMenu",
193
125
  props: {
194
126
  identity: {}
195
127
  },
196
128
  setup(e) {
197
129
  const { t: a } = N();
198
- return (t, o) => (r(), T(n(Ve), {
130
+ return (t, o) => (u(), O(n(je), {
199
131
  placement: "top-start",
200
132
  width: "sm",
201
133
  block: "",
202
134
  arrow: !1,
203
135
  label: n(a)("core.shell.account.open")
204
136
  }, {
205
- trigger: I(({ toggle: i, attrs: s, presented: u }) => [
206
- d("button", K({ type: "button" }, s, {
137
+ trigger: T(({ toggle: i, attrs: r, presented: c }) => [
138
+ d("button", G({ type: "button" }, r, {
207
139
  "data-shell-account": "",
208
- class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": u }],
140
+ class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": c }],
209
141
  onClick: i
210
142
  }), [
211
- h(n(xe), {
143
+ v(n(be), {
212
144
  name: e.identity.name,
213
145
  size: "md"
214
146
  }, null, 8, ["name"]),
215
- d("span", ut, [
216
- d("span", dt, O(e.identity.name), 1),
217
- e.identity.detail ? (r(), p("span", ft, O(e.identity.detail), 1)) : L("", !0)
147
+ d("span", it, [
148
+ d("span", rt, D(e.identity.name), 1),
149
+ e.identity.detail ? (u(), b("span", ct, D(e.identity.detail), 1)) : E("", !0)
218
150
  ]),
219
- h(n(R), {
151
+ v(n(B), {
220
152
  name: "expandUpDownLine",
221
153
  size: 16,
222
154
  class: "shrink-0 text-gray-400"
223
155
  })
224
- ], 16, ct)
156
+ ], 16, lt)
225
157
  ]),
226
- default: I(({ dismiss: i }) => [
227
- h(Ce, {
158
+ default: T(({ dismiss: i }) => [
159
+ v(ke, {
228
160
  appearance: "popover",
229
161
  onClose: i
230
162
  }, null, 8, ["onClose"])
@@ -232,53 +164,53 @@ const [nt, at] = $e("vue-core.accountMenu"), [ce] = $e("vue-core.headerSurface")
232
164
  _: 1
233
165
  }, 8, ["label"]));
234
166
  }
235
- }), vt = /* @__PURE__ */ M({
167
+ }), dt = /* @__PURE__ */ z({
236
168
  __name: "AccountSheet",
237
169
  props: {
238
170
  identity: {}
239
171
  },
240
172
  setup(e, { expose: a }) {
241
- const t = te("sheet");
242
- return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, i) => (r(), T(n(Xe), {
173
+ const t = ne("sheet");
174
+ return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, i) => (u(), O(n(Ue), {
243
175
  ref_key: "sheet",
244
176
  ref: t,
245
177
  title: e.identity.name,
246
178
  grouped: ""
247
179
  }, {
248
- default: I(() => [
249
- h(Ce, {
180
+ default: T(() => [
181
+ v(ke, {
250
182
  appearance: "sheet",
251
- onClose: i[0] || (i[0] = (s) => t.value?.dismiss())
183
+ onClose: i[0] || (i[0] = (r) => t.value?.dismiss())
252
184
  })
253
185
  ]),
254
186
  _: 1
255
187
  }, 8, ["title"]));
256
188
  }
257
189
  });
258
- function pt() {
259
- const e = je(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
260
- return (t) => t && (e[t] !== void 0 || a(Fe, t)) ? t : null;
190
+ function ft() {
191
+ const e = Ne(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
192
+ return (t) => t && (e[t] !== void 0 || a(Pe, t)) ? t : null;
261
193
  }
262
- function Le(e) {
194
+ function $e(e) {
263
195
  return e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.defaultPrevented;
264
196
  }
265
- const Ae = (e) => e.to ? [e] : e.children.flatMap(Ae);
266
- function ht(e) {
197
+ const Se = (e) => e.to ? [e] : e.children.flatMap(Se);
198
+ function mt(e) {
267
199
  const a = [];
268
200
  for (const t of e) {
269
- const o = Ae(t);
201
+ const o = Se(t);
270
202
  if (o.length === 0) continue;
271
203
  const i = !t.to && o.length > 1 ? t.label : null;
272
204
  a.push({
273
205
  key: t.key,
274
206
  heading: i,
275
207
  separated: i === null && a.length > 0,
276
- items: o.map((s) => ({ key: s.key, label: s.label, icon: s.icon, to: s.to, active: s.active }))
208
+ items: o.map((r) => ({ key: r.key, label: r.label, icon: r.icon, to: r.to, active: r.active }))
277
209
  });
278
210
  }
279
211
  return a;
280
212
  }
281
- const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id"], xt = ["aria-labelledby"], wt = ["href", "aria-current", "onClick"], kt = { class: "min-w-0 flex-1 truncate" }, ve = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Ee = /* @__PURE__ */ M({
213
+ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id"], bt = ["aria-labelledby"], gt = ["href", "aria-current", "onClick"], yt = { class: "min-w-0 flex-1 truncate" }, me = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Ce = /* @__PURE__ */ z({
282
214
  __name: "NavigationList",
283
215
  props: {
284
216
  items: { default: void 0 },
@@ -287,16 +219,16 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
287
219
  },
288
220
  emits: ["select"],
289
221
  setup(e, { emit: a }) {
290
- const t = e, o = a, { t: i } = N(), s = ie(), u = t.items === void 0 ? Qe() : null, f = pt(), c = C(() => ht(t.items ?? u?.value ?? []));
291
- function v($, A, m) {
292
- if (t.appearance === "drawer" && Le($)) {
293
- $.preventDefault(), o("select", m);
222
+ const t = e, o = a, { t: i } = N(), r = se(), c = t.items === void 0 ? Qe() : null, m = ft(), s = A(() => mt(t.items ?? c?.value ?? []));
223
+ function p(y, C, f) {
224
+ if (t.appearance === "drawer" && $e(y)) {
225
+ y.preventDefault(), o("select", f);
294
226
  return;
295
227
  }
296
- A($);
228
+ C(y);
297
229
  }
298
- const b = {
299
- item: `${ve} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
230
+ const g = {
231
+ item: `${me} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
300
232
  active: "bg-white/10 font-medium text-white ring-1 ring-inset ring-white/5",
301
233
  inactive: "font-normal text-gray-300 hover:bg-white/5 hover:text-white",
302
234
  iconActive: "text-primary-400",
@@ -304,68 +236,68 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
304
236
  heading: "px-2 pb-1 text-2xs font-semibold uppercase tracking-[0.08em] text-gray-400",
305
237
  // A hairline above the group, inset like the rows.
306
238
  separator: "before:mx-2 before:my-2.5 before:block before:border-t before:border-white/10"
307
- }, w = {
308
- item: `${ve} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
239
+ }, x = {
240
+ item: `${me} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
309
241
  active: "bg-tint-soft font-semibold text-content-link",
310
242
  inactive: "active:bg-fill",
311
243
  iconActive: "",
312
244
  iconInactive: "",
313
245
  heading: "px-3 pt-4.5 pb-1.5 text-subheadline text-content-muted",
314
246
  separator: "before:mx-3 before:my-3 before:block before:border-t before:border-border-separator"
315
- }, _ = C(() => t.appearance === "rail" ? b : w), S = C(() => t.appearance === "rail" ? 16 : 22);
316
- return ($, A) => (r(), p("nav", {
247
+ }, _ = A(() => t.appearance === "rail" ? g : x), k = A(() => t.appearance === "rail" ? 16 : 22);
248
+ return (y, C) => (u(), b("nav", {
317
249
  "aria-label": e.label ?? n(i)("core.shell.menu"),
318
250
  "data-shell-navigation": "",
319
251
  "data-appearance": e.appearance
320
252
  }, [
321
253
  d("ul", null, [
322
- (r(!0), p(F, null, ee(c.value, (m, z) => (r(), p("li", {
323
- key: m.key,
324
- "data-separated": m.separated || void 0,
325
- class: y(m.separated ? _.value.separator : "")
254
+ (u(!0), b(V, null, te(s.value, (f, M) => (u(), b("li", {
255
+ key: f.key,
256
+ "data-separated": f.separated || void 0,
257
+ class: $(f.separated ? _.value.separator : "")
326
258
  }, [
327
- m.heading ? (r(), p("p", {
259
+ f.heading ? (u(), b("p", {
328
260
  key: 0,
329
- id: `${n(s)}-${z}`,
330
- class: y([_.value.heading, e.appearance === "rail" ? z > 0 ? "pt-4" : "pt-1" : ""])
331
- }, O(m.heading), 11, yt)) : L("", !0),
261
+ id: `${n(r)}-${M}`,
262
+ class: $([_.value.heading, e.appearance === "rail" ? M > 0 ? "pt-4" : "pt-1" : ""])
263
+ }, D(f.heading), 11, ht)) : E("", !0),
332
264
  d("ul", {
333
- "aria-labelledby": m.heading ? `${n(s)}-${z}` : void 0,
334
- class: y(e.appearance === "rail" ? "space-y-0.5" : "")
265
+ "aria-labelledby": f.heading ? `${n(r)}-${M}` : void 0,
266
+ class: $(e.appearance === "rail" ? "space-y-0.5" : "")
335
267
  }, [
336
- (r(!0), p(F, null, ee(m.items, (l) => (r(), p("li", {
268
+ (u(!0), b(V, null, te(f.items, (l) => (u(), b("li", {
337
269
  key: l.key
338
270
  }, [
339
- h(n(oe), {
271
+ v(n(we), {
340
272
  custom: "",
341
273
  to: l.to
342
274
  }, {
343
- default: I(({ href: E, navigate: x }) => [
275
+ default: T(({ href: L, navigate: S }) => [
344
276
  d("a", {
345
- href: E,
277
+ href: L,
346
278
  "aria-current": l.active ? "page" : void 0,
347
279
  "data-shell-destination": "",
348
- class: y([_.value.item, l.active ? _.value.active : _.value.inactive]),
349
- onClick: (k) => v(k, x, l.to)
280
+ class: $([_.value.item, l.active ? _.value.active : _.value.inactive]),
281
+ onClick: (w) => p(w, S, l.to)
350
282
  }, [
351
- n(f)(l.icon) ? (r(), T(n(R), {
283
+ n(m)(l.icon) ? (u(), O(n(B), {
352
284
  key: 0,
353
- name: n(f)(l.icon),
354
- size: S.value,
355
- class: y(l.active ? _.value.iconActive : _.value.iconInactive)
356
- }, null, 8, ["name", "size", "class"])) : L("", !0),
357
- d("span", kt, O(l.label), 1)
358
- ], 10, wt)
285
+ name: n(m)(l.icon),
286
+ size: k.value,
287
+ class: $(l.active ? _.value.iconActive : _.value.iconInactive)
288
+ }, null, 8, ["name", "size", "class"])) : E("", !0),
289
+ d("span", yt, D(l.label), 1)
290
+ ], 10, gt)
359
291
  ]),
360
292
  _: 2
361
293
  }, 1032, ["to"])
362
294
  ]))), 128))
363
- ], 10, xt)
364
- ], 10, gt))), 128))
295
+ ], 10, bt)
296
+ ], 10, vt))), 128))
365
297
  ])
366
- ], 8, bt));
298
+ ], 8, pt));
367
299
  }
368
- }), _t = ["href", "aria-label", "onClick"], ue = /* @__PURE__ */ M({
300
+ }), xt = ["href", "aria-label", "onClick"], ce = /* @__PURE__ */ z({
369
301
  inheritAttrs: !1,
370
302
  __name: "ShellBrand",
371
303
  props: {
@@ -375,43 +307,43 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
375
307
  },
376
308
  emits: ["select"],
377
309
  setup(e, { emit: a }) {
378
- const t = e, o = a, { t: i } = N(), { config: s } = G();
379
- function u(f, c) {
380
- if (t.intercept && Le(f)) {
381
- f.preventDefault(), o("select", t.to);
310
+ const t = e, o = a, { t: i } = N(), { config: r } = Q();
311
+ function c(m, s) {
312
+ if (t.intercept && $e(m)) {
313
+ m.preventDefault(), o("select", t.to);
382
314
  return;
383
315
  }
384
- c(f);
316
+ s(m);
385
317
  }
386
- return (f, c) => (r(), T(n(oe), {
318
+ return (m, s) => (u(), O(n(we), {
387
319
  custom: "",
388
320
  to: e.to
389
321
  }, {
390
- default: I(({ href: v, navigate: b }) => [
391
- d("a", K(f.$attrs, {
392
- href: v,
322
+ default: T(({ href: p, navigate: g }) => [
323
+ d("a", G(m.$attrs, {
324
+ href: p,
393
325
  "aria-label": n(i)("core.shell.home"),
394
326
  "data-shell-brand": "",
395
327
  class: "inline-block rounded-control focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
396
- onClick: (w) => u(w, b)
328
+ onClick: (x) => c(x, g)
397
329
  }), [
398
- D(f.$slots, "default", { tone: e.tone }, () => [
330
+ I(m.$slots, "default", { tone: e.tone }, () => [
399
331
  d("span", {
400
- class: y(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
401
- }, O(n(s).appName), 3)
332
+ class: $(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
333
+ }, D(n(r).appName), 3)
402
334
  ])
403
- ], 16, _t)
335
+ ], 16, xt)
404
336
  ]),
405
337
  _: 3
406
338
  }, 8, ["to"]));
407
339
  }
408
- }), $t = {
340
+ }), wt = {
409
341
  class: "flex h-full flex-col bg-surface-page text-content-strong",
410
342
  "data-shell-drawer-content": ""
411
- }, St = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, Ct = { class: "min-w-0 flex-1" }, Lt = { class: "block truncate text-headline font-semibold" }, At = {
343
+ }, _t = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, kt = { class: "min-w-0 flex-1" }, $t = { class: "block truncate text-headline font-semibold" }, St = {
412
344
  key: 0,
413
345
  class: "block truncate text-footnote text-content-muted"
414
- }, Et = /* @__PURE__ */ M({
346
+ }, Ct = /* @__PURE__ */ z({
415
347
  __name: "NavigationDrawer",
416
348
  props: {
417
349
  identity: {},
@@ -420,51 +352,51 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
420
352
  emits: ["select", "account"],
421
353
  setup(e, { emit: a }) {
422
354
  const t = a, { t: o } = N();
423
- return (i, s) => (r(), p("div", $t, [
424
- d("div", St, [
425
- h(ue, {
355
+ return (i, r) => (u(), b("div", wt, [
356
+ d("div", _t, [
357
+ v(ce, {
426
358
  to: e.home,
427
359
  tone: "brand",
428
360
  intercept: "",
429
361
  class: "max-w-36",
430
- onSelect: s[0] || (s[0] = (u) => t("select", u))
431
- }, W({ _: 2 }, [
362
+ onSelect: r[0] || (r[0] = (c) => t("select", c))
363
+ }, K({ _: 2 }, [
432
364
  i.$slots.brand ? {
433
365
  name: "default",
434
- fn: I((u) => [
435
- D(i.$slots, "brand", X(Y(u)))
366
+ fn: T((c) => [
367
+ I(i.$slots, "brand", U(X(c)))
436
368
  ]),
437
369
  key: "0"
438
370
  } : void 0
439
371
  ]), 1032, ["to"])
440
372
  ]),
441
- s[3] || (s[3] = d("div", {
373
+ r[3] || (r[3] = d("div", {
442
374
  class: "mx-5.5 shrink-0 border-t border-border-separator",
443
375
  role: "presentation"
444
376
  }, null, -1)),
445
- h(Ee, {
377
+ v(Ce, {
446
378
  appearance: "drawer",
447
379
  label: n(o)("core.shell.menu"),
448
380
  class: "min-h-0 flex-1 overflow-y-auto overscroll-contain pt-2 pr-2.5 pb-3 pl-[max(0.625rem,env(safe-area-inset-left))] [mask-image:linear-gradient(to_bottom,black_calc(100%-1.5rem),transparent)]",
449
- onSelect: s[1] || (s[1] = (u) => t("select", u))
381
+ onSelect: r[1] || (r[1] = (c) => t("select", c))
450
382
  }, null, 8, ["label"]),
451
- D(i.$slots, "footer"),
383
+ I(i.$slots, "footer"),
452
384
  d("button", {
453
385
  type: "button",
454
386
  "data-shell-drawer-account": "",
455
387
  "aria-haspopup": "dialog",
456
388
  class: "flex shrink-0 cursor-pointer items-center gap-3 border-t border-border-separator pt-3 pr-4 pb-[max(1rem,env(safe-area-inset-bottom))] pl-[max(1.125rem,env(safe-area-inset-left))] text-left transition-colors duration-motion-fast active:bg-fill focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus",
457
- onClick: s[2] || (s[2] = (u) => t("account"))
389
+ onClick: r[2] || (r[2] = (c) => t("account"))
458
390
  }, [
459
- h(n(xe), {
391
+ v(n(be), {
460
392
  name: e.identity.name,
461
393
  size: "lg"
462
394
  }, null, 8, ["name"]),
463
- d("span", Ct, [
464
- d("span", Lt, O(e.identity.name), 1),
465
- e.identity.detail ? (r(), p("span", At, O(e.identity.detail), 1)) : L("", !0)
395
+ d("span", kt, [
396
+ d("span", $t, D(e.identity.name), 1),
397
+ e.identity.detail ? (u(), b("span", St, D(e.identity.detail), 1)) : E("", !0)
466
398
  ]),
467
- h(n(R), {
399
+ v(n(B), {
468
400
  name: "arrowRightSLine",
469
401
  size: 18,
470
402
  class: "shrink-0 text-content-disabled"
@@ -472,241 +404,241 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
472
404
  ])
473
405
  ]));
474
406
  }
475
- }), It = {
407
+ }), Lt = {
476
408
  key: 0,
477
409
  "data-shell-sidebar": "",
478
410
  class: "flex w-64 shrink-0 flex-col bg-anchor-900 dark:border-r dark:border-white/5 dark:bg-anchor-950"
479
- }, Tt = { class: "sticky top-0 flex h-screen flex-col" }, zt = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Mt = { class: "flex shrink-0 items-center gap-1" }, Dt = { class: "border-t border-white/10 p-2" }, Ot = /* @__PURE__ */ M({
411
+ }, At = { class: "sticky top-[var(--shell-banner-h,0px)] z-30 flex h-[calc(100vh-var(--shell-banner-h,0px))] flex-col" }, Et = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Tt = { class: "flex shrink-0 items-center gap-1" }, Mt = { class: "border-t border-white/10 p-2" }, It = /* @__PURE__ */ z({
480
412
  __name: "ShellSidebar",
481
413
  props: {
482
414
  identity: {},
483
415
  home: {}
484
416
  },
485
417
  setup(e) {
486
- ne(ce, "rail");
487
- const a = H("(min-width: 48rem)");
488
- return (t, o) => n(a) ? (r(), p("aside", It, [
489
- d("div", Tt, [
490
- d("div", zt, [
491
- h(ue, {
418
+ ae(ye, "rail");
419
+ const a = q("(min-width: 48rem)");
420
+ return (t, o) => n(a) ? (u(), b("aside", Lt, [
421
+ d("div", At, [
422
+ d("div", Et, [
423
+ v(ce, {
492
424
  to: e.home,
493
425
  tone: "light",
494
426
  class: "min-w-0"
495
- }, W({ _: 2 }, [
427
+ }, K({ _: 2 }, [
496
428
  t.$slots.brand ? {
497
429
  name: "default",
498
- fn: I((i) => [
499
- D(t.$slots, "brand", X(Y(i)))
430
+ fn: T((i) => [
431
+ I(t.$slots, "brand", U(X(i)))
500
432
  ]),
501
433
  key: "0"
502
434
  } : void 0
503
435
  ]), 1032, ["to"]),
504
- d("div", Mt, [
505
- h(n(ae), { name: "headerActions" })
436
+ d("div", Tt, [
437
+ v(n(H), { name: "headerActions" })
506
438
  ])
507
439
  ]),
508
- h(Ee, {
440
+ v(Ce, {
509
441
  appearance: "rail",
510
442
  class: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-2 pt-3 pb-3 [mask-image:linear-gradient(to_bottom,transparent,black_12px,black_calc(100%-12px),transparent)]"
511
443
  }),
512
- D(t.$slots, "footer"),
513
- d("div", Dt, [
514
- h(mt, { identity: e.identity }, null, 8, ["identity"])
444
+ I(t.$slots, "footer"),
445
+ d("div", Mt, [
446
+ v(ut, { identity: e.identity }, null, 8, ["identity"])
515
447
  ])
516
448
  ])
517
- ])) : L("", !0);
449
+ ])) : E("", !0);
518
450
  }
519
- }), Rt = 20, Bt = 8, pe = 0.5, Nt = 40;
520
- function Pt({ offset: e, startOffset: a, width: t, velocity: o }) {
521
- if (Math.abs(e - a) > Nt) {
451
+ }), zt = 20, Dt = 8, pe = 0.5, Ot = 40;
452
+ function Rt({ offset: e, startOffset: a, width: t, velocity: o }) {
453
+ if (Math.abs(e - a) > Ot) {
522
454
  if (o > pe) return !0;
523
455
  if (o < -pe) return !1;
524
456
  }
525
457
  return e > t / 2;
526
458
  }
527
- function jt(e) {
528
- const a = V(0), t = V(!1);
529
- let o = !1, i = null, s = 0, u = 0, f = 0, c = 0, v = 0, b = 0;
530
- function w(x, k) {
531
- o = !0, i = null, s = c = x.clientX, u = x.clientY, f = k, v = performance.now(), b = 0;
459
+ function Bt(e) {
460
+ const a = F(0), t = F(!1);
461
+ let o = !1, i = null, r = 0, c = 0, m = 0, s = 0, p = 0, g = 0;
462
+ function x(S, w) {
463
+ o = !0, i = null, r = s = S.clientX, c = S.clientY, m = w, p = performance.now(), g = 0;
532
464
  }
533
- function _(x) {
534
- const k = x.touches[0];
535
- if (!o || !k) return;
536
- const B = k.clientX - s, Q = k.clientY - u;
465
+ function _(S) {
466
+ const w = S.touches[0];
467
+ if (!o || !w) return;
468
+ const R = w.clientX - r, J = w.clientY - c;
537
469
  if (!i) {
538
- if (Math.max(Math.abs(B), Math.abs(Q)) < Bt) return;
539
- if (i = Math.abs(B) > Math.abs(Q) ? "x" : "y", i === "y" || f === 0 && B < 0) {
470
+ if (Math.max(Math.abs(R), Math.abs(J)) < Dt) return;
471
+ if (i = Math.abs(R) > Math.abs(J) ? "x" : "y", i === "y" || m === 0 && R < 0) {
540
472
  o = !1;
541
473
  return;
542
474
  }
543
- t.value = !0, a.value = f, e.onStart();
475
+ t.value = !0, a.value = m, e.onStart();
544
476
  }
545
- const U = performance.now();
546
- b = (k.clientX - c) / Math.max(U - v, 1), c = k.clientX, v = U, a.value = Math.min(e.width(), Math.max(0, f + B)), x.cancelable && x.preventDefault();
477
+ const W = performance.now();
478
+ g = (w.clientX - s) / Math.max(W - p, 1), s = w.clientX, p = W, a.value = Math.min(e.width(), Math.max(0, m + R)), S.cancelable && S.preventDefault();
547
479
  }
548
- function S() {
549
- o && (o = !1, t.value && (t.value = !1, e.onSettle(Pt({ offset: a.value, startOffset: f, width: e.width(), velocity: b }))));
480
+ function k() {
481
+ o && (o = !1, t.value && (t.value = !1, e.onSettle(Rt({ offset: a.value, startOffset: m, width: e.width(), velocity: g }))));
550
482
  }
551
- function $() {
483
+ function y() {
552
484
  o = !1, t.value = !1;
553
485
  }
554
- function A(x) {
555
- const k = x.touches[0];
556
- !k || x.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || k.clientX > Rt || w(k, 0);
486
+ function C(S) {
487
+ const w = S.touches[0];
488
+ !w || S.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || w.clientX > zt || x(w, 0);
557
489
  }
558
- let m = !1;
559
- function z() {
560
- m || (m = !0, window.addEventListener("touchstart", A, { passive: !0 }), window.addEventListener("touchmove", _, { passive: !1 }), window.addEventListener("touchend", S), window.addEventListener("touchcancel", S));
490
+ let f = !1;
491
+ function M() {
492
+ f || (f = !0, window.addEventListener("touchstart", C, { passive: !0 }), window.addEventListener("touchmove", _, { passive: !1 }), window.addEventListener("touchend", k), window.addEventListener("touchcancel", k));
561
493
  }
562
494
  function l() {
563
- m && (m = !1, window.removeEventListener("touchstart", A), window.removeEventListener("touchmove", _), window.removeEventListener("touchend", S), window.removeEventListener("touchcancel", S), $());
495
+ f && (f = !1, window.removeEventListener("touchstart", C), window.removeEventListener("touchmove", _), window.removeEventListener("touchend", k), window.removeEventListener("touchcancel", k), y());
564
496
  }
565
- return q(e.enabled, (x) => x ? z() : l(), { immediate: !0 }), le(l), { offset: a, dragging: t, closeEvents: {
566
- onTouchstartPassive(x) {
567
- const k = x.touches[0];
568
- k && x.touches.length === 1 && e.isOpen() && w(k, e.width());
497
+ return Y(e.enabled, (S) => S ? M() : l(), { immediate: !0 }), le(l), { offset: a, dragging: t, closeEvents: {
498
+ onTouchstartPassive(S) {
499
+ const w = S.touches[0];
500
+ w && S.touches.length === 1 && e.isOpen() && x(w, e.width());
569
501
  }
570
- }, cancel: $ };
502
+ }, cancel: y };
571
503
  }
572
- const Ie = Symbol("vue-core.navigationDrawer");
573
- function Ft() {
574
- return be(Ie, null);
504
+ const Le = Symbol("vue-core.navigationDrawer");
505
+ function Nt() {
506
+ return De(Le, null);
575
507
  }
576
- const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE__ */ M({
508
+ const Pt = ["id", "aria-label"], jt = ["data-drawer", "inert"], Vt = /* @__PURE__ */ z({
577
509
  __name: "ShellStage",
578
510
  props: {
579
511
  enabled: { type: Boolean }
580
512
  },
581
513
  setup(e) {
582
- const a = e, { t } = N(), o = Ue(), i = re(), s = H("(max-width: 47.999rem)"), u = H("(display-mode: standalone)"), f = H("(prefers-reduced-motion: reduce)"), c = C(() => a.enabled && s.value), v = te("stage"), b = te("scroller"), w = V(null), _ = ie(), S = V(!1), $ = V(!1), A = V(!1);
583
- let m = 0, z = !1, l, E = null;
584
- const x = () => w.value?.offsetWidth ?? 0, k = jt({
585
- enabled: () => c.value,
586
- width: x,
587
- isOpen: () => A.value,
588
- canOpenFromEdge: () => u.value || navigator.standalone === !0,
514
+ const a = e, { t } = N(), o = He(), i = re(), r = q("(max-width: 47.999rem)"), c = q("(display-mode: standalone)"), m = q("(prefers-reduced-motion: reduce)"), s = A(() => a.enabled && r.value), p = ne("stage"), g = ne("scroller"), x = F(null), _ = se(), k = F(!1), y = F(!1), C = F(!1);
515
+ let f = 0, M = !1, l, L = null;
516
+ const S = () => x.value?.offsetWidth ?? 0, w = Bt({
517
+ enabled: () => s.value,
518
+ width: S,
519
+ isOpen: () => C.value,
520
+ canOpenFromEdge: () => c.value || navigator.standalone === !0,
589
521
  onStart: () => {
590
- clearTimeout(l), de();
522
+ clearTimeout(l), ue();
591
523
  },
592
- onSettle: (g) => g ? S.value = !0 : j()
593
- }), B = C(() => k.dragging.value ? k.offset.value : A.value ? x() : 0), Q = C(() => x() ? B.value / x() : 0), U = Je(w, {
524
+ onSettle: (h) => h ? k.value = !0 : j()
525
+ }), R = A(() => w.dragging.value ? w.offset.value : C.value ? S() : 0), J = A(() => S() ? R.value / S() : 0), W = Je(x, {
594
526
  initialFocus: "panel",
595
527
  onEscape: () => j()
596
528
  });
597
- function Te() {
598
- const g = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
599
- return g.endsWith("ms") ? parseFloat(g) : parseFloat(g) * 1e3 || 0;
529
+ function Ae() {
530
+ const h = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
531
+ return h.endsWith("ms") ? parseFloat(h) : parseFloat(h) * 1e3 || 0;
600
532
  }
601
- function de() {
602
- const g = v.value, P = b.value;
603
- $.value || !g || !P || (m = window.scrollY, z = !1, Object.assign(g.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = m, $.value = !0);
533
+ function ue() {
534
+ const h = p.value, P = g.value;
535
+ y.value || !h || !P || (f = window.scrollY, M = !1, Object.assign(h.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = f, y.value = !0);
604
536
  }
605
- function se() {
606
- const g = v.value, P = b.value;
607
- !$.value || !g || !P || (Object.assign(g.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), $.value = !1, window.scrollTo({ top: z ? 0 : m, behavior: "instant" }));
537
+ function oe() {
538
+ const h = p.value, P = g.value;
539
+ !y.value || !h || !P || (Object.assign(h.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), y.value = !1, window.scrollTo({ top: M ? 0 : f, behavior: "instant" }));
608
540
  }
609
- q([B, () => k.dragging.value, $], () => {
610
- const g = v.value;
611
- !g || !$.value || (g.style.transform = `translate3d(${B.value}px, 0, 0)`, g.style.borderRadius = B.value > 0 ? "2.5rem" : "", g.style.transition = k.dragging.value || f.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
541
+ Y([R, () => w.dragging.value, y], () => {
542
+ const h = p.value;
543
+ !h || !y.value || (h.style.transform = `translate3d(${R.value}px, 0, 0)`, h.style.borderRadius = R.value > 0 ? "2.5rem" : "", h.style.transition = w.dragging.value || m.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
612
544
  }, { flush: "sync" });
613
- function ze() {
614
- if (!c.value) {
615
- S.value = !1;
545
+ function Ee() {
546
+ if (!s.value) {
547
+ k.value = !1;
616
548
  return;
617
549
  }
618
- clearTimeout(l), E = null, de(), v.value?.offsetWidth, A.value = !0, U.present(), ye(() => {
619
- w.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
550
+ clearTimeout(l), L = null, ue(), p.value?.offsetWidth, C.value = !0, W.present(), he(() => {
551
+ x.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
620
552
  });
621
553
  }
622
- function j(g) {
623
- if (g && (E = g), S.value) {
624
- S.value = !1;
554
+ function j(h) {
555
+ if (h && (L = h), k.value) {
556
+ k.value = !1;
625
557
  return;
626
558
  }
627
- A.value = !1, U.dismissWithoutAsking(), clearTimeout(l), l = setTimeout(Me, Te() + 30);
559
+ C.value = !1, W.dismissWithoutAsking(), clearTimeout(l), l = setTimeout(Te, Ae() + 30);
628
560
  }
629
- function Me() {
630
- se();
631
- const g = E;
632
- E = null, g?.();
561
+ function Te() {
562
+ oe();
563
+ const h = L;
564
+ L = null, h?.();
633
565
  }
634
- q(S, (g) => g ? ze() : j()), q(c, (g) => {
635
- g || (k.cancel(), clearTimeout(l), E = null, S.value = !1, A.value = !1, U.dismissWithoutAsking(), se());
636
- }), q(() => o.fullPath, () => {
637
- $.value && (z = !0), A.value && j();
566
+ Y(k, (h) => h ? Ee() : j()), Y(s, (h) => {
567
+ h || (w.cancel(), clearTimeout(l), L = null, k.value = !1, C.value = !1, W.dismissWithoutAsking(), oe());
568
+ }), Y(() => o.fullPath, () => {
569
+ y.value && (M = !0), C.value && j();
638
570
  });
639
- function De(g) {
640
- i.push(g).catch(() => {
571
+ function Me(h) {
572
+ i.push(h).catch(() => {
641
573
  }).finally(() => j());
642
574
  }
643
- return ne(Ie, {
644
- available: c,
645
- open: S,
575
+ return ae(Le, {
576
+ available: s,
577
+ open: k,
646
578
  panelId: _,
647
579
  present: () => {
648
- c.value && (S.value = !0);
580
+ s.value && (k.value = !0);
649
581
  },
650
582
  dismiss: j
651
- }), Be(() => {
652
- clearTimeout(l), se();
653
- }), (g, P) => (r(), p(F, null, [
654
- c.value ? (r(), p("div", K({
583
+ }), Oe(() => {
584
+ clearTimeout(l), oe();
585
+ }), (h, P) => (u(), b(V, null, [
586
+ s.value ? (u(), b("div", G({
655
587
  key: 0,
656
588
  id: n(_),
657
589
  ref_key: "panel",
658
- ref: w,
590
+ ref: x,
659
591
  role: "dialog",
660
592
  "aria-modal": "true",
661
593
  "aria-label": n(t)("core.shell.menu"),
662
594
  tabindex: "-1",
663
595
  "data-shell-drawer": "",
664
- class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", $.value ? "visible" : "invisible"],
665
- style: n(f) ? { opacity: A.value || n(k).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
666
- }, n(k).closeEvents), [
667
- D(g.$slots, "drawer", {
668
- select: De,
596
+ class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", y.value ? "visible" : "invisible"],
597
+ style: n(m) ? { opacity: C.value || n(w).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
598
+ }, n(w).closeEvents), [
599
+ I(h.$slots, "drawer", {
600
+ select: Me,
669
601
  dismiss: j
670
602
  })
671
- ], 16, Vt)) : L("", !0),
603
+ ], 16, Pt)) : E("", !0),
672
604
  d("div", {
673
605
  ref_key: "stage",
674
- ref: v,
606
+ ref: p,
675
607
  "data-shell-stage": "",
676
- "data-drawer": A.value ? "open" : void 0,
677
- class: y(["flex flex-1 flex-col", $.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
678
- inert: A.value || n(k).dragging.value || void 0
608
+ "data-drawer": C.value ? "open" : void 0,
609
+ class: $(["flex flex-1 flex-col", y.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
610
+ inert: C.value || n(w).dragging.value || void 0
679
611
  }, [
680
612
  d("div", {
681
613
  ref_key: "scroller",
682
- ref: b,
614
+ ref: g,
683
615
  class: "flex flex-1 flex-col"
684
616
  }, [
685
- D(g.$slots, "default")
617
+ I(h.$slots, "default")
686
618
  ], 512),
687
- $.value ? (r(), p("div", {
619
+ y.value ? (u(), b("div", {
688
620
  key: 0,
689
621
  "aria-hidden": "true",
690
622
  class: "pointer-events-none fixed inset-0 z-50 bg-scrim",
691
- style: ge({ opacity: Q.value * 0.55 })
692
- }, null, 4)) : L("", !0)
693
- ], 10, Wt),
694
- $.value && B.value > 0 ? (r(), p("div", K({
623
+ style: ve({ opacity: J.value * 0.55 })
624
+ }, null, 4)) : E("", !0)
625
+ ], 10, jt),
626
+ y.value && R.value > 0 ? (u(), b("div", G({
695
627
  key: 1,
696
628
  "aria-hidden": "true",
697
629
  "data-shell-stage-cover": "",
698
630
  class: "fixed inset-y-0 right-0 z-20",
699
- style: { left: `${B.value}px` }
700
- }, n(k).closeEvents, {
701
- onClick: P[0] || (P[0] = (_n) => j())
702
- }), null, 16)) : L("", !0)
631
+ style: { left: `${R.value}px` }
632
+ }, n(w).closeEvents, {
633
+ onClick: P[0] || (P[0] = (yn) => j())
634
+ }), null, 16)) : E("", !0)
703
635
  ], 64));
704
636
  }
705
- }), Ut = ["aria-label", "aria-expanded", "aria-controls"], Xt = /* @__PURE__ */ M({
637
+ }), Ft = ["aria-label", "aria-expanded", "aria-controls"], Kt = /* @__PURE__ */ z({
706
638
  __name: "NavigationMenuButton",
707
639
  setup(e) {
708
- const a = Ft(), { t } = N();
709
- return (o, i) => n(a)?.available.value ? (r(), p("button", {
640
+ const a = Nt(), { t } = N();
641
+ return (o, i) => n(a)?.available.value ? (u(), b("button", {
710
642
  key: 0,
711
643
  type: "button",
712
644
  "data-shell-menu-button": "",
@@ -715,75 +647,75 @@ const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE_
715
647
  "aria-controls": n(a).panelId,
716
648
  "aria-haspopup": "dialog",
717
649
  class: "relative my-1 ml-2 flex size-11 shrink-0 cursor-pointer items-center justify-center rounded-full bg-surface-cell text-content-strong shadow-float transition-transform duration-motion-fast active:scale-95 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
718
- onClick: i[0] || (i[0] = (s) => n(a).present())
650
+ onClick: i[0] || (i[0] = (r) => n(a).present())
719
651
  }, [
720
- h(n(R), {
652
+ v(n(B), {
721
653
  name: "menuLines",
722
654
  size: 20
723
655
  })
724
- ], 8, Ut)) : L("", !0);
656
+ ], 8, Ft)) : E("", !0);
725
657
  }
726
- }), Yt = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, qt = { class: "flex min-w-0 items-center justify-start" }, Ht = ["data-page-action", "disabled"], Gt = { class: "truncate" }, Qt = { class: "ml-1 flex items-center gap-1" }, Jt = { class: "flex min-w-0 items-center justify-end" }, Zt = ["data-page-action", "aria-label", "disabled", "onClick"], en = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], tn = { class: "truncate" }, nn = ["aria-label", "onClick"], an = /* @__PURE__ */ M({
658
+ }), Wt = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, Ut = { class: "flex min-w-0 items-center justify-start" }, Xt = ["data-page-action", "disabled"], Yt = { class: "truncate" }, qt = { class: "ml-1 flex items-center gap-1" }, Gt = { class: "flex min-w-0 items-center justify-end" }, Ht = ["data-page-action", "aria-label", "disabled", "onClick"], Qt = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], Jt = { class: "truncate" }, Zt = ["aria-label", "onClick"], en = /* @__PURE__ */ z({
727
659
  __name: "ShellTopBar",
728
660
  props: {
729
661
  home: {}
730
662
  },
731
663
  setup(e) {
732
- const { t: a } = N(), t = re(), o = Se(), { session: i } = G(), s = H("(max-width: 47.999rem)");
733
- ne(ce, "bar");
734
- const u = C(() => i.state.value.status === "authenticated"), f = C(() => !u.value || s.value), c = C(() => u.value ? o.back.value : null), v = C(() => u.value ? o.leading.value : null), b = C(() => o.navTitle.value ?? o.title.value), w = C(() => u.value && !!b.value && (!!o.navTitle.value || !o.titleInView.value)), _ = C(() => u.value ? o.actions.value : []), S = C(() => _.value.filter((m) => m.placement === "primary" && m.tone !== "critical")), $ = C(
735
- () => _.value.filter((m) => !S.value.includes(m)).map((m) => ({ id: m.id, label: m.label, icon: m.icon, tone: m.tone, disabled: m.disabled, processing: m.processing, onSelect: m.onClick }))
664
+ const { t: a } = N(), t = re(), o = xe(), { session: i } = Q(), r = q("(max-width: 47.999rem)");
665
+ ae(ye, "bar");
666
+ const c = A(() => ie(i.state.value) !== null), m = A(() => !c.value || r.value), s = A(() => c.value ? o.back.value : null), p = A(() => c.value ? o.leading.value : null), g = A(() => o.navTitle.value ?? o.title.value), x = A(() => c.value && !!g.value && (!!o.navTitle.value || !o.titleInView.value)), _ = A(() => c.value ? o.actions.value : []), k = A(() => _.value.filter((f) => f.placement === "primary" && f.tone !== "critical")), y = A(
667
+ () => _.value.filter((f) => !k.value.includes(f)).map((f) => ({ id: f.id, label: f.label, icon: f.icon, tone: f.tone, disabled: f.disabled, processing: f.processing, onSelect: f.onClick }))
736
668
  );
737
- function A() {
738
- c.value && t.push(c.value.to);
669
+ function C() {
670
+ s.value && t.push(s.value.to);
739
671
  }
740
- return (m, z) => f.value ? (r(), p("header", {
672
+ return (f, M) => m.value ? (u(), b("header", {
741
673
  key: 0,
742
674
  "data-shell-top-bar": "",
743
- class: y(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", u.value ? ["sticky top-0 z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", w.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
675
+ class: $(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", c.value ? ["sticky top-[var(--shell-banner-h,0px)] z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", x.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
744
676
  }, [
745
- d("div", Yt, [
746
- d("div", qt, [
747
- v.value ? (r(), p("button", {
677
+ d("div", Wt, [
678
+ d("div", Ut, [
679
+ p.value ? (u(), b("button", {
748
680
  key: 0,
749
681
  type: "button",
750
682
  "data-shell-bar-leading": "",
751
- "data-page-action": v.value.id,
752
- disabled: v.value.disabled || v.value.processing,
683
+ "data-page-action": p.value.id,
684
+ disabled: p.value.disabled || p.value.processing,
753
685
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control px-2 text-body text-content-link disabled:text-content-disabled",
754
- onClick: z[0] || (z[0] = (l) => v.value.onClick())
686
+ onClick: M[0] || (M[0] = (l) => p.value.onClick())
755
687
  }, [
756
- d("span", Gt, O(v.value.label), 1)
757
- ], 8, Ht)) : c.value ? (r(), p("button", {
688
+ d("span", Yt, D(p.value.label), 1)
689
+ ], 8, Xt)) : s.value ? (u(), b("button", {
758
690
  key: 1,
759
691
  type: "button",
760
692
  "data-shell-bar-back": "",
761
693
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control pr-2 text-body text-content-link active:opacity-60",
762
- onClick: A
694
+ onClick: C
763
695
  }, [
764
- h(n(R), {
696
+ v(n(B), {
765
697
  name: "arrowLeftSLine",
766
698
  size: 28,
767
699
  class: "-mr-0.5 shrink-0"
768
700
  }),
769
701
  d("span", {
770
- class: y(["truncate", w.value ? "sr-only" : ""])
771
- }, O(c.value.label), 3)
772
- ])) : u.value ? (r(), p(F, { key: 2 }, [
773
- h(Xt),
774
- d("span", Qt, [
775
- h(n(ae), { name: "headerActions" })
702
+ class: $(["truncate", x.value ? "sr-only" : ""])
703
+ }, D(s.value.label), 3)
704
+ ])) : c.value ? (u(), b(V, { key: 2 }, [
705
+ v(Kt),
706
+ d("span", qt, [
707
+ v(n(H), { name: "headerActions" })
776
708
  ])
777
- ], 64)) : (r(), T(ue, {
709
+ ], 64)) : (u(), O(ce, {
778
710
  key: 3,
779
711
  to: e.home,
780
712
  tone: "brand",
781
- class: y(["px-2 transition-opacity", w.value ? "opacity-0" : "opacity-100"])
782
- }, W({ _: 2 }, [
783
- m.$slots.brand ? {
713
+ class: $(["px-2 transition-opacity", x.value ? "opacity-0" : "opacity-100"])
714
+ }, K({ _: 2 }, [
715
+ f.$slots.brand ? {
784
716
  name: "default",
785
- fn: I((l) => [
786
- D(m.$slots, "brand", X(Y(l)))
717
+ fn: T((l) => [
718
+ I(f.$slots, "brand", U(X(l)))
787
719
  ]),
788
720
  key: "0"
789
721
  } : void 0
@@ -792,28 +724,28 @@ const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE_
792
724
  d("span", {
793
725
  "aria-hidden": "true",
794
726
  "data-shell-bar-title": "",
795
- class: y(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", w.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
796
- }, O(b.value), 3),
797
- d("div", Jt, [
798
- u.value ? (r(), p(F, { key: 0 }, [
799
- (r(!0), p(F, null, ee(S.value, (l) => (r(), p(F, {
727
+ class: $(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", x.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
728
+ }, D(g.value), 3),
729
+ d("div", Gt, [
730
+ c.value ? (u(), b(V, { key: 0 }, [
731
+ (u(!0), b(V, null, te(k.value, (l) => (u(), b(V, {
800
732
  key: l.id
801
733
  }, [
802
- l.compact === "icon" && l.icon ? (r(), p("button", {
734
+ l.compact === "icon" && l.icon ? (u(), b("button", {
803
735
  key: 0,
804
736
  type: "button",
805
737
  "data-page-action": l.id,
806
738
  "aria-label": l.label,
807
739
  disabled: l.disabled || l.processing,
808
740
  class: "hit-target mx-1 flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-tint-soft text-content-link disabled:opacity-45",
809
- onClick: (E) => l.onClick()
741
+ onClick: (L) => l.onClick()
810
742
  }, [
811
- h(n(R), {
743
+ v(n(B), {
812
744
  name: l.processing ? "loader4Line" : l.icon,
813
745
  size: 18,
814
- class: y(l.processing ? "animate-spin" : "")
746
+ class: $(l.processing ? "animate-spin" : "")
815
747
  }, null, 8, ["name", "class"])
816
- ], 8, Zt)) : (r(), p("button", {
748
+ ], 8, Ht)) : (u(), b("button", {
817
749
  key: 1,
818
750
  type: "button",
819
751
  "data-page-action": l.id,
@@ -821,56 +753,56 @@ const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE_
821
753
  "aria-label": l.shortLabel ? l.label : void 0,
822
754
  "aria-busy": l.processing || void 0,
823
755
  class: "hit-target flex min-w-0 shrink cursor-pointer items-center gap-1 rounded-control px-2 text-body font-semibold text-content-link disabled:text-content-disabled",
824
- onClick: (E) => l.onClick()
756
+ onClick: (L) => l.onClick()
825
757
  }, [
826
- l.processing ? (r(), T(n(R), {
758
+ l.processing ? (u(), O(n(B), {
827
759
  key: 0,
828
760
  name: "loader4Line",
829
761
  size: 16,
830
762
  class: "animate-spin"
831
- })) : L("", !0),
832
- d("span", tn, O(l.shortLabel ?? l.label), 1)
833
- ], 8, en))
763
+ })) : E("", !0),
764
+ d("span", Jt, D(l.shortLabel ?? l.label), 1)
765
+ ], 8, Qt))
834
766
  ], 64))), 128)),
835
- $.value.length ? (r(), T(n(Ze), {
767
+ y.value.length ? (u(), O(n(Ze), {
836
768
  key: 0,
837
- items: $.value,
769
+ items: y.value,
838
770
  label: n(a)("core.page.more_actions")
839
771
  }, {
840
- trigger: I(({ toggle: l, attrs: E }) => [
841
- d("button", K({ type: "button" }, E, {
772
+ trigger: T(({ toggle: l, attrs: L }) => [
773
+ d("button", G({ type: "button" }, L, {
842
774
  "aria-label": n(a)("core.page.more_actions"),
843
775
  "data-shell-bar-more": "",
844
776
  class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-full text-content-link",
845
777
  onClick: l
846
778
  }), [
847
- h(n(R), {
779
+ v(n(B), {
848
780
  name: "moreLine",
849
781
  size: 22
850
782
  })
851
- ], 16, nn)
783
+ ], 16, Zt)
852
784
  ]),
853
785
  _: 1
854
- }, 8, ["items", "label"])) : L("", !0)
855
- ], 64)) : L("", !0),
856
- D(m.$slots, "end")
786
+ }, 8, ["items", "label"])) : E("", !0)
787
+ ], 64)) : E("", !0),
788
+ I(f.$slots, "end")
857
789
  ])
858
790
  ])
859
- ], 2)) : L("", !0);
791
+ ], 2)) : E("", !0);
860
792
  }
861
793
  });
862
- function on(e) {
794
+ function tn(e) {
863
795
  const { name: a, email: t } = e;
864
796
  return { name: typeof a == "string" && a !== "" ? a : String(e.id), detail: typeof t == "string" ? t : null };
865
797
  }
866
- function sn(e) {
867
- const { session: a } = G(), t = e ?? on;
868
- return C(() => {
869
- const o = a.state.value;
870
- return o.status === "authenticated" ? t(o.user) : null;
798
+ function nn(e) {
799
+ const { session: a } = Q(), t = e ?? tn;
800
+ return A(() => {
801
+ const o = ie(a.state.value);
802
+ return o ? t(o.user) : null;
871
803
  });
872
804
  }
873
- const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, rn = ["aria-label"], cn = { class: "flex flex-1" }, un = { class: "flex min-w-0 flex-1 overflow-x-clip" }, dn = { "data-dialog-inert-skip": "" }, fn = /* @__PURE__ */ M({
805
+ const an = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, on = ["aria-label"], sn = { class: "flex flex-1" }, ln = { class: "flex min-w-0 flex-1 overflow-x-clip" }, rn = { "data-dialog-inert-skip": "" }, cn = /* @__PURE__ */ z({
874
806
  __name: "BackofficeShell",
875
807
  props: {
876
808
  home: { default: void 0 },
@@ -878,91 +810,92 @@ const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
878
810
  progress: { default: void 0 }
879
811
  },
880
812
  setup(e) {
881
- const a = e, { t } = N(), { session: o } = G(), i = Se(), s = sn(a.identity), u = C(() => o.state.value.status === "authenticated"), f = te("accountSheet");
882
- return (c, v) => (r(), p("div", ln, [
883
- e.progress?.visible.value ? (r(), p("div", {
813
+ const a = e, { t } = N(), { session: o } = Q(), i = xe(), r = nn(a.identity), c = A(() => ie(o.state.value) !== null), m = ne("accountSheet");
814
+ return (s, p) => (u(), b("div", an, [
815
+ e.progress?.visible.value ? (u(), b("div", {
884
816
  key: 0,
885
817
  role: "progressbar",
886
818
  "aria-label": n(t)("core.state.loading"),
887
819
  "data-shell-progress": "",
888
820
  class: "fixed inset-x-0 top-0 z-10000 flex h-1 justify-center bg-primary-800"
889
- }, [...v[0] || (v[0] = [
821
+ }, [...p[0] || (p[0] = [
890
822
  d("div", { class: "animate-grow-and-shrink-width bg-primary-600 motion-reduce:w-full motion-reduce:animate-none motion-reduce:opacity-60" }, null, -1)
891
- ])], 8, rn)) : L("", !0),
892
- h(Kt, { enabled: u.value }, W({
893
- default: I(() => [
894
- h(an, { home: e.home }, W({ _: 2 }, [
895
- c.$slots.brand ? {
823
+ ])], 8, on)) : E("", !0),
824
+ v(n(H), { name: "banner" }),
825
+ v(Vt, { enabled: c.value }, K({
826
+ default: T(() => [
827
+ v(en, { home: e.home }, K({ _: 2 }, [
828
+ s.$slots.brand ? {
896
829
  name: "brand",
897
- fn: I((b) => [
898
- D(c.$slots, "brand", X(Y(b)))
830
+ fn: T((g) => [
831
+ I(s.$slots, "brand", U(X(g)))
899
832
  ]),
900
833
  key: "0"
901
834
  } : void 0,
902
- c.$slots["top-bar-end"] ? {
835
+ s.$slots["top-bar-end"] ? {
903
836
  name: "end",
904
- fn: I(() => [
905
- D(c.$slots, "top-bar-end")
837
+ fn: T(() => [
838
+ I(s.$slots, "top-bar-end")
906
839
  ]),
907
840
  key: "1"
908
841
  } : void 0
909
842
  ]), 1032, ["home"]),
910
- d("div", cn, [
911
- n(s) ? (r(), T(Ot, {
843
+ d("div", sn, [
844
+ n(r) ? (u(), O(It, {
912
845
  key: 0,
913
- identity: n(s),
846
+ identity: n(r),
914
847
  home: e.home
915
- }, W({ _: 2 }, [
916
- c.$slots.brand ? {
848
+ }, K({ _: 2 }, [
849
+ s.$slots.brand ? {
917
850
  name: "brand",
918
- fn: I((b) => [
919
- D(c.$slots, "brand", X(Y(b)))
851
+ fn: T((g) => [
852
+ I(s.$slots, "brand", U(X(g)))
920
853
  ]),
921
854
  key: "0"
922
855
  } : void 0,
923
- c.$slots.footer ? {
856
+ s.$slots.footer ? {
924
857
  name: "footer",
925
- fn: I(() => [
926
- D(c.$slots, "footer")
858
+ fn: T(() => [
859
+ I(s.$slots, "footer")
927
860
  ]),
928
861
  key: "1"
929
862
  } : void 0
930
- ]), 1032, ["identity", "home"])) : L("", !0),
931
- d("div", un, [
863
+ ]), 1032, ["identity", "home"])) : E("", !0),
864
+ d("div", ln, [
932
865
  d("main", {
933
- class: y(["flex min-w-0 flex-1 flex-col", n(i).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
934
- style: ge(n(i).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
866
+ class: $(["flex min-w-0 flex-1 flex-col", n(i).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
867
+ style: ve(n(i).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
935
868
  }, [
936
- h(n(Ge))
869
+ v(n(Ge))
937
870
  ], 6)
938
871
  ])
939
872
  ]),
940
- h(n(He), {
941
- class: y(u.value ? "md:left-64" : "")
873
+ v(n(qe), {
874
+ class: $(c.value ? "md:left-64" : "")
942
875
  }, null, 8, ["class"])
943
876
  ]),
944
877
  _: 2
945
878
  }, [
946
- n(s) ? {
879
+ n(r) ? {
947
880
  name: "drawer",
948
- fn: I(({ select: b, dismiss: w }) => [
949
- h(Et, {
950
- identity: n(s),
881
+ fn: T(({ select: g, dismiss: x }) => [
882
+ v(Ct, {
883
+ identity: n(r),
951
884
  home: e.home,
952
- onSelect: b,
953
- onAccount: (_) => w(() => f.value?.present())
954
- }, W({ _: 2 }, [
955
- c.$slots.brand ? {
885
+ onSelect: g,
886
+ onAccount: (_) => x(() => m.value?.present())
887
+ }, K({ _: 2 }, [
888
+ s.$slots.brand ? {
956
889
  name: "brand",
957
- fn: I((_) => [
958
- D(c.$slots, "brand", X(Y(_)))
890
+ fn: T((_) => [
891
+ I(s.$slots, "brand", U(X(_)))
959
892
  ]),
960
893
  key: "0"
961
894
  } : void 0,
962
- c.$slots.footer ? {
895
+ s.$slots.footer ? {
963
896
  name: "footer",
964
- fn: I(() => [
965
- D(c.$slots, "footer")
897
+ fn: T(() => [
898
+ I(s.$slots, "footer")
966
899
  ]),
967
900
  key: "1"
968
901
  } : void 0
@@ -971,24 +904,24 @@ const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
971
904
  key: "0"
972
905
  } : void 0
973
906
  ]), 1032, ["enabled"]),
974
- n(s) ? (r(), T(vt, {
907
+ n(r) ? (u(), O(dt, {
975
908
  key: 1,
976
909
  ref_key: "accountSheet",
977
- ref: f,
978
- identity: n(s)
979
- }, null, 8, ["identity"])) : L("", !0),
980
- (r(), T(Ne, { to: "body" }, [
981
- d("div", dn, [
982
- h(n(qe))
910
+ ref: m,
911
+ identity: n(r)
912
+ }, null, 8, ["identity"])) : E("", !0),
913
+ (u(), O(Re, { to: "body" }, [
914
+ d("div", rn, [
915
+ v(n(Ye))
983
916
  ])
984
917
  ])),
985
- h(Ye),
986
- h(n(ae), { name: "host" })
918
+ v(Xe),
919
+ v(n(H), { name: "host" })
987
920
  ]));
988
921
  }
989
922
  });
990
- function mn(e = et) {
991
- const a = Pe(!1);
923
+ function un(e = et) {
924
+ const a = Be(!1);
992
925
  let t;
993
926
  return {
994
927
  visible: a,
@@ -1000,13 +933,13 @@ function mn(e = et) {
1000
933
  }
1001
934
  };
1002
935
  }
1003
- function Yn(e = {}) {
1004
- const a = mn(), { brand: t, footer: o, topBarEnd: i } = e;
1005
- return { component: M({
936
+ function Xn(e = {}) {
937
+ const a = un(), { brand: t, footer: o, topBarEnd: i } = e;
938
+ return { component: z({
1006
939
  name: "BackofficeShell",
1007
940
  setup() {
1008
- return () => J(
1009
- fn,
941
+ return () => Z(
942
+ cn,
1010
943
  {
1011
944
  home: e.home,
1012
945
  // The application's session produces U; the shell reads it as the SessionUser it is guaranteed to be.
@@ -1014,36 +947,36 @@ function Yn(e = {}) {
1014
947
  progress: a
1015
948
  },
1016
949
  {
1017
- ...t && { brand: (u) => J(t, u) },
1018
- ...o && { footer: () => J(o) },
1019
- ...i && { "top-bar-end": () => J(i) }
950
+ ...t && { brand: (c) => Z(t, c) },
951
+ ...o && { footer: () => Z(o) },
952
+ ...i && { "top-bar-end": () => Z(i) }
1020
953
  }
1021
954
  );
1022
955
  }
1023
- }), slots: ["headerActions", "accountMenu", "host"], progress: a };
956
+ }), slots: ["headerActions", "accountMenu", "banner", "host"], progress: a };
1024
957
  }
1025
- const vn = 30 * 6e4, pn = 6e4;
1026
- function hn(e, a) {
958
+ const dn = 30 * 6e4, fn = 6e4;
959
+ function mn(e, a) {
1027
960
  const t = new DOMParser().parseFromString(e, "text/html").querySelectorAll('script[type="module"][src]');
1028
961
  return Array.from(t, (o) => new URL(o.getAttribute("src") ?? "", a).pathname).sort();
1029
962
  }
1030
- function bn() {
963
+ function pn() {
1031
964
  return Array.from(document.querySelectorAll('script[type="module"][src]'), (e) => new URL(e.src, location.href).pathname).sort();
1032
965
  }
1033
- function gn(e) {
1034
- return M({
966
+ function vn(e) {
967
+ return z({
1035
968
  name: "AppUpdateNotice",
1036
969
  setup() {
1037
970
  if (e.enabled === !1) return () => null;
1038
- const { t: a } = N(), t = e.url ?? "/", o = bn();
1039
- let i = !1, s = 0;
1040
- async function u() {
1041
- if (!(i || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - s < pn)) {
1042
- s = Date.now();
971
+ const { t: a } = N(), t = e.url ?? "/", o = pn();
972
+ let i = !1, r = 0;
973
+ async function c() {
974
+ if (!(i || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - r < fn)) {
975
+ r = Date.now();
1043
976
  try {
1044
- const v = await fetch(t, { cache: "no-store", credentials: "include" }), b = v.ok ? hn(await v.text(), location.href) : [];
1045
- if (b.length === 0 || b.join() === o.join()) return;
1046
- i = !0, we.info(a("core.shell.update.available"), {
977
+ const p = await fetch(t, { cache: "no-store", credentials: "include" }), g = p.ok ? mn(await p.text(), location.href) : [];
978
+ if (g.length === 0 || g.join() === o.join()) return;
979
+ i = !0, ge.info(a("core.shell.update.available"), {
1047
980
  duration: 1 / 0,
1048
981
  action: { label: a("core.shell.update.reload"), onClick: () => location.reload() }
1049
982
  });
@@ -1051,125 +984,88 @@ function gn(e) {
1051
984
  }
1052
985
  }
1053
986
  }
1054
- const f = () => void u();
1055
- document.addEventListener("visibilitychange", f);
1056
- const c = setInterval(u, e.checkEveryMs ?? vn);
987
+ const m = () => void c();
988
+ document.addEventListener("visibilitychange", m);
989
+ const s = setInterval(c, e.checkEveryMs ?? dn);
1057
990
  return le(() => {
1058
- document.removeEventListener("visibilitychange", f), clearInterval(c);
991
+ document.removeEventListener("visibilitychange", m), clearInterval(s);
1059
992
  }), () => null;
1060
993
  }
1061
994
  });
1062
995
  }
1063
- function qn(e = {}) {
1064
- return ke({
996
+ function Yn(e = {}) {
997
+ return _e({
1065
998
  id: "vue-core.app-updates",
1066
- contributions: [{ id: "vue-core.app-updates", slot: "host", component: gn(e), scope: "always" }]
999
+ contributions: [{ id: "vue-core.app-updates", slot: "host", component: vn(e), scope: "always" }]
1067
1000
  });
1068
1001
  }
1069
- const yn = {
1070
- key: 1,
1071
- "aria-hidden": "true",
1072
- "data-header-action-badge": "",
1073
- class: "absolute -top-0.5 -right-0.5 min-w-4 rounded-full bg-status-danger-solid px-1 text-center text-3xs leading-4 font-semibold text-white"
1074
- }, Hn = /* @__PURE__ */ M({
1075
- __name: "HeaderAction",
1076
- props: {
1077
- label: {},
1078
- icon: {},
1079
- to: {},
1080
- badge: {}
1081
- },
1082
- emits: ["click"],
1083
- setup(e, { emit: a }) {
1084
- const t = a, o = be(ce, "bar"), i = C(() => o === "rail");
1085
- return (s, u) => (r(), T(he(e.to ? n(oe) : "button"), K(e.to ? { to: e.to } : { type: "button" }, {
1086
- "aria-label": e.label,
1087
- "data-header-action": "",
1088
- class: ["hit-target relative flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus", i.value ? "size-9 text-gray-300 hover:bg-white/10 hover:text-white" : "size-8 text-content-link active:bg-tint-soft"],
1089
- onClick: u[0] || (u[0] = (f) => t("click"))
1090
- }), {
1091
- default: I(() => [
1092
- h(n(R), {
1093
- name: e.icon,
1094
- size: i.value ? 20 : 18
1095
- }, null, 8, ["name", "size"]),
1096
- e.badge === "dot" ? (r(), p("span", {
1097
- key: 0,
1098
- "aria-hidden": "true",
1099
- "data-header-action-badge": "",
1100
- class: y(["absolute top-1 right-1 size-2.5 rounded-full bg-status-danger-solid ring-2", i.value ? "ring-anchor-900" : "ring-surface-page"])
1101
- }, null, 2)) : e.badge !== void 0 ? (r(), p("span", yn, O(e.badge), 1)) : L("", !0)
1102
- ]),
1103
- _: 1
1104
- }, 16, ["aria-label", "class"]));
1105
- }
1106
- }), xn = 1e3, Z = (e) => e.path.split("/").filter(Boolean).length;
1107
- function wn(e) {
1002
+ const hn = 1e3, ee = (e) => e.path.split("/").filter(Boolean).length;
1003
+ function bn(e) {
1108
1004
  if (typeof document > "u" || typeof document.startViewTransition != "function") return () => {
1109
1005
  };
1110
1006
  let a = null;
1111
- const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(tt), o = e.beforeResolve((f, c) => {
1112
- if (i(), !c.matched.length || f.path === c.path || !t()) return;
1113
- const v = Z(f) > Z(c) ? "forward" : Z(f) < Z(c) ? "back" : null;
1114
- if (!v) return;
1115
- const b = document.documentElement;
1116
- return b.dataset.navDirection = v, new Promise((w) => {
1007
+ const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(tt), o = e.beforeResolve((m, s) => {
1008
+ if (i(), !s.matched.length || m.path === s.path || !t()) return;
1009
+ const p = ee(m) > ee(s) ? "forward" : ee(m) < ee(s) ? "back" : null;
1010
+ if (!p) return;
1011
+ const g = document.documentElement;
1012
+ return g.dataset.navDirection = p, new Promise((x) => {
1117
1013
  const _ = document.startViewTransition(
1118
- () => new Promise((S) => {
1119
- const $ = setTimeout(S, xn);
1014
+ () => new Promise((k) => {
1015
+ const y = setTimeout(k, hn);
1120
1016
  a = () => {
1121
- clearTimeout($), S();
1122
- }, w();
1017
+ clearTimeout(y), k();
1018
+ }, x();
1123
1019
  })
1124
1020
  );
1125
1021
  _.ready.catch(() => {
1126
1022
  }), _.finished.catch(() => {
1127
1023
  }).finally(() => {
1128
- b.dataset.navDirection === v && delete b.dataset.navDirection;
1024
+ g.dataset.navDirection === p && delete g.dataset.navDirection;
1129
1025
  });
1130
1026
  });
1131
1027
  });
1132
1028
  function i() {
1133
- const f = a;
1134
- a = null, f && ye().then(f);
1029
+ const m = a;
1030
+ a = null, m && he().then(m);
1135
1031
  }
1136
- const s = e.afterEach(i), u = e.onError(i);
1032
+ const r = e.afterEach(i), c = e.onError(i);
1137
1033
  return () => {
1138
- o(), s(), u(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1034
+ o(), r(), c(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1139
1035
  };
1140
1036
  }
1141
- const kn = M({
1037
+ const gn = z({
1142
1038
  name: "ViewTransitions",
1143
1039
  setup() {
1144
- return le(wn(re())), () => null;
1040
+ return le(bn(re())), () => null;
1145
1041
  }
1146
1042
  });
1147
- function Gn() {
1148
- return ke({
1043
+ function qn() {
1044
+ return _e({
1149
1045
  id: "vue-core.view-transitions",
1150
- contributions: [{ id: "vue-core.view-transitions", slot: "host", component: kn, scope: "always" }]
1046
+ contributions: [{ id: "vue-core.view-transitions", slot: "host", component: gn, scope: "always" }]
1151
1047
  });
1152
1048
  }
1153
1049
  export {
1154
- mt as AccountMenu,
1155
- me as AccountMenuItem,
1156
- vt as AccountSheet,
1157
- fn as BackofficeShell,
1158
- Hn as HeaderAction,
1159
- Et as NavigationDrawer,
1160
- Ee as NavigationList,
1161
- Xt as NavigationMenuButton,
1162
- ue as ShellBrand,
1163
- Ot as ShellSidebar,
1164
- Kt as ShellStage,
1165
- an as ShellTopBar,
1166
- qn as appUpdates,
1167
- Yn as backofficeShell,
1168
- mn as createNavigationProgress,
1169
- on as defaultIdentity,
1170
- ht as groupNavigation,
1171
- wn as installViewTransitions,
1172
- Ft as useNavigationDrawer,
1173
- sn as useShellIdentity,
1174
- Gn as viewTransitions
1050
+ ut as AccountMenu,
1051
+ fe as AccountMenuItem,
1052
+ dt as AccountSheet,
1053
+ cn as BackofficeShell,
1054
+ Qn as HeaderAction,
1055
+ Ct as NavigationDrawer,
1056
+ Ce as NavigationList,
1057
+ Kt as NavigationMenuButton,
1058
+ ce as ShellBrand,
1059
+ It as ShellSidebar,
1060
+ Vt as ShellStage,
1061
+ en as ShellTopBar,
1062
+ Yn as appUpdates,
1063
+ Xn as backofficeShell,
1064
+ un as createNavigationProgress,
1065
+ tn as defaultIdentity,
1066
+ mt as groupNavigation,
1067
+ bn as installViewTransitions,
1068
+ Nt as useNavigationDrawer,
1069
+ nn as useShellIdentity,
1070
+ qn as viewTransitions
1175
1071
  };