@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
|
@@ -1,2408 +0,0 @@
|
|
|
1
|
-
require('../assets/referencePickerModal-DWB2ghBg.css');
|
|
2
|
-
"use strict";
|
|
3
|
-
const k = require("./index-Bh9FEWbr.cjs"), $ = require("./_plugin-vue2_normalizer-GXKvuwrq.cjs"), y = require("./_l10n-BVVVUgGU.cjs"), Ot = require("@nextcloud/axios"), Xe = require("@nextcloud/initial-state"), W = require("@nextcloud/router"), me = require("../Components/NcEmptyContent.cjs"), Ye = require("./index-Cke9rKBg.cjs"), Ze = require("./NcSelect-C58Mm9lZ.cjs"), Oe = require("@vueuse/core"), Q = require("vue"), $t = require("./autolink-D0rLUkqm.cjs"), et = require("../Components/NcButton.cjs"), Lt = require("../Components/NcLoadingIcon.cjs"), Tt = require("./NcTextField-DKppZoIo.cjs"), It = require("./DotsHorizontal-B8kTqpHe.cjs"), Vt = require("../Components/NcModal.cjs"), At = require("@nextcloud/event-bus"), qt = require("./ArrowLeft-CjNnGIlF.cjs"), Bt = require("./Close-DBfrdXMw.cjs"), tt = (t) => t && t.__esModule ? t : { default: t }, ge = /* @__PURE__ */ tt(Ot), jt = /* @__PURE__ */ tt(Q);
|
|
4
|
-
/*!
|
|
5
|
-
* vue-router v3.6.5
|
|
6
|
-
* (c) 2022 Evan You
|
|
7
|
-
* @license MIT
|
|
8
|
-
*/
|
|
9
|
-
function A(t, e) {
|
|
10
|
-
if (!t)
|
|
11
|
-
throw new Error("[vue-router] " + e);
|
|
12
|
-
}
|
|
13
|
-
function P(t, e) {
|
|
14
|
-
t || typeof console < "u" && console.warn("[vue-router] " + e);
|
|
15
|
-
}
|
|
16
|
-
function x(t, e) {
|
|
17
|
-
for (var r in e)
|
|
18
|
-
t[r] = e[r];
|
|
19
|
-
return t;
|
|
20
|
-
}
|
|
21
|
-
var Mt = /[!'()*]/g, Ut = function(t) {
|
|
22
|
-
return "%" + t.charCodeAt(0).toString(16);
|
|
23
|
-
}, zt = /%2C/g, B = function(t) {
|
|
24
|
-
return encodeURIComponent(t).replace(Mt, Ut).replace(zt, ",");
|
|
25
|
-
};
|
|
26
|
-
function fe(t) {
|
|
27
|
-
try {
|
|
28
|
-
return decodeURIComponent(t);
|
|
29
|
-
} catch {
|
|
30
|
-
process.env.NODE_ENV !== "production" && P(!1, 'Error decoding "' + t + '". Leaving it intact.');
|
|
31
|
-
}
|
|
32
|
-
return t;
|
|
33
|
-
}
|
|
34
|
-
function Dt(t, e, r) {
|
|
35
|
-
e === void 0 && (e = {});
|
|
36
|
-
var n = r || Wt, i;
|
|
37
|
-
try {
|
|
38
|
-
i = n(t || "");
|
|
39
|
-
} catch (a) {
|
|
40
|
-
process.env.NODE_ENV !== "production" && P(!1, a.message), i = {};
|
|
41
|
-
}
|
|
42
|
-
for (var s in e) {
|
|
43
|
-
var o = e[s];
|
|
44
|
-
i[s] = Array.isArray(o) ? o.map($e) : $e(o);
|
|
45
|
-
}
|
|
46
|
-
return i;
|
|
47
|
-
}
|
|
48
|
-
var $e = function(t) {
|
|
49
|
-
return t == null || typeof t == "object" ? t : String(t);
|
|
50
|
-
};
|
|
51
|
-
function Wt(t) {
|
|
52
|
-
var e = {};
|
|
53
|
-
return t = t.trim().replace(/^(\?|#|&)/, ""), t && t.split("&").forEach(function(r) {
|
|
54
|
-
var n = r.replace(/\+/g, " ").split("="), i = fe(n.shift()), s = n.length > 0 ? fe(n.join("=")) : null;
|
|
55
|
-
e[i] === void 0 ? e[i] = s : Array.isArray(e[i]) ? e[i].push(s) : e[i] = [e[i], s];
|
|
56
|
-
}), e;
|
|
57
|
-
}
|
|
58
|
-
function Ft(t) {
|
|
59
|
-
var e = t ? Object.keys(t).map(function(r) {
|
|
60
|
-
var n = t[r];
|
|
61
|
-
if (n === void 0)
|
|
62
|
-
return "";
|
|
63
|
-
if (n === null)
|
|
64
|
-
return B(r);
|
|
65
|
-
if (Array.isArray(n)) {
|
|
66
|
-
var i = [];
|
|
67
|
-
return n.forEach(function(s) {
|
|
68
|
-
s !== void 0 && (s === null ? i.push(B(r)) : i.push(B(r) + "=" + B(s)));
|
|
69
|
-
}), i.join("&");
|
|
70
|
-
}
|
|
71
|
-
return B(r) + "=" + B(n);
|
|
72
|
-
}).filter(function(r) {
|
|
73
|
-
return r.length > 0;
|
|
74
|
-
}).join("&") : null;
|
|
75
|
-
return e ? "?" + e : "";
|
|
76
|
-
}
|
|
77
|
-
var ee = /\/?$/;
|
|
78
|
-
function te(t, e, r, n) {
|
|
79
|
-
var i = n && n.options.stringifyQuery, s = e.query || {};
|
|
80
|
-
try {
|
|
81
|
-
s = he(s);
|
|
82
|
-
} catch {
|
|
83
|
-
}
|
|
84
|
-
var o = {
|
|
85
|
-
name: e.name || t && t.name,
|
|
86
|
-
meta: t && t.meta || {},
|
|
87
|
-
path: e.path || "/",
|
|
88
|
-
hash: e.hash || "",
|
|
89
|
-
query: s,
|
|
90
|
-
params: e.params || {},
|
|
91
|
-
fullPath: Le(e, i),
|
|
92
|
-
matched: t ? Ht(t) : []
|
|
93
|
-
};
|
|
94
|
-
return r && (o.redirectedFrom = Le(r, i)), Object.freeze(o);
|
|
95
|
-
}
|
|
96
|
-
function he(t) {
|
|
97
|
-
if (Array.isArray(t))
|
|
98
|
-
return t.map(he);
|
|
99
|
-
if (t && typeof t == "object") {
|
|
100
|
-
var e = {};
|
|
101
|
-
for (var r in t)
|
|
102
|
-
e[r] = he(t[r]);
|
|
103
|
-
return e;
|
|
104
|
-
} else
|
|
105
|
-
return t;
|
|
106
|
-
}
|
|
107
|
-
var V = te(null, {
|
|
108
|
-
path: "/"
|
|
109
|
-
});
|
|
110
|
-
function Ht(t) {
|
|
111
|
-
for (var e = []; t; )
|
|
112
|
-
e.unshift(t), t = t.parent;
|
|
113
|
-
return e;
|
|
114
|
-
}
|
|
115
|
-
function Le(t, e) {
|
|
116
|
-
var r = t.path, n = t.query;
|
|
117
|
-
n === void 0 && (n = {});
|
|
118
|
-
var i = t.hash;
|
|
119
|
-
i === void 0 && (i = "");
|
|
120
|
-
var s = e || Ft;
|
|
121
|
-
return (r || "/") + s(n) + i;
|
|
122
|
-
}
|
|
123
|
-
function rt(t, e, r) {
|
|
124
|
-
return e === V ? t === e : e ? t.path && e.path ? t.path.replace(ee, "") === e.path.replace(ee, "") && (r || t.hash === e.hash && K(t.query, e.query)) : t.name && e.name ? t.name === e.name && (r || t.hash === e.hash && K(t.query, e.query) && K(t.params, e.params)) : !1 : !1;
|
|
125
|
-
}
|
|
126
|
-
function K(t, e) {
|
|
127
|
-
if (t === void 0 && (t = {}), e === void 0 && (e = {}), !t || !e)
|
|
128
|
-
return t === e;
|
|
129
|
-
var r = Object.keys(t).sort(), n = Object.keys(e).sort();
|
|
130
|
-
return r.length !== n.length ? !1 : r.every(function(i, s) {
|
|
131
|
-
var o = t[i], a = n[s];
|
|
132
|
-
if (a !== i)
|
|
133
|
-
return !1;
|
|
134
|
-
var c = e[i];
|
|
135
|
-
return o == null || c == null ? o === c : typeof o == "object" && typeof c == "object" ? K(o, c) : String(o) === String(c);
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
function Gt(t, e) {
|
|
139
|
-
return t.path.replace(ee, "/").indexOf(
|
|
140
|
-
e.path.replace(ee, "/")
|
|
141
|
-
) === 0 && (!e.hash || t.hash === e.hash) && Qt(t.query, e.query);
|
|
142
|
-
}
|
|
143
|
-
function Qt(t, e) {
|
|
144
|
-
for (var r in e)
|
|
145
|
-
if (!(r in t))
|
|
146
|
-
return !1;
|
|
147
|
-
return !0;
|
|
148
|
-
}
|
|
149
|
-
function nt(t) {
|
|
150
|
-
for (var e = 0; e < t.matched.length; e++) {
|
|
151
|
-
var r = t.matched[e];
|
|
152
|
-
for (var n in r.instances) {
|
|
153
|
-
var i = r.instances[n], s = r.enteredCbs[n];
|
|
154
|
-
if (!(!i || !s)) {
|
|
155
|
-
delete r.enteredCbs[n];
|
|
156
|
-
for (var o = 0; o < s.length; o++)
|
|
157
|
-
i._isBeingDestroyed || s[o](i);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
var Kt = {
|
|
163
|
-
name: "RouterView",
|
|
164
|
-
functional: !0,
|
|
165
|
-
props: {
|
|
166
|
-
name: {
|
|
167
|
-
type: String,
|
|
168
|
-
default: "default"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
render: function(e, r) {
|
|
172
|
-
var n = r.props, i = r.children, s = r.parent, o = r.data;
|
|
173
|
-
o.routerView = !0;
|
|
174
|
-
for (var a = s.$createElement, c = n.name, u = s.$route, d = s._routerViewCache || (s._routerViewCache = {}), m = 0, h = !1; s && s._routerRoot !== s; ) {
|
|
175
|
-
var v = s.$vnode ? s.$vnode.data : {};
|
|
176
|
-
v.routerView && m++, v.keepAlive && s._directInactive && s._inactive && (h = !0), s = s.$parent;
|
|
177
|
-
}
|
|
178
|
-
if (o.routerViewDepth = m, h) {
|
|
179
|
-
var p = d[c], l = p && p.component;
|
|
180
|
-
return l ? (p.configProps && Te(l, o, p.route, p.configProps), a(l, o, i)) : a();
|
|
181
|
-
}
|
|
182
|
-
var f = u.matched[m], g = f && f.components[c];
|
|
183
|
-
if (!f || !g)
|
|
184
|
-
return d[c] = null, a();
|
|
185
|
-
d[c] = { component: g }, o.registerRouteInstance = function(_, C) {
|
|
186
|
-
var R = f.instances[c];
|
|
187
|
-
(C && R !== _ || !C && R === _) && (f.instances[c] = C);
|
|
188
|
-
}, (o.hook || (o.hook = {})).prepatch = function(_, C) {
|
|
189
|
-
f.instances[c] = C.componentInstance;
|
|
190
|
-
}, o.hook.init = function(_) {
|
|
191
|
-
_.data.keepAlive && _.componentInstance && _.componentInstance !== f.instances[c] && (f.instances[c] = _.componentInstance), nt(u);
|
|
192
|
-
};
|
|
193
|
-
var w = f.props && f.props[c];
|
|
194
|
-
return w && (x(d[c], {
|
|
195
|
-
route: u,
|
|
196
|
-
configProps: w
|
|
197
|
-
}), Te(g, o, u, w)), a(g, o, i);
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
function Te(t, e, r, n) {
|
|
201
|
-
var i = e.props = Jt(r, n);
|
|
202
|
-
if (i) {
|
|
203
|
-
i = e.props = x({}, i);
|
|
204
|
-
var s = e.attrs = e.attrs || {};
|
|
205
|
-
for (var o in i)
|
|
206
|
-
(!t.props || !(o in t.props)) && (s[o] = i[o], delete i[o]);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
function Jt(t, e) {
|
|
210
|
-
switch (typeof e) {
|
|
211
|
-
case "undefined":
|
|
212
|
-
return;
|
|
213
|
-
case "object":
|
|
214
|
-
return e;
|
|
215
|
-
case "function":
|
|
216
|
-
return e(t);
|
|
217
|
-
case "boolean":
|
|
218
|
-
return e ? t.params : void 0;
|
|
219
|
-
default:
|
|
220
|
-
process.env.NODE_ENV !== "production" && P(
|
|
221
|
-
!1,
|
|
222
|
-
'props in "' + t.path + '" is a ' + typeof e + ", expecting an object, function or boolean."
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
function it(t, e, r) {
|
|
227
|
-
var n = t.charAt(0);
|
|
228
|
-
if (n === "/")
|
|
229
|
-
return t;
|
|
230
|
-
if (n === "?" || n === "#")
|
|
231
|
-
return e + t;
|
|
232
|
-
var i = e.split("/");
|
|
233
|
-
(!r || !i[i.length - 1]) && i.pop();
|
|
234
|
-
for (var s = t.replace(/^\//, "").split("/"), o = 0; o < s.length; o++) {
|
|
235
|
-
var a = s[o];
|
|
236
|
-
a === ".." ? i.pop() : a !== "." && i.push(a);
|
|
237
|
-
}
|
|
238
|
-
return i[0] !== "" && i.unshift(""), i.join("/");
|
|
239
|
-
}
|
|
240
|
-
function Xt(t) {
|
|
241
|
-
var e = "", r = "", n = t.indexOf("#");
|
|
242
|
-
n >= 0 && (e = t.slice(n), t = t.slice(0, n));
|
|
243
|
-
var i = t.indexOf("?");
|
|
244
|
-
return i >= 0 && (r = t.slice(i + 1), t = t.slice(0, i)), {
|
|
245
|
-
path: t,
|
|
246
|
-
query: r,
|
|
247
|
-
hash: e
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
function L(t) {
|
|
251
|
-
return t.replace(/\/(?:\s*\/)+/g, "/");
|
|
252
|
-
}
|
|
253
|
-
var re = Array.isArray || function(t) {
|
|
254
|
-
return Object.prototype.toString.call(t) == "[object Array]";
|
|
255
|
-
}, M = at, Yt = ye, Zt = nr, er = st, tr = ot, rr = new RegExp([
|
|
256
|
-
// Match escaped characters that would otherwise appear in future matches.
|
|
257
|
-
// This allows the user to escape special characters that won't transform.
|
|
258
|
-
"(\\\\.)",
|
|
259
|
-
// Match Express-style parameters and un-named parameters with a prefix
|
|
260
|
-
// and optional suffixes. Matches appear as:
|
|
261
|
-
//
|
|
262
|
-
// "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
|
|
263
|
-
// "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
|
|
264
|
-
// "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
|
|
265
|
-
"([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"
|
|
266
|
-
].join("|"), "g");
|
|
267
|
-
function ye(t, e) {
|
|
268
|
-
for (var r = [], n = 0, i = 0, s = "", o = e && e.delimiter || "/", a; (a = rr.exec(t)) != null; ) {
|
|
269
|
-
var c = a[0], u = a[1], d = a.index;
|
|
270
|
-
if (s += t.slice(i, d), i = d + c.length, u) {
|
|
271
|
-
s += u[1];
|
|
272
|
-
continue;
|
|
273
|
-
}
|
|
274
|
-
var m = t[i], h = a[2], v = a[3], p = a[4], l = a[5], f = a[6], g = a[7];
|
|
275
|
-
s && (r.push(s), s = "");
|
|
276
|
-
var w = h != null && m != null && m !== h, _ = f === "+" || f === "*", C = f === "?" || f === "*", R = a[2] || o, E = p || l;
|
|
277
|
-
r.push({
|
|
278
|
-
name: v || n++,
|
|
279
|
-
prefix: h || "",
|
|
280
|
-
delimiter: R,
|
|
281
|
-
optional: C,
|
|
282
|
-
repeat: _,
|
|
283
|
-
partial: w,
|
|
284
|
-
asterisk: !!g,
|
|
285
|
-
pattern: E ? or(E) : g ? ".*" : "[^" + J(R) + "]+?"
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
return i < t.length && (s += t.substr(i)), s && r.push(s), r;
|
|
289
|
-
}
|
|
290
|
-
function nr(t, e) {
|
|
291
|
-
return st(ye(t, e), e);
|
|
292
|
-
}
|
|
293
|
-
function ir(t) {
|
|
294
|
-
return encodeURI(t).replace(/[\/?#]/g, function(e) {
|
|
295
|
-
return "%" + e.charCodeAt(0).toString(16).toUpperCase();
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
function sr(t) {
|
|
299
|
-
return encodeURI(t).replace(/[?#]/g, function(e) {
|
|
300
|
-
return "%" + e.charCodeAt(0).toString(16).toUpperCase();
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
function st(t, e) {
|
|
304
|
-
for (var r = new Array(t.length), n = 0; n < t.length; n++)
|
|
305
|
-
typeof t[n] == "object" && (r[n] = new RegExp("^(?:" + t[n].pattern + ")$", we(e)));
|
|
306
|
-
return function(i, s) {
|
|
307
|
-
for (var o = "", a = i || {}, c = s || {}, u = c.pretty ? ir : encodeURIComponent, d = 0; d < t.length; d++) {
|
|
308
|
-
var m = t[d];
|
|
309
|
-
if (typeof m == "string") {
|
|
310
|
-
o += m;
|
|
311
|
-
continue;
|
|
312
|
-
}
|
|
313
|
-
var h = a[m.name], v;
|
|
314
|
-
if (h == null)
|
|
315
|
-
if (m.optional) {
|
|
316
|
-
m.partial && (o += m.prefix);
|
|
317
|
-
continue;
|
|
318
|
-
} else
|
|
319
|
-
throw new TypeError('Expected "' + m.name + '" to be defined');
|
|
320
|
-
if (re(h)) {
|
|
321
|
-
if (!m.repeat)
|
|
322
|
-
throw new TypeError('Expected "' + m.name + '" to not repeat, but received `' + JSON.stringify(h) + "`");
|
|
323
|
-
if (h.length === 0) {
|
|
324
|
-
if (m.optional)
|
|
325
|
-
continue;
|
|
326
|
-
throw new TypeError('Expected "' + m.name + '" to not be empty');
|
|
327
|
-
}
|
|
328
|
-
for (var p = 0; p < h.length; p++) {
|
|
329
|
-
if (v = u(h[p]), !r[d].test(v))
|
|
330
|
-
throw new TypeError('Expected all "' + m.name + '" to match "' + m.pattern + '", but received `' + JSON.stringify(v) + "`");
|
|
331
|
-
o += (p === 0 ? m.prefix : m.delimiter) + v;
|
|
332
|
-
}
|
|
333
|
-
continue;
|
|
334
|
-
}
|
|
335
|
-
if (v = m.asterisk ? sr(h) : u(h), !r[d].test(v))
|
|
336
|
-
throw new TypeError('Expected "' + m.name + '" to match "' + m.pattern + '", but received "' + v + '"');
|
|
337
|
-
o += m.prefix + v;
|
|
338
|
-
}
|
|
339
|
-
return o;
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
function J(t) {
|
|
343
|
-
return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1");
|
|
344
|
-
}
|
|
345
|
-
function or(t) {
|
|
346
|
-
return t.replace(/([=!:$\/()])/g, "\\$1");
|
|
347
|
-
}
|
|
348
|
-
function _e(t, e) {
|
|
349
|
-
return t.keys = e, t;
|
|
350
|
-
}
|
|
351
|
-
function we(t) {
|
|
352
|
-
return t && t.sensitive ? "" : "i";
|
|
353
|
-
}
|
|
354
|
-
function ar(t, e) {
|
|
355
|
-
var r = t.source.match(/\((?!\?)/g);
|
|
356
|
-
if (r)
|
|
357
|
-
for (var n = 0; n < r.length; n++)
|
|
358
|
-
e.push({
|
|
359
|
-
name: n,
|
|
360
|
-
prefix: null,
|
|
361
|
-
delimiter: null,
|
|
362
|
-
optional: !1,
|
|
363
|
-
repeat: !1,
|
|
364
|
-
partial: !1,
|
|
365
|
-
asterisk: !1,
|
|
366
|
-
pattern: null
|
|
367
|
-
});
|
|
368
|
-
return _e(t, e);
|
|
369
|
-
}
|
|
370
|
-
function cr(t, e, r) {
|
|
371
|
-
for (var n = [], i = 0; i < t.length; i++)
|
|
372
|
-
n.push(at(t[i], e, r).source);
|
|
373
|
-
var s = new RegExp("(?:" + n.join("|") + ")", we(r));
|
|
374
|
-
return _e(s, e);
|
|
375
|
-
}
|
|
376
|
-
function ur(t, e, r) {
|
|
377
|
-
return ot(ye(t, r), e, r);
|
|
378
|
-
}
|
|
379
|
-
function ot(t, e, r) {
|
|
380
|
-
re(e) || (r = /** @type {!Object} */
|
|
381
|
-
e || r, e = []), r = r || {};
|
|
382
|
-
for (var n = r.strict, i = r.end !== !1, s = "", o = 0; o < t.length; o++) {
|
|
383
|
-
var a = t[o];
|
|
384
|
-
if (typeof a == "string")
|
|
385
|
-
s += J(a);
|
|
386
|
-
else {
|
|
387
|
-
var c = J(a.prefix), u = "(?:" + a.pattern + ")";
|
|
388
|
-
e.push(a), a.repeat && (u += "(?:" + c + u + ")*"), a.optional ? a.partial ? u = c + "(" + u + ")?" : u = "(?:" + c + "(" + u + "))?" : u = c + "(" + u + ")", s += u;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
var d = J(r.delimiter || "/"), m = s.slice(-d.length) === d;
|
|
392
|
-
return n || (s = (m ? s.slice(0, -d.length) : s) + "(?:" + d + "(?=$))?"), i ? s += "$" : s += n && m ? "" : "(?=" + d + "|$)", _e(new RegExp("^" + s, we(r)), e);
|
|
393
|
-
}
|
|
394
|
-
function at(t, e, r) {
|
|
395
|
-
return re(e) || (r = /** @type {!Object} */
|
|
396
|
-
e || r, e = []), r = r || {}, t instanceof RegExp ? ar(
|
|
397
|
-
t,
|
|
398
|
-
/** @type {!Array} */
|
|
399
|
-
e
|
|
400
|
-
) : re(t) ? cr(
|
|
401
|
-
/** @type {!Array} */
|
|
402
|
-
t,
|
|
403
|
-
/** @type {!Array} */
|
|
404
|
-
e,
|
|
405
|
-
r
|
|
406
|
-
) : ur(
|
|
407
|
-
/** @type {string} */
|
|
408
|
-
t,
|
|
409
|
-
/** @type {!Array} */
|
|
410
|
-
e,
|
|
411
|
-
r
|
|
412
|
-
);
|
|
413
|
-
}
|
|
414
|
-
M.parse = Yt;
|
|
415
|
-
M.compile = Zt;
|
|
416
|
-
M.tokensToFunction = er;
|
|
417
|
-
M.tokensToRegExp = tr;
|
|
418
|
-
var Ie = /* @__PURE__ */ Object.create(null);
|
|
419
|
-
function X(t, e, r) {
|
|
420
|
-
e = e || {};
|
|
421
|
-
try {
|
|
422
|
-
var n = Ie[t] || (Ie[t] = M.compile(t));
|
|
423
|
-
return typeof e.pathMatch == "string" && (e[0] = e.pathMatch), n(e, { pretty: !0 });
|
|
424
|
-
} catch (i) {
|
|
425
|
-
return process.env.NODE_ENV !== "production" && P(typeof e.pathMatch == "string", "missing param for " + r + ": " + i.message), "";
|
|
426
|
-
} finally {
|
|
427
|
-
delete e[0];
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
function be(t, e, r, n) {
|
|
431
|
-
var i = typeof t == "string" ? { path: t } : t;
|
|
432
|
-
if (i._normalized)
|
|
433
|
-
return i;
|
|
434
|
-
if (i.name) {
|
|
435
|
-
i = x({}, t);
|
|
436
|
-
var s = i.params;
|
|
437
|
-
return s && typeof s == "object" && (i.params = x({}, s)), i;
|
|
438
|
-
}
|
|
439
|
-
if (!i.path && i.params && e) {
|
|
440
|
-
i = x({}, i), i._normalized = !0;
|
|
441
|
-
var o = x(x({}, e.params), i.params);
|
|
442
|
-
if (e.name)
|
|
443
|
-
i.name = e.name, i.params = o;
|
|
444
|
-
else if (e.matched.length) {
|
|
445
|
-
var a = e.matched[e.matched.length - 1].path;
|
|
446
|
-
i.path = X(a, o, "path " + e.path);
|
|
447
|
-
} else
|
|
448
|
-
process.env.NODE_ENV !== "production" && P(!1, "relative params navigation requires a current route.");
|
|
449
|
-
return i;
|
|
450
|
-
}
|
|
451
|
-
var c = Xt(i.path || ""), u = e && e.path || "/", d = c.path ? it(c.path, u, r || i.append) : u, m = Dt(
|
|
452
|
-
c.query,
|
|
453
|
-
i.query,
|
|
454
|
-
n && n.options.parseQuery
|
|
455
|
-
), h = i.hash || c.hash;
|
|
456
|
-
return h && h.charAt(0) !== "#" && (h = "#" + h), {
|
|
457
|
-
_normalized: !0,
|
|
458
|
-
path: d,
|
|
459
|
-
query: m,
|
|
460
|
-
hash: h
|
|
461
|
-
};
|
|
462
|
-
}
|
|
463
|
-
var lr = [String, Object], fr = [String, Array], Ve = function() {
|
|
464
|
-
}, Ae, qe, Be, Ce = {
|
|
465
|
-
name: "RouterLink",
|
|
466
|
-
props: {
|
|
467
|
-
to: {
|
|
468
|
-
type: lr,
|
|
469
|
-
required: !0
|
|
470
|
-
},
|
|
471
|
-
tag: {
|
|
472
|
-
type: String,
|
|
473
|
-
default: "a"
|
|
474
|
-
},
|
|
475
|
-
custom: Boolean,
|
|
476
|
-
exact: Boolean,
|
|
477
|
-
exactPath: Boolean,
|
|
478
|
-
append: Boolean,
|
|
479
|
-
replace: Boolean,
|
|
480
|
-
activeClass: String,
|
|
481
|
-
exactActiveClass: String,
|
|
482
|
-
ariaCurrentValue: {
|
|
483
|
-
type: String,
|
|
484
|
-
default: "page"
|
|
485
|
-
},
|
|
486
|
-
event: {
|
|
487
|
-
type: fr,
|
|
488
|
-
default: "click"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
render: function(e) {
|
|
492
|
-
var r = this, n = this.$router, i = this.$route, s = n.resolve(
|
|
493
|
-
this.to,
|
|
494
|
-
i,
|
|
495
|
-
this.append
|
|
496
|
-
), o = s.location, a = s.route, c = s.href, u = {}, d = n.options.linkActiveClass, m = n.options.linkExactActiveClass, h = d == null ? "router-link-active" : d, v = m == null ? "router-link-exact-active" : m, p = this.activeClass == null ? h : this.activeClass, l = this.exactActiveClass == null ? v : this.exactActiveClass, f = a.redirectedFrom ? te(null, be(a.redirectedFrom), null, n) : a;
|
|
497
|
-
u[l] = rt(i, f, this.exactPath), u[p] = this.exact || this.exactPath ? u[l] : Gt(i, f);
|
|
498
|
-
var g = u[l] ? this.ariaCurrentValue : null, w = function(le) {
|
|
499
|
-
je(le) && (r.replace ? n.replace(o, Ve) : n.push(o, Ve));
|
|
500
|
-
}, _ = { click: je };
|
|
501
|
-
Array.isArray(this.event) ? this.event.forEach(function(le) {
|
|
502
|
-
_[le] = w;
|
|
503
|
-
}) : _[this.event] = w;
|
|
504
|
-
var C = { class: u }, R = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({
|
|
505
|
-
href: c,
|
|
506
|
-
route: a,
|
|
507
|
-
navigate: w,
|
|
508
|
-
isActive: u[p],
|
|
509
|
-
isExactActive: u[l]
|
|
510
|
-
});
|
|
511
|
-
if (R) {
|
|
512
|
-
if (process.env.NODE_ENV !== "production" && !this.custom && (!Ae && P(!1, 'In Vue Router 4, the v-slot API will by default wrap its content with an <a> element. Use the custom prop to remove this warning:\n<router-link v-slot="{ navigate, href }" custom></router-link>\n'), Ae = !0), R.length === 1)
|
|
513
|
-
return R[0];
|
|
514
|
-
if (R.length > 1 || !R.length)
|
|
515
|
-
return process.env.NODE_ENV !== "production" && P(
|
|
516
|
-
!1,
|
|
517
|
-
'<router-link> with to="' + this.to + "\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element."
|
|
518
|
-
), R.length === 0 ? e() : e("span", {}, R);
|
|
519
|
-
}
|
|
520
|
-
if (process.env.NODE_ENV !== "production" && ("tag" in this.$options.propsData && !qe && (P(
|
|
521
|
-
!1,
|
|
522
|
-
"<router-link>'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link."
|
|
523
|
-
), qe = !0), "event" in this.$options.propsData && !Be && (P(
|
|
524
|
-
!1,
|
|
525
|
-
"<router-link>'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link."
|
|
526
|
-
), Be = !0)), this.tag === "a")
|
|
527
|
-
C.on = _, C.attrs = { href: c, "aria-current": g };
|
|
528
|
-
else {
|
|
529
|
-
var E = ct(this.$slots.default);
|
|
530
|
-
if (E) {
|
|
531
|
-
E.isStatic = !1;
|
|
532
|
-
var S = E.data = x({}, E.data);
|
|
533
|
-
S.on = S.on || {};
|
|
534
|
-
for (var O in S.on) {
|
|
535
|
-
var U = S.on[O];
|
|
536
|
-
O in _ && (S.on[O] = Array.isArray(U) ? U : [U]);
|
|
537
|
-
}
|
|
538
|
-
for (var H in _)
|
|
539
|
-
H in S.on ? S.on[H].push(_[H]) : S.on[H] = w;
|
|
540
|
-
var Ne = E.data.attrs = x({}, E.data.attrs);
|
|
541
|
-
Ne.href = c, Ne["aria-current"] = g;
|
|
542
|
-
} else
|
|
543
|
-
C.on = _;
|
|
544
|
-
}
|
|
545
|
-
return e(this.tag, C, this.$slots.default);
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
|
-
function je(t) {
|
|
549
|
-
if (!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey) && !t.defaultPrevented && !(t.button !== void 0 && t.button !== 0)) {
|
|
550
|
-
if (t.currentTarget && t.currentTarget.getAttribute) {
|
|
551
|
-
var e = t.currentTarget.getAttribute("target");
|
|
552
|
-
if (/\b_blank\b/i.test(e))
|
|
553
|
-
return;
|
|
554
|
-
}
|
|
555
|
-
return t.preventDefault && t.preventDefault(), !0;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
function ct(t) {
|
|
559
|
-
if (t) {
|
|
560
|
-
for (var e, r = 0; r < t.length; r++)
|
|
561
|
-
if (e = t[r], e.tag === "a" || e.children && (e = ct(e.children)))
|
|
562
|
-
return e;
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
var ne;
|
|
566
|
-
function ie(t) {
|
|
567
|
-
if (!(ie.installed && ne === t)) {
|
|
568
|
-
ie.installed = !0, ne = t;
|
|
569
|
-
var e = function(i) {
|
|
570
|
-
return i !== void 0;
|
|
571
|
-
}, r = function(i, s) {
|
|
572
|
-
var o = i.$options._parentVnode;
|
|
573
|
-
e(o) && e(o = o.data) && e(o = o.registerRouteInstance) && o(i, s);
|
|
574
|
-
};
|
|
575
|
-
t.mixin({
|
|
576
|
-
beforeCreate: function() {
|
|
577
|
-
e(this.$options.router) ? (this._routerRoot = this, this._router = this.$options.router, this._router.init(this), t.util.defineReactive(this, "_route", this._router.history.current)) : this._routerRoot = this.$parent && this.$parent._routerRoot || this, r(this, this);
|
|
578
|
-
},
|
|
579
|
-
destroyed: function() {
|
|
580
|
-
r(this);
|
|
581
|
-
}
|
|
582
|
-
}), Object.defineProperty(t.prototype, "$router", {
|
|
583
|
-
get: function() {
|
|
584
|
-
return this._routerRoot._router;
|
|
585
|
-
}
|
|
586
|
-
}), Object.defineProperty(t.prototype, "$route", {
|
|
587
|
-
get: function() {
|
|
588
|
-
return this._routerRoot._route;
|
|
589
|
-
}
|
|
590
|
-
}), t.component("RouterView", Kt), t.component("RouterLink", Ce);
|
|
591
|
-
var n = t.config.optionMergeStrategies;
|
|
592
|
-
n.beforeRouteEnter = n.beforeRouteLeave = n.beforeRouteUpdate = n.created;
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
var F = typeof window < "u";
|
|
596
|
-
function G(t, e, r, n, i) {
|
|
597
|
-
var s = e || [], o = r || /* @__PURE__ */ Object.create(null), a = n || /* @__PURE__ */ Object.create(null);
|
|
598
|
-
t.forEach(function(h) {
|
|
599
|
-
de(s, o, a, h, i);
|
|
600
|
-
});
|
|
601
|
-
for (var c = 0, u = s.length; c < u; c++)
|
|
602
|
-
s[c] === "*" && (s.push(s.splice(c, 1)[0]), u--, c--);
|
|
603
|
-
if (process.env.NODE_ENV === "development") {
|
|
604
|
-
var d = s.filter(function(h) {
|
|
605
|
-
return h && h.charAt(0) !== "*" && h.charAt(0) !== "/";
|
|
606
|
-
});
|
|
607
|
-
if (d.length > 0) {
|
|
608
|
-
var m = d.map(function(h) {
|
|
609
|
-
return "- " + h;
|
|
610
|
-
}).join("\n");
|
|
611
|
-
P(!1, "Non-nested routes must include a leading slash character. Fix the following routes: \n" + m);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
return {
|
|
615
|
-
pathList: s,
|
|
616
|
-
pathMap: o,
|
|
617
|
-
nameMap: a
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
function de(t, e, r, n, i, s) {
|
|
621
|
-
var o = n.path, a = n.name;
|
|
622
|
-
process.env.NODE_ENV !== "production" && (A(o != null, '"path" is required in a route configuration.'), A(
|
|
623
|
-
typeof n.component != "string",
|
|
624
|
-
'route config "component" for path: ' + String(
|
|
625
|
-
o || a
|
|
626
|
-
) + " cannot be a string id. Use an actual component instead."
|
|
627
|
-
), P(
|
|
628
|
-
// eslint-disable-next-line no-control-regex
|
|
629
|
-
!/[^\u0000-\u007F]+/.test(o),
|
|
630
|
-
'Route with path "' + o + '" contains unencoded characters, make sure your path is correctly encoded before passing it to the router. Use encodeURI to encode static segments of your path.'
|
|
631
|
-
));
|
|
632
|
-
var c = n.pathToRegexpOptions || {}, u = dr(o, i, c.strict);
|
|
633
|
-
typeof n.caseSensitive == "boolean" && (c.sensitive = n.caseSensitive);
|
|
634
|
-
var d = {
|
|
635
|
-
path: u,
|
|
636
|
-
regex: hr(u, c),
|
|
637
|
-
components: n.components || { default: n.component },
|
|
638
|
-
alias: n.alias ? typeof n.alias == "string" ? [n.alias] : n.alias : [],
|
|
639
|
-
instances: {},
|
|
640
|
-
enteredCbs: {},
|
|
641
|
-
name: a,
|
|
642
|
-
parent: i,
|
|
643
|
-
matchAs: s,
|
|
644
|
-
redirect: n.redirect,
|
|
645
|
-
beforeEnter: n.beforeEnter,
|
|
646
|
-
meta: n.meta || {},
|
|
647
|
-
props: n.props == null ? {} : n.components ? n.props : { default: n.props }
|
|
648
|
-
};
|
|
649
|
-
if (n.children && (process.env.NODE_ENV !== "production" && n.name && !n.redirect && n.children.some(function(l) {
|
|
650
|
-
return /^\/?$/.test(l.path);
|
|
651
|
-
}) && P(
|
|
652
|
-
!1,
|
|
653
|
-
"Named Route '" + n.name + "' has a default child route. When navigating to this named route (:to=\"{name: '" + n.name + "'}\"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead."
|
|
654
|
-
), n.children.forEach(function(l) {
|
|
655
|
-
var f = s ? L(s + "/" + l.path) : void 0;
|
|
656
|
-
de(t, e, r, l, d, f);
|
|
657
|
-
})), e[d.path] || (t.push(d.path), e[d.path] = d), n.alias !== void 0)
|
|
658
|
-
for (var m = Array.isArray(n.alias) ? n.alias : [n.alias], h = 0; h < m.length; ++h) {
|
|
659
|
-
var v = m[h];
|
|
660
|
-
if (process.env.NODE_ENV !== "production" && v === o) {
|
|
661
|
-
P(
|
|
662
|
-
!1,
|
|
663
|
-
'Found an alias with the same value as the path: "' + o + '". You have to remove that alias. It will be ignored in development.'
|
|
664
|
-
);
|
|
665
|
-
continue;
|
|
666
|
-
}
|
|
667
|
-
var p = {
|
|
668
|
-
path: v,
|
|
669
|
-
children: n.children
|
|
670
|
-
};
|
|
671
|
-
de(
|
|
672
|
-
t,
|
|
673
|
-
e,
|
|
674
|
-
r,
|
|
675
|
-
p,
|
|
676
|
-
i,
|
|
677
|
-
d.path || "/"
|
|
678
|
-
// matchAs
|
|
679
|
-
);
|
|
680
|
-
}
|
|
681
|
-
a && (r[a] ? process.env.NODE_ENV !== "production" && !s && P(
|
|
682
|
-
!1,
|
|
683
|
-
'Duplicate named routes definition: { name: "' + a + '", path: "' + d.path + '" }'
|
|
684
|
-
) : r[a] = d);
|
|
685
|
-
}
|
|
686
|
-
function hr(t, e) {
|
|
687
|
-
var r = M(t, [], e);
|
|
688
|
-
if (process.env.NODE_ENV !== "production") {
|
|
689
|
-
var n = /* @__PURE__ */ Object.create(null);
|
|
690
|
-
r.keys.forEach(function(i) {
|
|
691
|
-
P(
|
|
692
|
-
!n[i.name],
|
|
693
|
-
'Duplicate param keys in route with path: "' + t + '"'
|
|
694
|
-
), n[i.name] = !0;
|
|
695
|
-
});
|
|
696
|
-
}
|
|
697
|
-
return r;
|
|
698
|
-
}
|
|
699
|
-
function dr(t, e, r) {
|
|
700
|
-
return r || (t = t.replace(/\/$/, "")), t[0] === "/" || e == null ? t : L(e.path + "/" + t);
|
|
701
|
-
}
|
|
702
|
-
function pr(t, e) {
|
|
703
|
-
var r = G(t), n = r.pathList, i = r.pathMap, s = r.nameMap;
|
|
704
|
-
function o(v) {
|
|
705
|
-
G(v, n, i, s);
|
|
706
|
-
}
|
|
707
|
-
function a(v, p) {
|
|
708
|
-
var l = typeof v != "object" ? s[v] : void 0;
|
|
709
|
-
G([p || v], n, i, s, l), l && l.alias.length && G(
|
|
710
|
-
// $flow-disable-line route is defined if parent is
|
|
711
|
-
l.alias.map(function(f) {
|
|
712
|
-
return { path: f, children: [p] };
|
|
713
|
-
}),
|
|
714
|
-
n,
|
|
715
|
-
i,
|
|
716
|
-
s,
|
|
717
|
-
l
|
|
718
|
-
);
|
|
719
|
-
}
|
|
720
|
-
function c() {
|
|
721
|
-
return n.map(function(v) {
|
|
722
|
-
return i[v];
|
|
723
|
-
});
|
|
724
|
-
}
|
|
725
|
-
function u(v, p, l) {
|
|
726
|
-
var f = be(v, p, !1, e), g = f.name;
|
|
727
|
-
if (g) {
|
|
728
|
-
var w = s[g];
|
|
729
|
-
if (process.env.NODE_ENV !== "production" && P(w, "Route with name '" + g + "' does not exist"), !w)
|
|
730
|
-
return h(null, f);
|
|
731
|
-
var _ = w.regex.keys.filter(function(O) {
|
|
732
|
-
return !O.optional;
|
|
733
|
-
}).map(function(O) {
|
|
734
|
-
return O.name;
|
|
735
|
-
});
|
|
736
|
-
if (typeof f.params != "object" && (f.params = {}), p && typeof p.params == "object")
|
|
737
|
-
for (var C in p.params)
|
|
738
|
-
!(C in f.params) && _.indexOf(C) > -1 && (f.params[C] = p.params[C]);
|
|
739
|
-
return f.path = X(w.path, f.params, 'named route "' + g + '"'), h(w, f, l);
|
|
740
|
-
} else if (f.path) {
|
|
741
|
-
f.params = {};
|
|
742
|
-
for (var R = 0; R < n.length; R++) {
|
|
743
|
-
var E = n[R], S = i[E];
|
|
744
|
-
if (vr(S.regex, f.path, f.params))
|
|
745
|
-
return h(S, f, l);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
return h(null, f);
|
|
749
|
-
}
|
|
750
|
-
function d(v, p) {
|
|
751
|
-
var l = v.redirect, f = typeof l == "function" ? l(te(v, p, null, e)) : l;
|
|
752
|
-
if (typeof f == "string" && (f = { path: f }), !f || typeof f != "object")
|
|
753
|
-
return process.env.NODE_ENV !== "production" && P(
|
|
754
|
-
!1,
|
|
755
|
-
"invalid redirect option: " + JSON.stringify(f)
|
|
756
|
-
), h(null, p);
|
|
757
|
-
var g = f, w = g.name, _ = g.path, C = p.query, R = p.hash, E = p.params;
|
|
758
|
-
if (C = g.hasOwnProperty("query") ? g.query : C, R = g.hasOwnProperty("hash") ? g.hash : R, E = g.hasOwnProperty("params") ? g.params : E, w) {
|
|
759
|
-
var S = s[w];
|
|
760
|
-
return process.env.NODE_ENV !== "production" && A(S, 'redirect failed: named route "' + w + '" not found.'), u({
|
|
761
|
-
_normalized: !0,
|
|
762
|
-
name: w,
|
|
763
|
-
query: C,
|
|
764
|
-
hash: R,
|
|
765
|
-
params: E
|
|
766
|
-
}, void 0, p);
|
|
767
|
-
} else if (_) {
|
|
768
|
-
var O = mr(_, v), U = X(O, E, 'redirect route with path "' + O + '"');
|
|
769
|
-
return u({
|
|
770
|
-
_normalized: !0,
|
|
771
|
-
path: U,
|
|
772
|
-
query: C,
|
|
773
|
-
hash: R
|
|
774
|
-
}, void 0, p);
|
|
775
|
-
} else
|
|
776
|
-
return process.env.NODE_ENV !== "production" && P(!1, "invalid redirect option: " + JSON.stringify(f)), h(null, p);
|
|
777
|
-
}
|
|
778
|
-
function m(v, p, l) {
|
|
779
|
-
var f = X(l, p.params, 'aliased route with path "' + l + '"'), g = u({
|
|
780
|
-
_normalized: !0,
|
|
781
|
-
path: f
|
|
782
|
-
});
|
|
783
|
-
if (g) {
|
|
784
|
-
var w = g.matched, _ = w[w.length - 1];
|
|
785
|
-
return p.params = g.params, h(_, p);
|
|
786
|
-
}
|
|
787
|
-
return h(null, p);
|
|
788
|
-
}
|
|
789
|
-
function h(v, p, l) {
|
|
790
|
-
return v && v.redirect ? d(v, l || p) : v && v.matchAs ? m(v, p, v.matchAs) : te(v, p, l, e);
|
|
791
|
-
}
|
|
792
|
-
return {
|
|
793
|
-
match: u,
|
|
794
|
-
addRoute: a,
|
|
795
|
-
getRoutes: c,
|
|
796
|
-
addRoutes: o
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
function vr(t, e, r) {
|
|
800
|
-
var n = e.match(t);
|
|
801
|
-
if (n) {
|
|
802
|
-
if (!r)
|
|
803
|
-
return !0;
|
|
804
|
-
} else
|
|
805
|
-
return !1;
|
|
806
|
-
for (var i = 1, s = n.length; i < s; ++i) {
|
|
807
|
-
var o = t.keys[i - 1];
|
|
808
|
-
o && (r[o.name || "pathMatch"] = typeof n[i] == "string" ? fe(n[i]) : n[i]);
|
|
809
|
-
}
|
|
810
|
-
return !0;
|
|
811
|
-
}
|
|
812
|
-
function mr(t, e) {
|
|
813
|
-
return it(t, e.parent ? e.parent.path : "/", !0);
|
|
814
|
-
}
|
|
815
|
-
var gr = F && window.performance && window.performance.now ? window.performance : Date;
|
|
816
|
-
function ut() {
|
|
817
|
-
return gr.now().toFixed(3);
|
|
818
|
-
}
|
|
819
|
-
var lt = ut();
|
|
820
|
-
function ae() {
|
|
821
|
-
return lt;
|
|
822
|
-
}
|
|
823
|
-
function ft(t) {
|
|
824
|
-
return lt = t;
|
|
825
|
-
}
|
|
826
|
-
var ht = /* @__PURE__ */ Object.create(null);
|
|
827
|
-
function dt() {
|
|
828
|
-
"scrollRestoration" in window.history && (window.history.scrollRestoration = "manual");
|
|
829
|
-
var t = window.location.protocol + "//" + window.location.host, e = window.location.href.replace(t, ""), r = x({}, window.history.state);
|
|
830
|
-
return r.key = ae(), window.history.replaceState(r, "", e), window.addEventListener("popstate", Me), function() {
|
|
831
|
-
window.removeEventListener("popstate", Me);
|
|
832
|
-
};
|
|
833
|
-
}
|
|
834
|
-
function T(t, e, r, n) {
|
|
835
|
-
if (t.app) {
|
|
836
|
-
var i = t.options.scrollBehavior;
|
|
837
|
-
i && (process.env.NODE_ENV !== "production" && A(typeof i == "function", "scrollBehavior must be a function"), t.app.$nextTick(function() {
|
|
838
|
-
var s = yr(), o = i.call(
|
|
839
|
-
t,
|
|
840
|
-
e,
|
|
841
|
-
r,
|
|
842
|
-
n ? s : null
|
|
843
|
-
);
|
|
844
|
-
o && (typeof o.then == "function" ? o.then(function(a) {
|
|
845
|
-
De(a, s);
|
|
846
|
-
}).catch(function(a) {
|
|
847
|
-
process.env.NODE_ENV !== "production" && A(!1, a.toString());
|
|
848
|
-
}) : De(o, s));
|
|
849
|
-
}));
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
function pt() {
|
|
853
|
-
var t = ae();
|
|
854
|
-
t && (ht[t] = {
|
|
855
|
-
x: window.pageXOffset,
|
|
856
|
-
y: window.pageYOffset
|
|
857
|
-
});
|
|
858
|
-
}
|
|
859
|
-
function Me(t) {
|
|
860
|
-
pt(), t.state && t.state.key && ft(t.state.key);
|
|
861
|
-
}
|
|
862
|
-
function yr() {
|
|
863
|
-
var t = ae();
|
|
864
|
-
if (t)
|
|
865
|
-
return ht[t];
|
|
866
|
-
}
|
|
867
|
-
function _r(t, e) {
|
|
868
|
-
var r = document.documentElement, n = r.getBoundingClientRect(), i = t.getBoundingClientRect();
|
|
869
|
-
return {
|
|
870
|
-
x: i.left - n.left - e.x,
|
|
871
|
-
y: i.top - n.top - e.y
|
|
872
|
-
};
|
|
873
|
-
}
|
|
874
|
-
function Ue(t) {
|
|
875
|
-
return j(t.x) || j(t.y);
|
|
876
|
-
}
|
|
877
|
-
function ze(t) {
|
|
878
|
-
return {
|
|
879
|
-
x: j(t.x) ? t.x : window.pageXOffset,
|
|
880
|
-
y: j(t.y) ? t.y : window.pageYOffset
|
|
881
|
-
};
|
|
882
|
-
}
|
|
883
|
-
function wr(t) {
|
|
884
|
-
return {
|
|
885
|
-
x: j(t.x) ? t.x : 0,
|
|
886
|
-
y: j(t.y) ? t.y : 0
|
|
887
|
-
};
|
|
888
|
-
}
|
|
889
|
-
function j(t) {
|
|
890
|
-
return typeof t == "number";
|
|
891
|
-
}
|
|
892
|
-
var br = /^#\d/;
|
|
893
|
-
function De(t, e) {
|
|
894
|
-
var r = typeof t == "object";
|
|
895
|
-
if (r && typeof t.selector == "string") {
|
|
896
|
-
var n = br.test(t.selector) ? document.getElementById(t.selector.slice(1)) : document.querySelector(t.selector);
|
|
897
|
-
if (n) {
|
|
898
|
-
var i = t.offset && typeof t.offset == "object" ? t.offset : {};
|
|
899
|
-
i = wr(i), e = _r(n, i);
|
|
900
|
-
} else
|
|
901
|
-
Ue(t) && (e = ze(t));
|
|
902
|
-
} else
|
|
903
|
-
r && Ue(t) && (e = ze(t));
|
|
904
|
-
e && ("scrollBehavior" in document.documentElement.style ? window.scrollTo({
|
|
905
|
-
left: e.x,
|
|
906
|
-
top: e.y,
|
|
907
|
-
// $flow-disable-line
|
|
908
|
-
behavior: t.behavior
|
|
909
|
-
}) : window.scrollTo(e.x, e.y));
|
|
910
|
-
}
|
|
911
|
-
var I = F && function() {
|
|
912
|
-
var t = window.navigator.userAgent;
|
|
913
|
-
return (t.indexOf("Android 2.") !== -1 || t.indexOf("Android 4.0") !== -1) && t.indexOf("Mobile Safari") !== -1 && t.indexOf("Chrome") === -1 && t.indexOf("Windows Phone") === -1 ? !1 : window.history && typeof window.history.pushState == "function";
|
|
914
|
-
}();
|
|
915
|
-
function se(t, e) {
|
|
916
|
-
pt();
|
|
917
|
-
var r = window.history;
|
|
918
|
-
try {
|
|
919
|
-
if (e) {
|
|
920
|
-
var n = x({}, r.state);
|
|
921
|
-
n.key = ae(), r.replaceState(n, "", t);
|
|
922
|
-
} else
|
|
923
|
-
r.pushState({ key: ft(ut()) }, "", t);
|
|
924
|
-
} catch {
|
|
925
|
-
window.location[e ? "replace" : "assign"](t);
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
function pe(t) {
|
|
929
|
-
se(t, !0);
|
|
930
|
-
}
|
|
931
|
-
var q = {
|
|
932
|
-
redirected: 2,
|
|
933
|
-
aborted: 4,
|
|
934
|
-
cancelled: 8,
|
|
935
|
-
duplicated: 16
|
|
936
|
-
};
|
|
937
|
-
function Cr(t, e) {
|
|
938
|
-
return ce(
|
|
939
|
-
t,
|
|
940
|
-
e,
|
|
941
|
-
q.redirected,
|
|
942
|
-
'Redirected when going from "' + t.fullPath + '" to "' + kr(
|
|
943
|
-
e
|
|
944
|
-
) + '" via a navigation guard.'
|
|
945
|
-
);
|
|
946
|
-
}
|
|
947
|
-
function Rr(t, e) {
|
|
948
|
-
var r = ce(
|
|
949
|
-
t,
|
|
950
|
-
e,
|
|
951
|
-
q.duplicated,
|
|
952
|
-
'Avoided redundant navigation to current location: "' + t.fullPath + '".'
|
|
953
|
-
);
|
|
954
|
-
return r.name = "NavigationDuplicated", r;
|
|
955
|
-
}
|
|
956
|
-
function We(t, e) {
|
|
957
|
-
return ce(
|
|
958
|
-
t,
|
|
959
|
-
e,
|
|
960
|
-
q.cancelled,
|
|
961
|
-
'Navigation cancelled from "' + t.fullPath + '" to "' + e.fullPath + '" with a new navigation.'
|
|
962
|
-
);
|
|
963
|
-
}
|
|
964
|
-
function Pr(t, e) {
|
|
965
|
-
return ce(
|
|
966
|
-
t,
|
|
967
|
-
e,
|
|
968
|
-
q.aborted,
|
|
969
|
-
'Navigation aborted from "' + t.fullPath + '" to "' + e.fullPath + '" via a navigation guard.'
|
|
970
|
-
);
|
|
971
|
-
}
|
|
972
|
-
function ce(t, e, r, n) {
|
|
973
|
-
var i = new Error(n);
|
|
974
|
-
return i._isRouter = !0, i.from = t, i.to = e, i.type = r, i;
|
|
975
|
-
}
|
|
976
|
-
var Er = ["params", "query", "hash"];
|
|
977
|
-
function kr(t) {
|
|
978
|
-
if (typeof t == "string")
|
|
979
|
-
return t;
|
|
980
|
-
if ("path" in t)
|
|
981
|
-
return t.path;
|
|
982
|
-
var e = {};
|
|
983
|
-
return Er.forEach(function(r) {
|
|
984
|
-
r in t && (e[r] = t[r]);
|
|
985
|
-
}), JSON.stringify(e, null, 2);
|
|
986
|
-
}
|
|
987
|
-
function oe(t) {
|
|
988
|
-
return Object.prototype.toString.call(t).indexOf("Error") > -1;
|
|
989
|
-
}
|
|
990
|
-
function ue(t, e) {
|
|
991
|
-
return oe(t) && t._isRouter && (e == null || t.type === e);
|
|
992
|
-
}
|
|
993
|
-
function Fe(t, e, r) {
|
|
994
|
-
var n = function(i) {
|
|
995
|
-
i >= t.length ? r() : t[i] ? e(t[i], function() {
|
|
996
|
-
n(i + 1);
|
|
997
|
-
}) : n(i + 1);
|
|
998
|
-
};
|
|
999
|
-
n(0);
|
|
1000
|
-
}
|
|
1001
|
-
function Sr(t) {
|
|
1002
|
-
return function(e, r, n) {
|
|
1003
|
-
var i = !1, s = 0, o = null;
|
|
1004
|
-
vt(t, function(a, c, u, d) {
|
|
1005
|
-
if (typeof a == "function" && a.cid === void 0) {
|
|
1006
|
-
i = !0, s++;
|
|
1007
|
-
var m = He(function(l) {
|
|
1008
|
-
Nr(l) && (l = l.default), a.resolved = typeof l == "function" ? l : ne.extend(l), u.components[d] = l, s--, s <= 0 && n();
|
|
1009
|
-
}), h = He(function(l) {
|
|
1010
|
-
var f = "Failed to resolve async component " + d + ": " + l;
|
|
1011
|
-
process.env.NODE_ENV !== "production" && P(!1, f), o || (o = oe(l) ? l : new Error(f), n(o));
|
|
1012
|
-
}), v;
|
|
1013
|
-
try {
|
|
1014
|
-
v = a(m, h);
|
|
1015
|
-
} catch (l) {
|
|
1016
|
-
h(l);
|
|
1017
|
-
}
|
|
1018
|
-
if (v)
|
|
1019
|
-
if (typeof v.then == "function")
|
|
1020
|
-
v.then(m, h);
|
|
1021
|
-
else {
|
|
1022
|
-
var p = v.component;
|
|
1023
|
-
p && typeof p.then == "function" && p.then(m, h);
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
}), i || n();
|
|
1027
|
-
};
|
|
1028
|
-
}
|
|
1029
|
-
function vt(t, e) {
|
|
1030
|
-
return mt(t.map(function(r) {
|
|
1031
|
-
return Object.keys(r.components).map(function(n) {
|
|
1032
|
-
return e(
|
|
1033
|
-
r.components[n],
|
|
1034
|
-
r.instances[n],
|
|
1035
|
-
r,
|
|
1036
|
-
n
|
|
1037
|
-
);
|
|
1038
|
-
});
|
|
1039
|
-
}));
|
|
1040
|
-
}
|
|
1041
|
-
function mt(t) {
|
|
1042
|
-
return Array.prototype.concat.apply([], t);
|
|
1043
|
-
}
|
|
1044
|
-
var xr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
|
|
1045
|
-
function Nr(t) {
|
|
1046
|
-
return t.__esModule || xr && t[Symbol.toStringTag] === "Module";
|
|
1047
|
-
}
|
|
1048
|
-
function He(t) {
|
|
1049
|
-
var e = !1;
|
|
1050
|
-
return function() {
|
|
1051
|
-
for (var r = [], n = arguments.length; n--; )
|
|
1052
|
-
r[n] = arguments[n];
|
|
1053
|
-
if (!e)
|
|
1054
|
-
return e = !0, t.apply(this, r);
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
var N = function(e, r) {
|
|
1058
|
-
this.router = e, this.base = Or(r), this.current = V, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = [], this.listeners = [];
|
|
1059
|
-
};
|
|
1060
|
-
N.prototype.listen = function(e) {
|
|
1061
|
-
this.cb = e;
|
|
1062
|
-
};
|
|
1063
|
-
N.prototype.onReady = function(e, r) {
|
|
1064
|
-
this.ready ? e() : (this.readyCbs.push(e), r && this.readyErrorCbs.push(r));
|
|
1065
|
-
};
|
|
1066
|
-
N.prototype.onError = function(e) {
|
|
1067
|
-
this.errorCbs.push(e);
|
|
1068
|
-
};
|
|
1069
|
-
N.prototype.transitionTo = function(e, r, n) {
|
|
1070
|
-
var i = this, s;
|
|
1071
|
-
try {
|
|
1072
|
-
s = this.router.match(e, this.current);
|
|
1073
|
-
} catch (a) {
|
|
1074
|
-
throw this.errorCbs.forEach(function(c) {
|
|
1075
|
-
c(a);
|
|
1076
|
-
}), a;
|
|
1077
|
-
}
|
|
1078
|
-
var o = this.current;
|
|
1079
|
-
this.confirmTransition(
|
|
1080
|
-
s,
|
|
1081
|
-
function() {
|
|
1082
|
-
i.updateRoute(s), r && r(s), i.ensureURL(), i.router.afterHooks.forEach(function(a) {
|
|
1083
|
-
a && a(s, o);
|
|
1084
|
-
}), i.ready || (i.ready = !0, i.readyCbs.forEach(function(a) {
|
|
1085
|
-
a(s);
|
|
1086
|
-
}));
|
|
1087
|
-
},
|
|
1088
|
-
function(a) {
|
|
1089
|
-
n && n(a), a && !i.ready && (!ue(a, q.redirected) || o !== V) && (i.ready = !0, i.readyErrorCbs.forEach(function(c) {
|
|
1090
|
-
c(a);
|
|
1091
|
-
}));
|
|
1092
|
-
}
|
|
1093
|
-
);
|
|
1094
|
-
};
|
|
1095
|
-
N.prototype.confirmTransition = function(e, r, n) {
|
|
1096
|
-
var i = this, s = this.current;
|
|
1097
|
-
this.pending = e;
|
|
1098
|
-
var o = function(l) {
|
|
1099
|
-
!ue(l) && oe(l) && (i.errorCbs.length ? i.errorCbs.forEach(function(f) {
|
|
1100
|
-
f(l);
|
|
1101
|
-
}) : (process.env.NODE_ENV !== "production" && P(!1, "uncaught error during route navigation:"), console.error(l))), n && n(l);
|
|
1102
|
-
}, a = e.matched.length - 1, c = s.matched.length - 1;
|
|
1103
|
-
if (rt(e, s) && // in the case the route map has been dynamically appended to
|
|
1104
|
-
a === c && e.matched[a] === s.matched[c])
|
|
1105
|
-
return this.ensureURL(), e.hash && T(this.router, s, e, !1), o(Rr(s, e));
|
|
1106
|
-
var u = $r(
|
|
1107
|
-
this.current.matched,
|
|
1108
|
-
e.matched
|
|
1109
|
-
), d = u.updated, m = u.deactivated, h = u.activated, v = [].concat(
|
|
1110
|
-
// in-component leave guards
|
|
1111
|
-
Tr(m),
|
|
1112
|
-
// global before hooks
|
|
1113
|
-
this.router.beforeHooks,
|
|
1114
|
-
// in-component update hooks
|
|
1115
|
-
Ir(d),
|
|
1116
|
-
// in-config enter guards
|
|
1117
|
-
h.map(function(l) {
|
|
1118
|
-
return l.beforeEnter;
|
|
1119
|
-
}),
|
|
1120
|
-
// async components
|
|
1121
|
-
Sr(h)
|
|
1122
|
-
), p = function(l, f) {
|
|
1123
|
-
if (i.pending !== e)
|
|
1124
|
-
return o(We(s, e));
|
|
1125
|
-
try {
|
|
1126
|
-
l(e, s, function(g) {
|
|
1127
|
-
g === !1 ? (i.ensureURL(!0), o(Pr(s, e))) : oe(g) ? (i.ensureURL(!0), o(g)) : typeof g == "string" || typeof g == "object" && (typeof g.path == "string" || typeof g.name == "string") ? (o(Cr(s, e)), typeof g == "object" && g.replace ? i.replace(g) : i.push(g)) : f(g);
|
|
1128
|
-
});
|
|
1129
|
-
} catch (g) {
|
|
1130
|
-
o(g);
|
|
1131
|
-
}
|
|
1132
|
-
};
|
|
1133
|
-
Fe(v, p, function() {
|
|
1134
|
-
var l = Vr(h), f = l.concat(i.router.resolveHooks);
|
|
1135
|
-
Fe(f, p, function() {
|
|
1136
|
-
if (i.pending !== e)
|
|
1137
|
-
return o(We(s, e));
|
|
1138
|
-
i.pending = null, r(e), i.router.app && i.router.app.$nextTick(function() {
|
|
1139
|
-
nt(e);
|
|
1140
|
-
});
|
|
1141
|
-
});
|
|
1142
|
-
});
|
|
1143
|
-
};
|
|
1144
|
-
N.prototype.updateRoute = function(e) {
|
|
1145
|
-
this.current = e, this.cb && this.cb(e);
|
|
1146
|
-
};
|
|
1147
|
-
N.prototype.setupListeners = function() {
|
|
1148
|
-
};
|
|
1149
|
-
N.prototype.teardown = function() {
|
|
1150
|
-
this.listeners.forEach(function(e) {
|
|
1151
|
-
e();
|
|
1152
|
-
}), this.listeners = [], this.current = V, this.pending = null;
|
|
1153
|
-
};
|
|
1154
|
-
function Or(t) {
|
|
1155
|
-
if (!t)
|
|
1156
|
-
if (F) {
|
|
1157
|
-
var e = document.querySelector("base");
|
|
1158
|
-
t = e && e.getAttribute("href") || "/", t = t.replace(/^https?:\/\/[^\/]+/, "");
|
|
1159
|
-
} else
|
|
1160
|
-
t = "/";
|
|
1161
|
-
return t.charAt(0) !== "/" && (t = "/" + t), t.replace(/\/$/, "");
|
|
1162
|
-
}
|
|
1163
|
-
function $r(t, e) {
|
|
1164
|
-
var r, n = Math.max(t.length, e.length);
|
|
1165
|
-
for (r = 0; r < n && t[r] === e[r]; r++)
|
|
1166
|
-
;
|
|
1167
|
-
return {
|
|
1168
|
-
updated: e.slice(0, r),
|
|
1169
|
-
activated: e.slice(r),
|
|
1170
|
-
deactivated: t.slice(r)
|
|
1171
|
-
};
|
|
1172
|
-
}
|
|
1173
|
-
function Re(t, e, r, n) {
|
|
1174
|
-
var i = vt(t, function(s, o, a, c) {
|
|
1175
|
-
var u = Lr(s, e);
|
|
1176
|
-
if (u)
|
|
1177
|
-
return Array.isArray(u) ? u.map(function(d) {
|
|
1178
|
-
return r(d, o, a, c);
|
|
1179
|
-
}) : r(u, o, a, c);
|
|
1180
|
-
});
|
|
1181
|
-
return mt(n ? i.reverse() : i);
|
|
1182
|
-
}
|
|
1183
|
-
function Lr(t, e) {
|
|
1184
|
-
return typeof t != "function" && (t = ne.extend(t)), t.options[e];
|
|
1185
|
-
}
|
|
1186
|
-
function Tr(t) {
|
|
1187
|
-
return Re(t, "beforeRouteLeave", gt, !0);
|
|
1188
|
-
}
|
|
1189
|
-
function Ir(t) {
|
|
1190
|
-
return Re(t, "beforeRouteUpdate", gt);
|
|
1191
|
-
}
|
|
1192
|
-
function gt(t, e) {
|
|
1193
|
-
if (e)
|
|
1194
|
-
return function() {
|
|
1195
|
-
return t.apply(e, arguments);
|
|
1196
|
-
};
|
|
1197
|
-
}
|
|
1198
|
-
function Vr(t) {
|
|
1199
|
-
return Re(
|
|
1200
|
-
t,
|
|
1201
|
-
"beforeRouteEnter",
|
|
1202
|
-
function(e, r, n, i) {
|
|
1203
|
-
return Ar(e, n, i);
|
|
1204
|
-
}
|
|
1205
|
-
);
|
|
1206
|
-
}
|
|
1207
|
-
function Ar(t, e, r) {
|
|
1208
|
-
return function(i, s, o) {
|
|
1209
|
-
return t(i, s, function(a) {
|
|
1210
|
-
typeof a == "function" && (e.enteredCbs[r] || (e.enteredCbs[r] = []), e.enteredCbs[r].push(a)), o(a);
|
|
1211
|
-
});
|
|
1212
|
-
};
|
|
1213
|
-
}
|
|
1214
|
-
var yt = /* @__PURE__ */ function(t) {
|
|
1215
|
-
function e(r, n) {
|
|
1216
|
-
t.call(this, r, n), this._startLocation = D(this.base);
|
|
1217
|
-
}
|
|
1218
|
-
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
|
|
1219
|
-
var n = this;
|
|
1220
|
-
if (!(this.listeners.length > 0)) {
|
|
1221
|
-
var i = this.router, s = i.options.scrollBehavior, o = I && s;
|
|
1222
|
-
o && this.listeners.push(dt());
|
|
1223
|
-
var a = function() {
|
|
1224
|
-
var c = n.current, u = D(n.base);
|
|
1225
|
-
n.current === V && u === n._startLocation || n.transitionTo(u, function(d) {
|
|
1226
|
-
o && T(i, d, c, !0);
|
|
1227
|
-
});
|
|
1228
|
-
};
|
|
1229
|
-
window.addEventListener("popstate", a), this.listeners.push(function() {
|
|
1230
|
-
window.removeEventListener("popstate", a);
|
|
1231
|
-
});
|
|
1232
|
-
}
|
|
1233
|
-
}, e.prototype.go = function(n) {
|
|
1234
|
-
window.history.go(n);
|
|
1235
|
-
}, e.prototype.push = function(n, i, s) {
|
|
1236
|
-
var o = this, a = this, c = a.current;
|
|
1237
|
-
this.transitionTo(n, function(u) {
|
|
1238
|
-
se(L(o.base + u.fullPath)), T(o.router, u, c, !1), i && i(u);
|
|
1239
|
-
}, s);
|
|
1240
|
-
}, e.prototype.replace = function(n, i, s) {
|
|
1241
|
-
var o = this, a = this, c = a.current;
|
|
1242
|
-
this.transitionTo(n, function(u) {
|
|
1243
|
-
pe(L(o.base + u.fullPath)), T(o.router, u, c, !1), i && i(u);
|
|
1244
|
-
}, s);
|
|
1245
|
-
}, e.prototype.ensureURL = function(n) {
|
|
1246
|
-
if (D(this.base) !== this.current.fullPath) {
|
|
1247
|
-
var i = L(this.base + this.current.fullPath);
|
|
1248
|
-
n ? se(i) : pe(i);
|
|
1249
|
-
}
|
|
1250
|
-
}, e.prototype.getCurrentLocation = function() {
|
|
1251
|
-
return D(this.base);
|
|
1252
|
-
}, e;
|
|
1253
|
-
}(N);
|
|
1254
|
-
function D(t) {
|
|
1255
|
-
var e = window.location.pathname, r = e.toLowerCase(), n = t.toLowerCase();
|
|
1256
|
-
return t && (r === n || r.indexOf(L(n + "/")) === 0) && (e = e.slice(t.length)), (e || "/") + window.location.search + window.location.hash;
|
|
1257
|
-
}
|
|
1258
|
-
var _t = /* @__PURE__ */ function(t) {
|
|
1259
|
-
function e(r, n, i) {
|
|
1260
|
-
t.call(this, r, n), !(i && qr(this.base)) && Ge();
|
|
1261
|
-
}
|
|
1262
|
-
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
|
|
1263
|
-
var n = this;
|
|
1264
|
-
if (!(this.listeners.length > 0)) {
|
|
1265
|
-
var i = this.router, s = i.options.scrollBehavior, o = I && s;
|
|
1266
|
-
o && this.listeners.push(dt());
|
|
1267
|
-
var a = function() {
|
|
1268
|
-
var u = n.current;
|
|
1269
|
-
Ge() && n.transitionTo(Y(), function(d) {
|
|
1270
|
-
o && T(n.router, d, u, !0), I || Z(d.fullPath);
|
|
1271
|
-
});
|
|
1272
|
-
}, c = I ? "popstate" : "hashchange";
|
|
1273
|
-
window.addEventListener(
|
|
1274
|
-
c,
|
|
1275
|
-
a
|
|
1276
|
-
), this.listeners.push(function() {
|
|
1277
|
-
window.removeEventListener(c, a);
|
|
1278
|
-
});
|
|
1279
|
-
}
|
|
1280
|
-
}, e.prototype.push = function(n, i, s) {
|
|
1281
|
-
var o = this, a = this, c = a.current;
|
|
1282
|
-
this.transitionTo(
|
|
1283
|
-
n,
|
|
1284
|
-
function(u) {
|
|
1285
|
-
Qe(u.fullPath), T(o.router, u, c, !1), i && i(u);
|
|
1286
|
-
},
|
|
1287
|
-
s
|
|
1288
|
-
);
|
|
1289
|
-
}, e.prototype.replace = function(n, i, s) {
|
|
1290
|
-
var o = this, a = this, c = a.current;
|
|
1291
|
-
this.transitionTo(
|
|
1292
|
-
n,
|
|
1293
|
-
function(u) {
|
|
1294
|
-
Z(u.fullPath), T(o.router, u, c, !1), i && i(u);
|
|
1295
|
-
},
|
|
1296
|
-
s
|
|
1297
|
-
);
|
|
1298
|
-
}, e.prototype.go = function(n) {
|
|
1299
|
-
window.history.go(n);
|
|
1300
|
-
}, e.prototype.ensureURL = function(n) {
|
|
1301
|
-
var i = this.current.fullPath;
|
|
1302
|
-
Y() !== i && (n ? Qe(i) : Z(i));
|
|
1303
|
-
}, e.prototype.getCurrentLocation = function() {
|
|
1304
|
-
return Y();
|
|
1305
|
-
}, e;
|
|
1306
|
-
}(N);
|
|
1307
|
-
function qr(t) {
|
|
1308
|
-
var e = D(t);
|
|
1309
|
-
if (!/^\/#/.test(e))
|
|
1310
|
-
return window.location.replace(L(t + "/#" + e)), !0;
|
|
1311
|
-
}
|
|
1312
|
-
function Ge() {
|
|
1313
|
-
var t = Y();
|
|
1314
|
-
return t.charAt(0) === "/" ? !0 : (Z("/" + t), !1);
|
|
1315
|
-
}
|
|
1316
|
-
function Y() {
|
|
1317
|
-
var t = window.location.href, e = t.indexOf("#");
|
|
1318
|
-
return e < 0 ? "" : (t = t.slice(e + 1), t);
|
|
1319
|
-
}
|
|
1320
|
-
function ve(t) {
|
|
1321
|
-
var e = window.location.href, r = e.indexOf("#"), n = r >= 0 ? e.slice(0, r) : e;
|
|
1322
|
-
return n + "#" + t;
|
|
1323
|
-
}
|
|
1324
|
-
function Qe(t) {
|
|
1325
|
-
I ? se(ve(t)) : window.location.hash = t;
|
|
1326
|
-
}
|
|
1327
|
-
function Z(t) {
|
|
1328
|
-
I ? pe(ve(t)) : window.location.replace(ve(t));
|
|
1329
|
-
}
|
|
1330
|
-
var Br = /* @__PURE__ */ function(t) {
|
|
1331
|
-
function e(r, n) {
|
|
1332
|
-
t.call(this, r, n), this.stack = [], this.index = -1;
|
|
1333
|
-
}
|
|
1334
|
-
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.push = function(n, i, s) {
|
|
1335
|
-
var o = this;
|
|
1336
|
-
this.transitionTo(
|
|
1337
|
-
n,
|
|
1338
|
-
function(a) {
|
|
1339
|
-
o.stack = o.stack.slice(0, o.index + 1).concat(a), o.index++, i && i(a);
|
|
1340
|
-
},
|
|
1341
|
-
s
|
|
1342
|
-
);
|
|
1343
|
-
}, e.prototype.replace = function(n, i, s) {
|
|
1344
|
-
var o = this;
|
|
1345
|
-
this.transitionTo(
|
|
1346
|
-
n,
|
|
1347
|
-
function(a) {
|
|
1348
|
-
o.stack = o.stack.slice(0, o.index).concat(a), i && i(a);
|
|
1349
|
-
},
|
|
1350
|
-
s
|
|
1351
|
-
);
|
|
1352
|
-
}, e.prototype.go = function(n) {
|
|
1353
|
-
var i = this, s = this.index + n;
|
|
1354
|
-
if (!(s < 0 || s >= this.stack.length)) {
|
|
1355
|
-
var o = this.stack[s];
|
|
1356
|
-
this.confirmTransition(
|
|
1357
|
-
o,
|
|
1358
|
-
function() {
|
|
1359
|
-
var a = i.current;
|
|
1360
|
-
i.index = s, i.updateRoute(o), i.router.afterHooks.forEach(function(c) {
|
|
1361
|
-
c && c(o, a);
|
|
1362
|
-
});
|
|
1363
|
-
},
|
|
1364
|
-
function(a) {
|
|
1365
|
-
ue(a, q.duplicated) && (i.index = s);
|
|
1366
|
-
}
|
|
1367
|
-
);
|
|
1368
|
-
}
|
|
1369
|
-
}, e.prototype.getCurrentLocation = function() {
|
|
1370
|
-
var n = this.stack[this.stack.length - 1];
|
|
1371
|
-
return n ? n.fullPath : "/";
|
|
1372
|
-
}, e.prototype.ensureURL = function() {
|
|
1373
|
-
}, e;
|
|
1374
|
-
}(N), b = function t(e) {
|
|
1375
|
-
e === void 0 && (e = {}), process.env.NODE_ENV !== "production" && P(this instanceof t, "Router must be called with the new operator."), this.app = null, this.apps = [], this.options = e, this.beforeHooks = [], this.resolveHooks = [], this.afterHooks = [], this.matcher = pr(e.routes || [], this);
|
|
1376
|
-
var r = e.mode || "hash";
|
|
1377
|
-
switch (this.fallback = r === "history" && !I && e.fallback !== !1, this.fallback && (r = "hash"), F || (r = "abstract"), this.mode = r, r) {
|
|
1378
|
-
case "history":
|
|
1379
|
-
this.history = new yt(this, e.base);
|
|
1380
|
-
break;
|
|
1381
|
-
case "hash":
|
|
1382
|
-
this.history = new _t(this, e.base, this.fallback);
|
|
1383
|
-
break;
|
|
1384
|
-
case "abstract":
|
|
1385
|
-
this.history = new Br(this, e.base);
|
|
1386
|
-
break;
|
|
1387
|
-
default:
|
|
1388
|
-
process.env.NODE_ENV !== "production" && A(!1, "invalid mode: " + r);
|
|
1389
|
-
}
|
|
1390
|
-
}, wt = { currentRoute: { configurable: !0 } };
|
|
1391
|
-
b.prototype.match = function(e, r, n) {
|
|
1392
|
-
return this.matcher.match(e, r, n);
|
|
1393
|
-
};
|
|
1394
|
-
wt.currentRoute.get = function() {
|
|
1395
|
-
return this.history && this.history.current;
|
|
1396
|
-
};
|
|
1397
|
-
b.prototype.init = function(e) {
|
|
1398
|
-
var r = this;
|
|
1399
|
-
if (process.env.NODE_ENV !== "production" && A(
|
|
1400
|
-
ie.installed,
|
|
1401
|
-
"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."
|
|
1402
|
-
), this.apps.push(e), e.$once("hook:destroyed", function() {
|
|
1403
|
-
var o = r.apps.indexOf(e);
|
|
1404
|
-
o > -1 && r.apps.splice(o, 1), r.app === e && (r.app = r.apps[0] || null), r.app || r.history.teardown();
|
|
1405
|
-
}), !this.app) {
|
|
1406
|
-
this.app = e;
|
|
1407
|
-
var n = this.history;
|
|
1408
|
-
if (n instanceof yt || n instanceof _t) {
|
|
1409
|
-
var i = function(o) {
|
|
1410
|
-
var a = n.current, c = r.options.scrollBehavior, u = I && c;
|
|
1411
|
-
u && "fullPath" in o && T(r, o, a, !1);
|
|
1412
|
-
}, s = function(o) {
|
|
1413
|
-
n.setupListeners(), i(o);
|
|
1414
|
-
};
|
|
1415
|
-
n.transitionTo(
|
|
1416
|
-
n.getCurrentLocation(),
|
|
1417
|
-
s,
|
|
1418
|
-
s
|
|
1419
|
-
);
|
|
1420
|
-
}
|
|
1421
|
-
n.listen(function(o) {
|
|
1422
|
-
r.apps.forEach(function(a) {
|
|
1423
|
-
a._route = o;
|
|
1424
|
-
});
|
|
1425
|
-
});
|
|
1426
|
-
}
|
|
1427
|
-
};
|
|
1428
|
-
b.prototype.beforeEach = function(e) {
|
|
1429
|
-
return Pe(this.beforeHooks, e);
|
|
1430
|
-
};
|
|
1431
|
-
b.prototype.beforeResolve = function(e) {
|
|
1432
|
-
return Pe(this.resolveHooks, e);
|
|
1433
|
-
};
|
|
1434
|
-
b.prototype.afterEach = function(e) {
|
|
1435
|
-
return Pe(this.afterHooks, e);
|
|
1436
|
-
};
|
|
1437
|
-
b.prototype.onReady = function(e, r) {
|
|
1438
|
-
this.history.onReady(e, r);
|
|
1439
|
-
};
|
|
1440
|
-
b.prototype.onError = function(e) {
|
|
1441
|
-
this.history.onError(e);
|
|
1442
|
-
};
|
|
1443
|
-
b.prototype.push = function(e, r, n) {
|
|
1444
|
-
var i = this;
|
|
1445
|
-
if (!r && !n && typeof Promise < "u")
|
|
1446
|
-
return new Promise(function(s, o) {
|
|
1447
|
-
i.history.push(e, s, o);
|
|
1448
|
-
});
|
|
1449
|
-
this.history.push(e, r, n);
|
|
1450
|
-
};
|
|
1451
|
-
b.prototype.replace = function(e, r, n) {
|
|
1452
|
-
var i = this;
|
|
1453
|
-
if (!r && !n && typeof Promise < "u")
|
|
1454
|
-
return new Promise(function(s, o) {
|
|
1455
|
-
i.history.replace(e, s, o);
|
|
1456
|
-
});
|
|
1457
|
-
this.history.replace(e, r, n);
|
|
1458
|
-
};
|
|
1459
|
-
b.prototype.go = function(e) {
|
|
1460
|
-
this.history.go(e);
|
|
1461
|
-
};
|
|
1462
|
-
b.prototype.back = function() {
|
|
1463
|
-
this.go(-1);
|
|
1464
|
-
};
|
|
1465
|
-
b.prototype.forward = function() {
|
|
1466
|
-
this.go(1);
|
|
1467
|
-
};
|
|
1468
|
-
b.prototype.getMatchedComponents = function(e) {
|
|
1469
|
-
var r = e ? e.matched ? e : this.resolve(e).route : this.currentRoute;
|
|
1470
|
-
return r ? [].concat.apply(
|
|
1471
|
-
[],
|
|
1472
|
-
r.matched.map(function(n) {
|
|
1473
|
-
return Object.keys(n.components).map(function(i) {
|
|
1474
|
-
return n.components[i];
|
|
1475
|
-
});
|
|
1476
|
-
})
|
|
1477
|
-
) : [];
|
|
1478
|
-
};
|
|
1479
|
-
b.prototype.resolve = function(e, r, n) {
|
|
1480
|
-
r = r || this.history.current;
|
|
1481
|
-
var i = be(e, r, n, this), s = this.match(i, r), o = s.redirectedFrom || s.fullPath, a = this.history.base, c = jr(a, o, this.mode);
|
|
1482
|
-
return {
|
|
1483
|
-
location: i,
|
|
1484
|
-
route: s,
|
|
1485
|
-
href: c,
|
|
1486
|
-
// for backwards compat
|
|
1487
|
-
normalizedTo: i,
|
|
1488
|
-
resolved: s
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
b.prototype.getRoutes = function() {
|
|
1492
|
-
return this.matcher.getRoutes();
|
|
1493
|
-
};
|
|
1494
|
-
b.prototype.addRoute = function(e, r) {
|
|
1495
|
-
this.matcher.addRoute(e, r), this.history.current !== V && this.history.transitionTo(this.history.getCurrentLocation());
|
|
1496
|
-
};
|
|
1497
|
-
b.prototype.addRoutes = function(e) {
|
|
1498
|
-
process.env.NODE_ENV !== "production" && P(!1, "router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead."), this.matcher.addRoutes(e), this.history.current !== V && this.history.transitionTo(this.history.getCurrentLocation());
|
|
1499
|
-
};
|
|
1500
|
-
Object.defineProperties(b.prototype, wt);
|
|
1501
|
-
function Pe(t, e) {
|
|
1502
|
-
return t.push(e), function() {
|
|
1503
|
-
var r = t.indexOf(e);
|
|
1504
|
-
r > -1 && t.splice(r, 1);
|
|
1505
|
-
};
|
|
1506
|
-
}
|
|
1507
|
-
function jr(t, e, r) {
|
|
1508
|
-
var n = r === "hash" ? "#" + e : e;
|
|
1509
|
-
return t ? L(t + "/" + n) : n;
|
|
1510
|
-
}
|
|
1511
|
-
b.install = ie;
|
|
1512
|
-
b.version = "3.6.5";
|
|
1513
|
-
b.isNavigationFailure = ue;
|
|
1514
|
-
b.NavigationFailureType = q;
|
|
1515
|
-
b.START_LOCATION = V;
|
|
1516
|
-
F && window.Vue && window.Vue.use(b);
|
|
1517
|
-
y.register(y.t20);
|
|
1518
|
-
const Mr = 3 * 60 * 1e3, Ur = {
|
|
1519
|
-
name: "NcReferenceWidget",
|
|
1520
|
-
components: {
|
|
1521
|
-
NcButton: et
|
|
1522
|
-
},
|
|
1523
|
-
props: {
|
|
1524
|
-
reference: {
|
|
1525
|
-
type: Object,
|
|
1526
|
-
required: !0
|
|
1527
|
-
},
|
|
1528
|
-
interactive: {
|
|
1529
|
-
type: Boolean,
|
|
1530
|
-
default: !0
|
|
1531
|
-
},
|
|
1532
|
-
interactiveOptIn: {
|
|
1533
|
-
type: Boolean,
|
|
1534
|
-
default: !1
|
|
1535
|
-
}
|
|
1536
|
-
},
|
|
1537
|
-
setup() {
|
|
1538
|
-
const t = Q.ref(3), e = Q.ref(!1), r = Q.ref();
|
|
1539
|
-
return Oe.useIntersectionObserver(r, (n) => {
|
|
1540
|
-
var i, s;
|
|
1541
|
-
e.value = (s = (i = n[0]) == null ? void 0 : i.isIntersecting) != null ? s : !1;
|
|
1542
|
-
}), Oe.useResizeObserver(r, (n) => {
|
|
1543
|
-
n[0].contentRect.width < 450 ? t.value = 0 : n[0].contentRect.width < 550 ? t.value = 1 : n[0].contentRect.width < 650 ? t.value = 2 : t.value = 3;
|
|
1544
|
-
}), {
|
|
1545
|
-
compact: t,
|
|
1546
|
-
isVisible: e,
|
|
1547
|
-
widgetRoot: r
|
|
1548
|
-
};
|
|
1549
|
-
},
|
|
1550
|
-
data() {
|
|
1551
|
-
return {
|
|
1552
|
-
showInteractive: !1,
|
|
1553
|
-
rendered: !1,
|
|
1554
|
-
idleTimeout: null
|
|
1555
|
-
};
|
|
1556
|
-
},
|
|
1557
|
-
computed: {
|
|
1558
|
-
isInteractive() {
|
|
1559
|
-
return !this.interactiveOptIn && this.interactive || this.showInteractive;
|
|
1560
|
-
},
|
|
1561
|
-
hasFullWidth() {
|
|
1562
|
-
return k.hasFullWidth(this.reference.richObjectType);
|
|
1563
|
-
},
|
|
1564
|
-
hasCustomWidget() {
|
|
1565
|
-
return k.isWidgetRegistered(this.reference.richObjectType);
|
|
1566
|
-
},
|
|
1567
|
-
hasInteractiveView() {
|
|
1568
|
-
return k.isWidgetRegistered(this.reference.richObjectType) && k.hasInteractiveView(this.reference.richObjectType);
|
|
1569
|
-
},
|
|
1570
|
-
noAccess() {
|
|
1571
|
-
return this.reference && !this.reference.accessible;
|
|
1572
|
-
},
|
|
1573
|
-
descriptionStyle() {
|
|
1574
|
-
if (this.compact === 0)
|
|
1575
|
-
return {
|
|
1576
|
-
display: "none"
|
|
1577
|
-
};
|
|
1578
|
-
const t = this.compact < 4 ? this.compact : 3;
|
|
1579
|
-
return {
|
|
1580
|
-
lineClamp: t,
|
|
1581
|
-
webkitLineClamp: t
|
|
1582
|
-
};
|
|
1583
|
-
},
|
|
1584
|
-
compactLink() {
|
|
1585
|
-
const t = this.reference.openGraphObject.link;
|
|
1586
|
-
return t ? t.startsWith("https://") ? t.substring(8) : t.startsWith("http://") ? t.substring(7) : t : "";
|
|
1587
|
-
},
|
|
1588
|
-
route() {
|
|
1589
|
-
return $t.getRoute(this.$router, this.reference.openGraphObject.link);
|
|
1590
|
-
},
|
|
1591
|
-
referenceWidgetLinkComponent() {
|
|
1592
|
-
return this.route ? Ce : "a";
|
|
1593
|
-
},
|
|
1594
|
-
referenceWidgetLinkProps() {
|
|
1595
|
-
return this.route ? { to: this.route } : { href: this.reference.openGraphObject.link, target: "_blank" };
|
|
1596
|
-
}
|
|
1597
|
-
},
|
|
1598
|
-
watch: {
|
|
1599
|
-
isVisible: {
|
|
1600
|
-
handler(t) {
|
|
1601
|
-
if (!t) {
|
|
1602
|
-
this.idleTimeout = setTimeout(() => {
|
|
1603
|
-
this.isVisible || this.destroyWidget();
|
|
1604
|
-
}, Mr);
|
|
1605
|
-
return;
|
|
1606
|
-
}
|
|
1607
|
-
this.idleTimeout && (clearTimeout(this.idleTimeout), this.idleTimeout = null), this.rendered || this.renderWidget();
|
|
1608
|
-
},
|
|
1609
|
-
immediate: !0
|
|
1610
|
-
}
|
|
1611
|
-
},
|
|
1612
|
-
beforeDestroy() {
|
|
1613
|
-
this.destroyWidget();
|
|
1614
|
-
},
|
|
1615
|
-
methods: {
|
|
1616
|
-
t: y.t,
|
|
1617
|
-
enableInteractive() {
|
|
1618
|
-
this.showInteractive = !0, this.renderWidget();
|
|
1619
|
-
},
|
|
1620
|
-
renderWidget() {
|
|
1621
|
-
var e;
|
|
1622
|
-
if (this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), ((e = this == null ? void 0 : this.reference) == null ? void 0 : e.richObjectType) === "open-graph")
|
|
1623
|
-
return;
|
|
1624
|
-
const t = document.createElement("div");
|
|
1625
|
-
this.$refs.customWidget.appendChild(t), this.$nextTick(() => {
|
|
1626
|
-
k.renderWidget(t, {
|
|
1627
|
-
...this.reference,
|
|
1628
|
-
interactive: this.isInteractive
|
|
1629
|
-
}), this.rendered = !0;
|
|
1630
|
-
});
|
|
1631
|
-
},
|
|
1632
|
-
destroyWidget() {
|
|
1633
|
-
this.rendered && (k.destroyWidget(this.reference.richObjectType, this.$el), this.rendered = !1);
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
};
|
|
1637
|
-
var zr = function() {
|
|
1638
|
-
var e = this, r = e._self._c;
|
|
1639
|
-
return r("div", { ref: "widgetRoot", class: { "toggle-interactive": e.hasInteractiveView && !e.isInteractive } }, [e.reference && e.hasCustomWidget ? r("div", { ref: "customWidget", staticClass: "widget-custom", class: { "full-width": e.hasFullWidth } }) : !e.noAccess && e.reference && e.reference.openGraphObject && !e.hasCustomWidget ? r(e.referenceWidgetLinkComponent, e._b({ tag: "component", staticClass: "widget-default", attrs: { rel: "noopener noreferrer" } }, "component", e.referenceWidgetLinkProps, !1), [e.reference.openGraphObject.thumb ? r("img", { staticClass: "widget-default--image", attrs: { src: e.reference.openGraphObject.thumb } }) : e._e(), r("div", { staticClass: "widget-default--details" }, [r("p", { staticClass: "widget-default--name" }, [e._v(" " + e._s(e.reference.openGraphObject.name) + " ")]), r("p", { staticClass: "widget-default--description", style: e.descriptionStyle }, [e._v(" " + e._s(e.reference.openGraphObject.description) + " ")]), r("p", { staticClass: "widget-default--link" }, [e._v(" " + e._s(e.compactLink) + " ")])])]) : e._e(), e.interactiveOptIn && e.hasInteractiveView && !e.isInteractive ? r("NcButton", { staticClass: "toggle-interactive--button", on: { click: e.enableInteractive } }, [e._v(" " + e._s(e.t("Enable interactive view")) + " ")]) : e._e()], 1);
|
|
1640
|
-
}, Dr = [], Wr = /* @__PURE__ */ $.normalizeComponent(
|
|
1641
|
-
Ur,
|
|
1642
|
-
zr,
|
|
1643
|
-
Dr,
|
|
1644
|
-
!1,
|
|
1645
|
-
null,
|
|
1646
|
-
"08d7279d",
|
|
1647
|
-
null,
|
|
1648
|
-
null
|
|
1649
|
-
);
|
|
1650
|
-
const bt = Wr.exports, Fr = {
|
|
1651
|
-
name: "NcCustomPickerElement",
|
|
1652
|
-
props: {
|
|
1653
|
-
/**
|
|
1654
|
-
* The reference provider
|
|
1655
|
-
*/
|
|
1656
|
-
provider: {
|
|
1657
|
-
type: Object,
|
|
1658
|
-
required: !0
|
|
1659
|
-
}
|
|
1660
|
-
},
|
|
1661
|
-
emits: [
|
|
1662
|
-
"cancel",
|
|
1663
|
-
"submit"
|
|
1664
|
-
],
|
|
1665
|
-
data() {
|
|
1666
|
-
return {
|
|
1667
|
-
isRegistered: k.isCustomPickerElementRegistered(this.provider.id),
|
|
1668
|
-
renderResult: null
|
|
1669
|
-
};
|
|
1670
|
-
},
|
|
1671
|
-
mounted() {
|
|
1672
|
-
this.isRegistered && this.renderElement();
|
|
1673
|
-
},
|
|
1674
|
-
beforeDestroy() {
|
|
1675
|
-
this.isRegistered && k.destroyCustomPickerElement(this.provider.id, this.$el, this.renderResult);
|
|
1676
|
-
},
|
|
1677
|
-
methods: {
|
|
1678
|
-
renderElement() {
|
|
1679
|
-
this.$refs.domElement && (this.$refs.domElement.innerHTML = "");
|
|
1680
|
-
const t = k.renderCustomPickerElement(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
|
|
1681
|
-
Promise.resolve(t).then((e) => {
|
|
1682
|
-
var r, n;
|
|
1683
|
-
this.renderResult = e, (r = this.renderResult.object) != null && r._isVue && ((n = this.renderResult.object) != null && n.$on) && (this.renderResult.object.$on("submit", this.onSubmit), this.renderResult.object.$on("cancel", this.onCancel)), this.renderResult.element.addEventListener("submit", (i) => {
|
|
1684
|
-
this.onSubmit(i.detail);
|
|
1685
|
-
}), this.renderResult.element.addEventListener("cancel", this.onCancel);
|
|
1686
|
-
});
|
|
1687
|
-
},
|
|
1688
|
-
onSubmit(t) {
|
|
1689
|
-
this.$emit("submit", t);
|
|
1690
|
-
},
|
|
1691
|
-
onCancel() {
|
|
1692
|
-
this.$emit("cancel");
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
};
|
|
1696
|
-
var Hr = function() {
|
|
1697
|
-
var e = this, r = e._self._c;
|
|
1698
|
-
return r("div", { ref: "domElement" });
|
|
1699
|
-
}, Gr = [], Qr = /* @__PURE__ */ $.normalizeComponent(
|
|
1700
|
-
Fr,
|
|
1701
|
-
Hr,
|
|
1702
|
-
Gr,
|
|
1703
|
-
!1,
|
|
1704
|
-
null,
|
|
1705
|
-
"25f1cef8",
|
|
1706
|
-
null,
|
|
1707
|
-
null
|
|
1708
|
-
);
|
|
1709
|
-
const Kr = Qr.exports;
|
|
1710
|
-
y.register(y.t7);
|
|
1711
|
-
const Ee = "any-link", Ct = {
|
|
1712
|
-
id: Ee,
|
|
1713
|
-
title: y.t("Any link"),
|
|
1714
|
-
icon_url: W.imagePath("core", "filetypes/link.svg")
|
|
1715
|
-
};
|
|
1716
|
-
window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = Xe.loadState("core", "reference-provider-list", []));
|
|
1717
|
-
window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = Xe.loadState("core", "reference-provider-timestamps", {}));
|
|
1718
|
-
function Rt(t) {
|
|
1719
|
-
return t === Ee ? Ct : ke().find((e) => e.id === t);
|
|
1720
|
-
}
|
|
1721
|
-
function ke() {
|
|
1722
|
-
return window._vue_richtext_reference_providers.filter((t) => {
|
|
1723
|
-
const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || k.isCustomPickerElementRegistered(t.id);
|
|
1724
|
-
return e || console.debug("[smart picker]", t.id, "reference provider is discoverable but does not have any related search provider or custom picker component registered"), e;
|
|
1725
|
-
});
|
|
1726
|
-
}
|
|
1727
|
-
function Pt(t) {
|
|
1728
|
-
const e = window._vue_richtext_reference_provider_timestamps;
|
|
1729
|
-
return t.sort((r, n) => r.order === n.order ? 0 : r.order > n.order ? 1 : -1).sort((r, n) => {
|
|
1730
|
-
const i = e[r.id], s = e[n.id];
|
|
1731
|
-
return i === s ? 0 : s === void 0 ? -1 : i === void 0 ? 1 : i > s ? -1 : 1;
|
|
1732
|
-
});
|
|
1733
|
-
}
|
|
1734
|
-
function Et(t, e = null) {
|
|
1735
|
-
const r = ke(), n = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(n, "i"), o = Pt(r).filter((c) => c.title.match(i)), a = e ? o.slice(0, e) : o;
|
|
1736
|
-
return (t === "" || a.length === 0) && a.push(Ct), a;
|
|
1737
|
-
}
|
|
1738
|
-
function Jr(t) {
|
|
1739
|
-
const e = Math.floor(Date.now() / 1e3), r = {
|
|
1740
|
-
timestamp: e
|
|
1741
|
-
}, n = W.generateOcsUrl("references/provider/{providerId}", { providerId: t });
|
|
1742
|
-
ge.default.put(n, r).then((i) => {
|
|
1743
|
-
window._vue_richtext_reference_provider_timestamps[t] = e;
|
|
1744
|
-
});
|
|
1745
|
-
}
|
|
1746
|
-
let Ke = 0;
|
|
1747
|
-
function kt(t, e) {
|
|
1748
|
-
return function() {
|
|
1749
|
-
const r = this, n = arguments;
|
|
1750
|
-
clearTimeout(Ke), Ke = setTimeout(function() {
|
|
1751
|
-
t.apply(r, n);
|
|
1752
|
-
}, e || 0);
|
|
1753
|
-
};
|
|
1754
|
-
}
|
|
1755
|
-
function Se(t) {
|
|
1756
|
-
try {
|
|
1757
|
-
return !!new URL(t);
|
|
1758
|
-
} catch {
|
|
1759
|
-
return !1;
|
|
1760
|
-
}
|
|
1761
|
-
}
|
|
1762
|
-
y.register(y.t34, y.t38);
|
|
1763
|
-
const Xr = {
|
|
1764
|
-
name: "LinkVariantIcon",
|
|
1765
|
-
emits: ["click"],
|
|
1766
|
-
props: {
|
|
1767
|
-
title: {
|
|
1768
|
-
type: String
|
|
1769
|
-
},
|
|
1770
|
-
fillColor: {
|
|
1771
|
-
type: String,
|
|
1772
|
-
default: "currentColor"
|
|
1773
|
-
},
|
|
1774
|
-
size: {
|
|
1775
|
-
type: Number,
|
|
1776
|
-
default: 24
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
};
|
|
1780
|
-
var Yr = function() {
|
|
1781
|
-
var e = this, r = e._self._c;
|
|
1782
|
-
return r("span", e._b({ staticClass: "material-design-icon link-variant-icon", attrs: { "aria-hidden": e.title ? null : !0, "aria-label": e.title, role: "img" }, on: { click: function(n) {
|
|
1783
|
-
return e.$emit("click", n);
|
|
1784
|
-
} } }, "span", e.$attrs, !1), [r("svg", { staticClass: "material-design-icon__svg", attrs: { fill: e.fillColor, width: e.size, height: e.size, viewBox: "0 0 24 24" } }, [r("path", { attrs: { d: "M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" } }, [e.title ? r("title", [e._v(e._s(e.title))]) : e._e()])])]);
|
|
1785
|
-
}, Zr = [], en = /* @__PURE__ */ $.normalizeComponent(
|
|
1786
|
-
Xr,
|
|
1787
|
-
Yr,
|
|
1788
|
-
Zr,
|
|
1789
|
-
!1,
|
|
1790
|
-
null,
|
|
1791
|
-
null,
|
|
1792
|
-
null,
|
|
1793
|
-
null
|
|
1794
|
-
);
|
|
1795
|
-
const xe = en.exports, tn = {
|
|
1796
|
-
name: "NcProviderList",
|
|
1797
|
-
components: {
|
|
1798
|
-
NcSelect: Ze.NcSelect,
|
|
1799
|
-
NcHighlight: Ye.NcHighlight,
|
|
1800
|
-
NcEmptyContent: me,
|
|
1801
|
-
LinkVariantIcon: xe
|
|
1802
|
-
},
|
|
1803
|
-
emits: [
|
|
1804
|
-
"select-provider",
|
|
1805
|
-
"submit"
|
|
1806
|
-
],
|
|
1807
|
-
data() {
|
|
1808
|
-
return {
|
|
1809
|
-
selectedProvider: null,
|
|
1810
|
-
query: "",
|
|
1811
|
-
multiselectPlaceholder: y.t("Select provider"),
|
|
1812
|
-
providerIconAlt: y.t("Provider icon")
|
|
1813
|
-
};
|
|
1814
|
-
},
|
|
1815
|
-
computed: {
|
|
1816
|
-
options() {
|
|
1817
|
-
const t = [];
|
|
1818
|
-
return this.query !== "" && Se(this.query) && t.push({
|
|
1819
|
-
id: this.query,
|
|
1820
|
-
title: this.query,
|
|
1821
|
-
isLink: !0
|
|
1822
|
-
}), t.push(...Et(this.query)), t;
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
methods: {
|
|
1826
|
-
focus() {
|
|
1827
|
-
setTimeout(() => {
|
|
1828
|
-
var t, e, r;
|
|
1829
|
-
(r = (e = (t = this.$refs["provider-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#provider-select-input")) == null || r.focus();
|
|
1830
|
-
}, 300);
|
|
1831
|
-
},
|
|
1832
|
-
onProviderSelected(t) {
|
|
1833
|
-
t !== null && (t.isLink ? this.$emit("submit", t.title) : this.$emit("select-provider", t), this.selectedProvider = null);
|
|
1834
|
-
},
|
|
1835
|
-
onSearch(t, e) {
|
|
1836
|
-
this.query = t;
|
|
1837
|
-
}
|
|
1838
|
-
}
|
|
1839
|
-
};
|
|
1840
|
-
var rn = function() {
|
|
1841
|
-
var e = this, r = e._self._c;
|
|
1842
|
-
return r("div", { staticClass: "provider-list" }, [r("NcSelect", { ref: "provider-select", staticClass: "provider-list--select", attrs: { "input-id": "provider-select-input", label: "title", placeholder: e.multiselectPlaceholder, options: e.options, "append-to-body": !1, "clear-search-on-select": !0, "clear-search-on-blur": () => !1, filterable: !1 }, on: { search: e.onSearch, input: e.onProviderSelected }, scopedSlots: e._u([{ key: "option", fn: function(n) {
|
|
1843
|
-
return [n.isLink ? r("div", { staticClass: "provider" }, [r("LinkVariantIcon", { staticClass: "link-icon", attrs: { size: 20 } }), r("span", [e._v(e._s(n.title))])], 1) : r("div", { staticClass: "provider" }, [r("img", { staticClass: "provider-icon", attrs: { src: n.icon_url, alt: e.providerIconAlt } }), r("NcHighlight", { staticClass: "option-text", attrs: { search: e.query, text: n.title } })], 1)];
|
|
1844
|
-
} }]), model: { value: e.selectedProvider, callback: function(n) {
|
|
1845
|
-
e.selectedProvider = n;
|
|
1846
|
-
}, expression: "selectedProvider" } }), r("NcEmptyContent", { staticClass: "provider-list--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
1847
|
-
return [r("LinkVariantIcon")];
|
|
1848
|
-
}, proxy: !0 }]) })], 1);
|
|
1849
|
-
}, nn = [], sn = /* @__PURE__ */ $.normalizeComponent(
|
|
1850
|
-
tn,
|
|
1851
|
-
rn,
|
|
1852
|
-
nn,
|
|
1853
|
-
!1,
|
|
1854
|
-
null,
|
|
1855
|
-
"e880790e",
|
|
1856
|
-
null,
|
|
1857
|
-
null
|
|
1858
|
-
);
|
|
1859
|
-
const on = sn.exports;
|
|
1860
|
-
y.register(y.t21);
|
|
1861
|
-
const an = {
|
|
1862
|
-
name: "NcRawLinkInput",
|
|
1863
|
-
components: {
|
|
1864
|
-
LinkVariantIcon: xe,
|
|
1865
|
-
NcEmptyContent: me,
|
|
1866
|
-
NcLoadingIcon: Lt,
|
|
1867
|
-
NcReferenceWidget: bt,
|
|
1868
|
-
NcTextField: Tt.NcTextField
|
|
1869
|
-
},
|
|
1870
|
-
props: {
|
|
1871
|
-
/**
|
|
1872
|
-
* The reference provider
|
|
1873
|
-
*/
|
|
1874
|
-
provider: {
|
|
1875
|
-
type: Object,
|
|
1876
|
-
required: !0
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
emits: [
|
|
1880
|
-
"submit"
|
|
1881
|
-
],
|
|
1882
|
-
data() {
|
|
1883
|
-
return {
|
|
1884
|
-
inputValue: "",
|
|
1885
|
-
loading: !1,
|
|
1886
|
-
reference: null,
|
|
1887
|
-
abortController: null,
|
|
1888
|
-
inputPlaceholder: y.t("Enter link")
|
|
1889
|
-
};
|
|
1890
|
-
},
|
|
1891
|
-
computed: {
|
|
1892
|
-
isLinkValid() {
|
|
1893
|
-
return Se(this.inputValue);
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
methods: {
|
|
1897
|
-
focus() {
|
|
1898
|
-
var t;
|
|
1899
|
-
(t = this.$refs["url-input"].$el.getElementsByTagName("input")[0]) == null || t.focus();
|
|
1900
|
-
},
|
|
1901
|
-
onSubmit(t) {
|
|
1902
|
-
const e = t.target.value;
|
|
1903
|
-
this.isLinkValid && this.$emit("submit", e);
|
|
1904
|
-
},
|
|
1905
|
-
onClear() {
|
|
1906
|
-
this.inputValue = "", this.reference = null;
|
|
1907
|
-
},
|
|
1908
|
-
onInput() {
|
|
1909
|
-
this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && kt(() => {
|
|
1910
|
-
this.updateReference();
|
|
1911
|
-
}, 500)();
|
|
1912
|
-
},
|
|
1913
|
-
updateReference() {
|
|
1914
|
-
this.loading = !0, this.abortController = new AbortController(), ge.default.get(W.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
|
|
1915
|
-
signal: this.abortController.signal
|
|
1916
|
-
}).then((t) => {
|
|
1917
|
-
this.reference = t.data.ocs.data.references[this.inputValue];
|
|
1918
|
-
}).catch((t) => {
|
|
1919
|
-
console.error(t);
|
|
1920
|
-
}).then(() => {
|
|
1921
|
-
this.loading = !1;
|
|
1922
|
-
});
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
};
|
|
1926
|
-
var cn = function() {
|
|
1927
|
-
var e = this, r = e._self._c;
|
|
1928
|
-
return r("div", { staticClass: "raw-link" }, [r("div", { staticClass: "input-wrapper" }, [r("NcTextField", { ref: "url-input", attrs: { value: e.inputValue, "show-trailing-button": e.inputValue !== "", label: e.inputPlaceholder }, on: { "update:value": [function(n) {
|
|
1929
|
-
e.inputValue = n;
|
|
1930
|
-
}, e.onInput], "trailing-button-click": e.onClear }, nativeOn: { keyup: function(n) {
|
|
1931
|
-
return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.onSubmit.apply(null, arguments);
|
|
1932
|
-
} } }, [e.loading ? r("NcLoadingIcon", { attrs: { size: 16 } }) : r("LinkVariantIcon", { attrs: { size: 16 } })], 1)], 1), e.reference !== null ? r("NcReferenceWidget", { staticClass: "reference-widget", attrs: { reference: e.reference } }) : r("NcEmptyContent", { staticClass: "raw-link--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
1933
|
-
return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { src: e.provider.icon_url } }) : r("LinkVariantIcon")];
|
|
1934
|
-
}, proxy: !0 }]) })], 1);
|
|
1935
|
-
}, un = [], ln = /* @__PURE__ */ $.normalizeComponent(
|
|
1936
|
-
an,
|
|
1937
|
-
cn,
|
|
1938
|
-
un,
|
|
1939
|
-
!1,
|
|
1940
|
-
null,
|
|
1941
|
-
"d0ba247a",
|
|
1942
|
-
null,
|
|
1943
|
-
null
|
|
1944
|
-
);
|
|
1945
|
-
const fn = ln.exports, hn = {
|
|
1946
|
-
name: "NcSearchResult",
|
|
1947
|
-
components: {
|
|
1948
|
-
NcHighlight: Ye.NcHighlight
|
|
1949
|
-
},
|
|
1950
|
-
props: {
|
|
1951
|
-
/**
|
|
1952
|
-
* Unified search result entry
|
|
1953
|
-
*/
|
|
1954
|
-
entry: {
|
|
1955
|
-
type: Object,
|
|
1956
|
-
required: !0
|
|
1957
|
-
},
|
|
1958
|
-
/**
|
|
1959
|
-
* The query that led to getting this result
|
|
1960
|
-
* Used to highlight the entry text
|
|
1961
|
-
*/
|
|
1962
|
-
query: {
|
|
1963
|
-
type: String,
|
|
1964
|
-
required: !0
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
};
|
|
1968
|
-
var dn = function() {
|
|
1969
|
-
var e = this, r = e._self._c;
|
|
1970
|
-
return r("div", { staticClass: "result" }, [e.entry.icon ? r("div", { staticClass: "result--icon-class", class: { [e.entry.icon]: !0, rounded: e.entry.rounded } }) : r("img", { staticClass: "result--image", class: { rounded: e.entry.rounded }, attrs: { src: e.entry.thumbnailUrl } }), r("div", { staticClass: "result--content" }, [r("span", { staticClass: "result--content--name" }, [r("NcHighlight", { attrs: { search: e.query, text: e.entry.title } })], 1), r("span", { staticClass: "result--content--subline" }, [r("NcHighlight", { attrs: { search: e.query, text: e.entry.subline } })], 1)])]);
|
|
1971
|
-
}, pn = [], vn = /* @__PURE__ */ $.normalizeComponent(
|
|
1972
|
-
hn,
|
|
1973
|
-
dn,
|
|
1974
|
-
pn,
|
|
1975
|
-
!1,
|
|
1976
|
-
null,
|
|
1977
|
-
"7a394a58",
|
|
1978
|
-
null,
|
|
1979
|
-
null
|
|
1980
|
-
);
|
|
1981
|
-
const mn = vn.exports;
|
|
1982
|
-
y.register(y.t27, y.t34, y.t36);
|
|
1983
|
-
const Je = 5, gn = {
|
|
1984
|
-
name: "NcSearch",
|
|
1985
|
-
components: {
|
|
1986
|
-
LinkVariantIcon: xe,
|
|
1987
|
-
DotsHorizontalIcon: It.DotsHorizontal,
|
|
1988
|
-
NcEmptyContent: me,
|
|
1989
|
-
NcSelect: Ze.NcSelect,
|
|
1990
|
-
NcSearchResult: mn
|
|
1991
|
-
},
|
|
1992
|
-
props: {
|
|
1993
|
-
/**
|
|
1994
|
-
* The selected reference provider
|
|
1995
|
-
*/
|
|
1996
|
-
provider: {
|
|
1997
|
-
type: Object,
|
|
1998
|
-
required: !0
|
|
1999
|
-
},
|
|
2000
|
-
showEmptyContent: {
|
|
2001
|
-
type: Boolean,
|
|
2002
|
-
default: !0
|
|
2003
|
-
},
|
|
2004
|
-
searchPlaceholder: {
|
|
2005
|
-
type: String,
|
|
2006
|
-
default: null
|
|
2007
|
-
}
|
|
2008
|
-
},
|
|
2009
|
-
emits: [
|
|
2010
|
-
"submit"
|
|
2011
|
-
],
|
|
2012
|
-
data() {
|
|
2013
|
-
return {
|
|
2014
|
-
searchQuery: "",
|
|
2015
|
-
selectedResult: null,
|
|
2016
|
-
resultsBySearchProvider: {},
|
|
2017
|
-
searching: !1,
|
|
2018
|
-
searchingMoreOf: null,
|
|
2019
|
-
abortController: null,
|
|
2020
|
-
noOptionsText: y.t("Start typing to search"),
|
|
2021
|
-
providerIconAlt: y.t("Provider icon")
|
|
2022
|
-
};
|
|
2023
|
-
},
|
|
2024
|
-
computed: {
|
|
2025
|
-
mySearchPlaceholder() {
|
|
2026
|
-
return this.searchPlaceholder || y.t("Search");
|
|
2027
|
-
},
|
|
2028
|
-
searchProviderIds() {
|
|
2029
|
-
return this.provider.search_providers_ids;
|
|
2030
|
-
},
|
|
2031
|
-
options() {
|
|
2032
|
-
if (this.searchQuery === "")
|
|
2033
|
-
return [];
|
|
2034
|
-
const t = [];
|
|
2035
|
-
return Se(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
|
|
2036
|
-
},
|
|
2037
|
-
rawLinkEntry() {
|
|
2038
|
-
return {
|
|
2039
|
-
id: "rawLinkEntry",
|
|
2040
|
-
resourceUrl: this.searchQuery,
|
|
2041
|
-
isRawLink: !0
|
|
2042
|
-
};
|
|
2043
|
-
},
|
|
2044
|
-
formattedSearchResults() {
|
|
2045
|
-
const t = [];
|
|
2046
|
-
return this.searchProviderIds.forEach((e) => {
|
|
2047
|
-
if (this.resultsBySearchProvider[e].entries.length > 0) {
|
|
2048
|
-
(this.searchProviderIds.length > 1 || this.resultsBySearchProvider[e].entries.length > 1) && t.push({
|
|
2049
|
-
id: "groupTitle-" + e,
|
|
2050
|
-
name: this.resultsBySearchProvider[e].name,
|
|
2051
|
-
isCustomGroupTitle: !0,
|
|
2052
|
-
providerId: e
|
|
2053
|
-
});
|
|
2054
|
-
const r = this.resultsBySearchProvider[e].entries.map((n, i) => ({
|
|
2055
|
-
id: "provider-" + e + "-entry-" + i,
|
|
2056
|
-
...n
|
|
2057
|
-
}));
|
|
2058
|
-
t.push(...r), this.resultsBySearchProvider[e].isPaginated && t.push({
|
|
2059
|
-
id: "moreOf-" + e,
|
|
2060
|
-
name: this.resultsBySearchProvider[e].name,
|
|
2061
|
-
isMore: !0,
|
|
2062
|
-
providerId: e,
|
|
2063
|
-
isLoading: this.searchingMoreOf === e
|
|
2064
|
-
});
|
|
2065
|
-
}
|
|
2066
|
-
}), t;
|
|
2067
|
-
}
|
|
2068
|
-
},
|
|
2069
|
-
mounted() {
|
|
2070
|
-
this.resetResults();
|
|
2071
|
-
},
|
|
2072
|
-
beforeDestroy() {
|
|
2073
|
-
this.cancelSearchRequests();
|
|
2074
|
-
},
|
|
2075
|
-
methods: {
|
|
2076
|
-
t: y.t,
|
|
2077
|
-
resetResults() {
|
|
2078
|
-
const t = {};
|
|
2079
|
-
this.searchProviderIds.forEach((e) => {
|
|
2080
|
-
t[e] = {
|
|
2081
|
-
entries: []
|
|
2082
|
-
};
|
|
2083
|
-
}), this.resultsBySearchProvider = t;
|
|
2084
|
-
},
|
|
2085
|
-
focus() {
|
|
2086
|
-
setTimeout(() => {
|
|
2087
|
-
var t, e, r;
|
|
2088
|
-
(r = (e = (t = this.$refs["search-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#search-select-input")) == null || r.focus();
|
|
2089
|
-
}, 300);
|
|
2090
|
-
},
|
|
2091
|
-
cancelSearchRequests() {
|
|
2092
|
-
this.abortController && this.abortController.abort();
|
|
2093
|
-
},
|
|
2094
|
-
onSearchInput(t, e) {
|
|
2095
|
-
this.searchQuery = t, kt(() => {
|
|
2096
|
-
this.updateSearch();
|
|
2097
|
-
}, 500)();
|
|
2098
|
-
},
|
|
2099
|
-
onSelectResultSelected(t) {
|
|
2100
|
-
t !== null && (t.resourceUrl ? (this.cancelSearchRequests(), this.$emit("submit", t.resourceUrl)) : t.isMore && this.searchMoreOf(t.providerId).then(() => {
|
|
2101
|
-
this.selectedResult = null;
|
|
2102
|
-
}));
|
|
2103
|
-
},
|
|
2104
|
-
searchMoreOf(t) {
|
|
2105
|
-
return this.searchingMoreOf = t, this.cancelSearchRequests(), this.searchProviders(t);
|
|
2106
|
-
},
|
|
2107
|
-
updateSearch() {
|
|
2108
|
-
if (this.cancelSearchRequests(), this.resetResults(), this.searchQuery === "") {
|
|
2109
|
-
this.searching = !1;
|
|
2110
|
-
return;
|
|
2111
|
-
}
|
|
2112
|
-
return this.searchProviders();
|
|
2113
|
-
},
|
|
2114
|
-
searchProviders(t = null) {
|
|
2115
|
-
var r, n;
|
|
2116
|
-
this.abortController = new AbortController(), this.searching = !0;
|
|
2117
|
-
const e = t === null ? [...this.searchProviderIds].map((i) => this.searchOneProvider(i)) : [this.searchOneProvider(t, (n = (r = this.resultsBySearchProvider[t]) == null ? void 0 : r.cursor) != null ? n : null)];
|
|
2118
|
-
return Promise.allSettled(e).then((i) => {
|
|
2119
|
-
!!i.find((o) => o.status === "rejected" && (o.reason.name === "CanceledError" || o.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
|
|
2120
|
-
});
|
|
2121
|
-
},
|
|
2122
|
-
searchOneProvider(t, e = null) {
|
|
2123
|
-
const r = e === null ? W.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: Je }) : W.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: Je, cursor: e });
|
|
2124
|
-
return ge.default.get(r, {
|
|
2125
|
-
signal: this.abortController.signal
|
|
2126
|
-
}).then((n) => {
|
|
2127
|
-
const i = n.data.ocs.data;
|
|
2128
|
-
this.resultsBySearchProvider[t].name = i.name, this.resultsBySearchProvider[t].cursor = i.cursor, this.resultsBySearchProvider[t].isPaginated = i.isPaginated, this.resultsBySearchProvider[t].entries.push(...i.entries);
|
|
2129
|
-
});
|
|
2130
|
-
}
|
|
2131
|
-
}
|
|
2132
|
-
};
|
|
2133
|
-
var yn = function() {
|
|
2134
|
-
var e = this, r = e._self._c;
|
|
2135
|
-
return r("div", { staticClass: "smart-picker-search", class: { "with-empty-content": e.showEmptyContent } }, [r("NcSelect", { ref: "search-select", staticClass: "smart-picker-search--select", attrs: { "input-id": "search-select-input", label: "name", placeholder: e.mySearchPlaceholder, options: e.options, "append-to-body": !1, "close-on-select": !1, "clear-search-on-select": !1, "clear-search-on-blur": () => !1, "reset-focus-on-options-change": !1, filterable: !1, autoscroll: !0, "reset-on-options-change": !1, loading: e.searching }, on: { search: e.onSearchInput, input: e.onSelectResultSelected }, scopedSlots: e._u([{ key: "option", fn: function(n) {
|
|
2136
|
-
return [n.isRawLink ? r("div", { staticClass: "custom-option" }, [r("LinkVariantIcon", { staticClass: "option-simple-icon", attrs: { size: 20 } }), r("span", { staticClass: "option-text" }, [e._v(" " + e._s(e.t("Raw link {options}", { options: n.resourceUrl })) + " ")])], 1) : n.resourceUrl ? r("NcSearchResult", { staticClass: "search-result", attrs: { entry: n, query: e.searchQuery } }) : n.isCustomGroupTitle ? r("span", { staticClass: "custom-option group-name" }, [e.provider.icon_url ? r("img", { staticClass: "provider-icon group-name-icon", attrs: { src: e.provider.icon_url } }) : e._e(), r("span", { staticClass: "option-text" }, [r("strong", [e._v(e._s(n.name))])])]) : n.isMore ? r("span", { class: { "custom-option": !0 } }, [n.isLoading ? r("span", { staticClass: "option-simple-icon icon-loading-small" }) : r("DotsHorizontalIcon", { staticClass: "option-simple-icon", attrs: { size: 20 } }), r("span", { staticClass: "option-text" }, [e._v(" " + e._s(e.t('Load more "{options}"', { options: n.name })) + " ")])], 1) : e._e()];
|
|
2137
|
-
} }, { key: "no-options", fn: function() {
|
|
2138
|
-
return [e._v(" " + e._s(e.noOptionsText) + " ")];
|
|
2139
|
-
}, proxy: !0 }]), model: { value: e.selectedResult, callback: function(n) {
|
|
2140
|
-
e.selectedResult = n;
|
|
2141
|
-
}, expression: "selectedResult" } }), e.showEmptyContent ? r("NcEmptyContent", { staticClass: "smart-picker-search--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
2142
|
-
return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { alt: e.providerIconAlt, src: e.provider.icon_url } }) : r("LinkVariantIcon")];
|
|
2143
|
-
}, proxy: !0 }], null, !1, 2922132592) }) : e._e()], 1);
|
|
2144
|
-
}, _n = [], wn = /* @__PURE__ */ $.normalizeComponent(
|
|
2145
|
-
gn,
|
|
2146
|
-
yn,
|
|
2147
|
-
_n,
|
|
2148
|
-
!1,
|
|
2149
|
-
null,
|
|
2150
|
-
"97d196f0",
|
|
2151
|
-
null,
|
|
2152
|
-
null
|
|
2153
|
-
);
|
|
2154
|
-
const St = wn.exports, z = {
|
|
2155
|
-
providerList: 1,
|
|
2156
|
-
standardLinkInput: 2,
|
|
2157
|
-
searchInput: 3,
|
|
2158
|
-
customElement: 4
|
|
2159
|
-
}, bn = {
|
|
2160
|
-
name: "NcReferencePicker",
|
|
2161
|
-
components: {
|
|
2162
|
-
NcCustomPickerElement: Kr,
|
|
2163
|
-
NcProviderList: on,
|
|
2164
|
-
NcRawLinkInput: fn,
|
|
2165
|
-
NcSearch: St
|
|
2166
|
-
},
|
|
2167
|
-
props: {
|
|
2168
|
-
/**
|
|
2169
|
-
* Provider to select on creation
|
|
2170
|
-
* Default: null. Show the provider list
|
|
2171
|
-
*/
|
|
2172
|
-
initialProvider: {
|
|
2173
|
-
type: Object,
|
|
2174
|
-
default: () => null
|
|
2175
|
-
},
|
|
2176
|
-
/**
|
|
2177
|
-
* Optional width in pixels
|
|
2178
|
-
* Default: 100%
|
|
2179
|
-
*/
|
|
2180
|
-
width: {
|
|
2181
|
-
type: Number,
|
|
2182
|
-
default: null
|
|
2183
|
-
},
|
|
2184
|
-
/**
|
|
2185
|
-
* Focus on the provider list select input on creation
|
|
2186
|
-
* Default: true
|
|
2187
|
-
*/
|
|
2188
|
-
focusOnCreate: {
|
|
2189
|
-
type: Boolean,
|
|
2190
|
-
default: !0
|
|
2191
|
-
}
|
|
2192
|
-
},
|
|
2193
|
-
emits: [
|
|
2194
|
-
"cancel",
|
|
2195
|
-
"cancel-raw-link",
|
|
2196
|
-
"cancel-search",
|
|
2197
|
-
"provider-selected",
|
|
2198
|
-
"submit"
|
|
2199
|
-
],
|
|
2200
|
-
data() {
|
|
2201
|
-
return {
|
|
2202
|
-
MODES: z,
|
|
2203
|
-
selectedProvider: this.initialProvider
|
|
2204
|
-
};
|
|
2205
|
-
},
|
|
2206
|
-
computed: {
|
|
2207
|
-
mode() {
|
|
2208
|
-
return this.selectedProvider === null ? z.providerList : k.isCustomPickerElementRegistered(this.selectedProvider.id) ? z.customElement : this.selectedProvider.search_providers_ids ? z.searchInput : z.standardLinkInput;
|
|
2209
|
-
},
|
|
2210
|
-
pickerWrapperStyle() {
|
|
2211
|
-
return {
|
|
2212
|
-
width: this.width ? this.width + "px" : void 0
|
|
2213
|
-
};
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
mounted() {
|
|
2217
|
-
this.focusOnCreate && (this.initialProvider ? setTimeout(() => {
|
|
2218
|
-
var t;
|
|
2219
|
-
(t = this.$refs["url-input"]) == null || t.focus();
|
|
2220
|
-
}, 300) : this.$nextTick(() => {
|
|
2221
|
-
var t;
|
|
2222
|
-
(t = this.$refs["provider-list"]) == null || t.focus();
|
|
2223
|
-
}));
|
|
2224
|
-
},
|
|
2225
|
-
methods: {
|
|
2226
|
-
onEscapePressed() {
|
|
2227
|
-
this.selectedProvider !== null ? this.deselectProvider() : this.cancelProviderSelection();
|
|
2228
|
-
},
|
|
2229
|
-
onProviderSelected(t) {
|
|
2230
|
-
this.selectedProvider = t, this.$emit("provider-selected", t), this.$nextTick(() => {
|
|
2231
|
-
var e;
|
|
2232
|
-
(e = this.$refs["url-input"]) == null || e.focus();
|
|
2233
|
-
});
|
|
2234
|
-
},
|
|
2235
|
-
cancelCustomElement() {
|
|
2236
|
-
this.deselectProvider();
|
|
2237
|
-
},
|
|
2238
|
-
cancelSearch() {
|
|
2239
|
-
var t;
|
|
2240
|
-
this.$emit("cancel-search", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
|
|
2241
|
-
},
|
|
2242
|
-
cancelRawLinkInput() {
|
|
2243
|
-
var t;
|
|
2244
|
-
this.$emit("cancel-raw-link", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
|
|
2245
|
-
},
|
|
2246
|
-
cancelProviderSelection() {
|
|
2247
|
-
this.$emit("cancel");
|
|
2248
|
-
},
|
|
2249
|
-
submitLink(t) {
|
|
2250
|
-
this.selectedProvider !== null && Jr(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
|
|
2251
|
-
},
|
|
2252
|
-
deselectProvider() {
|
|
2253
|
-
this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
|
|
2254
|
-
var t;
|
|
2255
|
-
(t = this.$refs["provider-list"]) == null || t.focus();
|
|
2256
|
-
}, 300);
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2259
|
-
};
|
|
2260
|
-
var Cn = function() {
|
|
2261
|
-
var e = this, r = e._self._c;
|
|
2262
|
-
return r("div", { staticClass: "reference-picker", style: e.pickerWrapperStyle, attrs: { tabindex: "-1" }, on: { keydown: function(n) {
|
|
2263
|
-
return !n.type.indexOf("key") && e._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : (n.stopPropagation(), n.preventDefault(), e.onEscapePressed.apply(null, arguments));
|
|
2264
|
-
} } }, [e.mode === e.MODES.providerList ? r("NcProviderList", { ref: "provider-list", on: { "select-provider": e.onProviderSelected, submit: e.submitLink, cancel: e.cancelProviderSelection } }) : e.mode === e.MODES.standardLinkInput ? r("NcRawLinkInput", { ref: "url-input", attrs: { provider: e.selectedProvider }, on: { submit: e.submitLink, cancel: e.cancelRawLinkInput } }) : e.mode === e.MODES.searchInput ? r("NcSearch", { ref: "url-input", attrs: { provider: e.selectedProvider }, on: { cancel: e.cancelSearch, submit: e.submitLink } }) : e.mode === e.MODES.customElement ? r("div", { staticClass: "custom-element-wrapper" }, [r("NcCustomPickerElement", { attrs: { provider: e.selectedProvider }, on: { submit: e.submitLink, cancel: e.cancelCustomElement } })], 1) : e._e()], 1);
|
|
2265
|
-
}, Rn = [], Pn = /* @__PURE__ */ $.normalizeComponent(
|
|
2266
|
-
bn,
|
|
2267
|
-
Cn,
|
|
2268
|
-
Rn,
|
|
2269
|
-
!1,
|
|
2270
|
-
null,
|
|
2271
|
-
"12c38c93",
|
|
2272
|
-
null,
|
|
2273
|
-
null
|
|
2274
|
-
);
|
|
2275
|
-
const xt = Pn.exports;
|
|
2276
|
-
y.register(y.t11, y.t16);
|
|
2277
|
-
const En = {
|
|
2278
|
-
name: "NcReferencePickerModal",
|
|
2279
|
-
components: {
|
|
2280
|
-
NcReferencePicker: xt,
|
|
2281
|
-
NcModal: Vt,
|
|
2282
|
-
NcButton: et,
|
|
2283
|
-
ArrowLeftIcon: qt.ArrowLeft,
|
|
2284
|
-
CloseIcon: Bt.Close
|
|
2285
|
-
},
|
|
2286
|
-
props: {
|
|
2287
|
-
/**
|
|
2288
|
-
* Provider to select on creation
|
|
2289
|
-
* Show the provider list if no initial one is provided
|
|
2290
|
-
*/
|
|
2291
|
-
initialProvider: {
|
|
2292
|
-
type: Object,
|
|
2293
|
-
default: () => null
|
|
2294
|
-
},
|
|
2295
|
-
/**
|
|
2296
|
-
* Focus on the input item on create
|
|
2297
|
-
*/
|
|
2298
|
-
focusOnCreate: {
|
|
2299
|
-
type: Boolean,
|
|
2300
|
-
default: !0
|
|
2301
|
-
},
|
|
2302
|
-
/**
|
|
2303
|
-
* If true, add the modal content to the Viewer trap elements via the event-bus
|
|
2304
|
-
*/
|
|
2305
|
-
isInsideViewer: {
|
|
2306
|
-
type: Boolean,
|
|
2307
|
-
default: !1
|
|
2308
|
-
}
|
|
2309
|
-
},
|
|
2310
|
-
emits: [
|
|
2311
|
-
"cancel",
|
|
2312
|
-
"submit"
|
|
2313
|
-
],
|
|
2314
|
-
data() {
|
|
2315
|
-
return {
|
|
2316
|
-
show: !0,
|
|
2317
|
-
selectedProvider: this.initialProvider,
|
|
2318
|
-
backButtonTitle: y.t("Back to provider selection"),
|
|
2319
|
-
closeButtonTitle: y.t("Close"),
|
|
2320
|
-
closeButtonLabel: y.t("Close Smart Picker")
|
|
2321
|
-
};
|
|
2322
|
-
},
|
|
2323
|
-
computed: {
|
|
2324
|
-
isProviderSelected() {
|
|
2325
|
-
return this.selectedProvider !== null;
|
|
2326
|
-
},
|
|
2327
|
-
showBackButton() {
|
|
2328
|
-
return this.initialProvider === null && this.isProviderSelected;
|
|
2329
|
-
},
|
|
2330
|
-
modalSize() {
|
|
2331
|
-
var t;
|
|
2332
|
-
return this.isProviderSelected && k.isCustomPickerElementRegistered(this.selectedProvider.id) ? (t = k.getCustomPickerElementSize(this.selectedProvider.id)) != null ? t : "large" : "normal";
|
|
2333
|
-
},
|
|
2334
|
-
showModalName() {
|
|
2335
|
-
return !this.isProviderSelected || !k.isCustomPickerElementRegistered(this.selectedProvider.id);
|
|
2336
|
-
},
|
|
2337
|
-
modalName() {
|
|
2338
|
-
return this.isProviderSelected ? this.selectedProvider.title : y.t("Smart Picker");
|
|
2339
|
-
}
|
|
2340
|
-
},
|
|
2341
|
-
mounted() {
|
|
2342
|
-
if (this.isInsideViewer) {
|
|
2343
|
-
const t = this.$refs.modal_content;
|
|
2344
|
-
At.emit("viewer:trapElements:changed", t);
|
|
2345
|
-
}
|
|
2346
|
-
},
|
|
2347
|
-
methods: {
|
|
2348
|
-
onCancel() {
|
|
2349
|
-
this.show = !1, this.$emit("cancel");
|
|
2350
|
-
},
|
|
2351
|
-
onSubmit(t) {
|
|
2352
|
-
this.show = !1, this.$emit("submit", t);
|
|
2353
|
-
},
|
|
2354
|
-
onProviderSelect(t) {
|
|
2355
|
-
this.selectedProvider = t, t === null && this.initialProvider !== null && this.onCancel();
|
|
2356
|
-
},
|
|
2357
|
-
onBackClicked() {
|
|
2358
|
-
this.$refs.referencePicker.deselectProvider();
|
|
2359
|
-
}
|
|
2360
|
-
}
|
|
2361
|
-
};
|
|
2362
|
-
var kn = function() {
|
|
2363
|
-
var e = this, r = e._self._c;
|
|
2364
|
-
return e.show ? r("NcModal", { staticClass: "reference-picker-modal", attrs: { size: e.modalSize, "can-close": !1 }, on: { close: e.onCancel } }, [r("div", { ref: "modal_content", staticClass: "reference-picker-modal--content" }, [e.showBackButton ? r("NcButton", { staticClass: "back-button", attrs: { "aria-label": e.backButtonTitle, title: e.backButtonTitle }, on: { click: e.onBackClicked }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
2365
|
-
return [r("ArrowLeftIcon")];
|
|
2366
|
-
}, proxy: !0 }], null, !1, 3001860362) }) : e._e(), r("NcButton", { staticClass: "close-button", attrs: { "aria-label": e.closeButtonLabel, title: e.closeButtonTitle, type: "tertiary" }, on: { click: e.onCancel }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
2367
|
-
return [r("CloseIcon")];
|
|
2368
|
-
}, proxy: !0 }], null, !1, 2491825086) }), e.showModalName ? r("h2", [e._v(" " + e._s(e.modalName) + " ")]) : e._e(), r("NcReferencePicker", { ref: "referencePicker", attrs: { "initial-provider": e.initialProvider, "focus-on-create": e.focusOnCreate }, on: { "provider-selected": e.onProviderSelect, submit: e.onSubmit, cancel: e.onCancel } })], 1)]) : e._e();
|
|
2369
|
-
}, Sn = [], xn = /* @__PURE__ */ $.normalizeComponent(
|
|
2370
|
-
En,
|
|
2371
|
-
kn,
|
|
2372
|
-
Sn,
|
|
2373
|
-
!1,
|
|
2374
|
-
null,
|
|
2375
|
-
"ab09ebaa",
|
|
2376
|
-
null,
|
|
2377
|
-
null
|
|
2378
|
-
);
|
|
2379
|
-
const Nt = xn.exports;
|
|
2380
|
-
async function Nn(t = null, e = void 0) {
|
|
2381
|
-
return await new Promise((r, n) => {
|
|
2382
|
-
var u;
|
|
2383
|
-
const i = "referencePickerModal", s = document.createElement("div");
|
|
2384
|
-
s.id = i, document.body.append(s);
|
|
2385
|
-
const o = t === null ? null : (u = Rt(t)) != null ? u : null, a = jt.default.extend(Nt), c = new a({
|
|
2386
|
-
propsData: {
|
|
2387
|
-
initialProvider: o,
|
|
2388
|
-
isInsideViewer: e
|
|
2389
|
-
}
|
|
2390
|
-
}).$mount(s);
|
|
2391
|
-
c.$on("cancel", () => {
|
|
2392
|
-
c.$destroy(), n(new Error("User cancellation"));
|
|
2393
|
-
}), c.$on("submit", (d) => {
|
|
2394
|
-
c.$destroy(), r(d);
|
|
2395
|
-
});
|
|
2396
|
-
});
|
|
2397
|
-
}
|
|
2398
|
-
exports.Link = Ce;
|
|
2399
|
-
exports.NcReferencePicker = xt;
|
|
2400
|
-
exports.NcReferencePickerModal = Nt;
|
|
2401
|
-
exports.NcReferenceWidget = bt;
|
|
2402
|
-
exports.NcSearch = St;
|
|
2403
|
-
exports.anyLinkProviderId = Ee;
|
|
2404
|
-
exports.getLinkWithPicker = Nn;
|
|
2405
|
-
exports.getProvider = Rt;
|
|
2406
|
-
exports.getProviders = ke;
|
|
2407
|
-
exports.searchProvider = Et;
|
|
2408
|
-
exports.sortProviders = Pt;
|