@nextcloud/vue 9.0.0-alpha.2 → 9.0.0-alpha.4
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 +243 -3
- package/README.md +9 -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 -23
- package/dist/Components/NcAppNavigationToggle.mjs.map +1 -1
- 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/NcChip.mjs +4 -0
- package/dist/Components/NcChip.mjs.map +1 -0
- 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 +359 -278
- 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 -45
- 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 -24
- package/dist/Components/NcSettingsSelectGroup.mjs.map +1 -1
- 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 -27
- package/dist/Composables/useIsFullscreen.mjs.map +1 -1
- package/dist/Composables/useIsMobile.mjs +19 -35
- package/dist/Composables/useIsMobile.mjs.map +1 -1
- package/dist/Directives/Focus.mjs +5 -26
- 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 -31
- package/dist/Directives/Tooltip.mjs.map +1 -1
- package/dist/Functions/a11y.mjs +10 -23
- package/dist/Functions/a11y.mjs.map +1 -1
- package/dist/Functions/emoji.mjs +5 -5
- package/dist/Functions/reference.mjs +16 -15
- package/dist/Functions/registerReference.mjs +10 -69
- package/dist/Functions/registerReference.mjs.map +1 -1
- package/dist/Functions/usernameToColor.mjs +2 -2
- package/dist/Mixins/clickOutsideOptions.mjs +4 -24
- package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
- package/dist/Mixins/richEditor.mjs +5 -5
- package/dist/assets/NcActionButton-tvMk0Dz-.css +107 -0
- package/dist/assets/NcActionButtonGroup-CQxLn2fv.css +47 -0
- package/dist/assets/NcActionCaption-D-VXTPLI.css +32 -0
- package/dist/assets/NcActionCheckbox-DzmNTqwC.css +78 -0
- package/dist/assets/NcActionInput-4qR5N5lV.css +222 -0
- package/dist/assets/NcActionLink-Djp7wPGg.css +92 -0
- package/dist/assets/NcActionRadio-ZRQheAZT.css +78 -0
- package/dist/assets/NcActionRouter-B0l-dISs.css +103 -0
- package/dist/assets/NcActionSeparator-CEbb5P6P.css +24 -0
- package/dist/assets/NcActionText-Ip9hRt85.css +107 -0
- package/dist/assets/NcActionTextEditable-1JPkW_4o.css +238 -0
- package/dist/assets/NcActions-pRTZ3RyK.css +83 -0
- package/dist/assets/NcAppContent-CK9aL637.css +125 -0
- package/dist/assets/NcAppNavigation-BjnW8PQn.css +103 -0
- package/dist/assets/NcAppNavigationCaption-NPhURS5E.css +48 -0
- package/dist/assets/NcAppNavigationIconBullet-EfIZU7x-.css +30 -0
- package/dist/assets/NcAppNavigationItem-wQ3n8jc-.css +211 -0
- package/dist/assets/NcAppNavigationList-BIbyyT7b.css +29 -0
- package/dist/assets/NcAppNavigationNew-R0QcGqvG.css +27 -0
- package/dist/assets/NcAppNavigationNewItem-CO3GnR26.css +194 -0
- package/dist/assets/NcAppNavigationSettings-Cyn2gy0W.css +79 -0
- package/dist/assets/NcAppNavigationSpacer-DiE3sVy0.css +6 -0
- package/dist/assets/NcAppNavigationToggle-CNPQvWtG.css +27 -0
- package/dist/assets/NcAppSettingsDialog-ksK-DMgk.css +74 -0
- package/dist/assets/NcAppSettingsSection-CcRbdcD-.css +30 -0
- package/dist/assets/NcAppSidebar-CxMCtTtn.css +361 -0
- package/dist/assets/NcAppSidebarTab-Cp0hG2NU.css +34 -0
- package/dist/assets/NcAvatar-BnHiRwVr.css +129 -0
- package/dist/assets/NcBreadcrumb-CJ7KeSKQ.css +68 -0
- package/dist/assets/NcBreadcrumbs-C05lySw_.css +37 -0
- package/dist/assets/NcButton-D3_Qd5cl.css +191 -0
- package/dist/assets/NcCheckboxRadioSwitch-By6afmQ3.css +196 -0
- package/dist/assets/NcChip-Cho4h_Kr.css +61 -0
- package/dist/assets/NcColorPicker-vEZb9dRS.css +122 -0
- package/dist/assets/NcContent-DljiVMLl.css +80 -0
- package/dist/assets/NcCounterBubble-DT16e2bg.css +53 -0
- package/dist/assets/NcDashboardWidget-CvGZT_xf.css +73 -0
- package/dist/assets/NcDashboardWidgetItem-JCtQhwhS.css +85 -0
- package/dist/assets/NcDateTimePicker-BLEg7GJo.css +851 -0
- package/dist/assets/NcDateTimePickerNative-DLch-JRA.css +47 -0
- package/dist/assets/NcDialog-BmN7gR6_.css +132 -0
- package/dist/assets/NcEllipsisedOption-DZK2vWD1.css +34 -0
- package/dist/assets/NcEmojiPicker-C18M6LHu.css +553 -0
- package/dist/assets/NcEmptyContent-C-nruaFh.css +65 -0
- package/dist/assets/NcGuestContent-Dh5z5Dgm.css +50 -0
- package/dist/assets/NcHeaderMenu-C-0GR7Si.css +77 -0
- package/dist/assets/NcIconSvgWrapper-CtTf2c7f.css +39 -0
- package/dist/assets/NcInputConfirmCancel-DBjIHKvN.css +39 -0
- package/dist/assets/NcInputField-DXzhRkiY.css +164 -0
- package/dist/assets/NcListItem-Cs-R5Xpu.css +156 -0
- package/dist/assets/NcListItemIcon-C2zhDUEr.css +64 -0
- package/dist/assets/NcLoadingIcon-BSONDy7x.css +21 -0
- package/dist/assets/NcMentionBubble-B-xYaJDc.css +70 -0
- package/dist/assets/NcModal-B5iEU9Qr.css +285 -0
- package/dist/assets/NcNoteCard-BLPU1den.css +50 -0
- package/dist/assets/NcPopover-BDlL00qZ.css +96 -0
- package/dist/assets/NcProgressBar-BsqdCn-x.css +56 -0
- package/dist/assets/NcRelatedResourcesPanel-C56aj2M3.css +158 -0
- package/dist/assets/NcRichContenteditable-B_YH-89_.css +258 -0
- package/dist/assets/NcRichText-yqgOn353.css +217 -0
- package/dist/assets/NcSelect-9AZOhTlS.css +184 -0
- package/dist/assets/NcSettingsInputText-C3j73xA0.css +35 -0
- package/dist/assets/NcSettingsSection-CFKAEs4p.css +52 -0
- package/dist/assets/NcSettingsSelectGroup-CGfaysRv.css +23 -0
- package/dist/assets/NcTextArea-BjB_qSH0.css +112 -0
- package/dist/assets/NcUserBubble-CIfQjmmP.css +48 -0
- package/dist/assets/NcUserStatusIcon-D9N1ER72.css +30 -0
- package/dist/assets/Tooltip-4CSl8xev.css +89 -0
- package/dist/assets/referencePickerModal-DeIfdfau.css +413 -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-BidEIqUL.mjs +133 -0
- package/dist/chunks/GenColors-BidEIqUL.mjs.map +1 -0
- package/dist/chunks/GenRandomId-CMooMQt0.mjs +6 -0
- package/dist/chunks/GenRandomId-CMooMQt0.mjs.map +1 -0
- package/dist/chunks/Linkify-BtgR-dXX.mjs +14 -0
- package/dist/chunks/Linkify-BtgR-dXX.mjs.map +1 -0
- package/dist/chunks/NcActionButton-Bqkgltcz.mjs +223 -0
- package/dist/chunks/NcActionButton-Bqkgltcz.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-BeQ4mLmQ.mjs +58 -0
- package/dist/chunks/NcActionButtonGroup-BeQ4mLmQ.mjs.map +1 -0
- package/dist/chunks/NcActionCaption-Cb_uvgZc.mjs +32 -0
- package/dist/chunks/NcActionCaption-Cb_uvgZc.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-A6JNjini.mjs +125 -0
- package/dist/chunks/NcActionCheckbox-A6JNjini.mjs.map +1 -0
- package/dist/chunks/NcActionInput-DCe8K_gs.mjs +358 -0
- package/dist/chunks/NcActionInput-DCe8K_gs.mjs.map +1 -0
- package/dist/chunks/NcActionLink-C0mINC5i.mjs +122 -0
- package/dist/chunks/NcActionLink-C0mINC5i.mjs.map +1 -0
- package/dist/chunks/NcActionRadio-BqAyH2zq.mjs +128 -0
- package/dist/chunks/NcActionRadio-BqAyH2zq.mjs.map +1 -0
- package/dist/chunks/NcActionRouter-Dr-j-IUI.mjs +83 -0
- package/dist/chunks/NcActionRouter-Dr-j-IUI.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-DKFXmIJ5.mjs +17 -0
- package/dist/chunks/NcActionSeparator-DKFXmIJ5.mjs.map +1 -0
- package/dist/chunks/NcActionText-C5ZPI56c.mjs +65 -0
- package/dist/chunks/NcActionText-C5ZPI56c.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-CLXTDGjr.mjs +130 -0
- package/dist/chunks/NcActionTextEditable-CLXTDGjr.mjs.map +1 -0
- package/dist/chunks/NcActions-COaRMDe5.mjs +733 -0
- package/dist/chunks/NcActions-COaRMDe5.mjs.map +1 -0
- package/dist/chunks/NcAppContent-D2in9bd7.mjs +350 -0
- package/dist/chunks/NcAppContent-D2in9bd7.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-Dz1n-CeR.mjs +162 -0
- package/dist/chunks/NcAppNavigation-Dz1n-CeR.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-6odGo1iM.mjs +93 -0
- package/dist/chunks/NcAppNavigationCaption-6odGo1iM.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-DuqQFciH.mjs +43 -0
- package/dist/chunks/NcAppNavigationIconBullet-DuqQFciH.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-BHtzDfb2.mjs +624 -0
- package/dist/chunks/NcAppNavigationItem-BHtzDfb2.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationList-DCmrqe9N.mjs +16 -0
- package/dist/chunks/NcAppNavigationList-DCmrqe9N.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-CRonFKWJ.mjs +57 -0
- package/dist/chunks/NcAppNavigationNew-CRonFKWJ.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-Ctbp1kb-.mjs +120 -0
- package/dist/chunks/NcAppNavigationNewItem-Ctbp1kb-.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-ynYeFb6Z.mjs +142 -0
- package/dist/chunks/NcAppNavigationSettings-ynYeFb6Z.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-BQFYpMbq.mjs +14 -0
- package/dist/chunks/NcAppNavigationSpacer-BQFYpMbq.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-DYG8u5dW.mjs +158 -0
- package/dist/chunks/NcAppNavigationToggle-DYG8u5dW.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-CjpGb_I4.mjs +254 -0
- package/dist/chunks/NcAppSettingsDialog-CjpGb_I4.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-a7OfJ9GT.mjs +59 -0
- package/dist/chunks/NcAppSettingsSection-a7OfJ9GT.mjs.map +1 -0
- package/dist/chunks/NcAppSidebar-BGCuCKk_.mjs +962 -0
- package/dist/chunks/NcAppSidebar-BGCuCKk_.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-zBqyKIgn.mjs +92 -0
- package/dist/chunks/NcAppSidebarTab-zBqyKIgn.mjs.map +1 -0
- package/dist/chunks/NcAvatar-OjWzLdGK.mjs +658 -0
- package/dist/chunks/NcAvatar-OjWzLdGK.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-Df7Nn5jU.mjs +243 -0
- package/dist/chunks/NcBreadcrumb-Df7Nn5jU.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-CighY87i.mjs +458 -0
- package/dist/chunks/NcBreadcrumbs-CighY87i.mjs.map +1 -0
- package/dist/chunks/NcButton-DvO0XwJf.mjs +253 -0
- package/dist/chunks/NcButton-DvO0XwJf.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-BW7W0ToW.mjs +790 -0
- package/dist/chunks/NcCheckboxRadioSwitch-BW7W0ToW.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_959f6f1b_lang-C0H-ioQZ.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_959f6f1b_lang-C0H-ioQZ.mjs.map +1 -0
- package/dist/chunks/NcChip-Crkkyllt.mjs +143 -0
- package/dist/chunks/NcChip-Crkkyllt.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-Bq2-21Np.mjs +273 -0
- package/dist/chunks/NcColorPicker-Bq2-21Np.mjs.map +1 -0
- package/dist/chunks/NcContent-WcbDFG2f.mjs +130 -0
- package/dist/chunks/NcContent-WcbDFG2f.mjs.map +1 -0
- package/dist/chunks/NcCounterBubble-B0Sk58x_.mjs +44 -0
- package/dist/chunks/NcCounterBubble-B0Sk58x_.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-xBpqAct1.mjs +186 -0
- package/dist/chunks/NcDashboardWidget-xBpqAct1.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-BwemNzvL.mjs +197 -0
- package/dist/chunks/NcDashboardWidgetItem-BwemNzvL.mjs.map +1 -0
- package/dist/chunks/NcDateTime-BVQqC6rO.mjs +147 -0
- package/dist/chunks/NcDateTime-BVQqC6rO.mjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-CjuFbS-2.mjs +377 -0
- package/dist/chunks/NcDateTimePicker-CjuFbS-2.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-DwJ_yIEg.mjs +200 -0
- package/dist/chunks/NcDateTimePickerNative-DwJ_yIEg.mjs.map +1 -0
- package/dist/chunks/NcDialog-CE2gyz2g.mjs +273 -0
- package/dist/chunks/NcDialog-CE2gyz2g.mjs.map +1 -0
- package/dist/chunks/NcDialogButton-DAb0CNtg.mjs +88 -0
- package/dist/chunks/NcDialogButton-DAb0CNtg.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-CufdpPBu.mjs +104 -0
- package/dist/chunks/NcEllipsisedOption-CufdpPBu.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-DNbUUyLY.mjs +380 -0
- package/dist/chunks/NcEmojiPicker-DNbUUyLY.mjs.map +1 -0
- package/dist/chunks/NcEmptyContent-BoGB3vFC.mjs +67 -0
- package/dist/chunks/NcEmptyContent-BoGB3vFC.mjs.map +1 -0
- package/dist/chunks/NcGuestContent-DVqg5Bq4.mjs +22 -0
- package/dist/chunks/NcGuestContent-DVqg5Bq4.mjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-CIWkk8T1.mjs +259 -0
- package/dist/chunks/NcHeaderMenu-CIWkk8T1.mjs.map +1 -0
- package/dist/chunks/NcHighlight-BHtRIzqk.mjs +162 -0
- package/dist/chunks/NcHighlight-BHtRIzqk.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-DbL6OP85.mjs +106 -0
- package/dist/chunks/NcIconSvgWrapper-DbL6OP85.mjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-Cwh6_J6A.mjs +116 -0
- package/dist/chunks/NcInputConfirmCancel-Cwh6_J6A.mjs.map +1 -0
- package/dist/chunks/NcInputField-BrAvsgA4.mjs +308 -0
- package/dist/chunks/NcInputField-BrAvsgA4.mjs.map +1 -0
- package/dist/chunks/NcListItem-D3yyUn7h.mjs +359 -0
- package/dist/chunks/NcListItem-D3yyUn7h.mjs.map +1 -0
- package/dist/chunks/NcListItemIcon-B06oTqsI.mjs +207 -0
- package/dist/chunks/NcListItemIcon-B06oTqsI.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-DREmHXr2.mjs +78 -0
- package/dist/chunks/NcLoadingIcon-DREmHXr2.mjs.map +1 -0
- package/dist/chunks/NcNoteCard-CQgzjr2r.mjs +252 -0
- package/dist/chunks/NcNoteCard-CQgzjr2r.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-CaRDsoPg.mjs +286 -0
- package/dist/chunks/NcPasswordField-CaRDsoPg.mjs.map +1 -0
- package/dist/chunks/NcPopover-BXfbq-Vs.mjs +259 -0
- package/dist/chunks/NcPopover-BXfbq-Vs.mjs.map +1 -0
- package/dist/chunks/NcProgressBar-C2r8oqsv.mjs +147 -0
- package/dist/chunks/NcProgressBar-C2r8oqsv.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-Bg_z2tZT.mjs +546 -0
- package/dist/chunks/NcRelatedResourcesPanel-Bg_z2tZT.mjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-Cx8Fv6sx.mjs +806 -0
- package/dist/chunks/NcRichContenteditable-Cx8Fv6sx.mjs.map +1 -0
- package/dist/chunks/NcRichText-2N_x-ark.mjs +405 -0
- package/dist/chunks/NcRichText-2N_x-ark.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-CPlvJjcY.mjs +565 -0
- package/dist/chunks/NcSelect-CPlvJjcY.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-Hpq3uQ0b.mjs +302 -0
- package/dist/chunks/NcSelectTags-Hpq3uQ0b.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-oIYmufF3.mjs +122 -0
- package/dist/chunks/NcSettingsInputText-oIYmufF3.mjs.map +1 -0
- package/dist/chunks/NcSettingsSection-CMw4W_UL.mjs +115 -0
- package/dist/chunks/NcSettingsSection-CMw4W_UL.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-BTVYUUsQ.mjs +226 -0
- package/dist/chunks/NcSettingsSelectGroup-BTVYUUsQ.mjs.map +1 -0
- package/dist/chunks/NcTextArea-qvR02aYz.mjs +217 -0
- package/dist/chunks/NcTextArea-qvR02aYz.mjs.map +1 -0
- package/dist/chunks/NcTextField-W5cVvjob.mjs +173 -0
- package/dist/chunks/NcTextField-W5cVvjob.mjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-DQ7LMeQo.mjs +187 -0
- package/dist/chunks/NcTimezonePicker-DQ7LMeQo.mjs.map +1 -0
- package/dist/chunks/NcUserBubble-DrQahQl0.mjs +212 -0
- package/dist/chunks/NcUserBubble-DrQahQl0.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-CA3yJfmu.mjs +140 -0
- package/dist/chunks/NcUserStatusIcon-CA3yJfmu.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-C5tGtO7l.mjs +14 -0
- package/dist/chunks/ScopeComponent-C5tGtO7l.mjs.map +1 -0
- package/dist/chunks/_l10n-C3nxU4O-.mjs +122 -0
- package/dist/chunks/_l10n-C3nxU4O-.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-BZFdtdJL.mjs +25 -0
- package/dist/chunks/actionGlobal-BZFdtdJL.mjs.map +1 -0
- package/dist/chunks/actionText-aI0owku1.mjs +89 -0
- package/dist/chunks/actionText-aI0owku1.mjs.map +1 -0
- package/dist/chunks/autolink-CKPk5rzg.mjs +112 -0
- package/dist/chunks/autolink-CKPk5rzg.mjs.map +1 -0
- package/dist/chunks/emoji-Ba55f8iV.mjs +64 -0
- package/dist/chunks/emoji-Ba55f8iV.mjs.map +1 -0
- package/dist/chunks/focusTrap-Cecv_gjR.mjs +7 -0
- package/dist/chunks/focusTrap-Cecv_gjR.mjs.map +1 -0
- package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs +11 -0
- package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs.map +1 -0
- package/dist/chunks/index-BKkaCvJ0.mjs +187 -0
- package/dist/chunks/index-BKkaCvJ0.mjs.map +1 -0
- package/dist/chunks/index-CtoB4eIp.mjs +116 -0
- package/dist/chunks/index-CtoB4eIp.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-Cho5o36L.mjs +1360 -0
- package/dist/chunks/referencePickerModal-Cho5o36L.mjs.map +1 -0
- package/dist/chunks/usernameToColor-4ci35wWd.mjs +26 -0
- package/dist/chunks/usernameToColor-4ci35wWd.mjs.map +1 -0
- package/dist/components/NcActionButton/NcActionButton.vue.d.ts +202 -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 +378 -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 +241 -0
- package/dist/components/NcButton/index.d.ts +5 -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/NcChip/NcChip.vue.d.ts +113 -0
- package/dist/components/NcChip/index.d.ts +5 -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 +60 -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 +361 -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 +16 -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 +79 -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/directives/index.d.ts +7 -0
- package/dist/functions/a11y/index.d.ts +12 -0
- package/dist/functions/emoji/emoji.d.ts +33 -0
- package/dist/functions/emoji/index.d.ts +5 -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 +41 -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.d.ts +10 -0
- package/dist/index.mjs +296 -317
- 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 +13 -0
- package/dist/utils/GenColors.d.ts +28 -0
- package/dist/utils/GenRandomId.d.ts +6 -0
- package/dist/utils/GetChildren.d.ts +13 -0
- package/dist/utils/GetParent.d.ts +13 -0
- package/dist/utils/Linkify.d.ts +8 -0
- package/dist/utils/ScopeComponent.d.ts +6 -0
- package/dist/utils/Timer.d.ts +25 -0
- package/dist/utils/UserStatus.d.ts +7 -0
- package/dist/utils/focusTrap.d.ts +1 -0
- package/dist/utils/getAvatarUrl.d.ts +5 -0
- package/dist/utils/isSlotPopulated.d.ts +9 -0
- package/dist/utils/logger.d.ts +2 -0
- package/dist/vendor.LICENSE.txt +4 -4
- package/package.json +68 -71
- package/LICENSE +0 -661
- 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/reference.cjs +0 -16
- package/dist/Functions/reference.cjs.map +0 -1
- package/dist/Functions/registerReference.cjs +0 -72
- package/dist/Functions/registerReference.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-CgQyKNIq.css +0 -134
- package/dist/assets/NcActionButtonGroup-ChehtUip.css +0 -60
- package/dist/assets/NcActionCaption-Bp8mrIk7.css +0 -44
- package/dist/assets/NcActionCheckbox-BPfv1P4U.css +0 -106
- package/dist/assets/NcActionInput-BmkpDXi3.css +0 -243
- package/dist/assets/NcActionLink-DN3NCDC0.css +0 -121
- package/dist/assets/NcActionRadio-BQL7tIME.css +0 -106
- package/dist/assets/NcActionRouter-CDTNXd1V.css +0 -133
- package/dist/assets/NcActionSeparator-CX3zFZuI.css +0 -35
- package/dist/assets/NcActionText-YljCzD9Q.css +0 -137
- package/dist/assets/NcActionTextEditable-MT_lJzTD.css +0 -259
- package/dist/assets/NcActions-BIRrYzVc.css +0 -84
- package/dist/assets/NcAppContent-CQiQd3hU.css +0 -116
- package/dist/assets/NcAppNavigation-D3EQz8YC.css +0 -92
- package/dist/assets/NcAppNavigationCaption-DSzhbFzz.css +0 -52
- package/dist/assets/NcAppNavigationIconBullet-1_cBEwu8.css +0 -41
- package/dist/assets/NcAppNavigationItem-D8wez0MS.css +0 -213
- package/dist/assets/NcAppNavigationNew--1ILdbLl.css +0 -36
- package/dist/assets/NcAppNavigationNewItem-C574fgtB.css +0 -206
- package/dist/assets/NcAppNavigationSettings-BD-h3kJw.css +0 -88
- package/dist/assets/NcAppNavigationSpacer-x8vwZ4I3.css +0 -5
- package/dist/assets/NcAppNavigationToggle-BWue0UZ0.css +0 -38
- package/dist/assets/NcAppSettingsDialog-c7J2WY2J.css +0 -86
- package/dist/assets/NcAppSettingsSection-aHnvmnTE.css +0 -41
- package/dist/assets/NcAppSidebar-zFWj1DS1.css +0 -318
- package/dist/assets/NcAppSidebarTab-1-7Y9AAW.css +0 -45
- package/dist/assets/NcAvatar-MJSJWCFX.css +0 -144
- package/dist/assets/NcBreadcrumb-CakpXb4B.css +0 -80
- package/dist/assets/NcBreadcrumbs-BUoUn0es.css +0 -49
- package/dist/assets/NcButton-Csolh2Rm.css +0 -204
- package/dist/assets/NcCheckboxRadioSwitch-B01XgqBM.css +0 -201
- package/dist/assets/NcColorPicker-DW_KICrM.css +0 -131
- package/dist/assets/NcContent-DcWX2Pzs.css +0 -82
- package/dist/assets/NcCounterBubble-CuCSao3j.css +0 -64
- package/dist/assets/NcDashboardWidget-DvHdCtYW.css +0 -83
- package/dist/assets/NcDashboardWidgetItem-BLt8QsA0.css +0 -82
- package/dist/assets/NcDateTimePicker-CMP2zDCI.css +0 -907
- package/dist/assets/NcDateTimePickerNative-F5ESpIf_.css +0 -58
- package/dist/assets/NcDialog-gzRgiAqr.css +0 -126
- package/dist/assets/NcEllipsisedOption-B6gjXSS9.css +0 -47
- package/dist/assets/NcEmojiPicker-CcOmLUYo.css +0 -552
- package/dist/assets/NcEmptyContent-Bvx6oFUT.css +0 -75
- package/dist/assets/NcGuestContent-VFAUvGVY.css +0 -51
- package/dist/assets/NcHeaderMenu-3pDvjNMi.css +0 -91
- package/dist/assets/NcIconSvgWrapper-DQ4nGIPd.css +0 -44
- package/dist/assets/NcInputConfirmCancel-D8YX9GNh.css +0 -51
- package/dist/assets/NcInputField-CrHgx7u4.css +0 -194
- package/dist/assets/NcListItem-CIIpz4DX.css +0 -165
- package/dist/assets/NcListItemIcon-CaURDugr.css +0 -80
- package/dist/assets/NcLoadingIcon-CFmftMkz.css +0 -32
- package/dist/assets/NcMentionBubble-BhiXWJv8.css +0 -81
- package/dist/assets/NcModal-DIWPznuf.css +0 -298
- package/dist/assets/NcNoteCard-B_Q1mnCM.css +0 -60
- package/dist/assets/NcPopover-wrgZy49g.css +0 -107
- package/dist/assets/NcProgressBar-DDj4bmBB.css +0 -67
- package/dist/assets/NcRelatedResourcesPanel-CLX7sIKW.css +0 -76
- package/dist/assets/NcRichContenteditable-guxSvwzF.css +0 -260
- package/dist/assets/NcRichText-DBK7EM1f.css +0 -215
- package/dist/assets/NcSelect-awubCP3B.css +0 -172
- package/dist/assets/NcSettingsInputText-mlm1L0NL.css +0 -46
- package/dist/assets/NcSettingsSection-8RabR54v.css +0 -68
- package/dist/assets/NcSettingsSelectGroup-DnUcwotl.css +0 -34
- package/dist/assets/NcTextArea-Sq__7kVG.css +0 -139
- package/dist/assets/NcUserBubble-C3W47JgI.css +0 -59
- package/dist/assets/NcUserStatusIcon-Bcuylw5B.css +0 -41
- package/dist/assets/Tooltip-DA4si7PR.css +0 -93
- package/dist/assets/referencePickerModal-D1QsnSDx.css +0 -316
- package/dist/chunks/AlertCircleOutline-CWsuE9tq.cjs +0 -41
- package/dist/chunks/AlertCircleOutline-CWsuE9tq.cjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-Cz6pQZo8.mjs +0 -44
- package/dist/chunks/AlertCircleOutline-Cz6pQZo8.mjs.map +0 -1
- package/dist/chunks/ArrowLeft-Bm_mFQce.mjs +0 -44
- package/dist/chunks/ArrowLeft-Bm_mFQce.mjs.map +0 -1
- package/dist/chunks/ArrowLeft-DIneKq1y.cjs +0 -41
- package/dist/chunks/ArrowLeft-DIneKq1y.cjs.map +0 -1
- package/dist/chunks/ArrowRight-M9UNYhUi.cjs +0 -41
- package/dist/chunks/ArrowRight-M9UNYhUi.cjs.map +0 -1
- package/dist/chunks/ArrowRight-oiVcv9Oj.mjs +0 -44
- package/dist/chunks/ArrowRight-oiVcv9Oj.mjs.map +0 -1
- package/dist/chunks/Check-C_8Ygo3G.mjs +0 -44
- package/dist/chunks/Check-C_8Ygo3G.mjs.map +0 -1
- package/dist/chunks/Check-DfVOclb6.cjs +0 -41
- package/dist/chunks/Check-DfVOclb6.cjs.map +0 -1
- package/dist/chunks/ChevronDown-CvJ88qCX.cjs +0 -41
- package/dist/chunks/ChevronDown-CvJ88qCX.cjs.map +0 -1
- package/dist/chunks/ChevronDown-DeLPnYXl.mjs +0 -44
- package/dist/chunks/ChevronDown-DeLPnYXl.mjs.map +0 -1
- package/dist/chunks/ChevronRight-54kOBYZt.cjs +0 -41
- package/dist/chunks/ChevronRight-54kOBYZt.cjs.map +0 -1
- package/dist/chunks/ChevronRight-SLd1I986.mjs +0 -44
- package/dist/chunks/ChevronRight-SLd1I986.mjs.map +0 -1
- package/dist/chunks/Close-4aPDwwcw.mjs +0 -44
- package/dist/chunks/Close-4aPDwwcw.mjs.map +0 -1
- package/dist/chunks/Close-PZEquBdx.cjs +0 -41
- package/dist/chunks/Close-PZEquBdx.cjs.map +0 -1
- package/dist/chunks/DotsHorizontal-B8FxxlxU.cjs +0 -41
- package/dist/chunks/DotsHorizontal-B8FxxlxU.cjs.map +0 -1
- package/dist/chunks/DotsHorizontal-pvjyTUje.mjs +0 -44
- package/dist/chunks/DotsHorizontal-pvjyTUje.mjs.map +0 -1
- package/dist/chunks/GenColors-CGEjWPvv.mjs +0 -142
- package/dist/chunks/GenColors-CGEjWPvv.mjs.map +0 -1
- package/dist/chunks/GenColors-DRcn_SJd.cjs +0 -141
- package/dist/chunks/GenColors-DRcn_SJd.cjs.map +0 -1
- package/dist/chunks/GenRandomId-B2O1GMbH.cjs +0 -24
- package/dist/chunks/GenRandomId-B2O1GMbH.cjs.map +0 -1
- package/dist/chunks/GenRandomId-BW3iYFf9.mjs +0 -25
- package/dist/chunks/GenRandomId-BW3iYFf9.mjs.map +0 -1
- package/dist/chunks/Linkify-BaDLLFxP.mjs +0 -33
- package/dist/chunks/Linkify-BaDLLFxP.mjs.map +0 -1
- package/dist/chunks/Linkify-Dola0NBa.cjs +0 -32
- package/dist/chunks/Linkify-Dola0NBa.cjs.map +0 -1
- package/dist/chunks/NcActionButton-BCDAgaDz.mjs +0 -181
- package/dist/chunks/NcActionButton-BCDAgaDz.mjs.map +0 -1
- package/dist/chunks/NcActionButton-CY1fHJQ9.cjs +0 -174
- package/dist/chunks/NcActionButton-CY1fHJQ9.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-D0d-HRnE.mjs +0 -55
- package/dist/chunks/NcActionButtonGroup-D0d-HRnE.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-DTLam8-g.cjs +0 -50
- package/dist/chunks/NcActionButtonGroup-DTLam8-g.cjs.map +0 -1
- package/dist/chunks/NcActionCaption-B_rOOzNC.mjs +0 -31
- package/dist/chunks/NcActionCaption-B_rOOzNC.mjs.map +0 -1
- package/dist/chunks/NcActionCaption-DHRMXPVe.cjs +0 -27
- package/dist/chunks/NcActionCaption-DHRMXPVe.cjs.map +0 -1
- package/dist/chunks/NcActionCheckbox-CwnTOfl9.mjs +0 -113
- package/dist/chunks/NcActionCheckbox-CwnTOfl9.mjs.map +0 -1
- package/dist/chunks/NcActionCheckbox-D2GKYfvY.cjs +0 -107
- package/dist/chunks/NcActionCheckbox-D2GKYfvY.cjs.map +0 -1
- package/dist/chunks/NcActionInput-CYt-FXxq.mjs +0 -339
- package/dist/chunks/NcActionInput-CYt-FXxq.mjs.map +0 -1
- package/dist/chunks/NcActionInput-DJtsVqN7.cjs +0 -328
- package/dist/chunks/NcActionInput-DJtsVqN7.cjs.map +0 -1
- package/dist/chunks/NcActionLink-BRgo4E26.mjs +0 -111
- package/dist/chunks/NcActionLink-BRgo4E26.mjs.map +0 -1
- package/dist/chunks/NcActionLink-D22rQHJq.cjs +0 -106
- package/dist/chunks/NcActionLink-D22rQHJq.cjs.map +0 -1
- package/dist/chunks/NcActionRadio-AGL4aE5u.cjs +0 -115
- package/dist/chunks/NcActionRadio-AGL4aE5u.cjs.map +0 -1
- package/dist/chunks/NcActionRadio-BdCOqdN2.mjs +0 -121
- package/dist/chunks/NcActionRadio-BdCOqdN2.mjs.map +0 -1
- package/dist/chunks/NcActionRouter-BkIkQlfu.cjs +0 -70
- package/dist/chunks/NcActionRouter-BkIkQlfu.cjs.map +0 -1
- package/dist/chunks/NcActionRouter-H5FgAlYQ.mjs +0 -75
- package/dist/chunks/NcActionRouter-H5FgAlYQ.mjs.map +0 -1
- package/dist/chunks/NcActionSeparator-D02ioeCN.cjs +0 -12
- package/dist/chunks/NcActionSeparator-D02ioeCN.cjs.map +0 -1
- package/dist/chunks/NcActionSeparator-okTIYFkK.mjs +0 -16
- package/dist/chunks/NcActionSeparator-okTIYFkK.mjs.map +0 -1
- package/dist/chunks/NcActionText-BRZgb0Fq.mjs +0 -57
- package/dist/chunks/NcActionText-BRZgb0Fq.mjs.map +0 -1
- package/dist/chunks/NcActionText-Cp8-7wvh.cjs +0 -52
- package/dist/chunks/NcActionText-Cp8-7wvh.cjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-CD8i9-dJ.mjs +0 -121
- package/dist/chunks/NcActionTextEditable-CD8i9-dJ.mjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-CWcNEnUL.cjs +0 -114
- package/dist/chunks/NcActionTextEditable-CWcNEnUL.cjs.map +0 -1
- package/dist/chunks/NcActions-Bj5vZPRQ.cjs +0 -488
- package/dist/chunks/NcActions-Bj5vZPRQ.cjs.map +0 -1
- package/dist/chunks/NcActions-WuvVCajO.mjs +0 -497
- package/dist/chunks/NcActions-WuvVCajO.mjs.map +0 -1
- package/dist/chunks/NcAppContent-Dq6grdtx.mjs +0 -275
- package/dist/chunks/NcAppContent-Dq6grdtx.mjs.map +0 -1
- package/dist/chunks/NcAppContent-DsIamTan.cjs +0 -264
- package/dist/chunks/NcAppContent-DsIamTan.cjs.map +0 -1
- package/dist/chunks/NcAppContentDetails-CvUozTqP.mjs +0 -14
- package/dist/chunks/NcAppContentDetails-CvUozTqP.mjs.map +0 -1
- package/dist/chunks/NcAppContentDetails-DsLhppiS.cjs +0 -11
- package/dist/chunks/NcAppContentDetails-DsLhppiS.cjs.map +0 -1
- package/dist/chunks/NcAppContentList-D-qjh3g4.mjs +0 -26
- package/dist/chunks/NcAppContentList-D-qjh3g4.mjs.map +0 -1
- package/dist/chunks/NcAppContentList-DqX0zgZY.cjs +0 -23
- package/dist/chunks/NcAppContentList-DqX0zgZY.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-BCNgCIf7.cjs +0 -125
- package/dist/chunks/NcAppNavigation-BCNgCIf7.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-CLto3k5S.mjs +0 -134
- package/dist/chunks/NcAppNavigation-CLto3k5S.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-CNik_CEJ.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-CNik_CEJ.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-CQ38PmuT.cjs +0 -42
- package/dist/chunks/NcAppNavigationCaption-CQ38PmuT.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationIconBullet-CEbvUXYj.mjs +0 -40
- package/dist/chunks/NcAppNavigationIconBullet-CEbvUXYj.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationIconBullet-DrdaoHf7.cjs +0 -36
- package/dist/chunks/NcAppNavigationIconBullet-DrdaoHf7.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-BEkthi4A.cjs +0 -595
- package/dist/chunks/NcAppNavigationItem-BEkthi4A.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-BeSAkgAm.mjs +0 -608
- package/dist/chunks/NcAppNavigationItem-BeSAkgAm.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNew-BwmSEpXx.mjs +0 -56
- package/dist/chunks/NcAppNavigationNew-BwmSEpXx.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNew-DF7fUtNQ.cjs +0 -51
- package/dist/chunks/NcAppNavigationNew-DF7fUtNQ.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-CMDoj14v.mjs +0 -112
- package/dist/chunks/NcAppNavigationNewItem-CMDoj14v.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-lLiWC0-z.cjs +0 -106
- package/dist/chunks/NcAppNavigationNewItem-lLiWC0-z.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-C-O4K1_4.cjs +0 -128
- package/dist/chunks/NcAppNavigationSettings-C-O4K1_4.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-CEAWAeco.mjs +0 -131
- package/dist/chunks/NcAppNavigationSettings-CEAWAeco.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSpacer-BH0ov6fv.mjs +0 -13
- package/dist/chunks/NcAppNavigationSpacer-BH0ov6fv.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSpacer-DdS1H3cj.cjs +0 -9
- package/dist/chunks/NcAppNavigationSpacer-DdS1H3cj.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-CIqwnKC7.mjs +0 -145
- package/dist/chunks/NcAppNavigationToggle-CIqwnKC7.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-avN0M9oy.cjs +0 -140
- package/dist/chunks/NcAppNavigationToggle-avN0M9oy.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-CeeQ2_O-.cjs +0 -211
- package/dist/chunks/NcAppSettingsDialog-CeeQ2_O-.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-CyFDTOqw.mjs +0 -219
- package/dist/chunks/NcAppSettingsDialog-CyFDTOqw.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-DsAP6wdP.cjs +0 -54
- package/dist/chunks/NcAppSettingsSection-DsAP6wdP.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-GNkU29UF.mjs +0 -58
- package/dist/chunks/NcAppSettingsSection-GNkU29UF.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-6ftxWNCE.cjs +0 -744
- package/dist/chunks/NcAppSidebar-6ftxWNCE.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-DYHC70oF.mjs +0 -764
- package/dist/chunks/NcAppSidebar-DYHC70oF.mjs.map +0 -1
- package/dist/chunks/NcAppSidebarTab-BJzHFFJX.cjs +0 -84
- package/dist/chunks/NcAppSidebarTab-BJzHFFJX.cjs.map +0 -1
- package/dist/chunks/NcAppSidebarTab-BmTCj_Ca.mjs +0 -88
- package/dist/chunks/NcAppSidebarTab-BmTCj_Ca.mjs.map +0 -1
- package/dist/chunks/NcAvatar-B3R0ACOT.cjs +0 -526
- package/dist/chunks/NcAvatar-B3R0ACOT.cjs.map +0 -1
- package/dist/chunks/NcAvatar-DVbgzwca.mjs +0 -542
- package/dist/chunks/NcAvatar-DVbgzwca.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-BRlO8NNX.mjs +0 -224
- package/dist/chunks/NcBreadcrumb-BRlO8NNX.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-D8JwR_8r.cjs +0 -216
- package/dist/chunks/NcBreadcrumb-D8JwR_8r.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-BmbrLray.mjs +0 -381
- package/dist/chunks/NcBreadcrumbs-BmbrLray.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-DecEU_-k.cjs +0 -369
- package/dist/chunks/NcBreadcrumbs-DecEU_-k.cjs.map +0 -1
- package/dist/chunks/NcButton-BOed2DnZ.mjs +0 -255
- package/dist/chunks/NcButton-BOed2DnZ.mjs.map +0 -1
- package/dist/chunks/NcButton-CR5WPHh9.cjs +0 -252
- package/dist/chunks/NcButton-CR5WPHh9.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch--es7vR2V.cjs +0 -696
- package/dist/chunks/NcCheckboxRadioSwitch--es7vR2V.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-CDiJJ9IX.mjs +0 -701
- package/dist/chunks/NcCheckboxRadioSwitch-CDiJJ9IX.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CE3l0hQS.cjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CE3l0hQS.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CHo5e7Ze.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CHo5e7Ze.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-DOUQgdnj.mjs +0 -253
- package/dist/chunks/NcColorPicker-DOUQgdnj.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-cCQEzGA4.cjs +0 -241
- package/dist/chunks/NcColorPicker-cCQEzGA4.cjs.map +0 -1
- package/dist/chunks/NcContent-0OI_1AV7.mjs +0 -111
- package/dist/chunks/NcContent-0OI_1AV7.mjs.map +0 -1
- package/dist/chunks/NcContent-ByM_6Z0R.cjs +0 -103
- package/dist/chunks/NcContent-ByM_6Z0R.cjs.map +0 -1
- package/dist/chunks/NcCounterBubble-CsG1KK6d.cjs +0 -40
- package/dist/chunks/NcCounterBubble-CsG1KK6d.cjs.map +0 -1
- package/dist/chunks/NcCounterBubble-qywYxMp0.mjs +0 -44
- package/dist/chunks/NcCounterBubble-qywYxMp0.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-C2GJEVVp.cjs +0 -161
- package/dist/chunks/NcDashboardWidget-C2GJEVVp.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-CKSAHnoN.mjs +0 -169
- package/dist/chunks/NcDashboardWidget-CKSAHnoN.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-CB3bDffz.cjs +0 -177
- package/dist/chunks/NcDashboardWidgetItem-CB3bDffz.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-rzVYkWCJ.mjs +0 -184
- package/dist/chunks/NcDashboardWidgetItem-rzVYkWCJ.mjs.map +0 -1
- package/dist/chunks/NcDateTime-CKbqXHYe.mjs +0 -140
- package/dist/chunks/NcDateTime-CKbqXHYe.mjs.map +0 -1
- package/dist/chunks/NcDateTime-D7MYyd1V.cjs +0 -136
- package/dist/chunks/NcDateTime-D7MYyd1V.cjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-CpnkJmoO.mjs +0 -338
- package/dist/chunks/NcDateTimePicker-CpnkJmoO.mjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-eZW9rrgc.cjs +0 -328
- package/dist/chunks/NcDateTimePicker-eZW9rrgc.cjs.map +0 -1
- package/dist/chunks/NcDateTimePickerNative-BJoVg44O.mjs +0 -181
- package/dist/chunks/NcDateTimePickerNative-BJoVg44O.mjs.map +0 -1
- package/dist/chunks/NcDateTimePickerNative-DeWN8SbT.cjs +0 -176
- package/dist/chunks/NcDateTimePickerNative-DeWN8SbT.cjs.map +0 -1
- package/dist/chunks/NcDialog-BoO_IJmr.cjs +0 -237
- package/dist/chunks/NcDialog-BoO_IJmr.cjs.map +0 -1
- package/dist/chunks/NcDialog-zrnK1IH3.mjs +0 -245
- package/dist/chunks/NcDialog-zrnK1IH3.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-B3Cpbj1A.cjs +0 -73
- package/dist/chunks/NcDialogButton-B3Cpbj1A.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-m4odhCm8.mjs +0 -78
- package/dist/chunks/NcDialogButton-m4odhCm8.mjs.map +0 -1
- package/dist/chunks/NcEllipsisedOption-C1E1JoTb.cjs +0 -81
- package/dist/chunks/NcEllipsisedOption-C1E1JoTb.cjs.map +0 -1
- package/dist/chunks/NcEllipsisedOption-DqwXJZz0.mjs +0 -86
- package/dist/chunks/NcEllipsisedOption-DqwXJZz0.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-DHPGSiU1.mjs +0 -339
- package/dist/chunks/NcEmojiPicker-DHPGSiU1.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-QvIjugm3.cjs +0 -326
- package/dist/chunks/NcEmojiPicker-QvIjugm3.cjs.map +0 -1
- package/dist/chunks/NcEmptyContent-CYEf8Lje.mjs +0 -62
- package/dist/chunks/NcEmptyContent-CYEf8Lje.mjs.map +0 -1
- package/dist/chunks/NcEmptyContent-DmwlAinq.cjs +0 -58
- package/dist/chunks/NcEmptyContent-DmwlAinq.cjs.map +0 -1
- package/dist/chunks/NcGuestContent-DZFbq5Fg.mjs +0 -21
- package/dist/chunks/NcGuestContent-DZFbq5Fg.mjs.map +0 -1
- package/dist/chunks/NcGuestContent-Drc2bdg6.cjs +0 -17
- package/dist/chunks/NcGuestContent-Drc2bdg6.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-B7VuxuvJ.mjs +0 -225
- package/dist/chunks/NcHeaderMenu-B7VuxuvJ.mjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-kxroyvdS.cjs +0 -218
- package/dist/chunks/NcHeaderMenu-kxroyvdS.cjs.map +0 -1
- package/dist/chunks/NcHighlight-DlBY2lba.cjs +0 -136
- package/dist/chunks/NcHighlight-DlBY2lba.cjs.map +0 -1
- package/dist/chunks/NcHighlight-GDN9q3CO.mjs +0 -137
- package/dist/chunks/NcHighlight-GDN9q3CO.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-CHmWpTAZ.mjs +0 -82
- package/dist/chunks/NcIconSvgWrapper-CHmWpTAZ.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-LZxj_D6o.cjs +0 -77
- package/dist/chunks/NcIconSvgWrapper-LZxj_D6o.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-CbIGLBVK.cjs +0 -105
- package/dist/chunks/NcInputConfirmCancel-CbIGLBVK.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-nPRl_bEp.mjs +0 -112
- package/dist/chunks/NcInputConfirmCancel-nPRl_bEp.mjs.map +0 -1
- package/dist/chunks/NcInputField-BSNgY76i.cjs +0 -283
- package/dist/chunks/NcInputField-BSNgY76i.cjs.map +0 -1
- package/dist/chunks/NcInputField-CSBO_eCf.mjs +0 -291
- package/dist/chunks/NcInputField-CSBO_eCf.mjs.map +0 -1
- package/dist/chunks/NcListItem-BNvxfN1S.mjs +0 -313
- package/dist/chunks/NcListItem-BNvxfN1S.mjs.map +0 -1
- package/dist/chunks/NcListItem-DMxuTt4N.cjs +0 -306
- package/dist/chunks/NcListItem-DMxuTt4N.cjs.map +0 -1
- package/dist/chunks/NcListItemIcon-BkAwX75l.cjs +0 -189
- package/dist/chunks/NcListItemIcon-BkAwX75l.cjs.map +0 -1
- package/dist/chunks/NcListItemIcon-DHTMHhZD.mjs +0 -193
- package/dist/chunks/NcListItemIcon-DHTMHhZD.mjs.map +0 -1
- package/dist/chunks/NcLoadingIcon-C5Ohiq97.mjs +0 -68
- package/dist/chunks/NcLoadingIcon-C5Ohiq97.mjs.map +0 -1
- package/dist/chunks/NcLoadingIcon-DkXGgGqQ.cjs +0 -64
- package/dist/chunks/NcLoadingIcon-DkXGgGqQ.cjs.map +0 -1
- package/dist/chunks/NcNoteCard-BjfsJAvf.cjs +0 -226
- package/dist/chunks/NcNoteCard-BjfsJAvf.cjs.map +0 -1
- package/dist/chunks/NcNoteCard-xmrG6RQz.mjs +0 -230
- package/dist/chunks/NcNoteCard-xmrG6RQz.mjs.map +0 -1
- package/dist/chunks/NcPasswordField-BrMVmabB.cjs +0 -255
- package/dist/chunks/NcPasswordField-BrMVmabB.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-CjdxvU1v.mjs +0 -265
- package/dist/chunks/NcPasswordField-CjdxvU1v.mjs.map +0 -1
- package/dist/chunks/NcPopover-BTBahSg4.mjs +0 -223
- package/dist/chunks/NcPopover-BTBahSg4.mjs.map +0 -1
- package/dist/chunks/NcPopover-MKJVwawt.cjs +0 -216
- package/dist/chunks/NcPopover-MKJVwawt.cjs.map +0 -1
- package/dist/chunks/NcProgressBar-CEnPHulQ.mjs +0 -127
- package/dist/chunks/NcProgressBar-CEnPHulQ.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-jT7vnEwJ.cjs +0 -123
- package/dist/chunks/NcProgressBar-jT7vnEwJ.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-DrFkuXRS.cjs +0 -213
- package/dist/chunks/NcRelatedResourcesPanel-DrFkuXRS.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-Dx3BH6bh.mjs +0 -220
- package/dist/chunks/NcRelatedResourcesPanel-Dx3BH6bh.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-B5yMDhrw.mjs +0 -664
- package/dist/chunks/NcRichContenteditable-B5yMDhrw.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-D0CUoF_V.cjs +0 -653
- package/dist/chunks/NcRichContenteditable-D0CUoF_V.cjs.map +0 -1
- package/dist/chunks/NcRichText-BQPj0lNq.mjs +0 -320
- package/dist/chunks/NcRichText-BQPj0lNq.mjs.map +0 -1
- package/dist/chunks/NcRichText-D0TVxAuO.cjs +0 -304
- package/dist/chunks/NcRichText-D0TVxAuO.cjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-DFdsTMPU.cjs +0 -71
- package/dist/chunks/NcSavingIndicatorIcon-DFdsTMPU.cjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-ePWAM_L4.mjs +0 -74
- package/dist/chunks/NcSavingIndicatorIcon-ePWAM_L4.mjs.map +0 -1
- package/dist/chunks/NcSelect-DXYUyhQf.cjs +0 -513
- package/dist/chunks/NcSelect-DXYUyhQf.cjs.map +0 -1
- package/dist/chunks/NcSelect-qdi4yiIe.mjs +0 -525
- package/dist/chunks/NcSelect-qdi4yiIe.mjs.map +0 -1
- package/dist/chunks/NcSelectTags-jZkEKG9G.cjs +0 -256
- package/dist/chunks/NcSelectTags-jZkEKG9G.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-u25JEjub.mjs +0 -263
- package/dist/chunks/NcSelectTags-u25JEjub.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-BzR5Mvi8.cjs +0 -108
- package/dist/chunks/NcSettingsInputText-BzR5Mvi8.cjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-DR_j-EbG.mjs +0 -113
- package/dist/chunks/NcSettingsInputText-DR_j-EbG.mjs.map +0 -1
- package/dist/chunks/NcSettingsSection-bQo-9KYI.mjs +0 -118
- package/dist/chunks/NcSettingsSection-bQo-9KYI.mjs.map +0 -1
- package/dist/chunks/NcSettingsSection-jP8vHGVg.cjs +0 -114
- package/dist/chunks/NcSettingsSection-jP8vHGVg.cjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-Dp3kxwBh.mjs +0 -208
- package/dist/chunks/NcSettingsSelectGroup-Dp3kxwBh.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-mihJA_d6.cjs +0 -199
- package/dist/chunks/NcSettingsSelectGroup-mihJA_d6.cjs.map +0 -1
- package/dist/chunks/NcTextArea-B66cixHu.cjs +0 -196
- package/dist/chunks/NcTextArea-B66cixHu.cjs.map +0 -1
- package/dist/chunks/NcTextArea-DD_dnDNK.mjs +0 -203
- package/dist/chunks/NcTextArea-DD_dnDNK.mjs.map +0 -1
- package/dist/chunks/NcTextField-Byh4JMan.cjs +0 -158
- package/dist/chunks/NcTextField-Byh4JMan.cjs.map +0 -1
- package/dist/chunks/NcTextField-CSVHVoW3.mjs +0 -165
- package/dist/chunks/NcTextField-CSVHVoW3.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-Bz-VFrVD.mjs +0 -3790
- package/dist/chunks/NcTimezonePicker-Bz-VFrVD.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-C7OcnYvS.cjs +0 -3783
- package/dist/chunks/NcTimezonePicker-C7OcnYvS.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-Br9z7OWT.mjs +0 -205
- package/dist/chunks/NcUserBubble-Br9z7OWT.mjs.map +0 -1
- package/dist/chunks/NcUserBubble-D5-GzbQ3.cjs +0 -199
- package/dist/chunks/NcUserBubble-D5-GzbQ3.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-Cvm2x61l.cjs +0 -146
- package/dist/chunks/NcUserStatusIcon-Cvm2x61l.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-CyAVexsF.mjs +0 -154
- package/dist/chunks/NcUserStatusIcon-CyAVexsF.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-CUI_ekHj.mjs +0 -27
- package/dist/chunks/ScopeComponent-CUI_ekHj.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-D_Bohqyr.cjs +0 -26
- package/dist/chunks/ScopeComponent-D_Bohqyr.cjs.map +0 -1
- package/dist/chunks/_l10n-CEec8lDL.cjs +0 -64
- package/dist/chunks/_l10n-CEec8lDL.cjs.map +0 -1
- package/dist/chunks/_l10n-D1NkaqfQ.mjs +0 -66
- package/dist/chunks/_l10n-D1NkaqfQ.mjs.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +0 -9
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-CTzpuyvq.cjs +0 -8
- package/dist/chunks/_plugin-vue_export-helper-CTzpuyvq.cjs.map +0 -1
- package/dist/chunks/actionGlobal-BypLxitr.mjs +0 -47
- package/dist/chunks/actionGlobal-BypLxitr.mjs.map +0 -1
- package/dist/chunks/actionGlobal-CmaqfbSh.cjs +0 -46
- package/dist/chunks/actionGlobal-CmaqfbSh.cjs.map +0 -1
- package/dist/chunks/actionText-CmiezrFO.cjs +0 -126
- package/dist/chunks/actionText-CmiezrFO.cjs.map +0 -1
- package/dist/chunks/actionText-k6jBccGZ.mjs +0 -127
- package/dist/chunks/actionText-k6jBccGZ.mjs.map +0 -1
- package/dist/chunks/emoji-DEH9dtOa.cjs +0 -59
- package/dist/chunks/emoji-DEH9dtOa.cjs.map +0 -1
- package/dist/chunks/emoji-k4gWHxrE.mjs +0 -62
- package/dist/chunks/emoji-k4gWHxrE.mjs.map +0 -1
- package/dist/chunks/focusTrap-Be9GEB5C.mjs +0 -27
- package/dist/chunks/focusTrap-Be9GEB5C.mjs.map +0 -1
- package/dist/chunks/focusTrap-xauhLvvr.cjs +0 -26
- package/dist/chunks/focusTrap-xauhLvvr.cjs.map +0 -1
- package/dist/chunks/index-DiIhxz0J.mjs +0 -178
- package/dist/chunks/index-DiIhxz0J.mjs.map +0 -1
- package/dist/chunks/index-w3db8-kv.cjs +0 -172
- package/dist/chunks/index-w3db8-kv.cjs.map +0 -1
- package/dist/chunks/logger-C7qcfVW8.mjs +0 -25
- package/dist/chunks/logger-C7qcfVW8.mjs.map +0 -1
- package/dist/chunks/logger-D9RRY4er.cjs +0 -24
- package/dist/chunks/logger-D9RRY4er.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-CpPoSMom.mjs +0 -1280
- package/dist/chunks/referencePickerModal-CpPoSMom.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-DioghF2j.cjs +0 -1258
- package/dist/chunks/referencePickerModal-DioghF2j.cjs.map +0 -1
- package/dist/chunks/usernameToColor-CoTtSyuB.mjs +0 -41
- package/dist/chunks/usernameToColor-CoTtSyuB.mjs.map +0 -1
- package/dist/chunks/usernameToColor-o5K5L8PP.cjs +0 -39
- package/dist/chunks/usernameToColor-o5K5L8PP.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 -254
- 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 -271
- 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 -300
- 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 -212
- 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/NcButton/index.d.ts +0 -22
- 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 -250
- 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 -90
- package/dist/src/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +0 -2
- package/dist/src/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +0 -348
- 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 -40
- package/dist/src/components/NcRichText/NcRichText.vue.d.ts +0 -140
- package/dist/src/components/NcRichText/autolink.d.ts +0 -8
- package/dist/src/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +0 -73
- package/dist/src/components/NcSelect/NcSelect.vue.d.ts +0 -15
- 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/directives/index.d.ts +0 -24
- package/dist/src/functions/a11y/index.d.ts +0 -29
- package/dist/src/functions/emoji/emoji.d.ts +0 -50
- package/dist/src/functions/emoji/index.d.ts +0 -22
- package/dist/src/index.d.ts +0 -27
- package/dist/src/plugin.d.ts +0 -16
- package/dist/src/utils/UserStatus.d.ts +0 -24
- 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}/NcDateTimePicker/NcDateTimePicker.vue.d.ts +0 -0
- /package/dist/{src/components → components}/NcDateTimePickerNative/NcDateTimePickerNative.vue.d.ts +0 -0
|
@@ -0,0 +1,1360 @@
|
|
|
1
|
+
import '../assets/referencePickerModal-DeIfdfau.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 { 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, w as t36, U as t27, F as t16, V as t11 } from "./_l10n-C3nxU4O-.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-BoGB3vFC.mjs";
|
|
10
|
+
import { _ as _sfc_main$9 } from "./NcHighlight-BHtRIzqk.mjs";
|
|
11
|
+
import { N as NcSelect } from "./NcSelect-CPlvJjcY.mjs";
|
|
12
|
+
import { useElementSize, useIntersectionObserver } from "@vueuse/core";
|
|
13
|
+
import { RouterLink } from "vue-router";
|
|
14
|
+
import { g as getRoute } from "./autolink-CKPk5rzg.mjs";
|
|
15
|
+
import { N as NcButton } from "./NcButton-DvO0XwJf.mjs";
|
|
16
|
+
import { N as NcLoadingIcon } from "./NcLoadingIcon-DREmHXr2.mjs";
|
|
17
|
+
import { N as NcTextField } from "./NcTextField-W5cVvjob.mjs";
|
|
18
|
+
import { D as DotsHorizontal } from "./DotsHorizontal-CCNSfNOk.mjs";
|
|
19
|
+
import NcModal from "../Components/NcModal.mjs";
|
|
20
|
+
import { emit } from "@nextcloud/event-bus";
|
|
21
|
+
import { A as ArrowLeft } from "./ArrowLeft-CxK9DnMo.mjs";
|
|
22
|
+
import { C as Close } from "./Close-pmiXntgw.mjs";
|
|
23
|
+
register(t20);
|
|
24
|
+
const IDLE_TIMEOUT = 3 * 60 * 1e3;
|
|
25
|
+
const _sfc_main$8 = {
|
|
26
|
+
name: "NcReferenceWidget",
|
|
27
|
+
components: {
|
|
28
|
+
NcButton
|
|
29
|
+
},
|
|
30
|
+
props: {
|
|
31
|
+
reference: {
|
|
32
|
+
type: Object,
|
|
33
|
+
required: true
|
|
34
|
+
},
|
|
35
|
+
interactive: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: true
|
|
38
|
+
},
|
|
39
|
+
interactiveOptIn: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
setup() {
|
|
45
|
+
const isVisible = ref(false);
|
|
46
|
+
const widgetRoot = ref();
|
|
47
|
+
const { width } = useElementSize(widgetRoot);
|
|
48
|
+
useIntersectionObserver(widgetRoot, () => {
|
|
49
|
+
nextTick(() => {
|
|
50
|
+
isVisible.value = widgetRoot.value?.isIntersecting ?? false;
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
return {
|
|
54
|
+
width,
|
|
55
|
+
isVisible,
|
|
56
|
+
widgetRoot
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
data() {
|
|
60
|
+
return {
|
|
61
|
+
showInteractive: false,
|
|
62
|
+
rendered: false,
|
|
63
|
+
idleTimeout: null
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
computed: {
|
|
67
|
+
isInteractive() {
|
|
68
|
+
return !this.interactiveOptIn && this.interactive || this.showInteractive;
|
|
69
|
+
},
|
|
70
|
+
hasFullWidth() {
|
|
71
|
+
return hasFullWidth(this.reference.richObjectType);
|
|
72
|
+
},
|
|
73
|
+
hasCustomWidget() {
|
|
74
|
+
return isWidgetRegistered(this.reference.richObjectType);
|
|
75
|
+
},
|
|
76
|
+
hasInteractiveView() {
|
|
77
|
+
return isWidgetRegistered(this.reference.richObjectType) && hasInteractiveView(this.reference.richObjectType);
|
|
78
|
+
},
|
|
79
|
+
noAccess() {
|
|
80
|
+
return this.reference && !this.reference.accessible;
|
|
81
|
+
},
|
|
82
|
+
descriptionStyle() {
|
|
83
|
+
if (this.numberOfLines === 0) {
|
|
84
|
+
return {
|
|
85
|
+
display: "none"
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
const lineClamp = this.numberOfLines;
|
|
89
|
+
return {
|
|
90
|
+
lineClamp,
|
|
91
|
+
webkitLineClamp: lineClamp
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
numberOfLines() {
|
|
95
|
+
const lineCountOffsets = [450, 550, 650, Infinity];
|
|
96
|
+
return lineCountOffsets.findIndex((max) => this.width < max);
|
|
97
|
+
},
|
|
98
|
+
compactLink() {
|
|
99
|
+
const link = this.reference.openGraphObject.link;
|
|
100
|
+
if (!link) {
|
|
101
|
+
return "";
|
|
102
|
+
}
|
|
103
|
+
if (link.startsWith("https://")) {
|
|
104
|
+
return link.substring(8);
|
|
105
|
+
}
|
|
106
|
+
if (link.startsWith("http://")) {
|
|
107
|
+
return link.substring(7);
|
|
108
|
+
}
|
|
109
|
+
return link;
|
|
110
|
+
},
|
|
111
|
+
route() {
|
|
112
|
+
return getRoute(this.$router, this.reference.openGraphObject.link);
|
|
113
|
+
},
|
|
114
|
+
referenceWidgetLinkComponent() {
|
|
115
|
+
return this.route ? RouterLink : "a";
|
|
116
|
+
},
|
|
117
|
+
referenceWidgetLinkProps() {
|
|
118
|
+
return this.route ? { to: this.route } : { href: this.reference.openGraphObject.link, target: "_blank" };
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
watch: {
|
|
122
|
+
isVisible: {
|
|
123
|
+
handler(val) {
|
|
124
|
+
if (!val) {
|
|
125
|
+
this.idleTimeout = setTimeout(() => {
|
|
126
|
+
if (!this.isVisible) {
|
|
127
|
+
this.destroyWidget();
|
|
128
|
+
}
|
|
129
|
+
}, IDLE_TIMEOUT);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (this.idleTimeout) {
|
|
133
|
+
clearTimeout(this.idleTimeout);
|
|
134
|
+
this.idleTimeout = null;
|
|
135
|
+
}
|
|
136
|
+
if (!this.rendered) {
|
|
137
|
+
this.renderWidget();
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
immediate: true
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
beforeUnmount() {
|
|
144
|
+
this.destroyWidget();
|
|
145
|
+
},
|
|
146
|
+
methods: {
|
|
147
|
+
t,
|
|
148
|
+
enableInteractive() {
|
|
149
|
+
this.showInteractive = true;
|
|
150
|
+
this.renderWidget();
|
|
151
|
+
},
|
|
152
|
+
renderWidget() {
|
|
153
|
+
if (!this.$refs.customWidget) {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (this?.reference?.richObjectType === "open-graph") {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
this.$refs.customWidget.innerHTML = "";
|
|
160
|
+
const widget = document.createElement("div");
|
|
161
|
+
this.$refs.customWidget.appendChild(widget);
|
|
162
|
+
this.$nextTick(() => {
|
|
163
|
+
renderWidget(widget, {
|
|
164
|
+
...this.reference,
|
|
165
|
+
interactive: this.isInteractive
|
|
166
|
+
});
|
|
167
|
+
this.rendered = true;
|
|
168
|
+
});
|
|
169
|
+
},
|
|
170
|
+
destroyWidget() {
|
|
171
|
+
if (this.rendered) {
|
|
172
|
+
destroyWidget(this.reference.richObjectType, this.$el);
|
|
173
|
+
this.rendered = false;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
const _hoisted_1$8 = ["src"];
|
|
179
|
+
const _hoisted_2$6 = { class: "widget-default--details" };
|
|
180
|
+
const _hoisted_3$5 = { class: "widget-default--name" };
|
|
181
|
+
const _hoisted_4$4 = { class: "widget-default--link" };
|
|
182
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
183
|
+
const _component_NcButton = resolveComponent("NcButton");
|
|
184
|
+
return openBlock(), createElementBlock("div", {
|
|
185
|
+
ref: "widgetRoot",
|
|
186
|
+
class: normalizeClass({ "toggle-interactive": $options.hasInteractiveView && !$options.isInteractive })
|
|
187
|
+
}, [
|
|
188
|
+
$props.reference && $options.hasCustomWidget ? (openBlock(), createElementBlock("div", {
|
|
189
|
+
key: 0,
|
|
190
|
+
ref: "customWidget",
|
|
191
|
+
class: normalizeClass(["widget-custom", { "full-width": $options.hasFullWidth }])
|
|
192
|
+
}, null, 2)) : !$options.noAccess && $props.reference && $props.reference.openGraphObject && !$options.hasCustomWidget ? (openBlock(), createBlock(resolveDynamicComponent($options.referenceWidgetLinkComponent), mergeProps({ key: 1 }, $options.referenceWidgetLinkProps, {
|
|
193
|
+
rel: "noopener noreferrer",
|
|
194
|
+
class: "widget-default"
|
|
195
|
+
}), {
|
|
196
|
+
default: withCtx(() => [
|
|
197
|
+
$props.reference.openGraphObject.thumb ? (openBlock(), createElementBlock("img", {
|
|
198
|
+
key: 0,
|
|
199
|
+
class: "widget-default--image",
|
|
200
|
+
src: $props.reference.openGraphObject.thumb
|
|
201
|
+
}, null, 8, _hoisted_1$8)) : createCommentVNode("", true),
|
|
202
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
203
|
+
createElementVNode("p", _hoisted_3$5, toDisplayString($props.reference.openGraphObject.name), 1),
|
|
204
|
+
createElementVNode("p", {
|
|
205
|
+
class: "widget-default--description",
|
|
206
|
+
style: normalizeStyle($options.descriptionStyle)
|
|
207
|
+
}, toDisplayString($props.reference.openGraphObject.description), 5),
|
|
208
|
+
createElementVNode("p", _hoisted_4$4, toDisplayString($options.compactLink), 1)
|
|
209
|
+
])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 16)) : createCommentVNode("", true),
|
|
213
|
+
$props.interactiveOptIn && $options.hasInteractiveView && !$options.isInteractive ? (openBlock(), createBlock(_component_NcButton, {
|
|
214
|
+
key: 2,
|
|
215
|
+
class: "toggle-interactive--button",
|
|
216
|
+
onClick: $options.enableInteractive
|
|
217
|
+
}, {
|
|
218
|
+
default: withCtx(() => [
|
|
219
|
+
createTextVNode(toDisplayString($options.t("Enable interactive view")), 1)
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
223
|
+
], 2);
|
|
224
|
+
}
|
|
225
|
+
const NcReferenceWidget = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-f8639993"]]);
|
|
226
|
+
const _sfc_main$7 = {
|
|
227
|
+
name: "NcCustomPickerElement",
|
|
228
|
+
props: {
|
|
229
|
+
/**
|
|
230
|
+
* The reference provider
|
|
231
|
+
*/
|
|
232
|
+
provider: {
|
|
233
|
+
type: Object,
|
|
234
|
+
required: true
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
emits: [
|
|
238
|
+
"cancel",
|
|
239
|
+
"submit"
|
|
240
|
+
],
|
|
241
|
+
data() {
|
|
242
|
+
return {
|
|
243
|
+
isRegistered: isCustomPickerElementRegistered(this.provider.id),
|
|
244
|
+
renderResult: null
|
|
245
|
+
};
|
|
246
|
+
},
|
|
247
|
+
mounted() {
|
|
248
|
+
if (this.isRegistered) {
|
|
249
|
+
this.renderElement();
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
beforeUnmount() {
|
|
253
|
+
if (this.isRegistered) {
|
|
254
|
+
destroyCustomPickerElement(this.provider.id, this.$el, this.renderResult);
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
methods: {
|
|
258
|
+
renderElement() {
|
|
259
|
+
if (this.$refs.domElement) {
|
|
260
|
+
this.$refs.domElement.innerHTML = "";
|
|
261
|
+
}
|
|
262
|
+
const renderFunctionResult = renderCustomPickerElement(this.$refs.domElement, { providerId: this.provider.id, accessible: false });
|
|
263
|
+
Promise.resolve(renderFunctionResult).then((result) => {
|
|
264
|
+
this.renderResult = result;
|
|
265
|
+
if (this.renderResult.object?._isVue && this.renderResult.object?.$on) {
|
|
266
|
+
this.renderResult.object.$on("submit", this.onSubmit);
|
|
267
|
+
this.renderResult.object.$on("cancel", this.onCancel);
|
|
268
|
+
}
|
|
269
|
+
this.renderResult.element.addEventListener("submit", (e) => {
|
|
270
|
+
this.onSubmit(e.detail);
|
|
271
|
+
});
|
|
272
|
+
this.renderResult.element.addEventListener("cancel", this.onCancel);
|
|
273
|
+
});
|
|
274
|
+
},
|
|
275
|
+
onSubmit(value) {
|
|
276
|
+
this.$emit("submit", value);
|
|
277
|
+
},
|
|
278
|
+
onCancel() {
|
|
279
|
+
this.$emit("cancel");
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
const _hoisted_1$7 = { ref: "domElement" };
|
|
284
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
285
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, null, 512);
|
|
286
|
+
}
|
|
287
|
+
const NcCustomPickerElement = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-314bfb3a"]]);
|
|
288
|
+
register(t7);
|
|
289
|
+
const anyLinkProviderId = "any-link";
|
|
290
|
+
const anyLinkProvider = {
|
|
291
|
+
id: anyLinkProviderId,
|
|
292
|
+
title: t("Any link"),
|
|
293
|
+
icon_url: imagePath("core", "filetypes/link.svg")
|
|
294
|
+
};
|
|
295
|
+
if (!window._vue_richtext_reference_providers) {
|
|
296
|
+
window._vue_richtext_reference_providers = loadState("core", "reference-provider-list", []);
|
|
297
|
+
}
|
|
298
|
+
if (!window._vue_richtext_reference_provider_timestamps) {
|
|
299
|
+
window._vue_richtext_reference_provider_timestamps = loadState("core", "reference-provider-timestamps", {});
|
|
300
|
+
}
|
|
301
|
+
function getProvider(providerId) {
|
|
302
|
+
if (providerId === anyLinkProviderId) {
|
|
303
|
+
return anyLinkProvider;
|
|
304
|
+
}
|
|
305
|
+
return getProviders().find((p) => p.id === providerId);
|
|
306
|
+
}
|
|
307
|
+
function getProviders() {
|
|
308
|
+
return window._vue_richtext_reference_providers.filter((p) => {
|
|
309
|
+
const keep = !!p.search_providers_ids && p.search_providers_ids.length > 0 || isCustomPickerElementRegistered(p.id);
|
|
310
|
+
if (!keep) {
|
|
311
|
+
console.debug("[smart picker]", p.id, "reference provider is discoverable but does not have any related search provider or custom picker component registered");
|
|
312
|
+
}
|
|
313
|
+
return keep;
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
function sortProviders(providerList) {
|
|
317
|
+
const timestamps = window._vue_richtext_reference_provider_timestamps;
|
|
318
|
+
return providerList.sort((a, b) => {
|
|
319
|
+
return a.order === b.order ? 0 : a.order > b.order ? 1 : -1;
|
|
320
|
+
}).sort((a, b) => {
|
|
321
|
+
const ta = timestamps[a.id];
|
|
322
|
+
const tb = timestamps[b.id];
|
|
323
|
+
return ta === tb ? 0 : tb === void 0 ? -1 : ta === void 0 ? 1 : ta > tb ? -1 : 1;
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
function searchProvider(query, limit = null) {
|
|
327
|
+
const providers = getProviders();
|
|
328
|
+
const escapedQuery = query.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
329
|
+
const regexp = new RegExp(escapedQuery, "i");
|
|
330
|
+
const sortedProviders = sortProviders(providers);
|
|
331
|
+
const filteredSortedProviders = sortedProviders.filter((p) => {
|
|
332
|
+
return p.title.match(regexp);
|
|
333
|
+
});
|
|
334
|
+
const searchResult = limit ? filteredSortedProviders.slice(0, limit) : filteredSortedProviders;
|
|
335
|
+
if (query === "" || searchResult.length === 0) {
|
|
336
|
+
searchResult.push(anyLinkProvider);
|
|
337
|
+
}
|
|
338
|
+
return searchResult;
|
|
339
|
+
}
|
|
340
|
+
function touchProvider(providerId) {
|
|
341
|
+
const timestamp = Math.floor(Date.now() / 1e3);
|
|
342
|
+
const params = {
|
|
343
|
+
timestamp
|
|
344
|
+
};
|
|
345
|
+
const url = generateOcsUrl("references/provider/{providerId}", { providerId });
|
|
346
|
+
axios.put(url, params).then((response) => {
|
|
347
|
+
window._vue_richtext_reference_provider_timestamps[providerId] = timestamp;
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
let mytimer = 0;
|
|
351
|
+
function delay(callback, ms) {
|
|
352
|
+
return function() {
|
|
353
|
+
const context = this;
|
|
354
|
+
const args = arguments;
|
|
355
|
+
clearTimeout(mytimer);
|
|
356
|
+
mytimer = setTimeout(function() {
|
|
357
|
+
callback.apply(context, args);
|
|
358
|
+
}, ms);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
function isUrl(str) {
|
|
362
|
+
try {
|
|
363
|
+
return Boolean(new URL(str));
|
|
364
|
+
} catch (error) {
|
|
365
|
+
return false;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
register(t34, t38);
|
|
369
|
+
const _sfc_main$6 = {
|
|
370
|
+
name: "LinkVariantIcon",
|
|
371
|
+
emits: ["click"],
|
|
372
|
+
props: {
|
|
373
|
+
title: {
|
|
374
|
+
type: String
|
|
375
|
+
},
|
|
376
|
+
fillColor: {
|
|
377
|
+
type: String,
|
|
378
|
+
default: "currentColor"
|
|
379
|
+
},
|
|
380
|
+
size: {
|
|
381
|
+
type: Number,
|
|
382
|
+
default: 24
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
const _hoisted_1$6 = ["aria-hidden", "aria-label"];
|
|
387
|
+
const _hoisted_2$5 = ["fill", "width", "height"];
|
|
388
|
+
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" };
|
|
389
|
+
const _hoisted_4$3 = { key: 0 };
|
|
390
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
391
|
+
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
|
|
392
|
+
"aria-hidden": $props.title ? null : true,
|
|
393
|
+
"aria-label": $props.title,
|
|
394
|
+
class: "material-design-icon link-variant-icon",
|
|
395
|
+
role: "img",
|
|
396
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
397
|
+
}), [
|
|
398
|
+
(openBlock(), createElementBlock("svg", {
|
|
399
|
+
fill: $props.fillColor,
|
|
400
|
+
class: "material-design-icon__svg",
|
|
401
|
+
width: $props.size,
|
|
402
|
+
height: $props.size,
|
|
403
|
+
viewBox: "0 0 24 24"
|
|
404
|
+
}, [
|
|
405
|
+
createElementVNode("path", _hoisted_3$4, [
|
|
406
|
+
$props.title ? (openBlock(), createElementBlock("title", _hoisted_4$3, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
407
|
+
])
|
|
408
|
+
], 8, _hoisted_2$5))
|
|
409
|
+
], 16, _hoisted_1$6);
|
|
410
|
+
}
|
|
411
|
+
const LinkVariantIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
412
|
+
const _sfc_main$5 = {
|
|
413
|
+
name: "NcProviderList",
|
|
414
|
+
components: {
|
|
415
|
+
NcSelect,
|
|
416
|
+
NcHighlight: _sfc_main$9,
|
|
417
|
+
NcEmptyContent,
|
|
418
|
+
LinkVariantIcon
|
|
419
|
+
},
|
|
420
|
+
emits: [
|
|
421
|
+
"select-provider",
|
|
422
|
+
"submit"
|
|
423
|
+
],
|
|
424
|
+
data() {
|
|
425
|
+
return {
|
|
426
|
+
selectedProvider: null,
|
|
427
|
+
query: "",
|
|
428
|
+
multiselectPlaceholder: t("Select provider"),
|
|
429
|
+
providerIconAlt: t("Provider icon")
|
|
430
|
+
};
|
|
431
|
+
},
|
|
432
|
+
computed: {
|
|
433
|
+
options() {
|
|
434
|
+
const result = [];
|
|
435
|
+
if (this.query !== "" && isUrl(this.query)) {
|
|
436
|
+
result.push({
|
|
437
|
+
id: this.query,
|
|
438
|
+
title: this.query,
|
|
439
|
+
isLink: true
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
result.push(...searchProvider(this.query));
|
|
443
|
+
return result;
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
methods: {
|
|
447
|
+
focus() {
|
|
448
|
+
setTimeout(() => {
|
|
449
|
+
this.$refs["provider-select"]?.$el?.querySelector("#provider-select-input")?.focus();
|
|
450
|
+
}, 300);
|
|
451
|
+
},
|
|
452
|
+
onProviderSelected(p) {
|
|
453
|
+
if (p !== null) {
|
|
454
|
+
if (p.isLink) {
|
|
455
|
+
this.$emit("submit", p.title);
|
|
456
|
+
} else {
|
|
457
|
+
this.$emit("select-provider", p);
|
|
458
|
+
}
|
|
459
|
+
this.selectedProvider = null;
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
onSearch(query) {
|
|
463
|
+
this.query = query;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
const _hoisted_1$5 = { class: "provider-list" };
|
|
468
|
+
const _hoisted_2$4 = {
|
|
469
|
+
key: 0,
|
|
470
|
+
class: "provider"
|
|
471
|
+
};
|
|
472
|
+
const _hoisted_3$3 = {
|
|
473
|
+
key: 1,
|
|
474
|
+
class: "provider"
|
|
475
|
+
};
|
|
476
|
+
const _hoisted_4$2 = ["src", "alt"];
|
|
477
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
478
|
+
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
479
|
+
const _component_NcHighlight = resolveComponent("NcHighlight");
|
|
480
|
+
const _component_NcSelect = resolveComponent("NcSelect");
|
|
481
|
+
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
482
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
483
|
+
createVNode(_component_NcSelect, {
|
|
484
|
+
ref: "provider-select",
|
|
485
|
+
modelValue: $data.selectedProvider,
|
|
486
|
+
"onUpdate:modelValue": [
|
|
487
|
+
_cache[0] || (_cache[0] = ($event) => $data.selectedProvider = $event),
|
|
488
|
+
$options.onProviderSelected
|
|
489
|
+
],
|
|
490
|
+
class: "provider-list--select",
|
|
491
|
+
"input-id": "provider-select-input",
|
|
492
|
+
label: "title",
|
|
493
|
+
placeholder: $data.multiselectPlaceholder,
|
|
494
|
+
options: $options.options,
|
|
495
|
+
"append-to-body": false,
|
|
496
|
+
"clear-search-on-select": true,
|
|
497
|
+
"clear-search-on-blur": () => false,
|
|
498
|
+
filterable: false,
|
|
499
|
+
onSearch: $options.onSearch
|
|
500
|
+
}, {
|
|
501
|
+
option: withCtx((option) => [
|
|
502
|
+
option.isLink ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
503
|
+
createVNode(_component_LinkVariantIcon, {
|
|
504
|
+
class: "link-icon",
|
|
505
|
+
size: 20
|
|
506
|
+
}),
|
|
507
|
+
createElementVNode("span", null, toDisplayString(option.title), 1)
|
|
508
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
509
|
+
createElementVNode("img", {
|
|
510
|
+
class: "provider-icon",
|
|
511
|
+
src: option.icon_url,
|
|
512
|
+
alt: $data.providerIconAlt
|
|
513
|
+
}, null, 8, _hoisted_4$2),
|
|
514
|
+
createVNode(_component_NcHighlight, {
|
|
515
|
+
class: "option-text",
|
|
516
|
+
search: $data.query,
|
|
517
|
+
text: option.title
|
|
518
|
+
}, null, 8, ["search", "text"])
|
|
519
|
+
]))
|
|
520
|
+
]),
|
|
521
|
+
_: 1
|
|
522
|
+
}, 8, ["modelValue", "placeholder", "options", "onSearch", "onUpdate:modelValue"]),
|
|
523
|
+
createVNode(_component_NcEmptyContent, { class: "provider-list--empty-content" }, {
|
|
524
|
+
icon: withCtx(() => [
|
|
525
|
+
createVNode(_component_LinkVariantIcon)
|
|
526
|
+
]),
|
|
527
|
+
_: 1
|
|
528
|
+
})
|
|
529
|
+
]);
|
|
530
|
+
}
|
|
531
|
+
const NcProviderList = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-d05c354b"]]);
|
|
532
|
+
register(t21);
|
|
533
|
+
const _sfc_main$4 = {
|
|
534
|
+
name: "NcRawLinkInput",
|
|
535
|
+
components: {
|
|
536
|
+
LinkVariantIcon,
|
|
537
|
+
NcEmptyContent,
|
|
538
|
+
NcLoadingIcon,
|
|
539
|
+
NcReferenceWidget,
|
|
540
|
+
NcTextField
|
|
541
|
+
},
|
|
542
|
+
props: {
|
|
543
|
+
/**
|
|
544
|
+
* The reference provider
|
|
545
|
+
*/
|
|
546
|
+
provider: {
|
|
547
|
+
type: Object,
|
|
548
|
+
required: true
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
emits: [
|
|
552
|
+
"submit"
|
|
553
|
+
],
|
|
554
|
+
data() {
|
|
555
|
+
return {
|
|
556
|
+
inputValue: "",
|
|
557
|
+
loading: false,
|
|
558
|
+
reference: null,
|
|
559
|
+
abortController: null,
|
|
560
|
+
inputPlaceholder: t("Enter link")
|
|
561
|
+
};
|
|
562
|
+
},
|
|
563
|
+
computed: {
|
|
564
|
+
isLinkValid() {
|
|
565
|
+
return isUrl(this.inputValue);
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
methods: {
|
|
569
|
+
focus() {
|
|
570
|
+
this.$refs["url-input"].$el.getElementsByTagName("input")[0]?.focus();
|
|
571
|
+
},
|
|
572
|
+
onSubmit(e) {
|
|
573
|
+
const value = e.target.value;
|
|
574
|
+
if (this.isLinkValid) {
|
|
575
|
+
this.$emit("submit", value);
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
onClear() {
|
|
579
|
+
this.inputValue = "";
|
|
580
|
+
this.reference = null;
|
|
581
|
+
},
|
|
582
|
+
onInput() {
|
|
583
|
+
this.reference = null;
|
|
584
|
+
if (this.abortController) {
|
|
585
|
+
this.abortController.abort();
|
|
586
|
+
}
|
|
587
|
+
if (this.isLinkValid) {
|
|
588
|
+
delay(() => {
|
|
589
|
+
this.updateReference();
|
|
590
|
+
}, 500)();
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
updateReference() {
|
|
594
|
+
this.loading = true;
|
|
595
|
+
this.abortController = new AbortController();
|
|
596
|
+
axios.get(generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
|
|
597
|
+
signal: this.abortController.signal
|
|
598
|
+
}).then((response) => {
|
|
599
|
+
this.reference = response.data.ocs.data.references[this.inputValue];
|
|
600
|
+
}).catch((error) => {
|
|
601
|
+
console.error(error);
|
|
602
|
+
}).then(() => {
|
|
603
|
+
this.loading = false;
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
};
|
|
608
|
+
const _hoisted_1$4 = { class: "raw-link" };
|
|
609
|
+
const _hoisted_2$3 = { class: "input-wrapper" };
|
|
610
|
+
const _hoisted_3$2 = ["src"];
|
|
611
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
612
|
+
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
613
|
+
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
614
|
+
const _component_NcTextField = resolveComponent("NcTextField");
|
|
615
|
+
const _component_NcReferenceWidget = resolveComponent("NcReferenceWidget");
|
|
616
|
+
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
617
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
618
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
619
|
+
createVNode(_component_NcTextField, {
|
|
620
|
+
ref: "url-input",
|
|
621
|
+
modelValue: $data.inputValue,
|
|
622
|
+
"onUpdate:modelValue": [
|
|
623
|
+
_cache[0] || (_cache[0] = ($event) => $data.inputValue = $event),
|
|
624
|
+
$options.onInput
|
|
625
|
+
],
|
|
626
|
+
"show-trailing-button": $data.inputValue !== "",
|
|
627
|
+
label: $data.inputPlaceholder,
|
|
628
|
+
onTrailingButtonClick: $options.onClear,
|
|
629
|
+
onKeyup: withKeys($options.onSubmit, ["enter"])
|
|
630
|
+
}, {
|
|
631
|
+
default: withCtx(() => [
|
|
632
|
+
$data.loading ? (openBlock(), createBlock(_component_NcLoadingIcon, {
|
|
633
|
+
key: 0,
|
|
634
|
+
size: 16
|
|
635
|
+
})) : (openBlock(), createBlock(_component_LinkVariantIcon, {
|
|
636
|
+
key: 1,
|
|
637
|
+
size: 16
|
|
638
|
+
}))
|
|
639
|
+
]),
|
|
640
|
+
_: 1
|
|
641
|
+
}, 8, ["modelValue", "show-trailing-button", "label", "onTrailingButtonClick", "onUpdate:modelValue", "onKeyup"])
|
|
642
|
+
]),
|
|
643
|
+
$data.reference !== null ? (openBlock(), createBlock(_component_NcReferenceWidget, {
|
|
644
|
+
key: 0,
|
|
645
|
+
class: "reference-widget",
|
|
646
|
+
reference: $data.reference
|
|
647
|
+
}, null, 8, ["reference"])) : (openBlock(), createBlock(_component_NcEmptyContent, {
|
|
648
|
+
key: 1,
|
|
649
|
+
class: "raw-link--empty-content"
|
|
650
|
+
}, {
|
|
651
|
+
icon: withCtx(() => [
|
|
652
|
+
$props.provider.icon_url ? (openBlock(), createElementBlock("img", {
|
|
653
|
+
key: 0,
|
|
654
|
+
class: "provider-icon",
|
|
655
|
+
src: $props.provider.icon_url
|
|
656
|
+
}, null, 8, _hoisted_3$2)) : (openBlock(), createBlock(_component_LinkVariantIcon, { key: 1 }))
|
|
657
|
+
]),
|
|
658
|
+
_: 1
|
|
659
|
+
}))
|
|
660
|
+
]);
|
|
661
|
+
}
|
|
662
|
+
const NcRawLinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-b84f647b"]]);
|
|
663
|
+
const _sfc_main$3 = {
|
|
664
|
+
name: "NcSearchResult",
|
|
665
|
+
components: {
|
|
666
|
+
NcHighlight: _sfc_main$9
|
|
667
|
+
},
|
|
668
|
+
props: {
|
|
669
|
+
/**
|
|
670
|
+
* Unified search result entry
|
|
671
|
+
*/
|
|
672
|
+
entry: {
|
|
673
|
+
type: Object,
|
|
674
|
+
required: true
|
|
675
|
+
},
|
|
676
|
+
/**
|
|
677
|
+
* The query that led to getting this result
|
|
678
|
+
* Used to highlight the entry text
|
|
679
|
+
*/
|
|
680
|
+
query: {
|
|
681
|
+
type: String,
|
|
682
|
+
required: true
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
};
|
|
686
|
+
const _hoisted_1$3 = { class: "result" };
|
|
687
|
+
const _hoisted_2$2 = ["src"];
|
|
688
|
+
const _hoisted_3$1 = { class: "result--content" };
|
|
689
|
+
const _hoisted_4$1 = { class: "result--content--name" };
|
|
690
|
+
const _hoisted_5$1 = { class: "result--content--subline" };
|
|
691
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
692
|
+
const _component_NcHighlight = resolveComponent("NcHighlight");
|
|
693
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
694
|
+
$props.entry.icon ? (openBlock(), createElementBlock("div", {
|
|
695
|
+
key: 0,
|
|
696
|
+
class: normalizeClass([{ [$props.entry.icon]: true, rounded: $props.entry.rounded }, "result--icon-class"])
|
|
697
|
+
}, null, 2)) : (openBlock(), createElementBlock("img", {
|
|
698
|
+
key: 1,
|
|
699
|
+
class: normalizeClass(["result--image", { rounded: $props.entry.rounded }]),
|
|
700
|
+
src: $props.entry.thumbnailUrl
|
|
701
|
+
}, null, 10, _hoisted_2$2)),
|
|
702
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
703
|
+
createElementVNode("span", _hoisted_4$1, [
|
|
704
|
+
createVNode(_component_NcHighlight, {
|
|
705
|
+
search: $props.query,
|
|
706
|
+
text: $props.entry.title
|
|
707
|
+
}, null, 8, ["search", "text"])
|
|
708
|
+
]),
|
|
709
|
+
createElementVNode("span", _hoisted_5$1, [
|
|
710
|
+
createVNode(_component_NcHighlight, {
|
|
711
|
+
search: $props.query,
|
|
712
|
+
text: $props.entry.subline
|
|
713
|
+
}, null, 8, ["search", "text"])
|
|
714
|
+
])
|
|
715
|
+
])
|
|
716
|
+
]);
|
|
717
|
+
}
|
|
718
|
+
const NcSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-2ae26ab4"]]);
|
|
719
|
+
register(t27, t34, t36);
|
|
720
|
+
const LIMIT = 5;
|
|
721
|
+
const _sfc_main$2 = {
|
|
722
|
+
name: "NcSearch",
|
|
723
|
+
components: {
|
|
724
|
+
LinkVariantIcon,
|
|
725
|
+
DotsHorizontalIcon: DotsHorizontal,
|
|
726
|
+
NcEmptyContent,
|
|
727
|
+
NcSelect,
|
|
728
|
+
NcSearchResult
|
|
729
|
+
},
|
|
730
|
+
props: {
|
|
731
|
+
/**
|
|
732
|
+
* The selected reference provider
|
|
733
|
+
*/
|
|
734
|
+
provider: {
|
|
735
|
+
type: Object,
|
|
736
|
+
required: true
|
|
737
|
+
},
|
|
738
|
+
showEmptyContent: {
|
|
739
|
+
type: Boolean,
|
|
740
|
+
default: true
|
|
741
|
+
},
|
|
742
|
+
searchPlaceholder: {
|
|
743
|
+
type: String,
|
|
744
|
+
default: null
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
emits: [
|
|
748
|
+
"submit"
|
|
749
|
+
],
|
|
750
|
+
data() {
|
|
751
|
+
return {
|
|
752
|
+
searchQuery: "",
|
|
753
|
+
selectedResult: null,
|
|
754
|
+
resultsBySearchProvider: {},
|
|
755
|
+
searching: false,
|
|
756
|
+
searchingMoreOf: null,
|
|
757
|
+
abortController: null,
|
|
758
|
+
noOptionsText: t("Start typing to search"),
|
|
759
|
+
providerIconAlt: t("Provider icon")
|
|
760
|
+
};
|
|
761
|
+
},
|
|
762
|
+
computed: {
|
|
763
|
+
mySearchPlaceholder() {
|
|
764
|
+
return this.searchPlaceholder || t("Search");
|
|
765
|
+
},
|
|
766
|
+
searchProviderIds() {
|
|
767
|
+
return this.provider.search_providers_ids;
|
|
768
|
+
},
|
|
769
|
+
options() {
|
|
770
|
+
if (this.searchQuery === "") {
|
|
771
|
+
return [];
|
|
772
|
+
}
|
|
773
|
+
const options = [];
|
|
774
|
+
if (isUrl(this.searchQuery)) {
|
|
775
|
+
options.push(this.rawLinkEntry);
|
|
776
|
+
}
|
|
777
|
+
options.push(...this.formattedSearchResults);
|
|
778
|
+
return options;
|
|
779
|
+
},
|
|
780
|
+
rawLinkEntry() {
|
|
781
|
+
return {
|
|
782
|
+
id: "rawLinkEntry",
|
|
783
|
+
resourceUrl: this.searchQuery,
|
|
784
|
+
isRawLink: true
|
|
785
|
+
};
|
|
786
|
+
},
|
|
787
|
+
formattedSearchResults() {
|
|
788
|
+
const results = [];
|
|
789
|
+
this.searchProviderIds.forEach((pid) => {
|
|
790
|
+
if (this.resultsBySearchProvider[pid].entries.length > 0) {
|
|
791
|
+
if (this.searchProviderIds.length > 1 || this.resultsBySearchProvider[pid].entries.length > 1) {
|
|
792
|
+
results.push({
|
|
793
|
+
id: "groupTitle-" + pid,
|
|
794
|
+
name: this.resultsBySearchProvider[pid].name,
|
|
795
|
+
isCustomGroupTitle: true,
|
|
796
|
+
providerId: pid
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
const providerEntriesWithId = this.resultsBySearchProvider[pid].entries.map((entry, index) => {
|
|
800
|
+
return {
|
|
801
|
+
id: "provider-" + pid + "-entry-" + index,
|
|
802
|
+
...entry
|
|
803
|
+
};
|
|
804
|
+
});
|
|
805
|
+
results.push(...providerEntriesWithId);
|
|
806
|
+
if (this.resultsBySearchProvider[pid].isPaginated) {
|
|
807
|
+
results.push({
|
|
808
|
+
id: "moreOf-" + pid,
|
|
809
|
+
name: this.resultsBySearchProvider[pid].name,
|
|
810
|
+
isMore: true,
|
|
811
|
+
providerId: pid,
|
|
812
|
+
isLoading: this.searchingMoreOf === pid
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
});
|
|
817
|
+
return results;
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
mounted() {
|
|
821
|
+
this.resetResults();
|
|
822
|
+
},
|
|
823
|
+
beforeUnmount() {
|
|
824
|
+
this.cancelSearchRequests();
|
|
825
|
+
},
|
|
826
|
+
methods: {
|
|
827
|
+
t,
|
|
828
|
+
resetResults() {
|
|
829
|
+
const resultsBySearchProvider = {};
|
|
830
|
+
this.searchProviderIds.forEach((pid) => {
|
|
831
|
+
resultsBySearchProvider[pid] = {
|
|
832
|
+
entries: []
|
|
833
|
+
};
|
|
834
|
+
});
|
|
835
|
+
this.resultsBySearchProvider = resultsBySearchProvider;
|
|
836
|
+
},
|
|
837
|
+
focus() {
|
|
838
|
+
setTimeout(() => {
|
|
839
|
+
this.$refs["search-select"]?.$el?.querySelector("#search-select-input")?.focus();
|
|
840
|
+
}, 300);
|
|
841
|
+
},
|
|
842
|
+
cancelSearchRequests() {
|
|
843
|
+
if (this.abortController) {
|
|
844
|
+
this.abortController.abort();
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
onSearchInput(query) {
|
|
848
|
+
this.searchQuery = query;
|
|
849
|
+
delay(() => {
|
|
850
|
+
this.updateSearch();
|
|
851
|
+
}, 500)();
|
|
852
|
+
},
|
|
853
|
+
onSelectResultSelected(item) {
|
|
854
|
+
if (item !== null) {
|
|
855
|
+
if (item.resourceUrl) {
|
|
856
|
+
this.cancelSearchRequests();
|
|
857
|
+
this.$emit("submit", item.resourceUrl);
|
|
858
|
+
} else if (item.isMore) {
|
|
859
|
+
this.searchMoreOf(item.providerId).then(() => {
|
|
860
|
+
this.selectedResult = null;
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
searchMoreOf(searchProviderId) {
|
|
866
|
+
this.searchingMoreOf = searchProviderId;
|
|
867
|
+
this.cancelSearchRequests();
|
|
868
|
+
return this.searchProviders(searchProviderId);
|
|
869
|
+
},
|
|
870
|
+
updateSearch() {
|
|
871
|
+
this.cancelSearchRequests();
|
|
872
|
+
this.resetResults();
|
|
873
|
+
if (this.searchQuery === "") {
|
|
874
|
+
this.searching = false;
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
877
|
+
return this.searchProviders();
|
|
878
|
+
},
|
|
879
|
+
searchProviders(searchProviderId = null) {
|
|
880
|
+
this.abortController = new AbortController();
|
|
881
|
+
this.searching = true;
|
|
882
|
+
const searchPromises = searchProviderId === null ? [...this.searchProviderIds].map((pid) => {
|
|
883
|
+
return this.searchOneProvider(pid);
|
|
884
|
+
}) : [this.searchOneProvider(searchProviderId, this.resultsBySearchProvider[searchProviderId]?.cursor ?? null)];
|
|
885
|
+
return Promise.allSettled(searchPromises).then((promises) => {
|
|
886
|
+
const isOneCanceled = !!promises.find((p) => {
|
|
887
|
+
return p.status === "rejected" && (p.reason.name === "CanceledError" || p.reason.code === "ERR_CANCELED");
|
|
888
|
+
});
|
|
889
|
+
if (!isOneCanceled) {
|
|
890
|
+
this.searching = false;
|
|
891
|
+
this.searchingMoreOf = null;
|
|
892
|
+
}
|
|
893
|
+
});
|
|
894
|
+
},
|
|
895
|
+
searchOneProvider(providerId, cursor = null) {
|
|
896
|
+
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 });
|
|
897
|
+
return axios.get(url, {
|
|
898
|
+
signal: this.abortController.signal
|
|
899
|
+
}).then((response) => {
|
|
900
|
+
const data = response.data.ocs.data;
|
|
901
|
+
this.resultsBySearchProvider[providerId].name = data.name;
|
|
902
|
+
this.resultsBySearchProvider[providerId].cursor = data.cursor;
|
|
903
|
+
this.resultsBySearchProvider[providerId].isPaginated = data.isPaginated;
|
|
904
|
+
this.resultsBySearchProvider[providerId].entries.push(...data.entries);
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
const _hoisted_1$2 = {
|
|
910
|
+
key: 0,
|
|
911
|
+
class: "custom-option"
|
|
912
|
+
};
|
|
913
|
+
const _hoisted_2$1 = { class: "option-text" };
|
|
914
|
+
const _hoisted_3 = {
|
|
915
|
+
key: 2,
|
|
916
|
+
class: "custom-option group-name"
|
|
917
|
+
};
|
|
918
|
+
const _hoisted_4 = ["src"];
|
|
919
|
+
const _hoisted_5 = { class: "option-text" };
|
|
920
|
+
const _hoisted_6 = {
|
|
921
|
+
key: 3,
|
|
922
|
+
class: /* @__PURE__ */ normalizeClass({ "custom-option": true })
|
|
923
|
+
};
|
|
924
|
+
const _hoisted_7 = {
|
|
925
|
+
key: 0,
|
|
926
|
+
class: "option-simple-icon icon-loading-small"
|
|
927
|
+
};
|
|
928
|
+
const _hoisted_8 = { class: "option-text" };
|
|
929
|
+
const _hoisted_9 = ["alt", "src"];
|
|
930
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
931
|
+
const _component_LinkVariantIcon = resolveComponent("LinkVariantIcon");
|
|
932
|
+
const _component_NcSearchResult = resolveComponent("NcSearchResult");
|
|
933
|
+
const _component_DotsHorizontalIcon = resolveComponent("DotsHorizontalIcon");
|
|
934
|
+
const _component_NcSelect = resolveComponent("NcSelect");
|
|
935
|
+
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
936
|
+
return openBlock(), createElementBlock("div", {
|
|
937
|
+
class: normalizeClass(["smart-picker-search", { "with-empty-content": $props.showEmptyContent }])
|
|
938
|
+
}, [
|
|
939
|
+
createVNode(_component_NcSelect, {
|
|
940
|
+
ref: "search-select",
|
|
941
|
+
modelValue: $data.selectedResult,
|
|
942
|
+
"onUpdate:modelValue": [
|
|
943
|
+
_cache[0] || (_cache[0] = ($event) => $data.selectedResult = $event),
|
|
944
|
+
$options.onSelectResultSelected
|
|
945
|
+
],
|
|
946
|
+
class: "smart-picker-search--select",
|
|
947
|
+
"input-id": "search-select-input",
|
|
948
|
+
label: "name",
|
|
949
|
+
placeholder: $options.mySearchPlaceholder,
|
|
950
|
+
options: $options.options,
|
|
951
|
+
"append-to-body": false,
|
|
952
|
+
"close-on-select": false,
|
|
953
|
+
"clear-search-on-select": false,
|
|
954
|
+
"clear-search-on-blur": () => false,
|
|
955
|
+
"reset-focus-on-options-change": false,
|
|
956
|
+
filterable: false,
|
|
957
|
+
autoscroll: true,
|
|
958
|
+
"reset-on-options-change": false,
|
|
959
|
+
loading: $data.searching,
|
|
960
|
+
onSearch: $options.onSearchInput
|
|
961
|
+
}, {
|
|
962
|
+
option: withCtx((option) => [
|
|
963
|
+
option.isRawLink ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
964
|
+
createVNode(_component_LinkVariantIcon, {
|
|
965
|
+
class: "option-simple-icon",
|
|
966
|
+
size: 20
|
|
967
|
+
}),
|
|
968
|
+
createElementVNode("span", _hoisted_2$1, toDisplayString($options.t("Raw link {options}", { options: option.resourceUrl })), 1)
|
|
969
|
+
])) : option.resourceUrl ? (openBlock(), createBlock(_component_NcSearchResult, {
|
|
970
|
+
key: 1,
|
|
971
|
+
class: "search-result",
|
|
972
|
+
entry: option,
|
|
973
|
+
query: $data.searchQuery
|
|
974
|
+
}, null, 8, ["entry", "query"])) : option.isCustomGroupTitle ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
975
|
+
$props.provider.icon_url ? (openBlock(), createElementBlock("img", {
|
|
976
|
+
key: 0,
|
|
977
|
+
class: "provider-icon group-name-icon",
|
|
978
|
+
src: $props.provider.icon_url
|
|
979
|
+
}, null, 8, _hoisted_4)) : createCommentVNode("", true),
|
|
980
|
+
createElementVNode("span", _hoisted_5, [
|
|
981
|
+
createElementVNode("strong", null, toDisplayString(option.name), 1)
|
|
982
|
+
])
|
|
983
|
+
])) : option.isMore ? (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
984
|
+
option.isLoading ? (openBlock(), createElementBlock("span", _hoisted_7)) : (openBlock(), createBlock(_component_DotsHorizontalIcon, {
|
|
985
|
+
key: 1,
|
|
986
|
+
class: "option-simple-icon",
|
|
987
|
+
size: 20
|
|
988
|
+
})),
|
|
989
|
+
createElementVNode("span", _hoisted_8, toDisplayString($options.t('Load more "{options}"', { options: option.name })), 1)
|
|
990
|
+
])) : createCommentVNode("", true)
|
|
991
|
+
]),
|
|
992
|
+
"no-options": withCtx(() => [
|
|
993
|
+
createTextVNode(toDisplayString($data.noOptionsText), 1)
|
|
994
|
+
]),
|
|
995
|
+
_: 1
|
|
996
|
+
}, 8, ["modelValue", "placeholder", "options", "loading", "onSearch", "onUpdate:modelValue"]),
|
|
997
|
+
$props.showEmptyContent ? (openBlock(), createBlock(_component_NcEmptyContent, {
|
|
998
|
+
key: 0,
|
|
999
|
+
class: "smart-picker-search--empty-content"
|
|
1000
|
+
}, {
|
|
1001
|
+
icon: withCtx(() => [
|
|
1002
|
+
$props.provider.icon_url ? (openBlock(), createElementBlock("img", {
|
|
1003
|
+
key: 0,
|
|
1004
|
+
class: "provider-icon",
|
|
1005
|
+
alt: $data.providerIconAlt,
|
|
1006
|
+
src: $props.provider.icon_url
|
|
1007
|
+
}, null, 8, _hoisted_9)) : (openBlock(), createBlock(_component_LinkVariantIcon, { key: 1 }))
|
|
1008
|
+
]),
|
|
1009
|
+
_: 1
|
|
1010
|
+
})) : createCommentVNode("", true)
|
|
1011
|
+
], 2);
|
|
1012
|
+
}
|
|
1013
|
+
const NcSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-f6cdb836"]]);
|
|
1014
|
+
const MODES = {
|
|
1015
|
+
providerList: 1,
|
|
1016
|
+
standardLinkInput: 2,
|
|
1017
|
+
searchInput: 3,
|
|
1018
|
+
customElement: 4
|
|
1019
|
+
};
|
|
1020
|
+
const _sfc_main$1 = {
|
|
1021
|
+
name: "NcReferencePicker",
|
|
1022
|
+
components: {
|
|
1023
|
+
NcCustomPickerElement,
|
|
1024
|
+
NcProviderList,
|
|
1025
|
+
NcRawLinkInput,
|
|
1026
|
+
NcSearch
|
|
1027
|
+
},
|
|
1028
|
+
props: {
|
|
1029
|
+
/**
|
|
1030
|
+
* Provider to select on creation
|
|
1031
|
+
* Default: null. Show the provider list
|
|
1032
|
+
*/
|
|
1033
|
+
initialProvider: {
|
|
1034
|
+
type: Object,
|
|
1035
|
+
default: () => null
|
|
1036
|
+
},
|
|
1037
|
+
/**
|
|
1038
|
+
* Optional width in pixels
|
|
1039
|
+
* Default: 100%
|
|
1040
|
+
*/
|
|
1041
|
+
width: {
|
|
1042
|
+
type: Number,
|
|
1043
|
+
default: null
|
|
1044
|
+
},
|
|
1045
|
+
/**
|
|
1046
|
+
* Focus on the provider list select input on creation
|
|
1047
|
+
* Default: true
|
|
1048
|
+
*/
|
|
1049
|
+
focusOnCreate: {
|
|
1050
|
+
type: Boolean,
|
|
1051
|
+
default: true
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
emits: [
|
|
1055
|
+
"cancel",
|
|
1056
|
+
"cancel-raw-link",
|
|
1057
|
+
"cancel-search",
|
|
1058
|
+
"provider-selected",
|
|
1059
|
+
"submit"
|
|
1060
|
+
],
|
|
1061
|
+
data() {
|
|
1062
|
+
return {
|
|
1063
|
+
MODES,
|
|
1064
|
+
selectedProvider: this.initialProvider
|
|
1065
|
+
};
|
|
1066
|
+
},
|
|
1067
|
+
computed: {
|
|
1068
|
+
mode() {
|
|
1069
|
+
return this.selectedProvider === null ? MODES.providerList : isCustomPickerElementRegistered(this.selectedProvider.id) ? MODES.customElement : this.selectedProvider.search_providers_ids ? MODES.searchInput : MODES.standardLinkInput;
|
|
1070
|
+
},
|
|
1071
|
+
pickerWrapperStyle() {
|
|
1072
|
+
return {
|
|
1073
|
+
width: this.width ? this.width + "px" : void 0
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
mounted() {
|
|
1078
|
+
if (this.focusOnCreate) {
|
|
1079
|
+
if (this.initialProvider) {
|
|
1080
|
+
setTimeout(() => {
|
|
1081
|
+
this.$refs["url-input"]?.focus();
|
|
1082
|
+
}, 300);
|
|
1083
|
+
} else {
|
|
1084
|
+
this.$nextTick(() => {
|
|
1085
|
+
this.$refs["provider-list"]?.focus();
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
methods: {
|
|
1091
|
+
onEscapePressed() {
|
|
1092
|
+
if (this.selectedProvider !== null) {
|
|
1093
|
+
this.deselectProvider();
|
|
1094
|
+
} else {
|
|
1095
|
+
this.cancelProviderSelection();
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
onProviderSelected(provider) {
|
|
1099
|
+
this.selectedProvider = provider;
|
|
1100
|
+
this.$emit("provider-selected", provider);
|
|
1101
|
+
this.$nextTick(() => {
|
|
1102
|
+
this.$refs["url-input"]?.focus();
|
|
1103
|
+
});
|
|
1104
|
+
},
|
|
1105
|
+
cancelCustomElement() {
|
|
1106
|
+
this.deselectProvider();
|
|
1107
|
+
},
|
|
1108
|
+
cancelSearch() {
|
|
1109
|
+
this.$emit("cancel-search", this.selectedProvider?.title);
|
|
1110
|
+
this.deselectProvider();
|
|
1111
|
+
},
|
|
1112
|
+
cancelRawLinkInput() {
|
|
1113
|
+
this.$emit("cancel-raw-link", this.selectedProvider?.title);
|
|
1114
|
+
this.deselectProvider();
|
|
1115
|
+
},
|
|
1116
|
+
cancelProviderSelection() {
|
|
1117
|
+
this.$emit("cancel");
|
|
1118
|
+
},
|
|
1119
|
+
submitLink(link) {
|
|
1120
|
+
if (this.selectedProvider !== null) {
|
|
1121
|
+
touchProvider(this.selectedProvider.id);
|
|
1122
|
+
}
|
|
1123
|
+
this.$emit("submit", link);
|
|
1124
|
+
this.deselectProvider();
|
|
1125
|
+
},
|
|
1126
|
+
deselectProvider() {
|
|
1127
|
+
this.selectedProvider = null;
|
|
1128
|
+
this.$emit("provider-selected", null);
|
|
1129
|
+
setTimeout(() => {
|
|
1130
|
+
this.$refs["provider-list"]?.focus();
|
|
1131
|
+
}, 300);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
};
|
|
1135
|
+
const _hoisted_1$1 = {
|
|
1136
|
+
key: 3,
|
|
1137
|
+
class: "custom-element-wrapper"
|
|
1138
|
+
};
|
|
1139
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1140
|
+
const _component_NcProviderList = resolveComponent("NcProviderList");
|
|
1141
|
+
const _component_NcRawLinkInput = resolveComponent("NcRawLinkInput");
|
|
1142
|
+
const _component_NcSearch = resolveComponent("NcSearch");
|
|
1143
|
+
const _component_NcCustomPickerElement = resolveComponent("NcCustomPickerElement");
|
|
1144
|
+
return openBlock(), createElementBlock("div", {
|
|
1145
|
+
class: "reference-picker",
|
|
1146
|
+
style: normalizeStyle($options.pickerWrapperStyle),
|
|
1147
|
+
tabindex: "-1",
|
|
1148
|
+
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers((...args) => $options.onEscapePressed && $options.onEscapePressed(...args), ["stop", "prevent"]), ["esc"]))
|
|
1149
|
+
}, [
|
|
1150
|
+
$options.mode === $data.MODES.providerList ? (openBlock(), createBlock(_component_NcProviderList, {
|
|
1151
|
+
key: 0,
|
|
1152
|
+
ref: "provider-list",
|
|
1153
|
+
onSelectProvider: $options.onProviderSelected,
|
|
1154
|
+
onSubmit: $options.submitLink,
|
|
1155
|
+
onCancel: $options.cancelProviderSelection
|
|
1156
|
+
}, null, 8, ["onSelectProvider", "onSubmit", "onCancel"])) : $options.mode === $data.MODES.standardLinkInput ? (openBlock(), createBlock(_component_NcRawLinkInput, {
|
|
1157
|
+
key: 1,
|
|
1158
|
+
ref: "url-input",
|
|
1159
|
+
provider: $data.selectedProvider,
|
|
1160
|
+
onSubmit: $options.submitLink,
|
|
1161
|
+
onCancel: $options.cancelRawLinkInput
|
|
1162
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])) : $options.mode === $data.MODES.searchInput ? (openBlock(), createBlock(_component_NcSearch, {
|
|
1163
|
+
key: 2,
|
|
1164
|
+
ref: "url-input",
|
|
1165
|
+
provider: $data.selectedProvider,
|
|
1166
|
+
onCancel: $options.cancelSearch,
|
|
1167
|
+
onSubmit: $options.submitLink
|
|
1168
|
+
}, null, 8, ["provider", "onCancel", "onSubmit"])) : $options.mode === $data.MODES.customElement ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
1169
|
+
createVNode(_component_NcCustomPickerElement, {
|
|
1170
|
+
provider: $data.selectedProvider,
|
|
1171
|
+
onSubmit: $options.submitLink,
|
|
1172
|
+
onCancel: $options.cancelCustomElement
|
|
1173
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])
|
|
1174
|
+
])) : createCommentVNode("", true)
|
|
1175
|
+
], 36);
|
|
1176
|
+
}
|
|
1177
|
+
const NcReferencePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-f3f0de17"]]);
|
|
1178
|
+
register(t11, t16);
|
|
1179
|
+
const _sfc_main = {
|
|
1180
|
+
name: "NcReferencePickerModal",
|
|
1181
|
+
components: {
|
|
1182
|
+
NcReferencePicker,
|
|
1183
|
+
NcModal,
|
|
1184
|
+
NcButton,
|
|
1185
|
+
ArrowLeftIcon: ArrowLeft,
|
|
1186
|
+
CloseIcon: Close
|
|
1187
|
+
},
|
|
1188
|
+
props: {
|
|
1189
|
+
/**
|
|
1190
|
+
* Provider to select on creation
|
|
1191
|
+
* Show the provider list if no initial one is provided
|
|
1192
|
+
*/
|
|
1193
|
+
initialProvider: {
|
|
1194
|
+
type: Object,
|
|
1195
|
+
default: () => null
|
|
1196
|
+
},
|
|
1197
|
+
/**
|
|
1198
|
+
* Focus on the input item on create
|
|
1199
|
+
*/
|
|
1200
|
+
focusOnCreate: {
|
|
1201
|
+
type: Boolean,
|
|
1202
|
+
default: true
|
|
1203
|
+
},
|
|
1204
|
+
/**
|
|
1205
|
+
* If true, add the modal content to the Viewer trap elements via the event-bus
|
|
1206
|
+
*/
|
|
1207
|
+
isInsideViewer: {
|
|
1208
|
+
type: Boolean,
|
|
1209
|
+
default: false
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
emits: [
|
|
1213
|
+
"cancel",
|
|
1214
|
+
"submit"
|
|
1215
|
+
],
|
|
1216
|
+
data() {
|
|
1217
|
+
return {
|
|
1218
|
+
show: true,
|
|
1219
|
+
selectedProvider: this.initialProvider,
|
|
1220
|
+
backButtonTitle: t("Back to provider selection"),
|
|
1221
|
+
closeButtonTitle: t("Close"),
|
|
1222
|
+
closeButtonLabel: t("Close Smart Picker")
|
|
1223
|
+
};
|
|
1224
|
+
},
|
|
1225
|
+
computed: {
|
|
1226
|
+
isProviderSelected() {
|
|
1227
|
+
return this.selectedProvider !== null;
|
|
1228
|
+
},
|
|
1229
|
+
showBackButton() {
|
|
1230
|
+
return this.initialProvider === null && this.isProviderSelected;
|
|
1231
|
+
},
|
|
1232
|
+
modalSize() {
|
|
1233
|
+
return this.isProviderSelected && isCustomPickerElementRegistered(this.selectedProvider.id) ? getCustomPickerElementSize(this.selectedProvider.id) ?? "large" : "normal";
|
|
1234
|
+
},
|
|
1235
|
+
showModalName() {
|
|
1236
|
+
return !this.isProviderSelected || !isCustomPickerElementRegistered(this.selectedProvider.id);
|
|
1237
|
+
},
|
|
1238
|
+
modalName() {
|
|
1239
|
+
return this.isProviderSelected ? this.selectedProvider.title : t("Smart Picker");
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
mounted() {
|
|
1243
|
+
if (this.isInsideViewer) {
|
|
1244
|
+
const elem = this.$refs.modal_content;
|
|
1245
|
+
emit("viewer:trapElements:changed", elem);
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
methods: {
|
|
1249
|
+
onCancel() {
|
|
1250
|
+
this.show = false;
|
|
1251
|
+
this.$emit("cancel");
|
|
1252
|
+
},
|
|
1253
|
+
onSubmit(value) {
|
|
1254
|
+
this.show = false;
|
|
1255
|
+
this.$emit("submit", value);
|
|
1256
|
+
},
|
|
1257
|
+
onProviderSelect(provider) {
|
|
1258
|
+
this.selectedProvider = provider;
|
|
1259
|
+
if (provider === null && this.initialProvider !== null) {
|
|
1260
|
+
this.onCancel();
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
onBackClicked() {
|
|
1264
|
+
this.$refs.referencePicker.deselectProvider();
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
};
|
|
1268
|
+
const _hoisted_1 = {
|
|
1269
|
+
ref: "modal_content",
|
|
1270
|
+
class: "reference-picker-modal--content"
|
|
1271
|
+
};
|
|
1272
|
+
const _hoisted_2 = { key: 1 };
|
|
1273
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1274
|
+
const _component_ArrowLeftIcon = resolveComponent("ArrowLeftIcon");
|
|
1275
|
+
const _component_NcButton = resolveComponent("NcButton");
|
|
1276
|
+
const _component_CloseIcon = resolveComponent("CloseIcon");
|
|
1277
|
+
const _component_NcReferencePicker = resolveComponent("NcReferencePicker");
|
|
1278
|
+
const _component_NcModal = resolveComponent("NcModal");
|
|
1279
|
+
return $data.show ? (openBlock(), createBlock(_component_NcModal, {
|
|
1280
|
+
key: 0,
|
|
1281
|
+
size: $options.modalSize,
|
|
1282
|
+
"can-close": false,
|
|
1283
|
+
class: "reference-picker-modal",
|
|
1284
|
+
onClose: $options.onCancel
|
|
1285
|
+
}, {
|
|
1286
|
+
default: withCtx(() => [
|
|
1287
|
+
createElementVNode("div", _hoisted_1, [
|
|
1288
|
+
$options.showBackButton ? (openBlock(), createBlock(_component_NcButton, {
|
|
1289
|
+
key: 0,
|
|
1290
|
+
"aria-label": $data.backButtonTitle,
|
|
1291
|
+
title: $data.backButtonTitle,
|
|
1292
|
+
class: "back-button",
|
|
1293
|
+
onClick: $options.onBackClicked
|
|
1294
|
+
}, {
|
|
1295
|
+
icon: withCtx(() => [
|
|
1296
|
+
createVNode(_component_ArrowLeftIcon)
|
|
1297
|
+
]),
|
|
1298
|
+
_: 1
|
|
1299
|
+
}, 8, ["aria-label", "title", "onClick"])) : createCommentVNode("", true),
|
|
1300
|
+
createVNode(_component_NcButton, {
|
|
1301
|
+
"aria-label": $data.closeButtonLabel,
|
|
1302
|
+
title: $data.closeButtonTitle,
|
|
1303
|
+
type: "tertiary",
|
|
1304
|
+
class: "close-button",
|
|
1305
|
+
onClick: $options.onCancel
|
|
1306
|
+
}, {
|
|
1307
|
+
icon: withCtx(() => [
|
|
1308
|
+
createVNode(_component_CloseIcon)
|
|
1309
|
+
]),
|
|
1310
|
+
_: 1
|
|
1311
|
+
}, 8, ["aria-label", "title", "onClick"]),
|
|
1312
|
+
$options.showModalName ? (openBlock(), createElementBlock("h2", _hoisted_2, toDisplayString($options.modalName), 1)) : createCommentVNode("", true),
|
|
1313
|
+
createVNode(_component_NcReferencePicker, {
|
|
1314
|
+
ref: "referencePicker",
|
|
1315
|
+
"initial-provider": $props.initialProvider,
|
|
1316
|
+
"focus-on-create": $props.focusOnCreate,
|
|
1317
|
+
onProviderSelected: $options.onProviderSelect,
|
|
1318
|
+
onSubmit: $options.onSubmit,
|
|
1319
|
+
onCancel: $options.onCancel
|
|
1320
|
+
}, null, 8, ["initial-provider", "focus-on-create", "onProviderSelected", "onSubmit", "onCancel"])
|
|
1321
|
+
], 512)
|
|
1322
|
+
]),
|
|
1323
|
+
_: 1
|
|
1324
|
+
}, 8, ["size", "onClose"])) : createCommentVNode("", true);
|
|
1325
|
+
}
|
|
1326
|
+
const NcReferencePickerModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-53729c60"]]);
|
|
1327
|
+
async function getLinkWithPicker(providerId = null, isInsideViewer = void 0) {
|
|
1328
|
+
return await new Promise((resolve, reject) => {
|
|
1329
|
+
const modalId = "referencePickerModal";
|
|
1330
|
+
const modalElement = document.createElement("div");
|
|
1331
|
+
modalElement.id = modalId;
|
|
1332
|
+
document.body.append(modalElement);
|
|
1333
|
+
const initialProvider = providerId === null ? null : getProvider(providerId) ?? null;
|
|
1334
|
+
const view = createApp(NcReferencePickerModal, {
|
|
1335
|
+
initialProvider,
|
|
1336
|
+
isInsideViewer,
|
|
1337
|
+
onCancel() {
|
|
1338
|
+
view.unmount();
|
|
1339
|
+
reject(new Error("User cancellation"));
|
|
1340
|
+
},
|
|
1341
|
+
onSubmit(link) {
|
|
1342
|
+
view.unmount();
|
|
1343
|
+
resolve(link);
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
view.mount(modalElement);
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
export {
|
|
1350
|
+
NcReferenceWidget as N,
|
|
1351
|
+
anyLinkProviderId as a,
|
|
1352
|
+
getProvider as b,
|
|
1353
|
+
getProviders as c,
|
|
1354
|
+
searchProvider as d,
|
|
1355
|
+
NcReferencePicker as e,
|
|
1356
|
+
NcReferencePickerModal as f,
|
|
1357
|
+
getLinkWithPicker as g,
|
|
1358
|
+
NcSearch as h,
|
|
1359
|
+
sortProviders as s
|
|
1360
|
+
};
|