@nextcloud/vue 8.11.1 → 8.11.2
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 +20 -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/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/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 +4 -4
- 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/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.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/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +1 -1
- package/dist/Components/NcRichContenteditable.mjs +1 -1
- 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/assets/{NcActions-DL7ZZIjx.css → NcActions-CiiQkX9v.css} +12 -12
- package/dist/assets/{NcAppNavigationItem-BxoyzD83.css → NcAppNavigationItem-hYyNqvah.css} +44 -44
- package/dist/assets/{NcAppSidebar-BJPR-mTB.css → NcAppSidebar-DlVjDHcd.css} +45 -45
- package/dist/assets/{NcAvatar-CR4U9eTm.css → NcAvatar-BozWHt1s.css} +27 -27
- package/dist/assets/{NcBreadcrumbs-oFXQlxy-.css → NcBreadcrumbs-E-TglkuV.css} +7 -7
- package/dist/assets/{NcDateTimePicker-qKgAO9KO.css → NcDateTimePicker-q_BLnhHU.css} +10 -10
- package/dist/assets/{NcDialog-M36tj7nk.css → NcDialog-DEKSpcnR.css} +17 -16
- package/dist/assets/{NcRichText-D2BBsB-_.css → NcRichText-DNXuHl34.css} +76 -65
- package/dist/chunks/{GenColors-D0bH59Rv.mjs → GenColors-Dceu3ds2.mjs} +1 -1
- package/dist/chunks/{GenColors-D0bH59Rv.mjs.map → GenColors-Dceu3ds2.mjs.map} +1 -1
- package/dist/chunks/{GenColors-Du2-qv6X.cjs → GenColors-hkqGpnOK.cjs} +1 -1
- package/dist/chunks/{GenColors-Du2-qv6X.cjs.map → GenColors-hkqGpnOK.cjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-Cawk1Q5J.cjs → NcActionButtonGroup-B1XhnIBl.cjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-Cawk1Q5J.cjs.map → NcActionButtonGroup-B1XhnIBl.cjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-jODsi2kz.mjs → NcActionButtonGroup-DU1taycQ.mjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-jODsi2kz.mjs.map → NcActionButtonGroup-DU1taycQ.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-BJSgHPYh.mjs → NcActionInput-53RB9uQe.mjs} +4 -4
- package/dist/chunks/{NcActionInput-BJSgHPYh.mjs.map → NcActionInput-53RB9uQe.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-NL0c8XAX.cjs → NcActionInput-N2wrvq5K.cjs} +1 -1
- package/dist/chunks/{NcActionInput-NL0c8XAX.cjs.map → NcActionInput-N2wrvq5K.cjs.map} +1 -1
- package/dist/chunks/{NcActions-X10TnO-4.cjs → NcActions-BtvXtZF4.cjs} +55 -35
- package/dist/chunks/{NcActions-B1Ue3gj8.mjs.map → NcActions-BtvXtZF4.cjs.map} +1 -1
- package/dist/chunks/{NcActions-B1Ue3gj8.mjs → NcActions-DiFslXqv.mjs} +84 -64
- package/dist/chunks/{NcActions-X10TnO-4.cjs.map → NcActions-DiFslXqv.mjs.map} +1 -1
- package/dist/chunks/{NcAppContent-BkVLz0T8.mjs → NcAppContent-BDhK1rUf.mjs} +1 -1
- package/dist/chunks/{NcAppContent-BkVLz0T8.mjs.map → NcAppContent-BDhK1rUf.mjs.map} +1 -1
- package/dist/chunks/{NcAppContent-CxdfMOVw.cjs → NcAppContent-Be1m1O_W.cjs} +1 -1
- package/dist/chunks/{NcAppContent-CxdfMOVw.cjs.map → NcAppContent-Be1m1O_W.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-BxaQQTmk.mjs → NcAppNavigation-CElLRpH-.mjs} +1 -1
- package/dist/chunks/{NcAppNavigation-BxaQQTmk.mjs.map → NcAppNavigation-CElLRpH-.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-CmBNq0sh.cjs → NcAppNavigation-DKUnWfen.cjs} +1 -1
- package/dist/chunks/{NcAppNavigation-CmBNq0sh.cjs.map → NcAppNavigation-DKUnWfen.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-CUJSIO54.cjs → NcAppNavigationCaption-Cdcv-0jj.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-CUJSIO54.cjs.map → NcAppNavigationCaption-Cdcv-0jj.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-BQsUUBUS.mjs → NcAppNavigationCaption-DI7SIPdI.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-BQsUUBUS.mjs.map → NcAppNavigationCaption-DI7SIPdI.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-DdfXf1p_.cjs → NcAppNavigationItem-7xN_CMHW.cjs} +6 -8
- package/dist/chunks/{NcAppNavigationItem-Cheox0NI.mjs.map → NcAppNavigationItem-7xN_CMHW.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-Cheox0NI.mjs → NcAppNavigationItem-Djfc0DPY.mjs} +8 -10
- package/dist/chunks/{NcAppNavigationItem-DdfXf1p_.cjs.map → NcAppNavigationItem-Djfc0DPY.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-BkyKxjL8.cjs → NcAppNavigationNewItem-5B4-U2NI.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-BkyKxjL8.cjs.map → NcAppNavigationNewItem-5B4-U2NI.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-Dmb8qw0g.mjs → NcAppNavigationNewItem-CN3vYnc_.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-Dmb8qw0g.mjs.map → NcAppNavigationNewItem-CN3vYnc_.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-CCjTkNf3.cjs → NcAppNavigationSettings-Cnr4jYzW.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-CCjTkNf3.cjs.map → NcAppNavigationSettings-Cnr4jYzW.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-_O0oYU8k.mjs → NcAppNavigationSettings-LmpAoM-x.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-_O0oYU8k.mjs.map → NcAppNavigationSettings-LmpAoM-x.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-nnE6CrRb.cjs → NcAppNavigationToggle-B5XmO21v.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-nnE6CrRb.cjs.map → NcAppNavigationToggle-B5XmO21v.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-VDwkZ4nu.mjs → NcAppNavigationToggle-D0oeWL17.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-VDwkZ4nu.mjs.map → NcAppNavigationToggle-D0oeWL17.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-wqDewrRQ.cjs → NcAppSettingsDialog-B6crPJ6a.cjs} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-wqDewrRQ.cjs.map → NcAppSettingsDialog-B6crPJ6a.cjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-CECnsnfv.mjs → NcAppSettingsDialog-BLOgrVCz.mjs} +2 -2
- package/dist/chunks/{NcAppSettingsDialog-CECnsnfv.mjs.map → NcAppSettingsDialog-BLOgrVCz.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-9W8ytMkj.mjs → NcAppSidebar-CqER6-dl.mjs} +18 -12
- package/dist/chunks/NcAppSidebar-CqER6-dl.mjs.map +1 -0
- package/dist/chunks/{NcAppSidebar-DkDtOUbu.cjs → NcAppSidebar-qC5-u1p0.cjs} +18 -12
- package/dist/chunks/NcAppSidebar-qC5-u1p0.cjs.map +1 -0
- package/dist/chunks/{NcAvatar-GULQurjA.mjs → NcAvatar-BBhoG-za.mjs} +63 -51
- package/dist/chunks/NcAvatar-BBhoG-za.mjs.map +1 -0
- package/dist/chunks/{NcAvatar-CO9waN_L.cjs → NcAvatar-BuqOk4mX.cjs} +50 -41
- package/dist/chunks/NcAvatar-BuqOk4mX.cjs.map +1 -0
- package/dist/chunks/{NcBreadcrumb-BBZofeFG.cjs → NcBreadcrumb-BRpLGeLr.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-BBZofeFG.cjs.map → NcBreadcrumb-BRpLGeLr.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-BerOYeSO.mjs → NcBreadcrumb-BxCf2hEA.mjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-BerOYeSO.mjs.map → NcBreadcrumb-BxCf2hEA.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-D0aoSiDN.cjs → NcBreadcrumbs-BKPXzHC1.cjs} +28 -28
- package/dist/chunks/{NcBreadcrumbs-D0aoSiDN.cjs.map → NcBreadcrumbs-BKPXzHC1.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-BypDKcgj.mjs → NcBreadcrumbs-BmK-6Q-n.mjs} +25 -25
- package/dist/chunks/{NcBreadcrumbs-BypDKcgj.mjs.map → NcBreadcrumbs-BmK-6Q-n.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-UnycoV8I.cjs → NcCheckboxRadioSwitch-B9w3Znu7.cjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-UnycoV8I.cjs.map → NcCheckboxRadioSwitch-B9w3Znu7.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-BcwXUfkk.mjs → NcCheckboxRadioSwitch-BOl1O2zi.mjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-BcwXUfkk.mjs.map → NcCheckboxRadioSwitch-BOl1O2zi.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Zn4mWlPY.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CCwH-BzH.mjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CCwH-BzH.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Dfig4O2O.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-DAxGPyzS.cjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-DAxGPyzS.cjs.map +1 -0
- package/dist/chunks/{NcColorPicker-C29EJ5Gw.mjs → NcColorPicker-CeoImUTC.mjs} +2 -2
- package/dist/chunks/{NcColorPicker-C29EJ5Gw.mjs.map → NcColorPicker-CeoImUTC.mjs.map} +1 -1
- package/dist/chunks/{NcColorPicker-BUsEYIj3.cjs → NcColorPicker-DOcxlY35.cjs} +1 -1
- package/dist/chunks/{NcColorPicker-BUsEYIj3.cjs.map → NcColorPicker-DOcxlY35.cjs.map} +1 -1
- package/dist/chunks/{NcContent-CQk_EERB.mjs → NcContent-BPA0KfuT.mjs} +1 -1
- package/dist/chunks/{NcContent-CQk_EERB.mjs.map → NcContent-BPA0KfuT.mjs.map} +1 -1
- package/dist/chunks/{NcContent-D-F_hXQE.cjs → NcContent-DbFAEdX_.cjs} +1 -1
- package/dist/chunks/{NcContent-D-F_hXQE.cjs.map → NcContent-DbFAEdX_.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-B5kIIXjc.mjs → NcDashboardWidget-2-nW7dII.mjs} +3 -3
- package/dist/chunks/{NcDashboardWidget-B5kIIXjc.mjs.map → NcDashboardWidget-2-nW7dII.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-DLTh61Jk.cjs → NcDashboardWidget-auMQiAFt.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidget-DLTh61Jk.cjs.map → NcDashboardWidget-auMQiAFt.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-xj-DfJjn.mjs → NcDashboardWidgetItem-D2yoF9Oo.mjs} +2 -2
- package/dist/chunks/{NcDashboardWidgetItem-xj-DfJjn.mjs.map → NcDashboardWidgetItem-D2yoF9Oo.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-BKhL4kyY.cjs → NcDashboardWidgetItem-xqVAP32n.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-BKhL4kyY.cjs.map → NcDashboardWidgetItem-xqVAP32n.cjs.map} +1 -1
- package/dist/chunks/{NcDateTime-BeI2IjH3.mjs → NcDateTime-CeOdKcvC.mjs} +1 -1
- package/dist/chunks/{NcDateTime-BeI2IjH3.mjs.map → NcDateTime-CeOdKcvC.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-DuS_515z.cjs → NcDateTime-DneyKibb.cjs} +1 -1
- package/dist/chunks/{NcDateTime-DuS_515z.cjs.map → NcDateTime-DneyKibb.cjs.map} +1 -1
- package/dist/chunks/{NcDialog-D6YSjidf.mjs → NcDialog-C_1rhUHk.mjs} +2 -2
- package/dist/chunks/{NcDialog-D6YSjidf.mjs.map → NcDialog-C_1rhUHk.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-C6nYgBDF.cjs → NcDialog-Ciz0hlFn.cjs} +2 -2
- package/dist/chunks/{NcDialog-C6nYgBDF.cjs.map → NcDialog-Ciz0hlFn.cjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-028V7lKH.mjs → NcEmojiPicker-Cie30NYK.mjs} +4 -4
- package/dist/chunks/{NcEmojiPicker-028V7lKH.mjs.map → NcEmojiPicker-Cie30NYK.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-BDRuuzNw.cjs → NcEmojiPicker-S2pfwxlK.cjs} +1 -1
- package/dist/chunks/{NcEmojiPicker-BDRuuzNw.cjs.map → NcEmojiPicker-S2pfwxlK.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-unF2X_Ax.cjs → NcInputConfirmCancel-DVmY85-V.cjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-unF2X_Ax.cjs.map → NcInputConfirmCancel-DVmY85-V.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-D5GYt1Th.mjs → NcInputConfirmCancel-Nn_JgG9d.mjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-D5GYt1Th.mjs.map → NcInputConfirmCancel-Nn_JgG9d.mjs.map} +1 -1
- package/dist/chunks/{NcListItem-BnsP7HQy.cjs → NcListItem-B_MPLJ_8.cjs} +1 -1
- package/dist/chunks/{NcListItem-BnsP7HQy.cjs.map → NcListItem-B_MPLJ_8.cjs.map} +1 -1
- package/dist/chunks/{NcListItem-DUrmhUuv.mjs → NcListItem-BopkGRDs.mjs} +2 -2
- package/dist/chunks/{NcListItem-DUrmhUuv.mjs.map → NcListItem-BopkGRDs.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-9um1JI9_.mjs → NcListItemIcon-CI23iFQz.mjs} +1 -1
- package/dist/chunks/{NcListItemIcon-9um1JI9_.mjs.map → NcListItemIcon-CI23iFQz.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-Dd_ykGiP.cjs → NcListItemIcon-Dwgi2cPr.cjs} +1 -1
- package/dist/chunks/{NcListItemIcon-Dd_ykGiP.cjs.map → NcListItemIcon-Dwgi2cPr.cjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-BE4xwMjQ.mjs → NcPasswordField-BgSp7dK4.mjs} +1 -1
- package/dist/chunks/{NcPasswordField-BE4xwMjQ.mjs.map → NcPasswordField-BgSp7dK4.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-ghqpLn7G.cjs → NcPasswordField-BooDzf0Z.cjs} +1 -1
- package/dist/chunks/{NcPasswordField-ghqpLn7G.cjs.map → NcPasswordField-BooDzf0Z.cjs.map} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel-CuvKC8Is.mjs → NcRelatedResourcesPanel-Ch1b_Gl3.mjs} +2 -2
- package/dist/chunks/{NcRelatedResourcesPanel-CuvKC8Is.mjs.map → NcRelatedResourcesPanel-Ch1b_Gl3.mjs.map} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel-_r1K7ZaY.cjs → NcRelatedResourcesPanel-DaiuNCYU.cjs} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel-_r1K7ZaY.cjs.map → NcRelatedResourcesPanel-DaiuNCYU.cjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-Bm4NjGuD.cjs → NcRichContenteditable-BF3BkdqM.cjs} +6 -6
- package/dist/chunks/{NcRichContenteditable-Bm4NjGuD.cjs.map → NcRichContenteditable-BF3BkdqM.cjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-Bo4te1z-.mjs → NcRichContenteditable-CEqdmoem.mjs} +7 -7
- package/dist/chunks/{NcRichContenteditable-Bo4te1z-.mjs.map → NcRichContenteditable-CEqdmoem.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-DUCudV4J.mjs → NcRichText-CUKFkHQg.mjs} +72 -62
- package/dist/chunks/NcRichText-CUKFkHQg.mjs.map +1 -0
- package/dist/chunks/{NcRichText-BP7ht7d4.cjs → NcRichText-DCkExl5g.cjs} +65 -55
- package/dist/chunks/NcRichText-DCkExl5g.cjs.map +1 -0
- package/dist/chunks/{NcSelect-C58Mm9lZ.cjs → NcSelect-Bn3oTHtq.cjs} +1 -1
- package/dist/chunks/{NcSelect-C58Mm9lZ.cjs.map → NcSelect-Bn3oTHtq.cjs.map} +1 -1
- package/dist/chunks/{NcSelect-DRVEZt73.mjs → NcSelect-Bo71Yd6L.mjs} +2 -2
- package/dist/chunks/{NcSelect-DRVEZt73.mjs.map → NcSelect-Bo71Yd6L.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-35nlauoq.mjs → NcSelectTags-9aCrLRT0.mjs} +2 -2
- package/dist/chunks/{NcSelectTags-35nlauoq.mjs.map → NcSelectTags-9aCrLRT0.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-Cleij1YB.cjs → NcSelectTags-CgYWiDjX.cjs} +1 -1
- package/dist/chunks/{NcSelectTags-Cleij1YB.cjs.map → NcSelectTags-CgYWiDjX.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-Cy7Umyq4.cjs → NcSettingsInputText-1i2TqdMB.cjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-Cy7Umyq4.cjs.map → NcSettingsInputText-1i2TqdMB.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-BxsnpVjM.mjs → NcSettingsInputText-JboV8u2l.mjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-BxsnpVjM.mjs.map → NcSettingsInputText-JboV8u2l.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-fWPqQmzZ.cjs → NcSettingsSection-CNMpCD3o.cjs} +1 -1
- package/dist/chunks/{NcSettingsSection-fWPqQmzZ.cjs.map → NcSettingsSection-CNMpCD3o.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-BntYMcIt.mjs → NcSettingsSection-Lgwm3w2e.mjs} +1 -1
- package/dist/chunks/{NcSettingsSection-BntYMcIt.mjs.map → NcSettingsSection-Lgwm3w2e.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-68kJocD5.cjs → NcSettingsSelectGroup-CgUJmyF7.cjs} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-68kJocD5.cjs.map → NcSettingsSelectGroup-CgUJmyF7.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-CehQI4oG.mjs → NcSettingsSelectGroup-DUzmbtZx.mjs} +2 -2
- package/dist/chunks/{NcSettingsSelectGroup-CehQI4oG.mjs.map → NcSettingsSelectGroup-DUzmbtZx.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-DKppZoIo.cjs → NcTextField-B5cUYgRy.cjs} +1 -1
- package/dist/chunks/{NcTextField-DKppZoIo.cjs.map → NcTextField-B5cUYgRy.cjs.map} +1 -1
- package/dist/chunks/{NcTextField-BAKyJTQ0.mjs → NcTextField-D_eUEl2B.mjs} +1 -1
- package/dist/chunks/{NcTextField-BAKyJTQ0.mjs.map → NcTextField-D_eUEl2B.mjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-D6psCKlf.cjs → NcTimezonePicker-BF5TeadZ.cjs} +1 -1
- package/dist/chunks/{NcTimezonePicker-D6psCKlf.cjs.map → NcTimezonePicker-BF5TeadZ.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-8juQvyGU.mjs → NcTimezonePicker-CH1lkCMF.mjs} +2 -2
- package/dist/chunks/{NcTimezonePicker-8juQvyGU.mjs.map → NcTimezonePicker-CH1lkCMF.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-J_kbLTpc.cjs → NcUserBubble-BadEJRgs.cjs} +1 -1
- package/dist/chunks/{NcUserBubble-J_kbLTpc.cjs.map → NcUserBubble-BadEJRgs.cjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-6o5fw3gB.mjs → NcUserBubble-C0HbPO9p.mjs} +1 -1
- package/dist/chunks/{NcUserBubble-6o5fw3gB.mjs.map → NcUserBubble-C0HbPO9p.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-Bqtgf32T.cjs → NcUserStatusIcon-B69NZ9Hw.cjs} +1 -1
- package/dist/chunks/{NcUserStatusIcon-Bqtgf32T.cjs.map → NcUserStatusIcon-B69NZ9Hw.cjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-D_ItGF5U.mjs → NcUserStatusIcon-HOUdT_MR.mjs} +1 -1
- package/dist/chunks/{NcUserStatusIcon-D_ItGF5U.mjs.map → NcUserStatusIcon-HOUdT_MR.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-BZYPT7rR.mjs → ScopeComponent-Dz4pyD77.mjs} +3 -3
- package/dist/chunks/{ScopeComponent-BZYPT7rR.mjs.map → ScopeComponent-Dz4pyD77.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-C0EJf0Ag.cjs → ScopeComponent-IO407Bzb.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-C0EJf0Ag.cjs.map → ScopeComponent-IO407Bzb.cjs.map} +1 -1
- package/dist/chunks/_l10n-B8iumFKB.cjs +66 -0
- package/dist/chunks/_l10n-B8iumFKB.cjs.map +1 -0
- package/dist/chunks/_l10n-BaNxGGXy.mjs +68 -0
- package/dist/chunks/_l10n-BaNxGGXy.mjs.map +1 -0
- package/dist/chunks/autolink-DNGB8YSW.mjs +86 -0
- package/dist/chunks/autolink-DNGB8YSW.mjs.map +1 -0
- package/dist/chunks/autolink-MMzlO_Ai.cjs +82 -0
- package/dist/chunks/autolink-MMzlO_Ai.cjs.map +1 -0
- package/dist/chunks/{referencePickerModal-DJNSkODj.mjs → referencePickerModal-AvSHyw1b.mjs} +4 -4
- package/dist/chunks/{referencePickerModal-DJNSkODj.mjs.map → referencePickerModal-AvSHyw1b.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-CoaOqLOw.cjs → referencePickerModal-B_Su3XpN.cjs} +1 -1
- package/dist/chunks/{referencePickerModal-CoaOqLOw.cjs.map → referencePickerModal-B_Su3XpN.cjs.map} +1 -1
- package/dist/chunks/{usernameToColor-CgqbKJ4t.mjs → usernameToColor-BHkzj1tb.mjs} +1 -1
- package/dist/chunks/{usernameToColor-CgqbKJ4t.mjs.map → usernameToColor-BHkzj1tb.mjs.map} +1 -1
- package/dist/chunks/{usernameToColor-B7GSjspk.cjs → usernameToColor-DA36rR48.cjs} +1 -1
- package/dist/chunks/{usernameToColor-B7GSjspk.cjs.map → usernameToColor-DA36rR48.cjs.map} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +42 -42
- package/package.json +2 -1
- package/dist/chunks/NcAppSidebar-9W8ytMkj.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-DkDtOUbu.cjs.map +0 -1
- package/dist/chunks/NcAvatar-CO9waN_L.cjs.map +0 -1
- package/dist/chunks/NcAvatar-GULQurjA.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Dfig4O2O.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Zn4mWlPY.mjs.map +0 -1
- package/dist/chunks/NcRichText-BP7ht7d4.cjs.map +0 -1
- package/dist/chunks/NcRichText-DUCudV4J.mjs.map +0 -1
- package/dist/chunks/_l10n-BVVVUgGU.cjs +0 -66
- package/dist/chunks/_l10n-BVVVUgGU.cjs.map +0 -1
- package/dist/chunks/_l10n-BZu8wI2q.mjs +0 -68
- package/dist/chunks/_l10n-BZu8wI2q.mjs.map +0 -1
- package/dist/chunks/autolink-BtgUDDdk.mjs +0 -59
- package/dist/chunks/autolink-BtgUDDdk.mjs.map +0 -1
- package/dist/chunks/autolink-D0rLUkqm.cjs +0 -55
- package/dist/chunks/autolink-D0rLUkqm.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_l10n-BaNxGGXy.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { visit as f, SKIP as g } from "unist-util-visit";
|
|
2
|
+
import { u as p } from "unist-builder";
|
|
3
|
+
import { getBaseUrl as u, getRootUrl as a } from "@nextcloud/router";
|
|
4
|
+
const b = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig, c = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
|
|
5
|
+
/**
|
|
6
|
+
* @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
|
|
7
|
+
*
|
|
8
|
+
* @author Julius Härtl <jus@bitgrid.net>
|
|
9
|
+
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
|
|
10
|
+
* @author Maksim Sukharev <antreesy.web@gmail.com>
|
|
11
|
+
* @author Grigorii K. Shartsev <me@shgk.me>
|
|
12
|
+
*
|
|
13
|
+
* @license AGPL-3.0-or-later
|
|
14
|
+
*
|
|
15
|
+
* This program is free software: you can redistribute it and/or modify
|
|
16
|
+
* it under the terms of the GNU Affero General Public License as
|
|
17
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
18
|
+
* License, or (at your option) any later version.
|
|
19
|
+
*
|
|
20
|
+
* This program is distributed in the hope that it will be useful,
|
|
21
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
22
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
23
|
+
* GNU Affero General Public License for more details.
|
|
24
|
+
*
|
|
25
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
26
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
const d = {
|
|
30
|
+
name: "NcLink",
|
|
31
|
+
props: {
|
|
32
|
+
href: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: !0
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
render(r) {
|
|
38
|
+
return r("a", {
|
|
39
|
+
attrs: {
|
|
40
|
+
href: this.href,
|
|
41
|
+
rel: "noopener noreferrer",
|
|
42
|
+
target: "_blank",
|
|
43
|
+
class: "rich-text--external-link"
|
|
44
|
+
}
|
|
45
|
+
}, [this.href.trim()]);
|
|
46
|
+
}
|
|
47
|
+
}, k = function({ autolink: r, useMarkdown: e, useExtendedMarkdown: s }) {
|
|
48
|
+
return function(h) {
|
|
49
|
+
s || !e || !r || f(h, (o) => o.type === "text", (o, t, l) => {
|
|
50
|
+
let i = m(o.value);
|
|
51
|
+
return i = i.map((n) => typeof n == "string" ? p("text", n) : p("link", {
|
|
52
|
+
url: n.props.href
|
|
53
|
+
}, [p("text", n.props.href)])).filter((n) => n), l.children.splice(t, 1, ...i.flat()), [g, t + i.flat().length];
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
}, m = (r) => {
|
|
57
|
+
let e = c.exec(r);
|
|
58
|
+
const s = [];
|
|
59
|
+
let h = 0;
|
|
60
|
+
for (; e !== null; ) {
|
|
61
|
+
let t = e[2], l, i = r.substring(h, e.index + e[1].length);
|
|
62
|
+
t[0] === " " && (i += t[0], t = t.substring(1).trim());
|
|
63
|
+
const n = t[t.length - 1];
|
|
64
|
+
(n === "." || n === "," || n === ";" || e[0][0] === "(" && n === ")") && (t = t.substring(0, t.length - 1), l = n), s.push(i), s.push({ component: d, props: { href: t } }), l && s.push(l), h = e.index + e[0].length, e = c.exec(r);
|
|
65
|
+
}
|
|
66
|
+
s.push(r.substring(h));
|
|
67
|
+
const o = s.map((t) => typeof t == "string" ? t : t.props.href).join("");
|
|
68
|
+
return r === o ? s : (console.error("Failed to reassemble the chunked text: " + r), r);
|
|
69
|
+
}, R = (r, e) => {
|
|
70
|
+
if (!r)
|
|
71
|
+
return null;
|
|
72
|
+
const s = /^https?:\/\//.test(e);
|
|
73
|
+
if (s && !e.startsWith(u()) || !s && !e.startsWith(a()))
|
|
74
|
+
return null;
|
|
75
|
+
const h = r.history.base, o = s ? e.slice(new URL(e).origin.length) : e, t = e.startsWith((s ? u() : a()) + "/index.php") ? o.replace("/index.php", "") : o, l = h.replace("/index.php", "");
|
|
76
|
+
if (!t.startsWith(l))
|
|
77
|
+
return null;
|
|
78
|
+
const i = t.replace(l, "") || "/", n = r.resolve(i).route;
|
|
79
|
+
return n.matched.length ? n.fullPath : null;
|
|
80
|
+
};
|
|
81
|
+
export {
|
|
82
|
+
b as U,
|
|
83
|
+
R as g,
|
|
84
|
+
m as p,
|
|
85
|
+
k as r
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autolink-DNGB8YSW.mjs","sources":["../../src/components/NcRichText/helpers.js","../../src/components/NcRichText/autolink.js"],"sourcesContent":["/**\n * Regex pattern to match links to be resolved by the link-reference provider\n *\n * @type {RegExp}\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 *\n * @type {RegExp}\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n * @author Maksim Sukharev <antreesy.web@gmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\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 { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport { visit, SKIP } from 'unist-util-visit'\nimport { u } from 'unist-builder'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\n\nconst NcLink = {\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(h) {\n\t\treturn h('a', {\n\t\t\tattrs: {\n\t\t\t\thref: this.href,\n\t\t\t\trel: 'noopener noreferrer',\n\t\t\t\ttarget: '_blank',\n\t\t\t\tclass: 'rich-text--external-link',\n\t\t\t},\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\tparsed = parsed.map((n) => {\n\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\treturn u('text', n)\n\t\t\t\t}\n\n\t\t\t\treturn u('link', {\n\t\t\t\t\turl: n.props.href,\n\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t}).filter((x) => x)\n\n\t\t\tparent.children.splice(index, 1, ...parsed.flat())\n\t\t\treturn [SKIP, index + parsed.flat().length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\tconst list = []\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 {import('vue-router').default} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be useed in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/app/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router, url) => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php/app/files /favorites?fileid=2#fragment\n\t * |_____origin____|__________router-base__________|_________router-path________|\n\t * |__________base____________|\n\t * |___root___|\n\t */\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 not a link to this Nextcloud server instance => not an app route\n\tif ((isAbsoluteURL && !url.startsWith(getBaseUrl())) || (!isAbsoluteURL && !url.startsWith(getRootUrl()))) {\n\t\treturn null\n\t}\n\n\t// Vue 3: router.options.history.base\n\tconst routerBase = router.history.base\n\n\tconst urlWithoutOrigin = isAbsoluteURL ? url.slice(new URL(url).origin.length) : url\n\n\t// Remove index.php - it is optional in general case in both, VueRouter base and the URL\n\tconst urlWithoutOriginAndIndexPhp = url.startsWith((isAbsoluteURL ? getBaseUrl() : getRootUrl()) + '/index.php') ? urlWithoutOrigin.replace('/index.php', '') : urlWithoutOrigin\n\tconst routerBaseWithoutIndexPhp = routerBase.replace('/index.php', '')\n\n\t// This URL is not a part of this router by base\n\tif (!urlWithoutOriginAndIndexPhp.startsWith(routerBaseWithoutIndexPhp)) {\n\t\treturn null\n\t}\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst routerPath = urlWithoutOriginAndIndexPhp.replace(routerBaseWithoutIndexPhp, '') || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(routerPath).route\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":["URL_PATTERN","URL_PATTERN_AUTOLINK","NcLink","h","remarkAutolink","autolink","useMarkdown","useExtendedMarkdown","tree","visit","node","index","parent","parsed","parseUrl","u","x","SKIP","text","match","list","start","href","textAfter","textBefore","lastChar","joinedText","item","getRoute","router","url","isAbsoluteURL","getBaseUrl","getRootUrl","routerBase","urlWithoutOrigin","urlWithoutOriginAndIndexPhp","routerBaseWithoutIndexPhp","routerPath","route"],"mappings":"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"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const c = require("unist-util-visit"), p = require("unist-builder"), h = require("@nextcloud/router"), g = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig, a = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
|
|
5
|
+
*
|
|
6
|
+
* @author Julius Härtl <jus@bitgrid.net>
|
|
7
|
+
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
|
|
8
|
+
* @author Maksim Sukharev <antreesy.web@gmail.com>
|
|
9
|
+
* @author Grigorii K. Shartsev <me@shgk.me>
|
|
10
|
+
*
|
|
11
|
+
* @license AGPL-3.0-or-later
|
|
12
|
+
*
|
|
13
|
+
* This program is free software: you can redistribute it and/or modify
|
|
14
|
+
* it under the terms of the GNU Affero General Public License as
|
|
15
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
16
|
+
* License, or (at your option) any later version.
|
|
17
|
+
*
|
|
18
|
+
* This program is distributed in the hope that it will be useful,
|
|
19
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
20
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
21
|
+
* GNU Affero General Public License for more details.
|
|
22
|
+
*
|
|
23
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
24
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
const d = {
|
|
28
|
+
name: "NcLink",
|
|
29
|
+
props: {
|
|
30
|
+
href: {
|
|
31
|
+
type: String,
|
|
32
|
+
required: !0
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
render(r) {
|
|
36
|
+
return r("a", {
|
|
37
|
+
attrs: {
|
|
38
|
+
href: this.href,
|
|
39
|
+
rel: "noopener noreferrer",
|
|
40
|
+
target: "_blank",
|
|
41
|
+
class: "rich-text--external-link"
|
|
42
|
+
}
|
|
43
|
+
}, [this.href.trim()]);
|
|
44
|
+
}
|
|
45
|
+
}, A = function({ autolink: r, useMarkdown: e, useExtendedMarkdown: s }) {
|
|
46
|
+
return function(u) {
|
|
47
|
+
s || !e || !r || c.visit(u, (o) => o.type === "text", (o, t, l) => {
|
|
48
|
+
let i = f(o.value);
|
|
49
|
+
return i = i.map((n) => typeof n == "string" ? p.u("text", n) : p.u("link", {
|
|
50
|
+
url: n.props.href
|
|
51
|
+
}, [p.u("text", n.props.href)])).filter((n) => n), l.children.splice(t, 1, ...i.flat()), [c.SKIP, t + i.flat().length];
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
}, f = (r) => {
|
|
55
|
+
let e = a.exec(r);
|
|
56
|
+
const s = [];
|
|
57
|
+
let u = 0;
|
|
58
|
+
for (; e !== null; ) {
|
|
59
|
+
let t = e[2], l, i = r.substring(u, e.index + e[1].length);
|
|
60
|
+
t[0] === " " && (i += t[0], t = t.substring(1).trim());
|
|
61
|
+
const n = t[t.length - 1];
|
|
62
|
+
(n === "." || n === "," || n === ";" || e[0][0] === "(" && n === ")") && (t = t.substring(0, t.length - 1), l = n), s.push(i), s.push({ component: d, props: { href: t } }), l && s.push(l), u = e.index + e[0].length, e = a.exec(r);
|
|
63
|
+
}
|
|
64
|
+
s.push(r.substring(u));
|
|
65
|
+
const o = s.map((t) => typeof t == "string" ? t : t.props.href).join("");
|
|
66
|
+
return r === o ? s : (console.error("Failed to reassemble the chunked text: " + r), r);
|
|
67
|
+
}, U = (r, e) => {
|
|
68
|
+
if (!r)
|
|
69
|
+
return null;
|
|
70
|
+
const s = /^https?:\/\//.test(e);
|
|
71
|
+
if (s && !e.startsWith(h.getBaseUrl()) || !s && !e.startsWith(h.getRootUrl()))
|
|
72
|
+
return null;
|
|
73
|
+
const u = r.history.base, o = s ? e.slice(new URL(e).origin.length) : e, t = e.startsWith((s ? h.getBaseUrl() : h.getRootUrl()) + "/index.php") ? o.replace("/index.php", "") : o, l = u.replace("/index.php", "");
|
|
74
|
+
if (!t.startsWith(l))
|
|
75
|
+
return null;
|
|
76
|
+
const i = t.replace(l, "") || "/", n = r.resolve(i).route;
|
|
77
|
+
return n.matched.length ? n.fullPath : null;
|
|
78
|
+
};
|
|
79
|
+
exports.URL_PATTERN = g;
|
|
80
|
+
exports.getRoute = U;
|
|
81
|
+
exports.parseUrl = f;
|
|
82
|
+
exports.remarkAutolink = A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autolink-MMzlO_Ai.cjs","sources":["../../src/components/NcRichText/helpers.js","../../src/components/NcRichText/autolink.js"],"sourcesContent":["/**\n * Regex pattern to match links to be resolved by the link-reference provider\n *\n * @type {RegExp}\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 *\n * @type {RegExp}\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n * @author Maksim Sukharev <antreesy.web@gmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\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 { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport { visit, SKIP } from 'unist-util-visit'\nimport { u } from 'unist-builder'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\n\nconst NcLink = {\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(h) {\n\t\treturn h('a', {\n\t\t\tattrs: {\n\t\t\t\thref: this.href,\n\t\t\t\trel: 'noopener noreferrer',\n\t\t\t\ttarget: '_blank',\n\t\t\t\tclass: 'rich-text--external-link',\n\t\t\t},\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\tparsed = parsed.map((n) => {\n\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\treturn u('text', n)\n\t\t\t\t}\n\n\t\t\t\treturn u('link', {\n\t\t\t\t\turl: n.props.href,\n\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t}).filter((x) => x)\n\n\t\t\tparent.children.splice(index, 1, ...parsed.flat())\n\t\t\treturn [SKIP, index + parsed.flat().length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\tconst list = []\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 {import('vue-router').default} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be useed in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/app/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router, url) => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php/app/files /favorites?fileid=2#fragment\n\t * |_____origin____|__________router-base__________|_________router-path________|\n\t * |__________base____________|\n\t * |___root___|\n\t */\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 not a link to this Nextcloud server instance => not an app route\n\tif ((isAbsoluteURL && !url.startsWith(getBaseUrl())) || (!isAbsoluteURL && !url.startsWith(getRootUrl()))) {\n\t\treturn null\n\t}\n\n\t// Vue 3: router.options.history.base\n\tconst routerBase = router.history.base\n\n\tconst urlWithoutOrigin = isAbsoluteURL ? url.slice(new URL(url).origin.length) : url\n\n\t// Remove index.php - it is optional in general case in both, VueRouter base and the URL\n\tconst urlWithoutOriginAndIndexPhp = url.startsWith((isAbsoluteURL ? getBaseUrl() : getRootUrl()) + '/index.php') ? urlWithoutOrigin.replace('/index.php', '') : urlWithoutOrigin\n\tconst routerBaseWithoutIndexPhp = routerBase.replace('/index.php', '')\n\n\t// This URL is not a part of this router by base\n\tif (!urlWithoutOriginAndIndexPhp.startsWith(routerBaseWithoutIndexPhp)) {\n\t\treturn null\n\t}\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst routerPath = urlWithoutOriginAndIndexPhp.replace(routerBaseWithoutIndexPhp, '') || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(routerPath).route\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":["URL_PATTERN","URL_PATTERN_AUTOLINK","NcLink","h","remarkAutolink","autolink","useMarkdown","useExtendedMarkdown","tree","visit","node","index","parent","parsed","parseUrl","u","x","SKIP","text","match","list","start","href","textAfter","textBefore","lastChar","joinedText","item","getRoute","router","url","isAbsoluteURL","getBaseUrl","getRootUrl","routerBase","urlWithoutOrigin","urlWithoutOriginAndIndexPhp","routerBaseWithoutIndexPhp","routerPath","route"],"mappings":"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"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import '../assets/referencePickerModal-DWB2ghBg.css';
|
|
2
2
|
import { e as Et, i as xe, h as Pt, a as St, f as kt, d as F, g as xt, c as $t, j as Ot } from "./index-CU14QsCg.mjs";
|
|
3
3
|
import { n as O } from "./_plugin-vue2_normalizer-Bj5bLKV4.mjs";
|
|
4
|
-
import { r as q, P as Nt, a as S, Q as Lt, R as Tt, S as Ke, T as It, u as Vt, U as At, E as jt, V as Bt } from "./_l10n-
|
|
4
|
+
import { r as q, P as Nt, a as S, Q as Lt, R as Tt, S as Ke, T as It, u as Vt, U as At, E as jt, V as Bt } from "./_l10n-BaNxGGXy.mjs";
|
|
5
5
|
import ye from "@nextcloud/axios";
|
|
6
6
|
import { loadState as Je } from "@nextcloud/initial-state";
|
|
7
7
|
import { imagePath as qt, generateOcsUrl as Z } from "@nextcloud/router";
|
|
8
8
|
import ge from "../Components/NcEmptyContent.mjs";
|
|
9
9
|
import { N as Xe } from "./index-CnpswYi6.mjs";
|
|
10
|
-
import { N as Ye } from "./NcSelect-
|
|
10
|
+
import { N as Ye } from "./NcSelect-Bo71Yd6L.mjs";
|
|
11
11
|
import { useIntersectionObserver as Mt, useResizeObserver as Ut } from "@vueuse/core";
|
|
12
12
|
import Dt, { ref as fe } from "vue";
|
|
13
|
-
import { g as Wt } from "./autolink-
|
|
13
|
+
import { g as Wt } from "./autolink-DNGB8YSW.mjs";
|
|
14
14
|
import Ze from "../Components/NcButton.mjs";
|
|
15
15
|
import Ft from "../Components/NcLoadingIcon.mjs";
|
|
16
|
-
import { N as zt } from "./NcTextField-
|
|
16
|
+
import { N as zt } from "./NcTextField-D_eUEl2B.mjs";
|
|
17
17
|
import { D as Ht } from "./DotsHorizontal-DfVgEXgz.mjs";
|
|
18
18
|
import Gt from "../Components/NcModal.mjs";
|
|
19
19
|
import { emit as Qt } from "@nextcloud/event-bus";
|