@nextcloud/vue 9.0.0-rc.5 → 9.0.0-rc.7

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 (543) hide show
  1. package/CHANGELOG.md +139 -4
  2. package/README.md +5 -4
  3. package/dist/assets/{NcActionButton-Dz2EBAuD.css → NcActionButton-D7bnKlOt.css} +18 -18
  4. package/dist/assets/{NcActionButtonGroup-BLIEEeG3.css → NcActionButtonGroup-CRTH2v24.css} +8 -8
  5. package/dist/assets/{NcActionCheckbox--lTDnNsx.css → NcActionCheckbox-BeT6fCCy.css} +12 -12
  6. package/dist/assets/{NcActionInput-BZCvMPVy.css → NcActionInput-Cma_lx5u.css} +63 -63
  7. package/dist/assets/{NcActionLink-VngQl-C2.css → NcActionLink-DjrAv1MG.css} +13 -13
  8. package/dist/assets/{NcActionRadio-DnAjyubC.css → NcActionRadio-DgdLD238.css} +12 -12
  9. package/dist/assets/{NcActionRouter-CBVOuCQ3.css → NcActionRouter-DeYzeM5W.css} +16 -16
  10. package/dist/assets/{NcActionText-BtzLDZeJ.css → NcActionText-D9InmayH.css} +18 -18
  11. package/dist/assets/{NcActionTextEditable-D5stkJZK.css → NcActionTextEditable-m6K3-kXV.css} +61 -61
  12. package/dist/assets/{NcActions-CG3xO48Y.css → NcActions-9-KEdXq2.css} +13 -13
  13. package/dist/assets/{NcAppContent-vj2DL4Yr.css → NcAppContent-BC1UrvXW.css} +23 -23
  14. package/dist/assets/{NcAppNavigation-C6-8ErA_.css → NcAppNavigation-DzSqLZLH.css} +38 -12
  15. package/dist/assets/{NcAppNavigationCaption-B6mZd0E3.css → NcAppNavigationCaption-HUg9fMCm.css} +7 -7
  16. package/dist/assets/{NcAppNavigationIconBullet-CeBYVy6t.css → NcAppNavigationIconBullet-DLQJkObX.css} +3 -3
  17. package/dist/assets/{NcAppNavigationItem-CFT8K0Dn.css → NcAppNavigationItem-E3wkH_dN.css} +43 -39
  18. package/dist/assets/{NcAppNavigationList-CLLHyHIn.css → NcAppNavigationList--36j6Acm.css} +2 -2
  19. package/dist/assets/{NcAppNavigationNew-Ba3wWpcY.css → NcAppNavigationNew-Bn8zj5lM.css} +3 -3
  20. package/dist/assets/{NcAppNavigationNewItem-CCu1yQxq.css → NcAppNavigationNewItem-Dmdd1YSE.css} +39 -33
  21. package/dist/assets/{NcAppNavigationSearch-Ct6uMFNo.css → NcAppNavigationSearch-CQamlS4X.css} +5 -5
  22. package/dist/assets/{NcAppNavigationSettings-B0I7HR1V.css → NcAppNavigationSettings-Bt0dnsjR.css} +7 -8
  23. package/dist/assets/{NcAppSettingsDialog-BtS89pIY.css → NcAppSettingsDialog-CW1IxPWr.css} +10 -10
  24. package/dist/assets/{NcAppSettingsSection-DnDcGk1v.css → NcAppSettingsSection-C4JF60e-.css} +3 -3
  25. package/dist/assets/{NcAppSidebar-DlLDB8Ba.css → NcAppSidebar-DUiFE7vz.css} +58 -58
  26. package/dist/assets/{NcAppSidebarTab-cWhpTGp7.css → NcAppSidebarTab-Xd3HTDbw.css} +4 -4
  27. package/dist/assets/NcAvatar-DhTOlvlb.css +134 -0
  28. package/dist/assets/{NcBreadcrumb-CV3DgRKn.css → NcBreadcrumb-CHjeSh0y.css} +15 -15
  29. package/dist/assets/{NcBreadcrumbs-D2wff82k.css → NcBreadcrumbs-DYfGaSjT.css} +6 -6
  30. package/dist/assets/{NcButton-Cl53rV4b.css → NcButton-BjcEkfk2.css} +77 -64
  31. package/dist/assets/{NcCheckboxRadioSwitch-Cbnc4p0H.css → NcCheckboxRadioSwitch-CJW-RB5j.css} +54 -44
  32. package/dist/assets/{NcChip-1ZmWY_6e.css → NcChip-Cjdo3xPB.css} +9 -9
  33. package/dist/assets/{NcCollectionList-C7_FPg95.css → NcCollectionList-D9dOsdP2.css} +42 -42
  34. package/dist/assets/{NcColorPicker-DlQH2IqY.css → NcColorPicker-BUxqqYfq.css} +28 -28
  35. package/dist/assets/{NcContent-D1ab_Xg2.css → NcContent-CVIwhwfc.css} +12 -9
  36. package/dist/assets/{NcCounterBubble-C0CtLaMW.css → NcCounterBubble-ZnteskDR.css} +7 -7
  37. package/dist/assets/{NcDashboardWidget-CTP_ajin.css → NcDashboardWidget-DD06i7ws.css} +12 -12
  38. package/dist/assets/{NcDashboardWidgetItem-DYwI3Qof.css → NcDashboardWidgetItem-DPVZ3Oso.css} +12 -12
  39. package/dist/assets/{NcDateTimePicker-D10v2GzZ.css → NcDateTimePicker-D0VMSpM3.css} +236 -233
  40. package/dist/assets/{NcDateTimePickerNative-B7hWPWho.css → NcDateTimePickerNative-BP6eg8aU.css} +13 -13
  41. package/dist/assets/{NcDialog-B9626mow.css → NcDialog-GKchMDSB.css} +15 -15
  42. package/dist/assets/{NcEllipsisedOption-BNLv_eyF.css → NcEllipsisedOption-CPWbbgBy.css} +5 -5
  43. package/dist/assets/NcEmojiPicker-BO_GV-CM.css +547 -0
  44. package/dist/assets/{NcGuestContent-bgqNfxTA.css → NcGuestContent-j8ai4O1K.css} +2 -2
  45. package/dist/assets/{NcHeaderButton-Ct8k0yDh.css → NcHeaderButton-CVOQgRjm.css} +11 -7
  46. package/dist/assets/{NcHeaderMenu-CP5Nn6tY.css → NcHeaderMenu-BkGG39vE.css} +15 -11
  47. package/dist/assets/{NcIconSvgWrapper-CJfAwN6-.css → NcIconSvgWrapper-D6qXQDNo.css} +10 -10
  48. package/dist/assets/{NcInputConfirmCancel-DNNS3DDJ.css → NcInputConfirmCancel-BrdZEfr2.css} +5 -5
  49. package/dist/assets/{NcInputField-BeU51nfg.css → NcInputField-CVSrajMb.css} +68 -47
  50. package/dist/assets/NcListItem-BRTO5Id3.css +177 -0
  51. package/dist/assets/{NcListItemIcon-BVhiRo5R.css → NcListItemIcon-OOjV0jWx.css} +13 -13
  52. package/dist/assets/{NcLoadingIcon-DlDKflKI.css → NcLoadingIcon-CWUlo4XY.css} +5 -2
  53. package/dist/assets/{NcMentionBubble-lpms2_3A.css → NcMentionBubble-ptHUq68a.css} +9 -9
  54. package/dist/assets/{NcModal-eBU7G0XQ.css → NcModal-ok4bUsLE.css} +61 -61
  55. package/dist/assets/{NcNoteCard-BTnxwjLX.css → NcNoteCard-l5nIN9Hg.css} +21 -17
  56. package/dist/assets/{NcPasswordField-CWRwNMKF.css → NcPasswordField-CAKOUN91.css} +2 -2
  57. package/dist/assets/{NcPopover-BzkXE_af.css → NcPopover-CZ3pMU6Y.css} +16 -16
  58. package/dist/assets/{NcProgressBar--z-WqmX4.css → NcProgressBar-BAPOXMAL.css} +16 -15
  59. package/dist/assets/{NcRelatedResourcesPanel-9I4RRIks.css → NcRelatedResourcesPanel-BVdRCi64.css} +65 -65
  60. package/dist/assets/{NcRichContenteditable-Dj22Kx6E.css → NcRichContenteditable-zvOx7ivB.css} +21 -21
  61. package/dist/assets/{NcRichText-Fp8zf8zq.css → NcRichText-DujetYXl.css} +88 -88
  62. package/dist/assets/NcSelectUsers-BWhtNRbI.css +4 -0
  63. package/dist/assets/{NcSettingsInputText-B2b1M_wK.css → NcSettingsInputText-Dj_6fuUU.css} +5 -5
  64. package/dist/assets/{NcSettingsSection-CxQtVrUq.css → NcSettingsSection-f5rBJsKJ.css} +7 -7
  65. package/dist/assets/{NcSettingsSelectGroup-BuKKmCtO.css → NcSettingsSelectGroup-BxvEAWNm.css} +3 -3
  66. package/dist/assets/NcTextArea-D7H1UNAd.css +136 -0
  67. package/dist/assets/{NcUserBubble-CqaL0Oxv.css → NcUserBubble-ChgvvPPf.css} +8 -8
  68. package/dist/assets/{NcUserStatusIcon-BcLND4gJ.css → NcUserStatusIcon-D8HqS9GC.css} +11 -7
  69. package/dist/assets/{referencePickerModal-D80hwmre.css → referencePickerModal-B9tq1n_R.css} +60 -77
  70. package/dist/chunks/ArrowRight-DRKHUZMH.mjs.map +1 -1
  71. package/dist/chunks/ChevronDown-FiGpp0KT.mjs.map +1 -1
  72. package/dist/chunks/ChevronUp-DPXFp1ss.mjs.map +1 -1
  73. package/dist/chunks/Close-D6ngJ4t9.mjs.map +1 -1
  74. package/dist/chunks/{NcActionButton-Bd35_0n4.mjs → NcActionButton-DseKq57Q.mjs} +8 -7
  75. package/dist/chunks/NcActionButton-DseKq57Q.mjs.map +1 -0
  76. package/dist/chunks/{NcActionButtonGroup-zqttoOi7.mjs → NcActionButtonGroup-eJGS5If0.mjs} +4 -4
  77. package/dist/chunks/{NcActionButtonGroup-zqttoOi7.mjs.map → NcActionButtonGroup-eJGS5If0.mjs.map} +1 -1
  78. package/dist/chunks/NcActionCaption-Fumfjzxj.mjs.map +1 -1
  79. package/dist/chunks/{NcActionCheckbox-DLPDTACR.mjs → NcActionCheckbox-CwrO3g3I.mjs} +3 -3
  80. package/dist/chunks/NcActionCheckbox-CwrO3g3I.mjs.map +1 -0
  81. package/dist/chunks/{NcActionInput-uNqbQcU9.mjs → NcActionInput-Cby01w-7.mjs} +22 -24
  82. package/dist/chunks/NcActionInput-Cby01w-7.mjs.map +1 -0
  83. package/dist/chunks/{NcActionLink-BEo7zmXX.mjs → NcActionLink-afakPM_N.mjs} +8 -9
  84. package/dist/chunks/NcActionLink-afakPM_N.mjs.map +1 -0
  85. package/dist/chunks/{NcActionRadio-CPoWB58D.mjs → NcActionRadio-ByCpOD0q.mjs} +5 -5
  86. package/dist/chunks/NcActionRadio-ByCpOD0q.mjs.map +1 -0
  87. package/dist/chunks/{NcActionRouter-ERoQjJKv.mjs → NcActionRouter-oT-YU_jf.mjs} +10 -11
  88. package/dist/chunks/NcActionRouter-oT-YU_jf.mjs.map +1 -0
  89. package/dist/chunks/{NcActionText-16Mj4-P1.mjs → NcActionText-uKvLcEY6.mjs} +5 -5
  90. package/dist/chunks/NcActionText-uKvLcEY6.mjs.map +1 -0
  91. package/dist/chunks/{NcActionTextEditable-rS1GklQ7.mjs → NcActionTextEditable-CoAscywz.mjs} +7 -7
  92. package/dist/chunks/NcActionTextEditable-CoAscywz.mjs.map +1 -0
  93. package/dist/chunks/{NcActions-CyXKvnrY.mjs → NcActions-BOqfKgN5.mjs} +69 -21
  94. package/dist/chunks/NcActions-BOqfKgN5.mjs.map +1 -0
  95. package/dist/chunks/{NcAppContent-BK8bOVDx.mjs → NcAppContent-CBiklfOg.mjs} +11 -11
  96. package/dist/chunks/NcAppContent-CBiklfOg.mjs.map +1 -0
  97. package/dist/chunks/NcAppContentDetails.vue_vue_type_script_setup_true_lang-Dnf4r_Ng.mjs.map +1 -1
  98. package/dist/chunks/{NcAppContentList-DnLY_sWw.mjs → NcAppContentList-DYFsuDKh.mjs} +7 -1
  99. package/dist/chunks/NcAppContentList-DYFsuDKh.mjs.map +1 -0
  100. package/dist/chunks/NcAppNavigation-VmhZBTF5.mjs +174 -0
  101. package/dist/chunks/NcAppNavigation-VmhZBTF5.mjs.map +1 -0
  102. package/dist/chunks/{NcAppNavigationCaption-DxfUoJBO.mjs → NcAppNavigationCaption-zs07YHtS.mjs} +7 -5
  103. package/dist/chunks/NcAppNavigationCaption-zs07YHtS.mjs.map +1 -0
  104. package/dist/chunks/{NcAppNavigationIconBullet-B1kc4u65.mjs → NcAppNavigationIconBullet-PrlhOoE9.mjs} +6 -3
  105. package/dist/chunks/NcAppNavigationIconBullet-PrlhOoE9.mjs.map +1 -0
  106. package/dist/chunks/{NcAppNavigationItem-CSiMEh0V.mjs → NcAppNavigationItem-DpimA76Q.mjs} +43 -26
  107. package/dist/chunks/NcAppNavigationItem-DpimA76Q.mjs.map +1 -0
  108. package/dist/chunks/{NcAppNavigationList-DX_Yo23V.mjs → NcAppNavigationList-BX0wE-dB.mjs} +3 -3
  109. package/dist/chunks/{NcAppNavigationList-DX_Yo23V.mjs.map → NcAppNavigationList-BX0wE-dB.mjs.map} +1 -1
  110. package/dist/chunks/{NcAppNavigationNew-CLbVKk5X.mjs → NcAppNavigationNew-Y50s6jTC.mjs} +14 -4
  111. package/dist/chunks/NcAppNavigationNew-Y50s6jTC.mjs.map +1 -0
  112. package/dist/chunks/{NcAppNavigationNewItem-B4TH71qQ.mjs → NcAppNavigationNewItem-CkWp0oFr.mjs} +8 -8
  113. package/dist/chunks/NcAppNavigationNewItem-CkWp0oFr.mjs.map +1 -0
  114. package/dist/chunks/{NcAppNavigationSearch-BOZ5dS_m.mjs → NcAppNavigationSearch-Cs14jpSe.mjs} +8 -9
  115. package/dist/chunks/NcAppNavigationSearch-Cs14jpSe.mjs.map +1 -0
  116. package/dist/chunks/NcAppNavigationSettings-D_u5pIPX.mjs +98 -0
  117. package/dist/chunks/NcAppNavigationSettings-D_u5pIPX.mjs.map +1 -0
  118. package/dist/chunks/NcAppNavigationSpacer-BvkBfuVw.mjs.map +1 -1
  119. package/dist/chunks/{NcAppSettingsDialog-B4rJQ7w_.mjs → NcAppSettingsDialog-Dy2SrGfl.mjs} +15 -9
  120. package/dist/chunks/NcAppSettingsDialog-Dy2SrGfl.mjs.map +1 -0
  121. package/dist/chunks/{NcAppSettingsSection-CssmXyZ0.mjs → NcAppSettingsSection-tccU68DQ.mjs} +9 -3
  122. package/dist/chunks/NcAppSettingsSection-tccU68DQ.mjs.map +1 -0
  123. package/dist/chunks/{NcAppSidebar-D0azvKne.mjs → NcAppSidebar-BNTlPC1G.mjs} +41 -27
  124. package/dist/chunks/NcAppSidebar-BNTlPC1G.mjs.map +1 -0
  125. package/dist/chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs.map +1 -1
  126. package/dist/chunks/{NcAppSidebarTab-D1RmFRTu.mjs → NcAppSidebarTab-Cjetm3Fs.mjs} +9 -6
  127. package/dist/chunks/NcAppSidebarTab-Cjetm3Fs.mjs.map +1 -0
  128. package/dist/chunks/{NcAvatar-Ccw1N-kB.mjs → NcAvatar-42dhVtul.mjs} +40 -48
  129. package/dist/chunks/NcAvatar-42dhVtul.mjs.map +1 -0
  130. package/dist/chunks/NcBlurHash-BiFktE2N.mjs.map +1 -1
  131. package/dist/chunks/{NcBreadcrumb-C9ma2_SJ.mjs → NcBreadcrumb-C86Yxww0.mjs} +28 -24
  132. package/dist/chunks/NcBreadcrumb-C86Yxww0.mjs.map +1 -0
  133. package/dist/chunks/{NcBreadcrumbs-kg_aktAn.mjs → NcBreadcrumbs-BTFyDGO2.mjs} +43 -40
  134. package/dist/chunks/NcBreadcrumbs-BTFyDGO2.mjs.map +1 -0
  135. package/dist/chunks/{NcButton-Df1eAyJ3.mjs → NcButton-DkC5k3Lb.mjs} +48 -30
  136. package/dist/chunks/NcButton-DkC5k3Lb.mjs.map +1 -0
  137. package/dist/chunks/{NcCheckboxRadioSwitch-D8tOjXwB.mjs → NcCheckboxRadioSwitch-iCknuL0_.mjs} +136 -82
  138. package/dist/chunks/NcCheckboxRadioSwitch-iCknuL0_.mjs.map +1 -0
  139. package/dist/chunks/{NcChip-Bf2JVPf_.mjs → NcChip-Dplke0gD.mjs} +8 -8
  140. package/dist/chunks/NcChip-Dplke0gD.mjs.map +1 -0
  141. package/dist/chunks/{NcCollectionList-DtD-RXl8.mjs → NcCollectionList-IC-VyCa-.mjs} +25 -21
  142. package/dist/chunks/NcCollectionList-IC-VyCa-.mjs.map +1 -0
  143. package/dist/chunks/{NcColorPicker-BRIu0Qel.mjs → NcColorPicker-BPd1i3-9.mjs} +38 -26
  144. package/dist/chunks/NcColorPicker-BPd1i3-9.mjs.map +1 -0
  145. package/dist/chunks/{NcContent-BmXFlXrh.mjs → NcContent-BAiLhI_2.mjs} +9 -8
  146. package/dist/chunks/{NcContent-BmXFlXrh.mjs.map → NcContent-BAiLhI_2.mjs.map} +1 -1
  147. package/dist/chunks/{NcCounterBubble-Bop3e-Tr.mjs → NcCounterBubble-CxxHHh8i.mjs} +3 -3
  148. package/dist/chunks/{NcCounterBubble-Bop3e-Tr.mjs.map → NcCounterBubble-CxxHHh8i.mjs.map} +1 -1
  149. package/dist/chunks/{NcDashboardWidget-cBZ_Ub8Q.mjs → NcDashboardWidget-P6DhIXT2.mjs} +52 -10
  150. package/dist/chunks/NcDashboardWidget-P6DhIXT2.mjs.map +1 -0
  151. package/dist/chunks/{NcDashboardWidgetItem-BnUtMMCC.mjs → NcDashboardWidgetItem-GGmhjTfk.mjs} +7 -7
  152. package/dist/chunks/NcDashboardWidgetItem-GGmhjTfk.mjs.map +1 -0
  153. package/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-B0Lci6v0.mjs.map +1 -1
  154. package/dist/chunks/{NcDateTimePicker-Dliaj0xD.mjs → NcDateTimePicker-DmeWERxv.mjs} +35 -27
  155. package/dist/chunks/NcDateTimePicker-DmeWERxv.mjs.map +1 -0
  156. package/dist/chunks/{NcDateTimePickerNative-CEm70Aaw.mjs → NcDateTimePickerNative-BiU3SIRj.mjs} +5 -5
  157. package/dist/chunks/NcDateTimePickerNative-BiU3SIRj.mjs.map +1 -0
  158. package/dist/chunks/{NcDialog-B_4Lud9m.mjs → NcDialog-DmKbeOcJ.mjs} +21 -23
  159. package/dist/chunks/NcDialog-DmKbeOcJ.mjs.map +1 -0
  160. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-d1zLHPqM.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-BvBSeEuo.mjs} +6 -6
  161. package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-BvBSeEuo.mjs.map +1 -0
  162. package/dist/chunks/{NcEllipsisedOption-C8uNDC-j.mjs → NcEllipsisedOption-dT-CtXYp.mjs} +3 -3
  163. package/dist/chunks/NcEllipsisedOption-dT-CtXYp.mjs.map +1 -0
  164. package/dist/chunks/{NcEmojiPicker-DZXHV_Me.mjs → NcEmojiPicker-VUnUOWfg.mjs} +127 -121
  165. package/dist/chunks/NcEmojiPicker-VUnUOWfg.mjs.map +1 -0
  166. package/dist/chunks/NcEmptyContent-BdOezubv.mjs.map +1 -1
  167. package/dist/chunks/{NcGuestContent-mLXi-A-D.mjs → NcGuestContent-CfCh49o0.mjs} +3 -3
  168. package/dist/chunks/NcGuestContent-CfCh49o0.mjs.map +1 -0
  169. package/dist/chunks/{NcHeaderButton-D6LMZ6iL.mjs → NcHeaderButton-DafXYbXB.mjs} +4 -4
  170. package/dist/chunks/NcHeaderButton-DafXYbXB.mjs.map +1 -0
  171. package/dist/chunks/{NcHeaderMenu-O0loxc_q.mjs → NcHeaderMenu-fnBUbMrU.mjs} +25 -24
  172. package/dist/chunks/NcHeaderMenu-fnBUbMrU.mjs.map +1 -0
  173. package/dist/chunks/NcHighlight.vue_vue_type_script_lang-DnWQDM_2.mjs.map +1 -1
  174. package/dist/chunks/{NcIconSvgWrapper-CprKb_SE.mjs → NcIconSvgWrapper-5AA93z-F.mjs} +4 -4
  175. package/dist/chunks/{NcIconSvgWrapper-CprKb_SE.mjs.map → NcIconSvgWrapper-5AA93z-F.mjs.map} +1 -1
  176. package/dist/chunks/{NcInputConfirmCancel-RRwim02d.mjs → NcInputConfirmCancel-DC6lvX7Z.mjs} +11 -5
  177. package/dist/chunks/NcInputConfirmCancel-DC6lvX7Z.mjs.map +1 -0
  178. package/dist/chunks/{NcInputField-DEHb834Z.mjs → NcInputField-DugqxUR2.mjs} +17 -15
  179. package/dist/chunks/NcInputField-DugqxUR2.mjs.map +1 -0
  180. package/dist/chunks/{NcListItem-C6WoTIa4.mjs → NcListItem-C2YXq4EL.mjs} +8 -13
  181. package/dist/chunks/NcListItem-C2YXq4EL.mjs.map +1 -0
  182. package/dist/chunks/{NcListItemIcon-5OKjuvJE.mjs → NcListItemIcon-Du1PyhkH.mjs} +11 -10
  183. package/dist/chunks/NcListItemIcon-Du1PyhkH.mjs.map +1 -0
  184. package/dist/chunks/{NcLoadingIcon-Dm3kRPrf.mjs → NcLoadingIcon-b_ajZ_nQ.mjs} +3 -3
  185. package/dist/chunks/NcLoadingIcon-b_ajZ_nQ.mjs.map +1 -0
  186. package/dist/chunks/{NcMentionBubble.vue_vue_type_style_index_0_scoped_25f4d6e1_lang-aMwzB20D.mjs → NcMentionBubble.vue_vue_type_style_index_0_scoped_45238efd_lang-D6LzDiYf.mjs} +2 -2
  187. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_45238efd_lang-D6LzDiYf.mjs.map +1 -0
  188. package/dist/chunks/{NcModal-n7KHhtoD.mjs → NcModal-Jb_FjSoh.mjs} +60 -57
  189. package/dist/chunks/NcModal-Jb_FjSoh.mjs.map +1 -0
  190. package/dist/chunks/{NcNoteCard-B5CvOJmh.mjs → NcNoteCard-BBnJMdJu.mjs} +11 -7
  191. package/dist/chunks/NcNoteCard-BBnJMdJu.mjs.map +1 -0
  192. package/dist/chunks/{NcPasswordField-JRyxT6wU.mjs → NcPasswordField-F-JcomYe.mjs} +11 -12
  193. package/dist/chunks/NcPasswordField-F-JcomYe.mjs.map +1 -0
  194. package/dist/chunks/{NcPopover-DLoAYZgv.mjs → NcPopover-D8iSVK-p.mjs} +41 -13
  195. package/dist/chunks/NcPopover-D8iSVK-p.mjs.map +1 -0
  196. package/dist/chunks/NcProgressBar-DDMAo4h-.mjs +94 -0
  197. package/dist/chunks/NcProgressBar-DDMAo4h-.mjs.map +1 -0
  198. package/dist/chunks/{NcRelatedResourcesPanel-BBcAt5Fj.mjs → NcRelatedResourcesPanel-BpH5XQ76.mjs} +104 -100
  199. package/dist/chunks/NcRelatedResourcesPanel-BpH5XQ76.mjs.map +1 -0
  200. package/dist/chunks/{NcRichContenteditable-BD6rWjXe.mjs → NcRichContenteditable-CknkQPrW.mjs} +81 -32
  201. package/dist/chunks/NcRichContenteditable-CknkQPrW.mjs.map +1 -0
  202. package/dist/chunks/{NcRichText-BwC3HU1U.mjs → NcRichText-4S-Bcw6_.mjs} +414 -388
  203. package/dist/chunks/NcRichText-4S-Bcw6_.mjs.map +1 -0
  204. package/dist/chunks/{NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs → NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-jUf1K561.mjs} +2 -2
  205. package/dist/chunks/{NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs.map → NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-jUf1K561.mjs.map} +1 -1
  206. package/dist/chunks/{NcSelect-DlAtugnK.mjs → NcSelect-CqmU4nl3.mjs} +10 -11
  207. package/dist/chunks/NcSelect-CqmU4nl3.mjs.map +1 -0
  208. package/dist/chunks/{NcSelectTags-N96Vc2rX.mjs → NcSelectTags-CcsDvt0V.mjs} +17 -16
  209. package/dist/chunks/NcSelectTags-CcsDvt0V.mjs.map +1 -0
  210. package/dist/chunks/{NcSelectUsers-BEoD3M8_.mjs → NcSelectUsers-BLzx7FTX.mjs} +5 -5
  211. package/dist/chunks/NcSelectUsers-BLzx7FTX.mjs.map +1 -0
  212. package/dist/chunks/{NcSettingsInputText-Dh5pxW31.mjs → NcSettingsInputText-BmOtUODF.mjs} +4 -4
  213. package/dist/chunks/NcSettingsInputText-BmOtUODF.mjs.map +1 -0
  214. package/dist/chunks/{NcSettingsSection-DOYZpyIW.mjs → NcSettingsSection-B1XS0NQu.mjs} +4 -4
  215. package/dist/chunks/{NcSettingsSection-DOYZpyIW.mjs.map → NcSettingsSection-B1XS0NQu.mjs.map} +1 -1
  216. package/dist/chunks/{NcSettingsSelectGroup-CUvIP57B.mjs → NcSettingsSelectGroup-BmtDlJ3e.mjs} +15 -17
  217. package/dist/chunks/NcSettingsSelectGroup-BmtDlJ3e.mjs.map +1 -0
  218. package/dist/chunks/{NcTextArea-BTKWGbc1.mjs → NcTextArea-CLM4W-yg.mjs} +19 -10
  219. package/dist/chunks/NcTextArea-CLM4W-yg.mjs.map +1 -0
  220. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-DM5tkqJq.mjs → NcTextField.vue_vue_type_script_setup_true_lang-BN-Pgz4E.mjs} +9 -12
  221. package/dist/chunks/NcTextField.vue_vue_type_script_setup_true_lang-BN-Pgz4E.mjs.map +1 -0
  222. package/dist/chunks/NcThemeProvider.vue_vue_type_script_setup_true_lang-nUDJsDGI.mjs.map +1 -1
  223. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-CZ5IafBy.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-CERjSiE5.mjs} +4 -4
  224. package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-CERjSiE5.mjs.map +1 -0
  225. package/dist/chunks/{NcUserBubble-DpGJJxHd.mjs → NcUserBubble-CxGixaPY.mjs} +9 -9
  226. package/dist/chunks/NcUserBubble-CxGixaPY.mjs.map +1 -0
  227. package/dist/chunks/{NcUserStatusIcon-DJ_IKC46.mjs → NcUserStatusIcon-BUBFkE3m.mjs} +15 -14
  228. package/dist/chunks/NcUserStatusIcon-BUBFkE3m.mjs.map +1 -0
  229. package/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs.map +1 -1
  230. package/dist/chunks/_l10n-CiWgAjJZ.mjs +111 -0
  231. package/dist/chunks/_l10n-CiWgAjJZ.mjs.map +1 -0
  232. package/dist/chunks/actionGlobal-BZFdtdJL.mjs.map +1 -1
  233. package/dist/chunks/{actionText-DdSwf9le.mjs → actionText-DYzDdbVe.mjs} +5 -4
  234. package/dist/chunks/{actionText-DdSwf9le.mjs.map → actionText-DYzDdbVe.mjs.map} +1 -1
  235. package/dist/chunks/{autolink-Y0rlJ_CI.mjs → autolink-U5pBzLgI.mjs} +9 -8
  236. package/dist/chunks/autolink-U5pBzLgI.mjs.map +1 -0
  237. package/dist/chunks/{colors-Bws_qBuw.mjs → colors-C_np5wf3.mjs} +10 -3
  238. package/dist/chunks/colors-C_np5wf3.mjs.map +1 -0
  239. package/dist/chunks/constants-Bls5liKo.mjs.map +1 -1
  240. package/dist/chunks/constants-DrSznhwy.mjs +11 -0
  241. package/dist/chunks/constants-DrSznhwy.mjs.map +1 -0
  242. package/dist/chunks/createElementId-DhjFt1I9.mjs.map +1 -1
  243. package/dist/chunks/{customPickerElements-CH9vlHLd.mjs → customPickerElements-4pQTZUnk.mjs} +7 -7
  244. package/dist/chunks/customPickerElements-4pQTZUnk.mjs.map +1 -0
  245. package/dist/chunks/emoji-BY_D0V5K.mjs.map +1 -1
  246. package/dist/chunks/{focusTrap-DmkaYJTC.mjs → focusTrap-HJQ4pqHV.mjs} +6 -3
  247. package/dist/chunks/focusTrap-HJQ4pqHV.mjs.map +1 -0
  248. package/dist/chunks/legacy-DcjXBL_t.mjs +6 -0
  249. package/dist/chunks/legacy-DcjXBL_t.mjs.map +1 -0
  250. package/dist/chunks/logger-D3RVzcfQ.mjs.map +1 -1
  251. package/dist/chunks/mdi-DXaZM2k3.mjs +49 -0
  252. package/dist/chunks/{mdi-D6fu5i4r.mjs.map → mdi-DXaZM2k3.mjs.map} +1 -1
  253. package/dist/chunks/{referencePickerModal-BA3NmGQ-.mjs → referencePickerModal-tSRu6940.mjs} +129 -82
  254. package/dist/chunks/referencePickerModal-tSRu6940.mjs.map +1 -0
  255. package/dist/chunks/rtl-v0UOPAM7.mjs.map +1 -1
  256. package/dist/chunks/useNcActions-CiGWxAJE.mjs.map +1 -1
  257. package/dist/chunks/{useTrapStackControl-b3A_383w.mjs → useTrapStackControl-B6cEicto.mjs} +3 -4
  258. package/dist/chunks/useTrapStackControl-B6cEicto.mjs.map +1 -0
  259. package/dist/components/NcActionButton/NcActionButton.vue.d.ts +2 -1
  260. package/dist/components/NcActionButton/index.mjs +1 -1
  261. package/dist/components/NcActionButtonGroup/index.mjs +1 -1
  262. package/dist/components/NcActionCheckbox/index.mjs +1 -1
  263. package/dist/components/NcActionInput/NcActionInput.vue.d.ts +1934 -0
  264. package/dist/components/NcActionInput/index.mjs +1 -1
  265. package/dist/components/NcActionLink/index.mjs +1 -1
  266. package/dist/components/NcActionRadio/index.mjs +1 -1
  267. package/dist/components/NcActionRouter/NcActionRouter.vue.d.ts +1 -5
  268. package/dist/components/NcActionRouter/index.mjs +1 -1
  269. package/dist/components/NcActionText/index.mjs +1 -1
  270. package/dist/components/NcActionTextEditable/index.mjs +1 -1
  271. package/dist/components/NcActions/NcActions.vue.d.ts +504 -0
  272. package/dist/components/NcActions/index.mjs +1 -1
  273. package/dist/components/NcActions/useNcActions.d.ts +1 -1
  274. package/dist/components/NcAppContent/index.mjs +1 -1
  275. package/dist/components/NcAppContentList/NcAppContentList.vue.d.ts +12 -0
  276. package/dist/components/NcAppContentList/index.mjs +1 -1
  277. package/dist/components/NcAppNavigation/NcAppNavigation.vue.d.ts +59 -57
  278. package/dist/components/NcAppNavigation/index.d.ts +4 -0
  279. package/dist/components/NcAppNavigation/index.mjs +1 -1
  280. package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +347 -0
  281. package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
  282. package/dist/components/NcAppNavigationIconBullet/NcAppNavigationIconBullet.vue.d.ts +6 -0
  283. package/dist/components/NcAppNavigationIconBullet/index.mjs +1 -1
  284. package/dist/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +155 -0
  285. package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +1233 -0
  286. package/dist/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +183 -0
  287. package/dist/components/NcAppNavigationItem/index.mjs +1 -1
  288. package/dist/components/NcAppNavigationList/index.d.ts +4 -0
  289. package/dist/components/NcAppNavigationList/index.mjs +1 -1
  290. package/dist/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +191 -0
  291. package/dist/components/NcAppNavigationNew/index.mjs +1 -1
  292. package/dist/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +270 -0
  293. package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
  294. package/dist/components/NcAppNavigationSearch/NcAppNavigationSearch.vue.d.ts +14 -14
  295. package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
  296. package/dist/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +1 -0
  297. package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
  298. package/dist/components/NcAppSettingsDialog/NcAppSettingsDialog.vue.d.ts +351 -0
  299. package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
  300. package/dist/components/NcAppSettingsSection/NcAppSettingsSection.vue.d.ts +12 -0
  301. package/dist/components/NcAppSettingsSection/index.mjs +1 -1
  302. package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +1011 -0
  303. package/dist/components/NcAppSidebar/index.mjs +1 -1
  304. package/dist/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +6 -0
  305. package/dist/components/NcAppSidebarTab/index.mjs +1 -1
  306. package/dist/components/NcAvatar/NcAvatar.vue.d.ts +977 -0
  307. package/dist/components/NcAvatar/index.mjs +1 -1
  308. package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +658 -0
  309. package/dist/components/NcBreadcrumb/index.mjs +1 -1
  310. package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +1251 -0
  311. package/dist/components/NcBreadcrumbs/index.mjs +1 -1
  312. package/dist/components/NcButton/NcButton.vue.d.ts +15 -10
  313. package/dist/components/NcButton/index.mjs +1 -1
  314. package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
  315. package/dist/components/NcChip/NcChip.vue.d.ts +2 -0
  316. package/dist/components/NcChip/index.mjs +1 -1
  317. package/dist/components/NcCollectionList/NcCollectionList.vue.d.ts +2412 -0
  318. package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +1374 -0
  319. package/dist/components/NcCollectionList/index.mjs +1 -1
  320. package/dist/components/NcCollectionList/service.d.ts +7 -0
  321. package/dist/components/NcCollectionList/useCollections.d.ts +1 -5
  322. package/dist/components/NcColorPicker/NcColorPicker.vue.d.ts +5 -2
  323. package/dist/components/NcColorPicker/index.mjs +1 -1
  324. package/dist/components/NcContent/constants.d.ts +9 -0
  325. package/dist/components/NcContent/index.mjs +1 -1
  326. package/dist/components/NcCounterBubble/index.mjs +1 -1
  327. package/dist/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +2438 -0
  328. package/dist/components/NcDashboardWidget/index.mjs +1 -1
  329. package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +1482 -0
  330. package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
  331. package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +6 -4
  332. package/dist/components/NcDateTimePicker/index.mjs +1 -1
  333. package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
  334. package/dist/components/NcDialog/NcDialog.vue.d.ts +6 -5
  335. package/dist/components/NcDialog/index.mjs +1 -1
  336. package/dist/components/NcDialogButton/index.mjs +1 -1
  337. package/dist/components/NcEllipsisedOption/NcEllipsisedOption.vue.d.ts +95 -0
  338. package/dist/components/NcEllipsisedOption/index.mjs +1 -1
  339. package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +561 -0
  340. package/dist/components/NcEmojiPicker/index.mjs +1 -1
  341. package/dist/components/NcGuestContent/index.mjs +1 -1
  342. package/dist/components/NcHeaderButton/index.mjs +1 -1
  343. package/dist/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +319 -0
  344. package/dist/components/NcHeaderMenu/index.mjs +1 -1
  345. package/dist/components/NcHighlight/NcHighlight.vue.d.ts +1 -1
  346. package/dist/components/NcIconSvgWrapper/index.mjs +1 -1
  347. package/dist/components/NcInputField/NcInputField.vue.d.ts +8 -8
  348. package/dist/components/NcInputField/index.mjs +1 -1
  349. package/dist/components/NcListItem/NcListItem.vue.d.ts +652 -0
  350. package/dist/components/NcListItem/index.mjs +1 -1
  351. package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +1094 -0
  352. package/dist/components/NcListItemIcon/index.mjs +1 -1
  353. package/dist/components/NcLoadingIcon/index.mjs +1 -1
  354. package/dist/components/NcModal/index.mjs +1 -1
  355. package/dist/components/NcNoteCard/index.mjs +1 -1
  356. package/dist/components/NcPasswordField/NcPasswordField.vue.d.ts +14 -14
  357. package/dist/components/NcPasswordField/index.mjs +1 -1
  358. package/dist/components/NcPopover/NcPopoverTriggerProvider.vue.d.ts +12 -0
  359. package/dist/components/NcPopover/index.mjs +1 -1
  360. package/dist/components/NcProgressBar/NcProgressBar.vue.d.ts +48 -1
  361. package/dist/components/NcProgressBar/index.d.ts +4 -0
  362. package/dist/components/NcProgressBar/index.mjs +1 -1
  363. package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +463 -0
  364. package/dist/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +149 -0
  365. package/dist/components/NcRelatedResourcesPanel/NcTeamResources.vue.d.ts +175 -0
  366. package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
  367. package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +30 -0
  368. package/dist/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +30 -0
  369. package/dist/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +28 -3
  370. package/dist/components/NcRichContenteditable/index.mjs +1 -1
  371. package/dist/components/NcRichText/NcReferenceList.vue.d.ts +268 -0
  372. package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +197 -0
  373. package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +447 -0
  374. package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +1002 -0
  375. package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +1167 -0
  376. package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +275 -0
  377. package/dist/components/NcRichText/NcReferencePicker/NcSearchResult.vue.d.ts +69 -0
  378. package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +187 -0
  379. package/dist/components/NcRichText/NcRichText.vue.d.ts +405 -0
  380. package/dist/components/NcRichText/autolink.d.ts +18 -7
  381. package/dist/components/NcRichText/index.d.ts +6 -6
  382. package/dist/components/NcRichText/index.mjs +17 -17
  383. package/dist/components/NcSavingIndicatorIcon/index.mjs +1 -1
  384. package/dist/components/NcSelect/NcSelect.vue.d.ts +99 -0
  385. package/dist/components/NcSelect/index.mjs +1 -1
  386. package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +183 -0
  387. package/dist/components/NcSelectTags/api.d.ts +3 -0
  388. package/dist/components/NcSelectTags/index.mjs +1 -1
  389. package/dist/components/NcSelectUsers/index.mjs +1 -1
  390. package/dist/components/NcSettingsInputText/index.mjs +1 -1
  391. package/dist/components/NcSettingsSection/index.mjs +1 -1
  392. package/dist/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +243 -0
  393. package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
  394. package/dist/components/NcTextArea/NcTextArea.vue.d.ts +4 -5
  395. package/dist/components/NcTextArea/index.mjs +1 -1
  396. package/dist/components/NcTextField/NcTextField.vue.d.ts +14 -14
  397. package/dist/components/NcTextField/index.mjs +1 -1
  398. package/dist/components/NcTimezonePicker/index.mjs +1 -1
  399. package/dist/components/NcTimezonePicker/timezoneDataProviderService.d.ts +0 -2
  400. package/dist/components/NcUserBubble/NcUserBubble.vue.d.ts +2 -2
  401. package/dist/components/NcUserBubble/index.mjs +1 -1
  402. package/dist/components/NcUserStatusIcon/index.mjs +1 -1
  403. package/dist/components/index.d.ts +6 -6
  404. package/dist/composables/useFormatDateTime/index.d.ts +2 -0
  405. package/dist/composables/useFormatDateTime/index.mjs +1 -1
  406. package/dist/composables/useFormatDateTime/index.mjs.map +1 -1
  407. package/dist/composables/useHotKey/index.mjs.map +1 -1
  408. package/dist/composables/useIsDarkTheme/constants.d.ts +1 -1
  409. package/dist/composables/useIsDarkTheme/index.d.ts +2 -1
  410. package/dist/composables/useIsDarkTheme/index.mjs.map +1 -1
  411. package/dist/composables/useIsFullscreen/index.mjs.map +1 -1
  412. package/dist/composables/useIsMobile/index.mjs.map +1 -1
  413. package/dist/composables/useTrapStackControl.d.ts +1 -1
  414. package/dist/directives/Focus/index.mjs.map +1 -1
  415. package/dist/directives/Linkify/index.mjs +1 -2
  416. package/dist/directives/Linkify/index.mjs.map +1 -1
  417. package/dist/functions/a11y/index.d.ts +2 -4
  418. package/dist/functions/a11y/index.mjs +2 -2
  419. package/dist/functions/a11y/index.mjs.map +1 -1
  420. package/dist/functions/contactsMenu/index.mjs.map +1 -1
  421. package/dist/functions/dialog/index.d.ts +1 -0
  422. package/dist/functions/dialog/index.mjs +1 -1
  423. package/dist/functions/dialog/index.mjs.map +1 -1
  424. package/dist/functions/emoji/emoji.d.ts +2 -2
  425. package/dist/functions/emoji/index.d.ts +1 -1
  426. package/dist/functions/isDarkTheme/index.d.ts +2 -1
  427. package/dist/functions/isDarkTheme/index.mjs.map +1 -1
  428. package/dist/functions/preloadImage/index.d.ts +1 -0
  429. package/dist/functions/preloadImage/index.mjs.map +1 -1
  430. package/dist/functions/reference/index.d.ts +3 -3
  431. package/dist/functions/reference/index.mjs +10 -10
  432. package/dist/functions/reference/widgets.d.ts +1 -0
  433. package/dist/functions/registerReference/index.d.ts +2 -2
  434. package/dist/functions/registerReference/index.mjs +5 -5
  435. package/dist/functions/usernameToColor/index.mjs +1 -1
  436. package/dist/functions/usernameToColor/index.mjs.map +1 -1
  437. package/dist/index.d.ts +1 -1
  438. package/dist/index.mjs +92 -91
  439. package/dist/index.mjs.map +1 -1
  440. package/dist/l10n.d.ts +1 -1
  441. package/dist/mixins/actionText.d.ts +1 -0
  442. package/dist/utils/UserStatus.d.ts +6 -1
  443. package/dist/utils/focusTrap.d.ts +6 -0
  444. package/dist/utils/getAvatarUrl.d.ts +1 -0
  445. package/dist/utils/legacy.d.ts +5 -0
  446. package/package.json +54 -47
  447. package/dist/assets/NcAppNavigationToggle-B4XuIU5N.css +0 -27
  448. package/dist/assets/NcAvatar-j5lkSXJF.css +0 -132
  449. package/dist/assets/NcEmojiPicker-CeVpBSVx.css +0 -576
  450. package/dist/assets/NcListItem-BBaZDZQK.css +0 -186
  451. package/dist/assets/NcSelectUsers-2-PyuY9Z.css +0 -4
  452. package/dist/assets/NcTextArea-BLRA2iY6.css +0 -112
  453. package/dist/chunks/ArrowLeft-BiZLJltw.mjs +0 -49
  454. package/dist/chunks/ArrowLeft-BiZLJltw.mjs.map +0 -1
  455. package/dist/chunks/Check-5i4xKnkl.mjs +0 -49
  456. package/dist/chunks/Check-5i4xKnkl.mjs.map +0 -1
  457. package/dist/chunks/DotsHorizontal-BJ_GCGpi.mjs +0 -49
  458. package/dist/chunks/DotsHorizontal-BJ_GCGpi.mjs.map +0 -1
  459. package/dist/chunks/NcActionButton-Bd35_0n4.mjs.map +0 -1
  460. package/dist/chunks/NcActionCheckbox-DLPDTACR.mjs.map +0 -1
  461. package/dist/chunks/NcActionInput-uNqbQcU9.mjs.map +0 -1
  462. package/dist/chunks/NcActionLink-BEo7zmXX.mjs.map +0 -1
  463. package/dist/chunks/NcActionRadio-CPoWB58D.mjs.map +0 -1
  464. package/dist/chunks/NcActionRouter-ERoQjJKv.mjs.map +0 -1
  465. package/dist/chunks/NcActionText-16Mj4-P1.mjs.map +0 -1
  466. package/dist/chunks/NcActionTextEditable-rS1GklQ7.mjs.map +0 -1
  467. package/dist/chunks/NcActions-CyXKvnrY.mjs.map +0 -1
  468. package/dist/chunks/NcAppContent-BK8bOVDx.mjs.map +0 -1
  469. package/dist/chunks/NcAppContentList-DnLY_sWw.mjs.map +0 -1
  470. package/dist/chunks/NcAppNavigation-Ccjr0Wxc.mjs +0 -167
  471. package/dist/chunks/NcAppNavigation-Ccjr0Wxc.mjs.map +0 -1
  472. package/dist/chunks/NcAppNavigationCaption-DxfUoJBO.mjs.map +0 -1
  473. package/dist/chunks/NcAppNavigationIconBullet-B1kc4u65.mjs.map +0 -1
  474. package/dist/chunks/NcAppNavigationItem-CSiMEh0V.mjs.map +0 -1
  475. package/dist/chunks/NcAppNavigationNew-CLbVKk5X.mjs.map +0 -1
  476. package/dist/chunks/NcAppNavigationNewItem-B4TH71qQ.mjs.map +0 -1
  477. package/dist/chunks/NcAppNavigationSearch-BOZ5dS_m.mjs.map +0 -1
  478. package/dist/chunks/NcAppNavigationSettings-9FtV3wC6.mjs +0 -138
  479. package/dist/chunks/NcAppNavigationSettings-9FtV3wC6.mjs.map +0 -1
  480. package/dist/chunks/NcAppNavigationToggle-D8aIKSiz.mjs +0 -137
  481. package/dist/chunks/NcAppNavigationToggle-D8aIKSiz.mjs.map +0 -1
  482. package/dist/chunks/NcAppSettingsDialog-B4rJQ7w_.mjs.map +0 -1
  483. package/dist/chunks/NcAppSettingsSection-CssmXyZ0.mjs.map +0 -1
  484. package/dist/chunks/NcAppSidebar-D0azvKne.mjs.map +0 -1
  485. package/dist/chunks/NcAppSidebarTab-D1RmFRTu.mjs.map +0 -1
  486. package/dist/chunks/NcAvatar-Ccw1N-kB.mjs.map +0 -1
  487. package/dist/chunks/NcBreadcrumb-C9ma2_SJ.mjs.map +0 -1
  488. package/dist/chunks/NcBreadcrumbs-kg_aktAn.mjs.map +0 -1
  489. package/dist/chunks/NcButton-Df1eAyJ3.mjs.map +0 -1
  490. package/dist/chunks/NcCheckboxRadioSwitch-D8tOjXwB.mjs.map +0 -1
  491. package/dist/chunks/NcChip-Bf2JVPf_.mjs.map +0 -1
  492. package/dist/chunks/NcCollectionList-DtD-RXl8.mjs.map +0 -1
  493. package/dist/chunks/NcColorPicker-BRIu0Qel.mjs.map +0 -1
  494. package/dist/chunks/NcDashboardWidget-cBZ_Ub8Q.mjs.map +0 -1
  495. package/dist/chunks/NcDashboardWidgetItem-BnUtMMCC.mjs.map +0 -1
  496. package/dist/chunks/NcDateTimePicker-Dliaj0xD.mjs.map +0 -1
  497. package/dist/chunks/NcDateTimePickerNative-CEm70Aaw.mjs.map +0 -1
  498. package/dist/chunks/NcDialog-B_4Lud9m.mjs.map +0 -1
  499. package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-d1zLHPqM.mjs.map +0 -1
  500. package/dist/chunks/NcEllipsisedOption-C8uNDC-j.mjs.map +0 -1
  501. package/dist/chunks/NcEmojiPicker-DZXHV_Me.mjs.map +0 -1
  502. package/dist/chunks/NcGuestContent-mLXi-A-D.mjs.map +0 -1
  503. package/dist/chunks/NcHeaderButton-D6LMZ6iL.mjs.map +0 -1
  504. package/dist/chunks/NcHeaderMenu-O0loxc_q.mjs.map +0 -1
  505. package/dist/chunks/NcInputConfirmCancel-RRwim02d.mjs.map +0 -1
  506. package/dist/chunks/NcInputField-DEHb834Z.mjs.map +0 -1
  507. package/dist/chunks/NcListItem-C6WoTIa4.mjs.map +0 -1
  508. package/dist/chunks/NcListItemIcon-5OKjuvJE.mjs.map +0 -1
  509. package/dist/chunks/NcLoadingIcon-Dm3kRPrf.mjs.map +0 -1
  510. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_25f4d6e1_lang-aMwzB20D.mjs.map +0 -1
  511. package/dist/chunks/NcModal-n7KHhtoD.mjs.map +0 -1
  512. package/dist/chunks/NcNoteCard-B5CvOJmh.mjs.map +0 -1
  513. package/dist/chunks/NcPasswordField-JRyxT6wU.mjs.map +0 -1
  514. package/dist/chunks/NcPopover-DLoAYZgv.mjs.map +0 -1
  515. package/dist/chunks/NcProgressBar-Bx8bMkd4.mjs +0 -148
  516. package/dist/chunks/NcProgressBar-Bx8bMkd4.mjs.map +0 -1
  517. package/dist/chunks/NcRelatedResourcesPanel-BBcAt5Fj.mjs.map +0 -1
  518. package/dist/chunks/NcRichContenteditable-BD6rWjXe.mjs.map +0 -1
  519. package/dist/chunks/NcRichText-BwC3HU1U.mjs.map +0 -1
  520. package/dist/chunks/NcSelect-DlAtugnK.mjs.map +0 -1
  521. package/dist/chunks/NcSelectTags-N96Vc2rX.mjs.map +0 -1
  522. package/dist/chunks/NcSelectUsers-BEoD3M8_.mjs.map +0 -1
  523. package/dist/chunks/NcSettingsInputText-Dh5pxW31.mjs.map +0 -1
  524. package/dist/chunks/NcSettingsSelectGroup-CUvIP57B.mjs.map +0 -1
  525. package/dist/chunks/NcTextArea-BTKWGbc1.mjs.map +0 -1
  526. package/dist/chunks/NcTextField.vue_vue_type_script_setup_true_lang-DM5tkqJq.mjs.map +0 -1
  527. package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-CZ5IafBy.mjs.map +0 -1
  528. package/dist/chunks/NcUserBubble-DpGJJxHd.mjs.map +0 -1
  529. package/dist/chunks/NcUserStatusIcon-DJ_IKC46.mjs.map +0 -1
  530. package/dist/chunks/_l10n-_R1HqC4N.mjs +0 -108
  531. package/dist/chunks/_l10n-_R1HqC4N.mjs.map +0 -1
  532. package/dist/chunks/autolink-Y0rlJ_CI.mjs.map +0 -1
  533. package/dist/chunks/colors-Bws_qBuw.mjs.map +0 -1
  534. package/dist/chunks/customPickerElements-CH9vlHLd.mjs.map +0 -1
  535. package/dist/chunks/focusTrap-DmkaYJTC.mjs.map +0 -1
  536. package/dist/chunks/mdi-D6fu5i4r.mjs +0 -37
  537. package/dist/chunks/referencePickerModal-BA3NmGQ-.mjs.map +0 -1
  538. package/dist/chunks/useTrapStackControl-b3A_383w.mjs.map +0 -1
  539. package/dist/components/NcAppNavigationToggle/index.d.ts +0 -5
  540. package/dist/components/NcAppNavigationToggle/index.mjs +0 -5
  541. package/dist/components/NcAppNavigationToggle/index.mjs.map +0 -1
  542. package/dist/vendor.LICENSE.txt +0 -137
  543. /package/dist/components/{NcAppNavigationToggle → NcAppNavigation}/NcAppNavigationToggle.vue.d.ts +0 -0
@@ -1,24 +1,159 @@
1
- import '../assets/NcRichText-Fp8zf8zq.css';
1
+ import '../assets/NcRichText-DujetYXl.css';
2
+ import rehypeExternalLinks from "rehype-external-links";
3
+ import rehype2react from "rehype-react";
4
+ import breaks from "remark-breaks";
5
+ import remarkParse from "remark-parse";
6
+ import remark2rehype from "remark-rehype";
7
+ import remarkUnlinkProtocols from "remark-unlink-protocols";
2
8
  import { unified } from "unified";
3
9
  import { resolveComponent, createElementBlock, createCommentVNode, openBlock, normalizeClass, Fragment, renderList, createBlock, ref, h } from "vue";
4
10
  import { RouterLink } from "vue-router";
5
- import remarkParse from "remark-parse";
6
- import breaks from "remark-breaks";
7
- import remarkUnlinkProtocols from "remark-unlink-protocols";
8
- import remark2rehype from "remark-rehype";
9
- import rehype2react from "rehype-react";
10
- import rehypeExternalLinks from "rehype-external-links";
11
- import { N as NcCheckboxRadioSwitch } from "./NcCheckboxRadioSwitch-D8tOjXwB.mjs";
12
- import { N as NcReferenceWidget } from "./referencePickerModal-BA3NmGQ-.mjs";
13
- import { U as URL_PATTERN, g as getRoute, p as parseUrl, r as remarkAutolink } from "./autolink-Y0rlJ_CI.mjs";
14
- import axios from "@nextcloud/axios";
15
- import { getSharingToken } from "@nextcloud/sharing/public";
11
+ import { N as NcCheckboxRadioSwitch } from "./NcCheckboxRadioSwitch-iCknuL0_.mjs";
16
12
  import { getCurrentUser } from "@nextcloud/auth";
13
+ import axios from "@nextcloud/axios";
17
14
  import { generateOcsUrl } from "@nextcloud/router";
15
+ import { getSharingToken } from "@nextcloud/sharing/public";
16
+ import { f as NcReferenceWidget } from "./referencePickerModal-tSRu6940.mjs";
17
+ import { U as URL_PATTERN, g as getRoute, p as parseUrl, r as remarkAutolink } from "./autolink-U5pBzLgI.mjs";
18
18
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
19
- import { visit, EXIT as EXIT$1, SKIP as SKIP$1 } from "unist-util-visit";
20
19
  import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
21
20
  import { u } from "unist-builder";
21
+ import { visit, EXIT as EXIT$1, SKIP as SKIP$1 } from "unist-util-visit";
22
+ const _sfc_main$1 = {
23
+ name: "NcReferenceList",
24
+ components: {
25
+ NcReferenceWidget
26
+ },
27
+ /* eslint vue/require-prop-comment: warn -- TODO: Add a proper doc block about what this props do */
28
+ props: {
29
+ text: {
30
+ type: String,
31
+ default: ""
32
+ },
33
+ referenceData: {
34
+ type: Array,
35
+ default: null
36
+ },
37
+ limit: {
38
+ type: Number,
39
+ default: 1
40
+ },
41
+ displayFallback: {
42
+ type: Boolean,
43
+ default: false
44
+ },
45
+ interactive: {
46
+ type: Boolean,
47
+ default: true
48
+ },
49
+ interactiveOptIn: {
50
+ type: Boolean,
51
+ default: false
52
+ }
53
+ },
54
+ emits: ["loaded"],
55
+ data() {
56
+ return {
57
+ references: null,
58
+ loading: true
59
+ };
60
+ },
61
+ computed: {
62
+ isVisible() {
63
+ return this.loading || this.displayedReferences.length !== 0;
64
+ },
65
+ values() {
66
+ if (this.referenceData) {
67
+ return this.referenceData;
68
+ }
69
+ if (this.displayFallback && !this.loading && !this.references) {
70
+ return [this.fallbackReference];
71
+ }
72
+ return this.references ? Object.values(this.references) : [];
73
+ },
74
+ firstReference() {
75
+ return this.values[0] ?? null;
76
+ },
77
+ displayedReferences() {
78
+ return this.values.slice(0, this.limit);
79
+ },
80
+ fallbackReference() {
81
+ return {
82
+ accessible: true,
83
+ openGraphObject: {
84
+ id: this.text,
85
+ link: this.text,
86
+ name: this.text
87
+ },
88
+ richObjectType: "open-graph"
89
+ };
90
+ }
91
+ },
92
+ watch: {
93
+ text: "fetch"
94
+ },
95
+ mounted() {
96
+ this.fetch();
97
+ },
98
+ methods: {
99
+ fetch() {
100
+ this.loading = true;
101
+ if (this.referenceData) {
102
+ this.references = null;
103
+ this.loading = false;
104
+ return;
105
+ }
106
+ if (!new RegExp(URL_PATTERN).exec(this.text)) {
107
+ this.references = null;
108
+ this.loading = false;
109
+ return;
110
+ }
111
+ this.resolve().then((response) => {
112
+ this.references = response.data.ocs.data.references;
113
+ this.loading = false;
114
+ this.$emit("loaded");
115
+ }).catch((error) => {
116
+ logger.error("[NcReferenceList] Failed to extract references", { error });
117
+ this.loading = false;
118
+ this.$emit("loaded");
119
+ });
120
+ },
121
+ resolve() {
122
+ const match = new RegExp(URL_PATTERN).exec(this.text.trim());
123
+ const isPublic = getCurrentUser() === null;
124
+ if (this.limit === 1 && match) {
125
+ return isPublic ? axios.get(generateOcsUrl("references/resolvePublic") + `?reference=${encodeURIComponent(match[0])}&sharingToken=${getSharingToken()}`) : axios.get(generateOcsUrl("references/resolve") + `?reference=${encodeURIComponent(match[0])}`);
126
+ }
127
+ return isPublic ? axios.post(generateOcsUrl("references/extractPublic"), {
128
+ text: this.text,
129
+ resolve: true,
130
+ limit: this.limit,
131
+ sharingToken: getSharingToken()
132
+ }) : axios.post(generateOcsUrl("references/extract"), {
133
+ text: this.text,
134
+ resolve: true,
135
+ limit: this.limit
136
+ });
137
+ }
138
+ }
139
+ };
140
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
141
+ const _component_NcReferenceWidget = resolveComponent("NcReferenceWidget");
142
+ return $options.isVisible ? (openBlock(), createElementBlock("div", {
143
+ key: 0,
144
+ class: normalizeClass(["widgets--list", { "icon-loading": $data.loading }])
145
+ }, [
146
+ (openBlock(true), createElementBlock(Fragment, null, renderList($options.displayedReferences, (reference) => {
147
+ return openBlock(), createBlock(_component_NcReferenceWidget, {
148
+ key: reference?.openGraphObject?.id,
149
+ reference,
150
+ interactive: $props.interactive,
151
+ "interactive-opt-in": $props.interactiveOptIn
152
+ }, null, 8, ["reference", "interactive", "interactive-opt-in"]);
153
+ }), 128))
154
+ ], 2)) : createCommentVNode("", true);
155
+ }
156
+ const NcReferenceList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-f7eb926d"]]);
22
157
  function ccount(value, character) {
23
158
  const source = String(value);
24
159
  if (typeof character !== "string") {
@@ -81,7 +216,7 @@ const convert = (
81
216
  * @param {Test} [test]
82
217
  * @returns {Check}
83
218
  */
84
- function(test) {
219
+ (function(test) {
85
220
  if (test === null || test === void 0) {
86
221
  return ok;
87
222
  }
@@ -95,7 +230,7 @@ const convert = (
95
230
  return typeFactory(test);
96
231
  }
97
232
  throw new Error("Expected function, string, or object as test");
98
- }
233
+ })
99
234
  );
100
235
  function anyFactory(tests) {
101
236
  const checks = [];
@@ -485,28 +620,14 @@ function normalizeIdentifier(value) {
485
620
  return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
486
621
  }
487
622
  footnoteReference.peek = footnoteReferencePeek;
488
- function gfmFootnoteFromMarkdown() {
489
- return {
490
- enter: {
491
- gfmFootnoteDefinition: enterFootnoteDefinition,
492
- gfmFootnoteDefinitionLabelString: enterFootnoteDefinitionLabelString,
493
- gfmFootnoteCall: enterFootnoteCall,
494
- gfmFootnoteCallString: enterFootnoteCallString
495
- },
496
- exit: {
497
- gfmFootnoteDefinition: exitFootnoteDefinition,
498
- gfmFootnoteDefinitionLabelString: exitFootnoteDefinitionLabelString,
499
- gfmFootnoteCall: exitFootnoteCall,
500
- gfmFootnoteCallString: exitFootnoteCallString
501
- }
502
- };
623
+ function enterFootnoteCallString() {
624
+ this.buffer();
503
625
  }
504
- function gfmFootnoteToMarkdown() {
505
- return {
506
- // This is on by default already.
507
- unsafe: [{ character: "[", inConstruct: ["phrasing", "label", "reference"] }],
508
- handlers: { footnoteDefinition, footnoteReference }
509
- };
626
+ function enterFootnoteCall(token) {
627
+ this.enter({ type: "footnoteReference", identifier: "", label: "" }, token);
628
+ }
629
+ function enterFootnoteDefinitionLabelString() {
630
+ this.buffer();
510
631
  }
511
632
  function enterFootnoteDefinition(token) {
512
633
  this.enter(
@@ -514,86 +635,99 @@ function enterFootnoteDefinition(token) {
514
635
  token
515
636
  );
516
637
  }
517
- function enterFootnoteDefinitionLabelString() {
518
- this.buffer();
519
- }
520
- function exitFootnoteDefinitionLabelString(token) {
638
+ function exitFootnoteCallString(token) {
521
639
  const label = this.resume();
522
640
  const node2 = this.stack[this.stack.length - 1];
523
- ok$1(node2.type === "footnoteDefinition");
524
- node2.label = label;
641
+ ok$1(node2.type === "footnoteReference");
525
642
  node2.identifier = normalizeIdentifier(
526
643
  this.sliceSerialize(token)
527
644
  ).toLowerCase();
645
+ node2.label = label;
528
646
  }
529
- function exitFootnoteDefinition(token) {
647
+ function exitFootnoteCall(token) {
530
648
  this.exit(token);
531
649
  }
532
- function enterFootnoteCall(token) {
533
- this.enter({ type: "footnoteReference", identifier: "", label: "" }, token);
534
- }
535
- function enterFootnoteCallString() {
536
- this.buffer();
537
- }
538
- function exitFootnoteCallString(token) {
650
+ function exitFootnoteDefinitionLabelString(token) {
539
651
  const label = this.resume();
540
652
  const node2 = this.stack[this.stack.length - 1];
541
- ok$1(node2.type === "footnoteReference");
542
- node2.label = label;
653
+ ok$1(node2.type === "footnoteDefinition");
543
654
  node2.identifier = normalizeIdentifier(
544
655
  this.sliceSerialize(token)
545
656
  ).toLowerCase();
657
+ node2.label = label;
546
658
  }
547
- function exitFootnoteCall(token) {
659
+ function exitFootnoteDefinition(token) {
548
660
  this.exit(token);
549
661
  }
662
+ function footnoteReferencePeek() {
663
+ return "[";
664
+ }
550
665
  function footnoteReference(node2, _, state, info) {
551
666
  const tracker = state.createTracker(info);
552
667
  let value = tracker.move("[^");
553
668
  const exit2 = state.enter("footnoteReference");
554
669
  const subexit = state.enter("reference");
555
670
  value += tracker.move(
556
- state.safe(state.associationId(node2), {
557
- ...tracker.current(),
558
- before: value,
559
- after: "]"
560
- })
671
+ state.safe(state.associationId(node2), { after: "]", before: value })
561
672
  );
562
673
  subexit();
563
674
  exit2();
564
675
  value += tracker.move("]");
565
676
  return value;
566
677
  }
567
- function footnoteReferencePeek() {
568
- return "[";
569
- }
570
- function footnoteDefinition(node2, _, state, info) {
571
- const tracker = state.createTracker(info);
572
- let value = tracker.move("[^");
573
- const exit2 = state.enter("footnoteDefinition");
574
- const subexit = state.enter("label");
575
- value += tracker.move(
576
- state.safe(state.associationId(node2), {
577
- ...tracker.current(),
578
- before: value,
579
- after: "]"
580
- })
581
- );
582
- subexit();
583
- value += tracker.move(
584
- "]:" + (node2.children && node2.children.length > 0 ? " " : "")
585
- );
586
- tracker.shift(4);
587
- value += tracker.move(
588
- state.indentLines(state.containerFlow(node2, tracker.current()), map$2)
589
- );
590
- exit2();
591
- return value;
678
+ function gfmFootnoteFromMarkdown() {
679
+ return {
680
+ enter: {
681
+ gfmFootnoteCallString: enterFootnoteCallString,
682
+ gfmFootnoteCall: enterFootnoteCall,
683
+ gfmFootnoteDefinitionLabelString: enterFootnoteDefinitionLabelString,
684
+ gfmFootnoteDefinition: enterFootnoteDefinition
685
+ },
686
+ exit: {
687
+ gfmFootnoteCallString: exitFootnoteCallString,
688
+ gfmFootnoteCall: exitFootnoteCall,
689
+ gfmFootnoteDefinitionLabelString: exitFootnoteDefinitionLabelString,
690
+ gfmFootnoteDefinition: exitFootnoteDefinition
691
+ }
692
+ };
592
693
  }
593
- function map$2(line, index, blank) {
594
- if (index === 0) {
595
- return line;
694
+ function gfmFootnoteToMarkdown(options) {
695
+ let firstLineBlank = false;
696
+ if (options && options.firstLineBlank) {
697
+ firstLineBlank = true;
596
698
  }
699
+ return {
700
+ handlers: { footnoteDefinition, footnoteReference },
701
+ // This is on by default already.
702
+ unsafe: [{ character: "[", inConstruct: ["label", "phrasing", "reference"] }]
703
+ };
704
+ function footnoteDefinition(node2, _, state, info) {
705
+ const tracker = state.createTracker(info);
706
+ let value = tracker.move("[^");
707
+ const exit2 = state.enter("footnoteDefinition");
708
+ const subexit = state.enter("label");
709
+ value += tracker.move(
710
+ state.safe(state.associationId(node2), { before: value, after: "]" })
711
+ );
712
+ subexit();
713
+ value += tracker.move("]:");
714
+ if (node2.children && node2.children.length > 0) {
715
+ tracker.shift(4);
716
+ value += tracker.move(
717
+ (firstLineBlank ? "\n" : " ") + state.indentLines(
718
+ state.containerFlow(node2, tracker.current()),
719
+ firstLineBlank ? mapAll : mapExceptFirst
720
+ )
721
+ );
722
+ }
723
+ exit2();
724
+ return value;
725
+ }
726
+ }
727
+ function mapExceptFirst(line, index, blank) {
728
+ return index === 0 ? line : mapAll(line, index, blank);
729
+ }
730
+ function mapAll(line, index, blank) {
597
731
  return (blank ? "" : " ") + line;
598
732
  }
599
733
  const constructsWithoutStrikethrough = [
@@ -646,9 +780,13 @@ function handleDelete(node2, _, state, info) {
646
780
  function peekDelete() {
647
781
  return "~";
648
782
  }
649
- function markdownTable(table, options = {}) {
650
- const align = (options.align || []).concat();
651
- const stringLength = options.stringLength || defaultStringLength;
783
+ function defaultStringLength(value) {
784
+ return value.length;
785
+ }
786
+ function markdownTable(table, options) {
787
+ const settings = options || {};
788
+ const align = (settings.align || []).concat();
789
+ const stringLength = settings.stringLength || defaultStringLength;
652
790
  const alignments = [];
653
791
  const cellMatrix = [];
654
792
  const sizeMatrix = [];
@@ -664,7 +802,7 @@ function markdownTable(table, options = {}) {
664
802
  }
665
803
  while (++columnIndex2 < table[rowIndex].length) {
666
804
  const cell = serialize(table[rowIndex][columnIndex2]);
667
- if (options.alignDelimiters !== false) {
805
+ if (settings.alignDelimiters !== false) {
668
806
  const size = stringLength(cell);
669
807
  sizes2[columnIndex2] = size;
670
808
  if (longestCellByColumn[columnIndex2] === void 0 || size > longestCellByColumn[columnIndex2]) {
@@ -702,12 +840,12 @@ function markdownTable(table, options = {}) {
702
840
  } else if (code2 === 114) {
703
841
  after = ":";
704
842
  }
705
- let size = options.alignDelimiters === false ? 1 : Math.max(
843
+ let size = settings.alignDelimiters === false ? 1 : Math.max(
706
844
  1,
707
845
  longestCellByColumn[columnIndex] - before.length - after.length
708
846
  );
709
847
  const cell = before + "-".repeat(size) + after;
710
- if (options.alignDelimiters !== false) {
848
+ if (settings.alignDelimiters !== false) {
711
849
  size = before.length + size + after.length;
712
850
  if (size > longestCellByColumn[columnIndex]) {
713
851
  longestCellByColumn[columnIndex] = size;
@@ -729,7 +867,7 @@ function markdownTable(table, options = {}) {
729
867
  const cell = row2[columnIndex] || "";
730
868
  let before = "";
731
869
  let after = "";
732
- if (options.alignDelimiters !== false) {
870
+ if (settings.alignDelimiters !== false) {
733
871
  const size = longestCellByColumn[columnIndex] - (sizes2[columnIndex] || 0);
734
872
  const code2 = alignments[columnIndex];
735
873
  if (code2 === 114) {
@@ -746,30 +884,30 @@ function markdownTable(table, options = {}) {
746
884
  after = " ".repeat(size);
747
885
  }
748
886
  }
749
- if (options.delimiterStart !== false && !columnIndex) {
887
+ if (settings.delimiterStart !== false && !columnIndex) {
750
888
  line.push("|");
751
889
  }
752
- if (options.padding !== false && // Don’t add the opening space if we’re not aligning and the cell is
890
+ if (settings.padding !== false && // Don’t add the opening space if we’re not aligning and the cell is
753
891
  // empty: there will be a closing space.
754
- !(options.alignDelimiters === false && cell === "") && (options.delimiterStart !== false || columnIndex)) {
892
+ !(settings.alignDelimiters === false && cell === "") && (settings.delimiterStart !== false || columnIndex)) {
755
893
  line.push(" ");
756
894
  }
757
- if (options.alignDelimiters !== false) {
895
+ if (settings.alignDelimiters !== false) {
758
896
  line.push(before);
759
897
  }
760
898
  line.push(cell);
761
- if (options.alignDelimiters !== false) {
899
+ if (settings.alignDelimiters !== false) {
762
900
  line.push(after);
763
901
  }
764
- if (options.padding !== false) {
902
+ if (settings.padding !== false) {
765
903
  line.push(" ");
766
904
  }
767
- if (options.delimiterEnd !== false || columnIndex !== mostCellsPerRow - 1) {
905
+ if (settings.delimiterEnd !== false || columnIndex !== mostCellsPerRow - 1) {
768
906
  line.push("|");
769
907
  }
770
908
  }
771
909
  lines.push(
772
- options.delimiterEnd === false ? line.join("").replace(/ +$/, "") : line.join("")
910
+ settings.delimiterEnd === false ? line.join("").replace(/ +$/, "") : line.join("")
773
911
  );
774
912
  }
775
913
  return lines.join("\n");
@@ -777,9 +915,6 @@ function markdownTable(table, options = {}) {
777
915
  function serialize(value) {
778
916
  return value === null || value === void 0 ? "" : String(value);
779
917
  }
780
- function defaultStringLength(value) {
781
- return value.length;
782
- }
783
918
  function toAlignment(value) {
784
919
  const code2 = typeof value === "string" ? value.codePointAt(0) : 0;
785
920
  return code2 === 67 || code2 === 99 ? 99 : code2 === 76 || code2 === 108 ? 108 : code2 === 82 || code2 === 114 ? 114 : 0;
@@ -987,22 +1122,91 @@ function checkEmphasis(state) {
987
1122
  }
988
1123
  return marker;
989
1124
  }
1125
+ function encodeCharacterReference(code2) {
1126
+ return "&#x" + code2.toString(16).toUpperCase() + ";";
1127
+ }
1128
+ function classifyCharacter(code2) {
1129
+ if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2)) {
1130
+ return 1;
1131
+ }
1132
+ if (unicodePunctuation(code2)) {
1133
+ return 2;
1134
+ }
1135
+ }
1136
+ function encodeInfo(outside, inside, marker) {
1137
+ const outsideKind = classifyCharacter(outside);
1138
+ const insideKind = classifyCharacter(inside);
1139
+ if (outsideKind === void 0) {
1140
+ return insideKind === void 0 ? (
1141
+ // Letter inside:
1142
+ // we have to encode *both* letters for `_` as it is looser.
1143
+ // it already forms for `*` (and GFMs `~`).
1144
+ marker === "_" ? { inside: true, outside: true } : { inside: false, outside: false }
1145
+ ) : insideKind === 1 ? (
1146
+ // Whitespace inside: encode both (letter, whitespace).
1147
+ { inside: true, outside: true }
1148
+ ) : (
1149
+ // Punctuation inside: encode outer (letter)
1150
+ { inside: false, outside: true }
1151
+ );
1152
+ }
1153
+ if (outsideKind === 1) {
1154
+ return insideKind === void 0 ? (
1155
+ // Letter inside: already forms.
1156
+ { inside: false, outside: false }
1157
+ ) : insideKind === 1 ? (
1158
+ // Whitespace inside: encode both (whitespace).
1159
+ { inside: true, outside: true }
1160
+ ) : (
1161
+ // Punctuation inside: already forms.
1162
+ { inside: false, outside: false }
1163
+ );
1164
+ }
1165
+ return insideKind === void 0 ? (
1166
+ // Letter inside: already forms.
1167
+ { inside: false, outside: false }
1168
+ ) : insideKind === 1 ? (
1169
+ // Whitespace inside: encode inner (whitespace).
1170
+ { inside: true, outside: false }
1171
+ ) : (
1172
+ // Punctuation inside: already forms.
1173
+ { inside: false, outside: false }
1174
+ );
1175
+ }
990
1176
  emphasis.peek = emphasisPeek;
991
1177
  function emphasis(node2, _, state, info) {
992
1178
  const marker = checkEmphasis(state);
993
1179
  const exit2 = state.enter("emphasis");
994
1180
  const tracker = state.createTracker(info);
995
- let value = tracker.move(marker);
996
- value += tracker.move(
1181
+ const before = tracker.move(marker);
1182
+ let between = tracker.move(
997
1183
  state.containerPhrasing(node2, {
998
- before: value,
999
1184
  after: marker,
1185
+ before,
1000
1186
  ...tracker.current()
1001
1187
  })
1002
1188
  );
1003
- value += tracker.move(marker);
1189
+ const betweenHead = between.charCodeAt(0);
1190
+ const open = encodeInfo(
1191
+ info.before.charCodeAt(info.before.length - 1),
1192
+ betweenHead,
1193
+ marker
1194
+ );
1195
+ if (open.inside) {
1196
+ between = encodeCharacterReference(betweenHead) + between.slice(1);
1197
+ }
1198
+ const betweenTail = between.charCodeAt(between.length - 1);
1199
+ const close = encodeInfo(info.after.charCodeAt(0), betweenTail, marker);
1200
+ if (close.inside) {
1201
+ between = between.slice(0, -1) + encodeCharacterReference(betweenTail);
1202
+ }
1203
+ const after = tracker.move(marker);
1004
1204
  exit2();
1005
- return value;
1205
+ state.attentionEncodeSurroundingInfo = {
1206
+ after: close.outside,
1207
+ before: open.outside
1208
+ };
1209
+ return before + between + after;
1006
1210
  }
1007
1211
  function emphasisPeek(_, _1, state) {
1008
1212
  return state.options.emphasis || "*";
@@ -1084,7 +1288,7 @@ function heading(node2, _, state, info) {
1084
1288
  ...tracker.current()
1085
1289
  });
1086
1290
  if (/^[\t ]/.test(value)) {
1087
- value = "&#x" + value.charCodeAt(0).toString(16).toUpperCase() + ";" + value.slice(1);
1291
+ value = encodeCharacterReference(value.charCodeAt(0)) + value.slice(1);
1088
1292
  }
1089
1293
  value = value ? sequence + " " + value : sequence;
1090
1294
  if (state.options.closeAtx) {
@@ -1507,8 +1711,8 @@ function root(node2, _, state, info) {
1507
1711
  const hasPhrasing = node2.children.some(function(d) {
1508
1712
  return phrasing(d);
1509
1713
  });
1510
- const fn = hasPhrasing ? state.containerPhrasing : state.containerFlow;
1511
- return fn.call(state, node2, info);
1714
+ const container = hasPhrasing ? state.containerPhrasing : state.containerFlow;
1715
+ return container.call(state, node2, info);
1512
1716
  }
1513
1717
  function checkStrong(state) {
1514
1718
  const marker = state.options.strong || "*";
@@ -1524,17 +1728,35 @@ function strong(node2, _, state, info) {
1524
1728
  const marker = checkStrong(state);
1525
1729
  const exit2 = state.enter("strong");
1526
1730
  const tracker = state.createTracker(info);
1527
- let value = tracker.move(marker + marker);
1528
- value += tracker.move(
1731
+ const before = tracker.move(marker + marker);
1732
+ let between = tracker.move(
1529
1733
  state.containerPhrasing(node2, {
1530
- before: value,
1531
1734
  after: marker,
1735
+ before,
1532
1736
  ...tracker.current()
1533
1737
  })
1534
1738
  );
1535
- value += tracker.move(marker + marker);
1739
+ const betweenHead = between.charCodeAt(0);
1740
+ const open = encodeInfo(
1741
+ info.before.charCodeAt(info.before.length - 1),
1742
+ betweenHead,
1743
+ marker
1744
+ );
1745
+ if (open.inside) {
1746
+ between = encodeCharacterReference(betweenHead) + between.slice(1);
1747
+ }
1748
+ const betweenTail = between.charCodeAt(between.length - 1);
1749
+ const close = encodeInfo(info.after.charCodeAt(0), betweenTail, marker);
1750
+ if (close.inside) {
1751
+ between = between.slice(0, -1) + encodeCharacterReference(betweenTail);
1752
+ }
1753
+ const after = tracker.move(marker + marker);
1536
1754
  exit2();
1537
- return value;
1755
+ state.attentionEncodeSurroundingInfo = {
1756
+ after: close.outside,
1757
+ before: open.outside
1758
+ };
1759
+ return before + between + after;
1538
1760
  }
1539
1761
  function strongPeek(_, _1, state) {
1540
1762
  return state.options.strong || "*";
@@ -1811,7 +2033,7 @@ function gfmToMarkdown(options) {
1811
2033
  return {
1812
2034
  extensions: [
1813
2035
  gfmAutolinkLiteralToMarkdown(),
1814
- gfmFootnoteToMarkdown(),
2036
+ gfmFootnoteToMarkdown(options),
1815
2037
  gfmStrikethroughToMarkdown(),
1816
2038
  gfmTableToMarkdown(options),
1817
2039
  gfmTaskListItemToMarkdown()
@@ -1901,14 +2123,17 @@ const emailDomainDotTrail = {
1901
2123
  partial: true
1902
2124
  };
1903
2125
  const wwwAutolink = {
2126
+ name: "wwwAutolink",
1904
2127
  tokenize: tokenizeWwwAutolink,
1905
2128
  previous: previousWww
1906
2129
  };
1907
2130
  const protocolAutolink = {
2131
+ name: "protocolAutolink",
1908
2132
  tokenize: tokenizeProtocolAutolink,
1909
2133
  previous: previousProtocol
1910
2134
  };
1911
2135
  const emailAutolink = {
2136
+ name: "emailAutolink",
1912
2137
  tokenize: tokenizeEmailAutolink,
1913
2138
  previous: previousEmail
1914
2139
  };
@@ -1959,11 +2184,7 @@ function tokenizeEmailAutolink(effects, ok2, nok) {
1959
2184
  }
1960
2185
  function emailDomain(code2) {
1961
2186
  if (code2 === 46) {
1962
- return effects.check(
1963
- emailDomainDotTrail,
1964
- emailDomainAfter,
1965
- emailDomainDot
1966
- )(code2);
2187
+ return effects.check(emailDomainDotTrail, emailDomainAfter, emailDomainDot)(code2);
1967
2188
  }
1968
2189
  if (code2 === 45 || code2 === 95 || asciiAlphanumeric(code2)) {
1969
2190
  data = true;
@@ -1995,11 +2216,7 @@ function tokenizeWwwAutolink(effects, ok2, nok) {
1995
2216
  }
1996
2217
  effects.enter("literalAutolink");
1997
2218
  effects.enter("literalAutolinkWww");
1998
- return effects.check(
1999
- wwwPrefix,
2000
- effects.attempt(domain, effects.attempt(path, wwwAfter), nok),
2001
- nok
2002
- )(code2);
2219
+ return effects.check(wwwPrefix, effects.attempt(domain, effects.attempt(path, wwwAfter), nok), nok)(code2);
2003
2220
  }
2004
2221
  function wwwAfter(code2) {
2005
2222
  effects.exit("literalAutolinkWww");
@@ -2148,7 +2365,7 @@ function tokenizeTrail(effects, ok2, nok) {
2148
2365
  }
2149
2366
  if (code2 === 38) {
2150
2367
  effects.consume(code2);
2151
- return trailCharRefStart;
2368
+ return trailCharacterReferenceStart;
2152
2369
  }
2153
2370
  if (code2 === 93) {
2154
2371
  effects.consume(code2);
@@ -2169,17 +2386,17 @@ function tokenizeTrail(effects, ok2, nok) {
2169
2386
  }
2170
2387
  return trail2(code2);
2171
2388
  }
2172
- function trailCharRefStart(code2) {
2173
- return asciiAlpha(code2) ? trailCharRefInside(code2) : nok(code2);
2389
+ function trailCharacterReferenceStart(code2) {
2390
+ return asciiAlpha(code2) ? trailCharacterReferenceInside(code2) : nok(code2);
2174
2391
  }
2175
- function trailCharRefInside(code2) {
2392
+ function trailCharacterReferenceInside(code2) {
2176
2393
  if (code2 === 59) {
2177
2394
  effects.consume(code2);
2178
2395
  return trail2;
2179
2396
  }
2180
2397
  if (asciiAlpha(code2)) {
2181
2398
  effects.consume(code2);
2182
- return trailCharRefInside;
2399
+ return trailCharacterReferenceInside;
2183
2400
  }
2184
2401
  return nok(code2);
2185
2402
  }
@@ -2225,14 +2442,6 @@ function previousUnbalanced(events) {
2225
2442
  }
2226
2443
  return result;
2227
2444
  }
2228
- function classifyCharacter(code2) {
2229
- if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2)) {
2230
- return 1;
2231
- }
2232
- if (unicodePunctuation(code2)) {
2233
- return 2;
2234
- }
2235
- }
2236
2445
  function resolveAll(constructs2, events, context) {
2237
2446
  const called = [];
2238
2447
  let index = -1;
@@ -2266,8 +2475,8 @@ function factorySpace(effects, ok2, type, max) {
2266
2475
  }
2267
2476
  }
2268
2477
  const blankLine = {
2269
- tokenize: tokenizeBlankLine,
2270
- partial: true
2478
+ partial: true,
2479
+ tokenize: tokenizeBlankLine
2271
2480
  };
2272
2481
  function tokenizeBlankLine(effects, ok2, nok) {
2273
2482
  return start;
@@ -2286,6 +2495,7 @@ function gfmFootnote() {
2286
2495
  return {
2287
2496
  document: {
2288
2497
  [91]: {
2498
+ name: "gfmFootnoteDefinition",
2289
2499
  tokenize: tokenizeDefinitionStart,
2290
2500
  continuation: {
2291
2501
  tokenize: tokenizeDefinitionContinuation
@@ -2295,9 +2505,11 @@ function gfmFootnote() {
2295
2505
  },
2296
2506
  text: {
2297
2507
  [91]: {
2508
+ name: "gfmFootnoteCall",
2298
2509
  tokenize: tokenizeGfmFootnoteCall
2299
2510
  },
2300
2511
  [93]: {
2512
+ name: "gfmPotentialFootnoteCall",
2301
2513
  add: "after",
2302
2514
  tokenize: tokenizePotentialGfmFootnoteCall,
2303
2515
  resolveTo: resolveToPotentialGfmFootnoteCall
@@ -2325,12 +2537,10 @@ function tokenizePotentialGfmFootnoteCall(effects, ok2, nok) {
2325
2537
  if (!labelStart || !labelStart._balanced) {
2326
2538
  return nok(code2);
2327
2539
  }
2328
- const id = normalizeIdentifier(
2329
- self.sliceSerialize({
2330
- start: labelStart.end,
2331
- end: self.now()
2332
- })
2333
- );
2540
+ const id = normalizeIdentifier(self.sliceSerialize({
2541
+ start: labelStart.end,
2542
+ end: self.now()
2543
+ }));
2334
2544
  if (id.codePointAt(0) !== 94 || !defined.includes(id.slice(1))) {
2335
2545
  return nok(code2);
2336
2546
  }
@@ -2527,11 +2737,7 @@ function tokenizeDefinitionStart(effects, ok2, nok) {
2527
2737
  if (!defined.includes(identifier)) {
2528
2738
  defined.push(identifier);
2529
2739
  }
2530
- return factorySpace(
2531
- effects,
2532
- whitespaceAfter,
2533
- "gfmFootnoteDefinitionWhitespace"
2534
- );
2740
+ return factorySpace(effects, whitespaceAfter, "gfmFootnoteDefinitionWhitespace");
2535
2741
  }
2536
2742
  return nok(code2);
2537
2743
  }
@@ -2547,12 +2753,7 @@ function gfmFootnoteDefinitionEnd(effects) {
2547
2753
  }
2548
2754
  function tokenizeIndent(effects, ok2, nok) {
2549
2755
  const self = this;
2550
- return factorySpace(
2551
- effects,
2552
- afterPrefix,
2553
- "gfmFootnoteDefinitionIndent",
2554
- 4 + 1
2555
- );
2756
+ return factorySpace(effects, afterPrefix, "gfmFootnoteDefinitionIndent", 4 + 1);
2556
2757
  function afterPrefix(code2) {
2557
2758
  const tail = self.events[self.events.length - 1];
2558
2759
  return tail && tail[1].type === "gfmFootnoteDefinitionIndent" && tail[2].sliceSerialize(tail[1], true).length === 4 ? ok2(code2) : nok(code2);
@@ -2562,6 +2763,7 @@ function gfmStrikethrough(options) {
2562
2763
  const options_ = options || {};
2563
2764
  let single = options_.singleTilde;
2564
2765
  const tokenizer = {
2766
+ name: "strikethrough",
2565
2767
  tokenize: tokenizeStrikethrough,
2566
2768
  resolveAll: resolveAllStrikethrough
2567
2769
  };
@@ -2599,27 +2801,12 @@ function gfmStrikethrough(options) {
2599
2801
  start: Object.assign({}, events[open][1].end),
2600
2802
  end: Object.assign({}, events[index][1].start)
2601
2803
  };
2602
- const nextEvents = [
2603
- ["enter", strikethrough, context],
2604
- ["enter", events[open][1], context],
2605
- ["exit", events[open][1], context],
2606
- ["enter", text2, context]
2607
- ];
2804
+ const nextEvents = [["enter", strikethrough, context], ["enter", events[open][1], context], ["exit", events[open][1], context], ["enter", text2, context]];
2608
2805
  const insideSpan = context.parser.constructs.insideSpan.null;
2609
2806
  if (insideSpan) {
2610
- splice(
2611
- nextEvents,
2612
- nextEvents.length,
2613
- 0,
2614
- resolveAll(insideSpan, events.slice(open + 1, index), context)
2615
- );
2807
+ splice(nextEvents, nextEvents.length, 0, resolveAll(insideSpan, events.slice(open + 1, index), context));
2616
2808
  }
2617
- splice(nextEvents, nextEvents.length, 0, [
2618
- ["exit", text2, context],
2619
- ["enter", events[index][1], context],
2620
- ["exit", events[index][1], context],
2621
- ["exit", strikethrough, context]
2622
- ]);
2809
+ splice(nextEvents, nextEvents.length, 0, [["exit", text2, context], ["enter", events[index][1], context], ["exit", events[index][1], context], ["exit", strikethrough, context]]);
2623
2810
  splice(events, open - 1, index - open + 3, nextEvents);
2624
2811
  index = open + nextEvents.length - 2;
2625
2812
  break;
@@ -2680,7 +2867,7 @@ class EditMap {
2680
2867
  * @returns {undefined}
2681
2868
  */
2682
2869
  add(index, remove, add) {
2683
- addImpl(this, index, remove, add);
2870
+ addImplementation(this, index, remove, add);
2684
2871
  }
2685
2872
  // To do: add this when moving to `micromark`.
2686
2873
  // /**
@@ -2692,7 +2879,7 @@ class EditMap {
2692
2879
  // * @returns {undefined}
2693
2880
  // */
2694
2881
  // addBefore(index, remove, add) {
2695
- // addImpl(this, index, remove, add, true)
2882
+ // addImplementation(this, index, remove, add, true)
2696
2883
  // }
2697
2884
  /**
2698
2885
  * Done, change the events.
@@ -2711,23 +2898,22 @@ class EditMap {
2711
2898
  const vecs = [];
2712
2899
  while (index > 0) {
2713
2900
  index -= 1;
2714
- vecs.push(
2715
- events.slice(this.map[index][0] + this.map[index][1]),
2716
- this.map[index][2]
2717
- );
2901
+ vecs.push(events.slice(this.map[index][0] + this.map[index][1]), this.map[index][2]);
2718
2902
  events.length = this.map[index][0];
2719
2903
  }
2720
- vecs.push([...events]);
2904
+ vecs.push(events.slice());
2721
2905
  events.length = 0;
2722
2906
  let slice = vecs.pop();
2723
2907
  while (slice) {
2724
- events.push(...slice);
2908
+ for (const element of slice) {
2909
+ events.push(element);
2910
+ }
2725
2911
  slice = vecs.pop();
2726
2912
  }
2727
2913
  this.map.length = 0;
2728
2914
  }
2729
2915
  }
2730
- function addImpl(editMap, at, remove, add) {
2916
+ function addImplementation(editMap, at, remove, add) {
2731
2917
  let index = 0;
2732
2918
  if (remove === 0 && add.length === 0) {
2733
2919
  return;
@@ -2750,9 +2936,7 @@ function gfmTableAlign(events, index) {
2750
2936
  if (inDelimiterRow) {
2751
2937
  if (event[0] === "enter") {
2752
2938
  if (event[1].type === "tableContent") {
2753
- align.push(
2754
- events[index + 1][1].type === "tableDelimiterMarker" ? "left" : "none"
2755
- );
2939
+ align.push(events[index + 1][1].type === "tableDelimiterMarker" ? "left" : "none");
2756
2940
  }
2757
2941
  } else if (event[1].type === "tableContent") {
2758
2942
  if (events[index - 1][1].type === "tableDelimiterMarker") {
@@ -2773,6 +2957,7 @@ function gfmTable() {
2773
2957
  return {
2774
2958
  flow: {
2775
2959
  null: {
2960
+ name: "table",
2776
2961
  tokenize: tokenizeTable,
2777
2962
  resolveAll: resolveTable
2778
2963
  }
@@ -2790,8 +2975,7 @@ function tokenizeTable(effects, ok2, nok) {
2790
2975
  while (index > -1) {
2791
2976
  const type = self.events[index][1].type;
2792
2977
  if (type === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
2793
- type === "linePrefix")
2794
- index--;
2978
+ type === "linePrefix") index--;
2795
2979
  else break;
2796
2980
  }
2797
2981
  const tail = index > -1 ? self.events[index][1].type : null;
@@ -2871,12 +3055,7 @@ function tokenizeTable(effects, ok2, nok) {
2871
3055
  effects.enter("tableDelimiterRow");
2872
3056
  seen = false;
2873
3057
  if (markdownSpace(code2)) {
2874
- return factorySpace(
2875
- effects,
2876
- headDelimiterBefore,
2877
- "linePrefix",
2878
- self.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
2879
- )(code2);
3058
+ return factorySpace(effects, headDelimiterBefore, "linePrefix", self.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(code2);
2880
3059
  }
2881
3060
  return headDelimiterBefore(code2);
2882
3061
  }
@@ -3051,14 +3230,7 @@ function resolveTable(events, context) {
3051
3230
  if (cell[2] === 0) {
3052
3231
  if (lastCell[1] !== 0) {
3053
3232
  cell[0] = cell[1];
3054
- currentCell = flushCell(
3055
- map2,
3056
- context,
3057
- lastCell,
3058
- rowKind,
3059
- void 0,
3060
- currentCell
3061
- );
3233
+ currentCell = flushCell(map2, context, lastCell, rowKind, void 0, currentCell);
3062
3234
  lastCell = [0, 0, 0, 0];
3063
3235
  }
3064
3236
  cell[2] = index;
@@ -3069,14 +3241,7 @@ function resolveTable(events, context) {
3069
3241
  } else {
3070
3242
  if (lastCell[1] !== 0) {
3071
3243
  cell[0] = cell[1];
3072
- currentCell = flushCell(
3073
- map2,
3074
- context,
3075
- lastCell,
3076
- rowKind,
3077
- void 0,
3078
- currentCell
3079
- );
3244
+ currentCell = flushCell(map2, context, lastCell, rowKind, void 0, currentCell);
3080
3245
  }
3081
3246
  lastCell = cell;
3082
3247
  cell = [lastCell[1], index, 0, 0];
@@ -3089,14 +3254,7 @@ function resolveTable(events, context) {
3089
3254
  lastTableEnd = index;
3090
3255
  if (lastCell[1] !== 0) {
3091
3256
  cell[0] = cell[1];
3092
- currentCell = flushCell(
3093
- map2,
3094
- context,
3095
- lastCell,
3096
- rowKind,
3097
- index,
3098
- currentCell
3099
- );
3257
+ currentCell = flushCell(map2, context, lastCell, rowKind, index, currentCell);
3100
3258
  } else if (cell[1] !== 0) {
3101
3259
  currentCell = flushCell(map2, context, cell, rowKind, index, currentCell);
3102
3260
  }
@@ -3180,6 +3338,7 @@ function getPoint(events, index) {
3180
3338
  return event[1][side];
3181
3339
  }
3182
3340
  const tasklistCheck = {
3341
+ name: "tasklistCheck",
3183
3342
  tokenize: tokenizeTasklistCheck
3184
3343
  };
3185
3344
  function gfmTaskListItem() {
@@ -3237,13 +3396,9 @@ function tokenizeTasklistCheck(effects, ok2, nok) {
3237
3396
  return ok2(code2);
3238
3397
  }
3239
3398
  if (markdownSpace(code2)) {
3240
- return effects.check(
3241
- {
3242
- tokenize: spaceThenNonSpace
3243
- },
3244
- ok2,
3245
- nok
3246
- )(code2);
3399
+ return effects.check({
3400
+ tokenize: spaceThenNonSpace
3401
+ }, ok2, nok)(code2);
3247
3402
  }
3248
3403
  return nok(code2);
3249
3404
  }
@@ -3278,167 +3433,15 @@ function remarkGfm(options) {
3278
3433
  fromMarkdownExtensions.push(gfmFromMarkdown());
3279
3434
  toMarkdownExtensions.push(gfmToMarkdown(settings));
3280
3435
  }
3281
- const _sfc_main$1 = {
3282
- name: "NcReferenceList",
3283
- components: {
3284
- NcReferenceWidget
3285
- },
3286
- props: {
3287
- text: {
3288
- type: String,
3289
- default: ""
3290
- },
3291
- referenceData: {
3292
- type: Array,
3293
- default: null
3294
- },
3295
- limit: {
3296
- type: Number,
3297
- default: 1
3298
- },
3299
- displayFallback: {
3300
- type: Boolean,
3301
- default: false
3302
- },
3303
- interactive: {
3304
- type: Boolean,
3305
- default: true
3306
- },
3307
- interactiveOptIn: {
3308
- type: Boolean,
3309
- default: false
3310
- }
3311
- },
3312
- emits: ["loaded"],
3313
- data() {
3314
- return {
3315
- references: null,
3316
- loading: true
3317
- };
3318
- },
3319
- computed: {
3320
- isVisible() {
3321
- return this.loading || this.displayedReferences.length !== 0;
3322
- },
3323
- values() {
3324
- if (this.referenceData) {
3325
- return this.referenceData;
3326
- }
3327
- if (this.displayFallback && !this.loading && !this.references) {
3328
- return [this.fallbackReference];
3329
- }
3330
- return this.references ? Object.values(this.references) : [];
3331
- },
3332
- firstReference() {
3333
- return this.values[0] ?? null;
3334
- },
3335
- displayedReferences() {
3336
- return this.values.slice(0, this.limit);
3337
- },
3338
- fallbackReference() {
3339
- return {
3340
- accessible: true,
3341
- openGraphObject: {
3342
- id: this.text,
3343
- link: this.text,
3344
- name: this.text
3345
- },
3346
- richObjectType: "open-graph"
3347
- };
3348
- }
3349
- },
3350
- watch: {
3351
- text: "fetch"
3352
- },
3353
- mounted() {
3354
- this.fetch();
3355
- },
3356
- methods: {
3357
- fetch() {
3358
- this.loading = true;
3359
- if (this.referenceData) {
3360
- this.references = null;
3361
- this.loading = false;
3362
- return;
3363
- }
3364
- if (!new RegExp(URL_PATTERN).exec(this.text)) {
3365
- this.references = null;
3366
- this.loading = false;
3367
- return;
3368
- }
3369
- this.resolve().then((response) => {
3370
- this.references = response.data.ocs.data.references;
3371
- this.loading = false;
3372
- this.$emit("loaded");
3373
- }).catch((error) => {
3374
- console.error("Failed to extract references", error);
3375
- this.loading = false;
3376
- this.$emit("loaded");
3377
- });
3378
- },
3379
- resolve() {
3380
- const match = new RegExp(URL_PATTERN).exec(this.text.trim());
3381
- const isPublic = getCurrentUser() === null;
3382
- if (this.limit === 1 && match) {
3383
- return isPublic ? axios.get(generateOcsUrl("references/resolvePublic") + `?reference=${encodeURIComponent(match[0])}&sharingToken=${getSharingToken()}`) : axios.get(generateOcsUrl("references/resolve") + `?reference=${encodeURIComponent(match[0])}`);
3384
- }
3385
- return isPublic ? axios.post(generateOcsUrl("references/extractPublic"), {
3386
- text: this.text,
3387
- resolve: true,
3388
- limit: this.limit,
3389
- sharingToken: getSharingToken()
3390
- }) : axios.post(generateOcsUrl("references/extract"), {
3391
- text: this.text,
3392
- resolve: true,
3393
- limit: this.limit
3394
- });
3395
- }
3396
- }
3397
- };
3398
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3399
- const _component_NcReferenceWidget = resolveComponent("NcReferenceWidget");
3400
- return $options.isVisible ? (openBlock(), createElementBlock("div", {
3401
- key: 0,
3402
- class: normalizeClass(["widgets--list", { "icon-loading": $data.loading }])
3403
- }, [
3404
- (openBlock(true), createElementBlock(Fragment, null, renderList($options.displayedReferences, (reference) => {
3405
- return openBlock(), createBlock(_component_NcReferenceWidget, {
3406
- key: reference?.openGraphObject?.id,
3407
- reference,
3408
- interactive: $props.interactive,
3409
- "interactive-opt-in": $props.interactiveOptIn
3410
- }, null, 8, ["reference", "interactive", "interactive-opt-in"]);
3411
- }), 128))
3412
- ], 2)) : createCommentVNode("", true);
3413
- }
3414
- const NcReferenceList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-8e70b916"]]);
3415
- /*!
3416
- * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3417
- * SPDX-License-Identifier: AGPL-3.0-or-later
3418
- */
3419
- function isTextNode$1(node2) {
3420
- return ["text", "code", "inlineCode"].includes(node2.type);
3421
- }
3422
- const remarkUnescape = function() {
3423
- return function(tree) {
3424
- visit(tree, isTextNode$1, (node2, index, parent) => {
3425
- parent.children.splice(index, 1, {
3426
- ...node2,
3427
- value: node2.value.replace(/&lt;/gmi, "<").replace(/&gt;/gmi, ">")
3428
- });
3429
- return [SKIP$1, index + 1];
3430
- });
3431
- };
3432
- };
3433
3436
  /*!
3434
3437
  * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
3435
3438
  * SPDX-License-Identifier: AGPL-3.0-or-later
3436
3439
  */
3437
- function isTextNode(node2) {
3440
+ function isTextNode$1(node2) {
3438
3441
  return node2.type === "text";
3439
3442
  }
3440
3443
  const transformPlaceholders = function(ast) {
3441
- visit(ast, isTextNode, visitor);
3444
+ visit(ast, isTextNode$1, visitor);
3442
3445
  function visitor(node2, index, parent) {
3443
3446
  const placeholders = node2.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((entry) => {
3444
3447
  const matches = entry.match(/^\{([a-z\-_.0-9]+)\}$/i);
@@ -3455,6 +3458,24 @@ const transformPlaceholders = function(ast) {
3455
3458
  }
3456
3459
  };
3457
3460
  const remarkPlaceholder = () => transformPlaceholders;
3461
+ /*!
3462
+ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3463
+ * SPDX-License-Identifier: AGPL-3.0-or-later
3464
+ */
3465
+ function isTextNode(node2) {
3466
+ return ["text", "code", "inlineCode"].includes(node2.type);
3467
+ }
3468
+ const remarkUnescape = function() {
3469
+ return function(tree) {
3470
+ visit(tree, isTextNode, (node2, index, parent) => {
3471
+ parent.children.splice(index, 1, {
3472
+ ...node2,
3473
+ value: node2.value.replace(/&lt;/gmi, "<").replace(/&gt;/gmi, ">")
3474
+ });
3475
+ return [SKIP$1, index + 1];
3476
+ });
3477
+ };
3478
+ };
3458
3479
  const LINK_PROTOCOLS = ["http", "https", "mailto", "tel"];
3459
3480
  const rehypeHighlight = ref(null);
3460
3481
  async function importRehypeHighlightLibrary() {
@@ -3466,7 +3487,11 @@ const _sfc_main = {
3466
3487
  components: {
3467
3488
  NcReferenceList
3468
3489
  },
3490
+ /* eslint vue/require-prop-comment: warn -- TODO: Add a proper doc block about what this props do */
3469
3491
  props: {
3492
+ /**
3493
+ * The main text
3494
+ */
3470
3495
  text: {
3471
3496
  type: String,
3472
3497
  default: ""
@@ -3509,6 +3534,9 @@ const _sfc_main = {
3509
3534
  type: Boolean,
3510
3535
  default: false
3511
3536
  },
3537
+ /**
3538
+ * Automatically convert link-like text to markdown links
3539
+ */
3512
3540
  autolink: {
3513
3541
  type: Boolean,
3514
3542
  default: true
@@ -3575,9 +3603,7 @@ const _sfc_main = {
3575
3603
  jsxs: this.createElement,
3576
3604
  elementAttributeNameCase: "html",
3577
3605
  prefix: false
3578
- }).processSync(
3579
- this.text.replace(/<[^>]+>/g, (match) => match.replace(/</g, "&lt;")).replace(/&gt;/gmi, ">")
3580
- ).result;
3606
+ }).processSync(this.text.replace(/<[^>]+>/g, (match) => match.replace(/</g, "&lt;")).replace(/&gt;/gmi, ">")).result;
3581
3607
  return h("div", { class: "rich-text--wrapper rich-text--wrapper-markdown" }, [
3582
3608
  renderedMarkdown,
3583
3609
  this.referenceLimit > 0 ? h("div", { class: "rich-text--reference-widget" }, [
@@ -3683,9 +3709,9 @@ const _sfc_main = {
3683
3709
  return this.useMarkdown || this.useExtendedMarkdown ? this.renderMarkdown() : this.renderPlaintext();
3684
3710
  }
3685
3711
  };
3686
- const NcRichText = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-19dbe6da"]]);
3712
+ const NcRichText = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-169951fb"]]);
3687
3713
  export {
3688
3714
  NcRichText as N,
3689
3715
  NcReferenceList as a
3690
3716
  };
3691
- //# sourceMappingURL=NcRichText-BwC3HU1U.mjs.map
3717
+ //# sourceMappingURL=NcRichText-4S-Bcw6_.mjs.map