@nextcloud/vue 8.5.0 → 9.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +88 -0
- package/dist/Components/NcActionButton.cjs +3 -130
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +2 -134
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +1 -1
- package/dist/Components/NcActionCaption.cjs +3 -34
- package/dist/Components/NcActionCaption.cjs.map +1 -1
- package/dist/Components/NcActionCaption.mjs +2 -35
- package/dist/Components/NcActionCaption.mjs.map +1 -1
- package/dist/Components/NcActionCheckbox.cjs +3 -92
- package/dist/Components/NcActionCheckbox.cjs.map +1 -1
- package/dist/Components/NcActionCheckbox.mjs +2 -95
- package/dist/Components/NcActionCheckbox.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +1 -1
- package/dist/Components/NcActionInput.mjs +1 -1
- package/dist/Components/NcActionLink.cjs +3 -76
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +2 -78
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRadio.cjs +3 -99
- package/dist/Components/NcActionRadio.cjs.map +1 -1
- package/dist/Components/NcActionRadio.mjs +2 -102
- package/dist/Components/NcActionRadio.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +3 -47
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +2 -49
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionSeparator.cjs +3 -19
- package/dist/Components/NcActionSeparator.cjs.map +1 -1
- package/dist/Components/NcActionSeparator.mjs +2 -20
- package/dist/Components/NcActionSeparator.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +3 -28
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +2 -30
- package/dist/Components/NcActionText.mjs.map +1 -1
- package/dist/Components/NcActionTextEditable.cjs +3 -80
- package/dist/Components/NcActionTextEditable.cjs.map +1 -1
- package/dist/Components/NcActionTextEditable.mjs +2 -84
- package/dist/Components/NcActionTextEditable.mjs.map +1 -1
- package/dist/Components/NcActions.cjs +1 -1
- package/dist/Components/NcActions.mjs +1 -1
- package/dist/Components/NcAppContent.cjs +1 -1
- package/dist/Components/NcAppContent.mjs +1 -1
- package/dist/Components/NcAppContentDetails.cjs +2 -18
- package/dist/Components/NcAppContentDetails.cjs.map +1 -1
- package/dist/Components/NcAppContentDetails.mjs +2 -19
- package/dist/Components/NcAppContentDetails.mjs.map +1 -1
- package/dist/Components/NcAppContentList.cjs +2 -28
- package/dist/Components/NcAppContentList.cjs.map +1 -1
- package/dist/Components/NcAppContentList.mjs +2 -29
- package/dist/Components/NcAppContentList.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +1 -1
- package/dist/Components/NcAppNavigationIconBullet.cjs +3 -39
- package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
- package/dist/Components/NcAppNavigationIconBullet.mjs +2 -40
- package/dist/Components/NcAppNavigationIconBullet.mjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +1 -1
- package/dist/Components/NcAppNavigationNew.cjs +3 -49
- package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +1 -50
- package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +3 -19
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +2 -20
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +1 -1
- package/dist/Components/NcAppSettingsSection.cjs +3 -54
- package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
- package/dist/Components/NcAppSettingsSection.mjs +2 -55
- package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcAppSidebarTab.cjs +3 -81
- package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.mjs +2 -82
- package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +1 -1
- package/dist/Components/NcBreadcrumb.mjs +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +1 -1
- package/dist/Components/NcButton.cjs +3 -237
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +2 -238
- package/dist/Components/NcButton.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
- package/dist/Components/NcColorPicker.cjs +1 -1
- package/dist/Components/NcColorPicker.mjs +1 -1
- package/dist/Components/NcContent.cjs +1 -1
- package/dist/Components/NcContent.mjs +1 -1
- package/dist/Components/NcCounterBubble.cjs +3 -46
- package/dist/Components/NcCounterBubble.cjs.map +1 -1
- package/dist/Components/NcCounterBubble.mjs +2 -47
- package/dist/Components/NcCounterBubble.mjs.map +1 -1
- package/dist/Components/NcDashboardWidget.cjs +1 -1
- package/dist/Components/NcDashboardWidget.mjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +1 -1
- package/dist/Components/NcDateTime.mjs +1 -1
- package/dist/Components/NcDateTimePicker.cjs +3 -301
- package/dist/Components/NcDateTimePicker.cjs.map +1 -1
- package/dist/Components/NcDateTimePicker.mjs +2 -308
- package/dist/Components/NcDateTimePicker.mjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.cjs +3 -198
- package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +2 -200
- package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
- package/dist/Components/NcDialog.cjs +1 -1
- package/dist/Components/NcDialog.mjs +1 -1
- package/dist/Components/NcDialogButton.cjs +1 -1
- package/dist/Components/NcDialogButton.mjs +1 -1
- package/dist/Components/NcEllipsisedOption.cjs +3 -73
- package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
- package/dist/Components/NcEllipsisedOption.mjs +2 -75
- package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcEmptyContent.cjs +3 -52
- package/dist/Components/NcEmptyContent.cjs.map +1 -1
- package/dist/Components/NcEmptyContent.mjs +2 -53
- package/dist/Components/NcEmptyContent.mjs.map +1 -1
- package/dist/Components/NcGuestContent.cjs +3 -25
- package/dist/Components/NcGuestContent.cjs.map +1 -1
- package/dist/Components/NcGuestContent.mjs +2 -26
- package/dist/Components/NcGuestContent.mjs.map +1 -1
- package/dist/Components/NcHeaderMenu.cjs +1 -1
- package/dist/Components/NcHeaderMenu.mjs +1 -1
- package/dist/Components/NcHighlight.cjs +2 -2
- package/dist/Components/NcHighlight.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +1 -1
- package/dist/Components/NcInputField.cjs +3 -221
- package/dist/Components/NcInputField.cjs.map +1 -1
- package/dist/Components/NcInputField.mjs +2 -226
- package/dist/Components/NcInputField.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +1 -1
- package/dist/Components/NcListItem.mjs +1 -1
- package/dist/Components/NcListItemIcon.cjs +1 -1
- package/dist/Components/NcListItemIcon.mjs +1 -1
- package/dist/Components/NcLoadingIcon.cjs +3 -53
- package/dist/Components/NcLoadingIcon.cjs.map +1 -1
- package/dist/Components/NcLoadingIcon.mjs +2 -54
- package/dist/Components/NcLoadingIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +315 -139
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +326 -149
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +3 -198
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +2 -199
- package/dist/Components/NcNoteCard.mjs.map +1 -1
- package/dist/Components/NcPasswordField.cjs +1 -1
- package/dist/Components/NcPasswordField.mjs +1 -1
- package/dist/Components/NcPopover.cjs +1 -1
- package/dist/Components/NcPopover.mjs +1 -1
- package/dist/Components/NcProgressBar.cjs +1 -1
- package/dist/Components/NcProgressBar.mjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +1 -1
- package/dist/Components/NcRichContenteditable.mjs +2 -2
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +3 -3
- package/dist/Components/NcSavingIndicatorIcon.cjs +1 -1
- package/dist/Components/NcSavingIndicatorIcon.mjs +1 -1
- package/dist/Components/NcSelect.cjs +1 -1
- package/dist/Components/NcSelect.mjs +1 -1
- package/dist/Components/NcSelectTags.cjs +1 -1
- package/dist/Components/NcSelectTags.mjs +1 -1
- package/dist/Components/NcSettingsInputText.cjs +1 -1
- package/dist/Components/NcSettingsInputText.mjs +1 -1
- package/dist/Components/NcSettingsSection.cjs +1 -1
- package/dist/Components/NcSettingsSection.mjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
- package/dist/Components/NcTextArea.cjs +3 -166
- package/dist/Components/NcTextArea.cjs.map +1 -1
- package/dist/Components/NcTextArea.mjs +1 -169
- package/dist/Components/NcTextArea.mjs.map +1 -1
- package/dist/Components/NcTextField.cjs +1 -1
- package/dist/Components/NcTextField.mjs +1 -1
- package/dist/Components/NcTimezonePicker.cjs +1 -1
- package/dist/Components/NcTimezonePicker.mjs +1 -1
- package/dist/Components/NcUserBubble.cjs +1 -1
- package/dist/Components/NcUserBubble.mjs +1 -1
- package/dist/Components/NcUserStatusIcon.cjs +1 -1
- package/dist/Components/NcUserStatusIcon.mjs +1 -1
- package/dist/Components/NcVNodes.cjs +5 -17
- package/dist/Components/NcVNodes.cjs.map +1 -1
- package/dist/Components/NcVNodes.mjs +4 -17
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Composables/useIsFullscreen.cjs +5 -7
- package/dist/Composables/useIsFullscreen.cjs.map +1 -1
- package/dist/Composables/useIsFullscreen.mjs +6 -8
- package/dist/Composables/useIsFullscreen.mjs.map +1 -1
- package/dist/Directives/Focus.cjs +1 -1
- package/dist/Directives/Focus.cjs.map +1 -1
- package/dist/Directives/Focus.mjs +1 -1
- package/dist/Directives/Focus.mjs.map +1 -1
- package/dist/Functions/a11y.cjs +25 -0
- package/dist/Functions/a11y.cjs.map +1 -0
- package/dist/Functions/a11y.mjs +25 -0
- package/dist/Functions/a11y.mjs.map +1 -0
- package/dist/Functions/emoji.cjs +8 -0
- package/dist/Functions/emoji.cjs.map +1 -0
- package/dist/Functions/emoji.mjs +8 -0
- package/dist/Functions/emoji.mjs.map +1 -0
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/richEditor.cjs +1 -1
- package/dist/Mixins/richEditor.mjs +1 -1
- package/dist/assets/NcActionButton-p7spK21h.css +134 -0
- package/dist/assets/NcActionCheckbox-T379T-FC.css +106 -0
- package/dist/assets/NcActionInput-MGVmREKR.css +243 -0
- package/dist/assets/NcActionRadio-UC-7SDBI.css +106 -0
- package/dist/assets/NcActionRouter-g0zV3dVT.css +133 -0
- package/dist/assets/NcActionTextEditable-DE_5Sc0w.css +259 -0
- package/dist/assets/NcActions-cEMOhd0g.css +84 -0
- package/dist/assets/NcAppContent--D5zvLsb.css +115 -0
- package/dist/assets/NcAppNavigation-9xEM_GAn.css +92 -0
- package/dist/assets/NcAppNavigationCaption-0s4Wxc88.css +52 -0
- package/dist/assets/NcAppNavigationItem-V2jQd3bm.css +206 -0
- package/dist/assets/NcAppNavigationNew-PtSC3Wy5.css +36 -0
- package/dist/assets/NcAppNavigationSettings-Q_od5CcP.css +88 -0
- package/dist/assets/NcAppNavigationToggle-egZffUzR.css +38 -0
- package/dist/assets/NcAppSettingsDialog-F29bz2Yx.css +87 -0
- package/dist/assets/NcAppSettingsSection-Gh575p0x.css +41 -0
- package/dist/assets/NcAppSidebar-QQPSZPo9.css +318 -0
- package/dist/assets/NcAppSidebarTab-goNfHK4d.css +45 -0
- package/dist/assets/NcAvatar-qgACiUer.css +144 -0
- package/dist/assets/NcBreadcrumb-ZsIS1jDx.css +80 -0
- package/dist/assets/NcBreadcrumbs-liWjT068.css +49 -0
- package/dist/assets/NcButton-fqTN6SJK.css +204 -0
- package/dist/assets/NcCheckboxRadioSwitch-P71iLdgD.css +199 -0
- package/dist/assets/NcColorPicker-88MDZrB0.css +131 -0
- package/dist/assets/NcContent-ZG2BJ837.css +82 -0
- package/dist/assets/NcDashboardWidget-7x3QrWFu.css +83 -0
- package/dist/assets/NcDateTimePicker-SsDztIsS.css +907 -0
- package/dist/assets/NcDateTimePickerNative-QBosiBWA.css +46 -0
- package/dist/assets/NcDialog-9-cx1V0y.css +115 -0
- package/dist/assets/NcEmojiPicker-KRMyqbWg.css +551 -0
- package/dist/assets/NcEmptyContent-b8eqBVE_.css +75 -0
- package/dist/assets/NcGuestContent-FRQFLxlW.css +51 -0
- package/dist/assets/NcHeaderMenu-j8h_puZT.css +92 -0
- package/dist/assets/NcIconSvgWrapper-0OJxiD3Q.css +44 -0
- package/dist/assets/NcInputConfirmCancel-_GF_RjYc.css +51 -0
- package/dist/assets/NcInputField-42mSa1zm.css +193 -0
- package/dist/assets/NcListItem--i7b67QY.css +165 -0
- package/dist/assets/NcListItemIcon-mlEQ7oK0.css +80 -0
- package/dist/assets/NcModal-DzsqMWSJ.css +298 -0
- package/dist/assets/NcRelatedResourcesPanel-i1-7CClp.css +76 -0
- package/dist/assets/NcRichContenteditable-nUZdQSMZ.css +267 -0
- package/dist/assets/NcSettingsInputText-JpZtS9DS.css +46 -0
- package/dist/assets/NcSettingsSelectGroup-51HMKLZQ.css +34 -0
- package/dist/assets/NcTextArea-6akBm4Ks.css +138 -0
- package/dist/assets/NcUserBubble-t1uOyYCF.css +59 -0
- package/dist/assets/NcUserStatusIcon-AXLspcOQ.css +41 -0
- package/dist/assets/referencePickerModal-G-NTZHL1.css +509 -0
- package/dist/chunks/AlertCircleOutline-Q4EgxGNm.mjs +44 -0
- package/dist/chunks/AlertCircleOutline-Q4EgxGNm.mjs.map +1 -0
- package/dist/chunks/AlertCircleOutline-aU4Cu4IM.cjs +41 -0
- package/dist/chunks/AlertCircleOutline-aU4Cu4IM.cjs.map +1 -0
- package/dist/chunks/ArrowLeft-4DZMGcXE.cjs +41 -0
- package/dist/chunks/ArrowLeft-4DZMGcXE.cjs.map +1 -0
- package/dist/chunks/ArrowLeft-LlLrrfss.mjs +44 -0
- package/dist/chunks/ArrowLeft-LlLrrfss.mjs.map +1 -0
- package/dist/chunks/ArrowRight-Fk_qtqpW.mjs +44 -0
- package/dist/chunks/ArrowRight-Fk_qtqpW.mjs.map +1 -0
- package/dist/chunks/ArrowRight-mI4Fw0h2.cjs +41 -0
- package/dist/chunks/ArrowRight-mI4Fw0h2.cjs.map +1 -0
- package/dist/chunks/Check-SlTPuUzR.cjs +41 -0
- package/dist/chunks/Check-SlTPuUzR.cjs.map +1 -0
- package/dist/chunks/Check-hentWFPd.mjs +44 -0
- package/dist/chunks/Check-hentWFPd.mjs.map +1 -0
- package/dist/chunks/ChevronDown-7w1_NWAd.cjs +41 -0
- package/dist/chunks/ChevronDown-7w1_NWAd.cjs.map +1 -0
- package/dist/chunks/ChevronDown-hP8YKVnf.mjs +44 -0
- package/dist/chunks/ChevronDown-hP8YKVnf.mjs.map +1 -0
- package/dist/chunks/ChevronRight-iDcqZ2Ih.cjs +41 -0
- package/dist/chunks/ChevronRight-iDcqZ2Ih.cjs.map +1 -0
- package/dist/chunks/ChevronRight-xEIO1OE7.mjs +44 -0
- package/dist/chunks/ChevronRight-xEIO1OE7.mjs.map +1 -0
- package/dist/chunks/Close-2nENZfbn.cjs +41 -0
- package/dist/chunks/Close-2nENZfbn.cjs.map +1 -0
- package/dist/chunks/Close-4lZze_oD.mjs +44 -0
- package/dist/chunks/Close-4lZze_oD.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-2GCivGee.mjs +44 -0
- package/dist/chunks/DotsHorizontal-2GCivGee.mjs.map +1 -0
- package/dist/chunks/DotsHorizontal-Ehuu1q0g.cjs +41 -0
- package/dist/chunks/DotsHorizontal-Ehuu1q0g.cjs.map +1 -0
- package/dist/chunks/GenColors-avBT67Zu.mjs +142 -0
- package/dist/chunks/GenColors-avBT67Zu.mjs.map +1 -0
- package/dist/chunks/GenColors-ojnUsIA8.cjs +141 -0
- package/dist/chunks/GenColors-ojnUsIA8.cjs.map +1 -0
- package/dist/chunks/NcActionButton-G4OSfyii.cjs +171 -0
- package/dist/chunks/NcActionButton-G4OSfyii.cjs.map +1 -0
- package/dist/chunks/NcActionButton-TAhaLmwa.mjs +178 -0
- package/dist/chunks/NcActionButton-TAhaLmwa.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-0hif9Dcf.mjs +55 -0
- package/dist/chunks/NcActionButtonGroup-0hif9Dcf.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-jTRjqpYM.cjs +50 -0
- package/dist/chunks/NcActionButtonGroup-jTRjqpYM.cjs.map +1 -0
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs +27 -0
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs.map +1 -0
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs +31 -0
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-PWAridhc.mjs +113 -0
- package/dist/chunks/NcActionCheckbox-PWAridhc.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-Z4Wc9828.cjs +107 -0
- package/dist/chunks/NcActionCheckbox-Z4Wc9828.cjs.map +1 -0
- package/dist/chunks/NcActionInput-7-f1OPr6.mjs +346 -0
- package/dist/chunks/NcActionInput-7-f1OPr6.mjs.map +1 -0
- package/dist/chunks/NcActionInput-GuwDt73G.cjs +335 -0
- package/dist/chunks/NcActionInput-GuwDt73G.cjs.map +1 -0
- package/dist/chunks/NcActionLink-QLFtD_iF.cjs +106 -0
- package/dist/chunks/NcActionLink-QLFtD_iF.cjs.map +1 -0
- package/dist/chunks/NcActionLink-YllmwOrF.mjs +111 -0
- package/dist/chunks/NcActionLink-YllmwOrF.mjs.map +1 -0
- package/dist/chunks/NcActionRadio-1U50276u.cjs +115 -0
- package/dist/chunks/NcActionRadio-1U50276u.cjs.map +1 -0
- package/dist/chunks/NcActionRadio-DSBghCIA.mjs +121 -0
- package/dist/chunks/NcActionRadio-DSBghCIA.mjs.map +1 -0
- package/dist/chunks/NcActionRouter-Vg-BSvq7.cjs +70 -0
- package/dist/chunks/NcActionRouter-Vg-BSvq7.cjs.map +1 -0
- package/dist/chunks/NcActionRouter-vBYCxyc1.mjs +75 -0
- package/dist/chunks/NcActionRouter-vBYCxyc1.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs +16 -0
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs +12 -0
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs.map +1 -0
- package/dist/chunks/NcActionText-aWTbDRVH.cjs +52 -0
- package/dist/chunks/NcActionText-aWTbDRVH.cjs.map +1 -0
- package/dist/chunks/NcActionText-p3Ew3r1G.mjs +57 -0
- package/dist/chunks/NcActionText-p3Ew3r1G.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-PAn8Dpv4.mjs +121 -0
- package/dist/chunks/NcActionTextEditable-PAn8Dpv4.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-RUh3BjpU.cjs +114 -0
- package/dist/chunks/NcActionTextEditable-RUh3BjpU.cjs.map +1 -0
- package/dist/chunks/NcActions-6Yv0De7D.mjs +451 -0
- package/dist/chunks/NcActions-6Yv0De7D.mjs.map +1 -0
- package/dist/chunks/NcActions-VJy75Dj8.cjs +443 -0
- package/dist/chunks/NcActions-VJy75Dj8.cjs.map +1 -0
- package/dist/chunks/NcAppContent-khCUrgDu.cjs +264 -0
- package/dist/chunks/NcAppContent-khCUrgDu.cjs.map +1 -0
- package/dist/chunks/NcAppContent-rV1EGzGY.mjs +275 -0
- package/dist/chunks/NcAppContent-rV1EGzGY.mjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs +11 -0
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs +14 -0
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs.map +1 -0
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs +26 -0
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs.map +1 -0
- package/dist/chunks/NcAppContentList-blRtleBI.cjs +23 -0
- package/dist/chunks/NcAppContentList-blRtleBI.cjs.map +1 -0
- package/dist/chunks/NcAppNavigation-qnc3o3YP.cjs +125 -0
- package/dist/chunks/NcAppNavigation-qnc3o3YP.cjs.map +1 -0
- package/dist/chunks/NcAppNavigation-wvBM1j2_.mjs +134 -0
- package/dist/chunks/NcAppNavigation-wvBM1j2_.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-6SpoIhcW.cjs +42 -0
- package/dist/chunks/NcAppNavigationCaption-6SpoIhcW.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-wnBg9gYq.mjs +47 -0
- package/dist/chunks/NcAppNavigationCaption-wnBg9gYq.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs +36 -0
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs +40 -0
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-6kzsp9I8.cjs +595 -0
- package/dist/chunks/NcAppNavigationItem-6kzsp9I8.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-VR6oSt2q.mjs +608 -0
- package/dist/chunks/NcAppNavigationItem-VR6oSt2q.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-AamR4VD3.mjs +56 -0
- package/dist/chunks/NcAppNavigationNew-AamR4VD3.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-ae4GCKxx.cjs +51 -0
- package/dist/chunks/NcAppNavigationNew-ae4GCKxx.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-sZ0DdaXr.cjs +106 -0
- package/dist/chunks/NcAppNavigationNewItem-sZ0DdaXr.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-tSH06MX2.mjs +112 -0
- package/dist/chunks/NcAppNavigationNewItem-tSH06MX2.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-giVx2sHN.mjs +131 -0
- package/dist/chunks/NcAppNavigationSettings-giVx2sHN.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-mYqB3vRb.cjs +128 -0
- package/dist/chunks/NcAppNavigationSettings-mYqB3vRb.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs +9 -0
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs +13 -0
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-DBCPaseG.mjs +136 -0
- package/dist/chunks/NcAppNavigationToggle-DBCPaseG.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-cRUPsHZH.cjs +131 -0
- package/dist/chunks/NcAppNavigationToggle-cRUPsHZH.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-90cJBaTf.mjs +212 -0
- package/dist/chunks/NcAppSettingsDialog-90cJBaTf.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-WvDTWMwC.cjs +204 -0
- package/dist/chunks/NcAppSettingsDialog-WvDTWMwC.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-WcupJObJ.mjs +55 -0
- package/dist/chunks/NcAppSettingsSection-WcupJObJ.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-wLClE1lO.cjs +51 -0
- package/dist/chunks/NcAppSettingsSection-wLClE1lO.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-19vWkj82.cjs +706 -0
- package/dist/chunks/NcAppSidebar-19vWkj82.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-yjd-HiUO.mjs +725 -0
- package/dist/chunks/NcAppSidebar-yjd-HiUO.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab--7BkDK9T.mjs +87 -0
- package/dist/chunks/NcAppSidebarTab--7BkDK9T.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-BeWt8Sdt.cjs +83 -0
- package/dist/chunks/NcAppSidebarTab-BeWt8Sdt.cjs.map +1 -0
- package/dist/chunks/NcAvatar-1MXwkOA2.cjs +516 -0
- package/dist/chunks/NcAvatar-1MXwkOA2.cjs.map +1 -0
- package/dist/chunks/NcAvatar-paLjF9Tc.mjs +532 -0
- package/dist/chunks/NcAvatar-paLjF9Tc.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-X45pwcLq.cjs +208 -0
- package/dist/chunks/NcBreadcrumb-X45pwcLq.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-gB_hnDG_.mjs +216 -0
- package/dist/chunks/NcBreadcrumb-gB_hnDG_.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-N7-Jj_ry.mjs +377 -0
- package/dist/chunks/NcBreadcrumbs-N7-Jj_ry.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-Y8LRE6xz.cjs +365 -0
- package/dist/chunks/NcBreadcrumbs-Y8LRE6xz.cjs.map +1 -0
- package/dist/chunks/NcButton-Uxh-oARg.cjs +245 -0
- package/dist/chunks/NcButton-Uxh-oARg.cjs.map +1 -0
- package/dist/chunks/NcButton-nCkJxwsi.mjs +248 -0
- package/dist/chunks/NcButton-nCkJxwsi.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-Hi5ocuhB.cjs +696 -0
- package/dist/chunks/NcCheckboxRadioSwitch-Hi5ocuhB.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-RgFq8ZUL.mjs +701 -0
- package/dist/chunks/NcCheckboxRadioSwitch-RgFq8ZUL.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-RYt-H2PA.cjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-RYt-H2PA.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-kB-352LR.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-kB-352LR.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-hS0KYrLP.mjs +247 -0
- package/dist/chunks/NcColorPicker-hS0KYrLP.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-rE3Dd7s7.cjs +235 -0
- package/dist/chunks/NcColorPicker-rE3Dd7s7.cjs.map +1 -0
- package/dist/chunks/NcContent-CUWR0V-w.mjs +156 -0
- package/dist/chunks/NcContent-CUWR0V-w.mjs.map +1 -0
- package/dist/chunks/NcContent-fGj1oSM5.cjs +148 -0
- package/dist/chunks/NcContent-fGj1oSM5.cjs.map +1 -0
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs +40 -0
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs.map +1 -0
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs +44 -0
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-DC4_9Yv_.mjs +169 -0
- package/dist/chunks/NcDashboardWidget-DC4_9Yv_.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-fnhMGIb6.cjs +161 -0
- package/dist/chunks/NcDashboardWidget-fnhMGIb6.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-0jGJ_5Nx.cjs +177 -0
- package/dist/chunks/NcDashboardWidgetItem-0jGJ_5Nx.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-TD0N9xlv.mjs +184 -0
- package/dist/chunks/NcDashboardWidgetItem-TD0N9xlv.mjs.map +1 -0
- package/dist/chunks/NcDateTime-EnQV6T52.mjs +140 -0
- package/dist/chunks/NcDateTime-EnQV6T52.mjs.map +1 -0
- package/dist/chunks/NcDateTime-m_WZoAvd.cjs +136 -0
- package/dist/chunks/NcDateTime-m_WZoAvd.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-4edYzlVf.cjs +326 -0
- package/dist/chunks/NcDateTimePicker-4edYzlVf.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-GHt3kJ7B.mjs +336 -0
- package/dist/chunks/NcDateTimePicker-GHt3kJ7B.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-m30hv5MT.cjs +176 -0
- package/dist/chunks/NcDateTimePickerNative-m30hv5MT.cjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-nDQjZSiZ.mjs +181 -0
- package/dist/chunks/NcDateTimePickerNative-nDQjZSiZ.mjs.map +1 -0
- package/dist/chunks/NcDialog-eZWcoYL9.mjs +243 -0
- package/dist/chunks/NcDialog-eZWcoYL9.mjs.map +1 -0
- package/dist/chunks/NcDialog-qsI2VY8S.cjs +235 -0
- package/dist/chunks/NcDialog-qsI2VY8S.cjs.map +1 -0
- package/dist/chunks/NcDialogButton-Dou0EAc_.cjs +72 -0
- package/dist/chunks/NcDialogButton-Dou0EAc_.cjs.map +1 -0
- package/dist/chunks/NcDialogButton-R-zAILHz.mjs +77 -0
- package/dist/chunks/NcDialogButton-R-zAILHz.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs +86 -0
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs +81 -0
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-84m02Stk.mjs +336 -0
- package/dist/chunks/NcEmojiPicker-84m02Stk.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-hxiKGEHb.cjs +323 -0
- package/dist/chunks/NcEmojiPicker-hxiKGEHb.cjs.map +1 -0
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs +62 -0
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs.map +1 -0
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs +58 -0
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs.map +1 -0
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs +21 -0
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs.map +1 -0
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs +17 -0
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-Eo6rZDeL.cjs +216 -0
- package/dist/chunks/NcHeaderMenu-Eo6rZDeL.cjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-yJJ4FWin.mjs +223 -0
- package/dist/chunks/NcHeaderMenu-yJJ4FWin.mjs.map +1 -0
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs +136 -0
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs.map +1 -0
- package/dist/chunks/NcHighlight-kWLldgWB.mjs +137 -0
- package/dist/chunks/NcHighlight-kWLldgWB.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-gQnsseD2.mjs +82 -0
- package/dist/chunks/NcIconSvgWrapper-gQnsseD2.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-rDMSblV4.cjs +77 -0
- package/dist/chunks/NcIconSvgWrapper-rDMSblV4.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-3c-uWUuw.cjs +105 -0
- package/dist/chunks/NcInputConfirmCancel-3c-uWUuw.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-cDJ5_L-Z.mjs +112 -0
- package/dist/chunks/NcInputConfirmCancel-cDJ5_L-Z.mjs.map +1 -0
- package/dist/chunks/NcInputField-9PAE2ONE.mjs +291 -0
- package/dist/chunks/NcInputField-9PAE2ONE.mjs.map +1 -0
- package/dist/chunks/NcInputField-dP-QARJo.cjs +283 -0
- package/dist/chunks/NcInputField-dP-QARJo.cjs.map +1 -0
- package/dist/chunks/NcListItem-gdczIybY.mjs +344 -0
- package/dist/chunks/NcListItem-gdczIybY.mjs.map +1 -0
- package/dist/chunks/NcListItem-iWTR4IZZ.cjs +337 -0
- package/dist/chunks/NcListItem-iWTR4IZZ.cjs.map +1 -0
- package/dist/chunks/NcListItemIcon-FeNwaJy4.cjs +188 -0
- package/dist/chunks/NcListItemIcon-FeNwaJy4.cjs.map +1 -0
- package/dist/chunks/NcListItemIcon-XsKTtITp.mjs +192 -0
- package/dist/chunks/NcListItemIcon-XsKTtITp.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs +68 -0
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs +64 -0
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs.map +1 -0
- package/dist/chunks/NcNoteCard-IAgTi5HW.cjs +224 -0
- package/dist/chunks/NcNoteCard-IAgTi5HW.cjs.map +1 -0
- package/dist/chunks/NcNoteCard-joOYqjyF.mjs +228 -0
- package/dist/chunks/NcNoteCard-joOYqjyF.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-8NI5u7lk.mjs +265 -0
- package/dist/chunks/NcPasswordField-8NI5u7lk.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-QA6kIMu2.cjs +255 -0
- package/dist/chunks/NcPasswordField-QA6kIMu2.cjs.map +1 -0
- package/dist/chunks/NcPopover-HwP68PjO.mjs +224 -0
- package/dist/chunks/NcPopover-HwP68PjO.mjs.map +1 -0
- package/dist/chunks/NcPopover-sVfBFdPh.cjs +217 -0
- package/dist/chunks/NcPopover-sVfBFdPh.cjs.map +1 -0
- package/dist/chunks/NcProgressBar-3p3Phbcw.cjs +123 -0
- package/dist/chunks/NcProgressBar-3p3Phbcw.cjs.map +1 -0
- package/dist/chunks/NcProgressBar-KvtCwl-0.mjs +127 -0
- package/dist/chunks/NcProgressBar-KvtCwl-0.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel--UoHihRf.mjs +216 -0
- package/dist/chunks/NcRelatedResourcesPanel--UoHihRf.mjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-oTY2g2gt.cjs +209 -0
- package/dist/chunks/NcRelatedResourcesPanel-oTY2g2gt.cjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-0x4AmYZf.cjs +528 -0
- package/dist/chunks/NcRichContenteditable-0x4AmYZf.cjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-rSquEMs2.mjs +540 -0
- package/dist/chunks/NcRichContenteditable-rSquEMs2.mjs.map +1 -0
- package/dist/chunks/NcRichText-S8FLpGCe.cjs +319 -0
- package/dist/chunks/NcRichText-S8FLpGCe.cjs.map +1 -0
- package/dist/chunks/NcRichText-_MNRVaQB.mjs +336 -0
- package/dist/chunks/NcRichText-_MNRVaQB.mjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs +71 -0
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs +74 -0
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs.map +1 -0
- package/dist/chunks/NcSelect-9cM-OGdn.cjs +498 -0
- package/dist/chunks/NcSelect-9cM-OGdn.cjs.map +1 -0
- package/dist/chunks/NcSelect-w_Gt1U72.mjs +510 -0
- package/dist/chunks/NcSelect-w_Gt1U72.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-6F9oTRUw.mjs +272 -0
- package/dist/chunks/NcSelectTags-6F9oTRUw.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-vm5Fx2H5.cjs +265 -0
- package/dist/chunks/NcSelectTags-vm5Fx2H5.cjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-KTYvd9zc.mjs +113 -0
- package/dist/chunks/NcSettingsInputText-KTYvd9zc.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-wY_R_c6S.cjs +108 -0
- package/dist/chunks/NcSettingsInputText-wY_R_c6S.cjs.map +1 -0
- package/dist/chunks/NcSettingsSection-2TP0NQPH.cjs +114 -0
- package/dist/chunks/NcSettingsSection-2TP0NQPH.cjs.map +1 -0
- package/dist/chunks/NcSettingsSection-dEPaFL2w.mjs +118 -0
- package/dist/chunks/NcSettingsSection-dEPaFL2w.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-JfvkEnNr.mjs +208 -0
- package/dist/chunks/NcSettingsSelectGroup-JfvkEnNr.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-p8cgn6pv.cjs +199 -0
- package/dist/chunks/NcSettingsSelectGroup-p8cgn6pv.cjs.map +1 -0
- package/dist/chunks/NcTextArea-dRgNOiSU.mjs +203 -0
- package/dist/chunks/NcTextArea-dRgNOiSU.mjs.map +1 -0
- package/dist/chunks/NcTextArea-hNPj4rEs.cjs +196 -0
- package/dist/chunks/NcTextArea-hNPj4rEs.cjs.map +1 -0
- package/dist/chunks/NcTextField-avDV7Ry_.mjs +165 -0
- package/dist/chunks/NcTextField-avDV7Ry_.mjs.map +1 -0
- package/dist/chunks/NcTextField-bz_keSKF.cjs +158 -0
- package/dist/chunks/NcTextField-bz_keSKF.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-YNWJXRnl.cjs +7202 -0
- package/dist/chunks/NcTimezonePicker-YNWJXRnl.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-wLjOcbbU.mjs +7209 -0
- package/dist/chunks/NcTimezonePicker-wLjOcbbU.mjs.map +1 -0
- package/dist/chunks/NcUserBubble-epl-RDQa.cjs +198 -0
- package/dist/chunks/NcUserBubble-epl-RDQa.cjs.map +1 -0
- package/dist/chunks/NcUserBubble-fA1TQtnx.mjs +204 -0
- package/dist/chunks/NcUserBubble-fA1TQtnx.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon--z2VUZIt.mjs +171 -0
- package/dist/chunks/NcUserStatusIcon--z2VUZIt.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-swCHU0tl.cjs +163 -0
- package/dist/chunks/NcUserStatusIcon-swCHU0tl.cjs.map +1 -0
- package/dist/chunks/ScopeComponent-4ppIHwI4.cjs +26 -0
- package/dist/chunks/ScopeComponent-4ppIHwI4.cjs.map +1 -0
- package/dist/chunks/ScopeComponent-KbEZrKGJ.mjs +27 -0
- package/dist/chunks/ScopeComponent-KbEZrKGJ.mjs.map +1 -0
- package/dist/chunks/_l10n-JmazR_zZ.mjs +66 -0
- package/dist/chunks/_l10n-JmazR_zZ.mjs.map +1 -0
- package/dist/chunks/_l10n-wK0o0jNS.cjs +64 -0
- package/dist/chunks/_l10n-wK0o0jNS.cjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs +9 -0
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs +8 -0
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs.map +1 -0
- package/dist/chunks/actionGlobal-1onxXJwM.mjs +46 -0
- package/dist/chunks/actionGlobal-1onxXJwM.mjs.map +1 -0
- package/dist/chunks/actionGlobal-kyAHPMcH.cjs +45 -0
- package/dist/chunks/actionGlobal-kyAHPMcH.cjs.map +1 -0
- package/dist/chunks/actionText-IqPIFk1D.mjs +127 -0
- package/dist/chunks/actionText-IqPIFk1D.mjs.map +1 -0
- package/dist/chunks/actionText-WQ07UNmt.cjs +126 -0
- package/dist/chunks/actionText-WQ07UNmt.cjs.map +1 -0
- package/dist/chunks/index-NP8hZQhr.cjs +161 -0
- package/dist/chunks/index-NP8hZQhr.cjs.map +1 -0
- package/dist/chunks/index-hX7KRzaJ.mjs +167 -0
- package/dist/chunks/index-hX7KRzaJ.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-9sd4Ftja.mjs +1114 -0
- package/dist/chunks/referencePickerModal-9sd4Ftja.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-gCkuVbeM.cjs +1096 -0
- package/dist/chunks/referencePickerModal-gCkuVbeM.cjs.map +1 -0
- package/dist/chunks/usernameToColor--FE9Dq8h.cjs +39 -0
- package/dist/chunks/usernameToColor--FE9Dq8h.cjs.map +1 -0
- package/dist/chunks/usernameToColor-t95If_mB.mjs +41 -0
- package/dist/chunks/usernameToColor-t95If_mB.mjs.map +1 -0
- package/dist/cypress/component/NcButton.cy.d.ts +1 -0
- package/dist/cypress/component/NcSelect.cy.d.ts +1 -0
- package/dist/cypress/component/modal.cy.d.ts +1 -0
- package/dist/cypress/component/richtext.cy.d.ts +1 -0
- package/dist/cypress/support/commands.d.ts +1 -0
- package/dist/cypress/support/component.d.ts +8 -0
- package/dist/cypress/visual/AppNavigationItem.cy.d.ts +1 -0
- package/dist/cypress.config.d.ts +3 -0
- package/dist/index.cjs +142 -167
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +179 -205
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/NcActionButton/NcActionButton.vue.d.ts +202 -0
- package/dist/src/components/NcActionButtonGroup/NcActionButtonGroup.vue.d.ts +26 -0
- package/dist/src/components/NcActionCaption/NcActionCaption.vue.d.ts +18 -0
- package/dist/src/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +99 -0
- package/dist/src/components/NcActionInput/NcActionInput.vue.d.ts +261 -0
- package/dist/src/components/NcActionLink/NcActionLink.vue.d.ts +2 -0
- package/dist/src/components/NcActionRadio/NcActionRadio.vue.d.ts +115 -0
- package/dist/src/components/NcActionRouter/NcActionRouter.vue.d.ts +68 -0
- package/dist/src/components/NcActionSeparator/NcActionSeparator.vue.d.ts +2 -0
- package/dist/src/components/NcActionText/NcActionText.vue.d.ts +48 -0
- package/dist/src/components/NcActionTextEditable/NcActionTextEditable.vue.d.ts +113 -0
- package/dist/src/components/NcActions/NcActions.vue.d.ts +321 -0
- package/dist/src/components/NcAppContent/NcAppContent.vue.d.ts +162 -0
- package/dist/src/components/NcAppContent/NcAppDetailsToggle.vue.d.ts +6 -0
- package/dist/src/components/NcAppContentDetails/NcAppContentDetails.vue.d.ts +2 -0
- package/dist/src/components/NcAppContentList/NcAppContentList.vue.d.ts +23 -0
- package/dist/src/components/NcAppNavigation/NcAppNavigation.vue.d.ts +55 -0
- package/dist/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +20 -0
- package/dist/src/components/NcAppNavigationIconBullet/NcAppNavigationIconBullet.vue.d.ts +20 -0
- package/dist/src/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +20 -0
- package/dist/src/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +413 -0
- package/dist/src/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +54 -0
- package/dist/src/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +48 -0
- package/dist/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +92 -0
- package/dist/src/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +37 -0
- package/dist/src/components/NcAppNavigationSpacer/NcAppNavigationSpacer.vue.d.ts +2 -0
- package/dist/src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +18 -0
- package/dist/src/components/NcAppSettingsSection/NcAppSettingsSection.vue.d.ts +24 -0
- package/dist/src/components/NcAppSidebar/NcAppSidebar.vue.d.ts +287 -0
- package/dist/src/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +91 -0
- package/dist/src/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +75 -0
- package/dist/src/components/NcAvatar/NcAvatar.vue.d.ts +348 -0
- package/dist/src/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +197 -0
- package/dist/src/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +145 -0
- package/dist/src/components/NcButton/NcButton.vue.d.ts +236 -0
- package/dist/src/components/NcButton/index.d.ts +22 -0
- package/dist/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue.d.ts +6 -0
- package/dist/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue.d.ts +2 -0
- package/dist/src/components/NcColorPicker/NcColorPicker.vue.d.ts +2 -0
- package/dist/src/components/NcContent/NcContent.vue.d.ts +23 -0
- package/dist/src/components/NcCounterBubble/NcCounterBubble.vue.d.ts +41 -0
- package/dist/src/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +142 -0
- package/dist/src/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +170 -0
- package/dist/src/components/NcDateTime/NcDateTime.vue.d.ts +2 -0
- package/dist/src/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +2 -0
- package/dist/src/components/NcDateTimePickerNative/NcDateTimePickerNative.vue.d.ts +2 -0
- package/dist/src/components/NcDialog/NcDialog.vue.d.ts +2 -0
- package/dist/src/components/NcDialogButton/NcDialogButton.vue.d.ts +2 -0
- package/dist/src/components/NcEllipsisedOption/NcEllipsisedOption.vue.d.ts +48 -0
- package/dist/src/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +184 -0
- package/dist/src/components/NcEmptyContent/NcEmptyContent.vue.d.ts +39 -0
- package/dist/src/components/NcGuestContent/NcGuestContent.vue.d.ts +2 -0
- package/dist/src/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +147 -0
- package/dist/src/components/NcHighlight/NcHighlight.vue.d.ts +65 -0
- package/dist/src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +83 -0
- package/dist/src/components/NcInputField/NcInputField.vue.d.ts +278 -0
- package/dist/src/components/NcListItem/NcListItem.vue.d.ts +259 -0
- package/dist/src/components/NcListItemIcon/NcListItemIcon.vue.d.ts +207 -0
- package/dist/src/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +58 -0
- package/dist/src/components/NcModal/NcModal.vue.d.ts +2 -0
- package/dist/src/components/NcNoteCard/NcNoteCard.vue.d.ts +44 -0
- package/dist/src/components/NcPopover/NcPopover.vue.d.ts +2 -0
- package/dist/src/components/NcPopover/NcPopoverTriggerProvider.vue.d.ts +25 -0
- package/dist/src/components/NcProgressBar/NcProgressBar.vue.d.ts +2 -0
- package/dist/src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +140 -0
- package/dist/src/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +32 -0
- package/dist/src/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +69 -0
- package/dist/src/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +2 -0
- package/dist/src/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +342 -0
- package/dist/src/components/NcRichText/NcReferenceList.vue.d.ts +63 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcCustomPickerElement.vue.d.ts +28 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +16 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +34 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +84 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +72 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +69 -0
- package/dist/src/components/NcRichText/NcReferencePicker/NcSearchResult.vue.d.ts +34 -0
- package/dist/src/components/NcRichText/NcReferenceWidget.vue.d.ts +29 -0
- package/dist/src/components/NcRichText/NcRichText.vue.d.ts +140 -0
- package/dist/src/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +73 -0
- package/dist/src/components/NcSelect/NcSelect.vue.d.ts +14 -0
- package/dist/src/components/NcSelectTags/NcSelectTags.vue.d.ts +23 -0
- package/dist/src/components/NcSettingsInputText/NcSettingsInputText.vue.d.ts +97 -0
- package/dist/src/components/NcSettingsSection/NcSettingsSection.vue.d.ts +57 -0
- package/dist/src/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +144 -0
- package/dist/src/components/NcTextArea/NcTextArea.vue.d.ts +205 -0
- package/dist/src/components/NcTextField/NcTextField.vue.d.ts +20 -0
- package/dist/src/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +78 -0
- package/dist/src/components/NcUserBubble/NcUserBubble.vue.d.ts +180 -0
- package/dist/src/components/NcUserBubble/NcUserBubbleDiv.vue.d.ts +2 -0
- package/dist/src/components/NcUserStatusIcon/NcUserStatusIcon.vue.d.ts +2 -0
- package/dist/src/components/NcVNodes/NcVNodes.vue.d.ts +20 -0
- package/dist/src/components/index.d.ts +91 -0
- package/dist/src/directives/index.d.ts +24 -0
- package/dist/src/index.d.ts +27 -0
- package/dist/src/plugin.d.ts +16 -0
- package/dist/src/utils/isSlotPopulated.d.ts +29 -0
- package/dist/tests/unit/components/NcActions/NcActionButton.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcActions/NcActions.spec.d.ts +23 -0
- package/dist/tests/unit/components/NcAppSettingsDialog/NcAppSettingsDialog.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcAvatar/NcAvatar.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcInputField/NcInputField.spec.d.ts +1 -0
- package/dist/tests/unit/components/NcListItemIcon/list-item-icon.spec.d.ts +22 -0
- package/dist/tests/unit/components/NcRichContenteditable/NcRichContenteditable.spec.d.ts +1 -0
- package/dist/tests/unit/plugin.spec.d.ts +22 -0
- package/dist/tests/unit/testing-utils.d.ts +6 -0
- package/dist/tests/unit/utils/isSlotPopulated.spec.d.ts +1 -0
- package/dist/vite.config.d.ts +3 -0
- package/dist/vitest.config.d.ts +3 -0
- package/package.json +35 -40
- package/dist/Mixins/isFullscreen.cjs +0 -35
- package/dist/Mixins/isFullscreen.cjs.map +0 -1
- package/dist/Mixins/isFullscreen.mjs +0 -36
- package/dist/Mixins/isFullscreen.mjs.map +0 -1
- package/dist/Mixins/isMobile.cjs +0 -35
- package/dist/Mixins/isMobile.cjs.map +0 -1
- package/dist/Mixins/isMobile.mjs +0 -36
- package/dist/Mixins/isMobile.mjs.map +0 -1
- package/dist/assets/NcActionButton-YVkNHN_x.css +0 -134
- package/dist/assets/NcActionCheckbox-6Pvlr1E7.css +0 -106
- package/dist/assets/NcActionInput-4zSvDkWm.css +0 -243
- package/dist/assets/NcActionRadio-eOr9Sp-D.css +0 -106
- package/dist/assets/NcActionRouter-MFTD6tYI.css +0 -133
- package/dist/assets/NcActionTextEditable-JrYuWEDd.css +0 -259
- package/dist/assets/NcActions-nAi2TA1m.css +0 -84
- package/dist/assets/NcAppContent-SZz3PTd8.css +0 -115
- package/dist/assets/NcAppNavigation-vjqOL-kR.css +0 -92
- package/dist/assets/NcAppNavigationCaption-l5yRGXZx.css +0 -52
- package/dist/assets/NcAppNavigationItem-n-wauJE7.css +0 -206
- package/dist/assets/NcAppNavigationNew-joyd78FM.css +0 -36
- package/dist/assets/NcAppNavigationSettings-Jx_6RpSn.css +0 -88
- package/dist/assets/NcAppNavigationToggle-upUgYNtL.css +0 -38
- package/dist/assets/NcAppSettingsDialog-8K8FduDk.css +0 -87
- package/dist/assets/NcAppSettingsSection-ahfdhix_.css +0 -41
- package/dist/assets/NcAppSidebar-iU8Zp4Qk.css +0 -318
- package/dist/assets/NcAppSidebarTab-Phau6edJ.css +0 -45
- package/dist/assets/NcAvatar-Vg6Mi1TD.css +0 -144
- package/dist/assets/NcBreadcrumb-M3hqCbqS.css +0 -80
- package/dist/assets/NcBreadcrumbs-KBV0Jccv.css +0 -49
- package/dist/assets/NcButton-DTnreNJ5.css +0 -204
- package/dist/assets/NcCheckboxRadioSwitch-IKpLtz9k.css +0 -199
- package/dist/assets/NcColorPicker-CNX9fj56.css +0 -131
- package/dist/assets/NcContent-LWR23l9i.css +0 -84
- package/dist/assets/NcDashboardWidget-01deRW9Z.css +0 -83
- package/dist/assets/NcDateTimePicker-J_kGHwdu.css +0 -884
- package/dist/assets/NcDateTimePickerNative-2pQS5L0H.css +0 -46
- package/dist/assets/NcDialog-2V180xdm.css +0 -115
- package/dist/assets/NcEmojiPicker-lBXbC6Jd.css +0 -550
- package/dist/assets/NcEmptyContent-pSz7F6Oe.css +0 -75
- package/dist/assets/NcGuestContent-mGGTzI2_.css +0 -51
- package/dist/assets/NcHeaderMenu-P0OkK9WN.css +0 -92
- package/dist/assets/NcIconSvgWrapper-arqrq5Bj.css +0 -44
- package/dist/assets/NcInputConfirmCancel-ks8z8dIn.css +0 -51
- package/dist/assets/NcInputField-Y-Qp3D_b.css +0 -193
- package/dist/assets/NcListItem-xcW2PRrk.css +0 -165
- package/dist/assets/NcListItemIcon-PQ2s6ZqX.css +0 -80
- package/dist/assets/NcModal-QzDLeQrW.css +0 -295
- package/dist/assets/NcRelatedResourcesPanel-m3uf_nvH.css +0 -76
- package/dist/assets/NcRichContenteditable-xiQ4y2Z6.css +0 -267
- package/dist/assets/NcSettingsInputText-MPi6a3Yy.css +0 -46
- package/dist/assets/NcSettingsSelectGroup-_Jpb8yE3.css +0 -34
- package/dist/assets/NcTextArea-K-KVPiMp.css +0 -138
- package/dist/assets/NcUserBubble-jjzI5imn.css +0 -59
- package/dist/assets/NcUserStatusIcon-62u43_6P.css +0 -41
- package/dist/assets/referencePickerModal-VxSowpb5.css +0 -509
- package/dist/chunks/AlertCircleOutline-VgVvRWpm.cjs +0 -35
- package/dist/chunks/AlertCircleOutline-VgVvRWpm.cjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-lwSRucNO.mjs +0 -37
- package/dist/chunks/AlertCircleOutline-lwSRucNO.mjs.map +0 -1
- package/dist/chunks/ArrowLeft-3KC2k3tR.cjs +0 -35
- package/dist/chunks/ArrowLeft-3KC2k3tR.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-buaCjhfr.mjs +0 -37
- package/dist/chunks/ArrowLeft-buaCjhfr.mjs.map +0 -1
- package/dist/chunks/ArrowRight-4p6gv-9o.mjs +0 -37
- package/dist/chunks/ArrowRight-4p6gv-9o.mjs.map +0 -1
- package/dist/chunks/ArrowRight-uEMed4kl.cjs +0 -35
- package/dist/chunks/ArrowRight-uEMed4kl.cjs.map +0 -1
- package/dist/chunks/Check-5uKO4aXx.cjs +0 -35
- package/dist/chunks/Check-5uKO4aXx.cjs.map +0 -1
- package/dist/chunks/Check-FObi_cEO.mjs +0 -37
- package/dist/chunks/Check-FObi_cEO.mjs.map +0 -1
- package/dist/chunks/ChevronDown-TbRvziNU.mjs +0 -37
- package/dist/chunks/ChevronDown-TbRvziNU.mjs.map +0 -1
- package/dist/chunks/ChevronDown-rdCNNu7u.cjs +0 -35
- package/dist/chunks/ChevronDown-rdCNNu7u.cjs.map +0 -1
- package/dist/chunks/ChevronRight-XOmSMmxA.mjs +0 -37
- package/dist/chunks/ChevronRight-XOmSMmxA.mjs.map +0 -1
- package/dist/chunks/ChevronRight-bp7fT1r7.cjs +0 -35
- package/dist/chunks/ChevronRight-bp7fT1r7.cjs.map +0 -1
- package/dist/chunks/Close-5Hzp7J3v.mjs +0 -37
- package/dist/chunks/Close-5Hzp7J3v.mjs.map +0 -1
- package/dist/chunks/Close-QFLrdRdG.cjs +0 -35
- package/dist/chunks/Close-QFLrdRdG.cjs.map +0 -1
- package/dist/chunks/DotsHorizontal-NssXDZGM.mjs +0 -37
- package/dist/chunks/DotsHorizontal-NssXDZGM.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-dlN1WvqM.cjs +0 -35
- package/dist/chunks/DotsHorizontal-dlN1WvqM.cjs.map +0 -1
- package/dist/chunks/GenColors-6mrcK1J2.cjs +0 -141
- package/dist/chunks/GenColors-6mrcK1J2.cjs.map +0 -1
- package/dist/chunks/GenColors-ZwEj275X.mjs +0 -142
- package/dist/chunks/GenColors-ZwEj275X.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs +0 -50
- package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs +0 -45
- package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs.map +0 -1
- package/dist/chunks/NcActionInput-bLRYLx45.cjs +0 -234
- package/dist/chunks/NcActionInput-bLRYLx45.cjs.map +0 -1
- package/dist/chunks/NcActionInput-v8cC8WD4.mjs +0 -244
- package/dist/chunks/NcActionInput-v8cC8WD4.mjs.map +0 -1
- package/dist/chunks/NcActions-7ytNFRBJ.cjs +0 -493
- package/dist/chunks/NcActions-7ytNFRBJ.cjs.map +0 -1
- package/dist/chunks/NcActions-CNDgnRLf.mjs +0 -501
- package/dist/chunks/NcActions-CNDgnRLf.mjs.map +0 -1
- package/dist/chunks/NcAppContent-XBosilQH.mjs +0 -231
- package/dist/chunks/NcAppContent-XBosilQH.mjs.map +0 -1
- package/dist/chunks/NcAppContent-f3dNUfhO.cjs +0 -221
- package/dist/chunks/NcAppContent-f3dNUfhO.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-oke9RxP6.cjs +0 -113
- package/dist/chunks/NcAppNavigation-oke9RxP6.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-qUXaV47L.mjs +0 -122
- package/dist/chunks/NcAppNavigation-qUXaV47L.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs +0 -43
- package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs +0 -508
- package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs +0 -496
- package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs +0 -86
- package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs +0 -91
- package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs +0 -102
- package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs +0 -105
- package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-S4YTmnky.mjs +0 -113
- package/dist/chunks/NcAppNavigationToggle-S4YTmnky.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-Tvz9copM.cjs +0 -109
- package/dist/chunks/NcAppNavigationToggle-Tvz9copM.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs +0 -184
- package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs +0 -176
- package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs +0 -547
- package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs +0 -565
- package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs.map +0 -1
- package/dist/chunks/NcAvatar-1gX-bnpd.mjs +0 -467
- package/dist/chunks/NcAvatar-1gX-bnpd.mjs.map +0 -1
- package/dist/chunks/NcAvatar-8NgbtiTN.cjs +0 -453
- package/dist/chunks/NcAvatar-8NgbtiTN.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs +0 -172
- package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs +0 -179
- package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs +0 -407
- package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs +0 -418
- package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs +0 -607
- package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs +0 -603
- package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-4qA0UWdA.cjs +0 -161
- package/dist/chunks/NcColorPicker-4qA0UWdA.cjs.map +0 -1
- package/dist/chunks/NcColorPicker-aNJDKf-I.mjs +0 -172
- package/dist/chunks/NcColorPicker-aNJDKf-I.mjs.map +0 -1
- package/dist/chunks/NcContent-V1PRVhsU.mjs +0 -131
- package/dist/chunks/NcContent-V1PRVhsU.mjs.map +0 -1
- package/dist/chunks/NcContent-x5KPSopo.cjs +0 -123
- package/dist/chunks/NcContent-x5KPSopo.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs +0 -141
- package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs +0 -134
- package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs +0 -143
- package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs +0 -137
- package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs.map +0 -1
- package/dist/chunks/NcDateTime-22ULCxg8.mjs +0 -146
- package/dist/chunks/NcDateTime-22ULCxg8.mjs.map +0 -1
- package/dist/chunks/NcDateTime-eHTrKYG4.cjs +0 -142
- package/dist/chunks/NcDateTime-eHTrKYG4.cjs.map +0 -1
- package/dist/chunks/NcDialog-KlvRL7k1.cjs +0 -209
- package/dist/chunks/NcDialog-KlvRL7k1.cjs.map +0 -1
- package/dist/chunks/NcDialog-b2LjzZB8.mjs +0 -217
- package/dist/chunks/NcDialog-b2LjzZB8.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-37xKCh_l.cjs +0 -68
- package/dist/chunks/NcDialogButton-37xKCh_l.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs +0 -73
- package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs +0 -249
- package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs +0 -238
- package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs +0 -183
- package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs +0 -190
- package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs +0 -85
- package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs +0 -80
- package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-YzEcukdc.cjs +0 -91
- package/dist/chunks/NcInputConfirmCancel-YzEcukdc.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-lUDtoN2O.mjs +0 -97
- package/dist/chunks/NcInputConfirmCancel-lUDtoN2O.mjs.map +0 -1
- package/dist/chunks/NcListItem-AZpInn_s.mjs +0 -248
- package/dist/chunks/NcListItem-AZpInn_s.mjs.map +0 -1
- package/dist/chunks/NcListItem-bBx6_yWw.cjs +0 -242
- package/dist/chunks/NcListItem-bBx6_yWw.cjs.map +0 -1
- package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs +0 -164
- package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs +0 -160
- package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-YvUbX2WS.cjs +0 -229
- package/dist/chunks/NcPasswordField-YvUbX2WS.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-fNiTJMmG.mjs +0 -238
- package/dist/chunks/NcPasswordField-fNiTJMmG.mjs.map +0 -1
- package/dist/chunks/NcPopover-EXxv8Pzw.cjs +0 -218
- package/dist/chunks/NcPopover-EXxv8Pzw.cjs.map +0 -1
- package/dist/chunks/NcPopover-NyUZ2r7V.mjs +0 -225
- package/dist/chunks/NcPopover-NyUZ2r7V.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-hQCFE5H3.mjs +0 -99
- package/dist/chunks/NcProgressBar-hQCFE5H3.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-yrdD1jxU.cjs +0 -95
- package/dist/chunks/NcProgressBar-yrdD1jxU.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs +0 -199
- package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs +0 -205
- package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs +0 -515
- package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs +0 -504
- package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs.map +0 -1
- package/dist/chunks/NcRichText-7CHftQ4Z.mjs +0 -346
- package/dist/chunks/NcRichText-7CHftQ4Z.mjs.map +0 -1
- package/dist/chunks/NcRichText-SPiEkcnt.cjs +0 -330
- package/dist/chunks/NcRichText-SPiEkcnt.cjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs +0 -62
- package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs +0 -59
- package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs.map +0 -1
- package/dist/chunks/NcSelect-c9-eF29z.cjs +0 -462
- package/dist/chunks/NcSelect-c9-eF29z.cjs.map +0 -1
- package/dist/chunks/NcSelect-zx9IspDS.mjs +0 -474
- package/dist/chunks/NcSelect-zx9IspDS.mjs.map +0 -1
- package/dist/chunks/NcSelectTags-WGdCwmRr.mjs +0 -267
- package/dist/chunks/NcSelectTags-WGdCwmRr.mjs.map +0 -1
- package/dist/chunks/NcSelectTags-doFIXNxC.cjs +0 -261
- package/dist/chunks/NcSelectTags-doFIXNxC.cjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs +0 -95
- package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs +0 -91
- package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs +0 -95
- package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs +0 -98
- package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-Ghgl6Y_d.mjs +0 -192
- package/dist/chunks/NcSettingsSelectGroup-Ghgl6Y_d.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-NhJyFPsw.cjs +0 -184
- package/dist/chunks/NcSettingsSelectGroup-NhJyFPsw.cjs.map +0 -1
- package/dist/chunks/NcTextField-8ap5MAGr.cjs +0 -140
- package/dist/chunks/NcTextField-8ap5MAGr.cjs.map +0 -1
- package/dist/chunks/NcTextField-tIJ3fJ37.mjs +0 -146
- package/dist/chunks/NcTextField-tIJ3fJ37.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs +0 -7205
- package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs +0 -7199
- package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-hfgJXqk2.cjs +0 -191
- package/dist/chunks/NcUserBubble-hfgJXqk2.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-s30BQXdv.mjs +0 -197
- package/dist/chunks/NcUserBubble-s30BQXdv.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs +0 -174
- package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs +0 -166
- package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-9XNLQCuu.mjs +0 -29
- package/dist/chunks/ScopeComponent-9XNLQCuu.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-_Cg8ogL-.cjs +0 -28
- package/dist/chunks/ScopeComponent-_Cg8ogL-.cjs.map +0 -1
- package/dist/chunks/_l10n-juAR1Sua.cjs +0 -64
- package/dist/chunks/_l10n-juAR1Sua.cjs.map +0 -1
- package/dist/chunks/_l10n-tZEKUJRj.mjs +0 -66
- package/dist/chunks/_l10n-tZEKUJRj.mjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-DCfUPqga.cjs +0 -31
- package/dist/chunks/_plugin-vue2_normalizer-DCfUPqga.cjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.mjs +0 -32
- package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.mjs.map +0 -1
- package/dist/chunks/actionGlobal-_f-PhW84.cjs +0 -45
- package/dist/chunks/actionGlobal-_f-PhW84.cjs.map +0 -1
- package/dist/chunks/actionGlobal-ejpd0zqm.mjs +0 -46
- package/dist/chunks/actionGlobal-ejpd0zqm.mjs.map +0 -1
- package/dist/chunks/actionText-AoAs4kqP.mjs +0 -127
- package/dist/chunks/actionText-AoAs4kqP.mjs.map +0 -1
- package/dist/chunks/actionText-pGrMQtZ3.cjs +0 -126
- package/dist/chunks/actionText-pGrMQtZ3.cjs.map +0 -1
- package/dist/chunks/index-2phCrsSH.mjs +0 -149
- package/dist/chunks/index-2phCrsSH.mjs.map +0 -1
- package/dist/chunks/index-AX_b-FPF.cjs +0 -150
- package/dist/chunks/index-AX_b-FPF.cjs.map +0 -1
- package/dist/chunks/index-FO4BaGaF.cjs +0 -148
- package/dist/chunks/index-FO4BaGaF.cjs.map +0 -1
- package/dist/chunks/index-KrMGGc7j.mjs +0 -156
- package/dist/chunks/index-KrMGGc7j.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-jbqYHMmd.mjs +0 -897
- package/dist/chunks/referencePickerModal-jbqYHMmd.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-rHOAeK-a.cjs +0 -879
- package/dist/chunks/referencePickerModal-rHOAeK-a.cjs.map +0 -1
- package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs +0 -39
- package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs.map +0 -1
- package/dist/chunks/usernameToColor-pYptUj7i.mjs +0 -41
- package/dist/chunks/usernameToColor-pYptUj7i.mjs.map +0 -1
- package/dist/plugin.d.ts +0 -17
- /package/dist/{functions → src/functions}/a11y/index.d.ts +0 -0
- /package/dist/{functions → src/functions}/emoji/emoji.d.ts +0 -0
- /package/dist/{functions → src/functions}/emoji/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/UserStatus.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_l10n-wK0o0jNS.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper-hUChTQA_.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper-xG2iG1wl.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
3
|
+
*
|
|
4
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
5
|
+
*
|
|
6
|
+
* @license AGPL-3.0-or-later
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
const t = {
|
|
23
|
+
beforeUpdate() {
|
|
24
|
+
this.text = this.getText();
|
|
25
|
+
},
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
// $slots are not reactive.
|
|
29
|
+
// We need to update the content manually
|
|
30
|
+
text: this.getText()
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
computed: {
|
|
34
|
+
isLongText() {
|
|
35
|
+
return this.text && this.text.trim().length > 20;
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
methods: {
|
|
39
|
+
getText() {
|
|
40
|
+
return this.$slots.default?.()[0].children?.trim?.() || "";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
t as A
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGlobal-1onxXJwM.mjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default?.()[0].children?.trim?.() || ''\n\t\t},\n\t},\n}\n"],"names":["ActionGlobalMixin"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBA,MAAeA,IAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAS;AAAA,EAC1B;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACpB;AAAA,EACD;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;AACT,aAAO,KAAK,OAAO,UAAW,EAAC,CAAC,EAAE,UAAU,OAAI,KAAQ;AAAA,IACxD;AAAA,EACD;AACF;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
4
|
+
*
|
|
5
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
6
|
+
*
|
|
7
|
+
* @license AGPL-3.0-or-later
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU Affero General Public License as
|
|
11
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
12
|
+
* License, or (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU Affero General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const t = {
|
|
24
|
+
beforeUpdate() {
|
|
25
|
+
this.text = this.getText();
|
|
26
|
+
},
|
|
27
|
+
data() {
|
|
28
|
+
return {
|
|
29
|
+
// $slots are not reactive.
|
|
30
|
+
// We need to update the content manually
|
|
31
|
+
text: this.getText()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
computed: {
|
|
35
|
+
isLongText() {
|
|
36
|
+
return this.text && this.text.trim().length > 20;
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
getText() {
|
|
41
|
+
return this.$slots.default?.()[0].children?.trim?.() || "";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.ActionGlobalMixin = t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGlobal-kyAHPMcH.cjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default?.()[0].children?.trim?.() || ''\n\t\t},\n\t},\n}\n"],"names":["ActionGlobalMixin"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBA,MAAeA,IAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAS;AAAA,EAC1B;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACpB;AAAA,EACD;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;AACT,aAAO,KAAK,OAAO,UAAW,EAAC,CAAC,EAAE,UAAU,OAAI,KAAQ;AAAA,IACxD;AAAA,EACD;AACF;;"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { A as n } from "./actionGlobal-1onxXJwM.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
4
|
+
*
|
|
5
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
6
|
+
*
|
|
7
|
+
* @license AGPL-3.0-or-later
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU Affero General Public License as
|
|
11
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
12
|
+
* License, or (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU Affero General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const o = function(i, t) {
|
|
24
|
+
let e = i.$parent;
|
|
25
|
+
for (; e; ) {
|
|
26
|
+
if (e.$options.name === t)
|
|
27
|
+
return e;
|
|
28
|
+
e = e.$parent;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
33
|
+
*
|
|
34
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
35
|
+
*
|
|
36
|
+
* @license AGPL-3.0-or-later
|
|
37
|
+
*
|
|
38
|
+
* This program is free software: you can redistribute it and/or modify
|
|
39
|
+
* it under the terms of the GNU Affero General Public License as
|
|
40
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
41
|
+
* License, or (at your option) any later version.
|
|
42
|
+
*
|
|
43
|
+
* This program is distributed in the hope that it will be useful,
|
|
44
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
45
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
46
|
+
* GNU Affero General Public License for more details.
|
|
47
|
+
*
|
|
48
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
49
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
const r = {
|
|
53
|
+
mixins: [n],
|
|
54
|
+
props: {
|
|
55
|
+
/**
|
|
56
|
+
* Icon to show with the action, can be either a CSS class or an URL
|
|
57
|
+
*/
|
|
58
|
+
icon: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: ""
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* The main text content of the entry.
|
|
64
|
+
*/
|
|
65
|
+
name: {
|
|
66
|
+
type: String,
|
|
67
|
+
default: ""
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* The title attribute of the element.
|
|
71
|
+
*/
|
|
72
|
+
title: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: ""
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Whether we close the Actions menu after the click
|
|
78
|
+
*/
|
|
79
|
+
closeAfterClick: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: !1
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* Aria label for the button. Not needed if the button has text.
|
|
85
|
+
*/
|
|
86
|
+
ariaLabel: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: null
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
|
|
92
|
+
* @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
|
|
93
|
+
* otherwise root element will inherit incorrect aria-hidden.
|
|
94
|
+
*/
|
|
95
|
+
ariaHidden: {
|
|
96
|
+
type: Boolean,
|
|
97
|
+
default: null
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
emits: [
|
|
101
|
+
"click"
|
|
102
|
+
],
|
|
103
|
+
computed: {
|
|
104
|
+
/**
|
|
105
|
+
* Check if icon prop is an URL
|
|
106
|
+
* @return {boolean} Whether the icon prop is an URL
|
|
107
|
+
*/
|
|
108
|
+
isIconUrl() {
|
|
109
|
+
try {
|
|
110
|
+
return !!new URL(this.icon, this.icon.startsWith("/") ? window.location.origin : void 0);
|
|
111
|
+
} catch {
|
|
112
|
+
return !1;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
methods: {
|
|
117
|
+
onClick(i) {
|
|
118
|
+
if (this.$emit("click", i), this.closeAfterClick) {
|
|
119
|
+
const t = o(this, "NcActions");
|
|
120
|
+
t && t.closeMenu && t.closeMenu(!1);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
export {
|
|
126
|
+
r as A
|
|
127
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionText-IqPIFk1D.mjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n/**\n * Get the first parent component matching the provided name\n *\n * @param {object} context the context to search from (usually this)\n * @param {string} name the parent name\n * @return {object|undefined} the parent component\n */\nconst GetParent = function(context, name) {\n\tlet parent = context.$parent\n\twhile (parent) {\n\t\tif (parent.$options.name === name) {\n\t\t\treturn parent\n\t\t}\n\t\tparent = parent.$parent\n\t}\n}\n\nexport default GetParent\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport actionGlobal from './actionGlobal.js'\nimport GetParent from '../utils/GetParent.js'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n\t\t * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n\t\t * otherwise root element will inherit incorrect aria-hidden.\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tconst parent = GetParent(this, 'NcActions')\n\t\t\t\tif (parent && parent.closeMenu) {\n\t\t\t\t\tparent.closeMenu(false)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["GetParent","context","name","parent","ActionTextMixin","actionGlobal","event"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,IAAY,SAASC,GAASC,GAAM;AACzC,MAAIC,IAASF,EAAQ;AACrB,SAAOE,KAAQ;AACd,QAAIA,EAAO,SAAS,SAASD;AAC5B,aAAOC;AAER,IAAAA,IAASA,EAAO;AAAA,EAChB;AACF;ACrCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeC,IAAA;AAAA,EACd,QAAQ,CAACC,CAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,QAAe;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQC,GAAO;AAQd,UAFA,KAAK,MAAM,SAASA,CAAK,GAErB,KAAK,iBAAiB;AACzB,cAAMH,IAASH,EAAU,MAAM,WAAW;AAC1C,QAAIG,KAAUA,EAAO,aACpBA,EAAO,UAAU,EAAK;AAAA,MAEvB;AAAA,IACD;AAAA,EACD;AACF;"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const n = require("./actionGlobal-kyAHPMcH.cjs");
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
5
|
+
*
|
|
6
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
7
|
+
*
|
|
8
|
+
* @license AGPL-3.0-or-later
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Affero General Public License as
|
|
12
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
13
|
+
* License, or (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Affero General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
21
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
const o = function(i, t) {
|
|
25
|
+
let e = i.$parent;
|
|
26
|
+
for (; e; ) {
|
|
27
|
+
if (e.$options.name === t)
|
|
28
|
+
return e;
|
|
29
|
+
e = e.$parent;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
34
|
+
*
|
|
35
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
36
|
+
*
|
|
37
|
+
* @license AGPL-3.0-or-later
|
|
38
|
+
*
|
|
39
|
+
* This program is free software: you can redistribute it and/or modify
|
|
40
|
+
* it under the terms of the GNU Affero General Public License as
|
|
41
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
42
|
+
* License, or (at your option) any later version.
|
|
43
|
+
*
|
|
44
|
+
* This program is distributed in the hope that it will be useful,
|
|
45
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
46
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
47
|
+
* GNU Affero General Public License for more details.
|
|
48
|
+
*
|
|
49
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
50
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
const l = {
|
|
54
|
+
mixins: [n.ActionGlobalMixin],
|
|
55
|
+
props: {
|
|
56
|
+
/**
|
|
57
|
+
* Icon to show with the action, can be either a CSS class or an URL
|
|
58
|
+
*/
|
|
59
|
+
icon: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: ""
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* The main text content of the entry.
|
|
65
|
+
*/
|
|
66
|
+
name: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: ""
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* The title attribute of the element.
|
|
72
|
+
*/
|
|
73
|
+
title: {
|
|
74
|
+
type: String,
|
|
75
|
+
default: ""
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Whether we close the Actions menu after the click
|
|
79
|
+
*/
|
|
80
|
+
closeAfterClick: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !1
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Aria label for the button. Not needed if the button has text.
|
|
86
|
+
*/
|
|
87
|
+
ariaLabel: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: null
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
|
|
93
|
+
* @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
|
|
94
|
+
* otherwise root element will inherit incorrect aria-hidden.
|
|
95
|
+
*/
|
|
96
|
+
ariaHidden: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: null
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
emits: [
|
|
102
|
+
"click"
|
|
103
|
+
],
|
|
104
|
+
computed: {
|
|
105
|
+
/**
|
|
106
|
+
* Check if icon prop is an URL
|
|
107
|
+
* @return {boolean} Whether the icon prop is an URL
|
|
108
|
+
*/
|
|
109
|
+
isIconUrl() {
|
|
110
|
+
try {
|
|
111
|
+
return !!new URL(this.icon, this.icon.startsWith("/") ? window.location.origin : void 0);
|
|
112
|
+
} catch {
|
|
113
|
+
return !1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
onClick(i) {
|
|
119
|
+
if (this.$emit("click", i), this.closeAfterClick) {
|
|
120
|
+
const t = o(this, "NcActions");
|
|
121
|
+
t && t.closeMenu && t.closeMenu(!1);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
exports.ActionTextMixin = l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionText-WQ07UNmt.cjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n/**\n * Get the first parent component matching the provided name\n *\n * @param {object} context the context to search from (usually this)\n * @param {string} name the parent name\n * @return {object|undefined} the parent component\n */\nconst GetParent = function(context, name) {\n\tlet parent = context.$parent\n\twhile (parent) {\n\t\tif (parent.$options.name === name) {\n\t\t\treturn parent\n\t\t}\n\t\tparent = parent.$parent\n\t}\n}\n\nexport default GetParent\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport actionGlobal from './actionGlobal.js'\nimport GetParent from '../utils/GetParent.js'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n\t\t * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n\t\t * otherwise root element will inherit incorrect aria-hidden.\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tconst parent = GetParent(this, 'NcActions')\n\t\t\t\tif (parent && parent.closeMenu) {\n\t\t\t\t\tparent.closeMenu(false)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["GetParent","context","name","parent","ActionTextMixin","actionGlobal","event"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,IAAY,SAASC,GAASC,GAAM;AACzC,MAAIC,IAASF,EAAQ;AACrB,SAAOE,KAAQ;AACd,QAAIA,EAAO,SAAS,SAASD;AAC5B,aAAOC;AAER,IAAAA,IAASA,EAAO;AAAA,EAChB;AACF;ACrCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeC,IAAA;AAAA,EACd,QAAQ,CAACC,EAAAA,iBAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,QAAe;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQC,GAAO;AAQd,UAFA,KAAK,MAAM,SAASA,CAAK,GAErB,KAAK,iBAAiB;AACzB,cAAMH,IAASH,EAAU,MAAM,WAAW;AAC1C,QAAIG,KAAUA,EAAO,aACpBA,EAAO,UAAU,EAAK;AAAA,MAEvB;AAAA,IACD;AAAA,EACD;AACF;;"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const _ = require("@nextcloud/router"), r = require("vue");
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const b = require("./_plugin-vue_export-helper-xG2iG1wl.cjs"), g = require("./Linkify-f3s3nAe_.cjs"), h = require("escape-html"), E = require("striptags"), o = (e) => e && e.__esModule ? e : { default: e }, f = /* @__PURE__ */ o(h), a = /* @__PURE__ */ o(E), y = {
|
|
5
|
+
name: "NcMentionBubble",
|
|
6
|
+
props: {
|
|
7
|
+
id: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: !0
|
|
10
|
+
},
|
|
11
|
+
title: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: !0
|
|
14
|
+
},
|
|
15
|
+
icon: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: !0
|
|
18
|
+
},
|
|
19
|
+
iconUrl: {
|
|
20
|
+
type: [String, null],
|
|
21
|
+
default: null
|
|
22
|
+
},
|
|
23
|
+
source: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: !0
|
|
26
|
+
},
|
|
27
|
+
primary: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
computed: {
|
|
33
|
+
avatarUrl() {
|
|
34
|
+
return this.iconUrl ? this.iconUrl : this.id && this.source === "users" ? this.getAvatarUrl(this.id, 44) : null;
|
|
35
|
+
},
|
|
36
|
+
mentionText() {
|
|
37
|
+
return !this.id.includes(" ") && !this.id.includes("/") ? `@${this.id}` : `@"${this.id}"`;
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
methods: {
|
|
41
|
+
getAvatarUrl(e, t) {
|
|
42
|
+
return _.generateUrl("/avatar/{user}/{size}", {
|
|
43
|
+
user: e,
|
|
44
|
+
size: t
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}, S = { class: "mention-bubble__wrapper" }, T = { class: "mention-bubble__content" }, q = ["title"], U = {
|
|
49
|
+
role: "none",
|
|
50
|
+
class: "mention-bubble__select"
|
|
51
|
+
};
|
|
52
|
+
function N(e, t, i, n, l, s) {
|
|
53
|
+
return r.openBlock(), r.createElementBlock("span", {
|
|
54
|
+
class: r.normalizeClass([{ "mention-bubble--primary": i.primary }, "mention-bubble"]),
|
|
55
|
+
contenteditable: "false"
|
|
56
|
+
}, [
|
|
57
|
+
r.createElementVNode("span", S, [
|
|
58
|
+
r.createElementVNode("span", T, [
|
|
59
|
+
r.createElementVNode("span", {
|
|
60
|
+
class: r.normalizeClass([[i.icon, `mention-bubble__icon--${s.avatarUrl ? "with-avatar" : ""}`], "mention-bubble__icon"]),
|
|
61
|
+
style: r.normalizeStyle(s.avatarUrl ? { backgroundImage: `url(${s.avatarUrl})` } : null)
|
|
62
|
+
}, null, 6),
|
|
63
|
+
r.createElementVNode("span", {
|
|
64
|
+
role: "heading",
|
|
65
|
+
class: "mention-bubble__title",
|
|
66
|
+
title: i.title
|
|
67
|
+
}, null, 8, q)
|
|
68
|
+
]),
|
|
69
|
+
r.createElementVNode("span", U, r.toDisplayString(s.mentionText), 1)
|
|
70
|
+
])
|
|
71
|
+
], 2);
|
|
72
|
+
}
|
|
73
|
+
const c = /* @__PURE__ */ b._export_sfc(y, [["render", N], ["__scopeId", "data-v-357e6d0e"]]);
|
|
74
|
+
/**
|
|
75
|
+
* @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
|
|
76
|
+
*
|
|
77
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
78
|
+
*
|
|
79
|
+
* @license AGPL-3.0-or-later
|
|
80
|
+
*
|
|
81
|
+
* This program is free software: you can redistribute it and/or modify
|
|
82
|
+
* it under the terms of the GNU Affero General Public License as
|
|
83
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
84
|
+
* License, or (at your option) any later version.
|
|
85
|
+
*
|
|
86
|
+
* This program is distributed in the hope that it will be useful,
|
|
87
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
88
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
89
|
+
* GNU Affero General Public License for more details.
|
|
90
|
+
*
|
|
91
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
92
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
const u = "(?:^|\\s)", d = "(?:[^a-z]|$)", m = new RegExp(`${u}(@[a-zA-Z0-9_.@\\-']+)(${d})`, "gi"), p = new RegExp(`${u}(@"[a-zA-Z0-9 _.@\\-']+")(${d})`, "gi"), I = {
|
|
96
|
+
props: {
|
|
97
|
+
userData: {
|
|
98
|
+
type: Object,
|
|
99
|
+
default: () => ({})
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
methods: {
|
|
103
|
+
/**
|
|
104
|
+
* Convert the value string to html for the inner content
|
|
105
|
+
*
|
|
106
|
+
* @param {string} value the content without html
|
|
107
|
+
* @return {string} rendered html
|
|
108
|
+
*/
|
|
109
|
+
renderContent(e) {
|
|
110
|
+
return f.default(e).split(m).map((n) => n.split(p)).flat().map((n) => {
|
|
111
|
+
if (!n.startsWith("@"))
|
|
112
|
+
return g.Linkify(n);
|
|
113
|
+
const l = n.slice(1).replace(/"/gi, "");
|
|
114
|
+
return " " + this.genSelectTemplate(l);
|
|
115
|
+
}).join("").replace(/\n/gmi, "<br>").replace(/&/gmi, "&");
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
* Convert the innerHtml content to a string with mentions as text
|
|
119
|
+
*
|
|
120
|
+
* @param {string} content the content without html
|
|
121
|
+
* @return {string}
|
|
122
|
+
*/
|
|
123
|
+
parseContent(e) {
|
|
124
|
+
let t = e.replace(/<br>/gmi, `
|
|
125
|
+
`);
|
|
126
|
+
return t = t.replace(/ /gmi, " "), t = t.replace(/&/gmi, "&"), t = t.replace(/<\/div>/gmi, `
|
|
127
|
+
`), t = a.default(t, "<div>"), t = a.default(t), t;
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* Generate an autocompletion popup entry template
|
|
131
|
+
*
|
|
132
|
+
* @param {string} value the value to match against the userData
|
|
133
|
+
* @return {string}
|
|
134
|
+
*/
|
|
135
|
+
genSelectTemplate(e) {
|
|
136
|
+
if (typeof e > "u")
|
|
137
|
+
return `${this.autocompleteTribute.current.collection.trigger}${this.autocompleteTribute.current.mentionText}`;
|
|
138
|
+
const t = this.userData[e];
|
|
139
|
+
return t ? this.renderComponentHtml(t, c).replace(/[\n\t]/gmi, "") : !e.includes(" ") && !e.includes("/") ? `@${e}` : `@"${e}"`;
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
* Render a component and return its html content
|
|
143
|
+
*
|
|
144
|
+
* @param {object} props the props to pass to the component
|
|
145
|
+
* @param {object} component the component to render
|
|
146
|
+
* @return {string} the rendered html
|
|
147
|
+
*/
|
|
148
|
+
renderComponentHtml(e, t) {
|
|
149
|
+
const i = r.createApp(t, {
|
|
150
|
+
...e
|
|
151
|
+
}), n = document.createElement("div");
|
|
152
|
+
n.style.display = "none", document.body.appendChild(n), i.mount(n);
|
|
153
|
+
const l = n.innerHTML;
|
|
154
|
+
return i.unmount(), n.remove(), l;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
exports.NcMentionBubble = c;
|
|
159
|
+
exports.USERID_REGEX = m;
|
|
160
|
+
exports.USERID_REGEX_WITH_SPACE = p;
|
|
161
|
+
exports.richEditor = I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-NP8hZQhr.cjs","sources":["../../src/components/NcRichContenteditable/NcMentionBubble.vue","../../src/mixins/richEditor/index.js"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<template>\n\t<span :class=\"{'mention-bubble--primary': primary}\"\n\t\tclass=\"mention-bubble\"\n\t\tcontenteditable=\"false\">\n\t\t<span class=\"mention-bubble__wrapper\">\n\t\t\t<span class=\"mention-bubble__content\">\n\t\t\t\t<!-- Avatar or icon -->\n\t\t\t\t<span :class=\"[icon, `mention-bubble__icon--${avatarUrl ? 'with-avatar' : ''}`]\"\n\t\t\t\t\t:style=\"avatarUrl ? { backgroundImage: `url(${avatarUrl})` } : null\"\n\t\t\t\t\tclass=\"mention-bubble__icon\" />\n\n\t\t\t\t<!-- Title -->\n\t\t\t\t<span role=\"heading\" class=\"mention-bubble__title\" :title=\"title\" />\n\t\t\t</span>\n\n\t\t\t<!-- Selectable text for copy/paste -->\n\t\t\t<span role=\"none\" class=\"mention-bubble__select\">{{ mentionText }}</span>\n\t\t</span>\n\t</span>\n</template>\n\n<script>\nimport { generateUrl } from '@nextcloud/router'\n\nexport default {\n\tname: 'NcMentionBubble',\n\n\tprops: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\ticonUrl: {\n\t\t\ttype: [String, null],\n\t\t\tdefault: null,\n\t\t},\n\t\tsource: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tcomputed: {\n\t\tavatarUrl() {\n\t\t\tif (this.iconUrl) {\n\t\t\t\treturn this.iconUrl\n\t\t\t}\n\n\t\t\treturn this.id && this.source === 'users'\n\t\t\t\t? this.getAvatarUrl(this.id, 44)\n\t\t\t\t: null\n\t\t},\n\t\tmentionText() {\n\t\t\treturn !this.id.includes(' ') && !this.id.includes('/')\n\t\t\t\t? `@${this.id}`\n\t\t\t\t: `@\"${this.id}\"`\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetAvatarUrl(user, size) {\n\t\t\treturn generateUrl('/avatar/{user}/{size}', {\n\t\t\t\tuser,\n\t\t\t\tsize,\n\t\t\t})\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$bubble-height: 20px;\n$bubble-max-width: 150px;\n$bubble-padding: 2px;\n$bubble-avatar-size: $bubble-height - 2 * $bubble-padding;\n\n.mention-bubble {\n\t&--primary &__content {\n\t\tcolor: var(--color-primary-element-text);\n\t\tbackground-color: var(--color-primary-element);\n\t}\n\n\t&__wrapper {\n\t\tmax-width: $bubble-max-width;\n\t\t// Align with text\n\t\theight: $bubble-height - $bubble-padding;\n\t\tvertical-align: text-bottom;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t}\n\n\t&__content {\n\t\tdisplay: inline-flex;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\t\tmax-width: 100%;\n\t\theight: $bubble-height ;\n\t\t-webkit-user-select: none;\n\t\tuser-select: none;\n\t\tpadding-right: $bubble-padding * 3;\n\t\tpadding-left: $bubble-padding;\n\t\tborder-radius: math.div($bubble-height, 2);\n\t\tbackground-color: var(--color-background-dark);\n\t}\n\n\t&__icon {\n\t\tposition: relative;\n\t\twidth: $bubble-avatar-size;\n\t\theight: $bubble-avatar-size;\n\t\tborder-radius: math.div($bubble-avatar-size, 2);\n\t\tbackground-color: var(--color-background-darker);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-size: $bubble-avatar-size - 2 * $bubble-padding;\n\n\t\t&--with-avatar {\n\t\t\tcolor: inherit;\n\t\t\tbackground-size: cover;\n\t\t}\n\t}\n\n\t&__title {\n\t\toverflow: hidden;\n\t\tmargin-left: $bubble-padding;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\t// Put title in ::before so it is not selectable\n\t\t&::before {\n\t\t\tcontent: attr(title);\n\t\t}\n\t}\n\n\t// Hide the mention id so it is selectable\n\t&__select {\n\t\tposition: absolute;\n\t\tz-index: -1;\n\t\tleft: -1000px;\n\t}\n}\n\n</style>\n","/**\n * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport NcMentionBubble from '../../components/NcRichContenteditable/NcMentionBubble.vue'\nimport Linkify from '../../utils/Linkify.js'\n\nimport escapeHtml from 'escape-html'\nimport stripTags from 'striptags'\nimport { createApp } from 'vue'\n\n// Beginning or whitespace. Non-capturing group\nconst MENTION_START = '(?:^|\\\\s)'\n// Anything that is not text or end-of-line. Non-capturing group\nconst MENTION_END = '(?:[^a-z]|$)'\nexport const USERID_REGEX = new RegExp(`${MENTION_START}(@[a-zA-Z0-9_.@\\\\-']+)(${MENTION_END})`, 'gi')\nexport const USERID_REGEX_WITH_SPACE = new RegExp(`${MENTION_START}(@"[a-zA-Z0-9 _.@\\\\-']+")(${MENTION_END})`, 'gi')\n\nexport default {\n\tprops: {\n\t\tuserData: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => ({}),\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Convert the value string to html for the inner content\n\t\t *\n\t\t * @param {string} value the content without html\n\t\t * @return {string} rendered html\n\t\t */\n\t\trenderContent(value) {\n\t\t\t// Sanitize the value prop\n\t\t\tconst sanitizedValue = escapeHtml(value)\n\n\t\t\t// Extract all the userIds\n\t\t\tconst splitValue = sanitizedValue.split(USERID_REGEX)\n\t\t\t\t.map(part => part.split(USERID_REGEX_WITH_SPACE)).flat()\n\n\t\t\t// Replace userIds by html\n\t\t\treturn splitValue\n\t\t\t\t.map(part => {\n\t\t\t\t\t// When splitting, the string is always putting the userIds\n\t\t\t\t\t// on the the uneven indexes. We only want to generate the mentions html\n\t\t\t\t\tif (!part.startsWith('@')) {\n\t\t\t\t\t\t// This part doesn't contain a mention, let's make sure links are parsed\n\t\t\t\t\t\treturn Linkify(part)\n\t\t\t\t\t}\n\n\t\t\t\t\t// Extracting the id, nuking the leading @ and all \"\n\t\t\t\t\tconst id = part.slice(1).replace(/"/gi, '')\n\t\t\t\t\t// Compiling template and prepend with the space we removed during the split\n\t\t\t\t\treturn ' ' + this.genSelectTemplate(id)\n\t\t\t\t})\n\t\t\t\t.join('')\n\t\t\t\t.replace(/\\n/gmi, '<br>')\n\t\t\t\t.replace(/&/gmi, '&')\n\t\t},\n\n\t\t/**\n\t\t * Convert the innerHtml content to a string with mentions as text\n\t\t *\n\t\t * @param {string} content the content without html\n\t\t * @return {string}\n\t\t */\n\t\tparseContent(content) {\n\t\t\tlet text = content.replace(/<br>/gmi, '\\n')\n\t\t\ttext = text.replace(/ /gmi, ' ')\n\t\t\ttext = text.replace(/&/gmi, '&')\n\n\t\t\t// Convert the mentions to text only\n\t\t\t// first we replace divs with new lines\n\t\t\ttext = text.replace(/<\\/div>/gmi, '\\n')\n\t\t\t// then we remove all leftover html\n\t\t\ttext = stripTags(text, '<div>')\n\t\t\ttext = stripTags(text)\n\n\t\t\treturn text\n\t\t},\n\n\t\t/**\n\t\t * Generate an autocompletion popup entry template\n\t\t *\n\t\t * @param {string} value the value to match against the userData\n\t\t * @return {string}\n\t\t */\n\t\tgenSelectTemplate(value) {\n\t\t\t// The value returned by this function will replace the trigger '@'\n\t\t\t// and the search text, so when there is no match we simply return\n\t\t\t// '@' and the text.\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\treturn `${this.autocompleteTribute.current.collection.trigger}${this.autocompleteTribute.current.mentionText}`\n\t\t\t}\n\n\t\t\tconst data = this.userData[value]\n\n\t\t\t// Fallback to @mention in case no data matches\n\t\t\tif (!data) {\n\t\t\t\t// return `@${value}`\n\t\t\t\treturn !value.includes(' ') && !value.includes('/')\n\t\t\t\t\t? `@${value}`\n\t\t\t\t\t: `@\"${value}\"`\n\t\t\t}\n\n\t\t\t// Return template and make sure we strip of new lines and tabs\n\t\t\treturn this.renderComponentHtml(data, NcMentionBubble).replace(/[\\n\\t]/gmi, '')\n\t\t},\n\n\t\t/**\n\t\t * Render a component and return its html content\n\t\t *\n\t\t * @param {object} props the props to pass to the component\n\t\t * @param {object} component the component to render\n\t\t * @return {string} the rendered html\n\t\t */\n\t\trenderComponentHtml(props, component) {\n\t\t\tconst Item = createApp(component, {\n\t\t\t\t...props,\n\t\t\t})\n\n\t\t\t// Prepare mountpoint\n\t\t\tconst mount = document.createElement('div')\n\t\t\tmount.style.display = 'none'\n\t\t\tdocument.body.appendChild(mount)\n\n\t\t\t// Mount and get raw html\n\t\t\tItem.mount(mount)\n\t\t\tconst renderedHtml = mount.innerHTML\n\n\t\t\t// Destroy\n\t\t\tItem.unmount()\n\t\t\tmount.remove()\n\n\t\t\treturn renderedHtml\n\t\t},\n\t},\n}\n"],"names":["_sfc_main","user","size","generateUrl","_hoisted_1","_hoisted_2","_hoisted_3","_createElementBlock","_normalizeClass","$props","_createElementVNode","$options","_normalizeStyle","_hoisted_4","_toDisplayString","MENTION_START","MENTION_END","USERID_REGEX","USERID_REGEX_WITH_SPACE","richEditor","value","escapeHtml","part","Linkify","id","content","text","stripTags","data","NcMentionBubble","props","component","Item","createApp","mount","renderedHtml"],"mappings":";;;mQA6CKA,IAAU;AAAA,EACd,MAAM;AAAA,EAEN,OAAO;AAAA,IACN,IAAI;AAAA,MACH,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,IACD,OAAO;AAAA,MACN,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,IACD,SAAS;AAAA,MACR,MAAM,CAAC,QAAQ,IAAI;AAAA,MACnB,SAAS;AAAA,IACT;AAAA,IACD,QAAQ;AAAA,MACP,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,IACD,SAAS;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,YAAY;AACX,aAAI,KAAK,UACD,KAAK,UAGN,KAAK,MAAM,KAAK,WAAW,UAC/B,KAAK,aAAa,KAAK,IAAI,EAAE,IAC7B;AAAA,IACH;AAAA,IACD,cAAc;AACb,aAAO,CAAC,KAAK,GAAG,SAAS,GAAG,KAAK,CAAC,KAAK,GAAG,SAAS,GAAG,IACnD,IAAI,KAAK,EAAE,KACX,KAAK,KAAK,EAAE;AAAA,IACf;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,aAAaC,GAAMC,GAAM;AACxB,aAAOC,EAAAA,YAAY,yBAAyB;AAAA,QAC3C,MAAAF;AAAA,QACA,MAAAC;AAAA,OACA;AAAA,IACD;AAAA,EACD;AACF,GA1EQE,IAAA,EAAA,OAAM,0BAAyB,GAC9BC,IAAA,EAAA,OAAM,0BAAyB,GA1BxCC,IAAA,CAAA,OAAA;EAqCS,MAAK;AAAA,EAAO,OAAM;;;wBAf1BC,EAiBO,mBAAA,QAAA;AAAA,IAjBA,OAtBRC,EAAA,eAAA,CAAA,EAAA,2BAsB2CC,EAAO,QAAA,GAC1C,gBAAgB,CAAA;AAAA,IACtB,iBAAgB;AAAA;IAChBC,EAAA,mBAaO,QAbPN,GAaO;AAAA,MAZNM,EAAA,mBAQO,QARPL,GAQO;AAAA,QANNK,EAAAA,mBAEgC,QAAA;AAAA,UAFzB,OA5BXF,EAAAA,eA4BmB,CAAA,CAAAC,EAAA,MAA+B,yBAAAE,EAAA,mCAEvC,sBAAsB,CAAA;AAAA,UAD3B,OA7BNC,EAAA,eA6BaD,EAAS,YAAA,EAAA,iBAAA,OAA6BA,EAAS,SAAA,IAAA,IAAA,IAAA;AAAA;QAIxDD,EAAAA,mBAAoE,QAAA;AAAA,UAA9D,MAAK;AAAA,UAAU,OAAM;AAAA,UAAyB,OAAOD,EAAK;AAAA,QAjCpE,GAAA,MAAA,GAAAH,CAAA;AAAA;MAqCGI,EAAyE,mBAAA,QAAzEG,GAAyEC,EAAAA,gBAArBH,EAAW,WAAA,GAAA,CAAA;AAAA;;;;ACrClE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA8BA,MAAMI,IAAgB,aAEhBC,IAAc,gBACPC,IAAe,IAAI,OAAO,GAAGF,CAAa,0BAA0BC,CAAW,KAAK,IAAI,GACxFE,IAA0B,IAAI,OAAO,GAAGH,CAAa,uCAAuCC,CAAW,KAAK,IAAI,GAE9GG,IAAA;AAAA,EACd,OAAO;AAAA,IACN,UAAU;AAAA,MACT,MAAM;AAAA,MACN,SAAS,OAAO,CAAA;AAAA,IAChB;AAAA,EACD;AAAA,EACD,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOR,cAAcC,GAAO;AASpB,aAPuBC,EAAU,QAACD,CAAK,EAGL,MAAMH,CAAY,EAClD,IAAI,CAAAK,MAAQA,EAAK,MAAMJ,CAAuB,CAAC,EAAE,KAAM,EAIvD,IAAI,CAAAI,MAAQ;AAGZ,YAAI,CAACA,EAAK,WAAW,GAAG;AAEvB,iBAAOC,EAAAA,QAAQD,CAAI;AAIpB,cAAME,IAAKF,EAAK,MAAM,CAAC,EAAE,QAAQ,YAAY,EAAE;AAE/C,eAAO,MAAM,KAAK,kBAAkBE,CAAE;AAAA,MAC3C,CAAK,EACA,KAAK,EAAE,EACP,QAAQ,SAAS,MAAM,EACvB,QAAQ,YAAY,GAAG;AAAA,IACzB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,aAAaC,GAAS;AACrB,UAAIC,IAAOD,EAAQ,QAAQ,WAAW;AAAA,CAAI;AAC1C,aAAAC,IAAOA,EAAK,QAAQ,aAAa,GAAG,GACpCA,IAAOA,EAAK,QAAQ,YAAY,GAAG,GAInCA,IAAOA,EAAK,QAAQ,cAAc;AAAA,CAAI,GAEtCA,IAAOC,EAAAA,QAAUD,GAAM,OAAO,GAC9BA,IAAOC,EAAS,QAACD,CAAI,GAEdA;AAAA,IACP;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,kBAAkBN,GAAO;AAIxB,UAAI,OAAOA,IAAU;AACpB,eAAO,GAAG,KAAK,oBAAoB,QAAQ,WAAW,OAAO,GAAG,KAAK,oBAAoB,QAAQ,WAAW;AAG7G,YAAMQ,IAAO,KAAK,SAASR,CAAK;AAGhC,aAAKQ,IAQE,KAAK,oBAAoBA,GAAMC,CAAe,EAAE,QAAQ,aAAa,EAAE,IANtE,CAACT,EAAM,SAAS,GAAG,KAAK,CAACA,EAAM,SAAS,GAAG,IAC/C,IAAIA,CAAK,KACT,KAAKA,CAAK;AAAA,IAKd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASD,oBAAoBU,GAAOC,GAAW;AACrC,YAAMC,IAAOC,EAAS,UAACF,GAAW;AAAA,QACjC,GAAGD;AAAA,MACP,CAAI,GAGKI,IAAQ,SAAS,cAAc,KAAK;AAC1C,MAAAA,EAAM,MAAM,UAAU,QACtB,SAAS,KAAK,YAAYA,CAAK,GAG/BF,EAAK,MAAME,CAAK;AAChB,YAAMC,IAAeD,EAAM;AAG3B,aAAAF,EAAK,QAAS,GACdE,EAAM,OAAQ,GAEPC;AAAA,IACP;AAAA,EACD;AACF;;;;;"}
|