@nextcloud/vue 8.37.0 → 8.39.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 (442) hide show
  1. package/CHANGELOG.md +41 -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/NcAppSidebar.cjs +1 -1
  37. package/dist/Components/NcAppSidebar.mjs +1 -1
  38. package/dist/Components/NcAssistantButton.cjs +1 -1
  39. package/dist/Components/NcAssistantButton.mjs +1 -1
  40. package/dist/Components/NcAvatar.cjs +1 -1
  41. package/dist/Components/NcAvatar.mjs +1 -1
  42. package/dist/Components/NcBreadcrumb.cjs +1 -1
  43. package/dist/Components/NcBreadcrumb.mjs +1 -1
  44. package/dist/Components/NcBreadcrumbs.cjs +1 -1
  45. package/dist/Components/NcBreadcrumbs.mjs +1 -1
  46. package/dist/Components/NcButton.cjs +1 -1
  47. package/dist/Components/NcButton.mjs +1 -1
  48. package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
  49. package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
  50. package/dist/Components/NcChip.cjs +2 -2
  51. package/dist/Components/NcChip.mjs +2 -2
  52. package/dist/Components/NcCollectionList.cjs +1 -1
  53. package/dist/Components/NcCollectionList.mjs +1 -1
  54. package/dist/Components/NcColorPicker.cjs +1 -1
  55. package/dist/Components/NcColorPicker.mjs +1 -1
  56. package/dist/Components/NcContent.cjs +1 -1
  57. package/dist/Components/NcContent.mjs +1 -1
  58. package/dist/Components/NcDashboardWidget.cjs +1 -1
  59. package/dist/Components/NcDashboardWidget.mjs +1 -1
  60. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  61. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  62. package/dist/Components/NcDateTimePicker.cjs +3 -3
  63. package/dist/Components/NcDateTimePicker.mjs +3 -3
  64. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  65. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  66. package/dist/Components/NcDialog.cjs +1 -1
  67. package/dist/Components/NcDialog.mjs +1 -1
  68. package/dist/Components/NcDialogButton.cjs +1 -1
  69. package/dist/Components/NcDialogButton.mjs +1 -1
  70. package/dist/Components/NcEmojiPicker.cjs +1 -1
  71. package/dist/Components/NcEmojiPicker.mjs +1 -1
  72. package/dist/Components/NcFilePicker.cjs +1 -1
  73. package/dist/Components/NcFilePicker.mjs +1 -1
  74. package/dist/Components/NcFormBoxButton.cjs +1 -1
  75. package/dist/Components/NcFormBoxButton.mjs +1 -1
  76. package/dist/Components/NcFormBoxCopyButton.cjs +1 -1
  77. package/dist/Components/NcFormBoxCopyButton.mjs +1 -1
  78. package/dist/Components/NcFormBoxSwitch.cjs +1 -1
  79. package/dist/Components/NcFormBoxSwitch.mjs +1 -1
  80. package/dist/Components/NcHeaderButton.cjs +1 -1
  81. package/dist/Components/NcHeaderButton.mjs +1 -1
  82. package/dist/Components/NcHeaderMenu.cjs +1 -1
  83. package/dist/Components/NcHeaderMenu.mjs +1 -1
  84. package/dist/Components/NcInputField.cjs +1 -1
  85. package/dist/Components/NcInputField.mjs +1 -1
  86. package/dist/Components/NcListItem.cjs +1 -1
  87. package/dist/Components/NcListItem.mjs +1 -1
  88. package/dist/Components/NcListItemIcon.cjs +1 -1
  89. package/dist/Components/NcListItemIcon.mjs +1 -1
  90. package/dist/Components/NcModal.cjs +3 -3
  91. package/dist/Components/NcModal.mjs +3 -3
  92. package/dist/Components/NcNoteCard.cjs +1 -1
  93. package/dist/Components/NcNoteCard.mjs +1 -1
  94. package/dist/Components/NcPasswordField.cjs +1 -1
  95. package/dist/Components/NcPasswordField.mjs +1 -1
  96. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  97. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  98. package/dist/Components/NcRichContenteditable.cjs +2 -2
  99. package/dist/Components/NcRichContenteditable.mjs +2 -2
  100. package/dist/Components/NcRichText.cjs +2 -2
  101. package/dist/Components/NcRichText.mjs +3 -3
  102. package/dist/Components/NcSelect.cjs +1 -1
  103. package/dist/Components/NcSelect.mjs +1 -1
  104. package/dist/Components/NcSelectTags.cjs +1 -1
  105. package/dist/Components/NcSelectTags.mjs +1 -1
  106. package/dist/Components/NcSelectUsers.cjs +1 -1
  107. package/dist/Components/NcSelectUsers.mjs +1 -1
  108. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  109. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  110. package/dist/Components/NcTextArea.cjs +1 -1
  111. package/dist/Components/NcTextArea.mjs +1 -1
  112. package/dist/Components/NcTextField.cjs +1 -1
  113. package/dist/Components/NcTextField.mjs +1 -1
  114. package/dist/Components/NcTimezonePicker.cjs +1 -1
  115. package/dist/Components/NcTimezonePicker.mjs +1 -1
  116. package/dist/Components/NcUserBubble.cjs +1 -1
  117. package/dist/Components/NcUserBubble.mjs +1 -1
  118. package/dist/Components/NcUserStatusIcon.cjs +1 -1
  119. package/dist/Components/NcUserStatusIcon.mjs +1 -1
  120. package/dist/Functions/emoji.cjs +1 -1
  121. package/dist/Functions/emoji.mjs +1 -1
  122. package/dist/Functions/reference.cjs +1 -1
  123. package/dist/Functions/reference.mjs +1 -1
  124. package/dist/Functions/usernameToColor.cjs +1 -1
  125. package/dist/Functions/usernameToColor.mjs +1 -1
  126. package/dist/Mixins/richEditor.cjs +1 -1
  127. package/dist/Mixins/richEditor.mjs +1 -1
  128. package/dist/assets/{NcActionButton-CG4V9b5b.css → NcActionButton-CjKx3679.css} +18 -18
  129. package/dist/assets/{NcActionButtonGroup-CRXLyFpx.css → NcActionButtonGroup-DqR0weTf.css} +8 -8
  130. package/dist/assets/{NcActionInput-B-c5cOfM.css → NcActionInput-CPu4Btyq.css} +65 -65
  131. package/dist/assets/{NcActionLink-BtpJIbvI.css → NcActionLink-Bt-73iBm.css} +13 -13
  132. package/dist/assets/{NcActionTextEditable-BCmDMuUg.css → NcActionTextEditable-AuLw5QVP.css} +65 -65
  133. package/dist/assets/{NcActions-CVw1SmBu.css → NcActions-CuFJSslC.css} +11 -11
  134. package/dist/assets/{NcAppNavigation-Dbpqdigp.css → NcAppNavigation-DfsSMVgo.css} +18 -12
  135. package/dist/assets/{NcAppNavigationItem-De04deJW.css → NcAppNavigationItem-CksjxOVP.css} +77 -40
  136. package/dist/assets/{NcAppNavigationNewItem-CYSjj3pD.css → NcAppNavigationNewItem-Dn_iz3og.css} +41 -4
  137. package/dist/assets/NcAppSettingsDialog-DRyLeR3T.css +222 -0
  138. package/dist/assets/{NcAppSidebar-BsMeIg8W.css → NcAppSidebar-B1bkEVQA.css} +75 -14
  139. package/dist/assets/{NcBreadcrumbs-DahxPGJY.css → NcBreadcrumbs-Dt1zdHzR.css} +6 -6
  140. package/dist/assets/{NcButton-8Y8d_1Z_.css → NcButton-o3s2D3Dl.css} +49 -46
  141. package/dist/assets/{NcCheckboxRadioSwitch-BACLOhMO.css → NcCheckboxRadioSwitch-BojbloxL.css} +38 -38
  142. package/dist/assets/{NcContent-a67pCVHO.css → NcContent-URJTZQq1.css} +22 -10
  143. package/dist/assets/{NcDateTimePicker-BzP7Sn12.css → NcDateTimePicker-DknygOcQ.css} +8 -8
  144. package/dist/assets/NcInputConfirmCancel-Brp9ZfY5.css +53 -0
  145. package/dist/assets/{NcPasswordField-CiN_phAQ.css → NcPasswordField-vrT0oftw.css} +2 -2
  146. package/dist/assets/{NcRelatedResourcesPanel-BgMc8bue.css → NcRelatedResourcesPanel-CTpqdDL9.css} +3 -3
  147. package/dist/assets/{NcRichContenteditable-3tL9zHn2.css → NcRichContenteditable-DwS6PNCv.css} +11 -11
  148. package/dist/assets/{NcRichText-CAhzDSty.css → NcRichText-Cp_5tfBy.css} +91 -98
  149. package/dist/assets/autolink-KPdaBewQ.css +25 -0
  150. package/dist/chunks/{NcActionButton-C5Dqge0c.cjs → NcActionButton-CiYel4_C.cjs} +3 -3
  151. package/dist/chunks/NcActionButton-CiYel4_C.cjs.map +1 -0
  152. package/dist/chunks/{NcActionButton-1gSJfFUC.mjs → NcActionButton-K4jUGMlW.mjs} +3 -3
  153. package/dist/chunks/NcActionButton-K4jUGMlW.mjs.map +1 -0
  154. package/dist/chunks/{NcActionButtonGroup-eZxqibUd.mjs → NcActionButtonGroup-B95wg_Q6.mjs} +3 -3
  155. package/dist/chunks/NcActionButtonGroup-B95wg_Q6.mjs.map +1 -0
  156. package/dist/chunks/{NcActionButtonGroup-CpZDTAQo.cjs → NcActionButtonGroup-CFGCmzTM.cjs} +3 -3
  157. package/dist/chunks/NcActionButtonGroup-CFGCmzTM.cjs.map +1 -0
  158. package/dist/chunks/{NcActionInput-UPwE2Dky.mjs → NcActionInput-BoKGVBu8.mjs} +5 -5
  159. package/dist/chunks/NcActionInput-BoKGVBu8.mjs.map +1 -0
  160. package/dist/chunks/{NcActionInput-eAmBylEO.cjs → NcActionInput-CcA3XFGe.cjs} +5 -5
  161. package/dist/chunks/NcActionInput-CcA3XFGe.cjs.map +1 -0
  162. package/dist/chunks/{NcActionTextEditable-RFLtWxrl.cjs → NcActionTextEditable-BqJ5wONY.cjs} +3 -3
  163. package/dist/chunks/NcActionTextEditable-BqJ5wONY.cjs.map +1 -0
  164. package/dist/chunks/{NcActionTextEditable-CIsAP-pp.mjs → NcActionTextEditable-YqvZGY07.mjs} +3 -3
  165. package/dist/chunks/NcActionTextEditable-YqvZGY07.mjs.map +1 -0
  166. package/dist/chunks/{NcActions-BSDvtMJD.cjs → NcActions-D51W1X9v.cjs} +4 -4
  167. package/dist/chunks/NcActions-D51W1X9v.cjs.map +1 -0
  168. package/dist/chunks/{NcActions-BcLis_nr.mjs → NcActions-DbPerbGE.mjs} +4 -4
  169. package/dist/chunks/NcActions-DbPerbGE.mjs.map +1 -0
  170. package/dist/chunks/{NcAppContent-DLGtJosF.cjs → NcAppContent-0hbQMH35.cjs} +2 -2
  171. package/dist/chunks/{NcAppContent-DLGtJosF.cjs.map → NcAppContent-0hbQMH35.cjs.map} +1 -1
  172. package/dist/chunks/{NcAppContent-CeVqX0gV.mjs → NcAppContent-DAN0qPID.mjs} +2 -2
  173. package/dist/chunks/{NcAppContent-CeVqX0gV.mjs.map → NcAppContent-DAN0qPID.mjs.map} +1 -1
  174. package/dist/chunks/{NcAppNavigation-D2Ds_2Dm.cjs → NcAppNavigation-DB3HqxPL.cjs} +24 -9
  175. package/dist/chunks/NcAppNavigation-DB3HqxPL.cjs.map +1 -0
  176. package/dist/chunks/{NcAppNavigation-BfzJA6cb.mjs → NcAppNavigation-DGufDPoi.mjs} +24 -9
  177. package/dist/chunks/NcAppNavigation-DGufDPoi.mjs.map +1 -0
  178. package/dist/chunks/{NcAppNavigationCaption-3YHrxAYS.mjs → NcAppNavigationCaption-BZwuqQcm.mjs} +2 -2
  179. package/dist/chunks/{NcAppNavigationCaption-3YHrxAYS.mjs.map → NcAppNavigationCaption-BZwuqQcm.mjs.map} +1 -1
  180. package/dist/chunks/{NcAppNavigationCaption-BDSDmQuu.cjs → NcAppNavigationCaption-WVnxSeIf.cjs} +2 -2
  181. package/dist/chunks/{NcAppNavigationCaption-BDSDmQuu.cjs.map → NcAppNavigationCaption-WVnxSeIf.cjs.map} +1 -1
  182. package/dist/chunks/{NcAppNavigationItem-Dc5Vdhb1.cjs → NcAppNavigationItem-0zDqIuUZ.cjs} +17 -11
  183. package/dist/chunks/NcAppNavigationItem-0zDqIuUZ.cjs.map +1 -0
  184. package/dist/chunks/{NcAppNavigationItem-D30ztZfZ.mjs → NcAppNavigationItem-CgYgq_nb.mjs} +17 -11
  185. package/dist/chunks/NcAppNavigationItem-CgYgq_nb.mjs.map +1 -0
  186. package/dist/chunks/{NcAppNavigationNew-Ce_TheyK.mjs → NcAppNavigationNew-BUVnumWS.mjs} +2 -2
  187. package/dist/chunks/{NcAppNavigationNew-Ce_TheyK.mjs.map → NcAppNavigationNew-BUVnumWS.mjs.map} +1 -1
  188. package/dist/chunks/{NcAppNavigationNew-D7FwWc52.cjs → NcAppNavigationNew-DRdPwKOi.cjs} +2 -2
  189. package/dist/chunks/{NcAppNavigationNew-D7FwWc52.cjs.map → NcAppNavigationNew-DRdPwKOi.cjs.map} +1 -1
  190. package/dist/chunks/{NcAppNavigationNewItem-BskLwwWH.mjs → NcAppNavigationNewItem-Nz2HecTz.mjs} +3 -3
  191. package/dist/chunks/{NcAppNavigationNewItem-BskLwwWH.mjs.map → NcAppNavigationNewItem-Nz2HecTz.mjs.map} +1 -1
  192. package/dist/chunks/{NcAppNavigationNewItem-Cjody3t9.cjs → NcAppNavigationNewItem-SR744REn.cjs} +3 -3
  193. package/dist/chunks/{NcAppNavigationNewItem-Cjody3t9.cjs.map → NcAppNavigationNewItem-SR744REn.cjs.map} +1 -1
  194. package/dist/chunks/{NcAppNavigationSearch-CwO9XhWM.cjs → NcAppNavigationSearch-Czcwiin4.cjs} +2 -2
  195. package/dist/chunks/{NcAppNavigationSearch-CwO9XhWM.cjs.map → NcAppNavigationSearch-Czcwiin4.cjs.map} +1 -1
  196. package/dist/chunks/{NcAppNavigationSearch-CkcBGG0H.mjs → NcAppNavigationSearch-CzhlljAU.mjs} +2 -2
  197. package/dist/chunks/{NcAppNavigationSearch-CkcBGG0H.mjs.map → NcAppNavigationSearch-CzhlljAU.mjs.map} +1 -1
  198. package/dist/chunks/{NcAppNavigationSettings-BjyBA5Mj.mjs → NcAppNavigationSettings-BaO-G72x.mjs} +3 -3
  199. package/dist/chunks/{NcAppNavigationSettings-BjyBA5Mj.mjs.map → NcAppNavigationSettings-BaO-G72x.mjs.map} +1 -1
  200. package/dist/chunks/{NcAppNavigationSettings-CrLS3Smo.cjs → NcAppNavigationSettings-CotFe5aD.cjs} +3 -3
  201. package/dist/chunks/{NcAppNavigationSettings-CrLS3Smo.cjs.map → NcAppNavigationSettings-CotFe5aD.cjs.map} +1 -1
  202. package/dist/chunks/{NcAppNavigationToggle-zzG9M53D.mjs → NcAppNavigationToggle-CXX1MFrf.mjs} +2 -2
  203. package/dist/chunks/{NcAppNavigationToggle-zzG9M53D.mjs.map → NcAppNavigationToggle-CXX1MFrf.mjs.map} +1 -1
  204. package/dist/chunks/{NcAppNavigationToggle-DPjOENSf.cjs → NcAppNavigationToggle-CkDMk16T.cjs} +2 -2
  205. package/dist/chunks/{NcAppNavigationToggle-DPjOENSf.cjs.map → NcAppNavigationToggle-CkDMk16T.cjs.map} +1 -1
  206. package/dist/chunks/{NcAppSettingsDialog-Ckf6dRRJ.cjs → NcAppSettingsDialog-Fa5DTfig.cjs} +10 -9
  207. package/dist/chunks/NcAppSettingsDialog-Fa5DTfig.cjs.map +1 -0
  208. package/dist/chunks/{NcAppSettingsDialog-vBeCGFqk.mjs → NcAppSettingsDialog-MxrFh-Ln.mjs} +8 -7
  209. package/dist/chunks/NcAppSettingsDialog-MxrFh-Ln.mjs.map +1 -0
  210. package/dist/chunks/{NcAppSidebar-Cx0PlofZ.mjs → NcAppSidebar-B7GuNZ4C.mjs} +10 -8
  211. package/dist/chunks/NcAppSidebar-B7GuNZ4C.mjs.map +1 -0
  212. package/dist/chunks/{NcAppSidebar-CPHVBBe0.cjs → NcAppSidebar-DXEl0_ou.cjs} +10 -8
  213. package/dist/chunks/NcAppSidebar-DXEl0_ou.cjs.map +1 -0
  214. package/dist/chunks/{NcAssistantButton-D1Miejvu.mjs → NcAssistantButton-B7BLAkwW.mjs} +2 -2
  215. package/dist/chunks/{NcAssistantButton-D1Miejvu.mjs.map → NcAssistantButton-B7BLAkwW.mjs.map} +1 -1
  216. package/dist/chunks/{NcAssistantButton-Bl0F4iDe.cjs → NcAssistantButton-XS3UdAKm.cjs} +2 -2
  217. package/dist/chunks/{NcAssistantButton-Bl0F4iDe.cjs.map → NcAssistantButton-XS3UdAKm.cjs.map} +1 -1
  218. package/dist/chunks/{NcAvatar-ffZLZnH_.cjs → NcAvatar-D09ZAgeJ.cjs} +7 -7
  219. package/dist/chunks/{NcAvatar-ffZLZnH_.cjs.map → NcAvatar-D09ZAgeJ.cjs.map} +1 -1
  220. package/dist/chunks/{NcAvatar-DC2fiCH-.mjs → NcAvatar-DkAX4nqq.mjs} +7 -7
  221. package/dist/chunks/{NcAvatar-DC2fiCH-.mjs.map → NcAvatar-DkAX4nqq.mjs.map} +1 -1
  222. package/dist/chunks/{NcBreadcrumb-AZMsaVbs.cjs → NcBreadcrumb-14OmaYrH.cjs} +3 -3
  223. package/dist/chunks/{NcBreadcrumb-AZMsaVbs.cjs.map → NcBreadcrumb-14OmaYrH.cjs.map} +1 -1
  224. package/dist/chunks/{NcBreadcrumb-VwnF27KB.mjs → NcBreadcrumb-D8xA3KcG.mjs} +3 -3
  225. package/dist/chunks/{NcBreadcrumb-VwnF27KB.mjs.map → NcBreadcrumb-D8xA3KcG.mjs.map} +1 -1
  226. package/dist/chunks/{NcBreadcrumbs-CpU2Nbqu.cjs → NcBreadcrumbs-CZt3UuyO.cjs} +7 -7
  227. package/dist/chunks/{NcBreadcrumbs-CpXJ-OQ1.mjs.map → NcBreadcrumbs-CZt3UuyO.cjs.map} +1 -1
  228. package/dist/chunks/{NcBreadcrumbs-CpXJ-OQ1.mjs → NcBreadcrumbs-CesoXxTs.mjs} +7 -7
  229. package/dist/chunks/{NcBreadcrumbs-CpU2Nbqu.cjs.map → NcBreadcrumbs-CesoXxTs.mjs.map} +1 -1
  230. package/dist/chunks/{NcButton-Dszi1Apb.cjs → NcButton-ByTFUhwJ.cjs} +14 -5
  231. package/dist/chunks/NcButton-ByTFUhwJ.cjs.map +1 -0
  232. package/dist/chunks/{NcButton-BaZAY-tN.mjs → NcButton-CCWEL9Ci.mjs} +14 -5
  233. package/dist/chunks/NcButton-CCWEL9Ci.mjs.map +1 -0
  234. package/dist/chunks/{NcCheckboxRadioSwitch-NOpZzkFR.cjs → NcCheckboxRadioSwitch-BQeglWXd.cjs} +8 -17
  235. package/dist/chunks/{NcCheckboxRadioSwitch-DJmw98x9.mjs.map → NcCheckboxRadioSwitch-BQeglWXd.cjs.map} +1 -1
  236. package/dist/chunks/{NcCheckboxRadioSwitch-DJmw98x9.mjs → NcCheckboxRadioSwitch-D4IV4zWy.mjs} +8 -17
  237. package/dist/chunks/{NcCheckboxRadioSwitch-NOpZzkFR.cjs.map → NcCheckboxRadioSwitch-D4IV4zWy.mjs.map} +1 -1
  238. package/dist/chunks/{NcCollectionList-DUQPwfcY.cjs → NcCollectionList-2jk5XCm8.cjs} +6 -6
  239. package/dist/chunks/{NcCollectionList-DUQPwfcY.cjs.map → NcCollectionList-2jk5XCm8.cjs.map} +1 -1
  240. package/dist/chunks/{NcCollectionList-U0EoWgeN.mjs → NcCollectionList-DOAZ13vO.mjs} +6 -6
  241. package/dist/chunks/{NcCollectionList-U0EoWgeN.mjs.map → NcCollectionList-DOAZ13vO.mjs.map} +1 -1
  242. package/dist/chunks/{NcColorPicker-CpIQU_eH.cjs → NcColorPicker-BTiAa5mm.cjs} +3 -3
  243. package/dist/chunks/{NcColorPicker-CpIQU_eH.cjs.map → NcColorPicker-BTiAa5mm.cjs.map} +1 -1
  244. package/dist/chunks/{NcColorPicker-BfApfazi.mjs → NcColorPicker-SlazeVcI.mjs} +3 -3
  245. package/dist/chunks/{NcColorPicker-BfApfazi.mjs.map → NcColorPicker-SlazeVcI.mjs.map} +1 -1
  246. package/dist/chunks/{NcContent-MiRvygrj.cjs → NcContent-BB-v-amq.cjs} +8 -6
  247. package/dist/chunks/{NcContent-MiRvygrj.cjs.map → NcContent-BB-v-amq.cjs.map} +1 -1
  248. package/dist/chunks/{NcContent-DFOsZ6pm.mjs → NcContent-BuTh0ZPb.mjs} +8 -6
  249. package/dist/chunks/{NcContent-DFOsZ6pm.mjs.map → NcContent-BuTh0ZPb.mjs.map} +1 -1
  250. package/dist/chunks/{NcDashboardWidget-Cp3DMHz7.mjs → NcDashboardWidget-CO1z9VUN.mjs} +3 -3
  251. package/dist/chunks/{NcDashboardWidget-Cp3DMHz7.mjs.map → NcDashboardWidget-CO1z9VUN.mjs.map} +1 -1
  252. package/dist/chunks/{NcDashboardWidget-BP9C-mPR.cjs → NcDashboardWidget-dMwnFBzc.cjs} +3 -3
  253. package/dist/chunks/{NcDashboardWidget-BP9C-mPR.cjs.map → NcDashboardWidget-dMwnFBzc.cjs.map} +1 -1
  254. package/dist/chunks/{NcDashboardWidgetItem-BCjppWNJ.mjs → NcDashboardWidgetItem-2VgB9qj2.mjs} +4 -4
  255. package/dist/chunks/{NcDashboardWidgetItem-BCjppWNJ.mjs.map → NcDashboardWidgetItem-2VgB9qj2.mjs.map} +1 -1
  256. package/dist/chunks/{NcDashboardWidgetItem-hwkr1yWB.cjs → NcDashboardWidgetItem-9tQgaPXS.cjs} +4 -4
  257. package/dist/chunks/{NcDashboardWidgetItem-hwkr1yWB.cjs.map → NcDashboardWidgetItem-9tQgaPXS.cjs.map} +1 -1
  258. package/dist/chunks/{NcDialog-CDFWleNp.mjs → NcDialog-DZ7xq7XA.mjs} +2 -2
  259. package/dist/chunks/{NcDialog-CDFWleNp.mjs.map → NcDialog-DZ7xq7XA.mjs.map} +1 -1
  260. package/dist/chunks/{NcDialog-gV238gzy.cjs → NcDialog-Qak1QTrv.cjs} +2 -2
  261. package/dist/chunks/{NcDialog-gV238gzy.cjs.map → NcDialog-Qak1QTrv.cjs.map} +1 -1
  262. package/dist/chunks/{NcDialogButton-BDYsOgo1.cjs → NcDialogButton-BoetK2zm.cjs} +2 -2
  263. package/dist/chunks/{NcDialogButton-BDYsOgo1.cjs.map → NcDialogButton-BoetK2zm.cjs.map} +1 -1
  264. package/dist/chunks/{NcDialogButton-tB5RGMME.mjs → NcDialogButton-KNF3Co74.mjs} +2 -2
  265. package/dist/chunks/{NcDialogButton-tB5RGMME.mjs.map → NcDialogButton-KNF3Co74.mjs.map} +1 -1
  266. package/dist/chunks/{NcEmojiPicker-CRRgA7eR.cjs → NcEmojiPicker-2KIJVstd.cjs} +6 -6
  267. package/dist/chunks/{NcEmojiPicker-CRRgA7eR.cjs.map → NcEmojiPicker-2KIJVstd.cjs.map} +1 -1
  268. package/dist/chunks/{NcEmojiPicker-Cw593Jp6.mjs → NcEmojiPicker-DNxcceCn.mjs} +6 -6
  269. package/dist/chunks/{NcEmojiPicker-Cw593Jp6.mjs.map → NcEmojiPicker-DNxcceCn.mjs.map} +1 -1
  270. package/dist/chunks/{NcFilePicker-Ct_uwON0.cjs → NcFilePicker-BL6iajt2.cjs} +3 -3
  271. package/dist/chunks/{NcFilePicker-Ct_uwON0.cjs.map → NcFilePicker-BL6iajt2.cjs.map} +1 -1
  272. package/dist/chunks/{NcFilePicker-CDHKrfPj.mjs → NcFilePicker-Ck9o-ia3.mjs} +3 -3
  273. package/dist/chunks/{NcFilePicker-CDHKrfPj.mjs.map → NcFilePicker-Ck9o-ia3.mjs.map} +1 -1
  274. package/dist/chunks/NcFormBox-DRGVpFeZ.cjs.map +1 -1
  275. package/dist/chunks/NcFormBox-DtoCXLMx.mjs.map +1 -1
  276. package/dist/chunks/{NcFormBoxButton-BQi11xQX.mjs → NcFormBoxButton-CFWCJ0-X.mjs} +2 -2
  277. package/dist/chunks/{NcFormBoxButton-BQi11xQX.mjs.map → NcFormBoxButton-CFWCJ0-X.mjs.map} +1 -1
  278. package/dist/chunks/{NcFormBoxButton-BO2bMnah.cjs → NcFormBoxButton-ozVuTgCZ.cjs} +2 -2
  279. package/dist/chunks/{NcFormBoxButton-BO2bMnah.cjs.map → NcFormBoxButton-ozVuTgCZ.cjs.map} +1 -1
  280. package/dist/chunks/{NcFormBoxCopyButton-B2GrmfEz.cjs → NcFormBoxCopyButton-BS9aM994.cjs} +2 -2
  281. package/dist/chunks/{NcFormBoxCopyButton-B2GrmfEz.cjs.map → NcFormBoxCopyButton-BS9aM994.cjs.map} +1 -1
  282. package/dist/chunks/{NcFormBoxCopyButton-BkunQ3me.mjs → NcFormBoxCopyButton-Da8RuDH1.mjs} +2 -2
  283. package/dist/chunks/{NcFormBoxCopyButton-BkunQ3me.mjs.map → NcFormBoxCopyButton-Da8RuDH1.mjs.map} +1 -1
  284. package/dist/chunks/{NcFormBoxItem-y2AfRFCy.cjs → NcFormBoxItem-3lI7Bu3S.cjs} +2 -2
  285. package/dist/chunks/{NcFormBoxItem-y2AfRFCy.cjs.map → NcFormBoxItem-3lI7Bu3S.cjs.map} +1 -1
  286. package/dist/chunks/{NcFormBoxItem-Cu3gWo1q.mjs → NcFormBoxItem-Bz-P0lVG.mjs} +2 -2
  287. package/dist/chunks/{NcFormBoxItem-Cu3gWo1q.mjs.map → NcFormBoxItem-Bz-P0lVG.mjs.map} +1 -1
  288. package/dist/chunks/{NcFormBoxSwitch-OoIgFMb9.cjs → NcFormBoxSwitch-7R8iAj1R.cjs} +2 -2
  289. package/dist/chunks/{NcFormBoxSwitch-OoIgFMb9.cjs.map → NcFormBoxSwitch-7R8iAj1R.cjs.map} +1 -1
  290. package/dist/chunks/{NcFormBoxSwitch-E6sxPL4n.mjs → NcFormBoxSwitch-DaaMuPnk.mjs} +2 -2
  291. package/dist/chunks/{NcFormBoxSwitch-E6sxPL4n.mjs.map → NcFormBoxSwitch-DaaMuPnk.mjs.map} +1 -1
  292. package/dist/chunks/{NcHeaderButton-KtkQRinp.cjs → NcHeaderButton-BndVfb3e.cjs} +2 -2
  293. package/dist/chunks/{NcHeaderButton-KtkQRinp.cjs.map → NcHeaderButton-BndVfb3e.cjs.map} +1 -1
  294. package/dist/chunks/{NcHeaderButton-BI15lyn_.mjs → NcHeaderButton-GtIbBhEd.mjs} +2 -2
  295. package/dist/chunks/{NcHeaderButton-BI15lyn_.mjs.map → NcHeaderButton-GtIbBhEd.mjs.map} +1 -1
  296. package/dist/chunks/{NcHeaderMenu-Bl4_eT2K.cjs → NcHeaderMenu-DUQ4pqU-.cjs} +2 -2
  297. package/dist/chunks/{NcHeaderMenu-Bl4_eT2K.cjs.map → NcHeaderMenu-DUQ4pqU-.cjs.map} +1 -1
  298. package/dist/chunks/{NcHeaderMenu-B2gYavD4.mjs → NcHeaderMenu-elBE_Ukl.mjs} +2 -2
  299. package/dist/chunks/{NcHeaderMenu-B2gYavD4.mjs.map → NcHeaderMenu-elBE_Ukl.mjs.map} +1 -1
  300. package/dist/chunks/{NcInputConfirmCancel-Ckda9G9Z.cjs → NcInputConfirmCancel-CEZVhgJR.cjs} +9 -5
  301. package/dist/chunks/NcInputConfirmCancel-CEZVhgJR.cjs.map +1 -0
  302. package/dist/chunks/{NcInputConfirmCancel-BvYpvopv.mjs → NcInputConfirmCancel-CwuZqsuC.mjs} +9 -5
  303. package/dist/chunks/NcInputConfirmCancel-CwuZqsuC.mjs.map +1 -0
  304. package/dist/chunks/{NcInputField-DDgBZ427.cjs → NcInputField-Brpn446B.cjs} +3 -3
  305. package/dist/chunks/{NcInputField-DDgBZ427.cjs.map → NcInputField-Brpn446B.cjs.map} +1 -1
  306. package/dist/chunks/{NcInputField-Cfm1bJR4.mjs → NcInputField-i4Z8nb4b.mjs} +3 -3
  307. package/dist/chunks/{NcInputField-Cfm1bJR4.mjs.map → NcInputField-i4Z8nb4b.mjs.map} +1 -1
  308. package/dist/chunks/{NcListItem-BLbG7272.cjs → NcListItem-C-e9iA9w.cjs} +2 -2
  309. package/dist/chunks/{NcListItem-BLbG7272.cjs.map → NcListItem-C-e9iA9w.cjs.map} +1 -1
  310. package/dist/chunks/{NcListItem-RKTfRg06.mjs → NcListItem-CaosvdEe.mjs} +2 -2
  311. package/dist/chunks/{NcListItem-RKTfRg06.mjs.map → NcListItem-CaosvdEe.mjs.map} +1 -1
  312. package/dist/chunks/{NcListItemIcon-CQzyGLEI.cjs → NcListItemIcon-BQ0f65Vg.cjs} +2 -2
  313. package/dist/chunks/{NcListItemIcon-CQzyGLEI.cjs.map → NcListItemIcon-BQ0f65Vg.cjs.map} +1 -1
  314. package/dist/chunks/{NcListItemIcon-D49wESTI.mjs → NcListItemIcon-DCKYv8Jr.mjs} +2 -2
  315. package/dist/chunks/{NcListItemIcon-D49wESTI.mjs.map → NcListItemIcon-DCKYv8Jr.mjs.map} +1 -1
  316. package/dist/chunks/{NcPasswordField-lE4m20vf.mjs → NcPasswordField-D4OFjLza.mjs} +7 -8
  317. package/dist/chunks/NcPasswordField-D4OFjLza.mjs.map +1 -0
  318. package/dist/chunks/{NcPasswordField-DNuolayr.cjs → NcPasswordField-PQt7wMbW.cjs} +7 -8
  319. package/dist/chunks/NcPasswordField-PQt7wMbW.cjs.map +1 -0
  320. package/dist/chunks/{NcRelatedResourcesPanel-C2sLodV8.mjs → NcRelatedResourcesPanel-I2ZOB3cx.mjs} +7 -7
  321. package/dist/chunks/{NcRelatedResourcesPanel-C2sLodV8.mjs.map → NcRelatedResourcesPanel-I2ZOB3cx.mjs.map} +1 -1
  322. package/dist/chunks/{NcRelatedResourcesPanel-Dge9WXUM.cjs → NcRelatedResourcesPanel-l1AlGr83.cjs} +7 -7
  323. package/dist/chunks/{NcRelatedResourcesPanel-Dge9WXUM.cjs.map → NcRelatedResourcesPanel-l1AlGr83.cjs.map} +1 -1
  324. package/dist/chunks/{NcRichContenteditable-SA1zbfkk.mjs → NcRichContenteditable-8ZA_LArB.mjs} +21 -19
  325. package/dist/chunks/NcRichContenteditable-8ZA_LArB.mjs.map +1 -0
  326. package/dist/chunks/{NcRichContenteditable-Bh-mMIQz.cjs → NcRichContenteditable-DZjIiOKo.cjs} +21 -19
  327. package/dist/chunks/NcRichContenteditable-DZjIiOKo.cjs.map +1 -0
  328. package/dist/chunks/{NcRichText-rNfwY_Oc.mjs → NcRichText-ByLPwUvM.mjs} +337 -325
  329. package/dist/chunks/NcRichText-ByLPwUvM.mjs.map +1 -0
  330. package/dist/chunks/{NcRichText-B1Fyj7k8.cjs → NcRichText-pqvg5l27.cjs} +338 -327
  331. package/dist/chunks/NcRichText-pqvg5l27.cjs.map +1 -0
  332. package/dist/chunks/{NcSelect-1P3nA044.cjs → NcSelect-BCcSawYf.cjs} +3 -3
  333. package/dist/chunks/{NcSelect-1P3nA044.cjs.map → NcSelect-BCcSawYf.cjs.map} +1 -1
  334. package/dist/chunks/{NcSelect-CbWXsDdZ.mjs → NcSelect-CHc1QupB.mjs} +3 -3
  335. package/dist/chunks/{NcSelect-CbWXsDdZ.mjs.map → NcSelect-CHc1QupB.mjs.map} +1 -1
  336. package/dist/chunks/{NcSelectTags-CqVn5iU9.mjs → NcSelectTags-Bokig7ar.mjs} +2 -2
  337. package/dist/chunks/{NcSelectTags-CqVn5iU9.mjs.map → NcSelectTags-Bokig7ar.mjs.map} +1 -1
  338. package/dist/chunks/{NcSelectTags-D0fZXXmB.cjs → NcSelectTags-uU_mHbSm.cjs} +2 -2
  339. package/dist/chunks/{NcSelectTags-D0fZXXmB.cjs.map → NcSelectTags-uU_mHbSm.cjs.map} +1 -1
  340. package/dist/chunks/{NcSelectUsers-DGnn4yBW.mjs → NcSelectUsers-B4w9UC_d.mjs} +3 -3
  341. package/dist/chunks/{NcSelectUsers-DGnn4yBW.mjs.map → NcSelectUsers-B4w9UC_d.mjs.map} +1 -1
  342. package/dist/chunks/{NcSelectUsers-BuehmXvD.cjs → NcSelectUsers-BB9ZIHeB.cjs} +3 -3
  343. package/dist/chunks/{NcSelectUsers-BuehmXvD.cjs.map → NcSelectUsers-BB9ZIHeB.cjs.map} +1 -1
  344. package/dist/chunks/{NcSettingsSelectGroup-BaSHNm1x.mjs → NcSettingsSelectGroup-BdXf7ytX.mjs} +2 -2
  345. package/dist/chunks/{NcSettingsSelectGroup-BaSHNm1x.mjs.map → NcSettingsSelectGroup-BdXf7ytX.mjs.map} +1 -1
  346. package/dist/chunks/{NcSettingsSelectGroup-CUQtMkR1.cjs → NcSettingsSelectGroup-BtNFBX1V.cjs} +2 -2
  347. package/dist/chunks/{NcSettingsSelectGroup-CUQtMkR1.cjs.map → NcSettingsSelectGroup-BtNFBX1V.cjs.map} +1 -1
  348. package/dist/chunks/{NcTextArea-UKiTMLga.cjs → NcTextArea-B9Vn3rQC.cjs} +2 -2
  349. package/dist/chunks/{NcTextArea-UKiTMLga.cjs.map → NcTextArea-B9Vn3rQC.cjs.map} +1 -1
  350. package/dist/chunks/{NcTextArea-fGUiK7p2.mjs → NcTextArea-DPJWqlJb.mjs} +2 -2
  351. package/dist/chunks/{NcTextArea-fGUiK7p2.mjs.map → NcTextArea-DPJWqlJb.mjs.map} +1 -1
  352. package/dist/chunks/{NcTextField-CkW-dl88.cjs → NcTextField-B92lM77I.cjs} +2 -2
  353. package/dist/chunks/{NcTextField-CkW-dl88.cjs.map → NcTextField-B92lM77I.cjs.map} +1 -1
  354. package/dist/chunks/{NcTextField-DZHP0Dfw.mjs → NcTextField-Czr9S6YO.mjs} +2 -2
  355. package/dist/chunks/{NcTextField-DZHP0Dfw.mjs.map → NcTextField-Czr9S6YO.mjs.map} +1 -1
  356. package/dist/chunks/{NcTimezonePicker-CI4FEzzK.cjs → NcTimezonePicker-D2e7hW-Z.cjs} +2 -2
  357. package/dist/chunks/{NcTimezonePicker-CI4FEzzK.cjs.map → NcTimezonePicker-D2e7hW-Z.cjs.map} +1 -1
  358. package/dist/chunks/{NcTimezonePicker-w7XtRhLb.mjs → NcTimezonePicker-n9kr9A4o.mjs} +2 -2
  359. package/dist/chunks/{NcTimezonePicker-w7XtRhLb.mjs.map → NcTimezonePicker-n9kr9A4o.mjs.map} +1 -1
  360. package/dist/chunks/{NcUserBubble-CIOqCO9S.mjs → NcUserBubble-BGfZAi4c.mjs} +2 -2
  361. package/dist/chunks/{NcUserBubble-CIOqCO9S.mjs.map → NcUserBubble-BGfZAi4c.mjs.map} +1 -1
  362. package/dist/chunks/{NcUserBubble-DTcWIk4G.cjs → NcUserBubble-CNQJUk2l.cjs} +2 -2
  363. package/dist/chunks/{NcUserBubble-DTcWIk4G.cjs.map → NcUserBubble-CNQJUk2l.cjs.map} +1 -1
  364. package/dist/chunks/{NcUserStatusIcon-Bw0m9Xza.cjs → NcUserStatusIcon-BnGtoiCy.cjs} +2 -2
  365. package/dist/chunks/{NcUserStatusIcon-Bw0m9Xza.cjs.map → NcUserStatusIcon-BnGtoiCy.cjs.map} +1 -1
  366. package/dist/chunks/{NcUserStatusIcon-Cq1RnTfF.mjs → NcUserStatusIcon-DdPPN-cP.mjs} +2 -2
  367. package/dist/chunks/{NcUserStatusIcon-Cq1RnTfF.mjs.map → NcUserStatusIcon-DdPPN-cP.mjs.map} +1 -1
  368. package/dist/chunks/{ScopeComponent-DvT_N_X8.mjs → ScopeComponent-77Az-4PS.mjs} +2 -2
  369. package/dist/chunks/{ScopeComponent-DvT_N_X8.mjs.map → ScopeComponent-77Az-4PS.mjs.map} +1 -1
  370. package/dist/chunks/{ScopeComponent-CjjPkFe1.cjs → ScopeComponent-BLaRYUFv.cjs} +2 -2
  371. package/dist/chunks/{ScopeComponent-CjjPkFe1.cjs.map → ScopeComponent-BLaRYUFv.cjs.map} +1 -1
  372. package/dist/chunks/{autolink-D2pIbi92.mjs → autolink-CeB9uxD9.mjs} +56 -21
  373. package/dist/chunks/autolink-CeB9uxD9.mjs.map +1 -0
  374. package/dist/chunks/{autolink-BPlRHRHR.cjs → autolink-VQMuzjxl.cjs} +57 -22
  375. package/dist/chunks/autolink-VQMuzjxl.cjs.map +1 -0
  376. package/dist/chunks/{colors-BmzDi7by.mjs → colors-Bp0JzIQ4.mjs} +5 -1
  377. package/dist/chunks/{colors-BmzDi7by.mjs.map → colors-Bp0JzIQ4.mjs.map} +1 -1
  378. package/dist/chunks/{colors-CND3oL8e.cjs → colors-CyIwf6gH.cjs} +5 -1
  379. package/dist/chunks/{colors-CND3oL8e.cjs.map → colors-CyIwf6gH.cjs.map} +1 -1
  380. package/dist/chunks/{emoji-BgZdRy3v.mjs → emoji-Dtn2mDf7.mjs} +2 -2
  381. package/dist/chunks/emoji-Dtn2mDf7.mjs.map +1 -0
  382. package/dist/chunks/{emoji-CEwczMT5.cjs → emoji-aWWWqkrJ.cjs} +2 -2
  383. package/dist/chunks/emoji-aWWWqkrJ.cjs.map +1 -0
  384. package/dist/chunks/{getAvatarUrl-Du9Y3cPO.cjs → getAvatarUrl-4HsuXa3l.cjs} +2 -2
  385. package/dist/chunks/{getAvatarUrl-Du9Y3cPO.cjs.map → getAvatarUrl-4HsuXa3l.cjs.map} +1 -1
  386. package/dist/chunks/{getAvatarUrl-IhLacDEr.mjs → getAvatarUrl-BGOeDmNO.mjs} +2 -2
  387. package/dist/chunks/{getAvatarUrl-IhLacDEr.mjs.map → getAvatarUrl-BGOeDmNO.mjs.map} +1 -1
  388. package/dist/chunks/{index-TmAR7I2T.mjs → index-BCqXu_og.mjs} +2 -2
  389. package/dist/chunks/{index-TmAR7I2T.mjs.map → index-BCqXu_og.mjs.map} +1 -1
  390. package/dist/chunks/{index-CgkN1xho.cjs → index-phHwkniW.cjs} +2 -2
  391. package/dist/chunks/{index-CgkN1xho.cjs.map → index-phHwkniW.cjs.map} +1 -1
  392. package/dist/chunks/legacy-Bk0qQxIg.cjs +8 -0
  393. package/dist/chunks/legacy-Bk0qQxIg.cjs.map +1 -0
  394. package/dist/chunks/legacy-DV3mGZdh.mjs +9 -0
  395. package/dist/chunks/legacy-DV3mGZdh.mjs.map +1 -0
  396. package/dist/chunks/{referencePickerModal-DD_GM6xV.mjs → referencePickerModal-B69WouiU.mjs} +6 -6
  397. package/dist/chunks/{referencePickerModal-DD_GM6xV.mjs.map → referencePickerModal-B69WouiU.mjs.map} +1 -1
  398. package/dist/chunks/{referencePickerModal-hGj81_Th.cjs → referencePickerModal-BGYbZYrX.cjs} +6 -6
  399. package/dist/chunks/{referencePickerModal-hGj81_Th.cjs.map → referencePickerModal-BGYbZYrX.cjs.map} +1 -1
  400. package/dist/index.cjs +55 -55
  401. package/dist/index.mjs +57 -57
  402. package/dist/utils/legacy.d.ts +1 -0
  403. package/dist/vendor.LICENSE.txt +4 -8
  404. package/package.json +15 -15
  405. package/dist/assets/NcAppSettingsDialog-N2RJYgHo.css +0 -103
  406. package/dist/assets/NcInputConfirmCancel-CkhRZCfD.css +0 -39
  407. package/dist/chunks/NcActionButton-1gSJfFUC.mjs.map +0 -1
  408. package/dist/chunks/NcActionButton-C5Dqge0c.cjs.map +0 -1
  409. package/dist/chunks/NcActionButtonGroup-CpZDTAQo.cjs.map +0 -1
  410. package/dist/chunks/NcActionButtonGroup-eZxqibUd.mjs.map +0 -1
  411. package/dist/chunks/NcActionInput-UPwE2Dky.mjs.map +0 -1
  412. package/dist/chunks/NcActionInput-eAmBylEO.cjs.map +0 -1
  413. package/dist/chunks/NcActionTextEditable-CIsAP-pp.mjs.map +0 -1
  414. package/dist/chunks/NcActionTextEditable-RFLtWxrl.cjs.map +0 -1
  415. package/dist/chunks/NcActions-BSDvtMJD.cjs.map +0 -1
  416. package/dist/chunks/NcActions-BcLis_nr.mjs.map +0 -1
  417. package/dist/chunks/NcAppNavigation-BfzJA6cb.mjs.map +0 -1
  418. package/dist/chunks/NcAppNavigation-D2Ds_2Dm.cjs.map +0 -1
  419. package/dist/chunks/NcAppNavigationItem-D30ztZfZ.mjs.map +0 -1
  420. package/dist/chunks/NcAppNavigationItem-Dc5Vdhb1.cjs.map +0 -1
  421. package/dist/chunks/NcAppSettingsDialog-Ckf6dRRJ.cjs.map +0 -1
  422. package/dist/chunks/NcAppSettingsDialog-vBeCGFqk.mjs.map +0 -1
  423. package/dist/chunks/NcAppSidebar-CPHVBBe0.cjs.map +0 -1
  424. package/dist/chunks/NcAppSidebar-Cx0PlofZ.mjs.map +0 -1
  425. package/dist/chunks/NcButton-BaZAY-tN.mjs.map +0 -1
  426. package/dist/chunks/NcButton-Dszi1Apb.cjs.map +0 -1
  427. package/dist/chunks/NcInputConfirmCancel-BvYpvopv.mjs.map +0 -1
  428. package/dist/chunks/NcInputConfirmCancel-Ckda9G9Z.cjs.map +0 -1
  429. package/dist/chunks/NcPasswordField-DNuolayr.cjs.map +0 -1
  430. package/dist/chunks/NcPasswordField-lE4m20vf.mjs.map +0 -1
  431. package/dist/chunks/NcRichContenteditable-Bh-mMIQz.cjs.map +0 -1
  432. package/dist/chunks/NcRichContenteditable-SA1zbfkk.mjs.map +0 -1
  433. package/dist/chunks/NcRichText-B1Fyj7k8.cjs.map +0 -1
  434. package/dist/chunks/NcRichText-rNfwY_Oc.mjs.map +0 -1
  435. package/dist/chunks/autolink-BPlRHRHR.cjs.map +0 -1
  436. package/dist/chunks/autolink-D2pIbi92.mjs.map +0 -1
  437. package/dist/chunks/emoji-BgZdRy3v.mjs.map +0 -1
  438. package/dist/chunks/emoji-CEwczMT5.cjs.map +0 -1
  439. package/dist/chunks/legacy-KBXhWdRy.cjs +0 -5
  440. package/dist/chunks/legacy-KBXhWdRy.cjs.map +0 -1
  441. package/dist/chunks/legacy-MK4GvP26.mjs +0 -6
  442. package/dist/chunks/legacy-MK4GvP26.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- require('../assets/NcRichText-CAhzDSty.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,38 +22,37 @@ 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");
28
29
  const remarkParse = require("remark-parse");
29
30
  const remark2rehype = require("remark-rehype");
30
- const remarkStringify = require("remark-stringify");
31
31
  const remarkUnlinkProtocols = require("remark-unlink-protocols");
32
32
  const unified = require("unified");
33
33
  const Vue = require("vue");
34
34
  const vueRouter = require("vue-router");
35
- const NcCheckboxRadioSwitch = require("./NcCheckboxRadioSwitch-NOpZzkFR.cjs");
35
+ const NcCheckboxRadioSwitch = require("./NcCheckboxRadioSwitch-BQeglWXd.cjs");
36
36
  const auth = require("@nextcloud/auth");
37
37
  const axios = require("@nextcloud/axios");
38
38
  const router = require("@nextcloud/router");
39
39
  const _public = require("@nextcloud/sharing/public");
40
- const referencePickerModal = require("./referencePickerModal-hGj81_Th.cjs");
40
+ const referencePickerModal = require("./referencePickerModal-BGYbZYrX.cjs");
41
41
  const logger = require("./logger-3HuiEIF6.cjs");
42
- const autolink = require("./autolink-BPlRHRHR.cjs");
42
+ const autolink = require("./autolink-VQMuzjxl.cjs");
43
43
  const _pluginVue2_normalizer = require("./_plugin-vue2_normalizer-V0q-tHlQ.cjs");
44
- const NcButton = require("./NcButton-Dszi1Apb.cjs");
44
+ const NcButton = require("./NcButton-ByTFUhwJ.cjs");
45
45
  const NcIconSvgWrapper = require("./NcIconSvgWrapper-Bbl4kXZI.cjs");
46
46
  const useCopy = require("./useCopy-3m2jDiIN.cjs");
47
47
  const GenRandomId = require("./GenRandomId-D7iOvpZS.cjs");
48
48
  const unistBuilder = require("unist-builder");
49
- const unistUtilVisit = require("unist-util-visit");
49
+ const unistUtilVisitParents = require("unist-util-visit-parents");
50
50
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
51
51
  const rehypeExternalLinks__default = /* @__PURE__ */ _interopDefault(rehypeExternalLinks);
52
52
  const rehype2react__default = /* @__PURE__ */ _interopDefault(rehype2react);
53
53
  const breaks__default = /* @__PURE__ */ _interopDefault(breaks);
54
54
  const remarkParse__default = /* @__PURE__ */ _interopDefault(remarkParse);
55
55
  const remark2rehype__default = /* @__PURE__ */ _interopDefault(remark2rehype);
56
- const remarkStringify__default = /* @__PURE__ */ _interopDefault(remarkStringify);
57
56
  const remarkUnlinkProtocols__default = /* @__PURE__ */ _interopDefault(remarkUnlinkProtocols);
58
57
  const axios__default = /* @__PURE__ */ _interopDefault(axios);
59
58
  const _sfc_main$2 = {
@@ -260,7 +259,14 @@ const convert = (
260
259
  return castFactory(test);
261
260
  }
262
261
  if (typeof test === "object") {
263
- return Array.isArray(test) ? anyFactory(test) : propsFactory(test);
262
+ return Array.isArray(test) ? anyFactory(test) : (
263
+ // Cast because `ReadonlyArray` goes into the above but `isArray`
264
+ // narrows to `Array`.
265
+ propertiesFactory(
266
+ /** @type {Props} */
267
+ test
268
+ )
269
+ );
264
270
  }
265
271
  if (typeof test === "string") {
266
272
  return typeFactory(test);
@@ -283,17 +289,17 @@ function anyFactory(tests) {
283
289
  return false;
284
290
  }
285
291
  }
286
- function propsFactory(check) {
292
+ function propertiesFactory(check) {
287
293
  const checkAsRecord = (
288
294
  /** @type {Record<string, unknown>} */
289
295
  check
290
296
  );
291
- return castFactory(all2);
292
- function all2(node2) {
297
+ return castFactory(all);
298
+ function all(node) {
293
299
  const nodeAsRecord = (
294
300
  /** @type {Record<string, unknown>} */
295
301
  /** @type {unknown} */
296
- node2
302
+ node
297
303
  );
298
304
  let key;
299
305
  for (key in check) {
@@ -304,8 +310,8 @@ function propsFactory(check) {
304
310
  }
305
311
  function typeFactory(check) {
306
312
  return castFactory(type);
307
- function type(node2) {
308
- return node2 && node2.type === check;
313
+ function type(node) {
314
+ return node && node.type === check;
309
315
  }
310
316
  }
311
317
  function castFactory(testFunction) {
@@ -327,90 +333,15 @@ function ok() {
327
333
  function looksLikeANode(value) {
328
334
  return value !== null && typeof value === "object" && "type" in value;
329
335
  }
330
- function color(d) {
331
- return d;
332
- }
333
- const empty = [];
334
- const CONTINUE = true;
335
- const EXIT = false;
336
- const SKIP = "skip";
337
- function visitParents(tree, test, visitor, reverse) {
338
- let check;
339
- {
340
- check = test;
341
- }
342
- const is = convert(check);
343
- const step = 1;
344
- factory(tree, void 0, [])();
345
- function factory(node2, index, parents) {
346
- const value = (
347
- /** @type {Record<string, unknown>} */
348
- node2 && typeof node2 === "object" ? node2 : {}
349
- );
350
- if (typeof value.type === "string") {
351
- const name = (
352
- // `hast`
353
- typeof value.tagName === "string" ? value.tagName : (
354
- // `xast`
355
- typeof value.name === "string" ? value.name : void 0
356
- )
357
- );
358
- Object.defineProperty(visit, "name", {
359
- value: "node (" + color(node2.type + (name ? "<" + name + ">" : "")) + ")"
360
- });
361
- }
362
- return visit;
363
- function visit() {
364
- let result = empty;
365
- let subresult;
366
- let offset;
367
- let grandparents;
368
- if (is(node2, index, parents[parents.length - 1] || void 0)) {
369
- result = toResult(visitor(node2, parents));
370
- if (result[0] === EXIT) {
371
- return result;
372
- }
373
- }
374
- if ("children" in node2 && node2.children) {
375
- const nodeAsParent = (
376
- /** @type {UnistParent} */
377
- node2
378
- );
379
- if (nodeAsParent.children && result[0] !== SKIP) {
380
- offset = -1 + step;
381
- grandparents = parents.concat(nodeAsParent);
382
- while (offset > -1 && offset < nodeAsParent.children.length) {
383
- const child = nodeAsParent.children[offset];
384
- subresult = factory(child, offset, grandparents)();
385
- if (subresult[0] === EXIT) {
386
- return subresult;
387
- }
388
- offset = typeof subresult[1] === "number" ? subresult[1] : offset + step;
389
- }
390
- }
391
- }
392
- return result;
393
- }
394
- }
395
- }
396
- function toResult(value) {
397
- if (Array.isArray(value)) {
398
- return value;
399
- }
400
- if (typeof value === "number") {
401
- return [CONTINUE, value];
402
- }
403
- return value === null || value === void 0 ? empty : [value];
404
- }
405
336
  function findAndReplace(tree, list2, options) {
406
337
  const settings = options || {};
407
338
  const ignored = convert(settings.ignore || []);
408
339
  const pairs = toPairs(list2);
409
340
  let pairIndex = -1;
410
341
  while (++pairIndex < pairs.length) {
411
- visitParents(tree, "text", visitor);
342
+ unistUtilVisitParents.visitParents(tree, "text", visitor);
412
343
  }
413
- function visitor(node2, parents) {
344
+ function visitor(node, parents) {
414
345
  let index = -1;
415
346
  let grandparent;
416
347
  while (++index < parents.length) {
@@ -426,26 +357,26 @@ function findAndReplace(tree, list2, options) {
426
357
  grandparent = parent;
427
358
  }
428
359
  if (grandparent) {
429
- return handler(node2, parents);
360
+ return handler(node, parents);
430
361
  }
431
362
  }
432
- function handler(node2, parents) {
363
+ function handler(node, parents) {
433
364
  const parent = parents[parents.length - 1];
434
365
  const find = pairs[pairIndex][0];
435
366
  const replace2 = pairs[pairIndex][1];
436
367
  let start = 0;
437
368
  const siblings = parent.children;
438
- const index = siblings.indexOf(node2);
369
+ const index = siblings.indexOf(node);
439
370
  let change = false;
440
371
  let nodes = [];
441
372
  find.lastIndex = 0;
442
- let match = find.exec(node2.value);
373
+ let match = find.exec(node.value);
443
374
  while (match) {
444
375
  const position = match.index;
445
376
  const matchObject = {
446
377
  index: match.index,
447
378
  input: match.input,
448
- stack: [...parents, node2]
379
+ stack: [...parents, node]
449
380
  };
450
381
  let value = replace2(...match, matchObject);
451
382
  if (typeof value === "string") {
@@ -457,7 +388,7 @@ function findAndReplace(tree, list2, options) {
457
388
  if (start !== position) {
458
389
  nodes.push({
459
390
  type: "text",
460
- value: node2.value.slice(start, position)
391
+ value: node.value.slice(start, position)
461
392
  });
462
393
  }
463
394
  if (Array.isArray(value)) {
@@ -471,15 +402,15 @@ function findAndReplace(tree, list2, options) {
471
402
  if (!find.global) {
472
403
  break;
473
404
  }
474
- match = find.exec(node2.value);
405
+ match = find.exec(node.value);
475
406
  }
476
407
  if (change) {
477
- if (start < node2.value.length) {
478
- nodes.push({ type: "text", value: node2.value.slice(start) });
408
+ if (start < node.value.length) {
409
+ nodes.push({ type: "text", value: node.value.slice(start) });
479
410
  }
480
411
  parent.children.splice(index, 1, ...nodes);
481
412
  } else {
482
- nodes = [node2];
413
+ nodes = [node];
483
414
  }
484
415
  return index + nodes.length;
485
416
  }
@@ -562,9 +493,9 @@ function exitLiteralAutolinkHttp(token) {
562
493
  }
563
494
  function exitLiteralAutolinkWww(token) {
564
495
  this.config.exit.data.call(this, token);
565
- const node2 = this.stack[this.stack.length - 1];
566
- ok$1(node2.type === "link");
567
- node2.url = "http://" + this.sliceSerialize(token);
496
+ const node = this.stack[this.stack.length - 1];
497
+ ok$1(node.type === "link");
498
+ node.url = "http://" + this.sliceSerialize(token);
568
499
  }
569
500
  function exitLiteralAutolinkEmail(token) {
570
501
  this.config.exit.autolinkEmail.call(this, token);
@@ -690,10 +621,10 @@ function enterFootnoteDefinitionLabelString() {
690
621
  }
691
622
  function exitFootnoteDefinitionLabelString(token) {
692
623
  const label = this.resume();
693
- const node2 = this.stack[this.stack.length - 1];
694
- ok$1(node2.type === "footnoteDefinition");
695
- node2.label = label;
696
- node2.identifier = normalizeIdentifier(
624
+ const node = this.stack[this.stack.length - 1];
625
+ ok$1(node.type === "footnoteDefinition");
626
+ node.label = label;
627
+ node.identifier = normalizeIdentifier(
697
628
  this.sliceSerialize(token)
698
629
  ).toLowerCase();
699
630
  }
@@ -708,23 +639,23 @@ function enterFootnoteCallString() {
708
639
  }
709
640
  function exitFootnoteCallString(token) {
710
641
  const label = this.resume();
711
- const node2 = this.stack[this.stack.length - 1];
712
- ok$1(node2.type === "footnoteReference");
713
- node2.label = label;
714
- node2.identifier = normalizeIdentifier(
642
+ const node = this.stack[this.stack.length - 1];
643
+ ok$1(node.type === "footnoteReference");
644
+ node.label = label;
645
+ node.identifier = normalizeIdentifier(
715
646
  this.sliceSerialize(token)
716
647
  ).toLowerCase();
717
648
  }
718
649
  function exitFootnoteCall(token) {
719
650
  this.exit(token);
720
651
  }
721
- function footnoteReference(node2, _, state, info) {
652
+ function footnoteReference(node, _, state, info) {
722
653
  const tracker = state.createTracker(info);
723
654
  let value = tracker.move("[^");
724
655
  const exit2 = state.enter("footnoteReference");
725
656
  const subexit = state.enter("reference");
726
657
  value += tracker.move(
727
- state.safe(state.associationId(node2), {
658
+ state.safe(state.associationId(node), {
728
659
  ...tracker.current(),
729
660
  before: value,
730
661
  after: "]"
@@ -738,13 +669,13 @@ function footnoteReference(node2, _, state, info) {
738
669
  function footnoteReferencePeek() {
739
670
  return "[";
740
671
  }
741
- function footnoteDefinition(node2, _, state, info) {
672
+ function footnoteDefinition(node, _, state, info) {
742
673
  const tracker = state.createTracker(info);
743
674
  let value = tracker.move("[^");
744
675
  const exit2 = state.enter("footnoteDefinition");
745
676
  const subexit = state.enter("label");
746
677
  value += tracker.move(
747
- state.safe(state.associationId(node2), {
678
+ state.safe(state.associationId(node), {
748
679
  ...tracker.current(),
749
680
  before: value,
750
681
  after: "]"
@@ -752,11 +683,11 @@ function footnoteDefinition(node2, _, state, info) {
752
683
  );
753
684
  subexit();
754
685
  value += tracker.move(
755
- "]:" + (node2.children && node2.children.length > 0 ? " " : "")
686
+ "]:" + (node.children && node.children.length > 0 ? " " : "")
756
687
  );
757
688
  tracker.shift(4);
758
689
  value += tracker.move(
759
- state.indentLines(state.containerFlow(node2, tracker.current()), map$2)
690
+ state.indentLines(state.containerFlow(node, tracker.current()), map$2)
760
691
  );
761
692
  exit2();
762
693
  return value;
@@ -801,11 +732,11 @@ function enterStrikethrough(token) {
801
732
  function exitStrikethrough(token) {
802
733
  this.exit(token);
803
734
  }
804
- function handleDelete(node2, _, state, info) {
735
+ function handleDelete(node, _, state, info) {
805
736
  const tracker = state.createTracker(info);
806
737
  const exit2 = state.enter("strikethrough");
807
738
  let value = tracker.move("~~");
808
- value += state.containerPhrasing(node2, {
739
+ value += state.containerPhrasing(node, {
809
740
  ...tracker.current(),
810
741
  before: value,
811
742
  after: "~"
@@ -955,13 +886,13 @@ function toAlignment(value) {
955
886
  const code2 = typeof value === "string" ? value.codePointAt(0) : 0;
956
887
  return code2 === 67 || code2 === 99 ? 99 : code2 === 76 || code2 === 108 ? 108 : code2 === 82 || code2 === 114 ? 114 : 0;
957
888
  }
958
- function blockquote(node2, _, state, info) {
889
+ function blockquote(node, _, state, info) {
959
890
  const exit2 = state.enter("blockquote");
960
891
  const tracker = state.createTracker(info);
961
892
  tracker.move("> ");
962
893
  tracker.shift(2);
963
894
  const value = state.indentLines(
964
- state.containerFlow(node2, tracker.current()),
895
+ state.containerFlow(node, tracker.current()),
965
896
  map$1
966
897
  );
967
898
  exit2();
@@ -1019,12 +950,12 @@ function longestStreak(value, substring) {
1019
950
  }
1020
951
  return max;
1021
952
  }
1022
- function formatCodeAsIndented(node2, state) {
953
+ function formatCodeAsIndented(node, state) {
1023
954
  return Boolean(
1024
- state.options.fences === false && node2.value && // If there’s no info…
1025
- !node2.lang && // And there’s a non-whitespace character…
1026
- /[^ \r\n]/.test(node2.value) && // And the value doesn’t start or end in a blank…
1027
- !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node2.value)
955
+ state.options.fences === false && node.value && // If there’s no info…
956
+ !node.lang && // And there’s a non-whitespace character…
957
+ /[^ \r\n]/.test(node.value) && // And the value doesn’t start or end in a blank…
958
+ !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node.value)
1028
959
  );
1029
960
  }
1030
961
  function checkFence(state) {
@@ -1036,11 +967,11 @@ function checkFence(state) {
1036
967
  }
1037
968
  return marker;
1038
969
  }
1039
- function code$1(node2, _, state, info) {
970
+ function code$1(node, _, state, info) {
1040
971
  const marker = checkFence(state);
1041
- const raw = node2.value || "";
972
+ const raw = node.value || "";
1042
973
  const suffix = marker === "`" ? "GraveAccent" : "Tilde";
1043
- if (formatCodeAsIndented(node2, state)) {
974
+ if (formatCodeAsIndented(node, state)) {
1044
975
  const exit3 = state.enter("codeIndented");
1045
976
  const value2 = state.indentLines(raw, map);
1046
977
  exit3();
@@ -1050,10 +981,10 @@ function code$1(node2, _, state, info) {
1050
981
  const sequence = marker.repeat(Math.max(longestStreak(raw, marker) + 1, 3));
1051
982
  const exit2 = state.enter("codeFenced");
1052
983
  let value = tracker.move(sequence);
1053
- if (node2.lang) {
984
+ if (node.lang) {
1054
985
  const subexit = state.enter(`codeFencedLang${suffix}`);
1055
986
  value += tracker.move(
1056
- state.safe(node2.lang, {
987
+ state.safe(node.lang, {
1057
988
  before: value,
1058
989
  after: " ",
1059
990
  encode: ["`"],
@@ -1062,11 +993,11 @@ function code$1(node2, _, state, info) {
1062
993
  );
1063
994
  subexit();
1064
995
  }
1065
- if (node2.lang && node2.meta) {
996
+ if (node.lang && node.meta) {
1066
997
  const subexit = state.enter(`codeFencedMeta${suffix}`);
1067
998
  value += tracker.move(" ");
1068
999
  value += tracker.move(
1069
- state.safe(node2.meta, {
1000
+ state.safe(node.meta, {
1070
1001
  before: value,
1071
1002
  after: "\n",
1072
1003
  encode: ["`"],
@@ -1095,7 +1026,7 @@ function checkQuote(state) {
1095
1026
  }
1096
1027
  return marker;
1097
1028
  }
1098
- function definition(node2, _, state, info) {
1029
+ function definition(node, _, state, info) {
1099
1030
  const quote = checkQuote(state);
1100
1031
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1101
1032
  const exit2 = state.enter("definition");
@@ -1103,7 +1034,7 @@ function definition(node2, _, state, info) {
1103
1034
  const tracker = state.createTracker(info);
1104
1035
  let value = tracker.move("[");
1105
1036
  value += tracker.move(
1106
- state.safe(state.associationId(node2), {
1037
+ state.safe(state.associationId(node), {
1107
1038
  before: value,
1108
1039
  after: "]",
1109
1040
  ...tracker.current()
@@ -1113,31 +1044,31 @@ function definition(node2, _, state, info) {
1113
1044
  subexit();
1114
1045
  if (
1115
1046
  // If there’s no url, or…
1116
- !node2.url || // If there are control characters or whitespace.
1117
- /[\0- \u007F]/.test(node2.url)
1047
+ !node.url || // If there are control characters or whitespace.
1048
+ /[\0- \u007F]/.test(node.url)
1118
1049
  ) {
1119
1050
  subexit = state.enter("destinationLiteral");
1120
1051
  value += tracker.move("<");
1121
1052
  value += tracker.move(
1122
- state.safe(node2.url, { before: value, after: ">", ...tracker.current() })
1053
+ state.safe(node.url, { before: value, after: ">", ...tracker.current() })
1123
1054
  );
1124
1055
  value += tracker.move(">");
1125
1056
  } else {
1126
1057
  subexit = state.enter("destinationRaw");
1127
1058
  value += tracker.move(
1128
- state.safe(node2.url, {
1059
+ state.safe(node.url, {
1129
1060
  before: value,
1130
- after: node2.title ? " " : "\n",
1061
+ after: node.title ? " " : "\n",
1131
1062
  ...tracker.current()
1132
1063
  })
1133
1064
  );
1134
1065
  }
1135
1066
  subexit();
1136
- if (node2.title) {
1067
+ if (node.title) {
1137
1068
  subexit = state.enter(`title${suffix}`);
1138
1069
  value += tracker.move(" " + quote);
1139
1070
  value += tracker.move(
1140
- state.safe(node2.title, {
1071
+ state.safe(node.title, {
1141
1072
  before: value,
1142
1073
  after: quote,
1143
1074
  ...tracker.current()
@@ -1158,80 +1089,134 @@ function checkEmphasis(state) {
1158
1089
  }
1159
1090
  return marker;
1160
1091
  }
1092
+ function encodeCharacterReference(code2) {
1093
+ return "&#x" + code2.toString(16).toUpperCase() + ";";
1094
+ }
1095
+ function classifyCharacter(code2) {
1096
+ if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2)) {
1097
+ return 1;
1098
+ }
1099
+ if (unicodePunctuation(code2)) {
1100
+ return 2;
1101
+ }
1102
+ }
1103
+ function encodeInfo(outside, inside, marker) {
1104
+ const outsideKind = classifyCharacter(outside);
1105
+ const insideKind = classifyCharacter(inside);
1106
+ if (outsideKind === void 0) {
1107
+ return insideKind === void 0 ? (
1108
+ // Letter inside:
1109
+ // we have to encode *both* letters for `_` as it is looser.
1110
+ // it already forms for `*` (and GFMs `~`).
1111
+ marker === "_" ? { inside: true, outside: true } : { inside: false, outside: false }
1112
+ ) : insideKind === 1 ? (
1113
+ // Whitespace inside: encode both (letter, whitespace).
1114
+ { inside: true, outside: true }
1115
+ ) : (
1116
+ // Punctuation inside: encode outer (letter)
1117
+ { inside: false, outside: true }
1118
+ );
1119
+ }
1120
+ if (outsideKind === 1) {
1121
+ return insideKind === void 0 ? (
1122
+ // Letter inside: already forms.
1123
+ { inside: false, outside: false }
1124
+ ) : insideKind === 1 ? (
1125
+ // Whitespace inside: encode both (whitespace).
1126
+ { inside: true, outside: true }
1127
+ ) : (
1128
+ // Punctuation inside: already forms.
1129
+ { inside: false, outside: false }
1130
+ );
1131
+ }
1132
+ return insideKind === void 0 ? (
1133
+ // Letter inside: already forms.
1134
+ { inside: false, outside: false }
1135
+ ) : insideKind === 1 ? (
1136
+ // Whitespace inside: encode inner (whitespace).
1137
+ { inside: true, outside: false }
1138
+ ) : (
1139
+ // Punctuation inside: already forms.
1140
+ { inside: false, outside: false }
1141
+ );
1142
+ }
1161
1143
  emphasis.peek = emphasisPeek;
1162
- function emphasis(node2, _, state, info) {
1144
+ function emphasis(node, _, state, info) {
1163
1145
  const marker = checkEmphasis(state);
1164
1146
  const exit2 = state.enter("emphasis");
1165
1147
  const tracker = state.createTracker(info);
1166
- let value = tracker.move(marker);
1167
- value += tracker.move(
1168
- state.containerPhrasing(node2, {
1169
- before: value,
1148
+ const before = tracker.move(marker);
1149
+ let between = tracker.move(
1150
+ state.containerPhrasing(node, {
1170
1151
  after: marker,
1152
+ before,
1171
1153
  ...tracker.current()
1172
1154
  })
1173
1155
  );
1174
- value += tracker.move(marker);
1156
+ const betweenHead = between.charCodeAt(0);
1157
+ const open = encodeInfo(
1158
+ info.before.charCodeAt(info.before.length - 1),
1159
+ betweenHead,
1160
+ marker
1161
+ );
1162
+ if (open.inside) {
1163
+ between = encodeCharacterReference(betweenHead) + between.slice(1);
1164
+ }
1165
+ const betweenTail = between.charCodeAt(between.length - 1);
1166
+ const close = encodeInfo(info.after.charCodeAt(0), betweenTail, marker);
1167
+ if (close.inside) {
1168
+ between = between.slice(0, -1) + encodeCharacterReference(betweenTail);
1169
+ }
1170
+ const after = tracker.move(marker);
1175
1171
  exit2();
1176
- return value;
1172
+ state.attentionEncodeSurroundingInfo = {
1173
+ after: close.outside,
1174
+ before: open.outside
1175
+ };
1176
+ return before + between + after;
1177
1177
  }
1178
1178
  function emphasisPeek(_, _1, state) {
1179
1179
  return state.options.emphasis || "*";
1180
1180
  }
1181
- const emptyOptions$1 = {};
1182
- function toString(value, options) {
1183
- const settings = emptyOptions$1;
1184
- const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
1185
- const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
1186
- return one(value, includeImageAlt, includeHtml);
1187
- }
1188
- function one(value, includeImageAlt, includeHtml) {
1189
- if (node(value)) {
1190
- if ("value" in value) {
1191
- return value.type === "html" && !includeHtml ? "" : value.value;
1192
- }
1193
- if (includeImageAlt && "alt" in value && value.alt) {
1194
- return value.alt;
1195
- }
1196
- if ("children" in value) {
1197
- return all(value.children, includeImageAlt, includeHtml);
1198
- }
1199
- }
1200
- if (Array.isArray(value)) {
1201
- return all(value, includeImageAlt, includeHtml);
1181
+ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
1182
+ let reverse;
1183
+ let test;
1184
+ let visitor;
1185
+ if (typeof testOrVisitor === "function" && typeof visitorOrReverse !== "function") {
1186
+ test = void 0;
1187
+ visitor = testOrVisitor;
1188
+ reverse = visitorOrReverse;
1189
+ } else {
1190
+ test = testOrVisitor;
1191
+ visitor = visitorOrReverse;
1192
+ reverse = maybeReverse;
1202
1193
  }
1203
- return "";
1204
- }
1205
- function all(values, includeImageAlt, includeHtml) {
1206
- const result = [];
1207
- let index = -1;
1208
- while (++index < values.length) {
1209
- result[index] = one(values[index], includeImageAlt, includeHtml);
1194
+ unistUtilVisitParents.visitParents(tree, test, overload, reverse);
1195
+ function overload(node, parents) {
1196
+ const parent = parents[parents.length - 1];
1197
+ const index = parent ? parent.children.indexOf(node) : void 0;
1198
+ return visitor(node, index, parent);
1210
1199
  }
1211
- return result.join("");
1212
- }
1213
- function node(value) {
1214
- return Boolean(value && typeof value === "object");
1215
1200
  }
1216
- function formatHeadingAsSetext(node2, state) {
1201
+ function formatHeadingAsSetext(node, state) {
1217
1202
  let literalWithBreak = false;
1218
- unistUtilVisit.visit(node2, function(node3) {
1219
- if ("value" in node3 && /\r?\n|\r/.test(node3.value) || node3.type === "break") {
1203
+ visit(node, function(node2) {
1204
+ if ("value" in node2 && /\r?\n|\r/.test(node2.value) || node2.type === "break") {
1220
1205
  literalWithBreak = true;
1221
- return unistUtilVisit.EXIT;
1206
+ return unistUtilVisitParents.EXIT;
1222
1207
  }
1223
1208
  });
1224
1209
  return Boolean(
1225
- (!node2.depth || node2.depth < 3) && toString(node2) && (state.options.setext || literalWithBreak)
1210
+ (!node.depth || node.depth < 3) && mdastUtilToString.toString(node) && (state.options.setext || literalWithBreak)
1226
1211
  );
1227
1212
  }
1228
- function heading(node2, _, state, info) {
1229
- const rank = Math.max(Math.min(6, node2.depth || 1), 1);
1213
+ function heading(node, _, state, info) {
1214
+ const rank = Math.max(Math.min(6, node.depth || 1), 1);
1230
1215
  const tracker = state.createTracker(info);
1231
- if (formatHeadingAsSetext(node2, state)) {
1216
+ if (formatHeadingAsSetext(node, state)) {
1232
1217
  const exit3 = state.enter("headingSetext");
1233
1218
  const subexit2 = state.enter("phrasing");
1234
- const value2 = state.containerPhrasing(node2, {
1219
+ const value2 = state.containerPhrasing(node, {
1235
1220
  ...tracker.current(),
1236
1221
  before: "\n",
1237
1222
  after: "\n"
@@ -1249,13 +1234,13 @@ function heading(node2, _, state, info) {
1249
1234
  const exit2 = state.enter("headingAtx");
1250
1235
  const subexit = state.enter("phrasing");
1251
1236
  tracker.move(sequence + " ");
1252
- let value = state.containerPhrasing(node2, {
1237
+ let value = state.containerPhrasing(node, {
1253
1238
  before: "# ",
1254
1239
  after: "\n",
1255
1240
  ...tracker.current()
1256
1241
  });
1257
1242
  if (/^[\t ]/.test(value)) {
1258
- value = "&#x" + value.charCodeAt(0).toString(16).toUpperCase() + ";" + value.slice(1);
1243
+ value = encodeCharacterReference(value.charCodeAt(0)) + value.slice(1);
1259
1244
  }
1260
1245
  value = value ? sequence + " " + value : sequence;
1261
1246
  if (state.options.closeAtx) {
@@ -1266,14 +1251,14 @@ function heading(node2, _, state, info) {
1266
1251
  return value;
1267
1252
  }
1268
1253
  html.peek = htmlPeek;
1269
- function html(node2) {
1270
- return node2.value || "";
1254
+ function html(node) {
1255
+ return node.value || "";
1271
1256
  }
1272
1257
  function htmlPeek() {
1273
1258
  return "<";
1274
1259
  }
1275
1260
  image.peek = imagePeek;
1276
- function image(node2, _, state, info) {
1261
+ function image(node, _, state, info) {
1277
1262
  const quote = checkQuote(state);
1278
1263
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1279
1264
  const exit2 = state.enter("image");
@@ -1281,37 +1266,37 @@ function image(node2, _, state, info) {
1281
1266
  const tracker = state.createTracker(info);
1282
1267
  let value = tracker.move("![");
1283
1268
  value += tracker.move(
1284
- state.safe(node2.alt, { before: value, after: "]", ...tracker.current() })
1269
+ state.safe(node.alt, { before: value, after: "]", ...tracker.current() })
1285
1270
  );
1286
1271
  value += tracker.move("](");
1287
1272
  subexit();
1288
1273
  if (
1289
1274
  // If there’s no url but there is a title…
1290
- !node2.url && node2.title || // If there are control characters or whitespace.
1291
- /[\0- \u007F]/.test(node2.url)
1275
+ !node.url && node.title || // If there are control characters or whitespace.
1276
+ /[\0- \u007F]/.test(node.url)
1292
1277
  ) {
1293
1278
  subexit = state.enter("destinationLiteral");
1294
1279
  value += tracker.move("<");
1295
1280
  value += tracker.move(
1296
- state.safe(node2.url, { before: value, after: ">", ...tracker.current() })
1281
+ state.safe(node.url, { before: value, after: ">", ...tracker.current() })
1297
1282
  );
1298
1283
  value += tracker.move(">");
1299
1284
  } else {
1300
1285
  subexit = state.enter("destinationRaw");
1301
1286
  value += tracker.move(
1302
- state.safe(node2.url, {
1287
+ state.safe(node.url, {
1303
1288
  before: value,
1304
- after: node2.title ? " " : ")",
1289
+ after: node.title ? " " : ")",
1305
1290
  ...tracker.current()
1306
1291
  })
1307
1292
  );
1308
1293
  }
1309
1294
  subexit();
1310
- if (node2.title) {
1295
+ if (node.title) {
1311
1296
  subexit = state.enter(`title${suffix}`);
1312
1297
  value += tracker.move(" " + quote);
1313
1298
  value += tracker.move(
1314
- state.safe(node2.title, {
1299
+ state.safe(node.title, {
1315
1300
  before: value,
1316
1301
  after: quote,
1317
1302
  ...tracker.current()
@@ -1328,13 +1313,13 @@ function imagePeek() {
1328
1313
  return "!";
1329
1314
  }
1330
1315
  imageReference.peek = imageReferencePeek;
1331
- function imageReference(node2, _, state, info) {
1332
- const type = node2.referenceType;
1316
+ function imageReference(node, _, state, info) {
1317
+ const type = node.referenceType;
1333
1318
  const exit2 = state.enter("imageReference");
1334
1319
  let subexit = state.enter("label");
1335
1320
  const tracker = state.createTracker(info);
1336
1321
  let value = tracker.move("![");
1337
- const alt = state.safe(node2.alt, {
1322
+ const alt = state.safe(node.alt, {
1338
1323
  before: value,
1339
1324
  after: "]",
1340
1325
  ...tracker.current()
@@ -1344,7 +1329,7 @@ function imageReference(node2, _, state, info) {
1344
1329
  const stack = state.stack;
1345
1330
  state.stack = [];
1346
1331
  subexit = state.enter("reference");
1347
- const reference = state.safe(state.associationId(node2), {
1332
+ const reference = state.safe(state.associationId(node), {
1348
1333
  before: value,
1349
1334
  after: "]",
1350
1335
  ...tracker.current()
@@ -1365,8 +1350,8 @@ function imageReferencePeek() {
1365
1350
  return "!";
1366
1351
  }
1367
1352
  inlineCode.peek = inlineCodePeek;
1368
- function inlineCode(node2, _, state) {
1369
- let value = node2.value || "";
1353
+ function inlineCode(node, _, state) {
1354
+ let value = node.value || "";
1370
1355
  let sequence = "`";
1371
1356
  let index = -1;
1372
1357
  while (new RegExp("(^|[^`])" + sequence + "([^`]|$)").test(value)) {
@@ -1393,33 +1378,33 @@ function inlineCode(node2, _, state) {
1393
1378
  function inlineCodePeek() {
1394
1379
  return "`";
1395
1380
  }
1396
- function formatLinkAsAutolink(node2, state) {
1397
- const raw = toString(node2);
1381
+ function formatLinkAsAutolink(node, state) {
1382
+ const raw = mdastUtilToString.toString(node);
1398
1383
  return Boolean(
1399
1384
  !state.options.resourceLink && // If there’s a url…
1400
- node2.url && // And there’s a no title…
1401
- !node2.title && // And the content of `node` is a single text node…
1402
- node2.children && node2.children.length === 1 && node2.children[0].type === "text" && // And if the url is the same as the content…
1403
- (raw === node2.url || "mailto:" + raw === node2.url) && // And that starts w/ a protocol…
1404
- /^[a-z][a-z+.-]+:/i.test(node2.url) && // And that doesn’t contain ASCII control codes (character escapes and
1385
+ node.url && // And there’s a no title…
1386
+ !node.title && // And the content of `node` is a single text node…
1387
+ node.children && node.children.length === 1 && node.children[0].type === "text" && // And if the url is the same as the content…
1388
+ (raw === node.url || "mailto:" + raw === node.url) && // And that starts w/ a protocol…
1389
+ /^[a-z][a-z+.-]+:/i.test(node.url) && // And that doesn’t contain ASCII control codes (character escapes and
1405
1390
  // references don’t work), space, or angle brackets…
1406
- !/[\0- <>\u007F]/.test(node2.url)
1391
+ !/[\0- <>\u007F]/.test(node.url)
1407
1392
  );
1408
1393
  }
1409
1394
  link.peek = linkPeek;
1410
- function link(node2, _, state, info) {
1395
+ function link(node, _, state, info) {
1411
1396
  const quote = checkQuote(state);
1412
1397
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1413
1398
  const tracker = state.createTracker(info);
1414
1399
  let exit2;
1415
1400
  let subexit;
1416
- if (formatLinkAsAutolink(node2, state)) {
1401
+ if (formatLinkAsAutolink(node, state)) {
1417
1402
  const stack = state.stack;
1418
1403
  state.stack = [];
1419
1404
  exit2 = state.enter("autolink");
1420
1405
  let value2 = tracker.move("<");
1421
1406
  value2 += tracker.move(
1422
- state.containerPhrasing(node2, {
1407
+ state.containerPhrasing(node, {
1423
1408
  before: value2,
1424
1409
  after: ">",
1425
1410
  ...tracker.current()
@@ -1434,7 +1419,7 @@ function link(node2, _, state, info) {
1434
1419
  subexit = state.enter("label");
1435
1420
  let value = tracker.move("[");
1436
1421
  value += tracker.move(
1437
- state.containerPhrasing(node2, {
1422
+ state.containerPhrasing(node, {
1438
1423
  before: value,
1439
1424
  after: "](",
1440
1425
  ...tracker.current()
@@ -1444,31 +1429,31 @@ function link(node2, _, state, info) {
1444
1429
  subexit();
1445
1430
  if (
1446
1431
  // If there’s no url but there is a title…
1447
- !node2.url && node2.title || // If there are control characters or whitespace.
1448
- /[\0- \u007F]/.test(node2.url)
1432
+ !node.url && node.title || // If there are control characters or whitespace.
1433
+ /[\0- \u007F]/.test(node.url)
1449
1434
  ) {
1450
1435
  subexit = state.enter("destinationLiteral");
1451
1436
  value += tracker.move("<");
1452
1437
  value += tracker.move(
1453
- state.safe(node2.url, { before: value, after: ">", ...tracker.current() })
1438
+ state.safe(node.url, { before: value, after: ">", ...tracker.current() })
1454
1439
  );
1455
1440
  value += tracker.move(">");
1456
1441
  } else {
1457
1442
  subexit = state.enter("destinationRaw");
1458
1443
  value += tracker.move(
1459
- state.safe(node2.url, {
1444
+ state.safe(node.url, {
1460
1445
  before: value,
1461
- after: node2.title ? " " : ")",
1446
+ after: node.title ? " " : ")",
1462
1447
  ...tracker.current()
1463
1448
  })
1464
1449
  );
1465
1450
  }
1466
1451
  subexit();
1467
- if (node2.title) {
1452
+ if (node.title) {
1468
1453
  subexit = state.enter(`title${suffix}`);
1469
1454
  value += tracker.move(" " + quote);
1470
1455
  value += tracker.move(
1471
- state.safe(node2.title, {
1456
+ state.safe(node.title, {
1472
1457
  before: value,
1473
1458
  after: quote,
1474
1459
  ...tracker.current()
@@ -1481,17 +1466,17 @@ function link(node2, _, state, info) {
1481
1466
  exit2();
1482
1467
  return value;
1483
1468
  }
1484
- function linkPeek(node2, _, state) {
1485
- return formatLinkAsAutolink(node2, state) ? "<" : "[";
1469
+ function linkPeek(node, _, state) {
1470
+ return formatLinkAsAutolink(node, state) ? "<" : "[";
1486
1471
  }
1487
1472
  linkReference.peek = linkReferencePeek;
1488
- function linkReference(node2, _, state, info) {
1489
- const type = node2.referenceType;
1473
+ function linkReference(node, _, state, info) {
1474
+ const type = node.referenceType;
1490
1475
  const exit2 = state.enter("linkReference");
1491
1476
  let subexit = state.enter("label");
1492
1477
  const tracker = state.createTracker(info);
1493
1478
  let value = tracker.move("[");
1494
- const text2 = state.containerPhrasing(node2, {
1479
+ const text2 = state.containerPhrasing(node, {
1495
1480
  before: value,
1496
1481
  after: "]",
1497
1482
  ...tracker.current()
@@ -1501,7 +1486,7 @@ function linkReference(node2, _, state, info) {
1501
1486
  const stack = state.stack;
1502
1487
  state.stack = [];
1503
1488
  subexit = state.enter("reference");
1504
- const reference = state.safe(state.associationId(node2), {
1489
+ const reference = state.safe(state.associationId(node), {
1505
1490
  before: value,
1506
1491
  after: "]",
1507
1492
  ...tracker.current()
@@ -1566,14 +1551,14 @@ function checkRule(state) {
1566
1551
  }
1567
1552
  return marker;
1568
1553
  }
1569
- function list(node2, parent, state, info) {
1554
+ function list(node, parent, state, info) {
1570
1555
  const exit2 = state.enter("list");
1571
1556
  const bulletCurrent = state.bulletCurrent;
1572
- let bullet = node2.ordered ? checkBulletOrdered(state) : checkBullet(state);
1573
- const bulletOther = node2.ordered ? bullet === "." ? ")" : "." : checkBulletOther(state);
1557
+ let bullet = node.ordered ? checkBulletOrdered(state) : checkBullet(state);
1558
+ const bulletOther = node.ordered ? bullet === "." ? ")" : "." : checkBulletOther(state);
1574
1559
  let useDifferentMarker = parent && state.bulletLastUsed ? bullet === state.bulletLastUsed : false;
1575
- if (!node2.ordered) {
1576
- const firstListItem = node2.children ? node2.children[0] : void 0;
1560
+ if (!node.ordered) {
1561
+ const firstListItem = node.children ? node.children[0] : void 0;
1577
1562
  if (
1578
1563
  // Bullet could be used as a thematic break marker:
1579
1564
  (bullet === "*" || bullet === "-") && // Empty first list item:
@@ -1585,8 +1570,8 @@ function list(node2, parent, state, info) {
1585
1570
  }
1586
1571
  if (checkRule(state) === bullet && firstListItem) {
1587
1572
  let index = -1;
1588
- while (++index < node2.children.length) {
1589
- const item = node2.children[index];
1573
+ while (++index < node.children.length) {
1574
+ const item = node.children[index];
1590
1575
  if (item && item.type === "listItem" && item.children && item.children[0] && item.children[0].type === "thematicBreak") {
1591
1576
  useDifferentMarker = true;
1592
1577
  break;
@@ -1598,7 +1583,7 @@ function list(node2, parent, state, info) {
1598
1583
  bullet = bulletOther;
1599
1584
  }
1600
1585
  state.bulletCurrent = bullet;
1601
- const value = state.containerFlow(node2, info);
1586
+ const value = state.containerFlow(node, info);
1602
1587
  state.bulletLastUsed = bullet;
1603
1588
  state.bulletCurrent = bulletCurrent;
1604
1589
  exit2();
@@ -1613,14 +1598,14 @@ function checkListItemIndent(state) {
1613
1598
  }
1614
1599
  return style;
1615
1600
  }
1616
- function listItem(node2, parent, state, info) {
1601
+ function listItem(node, parent, state, info) {
1617
1602
  const listItemIndent = checkListItemIndent(state);
1618
1603
  let bullet = state.bulletCurrent || checkBullet(state);
1619
1604
  if (parent && parent.type === "list" && parent.ordered) {
1620
- bullet = (typeof parent.start === "number" && parent.start > -1 ? parent.start : 1) + (state.options.incrementListMarker === false ? 0 : parent.children.indexOf(node2)) + bullet;
1605
+ bullet = (typeof parent.start === "number" && parent.start > -1 ? parent.start : 1) + (state.options.incrementListMarker === false ? 0 : parent.children.indexOf(node)) + bullet;
1621
1606
  }
1622
1607
  let size = bullet.length + 1;
1623
- if (listItemIndent === "tab" || listItemIndent === "mixed" && (parent && parent.type === "list" && parent.spread || node2.spread)) {
1608
+ if (listItemIndent === "tab" || listItemIndent === "mixed" && (parent && parent.type === "list" && parent.spread || node.spread)) {
1624
1609
  size = Math.ceil(size / 4) * 4;
1625
1610
  }
1626
1611
  const tracker = state.createTracker(info);
@@ -1628,7 +1613,7 @@ function listItem(node2, parent, state, info) {
1628
1613
  tracker.shift(size);
1629
1614
  const exit2 = state.enter("listItem");
1630
1615
  const value = state.indentLines(
1631
- state.containerFlow(node2, tracker.current()),
1616
+ state.containerFlow(node, tracker.current()),
1632
1617
  map2
1633
1618
  );
1634
1619
  exit2();
@@ -1640,10 +1625,10 @@ function listItem(node2, parent, state, info) {
1640
1625
  return (blank ? bullet : bullet + " ".repeat(size - bullet.length)) + line;
1641
1626
  }
1642
1627
  }
1643
- function paragraph(node2, _, state, info) {
1628
+ function paragraph(node, _, state, info) {
1644
1629
  const exit2 = state.enter("paragraph");
1645
1630
  const subexit = state.enter("phrasing");
1646
- const value = state.containerPhrasing(node2, info);
1631
+ const value = state.containerPhrasing(node, info);
1647
1632
  subexit();
1648
1633
  exit2();
1649
1634
  return value;
@@ -1674,12 +1659,12 @@ const phrasing = (
1674
1659
  "textDirective"
1675
1660
  ])
1676
1661
  );
1677
- function root(node2, _, state, info) {
1678
- const hasPhrasing = node2.children.some(function(d) {
1662
+ function root(node, _, state, info) {
1663
+ const hasPhrasing = node.children.some(function(d) {
1679
1664
  return phrasing(d);
1680
1665
  });
1681
- const fn = hasPhrasing ? state.containerPhrasing : state.containerFlow;
1682
- return fn.call(state, node2, info);
1666
+ const container = hasPhrasing ? state.containerPhrasing : state.containerFlow;
1667
+ return container.call(state, node, info);
1683
1668
  }
1684
1669
  function checkStrong(state) {
1685
1670
  const marker = state.options.strong || "*";
@@ -1691,27 +1676,45 @@ function checkStrong(state) {
1691
1676
  return marker;
1692
1677
  }
1693
1678
  strong.peek = strongPeek;
1694
- function strong(node2, _, state, info) {
1679
+ function strong(node, _, state, info) {
1695
1680
  const marker = checkStrong(state);
1696
1681
  const exit2 = state.enter("strong");
1697
1682
  const tracker = state.createTracker(info);
1698
- let value = tracker.move(marker + marker);
1699
- value += tracker.move(
1700
- state.containerPhrasing(node2, {
1701
- before: value,
1683
+ const before = tracker.move(marker + marker);
1684
+ let between = tracker.move(
1685
+ state.containerPhrasing(node, {
1702
1686
  after: marker,
1687
+ before,
1703
1688
  ...tracker.current()
1704
1689
  })
1705
1690
  );
1706
- value += tracker.move(marker + marker);
1691
+ const betweenHead = between.charCodeAt(0);
1692
+ const open = encodeInfo(
1693
+ info.before.charCodeAt(info.before.length - 1),
1694
+ betweenHead,
1695
+ marker
1696
+ );
1697
+ if (open.inside) {
1698
+ between = encodeCharacterReference(betweenHead) + between.slice(1);
1699
+ }
1700
+ const betweenTail = between.charCodeAt(between.length - 1);
1701
+ const close = encodeInfo(info.after.charCodeAt(0), betweenTail, marker);
1702
+ if (close.inside) {
1703
+ between = between.slice(0, -1) + encodeCharacterReference(betweenTail);
1704
+ }
1705
+ const after = tracker.move(marker + marker);
1707
1706
  exit2();
1708
- return value;
1707
+ state.attentionEncodeSurroundingInfo = {
1708
+ after: close.outside,
1709
+ before: open.outside
1710
+ };
1711
+ return before + between + after;
1709
1712
  }
1710
1713
  function strongPeek(_, _1, state) {
1711
1714
  return state.options.strong || "*";
1712
1715
  }
1713
- function text$1(node2, _, state, info) {
1714
- return state.safe(node2.value, info);
1716
+ function text$1(node, _, state, info) {
1717
+ return state.safe(node.value, info);
1715
1718
  }
1716
1719
  function checkRuleRepetition(state) {
1717
1720
  const repetition = state.options.ruleRepetition || 3;
@@ -1797,9 +1800,9 @@ function exitCodeText(token) {
1797
1800
  if (this.data.inTable) {
1798
1801
  value = value.replace(/\\([\\|])/g, replace);
1799
1802
  }
1800
- const node2 = this.stack[this.stack.length - 1];
1801
- ok$1(node2.type === "inlineCode");
1802
- node2.value = value;
1803
+ const node = this.stack[this.stack.length - 1];
1804
+ ok$1(node.type === "inlineCode");
1805
+ node.value = value;
1803
1806
  this.exit(token);
1804
1807
  }
1805
1808
  function replace($0, $1) {
@@ -1837,18 +1840,18 @@ function gfmTableToMarkdown(options) {
1837
1840
  tableRow: handleTableRow
1838
1841
  }
1839
1842
  };
1840
- function handleTable(node2, _, state, info) {
1841
- return serializeData(handleTableAsData(node2, state, info), node2.align);
1843
+ function handleTable(node, _, state, info) {
1844
+ return serializeData(handleTableAsData(node, state, info), node.align);
1842
1845
  }
1843
- function handleTableRow(node2, _, state, info) {
1844
- const row = handleTableRowAsData(node2, state, info);
1846
+ function handleTableRow(node, _, state, info) {
1847
+ const row = handleTableRowAsData(node, state, info);
1845
1848
  const value = serializeData([row]);
1846
1849
  return value.slice(0, value.indexOf("\n"));
1847
1850
  }
1848
- function handleTableCell(node2, _, state, info) {
1851
+ function handleTableCell(node, _, state, info) {
1849
1852
  const exit2 = state.enter("tableCell");
1850
1853
  const subexit = state.enter("phrasing");
1851
- const value = state.containerPhrasing(node2, {
1854
+ const value = state.containerPhrasing(node, {
1852
1855
  ...info,
1853
1856
  before: around,
1854
1857
  after: around
@@ -1868,8 +1871,8 @@ function gfmTableToMarkdown(options) {
1868
1871
  stringLength
1869
1872
  });
1870
1873
  }
1871
- function handleTableAsData(node2, state, info) {
1872
- const children = node2.children;
1874
+ function handleTableAsData(node, state, info) {
1875
+ const children = node.children;
1873
1876
  let index = -1;
1874
1877
  const result = [];
1875
1878
  const subexit = state.enter("table");
@@ -1879,19 +1882,19 @@ function gfmTableToMarkdown(options) {
1879
1882
  subexit();
1880
1883
  return result;
1881
1884
  }
1882
- function handleTableRowAsData(node2, state, info) {
1883
- const children = node2.children;
1885
+ function handleTableRowAsData(node, state, info) {
1886
+ const children = node.children;
1884
1887
  let index = -1;
1885
1888
  const result = [];
1886
1889
  const subexit = state.enter("tableRow");
1887
1890
  while (++index < children.length) {
1888
- result[index] = handleTableCell(children[index], node2, state, info);
1891
+ result[index] = handleTableCell(children[index], node, state, info);
1889
1892
  }
1890
1893
  subexit();
1891
1894
  return result;
1892
1895
  }
1893
- function inlineCodeWithTable(node2, parent, state) {
1894
- let value = handle.inlineCode(node2, parent, state);
1896
+ function inlineCodeWithTable(node, parent, state) {
1897
+ let value = handle.inlineCode(node, parent, state);
1895
1898
  if (state.stack.includes("tableCell")) {
1896
1899
  value = value.replace(/\|/g, "\\$&");
1897
1900
  }
@@ -1914,16 +1917,16 @@ function gfmTaskListItemToMarkdown() {
1914
1917
  };
1915
1918
  }
1916
1919
  function exitCheck(token) {
1917
- const node2 = this.stack[this.stack.length - 2];
1918
- ok$1(node2.type === "listItem");
1919
- node2.checked = token.type === "taskListCheckValueChecked";
1920
+ const node = this.stack[this.stack.length - 2];
1921
+ ok$1(node.type === "listItem");
1922
+ node.checked = token.type === "taskListCheckValueChecked";
1920
1923
  }
1921
1924
  function exitParagraphWithTaskListItem(token) {
1922
1925
  const parent = this.stack[this.stack.length - 2];
1923
1926
  if (parent && parent.type === "listItem" && typeof parent.checked === "boolean") {
1924
- const node2 = this.stack[this.stack.length - 1];
1925
- ok$1(node2.type === "paragraph");
1926
- const head = node2.children[0];
1927
+ const node = this.stack[this.stack.length - 1];
1928
+ ok$1(node.type === "paragraph");
1929
+ const head = node.children[0];
1927
1930
  if (head && head.type === "text") {
1928
1931
  const siblings = parent.children;
1929
1932
  let index = -1;
@@ -1935,29 +1938,29 @@ function exitParagraphWithTaskListItem(token) {
1935
1938
  break;
1936
1939
  }
1937
1940
  }
1938
- if (firstParaghraph === node2) {
1941
+ if (firstParaghraph === node) {
1939
1942
  head.value = head.value.slice(1);
1940
1943
  if (head.value.length === 0) {
1941
- node2.children.shift();
1942
- } else if (node2.position && head.position && typeof head.position.start.offset === "number") {
1944
+ node.children.shift();
1945
+ } else if (node.position && head.position && typeof head.position.start.offset === "number") {
1943
1946
  head.position.start.column++;
1944
1947
  head.position.start.offset++;
1945
- node2.position.start = Object.assign({}, head.position.start);
1948
+ node.position.start = Object.assign({}, head.position.start);
1946
1949
  }
1947
1950
  }
1948
1951
  }
1949
1952
  }
1950
1953
  this.exit(token);
1951
1954
  }
1952
- function listItemWithTaskListItem(node2, parent, state, info) {
1953
- const head = node2.children[0];
1954
- const checkable = typeof node2.checked === "boolean" && head && head.type === "paragraph";
1955
- const checkbox = "[" + (node2.checked ? "x" : " ") + "] ";
1955
+ function listItemWithTaskListItem(node, parent, state, info) {
1956
+ const head = node.children[0];
1957
+ const checkable = typeof node.checked === "boolean" && head && head.type === "paragraph";
1958
+ const checkbox = "[" + (node.checked ? "x" : " ") + "] ";
1956
1959
  const tracker = state.createTracker(info);
1957
1960
  if (checkable) {
1958
1961
  tracker.move(checkbox);
1959
1962
  }
1960
- let value = handle.listItem(node2, parent, state, {
1963
+ let value = handle.listItem(node, parent, state, {
1961
1964
  ...info,
1962
1965
  ...tracker.current()
1963
1966
  });
@@ -2016,18 +2019,18 @@ function splice(list2, start, remove, items) {
2016
2019
  }
2017
2020
  const hasOwnProperty = {}.hasOwnProperty;
2018
2021
  function combineExtensions(extensions) {
2019
- const all2 = {};
2022
+ const all = {};
2020
2023
  let index = -1;
2021
2024
  while (++index < extensions.length) {
2022
- syntaxExtension(all2, extensions[index]);
2025
+ syntaxExtension(all, extensions[index]);
2023
2026
  }
2024
- return all2;
2027
+ return all;
2025
2028
  }
2026
- function syntaxExtension(all2, extension) {
2029
+ function syntaxExtension(all, extension) {
2027
2030
  let hook;
2028
2031
  for (hook in extension) {
2029
- const maybe = hasOwnProperty.call(all2, hook) ? all2[hook] : void 0;
2030
- const left = maybe || (all2[hook] = {});
2032
+ const maybe = hasOwnProperty.call(all, hook) ? all[hook] : void 0;
2033
+ const left = maybe || (all[hook] = {});
2031
2034
  const right = extension[hook];
2032
2035
  let code2;
2033
2036
  if (right) {
@@ -2396,14 +2399,6 @@ function previousUnbalanced(events) {
2396
2399
  }
2397
2400
  return result;
2398
2401
  }
2399
- function classifyCharacter(code2) {
2400
- if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2)) {
2401
- return 1;
2402
- }
2403
- if (unicodePunctuation(code2)) {
2404
- return 2;
2405
- }
2406
- }
2407
2402
  function resolveAll(constructs2, events, context) {
2408
2403
  const called = [];
2409
2404
  let index = -1;
@@ -3478,9 +3473,11 @@ var __component__$1 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
3478
3473
  const NcRichTextCopyButton = __component__$1.exports;
3479
3474
  function remarkPlaceholder() {
3480
3475
  return function(ast) {
3481
- unistUtilVisit.visit(ast, (node2) => node2.type === "text", visitor);
3482
- function visitor(node2, index, parent) {
3483
- const placeholders = node2.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((entry) => {
3476
+ unistUtilVisitParents.visitParents(ast, (node) => node.type === "text", visitor);
3477
+ function visitor(node, ancestors) {
3478
+ const parent = ancestors.at(-1);
3479
+ const index = parent.children.indexOf(node);
3480
+ const placeholders = node.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((entry) => {
3484
3481
  const matches = entry.match(/^\{([a-z\-_.0-9]+)\}$/i);
3485
3482
  if (!matches) {
3486
3483
  return unistBuilder.u("text", entry);
@@ -3504,10 +3501,9 @@ function prepareTextNode({ h, context }, text2) {
3504
3501
  return entry;
3505
3502
  }
3506
3503
  const { component, props } = entry;
3507
- const componentClass = component.name === "NcLink" ? void 0 : "rich-text--component";
3508
3504
  return h(component, {
3509
3505
  props,
3510
- class: componentClass
3506
+ class: "rich-text--component"
3511
3507
  });
3512
3508
  });
3513
3509
  }
@@ -3517,28 +3513,32 @@ function prepareTextNode({ h, context }, text2) {
3517
3513
  * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
3518
3514
  * SPDX-License-Identifier: AGPL-3.0-or-later
3519
3515
  */
3520
- function isCodeNode(node2) {
3521
- return ["code", "inlineCode"].includes(node2.type);
3516
+ function isCodeNode(node) {
3517
+ return ["code", "inlineCode"].includes(node.type);
3522
3518
  }
3523
3519
  const remarkStripCode = function() {
3524
3520
  return function(tree) {
3525
- unistUtilVisit.visit(tree, isCodeNode, (node2, index, parent) => {
3521
+ unistUtilVisitParents.visitParents(tree, isCodeNode, (node, ancestors) => {
3522
+ const parent = ancestors.at(-1);
3523
+ const index = parent.children.indexOf(node);
3526
3524
  parent.children.splice(index, 1, {
3527
- ...node2,
3525
+ ...node,
3528
3526
  value: ""
3529
3527
  });
3530
- return [unistUtilVisit.SKIP, index + 1];
3528
+ return [unistUtilVisitParents.SKIP, index + 1];
3531
3529
  });
3532
3530
  };
3533
3531
  };
3534
3532
  function remarkUnescape() {
3535
3533
  return function(tree) {
3536
- unistUtilVisit.visit(tree, (node2) => ["text", "code", "inlineCode"].includes(node2.type), (node2, index, parent) => {
3534
+ unistUtilVisitParents.visitParents(tree, (node) => ["text", "code", "inlineCode"].includes(node.type), (node, ancestors) => {
3535
+ const parent = ancestors.at(-1);
3536
+ const index = parent.children.indexOf(node);
3537
3537
  parent.children.splice(index, 1, {
3538
- ...node2,
3539
- value: node2.value.replace(/&lt;/gmi, "<").replace(/&gt;/gmi, ">")
3538
+ ...node,
3539
+ value: node.value.replace(/&lt;/gmi, "<").replace(/&gt;/gmi, ">")
3540
3540
  });
3541
- return [unistUtilVisit.SKIP, index + 1];
3541
+ return [unistUtilVisitParents.SKIP, index + 1];
3542
3542
  });
3543
3543
  };
3544
3544
  }
@@ -3655,8 +3655,8 @@ const _sfc_main = {
3655
3655
  useExtendedMarkdown: this.useExtendedMarkdown
3656
3656
  }).use(remarkUnescape).use(this.useExtendedMarkdown ? remarkGfm : void 0).use(breaks__default.default).use(remarkUnlinkProtocols__default.default, { except: LINK_PROTOCOLS }).use(remark2rehype__default.default, {
3657
3657
  handlers: {
3658
- component(toHast, node2) {
3659
- return toHast(node2, node2.component, { value: node2.value });
3658
+ component(toHast, node) {
3659
+ return toHast(node, node.component, { value: node.value });
3660
3660
  }
3661
3661
  }
3662
3662
  }).use(this.useExtendedMarkdown ? rehypeHighlight.value : void 0).use(remarkPlaceholder).use(rehypeExternalLinks__default.default, {
@@ -3719,6 +3719,15 @@ const _sfc_main = {
3719
3719
  }
3720
3720
  }, children);
3721
3721
  }
3722
+ const isAllowedScheme = /^(https?:\/\/|tel:|mailto:)/.test(attrs.attrs.href);
3723
+ if (isAllowedScheme) {
3724
+ attrs.attrs.href = attrs.attrs.href.trim();
3725
+ return h(autolink.NcRichTextExternalLink, attrs, children);
3726
+ } else {
3727
+ delete attrs.attrs.href;
3728
+ delete attrs.attrs.target;
3729
+ return h("span", attrs, children);
3730
+ }
3722
3731
  }
3723
3732
  return h(tag, attrs, children);
3724
3733
  }
@@ -3765,7 +3774,9 @@ const _sfc_main = {
3765
3774
  if (!this.useMarkdown && !this.useExtendedMarkdown) {
3766
3775
  return text2;
3767
3776
  }
3768
- return unified.unified().use(remarkParse__default.default).use(remarkStripCode).use(remarkStringify__default.default).processSync(text2).value;
3777
+ const processor = unified.unified();
3778
+ processor.compiler = (tree) => mdastUtilToString.toString(tree);
3779
+ return processor.use(remarkParse__default.default).use(remarkStripCode).processSync(text2).value;
3769
3780
  }
3770
3781
  },
3771
3782
  render(h) {
@@ -3780,9 +3791,9 @@ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
3780
3791
  _sfc_staticRenderFns,
3781
3792
  false,
3782
3793
  null,
3783
- "1b584119"
3794
+ "177dd7c0"
3784
3795
  );
3785
3796
  const NcRichText = __component__.exports;
3786
3797
  exports.NcReferenceList = NcReferenceList;
3787
3798
  exports.NcRichText = NcRichText;
3788
- //# sourceMappingURL=NcRichText-B1Fyj7k8.cjs.map
3799
+ //# sourceMappingURL=NcRichText-pqvg5l27.cjs.map