@nextcloud/vue 8.12.0 → 8.13.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 +47 -2
- package/README.md +5 -0
- package/dist/Components/NcActionButton.cjs +3 -3
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +3 -3
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +1 -1
- package/dist/Components/NcActionCaption.cjs +2 -2
- package/dist/Components/NcActionCaption.cjs.map +1 -1
- package/dist/Components/NcActionCaption.mjs +2 -2
- package/dist/Components/NcActionCaption.mjs.map +1 -1
- package/dist/Components/NcActionCheckbox.cjs +6 -8
- package/dist/Components/NcActionCheckbox.cjs.map +1 -1
- package/dist/Components/NcActionCheckbox.mjs +6 -8
- 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 -3
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +3 -3
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRadio.cjs +6 -8
- package/dist/Components/NcActionRadio.cjs.map +1 -1
- package/dist/Components/NcActionRadio.mjs +6 -8
- package/dist/Components/NcActionRadio.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +3 -3
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +3 -3
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionSeparator.cjs +2 -2
- package/dist/Components/NcActionSeparator.cjs.map +1 -1
- package/dist/Components/NcActionSeparator.mjs +2 -2
- package/dist/Components/NcActionSeparator.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +3 -3
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +3 -3
- package/dist/Components/NcActionText.mjs.map +1 -1
- package/dist/Components/NcActionTextEditable.cjs +4 -4
- package/dist/Components/NcActionTextEditable.cjs.map +1 -1
- package/dist/Components/NcActionTextEditable.mjs +4 -4
- 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.map +1 -1
- package/dist/Components/NcAppContentDetails.mjs.map +1 -1
- package/dist/Components/NcAppContentList.cjs.map +1 -1
- package/dist/Components/NcAppContentList.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +1 -1
- package/dist/Components/NcAppNavigationIconBullet.cjs +2 -2
- package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
- package/dist/Components/NcAppNavigationIconBullet.mjs +2 -2
- 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/NcAppNavigationList.cjs +2 -2
- package/dist/Components/NcAppNavigationList.cjs.map +1 -1
- package/dist/Components/NcAppNavigationList.mjs +2 -2
- package/dist/Components/NcAppNavigationList.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.cjs +2 -2
- package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +2 -2
- package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +2 -2
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +2 -2
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -21
- package/dist/Components/NcAppNavigationToggle.cjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -21
- package/dist/Components/NcAppNavigationToggle.mjs.map +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +1 -1
- package/dist/Components/NcAppSettingsSection.cjs +2 -2
- package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
- package/dist/Components/NcAppSettingsSection.mjs +2 -2
- package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcAppSidebarTab.cjs +2 -2
- package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.mjs +2 -2
- package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +1 -1
- package/dist/Components/NcBreadcrumb.mjs +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +1 -1
- package/dist/Components/NcButton.cjs +2 -2
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +2 -2
- 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/NcChip.cjs +111 -0
- package/dist/Components/NcChip.cjs.map +1 -0
- package/dist/Components/NcChip.mjs +112 -0
- package/dist/Components/NcChip.mjs.map +1 -0
- package/dist/Components/NcColorPicker.cjs +1 -1
- package/dist/Components/NcColorPicker.mjs +1 -1
- package/dist/Components/NcContent.cjs +1 -1
- package/dist/Components/NcContent.mjs +1 -1
- package/dist/Components/NcCounterBubble.cjs +2 -2
- package/dist/Components/NcCounterBubble.cjs.map +1 -1
- package/dist/Components/NcCounterBubble.mjs +2 -2
- 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 +7 -28
- package/dist/Components/NcDateTimePicker.cjs.map +1 -1
- package/dist/Components/NcDateTimePicker.mjs +7 -28
- package/dist/Components/NcDateTimePicker.mjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.cjs +3 -24
- package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +3 -24
- 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 +9 -3
- package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
- package/dist/Components/NcEllipsisedOption.mjs +9 -3
- package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcEmptyContent.cjs +2 -2
- package/dist/Components/NcEmptyContent.cjs.map +1 -1
- package/dist/Components/NcEmptyContent.mjs +2 -2
- package/dist/Components/NcEmptyContent.mjs.map +1 -1
- package/dist/Components/NcGuestContent.cjs +2 -2
- package/dist/Components/NcGuestContent.cjs.map +1 -1
- package/dist/Components/NcGuestContent.mjs +2 -2
- 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 +1 -1
- 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 -3
- package/dist/Components/NcInputField.cjs.map +1 -1
- package/dist/Components/NcInputField.mjs +3 -3
- package/dist/Components/NcInputField.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +1 -1
- package/dist/Components/NcListItem.mjs +1 -1
- package/dist/Components/NcListItemIcon.cjs +1 -1
- package/dist/Components/NcListItemIcon.mjs +1 -1
- package/dist/Components/NcLoadingIcon.cjs +2 -2
- package/dist/Components/NcLoadingIcon.cjs.map +1 -1
- package/dist/Components/NcLoadingIcon.mjs +2 -2
- package/dist/Components/NcLoadingIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +9 -52
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +9 -52
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +2 -2
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +2 -2
- 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 +2 -2
- package/dist/Components/NcRichContenteditable.mjs +2 -2
- package/dist/Components/NcRichText.cjs +2 -23
- package/dist/Components/NcRichText.cjs.map +1 -1
- package/dist/Components/NcRichText.mjs +3 -24
- package/dist/Components/NcRichText.mjs.map +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 -22
- package/dist/Components/NcSettingsSelectGroup.cjs.map +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -22
- package/dist/Components/NcSettingsSelectGroup.mjs.map +1 -1
- package/dist/Components/NcTextArea.cjs +3 -3
- package/dist/Components/NcTextArea.cjs.map +1 -1
- package/dist/Components/NcTextArea.mjs +3 -3
- 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.map +1 -1
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Composables/useIsFullscreen.cjs +0 -21
- package/dist/Composables/useIsFullscreen.cjs.map +1 -1
- package/dist/Composables/useIsFullscreen.mjs +0 -21
- package/dist/Composables/useIsFullscreen.mjs.map +1 -1
- package/dist/Composables/useIsMobile.cjs +0 -21
- package/dist/Composables/useIsMobile.cjs.map +1 -1
- package/dist/Composables/useIsMobile.mjs +0 -21
- package/dist/Composables/useIsMobile.mjs.map +1 -1
- package/dist/Directives/Focus.cjs +0 -21
- package/dist/Directives/Focus.cjs.map +1 -1
- package/dist/Directives/Focus.mjs +0 -21
- package/dist/Directives/Focus.mjs.map +1 -1
- package/dist/Directives/Linkify.cjs +1 -1
- package/dist/Directives/Linkify.cjs.map +1 -1
- package/dist/Directives/Linkify.mjs +1 -1
- package/dist/Directives/Linkify.mjs.map +1 -1
- package/dist/Directives/Tooltip.cjs +1 -23
- package/dist/Directives/Tooltip.cjs.map +1 -1
- package/dist/Directives/Tooltip.mjs +1 -23
- package/dist/Directives/Tooltip.mjs.map +1 -1
- package/dist/Functions/a11y.cjs +0 -21
- package/dist/Functions/a11y.cjs.map +1 -1
- package/dist/Functions/a11y.mjs +0 -21
- package/dist/Functions/a11y.mjs.map +1 -1
- package/dist/Functions/emoji.cjs +1 -1
- package/dist/Functions/emoji.mjs +1 -1
- package/dist/Functions/reference.cjs +1 -1
- package/dist/Functions/reference.mjs +1 -1
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/clickOutsideOptions.cjs +0 -21
- package/dist/Mixins/clickOutsideOptions.cjs.map +1 -1
- package/dist/Mixins/clickOutsideOptions.mjs +0 -21
- package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
- package/dist/Mixins/isFullscreen.cjs +0 -21
- package/dist/Mixins/isFullscreen.cjs.map +1 -1
- package/dist/Mixins/isFullscreen.mjs +0 -21
- package/dist/Mixins/isFullscreen.mjs.map +1 -1
- package/dist/Mixins/isMobile.cjs +0 -21
- package/dist/Mixins/isMobile.cjs.map +1 -1
- package/dist/Mixins/isMobile.mjs +0 -21
- package/dist/Mixins/isMobile.mjs.map +1 -1
- package/dist/Mixins/richEditor.cjs +2 -2
- package/dist/Mixins/richEditor.mjs +2 -2
- package/dist/assets/NcActionButton-BQGADRoe.css +107 -0
- package/dist/assets/{NcActionButtonGroup-CvloX35s.css → NcActionButtonGroup-CQxLn2fv.css} +6 -20
- package/dist/assets/NcActionCaption-D-VXTPLI.css +32 -0
- package/dist/assets/NcActionCheckbox-_DSvRrCm.css +78 -0
- package/dist/assets/NcActionInput-K-aWGceI.css +222 -0
- package/dist/assets/NcActionLink-Djp7wPGg.css +92 -0
- package/dist/assets/NcActionRadio-mQBhh9vp.css +78 -0
- package/dist/assets/NcActionRouter-DzcScCc6.css +103 -0
- package/dist/assets/NcActionSeparator-CEbb5P6P.css +24 -0
- package/dist/assets/NcActionText-DSk64KBl.css +107 -0
- package/dist/assets/NcActionTextEditable-BIjM-JsZ.css +238 -0
- package/dist/assets/NcActions-DtkhUUGj.css +83 -0
- package/dist/assets/NcAppContent-D0DGjfq9.css +125 -0
- package/dist/assets/NcAppNavigation-DvCTUTpR.css +103 -0
- package/dist/assets/NcAppNavigationCaption-32LhJ9Co.css +48 -0
- package/dist/assets/NcAppNavigationIconBullet-EfIZU7x-.css +30 -0
- package/dist/assets/{NcAppNavigationItem-OJEHVyVk.css → NcAppNavigationItem-CflKjlYl.css} +52 -76
- package/dist/assets/NcAppNavigationList-BIbyyT7b.css +29 -0
- package/dist/assets/NcAppNavigationNew-BKfawNII.css +27 -0
- package/dist/assets/{NcAppNavigationNewItem-DF3nldsK.css → NcAppNavigationNewItem-CO3GnR26.css} +44 -54
- package/dist/assets/NcAppNavigationSettings-CbV2ZQ9_.css +79 -0
- package/dist/assets/NcAppNavigationSpacer-CfNqmQeR.css +6 -0
- package/dist/assets/NcAppNavigationToggle-DzpFNOgZ.css +27 -0
- package/dist/assets/NcAppSettingsDialog-DkvJ9cKe.css +74 -0
- package/dist/assets/NcAppSettingsSection-B5r6VWct.css +30 -0
- package/dist/assets/{NcAppSidebar-DixS4RLm.css → NcAppSidebar-ITHlK5rW.css} +119 -165
- package/dist/assets/NcAppSidebarTab-BieYhqvk.css +34 -0
- package/dist/assets/NcAvatar-m0lTnGXX.css +129 -0
- package/dist/assets/NcBreadcrumb-rVleA0T6.css +68 -0
- package/dist/assets/NcBreadcrumbs-Bue16qCC.css +37 -0
- package/dist/assets/NcButton-BlkIlpQf.css +191 -0
- package/dist/assets/{NcCheckboxRadioSwitch-DArK1Q95.css → NcCheckboxRadioSwitch-CFKCb80n.css} +53 -81
- package/dist/assets/NcChip-CQm1mq2C.css +61 -0
- package/dist/assets/NcColorPicker-DH3H7HLS.css +122 -0
- package/dist/assets/NcContent--2CGtswk.css +82 -0
- package/dist/assets/NcCounterBubble-DT16e2bg.css +53 -0
- package/dist/assets/NcDashboardWidget-CwzqyUG9.css +73 -0
- package/dist/assets/NcDashboardWidgetItem-JCtQhwhS.css +85 -0
- package/dist/assets/{NcDateTimePicker-3FfsWOh0.css → NcDateTimePicker-Cs-VgGon.css} +38 -76
- package/dist/assets/NcDateTimePickerNative-BAcKr0B3.css +47 -0
- package/dist/assets/NcDialog-BR3cQR_R.css +132 -0
- package/dist/assets/NcEllipsisedOption-DZK2vWD1.css +34 -0
- package/dist/assets/{NcEmojiPicker-XL3oUsqE.css → NcEmojiPicker-ielwHIhs.css} +16 -44
- package/dist/assets/NcEmptyContent-BU0QVo3d.css +65 -0
- package/dist/assets/NcGuestContent-BLJ37yLM.css +50 -0
- package/dist/assets/NcHeaderMenu-BbpDtHjf.css +77 -0
- package/dist/assets/NcIconSvgWrapper-BwsJ8wBM.css +39 -0
- package/dist/assets/NcInputConfirmCancel-SGr0-6w8.css +39 -0
- package/dist/assets/{NcInputField-CXoTqF9T.css → NcInputField-CyNcetxP.css} +42 -55
- package/dist/assets/NcListItem-DTaecNLV.css +156 -0
- package/dist/assets/NcListItemIcon-Cd4723rU.css +64 -0
- package/dist/assets/NcLoadingIcon-BSONDy7x.css +21 -0
- package/dist/assets/NcMentionBubble-B-xYaJDc.css +70 -0
- package/dist/assets/{NcModal-Cof88czY.css → NcModal-6bpKFk4w.css} +69 -86
- package/dist/assets/NcNoteCard-BLPU1den.css +50 -0
- package/dist/assets/{NcPopover-BwI1hPzy.css → NcPopover-BDlL00qZ.css} +6 -20
- package/dist/assets/NcProgressBar-BsqdCn-x.css +56 -0
- package/dist/assets/NcRelatedResourcesPanel-i_FBo7DY.css +158 -0
- package/dist/assets/{NcRichContenteditable-C-eZyVQM.css → NcRichContenteditable-BIclrp8v.css} +55 -97
- package/dist/assets/NcRichText-BKoK9ulg.css +217 -0
- package/dist/assets/{NcSelect-Fmyu7qyl.css → NcSelect-9AZOhTlS.css} +9 -21
- package/dist/assets/NcSettingsInputText-DbTNj9E6.css +35 -0
- package/dist/assets/NcSettingsSection-B_Dat_E8.css +56 -0
- package/dist/assets/NcSettingsSelectGroup-CzD7YrGm.css +23 -0
- package/dist/assets/{NcTextArea-XCi8a16Y.css → NcTextArea-D8bZi2fT.css} +30 -42
- package/dist/assets/NcUserBubble-DMjZyrGY.css +48 -0
- package/dist/assets/NcUserStatusIcon-DMxcdM51.css +30 -0
- package/dist/assets/{Tooltip-jHgt4m-W.css → Tooltip-4CSl8xev.css} +10 -30
- package/dist/assets/referencePickerModal-C_c_8fEM.css +413 -0
- package/dist/chunks/{GenColors-DcjtQMk3.mjs → GenColors-BvNpSI9g.mjs} +1 -23
- package/dist/chunks/GenColors-BvNpSI9g.mjs.map +1 -0
- package/dist/chunks/{GenColors-CAUl-IDP.cjs → GenColors-Cf5olCPx.cjs} +1 -23
- package/dist/chunks/GenColors-Cf5olCPx.cjs.map +1 -0
- package/dist/chunks/GenRandomId-BQDud3d4.cjs +5 -0
- package/dist/chunks/GenRandomId-BQDud3d4.cjs.map +1 -0
- package/dist/chunks/GenRandomId-CMooMQt0.mjs +6 -0
- package/dist/chunks/GenRandomId-CMooMQt0.mjs.map +1 -0
- package/dist/chunks/Linkify-BtgR-dXX.mjs +14 -0
- package/dist/chunks/Linkify-BtgR-dXX.mjs.map +1 -0
- package/dist/chunks/Linkify-yeOn5L6T.cjs +15 -0
- package/dist/chunks/Linkify-yeOn5L6T.cjs.map +1 -0
- package/dist/chunks/{NcActionButtonGroup-D7hycpXY.cjs → NcActionButtonGroup-BO4eSfV4.cjs} +3 -3
- package/dist/chunks/NcActionButtonGroup-BO4eSfV4.cjs.map +1 -0
- package/dist/chunks/{NcActionButtonGroup-D650-6zv.mjs → NcActionButtonGroup-DCKhQnHH.mjs} +3 -3
- package/dist/chunks/NcActionButtonGroup-DCKhQnHH.mjs.map +1 -0
- package/dist/chunks/{NcActionInput-BqG7gSLn.mjs → NcActionInput-9zrp0_WC.mjs} +8 -8
- package/dist/chunks/NcActionInput-9zrp0_WC.mjs.map +1 -0
- package/dist/chunks/{NcActionInput-CHucaM0V.cjs → NcActionInput-CEjCUwt0.cjs} +8 -8
- package/dist/chunks/NcActionInput-CEjCUwt0.cjs.map +1 -0
- package/dist/chunks/{NcActions-JX6wbAVA.cjs → NcActions-B4kN_x_I.cjs} +6 -6
- package/dist/chunks/NcActions-B4kN_x_I.cjs.map +1 -0
- package/dist/chunks/{NcActions-CocYka0Y.mjs → NcActions-VXT4YqSd.mjs} +6 -6
- package/dist/chunks/NcActions-VXT4YqSd.mjs.map +1 -0
- package/dist/chunks/{NcAppContent-wlhVbyg0.mjs → NcAppContent-B-VnA8x6.mjs} +4 -4
- package/dist/chunks/NcAppContent-B-VnA8x6.mjs.map +1 -0
- package/dist/chunks/{NcAppContent-CkO1Y93z.cjs → NcAppContent-CoKCN5M3.cjs} +4 -4
- package/dist/chunks/NcAppContent-CoKCN5M3.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-BKiDVBw7.mjs → NcAppNavigation-BoSCCzgq.mjs} +5 -6
- package/dist/chunks/NcAppNavigation-BoSCCzgq.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-Du3J8BTm.cjs → NcAppNavigation-Bto5gXEz.cjs} +5 -6
- package/dist/chunks/NcAppNavigation-Bto5gXEz.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationCaption-BoN0P7tD.cjs → NcAppNavigationCaption-7V2xr2JU.cjs} +3 -3
- package/dist/chunks/NcAppNavigationCaption-7V2xr2JU.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationCaption-CKTQZ_u_.mjs → NcAppNavigationCaption-D5IlWwqU.mjs} +3 -3
- package/dist/chunks/NcAppNavigationCaption-D5IlWwqU.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationItem-qe8jnLow.mjs → NcAppNavigationItem-BvTE5-IF.mjs} +9 -11
- package/dist/chunks/NcAppNavigationItem-BvTE5-IF.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationItem-D_lh17am.cjs → NcAppNavigationItem-D0BY5hCQ.cjs} +9 -11
- package/dist/chunks/NcAppNavigationItem-D0BY5hCQ.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationNewItem-DyxVXE5t.cjs → NcAppNavigationNewItem-DI3F9V41.cjs} +3 -3
- package/dist/chunks/NcAppNavigationNewItem-DI3F9V41.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationNewItem-B107Beoc.mjs → NcAppNavigationNewItem-a_KNNkkf.mjs} +3 -3
- package/dist/chunks/NcAppNavigationNewItem-a_KNNkkf.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationSettings-CmP_tXFm.cjs → NcAppNavigationSettings-CkdNLEGg.cjs} +4 -4
- package/dist/chunks/NcAppNavigationSettings-CkdNLEGg.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationSettings-DZ1-Sbdz.mjs → NcAppNavigationSettings-ZYhJhZza.mjs} +4 -4
- package/dist/chunks/NcAppNavigationSettings-ZYhJhZza.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationToggle-zCGgvNDT.mjs → NcAppNavigationToggle-dHmyeRMf.mjs} +3 -3
- package/dist/chunks/NcAppNavigationToggle-dHmyeRMf.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationToggle-hmEUqxbP.cjs → NcAppNavigationToggle-dTKw7Sw8.cjs} +3 -3
- package/dist/chunks/NcAppNavigationToggle-dTKw7Sw8.cjs.map +1 -0
- package/dist/chunks/{NcAppSettingsDialog-D9cNYQ8b.mjs → NcAppSettingsDialog-B_JHYQei.mjs} +5 -6
- package/dist/chunks/NcAppSettingsDialog-B_JHYQei.mjs.map +1 -0
- package/dist/chunks/{NcAppSettingsDialog-YqNhco1P.cjs → NcAppSettingsDialog-DB9IGg_1.cjs} +5 -6
- package/dist/chunks/NcAppSettingsDialog-DB9IGg_1.cjs.map +1 -0
- package/dist/chunks/{NcAppSidebar-J15zHyfq.cjs → NcAppSidebar-Be2hX08l.cjs} +71 -64
- package/dist/chunks/NcAppSidebar-Be2hX08l.cjs.map +1 -0
- package/dist/chunks/{NcAppSidebar-CQWODfsy.mjs → NcAppSidebar-DfMS3rRN.mjs} +71 -64
- package/dist/chunks/NcAppSidebar-DfMS3rRN.mjs.map +1 -0
- package/dist/chunks/{NcAvatar-CYzikYku.cjs → NcAvatar-B1PwcHhO.cjs} +10 -31
- package/dist/chunks/NcAvatar-B1PwcHhO.cjs.map +1 -0
- package/dist/chunks/{NcAvatar-CX3OX2C4.mjs → NcAvatar-DrN_43xE.mjs} +10 -31
- package/dist/chunks/NcAvatar-DrN_43xE.mjs.map +1 -0
- package/dist/chunks/{NcBreadcrumb-DytGDsr8.mjs → NcBreadcrumb-BB7O3NvV.mjs} +4 -4
- package/dist/chunks/NcBreadcrumb-BB7O3NvV.mjs.map +1 -0
- package/dist/chunks/{NcBreadcrumb-jMJw2OQJ.cjs → NcBreadcrumb-C1VWgdNk.cjs} +4 -4
- package/dist/chunks/NcBreadcrumb-C1VWgdNk.cjs.map +1 -0
- package/dist/chunks/{NcBreadcrumbs-BqFPBZ-h.mjs → NcBreadcrumbs-BRl8V6ie.mjs} +8 -33
- package/dist/chunks/NcBreadcrumbs-BRl8V6ie.mjs.map +1 -0
- package/dist/chunks/{NcBreadcrumbs-CzObAKB-.cjs → NcBreadcrumbs-BZFTIrPp.cjs} +8 -33
- package/dist/chunks/NcBreadcrumbs-BZFTIrPp.cjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch-CpupDtee.mjs → NcCheckboxRadioSwitch-08IiPYnO.mjs} +5 -5
- package/dist/chunks/NcCheckboxRadioSwitch-08IiPYnO.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch-CIHl8lnP.cjs → NcCheckboxRadioSwitch-BC-PCCMB.cjs} +5 -5
- package/dist/chunks/NcCheckboxRadioSwitch-BC-PCCMB.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_45bd1a5d_lang-DM3kps3m.cjs +4 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_45bd1a5d_lang-DM3kps3m.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_45bd1a5d_lang-DP6Ws4da.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_45bd1a5d_lang-DP6Ws4da.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-BEs2B-HB.mjs → NcColorPicker-C5AAUZow.mjs} +6 -6
- package/dist/chunks/NcColorPicker-C5AAUZow.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-KrvDMhej.cjs → NcColorPicker-DQVfrnSU.cjs} +6 -6
- package/dist/chunks/NcColorPicker-DQVfrnSU.cjs.map +1 -0
- package/dist/chunks/NcContent-DlpAl0Ng.mjs +105 -0
- package/dist/chunks/NcContent-DlpAl0Ng.mjs.map +1 -0
- package/dist/chunks/NcContent-DqUD53yw.cjs +104 -0
- package/dist/chunks/NcContent-DqUD53yw.cjs.map +1 -0
- package/dist/chunks/{NcDashboardWidget-Da715DSB.mjs → NcDashboardWidget-Bgws_A-4.mjs} +5 -5
- package/dist/chunks/NcDashboardWidget-Bgws_A-4.mjs.map +1 -0
- package/dist/chunks/{NcDashboardWidget-BvNtltPU.cjs → NcDashboardWidget-DHZ91zbH.cjs} +5 -5
- package/dist/chunks/NcDashboardWidget-DHZ91zbH.cjs.map +1 -0
- package/dist/chunks/{NcDashboardWidgetItem-CKv_fb-1.cjs → NcDashboardWidgetItem-7POJ_0UL.cjs} +4 -4
- package/dist/chunks/NcDashboardWidgetItem-7POJ_0UL.cjs.map +1 -0
- package/dist/chunks/{NcDashboardWidgetItem-BkJTg3kj.mjs → NcDashboardWidgetItem-yOTSuJJW.mjs} +4 -4
- package/dist/chunks/NcDashboardWidgetItem-yOTSuJJW.mjs.map +1 -0
- package/dist/chunks/{NcDateTime-CpJDGhl7.mjs → NcDateTime-DBvDI3ZP.mjs} +1 -22
- package/dist/chunks/NcDateTime-DBvDI3ZP.mjs.map +1 -0
- package/dist/chunks/{NcDateTime-Cy5Bp0d2.cjs → NcDateTime-DPpc-ffs.cjs} +1 -22
- package/dist/chunks/NcDateTime-DPpc-ffs.cjs.map +1 -0
- package/dist/chunks/{NcDialog-B3ZaXnpn.mjs → NcDialog-CDQmAtFa.mjs} +4 -4
- package/dist/chunks/NcDialog-CDQmAtFa.mjs.map +1 -0
- package/dist/chunks/{NcDialog-C7KRNdTc.cjs → NcDialog-dCyByQCG.cjs} +4 -4
- package/dist/chunks/NcDialog-dCyByQCG.cjs.map +1 -0
- package/dist/chunks/{NcDialogButton-CLWLvwpm.cjs → NcDialogButton-CNWF4urB.cjs} +9 -2
- package/dist/chunks/NcDialogButton-CNWF4urB.cjs.map +1 -0
- package/dist/chunks/{NcDialogButton-BV3Kf9U7.mjs → NcDialogButton-JvyN3X6S.mjs} +9 -2
- package/dist/chunks/NcDialogButton-JvyN3X6S.mjs.map +1 -0
- package/dist/chunks/{NcEmojiPicker-SqbRSwu2.mjs → NcEmojiPicker-CEeN-AZM.mjs} +8 -8
- package/dist/chunks/NcEmojiPicker-CEeN-AZM.mjs.map +1 -0
- package/dist/chunks/{NcEmojiPicker-LFuZ15M5.cjs → NcEmojiPicker-CNiHLIbP.cjs} +8 -8
- package/dist/chunks/NcEmojiPicker-CNiHLIbP.cjs.map +1 -0
- package/dist/chunks/{NcHeaderMenu-2n5GDt37.mjs → NcHeaderMenu-BEp6lzuy.mjs} +5 -5
- package/dist/chunks/NcHeaderMenu-BEp6lzuy.mjs.map +1 -0
- package/dist/chunks/{NcHeaderMenu-830tFszI.cjs → NcHeaderMenu-C7peZLEA.cjs} +5 -5
- package/dist/chunks/NcHeaderMenu-C7peZLEA.cjs.map +1 -0
- package/dist/chunks/{NcIconSvgWrapper-KWEbPRC9.mjs → NcIconSvgWrapper-Ckqpz-vm.mjs} +3 -3
- package/dist/chunks/NcIconSvgWrapper-Ckqpz-vm.mjs.map +1 -0
- package/dist/chunks/{NcIconSvgWrapper-O61kZVNp.cjs → NcIconSvgWrapper-DaSgIT19.cjs} +3 -3
- package/dist/chunks/NcIconSvgWrapper-DaSgIT19.cjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-XXXgXoSw.mjs → NcInputConfirmCancel-BojmHIVt.mjs} +6 -9
- package/dist/chunks/NcInputConfirmCancel-BojmHIVt.mjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-CJ7nPGEd.cjs → NcInputConfirmCancel-CD8NS4jj.cjs} +6 -9
- package/dist/chunks/NcInputConfirmCancel-CD8NS4jj.cjs.map +1 -0
- package/dist/chunks/{NcListItem-CxpC4EKk.cjs → NcListItem-Bt5RbZT6.cjs} +5 -6
- package/dist/chunks/{NcListItem-DrTIia88.mjs.map → NcListItem-Bt5RbZT6.cjs.map} +1 -1
- package/dist/chunks/{NcListItem-DrTIia88.mjs → NcListItem-PX9C1UU4.mjs} +5 -6
- package/dist/chunks/{NcListItem-CxpC4EKk.cjs.map → NcListItem-PX9C1UU4.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-44A7fm62.cjs → NcListItemIcon-CSD8rRYj.cjs} +6 -6
- package/dist/chunks/NcListItemIcon-CSD8rRYj.cjs.map +1 -0
- package/dist/chunks/{NcListItemIcon-CTTJYWzN.mjs → NcListItemIcon-NtOXrncP.mjs} +6 -6
- package/dist/chunks/NcListItemIcon-NtOXrncP.mjs.map +1 -0
- package/dist/chunks/{NcPasswordField-Z6BCKScy.mjs → NcPasswordField-XxjYVmM9.mjs} +3 -2
- package/dist/chunks/NcPasswordField-XxjYVmM9.mjs.map +1 -0
- package/dist/chunks/{NcPasswordField-DN-kdAfl.cjs → NcPasswordField-Y4-be0L7.cjs} +4 -3
- package/dist/chunks/NcPasswordField-Y4-be0L7.cjs.map +1 -0
- package/dist/chunks/{NcPopover-BS1bBSkg.cjs → NcPopover-Cl1AvQ5o.cjs} +2 -2
- package/dist/chunks/NcPopover-Cl1AvQ5o.cjs.map +1 -0
- package/dist/chunks/{NcPopover-foxJPAfG.mjs → NcPopover-VxUr4c6P.mjs} +2 -2
- package/dist/chunks/NcPopover-VxUr4c6P.mjs.map +1 -0
- package/dist/chunks/{NcProgressBar-mFqoqB4L.cjs → NcProgressBar-BnKA91Pj.cjs} +3 -3
- package/dist/chunks/NcProgressBar-BnKA91Pj.cjs.map +1 -0
- package/dist/chunks/{NcProgressBar-BafFcKiu.mjs → NcProgressBar-CZtllSde.mjs} +3 -3
- package/dist/chunks/NcProgressBar-CZtllSde.mjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-Dcm2wvfd.cjs → NcRelatedResourcesPanel-Dlf-t8iR.cjs} +7 -7
- package/dist/chunks/NcRelatedResourcesPanel-Dlf-t8iR.cjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-D3QlWSNc.mjs → NcRelatedResourcesPanel-wFENPmmn.mjs} +7 -7
- package/dist/chunks/NcRelatedResourcesPanel-wFENPmmn.mjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-BB-qsHEm.mjs → NcRichContenteditable-BGW5Ut1z.mjs} +58 -47
- package/dist/chunks/NcRichContenteditable-BGW5Ut1z.mjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-DljQv8gw.cjs → NcRichContenteditable-DdG9-ftG.cjs} +58 -47
- package/dist/chunks/NcRichContenteditable-DdG9-ftG.cjs.map +1 -0
- package/dist/chunks/{NcRichText-BDVKgmY5.cjs → NcRichText-B0CKR0jj.cjs} +9 -8
- package/dist/chunks/NcRichText-B0CKR0jj.cjs.map +1 -0
- package/dist/chunks/{NcRichText-BT4VjvXi.mjs → NcRichText-D3knHFLh.mjs} +9 -8
- package/dist/chunks/NcRichText-D3knHFLh.mjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-Bhy7wcoT.mjs.map +1 -1
- package/dist/chunks/NcSavingIndicatorIcon-BzKAIkhk.cjs.map +1 -1
- package/dist/chunks/{NcSelect-CNm4fmR6.mjs → NcSelect-BVltxWdw.mjs} +4 -4
- package/dist/chunks/NcSelect-BVltxWdw.mjs.map +1 -0
- package/dist/chunks/{NcSelect-DckQCxxX.cjs → NcSelect-BXjYMf6X.cjs} +4 -4
- package/dist/chunks/NcSelect-BXjYMf6X.cjs.map +1 -0
- package/dist/chunks/{NcSelectTags-nCqLANFH.mjs → NcSelectTags-BA6aGEca.mjs} +2 -23
- package/dist/chunks/NcSelectTags-BA6aGEca.mjs.map +1 -0
- package/dist/chunks/{NcSelectTags-CnkBJ3vP.cjs → NcSelectTags-DzNoReBn.cjs} +2 -23
- package/dist/chunks/NcSelectTags-DzNoReBn.cjs.map +1 -0
- package/dist/chunks/{NcSettingsInputText-Dd3wEwGy.cjs → NcSettingsInputText-B3aogzD0.cjs} +4 -4
- package/dist/chunks/NcSettingsInputText-B3aogzD0.cjs.map +1 -0
- package/dist/chunks/{NcSettingsInputText-D-S5LBmN.mjs → NcSettingsInputText-CXURkBMD.mjs} +4 -4
- package/dist/chunks/NcSettingsInputText-CXURkBMD.mjs.map +1 -0
- package/dist/chunks/{NcSettingsSection-ayl3nvdL.cjs → NcSettingsSection-B8Nn29kV.cjs} +3 -3
- package/dist/chunks/NcSettingsSection-B8Nn29kV.cjs.map +1 -0
- package/dist/chunks/{NcSettingsSection-B0-LmypW.mjs → NcSettingsSection-PZ3JkBWO.mjs} +3 -3
- package/dist/chunks/NcSettingsSection-PZ3JkBWO.mjs.map +1 -0
- package/dist/chunks/{NcSettingsSelectGroup-C51Km4wj.mjs → NcSettingsSelectGroup-Z3yYfNTs.mjs} +5 -5
- package/dist/chunks/NcSettingsSelectGroup-Z3yYfNTs.mjs.map +1 -0
- package/dist/chunks/{NcSettingsSelectGroup-Dc7oy0Jg.cjs → NcSettingsSelectGroup-k5AMJoPl.cjs} +5 -5
- package/dist/chunks/NcSettingsSelectGroup-k5AMJoPl.cjs.map +1 -0
- package/dist/chunks/{NcTextField-BmaDUUfq.mjs → NcTextField-C8iERu7z.mjs} +1 -1
- package/dist/chunks/NcTextField-C8iERu7z.mjs.map +1 -0
- package/dist/chunks/{NcTextField-BmOKGaQ4.cjs → NcTextField-Y_QNDoeN.cjs} +1 -1
- package/dist/chunks/NcTextField-Y_QNDoeN.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-BlnrXG8A.mjs +185 -0
- package/dist/chunks/NcTimezonePicker-BlnrXG8A.mjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-DDNT7-mK.cjs +184 -0
- package/dist/chunks/NcTimezonePicker-DDNT7-mK.cjs.map +1 -0
- package/dist/chunks/{NcUserBubble-BJp-ZBGW.mjs → NcUserBubble-BiLpvdja.mjs} +4 -4
- package/dist/chunks/NcUserBubble-BiLpvdja.mjs.map +1 -0
- package/dist/chunks/{NcUserBubble-BsQJPVXD.cjs → NcUserBubble-eXO4wtN5.cjs} +4 -4
- package/dist/chunks/NcUserBubble-eXO4wtN5.cjs.map +1 -0
- package/dist/chunks/{NcUserStatusIcon-BkO1ZAdq.mjs → NcUserStatusIcon-DLhfp6bb.mjs} +7 -34
- package/dist/chunks/NcUserStatusIcon-DLhfp6bb.mjs.map +1 -0
- package/dist/chunks/{NcUserStatusIcon-Ba9ajMhK.cjs → NcUserStatusIcon-J509k6M1.cjs} +7 -35
- package/dist/chunks/NcUserStatusIcon-J509k6M1.cjs.map +1 -0
- package/dist/chunks/ScopeComponent-BJmRUKzI.mjs +13 -0
- package/dist/chunks/ScopeComponent-BJmRUKzI.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-Dn9AdAJf.cjs +12 -0
- package/dist/chunks/ScopeComponent-Dn9AdAJf.cjs.map +1 -0
- package/dist/chunks/{_l10n-hRR5zBTZ.mjs → _l10n-B6zipH_A.mjs} +19 -19
- package/dist/chunks/_l10n-B6zipH_A.mjs.map +1 -0
- package/dist/chunks/{_l10n-BYPqjHzt.cjs → _l10n-BGF_R72e.cjs} +7 -7
- package/dist/chunks/{_l10n-BYPqjHzt.cjs.map → _l10n-BGF_R72e.cjs.map} +1 -1
- package/dist/chunks/actionGlobal-DqVa7c7G.mjs +25 -0
- package/dist/chunks/actionGlobal-DqVa7c7G.mjs.map +1 -0
- package/dist/chunks/actionGlobal-L0Ls8tPJ.cjs +24 -0
- package/dist/chunks/actionGlobal-L0Ls8tPJ.cjs.map +1 -0
- package/dist/chunks/{actionText-BnA6RS9I.cjs → actionText-BcrK4uH1.cjs} +1 -43
- package/dist/chunks/actionText-BcrK4uH1.cjs.map +1 -0
- package/dist/chunks/{actionText-BaGktsVf.mjs → actionText-fFcUPi2g.mjs} +1 -43
- package/dist/chunks/actionText-fFcUPi2g.mjs.map +1 -0
- package/dist/chunks/{autolink-Bgjz08wN.cjs → autolink-BAgL31EZ.cjs} +7 -24
- package/dist/chunks/autolink-BAgL31EZ.cjs.map +1 -0
- package/dist/chunks/{autolink-DA7VzS8Y.mjs → autolink-cbuFALXr.mjs} +7 -24
- package/dist/chunks/autolink-cbuFALXr.mjs.map +1 -0
- package/dist/chunks/{emoji-CWr00EYY.cjs → emoji-BCCCB3t3.cjs} +9 -30
- package/dist/chunks/emoji-BCCCB3t3.cjs.map +1 -0
- package/dist/chunks/{emoji-CbOkKZx5.mjs → emoji-V6ytyzoR.mjs} +9 -30
- package/dist/chunks/emoji-V6ytyzoR.mjs.map +1 -0
- package/dist/chunks/focusTrap-Cecv_gjR.mjs +7 -0
- package/dist/chunks/focusTrap-Cecv_gjR.mjs.map +1 -0
- package/dist/chunks/focusTrap-EeXFmjdI.cjs +6 -0
- package/dist/chunks/focusTrap-EeXFmjdI.cjs.map +1 -0
- package/dist/chunks/getAvatarUrl-6z9qRNH-.cjs +10 -0
- package/dist/chunks/getAvatarUrl-6z9qRNH-.cjs.map +1 -0
- package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs +11 -0
- package/dist/chunks/getAvatarUrl-DxvUjKMi.mjs.map +1 -0
- package/dist/chunks/{index-Dl-SBuhJ.cjs → index-BANjku4q.cjs} +0 -21
- package/dist/chunks/index-BANjku4q.cjs.map +1 -0
- package/dist/chunks/index-BwyQ2N-M.mjs.map +1 -1
- package/dist/chunks/{index-D0euettC.cjs → index-C8XDBNYC.cjs} +4 -25
- package/dist/chunks/index-C8XDBNYC.cjs.map +1 -0
- package/dist/chunks/{index-BRQQ9NaL.mjs → index-CVcTbcD3.mjs} +4 -25
- package/dist/chunks/index-CVcTbcD3.mjs.map +1 -0
- package/dist/chunks/{index-DYccGIvD.mjs → index-CsogA-K5.mjs} +0 -21
- package/dist/chunks/index-CsogA-K5.mjs.map +1 -0
- package/dist/chunks/index-Dsgv-f-l.cjs.map +1 -1
- package/dist/chunks/referencePickerModal-CGhrhjCk.mjs +1114 -0
- package/dist/chunks/referencePickerModal-CGhrhjCk.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-D7ZD0avR.cjs +1116 -0
- package/dist/chunks/referencePickerModal-D7ZD0avR.cjs.map +1 -0
- package/dist/chunks/usernameToColor-BKMu6XL_.cjs +27 -0
- package/dist/chunks/usernameToColor-BKMu6XL_.cjs.map +1 -0
- package/dist/chunks/usernameToColor-BkmF7_85.mjs +26 -0
- package/dist/chunks/usernameToColor-BkmF7_85.mjs.map +1 -0
- package/dist/composables/useFormatDateTime.d.ts +6 -6
- package/dist/functions/a11y/index.d.ts +2 -19
- package/dist/functions/emoji/emoji.d.ts +23 -27
- package/dist/functions/emoji/index.d.ts +2 -19
- package/dist/functions/reference/widgets.d.ts +4 -0
- package/dist/index.cjs +60 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +62 -94
- package/dist/index.mjs.map +1 -1
- package/dist/utils/UserStatus.d.ts +2 -19
- package/dist/utils/getAvatarUrl.d.ts +2 -19
- package/dist/vendor.LICENSE.txt +4 -4
- package/package.json +9 -8
- package/LICENSE +0 -661
- package/dist/assets/NcActionButton-D08gPtwM.css +0 -139
- package/dist/assets/NcActionCaption-sfcjBZnu.css +0 -46
- package/dist/assets/NcActionCheckbox-DTlI7y7p.css +0 -110
- package/dist/assets/NcActionInput-B8l22cnm.css +0 -271
- package/dist/assets/NcActionLink-ufhOZDI9.css +0 -124
- package/dist/assets/NcActionRadio-syUIsm9B.css +0 -110
- package/dist/assets/NcActionRouter-BbTCI4sn.css +0 -135
- package/dist/assets/NcActionSeparator-CB59y4di.css +0 -38
- package/dist/assets/NcActionText-Ceh88fy8.css +0 -139
- package/dist/assets/NcActionTextEditable-BoxziChR.css +0 -287
- package/dist/assets/NcActions-N_Y6Nzew.css +0 -111
- package/dist/assets/NcAppContent-C08OMmgh.css +0 -153
- package/dist/assets/NcAppNavigation-DlFgsfe2.css +0 -131
- package/dist/assets/NcAppNavigationCaption-DnApJ5OW.css +0 -62
- package/dist/assets/NcAppNavigationIconBullet-B8q3pUL5.css +0 -44
- package/dist/assets/NcAppNavigationList-DnIxrbVX.css +0 -43
- package/dist/assets/NcAppNavigationNew-BPZ1O8Xm.css +0 -41
- package/dist/assets/NcAppNavigationSettings-BCkvRAy8.css +0 -93
- package/dist/assets/NcAppNavigationSpacer-Cb4q1zb5.css +0 -6
- package/dist/assets/NcAppNavigationToggle-0yhQ9xse.css +0 -41
- package/dist/assets/NcAppSettingsDialog-CajWZJNV.css +0 -88
- package/dist/assets/NcAppSettingsSection-BDvzWKkd.css +0 -44
- package/dist/assets/NcAppSidebarTab-CBFET-hQ.css +0 -48
- package/dist/assets/NcAvatar-C2EFGp-3.css +0 -143
- package/dist/assets/NcBreadcrumb-AES5eSWo.css +0 -82
- package/dist/assets/NcBreadcrumbs-tYrp1DVs.css +0 -51
- package/dist/assets/NcButton-DZS360ia.css +0 -204
- package/dist/assets/NcColorPicker-CzKZjMxY.css +0 -136
- package/dist/assets/NcContent-Cuv2HvFH.css +0 -110
- package/dist/assets/NcCounterBubble-CWi_P1Tb.css +0 -67
- package/dist/assets/NcDashboardWidget-CGOA8X60.css +0 -87
- package/dist/assets/NcDashboardWidgetItem-BevETFRF.css +0 -99
- package/dist/assets/NcDateTimePickerNative-CV_VuzvQ.css +0 -61
- package/dist/assets/NcDialog-DFMxsFp5.css +0 -160
- package/dist/assets/NcEllipsisedOption-ClDzkIX6.css +0 -48
- package/dist/assets/NcEmptyContent-BY1-Gge4.css +0 -79
- package/dist/assets/NcGuestContent-CeRLfUEi.css +0 -78
- package/dist/assets/NcHeaderMenu-N5y8yFGd.css +0 -91
- package/dist/assets/NcIconSvgWrapper-DF9sBD2g.css +0 -53
- package/dist/assets/NcInputConfirmCancel-UcHrm0al.css +0 -53
- package/dist/assets/NcListItem-DMYcn1cc.css +0 -170
- package/dist/assets/NcListItemIcon-CuPMgXoB.css +0 -78
- package/dist/assets/NcLoadingIcon-gxK0ujO0.css +0 -35
- package/dist/assets/NcMentionBubble-DmzU72Mw.css +0 -84
- package/dist/assets/NcNoteCard-e7-Bxio8.css +0 -64
- package/dist/assets/NcProgressBar-D5VftcJm.css +0 -70
- package/dist/assets/NcRelatedResourcesPanel-BrXxbjgR.css +0 -200
- package/dist/assets/NcRichText-Cdp_2wEm.css +0 -240
- package/dist/assets/NcSettingsInputText-CU65Coab.css +0 -49
- package/dist/assets/NcSettingsSection-TX28tYCG.css +0 -70
- package/dist/assets/NcSettingsSelectGroup-CPauLI-o.css +0 -37
- package/dist/assets/NcUserBubble-D5ieZC-f.css +0 -62
- package/dist/assets/NcUserStatusIcon-BcLArDqV.css +0 -44
- package/dist/assets/referencePickerModal-BaGbKZky.css +0 -539
- package/dist/chunks/GenColors-CAUl-IDP.cjs.map +0 -1
- package/dist/chunks/GenColors-DcjtQMk3.mjs.map +0 -1
- package/dist/chunks/GenRandomId-CXkjMlAT.mjs +0 -27
- package/dist/chunks/GenRandomId-CXkjMlAT.mjs.map +0 -1
- package/dist/chunks/GenRandomId-kBCcgMJd.cjs +0 -26
- package/dist/chunks/GenRandomId-kBCcgMJd.cjs.map +0 -1
- package/dist/chunks/Linkify-BBPJHBma.mjs +0 -35
- package/dist/chunks/Linkify-BBPJHBma.mjs.map +0 -1
- package/dist/chunks/Linkify-CIO279AG.cjs +0 -36
- package/dist/chunks/Linkify-CIO279AG.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-D650-6zv.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-D7hycpXY.cjs.map +0 -1
- package/dist/chunks/NcActionInput-BqG7gSLn.mjs.map +0 -1
- package/dist/chunks/NcActionInput-CHucaM0V.cjs.map +0 -1
- package/dist/chunks/NcActions-CocYka0Y.mjs.map +0 -1
- package/dist/chunks/NcActions-JX6wbAVA.cjs.map +0 -1
- package/dist/chunks/NcAppContent-CkO1Y93z.cjs.map +0 -1
- package/dist/chunks/NcAppContent-wlhVbyg0.mjs.map +0 -1
- package/dist/chunks/NcAppNavigation-BKiDVBw7.mjs.map +0 -1
- package/dist/chunks/NcAppNavigation-Du3J8BTm.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-BoN0P7tD.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-CKTQZ_u_.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-D_lh17am.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-qe8jnLow.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-B107Beoc.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-DyxVXE5t.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-CmP_tXFm.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-DZ1-Sbdz.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-hmEUqxbP.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-zCGgvNDT.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-D9cNYQ8b.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-YqNhco1P.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-CQWODfsy.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-J15zHyfq.cjs.map +0 -1
- package/dist/chunks/NcAvatar-CX3OX2C4.mjs.map +0 -1
- package/dist/chunks/NcAvatar-CYzikYku.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-DytGDsr8.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-jMJw2OQJ.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-BqFPBZ-h.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-CzObAKB-.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-CIHl8lnP.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-CpupDtee.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CAFQAKcK.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CAFQAKcK.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-D2wGnjg7.cjs +0 -4
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-D2wGnjg7.cjs.map +0 -1
- package/dist/chunks/NcColorPicker-BEs2B-HB.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-KrvDMhej.cjs.map +0 -1
- package/dist/chunks/NcContent-CcrNrpVC.mjs +0 -104
- package/dist/chunks/NcContent-CcrNrpVC.mjs.map +0 -1
- package/dist/chunks/NcContent-DChC6Khv.cjs +0 -103
- package/dist/chunks/NcContent-DChC6Khv.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-BvNtltPU.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-Da715DSB.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-BkJTg3kj.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-CKv_fb-1.cjs.map +0 -1
- package/dist/chunks/NcDateTime-CpJDGhl7.mjs.map +0 -1
- package/dist/chunks/NcDateTime-Cy5Bp0d2.cjs.map +0 -1
- package/dist/chunks/NcDialog-B3ZaXnpn.mjs.map +0 -1
- package/dist/chunks/NcDialog-C7KRNdTc.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-BV3Kf9U7.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-CLWLvwpm.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-LFuZ15M5.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-SqbRSwu2.mjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-2n5GDt37.mjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-830tFszI.cjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-KWEbPRC9.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-O61kZVNp.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-CJ7nPGEd.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-XXXgXoSw.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-44A7fm62.cjs.map +0 -1
- package/dist/chunks/NcListItemIcon-CTTJYWzN.mjs.map +0 -1
- package/dist/chunks/NcPasswordField-DN-kdAfl.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-Z6BCKScy.mjs.map +0 -1
- package/dist/chunks/NcPopover-BS1bBSkg.cjs.map +0 -1
- package/dist/chunks/NcPopover-foxJPAfG.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-BafFcKiu.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-mFqoqB4L.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-D3QlWSNc.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-Dcm2wvfd.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-BB-qsHEm.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-DljQv8gw.cjs.map +0 -1
- package/dist/chunks/NcRichText-BDVKgmY5.cjs.map +0 -1
- package/dist/chunks/NcRichText-BT4VjvXi.mjs.map +0 -1
- package/dist/chunks/NcSelect-CNm4fmR6.mjs.map +0 -1
- package/dist/chunks/NcSelect-DckQCxxX.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-CnkBJ3vP.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-nCqLANFH.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-D-S5LBmN.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-Dd3wEwGy.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-B0-LmypW.mjs.map +0 -1
- package/dist/chunks/NcSettingsSection-ayl3nvdL.cjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-C51Km4wj.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-Dc7oy0Jg.cjs.map +0 -1
- package/dist/chunks/NcTextField-BmOKGaQ4.cjs.map +0 -1
- package/dist/chunks/NcTextField-BmaDUUfq.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-BSgT2QA5.mjs +0 -4049
- package/dist/chunks/NcTimezonePicker-BSgT2QA5.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-iD8mrVb_.cjs +0 -4048
- package/dist/chunks/NcTimezonePicker-iD8mrVb_.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-BJp-ZBGW.mjs.map +0 -1
- package/dist/chunks/NcUserBubble-BsQJPVXD.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-Ba9ajMhK.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-BkO1ZAdq.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-BpyBuaF3.cjs +0 -33
- package/dist/chunks/ScopeComponent-BpyBuaF3.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-Dy6ublmy.mjs +0 -34
- package/dist/chunks/ScopeComponent-Dy6ublmy.mjs.map +0 -1
- package/dist/chunks/_l10n-hRR5zBTZ.mjs.map +0 -1
- package/dist/chunks/actionGlobal-BfK-CImU.cjs +0 -45
- package/dist/chunks/actionGlobal-BfK-CImU.cjs.map +0 -1
- package/dist/chunks/actionGlobal-DV5ZiuS0.mjs +0 -46
- package/dist/chunks/actionGlobal-DV5ZiuS0.mjs.map +0 -1
- package/dist/chunks/actionText-BaGktsVf.mjs.map +0 -1
- package/dist/chunks/actionText-BnA6RS9I.cjs.map +0 -1
- package/dist/chunks/autolink-Bgjz08wN.cjs.map +0 -1
- package/dist/chunks/autolink-DA7VzS8Y.mjs.map +0 -1
- package/dist/chunks/emoji-CWr00EYY.cjs.map +0 -1
- package/dist/chunks/emoji-CbOkKZx5.mjs.map +0 -1
- package/dist/chunks/focusTrap-Dsmd28wG.cjs +0 -27
- package/dist/chunks/focusTrap-Dsmd28wG.cjs.map +0 -1
- package/dist/chunks/focusTrap-hWDNhn4t.mjs +0 -28
- package/dist/chunks/focusTrap-hWDNhn4t.mjs.map +0 -1
- package/dist/chunks/getAvatarUrl-BBvqBOJD.mjs +0 -32
- package/dist/chunks/getAvatarUrl-BBvqBOJD.mjs.map +0 -1
- package/dist/chunks/getAvatarUrl-C40xfr4C.cjs +0 -31
- package/dist/chunks/getAvatarUrl-C40xfr4C.cjs.map +0 -1
- package/dist/chunks/index-BRQQ9NaL.mjs.map +0 -1
- package/dist/chunks/index-D0euettC.cjs.map +0 -1
- package/dist/chunks/index-DYccGIvD.mjs.map +0 -1
- package/dist/chunks/index-Dl-SBuhJ.cjs.map +0 -1
- package/dist/chunks/logger-BcZGm6Un.cjs +0 -24
- package/dist/chunks/logger-BcZGm6Un.cjs.map +0 -1
- package/dist/chunks/logger-C7ZZ6zFQ.mjs +0 -25
- package/dist/chunks/logger-C7ZZ6zFQ.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-CFPdv-m1.mjs +0 -3469
- package/dist/chunks/referencePickerModal-CFPdv-m1.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-m0FcnvxK.cjs +0 -3471
- package/dist/chunks/referencePickerModal-m0FcnvxK.cjs.map +0 -1
- package/dist/chunks/usernameToColor-CLlyFMmy.mjs +0 -47
- package/dist/chunks/usernameToColor-CLlyFMmy.mjs.map +0 -1
- package/dist/chunks/usernameToColor-cfXKb46d.cjs +0 -48
- package/dist/chunks/usernameToColor-cfXKb46d.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_l10n-
|
|
1
|
+
{"version":3,"file":"_l10n-BGF_R72e.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const ActionGlobalMixin = {
|
|
2
|
+
beforeUpdate() {
|
|
3
|
+
this.text = this.getText();
|
|
4
|
+
},
|
|
5
|
+
data() {
|
|
6
|
+
return {
|
|
7
|
+
// $slots are not reactive.
|
|
8
|
+
// We need to update the content manually
|
|
9
|
+
text: this.getText()
|
|
10
|
+
};
|
|
11
|
+
},
|
|
12
|
+
computed: {
|
|
13
|
+
isLongText() {
|
|
14
|
+
return this.text && this.text.trim().length > 20;
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
methods: {
|
|
18
|
+
getText() {
|
|
19
|
+
return this.$slots.default ? this.$slots.default[0].text.trim() : "";
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
ActionGlobalMixin as A
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGlobal-DqVa7c7G.mjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\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 ? this.$slots.default[0].text.trim() : ''\n\t\t},\n\t},\n}\n"],"names":[],"mappings":"AAKA,MAAe,oBAAA;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,UAAU,KAAK,OAAO,QAAQ,CAAC,EAAE,KAAK,KAAM,IAAG;AAAA,IAClE;AAAA,EACD;AACF;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const ActionGlobalMixin = {
|
|
3
|
+
beforeUpdate() {
|
|
4
|
+
this.text = this.getText();
|
|
5
|
+
},
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
// $slots are not reactive.
|
|
9
|
+
// We need to update the content manually
|
|
10
|
+
text: this.getText()
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
computed: {
|
|
14
|
+
isLongText() {
|
|
15
|
+
return this.text && this.text.trim().length > 20;
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
methods: {
|
|
19
|
+
getText() {
|
|
20
|
+
return this.$slots.default ? this.$slots.default[0].text.trim() : "";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.ActionGlobalMixin = ActionGlobalMixin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGlobal-L0Ls8tPJ.cjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\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 ? this.$slots.default[0].text.trim() : ''\n\t\t},\n\t},\n}\n"],"names":[],"mappings":";AAKA,MAAe,oBAAA;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,UAAU,KAAK,OAAO,QAAQ,CAAC,EAAE,KAAK,KAAM,IAAG;AAAA,IAClE;AAAA,EACD;AACF;;"}
|
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const actionGlobal = require("./actionGlobal-
|
|
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
|
-
*/
|
|
2
|
+
const actionGlobal = require("./actionGlobal-L0Ls8tPJ.cjs");
|
|
24
3
|
const GetParent = function(context, name) {
|
|
25
4
|
let parent = context.$parent;
|
|
26
5
|
while (parent) {
|
|
@@ -30,27 +9,6 @@ const GetParent = function(context, name) {
|
|
|
30
9
|
parent = parent.$parent;
|
|
31
10
|
}
|
|
32
11
|
};
|
|
33
|
-
/**
|
|
34
|
-
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
35
|
-
*
|
|
36
|
-
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
37
|
-
*
|
|
38
|
-
* @license AGPL-3.0-or-later
|
|
39
|
-
*
|
|
40
|
-
* This program is free software: you can redistribute it and/or modify
|
|
41
|
-
* it under the terms of the GNU Affero General Public License as
|
|
42
|
-
* published by the Free Software Foundation, either version 3 of the
|
|
43
|
-
* License, or (at your option) any later version.
|
|
44
|
-
*
|
|
45
|
-
* This program is distributed in the hope that it will be useful,
|
|
46
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
47
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
48
|
-
* GNU Affero General Public License for more details.
|
|
49
|
-
*
|
|
50
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
51
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
12
|
const ActionTextMixin = {
|
|
55
13
|
mixins: [actionGlobal.ActionGlobalMixin],
|
|
56
14
|
props: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionText-BcrK4uH1.cjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\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 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\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":["actionGlobal"],"mappings":";;AAYA,MAAM,YAAY,SAAS,SAAS,MAAM;AACzC,MAAI,SAAS,QAAQ;AACrB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 @@
|
|
|
1
|
-
import { A as ActionGlobalMixin } from "./actionGlobal-
|
|
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
|
-
*/
|
|
1
|
+
import { A as ActionGlobalMixin } from "./actionGlobal-DqVa7c7G.mjs";
|
|
23
2
|
const GetParent = function(context, name) {
|
|
24
3
|
let parent = context.$parent;
|
|
25
4
|
while (parent) {
|
|
@@ -29,27 +8,6 @@ const GetParent = function(context, name) {
|
|
|
29
8
|
parent = parent.$parent;
|
|
30
9
|
}
|
|
31
10
|
};
|
|
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
11
|
const ActionTextMixin = {
|
|
54
12
|
mixins: [ActionGlobalMixin],
|
|
55
13
|
props: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionText-fFcUPi2g.mjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\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 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\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":["actionGlobal"],"mappings":";AAYA,MAAM,YAAY,SAAS,SAAS,MAAM;AACzC,MAAI,SAAS,QAAQ;AACrB,SAAO,QAAQ;AACd,QAAI,OAAO,SAAS,SAAS,MAAM;AAClC,aAAO;AAAA,IACP;AACD,aAAS,OAAO;AAAA,EAChB;AACF;ACZA,MAAe,kBAAA;AAAA,EACd,QAAQ,CAACA,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,SAAQ,OAAO;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQ,OAAO;AAMd,WAAK,MAAM,SAAS,KAAK;AAEzB,UAAI,KAAK,iBAAiB;AACzB,cAAM,SAAS,UAAU,MAAM,WAAW;AAC1C,YAAI,UAAU,OAAO,WAAW;AAC/B,iBAAO,UAAU,KAAK;AAAA,QACtB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACF;"}
|
|
@@ -4,30 +4,6 @@ const unistBuilder = require("unist-builder");
|
|
|
4
4
|
const router = require("@nextcloud/router");
|
|
5
5
|
const URL_PATTERN = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig;
|
|
6
6
|
const URL_PATTERN_AUTOLINK = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
|
|
7
|
-
/**
|
|
8
|
-
* @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
|
|
9
|
-
*
|
|
10
|
-
* @author Julius Härtl <jus@bitgrid.net>
|
|
11
|
-
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
|
|
12
|
-
* @author Maksim Sukharev <antreesy.web@gmail.com>
|
|
13
|
-
* @author Grigorii K. Shartsev <me@shgk.me>
|
|
14
|
-
*
|
|
15
|
-
* @license AGPL-3.0-or-later
|
|
16
|
-
*
|
|
17
|
-
* This program is free software: you can redistribute it and/or modify
|
|
18
|
-
* it under the terms of the GNU Affero General Public License as
|
|
19
|
-
* published by the Free Software Foundation, either version 3 of the
|
|
20
|
-
* License, or (at your option) any later version.
|
|
21
|
-
*
|
|
22
|
-
* This program is distributed in the hope that it will be useful,
|
|
23
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
24
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
25
|
-
* GNU Affero General Public License for more details.
|
|
26
|
-
*
|
|
27
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
28
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
7
|
const NcLink = {
|
|
32
8
|
name: "NcLink",
|
|
33
9
|
props: {
|
|
@@ -107,9 +83,16 @@ const getRoute = (router$1, url) => {
|
|
|
107
83
|
return null;
|
|
108
84
|
}
|
|
109
85
|
const isAbsoluteURL = /^https?:\/\//.test(url);
|
|
86
|
+
const isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url);
|
|
87
|
+
if (!isAbsoluteURL && isNonHttpLink) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
110
90
|
if (isAbsoluteURL && !url.startsWith(router.getBaseUrl())) {
|
|
111
91
|
return null;
|
|
112
92
|
}
|
|
93
|
+
if (!isAbsoluteURL && !url.startsWith("/")) {
|
|
94
|
+
return null;
|
|
95
|
+
}
|
|
113
96
|
const relativeUrl = isAbsoluteURL ? removePrefixes(url, router.getBaseUrl(), "/index.php") : url;
|
|
114
97
|
const relativeRouterBase = removePrefixes(router$1.history.base, router.getRootUrl(), "/index.php");
|
|
115
98
|
const potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || "/";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autolink-BAgL31EZ.cjs","sources":["../../src/components/NcRichText/helpers.js","../../src/components/NcRichText/autolink.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Regex pattern to match links to be resolved by the link-reference provider\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig\n\n/**\n * Regex pattern to identify strings as links and then making them clickable\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport { visit, SKIP } from 'unist-util-visit'\nimport { u } from 'unist-builder'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\n\nconst NcLink = {\n\tname: 'NcLink',\n\tprops: {\n\t\thref: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\trender(h) {\n\t\treturn h('a', {\n\t\t\tattrs: {\n\t\t\t\thref: this.href,\n\t\t\t\trel: 'noopener noreferrer',\n\t\t\t\ttarget: '_blank',\n\t\t\t\tclass: 'rich-text--external-link',\n\t\t\t},\n\t\t}, [this.href.trim()])\n\t},\n}\n\nexport const remarkAutolink = function({ autolink, useMarkdown, useExtendedMarkdown }) {\n\treturn function(tree) {\n\t\t// remark-gfm has its own autolink parser which can not be disabled\n\t\t// and thus a local one is not needed\n\t\tif (useExtendedMarkdown || !useMarkdown || !autolink) {\n\t\t\treturn\n\t\t}\n\n\t\tvisit(tree, (node) => node.type === 'text', (node, index, parent) => {\n\t\t\tlet parsed = parseUrl(node.value)\n\t\t\tparsed = parsed.map((n) => {\n\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\treturn u('text', n)\n\t\t\t\t}\n\n\t\t\t\treturn u('link', {\n\t\t\t\t\turl: n.props.href,\n\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t}).filter((x) => x)\n\n\t\t\tparent.children.splice(index, 1, ...parsed.flat())\n\t\t\treturn [SKIP, index + parsed.flat().length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\tconst list = []\n\tlet start = 0\n\twhile (match !== null) {\n\t\tlet href = match[2]\n\t\tlet textAfter\n\t\tlet textBefore = text.substring(start, match.index + match[1].length)\n\t\tif (href[0] === ' ') {\n\t\t\ttextBefore += href[0]\n\t\t\thref = href.substring(1).trim()\n\t\t}\n\t\tconst lastChar = href[(href.length - 1)]\n\t\tif (lastChar === '.' || lastChar === ',' || lastChar === ';' || (match[0][0] === '(' && lastChar === ')')) {\n\t\t\thref = href.substring(0, href.length - 1)\n\t\t\ttextAfter = lastChar\n\t\t}\n\t\tlist.push(textBefore)\n\t\tlist.push({ component: NcLink, props: { href } })\n\t\tif (textAfter) {\n\t\t\tlist.push(textAfter)\n\t\t}\n\t\tstart = match.index + match[0].length\n\t\tmatch = URL_PATTERN_AUTOLINK.exec(text)\n\t}\n\tlist.push(text.substring(start))\n\tconst joinedText = list.map((item) => typeof item === 'string' ? item : item.props.href).join('')\n\tif (text === joinedText) {\n\t\treturn list\n\t}\n\tconsole.error('Failed to reassemble the chunked text: ' + text)\n\treturn text\n}\n\n/**\n * Try to get path for router link from an absolute or relative URL.\n *\n * @param {import('vue-router').default} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be used in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router, url) => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php /apps/files /favorites?fileid=2#fragment\n\t * |_____origin____|___________router-base____________| |\n\t * |__________base____________| |______________relative-url______________|\n\t * | |___root___|_optional_|__app-base__|_________router-path_______|\n\t */\n\n\tconst removePrefix = (str, prefix) => str.startsWith(prefix) ? str.slice(prefix.length) : str\n\tconst removePrefixes = (str, ...prefixes) => prefixes.reduce((acc, prefix) => removePrefix(acc, prefix), str)\n\n\t// Router is not defined in the app => not an app route\n\tif (!router) {\n\t\treturn null\n\t}\n\n\tconst isAbsoluteURL = /^https?:\\/\\//.test(url)\n\n\t// URL is a \"mailto:\", \"tel:\" or any custom app protocol link\n\tconst isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url)\n\tif (!isAbsoluteURL && isNonHttpLink) {\n\t\treturn null\n\t}\n\n\t// URL is not a link to this Nextcloud server instance => not an app route\n\tif (isAbsoluteURL && !url.startsWith(getBaseUrl())) {\n\t\treturn null\n\t}\n\n\tif (!isAbsoluteURL && !url.startsWith('/')) {\n\t\t// Relative URL without a leading slash are not allowed\n\t\t// VueRouter handles such urls according to the URL RFC,\n\t\t// for example, being on /call/abc page, link \"def\" is resolved as \"/call/def\" relative to \"/call/\".\n\t\t// We don't want to support such links,\n\t\t// so relative URL MUST start with a slash.\n\t\treturn null\n\t}\n\n\t// URL relative to the instance root\n\tconst relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), '/index.php') : url\n\n\t// Router base relative to the instance root (app-base above)\n\tconst relativeRouterBase = removePrefixes(router.history.base, getRootUrl(), '/index.php')\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(potentialRouterPath).route\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":["visit","u","SKIP","router","getBaseUrl","getRootUrl"],"mappings":";;;;AAUY,MAAC,cAAc;AAOpB,MAAM,uBAAuB;ACNpC,MAAM,SAAS;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,OAAO,GAAG;AACT,WAAO,EAAE,KAAK;AAAA,MACb,OAAO;AAAA,QACN,MAAM,KAAK;AAAA,QACX,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,OAAO;AAAA,MACP;AAAA,IACD,GAAE,CAAC,KAAK,KAAK,KAAM,CAAA,CAAC;AAAA,EACrB;AACF;AAEY,MAAC,iBAAiB,SAAS,EAAE,UAAU,aAAa,oBAAmB,GAAI;AACtF,SAAO,SAAS,MAAM;AAGrB,QAAI,uBAAuB,CAAC,eAAe,CAAC,UAAU;AACrD;AAAA,IACA;AAEDA,yBAAM,MAAM,CAAC,SAAS,KAAK,SAAS,QAAQ,CAAC,MAAM,OAAO,WAAW;AACpE,UAAI,SAAS,SAAS,KAAK,KAAK;AAChC,eA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{ getBaseUrl, getRootUrl } from "@nextcloud/router";
|
|
4
4
|
const URL_PATTERN = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig;
|
|
5
5
|
const URL_PATTERN_AUTOLINK = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
|
|
6
|
-
/**
|
|
7
|
-
* @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
|
|
8
|
-
*
|
|
9
|
-
* @author Julius Härtl <jus@bitgrid.net>
|
|
10
|
-
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
|
|
11
|
-
* @author Maksim Sukharev <antreesy.web@gmail.com>
|
|
12
|
-
* @author Grigorii K. Shartsev <me@shgk.me>
|
|
13
|
-
*
|
|
14
|
-
* @license AGPL-3.0-or-later
|
|
15
|
-
*
|
|
16
|
-
* This program is free software: you can redistribute it and/or modify
|
|
17
|
-
* it under the terms of the GNU Affero General Public License as
|
|
18
|
-
* published by the Free Software Foundation, either version 3 of the
|
|
19
|
-
* License, or (at your option) any later version.
|
|
20
|
-
*
|
|
21
|
-
* This program is distributed in the hope that it will be useful,
|
|
22
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
23
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
24
|
-
* GNU Affero General Public License for more details.
|
|
25
|
-
*
|
|
26
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
27
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
6
|
const NcLink = {
|
|
31
7
|
name: "NcLink",
|
|
32
8
|
props: {
|
|
@@ -106,9 +82,16 @@ const getRoute = (router, url) => {
|
|
|
106
82
|
return null;
|
|
107
83
|
}
|
|
108
84
|
const isAbsoluteURL = /^https?:\/\//.test(url);
|
|
85
|
+
const isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url);
|
|
86
|
+
if (!isAbsoluteURL && isNonHttpLink) {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
109
89
|
if (isAbsoluteURL && !url.startsWith(getBaseUrl())) {
|
|
110
90
|
return null;
|
|
111
91
|
}
|
|
92
|
+
if (!isAbsoluteURL && !url.startsWith("/")) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
112
95
|
const relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), "/index.php") : url;
|
|
113
96
|
const relativeRouterBase = removePrefixes(router.history.base, getRootUrl(), "/index.php");
|
|
114
97
|
const potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || "/";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autolink-cbuFALXr.mjs","sources":["../../src/components/NcRichText/helpers.js","../../src/components/NcRichText/autolink.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Regex pattern to match links to be resolved by the link-reference provider\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig\n\n/**\n * Regex pattern to identify strings as links and then making them clickable\n *\n * @type {RegExp}\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport { visit, SKIP } from 'unist-util-visit'\nimport { u } from 'unist-builder'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\n\nconst NcLink = {\n\tname: 'NcLink',\n\tprops: {\n\t\thref: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\trender(h) {\n\t\treturn h('a', {\n\t\t\tattrs: {\n\t\t\t\thref: this.href,\n\t\t\t\trel: 'noopener noreferrer',\n\t\t\t\ttarget: '_blank',\n\t\t\t\tclass: 'rich-text--external-link',\n\t\t\t},\n\t\t}, [this.href.trim()])\n\t},\n}\n\nexport const remarkAutolink = function({ autolink, useMarkdown, useExtendedMarkdown }) {\n\treturn function(tree) {\n\t\t// remark-gfm has its own autolink parser which can not be disabled\n\t\t// and thus a local one is not needed\n\t\tif (useExtendedMarkdown || !useMarkdown || !autolink) {\n\t\t\treturn\n\t\t}\n\n\t\tvisit(tree, (node) => node.type === 'text', (node, index, parent) => {\n\t\t\tlet parsed = parseUrl(node.value)\n\t\t\tparsed = parsed.map((n) => {\n\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\treturn u('text', n)\n\t\t\t\t}\n\n\t\t\t\treturn u('link', {\n\t\t\t\t\turl: n.props.href,\n\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t}).filter((x) => x)\n\n\t\t\tparent.children.splice(index, 1, ...parsed.flat())\n\t\t\treturn [SKIP, index + parsed.flat().length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\tconst list = []\n\tlet start = 0\n\twhile (match !== null) {\n\t\tlet href = match[2]\n\t\tlet textAfter\n\t\tlet textBefore = text.substring(start, match.index + match[1].length)\n\t\tif (href[0] === ' ') {\n\t\t\ttextBefore += href[0]\n\t\t\thref = href.substring(1).trim()\n\t\t}\n\t\tconst lastChar = href[(href.length - 1)]\n\t\tif (lastChar === '.' || lastChar === ',' || lastChar === ';' || (match[0][0] === '(' && lastChar === ')')) {\n\t\t\thref = href.substring(0, href.length - 1)\n\t\t\ttextAfter = lastChar\n\t\t}\n\t\tlist.push(textBefore)\n\t\tlist.push({ component: NcLink, props: { href } })\n\t\tif (textAfter) {\n\t\t\tlist.push(textAfter)\n\t\t}\n\t\tstart = match.index + match[0].length\n\t\tmatch = URL_PATTERN_AUTOLINK.exec(text)\n\t}\n\tlist.push(text.substring(start))\n\tconst joinedText = list.map((item) => typeof item === 'string' ? item : item.props.href).join('')\n\tif (text === joinedText) {\n\t\treturn list\n\t}\n\tconsole.error('Failed to reassemble the chunked text: ' + text)\n\treturn text\n}\n\n/**\n * Try to get path for router link from an absolute or relative URL.\n *\n * @param {import('vue-router').default} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be used in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router, url) => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php /apps/files /favorites?fileid=2#fragment\n\t * |_____origin____|___________router-base____________| |\n\t * |__________base____________| |______________relative-url______________|\n\t * | |___root___|_optional_|__app-base__|_________router-path_______|\n\t */\n\n\tconst removePrefix = (str, prefix) => str.startsWith(prefix) ? str.slice(prefix.length) : str\n\tconst removePrefixes = (str, ...prefixes) => prefixes.reduce((acc, prefix) => removePrefix(acc, prefix), str)\n\n\t// Router is not defined in the app => not an app route\n\tif (!router) {\n\t\treturn null\n\t}\n\n\tconst isAbsoluteURL = /^https?:\\/\\//.test(url)\n\n\t// URL is a \"mailto:\", \"tel:\" or any custom app protocol link\n\tconst isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url)\n\tif (!isAbsoluteURL && isNonHttpLink) {\n\t\treturn null\n\t}\n\n\t// URL is not a link to this Nextcloud server instance => not an app route\n\tif (isAbsoluteURL && !url.startsWith(getBaseUrl())) {\n\t\treturn null\n\t}\n\n\tif (!isAbsoluteURL && !url.startsWith('/')) {\n\t\t// Relative URL without a leading slash are not allowed\n\t\t// VueRouter handles such urls according to the URL RFC,\n\t\t// for example, being on /call/abc page, link \"def\" is resolved as \"/call/def\" relative to \"/call/\".\n\t\t// We don't want to support such links,\n\t\t// so relative URL MUST start with a slash.\n\t\treturn null\n\t}\n\n\t// URL relative to the instance root\n\tconst relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), '/index.php') : url\n\n\t// Router base relative to the instance root (app-base above)\n\tconst relativeRouterBase = removePrefixes(router.history.base, getRootUrl(), '/index.php')\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(potentialRouterPath).route\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":[],"mappings":";;;AAUY,MAAC,cAAc;AAOpB,MAAM,uBAAuB;ACNpC,MAAM,SAAS;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,OAAO,GAAG;AACT,WAAO,EAAE,KAAK;AAAA,MACb,OAAO;AAAA,QACN,MAAM,KAAK;AAAA,QACX,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,OAAO;AAAA,MACP;AAAA,IACD,GAAE,CAAC,KAAK,KAAK,KAAM,CAAA,CAAC;AAAA,EACrB;AACF;AAEY,MAAC,iBAAiB,SAAS,EAAE,UAAU,aAAa,oBAAmB,GAAI;AACtF,SAAO,SAAS,MAAM;AAGrB,QAAI,uBAAuB,CAAC,eAAe,CAAC,UAAU;AACrD;AAAA,IACA;AAED,UAAM,MAAM,CAAC,SAAS,KAAK,SAAS,QAAQ,CAAC,MAAM,OAAO,WAAW;AACpE,UAAI,SAAS,SAAS,KAAK,KAAK;AAChC,eA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
5
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
6
6
|
const data__default = /* @__PURE__ */ _interopDefault(data);
|
|
7
|
-
/**
|
|
8
|
-
* @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>
|
|
9
|
-
*
|
|
10
|
-
* @author Jonas Meurer <jonas@freesources.org>
|
|
11
|
-
*
|
|
12
|
-
* @license AGPL-3.0-or-later
|
|
13
|
-
*
|
|
14
|
-
* This program is free software: you can redistribute it and/or modify
|
|
15
|
-
* it under the terms of the GNU Affero General Public License as
|
|
16
|
-
* published by the Free Software Foundation, either version 3 of the
|
|
17
|
-
* License, or (at your option) any later version.
|
|
18
|
-
*
|
|
19
|
-
* This program is distributed in the hope that it will be useful,
|
|
20
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
21
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
22
|
-
* GNU Affero General Public License for more details.
|
|
23
|
-
*
|
|
24
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
25
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
7
|
const storage = browserStorage.getBuilder("nextcloud-vue").persist(true).build();
|
|
29
8
|
let emojiIndex;
|
|
30
9
|
var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
|
|
@@ -36,7 +15,7 @@ var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
|
|
|
36
15
|
EmojiSkinTone2[EmojiSkinTone2["Dark"] = 6] = "Dark";
|
|
37
16
|
return EmojiSkinTone2;
|
|
38
17
|
})(EmojiSkinTone || {});
|
|
39
|
-
|
|
18
|
+
function emojiSearch(query, maxResults = 10) {
|
|
40
19
|
if (!emojiIndex) {
|
|
41
20
|
emojiIndex = new emojiMartVueFast.EmojiIndex(data__default.default);
|
|
42
21
|
}
|
|
@@ -51,11 +30,11 @@ const emojiSearch = (query, maxResults = 10) => {
|
|
|
51
30
|
results = emojiMartVueFast.frequently.get(maxResults).map((id) => emojiIndex.emoji(id)) || [];
|
|
52
31
|
}
|
|
53
32
|
return results.map((emoji) => emoji.getSkin(currentSkinTone));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
emojiMartVueFast.frequently.add(
|
|
57
|
-
}
|
|
58
|
-
|
|
33
|
+
}
|
|
34
|
+
function emojiAddRecent(emojiData) {
|
|
35
|
+
emojiMartVueFast.frequently.add(emojiData);
|
|
36
|
+
}
|
|
37
|
+
function getCurrentSkinTone() {
|
|
59
38
|
var _a;
|
|
60
39
|
const skinTone = Number.parseInt((_a = storage.getItem("NcEmojiPicker::currentSkinTone")) != null ? _a : "1");
|
|
61
40
|
return Math.min(
|
|
@@ -67,8 +46,8 @@ const getCurrentSkinTone = () => {
|
|
|
67
46
|
6
|
|
68
47
|
/* Dark */
|
|
69
48
|
);
|
|
70
|
-
}
|
|
71
|
-
|
|
49
|
+
}
|
|
50
|
+
function setCurrentSkinTone(skinTone) {
|
|
72
51
|
skinTone = Math.min(
|
|
73
52
|
Math.max(
|
|
74
53
|
skinTone,
|
|
@@ -79,7 +58,7 @@ const setCurrentSkinTone = (skinTone) => {
|
|
|
79
58
|
/* Dark */
|
|
80
59
|
);
|
|
81
60
|
storage.setItem("NcEmojiPicker::currentSkinTone", skinTone.toString());
|
|
82
|
-
}
|
|
61
|
+
}
|
|
83
62
|
exports.EmojiSkinTone = EmojiSkinTone;
|
|
84
63
|
exports.emojiAddRecent = emojiAddRecent;
|
|
85
64
|
exports.emojiSearch = emojiSearch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji-BCCCB3t3.cjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n// Shared emoji index and skinTone for all emojiSearch function calls\n// Will be initialized on the first call\nlet emojiIndex\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * Get the list of emojis by search filter or the list of frequently used emojis\n *\n * @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned\n * @param maxResults Maximum of returned emojis\n * @return {object[]} list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex\n */\nexport function emojiSearch(query: string, maxResults: number = 10): object[] {\n\t// If this is the first call of function - initialize EmojiIndex\n\tif (!emojiIndex) {\n\t\temojiIndex = new EmojiIndex(data)\n\t}\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = emojiIndex.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(emojiIndex.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => emojiIndex.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\n/**\n * Add emoji to the list of recent emojis.\n * This list can be got from emojiSearch function and it is used in NcEmojiPicker.\n *\n * @param emojiData object with `id` property\n * @param emojiData.id the emoji ID from emoji index\n */\nexport function emojiAddRecent(emojiData: { id: string }): void {\n\tfrequently.add(emojiData)\n}\n\n/**\n * Get the current skin tone index used for emojis\n *\n * @return {EmojiSkinTone} The skin tone\n */\nexport function getCurrentSkinTone(): EmojiSkinTone {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n *\n * @param skinTone Skin tone\n */\nexport function setCurrentSkinTone(skinTone: EmojiSkinTone): void {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["getBuilder","EmojiSkinTone","EmojiIndex","data","frequently"],"mappings":";;;;;;AAUA,MAAM,UAAUA,eAAW,WAAA,eAAe,EAAE,QAAQ,IAAI,EAAE;AAI1D,IAAI;AAMQ,IAAA,kCAAAC,mBAAL;AACNA,iBAAAA,eAAA,aAAU,CAAV,IAAA;AACAA,iBAAAA,eAAA,WAAQ,CAAR,IAAA;AACAA,iBAAAA,eAAA,iBAAc,CAAd,IAAA;AACAA,iBAAAA,eAAA,YAAS,CAAT,IAAA;AACAA,iBAAAA,eAAA,gBAAa,CAAb,IAAA;AACAA,iBAAAA,eAAA,UAAO,CAAP,IAAA;AANWA,SAAAA;AAAA,GAAA,iBAAA,CAAA,CAAA;AAgBI,SAAA,YAAY,OAAe,aAAqB,IAAc;AAE7E,MAAI,CAAC,YAAY;AACH,iBAAA,IAAIC,4BAAWC,cAAAA,OAAI;AAAA,EACjC;AACA,QAAM,kBAAkB;AAEpB,MAAA;AACJ,MAAI,OAAO;AACV,cAAU,WAAW,OAAO,IAAI,OAAA,KAAA,GAAS,UAAU;AAC/C,QAAA,QAAQ,SAAS,YAAY;AACtB,gBAAA,QAAQ,OAAO,WAAW,OAAO,OAAO,aAAa,QAAQ,MAAM,CAAC;AAAA,IAC/E;AAAA,EAAA,OACM;AACN,cAAUC,iBAAW,WAAA,IAAI,UAAU,EAAE,IAAI,CAAC,OAAe,WAAW,MAAM,EAAE,CAAC,KAAK,CAAA;AAAA,EACnF;AAEA,SAAO,QAAQ,IAAI,CAAC,UAAU,MAAM,QAAQ,eAAe,CAAC;AAC7D;AASO,SAAS,eAAe,WAAiC;AAC/DA,8BAAW,IAAI,SAAS;AACzB;AAOO,SAAS,qBAAoC;AAxEpD,MAAA;AAyEO,QAAA,WAAW,OAAO,UAAS,KAAA,QAAQ,QAAQ,gCAAgC,MAAhD,YAAqD,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA;AAC5D;AAOO,SAAS,mBAAmB,UAA+B;AAEjE,aAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA;AAC/D,UAAQ,QAAQ,kCAAkC,SAAS,SAAU,CAAA;AACtE;;;;;;"}
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
import { getBuilder } from "@nextcloud/browser-storage";
|
|
2
2
|
import { EmojiIndex, frequently } from "emoji-mart-vue-fast";
|
|
3
3
|
import data from "emoji-mart-vue-fast/data/all.json";
|
|
4
|
-
/**
|
|
5
|
-
* @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>
|
|
6
|
-
*
|
|
7
|
-
* @author Jonas Meurer <jonas@freesources.org>
|
|
8
|
-
*
|
|
9
|
-
* @license AGPL-3.0-or-later
|
|
10
|
-
*
|
|
11
|
-
* This program is free software: you can redistribute it and/or modify
|
|
12
|
-
* it under the terms of the GNU Affero General Public License as
|
|
13
|
-
* published by the Free Software Foundation, either version 3 of the
|
|
14
|
-
* License, or (at your option) any later version.
|
|
15
|
-
*
|
|
16
|
-
* This program is distributed in the hope that it will be useful,
|
|
17
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
* GNU Affero General Public License for more details.
|
|
20
|
-
*
|
|
21
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
22
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
4
|
const storage = getBuilder("nextcloud-vue").persist(true).build();
|
|
26
5
|
let emojiIndex;
|
|
27
6
|
var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
|
|
@@ -33,7 +12,7 @@ var EmojiSkinTone = /* @__PURE__ */ ((EmojiSkinTone2) => {
|
|
|
33
12
|
EmojiSkinTone2[EmojiSkinTone2["Dark"] = 6] = "Dark";
|
|
34
13
|
return EmojiSkinTone2;
|
|
35
14
|
})(EmojiSkinTone || {});
|
|
36
|
-
|
|
15
|
+
function emojiSearch(query, maxResults = 10) {
|
|
37
16
|
if (!emojiIndex) {
|
|
38
17
|
emojiIndex = new EmojiIndex(data);
|
|
39
18
|
}
|
|
@@ -48,11 +27,11 @@ const emojiSearch = (query, maxResults = 10) => {
|
|
|
48
27
|
results = frequently.get(maxResults).map((id) => emojiIndex.emoji(id)) || [];
|
|
49
28
|
}
|
|
50
29
|
return results.map((emoji) => emoji.getSkin(currentSkinTone));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
frequently.add(
|
|
54
|
-
}
|
|
55
|
-
|
|
30
|
+
}
|
|
31
|
+
function emojiAddRecent(emojiData) {
|
|
32
|
+
frequently.add(emojiData);
|
|
33
|
+
}
|
|
34
|
+
function getCurrentSkinTone() {
|
|
56
35
|
var _a;
|
|
57
36
|
const skinTone = Number.parseInt((_a = storage.getItem("NcEmojiPicker::currentSkinTone")) != null ? _a : "1");
|
|
58
37
|
return Math.min(
|
|
@@ -64,8 +43,8 @@ const getCurrentSkinTone = () => {
|
|
|
64
43
|
6
|
|
65
44
|
/* Dark */
|
|
66
45
|
);
|
|
67
|
-
}
|
|
68
|
-
|
|
46
|
+
}
|
|
47
|
+
function setCurrentSkinTone(skinTone) {
|
|
69
48
|
skinTone = Math.min(
|
|
70
49
|
Math.max(
|
|
71
50
|
skinTone,
|
|
@@ -76,7 +55,7 @@ const setCurrentSkinTone = (skinTone) => {
|
|
|
76
55
|
/* Dark */
|
|
77
56
|
);
|
|
78
57
|
storage.setItem("NcEmojiPicker::currentSkinTone", skinTone.toString());
|
|
79
|
-
}
|
|
58
|
+
}
|
|
80
59
|
export {
|
|
81
60
|
EmojiSkinTone as E,
|
|
82
61
|
emojiAddRecent as a,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji-V6ytyzoR.mjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n// Shared emoji index and skinTone for all emojiSearch function calls\n// Will be initialized on the first call\nlet emojiIndex\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * Get the list of emojis by search filter or the list of frequently used emojis\n *\n * @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned\n * @param maxResults Maximum of returned emojis\n * @return {object[]} list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex\n */\nexport function emojiSearch(query: string, maxResults: number = 10): object[] {\n\t// If this is the first call of function - initialize EmojiIndex\n\tif (!emojiIndex) {\n\t\temojiIndex = new EmojiIndex(data)\n\t}\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = emojiIndex.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(emojiIndex.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => emojiIndex.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\n/**\n * Add emoji to the list of recent emojis.\n * This list can be got from emojiSearch function and it is used in NcEmojiPicker.\n *\n * @param emojiData object with `id` property\n * @param emojiData.id the emoji ID from emoji index\n */\nexport function emojiAddRecent(emojiData: { id: string }): void {\n\tfrequently.add(emojiData)\n}\n\n/**\n * Get the current skin tone index used for emojis\n *\n * @return {EmojiSkinTone} The skin tone\n */\nexport function getCurrentSkinTone(): EmojiSkinTone {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n *\n * @param skinTone Skin tone\n */\nexport function setCurrentSkinTone(skinTone: EmojiSkinTone): void {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["EmojiSkinTone"],"mappings":";;;AAUA,MAAM,UAAU,WAAW,eAAe,EAAE,QAAQ,IAAI,EAAE;AAI1D,IAAI;AAMQ,IAAA,kCAAAA,mBAAL;AACNA,iBAAAA,eAAA,aAAU,CAAV,IAAA;AACAA,iBAAAA,eAAA,WAAQ,CAAR,IAAA;AACAA,iBAAAA,eAAA,iBAAc,CAAd,IAAA;AACAA,iBAAAA,eAAA,YAAS,CAAT,IAAA;AACAA,iBAAAA,eAAA,gBAAa,CAAb,IAAA;AACAA,iBAAAA,eAAA,UAAO,CAAP,IAAA;AANWA,SAAAA;AAAA,GAAA,iBAAA,CAAA,CAAA;AAgBI,SAAA,YAAY,OAAe,aAAqB,IAAc;AAE7E,MAAI,CAAC,YAAY;AACH,iBAAA,IAAI,WAAW,IAAI;AAAA,EACjC;AACA,QAAM,kBAAkB;AAEpB,MAAA;AACJ,MAAI,OAAO;AACV,cAAU,WAAW,OAAO,IAAI,OAAA,KAAA,GAAS,UAAU;AAC/C,QAAA,QAAQ,SAAS,YAAY;AACtB,gBAAA,QAAQ,OAAO,WAAW,OAAO,OAAO,aAAa,QAAQ,MAAM,CAAC;AAAA,IAC/E;AAAA,EAAA,OACM;AACN,cAAU,WAAW,IAAI,UAAU,EAAE,IAAI,CAAC,OAAe,WAAW,MAAM,EAAE,CAAC,KAAK,CAAA;AAAA,EACnF;AAEA,SAAO,QAAQ,IAAI,CAAC,UAAU,MAAM,QAAQ,eAAe,CAAC;AAC7D;AASO,SAAS,eAAe,WAAiC;AAC/D,aAAW,IAAI,SAAS;AACzB;AAOO,SAAS,qBAAoC;AAxEpD,MAAA;AAyEO,QAAA,WAAW,OAAO,UAAS,KAAA,QAAQ,QAAQ,gCAAgC,MAAhD,YAAqD,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA;AAC5D;AAOO,SAAS,mBAAmB,UAA+B;AAEjE,aAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA;AAC/D,UAAQ,QAAQ,kCAAkC,SAAS,SAAU,CAAA;AACtE;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusTrap-Cecv_gjR.mjs","sources":["../../src/utils/focusTrap.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return the default global focus trap stack\n *\n * @return {import('focus-trap').FocusTrap[]}\n */\nexport const getTrapStack = function() {\n\t// Create global stack if undefined\n\tObject.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] })\n\n\treturn window._nc_focus_trap\n}\n"],"names":[],"mappings":"AAUY,MAAC,eAAe,WAAW;AAEtC,SAAO,OAAO,QAAQ,EAAE,gBAAgB,OAAO,kBAAkB,CAAA,GAAI;AAErE,SAAO,OAAO;AACf;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusTrap-EeXFmjdI.cjs","sources":["../../src/utils/focusTrap.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Return the default global focus trap stack\n *\n * @return {import('focus-trap').FocusTrap[]}\n */\nexport const getTrapStack = function() {\n\t// Create global stack if undefined\n\tObject.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] })\n\n\treturn window._nc_focus_trap\n}\n"],"names":[],"mappings":";AAUY,MAAC,eAAe,WAAW;AAEtC,SAAO,OAAO,QAAQ,EAAE,gBAAgB,OAAO,kBAAkB,CAAA,GAAI;AAErE,SAAO,OAAO;AACf;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const router = require("@nextcloud/router");
|
|
3
|
+
const getAvatarUrl = (user, size, isGuest) => {
|
|
4
|
+
const darkTheme = window.getComputedStyle(document.body).getPropertyValue("--background-invert-if-dark") === "invert(100%)";
|
|
5
|
+
return router.generateUrl("/avatar" + (isGuest ? "/guest" : "") + "/{user}/{size}" + (darkTheme ? "/dark" : ""), {
|
|
6
|
+
user,
|
|
7
|
+
size
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
exports.getAvatarUrl = getAvatarUrl;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAvatarUrl-6z9qRNH-.cjs","sources":["../../src/utils/getAvatarUrl.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { generateUrl } from '@nextcloud/router'\n\nexport const getAvatarUrl = (user: string, size: number | string, isGuest?: boolean): string => {\n\tconst darkTheme = window.getComputedStyle(document.body)\n\t\t.getPropertyValue('--background-invert-if-dark') === 'invert(100%)'\n\n\treturn generateUrl('/avatar' + (isGuest ? '/guest' : '') + '/{user}/{size}' + (darkTheme ? '/dark' : ''), {\n\t\tuser,\n\t\tsize,\n\t})\n}\n"],"names":["generateUrl"],"mappings":";;AAOO,MAAM,eAAe,CAAC,MAAc,MAAuB,YAA8B;AACzF,QAAA,YAAY,OAAO,iBAAiB,SAAS,IAAI,EACrD,iBAAiB,6BAA6B,MAAM;AAE/C,SAAAA,mBAAY,aAAa,UAAU,WAAW,MAAM,oBAAoB,YAAY,UAAU,KAAK;AAAA,IACzG;AAAA,IACA;AAAA,EAAA,CACA;AACF;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { generateUrl } from "@nextcloud/router";
|
|
2
|
+
const getAvatarUrl = (user, size, isGuest) => {
|
|
3
|
+
const darkTheme = window.getComputedStyle(document.body).getPropertyValue("--background-invert-if-dark") === "invert(100%)";
|
|
4
|
+
return generateUrl("/avatar" + (isGuest ? "/guest" : "") + "/{user}/{size}" + (darkTheme ? "/dark" : ""), {
|
|
5
|
+
user,
|
|
6
|
+
size
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
getAvatarUrl as g
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAvatarUrl-DxvUjKMi.mjs","sources":["../../src/utils/getAvatarUrl.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { generateUrl } from '@nextcloud/router'\n\nexport const getAvatarUrl = (user: string, size: number | string, isGuest?: boolean): string => {\n\tconst darkTheme = window.getComputedStyle(document.body)\n\t\t.getPropertyValue('--background-invert-if-dark') === 'invert(100%)'\n\n\treturn generateUrl('/avatar' + (isGuest ? '/guest' : '') + '/{user}/{size}' + (darkTheme ? '/dark' : ''), {\n\t\tuser,\n\t\tsize,\n\t})\n}\n"],"names":[],"mappings":";AAOO,MAAM,eAAe,CAAC,MAAc,MAAuB,YAA8B;AACzF,QAAA,YAAY,OAAO,iBAAiB,SAAS,IAAI,EACrD,iBAAiB,6BAA6B,MAAM;AAE/C,SAAA,YAAY,aAAa,UAAU,WAAW,MAAM,oBAAoB,YAAY,UAAU,KAAK;AAAA,IACzG;AAAA,IACA;AAAA,EAAA,CACA;AACF;"}
|
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const _pluginVue2_normalizer = require("./_plugin-vue2_normalizer-DbFIE4_M.cjs");
|
|
3
|
-
/**
|
|
4
|
-
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
|
|
5
|
-
*
|
|
6
|
-
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
|
|
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
3
|
const FindRanges = (text, search) => {
|
|
25
4
|
const ranges = [];
|
|
26
5
|
let currentIndex = 0;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BANjku4q.cjs","sources":["../../src/utils/FindRanges.js","../../src/components/NcHighlight/NcHighlight.vue"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Find the ranges of a substr in a given string\n *\n * @param {string} text The text to search in\n * @param {string} search The text to search for\n * @return {Array} The array of ranges to highlight\n */\nconst FindRanges = (text, search) => {\n\tconst ranges = []\n\tlet currentIndex = 0\n\tlet index = text.toLowerCase().indexOf(search.toLowerCase(), currentIndex)\n\t// Variable to track that we don't iterate more often than the length of the text.\n\t// Shouldn't happen anyway, but just to be sure to not hang the browser for some reason.\n\tlet i = 0\n\twhile (index > -1 && i < text.length) {\n\t\tcurrentIndex = index + search.length\n\t\tranges.push({ start: index, end: currentIndex })\n\n\t\tindex = text.toLowerCase().indexOf(search.toLowerCase(), currentIndex)\n\t\ti++\n\t}\n\treturn ranges\n}\n\nexport default FindRanges\n","<!--\n - SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n\n### General description\n\nHighlight a string with html <strong>. Accepts a substring to highlight or an array with ranges.\n\n### Usage\n\n```vue\n<template>\n\t<div>\n\t\t<NcHighlight text=\"Highlight me please!\" search=\"me\" />\n\t\t<br />\n\t\t<NcHighlight text=\"Highlight me please!\" :highlight=\"[{ start: 4, end: 12 }]\" />\n\t</div>\n</template>\n```\n</docs>\n\n<script>\nimport FindRanges from '../../utils/FindRanges.js'\n\nexport default {\n\tname: 'NcHighlight',\n\tprops: {\n\t\t/**\n\t\t * The string to display\n\t\t */\n\t\ttext: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The string to match and highlight\n\t\t */\n\t\tsearch: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The ranges to highlight, takes precedence over the search prop.\n\t\t */\n\t\thighlight: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\t/**\n\t\t * The indice ranges which should be highlighted.\n\t\t * If an array with ranges is provided, we use it. Otherwise\n\t\t * we calculate it based on the provided substring to highlight.\n\t\t *\n\t\t * @return {Array} The array of ranges to highlight\n\t\t */\n\t\tranges() {\n\t\t\tlet ranges = []\n\t\t\t// If the search term and the highlight array is empty, return early with empty array\n\t\t\tif (!this.search && this.highlight.length === 0) {\n\t\t\t\treturn ranges\n\t\t\t}\n\n\t\t\t// If there are ranges to highlight provided, we use this array.\n\t\t\tif (this.highlight.length > 0) {\n\t\t\t\tranges = this.highlight\n\t\t\t// Otherwise we check the text to highlight for matches of the search term.\n\t\t\t} else {\n\t\t\t\tranges = FindRanges(this.text, this.search)\n\t\t\t}\n\n\t\t\t/**\n\t\t\t * Ensure that the start of each range is equal to or smaller than the end\n\t\t\t */\n\t\t\tranges.forEach((range, i) => {\n\t\t\t\tif (range.end < range.start) {\n\t\t\t\t\tranges[i] = {\n\t\t\t\t\t\tstart: range.end,\n\t\t\t\t\t\tend: range.start,\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\n\t\t\t/**\n\t\t\t * Validate the ranges array to be within the string length\n\t\t\t * and discard ranges which are completely out of bonds.\n\t\t\t */\n\t\t\tranges = ranges.reduce((validRanges, range) => {\n\t\t\t\tif (range.start < this.text.length && range.end > 0) {\n\t\t\t\t\tvalidRanges.push({\n\t\t\t\t\t\tstart: (range.start < 0) ? 0 : range.start,\n\t\t\t\t\t\tend: (range.end > this.text.length) ? this.text.length : range.end,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treturn validRanges\n\t\t\t}, [])\n\n\t\t\t/**\n\t\t\t * Sort ranges ascendingly (necessary for next step)\n\t\t\t */\n\t\t\tranges.sort((a, b) => {\n\t\t\t\treturn a.start - b.start\n\t\t\t})\n\n\t\t\t/**\n\t\t\t * Merge overlapping or adjacent ranges\n\t\t\t */\n\t\t\tranges = ranges.reduce((mergedRanges, range) => {\n\t\t\t\t// If there are no ranges, just add the range\n\t\t\t\tif (!mergedRanges.length) {\n\t\t\t\t\tmergedRanges.push(range)\n\t\t\t\t} else {\n\t\t\t\t\t// If the range overlaps the last range, merge them\n\t\t\t\t\tconst idx = mergedRanges.length - 1\n\t\t\t\t\tif (mergedRanges[idx].end >= range.start) {\n\t\t\t\t\t\tmergedRanges[idx] = {\n\t\t\t\t\t\t\tstart: mergedRanges[idx].start,\n\t\t\t\t\t\t\tend: Math.max(mergedRanges[idx].end, range.end),\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmergedRanges.push(range)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn mergedRanges\n\t\t\t}, [])\n\n\t\t\treturn ranges\n\t\t},\n\t\t/**\n\t\t * Calculate the different chunks to show based on the ranges to highlight.\n\t\t *\n\t\t * @return {Array} The chunks\n\t\t */\n\t\tchunks() {\n\t\t\t// If the ranges array is empty, show only one chunk with all text\n\t\t\tif (this.ranges.length === 0) {\n\t\t\t\treturn [{\n\t\t\t\t\tstart: 0,\n\t\t\t\t\tend: this.text.length,\n\t\t\t\t\thighlight: false,\n\t\t\t\t\ttext: this.text,\n\t\t\t\t}]\n\t\t\t}\n\t\t\t// Calculate the chunks\n\t\t\tconst chunks = []\n\t\t\tlet currentIndex = 0\n\t\t\tlet currentRange = 0\n\t\t\t// Iterate over all characters in the text\n\t\t\twhile (currentIndex < this.text.length) {\n\t\t\t\t// Get the first range to highlight\n\t\t\t\tconst range = this.ranges[currentRange]\n\t\t\t\t// If the range starts at the current index, construct a chunk to highlight,\n\t\t\t\t// set the next range and continue with the next iteration.\n\t\t\t\tif (range.start === currentIndex) {\n\t\t\t\t\tchunks.push({\n\t\t\t\t\t\t...range,\n\t\t\t\t\t\thighlight: true,\n\t\t\t\t\t\ttext: this.text.slice(range.start, range.end),\n\t\t\t\t\t})\n\t\t\t\t\tcurrentRange++\n\t\t\t\t\tcurrentIndex = range.end\n\t\t\t\t\t// If this was the last range to highlight and we haven't reached the end of the text,\n\t\t\t\t\t// add the rest of the text without highlighting.\n\t\t\t\t\tif (currentRange >= this.ranges.length && currentIndex < this.text.length) {\n\t\t\t\t\t\tchunks.push({\n\t\t\t\t\t\t\tstart: currentIndex,\n\t\t\t\t\t\t\tend: this.text.length,\n\t\t\t\t\t\t\thighlight: false,\n\t\t\t\t\t\t\ttext: this.text.slice(currentIndex),\n\t\t\t\t\t\t})\n\t\t\t\t\t\t// Set the current index so the while loop ends.\n\t\t\t\t\t\tcurrentIndex = this.text.length\n\t\t\t\t\t}\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\t// If the current range does start after the current index, construct a chunk without\n\t\t\t\t// highlighting and set the current index to the start of the current range.\n\t\t\t\tchunks.push({\n\t\t\t\t\tstart: currentIndex,\n\t\t\t\t\tend: range.start,\n\t\t\t\t\thighlight: false,\n\t\t\t\t\ttext: this.text.slice(currentIndex, range.start),\n\t\t\t\t})\n\t\t\t\tcurrentIndex = range.start\n\t\t\t}\n\t\t\treturn chunks\n\t\t},\n\t},\n\t/**\n\t * The render function to display the component\n\t *\n\t * @param {Function} h The function to create VNodes\n\t * @return {object} The created VNode\n\t */\n\trender(h) {\n\t\tif (!this.ranges.length) {\n\t\t\treturn h('span', {}, this.text)\n\t\t}\n\n\t\treturn h('span', {}, this.chunks.map(chunk => {\n\t\t\treturn chunk.highlight ? h('strong', {}, chunk.text) : chunk.text\n\t\t}))\n\t},\n}\n</script>\n"],"names":[],"mappings":";;AAYK,MAAC,aAAa,CAAC,MAAM,WAAW;AACpC,QAAM,SAAS,CAAE;AACjB,MAAI,eAAe;AACnB,MAAI,QAAQ,KAAK,YAAa,EAAC,QAAQ,OAAO,YAAa,GAAE,YAAY;AAGzE,MAAI,IAAI;AACR,SAAO,QAAQ,MAAM,IAAI,KAAK,QAAQ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