@wssto2/vue-core 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/README.md +36 -0
  2. package/dist/AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js +22 -0
  3. package/dist/AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js +76 -0
  4. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-LlfIPWsJ.js +45 -0
  5. package/dist/Activity-2gGxQn7v.js +156 -0
  6. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CeKK8_g5.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-BoinCY93.js} +48 -47
  7. package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-e4hzkzg3.js → AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js} +1 -1
  8. package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CWLB3xsR.js → AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js} +4 -4
  9. package/dist/{Banner.vue_vue_type_script_setup_true_lang-n_wGPIIu.js → Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js} +1 -1
  10. package/dist/{BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js → BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js} +1 -1
  11. package/dist/{Button.vue_vue_type_script_setup_true_lang-B1eZgLae.js → Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js} +1 -1
  12. package/dist/Changes-Bm8xvagD.js +129 -0
  13. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-DCBVw2Qd.js +1485 -0
  14. package/dist/DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js +52 -0
  15. package/dist/DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js +255 -0
  16. package/dist/DeadLetters-CMRtXn_N.js +104 -0
  17. package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-DyhYHRyz.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js} +1 -1
  18. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js → EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js} +1 -1
  19. package/dist/FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js +276 -0
  20. package/dist/FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js +136 -0
  21. package/dist/FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js +38 -0
  22. package/dist/General-CTqd0SLK.js +145 -0
  23. package/dist/HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js +45 -0
  24. package/dist/{Icon.vue_vue_type_script_lang-DtC4_mkz.js → Icon.vue_vue_type_script_lang-D7oC-d-S.js} +54 -37
  25. package/dist/{IconTile.vue_vue_type_script_setup_true_lang-Csfv6Sel.js → IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js} +1 -1
  26. package/dist/KeyValue.vue_vue_type_script_setup_true_lang-wcZcvnow.js +35 -0
  27. package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CvwoT1JF.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js} +2 -2
  28. package/dist/{Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js → Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js} +66 -58
  29. package/dist/{Modal.vue_vue_type_script_setup_true_lang-BQZM49gC.js → Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js} +4 -4
  30. package/dist/NewRolePage-DTOWIxxC.js +42 -0
  31. package/dist/NoAccess.vue_vue_type_script_setup_true_lang-DWxq-MTM.js +31 -0
  32. package/dist/NumberField.vue_vue_type_script_setup_true_lang-C7N5nq0P.js +113 -0
  33. package/dist/OtpInput.vue_vue_type_script_setup_true_lang-gp4FfWAH.js +95 -0
  34. package/dist/PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js +47 -0
  35. package/dist/{Panel.vue_vue_type_script_setup_true_lang-BQmv3cLb.js → Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js} +1 -1
  36. package/dist/PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js +46 -0
  37. package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-ElDizaW2.js → PhotoViewer.vue_vue_type_script_setup_true_lang-QPCW3Xi6.js} +1 -1
  38. package/dist/Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js +125 -0
  39. package/dist/ProfilePage-BlpiWH_W.js +654 -0
  40. package/dist/{ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.js → ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js} +2 -2
  41. package/dist/RecordHeader.vue_vue_type_script_setup_true_lang-C_ymvhHU.js +64 -0
  42. package/dist/ResourcePage.vue_vue_type_script_setup_true_lang-CwI_sROp.js +173 -0
  43. package/dist/RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js +300 -0
  44. package/dist/RolePage-DZk7BZOc.js +315 -0
  45. package/dist/RolesPage-DzGGCMnm.js +115 -0
  46. package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +23 -0
  47. package/dist/SectionList.vue_vue_type_script_setup_true_lang-BFYls8fR.js +148 -0
  48. package/dist/SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js +314 -0
  49. package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js +58 -0
  50. package/dist/SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js +423 -0
  51. package/dist/SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js +111 -0
  52. package/dist/Sessions-CWqjjTr1.js +96 -0
  53. package/dist/SettingsPage-C4s0IdkW.js +255 -0
  54. package/dist/Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js +145 -0
  55. package/dist/SignIn-zzKY__df.js +140 -0
  56. package/dist/SignInPage-Rqnus_s-.js +60 -0
  57. package/dist/SignInTable.vue_vue_type_script_setup_true_lang-CEbAvZ_C.js +79 -0
  58. package/dist/SignIns-Cnf9BVR0.js +66 -0
  59. package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-BJIA2JfI.js +93 -0
  60. package/dist/SwitchField.vue_vue_type_script_setup_true_lang-CM8yp9JQ.js +64 -0
  61. package/dist/Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js +155 -0
  62. package/dist/TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js +269 -0
  63. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CqAWfABZ.js +68 -0
  64. package/dist/TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js +164 -0
  65. package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-CSY_mMm1.js → Timestamp.vue_vue_type_script_setup_true_lang-FVRUr-9y.js} +1 -1
  66. package/dist/UserRecord-DqigxVxH.js +267 -0
  67. package/dist/UsersList-DNlZsI9J.js +155 -0
  68. package/dist/ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js +28 -0
  69. package/dist/access/AddRoleDialog.vue.d.ts +19 -0
  70. package/dist/access/BindingRow.vue.d.ts +19 -0
  71. package/dist/access/EffectiveAccess.vue.d.ts +12 -0
  72. package/dist/access/NewRolePage.vue.d.ts +2 -0
  73. package/dist/access/PermissionTree.vue.d.ts +13 -0
  74. package/dist/access/PersonAccess.vue.d.ts +21 -0
  75. package/dist/access/ReplaceRoleDialog.vue.d.ts +17 -0
  76. package/dist/access/RoleCompareDialog.vue.d.ts +14 -0
  77. package/dist/access/RoleEditor.vue.d.ts +28 -0
  78. package/dist/access/RolePage.vue.d.ts +2 -0
  79. package/dist/access/RolesPage.vue.d.ts +2 -0
  80. package/dist/access/api.d.ts +26 -0
  81. package/dist/access/catalogue.d.ts +64 -0
  82. package/dist/access/context.d.ts +20 -0
  83. package/dist/access/effective.d.ts +42 -0
  84. package/dist/access/feature.d.ts +27 -0
  85. package/dist/access/index.d.ts +13 -0
  86. package/dist/access/index.js +15 -0
  87. package/dist/access/labels.d.ts +35 -0
  88. package/dist/access/refusals.d.ts +6 -0
  89. package/dist/access/routes.d.ts +45 -0
  90. package/dist/access/scopes.d.ts +20 -0
  91. package/dist/app/contributions.d.ts +1 -1
  92. package/dist/app/feature.d.ts +8 -0
  93. package/dist/app/index.js +259 -296
  94. package/dist/bottomDock-BZEiOPYZ.js +12 -0
  95. package/dist/button/Button.vue.d.ts +3 -3
  96. package/dist/button/index.js +1 -1
  97. package/dist/chrome-BS3xJcad.js +93 -0
  98. package/dist/client/client.d.ts +13 -0
  99. package/dist/client/index.d.ts +3 -1
  100. package/dist/client/index.js +11 -138
  101. package/dist/client/route.d.ts +59 -0
  102. package/dist/client-k9euDWF4.js +147 -0
  103. package/dist/closeOverlays-CjVsIrpL.js +8 -0
  104. package/dist/collection/definition.d.ts +3 -0
  105. package/dist/collection/http.d.ts +4 -2
  106. package/dist/collection/index.js +74 -2428
  107. package/dist/collection/useCollection.d.ts +2 -0
  108. package/dist/content/index.js +37 -66
  109. package/dist/contributions-DsfmDoRD.js +26 -0
  110. package/dist/control-7EP4tjYy.js +313 -0
  111. package/dist/controls/DateButton.vue.d.ts +1 -1
  112. package/dist/controls/PopupButton.vue.d.ts +1 -1
  113. package/dist/controls/index.js +11 -10
  114. package/dist/defineRoutes-BGAdiIrt.js +19 -0
  115. package/dist/{describeError-l5T9b8Uv.js → describeError-Ctga6GcS.js} +1 -1
  116. package/dist/environment-Dva-SG8D.js +6 -0
  117. package/dist/{error-Bb_dr_Ay.js → error-CD7x0Jrz.js} +2 -2
  118. package/dist/feature-DdUAfyi4.js +25 -0
  119. package/dist/fieldMessages-C3Rpbktw.js +25 -0
  120. package/dist/form/CheckboxField.vue.d.ts +1 -1
  121. package/dist/form/CommandDialog.vue.d.ts +1 -1
  122. package/dist/form/DateField.vue.d.ts +1 -1
  123. package/dist/form/DateTimeField.vue.d.ts +1 -1
  124. package/dist/form/EditorPage.vue.d.ts +1 -1
  125. package/dist/form/Field.vue.d.ts +1 -1
  126. package/dist/form/FileField.vue.d.ts +1 -1
  127. package/dist/form/FormGroup.vue.d.ts +1 -1
  128. package/dist/form/FormGroupButton.vue.d.ts +1 -1
  129. package/dist/form/FormRow.vue.d.ts +1 -1
  130. package/dist/form/I18nField.vue.d.ts +3 -3
  131. package/dist/form/MoneyField.vue.d.ts +1 -1
  132. package/dist/form/MonthYearField.vue.d.ts +1 -1
  133. package/dist/form/NumberCell.vue.d.ts +1 -1
  134. package/dist/form/NumberField.vue.d.ts +2 -2
  135. package/dist/form/OtpInput.vue.d.ts +2 -2
  136. package/dist/form/PhotoField.vue.d.ts +1 -1
  137. package/dist/form/SwitchField.vue.d.ts +1 -1
  138. package/dist/form/TextField.vue.d.ts +3 -3
  139. package/dist/form/TextareaField.vue.d.ts +3 -3
  140. package/dist/form/TimeField.vue.d.ts +1 -1
  141. package/dist/form/date/DatePickerSheet.vue.d.ts +1 -1
  142. package/dist/form/date/MonthYearPanel.vue.d.ts +1 -1
  143. package/dist/form/index.js +1159 -3474
  144. package/dist/guards-Dve61KjR.js +51 -0
  145. package/dist/http-CNcDHSOj.js +194 -0
  146. package/dist/i18n/index.d.ts +281 -0
  147. package/dist/i18n/index.js +52 -52
  148. package/dist/icon/core.d.ts +17 -0
  149. package/dist/icon/index.js +1 -1
  150. package/dist/identity/ImpersonationBanner.vue.d.ts +2 -0
  151. package/dist/identity/LocaleSync.vue.d.ts +2 -0
  152. package/dist/identity/SessionExpiry.vue.d.ts +2 -0
  153. package/dist/identity/SignInAsButton.vue.d.ts +15 -0
  154. package/dist/identity/SignInPage.vue.d.ts +2 -0
  155. package/dist/identity/context.d.ts +7 -0
  156. package/dist/identity/feature.d.ts +16 -0
  157. package/dist/identity/fieldMessages.d.ts +15 -0
  158. package/dist/identity/index.d.ts +16 -0
  159. package/dist/identity/index.js +18 -0
  160. package/dist/identity/profile/DetailsPanel.vue.d.ts +11 -0
  161. package/dist/identity/profile/EmailChangeDialog.vue.d.ts +14 -0
  162. package/dist/identity/profile/EmailPanel.vue.d.ts +11 -0
  163. package/dist/identity/profile/PanelActions.vue.d.ts +17 -0
  164. package/dist/identity/profile/PasswordPanel.vue.d.ts +2 -0
  165. package/dist/identity/profile/ProfileMenuItem.vue.d.ts +2 -0
  166. package/dist/identity/profile/ProfilePage.vue.d.ts +2 -0
  167. package/dist/identity/profile/SessionsPanel.vue.d.ts +2 -0
  168. package/dist/identity/profile/SignInsPanel.vue.d.ts +2 -0
  169. package/dist/identity/profile/VerifyCode.vue.d.ts +49 -0
  170. package/dist/identity/profile/routes.d.ts +13 -0
  171. package/dist/identity/session.d.ts +30 -0
  172. package/dist/identity/shared/ActionRow.vue.d.ts +20 -0
  173. package/dist/identity/shared/ChangeFeed.vue.d.ts +11 -0
  174. package/dist/identity/shared/PageBar.vue.d.ts +12 -0
  175. package/dist/identity/shared/SectionIntro.vue.d.ts +16 -0
  176. package/dist/identity/shared/SessionList.vue.d.ts +19 -0
  177. package/dist/identity/shared/SignInTable.vue.d.ts +11 -0
  178. package/dist/identity/shared/ViewTabs.vue.d.ts +23 -0
  179. package/dist/identity/shared/signInEvents.d.ts +9 -0
  180. package/dist/identity/signIn.d.ts +27 -0
  181. package/dist/identity/useSignInForm.d.ts +20 -0
  182. package/dist/identity/user.d.ts +6 -0
  183. package/dist/identity/users/DeactivateDialog.vue.d.ts +18 -0
  184. package/dist/identity/users/NewUserDialog.vue.d.ts +9 -0
  185. package/dist/identity/users/SetPasswordDialog.vue.d.ts +16 -0
  186. package/dist/identity/users/UserRecord.vue.d.ts +2 -0
  187. package/dist/identity/users/UsersList.vue.d.ts +2 -0
  188. package/dist/identity/users/access.d.ts +4 -0
  189. package/dist/identity/users/context.d.ts +9 -0
  190. package/dist/identity/users/feature.d.ts +34 -0
  191. package/dist/identity/users/languages.d.ts +4 -0
  192. package/dist/identity/users/list.d.ts +8 -0
  193. package/dist/identity/users/person.d.ts +26 -0
  194. package/dist/identity/users/personSections.d.ts +22 -0
  195. package/dist/identity/users/routes.d.ts +22 -0
  196. package/dist/identity/users/sections/Activity.vue.d.ts +2 -0
  197. package/dist/identity/users/sections/Changes.vue.d.ts +2 -0
  198. package/dist/identity/users/sections/General.vue.d.ts +2 -0
  199. package/dist/identity/users/sections/Sessions.vue.d.ts +2 -0
  200. package/dist/identity/users/sections/SignIn.vue.d.ts +2 -0
  201. package/dist/identity/users/sections/SignIns.vue.d.ts +2 -0
  202. package/dist/identity/users/status.d.ts +4 -0
  203. package/dist/index-BsJ92eub.js +504 -0
  204. package/dist/index-CGv-u1Ws.js +459 -0
  205. package/dist/index-GcLnFF-z.js +706 -0
  206. package/dist/index.d.ts +1 -1
  207. package/dist/index.js +1 -1
  208. package/dist/internal/languageName.d.ts +2 -0
  209. package/dist/keepAlive-WYQGRhuz.js +48 -0
  210. package/dist/languageName-CItV_SOv.js +11 -0
  211. package/dist/languages-BShG9LpE.js +10 -0
  212. package/dist/leaveGuard-Cc8yeLxM.js +72 -0
  213. package/dist/modal/Modal.vue.d.ts +1 -1
  214. package/dist/modal/Sheet.vue.d.ts +2 -0
  215. package/dist/modal/index.js +5 -5
  216. package/dist/modules/access/entities.d.ts +112 -0
  217. package/dist/modules/access/routes.d.ts +67 -0
  218. package/dist/modules/access/schemas.d.ts +73 -0
  219. package/dist/modules/events/entities.d.ts +16 -0
  220. package/dist/modules/events/routes.d.ts +17 -0
  221. package/dist/modules/events/schemas.d.ts +16 -0
  222. package/dist/modules/identity/entities.d.ts +150 -0
  223. package/dist/modules/identity/routes.d.ts +118 -0
  224. package/dist/modules/identity/schemas.d.ts +145 -0
  225. package/dist/modules/notification/entities.d.ts +46 -0
  226. package/dist/modules/notification/routes.d.ts +26 -0
  227. package/dist/modules/notification/schemas.d.ts +25 -0
  228. package/dist/{navigation-B33ikiCS.js → navigation-Cm3iChlR.js} +21 -20
  229. package/dist/neighbors-DpaIMQAL.js +86 -0
  230. package/dist/notifications/InboxPanel.vue.d.ts +16 -0
  231. package/dist/notifications/MarkAllRead.vue.d.ts +7 -0
  232. package/dist/notifications/NotificationBell.vue.d.ts +2 -0
  233. package/dist/notifications/SettingsLink.vue.d.ts +6 -0
  234. package/dist/notifications/context.d.ts +20 -0
  235. package/dist/notifications/deadletters/DeadLetters.vue.d.ts +2 -0
  236. package/dist/notifications/deadletters/access.d.ts +3 -0
  237. package/dist/notifications/deadletters/list.d.ts +3 -0
  238. package/dist/notifications/deadletters/routes.d.ts +13 -0
  239. package/dist/notifications/feature.d.ts +31 -0
  240. package/dist/notifications/inbox.d.ts +62 -0
  241. package/dist/notifications/index.d.ts +13 -0
  242. package/dist/notifications/index.js +8 -0
  243. package/dist/notifications/settings/EmailPanel.vue.d.ts +14 -0
  244. package/dist/notifications/settings/QuietHoursPanel.vue.d.ts +14 -0
  245. package/dist/notifications/settings/SettingsMenuItem.vue.d.ts +2 -0
  246. package/dist/notifications/settings/SettingsPage.vue.d.ts +2 -0
  247. package/dist/notifications/settings/categoryText.d.ts +9 -0
  248. package/dist/notifications/settings/routes.d.ts +13 -0
  249. package/dist/notifications/settings/settings.d.ts +18 -0
  250. package/dist/notifications/settings/state.d.ts +16 -0
  251. package/dist/notifications/state.d.ts +27 -0
  252. package/dist/notifications/stream.d.ts +21 -0
  253. package/dist/options-Ba_0uLWN.js +18 -0
  254. package/dist/overlay/AlertDialog.vue.d.ts +3 -3
  255. package/dist/overlay/Popover.vue.d.ts +1 -1
  256. package/dist/overlay/closeOverlays.d.ts +7 -0
  257. package/dist/overlay/index.js +21 -20
  258. package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
  259. package/dist/page/ResourceHeader.vue.d.ts +2 -2
  260. package/dist/page/index.js +99 -457
  261. package/dist/phone/PhoneField.vue.d.ts +2 -2
  262. package/dist/phone/index.js +68 -67
  263. package/dist/platform/index.d.ts +2 -2
  264. package/dist/platform/index.js +73 -90
  265. package/dist/platform/platform.d.ts +2 -2
  266. package/dist/platform/session.d.ts +22 -1
  267. package/dist/platform-q3cjODLx.js +255 -0
  268. package/dist/resource/index.js +8 -248
  269. package/dist/route-goWMxDUN.js +13 -0
  270. package/dist/routeResource-DstM0hvf.js +82 -0
  271. package/dist/router/guards.d.ts +7 -1
  272. package/dist/router/index.js +23 -37
  273. package/dist/router/navigation.d.ts +1 -1
  274. package/dist/rowLayout-BqTEhEuy.js +603 -0
  275. package/dist/sectionIndex-BS0ic5W7.js +86 -0
  276. package/dist/{sections-LtxV5Mtk.js → sections-CntvUTxn.js} +1 -1
  277. package/dist/shell/AccountMenuItem.vue.d.ts +1 -1
  278. package/dist/shell/BackofficeShell.vue.d.ts +2 -2
  279. package/dist/shell/NavigationList.vue.d.ts +1 -1
  280. package/dist/shell/ShellBrand.vue.d.ts +1 -1
  281. package/dist/shell/backofficeShell.d.ts +1 -1
  282. package/dist/shell/identity.d.ts +1 -1
  283. package/dist/shell/index.js +491 -595
  284. package/dist/state/ProgressTrack.vue.d.ts +1 -1
  285. package/dist/state/index.js +59 -92
  286. package/dist/status-BuP3ULjH.js +33 -0
  287. package/dist/styles.css +1 -1
  288. package/dist/suggestions-BxMm6MQA.js +138 -0
  289. package/dist/testing/index.js +1 -1
  290. package/dist/toast-D9Z5To38.js +13 -0
  291. package/dist/transport-BnP7WC0Y.js +4 -0
  292. package/dist/useCommand-BkONMn3X.js +135 -0
  293. package/dist/useLoad-CYRVx6HW.js +39 -0
  294. package/dist/useResourceForm-D1hIpwW5.js +52 -0
  295. package/dist/useSaveChrome-chi6D3HY.js +25 -0
  296. package/dist/useSheetDrag-OsD6Eb6I.js +72 -0
  297. package/dist/useTypedEntry-aTfPBAhw.js +857 -0
  298. package/package.json +26 -5
  299. package/dist/NoAccess.vue_vue_type_script_setup_true_lang-OKW8pKYU.js +0 -78
  300. package/dist/SectionList.vue_vue_type_script_setup_true_lang-L9ita_Kx.js +0 -230
  301. package/dist/SelectField.vue_vue_type_script_setup_true_lang-DZTrU8NJ.js +0 -661
  302. package/dist/Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js +0 -210
  303. package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-CGTuEnTv.js +0 -243
  304. package/dist/chrome-D9pwD6iS.js +0 -101
  305. package/dist/environment-D3nozt9a.js +0 -75
  306. package/dist/feature-DyDtyMLU.js +0 -47
  307. package/dist/options-DAkBtYkI.js +0 -330
  308. package/dist/platform-jqlKVJ2e.js +0 -244
  309. package/dist/toast-DvrHQ6Ag.js +0 -131
@@ -1,27 +1,27 @@
1
- import { inject as c, provide as p, defineComponent as d, h as u } from "vue";
2
- import { d as C } from "./context-Ch1r4fdN.js";
3
- const [l] = C("vue-core.icons");
1
+ import { inject as C, provide as c, defineComponent as p, h as L } from "vue";
2
+ import { d } from "./context-Ch1r4fdN.js";
3
+ const [l] = d("vue-core.icons");
4
4
  function v(o) {
5
- const e = {}, r = /* @__PURE__ */ new Map();
6
- return o.forEach((t, n) => {
7
- for (const [s, i] of Object.entries(t)) {
5
+ const t = {}, e = /* @__PURE__ */ new Map();
6
+ return o.forEach((r, n) => {
7
+ for (const [s, i] of Object.entries(r)) {
8
8
  if (i === void 0) continue;
9
- const w = r.get(s);
9
+ const w = e.get(s);
10
10
  if (w !== void 0) throw new Error(`[vue-core] The icon "${s}" is in two icon sets (#${w + 1} and #${n + 1}); each icon comes from one set.`);
11
- r.set(s, n), e[s] = i;
11
+ e.set(s, n), t[s] = i;
12
12
  }
13
- }), e;
13
+ }), t;
14
14
  }
15
- function V(o, ...e) {
16
- o.provide(l, v(e));
15
+ function f(o, ...t) {
16
+ o.provide(l, v(t));
17
17
  }
18
- function M(...o) {
19
- p(l, { ...c(l, {}), ...v(o) });
18
+ function m(...o) {
19
+ c(l, { ...C(l, {}), ...v(o) });
20
20
  }
21
- function L() {
22
- return c(l, {});
21
+ function V() {
22
+ return C(l, {});
23
23
  }
24
- const x = {
24
+ const u = {
25
25
  close: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"></path></svg>',
26
26
  loader4Line: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.364 5.63604L16.9497 7.05025C15.683 5.7835 13.933 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.4853 3 16.7353 4.00736 18.364 5.63604Z"></path></svg>',
27
27
  expandUpDownLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.2072 9.0428 12.0001 2.83569 5.793 9.0428 7.20721 10.457 12.0001 5.66412 16.793 10.457 18.2072 9.0428ZM5.79285 14.9572 12 21.1643 18.2071 14.9572 16.7928 13.543 12 18.3359 7.20706 13.543 5.79285 14.9572Z"></path></svg>',
@@ -56,27 +56,44 @@ const x = {
56
56
  phone: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z"/></svg>',
57
57
  message: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>',
58
58
  copy: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="12" height="12" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg>',
59
- history: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>'
59
+ history: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>',
60
+ user3Line: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z"></path></svg>',
61
+ key2Line: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z"></path></svg>',
62
+ deviceLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z"></path></svg>',
63
+ timeFill: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM13 12V7H11V14H17V12H13Z"></path></svg>',
64
+ edit: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>',
65
+ lockLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM5 12V20H19V12H5ZM11 14H13V18H11V14ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17Z"></path></svg>',
66
+ checkCircle: '<svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>',
67
+ addLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"></path></svg>',
68
+ mailUnreadFill: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.8032 8.4928C19.4663 8.81764 20.2118 9 21 9C21.3425 9 21.6769 8.96557 22 8.89998V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H16.1C16.0344 3.32311 16 3.65753 16 4C16 5.23672 16.449 6.36857 17.1929 7.24142L12.0606 11.6829L5.64722 6.2377L4.35278 7.7623L12.0731 14.3171L18.8032 8.4928ZM21 7C19.3431 7 18 5.65685 18 4C18 2.34315 19.3431 1 21 1C22.6569 1 24 2.34315 24 4C24 5.65685 22.6569 7 21 7Z"></path></svg>',
69
+ eyeOff: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"/><line x1="1" y1="1" x2="23" y2="23"/></svg>',
70
+ listCheck: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"></path></svg>',
71
+ shieldStarFill: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3.78307 2.82598L12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598ZM12 13.5L14.9389 15.0451L14.3776 11.7725L16.7553 9.45492L13.4695 8.97746L12 6L10.5305 8.97746L7.24472 9.45492L9.62236 11.7725L9.06107 15.0451L12 13.5Z"></path></svg>',
72
+ swapBoxLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4.00488 5.00275V19.0027H20.0049V5.00275H4.00488ZM3.00488 3.00275H21.0049C21.5572 3.00275 22.0049 3.45046 22.0049 4.00275V20.0027C22.0049 20.555 21.5572 21.0027 21.0049 21.0027H3.00488C2.4526 21.0027 2.00488 20.555 2.00488 20.0027V4.00275C2.00488 3.45046 2.4526 3.00275 3.00488 3.00275ZM15.0049 7.00275L18.5049 10.0027L15.0049 13.0027V11.0027H11.0049V9.00275H15.0049V7.00275ZM9.00488 17.0027L5.50488 14.0027L9.00488 11.0027V13.0027H13.0049V15.0027H9.00488V17.0027Z"></path></svg>',
73
+ notification3Line: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM18 17V10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10V17H18ZM9 21H15V23H9V21Z"></path></svg>',
74
+ checkDoubleLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.0139 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6351L3.82604 11.6363L8.77698 16.5873Z"></path></svg>',
75
+ settings3Line: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z"></path></svg>',
76
+ moonLine: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 7C10 10.866 13.134 14 17 14C18.9584 14 20.729 13.1957 21.9995 11.8995C22 11.933 22 11.9665 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.0335 2 12.067 2 12.1005 2.00049C10.8043 3.27098 10 5.04157 10 7ZM4 12C4 16.4183 7.58172 20 12 20C15.0583 20 17.7158 18.2839 19.062 15.7621C18.3945 15.9187 17.7035 16 17 16C12.0294 16 8 11.9706 8 7C8 6.29648 8.08133 5.60547 8.2379 4.938C5.71611 6.28423 4 8.9417 4 12Z"></path></svg>'
60
77
  }, a = /* @__PURE__ */ new Map();
61
78
  function g(o) {
62
- const e = {};
63
- for (const r of Array.from(o.attributes)) e[r.name] = r.value;
79
+ const t = {};
80
+ for (const e of Array.from(o.attributes)) t[e.name] = e.value;
64
81
  return {
65
82
  tag: o.localName,
66
- attrs: e,
83
+ attrs: t,
67
84
  children: Array.from(o.children).map(g)
68
85
  };
69
86
  }
70
- function m(o) {
71
- const e = a.get(o);
72
- if (e !== void 0) return e;
73
- const r = new DOMParser().parseFromString(o, "image/svg+xml").documentElement, t = r.localName === "svg" && !r.querySelector("parsererror") ? g(r) : null;
74
- return a.set(o, t), t;
87
+ function H(o) {
88
+ const t = a.get(o);
89
+ if (t !== void 0) return t;
90
+ const e = new DOMParser().parseFromString(o, "image/svg+xml").documentElement, r = e.localName === "svg" && !e.querySelector("parsererror") ? g(e) : null;
91
+ return a.set(o, r), r;
75
92
  }
76
- function h(o, e = {}) {
77
- return u(o.tag, { ...o.attrs, ...e }, o.children.map((r) => h(r)));
93
+ function h(o, t = {}) {
94
+ return L(o.tag, { ...o.attrs, ...t }, o.children.map((e) => h(e)));
78
95
  }
79
- const k = d({
96
+ const Z = p({
80
97
  name: "Icon",
81
98
  props: {
82
99
  name: { type: String, required: !0 },
@@ -84,10 +101,10 @@ const k = d({
84
101
  label: { type: String, default: void 0 }
85
102
  },
86
103
  setup(o) {
87
- const e = L();
88
- let r = null;
104
+ const t = V();
105
+ let e = null;
89
106
  return () => {
90
- const t = e[o.name] ?? x[o.name], n = t === void 0 ? null : m(t);
107
+ const r = t[o.name] ?? u[o.name], n = r === void 0 ? null : H(r);
91
108
  return n ? h(n, {
92
109
  width: o.size,
93
110
  height: o.size,
@@ -95,15 +112,15 @@ const k = d({
95
112
  ...o.label === void 0 ? { "aria-hidden": "true" } : { role: "img", "aria-label": o.label },
96
113
  // Vertically centred on the text line; `shrink-0` so a flex row never squeezes it.
97
114
  class: "shrink-0 align-[-0.125em]"
98
- }) : (r !== o.name && (r = o.name, console.error(`[vue-core] Icon "${o.name}" is in no installed icon set and is not a library icon: add its SVG to a set passed to installIcons() / createApplication({ icons }).`)), null);
115
+ }) : (e !== o.name && (e = o.name, console.error(`[vue-core] Icon "${o.name}" is in no installed icon set and is not a library icon: add its SVG to a set passed to installIcons() / createApplication({ icons }).`)), null);
99
116
  };
100
117
  }
101
118
  });
102
119
  export {
103
- k as _,
120
+ Z as _,
104
121
  l as a,
105
- x as c,
106
- V as i,
107
- M as p,
108
- L as u
122
+ u as c,
123
+ f as i,
124
+ m as p,
125
+ V as u
109
126
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, openBlock as t, createElementBlock as o, normalizeClass as r, createBlock as l, unref as c, toDisplayString as d, createCommentVNode as x } from "vue";
2
- import { _ as u } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
2
+ import { _ as u } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
3
3
  const m = ["data-tone"], g = /* @__PURE__ */ s({
4
4
  __name: "IconTile",
5
5
  props: {
@@ -0,0 +1,35 @@
1
+ import { defineComponent as p, useSlots as f, computed as v, openBlock as a, createElementBlock as l, createElementVNode as t, createTextVNode as r, toDisplayString as o, renderSlot as d, normalizeClass as _, Fragment as x, unref as y } from "vue";
2
+ import { useI18n as b } from "vue-i18n";
3
+ const g = { class: "min-w-0" }, k = { class: "flex items-center gap-1 text-xs text-content-muted" }, w = { class: "sr-only" }, E = /* @__PURE__ */ p({
4
+ __name: "KeyValue",
5
+ props: {
6
+ label: {},
7
+ value: { default: void 0 },
8
+ wrap: { type: Boolean, default: !0 }
9
+ },
10
+ setup(u) {
11
+ const e = u, { t: c } = b(), i = f(), m = v(() => !i.default && (e.value === null || e.value === void 0 || e.value === ""));
12
+ return (s, n) => (a(), l("div", g, [
13
+ t("dt", k, [
14
+ r(o(e.label) + " ", 1),
15
+ d(s.$slots, "label")
16
+ ]),
17
+ t("dd", {
18
+ class: _(["mt-0.5 text-sm font-medium text-content-strong", e.wrap ? "break-words" : "truncate"])
19
+ }, [
20
+ m.value ? (a(), l(x, { key: 0 }, [
21
+ n[0] || (n[0] = t("span", {
22
+ "aria-hidden": "true",
23
+ class: "font-normal text-content-disabled"
24
+ }, "—", -1)),
25
+ t("span", w, o(y(c)("core.state.no_value")), 1)
26
+ ], 64)) : d(s.$slots, "default", {}, () => [
27
+ r(o(e.value), 1)
28
+ ], void 0, 1)
29
+ ], 2)
30
+ ]));
31
+ }
32
+ });
33
+ export {
34
+ E as _
35
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, onBeforeUnmount as f, useTemplateRef as l, watch as m, openBlock as u, createBlock as p } from "vue";
2
- import { _ as d } from "./DiscardChangesModal.vue_vue_type_script_setup_true_lang-DyhYHRyz.js";
3
- import { u as v } from "./environment-D3nozt9a.js";
2
+ import { _ as d } from "./DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js";
3
+ import { u as v } from "./leaveGuard-Cc8yeLxM.js";
4
4
  const $ = /* @__PURE__ */ i({
5
5
  __name: "LeaveGuardRoot",
6
6
  setup(_) {
@@ -1,16 +1,17 @@
1
- import { defineComponent as F, useId as H, ref as m, computed as b, watch as y, nextTick as p, onUnmounted as G, openBlock as a, createElementBlock as r, Fragment as k, renderSlot as j, createCommentVNode as f, createBlock as x, Teleport as J, createVNode as Q, Transition as W, withCtx as X, mergeProps as Y, unref as v, renderList as Z, normalizeClass as ee, createElementVNode as te, toDisplayString as S } from "vue";
2
- import { _ as $ } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
3
- import { u as ne } from "./anchored-Cj4--8dT.js";
4
- import { I as oe } from "./dialogStack-DZZg55w0.js";
5
- const ae = ["aria-label"], ie = {
1
+ import { defineComponent as G, useId as Y, ref as m, computed as b, watch as y, nextTick as p, onUnmounted as j, openBlock as a, createElementBlock as r, Fragment as k, renderSlot as J, createCommentVNode as f, createBlock as x, Teleport as Q, createVNode as W, Transition as X, withCtx as Z, mergeProps as ee, unref as v, renderList as te, normalizeClass as ne, createElementVNode as oe, toDisplayString as R } from "vue";
2
+ import { _ as $ } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
3
+ import { u as ae } from "./anchored-Cj4--8dT.js";
4
+ import { I as ie } from "./dialogStack-DZZg55w0.js";
5
+ import { C as O } from "./closeOverlays-CjVsIrpL.js";
6
+ const re = ["aria-label"], se = {
6
7
  key: 0,
7
8
  role: "separator",
8
9
  class: "mx-2.5 my-1.5 h-px bg-border-separator compact:mx-0 compact:my-0 compact:h-2 compact:bg-fill"
9
- }, re = ["role", "aria-checked", "disabled", "aria-busy", "data-menu-item", "onClick"], se = { class: "min-w-0 flex-1 truncate" }, ce = {
10
+ }, ce = ["role", "aria-checked", "disabled", "aria-busy", "data-menu-item", "onClick"], le = { class: "min-w-0 flex-1 truncate" }, ue = {
10
11
  key: 2,
11
12
  "aria-hidden": "true",
12
13
  class: "shrink-0 text-footnote opacity-60 compact:hidden"
13
- }, fe = /* @__PURE__ */ F({
14
+ }, he = /* @__PURE__ */ G({
14
15
  __name: "Menu",
15
16
  props: {
16
17
  items: {},
@@ -18,20 +19,24 @@ const ae = ["aria-label"], ie = {
18
19
  placement: { default: "bottom-end" }
19
20
  },
20
21
  emits: ["presented", "dismissed"],
21
- setup(P, { expose: R, emit: B }) {
22
- const s = P, g = B, I = 8, _ = `menu-${H()}`, o = m(!1), d = m(null), l = m(null), z = b(() => [...s.items.filter((e) => !e.tone), ...s.items.filter((e) => e.tone)]), K = b(() => {
22
+ setup(P, { expose: B, emit: I }) {
23
+ const s = P, g = I, N = 8, _ = `menu-${Y()}`, o = m(!1), d = m(null), l = m(null), V = b(() => [...s.items.filter((e) => !e.tone), ...s.items.filter((e) => e.tone)]), z = b(() => {
23
24
  const e = [];
24
25
  let n = null;
25
- for (const t of z.value)
26
+ for (const t of V.value)
26
27
  n && (n.section !== t.section || t.tone && !n.tone) && e.push({ kind: "separator", key: `sep-${t.id}` }), e.push({ kind: "item", item: t }), n = t;
27
28
  return e;
28
- }), E = () => d.value?.querySelector("[data-menu-trigger]") ?? d.value?.firstElementChild ?? null, i = m(null);
29
+ }), E = () => d.value?.querySelector("[data-menu-trigger]") ?? d.value?.firstElementChild ?? null, c = m(null);
29
30
  let h = null;
30
- const { style: N, update: M } = ne(l, {
31
- reference: () => i.value ? { getBoundingClientRect: () => DOMRect.fromRect({ x: i.value.x, y: i.value.y, width: 0, height: 0 }) } : E(),
32
- placement: () => i.value ? "bottom-start" : s.placement,
31
+ const { style: K, update: M } = ae(l, {
32
+ // The point is read now, not when floating-ui measures: the menu may have closed (and cleared it) by then.
33
+ reference: () => {
34
+ const e = c.value;
35
+ return e ? { getBoundingClientRect: () => DOMRect.fromRect({ x: e.x, y: e.y, width: 0, height: 0 }) } : E();
36
+ },
37
+ placement: () => c.value ? "bottom-start" : s.placement,
33
38
  offset: 6,
34
- padding: I,
39
+ padding: N,
35
40
  fit: (e, n) => {
36
41
  e.style.maxHeight = `${Math.max(120, n.height)}px`;
37
42
  }
@@ -40,25 +45,25 @@ const ae = ["aria-label"], ie = {
40
45
  const n = w();
41
46
  n.length !== 0 && n[(e + n.length) % n.length]?.focus();
42
47
  }
43
- function T() {
44
- o.value || s.items.length === 0 || (i.value = null, o.value = !0, g("presented"));
48
+ function C() {
49
+ o.value || s.items.length === 0 || (c.value = null, o.value = !0, g("presented"));
45
50
  }
46
- function O(e, n) {
47
- s.items.length !== 0 && (h = document.activeElement, i.value = { x: e, y: n }, o.value ? p(M) : (o.value = !0, g("presented")));
51
+ function U(e, n) {
52
+ s.items.length !== 0 && (h = document.activeElement, c.value = { x: e, y: n }, o.value ? p(M) : (o.value = !0, g("presented")));
48
53
  }
49
- function c(e = !0) {
54
+ function i(e = !0) {
50
55
  if (!o.value) return;
51
56
  o.value = !1, g("dismissed");
52
- const n = i.value ? h : E();
53
- i.value = null, h = null, e && p(() => n?.focus?.({ preventScroll: !0 }));
57
+ const n = c.value ? h : E();
58
+ c.value = null, h = null, e && p(() => n?.focus?.({ preventScroll: !0 }));
54
59
  }
55
- function A() {
56
- o.value ? c() : T();
60
+ function L() {
61
+ o.value ? i() : C();
57
62
  }
58
- async function U(e) {
59
- e.disabled || e.processing || (c(), await p(), e.onSelect());
63
+ async function q(e) {
64
+ e.disabled || e.processing || (i(), await p(), e.onSelect());
60
65
  }
61
- function V(e) {
66
+ function F(e) {
62
67
  const n = w().indexOf(document.activeElement);
63
68
  switch (e.key) {
64
69
  case "ArrowDown":
@@ -74,71 +79,74 @@ const ae = ["aria-label"], ie = {
74
79
  e.preventDefault(), u(-1);
75
80
  break;
76
81
  case "Tab":
77
- c(!1);
82
+ i(!1);
78
83
  break;
79
84
  }
80
85
  }
81
- function D(e) {
82
- e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), c());
86
+ function T(e) {
87
+ e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), i());
83
88
  }
84
- function C(e) {
89
+ function A(e) {
85
90
  const n = e.target;
86
- n && (l.value?.contains(n) || d.value?.contains(n)) || i.value && e.pointerType === "touch" && !l.value || c(!1);
91
+ n && (l.value?.contains(n) || d.value?.contains(n)) || c.value && e.pointerType === "touch" && !l.value || i(!1);
87
92
  }
88
93
  y(l, (e) => {
89
94
  e && p(() => u(0));
90
95
  });
91
- function L() {
92
- window.removeEventListener("keydown", D, !0), document.removeEventListener("pointerdown", C, !0);
96
+ function D() {
97
+ i();
98
+ }
99
+ function S() {
100
+ window.removeEventListener("keydown", T, !0), document.removeEventListener("pointerdown", A, !0), document.removeEventListener(O, D);
93
101
  }
94
102
  y(o, (e) => {
95
- e ? (window.addEventListener("keydown", D, !0), document.addEventListener("pointerdown", C, !0)) : L();
103
+ e ? (window.addEventListener("keydown", T, !0), document.addEventListener("pointerdown", A, !0), document.addEventListener(O, D)) : S();
96
104
  }), y(() => s.items.length, (e) => {
97
- e === 0 && c(!1);
98
- }), G(L);
99
- const q = b(() => ({
105
+ e === 0 && i(!1);
106
+ }), j(S);
107
+ const H = b(() => ({
100
108
  "aria-haspopup": "menu",
101
109
  "aria-expanded": o.value,
102
110
  "aria-controls": _,
103
111
  "data-menu-trigger": ""
104
112
  }));
105
- return R({ present: T, presentAt: O, dismiss: () => c(), toggle: A }), (e, n) => (a(), r(k, null, [
113
+ return B({ present: C, presentAt: U, dismiss: () => i(), toggle: L }), (e, n) => (a(), r(k, null, [
106
114
  e.$slots.trigger ? (a(), r("span", {
107
115
  key: 0,
108
116
  ref_key: "anchor",
109
117
  ref: d,
110
118
  class: "inline-flex"
111
119
  }, [
112
- j(e.$slots, "trigger", {
120
+ J(e.$slots, "trigger", {
113
121
  presented: o.value,
114
- toggle: A,
115
- attrs: q.value
122
+ toggle: L,
123
+ attrs: H.value
116
124
  })
117
125
  ], 512)) : f("", !0),
118
- (a(), x(J, { to: "body" }, [
119
- Q(W, {
126
+ (a(), x(Q, { to: "body" }, [
127
+ W(X, {
120
128
  "enter-active-class": "transition-opacity duration-motion-fast ease-motion-standard",
121
129
  "enter-from-class": "opacity-0",
122
130
  "leave-active-class": "pointer-events-none transition-opacity duration-motion-fast ease-motion-standard",
123
131
  "leave-to-class": "opacity-0"
124
132
  }, {
125
- default: X(() => [
126
- o.value ? (a(), r("div", Y({
133
+ default: Z(() => [
134
+ o.value ? (a(), r("div", ee({
127
135
  key: 0,
128
136
  id: _,
129
137
  ref_key: "panel",
130
138
  ref: l,
131
139
  role: "menu",
132
140
  "aria-label": s.label
133
- }, { [v(oe)]: "" }, {
134
- style: v(N),
141
+ }, { [v(ie)]: "" }, {
142
+ style: v(K),
135
143
  class: "z-10001 min-w-52 max-w-[calc(100vw-1rem)] overflow-y-auto rounded-menu bg-surface-overlay p-1.5 text-content-strong shadow-float outline-none compact:min-w-60 compact:p-0",
136
- onKeydown: V
144
+ onKeydown: F
137
145
  }), [
138
- (a(!0), r(k, null, Z(K.value, (t) => (a(), r(k, {
146
+ (a(!0), r(k, null, te(z.value, (t) => (a(), r(k, {
139
147
  key: t.kind === "item" ? t.item.id : t.key
140
148
  }, [
141
- t.kind === "separator" ? (a(), r("div", ie)) : (a(), r("button", {
149
+ t.kind === "separator" ? (a(), r("div", se)) : (a(), r("button", {
142
150
  key: 1,
143
151
  type: "button",
144
152
  role: t.item.checked === void 0 ? "menuitem" : "menuitemradio",
@@ -146,8 +154,8 @@ const ae = ["aria-label"], ie = {
146
154
  disabled: t.item.disabled || t.item.processing,
147
155
  "aria-busy": t.item.processing || void 0,
148
156
  "data-menu-item": t.item.id,
149
- class: ee(["group flex min-h-8 w-full cursor-pointer items-center gap-2.5 rounded-control px-2.5 py-1 text-left text-subheadline font-normal outline-none disabled:cursor-default disabled:opacity-45 compact:min-h-11 compact:rounded-none compact:border-t compact:border-border-separator compact:px-4 compact:text-body compact:first:border-t-0 compact:[[role=separator]+&]:border-t-0", t.item.tone === "critical" ? "text-content-destructive hover:bg-status-danger-surface focus-visible:bg-status-danger-surface" : "hover:bg-tint hover:text-content-on-tint focus-visible:bg-tint focus-visible:text-content-on-tint compact:hover:bg-fill compact:hover:text-content-strong compact:focus-visible:bg-fill compact:focus-visible:text-content-strong"]),
150
- onClick: (le) => U(t.item)
157
+ class: ne(["group flex min-h-8 w-full cursor-pointer items-center gap-2.5 rounded-control px-2.5 py-1 text-left text-subheadline font-normal outline-none disabled:cursor-default disabled:opacity-45 compact:min-h-11 compact:rounded-none compact:border-t compact:border-border-separator compact:px-4 compact:text-body compact:first:border-t-0 compact:[[role=separator]+&]:border-t-0", t.item.tone === "critical" ? "text-content-destructive hover:bg-status-danger-surface focus-visible:bg-status-danger-surface" : "hover:bg-tint hover:text-content-on-tint focus-visible:bg-tint focus-visible:text-content-on-tint compact:hover:bg-fill compact:hover:text-content-strong compact:focus-visible:bg-fill compact:focus-visible:text-content-strong"]),
158
+ onClick: (de) => q(t.item)
151
159
  }, [
152
160
  t.item.processing ? (a(), x(v($), {
153
161
  key: 0,
@@ -160,11 +168,11 @@ const ae = ["aria-label"], ie = {
160
168
  size: 16,
161
169
  class: "compact:order-last compact:w-5"
162
170
  }, null, 8, ["name"])) : f("", !0),
163
- te("span", se, S(t.item.label), 1),
164
- t.item.shortcut ? (a(), r("span", ce, S(t.item.shortcut), 1)) : f("", !0)
165
- ], 10, re))
171
+ oe("span", le, R(t.item.label), 1),
172
+ t.item.shortcut ? (a(), r("span", ue, R(t.item.shortcut), 1)) : f("", !0)
173
+ ], 10, ce))
166
174
  ], 64))), 128))
167
- ], 16, ae)) : f("", !0)
175
+ ], 16, re)) : f("", !0)
168
176
  ]),
169
177
  _: 1
170
178
  })
@@ -173,5 +181,5 @@ const ae = ["aria-label"], ie = {
173
181
  }
174
182
  });
175
183
  export {
176
- fe as _
184
+ he as _
177
185
  };
@@ -1,11 +1,11 @@
1
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
2
  import { useI18n as ue } from "vue-i18n";
3
- import { _ as J } from "./Button.vue_vue_type_script_setup_true_lang-B1eZgLae.js";
4
- import { _ as Q } from "./Icon.vue_vue_type_script_lang-DtC4_mkz.js";
3
+ import { _ as J } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
4
+ import { _ as Q } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
5
  import { u as pe } from "./mediaQuery-CygcXmFW.js";
6
6
  import { u as me } from "./useDialog-CXR3hN0G.js";
7
- import { u as fe } from "./Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js";
8
- import { _ as R, a as Y } from "./ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.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
9
  import { p as ve } from "./perDocument-DUuFrdGU.js";
10
10
  const be = Symbol("vue-core.modalPlacement");
11
11
  function ye(g, l) {
@@ -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-BoinCY93.js";
5
+ import { _ as b } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
6
+ import { u as g } from "./useLoad-CYRVx6HW.js";
7
+ import { a as x, c as u } from "./index-GcLnFF-z.js";
8
+ import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.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-50p-Mp8I.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
+ };