@wssto2/vue-core 0.1.0 → 0.3.0

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