@nextcloud/vue 8.12.0 → 8.14.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 (797) hide show
  1. package/CHANGELOG.md +68 -2
  2. package/README.md +5 -0
  3. package/dist/Components/NcActionButton.cjs +3 -3
  4. package/dist/Components/NcActionButton.cjs.map +1 -1
  5. package/dist/Components/NcActionButton.mjs +3 -3
  6. package/dist/Components/NcActionButton.mjs.map +1 -1
  7. package/dist/Components/NcActionButtonGroup.cjs +1 -1
  8. package/dist/Components/NcActionButtonGroup.mjs +1 -1
  9. package/dist/Components/NcActionCaption.cjs +2 -2
  10. package/dist/Components/NcActionCaption.cjs.map +1 -1
  11. package/dist/Components/NcActionCaption.mjs +2 -2
  12. package/dist/Components/NcActionCaption.mjs.map +1 -1
  13. package/dist/Components/NcActionCheckbox.cjs +6 -8
  14. package/dist/Components/NcActionCheckbox.cjs.map +1 -1
  15. package/dist/Components/NcActionCheckbox.mjs +6 -8
  16. package/dist/Components/NcActionCheckbox.mjs.map +1 -1
  17. package/dist/Components/NcActionInput.cjs +1 -1
  18. package/dist/Components/NcActionInput.mjs +1 -1
  19. package/dist/Components/NcActionLink.cjs +3 -3
  20. package/dist/Components/NcActionLink.cjs.map +1 -1
  21. package/dist/Components/NcActionLink.mjs +3 -3
  22. package/dist/Components/NcActionLink.mjs.map +1 -1
  23. package/dist/Components/NcActionRadio.cjs +6 -8
  24. package/dist/Components/NcActionRadio.cjs.map +1 -1
  25. package/dist/Components/NcActionRadio.mjs +6 -8
  26. package/dist/Components/NcActionRadio.mjs.map +1 -1
  27. package/dist/Components/NcActionRouter.cjs +3 -3
  28. package/dist/Components/NcActionRouter.cjs.map +1 -1
  29. package/dist/Components/NcActionRouter.mjs +3 -3
  30. package/dist/Components/NcActionRouter.mjs.map +1 -1
  31. package/dist/Components/NcActionSeparator.cjs +2 -2
  32. package/dist/Components/NcActionSeparator.cjs.map +1 -1
  33. package/dist/Components/NcActionSeparator.mjs +2 -2
  34. package/dist/Components/NcActionSeparator.mjs.map +1 -1
  35. package/dist/Components/NcActionText.cjs +3 -3
  36. package/dist/Components/NcActionText.cjs.map +1 -1
  37. package/dist/Components/NcActionText.mjs +3 -3
  38. package/dist/Components/NcActionText.mjs.map +1 -1
  39. package/dist/Components/NcActionTextEditable.cjs +4 -4
  40. package/dist/Components/NcActionTextEditable.cjs.map +1 -1
  41. package/dist/Components/NcActionTextEditable.mjs +4 -4
  42. package/dist/Components/NcActionTextEditable.mjs.map +1 -1
  43. package/dist/Components/NcActions.cjs +1 -1
  44. package/dist/Components/NcActions.mjs +1 -1
  45. package/dist/Components/NcAppContent.cjs +1 -1
  46. package/dist/Components/NcAppContent.mjs +1 -1
  47. package/dist/Components/NcAppContentDetails.cjs.map +1 -1
  48. package/dist/Components/NcAppContentDetails.mjs.map +1 -1
  49. package/dist/Components/NcAppContentList.cjs.map +1 -1
  50. package/dist/Components/NcAppContentList.mjs.map +1 -1
  51. package/dist/Components/NcAppNavigation.cjs +1 -1
  52. package/dist/Components/NcAppNavigation.mjs +1 -1
  53. package/dist/Components/NcAppNavigationCaption.cjs +1 -1
  54. package/dist/Components/NcAppNavigationCaption.mjs +1 -1
  55. package/dist/Components/NcAppNavigationIconBullet.cjs +2 -2
  56. package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
  57. package/dist/Components/NcAppNavigationIconBullet.mjs +2 -2
  58. package/dist/Components/NcAppNavigationIconBullet.mjs.map +1 -1
  59. package/dist/Components/NcAppNavigationItem.cjs +1 -1
  60. package/dist/Components/NcAppNavigationItem.mjs +1 -1
  61. package/dist/Components/NcAppNavigationList.cjs +2 -2
  62. package/dist/Components/NcAppNavigationList.cjs.map +1 -1
  63. package/dist/Components/NcAppNavigationList.mjs +2 -2
  64. package/dist/Components/NcAppNavigationList.mjs.map +1 -1
  65. package/dist/Components/NcAppNavigationNew.cjs +2 -2
  66. package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
  67. package/dist/Components/NcAppNavigationNew.mjs +2 -2
  68. package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
  69. package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
  70. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  71. package/dist/Components/NcAppNavigationSettings.cjs +1 -1
  72. package/dist/Components/NcAppNavigationSettings.mjs +1 -1
  73. package/dist/Components/NcAppNavigationSpacer.cjs +2 -2
  74. package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
  75. package/dist/Components/NcAppNavigationSpacer.mjs +2 -2
  76. package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
  77. package/dist/Components/NcAppNavigationToggle.cjs +1 -21
  78. package/dist/Components/NcAppNavigationToggle.cjs.map +1 -1
  79. package/dist/Components/NcAppNavigationToggle.mjs +1 -21
  80. package/dist/Components/NcAppNavigationToggle.mjs.map +1 -1
  81. package/dist/Components/NcAppSettingsDialog.cjs +1 -1
  82. package/dist/Components/NcAppSettingsDialog.mjs +1 -1
  83. package/dist/Components/NcAppSettingsSection.cjs +3 -3
  84. package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
  85. package/dist/Components/NcAppSettingsSection.mjs +3 -3
  86. package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
  87. package/dist/Components/NcAppSidebar.cjs +1 -1
  88. package/dist/Components/NcAppSidebar.mjs +1 -1
  89. package/dist/Components/NcAppSidebarTab.cjs +2 -2
  90. package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
  91. package/dist/Components/NcAppSidebarTab.mjs +2 -2
  92. package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
  93. package/dist/Components/NcAvatar.cjs +1 -1
  94. package/dist/Components/NcAvatar.mjs +1 -1
  95. package/dist/Components/NcBreadcrumb.cjs +1 -1
  96. package/dist/Components/NcBreadcrumb.mjs +1 -1
  97. package/dist/Components/NcBreadcrumbs.cjs +1 -1
  98. package/dist/Components/NcBreadcrumbs.mjs +1 -1
  99. package/dist/Components/NcButton.cjs +15 -3
  100. package/dist/Components/NcButton.cjs.map +1 -1
  101. package/dist/Components/NcButton.mjs +15 -3
  102. package/dist/Components/NcButton.mjs.map +1 -1
  103. package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
  104. package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
  105. package/dist/Components/NcChip.cjs +111 -0
  106. package/dist/Components/NcChip.cjs.map +1 -0
  107. package/dist/Components/NcChip.mjs +112 -0
  108. package/dist/Components/NcChip.mjs.map +1 -0
  109. package/dist/Components/NcCollectionList.cjs +3 -0
  110. package/dist/Components/NcCollectionList.cjs.map +1 -0
  111. package/dist/Components/NcCollectionList.mjs +4 -0
  112. package/dist/Components/NcCollectionList.mjs.map +1 -0
  113. package/dist/Components/NcColorPicker.cjs +1 -1
  114. package/dist/Components/NcColorPicker.mjs +1 -1
  115. package/dist/Components/NcContent.cjs +1 -1
  116. package/dist/Components/NcContent.mjs +1 -1
  117. package/dist/Components/NcCounterBubble.cjs +2 -2
  118. package/dist/Components/NcCounterBubble.cjs.map +1 -1
  119. package/dist/Components/NcCounterBubble.mjs +2 -2
  120. package/dist/Components/NcCounterBubble.mjs.map +1 -1
  121. package/dist/Components/NcDashboardWidget.cjs +1 -1
  122. package/dist/Components/NcDashboardWidget.mjs +1 -1
  123. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  124. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  125. package/dist/Components/NcDateTime.cjs +1 -1
  126. package/dist/Components/NcDateTime.mjs +1 -1
  127. package/dist/Components/NcDateTimePicker.cjs +8 -29
  128. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  129. package/dist/Components/NcDateTimePicker.mjs +8 -29
  130. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  131. package/dist/Components/NcDateTimePickerNative.cjs +3 -24
  132. package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
  133. package/dist/Components/NcDateTimePickerNative.mjs +3 -24
  134. package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
  135. package/dist/Components/NcDialog.cjs +1 -1
  136. package/dist/Components/NcDialog.mjs +1 -1
  137. package/dist/Components/NcDialogButton.cjs +1 -1
  138. package/dist/Components/NcDialogButton.mjs +1 -1
  139. package/dist/Components/NcEllipsisedOption.cjs +9 -3
  140. package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
  141. package/dist/Components/NcEllipsisedOption.mjs +9 -3
  142. package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
  143. package/dist/Components/NcEmojiPicker.cjs +1 -1
  144. package/dist/Components/NcEmojiPicker.mjs +1 -1
  145. package/dist/Components/NcEmptyContent.cjs +2 -2
  146. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  147. package/dist/Components/NcEmptyContent.mjs +2 -2
  148. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  149. package/dist/Components/NcGuestContent.cjs +2 -2
  150. package/dist/Components/NcGuestContent.cjs.map +1 -1
  151. package/dist/Components/NcGuestContent.mjs +2 -2
  152. package/dist/Components/NcGuestContent.mjs.map +1 -1
  153. package/dist/Components/NcHeaderMenu.cjs +1 -1
  154. package/dist/Components/NcHeaderMenu.mjs +1 -1
  155. package/dist/Components/NcHighlight.cjs +1 -1
  156. package/dist/Components/NcHighlight.mjs +1 -1
  157. package/dist/Components/NcIconSvgWrapper.cjs +1 -1
  158. package/dist/Components/NcIconSvgWrapper.mjs +1 -1
  159. package/dist/Components/NcInputField.cjs +3 -3
  160. package/dist/Components/NcInputField.cjs.map +1 -1
  161. package/dist/Components/NcInputField.mjs +3 -3
  162. package/dist/Components/NcInputField.mjs.map +1 -1
  163. package/dist/Components/NcListItem.cjs +1 -1
  164. package/dist/Components/NcListItem.mjs +1 -1
  165. package/dist/Components/NcListItemIcon.cjs +1 -1
  166. package/dist/Components/NcListItemIcon.mjs +1 -1
  167. package/dist/Components/NcLoadingIcon.cjs +2 -2
  168. package/dist/Components/NcLoadingIcon.cjs.map +1 -1
  169. package/dist/Components/NcLoadingIcon.mjs +2 -2
  170. package/dist/Components/NcLoadingIcon.mjs.map +1 -1
  171. package/dist/Components/NcModal.cjs +32 -55
  172. package/dist/Components/NcModal.cjs.map +1 -1
  173. package/dist/Components/NcModal.mjs +30 -55
  174. package/dist/Components/NcModal.mjs.map +1 -1
  175. package/dist/Components/NcNoteCard.cjs +2 -2
  176. package/dist/Components/NcNoteCard.cjs.map +1 -1
  177. package/dist/Components/NcNoteCard.mjs +2 -2
  178. package/dist/Components/NcNoteCard.mjs.map +1 -1
  179. package/dist/Components/NcPasswordField.cjs +1 -1
  180. package/dist/Components/NcPasswordField.mjs +1 -1
  181. package/dist/Components/NcPopover.cjs +1 -1
  182. package/dist/Components/NcPopover.mjs +1 -1
  183. package/dist/Components/NcProgressBar.cjs +1 -1
  184. package/dist/Components/NcProgressBar.mjs +1 -1
  185. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  186. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  187. package/dist/Components/NcRichContenteditable.cjs +2 -2
  188. package/dist/Components/NcRichContenteditable.mjs +2 -2
  189. package/dist/Components/NcRichText.cjs +2 -23
  190. package/dist/Components/NcRichText.cjs.map +1 -1
  191. package/dist/Components/NcRichText.mjs +3 -24
  192. package/dist/Components/NcRichText.mjs.map +1 -1
  193. package/dist/Components/NcSelect.cjs +1 -1
  194. package/dist/Components/NcSelect.mjs +1 -1
  195. package/dist/Components/NcSelectTags.cjs +1 -1
  196. package/dist/Components/NcSelectTags.mjs +1 -1
  197. package/dist/Components/NcSettingsInputText.cjs +1 -1
  198. package/dist/Components/NcSettingsInputText.mjs +1 -1
  199. package/dist/Components/NcSettingsSection.cjs +1 -1
  200. package/dist/Components/NcSettingsSection.mjs +1 -1
  201. package/dist/Components/NcSettingsSelectGroup.cjs +1 -22
  202. package/dist/Components/NcSettingsSelectGroup.cjs.map +1 -1
  203. package/dist/Components/NcSettingsSelectGroup.mjs +1 -22
  204. package/dist/Components/NcSettingsSelectGroup.mjs.map +1 -1
  205. package/dist/Components/NcTextArea.cjs +3 -3
  206. package/dist/Components/NcTextArea.cjs.map +1 -1
  207. package/dist/Components/NcTextArea.mjs +3 -3
  208. package/dist/Components/NcTextArea.mjs.map +1 -1
  209. package/dist/Components/NcTextField.cjs +1 -1
  210. package/dist/Components/NcTextField.mjs +1 -1
  211. package/dist/Components/NcTimezonePicker.cjs +1 -1
  212. package/dist/Components/NcTimezonePicker.mjs +1 -1
  213. package/dist/Components/NcUserBubble.cjs +1 -1
  214. package/dist/Components/NcUserBubble.mjs +1 -1
  215. package/dist/Components/NcUserStatusIcon.cjs +1 -1
  216. package/dist/Components/NcUserStatusIcon.mjs +1 -1
  217. package/dist/Components/NcVNodes.cjs.map +1 -1
  218. package/dist/Components/NcVNodes.mjs.map +1 -1
  219. package/dist/Composables/useIsFullscreen.cjs +0 -21
  220. package/dist/Composables/useIsFullscreen.cjs.map +1 -1
  221. package/dist/Composables/useIsFullscreen.mjs +0 -21
  222. package/dist/Composables/useIsFullscreen.mjs.map +1 -1
  223. package/dist/Composables/useIsMobile.cjs +0 -21
  224. package/dist/Composables/useIsMobile.cjs.map +1 -1
  225. package/dist/Composables/useIsMobile.mjs +0 -21
  226. package/dist/Composables/useIsMobile.mjs.map +1 -1
  227. package/dist/Directives/Focus.cjs +0 -21
  228. package/dist/Directives/Focus.cjs.map +1 -1
  229. package/dist/Directives/Focus.mjs +0 -21
  230. package/dist/Directives/Focus.mjs.map +1 -1
  231. package/dist/Directives/Linkify.cjs +1 -1
  232. package/dist/Directives/Linkify.cjs.map +1 -1
  233. package/dist/Directives/Linkify.mjs +1 -1
  234. package/dist/Directives/Linkify.mjs.map +1 -1
  235. package/dist/Directives/Tooltip.cjs +1 -23
  236. package/dist/Directives/Tooltip.cjs.map +1 -1
  237. package/dist/Directives/Tooltip.mjs +1 -23
  238. package/dist/Directives/Tooltip.mjs.map +1 -1
  239. package/dist/Functions/a11y.cjs +0 -21
  240. package/dist/Functions/a11y.cjs.map +1 -1
  241. package/dist/Functions/a11y.mjs +0 -21
  242. package/dist/Functions/a11y.mjs.map +1 -1
  243. package/dist/Functions/emoji.cjs +1 -1
  244. package/dist/Functions/emoji.mjs +1 -1
  245. package/dist/Functions/reference.cjs +1 -1
  246. package/dist/Functions/reference.mjs +1 -1
  247. package/dist/Functions/usernameToColor.cjs +1 -1
  248. package/dist/Functions/usernameToColor.mjs +1 -1
  249. package/dist/Mixins/clickOutsideOptions.cjs +0 -21
  250. package/dist/Mixins/clickOutsideOptions.cjs.map +1 -1
  251. package/dist/Mixins/clickOutsideOptions.mjs +0 -21
  252. package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
  253. package/dist/Mixins/isFullscreen.cjs +0 -21
  254. package/dist/Mixins/isFullscreen.cjs.map +1 -1
  255. package/dist/Mixins/isFullscreen.mjs +0 -21
  256. package/dist/Mixins/isFullscreen.mjs.map +1 -1
  257. package/dist/Mixins/isMobile.cjs +0 -21
  258. package/dist/Mixins/isMobile.cjs.map +1 -1
  259. package/dist/Mixins/isMobile.mjs +0 -21
  260. package/dist/Mixins/isMobile.mjs.map +1 -1
  261. package/dist/Mixins/richEditor.cjs +2 -2
  262. package/dist/Mixins/richEditor.mjs +2 -2
  263. package/dist/assets/NcActionButton-D90PTEA5.css +107 -0
  264. package/dist/assets/{NcActionButtonGroup-CvloX35s.css → NcActionButtonGroup-CQxLn2fv.css} +6 -20
  265. package/dist/assets/NcActionCaption-B7FZTc3Y.css +32 -0
  266. package/dist/assets/NcActionCheckbox-C-PJVvtb.css +78 -0
  267. package/dist/assets/NcActionInput-C_3Csa6A.css +220 -0
  268. package/dist/assets/NcActionLink-Db_ZlqWs.css +92 -0
  269. package/dist/assets/NcActionRadio-CpCvyMa_.css +78 -0
  270. package/dist/assets/NcActionRouter-DidTlbov.css +103 -0
  271. package/dist/assets/NcActionSeparator-CEbb5P6P.css +24 -0
  272. package/dist/assets/NcActionText-DCx1DWXe.css +107 -0
  273. package/dist/assets/NcActionTextEditable-Dud9NOdm.css +238 -0
  274. package/dist/assets/NcActions-JDMMURyt.css +83 -0
  275. package/dist/assets/NcAppContent-B1ZWQTUv.css +125 -0
  276. package/dist/assets/NcAppNavigation-DvCTUTpR.css +103 -0
  277. package/dist/assets/NcAppNavigationCaption-Cgexlz2n.css +48 -0
  278. package/dist/assets/NcAppNavigationIconBullet-By_0o2dG.css +30 -0
  279. package/dist/assets/NcAppNavigationItem-Cas1plMr.css +211 -0
  280. package/dist/assets/NcAppNavigationList-BIbyyT7b.css +29 -0
  281. package/dist/assets/NcAppNavigationNew-BKfawNII.css +27 -0
  282. package/dist/assets/{NcAppNavigationNewItem-DF3nldsK.css → NcAppNavigationNewItem-Dw2sHtEO.css} +58 -68
  283. package/dist/assets/NcAppNavigationSettings-DtCFYPKb.css +79 -0
  284. package/dist/assets/NcAppNavigationSpacer-CfNqmQeR.css +6 -0
  285. package/dist/assets/NcAppNavigationToggle-DvYpNzHv.css +27 -0
  286. package/dist/assets/NcAppSettingsDialog-YgAGku7I.css +74 -0
  287. package/dist/assets/NcAppSettingsSection-AUZ2NjMX.css +30 -0
  288. package/dist/assets/{NcAppSidebar-DixS4RLm.css → NcAppSidebar-GLK326IR.css} +126 -172
  289. package/dist/assets/NcAppSidebarTab-BieYhqvk.css +34 -0
  290. package/dist/assets/NcAvatar-m0lTnGXX.css +129 -0
  291. package/dist/assets/NcBreadcrumb-DOvK-XG1.css +68 -0
  292. package/dist/assets/NcBreadcrumbs-CPUAM38l.css +37 -0
  293. package/dist/assets/NcButton-BHxZm42y.css +210 -0
  294. package/dist/assets/{NcCheckboxRadioSwitch-DArK1Q95.css → NcCheckboxRadioSwitch-BkBep4wT.css} +58 -86
  295. package/dist/assets/NcChip-CQm1mq2C.css +61 -0
  296. package/dist/assets/NcCollectionList-ETQTqkqt.css +221 -0
  297. package/dist/assets/NcColorPicker-Ctv2cwt1.css +122 -0
  298. package/dist/assets/NcContent--2CGtswk.css +82 -0
  299. package/dist/assets/NcCounterBubble-BlAq2Vim.css +53 -0
  300. package/dist/assets/NcDashboardWidget-CpstyXok.css +73 -0
  301. package/dist/assets/NcDashboardWidgetItem-Qe5SSOhA.css +85 -0
  302. package/dist/assets/{NcDateTimePicker-3FfsWOh0.css → NcDateTimePicker-BR1KY59N.css} +39 -77
  303. package/dist/assets/NcDateTimePickerNative-BAcKr0B3.css +47 -0
  304. package/dist/assets/NcDialog-j6_6dpiF.css +132 -0
  305. package/dist/assets/NcEllipsisedOption-DZK2vWD1.css +34 -0
  306. package/dist/assets/{NcEmojiPicker-XL3oUsqE.css → NcEmojiPicker-ielwHIhs.css} +16 -44
  307. package/dist/assets/NcEmptyContent-BU0QVo3d.css +65 -0
  308. package/dist/assets/NcGuestContent-BLJ37yLM.css +50 -0
  309. package/dist/assets/NcHeaderMenu-CuAI7Fgb.css +77 -0
  310. package/dist/assets/NcIconSvgWrapper-BwsJ8wBM.css +39 -0
  311. package/dist/assets/NcInputConfirmCancel-SGr0-6w8.css +39 -0
  312. package/dist/assets/{NcInputField-CXoTqF9T.css → NcInputField-CrdP183e.css} +43 -56
  313. package/dist/assets/NcListItem-DTaecNLV.css +156 -0
  314. package/dist/assets/NcListItemIcon-DxPdaRV5.css +64 -0
  315. package/dist/assets/NcLoadingIcon-BSONDy7x.css +21 -0
  316. package/dist/assets/NcMentionBubble-C6t8od-_.css +73 -0
  317. package/dist/assets/NcModal-CYa2IEvm.css +282 -0
  318. package/dist/assets/NcNoteCard-BLPU1den.css +50 -0
  319. package/dist/assets/{NcPopover-BwI1hPzy.css → NcPopover-BDlL00qZ.css} +6 -20
  320. package/dist/assets/NcProgressBar-BsqdCn-x.css +56 -0
  321. package/dist/assets/NcRelatedResourcesPanel-BE9CQ8s8.css +158 -0
  322. package/dist/assets/{NcRichContenteditable-C-eZyVQM.css → NcRichContenteditable-CkvTrjfG.css} +58 -100
  323. package/dist/assets/NcRichText-BzeK2YTS.css +217 -0
  324. package/dist/assets/{NcSelect-Fmyu7qyl.css → NcSelect-BQt_SpyP.css} +10 -22
  325. package/dist/assets/NcSettingsInputText-DbTNj9E6.css +35 -0
  326. package/dist/assets/NcSettingsSection-DZwOPKg1.css +56 -0
  327. package/dist/assets/NcSettingsSelectGroup-CzD7YrGm.css +23 -0
  328. package/dist/assets/{NcTextArea-XCi8a16Y.css → NcTextArea-D8bZi2fT.css} +30 -42
  329. package/dist/assets/NcUserBubble-DMjZyrGY.css +48 -0
  330. package/dist/assets/NcUserStatusIcon-DMxcdM51.css +30 -0
  331. package/dist/assets/{Tooltip-jHgt4m-W.css → Tooltip-4CSl8xev.css} +10 -30
  332. package/dist/assets/referencePickerModal-9BcmmfUy.css +413 -0
  333. package/dist/chunks/{GenColors-CAUl-IDP.cjs → GenColors-Dt-3yZwf.cjs} +1 -23
  334. package/dist/chunks/GenColors-Dt-3yZwf.cjs.map +1 -0
  335. package/dist/chunks/{GenColors-DcjtQMk3.mjs → GenColors-DtEnxSd9.mjs} +1 -23
  336. package/dist/chunks/GenColors-DtEnxSd9.mjs.map +1 -0
  337. package/dist/chunks/GenRandomId-BQDud3d4.cjs +5 -0
  338. package/dist/chunks/GenRandomId-BQDud3d4.cjs.map +1 -0
  339. package/dist/chunks/GenRandomId-CMooMQt0.mjs +6 -0
  340. package/dist/chunks/GenRandomId-CMooMQt0.mjs.map +1 -0
  341. package/dist/chunks/Linkify-BtgR-dXX.mjs +14 -0
  342. package/dist/chunks/Linkify-BtgR-dXX.mjs.map +1 -0
  343. package/dist/chunks/Linkify-yeOn5L6T.cjs +15 -0
  344. package/dist/chunks/Linkify-yeOn5L6T.cjs.map +1 -0
  345. package/dist/chunks/{NcActionButtonGroup-D650-6zv.mjs → NcActionButtonGroup-B62_HajM.mjs} +3 -3
  346. package/dist/chunks/NcActionButtonGroup-B62_HajM.mjs.map +1 -0
  347. package/dist/chunks/{NcActionButtonGroup-D7hycpXY.cjs → NcActionButtonGroup-DKtkuRy5.cjs} +3 -3
  348. package/dist/chunks/NcActionButtonGroup-DKtkuRy5.cjs.map +1 -0
  349. package/dist/chunks/{NcActionInput-BqG7gSLn.mjs → NcActionInput-DvbN3P1D.mjs} +9 -9
  350. package/dist/chunks/NcActionInput-DvbN3P1D.mjs.map +1 -0
  351. package/dist/chunks/{NcActionInput-CHucaM0V.cjs → NcActionInput-Dw1TL9ig.cjs} +9 -9
  352. package/dist/chunks/NcActionInput-Dw1TL9ig.cjs.map +1 -0
  353. package/dist/chunks/{NcActions-CocYka0Y.mjs → NcActions-CL3YRRgz.mjs} +6 -6
  354. package/dist/chunks/NcActions-CL3YRRgz.mjs.map +1 -0
  355. package/dist/chunks/{NcActions-JX6wbAVA.cjs → NcActions-DRSoPS6a.cjs} +6 -6
  356. package/dist/chunks/NcActions-DRSoPS6a.cjs.map +1 -0
  357. package/dist/chunks/{NcAppContent-wlhVbyg0.mjs → NcAppContent-Cgay0O3i.mjs} +5 -5
  358. package/dist/chunks/NcAppContent-Cgay0O3i.mjs.map +1 -0
  359. package/dist/chunks/{NcAppContent-CkO1Y93z.cjs → NcAppContent-ibyvoVc4.cjs} +5 -5
  360. package/dist/chunks/NcAppContent-ibyvoVc4.cjs.map +1 -0
  361. package/dist/chunks/{NcAppNavigation-Du3J8BTm.cjs → NcAppNavigation-Cw8qnf4l.cjs} +5 -6
  362. package/dist/chunks/NcAppNavigation-Cw8qnf4l.cjs.map +1 -0
  363. package/dist/chunks/{NcAppNavigation-BKiDVBw7.mjs → NcAppNavigation-D15PXjlO.mjs} +5 -6
  364. package/dist/chunks/NcAppNavigation-D15PXjlO.mjs.map +1 -0
  365. package/dist/chunks/{NcAppNavigationCaption-BoN0P7tD.cjs → NcAppNavigationCaption-CO8Hwyrb.cjs} +3 -3
  366. package/dist/chunks/NcAppNavigationCaption-CO8Hwyrb.cjs.map +1 -0
  367. package/dist/chunks/{NcAppNavigationCaption-CKTQZ_u_.mjs → NcAppNavigationCaption-DsGPHQvj.mjs} +3 -3
  368. package/dist/chunks/NcAppNavigationCaption-DsGPHQvj.mjs.map +1 -0
  369. package/dist/chunks/{NcAppNavigationItem-D_lh17am.cjs → NcAppNavigationItem-BVLg_dnQ.cjs} +11 -13
  370. package/dist/chunks/NcAppNavigationItem-BVLg_dnQ.cjs.map +1 -0
  371. package/dist/chunks/{NcAppNavigationItem-qe8jnLow.mjs → NcAppNavigationItem-fKe0Oi-K.mjs} +11 -13
  372. package/dist/chunks/NcAppNavigationItem-fKe0Oi-K.mjs.map +1 -0
  373. package/dist/chunks/{NcAppNavigationNewItem-B107Beoc.mjs → NcAppNavigationNewItem-BEVsUTrd.mjs} +3 -3
  374. package/dist/chunks/NcAppNavigationNewItem-BEVsUTrd.mjs.map +1 -0
  375. package/dist/chunks/{NcAppNavigationNewItem-DyxVXE5t.cjs → NcAppNavigationNewItem-DlC2GWGK.cjs} +3 -3
  376. package/dist/chunks/NcAppNavigationNewItem-DlC2GWGK.cjs.map +1 -0
  377. package/dist/chunks/{NcAppNavigationSettings-CmP_tXFm.cjs → NcAppNavigationSettings-BidyunnY.cjs} +5 -5
  378. package/dist/chunks/NcAppNavigationSettings-BidyunnY.cjs.map +1 -0
  379. package/dist/chunks/{NcAppNavigationSettings-DZ1-Sbdz.mjs → NcAppNavigationSettings-CEHSXiJt.mjs} +5 -5
  380. package/dist/chunks/NcAppNavigationSettings-CEHSXiJt.mjs.map +1 -0
  381. package/dist/chunks/{NcAppNavigationToggle-zCGgvNDT.mjs → NcAppNavigationToggle-CdNG26lR.mjs} +4 -4
  382. package/dist/chunks/NcAppNavigationToggle-CdNG26lR.mjs.map +1 -0
  383. package/dist/chunks/{NcAppNavigationToggle-hmEUqxbP.cjs → NcAppNavigationToggle-DFhfV_Ic.cjs} +4 -4
  384. package/dist/chunks/NcAppNavigationToggle-DFhfV_Ic.cjs.map +1 -0
  385. package/dist/chunks/{NcAppSettingsDialog-D9cNYQ8b.mjs → NcAppSettingsDialog-BExa9wmg.mjs} +6 -7
  386. package/dist/chunks/NcAppSettingsDialog-BExa9wmg.mjs.map +1 -0
  387. package/dist/chunks/{NcAppSettingsDialog-YqNhco1P.cjs → NcAppSettingsDialog-Zy4akEYz.cjs} +6 -7
  388. package/dist/chunks/NcAppSettingsDialog-Zy4akEYz.cjs.map +1 -0
  389. package/dist/chunks/{NcAppSidebar-CQWODfsy.mjs → NcAppSidebar-CYd47NKe.mjs} +91 -67
  390. package/dist/chunks/NcAppSidebar-CYd47NKe.mjs.map +1 -0
  391. package/dist/chunks/{NcAppSidebar-J15zHyfq.cjs → NcAppSidebar-kuqm78Wl.cjs} +91 -67
  392. package/dist/chunks/NcAppSidebar-kuqm78Wl.cjs.map +1 -0
  393. package/dist/chunks/{NcAvatar-CX3OX2C4.mjs → NcAvatar-BC884DnC.mjs} +11 -32
  394. package/dist/chunks/NcAvatar-BC884DnC.mjs.map +1 -0
  395. package/dist/chunks/{NcAvatar-CYzikYku.cjs → NcAvatar-BX8J9gZF.cjs} +11 -32
  396. package/dist/chunks/NcAvatar-BX8J9gZF.cjs.map +1 -0
  397. package/dist/chunks/{NcBreadcrumb-DytGDsr8.mjs → NcBreadcrumb-BVLavjOe.mjs} +4 -4
  398. package/dist/chunks/NcBreadcrumb-BVLavjOe.mjs.map +1 -0
  399. package/dist/chunks/{NcBreadcrumb-jMJw2OQJ.cjs → NcBreadcrumb-DbuEPD5w.cjs} +4 -4
  400. package/dist/chunks/NcBreadcrumb-DbuEPD5w.cjs.map +1 -0
  401. package/dist/chunks/{NcBreadcrumbs-BqFPBZ-h.mjs → NcBreadcrumbs-BBO2DLP1.mjs} +8 -33
  402. package/dist/chunks/NcBreadcrumbs-BBO2DLP1.mjs.map +1 -0
  403. package/dist/chunks/{NcBreadcrumbs-CzObAKB-.cjs → NcBreadcrumbs-iIR1Tw0r.cjs} +8 -33
  404. package/dist/chunks/NcBreadcrumbs-iIR1Tw0r.cjs.map +1 -0
  405. package/dist/chunks/{NcCheckboxRadioSwitch-CIHl8lnP.cjs → NcCheckboxRadioSwitch-B0HYTOsR.cjs} +12 -6
  406. package/dist/chunks/NcCheckboxRadioSwitch-B0HYTOsR.cjs.map +1 -0
  407. package/dist/chunks/{NcCheckboxRadioSwitch-CpupDtee.mjs → NcCheckboxRadioSwitch-D2GbHtCS.mjs} +12 -6
  408. package/dist/chunks/NcCheckboxRadioSwitch-D2GbHtCS.mjs.map +1 -0
  409. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-CPc4BraS.cjs +4 -0
  410. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-CPc4BraS.cjs.map +1 -0
  411. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-ScT6WV__.mjs +3 -0
  412. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-ScT6WV__.mjs.map +1 -0
  413. package/dist/chunks/NcCollectionList-3O-OrcfS.mjs +428 -0
  414. package/dist/chunks/NcCollectionList-3O-OrcfS.mjs.map +1 -0
  415. package/dist/chunks/NcCollectionList-D4oNsvJ0.cjs +430 -0
  416. package/dist/chunks/NcCollectionList-D4oNsvJ0.cjs.map +1 -0
  417. package/dist/chunks/{NcColorPicker-BEs2B-HB.mjs → NcColorPicker-D7awy8o_.mjs} +6 -6
  418. package/dist/chunks/NcColorPicker-D7awy8o_.mjs.map +1 -0
  419. package/dist/chunks/{NcColorPicker-KrvDMhej.cjs → NcColorPicker-hOteJtis.cjs} +6 -6
  420. package/dist/chunks/NcColorPicker-hOteJtis.cjs.map +1 -0
  421. package/dist/chunks/NcContent-CQn8oXxp.mjs +105 -0
  422. package/dist/chunks/NcContent-CQn8oXxp.mjs.map +1 -0
  423. package/dist/chunks/NcContent-Dr9e_aYA.cjs +104 -0
  424. package/dist/chunks/NcContent-Dr9e_aYA.cjs.map +1 -0
  425. package/dist/chunks/{NcDashboardWidget-BvNtltPU.cjs → NcDashboardWidget-DnDLhRmV.cjs} +6 -6
  426. package/dist/chunks/NcDashboardWidget-DnDLhRmV.cjs.map +1 -0
  427. package/dist/chunks/{NcDashboardWidget-Da715DSB.mjs → NcDashboardWidget-hTBgsnwG.mjs} +6 -6
  428. package/dist/chunks/NcDashboardWidget-hTBgsnwG.mjs.map +1 -0
  429. package/dist/chunks/{NcDashboardWidgetItem-CKv_fb-1.cjs → NcDashboardWidgetItem-BorZC7ZL.cjs} +4 -4
  430. package/dist/chunks/NcDashboardWidgetItem-BorZC7ZL.cjs.map +1 -0
  431. package/dist/chunks/{NcDashboardWidgetItem-BkJTg3kj.mjs → NcDashboardWidgetItem-CorJJt6-.mjs} +4 -4
  432. package/dist/chunks/NcDashboardWidgetItem-CorJJt6-.mjs.map +1 -0
  433. package/dist/chunks/{NcDateTime-CpJDGhl7.mjs → NcDateTime-Eat0YWPN.mjs} +1 -22
  434. package/dist/chunks/NcDateTime-Eat0YWPN.mjs.map +1 -0
  435. package/dist/chunks/{NcDateTime-Cy5Bp0d2.cjs → NcDateTime-K3Rie9qv.cjs} +1 -22
  436. package/dist/chunks/NcDateTime-K3Rie9qv.cjs.map +1 -0
  437. package/dist/chunks/{NcDialog-C7KRNdTc.cjs → NcDialog-DGaf6Udc.cjs} +8 -6
  438. package/dist/chunks/NcDialog-DGaf6Udc.cjs.map +1 -0
  439. package/dist/chunks/{NcDialog-B3ZaXnpn.mjs → NcDialog-VincZ0XS.mjs} +8 -6
  440. package/dist/chunks/NcDialog-VincZ0XS.mjs.map +1 -0
  441. package/dist/chunks/{NcDialogButton-CLWLvwpm.cjs → NcDialogButton-CNWF4urB.cjs} +9 -2
  442. package/dist/chunks/NcDialogButton-CNWF4urB.cjs.map +1 -0
  443. package/dist/chunks/{NcDialogButton-BV3Kf9U7.mjs → NcDialogButton-JvyN3X6S.mjs} +9 -2
  444. package/dist/chunks/NcDialogButton-JvyN3X6S.mjs.map +1 -0
  445. package/dist/chunks/{NcEmojiPicker-LFuZ15M5.cjs → NcEmojiPicker-DCT0-SIC.cjs} +9 -9
  446. package/dist/chunks/NcEmojiPicker-DCT0-SIC.cjs.map +1 -0
  447. package/dist/chunks/{NcEmojiPicker-SqbRSwu2.mjs → NcEmojiPicker-ziqKge9K.mjs} +9 -9
  448. package/dist/chunks/NcEmojiPicker-ziqKge9K.mjs.map +1 -0
  449. package/dist/chunks/{NcHeaderMenu-830tFszI.cjs → NcHeaderMenu-D-Jo3l41.cjs} +6 -6
  450. package/dist/chunks/NcHeaderMenu-D-Jo3l41.cjs.map +1 -0
  451. package/dist/chunks/{NcHeaderMenu-2n5GDt37.mjs → NcHeaderMenu-Da6Ob-6t.mjs} +6 -6
  452. package/dist/chunks/NcHeaderMenu-Da6Ob-6t.mjs.map +1 -0
  453. package/dist/chunks/{NcIconSvgWrapper-KWEbPRC9.mjs → NcIconSvgWrapper-Ckqpz-vm.mjs} +3 -3
  454. package/dist/chunks/NcIconSvgWrapper-Ckqpz-vm.mjs.map +1 -0
  455. package/dist/chunks/{NcIconSvgWrapper-O61kZVNp.cjs → NcIconSvgWrapper-DaSgIT19.cjs} +3 -3
  456. package/dist/chunks/NcIconSvgWrapper-DaSgIT19.cjs.map +1 -0
  457. package/dist/chunks/{NcInputConfirmCancel-CJ7nPGEd.cjs → NcInputConfirmCancel-Bt_VDaTA.cjs} +7 -10
  458. package/dist/chunks/NcInputConfirmCancel-Bt_VDaTA.cjs.map +1 -0
  459. package/dist/chunks/{NcInputConfirmCancel-XXXgXoSw.mjs → NcInputConfirmCancel-BvsvyKxD.mjs} +7 -10
  460. package/dist/chunks/NcInputConfirmCancel-BvsvyKxD.mjs.map +1 -0
  461. package/dist/chunks/{NcListItem-CxpC4EKk.cjs → NcListItem-BwUN8FaS.cjs} +5 -6
  462. package/dist/chunks/{NcListItem-DrTIia88.mjs.map → NcListItem-BwUN8FaS.cjs.map} +1 -1
  463. package/dist/chunks/{NcListItem-DrTIia88.mjs → NcListItem-DwIZ95t7.mjs} +5 -6
  464. package/dist/chunks/{NcListItem-CxpC4EKk.cjs.map → NcListItem-DwIZ95t7.mjs.map} +1 -1
  465. package/dist/chunks/{NcListItemIcon-CTTJYWzN.mjs → NcListItemIcon-DhW1Fob8.mjs} +6 -6
  466. package/dist/chunks/NcListItemIcon-DhW1Fob8.mjs.map +1 -0
  467. package/dist/chunks/{NcListItemIcon-44A7fm62.cjs → NcListItemIcon-JeS1a2jI.cjs} +6 -6
  468. package/dist/chunks/NcListItemIcon-JeS1a2jI.cjs.map +1 -0
  469. package/dist/chunks/{NcPasswordField-DN-kdAfl.cjs → NcPasswordField-9h22h-sl.cjs} +5 -4
  470. package/dist/chunks/NcPasswordField-9h22h-sl.cjs.map +1 -0
  471. package/dist/chunks/{NcPasswordField-Z6BCKScy.mjs → NcPasswordField-xauR6801.mjs} +4 -3
  472. package/dist/chunks/NcPasswordField-xauR6801.mjs.map +1 -0
  473. package/dist/chunks/{NcPopover-BS1bBSkg.cjs → NcPopover-Cl1AvQ5o.cjs} +2 -2
  474. package/dist/chunks/NcPopover-Cl1AvQ5o.cjs.map +1 -0
  475. package/dist/chunks/{NcPopover-foxJPAfG.mjs → NcPopover-VxUr4c6P.mjs} +2 -2
  476. package/dist/chunks/NcPopover-VxUr4c6P.mjs.map +1 -0
  477. package/dist/chunks/{NcProgressBar-mFqoqB4L.cjs → NcProgressBar-BnKA91Pj.cjs} +3 -3
  478. package/dist/chunks/NcProgressBar-BnKA91Pj.cjs.map +1 -0
  479. package/dist/chunks/{NcProgressBar-BafFcKiu.mjs → NcProgressBar-CZtllSde.mjs} +3 -3
  480. package/dist/chunks/NcProgressBar-CZtllSde.mjs.map +1 -0
  481. package/dist/chunks/{NcRelatedResourcesPanel-Dcm2wvfd.cjs → NcRelatedResourcesPanel-Be1fGCiu.cjs} +10 -10
  482. package/dist/chunks/NcRelatedResourcesPanel-Be1fGCiu.cjs.map +1 -0
  483. package/dist/chunks/{NcRelatedResourcesPanel-D3QlWSNc.mjs → NcRelatedResourcesPanel-mSjo_nq5.mjs} +10 -10
  484. package/dist/chunks/NcRelatedResourcesPanel-mSjo_nq5.mjs.map +1 -0
  485. package/dist/chunks/{NcRichContenteditable-DljQv8gw.cjs → NcRichContenteditable-BbPOC-_I.cjs} +60 -48
  486. package/dist/chunks/NcRichContenteditable-BbPOC-_I.cjs.map +1 -0
  487. package/dist/chunks/{NcRichContenteditable-BB-qsHEm.mjs → NcRichContenteditable-CakN30zF.mjs} +60 -48
  488. package/dist/chunks/NcRichContenteditable-CakN30zF.mjs.map +1 -0
  489. package/dist/chunks/{NcRichText-BDVKgmY5.cjs → NcRichText-65CdQLUw.cjs} +9 -8
  490. package/dist/chunks/NcRichText-65CdQLUw.cjs.map +1 -0
  491. package/dist/chunks/{NcRichText-BT4VjvXi.mjs → NcRichText-CCM1HmZE.mjs} +9 -8
  492. package/dist/chunks/NcRichText-CCM1HmZE.mjs.map +1 -0
  493. package/dist/chunks/NcSavingIndicatorIcon-Bhy7wcoT.mjs.map +1 -1
  494. package/dist/chunks/NcSavingIndicatorIcon-BzKAIkhk.cjs.map +1 -1
  495. package/dist/chunks/{NcSelect-CNm4fmR6.mjs → NcSelect-CKgXIbQN.mjs} +5 -5
  496. package/dist/chunks/NcSelect-CKgXIbQN.mjs.map +1 -0
  497. package/dist/chunks/{NcSelect-DckQCxxX.cjs → NcSelect-CmV2Q0A0.cjs} +5 -5
  498. package/dist/chunks/NcSelect-CmV2Q0A0.cjs.map +1 -0
  499. package/dist/chunks/{NcSelectTags-nCqLANFH.mjs → NcSelectTags-BIha_vfa.mjs} +2 -23
  500. package/dist/chunks/NcSelectTags-BIha_vfa.mjs.map +1 -0
  501. package/dist/chunks/{NcSelectTags-CnkBJ3vP.cjs → NcSelectTags-eQRTXuQr.cjs} +2 -23
  502. package/dist/chunks/NcSelectTags-eQRTXuQr.cjs.map +1 -0
  503. package/dist/chunks/{NcSettingsInputText-Dd3wEwGy.cjs → NcSettingsInputText-Cdw4mTrp.cjs} +5 -5
  504. package/dist/chunks/NcSettingsInputText-Cdw4mTrp.cjs.map +1 -0
  505. package/dist/chunks/{NcSettingsInputText-D-S5LBmN.mjs → NcSettingsInputText-DDJdALzH.mjs} +5 -5
  506. package/dist/chunks/NcSettingsInputText-DDJdALzH.mjs.map +1 -0
  507. package/dist/chunks/{NcSettingsSection-B0-LmypW.mjs → NcSettingsSection-CFn4bRnA.mjs} +4 -4
  508. package/dist/chunks/NcSettingsSection-CFn4bRnA.mjs.map +1 -0
  509. package/dist/chunks/{NcSettingsSection-ayl3nvdL.cjs → NcSettingsSection-uZhZY4jp.cjs} +4 -4
  510. package/dist/chunks/NcSettingsSection-uZhZY4jp.cjs.map +1 -0
  511. package/dist/chunks/{NcSettingsSelectGroup-C51Km4wj.mjs → NcSettingsSelectGroup-BJIByip9.mjs} +6 -6
  512. package/dist/chunks/NcSettingsSelectGroup-BJIByip9.mjs.map +1 -0
  513. package/dist/chunks/{NcSettingsSelectGroup-Dc7oy0Jg.cjs → NcSettingsSelectGroup-fY7wG4iL.cjs} +6 -6
  514. package/dist/chunks/NcSettingsSelectGroup-fY7wG4iL.cjs.map +1 -0
  515. package/dist/chunks/{NcTextField-BmaDUUfq.mjs → NcTextField-CjEhJrIE.mjs} +2 -2
  516. package/dist/chunks/NcTextField-CjEhJrIE.mjs.map +1 -0
  517. package/dist/chunks/{NcTextField-BmOKGaQ4.cjs → NcTextField-DGywgzwv.cjs} +2 -2
  518. package/dist/chunks/NcTextField-DGywgzwv.cjs.map +1 -0
  519. package/dist/chunks/NcTimezonePicker-DLFrgfqk.cjs +184 -0
  520. package/dist/chunks/NcTimezonePicker-DLFrgfqk.cjs.map +1 -0
  521. package/dist/chunks/NcTimezonePicker-J8vQyRH8.mjs +185 -0
  522. package/dist/chunks/NcTimezonePicker-J8vQyRH8.mjs.map +1 -0
  523. package/dist/chunks/{NcUserBubble-BJp-ZBGW.mjs → NcUserBubble-C1ecV_fU.mjs} +4 -4
  524. package/dist/chunks/NcUserBubble-C1ecV_fU.mjs.map +1 -0
  525. package/dist/chunks/{NcUserBubble-BsQJPVXD.cjs → NcUserBubble-C4fdYO4b.cjs} +4 -4
  526. package/dist/chunks/NcUserBubble-C4fdYO4b.cjs.map +1 -0
  527. package/dist/chunks/{NcUserStatusIcon-Ba9ajMhK.cjs → NcUserStatusIcon-BqUz25xE.cjs} +9 -37
  528. package/dist/chunks/NcUserStatusIcon-BqUz25xE.cjs.map +1 -0
  529. package/dist/chunks/{NcUserStatusIcon-BkO1ZAdq.mjs → NcUserStatusIcon-DQyfBtYn.mjs} +9 -36
  530. package/dist/chunks/NcUserStatusIcon-DQyfBtYn.mjs.map +1 -0
  531. package/dist/chunks/ScopeComponent-00_hPc9T.mjs +13 -0
  532. package/dist/chunks/ScopeComponent-00_hPc9T.mjs.map +1 -0
  533. package/dist/chunks/ScopeComponent-ByTiGqjs.cjs +12 -0
  534. package/dist/chunks/ScopeComponent-ByTiGqjs.cjs.map +1 -0
  535. package/dist/chunks/_l10n-CWsOa8mM.cjs +125 -0
  536. package/dist/chunks/{_l10n-BYPqjHzt.cjs.map → _l10n-CWsOa8mM.cjs.map} +1 -1
  537. package/dist/chunks/_l10n-DDx8P-X1.mjs +126 -0
  538. package/dist/chunks/_l10n-DDx8P-X1.mjs.map +1 -0
  539. package/dist/chunks/actionGlobal-DqVa7c7G.mjs +25 -0
  540. package/dist/chunks/actionGlobal-DqVa7c7G.mjs.map +1 -0
  541. package/dist/chunks/actionGlobal-L0Ls8tPJ.cjs +24 -0
  542. package/dist/chunks/actionGlobal-L0Ls8tPJ.cjs.map +1 -0
  543. package/dist/chunks/{actionText-BnA6RS9I.cjs → actionText-BcrK4uH1.cjs} +1 -43
  544. package/dist/chunks/actionText-BcrK4uH1.cjs.map +1 -0
  545. package/dist/chunks/{actionText-BaGktsVf.mjs → actionText-fFcUPi2g.mjs} +1 -43
  546. package/dist/chunks/actionText-fFcUPi2g.mjs.map +1 -0
  547. package/dist/chunks/{autolink-Bgjz08wN.cjs → autolink-BAgL31EZ.cjs} +7 -24
  548. package/dist/chunks/autolink-BAgL31EZ.cjs.map +1 -0
  549. package/dist/chunks/{autolink-DA7VzS8Y.mjs → autolink-cbuFALXr.mjs} +7 -24
  550. package/dist/chunks/autolink-cbuFALXr.mjs.map +1 -0
  551. package/dist/chunks/{emoji-CWr00EYY.cjs → emoji-BCCCB3t3.cjs} +9 -30
  552. package/dist/chunks/emoji-BCCCB3t3.cjs.map +1 -0
  553. package/dist/chunks/{emoji-CbOkKZx5.mjs → emoji-V6ytyzoR.mjs} +9 -30
  554. package/dist/chunks/emoji-V6ytyzoR.mjs.map +1 -0
  555. package/dist/chunks/focusTrap-Cecv_gjR.mjs +7 -0
  556. package/dist/chunks/focusTrap-Cecv_gjR.mjs.map +1 -0
  557. package/dist/chunks/focusTrap-EeXFmjdI.cjs +6 -0
  558. package/dist/chunks/focusTrap-EeXFmjdI.cjs.map +1 -0
  559. package/dist/chunks/getAvatarUrl-6z9qRNH-.cjs +10 -0
  560. package/dist/chunks/getAvatarUrl-6z9qRNH-.cjs.map +1 -0
  561. package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs +11 -0
  562. package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs.map +1 -0
  563. package/dist/chunks/{index-Dl-SBuhJ.cjs → index-BANjku4q.cjs} +0 -21
  564. package/dist/chunks/index-BANjku4q.cjs.map +1 -0
  565. package/dist/chunks/index-BwyQ2N-M.mjs.map +1 -1
  566. package/dist/chunks/{index-DYccGIvD.mjs → index-CsogA-K5.mjs} +0 -21
  567. package/dist/chunks/index-CsogA-K5.mjs.map +1 -0
  568. package/dist/chunks/{index-BRQQ9NaL.mjs → index-DbA2OZyf.mjs} +4 -25
  569. package/dist/chunks/index-DbA2OZyf.mjs.map +1 -0
  570. package/dist/chunks/index-Dsgv-f-l.cjs.map +1 -1
  571. package/dist/chunks/{index-D0euettC.cjs → index-oIpl1nrk.cjs} +4 -25
  572. package/dist/chunks/index-oIpl1nrk.cjs.map +1 -0
  573. package/dist/chunks/referencePickerModal-Dab6KzWL.cjs +1115 -0
  574. package/dist/chunks/referencePickerModal-Dab6KzWL.cjs.map +1 -0
  575. package/dist/chunks/referencePickerModal-KbBRUf9r.mjs +1113 -0
  576. package/dist/chunks/referencePickerModal-KbBRUf9r.mjs.map +1 -0
  577. package/dist/chunks/usernameToColor-BzDTLedj.cjs +27 -0
  578. package/dist/chunks/usernameToColor-BzDTLedj.cjs.map +1 -0
  579. package/dist/chunks/usernameToColor-CB3rGdYw.mjs +26 -0
  580. package/dist/chunks/usernameToColor-CB3rGdYw.mjs.map +1 -0
  581. package/dist/components/NcCollectionList/service.d.ts +47 -0
  582. package/dist/composables/actions/useActionText.d.ts +14 -0
  583. package/dist/composables/useFormatDateTime.d.ts +6 -6
  584. package/dist/functions/a11y/index.d.ts +2 -19
  585. package/dist/functions/emoji/emoji.d.ts +23 -27
  586. package/dist/functions/emoji/index.d.ts +2 -19
  587. package/dist/functions/reference/widgets.d.ts +4 -0
  588. package/dist/index.cjs +63 -92
  589. package/dist/index.cjs.map +1 -1
  590. package/dist/index.mjs +65 -94
  591. package/dist/index.mjs.map +1 -1
  592. package/dist/utils/UserStatus.d.ts +2 -19
  593. package/dist/utils/getAvatarUrl.d.ts +2 -19
  594. package/dist/vendor.LICENSE.txt +4 -4
  595. package/package.json +11 -9
  596. package/LICENSE +0 -661
  597. package/dist/assets/NcActionButton-D08gPtwM.css +0 -139
  598. package/dist/assets/NcActionCaption-sfcjBZnu.css +0 -46
  599. package/dist/assets/NcActionCheckbox-DTlI7y7p.css +0 -110
  600. package/dist/assets/NcActionInput-B8l22cnm.css +0 -271
  601. package/dist/assets/NcActionLink-ufhOZDI9.css +0 -124
  602. package/dist/assets/NcActionRadio-syUIsm9B.css +0 -110
  603. package/dist/assets/NcActionRouter-BbTCI4sn.css +0 -135
  604. package/dist/assets/NcActionSeparator-CB59y4di.css +0 -38
  605. package/dist/assets/NcActionText-Ceh88fy8.css +0 -139
  606. package/dist/assets/NcActionTextEditable-BoxziChR.css +0 -287
  607. package/dist/assets/NcActions-N_Y6Nzew.css +0 -111
  608. package/dist/assets/NcAppContent-C08OMmgh.css +0 -153
  609. package/dist/assets/NcAppNavigation-DlFgsfe2.css +0 -131
  610. package/dist/assets/NcAppNavigationCaption-DnApJ5OW.css +0 -62
  611. package/dist/assets/NcAppNavigationIconBullet-B8q3pUL5.css +0 -44
  612. package/dist/assets/NcAppNavigationItem-OJEHVyVk.css +0 -235
  613. package/dist/assets/NcAppNavigationList-DnIxrbVX.css +0 -43
  614. package/dist/assets/NcAppNavigationNew-BPZ1O8Xm.css +0 -41
  615. package/dist/assets/NcAppNavigationSettings-BCkvRAy8.css +0 -93
  616. package/dist/assets/NcAppNavigationSpacer-Cb4q1zb5.css +0 -6
  617. package/dist/assets/NcAppNavigationToggle-0yhQ9xse.css +0 -41
  618. package/dist/assets/NcAppSettingsDialog-CajWZJNV.css +0 -88
  619. package/dist/assets/NcAppSettingsSection-BDvzWKkd.css +0 -44
  620. package/dist/assets/NcAppSidebarTab-CBFET-hQ.css +0 -48
  621. package/dist/assets/NcAvatar-C2EFGp-3.css +0 -143
  622. package/dist/assets/NcBreadcrumb-AES5eSWo.css +0 -82
  623. package/dist/assets/NcBreadcrumbs-tYrp1DVs.css +0 -51
  624. package/dist/assets/NcButton-DZS360ia.css +0 -204
  625. package/dist/assets/NcColorPicker-CzKZjMxY.css +0 -136
  626. package/dist/assets/NcContent-Cuv2HvFH.css +0 -110
  627. package/dist/assets/NcCounterBubble-CWi_P1Tb.css +0 -67
  628. package/dist/assets/NcDashboardWidget-CGOA8X60.css +0 -87
  629. package/dist/assets/NcDashboardWidgetItem-BevETFRF.css +0 -99
  630. package/dist/assets/NcDateTimePickerNative-CV_VuzvQ.css +0 -61
  631. package/dist/assets/NcDialog-DFMxsFp5.css +0 -160
  632. package/dist/assets/NcEllipsisedOption-ClDzkIX6.css +0 -48
  633. package/dist/assets/NcEmptyContent-BY1-Gge4.css +0 -79
  634. package/dist/assets/NcGuestContent-CeRLfUEi.css +0 -78
  635. package/dist/assets/NcHeaderMenu-N5y8yFGd.css +0 -91
  636. package/dist/assets/NcIconSvgWrapper-DF9sBD2g.css +0 -53
  637. package/dist/assets/NcInputConfirmCancel-UcHrm0al.css +0 -53
  638. package/dist/assets/NcListItem-DMYcn1cc.css +0 -170
  639. package/dist/assets/NcListItemIcon-CuPMgXoB.css +0 -78
  640. package/dist/assets/NcLoadingIcon-gxK0ujO0.css +0 -35
  641. package/dist/assets/NcMentionBubble-DmzU72Mw.css +0 -84
  642. package/dist/assets/NcModal-Cof88czY.css +0 -299
  643. package/dist/assets/NcNoteCard-e7-Bxio8.css +0 -64
  644. package/dist/assets/NcProgressBar-D5VftcJm.css +0 -70
  645. package/dist/assets/NcRelatedResourcesPanel-BrXxbjgR.css +0 -200
  646. package/dist/assets/NcRichText-Cdp_2wEm.css +0 -240
  647. package/dist/assets/NcSettingsInputText-CU65Coab.css +0 -49
  648. package/dist/assets/NcSettingsSection-TX28tYCG.css +0 -70
  649. package/dist/assets/NcSettingsSelectGroup-CPauLI-o.css +0 -37
  650. package/dist/assets/NcUserBubble-D5ieZC-f.css +0 -62
  651. package/dist/assets/NcUserStatusIcon-BcLArDqV.css +0 -44
  652. package/dist/assets/referencePickerModal-BaGbKZky.css +0 -539
  653. package/dist/chunks/GenColors-CAUl-IDP.cjs.map +0 -1
  654. package/dist/chunks/GenColors-DcjtQMk3.mjs.map +0 -1
  655. package/dist/chunks/GenRandomId-CXkjMlAT.mjs +0 -27
  656. package/dist/chunks/GenRandomId-CXkjMlAT.mjs.map +0 -1
  657. package/dist/chunks/GenRandomId-kBCcgMJd.cjs +0 -26
  658. package/dist/chunks/GenRandomId-kBCcgMJd.cjs.map +0 -1
  659. package/dist/chunks/Linkify-BBPJHBma.mjs +0 -35
  660. package/dist/chunks/Linkify-BBPJHBma.mjs.map +0 -1
  661. package/dist/chunks/Linkify-CIO279AG.cjs +0 -36
  662. package/dist/chunks/Linkify-CIO279AG.cjs.map +0 -1
  663. package/dist/chunks/NcActionButtonGroup-D650-6zv.mjs.map +0 -1
  664. package/dist/chunks/NcActionButtonGroup-D7hycpXY.cjs.map +0 -1
  665. package/dist/chunks/NcActionInput-BqG7gSLn.mjs.map +0 -1
  666. package/dist/chunks/NcActionInput-CHucaM0V.cjs.map +0 -1
  667. package/dist/chunks/NcActions-CocYka0Y.mjs.map +0 -1
  668. package/dist/chunks/NcActions-JX6wbAVA.cjs.map +0 -1
  669. package/dist/chunks/NcAppContent-CkO1Y93z.cjs.map +0 -1
  670. package/dist/chunks/NcAppContent-wlhVbyg0.mjs.map +0 -1
  671. package/dist/chunks/NcAppNavigation-BKiDVBw7.mjs.map +0 -1
  672. package/dist/chunks/NcAppNavigation-Du3J8BTm.cjs.map +0 -1
  673. package/dist/chunks/NcAppNavigationCaption-BoN0P7tD.cjs.map +0 -1
  674. package/dist/chunks/NcAppNavigationCaption-CKTQZ_u_.mjs.map +0 -1
  675. package/dist/chunks/NcAppNavigationItem-D_lh17am.cjs.map +0 -1
  676. package/dist/chunks/NcAppNavigationItem-qe8jnLow.mjs.map +0 -1
  677. package/dist/chunks/NcAppNavigationNewItem-B107Beoc.mjs.map +0 -1
  678. package/dist/chunks/NcAppNavigationNewItem-DyxVXE5t.cjs.map +0 -1
  679. package/dist/chunks/NcAppNavigationSettings-CmP_tXFm.cjs.map +0 -1
  680. package/dist/chunks/NcAppNavigationSettings-DZ1-Sbdz.mjs.map +0 -1
  681. package/dist/chunks/NcAppNavigationToggle-hmEUqxbP.cjs.map +0 -1
  682. package/dist/chunks/NcAppNavigationToggle-zCGgvNDT.mjs.map +0 -1
  683. package/dist/chunks/NcAppSettingsDialog-D9cNYQ8b.mjs.map +0 -1
  684. package/dist/chunks/NcAppSettingsDialog-YqNhco1P.cjs.map +0 -1
  685. package/dist/chunks/NcAppSidebar-CQWODfsy.mjs.map +0 -1
  686. package/dist/chunks/NcAppSidebar-J15zHyfq.cjs.map +0 -1
  687. package/dist/chunks/NcAvatar-CX3OX2C4.mjs.map +0 -1
  688. package/dist/chunks/NcAvatar-CYzikYku.cjs.map +0 -1
  689. package/dist/chunks/NcBreadcrumb-DytGDsr8.mjs.map +0 -1
  690. package/dist/chunks/NcBreadcrumb-jMJw2OQJ.cjs.map +0 -1
  691. package/dist/chunks/NcBreadcrumbs-BqFPBZ-h.mjs.map +0 -1
  692. package/dist/chunks/NcBreadcrumbs-CzObAKB-.cjs.map +0 -1
  693. package/dist/chunks/NcCheckboxRadioSwitch-CIHl8lnP.cjs.map +0 -1
  694. package/dist/chunks/NcCheckboxRadioSwitch-CpupDtee.mjs.map +0 -1
  695. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CAFQAKcK.mjs +0 -3
  696. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CAFQAKcK.mjs.map +0 -1
  697. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-D2wGnjg7.cjs +0 -4
  698. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-D2wGnjg7.cjs.map +0 -1
  699. package/dist/chunks/NcColorPicker-BEs2B-HB.mjs.map +0 -1
  700. package/dist/chunks/NcColorPicker-KrvDMhej.cjs.map +0 -1
  701. package/dist/chunks/NcContent-CcrNrpVC.mjs +0 -104
  702. package/dist/chunks/NcContent-CcrNrpVC.mjs.map +0 -1
  703. package/dist/chunks/NcContent-DChC6Khv.cjs +0 -103
  704. package/dist/chunks/NcContent-DChC6Khv.cjs.map +0 -1
  705. package/dist/chunks/NcDashboardWidget-BvNtltPU.cjs.map +0 -1
  706. package/dist/chunks/NcDashboardWidget-Da715DSB.mjs.map +0 -1
  707. package/dist/chunks/NcDashboardWidgetItem-BkJTg3kj.mjs.map +0 -1
  708. package/dist/chunks/NcDashboardWidgetItem-CKv_fb-1.cjs.map +0 -1
  709. package/dist/chunks/NcDateTime-CpJDGhl7.mjs.map +0 -1
  710. package/dist/chunks/NcDateTime-Cy5Bp0d2.cjs.map +0 -1
  711. package/dist/chunks/NcDialog-B3ZaXnpn.mjs.map +0 -1
  712. package/dist/chunks/NcDialog-C7KRNdTc.cjs.map +0 -1
  713. package/dist/chunks/NcDialogButton-BV3Kf9U7.mjs.map +0 -1
  714. package/dist/chunks/NcDialogButton-CLWLvwpm.cjs.map +0 -1
  715. package/dist/chunks/NcEmojiPicker-LFuZ15M5.cjs.map +0 -1
  716. package/dist/chunks/NcEmojiPicker-SqbRSwu2.mjs.map +0 -1
  717. package/dist/chunks/NcHeaderMenu-2n5GDt37.mjs.map +0 -1
  718. package/dist/chunks/NcHeaderMenu-830tFszI.cjs.map +0 -1
  719. package/dist/chunks/NcIconSvgWrapper-KWEbPRC9.mjs.map +0 -1
  720. package/dist/chunks/NcIconSvgWrapper-O61kZVNp.cjs.map +0 -1
  721. package/dist/chunks/NcInputConfirmCancel-CJ7nPGEd.cjs.map +0 -1
  722. package/dist/chunks/NcInputConfirmCancel-XXXgXoSw.mjs.map +0 -1
  723. package/dist/chunks/NcListItemIcon-44A7fm62.cjs.map +0 -1
  724. package/dist/chunks/NcListItemIcon-CTTJYWzN.mjs.map +0 -1
  725. package/dist/chunks/NcPasswordField-DN-kdAfl.cjs.map +0 -1
  726. package/dist/chunks/NcPasswordField-Z6BCKScy.mjs.map +0 -1
  727. package/dist/chunks/NcPopover-BS1bBSkg.cjs.map +0 -1
  728. package/dist/chunks/NcPopover-foxJPAfG.mjs.map +0 -1
  729. package/dist/chunks/NcProgressBar-BafFcKiu.mjs.map +0 -1
  730. package/dist/chunks/NcProgressBar-mFqoqB4L.cjs.map +0 -1
  731. package/dist/chunks/NcRelatedResourcesPanel-D3QlWSNc.mjs.map +0 -1
  732. package/dist/chunks/NcRelatedResourcesPanel-Dcm2wvfd.cjs.map +0 -1
  733. package/dist/chunks/NcRichContenteditable-BB-qsHEm.mjs.map +0 -1
  734. package/dist/chunks/NcRichContenteditable-DljQv8gw.cjs.map +0 -1
  735. package/dist/chunks/NcRichText-BDVKgmY5.cjs.map +0 -1
  736. package/dist/chunks/NcRichText-BT4VjvXi.mjs.map +0 -1
  737. package/dist/chunks/NcSelect-CNm4fmR6.mjs.map +0 -1
  738. package/dist/chunks/NcSelect-DckQCxxX.cjs.map +0 -1
  739. package/dist/chunks/NcSelectTags-CnkBJ3vP.cjs.map +0 -1
  740. package/dist/chunks/NcSelectTags-nCqLANFH.mjs.map +0 -1
  741. package/dist/chunks/NcSettingsInputText-D-S5LBmN.mjs.map +0 -1
  742. package/dist/chunks/NcSettingsInputText-Dd3wEwGy.cjs.map +0 -1
  743. package/dist/chunks/NcSettingsSection-B0-LmypW.mjs.map +0 -1
  744. package/dist/chunks/NcSettingsSection-ayl3nvdL.cjs.map +0 -1
  745. package/dist/chunks/NcSettingsSelectGroup-C51Km4wj.mjs.map +0 -1
  746. package/dist/chunks/NcSettingsSelectGroup-Dc7oy0Jg.cjs.map +0 -1
  747. package/dist/chunks/NcTextField-BmOKGaQ4.cjs.map +0 -1
  748. package/dist/chunks/NcTextField-BmaDUUfq.mjs.map +0 -1
  749. package/dist/chunks/NcTimezonePicker-BSgT2QA5.mjs +0 -4049
  750. package/dist/chunks/NcTimezonePicker-BSgT2QA5.mjs.map +0 -1
  751. package/dist/chunks/NcTimezonePicker-iD8mrVb_.cjs +0 -4048
  752. package/dist/chunks/NcTimezonePicker-iD8mrVb_.cjs.map +0 -1
  753. package/dist/chunks/NcUserBubble-BJp-ZBGW.mjs.map +0 -1
  754. package/dist/chunks/NcUserBubble-BsQJPVXD.cjs.map +0 -1
  755. package/dist/chunks/NcUserStatusIcon-Ba9ajMhK.cjs.map +0 -1
  756. package/dist/chunks/NcUserStatusIcon-BkO1ZAdq.mjs.map +0 -1
  757. package/dist/chunks/ScopeComponent-BpyBuaF3.cjs +0 -33
  758. package/dist/chunks/ScopeComponent-BpyBuaF3.cjs.map +0 -1
  759. package/dist/chunks/ScopeComponent-Dy6ublmy.mjs +0 -34
  760. package/dist/chunks/ScopeComponent-Dy6ublmy.mjs.map +0 -1
  761. package/dist/chunks/_l10n-BYPqjHzt.cjs +0 -121
  762. package/dist/chunks/_l10n-hRR5zBTZ.mjs +0 -122
  763. package/dist/chunks/_l10n-hRR5zBTZ.mjs.map +0 -1
  764. package/dist/chunks/actionGlobal-BfK-CImU.cjs +0 -45
  765. package/dist/chunks/actionGlobal-BfK-CImU.cjs.map +0 -1
  766. package/dist/chunks/actionGlobal-DV5ZiuS0.mjs +0 -46
  767. package/dist/chunks/actionGlobal-DV5ZiuS0.mjs.map +0 -1
  768. package/dist/chunks/actionText-BaGktsVf.mjs.map +0 -1
  769. package/dist/chunks/actionText-BnA6RS9I.cjs.map +0 -1
  770. package/dist/chunks/autolink-Bgjz08wN.cjs.map +0 -1
  771. package/dist/chunks/autolink-DA7VzS8Y.mjs.map +0 -1
  772. package/dist/chunks/emoji-CWr00EYY.cjs.map +0 -1
  773. package/dist/chunks/emoji-CbOkKZx5.mjs.map +0 -1
  774. package/dist/chunks/focusTrap-Dsmd28wG.cjs +0 -27
  775. package/dist/chunks/focusTrap-Dsmd28wG.cjs.map +0 -1
  776. package/dist/chunks/focusTrap-hWDNhn4t.mjs +0 -28
  777. package/dist/chunks/focusTrap-hWDNhn4t.mjs.map +0 -1
  778. package/dist/chunks/getAvatarUrl-BBvqBOJD.mjs +0 -32
  779. package/dist/chunks/getAvatarUrl-BBvqBOJD.mjs.map +0 -1
  780. package/dist/chunks/getAvatarUrl-C40xfr4C.cjs +0 -31
  781. package/dist/chunks/getAvatarUrl-C40xfr4C.cjs.map +0 -1
  782. package/dist/chunks/index-BRQQ9NaL.mjs.map +0 -1
  783. package/dist/chunks/index-D0euettC.cjs.map +0 -1
  784. package/dist/chunks/index-DYccGIvD.mjs.map +0 -1
  785. package/dist/chunks/index-Dl-SBuhJ.cjs.map +0 -1
  786. package/dist/chunks/logger-BcZGm6Un.cjs +0 -24
  787. package/dist/chunks/logger-BcZGm6Un.cjs.map +0 -1
  788. package/dist/chunks/logger-C7ZZ6zFQ.mjs +0 -25
  789. package/dist/chunks/logger-C7ZZ6zFQ.mjs.map +0 -1
  790. package/dist/chunks/referencePickerModal-CFPdv-m1.mjs +0 -3469
  791. package/dist/chunks/referencePickerModal-CFPdv-m1.mjs.map +0 -1
  792. package/dist/chunks/referencePickerModal-m0FcnvxK.cjs +0 -3471
  793. package/dist/chunks/referencePickerModal-m0FcnvxK.cjs.map +0 -1
  794. package/dist/chunks/usernameToColor-CLlyFMmy.mjs +0 -47
  795. package/dist/chunks/usernameToColor-CLlyFMmy.mjs.map +0 -1
  796. package/dist/chunks/usernameToColor-cfXKb46d.cjs +0 -48
  797. package/dist/chunks/usernameToColor-cfXKb46d.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_l10n-DDx8P-X1.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,25 @@
1
+ const ActionGlobalMixin = {
2
+ beforeUpdate() {
3
+ this.text = this.getText();
4
+ },
5
+ data() {
6
+ return {
7
+ // $slots are not reactive.
8
+ // We need to update the content manually
9
+ text: this.getText()
10
+ };
11
+ },
12
+ computed: {
13
+ isLongText() {
14
+ return this.text && this.text.trim().length > 20;
15
+ }
16
+ },
17
+ methods: {
18
+ getText() {
19
+ return this.$slots.default ? this.$slots.default[0].text.trim() : "";
20
+ }
21
+ }
22
+ };
23
+ export {
24
+ ActionGlobalMixin as A
25
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionGlobal-DqVa7c7G.mjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default ? this.$slots.default[0].text.trim() : ''\n\t\t},\n\t},\n}\n"],"names":[],"mappings":"AAKA,MAAe,oBAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAS;AAAA,EAC1B;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACpB;AAAA,EACD;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;AACT,aAAO,KAAK,OAAO,UAAU,KAAK,OAAO,QAAQ,CAAC,EAAE,KAAK,KAAM,IAAG;AAAA,IAClE;AAAA,EACD;AACF;"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ const ActionGlobalMixin = {
3
+ beforeUpdate() {
4
+ this.text = this.getText();
5
+ },
6
+ data() {
7
+ return {
8
+ // $slots are not reactive.
9
+ // We need to update the content manually
10
+ text: this.getText()
11
+ };
12
+ },
13
+ computed: {
14
+ isLongText() {
15
+ return this.text && this.text.trim().length > 20;
16
+ }
17
+ },
18
+ methods: {
19
+ getText() {
20
+ return this.$slots.default ? this.$slots.default[0].text.trim() : "";
21
+ }
22
+ }
23
+ };
24
+ exports.ActionGlobalMixin = ActionGlobalMixin;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionGlobal-L0Ls8tPJ.cjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default ? this.$slots.default[0].text.trim() : ''\n\t\t},\n\t},\n}\n"],"names":[],"mappings":";AAKA,MAAe,oBAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAS;AAAA,EAC1B;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACpB;AAAA,EACD;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;AACT,aAAO,KAAK,OAAO,UAAU,KAAK,OAAO,QAAQ,CAAC,EAAE,KAAK,KAAM,IAAG;AAAA,IAClE;AAAA,EACD;AACF;;"}
@@ -1,26 +1,5 @@
1
1
  "use strict";
2
- const actionGlobal = require("./actionGlobal-BfK-CImU.cjs");
3
- /**
4
- * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
5
- *
6
- * @author John Molakvoæ <skjnldsv@protonmail.com>
7
- *
8
- * @license AGPL-3.0-or-later
9
- *
10
- * This program is free software: you can redistribute it and/or modify
11
- * it under the terms of the GNU Affero General Public License as
12
- * published by the Free Software Foundation, either version 3 of the
13
- * License, or (at your option) any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU Affero General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU Affero General Public License
21
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
22
- *
23
- */
2
+ const actionGlobal = require("./actionGlobal-L0Ls8tPJ.cjs");
24
3
  const GetParent = function(context, name) {
25
4
  let parent = context.$parent;
26
5
  while (parent) {
@@ -30,27 +9,6 @@ const GetParent = function(context, name) {
30
9
  parent = parent.$parent;
31
10
  }
32
11
  };
33
- /**
34
- * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
35
- *
36
- * @author John Molakvoæ <skjnldsv@protonmail.com>
37
- *
38
- * @license AGPL-3.0-or-later
39
- *
40
- * This program is free software: you can redistribute it and/or modify
41
- * it under the terms of the GNU Affero General Public License as
42
- * published by the Free Software Foundation, either version 3 of the
43
- * License, or (at your option) any later version.
44
- *
45
- * This program is distributed in the hope that it will be useful,
46
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
47
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48
- * GNU Affero General Public License for more details.
49
- *
50
- * You should have received a copy of the GNU Affero General Public License
51
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
52
- *
53
- */
54
12
  const ActionTextMixin = {
55
13
  mixins: [actionGlobal.ActionGlobalMixin],
56
14
  props: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionText-BcrK4uH1.cjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Get the first parent component matching the provided name\n *\n * @param {object} context the context to search from (usually this)\n * @param {string} name the parent name\n * @return {object|undefined} the parent component\n */\nconst GetParent = function(context, name) {\n\tlet parent = context.$parent\n\twhile (parent) {\n\t\tif (parent.$options.name === name) {\n\t\t\treturn parent\n\t\t}\n\t\tparent = parent.$parent\n\t}\n}\n\nexport default GetParent\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport actionGlobal from './actionGlobal.js'\nimport GetParent from '../utils/GetParent.js'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n\t\t * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n\t\t * otherwise root element will inherit incorrect aria-hidden.\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tconst parent = GetParent(this, 'NcActions')\n\t\t\t\tif (parent && parent.closeMenu) {\n\t\t\t\t\tparent.closeMenu(false)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["actionGlobal"],"mappings":";;AAYA,MAAM,YAAY,SAAS,SAAS,MAAM;AACzC,MAAI,SAAS,QAAQ;AACrB,SAAO,QAAQ;AACd,QAAI,OAAO,SAAS,SAAS,MAAM;AAClC,aAAO;AAAA,IACP;AACD,aAAS,OAAO;AAAA,EAChB;AACF;ACZA,MAAe,kBAAA;AAAA,EACd,QAAQ,CAACA,aAAAA,iBAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,SAAQ,OAAO;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQ,OAAO;AAMd,WAAK,MAAM,SAAS,KAAK;AAEzB,UAAI,KAAK,iBAAiB;AACzB,cAAM,SAAS,UAAU,MAAM,WAAW;AAC1C,YAAI,UAAU,OAAO,WAAW;AAC/B,iBAAO,UAAU,KAAK;AAAA,QACtB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACF;;"}
@@ -1,25 +1,4 @@
1
- import { A as ActionGlobalMixin } from "./actionGlobal-DV5ZiuS0.mjs";
2
- /**
3
- * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
4
- *
5
- * @author John Molakvoæ <skjnldsv@protonmail.com>
6
- *
7
- * @license AGPL-3.0-or-later
8
- *
9
- * This program is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU Affero General Public License as
11
- * published by the Free Software Foundation, either version 3 of the
12
- * License, or (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU Affero General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
1
+ import { A as ActionGlobalMixin } from "./actionGlobal-DqVa7c7G.mjs";
23
2
  const GetParent = function(context, name) {
24
3
  let parent = context.$parent;
25
4
  while (parent) {
@@ -29,27 +8,6 @@ const GetParent = function(context, name) {
29
8
  parent = parent.$parent;
30
9
  }
31
10
  };
32
- /**
33
- * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
34
- *
35
- * @author John Molakvoæ <skjnldsv@protonmail.com>
36
- *
37
- * @license AGPL-3.0-or-later
38
- *
39
- * This program is free software: you can redistribute it and/or modify
40
- * it under the terms of the GNU Affero General Public License as
41
- * published by the Free Software Foundation, either version 3 of the
42
- * License, or (at your option) any later version.
43
- *
44
- * This program is distributed in the hope that it will be useful,
45
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
46
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47
- * GNU Affero General Public License for more details.
48
- *
49
- * You should have received a copy of the GNU Affero General Public License
50
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
51
- *
52
- */
53
11
  const ActionTextMixin = {
54
12
  mixins: [ActionGlobalMixin],
55
13
  props: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionText-fFcUPi2g.mjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Get the first parent component matching the provided name\n *\n * @param {object} context the context to search from (usually this)\n * @param {string} name the parent name\n * @return {object|undefined} the parent component\n */\nconst GetParent = function(context, name) {\n\tlet parent = context.$parent\n\twhile (parent) {\n\t\tif (parent.$options.name === name) {\n\t\t\treturn parent\n\t\t}\n\t\tparent = parent.$parent\n\t}\n}\n\nexport default GetParent\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport actionGlobal from './actionGlobal.js'\nimport GetParent from '../utils/GetParent.js'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n\t\t * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n\t\t * otherwise root element will inherit incorrect aria-hidden.\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tconst parent = GetParent(this, 'NcActions')\n\t\t\t\tif (parent && parent.closeMenu) {\n\t\t\t\t\tparent.closeMenu(false)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["actionGlobal"],"mappings":";AAYA,MAAM,YAAY,SAAS,SAAS,MAAM;AACzC,MAAI,SAAS,QAAQ;AACrB,SAAO,QAAQ;AACd,QAAI,OAAO,SAAS,SAAS,MAAM;AAClC,aAAO;AAAA,IACP;AACD,aAAS,OAAO;AAAA,EAChB;AACF;ACZA,MAAe,kBAAA;AAAA,EACd,QAAQ,CAACA,iBAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,SAAQ,OAAO;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQ,OAAO;AAMd,WAAK,MAAM,SAAS,KAAK;AAEzB,UAAI,KAAK,iBAAiB;AACzB,cAAM,SAAS,UAAU,MAAM,WAAW;AAC1C,YAAI,UAAU,OAAO,WAAW;AAC/B,iBAAO,UAAU,KAAK;AAAA,QACtB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACF;"}
@@ -4,30 +4,6 @@ const unistBuilder = require("unist-builder");
4
4
  const router = require("@nextcloud/router");
5
5
  const URL_PATTERN = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig;
6
6
  const URL_PATTERN_AUTOLINK = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
7
- /**
8
- * @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
9
- *
10
- * @author Julius Härtl <jus@bitgrid.net>
11
- * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
12
- * @author Maksim Sukharev <antreesy.web@gmail.com>
13
- * @author Grigorii K. Shartsev <me@shgk.me>
14
- *
15
- * @license AGPL-3.0-or-later
16
- *
17
- * This program is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU Affero General Public License as
19
- * published by the Free Software Foundation, either version 3 of the
20
- * License, or (at your option) any later version.
21
- *
22
- * This program is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU Affero General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU Affero General Public License
28
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
29
- *
30
- */
31
7
  const NcLink = {
32
8
  name: "NcLink",
33
9
  props: {
@@ -107,9 +83,16 @@ const getRoute = (router$1, url) => {
107
83
  return null;
108
84
  }
109
85
  const isAbsoluteURL = /^https?:\/\//.test(url);
86
+ const isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url);
87
+ if (!isAbsoluteURL && isNonHttpLink) {
88
+ return null;
89
+ }
110
90
  if (isAbsoluteURL && !url.startsWith(router.getBaseUrl())) {
111
91
  return null;
112
92
  }
93
+ if (!isAbsoluteURL && !url.startsWith("/")) {
94
+ return null;
95
+ }
113
96
  const relativeUrl = isAbsoluteURL ? removePrefixes(url, router.getBaseUrl(), "/index.php") : url;
114
97
  const relativeRouterBase = removePrefixes(router$1.history.base, router.getRootUrl(), "/index.php");
115
98
  const potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || "/";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autolink-BAgL31EZ.cjs","sources":["../../src/components/NcRichText/helpers.js","../../src/components/NcRichText/autolink.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Regex pattern to match links to be resolved by the link-reference provider\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig\n\n/**\n * Regex pattern to identify strings as links and then making them clickable\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport { visit, SKIP } from 'unist-util-visit'\nimport { u } from 'unist-builder'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\n\nconst NcLink = {\n\tname: 'NcLink',\n\tprops: {\n\t\thref: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\trender(h) {\n\t\treturn h('a', {\n\t\t\tattrs: {\n\t\t\t\thref: this.href,\n\t\t\t\trel: 'noopener noreferrer',\n\t\t\t\ttarget: '_blank',\n\t\t\t\tclass: 'rich-text--external-link',\n\t\t\t},\n\t\t}, [this.href.trim()])\n\t},\n}\n\nexport const remarkAutolink = function({ autolink, useMarkdown, useExtendedMarkdown }) {\n\treturn function(tree) {\n\t\t// remark-gfm has its own autolink parser which can not be disabled\n\t\t// and thus a local one is not needed\n\t\tif (useExtendedMarkdown || !useMarkdown || !autolink) {\n\t\t\treturn\n\t\t}\n\n\t\tvisit(tree, (node) => node.type === 'text', (node, index, parent) => {\n\t\t\tlet parsed = parseUrl(node.value)\n\t\t\tparsed = parsed.map((n) => {\n\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\treturn u('text', n)\n\t\t\t\t}\n\n\t\t\t\treturn u('link', {\n\t\t\t\t\turl: n.props.href,\n\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t}).filter((x) => x)\n\n\t\t\tparent.children.splice(index, 1, ...parsed.flat())\n\t\t\treturn [SKIP, index + parsed.flat().length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\tconst list = []\n\tlet start = 0\n\twhile (match !== null) {\n\t\tlet href = match[2]\n\t\tlet textAfter\n\t\tlet textBefore = text.substring(start, match.index + match[1].length)\n\t\tif (href[0] === ' ') {\n\t\t\ttextBefore += href[0]\n\t\t\thref = href.substring(1).trim()\n\t\t}\n\t\tconst lastChar = href[(href.length - 1)]\n\t\tif (lastChar === '.' || lastChar === ',' || lastChar === ';' || (match[0][0] === '(' && lastChar === ')')) {\n\t\t\thref = href.substring(0, href.length - 1)\n\t\t\ttextAfter = lastChar\n\t\t}\n\t\tlist.push(textBefore)\n\t\tlist.push({ component: NcLink, props: { href } })\n\t\tif (textAfter) {\n\t\t\tlist.push(textAfter)\n\t\t}\n\t\tstart = match.index + match[0].length\n\t\tmatch = URL_PATTERN_AUTOLINK.exec(text)\n\t}\n\tlist.push(text.substring(start))\n\tconst joinedText = list.map((item) => typeof item === 'string' ? item : item.props.href).join('')\n\tif (text === joinedText) {\n\t\treturn list\n\t}\n\tconsole.error('Failed to reassemble the chunked text: ' + text)\n\treturn text\n}\n\n/**\n * Try to get path for router link from an absolute or relative URL.\n *\n * @param {import('vue-router').default} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be used in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router, url) => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php /apps/files /favorites?fileid=2#fragment\n\t * |_____origin____|___________router-base____________| |\n\t * |__________base____________| |______________relative-url______________|\n\t * | |___root___|_optional_|__app-base__|_________router-path_______|\n\t */\n\n\tconst removePrefix = (str, prefix) => str.startsWith(prefix) ? str.slice(prefix.length) : str\n\tconst removePrefixes = (str, ...prefixes) => prefixes.reduce((acc, prefix) => removePrefix(acc, prefix), str)\n\n\t// Router is not defined in the app => not an app route\n\tif (!router) {\n\t\treturn null\n\t}\n\n\tconst isAbsoluteURL = /^https?:\\/\\//.test(url)\n\n\t// URL is a \"mailto:\", \"tel:\" or any custom app protocol link\n\tconst isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url)\n\tif (!isAbsoluteURL && isNonHttpLink) {\n\t\treturn null\n\t}\n\n\t// URL is not a link to this Nextcloud server instance => not an app route\n\tif (isAbsoluteURL && !url.startsWith(getBaseUrl())) {\n\t\treturn null\n\t}\n\n\tif (!isAbsoluteURL && !url.startsWith('/')) {\n\t\t// Relative URL without a leading slash are not allowed\n\t\t// VueRouter handles such urls according to the URL RFC,\n\t\t// for example, being on /call/abc page, link \"def\" is resolved as \"/call/def\" relative to \"/call/\".\n\t\t// We don't want to support such links,\n\t\t// so relative URL MUST start with a slash.\n\t\treturn null\n\t}\n\n\t// URL relative to the instance root\n\tconst relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), '/index.php') : url\n\n\t// Router base relative to the instance root (app-base above)\n\tconst relativeRouterBase = removePrefixes(router.history.base, getRootUrl(), '/index.php')\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(potentialRouterPath).route\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":["visit","u","SKIP","router","getBaseUrl","getRootUrl"],"mappings":";;;;AAUY,MAAC,cAAc;AAOpB,MAAM,uBAAuB;ACNpC,MAAM,SAAS;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,OAAO,GAAG;AACT,WAAO,EAAE,KAAK;AAAA,MACb,OAAO;AAAA,QACN,MAAM,KAAK;AAAA,QACX,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,OAAO;AAAA,MACP;AAAA,IACD,GAAE,CAAC,KAAK,KAAK,KAAM,CAAA,CAAC;AAAA,EACrB;AACF;AAEY,MAAC,iBAAiB,SAAS,EAAE,UAAU,aAAa,oBAAmB,GAAI;AACtF,SAAO,SAAS,MAAM;AAGrB,QAAI,uBAAuB,CAAC,eAAe,CAAC,UAAU;AACrD;AAAA,IACA;AAEDA,yBAAM,MAAM,CAAC,SAAS,KAAK,SAAS,QAAQ,CAAC,MAAM,OAAO,WAAW;AACpE,UAAI,SAAS,SAAS,KAAK,KAAK;AAChC,eAAS,OAAO,IAAI,CAAC,MAAM;AAC1B,YAAI,OAAO,MAAM,UAAU;AAC1B,iBAAOC,aAAC,EAAC,QAAQ,CAAC;AAAA,QAClB;AAED,eAAOA,aAAAA,EAAE,QAAQ;AAAA,UAChB,KAAK,EAAE,MAAM;AAAA,QAClB,GAAO,CAACA,aAAC,EAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,CAAC;AAAA,MAC5B,CAAA,EAAE,OAAO,CAAC,MAAM,CAAC;AAElB,aAAO,SAAS,OAAO,OAAO,GAAG,GAAG,OAAO,MAAM;AACjD,aAAO,CAACC,eAAI,MAAE,QAAQ,OAAO,KAAI,EAAG,MAAM;AAAA,IAC7C,CAAG;AAAA,EACD;AACF;AAEY,MAAC,WAAW,CAAC,SAAS;AACjC,MAAI,QAAQ,qBAAqB,KAAK,IAAI;AAC1C,QAAM,OAAO,CAAE;AACf,MAAI,QAAQ;AACZ,SAAO,UAAU,MAAM;AACtB,QAAI,OAAO,MAAM,CAAC;AAClB,QAAI;AACJ,QAAI,aAAa,KAAK,UAAU,OAAO,MAAM,QAAQ,MAAM,CAAC,EAAE,MAAM;AACpE,QAAI,KAAK,CAAC,MAAM,KAAK;AACpB,oBAAc,KAAK,CAAC;AACpB,aAAO,KAAK,UAAU,CAAC,EAAE,KAAM;AAAA,IAC/B;AACD,UAAM,WAAW,KAAM,KAAK,SAAS,CAAG;AACxC,QAAI,aAAa,OAAO,aAAa,OAAO,aAAa,OAAQ,MAAM,CAAC,EAAE,CAAC,MAAM,OAAO,aAAa,KAAM;AAC1G,aAAO,KAAK,UAAU,GAAG,KAAK,SAAS,CAAC;AACxC,kBAAY;AAAA,IACZ;AACD,SAAK,KAAK,UAAU;AACpB,SAAK,KAAK,EAAE,WAAW,QAAQ,OAAO,EAAE,KAAI,GAAI;AAChD,QAAI,WAAW;AACd,WAAK,KAAK,SAAS;AAAA,IACnB;AACD,YAAQ,MAAM,QAAQ,MAAM,CAAC,EAAE;AAC/B,YAAQ,qBAAqB,KAAK,IAAI;AAAA,EACtC;AACD,OAAK,KAAK,KAAK,UAAU,KAAK,CAAC;AAC/B,QAAM,aAAa,KAAK,IAAI,CAAC,SAAS,OAAO,SAAS,WAAW,OAAO,KAAK,MAAM,IAAI,EAAE,KAAK,EAAE;AAChG,MAAI,SAAS,YAAY;AACxB,WAAO;AAAA,EACP;AACD,UAAQ,MAAM,4CAA4C,IAAI;AAC9D,SAAO;AACR;AAUY,MAAC,WAAW,CAACC,UAAQ,QAAQ;AAQxC,QAAM,eAAe,CAAC,KAAK,WAAW,IAAI,WAAW,MAAM,IAAI,IAAI,MAAM,OAAO,MAAM,IAAI;AAC1F,QAAM,iBAAiB,CAAC,QAAQ,aAAa,SAAS,OAAO,CAAC,KAAK,WAAW,aAAa,KAAK,MAAM,GAAG,GAAG;AAG5G,MAAI,CAACA,UAAQ;AACZ,WAAO;AAAA,EACP;AAED,QAAM,gBAAgB,eAAe,KAAK,GAAG;AAG7C,QAAM,gBAAgB,wBAAwB,KAAK,GAAG;AACtD,MAAI,CAAC,iBAAiB,eAAe;AACpC,WAAO;AAAA,EACP;AAGD,MAAI,iBAAiB,CAAC,IAAI,WAAWC,OAAAA,WAAY,CAAA,GAAG;AACnD,WAAO;AAAA,EACP;AAED,MAAI,CAAC,iBAAiB,CAAC,IAAI,WAAW,GAAG,GAAG;AAM3C,WAAO;AAAA,EACP;AAGD,QAAM,cAAc,gBAAgB,eAAe,KAAKA,kBAAY,GAAE,YAAY,IAAI;AAGtF,QAAM,qBAAqB,eAAeD,SAAO,QAAQ,MAAME,OAAAA,WAAY,GAAE,YAAY;AAGzF,QAAM,sBAAsB,eAAe,aAAa,kBAAkB,KAAK;AAG/E,QAAM,QAAQF,SAAO,QAAQ,mBAAmB,EAAE;AAElD,MAAI,CAAC,MAAM,QAAQ,QAAQ;AAC1B,WAAO;AAAA,EACP;AAED,SAAO,MAAM;AACd;;;;;"}
@@ -3,30 +3,6 @@ import { u } from "unist-builder";
3
3
  import { getBaseUrl, getRootUrl } from "@nextcloud/router";
4
4
  const URL_PATTERN = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig;
5
5
  const URL_PATTERN_AUTOLINK = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
6
- /**
7
- * @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
8
- *
9
- * @author Julius Härtl <jus@bitgrid.net>
10
- * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
11
- * @author Maksim Sukharev <antreesy.web@gmail.com>
12
- * @author Grigorii K. Shartsev <me@shgk.me>
13
- *
14
- * @license AGPL-3.0-or-later
15
- *
16
- * This program is free software: you can redistribute it and/or modify
17
- * it under the terms of the GNU Affero General Public License as
18
- * published by the Free Software Foundation, either version 3 of the
19
- * License, or (at your option) any later version.
20
- *
21
- * This program is distributed in the hope that it will be useful,
22
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
- * GNU Affero General Public License for more details.
25
- *
26
- * You should have received a copy of the GNU Affero General Public License
27
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
28
- *
29
- */
30
6
  const NcLink = {
31
7
  name: "NcLink",
32
8
  props: {
@@ -106,9 +82,16 @@ const getRoute = (router, url) => {
106
82
  return null;
107
83
  }
108
84
  const isAbsoluteURL = /^https?:\/\//.test(url);
85
+ const isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url);
86
+ if (!isAbsoluteURL && isNonHttpLink) {
87
+ return null;
88
+ }
109
89
  if (isAbsoluteURL && !url.startsWith(getBaseUrl())) {
110
90
  return null;
111
91
  }
92
+ if (!isAbsoluteURL && !url.startsWith("/")) {
93
+ return null;
94
+ }
112
95
  const relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), "/index.php") : url;
113
96
  const relativeRouterBase = removePrefixes(router.history.base, getRootUrl(), "/index.php");
114
97
  const potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || "/";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autolink-cbuFALXr.mjs","sources":["../../src/components/NcRichText/helpers.js","../../src/components/NcRichText/autolink.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Regex pattern to match links to be resolved by the link-reference provider\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig\n\n/**\n * Regex pattern to identify strings as links and then making them clickable\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport { visit, SKIP } from 'unist-util-visit'\nimport { u } from 'unist-builder'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\n\nconst NcLink = {\n\tname: 'NcLink',\n\tprops: {\n\t\thref: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\trender(h) {\n\t\treturn h('a', {\n\t\t\tattrs: {\n\t\t\t\thref: this.href,\n\t\t\t\trel: 'noopener noreferrer',\n\t\t\t\ttarget: '_blank',\n\t\t\t\tclass: 'rich-text--external-link',\n\t\t\t},\n\t\t}, [this.href.trim()])\n\t},\n}\n\nexport const remarkAutolink = function({ autolink, useMarkdown, useExtendedMarkdown }) {\n\treturn function(tree) {\n\t\t// remark-gfm has its own autolink parser which can not be disabled\n\t\t// and thus a local one is not needed\n\t\tif (useExtendedMarkdown || !useMarkdown || !autolink) {\n\t\t\treturn\n\t\t}\n\n\t\tvisit(tree, (node) => node.type === 'text', (node, index, parent) => {\n\t\t\tlet parsed = parseUrl(node.value)\n\t\t\tparsed = parsed.map((n) => {\n\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\treturn u('text', n)\n\t\t\t\t}\n\n\t\t\t\treturn u('link', {\n\t\t\t\t\turl: n.props.href,\n\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t}).filter((x) => x)\n\n\t\t\tparent.children.splice(index, 1, ...parsed.flat())\n\t\t\treturn [SKIP, index + parsed.flat().length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\tconst list = []\n\tlet start = 0\n\twhile (match !== null) {\n\t\tlet href = match[2]\n\t\tlet textAfter\n\t\tlet textBefore = text.substring(start, match.index + match[1].length)\n\t\tif (href[0] === ' ') {\n\t\t\ttextBefore += href[0]\n\t\t\thref = href.substring(1).trim()\n\t\t}\n\t\tconst lastChar = href[(href.length - 1)]\n\t\tif (lastChar === '.' || lastChar === ',' || lastChar === ';' || (match[0][0] === '(' && lastChar === ')')) {\n\t\t\thref = href.substring(0, href.length - 1)\n\t\t\ttextAfter = lastChar\n\t\t}\n\t\tlist.push(textBefore)\n\t\tlist.push({ component: NcLink, props: { href } })\n\t\tif (textAfter) {\n\t\t\tlist.push(textAfter)\n\t\t}\n\t\tstart = match.index + match[0].length\n\t\tmatch = URL_PATTERN_AUTOLINK.exec(text)\n\t}\n\tlist.push(text.substring(start))\n\tconst joinedText = list.map((item) => typeof item === 'string' ? item : item.props.href).join('')\n\tif (text === joinedText) {\n\t\treturn list\n\t}\n\tconsole.error('Failed to reassemble the chunked text: ' + text)\n\treturn text\n}\n\n/**\n * Try to get path for router link from an absolute or relative URL.\n *\n * @param {import('vue-router').default} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be used in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router, url) => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php /apps/files /favorites?fileid=2#fragment\n\t * |_____origin____|___________router-base____________| |\n\t * |__________base____________| |______________relative-url______________|\n\t * | |___root___|_optional_|__app-base__|_________router-path_______|\n\t */\n\n\tconst removePrefix = (str, prefix) => str.startsWith(prefix) ? str.slice(prefix.length) : str\n\tconst removePrefixes = (str, ...prefixes) => prefixes.reduce((acc, prefix) => removePrefix(acc, prefix), str)\n\n\t// Router is not defined in the app => not an app route\n\tif (!router) {\n\t\treturn null\n\t}\n\n\tconst isAbsoluteURL = /^https?:\\/\\//.test(url)\n\n\t// URL is a \"mailto:\", \"tel:\" or any custom app protocol link\n\tconst isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url)\n\tif (!isAbsoluteURL && isNonHttpLink) {\n\t\treturn null\n\t}\n\n\t// URL is not a link to this Nextcloud server instance => not an app route\n\tif (isAbsoluteURL && !url.startsWith(getBaseUrl())) {\n\t\treturn null\n\t}\n\n\tif (!isAbsoluteURL && !url.startsWith('/')) {\n\t\t// Relative URL without a leading slash are not allowed\n\t\t// VueRouter handles such urls according to the URL RFC,\n\t\t// for example, being on /call/abc page, link \"def\" is resolved as \"/call/def\" relative to \"/call/\".\n\t\t// We don't want to support such links,\n\t\t// so relative URL MUST start with a slash.\n\t\treturn null\n\t}\n\n\t// URL relative to the instance root\n\tconst relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), '/index.php') : url\n\n\t// Router base relative to the instance root (app-base above)\n\tconst relativeRouterBase = removePrefixes(router.history.base, getRootUrl(), '/index.php')\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(potentialRouterPath).route\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":[],"mappings":"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"}
@@ -4,27 +4,6 @@ const emojiMartVueFast = require("emoji-mart-vue-fast");
4
4
  const data = require("emoji-mart-vue-fast/data/all.json");
5
5
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
6
6
  const data__default = /* @__PURE__ */ _interopDefault(data);
7
- /**
8
- * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>
9
- *
10
- * @author Jonas Meurer <jonas@freesources.org>
11
- *
12
- * @license AGPL-3.0-or-later
13
- *
14
- * This program is free software: you can redistribute it and/or modify
15
- * it under the terms of the GNU Affero General Public License as
16
- * published by the Free Software Foundation, either version 3 of the
17
- * License, or (at your option) any later version.
18
- *
19
- * This program is distributed in the hope that it will be useful,
20
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
- * GNU Affero General Public License for more details.
23
- *
24
- * You should have received a copy of the GNU Affero General Public License
25
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
26
- *
27
- */
28
7
  const storage = browserStorage.getBuilder("nextcloud-vue").persist(true).build();
29
8
  let emojiIndex;
30
9
  var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
@@ -36,7 +15,7 @@ var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
36
15
  EmojiSkinTone2[EmojiSkinTone2["Dark"] = 6] = "Dark";
37
16
  return EmojiSkinTone2;
38
17
  })(EmojiSkinTone || {});
39
- const emojiSearch = (query, maxResults = 10) => {
18
+ function emojiSearch(query, maxResults = 10) {
40
19
  if (!emojiIndex) {
41
20
  emojiIndex = new emojiMartVueFast.EmojiIndex(data__default.default);
42
21
  }
@@ -51,11 +30,11 @@ const emojiSearch = (query, maxResults = 10) => {
51
30
  results = emojiMartVueFast.frequently.get(maxResults).map((id) => emojiIndex.emoji(id)) || [];
52
31
  }
53
32
  return results.map((emoji) => emoji.getSkin(currentSkinTone));
54
- };
55
- const emojiAddRecent = function(id) {
56
- emojiMartVueFast.frequently.add(id);
57
- };
58
- const getCurrentSkinTone = () => {
33
+ }
34
+ function emojiAddRecent(emojiData) {
35
+ emojiMartVueFast.frequently.add(emojiData);
36
+ }
37
+ function getCurrentSkinTone() {
59
38
  var _a;
60
39
  const skinTone = Number.parseInt((_a = storage.getItem("NcEmojiPicker::currentSkinTone")) != null ? _a : "1");
61
40
  return Math.min(
@@ -67,8 +46,8 @@ const getCurrentSkinTone = () => {
67
46
  6
68
47
  /* Dark */
69
48
  );
70
- };
71
- const setCurrentSkinTone = (skinTone) => {
49
+ }
50
+ function setCurrentSkinTone(skinTone) {
72
51
  skinTone = Math.min(
73
52
  Math.max(
74
53
  skinTone,
@@ -79,7 +58,7 @@ const setCurrentSkinTone = (skinTone) => {
79
58
  /* Dark */
80
59
  );
81
60
  storage.setItem("NcEmojiPicker::currentSkinTone", skinTone.toString());
82
- };
61
+ }
83
62
  exports.EmojiSkinTone = EmojiSkinTone;
84
63
  exports.emojiAddRecent = emojiAddRecent;
85
64
  exports.emojiSearch = emojiSearch;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emoji-BCCCB3t3.cjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n// Shared emoji index and skinTone for all emojiSearch function calls\n// Will be initialized on the first call\nlet emojiIndex\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * Get the list of emojis by search filter or the list of frequently used emojis\n *\n * @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned\n * @param maxResults Maximum of returned emojis\n * @return {object[]} list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex\n */\nexport function emojiSearch(query: string, maxResults: number = 10): object[] {\n\t// If this is the first call of function - initialize EmojiIndex\n\tif (!emojiIndex) {\n\t\temojiIndex = new EmojiIndex(data)\n\t}\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = emojiIndex.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(emojiIndex.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => emojiIndex.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\n/**\n * Add emoji to the list of recent emojis.\n * This list can be got from emojiSearch function and it is used in NcEmojiPicker.\n *\n * @param emojiData object with `id` property\n * @param emojiData.id the emoji ID from emoji index\n */\nexport function emojiAddRecent(emojiData: { id: string }): void {\n\tfrequently.add(emojiData)\n}\n\n/**\n * Get the current skin tone index used for emojis\n *\n * @return {EmojiSkinTone} The skin tone\n */\nexport function getCurrentSkinTone(): EmojiSkinTone {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n *\n * @param skinTone Skin tone\n */\nexport function setCurrentSkinTone(skinTone: EmojiSkinTone): void {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["getBuilder","EmojiSkinTone","EmojiIndex","data","frequently"],"mappings":";;;;;;AAUA,MAAM,UAAUA,eAAW,WAAA,eAAe,EAAE,QAAQ,IAAI,EAAE;AAI1D,IAAI;AAMQ,IAAA,kCAAAC,mBAAL;AACNA,iBAAAA,eAAA,aAAU,CAAV,IAAA;AACAA,iBAAAA,eAAA,WAAQ,CAAR,IAAA;AACAA,iBAAAA,eAAA,iBAAc,CAAd,IAAA;AACAA,iBAAAA,eAAA,YAAS,CAAT,IAAA;AACAA,iBAAAA,eAAA,gBAAa,CAAb,IAAA;AACAA,iBAAAA,eAAA,UAAO,CAAP,IAAA;AANWA,SAAAA;AAAA,GAAA,iBAAA,CAAA,CAAA;AAgBI,SAAA,YAAY,OAAe,aAAqB,IAAc;AAE7E,MAAI,CAAC,YAAY;AACH,iBAAA,IAAIC,4BAAWC,cAAAA,OAAI;AAAA,EACjC;AACA,QAAM,kBAAkB;AAEpB,MAAA;AACJ,MAAI,OAAO;AACV,cAAU,WAAW,OAAO,IAAI,OAAA,KAAA,GAAS,UAAU;AAC/C,QAAA,QAAQ,SAAS,YAAY;AACtB,gBAAA,QAAQ,OAAO,WAAW,OAAO,OAAO,aAAa,QAAQ,MAAM,CAAC;AAAA,IAC/E;AAAA,EAAA,OACM;AACN,cAAUC,iBAAW,WAAA,IAAI,UAAU,EAAE,IAAI,CAAC,OAAe,WAAW,MAAM,EAAE,CAAC,KAAK,CAAA;AAAA,EACnF;AAEA,SAAO,QAAQ,IAAI,CAAC,UAAU,MAAM,QAAQ,eAAe,CAAC;AAC7D;AASO,SAAS,eAAe,WAAiC;AAC/DA,8BAAW,IAAI,SAAS;AACzB;AAOO,SAAS,qBAAoC;AAxEpD,MAAA;AAyEO,QAAA,WAAW,OAAO,UAAS,KAAA,QAAQ,QAAQ,gCAAgC,MAAhD,YAAqD,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA;AAC5D;AAOO,SAAS,mBAAmB,UAA+B;AAEjE,aAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA;AAC/D,UAAQ,QAAQ,kCAAkC,SAAS,SAAU,CAAA;AACtE;;;;;;"}
@@ -1,27 +1,6 @@
1
1
  import { getBuilder } from "@nextcloud/browser-storage";
2
2
  import { EmojiIndex, frequently } from "emoji-mart-vue-fast";
3
3
  import data from "emoji-mart-vue-fast/data/all.json";
4
- /**
5
- * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>
6
- *
7
- * @author Jonas Meurer <jonas@freesources.org>
8
- *
9
- * @license AGPL-3.0-or-later
10
- *
11
- * This program is free software: you can redistribute it and/or modify
12
- * it under the terms of the GNU Affero General Public License as
13
- * published by the Free Software Foundation, either version 3 of the
14
- * License, or (at your option) any later version.
15
- *
16
- * This program is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU Affero General Public License for more details.
20
- *
21
- * You should have received a copy of the GNU Affero General Public License
22
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
- *
24
- */
25
4
  const storage = getBuilder("nextcloud-vue").persist(true).build();
26
5
  let emojiIndex;
27
6
  var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
@@ -33,7 +12,7 @@ var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
33
12
  EmojiSkinTone2[EmojiSkinTone2["Dark"] = 6] = "Dark";
34
13
  return EmojiSkinTone2;
35
14
  })(EmojiSkinTone || {});
36
- const emojiSearch = (query, maxResults = 10) => {
15
+ function emojiSearch(query, maxResults = 10) {
37
16
  if (!emojiIndex) {
38
17
  emojiIndex = new EmojiIndex(data);
39
18
  }
@@ -48,11 +27,11 @@ const emojiSearch = (query, maxResults = 10) => {
48
27
  results = frequently.get(maxResults).map((id) => emojiIndex.emoji(id)) || [];
49
28
  }
50
29
  return results.map((emoji) => emoji.getSkin(currentSkinTone));
51
- };
52
- const emojiAddRecent = function(id) {
53
- frequently.add(id);
54
- };
55
- const getCurrentSkinTone = () => {
30
+ }
31
+ function emojiAddRecent(emojiData) {
32
+ frequently.add(emojiData);
33
+ }
34
+ function getCurrentSkinTone() {
56
35
  var _a;
57
36
  const skinTone = Number.parseInt((_a = storage.getItem("NcEmojiPicker::currentSkinTone")) != null ? _a : "1");
58
37
  return Math.min(
@@ -64,8 +43,8 @@ const getCurrentSkinTone = () => {
64
43
  6
65
44
  /* Dark */
66
45
  );
67
- };
68
- const setCurrentSkinTone = (skinTone) => {
46
+ }
47
+ function setCurrentSkinTone(skinTone) {
69
48
  skinTone = Math.min(
70
49
  Math.max(
71
50
  skinTone,
@@ -76,7 +55,7 @@ const setCurrentSkinTone = (skinTone) => {
76
55
  /* Dark */
77
56
  );
78
57
  storage.setItem("NcEmojiPicker::currentSkinTone", skinTone.toString());
79
- };
58
+ }
80
59
  export {
81
60
  EmojiSkinTone as E,
82
61
  emojiAddRecent as a,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emoji-V6ytyzoR.mjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n// Shared emoji index and skinTone for all emojiSearch function calls\n// Will be initialized on the first call\nlet emojiIndex\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * Get the list of emojis by search filter or the list of frequently used emojis\n *\n * @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned\n * @param maxResults Maximum of returned emojis\n * @return {object[]} list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex\n */\nexport function emojiSearch(query: string, maxResults: number = 10): object[] {\n\t// If this is the first call of function - initialize EmojiIndex\n\tif (!emojiIndex) {\n\t\temojiIndex = new EmojiIndex(data)\n\t}\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = emojiIndex.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(emojiIndex.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => emojiIndex.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\n/**\n * Add emoji to the list of recent emojis.\n * This list can be got from emojiSearch function and it is used in NcEmojiPicker.\n *\n * @param emojiData object with `id` property\n * @param emojiData.id the emoji ID from emoji index\n */\nexport function emojiAddRecent(emojiData: { id: string }): void {\n\tfrequently.add(emojiData)\n}\n\n/**\n * Get the current skin tone index used for emojis\n *\n * @return {EmojiSkinTone} The skin tone\n */\nexport function getCurrentSkinTone(): EmojiSkinTone {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n *\n * @param skinTone Skin tone\n */\nexport function setCurrentSkinTone(skinTone: EmojiSkinTone): void {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["EmojiSkinTone"],"mappings":";;;AAUA,MAAM,UAAU,WAAW,eAAe,EAAE,QAAQ,IAAI,EAAE;AAI1D,IAAI;AAMQ,IAAA,kCAAAA,mBAAL;AACNA,iBAAAA,eAAA,aAAU,CAAV,IAAA;AACAA,iBAAAA,eAAA,WAAQ,CAAR,IAAA;AACAA,iBAAAA,eAAA,iBAAc,CAAd,IAAA;AACAA,iBAAAA,eAAA,YAAS,CAAT,IAAA;AACAA,iBAAAA,eAAA,gBAAa,CAAb,IAAA;AACAA,iBAAAA,eAAA,UAAO,CAAP,IAAA;AANWA,SAAAA;AAAA,GAAA,iBAAA,CAAA,CAAA;AAgBI,SAAA,YAAY,OAAe,aAAqB,IAAc;AAE7E,MAAI,CAAC,YAAY;AACH,iBAAA,IAAI,WAAW,IAAI;AAAA,EACjC;AACA,QAAM,kBAAkB;AAEpB,MAAA;AACJ,MAAI,OAAO;AACV,cAAU,WAAW,OAAO,IAAI,OAAA,KAAA,GAAS,UAAU;AAC/C,QAAA,QAAQ,SAAS,YAAY;AACtB,gBAAA,QAAQ,OAAO,WAAW,OAAO,OAAO,aAAa,QAAQ,MAAM,CAAC;AAAA,IAC/E;AAAA,EAAA,OACM;AACN,cAAU,WAAW,IAAI,UAAU,EAAE,IAAI,CAAC,OAAe,WAAW,MAAM,EAAE,CAAC,KAAK,CAAA;AAAA,EACnF;AAEA,SAAO,QAAQ,IAAI,CAAC,UAAU,MAAM,QAAQ,eAAe,CAAC;AAC7D;AASO,SAAS,eAAe,WAAiC;AAC/D,aAAW,IAAI,SAAS;AACzB;AAOO,SAAS,qBAAoC;AAxEpD,MAAA;AAyEO,QAAA,WAAW,OAAO,UAAS,KAAA,QAAQ,QAAQ,gCAAgC,MAAhD,YAAqD,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA;AAC5D;AAOO,SAAS,mBAAmB,UAA+B;AAEjE,aAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA;AAC/D,UAAQ,QAAQ,kCAAkC,SAAS,SAAU,CAAA;AACtE;"}
@@ -0,0 +1,7 @@
1
+ const getTrapStack = function() {
2
+ Object.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] });
3
+ return window._nc_focus_trap;
4
+ };
5
+ export {
6
+ getTrapStack as g
7
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focusTrap-Cecv_gjR.mjs","sources":["../../src/utils/focusTrap.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return the default global focus trap stack\n *\n * @return {import('focus-trap').FocusTrap[]}\n */\nexport const getTrapStack = function() {\n\t// Create global stack if undefined\n\tObject.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] })\n\n\treturn window._nc_focus_trap\n}\n"],"names":[],"mappings":"AAUY,MAAC,eAAe,WAAW;AAEtC,SAAO,OAAO,QAAQ,EAAE,gBAAgB,OAAO,kBAAkB,CAAA,GAAI;AAErE,SAAO,OAAO;AACf;"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ const getTrapStack = function() {
3
+ Object.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] });
4
+ return window._nc_focus_trap;
5
+ };
6
+ exports.getTrapStack = getTrapStack;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focusTrap-EeXFmjdI.cjs","sources":["../../src/utils/focusTrap.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return the default global focus trap stack\n *\n * @return {import('focus-trap').FocusTrap[]}\n */\nexport const getTrapStack = function() {\n\t// Create global stack if undefined\n\tObject.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] })\n\n\treturn window._nc_focus_trap\n}\n"],"names":[],"mappings":";AAUY,MAAC,eAAe,WAAW;AAEtC,SAAO,OAAO,QAAQ,EAAE,gBAAgB,OAAO,kBAAkB,CAAA,GAAI;AAErE,SAAO,OAAO;AACf;;"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ const router = require("@nextcloud/router");
3
+ const getAvatarUrl = (user, size, isGuest) => {
4
+ const darkTheme = window.getComputedStyle(document.body).getPropertyValue("--background-invert-if-dark") === "invert(100%)";
5
+ return router.generateUrl("/avatar" + (isGuest ? "/guest" : "") + "/{user}/{size}" + (darkTheme ? "/dark" : ""), {
6
+ user,
7
+ size
8
+ });
9
+ };
10
+ exports.getAvatarUrl = getAvatarUrl;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAvatarUrl-6z9qRNH-.cjs","sources":["../../src/utils/getAvatarUrl.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { generateUrl } from '@nextcloud/router'\n\nexport const getAvatarUrl = (user: string, size: number | string, isGuest?: boolean): string => {\n\tconst darkTheme = window.getComputedStyle(document.body)\n\t\t.getPropertyValue('--background-invert-if-dark') === 'invert(100%)'\n\n\treturn generateUrl('/avatar' + (isGuest ? '/guest' : '') + '/{user}/{size}' + (darkTheme ? '/dark' : ''), {\n\t\tuser,\n\t\tsize,\n\t})\n}\n"],"names":["generateUrl"],"mappings":";;AAOO,MAAM,eAAe,CAAC,MAAc,MAAuB,YAA8B;AACzF,QAAA,YAAY,OAAO,iBAAiB,SAAS,IAAI,EACrD,iBAAiB,6BAA6B,MAAM;AAE/C,SAAAA,mBAAY,aAAa,UAAU,WAAW,MAAM,oBAAoB,YAAY,UAAU,KAAK;AAAA,IACzG;AAAA,IACA;AAAA,EAAA,CACA;AACF;;"}
@@ -0,0 +1,11 @@
1
+ import { generateUrl } from "@nextcloud/router";
2
+ const getAvatarUrl = (user, size, isGuest) => {
3
+ const darkTheme = window.getComputedStyle(document.body).getPropertyValue("--background-invert-if-dark") === "invert(100%)";
4
+ return generateUrl("/avatar" + (isGuest ? "/guest" : "") + "/{user}/{size}" + (darkTheme ? "/dark" : ""), {
5
+ user,
6
+ size
7
+ });
8
+ };
9
+ export {
10
+ getAvatarUrl as g
11
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAvatarUrl-DxvUjKMi.mjs","sources":["../../src/utils/getAvatarUrl.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { generateUrl } from '@nextcloud/router'\n\nexport const getAvatarUrl = (user: string, size: number | string, isGuest?: boolean): string => {\n\tconst darkTheme = window.getComputedStyle(document.body)\n\t\t.getPropertyValue('--background-invert-if-dark') === 'invert(100%)'\n\n\treturn generateUrl('/avatar' + (isGuest ? '/guest' : '') + '/{user}/{size}' + (darkTheme ? '/dark' : ''), {\n\t\tuser,\n\t\tsize,\n\t})\n}\n"],"names":[],"mappings":";AAOO,MAAM,eAAe,CAAC,MAAc,MAAuB,YAA8B;AACzF,QAAA,YAAY,OAAO,iBAAiB,SAAS,IAAI,EACrD,iBAAiB,6BAA6B,MAAM;AAE/C,SAAA,YAAY,aAAa,UAAU,WAAW,MAAM,oBAAoB,YAAY,UAAU,KAAK;AAAA,IACzG;AAAA,IACA;AAAA,EAAA,CACA;AACF;"}
@@ -1,26 +1,5 @@
1
1
  "use strict";
2
2
  const _pluginVue2_normalizer = require("./_plugin-vue2_normalizer-DbFIE4_M.cjs");
3
- /**
4
- * @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
5
- *
6
- * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
7
- *
8
- * @license AGPL-3.0-or-later
9
- *
10
- * This program is free software: you can redistribute it and/or modify
11
- * it under the terms of the GNU Affero General Public License as
12
- * published by the Free Software Foundation, either version 3 of the
13
- * License, or (at your option) any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU Affero General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU Affero General Public License
21
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
22
- *
23
- */
24
3
  const FindRanges = (text, search) => {
25
4
  const ranges = [];
26
5
  let currentIndex = 0;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BANjku4q.cjs","sources":["../../src/utils/FindRanges.js","../../src/components/NcHighlight/NcHighlight.vue"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Find the ranges of a substr in a given string\n *\n * @param {string} text The text to search in\n * @param {string} search The text to search for\n * @return {Array} The array of ranges to highlight\n */\nconst FindRanges = (text, search) => {\n\tconst ranges = []\n\tlet currentIndex = 0\n\tlet index = text.toLowerCase().indexOf(search.toLowerCase(), currentIndex)\n\t// Variable to track that we don't iterate more often than the length of the text.\n\t// Shouldn't happen anyway, but just to be sure to not hang the browser for some reason.\n\tlet i = 0\n\twhile (index > -1 && i < text.length) {\n\t\tcurrentIndex = index + search.length\n\t\tranges.push({ start: index, end: currentIndex })\n\n\t\tindex = text.toLowerCase().indexOf(search.toLowerCase(), currentIndex)\n\t\ti++\n\t}\n\treturn ranges\n}\n\nexport default FindRanges\n","<!--\n - SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n\n### General description\n\nHighlight a string with html &lt;strong&gt;. Accepts a substring to highlight or an array with ranges.\n\n### Usage\n\n```vue\n<template>\n\t<div>\n\t\t<NcHighlight text=\"Highlight me please!\" search=\"me\" />\n\t\t<br />\n\t\t<NcHighlight text=\"Highlight me please!\" :highlight=\"[{ start: 4, end: 12 }]\" />\n\t</div>\n</template>\n```\n</docs>\n\n<script>\nimport FindRanges from '../../utils/FindRanges.js'\n\nexport default {\n\tname: 'NcHighlight',\n\tprops: {\n\t\t/**\n\t\t * The string to display\n\t\t */\n\t\ttext: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The string to match and highlight\n\t\t */\n\t\tsearch: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The ranges to highlight, takes precedence over the search prop.\n\t\t */\n\t\thighlight: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\t/**\n\t\t * The indice ranges which should be highlighted.\n\t\t * If an array with ranges is provided, we use it. Otherwise\n\t\t * we calculate it based on the provided substring to highlight.\n\t\t *\n\t\t * @return {Array} The array of ranges to highlight\n\t\t */\n\t\tranges() {\n\t\t\tlet ranges = []\n\t\t\t// If the search term and the highlight array is empty, return early with empty array\n\t\t\tif (!this.search && this.highlight.length === 0) {\n\t\t\t\treturn ranges\n\t\t\t}\n\n\t\t\t// If there are ranges to highlight provided, we use this array.\n\t\t\tif (this.highlight.length > 0) {\n\t\t\t\tranges = this.highlight\n\t\t\t// Otherwise we check the text to highlight for matches of the search term.\n\t\t\t} else {\n\t\t\t\tranges = FindRanges(this.text, this.search)\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * Ensure that the start of each range is equal to or smaller than the end\n\t\t\t */\n\t\t\tranges.forEach((range, i) => {\n\t\t\t\tif (range.end < range.start) {\n\t\t\t\t\tranges[i] = {\n\t\t\t\t\t\tstart: range.end,\n\t\t\t\t\t\tend: range.start,\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\n\t\t\t/**\n\t\t\t * Validate the ranges array to be within the string length\n\t\t\t * and discard ranges which are completely out of bonds.\n\t\t\t */\n\t\t\tranges = ranges.reduce((validRanges, range) => {\n\t\t\t\tif (range.start < this.text.length && range.end > 0) {\n\t\t\t\t\tvalidRanges.push({\n\t\t\t\t\t\tstart: (range.start < 0) ? 0 : range.start,\n\t\t\t\t\t\tend: (range.end > this.text.length) ? this.text.length : range.end,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treturn validRanges\n\t\t\t}, [])\n\n\t\t\t/**\n\t\t\t * Sort ranges ascendingly (necessary for next step)\n\t\t\t */\n\t\t\tranges.sort((a, b) => {\n\t\t\t\treturn a.start - b.start\n\t\t\t})\n\n\t\t\t/**\n\t\t\t * Merge overlapping or adjacent ranges\n\t\t\t */\n\t\t\tranges = ranges.reduce((mergedRanges, range) => {\n\t\t\t\t// If there are no ranges, just add the range\n\t\t\t\tif (!mergedRanges.length) {\n\t\t\t\t\tmergedRanges.push(range)\n\t\t\t\t} else {\n\t\t\t\t\t// If the range overlaps the last range, merge them\n\t\t\t\t\tconst idx = mergedRanges.length - 1\n\t\t\t\t\tif (mergedRanges[idx].end >= range.start) {\n\t\t\t\t\t\tmergedRanges[idx] = {\n\t\t\t\t\t\t\tstart: mergedRanges[idx].start,\n\t\t\t\t\t\t\tend: Math.max(mergedRanges[idx].end, range.end),\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmergedRanges.push(range)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn mergedRanges\n\t\t\t}, [])\n\n\t\t\treturn ranges\n\t\t},\n\t\t/**\n\t\t * Calculate the different chunks to show based on the ranges to highlight.\n\t\t *\n\t\t * @return {Array} The chunks\n\t\t */\n\t\tchunks() {\n\t\t\t// If the ranges array is empty, show only one chunk with all text\n\t\t\tif (this.ranges.length === 0) {\n\t\t\t\treturn [{\n\t\t\t\t\tstart: 0,\n\t\t\t\t\tend: this.text.length,\n\t\t\t\t\thighlight: false,\n\t\t\t\t\ttext: this.text,\n\t\t\t\t}]\n\t\t\t}\n\t\t\t// Calculate the chunks\n\t\t\tconst chunks = []\n\t\t\tlet currentIndex = 0\n\t\t\tlet currentRange = 0\n\t\t\t// Iterate over all characters in the text\n\t\t\twhile (currentIndex < this.text.length) {\n\t\t\t\t// Get the first range to highlight\n\t\t\t\tconst range = this.ranges[currentRange]\n\t\t\t\t// If the range starts at the current index, construct a chunk to highlight,\n\t\t\t\t// set the next range and continue with the next iteration.\n\t\t\t\tif (range.start === currentIndex) {\n\t\t\t\t\tchunks.push({\n\t\t\t\t\t\t...range,\n\t\t\t\t\t\thighlight: true,\n\t\t\t\t\t\ttext: this.text.slice(range.start, range.end),\n\t\t\t\t\t})\n\t\t\t\t\tcurrentRange++\n\t\t\t\t\tcurrentIndex = range.end\n\t\t\t\t\t// If this was the last range to highlight and we haven't reached the end of the text,\n\t\t\t\t\t// add the rest of the text without highlighting.\n\t\t\t\t\tif (currentRange >= this.ranges.length && currentIndex < this.text.length) {\n\t\t\t\t\t\tchunks.push({\n\t\t\t\t\t\t\tstart: currentIndex,\n\t\t\t\t\t\t\tend: this.text.length,\n\t\t\t\t\t\t\thighlight: false,\n\t\t\t\t\t\t\ttext: this.text.slice(currentIndex),\n\t\t\t\t\t\t})\n\t\t\t\t\t\t// Set the current index so the while loop ends.\n\t\t\t\t\t\tcurrentIndex = this.text.length\n\t\t\t\t\t}\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\t// If the current range does start after the current index, construct a chunk without\n\t\t\t\t// highlighting and set the current index to the start of the current range.\n\t\t\t\tchunks.push({\n\t\t\t\t\tstart: currentIndex,\n\t\t\t\t\tend: range.start,\n\t\t\t\t\thighlight: false,\n\t\t\t\t\ttext: this.text.slice(currentIndex, range.start),\n\t\t\t\t})\n\t\t\t\tcurrentIndex = range.start\n\t\t\t}\n\t\t\treturn chunks\n\t\t},\n\t},\n\t/**\n\t * The render function to display the component\n\t *\n\t * @param {Function} h The function to create VNodes\n\t * @return {object} The created VNode\n\t */\n\trender(h) {\n\t\tif (!this.ranges.length) {\n\t\t\treturn h('span', {}, this.text)\n\t\t}\n\n\t\treturn h('span', {}, this.chunks.map(chunk => {\n\t\t\treturn chunk.highlight ? h('strong', {}, chunk.text) : chunk.text\n\t\t}))\n\t},\n}\n</script>\n"],"names":[],"mappings":"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"}