@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,11 +1,12 @@
1
- import { defineComponent as $, getCurrentInstance as D, inject as F, computed as k, openBlock as l, createBlock as _, Teleport as O, renderSlot as v, createElementBlock as p, Fragment as I, renderList as M, withCtx as x, createTextVNode as w, toDisplayString as h, unref as s, createElementVNode as f, mergeProps as H, createVNode as b, createCommentVNode as m, toValue as z, watch as B, onMounted as R, onBeforeUnmount as S, useTemplateRef as V, provide as A, ref as K, createSlots as q, normalizeClass as Q } from "vue";
1
+ import { defineComponent as $, getCurrentInstance as D, inject as F, computed as k, openBlock as l, createBlock as _, Teleport as O, renderSlot as v, createElementBlock as p, Fragment as I, renderList as M, withCtx as x, createTextVNode as w, toDisplayString as h, unref as s, createElementVNode as m, mergeProps as H, createVNode as b, createCommentVNode as f, toValue as z, watch as B, onMounted as R, onBeforeUnmount as S, useTemplateRef as V, provide as A, ref as K, createSlots as q, normalizeClass as Q } from "vue";
2
2
  import { a as j } from "./mediaQuery-CygcXmFW.js";
3
- import { b as U, f as N, c as W, p as Y } from "./chrome-D9pwD6iS.js";
3
+ import { b as U } from "./bottomDock-BZEiOPYZ.js";
4
4
  import { useI18n as E } from "vue-i18n";
5
- import { _ as G } from "./Button.vue_vue_type_script_setup_true_lang-3f0emVNU.js";
6
- import { _ as y } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
7
- import { _ as J } from "./Menu.vue_vue_type_script_setup_true_lang-D44EHXQZ.js";
8
- import { RouterLink as L, useRoute as X } from "vue-router";
5
+ import { _ as W } from "./Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js";
6
+ import { _ as y } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
7
+ import { _ as Y } from "./Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js";
8
+ import { RouterLink as L, useRoute as G } from "vue-router";
9
+ import { b as N, c as J, p as X } from "./chrome-BS3xJcad.js";
9
10
  import { d as Z } from "./context-Ch1r4fdN.js";
10
11
  const ee = /* @__PURE__ */ $({
11
12
  __name: "BottomDockPortal",
@@ -44,7 +45,7 @@ const ee = /* @__PURE__ */ $({
44
45
  return t === e.leading || t.prominence === "plain" ? "plain" : t.prominence === "standard" ? "standard" : t.placement === "primary" ? "primary" : "standard";
45
46
  }
46
47
  return (t, a) => i.value.length || r.value.length ? (l(), p("div", te, [
47
- (l(!0), p(I, null, M(i.value, (d) => (l(), _(G, {
48
+ (l(!0), p(I, null, M(i.value, (d) => (l(), _(W, {
48
49
  key: d.id,
49
50
  prominence: c(d),
50
51
  icon: d.icon,
@@ -59,13 +60,13 @@ const ee = /* @__PURE__ */ $({
59
60
  ]),
60
61
  _: 2
61
62
  }, 1032, ["prominence", "icon", "disabled", "processing", "keyboard-shortcut", "data-page-action", "onClick"]))), 128)),
62
- r.value.length ? (l(), _(J, {
63
+ r.value.length ? (l(), _(Y, {
63
64
  key: 0,
64
65
  items: r.value,
65
66
  label: s(n)("core.page.more_actions")
66
67
  }, {
67
68
  trigger: x(({ toggle: d, attrs: g }) => [
68
- f("button", H({ type: "button" }, g, {
69
+ m("button", H({ type: "button" }, g, {
69
70
  "aria-label": s(n)("core.page.more_actions"),
70
71
  "data-page-overflow": "",
71
72
  class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-button bg-fill text-content-strong transition-colors duration-motion-fast hover:bg-fill-strong focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
@@ -75,10 +76,10 @@ const ee = /* @__PURE__ */ $({
75
76
  ], 16, ne)
76
77
  ]),
77
78
  _: 1
78
- }, 8, ["items", "label"])) : m("", !0)
79
- ])) : m("", !0);
79
+ }, 8, ["items", "label"])) : f("", !0)
80
+ ])) : f("", !0);
80
81
  }
81
- }), ae = { class: "sticky top-0 z-20 flex min-h-bar-height min-w-0 flex-wrap items-center gap-2.5 border-b border-border-separator bg-surface-page/85 py-2 pr-6 pl-4 backdrop-blur-xl" }, oe = ["aria-label"], se = {
82
+ }), ae = { class: "sticky top-[var(--shell-banner-h,0px)] z-20 flex min-h-bar-height min-w-0 flex-wrap items-center gap-2.5 border-b border-border-separator bg-surface-page/85 py-2 pr-6 pl-4 backdrop-blur-xl" }, oe = ["aria-label"], se = {
82
83
  class: "flex shrink-0 text-content-link",
83
84
  "aria-hidden": "true"
84
85
  }, le = { class: "flex min-w-0 items-center" }, re = {
@@ -106,13 +107,13 @@ const ee = /* @__PURE__ */ $({
106
107
  "aria-label": s(n)("core.page.breadcrumbs"),
107
108
  class: "-ml-1 flex min-w-0 items-center"
108
109
  }, [
109
- f("span", se, [
110
+ m("span", se, [
110
111
  b(s(y), {
111
112
  name: "arrowLeftSLine",
112
113
  size: 20
113
114
  })
114
115
  ]),
115
- f("ol", le, [
116
+ m("ol", le, [
116
117
  (l(!0), p(I, null, M(i.value, (a) => (l(), p("li", {
117
118
  key: a.label,
118
119
  class: "flex min-w-0 max-w-48 shrink items-center max-lg:hidden"
@@ -127,14 +128,14 @@ const ee = /* @__PURE__ */ $({
127
128
  ]),
128
129
  _: 2
129
130
  }, 1032, ["to"]),
130
- f("span", re, [
131
+ m("span", re, [
131
132
  b(s(y), {
132
133
  name: "arrowRightSLine",
133
134
  size: 14
134
135
  })
135
136
  ])
136
137
  ]))), 128)),
137
- f("li", ie, [
138
+ m("li", ie, [
138
139
  b(s(L), {
139
140
  to: r.value.to,
140
141
  "data-page-back": "",
@@ -158,19 +159,19 @@ const ee = /* @__PURE__ */ $({
158
159
  name: "arrowLeftSLine",
159
160
  size: 20
160
161
  }),
161
- f("span", ce, h(e.back.label), 1)
162
+ m("span", ce, h(e.back.label), 1)
162
163
  ]),
163
164
  _: 1
164
- }, 8, ["to"])) : m("", !0),
165
- t[1] || (t[1] = f("div", { class: "min-w-0 flex-1" }, null, -1)),
165
+ }, 8, ["to"])) : f("", !0),
166
+ t[1] || (t[1] = m("div", { class: "min-w-0 flex-1" }, null, -1)),
166
167
  v(c.$slots, "pager"),
167
168
  e.status ? (l(), p("span", ue, [
168
- t[0] || (t[0] = f("span", {
169
+ t[0] || (t[0] = m("span", {
169
170
  class: "size-1.75 rounded-full bg-tint",
170
171
  "aria-hidden": "true"
171
172
  }, null, -1)),
172
173
  w(h(e.status), 1)
173
- ])) : m("", !0),
174
+ ])) : f("", !0),
174
175
  b(P, {
175
176
  actions: e.actions,
176
177
  leading: e.leading
@@ -189,7 +190,7 @@ function pe(u, e, n = !0) {
189
190
  c?.disconnect(), r.clearTitle();
190
191
  });
191
192
  }
192
- const fe = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, me = { class: "flex min-w-0 flex-[1_1_16rem] items-center gap-3.5" }, ge = {
193
+ const me = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, fe = { class: "flex min-w-0 flex-[1_1_16rem] items-center gap-3.5" }, ge = {
193
194
  key: 0,
194
195
  "aria-hidden": "true",
195
196
  class: "flex size-10 shrink-0 items-center justify-center rounded-group bg-tile-brand text-tile-brand-foreground compact:hidden"
@@ -222,47 +223,47 @@ const fe = { class: "flex min-w-0 flex-wrap items-center gap-x-4 gap-y-3" }, me
222
223
  },
223
224
  setup(u) {
224
225
  const e = u, { locale: n } = E(), i = j("(max-width: 47.999rem)"), r = k(() => e.count == null ? null : new Intl.NumberFormat(n.value).format(e.count)), c = V("titleElement");
225
- return pe(c, () => e.title), (t, a) => (l(), p("div", fe, [
226
- f("div", me, [
226
+ return pe(c, () => e.title), (t, a) => (l(), p("div", me, [
227
+ m("div", fe, [
227
228
  v(t.$slots, "leading", {}, () => [
228
229
  e.icon ? (l(), p("span", ge, [
229
230
  b(s(y), {
230
231
  name: e.icon,
231
232
  size: 20
232
233
  }, null, 8, ["name"])
233
- ])) : m("", !0)
234
+ ])) : f("", !0)
234
235
  ]),
235
- f("div", ve, [
236
- f("div", be, [
237
- f("h1", {
236
+ m("div", ve, [
237
+ m("div", be, [
238
+ m("h1", {
238
239
  ref_key: "titleElement",
239
240
  ref: c,
240
241
  class: "min-w-0 text-large-title font-semibold tracking-tight break-words text-content-strong"
241
242
  }, h(e.title), 513),
242
- r.value !== null ? (l(), p("span", he, h(r.value), 1)) : m("", !0)
243
+ r.value !== null ? (l(), p("span", he, h(r.value), 1)) : f("", !0)
243
244
  ]),
244
- e.description ? (l(), p("p", ke, h(e.description), 1)) : m("", !0),
245
+ e.description ? (l(), p("p", ke, h(e.description), 1)) : f("", !0),
245
246
  v(t.$slots, "description")
246
247
  ])
247
248
  ]),
248
249
  e.inlineActions || !s(i) ? (l(), p("div", _e, [
249
250
  e.status ? (l(), p("span", xe, [
250
- a[0] || (a[0] = f("span", {
251
+ a[0] || (a[0] = m("span", {
251
252
  class: "size-1.75 rounded-full bg-tint",
252
253
  "aria-hidden": "true"
253
254
  }, null, -1)),
254
255
  w(h(e.status), 1)
255
- ])) : m("", !0),
256
+ ])) : f("", !0),
256
257
  b(P, {
257
258
  actions: e.actions,
258
259
  leading: e.leading
259
260
  }, null, 8, ["actions", "leading"])
260
- ])) : m("", !0)
261
+ ])) : f("", !0)
261
262
  ]));
262
263
  }
263
- }), [ye, Ve] = Z("vue-core.pageSectionBack");
264
+ }), [ye, je] = Z("vue-core.pageSectionBack");
264
265
  function $e(u, e) {
265
- const i = X().fullPath;
266
+ const i = G().fullPath;
266
267
  let r, c;
267
268
  function t() {
268
269
  r?.disconnect(), clearTimeout(c), document.removeEventListener("pointerdown", t, !0), document.removeEventListener("keydown", t, !0);
@@ -285,7 +286,7 @@ function $e(u, e) {
285
286
  const Se = { key: 1 }, Te = {
286
287
  key: 2,
287
288
  class: "flex justify-center pt-2"
288
- }, Ce = { class: "dock-safe-area pointer-events-auto order-1 border-t border-border-separator bg-surface-cell pt-screen-padding pr-[max(var(--app-screen-padding),var(--app-safe-right))] pb-screen-padding pl-[max(var(--app-screen-padding),var(--app-safe-left))]" }, je = /* @__PURE__ */ $({
289
+ }, Ce = { class: "dock-safe-area pointer-events-auto order-1 border-t border-border-separator bg-surface-cell pt-screen-padding pr-[max(var(--app-screen-padding),var(--app-safe-right))] pb-screen-padding pl-[max(var(--app-screen-padding),var(--app-safe-left))]" }, Ne = /* @__PURE__ */ $({
289
290
  __name: "AdaptivePageShell",
290
291
  props: {
291
292
  title: {},
@@ -299,8 +300,8 @@ const Se = { key: 1 }, Te = {
299
300
  width: { default: "full" }
300
301
  },
301
302
  setup(u) {
302
- const e = u, n = N() ?? W();
303
- A(Y, n);
303
+ const e = u, n = N() ?? J();
304
+ A(X, n);
304
305
  const i = n.claimShell();
305
306
  S(i);
306
307
  const r = V("root");
@@ -345,8 +346,8 @@ const Se = { key: 1 }, Te = {
345
346
  ]),
346
347
  key: "0"
347
348
  } : void 0
348
- ]), 1032, ["back", "path", "actions", "leading", "status"])) : m("", !0),
349
- f("div", {
349
+ ]), 1032, ["back", "path", "actions", "leading", "status"])) : f("", !0),
350
+ m("div", {
350
351
  class: Q(["mx-auto flex min-w-0 flex-col gap-section-gap pt-section-gap pr-[max(var(--app-screen-padding),var(--app-safe-right))] pb-[max(var(--app-screen-padding),var(--app-safe-bottom),calc(var(--bottom-dock-h,0px)+var(--app-screen-padding)))] pl-[max(var(--app-screen-padding),var(--app-safe-left))] lg:pt-[calc(var(--app-section-gap)*1.5)] lg:pr-[max(2.5rem,var(--app-safe-right))] lg:pl-[max(2.5rem,var(--app-safe-left))]", T[e.width]])
351
352
  }, [
352
353
  v(o.$slots, "header", {}, () => [
@@ -364,33 +365,33 @@ const Se = { key: 1 }, Te = {
364
365
  key: 0,
365
366
  actions: s(n).actions.value,
366
367
  leading: s(n).leading.value
367
- }, null, 8, ["actions", "leading"])) : m("", !0),
368
+ }, null, 8, ["actions", "leading"])) : f("", !0),
368
369
  o.$slots.notices ? (l(), p("div", Se, [
369
370
  v(o.$slots, "notices")
370
- ])) : m("", !0),
371
+ ])) : f("", !0),
371
372
  v(o.$slots, "default"),
372
373
  o.$slots.pager && s(c) ? (l(), p("div", Te, [
373
374
  v(o.$slots, "pager")
374
- ])) : m("", !0)
375
+ ])) : f("", !0)
375
376
  ], 2),
376
377
  o.$slots.bottom ? (l(), _(ee, { key: 1 }, {
377
378
  default: x(() => [
378
- f("div", Ce, [
379
+ m("div", Ce, [
379
380
  v(o.$slots, "bottom")
380
381
  ])
381
382
  ]),
382
383
  _: 3
383
- })) : m("", !0)
384
+ })) : f("", !0)
384
385
  ], 512));
385
386
  }
386
387
  });
387
388
  export {
388
389
  ee as _,
389
- je as a,
390
+ Ne as a,
390
391
  P as b,
391
392
  de as c,
392
393
  we as d,
393
- Ve as e,
394
+ je as e,
394
395
  ye as p,
395
396
  pe as u
396
397
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as H, ref as L, useId as S, computed as u, watch as J, openBlock as a, createBlock as p, Teleport as K, createElementBlock as r, unref as t, createVNode as T, Transition as z, withCtx as I, createCommentVNode as s, createElementVNode as o, toDisplayString as l, renderSlot as V, normalizeClass as d, createTextVNode as $ } from "vue";
2
2
  import { useI18n as Q } from "vue-i18n";
3
- import { _ as j } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
3
+ import { _ as j } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
4
4
  import { u as R } from "./mediaQuery-CygcXmFW.js";
5
- import { u as U } from "./useDialog-wmyNx2j_.js";
5
+ import { u as U } from "./useDialog-CXR3hN0G.js";
6
6
  const X = ["aria-labelledby", "aria-describedby", "data-presentation"], Y = { class: "overflow-hidden rounded-menu bg-surface-overlay/95 backdrop-blur-xl" }, Z = { class: "flex flex-col gap-1 px-4 py-3.5 text-center" }, ee = ["id"], te = ["id"], ae = ["disabled"], ne = ["disabled"], oe = ["id"], ie = ["id"], se = ["disabled"], le = ["disabled"], pe = /* @__PURE__ */ H({
7
7
  __name: "AlertDialog",
8
8
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as h, openBlock as a, createElementBlock as n, computed as $, Fragment as _, unref as o, renderSlot as y, renderList as w, createBlock as v, createVNode as u, withCtx as c, createElementVNode as d, toDisplayString as i, createCommentVNode as m, createTextVNode as g, normalizeClass as b, createSlots as x } from "vue";
2
2
  import { useI18n as C } from "vue-i18n";
3
- import { _ as k } from "./Button.vue_vue_type_script_setup_true_lang-3f0emVNU.js";
4
- import { _ as E } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
5
- import { _ as S } from "./Banner.vue_vue_type_script_setup_true_lang-n_wGPIIu.js";
6
- import { _ as V } from "./EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js";
3
+ import { _ as k } from "./Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js";
4
+ import { _ as E } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
5
+ import { _ as S } from "./Banner.vue_vue_type_script_setup_true_lang-Cib_YYpr.js";
6
+ import { _ as V } from "./EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js";
7
7
  function K(s) {
8
8
  return s.status === "loading" || s.status === "failed" ? void 0 : s.value;
9
9
  }
@@ -0,0 +1,51 @@
1
+ import { defineComponent as l, computed as y, openBlock as r, createElementBlock as s, normalizeClass as d, createCommentVNode as f, renderSlot as p } from "vue";
2
+ const x = ["data-hue"], h = /* @__PURE__ */ l({
3
+ __name: "Badge",
4
+ props: {
5
+ tone: {},
6
+ dot: { type: Boolean },
7
+ hue: {},
8
+ appearance: {}
9
+ },
10
+ setup(u) {
11
+ const a = u, n = {
12
+ neutral: { badge: "bg-status-neutral-surface text-status-neutral-content", dot: "bg-status-neutral-content" },
13
+ info: { badge: "bg-status-info-surface text-status-info-content", dot: "bg-status-info-content" },
14
+ positive: { badge: "bg-status-success-surface text-status-success-content", dot: "bg-status-success-content" },
15
+ warning: { badge: "bg-status-warning-surface text-status-warning-content", dot: "bg-status-warning-content" },
16
+ critical: { badge: "bg-status-danger-surface text-status-danger-content", dot: "bg-status-danger-content" },
17
+ context: { badge: "bg-surface-cell text-content", dot: "bg-content-disabled" }
18
+ }, o = {
19
+ amber: { badge: "bg-category-amber-surface text-category-amber-content", dot: "bg-category-amber-content" },
20
+ lime: { badge: "bg-category-lime-surface text-category-lime-content", dot: "bg-category-lime-content" },
21
+ teal: { badge: "bg-category-teal-surface text-category-teal-content", dot: "bg-category-teal-content" },
22
+ cyan: { badge: "bg-category-cyan-surface text-category-cyan-content", dot: "bg-category-cyan-content" },
23
+ blue: { badge: "bg-category-blue-surface text-category-blue-content", dot: "bg-category-blue-content" },
24
+ indigo: { badge: "bg-category-indigo-surface text-category-indigo-content", dot: "bg-category-indigo-content" },
25
+ violet: { badge: "bg-category-violet-surface text-category-violet-content", dot: "bg-category-violet-content" },
26
+ fuchsia: { badge: "bg-category-fuchsia-surface text-category-fuchsia-content", dot: "bg-category-fuchsia-content" },
27
+ pink: { badge: "bg-category-pink-surface text-category-pink-content", dot: "bg-category-pink-content" }
28
+ }, e = y(() => {
29
+ const { hue: t, appearance: c, tone: b, dot: i } = a;
30
+ if (t === void 0) {
31
+ const g = n[b ?? "neutral"];
32
+ return { badge: g.badge, dot: i ? g.dot : null };
33
+ }
34
+ return c === "dot" ? { badge: n.context.badge, dot: o[t].dot } : { badge: o[t].badge, dot: null };
35
+ });
36
+ return (t, c) => (r(), s("span", {
37
+ class: d(["inline-flex items-center gap-x-1.5 whitespace-nowrap rounded-md px-2 py-0.5 text-xs font-medium ring-1 ring-inset ring-current/20", e.value.badge]),
38
+ "data-hue": a.hue
39
+ }, [
40
+ e.value.dot ? (r(), s("span", {
41
+ key: 0,
42
+ class: d(["size-1.5 shrink-0 rounded-full", e.value.dot]),
43
+ "aria-hidden": "true"
44
+ }, null, 2)) : f("", !0),
45
+ p(t.$slots, "default")
46
+ ], 10, x));
47
+ }
48
+ });
49
+ export {
50
+ h as _
51
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, computed as i, openBlock as u, createElementBlock as l, normalizeClass as n, createElementVNode as o, createVNode as d, unref as m, renderSlot as f } from "vue";
2
- import { _ as b } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
2
+ import { _ as b } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
3
3
  const g = ["role"], x = { class: "flex items-center gap-3" }, p = { class: "min-w-0 flex-1 break-words" }, h = /* @__PURE__ */ c({
4
4
  __name: "Banner",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, useTemplateRef as c, onMounted as l, onBeforeUnmount as m, openBlock as a, createElementBlock as i } from "vue";
2
- import { u as d } from "./chrome-D9pwD6iS.js";
2
+ import { u as d } from "./bottomDock-BZEiOPYZ.js";
3
3
  const b = /* @__PURE__ */ u({
4
4
  __name: "BottomDock",
5
5
  setup(f) {
@@ -0,0 +1,182 @@
1
+ import { watchEffect as R, toValue as z, computed as f, triggerRef as w, shallowRef as L, defineComponent as A, useSlots as B, useTemplateRef as I, openBlock as y, createBlock as M, unref as N, withCtx as $, createElementVNode as D, mergeProps as v, createVNode as h, createElementBlock as K, h as x } from "vue";
2
+ import { RouterLink as P } from "vue-router";
3
+ import { _ as k } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
4
+ import { u as T } from "./useWaitStatus-fsacMl4W.js";
5
+ import { p as j } from "./perDocument-DUuFrdGU.js";
6
+ function V(t, n) {
7
+ return t.key.toLowerCase() === n.key.toLowerCase() && t.ctrlKey === (n.ctrlKey ?? !1) && t.shiftKey === (n.shiftKey ?? !1) && t.altKey === (n.altKey ?? !1) && t.metaKey === (n.metaKey ?? !1);
8
+ }
9
+ function U(t) {
10
+ return t instanceof HTMLElement && (t.isContentEditable || /^(input|textarea|select)$/i.test(t.tagName));
11
+ }
12
+ function G(t, n) {
13
+ R((e) => {
14
+ const o = z(t);
15
+ if (!o) return;
16
+ if (o.label !== void 0) {
17
+ const i = O(o);
18
+ e(i.remove);
19
+ }
20
+ const a = (i) => {
21
+ i.repeat || !V(i, o) || !(o.ctrlKey || o.altKey || o.metaKey) && U(i.target) || n(i) !== !1 && i.preventDefault();
22
+ };
23
+ window.addEventListener("keydown", a), e(() => window.removeEventListener("keydown", a));
24
+ });
25
+ }
26
+ const H = Symbol("vue-core:shortcuts"), E = () => j(H, () => ({ items: [], changed: L(0) }));
27
+ function O(t) {
28
+ const n = E();
29
+ return n.items = [...n.items, t], w(n.changed), {
30
+ remove() {
31
+ n.items = n.items.filter((e) => e !== t), w(n.changed);
32
+ }
33
+ };
34
+ }
35
+ function W(t) {
36
+ const e = typeof navigator < "u" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent) ? { ctrl: "⌃", alt: "⌥", shift: "⇧", meta: "⌘" } : { ctrl: "Ctrl", alt: "Alt", shift: "Shift", meta: "Meta" }, o = Y[t.key] ?? (t.key.length === 1 ? t.key.toUpperCase() : t.key);
37
+ return [
38
+ ...t.ctrlKey ? [e.ctrl] : [],
39
+ ...t.altKey ? [e.alt] : [],
40
+ ...t.shiftKey ? [e.shift] : [],
41
+ ...t.metaKey ? [e.meta] : [],
42
+ o
43
+ ];
44
+ }
45
+ const Y = { ArrowLeft: "←", ArrowRight: "→", ArrowUp: "↑", ArrowDown: "↓", Escape: "Esc", " ": "Space" };
46
+ function ne() {
47
+ const t = E();
48
+ return f(() => {
49
+ t.changed.value;
50
+ const n = /* @__PURE__ */ new Map();
51
+ for (const e of t.items) {
52
+ const o = typeof e.label == "function" ? e.label() : e.label ?? "";
53
+ if (o === "") continue;
54
+ const a = e.group ?? null, i = n.get(`${a}\0${o}`) ?? { group: a, label: o, keys: [] }, d = W(e);
55
+ i.keys.some((s) => s.join("+") === d.join("+")) || i.keys.push(d), n.set(`${a}\0${o}`, i);
56
+ }
57
+ return [...n.values()];
58
+ });
59
+ }
60
+ const Z = ["href", "tabindex", "onClick"], q = ["href", "tabindex"], F = ["type", "disabled"], oe = /* @__PURE__ */ A({
61
+ __name: "Button",
62
+ props: {
63
+ prominence: { default: "standard" },
64
+ tone: { default: void 0 },
65
+ size: { default: "md" },
66
+ icon: { default: void 0 },
67
+ trailingIcon: { default: void 0 },
68
+ to: { default: void 0 },
69
+ href: { default: void 0 },
70
+ type: { default: "button" },
71
+ disabled: { type: Boolean, default: !1 },
72
+ processing: { type: Boolean, default: !1 },
73
+ keyboardShortcut: { default: void 0 }
74
+ },
75
+ emits: ["click"],
76
+ setup(t, { emit: n }) {
77
+ const e = t, o = n, a = B(), i = I("element"), d = T(() => e.processing), s = f(() => e.disabled || e.processing);
78
+ function p(r, l) {
79
+ if (s.value) {
80
+ r.preventDefault();
81
+ return;
82
+ }
83
+ o("click", r), l?.(r);
84
+ }
85
+ G(() => e.keyboardShortcut, (r) => {
86
+ if (s.value || i.value?.closest("[inert]")) return !1;
87
+ o("click", r);
88
+ });
89
+ const _ = {
90
+ primary: {
91
+ default: "bg-tint text-content-on-tint hover:bg-tint/90 active:bg-tint/80",
92
+ critical: "bg-status-danger-solid text-white hover:brightness-110"
93
+ },
94
+ secondary: {
95
+ default: "bg-tint-soft text-content-link hover:brightness-95 dark:hover:brightness-125",
96
+ critical: "bg-status-danger-surface text-content-destructive hover:brightness-95 dark:hover:brightness-125"
97
+ },
98
+ standard: {
99
+ default: "bg-fill text-content-strong hover:bg-fill-strong",
100
+ critical: "bg-fill text-content-destructive hover:bg-fill-strong"
101
+ },
102
+ plain: {
103
+ default: "bg-transparent text-content-link hover:bg-tint-soft",
104
+ critical: "bg-transparent text-content-destructive hover:bg-status-danger-surface"
105
+ },
106
+ link: {
107
+ default: "bg-transparent text-content-link hover:underline",
108
+ critical: "bg-transparent text-content-destructive hover:underline"
109
+ }
110
+ }, u = {
111
+ xs: { box: "min-h-6 px-2.5 py-0.5 text-xs gap-1", icon: 12 },
112
+ sm: { box: "min-h-8 px-3 py-1 text-xs gap-1.5", icon: 14 },
113
+ md: { box: "min-h-9 px-4 py-1.5 text-sm gap-2", icon: 16 },
114
+ lg: { box: "min-h-11 px-5 py-2 text-base gap-2", icon: 20 },
115
+ xl: { box: "min-h-12 px-6 py-2.5 text-base gap-2.5", icon: 22 }
116
+ }, m = f(() => [
117
+ "hit-target flex cursor-pointer select-none items-center justify-center rounded-button text-center font-semibold",
118
+ "transition duration-motion-fast ease-motion-standard",
119
+ "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
120
+ _[e.prominence][e.tone ?? "default"],
121
+ u[e.size].box,
122
+ // aria-disabled covers links, which have no `disabled` attribute.
123
+ e.processing && !e.disabled ? "cursor-progress" : "disabled:cursor-not-allowed disabled:opacity-45 aria-disabled:cursor-not-allowed aria-disabled:opacity-45"
124
+ ]), b = f(() => ({
125
+ "aria-disabled": s.value || void 0,
126
+ "aria-busy": e.processing || void 0
127
+ })), g = () => [
128
+ e.processing && d.visible.value ? x(k, { name: "loader4Line", size: u[e.size].icon, class: "animate-spin", "data-test": "button-spinner" }) : e.icon ? x(k, { name: e.icon, size: u[e.size].icon }) : null,
129
+ a.default?.(),
130
+ e.trailingIcon ? x(k, { name: e.trailingIcon, size: u[e.size].icon }) : null
131
+ ];
132
+ return (r, l) => e.to !== void 0 ? (y(), M(N(P), {
133
+ key: 0,
134
+ to: e.to,
135
+ custom: ""
136
+ }, {
137
+ default: $(({ href: c, navigate: C }) => [
138
+ D("a", v({
139
+ ref_key: "element",
140
+ ref: i,
141
+ href: s.value ? void 0 : c,
142
+ class: m.value
143
+ }, b.value, {
144
+ tabindex: s.value ? -1 : void 0,
145
+ onClick: (S) => p(S, C)
146
+ }), [
147
+ h(g)
148
+ ], 16, Z)
149
+ ]),
150
+ _: 1
151
+ }, 8, ["to"])) : e.href !== void 0 ? (y(), K("a", v({
152
+ key: 1,
153
+ ref_key: "element",
154
+ ref: i,
155
+ href: s.value ? void 0 : e.href,
156
+ class: m.value
157
+ }, b.value, {
158
+ tabindex: s.value ? -1 : void 0,
159
+ onClick: l[0] || (l[0] = (c) => p(c))
160
+ }), [
161
+ h(g)
162
+ ], 16, q)) : (y(), K("button", v({
163
+ key: 2,
164
+ ref_key: "element",
165
+ ref: i,
166
+ type: e.type,
167
+ class: m.value,
168
+ disabled: s.value
169
+ }, b.value, {
170
+ onClick: l[1] || (l[1] = (c) => p(c))
171
+ }), [
172
+ h(g)
173
+ ], 16, F));
174
+ }
175
+ });
176
+ export {
177
+ oe as _,
178
+ ne as a,
179
+ V as m,
180
+ W as s,
181
+ G as u
182
+ };
@@ -0,0 +1,129 @@
1
+ import { defineComponent as k, computed as N, openBlock as n, createBlock as u, unref as a, withCtx as g, createElementBlock as p, Fragment as _, renderList as $, createElementVNode as i, toDisplayString as h, createCommentVNode as C, ref as x, watch as b, createVNode as y } from "vue";
2
+ import { useI18n as E } from "vue-i18n";
3
+ import { P as V, i as R } from "./index-BAcl44SC.js";
4
+ import { u as S } from "./platform-hunMqFdB.js";
5
+ import { b as B } from "./routeResource-DstM0hvf.js";
6
+ import { _ as F } from "./AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js";
7
+ import { u as L } from "./useLoad-CYRVx6HW.js";
8
+ import { _ as P } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
9
+ import { _ as I } from "./IconTile.vue_vue_type_script_setup_true_lang-D7QgnUyN.js";
10
+ import { u as O } from "./format-B8mJm946.js";
11
+ import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-0mfG8TkU.js";
12
+ import { e as U } from "./options-BXkMR63B.js";
13
+ import { _ as q } from "./PageBar.vue_vue_type_script_setup_true_lang-Cfr5xsJx.js";
14
+ import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
15
+ import { _ as A } from "./ViewTabs.vue_vue_type_script_setup_true_lang-ByqTU2JT.js";
16
+ const D = { class: "flex items-center pl-0.5" }, G = { class: "flex flex-wrap items-center gap-x-1.5" }, H = {
17
+ class: "font-medium text-content",
18
+ "data-change-actor": ""
19
+ }, W = /* @__PURE__ */ k({
20
+ __name: "ChangeFeed",
21
+ props: {
22
+ rows: {}
23
+ },
24
+ setup(v) {
25
+ const w = v, { t: r, te: f } = E(), d = O(), m = /* @__PURE__ */ new Set(["created", "activated", "deactivated", "password"]), c = (s) => r(`core.users.changes.fields.${s}`), l = N(
26
+ () => w.rows.map((s) => {
27
+ const t = f(`core.users.changes.actions.${s.action}`) ? r(`core.users.changes.actions.${s.action}`) : r("core.users.changes.actions.unknown"), e = m.has(s.action) ? [] : s.fields.filter((o) => o !== "password" && f(`core.users.changes.fields.${o}`)).map((o) => o in s.before || o in s.after ? r("core.users.changes.diff", { field: c(o), before: s.before[o] || "—", after: s.after[o] || "—" }) : c(o));
28
+ return { row: s, sentence: t, details: e };
29
+ })
30
+ );
31
+ return (s, t) => (n(), u(a(T), { "data-change-feed": "" }, {
32
+ default: g(() => [
33
+ (n(!0), p(_, null, $(l.value, (e) => (n(), u(a(U), {
34
+ key: e.row.id,
35
+ layout: "setting",
36
+ label: e.sentence,
37
+ "data-change-row": ""
38
+ }, {
39
+ leading: g(() => [
40
+ i("span", D, [
41
+ e.row.actor?.name ? (n(), u(a(P), {
42
+ key: 0,
43
+ name: e.row.actor.name,
44
+ size: "sm"
45
+ }, null, 8, ["name"])) : (n(), u(a(I), {
46
+ key: 1,
47
+ tone: "anchor",
48
+ icon: "edit"
49
+ }))
50
+ ])
51
+ ]),
52
+ sub: g(() => [
53
+ i("span", G, [
54
+ e.row.actor ? (n(), p(_, { key: 0 }, [
55
+ i("span", H, h(e.row.actor.name || a(r)("core.account.somebody_else")), 1),
56
+ t[0] || (t[0] = i("span", { "aria-hidden": "true" }, "·", -1))
57
+ ], 64)) : C("", !0),
58
+ (n(!0), p(_, null, $(e.details, (o) => (n(), p(_, { key: o }, [
59
+ i("span", null, h(o), 1),
60
+ t[1] || (t[1] = i("span", { "aria-hidden": "true" }, "·", -1))
61
+ ], 64))), 128)),
62
+ i("span", null, h(a(d).dateTime(e.row.created_at)), 1)
63
+ ])
64
+ ]),
65
+ _: 2
66
+ }, 1032, ["label"]))), 128))
67
+ ]),
68
+ _: 1
69
+ }));
70
+ }
71
+ }), Y = {
72
+ class: "flex min-w-0 flex-col gap-group-gap",
73
+ "data-person-changes": ""
74
+ }, j = {
75
+ key: 0,
76
+ class: "px-row-inset py-4 text-body text-content-muted",
77
+ "data-changes-empty": ""
78
+ }, ie = /* @__PURE__ */ k({
79
+ __name: "Changes",
80
+ setup(v) {
81
+ const w = ["all", "access", "details"], { t: r } = E(), { http: f } = S(), d = B(V), m = x("all"), c = x(1), l = L(
82
+ async ({ signal: s }) => {
83
+ const t = d.id.value;
84
+ return t === null ? null : (await f.request(R.usersChanges, { id: t, view: m.value, page: c.value, per_page: 20 }, { signal: s })).data;
85
+ },
86
+ { watch: () => d.id.value }
87
+ );
88
+ return b(m, () => {
89
+ c.value = 1, l.reload();
90
+ }), b(c, () => void l.reload()), (s, t) => (n(), p("div", Y, [
91
+ y(z, {
92
+ title: a(r)("core.users.sections.changes"),
93
+ description: a(r)("core.users.intro.changes", { name: a(d).data.value?.name ?? "" })
94
+ }, null, 8, ["title", "description"]),
95
+ y(A, {
96
+ modelValue: m.value,
97
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => m.value = e),
98
+ views: w,
99
+ counts: a(l).data.value?.meta?.views,
100
+ "label-of": (e) => a(r)(`core.users.changes.views.${e}`),
101
+ label: a(r)("core.users.sections.changes")
102
+ }, null, 8, ["modelValue", "counts", "label-of", "label"]),
103
+ y(a(F), {
104
+ state: a(l).state.value,
105
+ "skeleton-rows": 5,
106
+ "is-empty": () => !1,
107
+ onRetry: t[2] || (t[2] = (e) => a(l).reload())
108
+ }, {
109
+ default: g(({ value: e }) => [
110
+ !e || e.data.length === 0 ? (n(), p("p", j, h(a(r)("core.users.changes.empty")), 1)) : (n(), u(W, {
111
+ key: 1,
112
+ rows: e.data
113
+ }, null, 8, ["rows"])),
114
+ e ? (n(), u(q, {
115
+ key: 2,
116
+ page: c.value,
117
+ "onUpdate:page": t[1] || (t[1] = (o) => c.value = o),
118
+ "last-page": e.last_page,
119
+ total: e.total
120
+ }, null, 8, ["page", "last-page", "total"])) : C("", !0)
121
+ ]),
122
+ _: 1
123
+ }, 8, ["state"])
124
+ ]));
125
+ }
126
+ });
127
+ export {
128
+ ie as default
129
+ };