@nextcloud/vue 8.7.1 → 8.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/Components/NcActionButtonGroup.cjs +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +1 -1
- package/dist/Components/NcActionInput.cjs +1 -1
- package/dist/Components/NcActionInput.mjs +1 -1
- package/dist/Components/NcActions.cjs +1 -1
- package/dist/Components/NcActions.mjs +1 -1
- package/dist/Components/NcAppContent.cjs +1 -1
- package/dist/Components/NcAppContent.mjs +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +1 -1
- package/dist/Components/NcAppNavigationList.cjs +20 -0
- package/dist/Components/NcAppNavigationList.cjs.map +1 -0
- package/dist/Components/NcAppNavigationList.mjs +22 -0
- package/dist/Components/NcAppNavigationList.mjs.map +1 -0
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +2 -2
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +5 -5
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +1 -1
- package/dist/Components/NcBreadcrumb.mjs +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
- package/dist/Components/NcColorPicker.cjs +1 -1
- package/dist/Components/NcColorPicker.mjs +1 -1
- package/dist/Components/NcContent.cjs +1 -1
- package/dist/Components/NcContent.mjs +1 -1
- package/dist/Components/NcDashboardWidget.cjs +1 -1
- package/dist/Components/NcDashboardWidget.mjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +1 -1
- package/dist/Components/NcDateTime.mjs +1 -1
- package/dist/Components/NcDateTimePicker.cjs +2 -2
- package/dist/Components/NcDateTimePicker.mjs +5 -5
- package/dist/Components/NcDateTimePickerNative.cjs +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +1 -1
- package/dist/Components/NcDialog.cjs +1 -1
- package/dist/Components/NcDialog.mjs +1 -1
- package/dist/Components/NcDialogButton.cjs +1 -1
- package/dist/Components/NcDialogButton.mjs +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +1 -1
- package/dist/Components/NcListItem.cjs +1 -1
- package/dist/Components/NcListItem.mjs +1 -1
- package/dist/Components/NcListItemIcon.cjs +1 -1
- package/dist/Components/NcListItemIcon.mjs +1 -1
- package/dist/Components/NcModal.cjs +1 -1
- package/dist/Components/NcModal.mjs +3 -3
- package/dist/Components/NcPasswordField.cjs +1 -1
- package/dist/Components/NcPasswordField.mjs +1 -1
- package/dist/Components/NcPopover.cjs +1 -1
- package/dist/Components/NcPopover.mjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +1 -1
- package/dist/Components/NcRichContenteditable.mjs +2 -2
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +3 -3
- package/dist/Components/NcSelect.cjs +1 -1
- package/dist/Components/NcSelect.mjs +1 -1
- package/dist/Components/NcSelectTags.cjs +1 -1
- package/dist/Components/NcSelectTags.mjs +1 -1
- package/dist/Components/NcSettingsInputText.cjs +1 -1
- package/dist/Components/NcSettingsInputText.mjs +1 -1
- package/dist/Components/NcSettingsSection.cjs +1 -1
- package/dist/Components/NcSettingsSection.mjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
- package/dist/Components/NcTextField.cjs +1 -1
- package/dist/Components/NcTextField.mjs +1 -1
- package/dist/Components/NcTimezonePicker.cjs +1 -1
- package/dist/Components/NcTimezonePicker.mjs +1 -1
- package/dist/Components/NcUserBubble.cjs +1 -1
- package/dist/Components/NcUserBubble.mjs +1 -1
- package/dist/Components/NcUserStatusIcon.cjs +1 -1
- package/dist/Components/NcUserStatusIcon.mjs +1 -1
- package/dist/Functions/reference.cjs +1 -1
- package/dist/Functions/reference.mjs +1 -1
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/richEditor.cjs +1 -1
- package/dist/Mixins/richEditor.mjs +1 -1
- package/dist/assets/{NcActions-4Gq5bZLW.css → NcActions-mt8BQ_bn.css} +12 -12
- package/dist/assets/{NcAppNavigation-vjqOL-kR.css → NcAppNavigation-9nlYnuUQ.css} +8 -8
- package/dist/assets/{NcAppNavigationCaption-l5yRGXZx.css → NcAppNavigationCaption-I1dcvB0N.css} +11 -5
- package/dist/assets/NcAppNavigationList-RooPPg4w.css +44 -0
- package/dist/assets/NcAppNavigationSpacer-uaft91Uz.css +4 -0
- package/dist/assets/{NcAppSidebar-YHd7DpMW.css → NcAppSidebar-RkF-tqKy.css} +49 -46
- package/dist/assets/{NcColorPicker-PzIRM1j1.css → NcColorPicker-jW6HOxWA.css} +24 -24
- package/dist/assets/{NcDateTimePicker-TArRbMs-.css → NcDateTimePicker-l-C3PwHK.css} +10 -10
- package/dist/assets/{NcEmojiPicker-wTIbvcrG.css → NcEmojiPicker-hTlSVIq0.css} +5 -5
- package/dist/assets/{NcIconSvgWrapper-arqrq5Bj.css → NcIconSvgWrapper-KLotijwU.css} +13 -7
- package/dist/assets/{NcRelatedResourcesPanel-m3uf_nvH.css → NcRelatedResourcesPanel-oq5eMIoh.css} +7 -7
- package/dist/assets/{NcRichContenteditable-CuR1YKTU.css → NcRichContenteditable-rW6l0h3m.css} +12 -12
- package/dist/assets/{NcRichText-Pw6kTpnR.css → NcRichText-kDp48Nji.css} +2 -2
- package/dist/chunks/{GenColors-zPMSiY0e.cjs → GenColors-LzmNxRE8.cjs} +1 -1
- package/dist/chunks/{GenColors-zPMSiY0e.cjs.map → GenColors-LzmNxRE8.cjs.map} +1 -1
- package/dist/chunks/{GenColors-wNwbCHuq.mjs → GenColors-MjG_SfWn.mjs} +1 -1
- package/dist/chunks/{GenColors-wNwbCHuq.mjs.map → GenColors-MjG_SfWn.mjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-HIUn669C.cjs → NcActionButtonGroup-6TAtQFtq.cjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-HIUn669C.cjs.map → NcActionButtonGroup-6TAtQFtq.cjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-A5Ixaw5n.mjs → NcActionButtonGroup-w6A9Fw2n.mjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-A5Ixaw5n.mjs.map → NcActionButtonGroup-w6A9Fw2n.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-f1Oq2O71.cjs → NcActionInput-Fl2UyuVW.cjs} +1 -1
- package/dist/chunks/{NcActionInput-f1Oq2O71.cjs.map → NcActionInput-Fl2UyuVW.cjs.map} +1 -1
- package/dist/chunks/{NcActionInput-XHMzOL_h.mjs → NcActionInput-yvhGpEsS.mjs} +4 -4
- package/dist/chunks/{NcActionInput-XHMzOL_h.mjs.map → NcActionInput-yvhGpEsS.mjs.map} +1 -1
- package/dist/chunks/{NcActions-JXnhQhum.cjs → NcActions-iACO4laf.cjs} +143 -70
- package/dist/chunks/NcActions-iACO4laf.cjs.map +1 -0
- package/dist/chunks/{NcActions-5_igU-CH.mjs → NcActions-rHzi4RcQ.mjs} +153 -80
- package/dist/chunks/NcActions-rHzi4RcQ.mjs.map +1 -0
- package/dist/chunks/{NcAppContent-Kq5fJ7_W.cjs → NcAppContent--JRFOyLe.cjs} +1 -1
- package/dist/chunks/{NcAppContent-Kq5fJ7_W.cjs.map → NcAppContent--JRFOyLe.cjs.map} +1 -1
- package/dist/chunks/{NcAppContent-WBzZJh-y.mjs → NcAppContent-c0KjHkMb.mjs} +1 -1
- package/dist/chunks/{NcAppContent-WBzZJh-y.mjs.map → NcAppContent-c0KjHkMb.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-n6P3oVZv.mjs → NcAppNavigation-7U8buuT7.mjs} +8 -8
- package/dist/chunks/NcAppNavigation-7U8buuT7.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-U6yaDk7k.cjs → NcAppNavigation-AcPesLHq.cjs} +4 -4
- package/dist/chunks/NcAppNavigation-AcPesLHq.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-Iuzt-yzb.cjs +58 -0
- package/dist/chunks/NcAppNavigationCaption-Iuzt-yzb.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-UJ7iY1q5.mjs +61 -0
- package/dist/chunks/NcAppNavigationCaption-UJ7iY1q5.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationItem-A1yAdDNN.mjs → NcAppNavigationItem-9n2uXjvj.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationItem-A1yAdDNN.mjs.map → NcAppNavigationItem-9n2uXjvj.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-Wb8gX-Ln.cjs → NcAppNavigationItem-pvFIrGQv.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationItem-Wb8gX-Ln.cjs.map → NcAppNavigationItem-pvFIrGQv.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-TyGHutbG.cjs → NcAppNavigationNewItem-CXGDvuMl.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-TyGHutbG.cjs.map → NcAppNavigationNewItem-CXGDvuMl.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-t1ST1cif.mjs → NcAppNavigationNewItem-jr12p6VL.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-t1ST1cif.mjs.map → NcAppNavigationNewItem-jr12p6VL.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-gwL_FqLN.mjs → NcAppNavigationSettings-NRqRmMXw.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-gwL_FqLN.mjs.map → NcAppNavigationSettings-NRqRmMXw.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-VLa79G7w.cjs → NcAppNavigationSettings-Nd8RJnYL.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-VLa79G7w.cjs.map → NcAppNavigationSettings-Nd8RJnYL.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-Wz0s35Rd.cjs → NcAppNavigationToggle-KZ_xHLv9.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-Wz0s35Rd.cjs.map → NcAppNavigationToggle-KZ_xHLv9.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-KT8eqw6r.mjs → NcAppNavigationToggle-kL5XkG2J.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-KT8eqw6r.mjs.map → NcAppNavigationToggle-kL5XkG2J.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-h22q7l_7.cjs → NcAppSettingsDialog-8l-aNNFq.cjs} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-h22q7l_7.cjs.map → NcAppSettingsDialog-8l-aNNFq.cjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-5t3vGpRF.mjs → NcAppSettingsDialog-S9pm_eoJ.mjs} +2 -2
- package/dist/chunks/{NcAppSettingsDialog-5t3vGpRF.mjs.map → NcAppSettingsDialog-S9pm_eoJ.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-tnHBPGbL.mjs → NcAppSidebar-kN5SMxgh.mjs} +8 -6
- package/dist/chunks/NcAppSidebar-kN5SMxgh.mjs.map +1 -0
- package/dist/chunks/{NcAppSidebar-rRNJnN-k.cjs → NcAppSidebar-l6rV-lnp.cjs} +7 -5
- package/dist/chunks/NcAppSidebar-l6rV-lnp.cjs.map +1 -0
- package/dist/chunks/{NcAvatar-zTS9P1lK.cjs → NcAvatar-CVj9XTPL.cjs} +2 -2
- package/dist/chunks/{NcAvatar-zTS9P1lK.cjs.map → NcAvatar-CVj9XTPL.cjs.map} +1 -1
- package/dist/chunks/{NcAvatar-xT3kz6mU.mjs → NcAvatar-MI8_N7U1.mjs} +4 -4
- package/dist/chunks/{NcAvatar-xT3kz6mU.mjs.map → NcAvatar-MI8_N7U1.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-DEWk7wO9.cjs → NcBreadcrumb-EhfhBqAL.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-DEWk7wO9.cjs.map → NcBreadcrumb-EhfhBqAL.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-w1UX2NR-.mjs → NcBreadcrumb-LpXeIBcG.mjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-w1UX2NR-.mjs.map → NcBreadcrumb-LpXeIBcG.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-tRR9CjKD.mjs → NcBreadcrumbs--4xgDVR7.mjs} +2 -2
- package/dist/chunks/{NcBreadcrumbs-tRR9CjKD.mjs.map → NcBreadcrumbs--4xgDVR7.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-VuaG3ex5.cjs → NcBreadcrumbs-zYhyJxEY.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumbs-VuaG3ex5.cjs.map → NcBreadcrumbs-zYhyJxEY.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-7pZp_rWo.cjs → NcCheckboxRadioSwitch-Ox3J2r7t.cjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-7pZp_rWo.cjs.map → NcCheckboxRadioSwitch-Ox3J2r7t.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-PlgK1zWr.mjs → NcCheckboxRadioSwitch-ymUA5BIs.mjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-PlgK1zWr.mjs.map → NcCheckboxRadioSwitch-ymUA5BIs.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-rJ3UZLGm.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0EjSdGnM.mjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0EjSdGnM.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-kOW4T17e.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0FNcC7Nt.cjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-0FNcC7Nt.cjs.map +1 -0
- package/dist/chunks/{NcColorPicker-rPobPO3M.mjs → NcColorPicker-1m1Xv5fE.mjs} +6 -6
- package/dist/chunks/NcColorPicker-1m1Xv5fE.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-yr9Pfeem.cjs → NcColorPicker-7PNp6DUg.cjs} +4 -4
- package/dist/chunks/NcColorPicker-7PNp6DUg.cjs.map +1 -0
- package/dist/chunks/{NcContent-BdekB7Zr.cjs → NcContent-L5DDeJmE.cjs} +1 -1
- package/dist/chunks/{NcContent-BdekB7Zr.cjs.map → NcContent-L5DDeJmE.cjs.map} +1 -1
- package/dist/chunks/{NcContent-EGBAB5sy.mjs → NcContent-YJfqE5Kv.mjs} +2 -2
- package/dist/chunks/{NcContent-EGBAB5sy.mjs.map → NcContent-YJfqE5Kv.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-oPZKAkd-.cjs → NcDashboardWidget-KPADyPUh.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidget-oPZKAkd-.cjs.map → NcDashboardWidget-KPADyPUh.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-9LDutUO0.mjs → NcDashboardWidget-oUPY199x.mjs} +3 -3
- package/dist/chunks/{NcDashboardWidget-9LDutUO0.mjs.map → NcDashboardWidget-oUPY199x.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-1r760Ikh.cjs → NcDashboardWidgetItem-KpDnCM7Y.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-1r760Ikh.cjs.map → NcDashboardWidgetItem-KpDnCM7Y.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-Qd8gSF2h.mjs → NcDashboardWidgetItem-iZA9aHuL.mjs} +2 -2
- package/dist/chunks/{NcDashboardWidgetItem-Qd8gSF2h.mjs.map → NcDashboardWidgetItem-iZA9aHuL.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-UCw1o96E.mjs → NcDateTime-EqdvmXRa.mjs} +1 -1
- package/dist/chunks/{NcDateTime-UCw1o96E.mjs.map → NcDateTime-EqdvmXRa.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-hyWStpUj.cjs → NcDateTime-ez2Mc6Ut.cjs} +1 -1
- package/dist/chunks/{NcDateTime-hyWStpUj.cjs.map → NcDateTime-ez2Mc6Ut.cjs.map} +1 -1
- package/dist/chunks/{NcDialog-652A8lMI.mjs → NcDialog-_HZnlBi4.mjs} +1 -1
- package/dist/chunks/{NcDialog-652A8lMI.mjs.map → NcDialog-_HZnlBi4.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-dPYf81Dr.cjs → NcDialog-f6KwlaqC.cjs} +1 -1
- package/dist/chunks/{NcDialog-dPYf81Dr.cjs.map → NcDialog-f6KwlaqC.cjs.map} +1 -1
- package/dist/chunks/{NcDialogButton-V3nj_xwS.cjs → NcDialogButton-CtdP0-DO.cjs} +1 -1
- package/dist/chunks/{NcDialogButton-V3nj_xwS.cjs.map → NcDialogButton-CtdP0-DO.cjs.map} +1 -1
- package/dist/chunks/{NcDialogButton-QuoJDLGH.mjs → NcDialogButton-xDZQrfsw.mjs} +1 -1
- package/dist/chunks/{NcDialogButton-QuoJDLGH.mjs.map → NcDialogButton-xDZQrfsw.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-O0EAGlkS.mjs → NcEmojiPicker-Qi10uLHB.mjs} +8 -8
- package/dist/chunks/NcEmojiPicker-Qi10uLHB.mjs.map +1 -0
- package/dist/chunks/{NcEmojiPicker-xzt2RvDK.cjs → NcEmojiPicker-gZaqE1rk.cjs} +13 -13
- package/dist/chunks/NcEmojiPicker-gZaqE1rk.cjs.map +1 -0
- package/dist/chunks/{NcIconSvgWrapper-n3MnAe1S.mjs → NcIconSvgWrapper-CvnWKK7h.mjs} +23 -15
- package/dist/chunks/NcIconSvgWrapper-CvnWKK7h.mjs.map +1 -0
- package/dist/chunks/{NcIconSvgWrapper-R7a7dIg4.cjs → NcIconSvgWrapper-RwagV5P9.cjs} +20 -12
- package/dist/chunks/NcIconSvgWrapper-RwagV5P9.cjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-z3ANO-1N.mjs → NcInputConfirmCancel-EgnZwbmj.mjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-z3ANO-1N.mjs.map → NcInputConfirmCancel-EgnZwbmj.mjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-tvpFnpKT.cjs → NcInputConfirmCancel-wK1KES_K.cjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-tvpFnpKT.cjs.map → NcInputConfirmCancel-wK1KES_K.cjs.map} +1 -1
- package/dist/chunks/{NcListItem--_PCqetA.cjs → NcListItem-7wde4DHX.cjs} +1 -1
- package/dist/chunks/{NcListItem--_PCqetA.cjs.map → NcListItem-7wde4DHX.cjs.map} +1 -1
- package/dist/chunks/{NcListItem-AMcc69jK.mjs → NcListItem-DwAhV_Om.mjs} +2 -2
- package/dist/chunks/{NcListItem-AMcc69jK.mjs.map → NcListItem-DwAhV_Om.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-BnoIbVbD.cjs → NcListItemIcon-1qPc7NDv.cjs} +1 -1
- package/dist/chunks/{NcListItemIcon-BnoIbVbD.cjs.map → NcListItemIcon-1qPc7NDv.cjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-rqgXledP.mjs → NcListItemIcon-S06TFU1A.mjs} +2 -2
- package/dist/chunks/{NcListItemIcon-rqgXledP.mjs.map → NcListItemIcon-S06TFU1A.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-EbKN3MlL.mjs → NcPasswordField-F30zJsph.mjs} +1 -1
- package/dist/chunks/{NcPasswordField-EbKN3MlL.mjs.map → NcPasswordField-F30zJsph.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-IkBZCjOy.cjs → NcPasswordField-hngMvgyo.cjs} +1 -1
- package/dist/chunks/{NcPasswordField-IkBZCjOy.cjs.map → NcPasswordField-hngMvgyo.cjs.map} +1 -1
- package/dist/chunks/{NcPopover-T4GMXmKV.mjs → NcPopover-93ns_0K4.mjs} +38 -23
- package/dist/chunks/NcPopover-93ns_0K4.mjs.map +1 -0
- package/dist/chunks/{NcPopover-judBGW5r.cjs → NcPopover-fv7OFtxM.cjs} +33 -18
- package/dist/chunks/NcPopover-fv7OFtxM.cjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-f2UeB_6X.cjs → NcRelatedResourcesPanel-f1Up3M7Q.cjs} +22 -17
- package/dist/chunks/NcRelatedResourcesPanel-f1Up3M7Q.cjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-EDvgZgjQ.mjs → NcRelatedResourcesPanel-zXNE9qiS.mjs} +27 -21
- package/dist/chunks/NcRelatedResourcesPanel-zXNE9qiS.mjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-cUZMZlgG.cjs → NcRichContenteditable--pSQfJW9.cjs} +11 -10
- package/dist/chunks/NcRichContenteditable--pSQfJW9.cjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-d4EOAT2a.mjs → NcRichContenteditable-lE_j-Gfc.mjs} +13 -12
- package/dist/chunks/NcRichContenteditable-lE_j-Gfc.mjs.map +1 -0
- package/dist/chunks/{NcRichText-S34HoIhH.cjs → NcRichText-0eMrB-8S.cjs} +41 -44
- package/dist/chunks/NcRichText-0eMrB-8S.cjs.map +1 -0
- package/dist/chunks/{NcRichText-yfYdNWFh.mjs → NcRichText-Vm0d22pV.mjs} +29 -31
- package/dist/chunks/NcRichText-Vm0d22pV.mjs.map +1 -0
- package/dist/chunks/{NcSelect-b2H-YQsK.mjs → NcSelect-75KHhmKy.mjs} +2 -2
- package/dist/chunks/{NcSelect-b2H-YQsK.mjs.map → NcSelect-75KHhmKy.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-U9LJcdIo.cjs → NcSelect-DmqYvkx5.cjs} +1 -1
- package/dist/chunks/{NcSelect-U9LJcdIo.cjs.map → NcSelect-DmqYvkx5.cjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-MlILya2b.mjs → NcSelectTags--fJnxT3p.mjs} +2 -2
- package/dist/chunks/{NcSelectTags-MlILya2b.mjs.map → NcSelectTags--fJnxT3p.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-rO88Pk-1.cjs → NcSelectTags-hNbQxoKD.cjs} +1 -1
- package/dist/chunks/{NcSelectTags-rO88Pk-1.cjs.map → NcSelectTags-hNbQxoKD.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-0K3HYGJr.cjs → NcSettingsInputText-TsKBeDLR.cjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-0K3HYGJr.cjs.map → NcSettingsInputText-TsKBeDLR.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-Pz6fV7At.mjs → NcSettingsInputText-UaZCytJK.mjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-Pz6fV7At.mjs.map → NcSettingsInputText-UaZCytJK.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-CRmU7GLC.mjs → NcSettingsSection-bupJ6Jna.mjs} +1 -1
- package/dist/chunks/{NcSettingsSection-CRmU7GLC.mjs.map → NcSettingsSection-bupJ6Jna.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-IbUOeZ-e.cjs → NcSettingsSection-m79BAMzc.cjs} +1 -1
- package/dist/chunks/{NcSettingsSection-IbUOeZ-e.cjs.map → NcSettingsSection-m79BAMzc.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-rfeDPLCg.cjs → NcSettingsSelectGroup--i1OpaqD.cjs} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-rfeDPLCg.cjs.map → NcSettingsSelectGroup--i1OpaqD.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-xhnDBg8a.mjs → NcSettingsSelectGroup-OBtXPYek.mjs} +2 -2
- package/dist/chunks/{NcSettingsSelectGroup-xhnDBg8a.mjs.map → NcSettingsSelectGroup-OBtXPYek.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-NnW31cA4.mjs → NcTextField-J7CSrszM.mjs} +1 -1
- package/dist/chunks/{NcTextField-NnW31cA4.mjs.map → NcTextField-J7CSrszM.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-eclRKl_B.cjs → NcTextField-_LseQJYw.cjs} +1 -1
- package/dist/chunks/{NcTextField-eclRKl_B.cjs.map → NcTextField-_LseQJYw.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-KG0dvgUv.cjs → NcTimezonePicker-3_GbgBdk.cjs} +1 -1
- package/dist/chunks/{NcTimezonePicker-KG0dvgUv.cjs.map → NcTimezonePicker-3_GbgBdk.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-jJeiI-Ff.mjs → NcTimezonePicker-WyBb1HGy.mjs} +2 -2
- package/dist/chunks/{NcTimezonePicker-jJeiI-Ff.mjs.map → NcTimezonePicker-WyBb1HGy.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-9StjszDh.mjs → NcUserBubble-GvPAfzyX.mjs} +2 -2
- package/dist/chunks/{NcUserBubble-9StjszDh.mjs.map → NcUserBubble-GvPAfzyX.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-027_C0cM.cjs → NcUserBubble-dk-rgek6.cjs} +1 -1
- package/dist/chunks/{NcUserBubble-027_C0cM.cjs.map → NcUserBubble-dk-rgek6.cjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-pRUzQidI.mjs → NcUserStatusIcon-Y1esUu9e.mjs} +1 -1
- package/dist/chunks/{NcUserStatusIcon-pRUzQidI.mjs.map → NcUserStatusIcon-Y1esUu9e.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-79RsINrv.cjs → NcUserStatusIcon-vElqf2Lx.cjs} +1 -1
- package/dist/chunks/{NcUserStatusIcon-79RsINrv.cjs.map → NcUserStatusIcon-vElqf2Lx.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-v4OJPQb8.cjs → ScopeComponent-Cswoc9a6.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-v4OJPQb8.cjs.map → ScopeComponent-Cswoc9a6.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-ZQvTL_tO.mjs → ScopeComponent-_g3nK3Vt.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-ZQvTL_tO.mjs.map → ScopeComponent-_g3nK3Vt.mjs.map} +1 -1
- package/dist/chunks/_l10n-AmjncLyn.cjs +64 -0
- package/dist/chunks/_l10n-AmjncLyn.cjs.map +1 -0
- package/dist/chunks/_l10n-Y2fvkVoK.mjs +66 -0
- package/dist/chunks/_l10n-Y2fvkVoK.mjs.map +1 -0
- package/dist/chunks/autolink-gVCgJtXh.cjs +55 -0
- package/dist/chunks/autolink-gVCgJtXh.cjs.map +1 -0
- package/dist/chunks/autolink-oKM43mOC.mjs +59 -0
- package/dist/chunks/autolink-oKM43mOC.mjs.map +1 -0
- package/dist/chunks/{index-xnq0-IMW.mjs → index-05Rfhge1.mjs} +1 -1
- package/dist/chunks/index-05Rfhge1.mjs.map +1 -0
- package/dist/chunks/{index-5TyVc_TT.cjs → index-XRGLuo0a.cjs} +1 -1
- package/dist/chunks/index-XRGLuo0a.cjs.map +1 -0
- package/dist/chunks/{referencePickerModal-gDBkGfNV.mjs → referencePickerModal-TxU49swn.mjs} +474 -528
- package/dist/chunks/referencePickerModal-TxU49swn.mjs.map +1 -0
- package/dist/chunks/{referencePickerModal-cPBjsn4r.cjs → referencePickerModal-bKXpgb2c.cjs} +464 -517
- package/dist/chunks/referencePickerModal-bKXpgb2c.cjs.map +1 -0
- package/dist/chunks/{usernameToColor-D5bplyWJ.cjs → usernameToColor-AinK73Yf.cjs} +1 -1
- package/dist/chunks/{usernameToColor-D5bplyWJ.cjs.map → usernameToColor-AinK73Yf.cjs.map} +1 -1
- package/dist/chunks/{usernameToColor-xm3MLiw4.mjs → usernameToColor-CgFQ3CLQ.mjs} +1 -1
- package/dist/chunks/{usernameToColor-xm3MLiw4.mjs.map → usernameToColor-CgFQ3CLQ.mjs.map} +1 -1
- package/dist/index.cjs +126 -124
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +232 -229
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/assets/NcAppNavigationSpacer-MfL8GeCN.css +0 -5
- package/dist/chunks/NcActions-5_igU-CH.mjs.map +0 -1
- package/dist/chunks/NcActions-JXnhQhum.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-U6yaDk7k.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-n6P3oVZv.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-2rUO5Mns.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-2rUO5Mns.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-JQWbmgdy.cjs +0 -44
- package/dist/chunks/NcAppNavigationCaption-JQWbmgdy.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-rRNJnN-k.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-tnHBPGbL.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-kOW4T17e.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-rJ3UZLGm.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-rPobPO3M.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-yr9Pfeem.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-O0EAGlkS.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-xzt2RvDK.cjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-R7a7dIg4.cjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-n3MnAe1S.mjs.map +0 -1
- package/dist/chunks/NcPopover-T4GMXmKV.mjs.map +0 -1
- package/dist/chunks/NcPopover-judBGW5r.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-EDvgZgjQ.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-f2UeB_6X.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-cUZMZlgG.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-d4EOAT2a.mjs.map +0 -1
- package/dist/chunks/NcRichText-S34HoIhH.cjs.map +0 -1
- package/dist/chunks/NcRichText-yfYdNWFh.mjs.map +0 -1
- package/dist/chunks/_l10n-FmsZpnE4.mjs +0 -66
- package/dist/chunks/_l10n-FmsZpnE4.mjs.map +0 -1
- package/dist/chunks/_l10n-Od-4xzJA.cjs +0 -64
- package/dist/chunks/_l10n-Od-4xzJA.cjs.map +0 -1
- package/dist/chunks/index-5TyVc_TT.cjs.map +0 -1
- package/dist/chunks/index-xnq0-IMW.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-cPBjsn4r.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-gDBkGfNV.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require('../assets/referencePickerModal-A0PlFUEI.css');
|
|
2
2
|
"use strict";
|
|
3
|
-
const x = require("../Functions/registerReference.cjs"),
|
|
3
|
+
const x = require("../Functions/registerReference.cjs"), L = require("./_plugin-vue2_normalizer-DCfUPqga.cjs"), y = require("./_l10n-AmjncLyn.cjs"), kt = require("@nextcloud/axios"), Ke = require("@nextcloud/initial-state"), F = require("@nextcloud/router"), ve = require("../Components/NcEmptyContent.cjs"), Je = require("./index-FO4BaGaF.cjs"), Xe = require("./NcSelect-DmqYvkx5.cjs"), xt = require("./autolink-gVCgJtXh.cjs"), Nt = require("@vueuse/core"), $t = require("../Components/NcLoadingIcon.cjs"), Lt = require("./NcTextField-_LseQJYw.cjs"), Ot = require("./DotsHorizontal-6hepLUSS.cjs"), Tt = require("../Components/NcButton.cjs"), At = require("../Components/NcModal.cjs"), It = require("@nextcloud/event-bus"), qt = require("./ArrowLeft-fC5aEWWu.cjs"), Vt = require("./Close-dotk0707.cjs"), Bt = require("vue"), Ye = (t) => t && t.__esModule ? t : { default: t }, me = /* @__PURE__ */ Ye(kt), jt = /* @__PURE__ */ Ye(Bt);
|
|
4
4
|
/*!
|
|
5
5
|
* vue-router v3.6.5
|
|
6
6
|
* (c) 2022 Evan You
|
|
@@ -10,52 +10,52 @@ function q(t, e) {
|
|
|
10
10
|
if (!t)
|
|
11
11
|
throw new Error("[vue-router] " + e);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function R(t, e) {
|
|
14
14
|
t || typeof console < "u" && console.warn("[vue-router] " + e);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function k(t, e) {
|
|
17
17
|
for (var r in e)
|
|
18
18
|
t[r] = e[r];
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
21
|
-
var
|
|
21
|
+
var Mt = /[!'()*]/g, Ut = function(t) {
|
|
22
22
|
return "%" + t.charCodeAt(0).toString(16);
|
|
23
|
-
},
|
|
24
|
-
return encodeURIComponent(t).replace(
|
|
23
|
+
}, zt = /%2C/g, B = function(t) {
|
|
24
|
+
return encodeURIComponent(t).replace(Mt, Ut).replace(zt, ",");
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function le(t) {
|
|
27
27
|
try {
|
|
28
28
|
return decodeURIComponent(t);
|
|
29
29
|
} catch {
|
|
30
|
-
process.env.NODE_ENV !== "production" &&
|
|
30
|
+
process.env.NODE_ENV !== "production" && R(!1, 'Error decoding "' + t + '". Leaving it intact.');
|
|
31
31
|
}
|
|
32
32
|
return t;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Dt(t, e, r) {
|
|
35
35
|
e === void 0 && (e = {});
|
|
36
|
-
var n = r ||
|
|
36
|
+
var n = r || Ft, i;
|
|
37
37
|
try {
|
|
38
38
|
i = n(t || "");
|
|
39
39
|
} catch (a) {
|
|
40
|
-
process.env.NODE_ENV !== "production" &&
|
|
40
|
+
process.env.NODE_ENV !== "production" && R(!1, a.message), i = {};
|
|
41
41
|
}
|
|
42
42
|
for (var s in e) {
|
|
43
43
|
var o = e[s];
|
|
44
|
-
i[s] = Array.isArray(o) ? o.map(
|
|
44
|
+
i[s] = Array.isArray(o) ? o.map(Ne) : Ne(o);
|
|
45
45
|
}
|
|
46
46
|
return i;
|
|
47
47
|
}
|
|
48
|
-
var
|
|
48
|
+
var Ne = function(t) {
|
|
49
49
|
return t == null || typeof t == "object" ? t : String(t);
|
|
50
50
|
};
|
|
51
|
-
function
|
|
51
|
+
function Ft(t) {
|
|
52
52
|
var e = {};
|
|
53
53
|
return t = t.trim().replace(/^(\?|#|&)/, ""), t && t.split("&").forEach(function(r) {
|
|
54
|
-
var n = r.replace(/\+/g, " ").split("="), i =
|
|
54
|
+
var n = r.replace(/\+/g, " ").split("="), i = le(n.shift()), s = n.length > 0 ? le(n.join("=")) : null;
|
|
55
55
|
e[i] === void 0 ? e[i] = s : Array.isArray(e[i]) ? e[i].push(s) : e[i] = [e[i], s];
|
|
56
56
|
}), e;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Wt(t) {
|
|
59
59
|
var e = t ? Object.keys(t).map(function(r) {
|
|
60
60
|
var n = t[r];
|
|
61
61
|
if (n === void 0)
|
|
@@ -74,11 +74,11 @@ function Kt(t) {
|
|
|
74
74
|
}).join("&") : null;
|
|
75
75
|
return e ? "?" + e : "";
|
|
76
76
|
}
|
|
77
|
-
var
|
|
77
|
+
var Z = /\/?$/;
|
|
78
78
|
function ee(t, e, r, n) {
|
|
79
79
|
var i = n && n.options.stringifyQuery, s = e.query || {};
|
|
80
80
|
try {
|
|
81
|
-
s =
|
|
81
|
+
s = fe(s);
|
|
82
82
|
} catch {
|
|
83
83
|
}
|
|
84
84
|
var o = {
|
|
@@ -88,18 +88,18 @@ function ee(t, e, r, n) {
|
|
|
88
88
|
hash: e.hash || "",
|
|
89
89
|
query: s,
|
|
90
90
|
params: e.params || {},
|
|
91
|
-
fullPath:
|
|
92
|
-
matched: t ?
|
|
91
|
+
fullPath: $e(e, i),
|
|
92
|
+
matched: t ? Ht(t) : []
|
|
93
93
|
};
|
|
94
|
-
return r && (o.redirectedFrom =
|
|
94
|
+
return r && (o.redirectedFrom = $e(r, i)), Object.freeze(o);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function fe(t) {
|
|
97
97
|
if (Array.isArray(t))
|
|
98
|
-
return t.map(
|
|
98
|
+
return t.map(fe);
|
|
99
99
|
if (t && typeof t == "object") {
|
|
100
100
|
var e = {};
|
|
101
101
|
for (var r in t)
|
|
102
|
-
e[r] =
|
|
102
|
+
e[r] = fe(t[r]);
|
|
103
103
|
return e;
|
|
104
104
|
} else
|
|
105
105
|
return t;
|
|
@@ -107,21 +107,21 @@ function he(t) {
|
|
|
107
107
|
var I = ee(null, {
|
|
108
108
|
path: "/"
|
|
109
109
|
});
|
|
110
|
-
function
|
|
110
|
+
function Ht(t) {
|
|
111
111
|
for (var e = []; t; )
|
|
112
112
|
e.unshift(t), t = t.parent;
|
|
113
113
|
return e;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function $e(t, e) {
|
|
116
116
|
var r = t.path, n = t.query;
|
|
117
117
|
n === void 0 && (n = {});
|
|
118
118
|
var i = t.hash;
|
|
119
119
|
i === void 0 && (i = "");
|
|
120
|
-
var s = e ||
|
|
120
|
+
var s = e || Wt;
|
|
121
121
|
return (r || "/") + s(n) + i;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
return e === I ? t === e : e ? t.path && e.path ? t.path.replace(
|
|
123
|
+
function Ze(t, e, r) {
|
|
124
|
+
return e === I ? t === e : e ? t.path && e.path ? t.path.replace(Z, "") === e.path.replace(Z, "") && (r || t.hash === e.hash && Q(t.query, e.query)) : t.name && e.name ? t.name === e.name && (r || t.hash === e.hash && Q(t.query, e.query) && Q(t.params, e.params)) : !1 : !1;
|
|
125
125
|
}
|
|
126
126
|
function Q(t, e) {
|
|
127
127
|
if (t === void 0 && (t = {}), e === void 0 && (e = {}), !t || !e)
|
|
@@ -135,18 +135,18 @@ function Q(t, e) {
|
|
|
135
135
|
return o == null || c == null ? o === c : typeof o == "object" && typeof c == "object" ? Q(o, c) : String(o) === String(c);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
return t.path.replace(
|
|
140
|
-
e.path.replace(
|
|
141
|
-
) === 0 && (!e.hash || t.hash === e.hash) &&
|
|
138
|
+
function Gt(t, e) {
|
|
139
|
+
return t.path.replace(Z, "/").indexOf(
|
|
140
|
+
e.path.replace(Z, "/")
|
|
141
|
+
) === 0 && (!e.hash || t.hash === e.hash) && Qt(t.query, e.query);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Qt(t, e) {
|
|
144
144
|
for (var r in e)
|
|
145
145
|
if (!(r in t))
|
|
146
146
|
return !1;
|
|
147
147
|
return !0;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function et(t) {
|
|
150
150
|
for (var e = 0; e < t.matched.length; e++) {
|
|
151
151
|
var r = t.matched[e];
|
|
152
152
|
for (var n in r.instances) {
|
|
@@ -159,7 +159,7 @@ function nt(t) {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var Kt = {
|
|
163
163
|
name: "RouterView",
|
|
164
164
|
functional: !0,
|
|
165
165
|
props: {
|
|
@@ -177,36 +177,36 @@ var Yt = {
|
|
|
177
177
|
}
|
|
178
178
|
if (o.routerViewDepth = m, h) {
|
|
179
179
|
var p = d[c], l = p && p.component;
|
|
180
|
-
return l ? (p.configProps &&
|
|
180
|
+
return l ? (p.configProps && Le(l, o, p.route, p.configProps), a(l, o, i)) : a();
|
|
181
181
|
}
|
|
182
182
|
var f = u.matched[m], g = f && f.components[c];
|
|
183
183
|
if (!f || !g)
|
|
184
184
|
return d[c] = null, a();
|
|
185
185
|
d[c] = { component: g }, o.registerRouteInstance = function(_, C) {
|
|
186
|
-
var
|
|
187
|
-
(C &&
|
|
186
|
+
var P = f.instances[c];
|
|
187
|
+
(C && P !== _ || !C && P === _) && (f.instances[c] = C);
|
|
188
188
|
}, (o.hook || (o.hook = {})).prepatch = function(_, C) {
|
|
189
189
|
f.instances[c] = C.componentInstance;
|
|
190
190
|
}, o.hook.init = function(_) {
|
|
191
|
-
_.data.keepAlive && _.componentInstance && _.componentInstance !== f.instances[c] && (f.instances[c] = _.componentInstance),
|
|
191
|
+
_.data.keepAlive && _.componentInstance && _.componentInstance !== f.instances[c] && (f.instances[c] = _.componentInstance), et(u);
|
|
192
192
|
};
|
|
193
|
-
var
|
|
194
|
-
return
|
|
193
|
+
var w = f.props && f.props[c];
|
|
194
|
+
return w && (k(d[c], {
|
|
195
195
|
route: u,
|
|
196
|
-
configProps:
|
|
197
|
-
}),
|
|
196
|
+
configProps: w
|
|
197
|
+
}), Le(g, o, u, w)), a(g, o, i);
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
function
|
|
201
|
-
var i = e.props =
|
|
200
|
+
function Le(t, e, r, n) {
|
|
201
|
+
var i = e.props = Jt(r, n);
|
|
202
202
|
if (i) {
|
|
203
|
-
i = e.props =
|
|
203
|
+
i = e.props = k({}, i);
|
|
204
204
|
var s = e.attrs = e.attrs || {};
|
|
205
205
|
for (var o in i)
|
|
206
206
|
(!t.props || !(o in t.props)) && (s[o] = i[o], delete i[o]);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Jt(t, e) {
|
|
210
210
|
switch (typeof e) {
|
|
211
211
|
case "undefined":
|
|
212
212
|
return;
|
|
@@ -217,13 +217,13 @@ function er(t, e) {
|
|
|
217
217
|
case "boolean":
|
|
218
218
|
return e ? t.params : void 0;
|
|
219
219
|
default:
|
|
220
|
-
process.env.NODE_ENV !== "production" &&
|
|
220
|
+
process.env.NODE_ENV !== "production" && R(
|
|
221
221
|
!1,
|
|
222
222
|
'props in "' + t.path + '" is a ' + typeof e + ", expecting an object, function or boolean."
|
|
223
223
|
);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function tt(t, e, r) {
|
|
227
227
|
var n = t.charAt(0);
|
|
228
228
|
if (n === "/")
|
|
229
229
|
return t;
|
|
@@ -237,7 +237,7 @@ function it(t, e, r) {
|
|
|
237
237
|
}
|
|
238
238
|
return i[0] !== "" && i.unshift(""), i.join("/");
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Xt(t) {
|
|
241
241
|
var e = "", r = "", n = t.indexOf("#");
|
|
242
242
|
n >= 0 && (e = t.slice(n), t = t.slice(0, n));
|
|
243
243
|
var i = t.indexOf("?");
|
|
@@ -252,7 +252,7 @@ function O(t) {
|
|
|
252
252
|
}
|
|
253
253
|
var te = Array.isArray || function(t) {
|
|
254
254
|
return Object.prototype.toString.call(t) == "[object Array]";
|
|
255
|
-
},
|
|
255
|
+
}, M = it, Yt = ge, Zt = nr, er = rt, tr = nt, rr = new RegExp([
|
|
256
256
|
// Match escaped characters that would otherwise appear in future matches.
|
|
257
257
|
// This allows the user to escape special characters that won't transform.
|
|
258
258
|
"(\\\\.)",
|
|
@@ -264,8 +264,8 @@ var te = Array.isArray || function(t) {
|
|
|
264
264
|
// "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
|
|
265
265
|
"([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"
|
|
266
266
|
].join("|"), "g");
|
|
267
|
-
function
|
|
268
|
-
for (var r = [], n = 0, i = 0, s = "", o = e && e.delimiter || "/", a; (a =
|
|
267
|
+
function ge(t, e) {
|
|
268
|
+
for (var r = [], n = 0, i = 0, s = "", o = e && e.delimiter || "/", a; (a = rr.exec(t)) != null; ) {
|
|
269
269
|
var c = a[0], u = a[1], d = a.index;
|
|
270
270
|
if (s += t.slice(i, d), i = d + c.length, u) {
|
|
271
271
|
s += u[1];
|
|
@@ -273,38 +273,38 @@ function ye(t, e) {
|
|
|
273
273
|
}
|
|
274
274
|
var m = t[i], h = a[2], v = a[3], p = a[4], l = a[5], f = a[6], g = a[7];
|
|
275
275
|
s && (r.push(s), s = "");
|
|
276
|
-
var
|
|
276
|
+
var w = h != null && m != null && m !== h, _ = f === "+" || f === "*", C = f === "?" || f === "*", P = a[2] || o, E = p || l;
|
|
277
277
|
r.push({
|
|
278
278
|
name: v || n++,
|
|
279
279
|
prefix: h || "",
|
|
280
|
-
delimiter:
|
|
280
|
+
delimiter: P,
|
|
281
281
|
optional: C,
|
|
282
282
|
repeat: _,
|
|
283
|
-
partial:
|
|
283
|
+
partial: w,
|
|
284
284
|
asterisk: !!g,
|
|
285
|
-
pattern: E ?
|
|
285
|
+
pattern: E ? or(E) : g ? ".*" : "[^" + K(P) + "]+?"
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
288
|
return i < t.length && (s += t.substr(i)), s && r.push(s), r;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
return
|
|
290
|
+
function nr(t, e) {
|
|
291
|
+
return rt(ge(t, e), e);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function ir(t) {
|
|
294
294
|
return encodeURI(t).replace(/[\/?#]/g, function(e) {
|
|
295
295
|
return "%" + e.charCodeAt(0).toString(16).toUpperCase();
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function sr(t) {
|
|
299
299
|
return encodeURI(t).replace(/[?#]/g, function(e) {
|
|
300
300
|
return "%" + e.charCodeAt(0).toString(16).toUpperCase();
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function rt(t, e) {
|
|
304
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 + ")$",
|
|
305
|
+
typeof t[n] == "object" && (r[n] = new RegExp("^(?:" + t[n].pattern + ")$", _e(e)));
|
|
306
306
|
return function(i, s) {
|
|
307
|
-
for (var o = "", a = i || {}, c = s || {}, u = c.pretty ?
|
|
307
|
+
for (var o = "", a = i || {}, c = s || {}, u = c.pretty ? ir : encodeURIComponent, d = 0; d < t.length; d++) {
|
|
308
308
|
var m = t[d];
|
|
309
309
|
if (typeof m == "string") {
|
|
310
310
|
o += m;
|
|
@@ -332,7 +332,7 @@ function st(t, e) {
|
|
|
332
332
|
}
|
|
333
333
|
continue;
|
|
334
334
|
}
|
|
335
|
-
if (v = m.asterisk ?
|
|
335
|
+
if (v = m.asterisk ? sr(h) : u(h), !r[d].test(v))
|
|
336
336
|
throw new TypeError('Expected "' + m.name + '" to match "' + m.pattern + '", but received "' + v + '"');
|
|
337
337
|
o += m.prefix + v;
|
|
338
338
|
}
|
|
@@ -342,16 +342,16 @@ function st(t, e) {
|
|
|
342
342
|
function K(t) {
|
|
343
343
|
return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1");
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function or(t) {
|
|
346
346
|
return t.replace(/([=!:$\/()])/g, "\\$1");
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function ye(t, e) {
|
|
349
349
|
return t.keys = e, t;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function _e(t) {
|
|
352
352
|
return t && t.sensitive ? "" : "i";
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function ar(t, e) {
|
|
355
355
|
var r = t.source.match(/\((?!\?)/g);
|
|
356
356
|
if (r)
|
|
357
357
|
for (var n = 0; n < r.length; n++)
|
|
@@ -365,18 +365,18 @@ function fr(t, e) {
|
|
|
365
365
|
asterisk: !1,
|
|
366
366
|
pattern: null
|
|
367
367
|
});
|
|
368
|
-
return
|
|
368
|
+
return ye(t, e);
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function cr(t, e, r) {
|
|
371
371
|
for (var n = [], i = 0; i < t.length; i++)
|
|
372
|
-
n.push(
|
|
373
|
-
var s = new RegExp("(?:" + n.join("|") + ")",
|
|
374
|
-
return
|
|
372
|
+
n.push(it(t[i], e, r).source);
|
|
373
|
+
var s = new RegExp("(?:" + n.join("|") + ")", _e(r));
|
|
374
|
+
return ye(s, e);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return
|
|
376
|
+
function ur(t, e, r) {
|
|
377
|
+
return nt(ge(t, r), e, r);
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function nt(t, e, r) {
|
|
380
380
|
te(e) || (r = /** @type {!Object} */
|
|
381
381
|
e || r, e = []), r = r || {};
|
|
382
382
|
for (var n = r.strict, i = r.end !== !1, s = "", o = 0; o < t.length; o++) {
|
|
@@ -389,21 +389,21 @@ function ot(t, e, r) {
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
var d = K(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 + "|$)",
|
|
392
|
+
return n || (s = (m ? s.slice(0, -d.length) : s) + "(?:" + d + "(?=$))?"), i ? s += "$" : s += n && m ? "" : "(?=" + d + "|$)", ye(new RegExp("^" + s, _e(r)), e);
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function it(t, e, r) {
|
|
395
395
|
return te(e) || (r = /** @type {!Object} */
|
|
396
|
-
e || r, e = []), r = r || {}, t instanceof RegExp ?
|
|
396
|
+
e || r, e = []), r = r || {}, t instanceof RegExp ? ar(
|
|
397
397
|
t,
|
|
398
398
|
/** @type {!Array} */
|
|
399
399
|
e
|
|
400
|
-
) : te(t) ?
|
|
400
|
+
) : te(t) ? cr(
|
|
401
401
|
/** @type {!Array} */
|
|
402
402
|
t,
|
|
403
403
|
/** @type {!Array} */
|
|
404
404
|
e,
|
|
405
405
|
r
|
|
406
|
-
) :
|
|
406
|
+
) : ur(
|
|
407
407
|
/** @type {string} */
|
|
408
408
|
t,
|
|
409
409
|
/** @type {!Array} */
|
|
@@ -411,18 +411,18 @@ function at(t, e, r) {
|
|
|
411
411
|
r
|
|
412
412
|
);
|
|
413
413
|
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
var
|
|
419
|
-
function
|
|
414
|
+
M.parse = Yt;
|
|
415
|
+
M.compile = Zt;
|
|
416
|
+
M.tokensToFunction = er;
|
|
417
|
+
M.tokensToRegExp = tr;
|
|
418
|
+
var Oe = /* @__PURE__ */ Object.create(null);
|
|
419
|
+
function J(t, e, r) {
|
|
420
420
|
e = e || {};
|
|
421
421
|
try {
|
|
422
|
-
var n =
|
|
422
|
+
var n = Oe[t] || (Oe[t] = M.compile(t));
|
|
423
423
|
return typeof e.pathMatch == "string" && (e[0] = e.pathMatch), n(e, { pretty: !0 });
|
|
424
424
|
} catch (i) {
|
|
425
|
-
return process.env.NODE_ENV !== "production" &&
|
|
425
|
+
return process.env.NODE_ENV !== "production" && R(typeof e.pathMatch == "string", "missing param for " + r + ": " + i.message), "";
|
|
426
426
|
} finally {
|
|
427
427
|
delete e[0];
|
|
428
428
|
}
|
|
@@ -432,23 +432,23 @@ function we(t, e, r, n) {
|
|
|
432
432
|
if (i._normalized)
|
|
433
433
|
return i;
|
|
434
434
|
if (i.name) {
|
|
435
|
-
i =
|
|
435
|
+
i = k({}, t);
|
|
436
436
|
var s = i.params;
|
|
437
|
-
return s && typeof s == "object" && (i.params =
|
|
437
|
+
return s && typeof s == "object" && (i.params = k({}, s)), i;
|
|
438
438
|
}
|
|
439
439
|
if (!i.path && i.params && e) {
|
|
440
|
-
i =
|
|
441
|
-
var o =
|
|
440
|
+
i = k({}, i), i._normalized = !0;
|
|
441
|
+
var o = k(k({}, e.params), i.params);
|
|
442
442
|
if (e.name)
|
|
443
443
|
i.name = e.name, i.params = o;
|
|
444
444
|
else if (e.matched.length) {
|
|
445
445
|
var a = e.matched[e.matched.length - 1].path;
|
|
446
|
-
i.path =
|
|
446
|
+
i.path = J(a, o, "path " + e.path);
|
|
447
447
|
} else
|
|
448
|
-
process.env.NODE_ENV !== "production" &&
|
|
448
|
+
process.env.NODE_ENV !== "production" && R(!1, "relative params navigation requires a current route.");
|
|
449
449
|
return i;
|
|
450
450
|
}
|
|
451
|
-
var c =
|
|
451
|
+
var c = Xt(i.path || ""), u = e && e.path || "/", d = c.path ? tt(c.path, u, r || i.append) : u, m = Dt(
|
|
452
452
|
c.query,
|
|
453
453
|
i.query,
|
|
454
454
|
n && n.options.parseQuery
|
|
@@ -460,12 +460,12 @@ function we(t, e, r, n) {
|
|
|
460
460
|
hash: h
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
|
-
var
|
|
464
|
-
},
|
|
463
|
+
var lr = [String, Object], fr = [String, Array], Te = function() {
|
|
464
|
+
}, Ae, Ie, qe, be = {
|
|
465
465
|
name: "RouterLink",
|
|
466
466
|
props: {
|
|
467
467
|
to: {
|
|
468
|
-
type:
|
|
468
|
+
type: lr,
|
|
469
469
|
required: !0
|
|
470
470
|
},
|
|
471
471
|
tag: {
|
|
@@ -484,7 +484,7 @@ var dr = [String, Object], vr = [String, Array], Ie = function() {
|
|
|
484
484
|
default: "page"
|
|
485
485
|
},
|
|
486
486
|
event: {
|
|
487
|
-
type:
|
|
487
|
+
type: fr,
|
|
488
488
|
default: "click"
|
|
489
489
|
}
|
|
490
490
|
},
|
|
@@ -494,60 +494,60 @@ var dr = [String, Object], vr = [String, Array], Ie = function() {
|
|
|
494
494
|
i,
|
|
495
495
|
this.append
|
|
496
496
|
), o = s.location, a = s.route, c = s.href, u = {}, d = n.options.linkActiveClass, m = n.options.linkExactActiveClass, h = d ?? "router-link-active", v = m ?? "router-link-exact-active", p = this.activeClass == null ? h : this.activeClass, l = this.exactActiveClass == null ? v : this.exactActiveClass, f = a.redirectedFrom ? ee(null, we(a.redirectedFrom), null, n) : a;
|
|
497
|
-
u[l] =
|
|
498
|
-
var g = u[l] ? this.ariaCurrentValue : null,
|
|
499
|
-
|
|
500
|
-
}, _ = { click:
|
|
497
|
+
u[l] = Ze(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(ue) {
|
|
499
|
+
Ve(ue) && (r.replace ? n.replace(o, Te) : n.push(o, Te));
|
|
500
|
+
}, _ = { click: Ve };
|
|
501
501
|
Array.isArray(this.event) ? this.event.forEach(function(ue) {
|
|
502
|
-
_[ue] =
|
|
503
|
-
}) : _[this.event] =
|
|
504
|
-
var C = { class: u },
|
|
502
|
+
_[ue] = w;
|
|
503
|
+
}) : _[this.event] = w;
|
|
504
|
+
var C = { class: u }, P = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({
|
|
505
505
|
href: c,
|
|
506
506
|
route: a,
|
|
507
|
-
navigate:
|
|
507
|
+
navigate: w,
|
|
508
508
|
isActive: u[p],
|
|
509
509
|
isExactActive: u[l]
|
|
510
510
|
});
|
|
511
|
-
if (
|
|
512
|
-
if (process.env.NODE_ENV !== "production" && !this.custom && (!
|
|
511
|
+
if (P) {
|
|
512
|
+
if (process.env.NODE_ENV !== "production" && !this.custom && (!Ae && R(!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:
|
|
513
513
|
<router-link v-slot="{ navigate, href }" custom></router-link>
|
|
514
|
-
`),
|
|
515
|
-
return
|
|
516
|
-
if (
|
|
517
|
-
return process.env.NODE_ENV !== "production" &&
|
|
514
|
+
`), Ae = !0), P.length === 1)
|
|
515
|
+
return P[0];
|
|
516
|
+
if (P.length > 1 || !P.length)
|
|
517
|
+
return process.env.NODE_ENV !== "production" && R(
|
|
518
518
|
!1,
|
|
519
519
|
'<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.`
|
|
520
|
-
),
|
|
520
|
+
), P.length === 0 ? e() : e("span", {}, P);
|
|
521
521
|
}
|
|
522
|
-
if (process.env.NODE_ENV !== "production" && ("tag" in this.$options.propsData && !
|
|
522
|
+
if (process.env.NODE_ENV !== "production" && ("tag" in this.$options.propsData && !Ie && (R(
|
|
523
523
|
!1,
|
|
524
524
|
"<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."
|
|
525
|
-
),
|
|
525
|
+
), Ie = !0), "event" in this.$options.propsData && !qe && (R(
|
|
526
526
|
!1,
|
|
527
527
|
"<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."
|
|
528
|
-
),
|
|
528
|
+
), qe = !0)), this.tag === "a")
|
|
529
529
|
C.on = _, C.attrs = { href: c, "aria-current": g };
|
|
530
530
|
else {
|
|
531
|
-
var E =
|
|
531
|
+
var E = st(this.$slots.default);
|
|
532
532
|
if (E) {
|
|
533
533
|
E.isStatic = !1;
|
|
534
|
-
var
|
|
535
|
-
|
|
536
|
-
for (var
|
|
537
|
-
var
|
|
538
|
-
|
|
534
|
+
var S = E.data = k({}, E.data);
|
|
535
|
+
S.on = S.on || {};
|
|
536
|
+
for (var $ in S.on) {
|
|
537
|
+
var U = S.on[$];
|
|
538
|
+
$ in _ && (S.on[$] = Array.isArray(U) ? U : [U]);
|
|
539
539
|
}
|
|
540
540
|
for (var H in _)
|
|
541
|
-
H in
|
|
542
|
-
var
|
|
543
|
-
|
|
541
|
+
H in S.on ? S.on[H].push(_[H]) : S.on[H] = w;
|
|
542
|
+
var xe = E.data.attrs = k({}, E.data.attrs);
|
|
543
|
+
xe.href = c, xe["aria-current"] = g;
|
|
544
544
|
} else
|
|
545
545
|
C.on = _;
|
|
546
546
|
}
|
|
547
547
|
return e(this.tag, C, this.$slots.default);
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
|
-
function
|
|
550
|
+
function Ve(t) {
|
|
551
551
|
if (!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey) && !t.defaultPrevented && !(t.button !== void 0 && t.button !== 0)) {
|
|
552
552
|
if (t.currentTarget && t.currentTarget.getAttribute) {
|
|
553
553
|
var e = t.currentTarget.getAttribute("target");
|
|
@@ -557,10 +557,10 @@ function je(t) {
|
|
|
557
557
|
return t.preventDefault && t.preventDefault(), !0;
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function st(t) {
|
|
561
561
|
if (t) {
|
|
562
562
|
for (var e, r = 0; r < t.length; r++)
|
|
563
|
-
if (e = t[r], e.tag === "a" || e.children && (e =
|
|
563
|
+
if (e = t[r], e.tag === "a" || e.children && (e = st(e.children)))
|
|
564
564
|
return e;
|
|
565
565
|
}
|
|
566
566
|
}
|
|
@@ -589,7 +589,7 @@ function ne(t) {
|
|
|
589
589
|
get: function() {
|
|
590
590
|
return this._routerRoot._route;
|
|
591
591
|
}
|
|
592
|
-
}), t.component("RouterView",
|
|
592
|
+
}), t.component("RouterView", Kt), t.component("RouterLink", be);
|
|
593
593
|
var n = t.config.optionMergeStrategies;
|
|
594
594
|
n.beforeRouteEnter = n.beforeRouteLeave = n.beforeRouteUpdate = n.created;
|
|
595
595
|
}
|
|
@@ -598,7 +598,7 @@ var W = typeof window < "u";
|
|
|
598
598
|
function G(t, e, r, n, i) {
|
|
599
599
|
var s = e || [], o = r || /* @__PURE__ */ Object.create(null), a = n || /* @__PURE__ */ Object.create(null);
|
|
600
600
|
t.forEach(function(h) {
|
|
601
|
-
|
|
601
|
+
he(s, o, a, h, i);
|
|
602
602
|
});
|
|
603
603
|
for (var c = 0, u = s.length; c < u; c++)
|
|
604
604
|
s[c] === "*" && (s.push(s.splice(c, 1)[0]), u--, c--);
|
|
@@ -611,7 +611,7 @@ function G(t, e, r, n, i) {
|
|
|
611
611
|
return "- " + h;
|
|
612
612
|
}).join(`
|
|
613
613
|
`);
|
|
614
|
-
|
|
614
|
+
R(!1, `Non-nested routes must include a leading slash character. Fix the following routes:
|
|
615
615
|
` + m);
|
|
616
616
|
}
|
|
617
617
|
}
|
|
@@ -621,23 +621,23 @@ function G(t, e, r, n, i) {
|
|
|
621
621
|
nameMap: a
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function he(t, e, r, n, i, s) {
|
|
625
625
|
var o = n.path, a = n.name;
|
|
626
626
|
process.env.NODE_ENV !== "production" && (q(o != null, '"path" is required in a route configuration.'), q(
|
|
627
627
|
typeof n.component != "string",
|
|
628
628
|
'route config "component" for path: ' + String(
|
|
629
629
|
o || a
|
|
630
630
|
) + " cannot be a string id. Use an actual component instead."
|
|
631
|
-
),
|
|
631
|
+
), R(
|
|
632
632
|
// eslint-disable-next-line no-control-regex
|
|
633
633
|
!/[^\u0000-\u007F]+/.test(o),
|
|
634
634
|
'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.'
|
|
635
635
|
));
|
|
636
|
-
var c = n.pathToRegexpOptions || {}, u =
|
|
636
|
+
var c = n.pathToRegexpOptions || {}, u = pr(o, i, c.strict);
|
|
637
637
|
typeof n.caseSensitive == "boolean" && (c.sensitive = n.caseSensitive);
|
|
638
638
|
var d = {
|
|
639
639
|
path: u,
|
|
640
|
-
regex:
|
|
640
|
+
regex: hr(u, c),
|
|
641
641
|
components: n.components || { default: n.component },
|
|
642
642
|
alias: n.alias ? typeof n.alias == "string" ? [n.alias] : n.alias : [],
|
|
643
643
|
instances: {},
|
|
@@ -652,17 +652,17 @@ function pe(t, e, r, n, i, s) {
|
|
|
652
652
|
};
|
|
653
653
|
if (n.children && (process.env.NODE_ENV !== "production" && n.name && !n.redirect && n.children.some(function(l) {
|
|
654
654
|
return /^\/?$/.test(l.path);
|
|
655
|
-
}) &&
|
|
655
|
+
}) && R(
|
|
656
656
|
!1,
|
|
657
657
|
"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.`
|
|
658
658
|
), n.children.forEach(function(l) {
|
|
659
659
|
var f = s ? O(s + "/" + l.path) : void 0;
|
|
660
|
-
|
|
660
|
+
he(t, e, r, l, d, f);
|
|
661
661
|
})), e[d.path] || (t.push(d.path), e[d.path] = d), n.alias !== void 0)
|
|
662
662
|
for (var m = Array.isArray(n.alias) ? n.alias : [n.alias], h = 0; h < m.length; ++h) {
|
|
663
663
|
var v = m[h];
|
|
664
664
|
if (process.env.NODE_ENV !== "production" && v === o) {
|
|
665
|
-
|
|
665
|
+
R(
|
|
666
666
|
!1,
|
|
667
667
|
'Found an alias with the same value as the path: "' + o + '". You have to remove that alias. It will be ignored in development.'
|
|
668
668
|
);
|
|
@@ -672,7 +672,7 @@ function pe(t, e, r, n, i, s) {
|
|
|
672
672
|
path: v,
|
|
673
673
|
children: n.children
|
|
674
674
|
};
|
|
675
|
-
|
|
675
|
+
he(
|
|
676
676
|
t,
|
|
677
677
|
e,
|
|
678
678
|
r,
|
|
@@ -682,17 +682,17 @@ function pe(t, e, r, n, i, s) {
|
|
|
682
682
|
// matchAs
|
|
683
683
|
);
|
|
684
684
|
}
|
|
685
|
-
a && (r[a] ? process.env.NODE_ENV !== "production" && !s &&
|
|
685
|
+
a && (r[a] ? process.env.NODE_ENV !== "production" && !s && R(
|
|
686
686
|
!1,
|
|
687
687
|
'Duplicate named routes definition: { name: "' + a + '", path: "' + d.path + '" }'
|
|
688
688
|
) : r[a] = d);
|
|
689
689
|
}
|
|
690
|
-
function
|
|
691
|
-
var r =
|
|
690
|
+
function hr(t, e) {
|
|
691
|
+
var r = M(t, [], e);
|
|
692
692
|
if (process.env.NODE_ENV !== "production") {
|
|
693
693
|
var n = /* @__PURE__ */ Object.create(null);
|
|
694
694
|
r.keys.forEach(function(i) {
|
|
695
|
-
|
|
695
|
+
R(
|
|
696
696
|
!n[i.name],
|
|
697
697
|
'Duplicate param keys in route with path: "' + t + '"'
|
|
698
698
|
), n[i.name] = !0;
|
|
@@ -700,10 +700,10 @@ function mr(t, e) {
|
|
|
700
700
|
}
|
|
701
701
|
return r;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function pr(t, e, r) {
|
|
704
704
|
return r || (t = t.replace(/\/$/, "")), t[0] === "/" || e == null ? t : O(e.path + "/" + t);
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function dr(t, e) {
|
|
707
707
|
var r = G(t), n = r.pathList, i = r.pathMap, s = r.nameMap;
|
|
708
708
|
function o(v) {
|
|
709
709
|
G(v, n, i, s);
|
|
@@ -729,24 +729,24 @@ function yr(t, e) {
|
|
|
729
729
|
function u(v, p, l) {
|
|
730
730
|
var f = we(v, p, !1, e), g = f.name;
|
|
731
731
|
if (g) {
|
|
732
|
-
var
|
|
733
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
732
|
+
var w = s[g];
|
|
733
|
+
if (process.env.NODE_ENV !== "production" && R(w, "Route with name '" + g + "' does not exist"), !w)
|
|
734
734
|
return h(null, f);
|
|
735
|
-
var _ =
|
|
736
|
-
return
|
|
737
|
-
}).map(function(
|
|
738
|
-
return
|
|
735
|
+
var _ = w.regex.keys.filter(function($) {
|
|
736
|
+
return !$.optional;
|
|
737
|
+
}).map(function($) {
|
|
738
|
+
return $.name;
|
|
739
739
|
});
|
|
740
740
|
if (typeof f.params != "object" && (f.params = {}), p && typeof p.params == "object")
|
|
741
741
|
for (var C in p.params)
|
|
742
742
|
!(C in f.params) && _.indexOf(C) > -1 && (f.params[C] = p.params[C]);
|
|
743
|
-
return f.path =
|
|
743
|
+
return f.path = J(w.path, f.params, 'named route "' + g + '"'), h(w, f, l);
|
|
744
744
|
} else if (f.path) {
|
|
745
745
|
f.params = {};
|
|
746
|
-
for (var
|
|
747
|
-
var E = n[
|
|
748
|
-
if (
|
|
749
|
-
return h(
|
|
746
|
+
for (var P = 0; P < n.length; P++) {
|
|
747
|
+
var E = n[P], S = i[E];
|
|
748
|
+
if (vr(S.regex, f.path, f.params))
|
|
749
|
+
return h(S, f, l);
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
return h(null, f);
|
|
@@ -754,38 +754,38 @@ function yr(t, e) {
|
|
|
754
754
|
function d(v, p) {
|
|
755
755
|
var l = v.redirect, f = typeof l == "function" ? l(ee(v, p, null, e)) : l;
|
|
756
756
|
if (typeof f == "string" && (f = { path: f }), !f || typeof f != "object")
|
|
757
|
-
return process.env.NODE_ENV !== "production" &&
|
|
757
|
+
return process.env.NODE_ENV !== "production" && R(
|
|
758
758
|
!1,
|
|
759
759
|
"invalid redirect option: " + JSON.stringify(f)
|
|
760
760
|
), h(null, p);
|
|
761
|
-
var g = f,
|
|
762
|
-
if (C = g.hasOwnProperty("query") ? g.query : C,
|
|
763
|
-
var
|
|
764
|
-
return process.env.NODE_ENV !== "production" && q(
|
|
761
|
+
var g = f, w = g.name, _ = g.path, C = p.query, P = p.hash, E = p.params;
|
|
762
|
+
if (C = g.hasOwnProperty("query") ? g.query : C, P = g.hasOwnProperty("hash") ? g.hash : P, E = g.hasOwnProperty("params") ? g.params : E, w) {
|
|
763
|
+
var S = s[w];
|
|
764
|
+
return process.env.NODE_ENV !== "production" && q(S, 'redirect failed: named route "' + w + '" not found.'), u({
|
|
765
765
|
_normalized: !0,
|
|
766
|
-
name:
|
|
766
|
+
name: w,
|
|
767
767
|
query: C,
|
|
768
|
-
hash:
|
|
768
|
+
hash: P,
|
|
769
769
|
params: E
|
|
770
770
|
}, void 0, p);
|
|
771
771
|
} else if (_) {
|
|
772
|
-
var
|
|
772
|
+
var $ = mr(_, v), U = J($, E, 'redirect route with path "' + $ + '"');
|
|
773
773
|
return u({
|
|
774
774
|
_normalized: !0,
|
|
775
|
-
path:
|
|
775
|
+
path: U,
|
|
776
776
|
query: C,
|
|
777
|
-
hash:
|
|
777
|
+
hash: P
|
|
778
778
|
}, void 0, p);
|
|
779
779
|
} else
|
|
780
|
-
return process.env.NODE_ENV !== "production" &&
|
|
780
|
+
return process.env.NODE_ENV !== "production" && R(!1, "invalid redirect option: " + JSON.stringify(f)), h(null, p);
|
|
781
781
|
}
|
|
782
782
|
function m(v, p, l) {
|
|
783
|
-
var f =
|
|
783
|
+
var f = J(l, p.params, 'aliased route with path "' + l + '"'), g = u({
|
|
784
784
|
_normalized: !0,
|
|
785
785
|
path: f
|
|
786
786
|
});
|
|
787
787
|
if (g) {
|
|
788
|
-
var
|
|
788
|
+
var w = g.matched, _ = w[w.length - 1];
|
|
789
789
|
return p.params = g.params, h(_, p);
|
|
790
790
|
}
|
|
791
791
|
return h(null, p);
|
|
@@ -800,7 +800,7 @@ function yr(t, e) {
|
|
|
800
800
|
addRoutes: o
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function vr(t, e, r) {
|
|
804
804
|
var n = e.match(t);
|
|
805
805
|
if (n) {
|
|
806
806
|
if (!r)
|
|
@@ -809,102 +809,102 @@ function _r(t, e, r) {
|
|
|
809
809
|
return !1;
|
|
810
810
|
for (var i = 1, s = n.length; i < s; ++i) {
|
|
811
811
|
var o = t.keys[i - 1];
|
|
812
|
-
o && (r[o.name || "pathMatch"] = typeof n[i] == "string" ?
|
|
812
|
+
o && (r[o.name || "pathMatch"] = typeof n[i] == "string" ? le(n[i]) : n[i]);
|
|
813
813
|
}
|
|
814
814
|
return !0;
|
|
815
815
|
}
|
|
816
|
-
function
|
|
817
|
-
return
|
|
816
|
+
function mr(t, e) {
|
|
817
|
+
return tt(t, e.parent ? e.parent.path : "/", !0);
|
|
818
818
|
}
|
|
819
|
-
var
|
|
820
|
-
function
|
|
821
|
-
return
|
|
819
|
+
var gr = W && window.performance && window.performance.now ? window.performance : Date;
|
|
820
|
+
function ot() {
|
|
821
|
+
return gr.now().toFixed(3);
|
|
822
822
|
}
|
|
823
|
-
var
|
|
823
|
+
var at = ot();
|
|
824
824
|
function oe() {
|
|
825
|
-
return
|
|
825
|
+
return at;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
828
|
-
return
|
|
827
|
+
function ct(t) {
|
|
828
|
+
return at = t;
|
|
829
829
|
}
|
|
830
|
-
var
|
|
831
|
-
function
|
|
830
|
+
var ut = /* @__PURE__ */ Object.create(null);
|
|
831
|
+
function lt() {
|
|
832
832
|
"scrollRestoration" in window.history && (window.history.scrollRestoration = "manual");
|
|
833
|
-
var t = window.location.protocol + "//" + window.location.host, e = window.location.href.replace(t, ""), r =
|
|
834
|
-
return r.key = oe(), window.history.replaceState(r, "", e), window.addEventListener("popstate",
|
|
835
|
-
window.removeEventListener("popstate",
|
|
833
|
+
var t = window.location.protocol + "//" + window.location.host, e = window.location.href.replace(t, ""), r = k({}, window.history.state);
|
|
834
|
+
return r.key = oe(), window.history.replaceState(r, "", e), window.addEventListener("popstate", Be), function() {
|
|
835
|
+
window.removeEventListener("popstate", Be);
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
838
|
function T(t, e, r, n) {
|
|
839
839
|
if (t.app) {
|
|
840
840
|
var i = t.options.scrollBehavior;
|
|
841
841
|
i && (process.env.NODE_ENV !== "production" && q(typeof i == "function", "scrollBehavior must be a function"), t.app.$nextTick(function() {
|
|
842
|
-
var s =
|
|
842
|
+
var s = yr(), o = i.call(
|
|
843
843
|
t,
|
|
844
844
|
e,
|
|
845
845
|
r,
|
|
846
846
|
n ? s : null
|
|
847
847
|
);
|
|
848
848
|
o && (typeof o.then == "function" ? o.then(function(a) {
|
|
849
|
-
|
|
849
|
+
Ue(a, s);
|
|
850
850
|
}).catch(function(a) {
|
|
851
851
|
process.env.NODE_ENV !== "production" && q(!1, a.toString());
|
|
852
|
-
}) :
|
|
852
|
+
}) : Ue(o, s));
|
|
853
853
|
}));
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function ft() {
|
|
857
857
|
var t = oe();
|
|
858
|
-
t && (
|
|
858
|
+
t && (ut[t] = {
|
|
859
859
|
x: window.pageXOffset,
|
|
860
860
|
y: window.pageYOffset
|
|
861
861
|
});
|
|
862
862
|
}
|
|
863
|
-
function
|
|
864
|
-
|
|
863
|
+
function Be(t) {
|
|
864
|
+
ft(), t.state && t.state.key && ct(t.state.key);
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function yr() {
|
|
867
867
|
var t = oe();
|
|
868
868
|
if (t)
|
|
869
|
-
return
|
|
869
|
+
return ut[t];
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function _r(t, e) {
|
|
872
872
|
var r = document.documentElement, n = r.getBoundingClientRect(), i = t.getBoundingClientRect();
|
|
873
873
|
return {
|
|
874
874
|
x: i.left - n.left - e.x,
|
|
875
875
|
y: i.top - n.top - e.y
|
|
876
876
|
};
|
|
877
877
|
}
|
|
878
|
-
function
|
|
879
|
-
return
|
|
878
|
+
function je(t) {
|
|
879
|
+
return j(t.x) || j(t.y);
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function Me(t) {
|
|
882
882
|
return {
|
|
883
|
-
x:
|
|
884
|
-
y:
|
|
883
|
+
x: j(t.x) ? t.x : window.pageXOffset,
|
|
884
|
+
y: j(t.y) ? t.y : window.pageYOffset
|
|
885
885
|
};
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function wr(t) {
|
|
888
888
|
return {
|
|
889
|
-
x:
|
|
890
|
-
y:
|
|
889
|
+
x: j(t.x) ? t.x : 0,
|
|
890
|
+
y: j(t.y) ? t.y : 0
|
|
891
891
|
};
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function j(t) {
|
|
894
894
|
return typeof t == "number";
|
|
895
895
|
}
|
|
896
|
-
var
|
|
897
|
-
function
|
|
896
|
+
var br = /^#\d/;
|
|
897
|
+
function Ue(t, e) {
|
|
898
898
|
var r = typeof t == "object";
|
|
899
899
|
if (r && typeof t.selector == "string") {
|
|
900
|
-
var n =
|
|
900
|
+
var n = br.test(t.selector) ? document.getElementById(t.selector.slice(1)) : document.querySelector(t.selector);
|
|
901
901
|
if (n) {
|
|
902
902
|
var i = t.offset && typeof t.offset == "object" ? t.offset : {};
|
|
903
|
-
i =
|
|
903
|
+
i = wr(i), e = _r(n, i);
|
|
904
904
|
} else
|
|
905
|
-
|
|
905
|
+
je(t) && (e = Me(t));
|
|
906
906
|
} else
|
|
907
|
-
r &&
|
|
907
|
+
r && je(t) && (e = Me(t));
|
|
908
908
|
e && ("scrollBehavior" in document.documentElement.style ? window.scrollTo({
|
|
909
909
|
left: e.x,
|
|
910
910
|
top: e.y,
|
|
@@ -917,19 +917,19 @@ var A = W && function() {
|
|
|
917
917
|
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";
|
|
918
918
|
}();
|
|
919
919
|
function ie(t, e) {
|
|
920
|
-
|
|
920
|
+
ft();
|
|
921
921
|
var r = window.history;
|
|
922
922
|
try {
|
|
923
923
|
if (e) {
|
|
924
|
-
var n =
|
|
924
|
+
var n = k({}, r.state);
|
|
925
925
|
n.key = oe(), r.replaceState(n, "", t);
|
|
926
926
|
} else
|
|
927
|
-
r.pushState({ key:
|
|
927
|
+
r.pushState({ key: ct(ot()) }, "", t);
|
|
928
928
|
} catch {
|
|
929
929
|
window.location[e ? "replace" : "assign"](t);
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function pe(t) {
|
|
933
933
|
ie(t, !0);
|
|
934
934
|
}
|
|
935
935
|
var V = {
|
|
@@ -938,17 +938,17 @@ var V = {
|
|
|
938
938
|
cancelled: 8,
|
|
939
939
|
duplicated: 16
|
|
940
940
|
};
|
|
941
|
-
function
|
|
941
|
+
function Cr(t, e) {
|
|
942
942
|
return ae(
|
|
943
943
|
t,
|
|
944
944
|
e,
|
|
945
945
|
V.redirected,
|
|
946
|
-
'Redirected when going from "' + t.fullPath + '" to "' +
|
|
946
|
+
'Redirected when going from "' + t.fullPath + '" to "' + Sr(
|
|
947
947
|
e
|
|
948
948
|
) + '" via a navigation guard.'
|
|
949
949
|
);
|
|
950
950
|
}
|
|
951
|
-
function
|
|
951
|
+
function Pr(t, e) {
|
|
952
952
|
var r = ae(
|
|
953
953
|
t,
|
|
954
954
|
e,
|
|
@@ -957,7 +957,7 @@ function Sr(t, e) {
|
|
|
957
957
|
);
|
|
958
958
|
return r.name = "NavigationDuplicated", r;
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function ze(t, e) {
|
|
961
961
|
return ae(
|
|
962
962
|
t,
|
|
963
963
|
e,
|
|
@@ -965,7 +965,7 @@ function Fe(t, e) {
|
|
|
965
965
|
'Navigation cancelled from "' + t.fullPath + '" to "' + e.fullPath + '" with a new navigation.'
|
|
966
966
|
);
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function Rr(t, e) {
|
|
969
969
|
return ae(
|
|
970
970
|
t,
|
|
971
971
|
e,
|
|
@@ -977,14 +977,14 @@ function ae(t, e, r, n) {
|
|
|
977
977
|
var i = new Error(n);
|
|
978
978
|
return i._isRouter = !0, i.from = t, i.to = e, i.type = r, i;
|
|
979
979
|
}
|
|
980
|
-
var
|
|
981
|
-
function
|
|
980
|
+
var Er = ["params", "query", "hash"];
|
|
981
|
+
function Sr(t) {
|
|
982
982
|
if (typeof t == "string")
|
|
983
983
|
return t;
|
|
984
984
|
if ("path" in t)
|
|
985
985
|
return t.path;
|
|
986
986
|
var e = {};
|
|
987
|
-
return
|
|
987
|
+
return Er.forEach(function(r) {
|
|
988
988
|
r in t && (e[r] = t[r]);
|
|
989
989
|
}), JSON.stringify(e, null, 2);
|
|
990
990
|
}
|
|
@@ -994,7 +994,7 @@ function se(t) {
|
|
|
994
994
|
function ce(t, e) {
|
|
995
995
|
return se(t) && t._isRouter && (e == null || t.type === e);
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function De(t, e, r) {
|
|
998
998
|
var n = function(i) {
|
|
999
999
|
i >= t.length ? r() : t[i] ? e(t[i], function() {
|
|
1000
1000
|
n(i + 1);
|
|
@@ -1002,17 +1002,17 @@ function We(t, e, r) {
|
|
|
1002
1002
|
};
|
|
1003
1003
|
n(0);
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function kr(t) {
|
|
1006
1006
|
return function(e, r, n) {
|
|
1007
1007
|
var i = !1, s = 0, o = null;
|
|
1008
|
-
|
|
1008
|
+
ht(t, function(a, c, u, d) {
|
|
1009
1009
|
if (typeof a == "function" && a.cid === void 0) {
|
|
1010
1010
|
i = !0, s++;
|
|
1011
|
-
var m =
|
|
1012
|
-
|
|
1013
|
-
}), h =
|
|
1011
|
+
var m = Fe(function(l) {
|
|
1012
|
+
Nr(l) && (l = l.default), a.resolved = typeof l == "function" ? l : re.extend(l), u.components[d] = l, s--, s <= 0 && n();
|
|
1013
|
+
}), h = Fe(function(l) {
|
|
1014
1014
|
var f = "Failed to resolve async component " + d + ": " + l;
|
|
1015
|
-
process.env.NODE_ENV !== "production" &&
|
|
1015
|
+
process.env.NODE_ENV !== "production" && R(!1, f), o || (o = se(l) ? l : new Error(f), n(o));
|
|
1016
1016
|
}), v;
|
|
1017
1017
|
try {
|
|
1018
1018
|
v = a(m, h);
|
|
@@ -1030,8 +1030,8 @@ function $r(t) {
|
|
|
1030
1030
|
}), i || n();
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return
|
|
1033
|
+
function ht(t, e) {
|
|
1034
|
+
return pt(t.map(function(r) {
|
|
1035
1035
|
return Object.keys(r.components).map(function(n) {
|
|
1036
1036
|
return e(
|
|
1037
1037
|
r.components[n],
|
|
@@ -1042,14 +1042,14 @@ function vt(t, e) {
|
|
|
1042
1042
|
});
|
|
1043
1043
|
}));
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function pt(t) {
|
|
1046
1046
|
return Array.prototype.concat.apply([], t);
|
|
1047
1047
|
}
|
|
1048
|
-
var
|
|
1049
|
-
function
|
|
1050
|
-
return t.__esModule ||
|
|
1048
|
+
var xr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
|
|
1049
|
+
function Nr(t) {
|
|
1050
|
+
return t.__esModule || xr && t[Symbol.toStringTag] === "Module";
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function Fe(t) {
|
|
1053
1053
|
var e = !1;
|
|
1054
1054
|
return function() {
|
|
1055
1055
|
for (var r = [], n = arguments.length; n--; )
|
|
@@ -1059,7 +1059,7 @@ function He(t) {
|
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
1061
1061
|
var N = function(e, r) {
|
|
1062
|
-
this.router = e, this.base =
|
|
1062
|
+
this.router = e, this.base = $r(r), this.current = I, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = [], this.listeners = [];
|
|
1063
1063
|
};
|
|
1064
1064
|
N.prototype.listen = function(e) {
|
|
1065
1065
|
this.cb = e;
|
|
@@ -1102,45 +1102,45 @@ N.prototype.confirmTransition = function(e, r, n) {
|
|
|
1102
1102
|
var o = function(l) {
|
|
1103
1103
|
!ce(l) && se(l) && (i.errorCbs.length ? i.errorCbs.forEach(function(f) {
|
|
1104
1104
|
f(l);
|
|
1105
|
-
}) : (process.env.NODE_ENV !== "production" &&
|
|
1105
|
+
}) : (process.env.NODE_ENV !== "production" && R(!1, "uncaught error during route navigation:"), console.error(l))), n && n(l);
|
|
1106
1106
|
}, a = e.matched.length - 1, c = s.matched.length - 1;
|
|
1107
|
-
if (
|
|
1107
|
+
if (Ze(e, s) && // in the case the route map has been dynamically appended to
|
|
1108
1108
|
a === c && e.matched[a] === s.matched[c])
|
|
1109
|
-
return this.ensureURL(), e.hash && T(this.router, s, e, !1), o(
|
|
1110
|
-
var u =
|
|
1109
|
+
return this.ensureURL(), e.hash && T(this.router, s, e, !1), o(Pr(s, e));
|
|
1110
|
+
var u = Lr(
|
|
1111
1111
|
this.current.matched,
|
|
1112
1112
|
e.matched
|
|
1113
1113
|
), d = u.updated, m = u.deactivated, h = u.activated, v = [].concat(
|
|
1114
1114
|
// in-component leave guards
|
|
1115
|
-
|
|
1115
|
+
Tr(m),
|
|
1116
1116
|
// global before hooks
|
|
1117
1117
|
this.router.beforeHooks,
|
|
1118
1118
|
// in-component update hooks
|
|
1119
|
-
|
|
1119
|
+
Ar(d),
|
|
1120
1120
|
// in-config enter guards
|
|
1121
1121
|
h.map(function(l) {
|
|
1122
1122
|
return l.beforeEnter;
|
|
1123
1123
|
}),
|
|
1124
1124
|
// async components
|
|
1125
|
-
|
|
1125
|
+
kr(h)
|
|
1126
1126
|
), p = function(l, f) {
|
|
1127
1127
|
if (i.pending !== e)
|
|
1128
|
-
return o(
|
|
1128
|
+
return o(ze(s, e));
|
|
1129
1129
|
try {
|
|
1130
1130
|
l(e, s, function(g) {
|
|
1131
|
-
g === !1 ? (i.ensureURL(!0), o(
|
|
1131
|
+
g === !1 ? (i.ensureURL(!0), o(Rr(s, e))) : se(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);
|
|
1132
1132
|
});
|
|
1133
1133
|
} catch (g) {
|
|
1134
1134
|
o(g);
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
|
-
|
|
1138
|
-
var l =
|
|
1139
|
-
|
|
1137
|
+
De(v, p, function() {
|
|
1138
|
+
var l = Ir(h), f = l.concat(i.router.resolveHooks);
|
|
1139
|
+
De(f, p, function() {
|
|
1140
1140
|
if (i.pending !== e)
|
|
1141
|
-
return o(
|
|
1141
|
+
return o(ze(s, e));
|
|
1142
1142
|
i.pending = null, r(e), i.router.app && i.router.app.$nextTick(function() {
|
|
1143
|
-
|
|
1143
|
+
et(e);
|
|
1144
1144
|
});
|
|
1145
1145
|
});
|
|
1146
1146
|
});
|
|
@@ -1155,7 +1155,7 @@ N.prototype.teardown = function() {
|
|
|
1155
1155
|
e();
|
|
1156
1156
|
}), this.listeners = [], this.current = I, this.pending = null;
|
|
1157
1157
|
};
|
|
1158
|
-
function
|
|
1158
|
+
function $r(t) {
|
|
1159
1159
|
if (!t)
|
|
1160
1160
|
if (W) {
|
|
1161
1161
|
var e = document.querySelector("base");
|
|
@@ -1164,7 +1164,7 @@ function Ar(t) {
|
|
|
1164
1164
|
t = "/";
|
|
1165
1165
|
return t.charAt(0) !== "/" && (t = "/" + t), t.replace(/\/$/, "");
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Lr(t, e) {
|
|
1168
1168
|
var r, n = Math.max(t.length, e.length);
|
|
1169
1169
|
for (r = 0; r < n && t[r] === e[r]; r++)
|
|
1170
1170
|
;
|
|
@@ -1174,58 +1174,58 @@ function Ir(t, e) {
|
|
|
1174
1174
|
deactivated: t.slice(r)
|
|
1175
1175
|
};
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1178
|
-
var i =
|
|
1179
|
-
var u =
|
|
1177
|
+
function Ce(t, e, r, n) {
|
|
1178
|
+
var i = ht(t, function(s, o, a, c) {
|
|
1179
|
+
var u = Or(s, e);
|
|
1180
1180
|
if (u)
|
|
1181
1181
|
return Array.isArray(u) ? u.map(function(d) {
|
|
1182
1182
|
return r(d, o, a, c);
|
|
1183
1183
|
}) : r(u, o, a, c);
|
|
1184
1184
|
});
|
|
1185
|
-
return
|
|
1185
|
+
return pt(n ? i.reverse() : i);
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function Or(t, e) {
|
|
1188
1188
|
return typeof t != "function" && (t = re.extend(t)), t.options[e];
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1190
|
+
function Tr(t) {
|
|
1191
|
+
return Ce(t, "beforeRouteLeave", dt, !0);
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return
|
|
1193
|
+
function Ar(t) {
|
|
1194
|
+
return Ce(t, "beforeRouteUpdate", dt);
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function dt(t, e) {
|
|
1197
1197
|
if (e)
|
|
1198
1198
|
return function() {
|
|
1199
1199
|
return t.apply(e, arguments);
|
|
1200
1200
|
};
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1203
|
-
return
|
|
1202
|
+
function Ir(t) {
|
|
1203
|
+
return Ce(
|
|
1204
1204
|
t,
|
|
1205
1205
|
"beforeRouteEnter",
|
|
1206
1206
|
function(e, r, n, i) {
|
|
1207
|
-
return
|
|
1207
|
+
return qr(e, n, i);
|
|
1208
1208
|
}
|
|
1209
1209
|
);
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function qr(t, e, r) {
|
|
1212
1212
|
return function(i, s, o) {
|
|
1213
1213
|
return t(i, s, function(a) {
|
|
1214
1214
|
typeof a == "function" && (e.enteredCbs[r] || (e.enteredCbs[r] = []), e.enteredCbs[r].push(a)), o(a);
|
|
1215
1215
|
});
|
|
1216
1216
|
};
|
|
1217
1217
|
}
|
|
1218
|
-
var
|
|
1218
|
+
var vt = /* @__PURE__ */ function(t) {
|
|
1219
1219
|
function e(r, n) {
|
|
1220
|
-
t.call(this, r, n), this._startLocation =
|
|
1220
|
+
t.call(this, r, n), this._startLocation = D(this.base);
|
|
1221
1221
|
}
|
|
1222
1222
|
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
|
|
1223
1223
|
var n = this;
|
|
1224
1224
|
if (!(this.listeners.length > 0)) {
|
|
1225
1225
|
var i = this.router, s = i.options.scrollBehavior, o = A && s;
|
|
1226
|
-
o && this.listeners.push(
|
|
1226
|
+
o && this.listeners.push(lt());
|
|
1227
1227
|
var a = function() {
|
|
1228
|
-
var c = n.current, u =
|
|
1228
|
+
var c = n.current, u = D(n.base);
|
|
1229
1229
|
n.current === I && u === n._startLocation || n.transitionTo(u, function(d) {
|
|
1230
1230
|
o && T(i, d, c, !0);
|
|
1231
1231
|
});
|
|
@@ -1244,34 +1244,34 @@ var yt = /* @__PURE__ */ function(t) {
|
|
|
1244
1244
|
}, e.prototype.replace = function(n, i, s) {
|
|
1245
1245
|
var o = this, a = this, c = a.current;
|
|
1246
1246
|
this.transitionTo(n, function(u) {
|
|
1247
|
-
|
|
1247
|
+
pe(O(o.base + u.fullPath)), T(o.router, u, c, !1), i && i(u);
|
|
1248
1248
|
}, s);
|
|
1249
1249
|
}, e.prototype.ensureURL = function(n) {
|
|
1250
|
-
if (
|
|
1250
|
+
if (D(this.base) !== this.current.fullPath) {
|
|
1251
1251
|
var i = O(this.base + this.current.fullPath);
|
|
1252
|
-
n ? ie(i) :
|
|
1252
|
+
n ? ie(i) : pe(i);
|
|
1253
1253
|
}
|
|
1254
1254
|
}, e.prototype.getCurrentLocation = function() {
|
|
1255
|
-
return
|
|
1255
|
+
return D(this.base);
|
|
1256
1256
|
}, e;
|
|
1257
1257
|
}(N);
|
|
1258
|
-
function
|
|
1258
|
+
function D(t) {
|
|
1259
1259
|
var e = window.location.pathname, r = e.toLowerCase(), n = t.toLowerCase();
|
|
1260
1260
|
return t && (r === n || r.indexOf(O(n + "/")) === 0) && (e = e.slice(t.length)), (e || "/") + window.location.search + window.location.hash;
|
|
1261
1261
|
}
|
|
1262
|
-
var
|
|
1262
|
+
var mt = /* @__PURE__ */ function(t) {
|
|
1263
1263
|
function e(r, n, i) {
|
|
1264
|
-
t.call(this, r, n), !(i &&
|
|
1264
|
+
t.call(this, r, n), !(i && Vr(this.base)) && We();
|
|
1265
1265
|
}
|
|
1266
1266
|
return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
|
|
1267
1267
|
var n = this;
|
|
1268
1268
|
if (!(this.listeners.length > 0)) {
|
|
1269
1269
|
var i = this.router, s = i.options.scrollBehavior, o = A && s;
|
|
1270
|
-
o && this.listeners.push(
|
|
1270
|
+
o && this.listeners.push(lt());
|
|
1271
1271
|
var a = function() {
|
|
1272
1272
|
var u = n.current;
|
|
1273
|
-
|
|
1274
|
-
o && T(n.router, d, u, !0), A ||
|
|
1273
|
+
We() && n.transitionTo(X(), function(d) {
|
|
1274
|
+
o && T(n.router, d, u, !0), A || Y(d.fullPath);
|
|
1275
1275
|
});
|
|
1276
1276
|
}, c = A ? "popstate" : "hashchange";
|
|
1277
1277
|
window.addEventListener(
|
|
@@ -1286,7 +1286,7 @@ var _t = /* @__PURE__ */ function(t) {
|
|
|
1286
1286
|
this.transitionTo(
|
|
1287
1287
|
n,
|
|
1288
1288
|
function(u) {
|
|
1289
|
-
|
|
1289
|
+
He(u.fullPath), T(o.router, u, c, !1), i && i(u);
|
|
1290
1290
|
},
|
|
1291
1291
|
s
|
|
1292
1292
|
);
|
|
@@ -1295,7 +1295,7 @@ var _t = /* @__PURE__ */ function(t) {
|
|
|
1295
1295
|
this.transitionTo(
|
|
1296
1296
|
n,
|
|
1297
1297
|
function(u) {
|
|
1298
|
-
|
|
1298
|
+
Y(u.fullPath), T(o.router, u, c, !1), i && i(u);
|
|
1299
1299
|
},
|
|
1300
1300
|
s
|
|
1301
1301
|
);
|
|
@@ -1303,35 +1303,35 @@ var _t = /* @__PURE__ */ function(t) {
|
|
|
1303
1303
|
window.history.go(n);
|
|
1304
1304
|
}, e.prototype.ensureURL = function(n) {
|
|
1305
1305
|
var i = this.current.fullPath;
|
|
1306
|
-
|
|
1306
|
+
X() !== i && (n ? He(i) : Y(i));
|
|
1307
1307
|
}, e.prototype.getCurrentLocation = function() {
|
|
1308
|
-
return
|
|
1308
|
+
return X();
|
|
1309
1309
|
}, e;
|
|
1310
1310
|
}(N);
|
|
1311
|
-
function
|
|
1312
|
-
var e =
|
|
1311
|
+
function Vr(t) {
|
|
1312
|
+
var e = D(t);
|
|
1313
1313
|
if (!/^\/#/.test(e))
|
|
1314
1314
|
return window.location.replace(O(t + "/#" + e)), !0;
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1317
|
-
var t =
|
|
1318
|
-
return t.charAt(0) === "/" ? !0 : (
|
|
1316
|
+
function We() {
|
|
1317
|
+
var t = X();
|
|
1318
|
+
return t.charAt(0) === "/" ? !0 : (Y("/" + t), !1);
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function X() {
|
|
1321
1321
|
var t = window.location.href, e = t.indexOf("#");
|
|
1322
1322
|
return e < 0 ? "" : (t = t.slice(e + 1), t);
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function de(t) {
|
|
1325
1325
|
var e = window.location.href, r = e.indexOf("#"), n = r >= 0 ? e.slice(0, r) : e;
|
|
1326
1326
|
return n + "#" + t;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
A ? ie(
|
|
1328
|
+
function He(t) {
|
|
1329
|
+
A ? ie(de(t)) : window.location.hash = t;
|
|
1330
1330
|
}
|
|
1331
|
-
function
|
|
1332
|
-
A ? de(
|
|
1331
|
+
function Y(t) {
|
|
1332
|
+
A ? pe(de(t)) : window.location.replace(de(t));
|
|
1333
1333
|
}
|
|
1334
|
-
var
|
|
1334
|
+
var Br = /* @__PURE__ */ function(t) {
|
|
1335
1335
|
function e(r, n) {
|
|
1336
1336
|
t.call(this, r, n), this.stack = [], this.index = -1;
|
|
1337
1337
|
}
|
|
@@ -1375,30 +1375,30 @@ var zr = /* @__PURE__ */ function(t) {
|
|
|
1375
1375
|
return n ? n.fullPath : "/";
|
|
1376
1376
|
}, e.prototype.ensureURL = function() {
|
|
1377
1377
|
}, e;
|
|
1378
|
-
}(N),
|
|
1379
|
-
e === void 0 && (e = {}), process.env.NODE_ENV !== "production" &&
|
|
1378
|
+
}(N), b = function t(e) {
|
|
1379
|
+
e === void 0 && (e = {}), process.env.NODE_ENV !== "production" && R(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 = dr(e.routes || [], this);
|
|
1380
1380
|
var r = e.mode || "hash";
|
|
1381
1381
|
switch (this.fallback = r === "history" && !A && e.fallback !== !1, this.fallback && (r = "hash"), W || (r = "abstract"), this.mode = r, r) {
|
|
1382
1382
|
case "history":
|
|
1383
|
-
this.history = new
|
|
1383
|
+
this.history = new vt(this, e.base);
|
|
1384
1384
|
break;
|
|
1385
1385
|
case "hash":
|
|
1386
|
-
this.history = new
|
|
1386
|
+
this.history = new mt(this, e.base, this.fallback);
|
|
1387
1387
|
break;
|
|
1388
1388
|
case "abstract":
|
|
1389
|
-
this.history = new
|
|
1389
|
+
this.history = new Br(this, e.base);
|
|
1390
1390
|
break;
|
|
1391
1391
|
default:
|
|
1392
1392
|
process.env.NODE_ENV !== "production" && q(!1, "invalid mode: " + r);
|
|
1393
1393
|
}
|
|
1394
|
-
},
|
|
1395
|
-
|
|
1394
|
+
}, gt = { currentRoute: { configurable: !0 } };
|
|
1395
|
+
b.prototype.match = function(e, r, n) {
|
|
1396
1396
|
return this.matcher.match(e, r, n);
|
|
1397
1397
|
};
|
|
1398
|
-
|
|
1398
|
+
gt.currentRoute.get = function() {
|
|
1399
1399
|
return this.history && this.history.current;
|
|
1400
1400
|
};
|
|
1401
|
-
|
|
1401
|
+
b.prototype.init = function(e) {
|
|
1402
1402
|
var r = this;
|
|
1403
1403
|
if (process.env.NODE_ENV !== "production" && q(
|
|
1404
1404
|
ne.installed,
|
|
@@ -1409,7 +1409,7 @@ w.prototype.init = function(e) {
|
|
|
1409
1409
|
}), !this.app) {
|
|
1410
1410
|
this.app = e;
|
|
1411
1411
|
var n = this.history;
|
|
1412
|
-
if (n instanceof
|
|
1412
|
+
if (n instanceof vt || n instanceof mt) {
|
|
1413
1413
|
var i = function(o) {
|
|
1414
1414
|
var a = n.current, c = r.options.scrollBehavior, u = A && c;
|
|
1415
1415
|
u && "fullPath" in o && T(r, o, a, !1);
|
|
@@ -1429,22 +1429,22 @@ w.prototype.init = function(e) {
|
|
|
1429
1429
|
});
|
|
1430
1430
|
}
|
|
1431
1431
|
};
|
|
1432
|
-
|
|
1432
|
+
b.prototype.beforeEach = function(e) {
|
|
1433
1433
|
return Pe(this.beforeHooks, e);
|
|
1434
1434
|
};
|
|
1435
|
-
|
|
1435
|
+
b.prototype.beforeResolve = function(e) {
|
|
1436
1436
|
return Pe(this.resolveHooks, e);
|
|
1437
1437
|
};
|
|
1438
|
-
|
|
1438
|
+
b.prototype.afterEach = function(e) {
|
|
1439
1439
|
return Pe(this.afterHooks, e);
|
|
1440
1440
|
};
|
|
1441
|
-
|
|
1441
|
+
b.prototype.onReady = function(e, r) {
|
|
1442
1442
|
this.history.onReady(e, r);
|
|
1443
1443
|
};
|
|
1444
|
-
|
|
1444
|
+
b.prototype.onError = function(e) {
|
|
1445
1445
|
this.history.onError(e);
|
|
1446
1446
|
};
|
|
1447
|
-
|
|
1447
|
+
b.prototype.push = function(e, r, n) {
|
|
1448
1448
|
var i = this;
|
|
1449
1449
|
if (!r && !n && typeof Promise < "u")
|
|
1450
1450
|
return new Promise(function(s, o) {
|
|
@@ -1452,7 +1452,7 @@ w.prototype.push = function(e, r, n) {
|
|
|
1452
1452
|
});
|
|
1453
1453
|
this.history.push(e, r, n);
|
|
1454
1454
|
};
|
|
1455
|
-
|
|
1455
|
+
b.prototype.replace = function(e, r, n) {
|
|
1456
1456
|
var i = this;
|
|
1457
1457
|
if (!r && !n && typeof Promise < "u")
|
|
1458
1458
|
return new Promise(function(s, o) {
|
|
@@ -1460,16 +1460,16 @@ w.prototype.replace = function(e, r, n) {
|
|
|
1460
1460
|
});
|
|
1461
1461
|
this.history.replace(e, r, n);
|
|
1462
1462
|
};
|
|
1463
|
-
|
|
1463
|
+
b.prototype.go = function(e) {
|
|
1464
1464
|
this.history.go(e);
|
|
1465
1465
|
};
|
|
1466
|
-
|
|
1466
|
+
b.prototype.back = function() {
|
|
1467
1467
|
this.go(-1);
|
|
1468
1468
|
};
|
|
1469
|
-
|
|
1469
|
+
b.prototype.forward = function() {
|
|
1470
1470
|
this.go(1);
|
|
1471
1471
|
};
|
|
1472
|
-
|
|
1472
|
+
b.prototype.getMatchedComponents = function(e) {
|
|
1473
1473
|
var r = e ? e.matched ? e : this.resolve(e).route : this.currentRoute;
|
|
1474
1474
|
return r ? [].concat.apply(
|
|
1475
1475
|
[],
|
|
@@ -1480,9 +1480,9 @@ w.prototype.getMatchedComponents = function(e) {
|
|
|
1480
1480
|
})
|
|
1481
1481
|
) : [];
|
|
1482
1482
|
};
|
|
1483
|
-
|
|
1483
|
+
b.prototype.resolve = function(e, r, n) {
|
|
1484
1484
|
r = r || this.history.current;
|
|
1485
|
-
var i = we(e, r, n, this), s = this.match(i, r), o = s.redirectedFrom || s.fullPath, a = this.history.base, c =
|
|
1485
|
+
var i = we(e, r, n, this), s = this.match(i, r), o = s.redirectedFrom || s.fullPath, a = this.history.base, c = jr(a, o, this.mode);
|
|
1486
1486
|
return {
|
|
1487
1487
|
location: i,
|
|
1488
1488
|
route: s,
|
|
@@ -1492,82 +1492,33 @@ w.prototype.resolve = function(e, r, n) {
|
|
|
1492
1492
|
resolved: s
|
|
1493
1493
|
};
|
|
1494
1494
|
};
|
|
1495
|
-
|
|
1495
|
+
b.prototype.getRoutes = function() {
|
|
1496
1496
|
return this.matcher.getRoutes();
|
|
1497
1497
|
};
|
|
1498
|
-
|
|
1498
|
+
b.prototype.addRoute = function(e, r) {
|
|
1499
1499
|
this.matcher.addRoute(e, r), this.history.current !== I && this.history.transitionTo(this.history.getCurrentLocation());
|
|
1500
1500
|
};
|
|
1501
|
-
|
|
1502
|
-
process.env.NODE_ENV !== "production" &&
|
|
1501
|
+
b.prototype.addRoutes = function(e) {
|
|
1502
|
+
process.env.NODE_ENV !== "production" && R(!1, "router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead."), this.matcher.addRoutes(e), this.history.current !== I && this.history.transitionTo(this.history.getCurrentLocation());
|
|
1503
1503
|
};
|
|
1504
|
-
Object.defineProperties(
|
|
1504
|
+
Object.defineProperties(b.prototype, gt);
|
|
1505
1505
|
function Pe(t, e) {
|
|
1506
1506
|
return t.push(e), function() {
|
|
1507
1507
|
var r = t.indexOf(e);
|
|
1508
1508
|
r > -1 && t.splice(r, 1);
|
|
1509
1509
|
};
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function jr(t, e, r) {
|
|
1512
1512
|
var n = r === "hash" ? "#" + e : e;
|
|
1513
1513
|
return t ? O(t + "/" + n) : n;
|
|
1514
1514
|
}
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
W && window.Vue && window.Vue.use(
|
|
1521
|
-
const
|
|
1522
|
-
name: "NcLink",
|
|
1523
|
-
props: {
|
|
1524
|
-
href: {
|
|
1525
|
-
type: String,
|
|
1526
|
-
required: !0
|
|
1527
|
-
}
|
|
1528
|
-
},
|
|
1529
|
-
render(t) {
|
|
1530
|
-
return t("a", {
|
|
1531
|
-
attrs: {
|
|
1532
|
-
href: this.href,
|
|
1533
|
-
rel: "noopener noreferrer",
|
|
1534
|
-
target: "_blank",
|
|
1535
|
-
class: "rich-text--external-link"
|
|
1536
|
-
}
|
|
1537
|
-
}, [this.href.trim()]);
|
|
1538
|
-
}
|
|
1539
|
-
}, Hr = function({ autolink: t, useMarkdown: e, useExtendedMarkdown: r }) {
|
|
1540
|
-
return function(n) {
|
|
1541
|
-
r || !e || !t || Le.visit(n, (i) => i.type === "text", (i, s, o) => {
|
|
1542
|
-
let a = wt(i.value);
|
|
1543
|
-
return a = a.map((c) => typeof c == "string" ? le.u("text", c) : le.u("link", {
|
|
1544
|
-
url: c.props.href
|
|
1545
|
-
}, [le.u("text", c.props.href)])).filter((c) => c), o.children.splice(s, 1, ...a.flat()), [Le.SKIP, s + a.flat().length];
|
|
1546
|
-
});
|
|
1547
|
-
};
|
|
1548
|
-
}, wt = (t) => {
|
|
1549
|
-
let e = Ke.exec(t);
|
|
1550
|
-
const r = [];
|
|
1551
|
-
let n = 0;
|
|
1552
|
-
for (; e !== null; ) {
|
|
1553
|
-
let s = e[2], o, a = t.substring(n, e.index + e[1].length);
|
|
1554
|
-
s[0] === " " && (a += s[0], s = s.substring(1).trim());
|
|
1555
|
-
const c = s[s.length - 1];
|
|
1556
|
-
(c === "." || c === "," || c === ";" || e[0][0] === "(" && c === ")") && (s = s.substring(0, s.length - 1), o = c), r.push(a), r.push({ component: Wr, props: { href: s } }), o && r.push(o), n = e.index + e[0].length, e = Ke.exec(t);
|
|
1557
|
-
}
|
|
1558
|
-
r.push(t.substring(n));
|
|
1559
|
-
const i = r.map((s) => typeof s == "string" ? s : s.props.href).join("");
|
|
1560
|
-
return t === i ? r : (console.error("Failed to reassemble the chunked text: " + t), t);
|
|
1561
|
-
}, Ct = (t, e) => {
|
|
1562
|
-
if (!t || !e.includes(j.getBaseUrl()))
|
|
1563
|
-
return null;
|
|
1564
|
-
const r = t.getRoutes().map((n) => new RegExp(n.regex.source.slice(1, -1), n.regex.flags));
|
|
1565
|
-
for (const n of r) {
|
|
1566
|
-
const i = e.search(n);
|
|
1567
|
-
if (i !== -1)
|
|
1568
|
-
return e.slice(i);
|
|
1569
|
-
}
|
|
1570
|
-
}, Gr = {
|
|
1515
|
+
b.install = ne;
|
|
1516
|
+
b.version = "3.6.5";
|
|
1517
|
+
b.isNavigationFailure = ce;
|
|
1518
|
+
b.NavigationFailureType = V;
|
|
1519
|
+
b.START_LOCATION = I;
|
|
1520
|
+
W && window.Vue && window.Vue.use(b);
|
|
1521
|
+
const Mr = {
|
|
1571
1522
|
name: "NcReferenceWidget",
|
|
1572
1523
|
props: {
|
|
1573
1524
|
reference: {
|
|
@@ -1603,17 +1554,17 @@ const Fr = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|
|
|
|
1603
1554
|
return t ? t.startsWith("https://") ? t.substring(8) : t.startsWith("http://") ? t.substring(7) : t : "";
|
|
1604
1555
|
},
|
|
1605
1556
|
route() {
|
|
1606
|
-
return
|
|
1557
|
+
return xt.getRoute(this.$router, this.reference.openGraphObject.link);
|
|
1607
1558
|
},
|
|
1608
1559
|
referenceWidgetLinkComponent() {
|
|
1609
|
-
return this.route ?
|
|
1560
|
+
return this.route ? be : "a";
|
|
1610
1561
|
},
|
|
1611
1562
|
referenceWidgetLinkProps() {
|
|
1612
1563
|
return this.route ? { to: this.route } : { href: this.reference.openGraphObject.link, target: "_blank" };
|
|
1613
1564
|
}
|
|
1614
1565
|
},
|
|
1615
1566
|
mounted() {
|
|
1616
|
-
this.renderWidget(),
|
|
1567
|
+
this.renderWidget(), Nt.useResizeObserver(this.$el, (t) => {
|
|
1617
1568
|
t[0].contentRect.width < 450 ? this.compact = 0 : t[0].contentRect.width < 550 ? this.compact = 1 : t[0].contentRect.width < 650 ? this.compact = 2 : this.compact = 3;
|
|
1618
1569
|
});
|
|
1619
1570
|
},
|
|
@@ -1628,20 +1579,20 @@ const Fr = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|
|
|
|
1628
1579
|
}
|
|
1629
1580
|
}
|
|
1630
1581
|
};
|
|
1631
|
-
var
|
|
1582
|
+
var Ur = function() {
|
|
1632
1583
|
var e = this, r = e._self._c;
|
|
1633
1584
|
return r("div", [e.reference && e.hasCustomWidget ? r("div", { staticClass: "widget-custom" }, [r("div", { ref: "customWidget" })]) : !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()], 1);
|
|
1634
|
-
},
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1585
|
+
}, zr = [], Dr = /* @__PURE__ */ L.normalizeComponent(
|
|
1586
|
+
Mr,
|
|
1587
|
+
Ur,
|
|
1588
|
+
zr,
|
|
1638
1589
|
!1,
|
|
1639
1590
|
null,
|
|
1640
1591
|
"38b1d56a",
|
|
1641
1592
|
null,
|
|
1642
1593
|
null
|
|
1643
1594
|
);
|
|
1644
|
-
const
|
|
1595
|
+
const yt = Dr.exports, Fr = {
|
|
1645
1596
|
name: "NcCustomPickerElement",
|
|
1646
1597
|
props: {
|
|
1647
1598
|
/**
|
|
@@ -1686,61 +1637,61 @@ const Rt = Zr.exports, Jr = {
|
|
|
1686
1637
|
}
|
|
1687
1638
|
}
|
|
1688
1639
|
};
|
|
1689
|
-
var
|
|
1640
|
+
var Wr = function() {
|
|
1690
1641
|
var e = this, r = e._self._c;
|
|
1691
1642
|
return r("div", { ref: "domElement" });
|
|
1692
|
-
},
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1643
|
+
}, Hr = [], Gr = /* @__PURE__ */ L.normalizeComponent(
|
|
1644
|
+
Fr,
|
|
1645
|
+
Wr,
|
|
1646
|
+
Hr,
|
|
1696
1647
|
!1,
|
|
1697
1648
|
null,
|
|
1698
1649
|
"25f1cef8",
|
|
1699
1650
|
null,
|
|
1700
1651
|
null
|
|
1701
1652
|
);
|
|
1702
|
-
const
|
|
1653
|
+
const Qr = Gr.exports;
|
|
1703
1654
|
y.register(y.t7);
|
|
1704
|
-
const
|
|
1705
|
-
id:
|
|
1655
|
+
const Re = "any-link", _t = {
|
|
1656
|
+
id: Re,
|
|
1706
1657
|
title: y.t("Any link"),
|
|
1707
|
-
icon_url:
|
|
1658
|
+
icon_url: F.imagePath("core", "filetypes/link.svg")
|
|
1708
1659
|
};
|
|
1709
|
-
window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers =
|
|
1710
|
-
window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps =
|
|
1711
|
-
function
|
|
1712
|
-
return t ===
|
|
1660
|
+
window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = Ke.loadState("core", "reference-provider-list", []));
|
|
1661
|
+
window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = Ke.loadState("core", "reference-provider-timestamps", {}));
|
|
1662
|
+
function wt(t) {
|
|
1663
|
+
return t === Re ? _t : Ee().find((e) => e.id === t);
|
|
1713
1664
|
}
|
|
1714
|
-
function
|
|
1665
|
+
function Ee() {
|
|
1715
1666
|
return window._vue_richtext_reference_providers.filter((t) => {
|
|
1716
1667
|
const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || x.isCustomPickerElementRegistered(t.id);
|
|
1717
1668
|
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;
|
|
1718
1669
|
});
|
|
1719
1670
|
}
|
|
1720
|
-
function
|
|
1671
|
+
function bt(t) {
|
|
1721
1672
|
const e = window._vue_richtext_reference_provider_timestamps;
|
|
1722
1673
|
return t.sort((r, n) => r.order === n.order ? 0 : r.order > n.order ? 1 : -1).sort((r, n) => {
|
|
1723
1674
|
const i = e[r.id], s = e[n.id];
|
|
1724
1675
|
return i === s ? 0 : s === void 0 ? -1 : i === void 0 ? 1 : i > s ? -1 : 1;
|
|
1725
1676
|
});
|
|
1726
1677
|
}
|
|
1727
|
-
function
|
|
1728
|
-
const r =
|
|
1729
|
-
return (t === "" || a.length === 0) && a.push(
|
|
1678
|
+
function Ct(t, e = null) {
|
|
1679
|
+
const r = Ee(), n = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(n, "i"), o = bt(r).filter((c) => c.title.match(i)), a = e ? o.slice(0, e) : o;
|
|
1680
|
+
return (t === "" || a.length === 0) && a.push(_t), a;
|
|
1730
1681
|
}
|
|
1731
|
-
function
|
|
1682
|
+
function Kr(t) {
|
|
1732
1683
|
const e = Math.floor(Date.now() / 1e3), r = {
|
|
1733
1684
|
timestamp: e
|
|
1734
|
-
}, n =
|
|
1735
|
-
|
|
1685
|
+
}, n = F.generateOcsUrl("references/provider/{providerId}", { providerId: t });
|
|
1686
|
+
me.default.put(n, r).then((i) => {
|
|
1736
1687
|
window._vue_richtext_reference_provider_timestamps[t] = e;
|
|
1737
1688
|
});
|
|
1738
1689
|
}
|
|
1739
|
-
let
|
|
1740
|
-
function
|
|
1690
|
+
let Ge = 0;
|
|
1691
|
+
function Pt(t, e) {
|
|
1741
1692
|
return function() {
|
|
1742
1693
|
const r = this, n = arguments;
|
|
1743
|
-
clearTimeout(
|
|
1694
|
+
clearTimeout(Ge), Ge = setTimeout(function() {
|
|
1744
1695
|
t.apply(r, n);
|
|
1745
1696
|
}, e || 0);
|
|
1746
1697
|
};
|
|
@@ -1753,7 +1704,7 @@ function Se(t) {
|
|
|
1753
1704
|
}
|
|
1754
1705
|
}
|
|
1755
1706
|
y.register(y.t33, y.t36);
|
|
1756
|
-
const
|
|
1707
|
+
const Jr = {
|
|
1757
1708
|
name: "LinkVariantIcon",
|
|
1758
1709
|
emits: ["click"],
|
|
1759
1710
|
props: {
|
|
@@ -1770,28 +1721,28 @@ const nn = {
|
|
|
1770
1721
|
}
|
|
1771
1722
|
}
|
|
1772
1723
|
};
|
|
1773
|
-
var
|
|
1724
|
+
var Xr = function() {
|
|
1774
1725
|
var e = this, r = e._self._c;
|
|
1775
1726
|
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) {
|
|
1776
1727
|
return e.$emit("click", n);
|
|
1777
1728
|
} } }, "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()])])]);
|
|
1778
|
-
},
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1729
|
+
}, Yr = [], Zr = /* @__PURE__ */ L.normalizeComponent(
|
|
1730
|
+
Jr,
|
|
1731
|
+
Xr,
|
|
1732
|
+
Yr,
|
|
1782
1733
|
!1,
|
|
1783
1734
|
null,
|
|
1784
1735
|
null,
|
|
1785
1736
|
null,
|
|
1786
1737
|
null
|
|
1787
1738
|
);
|
|
1788
|
-
const
|
|
1739
|
+
const ke = Zr.exports, en = {
|
|
1789
1740
|
name: "NcProviderList",
|
|
1790
1741
|
components: {
|
|
1791
|
-
NcSelect:
|
|
1792
|
-
NcHighlight:
|
|
1793
|
-
NcEmptyContent:
|
|
1794
|
-
LinkVariantIcon:
|
|
1742
|
+
NcSelect: Xe.NcSelect,
|
|
1743
|
+
NcHighlight: Je.NcHighlight,
|
|
1744
|
+
NcEmptyContent: ve,
|
|
1745
|
+
LinkVariantIcon: ke
|
|
1795
1746
|
},
|
|
1796
1747
|
emits: [
|
|
1797
1748
|
"select-provider",
|
|
@@ -1812,7 +1763,7 @@ const xe = an.exports, cn = {
|
|
|
1812
1763
|
id: this.query,
|
|
1813
1764
|
title: this.query,
|
|
1814
1765
|
isLink: !0
|
|
1815
|
-
}), t.push(...
|
|
1766
|
+
}), t.push(...Ct(this.query)), t;
|
|
1816
1767
|
}
|
|
1817
1768
|
},
|
|
1818
1769
|
methods: {
|
|
@@ -1829,7 +1780,7 @@ const xe = an.exports, cn = {
|
|
|
1829
1780
|
}
|
|
1830
1781
|
}
|
|
1831
1782
|
};
|
|
1832
|
-
var
|
|
1783
|
+
var tn = function() {
|
|
1833
1784
|
var e = this, r = e._self._c;
|
|
1834
1785
|
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) {
|
|
1835
1786
|
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)];
|
|
@@ -1838,26 +1789,26 @@ var un = function() {
|
|
|
1838
1789
|
}, expression: "selectedProvider" } }), r("NcEmptyContent", { staticClass: "provider-list--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
1839
1790
|
return [r("LinkVariantIcon")];
|
|
1840
1791
|
}, proxy: !0 }]) })], 1);
|
|
1841
|
-
},
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1792
|
+
}, rn = [], nn = /* @__PURE__ */ L.normalizeComponent(
|
|
1793
|
+
en,
|
|
1794
|
+
tn,
|
|
1795
|
+
rn,
|
|
1845
1796
|
!1,
|
|
1846
1797
|
null,
|
|
1847
1798
|
"e880790e",
|
|
1848
1799
|
null,
|
|
1849
1800
|
null
|
|
1850
1801
|
);
|
|
1851
|
-
const
|
|
1802
|
+
const sn = nn.exports;
|
|
1852
1803
|
y.register(y.t20);
|
|
1853
|
-
const
|
|
1804
|
+
const on = {
|
|
1854
1805
|
name: "NcRawLinkInput",
|
|
1855
1806
|
components: {
|
|
1856
|
-
LinkVariantIcon:
|
|
1857
|
-
NcEmptyContent:
|
|
1858
|
-
NcLoadingIcon:
|
|
1859
|
-
NcReferenceWidget:
|
|
1860
|
-
NcTextField:
|
|
1807
|
+
LinkVariantIcon: ke,
|
|
1808
|
+
NcEmptyContent: ve,
|
|
1809
|
+
NcLoadingIcon: $t,
|
|
1810
|
+
NcReferenceWidget: yt,
|
|
1811
|
+
NcTextField: Lt.NcTextField
|
|
1861
1812
|
},
|
|
1862
1813
|
props: {
|
|
1863
1814
|
/**
|
|
@@ -1897,12 +1848,12 @@ const pn = {
|
|
|
1897
1848
|
this.inputValue = "", this.reference = null;
|
|
1898
1849
|
},
|
|
1899
1850
|
onInput() {
|
|
1900
|
-
this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid &&
|
|
1851
|
+
this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && Pt(() => {
|
|
1901
1852
|
this.updateReference();
|
|
1902
1853
|
}, 500)();
|
|
1903
1854
|
},
|
|
1904
1855
|
updateReference() {
|
|
1905
|
-
this.loading = !0, this.abortController = new AbortController(),
|
|
1856
|
+
this.loading = !0, this.abortController = new AbortController(), me.default.get(F.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
|
|
1906
1857
|
signal: this.abortController.signal
|
|
1907
1858
|
}).then((t) => {
|
|
1908
1859
|
this.reference = t.data.ocs.data.references[this.inputValue];
|
|
@@ -1914,7 +1865,7 @@ const pn = {
|
|
|
1914
1865
|
}
|
|
1915
1866
|
}
|
|
1916
1867
|
};
|
|
1917
|
-
var
|
|
1868
|
+
var an = function() {
|
|
1918
1869
|
var e = this, r = e._self._c;
|
|
1919
1870
|
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) {
|
|
1920
1871
|
e.inputValue = n;
|
|
@@ -1923,20 +1874,20 @@ var dn = function() {
|
|
|
1923
1874
|
} } }, [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() {
|
|
1924
1875
|
return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { src: e.provider.icon_url } }) : r("LinkVariantIcon")];
|
|
1925
1876
|
}, proxy: !0 }]) })], 1);
|
|
1926
|
-
},
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1877
|
+
}, cn = [], un = /* @__PURE__ */ L.normalizeComponent(
|
|
1878
|
+
on,
|
|
1879
|
+
an,
|
|
1880
|
+
cn,
|
|
1930
1881
|
!1,
|
|
1931
1882
|
null,
|
|
1932
1883
|
"d0ba247a",
|
|
1933
1884
|
null,
|
|
1934
1885
|
null
|
|
1935
1886
|
);
|
|
1936
|
-
const
|
|
1887
|
+
const ln = un.exports, fn = {
|
|
1937
1888
|
name: "NcSearchResult",
|
|
1938
1889
|
components: {
|
|
1939
|
-
NcHighlight:
|
|
1890
|
+
NcHighlight: Je.NcHighlight
|
|
1940
1891
|
},
|
|
1941
1892
|
props: {
|
|
1942
1893
|
/**
|
|
@@ -1956,29 +1907,29 @@ const gn = mn.exports, yn = {
|
|
|
1956
1907
|
}
|
|
1957
1908
|
}
|
|
1958
1909
|
};
|
|
1959
|
-
var
|
|
1910
|
+
var hn = function() {
|
|
1960
1911
|
var e = this, r = e._self._c;
|
|
1961
1912
|
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)])]);
|
|
1962
|
-
},
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1913
|
+
}, pn = [], dn = /* @__PURE__ */ L.normalizeComponent(
|
|
1914
|
+
fn,
|
|
1915
|
+
hn,
|
|
1916
|
+
pn,
|
|
1966
1917
|
!1,
|
|
1967
1918
|
null,
|
|
1968
1919
|
"7a394a58",
|
|
1969
1920
|
null,
|
|
1970
1921
|
null
|
|
1971
1922
|
);
|
|
1972
|
-
const
|
|
1923
|
+
const vn = dn.exports;
|
|
1973
1924
|
y.register(y.t26, y.t33, y.t34);
|
|
1974
|
-
const
|
|
1925
|
+
const Qe = 5, mn = {
|
|
1975
1926
|
name: "NcSearch",
|
|
1976
1927
|
components: {
|
|
1977
|
-
LinkVariantIcon:
|
|
1978
|
-
DotsHorizontalIcon:
|
|
1979
|
-
NcEmptyContent:
|
|
1980
|
-
NcSelect:
|
|
1981
|
-
NcSearchResult:
|
|
1928
|
+
LinkVariantIcon: ke,
|
|
1929
|
+
DotsHorizontalIcon: Ot.DotsHorizontal,
|
|
1930
|
+
NcEmptyContent: ve,
|
|
1931
|
+
NcSelect: Xe.NcSelect,
|
|
1932
|
+
NcSearchResult: vn
|
|
1982
1933
|
},
|
|
1983
1934
|
props: {
|
|
1984
1935
|
/**
|
|
@@ -2082,7 +2033,7 @@ const Je = 5, Rn = {
|
|
|
2082
2033
|
this.abortController && this.abortController.abort();
|
|
2083
2034
|
},
|
|
2084
2035
|
onSearchInput(t, e) {
|
|
2085
|
-
this.searchQuery = t,
|
|
2036
|
+
this.searchQuery = t, Pt(() => {
|
|
2086
2037
|
this.updateSearch();
|
|
2087
2038
|
}, 500)();
|
|
2088
2039
|
},
|
|
@@ -2109,8 +2060,8 @@ const Je = 5, Rn = {
|
|
|
2109
2060
|
});
|
|
2110
2061
|
},
|
|
2111
2062
|
searchOneProvider(t, e = null) {
|
|
2112
|
-
const r = e === null ?
|
|
2113
|
-
return
|
|
2063
|
+
const r = e === null ? F.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: Qe }) : F.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: Qe, cursor: e });
|
|
2064
|
+
return me.default.get(r, {
|
|
2114
2065
|
signal: this.abortController.signal
|
|
2115
2066
|
}).then((n) => {
|
|
2116
2067
|
const i = n.data.ocs.data;
|
|
@@ -2119,7 +2070,7 @@ const Je = 5, Rn = {
|
|
|
2119
2070
|
}
|
|
2120
2071
|
}
|
|
2121
2072
|
};
|
|
2122
|
-
var
|
|
2073
|
+
var gn = function() {
|
|
2123
2074
|
var e = this, r = e._self._c;
|
|
2124
2075
|
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) {
|
|
2125
2076
|
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()];
|
|
@@ -2130,28 +2081,28 @@ var Pn = function() {
|
|
|
2130
2081
|
}, expression: "selectedResult" } }), e.showEmptyContent ? r("NcEmptyContent", { staticClass: "smart-picker-search--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
2131
2082
|
return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { alt: e.providerIconAlt, src: e.provider.icon_url } }) : r("LinkVariantIcon")];
|
|
2132
2083
|
}, proxy: !0 }], null, !1, 2922132592) }) : e._e()], 1);
|
|
2133
|
-
},
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2084
|
+
}, yn = [], _n = /* @__PURE__ */ L.normalizeComponent(
|
|
2085
|
+
mn,
|
|
2086
|
+
gn,
|
|
2087
|
+
yn,
|
|
2137
2088
|
!1,
|
|
2138
2089
|
null,
|
|
2139
2090
|
"97d196f0",
|
|
2140
2091
|
null,
|
|
2141
2092
|
null
|
|
2142
2093
|
);
|
|
2143
|
-
const
|
|
2094
|
+
const Rt = _n.exports, z = {
|
|
2144
2095
|
providerList: 1,
|
|
2145
2096
|
standardLinkInput: 2,
|
|
2146
2097
|
searchInput: 3,
|
|
2147
2098
|
customElement: 4
|
|
2148
|
-
},
|
|
2099
|
+
}, wn = {
|
|
2149
2100
|
name: "NcReferencePicker",
|
|
2150
2101
|
components: {
|
|
2151
|
-
NcCustomPickerElement:
|
|
2152
|
-
NcProviderList:
|
|
2153
|
-
NcRawLinkInput:
|
|
2154
|
-
NcSearch:
|
|
2102
|
+
NcCustomPickerElement: Qr,
|
|
2103
|
+
NcProviderList: sn,
|
|
2104
|
+
NcRawLinkInput: ln,
|
|
2105
|
+
NcSearch: Rt
|
|
2155
2106
|
},
|
|
2156
2107
|
props: {
|
|
2157
2108
|
/**
|
|
@@ -2188,13 +2139,13 @@ const Nt = kn.exports, D = {
|
|
|
2188
2139
|
],
|
|
2189
2140
|
data() {
|
|
2190
2141
|
return {
|
|
2191
|
-
MODES:
|
|
2142
|
+
MODES: z,
|
|
2192
2143
|
selectedProvider: this.initialProvider
|
|
2193
2144
|
};
|
|
2194
2145
|
},
|
|
2195
2146
|
computed: {
|
|
2196
2147
|
mode() {
|
|
2197
|
-
return this.selectedProvider === null ?
|
|
2148
|
+
return this.selectedProvider === null ? z.providerList : x.isCustomPickerElementRegistered(this.selectedProvider.id) ? z.customElement : this.selectedProvider.search_providers_ids ? z.searchInput : z.standardLinkInput;
|
|
2198
2149
|
},
|
|
2199
2150
|
pickerWrapperStyle() {
|
|
2200
2151
|
return {
|
|
@@ -2231,7 +2182,7 @@ const Nt = kn.exports, D = {
|
|
|
2231
2182
|
this.$emit("cancel");
|
|
2232
2183
|
},
|
|
2233
2184
|
submitLink(t) {
|
|
2234
|
-
this.selectedProvider !== null &&
|
|
2185
|
+
this.selectedProvider !== null && Kr(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
|
|
2235
2186
|
},
|
|
2236
2187
|
deselectProvider() {
|
|
2237
2188
|
this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
|
|
@@ -2240,31 +2191,31 @@ const Nt = kn.exports, D = {
|
|
|
2240
2191
|
}
|
|
2241
2192
|
}
|
|
2242
2193
|
};
|
|
2243
|
-
var
|
|
2194
|
+
var bn = function() {
|
|
2244
2195
|
var e = this, r = e._self._c;
|
|
2245
2196
|
return r("div", { staticClass: "reference-picker", style: e.pickerWrapperStyle, attrs: { tabindex: "-1" }, on: { keydown: function(n) {
|
|
2246
2197
|
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));
|
|
2247
2198
|
} } }, [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);
|
|
2248
|
-
},
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2199
|
+
}, Cn = [], Pn = /* @__PURE__ */ L.normalizeComponent(
|
|
2200
|
+
wn,
|
|
2201
|
+
bn,
|
|
2202
|
+
Cn,
|
|
2252
2203
|
!1,
|
|
2253
2204
|
null,
|
|
2254
2205
|
"12c38c93",
|
|
2255
2206
|
null,
|
|
2256
2207
|
null
|
|
2257
2208
|
);
|
|
2258
|
-
const
|
|
2209
|
+
const Et = Pn.exports;
|
|
2259
2210
|
y.register(y.t11, y.t16);
|
|
2260
|
-
const
|
|
2211
|
+
const Rn = {
|
|
2261
2212
|
name: "NcReferencePickerModal",
|
|
2262
2213
|
components: {
|
|
2263
|
-
NcReferencePicker:
|
|
2264
|
-
NcModal:
|
|
2265
|
-
NcButton:
|
|
2266
|
-
ArrowLeftIcon:
|
|
2267
|
-
CloseIcon:
|
|
2214
|
+
NcReferencePicker: Et,
|
|
2215
|
+
NcModal: At,
|
|
2216
|
+
NcButton: Tt,
|
|
2217
|
+
ArrowLeftIcon: qt.ArrowLeft,
|
|
2218
|
+
CloseIcon: Vt.Close
|
|
2268
2219
|
},
|
|
2269
2220
|
props: {
|
|
2270
2221
|
/**
|
|
@@ -2323,7 +2274,7 @@ const $n = {
|
|
|
2323
2274
|
mounted() {
|
|
2324
2275
|
if (this.isInsideViewer) {
|
|
2325
2276
|
const t = this.$refs.modal_content;
|
|
2326
|
-
|
|
2277
|
+
It.emit("viewer:trapElements:changed", t);
|
|
2327
2278
|
}
|
|
2328
2279
|
},
|
|
2329
2280
|
methods: {
|
|
@@ -2341,29 +2292,29 @@ const $n = {
|
|
|
2341
2292
|
}
|
|
2342
2293
|
}
|
|
2343
2294
|
};
|
|
2344
|
-
var
|
|
2295
|
+
var En = function() {
|
|
2345
2296
|
var e = this, r = e._self._c;
|
|
2346
2297
|
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() {
|
|
2347
2298
|
return [r("ArrowLeftIcon")];
|
|
2348
2299
|
}, 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() {
|
|
2349
2300
|
return [r("CloseIcon")];
|
|
2350
2301
|
}, 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();
|
|
2351
|
-
},
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2302
|
+
}, Sn = [], kn = /* @__PURE__ */ L.normalizeComponent(
|
|
2303
|
+
Rn,
|
|
2304
|
+
En,
|
|
2305
|
+
Sn,
|
|
2355
2306
|
!1,
|
|
2356
2307
|
null,
|
|
2357
2308
|
"ab09ebaa",
|
|
2358
2309
|
null,
|
|
2359
2310
|
null
|
|
2360
2311
|
);
|
|
2361
|
-
const
|
|
2362
|
-
async function
|
|
2312
|
+
const St = kn.exports;
|
|
2313
|
+
async function xn(t = null, e = void 0) {
|
|
2363
2314
|
return await new Promise((r, n) => {
|
|
2364
2315
|
const i = "referencePickerModal", s = document.createElement("div");
|
|
2365
2316
|
s.id = i, document.body.append(s);
|
|
2366
|
-
const o = t === null ? null :
|
|
2317
|
+
const o = t === null ? null : wt(t) ?? null, a = jt.default.extend(St), c = new a({
|
|
2367
2318
|
propsData: {
|
|
2368
2319
|
initialProvider: o,
|
|
2369
2320
|
isInsideViewer: e
|
|
@@ -2376,18 +2327,14 @@ async function In(t = null, e = void 0) {
|
|
|
2376
2327
|
});
|
|
2377
2328
|
});
|
|
2378
2329
|
}
|
|
2379
|
-
exports.Link =
|
|
2380
|
-
exports.NcReferencePicker =
|
|
2381
|
-
exports.NcReferencePickerModal =
|
|
2382
|
-
exports.NcReferenceWidget =
|
|
2383
|
-
exports.NcSearch =
|
|
2384
|
-
exports.
|
|
2385
|
-
exports.
|
|
2386
|
-
exports.
|
|
2387
|
-
exports.
|
|
2388
|
-
exports.
|
|
2389
|
-
exports.
|
|
2390
|
-
exports.parseUrl = wt;
|
|
2391
|
-
exports.remarkAutolink = Hr;
|
|
2392
|
-
exports.searchProvider = St;
|
|
2393
|
-
exports.sortProviders = kt;
|
|
2330
|
+
exports.Link = be;
|
|
2331
|
+
exports.NcReferencePicker = Et;
|
|
2332
|
+
exports.NcReferencePickerModal = St;
|
|
2333
|
+
exports.NcReferenceWidget = yt;
|
|
2334
|
+
exports.NcSearch = Rt;
|
|
2335
|
+
exports.anyLinkProviderId = Re;
|
|
2336
|
+
exports.getLinkWithPicker = xn;
|
|
2337
|
+
exports.getProvider = wt;
|
|
2338
|
+
exports.getProviders = Ee;
|
|
2339
|
+
exports.searchProvider = Ct;
|
|
2340
|
+
exports.sortProviders = bt;
|