@nextcloud/vue 9.0.0-alpha.0 → 9.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -1
- package/dist/Components/NcActionButton.cjs +1 -1
- package/dist/Components/NcActionButton.mjs +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +1 -1
- package/dist/Components/NcActionCheckbox.cjs +1 -1
- package/dist/Components/NcActionCheckbox.mjs +1 -1
- package/dist/Components/NcActionInput.cjs +1 -1
- package/dist/Components/NcActionInput.mjs +1 -1
- package/dist/Components/NcActionLink.cjs +1 -1
- package/dist/Components/NcActionLink.mjs +1 -1
- package/dist/Components/NcActionRadio.cjs +1 -1
- package/dist/Components/NcActionRadio.mjs +1 -1
- package/dist/Components/NcActionRouter.cjs +1 -1
- package/dist/Components/NcActionRouter.mjs +1 -1
- package/dist/Components/NcActionText.cjs +1 -1
- package/dist/Components/NcActionText.mjs +1 -1
- package/dist/Components/NcActionTextEditable.cjs +1 -1
- package/dist/Components/NcActionTextEditable.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/NcAppNavigationNew.cjs +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +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/NcAppSettingsSection.cjs +1 -1
- package/dist/Components/NcAppSettingsSection.mjs +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcAppSidebarTab.cjs +1 -1
- package/dist/Components/NcAppSidebarTab.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/NcButton.cjs +1 -1
- package/dist/Components/NcButton.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 +1 -1
- package/dist/Components/NcDateTimePicker.mjs +1 -1
- 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/NcHeaderMenu.cjs +1 -1
- package/dist/Components/NcHeaderMenu.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +1 -1
- package/dist/Components/NcInputField.cjs +1 -1
- package/dist/Components/NcInputField.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 +12 -11
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +37 -36
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +1 -1
- package/dist/Components/NcNoteCard.mjs +1 -1
- package/dist/Components/NcPasswordField.cjs +1 -1
- package/dist/Components/NcPasswordField.mjs +1 -1
- package/dist/Components/NcPopover.cjs +1 -1
- package/dist/Components/NcPopover.mjs +1 -1
- package/dist/Components/NcProgressBar.cjs +1 -1
- package/dist/Components/NcProgressBar.mjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +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/NcTextArea.cjs +1 -1
- package/dist/Components/NcTextArea.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/Components/NcVNodes.cjs +4 -3
- package/dist/Components/NcVNodes.cjs.map +1 -1
- package/dist/Components/NcVNodes.mjs +4 -3
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Directives/Linkify.cjs +5 -4
- package/dist/Directives/Linkify.cjs.map +1 -1
- package/dist/Directives/Linkify.mjs +6 -5
- package/dist/Directives/Linkify.mjs.map +1 -1
- package/dist/Functions/emoji.cjs +1 -1
- package/dist/Functions/emoji.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/{NcActionButton-p7spK21h.css → NcActionButton-De4wlKZH.css} +17 -17
- package/dist/assets/{NcActions-cEMOhd0g.css → NcActions-PR-7NI_x.css} +12 -12
- package/dist/assets/{NcAppContent--D5zvLsb.css → NcAppContent-kIkHd4VN.css} +1 -0
- package/dist/assets/{NcAppNavigationItem-V2jQd3bm.css → NcAppNavigationItem-_MHs9DEv.css} +14 -7
- package/dist/assets/{NcAppNavigationNewItem-MQBvffq9.css → NcAppNavigationNewItem-ue-H4LQY.css} +14 -7
- package/dist/assets/{NcAppNavigationToggle-egZffUzR.css → NcAppNavigationToggle-VrntFGdJ.css} +3 -3
- package/dist/assets/{NcAppSettingsDialog-F29bz2Yx.css → NcAppSettingsDialog-HOydlmNi.css} +16 -17
- package/dist/assets/{NcAppSidebar-QQPSZPo9.css → NcAppSidebar-UFABwmpX.css} +44 -44
- package/dist/assets/{NcAvatar-qgACiUer.css → NcAvatar-DCUiVghV.css} +27 -27
- package/dist/assets/{NcBreadcrumbs-liWjT068.css → NcBreadcrumbs-VKFJ9HrE.css} +7 -7
- package/dist/assets/{NcButton-fqTN6SJK.css → NcButton-rKJYdkZn.css} +43 -43
- package/dist/assets/{NcCheckboxRadioSwitch-P71iLdgD.css → NcCheckboxRadioSwitch-dNV4KgTO.css} +49 -47
- package/dist/assets/{NcColorPicker-88MDZrB0.css → NcColorPicker-FiFz1rof.css} +24 -24
- package/dist/assets/{NcContent-ZG2BJ837.css → NcContent-3Fl9j87E.css} +9 -9
- package/dist/assets/{NcDateTimePicker-SsDztIsS.css → NcDateTimePicker-CC5ocPIo.css} +10 -10
- package/dist/assets/{NcDateTimePickerNative-QBosiBWA.css → NcDateTimePickerNative-BeREqSH_.css} +19 -7
- package/dist/assets/{NcDialog-9-cx1V0y.css → NcDialog-IM0YIgKq.css} +30 -19
- package/dist/assets/{NcEmojiPicker-KRMyqbWg.css → NcEmojiPicker-nDpi1GKA.css} +6 -5
- package/dist/assets/{NcHeaderMenu-j8h_puZT.css → NcHeaderMenu-kKraSlS3.css} +15 -15
- package/dist/assets/{NcInputField-42mSa1zm.css → NcInputField-qx4Me7uJ.css} +39 -38
- package/dist/assets/{NcListItem--i7b67QY.css → NcListItem-RylkggkP.css} +49 -49
- package/dist/assets/{NcModal-DzsqMWSJ.css → NcModal-lgvjJTYz.css} +65 -65
- package/dist/assets/{NcNoteCard-OTfZqVvP.css → NcNoteCard-f0NZpwjL.css} +7 -7
- package/dist/assets/{NcRichContenteditable-nUZdQSMZ.css → NcRichContenteditable--bkjerM1.css} +13 -12
- package/dist/assets/{NcTextArea-6akBm4Ks.css → NcTextArea-Eqv_-5FR.css} +24 -23
- package/dist/assets/{referencePickerModal-G-NTZHL1.css → referencePickerModal-k5G-IS2z.css} +2 -2
- package/dist/chunks/{AlertCircleOutline-Q4EgxGNm.mjs → AlertCircleOutline-1fsF7za7.mjs} +6 -6
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs.map +1 -0
- package/dist/chunks/{AlertCircleOutline-aU4Cu4IM.cjs → AlertCircleOutline-M7wVqz_-.cjs} +1 -1
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs.map +1 -0
- package/dist/chunks/{ArrowLeft-4DZMGcXE.cjs → ArrowLeft-arUkZZ3U.cjs} +4 -4
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs.map +1 -0
- package/dist/chunks/{ArrowLeft-LlLrrfss.mjs → ArrowLeft-uvAzhtxD.mjs} +4 -4
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs.map +1 -0
- package/dist/chunks/{ArrowRight-Fk_qtqpW.mjs → ArrowRight-6gYTXvBH.mjs} +4 -4
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs.map +1 -0
- package/dist/chunks/{ArrowRight-mI4Fw0h2.cjs → ArrowRight-UxW1qyeX.cjs} +5 -5
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs.map +1 -0
- package/dist/chunks/{Check-SlTPuUzR.cjs → Check-fwcsc82n.cjs} +4 -4
- package/dist/chunks/Check-fwcsc82n.cjs.map +1 -0
- package/dist/chunks/{Check-hentWFPd.mjs → Check-tQl0Vp18.mjs} +6 -6
- package/dist/chunks/Check-tQl0Vp18.mjs.map +1 -0
- package/dist/chunks/{ChevronDown-7w1_NWAd.cjs → ChevronDown-8tkFE94e.cjs} +4 -4
- package/dist/chunks/ChevronDown-8tkFE94e.cjs.map +1 -0
- package/dist/chunks/{ChevronDown-hP8YKVnf.mjs → ChevronDown-BxTx7hZm.mjs} +1 -1
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs.map +1 -0
- package/dist/chunks/{ChevronRight-iDcqZ2Ih.cjs → ChevronRight-7GGKl2bX.cjs} +2 -2
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs.map +1 -0
- package/dist/chunks/{ChevronRight-xEIO1OE7.mjs → ChevronRight-gF2cX9Cu.mjs} +4 -4
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs.map +1 -0
- package/dist/chunks/{Close-2nENZfbn.cjs → Close-e2vDvDm2.cjs} +7 -7
- package/dist/chunks/Close-e2vDvDm2.cjs.map +1 -0
- package/dist/chunks/{Close-4lZze_oD.mjs → Close-hKJ11hky.mjs} +5 -5
- package/dist/chunks/Close-hKJ11hky.mjs.map +1 -0
- package/dist/chunks/{DotsHorizontal-2GCivGee.mjs → DotsHorizontal-JfmEIGBo.mjs} +4 -4
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs.map +1 -0
- package/dist/chunks/{DotsHorizontal-Ehuu1q0g.cjs → DotsHorizontal-z8LXg-4B.cjs} +4 -4
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs.map +1 -0
- package/dist/chunks/{GenColors-avBT67Zu.mjs → GenColors-L7jWucCS.mjs} +3 -3
- package/dist/chunks/{GenColors-avBT67Zu.mjs.map → GenColors-L7jWucCS.mjs.map} +1 -1
- package/dist/chunks/{GenColors-ojnUsIA8.cjs → GenColors-vx_p2Tvw.cjs} +3 -3
- package/dist/chunks/{GenColors-ojnUsIA8.cjs.map → GenColors-vx_p2Tvw.cjs.map} +1 -1
- package/dist/chunks/{NcActionButton-TAhaLmwa.mjs → NcActionButton-VnbqrtOY.mjs} +15 -13
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs.map +1 -0
- package/dist/chunks/{NcActionButton-G4OSfyii.cjs → NcActionButton-sJpgOVU9.cjs} +19 -17
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs.map +1 -0
- package/dist/chunks/{NcActionButtonGroup-jTRjqpYM.cjs → NcActionButtonGroup-5PPiueIz.cjs} +2 -2
- package/dist/chunks/{NcActionButtonGroup-jTRjqpYM.cjs.map → NcActionButtonGroup-5PPiueIz.cjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-0hif9Dcf.mjs → NcActionButtonGroup-oFPVvd4U.mjs} +2 -2
- package/dist/chunks/{NcActionButtonGroup-0hif9Dcf.mjs.map → NcActionButtonGroup-oFPVvd4U.mjs.map} +1 -1
- package/dist/chunks/{NcActionCheckbox-PWAridhc.mjs → NcActionCheckbox-5-bIAzkC.mjs} +1 -1
- package/dist/chunks/{NcActionCheckbox-PWAridhc.mjs.map → NcActionCheckbox-5-bIAzkC.mjs.map} +1 -1
- package/dist/chunks/{NcActionCheckbox-Z4Wc9828.cjs → NcActionCheckbox-CUXJQss6.cjs} +1 -1
- package/dist/chunks/{NcActionCheckbox-Z4Wc9828.cjs.map → NcActionCheckbox-CUXJQss6.cjs.map} +1 -1
- package/dist/chunks/{NcActionInput-GuwDt73G.cjs → NcActionInput-of1oXP_n.cjs} +2 -2
- package/dist/chunks/{NcActionInput-GuwDt73G.cjs.map → NcActionInput-of1oXP_n.cjs.map} +1 -1
- package/dist/chunks/{NcActionInput-7-f1OPr6.mjs → NcActionInput-zg13uJ6x.mjs} +8 -8
- package/dist/chunks/{NcActionInput-7-f1OPr6.mjs.map → NcActionInput-zg13uJ6x.mjs.map} +1 -1
- package/dist/chunks/{NcActionLink-QLFtD_iF.cjs → NcActionLink-eBaRU5qY.cjs} +2 -2
- package/dist/chunks/{NcActionLink-QLFtD_iF.cjs.map → NcActionLink-eBaRU5qY.cjs.map} +1 -1
- package/dist/chunks/{NcActionLink-YllmwOrF.mjs → NcActionLink-pscYsQ_3.mjs} +2 -2
- package/dist/chunks/{NcActionLink-YllmwOrF.mjs.map → NcActionLink-pscYsQ_3.mjs.map} +1 -1
- package/dist/chunks/{NcActionRadio-DSBghCIA.mjs → NcActionRadio-1QLxEcfl.mjs} +1 -1
- package/dist/chunks/{NcActionRadio-DSBghCIA.mjs.map → NcActionRadio-1QLxEcfl.mjs.map} +1 -1
- package/dist/chunks/{NcActionRadio-1U50276u.cjs → NcActionRadio-3UkRsS6r.cjs} +1 -1
- package/dist/chunks/{NcActionRadio-1U50276u.cjs.map → NcActionRadio-3UkRsS6r.cjs.map} +1 -1
- package/dist/chunks/{NcActionRouter-vBYCxyc1.mjs → NcActionRouter-BsOXVKlY.mjs} +2 -2
- package/dist/chunks/{NcActionRouter-vBYCxyc1.mjs.map → NcActionRouter-BsOXVKlY.mjs.map} +1 -1
- package/dist/chunks/{NcActionRouter-Vg-BSvq7.cjs → NcActionRouter-c6pYto3T.cjs} +2 -2
- package/dist/chunks/{NcActionRouter-Vg-BSvq7.cjs.map → NcActionRouter-c6pYto3T.cjs.map} +1 -1
- package/dist/chunks/{NcActionText-p3Ew3r1G.mjs → NcActionText-9Ti6bh1b.mjs} +2 -2
- package/dist/chunks/{NcActionText-p3Ew3r1G.mjs.map → NcActionText-9Ti6bh1b.mjs.map} +1 -1
- package/dist/chunks/{NcActionText-aWTbDRVH.cjs → NcActionText-Sw_tMRaW.cjs} +2 -2
- package/dist/chunks/{NcActionText-aWTbDRVH.cjs.map → NcActionText-Sw_tMRaW.cjs.map} +1 -1
- package/dist/chunks/{NcActionTextEditable-RUh3BjpU.cjs → NcActionTextEditable-faJIAtYw.cjs} +2 -2
- package/dist/chunks/{NcActionTextEditable-RUh3BjpU.cjs.map → NcActionTextEditable-faJIAtYw.cjs.map} +1 -1
- package/dist/chunks/{NcActionTextEditable-PAn8Dpv4.mjs → NcActionTextEditable-xPb_cTMW.mjs} +3 -3
- package/dist/chunks/{NcActionTextEditable-PAn8Dpv4.mjs.map → NcActionTextEditable-xPb_cTMW.mjs.map} +1 -1
- package/dist/chunks/{NcActions-6Yv0De7D.mjs → NcActions-76CtOBCq.mjs} +160 -114
- package/dist/chunks/NcActions-76CtOBCq.mjs.map +1 -0
- package/dist/chunks/{NcActions-VJy75Dj8.cjs → NcActions-YpbmJ7hS.cjs} +160 -115
- package/dist/chunks/NcActions-YpbmJ7hS.cjs.map +1 -0
- package/dist/chunks/{NcAppContent-rV1EGzGY.mjs → NcAppContent-Tw5gNorr.mjs} +6 -6
- package/dist/chunks/{NcAppContent-rV1EGzGY.mjs.map → NcAppContent-Tw5gNorr.mjs.map} +1 -1
- package/dist/chunks/{NcAppContent-khCUrgDu.cjs → NcAppContent-mHc-Ms2b.cjs} +5 -5
- package/dist/chunks/{NcAppContent-khCUrgDu.cjs.map → NcAppContent-mHc-Ms2b.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-wvBM1j2_.mjs → NcAppNavigation-sY7HaHMv.mjs} +1 -1
- package/dist/chunks/{NcAppNavigation-wvBM1j2_.mjs.map → NcAppNavigation-sY7HaHMv.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-qnc3o3YP.cjs → NcAppNavigation-yEZ-RJA2.cjs} +1 -1
- package/dist/chunks/{NcAppNavigation-qnc3o3YP.cjs.map → NcAppNavigation-yEZ-RJA2.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-6SpoIhcW.cjs → NcAppNavigationCaption-XpbVXYKV.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-6SpoIhcW.cjs.map → NcAppNavigationCaption-XpbVXYKV.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-wnBg9gYq.mjs → NcAppNavigationCaption-pcyV3wRO.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-wnBg9gYq.mjs.map → NcAppNavigationCaption-pcyV3wRO.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-VR6oSt2q.mjs → NcAppNavigationItem-JLYTEgEH.mjs} +22 -22
- package/dist/chunks/NcAppNavigationItem-JLYTEgEH.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationItem-6kzsp9I8.cjs → NcAppNavigationItem-NE1UdZkS.cjs} +6 -6
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationNew-AamR4VD3.mjs → NcAppNavigationNew-6ZAJS_DY.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationNew-AamR4VD3.mjs.map → NcAppNavigationNew-6ZAJS_DY.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNew-ae4GCKxx.cjs → NcAppNavigationNew-hmJL2IDR.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationNew-ae4GCKxx.cjs.map → NcAppNavigationNew-hmJL2IDR.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-sZ0DdaXr.cjs → NcAppNavigationNewItem-MjsbS_dO.cjs} +2 -2
- package/dist/chunks/{NcAppNavigationNewItem-sZ0DdaXr.cjs.map → NcAppNavigationNewItem-MjsbS_dO.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-tSH06MX2.mjs → NcAppNavigationNewItem-NzRL8Uwy.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNewItem-tSH06MX2.mjs.map → NcAppNavigationNewItem-NzRL8Uwy.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-mYqB3vRb.cjs → NcAppNavigationSettings-DPeH305A.cjs} +2 -2
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationSettings-giVx2sHN.mjs → NcAppNavigationSettings-LR3QCvNr.mjs} +2 -2
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationToggle-DBCPaseG.mjs → NcAppNavigationToggle-SEvIEY16.mjs} +29 -20
- package/dist/chunks/NcAppNavigationToggle-SEvIEY16.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigationToggle-cRUPsHZH.cjs → NcAppNavigationToggle-sXvQDqok.cjs} +17 -8
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs.map +1 -0
- package/dist/chunks/{NcAppSettingsDialog-WvDTWMwC.cjs → NcAppSettingsDialog-HnYa47vg.cjs} +51 -44
- package/dist/chunks/{NcAppSettingsDialog-90cJBaTf.mjs.map → NcAppSettingsDialog-HnYa47vg.cjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-90cJBaTf.mjs → NcAppSettingsDialog-nbTWBbti.mjs} +65 -58
- package/dist/chunks/{NcAppSettingsDialog-WvDTWMwC.cjs.map → NcAppSettingsDialog-nbTWBbti.mjs.map} +1 -1
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs +54 -0
- package/dist/chunks/{NcAppSettingsSection-wLClE1lO.cjs.map → NcAppSettingsSection-LHcKgBpz.cjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsSection-WcupJObJ.mjs → NcAppSettingsSection-a0Un2ZRv.mjs} +18 -15
- package/dist/chunks/{NcAppSettingsSection-WcupJObJ.mjs.map → NcAppSettingsSection-a0Un2ZRv.mjs.map} +1 -1
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs +712 -0
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs +731 -0
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs.map +1 -0
- package/dist/chunks/{NcAppSidebarTab-BeWt8Sdt.cjs → NcAppSidebarTab-oPHofCKq.cjs} +15 -14
- package/dist/chunks/{NcAppSidebarTab-BeWt8Sdt.cjs.map → NcAppSidebarTab-oPHofCKq.cjs.map} +1 -1
- package/dist/chunks/{NcAppSidebarTab--7BkDK9T.mjs → NcAppSidebarTab-sMoFkDTb.mjs} +13 -12
- package/dist/chunks/{NcAppSidebarTab--7BkDK9T.mjs.map → NcAppSidebarTab-sMoFkDTb.mjs.map} +1 -1
- package/dist/chunks/{NcAvatar-paLjF9Tc.mjs → NcAvatar-JsMCceHU.mjs} +110 -100
- package/dist/chunks/NcAvatar-JsMCceHU.mjs.map +1 -0
- package/dist/chunks/{NcAvatar-1MXwkOA2.cjs → NcAvatar-uPVG9WWg.cjs} +133 -123
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs.map +1 -0
- package/dist/chunks/{NcBreadcrumb-X45pwcLq.cjs → NcBreadcrumb-7q3EEfcO.cjs} +3 -3
- package/dist/chunks/{NcBreadcrumb-X45pwcLq.cjs.map → NcBreadcrumb-7q3EEfcO.cjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-gB_hnDG_.mjs → NcBreadcrumb-Fr7J33Qv.mjs} +5 -5
- package/dist/chunks/{NcBreadcrumb-gB_hnDG_.mjs.map → NcBreadcrumb-Fr7J33Qv.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-Y8LRE6xz.cjs → NcBreadcrumbs-XVIsLfXn.cjs} +100 -96
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs.map +1 -0
- package/dist/chunks/{NcBreadcrumbs-N7-Jj_ry.mjs → NcBreadcrumbs-ozezYXlM.mjs} +114 -110
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs.map +1 -0
- package/dist/chunks/{NcButton-Uxh-oARg.cjs → NcButton-7UKtzkX5.cjs} +73 -66
- package/dist/chunks/NcButton-7UKtzkX5.cjs.map +1 -0
- package/dist/chunks/{NcButton-nCkJxwsi.mjs → NcButton-YOXv3gFY.mjs} +73 -66
- package/dist/chunks/NcButton-YOXv3gFY.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch-Hi5ocuhB.cjs → NcCheckboxRadioSwitch-IA6Ssm8K.cjs} +22 -22
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch-RgFq8ZUL.mjs → NcCheckboxRadioSwitch-NwTx_zgG.mjs} +80 -80
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-hS0KYrLP.mjs → NcColorPicker-DNy0FRJb.mjs} +42 -35
- package/dist/chunks/{NcColorPicker-hS0KYrLP.mjs.map → NcColorPicker-DNy0FRJb.mjs.map} +1 -1
- package/dist/chunks/{NcColorPicker-rE3Dd7s7.cjs → NcColorPicker-i9PgTYBd.cjs} +26 -19
- package/dist/chunks/{NcColorPicker-rE3Dd7s7.cjs.map → NcColorPicker-i9PgTYBd.cjs.map} +1 -1
- package/dist/chunks/NcContent-HdbQCleH.mjs +111 -0
- package/dist/chunks/{NcContent-fGj1oSM5.cjs.map → NcContent-HdbQCleH.mjs.map} +1 -1
- package/dist/chunks/NcContent-MOEEa0z1.cjs +103 -0
- package/dist/chunks/{NcContent-CUWR0V-w.mjs.map → NcContent-MOEEa0z1.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-DC4_9Yv_.mjs → NcDashboardWidget-JGkvqDWC.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidget-DC4_9Yv_.mjs.map → NcDashboardWidget-JGkvqDWC.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-fnhMGIb6.cjs → NcDashboardWidget-qHSuK2yd.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidget-fnhMGIb6.cjs.map → NcDashboardWidget-qHSuK2yd.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-0jGJ_5Nx.cjs → NcDashboardWidgetItem-fl92G4Pt.cjs} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-0jGJ_5Nx.cjs.map → NcDashboardWidgetItem-fl92G4Pt.cjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-TD0N9xlv.mjs → NcDashboardWidgetItem-oQGp29KO.mjs} +3 -3
- package/dist/chunks/{NcDashboardWidgetItem-TD0N9xlv.mjs.map → NcDashboardWidgetItem-oQGp29KO.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-EnQV6T52.mjs → NcDateTime-JYO8uPbb.mjs} +1 -1
- package/dist/chunks/{NcDateTime-EnQV6T52.mjs.map → NcDateTime-JYO8uPbb.mjs.map} +1 -1
- package/dist/chunks/{NcDateTime-m_WZoAvd.cjs → NcDateTime-T52KrH65.cjs} +1 -1
- package/dist/chunks/{NcDateTime-m_WZoAvd.cjs.map → NcDateTime-T52KrH65.cjs.map} +1 -1
- package/dist/chunks/{NcDateTimePicker-4edYzlVf.cjs → NcDateTimePicker-X2pCnTer.cjs} +36 -34
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs.map +1 -0
- package/dist/chunks/{NcDateTimePicker-GHt3kJ7B.mjs → NcDateTimePicker-ahgVldMQ.mjs} +55 -53
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs.map +1 -0
- package/dist/chunks/{NcDateTimePickerNative-nDQjZSiZ.mjs → NcDateTimePickerNative-3Xru7_OT.mjs} +12 -12
- package/dist/chunks/{NcDateTimePickerNative-nDQjZSiZ.mjs.map → NcDateTimePickerNative-3Xru7_OT.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePickerNative-m30hv5MT.cjs → NcDateTimePickerNative-xSITuvpX.cjs} +13 -13
- package/dist/chunks/{NcDateTimePickerNative-m30hv5MT.cjs.map → NcDateTimePickerNative-xSITuvpX.cjs.map} +1 -1
- package/dist/chunks/{NcDialog-qsI2VY8S.cjs → NcDialog-BYXi2emF.cjs} +26 -24
- package/dist/chunks/NcDialog-BYXi2emF.cjs.map +1 -0
- package/dist/chunks/{NcDialog-eZWcoYL9.mjs → NcDialog-rTTTdaH3.mjs} +36 -34
- package/dist/chunks/NcDialog-rTTTdaH3.mjs.map +1 -0
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs +73 -0
- package/dist/chunks/{NcDialogButton-Dou0EAc_.cjs.map → NcDialogButton-37TPbyFs.cjs.map} +1 -1
- package/dist/chunks/{NcDialogButton-R-zAILHz.mjs → NcDialogButton-ax4NTfDU.mjs} +21 -20
- package/dist/chunks/{NcDialogButton-R-zAILHz.mjs.map → NcDialogButton-ax4NTfDU.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-84m02Stk.mjs → NcEmojiPicker-oWZ5anxp.mjs} +74 -71
- package/dist/chunks/NcEmojiPicker-oWZ5anxp.mjs.map +1 -0
- package/dist/chunks/{NcEmojiPicker-hxiKGEHb.cjs → NcEmojiPicker-tOE2N9VS.cjs} +68 -65
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.cjs.map +1 -0
- package/dist/chunks/{NcHeaderMenu-yJJ4FWin.mjs → NcHeaderMenu-67JCzTGo.mjs} +44 -42
- package/dist/chunks/{NcHeaderMenu-Eo6rZDeL.cjs.map → NcHeaderMenu-67JCzTGo.mjs.map} +1 -1
- package/dist/chunks/{NcHeaderMenu-Eo6rZDeL.cjs → NcHeaderMenu-TvFFSvGS.cjs} +30 -28
- package/dist/chunks/{NcHeaderMenu-yJJ4FWin.mjs.map → NcHeaderMenu-TvFFSvGS.cjs.map} +1 -1
- package/dist/chunks/{NcIconSvgWrapper-gQnsseD2.mjs → NcIconSvgWrapper-ACaaN_pS.mjs} +1 -1
- package/dist/chunks/{NcIconSvgWrapper-gQnsseD2.mjs.map → NcIconSvgWrapper-ACaaN_pS.mjs.map} +1 -1
- package/dist/chunks/{NcIconSvgWrapper-rDMSblV4.cjs → NcIconSvgWrapper-_hHu9P_M.cjs} +1 -1
- package/dist/chunks/{NcIconSvgWrapper-rDMSblV4.cjs.map → NcIconSvgWrapper-_hHu9P_M.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-3c-uWUuw.cjs → NcInputConfirmCancel-DYlc289d.cjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-3c-uWUuw.cjs.map → NcInputConfirmCancel-DYlc289d.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-cDJ5_L-Z.mjs → NcInputConfirmCancel-lmWu4ouW.mjs} +4 -4
- package/dist/chunks/{NcInputConfirmCancel-cDJ5_L-Z.mjs.map → NcInputConfirmCancel-lmWu4ouW.mjs.map} +1 -1
- package/dist/chunks/{NcInputField-9PAE2ONE.mjs → NcInputField-6pRWha3h.mjs} +7 -7
- package/dist/chunks/{NcInputField-dP-QARJo.cjs.map → NcInputField-6pRWha3h.mjs.map} +1 -1
- package/dist/chunks/{NcInputField-dP-QARJo.cjs → NcInputField-6vveMrmf.cjs} +5 -5
- package/dist/chunks/{NcInputField-9PAE2ONE.mjs.map → NcInputField-6vveMrmf.cjs.map} +1 -1
- package/dist/chunks/{NcListItem-iWTR4IZZ.cjs → NcListItem-3QDILDKr.cjs} +55 -53
- package/dist/chunks/NcListItem-3QDILDKr.cjs.map +1 -0
- package/dist/chunks/{NcListItem-gdczIybY.mjs → NcListItem-vkgu6Biu.mjs} +63 -61
- package/dist/chunks/NcListItem-vkgu6Biu.mjs.map +1 -0
- package/dist/chunks/{NcListItemIcon-XsKTtITp.mjs → NcListItemIcon-130Lt3dW.mjs} +32 -31
- package/dist/chunks/{NcListItemIcon-XsKTtITp.mjs.map → NcListItemIcon-130Lt3dW.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-FeNwaJy4.cjs → NcListItemIcon-dOvFvjqI.cjs} +29 -28
- package/dist/chunks/{NcListItemIcon-FeNwaJy4.cjs.map → NcListItemIcon-dOvFvjqI.cjs.map} +1 -1
- package/dist/chunks/{NcNoteCard-joOYqjyF.mjs → NcNoteCard-MnmgJvKD.mjs} +41 -39
- package/dist/chunks/NcNoteCard-MnmgJvKD.mjs.map +1 -0
- package/dist/chunks/{NcNoteCard-IAgTi5HW.cjs → NcNoteCard-ujnbiyLI.cjs} +20 -18
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs.map +1 -0
- package/dist/chunks/{NcPasswordField-QA6kIMu2.cjs → NcPasswordField-8rboJv29.cjs} +21 -21
- package/dist/chunks/NcPasswordField-8rboJv29.cjs.map +1 -0
- package/dist/chunks/{NcPasswordField-8NI5u7lk.mjs → NcPasswordField-RHelr3R-.mjs} +27 -27
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs.map +1 -0
- package/dist/chunks/{NcPopover-sVfBFdPh.cjs → NcPopover-J0pw-klF.cjs} +31 -32
- package/dist/chunks/NcPopover-J0pw-klF.cjs.map +1 -0
- package/dist/chunks/{NcPopover-HwP68PjO.mjs → NcPopover-XgOWyuQF.mjs} +46 -47
- package/dist/chunks/NcPopover-XgOWyuQF.mjs.map +1 -0
- package/dist/chunks/{NcProgressBar-KvtCwl-0.mjs → NcProgressBar-1EANJyYJ.mjs} +2 -2
- package/dist/chunks/{NcProgressBar-KvtCwl-0.mjs.map → NcProgressBar-1EANJyYJ.mjs.map} +1 -1
- package/dist/chunks/{NcProgressBar-3p3Phbcw.cjs → NcProgressBar-zsehqkEw.cjs} +2 -2
- package/dist/chunks/{NcProgressBar-3p3Phbcw.cjs.map → NcProgressBar-zsehqkEw.cjs.map} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel--UoHihRf.mjs → NcRelatedResourcesPanel-NqDuh_7F.mjs} +24 -20
- package/dist/chunks/{NcRelatedResourcesPanel--UoHihRf.mjs.map → NcRelatedResourcesPanel-NqDuh_7F.mjs.map} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel-oTY2g2gt.cjs → NcRelatedResourcesPanel-QgNIHnCY.cjs} +45 -41
- package/dist/chunks/{NcRelatedResourcesPanel-oTY2g2gt.cjs.map → NcRelatedResourcesPanel-QgNIHnCY.cjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-0x4AmYZf.cjs → NcRichContenteditable-L8aEJNGb.cjs} +28 -25
- package/dist/chunks/{NcRichContenteditable-rSquEMs2.mjs.map → NcRichContenteditable-L8aEJNGb.cjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-rSquEMs2.mjs → NcRichContenteditable-W0BnJp3x.mjs} +31 -28
- package/dist/chunks/{NcRichContenteditable-0x4AmYZf.cjs.map → NcRichContenteditable-W0BnJp3x.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-S8FLpGCe.cjs → NcRichText-91v7gJEe.cjs} +66 -54
- package/dist/chunks/NcRichText-91v7gJEe.cjs.map +1 -0
- package/dist/chunks/{NcRichText-_MNRVaQB.mjs → NcRichText-RTwlrmhz.mjs} +95 -83
- package/dist/chunks/NcRichText-RTwlrmhz.mjs.map +1 -0
- package/dist/chunks/{NcSelect-w_Gt1U72.mjs → NcSelect-HmmLuUCp.mjs} +63 -58
- package/dist/chunks/{NcSelect-9cM-OGdn.cjs.map → NcSelect-HmmLuUCp.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-9cM-OGdn.cjs → NcSelect-P2FpWJBr.cjs} +46 -41
- package/dist/chunks/{NcSelect-w_Gt1U72.mjs.map → NcSelect-P2FpWJBr.cjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-vm5Fx2H5.cjs → NcSelectTags-HX8YbYwd.cjs} +2 -11
- package/dist/chunks/{NcSelectTags-vm5Fx2H5.cjs.map → NcSelectTags-HX8YbYwd.cjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-6F9oTRUw.mjs → NcSelectTags-ZoLcdmHG.mjs} +3 -12
- package/dist/chunks/{NcSelectTags-6F9oTRUw.mjs.map → NcSelectTags-ZoLcdmHG.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-KTYvd9zc.mjs → NcSettingsInputText-9TVSwO_s.mjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-KTYvd9zc.mjs.map → NcSettingsInputText-9TVSwO_s.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-wY_R_c6S.cjs → NcSettingsInputText-oJ_c6sMr.cjs} +1 -1
- package/dist/chunks/{NcSettingsInputText-wY_R_c6S.cjs.map → NcSettingsInputText-oJ_c6sMr.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-2TP0NQPH.cjs → NcSettingsSection-W7Ieq32P.cjs} +7 -7
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs.map +1 -0
- package/dist/chunks/{NcSettingsSection-dEPaFL2w.mjs → NcSettingsSection-bpmpu801.mjs} +2 -2
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs.map +1 -0
- package/dist/chunks/{NcSettingsSelectGroup-JfvkEnNr.mjs → NcSettingsSelectGroup-HFDYgsw-.mjs} +5 -5
- package/dist/chunks/{NcSettingsSelectGroup-JfvkEnNr.mjs.map → NcSettingsSelectGroup-HFDYgsw-.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-p8cgn6pv.cjs → NcSettingsSelectGroup-UnB2ao3D.cjs} +4 -4
- package/dist/chunks/{NcSettingsSelectGroup-p8cgn6pv.cjs.map → NcSettingsSelectGroup-UnB2ao3D.cjs.map} +1 -1
- package/dist/chunks/{NcTextArea-hNPj4rEs.cjs → NcTextArea-QIkvyzz7.cjs} +7 -7
- package/dist/chunks/{NcTextArea-hNPj4rEs.cjs.map → NcTextArea-QIkvyzz7.cjs.map} +1 -1
- package/dist/chunks/{NcTextArea-dRgNOiSU.mjs → NcTextArea-SeSiP6Dy.mjs} +6 -6
- package/dist/chunks/{NcTextArea-dRgNOiSU.mjs.map → NcTextArea-SeSiP6Dy.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-avDV7Ry_.mjs → NcTextField-qqwMB07_.mjs} +19 -19
- package/dist/chunks/NcTextField-qqwMB07_.mjs.map +1 -0
- package/dist/chunks/{NcTextField-bz_keSKF.cjs → NcTextField-zi19KqEm.cjs} +2 -2
- package/dist/chunks/NcTextField-zi19KqEm.cjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs +3790 -0
- package/dist/chunks/{NcTimezonePicker-wLjOcbbU.mjs.map → NcTimezonePicker-EPCmHeHy.mjs.map} +1 -1
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs +3783 -0
- package/dist/chunks/{NcTimezonePicker-YNWJXRnl.cjs.map → NcTimezonePicker-f6X4yiuj.cjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-fA1TQtnx.mjs → NcUserBubble-Jw-rOju8.mjs} +17 -16
- package/dist/chunks/{NcUserBubble-fA1TQtnx.mjs.map → NcUserBubble-Jw-rOju8.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-epl-RDQa.cjs → NcUserBubble-NZeBFOmo.cjs} +23 -22
- package/dist/chunks/{NcUserBubble-epl-RDQa.cjs.map → NcUserBubble-NZeBFOmo.cjs.map} +1 -1
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs +146 -0
- package/dist/chunks/{NcUserStatusIcon-swCHU0tl.cjs.map → NcUserStatusIcon-b0xt-g7X.cjs.map} +1 -1
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs +154 -0
- package/dist/chunks/{NcUserStatusIcon--z2VUZIt.mjs.map → NcUserStatusIcon-hmLq9dti.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-4ppIHwI4.cjs → ScopeComponent-Gzz2FMnQ.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-4ppIHwI4.cjs.map → ScopeComponent-Gzz2FMnQ.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-KbEZrKGJ.mjs → ScopeComponent-mG7CSpxl.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-KbEZrKGJ.mjs.map → ScopeComponent-mG7CSpxl.mjs.map} +1 -1
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs +64 -0
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs.map +1 -0
- package/dist/chunks/_l10n-uuAvfQgY.mjs +66 -0
- package/dist/chunks/_l10n-uuAvfQgY.mjs.map +1 -0
- package/dist/chunks/{actionGlobal-kyAHPMcH.cjs → actionGlobal-Cx6Fi9Pj.cjs} +4 -3
- package/dist/chunks/{actionGlobal-1onxXJwM.mjs.map → actionGlobal-Cx6Fi9Pj.cjs.map} +1 -1
- package/dist/chunks/{actionGlobal-1onxXJwM.mjs → actionGlobal-pi4JQ0yh.mjs} +4 -3
- package/dist/chunks/{actionGlobal-kyAHPMcH.cjs.map → actionGlobal-pi4JQ0yh.mjs.map} +1 -1
- package/dist/chunks/{actionText-WQ07UNmt.cjs → actionText-H_SIpDkO.cjs} +1 -1
- package/dist/chunks/{actionText-WQ07UNmt.cjs.map → actionText-H_SIpDkO.cjs.map} +1 -1
- package/dist/chunks/{actionText-IqPIFk1D.mjs → actionText-yZ-YQ_fz.mjs} +1 -1
- package/dist/chunks/{actionText-IqPIFk1D.mjs.map → actionText-yZ-YQ_fz.mjs.map} +1 -1
- package/dist/chunks/{emoji-mJIuLpNR.cjs → emoji-NrWIXNZ4.cjs} +7 -6
- package/dist/chunks/{emoji-mJIuLpNR.cjs.map → emoji-NrWIXNZ4.cjs.map} +1 -1
- package/dist/chunks/{emoji-tllD0Rvt.mjs → emoji-mEkenm2t.mjs} +4 -3
- package/dist/chunks/{emoji-tllD0Rvt.mjs.map → emoji-mEkenm2t.mjs.map} +1 -1
- package/dist/chunks/{index-NP8hZQhr.cjs → index-6mzaBTml.cjs} +8 -10
- package/dist/chunks/{index-NP8hZQhr.cjs.map → index-6mzaBTml.cjs.map} +1 -1
- package/dist/chunks/{index-hX7KRzaJ.mjs → index-clpvFjGU.mjs} +8 -10
- package/dist/chunks/{index-hX7KRzaJ.mjs.map → index-clpvFjGU.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-9sd4Ftja.mjs → referencePickerModal-Fu9pQBdT.mjs} +188 -173
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs.map +1 -0
- package/dist/chunks/{referencePickerModal-gCkuVbeM.cjs → referencePickerModal-JVKOIVTG.cjs} +143 -128
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs.map +1 -0
- package/dist/chunks/{usernameToColor-t95If_mB.mjs → usernameToColor-YCPAFxlc.mjs} +1 -1
- package/dist/chunks/{usernameToColor-t95If_mB.mjs.map → usernameToColor-YCPAFxlc.mjs.map} +1 -1
- package/dist/chunks/{usernameToColor--FE9Dq8h.cjs → usernameToColor-r5M5P032.cjs} +1 -1
- package/dist/chunks/{usernameToColor--FE9Dq8h.cjs.map → usernameToColor-r5M5P032.cjs.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +64 -64
- package/dist/src/components/NcActionButton/NcActionButton.vue.d.ts +8 -4
- package/dist/src/components/NcActions/NcActions.vue.d.ts +29 -7
- package/dist/src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +14 -0
- package/dist/src/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +2 -3
- package/dist/src/components/NcButton/NcButton.vue.d.ts +1 -0
- package/dist/src/components/NcListItem/NcListItem.vue.d.ts +1 -1
- package/dist/src/components/NcRichText/NcReferenceList.vue.d.ts +9 -0
- package/dist/src/components/NcRichText/NcRichText.vue.d.ts +1 -1
- package/dist/vendor.LICENSE.txt +1 -1
- package/package.json +4 -3
- package/dist/chunks/AlertCircleOutline-Q4EgxGNm.mjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-aU4Cu4IM.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-4DZMGcXE.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-LlLrrfss.mjs.map +0 -1
- package/dist/chunks/ArrowRight-Fk_qtqpW.mjs.map +0 -1
- package/dist/chunks/ArrowRight-mI4Fw0h2.cjs.map +0 -1
- package/dist/chunks/Check-SlTPuUzR.cjs.map +0 -1
- package/dist/chunks/Check-hentWFPd.mjs.map +0 -1
- package/dist/chunks/ChevronDown-7w1_NWAd.cjs.map +0 -1
- package/dist/chunks/ChevronDown-hP8YKVnf.mjs.map +0 -1
- package/dist/chunks/ChevronRight-iDcqZ2Ih.cjs.map +0 -1
- package/dist/chunks/ChevronRight-xEIO1OE7.mjs.map +0 -1
- package/dist/chunks/Close-2nENZfbn.cjs.map +0 -1
- package/dist/chunks/Close-4lZze_oD.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-2GCivGee.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-Ehuu1q0g.cjs.map +0 -1
- package/dist/chunks/NcActionButton-G4OSfyii.cjs.map +0 -1
- package/dist/chunks/NcActionButton-TAhaLmwa.mjs.map +0 -1
- package/dist/chunks/NcActions-6Yv0De7D.mjs.map +0 -1
- package/dist/chunks/NcActions-VJy75Dj8.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-6kzsp9I8.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-VR6oSt2q.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-giVx2sHN.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-mYqB3vRb.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-DBCPaseG.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-cRUPsHZH.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-wLClE1lO.cjs +0 -51
- package/dist/chunks/NcAppSidebar-19vWkj82.cjs +0 -706
- package/dist/chunks/NcAppSidebar-19vWkj82.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-yjd-HiUO.mjs +0 -725
- package/dist/chunks/NcAppSidebar-yjd-HiUO.mjs.map +0 -1
- package/dist/chunks/NcAvatar-1MXwkOA2.cjs.map +0 -1
- package/dist/chunks/NcAvatar-paLjF9Tc.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-N7-Jj_ry.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-Y8LRE6xz.cjs.map +0 -1
- package/dist/chunks/NcButton-Uxh-oARg.cjs.map +0 -1
- package/dist/chunks/NcButton-nCkJxwsi.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-Hi5ocuhB.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-RgFq8ZUL.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-RYt-H2PA.cjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-RYt-H2PA.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-kB-352LR.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_c3135eb8_lang-kB-352LR.mjs.map +0 -1
- package/dist/chunks/NcContent-CUWR0V-w.mjs +0 -156
- package/dist/chunks/NcContent-fGj1oSM5.cjs +0 -148
- package/dist/chunks/NcDateTimePicker-4edYzlVf.cjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-GHt3kJ7B.mjs.map +0 -1
- package/dist/chunks/NcDialog-eZWcoYL9.mjs.map +0 -1
- package/dist/chunks/NcDialog-qsI2VY8S.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-Dou0EAc_.cjs +0 -72
- package/dist/chunks/NcEmojiPicker-84m02Stk.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-hxiKGEHb.cjs.map +0 -1
- package/dist/chunks/NcListItem-gdczIybY.mjs.map +0 -1
- package/dist/chunks/NcListItem-iWTR4IZZ.cjs.map +0 -1
- package/dist/chunks/NcNoteCard-IAgTi5HW.cjs.map +0 -1
- package/dist/chunks/NcNoteCard-joOYqjyF.mjs.map +0 -1
- package/dist/chunks/NcPasswordField-8NI5u7lk.mjs.map +0 -1
- package/dist/chunks/NcPasswordField-QA6kIMu2.cjs.map +0 -1
- package/dist/chunks/NcPopover-HwP68PjO.mjs.map +0 -1
- package/dist/chunks/NcPopover-sVfBFdPh.cjs.map +0 -1
- package/dist/chunks/NcRichText-S8FLpGCe.cjs.map +0 -1
- package/dist/chunks/NcRichText-_MNRVaQB.mjs.map +0 -1
- package/dist/chunks/NcSettingsSection-2TP0NQPH.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-dEPaFL2w.mjs.map +0 -1
- package/dist/chunks/NcTextField-avDV7Ry_.mjs.map +0 -1
- package/dist/chunks/NcTextField-bz_keSKF.cjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-YNWJXRnl.cjs +0 -7202
- package/dist/chunks/NcTimezonePicker-wLjOcbbU.mjs +0 -7209
- package/dist/chunks/NcUserStatusIcon--z2VUZIt.mjs +0 -171
- package/dist/chunks/NcUserStatusIcon-swCHU0tl.cjs +0 -163
- package/dist/chunks/_l10n-JmazR_zZ.mjs +0 -66
- package/dist/chunks/_l10n-JmazR_zZ.mjs.map +0 -1
- package/dist/chunks/_l10n-wK0o0jNS.cjs +0 -64
- package/dist/chunks/_l10n-wK0o0jNS.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-9sd4Ftja.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-gCkuVbeM.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcProgressBar-
|
|
1
|
+
{"version":3,"file":"NcProgressBar-1EANJyYJ.mjs","sources":["../../src/components/NcProgressBar/NcProgressBar.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 Marco Ambrosini <marcoambrosini@icloud.com>\n -\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\n -\n - @copyright Copyright (c) 2024 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n - @author Raimund Schlüßler\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>\nThis is a simple progress bar component.\n## Usage:\n\n### Linear\n```vue\n<template>\n\t<span>\n\t\tSmall\n\t\t<NcProgressBar :value=\"20\" />\n\t\t<br>\n\t\tMedium\n\t\t<NcProgressBar :value=\"60\" size=\"medium\" />\n\t\t<br>\n\t\tMedium with color\n\t\t<NcProgressBar :value=\"55\" size=\"medium\" color=\"green\" />\n\t\t<br>\n\t\tError\n\t\t<NcProgressBar :value=\"80\" :error=\"true\" />\n\t</span>\n</template>\n```\n\n### Circular\n```vue\n<template>\n\t<span>\n\t\tDefault\n\t\t<NcProgressBar type=\"circular\" :value=\"55\" />\n\t\t<br />\n\t\tColor\n\t\t<NcProgressBar type=\"circular\" :value=\"70\" color=\"green\" />\n\t\t<br />\n\t\tError\n\t\t<NcProgressBar type=\"circular\" :value=\"60\" :error=\"true\" />\n\t</span>\n</template>\n```\n</docs>\n\n<template>\n\t<span v-if=\"type === 'circular'\"\n\t\trole=\"progressbar\"\n\t\t:aria-valuenow=\"value\"\n\t\t:style=\"{ '--progress-bar-height': height + 'px' }\"\n\t\t:class=\"{ 'progress-bar--error': error }\"\n\t\tclass=\"progress-bar progress-bar--circular\">\n\t\t<svg :height=\"height\"\n\t\t\t:width=\"height\">\n\t\t\t<circle stroke=\"currentColor\"\n\t\t\t\tfill=\"transparent\"\n\t\t\t\t:stroke-dasharray=\"`${progress * circumference} ${(1 - progress) * circumference}`\"\n\t\t\t\t:stroke-dashoffset=\"0.25*circumference\"\n\t\t\t\t:stroke-width=\"stroke\"\n\t\t\t\t:r=\"radiusNormalized\"\n\t\t\t\t:cx=\"radius\"\n\t\t\t\t:cy=\"radius\" />\n\t\t\t<circle stroke=\"var(--color-background-darker)\"\n\t\t\t\tfill=\"transparent\"\n\t\t\t\t:stroke-dasharray=\"`${(1 - progress) * circumference} ${progress * circumference}`\"\n\t\t\t\t:stroke-dashoffset=\"(0.25 - progress) * circumference\"\n\t\t\t\t:stroke-width=\"stroke\"\n\t\t\t\t:r=\"radiusNormalized\"\n\t\t\t\t:cx=\"radius\"\n\t\t\t\t:cy=\"radius\" />\n\t\t</svg>\n\t</span>\n\t<progress v-else\n\t\tclass=\"progress-bar progress-bar--linear vue\"\n\t\t:class=\"{ 'progress-bar--error': error }\"\n\t\t:style=\"{'--progress-bar-height': height + 'px' }\"\n\t\t:value=\"value\"\n\t\tmax=\"100\" />\n</template>\n\n<script>\nexport default {\n\n\tname: 'NcProgressBar',\n\n\tprops: {\n\t\t/**\n\t\t * An integer between 1 and 100\n\t\t */\n\t\tvalue: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t\tvalidator(value) {\n\t\t\t\treturn value >= 0\n\t\t\t\t\t&& value <= 100\n\t\t\t},\n\t\t},\n\t\t/**\n\t\t * Determines the height of the progressbar.\n\t\t * Possible values:\n\t\t * - 'small' (default)\n\t\t * - 'medium'\n\t\t * - Number\n\t\t * @type {'small'|'medium'|number}\n\t\t */\n\t\tsize: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 'small',\n\t\t\tvalidator(value) {\n\t\t\t\treturn ['small', 'medium'].includes(value) || typeof value === 'number'\n\t\t\t},\n\t\t},\n\t\t/**\n\t\t * Applies an error color to the progressbar if true.\n\t\t */\n\t\terror: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * ProgressBar type\n\t\t */\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'linear',\n\t\t\tvalidator(value) {\n\t\t\t\treturn ['linear', 'circular'].includes(value)\n\t\t\t},\n\t\t},\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tstroke: 4,\n\t\t}\n\t},\n\tcomputed: {\n\t\theight() {\n\t\t\tif (this.type === 'circular') {\n\t\t\t\tif (Number.isInteger(this.size)) {\n\t\t\t\t\treturn this.size\n\t\t\t\t}\n\t\t\t\treturn 44\n\t\t\t}\n\t\t\tif (this.size === 'small') {\n\t\t\t\treturn 4\n\t\t\t} else if (this.size === 'medium') {\n\t\t\t\treturn 6\n\t\t\t}\n\t\t\treturn this.size\n\t\t},\n\t\tprogress() {\n\t\t\treturn this.value / 100\n\t\t},\n\t\tradius() {\n\t\t\treturn this.height / 2\n\t\t},\n\t\tradiusNormalized() {\n\t\t\treturn this.radius - 3 * this.stroke\n\t\t},\n\t\tcircumference() {\n\t\t\treturn this.radiusNormalized * 2 * Math.PI\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.progress-bar {\n\tdisplay: block;\n\theight: var(--progress-bar-height);\n\n\t--progress-bar-color: v-bind(color);\n\n\t&--linear {\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tbackground: var(--color-background-dark);\n\t\tborder-radius: calc(var(--progress-bar-height) / 2);\n\n\t\t// Browser specific rules\n\t\t&::-webkit-progress-bar {\n\t\t\theight: var(--progress-bar-height);\n\t\t\tbackground-color: transparent;\n\t\t}\n\t\t&::-webkit-progress-value {\n\t\t\tbackground: var(--progress-bar-color, var(--gradient-primary-background));\n\t\t\tborder-radius: calc(var(--progress-bar-height) / 2);\n\t\t}\n\t\t&::-moz-progress-bar {\n\t\t\tbackground: var(--progress-bar-color, var(--gradient-primary-background));\n\t\t\tborder-radius: calc(var(--progress-bar-height) / 2);\n\t\t}\n\t}\n\t&--circular {\n\t\twidth: var(--progress-bar-height);\n\t\tcolor: var(--progress-bar-color, var(--color-primary-element));\n\t}\n\t&--error {\n\t\tcolor: var(--color-error) !important;\n\t\t// Override previous values\n\t\t&::-moz-progress-bar {\n\t\t\tbackground: var(--color-error) !important;\n\t\t}\n\t\t&::-webkit-progress-value {\n\t\t\tbackground: var(--color-error) !important;\n\t\t}\n\t}\n}\n\n</style>\n"],"names":["_sfc_main","value","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","$props","normalizeClass","$options","$data"],"mappings":";;;AAoGA,MAAAA,IAAA;AAAA,EAEC,MAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIC,OAAA;AAAA;MAEC,SAAA;AAAA,MACA,UAAAC,GAAA;;;;;;;;;;;;;MAcA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,UAAAA,GAAA;AACC,eAAA,CAAA,SAAA,QAAA,EAAA,SAAAA,CAAA,KAAA,OAAAA,KAAA;AAAA;;;;;IAMF,OAAA;AAAA;;;;;;;;MASC,SAAA;AAAA,MACA,UAAAA,GAAA;AACC,eAAA,CAAA,UAAA,UAAA,EAAA,SAAAA,CAAA;AAAA;;IAGF,OAAA;AAAA;;;;EAKD,OAAA;AACC,WAAA;AAAA,MACC,QAAA;AAAA,IACD;AAAA;EAED,UAAA;AAAA,IACC,SAAA;wCAEE,OAAA,UAAA,KAAA,IAAA,IACC,KAAA,OAED,6BAGA,6BAEA,IAED,KAAA;AAAA;;AAGA,aAAA,KAAA,QAAA;AAAA;IAED,SAAA;AACC,aAAA,KAAA,SAAA;AAAA;IAED,mBAAA;AACC,aAAA,KAAA,SAAA,IAAA,KAAA;AAAA;IAED,gBAAA;AACC,aAAA,KAAA,mBAAA,IAAA,KAAA;AAAA;;AAGH;;;;;;AA1LA,MAAAC,IAAA,CAAA,eAAA,GAAAC,IAAA,CAAA,UAAA,OAAA,GAAAC,IAAA,CAAA,oBAAA,qBAAA,gBAAA,KAAA,MAAA,IAAA,GAAAC,IAAA,CAAA,oBAAA,qBAAA,gBAAA,KAAA,MAAA,IAAA,GAAAC,IAAA,CAAA,OAAA;;;;IAkEE,MAAA;AAAA,IACC,iBAAAC,EAAA;AAAA;IAEA,OAAAC,EAAA,CAAA,EAAA,uBAAAD,EAAA,MAAA,GAAA,qCAAA,CAAA;AAAA;;MAEK,QAAAE,EAAA;AAAA,MACJ,OAAAA,EAAA;AAAA;;QACO,QAAA;AAAA,QACP,MAAA;AAAA,QACC,oBAAA,GAAA,OAAAA,EAAA,WAAAA,EAAA,eAAA,KAAA,YAAAA,EAAA,YAAAA,EAAA;AAAA,QACA,qBAAA,OAAAA,EAAA;AAAA,QACA,gBAAAC,EAAA;AAAA,QACA,GAAAD,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,MAhFL,GAAA,MAAA,GAAAL,CAAA;AAAA;QAiFW,QAAA;AAAA,QACP,MAAA;AAAA,QACC,oBAAA,GAAA,YAAAK,EAAA,YAAAA,EAAA,eAAA,KAAA,OAAAA,EAAA,WAAAA,EAAA;AAAA;QAEA,gBAAAC,EAAA;AAAA,QACA,GAAAD,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,MAxFL,GAAA,MAAA,GAAAJ,CAAA;AAAA,IAAA,GAAA,GAAAF,CAAA;AAAA,EAAA,GAAA,IAAAD,CAAA;;IA4FE,OAAAM,EAAA,CAAA,yCAAA,EAAA,uBAAAD,EAAA,MAAA,CAAA,CAAA;AAAA;IAGC,OAAAA,EAAA;AAAA,IACD,KAAA;AAAA,EAhGF,GAAA,MAAA,IAAAD,CAAA;;;"}
|
|
@@ -93,7 +93,7 @@ function f(s, c, t, k, l, r) {
|
|
|
93
93
|
e.createElementVNode("circle", {
|
|
94
94
|
stroke: "currentColor",
|
|
95
95
|
fill: "transparent",
|
|
96
|
-
"stroke-dasharray":
|
|
96
|
+
"stroke-dasharray": "".concat(r.progress * r.circumference, " ").concat((1 - r.progress) * r.circumference),
|
|
97
97
|
"stroke-dashoffset": 0.25 * r.circumference,
|
|
98
98
|
"stroke-width": l.stroke,
|
|
99
99
|
r: r.radiusNormalized,
|
|
@@ -103,7 +103,7 @@ function f(s, c, t, k, l, r) {
|
|
|
103
103
|
e.createElementVNode("circle", {
|
|
104
104
|
stroke: "var(--color-background-darker)",
|
|
105
105
|
fill: "transparent",
|
|
106
|
-
"stroke-dasharray":
|
|
106
|
+
"stroke-dasharray": "".concat((1 - r.progress) * r.circumference, " ").concat(r.progress * r.circumference),
|
|
107
107
|
"stroke-dashoffset": (0.25 - r.progress) * r.circumference,
|
|
108
108
|
"stroke-width": l.stroke,
|
|
109
109
|
r: r.radiusNormalized,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcProgressBar-
|
|
1
|
+
{"version":3,"file":"NcProgressBar-zsehqkEw.cjs","sources":["../../src/components/NcProgressBar/NcProgressBar.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2020 Marco Ambrosini <marcoambrosini@icloud.com>\n -\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\n -\n - @copyright Copyright (c) 2024 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n - @author Raimund Schlüßler\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>\nThis is a simple progress bar component.\n## Usage:\n\n### Linear\n```vue\n<template>\n\t<span>\n\t\tSmall\n\t\t<NcProgressBar :value=\"20\" />\n\t\t<br>\n\t\tMedium\n\t\t<NcProgressBar :value=\"60\" size=\"medium\" />\n\t\t<br>\n\t\tMedium with color\n\t\t<NcProgressBar :value=\"55\" size=\"medium\" color=\"green\" />\n\t\t<br>\n\t\tError\n\t\t<NcProgressBar :value=\"80\" :error=\"true\" />\n\t</span>\n</template>\n```\n\n### Circular\n```vue\n<template>\n\t<span>\n\t\tDefault\n\t\t<NcProgressBar type=\"circular\" :value=\"55\" />\n\t\t<br />\n\t\tColor\n\t\t<NcProgressBar type=\"circular\" :value=\"70\" color=\"green\" />\n\t\t<br />\n\t\tError\n\t\t<NcProgressBar type=\"circular\" :value=\"60\" :error=\"true\" />\n\t</span>\n</template>\n```\n</docs>\n\n<template>\n\t<span v-if=\"type === 'circular'\"\n\t\trole=\"progressbar\"\n\t\t:aria-valuenow=\"value\"\n\t\t:style=\"{ '--progress-bar-height': height + 'px' }\"\n\t\t:class=\"{ 'progress-bar--error': error }\"\n\t\tclass=\"progress-bar progress-bar--circular\">\n\t\t<svg :height=\"height\"\n\t\t\t:width=\"height\">\n\t\t\t<circle stroke=\"currentColor\"\n\t\t\t\tfill=\"transparent\"\n\t\t\t\t:stroke-dasharray=\"`${progress * circumference} ${(1 - progress) * circumference}`\"\n\t\t\t\t:stroke-dashoffset=\"0.25*circumference\"\n\t\t\t\t:stroke-width=\"stroke\"\n\t\t\t\t:r=\"radiusNormalized\"\n\t\t\t\t:cx=\"radius\"\n\t\t\t\t:cy=\"radius\" />\n\t\t\t<circle stroke=\"var(--color-background-darker)\"\n\t\t\t\tfill=\"transparent\"\n\t\t\t\t:stroke-dasharray=\"`${(1 - progress) * circumference} ${progress * circumference}`\"\n\t\t\t\t:stroke-dashoffset=\"(0.25 - progress) * circumference\"\n\t\t\t\t:stroke-width=\"stroke\"\n\t\t\t\t:r=\"radiusNormalized\"\n\t\t\t\t:cx=\"radius\"\n\t\t\t\t:cy=\"radius\" />\n\t\t</svg>\n\t</span>\n\t<progress v-else\n\t\tclass=\"progress-bar progress-bar--linear vue\"\n\t\t:class=\"{ 'progress-bar--error': error }\"\n\t\t:style=\"{'--progress-bar-height': height + 'px' }\"\n\t\t:value=\"value\"\n\t\tmax=\"100\" />\n</template>\n\n<script>\nexport default {\n\n\tname: 'NcProgressBar',\n\n\tprops: {\n\t\t/**\n\t\t * An integer between 1 and 100\n\t\t */\n\t\tvalue: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t\tvalidator(value) {\n\t\t\t\treturn value >= 0\n\t\t\t\t\t&& value <= 100\n\t\t\t},\n\t\t},\n\t\t/**\n\t\t * Determines the height of the progressbar.\n\t\t * Possible values:\n\t\t * - 'small' (default)\n\t\t * - 'medium'\n\t\t * - Number\n\t\t * @type {'small'|'medium'|number}\n\t\t */\n\t\tsize: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 'small',\n\t\t\tvalidator(value) {\n\t\t\t\treturn ['small', 'medium'].includes(value) || typeof value === 'number'\n\t\t\t},\n\t\t},\n\t\t/**\n\t\t * Applies an error color to the progressbar if true.\n\t\t */\n\t\terror: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * ProgressBar type\n\t\t */\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'linear',\n\t\t\tvalidator(value) {\n\t\t\t\treturn ['linear', 'circular'].includes(value)\n\t\t\t},\n\t\t},\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tstroke: 4,\n\t\t}\n\t},\n\tcomputed: {\n\t\theight() {\n\t\t\tif (this.type === 'circular') {\n\t\t\t\tif (Number.isInteger(this.size)) {\n\t\t\t\t\treturn this.size\n\t\t\t\t}\n\t\t\t\treturn 44\n\t\t\t}\n\t\t\tif (this.size === 'small') {\n\t\t\t\treturn 4\n\t\t\t} else if (this.size === 'medium') {\n\t\t\t\treturn 6\n\t\t\t}\n\t\t\treturn this.size\n\t\t},\n\t\tprogress() {\n\t\t\treturn this.value / 100\n\t\t},\n\t\tradius() {\n\t\t\treturn this.height / 2\n\t\t},\n\t\tradiusNormalized() {\n\t\t\treturn this.radius - 3 * this.stroke\n\t\t},\n\t\tcircumference() {\n\t\t\treturn this.radiusNormalized * 2 * Math.PI\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.progress-bar {\n\tdisplay: block;\n\theight: var(--progress-bar-height);\n\n\t--progress-bar-color: v-bind(color);\n\n\t&--linear {\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tbackground: var(--color-background-dark);\n\t\tborder-radius: calc(var(--progress-bar-height) / 2);\n\n\t\t// Browser specific rules\n\t\t&::-webkit-progress-bar {\n\t\t\theight: var(--progress-bar-height);\n\t\t\tbackground-color: transparent;\n\t\t}\n\t\t&::-webkit-progress-value {\n\t\t\tbackground: var(--progress-bar-color, var(--gradient-primary-background));\n\t\t\tborder-radius: calc(var(--progress-bar-height) / 2);\n\t\t}\n\t\t&::-moz-progress-bar {\n\t\t\tbackground: var(--progress-bar-color, var(--gradient-primary-background));\n\t\t\tborder-radius: calc(var(--progress-bar-height) / 2);\n\t\t}\n\t}\n\t&--circular {\n\t\twidth: var(--progress-bar-height);\n\t\tcolor: var(--progress-bar-color, var(--color-primary-element));\n\t}\n\t&--error {\n\t\tcolor: var(--color-error) !important;\n\t\t// Override previous values\n\t\t&::-moz-progress-bar {\n\t\t\tbackground: var(--color-error) !important;\n\t\t}\n\t\t&::-webkit-progress-value {\n\t\t\tbackground: var(--color-error) !important;\n\t\t}\n\t}\n}\n\n</style>\n"],"names":["_sfc_main","value","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","$props","vue","$options","$data"],"mappings":";mFAoGAA,IAAA;AAAA,EAEC,MAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIC,OAAA;AAAA;MAEC,SAAA;AAAA,MACA,UAAAC,GAAA;;;;;;;;;;;;;MAcA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,UAAAA,GAAA;AACC,eAAA,CAAA,SAAA,QAAA,EAAA,SAAAA,CAAA,KAAA,OAAAA,KAAA;AAAA;;;;;IAMF,OAAA;AAAA;;;;;;;;MASC,SAAA;AAAA,MACA,UAAAA,GAAA;AACC,eAAA,CAAA,UAAA,UAAA,EAAA,SAAAA,CAAA;AAAA;;IAGF,OAAA;AAAA;;;;EAKD,OAAA;AACC,WAAA;AAAA,MACC,QAAA;AAAA,IACD;AAAA;EAED,UAAA;AAAA,IACC,SAAA;wCAEE,OAAA,UAAA,KAAA,IAAA,IACC,KAAA,OAED,6BAGA,6BAEA,IAED,KAAA;AAAA;;AAGA,aAAA,KAAA,QAAA;AAAA;IAED,SAAA;AACC,aAAA,KAAA,SAAA;AAAA;IAED,mBAAA;AACC,aAAA,KAAA,SAAA,IAAA,KAAA;AAAA;IAED,gBAAA;AACC,aAAA,KAAA,mBAAA,IAAA,KAAA;AAAA;;AAGH;;;;;;AA1LA,MAAAC,IAAA,CAAA,eAAA,GAAAC,IAAA,CAAA,UAAA,OAAA,GAAAC,IAAA,CAAA,oBAAA,qBAAA,gBAAA,KAAA,MAAA,IAAA,GAAAC,IAAA,CAAA,oBAAA,qBAAA,gBAAA,KAAA,MAAA,IAAA,GAAAC,IAAA,CAAA,OAAA;;;;IAkEE,MAAA;AAAA,IACC,iBAAAC,EAAA;AAAA;IAEA,OAAAC,EAAA,eAAA,CAAA,EAAA,uBAAAD,EAAA,MAAA,GAAA,qCAAA,CAAA;AAAA;;MAEK,QAAAE,EAAA;AAAA,MACJ,OAAAA,EAAA;AAAA;;QACO,QAAA;AAAA,QACP,MAAA;AAAA,QACC,oBAAA,GAAA,OAAAA,EAAA,WAAAA,EAAA,eAAA,KAAA,YAAAA,EAAA,YAAAA,EAAA;AAAA,QACA,qBAAA,OAAAA,EAAA;AAAA,QACA,gBAAAC,EAAA;AAAA,QACA,GAAAD,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,MAhFL,GAAA,MAAA,GAAAL,CAAA;AAAA;QAiFW,QAAA;AAAA,QACP,MAAA;AAAA,QACC,oBAAA,GAAA,YAAAK,EAAA,YAAAA,EAAA,eAAA,KAAA,OAAAA,EAAA,WAAAA,EAAA;AAAA;QAEA,gBAAAC,EAAA;AAAA,QACA,GAAAD,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,QACA,IAAAA,EAAA;AAAA,MAxFL,GAAA,MAAA,GAAAJ,CAAA;AAAA,IAAA,GAAA,GAAAF,CAAA;AAAA,EAAA,GAAA,IAAAD,CAAA;;IA4FE,OAAAM,EAAA,eAAA,CAAA,yCAAA,EAAA,uBAAAD,EAAA,MAAA,CAAA,CAAA;AAAA;IAGC,OAAAA,EAAA;AAAA,IACD,KAAA;AAAA,EAhGF,GAAA,MAAA,IAAAD,CAAA;;;;"}
|
package/dist/chunks/{NcRelatedResourcesPanel--UoHihRf.mjs → NcRelatedResourcesPanel-NqDuh_7F.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../assets/NcRelatedResourcesPanel-i1-7CClp.css";
|
|
2
2
|
import y from "@nextcloud/axios";
|
|
3
3
|
import { generateOcsUrl as g } from "@nextcloud/router";
|
|
4
|
-
import { N as I } from "./NcButton-
|
|
5
|
-
import { r as p, C as R, a as
|
|
4
|
+
import { N as I } from "./NcButton-YOXv3gFY.mjs";
|
|
5
|
+
import { r as p, C as R, a as t, D as N } from "./_l10n-uuAvfQgY.mjs";
|
|
6
6
|
import { resolveComponent as m, openBlock as l, createElementBlock as u, createVNode as b, withCtx as h, createElementVNode as o, createTextVNode as v, toDisplayString as d, Fragment as S, renderList as B, createBlock as T, createCommentVNode as w } from "vue";
|
|
7
7
|
import { _ as f } from "./_plugin-vue_export-helper-hUChTQA_.mjs";
|
|
8
8
|
p(R);
|
|
@@ -27,14 +27,14 @@ const x = {
|
|
|
27
27
|
},
|
|
28
28
|
data() {
|
|
29
29
|
return {
|
|
30
|
-
labelTranslated:
|
|
30
|
+
labelTranslated: t('Open link to "{resourceName}"', { resourceName: this.name })
|
|
31
31
|
};
|
|
32
32
|
},
|
|
33
33
|
methods: {
|
|
34
|
-
t
|
|
34
|
+
t
|
|
35
35
|
}
|
|
36
36
|
}, k = { class: "resource" }, E = { class: "resource__icon" }, V = ["src"];
|
|
37
|
-
function C(e,
|
|
37
|
+
function C(e, r, s, _, i, a) {
|
|
38
38
|
const c = m("NcButton");
|
|
39
39
|
return l(), u("li", k, [
|
|
40
40
|
b(c, {
|
|
@@ -105,11 +105,11 @@ const q = {
|
|
|
105
105
|
*/
|
|
106
106
|
header: {
|
|
107
107
|
type: String,
|
|
108
|
-
default:
|
|
108
|
+
default: t("Related resources")
|
|
109
109
|
},
|
|
110
110
|
description: {
|
|
111
111
|
type: String,
|
|
112
|
-
default:
|
|
112
|
+
default: t("Anything shared with the same group of people will show up here")
|
|
113
113
|
},
|
|
114
114
|
/**
|
|
115
115
|
* If this element is used on a primary element set to true for primary styling.
|
|
@@ -124,8 +124,9 @@ const q = {
|
|
|
124
124
|
"has-resources"
|
|
125
125
|
],
|
|
126
126
|
data() {
|
|
127
|
+
var e;
|
|
127
128
|
return {
|
|
128
|
-
appEnabled: OC
|
|
129
|
+
appEnabled: ((e = OC == null ? void 0 : OC.appswebroots) == null ? void 0 : e.related_resources) !== void 0,
|
|
129
130
|
loading: !1,
|
|
130
131
|
error: null,
|
|
131
132
|
resources: []
|
|
@@ -133,22 +134,24 @@ const q = {
|
|
|
133
134
|
},
|
|
134
135
|
computed: {
|
|
135
136
|
isVisible() {
|
|
136
|
-
|
|
137
|
+
var e;
|
|
138
|
+
return this.loading ? !1 : (e = this.error) != null ? e : this.resources.length > 0;
|
|
137
139
|
},
|
|
138
140
|
subline() {
|
|
139
|
-
return this.error ?
|
|
141
|
+
return this.error ? t("Error getting related resources. Please contact your system administrator if you have any questions.") : this.description;
|
|
140
142
|
},
|
|
141
143
|
hasResourceInfo() {
|
|
142
144
|
return this.providerId !== null && this.itemId !== null || this.fileInfo !== null;
|
|
143
145
|
},
|
|
144
146
|
isFiles() {
|
|
145
|
-
|
|
147
|
+
var e;
|
|
148
|
+
return ((e = this.fileInfo) == null ? void 0 : e.id) !== void 0;
|
|
146
149
|
},
|
|
147
150
|
url() {
|
|
148
|
-
let e = null,
|
|
149
|
-
return this.isFiles ? (e = "files",
|
|
151
|
+
let e = null, r = null;
|
|
152
|
+
return this.isFiles ? (e = "files", r = this.fileInfo.id) : (e = this.providerId, r = this.itemId), g("/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json", {
|
|
150
153
|
providerId: e,
|
|
151
|
-
itemId:
|
|
154
|
+
itemId: r,
|
|
152
155
|
resourceType: this.resourceType,
|
|
153
156
|
limit: this.limit
|
|
154
157
|
});
|
|
@@ -175,15 +178,16 @@ const q = {
|
|
|
175
178
|
this.fetchRelatedResources();
|
|
176
179
|
},
|
|
177
180
|
methods: {
|
|
178
|
-
t
|
|
181
|
+
t,
|
|
179
182
|
async fetchRelatedResources() {
|
|
183
|
+
var e;
|
|
180
184
|
if (!(!this.appEnabled || !this.hasResourceInfo)) {
|
|
181
185
|
this.loading = !0, this.error = null, this.resources = [];
|
|
182
186
|
try {
|
|
183
|
-
const
|
|
184
|
-
this.resources = e.data.ocs
|
|
185
|
-
} catch (
|
|
186
|
-
this.error =
|
|
187
|
+
const r = await y.get(this.url);
|
|
188
|
+
this.resources = (e = r.data.ocs) == null ? void 0 : e.data;
|
|
189
|
+
} catch (r) {
|
|
190
|
+
this.error = r, console.error(r);
|
|
187
191
|
} finally {
|
|
188
192
|
this.loading = !1;
|
|
189
193
|
}
|
|
@@ -194,7 +198,7 @@ const q = {
|
|
|
194
198
|
key: 0,
|
|
195
199
|
class: "related-resources"
|
|
196
200
|
}, F = { class: "related-resources__header" };
|
|
197
|
-
function P(e,
|
|
201
|
+
function P(e, r, s, _, i, a) {
|
|
198
202
|
const c = m("NcResource");
|
|
199
203
|
return i.appEnabled && a.isVisible ? (l(), u("div", O, [
|
|
200
204
|
o("div", F, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcRelatedResourcesPanel--UoHihRf.mjs","sources":["../../src/components/NcRelatedResourcesPanel/NcResource.vue","../../src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue"],"sourcesContent":["<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\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<li class=\"resource\">\n\t\t<NcButton class=\"resource__button\"\n\t\t\t:aria-label=\"labelTranslated\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:href=\"url\">\n\t\t\t<template #icon>\n\t\t\t\t<div class=\"resource__icon\">\n\t\t\t\t\t<img :src=\"icon\">\n\t\t\t\t</div>\n\t\t\t</template>\n\t\t\t{{ name }}\n\t\t</NcButton>\n\t</li>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.ts'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcResource',\n\n\tcomponents: {\n\t\tNcButton,\n\t},\n\n\tprops: {\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\turl: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tlabelTranslated: t('Open link to \"{resourceName}\"', { resourceName: this.name }),\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.resource {\n\tdisplay: flex;\n\talign-items: center;\n\theight: 44px;\n\n\t// Override default NcButton styles\n\t&__button {\n\t\twidth: 100% !important;\n\t\tjustify-content: flex-start !important;\n\t\tpadding: 0 !important;\n\n\t\t&:deep {\n\t\t\t.button-vue__wrapper {\n\t\t\t\tjustify-content: flex-start !important;\n\n\t\t\t\t.button-vue__text {\n\t\t\t\t\tfont-weight: normal !important;\n\t\t\t\t\tmargin-left: 2px !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t&__icon {\n\t\twidth: 32px;\n\t\theight: 32px;\n\t\tbackground-color: var(--color-text-maxcontrast);\n\t\tborder-radius: 50%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\n\t\timg {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\t}\n}\n</style>\n","<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n-->\n\n<docs>\n### Usage\n\nUse this component to display the related resources of a given item.\n\n```\n<template>\n\t<NcRelatedResourcesPanel provider-id=\"talk\"\n\t\theader=\"Related resources for talk\"\n\t\t:item-id=\"conversationId\" />\n</template>\n\n<script>\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tconversationId: 1,\n\t\t}\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<div v-if=\"appEnabled && isVisible\" class=\"related-resources\">\n\t\t<div class=\"related-resources__header\">\n\t\t\t<h5>{{ header }}</h5>\n\t\t\t<p>{{ subline }}</p>\n\t\t</div>\n\n\t\t<NcResource v-for=\"resource in resources\"\n\t\t\t:key=\"resource.itemId\"\n\t\t\tclass=\"related-resources__entry\"\n\t\t\t:icon=\"resource.icon\"\n\t\t\t:name=\"resource.title\"\n\t\t\t:url=\"resource.url\" />\n\t</div>\n</template>\n\n<script>\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\n\nimport NcResource from './NcResource.vue'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcRelatedResourcesPanel',\n\n\tcomponents: {\n\t\tNcResource,\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * The provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tproviderId: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * The item id which uniquely identities the e.g. Calendar event, Deck board, file, Talk room, etc.\n\t\t */\n\t\titemId: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Limits to specific resource type. i.e. any provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tresourceType: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Set the maximum number of resources to load\n\t\t */\n\t\tlimit: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t},\n\t\t/**\n\t\t * Only used by the files sidebar\n\t\t *\n\t\t * File info is passed when registered with `OCA.Sharing.ShareTabSections.registerSection()`\n\t\t */\n\t\tfileInfo: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Make the header name dynamic\n\t\t */\n\t\theader: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Related resources'),\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Anything shared with the same group of people will show up here'),\n\t\t},\n\t\t/**\n\t\t * If this element is used on a primary element set to true for primary styling.\n\t\t */\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\temits: [\n\t\t'has-error',\n\t\t'has-resources',\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tappEnabled: OC?.appswebroots?.related_resources !== undefined,\n\t\t\tloading: false,\n\t\t\terror: null,\n\t\t\tresources: [],\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisVisible() {\n\t\t\tif (this.loading) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn this.error ?? this.resources.length > 0\n\t\t},\n\t\tsubline() {\n\t\t\tif (this.error) {\n\t\t\t\treturn t('Error getting related resources. Please contact your system administrator if you have any questions.')\n\t\t\t}\n\t\t\treturn this.description\n\t\t},\n\n\t\thasResourceInfo() {\n\t\t\tif (this.providerId !== null && this.itemId !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\tif (this.fileInfo !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\n\t\tisFiles() {\n\t\t\treturn this.fileInfo?.id !== undefined\n\t\t},\n\n\t\turl() {\n\t\t\tlet providerId = null\n\t\t\tlet itemId = null\n\n\t\t\tif (this.isFiles) {\n\t\t\t\tproviderId = 'files'\n\t\t\t\titemId = this.fileInfo.id\n\t\t\t} else {\n\t\t\t\tproviderId = this.providerId\n\t\t\t\titemId = this.itemId\n\t\t\t}\n\n\t\t\treturn generateOcsUrl('/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json', {\n\t\t\t\tproviderId,\n\t\t\t\titemId,\n\t\t\t\tresourceType: this.resourceType,\n\t\t\t\tlimit: this.limit,\n\t\t\t})\n\t\t},\n\t},\n\n\twatch: {\n\t\tproviderId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\titemId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\tfileInfo() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\terror(error) {\n\t\t\t/**\n\t\t\t * Emitted when the error value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-error', Boolean(error))\n\t\t},\n\t\tresources(resources) {\n\t\t\t/**\n\t\t\t * Emitted when the resources value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-resources', resources.length > 0)\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.fetchRelatedResources()\n\t},\n\n\tmethods: {\n\t\tt,\n\t\tasync fetchRelatedResources() {\n\t\t\tif (!this.appEnabled || !this.hasResourceInfo) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.loading = true\n\t\t\tthis.error = null\n\t\t\tthis.resources = []\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(this.url)\n\t\t\t\tthis.resources = response.data.ocs?.data\n\t\t\t} catch (e) {\n\t\t\t\tthis.error = e\n\t\t\t\tconsole.error(e)\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.related-resources {\n\t&__header {\n\t\tmargin: 0 0 10px 46px;\n\n\t\th5 {\n\t\t\tfont-weight: bold;\n\t\t}\n\n\t\tp {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main$1","NcButton","t","_hoisted_1$1","_hoisted_2$1","_hoisted_3","openBlock","createElementBlock","$data","$props","withCtx","createElementVNode","_sfc_main","providerId","itemId","generateOcsUrl","error","resources","response","axios","_hoisted_2","$options","_hoisted_1","toDisplayString","Fragment","renderList","resource","createCommentVNode"],"mappings":";;;;;;;;AA2CA,MAAAA,IAAA;AAAA,EACC,MAAA;AAAA;IAGC,UAAAC;AAAA;EAGD,OAAA;AAAA;;;;;;;;;;;;;EAeA,OAAA;AACC,WAAA;AAAA,MACC,iBAAAC,EAAA,iCAAA,EAAA,cAAA,KAAA,KAAA,CAAA;AAAA,IACD;AAAA;EAGD,SAAA;AAAA;;AAGD,GAnDKC,IAAA,EAAA,OAAA,WAAA,GAMIC,IAAA,EAAA,OAAA,iBAAA,GA7BTC,IAAA,CAAA,KAAA;;;AAuBC,SAAAC,EAAA,GAAAC,EAAA,MAAAJ,GAAA;AAAA;MACW,OAAA;AAAA,MACR,cAAAK,EAAA;AAAA,MACD,MAAA;AAAA,MACC,MAAAC,EAAA;AAAA;MACU,MAAAC,EAAA,MAAA;AAAA,QACVC,EAAA,OAAAP,GAAA;AAAA,UACCO,EAAA,OAAA,EAAA,KAAAF,EAAA,KAAA,GAAA,MAAA,GAAAJ,CAAA;AAAA;;MA9BL,SAAAK,EAAA,MAAA;AAAA;;;;;;;;ACsEA,MAAAE,IAAA;AAAA,EACC,MAAA;AAAA;;;EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;IAWC,QAAA;AAAA,MACC,MAAA,CAAA,QAAA,MAAA;AAAA;;;;;;;;;;;;IAaD,OAAA;AAAA;MAEC,SAAA;AAAA;;;;;;IAOD,UAAA;AAAA;;;;;;IAOA,QAAA;AAAA;;;;;MAMC,SAAAV,EAAA,iEAAA;AAAA;;;;IAKD,SAAA;AAAA;;;;EAMD,OAAA;AAAA;IAEC;AAAA;EAGD,OAAA;AACC,WAAA;AAAA;;;;IAKA;AAAA;EAGD,UAAA;AAAA;AAEE,aAAA,KAAA,eAGA,KAAA,SAAA,KAAA,UAAA,SAAA;AAAA;IAED,UAAA;AACC,aAAA,KAAA,oHAGA,KAAA;AAAA;IAGD,kBAAA;;;IAUA,UAAA;AACC,aAAA,KAAA,UAAA,OAAA;AAAA;;AAIA,UAAAW,IAAA;AAGA,aAAA,KAAA,WACCA,IAAA,uDAIAC,IAAA,KAAA,SAGDC,EAAA,sHAAA;AAAA;QAEC,QAAAD;AAAA,QACA,cAAA,KAAA;AAAA,QACA,OAAA,KAAA;AAAA;;;EAKH,OAAA;AAAA;;;IAIC,SAAA;;;;;;;AAYC,WAAA,MAAA,aAAA,EAAAE,CAAA;AAAA;IAED,UAAAC,GAAA;AAMC,WAAA,MAAA,iBAAAA,EAAA,SAAA,CAAA;AAAA;;EAIF,UAAA;;;EAIA,SAAA;AAAA;;AAGE,UAAA,GAAA,KAAA,cAAA,CAAA,KAAA,kBAIA;AAAA,aAAA,UAAA,IACA,KAAA,QAAA,MACA,KAAA,YAAA,CAAA;AACA,YAAA;AACC,gBAAAC,IAAA,MAAAC,EAAA,IAAA,KAAA,GAAA;AACA,eAAA,YAAAD,EAAA,KAAA,KAAA;AAAA,QACD,SAAA,GAAA;0BAEC,QAAA,MAAA,CAAA;AAAA,QACD,UAAA;AACC,eAAA,UAAA;AAAA,QACD;AAAA;AAAA;;AAGH;;EA5MqC,OAAA;GAC9BE,IAAA,EAAA,OAAA,4BAAA;;;AADK,SAAAZ,EAAA,cAAAa,EAAA,aAAXf,EAAA,GAAAC,EAAA,OAAAe,GAAA;AAAA,IACCX,EAAA,OAAAS,GAAA;AAAA,MACCT,EAAA,MAAA,MAAAY,EAAAd,EAAA,MAAA,GAAA,CAAA;AAAA,MACAE,EAAA,KAAA,MAAAY,EAAAF,EAAA,OAAA,GAAA,CAAA;AAAA;KAGDf,EAAA,EAAA,GAAAC,EAAAiB,GAAA,MAAAC,EAAAjB,EAAA,WAAA,CAAAkB;;MAEC,OAAA;AAAA;;;;QAvDHC,EAAA,IAAA,EAAA;;;"}
|
|
1
|
+
{"version":3,"file":"NcRelatedResourcesPanel-NqDuh_7F.mjs","sources":["../../src/components/NcRelatedResourcesPanel/NcResource.vue","../../src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue"],"sourcesContent":["<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\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<li class=\"resource\">\n\t\t<NcButton class=\"resource__button\"\n\t\t\t:aria-label=\"labelTranslated\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:href=\"url\">\n\t\t\t<template #icon>\n\t\t\t\t<div class=\"resource__icon\">\n\t\t\t\t\t<img :src=\"icon\">\n\t\t\t\t</div>\n\t\t\t</template>\n\t\t\t{{ name }}\n\t\t</NcButton>\n\t</li>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.ts'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcResource',\n\n\tcomponents: {\n\t\tNcButton,\n\t},\n\n\tprops: {\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\turl: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tlabelTranslated: t('Open link to \"{resourceName}\"', { resourceName: this.name }),\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.resource {\n\tdisplay: flex;\n\talign-items: center;\n\theight: 44px;\n\n\t// Override default NcButton styles\n\t&__button {\n\t\twidth: 100% !important;\n\t\tjustify-content: flex-start !important;\n\t\tpadding: 0 !important;\n\n\t\t&:deep {\n\t\t\t.button-vue__wrapper {\n\t\t\t\tjustify-content: flex-start !important;\n\n\t\t\t\t.button-vue__text {\n\t\t\t\t\tfont-weight: normal !important;\n\t\t\t\t\tmargin-left: 2px !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t&__icon {\n\t\twidth: 32px;\n\t\theight: 32px;\n\t\tbackground-color: var(--color-text-maxcontrast);\n\t\tborder-radius: 50%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\n\t\timg {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\t}\n}\n</style>\n","<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n-->\n\n<docs>\n### Usage\n\nUse this component to display the related resources of a given item.\n\n```\n<template>\n\t<NcRelatedResourcesPanel provider-id=\"talk\"\n\t\theader=\"Related resources for talk\"\n\t\t:item-id=\"conversationId\" />\n</template>\n\n<script>\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tconversationId: 1,\n\t\t}\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<div v-if=\"appEnabled && isVisible\" class=\"related-resources\">\n\t\t<div class=\"related-resources__header\">\n\t\t\t<h5>{{ header }}</h5>\n\t\t\t<p>{{ subline }}</p>\n\t\t</div>\n\n\t\t<NcResource v-for=\"resource in resources\"\n\t\t\t:key=\"resource.itemId\"\n\t\t\tclass=\"related-resources__entry\"\n\t\t\t:icon=\"resource.icon\"\n\t\t\t:name=\"resource.title\"\n\t\t\t:url=\"resource.url\" />\n\t</div>\n</template>\n\n<script>\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\n\nimport NcResource from './NcResource.vue'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcRelatedResourcesPanel',\n\n\tcomponents: {\n\t\tNcResource,\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * The provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tproviderId: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * The item id which uniquely identities the e.g. Calendar event, Deck board, file, Talk room, etc.\n\t\t */\n\t\titemId: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Limits to specific resource type. i.e. any provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tresourceType: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Set the maximum number of resources to load\n\t\t */\n\t\tlimit: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t},\n\t\t/**\n\t\t * Only used by the files sidebar\n\t\t *\n\t\t * File info is passed when registered with `OCA.Sharing.ShareTabSections.registerSection()`\n\t\t */\n\t\tfileInfo: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Make the header name dynamic\n\t\t */\n\t\theader: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Related resources'),\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Anything shared with the same group of people will show up here'),\n\t\t},\n\t\t/**\n\t\t * If this element is used on a primary element set to true for primary styling.\n\t\t */\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\temits: [\n\t\t'has-error',\n\t\t'has-resources',\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tappEnabled: OC?.appswebroots?.related_resources !== undefined,\n\t\t\tloading: false,\n\t\t\terror: null,\n\t\t\tresources: [],\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisVisible() {\n\t\t\tif (this.loading) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn this.error ?? this.resources.length > 0\n\t\t},\n\t\tsubline() {\n\t\t\tif (this.error) {\n\t\t\t\treturn t('Error getting related resources. Please contact your system administrator if you have any questions.')\n\t\t\t}\n\t\t\treturn this.description\n\t\t},\n\n\t\thasResourceInfo() {\n\t\t\tif (this.providerId !== null && this.itemId !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\tif (this.fileInfo !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\n\t\tisFiles() {\n\t\t\treturn this.fileInfo?.id !== undefined\n\t\t},\n\n\t\turl() {\n\t\t\tlet providerId = null\n\t\t\tlet itemId = null\n\n\t\t\tif (this.isFiles) {\n\t\t\t\tproviderId = 'files'\n\t\t\t\titemId = this.fileInfo.id\n\t\t\t} else {\n\t\t\t\tproviderId = this.providerId\n\t\t\t\titemId = this.itemId\n\t\t\t}\n\n\t\t\treturn generateOcsUrl('/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json', {\n\t\t\t\tproviderId,\n\t\t\t\titemId,\n\t\t\t\tresourceType: this.resourceType,\n\t\t\t\tlimit: this.limit,\n\t\t\t})\n\t\t},\n\t},\n\n\twatch: {\n\t\tproviderId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\titemId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\tfileInfo() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\terror(error) {\n\t\t\t/**\n\t\t\t * Emitted when the error value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-error', Boolean(error))\n\t\t},\n\t\tresources(resources) {\n\t\t\t/**\n\t\t\t * Emitted when the resources value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-resources', resources.length > 0)\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.fetchRelatedResources()\n\t},\n\n\tmethods: {\n\t\tt,\n\t\tasync fetchRelatedResources() {\n\t\t\tif (!this.appEnabled || !this.hasResourceInfo) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.loading = true\n\t\t\tthis.error = null\n\t\t\tthis.resources = []\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(this.url)\n\t\t\t\tthis.resources = response.data.ocs?.data\n\t\t\t} catch (e) {\n\t\t\t\tthis.error = e\n\t\t\t\tconsole.error(e)\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.related-resources {\n\t&__header {\n\t\tmargin: 0 0 10px 46px;\n\n\t\th5 {\n\t\t\tfont-weight: bold;\n\t\t}\n\n\t\tp {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main$1","NcButton","_hoisted_1$1","_hoisted_2$1","_hoisted_3","openBlock","createElementBlock","$data","$props","withCtx","createElementVNode","_sfc_main","_a","providerId","itemId","generateOcsUrl","error","resources","response","axios","e","_hoisted_2","$options","_hoisted_1","toDisplayString","Fragment","renderList","resource","createCommentVNode"],"mappings":";;;;;;;;AA2CA,MAAAA,IAAA;AAAA,EACC,MAAA;AAAA;IAGC,UAAAC;AAAA;EAGD,OAAA;AAAA;;;;;;;;;;;;;EAeA,OAAA;AACC,WAAA;AAAA,MACC,iBAAA,EAAA,iCAAA,EAAA,cAAA,KAAA,KAAA,CAAA;AAAA,IACD;AAAA;EAGD,SAAA;AAAA;;AAGD,GAnDKC,IAAA,EAAA,OAAA,WAAA,GAMIC,IAAA,EAAA,OAAA,iBAAA,GA7BTC,IAAA,CAAA,KAAA;;;AAuBC,SAAAC,EAAA,GAAAC,EAAA,MAAAJ,GAAA;AAAA;MACW,OAAA;AAAA,MACR,cAAAK,EAAA;AAAA,MACD,MAAA;AAAA,MACC,MAAAC,EAAA;AAAA;MACU,MAAAC,EAAA,MAAA;AAAA,QACVC,EAAA,OAAAP,GAAA;AAAA,UACCO,EAAA,OAAA,EAAA,KAAAF,EAAA,KAAA,GAAA,MAAA,GAAAJ,CAAA;AAAA;;MA9BL,SAAAK,EAAA,MAAA;AAAA;;;;;;;;ACsEA,MAAAE,IAAA;AAAA,EACC,MAAA;AAAA;;;EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;IAWC,QAAA;AAAA,MACC,MAAA,CAAA,QAAA,MAAA;AAAA;;;;;;;;;;;;IAaD,OAAA;AAAA;MAEC,SAAA;AAAA;;;;;;IAOD,UAAA;AAAA;;;;;;IAOA,QAAA;AAAA;;;;;MAMC,SAAA,EAAA,iEAAA;AAAA;;;;IAKD,SAAA;AAAA;;;;EAMD,OAAA;AAAA;IAEC;AAAA;EAGD,OAAA;;AACC,WAAA;AAAA;;;;IAKA;AAAA;EAGD,UAAA;AAAA;;AAEE,aAAA,KAAA,gBAGAC,IAAA,KAAA,UAAA,OAAAA,IAAA,KAAA,UAAA,SAAA;AAAA;IAED,UAAA;AACC,aAAA,KAAA,oHAGA,KAAA;AAAA;IAGD,kBAAA;;;IAUA,UAAA;;AACC,eAAAA,IAAA,KAAA,aAAA,gBAAAA,EAAA,QAAA;AAAA;;AAIA,UAAAC,IAAA;AAGA,aAAA,KAAA,WACCA,IAAA,uDAIAC,IAAA,KAAA,SAGDC,EAAA,sHAAA;AAAA;QAEC,QAAAD;AAAA,QACA,cAAA,KAAA;AAAA,QACA,OAAA,KAAA;AAAA;;;EAKH,OAAA;AAAA;;;IAIC,SAAA;;;;;;;AAYC,WAAA,MAAA,aAAA,EAAAE,CAAA;AAAA;IAED,UAAAC,GAAA;AAMC,WAAA,MAAA,iBAAAA,EAAA,SAAA,CAAA;AAAA;;EAIF,UAAA;;;EAIA,SAAA;AAAA;;;AAGE,UAAA,GAAA,KAAA,cAAA,CAAA,KAAA,kBAIA;AAAA,aAAA,UAAA,IACA,KAAA,QAAA,MACA,KAAA,YAAA,CAAA;AACA,YAAA;AACC,gBAAAC,IAAA,MAAAC,EAAA,IAAA,KAAA,GAAA;AACA,eAAA,aAAAP,IAAAM,EAAA,KAAA,QAAA,gBAAAN,EAAA;AAAA,QACD,SAAAQ,GAAA;0BAEC,QAAA,MAAAA,CAAA;AAAA,QACD,UAAA;AACC,eAAA,UAAA;AAAA,QACD;AAAA;AAAA;;AAGH;;EA5MqC,OAAA;GAC9BC,IAAA,EAAA,OAAA,4BAAA;;;AADK,SAAAd,EAAA,cAAAe,EAAA,aAAXjB,EAAA,GAAAC,EAAA,OAAAiB,GAAA;AAAA,IACCb,EAAA,OAAAW,GAAA;AAAA,MACCX,EAAA,MAAA,MAAAc,EAAAhB,EAAA,MAAA,GAAA,CAAA;AAAA,MACAE,EAAA,KAAA,MAAAc,EAAAF,EAAA,OAAA,GAAA,CAAA;AAAA;KAGDjB,EAAA,EAAA,GAAAC,EAAAmB,GAAA,MAAAC,EAAAnB,EAAA,WAAA,CAAAoB;;MAEC,OAAA;AAAA;;;;QAvDHC,EAAA,IAAA,EAAA;;;"}
|
package/dist/chunks/{NcRelatedResourcesPanel-oTY2g2gt.cjs → NcRelatedResourcesPanel-QgNIHnCY.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var S = require("../assets/NcRelatedResourcesPanel-i1-7CClp.css");
|
|
2
|
-
const d = require("@nextcloud/axios"), h = require("@nextcloud/router"), p = require("./NcButton-
|
|
3
|
-
|
|
2
|
+
const d = require("@nextcloud/axios"), h = require("@nextcloud/router"), p = require("./NcButton-7UKtzkX5.cjs"), s = require("./_l10n-Fl7RzbcZ.cjs"), t = require("vue"), a = require("./_plugin-vue_export-helper-xG2iG1wl.cjs"), f = (e) => e && e.__esModule ? e : { default: e }, m = /* @__PURE__ */ f(d);
|
|
3
|
+
s.register(s.t31);
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "NcResource",
|
|
6
6
|
components: {
|
|
@@ -22,36 +22,36 @@ const _ = {
|
|
|
22
22
|
},
|
|
23
23
|
data() {
|
|
24
24
|
return {
|
|
25
|
-
labelTranslated:
|
|
25
|
+
labelTranslated: s.t('Open link to "{resourceName}"', { resourceName: this.name })
|
|
26
26
|
};
|
|
27
27
|
},
|
|
28
28
|
methods: {
|
|
29
|
-
t:
|
|
29
|
+
t: s.t
|
|
30
30
|
}
|
|
31
31
|
}, y = { class: "resource" }, g = { class: "resource__icon" }, N = ["src"];
|
|
32
|
-
function I(
|
|
33
|
-
const c =
|
|
34
|
-
return
|
|
35
|
-
|
|
32
|
+
function I(e, r, o, u, n, l) {
|
|
33
|
+
const c = t.resolveComponent("NcButton");
|
|
34
|
+
return t.openBlock(), t.createElementBlock("li", y, [
|
|
35
|
+
t.createVNode(c, {
|
|
36
36
|
class: "resource__button",
|
|
37
37
|
"aria-label": n.labelTranslated,
|
|
38
38
|
type: "tertiary",
|
|
39
39
|
href: o.url
|
|
40
40
|
}, {
|
|
41
|
-
icon:
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
icon: t.withCtx(() => [
|
|
42
|
+
t.createElementVNode("div", g, [
|
|
43
|
+
t.createElementVNode("img", { src: o.icon }, null, 8, N)
|
|
44
44
|
])
|
|
45
45
|
]),
|
|
46
|
-
default:
|
|
47
|
-
|
|
46
|
+
default: t.withCtx(() => [
|
|
47
|
+
t.createTextVNode(" " + t.toDisplayString(o.name), 1)
|
|
48
48
|
]),
|
|
49
49
|
_: 1
|
|
50
50
|
}, 8, ["aria-label", "href"])
|
|
51
51
|
]);
|
|
52
52
|
}
|
|
53
53
|
const R = /* @__PURE__ */ a._export_sfc(_, [["render", I], ["__scopeId", "data-v-e4d1c077"]]);
|
|
54
|
-
|
|
54
|
+
s.register(s.t8);
|
|
55
55
|
const b = {
|
|
56
56
|
name: "NcRelatedResourcesPanel",
|
|
57
57
|
components: {
|
|
@@ -100,11 +100,11 @@ const b = {
|
|
|
100
100
|
*/
|
|
101
101
|
header: {
|
|
102
102
|
type: String,
|
|
103
|
-
default:
|
|
103
|
+
default: s.t("Related resources")
|
|
104
104
|
},
|
|
105
105
|
description: {
|
|
106
106
|
type: String,
|
|
107
|
-
default:
|
|
107
|
+
default: s.t("Anything shared with the same group of people will show up here")
|
|
108
108
|
},
|
|
109
109
|
/**
|
|
110
110
|
* If this element is used on a primary element set to true for primary styling.
|
|
@@ -119,8 +119,9 @@ const b = {
|
|
|
119
119
|
"has-resources"
|
|
120
120
|
],
|
|
121
121
|
data() {
|
|
122
|
+
var e;
|
|
122
123
|
return {
|
|
123
|
-
appEnabled: OC
|
|
124
|
+
appEnabled: ((e = OC == null ? void 0 : OC.appswebroots) == null ? void 0 : e.related_resources) !== void 0,
|
|
124
125
|
loading: !1,
|
|
125
126
|
error: null,
|
|
126
127
|
resources: []
|
|
@@ -128,22 +129,24 @@ const b = {
|
|
|
128
129
|
},
|
|
129
130
|
computed: {
|
|
130
131
|
isVisible() {
|
|
131
|
-
|
|
132
|
+
var e;
|
|
133
|
+
return this.loading ? !1 : (e = this.error) != null ? e : this.resources.length > 0;
|
|
132
134
|
},
|
|
133
135
|
subline() {
|
|
134
|
-
return this.error ?
|
|
136
|
+
return this.error ? s.t("Error getting related resources. Please contact your system administrator if you have any questions.") : this.description;
|
|
135
137
|
},
|
|
136
138
|
hasResourceInfo() {
|
|
137
139
|
return this.providerId !== null && this.itemId !== null || this.fileInfo !== null;
|
|
138
140
|
},
|
|
139
141
|
isFiles() {
|
|
140
|
-
|
|
142
|
+
var e;
|
|
143
|
+
return ((e = this.fileInfo) == null ? void 0 : e.id) !== void 0;
|
|
141
144
|
},
|
|
142
145
|
url() {
|
|
143
|
-
let
|
|
144
|
-
return this.isFiles ? (
|
|
145
|
-
providerId:
|
|
146
|
-
itemId:
|
|
146
|
+
let e = null, r = null;
|
|
147
|
+
return this.isFiles ? (e = "files", r = this.fileInfo.id) : (e = this.providerId, r = this.itemId), h.generateOcsUrl("/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json", {
|
|
148
|
+
providerId: e,
|
|
149
|
+
itemId: r,
|
|
147
150
|
resourceType: this.resourceType,
|
|
148
151
|
limit: this.limit
|
|
149
152
|
});
|
|
@@ -159,26 +162,27 @@ const b = {
|
|
|
159
162
|
fileInfo() {
|
|
160
163
|
this.fetchRelatedResources();
|
|
161
164
|
},
|
|
162
|
-
error(
|
|
163
|
-
this.$emit("has-error", !!
|
|
165
|
+
error(e) {
|
|
166
|
+
this.$emit("has-error", !!e);
|
|
164
167
|
},
|
|
165
|
-
resources(
|
|
166
|
-
this.$emit("has-resources",
|
|
168
|
+
resources(e) {
|
|
169
|
+
this.$emit("has-resources", e.length > 0);
|
|
167
170
|
}
|
|
168
171
|
},
|
|
169
172
|
created() {
|
|
170
173
|
this.fetchRelatedResources();
|
|
171
174
|
},
|
|
172
175
|
methods: {
|
|
173
|
-
t:
|
|
176
|
+
t: s.t,
|
|
174
177
|
async fetchRelatedResources() {
|
|
178
|
+
var e;
|
|
175
179
|
if (!(!this.appEnabled || !this.hasResourceInfo)) {
|
|
176
180
|
this.loading = !0, this.error = null, this.resources = [];
|
|
177
181
|
try {
|
|
178
|
-
const
|
|
179
|
-
this.resources =
|
|
180
|
-
} catch (
|
|
181
|
-
this.error =
|
|
182
|
+
const r = await m.default.get(this.url);
|
|
183
|
+
this.resources = (e = r.data.ocs) == null ? void 0 : e.data;
|
|
184
|
+
} catch (r) {
|
|
185
|
+
this.error = r, console.error(r);
|
|
182
186
|
} finally {
|
|
183
187
|
this.loading = !1;
|
|
184
188
|
}
|
|
@@ -189,21 +193,21 @@ const b = {
|
|
|
189
193
|
key: 0,
|
|
190
194
|
class: "related-resources"
|
|
191
195
|
}, B = { class: "related-resources__header" };
|
|
192
|
-
function E(
|
|
193
|
-
const c =
|
|
194
|
-
return n.appEnabled && l.isVisible ? (
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
function E(e, r, o, u, n, l) {
|
|
197
|
+
const c = t.resolveComponent("NcResource");
|
|
198
|
+
return n.appEnabled && l.isVisible ? (t.openBlock(), t.createElementBlock("div", v, [
|
|
199
|
+
t.createElementVNode("div", B, [
|
|
200
|
+
t.createElementVNode("h5", null, t.toDisplayString(o.header), 1),
|
|
201
|
+
t.createElementVNode("p", null, t.toDisplayString(l.subline), 1)
|
|
198
202
|
]),
|
|
199
|
-
(
|
|
203
|
+
(t.openBlock(!0), t.createElementBlock(t.Fragment, null, t.renderList(n.resources, (i) => (t.openBlock(), t.createBlock(c, {
|
|
200
204
|
key: i.itemId,
|
|
201
205
|
class: "related-resources__entry",
|
|
202
206
|
icon: i.icon,
|
|
203
207
|
name: i.title,
|
|
204
208
|
url: i.url
|
|
205
209
|
}, null, 8, ["icon", "name", "url"]))), 128))
|
|
206
|
-
])) :
|
|
210
|
+
])) : t.createCommentVNode("", !0);
|
|
207
211
|
}
|
|
208
212
|
const k = /* @__PURE__ */ a._export_sfc(b, [["render", E], ["__scopeId", "data-v-dc5c8227"]]);
|
|
209
213
|
exports.NcRelatedResourcesPanel = k;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcRelatedResourcesPanel-oTY2g2gt.cjs","sources":["../../src/components/NcRelatedResourcesPanel/NcResource.vue","../../src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue"],"sourcesContent":["<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\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<li class=\"resource\">\n\t\t<NcButton class=\"resource__button\"\n\t\t\t:aria-label=\"labelTranslated\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:href=\"url\">\n\t\t\t<template #icon>\n\t\t\t\t<div class=\"resource__icon\">\n\t\t\t\t\t<img :src=\"icon\">\n\t\t\t\t</div>\n\t\t\t</template>\n\t\t\t{{ name }}\n\t\t</NcButton>\n\t</li>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.ts'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcResource',\n\n\tcomponents: {\n\t\tNcButton,\n\t},\n\n\tprops: {\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\turl: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tlabelTranslated: t('Open link to \"{resourceName}\"', { resourceName: this.name }),\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.resource {\n\tdisplay: flex;\n\talign-items: center;\n\theight: 44px;\n\n\t// Override default NcButton styles\n\t&__button {\n\t\twidth: 100% !important;\n\t\tjustify-content: flex-start !important;\n\t\tpadding: 0 !important;\n\n\t\t&:deep {\n\t\t\t.button-vue__wrapper {\n\t\t\t\tjustify-content: flex-start !important;\n\n\t\t\t\t.button-vue__text {\n\t\t\t\t\tfont-weight: normal !important;\n\t\t\t\t\tmargin-left: 2px !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t&__icon {\n\t\twidth: 32px;\n\t\theight: 32px;\n\t\tbackground-color: var(--color-text-maxcontrast);\n\t\tborder-radius: 50%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\n\t\timg {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\t}\n}\n</style>\n","<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n-->\n\n<docs>\n### Usage\n\nUse this component to display the related resources of a given item.\n\n```\n<template>\n\t<NcRelatedResourcesPanel provider-id=\"talk\"\n\t\theader=\"Related resources for talk\"\n\t\t:item-id=\"conversationId\" />\n</template>\n\n<script>\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tconversationId: 1,\n\t\t}\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<div v-if=\"appEnabled && isVisible\" class=\"related-resources\">\n\t\t<div class=\"related-resources__header\">\n\t\t\t<h5>{{ header }}</h5>\n\t\t\t<p>{{ subline }}</p>\n\t\t</div>\n\n\t\t<NcResource v-for=\"resource in resources\"\n\t\t\t:key=\"resource.itemId\"\n\t\t\tclass=\"related-resources__entry\"\n\t\t\t:icon=\"resource.icon\"\n\t\t\t:name=\"resource.title\"\n\t\t\t:url=\"resource.url\" />\n\t</div>\n</template>\n\n<script>\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\n\nimport NcResource from './NcResource.vue'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcRelatedResourcesPanel',\n\n\tcomponents: {\n\t\tNcResource,\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * The provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tproviderId: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * The item id which uniquely identities the e.g. Calendar event, Deck board, file, Talk room, etc.\n\t\t */\n\t\titemId: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Limits to specific resource type. i.e. any provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tresourceType: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Set the maximum number of resources to load\n\t\t */\n\t\tlimit: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t},\n\t\t/**\n\t\t * Only used by the files sidebar\n\t\t *\n\t\t * File info is passed when registered with `OCA.Sharing.ShareTabSections.registerSection()`\n\t\t */\n\t\tfileInfo: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Make the header name dynamic\n\t\t */\n\t\theader: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Related resources'),\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Anything shared with the same group of people will show up here'),\n\t\t},\n\t\t/**\n\t\t * If this element is used on a primary element set to true for primary styling.\n\t\t */\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\temits: [\n\t\t'has-error',\n\t\t'has-resources',\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tappEnabled: OC?.appswebroots?.related_resources !== undefined,\n\t\t\tloading: false,\n\t\t\terror: null,\n\t\t\tresources: [],\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisVisible() {\n\t\t\tif (this.loading) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn this.error ?? this.resources.length > 0\n\t\t},\n\t\tsubline() {\n\t\t\tif (this.error) {\n\t\t\t\treturn t('Error getting related resources. Please contact your system administrator if you have any questions.')\n\t\t\t}\n\t\t\treturn this.description\n\t\t},\n\n\t\thasResourceInfo() {\n\t\t\tif (this.providerId !== null && this.itemId !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\tif (this.fileInfo !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\n\t\tisFiles() {\n\t\t\treturn this.fileInfo?.id !== undefined\n\t\t},\n\n\t\turl() {\n\t\t\tlet providerId = null\n\t\t\tlet itemId = null\n\n\t\t\tif (this.isFiles) {\n\t\t\t\tproviderId = 'files'\n\t\t\t\titemId = this.fileInfo.id\n\t\t\t} else {\n\t\t\t\tproviderId = this.providerId\n\t\t\t\titemId = this.itemId\n\t\t\t}\n\n\t\t\treturn generateOcsUrl('/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json', {\n\t\t\t\tproviderId,\n\t\t\t\titemId,\n\t\t\t\tresourceType: this.resourceType,\n\t\t\t\tlimit: this.limit,\n\t\t\t})\n\t\t},\n\t},\n\n\twatch: {\n\t\tproviderId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\titemId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\tfileInfo() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\terror(error) {\n\t\t\t/**\n\t\t\t * Emitted when the error value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-error', Boolean(error))\n\t\t},\n\t\tresources(resources) {\n\t\t\t/**\n\t\t\t * Emitted when the resources value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-resources', resources.length > 0)\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.fetchRelatedResources()\n\t},\n\n\tmethods: {\n\t\tt,\n\t\tasync fetchRelatedResources() {\n\t\t\tif (!this.appEnabled || !this.hasResourceInfo) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.loading = true\n\t\t\tthis.error = null\n\t\t\tthis.resources = []\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(this.url)\n\t\t\t\tthis.resources = response.data.ocs?.data\n\t\t\t} catch (e) {\n\t\t\t\tthis.error = e\n\t\t\t\tconsole.error(e)\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.related-resources {\n\t&__header {\n\t\tmargin: 0 0 10px 46px;\n\n\t\th5 {\n\t\t\tfont-weight: bold;\n\t\t}\n\n\t\tp {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main$1","NcButton","_l10n","_hoisted_1$1","_hoisted_2$1","_hoisted_3","vue","$data","$props","_sfc_main","providerId","itemId","router","error","resources","response","axios__default","e","_hoisted_2","$options","_hoisted_1","resource"],"mappings":";;;AA2CA,MAAAA,IAAA;AAAA,EACC,MAAA;AAAA;IAGC,UAAAC,EAAA;AAAA;EAGD,OAAA;AAAA;;;;;;;;;;;;;EAeA,OAAA;AACC,WAAA;AAAA,MACC,iBAAAC,EAAA,EAAA,iCAAA,EAAA,cAAA,KAAA,KAAA,CAAA;AAAA,IACD;AAAA;EAGD,SAAA;AAAA;;AAGD,GAnDKC,IAAA,EAAA,OAAA,WAAA,GAMIC,IAAA,EAAA,OAAA,iBAAA,GA7BTC,IAAA,CAAA,KAAA;;;AAuBC,SAAAC,EAAA,UAAA,GAAAA,EAAA,mBAAA,MAAAH,GAAA;AAAA;MACW,OAAA;AAAA,MACR,cAAAI,EAAA;AAAA,MACD,MAAA;AAAA,MACC,MAAAC,EAAA;AAAA;MACU,MAAAF,EAAA,QAAA,MAAA;AAAA,QACVA,EAAA,mBAAA,OAAAF,GAAA;AAAA,UACCE,EAAA,mBAAA,OAAA,EAAA,KAAAE,EAAA,KAAA,GAAA,MAAA,GAAAH,CAAA;AAAA;;MA9BL,SAAAC,EAAA,QAAA,MAAA;AAAA;;;;;;;;ACsEA,MAAAG,IAAA;AAAA,EACC,MAAA;AAAA;;;EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;IAWC,QAAA;AAAA,MACC,MAAA,CAAA,QAAA,MAAA;AAAA;;;;;;;;;;;;IAaD,OAAA;AAAA;MAEC,SAAA;AAAA;;;;;;IAOD,UAAA;AAAA;;;;;;IAOA,QAAA;AAAA;;;;;MAMC,SAAAP,EAAA,EAAA,iEAAA;AAAA;;;;IAKD,SAAA;AAAA;;;;EAMD,OAAA;AAAA;IAEC;AAAA;EAGD,OAAA;AACC,WAAA;AAAA;;;;IAKA;AAAA;EAGD,UAAA;AAAA;AAEE,aAAA,KAAA,eAGA,KAAA,SAAA,KAAA,UAAA,SAAA;AAAA;IAED,UAAA;AACC,aAAA,KAAA,sHAGA,KAAA;AAAA;IAGD,kBAAA;;;IAUA,UAAA;AACC,aAAA,KAAA,UAAA,OAAA;AAAA;;AAIA,UAAAQ,IAAA;AAGA,aAAA,KAAA,WACCA,IAAA,uDAIAC,IAAA,KAAA,SAGDC,EAAA,eAAA,sHAAA;AAAA;QAEC,QAAAD;AAAA,QACA,cAAA,KAAA;AAAA,QACA,OAAA,KAAA;AAAA;;;EAKH,OAAA;AAAA;;;IAIC,SAAA;;;;;;;AAYC,WAAA,MAAA,aAAA,EAAAE,CAAA;AAAA;IAED,UAAAC,GAAA;AAMC,WAAA,MAAA,iBAAAA,EAAA,SAAA,CAAA;AAAA;;EAIF,UAAA;;;EAIA,SAAA;AAAA;;AAGE,UAAA,GAAA,KAAA,cAAA,CAAA,KAAA,kBAIA;AAAA,aAAA,UAAA,IACA,KAAA,QAAA,MACA,KAAA,YAAA,CAAA;AACA,YAAA;AACC,gBAAAC,IAAA,MAAAC,EAAA,QAAA,IAAA,KAAA,GAAA;AACA,eAAA,YAAAD,EAAA,KAAA,KAAA;AAAA,QACD,SAAAE,GAAA;0BAEC,QAAA,MAAAA,CAAA;AAAA,QACD,UAAA;AACC,eAAA,UAAA;AAAA,QACD;AAAA;AAAA;;AAGH;;EA5MqC,OAAA;GAC9BC,IAAA,EAAA,OAAA,4BAAA;;;AADK,SAAAX,EAAA,cAAAY,EAAA,aAAXb,EAAA,UAAA,GAAAA,EAAA,mBAAA,OAAAc,GAAA;AAAA,IACCd,EAAA,mBAAA,OAAAY,GAAA;AAAA,MACCZ,EAAA,mBAAA,MAAA,MAAAA,EAAA,gBAAAE,EAAA,MAAA,GAAA,CAAA;AAAA,MACAF,EAAA,mBAAA,KAAA,MAAAA,EAAA,gBAAAa,EAAA,OAAA,GAAA,CAAA;AAAA;KAGDb,EAAA,UAAA,EAAA,GAAAA,EAAA,mBAAAA,EAAA,UAAA,MAAAA,EAAA,WAAAC,EAAA,WAAA,CAAAc;;MAEC,OAAA;AAAA;;;;QAvDHf,EAAA,mBAAA,IAAA,EAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"NcRelatedResourcesPanel-QgNIHnCY.cjs","sources":["../../src/components/NcRelatedResourcesPanel/NcResource.vue","../../src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue"],"sourcesContent":["<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\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<li class=\"resource\">\n\t\t<NcButton class=\"resource__button\"\n\t\t\t:aria-label=\"labelTranslated\"\n\t\t\ttype=\"tertiary\"\n\t\t\t:href=\"url\">\n\t\t\t<template #icon>\n\t\t\t\t<div class=\"resource__icon\">\n\t\t\t\t\t<img :src=\"icon\">\n\t\t\t\t</div>\n\t\t\t</template>\n\t\t\t{{ name }}\n\t\t</NcButton>\n\t</li>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.ts'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcResource',\n\n\tcomponents: {\n\t\tNcButton,\n\t},\n\n\tprops: {\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\turl: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tlabelTranslated: t('Open link to \"{resourceName}\"', { resourceName: this.name }),\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.resource {\n\tdisplay: flex;\n\talign-items: center;\n\theight: 44px;\n\n\t// Override default NcButton styles\n\t&__button {\n\t\twidth: 100% !important;\n\t\tjustify-content: flex-start !important;\n\t\tpadding: 0 !important;\n\n\t\t&:deep {\n\t\t\t.button-vue__wrapper {\n\t\t\t\tjustify-content: flex-start !important;\n\n\t\t\t\t.button-vue__text {\n\t\t\t\t\tfont-weight: normal !important;\n\t\t\t\t\tmargin-left: 2px !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t&__icon {\n\t\twidth: 32px;\n\t\theight: 32px;\n\t\tbackground-color: var(--color-text-maxcontrast);\n\t\tborder-radius: 50%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\n\t\timg {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\t}\n}\n</style>\n","<!--\n - @copyright 2022 Christopher Ng <chrng8@gmail.com>\n -\n - @author Christopher Ng <chrng8@gmail.com>\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n-->\n\n<docs>\n### Usage\n\nUse this component to display the related resources of a given item.\n\n```\n<template>\n\t<NcRelatedResourcesPanel provider-id=\"talk\"\n\t\theader=\"Related resources for talk\"\n\t\t:item-id=\"conversationId\" />\n</template>\n\n<script>\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tconversationId: 1,\n\t\t}\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<div v-if=\"appEnabled && isVisible\" class=\"related-resources\">\n\t\t<div class=\"related-resources__header\">\n\t\t\t<h5>{{ header }}</h5>\n\t\t\t<p>{{ subline }}</p>\n\t\t</div>\n\n\t\t<NcResource v-for=\"resource in resources\"\n\t\t\t:key=\"resource.itemId\"\n\t\t\tclass=\"related-resources__entry\"\n\t\t\t:icon=\"resource.icon\"\n\t\t\t:name=\"resource.title\"\n\t\t\t:url=\"resource.url\" />\n\t</div>\n</template>\n\n<script>\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\n\nimport NcResource from './NcResource.vue'\n\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcRelatedResourcesPanel',\n\n\tcomponents: {\n\t\tNcResource,\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * The provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tproviderId: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * The item id which uniquely identities the e.g. Calendar event, Deck board, file, Talk room, etc.\n\t\t */\n\t\titemId: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Limits to specific resource type. i.e. any provider id implemented with `\\OCA\\RelatedResources\\IRelatedResourceProvider::getProviderId()`\n\t\t */\n\t\tresourceType: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Set the maximum number of resources to load\n\t\t */\n\t\tlimit: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t},\n\t\t/**\n\t\t * Only used by the files sidebar\n\t\t *\n\t\t * File info is passed when registered with `OCA.Sharing.ShareTabSections.registerSection()`\n\t\t */\n\t\tfileInfo: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * Make the header name dynamic\n\t\t */\n\t\theader: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Related resources'),\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: t('Anything shared with the same group of people will show up here'),\n\t\t},\n\t\t/**\n\t\t * If this element is used on a primary element set to true for primary styling.\n\t\t */\n\t\tprimary: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\temits: [\n\t\t'has-error',\n\t\t'has-resources',\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tappEnabled: OC?.appswebroots?.related_resources !== undefined,\n\t\t\tloading: false,\n\t\t\terror: null,\n\t\t\tresources: [],\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisVisible() {\n\t\t\tif (this.loading) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn this.error ?? this.resources.length > 0\n\t\t},\n\t\tsubline() {\n\t\t\tif (this.error) {\n\t\t\t\treturn t('Error getting related resources. Please contact your system administrator if you have any questions.')\n\t\t\t}\n\t\t\treturn this.description\n\t\t},\n\n\t\thasResourceInfo() {\n\t\t\tif (this.providerId !== null && this.itemId !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\tif (this.fileInfo !== null) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\n\t\tisFiles() {\n\t\t\treturn this.fileInfo?.id !== undefined\n\t\t},\n\n\t\turl() {\n\t\t\tlet providerId = null\n\t\t\tlet itemId = null\n\n\t\t\tif (this.isFiles) {\n\t\t\t\tproviderId = 'files'\n\t\t\t\titemId = this.fileInfo.id\n\t\t\t} else {\n\t\t\t\tproviderId = this.providerId\n\t\t\t\titemId = this.itemId\n\t\t\t}\n\n\t\t\treturn generateOcsUrl('/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json', {\n\t\t\t\tproviderId,\n\t\t\t\titemId,\n\t\t\t\tresourceType: this.resourceType,\n\t\t\t\tlimit: this.limit,\n\t\t\t})\n\t\t},\n\t},\n\n\twatch: {\n\t\tproviderId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\titemId() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\tfileInfo() {\n\t\t\tthis.fetchRelatedResources()\n\t\t},\n\t\terror(error) {\n\t\t\t/**\n\t\t\t * Emitted when the error value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-error', Boolean(error))\n\t\t},\n\t\tresources(resources) {\n\t\t\t/**\n\t\t\t * Emitted when the resources value changes\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('has-resources', resources.length > 0)\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.fetchRelatedResources()\n\t},\n\n\tmethods: {\n\t\tt,\n\t\tasync fetchRelatedResources() {\n\t\t\tif (!this.appEnabled || !this.hasResourceInfo) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.loading = true\n\t\t\tthis.error = null\n\t\t\tthis.resources = []\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(this.url)\n\t\t\t\tthis.resources = response.data.ocs?.data\n\t\t\t} catch (e) {\n\t\t\t\tthis.error = e\n\t\t\t\tconsole.error(e)\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.related-resources {\n\t&__header {\n\t\tmargin: 0 0 10px 46px;\n\n\t\th5 {\n\t\t\tfont-weight: bold;\n\t\t}\n\n\t\tp {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main$1","NcButton","_l10n","_hoisted_1$1","_hoisted_2$1","_hoisted_3","vue","$data","$props","_sfc_main","_a","providerId","itemId","router","error","resources","response","axios__default","e","_hoisted_2","$options","_hoisted_1","resource"],"mappings":";;;AA2CA,MAAAA,IAAA;AAAA,EACC,MAAA;AAAA;IAGC,UAAAC,EAAA;AAAA;EAGD,OAAA;AAAA;;;;;;;;;;;;;EAeA,OAAA;AACC,WAAA;AAAA,MACC,iBAAAC,EAAA,EAAA,iCAAA,EAAA,cAAA,KAAA,KAAA,CAAA;AAAA,IACD;AAAA;EAGD,SAAA;AAAA;;AAGD,GAnDKC,IAAA,EAAA,OAAA,WAAA,GAMIC,IAAA,EAAA,OAAA,iBAAA,GA7BTC,IAAA,CAAA,KAAA;;;AAuBC,SAAAC,EAAA,UAAA,GAAAA,EAAA,mBAAA,MAAAH,GAAA;AAAA;MACW,OAAA;AAAA,MACR,cAAAI,EAAA;AAAA,MACD,MAAA;AAAA,MACC,MAAAC,EAAA;AAAA;MACU,MAAAF,EAAA,QAAA,MAAA;AAAA,QACVA,EAAA,mBAAA,OAAAF,GAAA;AAAA,UACCE,EAAA,mBAAA,OAAA,EAAA,KAAAE,EAAA,KAAA,GAAA,MAAA,GAAAH,CAAA;AAAA;;MA9BL,SAAAC,EAAA,QAAA,MAAA;AAAA;;;;;;;;ACsEA,MAAAG,IAAA;AAAA,EACC,MAAA;AAAA;;;EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;IAWC,QAAA;AAAA,MACC,MAAA,CAAA,QAAA,MAAA;AAAA;;;;;;;;;;;;IAaD,OAAA;AAAA;MAEC,SAAA;AAAA;;;;;;IAOD,UAAA;AAAA;;;;;;IAOA,QAAA;AAAA;;;;;MAMC,SAAAP,EAAA,EAAA,iEAAA;AAAA;;;;IAKD,SAAA;AAAA;;;;EAMD,OAAA;AAAA;IAEC;AAAA;EAGD,OAAA;;AACC,WAAA;AAAA;;;;IAKA;AAAA;EAGD,UAAA;AAAA;;AAEE,aAAA,KAAA,gBAGAQ,IAAA,KAAA,UAAA,OAAAA,IAAA,KAAA,UAAA,SAAA;AAAA;IAED,UAAA;AACC,aAAA,KAAA,sHAGA,KAAA;AAAA;IAGD,kBAAA;;;IAUA,UAAA;;AACC,eAAAA,IAAA,KAAA,aAAA,gBAAAA,EAAA,QAAA;AAAA;;AAIA,UAAAC,IAAA;AAGA,aAAA,KAAA,WACCA,IAAA,uDAIAC,IAAA,KAAA,SAGDC,EAAA,eAAA,sHAAA;AAAA;QAEC,QAAAD;AAAA,QACA,cAAA,KAAA;AAAA,QACA,OAAA,KAAA;AAAA;;;EAKH,OAAA;AAAA;;;IAIC,SAAA;;;;;;;AAYC,WAAA,MAAA,aAAA,EAAAE,CAAA;AAAA;IAED,UAAAC,GAAA;AAMC,WAAA,MAAA,iBAAAA,EAAA,SAAA,CAAA;AAAA;;EAIF,UAAA;;;EAIA,SAAA;AAAA;;;AAGE,UAAA,GAAA,KAAA,cAAA,CAAA,KAAA,kBAIA;AAAA,aAAA,UAAA,IACA,KAAA,QAAA,MACA,KAAA,YAAA,CAAA;AACA,YAAA;AACC,gBAAAC,IAAA,MAAAC,EAAA,QAAA,IAAA,KAAA,GAAA;AACA,eAAA,aAAAP,IAAAM,EAAA,KAAA,QAAA,gBAAAN,EAAA;AAAA,QACD,SAAAQ,GAAA;0BAEC,QAAA,MAAAA,CAAA;AAAA,QACD,UAAA;AACC,eAAA,UAAA;AAAA,QACD;AAAA;AAAA;;AAGH;;EA5MqC,OAAA;GAC9BC,IAAA,EAAA,OAAA,4BAAA;;;AADK,SAAAZ,EAAA,cAAAa,EAAA,aAAXd,EAAA,UAAA,GAAAA,EAAA,mBAAA,OAAAe,GAAA;AAAA,IACCf,EAAA,mBAAA,OAAAa,GAAA;AAAA,MACCb,EAAA,mBAAA,MAAA,MAAAA,EAAA,gBAAAE,EAAA,MAAA,GAAA,CAAA;AAAA,MACAF,EAAA,mBAAA,KAAA,MAAAA,EAAA,gBAAAc,EAAA,OAAA,GAAA,CAAA;AAAA;KAGDd,EAAA,UAAA,EAAA,GAAAA,EAAA,mBAAAA,EAAA,UAAA,MAAAA,EAAA,WAAAC,EAAA,WAAA,CAAAe;;MAEC,OAAA;AAAA;;;;QAvDHhB,EAAA,mBAAA,IAAA,EAAA;;;;"}
|