@nextcloud/vue 8.36.0 → 8.38.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 (468) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/Components/NcActionButton.cjs +1 -1
  3. package/dist/Components/NcActionButton.mjs +1 -1
  4. package/dist/Components/NcActionButtonGroup.cjs +1 -1
  5. package/dist/Components/NcActionButtonGroup.mjs +1 -1
  6. package/dist/Components/NcActionInput.cjs +1 -1
  7. package/dist/Components/NcActionInput.mjs +1 -1
  8. package/dist/Components/NcActionLink.cjs +2 -2
  9. package/dist/Components/NcActionLink.cjs.map +1 -1
  10. package/dist/Components/NcActionLink.mjs +2 -2
  11. package/dist/Components/NcActionLink.mjs.map +1 -1
  12. package/dist/Components/NcActionTextEditable.cjs +1 -1
  13. package/dist/Components/NcActionTextEditable.mjs +1 -1
  14. package/dist/Components/NcActions.cjs +1 -1
  15. package/dist/Components/NcActions.mjs +1 -1
  16. package/dist/Components/NcAppContent.cjs +1 -1
  17. package/dist/Components/NcAppContent.mjs +1 -1
  18. package/dist/Components/NcAppNavigation.cjs +1 -1
  19. package/dist/Components/NcAppNavigation.mjs +1 -1
  20. package/dist/Components/NcAppNavigationCaption.cjs +1 -1
  21. package/dist/Components/NcAppNavigationCaption.mjs +1 -1
  22. package/dist/Components/NcAppNavigationItem.cjs +1 -1
  23. package/dist/Components/NcAppNavigationItem.mjs +1 -1
  24. package/dist/Components/NcAppNavigationNew.cjs +1 -1
  25. package/dist/Components/NcAppNavigationNew.mjs +1 -1
  26. package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
  27. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  28. package/dist/Components/NcAppNavigationSearch.cjs +1 -1
  29. package/dist/Components/NcAppNavigationSearch.mjs +1 -1
  30. package/dist/Components/NcAppNavigationSettings.cjs +1 -1
  31. package/dist/Components/NcAppNavigationSettings.mjs +1 -1
  32. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  33. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  34. package/dist/Components/NcAppSettingsDialog.cjs +1 -1
  35. package/dist/Components/NcAppSettingsDialog.mjs +1 -1
  36. package/dist/Components/NcAppSettingsSectionShortcuts.cjs +1 -1
  37. package/dist/Components/NcAppSettingsSectionShortcuts.mjs +1 -1
  38. package/dist/Components/NcAppSettingsShortcutsSection.cjs +1 -1
  39. package/dist/Components/NcAppSettingsShortcutsSection.mjs +1 -1
  40. package/dist/Components/NcAppSidebar.cjs +1 -1
  41. package/dist/Components/NcAppSidebar.mjs +1 -1
  42. package/dist/Components/NcAssistantButton.cjs +1 -1
  43. package/dist/Components/NcAssistantButton.mjs +1 -1
  44. package/dist/Components/NcAvatar.cjs +1 -1
  45. package/dist/Components/NcAvatar.mjs +1 -1
  46. package/dist/Components/NcBreadcrumb.cjs +1 -1
  47. package/dist/Components/NcBreadcrumb.mjs +1 -1
  48. package/dist/Components/NcBreadcrumbs.cjs +1 -1
  49. package/dist/Components/NcBreadcrumbs.mjs +1 -1
  50. package/dist/Components/NcButton.cjs +1 -1
  51. package/dist/Components/NcButton.mjs +1 -1
  52. package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
  53. package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
  54. package/dist/Components/NcChip.cjs +3 -3
  55. package/dist/Components/NcChip.mjs +3 -3
  56. package/dist/Components/NcCollectionList.cjs +1 -1
  57. package/dist/Components/NcCollectionList.mjs +1 -1
  58. package/dist/Components/NcColorPicker.cjs +1 -1
  59. package/dist/Components/NcColorPicker.mjs +1 -1
  60. package/dist/Components/NcContent.cjs +1 -1
  61. package/dist/Components/NcContent.mjs +1 -1
  62. package/dist/Components/NcDashboardWidget.cjs +1 -1
  63. package/dist/Components/NcDashboardWidget.mjs +1 -1
  64. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  65. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  66. package/dist/Components/NcDateTimePicker.cjs +4 -4
  67. package/dist/Components/NcDateTimePicker.mjs +4 -4
  68. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  69. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  70. package/dist/Components/NcDialog.cjs +1 -1
  71. package/dist/Components/NcDialog.mjs +1 -1
  72. package/dist/Components/NcDialogButton.cjs +1 -1
  73. package/dist/Components/NcDialogButton.mjs +1 -1
  74. package/dist/Components/NcEmojiPicker.cjs +1 -1
  75. package/dist/Components/NcEmojiPicker.mjs +1 -1
  76. package/dist/Components/NcFilePicker.cjs +4 -0
  77. package/dist/Components/NcFilePicker.cjs.map +1 -0
  78. package/dist/Components/NcFilePicker.mjs +5 -0
  79. package/dist/Components/NcFilePicker.mjs.map +1 -0
  80. package/dist/Components/NcFormBoxCopyButton.cjs +1 -1
  81. package/dist/Components/NcFormBoxCopyButton.mjs +1 -1
  82. package/dist/Components/NcHeaderButton.cjs +1 -1
  83. package/dist/Components/NcHeaderButton.mjs +1 -1
  84. package/dist/Components/NcHeaderMenu.cjs +1 -1
  85. package/dist/Components/NcHeaderMenu.mjs +1 -1
  86. package/dist/Components/NcHotkey.cjs +1 -1
  87. package/dist/Components/NcHotkey.mjs +1 -1
  88. package/dist/Components/NcHotkeyList.cjs +1 -1
  89. package/dist/Components/NcHotkeyList.mjs +1 -1
  90. package/dist/Components/NcInputField.cjs +1 -1
  91. package/dist/Components/NcInputField.mjs +1 -1
  92. package/dist/Components/NcKbd.cjs +1 -1
  93. package/dist/Components/NcKbd.mjs +1 -1
  94. package/dist/Components/NcListItem.cjs +1 -1
  95. package/dist/Components/NcListItem.mjs +1 -1
  96. package/dist/Components/NcListItemIcon.cjs +1 -1
  97. package/dist/Components/NcListItemIcon.mjs +1 -1
  98. package/dist/Components/NcModal.cjs +36 -10
  99. package/dist/Components/NcModal.cjs.map +1 -1
  100. package/dist/Components/NcModal.mjs +36 -10
  101. package/dist/Components/NcModal.mjs.map +1 -1
  102. package/dist/Components/NcPasswordField.cjs +1 -1
  103. package/dist/Components/NcPasswordField.mjs +1 -1
  104. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  105. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  106. package/dist/Components/NcRichContenteditable.cjs +2 -2
  107. package/dist/Components/NcRichContenteditable.mjs +2 -2
  108. package/dist/Components/NcRichText.cjs +2 -2
  109. package/dist/Components/NcRichText.mjs +3 -3
  110. package/dist/Components/NcSelect.cjs +1 -1
  111. package/dist/Components/NcSelect.mjs +1 -1
  112. package/dist/Components/NcSelectTags.cjs +1 -1
  113. package/dist/Components/NcSelectTags.mjs +1 -1
  114. package/dist/Components/NcSelectUsers.cjs +1 -1
  115. package/dist/Components/NcSelectUsers.mjs +1 -1
  116. package/dist/Components/NcSettingsInputText.cjs +1 -1
  117. package/dist/Components/NcSettingsInputText.mjs +1 -1
  118. package/dist/Components/NcSettingsSection.cjs +1 -1
  119. package/dist/Components/NcSettingsSection.mjs +1 -1
  120. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  121. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  122. package/dist/Components/NcTextArea.cjs +1 -1
  123. package/dist/Components/NcTextArea.mjs +1 -1
  124. package/dist/Components/NcTextField.cjs +1 -1
  125. package/dist/Components/NcTextField.mjs +1 -1
  126. package/dist/Components/NcTimezonePicker.cjs +1 -1
  127. package/dist/Components/NcTimezonePicker.mjs +1 -1
  128. package/dist/Components/NcUserBubble.cjs +1 -1
  129. package/dist/Components/NcUserBubble.mjs +1 -1
  130. package/dist/Components/NcUserStatusIcon.cjs +1 -1
  131. package/dist/Components/NcUserStatusIcon.mjs +1 -1
  132. package/dist/Composables/useFormatDateTime.cjs +1 -1
  133. package/dist/Composables/useFormatDateTime.mjs +1 -1
  134. package/dist/Functions/emoji.cjs +1 -1
  135. package/dist/Functions/emoji.mjs +1 -1
  136. package/dist/Functions/reference.cjs +1 -1
  137. package/dist/Functions/reference.mjs +1 -1
  138. package/dist/Functions/usernameToColor.cjs +1 -1
  139. package/dist/Functions/usernameToColor.mjs +1 -1
  140. package/dist/Mixins/richEditor.cjs +1 -1
  141. package/dist/Mixins/richEditor.mjs +1 -1
  142. package/dist/assets/{NcActionButton-CG4V9b5b.css → NcActionButton-CjKx3679.css} +18 -18
  143. package/dist/assets/{NcActionButtonGroup-CRXLyFpx.css → NcActionButtonGroup-DqR0weTf.css} +8 -8
  144. package/dist/assets/{NcActionInput-B-c5cOfM.css → NcActionInput-CPu4Btyq.css} +65 -65
  145. package/dist/assets/{NcActionLink-BtpJIbvI.css → NcActionLink-Bt-73iBm.css} +13 -13
  146. package/dist/assets/{NcActionTextEditable-BCmDMuUg.css → NcActionTextEditable-AuLw5QVP.css} +65 -65
  147. package/dist/assets/{NcActions-CVw1SmBu.css → NcActions-CuFJSslC.css} +11 -11
  148. package/dist/assets/{NcAppContent-COKKdvdZ.css → NcAppContent-CKJUs-ZZ.css} +22 -19
  149. package/dist/assets/{NcAppNavigation-Dbpqdigp.css → NcAppNavigation-mcR7I0Bd.css} +12 -12
  150. package/dist/assets/{NcAppSettingsDialog-N2RJYgHo.css → NcAppSettingsDialog-x8dImUGK.css} +11 -11
  151. package/dist/assets/{NcBreadcrumbs-DahxPGJY.css → NcBreadcrumbs-Dt1zdHzR.css} +6 -6
  152. package/dist/assets/{NcButton-n-KI8Bqb.css → NcButton-C5JW43jM.css} +46 -46
  153. package/dist/assets/{NcCheckboxRadioSwitch-BACLOhMO.css → NcCheckboxRadioSwitch-BojbloxL.css} +38 -38
  154. package/dist/assets/{NcContent-IIXgAj_u.css → NcContent-a67pCVHO.css} +10 -10
  155. package/dist/assets/{NcDateTimePicker-BU_TdhUm.css → NcDateTimePicker-DrfMaKM7.css} +8 -8
  156. package/dist/assets/NcFilePicker-BokX813z.css +6 -0
  157. package/dist/assets/{NcInputField-CJzLu0_0.css → NcInputField-Cc-l-KGd.css} +46 -46
  158. package/dist/assets/{NcModal-CfHpabcF.css → NcModal-wPeHZkqH.css} +66 -67
  159. package/dist/assets/{NcPasswordField-CiN_phAQ.css → NcPasswordField-vrT0oftw.css} +2 -2
  160. package/dist/assets/{NcRelatedResourcesPanel-BgMc8bue.css → NcRelatedResourcesPanel-CTpqdDL9.css} +3 -3
  161. package/dist/assets/{NcRichContenteditable-Cm0fohqz.css → NcRichContenteditable-DwS6PNCv.css} +11 -11
  162. package/dist/assets/{NcRichText-C72XMOoz.css → NcRichText-Cp_5tfBy.css} +91 -98
  163. package/dist/assets/{NcTextArea-BNxd9_FK.css → NcTextArea-BtG5_qHD.css} +30 -28
  164. package/dist/assets/autolink-KPdaBewQ.css +25 -0
  165. package/dist/chunks/{NcActionButton-C5Dqge0c.cjs → NcActionButton-CiYel4_C.cjs} +3 -3
  166. package/dist/chunks/NcActionButton-CiYel4_C.cjs.map +1 -0
  167. package/dist/chunks/{NcActionButton-1gSJfFUC.mjs → NcActionButton-K4jUGMlW.mjs} +3 -3
  168. package/dist/chunks/NcActionButton-K4jUGMlW.mjs.map +1 -0
  169. package/dist/chunks/{NcActionButtonGroup-BxvJmEwM.mjs → NcActionButtonGroup-B95wg_Q6.mjs} +4 -4
  170. package/dist/chunks/NcActionButtonGroup-B95wg_Q6.mjs.map +1 -0
  171. package/dist/chunks/{NcActionButtonGroup-QVUAMbKq.cjs → NcActionButtonGroup-CFGCmzTM.cjs} +4 -4
  172. package/dist/chunks/NcActionButtonGroup-CFGCmzTM.cjs.map +1 -0
  173. package/dist/chunks/{NcActionInput-BLfZBCFj.mjs → NcActionInput-B_9GOTi6.mjs} +7 -7
  174. package/dist/chunks/NcActionInput-B_9GOTi6.mjs.map +1 -0
  175. package/dist/chunks/{NcActionInput-CuhJdyHk.cjs → NcActionInput-D3w0eGfB.cjs} +7 -7
  176. package/dist/chunks/NcActionInput-D3w0eGfB.cjs.map +1 -0
  177. package/dist/chunks/{NcActionTextEditable-RFLtWxrl.cjs → NcActionTextEditable-BqJ5wONY.cjs} +3 -3
  178. package/dist/chunks/NcActionTextEditable-BqJ5wONY.cjs.map +1 -0
  179. package/dist/chunks/{NcActionTextEditable-CIsAP-pp.mjs → NcActionTextEditable-YqvZGY07.mjs} +3 -3
  180. package/dist/chunks/NcActionTextEditable-YqvZGY07.mjs.map +1 -0
  181. package/dist/chunks/{NcActions-RVSfZOYh.cjs → NcActions-0fAYsGbh.cjs} +5 -5
  182. package/dist/chunks/NcActions-0fAYsGbh.cjs.map +1 -0
  183. package/dist/chunks/{NcActions-B7LKaVy0.mjs → NcActions-Ca_2vj8f.mjs} +5 -5
  184. package/dist/chunks/NcActions-Ca_2vj8f.mjs.map +1 -0
  185. package/dist/chunks/{NcAppContent-iiQ0CC8-.cjs → NcAppContent-B95Sj4-X.cjs} +6 -6
  186. package/dist/chunks/NcAppContent-B95Sj4-X.cjs.map +1 -0
  187. package/dist/chunks/{NcAppContent-BQbYzcUh.mjs → NcAppContent-HZ-Lp090.mjs} +6 -6
  188. package/dist/chunks/NcAppContent-HZ-Lp090.mjs.map +1 -0
  189. package/dist/chunks/{NcAppNavigation-DjeB8XMY.cjs → NcAppNavigation-BDxzq-ai.cjs} +17 -7
  190. package/dist/chunks/NcAppNavigation-BDxzq-ai.cjs.map +1 -0
  191. package/dist/chunks/{NcAppNavigation-Cu8LpQSI.mjs → NcAppNavigation-BPqJExo6.mjs} +17 -7
  192. package/dist/chunks/NcAppNavigation-BPqJExo6.mjs.map +1 -0
  193. package/dist/chunks/{NcAppNavigationCaption-CQaKs-Zf.mjs → NcAppNavigationCaption-Bt51pgle.mjs} +2 -2
  194. package/dist/chunks/{NcAppNavigationCaption-CQaKs-Zf.mjs.map → NcAppNavigationCaption-Bt51pgle.mjs.map} +1 -1
  195. package/dist/chunks/{NcAppNavigationCaption-BrwsCX28.cjs → NcAppNavigationCaption-CQZ7ZrEO.cjs} +2 -2
  196. package/dist/chunks/{NcAppNavigationCaption-BrwsCX28.cjs.map → NcAppNavigationCaption-CQZ7ZrEO.cjs.map} +1 -1
  197. package/dist/chunks/{NcAppNavigationItem-CyQBEt9w.cjs → NcAppNavigationItem-BBZ1SsqQ.cjs} +7 -7
  198. package/dist/chunks/{NcAppNavigationItem-CyQBEt9w.cjs.map → NcAppNavigationItem-BBZ1SsqQ.cjs.map} +1 -1
  199. package/dist/chunks/{NcAppNavigationItem-ryrQ6jep.mjs → NcAppNavigationItem-DcKt7SjF.mjs} +7 -7
  200. package/dist/chunks/{NcAppNavigationItem-ryrQ6jep.mjs.map → NcAppNavigationItem-DcKt7SjF.mjs.map} +1 -1
  201. package/dist/chunks/{NcAppNavigationNew-t3Rkrwjh.mjs → NcAppNavigationNew-B5ikLvxM.mjs} +2 -2
  202. package/dist/chunks/{NcAppNavigationNew-t3Rkrwjh.mjs.map → NcAppNavigationNew-B5ikLvxM.mjs.map} +1 -1
  203. package/dist/chunks/{NcAppNavigationNew-ByTNXL-2.cjs → NcAppNavigationNew-DljLy9CQ.cjs} +2 -2
  204. package/dist/chunks/{NcAppNavigationNew-ByTNXL-2.cjs.map → NcAppNavigationNew-DljLy9CQ.cjs.map} +1 -1
  205. package/dist/chunks/{NcAppNavigationNewItem-_8ozWEv3.mjs → NcAppNavigationNewItem-BqhwbJsJ.mjs} +2 -2
  206. package/dist/chunks/{NcAppNavigationNewItem-_8ozWEv3.mjs.map → NcAppNavigationNewItem-BqhwbJsJ.mjs.map} +1 -1
  207. package/dist/chunks/{NcAppNavigationNewItem-C_0savRU.cjs → NcAppNavigationNewItem-C6gqVpBt.cjs} +2 -2
  208. package/dist/chunks/{NcAppNavigationNewItem-C_0savRU.cjs.map → NcAppNavigationNewItem-C6gqVpBt.cjs.map} +1 -1
  209. package/dist/chunks/{NcAppNavigationSearch-CSih_quP.mjs → NcAppNavigationSearch-B6u1Ln1_.mjs} +4 -4
  210. package/dist/chunks/{NcAppNavigationSearch-CSih_quP.mjs.map → NcAppNavigationSearch-B6u1Ln1_.mjs.map} +1 -1
  211. package/dist/chunks/{NcAppNavigationSearch-CqJql2d9.cjs → NcAppNavigationSearch-CliHANzA.cjs} +4 -4
  212. package/dist/chunks/{NcAppNavigationSearch-CqJql2d9.cjs.map → NcAppNavigationSearch-CliHANzA.cjs.map} +1 -1
  213. package/dist/chunks/{NcAppNavigationSettings-Eseo9MMQ.mjs → NcAppNavigationSettings-BfysBg80.mjs} +4 -4
  214. package/dist/chunks/{NcAppNavigationSettings-Eseo9MMQ.mjs.map → NcAppNavigationSettings-BfysBg80.mjs.map} +1 -1
  215. package/dist/chunks/{NcAppNavigationSettings-DRoGqPHP.cjs → NcAppNavigationSettings-ClcR05vZ.cjs} +4 -4
  216. package/dist/chunks/{NcAppNavigationSettings-DRoGqPHP.cjs.map → NcAppNavigationSettings-ClcR05vZ.cjs.map} +1 -1
  217. package/dist/chunks/{NcAppNavigationToggle-5n7gV3K0.cjs → NcAppNavigationToggle-CLPYPwyi.cjs} +3 -3
  218. package/dist/chunks/{NcAppNavigationToggle-5n7gV3K0.cjs.map → NcAppNavigationToggle-CLPYPwyi.cjs.map} +1 -1
  219. package/dist/chunks/{NcAppNavigationToggle-DYJLh23P.mjs → NcAppNavigationToggle-DtJjJGQ5.mjs} +3 -3
  220. package/dist/chunks/{NcAppNavigationToggle-DYJLh23P.mjs.map → NcAppNavigationToggle-DtJjJGQ5.mjs.map} +1 -1
  221. package/dist/chunks/{NcAppSettingsDialog-DApthKor.cjs → NcAppSettingsDialog-C2-LWcDG.cjs} +6 -6
  222. package/dist/chunks/{NcAppSettingsDialog-zwmLtX7z.mjs.map → NcAppSettingsDialog-C2-LWcDG.cjs.map} +1 -1
  223. package/dist/chunks/{NcAppSettingsDialog-zwmLtX7z.mjs → NcAppSettingsDialog-D0M18YFD.mjs} +6 -6
  224. package/dist/chunks/{NcAppSettingsDialog-DApthKor.cjs.map → NcAppSettingsDialog-D0M18YFD.mjs.map} +1 -1
  225. package/dist/chunks/{NcAppSettingsShortcutsSection-CiLZpXkV.mjs → NcAppSettingsShortcutsSection-DblUBaWP.mjs} +2 -2
  226. package/dist/chunks/NcAppSettingsShortcutsSection-DblUBaWP.mjs.map +1 -0
  227. package/dist/chunks/{NcAppSettingsShortcutsSection-Ow8Xrs6j.cjs → NcAppSettingsShortcutsSection-DgGU8-cF.cjs} +2 -2
  228. package/dist/chunks/NcAppSettingsShortcutsSection-DgGU8-cF.cjs.map +1 -0
  229. package/dist/chunks/{NcAppSidebar-COAO4VHH.cjs → NcAppSidebar-BYHXZjYR.cjs} +5 -5
  230. package/dist/chunks/{NcAppSidebar-COAO4VHH.cjs.map → NcAppSidebar-BYHXZjYR.cjs.map} +1 -1
  231. package/dist/chunks/{NcAppSidebar-BiIeJ3p1.mjs → NcAppSidebar-Bljse39J.mjs} +5 -5
  232. package/dist/chunks/{NcAppSidebar-BiIeJ3p1.mjs.map → NcAppSidebar-Bljse39J.mjs.map} +1 -1
  233. package/dist/chunks/{NcAssistantButton-Cp9x57gS.mjs → NcAssistantButton-BdUkhzq1.mjs} +2 -2
  234. package/dist/chunks/{NcAssistantButton-Cp9x57gS.mjs.map → NcAssistantButton-BdUkhzq1.mjs.map} +1 -1
  235. package/dist/chunks/{NcAssistantButton-Dm2xP503.cjs → NcAssistantButton-mPenTfuv.cjs} +2 -2
  236. package/dist/chunks/{NcAssistantButton-Dm2xP503.cjs.map → NcAssistantButton-mPenTfuv.cjs.map} +1 -1
  237. package/dist/chunks/{NcAvatar-OCD_HmOb.mjs → NcAvatar-CGnqUtoy.mjs} +8 -8
  238. package/dist/chunks/{NcAvatar-OCD_HmOb.mjs.map → NcAvatar-CGnqUtoy.mjs.map} +1 -1
  239. package/dist/chunks/{NcAvatar-DQZhvYDx.cjs → NcAvatar-DP8TpFfy.cjs} +8 -8
  240. package/dist/chunks/{NcAvatar-DQZhvYDx.cjs.map → NcAvatar-DP8TpFfy.cjs.map} +1 -1
  241. package/dist/chunks/{NcBreadcrumb-UmBT5BsM.mjs → NcBreadcrumb-DH2FV6QI.mjs} +3 -3
  242. package/dist/chunks/{NcBreadcrumb-UmBT5BsM.mjs.map → NcBreadcrumb-DH2FV6QI.mjs.map} +1 -1
  243. package/dist/chunks/{NcBreadcrumb-B-voXzzn.cjs → NcBreadcrumb-hK0W8qx4.cjs} +3 -3
  244. package/dist/chunks/{NcBreadcrumb-B-voXzzn.cjs.map → NcBreadcrumb-hK0W8qx4.cjs.map} +1 -1
  245. package/dist/chunks/{NcBreadcrumbs-B8iMbaQb.mjs → NcBreadcrumbs-DrYYSHAS.mjs} +7 -7
  246. package/dist/chunks/{NcBreadcrumbs-CyRh9rRH.cjs.map → NcBreadcrumbs-DrYYSHAS.mjs.map} +1 -1
  247. package/dist/chunks/{NcBreadcrumbs-CyRh9rRH.cjs → NcBreadcrumbs-pDN1N49I.cjs} +7 -7
  248. package/dist/chunks/{NcBreadcrumbs-B8iMbaQb.mjs.map → NcBreadcrumbs-pDN1N49I.cjs.map} +1 -1
  249. package/dist/chunks/{NcButton-Dz2O6cSU.mjs → NcButton-BgppWSl9.mjs} +12 -4
  250. package/dist/chunks/NcButton-BgppWSl9.mjs.map +1 -0
  251. package/dist/chunks/{NcButton-CuFElrFD.cjs → NcButton-DaWD-X8V.cjs} +12 -4
  252. package/dist/chunks/NcButton-DaWD-X8V.cjs.map +1 -0
  253. package/dist/chunks/{NcCheckboxRadioSwitch-DtrlpJJN.cjs → NcCheckboxRadioSwitch-BQeglWXd.cjs} +9 -18
  254. package/dist/chunks/{NcCheckboxRadioSwitch-Di43R9CE.mjs.map → NcCheckboxRadioSwitch-BQeglWXd.cjs.map} +1 -1
  255. package/dist/chunks/{NcCheckboxRadioSwitch-Di43R9CE.mjs → NcCheckboxRadioSwitch-D4IV4zWy.mjs} +9 -18
  256. package/dist/chunks/{NcCheckboxRadioSwitch-DtrlpJJN.cjs.map → NcCheckboxRadioSwitch-D4IV4zWy.mjs.map} +1 -1
  257. package/dist/chunks/{NcCollectionList-C-LCG1Ob.mjs → NcCollectionList-BbmBJ4ET.mjs} +7 -7
  258. package/dist/chunks/{NcCollectionList-C-LCG1Ob.mjs.map → NcCollectionList-BbmBJ4ET.mjs.map} +1 -1
  259. package/dist/chunks/{NcCollectionList-Cvf4AeNt.cjs → NcCollectionList-DgLrYZ6o.cjs} +7 -7
  260. package/dist/chunks/{NcCollectionList-Cvf4AeNt.cjs.map → NcCollectionList-DgLrYZ6o.cjs.map} +1 -1
  261. package/dist/chunks/{NcColorPicker-DPUDuNp4.mjs → NcColorPicker-Bzzw1uKu.mjs} +4 -4
  262. package/dist/chunks/{NcColorPicker-DPUDuNp4.mjs.map → NcColorPicker-Bzzw1uKu.mjs.map} +1 -1
  263. package/dist/chunks/{NcColorPicker-CnQNBGVB.cjs → NcColorPicker-DNpKf7gx.cjs} +4 -4
  264. package/dist/chunks/{NcColorPicker-CnQNBGVB.cjs.map → NcColorPicker-DNpKf7gx.cjs.map} +1 -1
  265. package/dist/chunks/{NcContent-B1B89UG0.cjs → NcContent-CMjQ3dfw.cjs} +6 -5
  266. package/dist/chunks/{NcContent-B1B89UG0.cjs.map → NcContent-CMjQ3dfw.cjs.map} +1 -1
  267. package/dist/chunks/{NcContent-mCqWZXj_.mjs → NcContent-DpGM2KRx.mjs} +6 -5
  268. package/dist/chunks/{NcContent-mCqWZXj_.mjs.map → NcContent-DpGM2KRx.mjs.map} +1 -1
  269. package/dist/chunks/{NcDashboardWidget-DkIJ5CtL.cjs → NcDashboardWidget-DuoTxAyf.cjs} +4 -4
  270. package/dist/chunks/{NcDashboardWidget-DkIJ5CtL.cjs.map → NcDashboardWidget-DuoTxAyf.cjs.map} +1 -1
  271. package/dist/chunks/{NcDashboardWidget-CrInkRLf.mjs → NcDashboardWidget-NOuL4APU.mjs} +4 -4
  272. package/dist/chunks/{NcDashboardWidget-CrInkRLf.mjs.map → NcDashboardWidget-NOuL4APU.mjs.map} +1 -1
  273. package/dist/chunks/{NcDashboardWidgetItem-B9edccBC.cjs → NcDashboardWidgetItem-BFsKgWo2.cjs} +4 -4
  274. package/dist/chunks/{NcDashboardWidgetItem-B9edccBC.cjs.map → NcDashboardWidgetItem-BFsKgWo2.cjs.map} +1 -1
  275. package/dist/chunks/{NcDashboardWidgetItem-DwvrP3Fa.mjs → NcDashboardWidgetItem-CBW263ij.mjs} +4 -4
  276. package/dist/chunks/{NcDashboardWidgetItem-DwvrP3Fa.mjs.map → NcDashboardWidgetItem-CBW263ij.mjs.map} +1 -1
  277. package/dist/chunks/{NcDialog-Bu9xyU24.mjs → NcDialog-BCCBuI6f.mjs} +2 -2
  278. package/dist/chunks/{NcDialog-Bu9xyU24.mjs.map → NcDialog-BCCBuI6f.mjs.map} +1 -1
  279. package/dist/chunks/{NcDialog-ja5_vkY1.cjs → NcDialog-x3G0Nuve.cjs} +2 -2
  280. package/dist/chunks/{NcDialog-ja5_vkY1.cjs.map → NcDialog-x3G0Nuve.cjs.map} +1 -1
  281. package/dist/chunks/{NcDialogButton-BKPo8qTj.cjs → NcDialogButton-DBtmgcol.cjs} +3 -3
  282. package/dist/chunks/{NcDialogButton-BKPo8qTj.cjs.map → NcDialogButton-DBtmgcol.cjs.map} +1 -1
  283. package/dist/chunks/{NcDialogButton-DGBhiACK.mjs → NcDialogButton-DpA4mqr-.mjs} +3 -3
  284. package/dist/chunks/{NcDialogButton-DGBhiACK.mjs.map → NcDialogButton-DpA4mqr-.mjs.map} +1 -1
  285. package/dist/chunks/{NcEmojiPicker-DOFfHZjX.mjs → NcEmojiPicker-C4jCrwQY.mjs} +8 -8
  286. package/dist/chunks/{NcEmojiPicker-DOFfHZjX.mjs.map → NcEmojiPicker-C4jCrwQY.mjs.map} +1 -1
  287. package/dist/chunks/{NcEmojiPicker-Bm-B75F0.cjs → NcEmojiPicker-DefnK492.cjs} +8 -8
  288. package/dist/chunks/{NcEmojiPicker-Bm-B75F0.cjs.map → NcEmojiPicker-DefnK492.cjs.map} +1 -1
  289. package/dist/chunks/NcFilePicker-BYWr-vcP.cjs +209 -0
  290. package/dist/chunks/NcFilePicker-BYWr-vcP.cjs.map +1 -0
  291. package/dist/chunks/NcFilePicker-DCPi6JGg.mjs +210 -0
  292. package/dist/chunks/NcFilePicker-DCPi6JGg.mjs.map +1 -0
  293. package/dist/chunks/NcFormBox-DRGVpFeZ.cjs.map +1 -1
  294. package/dist/chunks/NcFormBox-DtoCXLMx.mjs.map +1 -1
  295. package/dist/chunks/{NcFormBoxCopyButton-DmFZ1t3a.cjs → NcFormBoxCopyButton-B2GrmfEz.cjs} +2 -2
  296. package/dist/chunks/{NcFormBoxCopyButton-DmFZ1t3a.cjs.map → NcFormBoxCopyButton-B2GrmfEz.cjs.map} +1 -1
  297. package/dist/chunks/{NcFormBoxCopyButton-DtJpZ971.mjs → NcFormBoxCopyButton-BkunQ3me.mjs} +2 -2
  298. package/dist/chunks/{NcFormBoxCopyButton-DtJpZ971.mjs.map → NcFormBoxCopyButton-BkunQ3me.mjs.map} +1 -1
  299. package/dist/chunks/{NcHeaderButton-Dvo1_Bwc.mjs → NcHeaderButton-DXdY8gct.mjs} +2 -2
  300. package/dist/chunks/{NcHeaderButton-Dvo1_Bwc.mjs.map → NcHeaderButton-DXdY8gct.mjs.map} +1 -1
  301. package/dist/chunks/{NcHeaderButton-CpWQbzfF.cjs → NcHeaderButton-iEtQ74pa.cjs} +2 -2
  302. package/dist/chunks/{NcHeaderButton-CpWQbzfF.cjs.map → NcHeaderButton-iEtQ74pa.cjs.map} +1 -1
  303. package/dist/chunks/{NcHeaderMenu-Cuh8ay0F.mjs → NcHeaderMenu-BZnnbLTo.mjs} +2 -2
  304. package/dist/chunks/{NcHeaderMenu-Cuh8ay0F.mjs.map → NcHeaderMenu-BZnnbLTo.mjs.map} +1 -1
  305. package/dist/chunks/{NcHeaderMenu-Cmu-m_aM.cjs → NcHeaderMenu-efsSG80P.cjs} +2 -2
  306. package/dist/chunks/{NcHeaderMenu-Cmu-m_aM.cjs.map → NcHeaderMenu-efsSG80P.cjs.map} +1 -1
  307. package/dist/chunks/{NcHotkey-Cv2Je6eF.mjs → NcHotkey-CLLtt9LG.mjs} +2 -2
  308. package/dist/chunks/{NcHotkey-Cv2Je6eF.mjs.map → NcHotkey-CLLtt9LG.mjs.map} +1 -1
  309. package/dist/chunks/{NcHotkey-wTQuk8tk.cjs → NcHotkey-vKyDZ2a7.cjs} +2 -2
  310. package/dist/chunks/{NcHotkey-wTQuk8tk.cjs.map → NcHotkey-vKyDZ2a7.cjs.map} +1 -1
  311. package/dist/chunks/{NcHotkeyList-CrAcIN70.mjs → NcHotkeyList-Co7MBL5U.mjs} +2 -2
  312. package/dist/chunks/{NcHotkeyList-CrAcIN70.mjs.map → NcHotkeyList-Co7MBL5U.mjs.map} +1 -1
  313. package/dist/chunks/{NcHotkeyList-CezOirdf.cjs → NcHotkeyList-DhFQdopw.cjs} +2 -2
  314. package/dist/chunks/{NcHotkeyList-CezOirdf.cjs.map → NcHotkeyList-DhFQdopw.cjs.map} +1 -1
  315. package/dist/chunks/{NcInputConfirmCancel-CsJOuKAS.cjs → NcInputConfirmCancel-CTvNhtqM.cjs} +3 -3
  316. package/dist/chunks/{NcInputConfirmCancel-CsJOuKAS.cjs.map → NcInputConfirmCancel-CTvNhtqM.cjs.map} +1 -1
  317. package/dist/chunks/{NcInputConfirmCancel-D7e4BkoB.mjs → NcInputConfirmCancel-LAJSyhOn.mjs} +3 -3
  318. package/dist/chunks/{NcInputConfirmCancel-D7e4BkoB.mjs.map → NcInputConfirmCancel-LAJSyhOn.mjs.map} +1 -1
  319. package/dist/chunks/{NcInputField-BNi4nRz_.cjs → NcInputField-DX2Jz57P.cjs} +4 -4
  320. package/dist/chunks/{NcInputField-BNi4nRz_.cjs.map → NcInputField-DX2Jz57P.cjs.map} +1 -1
  321. package/dist/chunks/{NcInputField-DyXCCIOM.mjs → NcInputField-j5EyU7QH.mjs} +4 -4
  322. package/dist/chunks/{NcInputField-DyXCCIOM.mjs.map → NcInputField-j5EyU7QH.mjs.map} +1 -1
  323. package/dist/chunks/{NcKbd-BOezPDqA.cjs → NcKbd-DbjnDaJH.cjs} +2 -2
  324. package/dist/chunks/{NcKbd-BOezPDqA.cjs.map → NcKbd-DbjnDaJH.cjs.map} +1 -1
  325. package/dist/chunks/{NcKbd-CUoUkqEz.mjs → NcKbd-GB8FuSAU.mjs} +2 -2
  326. package/dist/chunks/{NcKbd-CUoUkqEz.mjs.map → NcKbd-GB8FuSAU.mjs.map} +1 -1
  327. package/dist/chunks/{NcListItem-BYJvJ8iU.cjs → NcListItem-C14yh4-n.cjs} +2 -2
  328. package/dist/chunks/{NcListItem-BYJvJ8iU.cjs.map → NcListItem-C14yh4-n.cjs.map} +1 -1
  329. package/dist/chunks/{NcListItem-DzezqYDz.mjs → NcListItem-D0JDzXkL.mjs} +2 -2
  330. package/dist/chunks/{NcListItem-DzezqYDz.mjs.map → NcListItem-D0JDzXkL.mjs.map} +1 -1
  331. package/dist/chunks/{NcListItemIcon-mfE2915t.cjs → NcListItemIcon-BccR3hro.cjs} +2 -2
  332. package/dist/chunks/{NcListItemIcon-mfE2915t.cjs.map → NcListItemIcon-BccR3hro.cjs.map} +1 -1
  333. package/dist/chunks/{NcListItemIcon-BKWOSFfG.mjs → NcListItemIcon-D35XZDGI.mjs} +2 -2
  334. package/dist/chunks/{NcListItemIcon-BKWOSFfG.mjs.map → NcListItemIcon-D35XZDGI.mjs.map} +1 -1
  335. package/dist/chunks/{NcPasswordField-DVXnb5JS.cjs → NcPasswordField-BkY96Kt0.cjs} +8 -9
  336. package/dist/chunks/NcPasswordField-BkY96Kt0.cjs.map +1 -0
  337. package/dist/chunks/{NcPasswordField-Di_KXR_G.mjs → NcPasswordField-HQK5d_nv.mjs} +8 -9
  338. package/dist/chunks/NcPasswordField-HQK5d_nv.mjs.map +1 -0
  339. package/dist/chunks/{NcRelatedResourcesPanel-MmhCAbd4.mjs → NcRelatedResourcesPanel-BdmY-Mly.mjs} +9 -9
  340. package/dist/chunks/{NcRelatedResourcesPanel-MmhCAbd4.mjs.map → NcRelatedResourcesPanel-BdmY-Mly.mjs.map} +1 -1
  341. package/dist/chunks/{NcRelatedResourcesPanel-BNyUdxZY.cjs → NcRelatedResourcesPanel-BmpOFhV1.cjs} +9 -9
  342. package/dist/chunks/{NcRelatedResourcesPanel-BNyUdxZY.cjs.map → NcRelatedResourcesPanel-BmpOFhV1.cjs.map} +1 -1
  343. package/dist/chunks/{NcRichContenteditable-BDjKhFe3.mjs → NcRichContenteditable-BcTSkyeW.mjs} +57 -36
  344. package/dist/chunks/NcRichContenteditable-BcTSkyeW.mjs.map +1 -0
  345. package/dist/chunks/{NcRichContenteditable-C7lbE4KZ.cjs → NcRichContenteditable-QnLNsBkB.cjs} +57 -36
  346. package/dist/chunks/NcRichContenteditable-QnLNsBkB.cjs.map +1 -0
  347. package/dist/chunks/{NcRichText-C5whs7n-.cjs → NcRichText-CiRdCF_B.cjs} +256 -299
  348. package/dist/chunks/NcRichText-CiRdCF_B.cjs.map +1 -0
  349. package/dist/chunks/{NcRichText-DTzKWfUk.mjs → NcRichText-DZgAb6-3.mjs} +255 -298
  350. package/dist/chunks/NcRichText-DZgAb6-3.mjs.map +1 -0
  351. package/dist/chunks/{NcSelect-BDPuWrJ7.cjs → NcSelect-DVXAVRT_.cjs} +3 -3
  352. package/dist/chunks/{NcSelect-BDPuWrJ7.cjs.map → NcSelect-DVXAVRT_.cjs.map} +1 -1
  353. package/dist/chunks/{NcSelect-BD9fhCVy.mjs → NcSelect-FwcxH76q.mjs} +3 -3
  354. package/dist/chunks/{NcSelect-BD9fhCVy.mjs.map → NcSelect-FwcxH76q.mjs.map} +1 -1
  355. package/dist/chunks/{NcSelectTags-BdCxmpQz.cjs → NcSelectTags-BNFcTbHy.cjs} +3 -3
  356. package/dist/chunks/{NcSelectTags-BdCxmpQz.cjs.map → NcSelectTags-BNFcTbHy.cjs.map} +1 -1
  357. package/dist/chunks/{NcSelectTags-AFttsKK_.mjs → NcSelectTags-yZfa_z_z.mjs} +3 -3
  358. package/dist/chunks/{NcSelectTags-AFttsKK_.mjs.map → NcSelectTags-yZfa_z_z.mjs.map} +1 -1
  359. package/dist/chunks/{NcSelectUsers-BRDGLoPt.mjs → NcSelectUsers-5r-vvEVy.mjs} +5 -5
  360. package/dist/chunks/{NcSelectUsers-BRDGLoPt.mjs.map → NcSelectUsers-5r-vvEVy.mjs.map} +1 -1
  361. package/dist/chunks/{NcSelectUsers-Tl4BZ0R-.cjs → NcSelectUsers-fp6nf6ic.cjs} +5 -5
  362. package/dist/chunks/{NcSelectUsers-Tl4BZ0R-.cjs.map → NcSelectUsers-fp6nf6ic.cjs.map} +1 -1
  363. package/dist/chunks/{NcSettingsInputText-C4vnFBMY.cjs → NcSettingsInputText-BF5437Q7.cjs} +3 -3
  364. package/dist/chunks/{NcSettingsInputText-C4vnFBMY.cjs.map → NcSettingsInputText-BF5437Q7.cjs.map} +1 -1
  365. package/dist/chunks/{NcSettingsInputText-BeLtzRuE.mjs → NcSettingsInputText-BwnkZzWL.mjs} +3 -3
  366. package/dist/chunks/{NcSettingsInputText-BeLtzRuE.mjs.map → NcSettingsInputText-BwnkZzWL.mjs.map} +1 -1
  367. package/dist/chunks/{NcSettingsSection-B26VKgIm.cjs → NcSettingsSection-BrIKMh-B.cjs} +2 -2
  368. package/dist/chunks/{NcSettingsSection-B26VKgIm.cjs.map → NcSettingsSection-BrIKMh-B.cjs.map} +1 -1
  369. package/dist/chunks/{NcSettingsSection-CCJrqjyc.mjs → NcSettingsSection-Dz_b9rcq.mjs} +2 -2
  370. package/dist/chunks/{NcSettingsSection-CCJrqjyc.mjs.map → NcSettingsSection-Dz_b9rcq.mjs.map} +1 -1
  371. package/dist/chunks/{NcSettingsSelectGroup-BqSdPsYY.mjs → NcSettingsSelectGroup-CUM0vkbN.mjs} +4 -4
  372. package/dist/chunks/{NcSettingsSelectGroup-BqSdPsYY.mjs.map → NcSettingsSelectGroup-CUM0vkbN.mjs.map} +1 -1
  373. package/dist/chunks/{NcSettingsSelectGroup-BAbur3rR.cjs → NcSettingsSelectGroup-D5EWVZ7k.cjs} +4 -4
  374. package/dist/chunks/{NcSettingsSelectGroup-BAbur3rR.cjs.map → NcSettingsSelectGroup-D5EWVZ7k.cjs.map} +1 -1
  375. package/dist/chunks/{NcTextArea-CdYBB93W.cjs → NcTextArea-UKiTMLga.cjs} +3 -3
  376. package/dist/chunks/{NcTextArea-CdYBB93W.cjs.map → NcTextArea-UKiTMLga.cjs.map} +1 -1
  377. package/dist/chunks/{NcTextArea-DaYLP_Lc.mjs → NcTextArea-fGUiK7p2.mjs} +3 -3
  378. package/dist/chunks/{NcTextArea-DaYLP_Lc.mjs.map → NcTextArea-fGUiK7p2.mjs.map} +1 -1
  379. package/dist/chunks/{NcTextField-BdfF5z6a.cjs → NcTextField-B2tcddKo.cjs} +4 -4
  380. package/dist/chunks/{NcTextField-BdfF5z6a.cjs.map → NcTextField-B2tcddKo.cjs.map} +1 -1
  381. package/dist/chunks/{NcTextField-DLlQozKA.mjs → NcTextField-ByDOTNvC.mjs} +4 -4
  382. package/dist/chunks/{NcTextField-DLlQozKA.mjs.map → NcTextField-ByDOTNvC.mjs.map} +1 -1
  383. package/dist/chunks/{NcTimezonePicker-B-o71qLO.cjs → NcTimezonePicker-CeQXCjIR.cjs} +4 -4
  384. package/dist/chunks/{NcTimezonePicker-B-o71qLO.cjs.map → NcTimezonePicker-CeQXCjIR.cjs.map} +1 -1
  385. package/dist/chunks/{NcTimezonePicker-DTdF1yG4.mjs → NcTimezonePicker-Cok_NaVd.mjs} +4 -4
  386. package/dist/chunks/{NcTimezonePicker-DTdF1yG4.mjs.map → NcTimezonePicker-Cok_NaVd.mjs.map} +1 -1
  387. package/dist/chunks/{NcUserBubble-DBqYZmgY.cjs → NcUserBubble-CIcwErdM.cjs} +2 -2
  388. package/dist/chunks/{NcUserBubble-DBqYZmgY.cjs.map → NcUserBubble-CIcwErdM.cjs.map} +1 -1
  389. package/dist/chunks/{NcUserBubble-CWgceS0Q.mjs → NcUserBubble-Csw7PXyG.mjs} +2 -2
  390. package/dist/chunks/{NcUserBubble-CWgceS0Q.mjs.map → NcUserBubble-Csw7PXyG.mjs.map} +1 -1
  391. package/dist/chunks/{NcUserStatusIcon-CVgFNNxH.cjs → NcUserStatusIcon-Bw0m9Xza.cjs} +3 -3
  392. package/dist/chunks/{NcUserStatusIcon-CVgFNNxH.cjs.map → NcUserStatusIcon-Bw0m9Xza.cjs.map} +1 -1
  393. package/dist/chunks/{NcUserStatusIcon-BjrsTrss.mjs → NcUserStatusIcon-Cq1RnTfF.mjs} +3 -3
  394. package/dist/chunks/{NcUserStatusIcon-BjrsTrss.mjs.map → NcUserStatusIcon-Cq1RnTfF.mjs.map} +1 -1
  395. package/dist/chunks/{ScopeComponent-DnsVyhxP.mjs → ScopeComponent-B6luC3XR.mjs} +2 -2
  396. package/dist/chunks/{ScopeComponent-DnsVyhxP.mjs.map → ScopeComponent-B6luC3XR.mjs.map} +1 -1
  397. package/dist/chunks/{ScopeComponent-Zty1tz_X.cjs → ScopeComponent-Co-1SOFK.cjs} +2 -2
  398. package/dist/chunks/{ScopeComponent-Zty1tz_X.cjs.map → ScopeComponent-Co-1SOFK.cjs.map} +1 -1
  399. package/dist/chunks/{_l10n-Dpecfv0B.mjs → _l10n-DVz9Qdzk.mjs} +43 -41
  400. package/dist/chunks/_l10n-DVz9Qdzk.mjs.map +1 -0
  401. package/dist/chunks/{_l10n-Cd8G51Ar.cjs → _l10n-skrZri3h.cjs} +16 -14
  402. package/dist/chunks/{_l10n-Cd8G51Ar.cjs.map → _l10n-skrZri3h.cjs.map} +1 -1
  403. package/dist/chunks/{autolink-D2pIbi92.mjs → autolink-CeB9uxD9.mjs} +56 -21
  404. package/dist/chunks/autolink-CeB9uxD9.mjs.map +1 -0
  405. package/dist/chunks/{autolink-BPlRHRHR.cjs → autolink-VQMuzjxl.cjs} +57 -22
  406. package/dist/chunks/autolink-VQMuzjxl.cjs.map +1 -0
  407. package/dist/chunks/{colors-DFNwuW2a.mjs → colors-BmzDi7by.mjs} +2 -2
  408. package/dist/chunks/{colors-DFNwuW2a.mjs.map → colors-BmzDi7by.mjs.map} +1 -1
  409. package/dist/chunks/{colors-Cvcv7NQc.cjs → colors-CND3oL8e.cjs} +2 -2
  410. package/dist/chunks/{colors-Cvcv7NQc.cjs.map → colors-CND3oL8e.cjs.map} +1 -1
  411. package/dist/chunks/{emoji-BY_D0V5K.mjs → emoji-Dtn2mDf7.mjs} +14 -3
  412. package/dist/chunks/emoji-Dtn2mDf7.mjs.map +1 -0
  413. package/dist/chunks/{emoji-VgSjNTd5.cjs → emoji-aWWWqkrJ.cjs} +14 -3
  414. package/dist/chunks/emoji-aWWWqkrJ.cjs.map +1 -0
  415. package/dist/chunks/{getAvatarUrl-Du9Y3cPO.cjs → getAvatarUrl-4HsuXa3l.cjs} +2 -2
  416. package/dist/chunks/{getAvatarUrl-Du9Y3cPO.cjs.map → getAvatarUrl-4HsuXa3l.cjs.map} +1 -1
  417. package/dist/chunks/{getAvatarUrl-IhLacDEr.mjs → getAvatarUrl-BGOeDmNO.mjs} +2 -2
  418. package/dist/chunks/{getAvatarUrl-IhLacDEr.mjs.map → getAvatarUrl-BGOeDmNO.mjs.map} +1 -1
  419. package/dist/chunks/{index-TmAR7I2T.mjs → index-BCqXu_og.mjs} +2 -2
  420. package/dist/chunks/{index-TmAR7I2T.mjs.map → index-BCqXu_og.mjs.map} +1 -1
  421. package/dist/chunks/{index-CgkN1xho.cjs → index-phHwkniW.cjs} +2 -2
  422. package/dist/chunks/{index-CgkN1xho.cjs.map → index-phHwkniW.cjs.map} +1 -1
  423. package/dist/chunks/{referencePickerModal-Cd3jRn0q.cjs → referencePickerModal-BOCqzVJk.cjs} +9 -9
  424. package/dist/chunks/{referencePickerModal-Cd3jRn0q.cjs.map → referencePickerModal-BOCqzVJk.cjs.map} +1 -1
  425. package/dist/chunks/{referencePickerModal-BqYhlLYA.mjs → referencePickerModal-BQExd0w6.mjs} +9 -9
  426. package/dist/chunks/{referencePickerModal-BqYhlLYA.mjs.map → referencePickerModal-BQExd0w6.mjs.map} +1 -1
  427. package/dist/chunks/{useCopy-Crn9gIC_.cjs → useCopy-3m2jDiIN.cjs} +2 -2
  428. package/dist/chunks/{useCopy-Crn9gIC_.cjs.map → useCopy-3m2jDiIN.cjs.map} +1 -1
  429. package/dist/chunks/{useCopy-CYjunv08.mjs → useCopy-DDDe5RYH.mjs} +2 -2
  430. package/dist/chunks/{useCopy-CYjunv08.mjs.map → useCopy-DDDe5RYH.mjs.map} +1 -1
  431. package/dist/components/NcFilePicker/index.d.ts +6 -0
  432. package/dist/components/NcRichText/remarkStripCode.d.ts +2 -0
  433. package/dist/functions/emoji/emoji.d.ts +11 -5
  434. package/dist/index.cjs +60 -57
  435. package/dist/index.cjs.map +1 -1
  436. package/dist/index.mjs +62 -59
  437. package/dist/index.mjs.map +1 -1
  438. package/dist/vendor.LICENSE.txt +2 -6
  439. package/package.json +23 -21
  440. package/dist/chunks/NcActionButton-1gSJfFUC.mjs.map +0 -1
  441. package/dist/chunks/NcActionButton-C5Dqge0c.cjs.map +0 -1
  442. package/dist/chunks/NcActionButtonGroup-BxvJmEwM.mjs.map +0 -1
  443. package/dist/chunks/NcActionButtonGroup-QVUAMbKq.cjs.map +0 -1
  444. package/dist/chunks/NcActionInput-BLfZBCFj.mjs.map +0 -1
  445. package/dist/chunks/NcActionInput-CuhJdyHk.cjs.map +0 -1
  446. package/dist/chunks/NcActionTextEditable-CIsAP-pp.mjs.map +0 -1
  447. package/dist/chunks/NcActionTextEditable-RFLtWxrl.cjs.map +0 -1
  448. package/dist/chunks/NcActions-B7LKaVy0.mjs.map +0 -1
  449. package/dist/chunks/NcActions-RVSfZOYh.cjs.map +0 -1
  450. package/dist/chunks/NcAppContent-BQbYzcUh.mjs.map +0 -1
  451. package/dist/chunks/NcAppContent-iiQ0CC8-.cjs.map +0 -1
  452. package/dist/chunks/NcAppNavigation-Cu8LpQSI.mjs.map +0 -1
  453. package/dist/chunks/NcAppNavigation-DjeB8XMY.cjs.map +0 -1
  454. package/dist/chunks/NcAppSettingsShortcutsSection-CiLZpXkV.mjs.map +0 -1
  455. package/dist/chunks/NcAppSettingsShortcutsSection-Ow8Xrs6j.cjs.map +0 -1
  456. package/dist/chunks/NcButton-CuFElrFD.cjs.map +0 -1
  457. package/dist/chunks/NcButton-Dz2O6cSU.mjs.map +0 -1
  458. package/dist/chunks/NcPasswordField-DVXnb5JS.cjs.map +0 -1
  459. package/dist/chunks/NcPasswordField-Di_KXR_G.mjs.map +0 -1
  460. package/dist/chunks/NcRichContenteditable-BDjKhFe3.mjs.map +0 -1
  461. package/dist/chunks/NcRichContenteditable-C7lbE4KZ.cjs.map +0 -1
  462. package/dist/chunks/NcRichText-C5whs7n-.cjs.map +0 -1
  463. package/dist/chunks/NcRichText-DTzKWfUk.mjs.map +0 -1
  464. package/dist/chunks/_l10n-Dpecfv0B.mjs.map +0 -1
  465. package/dist/chunks/autolink-BPlRHRHR.cjs.map +0 -1
  466. package/dist/chunks/autolink-D2pIbi92.mjs.map +0 -1
  467. package/dist/chunks/emoji-BY_D0V5K.mjs.map +0 -1
  468. package/dist/chunks/emoji-VgSjNTd5.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- require('../assets/NcRichText-C72XMOoz.css');
1
+ require('../assets/NcRichText-Cp_5tfBy.css');
2
2
  "use strict";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -22,6 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
23
23
  mod
24
24
  ));
25
+ const mdastUtilToString = require("mdast-util-to-string");
25
26
  const rehypeExternalLinks = require("rehype-external-links");
26
27
  const rehype2react = require("rehype-react");
27
28
  const breaks = require("remark-breaks");
@@ -31,21 +32,21 @@ const remarkUnlinkProtocols = require("remark-unlink-protocols");
31
32
  const unified = require("unified");
32
33
  const Vue = require("vue");
33
34
  const vueRouter = require("vue-router");
34
- const NcCheckboxRadioSwitch = require("./NcCheckboxRadioSwitch-DtrlpJJN.cjs");
35
+ const NcCheckboxRadioSwitch = require("./NcCheckboxRadioSwitch-BQeglWXd.cjs");
35
36
  const auth = require("@nextcloud/auth");
36
37
  const axios = require("@nextcloud/axios");
37
38
  const router = require("@nextcloud/router");
38
39
  const _public = require("@nextcloud/sharing/public");
39
- const referencePickerModal = require("./referencePickerModal-Cd3jRn0q.cjs");
40
+ const referencePickerModal = require("./referencePickerModal-BOCqzVJk.cjs");
40
41
  const logger = require("./logger-3HuiEIF6.cjs");
41
- const autolink = require("./autolink-BPlRHRHR.cjs");
42
+ const autolink = require("./autolink-VQMuzjxl.cjs");
42
43
  const _pluginVue2_normalizer = require("./_plugin-vue2_normalizer-V0q-tHlQ.cjs");
43
- const NcButton = require("./NcButton-CuFElrFD.cjs");
44
+ const NcButton = require("./NcButton-DaWD-X8V.cjs");
44
45
  const NcIconSvgWrapper = require("./NcIconSvgWrapper-Bbl4kXZI.cjs");
45
- const useCopy = require("./useCopy-Crn9gIC_.cjs");
46
+ const useCopy = require("./useCopy-3m2jDiIN.cjs");
46
47
  const GenRandomId = require("./GenRandomId-D7iOvpZS.cjs");
47
48
  const unistBuilder = require("unist-builder");
48
- const unistUtilVisit = require("unist-util-visit");
49
+ const unistUtilVisitParents = require("unist-util-visit-parents");
49
50
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
50
51
  const rehypeExternalLinks__default = /* @__PURE__ */ _interopDefault(rehypeExternalLinks);
51
52
  const rehype2react__default = /* @__PURE__ */ _interopDefault(rehype2react);
@@ -286,12 +287,12 @@ function propsFactory(check) {
286
287
  /** @type {Record<string, unknown>} */
287
288
  check
288
289
  );
289
- return castFactory(all2);
290
- function all2(node2) {
290
+ return castFactory(all);
291
+ function all(node) {
291
292
  const nodeAsRecord = (
292
293
  /** @type {Record<string, unknown>} */
293
294
  /** @type {unknown} */
294
- node2
295
+ node
295
296
  );
296
297
  let key;
297
298
  for (key in check) {
@@ -302,8 +303,8 @@ function propsFactory(check) {
302
303
  }
303
304
  function typeFactory(check) {
304
305
  return castFactory(type);
305
- function type(node2) {
306
- return node2 && node2.type === check;
306
+ function type(node) {
307
+ return node && node.type === check;
307
308
  }
308
309
  }
309
310
  function castFactory(testFunction) {
@@ -325,90 +326,15 @@ function ok() {
325
326
  function looksLikeANode(value) {
326
327
  return value !== null && typeof value === "object" && "type" in value;
327
328
  }
328
- function color(d) {
329
- return d;
330
- }
331
- const empty = [];
332
- const CONTINUE = true;
333
- const EXIT = false;
334
- const SKIP = "skip";
335
- function visitParents(tree, test, visitor, reverse) {
336
- let check;
337
- {
338
- check = test;
339
- }
340
- const is = convert(check);
341
- const step = 1;
342
- factory(tree, void 0, [])();
343
- function factory(node2, index, parents) {
344
- const value = (
345
- /** @type {Record<string, unknown>} */
346
- node2 && typeof node2 === "object" ? node2 : {}
347
- );
348
- if (typeof value.type === "string") {
349
- const name = (
350
- // `hast`
351
- typeof value.tagName === "string" ? value.tagName : (
352
- // `xast`
353
- typeof value.name === "string" ? value.name : void 0
354
- )
355
- );
356
- Object.defineProperty(visit, "name", {
357
- value: "node (" + color(node2.type + (name ? "<" + name + ">" : "")) + ")"
358
- });
359
- }
360
- return visit;
361
- function visit() {
362
- let result = empty;
363
- let subresult;
364
- let offset;
365
- let grandparents;
366
- if (is(node2, index, parents[parents.length - 1] || void 0)) {
367
- result = toResult(visitor(node2, parents));
368
- if (result[0] === EXIT) {
369
- return result;
370
- }
371
- }
372
- if ("children" in node2 && node2.children) {
373
- const nodeAsParent = (
374
- /** @type {UnistParent} */
375
- node2
376
- );
377
- if (nodeAsParent.children && result[0] !== SKIP) {
378
- offset = -1 + step;
379
- grandparents = parents.concat(nodeAsParent);
380
- while (offset > -1 && offset < nodeAsParent.children.length) {
381
- const child = nodeAsParent.children[offset];
382
- subresult = factory(child, offset, grandparents)();
383
- if (subresult[0] === EXIT) {
384
- return subresult;
385
- }
386
- offset = typeof subresult[1] === "number" ? subresult[1] : offset + step;
387
- }
388
- }
389
- }
390
- return result;
391
- }
392
- }
393
- }
394
- function toResult(value) {
395
- if (Array.isArray(value)) {
396
- return value;
397
- }
398
- if (typeof value === "number") {
399
- return [CONTINUE, value];
400
- }
401
- return value === null || value === void 0 ? empty : [value];
402
- }
403
329
  function findAndReplace(tree, list2, options) {
404
330
  const settings = options || {};
405
331
  const ignored = convert(settings.ignore || []);
406
332
  const pairs = toPairs(list2);
407
333
  let pairIndex = -1;
408
334
  while (++pairIndex < pairs.length) {
409
- visitParents(tree, "text", visitor);
335
+ unistUtilVisitParents.visitParents(tree, "text", visitor);
410
336
  }
411
- function visitor(node2, parents) {
337
+ function visitor(node, parents) {
412
338
  let index = -1;
413
339
  let grandparent;
414
340
  while (++index < parents.length) {
@@ -424,26 +350,26 @@ function findAndReplace(tree, list2, options) {
424
350
  grandparent = parent;
425
351
  }
426
352
  if (grandparent) {
427
- return handler(node2, parents);
353
+ return handler(node, parents);
428
354
  }
429
355
  }
430
- function handler(node2, parents) {
356
+ function handler(node, parents) {
431
357
  const parent = parents[parents.length - 1];
432
358
  const find = pairs[pairIndex][0];
433
359
  const replace2 = pairs[pairIndex][1];
434
360
  let start = 0;
435
361
  const siblings = parent.children;
436
- const index = siblings.indexOf(node2);
362
+ const index = siblings.indexOf(node);
437
363
  let change = false;
438
364
  let nodes = [];
439
365
  find.lastIndex = 0;
440
- let match = find.exec(node2.value);
366
+ let match = find.exec(node.value);
441
367
  while (match) {
442
368
  const position = match.index;
443
369
  const matchObject = {
444
370
  index: match.index,
445
371
  input: match.input,
446
- stack: [...parents, node2]
372
+ stack: [...parents, node]
447
373
  };
448
374
  let value = replace2(...match, matchObject);
449
375
  if (typeof value === "string") {
@@ -455,7 +381,7 @@ function findAndReplace(tree, list2, options) {
455
381
  if (start !== position) {
456
382
  nodes.push({
457
383
  type: "text",
458
- value: node2.value.slice(start, position)
384
+ value: node.value.slice(start, position)
459
385
  });
460
386
  }
461
387
  if (Array.isArray(value)) {
@@ -469,15 +395,15 @@ function findAndReplace(tree, list2, options) {
469
395
  if (!find.global) {
470
396
  break;
471
397
  }
472
- match = find.exec(node2.value);
398
+ match = find.exec(node.value);
473
399
  }
474
400
  if (change) {
475
- if (start < node2.value.length) {
476
- nodes.push({ type: "text", value: node2.value.slice(start) });
401
+ if (start < node.value.length) {
402
+ nodes.push({ type: "text", value: node.value.slice(start) });
477
403
  }
478
404
  parent.children.splice(index, 1, ...nodes);
479
405
  } else {
480
- nodes = [node2];
406
+ nodes = [node];
481
407
  }
482
408
  return index + nodes.length;
483
409
  }
@@ -560,9 +486,9 @@ function exitLiteralAutolinkHttp(token) {
560
486
  }
561
487
  function exitLiteralAutolinkWww(token) {
562
488
  this.config.exit.data.call(this, token);
563
- const node2 = this.stack[this.stack.length - 1];
564
- ok$1(node2.type === "link");
565
- node2.url = "http://" + this.sliceSerialize(token);
489
+ const node = this.stack[this.stack.length - 1];
490
+ ok$1(node.type === "link");
491
+ node.url = "http://" + this.sliceSerialize(token);
566
492
  }
567
493
  function exitLiteralAutolinkEmail(token) {
568
494
  this.config.exit.autolinkEmail.call(this, token);
@@ -688,10 +614,10 @@ function enterFootnoteDefinitionLabelString() {
688
614
  }
689
615
  function exitFootnoteDefinitionLabelString(token) {
690
616
  const label = this.resume();
691
- const node2 = this.stack[this.stack.length - 1];
692
- ok$1(node2.type === "footnoteDefinition");
693
- node2.label = label;
694
- node2.identifier = normalizeIdentifier(
617
+ const node = this.stack[this.stack.length - 1];
618
+ ok$1(node.type === "footnoteDefinition");
619
+ node.label = label;
620
+ node.identifier = normalizeIdentifier(
695
621
  this.sliceSerialize(token)
696
622
  ).toLowerCase();
697
623
  }
@@ -706,23 +632,23 @@ function enterFootnoteCallString() {
706
632
  }
707
633
  function exitFootnoteCallString(token) {
708
634
  const label = this.resume();
709
- const node2 = this.stack[this.stack.length - 1];
710
- ok$1(node2.type === "footnoteReference");
711
- node2.label = label;
712
- node2.identifier = normalizeIdentifier(
635
+ const node = this.stack[this.stack.length - 1];
636
+ ok$1(node.type === "footnoteReference");
637
+ node.label = label;
638
+ node.identifier = normalizeIdentifier(
713
639
  this.sliceSerialize(token)
714
640
  ).toLowerCase();
715
641
  }
716
642
  function exitFootnoteCall(token) {
717
643
  this.exit(token);
718
644
  }
719
- function footnoteReference(node2, _, state, info) {
645
+ function footnoteReference(node, _, state, info) {
720
646
  const tracker = state.createTracker(info);
721
647
  let value = tracker.move("[^");
722
648
  const exit2 = state.enter("footnoteReference");
723
649
  const subexit = state.enter("reference");
724
650
  value += tracker.move(
725
- state.safe(state.associationId(node2), {
651
+ state.safe(state.associationId(node), {
726
652
  ...tracker.current(),
727
653
  before: value,
728
654
  after: "]"
@@ -736,13 +662,13 @@ function footnoteReference(node2, _, state, info) {
736
662
  function footnoteReferencePeek() {
737
663
  return "[";
738
664
  }
739
- function footnoteDefinition(node2, _, state, info) {
665
+ function footnoteDefinition(node, _, state, info) {
740
666
  const tracker = state.createTracker(info);
741
667
  let value = tracker.move("[^");
742
668
  const exit2 = state.enter("footnoteDefinition");
743
669
  const subexit = state.enter("label");
744
670
  value += tracker.move(
745
- state.safe(state.associationId(node2), {
671
+ state.safe(state.associationId(node), {
746
672
  ...tracker.current(),
747
673
  before: value,
748
674
  after: "]"
@@ -750,11 +676,11 @@ function footnoteDefinition(node2, _, state, info) {
750
676
  );
751
677
  subexit();
752
678
  value += tracker.move(
753
- "]:" + (node2.children && node2.children.length > 0 ? " " : "")
679
+ "]:" + (node.children && node.children.length > 0 ? " " : "")
754
680
  );
755
681
  tracker.shift(4);
756
682
  value += tracker.move(
757
- state.indentLines(state.containerFlow(node2, tracker.current()), map$2)
683
+ state.indentLines(state.containerFlow(node, tracker.current()), map$2)
758
684
  );
759
685
  exit2();
760
686
  return value;
@@ -799,11 +725,11 @@ function enterStrikethrough(token) {
799
725
  function exitStrikethrough(token) {
800
726
  this.exit(token);
801
727
  }
802
- function handleDelete(node2, _, state, info) {
728
+ function handleDelete(node, _, state, info) {
803
729
  const tracker = state.createTracker(info);
804
730
  const exit2 = state.enter("strikethrough");
805
731
  let value = tracker.move("~~");
806
- value += state.containerPhrasing(node2, {
732
+ value += state.containerPhrasing(node, {
807
733
  ...tracker.current(),
808
734
  before: value,
809
735
  after: "~"
@@ -953,13 +879,13 @@ function toAlignment(value) {
953
879
  const code2 = typeof value === "string" ? value.codePointAt(0) : 0;
954
880
  return code2 === 67 || code2 === 99 ? 99 : code2 === 76 || code2 === 108 ? 108 : code2 === 82 || code2 === 114 ? 114 : 0;
955
881
  }
956
- function blockquote(node2, _, state, info) {
882
+ function blockquote(node, _, state, info) {
957
883
  const exit2 = state.enter("blockquote");
958
884
  const tracker = state.createTracker(info);
959
885
  tracker.move("> ");
960
886
  tracker.shift(2);
961
887
  const value = state.indentLines(
962
- state.containerFlow(node2, tracker.current()),
888
+ state.containerFlow(node, tracker.current()),
963
889
  map$1
964
890
  );
965
891
  exit2();
@@ -1017,12 +943,12 @@ function longestStreak(value, substring) {
1017
943
  }
1018
944
  return max;
1019
945
  }
1020
- function formatCodeAsIndented(node2, state) {
946
+ function formatCodeAsIndented(node, state) {
1021
947
  return Boolean(
1022
- state.options.fences === false && node2.value && // If there’s no info…
1023
- !node2.lang && // And there’s a non-whitespace character…
1024
- /[^ \r\n]/.test(node2.value) && // And the value doesn’t start or end in a blank…
1025
- !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node2.value)
948
+ state.options.fences === false && node.value && // If there’s no info…
949
+ !node.lang && // And there’s a non-whitespace character…
950
+ /[^ \r\n]/.test(node.value) && // And the value doesn’t start or end in a blank…
951
+ !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node.value)
1026
952
  );
1027
953
  }
1028
954
  function checkFence(state) {
@@ -1034,11 +960,11 @@ function checkFence(state) {
1034
960
  }
1035
961
  return marker;
1036
962
  }
1037
- function code$1(node2, _, state, info) {
963
+ function code$1(node, _, state, info) {
1038
964
  const marker = checkFence(state);
1039
- const raw = node2.value || "";
965
+ const raw = node.value || "";
1040
966
  const suffix = marker === "`" ? "GraveAccent" : "Tilde";
1041
- if (formatCodeAsIndented(node2, state)) {
967
+ if (formatCodeAsIndented(node, state)) {
1042
968
  const exit3 = state.enter("codeIndented");
1043
969
  const value2 = state.indentLines(raw, map);
1044
970
  exit3();
@@ -1048,10 +974,10 @@ function code$1(node2, _, state, info) {
1048
974
  const sequence = marker.repeat(Math.max(longestStreak(raw, marker) + 1, 3));
1049
975
  const exit2 = state.enter("codeFenced");
1050
976
  let value = tracker.move(sequence);
1051
- if (node2.lang) {
977
+ if (node.lang) {
1052
978
  const subexit = state.enter(`codeFencedLang${suffix}`);
1053
979
  value += tracker.move(
1054
- state.safe(node2.lang, {
980
+ state.safe(node.lang, {
1055
981
  before: value,
1056
982
  after: " ",
1057
983
  encode: ["`"],
@@ -1060,11 +986,11 @@ function code$1(node2, _, state, info) {
1060
986
  );
1061
987
  subexit();
1062
988
  }
1063
- if (node2.lang && node2.meta) {
989
+ if (node.lang && node.meta) {
1064
990
  const subexit = state.enter(`codeFencedMeta${suffix}`);
1065
991
  value += tracker.move(" ");
1066
992
  value += tracker.move(
1067
- state.safe(node2.meta, {
993
+ state.safe(node.meta, {
1068
994
  before: value,
1069
995
  after: "\n",
1070
996
  encode: ["`"],
@@ -1093,7 +1019,7 @@ function checkQuote(state) {
1093
1019
  }
1094
1020
  return marker;
1095
1021
  }
1096
- function definition(node2, _, state, info) {
1022
+ function definition(node, _, state, info) {
1097
1023
  const quote = checkQuote(state);
1098
1024
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1099
1025
  const exit2 = state.enter("definition");
@@ -1101,7 +1027,7 @@ function definition(node2, _, state, info) {
1101
1027
  const tracker = state.createTracker(info);
1102
1028
  let value = tracker.move("[");
1103
1029
  value += tracker.move(
1104
- state.safe(state.associationId(node2), {
1030
+ state.safe(state.associationId(node), {
1105
1031
  before: value,
1106
1032
  after: "]",
1107
1033
  ...tracker.current()
@@ -1111,31 +1037,31 @@ function definition(node2, _, state, info) {
1111
1037
  subexit();
1112
1038
  if (
1113
1039
  // If there’s no url, or…
1114
- !node2.url || // If there are control characters or whitespace.
1115
- /[\0- \u007F]/.test(node2.url)
1040
+ !node.url || // If there are control characters or whitespace.
1041
+ /[\0- \u007F]/.test(node.url)
1116
1042
  ) {
1117
1043
  subexit = state.enter("destinationLiteral");
1118
1044
  value += tracker.move("<");
1119
1045
  value += tracker.move(
1120
- state.safe(node2.url, { before: value, after: ">", ...tracker.current() })
1046
+ state.safe(node.url, { before: value, after: ">", ...tracker.current() })
1121
1047
  );
1122
1048
  value += tracker.move(">");
1123
1049
  } else {
1124
1050
  subexit = state.enter("destinationRaw");
1125
1051
  value += tracker.move(
1126
- state.safe(node2.url, {
1052
+ state.safe(node.url, {
1127
1053
  before: value,
1128
- after: node2.title ? " " : "\n",
1054
+ after: node.title ? " " : "\n",
1129
1055
  ...tracker.current()
1130
1056
  })
1131
1057
  );
1132
1058
  }
1133
1059
  subexit();
1134
- if (node2.title) {
1060
+ if (node.title) {
1135
1061
  subexit = state.enter(`title${suffix}`);
1136
1062
  value += tracker.move(" " + quote);
1137
1063
  value += tracker.move(
1138
- state.safe(node2.title, {
1064
+ state.safe(node.title, {
1139
1065
  before: value,
1140
1066
  after: quote,
1141
1067
  ...tracker.current()
@@ -1157,13 +1083,13 @@ function checkEmphasis(state) {
1157
1083
  return marker;
1158
1084
  }
1159
1085
  emphasis.peek = emphasisPeek;
1160
- function emphasis(node2, _, state, info) {
1086
+ function emphasis(node, _, state, info) {
1161
1087
  const marker = checkEmphasis(state);
1162
1088
  const exit2 = state.enter("emphasis");
1163
1089
  const tracker = state.createTracker(info);
1164
1090
  let value = tracker.move(marker);
1165
1091
  value += tracker.move(
1166
- state.containerPhrasing(node2, {
1092
+ state.containerPhrasing(node, {
1167
1093
  before: value,
1168
1094
  after: marker,
1169
1095
  ...tracker.current()
@@ -1176,60 +1102,45 @@ function emphasis(node2, _, state, info) {
1176
1102
  function emphasisPeek(_, _1, state) {
1177
1103
  return state.options.emphasis || "*";
1178
1104
  }
1179
- const emptyOptions$1 = {};
1180
- function toString(value, options) {
1181
- const settings = emptyOptions$1;
1182
- const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
1183
- const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
1184
- return one(value, includeImageAlt, includeHtml);
1185
- }
1186
- function one(value, includeImageAlt, includeHtml) {
1187
- if (node(value)) {
1188
- if ("value" in value) {
1189
- return value.type === "html" && !includeHtml ? "" : value.value;
1190
- }
1191
- if (includeImageAlt && "alt" in value && value.alt) {
1192
- return value.alt;
1193
- }
1194
- if ("children" in value) {
1195
- return all(value.children, includeImageAlt, includeHtml);
1196
- }
1197
- }
1198
- if (Array.isArray(value)) {
1199
- return all(value, includeImageAlt, includeHtml);
1105
+ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
1106
+ let reverse;
1107
+ let test;
1108
+ let visitor;
1109
+ if (typeof testOrVisitor === "function" && typeof visitorOrReverse !== "function") {
1110
+ test = void 0;
1111
+ visitor = testOrVisitor;
1112
+ reverse = visitorOrReverse;
1113
+ } else {
1114
+ test = testOrVisitor;
1115
+ visitor = visitorOrReverse;
1116
+ reverse = maybeReverse;
1200
1117
  }
1201
- return "";
1202
- }
1203
- function all(values, includeImageAlt, includeHtml) {
1204
- const result = [];
1205
- let index = -1;
1206
- while (++index < values.length) {
1207
- result[index] = one(values[index], includeImageAlt, includeHtml);
1118
+ unistUtilVisitParents.visitParents(tree, test, overload, reverse);
1119
+ function overload(node, parents) {
1120
+ const parent = parents[parents.length - 1];
1121
+ const index = parent ? parent.children.indexOf(node) : void 0;
1122
+ return visitor(node, index, parent);
1208
1123
  }
1209
- return result.join("");
1210
- }
1211
- function node(value) {
1212
- return Boolean(value && typeof value === "object");
1213
1124
  }
1214
- function formatHeadingAsSetext(node2, state) {
1125
+ function formatHeadingAsSetext(node, state) {
1215
1126
  let literalWithBreak = false;
1216
- unistUtilVisit.visit(node2, function(node3) {
1217
- if ("value" in node3 && /\r?\n|\r/.test(node3.value) || node3.type === "break") {
1127
+ visit(node, function(node2) {
1128
+ if ("value" in node2 && /\r?\n|\r/.test(node2.value) || node2.type === "break") {
1218
1129
  literalWithBreak = true;
1219
- return unistUtilVisit.EXIT;
1130
+ return unistUtilVisitParents.EXIT;
1220
1131
  }
1221
1132
  });
1222
1133
  return Boolean(
1223
- (!node2.depth || node2.depth < 3) && toString(node2) && (state.options.setext || literalWithBreak)
1134
+ (!node.depth || node.depth < 3) && mdastUtilToString.toString(node) && (state.options.setext || literalWithBreak)
1224
1135
  );
1225
1136
  }
1226
- function heading(node2, _, state, info) {
1227
- const rank = Math.max(Math.min(6, node2.depth || 1), 1);
1137
+ function heading(node, _, state, info) {
1138
+ const rank = Math.max(Math.min(6, node.depth || 1), 1);
1228
1139
  const tracker = state.createTracker(info);
1229
- if (formatHeadingAsSetext(node2, state)) {
1140
+ if (formatHeadingAsSetext(node, state)) {
1230
1141
  const exit3 = state.enter("headingSetext");
1231
1142
  const subexit2 = state.enter("phrasing");
1232
- const value2 = state.containerPhrasing(node2, {
1143
+ const value2 = state.containerPhrasing(node, {
1233
1144
  ...tracker.current(),
1234
1145
  before: "\n",
1235
1146
  after: "\n"
@@ -1247,7 +1158,7 @@ function heading(node2, _, state, info) {
1247
1158
  const exit2 = state.enter("headingAtx");
1248
1159
  const subexit = state.enter("phrasing");
1249
1160
  tracker.move(sequence + " ");
1250
- let value = state.containerPhrasing(node2, {
1161
+ let value = state.containerPhrasing(node, {
1251
1162
  before: "# ",
1252
1163
  after: "\n",
1253
1164
  ...tracker.current()
@@ -1264,14 +1175,14 @@ function heading(node2, _, state, info) {
1264
1175
  return value;
1265
1176
  }
1266
1177
  html.peek = htmlPeek;
1267
- function html(node2) {
1268
- return node2.value || "";
1178
+ function html(node) {
1179
+ return node.value || "";
1269
1180
  }
1270
1181
  function htmlPeek() {
1271
1182
  return "<";
1272
1183
  }
1273
1184
  image.peek = imagePeek;
1274
- function image(node2, _, state, info) {
1185
+ function image(node, _, state, info) {
1275
1186
  const quote = checkQuote(state);
1276
1187
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1277
1188
  const exit2 = state.enter("image");
@@ -1279,37 +1190,37 @@ function image(node2, _, state, info) {
1279
1190
  const tracker = state.createTracker(info);
1280
1191
  let value = tracker.move("![");
1281
1192
  value += tracker.move(
1282
- state.safe(node2.alt, { before: value, after: "]", ...tracker.current() })
1193
+ state.safe(node.alt, { before: value, after: "]", ...tracker.current() })
1283
1194
  );
1284
1195
  value += tracker.move("](");
1285
1196
  subexit();
1286
1197
  if (
1287
1198
  // If there’s no url but there is a title…
1288
- !node2.url && node2.title || // If there are control characters or whitespace.
1289
- /[\0- \u007F]/.test(node2.url)
1199
+ !node.url && node.title || // If there are control characters or whitespace.
1200
+ /[\0- \u007F]/.test(node.url)
1290
1201
  ) {
1291
1202
  subexit = state.enter("destinationLiteral");
1292
1203
  value += tracker.move("<");
1293
1204
  value += tracker.move(
1294
- state.safe(node2.url, { before: value, after: ">", ...tracker.current() })
1205
+ state.safe(node.url, { before: value, after: ">", ...tracker.current() })
1295
1206
  );
1296
1207
  value += tracker.move(">");
1297
1208
  } else {
1298
1209
  subexit = state.enter("destinationRaw");
1299
1210
  value += tracker.move(
1300
- state.safe(node2.url, {
1211
+ state.safe(node.url, {
1301
1212
  before: value,
1302
- after: node2.title ? " " : ")",
1213
+ after: node.title ? " " : ")",
1303
1214
  ...tracker.current()
1304
1215
  })
1305
1216
  );
1306
1217
  }
1307
1218
  subexit();
1308
- if (node2.title) {
1219
+ if (node.title) {
1309
1220
  subexit = state.enter(`title${suffix}`);
1310
1221
  value += tracker.move(" " + quote);
1311
1222
  value += tracker.move(
1312
- state.safe(node2.title, {
1223
+ state.safe(node.title, {
1313
1224
  before: value,
1314
1225
  after: quote,
1315
1226
  ...tracker.current()
@@ -1326,13 +1237,13 @@ function imagePeek() {
1326
1237
  return "!";
1327
1238
  }
1328
1239
  imageReference.peek = imageReferencePeek;
1329
- function imageReference(node2, _, state, info) {
1330
- const type = node2.referenceType;
1240
+ function imageReference(node, _, state, info) {
1241
+ const type = node.referenceType;
1331
1242
  const exit2 = state.enter("imageReference");
1332
1243
  let subexit = state.enter("label");
1333
1244
  const tracker = state.createTracker(info);
1334
1245
  let value = tracker.move("![");
1335
- const alt = state.safe(node2.alt, {
1246
+ const alt = state.safe(node.alt, {
1336
1247
  before: value,
1337
1248
  after: "]",
1338
1249
  ...tracker.current()
@@ -1342,7 +1253,7 @@ function imageReference(node2, _, state, info) {
1342
1253
  const stack = state.stack;
1343
1254
  state.stack = [];
1344
1255
  subexit = state.enter("reference");
1345
- const reference = state.safe(state.associationId(node2), {
1256
+ const reference = state.safe(state.associationId(node), {
1346
1257
  before: value,
1347
1258
  after: "]",
1348
1259
  ...tracker.current()
@@ -1363,8 +1274,8 @@ function imageReferencePeek() {
1363
1274
  return "!";
1364
1275
  }
1365
1276
  inlineCode.peek = inlineCodePeek;
1366
- function inlineCode(node2, _, state) {
1367
- let value = node2.value || "";
1277
+ function inlineCode(node, _, state) {
1278
+ let value = node.value || "";
1368
1279
  let sequence = "`";
1369
1280
  let index = -1;
1370
1281
  while (new RegExp("(^|[^`])" + sequence + "([^`]|$)").test(value)) {
@@ -1391,33 +1302,33 @@ function inlineCode(node2, _, state) {
1391
1302
  function inlineCodePeek() {
1392
1303
  return "`";
1393
1304
  }
1394
- function formatLinkAsAutolink(node2, state) {
1395
- const raw = toString(node2);
1305
+ function formatLinkAsAutolink(node, state) {
1306
+ const raw = mdastUtilToString.toString(node);
1396
1307
  return Boolean(
1397
1308
  !state.options.resourceLink && // If there’s a url…
1398
- node2.url && // And there’s a no title…
1399
- !node2.title && // And the content of `node` is a single text node…
1400
- node2.children && node2.children.length === 1 && node2.children[0].type === "text" && // And if the url is the same as the content…
1401
- (raw === node2.url || "mailto:" + raw === node2.url) && // And that starts w/ a protocol…
1402
- /^[a-z][a-z+.-]+:/i.test(node2.url) && // And that doesn’t contain ASCII control codes (character escapes and
1309
+ node.url && // And there’s a no title…
1310
+ !node.title && // And the content of `node` is a single text node…
1311
+ node.children && node.children.length === 1 && node.children[0].type === "text" && // And if the url is the same as the content…
1312
+ (raw === node.url || "mailto:" + raw === node.url) && // And that starts w/ a protocol…
1313
+ /^[a-z][a-z+.-]+:/i.test(node.url) && // And that doesn’t contain ASCII control codes (character escapes and
1403
1314
  // references don’t work), space, or angle brackets…
1404
- !/[\0- <>\u007F]/.test(node2.url)
1315
+ !/[\0- <>\u007F]/.test(node.url)
1405
1316
  );
1406
1317
  }
1407
1318
  link.peek = linkPeek;
1408
- function link(node2, _, state, info) {
1319
+ function link(node, _, state, info) {
1409
1320
  const quote = checkQuote(state);
1410
1321
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1411
1322
  const tracker = state.createTracker(info);
1412
1323
  let exit2;
1413
1324
  let subexit;
1414
- if (formatLinkAsAutolink(node2, state)) {
1325
+ if (formatLinkAsAutolink(node, state)) {
1415
1326
  const stack = state.stack;
1416
1327
  state.stack = [];
1417
1328
  exit2 = state.enter("autolink");
1418
1329
  let value2 = tracker.move("<");
1419
1330
  value2 += tracker.move(
1420
- state.containerPhrasing(node2, {
1331
+ state.containerPhrasing(node, {
1421
1332
  before: value2,
1422
1333
  after: ">",
1423
1334
  ...tracker.current()
@@ -1432,7 +1343,7 @@ function link(node2, _, state, info) {
1432
1343
  subexit = state.enter("label");
1433
1344
  let value = tracker.move("[");
1434
1345
  value += tracker.move(
1435
- state.containerPhrasing(node2, {
1346
+ state.containerPhrasing(node, {
1436
1347
  before: value,
1437
1348
  after: "](",
1438
1349
  ...tracker.current()
@@ -1442,31 +1353,31 @@ function link(node2, _, state, info) {
1442
1353
  subexit();
1443
1354
  if (
1444
1355
  // If there’s no url but there is a title…
1445
- !node2.url && node2.title || // If there are control characters or whitespace.
1446
- /[\0- \u007F]/.test(node2.url)
1356
+ !node.url && node.title || // If there are control characters or whitespace.
1357
+ /[\0- \u007F]/.test(node.url)
1447
1358
  ) {
1448
1359
  subexit = state.enter("destinationLiteral");
1449
1360
  value += tracker.move("<");
1450
1361
  value += tracker.move(
1451
- state.safe(node2.url, { before: value, after: ">", ...tracker.current() })
1362
+ state.safe(node.url, { before: value, after: ">", ...tracker.current() })
1452
1363
  );
1453
1364
  value += tracker.move(">");
1454
1365
  } else {
1455
1366
  subexit = state.enter("destinationRaw");
1456
1367
  value += tracker.move(
1457
- state.safe(node2.url, {
1368
+ state.safe(node.url, {
1458
1369
  before: value,
1459
- after: node2.title ? " " : ")",
1370
+ after: node.title ? " " : ")",
1460
1371
  ...tracker.current()
1461
1372
  })
1462
1373
  );
1463
1374
  }
1464
1375
  subexit();
1465
- if (node2.title) {
1376
+ if (node.title) {
1466
1377
  subexit = state.enter(`title${suffix}`);
1467
1378
  value += tracker.move(" " + quote);
1468
1379
  value += tracker.move(
1469
- state.safe(node2.title, {
1380
+ state.safe(node.title, {
1470
1381
  before: value,
1471
1382
  after: quote,
1472
1383
  ...tracker.current()
@@ -1479,17 +1390,17 @@ function link(node2, _, state, info) {
1479
1390
  exit2();
1480
1391
  return value;
1481
1392
  }
1482
- function linkPeek(node2, _, state) {
1483
- return formatLinkAsAutolink(node2, state) ? "<" : "[";
1393
+ function linkPeek(node, _, state) {
1394
+ return formatLinkAsAutolink(node, state) ? "<" : "[";
1484
1395
  }
1485
1396
  linkReference.peek = linkReferencePeek;
1486
- function linkReference(node2, _, state, info) {
1487
- const type = node2.referenceType;
1397
+ function linkReference(node, _, state, info) {
1398
+ const type = node.referenceType;
1488
1399
  const exit2 = state.enter("linkReference");
1489
1400
  let subexit = state.enter("label");
1490
1401
  const tracker = state.createTracker(info);
1491
1402
  let value = tracker.move("[");
1492
- const text2 = state.containerPhrasing(node2, {
1403
+ const text2 = state.containerPhrasing(node, {
1493
1404
  before: value,
1494
1405
  after: "]",
1495
1406
  ...tracker.current()
@@ -1499,7 +1410,7 @@ function linkReference(node2, _, state, info) {
1499
1410
  const stack = state.stack;
1500
1411
  state.stack = [];
1501
1412
  subexit = state.enter("reference");
1502
- const reference = state.safe(state.associationId(node2), {
1413
+ const reference = state.safe(state.associationId(node), {
1503
1414
  before: value,
1504
1415
  after: "]",
1505
1416
  ...tracker.current()
@@ -1564,14 +1475,14 @@ function checkRule(state) {
1564
1475
  }
1565
1476
  return marker;
1566
1477
  }
1567
- function list(node2, parent, state, info) {
1478
+ function list(node, parent, state, info) {
1568
1479
  const exit2 = state.enter("list");
1569
1480
  const bulletCurrent = state.bulletCurrent;
1570
- let bullet = node2.ordered ? checkBulletOrdered(state) : checkBullet(state);
1571
- const bulletOther = node2.ordered ? bullet === "." ? ")" : "." : checkBulletOther(state);
1481
+ let bullet = node.ordered ? checkBulletOrdered(state) : checkBullet(state);
1482
+ const bulletOther = node.ordered ? bullet === "." ? ")" : "." : checkBulletOther(state);
1572
1483
  let useDifferentMarker = parent && state.bulletLastUsed ? bullet === state.bulletLastUsed : false;
1573
- if (!node2.ordered) {
1574
- const firstListItem = node2.children ? node2.children[0] : void 0;
1484
+ if (!node.ordered) {
1485
+ const firstListItem = node.children ? node.children[0] : void 0;
1575
1486
  if (
1576
1487
  // Bullet could be used as a thematic break marker:
1577
1488
  (bullet === "*" || bullet === "-") && // Empty first list item:
@@ -1583,8 +1494,8 @@ function list(node2, parent, state, info) {
1583
1494
  }
1584
1495
  if (checkRule(state) === bullet && firstListItem) {
1585
1496
  let index = -1;
1586
- while (++index < node2.children.length) {
1587
- const item = node2.children[index];
1497
+ while (++index < node.children.length) {
1498
+ const item = node.children[index];
1588
1499
  if (item && item.type === "listItem" && item.children && item.children[0] && item.children[0].type === "thematicBreak") {
1589
1500
  useDifferentMarker = true;
1590
1501
  break;
@@ -1596,7 +1507,7 @@ function list(node2, parent, state, info) {
1596
1507
  bullet = bulletOther;
1597
1508
  }
1598
1509
  state.bulletCurrent = bullet;
1599
- const value = state.containerFlow(node2, info);
1510
+ const value = state.containerFlow(node, info);
1600
1511
  state.bulletLastUsed = bullet;
1601
1512
  state.bulletCurrent = bulletCurrent;
1602
1513
  exit2();
@@ -1611,14 +1522,14 @@ function checkListItemIndent(state) {
1611
1522
  }
1612
1523
  return style;
1613
1524
  }
1614
- function listItem(node2, parent, state, info) {
1525
+ function listItem(node, parent, state, info) {
1615
1526
  const listItemIndent = checkListItemIndent(state);
1616
1527
  let bullet = state.bulletCurrent || checkBullet(state);
1617
1528
  if (parent && parent.type === "list" && parent.ordered) {
1618
- bullet = (typeof parent.start === "number" && parent.start > -1 ? parent.start : 1) + (state.options.incrementListMarker === false ? 0 : parent.children.indexOf(node2)) + bullet;
1529
+ bullet = (typeof parent.start === "number" && parent.start > -1 ? parent.start : 1) + (state.options.incrementListMarker === false ? 0 : parent.children.indexOf(node)) + bullet;
1619
1530
  }
1620
1531
  let size = bullet.length + 1;
1621
- if (listItemIndent === "tab" || listItemIndent === "mixed" && (parent && parent.type === "list" && parent.spread || node2.spread)) {
1532
+ if (listItemIndent === "tab" || listItemIndent === "mixed" && (parent && parent.type === "list" && parent.spread || node.spread)) {
1622
1533
  size = Math.ceil(size / 4) * 4;
1623
1534
  }
1624
1535
  const tracker = state.createTracker(info);
@@ -1626,7 +1537,7 @@ function listItem(node2, parent, state, info) {
1626
1537
  tracker.shift(size);
1627
1538
  const exit2 = state.enter("listItem");
1628
1539
  const value = state.indentLines(
1629
- state.containerFlow(node2, tracker.current()),
1540
+ state.containerFlow(node, tracker.current()),
1630
1541
  map2
1631
1542
  );
1632
1543
  exit2();
@@ -1638,10 +1549,10 @@ function listItem(node2, parent, state, info) {
1638
1549
  return (blank ? bullet : bullet + " ".repeat(size - bullet.length)) + line;
1639
1550
  }
1640
1551
  }
1641
- function paragraph(node2, _, state, info) {
1552
+ function paragraph(node, _, state, info) {
1642
1553
  const exit2 = state.enter("paragraph");
1643
1554
  const subexit = state.enter("phrasing");
1644
- const value = state.containerPhrasing(node2, info);
1555
+ const value = state.containerPhrasing(node, info);
1645
1556
  subexit();
1646
1557
  exit2();
1647
1558
  return value;
@@ -1672,12 +1583,12 @@ const phrasing = (
1672
1583
  "textDirective"
1673
1584
  ])
1674
1585
  );
1675
- function root(node2, _, state, info) {
1676
- const hasPhrasing = node2.children.some(function(d) {
1586
+ function root(node, _, state, info) {
1587
+ const hasPhrasing = node.children.some(function(d) {
1677
1588
  return phrasing(d);
1678
1589
  });
1679
1590
  const fn = hasPhrasing ? state.containerPhrasing : state.containerFlow;
1680
- return fn.call(state, node2, info);
1591
+ return fn.call(state, node, info);
1681
1592
  }
1682
1593
  function checkStrong(state) {
1683
1594
  const marker = state.options.strong || "*";
@@ -1689,13 +1600,13 @@ function checkStrong(state) {
1689
1600
  return marker;
1690
1601
  }
1691
1602
  strong.peek = strongPeek;
1692
- function strong(node2, _, state, info) {
1603
+ function strong(node, _, state, info) {
1693
1604
  const marker = checkStrong(state);
1694
1605
  const exit2 = state.enter("strong");
1695
1606
  const tracker = state.createTracker(info);
1696
1607
  let value = tracker.move(marker + marker);
1697
1608
  value += tracker.move(
1698
- state.containerPhrasing(node2, {
1609
+ state.containerPhrasing(node, {
1699
1610
  before: value,
1700
1611
  after: marker,
1701
1612
  ...tracker.current()
@@ -1708,8 +1619,8 @@ function strong(node2, _, state, info) {
1708
1619
  function strongPeek(_, _1, state) {
1709
1620
  return state.options.strong || "*";
1710
1621
  }
1711
- function text$1(node2, _, state, info) {
1712
- return state.safe(node2.value, info);
1622
+ function text$1(node, _, state, info) {
1623
+ return state.safe(node.value, info);
1713
1624
  }
1714
1625
  function checkRuleRepetition(state) {
1715
1626
  const repetition = state.options.ruleRepetition || 3;
@@ -1795,9 +1706,9 @@ function exitCodeText(token) {
1795
1706
  if (this.data.inTable) {
1796
1707
  value = value.replace(/\\([\\|])/g, replace);
1797
1708
  }
1798
- const node2 = this.stack[this.stack.length - 1];
1799
- ok$1(node2.type === "inlineCode");
1800
- node2.value = value;
1709
+ const node = this.stack[this.stack.length - 1];
1710
+ ok$1(node.type === "inlineCode");
1711
+ node.value = value;
1801
1712
  this.exit(token);
1802
1713
  }
1803
1714
  function replace($0, $1) {
@@ -1835,18 +1746,18 @@ function gfmTableToMarkdown(options) {
1835
1746
  tableRow: handleTableRow
1836
1747
  }
1837
1748
  };
1838
- function handleTable(node2, _, state, info) {
1839
- return serializeData(handleTableAsData(node2, state, info), node2.align);
1749
+ function handleTable(node, _, state, info) {
1750
+ return serializeData(handleTableAsData(node, state, info), node.align);
1840
1751
  }
1841
- function handleTableRow(node2, _, state, info) {
1842
- const row = handleTableRowAsData(node2, state, info);
1752
+ function handleTableRow(node, _, state, info) {
1753
+ const row = handleTableRowAsData(node, state, info);
1843
1754
  const value = serializeData([row]);
1844
1755
  return value.slice(0, value.indexOf("\n"));
1845
1756
  }
1846
- function handleTableCell(node2, _, state, info) {
1757
+ function handleTableCell(node, _, state, info) {
1847
1758
  const exit2 = state.enter("tableCell");
1848
1759
  const subexit = state.enter("phrasing");
1849
- const value = state.containerPhrasing(node2, {
1760
+ const value = state.containerPhrasing(node, {
1850
1761
  ...info,
1851
1762
  before: around,
1852
1763
  after: around
@@ -1866,8 +1777,8 @@ function gfmTableToMarkdown(options) {
1866
1777
  stringLength
1867
1778
  });
1868
1779
  }
1869
- function handleTableAsData(node2, state, info) {
1870
- const children = node2.children;
1780
+ function handleTableAsData(node, state, info) {
1781
+ const children = node.children;
1871
1782
  let index = -1;
1872
1783
  const result = [];
1873
1784
  const subexit = state.enter("table");
@@ -1877,19 +1788,19 @@ function gfmTableToMarkdown(options) {
1877
1788
  subexit();
1878
1789
  return result;
1879
1790
  }
1880
- function handleTableRowAsData(node2, state, info) {
1881
- const children = node2.children;
1791
+ function handleTableRowAsData(node, state, info) {
1792
+ const children = node.children;
1882
1793
  let index = -1;
1883
1794
  const result = [];
1884
1795
  const subexit = state.enter("tableRow");
1885
1796
  while (++index < children.length) {
1886
- result[index] = handleTableCell(children[index], node2, state, info);
1797
+ result[index] = handleTableCell(children[index], node, state, info);
1887
1798
  }
1888
1799
  subexit();
1889
1800
  return result;
1890
1801
  }
1891
- function inlineCodeWithTable(node2, parent, state) {
1892
- let value = handle.inlineCode(node2, parent, state);
1802
+ function inlineCodeWithTable(node, parent, state) {
1803
+ let value = handle.inlineCode(node, parent, state);
1893
1804
  if (state.stack.includes("tableCell")) {
1894
1805
  value = value.replace(/\|/g, "\\$&");
1895
1806
  }
@@ -1912,16 +1823,16 @@ function gfmTaskListItemToMarkdown() {
1912
1823
  };
1913
1824
  }
1914
1825
  function exitCheck(token) {
1915
- const node2 = this.stack[this.stack.length - 2];
1916
- ok$1(node2.type === "listItem");
1917
- node2.checked = token.type === "taskListCheckValueChecked";
1826
+ const node = this.stack[this.stack.length - 2];
1827
+ ok$1(node.type === "listItem");
1828
+ node.checked = token.type === "taskListCheckValueChecked";
1918
1829
  }
1919
1830
  function exitParagraphWithTaskListItem(token) {
1920
1831
  const parent = this.stack[this.stack.length - 2];
1921
1832
  if (parent && parent.type === "listItem" && typeof parent.checked === "boolean") {
1922
- const node2 = this.stack[this.stack.length - 1];
1923
- ok$1(node2.type === "paragraph");
1924
- const head = node2.children[0];
1833
+ const node = this.stack[this.stack.length - 1];
1834
+ ok$1(node.type === "paragraph");
1835
+ const head = node.children[0];
1925
1836
  if (head && head.type === "text") {
1926
1837
  const siblings = parent.children;
1927
1838
  let index = -1;
@@ -1933,29 +1844,29 @@ function exitParagraphWithTaskListItem(token) {
1933
1844
  break;
1934
1845
  }
1935
1846
  }
1936
- if (firstParaghraph === node2) {
1847
+ if (firstParaghraph === node) {
1937
1848
  head.value = head.value.slice(1);
1938
1849
  if (head.value.length === 0) {
1939
- node2.children.shift();
1940
- } else if (node2.position && head.position && typeof head.position.start.offset === "number") {
1850
+ node.children.shift();
1851
+ } else if (node.position && head.position && typeof head.position.start.offset === "number") {
1941
1852
  head.position.start.column++;
1942
1853
  head.position.start.offset++;
1943
- node2.position.start = Object.assign({}, head.position.start);
1854
+ node.position.start = Object.assign({}, head.position.start);
1944
1855
  }
1945
1856
  }
1946
1857
  }
1947
1858
  }
1948
1859
  this.exit(token);
1949
1860
  }
1950
- function listItemWithTaskListItem(node2, parent, state, info) {
1951
- const head = node2.children[0];
1952
- const checkable = typeof node2.checked === "boolean" && head && head.type === "paragraph";
1953
- const checkbox = "[" + (node2.checked ? "x" : " ") + "] ";
1861
+ function listItemWithTaskListItem(node, parent, state, info) {
1862
+ const head = node.children[0];
1863
+ const checkable = typeof node.checked === "boolean" && head && head.type === "paragraph";
1864
+ const checkbox = "[" + (node.checked ? "x" : " ") + "] ";
1954
1865
  const tracker = state.createTracker(info);
1955
1866
  if (checkable) {
1956
1867
  tracker.move(checkbox);
1957
1868
  }
1958
- let value = handle.listItem(node2, parent, state, {
1869
+ let value = handle.listItem(node, parent, state, {
1959
1870
  ...info,
1960
1871
  ...tracker.current()
1961
1872
  });
@@ -2014,18 +1925,18 @@ function splice(list2, start, remove, items) {
2014
1925
  }
2015
1926
  const hasOwnProperty = {}.hasOwnProperty;
2016
1927
  function combineExtensions(extensions) {
2017
- const all2 = {};
1928
+ const all = {};
2018
1929
  let index = -1;
2019
1930
  while (++index < extensions.length) {
2020
- syntaxExtension(all2, extensions[index]);
1931
+ syntaxExtension(all, extensions[index]);
2021
1932
  }
2022
- return all2;
1933
+ return all;
2023
1934
  }
2024
- function syntaxExtension(all2, extension) {
1935
+ function syntaxExtension(all, extension) {
2025
1936
  let hook;
2026
1937
  for (hook in extension) {
2027
- const maybe = hasOwnProperty.call(all2, hook) ? all2[hook] : void 0;
2028
- const left = maybe || (all2[hook] = {});
1938
+ const maybe = hasOwnProperty.call(all, hook) ? all[hook] : void 0;
1939
+ const left = maybe || (all[hook] = {});
2029
1940
  const right = extension[hook];
2030
1941
  let code2;
2031
1942
  if (right) {
@@ -3476,9 +3387,11 @@ var __component__$1 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
3476
3387
  const NcRichTextCopyButton = __component__$1.exports;
3477
3388
  function remarkPlaceholder() {
3478
3389
  return function(ast) {
3479
- unistUtilVisit.visit(ast, (node2) => node2.type === "text", visitor);
3480
- function visitor(node2, index, parent) {
3481
- const placeholders = node2.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((entry) => {
3390
+ unistUtilVisitParents.visitParents(ast, (node) => node.type === "text", visitor);
3391
+ function visitor(node, ancestors) {
3392
+ const parent = ancestors.at(-1);
3393
+ const index = parent.children.indexOf(node);
3394
+ const placeholders = node.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((entry) => {
3482
3395
  const matches = entry.match(/^\{([a-z\-_.0-9]+)\}$/i);
3483
3396
  if (!matches) {
3484
3397
  return unistBuilder.u("text", entry);
@@ -3502,23 +3415,44 @@ function prepareTextNode({ h, context }, text2) {
3502
3415
  return entry;
3503
3416
  }
3504
3417
  const { component, props } = entry;
3505
- const componentClass = component.name === "NcLink" ? void 0 : "rich-text--component";
3506
3418
  return h(component, {
3507
3419
  props,
3508
- class: componentClass
3420
+ class: "rich-text--component"
3509
3421
  });
3510
3422
  });
3511
3423
  }
3512
3424
  return text2;
3513
3425
  }
3426
+ /*!
3427
+ * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
3428
+ * SPDX-License-Identifier: AGPL-3.0-or-later
3429
+ */
3430
+ function isCodeNode(node) {
3431
+ return ["code", "inlineCode"].includes(node.type);
3432
+ }
3433
+ const remarkStripCode = function() {
3434
+ return function(tree) {
3435
+ unistUtilVisitParents.visitParents(tree, isCodeNode, (node, ancestors) => {
3436
+ const parent = ancestors.at(-1);
3437
+ const index = parent.children.indexOf(node);
3438
+ parent.children.splice(index, 1, {
3439
+ ...node,
3440
+ value: ""
3441
+ });
3442
+ return [unistUtilVisitParents.SKIP, index + 1];
3443
+ });
3444
+ };
3445
+ };
3514
3446
  function remarkUnescape() {
3515
3447
  return function(tree) {
3516
- unistUtilVisit.visit(tree, (node2) => ["text", "code", "inlineCode"].includes(node2.type), (node2, index, parent) => {
3448
+ unistUtilVisitParents.visitParents(tree, (node) => ["text", "code", "inlineCode"].includes(node.type), (node, ancestors) => {
3449
+ const parent = ancestors.at(-1);
3450
+ const index = parent.children.indexOf(node);
3517
3451
  parent.children.splice(index, 1, {
3518
- ...node2,
3519
- value: node2.value.replace(/&lt;/gmi, "<").replace(/&gt;/gmi, ">")
3452
+ ...node,
3453
+ value: node.value.replace(/&lt;/gmi, "<").replace(/&gt;/gmi, ">")
3520
3454
  });
3521
- return [unistUtilVisit.SKIP, index + 1];
3455
+ return [unistUtilVisitParents.SKIP, index + 1];
3522
3456
  });
3523
3457
  };
3524
3458
  }
@@ -3635,8 +3569,8 @@ const _sfc_main = {
3635
3569
  useExtendedMarkdown: this.useExtendedMarkdown
3636
3570
  }).use(remarkUnescape).use(this.useExtendedMarkdown ? remarkGfm : void 0).use(breaks__default.default).use(remarkUnlinkProtocols__default.default, { except: LINK_PROTOCOLS }).use(remark2rehype__default.default, {
3637
3571
  handlers: {
3638
- component(toHast, node2) {
3639
- return toHast(node2, node2.component, { value: node2.value });
3572
+ component(toHast, node) {
3573
+ return toHast(node, node.component, { value: node.value });
3640
3574
  }
3641
3575
  }
3642
3576
  }).use(this.useExtendedMarkdown ? rehypeHighlight.value : void 0).use(remarkPlaceholder).use(rehypeExternalLinks__default.default, {
@@ -3699,6 +3633,15 @@ const _sfc_main = {
3699
3633
  }
3700
3634
  }, children);
3701
3635
  }
3636
+ const isAllowedScheme = /^(https?:\/\/|tel:|mailto:)/.test(attrs.attrs.href);
3637
+ if (isAllowedScheme) {
3638
+ attrs.attrs.href = attrs.attrs.href.trim();
3639
+ return h(autolink.NcRichTextExternalLink, attrs, children);
3640
+ } else {
3641
+ delete attrs.attrs.href;
3642
+ delete attrs.attrs.target;
3643
+ return h("span", attrs, children);
3644
+ }
3702
3645
  }
3703
3646
  return h(tag, attrs, children);
3704
3647
  }
@@ -3726,7 +3669,7 @@ const _sfc_main = {
3726
3669
  this.referenceLimit > 0 ? h("div", { class: "rich-text--reference-widget" }, [
3727
3670
  h(NcReferenceList, {
3728
3671
  props: {
3729
- text: this.text,
3672
+ text: this.prepareReferenceSource(this.text),
3730
3673
  referenceData: this.references,
3731
3674
  interactive: this.referenceInteractive,
3732
3675
  interactiveOptIn: this.referenceInteractiveOptIn
@@ -3734,6 +3677,20 @@ const _sfc_main = {
3734
3677
  })
3735
3678
  ]) : null
3736
3679
  ]);
3680
+ },
3681
+ /**
3682
+ * Strip content of inline code and code blocks for reference widgets
3683
+ * (e.g. ignore fenced links from being added as reference)
3684
+ *
3685
+ * @param {string} text - Content of the node
3686
+ */
3687
+ prepareReferenceSource(text2) {
3688
+ if (!this.useMarkdown && !this.useExtendedMarkdown) {
3689
+ return text2;
3690
+ }
3691
+ const processor = unified.unified();
3692
+ processor.compiler = (tree) => mdastUtilToString.toString(tree);
3693
+ return processor.use(remarkParse__default.default).use(remarkStripCode).processSync(text2).value;
3737
3694
  }
3738
3695
  },
3739
3696
  render(h) {
@@ -3748,9 +3705,9 @@ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
3748
3705
  _sfc_staticRenderFns,
3749
3706
  false,
3750
3707
  null,
3751
- "bbc291bc"
3708
+ "177dd7c0"
3752
3709
  );
3753
3710
  const NcRichText = __component__.exports;
3754
3711
  exports.NcReferenceList = NcReferenceList;
3755
3712
  exports.NcRichText = NcRichText;
3756
- //# sourceMappingURL=NcRichText-C5whs7n-.cjs.map
3713
+ //# sourceMappingURL=NcRichText-CiRdCF_B.cjs.map