@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,244 +0,0 @@
1
- import { createHttpClient as j } from "./client/index.js";
2
- import { d as E } from "./context-Ch1r4fdN.js";
3
- import { i as g, A as P } from "./error-Bb_dr_Ay.js";
4
- import { shallowRef as k } from "vue";
5
- const q = (e, t) => e.level === t.level && e.id === t.id, U = (e, t) => Object.prototype.hasOwnProperty.call(e, t);
6
- function z(e, t = {}) {
7
- const n = t.covers ?? q;
8
- function o(r) {
9
- const s = e();
10
- return !s || !U(s.permissions, r) || s.unavailable.includes(r) ? null : s.permissions[r] ?? null;
11
- }
12
- function a(r, s) {
13
- const i = o(r);
14
- return i ? s ? (i.clauses.length > 0 ? i.clauses.map((u) => u.scope) : [i.scope]).some((u) => n(u, s)) : !0 : !1;
15
- }
16
- return {
17
- get root() {
18
- return e()?.root ?? !1;
19
- },
20
- can: a,
21
- canAny: (r) => r.some((s) => a(s)),
22
- canAll: (r) => r.every((s) => a(s)),
23
- held: o
24
- };
25
- }
26
- const v = ["own", "own_location", "all"], d = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
27
- function b(e, t, n) {
28
- return !d(e) || typeof e.level != "string" ? (n.push(`${t}: expected { level: string, id?: number }`), { level: "" }) : (e.id !== void 0 && typeof e.id != "number" && n.push(`${t}.id: expected number`), typeof e.id == "number" ? { level: e.level, id: e.id } : { level: e.level });
29
- }
30
- function x(e, t, n) {
31
- return typeof e == "string" && v.includes(e) ? e : (n.push(`${t}: expected one of ${v.join(", ")}`), "own");
32
- }
33
- function _(e) {
34
- const t = [], n = {}, o = { root: !1, permissions: {}, unavailable: [] };
35
- if (!d(e)) return { snapshot: o, issues: ["access: expected an object"] };
36
- if (!d(e.permissions)) t.push("access.permissions: expected an object");
37
- else
38
- for (const [r, s] of Object.entries(e.permissions)) {
39
- const i = `access.permissions.${r}`;
40
- if (!d(s)) {
41
- t.push(`${i}: expected an object`);
42
- continue;
43
- }
44
- const h = (Array.isArray(s.clauses) ? s.clauses : []).map((u, c) => {
45
- const l = `${i}.clauses[${c}]`;
46
- if (!d(u))
47
- return t.push(`${l}: expected an object`), { scope: { level: "" }, qualifier: "own" };
48
- const f = { scope: b(u.scope, `${l}.scope`, t), qualifier: x(u.qualifier, `${l}.qualifier`, t) };
49
- return typeof u.role == "string" ? { ...f, role: u.role } : f;
50
- });
51
- n[r] = {
52
- scope: b(s.scope, `${i}.scope`, t),
53
- qualifier: x(s.qualifier, `${i}.qualifier`, t),
54
- clauses: h
55
- };
56
- }
57
- const a = e.unavailable ?? [];
58
- return (!Array.isArray(a) || !a.every((r) => typeof r == "string")) && t.push("access.unavailable: expected an array of strings"), {
59
- snapshot: {
60
- root: e.root === !0,
61
- permissions: n,
62
- unavailable: Array.isArray(a) ? a.filter((r) => typeof r == "string") : []
63
- },
64
- issues: t
65
- };
66
- }
67
- const C = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
68
- function w(e, t, n = "navigation") {
69
- return Array.isArray(e) ? e.flatMap((o, a) => {
70
- const r = `${n}[${a}]`;
71
- if (!C(o) || typeof o.i18n != "string")
72
- return t.push(`${r}: expected an object with an i18n key`), [];
73
- for (const i of ["icon", "route"])
74
- o[i] != null && typeof o[i] != "string" && t.push(`${r}.${i}: expected a string`);
75
- const s = o.children == null ? void 0 : w(o.children, t, `${r}.children`);
76
- return [
77
- {
78
- i18n: o.i18n,
79
- ...typeof o.icon == "string" && { icon: o.icon },
80
- ...typeof o.route == "string" && { route: o.route },
81
- ...s && { children: s }
82
- }
83
- ];
84
- }) : (t.push(`${n}: expected an array`), []);
85
- }
86
- const S = (e) => typeof e == "object" && e !== null && !Array.isArray(e), I = (e) => {
87
- if (S(e) && (typeof e.id == "number" || typeof e.id == "string")) return { id: e.id };
88
- throw new TypeError("expected an object with a numeric or string id");
89
- };
90
- function T(e, t = I) {
91
- const n = [];
92
- if (!S(e)) throw A(["expected an object"]);
93
- let o = null;
94
- try {
95
- o = t(e.user);
96
- } catch (i) {
97
- n.push(`user: ${i instanceof Error ? i.message : "invalid"}`);
98
- }
99
- let a = null;
100
- if (e.expires_at !== void 0 && e.expires_at !== null) {
101
- const i = typeof e.expires_at == "string" ? new Date(e.expires_at) : null;
102
- i === null || Number.isNaN(i.getTime()) ? n.push("expires_at: expected an ISO date-time string") : a = i;
103
- }
104
- const r = _(e.access);
105
- n.push(...r.issues);
106
- const s = e.navigation === void 0 || e.navigation === null ? void 0 : w(e.navigation, n);
107
- if (o === null || n.length > 0) throw A(n);
108
- return { user: o, expiresAt: a, access: r.snapshot, ...s && { navigation: s } };
109
- }
110
- const A = (e) => new P({ kind: "malformed", message: `Unreadable session payload: ${e.join("; ")}` });
111
- function N(e, t = {}) {
112
- const { mePath: n = "/auth/me", signOutPath: o = "/auth/logout", parseUser: a } = t;
113
- return {
114
- async load(r) {
115
- try {
116
- const { data: s } = await e.get(n, { signal: r, handleUnauthorized: !1 });
117
- return T(s, a);
118
- } catch (s) {
119
- if (g(s) && s.kind === "unauthorized") return null;
120
- throw s;
121
- }
122
- },
123
- async signOut() {
124
- try {
125
- await e.post(o, void 0, { handleUnauthorized: !1 });
126
- } catch (r) {
127
- if (!(g(r) && r.kind === "unauthorized")) throw r;
128
- }
129
- }
130
- };
131
- }
132
- const $ = 3e3;
133
- function B(e, t = {}) {
134
- const n = k({ status: "unknown" });
135
- let o = 0;
136
- const a = new Set(t.beforeSignOut ? [t.beforeSignOut] : []);
137
- let r = null, s = null;
138
- function i() {
139
- o++, s?.controller.abort(), s = null;
140
- }
141
- async function h(c) {
142
- const l = new AbortController();
143
- let f;
144
- const y = new Promise((p) => {
145
- f = setTimeout(() => {
146
- l.abort(), t.onError?.(new Error(`A before-sign-out hook did not finish within ${$} ms; signing out without it.`)), p();
147
- }, $);
148
- }), m = Promise.all(
149
- [...a].map(async (p) => {
150
- try {
151
- await p(c, l.signal);
152
- } catch (O) {
153
- t.onError?.(O);
154
- }
155
- })
156
- ).then(() => {
157
- });
158
- await Promise.race([m, y]), clearTimeout(f);
159
- }
160
- function u() {
161
- if (s) return s.promise;
162
- const c = o, l = new AbortController(), f = n.value;
163
- f.status !== "authenticated" && (n.value = { status: "loading" });
164
- const y = async () => {
165
- try {
166
- const p = await e.load(l.signal);
167
- if (o !== c) return n.value;
168
- n.value = p ? { status: "authenticated", ...p } : { status: "anonymous", reason: "none" };
169
- } catch (p) {
170
- if (o !== c) return n.value;
171
- t.onError?.(p), n.value = f.status === "authenticated" ? f : { status: "failed", error: p };
172
- } finally {
173
- o === c && (s = null);
174
- }
175
- return n.value;
176
- }, m = Promise.resolve().then(y);
177
- return s = { controller: l, promise: m }, m;
178
- }
179
- return {
180
- state: n,
181
- restore: () => n.value.status === "unknown" || n.value.status === "failed" ? u() : s?.promise ?? Promise.resolve(n.value),
182
- refresh: u,
183
- establish(c) {
184
- i(), n.value = { status: "authenticated", ...c };
185
- },
186
- expire() {
187
- n.value.status === "authenticated" && (i(), n.value = { status: "anonymous", reason: "expired" }, t.onExpired?.());
188
- },
189
- signOut() {
190
- return r ?? (r = (async () => {
191
- try {
192
- const c = n.value;
193
- c.status === "authenticated" && a.size > 0 && await h(c.user), i(), n.value = { status: "anonymous", reason: "signedOut" }, await e.signOut();
194
- } finally {
195
- r = null;
196
- }
197
- })()), r;
198
- },
199
- onBeforeSignOut(c) {
200
- return a.add(c), () => void a.delete(c);
201
- }
202
- };
203
- }
204
- function K(e) {
205
- let t = null;
206
- const n = j({
207
- baseUrl: e.config.apiBase,
208
- transport: e.transport,
209
- headers: e.headers,
210
- credentials: e.credentials,
211
- requestId: e.requestId,
212
- async onUnauthorized() {
213
- return r.state.value.status !== "authenticated" ? "fail" : e.renewSession && (t ?? (t = e.renewSession(r).then(
214
- (i) => i,
215
- () => !1
216
- ).finally(() => {
217
- t = null;
218
- })), await t) ? "retry" : (r.expire(), "fail");
219
- }
220
- }), o = e.session ?? ((i) => N(i)), a = typeof o == "function" ? o(n) : o, r = B(a, { onError: e.onSessionError, onExpired: e.onSessionExpired, beforeSignOut: e.beforeSignOut }), s = z(
221
- () => {
222
- const i = r.state.value;
223
- return i.status === "authenticated" ? i.access : null;
224
- },
225
- { covers: e.covers }
226
- );
227
- return { config: e.config, http: n, session: r, access: s };
228
- }
229
- const [F, L] = E("platform");
230
- function M(e, t) {
231
- e.provide(F, t);
232
- }
233
- export {
234
- K as a,
235
- $ as b,
236
- z as c,
237
- B as d,
238
- T as e,
239
- F as f,
240
- N as h,
241
- M as i,
242
- w as p,
243
- L as u
244
- };
@@ -1,129 +0,0 @@
1
- import { defineComponent as A, useId as D, ref as c, watch as W, nextTick as P, onUnmounted as F, computed as U, openBlock as m, createElementBlock as w, normalizeClass as f, createElementVNode as j, renderSlot as $, createVNode as G, Transition as H, withCtx as K, normalizeStyle as B, unref as n, createCommentVNode as C } from "vue";
2
- import { f as I } from "./useDialog-wmyNx2j_.js";
3
- import { u as M, a as p } from "./anchored-Cj4--8dT.js";
4
- import { toast as i } from "vue-sonner";
5
- const q = ["aria-label"], L = 12, J = 640, ee = /* @__PURE__ */ A({
6
- __name: "Popover",
7
- props: {
8
- label: {},
9
- placement: { default: "bottom" },
10
- width: { default: "lg" },
11
- arrow: { type: Boolean, default: !0 },
12
- block: { type: Boolean, default: !1 },
13
- autofocus: { type: Boolean, default: !0 }
14
- },
15
- emits: ["presented", "dismissed"],
16
- setup(t, { expose: o, emit: N }) {
17
- const s = t, v = N, O = { sm: "w-56", md: "w-72", lg: "w-80", auto: "w-max" }, h = `popover-${D()}`, a = c(!1), l = c(null), d = c(null), y = c(null), { style: S, arrowStyle: z, resolvedPlacement: u } = M(d, {
18
- reference: () => l.value?.firstElementChild ?? l.value,
19
- placement: () => s.placement,
20
- offset: 10,
21
- padding: L,
22
- arrow: y,
23
- fit: (e, T) => {
24
- Object.assign(e.style, window.innerWidth < J ? { width: `${window.innerWidth - L * 2}px`, maxWidth: "" } : { width: "", maxWidth: `${Math.max(0, T.width)}px` });
25
- }
26
- });
27
- function g() {
28
- a.value || (a.value = !0, v("presented"));
29
- }
30
- function r(e = !1) {
31
- a.value && (a.value = !1, v("dismissed"), e && P(() => I(l.value)[0]?.focus()));
32
- }
33
- function x() {
34
- a.value ? r() : g();
35
- }
36
- function b(e) {
37
- e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), r(!0));
38
- }
39
- function k(e) {
40
- return e instanceof Node && (!!d.value?.contains(e) || !!l.value?.contains(e));
41
- }
42
- function E(e) {
43
- k(e.target) || r();
44
- }
45
- function R(e) {
46
- e.relatedTarget && !k(e.relatedTarget) && r();
47
- }
48
- W(d, (e) => {
49
- e && s.autofocus && P(() => (I(e)[0] ?? e).focus({ preventScroll: !0 }));
50
- });
51
- function _() {
52
- window.removeEventListener("keydown", b, !0), document.removeEventListener("pointerdown", E, !0);
53
- }
54
- W(a, (e) => {
55
- e ? (window.addEventListener("keydown", b, !0), document.addEventListener("pointerdown", E, !0)) : _();
56
- }), F(_);
57
- const V = U(() => ({
58
- "aria-expanded": a.value,
59
- "aria-haspopup": "dialog",
60
- "aria-controls": h
61
- }));
62
- return o({ present: g, dismiss: () => r(), toggle: x }), (e, T) => (m(), w("span", {
63
- class: f(s.block ? "flex w-full" : "inline-flex"),
64
- onFocusout: R
65
- }, [
66
- j("span", {
67
- ref_key: "anchor",
68
- ref: l,
69
- class: f(s.block ? "flex w-full" : "inline-flex")
70
- }, [
71
- $(e.$slots, "trigger", {
72
- presented: a.value,
73
- toggle: x,
74
- attrs: V.value
75
- })
76
- ], 2),
77
- G(H, {
78
- "enter-active-class": "transition-opacity duration-motion-fast ease-motion-standard",
79
- "enter-from-class": "opacity-0",
80
- "leave-active-class": "pointer-events-none transition-opacity duration-motion-fast ease-motion-standard",
81
- "leave-to-class": "opacity-0"
82
- }, {
83
- default: K(() => [
84
- a.value ? (m(), w("div", {
85
- key: 0,
86
- id: h,
87
- ref_key: "panel",
88
- ref: d,
89
- role: "dialog",
90
- "aria-label": s.label,
91
- tabindex: "-1",
92
- class: f(["z-1000 rounded-menu bg-surface-overlay p-3 text-content-strong shadow-float outline-none", O[s.width]]),
93
- style: B(n(S))
94
- }, [
95
- $(e.$slots, "default", {
96
- dismiss: () => r(!0)
97
- }),
98
- s.arrow ? (m(), w("span", {
99
- key: 0,
100
- ref_key: "arrowEl",
101
- ref: y,
102
- "aria-hidden": "true",
103
- class: f(["absolute size-2.5 rotate-45 bg-surface-overlay", {
104
- "-bottom-[5px]": n(p)(n(u)) === "bottom",
105
- "-top-[5px]": n(p)(n(u)) === "top",
106
- "-left-[5px]": n(p)(n(u)) === "left",
107
- "-right-[5px]": n(p)(n(u)) === "right"
108
- }]),
109
- style: B(n(z))
110
- }, null, 6)) : C("", !0)
111
- ], 14, q)) : C("", !0)
112
- ]),
113
- _: 3
114
- })
115
- ], 34));
116
- }
117
- }), te = {
118
- success: (t, o) => i.success(t, o),
119
- info: (t, o) => i.info(t, o),
120
- warning: (t, o) => i.warning(t, o),
121
- error: (t, o) => i.error(t, o),
122
- loading: (t, o) => i.loading(t, o),
123
- /** Dismisses one toast, or all of them without an id. */
124
- dismiss: (t) => void i.dismiss(t)
125
- };
126
- export {
127
- ee as _,
128
- te as t
129
- };
File without changes