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

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 (342) hide show
  1. package/CHANGELOG.md +114 -28
  2. package/dist/assets/{NcActionButtonGroup-BND4GQdv.css → NcActionButtonGroup-BLIEEeG3.css} +1 -1
  3. package/dist/assets/NcActionInput-BZCvMPVy.css +221 -0
  4. package/dist/assets/{NcActionText-CWAPsJmz.css → NcActionText-BtzLDZeJ.css} +18 -18
  5. package/dist/assets/{NcActionTextEditable-BbOijUsB.css → NcActionTextEditable-D5stkJZK.css} +3 -8
  6. package/dist/assets/{NcActions-DxcpMfrs.css → NcActions-CG3xO48Y.css} +13 -13
  7. package/dist/assets/{NcAppContent-Zgn8-wsd.css → NcAppContent-vj2DL4Yr.css} +23 -23
  8. package/dist/assets/{NcAppNavigationItem-B27WFnUV.css → NcAppNavigationItem-CFT8K0Dn.css} +37 -37
  9. package/dist/assets/{NcAppNavigationNewItem-BrLekTMb.css → NcAppNavigationNewItem-CCu1yQxq.css} +35 -35
  10. package/dist/assets/{NcAppNavigationSearch-BAzhDRd7.css → NcAppNavigationSearch-Ct6uMFNo.css} +5 -8
  11. package/dist/assets/{NcAppNavigationToggle-M0oDbwAS.css → NcAppNavigationToggle-B4XuIU5N.css} +3 -3
  12. package/dist/assets/{NcAppSettingsDialog-DfBJYMdm.css → NcAppSettingsDialog-BtS89pIY.css} +11 -11
  13. package/dist/assets/{NcAppSidebar-PG3qIdkG.css → NcAppSidebar-DlLDB8Ba.css} +61 -77
  14. package/dist/assets/{NcAppSidebarTab-BFy7uyWe.css → NcAppSidebarTab-cWhpTGp7.css} +4 -4
  15. package/dist/assets/{NcAvatar-C01qP9VA.css → NcAvatar-j5lkSXJF.css} +24 -24
  16. package/dist/assets/{NcButton-Cpw_vPKw.css → NcButton-Cl53rV4b.css} +52 -53
  17. package/dist/assets/{NcCheckboxRadioSwitch-DKVMIvxJ.css → NcCheckboxRadioSwitch-Cbnc4p0H.css} +35 -35
  18. package/dist/assets/{NcChip-rGBYOr-Q.css → NcChip-1ZmWY_6e.css} +9 -9
  19. package/dist/assets/{NcCollectionList-DTJgOfCk.css → NcCollectionList-C7_FPg95.css} +42 -42
  20. package/dist/assets/{NcColorPicker-DgByWqzp.css → NcColorPicker-DlQH2IqY.css} +31 -31
  21. package/dist/assets/{NcContent-C12jLe34.css → NcContent-D1ab_Xg2.css} +10 -10
  22. package/dist/assets/{NcCounterBubble-DpKQwKTI.css → NcCounterBubble-C0CtLaMW.css} +8 -8
  23. package/dist/assets/{NcDashboardWidget-BEYk4O95.css → NcDashboardWidget-CTP_ajin.css} +13 -13
  24. package/dist/assets/{NcDashboardWidgetItem-V_jSEH-7.css → NcDashboardWidgetItem-DYwI3Qof.css} +13 -13
  25. package/dist/assets/NcDateTimePicker-D10v2GzZ.css +1228 -0
  26. package/dist/assets/NcDateTimePickerNative-B7hWPWho.css +60 -0
  27. package/dist/assets/{NcDialog-Ch6FuMQo.css → NcDialog-B9626mow.css} +16 -16
  28. package/dist/assets/{NcEmojiPicker-kxoeGEM5.css → NcEmojiPicker-CeVpBSVx.css} +5 -5
  29. package/dist/assets/{NcGuestContent-BZ26iXQi.css → NcGuestContent-bgqNfxTA.css} +3 -3
  30. package/dist/assets/{NcHeaderMenu-BAKwNTFx.css → NcHeaderMenu-CP5Nn6tY.css} +12 -13
  31. package/dist/assets/{NcIconSvgWrapper-cYxhjYue.css → NcIconSvgWrapper-CJfAwN6-.css} +11 -11
  32. package/dist/assets/{NcInputConfirmCancel-9YyvRYjw.css → NcInputConfirmCancel-DNNS3DDJ.css} +5 -5
  33. package/dist/assets/{NcInputField-CvP4PFAO.css → NcInputField-BeU51nfg.css} +44 -38
  34. package/dist/assets/{NcListItem-ff6bfJFE.css → NcListItem-BBaZDZQK.css} +44 -44
  35. package/dist/assets/{NcMentionBubble-DLOTFwpl.css → NcMentionBubble-lpms2_3A.css} +9 -9
  36. package/dist/assets/{NcModal-BMVfhs7c.css → NcModal-eBU7G0XQ.css} +62 -62
  37. package/dist/assets/{NcNoteCard-C387qsQO.css → NcNoteCard-BTnxwjLX.css} +10 -10
  38. package/dist/assets/{NcPasswordField-DVV6Eiwf.css → NcPasswordField-CWRwNMKF.css} +2 -2
  39. package/dist/assets/{NcPopover-zFjgXDlM.css → NcPopover-BzkXE_af.css} +2 -2
  40. package/dist/assets/{NcRelatedResourcesPanel-DXfywiqL.css → NcRelatedResourcesPanel-9I4RRIks.css} +26 -26
  41. package/dist/assets/{NcRichContenteditable-KsmFPJmm.css → NcRichContenteditable-Dj22Kx6E.css} +41 -41
  42. package/dist/assets/{NcRichText-Fi_WAwSP.css → NcRichText-Fp8zf8zq.css} +87 -85
  43. package/dist/assets/{NcSelect-BCBpQnFL.css → NcSelect-DjCC5X0A.css} +2 -2
  44. package/dist/assets/{NcSettingsInputText-B-V6Y4MD.css → NcSettingsInputText-B2b1M_wK.css} +5 -5
  45. package/dist/assets/{NcSettingsSection-Dyrgo_fF.css → NcSettingsSection-CxQtVrUq.css} +7 -7
  46. package/dist/assets/{NcSettingsSelectGroup-DZcNr_Dq.css → NcSettingsSelectGroup-BuKKmCtO.css} +3 -3
  47. package/dist/assets/{NcTextArea-DoBYU3IE.css → NcTextArea-BLRA2iY6.css} +22 -22
  48. package/dist/assets/{NcUserStatusIcon-CtJLt6AU.css → NcUserStatusIcon-BcLND4gJ.css} +3 -3
  49. package/dist/assets/{referencePickerModal-CUVCkTmZ.css → referencePickerModal-D80hwmre.css} +53 -53
  50. package/dist/chunks/{NcActionButton-BECWgEPr.mjs → NcActionButton-Bd35_0n4.mjs} +3 -3
  51. package/dist/chunks/{NcActionButton-BECWgEPr.mjs.map → NcActionButton-Bd35_0n4.mjs.map} +1 -1
  52. package/dist/chunks/{NcActionButtonGroup-e4F30E5Z.mjs → NcActionButtonGroup-zqttoOi7.mjs} +3 -3
  53. package/dist/chunks/{NcActionButtonGroup-e4F30E5Z.mjs.map → NcActionButtonGroup-zqttoOi7.mjs.map} +1 -1
  54. package/dist/chunks/{NcActionInput-DYLqm7AP.mjs → NcActionInput-uNqbQcU9.mjs} +10 -10
  55. package/dist/chunks/{NcActionInput-DYLqm7AP.mjs.map → NcActionInput-uNqbQcU9.mjs.map} +1 -1
  56. package/dist/chunks/{NcActionText-DJWBefhJ.mjs → NcActionText-16Mj4-P1.mjs} +3 -4
  57. package/dist/chunks/NcActionText-16Mj4-P1.mjs.map +1 -0
  58. package/dist/chunks/{NcActionTextEditable-ByA0z9nO.mjs → NcActionTextEditable-rS1GklQ7.mjs} +4 -4
  59. package/dist/chunks/{NcActionTextEditable-ByA0z9nO.mjs.map → NcActionTextEditable-rS1GklQ7.mjs.map} +1 -1
  60. package/dist/chunks/{NcActions-iwG1Tj-I.mjs → NcActions-CyXKvnrY.mjs} +8 -8
  61. package/dist/chunks/{NcActions-iwG1Tj-I.mjs.map → NcActions-CyXKvnrY.mjs.map} +1 -1
  62. package/dist/chunks/{NcAppContent-B2qF2-YG.mjs → NcAppContent-BK8bOVDx.mjs} +54 -52
  63. package/dist/chunks/NcAppContent-BK8bOVDx.mjs.map +1 -0
  64. package/dist/chunks/{NcAppNavigation-JoRJnwqf.mjs → NcAppNavigation-Ccjr0Wxc.mjs} +2 -2
  65. package/dist/chunks/{NcAppNavigation-JoRJnwqf.mjs.map → NcAppNavigation-Ccjr0Wxc.mjs.map} +1 -1
  66. package/dist/chunks/{NcAppNavigationCaption-DhwvNbx1.mjs → NcAppNavigationCaption-DxfUoJBO.mjs} +2 -2
  67. package/dist/chunks/{NcAppNavigationCaption-DhwvNbx1.mjs.map → NcAppNavigationCaption-DxfUoJBO.mjs.map} +1 -1
  68. package/dist/chunks/{NcAppNavigationItem-B51Guztu.mjs → NcAppNavigationItem-CSiMEh0V.mjs} +11 -11
  69. package/dist/chunks/{NcAppNavigationItem-B51Guztu.mjs.map → NcAppNavigationItem-CSiMEh0V.mjs.map} +1 -1
  70. package/dist/chunks/{NcAppNavigationNew-CMjaAY5A.mjs → NcAppNavigationNew-CLbVKk5X.mjs} +2 -2
  71. package/dist/chunks/{NcAppNavigationNew-CMjaAY5A.mjs.map → NcAppNavigationNew-CLbVKk5X.mjs.map} +1 -1
  72. package/dist/chunks/{NcAppNavigationNewItem-DyzpvBOb.mjs → NcAppNavigationNewItem-B4TH71qQ.mjs} +6 -6
  73. package/dist/chunks/{NcAppNavigationNewItem-DyzpvBOb.mjs.map → NcAppNavigationNewItem-B4TH71qQ.mjs.map} +1 -1
  74. package/dist/chunks/{NcAppNavigationSearch-CvHp92E-.mjs → NcAppNavigationSearch-BOZ5dS_m.mjs} +5 -5
  75. package/dist/chunks/{NcAppNavigationSearch-CvHp92E-.mjs.map → NcAppNavigationSearch-BOZ5dS_m.mjs.map} +1 -1
  76. package/dist/chunks/{NcAppNavigationSettings-iJ84_lwr.mjs → NcAppNavigationSettings-9FtV3wC6.mjs} +3 -3
  77. package/dist/chunks/{NcAppNavigationSettings-iJ84_lwr.mjs.map → NcAppNavigationSettings-9FtV3wC6.mjs.map} +1 -1
  78. package/dist/chunks/{NcAppNavigationToggle-D3UGt5TV.mjs → NcAppNavigationToggle-D8aIKSiz.mjs} +5 -5
  79. package/dist/chunks/{NcAppNavigationToggle-D3UGt5TV.mjs.map → NcAppNavigationToggle-D8aIKSiz.mjs.map} +1 -1
  80. package/dist/chunks/{NcAppSettingsDialog-CQnZ29WZ.mjs → NcAppSettingsDialog-B4rJQ7w_.mjs} +5 -5
  81. package/dist/chunks/{NcAppSettingsDialog-CQnZ29WZ.mjs.map → NcAppSettingsDialog-B4rJQ7w_.mjs.map} +1 -1
  82. package/dist/chunks/{NcAppSidebar-QEkYs8pt.mjs → NcAppSidebar-D0azvKne.mjs} +13 -13
  83. package/dist/chunks/NcAppSidebar-D0azvKne.mjs.map +1 -0
  84. package/dist/chunks/{NcAppSidebarTab-DG51ajic.mjs → NcAppSidebarTab-D1RmFRTu.mjs} +5 -5
  85. package/dist/chunks/NcAppSidebarTab-D1RmFRTu.mjs.map +1 -0
  86. package/dist/chunks/{NcAvatar-BadoF6cb.mjs → NcAvatar-Ccw1N-kB.mjs} +38 -26
  87. package/dist/chunks/NcAvatar-Ccw1N-kB.mjs.map +1 -0
  88. package/dist/chunks/{NcBreadcrumb-BH4XQJ8K.mjs → NcBreadcrumb-C9ma2_SJ.mjs} +3 -3
  89. package/dist/chunks/{NcBreadcrumb-BH4XQJ8K.mjs.map → NcBreadcrumb-C9ma2_SJ.mjs.map} +1 -1
  90. package/dist/chunks/{NcBreadcrumbs-DyWyrhrJ.mjs → NcBreadcrumbs-kg_aktAn.mjs} +4 -4
  91. package/dist/chunks/{NcBreadcrumbs-DyWyrhrJ.mjs.map → NcBreadcrumbs-kg_aktAn.mjs.map} +1 -1
  92. package/dist/chunks/{NcButton-yN4vYgXb.mjs → NcButton-Df1eAyJ3.mjs} +3 -3
  93. package/dist/chunks/{NcButton-yN4vYgXb.mjs.map → NcButton-Df1eAyJ3.mjs.map} +1 -1
  94. package/dist/chunks/{NcCheckboxRadioSwitch-Di0xbf6d.mjs → NcCheckboxRadioSwitch-D8tOjXwB.mjs} +6 -6
  95. package/dist/chunks/{NcCheckboxRadioSwitch-Di0xbf6d.mjs.map → NcCheckboxRadioSwitch-D8tOjXwB.mjs.map} +1 -1
  96. package/dist/chunks/{NcChip-DfDlpsAh.mjs → NcChip-Bf2JVPf_.mjs} +8 -8
  97. package/dist/chunks/{NcChip-DfDlpsAh.mjs.map → NcChip-Bf2JVPf_.mjs.map} +1 -1
  98. package/dist/chunks/{NcCollectionList-B2PzNHzw.mjs → NcCollectionList-DtD-RXl8.mjs} +16 -13
  99. package/dist/chunks/NcCollectionList-DtD-RXl8.mjs.map +1 -0
  100. package/dist/chunks/{NcColorPicker-CoteX_0P.mjs → NcColorPicker-BRIu0Qel.mjs} +7 -7
  101. package/dist/chunks/{NcColorPicker-CoteX_0P.mjs.map → NcColorPicker-BRIu0Qel.mjs.map} +1 -1
  102. package/dist/chunks/{NcContent-BImnEnMI.mjs → NcContent-BmXFlXrh.mjs} +9 -7
  103. package/dist/chunks/{NcContent-BImnEnMI.mjs.map → NcContent-BmXFlXrh.mjs.map} +1 -1
  104. package/dist/chunks/{NcCounterBubble-PBdqn9Nf.mjs → NcCounterBubble-Bop3e-Tr.mjs} +3 -3
  105. package/dist/chunks/{NcCounterBubble-PBdqn9Nf.mjs.map → NcCounterBubble-Bop3e-Tr.mjs.map} +1 -1
  106. package/dist/chunks/{NcDashboardWidget-DJtdcW-W.mjs → NcDashboardWidget-cBZ_Ub8Q.mjs} +6 -6
  107. package/dist/chunks/{NcDashboardWidget-DJtdcW-W.mjs.map → NcDashboardWidget-cBZ_Ub8Q.mjs.map} +1 -1
  108. package/dist/chunks/{NcDashboardWidgetItem-CZaWF40u.mjs → NcDashboardWidgetItem-BnUtMMCC.mjs} +6 -6
  109. package/dist/chunks/{NcDashboardWidgetItem-CZaWF40u.mjs.map → NcDashboardWidgetItem-BnUtMMCC.mjs.map} +1 -1
  110. package/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-B0Lci6v0.mjs +36 -0
  111. package/dist/chunks/{NcDateTime.vue_vue_type_script_setup_true_lang-C2VbacBQ.mjs.map → NcDateTime.vue_vue_type_script_setup_true_lang-B0Lci6v0.mjs.map} +1 -1
  112. package/dist/chunks/{NcDateTimePicker-BB--HQog.mjs → NcDateTimePicker-Dliaj0xD.mjs} +149 -94
  113. package/dist/chunks/NcDateTimePicker-Dliaj0xD.mjs.map +1 -0
  114. package/dist/chunks/{NcDateTimePickerNative-DaPzFiYH.mjs → NcDateTimePickerNative-CEm70Aaw.mjs} +4 -4
  115. package/dist/chunks/{NcDateTimePickerNative-DaPzFiYH.mjs.map → NcDateTimePickerNative-CEm70Aaw.mjs.map} +1 -1
  116. package/dist/chunks/{NcDialog-CXVaeWJf.mjs → NcDialog-B_4Lud9m.mjs} +5 -5
  117. package/dist/chunks/{NcDialog-CXVaeWJf.mjs.map → NcDialog-B_4Lud9m.mjs.map} +1 -1
  118. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-DSKWXzqG.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-d1zLHPqM.mjs} +4 -4
  119. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-DSKWXzqG.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-d1zLHPqM.mjs.map} +1 -1
  120. package/dist/chunks/{NcEmojiPicker-BGO0v-D5.mjs → NcEmojiPicker-DZXHV_Me.mjs} +12 -12
  121. package/dist/chunks/NcEmojiPicker-DZXHV_Me.mjs.map +1 -0
  122. package/dist/chunks/{NcGuestContent-B_S2nyJ4.mjs → NcGuestContent-mLXi-A-D.mjs} +3 -3
  123. package/dist/chunks/{NcGuestContent-B_S2nyJ4.mjs.map → NcGuestContent-mLXi-A-D.mjs.map} +1 -1
  124. package/dist/chunks/{NcHeaderButton-BTZ1WNux.mjs → NcHeaderButton-D6LMZ6iL.mjs} +2 -2
  125. package/dist/chunks/{NcHeaderButton-BTZ1WNux.mjs.map → NcHeaderButton-D6LMZ6iL.mjs.map} +1 -1
  126. package/dist/chunks/{NcHeaderMenu-DmpJfS86.mjs → NcHeaderMenu-O0loxc_q.mjs} +5 -5
  127. package/dist/chunks/{NcHeaderMenu-DmpJfS86.mjs.map → NcHeaderMenu-O0loxc_q.mjs.map} +1 -1
  128. package/dist/chunks/{NcIconSvgWrapper-BOiCKv0b.mjs → NcIconSvgWrapper-CprKb_SE.mjs} +4 -4
  129. package/dist/chunks/{NcIconSvgWrapper-BOiCKv0b.mjs.map → NcIconSvgWrapper-CprKb_SE.mjs.map} +1 -1
  130. package/dist/chunks/{NcInputConfirmCancel-B7gAZ7U1.mjs → NcInputConfirmCancel-RRwim02d.mjs} +5 -5
  131. package/dist/chunks/{NcInputConfirmCancel-B7gAZ7U1.mjs.map → NcInputConfirmCancel-RRwim02d.mjs.map} +1 -1
  132. package/dist/chunks/{NcInputField-DH5ybroK.mjs → NcInputField-DEHb834Z.mjs} +6 -6
  133. package/dist/chunks/NcInputField-DEHb834Z.mjs.map +1 -0
  134. package/dist/chunks/{NcListItem-50hUlVlb.mjs → NcListItem-C6WoTIa4.mjs} +6 -6
  135. package/dist/chunks/{NcListItem-50hUlVlb.mjs.map → NcListItem-C6WoTIa4.mjs.map} +1 -1
  136. package/dist/chunks/{NcListItemIcon-BGEA45de.mjs → NcListItemIcon-5OKjuvJE.mjs} +6 -4
  137. package/dist/chunks/{NcListItemIcon-BGEA45de.mjs.map → NcListItemIcon-5OKjuvJE.mjs.map} +1 -1
  138. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_25f4d6e1_lang-aMwzB20D.mjs +16 -0
  139. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_25f4d6e1_lang-aMwzB20D.mjs.map +1 -0
  140. package/dist/chunks/{NcModal-CWRw1hyF.mjs → NcModal-n7KHhtoD.mjs} +8 -8
  141. package/dist/chunks/{NcModal-CWRw1hyF.mjs.map → NcModal-n7KHhtoD.mjs.map} +1 -1
  142. package/dist/chunks/{NcNoteCard-DmhVICGO.mjs → NcNoteCard-B5CvOJmh.mjs} +7 -6
  143. package/dist/chunks/{NcNoteCard-DmhVICGO.mjs.map → NcNoteCard-B5CvOJmh.mjs.map} +1 -1
  144. package/dist/chunks/NcPasswordField-JRyxT6wU.mjs +128 -0
  145. package/dist/chunks/NcPasswordField-JRyxT6wU.mjs.map +1 -0
  146. package/dist/chunks/{NcPopover-BUlWWIxc.mjs → NcPopover-DLoAYZgv.mjs} +2 -2
  147. package/dist/chunks/{NcPopover-BUlWWIxc.mjs.map → NcPopover-DLoAYZgv.mjs.map} +1 -1
  148. package/dist/chunks/{NcRelatedResourcesPanel-BUasditW.mjs → NcRelatedResourcesPanel-BBcAt5Fj.mjs} +13 -13
  149. package/dist/chunks/{NcRelatedResourcesPanel-BUasditW.mjs.map → NcRelatedResourcesPanel-BBcAt5Fj.mjs.map} +1 -1
  150. package/dist/chunks/{NcRichContenteditable-CGP8KN41.mjs → NcRichContenteditable-BD6rWjXe.mjs} +49 -42
  151. package/dist/chunks/NcRichContenteditable-BD6rWjXe.mjs.map +1 -0
  152. package/dist/chunks/{NcRichText-DDllQirJ.mjs → NcRichText-BwC3HU1U.mjs} +69 -57
  153. package/dist/chunks/NcRichText-BwC3HU1U.mjs.map +1 -0
  154. package/dist/chunks/{NcSelect-Bkg2rrDQ.mjs → NcSelect-DlAtugnK.mjs} +3 -3
  155. package/dist/chunks/{NcSelect-Bkg2rrDQ.mjs.map → NcSelect-DlAtugnK.mjs.map} +1 -1
  156. package/dist/chunks/{NcSelectTags-gJMICSS2.mjs → NcSelectTags-N96Vc2rX.mjs} +3 -3
  157. package/dist/chunks/{NcSelectTags-gJMICSS2.mjs.map → NcSelectTags-N96Vc2rX.mjs.map} +1 -1
  158. package/dist/chunks/{NcSelectUsers-mRdIiG7L.mjs → NcSelectUsers-BEoD3M8_.mjs} +3 -3
  159. package/dist/chunks/{NcSelectUsers-mRdIiG7L.mjs.map → NcSelectUsers-BEoD3M8_.mjs.map} +1 -1
  160. package/dist/chunks/{NcSettingsInputText-P8cEi0aP.mjs → NcSettingsInputText-Dh5pxW31.mjs} +4 -4
  161. package/dist/chunks/{NcSettingsInputText-P8cEi0aP.mjs.map → NcSettingsInputText-Dh5pxW31.mjs.map} +1 -1
  162. package/dist/chunks/{NcSettingsSection-DkDLjL_G.mjs → NcSettingsSection-DOYZpyIW.mjs} +40 -65
  163. package/dist/chunks/NcSettingsSection-DOYZpyIW.mjs.map +1 -0
  164. package/dist/chunks/{NcSettingsSelectGroup-BvYxv8aw.mjs → NcSettingsSelectGroup-CUvIP57B.mjs} +5 -5
  165. package/dist/chunks/{NcSettingsSelectGroup-BvYxv8aw.mjs.map → NcSettingsSelectGroup-CUvIP57B.mjs.map} +1 -1
  166. package/dist/chunks/{NcTextArea-D4hJqp6W.mjs → NcTextArea-BTKWGbc1.mjs} +5 -5
  167. package/dist/chunks/{NcTextArea-D4hJqp6W.mjs.map → NcTextArea-BTKWGbc1.mjs.map} +1 -1
  168. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-BggEO9Jn.mjs → NcTextField.vue_vue_type_script_setup_true_lang-DM5tkqJq.mjs} +5 -5
  169. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-BggEO9Jn.mjs.map → NcTextField.vue_vue_type_script_setup_true_lang-DM5tkqJq.mjs.map} +1 -1
  170. package/dist/chunks/NcThemeProvider.vue_vue_type_script_setup_true_lang-nUDJsDGI.mjs +30 -0
  171. package/dist/chunks/NcThemeProvider.vue_vue_type_script_setup_true_lang-nUDJsDGI.mjs.map +1 -0
  172. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-C7loAI0C.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-CZ5IafBy.mjs} +3 -3
  173. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-C7loAI0C.mjs.map → NcTimezonePicker.vue_vue_type_script_setup_true_lang-CZ5IafBy.mjs.map} +1 -1
  174. package/dist/chunks/{NcUserBubble-CKN4C4kP.mjs → NcUserBubble-DpGJJxHd.mjs} +3 -3
  175. package/dist/chunks/{NcUserBubble-CKN4C4kP.mjs.map → NcUserBubble-DpGJJxHd.mjs.map} +1 -1
  176. package/dist/chunks/{NcUserStatusIcon-BX9ILG2r.mjs → NcUserStatusIcon-DJ_IKC46.mjs} +4 -4
  177. package/dist/chunks/{NcUserStatusIcon-BX9ILG2r.mjs.map → NcUserStatusIcon-DJ_IKC46.mjs.map} +1 -1
  178. package/dist/chunks/{_l10n-B4AgnzNC.mjs → _l10n-_R1HqC4N.mjs} +36 -42
  179. package/dist/chunks/_l10n-_R1HqC4N.mjs.map +1 -0
  180. package/dist/chunks/{autolink-CKPk5rzg.mjs → autolink-Y0rlJ_CI.mjs} +5 -1
  181. package/dist/chunks/autolink-Y0rlJ_CI.mjs.map +1 -0
  182. package/dist/chunks/{colors-fFK6HkHZ.mjs → colors-Bws_qBuw.mjs} +2 -2
  183. package/dist/chunks/{colors-fFK6HkHZ.mjs.map → colors-Bws_qBuw.mjs.map} +1 -1
  184. package/dist/chunks/constants-Bls5liKo.mjs +9 -0
  185. package/dist/chunks/constants-Bls5liKo.mjs.map +1 -0
  186. package/dist/chunks/{index-BF8joS9W.mjs → customPickerElements-CH9vlHLd.mjs} +46 -45
  187. package/dist/chunks/customPickerElements-CH9vlHLd.mjs.map +1 -0
  188. package/dist/chunks/{mdi-CWpCzTmH.mjs → mdi-D6fu5i4r.mjs} +10 -6
  189. package/dist/chunks/{mdi-CWpCzTmH.mjs.map → mdi-D6fu5i4r.mjs.map} +1 -1
  190. package/dist/chunks/{referencePickerModal-uLIBRHIc.mjs → referencePickerModal-BA3NmGQ-.mjs} +71 -81
  191. package/dist/chunks/referencePickerModal-BA3NmGQ-.mjs.map +1 -0
  192. package/dist/components/NcActionButton/NcActionButton.vue.d.ts +1 -1
  193. package/dist/components/NcActionButton/index.mjs +1 -1
  194. package/dist/components/NcActionButtonGroup/index.mjs +1 -1
  195. package/dist/components/NcActionInput/index.mjs +1 -1
  196. package/dist/components/NcActionText/index.mjs +1 -1
  197. package/dist/components/NcActionTextEditable/NcActionTextEditable.vue.d.ts +1 -1
  198. package/dist/components/NcActionTextEditable/index.mjs +1 -1
  199. package/dist/components/NcActions/index.mjs +1 -1
  200. package/dist/components/NcAppContent/NcAppContent.vue.d.ts +34 -33
  201. package/dist/components/NcAppContent/index.mjs +1 -1
  202. package/dist/components/NcAppNavigation/index.mjs +1 -1
  203. package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
  204. package/dist/components/NcAppNavigationItem/index.mjs +1 -1
  205. package/dist/components/NcAppNavigationNew/index.mjs +1 -1
  206. package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
  207. package/dist/components/NcAppNavigationSearch/NcAppNavigationSearch.vue.d.ts +18 -18
  208. package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
  209. package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
  210. package/dist/components/NcAppNavigationToggle/index.mjs +1 -1
  211. package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
  212. package/dist/components/NcAppSidebar/index.mjs +1 -1
  213. package/dist/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +3 -3
  214. package/dist/components/NcAppSidebarTab/index.mjs +1 -1
  215. package/dist/components/NcAvatar/index.mjs +1 -1
  216. package/dist/components/NcBreadcrumb/index.mjs +1 -1
  217. package/dist/components/NcBreadcrumbs/index.mjs +1 -1
  218. package/dist/components/NcButton/NcButton.vue.d.ts +1 -1
  219. package/dist/components/NcButton/index.mjs +1 -1
  220. package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
  221. package/dist/components/NcChip/index.mjs +1 -1
  222. package/dist/components/NcCollectionList/index.mjs +1 -1
  223. package/dist/components/NcColorPicker/index.mjs +1 -1
  224. package/dist/components/NcContent/index.mjs +1 -1
  225. package/dist/components/NcCounterBubble/index.mjs +1 -1
  226. package/dist/components/NcDashboardWidget/index.mjs +1 -1
  227. package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
  228. package/dist/components/NcDateTime/index.mjs +1 -1
  229. package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +1072 -4
  230. package/dist/components/NcDateTimePicker/index.mjs +1 -1
  231. package/dist/components/NcDateTimePickerNative/NcDateTimePickerNative.vue.d.ts +1 -1
  232. package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
  233. package/dist/components/NcDialog/index.mjs +1 -1
  234. package/dist/components/NcDialogButton/NcDialogButton.vue.d.ts +1 -1
  235. package/dist/components/NcDialogButton/index.mjs +1 -1
  236. package/dist/components/NcEmojiPicker/index.mjs +1 -1
  237. package/dist/components/NcGuestContent/index.mjs +1 -1
  238. package/dist/components/NcHeaderButton/index.mjs +1 -1
  239. package/dist/components/NcHeaderMenu/index.mjs +1 -1
  240. package/dist/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +1 -1
  241. package/dist/components/NcIconSvgWrapper/index.mjs +1 -1
  242. package/dist/components/NcInputField/NcInputField.vue.d.ts +1 -1
  243. package/dist/components/NcInputField/index.mjs +1 -1
  244. package/dist/components/NcListItem/index.mjs +1 -1
  245. package/dist/components/NcListItemIcon/index.mjs +1 -1
  246. package/dist/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +1 -1
  247. package/dist/components/NcModal/index.mjs +1 -1
  248. package/dist/components/NcNoteCard/index.mjs +1 -1
  249. package/dist/components/NcPasswordField/NcPasswordField.vue.d.ts +10 -7
  250. package/dist/components/NcPasswordField/index.mjs +1 -1
  251. package/dist/components/NcPopover/index.mjs +1 -1
  252. package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
  253. package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +4 -4
  254. package/dist/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +4 -4
  255. package/dist/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +2 -2
  256. package/dist/components/NcRichContenteditable/index.mjs +1 -1
  257. package/dist/components/NcRichText/NcReferencePicker/utils.d.ts +6 -7
  258. package/dist/components/NcRichText/helpers.d.ts +7 -8
  259. package/dist/components/NcRichText/index.d.ts +5 -5
  260. package/dist/components/NcRichText/index.mjs +10 -10
  261. package/dist/components/NcRichText/remarkPlaceholder.d.ts +2 -0
  262. package/dist/components/NcRichText/remarkUnescape.d.ts +2 -1
  263. package/dist/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +1 -1
  264. package/dist/components/NcSelect/index.mjs +1 -1
  265. package/dist/components/NcSelectTags/index.mjs +1 -1
  266. package/dist/components/NcSelectUsers/index.mjs +1 -1
  267. package/dist/components/NcSettingsInputText/index.mjs +1 -1
  268. package/dist/components/NcSettingsSection/NcSettingsSection.vue.d.ts +40 -34
  269. package/dist/components/NcSettingsSection/index.d.ts +4 -0
  270. package/dist/components/NcSettingsSection/index.mjs +1 -1
  271. package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
  272. package/dist/components/NcTextArea/index.mjs +1 -1
  273. package/dist/components/NcTextField/NcTextField.vue.d.ts +6 -6
  274. package/dist/components/NcTextField/index.mjs +1 -1
  275. package/dist/components/NcThemeProvider/NcThemeProvider.vue.d.ts +27 -0
  276. package/dist/components/NcThemeProvider/index.d.ts +5 -0
  277. package/dist/components/NcThemeProvider/index.mjs +5 -0
  278. package/dist/components/NcThemeProvider/index.mjs.map +1 -0
  279. package/dist/components/NcTimezonePicker/index.mjs +1 -1
  280. package/dist/components/NcUserBubble/index.mjs +1 -1
  281. package/dist/components/NcUserStatusIcon/index.mjs +1 -1
  282. package/dist/components/index.d.ts +2 -1
  283. package/dist/composables/index.d.ts +1 -1
  284. package/dist/composables/useFormatDateTime/index.d.ts +40 -0
  285. package/dist/composables/useFormatDateTime/index.mjs +49 -0
  286. package/dist/composables/useFormatDateTime/index.mjs.map +1 -0
  287. package/dist/composables/useHotKey/index.mjs +13 -1
  288. package/dist/composables/useHotKey/index.mjs.map +1 -1
  289. package/dist/composables/useIsDarkTheme/constants.d.ts +7 -0
  290. package/dist/composables/useIsDarkTheme/index.d.ts +7 -4
  291. package/dist/composables/useIsDarkTheme/index.mjs +23 -6
  292. package/dist/composables/useIsDarkTheme/index.mjs.map +1 -1
  293. package/dist/functions/index.d.ts +2 -2
  294. package/dist/functions/reference/customPickerElements.d.ts +48 -13
  295. package/dist/functions/reference/index.d.ts +8 -5
  296. package/dist/functions/reference/index.mjs +7 -7
  297. package/dist/functions/reference/providerHelper.d.ts +26 -15
  298. package/dist/functions/reference/referencePickerModal.d.ts +7 -4
  299. package/dist/functions/reference/widgets.d.ts +47 -28
  300. package/dist/functions/registerReference/index.d.ts +6 -2
  301. package/dist/functions/registerReference/index.mjs +4 -4
  302. package/dist/functions/usernameToColor/index.d.ts +6 -3
  303. package/dist/functions/usernameToColor/index.mjs +19 -2
  304. package/dist/functions/usernameToColor/index.mjs.map +1 -1
  305. package/dist/index.mjs +79 -75
  306. package/dist/index.mjs.map +1 -1
  307. package/dist/l10n.d.ts +7 -2
  308. package/dist/utils/getAvatarUrl.d.ts +23 -1
  309. package/package.json +10 -11
  310. package/dist/assets/NcActionInput-BA67jS1l.css +0 -226
  311. package/dist/assets/NcDateTimePicker-pmbCzZnb.css +0 -83
  312. package/dist/assets/NcDateTimePickerNative-BizATZfE.css +0 -60
  313. package/dist/chunks/NcActionText-DJWBefhJ.mjs.map +0 -1
  314. package/dist/chunks/NcAppContent-B2qF2-YG.mjs.map +0 -1
  315. package/dist/chunks/NcAppSidebar-QEkYs8pt.mjs.map +0 -1
  316. package/dist/chunks/NcAppSidebarTab-DG51ajic.mjs.map +0 -1
  317. package/dist/chunks/NcAvatar-BadoF6cb.mjs.map +0 -1
  318. package/dist/chunks/NcCollectionList-B2PzNHzw.mjs.map +0 -1
  319. package/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-C2VbacBQ.mjs +0 -31
  320. package/dist/chunks/NcDateTimePicker-BB--HQog.mjs.map +0 -1
  321. package/dist/chunks/NcEmojiPicker-BGO0v-D5.mjs.map +0 -1
  322. package/dist/chunks/NcInputField-DH5ybroK.mjs.map +0 -1
  323. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_c29760cd_lang-CZdrlInz.mjs +0 -13
  324. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_c29760cd_lang-CZdrlInz.mjs.map +0 -1
  325. package/dist/chunks/NcPasswordField-DY-wDP9m.mjs +0 -211
  326. package/dist/chunks/NcPasswordField-DY-wDP9m.mjs.map +0 -1
  327. package/dist/chunks/NcRichContenteditable-CGP8KN41.mjs.map +0 -1
  328. package/dist/chunks/NcRichText-DDllQirJ.mjs.map +0 -1
  329. package/dist/chunks/NcSettingsSection-DkDLjL_G.mjs.map +0 -1
  330. package/dist/chunks/_l10n-B4AgnzNC.mjs.map +0 -1
  331. package/dist/chunks/autolink-CKPk5rzg.mjs.map +0 -1
  332. package/dist/chunks/index-BF8joS9W.mjs.map +0 -1
  333. package/dist/chunks/referencePickerModal-uLIBRHIc.mjs.map +0 -1
  334. package/dist/chunks/useFormatDateTime-DmnI1ENQ.mjs +0 -87
  335. package/dist/chunks/useFormatDateTime-DmnI1ENQ.mjs.map +0 -1
  336. package/dist/chunks/usernameToColor-Bik5PNni.mjs +0 -22
  337. package/dist/chunks/usernameToColor-Bik5PNni.mjs.map +0 -1
  338. package/dist/components/NcRichText/placeholder.d.ts +0 -5
  339. package/dist/components/NcRichText/remarkDisableBlocks.d.ts +0 -11
  340. package/dist/composables/useFormatDateTime.d.ts +0 -84
  341. package/dist/functions/usernameToColor/usernameToColor.d.ts +0 -8
  342. /package/dist/components/NcAppContent/{NcAppDetailsToggle.vue.d.ts → NcAppContentDetailsToggle.vue.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_l10n-_R1HqC4N.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,6 +2,10 @@ import { getBaseUrl, getRootUrl } from "@nextcloud/router";
2
2
  import { u } from "unist-builder";
3
3
  import { visit, SKIP } from "unist-util-visit";
4
4
  import { defineComponent, h } from "vue";
5
+ /*!
6
+ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
7
+ * SPDX-License-Identifier: AGPL-3.0-or-later
8
+ */
5
9
  const URL_PATTERN = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig;
6
10
  const URL_PATTERN_AUTOLINK = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
7
11
  const NcLink = defineComponent({
@@ -110,4 +114,4 @@ export {
110
114
  parseUrl as p,
111
115
  remarkAutolink as r
112
116
  };
113
- //# sourceMappingURL=autolink-CKPk5rzg.mjs.map
117
+ //# sourceMappingURL=autolink-Y0rlJ_CI.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autolink-Y0rlJ_CI.mjs","sources":["../../src/components/NcRichText/helpers.ts","../../src/components/NcRichText/autolink.ts"],"sourcesContent":["/*!\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { Literal } from 'unist'\n\n/**\n * Unist literal node with string value like code blocks or text nodes\n */\nexport interface TextNode extends Literal {\n\tvalue: string\n}\n\n/**\n * Regex pattern to match links to be resolved by the link-reference provider\n */\nexport const URL_PATTERN = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig\n\n/**\n * Regex pattern to identify strings as links and then making them clickable\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport type { Router } from 'vue-router'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\nimport { u } from 'unist-builder'\nimport { visit, SKIP } from 'unist-util-visit'\nimport { defineComponent, h } from 'vue'\n\nconst NcLink = defineComponent({\n\tname: 'NcLink',\n\tprops: {\n\t\thref: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\trender() {\n\t\treturn h('a', {\n\t\t\thref: this.href,\n\t\t\trel: 'noopener noreferrer',\n\t\t\ttarget: '_blank',\n\t\t\tclass: 'rich-text--external-link',\n\t\t}, [this.href.trim()])\n\t},\n})\n\nexport const remarkAutolink = function({ autolink, useMarkdown, useExtendedMarkdown }) {\n\treturn function(tree) {\n\t\t// remark-gfm has its own autolink parser which can not be disabled\n\t\t// and thus a local one is not needed\n\t\tif (useExtendedMarkdown || !useMarkdown || !autolink) {\n\t\t\treturn\n\t\t}\n\n\t\tvisit(tree, (node) => node.type === 'text', (node, index, parent) => {\n\t\t\tlet parsed = parseUrl(node.value)\n\t\t\tif (typeof parsed === 'string') {\n\t\t\t\tparsed = [u('text', parsed)]\n\t\t\t} else {\n\t\t\t\tparsed = parsed\n\t\t\t\t\t.map((n) => {\n\t\t\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\t\t\treturn u('text', n)\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn u('link', {\n\t\t\t\t\t\t\turl: n.props.href,\n\t\t\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t\t\t})\n\t\t\t\t\t.filter((x) => x)\n\t\t\t\t\t.flat()\n\t\t\t}\n\n\t\t\tparent.children.splice(index, 1, ...parsed)\n\t\t\treturn [SKIP, (index ?? 0) + parsed.length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text: string) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tconst list: (string|Record<string, any>)[] = []\n\tlet start = 0\n\twhile (match !== null) {\n\t\tlet href = match[2]\n\t\tlet textAfter\n\t\tlet textBefore = text.substring(start, match.index + match[1].length)\n\t\tif (href[0] === ' ') {\n\t\t\ttextBefore += href[0]\n\t\t\thref = href.substring(1).trim()\n\t\t}\n\t\tconst lastChar = href[(href.length - 1)]\n\t\tif (lastChar === '.' || lastChar === ',' || lastChar === ';' || (match[0][0] === '(' && lastChar === ')')) {\n\t\t\thref = href.substring(0, href.length - 1)\n\t\t\ttextAfter = lastChar\n\t\t}\n\t\tlist.push(textBefore)\n\t\tlist.push({ component: NcLink, props: { href } })\n\t\tif (textAfter) {\n\t\t\tlist.push(textAfter)\n\t\t}\n\t\tstart = match.index + match[0].length\n\t\tmatch = URL_PATTERN_AUTOLINK.exec(text)\n\t}\n\tlist.push(text.substring(start))\n\tconst joinedText = list.map((item) => typeof item === 'string' ? item : item.props.href).join('')\n\tif (text === joinedText) {\n\t\treturn list\n\t}\n\tconsole.error('Failed to reassemble the chunked text: ' + text)\n\treturn text\n}\n\n/**\n * Try to get path for router link from an absolute or relative URL.\n *\n * @param {Router} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be used in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router: Router, url: string): string | null => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php /apps/files /favorites?fileid=2#fragment\n\t * |_____origin____|___________router-base____________| |\n\t * |__________base____________| |______________relative-url______________|\n\t * | |___root___|_optional_|__app-base__|_________router-path_______|\n\t */\n\n\tconst removePrefix = (str, prefix) => str.startsWith(prefix) ? str.slice(prefix.length) : str\n\tconst removePrefixes = (str, ...prefixes) => prefixes.reduce((acc, prefix) => removePrefix(acc, prefix), str)\n\n\t// Router is not defined in the app => not an app route\n\tif (!router) {\n\t\treturn null\n\t}\n\n\tconst isAbsoluteURL = /^https?:\\/\\//.test(url)\n\n\t// URL is a \"mailto:\", \"tel:\" or any custom app protocol link\n\tconst isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url)\n\tif (!isAbsoluteURL && isNonHttpLink) {\n\t\treturn null\n\t}\n\n\t// URL is not a link to this Nextcloud server instance => not an app route\n\tif (isAbsoluteURL && !url.startsWith(getBaseUrl())) {\n\t\treturn null\n\t}\n\n\tif (!isAbsoluteURL && !url.startsWith('/')) {\n\t\t// Relative URL without a leading slash are not allowed\n\t\t// VueRouter handles such urls according to the URL RFC,\n\t\t// for example, being on /call/abc page, link \"def\" is resolved as \"/call/def\" relative to \"/call/\".\n\t\t// We don't want to support such links,\n\t\t// so relative URL MUST start with a slash.\n\t\treturn null\n\t}\n\n\t// URL relative to the instance root\n\tconst relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), '/index.php') : url\n\n\t// Router base relative to the instance root (app-base above)\n\tconst relativeRouterBase = removePrefixes(router.options.history.base, getRootUrl(), '/index.php')\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(potentialRouterPath)\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAiBO,MAAM,cAAc;AAKpB,MAAM,uBAAuB;ACTpC,MAAM,SAAS,gBAAgB;AAAA,EAC9B,MAAM;AAAA,EACN,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,UAAU;AAAA,IAAA;AAAA,EAEZ;AAAA,EACA,SAAS;AACR,WAAO,EAAE,KAAK;AAAA,MACb,MAAM,KAAK;AAAA,MACX,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,OAAO;AAAA,OACL,CAAC,KAAK,KAAK,KAAM,CAAA,CAAC;AAAA,EAAA;AAEvB,CAAC;AAEM,MAAM,iBAAiB,SAAS,EAAE,UAAU,aAAa,uBAAuB;AACtF,SAAO,SAAS,MAAM;AAGrB,QAAI,uBAAuB,CAAC,eAAe,CAAC,UAAU;AACrD;AAAA,IAAA;AAGK,UAAA,MAAM,CAAC,SAAS,KAAK,SAAS,QAAQ,CAAC,MAAM,OAAO,WAAW;AAChE,UAAA,SAAS,SAAS,KAAK,KAAK;AAC5B,UAAA,OAAO,WAAW,UAAU;AAC/B,iBAAS,CAAC,EAAE,QAAQ,MAAM,CAAC;AAAA,MAAA,OACrB;AAC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t as t3, a as t } from "./_l10n-_R1HqC4N.mjs";
2
2
  register(t3);
3
3
  class Color {
4
4
  /**
@@ -136,4 +136,4 @@ export {
136
136
  defaultPalette as d,
137
137
  generatePalette as g
138
138
  };
139
- //# sourceMappingURL=colors-fFK6HkHZ.mjs.map
139
+ //# sourceMappingURL=colors-Bws_qBuw.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors-fFK6HkHZ.mjs","sources":["../../src/utils/colors.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param r - The red value\n\t * @param g - The green value\n\t * @param b - The blue value\n\t * @param name - The name of the color\n\t */\n\tconstructor(\n\t\tpublic readonly r: number,\n\t\tpublic readonly g: number,\n\t\tpublic readonly b: number,\n\t\tpublic readonly name?: string,\n\t) {\n\t\tthis.r = Math.min(r, 255)\n\t\tthis.g = Math.min(g, 255)\n\t\tthis.b = Math.min(b, 255)\n\t\tthis.name = name\n\t}\n\n\t/**\n\t * The hexadecimal color string.\n\t */\n\tget color(): string {\n\t\tconst toHex = (int: number) => `00${int.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the increment needed to blend color1 into color2 within specified number of steps.\n *\n * @param steps - The number of steps\n * @param color1 - The color to start with\n * @param color2 - The color to end at\n * @return The increment needed per color channel\n */\nfunction calculateStepIncrement(steps: number, color1: Color, color2: Color): { r: number, g: number, b: number } {\n\treturn {\n\t\tr: (color2.r - color1.r) / steps,\n\t\tg: (color2.g - color1.g) / steps,\n\t\tb: (color2.b - color1.b) / steps,\n\t}\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param steps - The number of steps the palette should have\n * @param color1 - The first color to mix\n * @param color2 - The second color to mix\n * @return The created palette array (mixed `color1` and `color2` with `steps` steps)\n */\nfunction mixPalette(steps: number, color1: Color, color2: Color): Color[] {\n\tconst palette: Color[] = []\n\tpalette.push(color1)\n\tconst increment = calculateStepIncrement(steps, color1, color2)\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + increment.r * i)\n\t\tconst g = Math.floor(color1.g + increment.g * i)\n\t\tconst b = Math.floor(color1.b + increment.b * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3).\n *\n * For example if steps is set to 6, then 3 colors * 6 will result in 18 generated colors.\n *\n * @param steps - Number of steps to go from a color to another\n */\nexport function generatePalette(steps: number): Color[] {\n\tif (steps <= 0) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn [...defaultPalette]\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":[],"mappings":";;AAOO,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YACiB,GACA,GACA,GACA,MACf;AAJe,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,OAAA;AAEhB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,OAAO;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA,EAMb,IAAI,QAAgB;AACb,UAAA,QAAQ,CAAC,QAAgB,KAAK,IAAI,SAAS,EAAE,CAAC,GAAG,MAAM,EAAE;AAC/D,WAAO,IAAI,MAAM,KAAK,CAAC,CAAC,GAAG,MAAM,KAAK,CAAC,CAAC,GAAG,MAAM,KAAK,CAAC,CAAC;AAAA,EAAA;AAG1D;AAUA,SAAS,uBAAuB,OAAe,QAAe,QAAoD;AAC1G,SAAA;AAAA,IACN,IAAI,OAAO,IAAI,OAAO,KAAK;AAAA,IAC3B,IAAI,OAAO,IAAI,OAAO,KAAK;AAAA,IAC3B,IAAI,OAAO,IAAI,OAAO,KAAK;AA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IAAK;AAAA,IACR,EAAE,gBAAgB;AAAA,EACnB;AAAA,EACA,IAAI;AAAA,IACH;AAAA,IAAI;AAAA,IAAK;AAAA,IACT,EAAE,SAAS;AAAA;AAAA,EACZ;AAAA,EACA,IAAI;AAAA,IACH;AAAA,IAAI;AAAA,IAAK;AAAA,IACT,EAAE,aAAa;AAAA;AAAA,EAChB;AAAA,EACA,IAAI;AAAA,IACH;AAAA,IAAK;AAAA,IAAI;AAAA,IACT,EAAE,QAAQ;AAAA;AAAA,EAAA;AAEZ;AAUO,SAAS,gBAAgB,OAAwB;AASjD,QAAA,MAAM,IAAI,MAAM,KAAK,IAAI,KAAK,EAAE,QAAQ,CAAC;AACzC,QAAA,SAAS,IAAI,MAAM,KAAK,KAAK,IAAI,EAAE,MAAM,CAAC;AAC1C,QAAA,OAAO,IAAI,MAAM,GAAG,KAAK,KAAK,EAAE,gBAAgB,CAAC;AAEvD,QAAM,WAAW,WAAW,OAAO,KAAK,MAAM;AAC9C,QAAM,WAAW,WAAW,OAAO,QAAQ,IAAI;AAC/C,QAAM,WAAW,WAAW,OAAO,MAAM,GAAG;AAE5C,SAAO,SAAS,OAAO,QAAQ,EAAE,OAAO,QAAQ;AACjD;"}
1
+ {"version":3,"file":"colors-Bws_qBuw.mjs","sources":["../../src/utils/colors.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { t } from '../l10n.ts'\n\nexport class Color {\n\n\t/**\n\t * @param r - The red value\n\t * @param g - The green value\n\t * @param b - The blue value\n\t * @param name - The name of the color\n\t */\n\tconstructor(\n\t\tpublic readonly r: number,\n\t\tpublic readonly g: number,\n\t\tpublic readonly b: number,\n\t\tpublic readonly name?: string,\n\t) {\n\t\tthis.r = Math.min(r, 255)\n\t\tthis.g = Math.min(g, 255)\n\t\tthis.b = Math.min(b, 255)\n\t\tthis.name = name\n\t}\n\n\t/**\n\t * The hexadecimal color string.\n\t */\n\tget color(): string {\n\t\tconst toHex = (int: number) => `00${int.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the increment needed to blend color1 into color2 within specified number of steps.\n *\n * @param steps - The number of steps\n * @param color1 - The color to start with\n * @param color2 - The color to end at\n * @return The increment needed per color channel\n */\nfunction calculateStepIncrement(steps: number, color1: Color, color2: Color): { r: number, g: number, b: number } {\n\treturn {\n\t\tr: (color2.r - color1.r) / steps,\n\t\tg: (color2.g - color1.g) / steps,\n\t\tb: (color2.b - color1.b) / steps,\n\t}\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param steps - The number of steps the palette should have\n * @param color1 - The first color to mix\n * @param color2 - The second color to mix\n * @return The created palette array (mixed `color1` and `color2` with `steps` steps)\n */\nfunction mixPalette(steps: number, color1: Color, color2: Color): Color[] {\n\tconst palette: Color[] = []\n\tpalette.push(color1)\n\tconst increment = calculateStepIncrement(steps, color1, color2)\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + increment.r * i)\n\t\tconst g = Math.floor(color1.g + increment.g * i)\n\t\tconst b = Math.floor(color1.b + increment.b * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3).\n *\n * For example if steps is set to 6, then 3 colors * 6 will result in 18 generated colors.\n *\n * @param steps - Number of steps to go from a color to another\n */\nexport function generatePalette(steps: number): Color[] {\n\tif (steps <= 0) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn [...defaultPalette]\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":[],"mappings":";;AAOO,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YACiB,GACA,GACA,GACA,MACf;AAJe,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,OAAA;AAEhB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,IAAI,K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S,OAAO,QAAQ,EAAE,OAAO,QAAQ;AACjD;"}
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3
+ * SPDX-License-Identifier: AGPL-3.0-or-later
4
+ */
5
+ const INJECTION_KEY_THEME = Symbol.for("nc:theme:enforced");
6
+ export {
7
+ INJECTION_KEY_THEME as I
8
+ };
9
+ //# sourceMappingURL=constants-Bls5liKo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-Bls5liKo.mjs","sources":["../../src/composables/useIsDarkTheme/constants.ts"],"sourcesContent":["/*!\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { ComputedRef, InjectionKey } from 'vue'\n\n/**\n * Enforced dark / light theme state\n *\n * @private\n */\nexport const INJECTION_KEY_THEME: InjectionKey<ComputedRef<'light' | 'dark' | ''> | undefined> = Symbol.for('nc:theme:enforced')\n"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAYa,MAAA,sBAAoF,OAAO,IAAI,mBAAmB;"}
@@ -1,24 +1,17 @@
1
- if (!window._vue_richtext_widgets) {
2
- window._vue_richtext_widgets = {};
3
- }
4
- const isWidgetRegistered = (id) => {
5
- return !!window._vue_richtext_widgets[id];
6
- };
7
- const hasInteractiveView = (id) => {
8
- return !!window._vue_richtext_widgets[id]?.hasInteractiveView;
9
- };
10
- const hasFullWidth = (id) => {
11
- return !!window._vue_richtext_widgets[id]?.fullWidth;
1
+ import { l as logger } from "./logger-D3RVzcfQ.mjs";
2
+ window._vue_richtext_widgets ??= {};
3
+ window._registerWidget ??= (id, callback, onDestroy, props) => {
4
+ registerWidget(id, callback, onDestroy, props);
12
5
  };
13
- const registerWidget = (id, callback, onDestroy = (el) => {
14
- }, props) => {
6
+ function registerWidget(id, callback, onDestroy = () => {
7
+ }, props) {
15
8
  const propsWithDefaults = {
16
9
  hasInteractiveView: true,
17
10
  fullWidth: false,
18
11
  ...props
19
12
  };
20
13
  if (window._vue_richtext_widgets[id]) {
21
- console.error("Widget for id " + id + " already registered");
14
+ logger.error(`[ReferencePicker]: Widget for id ${id} already registered`);
22
15
  return;
23
16
  }
24
17
  window._vue_richtext_widgets[id] = {
@@ -27,8 +20,9 @@ const registerWidget = (id, callback, onDestroy = (el) => {
27
20
  onDestroy,
28
21
  ...propsWithDefaults
29
22
  };
30
- };
31
- const renderWidget = (el, { richObjectType, richObject, accessible, interactive }) => {
23
+ }
24
+ function renderWidget(el, options) {
25
+ const { richObjectType, richObject, accessible, interactive } = options;
32
26
  if (richObjectType === "open-graph") {
33
27
  return;
34
28
  }
@@ -37,8 +31,8 @@ const renderWidget = (el, { richObjectType, richObject, accessible, interactive
37
31
  return;
38
32
  }
39
33
  window._vue_richtext_widgets[richObjectType].callback(el, { richObjectType, richObject, accessible, interactive });
40
- };
41
- const destroyWidget = (richObjectType, el) => {
34
+ }
35
+ function destroyWidget(richObjectType, el) {
42
36
  if (richObjectType === "open-graph") {
43
37
  return;
44
38
  }
@@ -46,37 +40,44 @@ const destroyWidget = (richObjectType, el) => {
46
40
  return;
47
41
  }
48
42
  window._vue_richtext_widgets[richObjectType].onDestroy(el);
49
- };
50
- window._registerWidget = (id, callback, onDestroy, props) => {
51
- registerWidget(id, callback, onDestroy, props);
52
- };
53
- if (!window._vue_richtext_custom_picker_elements) {
54
- window._vue_richtext_custom_picker_elements = {};
55
43
  }
44
+ function isWidgetRegistered(id) {
45
+ return !!window._vue_richtext_widgets[id];
46
+ }
47
+ function hasInteractiveView(id) {
48
+ return !!window._vue_richtext_widgets[id]?.hasInteractiveView;
49
+ }
50
+ function hasFullWidth(id) {
51
+ return !!window._vue_richtext_widgets[id]?.fullWidth;
52
+ }
53
+ window._vue_richtext_custom_picker_elements ??= {};
54
+ window._registerCustomPickerElement ??= registerCustomPickerElement;
56
55
  class NcCustomPickerRenderResult {
56
+ element;
57
+ object;
57
58
  /**
58
- * @param {HTMLElement} element The HTML element
59
- * @param {object} object The object
59
+ * @param element - The HTML element
60
+ * @param object - The object
60
61
  */
61
62
  constructor(element, object) {
62
63
  this.element = element;
63
64
  this.object = object;
64
65
  }
65
66
  }
66
- const isCustomPickerElementRegistered = (id) => {
67
+ function isCustomPickerElementRegistered(id) {
67
68
  return !!window._vue_richtext_custom_picker_elements[id];
68
- };
69
- const getCustomPickerElementSize = (id) => {
69
+ }
70
+ function getCustomPickerElementSize(id) {
70
71
  const size = window._vue_richtext_custom_picker_elements[id]?.size;
71
72
  if (["small", "normal", "large", "full"].includes(size)) {
72
73
  return size;
73
74
  }
74
75
  return null;
75
- };
76
- const registerCustomPickerElement = (id, callback, onDestroy = (el) => {
77
- }, size = "large") => {
76
+ }
77
+ function registerCustomPickerElement(id, callback, onDestroy = () => {
78
+ }, size = "large") {
78
79
  if (window._vue_richtext_custom_picker_elements[id]) {
79
- console.error("Custom reference picker element for id " + id + " already registered");
80
+ logger.error(`Custom reference picker element for id ${id} already registered`);
80
81
  return;
81
82
  }
82
83
  window._vue_richtext_custom_picker_elements[id] = {
@@ -85,33 +86,33 @@ const registerCustomPickerElement = (id, callback, onDestroy = (el) => {
85
86
  onDestroy,
86
87
  size
87
88
  };
88
- };
89
- const renderCustomPickerElement = (el, { providerId, accessible }) => {
89
+ }
90
+ function renderCustomPickerElement(el, options) {
91
+ const { providerId, accessible } = options;
90
92
  if (!window._vue_richtext_custom_picker_elements[providerId]) {
91
- console.error("Custom reference picker element for reference provider ID " + providerId + " not registered");
93
+ logger.error(`Custom reference picker element for reference provider ID ${providerId} not registered`);
92
94
  return;
93
95
  }
94
96
  return window._vue_richtext_custom_picker_elements[providerId].callback(el, { providerId, accessible });
95
- };
96
- const destroyCustomPickerElement = (providerId, el, renderResult) => {
97
+ }
98
+ function destroyCustomPickerElement(providerId, el, renderResult) {
97
99
  if (!window._vue_richtext_custom_picker_elements[providerId]) {
98
100
  return;
99
101
  }
100
102
  window._vue_richtext_custom_picker_elements[providerId].onDestroy(el, renderResult);
101
- };
102
- window._registerCustomPickerElement = registerCustomPickerElement;
103
+ }
103
104
  export {
104
105
  NcCustomPickerRenderResult as N,
105
106
  renderWidget as a,
106
107
  registerCustomPickerElement as b,
107
108
  renderCustomPickerElement as c,
108
- isCustomPickerElementRegistered as d,
109
+ destroyWidget as d,
109
110
  destroyCustomPickerElement as e,
110
- destroyWidget as f,
111
- hasFullWidth as g,
111
+ isCustomPickerElementRegistered as f,
112
+ getCustomPickerElementSize as g,
112
113
  hasInteractiveView as h,
113
114
  isWidgetRegistered as i,
114
- getCustomPickerElementSize as j,
115
+ hasFullWidth as j,
115
116
  registerWidget as r
116
117
  };
117
- //# sourceMappingURL=index-BF8joS9W.mjs.map
118
+ //# sourceMappingURL=customPickerElements-CH9vlHLd.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customPickerElements-CH9vlHLd.mjs","sources":["../../src/functions/reference/widgets.ts","../../src/functions/reference/customPickerElements.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger.ts'\n\nexport interface ReferenceWidgetRenderProperties {\n\trichObjectType: string;\n\trichObject: object;\n\taccessible: boolean;\n\tinteractive: boolean;\n}\n\ntype ReferenceWidgetRenderCallback = (el: HTMLElement, properties: ReferenceWidgetRenderProperties) => void;\ntype ReferenceWidgetDestroyCallback = (el: HTMLElement) => void;\n\nexport interface ReferenceWidgetProps {\n\tid: string;\n\thasInteractiveView: boolean;\n\tfullWidth: boolean;\n\tcallback: ReferenceWidgetRenderCallback;\n\tonDestroy: ReferenceWidgetDestroyCallback;\n}\n\nwindow._vue_richtext_widgets ??= {}\nwindow._registerWidget ??= (id: string, callback: ReferenceWidgetRenderCallback, onDestroy: ReferenceWidgetDestroyCallback, props: Partial<ReferenceWidgetProps>) => {\n\tregisterWidget(id, callback, onDestroy, props)\n}\n\n/**\n * Register a new reference widget\n *\n * @param id - Id tof the widget\n * @param callback - Render callback\n * @param onDestroy - Cleanup callback\n * @param props - Widget props\n */\nexport function registerWidget(\n\tid: string,\n\tcallback: ReferenceWidgetRenderCallback,\n\tonDestroy: ReferenceWidgetDestroyCallback = () => {},\n\tprops?: Partial<ReferenceWidgetProps>,\n) {\n\tconst propsWithDefaults = {\n\t\thasInteractiveView: true,\n\t\tfullWidth: false,\n\t\t...props,\n\t}\n\n\tif (window._vue_richtext_widgets[id]) {\n\t\tlogger.error(`[ReferencePicker]: Widget for id ${id} already registered`)\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[id] = {\n\t\tid,\n\t\tcallback,\n\t\tonDestroy,\n\t\t...propsWithDefaults,\n\t}\n}\n\n/**\n * Render a reference widget to a given HTML element.\n *\n * @param el - The element to render widget to\n * @param options - render options\n */\nexport function renderWidget(el: HTMLElement, options: ReferenceWidgetRenderProperties) {\n\tconst { richObjectType, richObject, accessible, interactive } = options\n\tif (richObjectType === 'open-graph') {\n\t\treturn\n\t}\n\n\tif (!window._vue_richtext_widgets[richObjectType]) {\n\t\tconsole.error('Widget for rich object type ' + richObjectType + ' not registered')\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[richObjectType].callback(el, { richObjectType, richObject, accessible, interactive })\n}\n\n/**\n * Call the cleanup callback of the reference widget for given object type.\n *\n * @param richObjectType - The object type\n * @param el - The element\n */\nexport function destroyWidget(richObjectType: string, el: HTMLElement) {\n\tif (richObjectType === 'open-graph') {\n\t\treturn\n\t}\n\n\tif (!window._vue_richtext_widgets[richObjectType]) {\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[richObjectType].onDestroy(el)\n}\n\n/**\n * Check if a widget with the give id is registered.\n * @param id - Id of the widget\n */\nexport function isWidgetRegistered(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]\n}\n\n/**\n * Check if the given widget has an interactive view.\n *\n * @param id - Id of the widget\n */\nexport function hasInteractiveView(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]?.hasInteractiveView\n}\n\n/**\n * Check if the widget supports full width.\n *\n * @param id - Id of the widget\n */\nexport function hasFullWidth(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]?.fullWidth\n}\n","/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger'\n\nwindow._vue_richtext_custom_picker_elements ??= {}\nwindow._registerCustomPickerElement ??= registerCustomPickerElement\n\n/**\n * Representation of the render callback result\n * It contains a dom element and an object (Vue instance or other fancy things)\n */\nexport class NcCustomPickerRenderResult {\n\n\tpublic element: HTMLElement\n\tpublic object: object\n\n\t/**\n\t * @param element - The HTML element\n\t * @param object - The object\n\t */\n\tconstructor(element: HTMLElement, object: object) {\n\t\tthis.element = element\n\t\tthis.object = object\n\t}\n\n}\n\ninterface CustomPickerElementProps {\n\tproviderId: number\n\taccessible: boolean\n}\n\ntype CustomPickerElementRegistrationCallback = (el: HTMLElement, options: CustomPickerElementProps) => void\ntype CustomPickerElementDestroyCallback = (el: HTMLElement, result: NcCustomPickerRenderResult) => void\n\nexport interface CustomPickerElement {\n\tid: string\n\tsize: 'small' | 'normal' | 'large' | 'full'\n\n\tcallback: CustomPickerElementRegistrationCallback\n\tonDestroy: CustomPickerElementDestroyCallback\n}\n\n/**\n * @param id - Id of the element to check\n */\nexport function isCustomPickerElementRegistered(id: string): boolean {\n\treturn !!window._vue_richtext_custom_picker_elements[id]\n}\n\n/**\n * @param id - Id of the element to get\n */\nexport function getCustomPickerElementSize(id: string): 'small' | 'normal' | 'large' | 'full' | null {\n\tconst size = window._vue_richtext_custom_picker_elements[id]?.size\n\tif (['small', 'normal', 'large', 'full'].includes(size)) {\n\t\treturn size\n\t}\n\treturn null\n}\n\n/**\n * @param id - Id of element to register\n * @param callback - Render callback\n * @param onDestroy - Cleanup callback\n * @param size - Size of the element\n */\nexport function registerCustomPickerElement(\n\tid: string,\n\tcallback: CustomPickerElementRegistrationCallback,\n\tonDestroy: CustomPickerElementDestroyCallback = () => {},\n\tsize: CustomPickerElement['size'] = 'large',\n) {\n\tif (window._vue_richtext_custom_picker_elements[id]) {\n\t\tlogger.error(`Custom reference picker element for id ${id} already registered`)\n\t\treturn\n\t}\n\n\twindow._vue_richtext_custom_picker_elements[id] = {\n\t\tid,\n\t\tcallback,\n\t\tonDestroy,\n\t\tsize,\n\t}\n}\n\n/**\n * @param el - element to render to\n * @param options - Element options\n */\nexport function renderCustomPickerElement(el: HTMLElement, options: CustomPickerElementProps) {\n\tconst { providerId, accessible } = options\n\tif (!window._vue_richtext_custom_picker_elements[providerId]) {\n\t\tlogger.error(`Custom reference picker element for reference provider ID ${providerId} not registered`)\n\t\treturn\n\t}\n\n\treturn window._vue_richtext_custom_picker_elements[providerId]\n\t\t.callback(el, { providerId, accessible })\n}\n\n/**\n * @param providerId - Provider id of element to destroy\n * @param el - The element to destroy element from\n * @param renderResult - The render result\n */\nexport function destroyCustomPickerElement(providerId: string, el: HTMLElement, renderResult: NcCustomPickerRenderResult) {\n\tif (!window._vue_richtext_custom_picker_elements[providerId]) {\n\t\treturn\n\t}\n\n\twindow._vue_richtext_custom_picker_elements[providerId]\n\t\t.onDestroy(el, renderResult)\n}\n"],"names":[],"mappings":";AAyBA,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC,IAAY,UAAyC,WAA2C,UAAyC;AACrJ,iBAAA,IAAI,UAAU,WAAW,KAAK;AAC9C;AAUO,SAAS,eACf,IACA,UACA,YAA4C,MAAM;AAAC,GACnD,OACC;AACD,QAAM,oBAAoB;AAAA,IACzB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,GAAG;AAAA,EACJ;AAEI,MAAA,OAAO,sBAAsB,EAAE,GAAG;AAC9B,WAAA,MAAM,oCAAoC,EAAE,qBAAqB;AACxE;AAAA,EAAA;AAGM,SAAA,sBAAsB,EAAE,IAAI;AAAA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S,IAAI,GAAG;AACjD,WAAA;AAAA,EAAA;AAED,SAAA;AACR;AAQO,SAAS,4BACf,IACA,UACA,YAAgD,MAAM;AAAC,GACvD,OAAoC,SACnC;AACG,MAAA,OAAO,qCAAqC,EAAE,GAAG;AAC7C,WAAA,MAAM,0CAA0C,EAAE,qBAAqB;AAC9E;AAAA,EAAA;AAGM,SAAA,qCAAqC,EAAE,IAAI;AAAA,IACjD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACD;AAMgB,SAAA,0BAA0B,IAAiB,SAAmC;AACvF,QAAA,EAAE,YAAY,WAAA,IAAe;AACnC,MAAI,CAAC,OAAO,qCAAqC,UAAU,GAAG;AACtD,WAAA,MAAM,6DAA6D,UAAU,iBAAiB;AACrG;AAAA,EAAA;AAGM,SAAA,OAAO,qCAAqC,UAAU,EAC3D,SAAS,IAAI,EAAE,YAAY,YAAY;AAC1C;AAOgB,SAAA,2BAA2B,YAAoB,IAAiB,cAA0C;AACzH,MAAI,CAAC,OAAO,qCAAqC,UAAU,GAAG;AAC7D;AAAA,EAAA;AAGD,SAAO,qCAAqC,UAAU,EACpD,UAAU,IAAI,YAAY;AAC7B;"}
@@ -11,6 +11,8 @@ var mdiChevronRight = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.5
11
11
  var mdiChevronUp = "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z";
12
12
  var mdiClock = "M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z";
13
13
  var mdiClose = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";
14
+ var mdiEye = "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z";
15
+ var mdiEyeOff = "M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z";
14
16
  var mdiInformation = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
15
17
  var mdiUndo = "M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z";
16
18
  export {
@@ -23,11 +25,13 @@ export {
23
25
  mdiInformation as g,
24
26
  mdiCheckboxMarkedCircle as h,
25
27
  mdiAlertDecagram as i,
26
- mdiChevronUp as j,
27
- mdiChevronDown as k,
28
- mdiChevronLeft as l,
28
+ mdiEyeOff as j,
29
+ mdiEye as k,
30
+ mdiChevronUp as l,
29
31
  mdiArrowRight as m,
30
- mdiClock as n,
31
- mdiCalendarBlank as o
32
+ mdiChevronDown as n,
33
+ mdiChevronLeft as o,
34
+ mdiClock as p,
35
+ mdiCalendarBlank as q
32
36
  };
33
- //# sourceMappingURL=mdi-CWpCzTmH.mjs.map
37
+ //# sourceMappingURL=mdi-D6fu5i4r.mjs.map