@nextcloud/vue 9.0.0-alpha.1 → 9.0.0-alpha.3
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 +249 -3
- package/README.md +4 -2
- package/dist/Components/NcActionButton.mjs +2 -2
- package/dist/Components/NcActionButtonGroup.mjs +2 -2
- package/dist/Components/NcActionCaption.mjs +2 -2
- package/dist/Components/NcActionCheckbox.mjs +2 -2
- package/dist/Components/NcActionInput.mjs +2 -2
- package/dist/Components/NcActionLink.mjs +2 -2
- package/dist/Components/NcActionRadio.mjs +2 -2
- package/dist/Components/NcActionRouter.mjs +2 -2
- package/dist/Components/NcActionSeparator.mjs +2 -2
- package/dist/Components/NcActionText.mjs +2 -2
- package/dist/Components/NcActionTextEditable.mjs +2 -2
- package/dist/Components/NcActions.mjs +2 -2
- package/dist/Components/NcAppContent.mjs +2 -2
- package/dist/Components/NcAppContentDetails.mjs +2 -2
- package/dist/Components/NcAppContentList.mjs +2 -2
- package/dist/Components/NcAppNavigation.mjs +2 -2
- package/dist/Components/NcAppNavigationCaption.mjs +2 -2
- package/dist/Components/NcAppNavigationIconBullet.mjs +2 -2
- package/dist/Components/NcAppNavigationItem.mjs +2 -2
- package/dist/Components/NcAppNavigationList.mjs +4 -0
- package/dist/Components/NcAppNavigationList.mjs.map +1 -0
- package/dist/Components/NcAppNavigationNew.mjs +2 -2
- package/dist/Components/NcAppNavigationNewItem.mjs +2 -2
- package/dist/Components/NcAppNavigationSettings.mjs +2 -2
- package/dist/Components/NcAppNavigationSpacer.mjs +2 -2
- package/dist/Components/NcAppNavigationToggle.mjs +3 -3
- package/dist/Components/NcAppSettingsDialog.mjs +2 -2
- package/dist/Components/NcAppSettingsSection.mjs +2 -2
- package/dist/Components/NcAppSidebar.mjs +2 -2
- package/dist/Components/NcAppSidebarTab.mjs +2 -2
- package/dist/Components/NcAvatar.mjs +2 -2
- package/dist/Components/NcBreadcrumb.mjs +2 -2
- package/dist/Components/NcBreadcrumbs.mjs +2 -2
- package/dist/Components/NcButton.mjs +2 -2
- package/dist/Components/NcCheckboxRadioSwitch.mjs +2 -2
- package/dist/Components/NcColorPicker.mjs +2 -2
- package/dist/Components/NcContent.mjs +2 -2
- package/dist/Components/NcCounterBubble.mjs +2 -2
- package/dist/Components/NcDashboardWidget.mjs +2 -2
- package/dist/Components/NcDashboardWidgetItem.mjs +2 -2
- package/dist/Components/NcDateTime.mjs +2 -2
- package/dist/Components/NcDateTimePicker.mjs +2 -2
- package/dist/Components/NcDateTimePickerNative.mjs +2 -2
- package/dist/Components/NcDialog.mjs +2 -2
- package/dist/Components/NcDialogButton.mjs +2 -2
- package/dist/Components/NcEllipsisedOption.mjs +2 -2
- package/dist/Components/NcEmojiPicker.mjs +2 -2
- package/dist/Components/NcEmptyContent.mjs +2 -2
- package/dist/Components/NcGuestContent.mjs +2 -2
- package/dist/Components/NcHeaderMenu.mjs +2 -2
- package/dist/Components/NcHighlight.mjs +2 -2
- package/dist/Components/NcIconSvgWrapper.mjs +2 -2
- package/dist/Components/NcInputField.mjs +2 -2
- package/dist/Components/NcListItem.mjs +2 -2
- package/dist/Components/NcListItemIcon.mjs +2 -2
- package/dist/Components/NcLoadingIcon.mjs +2 -2
- package/dist/Components/NcModal.mjs +355 -235
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +2 -2
- package/dist/Components/NcPasswordField.mjs +2 -2
- package/dist/Components/NcPopover.mjs +2 -2
- package/dist/Components/NcProgressBar.mjs +2 -2
- package/dist/Components/NcRelatedResourcesPanel.mjs +2 -2
- package/dist/Components/NcRichContenteditable.mjs +5 -5
- package/dist/Components/NcRichText.mjs +24 -23
- package/dist/Components/NcRichText.mjs.map +1 -1
- package/dist/Components/NcSavingIndicatorIcon.mjs +2 -2
- package/dist/Components/NcSelect.mjs +2 -2
- package/dist/Components/NcSelectTags.mjs +2 -2
- package/dist/Components/NcSettingsInputText.mjs +2 -2
- package/dist/Components/NcSettingsSection.mjs +2 -2
- package/dist/Components/NcSettingsSelectGroup.mjs +3 -3
- package/dist/Components/NcTextArea.mjs +2 -2
- package/dist/Components/NcTextField.mjs +2 -2
- package/dist/Components/NcTimezonePicker.mjs +2 -2
- package/dist/Components/NcUserBubble.mjs +2 -2
- package/dist/Components/NcUserStatusIcon.mjs +2 -2
- package/dist/Components/NcVNodes.mjs +3 -4
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Composables/useIsFullscreen.mjs +7 -6
- package/dist/Composables/useIsFullscreen.mjs.map +1 -1
- package/dist/Composables/useIsMobile.mjs +19 -14
- package/dist/Composables/useIsMobile.mjs.map +1 -1
- package/dist/Directives/Focus.mjs +5 -5
- package/dist/Directives/Focus.mjs.map +1 -1
- package/dist/Directives/Linkify.mjs +7 -6
- package/dist/Directives/Linkify.mjs.map +1 -1
- package/dist/Directives/Tooltip.mjs +9 -9
- package/dist/Directives/Tooltip.mjs.map +1 -1
- package/dist/Functions/a11y.mjs +10 -2
- package/dist/Functions/a11y.mjs.map +1 -1
- package/dist/Functions/emoji.mjs +5 -5
- package/dist/Functions/reference.mjs +18 -0
- package/dist/Functions/reference.mjs.map +1 -0
- package/dist/Functions/registerReference.mjs +13 -0
- package/dist/Functions/registerReference.mjs.map +1 -0
- package/dist/Functions/usernameToColor.mjs +2 -2
- package/dist/Mixins/clickOutsideOptions.mjs +4 -3
- package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
- package/dist/Mixins/richEditor.mjs +5 -5
- package/dist/assets/NcActionButton-DilAGmID.css +139 -0
- package/dist/assets/NcActionButtonGroup-CvloX35s.css +61 -0
- package/dist/assets/NcActionCaption-sfcjBZnu.css +46 -0
- package/dist/assets/NcActionCheckbox-BPTe8v7j.css +110 -0
- package/dist/assets/NcActionInput-BCm3Bb6i.css +271 -0
- package/dist/assets/NcActionLink-ufhOZDI9.css +124 -0
- package/dist/assets/NcActionRadio-BgKkAdF8.css +110 -0
- package/dist/assets/NcActionRouter-DJDXSMeq.css +135 -0
- package/dist/assets/NcActionSeparator-CB59y4di.css +38 -0
- package/dist/assets/NcActionText-FrsQgrnA.css +139 -0
- package/dist/assets/NcActionTextEditable-pgsRQJ7l.css +287 -0
- package/dist/assets/NcActions-6uFGQVJQ.css +111 -0
- package/dist/assets/NcAppContent-CVWf32qC.css +153 -0
- package/dist/assets/NcAppNavigation-B_aG01bd.css +131 -0
- package/dist/assets/NcAppNavigationCaption-B32FjjW3.css +62 -0
- package/dist/assets/NcAppNavigationIconBullet-B8q3pUL5.css +44 -0
- package/dist/assets/NcAppNavigationItem-DBjQubbD.css +235 -0
- package/dist/assets/NcAppNavigationList-DnIxrbVX.css +43 -0
- package/dist/assets/NcAppNavigationNew-B29SvI0s.css +41 -0
- package/dist/assets/NcAppNavigationNewItem-wTDYmQmA.css +204 -0
- package/dist/assets/NcAppNavigationSettings-RpFZX7Hx.css +93 -0
- package/dist/assets/NcAppNavigationSpacer-C12GX5n6.css +6 -0
- package/dist/assets/NcAppNavigationToggle-Bb19ZkjT.css +41 -0
- package/dist/assets/NcAppSettingsDialog-CQY4VVRw.css +88 -0
- package/dist/assets/NcAppSettingsSection-BUxPrhYB.css +44 -0
- package/dist/assets/NcAppSidebar-v-H-37nV.css +412 -0
- package/dist/assets/NcAppSidebarTab-WhMYMxlI.css +48 -0
- package/dist/assets/NcAvatar-xxyc0_S6.css +143 -0
- package/dist/assets/NcBreadcrumb-BKgJHxzd.css +82 -0
- package/dist/assets/NcBreadcrumbs-Dq8VnSzJ.css +51 -0
- package/dist/assets/NcButton-BqOBMPBj.css +204 -0
- package/dist/assets/NcCheckboxRadioSwitch-BrP8x4oD.css +224 -0
- package/dist/assets/NcColorPicker-q8nVYCvu.css +136 -0
- package/dist/assets/NcContent-CQqz6KXD.css +108 -0
- package/dist/assets/NcCounterBubble-CWi_P1Tb.css +67 -0
- package/dist/assets/NcDashboardWidget-DzDAv3ER.css +87 -0
- package/dist/assets/NcDashboardWidgetItem-BevETFRF.css +99 -0
- package/dist/assets/NcDateTimePicker-DBxgtJoU.css +889 -0
- package/dist/assets/NcDateTimePickerNative-DHZcOvOf.css +61 -0
- package/dist/assets/NcDialog-CvmjNcgn.css +160 -0
- package/dist/assets/NcEllipsisedOption-ClDzkIX6.css +48 -0
- package/dist/assets/NcEmojiPicker-DPDnLnba.css +581 -0
- package/dist/assets/NcEmptyContent-CMM4BKRc.css +79 -0
- package/dist/assets/NcGuestContent-BTahASdv.css +78 -0
- package/dist/assets/NcHeaderMenu-fYpidmuR.css +91 -0
- package/dist/assets/NcIconSvgWrapper-C95UOHYS.css +53 -0
- package/dist/assets/NcInputConfirmCancel-dYsxq6pH.css +53 -0
- package/dist/assets/NcInputField-CSuJUlgW.css +177 -0
- package/dist/assets/NcListItem-CJa4SoZs.css +170 -0
- package/dist/assets/NcListItemIcon-KqKY7_tj.css +78 -0
- package/dist/assets/NcLoadingIcon-gxK0ujO0.css +35 -0
- package/dist/assets/NcMentionBubble-DmzU72Mw.css +84 -0
- package/dist/assets/NcModal-JZMyM8zO.css +302 -0
- package/dist/assets/NcNoteCard-e7-Bxio8.css +64 -0
- package/dist/assets/NcPopover-BwI1hPzy.css +110 -0
- package/dist/assets/NcProgressBar-D5VftcJm.css +70 -0
- package/dist/assets/NcRelatedResourcesPanel-CbFY3Cdm.css +200 -0
- package/dist/assets/NcRichContenteditable-C9Sikuur.css +300 -0
- package/dist/assets/NcRichText-Cc65tYYs.css +240 -0
- package/dist/assets/NcSelect-Fmyu7qyl.css +196 -0
- package/dist/assets/NcSettingsInputText-DR4Wv2XP.css +49 -0
- package/dist/assets/NcSettingsSection-DrlA06-W.css +66 -0
- package/dist/assets/NcSettingsSelectGroup-Ba_9qqBq.css +37 -0
- package/dist/assets/NcTextArea-n0qdPImB.css +124 -0
- package/dist/assets/NcUserBubble-a6zTGwWG.css +62 -0
- package/dist/assets/NcUserStatusIcon-DYNzsng_.css +44 -0
- package/dist/assets/Tooltip-jHgt4m-W.css +109 -0
- package/dist/assets/referencePickerModal-4K_FZwca.css +539 -0
- package/dist/chunks/AlertCircleOutline-DWBCJkLM.mjs +48 -0
- package/dist/chunks/AlertCircleOutline-DWBCJkLM.mjs.map +1 -0
- package/dist/chunks/ArrowLeft-CxK9DnMo.mjs +48 -0
- package/dist/chunks/ArrowLeft-CxK9DnMo.mjs.map +1 -0
- package/dist/chunks/ArrowRight-Cg6xGDcS.mjs +48 -0
- package/dist/chunks/ArrowRight-Cg6xGDcS.mjs.map +1 -0
- package/dist/chunks/Check-_j2mQvkT.mjs +48 -0
- package/dist/chunks/Check-_j2mQvkT.mjs.map +1 -0
- package/dist/chunks/ChevronDown-De_Zvlgu.mjs +48 -0
- package/dist/chunks/ChevronDown-De_Zvlgu.mjs.map +1 -0
- package/dist/chunks/ChevronRight-C33SNIxR.mjs +48 -0
- package/dist/chunks/ChevronRight-C33SNIxR.mjs.map +1 -0
- package/dist/chunks/ChevronUp-b4LkDSk-.mjs +48 -0
- package/dist/chunks/ChevronUp-b4LkDSk-.mjs.map +1 -0
- package/dist/chunks/Close-pmiXntgw.mjs +48 -0
- package/dist/chunks/Close-pmiXntgw.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-CCNSfNOk.mjs +48 -0
- package/dist/chunks/DotsHorizontal-CCNSfNOk.mjs.map +1 -0
- package/dist/chunks/GenColors-BjorWIgA.mjs +155 -0
- package/dist/chunks/GenColors-BjorWIgA.mjs.map +1 -0
- package/dist/chunks/GenRandomId-CXkjMlAT.mjs +27 -0
- package/dist/chunks/GenRandomId-CXkjMlAT.mjs.map +1 -0
- package/dist/chunks/Linkify-BBPJHBma.mjs +35 -0
- package/dist/chunks/Linkify-BBPJHBma.mjs.map +1 -0
- package/dist/chunks/NcActionButton-BFQnlisT.mjs +223 -0
- package/dist/chunks/NcActionButton-BFQnlisT.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-D-8C3HSO.mjs +58 -0
- package/dist/chunks/NcActionButtonGroup-D-8C3HSO.mjs.map +1 -0
- package/dist/chunks/NcActionCaption-CV_zDfFg.mjs +32 -0
- package/dist/chunks/NcActionCaption-CV_zDfFg.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-CjZH6kjg.mjs +125 -0
- package/dist/chunks/NcActionCheckbox-CjZH6kjg.mjs.map +1 -0
- package/dist/chunks/NcActionInput-ClUviDGB.mjs +358 -0
- package/dist/chunks/NcActionInput-ClUviDGB.mjs.map +1 -0
- package/dist/chunks/NcActionLink-CQEzoS_a.mjs +122 -0
- package/dist/chunks/NcActionLink-CQEzoS_a.mjs.map +1 -0
- package/dist/chunks/NcActionRadio-D6VrxjcX.mjs +128 -0
- package/dist/chunks/NcActionRadio-D6VrxjcX.mjs.map +1 -0
- package/dist/chunks/NcActionRouter-DmrWV-q1.mjs +83 -0
- package/dist/chunks/NcActionRouter-DmrWV-q1.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-ib21YUAE.mjs +17 -0
- package/dist/chunks/NcActionSeparator-ib21YUAE.mjs.map +1 -0
- package/dist/chunks/NcActionText-dj38IHk6.mjs +65 -0
- package/dist/chunks/NcActionText-dj38IHk6.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-W1wFQ9dc.mjs +130 -0
- package/dist/chunks/NcActionTextEditable-W1wFQ9dc.mjs.map +1 -0
- package/dist/chunks/NcActions-B6QL_4DD.mjs +733 -0
- package/dist/chunks/NcActions-B6QL_4DD.mjs.map +1 -0
- package/dist/chunks/NcAppContent-jvz75P8O.mjs +350 -0
- package/dist/chunks/NcAppContent-jvz75P8O.mjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-Ch6NJvAl.mjs +15 -0
- package/dist/chunks/NcAppContentDetails-Ch6NJvAl.mjs.map +1 -0
- package/dist/chunks/NcAppContentList-DGwk3AvB.mjs +26 -0
- package/dist/chunks/NcAppContentList-DGwk3AvB.mjs.map +1 -0
- package/dist/chunks/NcAppNavigation-D0RINQda.mjs +162 -0
- package/dist/chunks/NcAppNavigation-D0RINQda.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-BnhoAPkJ.mjs +93 -0
- package/dist/chunks/NcAppNavigationCaption-BnhoAPkJ.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-JoIYov5C.mjs +43 -0
- package/dist/chunks/NcAppNavigationIconBullet-JoIYov5C.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-s0czI8KR.mjs +624 -0
- package/dist/chunks/NcAppNavigationItem-s0czI8KR.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationList-DzTic3Q7.mjs +16 -0
- package/dist/chunks/NcAppNavigationList-DzTic3Q7.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-RBp5Nk-2.mjs +57 -0
- package/dist/chunks/NcAppNavigationNew-RBp5Nk-2.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-u85Ffz-V.mjs +120 -0
- package/dist/chunks/NcAppNavigationNewItem-u85Ffz-V.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-D_4gHC9H.mjs +142 -0
- package/dist/chunks/NcAppNavigationSettings-D_4gHC9H.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-Ctbl-q5I.mjs +14 -0
- package/dist/chunks/NcAppNavigationSpacer-Ctbl-q5I.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-BtC5hBww.mjs +158 -0
- package/dist/chunks/NcAppNavigationToggle-BtC5hBww.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-DXpamfEo.mjs +254 -0
- package/dist/chunks/NcAppSettingsDialog-DXpamfEo.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-PG8OLRbP.mjs +59 -0
- package/dist/chunks/NcAppSettingsSection-PG8OLRbP.mjs.map +1 -0
- package/dist/chunks/NcAppSidebar-B0pjWsoI.mjs +930 -0
- package/dist/chunks/NcAppSidebar-B0pjWsoI.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-BTuuQoW5.mjs +92 -0
- package/dist/chunks/NcAppSidebarTab-BTuuQoW5.mjs.map +1 -0
- package/dist/chunks/NcAvatar-BKmfsBcY.mjs +679 -0
- package/dist/chunks/NcAvatar-BKmfsBcY.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-C3k6T3Bj.mjs +243 -0
- package/dist/chunks/NcBreadcrumb-C3k6T3Bj.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-Crc4BkfA.mjs +462 -0
- package/dist/chunks/NcBreadcrumbs-Crc4BkfA.mjs.map +1 -0
- package/dist/chunks/NcButton-B27fpd1m.mjs +278 -0
- package/dist/chunks/NcButton-B27fpd1m.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-DdG8AL_h.mjs +790 -0
- package/dist/chunks/NcCheckboxRadioSwitch-DdG8AL_h.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_9bdeea42_lang-C9ptCbXx.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_9bdeea42_lang-C9ptCbXx.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-D4IB1shI.mjs +273 -0
- package/dist/chunks/NcColorPicker-D4IB1shI.mjs.map +1 -0
- package/dist/chunks/NcContent-CMQytlSd.mjs +129 -0
- package/dist/chunks/NcContent-CMQytlSd.mjs.map +1 -0
- package/dist/chunks/NcCounterBubble-BVDNwJiw.mjs +44 -0
- package/dist/chunks/NcCounterBubble-BVDNwJiw.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-B5H6n5qG.mjs +186 -0
- package/dist/chunks/NcDashboardWidget-B5H6n5qG.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-BbgZpZ-D.mjs +197 -0
- package/dist/chunks/NcDashboardWidgetItem-BbgZpZ-D.mjs.map +1 -0
- package/dist/chunks/NcDateTime-p5872lEX.mjs +168 -0
- package/dist/chunks/NcDateTime-p5872lEX.mjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-C1gBl-W0.mjs +377 -0
- package/dist/chunks/NcDateTimePicker-C1gBl-W0.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-CyCL5Ovh.mjs +200 -0
- package/dist/chunks/NcDateTimePickerNative-CyCL5Ovh.mjs.map +1 -0
- package/dist/chunks/NcDialog-Dq3Qnbke.mjs +273 -0
- package/dist/chunks/NcDialog-Dq3Qnbke.mjs.map +1 -0
- package/dist/chunks/NcDialogButton-C6SudZTq.mjs +80 -0
- package/dist/chunks/NcDialogButton-C6SudZTq.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-DsCFqgUF.mjs +98 -0
- package/dist/chunks/NcEllipsisedOption-DsCFqgUF.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-BwQ8VxQZ.mjs +380 -0
- package/dist/chunks/NcEmojiPicker-BwQ8VxQZ.mjs.map +1 -0
- package/dist/chunks/NcEmptyContent-CdgacgQe.mjs +67 -0
- package/dist/chunks/NcEmptyContent-CdgacgQe.mjs.map +1 -0
- package/dist/chunks/NcGuestContent-DfnVEtGM.mjs +22 -0
- package/dist/chunks/NcGuestContent-DfnVEtGM.mjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-CJVtnKpb.mjs +259 -0
- package/dist/chunks/NcHeaderMenu-CJVtnKpb.mjs.map +1 -0
- package/dist/chunks/NcHighlight-CR5kySMp.mjs +183 -0
- package/dist/chunks/NcHighlight-CR5kySMp.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-C0csZ9zg.mjs +106 -0
- package/dist/chunks/NcIconSvgWrapper-C0csZ9zg.mjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-Rk8B1Q0j.mjs +116 -0
- package/dist/chunks/NcInputConfirmCancel-Rk8B1Q0j.mjs.map +1 -0
- package/dist/chunks/NcInputField-DX0Brmlk.mjs +308 -0
- package/dist/chunks/NcInputField-DX0Brmlk.mjs.map +1 -0
- package/dist/chunks/NcListItem-CgZoQEIf.mjs +359 -0
- package/dist/chunks/NcListItem-CgZoQEIf.mjs.map +1 -0
- package/dist/chunks/NcListItemIcon-A5o8HkQv.mjs +207 -0
- package/dist/chunks/NcListItemIcon-A5o8HkQv.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-DwbO7gAy.mjs +78 -0
- package/dist/chunks/NcLoadingIcon-DwbO7gAy.mjs.map +1 -0
- package/dist/chunks/NcNoteCard-CdZRsd8-.mjs +252 -0
- package/dist/chunks/NcNoteCard-CdZRsd8-.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-B7CiEElO.mjs +285 -0
- package/dist/chunks/NcPasswordField-B7CiEElO.mjs.map +1 -0
- package/dist/chunks/NcPopover-B9UbiGTv.mjs +259 -0
- package/dist/chunks/NcPopover-B9UbiGTv.mjs.map +1 -0
- package/dist/chunks/NcProgressBar-CAXfza4R.mjs +147 -0
- package/dist/chunks/NcProgressBar-CAXfza4R.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-Dr4jL2gw.mjs +546 -0
- package/dist/chunks/NcRelatedResourcesPanel-Dr4jL2gw.mjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-P06ORHyg.mjs +784 -0
- package/dist/chunks/NcRichContenteditable-P06ORHyg.mjs.map +1 -0
- package/dist/chunks/NcRichText-BfreYq5m.mjs +404 -0
- package/dist/chunks/NcRichText-BfreYq5m.mjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-BiGAtlKQ.mjs +79 -0
- package/dist/chunks/NcSavingIndicatorIcon-BiGAtlKQ.mjs.map +1 -0
- package/dist/chunks/NcSelect-Dt3JJc9b.mjs +565 -0
- package/dist/chunks/NcSelect-Dt3JJc9b.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-F8Z_SdXE.mjs +323 -0
- package/dist/chunks/NcSelectTags-F8Z_SdXE.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-BtDwhhX0.mjs +122 -0
- package/dist/chunks/NcSettingsInputText-BtDwhhX0.mjs.map +1 -0
- package/dist/chunks/NcSettingsSection-BN98AV4b.mjs +115 -0
- package/dist/chunks/NcSettingsSection-BN98AV4b.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-61ylzaOo.mjs +226 -0
- package/dist/chunks/NcSettingsSelectGroup-61ylzaOo.mjs.map +1 -0
- package/dist/chunks/NcTextArea-DOXp3B2R.mjs +217 -0
- package/dist/chunks/NcTextArea-DOXp3B2R.mjs.map +1 -0
- package/dist/chunks/NcTextField-5CbWAUlw.mjs +173 -0
- package/dist/chunks/NcTextField-5CbWAUlw.mjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-Cs2arCUX.mjs +4051 -0
- package/dist/chunks/NcTimezonePicker-Cs2arCUX.mjs.map +1 -0
- package/dist/chunks/NcUserBubble-B1nO-OgL.mjs +212 -0
- package/dist/chunks/NcUserBubble-B1nO-OgL.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-DXxHWiO9.mjs +161 -0
- package/dist/chunks/NcUserStatusIcon-DXxHWiO9.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-B2OE7k3z.mjs +35 -0
- package/dist/chunks/ScopeComponent-B2OE7k3z.mjs.map +1 -0
- package/dist/chunks/_l10n-ipRV_dfs.mjs +122 -0
- package/dist/chunks/_l10n-ipRV_dfs.mjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-1tPrXgE0.mjs +10 -0
- package/dist/chunks/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
- package/dist/chunks/actionGlobal-BIN1Dngv.mjs +46 -0
- package/dist/chunks/actionGlobal-BIN1Dngv.mjs.map +1 -0
- package/dist/chunks/actionText-CBxkao_8.mjs +131 -0
- package/dist/chunks/actionText-CBxkao_8.mjs.map +1 -0
- package/dist/chunks/autolink-CuPhRJIL.mjs +129 -0
- package/dist/chunks/autolink-CuPhRJIL.mjs.map +1 -0
- package/dist/chunks/emoji-BjUFGMrw.mjs +85 -0
- package/dist/chunks/emoji-BjUFGMrw.mjs.map +1 -0
- package/dist/chunks/focusTrap-hWDNhn4t.mjs +28 -0
- package/dist/chunks/focusTrap-hWDNhn4t.mjs.map +1 -0
- package/dist/chunks/getAvatarUrl-BBvqBOJD.mjs +32 -0
- package/dist/chunks/getAvatarUrl-BBvqBOJD.mjs.map +1 -0
- package/dist/chunks/index-5AsHlmYO.mjs +208 -0
- package/dist/chunks/index-5AsHlmYO.mjs.map +1 -0
- package/dist/chunks/index-CtoB4eIp.mjs +116 -0
- package/dist/chunks/index-CtoB4eIp.mjs.map +1 -0
- package/dist/chunks/logger-C7ZZ6zFQ.mjs +25 -0
- package/dist/chunks/logger-C7ZZ6zFQ.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-Tr-vmVPW.mjs +1579 -0
- package/dist/chunks/referencePickerModal-Tr-vmVPW.mjs.map +1 -0
- package/dist/chunks/usernameToColor-BpeOvoed.mjs +47 -0
- package/dist/chunks/usernameToColor-BpeOvoed.mjs.map +1 -0
- package/dist/components/NcActionButton/NcActionButton.vue.d.ts +206 -0
- package/dist/components/NcActionButton/index.d.ts +1 -0
- package/dist/components/NcActionButtonGroup/NcActionButtonGroup.vue.d.ts +26 -0
- package/dist/components/NcActionButtonGroup/index.d.ts +1 -0
- package/dist/components/NcActionCaption/NcActionCaption.vue.d.ts +18 -0
- package/dist/components/NcActionCaption/index.d.ts +1 -0
- package/dist/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +99 -0
- package/dist/components/NcActionCheckbox/index.d.ts +1 -0
- package/dist/components/NcActionInput/NcActionInput.vue.d.ts +271 -0
- package/dist/components/NcActionInput/index.d.ts +1 -0
- package/dist/components/NcActionLink/NcActionLink.vue.d.ts +2 -0
- package/dist/components/NcActionLink/index.d.ts +1 -0
- package/dist/components/NcActionRadio/NcActionRadio.vue.d.ts +115 -0
- package/dist/components/NcActionRadio/index.d.ts +1 -0
- package/dist/components/NcActionRouter/NcActionRouter.vue.d.ts +68 -0
- package/dist/components/NcActionRouter/index.d.ts +1 -0
- package/dist/components/NcActionSeparator/NcActionSeparator.vue.d.ts +2 -0
- package/dist/components/NcActionSeparator/index.d.ts +1 -0
- package/dist/components/NcActionText/NcActionText.vue.d.ts +48 -0
- package/dist/components/NcActionText/index.d.ts +1 -0
- package/dist/components/NcActionTextEditable/NcActionTextEditable.vue.d.ts +113 -0
- package/dist/components/NcActionTextEditable/index.d.ts +1 -0
- package/dist/components/NcActions/NcActions.vue.d.ts +396 -0
- package/dist/components/NcActions/index.d.ts +1 -0
- package/dist/components/NcAppContent/NcAppContent.vue.d.ts +194 -0
- package/dist/components/NcAppContent/NcAppDetailsToggle.vue.d.ts +8 -0
- package/dist/components/NcAppContent/index.d.ts +1 -0
- package/dist/components/NcAppContentDetails/NcAppContentDetails.vue.d.ts +2 -0
- package/dist/components/NcAppContentDetails/index.d.ts +1 -0
- package/dist/components/NcAppContentList/NcAppContentList.vue.d.ts +23 -0
- package/dist/components/NcAppContentList/index.d.ts +1 -0
- package/dist/components/NcAppNavigation/NcAppNavigation.vue.d.ts +55 -0
- package/dist/components/NcAppNavigation/index.d.ts +1 -0
- package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +73 -0
- package/dist/components/NcAppNavigationCaption/index.d.ts +1 -0
- package/dist/components/NcAppNavigationIconBullet/NcAppNavigationIconBullet.vue.d.ts +20 -0
- package/dist/components/NcAppNavigationIconBullet/index.d.ts +1 -0
- package/dist/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +20 -0
- package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +413 -0
- package/dist/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +54 -0
- package/dist/components/NcAppNavigationItem/index.d.ts +1 -0
- package/dist/components/NcAppNavigationList/NcAppNavigationList.vue.d.ts +2 -0
- package/dist/components/NcAppNavigationList/index.d.ts +1 -0
- package/dist/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +48 -0
- package/dist/components/NcAppNavigationNew/index.d.ts +1 -0
- package/dist/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +92 -0
- package/dist/components/NcAppNavigationNewItem/index.d.ts +1 -0
- package/dist/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +37 -0
- package/dist/components/NcAppNavigationSettings/index.d.ts +1 -0
- package/dist/components/NcAppNavigationSpacer/NcAppNavigationSpacer.vue.d.ts +2 -0
- package/dist/components/NcAppNavigationSpacer/index.d.ts +1 -0
- package/dist/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +32 -0
- package/dist/components/NcAppNavigationToggle/index.d.ts +3 -0
- package/dist/components/NcAppSettingsDialog/index.d.ts +1 -0
- package/dist/components/NcAppSettingsSection/NcAppSettingsSection.vue.d.ts +24 -0
- package/dist/components/NcAppSettingsSection/index.d.ts +1 -0
- package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +346 -0
- package/dist/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +91 -0
- package/dist/components/NcAppSidebar/index.d.ts +1 -0
- package/dist/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +75 -0
- package/dist/components/NcAppSidebarTab/index.d.ts +1 -0
- package/dist/components/NcAvatar/NcAvatar.vue.d.ts +467 -0
- package/dist/components/NcAvatar/index.d.ts +1 -0
- package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +212 -0
- package/dist/components/NcBreadcrumb/index.d.ts +1 -0
- package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +144 -0
- package/dist/components/NcBreadcrumbs/index.d.ts +1 -0
- package/dist/components/NcButton/NcButton.vue.d.ts +238 -0
- package/dist/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue.d.ts +6 -0
- package/dist/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue.d.ts +2 -0
- package/dist/components/NcCheckboxRadioSwitch/index.d.ts +1 -0
- package/dist/components/NcColorPicker/NcColorPicker.vue.d.ts +2 -0
- package/dist/components/NcColorPicker/index.d.ts +1 -0
- package/dist/components/NcContent/NcContent.vue.d.ts +23 -0
- package/dist/components/NcContent/index.d.ts +1 -0
- package/dist/components/NcCounterBubble/NcCounterBubble.vue.d.ts +41 -0
- package/dist/components/NcCounterBubble/index.d.ts +1 -0
- package/dist/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +142 -0
- package/dist/components/NcDashboardWidget/index.d.ts +1 -0
- package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +170 -0
- package/dist/components/NcDashboardWidgetItem/index.d.ts +1 -0
- package/dist/components/NcDateTime/NcDateTime.vue.d.ts +2 -0
- package/dist/components/NcDateTime/index.d.ts +1 -0
- package/dist/components/NcDateTimePicker/index.d.ts +1 -0
- package/dist/components/NcDateTimePickerNative/index.d.ts +1 -0
- package/dist/components/NcDialog/NcDialog.vue.d.ts +2 -0
- package/dist/components/NcDialog/index.d.ts +1 -0
- package/dist/components/NcDialogButton/NcDialogButton.vue.d.ts +2 -0
- package/dist/components/NcDialogButton/index.d.ts +1 -0
- package/dist/components/NcEllipsisedOption/NcEllipsisedOption.vue.d.ts +48 -0
- package/dist/components/NcEllipsisedOption/index.d.ts +1 -0
- package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +184 -0
- package/dist/components/NcEmojiPicker/index.d.ts +1 -0
- package/dist/components/NcEmptyContent/NcEmptyContent.vue.d.ts +39 -0
- package/dist/components/NcEmptyContent/index.d.ts +1 -0
- package/dist/components/NcGuestContent/NcGuestContent.vue.d.ts +2 -0
- package/dist/components/NcGuestContent/index.d.ts +1 -0
- package/dist/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +147 -0
- package/dist/components/NcHeaderMenu/index.d.ts +1 -0
- package/dist/components/NcHighlight/NcHighlight.vue.d.ts +65 -0
- package/dist/components/NcHighlight/index.d.ts +1 -0
- package/dist/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +102 -0
- package/dist/components/NcIconSvgWrapper/index.d.ts +1 -0
- package/dist/components/NcInputField/NcInputField.vue.d.ts +278 -0
- package/dist/components/NcInputField/index.d.ts +1 -0
- package/dist/components/NcListItem/NcListItem.vue.d.ts +264 -0
- package/dist/components/NcListItem/index.d.ts +1 -0
- package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +207 -0
- package/dist/components/NcListItemIcon/index.d.ts +1 -0
- package/dist/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +58 -0
- package/dist/components/NcLoadingIcon/index.d.ts +1 -0
- package/dist/components/NcModal/NcModal.vue.d.ts +2 -0
- package/dist/components/NcModal/index.d.ts +2 -0
- package/dist/components/NcNoteCard/NcNoteCard.vue.d.ts +44 -0
- package/dist/components/NcNoteCard/index.d.ts +1 -0
- package/dist/components/NcPasswordField/index.d.ts +1 -0
- package/dist/components/NcPopover/NcPopover.vue.d.ts +2 -0
- package/dist/components/NcPopover/NcPopoverTriggerProvider.vue.d.ts +27 -0
- package/dist/components/NcPopover/index.d.ts +1 -0
- package/dist/components/NcProgressBar/NcProgressBar.vue.d.ts +2 -0
- package/dist/components/NcProgressBar/index.d.ts +1 -0
- package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +140 -0
- package/dist/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +34 -0
- package/dist/components/NcRelatedResourcesPanel/NcTeamResources.vue.d.ts +36 -0
- package/dist/components/NcRelatedResourcesPanel/index.d.ts +1 -0
- package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +90 -0
- package/dist/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +2 -0
- package/dist/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +349 -0
- package/dist/components/NcRichContenteditable/index.d.ts +3 -0
- package/dist/components/NcRichText/NcReferenceList.vue.d.ts +81 -0
- package/dist/components/NcRichText/NcReferencePicker/NcCustomPickerElement.vue.d.ts +28 -0
- package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +16 -0
- package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +34 -0
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +84 -0
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +72 -0
- package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +69 -0
- package/dist/components/NcRichText/NcReferencePicker/NcSearchResult.vue.d.ts +34 -0
- package/dist/components/NcRichText/NcReferencePicker/utils.d.ts +11 -0
- package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +72 -0
- package/dist/components/NcRichText/NcRichText.vue.d.ts +151 -0
- package/dist/components/NcRichText/autolink.d.ts +17 -0
- package/dist/components/NcRichText/helpers.d.ts +12 -0
- package/dist/components/NcRichText/index.d.ts +12 -0
- package/dist/components/NcRichText/placeholder.d.ts +5 -0
- package/dist/components/NcRichText/remarkDisableBlocks.d.ts +11 -0
- package/dist/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +73 -0
- package/dist/components/NcSavingIndicatorIcon/index.d.ts +1 -0
- package/dist/components/NcSelect/NcSelect.vue.d.ts +15 -0
- package/dist/components/NcSelect/index.d.ts +1 -0
- package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +23 -0
- package/dist/components/NcSelectTags/api.d.ts +7 -0
- package/dist/components/NcSelectTags/index.d.ts +1 -0
- package/dist/components/NcSettingsInputText/NcSettingsInputText.vue.d.ts +97 -0
- package/dist/components/NcSettingsInputText/index.d.ts +1 -0
- package/dist/components/NcSettingsSection/NcSettingsSection.vue.d.ts +36 -0
- package/dist/components/NcSettingsSection/index.d.ts +1 -0
- package/dist/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +144 -0
- package/dist/components/NcSettingsSelectGroup/index.d.ts +3 -0
- package/dist/components/NcTextArea/NcTextArea.vue.d.ts +205 -0
- package/dist/components/NcTextArea/index.d.ts +1 -0
- package/dist/components/NcTextField/NcTextField.vue.d.ts +20 -0
- package/dist/components/NcTextField/index.d.ts +1 -0
- package/dist/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +78 -0
- package/dist/components/NcTimezonePicker/index.d.ts +1 -0
- package/dist/components/NcTimezonePicker/timezone.d.ts +14 -0
- package/dist/components/NcTimezonePicker/timezoneDataProviderService.d.ts +7 -0
- package/dist/components/NcUserBubble/NcUserBubble.vue.d.ts +180 -0
- package/dist/components/NcUserBubble/NcUserBubbleDiv.vue.d.ts +2 -0
- package/dist/components/NcUserBubble/index.d.ts +1 -0
- package/dist/components/NcUserStatusIcon/NcUserStatusIcon.vue.d.ts +2 -0
- package/dist/components/NcUserStatusIcon/index.d.ts +1 -0
- package/dist/components/NcVNodes/NcVNodes.vue.d.ts +20 -0
- package/dist/components/NcVNodes/index.d.ts +1 -0
- package/dist/components/index.d.ts +92 -0
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/useFormatDateTime.d.ts +56 -0
- package/dist/composables/useIsFullscreen/index.d.ts +6 -0
- package/dist/composables/useIsMobile/index.d.ts +22 -0
- package/dist/directives/Focus/index.d.ts +4 -0
- package/dist/directives/Linkify/index.d.ts +2 -0
- package/dist/directives/Tooltip/index.d.ts +3 -0
- package/dist/functions/index.d.ts +4 -0
- package/dist/functions/reference/customPickerElements.d.ts +21 -0
- package/dist/functions/reference/index.d.ts +6 -0
- package/dist/functions/reference/providerHelper.d.ts +34 -0
- package/dist/functions/reference/referencePickerModal.d.ts +8 -0
- package/dist/functions/reference/widgets.d.ts +37 -0
- package/dist/functions/registerReference/index.d.ts +2 -0
- package/dist/functions/usernameToColor/index.d.ts +1 -0
- package/dist/functions/usernameToColor/usernameToColor.d.ts +8 -0
- package/dist/index.mjs +285 -261
- package/dist/index.mjs.map +1 -1
- package/dist/l10n.d.ts +2 -0
- package/dist/mixins/actionGlobal.d.ts +13 -0
- package/dist/mixins/actionText.d.ts +63 -0
- package/dist/mixins/clickOutsideOptions/index.d.ts +15 -0
- package/dist/mixins/index.d.ts +3 -0
- package/dist/mixins/richEditor/index.d.ts +43 -0
- package/dist/mixins/userStatus.d.ts +21 -0
- package/dist/plugin.d.ts +17 -0
- package/dist/utils/FindRanges.d.ts +30 -0
- package/dist/utils/GenColors.d.ts +28 -0
- package/dist/utils/GenRandomId.d.ts +23 -0
- package/dist/utils/GetChildren.d.ts +30 -0
- package/dist/utils/GetParent.d.ts +30 -0
- package/dist/utils/IsOutOfViewport.d.ts +8 -0
- package/dist/utils/Linkify.d.ts +8 -0
- package/dist/utils/ScopeComponent.d.ts +23 -0
- package/dist/utils/Timer.d.ts +59 -0
- package/dist/utils/focusTrap.d.ts +1 -0
- package/dist/utils/getAvatarUrl.d.ts +22 -0
- package/dist/utils/isSlotPopulated.d.ts +9 -0
- package/dist/utils/logger.d.ts +2 -0
- package/dist/vendor.LICENSE.txt +4 -0
- package/package.json +65 -66
- package/dist/Components/NcActionButton.cjs +0 -3
- package/dist/Components/NcActionButton.cjs.map +0 -1
- package/dist/Components/NcActionButtonGroup.cjs +0 -3
- package/dist/Components/NcActionButtonGroup.cjs.map +0 -1
- package/dist/Components/NcActionCaption.cjs +0 -3
- package/dist/Components/NcActionCaption.cjs.map +0 -1
- package/dist/Components/NcActionCheckbox.cjs +0 -3
- package/dist/Components/NcActionCheckbox.cjs.map +0 -1
- package/dist/Components/NcActionInput.cjs +0 -3
- package/dist/Components/NcActionInput.cjs.map +0 -1
- package/dist/Components/NcActionLink.cjs +0 -3
- package/dist/Components/NcActionLink.cjs.map +0 -1
- package/dist/Components/NcActionRadio.cjs +0 -3
- package/dist/Components/NcActionRadio.cjs.map +0 -1
- package/dist/Components/NcActionRouter.cjs +0 -3
- package/dist/Components/NcActionRouter.cjs.map +0 -1
- package/dist/Components/NcActionSeparator.cjs +0 -3
- package/dist/Components/NcActionSeparator.cjs.map +0 -1
- package/dist/Components/NcActionText.cjs +0 -3
- package/dist/Components/NcActionText.cjs.map +0 -1
- package/dist/Components/NcActionTextEditable.cjs +0 -3
- package/dist/Components/NcActionTextEditable.cjs.map +0 -1
- package/dist/Components/NcActions.cjs +0 -3
- package/dist/Components/NcActions.cjs.map +0 -1
- package/dist/Components/NcAppContent.cjs +0 -3
- package/dist/Components/NcAppContent.cjs.map +0 -1
- package/dist/Components/NcAppContentDetails.cjs +0 -3
- package/dist/Components/NcAppContentDetails.cjs.map +0 -1
- package/dist/Components/NcAppContentList.cjs +0 -3
- package/dist/Components/NcAppContentList.cjs.map +0 -1
- package/dist/Components/NcAppNavigation.cjs +0 -3
- package/dist/Components/NcAppNavigation.cjs.map +0 -1
- package/dist/Components/NcAppNavigationCaption.cjs +0 -3
- package/dist/Components/NcAppNavigationCaption.cjs.map +0 -1
- package/dist/Components/NcAppNavigationIconBullet.cjs +0 -3
- package/dist/Components/NcAppNavigationIconBullet.cjs.map +0 -1
- package/dist/Components/NcAppNavigationItem.cjs +0 -3
- package/dist/Components/NcAppNavigationItem.cjs.map +0 -1
- package/dist/Components/NcAppNavigationNew.cjs +0 -3
- package/dist/Components/NcAppNavigationNew.cjs.map +0 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +0 -3
- package/dist/Components/NcAppNavigationNewItem.cjs.map +0 -1
- package/dist/Components/NcAppNavigationSettings.cjs +0 -3
- package/dist/Components/NcAppNavigationSettings.cjs.map +0 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +0 -3
- package/dist/Components/NcAppNavigationSpacer.cjs.map +0 -1
- package/dist/Components/NcAppNavigationToggle.cjs +0 -25
- package/dist/Components/NcAppNavigationToggle.cjs.map +0 -1
- package/dist/Components/NcAppSettingsDialog.cjs +0 -3
- package/dist/Components/NcAppSettingsDialog.cjs.map +0 -1
- package/dist/Components/NcAppSettingsSection.cjs +0 -3
- package/dist/Components/NcAppSettingsSection.cjs.map +0 -1
- package/dist/Components/NcAppSidebar.cjs +0 -3
- package/dist/Components/NcAppSidebar.cjs.map +0 -1
- package/dist/Components/NcAppSidebarTab.cjs +0 -3
- package/dist/Components/NcAppSidebarTab.cjs.map +0 -1
- package/dist/Components/NcAvatar.cjs +0 -3
- package/dist/Components/NcAvatar.cjs.map +0 -1
- package/dist/Components/NcBreadcrumb.cjs +0 -3
- package/dist/Components/NcBreadcrumb.cjs.map +0 -1
- package/dist/Components/NcBreadcrumbs.cjs +0 -3
- package/dist/Components/NcBreadcrumbs.cjs.map +0 -1
- package/dist/Components/NcButton.cjs +0 -3
- package/dist/Components/NcButton.cjs.map +0 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +0 -3
- package/dist/Components/NcCheckboxRadioSwitch.cjs.map +0 -1
- package/dist/Components/NcColorPicker.cjs +0 -3
- package/dist/Components/NcColorPicker.cjs.map +0 -1
- package/dist/Components/NcContent.cjs +0 -3
- package/dist/Components/NcContent.cjs.map +0 -1
- package/dist/Components/NcCounterBubble.cjs +0 -3
- package/dist/Components/NcCounterBubble.cjs.map +0 -1
- package/dist/Components/NcDashboardWidget.cjs +0 -3
- package/dist/Components/NcDashboardWidget.cjs.map +0 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +0 -3
- package/dist/Components/NcDashboardWidgetItem.cjs.map +0 -1
- package/dist/Components/NcDateTime.cjs +0 -3
- package/dist/Components/NcDateTime.cjs.map +0 -1
- package/dist/Components/NcDateTimePicker.cjs +0 -3
- package/dist/Components/NcDateTimePicker.cjs.map +0 -1
- package/dist/Components/NcDateTimePickerNative.cjs +0 -3
- package/dist/Components/NcDateTimePickerNative.cjs.map +0 -1
- package/dist/Components/NcDialog.cjs +0 -3
- package/dist/Components/NcDialog.cjs.map +0 -1
- package/dist/Components/NcDialogButton.cjs +0 -3
- package/dist/Components/NcDialogButton.cjs.map +0 -1
- package/dist/Components/NcEllipsisedOption.cjs +0 -3
- package/dist/Components/NcEllipsisedOption.cjs.map +0 -1
- package/dist/Components/NcEmojiPicker.cjs +0 -3
- package/dist/Components/NcEmojiPicker.cjs.map +0 -1
- package/dist/Components/NcEmptyContent.cjs +0 -3
- package/dist/Components/NcEmptyContent.cjs.map +0 -1
- package/dist/Components/NcGuestContent.cjs +0 -3
- package/dist/Components/NcGuestContent.cjs.map +0 -1
- package/dist/Components/NcHeaderMenu.cjs +0 -3
- package/dist/Components/NcHeaderMenu.cjs.map +0 -1
- package/dist/Components/NcHighlight.cjs +0 -3
- package/dist/Components/NcHighlight.cjs.map +0 -1
- package/dist/Components/NcIconSvgWrapper.cjs +0 -3
- package/dist/Components/NcIconSvgWrapper.cjs.map +0 -1
- package/dist/Components/NcInputField.cjs +0 -3
- package/dist/Components/NcInputField.cjs.map +0 -1
- package/dist/Components/NcListItem.cjs +0 -3
- package/dist/Components/NcListItem.cjs.map +0 -1
- package/dist/Components/NcListItemIcon.cjs +0 -3
- package/dist/Components/NcListItemIcon.cjs.map +0 -1
- package/dist/Components/NcLoadingIcon.cjs +0 -3
- package/dist/Components/NcLoadingIcon.cjs.map +0 -1
- package/dist/Components/NcModal.cjs +0 -689
- package/dist/Components/NcModal.cjs.map +0 -1
- package/dist/Components/NcNoteCard.cjs +0 -3
- package/dist/Components/NcNoteCard.cjs.map +0 -1
- package/dist/Components/NcPasswordField.cjs +0 -3
- package/dist/Components/NcPasswordField.cjs.map +0 -1
- package/dist/Components/NcPopover.cjs +0 -3
- package/dist/Components/NcPopover.cjs.map +0 -1
- package/dist/Components/NcProgressBar.cjs +0 -3
- package/dist/Components/NcProgressBar.cjs.map +0 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +0 -3
- package/dist/Components/NcRelatedResourcesPanel.cjs.map +0 -1
- package/dist/Components/NcRichContenteditable.cjs +0 -6
- package/dist/Components/NcRichContenteditable.cjs.map +0 -1
- package/dist/Components/NcRichText.cjs +0 -44
- package/dist/Components/NcRichText.cjs.map +0 -1
- package/dist/Components/NcSavingIndicatorIcon.cjs +0 -3
- package/dist/Components/NcSavingIndicatorIcon.cjs.map +0 -1
- package/dist/Components/NcSelect.cjs +0 -3
- package/dist/Components/NcSelect.cjs.map +0 -1
- package/dist/Components/NcSelectTags.cjs +0 -3
- package/dist/Components/NcSelectTags.cjs.map +0 -1
- package/dist/Components/NcSettingsInputText.cjs +0 -3
- package/dist/Components/NcSettingsInputText.cjs.map +0 -1
- package/dist/Components/NcSettingsSection.cjs +0 -3
- package/dist/Components/NcSettingsSection.cjs.map +0 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +0 -26
- package/dist/Components/NcSettingsSelectGroup.cjs.map +0 -1
- package/dist/Components/NcTextArea.cjs +0 -3
- package/dist/Components/NcTextArea.cjs.map +0 -1
- package/dist/Components/NcTextField.cjs +0 -3
- package/dist/Components/NcTextField.cjs.map +0 -1
- package/dist/Components/NcTimezonePicker.cjs +0 -3
- package/dist/Components/NcTimezonePicker.cjs.map +0 -1
- package/dist/Components/NcUserBubble.cjs +0 -3
- package/dist/Components/NcUserBubble.cjs.map +0 -1
- package/dist/Components/NcUserStatusIcon.cjs +0 -3
- package/dist/Components/NcUserStatusIcon.cjs.map +0 -1
- package/dist/Components/NcVNodes.cjs +0 -23
- package/dist/Components/NcVNodes.cjs.map +0 -1
- package/dist/Composables/useIsFullscreen.cjs +0 -32
- package/dist/Composables/useIsFullscreen.cjs.map +0 -1
- package/dist/Composables/useIsMobile.cjs +0 -40
- package/dist/Composables/useIsMobile.cjs.map +0 -1
- package/dist/Directives/Focus.cjs +0 -30
- package/dist/Directives/Focus.cjs.map +0 -1
- package/dist/Directives/Linkify.cjs +0 -8
- package/dist/Directives/Linkify.cjs.map +0 -1
- package/dist/Directives/Tooltip.cjs +0 -37
- package/dist/Directives/Tooltip.cjs.map +0 -1
- package/dist/Functions/a11y.cjs +0 -25
- package/dist/Functions/a11y.cjs.map +0 -1
- package/dist/Functions/emoji.cjs +0 -8
- package/dist/Functions/emoji.cjs.map +0 -1
- package/dist/Functions/usernameToColor.cjs +0 -3
- package/dist/Functions/usernameToColor.cjs.map +0 -1
- package/dist/Mixins/clickOutsideOptions.cjs +0 -40
- package/dist/Mixins/clickOutsideOptions.cjs.map +0 -1
- package/dist/Mixins/richEditor.cjs +0 -10
- package/dist/Mixins/richEditor.cjs.map +0 -1
- package/dist/assets/NcActionButton-De4wlKZH.css +0 -134
- package/dist/assets/NcActionButtonGroup-oXobVIqQ.css +0 -60
- package/dist/assets/NcActionCaption-afJqyJO6.css +0 -44
- package/dist/assets/NcActionCheckbox-T379T-FC.css +0 -106
- package/dist/assets/NcActionInput-MGVmREKR.css +0 -243
- package/dist/assets/NcActionLink-zdzQgwtH.css +0 -121
- package/dist/assets/NcActionRadio-UC-7SDBI.css +0 -106
- package/dist/assets/NcActionRouter-g0zV3dVT.css +0 -133
- package/dist/assets/NcActionSeparator-l98xWbiL.css +0 -35
- package/dist/assets/NcActionText-GJYwsw_U.css +0 -137
- package/dist/assets/NcActionTextEditable-DE_5Sc0w.css +0 -259
- package/dist/assets/NcActions-PR-7NI_x.css +0 -84
- package/dist/assets/NcAppContent-kIkHd4VN.css +0 -116
- package/dist/assets/NcAppNavigation-9xEM_GAn.css +0 -92
- package/dist/assets/NcAppNavigationCaption-0s4Wxc88.css +0 -52
- package/dist/assets/NcAppNavigationIconBullet-Nf3ARMLv.css +0 -41
- package/dist/assets/NcAppNavigationItem-_MHs9DEv.css +0 -213
- package/dist/assets/NcAppNavigationNew-PtSC3Wy5.css +0 -36
- package/dist/assets/NcAppNavigationNewItem-ue-H4LQY.css +0 -206
- package/dist/assets/NcAppNavigationSettings-Q_od5CcP.css +0 -88
- package/dist/assets/NcAppNavigationSpacer-MfL8GeCN.css +0 -5
- package/dist/assets/NcAppNavigationToggle-VrntFGdJ.css +0 -38
- package/dist/assets/NcAppSettingsDialog-HOydlmNi.css +0 -86
- package/dist/assets/NcAppSettingsSection-Gh575p0x.css +0 -41
- package/dist/assets/NcAppSidebar-UFABwmpX.css +0 -318
- package/dist/assets/NcAppSidebarTab-goNfHK4d.css +0 -45
- package/dist/assets/NcAvatar-DCUiVghV.css +0 -144
- package/dist/assets/NcBreadcrumb-ZsIS1jDx.css +0 -80
- package/dist/assets/NcBreadcrumbs-VKFJ9HrE.css +0 -49
- package/dist/assets/NcButton-rKJYdkZn.css +0 -204
- package/dist/assets/NcCheckboxRadioSwitch-dNV4KgTO.css +0 -201
- package/dist/assets/NcColorPicker-FiFz1rof.css +0 -131
- package/dist/assets/NcContent-3Fl9j87E.css +0 -82
- package/dist/assets/NcCounterBubble-rgkmqN46.css +0 -64
- package/dist/assets/NcDashboardWidget-7x3QrWFu.css +0 -83
- package/dist/assets/NcDashboardWidgetItem-S7fELANA.css +0 -82
- package/dist/assets/NcDateTimePicker-CC5ocPIo.css +0 -907
- package/dist/assets/NcDateTimePickerNative-BeREqSH_.css +0 -58
- package/dist/assets/NcDialog-IM0YIgKq.css +0 -126
- package/dist/assets/NcEllipsisedOption-eoI10kvc.css +0 -47
- package/dist/assets/NcEmojiPicker-nDpi1GKA.css +0 -552
- package/dist/assets/NcEmptyContent-b8eqBVE_.css +0 -75
- package/dist/assets/NcGuestContent-FRQFLxlW.css +0 -51
- package/dist/assets/NcHeaderMenu-kKraSlS3.css +0 -92
- package/dist/assets/NcIconSvgWrapper-0OJxiD3Q.css +0 -44
- package/dist/assets/NcInputConfirmCancel-_GF_RjYc.css +0 -51
- package/dist/assets/NcInputField-qx4Me7uJ.css +0 -194
- package/dist/assets/NcListItem-RylkggkP.css +0 -165
- package/dist/assets/NcListItemIcon-mlEQ7oK0.css +0 -80
- package/dist/assets/NcLoadingIcon-hZn7TJM8.css +0 -32
- package/dist/assets/NcMentionBubble-2OXF_uEJ.css +0 -81
- package/dist/assets/NcModal-lgvjJTYz.css +0 -298
- package/dist/assets/NcNoteCard-f0NZpwjL.css +0 -60
- package/dist/assets/NcPopover-MK4GcuPY.css +0 -107
- package/dist/assets/NcProgressBar-w4-G5gQR.css +0 -67
- package/dist/assets/NcRelatedResourcesPanel-i1-7CClp.css +0 -76
- package/dist/assets/NcRichContenteditable--bkjerM1.css +0 -268
- package/dist/assets/NcSelect-GsLmwj9w.css +0 -172
- package/dist/assets/NcSettingsInputText-JpZtS9DS.css +0 -46
- package/dist/assets/NcSettingsSection-PEWm0eeL.css +0 -68
- package/dist/assets/NcSettingsSelectGroup-51HMKLZQ.css +0 -34
- package/dist/assets/NcTextArea-Eqv_-5FR.css +0 -139
- package/dist/assets/NcUserBubble-t1uOyYCF.css +0 -59
- package/dist/assets/NcUserStatusIcon-AXLspcOQ.css +0 -41
- package/dist/assets/Tooltip-wOLIuz0Q.css +0 -93
- package/dist/assets/referencePickerModal-k5G-IS2z.css +0 -509
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs +0 -44
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs +0 -41
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs +0 -41
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs +0 -44
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs.map +0 -1
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs +0 -44
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs.map +0 -1
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs +0 -41
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs.map +0 -1
- package/dist/chunks/Check-fwcsc82n.cjs +0 -41
- package/dist/chunks/Check-fwcsc82n.cjs.map +0 -1
- package/dist/chunks/Check-tQl0Vp18.mjs +0 -44
- package/dist/chunks/Check-tQl0Vp18.mjs.map +0 -1
- package/dist/chunks/ChevronDown-8tkFE94e.cjs +0 -41
- package/dist/chunks/ChevronDown-8tkFE94e.cjs.map +0 -1
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs +0 -44
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs.map +0 -1
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs +0 -41
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs.map +0 -1
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs +0 -44
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs.map +0 -1
- package/dist/chunks/Close-e2vDvDm2.cjs +0 -41
- package/dist/chunks/Close-e2vDvDm2.cjs.map +0 -1
- package/dist/chunks/Close-hKJ11hky.mjs +0 -44
- package/dist/chunks/Close-hKJ11hky.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs +0 -44
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs +0 -41
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs.map +0 -1
- package/dist/chunks/GenColors-L7jWucCS.mjs +0 -142
- package/dist/chunks/GenColors-L7jWucCS.mjs.map +0 -1
- package/dist/chunks/GenColors-vx_p2Tvw.cjs +0 -141
- package/dist/chunks/GenColors-vx_p2Tvw.cjs.map +0 -1
- package/dist/chunks/GenRandomId-ULxaMkkr.cjs +0 -24
- package/dist/chunks/GenRandomId-ULxaMkkr.cjs.map +0 -1
- package/dist/chunks/GenRandomId-VodkdWbp.mjs +0 -25
- package/dist/chunks/GenRandomId-VodkdWbp.mjs.map +0 -1
- package/dist/chunks/Linkify-V7PfCeZ8.mjs +0 -33
- package/dist/chunks/Linkify-V7PfCeZ8.mjs.map +0 -1
- package/dist/chunks/Linkify-f3s3nAe_.cjs +0 -32
- package/dist/chunks/Linkify-f3s3nAe_.cjs.map +0 -1
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs +0 -180
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs.map +0 -1
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs +0 -173
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-5PPiueIz.cjs +0 -50
- package/dist/chunks/NcActionButtonGroup-5PPiueIz.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-oFPVvd4U.mjs +0 -55
- package/dist/chunks/NcActionButtonGroup-oFPVvd4U.mjs.map +0 -1
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs +0 -27
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs.map +0 -1
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs +0 -31
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs.map +0 -1
- package/dist/chunks/NcActionCheckbox-5-bIAzkC.mjs +0 -113
- package/dist/chunks/NcActionCheckbox-5-bIAzkC.mjs.map +0 -1
- package/dist/chunks/NcActionCheckbox-CUXJQss6.cjs +0 -107
- package/dist/chunks/NcActionCheckbox-CUXJQss6.cjs.map +0 -1
- package/dist/chunks/NcActionInput-of1oXP_n.cjs +0 -335
- package/dist/chunks/NcActionInput-of1oXP_n.cjs.map +0 -1
- package/dist/chunks/NcActionInput-zg13uJ6x.mjs +0 -346
- package/dist/chunks/NcActionInput-zg13uJ6x.mjs.map +0 -1
- package/dist/chunks/NcActionLink-eBaRU5qY.cjs +0 -106
- package/dist/chunks/NcActionLink-eBaRU5qY.cjs.map +0 -1
- package/dist/chunks/NcActionLink-pscYsQ_3.mjs +0 -111
- package/dist/chunks/NcActionLink-pscYsQ_3.mjs.map +0 -1
- package/dist/chunks/NcActionRadio-1QLxEcfl.mjs +0 -121
- package/dist/chunks/NcActionRadio-1QLxEcfl.mjs.map +0 -1
- package/dist/chunks/NcActionRadio-3UkRsS6r.cjs +0 -115
- package/dist/chunks/NcActionRadio-3UkRsS6r.cjs.map +0 -1
- package/dist/chunks/NcActionRouter-BsOXVKlY.mjs +0 -75
- package/dist/chunks/NcActionRouter-BsOXVKlY.mjs.map +0 -1
- package/dist/chunks/NcActionRouter-c6pYto3T.cjs +0 -70
- package/dist/chunks/NcActionRouter-c6pYto3T.cjs.map +0 -1
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs +0 -16
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs.map +0 -1
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs +0 -12
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs.map +0 -1
- package/dist/chunks/NcActionText-9Ti6bh1b.mjs +0 -57
- package/dist/chunks/NcActionText-9Ti6bh1b.mjs.map +0 -1
- package/dist/chunks/NcActionText-Sw_tMRaW.cjs +0 -52
- package/dist/chunks/NcActionText-Sw_tMRaW.cjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-faJIAtYw.cjs +0 -114
- package/dist/chunks/NcActionTextEditable-faJIAtYw.cjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-xPb_cTMW.mjs +0 -121
- package/dist/chunks/NcActionTextEditable-xPb_cTMW.mjs.map +0 -1
- package/dist/chunks/NcActions-76CtOBCq.mjs +0 -497
- package/dist/chunks/NcActions-76CtOBCq.mjs.map +0 -1
- package/dist/chunks/NcActions-YpbmJ7hS.cjs +0 -488
- package/dist/chunks/NcActions-YpbmJ7hS.cjs.map +0 -1
- package/dist/chunks/NcAppContent-Tw5gNorr.mjs +0 -275
- package/dist/chunks/NcAppContent-Tw5gNorr.mjs.map +0 -1
- package/dist/chunks/NcAppContent-mHc-Ms2b.cjs +0 -264
- package/dist/chunks/NcAppContent-mHc-Ms2b.cjs.map +0 -1
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs +0 -11
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs.map +0 -1
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs +0 -14
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs.map +0 -1
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs +0 -26
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs.map +0 -1
- package/dist/chunks/NcAppContentList-blRtleBI.cjs +0 -23
- package/dist/chunks/NcAppContentList-blRtleBI.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-sY7HaHMv.mjs +0 -134
- package/dist/chunks/NcAppNavigation-sY7HaHMv.mjs.map +0 -1
- package/dist/chunks/NcAppNavigation-yEZ-RJA2.cjs +0 -125
- package/dist/chunks/NcAppNavigation-yEZ-RJA2.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-XpbVXYKV.cjs +0 -42
- package/dist/chunks/NcAppNavigationCaption-XpbVXYKV.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-pcyV3wRO.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-pcyV3wRO.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs +0 -36
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs +0 -40
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-JLYTEgEH.mjs +0 -608
- package/dist/chunks/NcAppNavigationItem-JLYTEgEH.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs +0 -595
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNew-6ZAJS_DY.mjs +0 -56
- package/dist/chunks/NcAppNavigationNew-6ZAJS_DY.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNew-hmJL2IDR.cjs +0 -51
- package/dist/chunks/NcAppNavigationNew-hmJL2IDR.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-MjsbS_dO.cjs +0 -106
- package/dist/chunks/NcAppNavigationNewItem-MjsbS_dO.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-NzRL8Uwy.mjs +0 -112
- package/dist/chunks/NcAppNavigationNewItem-NzRL8Uwy.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs +0 -128
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs +0 -131
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs +0 -9
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs +0 -13
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-SEvIEY16.mjs +0 -145
- package/dist/chunks/NcAppNavigationToggle-SEvIEY16.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs +0 -140
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-HnYa47vg.cjs +0 -211
- package/dist/chunks/NcAppSettingsDialog-HnYa47vg.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-nbTWBbti.mjs +0 -219
- package/dist/chunks/NcAppSettingsDialog-nbTWBbti.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs +0 -54
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-a0Un2ZRv.mjs +0 -58
- package/dist/chunks/NcAppSettingsSection-a0Un2ZRv.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs +0 -712
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs +0 -731
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs.map +0 -1
- package/dist/chunks/NcAppSidebarTab-oPHofCKq.cjs +0 -84
- package/dist/chunks/NcAppSidebarTab-oPHofCKq.cjs.map +0 -1
- package/dist/chunks/NcAppSidebarTab-sMoFkDTb.mjs +0 -88
- package/dist/chunks/NcAppSidebarTab-sMoFkDTb.mjs.map +0 -1
- package/dist/chunks/NcAvatar-JsMCceHU.mjs +0 -542
- package/dist/chunks/NcAvatar-JsMCceHU.mjs.map +0 -1
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs +0 -526
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-7q3EEfcO.cjs +0 -208
- package/dist/chunks/NcBreadcrumb-7q3EEfcO.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-Fr7J33Qv.mjs +0 -216
- package/dist/chunks/NcBreadcrumb-Fr7J33Qv.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs +0 -369
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs +0 -381
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs.map +0 -1
- package/dist/chunks/NcButton-7UKtzkX5.cjs +0 -252
- package/dist/chunks/NcButton-7UKtzkX5.cjs.map +0 -1
- package/dist/chunks/NcButton-YOXv3gFY.mjs +0 -255
- package/dist/chunks/NcButton-YOXv3gFY.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs +0 -696
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs +0 -701
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-DNy0FRJb.mjs +0 -254
- package/dist/chunks/NcColorPicker-DNy0FRJb.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-i9PgTYBd.cjs +0 -242
- package/dist/chunks/NcColorPicker-i9PgTYBd.cjs.map +0 -1
- package/dist/chunks/NcContent-HdbQCleH.mjs +0 -111
- package/dist/chunks/NcContent-HdbQCleH.mjs.map +0 -1
- package/dist/chunks/NcContent-MOEEa0z1.cjs +0 -103
- package/dist/chunks/NcContent-MOEEa0z1.cjs.map +0 -1
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs +0 -40
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs.map +0 -1
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs +0 -44
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-JGkvqDWC.mjs +0 -169
- package/dist/chunks/NcDashboardWidget-JGkvqDWC.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-qHSuK2yd.cjs +0 -161
- package/dist/chunks/NcDashboardWidget-qHSuK2yd.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-fl92G4Pt.cjs +0 -177
- package/dist/chunks/NcDashboardWidgetItem-fl92G4Pt.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-oQGp29KO.mjs +0 -184
- package/dist/chunks/NcDashboardWidgetItem-oQGp29KO.mjs.map +0 -1
- package/dist/chunks/NcDateTime-JYO8uPbb.mjs +0 -140
- package/dist/chunks/NcDateTime-JYO8uPbb.mjs.map +0 -1
- package/dist/chunks/NcDateTime-T52KrH65.cjs +0 -136
- package/dist/chunks/NcDateTime-T52KrH65.cjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs +0 -328
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs +0 -338
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs.map +0 -1
- package/dist/chunks/NcDateTimePickerNative-3Xru7_OT.mjs +0 -181
- package/dist/chunks/NcDateTimePickerNative-3Xru7_OT.mjs.map +0 -1
- package/dist/chunks/NcDateTimePickerNative-xSITuvpX.cjs +0 -176
- package/dist/chunks/NcDateTimePickerNative-xSITuvpX.cjs.map +0 -1
- package/dist/chunks/NcDialog-BYXi2emF.cjs +0 -237
- package/dist/chunks/NcDialog-BYXi2emF.cjs.map +0 -1
- package/dist/chunks/NcDialog-rTTTdaH3.mjs +0 -245
- package/dist/chunks/NcDialog-rTTTdaH3.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs +0 -73
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-ax4NTfDU.mjs +0 -78
- package/dist/chunks/NcDialogButton-ax4NTfDU.mjs.map +0 -1
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs +0 -86
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs.map +0 -1
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs +0 -81
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-oWZ5anxp.mjs +0 -339
- package/dist/chunks/NcEmojiPicker-oWZ5anxp.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.cjs +0 -326
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.cjs.map +0 -1
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs +0 -62
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs.map +0 -1
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs +0 -58
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs.map +0 -1
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs +0 -21
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs.map +0 -1
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs +0 -17
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-67JCzTGo.mjs +0 -225
- package/dist/chunks/NcHeaderMenu-67JCzTGo.mjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-TvFFSvGS.cjs +0 -218
- package/dist/chunks/NcHeaderMenu-TvFFSvGS.cjs.map +0 -1
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs +0 -136
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs.map +0 -1
- package/dist/chunks/NcHighlight-kWLldgWB.mjs +0 -137
- package/dist/chunks/NcHighlight-kWLldgWB.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-ACaaN_pS.mjs +0 -82
- package/dist/chunks/NcIconSvgWrapper-ACaaN_pS.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-_hHu9P_M.cjs +0 -77
- package/dist/chunks/NcIconSvgWrapper-_hHu9P_M.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-DYlc289d.cjs +0 -105
- package/dist/chunks/NcInputConfirmCancel-DYlc289d.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-lmWu4ouW.mjs +0 -112
- package/dist/chunks/NcInputConfirmCancel-lmWu4ouW.mjs.map +0 -1
- package/dist/chunks/NcInputField-6pRWha3h.mjs +0 -291
- package/dist/chunks/NcInputField-6pRWha3h.mjs.map +0 -1
- package/dist/chunks/NcInputField-6vveMrmf.cjs +0 -283
- package/dist/chunks/NcInputField-6vveMrmf.cjs.map +0 -1
- package/dist/chunks/NcListItem-3QDILDKr.cjs +0 -339
- package/dist/chunks/NcListItem-3QDILDKr.cjs.map +0 -1
- package/dist/chunks/NcListItem-vkgu6Biu.mjs +0 -346
- package/dist/chunks/NcListItem-vkgu6Biu.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-130Lt3dW.mjs +0 -193
- package/dist/chunks/NcListItemIcon-130Lt3dW.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-dOvFvjqI.cjs +0 -189
- package/dist/chunks/NcListItemIcon-dOvFvjqI.cjs.map +0 -1
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs +0 -68
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs.map +0 -1
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs +0 -64
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs.map +0 -1
- package/dist/chunks/NcNoteCard-MnmgJvKD.mjs +0 -230
- package/dist/chunks/NcNoteCard-MnmgJvKD.mjs.map +0 -1
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs +0 -226
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-8rboJv29.cjs +0 -255
- package/dist/chunks/NcPasswordField-8rboJv29.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs +0 -265
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs.map +0 -1
- package/dist/chunks/NcPopover-J0pw-klF.cjs +0 -216
- package/dist/chunks/NcPopover-J0pw-klF.cjs.map +0 -1
- package/dist/chunks/NcPopover-XgOWyuQF.mjs +0 -223
- package/dist/chunks/NcPopover-XgOWyuQF.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-1EANJyYJ.mjs +0 -127
- package/dist/chunks/NcProgressBar-1EANJyYJ.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-zsehqkEw.cjs +0 -123
- package/dist/chunks/NcProgressBar-zsehqkEw.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-NqDuh_7F.mjs +0 -220
- package/dist/chunks/NcRelatedResourcesPanel-NqDuh_7F.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-QgNIHnCY.cjs +0 -213
- package/dist/chunks/NcRelatedResourcesPanel-QgNIHnCY.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-L8aEJNGb.cjs +0 -531
- package/dist/chunks/NcRichContenteditable-L8aEJNGb.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-W0BnJp3x.mjs +0 -543
- package/dist/chunks/NcRichContenteditable-W0BnJp3x.mjs.map +0 -1
- package/dist/chunks/NcRichText-91v7gJEe.cjs +0 -331
- package/dist/chunks/NcRichText-91v7gJEe.cjs.map +0 -1
- package/dist/chunks/NcRichText-RTwlrmhz.mjs +0 -348
- package/dist/chunks/NcRichText-RTwlrmhz.mjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs +0 -71
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs +0 -74
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs.map +0 -1
- package/dist/chunks/NcSelect-HmmLuUCp.mjs +0 -515
- package/dist/chunks/NcSelect-HmmLuUCp.mjs.map +0 -1
- package/dist/chunks/NcSelect-P2FpWJBr.cjs +0 -503
- package/dist/chunks/NcSelect-P2FpWJBr.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-HX8YbYwd.cjs +0 -256
- package/dist/chunks/NcSelectTags-HX8YbYwd.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-ZoLcdmHG.mjs +0 -263
- package/dist/chunks/NcSelectTags-ZoLcdmHG.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-9TVSwO_s.mjs +0 -113
- package/dist/chunks/NcSettingsInputText-9TVSwO_s.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-oJ_c6sMr.cjs +0 -108
- package/dist/chunks/NcSettingsInputText-oJ_c6sMr.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs +0 -114
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs +0 -118
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-HFDYgsw-.mjs +0 -208
- package/dist/chunks/NcSettingsSelectGroup-HFDYgsw-.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-UnB2ao3D.cjs +0 -199
- package/dist/chunks/NcSettingsSelectGroup-UnB2ao3D.cjs.map +0 -1
- package/dist/chunks/NcTextArea-QIkvyzz7.cjs +0 -196
- package/dist/chunks/NcTextArea-QIkvyzz7.cjs.map +0 -1
- package/dist/chunks/NcTextArea-SeSiP6Dy.mjs +0 -203
- package/dist/chunks/NcTextArea-SeSiP6Dy.mjs.map +0 -1
- package/dist/chunks/NcTextField-qqwMB07_.mjs +0 -165
- package/dist/chunks/NcTextField-qqwMB07_.mjs.map +0 -1
- package/dist/chunks/NcTextField-zi19KqEm.cjs +0 -158
- package/dist/chunks/NcTextField-zi19KqEm.cjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs +0 -3790
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs +0 -3783
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-Jw-rOju8.mjs +0 -205
- package/dist/chunks/NcUserBubble-Jw-rOju8.mjs.map +0 -1
- package/dist/chunks/NcUserBubble-NZeBFOmo.cjs +0 -199
- package/dist/chunks/NcUserBubble-NZeBFOmo.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs +0 -146
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs +0 -154
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-Gzz2FMnQ.cjs +0 -26
- package/dist/chunks/ScopeComponent-Gzz2FMnQ.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-mG7CSpxl.mjs +0 -27
- package/dist/chunks/ScopeComponent-mG7CSpxl.mjs.map +0 -1
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs +0 -64
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs.map +0 -1
- package/dist/chunks/_l10n-uuAvfQgY.mjs +0 -66
- package/dist/chunks/_l10n-uuAvfQgY.mjs.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs +0 -9
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs +0 -8
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs.map +0 -1
- package/dist/chunks/actionGlobal-Cx6Fi9Pj.cjs +0 -46
- package/dist/chunks/actionGlobal-Cx6Fi9Pj.cjs.map +0 -1
- package/dist/chunks/actionGlobal-pi4JQ0yh.mjs +0 -47
- package/dist/chunks/actionGlobal-pi4JQ0yh.mjs.map +0 -1
- package/dist/chunks/actionText-H_SIpDkO.cjs +0 -126
- package/dist/chunks/actionText-H_SIpDkO.cjs.map +0 -1
- package/dist/chunks/actionText-yZ-YQ_fz.mjs +0 -127
- package/dist/chunks/actionText-yZ-YQ_fz.mjs.map +0 -1
- package/dist/chunks/emoji-NrWIXNZ4.cjs +0 -59
- package/dist/chunks/emoji-NrWIXNZ4.cjs.map +0 -1
- package/dist/chunks/emoji-mEkenm2t.mjs +0 -62
- package/dist/chunks/emoji-mEkenm2t.mjs.map +0 -1
- package/dist/chunks/focusTrap-Py2bQ9-r.mjs +0 -27
- package/dist/chunks/focusTrap-Py2bQ9-r.mjs.map +0 -1
- package/dist/chunks/focusTrap-n3H52LOw.cjs +0 -26
- package/dist/chunks/focusTrap-n3H52LOw.cjs.map +0 -1
- package/dist/chunks/index-6mzaBTml.cjs +0 -159
- package/dist/chunks/index-6mzaBTml.cjs.map +0 -1
- package/dist/chunks/index-clpvFjGU.mjs +0 -165
- package/dist/chunks/index-clpvFjGU.mjs.map +0 -1
- package/dist/chunks/logger-3m1eQsSo.mjs +0 -25
- package/dist/chunks/logger-3m1eQsSo.mjs.map +0 -1
- package/dist/chunks/logger-G6OKp5ly.cjs +0 -24
- package/dist/chunks/logger-G6OKp5ly.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs +0 -1129
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs +0 -1111
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs.map +0 -1
- package/dist/chunks/usernameToColor-YCPAFxlc.mjs +0 -41
- package/dist/chunks/usernameToColor-YCPAFxlc.mjs.map +0 -1
- package/dist/chunks/usernameToColor-r5M5P032.cjs +0 -39
- package/dist/chunks/usernameToColor-r5M5P032.cjs.map +0 -1
- package/dist/cypress/component/NcButton.cy.d.ts +0 -1
- package/dist/cypress/component/NcSelect.cy.d.ts +0 -1
- package/dist/cypress/component/modal.cy.d.ts +0 -1
- package/dist/cypress/component/richtext.cy.d.ts +0 -1
- package/dist/cypress/support/commands.d.ts +0 -1
- package/dist/cypress/support/component.d.ts +0 -8
- package/dist/cypress/visual/AppNavigationItem.cy.d.ts +0 -1
- package/dist/cypress.config.d.ts +0 -3
- package/dist/index.cjs +0 -239
- package/dist/index.cjs.map +0 -1
- package/dist/src/components/NcActionButton/NcActionButton.vue.d.ts +0 -206
- package/dist/src/components/NcActionButtonGroup/NcActionButtonGroup.vue.d.ts +0 -26
- package/dist/src/components/NcActionCaption/NcActionCaption.vue.d.ts +0 -18
- package/dist/src/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +0 -99
- package/dist/src/components/NcActionInput/NcActionInput.vue.d.ts +0 -261
- package/dist/src/components/NcActionLink/NcActionLink.vue.d.ts +0 -2
- package/dist/src/components/NcActionRadio/NcActionRadio.vue.d.ts +0 -115
- package/dist/src/components/NcActionRouter/NcActionRouter.vue.d.ts +0 -68
- package/dist/src/components/NcActionSeparator/NcActionSeparator.vue.d.ts +0 -2
- package/dist/src/components/NcActionText/NcActionText.vue.d.ts +0 -48
- package/dist/src/components/NcActionTextEditable/NcActionTextEditable.vue.d.ts +0 -113
- package/dist/src/components/NcActions/NcActions.vue.d.ts +0 -343
- package/dist/src/components/NcAppContent/NcAppContent.vue.d.ts +0 -162
- package/dist/src/components/NcAppContent/NcAppDetailsToggle.vue.d.ts +0 -6
- package/dist/src/components/NcAppContentDetails/NcAppContentDetails.vue.d.ts +0 -2
- package/dist/src/components/NcAppContentList/NcAppContentList.vue.d.ts +0 -23
- package/dist/src/components/NcAppNavigation/NcAppNavigation.vue.d.ts +0 -55
- package/dist/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +0 -20
- package/dist/src/components/NcAppNavigationIconBullet/NcAppNavigationIconBullet.vue.d.ts +0 -20
- package/dist/src/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +0 -20
- package/dist/src/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +0 -413
- package/dist/src/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +0 -54
- package/dist/src/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +0 -48
- package/dist/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +0 -92
- package/dist/src/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +0 -37
- package/dist/src/components/NcAppNavigationSpacer/NcAppNavigationSpacer.vue.d.ts +0 -2
- package/dist/src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +0 -32
- package/dist/src/components/NcAppSettingsSection/NcAppSettingsSection.vue.d.ts +0 -24
- package/dist/src/components/NcAppSidebar/NcAppSidebar.vue.d.ts +0 -287
- package/dist/src/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +0 -91
- package/dist/src/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +0 -75
- package/dist/src/components/NcAvatar/NcAvatar.vue.d.ts +0 -348
- package/dist/src/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +0 -197
- package/dist/src/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +0 -144
- package/dist/src/components/NcButton/NcButton.vue.d.ts +0 -237
- package/dist/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue.d.ts +0 -6
- package/dist/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue.d.ts +0 -2
- package/dist/src/components/NcColorPicker/NcColorPicker.vue.d.ts +0 -2
- package/dist/src/components/NcContent/NcContent.vue.d.ts +0 -23
- package/dist/src/components/NcCounterBubble/NcCounterBubble.vue.d.ts +0 -41
- package/dist/src/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +0 -142
- package/dist/src/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +0 -170
- package/dist/src/components/NcDateTime/NcDateTime.vue.d.ts +0 -2
- package/dist/src/components/NcDialog/NcDialog.vue.d.ts +0 -2
- package/dist/src/components/NcDialogButton/NcDialogButton.vue.d.ts +0 -2
- package/dist/src/components/NcEllipsisedOption/NcEllipsisedOption.vue.d.ts +0 -48
- package/dist/src/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +0 -184
- package/dist/src/components/NcEmptyContent/NcEmptyContent.vue.d.ts +0 -39
- package/dist/src/components/NcGuestContent/NcGuestContent.vue.d.ts +0 -2
- package/dist/src/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +0 -147
- package/dist/src/components/NcHighlight/NcHighlight.vue.d.ts +0 -65
- package/dist/src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +0 -83
- package/dist/src/components/NcInputField/NcInputField.vue.d.ts +0 -278
- package/dist/src/components/NcListItem/NcListItem.vue.d.ts +0 -259
- package/dist/src/components/NcListItemIcon/NcListItemIcon.vue.d.ts +0 -207
- package/dist/src/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +0 -58
- package/dist/src/components/NcModal/NcModal.vue.d.ts +0 -2
- package/dist/src/components/NcNoteCard/NcNoteCard.vue.d.ts +0 -44
- package/dist/src/components/NcPopover/NcPopover.vue.d.ts +0 -2
- package/dist/src/components/NcPopover/NcPopoverTriggerProvider.vue.d.ts +0 -25
- package/dist/src/components/NcProgressBar/NcProgressBar.vue.d.ts +0 -2
- package/dist/src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +0 -140
- package/dist/src/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +0 -32
- package/dist/src/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +0 -69
- package/dist/src/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +0 -2
- package/dist/src/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +0 -342
- package/dist/src/components/NcRichText/NcReferenceList.vue.d.ts +0 -72
- package/dist/src/components/NcRichText/NcReferencePicker/NcCustomPickerElement.vue.d.ts +0 -28
- package/dist/src/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +0 -16
- package/dist/src/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +0 -34
- package/dist/src/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +0 -84
- package/dist/src/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +0 -72
- package/dist/src/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +0 -69
- package/dist/src/components/NcRichText/NcReferencePicker/NcSearchResult.vue.d.ts +0 -34
- package/dist/src/components/NcRichText/NcReferenceWidget.vue.d.ts +0 -29
- package/dist/src/components/NcRichText/NcRichText.vue.d.ts +0 -140
- package/dist/src/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +0 -73
- package/dist/src/components/NcSelect/NcSelect.vue.d.ts +0 -14
- package/dist/src/components/NcSelectTags/NcSelectTags.vue.d.ts +0 -23
- package/dist/src/components/NcSettingsInputText/NcSettingsInputText.vue.d.ts +0 -97
- package/dist/src/components/NcSettingsSection/NcSettingsSection.vue.d.ts +0 -57
- package/dist/src/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +0 -144
- package/dist/src/components/NcTextArea/NcTextArea.vue.d.ts +0 -205
- package/dist/src/components/NcTextField/NcTextField.vue.d.ts +0 -20
- package/dist/src/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +0 -78
- package/dist/src/components/NcUserBubble/NcUserBubble.vue.d.ts +0 -180
- package/dist/src/components/NcUserBubble/NcUserBubbleDiv.vue.d.ts +0 -2
- package/dist/src/components/NcUserStatusIcon/NcUserStatusIcon.vue.d.ts +0 -2
- package/dist/src/components/NcVNodes/NcVNodes.vue.d.ts +0 -20
- package/dist/src/components/index.d.ts +0 -91
- package/dist/src/plugin.d.ts +0 -16
- package/dist/src/utils/isSlotPopulated.d.ts +0 -29
- package/dist/tests/unit/components/NcActions/NcActionButton.spec.d.ts +0 -22
- package/dist/tests/unit/components/NcActions/NcActions.spec.d.ts +0 -23
- package/dist/tests/unit/components/NcAppSettingsDialog/NcAppSettingsDialog.spec.d.ts +0 -22
- package/dist/tests/unit/components/NcAvatar/NcAvatar.spec.d.ts +0 -22
- package/dist/tests/unit/components/NcInputField/NcInputField.spec.d.ts +0 -1
- package/dist/tests/unit/components/NcListItemIcon/list-item-icon.spec.d.ts +0 -22
- package/dist/tests/unit/components/NcRichContenteditable/NcRichContenteditable.spec.d.ts +0 -1
- package/dist/tests/unit/plugin.spec.d.ts +0 -22
- package/dist/tests/unit/testing-utils.d.ts +0 -6
- package/dist/tests/unit/utils/isSlotPopulated.spec.d.ts +0 -1
- package/dist/vite.config.d.ts +0 -3
- package/dist/vitest.config.d.ts +0 -3
- /package/dist/{src/components → components}/NcButton/index.d.ts +0 -0
- /package/dist/{src/components → components}/NcDateTimePicker/NcDateTimePicker.vue.d.ts +0 -0
- /package/dist/{src/components → components}/NcDateTimePickerNative/NcDateTimePickerNative.vue.d.ts +0 -0
- /package/dist/{src/directives → directives}/index.d.ts +0 -0
- /package/dist/{src/functions → functions}/a11y/index.d.ts +0 -0
- /package/dist/{src/functions → functions}/emoji/emoji.d.ts +0 -0
- /package/dist/{src/functions → functions}/emoji/index.d.ts +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/utils → utils}/UserStatus.d.ts +0 -0
|
@@ -0,0 +1,1579 @@
|
|
|
1
|
+
import '../assets/referencePickerModal-4K_FZwca.css';
|
|
2
|
+
import { e as hasFullWidth, i as isWidgetRegistered, h as hasInteractiveView, a as renderWidget, f as destroyWidget, d as isCustomPickerElementRegistered, g as destroyCustomPickerElement, c as renderCustomPickerElement, j as getCustomPickerElementSize } from "./index-CtoB4eIp.mjs";
|
|
3
|
+
import { defineComponent, reactive, inject, computed, h, unref, getCurrentInstance, watchEffect, ref, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, resolveDynamicComponent, mergeProps, withCtx, createCommentVNode, createElementVNode, toDisplayString, normalizeStyle, createTextVNode, createVNode, withKeys, withModifiers, createApp } from "vue";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
|
|
5
|
+
import { r as register, P as t20, a as t, Q as t7, R as t38, S as t34, T as t21, u as t36, U as t27, F as t16, V as t11 } from "./_l10n-ipRV_dfs.mjs";
|
|
6
|
+
import axios from "@nextcloud/axios";
|
|
7
|
+
import { loadState } from "@nextcloud/initial-state";
|
|
8
|
+
import { imagePath, generateOcsUrl } from "@nextcloud/router";
|
|
9
|
+
import { N as NcEmptyContent } from "./NcEmptyContent-CdgacgQe.mjs";
|
|
10
|
+
import { _ as _sfc_main$9 } from "./NcHighlight-CR5kySMp.mjs";
|
|
11
|
+
import { N as NcSelect } from "./NcSelect-Dt3JJc9b.mjs";
|
|
12
|
+
import { useElementSize, useIntersectionObserver } from "@vueuse/core";
|
|
13
|
+
import { g as getRoute } from "./autolink-CuPhRJIL.mjs";
|
|
14
|
+
import { N as NcButton } from "./NcButton-B27fpd1m.mjs";
|
|
15
|
+
import { N as NcLoadingIcon } from "./NcLoadingIcon-DwbO7gAy.mjs";
|
|
16
|
+
import { N as NcTextField } from "./NcTextField-5CbWAUlw.mjs";
|
|
17
|
+
import { D as DotsHorizontal } from "./DotsHorizontal-CCNSfNOk.mjs";
|
|
18
|
+
import NcModal from "../Components/NcModal.mjs";
|
|
19
|
+
import { emit } from "@nextcloud/event-bus";
|
|
20
|
+
import { A as ArrowLeft } from "./ArrowLeft-CxK9DnMo.mjs";
|
|
21
|
+
import { C as Close } from "./Close-pmiXntgw.mjs";
|
|
22
|
+
/*!
|
|
23
|
+
* vue-router v4.3.2
|
|
24
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
25
|
+
* @license MIT
|
|
26
|
+
*/
|
|
27
|
+
const isBrowser = typeof document !== "undefined";
|
|
28
|
+
const noop = () => {
|
|
29
|
+
};
|
|
30
|
+
const isArray = Array.isArray;
|
|
31
|
+
function warn(msg) {
|
|
32
|
+
const args = Array.from(arguments).slice(1);
|
|
33
|
+
console.warn.apply(console, ["[Vue Router warn]: " + msg].concat(args));
|
|
34
|
+
}
|
|
35
|
+
function isSameRouteRecord(a, b) {
|
|
36
|
+
return (a.aliasOf || a) === (b.aliasOf || b);
|
|
37
|
+
}
|
|
38
|
+
function isSameRouteLocationParams(a, b) {
|
|
39
|
+
if (Object.keys(a).length !== Object.keys(b).length)
|
|
40
|
+
return false;
|
|
41
|
+
for (const key in a) {
|
|
42
|
+
if (!isSameRouteLocationParamsValue(a[key], b[key]))
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function isSameRouteLocationParamsValue(a, b) {
|
|
48
|
+
return isArray(a) ? isEquivalentArray(a, b) : isArray(b) ? isEquivalentArray(b, a) : a === b;
|
|
49
|
+
}
|
|
50
|
+
function isEquivalentArray(a, b) {
|
|
51
|
+
return isArray(b) ? a.length === b.length && a.every((value, i) => value === b[i]) : a.length === 1 && a[0] === b;
|
|
52
|
+
}
|
|
53
|
+
var NavigationType;
|
|
54
|
+
(function(NavigationType2) {
|
|
55
|
+
NavigationType2["pop"] = "pop";
|
|
56
|
+
NavigationType2["push"] = "push";
|
|
57
|
+
})(NavigationType || (NavigationType = {}));
|
|
58
|
+
var NavigationDirection;
|
|
59
|
+
(function(NavigationDirection2) {
|
|
60
|
+
NavigationDirection2["back"] = "back";
|
|
61
|
+
NavigationDirection2["forward"] = "forward";
|
|
62
|
+
NavigationDirection2["unknown"] = "";
|
|
63
|
+
})(NavigationDirection || (NavigationDirection = {}));
|
|
64
|
+
function isRouteLocation(route) {
|
|
65
|
+
return typeof route === "string" || route && typeof route === "object";
|
|
66
|
+
}
|
|
67
|
+
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
68
|
+
var NavigationFailureType;
|
|
69
|
+
(function(NavigationFailureType2) {
|
|
70
|
+
NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
|
|
71
|
+
NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
|
|
72
|
+
NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
|
|
73
|
+
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
74
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
75
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
76
|
+
const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
77
|
+
const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
78
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
79
|
+
function useLink(props) {
|
|
80
|
+
const router = inject(routerKey);
|
|
81
|
+
const currentRoute = inject(routeLocationKey);
|
|
82
|
+
let hasPrevious = false;
|
|
83
|
+
let previousTo = null;
|
|
84
|
+
const route = computed(() => {
|
|
85
|
+
const to = unref(props.to);
|
|
86
|
+
if (process.env.NODE_ENV !== "production" && (!hasPrevious || to !== previousTo)) {
|
|
87
|
+
if (!isRouteLocation(to)) {
|
|
88
|
+
if (hasPrevious) {
|
|
89
|
+
warn(`Invalid value for prop "to" in useLink()
|
|
90
|
+
- to:`, to, `
|
|
91
|
+
- previous to:`, previousTo, `
|
|
92
|
+
- props:`, props);
|
|
93
|
+
} else {
|
|
94
|
+
warn(`Invalid value for prop "to" in useLink()
|
|
95
|
+
- to:`, to, `
|
|
96
|
+
- props:`, props);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
previousTo = to;
|
|
100
|
+
hasPrevious = true;
|
|
101
|
+
}
|
|
102
|
+
return router.resolve(to);
|
|
103
|
+
});
|
|
104
|
+
const activeRecordIndex = computed(() => {
|
|
105
|
+
const { matched } = route.value;
|
|
106
|
+
const { length } = matched;
|
|
107
|
+
const routeMatched = matched[length - 1];
|
|
108
|
+
const currentMatched = currentRoute.matched;
|
|
109
|
+
if (!routeMatched || !currentMatched.length)
|
|
110
|
+
return -1;
|
|
111
|
+
const index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));
|
|
112
|
+
if (index > -1)
|
|
113
|
+
return index;
|
|
114
|
+
const parentRecordPath = getOriginalPath(matched[length - 2]);
|
|
115
|
+
return (
|
|
116
|
+
// we are dealing with nested routes
|
|
117
|
+
length > 1 && // if the parent and matched route have the same path, this link is
|
|
118
|
+
// referring to the empty child. Or we currently are on a different
|
|
119
|
+
// child of the same parent
|
|
120
|
+
getOriginalPath(routeMatched) === parentRecordPath && // avoid comparing the child with its parent
|
|
121
|
+
currentMatched[currentMatched.length - 1].path !== parentRecordPath ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2])) : index
|
|
122
|
+
);
|
|
123
|
+
});
|
|
124
|
+
const isActive = computed(() => activeRecordIndex.value > -1 && includesParams(currentRoute.params, route.value.params));
|
|
125
|
+
const isExactActive = computed(() => activeRecordIndex.value > -1 && activeRecordIndex.value === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.value.params));
|
|
126
|
+
function navigate(e = {}) {
|
|
127
|
+
if (guardEvent(e)) {
|
|
128
|
+
return router[unref(props.replace) ? "replace" : "push"](
|
|
129
|
+
unref(props.to)
|
|
130
|
+
// avoid uncaught errors are they are logged anyway
|
|
131
|
+
).catch(noop);
|
|
132
|
+
}
|
|
133
|
+
return Promise.resolve();
|
|
134
|
+
}
|
|
135
|
+
if ((process.env.NODE_ENV !== "production" || false) && isBrowser) {
|
|
136
|
+
const instance = getCurrentInstance();
|
|
137
|
+
if (instance) {
|
|
138
|
+
const linkContextDevtools = {
|
|
139
|
+
route: route.value,
|
|
140
|
+
isActive: isActive.value,
|
|
141
|
+
isExactActive: isExactActive.value,
|
|
142
|
+
error: null
|
|
143
|
+
};
|
|
144
|
+
instance.__vrl_devtools = instance.__vrl_devtools || [];
|
|
145
|
+
instance.__vrl_devtools.push(linkContextDevtools);
|
|
146
|
+
watchEffect(() => {
|
|
147
|
+
linkContextDevtools.route = route.value;
|
|
148
|
+
linkContextDevtools.isActive = isActive.value;
|
|
149
|
+
linkContextDevtools.isExactActive = isExactActive.value;
|
|
150
|
+
linkContextDevtools.error = isRouteLocation(unref(props.to)) ? null : 'Invalid "to" value';
|
|
151
|
+
}, { flush: "post" });
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
route,
|
|
156
|
+
href: computed(() => route.value.href),
|
|
157
|
+
isActive,
|
|
158
|
+
isExactActive,
|
|
159
|
+
navigate
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
const RouterLinkImpl = /* @__PURE__ */ defineComponent({
|
|
163
|
+
name: "RouterLink",
|
|
164
|
+
compatConfig: { MODE: 3 },
|
|
165
|
+
props: {
|
|
166
|
+
to: {
|
|
167
|
+
type: [String, Object],
|
|
168
|
+
required: true
|
|
169
|
+
},
|
|
170
|
+
replace: Boolean,
|
|
171
|
+
activeClass: String,
|
|
172
|
+
// inactiveClass: String,
|
|
173
|
+
exactActiveClass: String,
|
|
174
|
+
custom: Boolean,
|
|
175
|
+
ariaCurrentValue: {
|
|
176
|
+
type: String,
|
|
177
|
+
default: "page"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
useLink,
|
|
181
|
+
setup(props, { slots }) {
|
|
182
|
+
const link = reactive(useLink(props));
|
|
183
|
+
const { options } = inject(routerKey);
|
|
184
|
+
const elClass = computed(() => ({
|
|
185
|
+
[getLinkClass(props.activeClass, options.linkActiveClass, "router-link-active")]: link.isActive,
|
|
186
|
+
// [getLinkClass(
|
|
187
|
+
// props.inactiveClass,
|
|
188
|
+
// options.linkInactiveClass,
|
|
189
|
+
// 'router-link-inactive'
|
|
190
|
+
// )]: !link.isExactActive,
|
|
191
|
+
[getLinkClass(props.exactActiveClass, options.linkExactActiveClass, "router-link-exact-active")]: link.isExactActive
|
|
192
|
+
}));
|
|
193
|
+
return () => {
|
|
194
|
+
const children = slots.default && slots.default(link);
|
|
195
|
+
return props.custom ? children : h("a", {
|
|
196
|
+
"aria-current": link.isExactActive ? props.ariaCurrentValue : null,
|
|
197
|
+
href: link.href,
|
|
198
|
+
// this would override user added attrs but Vue will still add
|
|
199
|
+
// the listener, so we end up triggering both
|
|
200
|
+
onClick: link.navigate,
|
|
201
|
+
class: elClass.value
|
|
202
|
+
}, children);
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
const RouterLink = RouterLinkImpl;
|
|
207
|
+
function guardEvent(e) {
|
|
208
|
+
if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)
|
|
209
|
+
return;
|
|
210
|
+
if (e.defaultPrevented)
|
|
211
|
+
return;
|
|
212
|
+
if (e.button !== void 0 && e.button !== 0)
|
|
213
|
+
return;
|
|
214
|
+
if (e.currentTarget && e.currentTarget.getAttribute) {
|
|
215
|
+
const target = e.currentTarget.getAttribute("target");
|
|
216
|
+
if (/\b_blank\b/i.test(target))
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (e.preventDefault)
|
|
220
|
+
e.preventDefault();
|
|
221
|
+
return true;
|
|
222
|
+
}
|
|
223
|
+
function includesParams(outer, inner) {
|
|
224
|
+
for (const key in inner) {
|
|
225
|
+
const innerValue = inner[key];
|
|
226
|
+
const outerValue = outer[key];
|
|
227
|
+
if (typeof innerValue === "string") {
|
|
228
|
+
if (innerValue !== outerValue)
|
|
229
|
+
return false;
|
|
230
|
+
} else {
|
|
231
|
+
if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value !== outerValue[i]))
|
|
232
|
+
return false;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
return true;
|
|
236
|
+
}
|
|
237
|
+
function getOriginalPath(record) {
|
|
238
|
+
return record ? record.aliasOf ? record.aliasOf.path : record.path : "";
|
|
239
|
+
}
|
|
240
|
+
const getLinkClass = (propClass, globalClass, defaultClass) => propClass != null ? propClass : globalClass != null ? globalClass : defaultClass;
|
|
241
|
+
register(t20);
|
|
242
|
+
const IDLE_TIMEOUT = 3 * 60 * 1e3;
|
|
243
|
+
const _sfc_main$8 = {
|
|
244
|
+
name: "NcReferenceWidget",
|
|
245
|
+
components: {
|
|
246
|
+
NcButton
|
|
247
|
+
},
|
|
248
|
+
props: {
|
|
249
|
+
reference: {
|
|
250
|
+
type: Object,
|
|
251
|
+
required: true
|
|
252
|
+
},
|
|
253
|
+
interactive: {
|
|
254
|
+
type: Boolean,
|
|
255
|
+
default: true
|
|
256
|
+
},
|
|
257
|
+
interactiveOptIn: {
|
|
258
|
+
type: Boolean,
|
|
259
|
+
default: false
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
setup() {
|
|
263
|
+
const isVisible = ref(false);
|
|
264
|
+
const widgetRoot = ref();
|
|
265
|
+
const { width } = useElementSize(widgetRoot);
|
|
266
|
+
useIntersectionObserver(widgetRoot, () => {
|
|
267
|
+
nextTick(() => {
|
|
268
|
+
isVisible.value = widgetRoot.value?.isIntersecting ?? false;
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
return {
|
|
272
|
+
width,
|
|
273
|
+
isVisible,
|
|
274
|
+
widgetRoot
|
|
275
|
+
};
|
|
276
|
+
},
|
|
277
|
+
data() {
|
|
278
|
+
return {
|
|
279
|
+
showInteractive: false,
|
|
280
|
+
rendered: false,
|
|
281
|
+
idleTimeout: null
|
|
282
|
+
};
|
|
283
|
+
},
|
|
284
|
+
computed: {
|
|
285
|
+
isInteractive() {
|
|
286
|
+
return !this.interactiveOptIn && this.interactive || this.showInteractive;
|
|
287
|
+
},
|
|
288
|
+
hasFullWidth() {
|
|
289
|
+
return hasFullWidth(this.reference.richObjectType);
|
|
290
|
+
},
|
|
291
|
+
hasCustomWidget() {
|
|
292
|
+
return isWidgetRegistered(this.reference.richObjectType);
|
|
293
|
+
},
|
|
294
|
+
hasInteractiveView() {
|
|
295
|
+
return isWidgetRegistered(this.reference.richObjectType) && hasInteractiveView(this.reference.richObjectType);
|
|
296
|
+
},
|
|
297
|
+
noAccess() {
|
|
298
|
+
return this.reference && !this.reference.accessible;
|
|
299
|
+
},
|
|
300
|
+
descriptionStyle() {
|
|
301
|
+
if (this.numberOfLines === 0) {
|
|
302
|
+
return {
|
|
303
|
+
display: "none"
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
const lineClamp = this.numberOfLines;
|
|
307
|
+
return {
|
|
308
|
+
lineClamp,
|
|
309
|
+
webkitLineClamp: lineClamp
|
|
310
|
+
};
|
|
311
|
+
},
|
|
312
|
+
numberOfLines() {
|
|
313
|
+
const lineCountOffsets = [450, 550, 650, Infinity];
|
|
314
|
+
return lineCountOffsets.findIndex((max) => this.width < max);
|
|
315
|
+
},
|
|
316
|
+
compactLink() {
|
|
317
|
+
const link = this.reference.openGraphObject.link;
|
|
318
|
+
if (!link) {
|
|
319
|
+
return "";
|
|
320
|
+
}
|
|
321
|
+
if (link.startsWith("https://")) {
|
|
322
|
+
return link.substring(8);
|
|
323
|
+
}
|
|
324
|
+
if (link.startsWith("http://")) {
|
|
325
|
+
return link.substring(7);
|
|
326
|
+
}
|
|
327
|
+
return link;
|
|
328
|
+
},
|
|
329
|
+
route() {
|
|
330
|
+
return getRoute(this.$router, this.reference.openGraphObject.link);
|
|
331
|
+
},
|
|
332
|
+
referenceWidgetLinkComponent() {
|
|
333
|
+
return this.route ? RouterLink : "a";
|
|
334
|
+
},
|
|
335
|
+
referenceWidgetLinkProps() {
|
|
336
|
+
return this.route ? { to: this.route } : { href: this.reference.openGraphObject.link, target: "_blank" };
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
watch: {
|
|
340
|
+
isVisible: {
|
|
341
|
+
handler(val) {
|
|
342
|
+
if (!val) {
|
|
343
|
+
this.idleTimeout = setTimeout(() => {
|
|
344
|
+
if (!this.isVisible) {
|
|
345
|
+
this.destroyWidget();
|
|
346
|
+
}
|
|
347
|
+
}, IDLE_TIMEOUT);
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
if (this.idleTimeout) {
|
|
351
|
+
clearTimeout(this.idleTimeout);
|
|
352
|
+
this.idleTimeout = null;
|
|
353
|
+
}
|
|
354
|
+
if (!this.rendered) {
|
|
355
|
+
this.renderWidget();
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
immediate: true
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
beforeUnmount() {
|
|
362
|
+
this.destroyWidget();
|
|
363
|
+
},
|
|
364
|
+
methods: {
|
|
365
|
+
t,
|
|
366
|
+
enableInteractive() {
|
|
367
|
+
this.showInteractive = true;
|
|
368
|
+
this.renderWidget();
|
|
369
|
+
},
|
|
370
|
+
renderWidget() {
|
|
371
|
+
if (!this.$refs.customWidget) {
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
374
|
+
if (this?.reference?.richObjectType === "open-graph") {
|
|
375
|
+
return;
|
|
376
|
+
}
|
|
377
|
+
this.$refs.customWidget.innerHTML = "";
|
|
378
|
+
const widget = document.createElement("div");
|
|
379
|
+
this.$refs.customWidget.appendChild(widget);
|
|
380
|
+
this.$nextTick(() => {
|
|
381
|
+
renderWidget(widget, {
|
|
382
|
+
...this.reference,
|
|
383
|
+
interactive: this.isInteractive
|
|
384
|
+
});
|
|
385
|
+
this.rendered = true;
|
|
386
|
+
});
|
|
387
|
+
},
|
|
388
|
+
destroyWidget() {
|
|
389
|
+
if (this.rendered) {
|
|
390
|
+
destroyWidget(this.reference.richObjectType, this.$el);
|
|
391
|
+
this.rendered = false;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
const _hoisted_1$8 = ["src"];
|
|
397
|
+
const _hoisted_2$6 = { class: "widget-default--details" };
|
|
398
|
+
const _hoisted_3$5 = { class: "widget-default--name" };
|
|
399
|
+
const _hoisted_4$4 = { class: "widget-default--link" };
|
|
400
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
401
|
+
const _component_NcButton = resolveComponent("NcButton");
|
|
402
|
+
return openBlock(), createElementBlock("div", {
|
|
403
|
+
ref: "widgetRoot",
|
|
404
|
+
class: normalizeClass({ "toggle-interactive": $options.hasInteractiveView && !$options.isInteractive })
|
|
405
|
+
}, [
|
|
406
|
+
$props.reference && $options.hasCustomWidget ? (openBlock(), createElementBlock("div", {
|
|
407
|
+
key: 0,
|
|
408
|
+
ref: "customWidget",
|
|
409
|
+
class: normalizeClass(["widget-custom", { "full-width": $options.hasFullWidth }])
|
|
410
|
+
}, null, 2)) : !$options.noAccess && $props.reference && $props.reference.openGraphObject && !$options.hasCustomWidget ? (openBlock(), createBlock(resolveDynamicComponent($options.referenceWidgetLinkComponent), mergeProps({ key: 1 }, $options.referenceWidgetLinkProps, {
|
|
411
|
+
rel: "noopener noreferrer",
|
|
412
|
+
class: "widget-default"
|
|
413
|
+
}), {
|
|
414
|
+
default: withCtx(() => [
|
|
415
|
+
$props.reference.openGraphObject.thumb ? (openBlock(), createElementBlock("img", {
|
|
416
|
+
key: 0,
|
|
417
|
+
class: "widget-default--image",
|
|
418
|
+
src: $props.reference.openGraphObject.thumb
|
|
419
|
+
}, null, 8, _hoisted_1$8)) : createCommentVNode("", true),
|
|
420
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
421
|
+
createElementVNode("p", _hoisted_3$5, toDisplayString($props.reference.openGraphObject.name), 1),
|
|
422
|
+
createElementVNode("p", {
|
|
423
|
+
class: "widget-default--description",
|
|
424
|
+
style: normalizeStyle($options.descriptionStyle)
|
|
425
|
+
}, toDisplayString($props.reference.openGraphObject.description), 5),
|
|
426
|
+
createElementVNode("p", _hoisted_4$4, toDisplayString($options.compactLink), 1)
|
|
427
|
+
])
|
|
428
|
+
]),
|
|
429
|
+
_: 1
|
|
430
|
+
}, 16)) : createCommentVNode("", true),
|
|
431
|
+
$props.interactiveOptIn && $options.hasInteractiveView && !$options.isInteractive ? (openBlock(), createBlock(_component_NcButton, {
|
|
432
|
+
key: 2,
|
|
433
|
+
class: "toggle-interactive--button",
|
|
434
|
+
onClick: $options.enableInteractive
|
|
435
|
+
}, {
|
|
436
|
+
default: withCtx(() => [
|
|
437
|
+
createTextVNode(toDisplayString($options.t("Enable interactive view")), 1)
|
|
438
|
+
]),
|
|
439
|
+
_: 1
|
|
440
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
441
|
+
], 2);
|
|
442
|
+
}
|
|
443
|
+
const NcReferenceWidget = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-fbf7ab3c"]]);
|
|
444
|
+
const _sfc_main$7 = {
|
|
445
|
+
name: "NcCustomPickerElement",
|
|
446
|
+
props: {
|
|
447
|
+
/**
|
|
448
|
+
* The reference provider
|
|
449
|
+
*/
|
|
450
|
+
provider: {
|
|
451
|
+
type: Object,
|
|
452
|
+
required: true
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
emits: [
|
|
456
|
+
"cancel",
|
|
457
|
+
"submit"
|
|
458
|
+
],
|
|
459
|
+
data() {
|
|
460
|
+
return {
|
|
461
|
+
isRegistered: isCustomPickerElementRegistered(this.provider.id),
|
|
462
|
+
renderResult: null
|
|
463
|
+
};
|
|
464
|
+
},
|
|
465
|
+
mounted() {
|
|
466
|
+
if (this.isRegistered) {
|
|
467
|
+
this.renderElement();
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
beforeUnmount() {
|
|
471
|
+
if (this.isRegistered) {
|
|
472
|
+
destroyCustomPickerElement(this.provider.id, this.$el, this.renderResult);
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
methods: {
|
|
476
|
+
renderElement() {
|
|
477
|
+
if (this.$refs.domElement) {
|
|
478
|
+
this.$refs.domElement.innerHTML = "";
|
|
479
|
+
}
|
|
480
|
+
const renderFunctionResult = renderCustomPickerElement(this.$refs.domElement, { providerId: this.provider.id, accessible: false });
|
|
481
|
+
Promise.resolve(renderFunctionResult).then((result) => {
|
|
482
|
+
this.renderResult = result;
|
|
483
|
+
if (this.renderResult.object?._isVue && this.renderResult.object?.$on) {
|
|
484
|
+
this.renderResult.object.$on("submit", this.onSubmit);
|
|
485
|
+
this.renderResult.object.$on("cancel", this.onCancel);
|
|
486
|
+
}
|
|
487
|
+
this.renderResult.element.addEventListener("submit", (e) => {
|
|
488
|
+
this.onSubmit(e.detail);
|
|
489
|
+
});
|
|
490
|
+
this.renderResult.element.addEventListener("cancel", this.onCancel);
|
|
491
|
+
});
|
|
492
|
+
},
|
|
493
|
+
onSubmit(value) {
|
|
494
|
+
this.$emit("submit", value);
|
|
495
|
+
},
|
|
496
|
+
onCancel() {
|
|
497
|
+
this.$emit("cancel");
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
const _hoisted_1$7 = { ref: "domElement" };
|
|
502
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
503
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, null, 512);
|
|
504
|
+
}
|
|
505
|
+
const NcCustomPickerElement = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-f06576d1"]]);
|
|
506
|
+
register(t7);
|
|
507
|
+
const anyLinkProviderId = "any-link";
|
|
508
|
+
const anyLinkProvider = {
|
|
509
|
+
id: anyLinkProviderId,
|
|
510
|
+
title: t("Any link"),
|
|
511
|
+
icon_url: imagePath("core", "filetypes/link.svg")
|
|
512
|
+
};
|
|
513
|
+
if (!window._vue_richtext_reference_providers) {
|
|
514
|
+
window._vue_richtext_reference_providers = loadState("core", "reference-provider-list", []);
|
|
515
|
+
}
|
|
516
|
+
if (!window._vue_richtext_reference_provider_timestamps) {
|
|
517
|
+
window._vue_richtext_reference_provider_timestamps = loadState("core", "reference-provider-timestamps", {});
|
|
518
|
+
}
|
|
519
|
+
function getProvider(providerId) {
|
|
520
|
+
if (providerId === anyLinkProviderId) {
|
|
521
|
+
return anyLinkProvider;
|
|
522
|
+
}
|
|
523
|
+
return getProviders().find((p) => p.id === providerId);
|
|
524
|
+
}
|
|
525
|
+
function getProviders() {
|
|
526
|
+
return window._vue_richtext_reference_providers.filter((p) => {
|
|
527
|
+
const keep = !!p.search_providers_ids && p.search_providers_ids.length > 0 || isCustomPickerElementRegistered(p.id);
|
|
528
|
+
if (!keep) {
|
|
529
|
+
console.debug("[smart picker]", p.id, "reference provider is discoverable but does not have any related search provider or custom picker component registered");
|
|
530
|
+
}
|
|
531
|
+
return keep;
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
function sortProviders(providerList) {
|
|
535
|
+
const timestamps = window._vue_richtext_reference_provider_timestamps;
|
|
536
|
+
return providerList.sort((a, b) => {
|
|
537
|
+
return a.order === b.order ? 0 : a.order > b.order ? 1 : -1;
|
|
538
|
+
}).sort((a, b) => {
|
|
539
|
+
const ta = timestamps[a.id];
|
|
540
|
+
const tb = timestamps[b.id];
|
|
541
|
+
return ta === tb ? 0 : tb === void 0 ? -1 : ta === void 0 ? 1 : ta > tb ? -1 : 1;
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
function searchProvider(query, limit = null) {
|
|
545
|
+
const providers = getProviders();
|
|
546
|
+
const escapedQuery = query.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
547
|
+
const regexp = new RegExp(escapedQuery, "i");
|
|
548
|
+
const sortedProviders = sortProviders(providers);
|
|
549
|
+
const filteredSortedProviders = sortedProviders.filter((p) => {
|
|
550
|
+
return p.title.match(regexp);
|
|
551
|
+
});
|
|
552
|
+
const searchResult = limit ? filteredSortedProviders.slice(0, limit) : filteredSortedProviders;
|
|
553
|
+
if (query === "" || searchResult.length === 0) {
|
|
554
|
+
searchResult.push(anyLinkProvider);
|
|
555
|
+
}
|
|
556
|
+
return searchResult;
|
|
557
|
+
}
|
|
558
|
+
function touchProvider(providerId) {
|
|
559
|
+
const timestamp = Math.floor(Date.now() / 1e3);
|
|
560
|
+
const params = {
|
|
561
|
+
timestamp
|
|
562
|
+
};
|
|
563
|
+
const url = generateOcsUrl("references/provider/{providerId}", { providerId });
|
|
564
|
+
axios.put(url, params).then((response) => {
|
|
565
|
+
window._vue_richtext_reference_provider_timestamps[providerId] = timestamp;
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
let mytimer = 0;
|
|
569
|
+
function delay(callback, ms) {
|
|
570
|
+
return function() {
|
|
571
|
+
const context = this;
|
|
572
|
+
const args = arguments;
|
|
573
|
+
clearTimeout(mytimer);
|
|
574
|
+
mytimer = setTimeout(function() {
|
|
575
|
+
callback.apply(context, args);
|
|
576
|
+
}, ms);
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
function isUrl(str) {
|
|
580
|
+
try {
|
|
581
|
+
return Boolean(new URL(str));
|
|
582
|
+
} catch (error) {
|
|
583
|
+
return false;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
register(t34, t38);
|
|
587
|
+
const _sfc_main$6 = {
|
|
588
|
+
name: "LinkVariantIcon",
|
|
589
|
+
emits: ["click"],
|
|
590
|
+
props: {
|
|
591
|
+
title: {
|
|
592
|
+
type: String
|
|
593
|
+
},
|
|
594
|
+
fillColor: {
|
|
595
|
+
type: String,
|
|
596
|
+
default: "currentColor"
|
|
597
|
+
},
|
|
598
|
+
size: {
|
|
599
|
+
type: Number,
|
|
600
|
+
default: 24
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
const _hoisted_1$6 = ["aria-hidden", "aria-label"];
|
|
605
|
+
const _hoisted_2$5 = ["fill", "width", "height"];
|
|
606
|
+
const _hoisted_3$4 = { 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" };
|
|
607
|
+
const _hoisted_4$3 = { key: 0 };
|
|
608
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
609
|
+
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
|
|
610
|
+
"aria-hidden": $props.title ? null : true,
|
|
611
|
+
"aria-label": $props.title,
|
|
612
|
+
class: "material-design-icon link-variant-icon",
|
|
613
|
+
role: "img",
|
|
614
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
615
|
+
}), [
|
|
616
|
+
(openBlock(), createElementBlock("svg", {
|
|
617
|
+
fill: $props.fillColor,
|
|
618
|
+
class: "material-design-icon__svg",
|
|
619
|
+
width: $props.size,
|
|
620
|
+
height: $props.size,
|
|
621
|
+
viewBox: "0 0 24 24"
|
|
622
|
+
}, [
|
|
623
|
+
createElementVNode("path", _hoisted_3$4, [
|
|
624
|
+
$props.title ? (openBlock(), createElementBlock("title", _hoisted_4$3, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
625
|
+
])
|
|
626
|
+
], 8, _hoisted_2$5))
|
|
627
|
+
], 16, _hoisted_1$6);
|
|
628
|
+
}
|
|
629
|
+
const LinkVariantIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
630
|
+
const _sfc_main$5 = {
|
|
631
|
+
name: "NcProviderList",
|
|
632
|
+
components: {
|
|
633
|
+
NcSelect,
|
|
634
|
+
NcHighlight: _sfc_main$9,
|
|
635
|
+
NcEmptyContent,
|
|
636
|
+
LinkVariantIcon
|
|
637
|
+
},
|
|
638
|
+
emits: [
|
|
639
|
+
"select-provider",
|
|
640
|
+
"submit"
|
|
641
|
+
],
|
|
642
|
+
data() {
|
|
643
|
+
return {
|
|
644
|
+
selectedProvider: null,
|
|
645
|
+
query: "",
|
|
646
|
+
multiselectPlaceholder: t("Select provider"),
|
|
647
|
+
providerIconAlt: t("Provider icon")
|
|
648
|
+
};
|
|
649
|
+
},
|
|
650
|
+
computed: {
|
|
651
|
+
options() {
|
|
652
|
+
const result = [];
|
|
653
|
+
if (this.query !== "" && isUrl(this.query)) {
|
|
654
|
+
result.push({
|
|
655
|
+
id: this.query,
|
|
656
|
+
title: this.query,
|
|
657
|
+
isLink: true
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
result.push(...searchProvider(this.query));
|
|
661
|
+
return result;
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
methods: {
|
|
665
|
+
focus() {
|
|
666
|
+
setTimeout(() => {
|
|
667
|
+
this.$refs["provider-select"]?.$el?.querySelector("#provider-select-input")?.focus();
|
|
668
|
+
}, 300);
|
|
669
|
+
},
|
|
670
|
+
onProviderSelected(p) {
|
|
671
|
+
if (p !== null) {
|
|
672
|
+
if (p.isLink) {
|
|
673
|
+
this.$emit("submit", p.title);
|
|
674
|
+
} else {
|
|
675
|
+
this.$emit("select-provider", p);
|
|
676
|
+
}
|
|
677
|
+
this.selectedProvider = null;
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
onSearch(query) {
|
|
681
|
+
this.query = query;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
};
|
|
685
|
+
const _hoisted_1$5 = { class: "provider-list" };
|
|
686
|
+
const _hoisted_2$4 = {
|
|
687
|
+
key: 0,
|
|
688
|
+
class: "provider"
|
|
689
|
+
};
|
|
690
|
+
const _hoisted_3$3 = {
|
|
691
|
+
key: 1,
|
|
692
|
+
class: "provider"
|
|
693
|
+
};
|
|
694
|
+
const _hoisted_4$2 = ["src", "alt"];
|
|
695
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
696
|
+
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
697
|
+
const _component_NcHighlight = resolveComponent("NcHighlight");
|
|
698
|
+
const _component_NcSelect = resolveComponent("NcSelect");
|
|
699
|
+
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
700
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
701
|
+
createVNode(_component_NcSelect, {
|
|
702
|
+
ref: "provider-select",
|
|
703
|
+
modelValue: $data.selectedProvider,
|
|
704
|
+
"onUpdate:modelValue": [
|
|
705
|
+
_cache[0] || (_cache[0] = ($event) => $data.selectedProvider = $event),
|
|
706
|
+
$options.onProviderSelected
|
|
707
|
+
],
|
|
708
|
+
class: "provider-list--select",
|
|
709
|
+
"input-id": "provider-select-input",
|
|
710
|
+
label: "title",
|
|
711
|
+
placeholder: $data.multiselectPlaceholder,
|
|
712
|
+
options: $options.options,
|
|
713
|
+
"append-to-body": false,
|
|
714
|
+
"clear-search-on-select": true,
|
|
715
|
+
"clear-search-on-blur": () => false,
|
|
716
|
+
filterable: false,
|
|
717
|
+
onSearch: $options.onSearch
|
|
718
|
+
}, {
|
|
719
|
+
option: withCtx((option) => [
|
|
720
|
+
option.isLink ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
721
|
+
createVNode(_component_LinkVariantIcon, {
|
|
722
|
+
class: "link-icon",
|
|
723
|
+
size: 20
|
|
724
|
+
}),
|
|
725
|
+
createElementVNode("span", null, toDisplayString(option.title), 1)
|
|
726
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
727
|
+
createElementVNode("img", {
|
|
728
|
+
class: "provider-icon",
|
|
729
|
+
src: option.icon_url,
|
|
730
|
+
alt: $data.providerIconAlt
|
|
731
|
+
}, null, 8, _hoisted_4$2),
|
|
732
|
+
createVNode(_component_NcHighlight, {
|
|
733
|
+
class: "option-text",
|
|
734
|
+
search: $data.query,
|
|
735
|
+
text: option.title
|
|
736
|
+
}, null, 8, ["search", "text"])
|
|
737
|
+
]))
|
|
738
|
+
]),
|
|
739
|
+
_: 1
|
|
740
|
+
}, 8, ["modelValue", "placeholder", "options", "onSearch", "onUpdate:modelValue"]),
|
|
741
|
+
createVNode(_component_NcEmptyContent, { class: "provider-list--empty-content" }, {
|
|
742
|
+
icon: withCtx(() => [
|
|
743
|
+
createVNode(_component_LinkVariantIcon)
|
|
744
|
+
]),
|
|
745
|
+
_: 1
|
|
746
|
+
})
|
|
747
|
+
]);
|
|
748
|
+
}
|
|
749
|
+
const NcProviderList = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-c8e1afc5"]]);
|
|
750
|
+
register(t21);
|
|
751
|
+
const _sfc_main$4 = {
|
|
752
|
+
name: "NcRawLinkInput",
|
|
753
|
+
components: {
|
|
754
|
+
LinkVariantIcon,
|
|
755
|
+
NcEmptyContent,
|
|
756
|
+
NcLoadingIcon,
|
|
757
|
+
NcReferenceWidget,
|
|
758
|
+
NcTextField
|
|
759
|
+
},
|
|
760
|
+
props: {
|
|
761
|
+
/**
|
|
762
|
+
* The reference provider
|
|
763
|
+
*/
|
|
764
|
+
provider: {
|
|
765
|
+
type: Object,
|
|
766
|
+
required: true
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
emits: [
|
|
770
|
+
"submit"
|
|
771
|
+
],
|
|
772
|
+
data() {
|
|
773
|
+
return {
|
|
774
|
+
inputValue: "",
|
|
775
|
+
loading: false,
|
|
776
|
+
reference: null,
|
|
777
|
+
abortController: null,
|
|
778
|
+
inputPlaceholder: t("Enter link")
|
|
779
|
+
};
|
|
780
|
+
},
|
|
781
|
+
computed: {
|
|
782
|
+
isLinkValid() {
|
|
783
|
+
return isUrl(this.inputValue);
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
methods: {
|
|
787
|
+
focus() {
|
|
788
|
+
this.$refs["url-input"].$el.getElementsByTagName("input")[0]?.focus();
|
|
789
|
+
},
|
|
790
|
+
onSubmit(e) {
|
|
791
|
+
const value = e.target.value;
|
|
792
|
+
if (this.isLinkValid) {
|
|
793
|
+
this.$emit("submit", value);
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
onClear() {
|
|
797
|
+
this.inputValue = "";
|
|
798
|
+
this.reference = null;
|
|
799
|
+
},
|
|
800
|
+
onInput() {
|
|
801
|
+
this.reference = null;
|
|
802
|
+
if (this.abortController) {
|
|
803
|
+
this.abortController.abort();
|
|
804
|
+
}
|
|
805
|
+
if (this.isLinkValid) {
|
|
806
|
+
delay(() => {
|
|
807
|
+
this.updateReference();
|
|
808
|
+
}, 500)();
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
updateReference() {
|
|
812
|
+
this.loading = true;
|
|
813
|
+
this.abortController = new AbortController();
|
|
814
|
+
axios.get(generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
|
|
815
|
+
signal: this.abortController.signal
|
|
816
|
+
}).then((response) => {
|
|
817
|
+
this.reference = response.data.ocs.data.references[this.inputValue];
|
|
818
|
+
}).catch((error) => {
|
|
819
|
+
console.error(error);
|
|
820
|
+
}).then(() => {
|
|
821
|
+
this.loading = false;
|
|
822
|
+
});
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
};
|
|
826
|
+
const _hoisted_1$4 = { class: "raw-link" };
|
|
827
|
+
const _hoisted_2$3 = { class: "input-wrapper" };
|
|
828
|
+
const _hoisted_3$2 = ["src"];
|
|
829
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
830
|
+
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
831
|
+
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
832
|
+
const _component_NcTextField = resolveComponent("NcTextField");
|
|
833
|
+
const _component_NcReferenceWidget = resolveComponent("NcReferenceWidget");
|
|
834
|
+
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
835
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
836
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
837
|
+
createVNode(_component_NcTextField, {
|
|
838
|
+
ref: "url-input",
|
|
839
|
+
modelValue: $data.inputValue,
|
|
840
|
+
"onUpdate:modelValue": [
|
|
841
|
+
_cache[0] || (_cache[0] = ($event) => $data.inputValue = $event),
|
|
842
|
+
$options.onInput
|
|
843
|
+
],
|
|
844
|
+
"show-trailing-button": $data.inputValue !== "",
|
|
845
|
+
label: $data.inputPlaceholder,
|
|
846
|
+
onTrailingButtonClick: $options.onClear,
|
|
847
|
+
onKeyup: withKeys($options.onSubmit, ["enter"])
|
|
848
|
+
}, {
|
|
849
|
+
default: withCtx(() => [
|
|
850
|
+
$data.loading ? (openBlock(), createBlock(_component_NcLoadingIcon, {
|
|
851
|
+
key: 0,
|
|
852
|
+
size: 16
|
|
853
|
+
})) : (openBlock(), createBlock(_component_LinkVariantIcon, {
|
|
854
|
+
key: 1,
|
|
855
|
+
size: 16
|
|
856
|
+
}))
|
|
857
|
+
]),
|
|
858
|
+
_: 1
|
|
859
|
+
}, 8, ["modelValue", "show-trailing-button", "label", "onTrailingButtonClick", "onUpdate:modelValue", "onKeyup"])
|
|
860
|
+
]),
|
|
861
|
+
$data.reference !== null ? (openBlock(), createBlock(_component_NcReferenceWidget, {
|
|
862
|
+
key: 0,
|
|
863
|
+
class: "reference-widget",
|
|
864
|
+
reference: $data.reference
|
|
865
|
+
}, null, 8, ["reference"])) : (openBlock(), createBlock(_component_NcEmptyContent, {
|
|
866
|
+
key: 1,
|
|
867
|
+
class: "raw-link--empty-content"
|
|
868
|
+
}, {
|
|
869
|
+
icon: withCtx(() => [
|
|
870
|
+
$props.provider.icon_url ? (openBlock(), createElementBlock("img", {
|
|
871
|
+
key: 0,
|
|
872
|
+
class: "provider-icon",
|
|
873
|
+
src: $props.provider.icon_url
|
|
874
|
+
}, null, 8, _hoisted_3$2)) : (openBlock(), createBlock(_component_LinkVariantIcon, { key: 1 }))
|
|
875
|
+
]),
|
|
876
|
+
_: 1
|
|
877
|
+
}))
|
|
878
|
+
]);
|
|
879
|
+
}
|
|
880
|
+
const NcRawLinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-5bc24564"]]);
|
|
881
|
+
const _sfc_main$3 = {
|
|
882
|
+
name: "NcSearchResult",
|
|
883
|
+
components: {
|
|
884
|
+
NcHighlight: _sfc_main$9
|
|
885
|
+
},
|
|
886
|
+
props: {
|
|
887
|
+
/**
|
|
888
|
+
* Unified search result entry
|
|
889
|
+
*/
|
|
890
|
+
entry: {
|
|
891
|
+
type: Object,
|
|
892
|
+
required: true
|
|
893
|
+
},
|
|
894
|
+
/**
|
|
895
|
+
* The query that led to getting this result
|
|
896
|
+
* Used to highlight the entry text
|
|
897
|
+
*/
|
|
898
|
+
query: {
|
|
899
|
+
type: String,
|
|
900
|
+
required: true
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
};
|
|
904
|
+
const _hoisted_1$3 = { class: "result" };
|
|
905
|
+
const _hoisted_2$2 = ["src"];
|
|
906
|
+
const _hoisted_3$1 = { class: "result--content" };
|
|
907
|
+
const _hoisted_4$1 = { class: "result--content--name" };
|
|
908
|
+
const _hoisted_5$1 = { class: "result--content--subline" };
|
|
909
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
910
|
+
const _component_NcHighlight = resolveComponent("NcHighlight");
|
|
911
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
912
|
+
$props.entry.icon ? (openBlock(), createElementBlock("div", {
|
|
913
|
+
key: 0,
|
|
914
|
+
class: normalizeClass([{ [$props.entry.icon]: true, rounded: $props.entry.rounded }, "result--icon-class"])
|
|
915
|
+
}, null, 2)) : (openBlock(), createElementBlock("img", {
|
|
916
|
+
key: 1,
|
|
917
|
+
class: normalizeClass(["result--image", { rounded: $props.entry.rounded }]),
|
|
918
|
+
src: $props.entry.thumbnailUrl
|
|
919
|
+
}, null, 10, _hoisted_2$2)),
|
|
920
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
921
|
+
createElementVNode("span", _hoisted_4$1, [
|
|
922
|
+
createVNode(_component_NcHighlight, {
|
|
923
|
+
search: $props.query,
|
|
924
|
+
text: $props.entry.title
|
|
925
|
+
}, null, 8, ["search", "text"])
|
|
926
|
+
]),
|
|
927
|
+
createElementVNode("span", _hoisted_5$1, [
|
|
928
|
+
createVNode(_component_NcHighlight, {
|
|
929
|
+
search: $props.query,
|
|
930
|
+
text: $props.entry.subline
|
|
931
|
+
}, null, 8, ["search", "text"])
|
|
932
|
+
])
|
|
933
|
+
])
|
|
934
|
+
]);
|
|
935
|
+
}
|
|
936
|
+
const NcSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-7a394a58"]]);
|
|
937
|
+
register(t27, t34, t36);
|
|
938
|
+
const LIMIT = 5;
|
|
939
|
+
const _sfc_main$2 = {
|
|
940
|
+
name: "NcSearch",
|
|
941
|
+
components: {
|
|
942
|
+
LinkVariantIcon,
|
|
943
|
+
DotsHorizontalIcon: DotsHorizontal,
|
|
944
|
+
NcEmptyContent,
|
|
945
|
+
NcSelect,
|
|
946
|
+
NcSearchResult
|
|
947
|
+
},
|
|
948
|
+
props: {
|
|
949
|
+
/**
|
|
950
|
+
* The selected reference provider
|
|
951
|
+
*/
|
|
952
|
+
provider: {
|
|
953
|
+
type: Object,
|
|
954
|
+
required: true
|
|
955
|
+
},
|
|
956
|
+
showEmptyContent: {
|
|
957
|
+
type: Boolean,
|
|
958
|
+
default: true
|
|
959
|
+
},
|
|
960
|
+
searchPlaceholder: {
|
|
961
|
+
type: String,
|
|
962
|
+
default: null
|
|
963
|
+
}
|
|
964
|
+
},
|
|
965
|
+
emits: [
|
|
966
|
+
"submit"
|
|
967
|
+
],
|
|
968
|
+
data() {
|
|
969
|
+
return {
|
|
970
|
+
searchQuery: "",
|
|
971
|
+
selectedResult: null,
|
|
972
|
+
resultsBySearchProvider: {},
|
|
973
|
+
searching: false,
|
|
974
|
+
searchingMoreOf: null,
|
|
975
|
+
abortController: null,
|
|
976
|
+
noOptionsText: t("Start typing to search"),
|
|
977
|
+
providerIconAlt: t("Provider icon")
|
|
978
|
+
};
|
|
979
|
+
},
|
|
980
|
+
computed: {
|
|
981
|
+
mySearchPlaceholder() {
|
|
982
|
+
return this.searchPlaceholder || t("Search");
|
|
983
|
+
},
|
|
984
|
+
searchProviderIds() {
|
|
985
|
+
return this.provider.search_providers_ids;
|
|
986
|
+
},
|
|
987
|
+
options() {
|
|
988
|
+
if (this.searchQuery === "") {
|
|
989
|
+
return [];
|
|
990
|
+
}
|
|
991
|
+
const options = [];
|
|
992
|
+
if (isUrl(this.searchQuery)) {
|
|
993
|
+
options.push(this.rawLinkEntry);
|
|
994
|
+
}
|
|
995
|
+
options.push(...this.formattedSearchResults);
|
|
996
|
+
return options;
|
|
997
|
+
},
|
|
998
|
+
rawLinkEntry() {
|
|
999
|
+
return {
|
|
1000
|
+
id: "rawLinkEntry",
|
|
1001
|
+
resourceUrl: this.searchQuery,
|
|
1002
|
+
isRawLink: true
|
|
1003
|
+
};
|
|
1004
|
+
},
|
|
1005
|
+
formattedSearchResults() {
|
|
1006
|
+
const results = [];
|
|
1007
|
+
this.searchProviderIds.forEach((pid) => {
|
|
1008
|
+
if (this.resultsBySearchProvider[pid].entries.length > 0) {
|
|
1009
|
+
if (this.searchProviderIds.length > 1 || this.resultsBySearchProvider[pid].entries.length > 1) {
|
|
1010
|
+
results.push({
|
|
1011
|
+
id: "groupTitle-" + pid,
|
|
1012
|
+
name: this.resultsBySearchProvider[pid].name,
|
|
1013
|
+
isCustomGroupTitle: true,
|
|
1014
|
+
providerId: pid
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
const providerEntriesWithId = this.resultsBySearchProvider[pid].entries.map((entry, index) => {
|
|
1018
|
+
return {
|
|
1019
|
+
id: "provider-" + pid + "-entry-" + index,
|
|
1020
|
+
...entry
|
|
1021
|
+
};
|
|
1022
|
+
});
|
|
1023
|
+
results.push(...providerEntriesWithId);
|
|
1024
|
+
if (this.resultsBySearchProvider[pid].isPaginated) {
|
|
1025
|
+
results.push({
|
|
1026
|
+
id: "moreOf-" + pid,
|
|
1027
|
+
name: this.resultsBySearchProvider[pid].name,
|
|
1028
|
+
isMore: true,
|
|
1029
|
+
providerId: pid,
|
|
1030
|
+
isLoading: this.searchingMoreOf === pid
|
|
1031
|
+
});
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
});
|
|
1035
|
+
return results;
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
mounted() {
|
|
1039
|
+
this.resetResults();
|
|
1040
|
+
},
|
|
1041
|
+
beforeUnmount() {
|
|
1042
|
+
this.cancelSearchRequests();
|
|
1043
|
+
},
|
|
1044
|
+
methods: {
|
|
1045
|
+
t,
|
|
1046
|
+
resetResults() {
|
|
1047
|
+
const resultsBySearchProvider = {};
|
|
1048
|
+
this.searchProviderIds.forEach((pid) => {
|
|
1049
|
+
resultsBySearchProvider[pid] = {
|
|
1050
|
+
entries: []
|
|
1051
|
+
};
|
|
1052
|
+
});
|
|
1053
|
+
this.resultsBySearchProvider = resultsBySearchProvider;
|
|
1054
|
+
},
|
|
1055
|
+
focus() {
|
|
1056
|
+
setTimeout(() => {
|
|
1057
|
+
this.$refs["search-select"]?.$el?.querySelector("#search-select-input")?.focus();
|
|
1058
|
+
}, 300);
|
|
1059
|
+
},
|
|
1060
|
+
cancelSearchRequests() {
|
|
1061
|
+
if (this.abortController) {
|
|
1062
|
+
this.abortController.abort();
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
onSearchInput(query) {
|
|
1066
|
+
this.searchQuery = query;
|
|
1067
|
+
delay(() => {
|
|
1068
|
+
this.updateSearch();
|
|
1069
|
+
}, 500)();
|
|
1070
|
+
},
|
|
1071
|
+
onSelectResultSelected(item) {
|
|
1072
|
+
if (item !== null) {
|
|
1073
|
+
if (item.resourceUrl) {
|
|
1074
|
+
this.cancelSearchRequests();
|
|
1075
|
+
this.$emit("submit", item.resourceUrl);
|
|
1076
|
+
} else if (item.isMore) {
|
|
1077
|
+
this.searchMoreOf(item.providerId).then(() => {
|
|
1078
|
+
this.selectedResult = null;
|
|
1079
|
+
});
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
searchMoreOf(searchProviderId) {
|
|
1084
|
+
this.searchingMoreOf = searchProviderId;
|
|
1085
|
+
this.cancelSearchRequests();
|
|
1086
|
+
return this.searchProviders(searchProviderId);
|
|
1087
|
+
},
|
|
1088
|
+
updateSearch() {
|
|
1089
|
+
this.cancelSearchRequests();
|
|
1090
|
+
this.resetResults();
|
|
1091
|
+
if (this.searchQuery === "") {
|
|
1092
|
+
this.searching = false;
|
|
1093
|
+
return;
|
|
1094
|
+
}
|
|
1095
|
+
return this.searchProviders();
|
|
1096
|
+
},
|
|
1097
|
+
searchProviders(searchProviderId = null) {
|
|
1098
|
+
this.abortController = new AbortController();
|
|
1099
|
+
this.searching = true;
|
|
1100
|
+
const searchPromises = searchProviderId === null ? [...this.searchProviderIds].map((pid) => {
|
|
1101
|
+
return this.searchOneProvider(pid);
|
|
1102
|
+
}) : [this.searchOneProvider(searchProviderId, this.resultsBySearchProvider[searchProviderId]?.cursor ?? null)];
|
|
1103
|
+
return Promise.allSettled(searchPromises).then((promises) => {
|
|
1104
|
+
const isOneCanceled = !!promises.find((p) => {
|
|
1105
|
+
return p.status === "rejected" && (p.reason.name === "CanceledError" || p.reason.code === "ERR_CANCELED");
|
|
1106
|
+
});
|
|
1107
|
+
if (!isOneCanceled) {
|
|
1108
|
+
this.searching = false;
|
|
1109
|
+
this.searchingMoreOf = null;
|
|
1110
|
+
}
|
|
1111
|
+
});
|
|
1112
|
+
},
|
|
1113
|
+
searchOneProvider(providerId, cursor = null) {
|
|
1114
|
+
const url = cursor === null ? generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId, term: this.searchQuery, limit: LIMIT }) : generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId, term: this.searchQuery, limit: LIMIT, cursor });
|
|
1115
|
+
return axios.get(url, {
|
|
1116
|
+
signal: this.abortController.signal
|
|
1117
|
+
}).then((response) => {
|
|
1118
|
+
const data = response.data.ocs.data;
|
|
1119
|
+
this.resultsBySearchProvider[providerId].name = data.name;
|
|
1120
|
+
this.resultsBySearchProvider[providerId].cursor = data.cursor;
|
|
1121
|
+
this.resultsBySearchProvider[providerId].isPaginated = data.isPaginated;
|
|
1122
|
+
this.resultsBySearchProvider[providerId].entries.push(...data.entries);
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
};
|
|
1127
|
+
const _hoisted_1$2 = {
|
|
1128
|
+
key: 0,
|
|
1129
|
+
class: "custom-option"
|
|
1130
|
+
};
|
|
1131
|
+
const _hoisted_2$1 = { class: "option-text" };
|
|
1132
|
+
const _hoisted_3 = {
|
|
1133
|
+
key: 2,
|
|
1134
|
+
class: "custom-option group-name"
|
|
1135
|
+
};
|
|
1136
|
+
const _hoisted_4 = ["src"];
|
|
1137
|
+
const _hoisted_5 = { class: "option-text" };
|
|
1138
|
+
const _hoisted_6 = {
|
|
1139
|
+
key: 3,
|
|
1140
|
+
class: /* @__PURE__ */ normalizeClass({ "custom-option": true })
|
|
1141
|
+
};
|
|
1142
|
+
const _hoisted_7 = {
|
|
1143
|
+
key: 0,
|
|
1144
|
+
class: "option-simple-icon icon-loading-small"
|
|
1145
|
+
};
|
|
1146
|
+
const _hoisted_8 = { class: "option-text" };
|
|
1147
|
+
const _hoisted_9 = ["alt", "src"];
|
|
1148
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1149
|
+
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
1150
|
+
const _component_NcSearchResult = resolveComponent("NcSearchResult");
|
|
1151
|
+
const _component_DotsHorizontalIcon = resolveComponent("DotsHorizontalIcon");
|
|
1152
|
+
const _component_NcSelect = resolveComponent("NcSelect");
|
|
1153
|
+
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
1154
|
+
return openBlock(), createElementBlock("div", {
|
|
1155
|
+
class: normalizeClass(["smart-picker-search", { "with-empty-content": $props.showEmptyContent }])
|
|
1156
|
+
}, [
|
|
1157
|
+
createVNode(_component_NcSelect, {
|
|
1158
|
+
ref: "search-select",
|
|
1159
|
+
modelValue: $data.selectedResult,
|
|
1160
|
+
"onUpdate:modelValue": [
|
|
1161
|
+
_cache[0] || (_cache[0] = ($event) => $data.selectedResult = $event),
|
|
1162
|
+
$options.onSelectResultSelected
|
|
1163
|
+
],
|
|
1164
|
+
class: "smart-picker-search--select",
|
|
1165
|
+
"input-id": "search-select-input",
|
|
1166
|
+
label: "name",
|
|
1167
|
+
placeholder: $options.mySearchPlaceholder,
|
|
1168
|
+
options: $options.options,
|
|
1169
|
+
"append-to-body": false,
|
|
1170
|
+
"close-on-select": false,
|
|
1171
|
+
"clear-search-on-select": false,
|
|
1172
|
+
"clear-search-on-blur": () => false,
|
|
1173
|
+
"reset-focus-on-options-change": false,
|
|
1174
|
+
filterable: false,
|
|
1175
|
+
autoscroll: true,
|
|
1176
|
+
"reset-on-options-change": false,
|
|
1177
|
+
loading: $data.searching,
|
|
1178
|
+
onSearch: $options.onSearchInput
|
|
1179
|
+
}, {
|
|
1180
|
+
option: withCtx((option) => [
|
|
1181
|
+
option.isRawLink ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
1182
|
+
createVNode(_component_LinkVariantIcon, {
|
|
1183
|
+
class: "option-simple-icon",
|
|
1184
|
+
size: 20
|
|
1185
|
+
}),
|
|
1186
|
+
createElementVNode("span", _hoisted_2$1, toDisplayString($options.t("Raw link {options}", { options: option.resourceUrl })), 1)
|
|
1187
|
+
])) : option.resourceUrl ? (openBlock(), createBlock(_component_NcSearchResult, {
|
|
1188
|
+
key: 1,
|
|
1189
|
+
class: "search-result",
|
|
1190
|
+
entry: option,
|
|
1191
|
+
query: $data.searchQuery
|
|
1192
|
+
}, null, 8, ["entry", "query"])) : option.isCustomGroupTitle ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
1193
|
+
$props.provider.icon_url ? (openBlock(), createElementBlock("img", {
|
|
1194
|
+
key: 0,
|
|
1195
|
+
class: "provider-icon group-name-icon",
|
|
1196
|
+
src: $props.provider.icon_url
|
|
1197
|
+
}, null, 8, _hoisted_4)) : createCommentVNode("", true),
|
|
1198
|
+
createElementVNode("span", _hoisted_5, [
|
|
1199
|
+
createElementVNode("strong", null, toDisplayString(option.name), 1)
|
|
1200
|
+
])
|
|
1201
|
+
])) : option.isMore ? (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
1202
|
+
option.isLoading ? (openBlock(), createElementBlock("span", _hoisted_7)) : (openBlock(), createBlock(_component_DotsHorizontalIcon, {
|
|
1203
|
+
key: 1,
|
|
1204
|
+
class: "option-simple-icon",
|
|
1205
|
+
size: 20
|
|
1206
|
+
})),
|
|
1207
|
+
createElementVNode("span", _hoisted_8, toDisplayString($options.t('Load more "{options}"', { options: option.name })), 1)
|
|
1208
|
+
])) : createCommentVNode("", true)
|
|
1209
|
+
]),
|
|
1210
|
+
"no-options": withCtx(() => [
|
|
1211
|
+
createTextVNode(toDisplayString($data.noOptionsText), 1)
|
|
1212
|
+
]),
|
|
1213
|
+
_: 1
|
|
1214
|
+
}, 8, ["modelValue", "placeholder", "options", "loading", "onSearch", "onUpdate:modelValue"]),
|
|
1215
|
+
$props.showEmptyContent ? (openBlock(), createBlock(_component_NcEmptyContent, {
|
|
1216
|
+
key: 0,
|
|
1217
|
+
class: "smart-picker-search--empty-content"
|
|
1218
|
+
}, {
|
|
1219
|
+
icon: withCtx(() => [
|
|
1220
|
+
$props.provider.icon_url ? (openBlock(), createElementBlock("img", {
|
|
1221
|
+
key: 0,
|
|
1222
|
+
class: "provider-icon",
|
|
1223
|
+
alt: $data.providerIconAlt,
|
|
1224
|
+
src: $props.provider.icon_url
|
|
1225
|
+
}, null, 8, _hoisted_9)) : (openBlock(), createBlock(_component_LinkVariantIcon, { key: 1 }))
|
|
1226
|
+
]),
|
|
1227
|
+
_: 1
|
|
1228
|
+
})) : createCommentVNode("", true)
|
|
1229
|
+
], 2);
|
|
1230
|
+
}
|
|
1231
|
+
const NcSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-2d694f9a"]]);
|
|
1232
|
+
const MODES = {
|
|
1233
|
+
providerList: 1,
|
|
1234
|
+
standardLinkInput: 2,
|
|
1235
|
+
searchInput: 3,
|
|
1236
|
+
customElement: 4
|
|
1237
|
+
};
|
|
1238
|
+
const _sfc_main$1 = {
|
|
1239
|
+
name: "NcReferencePicker",
|
|
1240
|
+
components: {
|
|
1241
|
+
NcCustomPickerElement,
|
|
1242
|
+
NcProviderList,
|
|
1243
|
+
NcRawLinkInput,
|
|
1244
|
+
NcSearch
|
|
1245
|
+
},
|
|
1246
|
+
props: {
|
|
1247
|
+
/**
|
|
1248
|
+
* Provider to select on creation
|
|
1249
|
+
* Default: null. Show the provider list
|
|
1250
|
+
*/
|
|
1251
|
+
initialProvider: {
|
|
1252
|
+
type: Object,
|
|
1253
|
+
default: () => null
|
|
1254
|
+
},
|
|
1255
|
+
/**
|
|
1256
|
+
* Optional width in pixels
|
|
1257
|
+
* Default: 100%
|
|
1258
|
+
*/
|
|
1259
|
+
width: {
|
|
1260
|
+
type: Number,
|
|
1261
|
+
default: null
|
|
1262
|
+
},
|
|
1263
|
+
/**
|
|
1264
|
+
* Focus on the provider list select input on creation
|
|
1265
|
+
* Default: true
|
|
1266
|
+
*/
|
|
1267
|
+
focusOnCreate: {
|
|
1268
|
+
type: Boolean,
|
|
1269
|
+
default: true
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
emits: [
|
|
1273
|
+
"cancel",
|
|
1274
|
+
"cancel-raw-link",
|
|
1275
|
+
"cancel-search",
|
|
1276
|
+
"provider-selected",
|
|
1277
|
+
"submit"
|
|
1278
|
+
],
|
|
1279
|
+
data() {
|
|
1280
|
+
return {
|
|
1281
|
+
MODES,
|
|
1282
|
+
selectedProvider: this.initialProvider
|
|
1283
|
+
};
|
|
1284
|
+
},
|
|
1285
|
+
computed: {
|
|
1286
|
+
mode() {
|
|
1287
|
+
return this.selectedProvider === null ? MODES.providerList : isCustomPickerElementRegistered(this.selectedProvider.id) ? MODES.customElement : this.selectedProvider.search_providers_ids ? MODES.searchInput : MODES.standardLinkInput;
|
|
1288
|
+
},
|
|
1289
|
+
pickerWrapperStyle() {
|
|
1290
|
+
return {
|
|
1291
|
+
width: this.width ? this.width + "px" : void 0
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
mounted() {
|
|
1296
|
+
if (this.focusOnCreate) {
|
|
1297
|
+
if (this.initialProvider) {
|
|
1298
|
+
setTimeout(() => {
|
|
1299
|
+
this.$refs["url-input"]?.focus();
|
|
1300
|
+
}, 300);
|
|
1301
|
+
} else {
|
|
1302
|
+
this.$nextTick(() => {
|
|
1303
|
+
this.$refs["provider-list"]?.focus();
|
|
1304
|
+
});
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
methods: {
|
|
1309
|
+
onEscapePressed() {
|
|
1310
|
+
if (this.selectedProvider !== null) {
|
|
1311
|
+
this.deselectProvider();
|
|
1312
|
+
} else {
|
|
1313
|
+
this.cancelProviderSelection();
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
onProviderSelected(provider) {
|
|
1317
|
+
this.selectedProvider = provider;
|
|
1318
|
+
this.$emit("provider-selected", provider);
|
|
1319
|
+
this.$nextTick(() => {
|
|
1320
|
+
this.$refs["url-input"]?.focus();
|
|
1321
|
+
});
|
|
1322
|
+
},
|
|
1323
|
+
cancelCustomElement() {
|
|
1324
|
+
this.deselectProvider();
|
|
1325
|
+
},
|
|
1326
|
+
cancelSearch() {
|
|
1327
|
+
this.$emit("cancel-search", this.selectedProvider?.title);
|
|
1328
|
+
this.deselectProvider();
|
|
1329
|
+
},
|
|
1330
|
+
cancelRawLinkInput() {
|
|
1331
|
+
this.$emit("cancel-raw-link", this.selectedProvider?.title);
|
|
1332
|
+
this.deselectProvider();
|
|
1333
|
+
},
|
|
1334
|
+
cancelProviderSelection() {
|
|
1335
|
+
this.$emit("cancel");
|
|
1336
|
+
},
|
|
1337
|
+
submitLink(link) {
|
|
1338
|
+
if (this.selectedProvider !== null) {
|
|
1339
|
+
touchProvider(this.selectedProvider.id);
|
|
1340
|
+
}
|
|
1341
|
+
this.$emit("submit", link);
|
|
1342
|
+
this.deselectProvider();
|
|
1343
|
+
},
|
|
1344
|
+
deselectProvider() {
|
|
1345
|
+
this.selectedProvider = null;
|
|
1346
|
+
this.$emit("provider-selected", null);
|
|
1347
|
+
setTimeout(() => {
|
|
1348
|
+
this.$refs["provider-list"]?.focus();
|
|
1349
|
+
}, 300);
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
};
|
|
1353
|
+
const _hoisted_1$1 = {
|
|
1354
|
+
key: 3,
|
|
1355
|
+
class: "custom-element-wrapper"
|
|
1356
|
+
};
|
|
1357
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1358
|
+
const _component_NcProviderList = resolveComponent("NcProviderList");
|
|
1359
|
+
const _component_NcRawLinkInput = resolveComponent("NcRawLinkInput");
|
|
1360
|
+
const _component_NcSearch = resolveComponent("NcSearch");
|
|
1361
|
+
const _component_NcCustomPickerElement = resolveComponent("NcCustomPickerElement");
|
|
1362
|
+
return openBlock(), createElementBlock("div", {
|
|
1363
|
+
class: "reference-picker",
|
|
1364
|
+
style: normalizeStyle($options.pickerWrapperStyle),
|
|
1365
|
+
tabindex: "-1",
|
|
1366
|
+
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers((...args) => $options.onEscapePressed && $options.onEscapePressed(...args), ["stop", "prevent"]), ["esc"]))
|
|
1367
|
+
}, [
|
|
1368
|
+
$options.mode === $data.MODES.providerList ? (openBlock(), createBlock(_component_NcProviderList, {
|
|
1369
|
+
key: 0,
|
|
1370
|
+
ref: "provider-list",
|
|
1371
|
+
onSelectProvider: $options.onProviderSelected,
|
|
1372
|
+
onSubmit: $options.submitLink,
|
|
1373
|
+
onCancel: $options.cancelProviderSelection
|
|
1374
|
+
}, null, 8, ["onSelectProvider", "onSubmit", "onCancel"])) : $options.mode === $data.MODES.standardLinkInput ? (openBlock(), createBlock(_component_NcRawLinkInput, {
|
|
1375
|
+
key: 1,
|
|
1376
|
+
ref: "url-input",
|
|
1377
|
+
provider: $data.selectedProvider,
|
|
1378
|
+
onSubmit: $options.submitLink,
|
|
1379
|
+
onCancel: $options.cancelRawLinkInput
|
|
1380
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])) : $options.mode === $data.MODES.searchInput ? (openBlock(), createBlock(_component_NcSearch, {
|
|
1381
|
+
key: 2,
|
|
1382
|
+
ref: "url-input",
|
|
1383
|
+
provider: $data.selectedProvider,
|
|
1384
|
+
onCancel: $options.cancelSearch,
|
|
1385
|
+
onSubmit: $options.submitLink
|
|
1386
|
+
}, null, 8, ["provider", "onCancel", "onSubmit"])) : $options.mode === $data.MODES.customElement ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
1387
|
+
createVNode(_component_NcCustomPickerElement, {
|
|
1388
|
+
provider: $data.selectedProvider,
|
|
1389
|
+
onSubmit: $options.submitLink,
|
|
1390
|
+
onCancel: $options.cancelCustomElement
|
|
1391
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])
|
|
1392
|
+
])) : createCommentVNode("", true)
|
|
1393
|
+
], 36);
|
|
1394
|
+
}
|
|
1395
|
+
const NcReferencePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-12c38c93"]]);
|
|
1396
|
+
register(t11, t16);
|
|
1397
|
+
const _sfc_main = {
|
|
1398
|
+
name: "NcReferencePickerModal",
|
|
1399
|
+
components: {
|
|
1400
|
+
NcReferencePicker,
|
|
1401
|
+
NcModal,
|
|
1402
|
+
NcButton,
|
|
1403
|
+
ArrowLeftIcon: ArrowLeft,
|
|
1404
|
+
CloseIcon: Close
|
|
1405
|
+
},
|
|
1406
|
+
props: {
|
|
1407
|
+
/**
|
|
1408
|
+
* Provider to select on creation
|
|
1409
|
+
* Show the provider list if no initial one is provided
|
|
1410
|
+
*/
|
|
1411
|
+
initialProvider: {
|
|
1412
|
+
type: Object,
|
|
1413
|
+
default: () => null
|
|
1414
|
+
},
|
|
1415
|
+
/**
|
|
1416
|
+
* Focus on the input item on create
|
|
1417
|
+
*/
|
|
1418
|
+
focusOnCreate: {
|
|
1419
|
+
type: Boolean,
|
|
1420
|
+
default: true
|
|
1421
|
+
},
|
|
1422
|
+
/**
|
|
1423
|
+
* If true, add the modal content to the Viewer trap elements via the event-bus
|
|
1424
|
+
*/
|
|
1425
|
+
isInsideViewer: {
|
|
1426
|
+
type: Boolean,
|
|
1427
|
+
default: false
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
emits: [
|
|
1431
|
+
"cancel",
|
|
1432
|
+
"submit"
|
|
1433
|
+
],
|
|
1434
|
+
data() {
|
|
1435
|
+
return {
|
|
1436
|
+
show: true,
|
|
1437
|
+
selectedProvider: this.initialProvider,
|
|
1438
|
+
backButtonTitle: t("Back to provider selection"),
|
|
1439
|
+
closeButtonTitle: t("Close"),
|
|
1440
|
+
closeButtonLabel: t("Close Smart Picker")
|
|
1441
|
+
};
|
|
1442
|
+
},
|
|
1443
|
+
computed: {
|
|
1444
|
+
isProviderSelected() {
|
|
1445
|
+
return this.selectedProvider !== null;
|
|
1446
|
+
},
|
|
1447
|
+
showBackButton() {
|
|
1448
|
+
return this.initialProvider === null && this.isProviderSelected;
|
|
1449
|
+
},
|
|
1450
|
+
modalSize() {
|
|
1451
|
+
return this.isProviderSelected && isCustomPickerElementRegistered(this.selectedProvider.id) ? getCustomPickerElementSize(this.selectedProvider.id) ?? "large" : "normal";
|
|
1452
|
+
},
|
|
1453
|
+
showModalName() {
|
|
1454
|
+
return !this.isProviderSelected || !isCustomPickerElementRegistered(this.selectedProvider.id);
|
|
1455
|
+
},
|
|
1456
|
+
modalName() {
|
|
1457
|
+
return this.isProviderSelected ? this.selectedProvider.title : t("Smart Picker");
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
mounted() {
|
|
1461
|
+
if (this.isInsideViewer) {
|
|
1462
|
+
const elem = this.$refs.modal_content;
|
|
1463
|
+
emit("viewer:trapElements:changed", elem);
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
methods: {
|
|
1467
|
+
onCancel() {
|
|
1468
|
+
this.show = false;
|
|
1469
|
+
this.$emit("cancel");
|
|
1470
|
+
},
|
|
1471
|
+
onSubmit(value) {
|
|
1472
|
+
this.show = false;
|
|
1473
|
+
this.$emit("submit", value);
|
|
1474
|
+
},
|
|
1475
|
+
onProviderSelect(provider) {
|
|
1476
|
+
this.selectedProvider = provider;
|
|
1477
|
+
if (provider === null && this.initialProvider !== null) {
|
|
1478
|
+
this.onCancel();
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
onBackClicked() {
|
|
1482
|
+
this.$refs.referencePicker.deselectProvider();
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
};
|
|
1486
|
+
const _hoisted_1 = {
|
|
1487
|
+
ref: "modal_content",
|
|
1488
|
+
class: "reference-picker-modal--content"
|
|
1489
|
+
};
|
|
1490
|
+
const _hoisted_2 = { key: 1 };
|
|
1491
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1492
|
+
const _component_ArrowLeftIcon = resolveComponent("ArrowLeftIcon");
|
|
1493
|
+
const _component_NcButton = resolveComponent("NcButton");
|
|
1494
|
+
const _component_CloseIcon = resolveComponent("CloseIcon");
|
|
1495
|
+
const _component_NcReferencePicker = resolveComponent("NcReferencePicker");
|
|
1496
|
+
const _component_NcModal = resolveComponent("NcModal");
|
|
1497
|
+
return $data.show ? (openBlock(), createBlock(_component_NcModal, {
|
|
1498
|
+
key: 0,
|
|
1499
|
+
size: $options.modalSize,
|
|
1500
|
+
"can-close": false,
|
|
1501
|
+
class: "reference-picker-modal",
|
|
1502
|
+
onClose: $options.onCancel
|
|
1503
|
+
}, {
|
|
1504
|
+
default: withCtx(() => [
|
|
1505
|
+
createElementVNode("div", _hoisted_1, [
|
|
1506
|
+
$options.showBackButton ? (openBlock(), createBlock(_component_NcButton, {
|
|
1507
|
+
key: 0,
|
|
1508
|
+
"aria-label": $data.backButtonTitle,
|
|
1509
|
+
title: $data.backButtonTitle,
|
|
1510
|
+
class: "back-button",
|
|
1511
|
+
onClick: $options.onBackClicked
|
|
1512
|
+
}, {
|
|
1513
|
+
icon: withCtx(() => [
|
|
1514
|
+
createVNode(_component_ArrowLeftIcon)
|
|
1515
|
+
]),
|
|
1516
|
+
_: 1
|
|
1517
|
+
}, 8, ["aria-label", "title", "onClick"])) : createCommentVNode("", true),
|
|
1518
|
+
createVNode(_component_NcButton, {
|
|
1519
|
+
"aria-label": $data.closeButtonLabel,
|
|
1520
|
+
title: $data.closeButtonTitle,
|
|
1521
|
+
type: "tertiary",
|
|
1522
|
+
class: "close-button",
|
|
1523
|
+
onClick: $options.onCancel
|
|
1524
|
+
}, {
|
|
1525
|
+
icon: withCtx(() => [
|
|
1526
|
+
createVNode(_component_CloseIcon)
|
|
1527
|
+
]),
|
|
1528
|
+
_: 1
|
|
1529
|
+
}, 8, ["aria-label", "title", "onClick"]),
|
|
1530
|
+
$options.showModalName ? (openBlock(), createElementBlock("h2", _hoisted_2, toDisplayString($options.modalName), 1)) : createCommentVNode("", true),
|
|
1531
|
+
createVNode(_component_NcReferencePicker, {
|
|
1532
|
+
ref: "referencePicker",
|
|
1533
|
+
"initial-provider": $props.initialProvider,
|
|
1534
|
+
"focus-on-create": $props.focusOnCreate,
|
|
1535
|
+
onProviderSelected: $options.onProviderSelect,
|
|
1536
|
+
onSubmit: $options.onSubmit,
|
|
1537
|
+
onCancel: $options.onCancel
|
|
1538
|
+
}, null, 8, ["initial-provider", "focus-on-create", "onProviderSelected", "onSubmit", "onCancel"])
|
|
1539
|
+
], 512)
|
|
1540
|
+
]),
|
|
1541
|
+
_: 1
|
|
1542
|
+
}, 8, ["size", "onClose"])) : createCommentVNode("", true);
|
|
1543
|
+
}
|
|
1544
|
+
const NcReferencePickerModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b162e351"]]);
|
|
1545
|
+
async function getLinkWithPicker(providerId = null, isInsideViewer = void 0) {
|
|
1546
|
+
return await new Promise((resolve, reject) => {
|
|
1547
|
+
const modalId = "referencePickerModal";
|
|
1548
|
+
const modalElement = document.createElement("div");
|
|
1549
|
+
modalElement.id = modalId;
|
|
1550
|
+
document.body.append(modalElement);
|
|
1551
|
+
const initialProvider = providerId === null ? null : getProvider(providerId) ?? null;
|
|
1552
|
+
const view = createApp(NcReferencePickerModal, {
|
|
1553
|
+
initialProvider,
|
|
1554
|
+
isInsideViewer,
|
|
1555
|
+
onCancel() {
|
|
1556
|
+
view.unmount();
|
|
1557
|
+
reject(new Error("User cancellation"));
|
|
1558
|
+
},
|
|
1559
|
+
onSubmit(link) {
|
|
1560
|
+
view.unmount();
|
|
1561
|
+
resolve(link);
|
|
1562
|
+
}
|
|
1563
|
+
});
|
|
1564
|
+
view.mount(modalElement);
|
|
1565
|
+
});
|
|
1566
|
+
}
|
|
1567
|
+
export {
|
|
1568
|
+
NcReferenceWidget as N,
|
|
1569
|
+
RouterLink as R,
|
|
1570
|
+
anyLinkProviderId as a,
|
|
1571
|
+
getProvider as b,
|
|
1572
|
+
getProviders as c,
|
|
1573
|
+
searchProvider as d,
|
|
1574
|
+
NcReferencePicker as e,
|
|
1575
|
+
NcReferencePickerModal as f,
|
|
1576
|
+
getLinkWithPicker as g,
|
|
1577
|
+
NcSearch as h,
|
|
1578
|
+
sortProviders as s
|
|
1579
|
+
};
|