@nextcloud/vue 9.0.0-rc.9 → 9.0.1
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 +26 -2
- package/dist/assets/{NcActions-9-KEdXq2.css → NcActions-Bqx-6r2h.css} +11 -11
- package/dist/assets/{NcAppContent-BC1UrvXW.css → NcAppContent-w2GK951A.css} +19 -19
- package/dist/assets/{NcAppSettingsDialog-CW1IxPWr.css → NcAppSettingsDialog-Csh7L4r1.css} +10 -10
- package/dist/assets/{NcAppSettingsSection-C4JF60e-.css → NcAppSettingsSection-qx2jbXXG.css} +3 -3
- package/dist/assets/{NcAvatar-CqZ-kryM.css → NcAvatar-CtFA4-sC.css} +24 -24
- package/dist/assets/{NcColorPicker-BUxqqYfq.css → NcColorPicker-DtGrgPdj.css} +42 -33
- package/dist/assets/{NcRadioGroupButton-B1hPj4B8.css → NcRadioGroupButton-6mf16D0h.css} +16 -15
- package/dist/assets/{referencePickerModal-B9tq1n_R.css → referencePickerModal-B4dORP5P.css} +17 -17
- package/dist/chunks/{NcActionButton-D8JTFCmI.mjs → NcActionButton-BAaRMesp.mjs} +2 -2
- package/dist/chunks/{NcActionButton-D8JTFCmI.mjs.map → NcActionButton-BAaRMesp.mjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-4-oVar5v.mjs → NcActionButtonGroup-CMnSKp08.mjs} +2 -2
- package/dist/chunks/{NcActionButtonGroup-4-oVar5v.mjs.map → NcActionButtonGroup-CMnSKp08.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-VRjeb_HB.mjs → NcActionInput-_ccoTcPV.mjs} +5 -5
- package/dist/chunks/{NcActionInput-VRjeb_HB.mjs.map → NcActionInput-_ccoTcPV.mjs.map} +1 -1
- package/dist/chunks/{NcActionTextEditable-DT1X0o3v.mjs → NcActionTextEditable-CzI0V4-P.mjs} +2 -2
- package/dist/chunks/{NcActionTextEditable-DT1X0o3v.mjs.map → NcActionTextEditable-CzI0V4-P.mjs.map} +1 -1
- package/dist/chunks/{NcActions-B1Zg0lCE.mjs → NcActions-Ccr8kkyh.mjs} +6 -6
- package/dist/chunks/{NcActions-B1Zg0lCE.mjs.map → NcActions-Ccr8kkyh.mjs.map} +1 -1
- package/dist/chunks/{NcAppContent-C0PyJQuL.mjs → NcAppContent-CFhtQHrc.mjs} +14 -19
- package/dist/chunks/NcAppContent-CFhtQHrc.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-CFXc92ve.mjs → NcAppNavigation-CxnSGi06.mjs} +3 -3
- package/dist/chunks/{NcAppNavigation-CFXc92ve.mjs.map → NcAppNavigation-CxnSGi06.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-8IL1TQhc.mjs → NcAppNavigationCaption-C35kejgM.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationCaption-8IL1TQhc.mjs.map → NcAppNavigationCaption-C35kejgM.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-DQKh1kuI.mjs → NcAppNavigationItem-C08oNLGX.mjs} +5 -5
- package/dist/chunks/{NcAppNavigationItem-DQKh1kuI.mjs.map → NcAppNavigationItem-C08oNLGX.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-EiuAARhC.mjs → NcAppNavigationNewItem-BuL6tIOy.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNewItem-EiuAARhC.mjs.map → NcAppNavigationNewItem-BuL6tIOy.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSearch-4s_h51nG.mjs → NcAppNavigationSearch-CFXt-xr0.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationSearch-4s_h51nG.mjs.map → NcAppNavigationSearch-CFXt-xr0.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-BZXKmqAD.mjs → NcAppNavigationSettings-DQ8Xle74.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationSettings-BZXKmqAD.mjs.map → NcAppNavigationSettings-DQ8Xle74.mjs.map} +1 -1
- package/dist/chunks/NcAppSettingsDialog-CqoSAJb6.mjs +164 -0
- package/dist/chunks/NcAppSettingsDialog-CqoSAJb6.mjs.map +1 -0
- package/dist/chunks/{NcAppSettingsSection-tccU68DQ.mjs → NcAppSettingsSection-BNTUyNUo.mjs} +9 -4
- package/dist/chunks/NcAppSettingsSection-BNTUyNUo.mjs.map +1 -0
- package/dist/chunks/{NcAppSidebar-CaRxsIi3.mjs → NcAppSidebar-CjQtPAhV.mjs} +4 -4
- package/dist/chunks/{NcAppSidebar-CaRxsIi3.mjs.map → NcAppSidebar-CjQtPAhV.mjs.map} +1 -1
- package/dist/chunks/{NcAssistantButton-V44xlwm5.mjs → NcAssistantButton-BdYyxDoX.mjs} +3 -3
- package/dist/chunks/{NcAssistantButton-V44xlwm5.mjs.map → NcAssistantButton-BdYyxDoX.mjs.map} +1 -1
- package/dist/chunks/{NcAssistantIcon-BQZQIt5W.mjs → NcAssistantIcon-ClJKOiGi.mjs} +2 -2
- package/dist/chunks/{NcAssistantIcon-BQZQIt5W.mjs.map → NcAssistantIcon-ClJKOiGi.mjs.map} +1 -1
- package/dist/chunks/{NcAvatar-Bdy7vKd8.mjs → NcAvatar-BkmHv-oY.mjs} +9 -9
- package/dist/chunks/{NcAvatar-Bdy7vKd8.mjs.map → NcAvatar-BkmHv-oY.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-DCs3D5xv.mjs → NcBreadcrumb-NKaosido.mjs} +2 -2
- package/dist/chunks/{NcBreadcrumb-DCs3D5xv.mjs.map → NcBreadcrumb-NKaosido.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-CG1-NUFL.mjs → NcBreadcrumbs-CYt9wRvh.mjs} +4 -4
- package/dist/chunks/{NcBreadcrumbs-CG1-NUFL.mjs.map → NcBreadcrumbs-CYt9wRvh.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-DdIGHhQz.mjs → NcCheckboxRadioSwitch-BWumYbec.mjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-DdIGHhQz.mjs.map → NcCheckboxRadioSwitch-BWumYbec.mjs.map} +1 -1
- package/dist/chunks/{NcChip-D_5q7NZO.mjs → NcChip-CoZcWPtf.mjs} +5 -5
- package/dist/chunks/{NcChip-D_5q7NZO.mjs.map → NcChip-CoZcWPtf.mjs.map} +1 -1
- package/dist/chunks/{NcCollectionList-kmngwwsK.mjs → NcCollectionList-DGNf9nD5.mjs} +7 -7
- package/dist/chunks/{NcCollectionList-kmngwwsK.mjs.map → NcCollectionList-DGNf9nD5.mjs.map} +1 -1
- package/dist/chunks/{NcColorPicker-BA2HkCh_.mjs → NcColorPicker-Cs5tFS-S.mjs} +63 -34
- package/dist/chunks/NcColorPicker-Cs5tFS-S.mjs.map +1 -0
- package/dist/chunks/{NcContent-BPZeQ3Wr.mjs → NcContent-BhYN55Pl.mjs} +2 -2
- package/dist/chunks/{NcContent-BPZeQ3Wr.mjs.map → NcContent-BhYN55Pl.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-nMY8_RHq.mjs → NcDashboardWidget-CP-yuVVt.mjs} +5 -5
- package/dist/chunks/{NcDashboardWidget-nMY8_RHq.mjs.map → NcDashboardWidget-CP-yuVVt.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-qMv-p11B.mjs → NcDashboardWidgetItem-Hcj96Ghk.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidgetItem-qMv-p11B.mjs.map → NcDashboardWidgetItem-Hcj96Ghk.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePicker-CCOph7f6.mjs → NcDateTimePicker-B5u2bt7M.mjs} +4 -4
- package/dist/chunks/{NcDateTimePicker-CCOph7f6.mjs.map → NcDateTimePicker-B5u2bt7M.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePickerNative-BS-cYf6V.mjs → NcDateTimePickerNative-MeggPJLT.mjs} +2 -2
- package/dist/chunks/{NcDateTimePickerNative-BS-cYf6V.mjs.map → NcDateTimePickerNative-MeggPJLT.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-7-cxNVxV.mjs → NcDialog-CmRabANI.mjs} +3 -3
- package/dist/chunks/{NcDialog-7-cxNVxV.mjs.map → NcDialog-CmRabANI.mjs.map} +1 -1
- package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-CUKZOcC7.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-DhkdaEaZ.mjs} +2 -2
- package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-CUKZOcC7.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-DhkdaEaZ.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-DT7vZdsR.mjs → NcEmojiPicker-DWI-aSaL.mjs} +7 -7
- package/dist/chunks/{NcEmojiPicker-DT7vZdsR.mjs.map → NcEmojiPicker-DWI-aSaL.mjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-D9l9GfP0.mjs → NcInputConfirmCancel-D3HznHAG.mjs} +2 -2
- package/dist/chunks/{NcInputConfirmCancel-D9l9GfP0.mjs.map → NcInputConfirmCancel-D3HznHAG.mjs.map} +1 -1
- package/dist/chunks/{NcInputField-D5lRaUiK.mjs → NcInputField-BYFjEj7Z.mjs} +2 -2
- package/dist/chunks/{NcInputField-D5lRaUiK.mjs.map → NcInputField-BYFjEj7Z.mjs.map} +1 -1
- package/dist/chunks/{NcKbd-kRS12jei.mjs → NcKbd-B3epGXRo.mjs} +2 -2
- package/dist/chunks/{NcKbd-kRS12jei.mjs.map → NcKbd-B3epGXRo.mjs.map} +1 -1
- package/dist/chunks/{NcListItem-BxxYYPjv.mjs → NcListItem-C6dI--9M.mjs} +2 -2
- package/dist/chunks/{NcListItem-BxxYYPjv.mjs.map → NcListItem-C6dI--9M.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-zxWWjgoO.mjs → NcListItemIcon-DJdMrwuH.mjs} +2 -2
- package/dist/chunks/{NcListItemIcon-zxWWjgoO.mjs.map → NcListItemIcon-DJdMrwuH.mjs.map} +1 -1
- package/dist/chunks/{NcModal-vyUsS1qu.mjs → NcModal-DLFgq7Qy.mjs} +5 -5
- package/dist/chunks/{NcModal-vyUsS1qu.mjs.map → NcModal-DLFgq7Qy.mjs.map} +1 -1
- package/dist/chunks/{NcNoteCard-glxPCBcu.mjs → NcNoteCard-BomepG0z.mjs} +2 -2
- package/dist/chunks/{NcNoteCard-glxPCBcu.mjs.map → NcNoteCard-BomepG0z.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-CbeEJLKt.mjs → NcPasswordField-CLv9QZOP.mjs} +4 -4
- package/dist/chunks/{NcPasswordField-CbeEJLKt.mjs.map → NcPasswordField-CLv9QZOP.mjs.map} +1 -1
- package/dist/chunks/{NcPopover-D8iSVK-p.mjs → NcPopover-C-MTaPCs.mjs} +12 -2
- package/dist/chunks/NcPopover-C-MTaPCs.mjs.map +1 -0
- package/dist/chunks/{NcRadioGroupButton-WXtnV-iL.mjs → NcRadioGroupButton-C4BDgB0X.mjs} +7 -7
- package/dist/chunks/NcRadioGroupButton-C4BDgB0X.mjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-BwCcw217.mjs → NcRelatedResourcesPanel-C044oJVp.mjs} +4 -4
- package/dist/chunks/{NcRelatedResourcesPanel-BwCcw217.mjs.map → NcRelatedResourcesPanel-C044oJVp.mjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-ByDxlcix.mjs → NcRichContenteditable-9R0mziQM.mjs} +11 -11
- package/dist/chunks/{NcRichContenteditable-ByDxlcix.mjs.map → NcRichContenteditable-9R0mziQM.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-jQc4sfgS.mjs → NcRichText-BkqS2HWy.mjs} +3 -3
- package/dist/chunks/{NcRichText-jQc4sfgS.mjs.map → NcRichText-BkqS2HWy.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-D8ZEOizf.mjs → NcSelect-BN2tEhoU.mjs} +2 -2
- package/dist/chunks/{NcSelect-D8ZEOizf.mjs.map → NcSelect-BN2tEhoU.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-DrMDRnwZ.mjs → NcSelectTags-Ctd1Tqch.mjs} +3 -3
- package/dist/chunks/{NcSelectTags-DrMDRnwZ.mjs.map → NcSelectTags-Ctd1Tqch.mjs.map} +1 -1
- package/dist/chunks/{NcSelectUsers-DdT04dN1.mjs → NcSelectUsers-ChK3xM3c.mjs} +3 -3
- package/dist/chunks/{NcSelectUsers-DdT04dN1.mjs.map → NcSelectUsers-ChK3xM3c.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-Bp99Q74i.mjs → NcSettingsSection-Cnwb4E5s.mjs} +2 -2
- package/dist/chunks/{NcSettingsSection-Bp99Q74i.mjs.map → NcSettingsSection-Cnwb4E5s.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-BkPLZPNn.mjs → NcSettingsSelectGroup-MrKSvUll.mjs} +3 -3
- package/dist/chunks/{NcSettingsSelectGroup-BkPLZPNn.mjs.map → NcSettingsSelectGroup-MrKSvUll.mjs.map} +1 -1
- package/dist/chunks/{NcTextArea-DeoDvFwH.mjs → NcTextArea-f6VqBxce.mjs} +2 -2
- package/dist/chunks/{NcTextArea-DeoDvFwH.mjs.map → NcTextArea-f6VqBxce.mjs.map} +1 -1
- package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-C7tMhmsN.mjs → NcTextField.vue_vue_type_script_setup_true_lang-Dl9AQfwW.mjs} +4 -4
- package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-C7tMhmsN.mjs.map → NcTextField.vue_vue_type_script_setup_true_lang-Dl9AQfwW.mjs.map} +1 -1
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BexVGMhR.mjs +66 -0
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BexVGMhR.mjs.map +1 -0
- package/dist/chunks/{NcUserBubble-CklD5ttg.mjs → NcUserBubble-DfxVEEZg.mjs} +3 -3
- package/dist/chunks/{NcUserBubble-CklD5ttg.mjs.map → NcUserBubble-DfxVEEZg.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-DiX6zPGT.mjs → NcUserStatusIcon-GpeB4Zhc.mjs} +2 -2
- package/dist/chunks/{NcUserStatusIcon-DiX6zPGT.mjs.map → NcUserStatusIcon-GpeB4Zhc.mjs.map} +1 -1
- package/dist/chunks/{_l10n-CeXHJQB0.mjs → _l10n-BPfpECk_.mjs} +54 -58
- package/dist/chunks/_l10n-BPfpECk_.mjs.map +1 -0
- package/dist/chunks/autolink-U5pBzLgI.mjs.map +1 -1
- package/dist/chunks/{colors-BZi52VLk.mjs → colors-ZSK8bG_B.mjs} +15 -26
- package/dist/chunks/colors-ZSK8bG_B.mjs.map +1 -0
- package/dist/chunks/customPickerElements-4pQTZUnk.mjs.map +1 -1
- package/dist/chunks/{mdi-D_GPbmUY.mjs → mdi-Cjx8NyEs.mjs} +14 -12
- package/dist/chunks/{mdi-D_GPbmUY.mjs.map → mdi-Cjx8NyEs.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-B2XHvg0V.mjs → referencePickerModal-BgBJRzaB.mjs} +157 -185
- package/dist/chunks/referencePickerModal-BgBJRzaB.mjs.map +1 -0
- package/dist/chunks/useAppSettingsDialog-Dn48dw1k.mjs +10 -0
- package/dist/chunks/useAppSettingsDialog-Dn48dw1k.mjs.map +1 -0
- package/dist/components/NcActionButton/index.mjs +1 -1
- package/dist/components/NcActionButtonGroup/index.mjs +1 -1
- package/dist/components/NcActionInput/NcActionInput.vue.d.ts +18 -15
- package/dist/components/NcActionInput/index.mjs +1 -1
- package/dist/components/NcActionTextEditable/index.mjs +1 -1
- package/dist/components/NcActions/index.mjs +1 -1
- package/dist/components/NcAppContent/NcAppContent.vue.d.ts +0 -3
- package/dist/components/NcAppContent/index.mjs +1 -1
- package/dist/components/NcAppNavigation/index.mjs +1 -1
- package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
- package/dist/components/NcAppNavigationItem/index.mjs +1 -1
- package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
- package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
- package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
- package/dist/components/NcAppSettingsDialog/NcAppSettingsDialog.vue.d.ts +46 -333
- package/dist/components/NcAppSettingsDialog/index.d.ts +4 -0
- package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
- package/dist/components/NcAppSettingsDialog/useAppSettingsDialog.d.ts +24 -0
- package/dist/components/NcAppSettingsSection/NcAppSettingsSection.vue.d.ts +4 -1
- package/dist/components/NcAppSettingsSection/index.mjs +1 -1
- package/dist/components/NcAppSidebar/index.mjs +1 -1
- package/dist/components/NcAssistantButton/index.mjs +1 -1
- package/dist/components/NcAssistantIcon/index.mjs +1 -1
- package/dist/components/NcAvatar/index.mjs +1 -1
- package/dist/components/NcBreadcrumb/index.mjs +1 -1
- package/dist/components/NcBreadcrumbs/index.mjs +1 -1
- package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
- package/dist/components/NcChip/index.mjs +1 -1
- package/dist/components/NcCollectionList/index.mjs +1 -1
- package/dist/components/NcColorPicker/NcColorPicker.vue.d.ts +10 -5
- package/dist/components/NcColorPicker/index.mjs +1 -1
- package/dist/components/NcContent/index.mjs +1 -1
- package/dist/components/NcDashboardWidget/index.mjs +1 -1
- package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
- package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +2 -2
- package/dist/components/NcDateTimePicker/index.mjs +1 -1
- package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
- package/dist/components/NcDialog/index.mjs +1 -1
- package/dist/components/NcDialogButton/index.mjs +1 -1
- package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +16 -13
- package/dist/components/NcEmojiPicker/index.mjs +1 -1
- package/dist/components/NcInputField/index.mjs +1 -1
- package/dist/components/NcKbd/index.mjs +1 -1
- package/dist/components/NcListItem/index.mjs +1 -1
- package/dist/components/NcListItemIcon/index.mjs +1 -1
- package/dist/components/NcModal/index.mjs +1 -1
- package/dist/components/NcNoteCard/index.mjs +1 -1
- package/dist/components/NcPasswordField/index.mjs +1 -1
- package/dist/components/NcPopover/index.mjs +1 -1
- package/dist/components/NcRadioGroupButton/index.mjs +1 -1
- package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
- package/dist/components/NcRichContenteditable/index.mjs +1 -1
- package/dist/components/NcRichText/NcReferenceList.vue.d.ts +14 -185
- package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +13 -184
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +13 -184
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +13 -184
- package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +20 -184
- package/dist/components/NcRichText/NcRichText.vue.d.ts +14 -185
- package/dist/components/NcRichText/autolink.d.ts +1 -1
- package/dist/components/NcRichText/index.mjs +3 -3
- package/dist/components/NcSelect/index.mjs +1 -1
- package/dist/components/NcSelectTags/index.mjs +1 -1
- package/dist/components/NcSelectUsers/index.mjs +1 -1
- package/dist/components/NcSettingsSection/index.mjs +1 -1
- package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
- package/dist/components/NcTextArea/index.mjs +1 -1
- package/dist/components/NcTextField/index.mjs +1 -1
- package/dist/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +14 -1
- package/dist/components/NcTimezonePicker/index.mjs +1 -1
- package/dist/components/NcTimezonePicker/timezoneUtils.d.ts +8 -0
- package/dist/components/NcUserBubble/index.mjs +1 -1
- package/dist/components/NcUserStatusIcon/index.mjs +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/composables/useFormatDateTime/index.mjs +1 -1
- package/dist/composables/useHotKey/index.d.ts +4 -2
- package/dist/composables/useHotKey/index.mjs.map +1 -1
- package/dist/functions/reference/index.mjs +1 -1
- package/dist/functions/reference/widgets.d.ts +14 -2
- package/dist/functions/usernameToColor/index.mjs +1 -1
- package/dist/index.mjs +56 -56
- package/dist/utils/colors.d.ts +2 -0
- package/package.json +15 -16
- package/dist/chunks/NcAppContent-C0PyJQuL.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-GHmlZjop.mjs +0 -261
- package/dist/chunks/NcAppSettingsDialog-GHmlZjop.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-tccU68DQ.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-BA2HkCh_.mjs.map +0 -1
- package/dist/chunks/NcPopover-D8iSVK-p.mjs.map +0 -1
- package/dist/chunks/NcRadioGroupButton-WXtnV-iL.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-DcUR0zAy.mjs +0 -98
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-DcUR0zAy.mjs.map +0 -1
- package/dist/chunks/_l10n-CeXHJQB0.mjs.map +0 -1
- package/dist/chunks/colors-BZi52VLk.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-B2XHvg0V.mjs.map +0 -1
- package/dist/components/NcTimezonePicker/timezoneDataProviderService.d.ts +0 -9
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import '../assets/referencePickerModal-
|
|
2
|
-
import { createElementBlock, openBlock, mergeProps, createElementVNode, createCommentVNode, toDisplayString, resolveComponent, createVNode, withCtx, ref, nextTick, normalizeClass, createBlock, resolveDynamicComponent, normalizeStyle, createTextVNode, withKeys, withModifiers, createApp } from "vue";
|
|
1
|
+
import '../assets/referencePickerModal-B4dORP5P.css';
|
|
2
|
+
import { createElementBlock, openBlock, mergeProps, createElementVNode, createCommentVNode, toDisplayString, resolveComponent, createVNode, withCtx, defineComponent, inject, ref, useTemplateRef, nextTick, computed, watch, onBeforeUnmount, normalizeClass, createBlock, resolveDynamicComponent, normalizeStyle, createTextVNode, unref, withKeys, withModifiers, createApp } from "vue";
|
|
3
3
|
import { emit } from "@nextcloud/event-bus";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
|
|
5
5
|
import { I as IconClose } from "./Close-D6ngJ4t9.mjs";
|
|
6
|
-
import { f as renderCustomPickerElement, b as destroyCustomPickerElement, c as isCustomPickerElementRegistered,
|
|
6
|
+
import { f as renderCustomPickerElement, b as destroyCustomPickerElement, c as isCustomPickerElementRegistered, j as hasFullWidth, i as isWidgetRegistered, h as hasInteractiveView, a as renderWidget, d as destroyWidget, g as getCustomPickerElementSize } from "./customPickerElements-4pQTZUnk.mjs";
|
|
7
7
|
import axios from "@nextcloud/axios";
|
|
8
8
|
import { loadState } from "@nextcloud/initial-state";
|
|
9
9
|
import { imagePath, generateOcsUrl } from "@nextcloud/router";
|
|
10
|
-
import { r as register,
|
|
10
|
+
import { r as register, E as t8, a as t, F as t43, G as t38, H as t24, i as t40, I as t30, o as t19, J as t12 } from "./_l10n-BPfpECk_.mjs";
|
|
11
11
|
import { l as logger } from "./logger-D3RVzcfQ.mjs";
|
|
12
12
|
import { N as NcEmptyContent } from "./NcEmptyContent-BdOezubv.mjs";
|
|
13
13
|
import { _ as _sfc_main$a } from "./NcHighlight.vue_vue_type_script_lang-DnWQDM_2.mjs";
|
|
14
|
-
import { N as NcSelect } from "./NcSelect-
|
|
14
|
+
import { N as NcSelect } from "./NcSelect-BN2tEhoU.mjs";
|
|
15
15
|
import debounce from "debounce";
|
|
16
16
|
import { useElementSize, useIntersectionObserver } from "@vueuse/core";
|
|
17
|
-
import { RouterLink } from "vue-router";
|
|
17
|
+
import { routerKey, RouterLink } from "vue-router";
|
|
18
18
|
import { N as NcButton } from "./NcButton-DkC5k3Lb.mjs";
|
|
19
19
|
import { g as getRoute } from "./autolink-U5pBzLgI.mjs";
|
|
20
20
|
import { N as NcLoadingIcon } from "./NcLoadingIcon-b_ajZ_nQ.mjs";
|
|
21
|
-
import { _ as _sfc_main$b } from "./NcTextField.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { I as IconDotsHorizontal } from "./NcActions-
|
|
23
|
-
import { N as NcModal } from "./NcModal-
|
|
21
|
+
import { _ as _sfc_main$b } from "./NcTextField.vue_vue_type_script_setup_true_lang-Dl9AQfwW.mjs";
|
|
22
|
+
import { I as IconDotsHorizontal } from "./NcActions-Ccr8kkyh.mjs";
|
|
23
|
+
import { N as NcModal } from "./NcModal-DLFgq7Qy.mjs";
|
|
24
24
|
const _sfc_main$9 = {
|
|
25
25
|
name: "ArrowLeftIcon",
|
|
26
26
|
emits: ["click"],
|
|
@@ -42,7 +42,7 @@ const _hoisted_1$9 = ["aria-hidden", "aria-label"];
|
|
|
42
42
|
const _hoisted_2$7 = ["fill", "width", "height"];
|
|
43
43
|
const _hoisted_3$6 = { d: "M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" };
|
|
44
44
|
const _hoisted_4$5 = { key: 0 };
|
|
45
|
-
function _sfc_render$
|
|
45
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46
46
|
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
|
|
47
47
|
"aria-hidden": $props.title ? null : "true",
|
|
48
48
|
"aria-label": $props.title,
|
|
@@ -63,7 +63,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63
63
|
], 8, _hoisted_2$7))
|
|
64
64
|
], 16, _hoisted_1$9);
|
|
65
65
|
}
|
|
66
|
-
const ArrowLeftIcon = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$
|
|
66
|
+
const ArrowLeftIcon = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$8]]);
|
|
67
67
|
const _sfc_main$8 = {
|
|
68
68
|
name: "NcCustomPickerElement",
|
|
69
69
|
props: {
|
|
@@ -122,10 +122,10 @@ const _sfc_main$8 = {
|
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
const _hoisted_1$8 = { ref: "domElement" };
|
|
125
|
-
function _sfc_render$
|
|
125
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
126
|
return openBlock(), createElementBlock("div", _hoisted_1$8, null, 512);
|
|
127
127
|
}
|
|
128
|
-
const NcCustomPickerElement = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$
|
|
128
|
+
const NcCustomPickerElement = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$7], ["__scopeId", "data-v-e408867a"]]);
|
|
129
129
|
const _sfc_main$7 = {
|
|
130
130
|
name: "LinkVariantIcon",
|
|
131
131
|
emits: ["click"],
|
|
@@ -147,7 +147,7 @@ const _hoisted_1$7 = ["aria-hidden", "aria-label"];
|
|
|
147
147
|
const _hoisted_2$6 = ["fill", "width", "height"];
|
|
148
148
|
const _hoisted_3$5 = { d: "M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" };
|
|
149
149
|
const _hoisted_4$4 = { key: 0 };
|
|
150
|
-
function _sfc_render$
|
|
150
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
151
151
|
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
|
|
152
152
|
"aria-hidden": $props.title ? null : "true",
|
|
153
153
|
"aria-label": $props.title,
|
|
@@ -168,7 +168,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
168
168
|
], 8, _hoisted_2$6))
|
|
169
169
|
], 16, _hoisted_1$7);
|
|
170
170
|
}
|
|
171
|
-
const LinkVariantIcon = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$
|
|
171
|
+
const LinkVariantIcon = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$6]]);
|
|
172
172
|
register(t8);
|
|
173
173
|
const anyLinkProviderId = "any-link";
|
|
174
174
|
const anyLinkProvider = {
|
|
@@ -224,7 +224,7 @@ async function touchProvider(providerId) {
|
|
|
224
224
|
await axios.put(url, { timestamp });
|
|
225
225
|
window._vue_richtext_reference_provider_timestamps[providerId] = timestamp;
|
|
226
226
|
}
|
|
227
|
-
register(
|
|
227
|
+
register(t38, t43);
|
|
228
228
|
/*!
|
|
229
229
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
230
230
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
@@ -301,7 +301,7 @@ const _hoisted_3$4 = {
|
|
|
301
301
|
class: "provider"
|
|
302
302
|
};
|
|
303
303
|
const _hoisted_4$3 = ["src", "alt"];
|
|
304
|
-
function _sfc_render$
|
|
304
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
305
305
|
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
306
306
|
const _component_NcHighlight = resolveComponent("NcHighlight");
|
|
307
307
|
const _component_NcSelect = resolveComponent("NcSelect");
|
|
@@ -355,85 +355,68 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
355
355
|
})
|
|
356
356
|
]);
|
|
357
357
|
}
|
|
358
|
-
const NcProviderList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$
|
|
359
|
-
register(
|
|
358
|
+
const NcProviderList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-90c6aa3b"]]);
|
|
359
|
+
register();
|
|
360
|
+
const _hoisted_1$5 = ["src"];
|
|
361
|
+
const _hoisted_2$4 = { class: "widget-default--details" };
|
|
362
|
+
const _hoisted_3$3 = { class: "widget-default--name" };
|
|
363
|
+
const _hoisted_4$2 = { class: "widget-default--link" };
|
|
360
364
|
const IDLE_TIMEOUT = 3 * 60 * 1e3;
|
|
361
|
-
const _sfc_main$5 = {
|
|
362
|
-
|
|
363
|
-
components: {
|
|
364
|
-
NcButton
|
|
365
|
-
},
|
|
366
|
-
/* eslint vue/require-prop-comment: warn -- TODO: Add a proper doc block about what this props do */
|
|
365
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
366
|
+
__name: "NcReferenceWidget",
|
|
367
367
|
props: {
|
|
368
|
-
reference: {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
},
|
|
372
|
-
interactive: {
|
|
373
|
-
type: Boolean,
|
|
374
|
-
default: true
|
|
375
|
-
},
|
|
376
|
-
interactiveOptIn: {
|
|
377
|
-
type: Boolean,
|
|
378
|
-
default: false
|
|
379
|
-
}
|
|
368
|
+
reference: {},
|
|
369
|
+
interactive: { type: Boolean, default: true },
|
|
370
|
+
interactiveOptIn: { type: Boolean, default: false }
|
|
380
371
|
},
|
|
381
|
-
setup() {
|
|
372
|
+
setup(__props) {
|
|
373
|
+
const props = __props;
|
|
374
|
+
const router = inject(routerKey, null);
|
|
382
375
|
const isVisible = ref(false);
|
|
383
|
-
const
|
|
376
|
+
const customWidget = useTemplateRef("customWidget");
|
|
377
|
+
const widgetRoot = useTemplateRef("widgetRoot");
|
|
384
378
|
const { width } = useElementSize(widgetRoot);
|
|
385
379
|
useIntersectionObserver(widgetRoot, ([entry]) => {
|
|
386
380
|
nextTick(() => {
|
|
387
381
|
isVisible.value = entry.isIntersecting;
|
|
388
382
|
});
|
|
389
383
|
});
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
};
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
return isWidgetRegistered(this.reference.richObjectType) && hasInteractiveView(this.reference.richObjectType);
|
|
415
|
-
},
|
|
416
|
-
noAccess() {
|
|
417
|
-
return this.reference && !this.reference.accessible;
|
|
418
|
-
},
|
|
419
|
-
descriptionStyle() {
|
|
420
|
-
if (this.numberOfLines === 0) {
|
|
384
|
+
const showInteractive = ref(false);
|
|
385
|
+
const rendered = ref(false);
|
|
386
|
+
let idleTimeout = null;
|
|
387
|
+
const isInteractive = computed(() => {
|
|
388
|
+
return !props.interactiveOptIn && props.interactive || showInteractive.value;
|
|
389
|
+
});
|
|
390
|
+
const referenceHasFullWidth = computed(() => {
|
|
391
|
+
return hasFullWidth(props.reference.richObjectType);
|
|
392
|
+
});
|
|
393
|
+
const hasCustomWidget = computed(() => {
|
|
394
|
+
return isWidgetRegistered(props.reference.richObjectType);
|
|
395
|
+
});
|
|
396
|
+
const referenceHasInteractiveView = computed(() => {
|
|
397
|
+
return hasCustomWidget.value && hasInteractiveView(props.reference.richObjectType);
|
|
398
|
+
});
|
|
399
|
+
const noAccess = computed(() => {
|
|
400
|
+
return !props.reference.accessible;
|
|
401
|
+
});
|
|
402
|
+
const numberOfLines = computed(() => {
|
|
403
|
+
const lineCountOffsets = [450, 550, 650, Infinity];
|
|
404
|
+
return lineCountOffsets.findIndex((max) => width.value < max);
|
|
405
|
+
});
|
|
406
|
+
const descriptionStyle = computed(() => {
|
|
407
|
+
if (numberOfLines.value === 0) {
|
|
421
408
|
return {
|
|
422
409
|
display: "none"
|
|
423
410
|
};
|
|
424
411
|
}
|
|
425
|
-
const lineClamp =
|
|
412
|
+
const lineClamp = numberOfLines.value;
|
|
426
413
|
return {
|
|
427
414
|
lineClamp,
|
|
428
415
|
webkitLineClamp: lineClamp
|
|
429
416
|
};
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
const
|
|
433
|
-
return lineCountOffsets.findIndex((max) => this.width < max);
|
|
434
|
-
},
|
|
435
|
-
compactLink() {
|
|
436
|
-
const link = this.reference.openGraphObject.link;
|
|
417
|
+
});
|
|
418
|
+
const compactLink = computed(() => {
|
|
419
|
+
const link = props.reference.openGraphObject.link;
|
|
437
420
|
if (!link) {
|
|
438
421
|
return "";
|
|
439
422
|
}
|
|
@@ -444,123 +427,112 @@ const _sfc_main$5 = {
|
|
|
444
427
|
return link.substring(7);
|
|
445
428
|
}
|
|
446
429
|
return link;
|
|
447
|
-
}
|
|
448
|
-
route() {
|
|
449
|
-
return getRoute(
|
|
450
|
-
}
|
|
451
|
-
referenceWidgetLinkComponent() {
|
|
452
|
-
return
|
|
453
|
-
}
|
|
454
|
-
referenceWidgetLinkProps() {
|
|
455
|
-
return
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
430
|
+
});
|
|
431
|
+
const route = computed(() => {
|
|
432
|
+
return getRoute(router, props.reference.openGraphObject.link);
|
|
433
|
+
});
|
|
434
|
+
const referenceWidgetLinkComponent = computed(() => {
|
|
435
|
+
return route.value ? RouterLink : "a";
|
|
436
|
+
});
|
|
437
|
+
const referenceWidgetLinkProps = computed(() => {
|
|
438
|
+
return route.value ? { to: route.value } : { href: props.reference.openGraphObject.link, target: "_blank" };
|
|
439
|
+
});
|
|
440
|
+
watch(isVisible, (val) => {
|
|
441
|
+
if (!val) {
|
|
442
|
+
idleTimeout = setTimeout(() => {
|
|
443
|
+
if (!isVisible.value) {
|
|
444
|
+
destroyReferenceWidget();
|
|
445
|
+
}
|
|
446
|
+
}, IDLE_TIMEOUT);
|
|
447
|
+
return;
|
|
448
|
+
}
|
|
449
|
+
if (idleTimeout) {
|
|
450
|
+
clearTimeout(idleTimeout);
|
|
451
|
+
idleTimeout = null;
|
|
452
|
+
}
|
|
453
|
+
if (!rendered.value) {
|
|
454
|
+
renderReferenceWidget();
|
|
455
|
+
}
|
|
456
|
+
}, { immediate: true });
|
|
457
|
+
onBeforeUnmount(() => {
|
|
458
|
+
destroyReferenceWidget();
|
|
459
|
+
});
|
|
460
|
+
function enableInteractive() {
|
|
461
|
+
showInteractive.value = true;
|
|
462
|
+
renderReferenceWidget();
|
|
478
463
|
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
this.destroyWidget();
|
|
482
|
-
},
|
|
483
|
-
methods: {
|
|
484
|
-
t,
|
|
485
|
-
enableInteractive() {
|
|
486
|
-
this.showInteractive = true;
|
|
487
|
-
this.renderWidget();
|
|
488
|
-
},
|
|
489
|
-
renderWidget() {
|
|
490
|
-
if (!this.$refs.customWidget) {
|
|
464
|
+
function renderReferenceWidget() {
|
|
465
|
+
if (!customWidget.value) {
|
|
491
466
|
return;
|
|
492
467
|
}
|
|
493
|
-
if (
|
|
468
|
+
if (props.reference.richObjectType === "open-graph") {
|
|
494
469
|
return;
|
|
495
470
|
}
|
|
496
|
-
|
|
471
|
+
customWidget.value.innerHTML = "";
|
|
497
472
|
const widget = document.createElement("div");
|
|
498
|
-
widget.style = "
|
|
499
|
-
|
|
500
|
-
|
|
473
|
+
widget.style.width = "100%";
|
|
474
|
+
customWidget.value.appendChild(widget);
|
|
475
|
+
nextTick(() => {
|
|
501
476
|
renderWidget(widget, {
|
|
502
|
-
...
|
|
503
|
-
interactive:
|
|
477
|
+
...props.reference,
|
|
478
|
+
interactive: isInteractive.value
|
|
504
479
|
});
|
|
505
|
-
|
|
480
|
+
rendered.value = true;
|
|
506
481
|
});
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
if (
|
|
510
|
-
destroyWidget(
|
|
511
|
-
|
|
482
|
+
}
|
|
483
|
+
function destroyReferenceWidget() {
|
|
484
|
+
if (rendered.value && widgetRoot.value) {
|
|
485
|
+
destroyWidget(props.reference.richObjectType, widgetRoot.value);
|
|
486
|
+
rendered.value = false;
|
|
512
487
|
}
|
|
513
488
|
}
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
const _component_NcButton = resolveComponent("NcButton");
|
|
522
|
-
return openBlock(), createElementBlock("div", {
|
|
523
|
-
ref: "widgetRoot",
|
|
524
|
-
class: normalizeClass({ "toggle-interactive": $options.hasInteractiveView && !$options.isInteractive })
|
|
525
|
-
}, [
|
|
526
|
-
$props.reference && $options.hasCustomWidget ? (openBlock(), createElementBlock("div", {
|
|
527
|
-
key: 0,
|
|
528
|
-
ref: "customWidget",
|
|
529
|
-
class: normalizeClass(["widget-custom", { "full-width": $options.hasFullWidth }])
|
|
530
|
-
}, null, 2)) : !$options.noAccess && $props.reference && $props.reference.openGraphObject && !$options.hasCustomWidget ? (openBlock(), createBlock(resolveDynamicComponent($options.referenceWidgetLinkComponent), mergeProps({ key: 1 }, $options.referenceWidgetLinkProps, {
|
|
531
|
-
rel: "noopener noreferrer",
|
|
532
|
-
class: "widget-default"
|
|
533
|
-
}), {
|
|
534
|
-
default: withCtx(() => [
|
|
535
|
-
$props.reference.openGraphObject.thumb ? (openBlock(), createElementBlock("img", {
|
|
489
|
+
return (_ctx, _cache) => {
|
|
490
|
+
return openBlock(), createElementBlock("div", {
|
|
491
|
+
ref_key: "widgetRoot",
|
|
492
|
+
ref: widgetRoot,
|
|
493
|
+
class: normalizeClass({ "toggle-interactive": referenceHasInteractiveView.value && !isInteractive.value })
|
|
494
|
+
}, [
|
|
495
|
+
_ctx.reference && hasCustomWidget.value ? (openBlock(), createElementBlock("div", {
|
|
536
496
|
key: 0,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
497
|
+
ref_key: "customWidget",
|
|
498
|
+
ref: customWidget,
|
|
499
|
+
class: normalizeClass(["widget-custom", { "full-width": referenceHasFullWidth.value }])
|
|
500
|
+
}, null, 2)) : !noAccess.value && _ctx.reference && _ctx.reference.openGraphObject && !hasCustomWidget.value ? (openBlock(), createBlock(resolveDynamicComponent(referenceWidgetLinkComponent.value), mergeProps({ key: 1 }, referenceWidgetLinkProps.value, {
|
|
501
|
+
rel: "noopener noreferrer",
|
|
502
|
+
class: "widget-default"
|
|
503
|
+
}), {
|
|
504
|
+
default: withCtx(() => [
|
|
505
|
+
_ctx.reference.openGraphObject.thumb ? (openBlock(), createElementBlock("img", {
|
|
506
|
+
key: 0,
|
|
507
|
+
class: "widget-default--image",
|
|
508
|
+
src: _ctx.reference.openGraphObject.thumb
|
|
509
|
+
}, null, 8, _hoisted_1$5)) : createCommentVNode("", true),
|
|
510
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
511
|
+
createElementVNode("p", _hoisted_3$3, toDisplayString(_ctx.reference.openGraphObject.name), 1),
|
|
512
|
+
createElementVNode("p", {
|
|
513
|
+
class: "widget-default--description",
|
|
514
|
+
style: normalizeStyle(descriptionStyle.value)
|
|
515
|
+
}, toDisplayString(_ctx.reference.openGraphObject.description), 5),
|
|
516
|
+
createElementVNode("p", _hoisted_4$2, toDisplayString(compactLink.value), 1)
|
|
517
|
+
])
|
|
518
|
+
]),
|
|
519
|
+
_: 1
|
|
520
|
+
}, 16)) : createCommentVNode("", true),
|
|
521
|
+
_ctx.interactiveOptIn && referenceHasInteractiveView.value && !isInteractive.value ? (openBlock(), createBlock(NcButton, {
|
|
522
|
+
key: 2,
|
|
523
|
+
class: "toggle-interactive--button",
|
|
524
|
+
onClick: enableInteractive
|
|
525
|
+
}, {
|
|
526
|
+
default: withCtx(() => [
|
|
527
|
+
createTextVNode(toDisplayString(unref(t)("Enable interactive view")), 1)
|
|
528
|
+
]),
|
|
529
|
+
_: 1
|
|
530
|
+
})) : createCommentVNode("", true)
|
|
531
|
+
], 2);
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
const NcReferenceWidget = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8ce33442"]]);
|
|
564
536
|
register(t24);
|
|
565
537
|
const _sfc_main$4 = {
|
|
566
538
|
name: "NcRawLinkInput",
|
|
@@ -749,7 +721,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
749
721
|
]);
|
|
750
722
|
}
|
|
751
723
|
const NcSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-059edcfb"]]);
|
|
752
|
-
register(
|
|
724
|
+
register(t30, t38, t40);
|
|
753
725
|
const LIMIT = 5;
|
|
754
726
|
const _sfc_main$2 = {
|
|
755
727
|
name: "NcSearch",
|
|
@@ -1396,4 +1368,4 @@ export {
|
|
|
1396
1368
|
NcSearch as h,
|
|
1397
1369
|
searchProvider as s
|
|
1398
1370
|
};
|
|
1399
|
-
//# sourceMappingURL=referencePickerModal-
|
|
1371
|
+
//# sourceMappingURL=referencePickerModal-BgBJRzaB.mjs.map
|