@nextcloud/vue 8.7.0 → 8.8.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.
- package/CHANGELOG.md +36 -0
- package/dist/Components/NcActionButtonGroup.cjs +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +1 -1
- package/dist/Components/NcActionInput.cjs +1 -1
- package/dist/Components/NcActionInput.mjs +1 -1
- package/dist/Components/NcActions.cjs +1 -1
- package/dist/Components/NcActions.mjs +1 -1
- package/dist/Components/NcAppContent.cjs +1 -1
- package/dist/Components/NcAppContent.mjs +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +1 -1
- package/dist/Components/NcAppNavigationList.cjs +20 -0
- package/dist/Components/NcAppNavigationList.cjs.map +1 -0
- package/dist/Components/NcAppNavigationList.mjs +22 -0
- package/dist/Components/NcAppNavigationList.mjs.map +1 -0
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +2 -2
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +5 -5
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +1 -1
- package/dist/Components/NcBreadcrumb.mjs +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
- package/dist/Components/NcColorPicker.cjs +1 -1
- package/dist/Components/NcColorPicker.mjs +1 -1
- package/dist/Components/NcContent.cjs +1 -1
- package/dist/Components/NcContent.mjs +1 -1
- package/dist/Components/NcDashboardWidget.cjs +1 -1
- package/dist/Components/NcDashboardWidget.mjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +1 -1
- package/dist/Components/NcDateTime.mjs +1 -1
- package/dist/Components/NcDateTimePicker.cjs +2 -2
- package/dist/Components/NcDateTimePicker.mjs +5 -5
- package/dist/Components/NcDateTimePickerNative.cjs +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +1 -1
- package/dist/Components/NcDialog.cjs +1 -1
- package/dist/Components/NcDialog.mjs +1 -1
- package/dist/Components/NcDialogButton.cjs +1 -1
- package/dist/Components/NcDialogButton.mjs +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +1 -1
- package/dist/Components/NcListItem.cjs +1 -1
- package/dist/Components/NcListItem.mjs +1 -1
- package/dist/Components/NcListItemIcon.cjs +1 -1
- package/dist/Components/NcListItemIcon.mjs +1 -1
- package/dist/Components/NcModal.cjs +1 -1
- package/dist/Components/NcModal.mjs +3 -3
- package/dist/Components/NcPasswordField.cjs +1 -1
- package/dist/Components/NcPasswordField.mjs +1 -1
- package/dist/Components/NcPopover.cjs +1 -1
- package/dist/Components/NcPopover.mjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +1 -1
- package/dist/Components/NcRichContenteditable.mjs +2 -2
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +3 -3
- package/dist/Components/NcSelect.cjs +1 -1
- package/dist/Components/NcSelect.mjs +1 -1
- package/dist/Components/NcSelectTags.cjs +1 -1
- package/dist/Components/NcSelectTags.mjs +1 -1
- package/dist/Components/NcSettingsInputText.cjs +1 -1
- package/dist/Components/NcSettingsInputText.mjs +1 -1
- package/dist/Components/NcSettingsSection.cjs +1 -1
- package/dist/Components/NcSettingsSection.mjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
- package/dist/Components/NcTextField.cjs +1 -1
- package/dist/Components/NcTextField.mjs +1 -1
- package/dist/Components/NcTimezonePicker.cjs +1 -1
- package/dist/Components/NcTimezonePicker.mjs +1 -1
- package/dist/Components/NcUserBubble.cjs +1 -1
- package/dist/Components/NcUserBubble.mjs +1 -1
- package/dist/Components/NcUserStatusIcon.cjs +1 -1
- package/dist/Components/NcUserStatusIcon.mjs +1 -1
- package/dist/Functions/reference.cjs +1 -1
- package/dist/Functions/reference.mjs +1 -1
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/richEditor.cjs +1 -1
- package/dist/Mixins/richEditor.mjs +1 -1
- package/dist/assets/{NcActions-4Gq5bZLW.css → NcActions-mt8BQ_bn.css} +12 -12
- package/dist/assets/{NcAppNavigation-vjqOL-kR.css → NcAppNavigation-9nlYnuUQ.css} +8 -8
- package/dist/assets/{NcAppNavigationCaption-l5yRGXZx.css → NcAppNavigationCaption-I1dcvB0N.css} +11 -5
- package/dist/assets/NcAppNavigationList-RooPPg4w.css +44 -0
- package/dist/assets/NcAppNavigationSpacer-uaft91Uz.css +4 -0
- package/dist/assets/{NcAppSidebar-YHd7DpMW.css → NcAppSidebar-RkF-tqKy.css} +49 -46
- package/dist/assets/{NcColorPicker-PzIRM1j1.css → NcColorPicker-jW6HOxWA.css} +24 -24
- package/dist/assets/{NcDashboardWidgetItem-S7fELANA.css → NcDashboardWidgetItem-OL--xR_P.css} +15 -13
- package/dist/assets/{NcDateTimePicker-w8SEtYvQ.css → NcDateTimePicker-l-C3PwHK.css} +10 -10
- package/dist/assets/{NcEmojiPicker-wTIbvcrG.css → NcEmojiPicker-hTlSVIq0.css} +5 -5
- package/dist/assets/{NcIconSvgWrapper-arqrq5Bj.css → NcIconSvgWrapper-KLotijwU.css} +13 -7
- package/dist/assets/{NcRelatedResourcesPanel-m3uf_nvH.css → NcRelatedResourcesPanel-oq5eMIoh.css} +7 -7
- package/dist/assets/{NcRichContenteditable-N1TxeACO.css → NcRichContenteditable-rW6l0h3m.css} +33 -31
- package/dist/chunks/{GenColors-zPMSiY0e.cjs → GenColors-LzmNxRE8.cjs} +1 -1
- package/dist/chunks/{GenColors-zPMSiY0e.cjs.map → GenColors-LzmNxRE8.cjs.map} +1 -1
- package/dist/chunks/{GenColors-wNwbCHuq.mjs → GenColors-MjG_SfWn.mjs} +1 -1
- package/dist/chunks/{GenColors-wNwbCHuq.mjs.map → GenColors-MjG_SfWn.mjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-HIUn669C.cjs → NcActionButtonGroup-6TAtQFtq.cjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-HIUn669C.cjs.map → NcActionButtonGroup-6TAtQFtq.cjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-A5Ixaw5n.mjs → NcActionButtonGroup-w6A9Fw2n.mjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-A5Ixaw5n.mjs.map → NcActionButtonGroup-w6A9Fw2n.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-f1Oq2O71.cjs → NcActionInput-Fl2UyuVW.cjs} +1 -1
- package/dist/chunks/{NcActionInput-f1Oq2O71.cjs.map → NcActionInput-Fl2UyuVW.cjs.map} +1 -1
- package/dist/chunks/{NcActionInput-XHMzOL_h.mjs → NcActionInput-yvhGpEsS.mjs} +4 -4
- package/dist/chunks/{NcActionInput-XHMzOL_h.mjs.map → NcActionInput-yvhGpEsS.mjs.map} +1 -1
- package/dist/chunks/{NcActions-JXnhQhum.cjs → NcActions-iACO4laf.cjs} +143 -70
- package/dist/chunks/NcActions-iACO4laf.cjs.map +1 -0
- package/dist/chunks/{NcActions-5_igU-CH.mjs → NcActions-rHzi4RcQ.mjs} +153 -80
- package/dist/chunks/NcActions-rHzi4RcQ.mjs.map +1 -0
- package/dist/chunks/{NcAppContent-Kq5fJ7_W.cjs → NcAppContent--JRFOyLe.cjs} +1 -1
- package/dist/chunks/{NcAppContent-Kq5fJ7_W.cjs.map → NcAppContent--JRFOyLe.cjs.map} +1 -1
- package/dist/chunks/{NcAppContent-WBzZJh-y.mjs → NcAppContent-c0KjHkMb.mjs} +1 -1
- package/dist/chunks/{NcAppContent-WBzZJh-y.mjs.map → NcAppContent-c0KjHkMb.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-n6P3oVZv.mjs → NcAppNavigation-7U8buuT7.mjs} +8 -8
- package/dist/chunks/NcAppNavigation-7U8buuT7.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-U6yaDk7k.cjs → NcAppNavigation-AcPesLHq.cjs} +4 -4
- package/dist/chunks/NcAppNavigation-AcPesLHq.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-Iuzt-yzb.cjs +58 -0
- package/dist/chunks/NcAppNavigationCaption-Iuzt-yzb.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-UJ7iY1q5.mjs +61 -0
- package/dist/chunks/NcAppNavigationCaption-UJ7iY1q5.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationItem-A1yAdDNN.mjs → NcAppNavigationItem-9n2uXjvj.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationItem-A1yAdDNN.mjs.map → NcAppNavigationItem-9n2uXjvj.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-Wb8gX-Ln.cjs → NcAppNavigationItem-pvFIrGQv.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationItem-Wb8gX-Ln.cjs.map → NcAppNavigationItem-pvFIrGQv.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-TyGHutbG.cjs → NcAppNavigationNewItem-CXGDvuMl.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-TyGHutbG.cjs.map → NcAppNavigationNewItem-CXGDvuMl.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-t1ST1cif.mjs → NcAppNavigationNewItem-jr12p6VL.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-t1ST1cif.mjs.map → NcAppNavigationNewItem-jr12p6VL.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-gwL_FqLN.mjs → NcAppNavigationSettings-NRqRmMXw.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-gwL_FqLN.mjs.map → NcAppNavigationSettings-NRqRmMXw.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-VLa79G7w.cjs → NcAppNavigationSettings-Nd8RJnYL.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-VLa79G7w.cjs.map → NcAppNavigationSettings-Nd8RJnYL.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-Wz0s35Rd.cjs → NcAppNavigationToggle-KZ_xHLv9.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-Wz0s35Rd.cjs.map → NcAppNavigationToggle-KZ_xHLv9.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-KT8eqw6r.mjs → NcAppNavigationToggle-kL5XkG2J.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-KT8eqw6r.mjs.map → NcAppNavigationToggle-kL5XkG2J.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-h22q7l_7.cjs → NcAppSettingsDialog-8l-aNNFq.cjs} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-h22q7l_7.cjs.map → NcAppSettingsDialog-8l-aNNFq.cjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-5t3vGpRF.mjs → NcAppSettingsDialog-S9pm_eoJ.mjs} +2 -2
- package/dist/chunks/{NcAppSettingsDialog-5t3vGpRF.mjs.map → NcAppSettingsDialog-S9pm_eoJ.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-tnHBPGbL.mjs → NcAppSidebar-kN5SMxgh.mjs} +8 -6
- package/dist/chunks/NcAppSidebar-kN5SMxgh.mjs.map +1 -0
- package/dist/chunks/{NcAppSidebar-rRNJnN-k.cjs → NcAppSidebar-l6rV-lnp.cjs} +7 -5
- package/dist/chunks/NcAppSidebar-l6rV-lnp.cjs.map +1 -0
- package/dist/chunks/{NcAvatar-zTS9P1lK.cjs → NcAvatar-CVj9XTPL.cjs} +2 -2
- package/dist/chunks/{NcAvatar-zTS9P1lK.cjs.map → NcAvatar-CVj9XTPL.cjs.map} +1 -1
- package/dist/chunks/{NcAvatar-xT3kz6mU.mjs → NcAvatar-MI8_N7U1.mjs} +4 -4
- package/dist/chunks/{NcAvatar-xT3kz6mU.mjs.map → NcAvatar-MI8_N7U1.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-DEWk7wO9.cjs → NcBreadcrumb-EhfhBqAL.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-DEWk7wO9.cjs.map → NcBreadcrumb-EhfhBqAL.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-w1UX2NR-.mjs → NcBreadcrumb-LpXeIBcG.mjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-w1UX2NR-.mjs.map → NcBreadcrumb-LpXeIBcG.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-tRR9CjKD.mjs → NcBreadcrumbs--4xgDVR7.mjs} +2 -2
- package/dist/chunks/{NcBreadcrumbs-tRR9CjKD.mjs.map → NcBreadcrumbs--4xgDVR7.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-VuaG3ex5.cjs → NcBreadcrumbs-zYhyJxEY.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumbs-VuaG3ex5.cjs.map → NcBreadcrumbs-zYhyJxEY.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-7pZp_rWo.cjs → NcCheckboxRadioSwitch-Ox3J2r7t.cjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-7pZp_rWo.cjs.map → NcCheckboxRadioSwitch-Ox3J2r7t.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-PlgK1zWr.mjs → NcCheckboxRadioSwitch-ymUA5BIs.mjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-PlgK1zWr.mjs.map → NcCheckboxRadioSwitch-ymUA5BIs.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-rJ3UZLGm.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0EjSdGnM.mjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0EjSdGnM.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-kOW4T17e.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0FNcC7Nt.cjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0FNcC7Nt.cjs.map +1 -0
- package/dist/chunks/{NcColorPicker-rPobPO3M.mjs → NcColorPicker-1m1Xv5fE.mjs} +6 -6
- package/dist/chunks/NcColorPicker-1m1Xv5fE.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-yr9Pfeem.cjs → NcColorPicker-7PNp6DUg.cjs} +4 -4
- package/dist/chunks/NcColorPicker-7PNp6DUg.cjs.map +1 -0
- package/dist/chunks/{NcContent-BdekB7Zr.cjs → NcContent-L5DDeJmE.cjs} +1 -1
- package/dist/chunks/{NcContent-BdekB7Zr.cjs.map → NcContent-L5DDeJmE.cjs.map} +1 -1
- package/dist/chunks/{NcContent-EGBAB5sy.mjs → NcContent-YJfqE5Kv.mjs} +2 -2
- package/dist/chunks/{NcContent-EGBAB5sy.mjs.map → NcContent-YJfqE5Kv.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-QciRRvL4.cjs → NcDashboardWidget-KPADyPUh.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidget-QciRRvL4.cjs.map → NcDashboardWidget-KPADyPUh.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-ogqyHahY.mjs → NcDashboardWidget-oUPY199x.mjs} +3 -3
- package/dist/chunks/{NcDashboardWidget-ogqyHahY.mjs.map → NcDashboardWidget-oUPY199x.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-mIPkPR7r.cjs → NcDashboardWidgetItem-KpDnCM7Y.cjs} +4 -4
- package/dist/chunks/NcDashboardWidgetItem-KpDnCM7Y.cjs.map +1 -0
- package/dist/chunks/{NcDashboardWidgetItem-wuUHTeLl.mjs → NcDashboardWidgetItem-iZA9aHuL.mjs} +7 -7
- package/dist/chunks/NcDashboardWidgetItem-iZA9aHuL.mjs.map +1 -0
- package/dist/chunks/{NcDateTime-UCw1o96E.mjs → NcDateTime-EqdvmXRa.mjs} +1 -1
- package/dist/chunks/{NcDateTime-UCw1o96E.mjs.map → NcDateTime-EqdvmXRa.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-hyWStpUj.cjs → NcDateTime-ez2Mc6Ut.cjs} +1 -1
- package/dist/chunks/{NcDateTime-hyWStpUj.cjs.map → NcDateTime-ez2Mc6Ut.cjs.map} +1 -1
- package/dist/chunks/{NcDialog-652A8lMI.mjs → NcDialog-_HZnlBi4.mjs} +1 -1
- package/dist/chunks/{NcDialog-652A8lMI.mjs.map → NcDialog-_HZnlBi4.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-dPYf81Dr.cjs → NcDialog-f6KwlaqC.cjs} +1 -1
- package/dist/chunks/{NcDialog-dPYf81Dr.cjs.map → NcDialog-f6KwlaqC.cjs.map} +1 -1
- package/dist/chunks/{NcDialogButton-V3nj_xwS.cjs → NcDialogButton-CtdP0-DO.cjs} +1 -1
- package/dist/chunks/{NcDialogButton-V3nj_xwS.cjs.map → NcDialogButton-CtdP0-DO.cjs.map} +1 -1
- package/dist/chunks/{NcDialogButton-QuoJDLGH.mjs → NcDialogButton-xDZQrfsw.mjs} +1 -1
- package/dist/chunks/{NcDialogButton-QuoJDLGH.mjs.map → NcDialogButton-xDZQrfsw.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-O0EAGlkS.mjs → NcEmojiPicker-Qi10uLHB.mjs} +8 -8
- package/dist/chunks/NcEmojiPicker-Qi10uLHB.mjs.map +1 -0
- package/dist/chunks/{NcEmojiPicker-xzt2RvDK.cjs → NcEmojiPicker-gZaqE1rk.cjs} +13 -13
- package/dist/chunks/NcEmojiPicker-gZaqE1rk.cjs.map +1 -0
- package/dist/chunks/{NcIconSvgWrapper-n3MnAe1S.mjs → NcIconSvgWrapper-CvnWKK7h.mjs} +23 -15
- package/dist/chunks/NcIconSvgWrapper-CvnWKK7h.mjs.map +1 -0
- package/dist/chunks/{NcIconSvgWrapper-R7a7dIg4.cjs → NcIconSvgWrapper-RwagV5P9.cjs} +20 -12
- package/dist/chunks/NcIconSvgWrapper-RwagV5P9.cjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-z3ANO-1N.mjs → NcInputConfirmCancel-EgnZwbmj.mjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-z3ANO-1N.mjs.map → NcInputConfirmCancel-EgnZwbmj.mjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-tvpFnpKT.cjs → NcInputConfirmCancel-wK1KES_K.cjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-tvpFnpKT.cjs.map → NcInputConfirmCancel-wK1KES_K.cjs.map} +1 -1
- package/dist/chunks/{NcListItem--_PCqetA.cjs → NcListItem-7wde4DHX.cjs} +1 -1
- package/dist/chunks/{NcListItem--_PCqetA.cjs.map → NcListItem-7wde4DHX.cjs.map} +1 -1
- package/dist/chunks/{NcListItem-AMcc69jK.mjs → NcListItem-DwAhV_Om.mjs} +2 -2
- package/dist/chunks/{NcListItem-AMcc69jK.mjs.map → NcListItem-DwAhV_Om.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-BnoIbVbD.cjs → NcListItemIcon-1qPc7NDv.cjs} +1 -1
- package/dist/chunks/{NcListItemIcon-BnoIbVbD.cjs.map → NcListItemIcon-1qPc7NDv.cjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-rqgXledP.mjs → NcListItemIcon-S06TFU1A.mjs} +2 -2
- package/dist/chunks/{NcListItemIcon-rqgXledP.mjs.map → NcListItemIcon-S06TFU1A.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-EbKN3MlL.mjs → NcPasswordField-F30zJsph.mjs} +1 -1
- package/dist/chunks/{NcPasswordField-EbKN3MlL.mjs.map → NcPasswordField-F30zJsph.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-IkBZCjOy.cjs → NcPasswordField-hngMvgyo.cjs} +1 -1
- package/dist/chunks/{NcPasswordField-IkBZCjOy.cjs.map → NcPasswordField-hngMvgyo.cjs.map} +1 -1
- package/dist/chunks/{NcPopover-T4GMXmKV.mjs → NcPopover-93ns_0K4.mjs} +38 -23
- package/dist/chunks/NcPopover-93ns_0K4.mjs.map +1 -0
- package/dist/chunks/{NcPopover-judBGW5r.cjs → NcPopover-fv7OFtxM.cjs} +33 -18
- package/dist/chunks/NcPopover-fv7OFtxM.cjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-f2UeB_6X.cjs → NcRelatedResourcesPanel-f1Up3M7Q.cjs} +22 -17
- package/dist/chunks/NcRelatedResourcesPanel-f1Up3M7Q.cjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-EDvgZgjQ.mjs → NcRelatedResourcesPanel-zXNE9qiS.mjs} +27 -21
- package/dist/chunks/NcRelatedResourcesPanel-zXNE9qiS.mjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-jReu2l-M.cjs → NcRichContenteditable--pSQfJW9.cjs} +45 -46
- package/dist/chunks/NcRichContenteditable--pSQfJW9.cjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-eG8Fyo-M.mjs → NcRichContenteditable-lE_j-Gfc.mjs} +36 -37
- package/dist/chunks/NcRichContenteditable-lE_j-Gfc.mjs.map +1 -0
- package/dist/chunks/{NcRichText-Yo5pFnd0.cjs → NcRichText-0eMrB-8S.cjs} +38 -38
- package/dist/chunks/{NcRichText-Yo5pFnd0.cjs.map → NcRichText-0eMrB-8S.cjs.map} +1 -1
- package/dist/chunks/{NcRichText-qID66jAy.mjs → NcRichText-Vm0d22pV.mjs} +9 -8
- package/dist/chunks/{NcRichText-qID66jAy.mjs.map → NcRichText-Vm0d22pV.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-b2H-YQsK.mjs → NcSelect-75KHhmKy.mjs} +2 -2
- package/dist/chunks/{NcSelect-b2H-YQsK.mjs.map → NcSelect-75KHhmKy.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-U9LJcdIo.cjs → NcSelect-DmqYvkx5.cjs} +1 -1
- package/dist/chunks/{NcSelect-U9LJcdIo.cjs.map → NcSelect-DmqYvkx5.cjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-MlILya2b.mjs → NcSelectTags--fJnxT3p.mjs} +2 -2
- package/dist/chunks/{NcSelectTags-MlILya2b.mjs.map → NcSelectTags--fJnxT3p.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-rO88Pk-1.cjs → NcSelectTags-hNbQxoKD.cjs} +1 -1
- package/dist/chunks/{NcSelectTags-rO88Pk-1.cjs.map → NcSelectTags-hNbQxoKD.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-0K3HYGJr.cjs → NcSettingsInputText-TsKBeDLR.cjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-0K3HYGJr.cjs.map → NcSettingsInputText-TsKBeDLR.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-Pz6fV7At.mjs → NcSettingsInputText-UaZCytJK.mjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-Pz6fV7At.mjs.map → NcSettingsInputText-UaZCytJK.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-CRmU7GLC.mjs → NcSettingsSection-bupJ6Jna.mjs} +1 -1
- package/dist/chunks/{NcSettingsSection-CRmU7GLC.mjs.map → NcSettingsSection-bupJ6Jna.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-IbUOeZ-e.cjs → NcSettingsSection-m79BAMzc.cjs} +1 -1
- package/dist/chunks/{NcSettingsSection-IbUOeZ-e.cjs.map → NcSettingsSection-m79BAMzc.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-rfeDPLCg.cjs → NcSettingsSelectGroup--i1OpaqD.cjs} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-rfeDPLCg.cjs.map → NcSettingsSelectGroup--i1OpaqD.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-xhnDBg8a.mjs → NcSettingsSelectGroup-OBtXPYek.mjs} +2 -2
- package/dist/chunks/{NcSettingsSelectGroup-xhnDBg8a.mjs.map → NcSettingsSelectGroup-OBtXPYek.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-NnW31cA4.mjs → NcTextField-J7CSrszM.mjs} +1 -1
- package/dist/chunks/{NcTextField-NnW31cA4.mjs.map → NcTextField-J7CSrszM.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-eclRKl_B.cjs → NcTextField-_LseQJYw.cjs} +1 -1
- package/dist/chunks/{NcTextField-eclRKl_B.cjs.map → NcTextField-_LseQJYw.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-KG0dvgUv.cjs → NcTimezonePicker-3_GbgBdk.cjs} +1 -1
- package/dist/chunks/{NcTimezonePicker-KG0dvgUv.cjs.map → NcTimezonePicker-3_GbgBdk.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-jJeiI-Ff.mjs → NcTimezonePicker-WyBb1HGy.mjs} +2 -2
- package/dist/chunks/{NcTimezonePicker-jJeiI-Ff.mjs.map → NcTimezonePicker-WyBb1HGy.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-9StjszDh.mjs → NcUserBubble-GvPAfzyX.mjs} +2 -2
- package/dist/chunks/{NcUserBubble-9StjszDh.mjs.map → NcUserBubble-GvPAfzyX.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-027_C0cM.cjs → NcUserBubble-dk-rgek6.cjs} +1 -1
- package/dist/chunks/{NcUserBubble-027_C0cM.cjs.map → NcUserBubble-dk-rgek6.cjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-pRUzQidI.mjs → NcUserStatusIcon-Y1esUu9e.mjs} +1 -1
- package/dist/chunks/{NcUserStatusIcon-pRUzQidI.mjs.map → NcUserStatusIcon-Y1esUu9e.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-79RsINrv.cjs → NcUserStatusIcon-vElqf2Lx.cjs} +1 -1
- package/dist/chunks/{NcUserStatusIcon-79RsINrv.cjs.map → NcUserStatusIcon-vElqf2Lx.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-R0tAsT2f.cjs → ScopeComponent-Cswoc9a6.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-R0tAsT2f.cjs.map → ScopeComponent-Cswoc9a6.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-9fOoDGYa.mjs → ScopeComponent-_g3nK3Vt.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-9fOoDGYa.mjs.map → ScopeComponent-_g3nK3Vt.mjs.map} +1 -1
- package/dist/chunks/_l10n-AmjncLyn.cjs +64 -0
- package/dist/chunks/_l10n-AmjncLyn.cjs.map +1 -0
- package/dist/chunks/_l10n-Y2fvkVoK.mjs +66 -0
- package/dist/chunks/_l10n-Y2fvkVoK.mjs.map +1 -0
- package/dist/chunks/autolink-gVCgJtXh.cjs +55 -0
- package/dist/chunks/autolink-gVCgJtXh.cjs.map +1 -0
- package/dist/chunks/autolink-oKM43mOC.mjs +59 -0
- package/dist/chunks/autolink-oKM43mOC.mjs.map +1 -0
- package/dist/chunks/{index-xnq0-IMW.mjs → index-05Rfhge1.mjs} +1 -1
- package/dist/chunks/index-05Rfhge1.mjs.map +1 -0
- package/dist/chunks/{index-5TyVc_TT.cjs → index-XRGLuo0a.cjs} +1 -1
- package/dist/chunks/index-XRGLuo0a.cjs.map +1 -0
- package/dist/chunks/{referencePickerModal-gDBkGfNV.mjs → referencePickerModal-TxU49swn.mjs} +474 -528
- package/dist/chunks/referencePickerModal-TxU49swn.mjs.map +1 -0
- package/dist/chunks/{referencePickerModal-cPBjsn4r.cjs → referencePickerModal-bKXpgb2c.cjs} +464 -517
- package/dist/chunks/referencePickerModal-bKXpgb2c.cjs.map +1 -0
- package/dist/chunks/{usernameToColor-D5bplyWJ.cjs → usernameToColor-AinK73Yf.cjs} +1 -1
- package/dist/chunks/{usernameToColor-D5bplyWJ.cjs.map → usernameToColor-AinK73Yf.cjs.map} +1 -1
- package/dist/chunks/{usernameToColor-xm3MLiw4.mjs → usernameToColor-CgFQ3CLQ.mjs} +1 -1
- package/dist/chunks/{usernameToColor-xm3MLiw4.mjs.map → usernameToColor-CgFQ3CLQ.mjs.map} +1 -1
- package/dist/index.cjs +125 -123
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +231 -228
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/assets/NcAppNavigationSpacer-MfL8GeCN.css +0 -5
- package/dist/chunks/NcActions-5_igU-CH.mjs.map +0 -1
- package/dist/chunks/NcActions-JXnhQhum.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-U6yaDk7k.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-n6P3oVZv.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-2rUO5Mns.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-2rUO5Mns.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-JQWbmgdy.cjs +0 -44
- package/dist/chunks/NcAppNavigationCaption-JQWbmgdy.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-rRNJnN-k.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-tnHBPGbL.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-kOW4T17e.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-rJ3UZLGm.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-rPobPO3M.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-yr9Pfeem.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-mIPkPR7r.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-wuUHTeLl.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-O0EAGlkS.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-xzt2RvDK.cjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-R7a7dIg4.cjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-n3MnAe1S.mjs.map +0 -1
- package/dist/chunks/NcPopover-T4GMXmKV.mjs.map +0 -1
- package/dist/chunks/NcPopover-judBGW5r.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-EDvgZgjQ.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-f2UeB_6X.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-eG8Fyo-M.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-jReu2l-M.cjs.map +0 -1
- package/dist/chunks/_l10n-FmsZpnE4.mjs +0 -66
- package/dist/chunks/_l10n-FmsZpnE4.mjs.map +0 -1
- package/dist/chunks/_l10n-Od-4xzJA.cjs +0 -64
- package/dist/chunks/_l10n-Od-4xzJA.cjs.map +0 -1
- package/dist/chunks/index-5TyVc_TT.cjs.map +0 -1
- package/dist/chunks/index-xnq0-IMW.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-cPBjsn4r.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-gDBkGfNV.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_l10n-Od-4xzJA.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-5TyVc_TT.cjs","sources":["../../src/components/NcRichContenteditable/NcMentionBubble.vue","../../src/mixins/richEditor/index.js"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<template>\n\t<span :class=\"{'mention-bubble--primary': primary}\"\n\t\tclass=\"mention-bubble\"\n\t\tcontenteditable=\"false\">\n\t\t<span class=\"mention-bubble__wrapper\">\n\t\t\t<span class=\"mention-bubble__content\">\n\t\t\t\t<!-- Avatar or icon -->\n\t\t\t\t<span :class=\"[icon, `mention-bubble__icon--${avatarUrl ? 'with-avatar' : ''}`]\"\n\t\t\t\t\t:style=\"avatarUrl ? { backgroundImage: `url(${avatarUrl})` } : null\"\n\t\t\t\t\tclass=\"mention-bubble__icon\" />\n\n\t\t\t\t<!-- Title -->\n\t\t\t\t<span role=\"heading\" class=\"mention-bubble__title\" :title=\"labelWithFallback\" />\n\t\t\t</span>\n\n\t\t\t<!-- Selectable text for copy/paste -->\n\t\t\t<span role=\"none\" class=\"mention-bubble__select\">{{ mentionText }}</span>\n\t\t</span>\n\t</span>\n</template>\n\n<script>\nimport { generateUrl } from '@nextcloud/router'\n\nexport default {\n\tname: 'NcMentionBubble',\n\n\tprops: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\t/**\n\t\t * @deprecated Use `label` instead\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: null,\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: null,\n\t\t},\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\ticonUrl: {\n\t\t\ttype: [String, null],\n\t\t\tdefault: null,\n\t\t},\n\t\tsource: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tcomputed: {\n\t\tavatarUrl() {\n\t\t\tif (this.iconUrl) {\n\t\t\t\treturn this.iconUrl\n\t\t\t}\n\n\t\t\treturn this.id && this.source === 'users'\n\t\t\t\t? this.getAvatarUrl(this.id, 44)\n\t\t\t\t: null\n\t\t},\n\t\tmentionText() {\n\t\t\treturn !this.id.includes(' ') && !this.id.includes('/')\n\t\t\t\t? `@${this.id}`\n\t\t\t\t: `@\"${this.id}\"`\n\t\t},\n\t\t// Fallback to title for compatibility\n\t\tlabelWithFallback() {\n\t\t\treturn this.label || this.title\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetAvatarUrl(user, size) {\n\t\t\treturn generateUrl('/avatar/{user}/{size}', {\n\t\t\t\tuser,\n\t\t\t\tsize,\n\t\t\t})\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$bubble-height: 20px;\n$bubble-max-width: 150px;\n$bubble-padding: 2px;\n$bubble-avatar-size: $bubble-height - 2 * $bubble-padding;\n\n.mention-bubble {\n\t&--primary &__content {\n\t\tcolor: var(--color-primary-element-text);\n\t\tbackground-color: var(--color-primary-element);\n\t}\n\n\t&__wrapper {\n\t\tmax-width: $bubble-max-width;\n\t\t// Align with text\n\t\theight: $bubble-height - $bubble-padding;\n\t\tvertical-align: text-bottom;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t}\n\n\t&__content {\n\t\tdisplay: inline-flex;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\t\tmax-width: 100%;\n\t\theight: $bubble-height ;\n\t\t-webkit-user-select: none;\n\t\tuser-select: none;\n\t\tpadding-right: $bubble-padding * 3;\n\t\tpadding-left: $bubble-padding;\n\t\tborder-radius: math.div($bubble-height, 2);\n\t\tbackground-color: var(--color-background-dark);\n\t}\n\n\t&__icon {\n\t\tposition: relative;\n\t\twidth: $bubble-avatar-size;\n\t\theight: $bubble-avatar-size;\n\t\tborder-radius: math.div($bubble-avatar-size, 2);\n\t\tbackground-color: var(--color-background-darker);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-size: $bubble-avatar-size - 2 * $bubble-padding;\n\n\t\t&--with-avatar {\n\t\t\tcolor: inherit;\n\t\t\tbackground-size: cover;\n\t\t}\n\t}\n\n\t&__title {\n\t\toverflow: hidden;\n\t\tmargin-left: $bubble-padding;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\t// Put title in ::before so it is not selectable\n\t\t&::before {\n\t\t\tcontent: attr(title);\n\t\t}\n\t}\n\n\t// Hide the mention id so it is selectable\n\t&__select {\n\t\tposition: absolute;\n\t\tz-index: -1;\n\t\tleft: -1000px;\n\t}\n}\n\n</style>\n","/**\n * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport NcMentionBubble from '../../components/NcRichContenteditable/NcMentionBubble.vue'\nimport Linkify from '../../utils/Linkify.js'\n\nimport escapeHtml from 'escape-html'\nimport stripTags from 'striptags'\nimport Vue from 'vue'\n\n// Beginning or whitespace. Non-capturing group\nconst MENTION_START = '(?:^|\\\\s)'\n// Anything that is not text or end-of-line. Non-capturing group\nconst MENTION_END = '(?:[^a-z]|$)'\nexport const USERID_REGEX = new RegExp(`${MENTION_START}(@[a-zA-Z0-9_.@\\\\-']+)(${MENTION_END})`, 'gi')\nexport const USERID_REGEX_WITH_SPACE = new RegExp(`${MENTION_START}(@"[a-zA-Z0-9 _.@\\\\-']+")(${MENTION_END})`, 'gi')\n\nexport default {\n\tprops: {\n\t\tuserData: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => ({}),\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Convert the value string to html for the inner content\n\t\t *\n\t\t * @param {string} value the content without html\n\t\t * @return {string} rendered html\n\t\t */\n\t\trenderContent(value) {\n\t\t\t// Sanitize the value prop\n\t\t\tconst sanitizedValue = escapeHtml(value)\n\n\t\t\t// Extract all the userIds\n\t\t\tconst splitValue = sanitizedValue.split(USERID_REGEX)\n\t\t\t\t.map(part => part.split(USERID_REGEX_WITH_SPACE)).flat()\n\n\t\t\t// Replace userIds by html\n\t\t\treturn splitValue\n\t\t\t\t.map(part => {\n\t\t\t\t\t// When splitting, the string is always putting the userIds\n\t\t\t\t\t// on the the uneven indexes. We only want to generate the mentions html\n\t\t\t\t\tif (!part.startsWith('@')) {\n\t\t\t\t\t\t// This part doesn't contain a mention, let's make sure links are parsed\n\t\t\t\t\t\treturn Linkify(part)\n\t\t\t\t\t}\n\n\t\t\t\t\t// Extracting the id, nuking the leading @ and all \"\n\t\t\t\t\tconst id = part.slice(1).replace(/"/gi, '')\n\t\t\t\t\t// Compiling template and prepend with the space we removed during the split\n\t\t\t\t\treturn ' ' + this.genSelectTemplate(id)\n\t\t\t\t})\n\t\t\t\t.join('')\n\t\t\t\t.replace(/\\n/gmi, '<br>')\n\t\t\t\t.replace(/&/gmi, '&')\n\t\t},\n\n\t\t/**\n\t\t * Convert the innerHtml content to a string with mentions as text\n\t\t *\n\t\t * @param {string} content the content without html\n\t\t * @return {string}\n\t\t */\n\t\tparseContent(content) {\n\t\t\tlet text = content.replace(/<br>/gmi, '\\n')\n\t\t\ttext = text.replace(/ /gmi, ' ')\n\t\t\ttext = text.replace(/&/gmi, '&')\n\n\t\t\t// Convert the mentions to text only\n\t\t\t// first we replace divs with new lines\n\t\t\ttext = text.replace(/<\\/div>/gmi, '\\n')\n\t\t\t// then we remove all leftover html\n\t\t\ttext = stripTags(text, '<div>')\n\t\t\ttext = stripTags(text)\n\n\t\t\treturn text\n\t\t},\n\n\t\t/**\n\t\t * Generate an autocompletion popup entry template\n\t\t *\n\t\t * @param {string} value the value to match against the userData\n\t\t * @return {string}\n\t\t */\n\t\tgenSelectTemplate(value) {\n\t\t\t// The value returned by this function will replace the trigger '@'\n\t\t\t// and the search text, so when there is no match we simply return\n\t\t\t// '@' and the text.\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\treturn `${this.autocompleteTribute.current.collection.trigger}${this.autocompleteTribute.current.mentionText}`\n\t\t\t}\n\n\t\t\tconst data = this.userData[value]\n\n\t\t\t// Fallback to @mention in case no data matches\n\t\t\tif (!data) {\n\t\t\t\t// return `@${value}`\n\t\t\t\treturn !value.includes(' ') && !value.includes('/')\n\t\t\t\t\t? `@${value}`\n\t\t\t\t\t: `@\"${value}\"`\n\t\t\t}\n\n\t\t\t// Return template and make sure we strip of new lines and tabs\n\t\t\treturn this.renderComponentHtml(data, NcMentionBubble).replace(/[\\n\\t]/gmi, '')\n\t\t},\n\n\t\t/**\n\t\t * Render a component and return its html content\n\t\t *\n\t\t * @param {object} propsData the props to pass to the component\n\t\t * @param {object} component the component to render\n\t\t * @return {string} the rendered html\n\t\t */\n\t\trenderComponentHtml(propsData, component) {\n\t\t\tconst View = Vue.extend(component)\n\t\t\tconst Item = new View({\n\t\t\t\tpropsData,\n\t\t\t})\n\n\t\t\t// Prepare mountpoint\n\t\t\tconst wrapper = document.createElement('div')\n\t\t\tconst mount = document.createElement('div')\n\t\t\twrapper.style.display = 'none'\n\t\t\twrapper.appendChild(mount)\n\t\t\tdocument.body.appendChild(wrapper)\n\n\t\t\t// Mount and get raw html\n\t\t\tItem.$mount(mount)\n\t\t\tconst renderedHtml = wrapper.innerHTML\n\n\t\t\t// Destroy\n\t\t\tItem.$destroy()\n\t\t\twrapper.remove()\n\n\t\t\treturn renderedHtml\n\t\t},\n\t},\n}\n"],"names":["_sfc_main","user","size","generateUrl","MENTION_START","MENTION_END","USERID_REGEX","USERID_REGEX_WITH_SPACE","richEditor","value","escapeHtml","part","Linkify","id","content","text","stripTags","data","NcMentionBubble","propsData","component","View","Vue","Item","w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OAAOA,IAAU;AACpB,eAAO,GAAG,KAAK,oBAAoB,QAAQ,WAAW,OAAO,GAAG,KAAK,oBAAoB,QAAQ,WAAW;AAG7G,YAAMQ,IAAO,KAAK,SAASR,CAAK;AAGhC,aAAKQ,IAQE,KAAK,oBAAoBA,GAAMC,CAAe,EAAE,QAAQ,aAAa,EAAE,IANtE,CAACT,EAAM,SAAS,GAAG,KAAK,CAACA,EAAM,SAAS,GAAG,IAC/C,IAAIA,CAAK,KACT,KAAKA,CAAK;AAAA,IAKd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASD,oBAAoBU,GAAWC,GAAW;AACzC,YAAMC,IAAOC,EAAAA,QAAI,OAAOF,CAAS,GAC3BG,IAAO,IAAIF,EAAK;AAAA,QACrB,WAAAF;AAAA,MACJ,CAAI,GAGKK,IAAU,SAAS,cAAc,KAAK,GACtCC,IAAQ,SAAS,cAAc,KAAK;AAC1C,MAAAD,EAAQ,MAAM,UAAU,QACxBA,EAAQ,YAAYC,CAAK,GACzB,SAAS,KAAK,YAAYD,CAAO,GAGjCD,EAAK,OAAOE,CAAK;AACjB,YAAMC,IAAeF,EAAQ;AAG7B,aAAAD,EAAK,SAAU,GACfC,EAAQ,OAAQ,GAETE;AAAA,IACP;AAAA,EACD;AACF;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-xnq0-IMW.mjs","sources":["../../src/components/NcRichContenteditable/NcMentionBubble.vue","../../src/mixins/richEditor/index.js"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<template>\n\t<span :class=\"{'mention-bubble--primary': primary}\"\n\t\tclass=\"mention-bubble\"\n\t\tcontenteditable=\"false\">\n\t\t<span class=\"mention-bubble__wrapper\">\n\t\t\t<span class=\"mention-bubble__content\">\n\t\t\t\t<!-- Avatar or icon -->\n\t\t\t\t<span :class=\"[icon, `mention-bubble__icon--${avatarUrl ? 'with-avatar' : ''}`]\"\n\t\t\t\t\t:style=\"avatarUrl ? { backgroundImage: `url(${avatarUrl})` } : null\"\n\t\t\t\t\tclass=\"mention-bubble__icon\" />\n\n\t\t\t\t<!-- Title -->\n\t\t\t\t<span role=\"heading\" class=\"mention-bubble__title\" :title=\"labelWithFallback\" />\n\t\t\t</span>\n\n\t\t\t<!-- Selectable text for copy/paste -->\n\t\t\t<span role=\"none\" class=\"mention-bubble__select\">{{ mentionText }}</span>\n\t\t</span>\n\t</span>\n</template>\n\n<script>\nimport { generateUrl } from '@nextcloud/router'\n\nexport default {\n\tname: 'NcMentionBubble',\n\n\tprops: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\t/**\n\t\t * @deprecated Use `label` instead\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: null,\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: null,\n\t\t},\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\ticonUrl: {\n\t\t\ttype: [String, null],\n\t\t\tdefault: null,\n\t\t},\n\t\tsource: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tcomputed: {\n\t\tavatarUrl() {\n\t\t\tif (this.iconUrl) {\n\t\t\t\treturn this.iconUrl\n\t\t\t}\n\n\t\t\treturn this.id && this.source === 'users'\n\t\t\t\t? this.getAvatarUrl(this.id, 44)\n\t\t\t\t: null\n\t\t},\n\t\tmentionText() {\n\t\t\treturn !this.id.includes(' ') && !this.id.includes('/')\n\t\t\t\t? `@${this.id}`\n\t\t\t\t: `@\"${this.id}\"`\n\t\t},\n\t\t// Fallback to title for compatibility\n\t\tlabelWithFallback() {\n\t\t\treturn this.label || this.title\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetAvatarUrl(user, size) {\n\t\t\treturn generateUrl('/avatar/{user}/{size}', {\n\t\t\t\tuser,\n\t\t\t\tsize,\n\t\t\t})\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$bubble-height: 20px;\n$bubble-max-width: 150px;\n$bubble-padding: 2px;\n$bubble-avatar-size: $bubble-height - 2 * $bubble-padding;\n\n.mention-bubble {\n\t&--primary &__content {\n\t\tcolor: var(--color-primary-element-text);\n\t\tbackground-color: var(--color-primary-element);\n\t}\n\n\t&__wrapper {\n\t\tmax-width: $bubble-max-width;\n\t\t// Align with text\n\t\theight: $bubble-height - $bubble-padding;\n\t\tvertical-align: text-bottom;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t}\n\n\t&__content {\n\t\tdisplay: inline-flex;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\t\tmax-width: 100%;\n\t\theight: $bubble-height ;\n\t\t-webkit-user-select: none;\n\t\tuser-select: none;\n\t\tpadding-right: $bubble-padding * 3;\n\t\tpadding-left: $bubble-padding;\n\t\tborder-radius: math.div($bubble-height, 2);\n\t\tbackground-color: var(--color-background-dark);\n\t}\n\n\t&__icon {\n\t\tposition: relative;\n\t\twidth: $bubble-avatar-size;\n\t\theight: $bubble-avatar-size;\n\t\tborder-radius: math.div($bubble-avatar-size, 2);\n\t\tbackground-color: var(--color-background-darker);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-size: $bubble-avatar-size - 2 * $bubble-padding;\n\n\t\t&--with-avatar {\n\t\t\tcolor: inherit;\n\t\t\tbackground-size: cover;\n\t\t}\n\t}\n\n\t&__title {\n\t\toverflow: hidden;\n\t\tmargin-left: $bubble-padding;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\t// Put title in ::before so it is not selectable\n\t\t&::before {\n\t\t\tcontent: attr(title);\n\t\t}\n\t}\n\n\t// Hide the mention id so it is selectable\n\t&__select {\n\t\tposition: absolute;\n\t\tz-index: -1;\n\t\tleft: -1000px;\n\t}\n}\n\n</style>\n","/**\n * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport NcMentionBubble from '../../components/NcRichContenteditable/NcMentionBubble.vue'\nimport Linkify from '../../utils/Linkify.js'\n\nimport escapeHtml from 'escape-html'\nimport stripTags from 'striptags'\nimport Vue from 'vue'\n\n// Beginning or whitespace. Non-capturing group\nconst MENTION_START = '(?:^|\\\\s)'\n// Anything that is not text or end-of-line. Non-capturing group\nconst MENTION_END = '(?:[^a-z]|$)'\nexport const USERID_REGEX = new RegExp(`${MENTION_START}(@[a-zA-Z0-9_.@\\\\-']+)(${MENTION_END})`, 'gi')\nexport const USERID_REGEX_WITH_SPACE = new RegExp(`${MENTION_START}(@"[a-zA-Z0-9 _.@\\\\-']+")(${MENTION_END})`, 'gi')\n\nexport default {\n\tprops: {\n\t\tuserData: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => ({}),\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Convert the value string to html for the inner content\n\t\t *\n\t\t * @param {string} value the content without html\n\t\t * @return {string} rendered html\n\t\t */\n\t\trenderContent(value) {\n\t\t\t// Sanitize the value prop\n\t\t\tconst sanitizedValue = escapeHtml(value)\n\n\t\t\t// Extract all the userIds\n\t\t\tconst splitValue = sanitizedValue.split(USERID_REGEX)\n\t\t\t\t.map(part => part.split(USERID_REGEX_WITH_SPACE)).flat()\n\n\t\t\t// Replace userIds by html\n\t\t\treturn splitValue\n\t\t\t\t.map(part => {\n\t\t\t\t\t// When splitting, the string is always putting the userIds\n\t\t\t\t\t// on the the uneven indexes. We only want to generate the mentions html\n\t\t\t\t\tif (!part.startsWith('@')) {\n\t\t\t\t\t\t// This part doesn't contain a mention, let's make sure links are parsed\n\t\t\t\t\t\treturn Linkify(part)\n\t\t\t\t\t}\n\n\t\t\t\t\t// Extracting the id, nuking the leading @ and all \"\n\t\t\t\t\tconst id = part.slice(1).replace(/"/gi, '')\n\t\t\t\t\t// Compiling template and prepend with the space we removed during the split\n\t\t\t\t\treturn ' ' + this.genSelectTemplate(id)\n\t\t\t\t})\n\t\t\t\t.join('')\n\t\t\t\t.replace(/\\n/gmi, '<br>')\n\t\t\t\t.replace(/&/gmi, '&')\n\t\t},\n\n\t\t/**\n\t\t * Convert the innerHtml content to a string with mentions as text\n\t\t *\n\t\t * @param {string} content the content without html\n\t\t * @return {string}\n\t\t */\n\t\tparseContent(content) {\n\t\t\tlet text = content.replace(/<br>/gmi, '\\n')\n\t\t\ttext = text.replace(/ /gmi, ' ')\n\t\t\ttext = text.replace(/&/gmi, '&')\n\n\t\t\t// Convert the mentions to text only\n\t\t\t// first we replace divs with new lines\n\t\t\ttext = text.replace(/<\\/div>/gmi, '\\n')\n\t\t\t// then we remove all leftover html\n\t\t\ttext = stripTags(text, '<div>')\n\t\t\ttext = stripTags(text)\n\n\t\t\treturn text\n\t\t},\n\n\t\t/**\n\t\t * Generate an autocompletion popup entry template\n\t\t *\n\t\t * @param {string} value the value to match against the userData\n\t\t * @return {string}\n\t\t */\n\t\tgenSelectTemplate(value) {\n\t\t\t// The value returned by this function will replace the trigger '@'\n\t\t\t// and the search text, so when there is no match we simply return\n\t\t\t// '@' and the text.\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\treturn `${this.autocompleteTribute.current.collection.trigger}${this.autocompleteTribute.current.mentionText}`\n\t\t\t}\n\n\t\t\tconst data = this.userData[value]\n\n\t\t\t// Fallback to @mention in case no data matches\n\t\t\tif (!data) {\n\t\t\t\t// return `@${value}`\n\t\t\t\treturn !value.includes(' ') && !value.includes('/')\n\t\t\t\t\t? `@${value}`\n\t\t\t\t\t: `@\"${value}\"`\n\t\t\t}\n\n\t\t\t// Return template and make sure we strip of new lines and tabs\n\t\t\treturn this.renderComponentHtml(data, NcMentionBubble).replace(/[\\n\\t]/gmi, '')\n\t\t},\n\n\t\t/**\n\t\t * Render a component and return its html content\n\t\t *\n\t\t * @param {object} propsData the props to pass to the component\n\t\t * @param {object} component the component to render\n\t\t * @return {string} the rendered html\n\t\t */\n\t\trenderComponentHtml(propsData, component) {\n\t\t\tconst View = Vue.extend(component)\n\t\t\tconst Item = new View({\n\t\t\t\tpropsData,\n\t\t\t})\n\n\t\t\t// Prepare mountpoint\n\t\t\tconst wrapper = document.createElement('div')\n\t\t\tconst mount = document.createElement('div')\n\t\t\twrapper.style.display = 'none'\n\t\t\twrapper.appendChild(mount)\n\t\t\tdocument.body.appendChild(wrapper)\n\n\t\t\t// Mount and get raw html\n\t\t\tItem.$mount(mount)\n\t\t\tconst renderedHtml = wrapper.innerHTML\n\n\t\t\t// Destroy\n\t\t\tItem.$destroy()\n\t\t\twrapper.remove()\n\n\t\t\treturn renderedHtml\n\t\t},\n\t},\n}\n"],"names":["_sfc_main","user","size","generateUrl","MENTION_START","MENTION_END","USERID_REGEX","USERID_REGEX_WITH_SPACE","richEditor","value","escapeHtml","part","Linkify","id","content","text","stripTags","data","NcMentionBubble","propsData","component","View","Vue","Item","wrapper","mount","renderedHtml"],"mappings":";;;;;;;AA6CA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA,IACA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IACA,SAAA;AAAA,MACA,MAAA,CAAA,QAAA,IAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IACA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,UAAA;AAAA,IACA,YAAA;AACA,aAAA,KAAA,UACA,KAAA,UAGA,KAAA,MAAA,KAAA,WAAA,UACA,KAAA,aAAA,KAAA,IAAA,EAAA,IACA;AAAA,IACA;AAAA,IACA,cAAA;AACA,aAAA,CAAA,KAAA,GAAA,SAAA,GAAA,KAAA,CAAA,KAAA,GAAA,SAAA,GAAA,IACA,IAAA,KAAA,EAAA,KACA,KAAA,KAAA,EAAA;AAAA,IACA;AAAA;AAAA,IAEA,oBAAA;AACA,aAAA,KAAA,SAAA,KAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,aAAAC,GAAAC,GAAA;AACA,aAAAC,EAAA,yBAAA;AAAA,QACA,MAAAF;AAAA,QACA,MAAAC;AAAA,MACA,CAAA;AAAA,IACA;AAAA,EACA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