@nextcloud/vue 8.23.1 → 8.25.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 (688) hide show
  1. package/CHANGELOG.md +297 -201
  2. package/README.md +8 -4
  3. package/dist/Components/NcActionButton.cjs +2 -1
  4. package/dist/Components/NcActionButton.mjs +2 -1
  5. package/dist/Components/NcActionButtonGroup.cjs +2 -1
  6. package/dist/Components/NcActionButtonGroup.mjs +2 -1
  7. package/dist/Components/NcActionCaption.cjs +1 -0
  8. package/dist/Components/NcActionCaption.mjs +1 -0
  9. package/dist/Components/NcActionCheckbox.cjs +2 -1
  10. package/dist/Components/NcActionCheckbox.mjs +2 -1
  11. package/dist/Components/NcActionInput.cjs +2 -1
  12. package/dist/Components/NcActionInput.mjs +2 -1
  13. package/dist/Components/NcActionLink.cjs +2 -1
  14. package/dist/Components/NcActionLink.mjs +2 -1
  15. package/dist/Components/NcActionRadio.cjs +2 -1
  16. package/dist/Components/NcActionRadio.mjs +2 -1
  17. package/dist/Components/NcActionRouter.cjs +2 -1
  18. package/dist/Components/NcActionRouter.mjs +2 -1
  19. package/dist/Components/NcActionSeparator.cjs +1 -0
  20. package/dist/Components/NcActionSeparator.mjs +1 -0
  21. package/dist/Components/NcActionText.cjs +2 -1
  22. package/dist/Components/NcActionText.mjs +2 -1
  23. package/dist/Components/NcActionTextEditable.cjs +2 -1
  24. package/dist/Components/NcActionTextEditable.mjs +2 -1
  25. package/dist/Components/NcActions.cjs +2 -1
  26. package/dist/Components/NcActions.mjs +2 -1
  27. package/dist/Components/NcAppContent.cjs +2 -1
  28. package/dist/Components/NcAppContent.mjs +2 -1
  29. package/dist/Components/NcAppContentDetails.cjs +1 -0
  30. package/dist/Components/NcAppContentDetails.mjs +1 -0
  31. package/dist/Components/NcAppContentList.cjs +1 -0
  32. package/dist/Components/NcAppContentList.mjs +1 -0
  33. package/dist/Components/NcAppNavigation.cjs +2 -1
  34. package/dist/Components/NcAppNavigation.mjs +2 -1
  35. package/dist/Components/NcAppNavigationCaption.cjs +2 -1
  36. package/dist/Components/NcAppNavigationCaption.mjs +2 -1
  37. package/dist/Components/NcAppNavigationIconBullet.cjs +1 -0
  38. package/dist/Components/NcAppNavigationIconBullet.mjs +1 -0
  39. package/dist/Components/NcAppNavigationItem.cjs +2 -1
  40. package/dist/Components/NcAppNavigationItem.mjs +2 -1
  41. package/dist/Components/NcAppNavigationList.cjs +1 -0
  42. package/dist/Components/NcAppNavigationList.mjs +1 -0
  43. package/dist/Components/NcAppNavigationNew.cjs +18 -3
  44. package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
  45. package/dist/Components/NcAppNavigationNew.mjs +18 -3
  46. package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
  47. package/dist/Components/NcAppNavigationNewItem.cjs +2 -1
  48. package/dist/Components/NcAppNavigationNewItem.mjs +2 -1
  49. package/dist/Components/NcAppNavigationSearch.cjs +2 -1
  50. package/dist/Components/NcAppNavigationSearch.mjs +2 -1
  51. package/dist/Components/NcAppNavigationSettings.cjs +2 -1
  52. package/dist/Components/NcAppNavigationSettings.mjs +2 -1
  53. package/dist/Components/NcAppNavigationSpacer.cjs +1 -0
  54. package/dist/Components/NcAppNavigationSpacer.mjs +1 -0
  55. package/dist/Components/NcAppNavigationToggle.cjs +2 -1
  56. package/dist/Components/NcAppNavigationToggle.mjs +2 -1
  57. package/dist/Components/NcAppSettingsDialog.cjs +2 -1
  58. package/dist/Components/NcAppSettingsDialog.mjs +2 -1
  59. package/dist/Components/NcAppSettingsSection.cjs +1 -0
  60. package/dist/Components/NcAppSettingsSection.mjs +1 -0
  61. package/dist/Components/NcAppSidebar.cjs +2 -1
  62. package/dist/Components/NcAppSidebar.mjs +2 -1
  63. package/dist/Components/NcAppSidebarTab.cjs +1 -0
  64. package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
  65. package/dist/Components/NcAppSidebarTab.mjs +1 -0
  66. package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
  67. package/dist/Components/NcAvatar.cjs +2 -1
  68. package/dist/Components/NcAvatar.mjs +2 -1
  69. package/dist/Components/NcBlurHash.cjs +4 -0
  70. package/dist/Components/NcBlurHash.cjs.map +1 -0
  71. package/dist/Components/NcBlurHash.mjs +5 -0
  72. package/dist/Components/NcBlurHash.mjs.map +1 -0
  73. package/dist/Components/NcBreadcrumb.cjs +2 -1
  74. package/dist/Components/NcBreadcrumb.mjs +2 -1
  75. package/dist/Components/NcBreadcrumbs.cjs +2 -1
  76. package/dist/Components/NcBreadcrumbs.mjs +2 -1
  77. package/dist/Components/NcButton.cjs +52 -10
  78. package/dist/Components/NcButton.cjs.map +1 -1
  79. package/dist/Components/NcButton.mjs +52 -10
  80. package/dist/Components/NcButton.mjs.map +1 -1
  81. package/dist/Components/NcCheckboxRadioSwitch.cjs +2 -1
  82. package/dist/Components/NcCheckboxRadioSwitch.mjs +2 -1
  83. package/dist/Components/NcChip.cjs +27 -12
  84. package/dist/Components/NcChip.cjs.map +1 -1
  85. package/dist/Components/NcChip.mjs +27 -12
  86. package/dist/Components/NcChip.mjs.map +1 -1
  87. package/dist/Components/NcCollectionList.cjs +2 -1
  88. package/dist/Components/NcCollectionList.mjs +2 -1
  89. package/dist/Components/NcColorPicker.cjs +2 -1
  90. package/dist/Components/NcColorPicker.mjs +2 -1
  91. package/dist/Components/NcContent.cjs +2 -1
  92. package/dist/Components/NcContent.mjs +2 -1
  93. package/dist/Components/NcCounterBubble.cjs +1 -0
  94. package/dist/Components/NcCounterBubble.mjs +1 -0
  95. package/dist/Components/NcDashboardWidget.cjs +2 -1
  96. package/dist/Components/NcDashboardWidget.mjs +2 -1
  97. package/dist/Components/NcDashboardWidgetItem.cjs +2 -1
  98. package/dist/Components/NcDashboardWidgetItem.mjs +2 -1
  99. package/dist/Components/NcDateTime.cjs +2 -1
  100. package/dist/Components/NcDateTime.mjs +2 -1
  101. package/dist/Components/NcDateTimePicker.cjs +48 -21
  102. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  103. package/dist/Components/NcDateTimePicker.mjs +49 -22
  104. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  105. package/dist/Components/NcDateTimePickerNative.cjs +2 -1
  106. package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
  107. package/dist/Components/NcDateTimePickerNative.mjs +2 -1
  108. package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
  109. package/dist/Components/NcDialog.cjs +2 -1
  110. package/dist/Components/NcDialog.mjs +2 -1
  111. package/dist/Components/NcDialogButton.cjs +2 -1
  112. package/dist/Components/NcDialogButton.mjs +2 -1
  113. package/dist/Components/NcEllipsisedOption.cjs +1 -0
  114. package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
  115. package/dist/Components/NcEllipsisedOption.mjs +1 -0
  116. package/dist/Components/NcEmojiPicker.cjs +2 -1
  117. package/dist/Components/NcEmojiPicker.mjs +2 -1
  118. package/dist/Components/NcEmptyContent.cjs +3 -2
  119. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  120. package/dist/Components/NcEmptyContent.mjs +3 -2
  121. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  122. package/dist/Components/NcGuestContent.cjs +1 -0
  123. package/dist/Components/NcGuestContent.mjs +1 -0
  124. package/dist/Components/NcHeaderButton.cjs +4 -3
  125. package/dist/Components/NcHeaderButton.cjs.map +1 -1
  126. package/dist/Components/NcHeaderButton.mjs +4 -3
  127. package/dist/Components/NcHeaderButton.mjs.map +1 -1
  128. package/dist/Components/NcHeaderMenu.cjs +2 -1
  129. package/dist/Components/NcHeaderMenu.mjs +2 -1
  130. package/dist/Components/NcHighlight.cjs +1 -0
  131. package/dist/Components/NcHighlight.mjs +1 -0
  132. package/dist/Components/NcIconSvgWrapper.cjs +2 -1
  133. package/dist/Components/NcIconSvgWrapper.mjs +2 -1
  134. package/dist/Components/NcInputField.cjs +2 -1
  135. package/dist/Components/NcInputField.mjs +2 -1
  136. package/dist/Components/NcListItem.cjs +2 -1
  137. package/dist/Components/NcListItem.mjs +2 -1
  138. package/dist/Components/NcListItemIcon.cjs +2 -1
  139. package/dist/Components/NcListItemIcon.mjs +2 -1
  140. package/dist/Components/NcLoadingIcon.cjs +1 -0
  141. package/dist/Components/NcLoadingIcon.mjs +1 -0
  142. package/dist/Components/NcModal.cjs +38 -27
  143. package/dist/Components/NcModal.cjs.map +1 -1
  144. package/dist/Components/NcModal.mjs +38 -27
  145. package/dist/Components/NcModal.mjs.map +1 -1
  146. package/dist/Components/NcNoteCard.cjs +1 -0
  147. package/dist/Components/NcNoteCard.mjs +1 -0
  148. package/dist/Components/NcPasswordField.cjs +2 -1
  149. package/dist/Components/NcPasswordField.mjs +2 -1
  150. package/dist/Components/NcPopover.cjs +2 -1
  151. package/dist/Components/NcPopover.mjs +2 -1
  152. package/dist/Components/NcProgressBar.cjs +1 -0
  153. package/dist/Components/NcProgressBar.mjs +1 -0
  154. package/dist/Components/NcRelatedResourcesPanel.cjs +2 -1
  155. package/dist/Components/NcRelatedResourcesPanel.mjs +2 -1
  156. package/dist/Components/NcRichContenteditable.cjs +2 -1
  157. package/dist/Components/NcRichContenteditable.mjs +2 -1
  158. package/dist/Components/NcRichText.cjs +3 -2
  159. package/dist/Components/NcRichText.mjs +5 -4
  160. package/dist/Components/NcSavingIndicatorIcon.cjs +1 -0
  161. package/dist/Components/NcSavingIndicatorIcon.mjs +1 -0
  162. package/dist/Components/NcSelect.cjs +2 -1
  163. package/dist/Components/NcSelect.mjs +2 -1
  164. package/dist/Components/NcSelectTags.cjs +2 -1
  165. package/dist/Components/NcSelectTags.mjs +2 -1
  166. package/dist/Components/NcSelectUsers.cjs +4 -0
  167. package/dist/Components/NcSelectUsers.cjs.map +1 -0
  168. package/dist/Components/NcSelectUsers.mjs +5 -0
  169. package/dist/Components/NcSelectUsers.mjs.map +1 -0
  170. package/dist/Components/NcSettingsInputText.cjs +2 -1
  171. package/dist/Components/NcSettingsInputText.mjs +2 -1
  172. package/dist/Components/NcSettingsSection.cjs +2 -1
  173. package/dist/Components/NcSettingsSection.mjs +2 -1
  174. package/dist/Components/NcSettingsSelectGroup.cjs +2 -1
  175. package/dist/Components/NcSettingsSelectGroup.mjs +2 -1
  176. package/dist/Components/NcTextArea.cjs +1 -0
  177. package/dist/Components/NcTextArea.mjs +1 -0
  178. package/dist/Components/NcTextField.cjs +2 -1
  179. package/dist/Components/NcTextField.mjs +2 -1
  180. package/dist/Components/NcTimezonePicker.cjs +2 -1
  181. package/dist/Components/NcTimezonePicker.mjs +2 -1
  182. package/dist/Components/NcUserBubble.cjs +2 -1
  183. package/dist/Components/NcUserBubble.mjs +2 -1
  184. package/dist/Components/NcUserStatusIcon.cjs +2 -1
  185. package/dist/Components/NcUserStatusIcon.mjs +2 -1
  186. package/dist/Components/NcVNodes.cjs +1 -0
  187. package/dist/Components/NcVNodes.mjs +1 -0
  188. package/dist/Composables/useHotKey.cjs +1 -0
  189. package/dist/Composables/useHotKey.cjs.map +1 -1
  190. package/dist/Composables/useHotKey.mjs +1 -0
  191. package/dist/Composables/useHotKey.mjs.map +1 -1
  192. package/dist/Composables/useIsDarkTheme.cjs +1 -0
  193. package/dist/Composables/useIsDarkTheme.cjs.map +1 -1
  194. package/dist/Composables/useIsDarkTheme.mjs +1 -0
  195. package/dist/Composables/useIsDarkTheme.mjs.map +1 -1
  196. package/dist/Composables/useIsFullscreen.cjs +1 -0
  197. package/dist/Composables/useIsFullscreen.cjs.map +1 -1
  198. package/dist/Composables/useIsFullscreen.mjs +1 -0
  199. package/dist/Composables/useIsFullscreen.mjs.map +1 -1
  200. package/dist/Composables/useIsMobile.cjs +1 -0
  201. package/dist/Composables/useIsMobile.cjs.map +1 -1
  202. package/dist/Composables/useIsMobile.mjs +1 -0
  203. package/dist/Composables/useIsMobile.mjs.map +1 -1
  204. package/dist/Directives/Focus.cjs +1 -0
  205. package/dist/Directives/Focus.cjs.map +1 -1
  206. package/dist/Directives/Focus.mjs +1 -0
  207. package/dist/Directives/Focus.mjs.map +1 -1
  208. package/dist/Directives/Linkify.cjs +1 -0
  209. package/dist/Directives/Linkify.cjs.map +1 -1
  210. package/dist/Directives/Linkify.mjs +1 -0
  211. package/dist/Directives/Linkify.mjs.map +1 -1
  212. package/dist/Directives/Tooltip.cjs +2 -1
  213. package/dist/Directives/Tooltip.cjs.map +1 -1
  214. package/dist/Directives/Tooltip.mjs +5 -4
  215. package/dist/Directives/Tooltip.mjs.map +1 -1
  216. package/dist/Functions/a11y.cjs +1 -0
  217. package/dist/Functions/a11y.cjs.map +1 -1
  218. package/dist/Functions/a11y.mjs +1 -0
  219. package/dist/Functions/a11y.mjs.map +1 -1
  220. package/dist/Functions/contactsMenu.cjs +1 -0
  221. package/dist/Functions/contactsMenu.cjs.map +1 -1
  222. package/dist/Functions/contactsMenu.mjs +1 -0
  223. package/dist/Functions/contactsMenu.mjs.map +1 -1
  224. package/dist/Functions/dialog.cjs +1 -0
  225. package/dist/Functions/dialog.cjs.map +1 -1
  226. package/dist/Functions/dialog.mjs +1 -0
  227. package/dist/Functions/dialog.mjs.map +1 -1
  228. package/dist/Functions/emoji.cjs +1 -0
  229. package/dist/Functions/emoji.mjs +1 -0
  230. package/dist/Functions/isDarkTheme.cjs +1 -0
  231. package/dist/Functions/isDarkTheme.cjs.map +1 -1
  232. package/dist/Functions/isDarkTheme.mjs +1 -0
  233. package/dist/Functions/isDarkTheme.mjs.map +1 -1
  234. package/dist/Functions/preloadImage.cjs +19 -0
  235. package/dist/Functions/preloadImage.cjs.map +1 -0
  236. package/dist/Functions/preloadImage.mjs +17 -0
  237. package/dist/Functions/preloadImage.mjs.map +1 -0
  238. package/dist/Functions/reference.cjs +2 -1
  239. package/dist/Functions/reference.mjs +3 -2
  240. package/dist/Functions/registerReference.cjs +1 -0
  241. package/dist/Functions/registerReference.mjs +3 -2
  242. package/dist/Functions/usernameToColor.cjs +2 -1
  243. package/dist/Functions/usernameToColor.mjs +2 -1
  244. package/dist/Mixins/clickOutsideOptions.cjs +1 -0
  245. package/dist/Mixins/clickOutsideOptions.cjs.map +1 -1
  246. package/dist/Mixins/clickOutsideOptions.mjs +1 -0
  247. package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
  248. package/dist/Mixins/isFullscreen.cjs +1 -0
  249. package/dist/Mixins/isFullscreen.cjs.map +1 -1
  250. package/dist/Mixins/isFullscreen.mjs +1 -0
  251. package/dist/Mixins/isMobile.cjs +1 -0
  252. package/dist/Mixins/isMobile.cjs.map +1 -1
  253. package/dist/Mixins/isMobile.mjs +1 -0
  254. package/dist/Mixins/richEditor.cjs +1 -0
  255. package/dist/Mixins/richEditor.mjs +1 -0
  256. package/dist/assets/{NcActionButton-BYN2SUN0.css → NcActionButton-BqMeBMdA.css} +17 -16
  257. package/dist/assets/{NcActionCheckbox-Dan0EvGm.css → NcActionCheckbox-BlyPt7DF.css} +1 -0
  258. package/dist/assets/{NcActionInput-Dz21fyVD.css → NcActionInput-gUagFGC5.css} +2 -0
  259. package/dist/assets/{NcActionLink-BG9B9dP4.css → NcActionLink-DA3ebr8W.css} +1 -0
  260. package/dist/assets/{NcActionRadio-C87waXE-.css → NcActionRadio-CodyhP86.css} +1 -0
  261. package/dist/assets/{NcActionRouter-BAGuUfFu.css → NcActionRouter-DlqXQ6ai.css} +1 -0
  262. package/dist/assets/{NcActionText-Cjp26Bn0.css → NcActionText-Cvug6qMa.css} +1 -0
  263. package/dist/assets/{NcActionTextEditable-1TXeJ5zp.css → NcActionTextEditable-CasTVqIo.css} +62 -60
  264. package/dist/assets/{NcActions-C4SuFczn.css → NcActions-3STB3u9J.css} +11 -11
  265. package/dist/assets/{NcAppContent-BO0ksFwD.css → NcAppContent-DswTJB9n.css} +23 -23
  266. package/dist/assets/{NcAppNavigation-CJj8AvqM.css → NcAppNavigation-DfTQlVGB.css} +12 -12
  267. package/dist/assets/{NcAppNavigationItem-lh9Say1M.css → NcAppNavigationItem-CdT6ce8-.css} +11 -4
  268. package/dist/assets/{NcAppNavigationNew-BcDuupzO.css → NcAppNavigationNew-Dbo2rvXH.css} +3 -3
  269. package/dist/assets/{NcAppNavigationNewItem-fUP3wQTQ.css → NcAppNavigationNewItem-D7wroqrc.css} +7 -0
  270. package/dist/assets/{NcAppNavigationSearch-Df50ss_2.css → NcAppNavigationSearch-CFtTLRbc.css} +6 -6
  271. package/dist/assets/{NcAppNavigationToggle-B6FCDJp7.css → NcAppNavigationToggle-C5IMygw1.css} +3 -3
  272. package/dist/assets/{NcAppSidebar-BntAj6H-.css → NcAppSidebar-Dun97zcC.css} +43 -43
  273. package/dist/assets/{NcAvatar-CcJlFpcI.css → NcAvatar-BvPk6o_F.css} +24 -24
  274. package/dist/assets/NcBlurHash-7aGtE-_T.css +8 -0
  275. package/dist/assets/{NcBreadcrumb-Cjcyeimd.css → NcBreadcrumb-DqaFt2qu.css} +15 -15
  276. package/dist/assets/{NcButton-CfOAX-eQ.css → NcButton-DnNZaEy_.css} +47 -47
  277. package/dist/assets/{NcCheckboxRadioSwitch-DuFrRU9C.css → NcCheckboxRadioSwitch-DlEieXCj.css} +41 -41
  278. package/dist/assets/{NcChip-CIvAlds6.css → NcChip-BNLuZgd6.css} +9 -9
  279. package/dist/assets/{NcColorPicker-C1DuuANb.css → NcColorPicker-BayJGD4p.css} +28 -30
  280. package/dist/assets/{NcContent-CZamE_IP.css → NcContent-Bq-7EZQc.css} +9 -9
  281. package/dist/assets/{NcDateTimePicker-BtV9Fz-n.css → NcDateTimePicker-BY1UnUZM.css} +59 -12
  282. package/dist/assets/{NcDialog-Bzs9oxyt.css → NcDialog-BPI0CJvw.css} +15 -15
  283. package/dist/assets/{NcEmojiPicker-rk5qcSl7.css → NcEmojiPicker-Ca6U46T8.css} +19 -15
  284. package/dist/assets/{NcEmptyContent-BlXL6nnq.css → NcEmptyContent-CSsXYYcn.css} +9 -9
  285. package/dist/assets/{NcHeaderButton-BPkJ5wxD.css → NcHeaderButton-Dr6MgPDQ.css} +8 -7
  286. package/dist/assets/{NcHeaderMenu-BYjnMPPl.css → NcHeaderMenu-DN-HfTkh.css} +12 -11
  287. package/dist/assets/{NcIconSvgWrapper-BxyhLaB5.css → NcIconSvgWrapper-BiNW6Guv.css} +8 -4
  288. package/dist/assets/{NcInputConfirmCancel-EYtW7MxF.css → NcInputConfirmCancel-BanazdhC.css} +5 -5
  289. package/dist/assets/{NcInputField-CzryIHRa.css → NcInputField-GxJ-rf2p.css} +32 -32
  290. package/dist/assets/{NcListItem-GE5S37TT.css → NcListItem-DfaWGP5A.css} +44 -44
  291. package/dist/assets/{NcModal-ZfCDJxwd.css → NcModal-BS5vtogq.css} +68 -69
  292. package/dist/assets/{NcPopover-DpakVVxI.css → NcPopover-CWwUNpmE.css} +9 -9
  293. package/dist/assets/{NcRelatedResourcesPanel-DSf7TVcC.css → NcRelatedResourcesPanel-DhStLIO2.css} +21 -21
  294. package/dist/assets/{NcRichContenteditable-BV6g3dmd.css → NcRichContenteditable-CtPZudY6.css} +13 -10
  295. package/dist/assets/{NcRichText-zt8ALFHi.css → NcRichText-BwghUUnz.css} +3 -0
  296. package/dist/assets/NcSelectUsers-BoxBQpbA.css +4 -0
  297. package/dist/assets/{Tooltip-DQ4Plm4r.css → Tooltip-C-QZMStp.css} +7 -9
  298. package/dist/assets/{referencePickerModal-CTumspFH.css → referencePickerModal-Ba6soz9w.css} +8 -8
  299. package/dist/chunks/AlertCircleOutline-BrsasUsU.cjs +1 -0
  300. package/dist/chunks/AlertCircleOutline-DBxbepLy.mjs +1 -0
  301. package/dist/chunks/ArrowLeft-BP7yfzCQ.cjs +1 -0
  302. package/dist/chunks/ArrowLeft-DuT2LZOm.mjs +1 -0
  303. package/dist/chunks/ArrowRight-CY2b9hgN.mjs +1 -0
  304. package/dist/chunks/ArrowRight-DPARnmu3.cjs +1 -0
  305. package/dist/chunks/Check-BkThHPH7.mjs +1 -0
  306. package/dist/chunks/Check-Du8mPz_B.cjs +1 -0
  307. package/dist/chunks/ChevronDown-BlfyuflD.cjs +1 -0
  308. package/dist/chunks/ChevronDown-DFQfzh63.mjs +1 -0
  309. package/dist/chunks/ChevronRight-BUv-PtHh.mjs +1 -0
  310. package/dist/chunks/ChevronRight-ZCKVg9OI.cjs +1 -0
  311. package/dist/chunks/ChevronUp-Bpd__OBZ.cjs +1 -0
  312. package/dist/chunks/ChevronUp-C7Dy9Bph.mjs +1 -0
  313. package/dist/chunks/Close-BtLPUSdO.mjs +1 -0
  314. package/dist/chunks/Close-CqmXxEKi.cjs +1 -0
  315. package/dist/chunks/DotsHorizontal-BoI3vnhk.cjs +1 -0
  316. package/dist/chunks/DotsHorizontal-C6LNsw4N.mjs +1 -0
  317. package/dist/chunks/{GenColors-Di5GSft7.cjs → GenColors-7bkY5Nwl.cjs} +2 -1
  318. package/dist/chunks/{GenColors-Di5GSft7.cjs.map → GenColors-7bkY5Nwl.cjs.map} +1 -1
  319. package/dist/chunks/{GenColors-DfwXw1-o.mjs → GenColors-S7frO84b.mjs} +2 -1
  320. package/dist/chunks/{GenColors-DfwXw1-o.mjs.map → GenColors-S7frO84b.mjs.map} +1 -1
  321. package/dist/chunks/GenRandomId-BQDud3d4.cjs +1 -0
  322. package/dist/chunks/GenRandomId-BQDud3d4.cjs.map +1 -1
  323. package/dist/chunks/GenRandomId-CMooMQt0.mjs +1 -0
  324. package/dist/chunks/GenRandomId-CMooMQt0.mjs.map +1 -1
  325. package/dist/chunks/{NcActionButton-DcpUnqA7.cjs → NcActionButton-CXeEXQLT.cjs} +46 -13
  326. package/dist/chunks/NcActionButton-CXeEXQLT.cjs.map +1 -0
  327. package/dist/chunks/{NcActionButton-CEysTg4c.mjs → NcActionButton-Gpv56vuS.mjs} +46 -13
  328. package/dist/chunks/NcActionButton-Gpv56vuS.mjs.map +1 -0
  329. package/dist/chunks/{NcActionButtonGroup-x6D7S13W.cjs → NcActionButtonGroup-BMy3W9fG.cjs} +2 -1
  330. package/dist/chunks/{NcActionButtonGroup-x6D7S13W.cjs.map → NcActionButtonGroup-BMy3W9fG.cjs.map} +1 -1
  331. package/dist/chunks/{NcActionButtonGroup-3v-qy9C0.mjs → NcActionButtonGroup-BteTNhIn.mjs} +2 -1
  332. package/dist/chunks/{NcActionButtonGroup-3v-qy9C0.mjs.map → NcActionButtonGroup-BteTNhIn.mjs.map} +1 -1
  333. package/dist/chunks/{NcActionCheckbox-BnL71Qmi.mjs → NcActionCheckbox-DSMKeccY.mjs} +2 -1
  334. package/dist/chunks/{NcActionCheckbox-BnL71Qmi.mjs.map → NcActionCheckbox-DSMKeccY.mjs.map} +1 -1
  335. package/dist/chunks/{NcActionCheckbox-Dd5Y6f63.cjs → NcActionCheckbox-JX-QaTD6.cjs} +2 -1
  336. package/dist/chunks/{NcActionCheckbox-Dd5Y6f63.cjs.map → NcActionCheckbox-JX-QaTD6.cjs.map} +1 -1
  337. package/dist/chunks/{NcActionInput-VR510EDJ.cjs → NcActionInput-B-7FoLVy.cjs} +7 -6
  338. package/dist/chunks/{NcActionInput-VR510EDJ.cjs.map → NcActionInput-B-7FoLVy.cjs.map} +1 -1
  339. package/dist/chunks/{NcActionInput-BAM8T3gm.mjs → NcActionInput-D-zf_ZR9.mjs} +7 -6
  340. package/dist/chunks/{NcActionInput-BAM8T3gm.mjs.map → NcActionInput-D-zf_ZR9.mjs.map} +1 -1
  341. package/dist/chunks/{NcActionRadio-BQ0jAh5V.cjs → NcActionRadio-BUCQ6VxA.cjs} +2 -1
  342. package/dist/chunks/{NcActionRadio-BQ0jAh5V.cjs.map → NcActionRadio-BUCQ6VxA.cjs.map} +1 -1
  343. package/dist/chunks/{NcActionRadio-CCTupqRR.mjs → NcActionRadio-yAm71xxU.mjs} +2 -1
  344. package/dist/chunks/{NcActionRadio-CCTupqRR.mjs.map → NcActionRadio-yAm71xxU.mjs.map} +1 -1
  345. package/dist/chunks/{NcActionTextEditable-JRD-G0CT.mjs → NcActionTextEditable-BYqqHPj2.mjs} +6 -5
  346. package/dist/chunks/NcActionTextEditable-BYqqHPj2.mjs.map +1 -0
  347. package/dist/chunks/{NcActionTextEditable-C-ZP8_Tn.cjs → NcActionTextEditable-s1Xqpg6x.cjs} +6 -5
  348. package/dist/chunks/NcActionTextEditable-s1Xqpg6x.cjs.map +1 -0
  349. package/dist/chunks/{NcActions-D3hGxwlc.mjs → NcActions-Bkh3UMs3.mjs} +52 -53
  350. package/dist/chunks/NcActions-Bkh3UMs3.mjs.map +1 -0
  351. package/dist/chunks/{NcActions-DTICeoTz.cjs → NcActions-DFHXBqKC.cjs} +51 -52
  352. package/dist/chunks/NcActions-DFHXBqKC.cjs.map +1 -0
  353. package/dist/chunks/{NcAppContent-BOt6_YA7.cjs → NcAppContent-D__4-2XM.cjs} +60 -22
  354. package/dist/chunks/NcAppContent-D__4-2XM.cjs.map +1 -0
  355. package/dist/chunks/{NcAppContent-BKQ-H04y.mjs → NcAppContent-_x1Bvwg-.mjs} +60 -22
  356. package/dist/chunks/NcAppContent-_x1Bvwg-.mjs.map +1 -0
  357. package/dist/chunks/{NcAppNavigation-D7W-4cVo.cjs → NcAppNavigation-DBfTz6qV.cjs} +6 -5
  358. package/dist/chunks/NcAppNavigation-DBfTz6qV.cjs.map +1 -0
  359. package/dist/chunks/{NcAppNavigation-B_92V8o3.mjs → NcAppNavigation-H8Gvbq5E.mjs} +7 -6
  360. package/dist/chunks/NcAppNavigation-H8Gvbq5E.mjs.map +1 -0
  361. package/dist/chunks/{NcAppNavigationCaption-B3w692fN.mjs → NcAppNavigationCaption-Dz7wVRDM.mjs} +2 -1
  362. package/dist/chunks/{NcAppNavigationCaption-B3w692fN.mjs.map → NcAppNavigationCaption-Dz7wVRDM.mjs.map} +1 -1
  363. package/dist/chunks/{NcAppNavigationCaption-BDqTyLIj.cjs → NcAppNavigationCaption-Kjwx7t2O.cjs} +2 -1
  364. package/dist/chunks/{NcAppNavigationCaption-BDqTyLIj.cjs.map → NcAppNavigationCaption-Kjwx7t2O.cjs.map} +1 -1
  365. package/dist/chunks/{NcAppNavigationItem-DL9OwWo-.cjs → NcAppNavigationItem-CHa42b-x.cjs} +9 -8
  366. package/dist/chunks/NcAppNavigationItem-CHa42b-x.cjs.map +1 -0
  367. package/dist/chunks/{NcAppNavigationItem-CpcFOmJR.mjs → NcAppNavigationItem-Dpm3T1dA.mjs} +9 -8
  368. package/dist/chunks/NcAppNavigationItem-Dpm3T1dA.mjs.map +1 -0
  369. package/dist/chunks/{NcAppNavigationNewItem-BaKxxZqt.cjs → NcAppNavigationNewItem-BLek0JRU.cjs} +3 -2
  370. package/dist/chunks/{NcAppNavigationNewItem-BaKxxZqt.cjs.map → NcAppNavigationNewItem-BLek0JRU.cjs.map} +1 -1
  371. package/dist/chunks/{NcAppNavigationNewItem-BvQaVuL6.mjs → NcAppNavigationNewItem-DGjgp78o.mjs} +3 -2
  372. package/dist/chunks/{NcAppNavigationNewItem-BvQaVuL6.mjs.map → NcAppNavigationNewItem-DGjgp78o.mjs.map} +1 -1
  373. package/dist/chunks/{NcAppNavigationSearch-Q0eMy5I2.cjs → NcAppNavigationSearch-BblolNaS.cjs} +6 -5
  374. package/dist/chunks/NcAppNavigationSearch-BblolNaS.cjs.map +1 -0
  375. package/dist/chunks/{NcAppNavigationSearch-gytpBKme.mjs → NcAppNavigationSearch-DTW6CtnU.mjs} +6 -5
  376. package/dist/chunks/NcAppNavigationSearch-DTW6CtnU.mjs.map +1 -0
  377. package/dist/chunks/{NcAppNavigationSettings-CZFm1d-N.mjs → NcAppNavigationSettings-C0QuEMmn.mjs} +3 -2
  378. package/dist/chunks/{NcAppNavigationSettings-CZFm1d-N.mjs.map → NcAppNavigationSettings-C0QuEMmn.mjs.map} +1 -1
  379. package/dist/chunks/{NcAppNavigationSettings-CwwmvKYV.cjs → NcAppNavigationSettings-lfJvt3vG.cjs} +3 -2
  380. package/dist/chunks/{NcAppNavigationSettings-CwwmvKYV.cjs.map → NcAppNavigationSettings-lfJvt3vG.cjs.map} +1 -1
  381. package/dist/chunks/{NcAppNavigationToggle-Br1hcFGt.cjs → NcAppNavigationToggle-CUGOWggc.cjs} +5 -4
  382. package/dist/chunks/NcAppNavigationToggle-CUGOWggc.cjs.map +1 -0
  383. package/dist/chunks/{NcAppNavigationToggle-Pr8bEpDs.mjs → NcAppNavigationToggle-CjPJB2s3.mjs} +5 -4
  384. package/dist/chunks/NcAppNavigationToggle-CjPJB2s3.mjs.map +1 -0
  385. package/dist/chunks/{NcAppSettingsDialog-JPB-srka.mjs → NcAppSettingsDialog-Dl-kMSpe.mjs} +4 -3
  386. package/dist/chunks/{NcAppSettingsDialog-JPB-srka.mjs.map → NcAppSettingsDialog-Dl-kMSpe.mjs.map} +1 -1
  387. package/dist/chunks/{NcAppSettingsDialog-z9v6V6ye.cjs → NcAppSettingsDialog-K3yVenLs.cjs} +4 -3
  388. package/dist/chunks/{NcAppSettingsDialog-z9v6V6ye.cjs.map → NcAppSettingsDialog-K3yVenLs.cjs.map} +1 -1
  389. package/dist/chunks/{NcAppSidebar-BY33yoNX.cjs → NcAppSidebar-Bmlid_Pa.cjs} +13 -12
  390. package/dist/chunks/NcAppSidebar-Bmlid_Pa.cjs.map +1 -0
  391. package/dist/chunks/{NcAppSidebar-cEQy8s50.mjs → NcAppSidebar-DOJNq1iG.mjs} +17 -16
  392. package/dist/chunks/NcAppSidebar-DOJNq1iG.mjs.map +1 -0
  393. package/dist/chunks/{NcAvatar-CQtsmbBW.cjs → NcAvatar-Bp1wPu2I.cjs} +45 -23
  394. package/dist/chunks/NcAvatar-Bp1wPu2I.cjs.map +1 -0
  395. package/dist/chunks/{NcAvatar-BjwyJw34.mjs → NcAvatar-DOvpF1gr.mjs} +46 -24
  396. package/dist/chunks/NcAvatar-DOvpF1gr.mjs.map +1 -0
  397. package/dist/chunks/NcBlurHash-CJ8retHx.cjs +115 -0
  398. package/dist/chunks/NcBlurHash-CJ8retHx.cjs.map +1 -0
  399. package/dist/chunks/NcBlurHash-do2wxY-0.mjs +116 -0
  400. package/dist/chunks/NcBlurHash-do2wxY-0.mjs.map +1 -0
  401. package/dist/chunks/{NcBreadcrumb-GHiD-Sw7.mjs → NcBreadcrumb-1Gv4FRrG.mjs} +6 -5
  402. package/dist/chunks/NcBreadcrumb-1Gv4FRrG.mjs.map +1 -0
  403. package/dist/chunks/{NcBreadcrumb-DrlhnNbV.cjs → NcBreadcrumb-9pV_jqex.cjs} +6 -5
  404. package/dist/chunks/NcBreadcrumb-9pV_jqex.cjs.map +1 -0
  405. package/dist/chunks/{NcBreadcrumbs-D0Hhym9A.mjs → NcBreadcrumbs-CwuR-hUE.mjs} +5 -4
  406. package/dist/chunks/{NcBreadcrumbs-D0Hhym9A.mjs.map → NcBreadcrumbs-CwuR-hUE.mjs.map} +1 -1
  407. package/dist/chunks/{NcBreadcrumbs-Cde4tv8l.cjs → NcBreadcrumbs-D4RrS0HT.cjs} +4 -3
  408. package/dist/chunks/{NcBreadcrumbs-Cde4tv8l.cjs.map → NcBreadcrumbs-D4RrS0HT.cjs.map} +1 -1
  409. package/dist/chunks/{NcCheckboxRadioSwitch-RjEq0SqY.cjs → NcCheckboxRadioSwitch-DbK49DI7.cjs} +7 -13
  410. package/dist/chunks/NcCheckboxRadioSwitch-DbK49DI7.cjs.map +1 -0
  411. package/dist/chunks/{NcCheckboxRadioSwitch-CCuKA55c.mjs → NcCheckboxRadioSwitch-Di9rSADK.mjs} +7 -13
  412. package/dist/chunks/NcCheckboxRadioSwitch-Di9rSADK.mjs.map +1 -0
  413. package/dist/chunks/{NcCollectionList-fyDi2W_B.cjs → NcCollectionList-C3QKgLIe.cjs} +6 -5
  414. package/dist/chunks/{NcCollectionList-fyDi2W_B.cjs.map → NcCollectionList-C3QKgLIe.cjs.map} +1 -1
  415. package/dist/chunks/{NcCollectionList-BNxu1MWE.mjs → NcCollectionList-D51FpJCr.mjs} +6 -5
  416. package/dist/chunks/{NcCollectionList-BNxu1MWE.mjs.map → NcCollectionList-D51FpJCr.mjs.map} +1 -1
  417. package/dist/chunks/{NcColorPicker-CTQlyVCL.cjs → NcColorPicker-9BNg5lJ0.cjs} +9 -8
  418. package/dist/chunks/NcColorPicker-9BNg5lJ0.cjs.map +1 -0
  419. package/dist/chunks/{NcColorPicker-ph8Nubq7.mjs → NcColorPicker-sJKL33GV.mjs} +9 -8
  420. package/dist/chunks/NcColorPicker-sJKL33GV.mjs.map +1 -0
  421. package/dist/chunks/{NcContent-CJNhr5lF.cjs → NcContent-4X_oNYtW.cjs} +7 -6
  422. package/dist/chunks/{NcContent-CJNhr5lF.cjs.map → NcContent-4X_oNYtW.cjs.map} +1 -1
  423. package/dist/chunks/{NcContent-RlppaZCX.mjs → NcContent-BHl5YDYI.mjs} +7 -6
  424. package/dist/chunks/{NcContent-RlppaZCX.mjs.map → NcContent-BHl5YDYI.mjs.map} +1 -1
  425. package/dist/chunks/NcCounterBubble-BRrUO34D.cjs +1 -0
  426. package/dist/chunks/NcCounterBubble-CDfRYl8B.mjs +1 -0
  427. package/dist/chunks/{NcDashboardWidget-CirRHHmT.cjs → NcDashboardWidget-B1och7uR.cjs} +4 -3
  428. package/dist/chunks/{NcDashboardWidget-CirRHHmT.cjs.map → NcDashboardWidget-B1och7uR.cjs.map} +1 -1
  429. package/dist/chunks/{NcDashboardWidget-Dg12xu50.mjs → NcDashboardWidget-CioEwUfN.mjs} +4 -3
  430. package/dist/chunks/{NcDashboardWidget-Dg12xu50.mjs.map → NcDashboardWidget-CioEwUfN.mjs.map} +1 -1
  431. package/dist/chunks/{NcDashboardWidgetItem-COONyn0g.cjs → NcDashboardWidgetItem-BZPoOCWQ.cjs} +4 -3
  432. package/dist/chunks/{NcDashboardWidgetItem-COONyn0g.cjs.map → NcDashboardWidgetItem-BZPoOCWQ.cjs.map} +1 -1
  433. package/dist/chunks/{NcDashboardWidgetItem-DZGooEwA.mjs → NcDashboardWidgetItem-D4EefvnL.mjs} +4 -3
  434. package/dist/chunks/{NcDashboardWidgetItem-DZGooEwA.mjs.map → NcDashboardWidgetItem-D4EefvnL.mjs.map} +1 -1
  435. package/dist/chunks/{NcDateTime-DBZ-vBfi.mjs → NcDateTime-BR6BBvML.mjs} +2 -1
  436. package/dist/chunks/{NcDateTime-DBZ-vBfi.mjs.map → NcDateTime-BR6BBvML.mjs.map} +1 -1
  437. package/dist/chunks/{NcDateTime-AFZif5Dn.cjs → NcDateTime-C-kLQayi.cjs} +2 -1
  438. package/dist/chunks/{NcDateTime-AFZif5Dn.cjs.map → NcDateTime-C-kLQayi.cjs.map} +1 -1
  439. package/dist/chunks/{NcDialog-mcbLFc8o.cjs → NcDialog-BjLJB7fW.cjs} +28 -11
  440. package/dist/chunks/NcDialog-BjLJB7fW.cjs.map +1 -0
  441. package/dist/chunks/{NcDialog-I_9fyJVt.mjs → NcDialog-D2lwwZL-.mjs} +28 -11
  442. package/dist/chunks/NcDialog-D2lwwZL-.mjs.map +1 -0
  443. package/dist/chunks/{NcDialogButton-DuJ3lE7e.mjs → NcDialogButton-BB56HcBl.mjs} +29 -10
  444. package/dist/chunks/NcDialogButton-BB56HcBl.mjs.map +1 -0
  445. package/dist/chunks/{NcDialogButton-FLqQdVLb.cjs → NcDialogButton-ByvLH63s.cjs} +29 -10
  446. package/dist/chunks/NcDialogButton-ByvLH63s.cjs.map +1 -0
  447. package/dist/chunks/{NcEmojiPicker-DDCgW2zQ.mjs → NcEmojiPicker-B49sJeMw.mjs} +20 -12
  448. package/dist/chunks/NcEmojiPicker-B49sJeMw.mjs.map +1 -0
  449. package/dist/chunks/{NcEmojiPicker-B1ot5iNB.cjs → NcEmojiPicker-DcTSImTm.cjs} +18 -10
  450. package/dist/chunks/NcEmojiPicker-DcTSImTm.cjs.map +1 -0
  451. package/dist/chunks/{NcHeaderMenu-BaHhnhN0.cjs → NcHeaderMenu-B287C-Vk.cjs} +6 -5
  452. package/dist/chunks/NcHeaderMenu-B287C-Vk.cjs.map +1 -0
  453. package/dist/chunks/{NcHeaderMenu-CLcpStap.mjs → NcHeaderMenu-Bc1ucNsv.mjs} +6 -5
  454. package/dist/chunks/NcHeaderMenu-Bc1ucNsv.mjs.map +1 -0
  455. package/dist/chunks/{NcIconSvgWrapper-B_eOG2sZ.cjs → NcIconSvgWrapper-BlucK1g3.cjs} +27 -15
  456. package/dist/chunks/NcIconSvgWrapper-BlucK1g3.cjs.map +1 -0
  457. package/dist/chunks/{NcIconSvgWrapper-CHmdAuhg.mjs → NcIconSvgWrapper-RKuZn260.mjs} +28 -16
  458. package/dist/chunks/NcIconSvgWrapper-RKuZn260.mjs.map +1 -0
  459. package/dist/chunks/{NcInputConfirmCancel-C7a7Nha7.mjs → NcInputConfirmCancel-CacBXLGS.mjs} +7 -6
  460. package/dist/chunks/NcInputConfirmCancel-CacBXLGS.mjs.map +1 -0
  461. package/dist/chunks/{NcInputConfirmCancel-XzKuYi6L.cjs → NcInputConfirmCancel-lVLFwBA4.cjs} +7 -6
  462. package/dist/chunks/NcInputConfirmCancel-lVLFwBA4.cjs.map +1 -0
  463. package/dist/chunks/{NcInputField-DkhKrb8k.cjs → NcInputField-C61UUN46.cjs} +4 -3
  464. package/dist/chunks/NcInputField-C61UUN46.cjs.map +1 -0
  465. package/dist/chunks/{NcInputField-CU5a68Pc.mjs → NcInputField-DTtUueUZ.mjs} +4 -3
  466. package/dist/chunks/NcInputField-DTtUueUZ.mjs.map +1 -0
  467. package/dist/chunks/{NcListItem-3e1MminS.mjs → NcListItem-BBTd7BLc.mjs} +4 -3
  468. package/dist/chunks/NcListItem-BBTd7BLc.mjs.map +1 -0
  469. package/dist/chunks/{NcListItem-9w7m2lJ_.cjs → NcListItem-D_mvsnph.cjs} +4 -3
  470. package/dist/chunks/NcListItem-D_mvsnph.cjs.map +1 -0
  471. package/dist/chunks/{NcListItemIcon-7x7iDHYw.mjs → NcListItemIcon-B16M-aHV.mjs} +3 -2
  472. package/dist/chunks/{NcListItemIcon-7x7iDHYw.mjs.map → NcListItemIcon-B16M-aHV.mjs.map} +1 -1
  473. package/dist/chunks/{NcListItemIcon-pOj8Vr2H.cjs → NcListItemIcon-COUzDQI5.cjs} +3 -2
  474. package/dist/chunks/{NcListItemIcon-pOj8Vr2H.cjs.map → NcListItemIcon-COUzDQI5.cjs.map} +1 -1
  475. package/dist/chunks/{NcPasswordField-BS6bkHtv.cjs → NcPasswordField-BCzIotoB.cjs} +3 -2
  476. package/dist/chunks/{NcPasswordField-BS6bkHtv.cjs.map → NcPasswordField-BCzIotoB.cjs.map} +1 -1
  477. package/dist/chunks/{NcPasswordField-Dpu9nI6h.mjs → NcPasswordField-CTKHRVC4.mjs} +3 -2
  478. package/dist/chunks/{NcPasswordField-Dpu9nI6h.mjs.map → NcPasswordField-CTKHRVC4.mjs.map} +1 -1
  479. package/dist/chunks/{NcPopover-BKlH1mbx.cjs → NcPopover-BxLo6SFb.cjs} +12 -5
  480. package/dist/chunks/NcPopover-BxLo6SFb.cjs.map +1 -0
  481. package/dist/chunks/{NcPopover-DFCPlZpS.mjs → NcPopover-w98cBbbF.mjs} +12 -5
  482. package/dist/chunks/NcPopover-w98cBbbF.mjs.map +1 -0
  483. package/dist/chunks/NcProgressBar-DegJ2JjE.mjs +1 -0
  484. package/dist/chunks/NcProgressBar-Do5Y3u8S.cjs +1 -0
  485. package/dist/chunks/{NcRelatedResourcesPanel-BrkyIR3v.cjs → NcRelatedResourcesPanel-B-y_Wan4.cjs} +10 -9
  486. package/dist/chunks/NcRelatedResourcesPanel-B-y_Wan4.cjs.map +1 -0
  487. package/dist/chunks/{NcRelatedResourcesPanel-C6JIVMvN.mjs → NcRelatedResourcesPanel-CmiW_ds0.mjs} +10 -9
  488. package/dist/chunks/NcRelatedResourcesPanel-CmiW_ds0.mjs.map +1 -0
  489. package/dist/chunks/{NcRichContenteditable-DJy0zZXx.cjs → NcRichContenteditable-ClHXIiXL.cjs} +12 -20
  490. package/dist/chunks/NcRichContenteditable-ClHXIiXL.cjs.map +1 -0
  491. package/dist/chunks/{NcRichContenteditable-3kkU0Uxu.mjs → NcRichContenteditable-zZQChT9M.mjs} +14 -22
  492. package/dist/chunks/NcRichContenteditable-zZQChT9M.mjs.map +1 -0
  493. package/dist/chunks/NcRichText-C43cKGcR.mjs +3679 -0
  494. package/dist/chunks/NcRichText-C43cKGcR.mjs.map +1 -0
  495. package/dist/chunks/NcRichText-CMbtZkLP.cjs +3707 -0
  496. package/dist/chunks/NcRichText-CMbtZkLP.cjs.map +1 -0
  497. package/dist/chunks/NcSavingIndicatorIcon-Bu-zt4pR.cjs +1 -0
  498. package/dist/chunks/NcSavingIndicatorIcon-nv1147dk.mjs +1 -0
  499. package/dist/chunks/{NcSelect-YHwbPAJD.cjs → NcSelect-C9cGa-5v.cjs} +25 -7
  500. package/dist/chunks/NcSelect-C9cGa-5v.cjs.map +1 -0
  501. package/dist/chunks/{NcSelect-BQ-NFBXI.mjs → NcSelect-XLdUgokz.mjs} +25 -7
  502. package/dist/chunks/NcSelect-XLdUgokz.mjs.map +1 -0
  503. package/dist/chunks/{NcSelectTags-BAMsfdw9.cjs → NcSelectTags-B0rsXdxP.cjs} +3 -2
  504. package/dist/chunks/{NcSelectTags-BAMsfdw9.cjs.map → NcSelectTags-B0rsXdxP.cjs.map} +1 -1
  505. package/dist/chunks/{NcSelectTags-BKtOWgrz.mjs → NcSelectTags-DT2Y3Kms.mjs} +3 -2
  506. package/dist/chunks/{NcSelectTags-BKtOWgrz.mjs.map → NcSelectTags-DT2Y3Kms.mjs.map} +1 -1
  507. package/dist/chunks/NcSelectUsers-C-bbm2cW.cjs +187 -0
  508. package/dist/chunks/NcSelectUsers-C-bbm2cW.cjs.map +1 -0
  509. package/dist/chunks/NcSelectUsers-DFlj_h9t.mjs +188 -0
  510. package/dist/chunks/NcSelectUsers-DFlj_h9t.mjs.map +1 -0
  511. package/dist/chunks/{NcSettingsInputText-nb2XMaJW.cjs → NcSettingsInputText-BU1_SHOq.cjs} +3 -2
  512. package/dist/chunks/{NcSettingsInputText-nb2XMaJW.cjs.map → NcSettingsInputText-BU1_SHOq.cjs.map} +1 -1
  513. package/dist/chunks/{NcSettingsInputText-DC7H_6Uz.mjs → NcSettingsInputText-t1FMnLKA.mjs} +3 -2
  514. package/dist/chunks/{NcSettingsInputText-DC7H_6Uz.mjs.map → NcSettingsInputText-t1FMnLKA.mjs.map} +1 -1
  515. package/dist/chunks/{NcSettingsSection-6Sc6GBsM.cjs → NcSettingsSection-Dcdxs1IN.cjs} +2 -1
  516. package/dist/chunks/{NcSettingsSection-6Sc6GBsM.cjs.map → NcSettingsSection-Dcdxs1IN.cjs.map} +1 -1
  517. package/dist/chunks/{NcSettingsSection-BYKUjim0.mjs → NcSettingsSection-EC3SmiDX.mjs} +2 -1
  518. package/dist/chunks/{NcSettingsSection-BYKUjim0.mjs.map → NcSettingsSection-EC3SmiDX.mjs.map} +1 -1
  519. package/dist/chunks/{NcSettingsSelectGroup-CI2LoVeL.mjs → NcSettingsSelectGroup-B4isXyUU.mjs} +4 -3
  520. package/dist/chunks/{NcSettingsSelectGroup-CI2LoVeL.mjs.map → NcSettingsSelectGroup-B4isXyUU.mjs.map} +1 -1
  521. package/dist/chunks/{NcSettingsSelectGroup-DX4AaRte.cjs → NcSettingsSelectGroup-CE71MIQo.cjs} +4 -3
  522. package/dist/chunks/{NcSettingsSelectGroup-DX4AaRte.cjs.map → NcSettingsSelectGroup-CE71MIQo.cjs.map} +1 -1
  523. package/dist/chunks/NcTextArea-BHERsE_g.mjs +1 -0
  524. package/dist/chunks/NcTextArea-CYLGAGcO.cjs +1 -0
  525. package/dist/chunks/NcTextArea-CYLGAGcO.cjs.map +1 -1
  526. package/dist/chunks/{NcTextField-9gC8or6j.mjs → NcTextField-DRANdaIf.mjs} +4 -3
  527. package/dist/chunks/{NcTextField-9gC8or6j.mjs.map → NcTextField-DRANdaIf.mjs.map} +1 -1
  528. package/dist/chunks/{NcTextField-Pbox9mQE.cjs → NcTextField-Uk5iD8o2.cjs} +4 -3
  529. package/dist/chunks/{NcTextField-Pbox9mQE.cjs.map → NcTextField-Uk5iD8o2.cjs.map} +1 -1
  530. package/dist/chunks/{NcTimezonePicker-DIwsRdu2.cjs → NcTimezonePicker-BTyhPxMT.cjs} +4 -3
  531. package/dist/chunks/{NcTimezonePicker-DIwsRdu2.cjs.map → NcTimezonePicker-BTyhPxMT.cjs.map} +1 -1
  532. package/dist/chunks/{NcTimezonePicker-xSXSuNHX.mjs → NcTimezonePicker-sAG8kn1b.mjs} +4 -3
  533. package/dist/chunks/{NcTimezonePicker-xSXSuNHX.mjs.map → NcTimezonePicker-sAG8kn1b.mjs.map} +1 -1
  534. package/dist/chunks/{NcUserBubble-BFvEaXLr.mjs → NcUserBubble-DmZZOMRr.mjs} +3 -2
  535. package/dist/chunks/{NcUserBubble-BFvEaXLr.mjs.map → NcUserBubble-DmZZOMRr.mjs.map} +1 -1
  536. package/dist/chunks/{NcUserBubble-rphdAcHS.cjs → NcUserBubble-cX4wyq1_.cjs} +3 -2
  537. package/dist/chunks/{NcUserBubble-rphdAcHS.cjs.map → NcUserBubble-cX4wyq1_.cjs.map} +1 -1
  538. package/dist/chunks/{NcUserStatusIcon-S5bBgRl6.mjs → NcUserStatusIcon-WEKmuaoU.mjs} +4 -2
  539. package/dist/chunks/{NcUserStatusIcon-S5bBgRl6.mjs.map → NcUserStatusIcon-WEKmuaoU.mjs.map} +1 -1
  540. package/dist/chunks/{NcUserStatusIcon-CFLiHFkC.cjs → NcUserStatusIcon-cs42Lzdd.cjs} +4 -2
  541. package/dist/chunks/{NcUserStatusIcon-CFLiHFkC.cjs.map → NcUserStatusIcon-cs42Lzdd.cjs.map} +1 -1
  542. package/dist/chunks/{ScopeComponent-CEMLuQd5.mjs → ScopeComponent-BaHwjQGQ.mjs} +2 -1
  543. package/dist/chunks/{ScopeComponent-CEMLuQd5.mjs.map → ScopeComponent-BaHwjQGQ.mjs.map} +1 -1
  544. package/dist/chunks/{ScopeComponent-B5vclUCV.cjs → ScopeComponent-CqVh6vwk.cjs} +2 -1
  545. package/dist/chunks/{ScopeComponent-B5vclUCV.cjs.map → ScopeComponent-CqVh6vwk.cjs.map} +1 -1
  546. package/dist/chunks/_l10n-BiiXtYiP.cjs +143 -0
  547. package/dist/chunks/{_l10n-CjO_W5Dt.cjs.map → _l10n-BiiXtYiP.cjs.map} +1 -1
  548. package/dist/chunks/_l10n-Dt0m9Fxw.mjs +144 -0
  549. package/dist/chunks/_l10n-Dt0m9Fxw.mjs.map +1 -0
  550. package/dist/chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs +1 -0
  551. package/dist/chunks/_plugin-vue2_normalizer-V0q-tHlQ.cjs +1 -0
  552. package/dist/chunks/actionGlobal-DqVa7c7G.mjs +1 -0
  553. package/dist/chunks/actionGlobal-DqVa7c7G.mjs.map +1 -1
  554. package/dist/chunks/actionGlobal-L0Ls8tPJ.cjs +1 -0
  555. package/dist/chunks/actionGlobal-L0Ls8tPJ.cjs.map +1 -1
  556. package/dist/chunks/actionText-BcrK4uH1.cjs +1 -0
  557. package/dist/chunks/actionText-BcrK4uH1.cjs.map +1 -1
  558. package/dist/chunks/actionText-fFcUPi2g.mjs +1 -0
  559. package/dist/chunks/actionText-fFcUPi2g.mjs.map +1 -1
  560. package/dist/chunks/autolink-BAgL31EZ.cjs +1 -0
  561. package/dist/chunks/autolink-BAgL31EZ.cjs.map +1 -1
  562. package/dist/chunks/autolink-cbuFALXr.mjs +1 -0
  563. package/dist/chunks/autolink-cbuFALXr.mjs.map +1 -1
  564. package/dist/chunks/emoji-BY_D0V5K.mjs +1 -0
  565. package/dist/chunks/emoji-BY_D0V5K.mjs.map +1 -1
  566. package/dist/chunks/emoji-VgSjNTd5.cjs +1 -0
  567. package/dist/chunks/emoji-VgSjNTd5.cjs.map +1 -1
  568. package/dist/chunks/focusTrap-DmkaYJTC.mjs +32 -0
  569. package/dist/chunks/focusTrap-DmkaYJTC.mjs.map +1 -0
  570. package/dist/chunks/focusTrap-Vbgxe8ZX.cjs +31 -0
  571. package/dist/chunks/focusTrap-Vbgxe8ZX.cjs.map +1 -0
  572. package/dist/chunks/getAvatarUrl-6z9qRNH-.cjs +1 -0
  573. package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs +1 -0
  574. package/dist/chunks/{index-CtoB4eIp.mjs → index-56SXuvlv.mjs} +3 -2
  575. package/dist/chunks/{index-CtoB4eIp.mjs.map → index-56SXuvlv.mjs.map} +1 -1
  576. package/dist/chunks/index-BV85rPB7.cjs +1 -0
  577. package/dist/chunks/index-BV85rPB7.cjs.map +1 -1
  578. package/dist/chunks/index-BiECbTbJ.cjs +1 -0
  579. package/dist/chunks/index-BiECbTbJ.cjs.map +1 -1
  580. package/dist/chunks/index-Bz6q9mZw.mjs +1 -0
  581. package/dist/chunks/index-Bz6q9mZw.mjs.map +1 -1
  582. package/dist/chunks/index-DIJxEozm.cjs +1 -0
  583. package/dist/chunks/index-DIJxEozm.cjs.map +1 -1
  584. package/dist/chunks/index-G8WQDZ8G.mjs +1 -0
  585. package/dist/chunks/index-G8WQDZ8G.mjs.map +1 -1
  586. package/dist/chunks/logger-3HuiEIF6.cjs +1 -0
  587. package/dist/chunks/logger-D3RVzcfQ.mjs +1 -0
  588. package/dist/chunks/mdi-CZJxQPz6.mjs +9 -0
  589. package/dist/chunks/mdi-CZJxQPz6.mjs.map +1 -0
  590. package/dist/chunks/mdi-Da9VuUVq.cjs +8 -0
  591. package/dist/chunks/mdi-Da9VuUVq.cjs.map +1 -0
  592. package/dist/chunks/{referencePickerModal-BkBu4cnq.cjs → referencePickerModal-BdK-_zC6.cjs} +9 -8
  593. package/dist/chunks/{referencePickerModal-BkBu4cnq.cjs.map → referencePickerModal-BdK-_zC6.cjs.map} +1 -1
  594. package/dist/chunks/{referencePickerModal-CGG57Dy_.mjs → referencePickerModal-Bxp4FMcs.mjs} +10 -9
  595. package/dist/chunks/{referencePickerModal-CGG57Dy_.mjs.map → referencePickerModal-Bxp4FMcs.mjs.map} +1 -1
  596. package/dist/chunks/rtl-DLuwcTlm.cjs +5 -0
  597. package/dist/chunks/rtl-DLuwcTlm.cjs.map +1 -0
  598. package/dist/chunks/rtl-v0UOPAM7.mjs +6 -0
  599. package/dist/chunks/rtl-v0UOPAM7.mjs.map +1 -0
  600. package/dist/chunks/useModelMigration-D5zhrNXr.cjs +1 -0
  601. package/dist/chunks/useModelMigration-D5zhrNXr.cjs.map +1 -1
  602. package/dist/chunks/useModelMigration-EhAWvqDD.mjs +1 -0
  603. package/dist/chunks/useModelMigration-EhAWvqDD.mjs.map +1 -1
  604. package/dist/chunks/useTrapStackControl-BJmJdJak.cjs +22 -0
  605. package/dist/chunks/useTrapStackControl-BJmJdJak.cjs.map +1 -0
  606. package/dist/chunks/useTrapStackControl-b3A_383w.mjs +23 -0
  607. package/dist/chunks/useTrapStackControl-b3A_383w.mjs.map +1 -0
  608. package/dist/chunks/{usernameToColor-BCZuxlEH.mjs → usernameToColor-DJfepfog.mjs} +2 -1
  609. package/dist/chunks/{usernameToColor-BCZuxlEH.mjs.map → usernameToColor-DJfepfog.mjs.map} +1 -1
  610. package/dist/chunks/{usernameToColor-cVFS7tET.cjs → usernameToColor-mqInDrGv.cjs} +2 -1
  611. package/dist/chunks/{usernameToColor-cVFS7tET.cjs.map → usernameToColor-mqInDrGv.cjs.map} +1 -1
  612. package/dist/composables/useTrapStackControl.d.ts +12 -0
  613. package/dist/functions/index.d.ts +3 -2
  614. package/dist/functions/preloadImage/index.d.ts +9 -0
  615. package/dist/functions/reference/widgets.d.ts +1 -1
  616. package/dist/index.cjs +62 -53
  617. package/dist/index.cjs.map +1 -1
  618. package/dist/index.mjs +63 -54
  619. package/dist/index.mjs.map +1 -1
  620. package/dist/utils/focusTrap.d.ts +26 -0
  621. package/dist/utils/rtl.d.ts +5 -0
  622. package/dist/vendor.LICENSE.txt +128 -0
  623. package/package.json +23 -15
  624. package/dist/chunks/ChevronLeft-BK4j9oVH.mjs +0 -37
  625. package/dist/chunks/ChevronLeft-BK4j9oVH.mjs.map +0 -1
  626. package/dist/chunks/ChevronLeft-CAiEPWc5.cjs +0 -36
  627. package/dist/chunks/ChevronLeft-CAiEPWc5.cjs.map +0 -1
  628. package/dist/chunks/NcActionButton-CEysTg4c.mjs.map +0 -1
  629. package/dist/chunks/NcActionButton-DcpUnqA7.cjs.map +0 -1
  630. package/dist/chunks/NcActionTextEditable-C-ZP8_Tn.cjs.map +0 -1
  631. package/dist/chunks/NcActionTextEditable-JRD-G0CT.mjs.map +0 -1
  632. package/dist/chunks/NcActions-D3hGxwlc.mjs.map +0 -1
  633. package/dist/chunks/NcActions-DTICeoTz.cjs.map +0 -1
  634. package/dist/chunks/NcAppContent-BKQ-H04y.mjs.map +0 -1
  635. package/dist/chunks/NcAppContent-BOt6_YA7.cjs.map +0 -1
  636. package/dist/chunks/NcAppNavigation-B_92V8o3.mjs.map +0 -1
  637. package/dist/chunks/NcAppNavigation-D7W-4cVo.cjs.map +0 -1
  638. package/dist/chunks/NcAppNavigationItem-CpcFOmJR.mjs.map +0 -1
  639. package/dist/chunks/NcAppNavigationItem-DL9OwWo-.cjs.map +0 -1
  640. package/dist/chunks/NcAppNavigationSearch-Q0eMy5I2.cjs.map +0 -1
  641. package/dist/chunks/NcAppNavigationSearch-gytpBKme.mjs.map +0 -1
  642. package/dist/chunks/NcAppNavigationToggle-Br1hcFGt.cjs.map +0 -1
  643. package/dist/chunks/NcAppNavigationToggle-Pr8bEpDs.mjs.map +0 -1
  644. package/dist/chunks/NcAppSidebar-BY33yoNX.cjs.map +0 -1
  645. package/dist/chunks/NcAppSidebar-cEQy8s50.mjs.map +0 -1
  646. package/dist/chunks/NcAvatar-BjwyJw34.mjs.map +0 -1
  647. package/dist/chunks/NcAvatar-CQtsmbBW.cjs.map +0 -1
  648. package/dist/chunks/NcBreadcrumb-DrlhnNbV.cjs.map +0 -1
  649. package/dist/chunks/NcBreadcrumb-GHiD-Sw7.mjs.map +0 -1
  650. package/dist/chunks/NcCheckboxRadioSwitch-CCuKA55c.mjs.map +0 -1
  651. package/dist/chunks/NcCheckboxRadioSwitch-RjEq0SqY.cjs.map +0 -1
  652. package/dist/chunks/NcColorPicker-CTQlyVCL.cjs.map +0 -1
  653. package/dist/chunks/NcColorPicker-ph8Nubq7.mjs.map +0 -1
  654. package/dist/chunks/NcDialog-I_9fyJVt.mjs.map +0 -1
  655. package/dist/chunks/NcDialog-mcbLFc8o.cjs.map +0 -1
  656. package/dist/chunks/NcDialogButton-DuJ3lE7e.mjs.map +0 -1
  657. package/dist/chunks/NcDialogButton-FLqQdVLb.cjs.map +0 -1
  658. package/dist/chunks/NcEmojiPicker-B1ot5iNB.cjs.map +0 -1
  659. package/dist/chunks/NcEmojiPicker-DDCgW2zQ.mjs.map +0 -1
  660. package/dist/chunks/NcHeaderMenu-BaHhnhN0.cjs.map +0 -1
  661. package/dist/chunks/NcHeaderMenu-CLcpStap.mjs.map +0 -1
  662. package/dist/chunks/NcIconSvgWrapper-B_eOG2sZ.cjs.map +0 -1
  663. package/dist/chunks/NcIconSvgWrapper-CHmdAuhg.mjs.map +0 -1
  664. package/dist/chunks/NcInputConfirmCancel-C7a7Nha7.mjs.map +0 -1
  665. package/dist/chunks/NcInputConfirmCancel-XzKuYi6L.cjs.map +0 -1
  666. package/dist/chunks/NcInputField-CU5a68Pc.mjs.map +0 -1
  667. package/dist/chunks/NcInputField-DkhKrb8k.cjs.map +0 -1
  668. package/dist/chunks/NcListItem-3e1MminS.mjs.map +0 -1
  669. package/dist/chunks/NcListItem-9w7m2lJ_.cjs.map +0 -1
  670. package/dist/chunks/NcPopover-BKlH1mbx.cjs.map +0 -1
  671. package/dist/chunks/NcPopover-DFCPlZpS.mjs.map +0 -1
  672. package/dist/chunks/NcRelatedResourcesPanel-BrkyIR3v.cjs.map +0 -1
  673. package/dist/chunks/NcRelatedResourcesPanel-C6JIVMvN.mjs.map +0 -1
  674. package/dist/chunks/NcRichContenteditable-3kkU0Uxu.mjs.map +0 -1
  675. package/dist/chunks/NcRichContenteditable-DJy0zZXx.cjs.map +0 -1
  676. package/dist/chunks/NcRichText-C8SjsRK8.mjs +0 -420
  677. package/dist/chunks/NcRichText-C8SjsRK8.mjs.map +0 -1
  678. package/dist/chunks/NcRichText-Ci72ylJ9.cjs +0 -449
  679. package/dist/chunks/NcRichText-Ci72ylJ9.cjs.map +0 -1
  680. package/dist/chunks/NcSelect-BQ-NFBXI.mjs.map +0 -1
  681. package/dist/chunks/NcSelect-YHwbPAJD.cjs.map +0 -1
  682. package/dist/chunks/_l10n-CjO_W5Dt.cjs +0 -138
  683. package/dist/chunks/_l10n-DDKxBWQL.mjs +0 -139
  684. package/dist/chunks/_l10n-DDKxBWQL.mjs.map +0 -1
  685. package/dist/chunks/focusTrap-Cecv_gjR.mjs +0 -7
  686. package/dist/chunks/focusTrap-Cecv_gjR.mjs.map +0 -1
  687. package/dist/chunks/focusTrap-EeXFmjdI.cjs +0 -6
  688. package/dist/chunks/focusTrap-EeXFmjdI.cjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useHotKey.mjs","sources":["../../src/composables/useHotKey/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onKeyStroke } from '@vueuse/core'\n\nconst disableKeyboardShortcuts = window.OCP?.Accessibility?.disableKeyboardShortcuts?.()\nconst isMac = /mac|ipad|iphone|darwin/i.test(navigator.userAgent)\n\n/**\n * Check if event target (active element) is editable (allows input from keyboard) or NcModal is open\n * If true, a hot key should not trigger the callback\n * TODO discuss if we should abort on another interactive elements (button, a, e.t.c)\n *\n * @param {KeyboardEvent} event keyboard event\n * @return {boolean} whether it should prevent callback\n */\nfunction shouldIgnoreEvent(event) {\n\tif (event.target instanceof HTMLInputElement\n\t\t|| event.target instanceof HTMLTextAreaElement\n\t\t|| event.target instanceof HTMLSelectElement\n\t\t|| event.target?.isContentEditable) {\n\t\treturn true\n\t}\n\t/** Abort if any modal/dialog opened */\n\treturn document.getElementsByClassName('modal-mask').length !== 0\n}\n\nconst eventHandler = (callback, options) => (event) => {\n\tconst ctrlKeyPressed = isMac ? event.metaKey : event.ctrlKey\n\tif (ctrlKeyPressed !== Boolean(options.ctrl)) {\n\t\t/**\n\t\t * Ctrl is required and not pressed, or the opposite\n\t\t * As on macOS 'cmd' key is used instead of 'ctrl' key for most key combinations,\n\t\t * 'event.metaKey' should be checked\n\t\t */\n\t\treturn\n\t} else if (event.altKey !== Boolean(options.alt)) {\n\t\t// Alt is required and not pressed, or the opposite\n\t\treturn\n\t} else if (options.shift !== undefined && event.shiftKey !== Boolean(options.shift)) {\n\t\t/**\n\t\t * Shift is required and not pressed, or the opposite\n\t\t * As shift key is used to type capital letters and alternate characters,\n\t\t * option should be explicitly defined\n\t\t */\n\t\treturn\n\t} else if (shouldIgnoreEvent(event)) {\n\t\t// Keyboard shortcuts are disabled, because active element assumes input\n\t\treturn\n\t}\n\n\tif (options.prevent) {\n\t\tevent.preventDefault()\n\t}\n\tif (options.stop) {\n\t\tevent.stopPropagation()\n\t}\n\tcallback(event)\n}\n\n/**\n * @param {true|string|string[]|Function} keysOrFilter - keyboard key or keys to listen to, or filter function\n * @param {Function} callback - callback function\n * @param {object} options - composable options\n * @see docs/composables/usekeystroke.md\n */\nexport function useHotKey(keysOrFilter, callback = () => {}, options = {}) {\n\tif (disableKeyboardShortcuts) {\n\t\t// Keyboard shortcuts are disabled\n\t\treturn () => {}\n\t}\n\n\t/**\n\t * Validates event key to expected key\n\t * FIXME should support any languages / key codes\n\t *\n\t * @param {KeyboardEvent} event keyboard event\n\t * @param {string} key expected key\n\t * @return {boolean} whether it satisfies expected value or not\n\t */\n\tconst validateKeyEvent = (event, key) => {\n\t\tif (options.caseSensitive) {\n\t\t\treturn event.key === key\n\t\t}\n\t\treturn event.key.toLowerCase() === key.toLowerCase()\n\t}\n\n\t/**\n\t * Filter function for the listener\n\t * see https://github.com/vueuse/vueuse/blob/v11.3.0/packages/core/onKeyStroke/index.ts#L21-L32\n\t *\n\t * @param {KeyboardEvent} event keyboard event\n\t * @return {boolean} whether it satisfies expected value or not\n\t */\n\tconst keyFilter = (event) => {\n\t\tif (typeof keysOrFilter === 'function') {\n\t\t\treturn keysOrFilter(event)\n\t\t} else if (typeof keysOrFilter === 'string') {\n\t\t\treturn validateKeyEvent(event, keysOrFilter)\n\t\t} else if (Array.isArray(keysOrFilter)) {\n\t\t\treturn keysOrFilter.some(key => validateKeyEvent(event, key))\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}\n\n\tconst stopKeyDown = onKeyStroke(keyFilter, eventHandler(callback, options), {\n\t\teventName: 'keydown',\n\t\tdedupe: true,\n\t\tpassive: !options.prevent,\n\t})\n\n\tconst stopKeyUp = options.push\n\t\t? onKeyStroke(keyFilter, eventHandler(callback, options), {\n\t\t\teventName: 'keyup',\n\t\t\tpassive: !options.prevent,\n\t\t})\n\t\t: () => {}\n\n\treturn () => {\n\t\tstopKeyDown()\n\t\tstopKeyUp()\n\t}\n}\n"],"names":[],"mappings":";AAMA,MAAM,2BAA2B,OAAO,KAAK,eAAe,2BAA4B;AACxF,MAAM,QAAQ,0BAA0B,KAAK,UAAU,SAAS;AAUhE,SAAS,kBAAkB,OAAO;AACjC,MAAI,MAAM,kBAAkB,oBACxB,MAAM,kBAAkB,uBACxB,MAAM,kBAAkB,qBACxB,MAAM,QAAQ,mBAAmB;AACpC,WAAO;AAAA,EACP;AAED,SAAO,SAAS,uBAAuB,YAAY,EAAE,WAAW;AACjE;AAEA,MAAM,eAAe,CAAC,UAAU,YAAY,CAAC,UAAU;AACtD,QAAM,iBAAiB,QAAQ,MAAM,UAAU,MAAM;AACrD,MAAI,mBAAmB,QAAQ,QAAQ,IAAI,GAAG;AAM7C;AAAA,EACF,WAAY,MAAM,WAAW,QAAQ,QAAQ,GAAG,GAAG;AAEjD;AAAA,EACF,WAAY,QAAQ,UAAU,UAAa,MAAM,aAAa,QAAQ,QAAQ,KAAK,GAAG;AAMpF;AAAA,EACF,WAAY,kBAAkB,KAAK,GAAG;AAEpC;AAAA,EACA;AAED,MAAI,QAAQ,SAAS;AACpB,UAAM,eAAgB;AAAA,EACtB;AACD,MAAI,QAAQ,MAAM;AACjB,UAAM,gBAAiB;AAAA,EACvB;AACD,WAAS,KAAK;AACf;AAQO,SAAS,UAAU,cAAc,WAAW,MAAM;AAAA,GAAI,UAAU,CAAA,GAAI;AAC1E,MAAI,0BAA0B;AAE7B,WAAO,MAAM;AAAA,IAAE;AAAA,EACf;AAUD,QAAM,mBAAmB,CAAC,OAAO,QAAQ;AACxC,QAAI,QAAQ,eAAe;AAC1B,aAAO,MAAM,QAAQ;AAAA,IACrB;AACD,WAAO,MAAM,IAAI,YAAW,MAAO,IAAI,YAAa;AAAA,EACpD;AASD,QAAM,YAAY,CAAC,UAAU;AAC5B,QAAI,OAAO,iBAAiB,YAAY;AACvC,aAAO,aAAa,KAAK;AAAA,IAC5B,WAAa,OAAO,iBAAiB,UAAU;AAC5C,aAAO,iBAAiB,OAAO,YAAY;AAAA,IAC3C,WAAU,MAAM,QAAQ,YAAY,GAAG;AACvC,aAAO,aAAa,KAAK,SAAO,iBAAiB,OAAO,GAAG,CAAC;AAAA,IAC/D,OAAS;AACN,aAAO;AAAA,IACP;AAAA,EACD;AAED,QAAM,cAAc,YAAY,WAAW,aAAa,UAAU,OAAO,GAAG;AAAA,IAC3E,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,SAAS,CAAC,QAAQ;AAAA,EACpB,CAAE;AAED,QAAM,YAAY,QAAQ,OACvB,YAAY,WAAW,aAAa,UAAU,OAAO,GAAG;AAAA,IACzD,WAAW;AAAA,IACX,SAAS,CAAC,QAAQ;AAAA,EACrB,CAAG,IACC,MAAM;AAAA,EAAE;AAEX,SAAO,MAAM;AACZ,gBAAa;AACb,cAAW;AAAA,EACX;AACF;"}
1
+ {"version":3,"file":"useHotKey.mjs","sources":["../../src/composables/useHotKey/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onKeyStroke } from '@vueuse/core'\n\nconst disableKeyboardShortcuts = window.OCP?.Accessibility?.disableKeyboardShortcuts?.()\nconst isMac = /mac|ipad|iphone|darwin/i.test(navigator.userAgent)\n\n/**\n * Check if event target (active element) is editable (allows input from keyboard) or NcModal is open\n * If true, a hot key should not trigger the callback\n * TODO discuss if we should abort on another interactive elements (button, a, e.t.c)\n *\n * @param {KeyboardEvent} event keyboard event\n * @return {boolean} whether it should prevent callback\n */\nfunction shouldIgnoreEvent(event) {\n\tif (event.target instanceof HTMLInputElement\n\t\t|| event.target instanceof HTMLTextAreaElement\n\t\t|| event.target instanceof HTMLSelectElement\n\t\t|| event.target?.isContentEditable) {\n\t\treturn true\n\t}\n\t/** Abort if any modal/dialog opened */\n\treturn document.getElementsByClassName('modal-mask').length !== 0\n}\n\nconst eventHandler = (callback, options) => (event) => {\n\tconst ctrlKeyPressed = isMac ? event.metaKey : event.ctrlKey\n\tif (ctrlKeyPressed !== Boolean(options.ctrl)) {\n\t\t/**\n\t\t * Ctrl is required and not pressed, or the opposite\n\t\t * As on macOS 'cmd' key is used instead of 'ctrl' key for most key combinations,\n\t\t * 'event.metaKey' should be checked\n\t\t */\n\t\treturn\n\t} else if (event.altKey !== Boolean(options.alt)) {\n\t\t// Alt is required and not pressed, or the opposite\n\t\treturn\n\t} else if (options.shift !== undefined && event.shiftKey !== Boolean(options.shift)) {\n\t\t/**\n\t\t * Shift is required and not pressed, or the opposite\n\t\t * As shift key is used to type capital letters and alternate characters,\n\t\t * option should be explicitly defined\n\t\t */\n\t\treturn\n\t} else if (shouldIgnoreEvent(event)) {\n\t\t// Keyboard shortcuts are disabled, because active element assumes input\n\t\treturn\n\t}\n\n\tif (options.prevent) {\n\t\tevent.preventDefault()\n\t}\n\tif (options.stop) {\n\t\tevent.stopPropagation()\n\t}\n\tcallback(event)\n}\n\n/**\n * @param {true|string|string[]|Function} keysOrFilter - keyboard key or keys to listen to, or filter function\n * @param {Function} callback - callback function\n * @param {object} options - composable options\n * @see docs/composables/usekeystroke.md\n */\nexport function useHotKey(keysOrFilter, callback = () => {}, options = {}) {\n\tif (disableKeyboardShortcuts) {\n\t\t// Keyboard shortcuts are disabled\n\t\treturn () => {}\n\t}\n\n\t/**\n\t * Validates event key to expected key\n\t * FIXME should support any languages / key codes\n\t *\n\t * @param {KeyboardEvent} event keyboard event\n\t * @param {string} key expected key\n\t * @return {boolean} whether it satisfies expected value or not\n\t */\n\tconst validateKeyEvent = (event, key) => {\n\t\tif (options.caseSensitive) {\n\t\t\treturn event.key === key\n\t\t}\n\t\treturn event.key.toLowerCase() === key.toLowerCase()\n\t}\n\n\t/**\n\t * Filter function for the listener\n\t * see https://github.com/vueuse/vueuse/blob/v11.3.0/packages/core/onKeyStroke/index.ts#L21-L32\n\t *\n\t * @param {KeyboardEvent} event keyboard event\n\t * @return {boolean} whether it satisfies expected value or not\n\t */\n\tconst keyFilter = (event) => {\n\t\tif (typeof keysOrFilter === 'function') {\n\t\t\treturn keysOrFilter(event)\n\t\t} else if (typeof keysOrFilter === 'string') {\n\t\t\treturn validateKeyEvent(event, keysOrFilter)\n\t\t} else if (Array.isArray(keysOrFilter)) {\n\t\t\treturn keysOrFilter.some(key => validateKeyEvent(event, key))\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}\n\n\tconst stopKeyDown = onKeyStroke(keyFilter, eventHandler(callback, options), {\n\t\teventName: 'keydown',\n\t\tdedupe: true,\n\t\tpassive: !options.prevent,\n\t})\n\n\tconst stopKeyUp = options.push\n\t\t? onKeyStroke(keyFilter, eventHandler(callback, options), {\n\t\t\teventName: 'keyup',\n\t\t\tpassive: !options.prevent,\n\t\t})\n\t\t: () => {}\n\n\treturn () => {\n\t\tstopKeyDown()\n\t\tstopKeyUp()\n\t}\n}\n"],"names":[],"mappings":";AAMA,MAAM,2BAA2B,OAAO,KAAK,eAAe,2BAAwB;AACpF,MAAM,QAAQ,0BAA0B,KAAK,UAAU,SAAS;AAUhE,SAAS,kBAAkB,OAAO;AACjC,MAAI,MAAM,kBAAkB,oBACxB,MAAM,kBAAkB,uBACxB,MAAM,kBAAkB,qBACxB,MAAM,QAAQ,mBAAmB;AACpC,WAAO;AAAA,EACT;AAEC,SAAO,SAAS,uBAAuB,YAAY,EAAE,WAAW;AACjE;AAEA,MAAM,eAAe,CAAC,UAAU,YAAY,CAAC,UAAU;AACtD,QAAM,iBAAiB,QAAQ,MAAM,UAAU,MAAM;AACrD,MAAI,mBAAmB,QAAQ,QAAQ,IAAI,GAAG;AAM7C;AAAA,EACF,WAAY,MAAM,WAAW,QAAQ,QAAQ,GAAG,GAAG;AAEjD;AAAA,EACF,WAAY,QAAQ,UAAU,UAAa,MAAM,aAAa,QAAQ,QAAQ,KAAK,GAAG;AAMpF;AAAA,EACF,WAAY,kBAAkB,KAAK,GAAG;AAEpC;AAAA,EACF;AAEC,MAAI,QAAQ,SAAS;AACpB,UAAM,eAAc;AAAA,EACtB;AACC,MAAI,QAAQ,MAAM;AACjB,UAAM,gBAAe;AAAA,EACvB;AACC,WAAS,KAAK;AACf;AAQO,SAAS,UAAU,cAAc,WAAW,MAAM;AAAA,GAAI,UAAU,CAAA,GAAI;AAC1E,MAAI,0BAA0B;AAE7B,WAAO,MAAM;AAAA,IAAA;AAAA,EACf;AAUC,QAAM,mBAAmB,CAAC,OAAO,QAAQ;AACxC,QAAI,QAAQ,eAAe;AAC1B,aAAO,MAAM,QAAQ;AAAA,IACxB;AACE,WAAO,MAAM,IAAI,YAAa,MAAK,IAAI,YAAW;AAAA,EACpD;AASC,QAAM,YAAY,CAAC,UAAU;AAC5B,QAAI,OAAO,iBAAiB,YAAY;AACvC,aAAO,aAAa,KAAK;AAAA,IAC5B,WAAa,OAAO,iBAAiB,UAAU;AAC5C,aAAO,iBAAiB,OAAO,YAAY;AAAA,IAC3C,WAAU,MAAM,QAAQ,YAAY,GAAG;AACvC,aAAO,aAAa,KAAK,SAAO,iBAAiB,OAAO,GAAG,CAAC;AAAA,IAC/D,OAAS;AACN,aAAO;AAAA,IACV;AAAA,EACA;AAEC,QAAM,cAAc,YAAY,WAAW,aAAa,UAAU,OAAO,GAAG;AAAA,IAC3E,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,SAAS,CAAC,QAAQ;AAAA,EAClB,CAAA;AAED,QAAM,YAAY,QAAQ,OACvB,YAAY,WAAW,aAAa,UAAU,OAAO,GAAG;AAAA,IACzD,WAAW;AAAA,IACX,SAAS,CAAC,QAAQ;AAAA,EAClB,CAAA,IACC,MAAM;AAAA,EAAA;AAET,SAAO,MAAM;AACZ,gBAAW;AACX,cAAS;AAAA,EACX;AACA;"}
@@ -16,3 +16,4 @@ function useIsDarkThemeElement(el = document.body) {
16
16
  const useIsDarkTheme = core.createSharedComposable(() => useIsDarkThemeElement());
17
17
  exports.useIsDarkTheme = useIsDarkTheme;
18
18
  exports.useIsDarkThemeElement = useIsDarkThemeElement;
19
+ //# sourceMappingURL=useIsDarkTheme.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsDarkTheme.cjs","sources":["../../src/composables/useIsDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { DeepReadonly, Ref } from 'vue'\nimport { ref, readonly, watch } from 'vue'\nimport { createSharedComposable, usePreferredDark, useMutationObserver } from '@vueuse/core'\nimport { checkIfDarkTheme } from '../../functions/isDarkTheme/index.ts'\n\n/**\n * Check whether the dark theme is enabled on a specific element.\n * If you need to check an entire page, use `useIsDarkTheme` instead for better performance.\n * Reacts on element attributes change and system theme change.\n * @param el - The element to check for the dark theme enabled on (default is `document.body`)\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport function useIsDarkThemeElement(el: HTMLElement = document.body): DeepReadonly<Ref<boolean>> {\n\tconst isDarkTheme = ref(checkIfDarkTheme(el))\n\tconst isDarkSystemTheme = usePreferredDark()\n\n\t/** Update the isDarkTheme */\n\tfunction updateIsDarkTheme() {\n\t\tisDarkTheme.value = checkIfDarkTheme(el)\n\t}\n\n\t// Watch for element change to handle data-theme* attributes change\n\tuseMutationObserver(el, updateIsDarkTheme, { attributes: true })\n\t// Watch for system theme change for the default theme\n\twatch(isDarkSystemTheme, updateIsDarkTheme, { immediate: true })\n\n\treturn readonly(isDarkTheme)\n}\n\n/**\n * Shared composable to check whether the dark theme is enabled on the page.\n * Reacts on body data-theme-* attributes change and system theme change.\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport const useIsDarkTheme = createSharedComposable(() => useIsDarkThemeElement())\n"],"names":["ref","checkIfDarkTheme","usePreferredDark","useMutationObserver","watch","readonly","createSharedComposable"],"mappings":";;;;;AAiBgB,SAAA,sBAAsB,KAAkB,SAAS,MAAkC;AAClG,QAAM,cAAcA,IAAA,IAAIC,uCAAiB,EAAE,CAAC;AAC5C,QAAM,oBAAoBC,KAAAA;AAG1B,WAAS,oBAAoB;AAChB,gBAAA,QAAQD,uCAAiB,EAAE;AAAA,EACxC;AAGAE,OAAA,oBAAoB,IAAI,mBAAmB,EAAE,YAAY,KAAM,CAAA;AAE/DC,MAAA,MAAM,mBAAmB,mBAAmB,EAAE,WAAW,KAAM,CAAA;AAE/D,SAAOC,IAAAA,SAAS,WAAW;AAC5B;AAOO,MAAM,iBAAiBC,KAAAA,uBAAuB,MAAM,sBAAuB,CAAA;;;"}
1
+ {"version":3,"file":"useIsDarkTheme.cjs","sources":["../../src/composables/useIsDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { DeepReadonly, Ref } from 'vue'\nimport { ref, readonly, watch } from 'vue'\nimport { createSharedComposable, usePreferredDark, useMutationObserver } from '@vueuse/core'\nimport { checkIfDarkTheme } from '../../functions/isDarkTheme/index.ts'\n\n/**\n * Check whether the dark theme is enabled on a specific element.\n * If you need to check an entire page, use `useIsDarkTheme` instead for better performance.\n * Reacts on element attributes change and system theme change.\n * @param el - The element to check for the dark theme enabled on (default is `document.body`)\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport function useIsDarkThemeElement(el: HTMLElement = document.body): DeepReadonly<Ref<boolean>> {\n\tconst isDarkTheme = ref(checkIfDarkTheme(el))\n\tconst isDarkSystemTheme = usePreferredDark()\n\n\t/** Update the isDarkTheme */\n\tfunction updateIsDarkTheme() {\n\t\tisDarkTheme.value = checkIfDarkTheme(el)\n\t}\n\n\t// Watch for element change to handle data-theme* attributes change\n\tuseMutationObserver(el, updateIsDarkTheme, { attributes: true })\n\t// Watch for system theme change for the default theme\n\twatch(isDarkSystemTheme, updateIsDarkTheme, { immediate: true })\n\n\treturn readonly(isDarkTheme)\n}\n\n/**\n * Shared composable to check whether the dark theme is enabled on the page.\n * Reacts on body data-theme-* attributes change and system theme change.\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport const useIsDarkTheme = createSharedComposable(() => useIsDarkThemeElement())\n"],"names":["ref","checkIfDarkTheme","usePreferredDark","useMutationObserver","watch","readonly","createSharedComposable"],"mappings":";;;;;AAiBgB,SAAA,sBAAsB,KAAkB,SAAS,MAAkC;AAClG,QAAM,cAAcA,IAAAA,IAAIC,sBAAiB,iBAAA,EAAE,CAAC;AAC5C,QAAM,oBAAoBC,KAAAA,iBAAiB;AAG3C,WAAS,oBAAoB;AAChB,gBAAA,QAAQD,uCAAiB,EAAE;AAAA,EAAA;AAIxCE,OAAAA,oBAAoB,IAAI,mBAAmB,EAAE,YAAY,MAAM;AAE/DC,MAAAA,MAAM,mBAAmB,mBAAmB,EAAE,WAAW,MAAM;AAE/D,SAAOC,IAAAA,SAAS,WAAW;AAC5B;AAOO,MAAM,iBAAiBC,KAAAA,uBAAuB,MAAM,sBAAuB,CAAA;;;"}
@@ -16,3 +16,4 @@ export {
16
16
  useIsDarkTheme,
17
17
  useIsDarkThemeElement
18
18
  };
19
+ //# sourceMappingURL=useIsDarkTheme.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsDarkTheme.mjs","sources":["../../src/composables/useIsDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { DeepReadonly, Ref } from 'vue'\nimport { ref, readonly, watch } from 'vue'\nimport { createSharedComposable, usePreferredDark, useMutationObserver } from '@vueuse/core'\nimport { checkIfDarkTheme } from '../../functions/isDarkTheme/index.ts'\n\n/**\n * Check whether the dark theme is enabled on a specific element.\n * If you need to check an entire page, use `useIsDarkTheme` instead for better performance.\n * Reacts on element attributes change and system theme change.\n * @param el - The element to check for the dark theme enabled on (default is `document.body`)\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport function useIsDarkThemeElement(el: HTMLElement = document.body): DeepReadonly<Ref<boolean>> {\n\tconst isDarkTheme = ref(checkIfDarkTheme(el))\n\tconst isDarkSystemTheme = usePreferredDark()\n\n\t/** Update the isDarkTheme */\n\tfunction updateIsDarkTheme() {\n\t\tisDarkTheme.value = checkIfDarkTheme(el)\n\t}\n\n\t// Watch for element change to handle data-theme* attributes change\n\tuseMutationObserver(el, updateIsDarkTheme, { attributes: true })\n\t// Watch for system theme change for the default theme\n\twatch(isDarkSystemTheme, updateIsDarkTheme, { immediate: true })\n\n\treturn readonly(isDarkTheme)\n}\n\n/**\n * Shared composable to check whether the dark theme is enabled on the page.\n * Reacts on body data-theme-* attributes change and system theme change.\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport const useIsDarkTheme = createSharedComposable(() => useIsDarkThemeElement())\n"],"names":[],"mappings":";;;AAiBgB,SAAA,sBAAsB,KAAkB,SAAS,MAAkC;AAClG,QAAM,cAAc,IAAI,iBAAiB,EAAE,CAAC;AAC5C,QAAM,oBAAoB;AAG1B,WAAS,oBAAoB;AAChB,gBAAA,QAAQ,iBAAiB,EAAE;AAAA,EACxC;AAGA,sBAAoB,IAAI,mBAAmB,EAAE,YAAY,KAAM,CAAA;AAE/D,QAAM,mBAAmB,mBAAmB,EAAE,WAAW,KAAM,CAAA;AAE/D,SAAO,SAAS,WAAW;AAC5B;AAOO,MAAM,iBAAiB,uBAAuB,MAAM,sBAAuB,CAAA;"}
1
+ {"version":3,"file":"useIsDarkTheme.mjs","sources":["../../src/composables/useIsDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { DeepReadonly, Ref } from 'vue'\nimport { ref, readonly, watch } from 'vue'\nimport { createSharedComposable, usePreferredDark, useMutationObserver } from '@vueuse/core'\nimport { checkIfDarkTheme } from '../../functions/isDarkTheme/index.ts'\n\n/**\n * Check whether the dark theme is enabled on a specific element.\n * If you need to check an entire page, use `useIsDarkTheme` instead for better performance.\n * Reacts on element attributes change and system theme change.\n * @param el - The element to check for the dark theme enabled on (default is `document.body`)\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport function useIsDarkThemeElement(el: HTMLElement = document.body): DeepReadonly<Ref<boolean>> {\n\tconst isDarkTheme = ref(checkIfDarkTheme(el))\n\tconst isDarkSystemTheme = usePreferredDark()\n\n\t/** Update the isDarkTheme */\n\tfunction updateIsDarkTheme() {\n\t\tisDarkTheme.value = checkIfDarkTheme(el)\n\t}\n\n\t// Watch for element change to handle data-theme* attributes change\n\tuseMutationObserver(el, updateIsDarkTheme, { attributes: true })\n\t// Watch for system theme change for the default theme\n\twatch(isDarkSystemTheme, updateIsDarkTheme, { immediate: true })\n\n\treturn readonly(isDarkTheme)\n}\n\n/**\n * Shared composable to check whether the dark theme is enabled on the page.\n * Reacts on body data-theme-* attributes change and system theme change.\n * @return {DeepReadonly<Ref<boolean>>} - computed boolean whether the dark theme is enabled\n */\nexport const useIsDarkTheme = createSharedComposable(() => useIsDarkThemeElement())\n"],"names":[],"mappings":";;;AAiBgB,SAAA,sBAAsB,KAAkB,SAAS,MAAkC;AAClG,QAAM,cAAc,IAAI,iBAAiB,EAAE,CAAC;AAC5C,QAAM,oBAAoB,iBAAiB;AAG3C,WAAS,oBAAoB;AAChB,gBAAA,QAAQ,iBAAiB,EAAE;AAAA,EAAA;AAIxC,sBAAoB,IAAI,mBAAmB,EAAE,YAAY,MAAM;AAE/D,QAAM,mBAAmB,mBAAmB,EAAE,WAAW,MAAM;AAE/D,SAAO,SAAS,WAAW;AAC5B;AAOO,MAAM,iBAAiB,uBAAuB,MAAM,sBAAuB,CAAA;"}
@@ -12,3 +12,4 @@ function useIsFullscreen() {
12
12
  const isFullscreenState = Vue.readonly(isFullscreen);
13
13
  exports.isFullscreenState = isFullscreenState;
14
14
  exports.useIsFullscreen = useIsFullscreen;
15
+ //# sourceMappingURL=useIsFullscreen.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsFullscreen.cjs","sources":["../../src/composables/useIsFullscreen/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n// if the window height is equal to the screen height,\n// we're in full screen mode\nconst checkIfIsFullscreen = () => window.outerHeight === screen.height\n\nconst isFullscreen = ref(checkIfIsFullscreen())\n\nwindow.addEventListener('resize', () => {\n\tisFullscreen.value = checkIfIsFullscreen()\n})\n\n/**\n * Use global isFullscreen state, based on the screen height check\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>}\n */\nexport function useIsFullscreen() {\n\treturn readonly(isFullscreen)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsFullscreen` instead.\n * Defined and exported only for isFullscreen mixin.\n */\nexport const isFullscreenState = readonly(isFullscreen)\n"],"names":["ref","readonly"],"mappings":";;;AASA,MAAM,sBAAsB,MAAM,OAAO,gBAAgB,OAAO;AAEhE,MAAM,eAAeA,IAAAA,IAAI,qBAAqB;AAE9C,OAAO,iBAAiB,UAAU,MAAM;AACvC,eAAa,QAAQ,oBAAqB;AAC3C,CAAC;AAOM,SAAS,kBAAkB;AACjC,SAAOC,IAAAA,SAAS,YAAY;AAC7B;AAOY,MAAC,oBAAoBA,IAAQ,SAAC,YAAY;;;"}
1
+ {"version":3,"file":"useIsFullscreen.cjs","sources":["../../src/composables/useIsFullscreen/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n// if the window height is equal to the screen height,\n// we're in full screen mode\nconst checkIfIsFullscreen = () => window.outerHeight === screen.height\n\nconst isFullscreen = ref(checkIfIsFullscreen())\n\nwindow.addEventListener('resize', () => {\n\tisFullscreen.value = checkIfIsFullscreen()\n})\n\n/**\n * Use global isFullscreen state, based on the screen height check\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>}\n */\nexport function useIsFullscreen() {\n\treturn readonly(isFullscreen)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsFullscreen` instead.\n * Defined and exported only for isFullscreen mixin.\n */\nexport const isFullscreenState = readonly(isFullscreen)\n"],"names":["ref","readonly"],"mappings":";;;AASA,MAAM,sBAAsB,MAAM,OAAO,gBAAgB,OAAO;AAEhE,MAAM,eAAeA,IAAG,IAAC,oBAAqB,CAAA;AAE9C,OAAO,iBAAiB,UAAU,MAAM;AACvC,eAAa,QAAQ,oBAAmB;AACzC,CAAC;AAOM,SAAS,kBAAkB;AACjC,SAAOC,IAAQ,SAAC,YAAY;AAC7B;AAOY,MAAC,oBAAoBA,IAAQ,SAAC,YAAY;;;"}
@@ -12,3 +12,4 @@ export {
12
12
  isFullscreenState,
13
13
  useIsFullscreen
14
14
  };
15
+ //# sourceMappingURL=useIsFullscreen.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsFullscreen.mjs","sources":["../../src/composables/useIsFullscreen/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n// if the window height is equal to the screen height,\n// we're in full screen mode\nconst checkIfIsFullscreen = () => window.outerHeight === screen.height\n\nconst isFullscreen = ref(checkIfIsFullscreen())\n\nwindow.addEventListener('resize', () => {\n\tisFullscreen.value = checkIfIsFullscreen()\n})\n\n/**\n * Use global isFullscreen state, based on the screen height check\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>}\n */\nexport function useIsFullscreen() {\n\treturn readonly(isFullscreen)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsFullscreen` instead.\n * Defined and exported only for isFullscreen mixin.\n */\nexport const isFullscreenState = readonly(isFullscreen)\n"],"names":[],"mappings":";AASA,MAAM,sBAAsB,MAAM,OAAO,gBAAgB,OAAO;AAEhE,MAAM,eAAe,IAAI,qBAAqB;AAE9C,OAAO,iBAAiB,UAAU,MAAM;AACvC,eAAa,QAAQ,oBAAqB;AAC3C,CAAC;AAOM,SAAS,kBAAkB;AACjC,SAAO,SAAS,YAAY;AAC7B;AAOY,MAAC,oBAAoB,SAAS,YAAY;"}
1
+ {"version":3,"file":"useIsFullscreen.mjs","sources":["../../src/composables/useIsFullscreen/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n// if the window height is equal to the screen height,\n// we're in full screen mode\nconst checkIfIsFullscreen = () => window.outerHeight === screen.height\n\nconst isFullscreen = ref(checkIfIsFullscreen())\n\nwindow.addEventListener('resize', () => {\n\tisFullscreen.value = checkIfIsFullscreen()\n})\n\n/**\n * Use global isFullscreen state, based on the screen height check\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>}\n */\nexport function useIsFullscreen() {\n\treturn readonly(isFullscreen)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsFullscreen` instead.\n * Defined and exported only for isFullscreen mixin.\n */\nexport const isFullscreenState = readonly(isFullscreen)\n"],"names":[],"mappings":";AASA,MAAM,sBAAsB,MAAM,OAAO,gBAAgB,OAAO;AAEhE,MAAM,eAAe,IAAI,oBAAqB,CAAA;AAE9C,OAAO,iBAAiB,UAAU,MAAM;AACvC,eAAa,QAAQ,oBAAmB;AACzC,CAAC;AAOM,SAAS,kBAAkB;AACjC,SAAO,SAAS,YAAY;AAC7B;AAOY,MAAC,oBAAoB,SAAS,YAAY;"}
@@ -22,3 +22,4 @@ exports.MOBILE_SMALL_BREAKPOINT = MOBILE_SMALL_BREAKPOINT;
22
22
  exports.isMobileState = isMobileState;
23
23
  exports.useIsMobile = useIsMobile;
24
24
  exports.useIsSmallMobile = useIsSmallMobile;
25
+ //# sourceMappingURL=useIsMobile.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsMobile.cjs","sources":["../../src/composables/useIsMobile/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n/** The minimal width of the viewport for a desktop screen */\nexport const MOBILE_BREAKPOINT = 1024\n/** The minimal width of the viewport for a small mobile screen, a half of the minimal desktop */\nexport const MOBILE_SMALL_BREAKPOINT = MOBILE_BREAKPOINT / 2\n\nconst isLessThanBreakpoint = (breakpoint) => document.documentElement.clientWidth < breakpoint\n\n// Store the state of the viewport size in a module-scope to reuse between module's users\nconst isMobile = ref(isLessThanBreakpoint(MOBILE_BREAKPOINT))\nconst isSmallMobile = ref(isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT))\n\nwindow.addEventListener('resize', () => {\n\tisMobile.value = isLessThanBreakpoint(MOBILE_BREAKPOINT)\n\tisSmallMobile.value = isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT)\n}, { passive: true })\n\n/**\n * Use global isMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_BREAKPOINT\n */\nexport function useIsMobile() {\n\treturn readonly(isMobile)\n}\n\n/**\n * Use global isSmallMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_SMALL_BREAKPOINT\n */\nexport function useIsSmallMobile() {\n\treturn readonly(isSmallMobile)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsMobile` instead.\n * Defined and exported only for isMobile mixin.\n */\nexport const isMobileState = readonly(isMobile)\n"],"names":["ref","readonly"],"mappings":";;;AAQY,MAAC,oBAAoB;AAErB,MAAC,0BAA0B,oBAAoB;AAE3D,MAAM,uBAAuB,CAAC,eAAe,SAAS,gBAAgB,cAAc;AAGpF,MAAM,WAAWA,IAAG,IAAC,qBAAqB,iBAAiB,CAAC;AAC5D,MAAM,gBAAgBA,IAAG,IAAC,qBAAqB,uBAAuB,CAAC;AAEvE,OAAO,iBAAiB,UAAU,MAAM;AACvC,WAAS,QAAQ,qBAAqB,iBAAiB;AACvD,gBAAc,QAAQ,qBAAqB,uBAAuB;AACnE,GAAG,EAAE,SAAS,MAAM;AAOb,SAAS,cAAc;AAC7B,SAAOC,IAAAA,SAAS,QAAQ;AACzB;AAOO,SAAS,mBAAmB;AAClC,SAAOA,IAAAA,SAAS,aAAa;AAC9B;AAOY,MAAC,gBAAgBA,IAAQ,SAAC,QAAQ;;;;;;"}
1
+ {"version":3,"file":"useIsMobile.cjs","sources":["../../src/composables/useIsMobile/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n/** The minimal width of the viewport for a desktop screen */\nexport const MOBILE_BREAKPOINT = 1024\n/** The minimal width of the viewport for a small mobile screen, a half of the minimal desktop */\nexport const MOBILE_SMALL_BREAKPOINT = MOBILE_BREAKPOINT / 2\n\nconst isLessThanBreakpoint = (breakpoint) => document.documentElement.clientWidth < breakpoint\n\n// Store the state of the viewport size in a module-scope to reuse between module's users\nconst isMobile = ref(isLessThanBreakpoint(MOBILE_BREAKPOINT))\nconst isSmallMobile = ref(isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT))\n\nwindow.addEventListener('resize', () => {\n\tisMobile.value = isLessThanBreakpoint(MOBILE_BREAKPOINT)\n\tisSmallMobile.value = isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT)\n}, { passive: true })\n\n/**\n * Use global isMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_BREAKPOINT\n */\nexport function useIsMobile() {\n\treturn readonly(isMobile)\n}\n\n/**\n * Use global isSmallMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_SMALL_BREAKPOINT\n */\nexport function useIsSmallMobile() {\n\treturn readonly(isSmallMobile)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsMobile` instead.\n * Defined and exported only for isMobile mixin.\n */\nexport const isMobileState = readonly(isMobile)\n"],"names":["ref","readonly"],"mappings":";;;AAQY,MAAC,oBAAoB;AAErB,MAAC,0BAA0B,oBAAoB;AAE3D,MAAM,uBAAuB,CAAC,eAAe,SAAS,gBAAgB,cAAc;AAGpF,MAAM,WAAWA,IAAAA,IAAI,qBAAqB,iBAAiB,CAAC;AAC5D,MAAM,gBAAgBA,IAAAA,IAAI,qBAAqB,uBAAuB,CAAC;AAEvE,OAAO,iBAAiB,UAAU,MAAM;AACvC,WAAS,QAAQ,qBAAqB,iBAAiB;AACvD,gBAAc,QAAQ,qBAAqB,uBAAuB;AACnE,GAAG,EAAE,SAAS,KAAM,CAAA;AAOb,SAAS,cAAc;AAC7B,SAAOC,IAAQ,SAAC,QAAQ;AACzB;AAOO,SAAS,mBAAmB;AAClC,SAAOA,IAAQ,SAAC,aAAa;AAC9B;AAOY,MAAC,gBAAgBA,IAAQ,SAAC,QAAQ;;;;;;"}
@@ -22,3 +22,4 @@ export {
22
22
  useIsMobile,
23
23
  useIsSmallMobile
24
24
  };
25
+ //# sourceMappingURL=useIsMobile.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsMobile.mjs","sources":["../../src/composables/useIsMobile/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n/** The minimal width of the viewport for a desktop screen */\nexport const MOBILE_BREAKPOINT = 1024\n/** The minimal width of the viewport for a small mobile screen, a half of the minimal desktop */\nexport const MOBILE_SMALL_BREAKPOINT = MOBILE_BREAKPOINT / 2\n\nconst isLessThanBreakpoint = (breakpoint) => document.documentElement.clientWidth < breakpoint\n\n// Store the state of the viewport size in a module-scope to reuse between module's users\nconst isMobile = ref(isLessThanBreakpoint(MOBILE_BREAKPOINT))\nconst isSmallMobile = ref(isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT))\n\nwindow.addEventListener('resize', () => {\n\tisMobile.value = isLessThanBreakpoint(MOBILE_BREAKPOINT)\n\tisSmallMobile.value = isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT)\n}, { passive: true })\n\n/**\n * Use global isMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_BREAKPOINT\n */\nexport function useIsMobile() {\n\treturn readonly(isMobile)\n}\n\n/**\n * Use global isSmallMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_SMALL_BREAKPOINT\n */\nexport function useIsSmallMobile() {\n\treturn readonly(isSmallMobile)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsMobile` instead.\n * Defined and exported only for isMobile mixin.\n */\nexport const isMobileState = readonly(isMobile)\n"],"names":[],"mappings":";AAQY,MAAC,oBAAoB;AAErB,MAAC,0BAA0B,oBAAoB;AAE3D,MAAM,uBAAuB,CAAC,eAAe,SAAS,gBAAgB,cAAc;AAGpF,MAAM,WAAW,IAAI,qBAAqB,iBAAiB,CAAC;AAC5D,MAAM,gBAAgB,IAAI,qBAAqB,uBAAuB,CAAC;AAEvE,OAAO,iBAAiB,UAAU,MAAM;AACvC,WAAS,QAAQ,qBAAqB,iBAAiB;AACvD,gBAAc,QAAQ,qBAAqB,uBAAuB;AACnE,GAAG,EAAE,SAAS,MAAM;AAOb,SAAS,cAAc;AAC7B,SAAO,SAAS,QAAQ;AACzB;AAOO,SAAS,mBAAmB;AAClC,SAAO,SAAS,aAAa;AAC9B;AAOY,MAAC,gBAAgB,SAAS,QAAQ;"}
1
+ {"version":3,"file":"useIsMobile.mjs","sources":["../../src/composables/useIsMobile/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { readonly, ref } from 'vue'\n\n/** The minimal width of the viewport for a desktop screen */\nexport const MOBILE_BREAKPOINT = 1024\n/** The minimal width of the viewport for a small mobile screen, a half of the minimal desktop */\nexport const MOBILE_SMALL_BREAKPOINT = MOBILE_BREAKPOINT / 2\n\nconst isLessThanBreakpoint = (breakpoint) => document.documentElement.clientWidth < breakpoint\n\n// Store the state of the viewport size in a module-scope to reuse between module's users\nconst isMobile = ref(isLessThanBreakpoint(MOBILE_BREAKPOINT))\nconst isSmallMobile = ref(isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT))\n\nwindow.addEventListener('resize', () => {\n\tisMobile.value = isLessThanBreakpoint(MOBILE_BREAKPOINT)\n\tisSmallMobile.value = isLessThanBreakpoint(MOBILE_SMALL_BREAKPOINT)\n}, { passive: true })\n\n/**\n * Use global isMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_BREAKPOINT\n */\nexport function useIsMobile() {\n\treturn readonly(isMobile)\n}\n\n/**\n * Use global isSmallMobile state\n *\n * @return {import('vue').DeepReadonly<import('vue').Ref<boolean>>} Reactive flag for MOBILE_SMALL_BREAKPOINT\n */\nexport function useIsSmallMobile() {\n\treturn readonly(isSmallMobile)\n}\n\n/**\n * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n * Use `composables/useIsMobile` instead.\n * Defined and exported only for isMobile mixin.\n */\nexport const isMobileState = readonly(isMobile)\n"],"names":[],"mappings":";AAQY,MAAC,oBAAoB;AAErB,MAAC,0BAA0B,oBAAoB;AAE3D,MAAM,uBAAuB,CAAC,eAAe,SAAS,gBAAgB,cAAc;AAGpF,MAAM,WAAW,IAAI,qBAAqB,iBAAiB,CAAC;AAC5D,MAAM,gBAAgB,IAAI,qBAAqB,uBAAuB,CAAC;AAEvE,OAAO,iBAAiB,UAAU,MAAM;AACvC,WAAS,QAAQ,qBAAqB,iBAAiB;AACvD,gBAAc,QAAQ,qBAAqB,uBAAuB;AACnE,GAAG,EAAE,SAAS,KAAM,CAAA;AAOb,SAAS,cAAc;AAC7B,SAAO,SAAS,QAAQ;AACzB;AAOO,SAAS,mBAAmB;AAClC,SAAO,SAAS,aAAa;AAC9B;AAOY,MAAC,gBAAgB,SAAS,QAAQ;"}
@@ -7,3 +7,4 @@ const directive = {
7
7
  };
8
8
  exports.default = directive;
9
9
  exports.directive = directive;
10
+ //# sourceMappingURL=Focus.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Focus.cjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":[],"mappings":";;AAKY,MAAC,YAAY;AAAA,EACxB,SAAS,IAAI;AACZ,OAAG,MAAO;AAAA,EACV;AACF;;;"}
1
+ {"version":3,"file":"Focus.cjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":[],"mappings":";;AAKY,MAAC,YAAY;AAAA,EACxB,SAAS,IAAI;AACZ,OAAG,MAAK;AAAA,EACR;AACF;;;"}
@@ -7,3 +7,4 @@ export {
7
7
  directive as default,
8
8
  directive
9
9
  };
10
+ //# sourceMappingURL=Focus.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Focus.mjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":[],"mappings":"AAKY,MAAC,YAAY;AAAA,EACxB,SAAS,IAAI;AACZ,OAAG,MAAO;AAAA,EACV;AACF;"}
1
+ {"version":3,"file":"Focus.mjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":[],"mappings":"AAKY,MAAC,YAAY;AAAA,EACxB,SAAS,IAAI;AACZ,OAAG,MAAK;AAAA,EACR;AACF;"}
@@ -20,3 +20,4 @@ const directive = function(el, binding) {
20
20
  };
21
21
  exports.default = directive;
22
22
  exports.directive = directive;
23
+ //# sourceMappingURL=Linkify.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Linkify.cjs","sources":["../../src/utils/Linkify.js","../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n","/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":["linkifyStr"],"mappings":";;;;;AAaA,MAAM,UAAU,CAAC,SAAS;AACzB,SAAOA,oBAAAA,QAAW,MAAM;AAAA,IACvB,iBAAiB;AAAA,IACjB,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,MACX,KAAK;AAAA,IACL;AAAA,EACH,CAAE;AACF;ACbY,MAAC,YAAY,SAAS,IAAI,SAAS;AAC9C,MAAI,QAAQ,OAAO,YAAY,MAAM;AACpC,OAAG,YAAY,QAAQ,QAAQ,MAAM,IAAI;AAAA,EACzC;AACF;;;"}
1
+ {"version":3,"file":"Linkify.cjs","sources":["../../src/utils/Linkify.js","../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n","/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":["linkifyStr"],"mappings":";;;;;AAaA,MAAM,UAAU,CAAC,SAAS;AACzB,SAAOA,oBAAAA,QAAW,MAAM;AAAA,IACvB,iBAAiB;AAAA,IACjB,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,MACX,KAAK;AAAA,IACL;AAAA,EACD,CAAA;AACF;ACbY,MAAC,YAAY,SAAS,IAAI,SAAS;AAC9C,MAAI,QAAQ,OAAO,YAAY,MAAM;AACpC,OAAG,YAAY,QAAQ,QAAQ,MAAM,IAAI;AAAA,EAC3C;AACA;;;"}
@@ -18,3 +18,4 @@ export {
18
18
  directive as default,
19
19
  directive
20
20
  };
21
+ //# sourceMappingURL=Linkify.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Linkify.mjs","sources":["../../src/utils/Linkify.js","../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n","/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":[],"mappings":";AAaA,MAAM,UAAU,CAAC,SAAS;AACzB,SAAO,WAAW,MAAM;AAAA,IACvB,iBAAiB;AAAA,IACjB,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,MACX,KAAK;AAAA,IACL;AAAA,EACH,CAAE;AACF;ACbY,MAAC,YAAY,SAAS,IAAI,SAAS;AAC9C,MAAI,QAAQ,OAAO,YAAY,MAAM;AACpC,OAAG,YAAY,QAAQ,QAAQ,MAAM,IAAI;AAAA,EACzC;AACF;"}
1
+ {"version":3,"file":"Linkify.mjs","sources":["../../src/utils/Linkify.js","../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n","/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":[],"mappings":";AAaA,MAAM,UAAU,CAAC,SAAS;AACzB,SAAO,WAAW,MAAM;AAAA,IACvB,iBAAiB;AAAA,IACjB,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,MACX,KAAK;AAAA,IACL;AAAA,EACD,CAAA;AACF;ACbY,MAAC,YAAY,SAAS,IAAI,SAAS;AAC9C,MAAI,QAAQ,OAAO,YAAY,MAAM;AACpC,OAAG,YAAY,QAAQ,QAAQ,MAAM,IAAI;AAAA,EAC3C;AACA;"}
@@ -1,4 +1,4 @@
1
- require('../assets/Tooltip-DQ4Plm4r.css');
1
+ require('../assets/Tooltip-C-QZMStp.css');
2
2
  "use strict";
3
3
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
4
4
  const floatingVue = require("floating-vue");
@@ -14,3 +14,4 @@ Object.defineProperty(exports, "options", {
14
14
  enumerable: true,
15
15
  get: () => floatingVue.options
16
16
  });
17
+ //# sourceMappingURL=Tooltip.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.cjs","sources":["../../src/directives/Tooltip/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { VTooltip, options } from 'floating-vue'\nimport './index.scss'\n\noptions.themes.tooltip.html = false\noptions.themes.tooltip.delay = { show: 500, hide: 200 }\noptions.themes.tooltip.distance = 10\noptions.themes.tooltip['arrow-padding'] = 3\n\nexport default VTooltip\nexport { options }\n"],"names":["options"],"mappings":";;;AAQAA,YAAAA,QAAQ,OAAO,QAAQ,OAAO;AAC9BA,YAAAA,QAAQ,OAAO,QAAQ,QAAQ,EAAE,MAAM,KAAK,MAAM,IAAK;AACvDA,YAAAA,QAAQ,OAAO,QAAQ,WAAW;AAClCA,YAAAA,QAAQ,OAAO,QAAQ,eAAe,IAAI;;;;;;;;;"}
1
+ {"version":3,"file":"Tooltip.cjs","sources":["../../src/directives/Tooltip/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { VTooltip, options } from 'floating-vue'\nimport './index.scss'\n\noptions.themes.tooltip.html = false\noptions.themes.tooltip.delay = { show: 500, hide: 200 }\noptions.themes.tooltip.distance = 10\noptions.themes.tooltip['arrow-padding'] = 3\n\nexport {\n\t/**\n\t * @deprecated Use the native `title` attribute instead.\n\t */\n\tVTooltip as default,\n\toptions,\n}\n"],"names":["options"],"mappings":";;;AAQAA,YAAAA,QAAQ,OAAO,QAAQ,OAAO;AAC9BA,YAAAA,QAAQ,OAAO,QAAQ,QAAQ,EAAE,MAAM,KAAK,MAAM,IAAG;AACrDA,YAAAA,QAAQ,OAAO,QAAQ,WAAW;AAClCA,YAAAA,QAAQ,OAAO,QAAQ,eAAe,IAAI;;;;;;;;;"}
@@ -1,11 +1,12 @@
1
- import '../assets/Tooltip-DQ4Plm4r.css';
2
- import { options, VTooltip } from "floating-vue";
3
- import { VTooltip as VTooltip2, options as options2 } from "floating-vue";
1
+ import '../assets/Tooltip-C-QZMStp.css';
2
+ import { options } from "floating-vue";
3
+ import { VTooltip, options as options2 } from "floating-vue";
4
4
  options.themes.tooltip.html = false;
5
5
  options.themes.tooltip.delay = { show: 500, hide: 200 };
6
6
  options.themes.tooltip.distance = 10;
7
7
  options.themes.tooltip["arrow-padding"] = 3;
8
8
  export {
9
- VTooltip2 as default,
9
+ VTooltip as default,
10
10
  options2 as options
11
11
  };
12
+ //# sourceMappingURL=Tooltip.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.mjs","sources":["../../src/directives/Tooltip/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { VTooltip, options } from 'floating-vue'\nimport './index.scss'\n\noptions.themes.tooltip.html = false\noptions.themes.tooltip.delay = { show: 500, hide: 200 }\noptions.themes.tooltip.distance = 10\noptions.themes.tooltip['arrow-padding'] = 3\n\nexport default VTooltip\nexport { options }\n"],"names":[],"mappings":";;AAQA,QAAQ,OAAO,QAAQ,OAAO;AAC9B,QAAQ,OAAO,QAAQ,QAAQ,EAAE,MAAM,KAAK,MAAM,IAAK;AACvD,QAAQ,OAAO,QAAQ,WAAW;AAClC,QAAQ,OAAO,QAAQ,eAAe,IAAI;"}
1
+ {"version":3,"file":"Tooltip.mjs","sources":["../../src/directives/Tooltip/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { VTooltip, options } from 'floating-vue'\nimport './index.scss'\n\noptions.themes.tooltip.html = false\noptions.themes.tooltip.delay = { show: 500, hide: 200 }\noptions.themes.tooltip.distance = 10\noptions.themes.tooltip['arrow-padding'] = 3\n\nexport {\n\t/**\n\t * @deprecated Use the native `title` attribute instead.\n\t */\n\tVTooltip as default,\n\toptions,\n}\n"],"names":[],"mappings":";;AAQA,QAAQ,OAAO,QAAQ,OAAO;AAC9B,QAAQ,OAAO,QAAQ,QAAQ,EAAE,MAAM,KAAK,MAAM,IAAG;AACrD,QAAQ,OAAO,QAAQ,WAAW;AAClC,QAAQ,OAAO,QAAQ,eAAe,IAAI;"}
@@ -10,3 +10,4 @@ const isA11yActivation = (event) => {
10
10
  return false;
11
11
  };
12
12
  exports.isA11yActivation = isA11yActivation;
13
+ //# sourceMappingURL=a11y.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"a11y.cjs","sources":["../../src/functions/a11y/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n"],"names":[],"mappings":";;AAYa,MAAA,mBAAmB,CAAC,UAAiB;AAC7C,MAAA,MAAM,SAAS,SAAS;AACpB,WAAA;AAAA,EACR;AACA,MAAI,MAAM,SAAS,aAAc,MAAwB,QAAQ,SAAS;AAClE,WAAA;AAAA,EACR;AACO,SAAA;AACR;;"}
1
+ {"version":3,"file":"a11y.cjs","sources":["../../src/functions/a11y/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n"],"names":[],"mappings":";;AAYa,MAAA,mBAAmB,CAAC,UAAiB;AAC7C,MAAA,MAAM,SAAS,SAAS;AACpB,WAAA;AAAA,EAAA;AAER,MAAI,MAAM,SAAS,aAAc,MAAwB,QAAQ,SAAS;AAClE,WAAA;AAAA,EAAA;AAED,SAAA;AACR;;"}
@@ -10,3 +10,4 @@ const isA11yActivation = (event) => {
10
10
  export {
11
11
  isA11yActivation
12
12
  };
13
+ //# sourceMappingURL=a11y.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"a11y.mjs","sources":["../../src/functions/a11y/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n"],"names":[],"mappings":"AAYa,MAAA,mBAAmB,CAAC,UAAiB;AAC7C,MAAA,MAAM,SAAS,SAAS;AACpB,WAAA;AAAA,EACR;AACA,MAAI,MAAM,SAAS,aAAc,MAAwB,QAAQ,SAAS;AAClE,WAAA;AAAA,EACR;AACO,SAAA;AACR;"}
1
+ {"version":3,"file":"a11y.mjs","sources":["../../src/functions/a11y/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n"],"names":[],"mappings":"AAYa,MAAA,mBAAmB,CAAC,UAAiB;AAC7C,MAAA,MAAM,SAAS,SAAS;AACpB,WAAA;AAAA,EAAA;AAER,MAAI,MAAM,SAAS,aAAc,MAAwB,QAAQ,SAAS;AAClE,WAAA;AAAA,EAAA;AAED,SAAA;AACR;"}
@@ -19,3 +19,4 @@ function getEnabledContactsMenuActions(entry) {
19
19
  }
20
20
  exports.getEnabledContactsMenuActions = getEnabledContactsMenuActions;
21
21
  exports.registerContactsMenuAction = registerContactsMenuAction;
22
+ //# sourceMappingURL=contactsMenu.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"contactsMenu.cjs","sources":["../../src/functions/contactsMenu/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { logger } from '../../utils/logger.ts'\n\n// Taken from \\OC\\Contacts\\ContactsMenu\\Entry::jsonSerialize\nexport interface ContactsMenuEntry {\n\tid: number|string|null,\n\tfullName: string,\n\tavatar: string|null,\n\ttopAction: object|null,\n\tactions: object[],\n\tlastMessage: '',\n\temailAddresses: string[],\n\tprofileTitle: string|null,\n\tprofileUrl: string|null,\n\tstatus: string|null,\n\tstatusMessage: null|string,\n\tstatusMessageTimestamp: null|number,\n\tstatusIcon: null|string,\n\tisUser: boolean,\n\tuid: null|string,\n}\n\nexport interface ContactsMenuAction {\n\tid: string,\n\tdisplayName: (entry: ContactsMenuEntry) => string,\n\tenabled: (entry: ContactsMenuEntry) => boolean,\n\ticonSvg: (entry: ContactsMenuEntry) => string,\n\tcallback: (entry: ContactsMenuEntry) => void,\n}\n\n/**\n * Register a contacts and avatar menu action that will invoke the given callback on click.\n *\n * @param {ContactsMenuAction} action The action to register\n */\nexport function registerContactsMenuAction(action: ContactsMenuAction): void {\n\twindow._nc_contacts_menu_hooks ??= {}\n\n\tif (window._nc_contacts_menu_hooks[action.id]) {\n\t\tlogger.error(`ContactsMenu action for id ${action.id} has already been registered`, {\n\t\t\taction,\n\t\t})\n\t\treturn\n\t}\n\n\twindow._nc_contacts_menu_hooks[action.id] = action\n}\n\n/**\n * Get all registered and enabled contacts menu actions for the given menu entry.\n *\n * @param {ContactsMenuEntry} entry The contacts menu entry object as returned by the backend\n */\nexport function getEnabledContactsMenuActions(entry: ContactsMenuEntry): ContactsMenuAction[] {\n\tif (!window._nc_contacts_menu_hooks) {\n\t\treturn []\n\t}\n\n\treturn Object.values(window._nc_contacts_menu_hooks).filter((action) => action.enabled(entry))\n}\n"],"names":["logger"],"mappings":";;;AAuCO,SAAS,2BAA2B,QAAkC;AAC5E,SAAO,4BAA4B;AAEnC,MAAI,OAAO,wBAAwB,OAAO,EAAE,GAAG;AAC9CA,WAAA,OAAO,MAAM,8BAA8B,OAAO,EAAE,gCAAgC;AAAA,MACnF;AAAA,IAAA,CACA;AACD;AAAA,EACD;AAEO,SAAA,wBAAwB,OAAO,EAAE,IAAI;AAC7C;AAOO,SAAS,8BAA8B,OAAgD;AACzF,MAAA,CAAC,OAAO,yBAAyB;AACpC,WAAO;EACR;AAEO,SAAA,OAAO,OAAO,OAAO,uBAAuB,EAAE,OAAO,CAAC,WAAW,OAAO,QAAQ,KAAK,CAAC;AAC9F;;;"}
1
+ {"version":3,"file":"contactsMenu.cjs","sources":["../../src/functions/contactsMenu/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { logger } from '../../utils/logger.ts'\n\n// Taken from \\OC\\Contacts\\ContactsMenu\\Entry::jsonSerialize\nexport interface ContactsMenuEntry {\n\tid: number|string|null,\n\tfullName: string,\n\tavatar: string|null,\n\ttopAction: object|null,\n\tactions: object[],\n\tlastMessage: '',\n\temailAddresses: string[],\n\tprofileTitle: string|null,\n\tprofileUrl: string|null,\n\tstatus: string|null,\n\tstatusMessage: null|string,\n\tstatusMessageTimestamp: null|number,\n\tstatusIcon: null|string,\n\tisUser: boolean,\n\tuid: null|string,\n}\n\nexport interface ContactsMenuAction {\n\tid: string,\n\tdisplayName: (entry: ContactsMenuEntry) => string,\n\tenabled: (entry: ContactsMenuEntry) => boolean,\n\ticonSvg: (entry: ContactsMenuEntry) => string,\n\tcallback: (entry: ContactsMenuEntry) => void,\n}\n\n/**\n * Register a contacts and avatar menu action that will invoke the given callback on click.\n *\n * @param {ContactsMenuAction} action The action to register\n */\nexport function registerContactsMenuAction(action: ContactsMenuAction): void {\n\twindow._nc_contacts_menu_hooks ??= {}\n\n\tif (window._nc_contacts_menu_hooks[action.id]) {\n\t\tlogger.error(`ContactsMenu action for id ${action.id} has already been registered`, {\n\t\t\taction,\n\t\t})\n\t\treturn\n\t}\n\n\twindow._nc_contacts_menu_hooks[action.id] = action\n}\n\n/**\n * Get all registered and enabled contacts menu actions for the given menu entry.\n *\n * @param {ContactsMenuEntry} entry The contacts menu entry object as returned by the backend\n */\nexport function getEnabledContactsMenuActions(entry: ContactsMenuEntry): ContactsMenuAction[] {\n\tif (!window._nc_contacts_menu_hooks) {\n\t\treturn []\n\t}\n\n\treturn Object.values(window._nc_contacts_menu_hooks).filter((action) => action.enabled(entry))\n}\n"],"names":["logger"],"mappings":";;;AAuCO,SAAS,2BAA2B,QAAkC;AAC5E,SAAO,4BAA4B,CAAC;AAEpC,MAAI,OAAO,wBAAwB,OAAO,EAAE,GAAG;AAC9CA,WAAA,OAAO,MAAM,8BAA8B,OAAO,EAAE,gCAAgC;AAAA,MACnF;AAAA,IAAA,CACA;AACD;AAAA,EAAA;AAGM,SAAA,wBAAwB,OAAO,EAAE,IAAI;AAC7C;AAOO,SAAS,8BAA8B,OAAgD;AACzF,MAAA,CAAC,OAAO,yBAAyB;AACpC,WAAO,CAAC;AAAA,EAAA;AAGF,SAAA,OAAO,OAAO,OAAO,uBAAuB,EAAE,OAAO,CAAC,WAAW,OAAO,QAAQ,KAAK,CAAC;AAC9F;;;"}
@@ -19,3 +19,4 @@ export {
19
19
  getEnabledContactsMenuActions,
20
20
  registerContactsMenuAction
21
21
  };
22
+ //# sourceMappingURL=contactsMenu.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"contactsMenu.mjs","sources":["../../src/functions/contactsMenu/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { logger } from '../../utils/logger.ts'\n\n// Taken from \\OC\\Contacts\\ContactsMenu\\Entry::jsonSerialize\nexport interface ContactsMenuEntry {\n\tid: number|string|null,\n\tfullName: string,\n\tavatar: string|null,\n\ttopAction: object|null,\n\tactions: object[],\n\tlastMessage: '',\n\temailAddresses: string[],\n\tprofileTitle: string|null,\n\tprofileUrl: string|null,\n\tstatus: string|null,\n\tstatusMessage: null|string,\n\tstatusMessageTimestamp: null|number,\n\tstatusIcon: null|string,\n\tisUser: boolean,\n\tuid: null|string,\n}\n\nexport interface ContactsMenuAction {\n\tid: string,\n\tdisplayName: (entry: ContactsMenuEntry) => string,\n\tenabled: (entry: ContactsMenuEntry) => boolean,\n\ticonSvg: (entry: ContactsMenuEntry) => string,\n\tcallback: (entry: ContactsMenuEntry) => void,\n}\n\n/**\n * Register a contacts and avatar menu action that will invoke the given callback on click.\n *\n * @param {ContactsMenuAction} action The action to register\n */\nexport function registerContactsMenuAction(action: ContactsMenuAction): void {\n\twindow._nc_contacts_menu_hooks ??= {}\n\n\tif (window._nc_contacts_menu_hooks[action.id]) {\n\t\tlogger.error(`ContactsMenu action for id ${action.id} has already been registered`, {\n\t\t\taction,\n\t\t})\n\t\treturn\n\t}\n\n\twindow._nc_contacts_menu_hooks[action.id] = action\n}\n\n/**\n * Get all registered and enabled contacts menu actions for the given menu entry.\n *\n * @param {ContactsMenuEntry} entry The contacts menu entry object as returned by the backend\n */\nexport function getEnabledContactsMenuActions(entry: ContactsMenuEntry): ContactsMenuAction[] {\n\tif (!window._nc_contacts_menu_hooks) {\n\t\treturn []\n\t}\n\n\treturn Object.values(window._nc_contacts_menu_hooks).filter((action) => action.enabled(entry))\n}\n"],"names":[],"mappings":";AAuCO,SAAS,2BAA2B,QAAkC;AAC5E,SAAO,4BAA4B;AAEnC,MAAI,OAAO,wBAAwB,OAAO,EAAE,GAAG;AAC9C,WAAO,MAAM,8BAA8B,OAAO,EAAE,gCAAgC;AAAA,MACnF;AAAA,IAAA,CACA;AACD;AAAA,EACD;AAEO,SAAA,wBAAwB,OAAO,EAAE,IAAI;AAC7C;AAOO,SAAS,8BAA8B,OAAgD;AACzF,MAAA,CAAC,OAAO,yBAAyB;AACpC,WAAO;EACR;AAEO,SAAA,OAAO,OAAO,OAAO,uBAAuB,EAAE,OAAO,CAAC,WAAW,OAAO,QAAQ,KAAK,CAAC;AAC9F;"}
1
+ {"version":3,"file":"contactsMenu.mjs","sources":["../../src/functions/contactsMenu/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { logger } from '../../utils/logger.ts'\n\n// Taken from \\OC\\Contacts\\ContactsMenu\\Entry::jsonSerialize\nexport interface ContactsMenuEntry {\n\tid: number|string|null,\n\tfullName: string,\n\tavatar: string|null,\n\ttopAction: object|null,\n\tactions: object[],\n\tlastMessage: '',\n\temailAddresses: string[],\n\tprofileTitle: string|null,\n\tprofileUrl: string|null,\n\tstatus: string|null,\n\tstatusMessage: null|string,\n\tstatusMessageTimestamp: null|number,\n\tstatusIcon: null|string,\n\tisUser: boolean,\n\tuid: null|string,\n}\n\nexport interface ContactsMenuAction {\n\tid: string,\n\tdisplayName: (entry: ContactsMenuEntry) => string,\n\tenabled: (entry: ContactsMenuEntry) => boolean,\n\ticonSvg: (entry: ContactsMenuEntry) => string,\n\tcallback: (entry: ContactsMenuEntry) => void,\n}\n\n/**\n * Register a contacts and avatar menu action that will invoke the given callback on click.\n *\n * @param {ContactsMenuAction} action The action to register\n */\nexport function registerContactsMenuAction(action: ContactsMenuAction): void {\n\twindow._nc_contacts_menu_hooks ??= {}\n\n\tif (window._nc_contacts_menu_hooks[action.id]) {\n\t\tlogger.error(`ContactsMenu action for id ${action.id} has already been registered`, {\n\t\t\taction,\n\t\t})\n\t\treturn\n\t}\n\n\twindow._nc_contacts_menu_hooks[action.id] = action\n}\n\n/**\n * Get all registered and enabled contacts menu actions for the given menu entry.\n *\n * @param {ContactsMenuEntry} entry The contacts menu entry object as returned by the backend\n */\nexport function getEnabledContactsMenuActions(entry: ContactsMenuEntry): ContactsMenuAction[] {\n\tif (!window._nc_contacts_menu_hooks) {\n\t\treturn []\n\t}\n\n\treturn Object.values(window._nc_contacts_menu_hooks).filter((action) => action.enabled(entry))\n}\n"],"names":[],"mappings":";AAuCO,SAAS,2BAA2B,QAAkC;AAC5E,SAAO,4BAA4B,CAAC;AAEpC,MAAI,OAAO,wBAAwB,OAAO,EAAE,GAAG;AAC9C,WAAO,MAAM,8BAA8B,OAAO,EAAE,gCAAgC;AAAA,MACnF;AAAA,IAAA,CACA;AACD;AAAA,EAAA;AAGM,SAAA,wBAAwB,OAAO,EAAE,IAAI;AAC7C;AAOO,SAAS,8BAA8B,OAAgD;AACzF,MAAA,CAAC,OAAO,yBAAyB;AACpC,WAAO,CAAC;AAAA,EAAA;AAGF,SAAA,OAAO,OAAO,OAAO,uBAAuB,EAAE,OAAO,CAAC,WAAW,OAAO,QAAQ,KAAK,CAAC;AAC9F;"}
@@ -25,3 +25,4 @@ function spawnDialog(dialog, props, onClose = () => {
25
25
  return vm;
26
26
  }
27
27
  exports.spawnDialog = spawnDialog;
28
+ //# sourceMappingURL=dialog.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.cjs","sources":["../../src/functions/dialog/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport type { AsyncComponent, Component } from 'vue'\n\nimport Vue, { toRaw } from 'vue'\n\ninterface DialogProps {\n\t[index: string]: unknown\n\tcontainer?: string\n}\n\n/**\n * Helper to spawn a Vue dialog without having to mount it from a component\n *\n * @param dialog The dialog component to spawn\n * @param props Properties to pass to the dialog\n * @param props.container Optionally pass a query selector for the dialog container element\n * @param onClose Callback when the dialog is closed\n */\nexport function spawnDialog(\n\tdialog: Component | AsyncComponent,\n\tprops?: DialogProps,\n\tonClose: (...rest: unknown[]) => void = () => {},\n): Vue {\n\tconst el = document.createElement('div')\n\n\tconst container: HTMLElement = typeof props?.container === 'string'\n\t\t? (document.querySelector(props.container) || document.body)\n\t\t: document.body\n\tcontainer.appendChild(el)\n\n\tconst vm = new Vue({\n\t\tel,\n\t\tname: 'VueDialogHelper',\n\t\trender: (h) =>\n\t\t\th(dialog, {\n\t\t\t\tprops,\n\t\t\t\ton: {\n\t\t\t\t\tclose: (...rest: unknown[]) => {\n\t\t\t\t\t\tonClose(...rest.map(v => toRaw(v)))\n\t\t\t\t\t\tvm.$destroy()\n\t\t\t\t\t\tel.remove()\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t})\n\treturn vm\n}\n"],"names":["Vue","toRaw"],"mappings":";;;;;AAqBO,SAAS,YACf,QACA,OACA,UAAwC,MAAM;AAAC,GACzC;AACA,QAAA,KAAK,SAAS,cAAc,KAAK;AAEvC,QAAM,YAAyB,OAAO,OAAO,cAAc,WACvD,SAAS,cAAc,MAAM,SAAS,KAAK,SAAS,OACrD,SAAS;AACZ,YAAU,YAAY,EAAE;AAElB,QAAA,KAAK,IAAIA,qBAAI;AAAA,IAClB;AAAA,IACA,MAAM;AAAA,IACN,QAAQ,CAAC,MACR,EAAE,QAAQ;AAAA,MACT;AAAA,MACA,IAAI;AAAA,QACH,OAAO,IAAI,SAAoB;AAC9B,kBAAQ,GAAG,KAAK,IAAI,OAAKC,UAAM,CAAC,CAAC,CAAC;AAClC,aAAG,SAAS;AACZ,aAAG,OAAO;AAAA,QACX;AAAA,MACD;AAAA,IAAA,CACA;AAAA,EAAA,CACF;AACM,SAAA;AACR;;"}
1
+ {"version":3,"file":"dialog.cjs","sources":["../../src/functions/dialog/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport type { AsyncComponent, Component } from 'vue'\n\nimport Vue, { toRaw } from 'vue'\n\ninterface DialogProps {\n\t[index: string]: unknown\n\tcontainer?: string\n}\n\n/**\n * Helper to spawn a Vue dialog without having to mount it from a component\n *\n * @param dialog The dialog component to spawn\n * @param props Properties to pass to the dialog\n * @param props.container Optionally pass a query selector for the dialog container element\n * @param onClose Callback when the dialog is closed\n */\nexport function spawnDialog(\n\tdialog: Component | AsyncComponent,\n\tprops?: DialogProps,\n\tonClose: (...rest: unknown[]) => void = () => {},\n): Vue {\n\tconst el = document.createElement('div')\n\n\tconst container: HTMLElement = typeof props?.container === 'string'\n\t\t? (document.querySelector(props.container) || document.body)\n\t\t: document.body\n\tcontainer.appendChild(el)\n\n\tconst vm = new Vue({\n\t\tel,\n\t\tname: 'VueDialogHelper',\n\t\trender: (h) =>\n\t\t\th(dialog, {\n\t\t\t\tprops,\n\t\t\t\ton: {\n\t\t\t\t\tclose: (...rest: unknown[]) => {\n\t\t\t\t\t\tonClose(...rest.map(v => toRaw(v)))\n\t\t\t\t\t\tvm.$destroy()\n\t\t\t\t\t\tel.remove()\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t})\n\treturn vm\n}\n"],"names":["Vue","toRaw"],"mappings":";;;;;AAqBO,SAAS,YACf,QACA,OACA,UAAwC,MAAM;AAAC,GACzC;AACA,QAAA,KAAK,SAAS,cAAc,KAAK;AAEvC,QAAM,YAAyB,OAAO,OAAO,cAAc,WACvD,SAAS,cAAc,MAAM,SAAS,KAAK,SAAS,OACrD,SAAS;AACZ,YAAU,YAAY,EAAE;AAElB,QAAA,KAAK,IAAIA,qBAAI;AAAA,IAClB;AAAA,IACA,MAAM;AAAA,IACN,QAAQ,CAAC,MACR,EAAE,QAAQ;AAAA,MACT;AAAA,MACA,IAAI;AAAA,QACH,OAAO,IAAI,SAAoB;AAC9B,kBAAQ,GAAG,KAAK,IAAI,OAAKC,IAAM,MAAA,CAAC,CAAC,CAAC;AAClC,aAAG,SAAS;AACZ,aAAG,OAAO;AAAA,QAAA;AAAA,MACX;AAAA,IAED,CAAA;AAAA,EAAA,CACF;AACM,SAAA;AACR;;"}
@@ -23,3 +23,4 @@ function spawnDialog(dialog, props, onClose = () => {
23
23
  export {
24
24
  spawnDialog
25
25
  };
26
+ //# sourceMappingURL=dialog.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.mjs","sources":["../../src/functions/dialog/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport type { AsyncComponent, Component } from 'vue'\n\nimport Vue, { toRaw } from 'vue'\n\ninterface DialogProps {\n\t[index: string]: unknown\n\tcontainer?: string\n}\n\n/**\n * Helper to spawn a Vue dialog without having to mount it from a component\n *\n * @param dialog The dialog component to spawn\n * @param props Properties to pass to the dialog\n * @param props.container Optionally pass a query selector for the dialog container element\n * @param onClose Callback when the dialog is closed\n */\nexport function spawnDialog(\n\tdialog: Component | AsyncComponent,\n\tprops?: DialogProps,\n\tonClose: (...rest: unknown[]) => void = () => {},\n): Vue {\n\tconst el = document.createElement('div')\n\n\tconst container: HTMLElement = typeof props?.container === 'string'\n\t\t? (document.querySelector(props.container) || document.body)\n\t\t: document.body\n\tcontainer.appendChild(el)\n\n\tconst vm = new Vue({\n\t\tel,\n\t\tname: 'VueDialogHelper',\n\t\trender: (h) =>\n\t\t\th(dialog, {\n\t\t\t\tprops,\n\t\t\t\ton: {\n\t\t\t\t\tclose: (...rest: unknown[]) => {\n\t\t\t\t\t\tonClose(...rest.map(v => toRaw(v)))\n\t\t\t\t\t\tvm.$destroy()\n\t\t\t\t\t\tel.remove()\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t})\n\treturn vm\n}\n"],"names":[],"mappings":";AAqBO,SAAS,YACf,QACA,OACA,UAAwC,MAAM;AAAC,GACzC;AACA,QAAA,KAAK,SAAS,cAAc,KAAK;AAEvC,QAAM,YAAyB,OAAO,OAAO,cAAc,WACvD,SAAS,cAAc,MAAM,SAAS,KAAK,SAAS,OACrD,SAAS;AACZ,YAAU,YAAY,EAAE;AAElB,QAAA,KAAK,IAAI,IAAI;AAAA,IAClB;AAAA,IACA,MAAM;AAAA,IACN,QAAQ,CAAC,MACR,EAAE,QAAQ;AAAA,MACT;AAAA,MACA,IAAI;AAAA,QACH,OAAO,IAAI,SAAoB;AAC9B,kBAAQ,GAAG,KAAK,IAAI,OAAK,MAAM,CAAC,CAAC,CAAC;AAClC,aAAG,SAAS;AACZ,aAAG,OAAO;AAAA,QACX;AAAA,MACD;AAAA,IAAA,CACA;AAAA,EAAA,CACF;AACM,SAAA;AACR;"}
1
+ {"version":3,"file":"dialog.mjs","sources":["../../src/functions/dialog/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport type { AsyncComponent, Component } from 'vue'\n\nimport Vue, { toRaw } from 'vue'\n\ninterface DialogProps {\n\t[index: string]: unknown\n\tcontainer?: string\n}\n\n/**\n * Helper to spawn a Vue dialog without having to mount it from a component\n *\n * @param dialog The dialog component to spawn\n * @param props Properties to pass to the dialog\n * @param props.container Optionally pass a query selector for the dialog container element\n * @param onClose Callback when the dialog is closed\n */\nexport function spawnDialog(\n\tdialog: Component | AsyncComponent,\n\tprops?: DialogProps,\n\tonClose: (...rest: unknown[]) => void = () => {},\n): Vue {\n\tconst el = document.createElement('div')\n\n\tconst container: HTMLElement = typeof props?.container === 'string'\n\t\t? (document.querySelector(props.container) || document.body)\n\t\t: document.body\n\tcontainer.appendChild(el)\n\n\tconst vm = new Vue({\n\t\tel,\n\t\tname: 'VueDialogHelper',\n\t\trender: (h) =>\n\t\t\th(dialog, {\n\t\t\t\tprops,\n\t\t\t\ton: {\n\t\t\t\t\tclose: (...rest: unknown[]) => {\n\t\t\t\t\t\tonClose(...rest.map(v => toRaw(v)))\n\t\t\t\t\t\tvm.$destroy()\n\t\t\t\t\t\tel.remove()\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t}),\n\t})\n\treturn vm\n}\n"],"names":[],"mappings":";AAqBO,SAAS,YACf,QACA,OACA,UAAwC,MAAM;AAAC,GACzC;AACA,QAAA,KAAK,SAAS,cAAc,KAAK;AAEvC,QAAM,YAAyB,OAAO,OAAO,cAAc,WACvD,SAAS,cAAc,MAAM,SAAS,KAAK,SAAS,OACrD,SAAS;AACZ,YAAU,YAAY,EAAE;AAElB,QAAA,KAAK,IAAI,IAAI;AAAA,IAClB;AAAA,IACA,MAAM;AAAA,IACN,QAAQ,CAAC,MACR,EAAE,QAAQ;AAAA,MACT;AAAA,MACA,IAAI;AAAA,QACH,OAAO,IAAI,SAAoB;AAC9B,kBAAQ,GAAG,KAAK,IAAI,OAAK,MAAM,CAAC,CAAC,CAAC;AAClC,aAAG,SAAS;AACZ,aAAG,OAAO;AAAA,QAAA;AAAA,MACX;AAAA,IAED,CAAA;AAAA,EAAA,CACF;AACM,SAAA;AACR;"}
@@ -6,3 +6,4 @@ exports.emojiAddRecent = emoji.emojiAddRecent;
6
6
  exports.emojiSearch = emoji.emojiSearch;
7
7
  exports.getCurrentSkinTone = emoji.getCurrentSkinTone;
8
8
  exports.setCurrentSkinTone = emoji.setCurrentSkinTone;
9
+ //# sourceMappingURL=emoji.cjs.map
@@ -6,3 +6,4 @@ export {
6
6
  g as getCurrentSkinTone,
7
7
  s as setCurrentSkinTone
8
8
  };
9
+ //# sourceMappingURL=emoji.mjs.map
@@ -10,3 +10,4 @@ function checkIfDarkTheme(el = document.body) {
10
10
  const isDarkTheme = checkIfDarkTheme();
11
11
  exports.checkIfDarkTheme = checkIfDarkTheme;
12
12
  exports.isDarkTheme = isDarkTheme;
13
+ //# sourceMappingURL=isDarkTheme.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"isDarkTheme.cjs","sources":["../../src/functions/isDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Check whether the dark theme is used on a specific element\n * @param el - Element to check for dark theme, which is used for `data-theme-*` checking (default is `document.body`)\n * @return {boolean} - Whether the dark theme is enabled via Nextcloud theme\n */\nexport function checkIfDarkTheme(el: HTMLElement = document.body): boolean {\n\t// Nextcloud uses --background-invert-if-dark for dark theme filters in CSS\n\t// Values:\n\t// - 'invert(100%)' for dark theme\n\t// - 'no' for light theme\n\t// This is the most reliable way to check for dark theme, including custom themes\n\tconst backgroundInvertIfDark = window.getComputedStyle(el).getPropertyValue('--background-invert-if-dark')\n\tif (backgroundInvertIfDark !== undefined) {\n\t\treturn backgroundInvertIfDark === 'invert(100%)'\n\t}\n\n\t// There is no theme? Fallback to the light theme\n\treturn false\n}\n\n/**\n * Whether the dark theme is enabled in Nextcloud.\n * The variable is defined on page load and not reactive.\n * Use `checkIfDarkTheme` if you need to check it at a specific moment.\n * Use `useDarkTheme` if you need a reactive variable in a Vue component.\n */\nexport const isDarkTheme = checkIfDarkTheme()\n"],"names":[],"mappings":";;AAUgB,SAAA,iBAAiB,KAAkB,SAAS,MAAe;AAM1E,QAAM,yBAAyB,OAAO,iBAAiB,EAAE,EAAE,iBAAiB,6BAA6B;AACzG,MAAI,2BAA2B,QAAW;AACzC,WAAO,2BAA2B;AAAA,EACnC;AAGO,SAAA;AACR;AAQO,MAAM,cAAc,iBAAiB;;;"}
1
+ {"version":3,"file":"isDarkTheme.cjs","sources":["../../src/functions/isDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Check whether the dark theme is used on a specific element\n * @param el - Element to check for dark theme, which is used for `data-theme-*` checking (default is `document.body`)\n * @return {boolean} - Whether the dark theme is enabled via Nextcloud theme\n */\nexport function checkIfDarkTheme(el: HTMLElement = document.body): boolean {\n\t// Nextcloud uses --background-invert-if-dark for dark theme filters in CSS\n\t// Values:\n\t// - 'invert(100%)' for dark theme\n\t// - 'no' for light theme\n\t// This is the most reliable way to check for dark theme, including custom themes\n\tconst backgroundInvertIfDark = window.getComputedStyle(el).getPropertyValue('--background-invert-if-dark')\n\tif (backgroundInvertIfDark !== undefined) {\n\t\treturn backgroundInvertIfDark === 'invert(100%)'\n\t}\n\n\t// There is no theme? Fallback to the light theme\n\treturn false\n}\n\n/**\n * Whether the dark theme is enabled in Nextcloud.\n * The variable is defined on page load and not reactive.\n * Use `checkIfDarkTheme` if you need to check it at a specific moment.\n * Use `useDarkTheme` if you need a reactive variable in a Vue component.\n */\nexport const isDarkTheme = checkIfDarkTheme()\n"],"names":[],"mappings":";;AAUgB,SAAA,iBAAiB,KAAkB,SAAS,MAAe;AAM1E,QAAM,yBAAyB,OAAO,iBAAiB,EAAE,EAAE,iBAAiB,6BAA6B;AACzG,MAAI,2BAA2B,QAAW;AACzC,WAAO,2BAA2B;AAAA,EAAA;AAI5B,SAAA;AACR;AAQO,MAAM,cAAc,iBAAiB;;;"}
@@ -10,3 +10,4 @@ export {
10
10
  checkIfDarkTheme,
11
11
  isDarkTheme
12
12
  };
13
+ //# sourceMappingURL=isDarkTheme.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"isDarkTheme.mjs","sources":["../../src/functions/isDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Check whether the dark theme is used on a specific element\n * @param el - Element to check for dark theme, which is used for `data-theme-*` checking (default is `document.body`)\n * @return {boolean} - Whether the dark theme is enabled via Nextcloud theme\n */\nexport function checkIfDarkTheme(el: HTMLElement = document.body): boolean {\n\t// Nextcloud uses --background-invert-if-dark for dark theme filters in CSS\n\t// Values:\n\t// - 'invert(100%)' for dark theme\n\t// - 'no' for light theme\n\t// This is the most reliable way to check for dark theme, including custom themes\n\tconst backgroundInvertIfDark = window.getComputedStyle(el).getPropertyValue('--background-invert-if-dark')\n\tif (backgroundInvertIfDark !== undefined) {\n\t\treturn backgroundInvertIfDark === 'invert(100%)'\n\t}\n\n\t// There is no theme? Fallback to the light theme\n\treturn false\n}\n\n/**\n * Whether the dark theme is enabled in Nextcloud.\n * The variable is defined on page load and not reactive.\n * Use `checkIfDarkTheme` if you need to check it at a specific moment.\n * Use `useDarkTheme` if you need a reactive variable in a Vue component.\n */\nexport const isDarkTheme = checkIfDarkTheme()\n"],"names":[],"mappings":"AAUgB,SAAA,iBAAiB,KAAkB,SAAS,MAAe;AAM1E,QAAM,yBAAyB,OAAO,iBAAiB,EAAE,EAAE,iBAAiB,6BAA6B;AACzG,MAAI,2BAA2B,QAAW;AACzC,WAAO,2BAA2B;AAAA,EACnC;AAGO,SAAA;AACR;AAQO,MAAM,cAAc,iBAAiB;"}
1
+ {"version":3,"file":"isDarkTheme.mjs","sources":["../../src/functions/isDarkTheme/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Check whether the dark theme is used on a specific element\n * @param el - Element to check for dark theme, which is used for `data-theme-*` checking (default is `document.body`)\n * @return {boolean} - Whether the dark theme is enabled via Nextcloud theme\n */\nexport function checkIfDarkTheme(el: HTMLElement = document.body): boolean {\n\t// Nextcloud uses --background-invert-if-dark for dark theme filters in CSS\n\t// Values:\n\t// - 'invert(100%)' for dark theme\n\t// - 'no' for light theme\n\t// This is the most reliable way to check for dark theme, including custom themes\n\tconst backgroundInvertIfDark = window.getComputedStyle(el).getPropertyValue('--background-invert-if-dark')\n\tif (backgroundInvertIfDark !== undefined) {\n\t\treturn backgroundInvertIfDark === 'invert(100%)'\n\t}\n\n\t// There is no theme? Fallback to the light theme\n\treturn false\n}\n\n/**\n * Whether the dark theme is enabled in Nextcloud.\n * The variable is defined on page load and not reactive.\n * Use `checkIfDarkTheme` if you need to check it at a specific moment.\n * Use `useDarkTheme` if you need a reactive variable in a Vue component.\n */\nexport const isDarkTheme = checkIfDarkTheme()\n"],"names":[],"mappings":"AAUgB,SAAA,iBAAiB,KAAkB,SAAS,MAAe;AAM1E,QAAM,yBAAyB,OAAO,iBAAiB,EAAE,EAAE,iBAAiB,6BAA6B;AACzG,MAAI,2BAA2B,QAAW;AACzC,WAAO,2BAA2B;AAAA,EAAA;AAI5B,SAAA;AACR;AAQO,MAAM,cAAc,iBAAiB;"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const PQueue = require("p-queue");
4
+ const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
5
+ const PQueue__default = /* @__PURE__ */ _interopDefault(PQueue);
6
+ const queue = new PQueue__default.default({ concurrency: 5 });
7
+ function preloadImage(url) {
8
+ const { resolve, promise } = Promise.withResolvers();
9
+ queue.add(() => {
10
+ const image = new Image();
11
+ image.onerror = () => resolve(false);
12
+ image.onload = () => resolve(true);
13
+ image.src = url;
14
+ return promise;
15
+ });
16
+ return promise;
17
+ }
18
+ exports.preloadImage = preloadImage;
19
+ //# sourceMappingURL=preloadImage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preloadImage.cjs","sources":["../../src/functions/preloadImage/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport PQueue from 'p-queue'\n\nconst queue = new PQueue({ concurrency: 5 })\n\n/**\n * Preload an image URL\n * @param url URL of the image\n */\nexport function preloadImage(url: string): Promise<boolean> {\n\tconst { resolve, promise } = Promise.withResolvers<boolean>()\n\tqueue.add(() => {\n\t\tconst image = new Image()\n\t\timage.onerror = () => resolve(false)\n\t\timage.onload = () => resolve(true)\n\t\timage.src = url\n\t\treturn promise\n\t})\n\n\treturn promise\n}\n"],"names":["PQueue"],"mappings":";;;;;AAOA,MAAM,QAAQ,IAAIA,gBAAA,QAAO,EAAE,aAAa,GAAG;AAMpC,SAAS,aAAa,KAA+B;AAC3D,QAAM,EAAE,SAAS,YAAY,QAAQ,cAAuB;AAC5D,QAAM,IAAI,MAAM;AACT,UAAA,QAAQ,IAAI,MAAM;AAClB,UAAA,UAAU,MAAM,QAAQ,KAAK;AAC7B,UAAA,SAAS,MAAM,QAAQ,IAAI;AACjC,UAAM,MAAM;AACL,WAAA;AAAA,EAAA,CACP;AAEM,SAAA;AACR;;"}
@@ -0,0 +1,17 @@
1
+ import PQueue from "p-queue";
2
+ const queue = new PQueue({ concurrency: 5 });
3
+ function preloadImage(url) {
4
+ const { resolve, promise } = Promise.withResolvers();
5
+ queue.add(() => {
6
+ const image = new Image();
7
+ image.onerror = () => resolve(false);
8
+ image.onload = () => resolve(true);
9
+ image.src = url;
10
+ return promise;
11
+ });
12
+ return promise;
13
+ }
14
+ export {
15
+ preloadImage
16
+ };
17
+ //# sourceMappingURL=preloadImage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preloadImage.mjs","sources":["../../src/functions/preloadImage/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport PQueue from 'p-queue'\n\nconst queue = new PQueue({ concurrency: 5 })\n\n/**\n * Preload an image URL\n * @param url URL of the image\n */\nexport function preloadImage(url: string): Promise<boolean> {\n\tconst { resolve, promise } = Promise.withResolvers<boolean>()\n\tqueue.add(() => {\n\t\tconst image = new Image()\n\t\timage.onerror = () => resolve(false)\n\t\timage.onload = () => resolve(true)\n\t\timage.src = url\n\t\treturn promise\n\t})\n\n\treturn promise\n}\n"],"names":[],"mappings":";AAOA,MAAM,QAAQ,IAAI,OAAO,EAAE,aAAa,GAAG;AAMpC,SAAS,aAAa,KAA+B;AAC3D,QAAM,EAAE,SAAS,YAAY,QAAQ,cAAuB;AAC5D,QAAM,IAAI,MAAM;AACT,UAAA,QAAQ,IAAI,MAAM;AAClB,UAAA,UAAU,MAAM,QAAQ,KAAK;AAC7B,UAAA,SAAS,MAAM,QAAQ,IAAI;AACjC,UAAM,MAAM;AACL,WAAA;AAAA,EAAA,CACP;AAEM,SAAA;AACR;"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const Functions_registerReference = require("../chunks/index-BV85rPB7.cjs");
4
- const referencePickerModal = require("../chunks/referencePickerModal-BkBu4cnq.cjs");
4
+ const referencePickerModal = require("../chunks/referencePickerModal-BdK-_zC6.cjs");
5
5
  exports.NcCustomPickerRenderResult = Functions_registerReference.NcCustomPickerRenderResult;
6
6
  exports.hasInteractiveView = Functions_registerReference.hasInteractiveView;
7
7
  exports.isCustomPickerElementRegistered = Functions_registerReference.isCustomPickerElementRegistered;
@@ -16,3 +16,4 @@ exports.getProvider = referencePickerModal.getProvider;
16
16
  exports.getProviders = referencePickerModal.getProviders;
17
17
  exports.searchProvider = referencePickerModal.searchProvider;
18
18
  exports.sortProviders = referencePickerModal.sortProviders;
19
+ //# sourceMappingURL=reference.cjs.map
@@ -1,5 +1,5 @@
1
- import { N, h, d, i, b, r, c, a } from "../chunks/index-CtoB4eIp.mjs";
2
- import { a as a2, g, b as b2, c as c2, d as d2, s } from "../chunks/referencePickerModal-CGG57Dy_.mjs";
1
+ import { N, h, d, i, b, r, c, a } from "../chunks/index-56SXuvlv.mjs";
2
+ import { a as a2, g, b as b2, c as c2, d as d2, s } from "../chunks/referencePickerModal-Bxp4FMcs.mjs";
3
3
  export {
4
4
  N as NcCustomPickerRenderResult,
5
5
  a2 as anyLinkProviderId,
@@ -16,3 +16,4 @@ export {
16
16
  d2 as searchProvider,
17
17
  s as sortProviders
18
18
  };
19
+ //# sourceMappingURL=reference.mjs.map
@@ -11,3 +11,4 @@ exports.registerCustomPickerElement = Functions_registerReference.registerCustom
11
11
  exports.registerWidget = Functions_registerReference.registerWidget;
12
12
  exports.renderCustomPickerElement = Functions_registerReference.renderCustomPickerElement;
13
13
  exports.renderWidget = Functions_registerReference.renderWidget;
14
+ //# sourceMappingURL=registerReference.cjs.map
@@ -1,8 +1,8 @@
1
- import { N, g, f, j, d, i, b, r, c, a } from "../chunks/index-CtoB4eIp.mjs";
1
+ import { N, g, e, j, d, i, b, r, c, a } from "../chunks/index-56SXuvlv.mjs";
2
2
  export {
3
3
  N as NcCustomPickerRenderResult,
4
4
  g as destroyCustomPickerElement,
5
- f as destroyWidget,
5
+ e as destroyWidget,
6
6
  j as getCustomPickerElementSize,
7
7
  d as isCustomPickerElementRegistered,
8
8
  i as isWidgetRegistered,
@@ -11,3 +11,4 @@ export {
11
11
  c as renderCustomPickerElement,
12
12
  a as renderWidget
13
13
  };
14
+ //# sourceMappingURL=registerReference.mjs.map
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
- const usernameToColor = require("../chunks/usernameToColor-cVFS7tET.cjs");
2
+ const usernameToColor = require("../chunks/usernameToColor-mqInDrGv.cjs");
3
3
  module.exports = usernameToColor.usernameToColor;
4
+ //# sourceMappingURL=usernameToColor.cjs.map
@@ -1,4 +1,5 @@
1
- import { u } from "../chunks/usernameToColor-BCZuxlEH.mjs";
1
+ import { u } from "../chunks/usernameToColor-DJfepfog.mjs";
2
2
  export {
3
3
  u as default
4
4
  };
5
+ //# sourceMappingURL=usernameToColor.mjs.map
@@ -18,3 +18,4 @@ const clickOutsideOptions = {
18
18
  }
19
19
  };
20
20
  module.exports = clickOutsideOptions;
21
+ //# sourceMappingURL=clickOutsideOptions.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"clickOutsideOptions.cjs","sources":["../../src/mixins/clickOutsideOptions/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n// An empty comment below is needed to prevent styleguidist from using SPDX header as a mixin=component description in docs\n/** */\nexport default {\n\tprops: {\n\t\t/**\n\t\t * A query-selector or an array of query-selectors\n\t\t * to be ignored when clicking outside an element\n\t\t */\n\t\texcludeClickOutsideSelectors: {\n\t\t\ttype: [String, Array],\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\tclickOutsideOptions() {\n\t\t\tconst excludedQuerySelectors = Array.isArray(this.excludeClickOutsideSelectors)\n\t\t\t\t? this.excludeClickOutsideSelectors\n\t\t\t\t: [this.excludeClickOutsideSelectors]\n\n\t\t\treturn { ignore: excludedQuerySelectors }\n\t\t},\n\t},\n}\n"],"names":[],"mappings":";AAOA,MAAe,sBAAA;AAAA,EACd,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKN,8BAA8B;AAAA,MAC7B,MAAM,CAAC,QAAQ,KAAK;AAAA,MACpB,SAAS,MAAM,CAAE;AAAA,IACjB;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,sBAAsB;AACrB,YAAM,yBAAyB,MAAM,QAAQ,KAAK,4BAA4B,IAC3E,KAAK,+BACL,CAAC,KAAK,4BAA4B;AAErC,aAAO,EAAE,QAAQ,uBAAwB;AAAA,IACzC;AAAA,EACD;AACF;;"}
1
+ {"version":3,"file":"clickOutsideOptions.cjs","sources":["../../src/mixins/clickOutsideOptions/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n// An empty comment below is needed to prevent styleguidist from using SPDX header as a mixin=component description in docs\n/** */\nexport default {\n\tprops: {\n\t\t/**\n\t\t * A query-selector or an array of query-selectors\n\t\t * to be ignored when clicking outside an element\n\t\t */\n\t\texcludeClickOutsideSelectors: {\n\t\t\ttype: [String, Array],\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\tclickOutsideOptions() {\n\t\t\tconst excludedQuerySelectors = Array.isArray(this.excludeClickOutsideSelectors)\n\t\t\t\t? this.excludeClickOutsideSelectors\n\t\t\t\t: [this.excludeClickOutsideSelectors]\n\n\t\t\treturn { ignore: excludedQuerySelectors }\n\t\t},\n\t},\n}\n"],"names":[],"mappings":";AAOA,MAAe,sBAAA;AAAA,EACd,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKN,8BAA8B;AAAA,MAC7B,MAAM,CAAC,QAAQ,KAAK;AAAA,MACpB,SAAS,MAAM,CAAE;AAAA,IACjB;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,sBAAsB;AACrB,YAAM,yBAAyB,MAAM,QAAQ,KAAK,4BAA4B,IAC3E,KAAK,+BACL,CAAC,KAAK,4BAA4B;AAErC,aAAO,EAAE,QAAQ,uBAAsB;AAAA,IACvC;AAAA,EACD;AACF;;"}
@@ -19,3 +19,4 @@ const clickOutsideOptions = {
19
19
  export {
20
20
  clickOutsideOptions as default
21
21
  };
22
+ //# sourceMappingURL=clickOutsideOptions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"clickOutsideOptions.mjs","sources":["../../src/mixins/clickOutsideOptions/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n// An empty comment below is needed to prevent styleguidist from using SPDX header as a mixin=component description in docs\n/** */\nexport default {\n\tprops: {\n\t\t/**\n\t\t * A query-selector or an array of query-selectors\n\t\t * to be ignored when clicking outside an element\n\t\t */\n\t\texcludeClickOutsideSelectors: {\n\t\t\ttype: [String, Array],\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\tclickOutsideOptions() {\n\t\t\tconst excludedQuerySelectors = Array.isArray(this.excludeClickOutsideSelectors)\n\t\t\t\t? this.excludeClickOutsideSelectors\n\t\t\t\t: [this.excludeClickOutsideSelectors]\n\n\t\t\treturn { ignore: excludedQuerySelectors }\n\t\t},\n\t},\n}\n"],"names":[],"mappings":"AAOA,MAAe,sBAAA;AAAA,EACd,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKN,8BAA8B;AAAA,MAC7B,MAAM,CAAC,QAAQ,KAAK;AAAA,MACpB,SAAS,MAAM,CAAE;AAAA,IACjB;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,sBAAsB;AACrB,YAAM,yBAAyB,MAAM,QAAQ,KAAK,4BAA4B,IAC3E,KAAK,+BACL,CAAC,KAAK,4BAA4B;AAErC,aAAO,EAAE,QAAQ,uBAAwB;AAAA,IACzC;AAAA,EACD;AACF;"}
1
+ {"version":3,"file":"clickOutsideOptions.mjs","sources":["../../src/mixins/clickOutsideOptions/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n// An empty comment below is needed to prevent styleguidist from using SPDX header as a mixin=component description in docs\n/** */\nexport default {\n\tprops: {\n\t\t/**\n\t\t * A query-selector or an array of query-selectors\n\t\t * to be ignored when clicking outside an element\n\t\t */\n\t\texcludeClickOutsideSelectors: {\n\t\t\ttype: [String, Array],\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\tclickOutsideOptions() {\n\t\t\tconst excludedQuerySelectors = Array.isArray(this.excludeClickOutsideSelectors)\n\t\t\t\t? this.excludeClickOutsideSelectors\n\t\t\t\t: [this.excludeClickOutsideSelectors]\n\n\t\t\treturn { ignore: excludedQuerySelectors }\n\t\t},\n\t},\n}\n"],"names":[],"mappings":"AAOA,MAAe,sBAAA;AAAA,EACd,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKN,8BAA8B;AAAA,MAC7B,MAAM,CAAC,QAAQ,KAAK;AAAA,MACpB,SAAS,MAAM,CAAE;AAAA,IACjB;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,sBAAsB;AACrB,YAAM,yBAAyB,MAAM,QAAQ,KAAK,4BAA4B,IAC3E,KAAK,+BACL,CAAC,KAAK,4BAA4B;AAErC,aAAO,EAAE,QAAQ,uBAAsB;AAAA,IACvC;AAAA,EACD;AACF;"}
@@ -12,3 +12,4 @@ const index = {
12
12
  }
13
13
  };
14
14
  module.exports = index;
15
+ //# sourceMappingURL=isFullscreen.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"isFullscreen.cjs","sources":["../../src/mixins/isFullscreen/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { isFullscreenState } from '../../composables/useIsFullscreen/index.js'\n\nexport default {\n\tcomputed: {\n\t\t/**\n\t\t * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n\t\t * Use `composables/useIsFullscreen` instead.\n\t\t */\n\t\tisFullscreen() {\n\t\t\treturn isFullscreenState.value\n\t\t},\n\t},\n}\n"],"names":["isFullscreenState"],"mappings":";;AAOA,MAAe,QAAA;AAAA,EACd,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,eAAe;AACd,aAAOA,4BAAiB,kBAAC;AAAA,IACzB;AAAA,EACD;AACF;;"}
1
+ {"version":3,"file":"isFullscreen.cjs","sources":["../../src/mixins/isFullscreen/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { isFullscreenState } from '../../composables/useIsFullscreen/index.js'\n\nexport default {\n\tcomputed: {\n\t\t/**\n\t\t * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n\t\t * Use `composables/useIsFullscreen` instead.\n\t\t */\n\t\tisFullscreen() {\n\t\t\treturn isFullscreenState.value\n\t\t},\n\t},\n}\n"],"names":["isFullscreenState"],"mappings":";;AAOA,MAAe,QAAA;AAAA,EACd,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,eAAe;AACd,aAAOA,8CAAkB;AAAA,IACzB;AAAA,EACD;AACF;;"}