@nextcloud/vue 8.5.0 → 9.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +88 -0
- package/dist/Components/NcActionButton.cjs +3 -130
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +2 -134
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +1 -1
- package/dist/Components/NcActionCaption.cjs +3 -34
- package/dist/Components/NcActionCaption.cjs.map +1 -1
- package/dist/Components/NcActionCaption.mjs +2 -35
- package/dist/Components/NcActionCaption.mjs.map +1 -1
- package/dist/Components/NcActionCheckbox.cjs +3 -92
- package/dist/Components/NcActionCheckbox.cjs.map +1 -1
- package/dist/Components/NcActionCheckbox.mjs +2 -95
- package/dist/Components/NcActionCheckbox.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +1 -1
- package/dist/Components/NcActionInput.mjs +1 -1
- package/dist/Components/NcActionLink.cjs +3 -76
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +2 -78
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRadio.cjs +3 -99
- package/dist/Components/NcActionRadio.cjs.map +1 -1
- package/dist/Components/NcActionRadio.mjs +2 -102
- package/dist/Components/NcActionRadio.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +3 -47
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +2 -49
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionSeparator.cjs +3 -19
- package/dist/Components/NcActionSeparator.cjs.map +1 -1
- package/dist/Components/NcActionSeparator.mjs +2 -20
- package/dist/Components/NcActionSeparator.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +3 -28
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +2 -30
- package/dist/Components/NcActionText.mjs.map +1 -1
- package/dist/Components/NcActionTextEditable.cjs +3 -80
- package/dist/Components/NcActionTextEditable.cjs.map +1 -1
- package/dist/Components/NcActionTextEditable.mjs +2 -84
- package/dist/Components/NcActionTextEditable.mjs.map +1 -1
- package/dist/Components/NcActions.cjs +1 -1
- package/dist/Components/NcActions.mjs +1 -1
- package/dist/Components/NcAppContent.cjs +1 -1
- package/dist/Components/NcAppContent.mjs +1 -1
- package/dist/Components/NcAppContentDetails.cjs +2 -18
- package/dist/Components/NcAppContentDetails.cjs.map +1 -1
- package/dist/Components/NcAppContentDetails.mjs +2 -19
- package/dist/Components/NcAppContentDetails.mjs.map +1 -1
- package/dist/Components/NcAppContentList.cjs +2 -28
- package/dist/Components/NcAppContentList.cjs.map +1 -1
- package/dist/Components/NcAppContentList.mjs +2 -29
- package/dist/Components/NcAppContentList.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +1 -1
- package/dist/Components/NcAppNavigationIconBullet.cjs +3 -39
- package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
- package/dist/Components/NcAppNavigationIconBullet.mjs +2 -40
- package/dist/Components/NcAppNavigationIconBullet.mjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +1 -1
- package/dist/Components/NcAppNavigationNew.cjs +3 -49
- package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +1 -50
- package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +3 -19
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +2 -20
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +1 -1
- package/dist/Components/NcAppSettingsSection.cjs +3 -54
- package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
- package/dist/Components/NcAppSettingsSection.mjs +2 -55
- package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcAppSidebarTab.cjs +3 -81
- package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.mjs +2 -82
- package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +1 -1
- package/dist/Components/NcBreadcrumb.mjs +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +1 -1
- package/dist/Components/NcButton.cjs +3 -237
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +2 -238
- package/dist/Components/NcButton.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
- package/dist/Components/NcColorPicker.cjs +1 -1
- package/dist/Components/NcColorPicker.mjs +1 -1
- package/dist/Components/NcContent.cjs +1 -1
- package/dist/Components/NcContent.mjs +1 -1
- package/dist/Components/NcCounterBubble.cjs +3 -46
- package/dist/Components/NcCounterBubble.cjs.map +1 -1
- package/dist/Components/NcCounterBubble.mjs +2 -47
- package/dist/Components/NcCounterBubble.mjs.map +1 -1
- package/dist/Components/NcDashboardWidget.cjs +1 -1
- package/dist/Components/NcDashboardWidget.mjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +1 -1
- package/dist/Components/NcDateTime.mjs +1 -1
- package/dist/Components/NcDateTimePicker.cjs +3 -301
- package/dist/Components/NcDateTimePicker.cjs.map +1 -1
- package/dist/Components/NcDateTimePicker.mjs +2 -308
- package/dist/Components/NcDateTimePicker.mjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.cjs +3 -198
- package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +2 -200
- package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
- package/dist/Components/NcDialog.cjs +1 -1
- package/dist/Components/NcDialog.mjs +1 -1
- package/dist/Components/NcDialogButton.cjs +1 -1
- package/dist/Components/NcDialogButton.mjs +1 -1
- package/dist/Components/NcEllipsisedOption.cjs +3 -73
- package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
- package/dist/Components/NcEllipsisedOption.mjs +2 -75
- package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcEmptyContent.cjs +3 -52
- package/dist/Components/NcEmptyContent.cjs.map +1 -1
- package/dist/Components/NcEmptyContent.mjs +2 -53
- package/dist/Components/NcEmptyContent.mjs.map +1 -1
- package/dist/Components/NcGuestContent.cjs +3 -25
- package/dist/Components/NcGuestContent.cjs.map +1 -1
- package/dist/Components/NcGuestContent.mjs +2 -26
- package/dist/Components/NcGuestContent.mjs.map +1 -1
- package/dist/Components/NcHeaderMenu.cjs +1 -1
- package/dist/Components/NcHeaderMenu.mjs +1 -1
- package/dist/Components/NcHighlight.cjs +2 -2
- package/dist/Components/NcHighlight.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +1 -1
- package/dist/Components/NcInputField.cjs +3 -221
- package/dist/Components/NcInputField.cjs.map +1 -1
- package/dist/Components/NcInputField.mjs +2 -226
- package/dist/Components/NcInputField.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +1 -1
- package/dist/Components/NcListItem.mjs +1 -1
- package/dist/Components/NcListItemIcon.cjs +1 -1
- package/dist/Components/NcListItemIcon.mjs +1 -1
- package/dist/Components/NcLoadingIcon.cjs +3 -53
- package/dist/Components/NcLoadingIcon.cjs.map +1 -1
- package/dist/Components/NcLoadingIcon.mjs +2 -54
- package/dist/Components/NcLoadingIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +315 -139
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +326 -149
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +3 -198
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +2 -199
- package/dist/Components/NcNoteCard.mjs.map +1 -1
- package/dist/Components/NcPasswordField.cjs +1 -1
- package/dist/Components/NcPasswordField.mjs +1 -1
- package/dist/Components/NcPopover.cjs +1 -1
- package/dist/Components/NcPopover.mjs +1 -1
- package/dist/Components/NcProgressBar.cjs +1 -1
- package/dist/Components/NcProgressBar.mjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +1 -1
- package/dist/Components/NcRichContenteditable.mjs +2 -2
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +3 -3
- package/dist/Components/NcSavingIndicatorIcon.cjs +1 -1
- package/dist/Components/NcSavingIndicatorIcon.mjs +1 -1
- package/dist/Components/NcSelect.cjs +1 -1
- package/dist/Components/NcSelect.mjs +1 -1
- package/dist/Components/NcSelectTags.cjs +1 -1
- package/dist/Components/NcSelectTags.mjs +1 -1
- package/dist/Components/NcSettingsInputText.cjs +1 -1
- package/dist/Components/NcSettingsInputText.mjs +1 -1
- package/dist/Components/NcSettingsSection.cjs +1 -1
- package/dist/Components/NcSettingsSection.mjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
- package/dist/Components/NcTextArea.cjs +3 -166
- package/dist/Components/NcTextArea.cjs.map +1 -1
- package/dist/Components/NcTextArea.mjs +1 -169
- package/dist/Components/NcTextArea.mjs.map +1 -1
- package/dist/Components/NcTextField.cjs +1 -1
- package/dist/Components/NcTextField.mjs +1 -1
- package/dist/Components/NcTimezonePicker.cjs +1 -1
- package/dist/Components/NcTimezonePicker.mjs +1 -1
- package/dist/Components/NcUserBubble.cjs +1 -1
- package/dist/Components/NcUserBubble.mjs +1 -1
- package/dist/Components/NcUserStatusIcon.cjs +1 -1
- package/dist/Components/NcUserStatusIcon.mjs +1 -1
- package/dist/Components/NcVNodes.cjs +5 -17
- package/dist/Components/NcVNodes.cjs.map +1 -1
- package/dist/Components/NcVNodes.mjs +4 -17
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Composables/useIsFullscreen.cjs +5 -7
- package/dist/Composables/useIsFullscreen.cjs.map +1 -1
- package/dist/Composables/useIsFullscreen.mjs +6 -8
- package/dist/Composables/useIsFullscreen.mjs.map +1 -1
- package/dist/Directives/Focus.cjs +1 -1
- package/dist/Directives/Focus.cjs.map +1 -1
- package/dist/Directives/Focus.mjs +1 -1
- package/dist/Directives/Focus.mjs.map +1 -1
- package/dist/Functions/a11y.cjs +25 -0
- package/dist/Functions/a11y.cjs.map +1 -0
- package/dist/Functions/a11y.mjs +25 -0
- package/dist/Functions/a11y.mjs.map +1 -0
- package/dist/Functions/emoji.cjs +8 -0
- package/dist/Functions/emoji.cjs.map +1 -0
- package/dist/Functions/emoji.mjs +8 -0
- package/dist/Functions/emoji.mjs.map +1 -0
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/richEditor.cjs +1 -1
- package/dist/Mixins/richEditor.mjs +1 -1
- package/dist/assets/NcActionButton-p7spK21h.css +134 -0
- package/dist/assets/NcActionCheckbox-T379T-FC.css +106 -0
- package/dist/assets/NcActionInput-MGVmREKR.css +243 -0
- package/dist/assets/NcActionRadio-UC-7SDBI.css +106 -0
- package/dist/assets/NcActionRouter-g0zV3dVT.css +133 -0
- package/dist/assets/NcActionTextEditable-DE_5Sc0w.css +259 -0
- package/dist/assets/NcActions-cEMOhd0g.css +84 -0
- package/dist/assets/NcAppContent--D5zvLsb.css +115 -0
- package/dist/assets/NcAppNavigation-9xEM_GAn.css +92 -0
- package/dist/assets/NcAppNavigationCaption-0s4Wxc88.css +52 -0
- package/dist/assets/NcAppNavigationItem-V2jQd3bm.css +206 -0
- package/dist/assets/NcAppNavigationNew-PtSC3Wy5.css +36 -0
- package/dist/assets/NcAppNavigationSettings-Q_od5CcP.css +88 -0
- package/dist/assets/NcAppNavigationToggle-egZffUzR.css +38 -0
- package/dist/assets/NcAppSettingsDialog-F29bz2Yx.css +87 -0
- package/dist/assets/NcAppSettingsSection-Gh575p0x.css +41 -0
- package/dist/assets/NcAppSidebar-QQPSZPo9.css +318 -0
- package/dist/assets/NcAppSidebarTab-goNfHK4d.css +45 -0
- package/dist/assets/NcAvatar-qgACiUer.css +144 -0
- package/dist/assets/NcBreadcrumb-ZsIS1jDx.css +80 -0
- package/dist/assets/NcBreadcrumbs-liWjT068.css +49 -0
- package/dist/assets/NcButton-fqTN6SJK.css +204 -0
- package/dist/assets/NcCheckboxRadioSwitch-P71iLdgD.css +199 -0
- package/dist/assets/NcColorPicker-88MDZrB0.css +131 -0
- package/dist/assets/NcContent-ZG2BJ837.css +82 -0
- package/dist/assets/NcDashboardWidget-7x3QrWFu.css +83 -0
- package/dist/assets/NcDateTimePicker-SsDztIsS.css +907 -0
- package/dist/assets/NcDateTimePickerNative-QBosiBWA.css +46 -0
- package/dist/assets/NcDialog-9-cx1V0y.css +115 -0
- package/dist/assets/NcEmojiPicker-KRMyqbWg.css +551 -0
- package/dist/assets/NcEmptyContent-b8eqBVE_.css +75 -0
- package/dist/assets/NcGuestContent-FRQFLxlW.css +51 -0
- package/dist/assets/NcHeaderMenu-j8h_puZT.css +92 -0
- package/dist/assets/NcIconSvgWrapper-0OJxiD3Q.css +44 -0
- package/dist/assets/NcInputConfirmCancel-_GF_RjYc.css +51 -0
- package/dist/assets/NcInputField-42mSa1zm.css +193 -0
- package/dist/assets/NcListItem--i7b67QY.css +165 -0
- package/dist/assets/NcListItemIcon-mlEQ7oK0.css +80 -0
- package/dist/assets/NcModal-DzsqMWSJ.css +298 -0
- package/dist/assets/NcRelatedResourcesPanel-i1-7CClp.css +76 -0
- package/dist/assets/NcRichContenteditable-nUZdQSMZ.css +267 -0
- package/dist/assets/NcSettingsInputText-JpZtS9DS.css +46 -0
- package/dist/assets/NcSettingsSelectGroup-51HMKLZQ.css +34 -0
- package/dist/assets/NcTextArea-6akBm4Ks.css +138 -0
- package/dist/assets/NcUserBubble-t1uOyYCF.css +59 -0
- package/dist/assets/NcUserStatusIcon-AXLspcOQ.css +41 -0
- package/dist/assets/referencePickerModal-G-NTZHL1.css +509 -0
- package/dist/chunks/AlertCircleOutline-Q4EgxGNm.mjs +44 -0
- package/dist/chunks/AlertCircleOutline-Q4EgxGNm.mjs.map +1 -0
- package/dist/chunks/AlertCircleOutline-aU4Cu4IM.cjs +41 -0
- package/dist/chunks/AlertCircleOutline-aU4Cu4IM.cjs.map +1 -0
- package/dist/chunks/ArrowLeft-4DZMGcXE.cjs +41 -0
- package/dist/chunks/ArrowLeft-4DZMGcXE.cjs.map +1 -0
- package/dist/chunks/ArrowLeft-LlLrrfss.mjs +44 -0
- package/dist/chunks/ArrowLeft-LlLrrfss.mjs.map +1 -0
- package/dist/chunks/ArrowRight-Fk_qtqpW.mjs +44 -0
- package/dist/chunks/ArrowRight-Fk_qtqpW.mjs.map +1 -0
- package/dist/chunks/ArrowRight-mI4Fw0h2.cjs +41 -0
- package/dist/chunks/ArrowRight-mI4Fw0h2.cjs.map +1 -0
- package/dist/chunks/Check-SlTPuUzR.cjs +41 -0
- package/dist/chunks/Check-SlTPuUzR.cjs.map +1 -0
- package/dist/chunks/Check-hentWFPd.mjs +44 -0
- package/dist/chunks/Check-hentWFPd.mjs.map +1 -0
- package/dist/chunks/ChevronDown-7w1_NWAd.cjs +41 -0
- package/dist/chunks/ChevronDown-7w1_NWAd.cjs.map +1 -0
- package/dist/chunks/ChevronDown-hP8YKVnf.mjs +44 -0
- package/dist/chunks/ChevronDown-hP8YKVnf.mjs.map +1 -0
- package/dist/chunks/ChevronRight-iDcqZ2Ih.cjs +41 -0
- package/dist/chunks/ChevronRight-iDcqZ2Ih.cjs.map +1 -0
- package/dist/chunks/ChevronRight-xEIO1OE7.mjs +44 -0
- package/dist/chunks/ChevronRight-xEIO1OE7.mjs.map +1 -0
- package/dist/chunks/Close-2nENZfbn.cjs +41 -0
- package/dist/chunks/Close-2nENZfbn.cjs.map +1 -0
- package/dist/chunks/Close-4lZze_oD.mjs +44 -0
- package/dist/chunks/Close-4lZze_oD.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-2GCivGee.mjs +44 -0
- package/dist/chunks/DotsHorizontal-2GCivGee.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-Ehuu1q0g.cjs +41 -0
- package/dist/chunks/DotsHorizontal-Ehuu1q0g.cjs.map +1 -0
- package/dist/chunks/GenColors-avBT67Zu.mjs +142 -0
- package/dist/chunks/GenColors-avBT67Zu.mjs.map +1 -0
- package/dist/chunks/GenColors-ojnUsIA8.cjs +141 -0
- package/dist/chunks/GenColors-ojnUsIA8.cjs.map +1 -0
- package/dist/chunks/NcActionButton-G4OSfyii.cjs +171 -0
- package/dist/chunks/NcActionButton-G4OSfyii.cjs.map +1 -0
- package/dist/chunks/NcActionButton-TAhaLmwa.mjs +178 -0
- package/dist/chunks/NcActionButton-TAhaLmwa.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-0hif9Dcf.mjs +55 -0
- package/dist/chunks/NcActionButtonGroup-0hif9Dcf.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-jTRjqpYM.cjs +50 -0
- package/dist/chunks/NcActionButtonGroup-jTRjqpYM.cjs.map +1 -0
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs +27 -0
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs.map +1 -0
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs +31 -0
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-PWAridhc.mjs +113 -0
- package/dist/chunks/NcActionCheckbox-PWAridhc.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-Z4Wc9828.cjs +107 -0
- package/dist/chunks/NcActionCheckbox-Z4Wc9828.cjs.map +1 -0
- package/dist/chunks/NcActionInput-7-f1OPr6.mjs +346 -0
- package/dist/chunks/NcActionInput-7-f1OPr6.mjs.map +1 -0
- package/dist/chunks/NcActionInput-GuwDt73G.cjs +335 -0
- package/dist/chunks/NcActionInput-GuwDt73G.cjs.map +1 -0
- package/dist/chunks/NcActionLink-QLFtD_iF.cjs +106 -0
- package/dist/chunks/NcActionLink-QLFtD_iF.cjs.map +1 -0
- package/dist/chunks/NcActionLink-YllmwOrF.mjs +111 -0
- package/dist/chunks/NcActionLink-YllmwOrF.mjs.map +1 -0
- package/dist/chunks/NcActionRadio-1U50276u.cjs +115 -0
- package/dist/chunks/NcActionRadio-1U50276u.cjs.map +1 -0
- package/dist/chunks/NcActionRadio-DSBghCIA.mjs +121 -0
- package/dist/chunks/NcActionRadio-DSBghCIA.mjs.map +1 -0
- package/dist/chunks/NcActionRouter-Vg-BSvq7.cjs +70 -0
- package/dist/chunks/NcActionRouter-Vg-BSvq7.cjs.map +1 -0
- package/dist/chunks/NcActionRouter-vBYCxyc1.mjs +75 -0
- package/dist/chunks/NcActionRouter-vBYCxyc1.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs +16 -0
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs +12 -0
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs.map +1 -0
- package/dist/chunks/NcActionText-aWTbDRVH.cjs +52 -0
- package/dist/chunks/NcActionText-aWTbDRVH.cjs.map +1 -0
- package/dist/chunks/NcActionText-p3Ew3r1G.mjs +57 -0
- package/dist/chunks/NcActionText-p3Ew3r1G.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-PAn8Dpv4.mjs +121 -0
- package/dist/chunks/NcActionTextEditable-PAn8Dpv4.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-RUh3BjpU.cjs +114 -0
- package/dist/chunks/NcActionTextEditable-RUh3BjpU.cjs.map +1 -0
- package/dist/chunks/NcActions-6Yv0De7D.mjs +451 -0
- package/dist/chunks/NcActions-6Yv0De7D.mjs.map +1 -0
- package/dist/chunks/NcActions-VJy75Dj8.cjs +443 -0
- package/dist/chunks/NcActions-VJy75Dj8.cjs.map +1 -0
- package/dist/chunks/NcAppContent-khCUrgDu.cjs +264 -0
- package/dist/chunks/NcAppContent-khCUrgDu.cjs.map +1 -0
- package/dist/chunks/NcAppContent-rV1EGzGY.mjs +275 -0
- package/dist/chunks/NcAppContent-rV1EGzGY.mjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs +11 -0
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs +14 -0
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs.map +1 -0
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs +26 -0
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs.map +1 -0
- package/dist/chunks/NcAppContentList-blRtleBI.cjs +23 -0
- package/dist/chunks/NcAppContentList-blRtleBI.cjs.map +1 -0
- package/dist/chunks/NcAppNavigation-qnc3o3YP.cjs +125 -0
- package/dist/chunks/NcAppNavigation-qnc3o3YP.cjs.map +1 -0
- package/dist/chunks/NcAppNavigation-wvBM1j2_.mjs +134 -0
- package/dist/chunks/NcAppNavigation-wvBM1j2_.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-6SpoIhcW.cjs +42 -0
- package/dist/chunks/NcAppNavigationCaption-6SpoIhcW.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-wnBg9gYq.mjs +47 -0
- package/dist/chunks/NcAppNavigationCaption-wnBg9gYq.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs +36 -0
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs +40 -0
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-6kzsp9I8.cjs +595 -0
- package/dist/chunks/NcAppNavigationItem-6kzsp9I8.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-VR6oSt2q.mjs +608 -0
- package/dist/chunks/NcAppNavigationItem-VR6oSt2q.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-AamR4VD3.mjs +56 -0
- package/dist/chunks/NcAppNavigationNew-AamR4VD3.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-ae4GCKxx.cjs +51 -0
- package/dist/chunks/NcAppNavigationNew-ae4GCKxx.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-sZ0DdaXr.cjs +106 -0
- package/dist/chunks/NcAppNavigationNewItem-sZ0DdaXr.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-tSH06MX2.mjs +112 -0
- package/dist/chunks/NcAppNavigationNewItem-tSH06MX2.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-giVx2sHN.mjs +131 -0
- package/dist/chunks/NcAppNavigationSettings-giVx2sHN.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-mYqB3vRb.cjs +128 -0
- package/dist/chunks/NcAppNavigationSettings-mYqB3vRb.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs +9 -0
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs +13 -0
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-DBCPaseG.mjs +136 -0
- package/dist/chunks/NcAppNavigationToggle-DBCPaseG.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-cRUPsHZH.cjs +131 -0
- package/dist/chunks/NcAppNavigationToggle-cRUPsHZH.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-90cJBaTf.mjs +212 -0
- package/dist/chunks/NcAppSettingsDialog-90cJBaTf.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-WvDTWMwC.cjs +204 -0
- package/dist/chunks/NcAppSettingsDialog-WvDTWMwC.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-WcupJObJ.mjs +55 -0
- package/dist/chunks/NcAppSettingsSection-WcupJObJ.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-wLClE1lO.cjs +51 -0
- package/dist/chunks/NcAppSettingsSection-wLClE1lO.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-19vWkj82.cjs +706 -0
- package/dist/chunks/NcAppSidebar-19vWkj82.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-yjd-HiUO.mjs +725 -0
- package/dist/chunks/NcAppSidebar-yjd-HiUO.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab--7BkDK9T.mjs +87 -0
- package/dist/chunks/NcAppSidebarTab--7BkDK9T.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-BeWt8Sdt.cjs +83 -0
- package/dist/chunks/NcAppSidebarTab-BeWt8Sdt.cjs.map +1 -0
- package/dist/chunks/NcAvatar-1MXwkOA2.cjs +516 -0
- package/dist/chunks/NcAvatar-1MXwkOA2.cjs.map +1 -0
- package/dist/chunks/NcAvatar-paLjF9Tc.mjs +532 -0
- package/dist/chunks/NcAvatar-paLjF9Tc.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-X45pwcLq.cjs +208 -0
- package/dist/chunks/NcBreadcrumb-X45pwcLq.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-gB_hnDG_.mjs +216 -0
- package/dist/chunks/NcBreadcrumb-gB_hnDG_.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-N7-Jj_ry.mjs +377 -0
- package/dist/chunks/NcBreadcrumbs-N7-Jj_ry.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-Y8LRE6xz.cjs +365 -0
- package/dist/chunks/NcBreadcrumbs-Y8LRE6xz.cjs.map +1 -0
- package/dist/chunks/NcButton-Uxh-oARg.cjs +245 -0
- package/dist/chunks/NcButton-Uxh-oARg.cjs.map +1 -0
- package/dist/chunks/NcButton-nCkJxwsi.mjs +248 -0
- package/dist/chunks/NcButton-nCkJxwsi.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-Hi5ocuhB.cjs +696 -0
- package/dist/chunks/NcCheckboxRadioSwitch-Hi5ocuhB.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-RgFq8ZUL.mjs +701 -0
- package/dist/chunks/NcCheckboxRadioSwitch-RgFq8ZUL.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-RYt-H2PA.cjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-RYt-H2PA.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-kB-352LR.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-kB-352LR.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-hS0KYrLP.mjs +247 -0
- package/dist/chunks/NcColorPicker-hS0KYrLP.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-rE3Dd7s7.cjs +235 -0
- package/dist/chunks/NcColorPicker-rE3Dd7s7.cjs.map +1 -0
- package/dist/chunks/NcContent-CUWR0V-w.mjs +156 -0
- package/dist/chunks/NcContent-CUWR0V-w.mjs.map +1 -0
- package/dist/chunks/NcContent-fGj1oSM5.cjs +148 -0
- package/dist/chunks/NcContent-fGj1oSM5.cjs.map +1 -0
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs +40 -0
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs.map +1 -0
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs +44 -0
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-DC4_9Yv_.mjs +169 -0
- package/dist/chunks/NcDashboardWidget-DC4_9Yv_.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-fnhMGIb6.cjs +161 -0
- package/dist/chunks/NcDashboardWidget-fnhMGIb6.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-0jGJ_5Nx.cjs +177 -0
- package/dist/chunks/NcDashboardWidgetItem-0jGJ_5Nx.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-TD0N9xlv.mjs +184 -0
- package/dist/chunks/NcDashboardWidgetItem-TD0N9xlv.mjs.map +1 -0
- package/dist/chunks/NcDateTime-EnQV6T52.mjs +140 -0
- package/dist/chunks/NcDateTime-EnQV6T52.mjs.map +1 -0
- package/dist/chunks/NcDateTime-m_WZoAvd.cjs +136 -0
- package/dist/chunks/NcDateTime-m_WZoAvd.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-4edYzlVf.cjs +326 -0
- package/dist/chunks/NcDateTimePicker-4edYzlVf.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-GHt3kJ7B.mjs +336 -0
- package/dist/chunks/NcDateTimePicker-GHt3kJ7B.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-m30hv5MT.cjs +176 -0
- package/dist/chunks/NcDateTimePickerNative-m30hv5MT.cjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-nDQjZSiZ.mjs +181 -0
- package/dist/chunks/NcDateTimePickerNative-nDQjZSiZ.mjs.map +1 -0
- package/dist/chunks/NcDialog-eZWcoYL9.mjs +243 -0
- package/dist/chunks/NcDialog-eZWcoYL9.mjs.map +1 -0
- package/dist/chunks/NcDialog-qsI2VY8S.cjs +235 -0
- package/dist/chunks/NcDialog-qsI2VY8S.cjs.map +1 -0
- package/dist/chunks/NcDialogButton-Dou0EAc_.cjs +72 -0
- package/dist/chunks/NcDialogButton-Dou0EAc_.cjs.map +1 -0
- package/dist/chunks/NcDialogButton-R-zAILHz.mjs +77 -0
- package/dist/chunks/NcDialogButton-R-zAILHz.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs +86 -0
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs +81 -0
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-84m02Stk.mjs +336 -0
- package/dist/chunks/NcEmojiPicker-84m02Stk.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-hxiKGEHb.cjs +323 -0
- package/dist/chunks/NcEmojiPicker-hxiKGEHb.cjs.map +1 -0
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs +62 -0
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs.map +1 -0
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs +58 -0
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs.map +1 -0
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs +21 -0
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs.map +1 -0
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs +17 -0
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-Eo6rZDeL.cjs +216 -0
- package/dist/chunks/NcHeaderMenu-Eo6rZDeL.cjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-yJJ4FWin.mjs +223 -0
- package/dist/chunks/NcHeaderMenu-yJJ4FWin.mjs.map +1 -0
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs +136 -0
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs.map +1 -0
- package/dist/chunks/NcHighlight-kWLldgWB.mjs +137 -0
- package/dist/chunks/NcHighlight-kWLldgWB.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-gQnsseD2.mjs +82 -0
- package/dist/chunks/NcIconSvgWrapper-gQnsseD2.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-rDMSblV4.cjs +77 -0
- package/dist/chunks/NcIconSvgWrapper-rDMSblV4.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-3c-uWUuw.cjs +105 -0
- package/dist/chunks/NcInputConfirmCancel-3c-uWUuw.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-cDJ5_L-Z.mjs +112 -0
- package/dist/chunks/NcInputConfirmCancel-cDJ5_L-Z.mjs.map +1 -0
- package/dist/chunks/NcInputField-9PAE2ONE.mjs +291 -0
- package/dist/chunks/NcInputField-9PAE2ONE.mjs.map +1 -0
- package/dist/chunks/NcInputField-dP-QARJo.cjs +283 -0
- package/dist/chunks/NcInputField-dP-QARJo.cjs.map +1 -0
- package/dist/chunks/NcListItem-gdczIybY.mjs +344 -0
- package/dist/chunks/NcListItem-gdczIybY.mjs.map +1 -0
- package/dist/chunks/NcListItem-iWTR4IZZ.cjs +337 -0
- package/dist/chunks/NcListItem-iWTR4IZZ.cjs.map +1 -0
- package/dist/chunks/NcListItemIcon-FeNwaJy4.cjs +188 -0
- package/dist/chunks/NcListItemIcon-FeNwaJy4.cjs.map +1 -0
- package/dist/chunks/NcListItemIcon-XsKTtITp.mjs +192 -0
- package/dist/chunks/NcListItemIcon-XsKTtITp.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs +68 -0
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs +64 -0
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs.map +1 -0
- package/dist/chunks/NcNoteCard-IAgTi5HW.cjs +224 -0
- package/dist/chunks/NcNoteCard-IAgTi5HW.cjs.map +1 -0
- package/dist/chunks/NcNoteCard-joOYqjyF.mjs +228 -0
- package/dist/chunks/NcNoteCard-joOYqjyF.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-8NI5u7lk.mjs +265 -0
- package/dist/chunks/NcPasswordField-8NI5u7lk.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-QA6kIMu2.cjs +255 -0
- package/dist/chunks/NcPasswordField-QA6kIMu2.cjs.map +1 -0
- package/dist/chunks/NcPopover-HwP68PjO.mjs +224 -0
- package/dist/chunks/NcPopover-HwP68PjO.mjs.map +1 -0
- package/dist/chunks/NcPopover-sVfBFdPh.cjs +217 -0
- package/dist/chunks/NcPopover-sVfBFdPh.cjs.map +1 -0
- package/dist/chunks/NcProgressBar-3p3Phbcw.cjs +123 -0
- package/dist/chunks/NcProgressBar-3p3Phbcw.cjs.map +1 -0
- package/dist/chunks/NcProgressBar-KvtCwl-0.mjs +127 -0
- package/dist/chunks/NcProgressBar-KvtCwl-0.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel--UoHihRf.mjs +216 -0
- package/dist/chunks/NcRelatedResourcesPanel--UoHihRf.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-oTY2g2gt.cjs +209 -0
- package/dist/chunks/NcRelatedResourcesPanel-oTY2g2gt.cjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-0x4AmYZf.cjs +528 -0
- package/dist/chunks/NcRichContenteditable-0x4AmYZf.cjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-rSquEMs2.mjs +540 -0
- package/dist/chunks/NcRichContenteditable-rSquEMs2.mjs.map +1 -0
- package/dist/chunks/NcRichText-S8FLpGCe.cjs +319 -0
- package/dist/chunks/NcRichText-S8FLpGCe.cjs.map +1 -0
- package/dist/chunks/NcRichText-_MNRVaQB.mjs +336 -0
- package/dist/chunks/NcRichText-_MNRVaQB.mjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs +71 -0
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs +74 -0
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs.map +1 -0
- package/dist/chunks/NcSelect-9cM-OGdn.cjs +498 -0
- package/dist/chunks/NcSelect-9cM-OGdn.cjs.map +1 -0
- package/dist/chunks/NcSelect-w_Gt1U72.mjs +510 -0
- package/dist/chunks/NcSelect-w_Gt1U72.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-6F9oTRUw.mjs +272 -0
- package/dist/chunks/NcSelectTags-6F9oTRUw.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-vm5Fx2H5.cjs +265 -0
- package/dist/chunks/NcSelectTags-vm5Fx2H5.cjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-KTYvd9zc.mjs +113 -0
- package/dist/chunks/NcSettingsInputText-KTYvd9zc.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-wY_R_c6S.cjs +108 -0
- package/dist/chunks/NcSettingsInputText-wY_R_c6S.cjs.map +1 -0
- package/dist/chunks/NcSettingsSection-2TP0NQPH.cjs +114 -0
- package/dist/chunks/NcSettingsSection-2TP0NQPH.cjs.map +1 -0
- package/dist/chunks/NcSettingsSection-dEPaFL2w.mjs +118 -0
- package/dist/chunks/NcSettingsSection-dEPaFL2w.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-JfvkEnNr.mjs +208 -0
- package/dist/chunks/NcSettingsSelectGroup-JfvkEnNr.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-p8cgn6pv.cjs +199 -0
- package/dist/chunks/NcSettingsSelectGroup-p8cgn6pv.cjs.map +1 -0
- package/dist/chunks/NcTextArea-dRgNOiSU.mjs +203 -0
- package/dist/chunks/NcTextArea-dRgNOiSU.mjs.map +1 -0
- package/dist/chunks/NcTextArea-hNPj4rEs.cjs +196 -0
- package/dist/chunks/NcTextArea-hNPj4rEs.cjs.map +1 -0
- package/dist/chunks/NcTextField-avDV7Ry_.mjs +165 -0
- package/dist/chunks/NcTextField-avDV7Ry_.mjs.map +1 -0
- package/dist/chunks/NcTextField-bz_keSKF.cjs +158 -0
- package/dist/chunks/NcTextField-bz_keSKF.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-YNWJXRnl.cjs +7202 -0
- package/dist/chunks/NcTimezonePicker-YNWJXRnl.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-wLjOcbbU.mjs +7209 -0
- package/dist/chunks/NcTimezonePicker-wLjOcbbU.mjs.map +1 -0
- package/dist/chunks/NcUserBubble-epl-RDQa.cjs +198 -0
- package/dist/chunks/NcUserBubble-epl-RDQa.cjs.map +1 -0
- package/dist/chunks/NcUserBubble-fA1TQtnx.mjs +204 -0
- package/dist/chunks/NcUserBubble-fA1TQtnx.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon--z2VUZIt.mjs +171 -0
- package/dist/chunks/NcUserStatusIcon--z2VUZIt.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-swCHU0tl.cjs +163 -0
- package/dist/chunks/NcUserStatusIcon-swCHU0tl.cjs.map +1 -0
- package/dist/chunks/ScopeComponent-4ppIHwI4.cjs +26 -0
- package/dist/chunks/ScopeComponent-4ppIHwI4.cjs.map +1 -0
- package/dist/chunks/ScopeComponent-KbEZrKGJ.mjs +27 -0
- package/dist/chunks/ScopeComponent-KbEZrKGJ.mjs.map +1 -0
- package/dist/chunks/_l10n-JmazR_zZ.mjs +66 -0
- package/dist/chunks/_l10n-JmazR_zZ.mjs.map +1 -0
- package/dist/chunks/_l10n-wK0o0jNS.cjs +64 -0
- package/dist/chunks/_l10n-wK0o0jNS.cjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs +9 -0
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs +8 -0
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs.map +1 -0
- package/dist/chunks/actionGlobal-1onxXJwM.mjs +46 -0
- package/dist/chunks/actionGlobal-1onxXJwM.mjs.map +1 -0
- package/dist/chunks/actionGlobal-kyAHPMcH.cjs +45 -0
- package/dist/chunks/actionGlobal-kyAHPMcH.cjs.map +1 -0
- package/dist/chunks/actionText-IqPIFk1D.mjs +127 -0
- package/dist/chunks/actionText-IqPIFk1D.mjs.map +1 -0
- package/dist/chunks/actionText-WQ07UNmt.cjs +126 -0
- package/dist/chunks/actionText-WQ07UNmt.cjs.map +1 -0
- package/dist/chunks/index-NP8hZQhr.cjs +161 -0
- package/dist/chunks/index-NP8hZQhr.cjs.map +1 -0
- package/dist/chunks/index-hX7KRzaJ.mjs +167 -0
- package/dist/chunks/index-hX7KRzaJ.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-9sd4Ftja.mjs +1114 -0
- package/dist/chunks/referencePickerModal-9sd4Ftja.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-gCkuVbeM.cjs +1096 -0
- package/dist/chunks/referencePickerModal-gCkuVbeM.cjs.map +1 -0
- package/dist/chunks/usernameToColor--FE9Dq8h.cjs +39 -0
- package/dist/chunks/usernameToColor--FE9Dq8h.cjs.map +1 -0
- package/dist/chunks/usernameToColor-t95If_mB.mjs +41 -0
- package/dist/chunks/usernameToColor-t95If_mB.mjs.map +1 -0
- package/dist/cypress/component/NcButton.cy.d.ts +1 -0
- package/dist/cypress/component/NcSelect.cy.d.ts +1 -0
- package/dist/cypress/component/modal.cy.d.ts +1 -0
- package/dist/cypress/component/richtext.cy.d.ts +1 -0
- package/dist/cypress/support/commands.d.ts +1 -0
- package/dist/cypress/support/component.d.ts +8 -0
- package/dist/cypress/visual/AppNavigationItem.cy.d.ts +1 -0
- package/dist/cypress.config.d.ts +3 -0
- package/dist/index.cjs +142 -167
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +179 -205
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/NcActionButton/NcActionButton.vue.d.ts +202 -0
- package/dist/src/components/NcActionButtonGroup/NcActionButtonGroup.vue.d.ts +26 -0
- package/dist/src/components/NcActionCaption/NcActionCaption.vue.d.ts +18 -0
- package/dist/src/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +99 -0
- package/dist/src/components/NcActionInput/NcActionInput.vue.d.ts +261 -0
- package/dist/src/components/NcActionLink/NcActionLink.vue.d.ts +2 -0
- package/dist/src/components/NcActionRadio/NcActionRadio.vue.d.ts +115 -0
- package/dist/src/components/NcActionRouter/NcActionRouter.vue.d.ts +68 -0
- package/dist/src/components/NcActionSeparator/NcActionSeparator.vue.d.ts +2 -0
- package/dist/src/components/NcActionText/NcActionText.vue.d.ts +48 -0
- package/dist/src/components/NcActionTextEditable/NcActionTextEditable.vue.d.ts +113 -0
- package/dist/src/components/NcActions/NcActions.vue.d.ts +321 -0
- package/dist/src/components/NcAppContent/NcAppContent.vue.d.ts +162 -0
- package/dist/src/components/NcAppContent/NcAppDetailsToggle.vue.d.ts +6 -0
- package/dist/src/components/NcAppContentDetails/NcAppContentDetails.vue.d.ts +2 -0
- package/dist/src/components/NcAppContentList/NcAppContentList.vue.d.ts +23 -0
- package/dist/src/components/NcAppNavigation/NcAppNavigation.vue.d.ts +55 -0
- package/dist/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +20 -0
- package/dist/src/components/NcAppNavigationIconBullet/NcAppNavigationIconBullet.vue.d.ts +20 -0
- package/dist/src/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +20 -0
- package/dist/src/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +413 -0
- package/dist/src/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +54 -0
- package/dist/src/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +48 -0
- package/dist/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +92 -0
- package/dist/src/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +37 -0
- package/dist/src/components/NcAppNavigationSpacer/NcAppNavigationSpacer.vue.d.ts +2 -0
- package/dist/src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +18 -0
- package/dist/src/components/NcAppSettingsSection/NcAppSettingsSection.vue.d.ts +24 -0
- package/dist/src/components/NcAppSidebar/NcAppSidebar.vue.d.ts +287 -0
- package/dist/src/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +91 -0
- package/dist/src/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +75 -0
- package/dist/src/components/NcAvatar/NcAvatar.vue.d.ts +348 -0
- package/dist/src/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +197 -0
- package/dist/src/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +145 -0
- package/dist/src/components/NcButton/NcButton.vue.d.ts +236 -0
- package/dist/src/components/NcButton/index.d.ts +22 -0
- package/dist/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue.d.ts +6 -0
- package/dist/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue.d.ts +2 -0
- package/dist/src/components/NcColorPicker/NcColorPicker.vue.d.ts +2 -0
- package/dist/src/components/NcContent/NcContent.vue.d.ts +23 -0
- package/dist/src/components/NcCounterBubble/NcCounterBubble.vue.d.ts +41 -0
- package/dist/src/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +142 -0
- package/dist/src/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +170 -0
- package/dist/src/components/NcDateTime/NcDateTime.vue.d.ts +2 -0
- package/dist/src/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +2 -0
- package/dist/src/components/NcDateTimePickerNative/NcDateTimePickerNative.vue.d.ts +2 -0
- package/dist/src/components/NcDialog/NcDialog.vue.d.ts +2 -0
- package/dist/src/components/NcDialogButton/NcDialogButton.vue.d.ts +2 -0
- package/dist/src/components/NcEllipsisedOption/NcEllipsisedOption.vue.d.ts +48 -0
- package/dist/src/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +184 -0
- package/dist/src/components/NcEmptyContent/NcEmptyContent.vue.d.ts +39 -0
- package/dist/src/components/NcGuestContent/NcGuestContent.vue.d.ts +2 -0
- package/dist/src/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +147 -0
- package/dist/src/components/NcHighlight/NcHighlight.vue.d.ts +65 -0
- package/dist/src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +83 -0
- package/dist/src/components/NcInputField/NcInputField.vue.d.ts +278 -0
- package/dist/src/components/NcListItem/NcListItem.vue.d.ts +259 -0
- package/dist/src/components/NcListItemIcon/NcListItemIcon.vue.d.ts +207 -0
- package/dist/src/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +58 -0
- package/dist/src/components/NcModal/NcModal.vue.d.ts +2 -0
- package/dist/src/components/NcNoteCard/NcNoteCard.vue.d.ts +44 -0
- package/dist/src/components/NcPopover/NcPopover.vue.d.ts +2 -0
- package/dist/src/components/NcPopover/NcPopoverTriggerProvider.vue.d.ts +25 -0
- package/dist/src/components/NcProgressBar/NcProgressBar.vue.d.ts +2 -0
- package/dist/src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +140 -0
- package/dist/src/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +32 -0
- package/dist/src/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +69 -0
- package/dist/src/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +2 -0
- package/dist/src/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +342 -0
- package/dist/src/components/NcRichText/NcReferenceList.vue.d.ts +63 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcCustomPickerElement.vue.d.ts +28 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +16 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +34 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +84 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +72 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +69 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcSearchResult.vue.d.ts +34 -0
- package/dist/src/components/NcRichText/NcReferenceWidget.vue.d.ts +29 -0
- package/dist/src/components/NcRichText/NcRichText.vue.d.ts +140 -0
- package/dist/src/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +73 -0
- package/dist/src/components/NcSelect/NcSelect.vue.d.ts +14 -0
- package/dist/src/components/NcSelectTags/NcSelectTags.vue.d.ts +23 -0
- package/dist/src/components/NcSettingsInputText/NcSettingsInputText.vue.d.ts +97 -0
- package/dist/src/components/NcSettingsSection/NcSettingsSection.vue.d.ts +57 -0
- package/dist/src/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +144 -0
- package/dist/src/components/NcTextArea/NcTextArea.vue.d.ts +205 -0
- package/dist/src/components/NcTextField/NcTextField.vue.d.ts +20 -0
- package/dist/src/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +78 -0
- package/dist/src/components/NcUserBubble/NcUserBubble.vue.d.ts +180 -0
- package/dist/src/components/NcUserBubble/NcUserBubbleDiv.vue.d.ts +2 -0
- package/dist/src/components/NcUserStatusIcon/NcUserStatusIcon.vue.d.ts +2 -0
- package/dist/src/components/NcVNodes/NcVNodes.vue.d.ts +20 -0
- package/dist/src/components/index.d.ts +91 -0
- package/dist/src/directives/index.d.ts +24 -0
- package/dist/src/index.d.ts +27 -0
- package/dist/src/plugin.d.ts +16 -0
- package/dist/src/utils/isSlotPopulated.d.ts +29 -0
- package/dist/tests/unit/components/NcActions/NcActionButton.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcActions/NcActions.spec.d.ts +23 -0
- package/dist/tests/unit/components/NcAppSettingsDialog/NcAppSettingsDialog.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcAvatar/NcAvatar.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcInputField/NcInputField.spec.d.ts +1 -0
- package/dist/tests/unit/components/NcListItemIcon/list-item-icon.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcRichContenteditable/NcRichContenteditable.spec.d.ts +1 -0
- package/dist/tests/unit/plugin.spec.d.ts +22 -0
- package/dist/tests/unit/testing-utils.d.ts +6 -0
- package/dist/tests/unit/utils/isSlotPopulated.spec.d.ts +1 -0
- package/dist/vite.config.d.ts +3 -0
- package/dist/vitest.config.d.ts +3 -0
- package/package.json +35 -40
- package/dist/Mixins/isFullscreen.cjs +0 -35
- package/dist/Mixins/isFullscreen.cjs.map +0 -1
- package/dist/Mixins/isFullscreen.mjs +0 -36
- package/dist/Mixins/isFullscreen.mjs.map +0 -1
- package/dist/Mixins/isMobile.cjs +0 -35
- package/dist/Mixins/isMobile.cjs.map +0 -1
- package/dist/Mixins/isMobile.mjs +0 -36
- package/dist/Mixins/isMobile.mjs.map +0 -1
- package/dist/assets/NcActionButton-YVkNHN_x.css +0 -134
- package/dist/assets/NcActionCheckbox-6Pvlr1E7.css +0 -106
- package/dist/assets/NcActionInput-4zSvDkWm.css +0 -243
- package/dist/assets/NcActionRadio-eOr9Sp-D.css +0 -106
- package/dist/assets/NcActionRouter-MFTD6tYI.css +0 -133
- package/dist/assets/NcActionTextEditable-JrYuWEDd.css +0 -259
- package/dist/assets/NcActions-nAi2TA1m.css +0 -84
- package/dist/assets/NcAppContent-SZz3PTd8.css +0 -115
- package/dist/assets/NcAppNavigation-vjqOL-kR.css +0 -92
- package/dist/assets/NcAppNavigationCaption-l5yRGXZx.css +0 -52
- package/dist/assets/NcAppNavigationItem-n-wauJE7.css +0 -206
- package/dist/assets/NcAppNavigationNew-joyd78FM.css +0 -36
- package/dist/assets/NcAppNavigationSettings-Jx_6RpSn.css +0 -88
- package/dist/assets/NcAppNavigationToggle-upUgYNtL.css +0 -38
- package/dist/assets/NcAppSettingsDialog-8K8FduDk.css +0 -87
- package/dist/assets/NcAppSettingsSection-ahfdhix_.css +0 -41
- package/dist/assets/NcAppSidebar-iU8Zp4Qk.css +0 -318
- package/dist/assets/NcAppSidebarTab-Phau6edJ.css +0 -45
- package/dist/assets/NcAvatar-Vg6Mi1TD.css +0 -144
- package/dist/assets/NcBreadcrumb-M3hqCbqS.css +0 -80
- package/dist/assets/NcBreadcrumbs-KBV0Jccv.css +0 -49
- package/dist/assets/NcButton-DTnreNJ5.css +0 -204
- package/dist/assets/NcCheckboxRadioSwitch-IKpLtz9k.css +0 -199
- package/dist/assets/NcColorPicker-CNX9fj56.css +0 -131
- package/dist/assets/NcContent-LWR23l9i.css +0 -84
- package/dist/assets/NcDashboardWidget-01deRW9Z.css +0 -83
- package/dist/assets/NcDateTimePicker-J_kGHwdu.css +0 -884
- package/dist/assets/NcDateTimePickerNative-2pQS5L0H.css +0 -46
- package/dist/assets/NcDialog-2V180xdm.css +0 -115
- package/dist/assets/NcEmojiPicker-lBXbC6Jd.css +0 -550
- package/dist/assets/NcEmptyContent-pSz7F6Oe.css +0 -75
- package/dist/assets/NcGuestContent-mGGTzI2_.css +0 -51
- package/dist/assets/NcHeaderMenu-P0OkK9WN.css +0 -92
- package/dist/assets/NcIconSvgWrapper-arqrq5Bj.css +0 -44
- package/dist/assets/NcInputConfirmCancel-ks8z8dIn.css +0 -51
- package/dist/assets/NcInputField-Y-Qp3D_b.css +0 -193
- package/dist/assets/NcListItem-xcW2PRrk.css +0 -165
- package/dist/assets/NcListItemIcon-PQ2s6ZqX.css +0 -80
- package/dist/assets/NcModal-QzDLeQrW.css +0 -295
- package/dist/assets/NcRelatedResourcesPanel-m3uf_nvH.css +0 -76
- package/dist/assets/NcRichContenteditable-xiQ4y2Z6.css +0 -267
- package/dist/assets/NcSettingsInputText-MPi6a3Yy.css +0 -46
- package/dist/assets/NcSettingsSelectGroup-_Jpb8yE3.css +0 -34
- package/dist/assets/NcTextArea-K-KVPiMp.css +0 -138
- package/dist/assets/NcUserBubble-jjzI5imn.css +0 -59
- package/dist/assets/NcUserStatusIcon-62u43_6P.css +0 -41
- package/dist/assets/referencePickerModal-VxSowpb5.css +0 -509
- package/dist/chunks/AlertCircleOutline-VgVvRWpm.cjs +0 -35
- package/dist/chunks/AlertCircleOutline-VgVvRWpm.cjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-lwSRucNO.mjs +0 -37
- package/dist/chunks/AlertCircleOutline-lwSRucNO.mjs.map +0 -1
- package/dist/chunks/ArrowLeft-3KC2k3tR.cjs +0 -35
- package/dist/chunks/ArrowLeft-3KC2k3tR.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-buaCjhfr.mjs +0 -37
- package/dist/chunks/ArrowLeft-buaCjhfr.mjs.map +0 -1
- package/dist/chunks/ArrowRight-4p6gv-9o.mjs +0 -37
- package/dist/chunks/ArrowRight-4p6gv-9o.mjs.map +0 -1
- package/dist/chunks/ArrowRight-uEMed4kl.cjs +0 -35
- package/dist/chunks/ArrowRight-uEMed4kl.cjs.map +0 -1
- package/dist/chunks/Check-5uKO4aXx.cjs +0 -35
- package/dist/chunks/Check-5uKO4aXx.cjs.map +0 -1
- package/dist/chunks/Check-FObi_cEO.mjs +0 -37
- package/dist/chunks/Check-FObi_cEO.mjs.map +0 -1
- package/dist/chunks/ChevronDown-TbRvziNU.mjs +0 -37
- package/dist/chunks/ChevronDown-TbRvziNU.mjs.map +0 -1
- package/dist/chunks/ChevronDown-rdCNNu7u.cjs +0 -35
- package/dist/chunks/ChevronDown-rdCNNu7u.cjs.map +0 -1
- package/dist/chunks/ChevronRight-XOmSMmxA.mjs +0 -37
- package/dist/chunks/ChevronRight-XOmSMmxA.mjs.map +0 -1
- package/dist/chunks/ChevronRight-bp7fT1r7.cjs +0 -35
- package/dist/chunks/ChevronRight-bp7fT1r7.cjs.map +0 -1
- package/dist/chunks/Close-5Hzp7J3v.mjs +0 -37
- package/dist/chunks/Close-5Hzp7J3v.mjs.map +0 -1
- package/dist/chunks/Close-QFLrdRdG.cjs +0 -35
- package/dist/chunks/Close-QFLrdRdG.cjs.map +0 -1
- package/dist/chunks/DotsHorizontal-NssXDZGM.mjs +0 -37
- package/dist/chunks/DotsHorizontal-NssXDZGM.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-dlN1WvqM.cjs +0 -35
- package/dist/chunks/DotsHorizontal-dlN1WvqM.cjs.map +0 -1
- package/dist/chunks/GenColors-6mrcK1J2.cjs +0 -141
- package/dist/chunks/GenColors-6mrcK1J2.cjs.map +0 -1
- package/dist/chunks/GenColors-ZwEj275X.mjs +0 -142
- package/dist/chunks/GenColors-ZwEj275X.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs +0 -50
- package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs +0 -45
- package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs.map +0 -1
- package/dist/chunks/NcActionInput-bLRYLx45.cjs +0 -234
- package/dist/chunks/NcActionInput-bLRYLx45.cjs.map +0 -1
- package/dist/chunks/NcActionInput-v8cC8WD4.mjs +0 -244
- package/dist/chunks/NcActionInput-v8cC8WD4.mjs.map +0 -1
- package/dist/chunks/NcActions-7ytNFRBJ.cjs +0 -493
- package/dist/chunks/NcActions-7ytNFRBJ.cjs.map +0 -1
- package/dist/chunks/NcActions-CNDgnRLf.mjs +0 -501
- package/dist/chunks/NcActions-CNDgnRLf.mjs.map +0 -1
- package/dist/chunks/NcAppContent-XBosilQH.mjs +0 -231
- package/dist/chunks/NcAppContent-XBosilQH.mjs.map +0 -1
- package/dist/chunks/NcAppContent-f3dNUfhO.cjs +0 -221
- package/dist/chunks/NcAppContent-f3dNUfhO.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-oke9RxP6.cjs +0 -113
- package/dist/chunks/NcAppNavigation-oke9RxP6.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-qUXaV47L.mjs +0 -122
- package/dist/chunks/NcAppNavigation-qUXaV47L.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs +0 -43
- package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs +0 -508
- package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs +0 -496
- package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs +0 -86
- package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs +0 -91
- package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs +0 -102
- package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs +0 -105
- package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-S4YTmnky.mjs +0 -113
- package/dist/chunks/NcAppNavigationToggle-S4YTmnky.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-Tvz9copM.cjs +0 -109
- package/dist/chunks/NcAppNavigationToggle-Tvz9copM.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs +0 -184
- package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs +0 -176
- package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs +0 -547
- package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs +0 -565
- package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs.map +0 -1
- package/dist/chunks/NcAvatar-1gX-bnpd.mjs +0 -467
- package/dist/chunks/NcAvatar-1gX-bnpd.mjs.map +0 -1
- package/dist/chunks/NcAvatar-8NgbtiTN.cjs +0 -453
- package/dist/chunks/NcAvatar-8NgbtiTN.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs +0 -172
- package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs +0 -179
- package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs +0 -407
- package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs +0 -418
- package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs +0 -607
- package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs +0 -603
- package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-4qA0UWdA.cjs +0 -161
- package/dist/chunks/NcColorPicker-4qA0UWdA.cjs.map +0 -1
- package/dist/chunks/NcColorPicker-aNJDKf-I.mjs +0 -172
- package/dist/chunks/NcColorPicker-aNJDKf-I.mjs.map +0 -1
- package/dist/chunks/NcContent-V1PRVhsU.mjs +0 -131
- package/dist/chunks/NcContent-V1PRVhsU.mjs.map +0 -1
- package/dist/chunks/NcContent-x5KPSopo.cjs +0 -123
- package/dist/chunks/NcContent-x5KPSopo.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs +0 -141
- package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs +0 -134
- package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs +0 -143
- package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs +0 -137
- package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs.map +0 -1
- package/dist/chunks/NcDateTime-22ULCxg8.mjs +0 -146
- package/dist/chunks/NcDateTime-22ULCxg8.mjs.map +0 -1
- package/dist/chunks/NcDateTime-eHTrKYG4.cjs +0 -142
- package/dist/chunks/NcDateTime-eHTrKYG4.cjs.map +0 -1
- package/dist/chunks/NcDialog-KlvRL7k1.cjs +0 -209
- package/dist/chunks/NcDialog-KlvRL7k1.cjs.map +0 -1
- package/dist/chunks/NcDialog-b2LjzZB8.mjs +0 -217
- package/dist/chunks/NcDialog-b2LjzZB8.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-37xKCh_l.cjs +0 -68
- package/dist/chunks/NcDialogButton-37xKCh_l.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs +0 -73
- package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs +0 -249
- package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs +0 -238
- package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs +0 -183
- package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs +0 -190
- package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs +0 -85
- package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs +0 -80
- package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-YzEcukdc.cjs +0 -91
- package/dist/chunks/NcInputConfirmCancel-YzEcukdc.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-lUDtoN2O.mjs +0 -97
- package/dist/chunks/NcInputConfirmCancel-lUDtoN2O.mjs.map +0 -1
- package/dist/chunks/NcListItem-AZpInn_s.mjs +0 -248
- package/dist/chunks/NcListItem-AZpInn_s.mjs.map +0 -1
- package/dist/chunks/NcListItem-bBx6_yWw.cjs +0 -242
- package/dist/chunks/NcListItem-bBx6_yWw.cjs.map +0 -1
- package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs +0 -164
- package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs +0 -160
- package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-YvUbX2WS.cjs +0 -229
- package/dist/chunks/NcPasswordField-YvUbX2WS.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-fNiTJMmG.mjs +0 -238
- package/dist/chunks/NcPasswordField-fNiTJMmG.mjs.map +0 -1
- package/dist/chunks/NcPopover-EXxv8Pzw.cjs +0 -218
- package/dist/chunks/NcPopover-EXxv8Pzw.cjs.map +0 -1
- package/dist/chunks/NcPopover-NyUZ2r7V.mjs +0 -225
- package/dist/chunks/NcPopover-NyUZ2r7V.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-hQCFE5H3.mjs +0 -99
- package/dist/chunks/NcProgressBar-hQCFE5H3.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-yrdD1jxU.cjs +0 -95
- package/dist/chunks/NcProgressBar-yrdD1jxU.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs +0 -199
- package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs +0 -205
- package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs +0 -515
- package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs +0 -504
- package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs.map +0 -1
- package/dist/chunks/NcRichText-7CHftQ4Z.mjs +0 -346
- package/dist/chunks/NcRichText-7CHftQ4Z.mjs.map +0 -1
- package/dist/chunks/NcRichText-SPiEkcnt.cjs +0 -330
- package/dist/chunks/NcRichText-SPiEkcnt.cjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs +0 -62
- package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs +0 -59
- package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs.map +0 -1
- package/dist/chunks/NcSelect-c9-eF29z.cjs +0 -462
- package/dist/chunks/NcSelect-c9-eF29z.cjs.map +0 -1
- package/dist/chunks/NcSelect-zx9IspDS.mjs +0 -474
- package/dist/chunks/NcSelect-zx9IspDS.mjs.map +0 -1
- package/dist/chunks/NcSelectTags-WGdCwmRr.mjs +0 -267
- package/dist/chunks/NcSelectTags-WGdCwmRr.mjs.map +0 -1
- package/dist/chunks/NcSelectTags-doFIXNxC.cjs +0 -261
- package/dist/chunks/NcSelectTags-doFIXNxC.cjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs +0 -95
- package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs +0 -91
- package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs +0 -95
- package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs +0 -98
- package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-Ghgl6Y_d.mjs +0 -192
- package/dist/chunks/NcSettingsSelectGroup-Ghgl6Y_d.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-NhJyFPsw.cjs +0 -184
- package/dist/chunks/NcSettingsSelectGroup-NhJyFPsw.cjs.map +0 -1
- package/dist/chunks/NcTextField-8ap5MAGr.cjs +0 -140
- package/dist/chunks/NcTextField-8ap5MAGr.cjs.map +0 -1
- package/dist/chunks/NcTextField-tIJ3fJ37.mjs +0 -146
- package/dist/chunks/NcTextField-tIJ3fJ37.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs +0 -7205
- package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs +0 -7199
- package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-hfgJXqk2.cjs +0 -191
- package/dist/chunks/NcUserBubble-hfgJXqk2.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-s30BQXdv.mjs +0 -197
- package/dist/chunks/NcUserBubble-s30BQXdv.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs +0 -174
- package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs +0 -166
- package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-9XNLQCuu.mjs +0 -29
- package/dist/chunks/ScopeComponent-9XNLQCuu.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-_Cg8ogL-.cjs +0 -28
- package/dist/chunks/ScopeComponent-_Cg8ogL-.cjs.map +0 -1
- package/dist/chunks/_l10n-juAR1Sua.cjs +0 -64
- package/dist/chunks/_l10n-juAR1Sua.cjs.map +0 -1
- package/dist/chunks/_l10n-tZEKUJRj.mjs +0 -66
- package/dist/chunks/_l10n-tZEKUJRj.mjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-DCfUPqga.cjs +0 -31
- package/dist/chunks/_plugin-vue2_normalizer-DCfUPqga.cjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.mjs +0 -32
- package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.mjs.map +0 -1
- package/dist/chunks/actionGlobal-_f-PhW84.cjs +0 -45
- package/dist/chunks/actionGlobal-_f-PhW84.cjs.map +0 -1
- package/dist/chunks/actionGlobal-ejpd0zqm.mjs +0 -46
- package/dist/chunks/actionGlobal-ejpd0zqm.mjs.map +0 -1
- package/dist/chunks/actionText-AoAs4kqP.mjs +0 -127
- package/dist/chunks/actionText-AoAs4kqP.mjs.map +0 -1
- package/dist/chunks/actionText-pGrMQtZ3.cjs +0 -126
- package/dist/chunks/actionText-pGrMQtZ3.cjs.map +0 -1
- package/dist/chunks/index-2phCrsSH.mjs +0 -149
- package/dist/chunks/index-2phCrsSH.mjs.map +0 -1
- package/dist/chunks/index-AX_b-FPF.cjs +0 -150
- package/dist/chunks/index-AX_b-FPF.cjs.map +0 -1
- package/dist/chunks/index-FO4BaGaF.cjs +0 -148
- package/dist/chunks/index-FO4BaGaF.cjs.map +0 -1
- package/dist/chunks/index-KrMGGc7j.mjs +0 -156
- package/dist/chunks/index-KrMGGc7j.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-jbqYHMmd.mjs +0 -897
- package/dist/chunks/referencePickerModal-jbqYHMmd.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-rHOAeK-a.cjs +0 -879
- package/dist/chunks/referencePickerModal-rHOAeK-a.cjs.map +0 -1
- package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs +0 -39
- package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs.map +0 -1
- package/dist/chunks/usernameToColor-pYptUj7i.mjs +0 -41
- package/dist/chunks/usernameToColor-pYptUj7i.mjs.map +0 -1
- package/dist/plugin.d.ts +0 -17
- /package/dist/{functions → src/functions}/a11y/index.d.ts +0 -0
- /package/dist/{functions → src/functions}/emoji/emoji.d.ts +0 -0
- /package/dist/{functions → src/functions}/emoji/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/UserStatus.d.ts +0 -0
|
@@ -0,0 +1,1096 @@
|
|
|
1
|
+
var at = require("../assets/referencePickerModal-G-NTZHL1.css");
|
|
2
|
+
const e = require("vue"), p = require("./_plugin-vue_export-helper-xG2iG1wl.cjs"), s = require("./_l10n-wK0o0jNS.cjs"), $ = require("@nextcloud/axios"), b = require("@nextcloud/initial-state"), v = require("@nextcloud/router"), k = require("./NcEmptyContent-M3ClqFZe.cjs"), B = require("./NcHighlight-cBMxLCnf.cjs"), E = require("./NcSelect-9cM-OGdn.cjs"), A = require("./NcLoadingIcon-Fwid-wWE.cjs"), H = require("./NcTextField-bz_keSKF.cjs"), Q = require("./DotsHorizontal-Ehuu1q0g.cjs"), G = require("./NcButton-Uxh-oARg.cjs"), F = require("../Components/NcModal.cjs"), K = require("@nextcloud/event-bus"), Z = require("./ArrowLeft-4DZMGcXE.cjs"), J = require("./Close-2nENZfbn.cjs"), X = (t) => t && t.__esModule ? t : { default: t }, g = /* @__PURE__ */ X($);
|
|
3
|
+
window._vue_richtext_widgets || (window._vue_richtext_widgets = {});
|
|
4
|
+
const x = (t) => !!window._vue_richtext_widgets[t], L = (t, r, n = (c) => {
|
|
5
|
+
}) => {
|
|
6
|
+
if (window._vue_richtext_widgets[t]) {
|
|
7
|
+
console.error("Widget for id " + t + " already registered");
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
window._vue_richtext_widgets[t] = {
|
|
11
|
+
id: t,
|
|
12
|
+
callback: r,
|
|
13
|
+
onDestroy: n
|
|
14
|
+
};
|
|
15
|
+
}, V = (t, { richObjectType: r, richObject: n, accessible: c }) => {
|
|
16
|
+
if (r !== "open-graph") {
|
|
17
|
+
if (!window._vue_richtext_widgets[r]) {
|
|
18
|
+
console.error("Widget for rich object type " + r + " not registered");
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
window._vue_richtext_widgets[r].callback(t, { richObjectType: r, richObject: n, accessible: c });
|
|
22
|
+
}
|
|
23
|
+
}, Y = (t, r) => {
|
|
24
|
+
t !== "open-graph" && window._vue_richtext_widgets[t] && window._vue_richtext_widgets[t].onDestroy(r);
|
|
25
|
+
};
|
|
26
|
+
window._registerWidget = L;
|
|
27
|
+
const ee = {
|
|
28
|
+
name: "NcReferenceWidget",
|
|
29
|
+
props: {
|
|
30
|
+
reference: {
|
|
31
|
+
type: Object,
|
|
32
|
+
required: !0
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
data() {
|
|
36
|
+
return {
|
|
37
|
+
compact: 3
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
computed: {
|
|
41
|
+
hasCustomWidget() {
|
|
42
|
+
return x(this.reference.richObjectType);
|
|
43
|
+
},
|
|
44
|
+
noAccess() {
|
|
45
|
+
return this.reference && !this.reference.accessible;
|
|
46
|
+
},
|
|
47
|
+
descriptionStyle() {
|
|
48
|
+
if (this.compact === 0)
|
|
49
|
+
return {
|
|
50
|
+
display: "none"
|
|
51
|
+
};
|
|
52
|
+
const t = this.compact < 4 ? this.compact : 3;
|
|
53
|
+
return {
|
|
54
|
+
lineClamp: t,
|
|
55
|
+
webkitLineClamp: t
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
compactLink() {
|
|
59
|
+
const t = this.reference.openGraphObject.link;
|
|
60
|
+
return t ? t.startsWith("https://") ? t.substring(8) : t.startsWith("http://") ? t.substring(7) : t : "";
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
mounted() {
|
|
64
|
+
this.renderWidget(), this.observer = new ResizeObserver((t) => {
|
|
65
|
+
t[0].contentRect.width < 450 ? this.compact = 0 : t[0].contentRect.width < 550 ? this.compact = 1 : t[0].contentRect.width < 650 ? this.compact = 2 : this.compact = 3;
|
|
66
|
+
}), this.observer.observe(this.$el);
|
|
67
|
+
},
|
|
68
|
+
beforeUnmount() {
|
|
69
|
+
this.observer.disconnect(), Y(this.reference.richObjectType, this.$el);
|
|
70
|
+
},
|
|
71
|
+
methods: {
|
|
72
|
+
renderWidget() {
|
|
73
|
+
this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), this?.reference?.richObjectType !== "open-graph" && this.$nextTick(() => {
|
|
74
|
+
V(this.$refs.customWidget, this.reference);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}, te = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "widget-custom"
|
|
81
|
+
}, re = { ref: "customWidget" }, ne = ["href"], oe = ["src"], ie = { class: "widget-default--details" }, ce = { class: "widget-default--name" }, se = { class: "widget-default--link" };
|
|
82
|
+
function le(t, r, n, c, i, o) {
|
|
83
|
+
return e.openBlock(), e.createElementBlock("div", null, [
|
|
84
|
+
n.reference && o.hasCustomWidget ? (e.openBlock(), e.createElementBlock("div", te, [
|
|
85
|
+
e.createElementVNode("div", re, null, 512)
|
|
86
|
+
])) : !o.noAccess && n.reference && n.reference.openGraphObject && !o.hasCustomWidget ? (e.openBlock(), e.createElementBlock("a", {
|
|
87
|
+
key: 1,
|
|
88
|
+
href: n.reference.openGraphObject.link,
|
|
89
|
+
rel: "noopener noreferrer",
|
|
90
|
+
target: "_blank",
|
|
91
|
+
class: "widget-default"
|
|
92
|
+
}, [
|
|
93
|
+
n.reference.openGraphObject.thumb ? (e.openBlock(), e.createElementBlock("img", {
|
|
94
|
+
key: 0,
|
|
95
|
+
class: "widget-default--image",
|
|
96
|
+
src: n.reference.openGraphObject.thumb
|
|
97
|
+
}, null, 8, oe)) : e.createCommentVNode("", !0),
|
|
98
|
+
e.createElementVNode("div", ie, [
|
|
99
|
+
e.createElementVNode("p", ce, e.toDisplayString(n.reference.openGraphObject.name), 1),
|
|
100
|
+
e.createElementVNode("p", {
|
|
101
|
+
class: "widget-default--description",
|
|
102
|
+
style: e.normalizeStyle(o.descriptionStyle)
|
|
103
|
+
}, e.toDisplayString(n.reference.openGraphObject.description), 5),
|
|
104
|
+
e.createElementVNode("p", se, e.toDisplayString(o.compactLink), 1)
|
|
105
|
+
])
|
|
106
|
+
], 8, ne)) : e.createCommentVNode("", !0)
|
|
107
|
+
]);
|
|
108
|
+
}
|
|
109
|
+
const R = /* @__PURE__ */ p._export_sfc(ee, [["render", le], ["__scopeId", "data-v-6a943e4e"]]);
|
|
110
|
+
window._vue_richtext_custom_picker_elements || (window._vue_richtext_custom_picker_elements = {});
|
|
111
|
+
class ae {
|
|
112
|
+
/**
|
|
113
|
+
* @param {HTMLElement} element The HTML element
|
|
114
|
+
* @param {object} object The object
|
|
115
|
+
*/
|
|
116
|
+
constructor(r, n) {
|
|
117
|
+
this.element = r, this.object = n;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
const _ = (t) => !!window._vue_richtext_custom_picker_elements[t], de = (t) => {
|
|
121
|
+
const r = window._vue_richtext_custom_picker_elements[t]?.size;
|
|
122
|
+
return ["small", "normal", "large", "full"].includes(r) ? r : null;
|
|
123
|
+
}, I = (t, r, n = (i) => {
|
|
124
|
+
}, c = "large") => {
|
|
125
|
+
if (window._vue_richtext_custom_picker_elements[t]) {
|
|
126
|
+
console.error("Custom reference picker element for id " + t + " already registered");
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
window._vue_richtext_custom_picker_elements[t] = {
|
|
130
|
+
id: t,
|
|
131
|
+
callback: r,
|
|
132
|
+
onDestroy: n,
|
|
133
|
+
size: c
|
|
134
|
+
};
|
|
135
|
+
}, q = (t, { providerId: r, accessible: n }) => {
|
|
136
|
+
if (!window._vue_richtext_custom_picker_elements[r]) {
|
|
137
|
+
console.error("Custom reference picker element for reference provider ID " + r + " not registered");
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
return window._vue_richtext_custom_picker_elements[r].callback(t, { providerId: r, accessible: n });
|
|
141
|
+
}, ue = (t, r, n) => {
|
|
142
|
+
window._vue_richtext_custom_picker_elements[t] && window._vue_richtext_custom_picker_elements[t].onDestroy(r, n);
|
|
143
|
+
};
|
|
144
|
+
window._registerCustomPickerElement = I;
|
|
145
|
+
const he = {
|
|
146
|
+
name: "NcCustomPickerElement",
|
|
147
|
+
props: {
|
|
148
|
+
/**
|
|
149
|
+
* The reference provider
|
|
150
|
+
*/
|
|
151
|
+
provider: {
|
|
152
|
+
type: Object,
|
|
153
|
+
required: !0
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
emits: [
|
|
157
|
+
"cancel",
|
|
158
|
+
"submit"
|
|
159
|
+
],
|
|
160
|
+
data() {
|
|
161
|
+
return {
|
|
162
|
+
isRegistered: _(this.provider.id),
|
|
163
|
+
renderResult: null
|
|
164
|
+
};
|
|
165
|
+
},
|
|
166
|
+
mounted() {
|
|
167
|
+
this.isRegistered && this.renderElement();
|
|
168
|
+
},
|
|
169
|
+
beforeUnmount() {
|
|
170
|
+
this.isRegistered && ue(this.provider.id, this.$el, this.renderResult);
|
|
171
|
+
},
|
|
172
|
+
methods: {
|
|
173
|
+
renderElement() {
|
|
174
|
+
this.$refs.domElement && (this.$refs.domElement.innerHTML = "");
|
|
175
|
+
const t = q(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
|
|
176
|
+
Promise.resolve(t).then((r) => {
|
|
177
|
+
this.renderResult = r, this.renderResult.object?._isVue && this.renderResult.object?.$on && (this.renderResult.object.$on("submit", this.onSubmit), this.renderResult.object.$on("cancel", this.onCancel)), this.renderResult.element.addEventListener("submit", (n) => {
|
|
178
|
+
this.onSubmit(n.detail);
|
|
179
|
+
}), this.renderResult.element.addEventListener("cancel", this.onCancel);
|
|
180
|
+
});
|
|
181
|
+
},
|
|
182
|
+
onSubmit(t) {
|
|
183
|
+
this.$emit("submit", t);
|
|
184
|
+
},
|
|
185
|
+
onCancel() {
|
|
186
|
+
this.$emit("cancel");
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}, me = { ref: "domElement" };
|
|
190
|
+
function pe(t, r, n, c, i, o) {
|
|
191
|
+
return e.openBlock(), e.createElementBlock("div", me, null, 512);
|
|
192
|
+
}
|
|
193
|
+
const _e = /* @__PURE__ */ p._export_sfc(he, [["render", pe], ["__scopeId", "data-v-d1a1cfc2"]]);
|
|
194
|
+
s.register(s.t7);
|
|
195
|
+
const C = "any-link", O = {
|
|
196
|
+
id: C,
|
|
197
|
+
title: s.t("Any link"),
|
|
198
|
+
icon_url: v.imagePath("core", "filetypes/link.svg")
|
|
199
|
+
};
|
|
200
|
+
window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = b.loadState("core", "reference-provider-list", []));
|
|
201
|
+
window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = b.loadState("core", "reference-provider-timestamps", {}));
|
|
202
|
+
function M(t) {
|
|
203
|
+
return t === C ? O : y().find((r) => r.id === t);
|
|
204
|
+
}
|
|
205
|
+
function y() {
|
|
206
|
+
return window._vue_richtext_reference_providers.filter((t) => {
|
|
207
|
+
const r = !!t.search_providers_ids && t.search_providers_ids.length > 0 || _(t.id);
|
|
208
|
+
return r || console.debug("[smart picker]", t.id, "reference provider is discoverable but does not have any related search provider or custom picker component registered"), r;
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
function W(t) {
|
|
212
|
+
const r = window._vue_richtext_reference_provider_timestamps;
|
|
213
|
+
return t.sort((n, c) => n.order === c.order ? 0 : n.order > c.order ? 1 : -1).sort((n, c) => {
|
|
214
|
+
const i = r[n.id], o = r[c.id];
|
|
215
|
+
return i === o ? 0 : o === void 0 ? -1 : i === void 0 ? 1 : i > o ? -1 : 1;
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
function T(t, r = null) {
|
|
219
|
+
const n = y(), c = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(c, "i"), l = W(n).filter((u) => u.title.match(i)), a = r ? l.slice(0, r) : l;
|
|
220
|
+
return (t === "" || a.length === 0) && a.push(O), a;
|
|
221
|
+
}
|
|
222
|
+
function fe(t) {
|
|
223
|
+
const r = Math.floor(Date.now() / 1e3), n = {
|
|
224
|
+
timestamp: r
|
|
225
|
+
}, c = v.generateOcsUrl("references/provider/{providerId}", { providerId: t });
|
|
226
|
+
g.default.put(c, n).then((i) => {
|
|
227
|
+
window._vue_richtext_reference_provider_timestamps[t] = r;
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
let N = 0;
|
|
231
|
+
function z(t, r) {
|
|
232
|
+
return function() {
|
|
233
|
+
const n = this, c = arguments;
|
|
234
|
+
clearTimeout(N), N = setTimeout(function() {
|
|
235
|
+
t.apply(n, c);
|
|
236
|
+
}, r || 0);
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
function P(t) {
|
|
240
|
+
try {
|
|
241
|
+
return !!new URL(t);
|
|
242
|
+
} catch {
|
|
243
|
+
return !1;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
s.register(s.t33, s.t36);
|
|
247
|
+
const ve = {
|
|
248
|
+
name: "LinkVariantIcon",
|
|
249
|
+
emits: ["click"],
|
|
250
|
+
props: {
|
|
251
|
+
title: {
|
|
252
|
+
type: String
|
|
253
|
+
},
|
|
254
|
+
fillColor: {
|
|
255
|
+
type: String,
|
|
256
|
+
default: "currentColor"
|
|
257
|
+
},
|
|
258
|
+
size: {
|
|
259
|
+
type: Number,
|
|
260
|
+
default: 24
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}, ke = ["aria-hidden", "aria-label"], ge = ["fill", "width", "height"], Ce = { 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" }, ye = { key: 0 };
|
|
264
|
+
function Pe(t, r, n, c, i, o) {
|
|
265
|
+
return e.openBlock(), e.createElementBlock("span", e.mergeProps(t.$attrs, {
|
|
266
|
+
"aria-hidden": !n.title,
|
|
267
|
+
"aria-label": n.title,
|
|
268
|
+
class: "material-design-icon link-variant-icon",
|
|
269
|
+
role: "img",
|
|
270
|
+
onClick: r[0] || (r[0] = (l) => t.$emit("click", l))
|
|
271
|
+
}), [
|
|
272
|
+
(e.openBlock(), e.createElementBlock("svg", {
|
|
273
|
+
fill: n.fillColor,
|
|
274
|
+
class: "material-design-icon__svg",
|
|
275
|
+
width: n.size,
|
|
276
|
+
height: n.size,
|
|
277
|
+
viewBox: "0 0 24 24"
|
|
278
|
+
}, [
|
|
279
|
+
e.createElementVNode("path", Ce, [
|
|
280
|
+
n.title ? (e.openBlock(), e.createElementBlock("title", ye, e.toDisplayString(n.title), 1)) : e.createCommentVNode("", !0)
|
|
281
|
+
])
|
|
282
|
+
], 8, ge))
|
|
283
|
+
], 16, ke);
|
|
284
|
+
}
|
|
285
|
+
const w = /* @__PURE__ */ p._export_sfc(ve, [["render", Pe]]), we = {
|
|
286
|
+
name: "NcProviderList",
|
|
287
|
+
components: {
|
|
288
|
+
NcSelect: E.NcSelect,
|
|
289
|
+
NcHighlight: B._sfc_main,
|
|
290
|
+
NcEmptyContent: k.NcEmptyContent,
|
|
291
|
+
LinkVariantIcon: w
|
|
292
|
+
},
|
|
293
|
+
emits: [
|
|
294
|
+
"select-provider",
|
|
295
|
+
"submit"
|
|
296
|
+
],
|
|
297
|
+
data() {
|
|
298
|
+
return {
|
|
299
|
+
selectedProvider: null,
|
|
300
|
+
query: "",
|
|
301
|
+
multiselectPlaceholder: s.t("Select provider"),
|
|
302
|
+
providerIconAlt: s.t("Provider icon")
|
|
303
|
+
};
|
|
304
|
+
},
|
|
305
|
+
computed: {
|
|
306
|
+
options() {
|
|
307
|
+
const t = [];
|
|
308
|
+
return this.query !== "" && P(this.query) && t.push({
|
|
309
|
+
id: this.query,
|
|
310
|
+
title: this.query,
|
|
311
|
+
isLink: !0
|
|
312
|
+
}), t.push(...T(this.query)), t;
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
methods: {
|
|
316
|
+
focus() {
|
|
317
|
+
setTimeout(() => {
|
|
318
|
+
this.$refs["provider-select"]?.$el?.querySelector("#provider-select-input")?.focus();
|
|
319
|
+
}, 300);
|
|
320
|
+
},
|
|
321
|
+
onProviderSelected(t) {
|
|
322
|
+
t !== null && (t.isLink ? this.$emit("submit", t.title) : this.$emit("select-provider", t), this.selectedProvider = null);
|
|
323
|
+
},
|
|
324
|
+
onSearch(t) {
|
|
325
|
+
this.query = t;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}, Ne = { class: "provider-list" }, Se = {
|
|
329
|
+
key: 0,
|
|
330
|
+
class: "provider"
|
|
331
|
+
}, be = {
|
|
332
|
+
key: 1,
|
|
333
|
+
class: "provider"
|
|
334
|
+
}, Be = ["src", "alt"];
|
|
335
|
+
function Ee(t, r, n, c, i, o) {
|
|
336
|
+
const l = e.resolveComponent("LinkVariantIcon"), a = e.resolveComponent("NcHighlight"), u = e.resolveComponent("NcSelect"), m = e.resolveComponent("NcEmptyContent");
|
|
337
|
+
return e.openBlock(), e.createElementBlock("div", Ne, [
|
|
338
|
+
e.createVNode(u, {
|
|
339
|
+
ref: "provider-select",
|
|
340
|
+
modelValue: i.selectedProvider,
|
|
341
|
+
"onUpdate:modelValue": r[0] || (r[0] = (d) => i.selectedProvider = d),
|
|
342
|
+
class: "provider-list--select",
|
|
343
|
+
"input-id": "provider-select-input",
|
|
344
|
+
label: "title",
|
|
345
|
+
placeholder: i.multiselectPlaceholder,
|
|
346
|
+
options: o.options,
|
|
347
|
+
"append-to-body": !1,
|
|
348
|
+
"clear-search-on-select": !0,
|
|
349
|
+
"clear-search-on-blur": () => !1,
|
|
350
|
+
filterable: !1,
|
|
351
|
+
onSearch: o.onSearch,
|
|
352
|
+
onInput: o.onProviderSelected
|
|
353
|
+
}, {
|
|
354
|
+
option: e.withCtx((d) => [
|
|
355
|
+
d.isLink ? (e.openBlock(), e.createElementBlock("div", Se, [
|
|
356
|
+
e.createVNode(l, {
|
|
357
|
+
class: "link-icon",
|
|
358
|
+
size: 20
|
|
359
|
+
}),
|
|
360
|
+
e.createElementVNode("span", null, e.toDisplayString(d.title), 1)
|
|
361
|
+
])) : (e.openBlock(), e.createElementBlock("div", be, [
|
|
362
|
+
e.createElementVNode("img", {
|
|
363
|
+
class: "provider-icon",
|
|
364
|
+
src: d.icon_url,
|
|
365
|
+
alt: i.providerIconAlt
|
|
366
|
+
}, null, 8, Be),
|
|
367
|
+
e.createVNode(a, {
|
|
368
|
+
class: "option-text",
|
|
369
|
+
search: i.query,
|
|
370
|
+
text: d.title
|
|
371
|
+
}, null, 8, ["search", "text"])
|
|
372
|
+
]))
|
|
373
|
+
]),
|
|
374
|
+
_: 1
|
|
375
|
+
}, 8, ["modelValue", "placeholder", "options", "onSearch", "onInput"]),
|
|
376
|
+
e.createVNode(m, { class: "provider-list--empty-content" }, {
|
|
377
|
+
icon: e.withCtx(() => [
|
|
378
|
+
e.createVNode(l)
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})
|
|
382
|
+
]);
|
|
383
|
+
}
|
|
384
|
+
const xe = /* @__PURE__ */ p._export_sfc(we, [["render", Ee], ["__scopeId", "data-v-22ce9632"]]);
|
|
385
|
+
s.register(s.t20);
|
|
386
|
+
const Le = {
|
|
387
|
+
name: "NcRawLinkInput",
|
|
388
|
+
components: {
|
|
389
|
+
LinkVariantIcon: w,
|
|
390
|
+
NcEmptyContent: k.NcEmptyContent,
|
|
391
|
+
NcLoadingIcon: A.NcLoadingIcon,
|
|
392
|
+
NcReferenceWidget: R,
|
|
393
|
+
NcTextField: H.NcTextField
|
|
394
|
+
},
|
|
395
|
+
props: {
|
|
396
|
+
/**
|
|
397
|
+
* The reference provider
|
|
398
|
+
*/
|
|
399
|
+
provider: {
|
|
400
|
+
type: Object,
|
|
401
|
+
required: !0
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
emits: [
|
|
405
|
+
"submit"
|
|
406
|
+
],
|
|
407
|
+
data() {
|
|
408
|
+
return {
|
|
409
|
+
inputValue: "",
|
|
410
|
+
loading: !1,
|
|
411
|
+
reference: null,
|
|
412
|
+
abortController: null,
|
|
413
|
+
inputPlaceholder: s.t("Enter link")
|
|
414
|
+
};
|
|
415
|
+
},
|
|
416
|
+
computed: {
|
|
417
|
+
isLinkValid() {
|
|
418
|
+
return P(this.inputValue);
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
methods: {
|
|
422
|
+
focus() {
|
|
423
|
+
this.$refs["url-input"].$el.getElementsByTagName("input")[0]?.focus();
|
|
424
|
+
},
|
|
425
|
+
onSubmit(t) {
|
|
426
|
+
const r = t.target.value;
|
|
427
|
+
this.isLinkValid && this.$emit("submit", r);
|
|
428
|
+
},
|
|
429
|
+
onClear() {
|
|
430
|
+
this.inputValue = "", this.reference = null;
|
|
431
|
+
},
|
|
432
|
+
onInput() {
|
|
433
|
+
this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && z(() => {
|
|
434
|
+
this.updateReference();
|
|
435
|
+
}, 500)();
|
|
436
|
+
},
|
|
437
|
+
updateReference() {
|
|
438
|
+
this.loading = !0, this.abortController = new AbortController(), g.default.get(v.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
|
|
439
|
+
signal: this.abortController.signal
|
|
440
|
+
}).then((t) => {
|
|
441
|
+
this.reference = t.data.ocs.data.references[this.inputValue];
|
|
442
|
+
}).catch((t) => {
|
|
443
|
+
console.error(t);
|
|
444
|
+
}).then(() => {
|
|
445
|
+
this.loading = !1;
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}, Ve = { class: "raw-link" }, Re = { class: "input-wrapper" }, Ie = ["src"];
|
|
450
|
+
function qe(t, r, n, c, i, o) {
|
|
451
|
+
const l = e.resolveComponent("NcLoadingIcon"), a = e.resolveComponent("LinkVariantIcon"), u = e.resolveComponent("NcTextField"), m = e.resolveComponent("NcReferenceWidget"), d = e.resolveComponent("NcEmptyContent");
|
|
452
|
+
return e.openBlock(), e.createElementBlock("div", Ve, [
|
|
453
|
+
e.createElementVNode("div", Re, [
|
|
454
|
+
e.createVNode(u, {
|
|
455
|
+
ref: "url-input",
|
|
456
|
+
modelValue: i.inputValue,
|
|
457
|
+
"onUpdate:modelValue": [
|
|
458
|
+
r[0] || (r[0] = (h) => i.inputValue = h),
|
|
459
|
+
o.onInput
|
|
460
|
+
],
|
|
461
|
+
"show-trailing-button": i.inputValue !== "",
|
|
462
|
+
label: i.inputPlaceholder,
|
|
463
|
+
onTrailingButtonClick: o.onClear,
|
|
464
|
+
onKeyup: e.withKeys(o.onSubmit, ["enter"])
|
|
465
|
+
}, {
|
|
466
|
+
default: e.withCtx(() => [
|
|
467
|
+
i.loading ? (e.openBlock(), e.createBlock(l, {
|
|
468
|
+
key: 0,
|
|
469
|
+
size: 16
|
|
470
|
+
})) : (e.openBlock(), e.createBlock(a, {
|
|
471
|
+
key: 1,
|
|
472
|
+
size: 16
|
|
473
|
+
}))
|
|
474
|
+
]),
|
|
475
|
+
_: 1
|
|
476
|
+
}, 8, ["modelValue", "show-trailing-button", "label", "onTrailingButtonClick", "onUpdate:modelValue", "onKeyup"])
|
|
477
|
+
]),
|
|
478
|
+
i.reference !== null ? (e.openBlock(), e.createBlock(m, {
|
|
479
|
+
key: 0,
|
|
480
|
+
class: "reference-widget",
|
|
481
|
+
reference: i.reference
|
|
482
|
+
}, null, 8, ["reference"])) : (e.openBlock(), e.createBlock(d, {
|
|
483
|
+
key: 1,
|
|
484
|
+
class: "raw-link--empty-content"
|
|
485
|
+
}, {
|
|
486
|
+
icon: e.withCtx(() => [
|
|
487
|
+
n.provider.icon_url ? (e.openBlock(), e.createElementBlock("img", {
|
|
488
|
+
key: 0,
|
|
489
|
+
class: "provider-icon",
|
|
490
|
+
src: n.provider.icon_url
|
|
491
|
+
}, null, 8, Ie)) : (e.openBlock(), e.createBlock(a, { key: 1 }))
|
|
492
|
+
]),
|
|
493
|
+
_: 1
|
|
494
|
+
}))
|
|
495
|
+
]);
|
|
496
|
+
}
|
|
497
|
+
const Oe = /* @__PURE__ */ p._export_sfc(Le, [["render", qe], ["__scopeId", "data-v-5bc24564"]]), Me = {
|
|
498
|
+
name: "NcSearchResult",
|
|
499
|
+
components: {
|
|
500
|
+
NcHighlight: B._sfc_main
|
|
501
|
+
},
|
|
502
|
+
props: {
|
|
503
|
+
/**
|
|
504
|
+
* Unified search result entry
|
|
505
|
+
*/
|
|
506
|
+
entry: {
|
|
507
|
+
type: Object,
|
|
508
|
+
required: !0
|
|
509
|
+
},
|
|
510
|
+
/**
|
|
511
|
+
* The query that led to getting this result
|
|
512
|
+
* Used to highlight the entry text
|
|
513
|
+
*/
|
|
514
|
+
query: {
|
|
515
|
+
type: String,
|
|
516
|
+
required: !0
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}, We = { class: "result" }, Te = ["src"], ze = { class: "result--content" }, De = { class: "result--content--name" }, Ue = { class: "result--content--subline" };
|
|
520
|
+
function je(t, r, n, c, i, o) {
|
|
521
|
+
const l = e.resolveComponent("NcHighlight");
|
|
522
|
+
return e.openBlock(), e.createElementBlock("div", We, [
|
|
523
|
+
n.entry.icon ? (e.openBlock(), e.createElementBlock("div", {
|
|
524
|
+
key: 0,
|
|
525
|
+
class: e.normalizeClass([{ [n.entry.icon]: !0, rounded: n.entry.rounded }, "result--icon-class"])
|
|
526
|
+
}, null, 2)) : (e.openBlock(), e.createElementBlock("img", {
|
|
527
|
+
key: 1,
|
|
528
|
+
class: e.normalizeClass(["result--image", { rounded: n.entry.rounded }]),
|
|
529
|
+
src: n.entry.thumbnailUrl
|
|
530
|
+
}, null, 10, Te)),
|
|
531
|
+
e.createElementVNode("div", ze, [
|
|
532
|
+
e.createElementVNode("span", De, [
|
|
533
|
+
e.createVNode(l, {
|
|
534
|
+
search: n.query,
|
|
535
|
+
text: n.entry.title
|
|
536
|
+
}, null, 8, ["search", "text"])
|
|
537
|
+
]),
|
|
538
|
+
e.createElementVNode("span", Ue, [
|
|
539
|
+
e.createVNode(l, {
|
|
540
|
+
search: n.query,
|
|
541
|
+
text: n.entry.subline
|
|
542
|
+
}, null, 8, ["search", "text"])
|
|
543
|
+
])
|
|
544
|
+
])
|
|
545
|
+
]);
|
|
546
|
+
}
|
|
547
|
+
const $e = /* @__PURE__ */ p._export_sfc(Me, [["render", je], ["__scopeId", "data-v-7a394a58"]]);
|
|
548
|
+
s.register(s.t26, s.t33, s.t34);
|
|
549
|
+
const S = 5, Ae = {
|
|
550
|
+
name: "NcSearch",
|
|
551
|
+
components: {
|
|
552
|
+
LinkVariantIcon: w,
|
|
553
|
+
DotsHorizontalIcon: Q.DotsHorizontal,
|
|
554
|
+
NcEmptyContent: k.NcEmptyContent,
|
|
555
|
+
NcSelect: E.NcSelect,
|
|
556
|
+
NcSearchResult: $e
|
|
557
|
+
},
|
|
558
|
+
props: {
|
|
559
|
+
/**
|
|
560
|
+
* The selected reference provider
|
|
561
|
+
*/
|
|
562
|
+
provider: {
|
|
563
|
+
type: Object,
|
|
564
|
+
required: !0
|
|
565
|
+
},
|
|
566
|
+
showEmptyContent: {
|
|
567
|
+
type: Boolean,
|
|
568
|
+
default: !0
|
|
569
|
+
},
|
|
570
|
+
searchPlaceholder: {
|
|
571
|
+
type: String,
|
|
572
|
+
default: null
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
emits: [
|
|
576
|
+
"submit"
|
|
577
|
+
],
|
|
578
|
+
data() {
|
|
579
|
+
return {
|
|
580
|
+
searchQuery: "",
|
|
581
|
+
selectedResult: null,
|
|
582
|
+
resultsBySearchProvider: {},
|
|
583
|
+
searching: !1,
|
|
584
|
+
searchingMoreOf: null,
|
|
585
|
+
abortController: null,
|
|
586
|
+
noOptionsText: s.t("Start typing to search"),
|
|
587
|
+
providerIconAlt: s.t("Provider icon")
|
|
588
|
+
};
|
|
589
|
+
},
|
|
590
|
+
computed: {
|
|
591
|
+
mySearchPlaceholder() {
|
|
592
|
+
return this.searchPlaceholder || s.t("Search");
|
|
593
|
+
},
|
|
594
|
+
searchProviderIds() {
|
|
595
|
+
return this.provider.search_providers_ids;
|
|
596
|
+
},
|
|
597
|
+
options() {
|
|
598
|
+
if (this.searchQuery === "")
|
|
599
|
+
return [];
|
|
600
|
+
const t = [];
|
|
601
|
+
return P(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
|
|
602
|
+
},
|
|
603
|
+
rawLinkEntry() {
|
|
604
|
+
return {
|
|
605
|
+
id: "rawLinkEntry",
|
|
606
|
+
resourceUrl: this.searchQuery,
|
|
607
|
+
isRawLink: !0
|
|
608
|
+
};
|
|
609
|
+
},
|
|
610
|
+
formattedSearchResults() {
|
|
611
|
+
const t = [];
|
|
612
|
+
return this.searchProviderIds.forEach((r) => {
|
|
613
|
+
if (this.resultsBySearchProvider[r].entries.length > 0) {
|
|
614
|
+
(this.searchProviderIds.length > 1 || this.resultsBySearchProvider[r].entries.length > 1) && t.push({
|
|
615
|
+
id: "groupTitle-" + r,
|
|
616
|
+
name: this.resultsBySearchProvider[r].name,
|
|
617
|
+
isCustomGroupTitle: !0,
|
|
618
|
+
providerId: r
|
|
619
|
+
});
|
|
620
|
+
const n = this.resultsBySearchProvider[r].entries.map((c, i) => ({
|
|
621
|
+
id: "provider-" + r + "-entry-" + i,
|
|
622
|
+
...c
|
|
623
|
+
}));
|
|
624
|
+
t.push(...n), this.resultsBySearchProvider[r].isPaginated && t.push({
|
|
625
|
+
id: "moreOf-" + r,
|
|
626
|
+
name: this.resultsBySearchProvider[r].name,
|
|
627
|
+
isMore: !0,
|
|
628
|
+
providerId: r,
|
|
629
|
+
isLoading: this.searchingMoreOf === r
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
}), t;
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
mounted() {
|
|
636
|
+
this.resetResults();
|
|
637
|
+
},
|
|
638
|
+
beforeUnmount() {
|
|
639
|
+
this.cancelSearchRequests();
|
|
640
|
+
},
|
|
641
|
+
methods: {
|
|
642
|
+
t: s.t,
|
|
643
|
+
resetResults() {
|
|
644
|
+
const t = {};
|
|
645
|
+
this.searchProviderIds.forEach((r) => {
|
|
646
|
+
t[r] = {
|
|
647
|
+
entries: []
|
|
648
|
+
};
|
|
649
|
+
}), this.resultsBySearchProvider = t;
|
|
650
|
+
},
|
|
651
|
+
focus() {
|
|
652
|
+
setTimeout(() => {
|
|
653
|
+
this.$refs["search-select"]?.$el?.querySelector("#search-select-input")?.focus();
|
|
654
|
+
}, 300);
|
|
655
|
+
},
|
|
656
|
+
cancelSearchRequests() {
|
|
657
|
+
this.abortController && this.abortController.abort();
|
|
658
|
+
},
|
|
659
|
+
onSearchInput(t) {
|
|
660
|
+
this.searchQuery = t, z(() => {
|
|
661
|
+
this.updateSearch();
|
|
662
|
+
}, 500)();
|
|
663
|
+
},
|
|
664
|
+
onSelectResultSelected(t) {
|
|
665
|
+
t !== null && (t.resourceUrl ? (this.cancelSearchRequests(), this.$emit("submit", t.resourceUrl)) : t.isMore && this.searchMoreOf(t.providerId).then(() => {
|
|
666
|
+
this.selectedResult = null;
|
|
667
|
+
}));
|
|
668
|
+
},
|
|
669
|
+
searchMoreOf(t) {
|
|
670
|
+
return this.searchingMoreOf = t, this.cancelSearchRequests(), this.searchProviders(t);
|
|
671
|
+
},
|
|
672
|
+
updateSearch() {
|
|
673
|
+
if (this.cancelSearchRequests(), this.resetResults(), this.searchQuery === "") {
|
|
674
|
+
this.searching = !1;
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
return this.searchProviders();
|
|
678
|
+
},
|
|
679
|
+
searchProviders(t = null) {
|
|
680
|
+
this.abortController = new AbortController(), this.searching = !0;
|
|
681
|
+
const r = t === null ? [...this.searchProviderIds].map((n) => this.searchOneProvider(n)) : [this.searchOneProvider(t, this.resultsBySearchProvider[t]?.cursor ?? null)];
|
|
682
|
+
return Promise.allSettled(r).then((n) => {
|
|
683
|
+
!!n.find((i) => i.status === "rejected" && (i.reason.name === "CanceledError" || i.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
|
|
684
|
+
});
|
|
685
|
+
},
|
|
686
|
+
searchOneProvider(t, r = null) {
|
|
687
|
+
const n = r === null ? v.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: S }) : v.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: S, cursor: r });
|
|
688
|
+
return g.default.get(n, {
|
|
689
|
+
signal: this.abortController.signal
|
|
690
|
+
}).then((c) => {
|
|
691
|
+
const i = c.data.ocs.data;
|
|
692
|
+
this.resultsBySearchProvider[t].name = i.name, this.resultsBySearchProvider[t].cursor = i.cursor, this.resultsBySearchProvider[t].isPaginated = i.isPaginated, this.resultsBySearchProvider[t].entries.push(...i.entries);
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}, He = {
|
|
697
|
+
key: 0,
|
|
698
|
+
class: "custom-option"
|
|
699
|
+
}, Qe = { class: "option-text" }, Ge = {
|
|
700
|
+
key: 2,
|
|
701
|
+
class: "custom-option group-name"
|
|
702
|
+
}, Fe = ["src"], Ke = { class: "option-text" }, Ze = {
|
|
703
|
+
key: 3,
|
|
704
|
+
class: /* @__PURE__ */ e.normalizeClass({ "custom-option": !0 })
|
|
705
|
+
}, Je = {
|
|
706
|
+
key: 0,
|
|
707
|
+
class: "option-simple-icon icon-loading-small"
|
|
708
|
+
}, Xe = { class: "option-text" }, Ye = ["alt", "src"];
|
|
709
|
+
function et(t, r, n, c, i, o) {
|
|
710
|
+
const l = e.resolveComponent("LinkVariantIcon"), a = e.resolveComponent("NcSearchResult"), u = e.resolveComponent("DotsHorizontalIcon"), m = e.resolveComponent("NcSelect"), d = e.resolveComponent("NcEmptyContent");
|
|
711
|
+
return e.openBlock(), e.createElementBlock("div", {
|
|
712
|
+
class: e.normalizeClass(["smart-picker-search", { "with-empty-content": n.showEmptyContent }])
|
|
713
|
+
}, [
|
|
714
|
+
e.createVNode(m, {
|
|
715
|
+
ref: "search-select",
|
|
716
|
+
modelValue: i.selectedResult,
|
|
717
|
+
"onUpdate:modelValue": r[0] || (r[0] = (h) => i.selectedResult = h),
|
|
718
|
+
class: "smart-picker-search--select",
|
|
719
|
+
"input-id": "search-select-input",
|
|
720
|
+
label: "name",
|
|
721
|
+
placeholder: o.mySearchPlaceholder,
|
|
722
|
+
options: o.options,
|
|
723
|
+
"append-to-body": !1,
|
|
724
|
+
"close-on-select": !1,
|
|
725
|
+
"clear-search-on-select": !1,
|
|
726
|
+
"clear-search-on-blur": () => !1,
|
|
727
|
+
"reset-focus-on-options-change": !1,
|
|
728
|
+
filterable: !1,
|
|
729
|
+
autoscroll: !0,
|
|
730
|
+
"reset-on-options-change": !1,
|
|
731
|
+
loading: i.searching,
|
|
732
|
+
onSearch: o.onSearchInput,
|
|
733
|
+
onInput: o.onSelectResultSelected
|
|
734
|
+
}, {
|
|
735
|
+
option: e.withCtx((h) => [
|
|
736
|
+
h.isRawLink ? (e.openBlock(), e.createElementBlock("div", He, [
|
|
737
|
+
e.createVNode(l, {
|
|
738
|
+
class: "option-simple-icon",
|
|
739
|
+
size: 20
|
|
740
|
+
}),
|
|
741
|
+
e.createElementVNode("span", Qe, e.toDisplayString(o.t("Raw link {options}", { options: h.resourceUrl })), 1)
|
|
742
|
+
])) : h.resourceUrl ? (e.openBlock(), e.createBlock(a, {
|
|
743
|
+
key: 1,
|
|
744
|
+
class: "search-result",
|
|
745
|
+
entry: h,
|
|
746
|
+
query: i.searchQuery
|
|
747
|
+
}, null, 8, ["entry", "query"])) : h.isCustomGroupTitle ? (e.openBlock(), e.createElementBlock("span", Ge, [
|
|
748
|
+
n.provider.icon_url ? (e.openBlock(), e.createElementBlock("img", {
|
|
749
|
+
key: 0,
|
|
750
|
+
class: "provider-icon group-name-icon",
|
|
751
|
+
src: n.provider.icon_url
|
|
752
|
+
}, null, 8, Fe)) : e.createCommentVNode("", !0),
|
|
753
|
+
e.createElementVNode("span", Ke, [
|
|
754
|
+
e.createElementVNode("strong", null, e.toDisplayString(h.name), 1)
|
|
755
|
+
])
|
|
756
|
+
])) : h.isMore ? (e.openBlock(), e.createElementBlock("span", Ze, [
|
|
757
|
+
h.isLoading ? (e.openBlock(), e.createElementBlock("span", Je)) : (e.openBlock(), e.createBlock(u, {
|
|
758
|
+
key: 1,
|
|
759
|
+
class: "option-simple-icon",
|
|
760
|
+
size: 20
|
|
761
|
+
})),
|
|
762
|
+
e.createElementVNode("span", Xe, e.toDisplayString(o.t('Load more "{options}"', { options: h.name })), 1)
|
|
763
|
+
])) : e.createCommentVNode("", !0)
|
|
764
|
+
]),
|
|
765
|
+
"no-options": e.withCtx(() => [
|
|
766
|
+
e.createTextVNode(e.toDisplayString(i.noOptionsText), 1)
|
|
767
|
+
]),
|
|
768
|
+
_: 1
|
|
769
|
+
}, 8, ["modelValue", "placeholder", "options", "loading", "onSearch", "onInput"]),
|
|
770
|
+
n.showEmptyContent ? (e.openBlock(), e.createBlock(d, {
|
|
771
|
+
key: 0,
|
|
772
|
+
class: "smart-picker-search--empty-content"
|
|
773
|
+
}, {
|
|
774
|
+
icon: e.withCtx(() => [
|
|
775
|
+
n.provider.icon_url ? (e.openBlock(), e.createElementBlock("img", {
|
|
776
|
+
key: 0,
|
|
777
|
+
class: "provider-icon",
|
|
778
|
+
alt: i.providerIconAlt,
|
|
779
|
+
src: n.provider.icon_url
|
|
780
|
+
}, null, 8, Ye)) : (e.openBlock(), e.createBlock(l, { key: 1 }))
|
|
781
|
+
]),
|
|
782
|
+
_: 1
|
|
783
|
+
})) : e.createCommentVNode("", !0)
|
|
784
|
+
], 2);
|
|
785
|
+
}
|
|
786
|
+
const D = /* @__PURE__ */ p._export_sfc(Ae, [["render", et], ["__scopeId", "data-v-4655703c"]]), f = {
|
|
787
|
+
providerList: 1,
|
|
788
|
+
standardLinkInput: 2,
|
|
789
|
+
searchInput: 3,
|
|
790
|
+
customElement: 4
|
|
791
|
+
}, tt = {
|
|
792
|
+
name: "NcReferencePicker",
|
|
793
|
+
components: {
|
|
794
|
+
NcCustomPickerElement: _e,
|
|
795
|
+
NcProviderList: xe,
|
|
796
|
+
NcRawLinkInput: Oe,
|
|
797
|
+
NcSearch: D
|
|
798
|
+
},
|
|
799
|
+
props: {
|
|
800
|
+
/**
|
|
801
|
+
* Provider to select on creation
|
|
802
|
+
* Default: null. Show the provider list
|
|
803
|
+
*/
|
|
804
|
+
initialProvider: {
|
|
805
|
+
type: Object,
|
|
806
|
+
default: () => null
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
* Optional width in pixels
|
|
810
|
+
* Default: 100%
|
|
811
|
+
*/
|
|
812
|
+
width: {
|
|
813
|
+
type: Number,
|
|
814
|
+
default: null
|
|
815
|
+
},
|
|
816
|
+
/**
|
|
817
|
+
* Focus on the provider list select input on creation
|
|
818
|
+
* Default: true
|
|
819
|
+
*/
|
|
820
|
+
focusOnCreate: {
|
|
821
|
+
type: Boolean,
|
|
822
|
+
default: !0
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
emits: [
|
|
826
|
+
"cancel",
|
|
827
|
+
"cancel-raw-link",
|
|
828
|
+
"cancel-search",
|
|
829
|
+
"provider-selected",
|
|
830
|
+
"submit"
|
|
831
|
+
],
|
|
832
|
+
data() {
|
|
833
|
+
return {
|
|
834
|
+
MODES: f,
|
|
835
|
+
selectedProvider: this.initialProvider
|
|
836
|
+
};
|
|
837
|
+
},
|
|
838
|
+
computed: {
|
|
839
|
+
mode() {
|
|
840
|
+
return this.selectedProvider === null ? f.providerList : _(this.selectedProvider.id) ? f.customElement : this.selectedProvider.search_providers_ids ? f.searchInput : f.standardLinkInput;
|
|
841
|
+
},
|
|
842
|
+
pickerWrapperStyle() {
|
|
843
|
+
return {
|
|
844
|
+
width: this.width ? this.width + "px" : void 0
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
mounted() {
|
|
849
|
+
this.focusOnCreate && (this.initialProvider ? setTimeout(() => {
|
|
850
|
+
this.$refs["url-input"]?.focus();
|
|
851
|
+
}, 300) : this.$nextTick(() => {
|
|
852
|
+
this.$refs["provider-list"]?.focus();
|
|
853
|
+
}));
|
|
854
|
+
},
|
|
855
|
+
methods: {
|
|
856
|
+
onEscapePressed() {
|
|
857
|
+
this.selectedProvider !== null ? this.deselectProvider() : this.cancelProviderSelection();
|
|
858
|
+
},
|
|
859
|
+
onProviderSelected(t) {
|
|
860
|
+
this.selectedProvider = t, this.$emit("provider-selected", t), this.$nextTick(() => {
|
|
861
|
+
this.$refs["url-input"]?.focus();
|
|
862
|
+
});
|
|
863
|
+
},
|
|
864
|
+
cancelCustomElement() {
|
|
865
|
+
this.deselectProvider();
|
|
866
|
+
},
|
|
867
|
+
cancelSearch() {
|
|
868
|
+
this.$emit("cancel-search", this.selectedProvider?.title), this.deselectProvider();
|
|
869
|
+
},
|
|
870
|
+
cancelRawLinkInput() {
|
|
871
|
+
this.$emit("cancel-raw-link", this.selectedProvider?.title), this.deselectProvider();
|
|
872
|
+
},
|
|
873
|
+
cancelProviderSelection() {
|
|
874
|
+
this.$emit("cancel");
|
|
875
|
+
},
|
|
876
|
+
submitLink(t) {
|
|
877
|
+
this.selectedProvider !== null && fe(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
|
|
878
|
+
},
|
|
879
|
+
deselectProvider() {
|
|
880
|
+
this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
|
|
881
|
+
this.$refs["provider-list"]?.focus();
|
|
882
|
+
}, 300);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}, rt = {
|
|
886
|
+
key: 3,
|
|
887
|
+
class: "custom-element-wrapper"
|
|
888
|
+
};
|
|
889
|
+
function nt(t, r, n, c, i, o) {
|
|
890
|
+
const l = e.resolveComponent("NcProviderList"), a = e.resolveComponent("NcRawLinkInput"), u = e.resolveComponent("NcSearch"), m = e.resolveComponent("NcCustomPickerElement");
|
|
891
|
+
return e.openBlock(), e.createElementBlock("div", {
|
|
892
|
+
class: "reference-picker",
|
|
893
|
+
style: e.normalizeStyle(o.pickerWrapperStyle),
|
|
894
|
+
tabindex: "-1",
|
|
895
|
+
onKeydown: r[0] || (r[0] = e.withKeys(e.withModifiers((...d) => o.onEscapePressed && o.onEscapePressed(...d), ["stop", "prevent"]), ["esc"]))
|
|
896
|
+
}, [
|
|
897
|
+
o.mode === i.MODES.providerList ? (e.openBlock(), e.createBlock(l, {
|
|
898
|
+
key: 0,
|
|
899
|
+
ref: "provider-list",
|
|
900
|
+
onSelectProvider: o.onProviderSelected,
|
|
901
|
+
onSubmit: o.submitLink,
|
|
902
|
+
onCancel: o.cancelProviderSelection
|
|
903
|
+
}, null, 8, ["onSelectProvider", "onSubmit", "onCancel"])) : o.mode === i.MODES.standardLinkInput ? (e.openBlock(), e.createBlock(a, {
|
|
904
|
+
key: 1,
|
|
905
|
+
ref: "url-input",
|
|
906
|
+
provider: i.selectedProvider,
|
|
907
|
+
onSubmit: o.submitLink,
|
|
908
|
+
onCancel: o.cancelRawLinkInput
|
|
909
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])) : o.mode === i.MODES.searchInput ? (e.openBlock(), e.createBlock(u, {
|
|
910
|
+
key: 2,
|
|
911
|
+
ref: "url-input",
|
|
912
|
+
provider: i.selectedProvider,
|
|
913
|
+
onCancel: o.cancelSearch,
|
|
914
|
+
onSubmit: o.submitLink
|
|
915
|
+
}, null, 8, ["provider", "onCancel", "onSubmit"])) : o.mode === i.MODES.customElement ? (e.openBlock(), e.createElementBlock("div", rt, [
|
|
916
|
+
e.createVNode(m, {
|
|
917
|
+
provider: i.selectedProvider,
|
|
918
|
+
onSubmit: o.submitLink,
|
|
919
|
+
onCancel: o.cancelCustomElement
|
|
920
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])
|
|
921
|
+
])) : e.createCommentVNode("", !0)
|
|
922
|
+
], 36);
|
|
923
|
+
}
|
|
924
|
+
const U = /* @__PURE__ */ p._export_sfc(tt, [["render", nt], ["__scopeId", "data-v-aa77d0d3"]]);
|
|
925
|
+
s.register(s.t11, s.t16);
|
|
926
|
+
const ot = {
|
|
927
|
+
name: "NcReferencePickerModal",
|
|
928
|
+
components: {
|
|
929
|
+
NcReferencePicker: U,
|
|
930
|
+
NcModal: F,
|
|
931
|
+
NcButton: G.NcButton,
|
|
932
|
+
ArrowLeftIcon: Z.ArrowLeft,
|
|
933
|
+
CloseIcon: J.Close
|
|
934
|
+
},
|
|
935
|
+
props: {
|
|
936
|
+
/**
|
|
937
|
+
* Provider to select on creation
|
|
938
|
+
* Show the provider list if no initial one is provided
|
|
939
|
+
*/
|
|
940
|
+
initialProvider: {
|
|
941
|
+
type: Object,
|
|
942
|
+
default: () => null
|
|
943
|
+
},
|
|
944
|
+
/**
|
|
945
|
+
* Focus on the input item on create
|
|
946
|
+
*/
|
|
947
|
+
focusOnCreate: {
|
|
948
|
+
type: Boolean,
|
|
949
|
+
default: !0
|
|
950
|
+
},
|
|
951
|
+
/**
|
|
952
|
+
* If true, add the modal content to the Viewer trap elements via the event-bus
|
|
953
|
+
*/
|
|
954
|
+
isInsideViewer: {
|
|
955
|
+
type: Boolean,
|
|
956
|
+
default: !1
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
emits: [
|
|
960
|
+
"cancel",
|
|
961
|
+
"submit"
|
|
962
|
+
],
|
|
963
|
+
data() {
|
|
964
|
+
return {
|
|
965
|
+
show: !0,
|
|
966
|
+
selectedProvider: this.initialProvider,
|
|
967
|
+
backButtonTitle: s.t("Back to provider selection"),
|
|
968
|
+
closeButtonTitle: s.t("Close"),
|
|
969
|
+
closeButtonLabel: s.t("Close Smart Picker")
|
|
970
|
+
};
|
|
971
|
+
},
|
|
972
|
+
computed: {
|
|
973
|
+
isProviderSelected() {
|
|
974
|
+
return this.selectedProvider !== null;
|
|
975
|
+
},
|
|
976
|
+
showBackButton() {
|
|
977
|
+
return this.initialProvider === null && this.isProviderSelected;
|
|
978
|
+
},
|
|
979
|
+
modalSize() {
|
|
980
|
+
return this.isProviderSelected && _(this.selectedProvider.id) ? de(this.selectedProvider.id) ?? "large" : "normal";
|
|
981
|
+
},
|
|
982
|
+
showModalName() {
|
|
983
|
+
return !this.isProviderSelected || !_(this.selectedProvider.id);
|
|
984
|
+
},
|
|
985
|
+
modalName() {
|
|
986
|
+
return this.isProviderSelected ? this.selectedProvider.title : s.t("Smart Picker");
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
mounted() {
|
|
990
|
+
if (this.isInsideViewer) {
|
|
991
|
+
const t = this.$refs.modal_content;
|
|
992
|
+
K.emit("viewer:trapElements:changed", t);
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
methods: {
|
|
996
|
+
onCancel() {
|
|
997
|
+
this.show = !1, this.$emit("cancel");
|
|
998
|
+
},
|
|
999
|
+
onSubmit(t) {
|
|
1000
|
+
this.show = !1, this.$emit("submit", t);
|
|
1001
|
+
},
|
|
1002
|
+
onProviderSelect(t) {
|
|
1003
|
+
this.selectedProvider = t, t === null && this.initialProvider !== null && this.onCancel();
|
|
1004
|
+
},
|
|
1005
|
+
onBackClicked() {
|
|
1006
|
+
this.$refs.referencePicker.deselectProvider();
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
}, it = {
|
|
1010
|
+
ref: "modal_content",
|
|
1011
|
+
class: "reference-picker-modal--content"
|
|
1012
|
+
}, ct = { key: 1 };
|
|
1013
|
+
function st(t, r, n, c, i, o) {
|
|
1014
|
+
const l = e.resolveComponent("ArrowLeftIcon"), a = e.resolveComponent("NcButton"), u = e.resolveComponent("CloseIcon"), m = e.resolveComponent("NcReferencePicker"), d = e.resolveComponent("NcModal");
|
|
1015
|
+
return i.show ? (e.openBlock(), e.createBlock(d, {
|
|
1016
|
+
key: 0,
|
|
1017
|
+
size: o.modalSize,
|
|
1018
|
+
"can-close": !1,
|
|
1019
|
+
class: "reference-picker-modal",
|
|
1020
|
+
onClose: o.onCancel
|
|
1021
|
+
}, {
|
|
1022
|
+
default: e.withCtx(() => [
|
|
1023
|
+
e.createElementVNode("div", it, [
|
|
1024
|
+
o.showBackButton ? (e.openBlock(), e.createBlock(a, {
|
|
1025
|
+
key: 0,
|
|
1026
|
+
"aria-label": i.backButtonTitle,
|
|
1027
|
+
title: i.backButtonTitle,
|
|
1028
|
+
class: "back-button",
|
|
1029
|
+
onClick: o.onBackClicked
|
|
1030
|
+
}, {
|
|
1031
|
+
icon: e.withCtx(() => [
|
|
1032
|
+
e.createVNode(l)
|
|
1033
|
+
]),
|
|
1034
|
+
_: 1
|
|
1035
|
+
}, 8, ["aria-label", "title", "onClick"])) : e.createCommentVNode("", !0),
|
|
1036
|
+
e.createVNode(a, {
|
|
1037
|
+
"aria-label": i.closeButtonLabel,
|
|
1038
|
+
title: i.closeButtonTitle,
|
|
1039
|
+
type: "tertiary",
|
|
1040
|
+
class: "close-button",
|
|
1041
|
+
onClick: o.onCancel
|
|
1042
|
+
}, {
|
|
1043
|
+
icon: e.withCtx(() => [
|
|
1044
|
+
e.createVNode(u)
|
|
1045
|
+
]),
|
|
1046
|
+
_: 1
|
|
1047
|
+
}, 8, ["aria-label", "title", "onClick"]),
|
|
1048
|
+
o.showModalName ? (e.openBlock(), e.createElementBlock("h2", ct, e.toDisplayString(o.modalName), 1)) : e.createCommentVNode("", !0),
|
|
1049
|
+
e.createVNode(m, {
|
|
1050
|
+
ref: "referencePicker",
|
|
1051
|
+
"initial-provider": n.initialProvider,
|
|
1052
|
+
"focus-on-create": n.focusOnCreate,
|
|
1053
|
+
onProviderSelected: o.onProviderSelect,
|
|
1054
|
+
onSubmit: o.onSubmit,
|
|
1055
|
+
onCancel: o.onCancel
|
|
1056
|
+
}, null, 8, ["initial-provider", "focus-on-create", "onProviderSelected", "onSubmit", "onCancel"])
|
|
1057
|
+
], 512)
|
|
1058
|
+
]),
|
|
1059
|
+
_: 1
|
|
1060
|
+
}, 8, ["size", "onClose"])) : e.createCommentVNode("", !0);
|
|
1061
|
+
}
|
|
1062
|
+
const j = /* @__PURE__ */ p._export_sfc(ot, [["render", st], ["__scopeId", "data-v-ec2bf1ea"]]);
|
|
1063
|
+
async function lt(t = null, r = void 0) {
|
|
1064
|
+
return await new Promise((n, c) => {
|
|
1065
|
+
const i = "referencePickerModal", o = document.createElement("div");
|
|
1066
|
+
o.id = i, document.body.append(o);
|
|
1067
|
+
const l = t === null ? null : M(t) ?? null, a = e.createApp(j, {
|
|
1068
|
+
initialProvider: l,
|
|
1069
|
+
isInsideViewer: r,
|
|
1070
|
+
onCancel() {
|
|
1071
|
+
a.unmount(), c(new Error("User cancellation"));
|
|
1072
|
+
},
|
|
1073
|
+
onSubmit(u) {
|
|
1074
|
+
a.unmount(), n(u);
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
a.mount(o);
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
exports.NcCustomPickerRenderResult = ae;
|
|
1081
|
+
exports.NcReferencePicker = U;
|
|
1082
|
+
exports.NcReferencePickerModal = j;
|
|
1083
|
+
exports.NcReferenceWidget = R;
|
|
1084
|
+
exports.NcSearch = D;
|
|
1085
|
+
exports.anyLinkProviderId = C;
|
|
1086
|
+
exports.getLinkWithPicker = lt;
|
|
1087
|
+
exports.getProvider = M;
|
|
1088
|
+
exports.getProviders = y;
|
|
1089
|
+
exports.isCustomPickerElementRegistered = _;
|
|
1090
|
+
exports.isWidgetRegistered = x;
|
|
1091
|
+
exports.registerCustomPickerElement = I;
|
|
1092
|
+
exports.registerWidget = L;
|
|
1093
|
+
exports.renderCustomPickerElement = q;
|
|
1094
|
+
exports.renderWidget = V;
|
|
1095
|
+
exports.searchProvider = T;
|
|
1096
|
+
exports.sortProviders = W;
|