@nextcloud/vue 9.0.0-alpha.1 → 9.0.0-alpha.2
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 +51 -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/NcActionCaption.cjs +1 -1
- package/dist/Components/NcActionCaption.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/NcActionSeparator.cjs +1 -1
- package/dist/Components/NcActionSeparator.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/NcAppContentDetails.cjs +1 -1
- package/dist/Components/NcAppContentDetails.mjs +1 -1
- package/dist/Components/NcAppContentList.cjs +1 -1
- package/dist/Components/NcAppContentList.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/NcAppNavigationIconBullet.cjs +1 -1
- package/dist/Components/NcAppNavigationIconBullet.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/NcAppNavigationSpacer.cjs +1 -1
- package/dist/Components/NcAppNavigationSpacer.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/NcCounterBubble.cjs +1 -1
- package/dist/Components/NcCounterBubble.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/NcEllipsisedOption.cjs +1 -1
- package/dist/Components/NcEllipsisedOption.mjs +1 -1
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcEmptyContent.cjs +1 -1
- package/dist/Components/NcEmptyContent.mjs +1 -1
- package/dist/Components/NcGuestContent.cjs +1 -1
- package/dist/Components/NcGuestContent.mjs +1 -1
- package/dist/Components/NcHeaderMenu.cjs +1 -1
- package/dist/Components/NcHeaderMenu.mjs +1 -1
- package/dist/Components/NcHighlight.cjs +1 -1
- package/dist/Components/NcHighlight.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/NcLoadingIcon.cjs +1 -1
- package/dist/Components/NcLoadingIcon.mjs +1 -1
- package/dist/Components/NcModal.cjs +5 -5
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +12 -12
- 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 +11 -11
- package/dist/Components/NcRichText.cjs.map +1 -1
- package/dist/Components/NcRichText.mjs +22 -21
- package/dist/Components/NcRichText.mjs.map +1 -1
- package/dist/Components/NcSavingIndicatorIcon.cjs +1 -1
- package/dist/Components/NcSavingIndicatorIcon.mjs +1 -1
- 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/Directives/Linkify.cjs +1 -1
- package/dist/Directives/Linkify.mjs +1 -1
- package/dist/Directives/Tooltip.cjs +1 -1
- package/dist/Directives/Tooltip.mjs +1 -1
- package/dist/Functions/emoji.cjs +1 -1
- package/dist/Functions/emoji.mjs +1 -1
- package/dist/Functions/reference.cjs +16 -0
- package/dist/Functions/reference.cjs.map +1 -0
- package/dist/Functions/reference.mjs +17 -0
- package/dist/Functions/reference.mjs.map +1 -0
- package/dist/Functions/registerReference.cjs +72 -0
- package/dist/Functions/registerReference.cjs.map +1 -0
- package/dist/Functions/registerReference.mjs +72 -0
- package/dist/Functions/registerReference.mjs.map +1 -0
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/richEditor.cjs +2 -2
- package/dist/Mixins/richEditor.mjs +2 -2
- package/dist/assets/NcActionButton-CgQyKNIq.css +134 -0
- package/dist/assets/NcActionInput-BmkpDXi3.css +243 -0
- package/dist/assets/NcActions-BIRrYzVc.css +84 -0
- package/dist/assets/NcAppSidebar-zFWj1DS1.css +318 -0
- package/dist/assets/NcAppSidebarTab-1-7Y9AAW.css +45 -0
- package/dist/assets/NcBreadcrumb-CakpXb4B.css +80 -0
- package/dist/assets/NcColorPicker-DW_KICrM.css +131 -0
- package/dist/assets/NcDateTimePicker-CMP2zDCI.css +907 -0
- package/dist/assets/NcHeaderMenu-3pDvjNMi.css +91 -0
- package/dist/assets/NcListItem-CIIpz4DX.css +165 -0
- package/dist/assets/NcMentionBubble-BhiXWJv8.css +81 -0
- package/dist/assets/NcModal-DIWPznuf.css +298 -0
- package/dist/assets/NcRichContenteditable-guxSvwzF.css +260 -0
- package/dist/assets/NcRichText-DBK7EM1f.css +215 -0
- package/dist/assets/referencePickerModal-D1QsnSDx.css +316 -0
- package/dist/chunks/AlertCircleOutline-CWsuE9tq.cjs +41 -0
- package/dist/chunks/AlertCircleOutline-CWsuE9tq.cjs.map +1 -0
- package/dist/chunks/AlertCircleOutline-Cz6pQZo8.mjs +44 -0
- package/dist/chunks/AlertCircleOutline-Cz6pQZo8.mjs.map +1 -0
- package/dist/chunks/ArrowLeft-Bm_mFQce.mjs +44 -0
- package/dist/chunks/ArrowLeft-Bm_mFQce.mjs.map +1 -0
- package/dist/chunks/ArrowLeft-DIneKq1y.cjs +41 -0
- package/dist/chunks/ArrowLeft-DIneKq1y.cjs.map +1 -0
- package/dist/chunks/ArrowRight-M9UNYhUi.cjs +41 -0
- package/dist/chunks/ArrowRight-M9UNYhUi.cjs.map +1 -0
- package/dist/chunks/ArrowRight-oiVcv9Oj.mjs +44 -0
- package/dist/chunks/ArrowRight-oiVcv9Oj.mjs.map +1 -0
- package/dist/chunks/Check-C_8Ygo3G.mjs +44 -0
- package/dist/chunks/Check-C_8Ygo3G.mjs.map +1 -0
- package/dist/chunks/Check-DfVOclb6.cjs +41 -0
- package/dist/chunks/Check-DfVOclb6.cjs.map +1 -0
- package/dist/chunks/ChevronDown-CvJ88qCX.cjs +41 -0
- package/dist/chunks/ChevronDown-CvJ88qCX.cjs.map +1 -0
- package/dist/chunks/ChevronDown-DeLPnYXl.mjs +44 -0
- package/dist/chunks/ChevronDown-DeLPnYXl.mjs.map +1 -0
- package/dist/chunks/ChevronRight-54kOBYZt.cjs +41 -0
- package/dist/chunks/ChevronRight-54kOBYZt.cjs.map +1 -0
- package/dist/chunks/ChevronRight-SLd1I986.mjs +44 -0
- package/dist/chunks/ChevronRight-SLd1I986.mjs.map +1 -0
- package/dist/chunks/Close-4aPDwwcw.mjs +44 -0
- package/dist/chunks/Close-4aPDwwcw.mjs.map +1 -0
- package/dist/chunks/Close-PZEquBdx.cjs +41 -0
- package/dist/chunks/Close-PZEquBdx.cjs.map +1 -0
- package/dist/chunks/DotsHorizontal-B8FxxlxU.cjs +41 -0
- package/dist/chunks/DotsHorizontal-B8FxxlxU.cjs.map +1 -0
- package/dist/chunks/DotsHorizontal-pvjyTUje.mjs +44 -0
- package/dist/chunks/DotsHorizontal-pvjyTUje.mjs.map +1 -0
- package/dist/chunks/GenColors-CGEjWPvv.mjs +142 -0
- package/dist/chunks/GenColors-CGEjWPvv.mjs.map +1 -0
- package/dist/chunks/GenColors-DRcn_SJd.cjs +141 -0
- package/dist/chunks/GenColors-DRcn_SJd.cjs.map +1 -0
- package/dist/chunks/GenRandomId-B2O1GMbH.cjs.map +1 -0
- package/dist/chunks/GenRandomId-BW3iYFf9.mjs.map +1 -0
- package/dist/chunks/Linkify-BaDLLFxP.mjs.map +1 -0
- package/dist/chunks/Linkify-Dola0NBa.cjs.map +1 -0
- package/dist/chunks/NcActionButton-BCDAgaDz.mjs +181 -0
- package/dist/chunks/NcActionButton-BCDAgaDz.mjs.map +1 -0
- package/dist/chunks/NcActionButton-CY1fHJQ9.cjs +174 -0
- package/dist/chunks/NcActionButton-CY1fHJQ9.cjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-D0d-HRnE.mjs +55 -0
- package/dist/chunks/NcActionButtonGroup-D0d-HRnE.mjs.map +1 -0
- package/dist/chunks/NcActionButtonGroup-DTLam8-g.cjs +50 -0
- package/dist/chunks/NcActionButtonGroup-DTLam8-g.cjs.map +1 -0
- package/dist/chunks/NcActionCaption-B_rOOzNC.mjs +31 -0
- package/dist/chunks/NcActionCaption-B_rOOzNC.mjs.map +1 -0
- package/dist/chunks/NcActionCaption-DHRMXPVe.cjs +27 -0
- package/dist/chunks/NcActionCaption-DHRMXPVe.cjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-CwnTOfl9.mjs +113 -0
- package/dist/chunks/NcActionCheckbox-CwnTOfl9.mjs.map +1 -0
- package/dist/chunks/NcActionCheckbox-D2GKYfvY.cjs +107 -0
- package/dist/chunks/NcActionCheckbox-D2GKYfvY.cjs.map +1 -0
- package/dist/chunks/NcActionInput-CYt-FXxq.mjs +339 -0
- package/dist/chunks/NcActionInput-CYt-FXxq.mjs.map +1 -0
- package/dist/chunks/NcActionInput-DJtsVqN7.cjs +328 -0
- package/dist/chunks/NcActionInput-DJtsVqN7.cjs.map +1 -0
- package/dist/chunks/NcActionLink-BRgo4E26.mjs +111 -0
- package/dist/chunks/NcActionLink-BRgo4E26.mjs.map +1 -0
- package/dist/chunks/NcActionLink-D22rQHJq.cjs +106 -0
- package/dist/chunks/NcActionLink-D22rQHJq.cjs.map +1 -0
- package/dist/chunks/NcActionRadio-AGL4aE5u.cjs +115 -0
- package/dist/chunks/NcActionRadio-AGL4aE5u.cjs.map +1 -0
- package/dist/chunks/NcActionRadio-BdCOqdN2.mjs +121 -0
- package/dist/chunks/NcActionRadio-BdCOqdN2.mjs.map +1 -0
- package/dist/chunks/NcActionRouter-BkIkQlfu.cjs +70 -0
- package/dist/chunks/NcActionRouter-BkIkQlfu.cjs.map +1 -0
- package/dist/chunks/NcActionRouter-H5FgAlYQ.mjs +75 -0
- package/dist/chunks/NcActionRouter-H5FgAlYQ.mjs.map +1 -0
- package/dist/chunks/NcActionSeparator-D02ioeCN.cjs +12 -0
- package/dist/chunks/NcActionSeparator-D02ioeCN.cjs.map +1 -0
- package/dist/chunks/NcActionSeparator-okTIYFkK.mjs +16 -0
- package/dist/chunks/NcActionSeparator-okTIYFkK.mjs.map +1 -0
- package/dist/chunks/NcActionText-BRZgb0Fq.mjs +57 -0
- package/dist/chunks/NcActionText-BRZgb0Fq.mjs.map +1 -0
- package/dist/chunks/NcActionText-Cp8-7wvh.cjs +52 -0
- package/dist/chunks/NcActionText-Cp8-7wvh.cjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-CD8i9-dJ.mjs +121 -0
- package/dist/chunks/NcActionTextEditable-CD8i9-dJ.mjs.map +1 -0
- package/dist/chunks/NcActionTextEditable-CWcNEnUL.cjs +114 -0
- package/dist/chunks/NcActionTextEditable-CWcNEnUL.cjs.map +1 -0
- package/dist/chunks/NcActions-Bj5vZPRQ.cjs +488 -0
- package/dist/chunks/NcActions-Bj5vZPRQ.cjs.map +1 -0
- package/dist/chunks/NcActions-WuvVCajO.mjs +497 -0
- package/dist/chunks/NcActions-WuvVCajO.mjs.map +1 -0
- package/dist/chunks/NcAppContent-Dq6grdtx.mjs +275 -0
- package/dist/chunks/NcAppContent-Dq6grdtx.mjs.map +1 -0
- package/dist/chunks/NcAppContent-DsIamTan.cjs +264 -0
- package/dist/chunks/NcAppContent-DsIamTan.cjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-CvUozTqP.mjs +14 -0
- package/dist/chunks/NcAppContentDetails-CvUozTqP.mjs.map +1 -0
- package/dist/chunks/NcAppContentDetails-DsLhppiS.cjs +11 -0
- package/dist/chunks/NcAppContentDetails-DsLhppiS.cjs.map +1 -0
- package/dist/chunks/NcAppContentList-D-qjh3g4.mjs +26 -0
- package/dist/chunks/NcAppContentList-D-qjh3g4.mjs.map +1 -0
- package/dist/chunks/NcAppContentList-DqX0zgZY.cjs +23 -0
- package/dist/chunks/NcAppContentList-DqX0zgZY.cjs.map +1 -0
- package/dist/chunks/NcAppNavigation-BCNgCIf7.cjs +125 -0
- package/dist/chunks/NcAppNavigation-BCNgCIf7.cjs.map +1 -0
- package/dist/chunks/NcAppNavigation-CLto3k5S.mjs +134 -0
- package/dist/chunks/NcAppNavigation-CLto3k5S.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-CNik_CEJ.mjs +47 -0
- package/dist/chunks/NcAppNavigationCaption-CNik_CEJ.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationCaption-CQ38PmuT.cjs +42 -0
- package/dist/chunks/NcAppNavigationCaption-CQ38PmuT.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-CEbvUXYj.mjs +40 -0
- package/dist/chunks/NcAppNavigationIconBullet-CEbvUXYj.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationIconBullet-DrdaoHf7.cjs +36 -0
- package/dist/chunks/NcAppNavigationIconBullet-DrdaoHf7.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-BEkthi4A.cjs +595 -0
- package/dist/chunks/NcAppNavigationItem-BEkthi4A.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationItem-BeSAkgAm.mjs +608 -0
- package/dist/chunks/NcAppNavigationItem-BeSAkgAm.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-BwmSEpXx.mjs +56 -0
- package/dist/chunks/NcAppNavigationNew-BwmSEpXx.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNew-DF7fUtNQ.cjs +51 -0
- package/dist/chunks/NcAppNavigationNew-DF7fUtNQ.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-CMDoj14v.mjs +112 -0
- package/dist/chunks/NcAppNavigationNewItem-CMDoj14v.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationNewItem-lLiWC0-z.cjs +106 -0
- package/dist/chunks/NcAppNavigationNewItem-lLiWC0-z.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-C-O4K1_4.cjs +128 -0
- package/dist/chunks/NcAppNavigationSettings-C-O4K1_4.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationSettings-CEAWAeco.mjs +131 -0
- package/dist/chunks/NcAppNavigationSettings-CEAWAeco.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-BH0ov6fv.mjs +13 -0
- package/dist/chunks/NcAppNavigationSpacer-BH0ov6fv.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationSpacer-DdS1H3cj.cjs +9 -0
- package/dist/chunks/NcAppNavigationSpacer-DdS1H3cj.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-CIqwnKC7.mjs +145 -0
- package/dist/chunks/NcAppNavigationToggle-CIqwnKC7.mjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-avN0M9oy.cjs +140 -0
- package/dist/chunks/NcAppNavigationToggle-avN0M9oy.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-CeeQ2_O-.cjs +211 -0
- package/dist/chunks/NcAppSettingsDialog-CeeQ2_O-.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsDialog-CyFDTOqw.mjs +219 -0
- package/dist/chunks/NcAppSettingsDialog-CyFDTOqw.mjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-DsAP6wdP.cjs +54 -0
- package/dist/chunks/NcAppSettingsSection-DsAP6wdP.cjs.map +1 -0
- package/dist/chunks/NcAppSettingsSection-GNkU29UF.mjs +58 -0
- package/dist/chunks/NcAppSettingsSection-GNkU29UF.mjs.map +1 -0
- package/dist/chunks/NcAppSidebar-6ftxWNCE.cjs +744 -0
- package/dist/chunks/NcAppSidebar-6ftxWNCE.cjs.map +1 -0
- package/dist/chunks/NcAppSidebar-DYHC70oF.mjs +764 -0
- package/dist/chunks/NcAppSidebar-DYHC70oF.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-BJzHFFJX.cjs +84 -0
- package/dist/chunks/NcAppSidebarTab-BJzHFFJX.cjs.map +1 -0
- package/dist/chunks/NcAppSidebarTab-BmTCj_Ca.mjs +88 -0
- package/dist/chunks/NcAppSidebarTab-BmTCj_Ca.mjs.map +1 -0
- package/dist/chunks/NcAvatar-B3R0ACOT.cjs +526 -0
- package/dist/chunks/NcAvatar-B3R0ACOT.cjs.map +1 -0
- package/dist/chunks/NcAvatar-DVbgzwca.mjs +542 -0
- package/dist/chunks/NcAvatar-DVbgzwca.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-BRlO8NNX.mjs +224 -0
- package/dist/chunks/NcBreadcrumb-BRlO8NNX.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumb-D8JwR_8r.cjs +216 -0
- package/dist/chunks/NcBreadcrumb-D8JwR_8r.cjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-BmbrLray.mjs +381 -0
- package/dist/chunks/NcBreadcrumbs-BmbrLray.mjs.map +1 -0
- package/dist/chunks/NcBreadcrumbs-DecEU_-k.cjs +369 -0
- package/dist/chunks/NcBreadcrumbs-DecEU_-k.cjs.map +1 -0
- package/dist/chunks/NcButton-BOed2DnZ.mjs +255 -0
- package/dist/chunks/NcButton-BOed2DnZ.mjs.map +1 -0
- package/dist/chunks/NcButton-CR5WPHh9.cjs +252 -0
- package/dist/chunks/NcButton-CR5WPHh9.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch--es7vR2V.cjs +696 -0
- package/dist/chunks/NcCheckboxRadioSwitch--es7vR2V.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch-CDiJJ9IX.mjs +701 -0
- package/dist/chunks/NcCheckboxRadioSwitch-CDiJJ9IX.mjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CE3l0hQS.cjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CE3l0hQS.cjs.map +1 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CHo5e7Ze.mjs +3 -0
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-CHo5e7Ze.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-DOUQgdnj.mjs +253 -0
- package/dist/chunks/NcColorPicker-DOUQgdnj.mjs.map +1 -0
- package/dist/chunks/NcColorPicker-cCQEzGA4.cjs +241 -0
- package/dist/chunks/NcColorPicker-cCQEzGA4.cjs.map +1 -0
- package/dist/chunks/NcContent-0OI_1AV7.mjs +111 -0
- package/dist/chunks/NcContent-0OI_1AV7.mjs.map +1 -0
- package/dist/chunks/NcContent-ByM_6Z0R.cjs +103 -0
- package/dist/chunks/NcContent-ByM_6Z0R.cjs.map +1 -0
- package/dist/chunks/NcCounterBubble-CsG1KK6d.cjs +40 -0
- package/dist/chunks/NcCounterBubble-CsG1KK6d.cjs.map +1 -0
- package/dist/chunks/NcCounterBubble-qywYxMp0.mjs +44 -0
- package/dist/chunks/NcCounterBubble-qywYxMp0.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-C2GJEVVp.cjs +161 -0
- package/dist/chunks/NcDashboardWidget-C2GJEVVp.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidget-CKSAHnoN.mjs +169 -0
- package/dist/chunks/NcDashboardWidget-CKSAHnoN.mjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-CB3bDffz.cjs +177 -0
- package/dist/chunks/NcDashboardWidgetItem-CB3bDffz.cjs.map +1 -0
- package/dist/chunks/NcDashboardWidgetItem-rzVYkWCJ.mjs +184 -0
- package/dist/chunks/NcDashboardWidgetItem-rzVYkWCJ.mjs.map +1 -0
- package/dist/chunks/NcDateTime-CKbqXHYe.mjs +140 -0
- package/dist/chunks/NcDateTime-CKbqXHYe.mjs.map +1 -0
- package/dist/chunks/NcDateTime-D7MYyd1V.cjs +136 -0
- package/dist/chunks/NcDateTime-D7MYyd1V.cjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-CpnkJmoO.mjs +338 -0
- package/dist/chunks/NcDateTimePicker-CpnkJmoO.mjs.map +1 -0
- package/dist/chunks/NcDateTimePicker-eZW9rrgc.cjs +328 -0
- package/dist/chunks/NcDateTimePicker-eZW9rrgc.cjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-BJoVg44O.mjs +181 -0
- package/dist/chunks/NcDateTimePickerNative-BJoVg44O.mjs.map +1 -0
- package/dist/chunks/NcDateTimePickerNative-DeWN8SbT.cjs +176 -0
- package/dist/chunks/NcDateTimePickerNative-DeWN8SbT.cjs.map +1 -0
- package/dist/chunks/NcDialog-BoO_IJmr.cjs +237 -0
- package/dist/chunks/NcDialog-BoO_IJmr.cjs.map +1 -0
- package/dist/chunks/NcDialog-zrnK1IH3.mjs +245 -0
- package/dist/chunks/NcDialog-zrnK1IH3.mjs.map +1 -0
- package/dist/chunks/NcDialogButton-B3Cpbj1A.cjs +73 -0
- package/dist/chunks/NcDialogButton-B3Cpbj1A.cjs.map +1 -0
- package/dist/chunks/NcDialogButton-m4odhCm8.mjs +78 -0
- package/dist/chunks/NcDialogButton-m4odhCm8.mjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-C1E1JoTb.cjs +81 -0
- package/dist/chunks/NcEllipsisedOption-C1E1JoTb.cjs.map +1 -0
- package/dist/chunks/NcEllipsisedOption-DqwXJZz0.mjs +86 -0
- package/dist/chunks/NcEllipsisedOption-DqwXJZz0.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-DHPGSiU1.mjs +339 -0
- package/dist/chunks/NcEmojiPicker-DHPGSiU1.mjs.map +1 -0
- package/dist/chunks/NcEmojiPicker-QvIjugm3.cjs +326 -0
- package/dist/chunks/NcEmojiPicker-QvIjugm3.cjs.map +1 -0
- package/dist/chunks/NcEmptyContent-CYEf8Lje.mjs +62 -0
- package/dist/chunks/NcEmptyContent-CYEf8Lje.mjs.map +1 -0
- package/dist/chunks/NcEmptyContent-DmwlAinq.cjs +58 -0
- package/dist/chunks/NcEmptyContent-DmwlAinq.cjs.map +1 -0
- package/dist/chunks/NcGuestContent-DZFbq5Fg.mjs +21 -0
- package/dist/chunks/NcGuestContent-DZFbq5Fg.mjs.map +1 -0
- package/dist/chunks/NcGuestContent-Drc2bdg6.cjs +17 -0
- package/dist/chunks/NcGuestContent-Drc2bdg6.cjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-B7VuxuvJ.mjs +225 -0
- package/dist/chunks/NcHeaderMenu-B7VuxuvJ.mjs.map +1 -0
- package/dist/chunks/NcHeaderMenu-kxroyvdS.cjs +218 -0
- package/dist/chunks/NcHeaderMenu-kxroyvdS.cjs.map +1 -0
- package/dist/chunks/NcHighlight-DlBY2lba.cjs.map +1 -0
- package/dist/chunks/NcHighlight-GDN9q3CO.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-CHmWpTAZ.mjs +82 -0
- package/dist/chunks/NcIconSvgWrapper-CHmWpTAZ.mjs.map +1 -0
- package/dist/chunks/NcIconSvgWrapper-LZxj_D6o.cjs +77 -0
- package/dist/chunks/NcIconSvgWrapper-LZxj_D6o.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-CbIGLBVK.cjs +105 -0
- package/dist/chunks/NcInputConfirmCancel-CbIGLBVK.cjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-nPRl_bEp.mjs +112 -0
- package/dist/chunks/NcInputConfirmCancel-nPRl_bEp.mjs.map +1 -0
- package/dist/chunks/NcInputField-BSNgY76i.cjs +283 -0
- package/dist/chunks/NcInputField-BSNgY76i.cjs.map +1 -0
- package/dist/chunks/NcInputField-CSBO_eCf.mjs +291 -0
- package/dist/chunks/NcInputField-CSBO_eCf.mjs.map +1 -0
- package/dist/chunks/NcListItem-BNvxfN1S.mjs +313 -0
- package/dist/chunks/NcListItem-BNvxfN1S.mjs.map +1 -0
- package/dist/chunks/NcListItem-DMxuTt4N.cjs +306 -0
- package/dist/chunks/NcListItem-DMxuTt4N.cjs.map +1 -0
- package/dist/chunks/NcListItemIcon-BkAwX75l.cjs +189 -0
- package/dist/chunks/NcListItemIcon-BkAwX75l.cjs.map +1 -0
- package/dist/chunks/NcListItemIcon-DHTMHhZD.mjs +193 -0
- package/dist/chunks/NcListItemIcon-DHTMHhZD.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-C5Ohiq97.mjs +68 -0
- package/dist/chunks/NcLoadingIcon-C5Ohiq97.mjs.map +1 -0
- package/dist/chunks/NcLoadingIcon-DkXGgGqQ.cjs +64 -0
- package/dist/chunks/NcLoadingIcon-DkXGgGqQ.cjs.map +1 -0
- package/dist/chunks/NcNoteCard-BjfsJAvf.cjs +226 -0
- package/dist/chunks/NcNoteCard-BjfsJAvf.cjs.map +1 -0
- package/dist/chunks/NcNoteCard-xmrG6RQz.mjs +230 -0
- package/dist/chunks/NcNoteCard-xmrG6RQz.mjs.map +1 -0
- package/dist/chunks/NcPasswordField-BrMVmabB.cjs +255 -0
- package/dist/chunks/NcPasswordField-BrMVmabB.cjs.map +1 -0
- package/dist/chunks/NcPasswordField-CjdxvU1v.mjs +265 -0
- package/dist/chunks/NcPasswordField-CjdxvU1v.mjs.map +1 -0
- package/dist/chunks/NcPopover-BTBahSg4.mjs +223 -0
- package/dist/chunks/NcPopover-BTBahSg4.mjs.map +1 -0
- package/dist/chunks/NcPopover-MKJVwawt.cjs +216 -0
- package/dist/chunks/NcPopover-MKJVwawt.cjs.map +1 -0
- package/dist/chunks/NcProgressBar-CEnPHulQ.mjs +127 -0
- package/dist/chunks/NcProgressBar-CEnPHulQ.mjs.map +1 -0
- package/dist/chunks/NcProgressBar-jT7vnEwJ.cjs +123 -0
- package/dist/chunks/NcProgressBar-jT7vnEwJ.cjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-DrFkuXRS.cjs +213 -0
- package/dist/chunks/NcRelatedResourcesPanel-DrFkuXRS.cjs.map +1 -0
- package/dist/chunks/NcRelatedResourcesPanel-Dx3BH6bh.mjs +220 -0
- package/dist/chunks/NcRelatedResourcesPanel-Dx3BH6bh.mjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-B5yMDhrw.mjs +664 -0
- package/dist/chunks/NcRichContenteditable-B5yMDhrw.mjs.map +1 -0
- package/dist/chunks/NcRichContenteditable-D0CUoF_V.cjs +653 -0
- package/dist/chunks/NcRichContenteditable-D0CUoF_V.cjs.map +1 -0
- package/dist/chunks/NcRichText-BQPj0lNq.mjs +320 -0
- package/dist/chunks/NcRichText-BQPj0lNq.mjs.map +1 -0
- package/dist/chunks/NcRichText-D0TVxAuO.cjs +304 -0
- package/dist/chunks/NcRichText-D0TVxAuO.cjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-DFdsTMPU.cjs +71 -0
- package/dist/chunks/NcSavingIndicatorIcon-DFdsTMPU.cjs.map +1 -0
- package/dist/chunks/NcSavingIndicatorIcon-ePWAM_L4.mjs +74 -0
- package/dist/chunks/NcSavingIndicatorIcon-ePWAM_L4.mjs.map +1 -0
- package/dist/chunks/NcSelect-DXYUyhQf.cjs +513 -0
- package/dist/chunks/NcSelect-DXYUyhQf.cjs.map +1 -0
- package/dist/chunks/NcSelect-qdi4yiIe.mjs +525 -0
- package/dist/chunks/NcSelect-qdi4yiIe.mjs.map +1 -0
- package/dist/chunks/NcSelectTags-jZkEKG9G.cjs +256 -0
- package/dist/chunks/NcSelectTags-jZkEKG9G.cjs.map +1 -0
- package/dist/chunks/NcSelectTags-u25JEjub.mjs +263 -0
- package/dist/chunks/NcSelectTags-u25JEjub.mjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-BzR5Mvi8.cjs +108 -0
- package/dist/chunks/NcSettingsInputText-BzR5Mvi8.cjs.map +1 -0
- package/dist/chunks/NcSettingsInputText-DR_j-EbG.mjs +113 -0
- package/dist/chunks/NcSettingsInputText-DR_j-EbG.mjs.map +1 -0
- package/dist/chunks/NcSettingsSection-bQo-9KYI.mjs +118 -0
- package/dist/chunks/NcSettingsSection-bQo-9KYI.mjs.map +1 -0
- package/dist/chunks/NcSettingsSection-jP8vHGVg.cjs +114 -0
- package/dist/chunks/NcSettingsSection-jP8vHGVg.cjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-Dp3kxwBh.mjs +208 -0
- package/dist/chunks/NcSettingsSelectGroup-Dp3kxwBh.mjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-mihJA_d6.cjs +199 -0
- package/dist/chunks/NcSettingsSelectGroup-mihJA_d6.cjs.map +1 -0
- package/dist/chunks/NcTextArea-B66cixHu.cjs +196 -0
- package/dist/chunks/NcTextArea-B66cixHu.cjs.map +1 -0
- package/dist/chunks/NcTextArea-DD_dnDNK.mjs +203 -0
- package/dist/chunks/NcTextArea-DD_dnDNK.mjs.map +1 -0
- package/dist/chunks/NcTextField-Byh4JMan.cjs +158 -0
- package/dist/chunks/NcTextField-Byh4JMan.cjs.map +1 -0
- package/dist/chunks/NcTextField-CSVHVoW3.mjs +165 -0
- package/dist/chunks/NcTextField-CSVHVoW3.mjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-Bz-VFrVD.mjs +3790 -0
- package/dist/chunks/NcTimezonePicker-Bz-VFrVD.mjs.map +1 -0
- package/dist/chunks/NcTimezonePicker-C7OcnYvS.cjs +3783 -0
- package/dist/chunks/NcTimezonePicker-C7OcnYvS.cjs.map +1 -0
- package/dist/chunks/NcUserBubble-Br9z7OWT.mjs +205 -0
- package/dist/chunks/NcUserBubble-Br9z7OWT.mjs.map +1 -0
- package/dist/chunks/NcUserBubble-D5-GzbQ3.cjs +199 -0
- package/dist/chunks/NcUserBubble-D5-GzbQ3.cjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-Cvm2x61l.cjs +146 -0
- package/dist/chunks/NcUserStatusIcon-Cvm2x61l.cjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon-CyAVexsF.mjs +154 -0
- package/dist/chunks/NcUserStatusIcon-CyAVexsF.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-CUI_ekHj.mjs +27 -0
- package/dist/chunks/ScopeComponent-CUI_ekHj.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-D_Bohqyr.cjs +26 -0
- package/dist/chunks/ScopeComponent-D_Bohqyr.cjs.map +1 -0
- package/dist/chunks/_l10n-CEec8lDL.cjs.map +1 -0
- package/dist/chunks/_l10n-D1NkaqfQ.mjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-CTzpuyvq.cjs.map +1 -0
- package/dist/chunks/actionGlobal-BypLxitr.mjs.map +1 -0
- package/dist/chunks/actionGlobal-CmaqfbSh.cjs.map +1 -0
- package/dist/chunks/actionText-CmiezrFO.cjs +126 -0
- package/dist/chunks/actionText-CmiezrFO.cjs.map +1 -0
- package/dist/chunks/actionText-k6jBccGZ.mjs +127 -0
- package/dist/chunks/actionText-k6jBccGZ.mjs.map +1 -0
- package/dist/chunks/emoji-DEH9dtOa.cjs.map +1 -0
- package/dist/chunks/emoji-k4gWHxrE.mjs.map +1 -0
- package/dist/chunks/focusTrap-Be9GEB5C.mjs.map +1 -0
- package/dist/chunks/focusTrap-xauhLvvr.cjs.map +1 -0
- package/dist/chunks/index-DiIhxz0J.mjs +178 -0
- package/dist/chunks/index-DiIhxz0J.mjs.map +1 -0
- package/dist/chunks/index-w3db8-kv.cjs +172 -0
- package/dist/chunks/index-w3db8-kv.cjs.map +1 -0
- package/dist/chunks/logger-C7qcfVW8.mjs.map +1 -0
- package/dist/chunks/logger-D9RRY4er.cjs.map +1 -0
- package/dist/chunks/referencePickerModal-CpPoSMom.mjs +1280 -0
- package/dist/chunks/referencePickerModal-CpPoSMom.mjs.map +1 -0
- package/dist/chunks/referencePickerModal-DioghF2j.cjs +1258 -0
- package/dist/chunks/referencePickerModal-DioghF2j.cjs.map +1 -0
- package/dist/chunks/usernameToColor-CoTtSyuB.mjs +41 -0
- package/dist/chunks/usernameToColor-CoTtSyuB.mjs.map +1 -0
- package/dist/chunks/usernameToColor-o5K5L8PP.cjs +39 -0
- package/dist/chunks/usernameToColor-o5K5L8PP.cjs.map +1 -0
- package/dist/index.cjs +183 -168
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +216 -200
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/NcActionInput/NcActionInput.vue.d.ts +18 -8
- package/dist/src/components/NcActions/NcActions.vue.d.ts +1 -1
- package/dist/src/components/NcAppSidebar/NcAppSidebar.vue.d.ts +13 -0
- package/dist/src/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +17 -2
- package/dist/src/components/NcListItem/NcListItem.vue.d.ts +5 -14
- package/dist/src/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +23 -2
- package/dist/src/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +44 -38
- package/dist/src/components/NcRichText/NcReferenceWidget.vue.d.ts +11 -0
- package/dist/src/components/NcRichText/NcRichText.vue.d.ts +2 -2
- package/dist/src/components/NcRichText/autolink.d.ts +8 -0
- package/dist/src/components/NcSelect/NcSelect.vue.d.ts +1 -0
- package/dist/vendor.LICENSE.txt +4 -0
- package/package.json +6 -6
- package/dist/assets/NcActionButton-De4wlKZH.css +0 -134
- package/dist/assets/NcActionInput-MGVmREKR.css +0 -243
- package/dist/assets/NcActions-PR-7NI_x.css +0 -84
- package/dist/assets/NcAppSidebar-UFABwmpX.css +0 -318
- package/dist/assets/NcAppSidebarTab-goNfHK4d.css +0 -45
- package/dist/assets/NcBreadcrumb-ZsIS1jDx.css +0 -80
- package/dist/assets/NcColorPicker-FiFz1rof.css +0 -131
- package/dist/assets/NcDateTimePicker-CC5ocPIo.css +0 -907
- package/dist/assets/NcHeaderMenu-kKraSlS3.css +0 -92
- package/dist/assets/NcListItem-RylkggkP.css +0 -165
- package/dist/assets/NcMentionBubble-2OXF_uEJ.css +0 -81
- package/dist/assets/NcModal-lgvjJTYz.css +0 -298
- package/dist/assets/NcRichContenteditable--bkjerM1.css +0 -268
- package/dist/assets/referencePickerModal-k5G-IS2z.css +0 -509
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs +0 -44
- package/dist/chunks/AlertCircleOutline-1fsF7za7.mjs.map +0 -1
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs +0 -41
- package/dist/chunks/AlertCircleOutline-M7wVqz_-.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs +0 -41
- package/dist/chunks/ArrowLeft-arUkZZ3U.cjs.map +0 -1
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs +0 -44
- package/dist/chunks/ArrowLeft-uvAzhtxD.mjs.map +0 -1
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs +0 -44
- package/dist/chunks/ArrowRight-6gYTXvBH.mjs.map +0 -1
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs +0 -41
- package/dist/chunks/ArrowRight-UxW1qyeX.cjs.map +0 -1
- package/dist/chunks/Check-fwcsc82n.cjs +0 -41
- package/dist/chunks/Check-fwcsc82n.cjs.map +0 -1
- package/dist/chunks/Check-tQl0Vp18.mjs +0 -44
- package/dist/chunks/Check-tQl0Vp18.mjs.map +0 -1
- package/dist/chunks/ChevronDown-8tkFE94e.cjs +0 -41
- package/dist/chunks/ChevronDown-8tkFE94e.cjs.map +0 -1
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs +0 -44
- package/dist/chunks/ChevronDown-BxTx7hZm.mjs.map +0 -1
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs +0 -41
- package/dist/chunks/ChevronRight-7GGKl2bX.cjs.map +0 -1
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs +0 -44
- package/dist/chunks/ChevronRight-gF2cX9Cu.mjs.map +0 -1
- package/dist/chunks/Close-e2vDvDm2.cjs +0 -41
- package/dist/chunks/Close-e2vDvDm2.cjs.map +0 -1
- package/dist/chunks/Close-hKJ11hky.mjs +0 -44
- package/dist/chunks/Close-hKJ11hky.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs +0 -44
- package/dist/chunks/DotsHorizontal-JfmEIGBo.mjs.map +0 -1
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs +0 -41
- package/dist/chunks/DotsHorizontal-z8LXg-4B.cjs.map +0 -1
- package/dist/chunks/GenColors-L7jWucCS.mjs +0 -142
- package/dist/chunks/GenColors-L7jWucCS.mjs.map +0 -1
- package/dist/chunks/GenColors-vx_p2Tvw.cjs +0 -141
- package/dist/chunks/GenColors-vx_p2Tvw.cjs.map +0 -1
- package/dist/chunks/GenRandomId-ULxaMkkr.cjs.map +0 -1
- package/dist/chunks/GenRandomId-VodkdWbp.mjs.map +0 -1
- package/dist/chunks/Linkify-V7PfCeZ8.mjs.map +0 -1
- package/dist/chunks/Linkify-f3s3nAe_.cjs.map +0 -1
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs +0 -180
- package/dist/chunks/NcActionButton-VnbqrtOY.mjs.map +0 -1
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs +0 -173
- package/dist/chunks/NcActionButton-sJpgOVU9.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-5PPiueIz.cjs +0 -50
- package/dist/chunks/NcActionButtonGroup-5PPiueIz.cjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-oFPVvd4U.mjs +0 -55
- package/dist/chunks/NcActionButtonGroup-oFPVvd4U.mjs.map +0 -1
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs +0 -27
- package/dist/chunks/NcActionCaption-SIz5c1sE.cjs.map +0 -1
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs +0 -31
- package/dist/chunks/NcActionCaption-vguA2tEL.mjs.map +0 -1
- package/dist/chunks/NcActionCheckbox-5-bIAzkC.mjs +0 -113
- package/dist/chunks/NcActionCheckbox-5-bIAzkC.mjs.map +0 -1
- package/dist/chunks/NcActionCheckbox-CUXJQss6.cjs +0 -107
- package/dist/chunks/NcActionCheckbox-CUXJQss6.cjs.map +0 -1
- package/dist/chunks/NcActionInput-of1oXP_n.cjs +0 -335
- package/dist/chunks/NcActionInput-of1oXP_n.cjs.map +0 -1
- package/dist/chunks/NcActionInput-zg13uJ6x.mjs +0 -346
- package/dist/chunks/NcActionInput-zg13uJ6x.mjs.map +0 -1
- package/dist/chunks/NcActionLink-eBaRU5qY.cjs +0 -106
- package/dist/chunks/NcActionLink-eBaRU5qY.cjs.map +0 -1
- package/dist/chunks/NcActionLink-pscYsQ_3.mjs +0 -111
- package/dist/chunks/NcActionLink-pscYsQ_3.mjs.map +0 -1
- package/dist/chunks/NcActionRadio-1QLxEcfl.mjs +0 -121
- package/dist/chunks/NcActionRadio-1QLxEcfl.mjs.map +0 -1
- package/dist/chunks/NcActionRadio-3UkRsS6r.cjs +0 -115
- package/dist/chunks/NcActionRadio-3UkRsS6r.cjs.map +0 -1
- package/dist/chunks/NcActionRouter-BsOXVKlY.mjs +0 -75
- package/dist/chunks/NcActionRouter-BsOXVKlY.mjs.map +0 -1
- package/dist/chunks/NcActionRouter-c6pYto3T.cjs +0 -70
- package/dist/chunks/NcActionRouter-c6pYto3T.cjs.map +0 -1
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs +0 -16
- package/dist/chunks/NcActionSeparator-0-kc3NRC.mjs.map +0 -1
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs +0 -12
- package/dist/chunks/NcActionSeparator-craHv8oO.cjs.map +0 -1
- package/dist/chunks/NcActionText-9Ti6bh1b.mjs +0 -57
- package/dist/chunks/NcActionText-9Ti6bh1b.mjs.map +0 -1
- package/dist/chunks/NcActionText-Sw_tMRaW.cjs +0 -52
- package/dist/chunks/NcActionText-Sw_tMRaW.cjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-faJIAtYw.cjs +0 -114
- package/dist/chunks/NcActionTextEditable-faJIAtYw.cjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-xPb_cTMW.mjs +0 -121
- package/dist/chunks/NcActionTextEditable-xPb_cTMW.mjs.map +0 -1
- package/dist/chunks/NcActions-76CtOBCq.mjs +0 -497
- package/dist/chunks/NcActions-76CtOBCq.mjs.map +0 -1
- package/dist/chunks/NcActions-YpbmJ7hS.cjs +0 -488
- package/dist/chunks/NcActions-YpbmJ7hS.cjs.map +0 -1
- package/dist/chunks/NcAppContent-Tw5gNorr.mjs +0 -275
- package/dist/chunks/NcAppContent-Tw5gNorr.mjs.map +0 -1
- package/dist/chunks/NcAppContent-mHc-Ms2b.cjs +0 -264
- package/dist/chunks/NcAppContent-mHc-Ms2b.cjs.map +0 -1
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs +0 -11
- package/dist/chunks/NcAppContentDetails-BhbsNp93.cjs.map +0 -1
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs +0 -14
- package/dist/chunks/NcAppContentDetails-bD9j5H59.mjs.map +0 -1
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs +0 -26
- package/dist/chunks/NcAppContentList-_kO9F-p0.mjs.map +0 -1
- package/dist/chunks/NcAppContentList-blRtleBI.cjs +0 -23
- package/dist/chunks/NcAppContentList-blRtleBI.cjs.map +0 -1
- package/dist/chunks/NcAppNavigation-sY7HaHMv.mjs +0 -134
- package/dist/chunks/NcAppNavigation-sY7HaHMv.mjs.map +0 -1
- package/dist/chunks/NcAppNavigation-yEZ-RJA2.cjs +0 -125
- package/dist/chunks/NcAppNavigation-yEZ-RJA2.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-XpbVXYKV.cjs +0 -42
- package/dist/chunks/NcAppNavigationCaption-XpbVXYKV.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationCaption-pcyV3wRO.mjs +0 -47
- package/dist/chunks/NcAppNavigationCaption-pcyV3wRO.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs +0 -36
- package/dist/chunks/NcAppNavigationIconBullet-GLCjMfFF.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs +0 -40
- package/dist/chunks/NcAppNavigationIconBullet-OqquWWY6.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-JLYTEgEH.mjs +0 -608
- package/dist/chunks/NcAppNavigationItem-JLYTEgEH.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs +0 -595
- package/dist/chunks/NcAppNavigationItem-NE1UdZkS.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNew-6ZAJS_DY.mjs +0 -56
- package/dist/chunks/NcAppNavigationNew-6ZAJS_DY.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationNew-hmJL2IDR.cjs +0 -51
- package/dist/chunks/NcAppNavigationNew-hmJL2IDR.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-MjsbS_dO.cjs +0 -106
- package/dist/chunks/NcAppNavigationNewItem-MjsbS_dO.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationNewItem-NzRL8Uwy.mjs +0 -112
- package/dist/chunks/NcAppNavigationNewItem-NzRL8Uwy.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs +0 -128
- package/dist/chunks/NcAppNavigationSettings-DPeH305A.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs +0 -131
- package/dist/chunks/NcAppNavigationSettings-LR3QCvNr.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs +0 -9
- package/dist/chunks/NcAppNavigationSpacer-FIQIP65d.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs +0 -13
- package/dist/chunks/NcAppNavigationSpacer-gzdnlvnT.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-SEvIEY16.mjs +0 -145
- package/dist/chunks/NcAppNavigationToggle-SEvIEY16.mjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs +0 -140
- package/dist/chunks/NcAppNavigationToggle-sXvQDqok.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-HnYa47vg.cjs +0 -211
- package/dist/chunks/NcAppSettingsDialog-HnYa47vg.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsDialog-nbTWBbti.mjs +0 -219
- package/dist/chunks/NcAppSettingsDialog-nbTWBbti.mjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs +0 -54
- package/dist/chunks/NcAppSettingsSection-LHcKgBpz.cjs.map +0 -1
- package/dist/chunks/NcAppSettingsSection-a0Un2ZRv.mjs +0 -58
- package/dist/chunks/NcAppSettingsSection-a0Un2ZRv.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs +0 -712
- package/dist/chunks/NcAppSidebar-Tvy0LplS.cjs.map +0 -1
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs +0 -731
- package/dist/chunks/NcAppSidebar-xWMj1EI8.mjs.map +0 -1
- package/dist/chunks/NcAppSidebarTab-oPHofCKq.cjs +0 -84
- package/dist/chunks/NcAppSidebarTab-oPHofCKq.cjs.map +0 -1
- package/dist/chunks/NcAppSidebarTab-sMoFkDTb.mjs +0 -88
- package/dist/chunks/NcAppSidebarTab-sMoFkDTb.mjs.map +0 -1
- package/dist/chunks/NcAvatar-JsMCceHU.mjs +0 -542
- package/dist/chunks/NcAvatar-JsMCceHU.mjs.map +0 -1
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs +0 -526
- package/dist/chunks/NcAvatar-uPVG9WWg.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-7q3EEfcO.cjs +0 -208
- package/dist/chunks/NcBreadcrumb-7q3EEfcO.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumb-Fr7J33Qv.mjs +0 -216
- package/dist/chunks/NcBreadcrumb-Fr7J33Qv.mjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs +0 -369
- package/dist/chunks/NcBreadcrumbs-XVIsLfXn.cjs.map +0 -1
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs +0 -381
- package/dist/chunks/NcBreadcrumbs-ozezYXlM.mjs.map +0 -1
- package/dist/chunks/NcButton-7UKtzkX5.cjs +0 -252
- package/dist/chunks/NcButton-7UKtzkX5.cjs.map +0 -1
- package/dist/chunks/NcButton-YOXv3gFY.mjs +0 -255
- package/dist/chunks/NcButton-YOXv3gFY.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs +0 -696
- package/dist/chunks/NcCheckboxRadioSwitch-IA6Ssm8K.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs +0 -701
- package/dist/chunks/NcCheckboxRadioSwitch-NwTx_zgG.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-togIrFzp.cjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs +0 -3
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_48c28b96_lang-yghIE9RS.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-DNy0FRJb.mjs +0 -254
- package/dist/chunks/NcColorPicker-DNy0FRJb.mjs.map +0 -1
- package/dist/chunks/NcColorPicker-i9PgTYBd.cjs +0 -242
- package/dist/chunks/NcColorPicker-i9PgTYBd.cjs.map +0 -1
- package/dist/chunks/NcContent-HdbQCleH.mjs +0 -111
- package/dist/chunks/NcContent-HdbQCleH.mjs.map +0 -1
- package/dist/chunks/NcContent-MOEEa0z1.cjs +0 -103
- package/dist/chunks/NcContent-MOEEa0z1.cjs.map +0 -1
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs +0 -40
- package/dist/chunks/NcCounterBubble-0pCAxQl7.cjs.map +0 -1
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs +0 -44
- package/dist/chunks/NcCounterBubble-w6SmwTWu.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-JGkvqDWC.mjs +0 -169
- package/dist/chunks/NcDashboardWidget-JGkvqDWC.mjs.map +0 -1
- package/dist/chunks/NcDashboardWidget-qHSuK2yd.cjs +0 -161
- package/dist/chunks/NcDashboardWidget-qHSuK2yd.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-fl92G4Pt.cjs +0 -177
- package/dist/chunks/NcDashboardWidgetItem-fl92G4Pt.cjs.map +0 -1
- package/dist/chunks/NcDashboardWidgetItem-oQGp29KO.mjs +0 -184
- package/dist/chunks/NcDashboardWidgetItem-oQGp29KO.mjs.map +0 -1
- package/dist/chunks/NcDateTime-JYO8uPbb.mjs +0 -140
- package/dist/chunks/NcDateTime-JYO8uPbb.mjs.map +0 -1
- package/dist/chunks/NcDateTime-T52KrH65.cjs +0 -136
- package/dist/chunks/NcDateTime-T52KrH65.cjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs +0 -328
- package/dist/chunks/NcDateTimePicker-X2pCnTer.cjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs +0 -338
- package/dist/chunks/NcDateTimePicker-ahgVldMQ.mjs.map +0 -1
- package/dist/chunks/NcDateTimePickerNative-3Xru7_OT.mjs +0 -181
- package/dist/chunks/NcDateTimePickerNative-3Xru7_OT.mjs.map +0 -1
- package/dist/chunks/NcDateTimePickerNative-xSITuvpX.cjs +0 -176
- package/dist/chunks/NcDateTimePickerNative-xSITuvpX.cjs.map +0 -1
- package/dist/chunks/NcDialog-BYXi2emF.cjs +0 -237
- package/dist/chunks/NcDialog-BYXi2emF.cjs.map +0 -1
- package/dist/chunks/NcDialog-rTTTdaH3.mjs +0 -245
- package/dist/chunks/NcDialog-rTTTdaH3.mjs.map +0 -1
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs +0 -73
- package/dist/chunks/NcDialogButton-37TPbyFs.cjs.map +0 -1
- package/dist/chunks/NcDialogButton-ax4NTfDU.mjs +0 -78
- package/dist/chunks/NcDialogButton-ax4NTfDU.mjs.map +0 -1
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs +0 -86
- package/dist/chunks/NcEllipsisedOption-FGgPyI_T.mjs.map +0 -1
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs +0 -81
- package/dist/chunks/NcEllipsisedOption-eFqGdcUE.cjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-oWZ5anxp.mjs +0 -339
- package/dist/chunks/NcEmojiPicker-oWZ5anxp.mjs.map +0 -1
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.cjs +0 -326
- package/dist/chunks/NcEmojiPicker-tOE2N9VS.cjs.map +0 -1
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs +0 -62
- package/dist/chunks/NcEmptyContent-Dvt4jhjb.mjs.map +0 -1
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs +0 -58
- package/dist/chunks/NcEmptyContent-M3ClqFZe.cjs.map +0 -1
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs +0 -21
- package/dist/chunks/NcGuestContent-8HpHaN1K.mjs.map +0 -1
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs +0 -17
- package/dist/chunks/NcGuestContent-vbt8h0nE.cjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-67JCzTGo.mjs +0 -225
- package/dist/chunks/NcHeaderMenu-67JCzTGo.mjs.map +0 -1
- package/dist/chunks/NcHeaderMenu-TvFFSvGS.cjs +0 -218
- package/dist/chunks/NcHeaderMenu-TvFFSvGS.cjs.map +0 -1
- package/dist/chunks/NcHighlight-cBMxLCnf.cjs.map +0 -1
- package/dist/chunks/NcHighlight-kWLldgWB.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-ACaaN_pS.mjs +0 -82
- package/dist/chunks/NcIconSvgWrapper-ACaaN_pS.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-_hHu9P_M.cjs +0 -77
- package/dist/chunks/NcIconSvgWrapper-_hHu9P_M.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-DYlc289d.cjs +0 -105
- package/dist/chunks/NcInputConfirmCancel-DYlc289d.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-lmWu4ouW.mjs +0 -112
- package/dist/chunks/NcInputConfirmCancel-lmWu4ouW.mjs.map +0 -1
- package/dist/chunks/NcInputField-6pRWha3h.mjs +0 -291
- package/dist/chunks/NcInputField-6pRWha3h.mjs.map +0 -1
- package/dist/chunks/NcInputField-6vveMrmf.cjs +0 -283
- package/dist/chunks/NcInputField-6vveMrmf.cjs.map +0 -1
- package/dist/chunks/NcListItem-3QDILDKr.cjs +0 -339
- package/dist/chunks/NcListItem-3QDILDKr.cjs.map +0 -1
- package/dist/chunks/NcListItem-vkgu6Biu.mjs +0 -346
- package/dist/chunks/NcListItem-vkgu6Biu.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-130Lt3dW.mjs +0 -193
- package/dist/chunks/NcListItemIcon-130Lt3dW.mjs.map +0 -1
- package/dist/chunks/NcListItemIcon-dOvFvjqI.cjs +0 -189
- package/dist/chunks/NcListItemIcon-dOvFvjqI.cjs.map +0 -1
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs +0 -68
- package/dist/chunks/NcLoadingIcon-DnhhU7Z8.mjs.map +0 -1
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs +0 -64
- package/dist/chunks/NcLoadingIcon-Fwid-wWE.cjs.map +0 -1
- package/dist/chunks/NcNoteCard-MnmgJvKD.mjs +0 -230
- package/dist/chunks/NcNoteCard-MnmgJvKD.mjs.map +0 -1
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs +0 -226
- package/dist/chunks/NcNoteCard-ujnbiyLI.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-8rboJv29.cjs +0 -255
- package/dist/chunks/NcPasswordField-8rboJv29.cjs.map +0 -1
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs +0 -265
- package/dist/chunks/NcPasswordField-RHelr3R-.mjs.map +0 -1
- package/dist/chunks/NcPopover-J0pw-klF.cjs +0 -216
- package/dist/chunks/NcPopover-J0pw-klF.cjs.map +0 -1
- package/dist/chunks/NcPopover-XgOWyuQF.mjs +0 -223
- package/dist/chunks/NcPopover-XgOWyuQF.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-1EANJyYJ.mjs +0 -127
- package/dist/chunks/NcProgressBar-1EANJyYJ.mjs.map +0 -1
- package/dist/chunks/NcProgressBar-zsehqkEw.cjs +0 -123
- package/dist/chunks/NcProgressBar-zsehqkEw.cjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-NqDuh_7F.mjs +0 -220
- package/dist/chunks/NcRelatedResourcesPanel-NqDuh_7F.mjs.map +0 -1
- package/dist/chunks/NcRelatedResourcesPanel-QgNIHnCY.cjs +0 -213
- package/dist/chunks/NcRelatedResourcesPanel-QgNIHnCY.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-L8aEJNGb.cjs +0 -531
- package/dist/chunks/NcRichContenteditable-L8aEJNGb.cjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-W0BnJp3x.mjs +0 -543
- package/dist/chunks/NcRichContenteditable-W0BnJp3x.mjs.map +0 -1
- package/dist/chunks/NcRichText-91v7gJEe.cjs +0 -331
- package/dist/chunks/NcRichText-91v7gJEe.cjs.map +0 -1
- package/dist/chunks/NcRichText-RTwlrmhz.mjs +0 -348
- package/dist/chunks/NcRichText-RTwlrmhz.mjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs +0 -71
- package/dist/chunks/NcSavingIndicatorIcon-IpOVvSwW.cjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs +0 -74
- package/dist/chunks/NcSavingIndicatorIcon-QRgqeOd3.mjs.map +0 -1
- package/dist/chunks/NcSelect-HmmLuUCp.mjs +0 -515
- package/dist/chunks/NcSelect-HmmLuUCp.mjs.map +0 -1
- package/dist/chunks/NcSelect-P2FpWJBr.cjs +0 -503
- package/dist/chunks/NcSelect-P2FpWJBr.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-HX8YbYwd.cjs +0 -256
- package/dist/chunks/NcSelectTags-HX8YbYwd.cjs.map +0 -1
- package/dist/chunks/NcSelectTags-ZoLcdmHG.mjs +0 -263
- package/dist/chunks/NcSelectTags-ZoLcdmHG.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-9TVSwO_s.mjs +0 -113
- package/dist/chunks/NcSettingsInputText-9TVSwO_s.mjs.map +0 -1
- package/dist/chunks/NcSettingsInputText-oJ_c6sMr.cjs +0 -108
- package/dist/chunks/NcSettingsInputText-oJ_c6sMr.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs +0 -114
- package/dist/chunks/NcSettingsSection-W7Ieq32P.cjs.map +0 -1
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs +0 -118
- package/dist/chunks/NcSettingsSection-bpmpu801.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-HFDYgsw-.mjs +0 -208
- package/dist/chunks/NcSettingsSelectGroup-HFDYgsw-.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-UnB2ao3D.cjs +0 -199
- package/dist/chunks/NcSettingsSelectGroup-UnB2ao3D.cjs.map +0 -1
- package/dist/chunks/NcTextArea-QIkvyzz7.cjs +0 -196
- package/dist/chunks/NcTextArea-QIkvyzz7.cjs.map +0 -1
- package/dist/chunks/NcTextArea-SeSiP6Dy.mjs +0 -203
- package/dist/chunks/NcTextArea-SeSiP6Dy.mjs.map +0 -1
- package/dist/chunks/NcTextField-qqwMB07_.mjs +0 -165
- package/dist/chunks/NcTextField-qqwMB07_.mjs.map +0 -1
- package/dist/chunks/NcTextField-zi19KqEm.cjs +0 -158
- package/dist/chunks/NcTextField-zi19KqEm.cjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs +0 -3790
- package/dist/chunks/NcTimezonePicker-EPCmHeHy.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs +0 -3783
- package/dist/chunks/NcTimezonePicker-f6X4yiuj.cjs.map +0 -1
- package/dist/chunks/NcUserBubble-Jw-rOju8.mjs +0 -205
- package/dist/chunks/NcUserBubble-Jw-rOju8.mjs.map +0 -1
- package/dist/chunks/NcUserBubble-NZeBFOmo.cjs +0 -199
- package/dist/chunks/NcUserBubble-NZeBFOmo.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs +0 -146
- package/dist/chunks/NcUserStatusIcon-b0xt-g7X.cjs.map +0 -1
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs +0 -154
- package/dist/chunks/NcUserStatusIcon-hmLq9dti.mjs.map +0 -1
- package/dist/chunks/ScopeComponent-Gzz2FMnQ.cjs +0 -26
- package/dist/chunks/ScopeComponent-Gzz2FMnQ.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-mG7CSpxl.mjs +0 -27
- package/dist/chunks/ScopeComponent-mG7CSpxl.mjs.map +0 -1
- package/dist/chunks/_l10n-Fl7RzbcZ.cjs.map +0 -1
- package/dist/chunks/_l10n-uuAvfQgY.mjs.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.mjs.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-xG2iG1wl.cjs.map +0 -1
- package/dist/chunks/actionGlobal-Cx6Fi9Pj.cjs.map +0 -1
- package/dist/chunks/actionGlobal-pi4JQ0yh.mjs.map +0 -1
- package/dist/chunks/actionText-H_SIpDkO.cjs +0 -126
- package/dist/chunks/actionText-H_SIpDkO.cjs.map +0 -1
- package/dist/chunks/actionText-yZ-YQ_fz.mjs +0 -127
- package/dist/chunks/actionText-yZ-YQ_fz.mjs.map +0 -1
- package/dist/chunks/emoji-NrWIXNZ4.cjs.map +0 -1
- package/dist/chunks/emoji-mEkenm2t.mjs.map +0 -1
- package/dist/chunks/focusTrap-Py2bQ9-r.mjs.map +0 -1
- package/dist/chunks/focusTrap-n3H52LOw.cjs.map +0 -1
- package/dist/chunks/index-6mzaBTml.cjs +0 -159
- package/dist/chunks/index-6mzaBTml.cjs.map +0 -1
- package/dist/chunks/index-clpvFjGU.mjs +0 -165
- package/dist/chunks/index-clpvFjGU.mjs.map +0 -1
- package/dist/chunks/logger-3m1eQsSo.mjs.map +0 -1
- package/dist/chunks/logger-G6OKp5ly.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs +0 -1129
- package/dist/chunks/referencePickerModal-Fu9pQBdT.mjs.map +0 -1
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs +0 -1111
- package/dist/chunks/referencePickerModal-JVKOIVTG.cjs.map +0 -1
- package/dist/chunks/usernameToColor-YCPAFxlc.mjs +0 -41
- package/dist/chunks/usernameToColor-YCPAFxlc.mjs.map +0 -1
- package/dist/chunks/usernameToColor-r5M5P032.cjs +0 -39
- package/dist/chunks/usernameToColor-r5M5P032.cjs.map +0 -1
- /package/dist/assets/{NcActionButtonGroup-oXobVIqQ.css → NcActionButtonGroup-ChehtUip.css} +0 -0
- /package/dist/assets/{NcActionCaption-afJqyJO6.css → NcActionCaption-Bp8mrIk7.css} +0 -0
- /package/dist/assets/{NcActionCheckbox-T379T-FC.css → NcActionCheckbox-BPfv1P4U.css} +0 -0
- /package/dist/assets/{NcActionLink-zdzQgwtH.css → NcActionLink-DN3NCDC0.css} +0 -0
- /package/dist/assets/{NcActionRadio-UC-7SDBI.css → NcActionRadio-BQL7tIME.css} +0 -0
- /package/dist/assets/{NcActionRouter-g0zV3dVT.css → NcActionRouter-CDTNXd1V.css} +0 -0
- /package/dist/assets/{NcActionSeparator-l98xWbiL.css → NcActionSeparator-CX3zFZuI.css} +0 -0
- /package/dist/assets/{NcActionText-GJYwsw_U.css → NcActionText-YljCzD9Q.css} +0 -0
- /package/dist/assets/{NcActionTextEditable-DE_5Sc0w.css → NcActionTextEditable-MT_lJzTD.css} +0 -0
- /package/dist/assets/{NcAppContent-kIkHd4VN.css → NcAppContent-CQiQd3hU.css} +0 -0
- /package/dist/assets/{NcAppNavigation-9xEM_GAn.css → NcAppNavigation-D3EQz8YC.css} +0 -0
- /package/dist/assets/{NcAppNavigationCaption-0s4Wxc88.css → NcAppNavigationCaption-DSzhbFzz.css} +0 -0
- /package/dist/assets/{NcAppNavigationIconBullet-Nf3ARMLv.css → NcAppNavigationIconBullet-1_cBEwu8.css} +0 -0
- /package/dist/assets/{NcAppNavigationItem-_MHs9DEv.css → NcAppNavigationItem-D8wez0MS.css} +0 -0
- /package/dist/assets/{NcAppNavigationNew-PtSC3Wy5.css → NcAppNavigationNew--1ILdbLl.css} +0 -0
- /package/dist/assets/{NcAppNavigationNewItem-ue-H4LQY.css → NcAppNavigationNewItem-C574fgtB.css} +0 -0
- /package/dist/assets/{NcAppNavigationSettings-Q_od5CcP.css → NcAppNavigationSettings-BD-h3kJw.css} +0 -0
- /package/dist/assets/{NcAppNavigationSpacer-MfL8GeCN.css → NcAppNavigationSpacer-x8vwZ4I3.css} +0 -0
- /package/dist/assets/{NcAppNavigationToggle-VrntFGdJ.css → NcAppNavigationToggle-BWue0UZ0.css} +0 -0
- /package/dist/assets/{NcAppSettingsDialog-HOydlmNi.css → NcAppSettingsDialog-c7J2WY2J.css} +0 -0
- /package/dist/assets/{NcAppSettingsSection-Gh575p0x.css → NcAppSettingsSection-aHnvmnTE.css} +0 -0
- /package/dist/assets/{NcAvatar-DCUiVghV.css → NcAvatar-MJSJWCFX.css} +0 -0
- /package/dist/assets/{NcBreadcrumbs-VKFJ9HrE.css → NcBreadcrumbs-BUoUn0es.css} +0 -0
- /package/dist/assets/{NcButton-rKJYdkZn.css → NcButton-Csolh2Rm.css} +0 -0
- /package/dist/assets/{NcCheckboxRadioSwitch-dNV4KgTO.css → NcCheckboxRadioSwitch-B01XgqBM.css} +0 -0
- /package/dist/assets/{NcContent-3Fl9j87E.css → NcContent-DcWX2Pzs.css} +0 -0
- /package/dist/assets/{NcCounterBubble-rgkmqN46.css → NcCounterBubble-CuCSao3j.css} +0 -0
- /package/dist/assets/{NcDashboardWidget-7x3QrWFu.css → NcDashboardWidget-DvHdCtYW.css} +0 -0
- /package/dist/assets/{NcDashboardWidgetItem-S7fELANA.css → NcDashboardWidgetItem-BLt8QsA0.css} +0 -0
- /package/dist/assets/{NcDateTimePickerNative-BeREqSH_.css → NcDateTimePickerNative-F5ESpIf_.css} +0 -0
- /package/dist/assets/{NcDialog-IM0YIgKq.css → NcDialog-gzRgiAqr.css} +0 -0
- /package/dist/assets/{NcEllipsisedOption-eoI10kvc.css → NcEllipsisedOption-B6gjXSS9.css} +0 -0
- /package/dist/assets/{NcEmojiPicker-nDpi1GKA.css → NcEmojiPicker-CcOmLUYo.css} +0 -0
- /package/dist/assets/{NcEmptyContent-b8eqBVE_.css → NcEmptyContent-Bvx6oFUT.css} +0 -0
- /package/dist/assets/{NcGuestContent-FRQFLxlW.css → NcGuestContent-VFAUvGVY.css} +0 -0
- /package/dist/assets/{NcIconSvgWrapper-0OJxiD3Q.css → NcIconSvgWrapper-DQ4nGIPd.css} +0 -0
- /package/dist/assets/{NcInputConfirmCancel-_GF_RjYc.css → NcInputConfirmCancel-D8YX9GNh.css} +0 -0
- /package/dist/assets/{NcInputField-qx4Me7uJ.css → NcInputField-CrHgx7u4.css} +0 -0
- /package/dist/assets/{NcListItemIcon-mlEQ7oK0.css → NcListItemIcon-CaURDugr.css} +0 -0
- /package/dist/assets/{NcLoadingIcon-hZn7TJM8.css → NcLoadingIcon-CFmftMkz.css} +0 -0
- /package/dist/assets/{NcNoteCard-f0NZpwjL.css → NcNoteCard-B_Q1mnCM.css} +0 -0
- /package/dist/assets/{NcPopover-MK4GcuPY.css → NcPopover-wrgZy49g.css} +0 -0
- /package/dist/assets/{NcProgressBar-w4-G5gQR.css → NcProgressBar-DDj4bmBB.css} +0 -0
- /package/dist/assets/{NcRelatedResourcesPanel-i1-7CClp.css → NcRelatedResourcesPanel-CLX7sIKW.css} +0 -0
- /package/dist/assets/{NcSelect-GsLmwj9w.css → NcSelect-awubCP3B.css} +0 -0
- /package/dist/assets/{NcSettingsInputText-JpZtS9DS.css → NcSettingsInputText-mlm1L0NL.css} +0 -0
- /package/dist/assets/{NcSettingsSection-PEWm0eeL.css → NcSettingsSection-8RabR54v.css} +0 -0
- /package/dist/assets/{NcSettingsSelectGroup-51HMKLZQ.css → NcSettingsSelectGroup-DnUcwotl.css} +0 -0
- /package/dist/assets/{NcTextArea-Eqv_-5FR.css → NcTextArea-Sq__7kVG.css} +0 -0
- /package/dist/assets/{NcUserBubble-t1uOyYCF.css → NcUserBubble-C3W47JgI.css} +0 -0
- /package/dist/assets/{NcUserStatusIcon-AXLspcOQ.css → NcUserStatusIcon-Bcuylw5B.css} +0 -0
- /package/dist/assets/{Tooltip-wOLIuz0Q.css → Tooltip-DA4si7PR.css} +0 -0
- /package/dist/chunks/{GenRandomId-ULxaMkkr.cjs → GenRandomId-B2O1GMbH.cjs} +0 -0
- /package/dist/chunks/{GenRandomId-VodkdWbp.mjs → GenRandomId-BW3iYFf9.mjs} +0 -0
- /package/dist/chunks/{Linkify-V7PfCeZ8.mjs → Linkify-BaDLLFxP.mjs} +0 -0
- /package/dist/chunks/{Linkify-f3s3nAe_.cjs → Linkify-Dola0NBa.cjs} +0 -0
- /package/dist/chunks/{NcHighlight-cBMxLCnf.cjs → NcHighlight-DlBY2lba.cjs} +0 -0
- /package/dist/chunks/{NcHighlight-kWLldgWB.mjs → NcHighlight-GDN9q3CO.mjs} +0 -0
- /package/dist/chunks/{_l10n-Fl7RzbcZ.cjs → _l10n-CEec8lDL.cjs} +0 -0
- /package/dist/chunks/{_l10n-uuAvfQgY.mjs → _l10n-D1NkaqfQ.mjs} +0 -0
- /package/dist/chunks/{_plugin-vue_export-helper-hUChTQA_.mjs → _plugin-vue_export-helper-CHgC5LLL.mjs} +0 -0
- /package/dist/chunks/{_plugin-vue_export-helper-xG2iG1wl.cjs → _plugin-vue_export-helper-CTzpuyvq.cjs} +0 -0
- /package/dist/chunks/{actionGlobal-pi4JQ0yh.mjs → actionGlobal-BypLxitr.mjs} +0 -0
- /package/dist/chunks/{actionGlobal-Cx6Fi9Pj.cjs → actionGlobal-CmaqfbSh.cjs} +0 -0
- /package/dist/chunks/{emoji-NrWIXNZ4.cjs → emoji-DEH9dtOa.cjs} +0 -0
- /package/dist/chunks/{emoji-mEkenm2t.mjs → emoji-k4gWHxrE.mjs} +0 -0
- /package/dist/chunks/{focusTrap-Py2bQ9-r.mjs → focusTrap-Be9GEB5C.mjs} +0 -0
- /package/dist/chunks/{focusTrap-n3H52LOw.cjs → focusTrap-xauhLvvr.cjs} +0 -0
- /package/dist/chunks/{logger-3m1eQsSo.mjs → logger-C7qcfVW8.mjs} +0 -0
- /package/dist/chunks/{logger-G6OKp5ly.cjs → logger-D9RRY4er.cjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NcUserStatusIcon-Cvm2x61l.cjs","sources":["../../src/assets/status-icons/user-status-online.svg?raw","../../src/assets/status-icons/user-status-away.svg?raw","../../src/assets/status-icons/user-status-dnd.svg?raw","../../src/assets/status-icons/user-status-invisible.svg?raw","../../src/utils/UserStatus.ts","../../src/components/NcUserStatusIcon/NcUserStatusIcon.vue"],"sourcesContent":["export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"var(--color-success)\\\" d=\\\"M4.8 11.2h6.4V4.8H4.8v6.4zM8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z\\\" />\\n</svg>\\n\"","export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"none\\\" d=\\\"M-4-4h24v24H-4z\\\" />\\n\\t<path fill=\\\"var(--color-warning)\\\" d=\\\"M6.9.1C3 .6-.1 4-.1 8c0 4.4 3.6 8 8 8 4 0 7.4-3 8-6.9-1.2 1.3-2.9 2.1-4.7 2.1-3.5 0-6.4-2.9-6.4-6.4 0-1.9.8-3.6 2.1-4.7z\\\" />\\n</svg>\\n\"","export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"none\\\" d=\\\"M-4-4h24v24H-4V-4z\\\" />\\n\\t<path fill=\\\"var(--color-error)\\\" d=\\\"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z\\\" />\\n\\t<path fill=\\\"#fdffff\\\" d=\\\"M5 6.5h6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5H5c-.8 0-1.5-.7-1.5-1.5S4.2 6.5 5 6.5z\\\" />\\n</svg>\\n\"","export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"none\\\" d=\\\"M-4-4h24v24H-4V-4z\\\" />\\n\\t<path d=\\\"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 3.2c2.7 0 4.8 2.1 4.8 4.8s-2.1 4.8-4.8 4.8S3.2 10.7 3.2 8 5.3 3.2 8 3.2z\\\" />\\n</svg>\\n\"","/**\n * @copyright 2023 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\nimport { t } from '../l10n.js'\n\ntype Status = 'online' | 'away' | 'busy' | 'dnd' | 'invisible' | 'offline'\n\nexport const getUserStatusText = (status: Status): string => {\n\tswitch (status) {\n\tcase 'away': return t('away') // TRANSLATORS: User status if the user is currently away from keyboard\n\tcase 'busy': return t('busy')\n\tcase 'dnd': return t('do not disturb')\n\tcase 'online': return t('online')\n\tcase 'invisible': return t('invisible')\n\tcase 'offline': return t('offline')\n\tdefault: return status\n\t}\n}\n","<!--\n - @copyright 2024 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### Description\n\nThis component displays a user status icon.\n\n### Example\n\n```vue\n<template>\n\t<div class=\"row\">\n\t\t<NcUserStatusIcon status=\"online\" />\n\t\t<NcUserStatusIcon status=\"away\" />\n\t\t<NcUserStatusIcon status=\"dnd\" />\n\t\t<NcUserStatusIcon status=\"invisible\" />\n\t</div>\n</template>\n\n<style>\n.row {\n\tdisplay: flex;\n\tgap: 10px;\n}\n</style>\n```\n</docs>\n\n<template>\n\t<span v-if=\"activeStatus\"\n\t\tclass=\"user-status-icon\"\n\t\t:class=\"{\n\t\t\t'user-status-icon--invisible': ['invisible', 'offline'].includes(status),\n\t\t}\"\n\t\trole=\"img\"\n\t\t:aria-hidden=\"ariaHidden\"\n\t\t:aria-label=\"ariaLabel\"\n\t\tv-html=\"activeSvg\" /> <!-- eslint-disable-line vue/no-v-html -->\n</template>\n\n<script>\nimport { warn } from 'vue'\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\nimport { getCapabilities } from '@nextcloud/capabilities'\n\nimport onlineSvg from '../../assets/status-icons/user-status-online.svg?raw'\nimport awaySvg from '../../assets/status-icons/user-status-away.svg?raw'\nimport dndSvg from '../../assets/status-icons/user-status-dnd.svg?raw'\nimport invisibleSvg from '../../assets/status-icons/user-status-invisible.svg?raw'\n\nimport { getUserStatusText } from '../../utils/UserStatus.ts'\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcUserStatusIcon',\n\n\tprops: {\n\t\t/**\n\t\t * Set the user id to fetch the status\n\t\t */\n\t\tuser: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\n\t\t/**\n\t\t * Set the status\n\t\t *\n\t\t * @type {'online' | 'away' | 'busy' | 'dnd' | 'invisible' | 'offline'}\n\t\t */\n\t\tstatus: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t\tvalidator: (value) => [\n\t\t\t\t'online',\n\t\t\t\t'away',\n\t\t\t\t'busy',\n\t\t\t\t'dnd',\n\t\t\t\t'invisible',\n\t\t\t\t'offline',\n\t\t\t].includes(value),\n\t\t},\n\n\t\t/**\n\t\t * Set the `aria-hidden` attribute\n\t\t *\n\t\t * @type {'true' | 'false'}\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t\tvalidator: (value) => [\n\t\t\t\t'true',\n\t\t\t\t'false',\n\t\t\t].includes(value),\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tfetchedUserStatus: null,\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tactiveStatus() {\n\t\t\treturn this.status ?? this.fetchedUserStatus\n\t\t},\n\n\t\tactiveSvg() {\n\t\t\tconst matchSvg = {\n\t\t\t\tonline: onlineSvg,\n\t\t\t\taway: awaySvg,\n\t\t\t\tbusy: awaySvg,\n\t\t\t\tdnd: dndSvg,\n\t\t\t\tinvisible: invisibleSvg,\n\t\t\t\toffline: invisibleSvg,\n\t\t\t}\n\t\t\treturn matchSvg[this.activeStatus] ?? null\n\t\t},\n\n\t\tariaLabel() {\n\t\t\tif (this.ariaHidden === 'true') {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\treturn t('User status: {status}', { status: getUserStatusText(this.activeStatus) })\n\t\t},\n\t},\n\n\twatch: {\n\t\tuser: {\n\t\t\timmediate: true,\n\t\t\tasync handler(user) {\n\t\t\t\tif (!user || !getCapabilities()?.user_status?.enabled) {\n\t\t\t\t\tthis.fetchedUserStatus = null\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tconst { data } = await axios.get(generateOcsUrl('/apps/user_status/api/v1/statuses/{user}', { user }))\n\t\t\t\t\tthis.fetchedUserStatus = data.ocs?.data?.status\n\t\t\t\t} catch (error) {\n\t\t\t\t\tthis.fetchedUserStatus = null\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n\n\tmounted() {\n\t\tif (!this.user && !this.status) {\n\t\t\twarn('[NcUserStatusIcon] The `user` or `status` prop should be set.')\n\t\t}\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.user-status-icon {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-width: 16px;\n\tmin-height: 16px;\n\tmax-width: 20px;\n\tmax-height: 20px;\n\n\t&--invisible {\n\t\tfilter: var(--background-invert-if-dark);\n\t}\n}\n</style>\n"],"names":["onlineSvg","awaySvg","dndSvg","invisibleSvg","getUserStatusText","status","_l10n","_sfc_main","value","_a","user","data","axios__default","router","_d","_c","_hoisted_1","$props","$options","vue"],"mappings":";gTAAAA,IAAA,oSCAAC,IAAA,0XCAAC,IAAA,saCAAC,IAAA;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0Ba,MAAAC,IAAA,CAAAC,MAAA;AACZ,UAAAA,GAAA;AAAA,IAAgB,KAAA;AACH,aAAAC,EAAA,EAAA,MAAA;AAAA,IAAe,KAAA;AACf,aAAAA,EAAA,EAAA,MAAA;AAAA,IAAe,KAAA;AAChB,aAAAA,EAAA,EAAA,gBAAA;AAAA,IAAyB,KAAA;AACtB,aAAAA,EAAA,EAAA,QAAA;AAAA,IAAiB,KAAA;AACd,aAAAA,EAAA,EAAA,WAAA;AAAA,IAAoB,KAAA;AACtB,aAAAA,EAAA,EAAA,SAAA;AAAA,IAAkB;AACzB,aAAAD;AAAA,EAAO;AAEjB;;ACsCA,MAAAE,IAAA;AAAA;EAGC,OAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;IAcC,QAAA;AAAA;;MAGC,WAAA,CAAAC,MAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA;;QAGA;AAAA,MACD,EAAA,SAAAA,CAAA;AAAA;;;;;;;;;MAWA,WAAA,CAAAA,MAAA;AAAA,QACC;AAAA,QACA;AAAA,MACD,EAAA,SAAAA,CAAA;AAAA;;EAIF,OAAA;AACC,WAAA;AAAA;IAEA;AAAA;EAGD,UAAA;AAAA,IACC,eAAA;;AACC,cAAAC,IAAA,KAAA,WAAA,OAAAA,IAAA,KAAA;AAAA;;;AAYA,cAAAA,IARA;AAAA,QACC,QAAAT;AAAA;;;;QAKA,SAAAG;AAAA,MACD,EACA,KAAA,YAAA,MAAA,OAAAM,IAAA;AAAA;;0CAKC,OAEDH,EAAA,EAAA,yBAAA,EAAA,QAAAF,EAAA,KAAA,YAAA,EAAA,CAAA;AAAA;;EAIF,OAAA;AAAA;MAEE,WAAA;AAAA,MACA,MAAA,QAAAM,GAAA;;;;;QAIC;AACA,YAAA;AACC,gBAAA,EAAA,MAAAC,EAAA,IAAA,MAAAC,EAAA,QAAA,IAAAC,EAAA,eAAA,4CAAA,EAAA,MAAAH,EAAA,CAAA,CAAA;AACA,eAAA,qBAAAI,KAAAC,IAAAJ,EAAA,QAAA,gBAAAI,EAAA,SAAA,gBAAAD,EAAA;AAAA;;QAGD;AAAA;;;EAKH,UAAA;;;AAKD,GA7KAE,IAAA,CAAA,eAAA,cAAA,WAAA;;;;;MAmDuE,+BAAA,CAAA,aAAA,SAAA,EAAA,SAAAC,EAAA,MAAA;AAAA;IAGrE,MAAA;AAAA,IACC,eAAAA,EAAA;AAAA,IACA,cAAAC,EAAA;AAAA,IACD,WAAAA,EAAA;AAAA,EAzDF,GAAA,MAAA,IAAAF,CAAA,KAAAG,EAAA,mBAAA,IAAA,EAAA;;;;;"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import "../assets/NcUserStatusIcon-Bcuylw5B.css";
|
|
2
|
+
import { warn as u, openBlock as d, createElementBlock as h, normalizeClass as f, createCommentVNode as v } from "vue";
|
|
3
|
+
import p from "@nextcloud/axios";
|
|
4
|
+
import { generateOcsUrl as g } from "@nextcloud/router";
|
|
5
|
+
import { getCapabilities as m } from "@nextcloud/capabilities";
|
|
6
|
+
import { r as c, J as w, a as e, K as S } from "./_l10n-D1NkaqfQ.mjs";
|
|
7
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const y = '<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\n<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path fill="var(--color-success)" d="M4.8 11.2h6.4V4.8H4.8v6.4zM8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z" />\n</svg>\n', o = '<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\n<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path fill="none" d="M-4-4h24v24H-4z" />\n <path fill="var(--color-warning)" d="M6.9.1C3 .6-.1 4-.1 8c0 4.4 3.6 8 8 8 4 0 7.4-3 8-6.9-1.2 1.3-2.9 2.1-4.7 2.1-3.5 0-6.4-2.9-6.4-6.4 0-1.9.8-3.6 2.1-4.7z" />\n</svg>\n', I = '<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\n<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path fill="none" d="M-4-4h24v24H-4V-4z" />\n <path fill="var(--color-error)" d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z" />\n <path fill="#fdffff" d="M5 6.5h6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5H5c-.8 0-1.5-.7-1.5-1.5S4.2 6.5 5 6.5z" />\n</svg>\n', l = '<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\n<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path fill="none" d="M-4-4h24v24H-4V-4z" />\n <path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 3.2c2.7 0 4.8 2.1 4.8 4.8s-2.1 4.8-4.8 4.8S3.2 10.7 3.2 8 5.3 3.2 8 3.2z" />\n</svg>\n';
|
|
9
|
+
c(w);
|
|
10
|
+
/**
|
|
11
|
+
* @copyright 2023 Christopher Ng <chrng8@gmail.com>
|
|
12
|
+
*
|
|
13
|
+
* @author Christopher Ng <chrng8@gmail.com>
|
|
14
|
+
*
|
|
15
|
+
* @license AGPL-3.0-or-later
|
|
16
|
+
*
|
|
17
|
+
* This program is free software: you can redistribute it and/or modify
|
|
18
|
+
* it under the terms of the GNU Affero General Public License as
|
|
19
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
20
|
+
* License, or (at your option) any later version.
|
|
21
|
+
*
|
|
22
|
+
* This program is distributed in the hope that it will be useful,
|
|
23
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
24
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
25
|
+
* GNU Affero General Public License for more details.
|
|
26
|
+
*
|
|
27
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
28
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
const M = (t) => {
|
|
32
|
+
switch (t) {
|
|
33
|
+
case "away":
|
|
34
|
+
return e("away");
|
|
35
|
+
case "busy":
|
|
36
|
+
return e("busy");
|
|
37
|
+
case "dnd":
|
|
38
|
+
return e("do not disturb");
|
|
39
|
+
case "online":
|
|
40
|
+
return e("online");
|
|
41
|
+
case "invisible":
|
|
42
|
+
return e("invisible");
|
|
43
|
+
case "offline":
|
|
44
|
+
return e("offline");
|
|
45
|
+
default:
|
|
46
|
+
return t;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
c(S);
|
|
50
|
+
const U = {
|
|
51
|
+
name: "NcUserStatusIcon",
|
|
52
|
+
props: {
|
|
53
|
+
/**
|
|
54
|
+
* Set the user id to fetch the status
|
|
55
|
+
*/
|
|
56
|
+
user: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: null
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* Set the status
|
|
62
|
+
*
|
|
63
|
+
* @type {'online' | 'away' | 'busy' | 'dnd' | 'invisible' | 'offline'}
|
|
64
|
+
*/
|
|
65
|
+
status: {
|
|
66
|
+
type: String,
|
|
67
|
+
default: null,
|
|
68
|
+
validator: (t) => [
|
|
69
|
+
"online",
|
|
70
|
+
"away",
|
|
71
|
+
"busy",
|
|
72
|
+
"dnd",
|
|
73
|
+
"invisible",
|
|
74
|
+
"offline"
|
|
75
|
+
].includes(t)
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Set the `aria-hidden` attribute
|
|
79
|
+
*
|
|
80
|
+
* @type {'true' | 'false'}
|
|
81
|
+
*/
|
|
82
|
+
ariaHidden: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: null,
|
|
85
|
+
validator: (t) => [
|
|
86
|
+
"true",
|
|
87
|
+
"false"
|
|
88
|
+
].includes(t)
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
data() {
|
|
92
|
+
return {
|
|
93
|
+
fetchedUserStatus: null
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
computed: {
|
|
97
|
+
activeStatus() {
|
|
98
|
+
var t;
|
|
99
|
+
return (t = this.status) != null ? t : this.fetchedUserStatus;
|
|
100
|
+
},
|
|
101
|
+
activeSvg() {
|
|
102
|
+
var s;
|
|
103
|
+
return (s = {
|
|
104
|
+
online: y,
|
|
105
|
+
away: o,
|
|
106
|
+
busy: o,
|
|
107
|
+
dnd: I,
|
|
108
|
+
invisible: l,
|
|
109
|
+
offline: l
|
|
110
|
+
}[this.activeStatus]) != null ? s : null;
|
|
111
|
+
},
|
|
112
|
+
ariaLabel() {
|
|
113
|
+
return this.ariaHidden === "true" ? null : e("User status: {status}", { status: M(this.activeStatus) });
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
watch: {
|
|
117
|
+
user: {
|
|
118
|
+
immediate: !0,
|
|
119
|
+
async handler(t) {
|
|
120
|
+
var s, n, i, r;
|
|
121
|
+
if (!t || !((n = (s = m()) == null ? void 0 : s.user_status) != null && n.enabled)) {
|
|
122
|
+
this.fetchedUserStatus = null;
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
try {
|
|
126
|
+
const { data: a } = await p.get(g("/apps/user_status/api/v1/statuses/{user}", { user: t }));
|
|
127
|
+
this.fetchedUserStatus = (r = (i = a.ocs) == null ? void 0 : i.data) == null ? void 0 : r.status;
|
|
128
|
+
} catch {
|
|
129
|
+
this.fetchedUserStatus = null;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
mounted() {
|
|
135
|
+
!this.user && !this.status && u("[NcUserStatusIcon] The `user` or `status` prop should be set.");
|
|
136
|
+
}
|
|
137
|
+
}, _ = ["aria-hidden", "aria-label", "innerHTML"];
|
|
138
|
+
function x(t, s, n, i, r, a) {
|
|
139
|
+
return a.activeStatus ? (d(), h("span", {
|
|
140
|
+
key: 0,
|
|
141
|
+
class: f(["user-status-icon", {
|
|
142
|
+
"user-status-icon--invisible": ["invisible", "offline"].includes(n.status)
|
|
143
|
+
}]),
|
|
144
|
+
role: "img",
|
|
145
|
+
"aria-hidden": n.ariaHidden,
|
|
146
|
+
"aria-label": a.ariaLabel,
|
|
147
|
+
innerHTML: a.activeSvg
|
|
148
|
+
}, null, 10, _)) : v("", !0);
|
|
149
|
+
}
|
|
150
|
+
const A = /* @__PURE__ */ b(U, [["render", x], ["__scopeId", "data-v-5339a300"]]);
|
|
151
|
+
export {
|
|
152
|
+
A as N,
|
|
153
|
+
M as g
|
|
154
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NcUserStatusIcon-CyAVexsF.mjs","sources":["../../src/assets/status-icons/user-status-online.svg?raw","../../src/assets/status-icons/user-status-away.svg?raw","../../src/assets/status-icons/user-status-dnd.svg?raw","../../src/assets/status-icons/user-status-invisible.svg?raw","../../src/utils/UserStatus.ts","../../src/components/NcUserStatusIcon/NcUserStatusIcon.vue"],"sourcesContent":["export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"var(--color-success)\\\" d=\\\"M4.8 11.2h6.4V4.8H4.8v6.4zM8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z\\\" />\\n</svg>\\n\"","export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"none\\\" d=\\\"M-4-4h24v24H-4z\\\" />\\n\\t<path fill=\\\"var(--color-warning)\\\" d=\\\"M6.9.1C3 .6-.1 4-.1 8c0 4.4 3.6 8 8 8 4 0 7.4-3 8-6.9-1.2 1.3-2.9 2.1-4.7 2.1-3.5 0-6.4-2.9-6.4-6.4 0-1.9.8-3.6 2.1-4.7z\\\" />\\n</svg>\\n\"","export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"none\\\" d=\\\"M-4-4h24v24H-4V-4z\\\" />\\n\\t<path fill=\\\"var(--color-error)\\\" d=\\\"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z\\\" />\\n\\t<path fill=\\\"#fdffff\\\" d=\\\"M5 6.5h6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5H5c-.8 0-1.5-.7-1.5-1.5S4.2 6.5 5 6.5z\\\" />\\n</svg>\\n\"","export default \"<!-- This icon is part of Material UI Icons. Copyright 2020 Google Inc., Apache-2.0 License -->\\n<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path fill=\\\"none\\\" d=\\\"M-4-4h24v24H-4V-4z\\\" />\\n\\t<path d=\\\"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 3.2c2.7 0 4.8 2.1 4.8 4.8s-2.1 4.8-4.8 4.8S3.2 10.7 3.2 8 5.3 3.2 8 3.2z\\\" />\\n</svg>\\n\"","/**\n * @copyright 2023 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\nimport { t } from '../l10n.js'\n\ntype Status = 'online' | 'away' | 'busy' | 'dnd' | 'invisible' | 'offline'\n\nexport const getUserStatusText = (status: Status): string => {\n\tswitch (status) {\n\tcase 'away': return t('away') // TRANSLATORS: User status if the user is currently away from keyboard\n\tcase 'busy': return t('busy')\n\tcase 'dnd': return t('do not disturb')\n\tcase 'online': return t('online')\n\tcase 'invisible': return t('invisible')\n\tcase 'offline': return t('offline')\n\tdefault: return status\n\t}\n}\n","<!--\n - @copyright 2024 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### Description\n\nThis component displays a user status icon.\n\n### Example\n\n```vue\n<template>\n\t<div class=\"row\">\n\t\t<NcUserStatusIcon status=\"online\" />\n\t\t<NcUserStatusIcon status=\"away\" />\n\t\t<NcUserStatusIcon status=\"dnd\" />\n\t\t<NcUserStatusIcon status=\"invisible\" />\n\t</div>\n</template>\n\n<style>\n.row {\n\tdisplay: flex;\n\tgap: 10px;\n}\n</style>\n```\n</docs>\n\n<template>\n\t<span v-if=\"activeStatus\"\n\t\tclass=\"user-status-icon\"\n\t\t:class=\"{\n\t\t\t'user-status-icon--invisible': ['invisible', 'offline'].includes(status),\n\t\t}\"\n\t\trole=\"img\"\n\t\t:aria-hidden=\"ariaHidden\"\n\t\t:aria-label=\"ariaLabel\"\n\t\tv-html=\"activeSvg\" /> <!-- eslint-disable-line vue/no-v-html -->\n</template>\n\n<script>\nimport { warn } from 'vue'\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\nimport { getCapabilities } from '@nextcloud/capabilities'\n\nimport onlineSvg from '../../assets/status-icons/user-status-online.svg?raw'\nimport awaySvg from '../../assets/status-icons/user-status-away.svg?raw'\nimport dndSvg from '../../assets/status-icons/user-status-dnd.svg?raw'\nimport invisibleSvg from '../../assets/status-icons/user-status-invisible.svg?raw'\n\nimport { getUserStatusText } from '../../utils/UserStatus.ts'\nimport { t } from '../../l10n.js'\n\nexport default {\n\tname: 'NcUserStatusIcon',\n\n\tprops: {\n\t\t/**\n\t\t * Set the user id to fetch the status\n\t\t */\n\t\tuser: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\n\t\t/**\n\t\t * Set the status\n\t\t *\n\t\t * @type {'online' | 'away' | 'busy' | 'dnd' | 'invisible' | 'offline'}\n\t\t */\n\t\tstatus: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t\tvalidator: (value) => [\n\t\t\t\t'online',\n\t\t\t\t'away',\n\t\t\t\t'busy',\n\t\t\t\t'dnd',\n\t\t\t\t'invisible',\n\t\t\t\t'offline',\n\t\t\t].includes(value),\n\t\t},\n\n\t\t/**\n\t\t * Set the `aria-hidden` attribute\n\t\t *\n\t\t * @type {'true' | 'false'}\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t\tvalidator: (value) => [\n\t\t\t\t'true',\n\t\t\t\t'false',\n\t\t\t].includes(value),\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tfetchedUserStatus: null,\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tactiveStatus() {\n\t\t\treturn this.status ?? this.fetchedUserStatus\n\t\t},\n\n\t\tactiveSvg() {\n\t\t\tconst matchSvg = {\n\t\t\t\tonline: onlineSvg,\n\t\t\t\taway: awaySvg,\n\t\t\t\tbusy: awaySvg,\n\t\t\t\tdnd: dndSvg,\n\t\t\t\tinvisible: invisibleSvg,\n\t\t\t\toffline: invisibleSvg,\n\t\t\t}\n\t\t\treturn matchSvg[this.activeStatus] ?? null\n\t\t},\n\n\t\tariaLabel() {\n\t\t\tif (this.ariaHidden === 'true') {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\treturn t('User status: {status}', { status: getUserStatusText(this.activeStatus) })\n\t\t},\n\t},\n\n\twatch: {\n\t\tuser: {\n\t\t\timmediate: true,\n\t\t\tasync handler(user) {\n\t\t\t\tif (!user || !getCapabilities()?.user_status?.enabled) {\n\t\t\t\t\tthis.fetchedUserStatus = null\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tconst { data } = await axios.get(generateOcsUrl('/apps/user_status/api/v1/statuses/{user}', { user }))\n\t\t\t\t\tthis.fetchedUserStatus = data.ocs?.data?.status\n\t\t\t\t} catch (error) {\n\t\t\t\t\tthis.fetchedUserStatus = null\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n\n\tmounted() {\n\t\tif (!this.user && !this.status) {\n\t\t\twarn('[NcUserStatusIcon] The `user` or `status` prop should be set.')\n\t\t}\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.user-status-icon {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-width: 16px;\n\tmin-height: 16px;\n\tmax-width: 20px;\n\tmax-height: 20px;\n\n\t&--invisible {\n\t\tfilter: var(--background-invert-if-dark);\n\t}\n}\n</style>\n"],"names":["onlineSvg","awaySvg","dndSvg","invisibleSvg","getUserStatusText","status","t","_sfc_main","value","_a","user","data","axios","generateOcsUrl","_d","_c","_hoisted_1","$props","$options","createCommentVNode"],"mappings":";;;;;;;AAAA,MAAAA,IAAA,oSCAAC,IAAA,0XCAAC,IAAA,saCAAC,IAAA;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0Ba,MAAAC,IAAA,CAAAC,MAAA;AACZ,UAAAA,GAAA;AAAA,IAAgB,KAAA;AACH,aAAAC,EAAA,MAAA;AAAA,IAAe,KAAA;AACf,aAAAA,EAAA,MAAA;AAAA,IAAe,KAAA;AAChB,aAAAA,EAAA,gBAAA;AAAA,IAAyB,KAAA;AACtB,aAAAA,EAAA,QAAA;AAAA,IAAiB,KAAA;AACd,aAAAA,EAAA,WAAA;AAAA,IAAoB,KAAA;AACtB,aAAAA,EAAA,SAAA;AAAA,IAAkB;AACzB,aAAAD;AAAA,EAAO;AAEjB;;ACsCA,MAAAE,IAAA;AAAA;EAGC,OAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;IAcC,QAAA;AAAA;;MAGC,WAAA,CAAAC,MAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA;;QAGA;AAAA,MACD,EAAA,SAAAA,CAAA;AAAA;;;;;;;;;MAWA,WAAA,CAAAA,MAAA;AAAA,QACC;AAAA,QACA;AAAA,MACD,EAAA,SAAAA,CAAA;AAAA;;EAIF,OAAA;AACC,WAAA;AAAA;IAEA;AAAA;EAGD,UAAA;AAAA,IACC,eAAA;;AACC,cAAAC,IAAA,KAAA,WAAA,OAAAA,IAAA,KAAA;AAAA;;;AAYA,cAAAA,IARA;AAAA,QACC,QAAAT;AAAA;;;;QAKA,SAAAG;AAAA,MACD,EACA,KAAA,YAAA,MAAA,OAAAM,IAAA;AAAA;;0CAKC,OAEDH,EAAA,yBAAA,EAAA,QAAAF,EAAA,KAAA,YAAA,EAAA,CAAA;AAAA;;EAIF,OAAA;AAAA;MAEE,WAAA;AAAA,MACA,MAAA,QAAAM,GAAA;;;;;QAIC;AACA,YAAA;AACC,gBAAA,EAAA,MAAAC,EAAA,IAAA,MAAAC,EAAA,IAAAC,EAAA,4CAAA,EAAA,MAAAH,EAAA,CAAA,CAAA;AACA,eAAA,qBAAAI,KAAAC,IAAAJ,EAAA,QAAA,gBAAAI,EAAA,SAAA,gBAAAD,EAAA;AAAA;;QAGD;AAAA;;;EAKH,UAAA;;;AAKD,GA7KAE,IAAA,CAAA,eAAA,cAAA,WAAA;;;;;MAmDuE,+BAAA,CAAA,aAAA,SAAA,EAAA,SAAAC,EAAA,MAAA;AAAA;IAGrE,MAAA;AAAA,IACC,eAAAA,EAAA;AAAA,IACA,cAAAC,EAAA;AAAA,IACD,WAAAA,EAAA;AAAA,EAzDF,GAAA,MAAA,IAAAF,CAAA,KAAAG,EAAA,IAAA,EAAA;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
3
|
+
*
|
|
4
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
5
|
+
*
|
|
6
|
+
* @license AGPL-3.0-or-later
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
const u = (t) => (t.mounted ? Array.isArray(t.mounted) || (t.mounted = [t.mounted]) : t.mounted = [], t.mounted.push(function() {
|
|
23
|
+
this.$el.setAttribute("data-v-cd1afd2", "");
|
|
24
|
+
}), t);
|
|
25
|
+
export {
|
|
26
|
+
u as S
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopeComponent-CUI_ekHj.mjs","sources":["../../src/utils/ScopeComponent.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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\nconst ScopeComponent = (Component) => {\n\t// Init mounted vue if none\n\tif (!Component.mounted) {\n\t\tComponent.mounted = []\n\t} else if (!Array.isArray(Component.mounted)) {\n\t\tComponent.mounted = [Component.mounted]\n\t}\n\n\t// Inject root scoping function\n\tComponent.mounted.push(function() {\n\t\tthis.$el.setAttribute(`data-v-${SCOPE_VERSION}`, '')\n\t})\n\n\treturn Component\n}\n\nexport default ScopeComponent\n"],"names":["ScopeComponent","Component"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBK,MAACA,IAAiB,CAACC,OAElBA,EAAU,UAEH,MAAM,QAAQA,EAAU,OAAO,MAC1CA,EAAU,UAAU,CAACA,EAAU,OAAO,KAFtCA,EAAU,UAAU,CAAE,GAMvBA,EAAU,QAAQ,KAAK,WAAW;AACjC,OAAK,IAAI,aAAa,kBAA2B,EAAE;AACrD,CAAE,GAEMA;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
4
|
+
*
|
|
5
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
6
|
+
*
|
|
7
|
+
* @license AGPL-3.0-or-later
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU Affero General Public License as
|
|
11
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
12
|
+
* License, or (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU Affero General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const e = (t) => (t.mounted ? Array.isArray(t.mounted) || (t.mounted = [t.mounted]) : t.mounted = [], t.mounted.push(function() {
|
|
24
|
+
this.$el.setAttribute("data-v-cd1afd2", "");
|
|
25
|
+
}), t);
|
|
26
|
+
exports.ScopeComponent = e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopeComponent-D_Bohqyr.cjs","sources":["../../src/utils/ScopeComponent.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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\nconst ScopeComponent = (Component) => {\n\t// Init mounted vue if none\n\tif (!Component.mounted) {\n\t\tComponent.mounted = []\n\t} else if (!Array.isArray(Component.mounted)) {\n\t\tComponent.mounted = [Component.mounted]\n\t}\n\n\t// Inject root scoping function\n\tComponent.mounted.push(function() {\n\t\tthis.$el.setAttribute(`data-v-${SCOPE_VERSION}`, '')\n\t})\n\n\treturn Component\n}\n\nexport default ScopeComponent\n"],"names":["ScopeComponent","Component"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBK,MAACA,IAAiB,CAACC,OAElBA,EAAU,UAEH,MAAM,QAAQA,EAAU,OAAO,MAC1CA,EAAU,UAAU,CAACA,EAAU,OAAO,KAFtCA,EAAU,UAAU,CAAE,GAMvBA,EAAU,QAAQ,KAAK,WAAW;AACjC,OAAK,IAAI,aAAa,kBAA2B,EAAE;AACrD,CAAE,GAEMA;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_l10n-CEec8lDL.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_l10n-D1NkaqfQ.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper-CHgC5LLL.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper-CTzpuyvq.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGlobal-BypLxitr.mjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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 */\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default?.()[0].children?.trim?.() || ''\n\t\t},\n\t},\n}\n"],"names":["ActionGlobalMixin","_a","_b","_c","_d"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBA,MAAeA,IAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAS;AAAA,EAC1B;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACpB;AAAA,EACD;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;AAzCZ,UAAAC,GAAAC,GAAAC,GAAAC;AA0CG,eAAOA,KAAAD,KAAAD,KAAAD,IAAA,KAAK,QAAO,YAAZ,gBAAAC,EAAA,KAAAD,GAAwB,GAAG,aAA3B,gBAAAE,EAAqC,SAArC,gBAAAC,EAAA,KAAAD,OAAiD;AAAA,IACxD;AAAA,EACD;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGlobal-CmaqfbSh.cjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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 */\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default?.()[0].children?.trim?.() || ''\n\t\t},\n\t},\n}\n"],"names":["ActionGlobalMixin","_d","_c","_b","_a"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBA,MAAeA,IAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAS;AAAA,EAC1B;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACpB;AAAA,EACD;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;;AACT,eAAOC,KAAAC,KAAAC,KAAAC,IAAA,KAAK,QAAO,YAAZ,gBAAAD,EAAA,KAAAC,GAAwB,GAAG,aAA3B,gBAAAF,EAAqC,SAArC,gBAAAD,EAAA,KAAAC,OAAiD;AAAA,IACxD;AAAA,EACD;AACF;;"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const n = require("./actionGlobal-CmaqfbSh.cjs");
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
5
|
+
*
|
|
6
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
7
|
+
*
|
|
8
|
+
* @license AGPL-3.0-or-later
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Affero General Public License as
|
|
12
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
13
|
+
* License, or (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Affero General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
21
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
const o = function(i, t) {
|
|
25
|
+
let e = i.$parent;
|
|
26
|
+
for (; e; ) {
|
|
27
|
+
if (e.$options.name === t)
|
|
28
|
+
return e;
|
|
29
|
+
e = e.$parent;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
34
|
+
*
|
|
35
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
36
|
+
*
|
|
37
|
+
* @license AGPL-3.0-or-later
|
|
38
|
+
*
|
|
39
|
+
* This program is free software: you can redistribute it and/or modify
|
|
40
|
+
* it under the terms of the GNU Affero General Public License as
|
|
41
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
42
|
+
* License, or (at your option) any later version.
|
|
43
|
+
*
|
|
44
|
+
* This program is distributed in the hope that it will be useful,
|
|
45
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
46
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
47
|
+
* GNU Affero General Public License for more details.
|
|
48
|
+
*
|
|
49
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
50
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
const l = {
|
|
54
|
+
mixins: [n.ActionGlobalMixin],
|
|
55
|
+
props: {
|
|
56
|
+
/**
|
|
57
|
+
* Icon to show with the action, can be either a CSS class or an URL
|
|
58
|
+
*/
|
|
59
|
+
icon: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: ""
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* The main text content of the entry.
|
|
65
|
+
*/
|
|
66
|
+
name: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: ""
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* The title attribute of the element.
|
|
72
|
+
*/
|
|
73
|
+
title: {
|
|
74
|
+
type: String,
|
|
75
|
+
default: ""
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Whether we close the Actions menu after the click
|
|
79
|
+
*/
|
|
80
|
+
closeAfterClick: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !1
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Aria label for the button. Not needed if the button has text.
|
|
86
|
+
*/
|
|
87
|
+
ariaLabel: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: null
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
|
|
93
|
+
* @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
|
|
94
|
+
* otherwise root element will inherit incorrect aria-hidden.
|
|
95
|
+
*/
|
|
96
|
+
ariaHidden: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: null
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
emits: [
|
|
102
|
+
"click"
|
|
103
|
+
],
|
|
104
|
+
computed: {
|
|
105
|
+
/**
|
|
106
|
+
* Check if icon prop is an URL
|
|
107
|
+
* @return {boolean} Whether the icon prop is an URL
|
|
108
|
+
*/
|
|
109
|
+
isIconUrl() {
|
|
110
|
+
try {
|
|
111
|
+
return !!new URL(this.icon, this.icon.startsWith("/") ? window.location.origin : void 0);
|
|
112
|
+
} catch {
|
|
113
|
+
return !1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
onClick(i) {
|
|
119
|
+
if (this.$emit("click", i), this.closeAfterClick) {
|
|
120
|
+
const t = o(this, "NcActions");
|
|
121
|
+
t && t.closeMenu && t.closeMenu(!1);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
exports.ActionTextMixin = l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionText-CmiezrFO.cjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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/**\n * Get the first parent component matching the provided name\n *\n * @param {object} context the context to search from (usually this)\n * @param {string} name the parent name\n * @return {object|undefined} the parent component\n */\nconst GetParent = function(context, name) {\n\tlet parent = context.$parent\n\twhile (parent) {\n\t\tif (parent.$options.name === name) {\n\t\t\treturn parent\n\t\t}\n\t\tparent = parent.$parent\n\t}\n}\n\nexport default GetParent\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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 */\nimport actionGlobal from './actionGlobal.js'\nimport GetParent from '../utils/GetParent.js'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n\t\t * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n\t\t * otherwise root element will inherit incorrect aria-hidden.\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tconst parent = GetParent(this, 'NcActions')\n\t\t\t\tif (parent && parent.closeMenu) {\n\t\t\t\t\tparent.closeMenu(false)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["GetParent","context","name","parent","ActionTextMixin","actionGlobal","event"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,IAAY,SAASC,GAASC,GAAM;AACzC,MAAIC,IAASF,EAAQ;AACrB,SAAOE,KAAQ;AACd,QAAIA,EAAO,SAAS,SAASD;AAC5B,aAAOC;AAER,IAAAA,IAASA,EAAO;AAAA,EAChB;AACF;ACrCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeC,IAAA;AAAA,EACd,QAAQ,CAACC,EAAAA,iBAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,QAAe;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQC,GAAO;AAQd,UAFA,KAAK,MAAM,SAASA,CAAK,GAErB,KAAK,iBAAiB;AACzB,cAAMH,IAASH,EAAU,MAAM,WAAW;AAC1C,QAAIG,KAAUA,EAAO,aACpBA,EAAO,UAAU,EAAK;AAAA,MAEvB;AAAA,IACD;AAAA,EACD;AACF;;"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { A as n } from "./actionGlobal-BypLxitr.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
4
|
+
*
|
|
5
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
6
|
+
*
|
|
7
|
+
* @license AGPL-3.0-or-later
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU Affero General Public License as
|
|
11
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
12
|
+
* License, or (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU Affero General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const o = function(i, t) {
|
|
24
|
+
let e = i.$parent;
|
|
25
|
+
for (; e; ) {
|
|
26
|
+
if (e.$options.name === t)
|
|
27
|
+
return e;
|
|
28
|
+
e = e.$parent;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
33
|
+
*
|
|
34
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
35
|
+
*
|
|
36
|
+
* @license AGPL-3.0-or-later
|
|
37
|
+
*
|
|
38
|
+
* This program is free software: you can redistribute it and/or modify
|
|
39
|
+
* it under the terms of the GNU Affero General Public License as
|
|
40
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
41
|
+
* License, or (at your option) any later version.
|
|
42
|
+
*
|
|
43
|
+
* This program is distributed in the hope that it will be useful,
|
|
44
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
45
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
46
|
+
* GNU Affero General Public License for more details.
|
|
47
|
+
*
|
|
48
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
49
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
const r = {
|
|
53
|
+
mixins: [n],
|
|
54
|
+
props: {
|
|
55
|
+
/**
|
|
56
|
+
* Icon to show with the action, can be either a CSS class or an URL
|
|
57
|
+
*/
|
|
58
|
+
icon: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: ""
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* The main text content of the entry.
|
|
64
|
+
*/
|
|
65
|
+
name: {
|
|
66
|
+
type: String,
|
|
67
|
+
default: ""
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* The title attribute of the element.
|
|
71
|
+
*/
|
|
72
|
+
title: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: ""
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Whether we close the Actions menu after the click
|
|
78
|
+
*/
|
|
79
|
+
closeAfterClick: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: !1
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* Aria label for the button. Not needed if the button has text.
|
|
85
|
+
*/
|
|
86
|
+
ariaLabel: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: null
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
|
|
92
|
+
* @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
|
|
93
|
+
* otherwise root element will inherit incorrect aria-hidden.
|
|
94
|
+
*/
|
|
95
|
+
ariaHidden: {
|
|
96
|
+
type: Boolean,
|
|
97
|
+
default: null
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
emits: [
|
|
101
|
+
"click"
|
|
102
|
+
],
|
|
103
|
+
computed: {
|
|
104
|
+
/**
|
|
105
|
+
* Check if icon prop is an URL
|
|
106
|
+
* @return {boolean} Whether the icon prop is an URL
|
|
107
|
+
*/
|
|
108
|
+
isIconUrl() {
|
|
109
|
+
try {
|
|
110
|
+
return !!new URL(this.icon, this.icon.startsWith("/") ? window.location.origin : void 0);
|
|
111
|
+
} catch {
|
|
112
|
+
return !1;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
methods: {
|
|
117
|
+
onClick(i) {
|
|
118
|
+
if (this.$emit("click", i), this.closeAfterClick) {
|
|
119
|
+
const t = o(this, "NcActions");
|
|
120
|
+
t && t.closeMenu && t.closeMenu(!1);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
export {
|
|
126
|
+
r as A
|
|
127
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionText-k6jBccGZ.mjs","sources":["../../src/utils/GetParent.js","../../src/mixins/actionText.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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/**\n * Get the first parent component matching the provided name\n *\n * @param {object} context the context to search from (usually this)\n * @param {string} name the parent name\n * @return {object|undefined} the parent component\n */\nconst GetParent = function(context, name) {\n\tlet parent = context.$parent\n\twhile (parent) {\n\t\tif (parent.$options.name === name) {\n\t\t\treturn parent\n\t\t}\n\t\tparent = parent.$parent\n\t}\n}\n\nexport default GetParent\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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 */\nimport actionGlobal from './actionGlobal.js'\nimport GetParent from '../utils/GetParent.js'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\t/**\n\t\t * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n\t\t * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n\t\t * otherwise root element will inherit incorrect aria-hidden.\n\t\t */\n\t\tariaHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tconst parent = GetParent(this, 'NcActions')\n\t\t\t\tif (parent && parent.closeMenu) {\n\t\t\t\t\tparent.closeMenu(false)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["GetParent","context","name","parent","ActionTextMixin","actionGlobal","event"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,IAAY,SAASC,GAASC,GAAM;AACzC,MAAIC,IAASF,EAAQ;AACrB,SAAOE,KAAQ;AACd,QAAIA,EAAO,SAAS,SAASD;AAC5B,aAAOC;AAER,IAAAA,IAASA,EAAO;AAAA,EAChB;AACF;ACrCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeC,IAAA;AAAA,EACd,QAAQ,CAACC,CAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,QAAe;AACf,eAAO;AAAA,MACP;AAAA,IACD;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQC,GAAO;AAQd,UAFA,KAAK,MAAM,SAASA,CAAK,GAErB,KAAK,iBAAiB;AACzB,cAAMH,IAASH,EAAU,MAAM,WAAW;AAC1C,QAAIG,KAAUA,EAAO,aACpBA,EAAO,UAAU,EAAK;AAAA,MAEvB;AAAA,IACD;AAAA,EACD;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji-DEH9dtOa.cjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>\n *\n * @author Jonas Meurer <jonas@freesources.org>\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\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * @param {string} query Emoji search string\n * @param {number} maxResults Maximum of returned emojis\n * @return {Array} list of found emojis\n */\nexport const emojiSearch = (query: string, maxResults: number = 10) => {\n\tconst index = new EmojiIndex(data)\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = index.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(index.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => index.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\nexport const emojiAddRecent = function(id) {\n\tfrequently.add(id)\n}\n\n/**\n * Get the current skin tone index used for emojis\n * @return {EmojiSkinTone} The skin tone\n */\nexport const getCurrentSkinTone = () => {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n * @param {EmojiSkinTone} skinTone Skin tone\n */\nexport const setCurrentSkinTone = (skinTone: EmojiSkinTone) => {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["storage","getBuilder","EmojiSkinTone","emojiSearch","query","maxResults","index","EmojiIndex","data","currentSkinTone","getCurrentSkinTone","results","frequently","id","emoji","emojiAddRecent","_a","skinTone","setCurrentSkinTone"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2BA,MAAMA,IAAUC,EAAW,WAAA,eAAe,EAAE,QAAQ,EAAI,EAAE;AAM9C,IAAAC,sBAAAA,OACXA,EAAAA,EAAA,UAAU,CAAV,IAAA,WACAA,EAAAA,EAAA,QAAQ,CAAR,IAAA,SACAA,EAAAA,EAAA,cAAc,CAAd,IAAA,eACAA,EAAAA,EAAA,SAAS,CAAT,IAAA,UACAA,EAAAA,EAAA,aAAa,CAAb,IAAA,cACAA,EAAAA,EAAA,OAAO,CAAP,IAAA,QANWA,IAAAA,KAAA,CAAA,CAAA;AAcL,MAAMC,IAAc,CAACC,GAAeC,IAAqB,OAAO;AAChE,QAAAC,IAAQ,IAAIC,aAAWC,EAAAA,OAAI,GAC3BC,IAAkBC;AAEpB,MAAAC;AACJ,SAAIP,KACHO,IAAUL,EAAM,OAAO,IAAI,OAAAF,CAAA,GAASC,CAAU,GAC1CM,EAAQ,SAASN,MACVM,IAAAA,EAAQ,OAAOL,EAAM,OAAOF,GAAOC,IAAaM,EAAQ,MAAM,CAAC,MAG1EA,IAAUC,EAAW,WAAA,IAAIP,CAAU,EAAE,IAAI,CAACQ,MAAeP,EAAM,MAAMO,CAAE,CAAC,KAAK,CAAA,GAGvEF,EAAQ,IAAI,CAACG,MAAUA,EAAM,QAAQL,CAAe,CAAC;AAC7D,GAEaM,IAAiB,SAASF,GAAI;AAC1CD,EAAAA,aAAW,IAAIC,CAAE;AAClB,GAMaH,IAAqB,MAAM;AAxExC,MAAAM;AAyEO,QAAAC,IAAW,OAAO,UAASD,IAAAhB,EAAQ,QAAQ,gCAAgC,MAAhD,WAAqD,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAIiB;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA;AAC5D,GAMaC,IAAqB,CAACD,MAA4B;AAE9D,EAAAA,IAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAIA;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA,KAC/DjB,EAAQ,QAAQ,kCAAkCiB,EAAS,SAAU,CAAA;AACtE;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji-k4gWHxrE.mjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>\n *\n * @author Jonas Meurer <jonas@freesources.org>\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\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * @param {string} query Emoji search string\n * @param {number} maxResults Maximum of returned emojis\n * @return {Array} list of found emojis\n */\nexport const emojiSearch = (query: string, maxResults: number = 10) => {\n\tconst index = new EmojiIndex(data)\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = index.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(index.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => index.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\nexport const emojiAddRecent = function(id) {\n\tfrequently.add(id)\n}\n\n/**\n * Get the current skin tone index used for emojis\n * @return {EmojiSkinTone} The skin tone\n */\nexport const getCurrentSkinTone = () => {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n * @param {EmojiSkinTone} skinTone Skin tone\n */\nexport const setCurrentSkinTone = (skinTone: EmojiSkinTone) => {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["storage","getBuilder","EmojiSkinTone","emojiSearch","query","maxResults","index","EmojiIndex","data","currentSkinTone","getCurrentSkinTone","results","frequently","id","emoji","emojiAddRecent","_a","skinTone","setCurrentSkinTone"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2BA,MAAMA,IAAUC,EAAW,eAAe,EAAE,QAAQ,EAAI,EAAE;AAM9C,IAAAC,sBAAAA,OACXA,EAAAA,EAAA,UAAU,CAAV,IAAA,WACAA,EAAAA,EAAA,QAAQ,CAAR,IAAA,SACAA,EAAAA,EAAA,cAAc,CAAd,IAAA,eACAA,EAAAA,EAAA,SAAS,CAAT,IAAA,UACAA,EAAAA,EAAA,aAAa,CAAb,IAAA,cACAA,EAAAA,EAAA,OAAO,CAAP,IAAA,QANWA,IAAAA,KAAA,CAAA,CAAA;AAcL,MAAMC,IAAc,CAACC,GAAeC,IAAqB,OAAO;AAChE,QAAAC,IAAQ,IAAIC,EAAWC,CAAI,GAC3BC,IAAkBC;AAEpB,MAAAC;AACJ,SAAIP,KACHO,IAAUL,EAAM,OAAO,IAAI,OAAAF,CAAA,GAASC,CAAU,GAC1CM,EAAQ,SAASN,MACVM,IAAAA,EAAQ,OAAOL,EAAM,OAAOF,GAAOC,IAAaM,EAAQ,MAAM,CAAC,MAG1EA,IAAUC,EAAW,IAAIP,CAAU,EAAE,IAAI,CAACQ,MAAeP,EAAM,MAAMO,CAAE,CAAC,KAAK,CAAA,GAGvEF,EAAQ,IAAI,CAACG,MAAUA,EAAM,QAAQL,CAAe,CAAC;AAC7D,GAEaM,IAAiB,SAASF,GAAI;AAC1C,EAAAD,EAAW,IAAIC,CAAE;AAClB,GAMaH,IAAqB,MAAM;AAxExC,MAAAM;AAyEO,QAAAC,IAAW,OAAO,UAASD,IAAAhB,EAAQ,QAAQ,gCAAgC,MAAhD,WAAqD,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAIiB;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA;AAC5D,GAMaC,IAAqB,CAACD,MAA4B;AAE9D,EAAAA,IAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAIA;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA,KAC/DjB,EAAQ,QAAQ,kCAAkCiB,EAAS,SAAU,CAAA;AACtE;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusTrap-Be9GEB5C.mjs","sources":["../../src/utils/focusTrap.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2022 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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/**\n * Return the default global focus trap stack\n *\n * @return {import('focus-trap').FocusTrap[]}\n */\nexport const getTrapStack = function() {\n\t// Create global stack if undefined\n\tObject.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] })\n\n\treturn window._nc_focus_trap\n}\n"],"names":["getTrapStack"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2BY,MAACA,IAAe,WAAW;AAEtC,gBAAO,OAAO,QAAQ,EAAE,gBAAgB,OAAO,kBAAkB,CAAA,GAAI,GAE9D,OAAO;AACf;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusTrap-xauhLvvr.cjs","sources":["../../src/utils/focusTrap.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2022 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.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/**\n * Return the default global focus trap stack\n *\n * @return {import('focus-trap').FocusTrap[]}\n */\nexport const getTrapStack = function() {\n\t// Create global stack if undefined\n\tObject.assign(window, { _nc_focus_trap: window._nc_focus_trap || [] })\n\n\treturn window._nc_focus_trap\n}\n"],"names":["getTrapStack"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2BY,MAACA,IAAe,WAAW;AAEtC,gBAAO,OAAO,QAAQ,EAAE,gBAAgB,OAAO,kBAAkB,CAAA,GAAI,GAE9D,OAAO;AACf;;"}
|