@nextcloud/vue 8.11.1 → 8.11.3
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 +43 -0
- package/dist/Components/NcActionButton.cjs +67 -30
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +67 -34
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +2 -2
- package/dist/Components/NcActionButtonGroup.mjs +2 -2
- package/dist/Components/NcActionCaption.cjs +17 -14
- package/dist/Components/NcActionCaption.cjs.map +1 -1
- package/dist/Components/NcActionCaption.mjs +17 -15
- package/dist/Components/NcActionCaption.mjs.map +1 -1
- package/dist/Components/NcActionCheckbox.cjs +42 -24
- package/dist/Components/NcActionCheckbox.cjs.map +1 -1
- package/dist/Components/NcActionCheckbox.mjs +42 -27
- package/dist/Components/NcActionCheckbox.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +2 -2
- package/dist/Components/NcActionInput.mjs +2 -2
- package/dist/Components/NcActionLink.cjs +28 -22
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +28 -24
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRadio.cjs +38 -25
- package/dist/Components/NcActionRadio.cjs.map +1 -1
- package/dist/Components/NcActionRadio.mjs +38 -28
- package/dist/Components/NcActionRadio.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +24 -20
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +24 -22
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionSeparator.cjs +15 -12
- package/dist/Components/NcActionSeparator.cjs.map +1 -1
- package/dist/Components/NcActionSeparator.mjs +15 -13
- package/dist/Components/NcActionSeparator.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +20 -16
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +20 -18
- package/dist/Components/NcActionText.mjs.map +1 -1
- package/dist/Components/NcActionTextEditable.cjs +40 -29
- package/dist/Components/NcActionTextEditable.cjs.map +1 -1
- package/dist/Components/NcActionTextEditable.mjs +40 -33
- package/dist/Components/NcActionTextEditable.mjs.map +1 -1
- package/dist/Components/NcActions.cjs +2 -2
- package/dist/Components/NcActions.mjs +2 -2
- package/dist/Components/NcAppContent.cjs +2 -2
- package/dist/Components/NcAppContent.mjs +2 -2
- package/dist/Components/NcAppContentDetails.cjs +14 -11
- package/dist/Components/NcAppContentDetails.cjs.map +1 -1
- package/dist/Components/NcAppContentDetails.mjs +14 -12
- package/dist/Components/NcAppContentDetails.mjs.map +1 -1
- package/dist/Components/NcAppContentList.cjs +16 -13
- package/dist/Components/NcAppContentList.cjs.map +1 -1
- package/dist/Components/NcAppContentList.mjs +16 -14
- package/dist/Components/NcAppContentList.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +2 -2
- package/dist/Components/NcAppNavigation.mjs +2 -2
- package/dist/Components/NcAppNavigationCaption.cjs +2 -2
- package/dist/Components/NcAppNavigationCaption.mjs +2 -2
- package/dist/Components/NcAppNavigationIconBullet.cjs +24 -18
- package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
- package/dist/Components/NcAppNavigationIconBullet.mjs +24 -19
- package/dist/Components/NcAppNavigationIconBullet.mjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +2 -2
- package/dist/Components/NcAppNavigationItem.mjs +2 -2
- package/dist/Components/NcAppNavigationList.cjs +15 -12
- package/dist/Components/NcAppNavigationList.cjs.map +1 -1
- package/dist/Components/NcAppNavigationList.mjs +15 -13
- package/dist/Components/NcAppNavigationList.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.cjs +27 -23
- package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +27 -25
- package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +2 -2
- package/dist/Components/NcAppNavigationNewItem.mjs +2 -2
- package/dist/Components/NcAppNavigationSettings.cjs +2 -2
- package/dist/Components/NcAppNavigationSettings.mjs +2 -2
- package/dist/Components/NcAppNavigationSpacer.cjs +15 -12
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +15 -13
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +4 -4
- package/dist/Components/NcAppNavigationToggle.mjs +3 -3
- package/dist/Components/NcAppSettingsDialog.cjs +2 -2
- package/dist/Components/NcAppSettingsDialog.mjs +2 -2
- package/dist/Components/NcAppSettingsSection.cjs +29 -24
- package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
- package/dist/Components/NcAppSettingsSection.mjs +29 -25
- package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +2 -2
- package/dist/Components/NcAppSidebar.mjs +2 -2
- package/dist/Components/NcAppSidebarTab.cjs +24 -18
- package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.mjs +24 -19
- package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +2 -2
- package/dist/Components/NcAvatar.mjs +2 -2
- package/dist/Components/NcBreadcrumb.cjs +2 -2
- package/dist/Components/NcBreadcrumb.mjs +2 -2
- package/dist/Components/NcBreadcrumbs.cjs +2 -2
- package/dist/Components/NcBreadcrumbs.mjs +2 -2
- package/dist/Components/NcButton.cjs +79 -58
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +79 -59
- package/dist/Components/NcButton.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +2 -2
- package/dist/Components/NcCheckboxRadioSwitch.mjs +2 -2
- package/dist/Components/NcColorPicker.cjs +2 -2
- package/dist/Components/NcColorPicker.mjs +2 -2
- package/dist/Components/NcContent.cjs +2 -2
- package/dist/Components/NcContent.mjs +2 -2
- package/dist/Components/NcCounterBubble.cjs +18 -15
- package/dist/Components/NcCounterBubble.cjs.map +1 -1
- package/dist/Components/NcCounterBubble.mjs +18 -16
- package/dist/Components/NcCounterBubble.mjs.map +1 -1
- package/dist/Components/NcDashboardWidget.cjs +2 -2
- package/dist/Components/NcDashboardWidget.mjs +2 -2
- package/dist/Components/NcDashboardWidgetItem.cjs +2 -2
- package/dist/Components/NcDashboardWidgetItem.mjs +2 -2
- package/dist/Components/NcDateTime.cjs +2 -2
- package/dist/Components/NcDateTime.mjs +2 -2
- package/dist/Components/NcDateTimePicker.cjs +142 -101
- package/dist/Components/NcDateTimePicker.cjs.map +1 -1
- package/dist/Components/NcDateTimePicker.mjs +140 -108
- package/dist/Components/NcDateTimePicker.mjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.cjs +72 -52
- package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +72 -54
- package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
- package/dist/Components/NcDialog.cjs +2 -2
- package/dist/Components/NcDialog.mjs +2 -2
- package/dist/Components/NcDialogButton.cjs +2 -2
- package/dist/Components/NcDialogButton.mjs +2 -2
- package/dist/Components/NcEllipsisedOption.cjs +35 -20
- package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
- package/dist/Components/NcEllipsisedOption.mjs +35 -22
- package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
- package/dist/Components/NcEmojiPicker.cjs +2 -2
- package/dist/Components/NcEmojiPicker.mjs +2 -2
- package/dist/Components/NcEmptyContent.cjs +21 -18
- package/dist/Components/NcEmptyContent.cjs.map +1 -1
- package/dist/Components/NcEmptyContent.mjs +21 -19
- package/dist/Components/NcEmptyContent.mjs.map +1 -1
- package/dist/Components/NcGuestContent.cjs +15 -12
- package/dist/Components/NcGuestContent.cjs.map +1 -1
- package/dist/Components/NcGuestContent.mjs +15 -13
- package/dist/Components/NcGuestContent.mjs.map +1 -1
- package/dist/Components/NcHeaderMenu.cjs +2 -2
- package/dist/Components/NcHeaderMenu.mjs +2 -2
- package/dist/Components/NcHighlight.cjs +2 -2
- package/dist/Components/NcHighlight.mjs +2 -2
- package/dist/Components/NcIconSvgWrapper.cjs +2 -2
- package/dist/Components/NcIconSvgWrapper.mjs +2 -2
- package/dist/Components/NcInputField.cjs +68 -52
- package/dist/Components/NcInputField.cjs.map +1 -1
- package/dist/Components/NcInputField.mjs +68 -57
- package/dist/Components/NcInputField.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +2 -2
- package/dist/Components/NcListItem.mjs +2 -2
- package/dist/Components/NcListItemIcon.cjs +2 -2
- package/dist/Components/NcListItemIcon.mjs +2 -2
- package/dist/Components/NcLoadingIcon.cjs +24 -16
- package/dist/Components/NcLoadingIcon.cjs.map +1 -1
- package/dist/Components/NcLoadingIcon.mjs +24 -17
- package/dist/Components/NcLoadingIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +257 -146
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +257 -156
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +80 -65
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +80 -66
- package/dist/Components/NcNoteCard.mjs.map +1 -1
- package/dist/Components/NcPasswordField.cjs +2 -2
- package/dist/Components/NcPasswordField.mjs +2 -2
- package/dist/Components/NcPopover.cjs +2 -2
- package/dist/Components/NcPopover.mjs +2 -2
- package/dist/Components/NcProgressBar.cjs +2 -2
- package/dist/Components/NcProgressBar.mjs +2 -2
- package/dist/Components/NcRelatedResourcesPanel.cjs +2 -2
- package/dist/Components/NcRelatedResourcesPanel.mjs +2 -2
- package/dist/Components/NcRichContenteditable.cjs +6 -5
- package/dist/Components/NcRichContenteditable.cjs.map +1 -1
- package/dist/Components/NcRichContenteditable.mjs +5 -5
- package/dist/Components/NcRichText.cjs +24 -22
- package/dist/Components/NcRichText.cjs.map +1 -1
- package/dist/Components/NcRichText.mjs +24 -24
- package/dist/Components/NcSavingIndicatorIcon.cjs +2 -2
- package/dist/Components/NcSavingIndicatorIcon.mjs +2 -2
- package/dist/Components/NcSelect.cjs +2 -2
- package/dist/Components/NcSelect.mjs +2 -2
- package/dist/Components/NcSelectTags.cjs +2 -2
- package/dist/Components/NcSelectTags.mjs +2 -2
- package/dist/Components/NcSettingsInputText.cjs +2 -2
- package/dist/Components/NcSettingsInputText.mjs +2 -2
- package/dist/Components/NcSettingsSection.cjs +2 -2
- package/dist/Components/NcSettingsSection.mjs +2 -2
- package/dist/Components/NcSettingsSelectGroup.cjs +4 -4
- package/dist/Components/NcSettingsSelectGroup.mjs +3 -3
- package/dist/Components/NcTextArea.cjs +51 -36
- package/dist/Components/NcTextArea.cjs.map +1 -1
- package/dist/Components/NcTextArea.mjs +51 -40
- package/dist/Components/NcTextArea.mjs.map +1 -1
- package/dist/Components/NcTextField.cjs +2 -2
- package/dist/Components/NcTextField.mjs +2 -2
- package/dist/Components/NcTimezonePicker.cjs +2 -2
- package/dist/Components/NcTimezonePicker.mjs +2 -2
- package/dist/Components/NcUserBubble.cjs +2 -2
- package/dist/Components/NcUserBubble.mjs +2 -2
- package/dist/Components/NcUserStatusIcon.cjs +2 -2
- package/dist/Components/NcUserStatusIcon.mjs +2 -2
- package/dist/Components/NcVNodes.cjs +15 -12
- package/dist/Components/NcVNodes.cjs.map +1 -1
- package/dist/Components/NcVNodes.mjs +15 -13
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Composables/useIsFullscreen.cjs +9 -8
- package/dist/Composables/useIsFullscreen.cjs.map +1 -1
- package/dist/Composables/useIsFullscreen.mjs +9 -8
- package/dist/Composables/useIsFullscreen.mjs.map +1 -1
- package/dist/Composables/useIsMobile.cjs +19 -14
- package/dist/Composables/useIsMobile.cjs.map +1 -1
- package/dist/Composables/useIsMobile.mjs +19 -14
- package/dist/Composables/useIsMobile.mjs.map +1 -1
- package/dist/Directives/Focus.cjs +6 -6
- package/dist/Directives/Focus.cjs.map +1 -1
- package/dist/Directives/Focus.mjs +5 -5
- package/dist/Directives/Focus.mjs.map +1 -1
- package/dist/Directives/Linkify.cjs +9 -6
- package/dist/Directives/Linkify.cjs.map +1 -1
- package/dist/Directives/Linkify.mjs +8 -6
- package/dist/Directives/Linkify.mjs.map +1 -1
- package/dist/Directives/Tooltip.cjs +11 -11
- package/dist/Directives/Tooltip.cjs.map +1 -1
- package/dist/Directives/Tooltip.mjs +9 -9
- package/dist/Directives/Tooltip.mjs.map +1 -1
- package/dist/Functions/a11y.cjs +33 -0
- package/dist/Functions/a11y.cjs.map +1 -0
- package/dist/Functions/a11y.mjs +33 -0
- package/dist/Functions/a11y.mjs.map +1 -0
- package/dist/Functions/emoji.cjs +8 -0
- package/dist/Functions/emoji.cjs.map +1 -0
- package/dist/Functions/emoji.mjs +8 -0
- package/dist/Functions/emoji.mjs.map +1 -0
- package/dist/Functions/reference.cjs +16 -15
- package/dist/Functions/reference.cjs.map +1 -1
- package/dist/Functions/reference.mjs +16 -16
- package/dist/Functions/registerReference.cjs +11 -11
- package/dist/Functions/registerReference.mjs +10 -10
- package/dist/Functions/usernameToColor.cjs +2 -2
- package/dist/Functions/usernameToColor.mjs +2 -2
- package/dist/Mixins/clickOutsideOptions.cjs +4 -3
- package/dist/Mixins/clickOutsideOptions.cjs.map +1 -1
- package/dist/Mixins/clickOutsideOptions.mjs +4 -3
- package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
- package/dist/Mixins/isFullscreen.cjs +4 -4
- package/dist/Mixins/isFullscreen.cjs.map +1 -1
- package/dist/Mixins/isFullscreen.mjs +4 -4
- package/dist/Mixins/isFullscreen.mjs.map +1 -1
- package/dist/Mixins/isMobile.cjs +4 -4
- package/dist/Mixins/isMobile.cjs.map +1 -1
- package/dist/Mixins/isMobile.mjs +4 -4
- package/dist/Mixins/isMobile.mjs.map +1 -1
- package/dist/Mixins/richEditor.cjs +6 -6
- package/dist/Mixins/richEditor.mjs +5 -5
- package/dist/assets/{NcActionButton-Cs5kVVAD.css → NcActionButton-CkChpLnH.css} +16 -11
- package/dist/assets/{NcActionButtonGroup-ChehtUip.css → NcActionButtonGroup-CvloX35s.css} +5 -4
- package/dist/assets/{NcActionCaption-Bp8mrIk7.css → NcActionCaption-sfcjBZnu.css} +4 -2
- package/dist/assets/{NcActionCheckbox-Do--WvUT.css → NcActionCheckbox-DTlI7y7p.css} +13 -9
- package/dist/assets/{NcActionInput-8F2WF3yH.css → NcActionInput-B8l22cnm.css} +44 -16
- package/dist/assets/{NcActionLink-DN3NCDC0.css → NcActionLink-C-NDmERH.css} +9 -6
- package/dist/assets/{NcActionRadio-B46v1Kn4.css → NcActionRadio-syUIsm9B.css} +13 -9
- package/dist/assets/{NcActionRouter-wVMPq1gi.css → NcActionRouter-BbTCI4sn.css} +12 -10
- package/dist/assets/{NcActionSeparator-CX3zFZuI.css → NcActionSeparator-CB59y4di.css} +4 -1
- package/dist/assets/{NcActionText-YljCzD9Q.css → NcActionText-Ceh88fy8.css} +12 -10
- package/dist/assets/{NcActionTextEditable-mti5YQN1.css → NcActionTextEditable-BoxziChR.css} +52 -24
- package/dist/assets/{NcActions-DL7ZZIjx.css → NcActions-9_rnkpG4.css} +40 -13
- package/dist/assets/{NcAppContent-aWiDWWeq.css → NcAppContent-C08OMmgh.css} +42 -17
- package/dist/assets/{NcAppNavigation-wkQJnaLW.css → NcAppNavigation-ClImKhvx.css} +31 -3
- package/dist/assets/{NcAppNavigationCaption-jV1y8HQ1.css → NcAppNavigationCaption-BbwgabsF.css} +5 -2
- package/dist/assets/{NcAppNavigationIconBullet-1_cBEwu8.css → NcAppNavigationIconBullet-B8q3pUL5.css} +5 -2
- package/dist/assets/{NcAppNavigationItem-BxoyzD83.css → NcAppNavigationItem-Dy9C3jxc.css} +70 -48
- package/dist/assets/{NcAppNavigationList-CUnaMQQD.css → NcAppNavigationList-DnIxrbVX.css} +4 -1
- package/dist/assets/{NcAppNavigationNew-COjJ3vwU.css → NcAppNavigationNew-BPZ1O8Xm.css} +6 -1
- package/dist/assets/{NcAppNavigationNewItem-C574fgtB.css → NcAppNavigationNewItem-DF3nldsK.css} +26 -28
- package/dist/assets/{NcAppNavigationSettings-nH_pGlKc.css → NcAppNavigationSettings-BCkvRAy8.css} +11 -6
- package/dist/assets/{NcAppNavigationSpacer-C5p-33VT.css → NcAppNavigationSpacer-Cb4q1zb5.css} +4 -2
- package/dist/assets/{NcAppNavigationToggle-De8wq0JA.css → NcAppNavigationToggle-0yhQ9xse.css} +4 -1
- package/dist/assets/{NcAppSettingsDialog-DR46jcRG.css → NcAppSettingsDialog-CajWZJNV.css} +7 -5
- package/dist/assets/{NcAppSettingsSection-BqF92GLH.css → NcAppSettingsSection-BDvzWKkd.css} +5 -2
- package/dist/assets/{NcAppSidebar-BJPR-mTB.css → NcAppSidebar-Bi22qfW1.css} +105 -53
- package/dist/assets/{NcAppSidebarTab-XLBsrGqg.css → NcAppSidebarTab-CBFET-hQ.css} +5 -2
- package/dist/assets/{NcAvatar-CR4U9eTm.css → NcAvatar-DaftSb4x.css} +30 -31
- package/dist/assets/{NcBreadcrumb-eyloXKCC.css → NcBreadcrumb-AES5eSWo.css} +8 -6
- package/dist/assets/{NcBreadcrumbs-oFXQlxy-.css → NcBreadcrumbs-tYrp1DVs.css} +10 -8
- package/dist/assets/{NcButton-DhaPcomf.css → NcButton-D4HxnscK.css} +13 -13
- package/dist/assets/{NcCheckboxRadioSwitch-CaAqi0Jt.css → NcCheckboxRadioSwitch-DArK1Q95.css} +76 -53
- package/dist/assets/{NcColorPicker-CNboc7FY.css → NcColorPicker-CzKZjMxY.css} +38 -33
- package/dist/assets/{NcContent-tZHbeX2L.css → NcContent-Cuv2HvFH.css} +29 -3
- package/dist/assets/{NcCounterBubble-CuCSao3j.css → NcCounterBubble-CWi_P1Tb.css} +6 -3
- package/dist/assets/{NcDashboardWidget-DTV15Fb1.css → NcDashboardWidget-CGOA8X60.css} +7 -3
- package/dist/assets/{NcDashboardWidgetItem-4v77FH89.css → NcDashboardWidgetItem-BevETFRF.css} +18 -3
- package/dist/assets/{NcDateTimePicker-qKgAO9KO.css → NcDateTimePicker-D1jwoP61.css} +144 -163
- package/dist/assets/{NcDateTimePickerNative-DnLJu29_.css → NcDateTimePickerNative-CV_VuzvQ.css} +7 -4
- package/dist/assets/{NcDialog-M36tj7nk.css → NcDialog-DFMxsFp5.css} +55 -21
- package/dist/assets/{NcEllipsisedOption-B6gjXSS9.css → NcEllipsisedOption-ClDzkIX6.css} +7 -6
- package/dist/assets/{NcEmojiPicker-B-4WNYcx.css → NcEmojiPicker-XL3oUsqE.css} +79 -50
- package/dist/assets/{NcEmptyContent-ClLPsXo5.css → NcEmptyContent--xKgddPn.css} +7 -3
- package/dist/assets/{NcGuestContent-CYYZPMjb.css → NcGuestContent-CeRLfUEi.css} +28 -1
- package/dist/assets/{NcHeaderMenu-BKufmJd0.css → NcHeaderMenu-N5y8yFGd.css} +7 -7
- package/dist/assets/{NcIconSvgWrapper-oui2KPBT.css → NcIconSvgWrapper-C5vV6-c0.css} +4 -1
- package/dist/assets/{NcInputConfirmCancel-CSzzPx0i.css → NcInputConfirmCancel-UcHrm0al.css} +7 -5
- package/dist/assets/{NcInputField-vYuV3-IY.css → NcInputField-CXoTqF9T.css} +16 -33
- package/dist/assets/{NcListItem-BIFTbr17.css → NcListItem-DMYcn1cc.css} +11 -21
- package/dist/assets/{NcListItemIcon-9Dazpmpd.css → NcListItemIcon-B9UQBQSa.css} +9 -11
- package/dist/assets/{NcLoadingIcon-CFmftMkz.css → NcLoadingIcon-gxK0ujO0.css} +5 -2
- package/dist/assets/{NcMentionBubble-7PQ8wEko.css → NcMentionBubble-DmzU72Mw.css} +5 -2
- package/dist/assets/{NcModal-CwgrmxSg.css → NcModal-Cof88czY.css} +42 -38
- package/dist/assets/{NcNoteCard-B_Q1mnCM.css → NcNoteCard-e7-Bxio8.css} +10 -6
- package/dist/assets/{NcPopover-wrgZy49g.css → NcPopover-BwI1hPzy.css} +4 -1
- package/dist/assets/{NcProgressBar-DDj4bmBB.css → NcProgressBar-D5VftcJm.css} +4 -1
- package/dist/assets/{NcRelatedResourcesPanel-D6K7OQFJ.css → NcRelatedResourcesPanel-BrXxbjgR.css} +60 -8
- package/dist/assets/{NcRichContenteditable-BQ2-fqnd.css → NcRichContenteditable-C-eZyVQM.css} +60 -22
- package/dist/assets/NcRichText-Cdp_2wEm.css +240 -0
- package/dist/assets/{NcSelect-4aBmXHhA.css → NcSelect-Fmyu7qyl.css} +34 -13
- package/dist/assets/{NcSettingsInputText-w-LprdjK.css → NcSettingsInputText-CU65Coab.css} +4 -1
- package/dist/assets/{NcSettingsSection-8RabR54v.css → NcSettingsSection-e9XGyBq8.css} +9 -7
- package/dist/assets/{NcSettingsSelectGroup-D8mlvzIT.css → NcSettingsSelectGroup-CPauLI-o.css} +4 -1
- package/dist/assets/{NcTextArea-DitXCroY.css → NcTextArea-XCi8a16Y.css} +13 -28
- package/dist/assets/{NcUserBubble-COPMjmKa.css → NcUserBubble-D5ieZC-f.css} +7 -4
- package/dist/assets/{NcUserStatusIcon-Dra7jf_o.css → NcUserStatusIcon-BcLArDqV.css} +4 -1
- package/dist/assets/{Tooltip-DA4si7PR.css → Tooltip-jHgt4m-W.css} +19 -3
- package/dist/assets/referencePickerModal-C0ibN2gO.css +539 -0
- package/dist/chunks/AlertCircleOutline-BzttElgq.mjs +39 -0
- package/dist/chunks/{AlertCircleOutline-DHFN4OkX.cjs.map → AlertCircleOutline-BzttElgq.mjs.map} +1 -1
- package/dist/chunks/AlertCircleOutline-Cb0gAiDw.cjs +38 -0
- package/dist/chunks/{AlertCircleOutline-U_bhL30C.mjs.map → AlertCircleOutline-Cb0gAiDw.cjs.map} +1 -1
- package/dist/chunks/ArrowLeft-B9iGweTd.mjs +39 -0
- package/dist/chunks/{ArrowLeft-CjNnGIlF.cjs.map → ArrowLeft-B9iGweTd.mjs.map} +1 -1
- package/dist/chunks/ArrowLeft-BhNmMdMz.cjs +38 -0
- package/dist/chunks/{ArrowLeft-kklNBL9z.mjs.map → ArrowLeft-BhNmMdMz.cjs.map} +1 -1
- package/dist/chunks/ArrowRight-Clf455e1.mjs +39 -0
- package/dist/chunks/{ArrowRight-CxzzJJQ6.cjs.map → ArrowRight-Clf455e1.mjs.map} +1 -1
- package/dist/chunks/ArrowRight-DaYrccVG.cjs +38 -0
- package/dist/chunks/{ArrowRight-C3BxTDjF.mjs.map → ArrowRight-DaYrccVG.cjs.map} +1 -1
- package/dist/chunks/Check-DZc7keoa.cjs +38 -0
- package/dist/chunks/{Check-CVn5nytg.cjs.map → Check-DZc7keoa.cjs.map} +1 -1
- package/dist/chunks/Check-PawIlCwa.mjs +39 -0
- package/dist/chunks/{Check-CRLmJNGG.mjs.map → Check-PawIlCwa.mjs.map} +1 -1
- package/dist/chunks/ChevronDown-CF9m1o8_.cjs +38 -0
- package/dist/chunks/{ChevronDown-DQPox_nl.cjs.map → ChevronDown-CF9m1o8_.cjs.map} +1 -1
- package/dist/chunks/ChevronDown-PedEroXo.mjs +39 -0
- package/dist/chunks/{ChevronDown-HHJdUMN4.mjs.map → ChevronDown-PedEroXo.mjs.map} +1 -1
- package/dist/chunks/ChevronRight-BNa7yMja.mjs +39 -0
- package/dist/chunks/{ChevronRight-BAJhNawb.cjs.map → ChevronRight-BNa7yMja.mjs.map} +1 -1
- package/dist/chunks/ChevronRight-DVw6mR11.cjs +38 -0
- package/dist/chunks/{ChevronRight-DL3e8bjj.mjs.map → ChevronRight-DVw6mR11.cjs.map} +1 -1
- package/dist/chunks/ChevronUp-CTOKWYlC.cjs +38 -0
- package/dist/chunks/{ChevronUp-kmHRpe7H.cjs.map → ChevronUp-CTOKWYlC.cjs.map} +1 -1
- package/dist/chunks/ChevronUp-DGLTg_nO.mjs +39 -0
- package/dist/chunks/{ChevronUp-B6TIgl1a.mjs.map → ChevronUp-DGLTg_nO.mjs.map} +1 -1
- package/dist/chunks/Close-1V1F2F-M.mjs +39 -0
- package/dist/chunks/{Close-DBfrdXMw.cjs.map → Close-1V1F2F-M.mjs.map} +1 -1
- package/dist/chunks/Close-C2VrgKj3.cjs +38 -0
- package/dist/chunks/{Close-BtO5TPBO.mjs.map → Close-C2VrgKj3.cjs.map} +1 -1
- package/dist/chunks/DotsHorizontal-C0STD_HU.mjs +39 -0
- package/dist/chunks/{DotsHorizontal-B8kTqpHe.cjs.map → DotsHorizontal-C0STD_HU.mjs.map} +1 -1
- package/dist/chunks/DotsHorizontal-Cjw3-45t.cjs +38 -0
- package/dist/chunks/{DotsHorizontal-DfVgEXgz.mjs.map → DotsHorizontal-Cjw3-45t.cjs.map} +1 -1
- package/dist/chunks/GenColors-B1GUK4zF.cjs +160 -0
- package/dist/chunks/{GenColors-D0bH59Rv.mjs.map → GenColors-B1GUK4zF.cjs.map} +1 -1
- package/dist/chunks/{GenColors-D0bH59Rv.mjs → GenColors-DjFwlIhX.mjs} +69 -50
- package/dist/chunks/{GenColors-Du2-qv6X.cjs.map → GenColors-DjFwlIhX.mjs.map} +1 -1
- package/dist/chunks/{GenRandomId-BW3iYFf9.mjs → GenRandomId-CXkjMlAT.mjs} +4 -2
- package/dist/chunks/{GenRandomId-BW3iYFf9.mjs.map → GenRandomId-CXkjMlAT.mjs.map} +1 -1
- package/dist/chunks/{GenRandomId-B2O1GMbH.cjs → GenRandomId-kBCcgMJd.cjs} +4 -2
- package/dist/chunks/{GenRandomId-B2O1GMbH.cjs.map → GenRandomId-kBCcgMJd.cjs.map} +1 -1
- package/dist/chunks/{Linkify-BaDLLFxP.mjs → Linkify-BBPJHBma.mjs} +12 -10
- package/dist/chunks/{Linkify-Dola0NBa.cjs.map → Linkify-BBPJHBma.mjs.map} +1 -1
- package/dist/chunks/{Linkify-Dola0NBa.cjs → Linkify-CIO279AG.cjs} +14 -10
- package/dist/chunks/{Linkify-BaDLLFxP.mjs.map → Linkify-CIO279AG.cjs.map} +1 -1
- package/dist/chunks/NcActionButtonGroup-BISuGifY.mjs +53 -0
- package/dist/chunks/{NcActionButtonGroup-jODsi2kz.mjs.map → NcActionButtonGroup-BISuGifY.mjs.map} +1 -1
- package/dist/chunks/NcActionButtonGroup-iKUlQ6Sg.cjs +52 -0
- package/dist/chunks/{NcActionButtonGroup-Cawk1Q5J.cjs.map → NcActionButtonGroup-iKUlQ6Sg.cjs.map} +1 -1
- package/dist/chunks/NcActionInput-CU4Ycto_.cjs +253 -0
- package/dist/chunks/{NcActionInput-NL0c8XAX.cjs.map → NcActionInput-CU4Ycto_.cjs.map} +1 -1
- package/dist/chunks/NcActionInput-GJBTX1-r.mjs +254 -0
- package/dist/chunks/{NcActionInput-BJSgHPYh.mjs.map → NcActionInput-GJBTX1-r.mjs.map} +1 -1
- package/dist/chunks/NcActions-CZe78ai2.mjs +845 -0
- package/dist/chunks/{NcActions-B1Ue3gj8.mjs.map → NcActions-CZe78ai2.mjs.map} +1 -1
- package/dist/chunks/NcActions-ePQTvWyX.cjs +846 -0
- package/dist/chunks/{NcActions-X10TnO-4.cjs.map → NcActions-ePQTvWyX.cjs.map} +1 -1
- package/dist/chunks/NcAppContent-BCShRsQU.cjs +303 -0
- package/dist/chunks/{NcAppContent-BkVLz0T8.mjs.map → NcAppContent-BCShRsQU.cjs.map} +1 -1
- package/dist/chunks/NcAppContent-gyRkh2hd.mjs +304 -0
- package/dist/chunks/{NcAppContent-CxdfMOVw.cjs.map → NcAppContent-gyRkh2hd.mjs.map} +1 -1
- package/dist/chunks/NcAppNavigation-DjlepJn1.mjs +142 -0
- package/dist/chunks/{NcAppNavigation-BxaQQTmk.mjs.map → NcAppNavigation-DjlepJn1.mjs.map} +1 -1
- package/dist/chunks/NcAppNavigation-NMvbfe_y.cjs +143 -0
- package/dist/chunks/{NcAppNavigation-CmBNq0sh.cjs.map → NcAppNavigation-NMvbfe_y.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationCaption-B-flkujS.cjs +62 -0
- package/dist/chunks/{NcAppNavigationCaption-BQsUUBUS.mjs.map → NcAppNavigationCaption-B-flkujS.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationCaption-PZDKx81g.mjs +63 -0
- package/dist/chunks/{NcAppNavigationCaption-CUJSIO54.cjs.map → NcAppNavigationCaption-PZDKx81g.mjs.map} +1 -1
- package/dist/chunks/NcAppNavigationItem-CFyEP8wP.mjs +522 -0
- package/dist/chunks/{NcAppNavigationItem-Cheox0NI.mjs.map → NcAppNavigationItem-CFyEP8wP.mjs.map} +1 -1
- package/dist/chunks/NcAppNavigationItem-D-j_j_i5.cjs +521 -0
- package/dist/chunks/{NcAppNavigationItem-DdfXf1p_.cjs.map → NcAppNavigationItem-D-j_j_i5.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationNewItem-0C1S6gig.mjs +98 -0
- package/dist/chunks/{NcAppNavigationNewItem-Dmb8qw0g.mjs.map → NcAppNavigationNewItem-0C1S6gig.mjs.map} +1 -1
- package/dist/chunks/NcAppNavigationNewItem-DU1Va5Qs.cjs +97 -0
- package/dist/chunks/{NcAppNavigationNewItem-BkyKxjL8.cjs.map → NcAppNavigationNewItem-DU1Va5Qs.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationSettings-BVYD-_ON.mjs +111 -0
- package/dist/chunks/{NcAppNavigationSettings-CCjTkNf3.cjs.map → NcAppNavigationSettings-BVYD-_ON.mjs.map} +1 -1
- package/dist/chunks/NcAppNavigationSettings-CnuxB4p7.cjs +110 -0
- package/dist/chunks/{NcAppNavigationSettings-_O0oYU8k.mjs.map → NcAppNavigationSettings-CnuxB4p7.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationToggle--6uvG5sY.cjs +129 -0
- package/dist/chunks/{NcAppNavigationToggle-VDwkZ4nu.mjs.map → NcAppNavigationToggle--6uvG5sY.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationToggle-xOyRbwls.mjs +130 -0
- package/dist/chunks/{NcAppNavigationToggle-nnE6CrRb.cjs.map → NcAppNavigationToggle-xOyRbwls.mjs.map} +1 -1
- package/dist/chunks/NcAppSettingsDialog-CAYJSfm3.cjs +232 -0
- package/dist/chunks/{NcAppSettingsDialog-CECnsnfv.mjs.map → NcAppSettingsDialog-CAYJSfm3.cjs.map} +1 -1
- package/dist/chunks/NcAppSettingsDialog-CMknLVAP.mjs +230 -0
- package/dist/chunks/{NcAppSettingsDialog-wqDewrRQ.cjs.map → NcAppSettingsDialog-CMknLVAP.mjs.map} +1 -1
- package/dist/chunks/NcAppSidebar-D4v3Msgl.cjs +723 -0
- package/dist/chunks/NcAppSidebar-D4v3Msgl.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-DWb4MNeo.mjs +724 -0
- package/dist/chunks/NcAppSidebar-DWb4MNeo.mjs.map +1 -0
- package/dist/chunks/NcAvatar-BYvbqQP3.mjs +594 -0
- package/dist/chunks/NcAvatar-BYvbqQP3.mjs.map +1 -0
- package/dist/chunks/NcAvatar-DvV77AjU.cjs +595 -0
- package/dist/chunks/NcAvatar-DvV77AjU.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-CccFNtmn.mjs +206 -0
- package/dist/chunks/{NcBreadcrumb-BerOYeSO.mjs.map → NcBreadcrumb-CccFNtmn.mjs.map} +1 -1
- package/dist/chunks/NcBreadcrumb-D_B838UO.cjs +205 -0
- package/dist/chunks/{NcBreadcrumb-BBZofeFG.cjs.map → NcBreadcrumb-D_B838UO.cjs.map} +1 -1
- package/dist/chunks/NcBreadcrumbs-BhBkulau.mjs +525 -0
- package/dist/chunks/{NcBreadcrumbs-BypDKcgj.mjs.map → NcBreadcrumbs-BhBkulau.mjs.map} +1 -1
- package/dist/chunks/NcBreadcrumbs-CaLzYM5s.cjs +527 -0
- package/dist/chunks/{NcBreadcrumbs-D0aoSiDN.cjs.map → NcBreadcrumbs-CaLzYM5s.cjs.map} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch-0kVQhCVw.cjs +685 -0
- package/dist/chunks/NcCheckboxRadioSwitch-0kVQhCVw.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-ByOy5xz5.mjs +686 -0
- package/dist/chunks/NcCheckboxRadioSwitch-ByOy5xz5.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-BhTGXTuA.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-BhTGXTuA.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CrbKZag1.cjs +4 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CrbKZag1.cjs.map +1 -0
- package/dist/chunks/NcColorPicker-BZ8w5NOJ.mjs +191 -0
- package/dist/chunks/NcColorPicker-BZ8w5NOJ.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-BhdOJcFp.cjs +190 -0
- package/dist/chunks/NcColorPicker-BhdOJcFp.cjs.map +1 -0
- package/dist/chunks/NcContent-DW28aXMb.mjs +104 -0
- package/dist/chunks/{NcContent-CQk_EERB.mjs.map → NcContent-DW28aXMb.mjs.map} +1 -1
- package/dist/chunks/NcContent-JMqroMPc.cjs +103 -0
- package/dist/chunks/{NcContent-D-F_hXQE.cjs.map → NcContent-JMqroMPc.cjs.map} +1 -1
- package/dist/chunks/NcDashboardWidget-Bt_AiMLT.cjs +147 -0
- package/dist/chunks/{NcDashboardWidget-B5kIIXjc.mjs.map → NcDashboardWidget-Bt_AiMLT.cjs.map} +1 -1
- package/dist/chunks/NcDashboardWidget-hoZw8Qfz.mjs +148 -0
- package/dist/chunks/{NcDashboardWidget-DLTh61Jk.cjs.map → NcDashboardWidget-hoZw8Qfz.mjs.map} +1 -1
- package/dist/chunks/NcDashboardWidgetItem-C-Wa9TNk.mjs +151 -0
- package/dist/chunks/{NcDashboardWidgetItem-xj-DfJjn.mjs.map → NcDashboardWidgetItem-C-Wa9TNk.mjs.map} +1 -1
- package/dist/chunks/NcDashboardWidgetItem-DjSXMVgm.cjs +150 -0
- package/dist/chunks/{NcDashboardWidgetItem-BKhL4kyY.cjs.map → NcDashboardWidgetItem-DjSXMVgm.cjs.map} +1 -1
- package/dist/chunks/NcDateTime-iW-kErE1.mjs +181 -0
- package/dist/chunks/NcDateTime-iW-kErE1.mjs.map +1 -0
- package/dist/chunks/NcDateTime-kvWumSJA.cjs +180 -0
- package/dist/chunks/NcDateTime-kvWumSJA.cjs.map +1 -0
- package/dist/chunks/NcDialog-1TWFrsjf.mjs +235 -0
- package/dist/chunks/{NcDialog-C6nYgBDF.cjs.map → NcDialog-1TWFrsjf.mjs.map} +1 -1
- package/dist/chunks/NcDialog-G7XA1Z88.cjs +234 -0
- package/dist/chunks/{NcDialog-D6YSjidf.mjs.map → NcDialog-G7XA1Z88.cjs.map} +1 -1
- package/dist/chunks/NcDialogButton-NiGZGBjq.cjs +78 -0
- package/dist/chunks/{NcDialogButton-DQFoaN7q.mjs.map → NcDialogButton-NiGZGBjq.cjs.map} +1 -1
- package/dist/chunks/NcDialogButton-jh2GOQ_7.mjs +79 -0
- package/dist/chunks/{NcDialogButton-D7ibBxsQ.cjs.map → NcDialogButton-jh2GOQ_7.mjs.map} +1 -1
- package/dist/chunks/NcEmojiPicker-Drc9tYzl.mjs +284 -0
- package/dist/chunks/{NcEmojiPicker-028V7lKH.mjs.map → NcEmojiPicker-Drc9tYzl.mjs.map} +1 -1
- package/dist/chunks/NcEmojiPicker-Ju0ogVxs.cjs +285 -0
- package/dist/chunks/{NcEmojiPicker-BDRuuzNw.cjs.map → NcEmojiPicker-Ju0ogVxs.cjs.map} +1 -1
- package/dist/chunks/NcHeaderMenu-2n5GDt37.mjs +226 -0
- package/dist/chunks/{NcHeaderMenu-DOGXti7v.mjs.map → NcHeaderMenu-2n5GDt37.mjs.map} +1 -1
- package/dist/chunks/NcHeaderMenu-830tFszI.cjs +225 -0
- package/dist/chunks/{NcHeaderMenu-58OTmM-5.cjs.map → NcHeaderMenu-830tFszI.cjs.map} +1 -1
- package/dist/chunks/NcIconSvgWrapper-5v5HBSpx.mjs +109 -0
- package/dist/chunks/{NcIconSvgWrapper-kIn1eQyv.cjs.map → NcIconSvgWrapper-5v5HBSpx.mjs.map} +1 -1
- package/dist/chunks/NcIconSvgWrapper-D4GEZPIc.cjs +111 -0
- package/dist/chunks/{NcIconSvgWrapper-BTdzvQGV.mjs.map → NcIconSvgWrapper-D4GEZPIc.cjs.map} +1 -1
- package/dist/chunks/NcInputConfirmCancel-_SvdghX9.cjs +112 -0
- package/dist/chunks/{NcInputConfirmCancel-unF2X_Ax.cjs.map → NcInputConfirmCancel-_SvdghX9.cjs.map} +1 -1
- package/dist/chunks/NcInputConfirmCancel-uSZodQXZ.mjs +113 -0
- package/dist/chunks/{NcInputConfirmCancel-D5GYt1Th.mjs.map → NcInputConfirmCancel-uSZodQXZ.mjs.map} +1 -1
- package/dist/chunks/NcListItem-DwXB_QT2.cjs +275 -0
- package/dist/chunks/{NcListItem-DUrmhUuv.mjs.map → NcListItem-DwXB_QT2.cjs.map} +1 -1
- package/dist/chunks/NcListItem-R4rlqTZ-.mjs +276 -0
- package/dist/chunks/{NcListItem-BnsP7HQy.cjs.map → NcListItem-R4rlqTZ-.mjs.map} +1 -1
- package/dist/chunks/NcListItemIcon-DKSzgujO.cjs +175 -0
- package/dist/chunks/{NcListItemIcon-9um1JI9_.mjs.map → NcListItemIcon-DKSzgujO.cjs.map} +1 -1
- package/dist/chunks/NcListItemIcon-DONcrnT_.mjs +176 -0
- package/dist/chunks/{NcListItemIcon-Dd_ykGiP.cjs.map → NcListItemIcon-DONcrnT_.mjs.map} +1 -1
- package/dist/chunks/NcPasswordField-CGhVkWI2.cjs +256 -0
- package/dist/chunks/{NcPasswordField-BE4xwMjQ.mjs.map → NcPasswordField-CGhVkWI2.cjs.map} +1 -1
- package/dist/chunks/NcPasswordField-Vyt7Pk2z.mjs +254 -0
- package/dist/chunks/{NcPasswordField-ghqpLn7G.cjs.map → NcPasswordField-Vyt7Pk2z.mjs.map} +1 -1
- package/dist/chunks/NcPopover-BS1bBSkg.cjs +268 -0
- package/dist/chunks/{NcPopover--V3R3EKV.mjs.map → NcPopover-BS1bBSkg.cjs.map} +1 -1
- package/dist/chunks/NcPopover-foxJPAfG.mjs +267 -0
- package/dist/chunks/{NcPopover-h-t7Dnjk.cjs.map → NcPopover-foxJPAfG.mjs.map} +1 -1
- package/dist/chunks/NcProgressBar-BafFcKiu.mjs +117 -0
- package/dist/chunks/{NcProgressBar-BYk5hfPI.cjs.map → NcProgressBar-BafFcKiu.mjs.map} +1 -1
- package/dist/chunks/NcProgressBar-mFqoqB4L.cjs +116 -0
- package/dist/chunks/{NcProgressBar-DDAeXyp8.mjs.map → NcProgressBar-mFqoqB4L.cjs.map} +1 -1
- package/dist/chunks/NcRelatedResourcesPanel-BY8X00Zd.mjs +438 -0
- package/dist/chunks/{NcRelatedResourcesPanel-_r1K7ZaY.cjs.map → NcRelatedResourcesPanel-BY8X00Zd.mjs.map} +1 -1
- package/dist/chunks/NcRelatedResourcesPanel-Ci31S2dU.cjs +439 -0
- package/dist/chunks/{NcRelatedResourcesPanel-CuvKC8Is.mjs.map → NcRelatedResourcesPanel-Ci31S2dU.cjs.map} +1 -1
- package/dist/chunks/NcRichContenteditable-BpHLlt5A.mjs +797 -0
- package/dist/chunks/{NcRichContenteditable-Bo4te1z-.mjs.map → NcRichContenteditable-BpHLlt5A.mjs.map} +1 -1
- package/dist/chunks/NcRichContenteditable-DnukwC1y.cjs +800 -0
- package/dist/chunks/{NcRichContenteditable-Bm4NjGuD.cjs.map → NcRichContenteditable-DnukwC1y.cjs.map} +1 -1
- package/dist/chunks/NcRichText-Ba2D7EQq.mjs +412 -0
- package/dist/chunks/NcRichText-Ba2D7EQq.mjs.map +1 -0
- package/dist/chunks/NcRichText-U0Ral4-y.cjs +419 -0
- package/dist/chunks/NcRichText-U0Ral4-y.cjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-Bhy7wcoT.mjs +65 -0
- package/dist/chunks/{NcSavingIndicatorIcon-Bf0SEmgS.mjs.map → NcSavingIndicatorIcon-Bhy7wcoT.mjs.map} +1 -1
- package/dist/chunks/NcSavingIndicatorIcon-BzKAIkhk.cjs +64 -0
- package/dist/chunks/{NcSavingIndicatorIcon-BTvUkUn-.cjs.map → NcSavingIndicatorIcon-BzKAIkhk.cjs.map} +1 -1
- package/dist/chunks/{NcSelect-DRVEZt73.mjs → NcSelect-EnQUx7gf.mjs} +159 -121
- package/dist/chunks/{NcSelect-C58Mm9lZ.cjs.map → NcSelect-EnQUx7gf.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-C58Mm9lZ.cjs → NcSelect-uODI-lly.cjs} +161 -111
- package/dist/chunks/{NcSelect-DRVEZt73.mjs.map → NcSelect-uODI-lly.cjs.map} +1 -1
- package/dist/chunks/NcSelectTags-BzQxtK0g.cjs +303 -0
- package/dist/chunks/{NcSelectTags-Cleij1YB.cjs.map → NcSelectTags-BzQxtK0g.cjs.map} +1 -1
- package/dist/chunks/NcSelectTags-tEADv0cv.mjs +302 -0
- package/dist/chunks/{NcSelectTags-35nlauoq.mjs.map → NcSelectTags-tEADv0cv.mjs.map} +1 -1
- package/dist/chunks/NcSettingsInputText-BdjyNei5.mjs +102 -0
- package/dist/chunks/{NcSettingsInputText-BxsnpVjM.mjs.map → NcSettingsInputText-BdjyNei5.mjs.map} +1 -1
- package/dist/chunks/NcSettingsInputText-Bg_VDGoS.cjs +101 -0
- package/dist/chunks/{NcSettingsInputText-Cy7Umyq4.cjs.map → NcSettingsInputText-Bg_VDGoS.cjs.map} +1 -1
- package/dist/chunks/NcSettingsSection-CWQHnXy4.cjs +102 -0
- package/dist/chunks/{NcSettingsSection-BntYMcIt.mjs.map → NcSettingsSection-CWQHnXy4.cjs.map} +1 -1
- package/dist/chunks/NcSettingsSection-CWUIg3WZ.mjs +103 -0
- package/dist/chunks/{NcSettingsSection-fWPqQmzZ.cjs.map → NcSettingsSection-CWUIg3WZ.mjs.map} +1 -1
- package/dist/chunks/NcSettingsSelectGroup-DyQfy9P5.cjs +213 -0
- package/dist/chunks/{NcSettingsSelectGroup-CehQI4oG.mjs.map → NcSettingsSelectGroup-DyQfy9P5.cjs.map} +1 -1
- package/dist/chunks/NcSettingsSelectGroup-I_qUQ6nA.mjs +211 -0
- package/dist/chunks/{NcSettingsSelectGroup-68kJocD5.cjs.map → NcSettingsSelectGroup-I_qUQ6nA.mjs.map} +1 -1
- package/dist/chunks/NcTextField-Bu1cvjSc.mjs +151 -0
- package/dist/chunks/{NcTextField-BAKyJTQ0.mjs.map → NcTextField-Bu1cvjSc.mjs.map} +1 -1
- package/dist/chunks/NcTextField-CO0wnb8n.cjs +150 -0
- package/dist/chunks/{NcTextField-DKppZoIo.cjs.map → NcTextField-CO0wnb8n.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-8juQvyGU.mjs → NcTimezonePicker-BA3AYCBm.mjs} +131 -84
- package/dist/chunks/{NcTimezonePicker-8juQvyGU.mjs.map → NcTimezonePicker-BA3AYCBm.mjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-D6psCKlf.cjs → NcTimezonePicker-D1jVCuUh.cjs} +131 -79
- package/dist/chunks/{NcTimezonePicker-D6psCKlf.cjs.map → NcTimezonePicker-D1jVCuUh.cjs.map} +1 -1
- package/dist/chunks/NcUserBubble-CSAU8jCM.cjs +212 -0
- package/dist/chunks/{NcUserBubble-6o5fw3gB.mjs.map → NcUserBubble-CSAU8jCM.cjs.map} +1 -1
- package/dist/chunks/NcUserBubble-h9Zo3CCT.mjs +211 -0
- package/dist/chunks/{NcUserBubble-J_kbLTpc.cjs.map → NcUserBubble-h9Zo3CCT.mjs.map} +1 -1
- package/dist/chunks/NcUserStatusIcon-BC9qDAzb.mjs +168 -0
- package/dist/chunks/{NcUserStatusIcon-Bqtgf32T.cjs.map → NcUserStatusIcon-BC9qDAzb.mjs.map} +1 -1
- package/dist/chunks/NcUserStatusIcon-BpLvFq3p.cjs +170 -0
- package/dist/chunks/{NcUserStatusIcon-D_ItGF5U.mjs.map → NcUserStatusIcon-BpLvFq3p.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-BZYPT7rR.mjs → ScopeComponent-B9RptB1A.mjs} +9 -4
- package/dist/chunks/{ScopeComponent-BZYPT7rR.mjs.map → ScopeComponent-B9RptB1A.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-C0EJf0Ag.cjs → ScopeComponent-Cmn9OSZb.cjs} +9 -4
- package/dist/chunks/{ScopeComponent-C0EJf0Ag.cjs.map → ScopeComponent-Cmn9OSZb.cjs.map} +1 -1
- package/dist/chunks/_l10n-DwEsZ6zb.mjs +122 -0
- package/dist/chunks/_l10n-DwEsZ6zb.mjs.map +1 -0
- package/dist/chunks/_l10n-ftziezFF.cjs +121 -0
- package/dist/chunks/_l10n-ftziezFF.cjs.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer-D637Qkok.mjs +59 -0
- package/dist/chunks/_plugin-vue2_normalizer-D637Qkok.mjs.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs +58 -0
- package/dist/chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs.map +1 -0
- package/dist/chunks/{actionGlobal-DL1VaQzF.cjs → actionGlobal-BfK-CImU.cjs} +2 -2
- package/dist/chunks/{actionGlobal-D49NL940.mjs.map → actionGlobal-BfK-CImU.cjs.map} +1 -1
- package/dist/chunks/{actionGlobal-D49NL940.mjs → actionGlobal-DV5ZiuS0.mjs} +2 -2
- package/dist/chunks/{actionGlobal-DL1VaQzF.cjs.map → actionGlobal-DV5ZiuS0.mjs.map} +1 -1
- package/dist/chunks/{actionText-jLsEBszD.mjs → actionText-BaGktsVf.mjs} +21 -17
- package/dist/chunks/{actionText-jLsEBszD.mjs.map → actionText-BaGktsVf.mjs.map} +1 -1
- package/dist/chunks/{actionText-iWNpvZuI.cjs → actionText-BnA6RS9I.cjs} +21 -17
- package/dist/chunks/{actionText-iWNpvZuI.cjs.map → actionText-BnA6RS9I.cjs.map} +1 -1
- package/dist/chunks/autolink-Bgjz08wN.cjs +125 -0
- package/dist/chunks/autolink-Bgjz08wN.cjs.map +1 -0
- package/dist/chunks/autolink-DA7VzS8Y.mjs +126 -0
- package/dist/chunks/autolink-DA7VzS8Y.mjs.map +1 -0
- package/dist/chunks/emoji-CWr00EYY.cjs +87 -0
- package/dist/chunks/emoji-CWr00EYY.cjs.map +1 -0
- package/dist/chunks/emoji-CbOkKZx5.mjs +86 -0
- package/dist/chunks/emoji-CbOkKZx5.mjs.map +1 -0
- package/dist/chunks/{focusTrap-xauhLvvr.cjs → focusTrap-Dsmd28wG.cjs} +4 -3
- package/dist/chunks/{focusTrap-Be9GEB5C.mjs.map → focusTrap-Dsmd28wG.cjs.map} +1 -1
- package/dist/chunks/{focusTrap-Be9GEB5C.mjs → focusTrap-hWDNhn4t.mjs} +4 -3
- package/dist/chunks/{focusTrap-xauhLvvr.cjs.map → focusTrap-hWDNhn4t.mjs.map} +1 -1
- package/dist/chunks/{getAvatarUrl-BHpn8LgJ.mjs → getAvatarUrl-BBvqBOJD.mjs} +7 -7
- package/dist/chunks/{getAvatarUrl-BHpn8LgJ.mjs.map → getAvatarUrl-BBvqBOJD.mjs.map} +1 -1
- package/dist/chunks/{getAvatarUrl-CjIpoO6I.cjs → getAvatarUrl-C40xfr4C.cjs} +7 -7
- package/dist/chunks/{getAvatarUrl-CjIpoO6I.cjs.map → getAvatarUrl-C40xfr4C.cjs.map} +1 -1
- package/dist/chunks/index-BRQQ9NaL.mjs +198 -0
- package/dist/chunks/{index-uiNhPYvS.mjs.map → index-BRQQ9NaL.mjs.map} +1 -1
- package/dist/chunks/index-BwyQ2N-M.mjs +119 -0
- package/dist/chunks/index-BwyQ2N-M.mjs.map +1 -0
- package/dist/chunks/index-D0euettC.cjs +201 -0
- package/dist/chunks/{index-CMnR5Pf6.cjs.map → index-D0euettC.cjs.map} +1 -1
- package/dist/chunks/index-DYccGIvD.mjs +197 -0
- package/dist/chunks/{index-CnpswYi6.mjs.map → index-DYccGIvD.mjs.map} +1 -1
- package/dist/chunks/index-Dl-SBuhJ.cjs +196 -0
- package/dist/chunks/{index-Cke9rKBg.cjs.map → index-Dl-SBuhJ.cjs.map} +1 -1
- package/dist/chunks/index-Dsgv-f-l.cjs +118 -0
- package/dist/chunks/index-Dsgv-f-l.cjs.map +1 -0
- package/dist/chunks/{logger-D9RRY4er.cjs → logger-BcZGm6Un.cjs} +3 -3
- package/dist/chunks/{logger-C7qcfVW8.mjs.map → logger-BcZGm6Un.cjs.map} +1 -1
- package/dist/chunks/{logger-C7qcfVW8.mjs → logger-C7ZZ6zFQ.mjs} +3 -3
- package/dist/chunks/{logger-D9RRY4er.cjs.map → logger-C7ZZ6zFQ.mjs.map} +1 -1
- package/dist/chunks/referencePickerModal-DBIqS1ep.mjs +3474 -0
- package/dist/chunks/referencePickerModal-DBIqS1ep.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-XXILzgbd.cjs +3476 -0
- package/dist/chunks/referencePickerModal-XXILzgbd.cjs.map +1 -0
- package/dist/chunks/{usernameToColor-CgqbKJ4t.mjs → usernameToColor-3O2cQhM4.mjs} +22 -16
- package/dist/chunks/{usernameToColor-CgqbKJ4t.mjs.map → usernameToColor-3O2cQhM4.mjs.map} +1 -1
- package/dist/chunks/usernameToColor-DiRnOvlG.cjs +48 -0
- package/dist/chunks/{usernameToColor-B7GSjspk.cjs.map → usernameToColor-DiRnOvlG.cjs.map} +1 -1
- package/dist/composables/useFormatDateTime.d.ts +57 -0
- package/dist/index.cjs +284 -224
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +287 -306
- package/dist/index.mjs.map +1 -1
- package/dist/plugin.d.ts +2 -1
- package/package.json +7 -6
- package/dist/assets/NcRichText-D2BBsB-_.css +0 -218
- package/dist/assets/referencePickerModal-DWB2ghBg.css +0 -336
- package/dist/chunks/AlertCircleOutline-DHFN4OkX.cjs +0 -35
- package/dist/chunks/AlertCircleOutline-U_bhL30C.mjs +0 -37
- package/dist/chunks/ArrowLeft-CjNnGIlF.cjs +0 -35
- package/dist/chunks/ArrowLeft-kklNBL9z.mjs +0 -37
- package/dist/chunks/ArrowRight-C3BxTDjF.mjs +0 -37
- package/dist/chunks/ArrowRight-CxzzJJQ6.cjs +0 -35
- package/dist/chunks/Check-CRLmJNGG.mjs +0 -37
- package/dist/chunks/Check-CVn5nytg.cjs +0 -35
- package/dist/chunks/ChevronDown-DQPox_nl.cjs +0 -35
- package/dist/chunks/ChevronDown-HHJdUMN4.mjs +0 -37
- package/dist/chunks/ChevronRight-BAJhNawb.cjs +0 -35
- package/dist/chunks/ChevronRight-DL3e8bjj.mjs +0 -37
- package/dist/chunks/ChevronUp-B6TIgl1a.mjs +0 -37
- package/dist/chunks/ChevronUp-kmHRpe7H.cjs +0 -35
- package/dist/chunks/Close-BtO5TPBO.mjs +0 -37
- package/dist/chunks/Close-DBfrdXMw.cjs +0 -35
- package/dist/chunks/DotsHorizontal-B8kTqpHe.cjs +0 -35
- package/dist/chunks/DotsHorizontal-DfVgEXgz.mjs +0 -37
- package/dist/chunks/GenColors-Du2-qv6X.cjs +0 -141
- package/dist/chunks/NcActionButtonGroup-Cawk1Q5J.cjs +0 -46
- package/dist/chunks/NcActionButtonGroup-jODsi2kz.mjs +0 -50
- package/dist/chunks/NcActionInput-BJSgHPYh.mjs +0 -244
- package/dist/chunks/NcActionInput-NL0c8XAX.cjs +0 -235
- package/dist/chunks/NcActions-B1Ue3gj8.mjs +0 -676
- package/dist/chunks/NcActions-X10TnO-4.cjs +0 -668
- package/dist/chunks/NcAppContent-BkVLz0T8.mjs +0 -265
- package/dist/chunks/NcAppContent-CxdfMOVw.cjs +0 -256
- package/dist/chunks/NcAppNavigation-BxaQQTmk.mjs +0 -124
- package/dist/chunks/NcAppNavigation-CmBNq0sh.cjs +0 -115
- package/dist/chunks/NcAppNavigationCaption-BQsUUBUS.mjs +0 -61
- package/dist/chunks/NcAppNavigationCaption-CUJSIO54.cjs +0 -58
- package/dist/chunks/NcAppNavigationItem-Cheox0NI.mjs +0 -477
- package/dist/chunks/NcAppNavigationItem-DdfXf1p_.cjs +0 -465
- package/dist/chunks/NcAppNavigationNewItem-BkyKxjL8.cjs +0 -87
- package/dist/chunks/NcAppNavigationNewItem-Dmb8qw0g.mjs +0 -91
- package/dist/chunks/NcAppNavigationSettings-CCjTkNf3.cjs +0 -104
- package/dist/chunks/NcAppNavigationSettings-_O0oYU8k.mjs +0 -106
- package/dist/chunks/NcAppNavigationToggle-VDwkZ4nu.mjs +0 -122
- package/dist/chunks/NcAppNavigationToggle-nnE6CrRb.cjs +0 -119
- package/dist/chunks/NcAppSettingsDialog-CECnsnfv.mjs +0 -191
- package/dist/chunks/NcAppSettingsDialog-wqDewrRQ.cjs +0 -184
- package/dist/chunks/NcAppSidebar-9W8ytMkj.mjs +0 -600
- package/dist/chunks/NcAppSidebar-9W8ytMkj.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-DkDtOUbu.cjs +0 -582
- package/dist/chunks/NcAppSidebar-DkDtOUbu.cjs.map +0 -1
- package/dist/chunks/NcAvatar-CO9waN_L.cjs +0 -458
- package/dist/chunks/NcAvatar-CO9waN_L.cjs.map +0 -1
- package/dist/chunks/NcAvatar-GULQurjA.mjs +0 -474
- package/dist/chunks/NcAvatar-GULQurjA.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-BBZofeFG.cjs +0 -180
- package/dist/chunks/NcBreadcrumb-BerOYeSO.mjs +0 -186
- package/dist/chunks/NcBreadcrumbs-BypDKcgj.mjs +0 -422
- package/dist/chunks/NcBreadcrumbs-D0aoSiDN.cjs +0 -412
- package/dist/chunks/NcCheckboxRadioSwitch-BcwXUfkk.mjs +0 -607
- package/dist/chunks/NcCheckboxRadioSwitch-BcwXUfkk.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-UnycoV8I.cjs +0 -603
- package/dist/chunks/NcCheckboxRadioSwitch-UnycoV8I.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Dfig4O2O.cjs +0 -4
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Dfig4O2O.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Zn4mWlPY.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Zn4mWlPY.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-BUsEYIj3.cjs +0 -168
- package/dist/chunks/NcColorPicker-BUsEYIj3.cjs.map +0 -1
- package/dist/chunks/NcColorPicker-C29EJ5Gw.mjs +0 -178
- package/dist/chunks/NcColorPicker-C29EJ5Gw.mjs.map +0 -1
- package/dist/chunks/NcContent-CQk_EERB.mjs +0 -87
- package/dist/chunks/NcContent-D-F_hXQE.cjs +0 -80
- package/dist/chunks/NcDashboardWidget-B5kIIXjc.mjs +0 -141
- package/dist/chunks/NcDashboardWidget-DLTh61Jk.cjs +0 -135
- package/dist/chunks/NcDashboardWidgetItem-BKhL4kyY.cjs +0 -138
- package/dist/chunks/NcDashboardWidgetItem-xj-DfJjn.mjs +0 -143
- package/dist/chunks/NcDateTime-BeI2IjH3.mjs +0 -146
- package/dist/chunks/NcDateTime-BeI2IjH3.mjs.map +0 -1
- package/dist/chunks/NcDateTime-DuS_515z.cjs +0 -142
- package/dist/chunks/NcDateTime-DuS_515z.cjs.map +0 -1
- package/dist/chunks/NcDialog-C6nYgBDF.cjs +0 -207
- package/dist/chunks/NcDialog-D6YSjidf.mjs +0 -214
- package/dist/chunks/NcDialogButton-D7ibBxsQ.cjs +0 -69
- package/dist/chunks/NcDialogButton-DQFoaN7q.mjs +0 -74
- package/dist/chunks/NcEmojiPicker-028V7lKH.mjs +0 -251
- package/dist/chunks/NcEmojiPicker-BDRuuzNw.cjs +0 -241
- package/dist/chunks/NcHeaderMenu-58OTmM-5.cjs +0 -187
- package/dist/chunks/NcHeaderMenu-DOGXti7v.mjs +0 -193
- package/dist/chunks/NcIconSvgWrapper-BTdzvQGV.mjs +0 -93
- package/dist/chunks/NcIconSvgWrapper-kIn1eQyv.cjs +0 -89
- package/dist/chunks/NcInputConfirmCancel-D5GYt1Th.mjs +0 -97
- package/dist/chunks/NcInputConfirmCancel-unF2X_Ax.cjs +0 -92
- package/dist/chunks/NcListItem-BnsP7HQy.cjs +0 -233
- package/dist/chunks/NcListItem-DUrmhUuv.mjs +0 -238
- package/dist/chunks/NcListItemIcon-9um1JI9_.mjs +0 -166
- package/dist/chunks/NcListItemIcon-Dd_ykGiP.cjs +0 -163
- package/dist/chunks/NcPasswordField-BE4xwMjQ.mjs +0 -238
- package/dist/chunks/NcPasswordField-ghqpLn7G.cjs +0 -229
- package/dist/chunks/NcPopover--V3R3EKV.mjs +0 -239
- package/dist/chunks/NcPopover-h-t7Dnjk.cjs +0 -233
- package/dist/chunks/NcProgressBar-BYk5hfPI.cjs +0 -96
- package/dist/chunks/NcProgressBar-DDAeXyp8.mjs +0 -99
- package/dist/chunks/NcRelatedResourcesPanel-CuvKC8Is.mjs +0 -381
- package/dist/chunks/NcRelatedResourcesPanel-_r1K7ZaY.cjs +0 -371
- package/dist/chunks/NcRichContenteditable-Bm4NjGuD.cjs +0 -640
- package/dist/chunks/NcRichContenteditable-Bo4te1z-.mjs +0 -649
- package/dist/chunks/NcRichText-BP7ht7d4.cjs +0 -329
- package/dist/chunks/NcRichText-BP7ht7d4.cjs.map +0 -1
- package/dist/chunks/NcRichText-DUCudV4J.mjs +0 -345
- package/dist/chunks/NcRichText-DUCudV4J.mjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-BTvUkUn-.cjs +0 -59
- package/dist/chunks/NcSavingIndicatorIcon-Bf0SEmgS.mjs +0 -62
- package/dist/chunks/NcSelectTags-35nlauoq.mjs +0 -258
- package/dist/chunks/NcSelectTags-Cleij1YB.cjs +0 -252
- package/dist/chunks/NcSettingsInputText-BxsnpVjM.mjs +0 -95
- package/dist/chunks/NcSettingsInputText-Cy7Umyq4.cjs +0 -92
- package/dist/chunks/NcSettingsSection-BntYMcIt.mjs +0 -98
- package/dist/chunks/NcSettingsSection-fWPqQmzZ.cjs +0 -96
- package/dist/chunks/NcSettingsSelectGroup-68kJocD5.cjs +0 -185
- package/dist/chunks/NcSettingsSelectGroup-CehQI4oG.mjs +0 -192
- package/dist/chunks/NcTextField-BAKyJTQ0.mjs +0 -146
- package/dist/chunks/NcTextField-DKppZoIo.cjs +0 -140
- package/dist/chunks/NcUserBubble-6o5fw3gB.mjs +0 -198
- package/dist/chunks/NcUserBubble-J_kbLTpc.cjs +0 -193
- package/dist/chunks/NcUserStatusIcon-Bqtgf32T.cjs +0 -150
- package/dist/chunks/NcUserStatusIcon-D_ItGF5U.mjs +0 -157
- package/dist/chunks/_l10n-BVVVUgGU.cjs +0 -66
- package/dist/chunks/_l10n-BVVVUgGU.cjs.map +0 -1
- package/dist/chunks/_l10n-BZu8wI2q.mjs +0 -68
- package/dist/chunks/_l10n-BZu8wI2q.mjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs +0 -32
- package/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-GXKvuwrq.cjs +0 -31
- package/dist/chunks/_plugin-vue2_normalizer-GXKvuwrq.cjs.map +0 -1
- package/dist/chunks/autolink-BtgUDDdk.mjs +0 -59
- package/dist/chunks/autolink-BtgUDDdk.mjs.map +0 -1
- package/dist/chunks/autolink-D0rLUkqm.cjs +0 -55
- package/dist/chunks/autolink-D0rLUkqm.cjs.map +0 -1
- package/dist/chunks/emoji-DEH9dtOa.cjs +0 -59
- package/dist/chunks/emoji-DEH9dtOa.cjs.map +0 -1
- package/dist/chunks/emoji-k4gWHxrE.mjs +0 -62
- package/dist/chunks/emoji-k4gWHxrE.mjs.map +0 -1
- package/dist/chunks/index-Bh9FEWbr.cjs +0 -87
- package/dist/chunks/index-Bh9FEWbr.cjs.map +0 -1
- package/dist/chunks/index-CMnR5Pf6.cjs +0 -157
- package/dist/chunks/index-CU14QsCg.mjs +0 -88
- package/dist/chunks/index-CU14QsCg.mjs.map +0 -1
- package/dist/chunks/index-Cke9rKBg.cjs +0 -148
- package/dist/chunks/index-CnpswYi6.mjs +0 -149
- package/dist/chunks/index-uiNhPYvS.mjs +0 -163
- package/dist/chunks/referencePickerModal-CoaOqLOw.cjs +0 -2408
- package/dist/chunks/referencePickerModal-CoaOqLOw.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-DJNSkODj.mjs +0 -2428
- package/dist/chunks/referencePickerModal-DJNSkODj.mjs.map +0 -1
- package/dist/chunks/usernameToColor-B7GSjspk.cjs +0 -39
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import '../assets/NcBreadcrumb-AES5eSWo.css';
|
|
2
|
+
import { N as NcActions } from "./NcActions-CZe78ai2.mjs";
|
|
3
|
+
import { G as GenRandomId } from "./GenRandomId-CXkjMlAT.mjs";
|
|
4
|
+
import NcButton from "../Components/NcButton.mjs";
|
|
5
|
+
import { C as ChevronRight } from "./ChevronRight-BNa7yMja.mjs";
|
|
6
|
+
import { n as normalizeComponent } from "./_plugin-vue2_normalizer-D637Qkok.mjs";
|
|
7
|
+
const _sfc_main = {
|
|
8
|
+
name: "NcBreadcrumb",
|
|
9
|
+
components: {
|
|
10
|
+
NcActions,
|
|
11
|
+
ChevronRight,
|
|
12
|
+
NcButton
|
|
13
|
+
},
|
|
14
|
+
inheritAttrs: false,
|
|
15
|
+
props: {
|
|
16
|
+
/**
|
|
17
|
+
* The main text content of the entry.
|
|
18
|
+
*/
|
|
19
|
+
name: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: true
|
|
22
|
+
},
|
|
23
|
+
/**
|
|
24
|
+
* The title attribute of the element.
|
|
25
|
+
*/
|
|
26
|
+
title: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: null
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* Route Location the link should navigate to when clicked on.
|
|
32
|
+
*
|
|
33
|
+
* @see https://v3.router.vuejs.org/api/#to
|
|
34
|
+
*/
|
|
35
|
+
to: {
|
|
36
|
+
type: [String, Object],
|
|
37
|
+
default: void 0
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* Match the complete route attributes (query and hash included)
|
|
41
|
+
*
|
|
42
|
+
* @see https://v3.router.vuejs.org/api/#exact
|
|
43
|
+
*/
|
|
44
|
+
exact: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
},
|
|
48
|
+
/**
|
|
49
|
+
* Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.
|
|
50
|
+
*/
|
|
51
|
+
href: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: void 0
|
|
54
|
+
},
|
|
55
|
+
/**
|
|
56
|
+
* Set a css icon-class to show an icon along name text (if forceIconText is provided, otherwise just icon).
|
|
57
|
+
*/
|
|
58
|
+
icon: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: ""
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Enables text to accompany the icon, if the icon was provided. The text that will be displayed is the name prop.
|
|
64
|
+
*/
|
|
65
|
+
forceIconText: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: false
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* Disable dropping on this breadcrumb.
|
|
71
|
+
*/
|
|
72
|
+
disableDrop: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: false
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Force the actions to display in a three dot menu
|
|
78
|
+
*/
|
|
79
|
+
forceMenu: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: false
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* Open state of the Actions menu
|
|
85
|
+
*/
|
|
86
|
+
open: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: false
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
emits: [
|
|
92
|
+
"update:open",
|
|
93
|
+
"dropped"
|
|
94
|
+
],
|
|
95
|
+
data() {
|
|
96
|
+
return {
|
|
97
|
+
/**
|
|
98
|
+
* Variable to track if we hover over the breadcrumb
|
|
99
|
+
*/
|
|
100
|
+
hovering: false,
|
|
101
|
+
/**
|
|
102
|
+
* The unique id of the breadcrumb. Necessary to append the
|
|
103
|
+
* Actions menu to the correct crumb.
|
|
104
|
+
*/
|
|
105
|
+
crumbId: "crumb-id-".concat(GenRandomId())
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
computed: {
|
|
109
|
+
/**
|
|
110
|
+
* The attributes to pass to `router-link` or `a`
|
|
111
|
+
*/
|
|
112
|
+
linkAttributes() {
|
|
113
|
+
return this.to ? { to: this.to, exact: this.exact, ...this.$attrs } : this.href ? { href: this.href, ...this.$attrs } : this.$attrs;
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
methods: {
|
|
117
|
+
/**
|
|
118
|
+
* Function to handle changing the open state of the Actions menu
|
|
119
|
+
* $emit the open state.
|
|
120
|
+
*
|
|
121
|
+
* @param {boolean} open The open state of the Actions menu
|
|
122
|
+
*/
|
|
123
|
+
onOpenChange(open) {
|
|
124
|
+
this.$emit("update:open", open);
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
* Function to handle a drop on the breadcrumb.
|
|
128
|
+
* $emit the event and the path, remove the hovering state.
|
|
129
|
+
*
|
|
130
|
+
* @param {object} e The drop event
|
|
131
|
+
* @return {boolean}
|
|
132
|
+
*/
|
|
133
|
+
dropped(e) {
|
|
134
|
+
if (this.disableDrop) {
|
|
135
|
+
return false;
|
|
136
|
+
}
|
|
137
|
+
this.$emit("dropped", e, this.to || this.href);
|
|
138
|
+
this.$parent.$emit("dropped", e, this.to || this.href);
|
|
139
|
+
this.hovering = false;
|
|
140
|
+
return false;
|
|
141
|
+
},
|
|
142
|
+
/**
|
|
143
|
+
* Add the hovering state on drag enter
|
|
144
|
+
*
|
|
145
|
+
* @param {object} e The drag enter event
|
|
146
|
+
*/
|
|
147
|
+
dragEnter(e) {
|
|
148
|
+
if (this.disableDrop) {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
this.hovering = true;
|
|
152
|
+
},
|
|
153
|
+
/**
|
|
154
|
+
* Remove the hovering state on drag leave
|
|
155
|
+
*
|
|
156
|
+
* @param {object} e The drag leave event
|
|
157
|
+
*/
|
|
158
|
+
dragLeave(e) {
|
|
159
|
+
if (this.disableDrop) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
if (e.target.contains(e.relatedTarget) || this.$refs.crumb.contains(e.relatedTarget)) {
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
this.hovering = false;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
var _sfc_render = function render() {
|
|
170
|
+
var _vm = this, _c = _vm._self._c;
|
|
171
|
+
return _c("li", _vm._b({ ref: "crumb", staticClass: "vue-crumb", class: { "vue-crumb--hovered": _vm.hovering }, attrs: { "draggable": "false" }, on: { "dragstart": function($event) {
|
|
172
|
+
$event.preventDefault();
|
|
173
|
+
return (() => {
|
|
174
|
+
}).apply(null, arguments);
|
|
175
|
+
}, "drop": function($event) {
|
|
176
|
+
$event.preventDefault();
|
|
177
|
+
return _vm.dropped.apply(null, arguments);
|
|
178
|
+
}, "dragover": function($event) {
|
|
179
|
+
$event.preventDefault();
|
|
180
|
+
return (() => {
|
|
181
|
+
}).apply(null, arguments);
|
|
182
|
+
}, "dragenter": _vm.dragEnter, "dragleave": _vm.dragLeave } }, "li", _vm._d({}, [_vm.crumbId, ""])), [(_vm.name || _vm.icon || _vm.$slots.icon) && !_vm.$slots.default ? _c("NcButton", _vm._g(_vm._b({ attrs: { "title": _vm.title, "aria-label": _vm.icon ? _vm.name : void 0, "type": "tertiary" }, scopedSlots: _vm._u([_vm.$slots.icon || _vm.icon ? { key: "icon", fn: function() {
|
|
183
|
+
return [_vm._t("icon", function() {
|
|
184
|
+
return [_c("span", { staticClass: "icon", class: _vm.icon })];
|
|
185
|
+
})];
|
|
186
|
+
}, proxy: true } : null, !(_vm.$slots.icon || _vm.icon) || _vm.forceIconText ? { key: "default", fn: function() {
|
|
187
|
+
return [_vm._v(" " + _vm._s(_vm.name) + " ")];
|
|
188
|
+
}, proxy: true } : null], null, true) }, "NcButton", _vm.linkAttributes, false), _vm.$listeners)) : _vm._e(), _vm.$slots.default ? _c("NcActions", { ref: "actions", attrs: { "type": "tertiary", "force-menu": _vm.forceMenu, "open": _vm.open, "menu-name": _vm.name, "title": _vm.title, "force-name": true, "container": ".vue-crumb[".concat(_vm.crumbId, "]") }, on: { "update:open": _vm.onOpenChange }, scopedSlots: _vm._u([{ key: "icon", fn: function() {
|
|
189
|
+
return [_vm._t("menu-icon")];
|
|
190
|
+
}, proxy: true }], null, true) }, [_vm._t("default")], 2) : _vm._e(), _c("ChevronRight", { staticClass: "vue-crumb__separator", attrs: { "size": 20 } })], 1);
|
|
191
|
+
};
|
|
192
|
+
var _sfc_staticRenderFns = [];
|
|
193
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
194
|
+
_sfc_main,
|
|
195
|
+
_sfc_render,
|
|
196
|
+
_sfc_staticRenderFns,
|
|
197
|
+
false,
|
|
198
|
+
null,
|
|
199
|
+
"fe4740ac",
|
|
200
|
+
null,
|
|
201
|
+
null
|
|
202
|
+
);
|
|
203
|
+
const NcBreadcrumb = __component__.exports;
|
|
204
|
+
export {
|
|
205
|
+
NcBreadcrumb as N
|
|
206
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcBreadcrumb-BerOYeSO.mjs","sources":["../../src/components/NcBreadcrumb/NcBreadcrumb.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\n\n### General description\n\nThis component is meant to be used inside a Breadcrumbs component.\nRenders a button element when given no redirection props, otherwise, renders <a/> or <router-link/> elements\n\n</docs>\n\n<template>\n\t<li ref=\"crumb\"\n\t\tclass=\"vue-crumb\"\n\t\t:class=\"{'vue-crumb--hovered': hovering}\"\n\t\t:[crumbId]=\"''\"\n\t\tdraggable=\"false\"\n\t\t@dragstart.prevent=\"() => {/** Prevent the breadcrumb from being draggable. */}\"\n\t\t@drop.prevent=\"dropped\"\n\t\t@dragover.prevent=\"() => {}\"\n\t\t@dragenter=\"dragEnter\"\n\t\t@dragleave=\"dragLeave\">\n\t\t<NcButton v-if=\"(name || icon || $slots.icon) && !$slots.default\"\n\t\t\t:title=\"title\"\n\t\t\t:aria-label=\"icon ? name : undefined\"\n\t\t\ttype=\"tertiary\"\n\t\t\tv-bind=\"linkAttributes\"\n\t\t\tv-on=\"$listeners\">\n\t\t\t<template v-if=\"$slots.icon || icon\" #icon>\n\t\t\t\t<!-- @slot Slot for passing a material design icon. Precedes the icon and name prop. -->\n\t\t\t\t<slot name=\"icon\">\n\t\t\t\t\t<span :class=\"icon\" class=\"icon\" />\n\t\t\t\t</slot>\n\t\t\t</template>\n\t\t\t<template v-if=\"!($slots.icon || icon) || forceIconText\" #default>\n\t\t\t\t{{ name }}\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcActions v-if=\"$slots.default\"\n\t\t\tref=\"actions\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:force-menu=\"forceMenu\"\n\t\t\t:open=\"open\"\n\t\t\t:menu-name=\"name\"\n\t\t\t:title=\"title\"\n\t\t\t:force-name=\"true\"\n\t\t\t:container=\"`.vue-crumb[${crumbId}]`\"\n\t\t\t@update:open=\"onOpenChange\">\n\t\t\t<template #icon>\n\t\t\t\t<!-- @slot Slot for the custom menu icon -->\n\t\t\t\t<slot name=\"menu-icon\" />\n\t\t\t</template>\n\t\t\t<!-- @slot All action elements passed into the default slot will be used -->\n\t\t\t<slot />\n\t\t</NcActions>\n\t\t<ChevronRight class=\"vue-crumb__separator\" :size=\"20\" />\n\t</li>\n</template>\n\n<script>\nimport NcActions from '../NcActions/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport NcButton from '../NcButton/NcButton.vue'\n\nimport ChevronRight from 'vue-material-design-icons/ChevronRight.vue'\n\nexport default {\n\tname: 'NcBreadcrumb',\n\tcomponents: {\n\t\tNcActions,\n\t\tChevronRight,\n\t\tNcButton,\n\t},\n\tinheritAttrs: false,\n\tprops: {\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\trequired: true,\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: null,\n\t\t},\n\n\t\t/**\n\t\t * Route Location the link should navigate to when clicked on.\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#to\n\t\t */\n\t\tto: {\n\t\t\ttype: [String, Object],\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Match the complete route attributes (query and hash included)\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#exact\n\t\t */\n\t\texact: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.\n\t\t */\n\t\thref: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Set a css icon-class to show an icon along name text (if forceIconText is provided, otherwise just icon).\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Enables text to accompany the icon, if the icon was provided. The text that will be displayed is the name prop.\n\t\t */\n\t\tforceIconText: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Disable dropping on this breadcrumb.\n\t\t */\n\t\tdisableDrop: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Force the actions to display in a three dot menu\n\t\t */\n\t\tforceMenu: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Open state of the Actions menu\n\t\t */\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\temits: [\n\t\t'update:open',\n\t\t'dropped',\n\t],\n\tdata() {\n\t\treturn {\n\t\t\t/**\n\t\t\t * Variable to track if we hover over the breadcrumb\n\t\t\t */\n\t\t\thovering: false,\n\t\t\t/**\n\t\t\t * The unique id of the breadcrumb. Necessary to append the\n\t\t\t * Actions menu to the correct crumb.\n\t\t\t */\n\t\t\tcrumbId: `crumb-id-${GenRandomId()}`,\n\t\t}\n\t},\n\tcomputed: {\n\t\t/**\n\t\t * The attributes to pass to `router-link` or `a`\n\t\t */\n\t\tlinkAttributes() {\n\t\t\t// If it's a router-link, we pass `to` and `exact`, if its an <a/> element, we pass `href`, otherwise we have a button\n\t\t\treturn this.to\n\t\t\t\t? { to: this.to, exact: this.exact, ...this.$attrs }\n\t\t\t\t: (this.href\n\t\t\t\t\t? { href: this.href, ...this.$attrs }\n\t\t\t\t\t: this.$attrs\n\t\t\t\t)\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Function to handle changing the open state of the Actions menu\n\t\t * $emit the open state.\n\t\t *\n\t\t * @param {boolean} open The open state of the Actions menu\n\t\t */\n\t\tonOpenChange(open) {\n\t\t\t/**\n\t\t\t * Event emitted when the open state of the Actions menu changes\n\t\t\t *\n\t\t\t * @type {null}\n\t\t\t */\n\t\t\tthis.$emit('update:open', open)\n\t\t},\n\t\t/**\n\t\t * Function to handle a drop on the breadcrumb.\n\t\t * $emit the event and the path, remove the hovering state.\n\t\t *\n\t\t * @param {object} e The drop event\n\t\t * @return {boolean}\n\t\t */\n\t\tdropped(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\t/**\n\t\t\t * Event emitted when something is dropped on the breadcrumb.\n\t\t\t *\n\t\t\t * @param {Event} event The DOM drop event\n\t\t\t * @param {(string|object)} to The `to` prop or, if not set, the `href` prop\n\t\t\t */\n\t\t\tthis.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.$parent.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.hovering = false\n\t\t\treturn false\n\t\t},\n\t\t/**\n\t\t * Add the hovering state on drag enter\n\t\t *\n\t\t * @param {object} e The drag enter event\n\t\t */\n\t\tdragEnter(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = true\n\t\t},\n\t\t/**\n\t\t * Remove the hovering state on drag leave\n\t\t *\n\t\t * @param {object} e The drag leave event\n\t\t */\n\t\tdragLeave(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\t// Don't do anything if we\n\t\t\t// - leave towards a child element.\n\t\t\t// - or are still within the crumb\n\t\t\tif (e.target.contains(e.relatedTarget)\n\t\t\t\t|| this.$refs.crumb.contains(e.relatedTarget)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = false\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.vue-crumb {\n\tbackground-image: none;\n\tdisplay: inline-flex;\n\theight: $clickable-area;\n\tpadding: 0;\n\n\t&:last-child {\n\t\tmin-width: 0;\n\n\t\t// Don't show breadcrumb separator for last crumb\n\t\t.vue-crumb__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t// Necessary to hide hidden crumbs\n\t&--hidden {\n\t\tdisplay: none;\n\t}\n\t&__separator {\n\t\tpadding: 0;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\t// Necessary for indicating hovering for drag and drop\n\t&#{&}--hovered :deep(.button-vue) {\n\t\tbackground-color: var(--color-background-dark);\n\t\tcolor: var(--color-main-text);\n\t}\n\t// Adjust button style\n\t&:not(:last-child) :deep() .button-vue {\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&__text {\n\t\t\tfont-weight: normal;\n\t\t}\n\t}\n\t:deep(.button-vue__text) {\n\t\tmargin: 0;\n\t}\n\n\t// Adjust action item appearance for crumbs with actions\n\t// to match other crumbs\n\t&:not(.dropdown) :deep(.action-item) {\n\t\t// Adjustments necessary to correctly shrink on small screens\n\t\tmax-width: 100%;\n\n\t\t.button-vue {\n\t\t\tpadding: 0 4px 0 16px;\n\t\t\tmax-width: 100%;\n\n\t\t\t&__wrapper {\n\t\t\t\tflex-direction: row-reverse;\n\t\t\t}\n\t\t}\n\n\t\t// Adjust the background of the last crumb when the action is open\n\t\t&.action-item--open .action-item__menutoggle {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","NcActions","ChevronRight","NcButton","GenRandomId","open","e"],"mappings":";;;;;AAsFA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAAC;AAAA,EACA;AAAA,EACA,cAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,IAAA;AAAA,MACA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,aAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AACA,WAAA;AAAA;AAAA;AAAA;AAAA,MAIA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKA,SAAA,YAAA,OAAAC,EAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,UAAA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAEA,aAAA,KAAA,KACA,EAAA,IAAA,KAAA,IAAA,OAAA,KAAA,OAAA,GAAA,KAAA,OAAA,IACA,KAAA,OACA,EAAA,MAAA,KAAA,MAAA,GAAA,KAAA,OAAA,IACA,KAAA;AAAA,IAEA;AAAA,EACA;AAAA,EACA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,aAAAC,GAAA;AAMA,WAAA,MAAA,eAAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAAC,GAAA;AAIA,aAAA,KAAA,gBASA,KAAA,MAAA,WAAAA,GAAA,KAAA,MAAA,KAAA,IAAA,GACA,KAAA,QAAA,MAAA,WAAAA,GAAA,KAAA,MAAA,KAAA,IAAA,GACA,KAAA,WAAA,KACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAAA,GAAA;AAIA,MAAA,KAAA,gBAGA,KAAA,WAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAAA,GAAA;AAIA,MAAA,KAAA,eAMAA,EAAA,OAAA,SAAAA,EAAA,aAAA,KACA,KAAA,MAAA,MAAA,SAAAA,EAAA,aAAA,MAGA,KAAA,WAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"NcBreadcrumb-CccFNtmn.mjs","sources":["../../src/components/NcBreadcrumb/NcBreadcrumb.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\n\n### General description\n\nThis component is meant to be used inside a Breadcrumbs component.\nRenders a button element when given no redirection props, otherwise, renders <a/> or <router-link/> elements\n\n</docs>\n\n<template>\n\t<li ref=\"crumb\"\n\t\tclass=\"vue-crumb\"\n\t\t:class=\"{'vue-crumb--hovered': hovering}\"\n\t\t:[crumbId]=\"''\"\n\t\tdraggable=\"false\"\n\t\t@dragstart.prevent=\"() => {/** Prevent the breadcrumb from being draggable. */}\"\n\t\t@drop.prevent=\"dropped\"\n\t\t@dragover.prevent=\"() => {}\"\n\t\t@dragenter=\"dragEnter\"\n\t\t@dragleave=\"dragLeave\">\n\t\t<NcButton v-if=\"(name || icon || $slots.icon) && !$slots.default\"\n\t\t\t:title=\"title\"\n\t\t\t:aria-label=\"icon ? name : undefined\"\n\t\t\ttype=\"tertiary\"\n\t\t\tv-bind=\"linkAttributes\"\n\t\t\tv-on=\"$listeners\">\n\t\t\t<template v-if=\"$slots.icon || icon\" #icon>\n\t\t\t\t<!-- @slot Slot for passing a material design icon. Precedes the icon and name prop. -->\n\t\t\t\t<slot name=\"icon\">\n\t\t\t\t\t<span :class=\"icon\" class=\"icon\" />\n\t\t\t\t</slot>\n\t\t\t</template>\n\t\t\t<template v-if=\"!($slots.icon || icon) || forceIconText\" #default>\n\t\t\t\t{{ name }}\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcActions v-if=\"$slots.default\"\n\t\t\tref=\"actions\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:force-menu=\"forceMenu\"\n\t\t\t:open=\"open\"\n\t\t\t:menu-name=\"name\"\n\t\t\t:title=\"title\"\n\t\t\t:force-name=\"true\"\n\t\t\t:container=\"`.vue-crumb[${crumbId}]`\"\n\t\t\t@update:open=\"onOpenChange\">\n\t\t\t<template #icon>\n\t\t\t\t<!-- @slot Slot for the custom menu icon -->\n\t\t\t\t<slot name=\"menu-icon\" />\n\t\t\t</template>\n\t\t\t<!-- @slot All action elements passed into the default slot will be used -->\n\t\t\t<slot />\n\t\t</NcActions>\n\t\t<ChevronRight class=\"vue-crumb__separator\" :size=\"20\" />\n\t</li>\n</template>\n\n<script>\nimport NcActions from '../NcActions/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport NcButton from '../NcButton/NcButton.vue'\n\nimport ChevronRight from 'vue-material-design-icons/ChevronRight.vue'\n\nexport default {\n\tname: 'NcBreadcrumb',\n\tcomponents: {\n\t\tNcActions,\n\t\tChevronRight,\n\t\tNcButton,\n\t},\n\tinheritAttrs: false,\n\tprops: {\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\trequired: true,\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: null,\n\t\t},\n\n\t\t/**\n\t\t * Route Location the link should navigate to when clicked on.\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#to\n\t\t */\n\t\tto: {\n\t\t\ttype: [String, Object],\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Match the complete route attributes (query and hash included)\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#exact\n\t\t */\n\t\texact: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.\n\t\t */\n\t\thref: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Set a css icon-class to show an icon along name text (if forceIconText is provided, otherwise just icon).\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Enables text to accompany the icon, if the icon was provided. The text that will be displayed is the name prop.\n\t\t */\n\t\tforceIconText: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Disable dropping on this breadcrumb.\n\t\t */\n\t\tdisableDrop: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Force the actions to display in a three dot menu\n\t\t */\n\t\tforceMenu: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Open state of the Actions menu\n\t\t */\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\temits: [\n\t\t'update:open',\n\t\t'dropped',\n\t],\n\tdata() {\n\t\treturn {\n\t\t\t/**\n\t\t\t * Variable to track if we hover over the breadcrumb\n\t\t\t */\n\t\t\thovering: false,\n\t\t\t/**\n\t\t\t * The unique id of the breadcrumb. Necessary to append the\n\t\t\t * Actions menu to the correct crumb.\n\t\t\t */\n\t\t\tcrumbId: `crumb-id-${GenRandomId()}`,\n\t\t}\n\t},\n\tcomputed: {\n\t\t/**\n\t\t * The attributes to pass to `router-link` or `a`\n\t\t */\n\t\tlinkAttributes() {\n\t\t\t// If it's a router-link, we pass `to` and `exact`, if its an <a/> element, we pass `href`, otherwise we have a button\n\t\t\treturn this.to\n\t\t\t\t? { to: this.to, exact: this.exact, ...this.$attrs }\n\t\t\t\t: (this.href\n\t\t\t\t\t? { href: this.href, ...this.$attrs }\n\t\t\t\t\t: this.$attrs\n\t\t\t\t)\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Function to handle changing the open state of the Actions menu\n\t\t * $emit the open state.\n\t\t *\n\t\t * @param {boolean} open The open state of the Actions menu\n\t\t */\n\t\tonOpenChange(open) {\n\t\t\t/**\n\t\t\t * Event emitted when the open state of the Actions menu changes\n\t\t\t *\n\t\t\t * @type {null}\n\t\t\t */\n\t\t\tthis.$emit('update:open', open)\n\t\t},\n\t\t/**\n\t\t * Function to handle a drop on the breadcrumb.\n\t\t * $emit the event and the path, remove the hovering state.\n\t\t *\n\t\t * @param {object} e The drop event\n\t\t * @return {boolean}\n\t\t */\n\t\tdropped(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\t/**\n\t\t\t * Event emitted when something is dropped on the breadcrumb.\n\t\t\t *\n\t\t\t * @param {Event} event The DOM drop event\n\t\t\t * @param {(string|object)} to The `to` prop or, if not set, the `href` prop\n\t\t\t */\n\t\t\tthis.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.$parent.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.hovering = false\n\t\t\treturn false\n\t\t},\n\t\t/**\n\t\t * Add the hovering state on drag enter\n\t\t *\n\t\t * @param {object} e The drag enter event\n\t\t */\n\t\tdragEnter(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = true\n\t\t},\n\t\t/**\n\t\t * Remove the hovering state on drag leave\n\t\t *\n\t\t * @param {object} e The drag leave event\n\t\t */\n\t\tdragLeave(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\t// Don't do anything if we\n\t\t\t// - leave towards a child element.\n\t\t\t// - or are still within the crumb\n\t\t\tif (e.target.contains(e.relatedTarget)\n\t\t\t\t|| this.$refs.crumb.contains(e.relatedTarget)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = false\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.vue-crumb {\n\tbackground-image: none;\n\tdisplay: inline-flex;\n\theight: $clickable-area;\n\tpadding: 0;\n\n\t&:last-child {\n\t\tmin-width: 0;\n\n\t\t// Don't show breadcrumb separator for last crumb\n\t\t.vue-crumb__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t// Necessary to hide hidden crumbs\n\t&--hidden {\n\t\tdisplay: none;\n\t}\n\t&__separator {\n\t\tpadding: 0;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\t// Necessary for indicating hovering for drag and drop\n\t&#{&}--hovered :deep(.button-vue) {\n\t\tbackground-color: var(--color-background-dark);\n\t\tcolor: var(--color-main-text);\n\t}\n\t// Adjust button style\n\t&:not(:last-child) :deep() .button-vue {\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&__text {\n\t\t\tfont-weight: normal;\n\t\t}\n\t}\n\t:deep(.button-vue__text) {\n\t\tmargin: 0;\n\t}\n\n\t// Adjust action item appearance for crumbs with actions\n\t// to match other crumbs\n\t&:not(.dropdown) :deep(.action-item) {\n\t\t// Adjustments necessary to correctly shrink on small screens\n\t\tmax-width: 100%;\n\n\t\t.button-vue {\n\t\t\tpadding: 0 4px 0 16px;\n\t\t\tmax-width: 100%;\n\n\t\t\t&__wrapper {\n\t\t\t\tflex-direction: row-reverse;\n\t\t\t}\n\t\t}\n\n\t\t// Adjust the background of the last crumb when the action is open\n\t\t&.action-item--open .action-item__menutoggle {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":[],"mappings":";;;;;AAsFA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EACA,cAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,IAAA;AAAA,MACA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,aAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AACA,WAAA;AAAA;AAAA;AAAA;AAAA,MAIA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKA,SAAA,YAAA,mBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,UAAA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAEA,aAAA,KAAA,KACA,EAAA,IAAA,KAAA,IAAA,OAAA,KAAA,OAAA,GAAA,KAAA,OAAA,IACA,KAAA,OACA,EAAA,MAAA,KAAA,MAAA,GAAA,KAAA,OAAA,IACA,KAAA;AAAA,IAEA;AAAA,EACA;AAAA,EACA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,aAAA,MAAA;AAMA,WAAA,MAAA,eAAA,IAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAA,GAAA;AAIA,UAAA,KAAA,aAAA;AACA,eAAA;AAAA,MACA;AAOA,WAAA,MAAA,WAAA,GAAA,KAAA,MAAA,KAAA,IAAA;AACA,WAAA,QAAA,MAAA,WAAA,GAAA,KAAA,MAAA,KAAA,IAAA;AACA,WAAA,WAAA;AACA,aAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA,GAAA;AAIA,UAAA,KAAA,aAAA;AACA;AAAA,MACA;AACA,WAAA,WAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA,GAAA;AAIA,UAAA,KAAA,aAAA;AACA;AAAA,MACA;AAIA,UAAA,EAAA,OAAA,SAAA,EAAA,aAAA,KACA,KAAA,MAAA,MAAA,SAAA,EAAA,aAAA,GAAA;AACA;AAAA,MACA;AACA,WAAA,WAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
require('../assets/NcBreadcrumb-AES5eSWo.css');
|
|
2
|
+
"use strict";
|
|
3
|
+
const NcActions = require("./NcActions-ePQTvWyX.cjs");
|
|
4
|
+
const GenRandomId = require("./GenRandomId-kBCcgMJd.cjs");
|
|
5
|
+
const Components_NcButton = require("../Components/NcButton.cjs");
|
|
6
|
+
const ChevronRight = require("./ChevronRight-DVw6mR11.cjs");
|
|
7
|
+
const _pluginVue2_normalizer = require("./_plugin-vue2_normalizer-DbFIE4_M.cjs");
|
|
8
|
+
const _sfc_main = {
|
|
9
|
+
name: "NcBreadcrumb",
|
|
10
|
+
components: {
|
|
11
|
+
NcActions: NcActions.NcActions,
|
|
12
|
+
ChevronRight: ChevronRight.ChevronRight,
|
|
13
|
+
NcButton: Components_NcButton
|
|
14
|
+
},
|
|
15
|
+
inheritAttrs: false,
|
|
16
|
+
props: {
|
|
17
|
+
/**
|
|
18
|
+
* The main text content of the entry.
|
|
19
|
+
*/
|
|
20
|
+
name: {
|
|
21
|
+
type: String,
|
|
22
|
+
required: true
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* The title attribute of the element.
|
|
26
|
+
*/
|
|
27
|
+
title: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: null
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Route Location the link should navigate to when clicked on.
|
|
33
|
+
*
|
|
34
|
+
* @see https://v3.router.vuejs.org/api/#to
|
|
35
|
+
*/
|
|
36
|
+
to: {
|
|
37
|
+
type: [String, Object],
|
|
38
|
+
default: void 0
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* Match the complete route attributes (query and hash included)
|
|
42
|
+
*
|
|
43
|
+
* @see https://v3.router.vuejs.org/api/#exact
|
|
44
|
+
*/
|
|
45
|
+
exact: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: false
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.
|
|
51
|
+
*/
|
|
52
|
+
href: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: void 0
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
* Set a css icon-class to show an icon along name text (if forceIconText is provided, otherwise just icon).
|
|
58
|
+
*/
|
|
59
|
+
icon: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: ""
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* Enables text to accompany the icon, if the icon was provided. The text that will be displayed is the name prop.
|
|
65
|
+
*/
|
|
66
|
+
forceIconText: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: false
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* Disable dropping on this breadcrumb.
|
|
72
|
+
*/
|
|
73
|
+
disableDrop: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Force the actions to display in a three dot menu
|
|
79
|
+
*/
|
|
80
|
+
forceMenu: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: false
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Open state of the Actions menu
|
|
86
|
+
*/
|
|
87
|
+
open: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
default: false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
emits: [
|
|
93
|
+
"update:open",
|
|
94
|
+
"dropped"
|
|
95
|
+
],
|
|
96
|
+
data() {
|
|
97
|
+
return {
|
|
98
|
+
/**
|
|
99
|
+
* Variable to track if we hover over the breadcrumb
|
|
100
|
+
*/
|
|
101
|
+
hovering: false,
|
|
102
|
+
/**
|
|
103
|
+
* The unique id of the breadcrumb. Necessary to append the
|
|
104
|
+
* Actions menu to the correct crumb.
|
|
105
|
+
*/
|
|
106
|
+
crumbId: "crumb-id-".concat(GenRandomId.GenRandomId())
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
computed: {
|
|
110
|
+
/**
|
|
111
|
+
* The attributes to pass to `router-link` or `a`
|
|
112
|
+
*/
|
|
113
|
+
linkAttributes() {
|
|
114
|
+
return this.to ? { to: this.to, exact: this.exact, ...this.$attrs } : this.href ? { href: this.href, ...this.$attrs } : this.$attrs;
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
/**
|
|
119
|
+
* Function to handle changing the open state of the Actions menu
|
|
120
|
+
* $emit the open state.
|
|
121
|
+
*
|
|
122
|
+
* @param {boolean} open The open state of the Actions menu
|
|
123
|
+
*/
|
|
124
|
+
onOpenChange(open) {
|
|
125
|
+
this.$emit("update:open", open);
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* Function to handle a drop on the breadcrumb.
|
|
129
|
+
* $emit the event and the path, remove the hovering state.
|
|
130
|
+
*
|
|
131
|
+
* @param {object} e The drop event
|
|
132
|
+
* @return {boolean}
|
|
133
|
+
*/
|
|
134
|
+
dropped(e) {
|
|
135
|
+
if (this.disableDrop) {
|
|
136
|
+
return false;
|
|
137
|
+
}
|
|
138
|
+
this.$emit("dropped", e, this.to || this.href);
|
|
139
|
+
this.$parent.$emit("dropped", e, this.to || this.href);
|
|
140
|
+
this.hovering = false;
|
|
141
|
+
return false;
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Add the hovering state on drag enter
|
|
145
|
+
*
|
|
146
|
+
* @param {object} e The drag enter event
|
|
147
|
+
*/
|
|
148
|
+
dragEnter(e) {
|
|
149
|
+
if (this.disableDrop) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
this.hovering = true;
|
|
153
|
+
},
|
|
154
|
+
/**
|
|
155
|
+
* Remove the hovering state on drag leave
|
|
156
|
+
*
|
|
157
|
+
* @param {object} e The drag leave event
|
|
158
|
+
*/
|
|
159
|
+
dragLeave(e) {
|
|
160
|
+
if (this.disableDrop) {
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (e.target.contains(e.relatedTarget) || this.$refs.crumb.contains(e.relatedTarget)) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
this.hovering = false;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
var _sfc_render = function render() {
|
|
171
|
+
var _vm = this, _c = _vm._self._c;
|
|
172
|
+
return _c("li", _vm._b({ ref: "crumb", staticClass: "vue-crumb", class: { "vue-crumb--hovered": _vm.hovering }, attrs: { "draggable": "false" }, on: { "dragstart": function($event) {
|
|
173
|
+
$event.preventDefault();
|
|
174
|
+
return (() => {
|
|
175
|
+
}).apply(null, arguments);
|
|
176
|
+
}, "drop": function($event) {
|
|
177
|
+
$event.preventDefault();
|
|
178
|
+
return _vm.dropped.apply(null, arguments);
|
|
179
|
+
}, "dragover": function($event) {
|
|
180
|
+
$event.preventDefault();
|
|
181
|
+
return (() => {
|
|
182
|
+
}).apply(null, arguments);
|
|
183
|
+
}, "dragenter": _vm.dragEnter, "dragleave": _vm.dragLeave } }, "li", _vm._d({}, [_vm.crumbId, ""])), [(_vm.name || _vm.icon || _vm.$slots.icon) && !_vm.$slots.default ? _c("NcButton", _vm._g(_vm._b({ attrs: { "title": _vm.title, "aria-label": _vm.icon ? _vm.name : void 0, "type": "tertiary" }, scopedSlots: _vm._u([_vm.$slots.icon || _vm.icon ? { key: "icon", fn: function() {
|
|
184
|
+
return [_vm._t("icon", function() {
|
|
185
|
+
return [_c("span", { staticClass: "icon", class: _vm.icon })];
|
|
186
|
+
})];
|
|
187
|
+
}, proxy: true } : null, !(_vm.$slots.icon || _vm.icon) || _vm.forceIconText ? { key: "default", fn: function() {
|
|
188
|
+
return [_vm._v(" " + _vm._s(_vm.name) + " ")];
|
|
189
|
+
}, proxy: true } : null], null, true) }, "NcButton", _vm.linkAttributes, false), _vm.$listeners)) : _vm._e(), _vm.$slots.default ? _c("NcActions", { ref: "actions", attrs: { "type": "tertiary", "force-menu": _vm.forceMenu, "open": _vm.open, "menu-name": _vm.name, "title": _vm.title, "force-name": true, "container": ".vue-crumb[".concat(_vm.crumbId, "]") }, on: { "update:open": _vm.onOpenChange }, scopedSlots: _vm._u([{ key: "icon", fn: function() {
|
|
190
|
+
return [_vm._t("menu-icon")];
|
|
191
|
+
}, proxy: true }], null, true) }, [_vm._t("default")], 2) : _vm._e(), _c("ChevronRight", { staticClass: "vue-crumb__separator", attrs: { "size": 20 } })], 1);
|
|
192
|
+
};
|
|
193
|
+
var _sfc_staticRenderFns = [];
|
|
194
|
+
var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
195
|
+
_sfc_main,
|
|
196
|
+
_sfc_render,
|
|
197
|
+
_sfc_staticRenderFns,
|
|
198
|
+
false,
|
|
199
|
+
null,
|
|
200
|
+
"fe4740ac",
|
|
201
|
+
null,
|
|
202
|
+
null
|
|
203
|
+
);
|
|
204
|
+
const NcBreadcrumb = __component__.exports;
|
|
205
|
+
exports.NcBreadcrumb = NcBreadcrumb;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcBreadcrumb-BBZofeFG.cjs","sources":["../../src/components/NcBreadcrumb/NcBreadcrumb.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\n\n### General description\n\nThis component is meant to be used inside a Breadcrumbs component.\nRenders a button element when given no redirection props, otherwise, renders <a/> or <router-link/> elements\n\n</docs>\n\n<template>\n\t<li ref=\"crumb\"\n\t\tclass=\"vue-crumb\"\n\t\t:class=\"{'vue-crumb--hovered': hovering}\"\n\t\t:[crumbId]=\"''\"\n\t\tdraggable=\"false\"\n\t\t@dragstart.prevent=\"() => {/** Prevent the breadcrumb from being draggable. */}\"\n\t\t@drop.prevent=\"dropped\"\n\t\t@dragover.prevent=\"() => {}\"\n\t\t@dragenter=\"dragEnter\"\n\t\t@dragleave=\"dragLeave\">\n\t\t<NcButton v-if=\"(name || icon || $slots.icon) && !$slots.default\"\n\t\t\t:title=\"title\"\n\t\t\t:aria-label=\"icon ? name : undefined\"\n\t\t\ttype=\"tertiary\"\n\t\t\tv-bind=\"linkAttributes\"\n\t\t\tv-on=\"$listeners\">\n\t\t\t<template v-if=\"$slots.icon || icon\" #icon>\n\t\t\t\t<!-- @slot Slot for passing a material design icon. Precedes the icon and name prop. -->\n\t\t\t\t<slot name=\"icon\">\n\t\t\t\t\t<span :class=\"icon\" class=\"icon\" />\n\t\t\t\t</slot>\n\t\t\t</template>\n\t\t\t<template v-if=\"!($slots.icon || icon) || forceIconText\" #default>\n\t\t\t\t{{ name }}\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcActions v-if=\"$slots.default\"\n\t\t\tref=\"actions\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:force-menu=\"forceMenu\"\n\t\t\t:open=\"open\"\n\t\t\t:menu-name=\"name\"\n\t\t\t:title=\"title\"\n\t\t\t:force-name=\"true\"\n\t\t\t:container=\"`.vue-crumb[${crumbId}]`\"\n\t\t\t@update:open=\"onOpenChange\">\n\t\t\t<template #icon>\n\t\t\t\t<!-- @slot Slot for the custom menu icon -->\n\t\t\t\t<slot name=\"menu-icon\" />\n\t\t\t</template>\n\t\t\t<!-- @slot All action elements passed into the default slot will be used -->\n\t\t\t<slot />\n\t\t</NcActions>\n\t\t<ChevronRight class=\"vue-crumb__separator\" :size=\"20\" />\n\t</li>\n</template>\n\n<script>\nimport NcActions from '../NcActions/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport NcButton from '../NcButton/NcButton.vue'\n\nimport ChevronRight from 'vue-material-design-icons/ChevronRight.vue'\n\nexport default {\n\tname: 'NcBreadcrumb',\n\tcomponents: {\n\t\tNcActions,\n\t\tChevronRight,\n\t\tNcButton,\n\t},\n\tinheritAttrs: false,\n\tprops: {\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\trequired: true,\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: null,\n\t\t},\n\n\t\t/**\n\t\t * Route Location the link should navigate to when clicked on.\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#to\n\t\t */\n\t\tto: {\n\t\t\ttype: [String, Object],\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Match the complete route attributes (query and hash included)\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#exact\n\t\t */\n\t\texact: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.\n\t\t */\n\t\thref: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Set a css icon-class to show an icon along name text (if forceIconText is provided, otherwise just icon).\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Enables text to accompany the icon, if the icon was provided. The text that will be displayed is the name prop.\n\t\t */\n\t\tforceIconText: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Disable dropping on this breadcrumb.\n\t\t */\n\t\tdisableDrop: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Force the actions to display in a three dot menu\n\t\t */\n\t\tforceMenu: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Open state of the Actions menu\n\t\t */\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\temits: [\n\t\t'update:open',\n\t\t'dropped',\n\t],\n\tdata() {\n\t\treturn {\n\t\t\t/**\n\t\t\t * Variable to track if we hover over the breadcrumb\n\t\t\t */\n\t\t\thovering: false,\n\t\t\t/**\n\t\t\t * The unique id of the breadcrumb. Necessary to append the\n\t\t\t * Actions menu to the correct crumb.\n\t\t\t */\n\t\t\tcrumbId: `crumb-id-${GenRandomId()}`,\n\t\t}\n\t},\n\tcomputed: {\n\t\t/**\n\t\t * The attributes to pass to `router-link` or `a`\n\t\t */\n\t\tlinkAttributes() {\n\t\t\t// If it's a router-link, we pass `to` and `exact`, if its an <a/> element, we pass `href`, otherwise we have a button\n\t\t\treturn this.to\n\t\t\t\t? { to: this.to, exact: this.exact, ...this.$attrs }\n\t\t\t\t: (this.href\n\t\t\t\t\t? { href: this.href, ...this.$attrs }\n\t\t\t\t\t: this.$attrs\n\t\t\t\t)\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Function to handle changing the open state of the Actions menu\n\t\t * $emit the open state.\n\t\t *\n\t\t * @param {boolean} open The open state of the Actions menu\n\t\t */\n\t\tonOpenChange(open) {\n\t\t\t/**\n\t\t\t * Event emitted when the open state of the Actions menu changes\n\t\t\t *\n\t\t\t * @type {null}\n\t\t\t */\n\t\t\tthis.$emit('update:open', open)\n\t\t},\n\t\t/**\n\t\t * Function to handle a drop on the breadcrumb.\n\t\t * $emit the event and the path, remove the hovering state.\n\t\t *\n\t\t * @param {object} e The drop event\n\t\t * @return {boolean}\n\t\t */\n\t\tdropped(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\t/**\n\t\t\t * Event emitted when something is dropped on the breadcrumb.\n\t\t\t *\n\t\t\t * @param {Event} event The DOM drop event\n\t\t\t * @param {(string|object)} to The `to` prop or, if not set, the `href` prop\n\t\t\t */\n\t\t\tthis.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.$parent.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.hovering = false\n\t\t\treturn false\n\t\t},\n\t\t/**\n\t\t * Add the hovering state on drag enter\n\t\t *\n\t\t * @param {object} e The drag enter event\n\t\t */\n\t\tdragEnter(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = true\n\t\t},\n\t\t/**\n\t\t * Remove the hovering state on drag leave\n\t\t *\n\t\t * @param {object} e The drag leave event\n\t\t */\n\t\tdragLeave(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\t// Don't do anything if we\n\t\t\t// - leave towards a child element.\n\t\t\t// - or are still within the crumb\n\t\t\tif (e.target.contains(e.relatedTarget)\n\t\t\t\t|| this.$refs.crumb.contains(e.relatedTarget)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = false\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.vue-crumb {\n\tbackground-image: none;\n\tdisplay: inline-flex;\n\theight: $clickable-area;\n\tpadding: 0;\n\n\t&:last-child {\n\t\tmin-width: 0;\n\n\t\t// Don't show breadcrumb separator for last crumb\n\t\t.vue-crumb__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t// Necessary to hide hidden crumbs\n\t&--hidden {\n\t\tdisplay: none;\n\t}\n\t&__separator {\n\t\tpadding: 0;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\t// Necessary for indicating hovering for drag and drop\n\t&#{&}--hovered :deep(.button-vue) {\n\t\tbackground-color: var(--color-background-dark);\n\t\tcolor: var(--color-main-text);\n\t}\n\t// Adjust button style\n\t&:not(:last-child) :deep() .button-vue {\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&__text {\n\t\t\tfont-weight: normal;\n\t\t}\n\t}\n\t:deep(.button-vue__text) {\n\t\tmargin: 0;\n\t}\n\n\t// Adjust action item appearance for crumbs with actions\n\t// to match other crumbs\n\t&:not(.dropdown) :deep(.action-item) {\n\t\t// Adjustments necessary to correctly shrink on small screens\n\t\tmax-width: 100%;\n\n\t\t.button-vue {\n\t\t\tpadding: 0 4px 0 16px;\n\t\t\tmax-width: 100%;\n\n\t\t\t&__wrapper {\n\t\t\t\tflex-direction: row-reverse;\n\t\t\t}\n\t\t}\n\n\t\t// Adjust the background of the last crumb when the action is open\n\t\t&.action-item--open .action-item__menutoggle {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","NcActions","ChevronRight","NcButton","GenRandomId","open","e"],"mappings":";wOAsFAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,WAAAC,EAAA;AAAA,IACA,cAAAC,EAAA;AAAA,IACA,UAAAC;AAAAA,EACA;AAAA,EACA,cAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,IAAA;AAAA,MACA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,aAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AACA,WAAA;AAAA;AAAA;AAAA;AAAA,MAIA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKA,SAAA,YAAAC,OAAAA,EAAA,YAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,UAAA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAEA,aAAA,KAAA,KACA,EAAA,IAAA,KAAA,IAAA,OAAA,KAAA,OAAA,GAAA,KAAA,OAAA,IACA,KAAA,OACA,EAAA,MAAA,KAAA,MAAA,GAAA,KAAA,OAAA,IACA,KAAA;AAAA,IAEA;AAAA,EACA;AAAA,EACA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,aAAAC,GAAA;AAMA,WAAA,MAAA,eAAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAAC,GAAA;AAIA,aAAA,KAAA,gBASA,KAAA,MAAA,WAAAA,GAAA,KAAA,MAAA,KAAA,IAAA,GACA,KAAA,QAAA,MAAA,WAAAA,GAAA,KAAA,MAAA,KAAA,IAAA,GACA,KAAA,WAAA,KACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAAA,GAAA;AAIA,MAAA,KAAA,gBAGA,KAAA,WAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAAA,GAAA;AAIA,MAAA,KAAA,eAMAA,EAAA,OAAA,SAAAA,EAAA,aAAA,KACA,KAAA,MAAA,MAAA,SAAAA,EAAA,aAAA,MAGA,KAAA,WAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"NcBreadcrumb-D_B838UO.cjs","sources":["../../src/components/NcBreadcrumb/NcBreadcrumb.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\n\n### General description\n\nThis component is meant to be used inside a Breadcrumbs component.\nRenders a button element when given no redirection props, otherwise, renders <a/> or <router-link/> elements\n\n</docs>\n\n<template>\n\t<li ref=\"crumb\"\n\t\tclass=\"vue-crumb\"\n\t\t:class=\"{'vue-crumb--hovered': hovering}\"\n\t\t:[crumbId]=\"''\"\n\t\tdraggable=\"false\"\n\t\t@dragstart.prevent=\"() => {/** Prevent the breadcrumb from being draggable. */}\"\n\t\t@drop.prevent=\"dropped\"\n\t\t@dragover.prevent=\"() => {}\"\n\t\t@dragenter=\"dragEnter\"\n\t\t@dragleave=\"dragLeave\">\n\t\t<NcButton v-if=\"(name || icon || $slots.icon) && !$slots.default\"\n\t\t\t:title=\"title\"\n\t\t\t:aria-label=\"icon ? name : undefined\"\n\t\t\ttype=\"tertiary\"\n\t\t\tv-bind=\"linkAttributes\"\n\t\t\tv-on=\"$listeners\">\n\t\t\t<template v-if=\"$slots.icon || icon\" #icon>\n\t\t\t\t<!-- @slot Slot for passing a material design icon. Precedes the icon and name prop. -->\n\t\t\t\t<slot name=\"icon\">\n\t\t\t\t\t<span :class=\"icon\" class=\"icon\" />\n\t\t\t\t</slot>\n\t\t\t</template>\n\t\t\t<template v-if=\"!($slots.icon || icon) || forceIconText\" #default>\n\t\t\t\t{{ name }}\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcActions v-if=\"$slots.default\"\n\t\t\tref=\"actions\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:force-menu=\"forceMenu\"\n\t\t\t:open=\"open\"\n\t\t\t:menu-name=\"name\"\n\t\t\t:title=\"title\"\n\t\t\t:force-name=\"true\"\n\t\t\t:container=\"`.vue-crumb[${crumbId}]`\"\n\t\t\t@update:open=\"onOpenChange\">\n\t\t\t<template #icon>\n\t\t\t\t<!-- @slot Slot for the custom menu icon -->\n\t\t\t\t<slot name=\"menu-icon\" />\n\t\t\t</template>\n\t\t\t<!-- @slot All action elements passed into the default slot will be used -->\n\t\t\t<slot />\n\t\t</NcActions>\n\t\t<ChevronRight class=\"vue-crumb__separator\" :size=\"20\" />\n\t</li>\n</template>\n\n<script>\nimport NcActions from '../NcActions/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport NcButton from '../NcButton/NcButton.vue'\n\nimport ChevronRight from 'vue-material-design-icons/ChevronRight.vue'\n\nexport default {\n\tname: 'NcBreadcrumb',\n\tcomponents: {\n\t\tNcActions,\n\t\tChevronRight,\n\t\tNcButton,\n\t},\n\tinheritAttrs: false,\n\tprops: {\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\trequired: true,\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: null,\n\t\t},\n\n\t\t/**\n\t\t * Route Location the link should navigate to when clicked on.\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#to\n\t\t */\n\t\tto: {\n\t\t\ttype: [String, Object],\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Match the complete route attributes (query and hash included)\n\t\t *\n\t\t * @see https://v3.router.vuejs.org/api/#exact\n\t\t */\n\t\texact: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.\n\t\t */\n\t\thref: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Set a css icon-class to show an icon along name text (if forceIconText is provided, otherwise just icon).\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Enables text to accompany the icon, if the icon was provided. The text that will be displayed is the name prop.\n\t\t */\n\t\tforceIconText: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Disable dropping on this breadcrumb.\n\t\t */\n\t\tdisableDrop: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Force the actions to display in a three dot menu\n\t\t */\n\t\tforceMenu: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Open state of the Actions menu\n\t\t */\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\temits: [\n\t\t'update:open',\n\t\t'dropped',\n\t],\n\tdata() {\n\t\treturn {\n\t\t\t/**\n\t\t\t * Variable to track if we hover over the breadcrumb\n\t\t\t */\n\t\t\thovering: false,\n\t\t\t/**\n\t\t\t * The unique id of the breadcrumb. Necessary to append the\n\t\t\t * Actions menu to the correct crumb.\n\t\t\t */\n\t\t\tcrumbId: `crumb-id-${GenRandomId()}`,\n\t\t}\n\t},\n\tcomputed: {\n\t\t/**\n\t\t * The attributes to pass to `router-link` or `a`\n\t\t */\n\t\tlinkAttributes() {\n\t\t\t// If it's a router-link, we pass `to` and `exact`, if its an <a/> element, we pass `href`, otherwise we have a button\n\t\t\treturn this.to\n\t\t\t\t? { to: this.to, exact: this.exact, ...this.$attrs }\n\t\t\t\t: (this.href\n\t\t\t\t\t? { href: this.href, ...this.$attrs }\n\t\t\t\t\t: this.$attrs\n\t\t\t\t)\n\t\t},\n\t},\n\tmethods: {\n\t\t/**\n\t\t * Function to handle changing the open state of the Actions menu\n\t\t * $emit the open state.\n\t\t *\n\t\t * @param {boolean} open The open state of the Actions menu\n\t\t */\n\t\tonOpenChange(open) {\n\t\t\t/**\n\t\t\t * Event emitted when the open state of the Actions menu changes\n\t\t\t *\n\t\t\t * @type {null}\n\t\t\t */\n\t\t\tthis.$emit('update:open', open)\n\t\t},\n\t\t/**\n\t\t * Function to handle a drop on the breadcrumb.\n\t\t * $emit the event and the path, remove the hovering state.\n\t\t *\n\t\t * @param {object} e The drop event\n\t\t * @return {boolean}\n\t\t */\n\t\tdropped(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\t/**\n\t\t\t * Event emitted when something is dropped on the breadcrumb.\n\t\t\t *\n\t\t\t * @param {Event} event The DOM drop event\n\t\t\t * @param {(string|object)} to The `to` prop or, if not set, the `href` prop\n\t\t\t */\n\t\t\tthis.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.$parent.$emit('dropped', e, this.to || this.href)\n\t\t\tthis.hovering = false\n\t\t\treturn false\n\t\t},\n\t\t/**\n\t\t * Add the hovering state on drag enter\n\t\t *\n\t\t * @param {object} e The drag enter event\n\t\t */\n\t\tdragEnter(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = true\n\t\t},\n\t\t/**\n\t\t * Remove the hovering state on drag leave\n\t\t *\n\t\t * @param {object} e The drag leave event\n\t\t */\n\t\tdragLeave(e) {\n\t\t\t/**\n\t\t\t * Don't do anything if dropping is disabled.\n\t\t\t */\n\t\t\tif (this.disableDrop) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\t// Don't do anything if we\n\t\t\t// - leave towards a child element.\n\t\t\t// - or are still within the crumb\n\t\t\tif (e.target.contains(e.relatedTarget)\n\t\t\t\t|| this.$refs.crumb.contains(e.relatedTarget)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.hovering = false\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.vue-crumb {\n\tbackground-image: none;\n\tdisplay: inline-flex;\n\theight: $clickable-area;\n\tpadding: 0;\n\n\t&:last-child {\n\t\tmin-width: 0;\n\n\t\t// Don't show breadcrumb separator for last crumb\n\t\t.vue-crumb__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t// Necessary to hide hidden crumbs\n\t&--hidden {\n\t\tdisplay: none;\n\t}\n\t&__separator {\n\t\tpadding: 0;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\t// Necessary for indicating hovering for drag and drop\n\t&#{&}--hovered :deep(.button-vue) {\n\t\tbackground-color: var(--color-background-dark);\n\t\tcolor: var(--color-main-text);\n\t}\n\t// Adjust button style\n\t&:not(:last-child) :deep() .button-vue {\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&__text {\n\t\t\tfont-weight: normal;\n\t\t}\n\t}\n\t:deep(.button-vue__text) {\n\t\tmargin: 0;\n\t}\n\n\t// Adjust action item appearance for crumbs with actions\n\t// to match other crumbs\n\t&:not(.dropdown) :deep(.action-item) {\n\t\t// Adjustments necessary to correctly shrink on small screens\n\t\tmax-width: 100%;\n\n\t\t.button-vue {\n\t\t\tpadding: 0 4px 0 16px;\n\t\t\tmax-width: 100%;\n\n\t\t\t&__wrapper {\n\t\t\t\tflex-direction: row-reverse;\n\t\t\t}\n\t\t}\n\n\t\t// Adjust the background of the last crumb when the action is open\n\t\t&.action-item--open .action-item__menutoggle {\n\t\t\tbackground-color: var(--color-background-dark);\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":["NcActions","ChevronRight","NcButton","GenRandomId"],"mappings":";;;;;;AAsFA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,WAAAA,UAAA;AAAA,IACA,cAAAC,aAAA;AAAA,IACA,UAAAC;AAAAA,EACA;AAAA,EACA,cAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,IAAA;AAAA,MACA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,aAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA;AACA,WAAA;AAAA;AAAA;AAAA;AAAA,MAIA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKA,SAAA,YAAAC,mBAAA,YAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,UAAA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAEA,aAAA,KAAA,KACA,EAAA,IAAA,KAAA,IAAA,OAAA,KAAA,OAAA,GAAA,KAAA,OAAA,IACA,KAAA,OACA,EAAA,MAAA,KAAA,MAAA,GAAA,KAAA,OAAA,IACA,KAAA;AAAA,IAEA;AAAA,EACA;AAAA,EACA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,aAAA,MAAA;AAMA,WAAA,MAAA,eAAA,IAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAA,GAAA;AAIA,UAAA,KAAA,aAAA;AACA,eAAA;AAAA,MACA;AAOA,WAAA,MAAA,WAAA,GAAA,KAAA,MAAA,KAAA,IAAA;AACA,WAAA,QAAA,MAAA,WAAA,GAAA,KAAA,MAAA,KAAA,IAAA;AACA,WAAA,WAAA;AACA,aAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA,GAAA;AAIA,UAAA,KAAA,aAAA;AACA;AAAA,MACA;AACA,WAAA,WAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA,GAAA;AAIA,UAAA,KAAA,aAAA;AACA;AAAA,MACA;AAIA,UAAA,EAAA,OAAA,SAAA,EAAA,aAAA,KACA,KAAA,MAAA,MAAA,SAAA,EAAA,aAAA,GAAA;AACA;AAAA,MACA;AACA,WAAA,WAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|