@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,60 +1,65 @@
1
- import { watch as Y, onUnmounted as se, computed as i, ref as P, defineComponent as ae, useSlots as q, useId as oe, openBlock as t, createBlock as h, Teleport as ne, createElementBlock as a, unref as s, createVNode as x, Transition as T, withCtx as z, normalizeStyle as G, createCommentVNode as o, normalizeClass as _, createElementVNode as n, mergeProps as J, toDisplayString as p, renderSlot as m, createTextVNode as le } from "vue";
2
- import { useI18n as ie } from "vue-i18n";
3
- import { _ as K } from "./Button.vue_vue_type_script_setup_true_lang-3f0emVNU.js";
4
- import { _ as Q } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
5
- import { u as re } from "./mediaQuery-CygcXmFW.js";
6
- import { u as de } from "./useDialog-wmyNx2j_.js";
7
- import { u as ce } from "./Sheet.vue_vue_type_script_setup_true_lang-BLBD5ps8.js";
8
- import { _ as R, a as X } from "./ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.js";
9
- import { p as ue } from "./perDocument-DUuFrdGU.js";
10
- const pe = Symbol("vue-core:open-sheets"), me = () => ue(pe, () => P([]));
11
- function fe(j) {
12
- const r = me(), f = Symbol("sheet");
1
+ import { toValue as oe, watch as ee, onUnmounted as le, computed as i, ref as j, defineComponent as ne, useSlots as q, useId as ie, inject as re, openBlock as t, createBlock as _, Teleport as de, createElementBlock as a, unref as s, createVNode as k, Transition as T, withCtx as z, normalizeStyle as V, createCommentVNode as o, normalizeClass as y, createElementVNode as n, mergeProps as G, toDisplayString as m, renderSlot as f, createTextVNode as ce } from "vue";
2
+ import { useI18n as ue } from "vue-i18n";
3
+ import { _ as J } from "./Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js";
4
+ import { _ as Q } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
5
+ import { u as pe } from "./mediaQuery-CygcXmFW.js";
6
+ import { u as me } from "./useDialog-CXR3hN0G.js";
7
+ import { u as fe } from "./useSheetDrag-OsD6Eb6I.js";
8
+ import { a as R, _ as Y } from "./ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js";
9
+ import { p as ve } from "./perDocument-DUuFrdGU.js";
10
+ const be = Symbol("vue-core.modalPlacement");
11
+ function ye(g, l) {
12
+ const d = g === void 0 ? {} : oe(g);
13
+ return { align: l?.align ?? d.align ?? "center", offsetX: l?.offsetX ?? d.offsetX ?? 0 };
14
+ }
15
+ const ge = Symbol("vue-core:open-sheets"), he = () => ve(ge, () => j([]));
16
+ function xe(g) {
17
+ const l = he(), d = Symbol("sheet");
13
18
  function e() {
14
- r.value = r.value.filter((l) => l !== f);
19
+ l.value = l.value.filter((r) => r !== d);
15
20
  }
16
- Y(j, (l) => {
17
- l && !r.value.includes(f) && (r.value = [...r.value, f]), l || e();
18
- }, { immediate: !0 }), se(e);
19
- const k = i(() => {
20
- const l = r.value.indexOf(f);
21
- return l >= 0 && l < r.value.length - 1;
22
- }), C = i(() => r.value.indexOf(f) > 0);
23
- return { covered: k, stacked: C };
21
+ ee(g, (r) => {
22
+ r && !l.value.includes(d) && (l.value = [...l.value, d]), r || e();
23
+ }, { immediate: !0 }), le(e);
24
+ const w = i(() => {
25
+ const r = l.value.indexOf(d);
26
+ return r >= 0 && r < l.value.length - 1;
27
+ }), C = i(() => l.value.indexOf(d) > 0);
28
+ return { covered: w, stacked: C };
24
29
  }
25
- const ve = ["aria-labelledby", "data-presentation"], be = ["data-covered"], ye = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-2 px-row-inset" }, ge = { class: "flex justify-start" }, he = ["disabled"], xe = ["id"], _e = { key: 1 }, ke = { class: "flex justify-end" }, we = ["disabled", "aria-busy"], Se = {
30
+ const _e = ["aria-labelledby", "data-presentation"], ke = ["data-covered"], we = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-2 px-row-inset" }, Se = { class: "flex justify-start" }, $e = ["disabled"], ze = ["id"], Ce = { key: 1 }, Le = { class: "flex justify-end" }, Be = ["disabled", "aria-busy"], De = {
26
31
  key: 0,
27
32
  class: "-mt-1 px-row-inset pb-1 text-center text-footnote text-content-muted"
28
- }, ze = {
33
+ }, Pe = {
29
34
  key: 1,
30
35
  class: "px-screen-padding pt-1 pb-3"
31
- }, Ce = {
36
+ }, Ie = {
32
37
  key: 1,
33
38
  class: "flex shrink-0 flex-col gap-2 border-t border-border-separator bg-surface-cell px-screen-padding pt-3 pb-[max(0.75rem,var(--app-safe-bottom))]"
34
- }, Le = {
39
+ }, Ee = {
35
40
  key: 0,
36
41
  class: "flex items-center justify-center"
37
- }, $e = { class: "flex min-h-full items-center justify-center p-4" }, Be = ["data-covered"], De = {
42
+ }, je = ["data-covered"], Xe = {
38
43
  key: 0,
39
44
  class: "absolute inset-x-0 top-0 z-20 overflow-hidden rounded-t-dialog"
40
- }, Ie = { class: "flex min-w-0 flex-1 flex-col gap-3.5" }, Ee = {
45
+ }, Fe = { class: "flex min-w-0 flex-1 flex-col gap-3.5" }, Ne = {
41
46
  key: 0,
42
47
  class: "flex flex-col gap-0.5"
43
- }, Pe = ["id"], je = {
48
+ }, Te = ["id"], Ve = {
44
49
  key: 0,
45
50
  class: "text-subheadline text-content-muted"
46
- }, Fe = ["disabled", "aria-label"], Ne = {
51
+ }, Oe = ["disabled", "aria-label"], Ae = {
47
52
  key: 2,
48
53
  class: "sticky bottom-0 z-10 flex flex-row-reverse flex-wrap items-center gap-2.5 rounded-b-dialog border-t border-border-separator bg-surface-cell px-5 py-3.5"
49
- }, Te = {
54
+ }, He = {
50
55
  key: 0,
51
56
  class: "contents",
52
57
  "data-part": "primary"
53
- }, Oe = {
58
+ }, Me = {
54
59
  key: 1,
55
60
  class: "contents",
56
61
  "data-part": "cancel"
57
- }, Ve = { class: "flex grow items-center" }, Ke = /* @__PURE__ */ ae({
62
+ }, We = { class: "flex grow items-center" }, et = /* @__PURE__ */ ne({
58
63
  __name: "Modal",
59
64
  props: {
60
65
  title: { default: void 0 },
@@ -71,39 +76,40 @@ const ve = ["aria-labelledby", "data-presentation"], be = ["data-covered"], ye =
71
76
  processingLabel: { default: void 0 },
72
77
  doneLabel: { default: void 0 },
73
78
  cancellableWhileProcessing: { type: Boolean, default: !1 },
74
- progress: { default: void 0 }
79
+ progress: { default: void 0 },
80
+ placement: { default: void 0 }
75
81
  },
76
82
  emits: ["primary", "presented", "dismissed"],
77
- setup(j, { expose: r, emit: f }) {
78
- const e = j, k = f, C = q(), { t: l } = ie(), L = q(), $ = P(null), O = P(null), w = oe(), S = re(), v = de($, {
83
+ setup(g, { expose: l, emit: d }) {
84
+ const e = g, w = d, C = q(), { t: r } = ue(), L = q(), B = j(null), O = j(null), S = ie(), $ = pe(), te = re(be, void 0), X = i(() => ye(te, e.placement)), v = me(B, {
79
85
  beforeDismiss: () => e.beforeDismiss?.() ?? !0,
80
- initialFocus: () => S.value ? "panel" : "first",
81
- onPresented: () => k("presented"),
82
- onDismissed: () => k("dismissed")
83
- }), { isOpen: b } = v, y = ce({ enabled: S, panel: $, body: O, onDismiss: () => v.dismiss() }), { covered: B, stacked: V } = fe(b), F = P(!1), A = () => {
86
+ initialFocus: () => $.value ? "panel" : "first",
87
+ onPresented: () => w("presented"),
88
+ onDismissed: () => w("dismissed")
89
+ }), { isOpen: b } = v, h = fe({ enabled: $, panel: B, body: O, onDismiss: () => v.dismiss() }), { covered: D, stacked: A } = xe(b), F = j(!1), H = () => {
84
90
  b.value || (F.value = !1);
85
91
  };
86
- Y(b, (d) => {
87
- d && (F.value = !0);
92
+ ee(b, (c) => {
93
+ c && (F.value = !0);
88
94
  }, { flush: "sync" });
89
- function ee() {
90
- y.reset(), v.present();
95
+ function se() {
96
+ h.reset(), v.present();
91
97
  }
92
- const g = i(() => e.status === "processing"), c = i(() => e.status === "done"), D = i(() => !!(e.title || L.header)), I = i(() => !e.withoutCloseButton), H = i(() => e.primaryLabel || L.actions ? l("core.actions.cancel") : l("core.actions.close")), M = i(() => e.primaryDisabled || g.value || c.value), N = i(() => g.value && !e.cancellableWhileProcessing || c.value), E = i(() => c.value && e.doneLabel ? e.doneLabel : g.value && e.processingLabel ? e.processingLabel : e.primaryLabel), W = i(() => e.withoutFooter ? !1 : S.value ? !!(L.actions || L.timestamp) : !0);
98
+ const x = i(() => e.status === "processing"), u = i(() => e.status === "done"), P = i(() => !!(e.title || L.header)), I = i(() => !e.withoutCloseButton), M = i(() => e.primaryLabel || L.actions ? r("core.actions.cancel") : r("core.actions.close")), W = i(() => e.primaryDisabled || x.value || u.value), N = i(() => x.value && !e.cancellableWhileProcessing || u.value), E = i(() => u.value && e.doneLabel ? e.doneLabel : x.value && e.processingLabel ? e.processingLabel : e.primaryLabel), K = i(() => e.withoutFooter ? !1 : $.value ? !!(L.actions || L.timestamp) : !0);
93
99
  function U() {
94
- M.value || k("primary");
100
+ W.value || w("primary");
95
101
  }
96
- const te = { sm: "max-w-sm", md: "max-w-dialog", lg: "max-w-4xl", xl: "max-w-6xl" };
97
- return r({ present: ee, dismiss: async () => v.dismiss() }), (d, u) => (t(), h(ne, { to: "body" }, [
102
+ const ae = { sm: "max-w-sm", md: "max-w-dialog", lg: "max-w-4xl", xl: "max-w-6xl" };
103
+ return l({ present: se, dismiss: async () => v.dismiss() }), (c, p) => (t(), _(de, { to: "body" }, [
98
104
  F.value ? (t(), a("div", {
99
105
  key: 0,
100
106
  class: "relative z-9999",
101
- "aria-labelledby": D.value && e.title ? s(w) : void 0,
107
+ "aria-labelledby": P.value && e.title ? s(S) : void 0,
102
108
  role: "dialog",
103
109
  "aria-modal": "true",
104
- "data-presentation": s(S) ? "sheet" : "dialog"
110
+ "data-presentation": s($) ? "sheet" : "dialog"
105
111
  }, [
106
- x(T, {
112
+ k(T, {
107
113
  appear: "",
108
114
  "enter-active-class": "transition-opacity duration-motion-normal ease-motion-standard",
109
115
  "enter-from-class": "opacity-0",
@@ -114,76 +120,76 @@ const ve = ["aria-labelledby", "data-presentation"], be = ["data-covered"], ye =
114
120
  s(b) ? (t(), a("div", {
115
121
  key: 0,
116
122
  class: "fixed inset-0 bg-scrim",
117
- style: G(s(y).backdropStyle.value),
123
+ style: V(s(h).backdropStyle.value),
118
124
  "aria-hidden": "true"
119
125
  }, null, 4)) : o("", !0)
120
126
  ]),
121
127
  _: 1
122
128
  }),
123
- s(S) ? (t(), h(T, {
129
+ s($) ? (t(), _(T, {
124
130
  key: 0,
125
131
  appear: "",
126
132
  "enter-active-class": "transition-transform duration-motion-sheet ease-motion-sheet",
127
133
  "enter-from-class": "translate-y-full",
128
134
  "leave-active-class": "pointer-events-none transition-transform duration-motion-normal ease-motion-standard",
129
135
  "leave-to-class": "translate-y-full",
130
- onAfterLeave: A
136
+ onAfterLeave: H
131
137
  }, {
132
138
  default: z(() => [
133
139
  s(b) ? (t(), a("div", {
134
140
  key: 0,
135
141
  ref_key: "panel",
136
- ref: $,
142
+ ref: B,
137
143
  tabindex: "-1",
138
144
  "data-part": "panel",
139
- class: _(["fixed inset-x-0 bottom-0 top-[calc(var(--app-safe-top)+0.625rem)] mx-auto flex w-full max-w-readable flex-col overflow-hidden rounded-t-sheet text-content-strong shadow-dialog outline-none", [e.grouped ? "bg-surface-page" : "bg-surface-cell", s(y).dragging.value ? "" : "transition-transform duration-motion-normal ease-motion-sheet", s(B) ? "origin-top scale-95" : "", s(V) ? "translate-y-3" : ""]]),
140
- "data-covered": s(B) || void 0,
141
- style: G(s(y).panelStyle.value)
145
+ class: y(["fixed inset-x-0 bottom-0 top-[calc(var(--app-safe-top)+0.625rem)] mx-auto flex w-full max-w-readable flex-col overflow-hidden rounded-t-sheet text-content-strong shadow-dialog outline-none", [e.grouped ? "bg-surface-page" : "bg-surface-cell", s(h).dragging.value ? "" : "transition-transform duration-motion-normal ease-motion-sheet", s(D) ? "origin-top scale-95" : "", s(A) ? "translate-y-3" : ""]]),
146
+ "data-covered": s(D) || void 0,
147
+ style: V(s(h).panelStyle.value)
142
148
  }, [
143
- e.progress ? (t(), h(R, {
149
+ e.progress ? (t(), _(R, {
144
150
  key: 0,
145
151
  hairline: "",
146
152
  value: e.progress.value,
147
153
  done: e.progress.complete,
148
154
  class: "absolute inset-x-0 top-0 z-20"
149
155
  }, null, 8, ["value", "done"])) : o("", !0),
150
- n("div", J({ class: "shrink-0 cursor-grab touch-none select-none" }, s(y).handleEvents), [
151
- u[3] || (u[3] = n("div", {
156
+ n("div", G({ class: "shrink-0 cursor-grab touch-none select-none" }, s(h).handleEvents), [
157
+ p[3] || (p[3] = n("div", {
152
158
  class: "flex justify-center pt-1.5",
153
159
  "aria-hidden": "true"
154
160
  }, [
155
161
  n("span", { class: "h-1.25 w-9 rounded-full bg-fill-strong" })
156
162
  ], -1)),
157
- n("div", ye, [
158
- n("div", ge, [
163
+ n("div", we, [
164
+ n("div", Se, [
159
165
  I.value ? (t(), a("button", {
160
166
  key: 0,
161
167
  type: "button",
162
168
  disabled: N.value,
163
169
  "data-part": "cancel",
164
170
  class: "hit-target -ml-1 cursor-pointer rounded-control px-1 text-body text-content-link disabled:text-content-disabled",
165
- onClick: u[0] || (u[0] = (Z) => s(v).dismiss())
166
- }, p(H.value), 9, he)) : o("", !0)
171
+ onClick: p[0] || (p[0] = (Z) => s(v).dismiss())
172
+ }, m(M.value), 9, $e)) : o("", !0)
167
173
  ]),
168
174
  e.title ? (t(), a("h2", {
169
175
  key: 0,
170
- id: s(w),
176
+ id: s(S),
171
177
  class: "truncate text-center text-headline font-semibold"
172
- }, p(e.title), 9, xe)) : (t(), a("span", _e)),
173
- n("div", ke, [
178
+ }, m(e.title), 9, ze)) : (t(), a("span", Ce)),
179
+ n("div", Le, [
174
180
  e.primaryLabel ? (t(), a("button", {
175
181
  key: 0,
176
182
  type: "button",
177
- disabled: M.value,
183
+ disabled: W.value,
178
184
  "data-part": "primary",
179
185
  class: "hit-target -mr-1 flex cursor-pointer items-center gap-1.5 rounded-control px-1 text-body font-semibold text-content-link disabled:cursor-default disabled:text-content-disabled",
180
- "aria-busy": g.value || void 0,
186
+ "aria-busy": x.value || void 0,
181
187
  onClick: U
182
188
  }, [
183
- c.value ? (t(), h(X, {
189
+ u.value ? (t(), _(Y, {
184
190
  key: 0,
185
191
  size: 15
186
- })) : g.value ? (t(), h(s(Q), {
192
+ })) : x.value ? (t(), _(s(Q), {
187
193
  key: 1,
188
194
  name: "loader4Line",
189
195
  size: 16,
@@ -192,78 +198,81 @@ const ve = ["aria-labelledby", "data-presentation"], be = ["data-covered"], ye =
192
198
  (t(), a("span", {
193
199
  key: E.value,
194
200
  class: "animate-text-swap"
195
- }, p(E.value), 1))
196
- ], 8, we)) : o("", !0)
201
+ }, m(E.value), 1))
202
+ ], 8, Be)) : o("", !0)
197
203
  ])
198
204
  ]),
199
- e.subtitle ? (t(), a("p", Se, p(e.subtitle), 1)) : o("", !0),
200
- C.header ? (t(), a("div", ze, [
201
- m(d.$slots, "header", {
202
- titleId: s(w),
205
+ e.subtitle ? (t(), a("p", De, m(e.subtitle), 1)) : o("", !0),
206
+ C.header ? (t(), a("div", Pe, [
207
+ f(c.$slots, "header", {
208
+ titleId: s(S),
203
209
  compact: !0
204
210
  })
205
211
  ])) : o("", !0)
206
212
  ], 16),
207
- n("div", J({
213
+ n("div", G({
208
214
  ref_key: "body",
209
215
  ref: O,
210
216
  class: "min-h-0 flex-1 overflow-y-auto overscroll-contain px-screen-padding pt-2 pb-8"
211
- }, s(y).bodyEvents), [
212
- m(d.$slots, "default")
217
+ }, s(h).bodyEvents), [
218
+ f(c.$slots, "default")
213
219
  ], 16),
214
- W.value ? (t(), a("div", Ce, [
215
- m(d.$slots, "actions"),
216
- C.timestamp ? (t(), a("div", Le, [
217
- m(d.$slots, "timestamp")
220
+ K.value ? (t(), a("div", Ie, [
221
+ f(c.$slots, "actions"),
222
+ C.timestamp ? (t(), a("div", Ee, [
223
+ f(c.$slots, "timestamp")
218
224
  ])) : o("", !0)
219
225
  ])) : o("", !0)
220
- ], 14, be)) : o("", !0)
226
+ ], 14, ke)) : o("", !0)
221
227
  ]),
222
228
  _: 3
223
229
  })) : (t(), a("div", {
224
230
  key: 1,
225
- class: _(["fixed inset-0 z-10 w-screen overflow-y-auto [scrollbar-gutter:stable_both-edges]", s(b) ? "" : "pointer-events-none"])
231
+ class: y(["fixed inset-0 z-10 w-screen overflow-y-auto [scrollbar-gutter:stable_both-edges]", s(b) ? "" : "pointer-events-none"])
226
232
  }, [
227
- n("div", $e, [
228
- x(T, {
233
+ n("div", {
234
+ class: y(["flex min-h-full justify-center p-4", X.value.align === "top" ? "items-start pt-10" : "items-center"])
235
+ }, [
236
+ k(T, {
229
237
  appear: "",
230
238
  "enter-active-class": "transition duration-motion-normal ease-motion-standard",
231
239
  "enter-from-class": "opacity-0 scale-95",
232
240
  "leave-active-class": "pointer-events-none transition duration-motion-fast ease-motion-standard",
233
241
  "leave-to-class": "opacity-0 scale-95",
234
- onAfterLeave: A
242
+ onAfterLeave: H
235
243
  }, {
236
244
  default: z(() => [
237
245
  s(b) ? (t(), a("div", {
238
246
  key: 0,
239
247
  ref_key: "panel",
240
- ref: $,
248
+ ref: B,
241
249
  tabindex: "-1",
242
250
  "data-part": "panel",
243
- class: _(["relative my-8 w-full rounded-dialog text-left text-content-strong shadow-dialog outline-none transition-transform duration-motion-sheet ease-motion-sheet", [te[e.size], e.grouped ? "bg-surface-page" : "bg-surface-cell", s(B) ? "-translate-y-4" : "", s(V) ? "translate-y-4 scale-96" : ""]]),
244
- "data-covered": s(B) || void 0
251
+ class: y(["relative my-8 w-full rounded-dialog text-left text-content-strong shadow-dialog outline-none transition-transform duration-motion-sheet ease-motion-sheet", [ae[e.size], e.grouped ? "bg-surface-page" : "bg-surface-cell", s(D) ? "-translate-y-4" : "", s(A) ? "translate-y-4 scale-96" : ""]]),
252
+ "data-covered": s(D) || void 0,
253
+ style: V(X.value.offsetX ? { transform: `translateX(${X.value.offsetX}px)` } : void 0)
245
254
  }, [
246
- e.progress ? (t(), a("div", De, [
247
- x(R, {
255
+ e.progress ? (t(), a("div", Xe, [
256
+ k(R, {
248
257
  hairline: "",
249
258
  value: e.progress.value,
250
259
  done: e.progress.complete
251
260
  }, null, 8, ["value", "done"])
252
261
  ])) : o("", !0),
253
- D.value || I.value ? (t(), a("div", {
262
+ P.value || I.value ? (t(), a("div", {
254
263
  key: 1,
255
- class: _(["sticky top-0 z-10 flex items-start gap-3 rounded-t-dialog px-5 pt-4.5", [D.value ? "pb-3.5" : "pb-0", e.grouped ? "bg-surface-page" : "bg-surface-cell"]])
264
+ class: y(["sticky top-0 z-10 flex items-start gap-3 rounded-t-dialog px-5 pt-4.5", [P.value ? "pb-3.5" : "pb-0", e.grouped ? "bg-surface-page" : "bg-surface-cell"]])
256
265
  }, [
257
- n("div", Ie, [
258
- e.title ? (t(), a("div", Ee, [
266
+ n("div", Fe, [
267
+ e.title ? (t(), a("div", Ne, [
259
268
  n("h2", {
260
- id: s(w),
269
+ id: s(S),
261
270
  class: "text-title font-semibold"
262
- }, p(e.title), 9, Pe),
263
- e.subtitle ? (t(), a("p", je, p(e.subtitle), 1)) : o("", !0)
271
+ }, m(e.title), 9, Te),
272
+ e.subtitle ? (t(), a("p", Ve, m(e.subtitle), 1)) : o("", !0)
264
273
  ])) : o("", !0),
265
- m(d.$slots, "header", {
266
- titleId: s(w),
274
+ f(c.$slots, "header", {
275
+ titleId: s(S),
267
276
  compact: !1
268
277
  })
269
278
  ]),
@@ -272,72 +281,73 @@ const ve = ["aria-labelledby", "data-presentation"], be = ["data-covered"], ye =
272
281
  type: "button",
273
282
  "data-initial-focus-skip": "",
274
283
  disabled: N.value,
275
- "aria-label": s(l)("core.actions.close"),
284
+ "aria-label": s(r)("core.actions.close"),
276
285
  "data-part": "close",
277
286
  class: "hit-target flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full bg-fill text-content-muted transition-colors duration-motion-fast hover:bg-fill-strong disabled:opacity-45",
278
- onClick: u[1] || (u[1] = (Z) => s(v).dismiss())
287
+ onClick: p[1] || (p[1] = (Z) => s(v).dismiss())
279
288
  }, [
280
- x(s(Q), {
289
+ k(s(Q), {
281
290
  name: "close",
282
291
  size: 14
283
292
  })
284
- ], 8, Fe)) : o("", !0)
293
+ ], 8, Oe)) : o("", !0)
285
294
  ], 2)) : o("", !0),
286
295
  n("div", {
287
- class: _(["px-5 pb-5", D.value ? "pt-1" : "pt-3"])
296
+ class: y(["px-5 pb-5", P.value ? "pt-1" : "pt-3"])
288
297
  }, [
289
- m(d.$slots, "default")
298
+ f(c.$slots, "default")
290
299
  ], 2),
291
- W.value ? (t(), a("div", Ne, [
292
- e.primaryLabel ? (t(), a("span", Te, [
293
- x(K, {
300
+ K.value ? (t(), a("div", Ae, [
301
+ e.primaryLabel ? (t(), a("span", He, [
302
+ k(J, {
294
303
  prominence: "primary",
295
- icon: c.value ? void 0 : e.primaryIcon,
296
- processing: g.value,
297
- disabled: e.primaryDisabled || c.value,
298
- class: _(c.value ? "bg-control-on! opacity-100!" : ""),
304
+ icon: u.value ? void 0 : e.primaryIcon,
305
+ processing: x.value,
306
+ disabled: e.primaryDisabled || u.value,
307
+ class: y(u.value ? "bg-control-on! opacity-100!" : ""),
299
308
  onClick: U
300
309
  }, {
301
310
  default: z(() => [
302
- c.value ? (t(), h(X, {
311
+ u.value ? (t(), _(Y, {
303
312
  key: 0,
304
313
  size: 16
305
314
  })) : o("", !0),
306
315
  (t(), a("span", {
307
316
  key: E.value,
308
317
  class: "animate-text-swap"
309
- }, p(E.value), 1))
318
+ }, m(E.value), 1))
310
319
  ]),
311
320
  _: 1
312
321
  }, 8, ["icon", "processing", "disabled", "class"])
313
322
  ])) : o("", !0),
314
- m(d.$slots, "actions"),
315
- I.value ? (t(), a("span", Oe, [
316
- x(K, {
323
+ f(c.$slots, "actions"),
324
+ I.value ? (t(), a("span", Me, [
325
+ k(J, {
317
326
  prominence: "plain",
318
327
  disabled: N.value,
319
- onClick: u[2] || (u[2] = (Z) => s(v).dismiss())
328
+ onClick: p[2] || (p[2] = (Z) => s(v).dismiss())
320
329
  }, {
321
330
  default: z(() => [
322
- le(p(H.value), 1)
331
+ ce(m(M.value), 1)
323
332
  ]),
324
333
  _: 1
325
334
  }, 8, ["disabled"])
326
335
  ])) : o("", !0),
327
- n("div", Ve, [
328
- m(d.$slots, "timestamp")
336
+ n("div", We, [
337
+ f(c.$slots, "timestamp")
329
338
  ])
330
339
  ])) : o("", !0)
331
- ], 10, Be)) : o("", !0)
340
+ ], 14, je)) : o("", !0)
332
341
  ]),
333
342
  _: 3
334
343
  })
335
- ])
344
+ ], 2)
336
345
  ], 2))
337
- ], 8, ve)) : o("", !0)
346
+ ], 8, _e)) : o("", !0)
338
347
  ]));
339
348
  }
340
349
  });
341
350
  export {
342
- Ke as _
351
+ et as _,
352
+ be as m
343
353
  };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as _, computed as d, openBlock as y, createBlock as w, unref as e, withCtx as i, createVNode as l } from "vue";
2
+ import { useI18n as v } from "vue-i18n";
3
+ import { useRoute as k, useRouter as R } from "vue-router";
4
+ import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js";
5
+ import { _ as b } from "./AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js";
6
+ import { u as g } from "./useLoad-CYRVx6HW.js";
7
+ import { a as x, c as u } from "./index-B2dbYZR9.js";
8
+ import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-DuEPOmjI.js";
9
+ const V = /* @__PURE__ */ _({
10
+ __name: "NewRolePage",
11
+ setup(h) {
12
+ const { t: o } = v(), r = k(), p = R(), m = x(), t = d(() => typeof r.query.copy == "string" ? r.query.copy : ""), c = g(({ signal: s }) => t.value ? m.role(t.value, { signal: s }) : Promise.resolve(null), { watch: t }), f = (s) => p.replace(u.role({ ref: s.ref }));
13
+ return (s, a) => (y(), w(e($), {
14
+ title: e(o)("core.access.new_title"),
15
+ description: t.value ? e(o)("core.access.new_copy_description") : e(o)("core.access.new_description"),
16
+ back: { label: e(o)("core.access.title"), to: e(u).roles },
17
+ width: "content"
18
+ }, {
19
+ default: i(() => [
20
+ l(e(b), {
21
+ state: e(c).state.value,
22
+ "skeleton-rows": 8,
23
+ "is-empty": () => !1,
24
+ onRetry: a[0] || (a[0] = (n) => e(c).reload())
25
+ }, {
26
+ default: i(({ value: n }) => [
27
+ l(P, {
28
+ role: null,
29
+ source: n,
30
+ onSaved: f
31
+ }, null, 8, ["source"])
32
+ ]),
33
+ _: 1
34
+ }, 8, ["state"])
35
+ ]),
36
+ _: 1
37
+ }, 8, ["title", "description", "back"]));
38
+ }
39
+ });
40
+ export {
41
+ V as default
42
+ };
@@ -0,0 +1,31 @@
1
+ import { createWebHistory as c } from "vue-router";
2
+ import { defineComponent as s, openBlock as i, createBlock as a, unref as o } from "vue";
3
+ import { useI18n as p } from "vue-i18n";
4
+ import { _ as u } from "./EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js";
5
+ function _(e = navigator) {
6
+ return e.standalone === !0;
7
+ }
8
+ function m(e) {
9
+ const r = c(e);
10
+ return r.push = (t, n) => r.replace(t, n), r;
11
+ }
12
+ function H(e) {
13
+ return _() ? m(e) : c(e);
14
+ }
15
+ const h = /* @__PURE__ */ s({
16
+ __name: "NoAccess",
17
+ setup(e) {
18
+ const { t: r } = p();
19
+ return (t, n) => (i(), a(o(u), {
20
+ title: o(r)("core.no_access.title"),
21
+ description: o(r)("core.no_access.body"),
22
+ icon: "errorWarningLine"
23
+ }, null, 8, ["title", "description"]));
24
+ }
25
+ });
26
+ export {
27
+ h as _,
28
+ m as a,
29
+ H as c,
30
+ _ as i
31
+ };