@nextcloud/vue 9.8.2 → 9.9.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 (318) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +21 -0
  3. package/dist/assets/{NcActions-DOI7rRa0.css → NcActions-y7ehwPSp.css} +14 -11
  4. package/dist/assets/{NcAppContent-BC7DBer3.css → NcAppContent-TgcZd4AI.css} +20 -20
  5. package/dist/assets/{NcAppNavigation-2b1jxOXM.css → NcAppNavigation-OHw55TTZ.css} +13 -13
  6. package/dist/assets/{NcAppNavigationItem-BsuZoJAq.css → NcAppNavigationItem-BZ1xj6Xi.css} +49 -49
  7. package/dist/assets/{NcAppNavigationSettings-B4ZZe32B.css → NcAppNavigationSettings-mWFhcXm0.css} +6 -6
  8. package/dist/assets/{NcAppSettingsDialog-BPOsEn6K.css → NcAppSettingsDialog-Dh_scIK4.css} +31 -31
  9. package/dist/assets/{NcAppSettingsShortcutsSection-ABRbmy1I.css → NcAppSettingsShortcutsSection-BHxkQTg2.css} +1 -1
  10. package/dist/assets/{NcAppSidebar-TcyGhk0L.css → NcAppSidebar-oJQ8kUb0.css} +21 -21
  11. package/dist/assets/{NcAssistantButton-CeNrbdrG.css → NcAssistantButton-CT25wqIs.css} +9 -9
  12. package/dist/assets/{NcAssistantContent-DI-vub5j.css → NcAssistantContent-FV00e96S.css} +3 -3
  13. package/dist/assets/{NcAssistantIcon-DyenP95c.css → NcAssistantIcon-BMLpMaMJ.css} +4 -4
  14. package/dist/assets/{NcBlurHash-CloqLmG2.css → NcBlurHash-RgrahjEp.css} +2 -2
  15. package/dist/assets/{NcBreadcrumbs-5gl8Syfa.css → NcBreadcrumbs-B4eyDS9i.css} +6 -6
  16. package/dist/assets/{NcButton-Bf9wuDV-.css → NcButton-DOrlC_y5.css} +49 -49
  17. package/dist/assets/{NcDateTimePicker-HT1ZTE-Z.css → NcDateTimePicker-BQ_y9Ihj.css} +235 -235
  18. package/dist/assets/{NcFilePicker-CGYCxNdK.css → NcFilePicker-BdjtiV3h.css} +1 -1
  19. package/dist/assets/{NcFormBox-D_5h4Op_.css → NcFormBox-TRgICDO3.css} +11 -11
  20. package/dist/assets/{NcFormBoxButton-DZ9GqF8V.css → NcFormBoxButton-ClkxmO-H.css} +2 -2
  21. package/dist/assets/{NcFormBoxItem-syU6X_5H.css → NcFormBoxItem-CABDVZLe.css} +14 -14
  22. package/dist/assets/{NcFormBoxSwitch-D-GBFFaK.css → NcFormBoxSwitch-NCjook_Z.css} +2 -2
  23. package/dist/assets/{NcFormGroup-C9rXaPCl.css → NcFormGroup-eh8-PBGB.css} +7 -7
  24. package/dist/assets/{NcGuestContent-j8ai4O1K.css → NcGuestContent-CM0uWLr1.css} +3 -3
  25. package/dist/assets/{NcHotkey-0gFtnVYv.css → NcHotkey-Dm-26TVC.css} +8 -8
  26. package/dist/assets/{NcHotkeyList-DqyUQBw6.css → NcHotkeyList-BigfRqyr.css} +2 -2
  27. package/dist/assets/{NcIconToggleSwitch-BrjPjGQL.css → NcIconToggleSwitch-zUXkaJHv.css} +4 -4
  28. package/dist/assets/{NcInputConfirmCancel-BEmwC87z.css → NcInputConfirmCancel-DZEDRf0t.css} +8 -8
  29. package/dist/assets/{NcKbd-B2M-oGN9.css → NcKbd-DcC56WbC.css} +3 -3
  30. package/dist/assets/{NcListItem-1uR7AJIf.css → NcListItem-BjeejGlB.css} +58 -58
  31. package/dist/assets/{NcMentionBubble-ptHUq68a.css → NcMentionBubble-BeGb2xGc.css} +9 -9
  32. package/dist/assets/{NcPopover-C7YEE_vn.css → NcPopover-CAoHhjKa.css} +14 -14
  33. package/dist/assets/{NcRadioGroup-CqQ5ahHP.css → NcRadioGroup-CtXZ4Y8D.css} +2 -2
  34. package/dist/assets/{NcRadioGroupButton-B1d2yRTk.css → NcRadioGroupButton-BuB-aWeJ.css} +13 -13
  35. package/dist/assets/{NcRelatedResourcesPanel-CiG_Ixb6.css → NcRelatedResourcesPanel-BZKjkugM.css} +24 -24
  36. package/dist/assets/{NcRichContenteditable-BggdwT5n.css → NcRichContenteditable-BCUBhRqg.css} +37 -37
  37. package/dist/assets/{NcRichText-BTu-LT3p.css → NcRichText-D0Bu5bbu.css} +93 -93
  38. package/dist/assets/{autolink-DH5K5u8D.css → autolink-XS-VDSVB.css} +3 -3
  39. package/dist/assets/{referencePickerModal-Dod7nzta.css → referencePickerModal-BNPfxyni.css} +89 -54
  40. package/dist/chunks/{NcActionButtonGroup-B9LfyE-G.mjs → NcActionButtonGroup-Dd03Oluy.mjs} +2 -2
  41. package/dist/chunks/{NcActionButtonGroup-B9LfyE-G.mjs.map → NcActionButtonGroup-Dd03Oluy.mjs.map} +1 -1
  42. package/dist/chunks/{NcActionInput-BO0lB4VP.mjs → NcActionInput-Dr8Yrafu.mjs} +5 -5
  43. package/dist/chunks/{NcActionInput-BO0lB4VP.mjs.map → NcActionInput-Dr8Yrafu.mjs.map} +1 -1
  44. package/dist/chunks/{NcActions-DY4GGONi.mjs → NcActions-C-wDqSrv.mjs} +23 -8
  45. package/dist/chunks/NcActions-C-wDqSrv.mjs.map +1 -0
  46. package/dist/chunks/{NcAppContent--92JdjRr.mjs → NcAppContent-DavgjaFX.mjs} +5 -5
  47. package/dist/chunks/{NcAppContent--92JdjRr.mjs.map → NcAppContent-DavgjaFX.mjs.map} +1 -1
  48. package/dist/chunks/{NcAppNavigation-Bb9-C2eO.mjs → NcAppNavigation-g57j16pB.mjs} +8 -7
  49. package/dist/chunks/NcAppNavigation-g57j16pB.mjs.map +1 -0
  50. package/dist/chunks/{NcAppNavigationCaption-BptTnvQU.mjs → NcAppNavigationCaption-VjSWJ8R4.mjs} +2 -2
  51. package/dist/chunks/{NcAppNavigationCaption-BptTnvQU.mjs.map → NcAppNavigationCaption-VjSWJ8R4.mjs.map} +1 -1
  52. package/dist/chunks/{NcAppNavigationItem-B0-60shw.mjs → NcAppNavigationItem-CDeYtA3E.mjs} +12 -12
  53. package/dist/chunks/{NcAppNavigationItem-B0-60shw.mjs.map → NcAppNavigationItem-CDeYtA3E.mjs.map} +1 -1
  54. package/dist/chunks/{NcAppNavigationNew-Dspn3-4i.mjs → NcAppNavigationNew-CBNppM7Q.mjs} +2 -2
  55. package/dist/chunks/{NcAppNavigationNew-Dspn3-4i.mjs.map → NcAppNavigationNew-CBNppM7Q.mjs.map} +1 -1
  56. package/dist/chunks/{NcAppNavigationNewItem-Cg8IJ6ZV.mjs → NcAppNavigationNewItem-B1RfQkvu.mjs} +2 -2
  57. package/dist/chunks/{NcAppNavigationNewItem-Cg8IJ6ZV.mjs.map → NcAppNavigationNewItem-B1RfQkvu.mjs.map} +1 -1
  58. package/dist/chunks/{NcAppNavigationSearch-CiOKjV3M.mjs → NcAppNavigationSearch-CQQWb1Eq.mjs} +3 -3
  59. package/dist/chunks/{NcAppNavigationSearch-CiOKjV3M.mjs.map → NcAppNavigationSearch-CQQWb1Eq.mjs.map} +1 -1
  60. package/dist/chunks/{NcAppNavigationSettings-1BzAhIDg.mjs → NcAppNavigationSettings-DoMjRExO.mjs} +10 -10
  61. package/dist/chunks/{NcAppNavigationSettings-1BzAhIDg.mjs.map → NcAppNavigationSettings-DoMjRExO.mjs.map} +1 -1
  62. package/dist/chunks/{NcAppSettingsDialog-BgZCuMK0.mjs → NcAppSettingsDialog-BPcEYLjP.mjs} +8 -8
  63. package/dist/chunks/NcAppSettingsDialog-BPcEYLjP.mjs.map +1 -0
  64. package/dist/chunks/{NcAppSettingsShortcutsSection-og6gyYxr.mjs → NcAppSettingsShortcutsSection-DLwubKV9.mjs} +4 -4
  65. package/dist/chunks/{NcAppSettingsShortcutsSection-og6gyYxr.mjs.map → NcAppSettingsShortcutsSection-DLwubKV9.mjs.map} +1 -1
  66. package/dist/chunks/{NcAppSidebar-DX26aRNB.mjs → NcAppSidebar-C8YzAzrZ.mjs} +12 -12
  67. package/dist/chunks/{NcAppSidebar-DX26aRNB.mjs.map → NcAppSidebar-C8YzAzrZ.mjs.map} +1 -1
  68. package/dist/chunks/{NcAssistantButton-BMuKy6Mh.mjs → NcAssistantButton-iK491d2v.mjs} +11 -11
  69. package/dist/chunks/{NcAssistantButton-BMuKy6Mh.mjs.map → NcAssistantButton-iK491d2v.mjs.map} +1 -1
  70. package/dist/chunks/{NcAssistantContent-D24YPWRc.mjs → NcAssistantContent-iHA4O4cC.mjs} +5 -5
  71. package/dist/chunks/{NcAssistantContent-D24YPWRc.mjs.map → NcAssistantContent-iHA4O4cC.mjs.map} +1 -1
  72. package/dist/chunks/{NcAssistantIcon-DW-HrfQg.mjs → NcAssistantIcon-C6s4Qm7-.mjs} +6 -6
  73. package/dist/chunks/{NcAssistantIcon-DW-HrfQg.mjs.map → NcAssistantIcon-C6s4Qm7-.mjs.map} +1 -1
  74. package/dist/chunks/{NcAvatar-DX-Nk9Es.mjs → NcAvatar-1KxMUN7V.mjs} +11 -10
  75. package/dist/chunks/NcAvatar-1KxMUN7V.mjs.map +1 -0
  76. package/dist/chunks/{NcBlurHash-BGaeAt4-.mjs → NcBlurHash-B30Ol8KP.mjs} +4 -4
  77. package/dist/chunks/{NcBlurHash-BGaeAt4-.mjs.map → NcBlurHash-B30Ol8KP.mjs.map} +1 -1
  78. package/dist/chunks/{NcBreadcrumb-DHvm77Vw.mjs → NcBreadcrumb-3Y5NWXnV.mjs} +3 -3
  79. package/dist/chunks/{NcBreadcrumb-DHvm77Vw.mjs.map → NcBreadcrumb-3Y5NWXnV.mjs.map} +1 -1
  80. package/dist/chunks/{NcBreadcrumbs-B_uysWv6.mjs → NcBreadcrumbs-BaTp3Sya.mjs} +5 -6
  81. package/dist/chunks/{NcBreadcrumbs-B_uysWv6.mjs.map → NcBreadcrumbs-BaTp3Sya.mjs.map} +1 -1
  82. package/dist/chunks/{NcButton-QbPBynlU.mjs → NcButton-jvoYS2my.mjs} +3 -3
  83. package/dist/chunks/{NcButton-QbPBynlU.mjs.map → NcButton-jvoYS2my.mjs.map} +1 -1
  84. package/dist/chunks/{NcCheckboxRadioSwitch-BVTMQSAg.mjs → NcCheckboxRadioSwitch-DVdt5Hkq.mjs} +3 -3
  85. package/dist/chunks/{NcCheckboxRadioSwitch-BVTMQSAg.mjs.map → NcCheckboxRadioSwitch-DVdt5Hkq.mjs.map} +1 -1
  86. package/dist/chunks/{NcChip-BCtDxh7v.mjs → NcChip-DKRlV47q.mjs} +3 -3
  87. package/dist/chunks/{NcChip-BCtDxh7v.mjs.map → NcChip-DKRlV47q.mjs.map} +1 -1
  88. package/dist/chunks/{NcCollectionList-DNfWulkK.mjs → NcCollectionList-B9qCtjJw.mjs} +6 -6
  89. package/dist/chunks/NcCollectionList-B9qCtjJw.mjs.map +1 -0
  90. package/dist/chunks/{NcColorPicker-CGE4Kei4.mjs → NcColorPicker-BCkasLwT.mjs} +5 -5
  91. package/dist/chunks/{NcColorPicker-CGE4Kei4.mjs.map → NcColorPicker-BCkasLwT.mjs.map} +1 -1
  92. package/dist/chunks/{NcContent-BhMoPROW.mjs → NcContent-BYh5hWDN.mjs} +3 -3
  93. package/dist/chunks/{NcContent-BhMoPROW.mjs.map → NcContent-BYh5hWDN.mjs.map} +1 -1
  94. package/dist/chunks/{NcDashboardWidget-DKZ8Mgt0.mjs → NcDashboardWidget-zmbDEGL-.mjs} +4 -4
  95. package/dist/chunks/{NcDashboardWidget-DKZ8Mgt0.mjs.map → NcDashboardWidget-zmbDEGL-.mjs.map} +1 -1
  96. package/dist/chunks/{NcDashboardWidgetItem-DxA6-V0R.mjs → NcDashboardWidgetItem-DwDndrm_.mjs} +3 -3
  97. package/dist/chunks/{NcDashboardWidgetItem-DxA6-V0R.mjs.map → NcDashboardWidgetItem-DwDndrm_.mjs.map} +1 -1
  98. package/dist/chunks/{NcDateTimePicker-CK4rhfEB.mjs → NcDateTimePicker-qaFC_wUt.mjs} +20 -14
  99. package/dist/chunks/NcDateTimePicker-qaFC_wUt.mjs.map +1 -0
  100. package/dist/chunks/{NcDateTimePickerNative-BeM4WOA4.mjs → NcDateTimePickerNative-B8CMOUnH.mjs} +2 -2
  101. package/dist/chunks/{NcDateTimePickerNative-BeM4WOA4.mjs.map → NcDateTimePickerNative-B8CMOUnH.mjs.map} +1 -1
  102. package/dist/chunks/{NcDialog-D1u-qo74.mjs → NcDialog-D617YI0t.mjs} +3 -3
  103. package/dist/chunks/{NcDialog-D1u-qo74.mjs.map → NcDialog-D617YI0t.mjs.map} +1 -1
  104. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-Cn-8O9iZ.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-Bqfy678u.mjs} +3 -3
  105. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-Cn-8O9iZ.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-Bqfy678u.mjs.map} +1 -1
  106. package/dist/chunks/{NcEmojiPicker-R2GSAiCW.mjs → NcEmojiPicker-UTxgju3f.mjs} +7 -7
  107. package/dist/chunks/{NcEmojiPicker-R2GSAiCW.mjs.map → NcEmojiPicker-UTxgju3f.mjs.map} +1 -1
  108. package/dist/chunks/{NcFilePicker-C7Xs8E2Q.mjs → NcFilePicker-bD2toutn.mjs} +4 -4
  109. package/dist/chunks/{NcFilePicker-C7Xs8E2Q.mjs.map → NcFilePicker-bD2toutn.mjs.map} +1 -1
  110. package/dist/chunks/{NcFormBox-3Ql2JSK8.mjs → NcFormBox-Bmqar8nn.mjs} +7 -7
  111. package/dist/chunks/{NcFormBox-3Ql2JSK8.mjs.map → NcFormBox-Bmqar8nn.mjs.map} +1 -1
  112. package/dist/chunks/{NcFormBoxButton-DIKZK9kp.mjs → NcFormBoxButton-G_PkUiQy.mjs} +5 -5
  113. package/dist/chunks/{NcFormBoxButton-DIKZK9kp.mjs.map → NcFormBoxButton-G_PkUiQy.mjs.map} +1 -1
  114. package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-BVCoU7LB.mjs → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-BA_gWnmz.mjs} +3 -3
  115. package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-BVCoU7LB.mjs.map → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-BA_gWnmz.mjs.map} +1 -1
  116. package/dist/chunks/{NcFormBoxItem-CV8UrJib.mjs → NcFormBoxItem-Cm8aZaVJ.mjs} +10 -10
  117. package/dist/chunks/{NcFormBoxItem-CV8UrJib.mjs.map → NcFormBoxItem-Cm8aZaVJ.mjs.map} +1 -1
  118. package/dist/chunks/{NcFormBoxSwitch-C0hMaYEj.mjs → NcFormBoxSwitch-DSXiQcnq.mjs} +6 -6
  119. package/dist/chunks/{NcFormBoxSwitch-C0hMaYEj.mjs.map → NcFormBoxSwitch-DSXiQcnq.mjs.map} +1 -1
  120. package/dist/chunks/{NcFormGroup-W-Wgps0q.mjs → NcFormGroup-N7qIFAwN.mjs} +9 -9
  121. package/dist/chunks/{NcFormGroup-W-Wgps0q.mjs.map → NcFormGroup-N7qIFAwN.mjs.map} +1 -1
  122. package/dist/chunks/{NcGuestContent-_z22nZMF.mjs → NcGuestContent-CvT6VGt1.mjs} +4 -10
  123. package/dist/chunks/NcGuestContent-CvT6VGt1.mjs.map +1 -0
  124. package/dist/chunks/{NcHeaderButton-m4oAOSTa.mjs → NcHeaderButton-BnLwYCog.mjs} +2 -2
  125. package/dist/chunks/{NcHeaderButton-m4oAOSTa.mjs.map → NcHeaderButton-BnLwYCog.mjs.map} +1 -1
  126. package/dist/chunks/{NcHeaderMenu-DRxcyWNX.mjs → NcHeaderMenu-ktQJV2SW.mjs} +2 -2
  127. package/dist/chunks/{NcHeaderMenu-DRxcyWNX.mjs.map → NcHeaderMenu-ktQJV2SW.mjs.map} +1 -1
  128. package/dist/chunks/{NcHotkey-9HBkzRAt.mjs → NcHotkey-BDGeF3eH.mjs} +7 -7
  129. package/dist/chunks/{NcHotkey-9HBkzRAt.mjs.map → NcHotkey-BDGeF3eH.mjs.map} +1 -1
  130. package/dist/chunks/{NcHotkeyList-BWerT8qH.mjs → NcHotkeyList-B4WjTLAp.mjs} +5 -5
  131. package/dist/chunks/{NcHotkeyList-BWerT8qH.mjs.map → NcHotkeyList-B4WjTLAp.mjs.map} +1 -1
  132. package/dist/chunks/{NcIconToggleSwitch-CWzIC2ar.mjs → NcIconToggleSwitch-CRvGt4su.mjs} +4 -4
  133. package/dist/chunks/{NcIconToggleSwitch-CWzIC2ar.mjs.map → NcIconToggleSwitch-CRvGt4su.mjs.map} +1 -1
  134. package/dist/chunks/{NcInputConfirmCancel-B6qC3s63.mjs → NcInputConfirmCancel-CGTllrXj.mjs} +8 -8
  135. package/dist/chunks/{NcInputConfirmCancel-B6qC3s63.mjs.map → NcInputConfirmCancel-CGTllrXj.mjs.map} +1 -1
  136. package/dist/chunks/{NcInputField-B1bGxYHt.mjs → NcInputField-5Sg6EUP6.mjs} +2 -2
  137. package/dist/chunks/{NcInputField-B1bGxYHt.mjs.map → NcInputField-5Sg6EUP6.mjs.map} +1 -1
  138. package/dist/chunks/{NcKbd-DCsSL73F.mjs → NcKbd-Bh_Tk6Ar.mjs} +5 -5
  139. package/dist/chunks/{NcKbd-DCsSL73F.mjs.map → NcKbd-Bh_Tk6Ar.mjs.map} +1 -1
  140. package/dist/chunks/{NcListItem-DItks2Sq.mjs → NcListItem-BliLJpvU.mjs} +8 -8
  141. package/dist/chunks/{NcListItem-DItks2Sq.mjs.map → NcListItem-BliLJpvU.mjs.map} +1 -1
  142. package/dist/chunks/{NcListItemIcon-BKbbR_Vf.mjs → NcListItemIcon-Dl_tfkk9.mjs} +3 -3
  143. package/dist/chunks/{NcListItemIcon-BKbbR_Vf.mjs.map → NcListItemIcon-Dl_tfkk9.mjs.map} +1 -1
  144. package/dist/chunks/{NcMentionBubble.vue_vue_type_style_index_0_scoped_45238efd_lang-BX_KxRP-.mjs → NcMentionBubble.vue_vue_type_style_index_0_scoped_3c4a673d_lang-DyqakLm5.mjs} +2 -2
  145. package/dist/chunks/{NcMentionBubble.vue_vue_type_style_index_0_scoped_45238efd_lang-BX_KxRP-.mjs.map → NcMentionBubble.vue_vue_type_style_index_0_scoped_3c4a673d_lang-DyqakLm5.mjs.map} +1 -1
  146. package/dist/chunks/{NcModal-B-YLND3e.mjs → NcModal-DiDvgcU8.mjs} +4 -4
  147. package/dist/chunks/{NcModal-B-YLND3e.mjs.map → NcModal-DiDvgcU8.mjs.map} +1 -1
  148. package/dist/chunks/{NcPasswordField-Be5_qcfm.mjs → NcPasswordField-BFyzHTOO.mjs} +3 -3
  149. package/dist/chunks/{NcPasswordField-Be5_qcfm.mjs.map → NcPasswordField-BFyzHTOO.mjs.map} +1 -1
  150. package/dist/chunks/{NcPopover-CObDh89q.mjs → NcPopover-B87bEPLq.mjs} +4 -4
  151. package/dist/chunks/{NcPopover-CObDh89q.mjs.map → NcPopover-B87bEPLq.mjs.map} +1 -1
  152. package/dist/chunks/{NcRadioGroup-DYwRkXaY.mjs → NcRadioGroup-B4qmS2UD.mjs} +6 -6
  153. package/dist/chunks/{NcRadioGroup-DYwRkXaY.mjs.map → NcRadioGroup-B4qmS2UD.mjs.map} +1 -1
  154. package/dist/chunks/{NcRadioGroupButton-WKdAdfUy.mjs → NcRadioGroupButton-CZykGwv3.mjs} +8 -8
  155. package/dist/chunks/{NcRadioGroupButton-WKdAdfUy.mjs.map → NcRadioGroupButton-CZykGwv3.mjs.map} +1 -1
  156. package/dist/chunks/{NcRelatedResourcesPanel-Bk9l-BN3.mjs → NcRelatedResourcesPanel-D_Ttpg5_.mjs} +27 -11
  157. package/dist/chunks/NcRelatedResourcesPanel-D_Ttpg5_.mjs.map +1 -0
  158. package/dist/chunks/{NcRichContenteditable-BwGkxhDF.mjs → NcRichContenteditable-Qw614bJ5.mjs} +37 -28
  159. package/dist/chunks/NcRichContenteditable-Qw614bJ5.mjs.map +1 -0
  160. package/dist/chunks/{NcRichText-Dkk6iX8F.mjs → NcRichText-BO_4KtBA.mjs} +39 -10
  161. package/dist/chunks/NcRichText-BO_4KtBA.mjs.map +1 -0
  162. package/dist/chunks/{NcSelect-BOFzoCwK.mjs → NcSelect--kERLlBK.mjs} +5 -5
  163. package/dist/chunks/NcSelect--kERLlBK.mjs.map +1 -0
  164. package/dist/chunks/{NcSelectTags-D7qWNjXa.mjs → NcSelectTags-I2hJaNax.mjs} +3 -3
  165. package/dist/chunks/{NcSelectTags-D7qWNjXa.mjs.map → NcSelectTags-I2hJaNax.mjs.map} +1 -1
  166. package/dist/chunks/{NcSelectUsers-0AajBWY6.mjs → NcSelectUsers-K14Bepkq.mjs} +3 -3
  167. package/dist/chunks/{NcSelectUsers-0AajBWY6.mjs.map → NcSelectUsers-K14Bepkq.mjs.map} +1 -1
  168. package/dist/chunks/{NcSettingsSection-DmfxX2se.mjs → NcSettingsSection-Caz1fuWt.mjs} +2 -2
  169. package/dist/chunks/{NcSettingsSection-DmfxX2se.mjs.map → NcSettingsSection-Caz1fuWt.mjs.map} +1 -1
  170. package/dist/chunks/{NcSettingsSelectGroup-TN64yH4k.mjs → NcSettingsSelectGroup-SYJ8-XlR.mjs} +3 -3
  171. package/dist/chunks/{NcSettingsSelectGroup-TN64yH4k.mjs.map → NcSettingsSelectGroup-SYJ8-XlR.mjs.map} +1 -1
  172. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-BQHjkK8r.mjs → NcTextField.vue_vue_type_script_setup_true_lang-Bx2esFU2.mjs} +3 -3
  173. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-BQHjkK8r.mjs.map → NcTextField.vue_vue_type_script_setup_true_lang-Bx2esFU2.mjs.map} +1 -1
  174. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-Csd1JQe6.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-D7ZHgnwW.mjs} +3 -3
  175. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-Csd1JQe6.mjs.map → NcTimezonePicker.vue_vue_type_script_setup_true_lang-D7ZHgnwW.mjs.map} +1 -1
  176. package/dist/chunks/{NcUserBubble-BXBgGflZ.mjs → NcUserBubble-BXR7vT0V.mjs} +3 -3
  177. package/dist/chunks/{NcUserBubble-BXBgGflZ.mjs.map → NcUserBubble-BXR7vT0V.mjs.map} +1 -1
  178. package/dist/chunks/{NcUserStatusIcon-DsviB2Cr.mjs → NcUserStatusIcon-BF5OEQFU.mjs} +2 -2
  179. package/dist/chunks/{NcUserStatusIcon-DsviB2Cr.mjs.map → NcUserStatusIcon-BF5OEQFU.mjs.map} +1 -1
  180. package/dist/chunks/{_l10n-CG4CuN3H.mjs → _l10n-wdIzZwir.mjs} +2 -2
  181. package/dist/chunks/_l10n-wdIzZwir.mjs.map +1 -0
  182. package/dist/chunks/{autolink-B2azbG18.mjs → autolink-DrIurosL.mjs} +5 -5
  183. package/dist/chunks/autolink-DrIurosL.mjs.map +1 -0
  184. package/dist/chunks/{colors-BDeMBgfq.mjs → colors-Cv9F-jWS.mjs} +2 -2
  185. package/dist/chunks/{colors-BDeMBgfq.mjs.map → colors-Cv9F-jWS.mjs.map} +1 -1
  186. package/dist/chunks/{customPickerElements-Cu7bLbap.mjs → customPickerElements-BqbDcaEu.mjs} +6 -1
  187. package/dist/chunks/customPickerElements-BqbDcaEu.mjs.map +1 -0
  188. package/dist/chunks/{referencePickerModal-CD1BjLPe.mjs → referencePickerModal-CnKdEDwu.mjs} +212 -48
  189. package/dist/chunks/referencePickerModal-CnKdEDwu.mjs.map +1 -0
  190. package/dist/chunks/{useCopy-PckLYUAU.mjs → useCopy-6F-qWHq0.mjs} +2 -2
  191. package/dist/chunks/{useCopy-PckLYUAU.mjs.map → useCopy-6F-qWHq0.mjs.map} +1 -1
  192. package/dist/components/NcActionButtonGroup/index.mjs +1 -1
  193. package/dist/components/NcActionInput/NcActionInput.vue.d.ts +4 -4
  194. package/dist/components/NcActionInput/index.mjs +1 -1
  195. package/dist/components/NcActions/NcActions.vue.d.ts +15 -0
  196. package/dist/components/NcActions/index.mjs +1 -1
  197. package/dist/components/NcAppContent/index.mjs +1 -1
  198. package/dist/components/NcAppNavigation/index.mjs +1 -1
  199. package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +9 -0
  200. package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
  201. package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +11 -2
  202. package/dist/components/NcAppNavigationItem/index.mjs +1 -1
  203. package/dist/components/NcAppNavigationNew/index.mjs +1 -1
  204. package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
  205. package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
  206. package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
  207. package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
  208. package/dist/components/NcAppSettingsSectionShortcuts/index.mjs +1 -1
  209. package/dist/components/NcAppSettingsShortcutsSection/index.mjs +1 -1
  210. package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +9 -0
  211. package/dist/components/NcAppSidebar/index.mjs +1 -1
  212. package/dist/components/NcAssistantButton/index.mjs +1 -1
  213. package/dist/components/NcAssistantContent/index.mjs +1 -1
  214. package/dist/components/NcAssistantIcon/index.mjs +1 -1
  215. package/dist/components/NcAvatar/NcAvatar.vue.d.ts +10 -1
  216. package/dist/components/NcAvatar/index.mjs +1 -1
  217. package/dist/components/NcBlurHash/index.mjs +1 -1
  218. package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +9 -0
  219. package/dist/components/NcBreadcrumb/index.mjs +1 -1
  220. package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +18 -0
  221. package/dist/components/NcBreadcrumbs/index.mjs +1 -1
  222. package/dist/components/NcButton/index.mjs +1 -1
  223. package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
  224. package/dist/components/NcChip/index.mjs +1 -1
  225. package/dist/components/NcCollectionList/NcCollectionList.vue.d.ts +34 -3
  226. package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +19 -1
  227. package/dist/components/NcCollectionList/index.mjs +1 -1
  228. package/dist/components/NcCollectionList/useCollections.d.ts +5 -1
  229. package/dist/components/NcColorPicker/index.mjs +1 -1
  230. package/dist/components/NcContent/index.mjs +1 -1
  231. package/dist/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +29 -2
  232. package/dist/components/NcDashboardWidget/index.mjs +1 -1
  233. package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +19 -1
  234. package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
  235. package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +7 -5
  236. package/dist/components/NcDateTimePicker/index.mjs +1 -1
  237. package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
  238. package/dist/components/NcDialog/NcDialog.vue.d.ts +1 -1
  239. package/dist/components/NcDialog/index.mjs +1 -1
  240. package/dist/components/NcDialogButton/index.mjs +1 -1
  241. package/dist/components/NcEmojiPicker/index.mjs +1 -1
  242. package/dist/components/NcFilePicker/index.mjs +1 -1
  243. package/dist/components/NcFormBox/index.mjs +1 -1
  244. package/dist/components/NcFormBoxButton/index.mjs +1 -1
  245. package/dist/components/NcFormBoxCopyButton/index.mjs +1 -1
  246. package/dist/components/NcFormBoxSwitch/index.mjs +1 -1
  247. package/dist/components/NcFormGroup/index.mjs +1 -1
  248. package/dist/components/NcGuestContent/index.mjs +1 -1
  249. package/dist/components/NcHeaderButton/index.mjs +1 -1
  250. package/dist/components/NcHeaderMenu/index.mjs +1 -1
  251. package/dist/components/NcHotkey/index.mjs +1 -1
  252. package/dist/components/NcHotkeyList/index.mjs +1 -1
  253. package/dist/components/NcInputField/index.mjs +1 -1
  254. package/dist/components/NcKbd/index.mjs +1 -1
  255. package/dist/components/NcListItem/NcListItem.vue.d.ts +11 -2
  256. package/dist/components/NcListItem/index.mjs +1 -1
  257. package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +11 -2
  258. package/dist/components/NcListItemIcon/index.mjs +1 -1
  259. package/dist/components/NcModal/index.mjs +1 -1
  260. package/dist/components/NcPasswordField/index.mjs +1 -1
  261. package/dist/components/NcPopover/index.mjs +1 -1
  262. package/dist/components/NcRadioGroup/index.mjs +1 -1
  263. package/dist/components/NcRadioGroupButton/index.mjs +1 -1
  264. package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +8 -2
  265. package/dist/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +18 -0
  266. package/dist/components/NcRelatedResourcesPanel/NcTeamResources.vue.d.ts +12 -0
  267. package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
  268. package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +12 -0
  269. package/dist/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +6 -0
  270. package/dist/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +1 -1
  271. package/dist/components/NcRichContenteditable/index.mjs +1 -1
  272. package/dist/components/NcRichText/NcReferenceList.vue.d.ts +37 -0
  273. package/dist/components/NcRichText/NcReferencePicker/NcCustomPickerElement.vue.d.ts +3 -1
  274. package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +2 -1
  275. package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +3 -1
  276. package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +13 -5
  277. package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +16 -6
  278. package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +8 -1
  279. package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +1 -0
  280. package/dist/components/NcRichText/NcRichText.vue.d.ts +25 -0
  281. package/dist/components/NcRichText/autolink.d.ts +7 -5
  282. package/dist/components/NcRichText/index.d.ts +2 -2
  283. package/dist/components/NcRichText/index.mjs +10 -9
  284. package/dist/components/NcSelect/index.mjs +1 -1
  285. package/dist/components/NcSelectTags/index.mjs +1 -1
  286. package/dist/components/NcSelectUsers/index.mjs +1 -1
  287. package/dist/components/NcSettingsSection/index.mjs +1 -1
  288. package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
  289. package/dist/components/NcTextField/index.mjs +1 -1
  290. package/dist/components/NcTimezonePicker/index.mjs +1 -1
  291. package/dist/components/NcUserBubble/index.mjs +1 -1
  292. package/dist/components/NcUserStatusIcon/index.mjs +1 -1
  293. package/dist/composables/useFormatDateTime/index.mjs +1 -1
  294. package/dist/functions/reference/index.d.ts +7 -4
  295. package/dist/functions/reference/index.mjs +4 -3
  296. package/dist/functions/reference/referencePickerModal.d.ts +16 -1
  297. package/dist/functions/reference/widgets.d.ts +11 -1
  298. package/dist/functions/registerReference/index.mjs +1 -1
  299. package/dist/functions/usernameToColor/index.mjs +1 -1
  300. package/dist/index.mjs +74 -72
  301. package/dist/index.mjs.map +1 -1
  302. package/dist/mixins/userStatus.d.ts +5 -4
  303. package/package.json +18 -18
  304. package/dist/chunks/NcActions-DY4GGONi.mjs.map +0 -1
  305. package/dist/chunks/NcAppNavigation-Bb9-C2eO.mjs.map +0 -1
  306. package/dist/chunks/NcAppSettingsDialog-BgZCuMK0.mjs.map +0 -1
  307. package/dist/chunks/NcAvatar-DX-Nk9Es.mjs.map +0 -1
  308. package/dist/chunks/NcCollectionList-DNfWulkK.mjs.map +0 -1
  309. package/dist/chunks/NcDateTimePicker-CK4rhfEB.mjs.map +0 -1
  310. package/dist/chunks/NcGuestContent-_z22nZMF.mjs.map +0 -1
  311. package/dist/chunks/NcRelatedResourcesPanel-Bk9l-BN3.mjs.map +0 -1
  312. package/dist/chunks/NcRichContenteditable-BwGkxhDF.mjs.map +0 -1
  313. package/dist/chunks/NcRichText-Dkk6iX8F.mjs.map +0 -1
  314. package/dist/chunks/NcSelect-BOFzoCwK.mjs.map +0 -1
  315. package/dist/chunks/_l10n-CG4CuN3H.mjs.map +0 -1
  316. package/dist/chunks/autolink-B2azbG18.mjs.map +0 -1
  317. package/dist/chunks/customPickerElements-Cu7bLbap.mjs.map +0 -1
  318. package/dist/chunks/referencePickerModal-CD1BjLPe.mjs.map +0 -1
@@ -1,26 +1,27 @@
1
- import '../assets/referencePickerModal-Dod7nzta.css';
2
- import { openBlock, createElementBlock, mergeProps, createElementVNode, toDisplayString, createCommentVNode, resolveComponent, createVNode, withCtx, defineComponent, inject, ref, useTemplateRef, nextTick, computed, watch, onBeforeUnmount, normalizeClass, createBlock, resolveDynamicComponent, normalizeStyle, createTextVNode, unref, withKeys, withModifiers, createApp } from "vue";
1
+ import '../assets/referencePickerModal-BNPfxyni.css';
2
+ import { openBlock, createElementBlock, mergeProps, createElementVNode, toDisplayString, createCommentVNode, resolveComponent, createVNode, withCtx, defineComponent, inject, ref, useTemplateRef, nextTick, computed, watch, onBeforeUnmount, normalizeClass, normalizeStyle, withKeys, withModifiers, unref, createBlock, resolveDynamicComponent, createTextVNode, createApp } from "vue";
3
3
  import { emit } from "@nextcloud/event-bus";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
5
5
  import { I as IconClose } from "./Close-CuhcJnX2.mjs";
6
- import { e as renderCustomPickerElement, d as destroyCustomPickerElement, i as isCustomPickerElementRegistered, j as hasFullWidth, b as isWidgetRegistered, h as hasInteractiveView, f as renderWidget, a as destroyWidget, g as getCustomPickerElementSize } from "./customPickerElements-Cu7bLbap.mjs";
6
+ import { e as renderCustomPickerElement, d as destroyCustomPickerElement, i as isCustomPickerElementRegistered, j as hasFullWidth, k as isResizable, b as isWidgetRegistered, h as hasInteractiveView, f as renderWidget, a as destroyWidget, g as getCustomPickerElementSize } from "./customPickerElements-BqbDcaEu.mjs";
7
7
  import axios from "@nextcloud/axios";
8
8
  import { loadState } from "@nextcloud/initial-state";
9
9
  import { imagePath, generateOcsUrl } from "@nextcloud/router";
10
- import { r as register, W as t8, a as t, X as t46, Y as t41, Z as t24, _ as t25, q as t43, $ as t32, A as t19, a0 as t12 } from "./_l10n-CG4CuN3H.mjs";
10
+ import { r as register, W as t8, a as t, X as t46, Y as t41, Z as t24, _ as t25, q as t43, $ as t32, A as t19, a0 as t12 } from "./_l10n-wdIzZwir.mjs";
11
11
  import { l as logger } from "./logger-D3RVzcfQ.mjs";
12
12
  import { N as NcEmptyContent } from "./NcEmptyContent-CGAPqk4S.mjs";
13
13
  import { _ as _sfc_main$a } from "./NcHighlight.vue_vue_type_script_lang-DnWQDM_2.mjs";
14
- import { N as NcSelect } from "./NcSelect-BOFzoCwK.mjs";
14
+ import { N as NcSelect } from "./NcSelect--kERLlBK.mjs";
15
15
  import debounce from "debounce";
16
16
  import { useElementSize, useIntersectionObserver } from "@vueuse/core";
17
17
  import { routerKey, RouterLink } from "vue-router";
18
- import { N as NcButton } from "./NcButton-QbPBynlU.mjs";
19
- import { g as getRoute } from "./autolink-B2azbG18.mjs";
18
+ import { N as NcButton } from "./NcButton-jvoYS2my.mjs";
19
+ import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
20
+ import { g as getRoute } from "./autolink-DrIurosL.mjs";
20
21
  import { N as NcLoadingIcon } from "./NcLoadingIcon-BOVpFVQz.mjs";
21
- import { _ as _sfc_main$b } from "./NcTextField.vue_vue_type_script_setup_true_lang-BQHjkK8r.mjs";
22
- import { I as IconDotsHorizontal } from "./NcActions-DY4GGONi.mjs";
23
- import { N as NcModal } from "./NcModal-B-YLND3e.mjs";
22
+ import { _ as _sfc_main$b } from "./NcTextField.vue_vue_type_script_setup_true_lang-Bx2esFU2.mjs";
23
+ import { I as IconDotsHorizontal } from "./NcActions-C-wDqSrv.mjs";
24
+ import { N as NcModal } from "./NcModal-DiDvgcU8.mjs";
24
25
  const _sfc_main$9 = {
25
26
  name: "ArrowLeftIcon",
26
27
  emits: ["click"],
@@ -77,7 +78,8 @@ const _sfc_main$8 = {
77
78
  },
78
79
  emits: [
79
80
  "cancel",
80
- "submit"
81
+ "submit",
82
+ "pick"
81
83
  ],
82
84
  data() {
83
85
  return {
@@ -105,17 +107,24 @@ const _sfc_main$8 = {
105
107
  this.renderResult = result;
106
108
  if (this.renderResult.object?._isVue && this.renderResult.object?.$on) {
107
109
  this.renderResult.object.$on("submit", this.onSubmit);
110
+ this.renderResult.object.$on("pick", this.onPick);
108
111
  this.renderResult.object.$on("cancel", this.onCancel);
109
112
  }
110
113
  this.renderResult.element.addEventListener("submit", (e) => {
111
114
  this.onSubmit(e.detail);
112
115
  });
116
+ this.renderResult.element.addEventListener("pick", (e) => {
117
+ this.onPick(e.detail);
118
+ });
113
119
  this.renderResult.element.addEventListener("cancel", this.onCancel);
114
120
  });
115
121
  },
116
122
  onSubmit(value) {
117
123
  this.$emit("submit", value);
118
124
  },
125
+ onPick(value) {
126
+ this.$emit("pick", value);
127
+ },
119
128
  onCancel() {
120
129
  this.$emit("cancel");
121
130
  }
@@ -125,7 +134,7 @@ const _hoisted_1$8 = { ref: "domElement" };
125
134
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
126
135
  return openBlock(), createElementBlock("div", _hoisted_1$8, null, 512);
127
136
  }
128
- const NcCustomPickerElement = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$7], ["__scopeId", "data-v-e408867a"]]);
137
+ const NcCustomPickerElement = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$7], ["__scopeId", "data-v-df9d8f84"]]);
129
138
  const _sfc_main$7 = {
130
139
  name: "LinkVariantIcon",
131
140
  emits: ["click"],
@@ -246,7 +255,8 @@ const _sfc_main$6 = {
246
255
  },
247
256
  emits: [
248
257
  "selectProvider",
249
- "submit"
258
+ "submit",
259
+ "pick"
250
260
  ],
251
261
  data() {
252
262
  return {
@@ -280,6 +290,7 @@ const _sfc_main$6 = {
280
290
  if (p !== null) {
281
291
  if (p.isLink) {
282
292
  this.$emit("submit", p.title);
293
+ this.$emit("pick", { link: p.title });
283
294
  } else {
284
295
  this.$emit("selectProvider", p);
285
296
  }
@@ -355,13 +366,15 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
355
366
  })
356
367
  ]);
357
368
  }
358
- const NcProviderList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-ea81d3af"]]);
369
+ const NcProviderList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-c9740c42"]]);
359
370
  register(t24);
360
- const _hoisted_1$5 = ["src"];
361
- const _hoisted_2$4 = { class: "widget-default--details" };
362
- const _hoisted_3$3 = { class: "widget-default--name" };
363
- const _hoisted_4$2 = { class: "widget-default--link" };
371
+ const _hoisted_1$5 = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
372
+ const _hoisted_2$4 = ["src"];
373
+ const _hoisted_3$3 = { class: "widget-default--details" };
374
+ const _hoisted_4$2 = { class: "widget-default--name" };
375
+ const _hoisted_5$2 = { class: "widget-default--link" };
364
376
  const IDLE_TIMEOUT = 3 * 60 * 1e3;
377
+ const RESIZE_KEYBOARD_STEP = 10;
365
378
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
366
379
  __name: "NcReferenceWidget",
367
380
  props: {
@@ -372,10 +385,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
372
385
  setup(__props) {
373
386
  const props = __props;
374
387
  const router = inject(routerKey, null);
388
+ const widgetId = `nc-reference-widget-${createElementId()}`;
375
389
  const isVisible = ref(false);
376
390
  const customWidget = useTemplateRef("customWidget");
391
+ const customWidgetContent = useTemplateRef("customWidgetContent");
377
392
  const widgetRoot = useTemplateRef("widgetRoot");
378
393
  const { width } = useElementSize(widgetRoot);
394
+ const { height: customWidgetHeight } = useElementSize(customWidget);
379
395
  useIntersectionObserver(widgetRoot, ([entry]) => {
380
396
  nextTick(() => {
381
397
  isVisible.value = entry.isIntersecting;
@@ -384,15 +400,33 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
384
400
  const showInteractive = ref(false);
385
401
  const rendered = ref(false);
386
402
  let idleTimeout = null;
403
+ const isResizing = ref(false);
404
+ const resizedHeight = ref(null);
405
+ const resizeStartY = ref(0);
406
+ const resizeStartHeight = ref(0);
407
+ const resizeMinHeight = ref(100);
408
+ const resizeMaxHeight = ref(window.innerHeight - 120);
387
409
  const isInteractive = computed(() => {
388
410
  return !props.interactiveOptIn && props.interactive || showInteractive.value;
389
411
  });
390
412
  const referenceHasFullWidth = computed(() => {
391
413
  return hasFullWidth(props.reference.richObjectType);
392
414
  });
415
+ const isWidgetResizable = computed(() => {
416
+ return isResizable(props.reference.richObjectType);
417
+ });
393
418
  const hasCustomWidget = computed(() => {
394
419
  return isWidgetRegistered(props.reference.richObjectType);
395
420
  });
421
+ const customWidgetStyle = computed(() => {
422
+ if (!resizedHeight.value) {
423
+ return null;
424
+ }
425
+ return { height: `${resizedHeight.value}px !important` };
426
+ });
427
+ const ariaValueNow = computed(() => {
428
+ return Math.round(resizedHeight.value ?? customWidgetHeight.value);
429
+ });
396
430
  const referenceHasInteractiveView = computed(() => {
397
431
  return hasCustomWidget.value && hasInteractiveView(props.reference.richObjectType);
398
432
  });
@@ -455,6 +489,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
455
489
  }
456
490
  }, { immediate: true });
457
491
  onBeforeUnmount(() => {
492
+ if (idleTimeout) {
493
+ clearTimeout(idleTimeout);
494
+ idleTimeout = null;
495
+ }
496
+ stopResize();
458
497
  destroyReferenceWidget();
459
498
  });
460
499
  function enableInteractive() {
@@ -462,16 +501,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
462
501
  renderReferenceWidget();
463
502
  }
464
503
  function renderReferenceWidget() {
465
- if (!customWidget.value) {
504
+ if (!customWidgetContent.value) {
466
505
  return;
467
506
  }
468
507
  if (props.reference.richObjectType === "open-graph") {
469
508
  return;
470
509
  }
471
- customWidget.value.innerHTML = "";
510
+ customWidgetContent.value.innerHTML = "";
472
511
  const widget = document.createElement("div");
473
512
  widget.style.width = "100%";
474
- customWidget.value.appendChild(widget);
513
+ customWidgetContent.value.appendChild(widget);
475
514
  nextTick(() => {
476
515
  renderWidget(widget, {
477
516
  ...props.reference,
@@ -486,6 +525,54 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
486
525
  rendered.value = false;
487
526
  }
488
527
  }
528
+ function initResizeLimits() {
529
+ const widgetEl = customWidgetContent.value?.firstElementChild;
530
+ if (widgetEl) {
531
+ const computedStyle = window.getComputedStyle(widgetEl);
532
+ const parsedMin = parseFloat(computedStyle.minHeight);
533
+ const parsedMax = parseFloat(computedStyle.maxHeight);
534
+ resizeMinHeight.value = parsedMin > 0 ? parsedMin : 100;
535
+ resizeMaxHeight.value = Number.isFinite(parsedMax) && parsedMax > 0 ? parsedMax : window.innerHeight - 120;
536
+ } else {
537
+ resizeMinHeight.value = 100;
538
+ resizeMaxHeight.value = window.innerHeight - 120;
539
+ }
540
+ }
541
+ function startResize(event) {
542
+ if (!isWidgetResizable.value || !customWidget.value) {
543
+ return;
544
+ }
545
+ initResizeLimits();
546
+ isResizing.value = true;
547
+ resizeStartY.value = event.clientY;
548
+ resizeStartHeight.value = customWidget.value.getBoundingClientRect().height;
549
+ window.addEventListener("pointermove", onResize);
550
+ window.addEventListener("pointerup", stopResize);
551
+ }
552
+ function onResizeKeydown(delta) {
553
+ if (!isWidgetResizable.value || !customWidget.value) {
554
+ return;
555
+ }
556
+ initResizeLimits();
557
+ const currentHeight = resizedHeight.value ?? resizeStartHeight.value;
558
+ const next = currentHeight + delta;
559
+ resizedHeight.value = Math.min(resizeMaxHeight.value, Math.max(resizeMinHeight.value, next));
560
+ }
561
+ function onResize(event) {
562
+ if (!isResizing.value || !customWidget.value) {
563
+ return;
564
+ }
565
+ const deltaY = event.clientY - resizeStartY.value;
566
+ resizedHeight.value = Math.min(resizeMaxHeight.value, Math.max(resizeMinHeight.value, resizeStartHeight.value + deltaY));
567
+ }
568
+ function stopResize() {
569
+ if (!isResizing.value) {
570
+ return;
571
+ }
572
+ isResizing.value = false;
573
+ window.removeEventListener("pointermove", onResize);
574
+ window.removeEventListener("pointerup", stopResize);
575
+ }
489
576
  return (_ctx, _cache) => {
490
577
  return openBlock(), createElementBlock("div", {
491
578
  ref_key: "widgetRoot",
@@ -494,10 +581,35 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
494
581
  }, [
495
582
  __props.reference && hasCustomWidget.value ? (openBlock(), createElementBlock("div", {
496
583
  key: 0,
584
+ id: widgetId,
497
585
  ref_key: "customWidget",
498
586
  ref: customWidget,
499
- class: normalizeClass(["widget-custom", { "full-width": referenceHasFullWidth.value }])
500
- }, null, 2)) : !noAccess.value && __props.reference && __props.reference.openGraphObject && !hasCustomWidget.value ? (openBlock(), createBlock(resolveDynamicComponent(referenceWidgetLinkComponent.value), mergeProps({ key: 1 }, referenceWidgetLinkProps.value, {
587
+ class: normalizeClass(["widget-custom", { "full-width": referenceHasFullWidth.value }]),
588
+ style: normalizeStyle(customWidgetStyle.value)
589
+ }, [
590
+ createElementVNode("div", {
591
+ ref_key: "customWidgetContent",
592
+ ref: customWidgetContent,
593
+ class: "widget-custom__content"
594
+ }, null, 512),
595
+ isWidgetResizable.value ? (openBlock(), createElementBlock("div", {
596
+ key: 0,
597
+ class: "widget-custom__resize-handle",
598
+ role: "slider",
599
+ tabindex: "0",
600
+ "aria-orientation": "vertical",
601
+ "aria-label": unref(t)("Widget height"),
602
+ "aria-valuenow": ariaValueNow.value,
603
+ "aria-valuemin": resizeMinHeight.value,
604
+ "aria-valuemax": resizeMaxHeight.value,
605
+ "aria-controls": widgetId,
606
+ onPointerdown: withModifiers(startResize, ["stop", "prevent"]),
607
+ onKeydown: [
608
+ _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => onResizeKeydown(-RESIZE_KEYBOARD_STEP), ["stop", "prevent"]), ["up"])),
609
+ _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => onResizeKeydown(RESIZE_KEYBOARD_STEP), ["stop", "prevent"]), ["down"]))
610
+ ]
611
+ }, null, 40, _hoisted_1$5)) : createCommentVNode("", true)
612
+ ], 6)) : !noAccess.value && __props.reference && __props.reference.openGraphObject && !hasCustomWidget.value ? (openBlock(), createBlock(resolveDynamicComponent(referenceWidgetLinkComponent.value), mergeProps({ key: 1 }, referenceWidgetLinkProps.value, {
501
613
  rel: "noopener noreferrer",
502
614
  class: "widget-default"
503
615
  }), {
@@ -506,14 +618,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
506
618
  key: 0,
507
619
  class: "widget-default--image",
508
620
  src: __props.reference.openGraphObject.thumb
509
- }, null, 8, _hoisted_1$5)) : createCommentVNode("", true),
510
- createElementVNode("div", _hoisted_2$4, [
511
- createElementVNode("p", _hoisted_3$3, toDisplayString(__props.reference.openGraphObject.name), 1),
621
+ }, null, 8, _hoisted_2$4)) : createCommentVNode("", true),
622
+ createElementVNode("div", _hoisted_3$3, [
623
+ createElementVNode("p", _hoisted_4$2, toDisplayString(__props.reference.openGraphObject.name), 1),
512
624
  createElementVNode("p", {
513
625
  class: "widget-default--description",
514
626
  style: normalizeStyle(descriptionStyle.value)
515
627
  }, toDisplayString(__props.reference.openGraphObject.description), 5),
516
- createElementVNode("p", _hoisted_4$2, toDisplayString(compactLink.value), 1)
628
+ createElementVNode("p", _hoisted_5$2, toDisplayString(compactLink.value), 1)
517
629
  ])
518
630
  ]),
519
631
  _: 1
@@ -532,7 +644,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
532
644
  };
533
645
  }
534
646
  });
535
- const NcReferenceWidget = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-b0ec9f0b"]]);
647
+ const NcReferenceWidget = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4b144346"]]);
536
648
  register(t25);
537
649
  const _sfc_main$4 = {
538
650
  name: "NcRawLinkInput",
@@ -553,7 +665,8 @@ const _sfc_main$4 = {
553
665
  }
554
666
  },
555
667
  emits: [
556
- "submit"
668
+ "submit",
669
+ "pick"
557
670
  ],
558
671
  data() {
559
672
  return {
@@ -580,6 +693,7 @@ const _sfc_main$4 = {
580
693
  const value = e.target.value;
581
694
  if (this.isLinkValid) {
582
695
  this.$emit("submit", value);
696
+ this.$emit("pick", { link: value });
583
697
  }
584
698
  },
585
699
  onClear() {
@@ -664,7 +778,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
664
778
  }))
665
779
  ]);
666
780
  }
667
- const NcRawLinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-918730b9"]]);
781
+ const NcRawLinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-fb24b594"]]);
668
782
  const _sfc_main$3 = {
669
783
  name: "NcSearchResult",
670
784
  components: {
@@ -741,6 +855,9 @@ const _sfc_main$2 = {
741
855
  type: Object,
742
856
  required: true
743
857
  },
858
+ /**
859
+ * Whether to show the empty content when there are no search results
860
+ */
744
861
  showEmptyContent: {
745
862
  type: Boolean,
746
863
  default: true
@@ -754,7 +871,8 @@ const _sfc_main$2 = {
754
871
  }
755
872
  },
756
873
  emits: [
757
- "submit"
874
+ "submit",
875
+ "pick"
758
876
  ],
759
877
  data() {
760
878
  return {
@@ -865,6 +983,11 @@ const _sfc_main$2 = {
865
983
  if (item.resourceUrl) {
866
984
  this.cancelSearchRequests();
867
985
  this.$emit("submit", item.resourceUrl);
986
+ const reference = { link: item.resourceUrl };
987
+ if (item.title) {
988
+ reference.title = item.title;
989
+ }
990
+ this.$emit("pick", reference);
868
991
  } else if (item.isMore) {
869
992
  this.searchMoreOf(item.providerId).then(() => {
870
993
  this.selectedResult = null;
@@ -1020,7 +1143,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
1020
1143
  })) : createCommentVNode("", true)
1021
1144
  ], 2);
1022
1145
  }
1023
- const NcSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-af9d145f"]]);
1146
+ const NcSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-d965b4c7"]]);
1024
1147
  const MODES = {
1025
1148
  providerList: 1,
1026
1149
  standardLinkInput: 2,
@@ -1066,7 +1189,8 @@ const _sfc_main$1 = {
1066
1189
  "cancelRawLink",
1067
1190
  "cancelSearch",
1068
1191
  "providerSelected",
1069
- "submit"
1192
+ "submit",
1193
+ "pick"
1070
1194
  ],
1071
1195
  data() {
1072
1196
  return {
@@ -1133,6 +1257,13 @@ const _sfc_main$1 = {
1133
1257
  this.$emit("submit", link);
1134
1258
  this.deselectProvider();
1135
1259
  },
1260
+ pickLink(reference) {
1261
+ if (this.selectedProvider !== null) {
1262
+ touchProvider(this.selectedProvider.id);
1263
+ }
1264
+ this.$emit("pick", reference);
1265
+ this.deselectProvider();
1266
+ },
1136
1267
  deselectProvider() {
1137
1268
  this.selectedProvider = null;
1138
1269
  this.$emit("providerSelected", null);
@@ -1162,30 +1293,34 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1162
1293
  ref: "provider-list",
1163
1294
  onSelectProvider: $options.onProviderSelected,
1164
1295
  onSubmit: $options.submitLink,
1296
+ onPick: $options.pickLink,
1165
1297
  onCancel: $options.cancelProviderSelection
1166
- }, null, 8, ["onSelectProvider", "onSubmit", "onCancel"])) : $options.mode === $data.MODES.standardLinkInput ? (openBlock(), createBlock(_component_NcRawLinkInput, {
1298
+ }, null, 8, ["onSelectProvider", "onSubmit", "onPick", "onCancel"])) : $options.mode === $data.MODES.standardLinkInput ? (openBlock(), createBlock(_component_NcRawLinkInput, {
1167
1299
  key: 1,
1168
1300
  ref: "url-input",
1169
1301
  provider: $data.selectedProvider,
1170
1302
  onSubmit: $options.submitLink,
1303
+ onPick: $options.pickLink,
1171
1304
  onCancel: $options.cancelRawLinkInput
1172
- }, null, 8, ["provider", "onSubmit", "onCancel"])) : $options.mode === $data.MODES.searchInput ? (openBlock(), createBlock(_component_NcSearch, {
1305
+ }, null, 8, ["provider", "onSubmit", "onPick", "onCancel"])) : $options.mode === $data.MODES.searchInput ? (openBlock(), createBlock(_component_NcSearch, {
1173
1306
  key: 2,
1174
1307
  ref: "url-input",
1175
1308
  provider: $data.selectedProvider,
1176
- onCancel: $options.cancelSearch,
1177
- onSubmit: $options.submitLink
1178
- }, null, 8, ["provider", "onCancel", "onSubmit"])) : $options.mode === $data.MODES.customElement ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
1309
+ onSubmit: $options.submitLink,
1310
+ onPick: $options.pickLink,
1311
+ onCancel: $options.cancelSearch
1312
+ }, null, 8, ["provider", "onSubmit", "onPick", "onCancel"])) : $options.mode === $data.MODES.customElement ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
1179
1313
  createVNode(_component_NcCustomPickerElement, {
1180
1314
  provider: $data.selectedProvider,
1181
1315
  class: "custom-element",
1182
1316
  onSubmit: $options.submitLink,
1317
+ onPick: $options.pickLink,
1183
1318
  onCancel: $options.cancelCustomElement
1184
- }, null, 8, ["provider", "onSubmit", "onCancel"])
1319
+ }, null, 8, ["provider", "onSubmit", "onPick", "onCancel"])
1185
1320
  ])) : createCommentVNode("", true)
1186
1321
  ], 36);
1187
1322
  }
1188
- const NcReferencePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-5e2e9195"]]);
1323
+ const NcReferencePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-40667c6c"]]);
1189
1324
  register(t12, t19);
1190
1325
  const _sfc_main = {
1191
1326
  name: "NcReferencePickerModal",
@@ -1222,7 +1357,8 @@ const _sfc_main = {
1222
1357
  },
1223
1358
  emits: [
1224
1359
  "cancel",
1225
- "submit"
1360
+ "submit",
1361
+ "pick"
1226
1362
  ],
1227
1363
  data() {
1228
1364
  return {
@@ -1265,6 +1401,10 @@ const _sfc_main = {
1265
1401
  this.show = false;
1266
1402
  this.$emit("submit", value);
1267
1403
  },
1404
+ onPick(value) {
1405
+ this.show = false;
1406
+ this.$emit("pick", value);
1407
+ },
1268
1408
  onProviderSelect(provider) {
1269
1409
  this.selectedProvider = provider;
1270
1410
  if (provider === null && this.initialProvider !== null) {
@@ -1326,14 +1466,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1326
1466
  focusOnCreate: $props.focusOnCreate,
1327
1467
  onProviderSelected: $options.onProviderSelect,
1328
1468
  onSubmit: $options.onSubmit,
1469
+ onPick: $options.onPick,
1329
1470
  onCancel: $options.onCancel
1330
- }, null, 8, ["initialProvider", "focusOnCreate", "onProviderSelected", "onSubmit", "onCancel"])
1471
+ }, null, 8, ["initialProvider", "focusOnCreate", "onProviderSelected", "onSubmit", "onPick", "onCancel"])
1331
1472
  ], 512)
1332
1473
  ]),
1333
1474
  _: 1
1334
1475
  }, 8, ["size", "onClose"])) : createCommentVNode("", true);
1335
1476
  }
1336
- const NcReferencePickerModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bf0a25ee"]]);
1477
+ const NcReferencePickerModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-58d45f81"]]);
1337
1478
  async function getLinkWithPicker(providerId, isInsideViewer) {
1338
1479
  const modalId = "referencePickerModal";
1339
1480
  const modalElement = document.createElement("div");
@@ -1356,16 +1497,39 @@ async function getLinkWithPicker(providerId, isInsideViewer) {
1356
1497
  view.mount(modalElement);
1357
1498
  return promise;
1358
1499
  }
1500
+ async function getReferenceWithPicker(providerId, isInsideViewer) {
1501
+ const modalId = "referencePickerModal";
1502
+ const modalElement = document.createElement("div");
1503
+ modalElement.id = modalId;
1504
+ document.body.append(modalElement);
1505
+ const { promise, reject, resolve } = Promise.withResolvers();
1506
+ const initialProvider = providerId && getProvider(providerId) || null;
1507
+ const view = createApp(NcReferencePickerModal, {
1508
+ initialProvider,
1509
+ isInsideViewer,
1510
+ onCancel() {
1511
+ view.unmount();
1512
+ reject(new Error("User cancellation"));
1513
+ },
1514
+ onPick(reference) {
1515
+ view.unmount();
1516
+ resolve(reference);
1517
+ }
1518
+ });
1519
+ view.mount(modalElement);
1520
+ return promise;
1521
+ }
1359
1522
  export {
1360
1523
  NcReferencePicker as N,
1361
1524
  anyLinkProviderId as a,
1362
1525
  getProvider as b,
1363
1526
  getProviders as c,
1364
- sortProviders as d,
1365
- NcReferencePickerModal as e,
1366
- NcReferenceWidget as f,
1527
+ getReferenceWithPicker as d,
1528
+ sortProviders as e,
1529
+ NcReferencePickerModal as f,
1367
1530
  getLinkWithPicker as g,
1368
- NcSearch as h,
1531
+ NcReferenceWidget as h,
1532
+ NcSearch as i,
1369
1533
  searchProvider as s
1370
1534
  };
1371
- //# sourceMappingURL=referencePickerModal-CD1BjLPe.mjs.map
1535
+ //# sourceMappingURL=referencePickerModal-CnKdEDwu.mjs.map