@nextcloud/vue 8.6.0 → 9.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -0
- package/dist/Components/NcActionButton.cjs +2 -132
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +2 -136
- 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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -80
- package/dist/Components/NcActionTextEditable.cjs.map +1 -1
- package/dist/Components/NcActionTextEditable.mjs +1 -83
- 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 +2 -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 +2 -49
- package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +2 -51
- 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 +2 -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 +2 -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 +2 -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 +2 -240
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +2 -241
- 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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +318 -142
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +329 -151
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +2 -200
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +2 -201
- 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 +2 -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 +6 -17
- package/dist/Components/NcVNodes.cjs.map +1 -1
- package/dist/Components/NcVNodes.mjs +6 -18
- 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/Directives/Linkify.cjs +5 -4
- package/dist/Directives/Linkify.cjs.map +1 -1
- package/dist/Directives/Linkify.mjs +6 -5
- package/dist/Directives/Linkify.mjs.map +1 -1
- package/dist/Directives/Tooltip.cjs +1 -2
- package/dist/Directives/Tooltip.cjs.map +1 -1
- package/dist/Directives/Tooltip.mjs +4 -4
- package/dist/Directives/Tooltip.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-De4wlKZH.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-PR-7NI_x.css +84 -0
- package/dist/assets/NcAppContent-kIkHd4VN.css +116 -0
- package/dist/assets/NcAppNavigation-9xEM_GAn.css +92 -0
- package/dist/assets/NcAppNavigationCaption-0s4Wxc88.css +52 -0
- package/dist/assets/NcAppNavigationItem-_MHs9DEv.css +213 -0
- package/dist/assets/NcAppNavigationNew-PtSC3Wy5.css +36 -0
- package/dist/assets/NcAppNavigationNewItem-ue-H4LQY.css +206 -0
- package/dist/assets/NcAppNavigationSettings-Q_od5CcP.css +88 -0
- package/dist/assets/NcAppNavigationToggle-VrntFGdJ.css +38 -0
- package/dist/assets/NcAppSettingsDialog-HOydlmNi.css +86 -0
- package/dist/assets/NcAppSettingsSection-Gh575p0x.css +41 -0
- package/dist/assets/NcAppSidebar-UFABwmpX.css +318 -0
- package/dist/assets/NcAppSidebarTab-goNfHK4d.css +45 -0
- package/dist/assets/NcAvatar-DCUiVghV.css +144 -0
- package/dist/assets/NcBreadcrumb-ZsIS1jDx.css +80 -0
- package/dist/assets/NcBreadcrumbs-VKFJ9HrE.css +49 -0
- package/dist/assets/NcButton-rKJYdkZn.css +204 -0
- package/dist/assets/NcCheckboxRadioSwitch-dNV4KgTO.css +201 -0
- package/dist/assets/NcColorPicker-FiFz1rof.css +131 -0
- package/dist/assets/NcContent-3Fl9j87E.css +82 -0
- package/dist/assets/NcDashboardWidget-7x3QrWFu.css +83 -0
- package/dist/assets/NcDateTimePicker-CC5ocPIo.css +907 -0
- package/dist/assets/NcDateTimePickerNative-BeREqSH_.css +58 -0
- package/dist/assets/NcDialog-IM0YIgKq.css +126 -0
- package/dist/assets/NcEmojiPicker-nDpi1GKA.css +552 -0
- package/dist/assets/NcEmptyContent-b8eqBVE_.css +75 -0
- package/dist/assets/NcGuestContent-FRQFLxlW.css +51 -0
- package/dist/assets/NcHeaderMenu-kKraSlS3.css +92 -0
- package/dist/assets/NcIconSvgWrapper-0OJxiD3Q.css +44 -0
- package/dist/assets/NcInputConfirmCancel-_GF_RjYc.css +51 -0
- package/dist/assets/NcInputField-qx4Me7uJ.css +194 -0
- package/dist/assets/NcListItem-RylkggkP.css +165 -0
- package/dist/assets/NcListItemIcon-mlEQ7oK0.css +80 -0
- package/dist/assets/NcModal-lgvjJTYz.css +298 -0
- package/dist/assets/NcRelatedResourcesPanel-i1-7CClp.css +76 -0
- package/dist/assets/NcRichContenteditable--bkjerM1.css +268 -0
- package/dist/assets/NcSettingsInputText-JpZtS9DS.css +46 -0
- package/dist/assets/NcSettingsSelectGroup-51HMKLZQ.css +34 -0
- package/dist/assets/NcTextArea-Eqv_-5FR.css +139 -0
- package/dist/assets/NcUserBubble-t1uOyYCF.css +59 -0
- package/dist/assets/NcUserStatusIcon-AXLspcOQ.css +41 -0
- package/dist/assets/referencePickerModal-k5G-IS2z.css +509 -0
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs +44 -0
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs.map +1 -0
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs +41 -0
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs.map +1 -0
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs +41 -0
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs.map +1 -0
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs +44 -0
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs.map +1 -0
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs +44 -0
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs.map +1 -0
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs +41 -0
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs.map +1 -0
- package/dist/chunks/Check-fwcsc82n.cjs +41 -0
- package/dist/chunks/Check-fwcsc82n.cjs.map +1 -0
- package/dist/chunks/Check-tQl0Vp18.mjs +44 -0
- package/dist/chunks/Check-tQl0Vp18.mjs.map +1 -0
- package/dist/chunks/ChevronDown-8tkFE94e.cjs +41 -0
- package/dist/chunks/ChevronDown-8tkFE94e.cjs.map +1 -0
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs +44 -0
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs.map +1 -0
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs +41 -0
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs.map +1 -0
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs +44 -0
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs.map +1 -0
- package/dist/chunks/Close-e2vDvDm2.cjs +41 -0
- package/dist/chunks/Close-e2vDvDm2.cjs.map +1 -0
- package/dist/chunks/Close-hKJ11hky.mjs +44 -0
- package/dist/chunks/Close-hKJ11hky.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs +44 -0
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs +41 -0
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs.map +1 -0
- package/dist/chunks/GenColors-L7jWucCS.mjs +142 -0
- package/dist/chunks/GenColors-L7jWucCS.mjs.map +1 -0
- package/dist/chunks/GenColors-vx_p2Tvw.cjs +141 -0
- package/dist/chunks/GenColors-vx_p2Tvw.cjs.map +1 -0
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs +180 -0
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs.map +1 -0
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs +173 -0
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-5PPiueIz.cjs +50 -0
- package/dist/chunks/NcActionButtonGroup-5PPiueIz.cjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-oFPVvd4U.mjs +55 -0
- package/dist/chunks/NcActionButtonGroup-oFPVvd4U.mjs.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-5-bIAzkC.mjs +113 -0
- package/dist/chunks/NcActionCheckbox-5-bIAzkC.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-CUXJQss6.cjs +107 -0
- package/dist/chunks/NcActionCheckbox-CUXJQss6.cjs.map +1 -0
- package/dist/chunks/NcActionInput-of1oXP_n.cjs +335 -0
- package/dist/chunks/NcActionInput-of1oXP_n.cjs.map +1 -0
- package/dist/chunks/NcActionInput-zg13uJ6x.mjs +346 -0
- package/dist/chunks/NcActionInput-zg13uJ6x.mjs.map +1 -0
- package/dist/chunks/NcActionLink-eBaRU5qY.cjs +106 -0
- package/dist/chunks/NcActionLink-eBaRU5qY.cjs.map +1 -0
- package/dist/chunks/NcActionLink-pscYsQ_3.mjs +111 -0
- package/dist/chunks/NcActionLink-pscYsQ_3.mjs.map +1 -0
- package/dist/chunks/NcActionRadio-1QLxEcfl.mjs +121 -0
- package/dist/chunks/NcActionRadio-1QLxEcfl.mjs.map +1 -0
- package/dist/chunks/NcActionRadio-3UkRsS6r.cjs +115 -0
- package/dist/chunks/NcActionRadio-3UkRsS6r.cjs.map +1 -0
- package/dist/chunks/NcActionRouter-BsOXVKlY.mjs +75 -0
- package/dist/chunks/NcActionRouter-BsOXVKlY.mjs.map +1 -0
- package/dist/chunks/NcActionRouter-c6pYto3T.cjs +70 -0
- package/dist/chunks/NcActionRouter-c6pYto3T.cjs.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-9Ti6bh1b.mjs +57 -0
- package/dist/chunks/NcActionText-9Ti6bh1b.mjs.map +1 -0
- package/dist/chunks/NcActionText-Sw_tMRaW.cjs +52 -0
- package/dist/chunks/NcActionText-Sw_tMRaW.cjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-faJIAtYw.cjs +114 -0
- package/dist/chunks/NcActionTextEditable-faJIAtYw.cjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-xPb_cTMW.mjs +121 -0
- package/dist/chunks/NcActionTextEditable-xPb_cTMW.mjs.map +1 -0
- package/dist/chunks/NcActions-76CtOBCq.mjs +497 -0
- package/dist/chunks/NcActions-76CtOBCq.mjs.map +1 -0
- package/dist/chunks/NcActions-YpbmJ7hS.cjs +488 -0
- package/dist/chunks/NcActions-YpbmJ7hS.cjs.map +1 -0
- package/dist/chunks/NcAppContent-Tw5gNorr.mjs +275 -0
- package/dist/chunks/NcAppContent-Tw5gNorr.mjs.map +1 -0
- package/dist/chunks/NcAppContent-mHc-Ms2b.cjs +264 -0
- package/dist/chunks/NcAppContent-mHc-Ms2b.cjs.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-sY7HaHMv.mjs +134 -0
- package/dist/chunks/NcAppNavigation-sY7HaHMv.mjs.map +1 -0
- package/dist/chunks/NcAppNavigation-yEZ-RJA2.cjs +125 -0
- package/dist/chunks/NcAppNavigation-yEZ-RJA2.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-XpbVXYKV.cjs +42 -0
- package/dist/chunks/NcAppNavigationCaption-XpbVXYKV.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-pcyV3wRO.mjs +47 -0
- package/dist/chunks/NcAppNavigationCaption-pcyV3wRO.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-JLYTEgEH.mjs +608 -0
- package/dist/chunks/NcAppNavigationItem-JLYTEgEH.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs +595 -0
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-6ZAJS_DY.mjs +56 -0
- package/dist/chunks/NcAppNavigationNew-6ZAJS_DY.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-hmJL2IDR.cjs +51 -0
- package/dist/chunks/NcAppNavigationNew-hmJL2IDR.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-MjsbS_dO.cjs +106 -0
- package/dist/chunks/NcAppNavigationNewItem-MjsbS_dO.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-NzRL8Uwy.mjs +112 -0
- package/dist/chunks/NcAppNavigationNewItem-NzRL8Uwy.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs +128 -0
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs +131 -0
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs.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-SEvIEY16.mjs +145 -0
- package/dist/chunks/NcAppNavigationToggle-SEvIEY16.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs +140 -0
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-HnYa47vg.cjs +211 -0
- package/dist/chunks/NcAppSettingsDialog-HnYa47vg.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-nbTWBbti.mjs +219 -0
- package/dist/chunks/NcAppSettingsDialog-nbTWBbti.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs +54 -0
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-a0Un2ZRv.mjs +58 -0
- package/dist/chunks/NcAppSettingsSection-a0Un2ZRv.mjs.map +1 -0
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs +712 -0
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs +731 -0
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-oPHofCKq.cjs +84 -0
- package/dist/chunks/NcAppSidebarTab-oPHofCKq.cjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-sMoFkDTb.mjs +88 -0
- package/dist/chunks/NcAppSidebarTab-sMoFkDTb.mjs.map +1 -0
- package/dist/chunks/NcAvatar-JsMCceHU.mjs +542 -0
- package/dist/chunks/NcAvatar-JsMCceHU.mjs.map +1 -0
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs +526 -0
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-7q3EEfcO.cjs +208 -0
- package/dist/chunks/NcBreadcrumb-7q3EEfcO.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-Fr7J33Qv.mjs +216 -0
- package/dist/chunks/NcBreadcrumb-Fr7J33Qv.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs +369 -0
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs +381 -0
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs.map +1 -0
- package/dist/chunks/NcButton-7UKtzkX5.cjs +252 -0
- package/dist/chunks/NcButton-7UKtzkX5.cjs.map +1 -0
- package/dist/chunks/NcButton-YOXv3gFY.mjs +255 -0
- package/dist/chunks/NcButton-YOXv3gFY.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs +696 -0
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs +701 -0
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-DNy0FRJb.mjs +254 -0
- package/dist/chunks/NcColorPicker-DNy0FRJb.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-i9PgTYBd.cjs +242 -0
- package/dist/chunks/NcColorPicker-i9PgTYBd.cjs.map +1 -0
- package/dist/chunks/NcContent-HdbQCleH.mjs +111 -0
- package/dist/chunks/NcContent-HdbQCleH.mjs.map +1 -0
- package/dist/chunks/NcContent-MOEEa0z1.cjs +103 -0
- package/dist/chunks/NcContent-MOEEa0z1.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-JGkvqDWC.mjs +169 -0
- package/dist/chunks/NcDashboardWidget-JGkvqDWC.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-qHSuK2yd.cjs +161 -0
- package/dist/chunks/NcDashboardWidget-qHSuK2yd.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-fl92G4Pt.cjs +177 -0
- package/dist/chunks/NcDashboardWidgetItem-fl92G4Pt.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-oQGp29KO.mjs +184 -0
- package/dist/chunks/NcDashboardWidgetItem-oQGp29KO.mjs.map +1 -0
- package/dist/chunks/NcDateTime-JYO8uPbb.mjs +140 -0
- package/dist/chunks/NcDateTime-JYO8uPbb.mjs.map +1 -0
- package/dist/chunks/NcDateTime-T52KrH65.cjs +136 -0
- package/dist/chunks/NcDateTime-T52KrH65.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs +328 -0
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs +338 -0
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-3Xru7_OT.mjs +181 -0
- package/dist/chunks/NcDateTimePickerNative-3Xru7_OT.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-xSITuvpX.cjs +176 -0
- package/dist/chunks/NcDateTimePickerNative-xSITuvpX.cjs.map +1 -0
- package/dist/chunks/NcDialog-BYXi2emF.cjs +237 -0
- package/dist/chunks/NcDialog-BYXi2emF.cjs.map +1 -0
- package/dist/chunks/NcDialog-rTTTdaH3.mjs +245 -0
- package/dist/chunks/NcDialog-rTTTdaH3.mjs.map +1 -0
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs +73 -0
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs.map +1 -0
- package/dist/chunks/NcDialogButton-ax4NTfDU.mjs +78 -0
- package/dist/chunks/NcDialogButton-ax4NTfDU.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-oWZ5anxp.mjs +339 -0
- package/dist/chunks/NcEmojiPicker-oWZ5anxp.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.cjs +326 -0
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.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-67JCzTGo.mjs +225 -0
- package/dist/chunks/NcHeaderMenu-67JCzTGo.mjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-TvFFSvGS.cjs +218 -0
- package/dist/chunks/NcHeaderMenu-TvFFSvGS.cjs.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-ACaaN_pS.mjs +82 -0
- package/dist/chunks/NcIconSvgWrapper-ACaaN_pS.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-_hHu9P_M.cjs +77 -0
- package/dist/chunks/NcIconSvgWrapper-_hHu9P_M.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-DYlc289d.cjs +105 -0
- package/dist/chunks/NcInputConfirmCancel-DYlc289d.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-lmWu4ouW.mjs +112 -0
- package/dist/chunks/NcInputConfirmCancel-lmWu4ouW.mjs.map +1 -0
- package/dist/chunks/NcInputField-6pRWha3h.mjs +291 -0
- package/dist/chunks/NcInputField-6pRWha3h.mjs.map +1 -0
- package/dist/chunks/NcInputField-6vveMrmf.cjs +283 -0
- package/dist/chunks/NcInputField-6vveMrmf.cjs.map +1 -0
- package/dist/chunks/NcListItem-3QDILDKr.cjs +339 -0
- package/dist/chunks/NcListItem-3QDILDKr.cjs.map +1 -0
- package/dist/chunks/NcListItem-vkgu6Biu.mjs +346 -0
- package/dist/chunks/NcListItem-vkgu6Biu.mjs.map +1 -0
- package/dist/chunks/NcListItemIcon-130Lt3dW.mjs +193 -0
- package/dist/chunks/NcListItemIcon-130Lt3dW.mjs.map +1 -0
- package/dist/chunks/NcListItemIcon-dOvFvjqI.cjs +189 -0
- package/dist/chunks/NcListItemIcon-dOvFvjqI.cjs.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-MnmgJvKD.mjs +230 -0
- package/dist/chunks/NcNoteCard-MnmgJvKD.mjs.map +1 -0
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs +226 -0
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs.map +1 -0
- package/dist/chunks/NcPasswordField-8rboJv29.cjs +255 -0
- package/dist/chunks/NcPasswordField-8rboJv29.cjs.map +1 -0
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs +265 -0
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs.map +1 -0
- package/dist/chunks/NcPopover-J0pw-klF.cjs +216 -0
- package/dist/chunks/NcPopover-J0pw-klF.cjs.map +1 -0
- package/dist/chunks/NcPopover-XgOWyuQF.mjs +223 -0
- package/dist/chunks/NcPopover-XgOWyuQF.mjs.map +1 -0
- package/dist/chunks/NcProgressBar-1EANJyYJ.mjs +127 -0
- package/dist/chunks/NcProgressBar-1EANJyYJ.mjs.map +1 -0
- package/dist/chunks/NcProgressBar-zsehqkEw.cjs +123 -0
- package/dist/chunks/NcProgressBar-zsehqkEw.cjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-NqDuh_7F.mjs +220 -0
- package/dist/chunks/NcRelatedResourcesPanel-NqDuh_7F.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-QgNIHnCY.cjs +213 -0
- package/dist/chunks/NcRelatedResourcesPanel-QgNIHnCY.cjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-L8aEJNGb.cjs +531 -0
- package/dist/chunks/NcRichContenteditable-L8aEJNGb.cjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-W0BnJp3x.mjs +543 -0
- package/dist/chunks/NcRichContenteditable-W0BnJp3x.mjs.map +1 -0
- package/dist/chunks/NcRichText-91v7gJEe.cjs +331 -0
- package/dist/chunks/NcRichText-91v7gJEe.cjs.map +1 -0
- package/dist/chunks/NcRichText-RTwlrmhz.mjs +348 -0
- package/dist/chunks/NcRichText-RTwlrmhz.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-HmmLuUCp.mjs +515 -0
- package/dist/chunks/NcSelect-HmmLuUCp.mjs.map +1 -0
- package/dist/chunks/NcSelect-P2FpWJBr.cjs +503 -0
- package/dist/chunks/NcSelect-P2FpWJBr.cjs.map +1 -0
- package/dist/chunks/NcSelectTags-HX8YbYwd.cjs +256 -0
- package/dist/chunks/NcSelectTags-HX8YbYwd.cjs.map +1 -0
- package/dist/chunks/NcSelectTags-ZoLcdmHG.mjs +263 -0
- package/dist/chunks/NcSelectTags-ZoLcdmHG.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-9TVSwO_s.mjs +113 -0
- package/dist/chunks/NcSettingsInputText-9TVSwO_s.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-oJ_c6sMr.cjs +108 -0
- package/dist/chunks/NcSettingsInputText-oJ_c6sMr.cjs.map +1 -0
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs +114 -0
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs.map +1 -0
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs +118 -0
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-HFDYgsw-.mjs +208 -0
- package/dist/chunks/NcSettingsSelectGroup-HFDYgsw-.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-UnB2ao3D.cjs +199 -0
- package/dist/chunks/NcSettingsSelectGroup-UnB2ao3D.cjs.map +1 -0
- package/dist/chunks/NcTextArea-QIkvyzz7.cjs +196 -0
- package/dist/chunks/NcTextArea-QIkvyzz7.cjs.map +1 -0
- package/dist/chunks/NcTextArea-SeSiP6Dy.mjs +203 -0
- package/dist/chunks/NcTextArea-SeSiP6Dy.mjs.map +1 -0
- package/dist/chunks/NcTextField-qqwMB07_.mjs +165 -0
- package/dist/chunks/NcTextField-qqwMB07_.mjs.map +1 -0
- package/dist/chunks/NcTextField-zi19KqEm.cjs +158 -0
- package/dist/chunks/NcTextField-zi19KqEm.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs +3790 -0
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs +3783 -0
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs.map +1 -0
- package/dist/chunks/NcUserBubble-Jw-rOju8.mjs +205 -0
- package/dist/chunks/NcUserBubble-Jw-rOju8.mjs.map +1 -0
- package/dist/chunks/NcUserBubble-NZeBFOmo.cjs +199 -0
- package/dist/chunks/NcUserBubble-NZeBFOmo.cjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs +146 -0
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs +154 -0
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-Gzz2FMnQ.cjs +26 -0
- package/dist/chunks/ScopeComponent-Gzz2FMnQ.cjs.map +1 -0
- package/dist/chunks/ScopeComponent-mG7CSpxl.mjs +27 -0
- package/dist/chunks/ScopeComponent-mG7CSpxl.mjs.map +1 -0
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs +64 -0
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs.map +1 -0
- package/dist/chunks/_l10n-uuAvfQgY.mjs +66 -0
- package/dist/chunks/_l10n-uuAvfQgY.mjs.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-Cx6Fi9Pj.cjs +46 -0
- package/dist/chunks/actionGlobal-Cx6Fi9Pj.cjs.map +1 -0
- package/dist/chunks/actionGlobal-pi4JQ0yh.mjs +47 -0
- package/dist/chunks/actionGlobal-pi4JQ0yh.mjs.map +1 -0
- package/dist/chunks/actionText-H_SIpDkO.cjs +126 -0
- package/dist/chunks/actionText-H_SIpDkO.cjs.map +1 -0
- package/dist/chunks/actionText-yZ-YQ_fz.mjs +127 -0
- package/dist/chunks/actionText-yZ-YQ_fz.mjs.map +1 -0
- package/dist/chunks/emoji-NrWIXNZ4.cjs +59 -0
- package/dist/chunks/emoji-NrWIXNZ4.cjs.map +1 -0
- package/dist/chunks/emoji-mEkenm2t.mjs +62 -0
- package/dist/chunks/emoji-mEkenm2t.mjs.map +1 -0
- package/dist/chunks/index-6mzaBTml.cjs +159 -0
- package/dist/chunks/index-6mzaBTml.cjs.map +1 -0
- package/dist/chunks/index-clpvFjGU.mjs +165 -0
- package/dist/chunks/index-clpvFjGU.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs +1129 -0
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs +1111 -0
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs.map +1 -0
- package/dist/chunks/usernameToColor-YCPAFxlc.mjs +41 -0
- package/dist/chunks/usernameToColor-YCPAFxlc.mjs.map +1 -0
- package/dist/chunks/usernameToColor-r5M5P032.cjs +39 -0
- package/dist/chunks/usernameToColor-r5M5P032.cjs.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 +206 -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 +343 -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 +32 -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 +144 -0
- package/dist/src/components/NcButton/NcButton.vue.d.ts +237 -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 +72 -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 +36 -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-1Z9lN7ar.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-mSL9fcPO.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/NcAppNavigationNewItem-MQBvffq9.css +0 -199
- package/dist/assets/NcAppNavigationSettings-Jx_6RpSn.css +0 -88
- package/dist/assets/NcAppNavigationToggle-3vMKtCQL.css +0 -38
- package/dist/assets/NcAppSettingsDialog-0eOo3ERv.css +0 -86
- 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-5H9cqcD1.css +0 -144
- package/dist/assets/NcBreadcrumb-M3hqCbqS.css +0 -80
- package/dist/assets/NcBreadcrumbs-KBV0Jccv.css +0 -49
- package/dist/assets/NcButton-4Wj3KJn8.css +0 -204
- package/dist/assets/NcCheckboxRadioSwitch-mgKotCbU.css +0 -201
- package/dist/assets/NcColorPicker-PzIRM1j1.css +0 -131
- package/dist/assets/NcContent-LWR23l9i.css +0 -84
- package/dist/assets/NcDashboardWidget-01deRW9Z.css +0 -83
- package/dist/assets/NcDateTimePicker-RY_Hm2sB.css +0 -884
- package/dist/assets/NcDateTimePickerNative-5yybtvfx.css +0 -58
- package/dist/assets/NcDialog-DN-rY-55.css +0 -126
- package/dist/assets/NcEmojiPicker-wTIbvcrG.css +0 -550
- package/dist/assets/NcEmptyContent-pSz7F6Oe.css +0 -75
- package/dist/assets/NcGuestContent-mGGTzI2_.css +0 -51
- package/dist/assets/NcHeaderMenu-06vdn4tC.css +0 -92
- package/dist/assets/NcIconSvgWrapper-arqrq5Bj.css +0 -44
- package/dist/assets/NcInputConfirmCancel-ks8z8dIn.css +0 -51
- package/dist/assets/NcInputField-L2Lld_iG.css +0 -194
- package/dist/assets/NcListItem-6sL-frKJ.css +0 -165
- package/dist/assets/NcListItemIcon-PQ2s6ZqX.css +0 -80
- package/dist/assets/NcModal-UZh031V1.css +0 -295
- package/dist/assets/NcRelatedResourcesPanel-m3uf_nvH.css +0 -76
- package/dist/assets/NcRichContenteditable-j9edXOEH.css +0 -268
- package/dist/assets/NcSettingsInputText-MPi6a3Yy.css +0 -46
- package/dist/assets/NcSettingsSelectGroup-_Jpb8yE3.css +0 -34
- package/dist/assets/NcTextArea-4rVwq6GK.css +0 -139
- package/dist/assets/NcUserBubble-jjzI5imn.css +0 -59
- package/dist/assets/NcUserStatusIcon-62u43_6P.css +0 -41
- package/dist/assets/referencePickerModal-iy5QSWj6.css +0 -509
- package/dist/chunks/AlertCircleOutline-HYz1lvHU.cjs +0 -35
- package/dist/chunks/AlertCircleOutline-HYz1lvHU.cjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-XY0EPUmQ.mjs +0 -37
- package/dist/chunks/AlertCircleOutline-XY0EPUmQ.mjs.map +0 -1
- package/dist/chunks/ArrowLeft-fC5aEWWu.cjs +0 -35
- package/dist/chunks/ArrowLeft-fC5aEWWu.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-uW5eNVkY.mjs +0 -37
- package/dist/chunks/ArrowLeft-uW5eNVkY.mjs.map +0 -1
- package/dist/chunks/ArrowRight-16bLxoZc.mjs +0 -37
- package/dist/chunks/ArrowRight-16bLxoZc.mjs.map +0 -1
- package/dist/chunks/ArrowRight-uUC8qW2c.cjs +0 -35
- package/dist/chunks/ArrowRight-uUC8qW2c.cjs.map +0 -1
- package/dist/chunks/Check-QBzDcHpr.cjs +0 -35
- package/dist/chunks/Check-QBzDcHpr.cjs.map +0 -1
- package/dist/chunks/Check-qy5XrF1J.mjs +0 -37
- package/dist/chunks/Check-qy5XrF1J.mjs.map +0 -1
- package/dist/chunks/ChevronDown-Hc_DTRav.cjs +0 -35
- package/dist/chunks/ChevronDown-Hc_DTRav.cjs.map +0 -1
- package/dist/chunks/ChevronDown-suAKKmeb.mjs +0 -37
- package/dist/chunks/ChevronDown-suAKKmeb.mjs.map +0 -1
- package/dist/chunks/ChevronRight-9owhU_17.mjs +0 -37
- package/dist/chunks/ChevronRight-9owhU_17.mjs.map +0 -1
- package/dist/chunks/ChevronRight-MdQC55Yq.cjs +0 -35
- package/dist/chunks/ChevronRight-MdQC55Yq.cjs.map +0 -1
- package/dist/chunks/Close-QtH6_3PP.mjs +0 -37
- package/dist/chunks/Close-QtH6_3PP.mjs.map +0 -1
- package/dist/chunks/Close-dotk0707.cjs +0 -35
- package/dist/chunks/Close-dotk0707.cjs.map +0 -1
- package/dist/chunks/DotsHorizontal-6hepLUSS.cjs +0 -35
- package/dist/chunks/DotsHorizontal-6hepLUSS.cjs.map +0 -1
- package/dist/chunks/DotsHorizontal-IbmXTXRA.mjs +0 -37
- package/dist/chunks/DotsHorizontal-IbmXTXRA.mjs.map +0 -1
- package/dist/chunks/GenColors-OoWIPB3C.mjs +0 -142
- package/dist/chunks/GenColors-OoWIPB3C.mjs.map +0 -1
- package/dist/chunks/GenColors-gc0oVgC_.cjs +0 -141
- package/dist/chunks/GenColors-gc0oVgC_.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-D49ovBAN.mjs +0 -50
- package/dist/chunks/NcActionButtonGroup-D49ovBAN.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-hpwif0u3.cjs +0 -46
- package/dist/chunks/NcActionButtonGroup-hpwif0u3.cjs.map +0 -1
- package/dist/chunks/NcActionInput-cyxUHqTr.mjs +0 -244
- package/dist/chunks/NcActionInput-cyxUHqTr.mjs.map +0 -1
- package/dist/chunks/NcActionInput-m10Amrmc.cjs +0 -235
- package/dist/chunks/NcActionInput-m10Amrmc.cjs.map +0 -1
- package/dist/chunks/NcActions-bAnBpPrc.mjs +0 -540
- package/dist/chunks/NcActions-bAnBpPrc.mjs.map +0 -1
- package/dist/chunks/NcActions-z-BOuDhM.cjs +0 -532
- package/dist/chunks/NcActions-z-BOuDhM.cjs.map +0 -1
- package/dist/chunks/NcAppContent-t8UhBH3s.cjs +0 -222
- package/dist/chunks/NcAppContent-t8UhBH3s.cjs.map +0 -1
- package/dist/chunks/NcAppContent-y9KdCdfx.mjs +0 -231
- package/dist/chunks/NcAppContent-y9KdCdfx.mjs.map +0 -1
- package/dist/chunks/NcAppNavigation-PLg2oNao.cjs +0 -114
- package/dist/chunks/NcAppNavigation-PLg2oNao.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-hiPB8YDB.mjs +0 -122
- package/dist/chunks/NcAppNavigation-hiPB8YDB.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-kKsAcV3F.cjs +0 -44
- package/dist/chunks/NcAppNavigationCaption-kKsAcV3F.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-q8C0HzdM.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-q8C0HzdM.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-BTI9BVOR.cjs +0 -497
- package/dist/chunks/NcAppNavigationItem-BTI9BVOR.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-WmNVPGgg.mjs +0 -508
- package/dist/chunks/NcAppNavigationItem-WmNVPGgg.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-bEBZNF2D.cjs +0 -87
- package/dist/chunks/NcAppNavigationNewItem-bEBZNF2D.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-iJxYhc8O.mjs +0 -91
- package/dist/chunks/NcAppNavigationNewItem-iJxYhc8O.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings--bavO03z.mjs +0 -106
- package/dist/chunks/NcAppNavigationSettings--bavO03z.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-J7w9P7fI.cjs +0 -104
- package/dist/chunks/NcAppNavigationSettings-J7w9P7fI.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-8FtmM4XU.mjs +0 -122
- package/dist/chunks/NcAppNavigationToggle-8FtmM4XU.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-mMhLE73x.cjs +0 -119
- package/dist/chunks/NcAppNavigationToggle-mMhLE73x.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-FqEZ3lXG.mjs +0 -184
- package/dist/chunks/NcAppSettingsDialog-FqEZ3lXG.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-tN3bu9XO.cjs +0 -177
- package/dist/chunks/NcAppSettingsDialog-tN3bu9XO.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-J2XzL1WT.cjs +0 -548
- package/dist/chunks/NcAppSidebar-J2XzL1WT.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-lE3w-VIf.mjs +0 -565
- package/dist/chunks/NcAppSidebar-lE3w-VIf.mjs.map +0 -1
- package/dist/chunks/NcAvatar-MNJp-c9e.mjs +0 -467
- package/dist/chunks/NcAvatar-MNJp-c9e.mjs.map +0 -1
- package/dist/chunks/NcAvatar-OWW68uV3.cjs +0 -454
- package/dist/chunks/NcAvatar-OWW68uV3.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-4FfLWUDX.mjs +0 -179
- package/dist/chunks/NcBreadcrumb-4FfLWUDX.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-YClz0EeP.cjs +0 -173
- package/dist/chunks/NcBreadcrumb-YClz0EeP.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-Gln66w_d.mjs +0 -418
- package/dist/chunks/NcBreadcrumbs-Gln66w_d.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-SPqCk2mi.cjs +0 -408
- package/dist/chunks/NcBreadcrumbs-SPqCk2mi.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-R-zNvd7d.cjs +0 -603
- package/dist/chunks/NcCheckboxRadioSwitch-R-zNvd7d.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-paTuPXGc.mjs +0 -607
- package/dist/chunks/NcCheckboxRadioSwitch-paTuPXGc.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Ooje-q1U.cjs +0 -4
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Ooje-q1U.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-l6e0b34w.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-l6e0b34w.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-ullH7CFZ.mjs +0 -179
- package/dist/chunks/NcColorPicker-ullH7CFZ.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-vHHSVKQS.cjs +0 -169
- package/dist/chunks/NcColorPicker-vHHSVKQS.cjs.map +0 -1
- package/dist/chunks/NcContent-M_ZUbKIL.cjs +0 -124
- package/dist/chunks/NcContent-M_ZUbKIL.cjs.map +0 -1
- package/dist/chunks/NcContent-RGzECysY.mjs +0 -131
- package/dist/chunks/NcContent-RGzECysY.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-KMrDOCQC.mjs +0 -141
- package/dist/chunks/NcDashboardWidget-KMrDOCQC.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-mV9UTaUo.cjs +0 -135
- package/dist/chunks/NcDashboardWidget-mV9UTaUo.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-Hg805JCn.mjs +0 -143
- package/dist/chunks/NcDashboardWidgetItem-Hg805JCn.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-_dvqhu7z.cjs +0 -138
- package/dist/chunks/NcDashboardWidgetItem-_dvqhu7z.cjs.map +0 -1
- package/dist/chunks/NcDateTime-TRJPnoyx.cjs +0 -142
- package/dist/chunks/NcDateTime-TRJPnoyx.cjs.map +0 -1
- package/dist/chunks/NcDateTime-t_L5Vf2V.mjs +0 -146
- package/dist/chunks/NcDateTime-t_L5Vf2V.mjs.map +0 -1
- package/dist/chunks/NcDialog-652A8lMI.mjs +0 -214
- package/dist/chunks/NcDialog-652A8lMI.mjs.map +0 -1
- package/dist/chunks/NcDialog-dPYf81Dr.cjs +0 -207
- package/dist/chunks/NcDialog-dPYf81Dr.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-QuoJDLGH.mjs +0 -73
- package/dist/chunks/NcDialogButton-QuoJDLGH.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-V3nj_xwS.cjs +0 -68
- package/dist/chunks/NcDialogButton-V3nj_xwS.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-SiFuLrOy.cjs +0 -239
- package/dist/chunks/NcEmojiPicker-SiFuLrOy.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-t9ZKXOeE.mjs +0 -249
- package/dist/chunks/NcEmojiPicker-t9ZKXOeE.mjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-BSi8E43v.cjs +0 -185
- package/dist/chunks/NcHeaderMenu-BSi8E43v.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-Vytc8Eqg.mjs +0 -191
- package/dist/chunks/NcHeaderMenu-Vytc8Eqg.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-R7a7dIg4.cjs +0 -81
- package/dist/chunks/NcIconSvgWrapper-R7a7dIg4.cjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-n3MnAe1S.mjs +0 -85
- package/dist/chunks/NcIconSvgWrapper-n3MnAe1S.mjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-QI-5lWEZ.cjs +0 -92
- package/dist/chunks/NcInputConfirmCancel-QI-5lWEZ.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-iPOBMuwq.mjs +0 -97
- package/dist/chunks/NcInputConfirmCancel-iPOBMuwq.mjs.map +0 -1
- package/dist/chunks/NcListItem-J1Ru_eFH.cjs +0 -243
- package/dist/chunks/NcListItem-J1Ru_eFH.cjs.map +0 -1
- package/dist/chunks/NcListItem-m2T3a1c4.mjs +0 -248
- package/dist/chunks/NcListItem-m2T3a1c4.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-RHDhF_NC.mjs +0 -165
- package/dist/chunks/NcListItemIcon-RHDhF_NC.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-aE0JNfCX.cjs +0 -162
- package/dist/chunks/NcListItemIcon-aE0JNfCX.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-h__iqTKL.mjs +0 -238
- package/dist/chunks/NcPasswordField-h__iqTKL.mjs.map +0 -1
- package/dist/chunks/NcPasswordField-rgZThnoq.cjs +0 -229
- package/dist/chunks/NcPasswordField-rgZThnoq.cjs.map +0 -1
- package/dist/chunks/NcPopover-T4GMXmKV.mjs +0 -218
- package/dist/chunks/NcPopover-T4GMXmKV.mjs.map +0 -1
- package/dist/chunks/NcPopover-judBGW5r.cjs +0 -212
- package/dist/chunks/NcPopover-judBGW5r.cjs.map +0 -1
- package/dist/chunks/NcProgressBar-BthaVVHU.cjs +0 -96
- package/dist/chunks/NcProgressBar-BthaVVHU.cjs.map +0 -1
- package/dist/chunks/NcProgressBar-h2ufKS6c.mjs +0 -99
- package/dist/chunks/NcProgressBar-h2ufKS6c.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-DCGxBHHT.mjs +0 -205
- package/dist/chunks/NcRelatedResourcesPanel-DCGxBHHT.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-u1ob1njl.cjs +0 -200
- package/dist/chunks/NcRelatedResourcesPanel-u1ob1njl.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-03_DWRDq.cjs +0 -505
- package/dist/chunks/NcRichContenteditable-03_DWRDq.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-_Ac_ZEfF.mjs +0 -515
- package/dist/chunks/NcRichContenteditable-_Ac_ZEfF.mjs.map +0 -1
- package/dist/chunks/NcRichText-4Y574QZM.mjs +0 -353
- package/dist/chunks/NcRichText-4Y574QZM.mjs.map +0 -1
- package/dist/chunks/NcRichText-Qh1uk4U8.cjs +0 -337
- package/dist/chunks/NcRichText-Qh1uk4U8.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-BnTLFd27.cjs +0 -464
- package/dist/chunks/NcSelect-BnTLFd27.cjs.map +0 -1
- package/dist/chunks/NcSelect-DzZqm1fn.mjs +0 -475
- package/dist/chunks/NcSelect-DzZqm1fn.mjs.map +0 -1
- package/dist/chunks/NcSelectTags-PgYBpBfS.cjs +0 -261
- package/dist/chunks/NcSelectTags-PgYBpBfS.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-qBzjNabg.mjs +0 -267
- package/dist/chunks/NcSelectTags-qBzjNabg.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-DROaqnIE.mjs +0 -95
- package/dist/chunks/NcSettingsInputText-DROaqnIE.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-FH_6k117.cjs +0 -92
- package/dist/chunks/NcSettingsInputText-FH_6k117.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-HGZQAB56.cjs +0 -96
- package/dist/chunks/NcSettingsSection-HGZQAB56.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-pxZK64xe.mjs +0 -98
- package/dist/chunks/NcSettingsSection-pxZK64xe.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-NtqYZTN-.mjs +0 -192
- package/dist/chunks/NcSettingsSelectGroup-NtqYZTN-.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-d0wrSLXq.cjs +0 -185
- package/dist/chunks/NcSettingsSelectGroup-d0wrSLXq.cjs.map +0 -1
- package/dist/chunks/NcTextField-2P7HaQ-i.cjs +0 -140
- package/dist/chunks/NcTextField-2P7HaQ-i.cjs.map +0 -1
- package/dist/chunks/NcTextField-RnMWfagW.mjs +0 -146
- package/dist/chunks/NcTextField-RnMWfagW.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-98XoQsZ0.cjs +0 -7195
- package/dist/chunks/NcTimezonePicker-98XoQsZ0.cjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-HvUUs7VK.mjs +0 -7201
- package/dist/chunks/NcTimezonePicker-HvUUs7VK.mjs.map +0 -1
- package/dist/chunks/NcUserBubble-pCJK4AXS.cjs +0 -192
- package/dist/chunks/NcUserBubble-pCJK4AXS.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-y-RdfxGU.mjs +0 -197
- package/dist/chunks/NcUserBubble-y-RdfxGU.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-Wwtp8zH3.mjs +0 -174
- package/dist/chunks/NcUserStatusIcon-Wwtp8zH3.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-iczxs1an.cjs +0 -167
- package/dist/chunks/NcUserStatusIcon-iczxs1an.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-3zN8-DXa.mjs +0 -29
- package/dist/chunks/ScopeComponent-3zN8-DXa.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-_Qe2Qn0v.cjs +0 -28
- package/dist/chunks/ScopeComponent-_Qe2Qn0v.cjs.map +0 -1
- package/dist/chunks/_l10n--bDJ_Qyj.mjs +0 -66
- package/dist/chunks/_l10n--bDJ_Qyj.mjs.map +0 -1
- package/dist/chunks/_l10n-mEcF7TYU.cjs +0 -64
- package/dist/chunks/_l10n-mEcF7TYU.cjs.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/emoji-mJIuLpNR.cjs +0 -58
- package/dist/chunks/emoji-mJIuLpNR.cjs.map +0 -1
- package/dist/chunks/emoji-tllD0Rvt.mjs +0 -61
- package/dist/chunks/emoji-tllD0Rvt.mjs.map +0 -1
- package/dist/chunks/index-2phCrsSH.mjs +0 -149
- package/dist/chunks/index-2phCrsSH.mjs.map +0 -1
- package/dist/chunks/index-FO4BaGaF.cjs +0 -148
- package/dist/chunks/index-FO4BaGaF.cjs.map +0 -1
- package/dist/chunks/index-U21dQVa7.cjs +0 -151
- package/dist/chunks/index-U21dQVa7.cjs.map +0 -1
- package/dist/chunks/index-n2q3iT69.mjs +0 -157
- package/dist/chunks/index-n2q3iT69.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-Cnscu3tI.cjs +0 -880
- package/dist/chunks/referencePickerModal-Cnscu3tI.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-oI8JiWDV.mjs +0 -897
- package/dist/chunks/referencePickerModal-oI8JiWDV.mjs.map +0 -1
- package/dist/chunks/usernameToColor-HiPZbTLh.mjs +0 -41
- package/dist/chunks/usernameToColor-HiPZbTLh.mjs.map +0 -1
- package/dist/chunks/usernameToColor-nIJ4GOsW.cjs +0 -39
- package/dist/chunks/usernameToColor-nIJ4GOsW.cjs.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,1111 @@
|
|
|
1
|
+
var at = require("../assets/referencePickerModal-k5G-IS2z.css");
|
|
2
|
+
const e = require("vue"), p = require("./_plugin-vue_export-helper-xG2iG1wl.cjs"), s = require("./_l10n-Fl7RzbcZ.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-P2FpWJBr.cjs"), A = require("./NcLoadingIcon-Fwid-wWE.cjs"), H = require("./NcTextField-zi19KqEm.cjs"), Q = require("./DotsHorizontal-z8LXg-4B.cjs"), G = require("./NcButton-7UKtzkX5.cjs"), F = require("../Components/NcModal.cjs"), K = require("@nextcloud/event-bus"), Z = require("./ArrowLeft-arUkZZ3U.cjs"), J = require("./Close-e2vDvDm2.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, interactive: o }) => {
|
|
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, interactive: o });
|
|
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
|
+
var t;
|
|
74
|
+
this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), ((t = this == null ? void 0 : this.reference) == null ? void 0 : t.richObjectType) !== "open-graph" && this.$nextTick(() => {
|
|
75
|
+
V(this.$refs.customWidget, this.reference);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, te = {
|
|
80
|
+
key: 0,
|
|
81
|
+
class: "widget-custom"
|
|
82
|
+
}, re = { ref: "customWidget" }, ne = ["href"], oe = ["src"], ie = { class: "widget-default--details" }, ce = { class: "widget-default--name" }, se = { class: "widget-default--link" };
|
|
83
|
+
function le(t, r, n, c, o, i) {
|
|
84
|
+
return e.openBlock(), e.createElementBlock("div", null, [
|
|
85
|
+
n.reference && i.hasCustomWidget ? (e.openBlock(), e.createElementBlock("div", te, [
|
|
86
|
+
e.createElementVNode("div", re, null, 512)
|
|
87
|
+
])) : !i.noAccess && n.reference && n.reference.openGraphObject && !i.hasCustomWidget ? (e.openBlock(), e.createElementBlock("a", {
|
|
88
|
+
key: 1,
|
|
89
|
+
href: n.reference.openGraphObject.link,
|
|
90
|
+
rel: "noopener noreferrer",
|
|
91
|
+
target: "_blank",
|
|
92
|
+
class: "widget-default"
|
|
93
|
+
}, [
|
|
94
|
+
n.reference.openGraphObject.thumb ? (e.openBlock(), e.createElementBlock("img", {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: "widget-default--image",
|
|
97
|
+
src: n.reference.openGraphObject.thumb
|
|
98
|
+
}, null, 8, oe)) : e.createCommentVNode("", !0),
|
|
99
|
+
e.createElementVNode("div", ie, [
|
|
100
|
+
e.createElementVNode("p", ce, e.toDisplayString(n.reference.openGraphObject.name), 1),
|
|
101
|
+
e.createElementVNode("p", {
|
|
102
|
+
class: "widget-default--description",
|
|
103
|
+
style: e.normalizeStyle(i.descriptionStyle)
|
|
104
|
+
}, e.toDisplayString(n.reference.openGraphObject.description), 5),
|
|
105
|
+
e.createElementVNode("p", se, e.toDisplayString(i.compactLink), 1)
|
|
106
|
+
])
|
|
107
|
+
], 8, ne)) : e.createCommentVNode("", !0)
|
|
108
|
+
]);
|
|
109
|
+
}
|
|
110
|
+
const R = /* @__PURE__ */ p._export_sfc(ee, [["render", le], ["__scopeId", "data-v-6a943e4e"]]);
|
|
111
|
+
window._vue_richtext_custom_picker_elements || (window._vue_richtext_custom_picker_elements = {});
|
|
112
|
+
class ae {
|
|
113
|
+
/**
|
|
114
|
+
* @param {HTMLElement} element The HTML element
|
|
115
|
+
* @param {object} object The object
|
|
116
|
+
*/
|
|
117
|
+
constructor(r, n) {
|
|
118
|
+
this.element = r, this.object = n;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
const _ = (t) => !!window._vue_richtext_custom_picker_elements[t], de = (t) => {
|
|
122
|
+
var n;
|
|
123
|
+
const r = (n = window._vue_richtext_custom_picker_elements[t]) == null ? void 0 : n.size;
|
|
124
|
+
return ["small", "normal", "large", "full"].includes(r) ? r : null;
|
|
125
|
+
}, I = (t, r, n = (o) => {
|
|
126
|
+
}, c = "large") => {
|
|
127
|
+
if (window._vue_richtext_custom_picker_elements[t]) {
|
|
128
|
+
console.error("Custom reference picker element for id " + t + " already registered");
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
window._vue_richtext_custom_picker_elements[t] = {
|
|
132
|
+
id: t,
|
|
133
|
+
callback: r,
|
|
134
|
+
onDestroy: n,
|
|
135
|
+
size: c
|
|
136
|
+
};
|
|
137
|
+
}, q = (t, { providerId: r, accessible: n }) => {
|
|
138
|
+
if (!window._vue_richtext_custom_picker_elements[r]) {
|
|
139
|
+
console.error("Custom reference picker element for reference provider ID " + r + " not registered");
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
return window._vue_richtext_custom_picker_elements[r].callback(t, { providerId: r, accessible: n });
|
|
143
|
+
}, ue = (t, r, n) => {
|
|
144
|
+
window._vue_richtext_custom_picker_elements[t] && window._vue_richtext_custom_picker_elements[t].onDestroy(r, n);
|
|
145
|
+
};
|
|
146
|
+
window._registerCustomPickerElement = I;
|
|
147
|
+
const he = {
|
|
148
|
+
name: "NcCustomPickerElement",
|
|
149
|
+
props: {
|
|
150
|
+
/**
|
|
151
|
+
* The reference provider
|
|
152
|
+
*/
|
|
153
|
+
provider: {
|
|
154
|
+
type: Object,
|
|
155
|
+
required: !0
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
emits: [
|
|
159
|
+
"cancel",
|
|
160
|
+
"submit"
|
|
161
|
+
],
|
|
162
|
+
data() {
|
|
163
|
+
return {
|
|
164
|
+
isRegistered: _(this.provider.id),
|
|
165
|
+
renderResult: null
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
mounted() {
|
|
169
|
+
this.isRegistered && this.renderElement();
|
|
170
|
+
},
|
|
171
|
+
beforeUnmount() {
|
|
172
|
+
this.isRegistered && ue(this.provider.id, this.$el, this.renderResult);
|
|
173
|
+
},
|
|
174
|
+
methods: {
|
|
175
|
+
renderElement() {
|
|
176
|
+
this.$refs.domElement && (this.$refs.domElement.innerHTML = "");
|
|
177
|
+
const t = q(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
|
|
178
|
+
Promise.resolve(t).then((r) => {
|
|
179
|
+
var n, c;
|
|
180
|
+
this.renderResult = r, (n = this.renderResult.object) != null && n._isVue && ((c = this.renderResult.object) != null && c.$on) && (this.renderResult.object.$on("submit", this.onSubmit), this.renderResult.object.$on("cancel", this.onCancel)), this.renderResult.element.addEventListener("submit", (o) => {
|
|
181
|
+
this.onSubmit(o.detail);
|
|
182
|
+
}), this.renderResult.element.addEventListener("cancel", this.onCancel);
|
|
183
|
+
});
|
|
184
|
+
},
|
|
185
|
+
onSubmit(t) {
|
|
186
|
+
this.$emit("submit", t);
|
|
187
|
+
},
|
|
188
|
+
onCancel() {
|
|
189
|
+
this.$emit("cancel");
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}, me = { ref: "domElement" };
|
|
193
|
+
function pe(t, r, n, c, o, i) {
|
|
194
|
+
return e.openBlock(), e.createElementBlock("div", me, null, 512);
|
|
195
|
+
}
|
|
196
|
+
const _e = /* @__PURE__ */ p._export_sfc(he, [["render", pe], ["__scopeId", "data-v-d1a1cfc2"]]);
|
|
197
|
+
s.register(s.t7);
|
|
198
|
+
const C = "any-link", O = {
|
|
199
|
+
id: C,
|
|
200
|
+
title: s.t("Any link"),
|
|
201
|
+
icon_url: v.imagePath("core", "filetypes/link.svg")
|
|
202
|
+
};
|
|
203
|
+
window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = b.loadState("core", "reference-provider-list", []));
|
|
204
|
+
window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = b.loadState("core", "reference-provider-timestamps", {}));
|
|
205
|
+
function M(t) {
|
|
206
|
+
return t === C ? O : y().find((r) => r.id === t);
|
|
207
|
+
}
|
|
208
|
+
function y() {
|
|
209
|
+
return window._vue_richtext_reference_providers.filter((t) => {
|
|
210
|
+
const r = !!t.search_providers_ids && t.search_providers_ids.length > 0 || _(t.id);
|
|
211
|
+
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;
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
function W(t) {
|
|
215
|
+
const r = window._vue_richtext_reference_provider_timestamps;
|
|
216
|
+
return t.sort((n, c) => n.order === c.order ? 0 : n.order > c.order ? 1 : -1).sort((n, c) => {
|
|
217
|
+
const o = r[n.id], i = r[c.id];
|
|
218
|
+
return o === i ? 0 : i === void 0 ? -1 : o === void 0 ? 1 : o > i ? -1 : 1;
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
function T(t, r = null) {
|
|
222
|
+
const n = y(), c = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), o = new RegExp(c, "i"), l = W(n).filter((d) => d.title.match(o)), a = r ? l.slice(0, r) : l;
|
|
223
|
+
return (t === "" || a.length === 0) && a.push(O), a;
|
|
224
|
+
}
|
|
225
|
+
function fe(t) {
|
|
226
|
+
const r = Math.floor(Date.now() / 1e3), n = {
|
|
227
|
+
timestamp: r
|
|
228
|
+
}, c = v.generateOcsUrl("references/provider/{providerId}", { providerId: t });
|
|
229
|
+
g.default.put(c, n).then((o) => {
|
|
230
|
+
window._vue_richtext_reference_provider_timestamps[t] = r;
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
let N = 0;
|
|
234
|
+
function z(t, r) {
|
|
235
|
+
return function() {
|
|
236
|
+
const n = this, c = arguments;
|
|
237
|
+
clearTimeout(N), N = setTimeout(function() {
|
|
238
|
+
t.apply(n, c);
|
|
239
|
+
}, r || 0);
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
function P(t) {
|
|
243
|
+
try {
|
|
244
|
+
return !!new URL(t);
|
|
245
|
+
} catch {
|
|
246
|
+
return !1;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
s.register(s.t33, s.t36);
|
|
250
|
+
const ve = {
|
|
251
|
+
name: "LinkVariantIcon",
|
|
252
|
+
emits: ["click"],
|
|
253
|
+
props: {
|
|
254
|
+
title: {
|
|
255
|
+
type: String
|
|
256
|
+
},
|
|
257
|
+
fillColor: {
|
|
258
|
+
type: String,
|
|
259
|
+
default: "currentColor"
|
|
260
|
+
},
|
|
261
|
+
size: {
|
|
262
|
+
type: Number,
|
|
263
|
+
default: 24
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}, 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 };
|
|
267
|
+
function Pe(t, r, n, c, o, i) {
|
|
268
|
+
return e.openBlock(), e.createElementBlock("span", e.mergeProps(t.$attrs, {
|
|
269
|
+
"aria-hidden": n.title ? null : !0,
|
|
270
|
+
"aria-label": n.title,
|
|
271
|
+
class: "material-design-icon link-variant-icon",
|
|
272
|
+
role: "img",
|
|
273
|
+
onClick: r[0] || (r[0] = (l) => t.$emit("click", l))
|
|
274
|
+
}), [
|
|
275
|
+
(e.openBlock(), e.createElementBlock("svg", {
|
|
276
|
+
fill: n.fillColor,
|
|
277
|
+
class: "material-design-icon__svg",
|
|
278
|
+
width: n.size,
|
|
279
|
+
height: n.size,
|
|
280
|
+
viewBox: "0 0 24 24"
|
|
281
|
+
}, [
|
|
282
|
+
e.createElementVNode("path", Ce, [
|
|
283
|
+
n.title ? (e.openBlock(), e.createElementBlock("title", ye, e.toDisplayString(n.title), 1)) : e.createCommentVNode("", !0)
|
|
284
|
+
])
|
|
285
|
+
], 8, ge))
|
|
286
|
+
], 16, ke);
|
|
287
|
+
}
|
|
288
|
+
const w = /* @__PURE__ */ p._export_sfc(ve, [["render", Pe]]), we = {
|
|
289
|
+
name: "NcProviderList",
|
|
290
|
+
components: {
|
|
291
|
+
NcSelect: E.NcSelect,
|
|
292
|
+
NcHighlight: B._sfc_main,
|
|
293
|
+
NcEmptyContent: k.NcEmptyContent,
|
|
294
|
+
LinkVariantIcon: w
|
|
295
|
+
},
|
|
296
|
+
emits: [
|
|
297
|
+
"select-provider",
|
|
298
|
+
"submit"
|
|
299
|
+
],
|
|
300
|
+
data() {
|
|
301
|
+
return {
|
|
302
|
+
selectedProvider: null,
|
|
303
|
+
query: "",
|
|
304
|
+
multiselectPlaceholder: s.t("Select provider"),
|
|
305
|
+
providerIconAlt: s.t("Provider icon")
|
|
306
|
+
};
|
|
307
|
+
},
|
|
308
|
+
computed: {
|
|
309
|
+
options() {
|
|
310
|
+
const t = [];
|
|
311
|
+
return this.query !== "" && P(this.query) && t.push({
|
|
312
|
+
id: this.query,
|
|
313
|
+
title: this.query,
|
|
314
|
+
isLink: !0
|
|
315
|
+
}), t.push(...T(this.query)), t;
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
methods: {
|
|
319
|
+
focus() {
|
|
320
|
+
setTimeout(() => {
|
|
321
|
+
var t, r, n;
|
|
322
|
+
(n = (r = (t = this.$refs["provider-select"]) == null ? void 0 : t.$el) == null ? void 0 : r.querySelector("#provider-select-input")) == null || n.focus();
|
|
323
|
+
}, 300);
|
|
324
|
+
},
|
|
325
|
+
onProviderSelected(t) {
|
|
326
|
+
t !== null && (t.isLink ? this.$emit("submit", t.title) : this.$emit("select-provider", t), this.selectedProvider = null);
|
|
327
|
+
},
|
|
328
|
+
onSearch(t) {
|
|
329
|
+
this.query = t;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}, Ne = { class: "provider-list" }, Se = {
|
|
333
|
+
key: 0,
|
|
334
|
+
class: "provider"
|
|
335
|
+
}, be = {
|
|
336
|
+
key: 1,
|
|
337
|
+
class: "provider"
|
|
338
|
+
}, Be = ["src", "alt"];
|
|
339
|
+
function Ee(t, r, n, c, o, i) {
|
|
340
|
+
const l = e.resolveComponent("LinkVariantIcon"), a = e.resolveComponent("NcHighlight"), d = e.resolveComponent("NcSelect"), m = e.resolveComponent("NcEmptyContent");
|
|
341
|
+
return e.openBlock(), e.createElementBlock("div", Ne, [
|
|
342
|
+
e.createVNode(d, {
|
|
343
|
+
ref: "provider-select",
|
|
344
|
+
modelValue: o.selectedProvider,
|
|
345
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => o.selectedProvider = u),
|
|
346
|
+
class: "provider-list--select",
|
|
347
|
+
"input-id": "provider-select-input",
|
|
348
|
+
label: "title",
|
|
349
|
+
placeholder: o.multiselectPlaceholder,
|
|
350
|
+
options: i.options,
|
|
351
|
+
"append-to-body": !1,
|
|
352
|
+
"clear-search-on-select": !0,
|
|
353
|
+
"clear-search-on-blur": () => !1,
|
|
354
|
+
filterable: !1,
|
|
355
|
+
onSearch: i.onSearch,
|
|
356
|
+
onInput: i.onProviderSelected
|
|
357
|
+
}, {
|
|
358
|
+
option: e.withCtx((u) => [
|
|
359
|
+
u.isLink ? (e.openBlock(), e.createElementBlock("div", Se, [
|
|
360
|
+
e.createVNode(l, {
|
|
361
|
+
class: "link-icon",
|
|
362
|
+
size: 20
|
|
363
|
+
}),
|
|
364
|
+
e.createElementVNode("span", null, e.toDisplayString(u.title), 1)
|
|
365
|
+
])) : (e.openBlock(), e.createElementBlock("div", be, [
|
|
366
|
+
e.createElementVNode("img", {
|
|
367
|
+
class: "provider-icon",
|
|
368
|
+
src: u.icon_url,
|
|
369
|
+
alt: o.providerIconAlt
|
|
370
|
+
}, null, 8, Be),
|
|
371
|
+
e.createVNode(a, {
|
|
372
|
+
class: "option-text",
|
|
373
|
+
search: o.query,
|
|
374
|
+
text: u.title
|
|
375
|
+
}, null, 8, ["search", "text"])
|
|
376
|
+
]))
|
|
377
|
+
]),
|
|
378
|
+
_: 1
|
|
379
|
+
}, 8, ["modelValue", "placeholder", "options", "onSearch", "onInput"]),
|
|
380
|
+
e.createVNode(m, { class: "provider-list--empty-content" }, {
|
|
381
|
+
icon: e.withCtx(() => [
|
|
382
|
+
e.createVNode(l)
|
|
383
|
+
]),
|
|
384
|
+
_: 1
|
|
385
|
+
})
|
|
386
|
+
]);
|
|
387
|
+
}
|
|
388
|
+
const xe = /* @__PURE__ */ p._export_sfc(we, [["render", Ee], ["__scopeId", "data-v-22ce9632"]]);
|
|
389
|
+
s.register(s.t20);
|
|
390
|
+
const Le = {
|
|
391
|
+
name: "NcRawLinkInput",
|
|
392
|
+
components: {
|
|
393
|
+
LinkVariantIcon: w,
|
|
394
|
+
NcEmptyContent: k.NcEmptyContent,
|
|
395
|
+
NcLoadingIcon: A.NcLoadingIcon,
|
|
396
|
+
NcReferenceWidget: R,
|
|
397
|
+
NcTextField: H.NcTextField
|
|
398
|
+
},
|
|
399
|
+
props: {
|
|
400
|
+
/**
|
|
401
|
+
* The reference provider
|
|
402
|
+
*/
|
|
403
|
+
provider: {
|
|
404
|
+
type: Object,
|
|
405
|
+
required: !0
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
emits: [
|
|
409
|
+
"submit"
|
|
410
|
+
],
|
|
411
|
+
data() {
|
|
412
|
+
return {
|
|
413
|
+
inputValue: "",
|
|
414
|
+
loading: !1,
|
|
415
|
+
reference: null,
|
|
416
|
+
abortController: null,
|
|
417
|
+
inputPlaceholder: s.t("Enter link")
|
|
418
|
+
};
|
|
419
|
+
},
|
|
420
|
+
computed: {
|
|
421
|
+
isLinkValid() {
|
|
422
|
+
return P(this.inputValue);
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
methods: {
|
|
426
|
+
focus() {
|
|
427
|
+
var t;
|
|
428
|
+
(t = this.$refs["url-input"].$el.getElementsByTagName("input")[0]) == null || t.focus();
|
|
429
|
+
},
|
|
430
|
+
onSubmit(t) {
|
|
431
|
+
const r = t.target.value;
|
|
432
|
+
this.isLinkValid && this.$emit("submit", r);
|
|
433
|
+
},
|
|
434
|
+
onClear() {
|
|
435
|
+
this.inputValue = "", this.reference = null;
|
|
436
|
+
},
|
|
437
|
+
onInput() {
|
|
438
|
+
this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && z(() => {
|
|
439
|
+
this.updateReference();
|
|
440
|
+
}, 500)();
|
|
441
|
+
},
|
|
442
|
+
updateReference() {
|
|
443
|
+
this.loading = !0, this.abortController = new AbortController(), g.default.get(v.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
|
|
444
|
+
signal: this.abortController.signal
|
|
445
|
+
}).then((t) => {
|
|
446
|
+
this.reference = t.data.ocs.data.references[this.inputValue];
|
|
447
|
+
}).catch((t) => {
|
|
448
|
+
console.error(t);
|
|
449
|
+
}).then(() => {
|
|
450
|
+
this.loading = !1;
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}, Ve = { class: "raw-link" }, Re = { class: "input-wrapper" }, Ie = ["src"];
|
|
455
|
+
function qe(t, r, n, c, o, i) {
|
|
456
|
+
const l = e.resolveComponent("NcLoadingIcon"), a = e.resolveComponent("LinkVariantIcon"), d = e.resolveComponent("NcTextField"), m = e.resolveComponent("NcReferenceWidget"), u = e.resolveComponent("NcEmptyContent");
|
|
457
|
+
return e.openBlock(), e.createElementBlock("div", Ve, [
|
|
458
|
+
e.createElementVNode("div", Re, [
|
|
459
|
+
e.createVNode(d, {
|
|
460
|
+
ref: "url-input",
|
|
461
|
+
modelValue: o.inputValue,
|
|
462
|
+
"onUpdate:modelValue": [
|
|
463
|
+
r[0] || (r[0] = (h) => o.inputValue = h),
|
|
464
|
+
i.onInput
|
|
465
|
+
],
|
|
466
|
+
"show-trailing-button": o.inputValue !== "",
|
|
467
|
+
label: o.inputPlaceholder,
|
|
468
|
+
onTrailingButtonClick: i.onClear,
|
|
469
|
+
onKeyup: e.withKeys(i.onSubmit, ["enter"])
|
|
470
|
+
}, {
|
|
471
|
+
default: e.withCtx(() => [
|
|
472
|
+
o.loading ? (e.openBlock(), e.createBlock(l, {
|
|
473
|
+
key: 0,
|
|
474
|
+
size: 16
|
|
475
|
+
})) : (e.openBlock(), e.createBlock(a, {
|
|
476
|
+
key: 1,
|
|
477
|
+
size: 16
|
|
478
|
+
}))
|
|
479
|
+
]),
|
|
480
|
+
_: 1
|
|
481
|
+
}, 8, ["modelValue", "show-trailing-button", "label", "onTrailingButtonClick", "onUpdate:modelValue", "onKeyup"])
|
|
482
|
+
]),
|
|
483
|
+
o.reference !== null ? (e.openBlock(), e.createBlock(m, {
|
|
484
|
+
key: 0,
|
|
485
|
+
class: "reference-widget",
|
|
486
|
+
reference: o.reference
|
|
487
|
+
}, null, 8, ["reference"])) : (e.openBlock(), e.createBlock(u, {
|
|
488
|
+
key: 1,
|
|
489
|
+
class: "raw-link--empty-content"
|
|
490
|
+
}, {
|
|
491
|
+
icon: e.withCtx(() => [
|
|
492
|
+
n.provider.icon_url ? (e.openBlock(), e.createElementBlock("img", {
|
|
493
|
+
key: 0,
|
|
494
|
+
class: "provider-icon",
|
|
495
|
+
src: n.provider.icon_url
|
|
496
|
+
}, null, 8, Ie)) : (e.openBlock(), e.createBlock(a, { key: 1 }))
|
|
497
|
+
]),
|
|
498
|
+
_: 1
|
|
499
|
+
}))
|
|
500
|
+
]);
|
|
501
|
+
}
|
|
502
|
+
const Oe = /* @__PURE__ */ p._export_sfc(Le, [["render", qe], ["__scopeId", "data-v-5bc24564"]]), Me = {
|
|
503
|
+
name: "NcSearchResult",
|
|
504
|
+
components: {
|
|
505
|
+
NcHighlight: B._sfc_main
|
|
506
|
+
},
|
|
507
|
+
props: {
|
|
508
|
+
/**
|
|
509
|
+
* Unified search result entry
|
|
510
|
+
*/
|
|
511
|
+
entry: {
|
|
512
|
+
type: Object,
|
|
513
|
+
required: !0
|
|
514
|
+
},
|
|
515
|
+
/**
|
|
516
|
+
* The query that led to getting this result
|
|
517
|
+
* Used to highlight the entry text
|
|
518
|
+
*/
|
|
519
|
+
query: {
|
|
520
|
+
type: String,
|
|
521
|
+
required: !0
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}, We = { class: "result" }, Te = ["src"], ze = { class: "result--content" }, De = { class: "result--content--name" }, Ue = { class: "result--content--subline" };
|
|
525
|
+
function je(t, r, n, c, o, i) {
|
|
526
|
+
const l = e.resolveComponent("NcHighlight");
|
|
527
|
+
return e.openBlock(), e.createElementBlock("div", We, [
|
|
528
|
+
n.entry.icon ? (e.openBlock(), e.createElementBlock("div", {
|
|
529
|
+
key: 0,
|
|
530
|
+
class: e.normalizeClass([{ [n.entry.icon]: !0, rounded: n.entry.rounded }, "result--icon-class"])
|
|
531
|
+
}, null, 2)) : (e.openBlock(), e.createElementBlock("img", {
|
|
532
|
+
key: 1,
|
|
533
|
+
class: e.normalizeClass(["result--image", { rounded: n.entry.rounded }]),
|
|
534
|
+
src: n.entry.thumbnailUrl
|
|
535
|
+
}, null, 10, Te)),
|
|
536
|
+
e.createElementVNode("div", ze, [
|
|
537
|
+
e.createElementVNode("span", De, [
|
|
538
|
+
e.createVNode(l, {
|
|
539
|
+
search: n.query,
|
|
540
|
+
text: n.entry.title
|
|
541
|
+
}, null, 8, ["search", "text"])
|
|
542
|
+
]),
|
|
543
|
+
e.createElementVNode("span", Ue, [
|
|
544
|
+
e.createVNode(l, {
|
|
545
|
+
search: n.query,
|
|
546
|
+
text: n.entry.subline
|
|
547
|
+
}, null, 8, ["search", "text"])
|
|
548
|
+
])
|
|
549
|
+
])
|
|
550
|
+
]);
|
|
551
|
+
}
|
|
552
|
+
const $e = /* @__PURE__ */ p._export_sfc(Me, [["render", je], ["__scopeId", "data-v-7a394a58"]]);
|
|
553
|
+
s.register(s.t26, s.t33, s.t34);
|
|
554
|
+
const S = 5, Ae = {
|
|
555
|
+
name: "NcSearch",
|
|
556
|
+
components: {
|
|
557
|
+
LinkVariantIcon: w,
|
|
558
|
+
DotsHorizontalIcon: Q.DotsHorizontal,
|
|
559
|
+
NcEmptyContent: k.NcEmptyContent,
|
|
560
|
+
NcSelect: E.NcSelect,
|
|
561
|
+
NcSearchResult: $e
|
|
562
|
+
},
|
|
563
|
+
props: {
|
|
564
|
+
/**
|
|
565
|
+
* The selected reference provider
|
|
566
|
+
*/
|
|
567
|
+
provider: {
|
|
568
|
+
type: Object,
|
|
569
|
+
required: !0
|
|
570
|
+
},
|
|
571
|
+
showEmptyContent: {
|
|
572
|
+
type: Boolean,
|
|
573
|
+
default: !0
|
|
574
|
+
},
|
|
575
|
+
searchPlaceholder: {
|
|
576
|
+
type: String,
|
|
577
|
+
default: null
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
emits: [
|
|
581
|
+
"submit"
|
|
582
|
+
],
|
|
583
|
+
data() {
|
|
584
|
+
return {
|
|
585
|
+
searchQuery: "",
|
|
586
|
+
selectedResult: null,
|
|
587
|
+
resultsBySearchProvider: {},
|
|
588
|
+
searching: !1,
|
|
589
|
+
searchingMoreOf: null,
|
|
590
|
+
abortController: null,
|
|
591
|
+
noOptionsText: s.t("Start typing to search"),
|
|
592
|
+
providerIconAlt: s.t("Provider icon")
|
|
593
|
+
};
|
|
594
|
+
},
|
|
595
|
+
computed: {
|
|
596
|
+
mySearchPlaceholder() {
|
|
597
|
+
return this.searchPlaceholder || s.t("Search");
|
|
598
|
+
},
|
|
599
|
+
searchProviderIds() {
|
|
600
|
+
return this.provider.search_providers_ids;
|
|
601
|
+
},
|
|
602
|
+
options() {
|
|
603
|
+
if (this.searchQuery === "")
|
|
604
|
+
return [];
|
|
605
|
+
const t = [];
|
|
606
|
+
return P(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
|
|
607
|
+
},
|
|
608
|
+
rawLinkEntry() {
|
|
609
|
+
return {
|
|
610
|
+
id: "rawLinkEntry",
|
|
611
|
+
resourceUrl: this.searchQuery,
|
|
612
|
+
isRawLink: !0
|
|
613
|
+
};
|
|
614
|
+
},
|
|
615
|
+
formattedSearchResults() {
|
|
616
|
+
const t = [];
|
|
617
|
+
return this.searchProviderIds.forEach((r) => {
|
|
618
|
+
if (this.resultsBySearchProvider[r].entries.length > 0) {
|
|
619
|
+
(this.searchProviderIds.length > 1 || this.resultsBySearchProvider[r].entries.length > 1) && t.push({
|
|
620
|
+
id: "groupTitle-" + r,
|
|
621
|
+
name: this.resultsBySearchProvider[r].name,
|
|
622
|
+
isCustomGroupTitle: !0,
|
|
623
|
+
providerId: r
|
|
624
|
+
});
|
|
625
|
+
const n = this.resultsBySearchProvider[r].entries.map((c, o) => ({
|
|
626
|
+
id: "provider-" + r + "-entry-" + o,
|
|
627
|
+
...c
|
|
628
|
+
}));
|
|
629
|
+
t.push(...n), this.resultsBySearchProvider[r].isPaginated && t.push({
|
|
630
|
+
id: "moreOf-" + r,
|
|
631
|
+
name: this.resultsBySearchProvider[r].name,
|
|
632
|
+
isMore: !0,
|
|
633
|
+
providerId: r,
|
|
634
|
+
isLoading: this.searchingMoreOf === r
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
}), t;
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
mounted() {
|
|
641
|
+
this.resetResults();
|
|
642
|
+
},
|
|
643
|
+
beforeUnmount() {
|
|
644
|
+
this.cancelSearchRequests();
|
|
645
|
+
},
|
|
646
|
+
methods: {
|
|
647
|
+
t: s.t,
|
|
648
|
+
resetResults() {
|
|
649
|
+
const t = {};
|
|
650
|
+
this.searchProviderIds.forEach((r) => {
|
|
651
|
+
t[r] = {
|
|
652
|
+
entries: []
|
|
653
|
+
};
|
|
654
|
+
}), this.resultsBySearchProvider = t;
|
|
655
|
+
},
|
|
656
|
+
focus() {
|
|
657
|
+
setTimeout(() => {
|
|
658
|
+
var t, r, n;
|
|
659
|
+
(n = (r = (t = this.$refs["search-select"]) == null ? void 0 : t.$el) == null ? void 0 : r.querySelector("#search-select-input")) == null || n.focus();
|
|
660
|
+
}, 300);
|
|
661
|
+
},
|
|
662
|
+
cancelSearchRequests() {
|
|
663
|
+
this.abortController && this.abortController.abort();
|
|
664
|
+
},
|
|
665
|
+
onSearchInput(t) {
|
|
666
|
+
this.searchQuery = t, z(() => {
|
|
667
|
+
this.updateSearch();
|
|
668
|
+
}, 500)();
|
|
669
|
+
},
|
|
670
|
+
onSelectResultSelected(t) {
|
|
671
|
+
t !== null && (t.resourceUrl ? (this.cancelSearchRequests(), this.$emit("submit", t.resourceUrl)) : t.isMore && this.searchMoreOf(t.providerId).then(() => {
|
|
672
|
+
this.selectedResult = null;
|
|
673
|
+
}));
|
|
674
|
+
},
|
|
675
|
+
searchMoreOf(t) {
|
|
676
|
+
return this.searchingMoreOf = t, this.cancelSearchRequests(), this.searchProviders(t);
|
|
677
|
+
},
|
|
678
|
+
updateSearch() {
|
|
679
|
+
if (this.cancelSearchRequests(), this.resetResults(), this.searchQuery === "") {
|
|
680
|
+
this.searching = !1;
|
|
681
|
+
return;
|
|
682
|
+
}
|
|
683
|
+
return this.searchProviders();
|
|
684
|
+
},
|
|
685
|
+
searchProviders(t = null) {
|
|
686
|
+
var n, c;
|
|
687
|
+
this.abortController = new AbortController(), this.searching = !0;
|
|
688
|
+
const r = t === null ? [...this.searchProviderIds].map((o) => this.searchOneProvider(o)) : [this.searchOneProvider(t, (c = (n = this.resultsBySearchProvider[t]) == null ? void 0 : n.cursor) != null ? c : null)];
|
|
689
|
+
return Promise.allSettled(r).then((o) => {
|
|
690
|
+
!!o.find((l) => l.status === "rejected" && (l.reason.name === "CanceledError" || l.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
|
|
691
|
+
});
|
|
692
|
+
},
|
|
693
|
+
searchOneProvider(t, r = null) {
|
|
694
|
+
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 });
|
|
695
|
+
return g.default.get(n, {
|
|
696
|
+
signal: this.abortController.signal
|
|
697
|
+
}).then((c) => {
|
|
698
|
+
const o = c.data.ocs.data;
|
|
699
|
+
this.resultsBySearchProvider[t].name = o.name, this.resultsBySearchProvider[t].cursor = o.cursor, this.resultsBySearchProvider[t].isPaginated = o.isPaginated, this.resultsBySearchProvider[t].entries.push(...o.entries);
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}, He = {
|
|
704
|
+
key: 0,
|
|
705
|
+
class: "custom-option"
|
|
706
|
+
}, Qe = { class: "option-text" }, Ge = {
|
|
707
|
+
key: 2,
|
|
708
|
+
class: "custom-option group-name"
|
|
709
|
+
}, Fe = ["src"], Ke = { class: "option-text" }, Ze = {
|
|
710
|
+
key: 3,
|
|
711
|
+
class: /* @__PURE__ */ e.normalizeClass({ "custom-option": !0 })
|
|
712
|
+
}, Je = {
|
|
713
|
+
key: 0,
|
|
714
|
+
class: "option-simple-icon icon-loading-small"
|
|
715
|
+
}, Xe = { class: "option-text" }, Ye = ["alt", "src"];
|
|
716
|
+
function et(t, r, n, c, o, i) {
|
|
717
|
+
const l = e.resolveComponent("LinkVariantIcon"), a = e.resolveComponent("NcSearchResult"), d = e.resolveComponent("DotsHorizontalIcon"), m = e.resolveComponent("NcSelect"), u = e.resolveComponent("NcEmptyContent");
|
|
718
|
+
return e.openBlock(), e.createElementBlock("div", {
|
|
719
|
+
class: e.normalizeClass(["smart-picker-search", { "with-empty-content": n.showEmptyContent }])
|
|
720
|
+
}, [
|
|
721
|
+
e.createVNode(m, {
|
|
722
|
+
ref: "search-select",
|
|
723
|
+
modelValue: o.selectedResult,
|
|
724
|
+
"onUpdate:modelValue": r[0] || (r[0] = (h) => o.selectedResult = h),
|
|
725
|
+
class: "smart-picker-search--select",
|
|
726
|
+
"input-id": "search-select-input",
|
|
727
|
+
label: "name",
|
|
728
|
+
placeholder: i.mySearchPlaceholder,
|
|
729
|
+
options: i.options,
|
|
730
|
+
"append-to-body": !1,
|
|
731
|
+
"close-on-select": !1,
|
|
732
|
+
"clear-search-on-select": !1,
|
|
733
|
+
"clear-search-on-blur": () => !1,
|
|
734
|
+
"reset-focus-on-options-change": !1,
|
|
735
|
+
filterable: !1,
|
|
736
|
+
autoscroll: !0,
|
|
737
|
+
"reset-on-options-change": !1,
|
|
738
|
+
loading: o.searching,
|
|
739
|
+
onSearch: i.onSearchInput,
|
|
740
|
+
onInput: i.onSelectResultSelected
|
|
741
|
+
}, {
|
|
742
|
+
option: e.withCtx((h) => [
|
|
743
|
+
h.isRawLink ? (e.openBlock(), e.createElementBlock("div", He, [
|
|
744
|
+
e.createVNode(l, {
|
|
745
|
+
class: "option-simple-icon",
|
|
746
|
+
size: 20
|
|
747
|
+
}),
|
|
748
|
+
e.createElementVNode("span", Qe, e.toDisplayString(i.t("Raw link {options}", { options: h.resourceUrl })), 1)
|
|
749
|
+
])) : h.resourceUrl ? (e.openBlock(), e.createBlock(a, {
|
|
750
|
+
key: 1,
|
|
751
|
+
class: "search-result",
|
|
752
|
+
entry: h,
|
|
753
|
+
query: o.searchQuery
|
|
754
|
+
}, null, 8, ["entry", "query"])) : h.isCustomGroupTitle ? (e.openBlock(), e.createElementBlock("span", Ge, [
|
|
755
|
+
n.provider.icon_url ? (e.openBlock(), e.createElementBlock("img", {
|
|
756
|
+
key: 0,
|
|
757
|
+
class: "provider-icon group-name-icon",
|
|
758
|
+
src: n.provider.icon_url
|
|
759
|
+
}, null, 8, Fe)) : e.createCommentVNode("", !0),
|
|
760
|
+
e.createElementVNode("span", Ke, [
|
|
761
|
+
e.createElementVNode("strong", null, e.toDisplayString(h.name), 1)
|
|
762
|
+
])
|
|
763
|
+
])) : h.isMore ? (e.openBlock(), e.createElementBlock("span", Ze, [
|
|
764
|
+
h.isLoading ? (e.openBlock(), e.createElementBlock("span", Je)) : (e.openBlock(), e.createBlock(d, {
|
|
765
|
+
key: 1,
|
|
766
|
+
class: "option-simple-icon",
|
|
767
|
+
size: 20
|
|
768
|
+
})),
|
|
769
|
+
e.createElementVNode("span", Xe, e.toDisplayString(i.t('Load more "{options}"', { options: h.name })), 1)
|
|
770
|
+
])) : e.createCommentVNode("", !0)
|
|
771
|
+
]),
|
|
772
|
+
"no-options": e.withCtx(() => [
|
|
773
|
+
e.createTextVNode(e.toDisplayString(o.noOptionsText), 1)
|
|
774
|
+
]),
|
|
775
|
+
_: 1
|
|
776
|
+
}, 8, ["modelValue", "placeholder", "options", "loading", "onSearch", "onInput"]),
|
|
777
|
+
n.showEmptyContent ? (e.openBlock(), e.createBlock(u, {
|
|
778
|
+
key: 0,
|
|
779
|
+
class: "smart-picker-search--empty-content"
|
|
780
|
+
}, {
|
|
781
|
+
icon: e.withCtx(() => [
|
|
782
|
+
n.provider.icon_url ? (e.openBlock(), e.createElementBlock("img", {
|
|
783
|
+
key: 0,
|
|
784
|
+
class: "provider-icon",
|
|
785
|
+
alt: o.providerIconAlt,
|
|
786
|
+
src: n.provider.icon_url
|
|
787
|
+
}, null, 8, Ye)) : (e.openBlock(), e.createBlock(l, { key: 1 }))
|
|
788
|
+
]),
|
|
789
|
+
_: 1
|
|
790
|
+
})) : e.createCommentVNode("", !0)
|
|
791
|
+
], 2);
|
|
792
|
+
}
|
|
793
|
+
const D = /* @__PURE__ */ p._export_sfc(Ae, [["render", et], ["__scopeId", "data-v-4655703c"]]), f = {
|
|
794
|
+
providerList: 1,
|
|
795
|
+
standardLinkInput: 2,
|
|
796
|
+
searchInput: 3,
|
|
797
|
+
customElement: 4
|
|
798
|
+
}, tt = {
|
|
799
|
+
name: "NcReferencePicker",
|
|
800
|
+
components: {
|
|
801
|
+
NcCustomPickerElement: _e,
|
|
802
|
+
NcProviderList: xe,
|
|
803
|
+
NcRawLinkInput: Oe,
|
|
804
|
+
NcSearch: D
|
|
805
|
+
},
|
|
806
|
+
props: {
|
|
807
|
+
/**
|
|
808
|
+
* Provider to select on creation
|
|
809
|
+
* Default: null. Show the provider list
|
|
810
|
+
*/
|
|
811
|
+
initialProvider: {
|
|
812
|
+
type: Object,
|
|
813
|
+
default: () => null
|
|
814
|
+
},
|
|
815
|
+
/**
|
|
816
|
+
* Optional width in pixels
|
|
817
|
+
* Default: 100%
|
|
818
|
+
*/
|
|
819
|
+
width: {
|
|
820
|
+
type: Number,
|
|
821
|
+
default: null
|
|
822
|
+
},
|
|
823
|
+
/**
|
|
824
|
+
* Focus on the provider list select input on creation
|
|
825
|
+
* Default: true
|
|
826
|
+
*/
|
|
827
|
+
focusOnCreate: {
|
|
828
|
+
type: Boolean,
|
|
829
|
+
default: !0
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
emits: [
|
|
833
|
+
"cancel",
|
|
834
|
+
"cancel-raw-link",
|
|
835
|
+
"cancel-search",
|
|
836
|
+
"provider-selected",
|
|
837
|
+
"submit"
|
|
838
|
+
],
|
|
839
|
+
data() {
|
|
840
|
+
return {
|
|
841
|
+
MODES: f,
|
|
842
|
+
selectedProvider: this.initialProvider
|
|
843
|
+
};
|
|
844
|
+
},
|
|
845
|
+
computed: {
|
|
846
|
+
mode() {
|
|
847
|
+
return this.selectedProvider === null ? f.providerList : _(this.selectedProvider.id) ? f.customElement : this.selectedProvider.search_providers_ids ? f.searchInput : f.standardLinkInput;
|
|
848
|
+
},
|
|
849
|
+
pickerWrapperStyle() {
|
|
850
|
+
return {
|
|
851
|
+
width: this.width ? this.width + "px" : void 0
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
mounted() {
|
|
856
|
+
this.focusOnCreate && (this.initialProvider ? setTimeout(() => {
|
|
857
|
+
var t;
|
|
858
|
+
(t = this.$refs["url-input"]) == null || t.focus();
|
|
859
|
+
}, 300) : this.$nextTick(() => {
|
|
860
|
+
var t;
|
|
861
|
+
(t = this.$refs["provider-list"]) == null || t.focus();
|
|
862
|
+
}));
|
|
863
|
+
},
|
|
864
|
+
methods: {
|
|
865
|
+
onEscapePressed() {
|
|
866
|
+
this.selectedProvider !== null ? this.deselectProvider() : this.cancelProviderSelection();
|
|
867
|
+
},
|
|
868
|
+
onProviderSelected(t) {
|
|
869
|
+
this.selectedProvider = t, this.$emit("provider-selected", t), this.$nextTick(() => {
|
|
870
|
+
var r;
|
|
871
|
+
(r = this.$refs["url-input"]) == null || r.focus();
|
|
872
|
+
});
|
|
873
|
+
},
|
|
874
|
+
cancelCustomElement() {
|
|
875
|
+
this.deselectProvider();
|
|
876
|
+
},
|
|
877
|
+
cancelSearch() {
|
|
878
|
+
var t;
|
|
879
|
+
this.$emit("cancel-search", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
|
|
880
|
+
},
|
|
881
|
+
cancelRawLinkInput() {
|
|
882
|
+
var t;
|
|
883
|
+
this.$emit("cancel-raw-link", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
|
|
884
|
+
},
|
|
885
|
+
cancelProviderSelection() {
|
|
886
|
+
this.$emit("cancel");
|
|
887
|
+
},
|
|
888
|
+
submitLink(t) {
|
|
889
|
+
this.selectedProvider !== null && fe(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
|
|
890
|
+
},
|
|
891
|
+
deselectProvider() {
|
|
892
|
+
this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
|
|
893
|
+
var t;
|
|
894
|
+
(t = this.$refs["provider-list"]) == null || t.focus();
|
|
895
|
+
}, 300);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
}, rt = {
|
|
899
|
+
key: 3,
|
|
900
|
+
class: "custom-element-wrapper"
|
|
901
|
+
};
|
|
902
|
+
function nt(t, r, n, c, o, i) {
|
|
903
|
+
const l = e.resolveComponent("NcProviderList"), a = e.resolveComponent("NcRawLinkInput"), d = e.resolveComponent("NcSearch"), m = e.resolveComponent("NcCustomPickerElement");
|
|
904
|
+
return e.openBlock(), e.createElementBlock("div", {
|
|
905
|
+
class: "reference-picker",
|
|
906
|
+
style: e.normalizeStyle(i.pickerWrapperStyle),
|
|
907
|
+
tabindex: "-1",
|
|
908
|
+
onKeydown: r[0] || (r[0] = e.withKeys(e.withModifiers((...u) => i.onEscapePressed && i.onEscapePressed(...u), ["stop", "prevent"]), ["esc"]))
|
|
909
|
+
}, [
|
|
910
|
+
i.mode === o.MODES.providerList ? (e.openBlock(), e.createBlock(l, {
|
|
911
|
+
key: 0,
|
|
912
|
+
ref: "provider-list",
|
|
913
|
+
onSelectProvider: i.onProviderSelected,
|
|
914
|
+
onSubmit: i.submitLink,
|
|
915
|
+
onCancel: i.cancelProviderSelection
|
|
916
|
+
}, null, 8, ["onSelectProvider", "onSubmit", "onCancel"])) : i.mode === o.MODES.standardLinkInput ? (e.openBlock(), e.createBlock(a, {
|
|
917
|
+
key: 1,
|
|
918
|
+
ref: "url-input",
|
|
919
|
+
provider: o.selectedProvider,
|
|
920
|
+
onSubmit: i.submitLink,
|
|
921
|
+
onCancel: i.cancelRawLinkInput
|
|
922
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])) : i.mode === o.MODES.searchInput ? (e.openBlock(), e.createBlock(d, {
|
|
923
|
+
key: 2,
|
|
924
|
+
ref: "url-input",
|
|
925
|
+
provider: o.selectedProvider,
|
|
926
|
+
onCancel: i.cancelSearch,
|
|
927
|
+
onSubmit: i.submitLink
|
|
928
|
+
}, null, 8, ["provider", "onCancel", "onSubmit"])) : i.mode === o.MODES.customElement ? (e.openBlock(), e.createElementBlock("div", rt, [
|
|
929
|
+
e.createVNode(m, {
|
|
930
|
+
provider: o.selectedProvider,
|
|
931
|
+
onSubmit: i.submitLink,
|
|
932
|
+
onCancel: i.cancelCustomElement
|
|
933
|
+
}, null, 8, ["provider", "onSubmit", "onCancel"])
|
|
934
|
+
])) : e.createCommentVNode("", !0)
|
|
935
|
+
], 36);
|
|
936
|
+
}
|
|
937
|
+
const U = /* @__PURE__ */ p._export_sfc(tt, [["render", nt], ["__scopeId", "data-v-aa77d0d3"]]);
|
|
938
|
+
s.register(s.t11, s.t16);
|
|
939
|
+
const ot = {
|
|
940
|
+
name: "NcReferencePickerModal",
|
|
941
|
+
components: {
|
|
942
|
+
NcReferencePicker: U,
|
|
943
|
+
NcModal: F,
|
|
944
|
+
NcButton: G.NcButton,
|
|
945
|
+
ArrowLeftIcon: Z.ArrowLeft,
|
|
946
|
+
CloseIcon: J.Close
|
|
947
|
+
},
|
|
948
|
+
props: {
|
|
949
|
+
/**
|
|
950
|
+
* Provider to select on creation
|
|
951
|
+
* Show the provider list if no initial one is provided
|
|
952
|
+
*/
|
|
953
|
+
initialProvider: {
|
|
954
|
+
type: Object,
|
|
955
|
+
default: () => null
|
|
956
|
+
},
|
|
957
|
+
/**
|
|
958
|
+
* Focus on the input item on create
|
|
959
|
+
*/
|
|
960
|
+
focusOnCreate: {
|
|
961
|
+
type: Boolean,
|
|
962
|
+
default: !0
|
|
963
|
+
},
|
|
964
|
+
/**
|
|
965
|
+
* If true, add the modal content to the Viewer trap elements via the event-bus
|
|
966
|
+
*/
|
|
967
|
+
isInsideViewer: {
|
|
968
|
+
type: Boolean,
|
|
969
|
+
default: !1
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
emits: [
|
|
973
|
+
"cancel",
|
|
974
|
+
"submit"
|
|
975
|
+
],
|
|
976
|
+
data() {
|
|
977
|
+
return {
|
|
978
|
+
show: !0,
|
|
979
|
+
selectedProvider: this.initialProvider,
|
|
980
|
+
backButtonTitle: s.t("Back to provider selection"),
|
|
981
|
+
closeButtonTitle: s.t("Close"),
|
|
982
|
+
closeButtonLabel: s.t("Close Smart Picker")
|
|
983
|
+
};
|
|
984
|
+
},
|
|
985
|
+
computed: {
|
|
986
|
+
isProviderSelected() {
|
|
987
|
+
return this.selectedProvider !== null;
|
|
988
|
+
},
|
|
989
|
+
showBackButton() {
|
|
990
|
+
return this.initialProvider === null && this.isProviderSelected;
|
|
991
|
+
},
|
|
992
|
+
modalSize() {
|
|
993
|
+
var t;
|
|
994
|
+
return this.isProviderSelected && _(this.selectedProvider.id) ? (t = de(this.selectedProvider.id)) != null ? t : "large" : "normal";
|
|
995
|
+
},
|
|
996
|
+
showModalName() {
|
|
997
|
+
return !this.isProviderSelected || !_(this.selectedProvider.id);
|
|
998
|
+
},
|
|
999
|
+
modalName() {
|
|
1000
|
+
return this.isProviderSelected ? this.selectedProvider.title : s.t("Smart Picker");
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
mounted() {
|
|
1004
|
+
if (this.isInsideViewer) {
|
|
1005
|
+
const t = this.$refs.modal_content;
|
|
1006
|
+
K.emit("viewer:trapElements:changed", t);
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
methods: {
|
|
1010
|
+
onCancel() {
|
|
1011
|
+
this.show = !1, this.$emit("cancel");
|
|
1012
|
+
},
|
|
1013
|
+
onSubmit(t) {
|
|
1014
|
+
this.show = !1, this.$emit("submit", t);
|
|
1015
|
+
},
|
|
1016
|
+
onProviderSelect(t) {
|
|
1017
|
+
this.selectedProvider = t, t === null && this.initialProvider !== null && this.onCancel();
|
|
1018
|
+
},
|
|
1019
|
+
onBackClicked() {
|
|
1020
|
+
this.$refs.referencePicker.deselectProvider();
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}, it = {
|
|
1024
|
+
ref: "modal_content",
|
|
1025
|
+
class: "reference-picker-modal--content"
|
|
1026
|
+
}, ct = { key: 1 };
|
|
1027
|
+
function st(t, r, n, c, o, i) {
|
|
1028
|
+
const l = e.resolveComponent("ArrowLeftIcon"), a = e.resolveComponent("NcButton"), d = e.resolveComponent("CloseIcon"), m = e.resolveComponent("NcReferencePicker"), u = e.resolveComponent("NcModal");
|
|
1029
|
+
return o.show ? (e.openBlock(), e.createBlock(u, {
|
|
1030
|
+
key: 0,
|
|
1031
|
+
size: i.modalSize,
|
|
1032
|
+
"can-close": !1,
|
|
1033
|
+
class: "reference-picker-modal",
|
|
1034
|
+
onClose: i.onCancel
|
|
1035
|
+
}, {
|
|
1036
|
+
default: e.withCtx(() => [
|
|
1037
|
+
e.createElementVNode("div", it, [
|
|
1038
|
+
i.showBackButton ? (e.openBlock(), e.createBlock(a, {
|
|
1039
|
+
key: 0,
|
|
1040
|
+
"aria-label": o.backButtonTitle,
|
|
1041
|
+
title: o.backButtonTitle,
|
|
1042
|
+
class: "back-button",
|
|
1043
|
+
onClick: i.onBackClicked
|
|
1044
|
+
}, {
|
|
1045
|
+
icon: e.withCtx(() => [
|
|
1046
|
+
e.createVNode(l)
|
|
1047
|
+
]),
|
|
1048
|
+
_: 1
|
|
1049
|
+
}, 8, ["aria-label", "title", "onClick"])) : e.createCommentVNode("", !0),
|
|
1050
|
+
e.createVNode(a, {
|
|
1051
|
+
"aria-label": o.closeButtonLabel,
|
|
1052
|
+
title: o.closeButtonTitle,
|
|
1053
|
+
type: "tertiary",
|
|
1054
|
+
class: "close-button",
|
|
1055
|
+
onClick: i.onCancel
|
|
1056
|
+
}, {
|
|
1057
|
+
icon: e.withCtx(() => [
|
|
1058
|
+
e.createVNode(d)
|
|
1059
|
+
]),
|
|
1060
|
+
_: 1
|
|
1061
|
+
}, 8, ["aria-label", "title", "onClick"]),
|
|
1062
|
+
i.showModalName ? (e.openBlock(), e.createElementBlock("h2", ct, e.toDisplayString(i.modalName), 1)) : e.createCommentVNode("", !0),
|
|
1063
|
+
e.createVNode(m, {
|
|
1064
|
+
ref: "referencePicker",
|
|
1065
|
+
"initial-provider": n.initialProvider,
|
|
1066
|
+
"focus-on-create": n.focusOnCreate,
|
|
1067
|
+
onProviderSelected: i.onProviderSelect,
|
|
1068
|
+
onSubmit: i.onSubmit,
|
|
1069
|
+
onCancel: i.onCancel
|
|
1070
|
+
}, null, 8, ["initial-provider", "focus-on-create", "onProviderSelected", "onSubmit", "onCancel"])
|
|
1071
|
+
], 512)
|
|
1072
|
+
]),
|
|
1073
|
+
_: 1
|
|
1074
|
+
}, 8, ["size", "onClose"])) : e.createCommentVNode("", !0);
|
|
1075
|
+
}
|
|
1076
|
+
const j = /* @__PURE__ */ p._export_sfc(ot, [["render", st], ["__scopeId", "data-v-ec2bf1ea"]]);
|
|
1077
|
+
async function lt(t = null, r = void 0) {
|
|
1078
|
+
return await new Promise((n, c) => {
|
|
1079
|
+
var d;
|
|
1080
|
+
const o = "referencePickerModal", i = document.createElement("div");
|
|
1081
|
+
i.id = o, document.body.append(i);
|
|
1082
|
+
const l = t === null ? null : (d = M(t)) != null ? d : null, a = e.createApp(j, {
|
|
1083
|
+
initialProvider: l,
|
|
1084
|
+
isInsideViewer: r,
|
|
1085
|
+
onCancel() {
|
|
1086
|
+
a.unmount(), c(new Error("User cancellation"));
|
|
1087
|
+
},
|
|
1088
|
+
onSubmit(m) {
|
|
1089
|
+
a.unmount(), n(m);
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
a.mount(i);
|
|
1093
|
+
});
|
|
1094
|
+
}
|
|
1095
|
+
exports.NcCustomPickerRenderResult = ae;
|
|
1096
|
+
exports.NcReferencePicker = U;
|
|
1097
|
+
exports.NcReferencePickerModal = j;
|
|
1098
|
+
exports.NcReferenceWidget = R;
|
|
1099
|
+
exports.NcSearch = D;
|
|
1100
|
+
exports.anyLinkProviderId = C;
|
|
1101
|
+
exports.getLinkWithPicker = lt;
|
|
1102
|
+
exports.getProvider = M;
|
|
1103
|
+
exports.getProviders = y;
|
|
1104
|
+
exports.isCustomPickerElementRegistered = _;
|
|
1105
|
+
exports.isWidgetRegistered = x;
|
|
1106
|
+
exports.registerCustomPickerElement = I;
|
|
1107
|
+
exports.registerWidget = L;
|
|
1108
|
+
exports.renderCustomPickerElement = q;
|
|
1109
|
+
exports.renderWidget = V;
|
|
1110
|
+
exports.searchProvider = T;
|
|
1111
|
+
exports.sortProviders = W;
|