@nextcloud/vue 8.9.1 → 8.11.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 +46 -0
- package/README.md +4 -2
- 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 +6 -6
- package/dist/Components/NcAppNavigationList.cjs.map +1 -1
- package/dist/Components/NcAppNavigationList.mjs +8 -8
- package/dist/Components/NcAppNavigationList.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/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 +4 -4
- package/dist/Components/NcDateTimePickerNative.cjs +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.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/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-CEbgl0_n.css → NcActions-DL7ZZIjx.css} +12 -12
- package/dist/assets/{NcAppContent-Cv8rRTyy.css → NcAppContent-aWiDWWeq.css} +36 -24
- package/dist/assets/{NcAppNavigation-D2eVie5R.css → NcAppNavigation-BgGJuJPv.css} +15 -9
- package/dist/assets/{NcAppNavigationList-BGig8-Dj.css → NcAppNavigationList-CUnaMQQD.css} +4 -8
- package/dist/assets/{NcAvatar-Dkf1ypwP.css → NcAvatar-j5b9vXAH.css} +27 -27
- package/dist/assets/{NcDateTimePicker-C3D1hmlB.css → NcDateTimePicker-D8gouVII.css} +10 -10
- package/dist/assets/NcListItem--ilRNXci.css +179 -0
- package/dist/assets/{NcRelatedResourcesPanel-COW9gzml.css → NcRelatedResourcesPanel-D6K7OQFJ.css} +19 -13
- package/dist/assets/{NcRichContenteditable-CtbqXSHe.css → NcRichContenteditable-DvTdg1DO.css} +12 -12
- package/dist/assets/{NcRichText-BMe-xENJ.css → NcRichText-D2BBsB-_.css} +65 -65
- package/dist/assets/{referencePickerModal-C1KJzICb.css → referencePickerModal-DWB2ghBg.css} +19 -19
- package/dist/chunks/{GenColors-vI-bx9ZY.cjs → GenColors-BCHzPRPI.cjs} +1 -1
- package/dist/chunks/{GenColors-vI-bx9ZY.cjs.map → GenColors-BCHzPRPI.cjs.map} +1 -1
- package/dist/chunks/{GenColors-BteFtwOv.mjs → GenColors-SRrPRTFN.mjs} +1 -1
- package/dist/chunks/{GenColors-BteFtwOv.mjs.map → GenColors-SRrPRTFN.mjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-SS3PkUD2.mjs → NcActionButtonGroup-BS4fKDux.mjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-SS3PkUD2.mjs.map → NcActionButtonGroup-BS4fKDux.mjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-BdxkXNwc.cjs → NcActionButtonGroup-Dc9G34Er.cjs} +1 -1
- package/dist/chunks/{NcActionButtonGroup-BdxkXNwc.cjs.map → NcActionButtonGroup-Dc9G34Er.cjs.map} +1 -1
- package/dist/chunks/{NcActionInput-BHq3Le0q.mjs → NcActionInput-B_upGNjs.mjs} +4 -4
- package/dist/chunks/{NcActionInput-BHq3Le0q.mjs.map → NcActionInput-B_upGNjs.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-D308ZntG.cjs → NcActionInput-C6WR9W8-.cjs} +1 -1
- package/dist/chunks/{NcActionInput-D308ZntG.cjs.map → NcActionInput-C6WR9W8-.cjs.map} +1 -1
- package/dist/chunks/{NcActions-CpU9WXzM.mjs → NcActions-ClU5w8U1.mjs} +144 -85
- package/dist/chunks/NcActions-ClU5w8U1.mjs.map +1 -0
- package/dist/chunks/{NcActions-Dfkog_G0.cjs → NcActions-DL722iMU.cjs} +144 -85
- package/dist/chunks/NcActions-DL722iMU.cjs.map +1 -0
- package/dist/chunks/{NcAppContent-BDwOdxJE.mjs → NcAppContent-CZUuFw1x.mjs} +72 -38
- package/dist/chunks/NcAppContent-CZUuFw1x.mjs.map +1 -0
- package/dist/chunks/NcAppContent-CyPht0ua.cjs +256 -0
- package/dist/chunks/NcAppContent-CyPht0ua.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-C1Qe3lsk.mjs → NcAppNavigation-8_Bef_ph.mjs} +25 -23
- package/dist/chunks/NcAppNavigation-8_Bef_ph.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-C423R_m2.cjs → NcAppNavigation-BPCfq5ox.cjs} +25 -24
- package/dist/chunks/NcAppNavigation-BPCfq5ox.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationCaption-BKchbDsJ.cjs → NcAppNavigationCaption-DNugUyEL.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-BKchbDsJ.cjs.map → NcAppNavigationCaption-DNugUyEL.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-DsT6O4Hx.mjs → NcAppNavigationCaption-DZl4aJXn.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-DsT6O4Hx.mjs.map → NcAppNavigationCaption-DZl4aJXn.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-bjPcEx5D.mjs → NcAppNavigationItem-D7L6HxhH.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationItem-bjPcEx5D.mjs.map → NcAppNavigationItem-D7L6HxhH.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-CABF2T4q.cjs → NcAppNavigationItem-znyy3LU1.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationItem-CABF2T4q.cjs.map → NcAppNavigationItem-znyy3LU1.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-BHCgaCoK.mjs → NcAppNavigationNewItem-CRLPUH7B.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-BHCgaCoK.mjs.map → NcAppNavigationNewItem-CRLPUH7B.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-t45tM5u1.cjs → NcAppNavigationNewItem-DgPfNmx6.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-t45tM5u1.cjs.map → NcAppNavigationNewItem-DgPfNmx6.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-CBeUiVLk.cjs → NcAppNavigationSettings-DPb0p_eD.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-CBeUiVLk.cjs.map → NcAppNavigationSettings-DPb0p_eD.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-BQD7JA4m.mjs → NcAppNavigationSettings-EcktukV4.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-BQD7JA4m.mjs.map → NcAppNavigationSettings-EcktukV4.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-DDChOnAq.cjs → NcAppNavigationToggle-CSOgniTa.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-DDChOnAq.cjs.map → NcAppNavigationToggle-CSOgniTa.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-BZxbkhCr.mjs → NcAppNavigationToggle-DwO9-oiH.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-BZxbkhCr.mjs.map → NcAppNavigationToggle-DwO9-oiH.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-EUys9Os_.cjs → NcAppSettingsDialog-EIsS0HU9.cjs} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-EUys9Os_.cjs.map → NcAppSettingsDialog-EIsS0HU9.cjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-DeFBTD2J.mjs → NcAppSettingsDialog-fgbU_-h8.mjs} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-DeFBTD2J.mjs.map → NcAppSettingsDialog-fgbU_-h8.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-CdSvRI6l.mjs → NcAppSidebar-BbEflEtM.mjs} +3 -3
- package/dist/chunks/{NcAppSidebar-CdSvRI6l.mjs.map → NcAppSidebar-BbEflEtM.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-Du-IRmEO.cjs → NcAppSidebar-DNAgJFfm.cjs} +2 -2
- package/dist/chunks/{NcAppSidebar-Du-IRmEO.cjs.map → NcAppSidebar-DNAgJFfm.cjs.map} +1 -1
- package/dist/chunks/{NcAvatar-BEet_8fB.cjs → NcAvatar-CDeuGCns.cjs} +45 -35
- package/dist/chunks/NcAvatar-CDeuGCns.cjs.map +1 -0
- package/dist/chunks/{NcAvatar-e0M-nnF6.mjs → NcAvatar-k_VeT7Vp.mjs} +65 -54
- package/dist/chunks/NcAvatar-k_VeT7Vp.mjs.map +1 -0
- package/dist/chunks/{NcBreadcrumb-DVXsgQkE.cjs → NcBreadcrumb-6--UKRl5.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-DVXsgQkE.cjs.map → NcBreadcrumb-6--UKRl5.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-CVMyBckA.mjs → NcBreadcrumb-Yg1njNwp.mjs} +1 -1
- package/dist/chunks/{NcBreadcrumb-CVMyBckA.mjs.map → NcBreadcrumb-Yg1njNwp.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-DkgzO9f5.cjs → NcBreadcrumbs-CgSLqCmo.cjs} +1 -1
- package/dist/chunks/{NcBreadcrumbs-DkgzO9f5.cjs.map → NcBreadcrumbs-CgSLqCmo.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-DqRU0BfB.mjs → NcBreadcrumbs-DXD2Kiak.mjs} +2 -2
- package/dist/chunks/{NcBreadcrumbs-DqRU0BfB.mjs.map → NcBreadcrumbs-DXD2Kiak.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-7Yib86y3.mjs → NcCheckboxRadioSwitch-BRPYihez.mjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-7Yib86y3.mjs.map → NcCheckboxRadioSwitch-BRPYihez.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-Dt96X5bR.cjs → NcCheckboxRadioSwitch-BS2C-YSz.cjs} +2 -2
- package/dist/chunks/{NcCheckboxRadioSwitch-Dt96X5bR.cjs.map → NcCheckboxRadioSwitch-BS2C-YSz.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-C1WLneXl.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-B5QWlofX.cjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-B5QWlofX.cjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CKROuACA.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CURkxtfw.mjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CURkxtfw.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-BVqwn1Fr.cjs → NcColorPicker-D0rQKQAy.cjs} +1 -1
- package/dist/chunks/{NcColorPicker-BVqwn1Fr.cjs.map → NcColorPicker-D0rQKQAy.cjs.map} +1 -1
- package/dist/chunks/{NcColorPicker-Dkxeigs5.mjs → NcColorPicker-DNGismgl.mjs} +2 -2
- package/dist/chunks/{NcColorPicker-Dkxeigs5.mjs.map → NcColorPicker-DNGismgl.mjs.map} +1 -1
- package/dist/chunks/{NcContent-Bmeq8hLO.cjs → NcContent-BXfreK7p.cjs} +1 -1
- package/dist/chunks/{NcContent-Bmeq8hLO.cjs.map → NcContent-BXfreK7p.cjs.map} +1 -1
- package/dist/chunks/{NcContent-COIw1X7V.mjs → NcContent-DCmLP8Ly.mjs} +1 -1
- package/dist/chunks/{NcContent-COIw1X7V.mjs.map → NcContent-DCmLP8Ly.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-Cxz_n1AN.mjs → NcDashboardWidget-6UWLF9LM.mjs} +3 -3
- package/dist/chunks/{NcDashboardWidget-Cxz_n1AN.mjs.map → NcDashboardWidget-6UWLF9LM.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-DArU3jbL.cjs → NcDashboardWidget-CPXbrHii.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidget-DArU3jbL.cjs.map → NcDashboardWidget-CPXbrHii.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-BAhzcFfs.cjs → NcDashboardWidgetItem-Buh2BPAN.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-BAhzcFfs.cjs.map → NcDashboardWidgetItem-Buh2BPAN.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-BV2tuXoj.mjs → NcDashboardWidgetItem-bFGf6_R7.mjs} +2 -2
- package/dist/chunks/{NcDashboardWidgetItem-BV2tuXoj.mjs.map → NcDashboardWidgetItem-bFGf6_R7.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-Dl0XztMt.cjs → NcDateTime-DG_XAvbT.cjs} +1 -1
- package/dist/chunks/{NcDateTime-Dl0XztMt.cjs.map → NcDateTime-DG_XAvbT.cjs.map} +1 -1
- package/dist/chunks/{NcDateTime-B0oaElJX.mjs → NcDateTime-GW15p7yp.mjs} +1 -1
- package/dist/chunks/{NcDateTime-B0oaElJX.mjs.map → NcDateTime-GW15p7yp.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-fRx7dTTf.mjs → NcEmojiPicker-B34sLJKs.mjs} +4 -4
- package/dist/chunks/{NcEmojiPicker-fRx7dTTf.mjs.map → NcEmojiPicker-B34sLJKs.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-BCdoIKXJ.cjs → NcEmojiPicker-BDcdqsgr.cjs} +1 -1
- package/dist/chunks/{NcEmojiPicker-BCdoIKXJ.cjs.map → NcEmojiPicker-BDcdqsgr.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-DpgXTGmT.cjs → NcInputConfirmCancel-CVgJcgbg.cjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-DpgXTGmT.cjs.map → NcInputConfirmCancel-CVgJcgbg.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-BXZqwqY6.mjs → NcInputConfirmCancel-GFlH1B9I.mjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-BXZqwqY6.mjs.map → NcInputConfirmCancel-GFlH1B9I.mjs.map} +1 -1
- package/dist/chunks/{NcListItem-wxqWqs4s.cjs → NcListItem-BDrxkM0q.cjs} +30 -23
- package/dist/chunks/NcListItem-BDrxkM0q.cjs.map +1 -0
- package/dist/chunks/{NcListItem-C5oWvAZQ.mjs → NcListItem-rlwo19vU.mjs} +29 -22
- package/dist/chunks/NcListItem-rlwo19vU.mjs.map +1 -0
- package/dist/chunks/{NcListItemIcon-WH9TUCxb.mjs → NcListItemIcon-Bwl8bKaY.mjs} +1 -1
- package/dist/chunks/{NcListItemIcon-WH9TUCxb.mjs.map → NcListItemIcon-Bwl8bKaY.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-DfdkSCin.cjs → NcListItemIcon-D_cwlGhm.cjs} +1 -1
- package/dist/chunks/{NcListItemIcon-DfdkSCin.cjs.map → NcListItemIcon-D_cwlGhm.cjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-BPAivxc_.mjs → NcPasswordField-D91QgkSR.mjs} +1 -1
- package/dist/chunks/{NcPasswordField-BPAivxc_.mjs.map → NcPasswordField-D91QgkSR.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-BgNcvN0V.cjs → NcPasswordField-EDrr_9PG.cjs} +1 -1
- package/dist/chunks/{NcPasswordField-BgNcvN0V.cjs.map → NcPasswordField-EDrr_9PG.cjs.map} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel-Cp8Au2iI.cjs → NcRelatedResourcesPanel-DDL8rJnB.cjs} +4 -4
- package/dist/chunks/NcRelatedResourcesPanel-DDL8rJnB.cjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-LTNqJecS.mjs → NcRelatedResourcesPanel-DaLcC_9H.mjs} +8 -8
- package/dist/chunks/NcRelatedResourcesPanel-DaLcC_9H.mjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-CHggLQuR.mjs → NcRichContenteditable-CaeNwWTC.mjs} +35 -26
- package/dist/chunks/NcRichContenteditable-CaeNwWTC.mjs.map +1 -0
- package/dist/chunks/{NcRichContenteditable-hT5m_2tr.cjs → NcRichContenteditable-DjUF2Kzl.cjs} +41 -32
- package/dist/chunks/NcRichContenteditable-DjUF2Kzl.cjs.map +1 -0
- package/dist/chunks/{NcRichText-BBXbh0Hh.mjs → NcRichText-DVnS4C_H.mjs} +45 -29
- package/dist/chunks/NcRichText-DVnS4C_H.mjs.map +1 -0
- package/dist/chunks/{NcRichText-BWX8BLVh.cjs → NcRichText-D_p79y2S.cjs} +35 -19
- package/dist/chunks/NcRichText-D_p79y2S.cjs.map +1 -0
- package/dist/chunks/{NcSelect-DjTSAsNL.cjs → NcSelect-BVCCppX6.cjs} +1 -1
- package/dist/chunks/{NcSelect-DjTSAsNL.cjs.map → NcSelect-BVCCppX6.cjs.map} +1 -1
- package/dist/chunks/{NcSelect-BVmjiQFa.mjs → NcSelect-BjojUUy7.mjs} +2 -2
- package/dist/chunks/{NcSelect-BVmjiQFa.mjs.map → NcSelect-BjojUUy7.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-Ccv-eQzZ.mjs → NcSelectTags-CIa3RL2u.mjs} +2 -2
- package/dist/chunks/{NcSelectTags-Ccv-eQzZ.mjs.map → NcSelectTags-CIa3RL2u.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-BJvxyO8E.cjs → NcSelectTags-b_FdAE_d.cjs} +1 -1
- package/dist/chunks/{NcSelectTags-BJvxyO8E.cjs.map → NcSelectTags-b_FdAE_d.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-DXxmqvcd.mjs → NcSettingsInputText-BESxHP0m.mjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-DXxmqvcd.mjs.map → NcSettingsInputText-BESxHP0m.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-CcO2Du6E.cjs → NcSettingsInputText-D_wATSbL.cjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-CcO2Du6E.cjs.map → NcSettingsInputText-D_wATSbL.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-DBe4fKFA.mjs → NcSettingsSection-BzN6JXnV.mjs} +1 -1
- package/dist/chunks/{NcSettingsSection-DBe4fKFA.mjs.map → NcSettingsSection-BzN6JXnV.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-qgIYSB_M.cjs → NcSettingsSection-TG0j5-kd.cjs} +1 -1
- package/dist/chunks/{NcSettingsSection-qgIYSB_M.cjs.map → NcSettingsSection-TG0j5-kd.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-d2TLOW1O.mjs → NcSettingsSelectGroup-BRov--RO.mjs} +2 -2
- package/dist/chunks/{NcSettingsSelectGroup-d2TLOW1O.mjs.map → NcSettingsSelectGroup-BRov--RO.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-DD8PEgvQ.cjs → NcSettingsSelectGroup-JJ4LZALf.cjs} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-DD8PEgvQ.cjs.map → NcSettingsSelectGroup-JJ4LZALf.cjs.map} +1 -1
- package/dist/chunks/{NcTextField-CU-YIhL3.mjs → NcTextField-BPGi70PD.mjs} +1 -1
- package/dist/chunks/{NcTextField-CU-YIhL3.mjs.map → NcTextField-BPGi70PD.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-CsnzlYWD.cjs → NcTextField-DgzR5_48.cjs} +1 -1
- package/dist/chunks/{NcTextField-CsnzlYWD.cjs.map → NcTextField-DgzR5_48.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-C-Ci2IuC.cjs → NcTimezonePicker-8ZYdOp_g.cjs} +1 -1
- package/dist/chunks/{NcTimezonePicker-C-Ci2IuC.cjs.map → NcTimezonePicker-8ZYdOp_g.cjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker-gvp9MAcg.mjs → NcTimezonePicker-jCKohlic.mjs} +2 -2
- package/dist/chunks/{NcTimezonePicker-gvp9MAcg.mjs.map → NcTimezonePicker-jCKohlic.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-COhpp9l_.cjs → NcUserBubble-Bfph5VfL.cjs} +1 -1
- package/dist/chunks/{NcUserBubble-COhpp9l_.cjs.map → NcUserBubble-Bfph5VfL.cjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-CbufscPi.mjs → NcUserBubble-DwKN1aRa.mjs} +1 -1
- package/dist/chunks/{NcUserBubble-CbufscPi.mjs.map → NcUserBubble-DwKN1aRa.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-0SGYQL9L.mjs → NcUserStatusIcon-Blep5GZX.mjs} +9 -9
- package/dist/chunks/NcUserStatusIcon-Blep5GZX.mjs.map +1 -0
- package/dist/chunks/{NcUserStatusIcon-C7dfcW39.cjs → NcUserStatusIcon-Bu_nFfO_.cjs} +4 -4
- package/dist/chunks/NcUserStatusIcon-Bu_nFfO_.cjs.map +1 -0
- package/dist/chunks/{ScopeComponent-DXQGLon_.cjs → ScopeComponent-BiLZtJeb.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-DXQGLon_.cjs.map → ScopeComponent-BiLZtJeb.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-DFDrMcn0.mjs → ScopeComponent-CGJeYf1D.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-DFDrMcn0.mjs.map → ScopeComponent-CGJeYf1D.mjs.map} +1 -1
- package/dist/chunks/{_l10n-B986q8RC.cjs → _l10n-BG5lXDmm.cjs} +3 -3
- package/dist/chunks/_l10n-BG5lXDmm.cjs.map +1 -0
- package/dist/chunks/{_l10n-D8Scz3mH.mjs → _l10n-Cj65IvRp.mjs} +3 -3
- package/dist/chunks/_l10n-Cj65IvRp.mjs.map +1 -0
- package/dist/chunks/{index-DYXjj9ET.mjs → index-BAVa4G2v.mjs} +31 -31
- package/dist/chunks/index-BAVa4G2v.mjs.map +1 -0
- package/dist/chunks/{index-CIsMzBte.cjs → index-CVsxVZon.cjs} +19 -19
- package/dist/chunks/index-CVsxVZon.cjs.map +1 -0
- package/dist/chunks/{referencePickerModal-DUhJWt2e.mjs → referencePickerModal-ChgMFkNu.mjs} +443 -437
- package/dist/chunks/referencePickerModal-ChgMFkNu.mjs.map +1 -0
- package/dist/chunks/{referencePickerModal-DV7-XzCc.cjs → referencePickerModal-DRZH-El6.cjs} +343 -337
- package/dist/chunks/referencePickerModal-DRZH-El6.cjs.map +1 -0
- package/dist/chunks/{usernameToColor-DibvD_OP.cjs → usernameToColor-BG9PjZRM.cjs} +1 -1
- package/dist/chunks/{usernameToColor-DibvD_OP.cjs.map → usernameToColor-BG9PjZRM.cjs.map} +1 -1
- package/dist/chunks/{usernameToColor-iYF-oKTP.mjs → usernameToColor-DrnKFnLP.mjs} +1 -1
- package/dist/chunks/{usernameToColor-iYF-oKTP.mjs.map → usernameToColor-DrnKFnLP.mjs.map} +1 -1
- package/dist/index.cjs +8 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +45 -45
- package/package.json +1 -1
- package/dist/assets/NcListItem-vwt4bCl6.css +0 -165
- package/dist/chunks/NcActions-CpU9WXzM.mjs.map +0 -1
- package/dist/chunks/NcActions-Dfkog_G0.cjs.map +0 -1
- package/dist/chunks/NcAppContent-BDwOdxJE.mjs.map +0 -1
- package/dist/chunks/NcAppContent-kqYjKpzU.cjs +0 -222
- package/dist/chunks/NcAppContent-kqYjKpzU.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-C1Qe3lsk.mjs.map +0 -1
- package/dist/chunks/NcAppNavigation-C423R_m2.cjs.map +0 -1
- package/dist/chunks/NcAvatar-BEet_8fB.cjs.map +0 -1
- package/dist/chunks/NcAvatar-e0M-nnF6.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-C1WLneXl.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CKROuACA.mjs.map +0 -1
- package/dist/chunks/NcListItem-C5oWvAZQ.mjs.map +0 -1
- package/dist/chunks/NcListItem-wxqWqs4s.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-Cp8Au2iI.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-LTNqJecS.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-CHggLQuR.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-hT5m_2tr.cjs.map +0 -1
- package/dist/chunks/NcRichText-BBXbh0Hh.mjs.map +0 -1
- package/dist/chunks/NcRichText-BWX8BLVh.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-0SGYQL9L.mjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-C7dfcW39.cjs.map +0 -1
- package/dist/chunks/_l10n-B986q8RC.cjs.map +0 -1
- package/dist/chunks/_l10n-D8Scz3mH.mjs.map +0 -1
- package/dist/chunks/index-CIsMzBte.cjs.map +0 -1
- package/dist/chunks/index-DYXjj9ET.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-DUhJWt2e.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-DV7-XzCc.cjs.map +0 -1
|
@@ -1,36 +1,46 @@
|
|
|
1
|
-
import '../assets/NcAppContent-
|
|
2
|
-
import
|
|
3
|
-
import { r
|
|
1
|
+
import '../assets/NcAppContent-aWiDWWeq.css';
|
|
2
|
+
import p from "../Components/NcButton.mjs";
|
|
3
|
+
import { r, y as c, a as u } from "./_l10n-Cj65IvRp.mjs";
|
|
4
4
|
import "../Directives/Tooltip.mjs";
|
|
5
5
|
import { emit as a } from "@nextcloud/event-bus";
|
|
6
|
-
import { A as
|
|
6
|
+
import { A as h } from "./ArrowRight-C3BxTDjF.mjs";
|
|
7
|
+
import { useIsMobile as l } from "../Composables/useIsMobile.mjs";
|
|
7
8
|
import { n as o } from "./_plugin-vue2_normalizer-Bj5bLKV4.mjs";
|
|
8
|
-
import { VTooltip as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { useSwipe as d } from "@vueuse/core";
|
|
9
|
+
import { VTooltip as f } from "floating-vue";
|
|
10
|
+
import { getBuilder as d } from "@nextcloud/browser-storage";
|
|
11
|
+
import { useSwipe as g } from "@vueuse/core";
|
|
12
12
|
import { Pane as m, Splitpanes as _ } from "splitpanes";
|
|
13
13
|
import "splitpanes/dist/splitpanes.css";
|
|
14
|
-
|
|
14
|
+
r(c);
|
|
15
15
|
const z = {
|
|
16
16
|
name: "NcAppDetailsToggle",
|
|
17
17
|
directives: {
|
|
18
|
-
tooltip:
|
|
18
|
+
tooltip: f
|
|
19
19
|
},
|
|
20
20
|
components: {
|
|
21
|
-
NcButton:
|
|
22
|
-
ArrowRight:
|
|
21
|
+
NcButton: p,
|
|
22
|
+
ArrowRight: h
|
|
23
|
+
},
|
|
24
|
+
setup() {
|
|
25
|
+
return {
|
|
26
|
+
isMobile: l()
|
|
27
|
+
};
|
|
23
28
|
},
|
|
24
29
|
computed: {
|
|
25
30
|
title() {
|
|
26
|
-
return
|
|
31
|
+
return u("Go back to the list");
|
|
27
32
|
}
|
|
28
33
|
},
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
watch: {
|
|
35
|
+
isMobile: {
|
|
36
|
+
immediate: !0,
|
|
37
|
+
handler() {
|
|
38
|
+
this.toggleAppNavigationButton(this.isMobile);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
31
41
|
},
|
|
32
42
|
beforeDestroy() {
|
|
33
|
-
this.toggleAppNavigationButton(!1);
|
|
43
|
+
this.isMobile && this.toggleAppNavigationButton(!1);
|
|
34
44
|
},
|
|
35
45
|
methods: {
|
|
36
46
|
toggleAppNavigationButton(e = !0) {
|
|
@@ -41,7 +51,7 @@ const z = {
|
|
|
41
51
|
};
|
|
42
52
|
var S = function() {
|
|
43
53
|
var t = this, i = t._self._c;
|
|
44
|
-
return i("NcButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.title, expression: "title" }], staticClass: "app-details-toggle", attrs: { "aria-label": t.title }, scopedSlots: t._u([{ key: "icon", fn: function() {
|
|
54
|
+
return i("NcButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.title, expression: "title" }], staticClass: "app-details-toggle", class: { "app-details-toggle--mobile": t.isMobile }, attrs: { type: "tertiary", "aria-label": t.title }, scopedSlots: t._u([{ key: "icon", fn: function() {
|
|
45
55
|
return [i("ArrowRight", { attrs: { size: 20 } })];
|
|
46
56
|
}, proxy: !0 }]) });
|
|
47
57
|
}, v = [], w = /* @__PURE__ */ o(
|
|
@@ -50,14 +60,14 @@ var S = function() {
|
|
|
50
60
|
v,
|
|
51
61
|
!1,
|
|
52
62
|
null,
|
|
53
|
-
"
|
|
63
|
+
"7e250fb8",
|
|
54
64
|
null,
|
|
55
65
|
null
|
|
56
66
|
);
|
|
57
|
-
const
|
|
67
|
+
const y = w.exports, n = d("nextcloud").persist().build(), b = {
|
|
58
68
|
name: "NcAppContent",
|
|
59
69
|
components: {
|
|
60
|
-
NcAppDetailsToggle:
|
|
70
|
+
NcAppDetailsToggle: y,
|
|
61
71
|
Pane: m,
|
|
62
72
|
Splitpanes: _
|
|
63
73
|
},
|
|
@@ -70,7 +80,8 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
70
80
|
default: !0
|
|
71
81
|
},
|
|
72
82
|
/**
|
|
73
|
-
* Allows you to set the default width of the resizable list in %
|
|
83
|
+
* Allows you to set the default width of the resizable list in % on vertical-split
|
|
84
|
+
* Allows you to set the default height of the resizable list in % on horizontal-split
|
|
74
85
|
* Must be between listMinWidth and listMaxWidth
|
|
75
86
|
*/
|
|
76
87
|
listSize: {
|
|
@@ -78,14 +89,16 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
78
89
|
default: 20
|
|
79
90
|
},
|
|
80
91
|
/**
|
|
81
|
-
* Allows you to set the minimum width of the list column in %
|
|
92
|
+
* Allows you to set the minimum width of the list column in % on vertical-split
|
|
93
|
+
* Allows you to set the minimum height of the list column in % on horizontal-split
|
|
82
94
|
*/
|
|
83
95
|
listMinWidth: {
|
|
84
96
|
type: Number,
|
|
85
97
|
default: 15
|
|
86
98
|
},
|
|
87
99
|
/**
|
|
88
|
-
* Allows you to set the maximum width of the list column in %
|
|
100
|
+
* Allows you to set the maximum width of the list column in % on vertical-split
|
|
101
|
+
* Allows you to set the maximum height of the list column in % on horizontal-split
|
|
89
102
|
*/
|
|
90
103
|
listMaxWidth: {
|
|
91
104
|
type: Number,
|
|
@@ -116,6 +129,20 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
116
129
|
pageHeading: {
|
|
117
130
|
type: String,
|
|
118
131
|
default: null
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* Content layout used when there is a list together with content:
|
|
135
|
+
* - `vertical-split` - a 2-column layout with list and default content separated vertically
|
|
136
|
+
* - `no-split` - a single column layout; List is shown when `showDetails` is `false`, otherwise the default slot content is shown with a back button to return to the list.
|
|
137
|
+
* - 'horizontal-split' - a 2-column layout with list and default content separated horizontally
|
|
138
|
+
* On mobile screen `no-split` layout is forced.
|
|
139
|
+
*/
|
|
140
|
+
layout: {
|
|
141
|
+
type: String,
|
|
142
|
+
default: "vertical-split",
|
|
143
|
+
validator(e) {
|
|
144
|
+
return ["no-split", "vertical-split", "horizontal-split"].includes(e);
|
|
145
|
+
}
|
|
119
146
|
}
|
|
120
147
|
},
|
|
121
148
|
emits: [
|
|
@@ -124,13 +151,14 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
124
151
|
],
|
|
125
152
|
setup() {
|
|
126
153
|
return {
|
|
127
|
-
isMobile:
|
|
154
|
+
isMobile: l()
|
|
128
155
|
};
|
|
129
156
|
},
|
|
130
157
|
data() {
|
|
131
158
|
return {
|
|
132
159
|
contentHeight: 0,
|
|
133
160
|
hasList: !1,
|
|
161
|
+
hasContent: !1,
|
|
134
162
|
swiping: {},
|
|
135
163
|
listPaneSize: this.restorePaneConfig()
|
|
136
164
|
};
|
|
@@ -166,12 +194,12 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
166
194
|
}
|
|
167
195
|
},
|
|
168
196
|
updated() {
|
|
169
|
-
this.
|
|
197
|
+
this.checkSlots();
|
|
170
198
|
},
|
|
171
199
|
mounted() {
|
|
172
|
-
this.allowSwipeNavigation && (this.swiping =
|
|
200
|
+
this.allowSwipeNavigation && (this.swiping = g(this.$el, {
|
|
173
201
|
onSwipeEnd: this.handleSwipe
|
|
174
|
-
})), this.
|
|
202
|
+
})), this.checkSlots(), this.restorePaneConfig();
|
|
175
203
|
},
|
|
176
204
|
methods: {
|
|
177
205
|
/**
|
|
@@ -192,9 +220,8 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
192
220
|
n.setItem(this.paneConfigID, JSON.stringify(t)), this.listPaneSize = t, this.$emit("resize:list", { size: t }), console.debug("AppContent pane config", t);
|
|
193
221
|
},
|
|
194
222
|
// $slots is not reactive, we need to update this manually
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
this.hasList !== e && (this.hasList = e);
|
|
223
|
+
checkSlots() {
|
|
224
|
+
this.hasList = !!this.$scopedSlots.list, this.hasContent = !!this.$scopedSlots.default;
|
|
198
225
|
},
|
|
199
226
|
// browserStorage is not reactive, we need to update this manually
|
|
200
227
|
restorePaneConfig() {
|
|
@@ -210,22 +237,29 @@ const C = w.exports, n = g("nextcloud").persist().build(), N = {
|
|
|
210
237
|
}
|
|
211
238
|
}
|
|
212
239
|
};
|
|
213
|
-
var
|
|
240
|
+
var C = function() {
|
|
214
241
|
var t = this, i = t._self._c;
|
|
215
|
-
return i("main", { staticClass: "app-content no-snapper", class: { "app-content--has-list": t.hasList }, attrs: { id: "app-content-vue" } }, [t.pageHeading ? i("h1", { staticClass: "hidden-visually" }, [t._v(" " + t._s(t.pageHeading) + " ")]) : t._e(), t.hasList ? [t.isMobile ? i("div", { staticClass: "app-content-wrapper app-content-wrapper--
|
|
242
|
+
return i("main", { staticClass: "app-content no-snapper", class: { "app-content--has-list": t.hasList }, attrs: { id: "app-content-vue" } }, [t.pageHeading ? i("h1", { staticClass: "hidden-visually" }, [t._v(" " + t._s(t.pageHeading) + " ")]) : t._e(), t.hasList ? [t.isMobile || t.layout === "no-split" ? i("div", { staticClass: "app-content-wrapper app-content-wrapper--no-split", class: {
|
|
243
|
+
"app-content-wrapper--show-details": t.showDetails,
|
|
244
|
+
"app-content-wrapper--show-list": !t.showDetails,
|
|
245
|
+
"app-content-wrapper--mobile": t.isMobile
|
|
246
|
+
} }, [t.showDetails ? i("NcAppDetailsToggle", { nativeOn: { click: function(s) {
|
|
216
247
|
return s.stopPropagation(), s.preventDefault(), t.hideDetails.apply(null, arguments);
|
|
217
|
-
} } }) : t._e(), t._t("
|
|
218
|
-
|
|
219
|
-
|
|
248
|
+
} } }) : t._e(), t.showDetails ? t._t("default") : t._t("list")], 2) : t.layout === "vertical-split" || t.layout === "horizontal-split" ? i("div", { staticClass: "app-content-wrapper" }, [i("Splitpanes", { staticClass: "default-theme", class: {
|
|
249
|
+
"splitpanes--horizontal": t.layout === "horizontal-split",
|
|
250
|
+
"splitpanes--vertical": t.layout === "vertical-split"
|
|
251
|
+
}, attrs: { horizontal: t.layout === "horizontal-split" }, on: { resized: t.handlePaneResize } }, [i("Pane", { staticClass: "splitpanes__pane-list", attrs: { size: t.listPaneSize || t.paneDefaults.list.size, "min-size": t.paneDefaults.list.min, "max-size": t.paneDefaults.list.max } }, [t._t("list")], 2), i("Pane", { staticClass: "splitpanes__pane-details", attrs: { size: t.detailsPaneSize, "min-size": t.paneDefaults.details.min, "max-size": t.paneDefaults.details.max } }, [t._t("default")], 2)], 1)], 1) : t._e()] : t._e(), t.hasList ? t._e() : t._t("default")], 2);
|
|
252
|
+
}, D = [], N = /* @__PURE__ */ o(
|
|
253
|
+
b,
|
|
254
|
+
C,
|
|
220
255
|
D,
|
|
221
|
-
y,
|
|
222
256
|
!1,
|
|
223
257
|
null,
|
|
224
|
-
"
|
|
258
|
+
"a284c47e",
|
|
225
259
|
null,
|
|
226
260
|
null
|
|
227
261
|
);
|
|
228
|
-
const H =
|
|
262
|
+
const H = N.exports;
|
|
229
263
|
export {
|
|
230
264
|
H as N
|
|
231
265
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NcAppContent-CZUuFw1x.mjs","sources":["../../src/components/NcAppContent/NcAppDetailsToggle.vue","../../src/components/NcAppContent/NcAppContent.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2021 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<template>\n\t<NcButton v-tooltip=\"title\"\n\t\ttype=\"tertiary\"\n\t\t:aria-label=\"title\"\n\t\tclass=\"app-details-toggle\"\n\t\t:class=\"{ 'app-details-toggle--mobile': isMobile }\">\n\t\t<template #icon>\n\t\t\t<ArrowRight :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport { t } from '../../l10n.js'\nimport Tooltip from '../../directives/Tooltip/index.js'\n\nimport { emit } from '@nextcloud/event-bus'\n\nimport ArrowRight from 'vue-material-design-icons/ArrowRight.vue'\nimport { useIsMobile } from '../../composables/useIsMobile/index.js'\n\nexport default {\n\tname: 'NcAppDetailsToggle',\n\n\tdirectives: {\n\t\ttooltip: Tooltip,\n\t},\n\n\tcomponents: {\n\t\tNcButton,\n\t\tArrowRight,\n\t},\n\tsetup() {\n\t\treturn {\n\t\t\tisMobile: useIsMobile(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\ttitle() {\n\t\t\treturn t('Go back to the list')\n\t\t},\n\t},\n\twatch: {\n\t\tisMobile: {\n\t\t\timmediate: true,\n\t\t\thandler() {\n\t\t\t\tthis.toggleAppNavigationButton(this.isMobile)\n\t\t\t},\n\t\t},\n\t},\n\n\tbeforeDestroy() {\n\t\tif (this.isMobile) {\n\t\t\tthis.toggleAppNavigationButton(false)\n\t\t}\n\t},\n\n\tmethods: {\n\t\ttoggleAppNavigationButton(hide = true) {\n\t\t\tconst appNavigationToggle = document.querySelector('.app-navigation .app-navigation-toggle')\n\t\t\tif (appNavigationToggle) {\n\t\t\t\tappNavigationToggle.style.display = hide ? 'none' : null\n\n\t\t\t\t// If we hide the NavigationToggle, we need to make sure the Navigation is also closed\n\t\t\t\tif (hide === true) {\n\t\t\t\t\temit('toggle-navigation', { open: false })\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.app-details-toggle {\n\tposition: sticky;\n\twidth: $clickable-area;\n\theight: $clickable-area;\n\tpadding: $icon-margin;\n\tcursor: pointer;\n\topacity: .6;\n\ttransform: rotate(180deg);\n\tbackground-color: var(--color-main-background);\n\tz-index: 2000;\n\n\ttop: var(--app-navigation-padding);\n\t// Navigation Toggle button width + 2 paddings around\n\tleft: calc(var(--default-clickable-area) + var(--app-navigation-padding) * 2);\n\t&--mobile {\n\t\t// There is no NavigationToggle button\n\t\tleft: var(--app-navigation-padding);\n\t}\n\n\t&:active,\n\t&:hover,\n\t&:focus {\n\t\topacity: 1;\n\t}\n}\n\n</style>\n","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n<docs>\n### General description\n\nThis components provides a wrapper around the main app's content.\n\nSingle-column layouts can just use the default slot. A resizable column\ncan be added by providing content to the named slot `list`.\n\n### CSS variables\nIn the css section some css variables are declared and will be available for\nall the children of the NcAppContent component\n\n### Examples\n\n#### Usage: Single-column content\n```vue\n<template>\n\t<NcAppContent>\n\t\t<h2>Single-column main content</h2>\n\t</NcAppContent>\n</template>\n```\n\n#### Usage: Two resizable columns\n```vue\n<template>\n\t<NcAppContent>\n\t\t<template #list>\n\t\t\t<div>Resizable list content</div>\n\t\t</template>\n\n\t\t<div>Main content</div>\n\t</NcAppContent>\n</template>\n```\n\n#### Overriding Defaults\nThe default, min and max sizes (in percent) of the resizable list column can be overridden.\nThe list size must be between the min and the max width value.\n\n```\n<NcAppContent\n\t:list-size=\"35\"\n\t:list-min-width=\"20\"\n\t:list-max-width=\"45\"\n>...</NcAppContent>\n```\n</docs>\n\n<template>\n\t<main id=\"app-content-vue\" class=\"app-content no-snapper\" :class=\"{ 'app-content--has-list': hasList }\">\n\t\t<h1 v-if=\"pageHeading\" class=\"hidden-visually\">\n\t\t\t{{ pageHeading }}\n\t\t</h1>\n\n\t\t<template v-if=\"hasList\">\n\t\t\t<!-- Mobile view does not allow resizeable panes -->\n\t\t\t<div v-if=\"isMobile || layout === 'no-split'\"\n\t\t\t\tclass=\"app-content-wrapper app-content-wrapper--no-split\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'app-content-wrapper--show-details': showDetails,\n\t\t\t\t\t'app-content-wrapper--show-list': !showDetails,\n\t\t\t\t\t'app-content-wrapper--mobile': isMobile,}\">\n\t\t\t\t<NcAppDetailsToggle v-if=\"showDetails\" @click.native.stop.prevent=\"hideDetails\" />\n\t\t\t\t<slot v-if=\"!showDetails\" name=\"list\" />\n\n\t\t\t\t<slot v-else />\n\t\t\t</div>\n\t\t\t<div v-else-if=\"layout === 'vertical-split' || layout === 'horizontal-split'\" class=\"app-content-wrapper\">\n\t\t\t\t<Splitpanes :horizontal=\"layout === 'horizontal-split'\"\n\t\t\t\t\tclass=\"default-theme\"\n\t\t\t\t\t:class=\"{ 'splitpanes--horizontal': layout === 'horizontal-split',\n\t\t\t\t\t\t'splitpanes--vertical': layout === 'vertical-split'\n\t\t\t\t\t}\"\n\t\t\t\t\t@resized=\"handlePaneResize\">\n\t\t\t\t\t<Pane class=\"splitpanes__pane-list\"\n\t\t\t\t\t\t:size=\"listPaneSize || paneDefaults.list.size\"\n\t\t\t\t\t\t:min-size=\"paneDefaults.list.min\"\n\t\t\t\t\t\t:max-size=\"paneDefaults.list.max\">\n\t\t\t\t\t\t<!-- @slot Provide a list to the app content -->\n\t\t\t\t\t\t<slot name=\"list\" />\n\t\t\t\t\t</Pane>\n\n\t\t\t\t\t<Pane class=\"splitpanes__pane-details\"\n\t\t\t\t\t\t:size=\"detailsPaneSize\"\n\t\t\t\t\t\t:min-size=\"paneDefaults.details.min\"\n\t\t\t\t\t\t:max-size=\"paneDefaults.details.max\">\n\t\t\t\t\t\t<!-- @slot Provide the main content to the app content -->\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</Pane>\n\t\t\t\t</Splitpanes>\n\t\t\t</div>\n\t\t</template>\n\t\t<!-- @slot Provide the main content to the app content -->\n\t\t<slot v-if=\"!hasList\" />\n\t</main>\n</template>\n\n<script>\nimport NcAppDetailsToggle from './NcAppDetailsToggle.vue'\nimport { useIsMobile } from '../../composables/useIsMobile/index.js'\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { useSwipe } from '@vueuse/core'\nimport { Splitpanes, Pane } from 'splitpanes'\n\nimport 'splitpanes/dist/splitpanes.css'\nimport { emit } from '@nextcloud/event-bus'\n\nconst browserStorage = getBuilder('nextcloud').persist().build()\n\n/**\n * App content container to be used for the main content of your app\n *\n */\nexport default {\n\tname: 'NcAppContent',\n\n\tcomponents: {\n\t\tNcAppDetailsToggle,\n\t\tPane,\n\t\tSplitpanes,\n\t},\n\tprops: {\n\t\t/**\n\t\t * Allows to disable the control by swipe of the app navigation open state\n\t\t */\n\t\tallowSwipeNavigation: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\n\t\t/**\n\t\t * Allows you to set the default width of the resizable list in % on vertical-split\n\t\t * Allows you to set the default height of the resizable list in % on horizontal-split\n\t\t * Must be between listMinWidth and listMaxWidth\n\t\t */\n\t\tlistSize: {\n\t\t\ttype: Number,\n\t\t\tdefault: 20,\n\t\t},\n\n\t\t/**\n\t\t * Allows you to set the minimum width of the list column in % on vertical-split\n\t\t * Allows you to set the minimum height of the list column in % on horizontal-split\n\t\t */\n\t\tlistMinWidth: {\n\t\t\ttype: Number,\n\t\t\tdefault: 15,\n\t\t},\n\n\t\t/**\n\t\t * Allows you to set the maximum width of the list column in % on vertical-split\n\t\t * Allows you to set the maximum height of the list column in % on horizontal-split\n\t\t */\n\t\tlistMaxWidth: {\n\t\t\ttype: Number,\n\t\t\tdefault: 40,\n\t\t},\n\n\t\t/**\n\t\t * Specify the config key for the pane config sizes\n\t\t * Default is the global var appName if you use the webpack-vue-config\n\t\t */\n\t\tpaneConfigKey: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * When in mobile view, only the list or the details are shown\n\t\t * If you provide a list, you need to provide a variable\n\t\t * that will be set to true by the user when an element of\n\t\t * the list gets selected. The details will then show a back\n\t\t * arrow to return to the list that will update this prop to false.\n\t\t */\n\t\tshowDetails: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\n\t\t/**\n\t\t * Specify the `<h1>` page heading\n\t\t */\n\t\tpageHeading: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Content layout used when there is a list together with content:\n\t\t * - `vertical-split` - a 2-column layout with list and default content separated vertically\n\t\t * - `no-split` - a single column layout; List is shown when `showDetails` is `false`, otherwise the default slot content is shown with a back button to return to the list.\n\t\t * - 'horizontal-split' - a 2-column layout with list and default content separated horizontally\n\t\t * On mobile screen `no-split` layout is forced.\n\t\t */\n\t\tlayout: {\n\t\t\ttype: String,\n\t\t\tdefault: 'vertical-split',\n\t\t\tvalidator(value) {\n\t\t\t\treturn ['no-split', 'vertical-split', 'horizontal-split'].includes(value)\n\t\t\t},\n\t\t},\n\t},\n\n\temits: [\n\t\t'update:showDetails',\n\t\t'resize:list',\n\t],\n\n\tsetup() {\n\t\treturn {\n\t\t\tisMobile: useIsMobile(),\n\t\t}\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tcontentHeight: 0,\n\t\t\thasList: false,\n\t\t\thasContent: false,\n\t\t\tswiping: {},\n\t\t\tlistPaneSize: this.restorePaneConfig(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tpaneConfigID() {\n\t\t\t// If provided, let's use it\n\t\t\tif (this.paneConfigKey !== '') {\n\t\t\t\treturn `pane-list-size-${this.paneConfigKey}`\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\t// Using the webpack-vue-config, appName is a global variable\n\t\t\t\t// This will throw a ReferenceError when the global variable is missing\n\t\t\t\t// In that case either you provide paneConfigKey or else it fallback\n\t\t\t\t// to a global storage key\n\t\t\t\treturn `pane-list-size-${appName}`\n\t\t\t} catch (e) {\n\t\t\t\tconsole.info('[INFO] AppContent:', 'falling back to global nextcloud pane config')\n\t\t\t\treturn 'pane-list-size-nextcloud'\n\t\t\t}\n\t\t},\n\n\t\tdetailsPaneSize() {\n\t\t\tif (this.listPaneSize) {\n\t\t\t\treturn 100 - this.listPaneSize\n\t\t\t}\n\t\t\treturn this.paneDefaults.details.size\n\t\t},\n\n\t\tpaneDefaults() {\n\t\t\treturn {\n\t\t\t\tlist: {\n\t\t\t\t\tsize: this.listSize,\n\t\t\t\t\tmin: this.listMinWidth,\n\t\t\t\t\tmax: this.listMaxWidth,\n\t\t\t\t},\n\n\t\t\t\t// set the inverse values of the details column\n\t\t\t\t// based on the provided (or default) values of the list column\n\t\t\t\tdetails: {\n\t\t\t\t\tsize: 100 - this.listSize,\n\t\t\t\t\tmin: 100 - this.listMaxWidth,\n\t\t\t\t\tmax: 100 - this.listMinWidth,\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t},\n\n\tupdated() {\n\t\tthis.checkSlots()\n\t},\n\n\tmounted() {\n\t\tif (this.allowSwipeNavigation) {\n\t\t\tthis.swiping = useSwipe(this.$el, {\n\t\t\t\tonSwipeEnd: this.handleSwipe,\n\t\t\t})\n\t\t}\n\n\t\tthis.checkSlots()\n\t\tthis.restorePaneConfig()\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * handle the swipe event\n\t\t *\n\t\t * @param {TouchEvent} e The touch event\n\t\t * @param {import('@vueuse/core').SwipeDirection} direction The swipe direction of the event\n\t\t */\n\t\thandleSwipe(e, direction) {\n\t\t\tconst minSwipeX = 70\n\t\t\tconst touchZone = 300\n\t\t\tif (Math.abs(this.swiping.lengthX) > minSwipeX) {\n\t\t\t\tif (this.swiping.coordsStart.x < (touchZone / 2) && direction === 'right') {\n\t\t\t\t\temit('toggle-navigation', {\n\t\t\t\t\t\topen: true,\n\t\t\t\t\t})\n\t\t\t\t} else if (this.swiping.coordsStart.x < touchZone * 1.5 && direction === 'left') {\n\t\t\t\t\temit('toggle-navigation', {\n\t\t\t\t\t\topen: false,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\thandlePaneResize(event) {\n\t\t\tconst listPaneSize = parseInt(event[0].size, 10)\n\t\t\tbrowserStorage.setItem(this.paneConfigID, JSON.stringify(listPaneSize))\n\t\t\tthis.listPaneSize = listPaneSize\n\t\t\t/**\n\t\t\t * Emitted when the list pane is resized by the user\n\t\t\t */\n\t\t\tthis.$emit('resize:list', { size: listPaneSize })\n\t\t\tconsole.debug('AppContent pane config', listPaneSize)\n\t\t},\n\n\t\t// $slots is not reactive, we need to update this manually\n\t\tcheckSlots() {\n\t\t\tthis.hasList = !!this.$scopedSlots.list\n\t\t\tthis.hasContent = !!this.$scopedSlots.default\n\t\t},\n\n\t\t// browserStorage is not reactive, we need to update this manually\n\t\trestorePaneConfig() {\n\t\t\tconst listPaneSize = parseInt(browserStorage.getItem(this.paneConfigID), 10)\n\t\t\tif (!isNaN(listPaneSize) && listPaneSize !== this.listPaneSize) {\n\t\t\t\tconsole.debug('AppContent pane config', listPaneSize)\n\t\t\t\tthis.listPaneSize = listPaneSize\n\t\t\t\treturn listPaneSize\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * The user clicked the back arrow from the details view\n\t\t */\n\t\thideDetails() {\n\t\t\tthis.$emit('update:showDetails', false)\n\t\t},\n\t},\n}\n</script>\n<style lang=\"scss\" scoped>\n\n.app-content {\n\tposition: initial;\n\tz-index: 1000;\n\tflex-basis: 100vw;\n\theight: 100%;\n\t// Overriding server styles TODO: cleanup!\n\tmargin: 0 !important;\n\tbackground-color: var(--color-main-background);\n\tmin-width: 0;\n\n\t&:not(.app-content--has-list) {\n\t\toverflow: auto;\n\t}\n}\n\n.app-content-wrapper {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n// Mobile list/details handling\n.app-content-wrapper--no-split {\n\t&.app-content-wrapper--show-list :deep() {\n\t\t.app-content-list {\n\t\t\tdisplay: flex;\n\t\t}\n\t\t.app-content-details {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\t&.app-content-wrapper--show-details :deep() {\n\t\t.app-content-list {\n\t\t\tdisplay: none;\n\t\t}\n\t\t.app-content-details {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n\n:deep(.splitpanes.default-theme) {\n\t.app-content-list {\n\t\tmax-width: none;\n\t\t/* Thin scrollbar is hard to catch on resizable columns */\n\t\tscrollbar-width: auto;\n\t}\n\n\t.splitpanes__pane {\n\t\tbackground-color: transparent;\n\t\ttransition: none;\n\n\t\t&-list {\n\t\t\tmin-width: 300px;\n\t\t\tposition: sticky;\n\n\t\t\t@media only screen and (width < $breakpoint-mobile) {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\n\t\t&-details {\n\t\t\toverflow-y: auto;\n\n\t\t\t@media only screen and (width < $breakpoint-mobile) {\n\t\t\t\tmin-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\t.app-content-wrapper--vertical-split {\n\t\t.splitpanes__splitter {\n\t\t\twidth: 9px;\n\t\t\tmargin-left: -5px;\n\t\t\tbackground-color: transparent;\n\t\t\tborder-left: none;\n\n\t\t\t&:before,\n\t\t\t&:after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\t.app-content-wrapper--horizontal-split {\n\t\t.splitpanes__splitter {\n\t\t\theight: 9px;\n\t\t\tmargin-top: -5px;\n\t\t}\n\t}\n}\n\n.app-content-wrapper--show-list {\n\t:deep(.app-content-list) {\n\t\tmax-width: none;\n\t}\n}\n</style>\n"],"names":["_sfc_main","Tooltip","NcButton","ArrowRight","useIsMobile","t","hide","appNavigationToggle","emit","browserStorage","getBuilder","NcAppDetailsToggle","Pane","Splitpanes","value","useSwipe","direction","event","listPaneSize"],"mappings":";;;;;;;;;;;;;AA4CA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AA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A,cAAA;AACA,WAAA,MAAA,sBAAA,EAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
require('../assets/NcAppContent-aWiDWWeq.css');
|
|
2
|
+
"use strict";
|
|
3
|
+
const u = require("../Components/NcButton.cjs"), a = require("./_l10n-BG5lXDmm.cjs");
|
|
4
|
+
require("../Directives/Tooltip.cjs");
|
|
5
|
+
const n = require("@nextcloud/event-bus"), c = require("./ArrowRight-CxzzJJQ6.cjs"), p = require("../Composables/useIsMobile.cjs"), r = require("./_plugin-vue2_normalizer-GXKvuwrq.cjs"), h = require("floating-vue"), g = require("@nextcloud/browser-storage"), d = require("@vueuse/core"), l = require("splitpanes");
|
|
6
|
+
require("splitpanes/dist/splitpanes.css");
|
|
7
|
+
a.register(a.t24);
|
|
8
|
+
const f = {
|
|
9
|
+
name: "NcAppDetailsToggle",
|
|
10
|
+
directives: {
|
|
11
|
+
tooltip: h.VTooltip
|
|
12
|
+
},
|
|
13
|
+
components: {
|
|
14
|
+
NcButton: u,
|
|
15
|
+
ArrowRight: c.ArrowRight
|
|
16
|
+
},
|
|
17
|
+
setup() {
|
|
18
|
+
return {
|
|
19
|
+
isMobile: p.useIsMobile()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
computed: {
|
|
23
|
+
title() {
|
|
24
|
+
return a.t("Go back to the list");
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
watch: {
|
|
28
|
+
isMobile: {
|
|
29
|
+
immediate: !0,
|
|
30
|
+
handler() {
|
|
31
|
+
this.toggleAppNavigationButton(this.isMobile);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
beforeDestroy() {
|
|
36
|
+
this.isMobile && this.toggleAppNavigationButton(!1);
|
|
37
|
+
},
|
|
38
|
+
methods: {
|
|
39
|
+
toggleAppNavigationButton(e = !0) {
|
|
40
|
+
const t = document.querySelector(".app-navigation .app-navigation-toggle");
|
|
41
|
+
t && (t.style.display = e ? "none" : null, e === !0 && n.emit("toggle-navigation", { open: !1 }));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var m = function() {
|
|
46
|
+
var t = this, i = t._self._c;
|
|
47
|
+
return i("NcButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.title, expression: "title" }], staticClass: "app-details-toggle", class: { "app-details-toggle--mobile": t.isMobile }, attrs: { type: "tertiary", "aria-label": t.title }, scopedSlots: t._u([{ key: "icon", fn: function() {
|
|
48
|
+
return [i("ArrowRight", { attrs: { size: 20 } })];
|
|
49
|
+
}, proxy: !0 }]) });
|
|
50
|
+
}, _ = [], z = /* @__PURE__ */ r.normalizeComponent(
|
|
51
|
+
f,
|
|
52
|
+
m,
|
|
53
|
+
_,
|
|
54
|
+
!1,
|
|
55
|
+
null,
|
|
56
|
+
"7e250fb8",
|
|
57
|
+
null,
|
|
58
|
+
null
|
|
59
|
+
);
|
|
60
|
+
const S = z.exports, o = g.getBuilder("nextcloud").persist().build(), v = {
|
|
61
|
+
name: "NcAppContent",
|
|
62
|
+
components: {
|
|
63
|
+
NcAppDetailsToggle: S,
|
|
64
|
+
Pane: l.Pane,
|
|
65
|
+
Splitpanes: l.Splitpanes
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
/**
|
|
69
|
+
* Allows to disable the control by swipe of the app navigation open state
|
|
70
|
+
*/
|
|
71
|
+
allowSwipeNavigation: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: !0
|
|
74
|
+
},
|
|
75
|
+
/**
|
|
76
|
+
* Allows you to set the default width of the resizable list in % on vertical-split
|
|
77
|
+
* Allows you to set the default height of the resizable list in % on horizontal-split
|
|
78
|
+
* Must be between listMinWidth and listMaxWidth
|
|
79
|
+
*/
|
|
80
|
+
listSize: {
|
|
81
|
+
type: Number,
|
|
82
|
+
default: 20
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Allows you to set the minimum width of the list column in % on vertical-split
|
|
86
|
+
* Allows you to set the minimum height of the list column in % on horizontal-split
|
|
87
|
+
*/
|
|
88
|
+
listMinWidth: {
|
|
89
|
+
type: Number,
|
|
90
|
+
default: 15
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* Allows you to set the maximum width of the list column in % on vertical-split
|
|
94
|
+
* Allows you to set the maximum height of the list column in % on horizontal-split
|
|
95
|
+
*/
|
|
96
|
+
listMaxWidth: {
|
|
97
|
+
type: Number,
|
|
98
|
+
default: 40
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
* Specify the config key for the pane config sizes
|
|
102
|
+
* Default is the global var appName if you use the webpack-vue-config
|
|
103
|
+
*/
|
|
104
|
+
paneConfigKey: {
|
|
105
|
+
type: String,
|
|
106
|
+
default: ""
|
|
107
|
+
},
|
|
108
|
+
/**
|
|
109
|
+
* When in mobile view, only the list or the details are shown
|
|
110
|
+
* If you provide a list, you need to provide a variable
|
|
111
|
+
* that will be set to true by the user when an element of
|
|
112
|
+
* the list gets selected. The details will then show a back
|
|
113
|
+
* arrow to return to the list that will update this prop to false.
|
|
114
|
+
*/
|
|
115
|
+
showDetails: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: !0
|
|
118
|
+
},
|
|
119
|
+
/**
|
|
120
|
+
* Specify the `<h1>` page heading
|
|
121
|
+
*/
|
|
122
|
+
pageHeading: {
|
|
123
|
+
type: String,
|
|
124
|
+
default: null
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
* Content layout used when there is a list together with content:
|
|
128
|
+
* - `vertical-split` - a 2-column layout with list and default content separated vertically
|
|
129
|
+
* - `no-split` - a single column layout; List is shown when `showDetails` is `false`, otherwise the default slot content is shown with a back button to return to the list.
|
|
130
|
+
* - 'horizontal-split' - a 2-column layout with list and default content separated horizontally
|
|
131
|
+
* On mobile screen `no-split` layout is forced.
|
|
132
|
+
*/
|
|
133
|
+
layout: {
|
|
134
|
+
type: String,
|
|
135
|
+
default: "vertical-split",
|
|
136
|
+
validator(e) {
|
|
137
|
+
return ["no-split", "vertical-split", "horizontal-split"].includes(e);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
emits: [
|
|
142
|
+
"update:showDetails",
|
|
143
|
+
"resize:list"
|
|
144
|
+
],
|
|
145
|
+
setup() {
|
|
146
|
+
return {
|
|
147
|
+
isMobile: p.useIsMobile()
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
data() {
|
|
151
|
+
return {
|
|
152
|
+
contentHeight: 0,
|
|
153
|
+
hasList: !1,
|
|
154
|
+
hasContent: !1,
|
|
155
|
+
swiping: {},
|
|
156
|
+
listPaneSize: this.restorePaneConfig()
|
|
157
|
+
};
|
|
158
|
+
},
|
|
159
|
+
computed: {
|
|
160
|
+
paneConfigID() {
|
|
161
|
+
if (this.paneConfigKey !== "")
|
|
162
|
+
return "pane-list-size-".concat(this.paneConfigKey);
|
|
163
|
+
try {
|
|
164
|
+
return "pane-list-size-".concat(appName);
|
|
165
|
+
} catch {
|
|
166
|
+
return console.info("[INFO] AppContent:", "falling back to global nextcloud pane config"), "pane-list-size-nextcloud";
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
detailsPaneSize() {
|
|
170
|
+
return this.listPaneSize ? 100 - this.listPaneSize : this.paneDefaults.details.size;
|
|
171
|
+
},
|
|
172
|
+
paneDefaults() {
|
|
173
|
+
return {
|
|
174
|
+
list: {
|
|
175
|
+
size: this.listSize,
|
|
176
|
+
min: this.listMinWidth,
|
|
177
|
+
max: this.listMaxWidth
|
|
178
|
+
},
|
|
179
|
+
// set the inverse values of the details column
|
|
180
|
+
// based on the provided (or default) values of the list column
|
|
181
|
+
details: {
|
|
182
|
+
size: 100 - this.listSize,
|
|
183
|
+
min: 100 - this.listMaxWidth,
|
|
184
|
+
max: 100 - this.listMinWidth
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
updated() {
|
|
190
|
+
this.checkSlots();
|
|
191
|
+
},
|
|
192
|
+
mounted() {
|
|
193
|
+
this.allowSwipeNavigation && (this.swiping = d.useSwipe(this.$el, {
|
|
194
|
+
onSwipeEnd: this.handleSwipe
|
|
195
|
+
})), this.checkSlots(), this.restorePaneConfig();
|
|
196
|
+
},
|
|
197
|
+
methods: {
|
|
198
|
+
/**
|
|
199
|
+
* handle the swipe event
|
|
200
|
+
*
|
|
201
|
+
* @param {TouchEvent} e The touch event
|
|
202
|
+
* @param {import('@vueuse/core').SwipeDirection} direction The swipe direction of the event
|
|
203
|
+
*/
|
|
204
|
+
handleSwipe(e, t) {
|
|
205
|
+
Math.abs(this.swiping.lengthX) > 70 && (this.swiping.coordsStart.x < 300 / 2 && t === "right" ? n.emit("toggle-navigation", {
|
|
206
|
+
open: !0
|
|
207
|
+
}) : this.swiping.coordsStart.x < 300 * 1.5 && t === "left" && n.emit("toggle-navigation", {
|
|
208
|
+
open: !1
|
|
209
|
+
}));
|
|
210
|
+
},
|
|
211
|
+
handlePaneResize(e) {
|
|
212
|
+
const t = parseInt(e[0].size, 10);
|
|
213
|
+
o.setItem(this.paneConfigID, JSON.stringify(t)), this.listPaneSize = t, this.$emit("resize:list", { size: t }), console.debug("AppContent pane config", t);
|
|
214
|
+
},
|
|
215
|
+
// $slots is not reactive, we need to update this manually
|
|
216
|
+
checkSlots() {
|
|
217
|
+
this.hasList = !!this.$scopedSlots.list, this.hasContent = !!this.$scopedSlots.default;
|
|
218
|
+
},
|
|
219
|
+
// browserStorage is not reactive, we need to update this manually
|
|
220
|
+
restorePaneConfig() {
|
|
221
|
+
const e = parseInt(o.getItem(this.paneConfigID), 10);
|
|
222
|
+
if (!isNaN(e) && e !== this.listPaneSize)
|
|
223
|
+
return console.debug("AppContent pane config", e), this.listPaneSize = e, e;
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
* The user clicked the back arrow from the details view
|
|
227
|
+
*/
|
|
228
|
+
hideDetails() {
|
|
229
|
+
this.$emit("update:showDetails", !1);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
var w = function() {
|
|
234
|
+
var t = this, i = t._self._c;
|
|
235
|
+
return i("main", { staticClass: "app-content no-snapper", class: { "app-content--has-list": t.hasList }, attrs: { id: "app-content-vue" } }, [t.pageHeading ? i("h1", { staticClass: "hidden-visually" }, [t._v(" " + t._s(t.pageHeading) + " ")]) : t._e(), t.hasList ? [t.isMobile || t.layout === "no-split" ? i("div", { staticClass: "app-content-wrapper app-content-wrapper--no-split", class: {
|
|
236
|
+
"app-content-wrapper--show-details": t.showDetails,
|
|
237
|
+
"app-content-wrapper--show-list": !t.showDetails,
|
|
238
|
+
"app-content-wrapper--mobile": t.isMobile
|
|
239
|
+
} }, [t.showDetails ? i("NcAppDetailsToggle", { nativeOn: { click: function(s) {
|
|
240
|
+
return s.stopPropagation(), s.preventDefault(), t.hideDetails.apply(null, arguments);
|
|
241
|
+
} } }) : t._e(), t.showDetails ? t._t("default") : t._t("list")], 2) : t.layout === "vertical-split" || t.layout === "horizontal-split" ? i("div", { staticClass: "app-content-wrapper" }, [i("Splitpanes", { staticClass: "default-theme", class: {
|
|
242
|
+
"splitpanes--horizontal": t.layout === "horizontal-split",
|
|
243
|
+
"splitpanes--vertical": t.layout === "vertical-split"
|
|
244
|
+
}, attrs: { horizontal: t.layout === "horizontal-split" }, on: { resized: t.handlePaneResize } }, [i("Pane", { staticClass: "splitpanes__pane-list", attrs: { size: t.listPaneSize || t.paneDefaults.list.size, "min-size": t.paneDefaults.list.min, "max-size": t.paneDefaults.list.max } }, [t._t("list")], 2), i("Pane", { staticClass: "splitpanes__pane-details", attrs: { size: t.detailsPaneSize, "min-size": t.paneDefaults.details.min, "max-size": t.paneDefaults.details.max } }, [t._t("default")], 2)], 1)], 1) : t._e()] : t._e(), t.hasList ? t._e() : t._t("default")], 2);
|
|
245
|
+
}, y = [], b = /* @__PURE__ */ r.normalizeComponent(
|
|
246
|
+
v,
|
|
247
|
+
w,
|
|
248
|
+
y,
|
|
249
|
+
!1,
|
|
250
|
+
null,
|
|
251
|
+
"a284c47e",
|
|
252
|
+
null,
|
|
253
|
+
null
|
|
254
|
+
);
|
|
255
|
+
const C = b.exports;
|
|
256
|
+
exports.NcAppContent = C;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NcAppContent-CyPht0ua.cjs","sources":["../../src/components/NcAppContent/NcAppDetailsToggle.vue","../../src/components/NcAppContent/NcAppContent.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2021 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<template>\n\t<NcButton v-tooltip=\"title\"\n\t\ttype=\"tertiary\"\n\t\t:aria-label=\"title\"\n\t\tclass=\"app-details-toggle\"\n\t\t:class=\"{ 'app-details-toggle--mobile': isMobile }\">\n\t\t<template #icon>\n\t\t\t<ArrowRight :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport { t } from '../../l10n.js'\nimport Tooltip from '../../directives/Tooltip/index.js'\n\nimport { emit } from '@nextcloud/event-bus'\n\nimport ArrowRight from 'vue-material-design-icons/ArrowRight.vue'\nimport { useIsMobile } from '../../composables/useIsMobile/index.js'\n\nexport default {\n\tname: 'NcAppDetailsToggle',\n\n\tdirectives: {\n\t\ttooltip: Tooltip,\n\t},\n\n\tcomponents: {\n\t\tNcButton,\n\t\tArrowRight,\n\t},\n\tsetup() {\n\t\treturn {\n\t\t\tisMobile: useIsMobile(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\ttitle() {\n\t\t\treturn t('Go back to the list')\n\t\t},\n\t},\n\twatch: {\n\t\tisMobile: {\n\t\t\timmediate: true,\n\t\t\thandler() {\n\t\t\t\tthis.toggleAppNavigationButton(this.isMobile)\n\t\t\t},\n\t\t},\n\t},\n\n\tbeforeDestroy() {\n\t\tif (this.isMobile) {\n\t\t\tthis.toggleAppNavigationButton(false)\n\t\t}\n\t},\n\n\tmethods: {\n\t\ttoggleAppNavigationButton(hide = true) {\n\t\t\tconst appNavigationToggle = document.querySelector('.app-navigation .app-navigation-toggle')\n\t\t\tif (appNavigationToggle) {\n\t\t\t\tappNavigationToggle.style.display = hide ? 'none' : null\n\n\t\t\t\t// If we hide the NavigationToggle, we need to make sure the Navigation is also closed\n\t\t\t\tif (hide === true) {\n\t\t\t\t\temit('toggle-navigation', { open: false })\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.app-details-toggle {\n\tposition: sticky;\n\twidth: $clickable-area;\n\theight: $clickable-area;\n\tpadding: $icon-margin;\n\tcursor: pointer;\n\topacity: .6;\n\ttransform: rotate(180deg);\n\tbackground-color: var(--color-main-background);\n\tz-index: 2000;\n\n\ttop: var(--app-navigation-padding);\n\t// Navigation Toggle button width + 2 paddings around\n\tleft: calc(var(--default-clickable-area) + var(--app-navigation-padding) * 2);\n\t&--mobile {\n\t\t// There is no NavigationToggle button\n\t\tleft: var(--app-navigation-padding);\n\t}\n\n\t&:active,\n\t&:hover,\n\t&:focus {\n\t\topacity: 1;\n\t}\n}\n\n</style>\n","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n<docs>\n### General description\n\nThis components provides a wrapper around the main app's content.\n\nSingle-column layouts can just use the default slot. A resizable column\ncan be added by providing content to the named slot `list`.\n\n### CSS variables\nIn the css section some css variables are declared and will be available for\nall the children of the NcAppContent component\n\n### Examples\n\n#### Usage: Single-column content\n```vue\n<template>\n\t<NcAppContent>\n\t\t<h2>Single-column main content</h2>\n\t</NcAppContent>\n</template>\n```\n\n#### Usage: Two resizable columns\n```vue\n<template>\n\t<NcAppContent>\n\t\t<template #list>\n\t\t\t<div>Resizable list content</div>\n\t\t</template>\n\n\t\t<div>Main content</div>\n\t</NcAppContent>\n</template>\n```\n\n#### Overriding Defaults\nThe default, min and max sizes (in percent) of the resizable list column can be overridden.\nThe list size must be between the min and the max width value.\n\n```\n<NcAppContent\n\t:list-size=\"35\"\n\t:list-min-width=\"20\"\n\t:list-max-width=\"45\"\n>...</NcAppContent>\n```\n</docs>\n\n<template>\n\t<main id=\"app-content-vue\" class=\"app-content no-snapper\" :class=\"{ 'app-content--has-list': hasList }\">\n\t\t<h1 v-if=\"pageHeading\" class=\"hidden-visually\">\n\t\t\t{{ pageHeading }}\n\t\t</h1>\n\n\t\t<template v-if=\"hasList\">\n\t\t\t<!-- Mobile view does not allow resizeable panes -->\n\t\t\t<div v-if=\"isMobile || layout === 'no-split'\"\n\t\t\t\tclass=\"app-content-wrapper app-content-wrapper--no-split\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'app-content-wrapper--show-details': showDetails,\n\t\t\t\t\t'app-content-wrapper--show-list': !showDetails,\n\t\t\t\t\t'app-content-wrapper--mobile': isMobile,}\">\n\t\t\t\t<NcAppDetailsToggle v-if=\"showDetails\" @click.native.stop.prevent=\"hideDetails\" />\n\t\t\t\t<slot v-if=\"!showDetails\" name=\"list\" />\n\n\t\t\t\t<slot v-else />\n\t\t\t</div>\n\t\t\t<div v-else-if=\"layout === 'vertical-split' || layout === 'horizontal-split'\" class=\"app-content-wrapper\">\n\t\t\t\t<Splitpanes :horizontal=\"layout === 'horizontal-split'\"\n\t\t\t\t\tclass=\"default-theme\"\n\t\t\t\t\t:class=\"{ 'splitpanes--horizontal': layout === 'horizontal-split',\n\t\t\t\t\t\t'splitpanes--vertical': layout === 'vertical-split'\n\t\t\t\t\t}\"\n\t\t\t\t\t@resized=\"handlePaneResize\">\n\t\t\t\t\t<Pane class=\"splitpanes__pane-list\"\n\t\t\t\t\t\t:size=\"listPaneSize || paneDefaults.list.size\"\n\t\t\t\t\t\t:min-size=\"paneDefaults.list.min\"\n\t\t\t\t\t\t:max-size=\"paneDefaults.list.max\">\n\t\t\t\t\t\t<!-- @slot Provide a list to the app content -->\n\t\t\t\t\t\t<slot name=\"list\" />\n\t\t\t\t\t</Pane>\n\n\t\t\t\t\t<Pane class=\"splitpanes__pane-details\"\n\t\t\t\t\t\t:size=\"detailsPaneSize\"\n\t\t\t\t\t\t:min-size=\"paneDefaults.details.min\"\n\t\t\t\t\t\t:max-size=\"paneDefaults.details.max\">\n\t\t\t\t\t\t<!-- @slot Provide the main content to the app content -->\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</Pane>\n\t\t\t\t</Splitpanes>\n\t\t\t</div>\n\t\t</template>\n\t\t<!-- @slot Provide the main content to the app content -->\n\t\t<slot v-if=\"!hasList\" />\n\t</main>\n</template>\n\n<script>\nimport NcAppDetailsToggle from './NcAppDetailsToggle.vue'\nimport { useIsMobile } from '../../composables/useIsMobile/index.js'\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { useSwipe } from '@vueuse/core'\nimport { Splitpanes, Pane } from 'splitpanes'\n\nimport 'splitpanes/dist/splitpanes.css'\nimport { emit } from '@nextcloud/event-bus'\n\nconst browserStorage = getBuilder('nextcloud').persist().build()\n\n/**\n * App content container to be used for the main content of your app\n *\n */\nexport default {\n\tname: 'NcAppContent',\n\n\tcomponents: {\n\t\tNcAppDetailsToggle,\n\t\tPane,\n\t\tSplitpanes,\n\t},\n\tprops: {\n\t\t/**\n\t\t * Allows to disable the control by swipe of the app navigation open state\n\t\t */\n\t\tallowSwipeNavigation: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\n\t\t/**\n\t\t * Allows you to set the default width of the resizable list in % on vertical-split\n\t\t * Allows you to set the default height of the resizable list in % on horizontal-split\n\t\t * Must be between listMinWidth and listMaxWidth\n\t\t */\n\t\tlistSize: {\n\t\t\ttype: Number,\n\t\t\tdefault: 20,\n\t\t},\n\n\t\t/**\n\t\t * Allows you to set the minimum width of the list column in % on vertical-split\n\t\t * Allows you to set the minimum height of the list column in % on horizontal-split\n\t\t */\n\t\tlistMinWidth: {\n\t\t\ttype: Number,\n\t\t\tdefault: 15,\n\t\t},\n\n\t\t/**\n\t\t * Allows you to set the maximum width of the list column in % on vertical-split\n\t\t * Allows you to set the maximum height of the list column in % on horizontal-split\n\t\t */\n\t\tlistMaxWidth: {\n\t\t\ttype: Number,\n\t\t\tdefault: 40,\n\t\t},\n\n\t\t/**\n\t\t * Specify the config key for the pane config sizes\n\t\t * Default is the global var appName if you use the webpack-vue-config\n\t\t */\n\t\tpaneConfigKey: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * When in mobile view, only the list or the details are shown\n\t\t * If you provide a list, you need to provide a variable\n\t\t * that will be set to true by the user when an element of\n\t\t * the list gets selected. The details will then show a back\n\t\t * arrow to return to the list that will update this prop to false.\n\t\t */\n\t\tshowDetails: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\n\t\t/**\n\t\t * Specify the `<h1>` page heading\n\t\t */\n\t\tpageHeading: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Content layout used when there is a list together with content:\n\t\t * - `vertical-split` - a 2-column layout with list and default content separated vertically\n\t\t * - `no-split` - a single column layout; List is shown when `showDetails` is `false`, otherwise the default slot content is shown with a back button to return to the list.\n\t\t * - 'horizontal-split' - a 2-column layout with list and default content separated horizontally\n\t\t * On mobile screen `no-split` layout is forced.\n\t\t */\n\t\tlayout: {\n\t\t\ttype: String,\n\t\t\tdefault: 'vertical-split',\n\t\t\tvalidator(value) {\n\t\t\t\treturn ['no-split', 'vertical-split', 'horizontal-split'].includes(value)\n\t\t\t},\n\t\t},\n\t},\n\n\temits: [\n\t\t'update:showDetails',\n\t\t'resize:list',\n\t],\n\n\tsetup() {\n\t\treturn {\n\t\t\tisMobile: useIsMobile(),\n\t\t}\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tcontentHeight: 0,\n\t\t\thasList: false,\n\t\t\thasContent: false,\n\t\t\tswiping: {},\n\t\t\tlistPaneSize: this.restorePaneConfig(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tpaneConfigID() {\n\t\t\t// If provided, let's use it\n\t\t\tif (this.paneConfigKey !== '') {\n\t\t\t\treturn `pane-list-size-${this.paneConfigKey}`\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\t// Using the webpack-vue-config, appName is a global variable\n\t\t\t\t// This will throw a ReferenceError when the global variable is missing\n\t\t\t\t// In that case either you provide paneConfigKey or else it fallback\n\t\t\t\t// to a global storage key\n\t\t\t\treturn `pane-list-size-${appName}`\n\t\t\t} catch (e) {\n\t\t\t\tconsole.info('[INFO] AppContent:', 'falling back to global nextcloud pane config')\n\t\t\t\treturn 'pane-list-size-nextcloud'\n\t\t\t}\n\t\t},\n\n\t\tdetailsPaneSize() {\n\t\t\tif (this.listPaneSize) {\n\t\t\t\treturn 100 - this.listPaneSize\n\t\t\t}\n\t\t\treturn this.paneDefaults.details.size\n\t\t},\n\n\t\tpaneDefaults() {\n\t\t\treturn {\n\t\t\t\tlist: {\n\t\t\t\t\tsize: this.listSize,\n\t\t\t\t\tmin: this.listMinWidth,\n\t\t\t\t\tmax: this.listMaxWidth,\n\t\t\t\t},\n\n\t\t\t\t// set the inverse values of the details column\n\t\t\t\t// based on the provided (or default) values of the list column\n\t\t\t\tdetails: {\n\t\t\t\t\tsize: 100 - this.listSize,\n\t\t\t\t\tmin: 100 - this.listMaxWidth,\n\t\t\t\t\tmax: 100 - this.listMinWidth,\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t},\n\n\tupdated() {\n\t\tthis.checkSlots()\n\t},\n\n\tmounted() {\n\t\tif (this.allowSwipeNavigation) {\n\t\t\tthis.swiping = useSwipe(this.$el, {\n\t\t\t\tonSwipeEnd: this.handleSwipe,\n\t\t\t})\n\t\t}\n\n\t\tthis.checkSlots()\n\t\tthis.restorePaneConfig()\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * handle the swipe event\n\t\t *\n\t\t * @param {TouchEvent} e The touch event\n\t\t * @param {import('@vueuse/core').SwipeDirection} direction The swipe direction of the event\n\t\t */\n\t\thandleSwipe(e, direction) {\n\t\t\tconst minSwipeX = 70\n\t\t\tconst touchZone = 300\n\t\t\tif (Math.abs(this.swiping.lengthX) > minSwipeX) {\n\t\t\t\tif (this.swiping.coordsStart.x < (touchZone / 2) && direction === 'right') {\n\t\t\t\t\temit('toggle-navigation', {\n\t\t\t\t\t\topen: true,\n\t\t\t\t\t})\n\t\t\t\t} else if (this.swiping.coordsStart.x < touchZone * 1.5 && direction === 'left') {\n\t\t\t\t\temit('toggle-navigation', {\n\t\t\t\t\t\topen: false,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\thandlePaneResize(event) {\n\t\t\tconst listPaneSize = parseInt(event[0].size, 10)\n\t\t\tbrowserStorage.setItem(this.paneConfigID, JSON.stringify(listPaneSize))\n\t\t\tthis.listPaneSize = listPaneSize\n\t\t\t/**\n\t\t\t * Emitted when the list pane is resized by the user\n\t\t\t */\n\t\t\tthis.$emit('resize:list', { size: listPaneSize })\n\t\t\tconsole.debug('AppContent pane config', listPaneSize)\n\t\t},\n\n\t\t// $slots is not reactive, we need to update this manually\n\t\tcheckSlots() {\n\t\t\tthis.hasList = !!this.$scopedSlots.list\n\t\t\tthis.hasContent = !!this.$scopedSlots.default\n\t\t},\n\n\t\t// browserStorage is not reactive, we need to update this manually\n\t\trestorePaneConfig() {\n\t\t\tconst listPaneSize = parseInt(browserStorage.getItem(this.paneConfigID), 10)\n\t\t\tif (!isNaN(listPaneSize) && listPaneSize !== this.listPaneSize) {\n\t\t\t\tconsole.debug('AppContent pane config', listPaneSize)\n\t\t\t\tthis.listPaneSize = listPaneSize\n\t\t\t\treturn listPaneSize\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * The user clicked the back arrow from the details view\n\t\t */\n\t\thideDetails() {\n\t\t\tthis.$emit('update:showDetails', false)\n\t\t},\n\t},\n}\n</script>\n<style lang=\"scss\" scoped>\n\n.app-content {\n\tposition: initial;\n\tz-index: 1000;\n\tflex-basis: 100vw;\n\theight: 100%;\n\t// Overriding server styles TODO: cleanup!\n\tmargin: 0 !important;\n\tbackground-color: var(--color-main-background);\n\tmin-width: 0;\n\n\t&:not(.app-content--has-list) {\n\t\toverflow: auto;\n\t}\n}\n\n.app-content-wrapper {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n// Mobile list/details handling\n.app-content-wrapper--no-split {\n\t&.app-content-wrapper--show-list :deep() {\n\t\t.app-content-list {\n\t\t\tdisplay: flex;\n\t\t}\n\t\t.app-content-details {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\t&.app-content-wrapper--show-details :deep() {\n\t\t.app-content-list {\n\t\t\tdisplay: none;\n\t\t}\n\t\t.app-content-details {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n\n:deep(.splitpanes.default-theme) {\n\t.app-content-list {\n\t\tmax-width: none;\n\t\t/* Thin scrollbar is hard to catch on resizable columns */\n\t\tscrollbar-width: auto;\n\t}\n\n\t.splitpanes__pane {\n\t\tbackground-color: transparent;\n\t\ttransition: none;\n\n\t\t&-list {\n\t\t\tmin-width: 300px;\n\t\t\tposition: sticky;\n\n\t\t\t@media only screen and (width < $breakpoint-mobile) {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\n\t\t&-details {\n\t\t\toverflow-y: auto;\n\n\t\t\t@media only screen and (width < $breakpoint-mobile) {\n\t\t\t\tmin-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\t.app-content-wrapper--vertical-split {\n\t\t.splitpanes__splitter {\n\t\t\twidth: 9px;\n\t\t\tmargin-left: -5px;\n\t\t\tbackground-color: transparent;\n\t\t\tborder-left: none;\n\n\t\t\t&:before,\n\t\t\t&:after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\t.app-content-wrapper--horizontal-split {\n\t\t.splitpanes__splitter {\n\t\t\theight: 9px;\n\t\t\tmargin-top: -5px;\n\t\t}\n\t}\n}\n\n.app-content-wrapper--show-list {\n\t:deep(.app-content-list) {\n\t\tmax-width: none;\n\t}\n}\n</style>\n"],"names":["_sfc_main","Tooltip","NcButton","ArrowRight","useIsMobile","t","hide","appNavigationToggle","emit","browserStorage","getBuilder","NcAppDetailsToggle","Pane","Splitpanes","value","useSwipe","direction","event","listPaneSize"],"mappings":";;;;;;AA4CA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,SAAAC,EAAA;AAAA,EACA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAAA,IACA,YAAAC,EAAA;AAAA,EACA;AAAA,EACA,QAAA;AACA,WAAA;AAAA,MACA,UAAAC,EAA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