@nextcloud/vue 8.3.0 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -3
- package/dist/Components/NcActionButton.cjs +1 -1
- package/dist/Components/NcActionButton.mjs +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +13 -9
- package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +16 -11
- package/dist/Components/NcActionButtonGroup.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +9 -8
- package/dist/Components/NcActionInput.cjs.map +1 -1
- package/dist/Components/NcActionInput.mjs +11 -10
- package/dist/Components/NcActionInput.mjs.map +1 -1
- package/dist/Components/NcActionLink.cjs +1 -1
- package/dist/Components/NcActionLink.mjs +1 -1
- package/dist/Components/NcActionRouter.cjs +1 -1
- package/dist/Components/NcActionRouter.mjs +1 -1
- package/dist/Components/NcActionText.cjs +1 -1
- package/dist/Components/NcActionText.mjs +1 -1
- package/dist/Components/NcActionTextEditable.cjs +1 -1
- package/dist/Components/NcActionTextEditable.mjs +1 -1
- package/dist/Components/NcActions.cjs +37 -37
- package/dist/Components/NcActions.cjs.map +1 -1
- package/dist/Components/NcActions.mjs +19 -19
- package/dist/Components/NcActions.mjs.map +1 -1
- package/dist/Components/NcAppContent.cjs +15 -14
- package/dist/Components/NcAppContent.cjs.map +1 -1
- package/dist/Components/NcAppContent.mjs +35 -34
- package/dist/Components/NcAppContent.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +2 -2
- package/dist/Components/NcAppNavigationCaption.cjs.map +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +2 -2
- package/dist/Components/NcAppNavigationCaption.mjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +28 -24
- package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +66 -63
- package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +2 -2
- package/dist/Components/NcAppNavigationNewItem.mjs +2 -2
- package/dist/Components/NcAppNavigationSettings.cjs +7 -8
- package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +27 -29
- package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +19 -18
- package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +22 -21
- package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +88 -45
- package/dist/Components/NcAppSidebar.cjs.map +1 -1
- package/dist/Components/NcAppSidebar.mjs +158 -112
- package/dist/Components/NcAppSidebar.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +4 -3
- package/dist/Components/NcBreadcrumb.cjs.map +1 -1
- package/dist/Components/NcBreadcrumb.mjs +6 -5
- package/dist/Components/NcBreadcrumb.mjs.map +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +26 -19
- package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +48 -41
- package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +44 -34
- package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +72 -62
- package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
- package/dist/Components/NcColorPicker.cjs +34 -11
- package/dist/Components/NcColorPicker.cjs.map +1 -1
- package/dist/Components/NcColorPicker.mjs +48 -25
- package/dist/Components/NcColorPicker.mjs.map +1 -1
- package/dist/Components/NcDashboardWidget.cjs +7 -6
- package/dist/Components/NcDashboardWidget.cjs.map +1 -1
- package/dist/Components/NcDashboardWidget.mjs +17 -16
- package/dist/Components/NcDashboardWidget.mjs.map +1 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +15 -13
- package/dist/Components/NcDateTime.cjs.map +1 -1
- package/dist/Components/NcDateTime.mjs +12 -11
- package/dist/Components/NcDateTime.mjs.map +1 -1
- package/dist/Components/NcDateTimePicker.cjs +24 -23
- package/dist/Components/NcDateTimePicker.cjs.map +1 -1
- package/dist/Components/NcDateTimePicker.mjs +36 -36
- package/dist/Components/NcDateTimePicker.mjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.cjs +3 -3
- package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +3 -3
- package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
- package/dist/Components/NcDialog.cjs +18 -17
- package/dist/Components/NcDialog.cjs.map +1 -1
- package/dist/Components/NcDialog.mjs +26 -24
- package/dist/Components/NcDialog.mjs.map +1 -1
- package/dist/Components/NcEmojiPicker.cjs +2 -1
- package/dist/Components/NcEmojiPicker.cjs.map +1 -1
- package/dist/Components/NcEmojiPicker.mjs +18 -17
- package/dist/Components/NcEmojiPicker.mjs.map +1 -1
- package/dist/Components/NcHeaderMenu.cjs +8 -8
- package/dist/Components/NcHeaderMenu.cjs.map +1 -1
- package/dist/Components/NcHeaderMenu.mjs +6 -6
- package/dist/Components/NcHeaderMenu.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +15 -10
- package/dist/Components/NcListItem.cjs.map +1 -1
- package/dist/Components/NcListItem.mjs +22 -17
- package/dist/Components/NcListItem.mjs.map +1 -1
- package/dist/Components/NcListItemIcon.cjs +1 -1
- package/dist/Components/NcListItemIcon.mjs +1 -1
- package/dist/Components/NcModal.cjs +50 -46
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +66 -63
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcPasswordField.cjs +14 -12
- package/dist/Components/NcPasswordField.cjs.map +1 -1
- package/dist/Components/NcPasswordField.mjs +25 -23
- package/dist/Components/NcPasswordField.mjs.map +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +6 -4
- package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +24 -22
- package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
- package/dist/Components/NcRichContenteditable.cjs +113 -82
- package/dist/Components/NcRichContenteditable.cjs.map +1 -1
- package/dist/Components/NcRichContenteditable.mjs +89 -55
- package/dist/Components/NcRichContenteditable.mjs.map +1 -1
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +3 -3
- package/dist/Components/NcSelect.cjs +22 -21
- package/dist/Components/NcSelect.cjs.map +1 -1
- package/dist/Components/NcSelect.mjs +28 -28
- package/dist/Components/NcSelect.mjs.map +1 -1
- package/dist/Components/NcSelectTags.cjs +4 -2
- package/dist/Components/NcSelectTags.cjs.map +1 -1
- package/dist/Components/NcSelectTags.mjs +46 -44
- package/dist/Components/NcSelectTags.mjs.map +1 -1
- package/dist/Components/NcSettingsInputText.cjs +5 -4
- package/dist/Components/NcSettingsInputText.cjs.map +1 -1
- package/dist/Components/NcSettingsInputText.mjs +15 -14
- package/dist/Components/NcSettingsInputText.mjs.map +1 -1
- package/dist/Components/NcSettingsSection.cjs +8 -6
- package/dist/Components/NcSettingsSection.cjs.map +1 -1
- package/dist/Components/NcSettingsSection.mjs +18 -17
- package/dist/Components/NcSettingsSection.mjs.map +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
- package/dist/Components/NcTextArea.cjs +5 -5
- package/dist/Components/NcTextArea.cjs.map +1 -1
- package/dist/Components/NcTextArea.mjs +4 -4
- package/dist/Components/NcTextArea.mjs.map +1 -1
- package/dist/Components/NcTextField.cjs +4 -2
- package/dist/Components/NcTextField.cjs.map +1 -1
- package/dist/Components/NcTextField.mjs +19 -17
- package/dist/Components/NcTextField.mjs.map +1 -1
- package/dist/Components/NcTimezonePicker.cjs +10 -8
- package/dist/Components/NcTimezonePicker.cjs.map +1 -1
- package/dist/Components/NcTimezonePicker.mjs +35 -33
- package/dist/Components/NcTimezonePicker.mjs.map +1 -1
- package/dist/Components/NcUserBubble.cjs +1 -1
- package/dist/Components/NcUserBubble.mjs +1 -1
- package/dist/Composables/useIsMobile.cjs +13 -8
- package/dist/Composables/useIsMobile.cjs.map +1 -1
- package/dist/Composables/useIsMobile.mjs +15 -10
- package/dist/Composables/useIsMobile.mjs.map +1 -1
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.cjs.map +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Functions/usernameToColor.mjs.map +1 -1
- package/dist/assets/{NcAppNavigationToggle-2bc73ee8.css → NcAppNavigationToggle-48c375e8.css} +4 -2
- package/dist/assets/{NcSettingsSelectGroup-6ddb63a6.css → NcSettingsSelectGroup-a29e2156.css} +2 -2
- package/dist/assets/{index-7157aefa.css → index-13720a46.css} +24 -24
- package/dist/assets/{index-93bc89ef.css → index-1a317434.css} +9 -12
- package/dist/assets/{index-3d1ccc15.css → index-2d5cf6b2.css} +45 -45
- package/dist/assets/index-3b654875.css +144 -0
- package/dist/assets/{index-e6a91529.css → index-7f77b8ae.css} +36 -36
- package/dist/assets/{index-9941f384.css → index-86454928.css} +13 -13
- package/dist/assets/{index-2d4de2fc.css → index-8b327013.css} +11 -3
- package/dist/assets/{index-30ca9574.css → index-97305c1f.css} +27 -40
- package/dist/assets/{index-73ded07b.css → index-a3c23731.css} +63 -63
- package/dist/assets/{index-50dc154e.css → index-a7fc7815.css} +16 -16
- package/dist/assets/{index-810b8984.css → index-a9999048.css} +11 -11
- package/dist/assets/{index-3764a447.css → index-aacb7cf8.css} +16 -16
- package/dist/assets/{index-b0a8a48c.css → index-b0bba2fc.css} +11 -11
- package/dist/assets/{index-b991895f.css → index-c20f9f7e.css} +15 -15
- package/dist/assets/{index-5e4bf286.css → index-d8bc189c.css} +38 -41
- package/dist/assets/{index-ffa6d11c.css → index-dab51681.css} +64 -31
- package/dist/assets/{index-4e03d941.css → index-f24e102f.css} +49 -48
- package/dist/assets/{index-4611417f.css → index-f5162bbd.css} +7 -7
- package/dist/assets/{index-34dfc54e.css → index-f78bd735.css} +13 -13
- package/dist/assets/{index-f72cef5d.css → index-fe84a063.css} +5 -5
- package/dist/chunks/GenColors-5c054042.mjs +137 -0
- package/dist/chunks/GenColors-5c054042.mjs.map +1 -0
- package/dist/chunks/GenColors-7495e6f6.cjs +136 -0
- package/dist/chunks/GenColors-7495e6f6.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationToggle-f5591773.mjs → NcAppNavigationToggle-0bc638a8.mjs} +27 -26
- package/dist/chunks/{NcAppNavigationToggle-6a975868.cjs.map → NcAppNavigationToggle-0bc638a8.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-6a975868.cjs → NcAppNavigationToggle-6d192bea.cjs} +17 -15
- package/dist/chunks/{NcAppNavigationToggle-f5591773.mjs.map → NcAppNavigationToggle-6d192bea.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-7837eb4d.mjs → NcInputConfirmCancel-a08c5cb4.mjs} +14 -13
- package/dist/chunks/{NcInputConfirmCancel-7837eb4d.mjs.map → NcInputConfirmCancel-a08c5cb4.mjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-790f5902.cjs → NcInputConfirmCancel-b99898db.cjs} +8 -7
- package/dist/chunks/{NcInputConfirmCancel-790f5902.cjs.map → NcInputConfirmCancel-b99898db.cjs.map} +1 -1
- package/dist/chunks/{NcRichText-0db09c78.mjs → NcRichText-e4bf7767.mjs} +1 -1
- package/dist/chunks/{NcRichText-0db09c78.mjs.map → NcRichText-e4bf7767.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-0dd96aac.cjs → NcRichText-f729896c.cjs} +1 -1
- package/dist/chunks/{NcRichText-0dd96aac.cjs.map → NcRichText-f729896c.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-532ba813.cjs → NcSettingsSelectGroup-b065ffc8.cjs} +18 -17
- package/dist/chunks/NcSettingsSelectGroup-b065ffc8.cjs.map +1 -0
- package/dist/chunks/{NcSettingsSelectGroup-cdd84895.mjs → NcSettingsSelectGroup-ecc8bc5a.mjs} +19 -19
- package/dist/chunks/NcSettingsSelectGroup-ecc8bc5a.mjs.map +1 -0
- package/dist/chunks/{ScopeComponent-92144d97.cjs → ScopeComponent-06c558d3.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-92144d97.cjs.map → ScopeComponent-06c558d3.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-ac5265f5.mjs → ScopeComponent-b039a43c.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-ac5265f5.mjs.map → ScopeComponent-b039a43c.mjs.map} +1 -1
- package/dist/chunks/_l10n-72c5e29e.cjs +62 -0
- package/dist/chunks/_l10n-72c5e29e.cjs.map +1 -0
- package/dist/chunks/_l10n-f5af5269.mjs +64 -0
- package/dist/chunks/_l10n-f5af5269.mjs.map +1 -0
- package/dist/chunks/{actionText-60ff01d1.mjs → actionText-123f26b0.mjs} +3 -3
- package/dist/chunks/{actionText-60ff01d1.mjs.map → actionText-123f26b0.mjs.map} +1 -1
- package/dist/chunks/{actionText-9582810f.cjs → actionText-e450809c.cjs} +5 -5
- package/dist/chunks/{actionText-9582810f.cjs.map → actionText-e450809c.cjs.map} +1 -1
- package/dist/chunks/{index-efb07851.mjs → index-309426ff.mjs} +123 -77
- package/dist/chunks/index-309426ff.mjs.map +1 -0
- package/dist/chunks/{index-32c8b581.cjs → index-693e993c.cjs} +109 -64
- package/dist/chunks/index-693e993c.cjs.map +1 -0
- package/dist/chunks/{referencePickerModal-ded8273d.mjs → referencePickerModal-12935fb3.mjs} +175 -169
- package/dist/chunks/{referencePickerModal-ded8273d.mjs.map → referencePickerModal-12935fb3.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-90dac0d0.cjs → referencePickerModal-12fa2ad0.cjs} +36 -30
- package/dist/chunks/{referencePickerModal-90dac0d0.cjs.map → referencePickerModal-12fa2ad0.cjs.map} +1 -1
- package/dist/index.cjs +93 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +96 -95
- package/dist/index.mjs.map +1 -1
- package/dist/utils/UserStatus.d.ts +26 -0
- package/package.json +10 -4
- package/dist/assets/index-2e5e3b55.css +0 -151
- package/dist/chunks/GenColors-12ec1caa.mjs +0 -56
- package/dist/chunks/GenColors-12ec1caa.mjs.map +0 -1
- package/dist/chunks/GenColors-a8d54566.cjs +0 -55
- package/dist/chunks/GenColors-a8d54566.cjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-532ba813.cjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-cdd84895.mjs.map +0 -1
- package/dist/chunks/index-32c8b581.cjs.map +0 -1
- package/dist/chunks/index-efb07851.mjs.map +0 -1
- package/dist/chunks/l10n-070da9ad.cjs +0 -29
- package/dist/chunks/l10n-070da9ad.cjs.map +0 -1
- package/dist/chunks/l10n-1b905a9a.mjs +0 -31
- package/dist/chunks/l10n-1b905a9a.mjs.map +0 -1
- package/dist/chunks/l10n-38626490.cjs +0 -8
- package/dist/chunks/l10n-38626490.cjs.map +0 -1
- package/dist/chunks/l10n-6cfc1200.mjs +0 -10
- package/dist/chunks/l10n-6cfc1200.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -15,33 +15,33 @@ import A from "./Components/NcAppContentDetails.mjs";
|
|
|
15
15
|
import g from "./Components/NcAppContentList.mjs";
|
|
16
16
|
import b from "./Components/NcAppNavigation.mjs";
|
|
17
17
|
import S from "./Components/NcAppNavigationCaption.mjs";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
18
|
+
import T from "./Components/NcAppNavigationIconBullet.mjs";
|
|
19
|
+
import x from "./Components/NcAppNavigationItem.mjs";
|
|
20
|
+
import I from "./Components/NcAppNavigationNew.mjs";
|
|
21
|
+
import v from "./Components/NcAppNavigationNewItem.mjs";
|
|
22
|
+
import C from "./Components/NcAppNavigationSettings.mjs";
|
|
23
|
+
import B from "./Components/NcAppNavigationSpacer.mjs";
|
|
24
|
+
import k from "./Components/NcAppSettingsDialog.mjs";
|
|
25
|
+
import P from "./Components/NcAppSettingsSection.mjs";
|
|
26
|
+
import h from "./Components/NcAppSidebar.mjs";
|
|
27
27
|
import y from "./Components/NcAppSidebarTab.mjs";
|
|
28
|
-
import { N as
|
|
29
|
-
import { u as
|
|
28
|
+
import { N as M } from "./chunks/index-309426ff.mjs";
|
|
29
|
+
import { u as rt } from "./chunks/index-309426ff.mjs";
|
|
30
30
|
import O from "./Components/NcBreadcrumb.mjs";
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
31
|
+
import E from "./Components/NcBreadcrumbs.mjs";
|
|
32
|
+
import L from "./Components/NcButton.mjs";
|
|
33
|
+
import R from "./Components/NcCheckboxRadioSwitch.mjs";
|
|
34
|
+
import _ from "./Components/NcColorPicker.mjs";
|
|
35
|
+
import D from "./Components/NcContent.mjs";
|
|
36
|
+
import j from "./Components/NcCounterBubble.mjs";
|
|
37
37
|
import F from "./Components/NcDashboardWidget.mjs";
|
|
38
38
|
import w from "./Components/NcDashboardWidgetItem.mjs";
|
|
39
39
|
import z from "./Components/NcDateTime.mjs";
|
|
40
40
|
import G from "./Components/NcDateTimePicker.mjs";
|
|
41
41
|
import W from "./Components/NcDateTimePickerNative.mjs";
|
|
42
42
|
import H from "./Components/NcDialog.mjs";
|
|
43
|
-
import
|
|
44
|
-
import
|
|
43
|
+
import K from "./Components/NcDialogButton.mjs";
|
|
44
|
+
import V from "./Components/NcEmojiPicker.mjs";
|
|
45
45
|
import U from "./Components/NcEmptyContent.mjs";
|
|
46
46
|
import $ from "./Components/NcGuestContent.mjs";
|
|
47
47
|
import q from "./Components/NcHeaderMenu.mjs";
|
|
@@ -57,14 +57,13 @@ import io from "./Components/NcPopover.mjs";
|
|
|
57
57
|
import mo from "./Components/NcProgressBar.mjs";
|
|
58
58
|
import eo from "./Components/NcRelatedResourcesPanel.mjs";
|
|
59
59
|
import { N as po } from "./chunks/index-5f2a5f57.mjs";
|
|
60
|
-
import { r as
|
|
60
|
+
import { r as it } from "./chunks/index-5f2a5f57.mjs";
|
|
61
61
|
import co, { NcAutoCompleteResult as fo } from "./Components/NcRichContenteditable.mjs";
|
|
62
|
-
import { N as no } from "./chunks/NcRichText-
|
|
63
|
-
import "./chunks/referencePickerModal-
|
|
62
|
+
import { N as no } from "./chunks/NcRichText-e4bf7767.mjs";
|
|
63
|
+
import "./chunks/referencePickerModal-12935fb3.mjs";
|
|
64
64
|
import "@nextcloud/axios";
|
|
65
65
|
import "@nextcloud/router";
|
|
66
66
|
import No from "./Components/NcSelect.mjs";
|
|
67
|
-
import "./chunks/l10n-1b905a9a.mjs";
|
|
68
67
|
import ao from "./Components/NcTextField.mjs";
|
|
69
68
|
import "@nextcloud/event-bus";
|
|
70
69
|
import "vue";
|
|
@@ -72,22 +71,22 @@ import so from "./Components/NcSavingIndicatorIcon.mjs";
|
|
|
72
71
|
import lo from "./Components/NcSelectTags.mjs";
|
|
73
72
|
import uo from "./Components/NcSettingsInputText.mjs";
|
|
74
73
|
import Ao from "./Components/NcSettingsSection.mjs";
|
|
75
|
-
import { N as go } from "./chunks/NcSettingsSelectGroup-
|
|
74
|
+
import { N as go } from "./chunks/NcSettingsSelectGroup-ecc8bc5a.mjs";
|
|
76
75
|
import bo from "./Components/NcTimezonePicker.mjs";
|
|
77
76
|
import So from "./Components/NcUserBubble.mjs";
|
|
78
|
-
import
|
|
79
|
-
import { isFullscreenState as
|
|
80
|
-
import { MOBILE_BREAKPOINT as nt, isMobileState as Nt, useIsMobile as at } from "./Composables/useIsMobile.mjs";
|
|
81
|
-
import { emojiAddRecent as
|
|
82
|
-
import { default as
|
|
83
|
-
import { directive as
|
|
84
|
-
import { directive as
|
|
77
|
+
import To from "./Components/NcTextArea.mjs";
|
|
78
|
+
import { isFullscreenState as et, useIsFullscreen as pt } from "./Composables/useIsFullscreen.mjs";
|
|
79
|
+
import { MOBILE_BREAKPOINT as ft, MOBILE_SMALL_BREAKPOINT as nt, isMobileState as Nt, useIsMobile as at, useIsSmallMobile as st } from "./Composables/useIsMobile.mjs";
|
|
80
|
+
import { emojiAddRecent as ut, emojiSearch as dt } from "./Functions/emoji.mjs";
|
|
81
|
+
import { default as gt } from "./Functions/usernameToColor.mjs";
|
|
82
|
+
import { directive as xo } from "./Directives/Focus.mjs";
|
|
83
|
+
import { directive as Io } from "./Directives/Linkify.mjs";
|
|
85
84
|
import "./Directives/Tooltip.mjs";
|
|
86
|
-
import { default as
|
|
85
|
+
import { default as St } from "./Mixins/clickOutsideOptions.mjs";
|
|
87
86
|
import { default as xt } from "./Mixins/isFullscreen.mjs";
|
|
88
87
|
import { default as vt } from "./Mixins/isMobile.mjs";
|
|
89
|
-
import { VTooltip as
|
|
90
|
-
import { VTooltip as
|
|
88
|
+
import { VTooltip as vo } from "floating-vue";
|
|
89
|
+
import { VTooltip as Bt } from "floating-vue";
|
|
91
90
|
/**
|
|
92
91
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
93
92
|
*
|
|
@@ -109,7 +108,7 @@ import { VTooltip as It } from "floating-vue";
|
|
|
109
108
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
110
109
|
*
|
|
111
110
|
*/
|
|
112
|
-
const
|
|
111
|
+
const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
113
112
|
__proto__: null,
|
|
114
113
|
NcActionButton: i,
|
|
115
114
|
NcActionButtonGroup: m,
|
|
@@ -128,33 +127,33 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
128
127
|
NcAppContentList: g,
|
|
129
128
|
NcAppNavigation: b,
|
|
130
129
|
NcAppNavigationCaption: S,
|
|
131
|
-
NcAppNavigationIconBullet:
|
|
132
|
-
NcAppNavigationItem:
|
|
133
|
-
NcAppNavigationNew:
|
|
134
|
-
NcAppNavigationNewItem:
|
|
135
|
-
NcAppNavigationSettings:
|
|
136
|
-
NcAppNavigationSpacer:
|
|
137
|
-
NcAppSettingsDialog:
|
|
138
|
-
NcAppSettingsSection:
|
|
139
|
-
NcAppSidebar:
|
|
130
|
+
NcAppNavigationIconBullet: T,
|
|
131
|
+
NcAppNavigationItem: x,
|
|
132
|
+
NcAppNavigationNew: I,
|
|
133
|
+
NcAppNavigationNewItem: v,
|
|
134
|
+
NcAppNavigationSettings: C,
|
|
135
|
+
NcAppNavigationSpacer: B,
|
|
136
|
+
NcAppSettingsDialog: k,
|
|
137
|
+
NcAppSettingsSection: P,
|
|
138
|
+
NcAppSidebar: h,
|
|
140
139
|
NcAppSidebarTab: y,
|
|
141
140
|
NcAutoCompleteResult: fo,
|
|
142
|
-
NcAvatar:
|
|
141
|
+
NcAvatar: M,
|
|
143
142
|
NcBreadcrumb: O,
|
|
144
|
-
NcBreadcrumbs:
|
|
145
|
-
NcButton:
|
|
146
|
-
NcCheckboxRadioSwitch:
|
|
147
|
-
NcColorPicker:
|
|
148
|
-
NcContent:
|
|
149
|
-
NcCounterBubble:
|
|
143
|
+
NcBreadcrumbs: E,
|
|
144
|
+
NcButton: L,
|
|
145
|
+
NcCheckboxRadioSwitch: R,
|
|
146
|
+
NcColorPicker: _,
|
|
147
|
+
NcContent: D,
|
|
148
|
+
NcCounterBubble: j,
|
|
150
149
|
NcDashboardWidget: F,
|
|
151
150
|
NcDashboardWidgetItem: w,
|
|
152
151
|
NcDateTime: z,
|
|
153
152
|
NcDateTimePicker: G,
|
|
154
153
|
NcDateTimePickerNative: W,
|
|
155
154
|
NcDialog: H,
|
|
156
|
-
NcDialogButton:
|
|
157
|
-
NcEmojiPicker:
|
|
155
|
+
NcDialogButton: K,
|
|
156
|
+
NcEmojiPicker: V,
|
|
158
157
|
NcEmptyContent: U,
|
|
159
158
|
NcGuestContent: $,
|
|
160
159
|
NcHeaderMenu: q,
|
|
@@ -178,7 +177,7 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
178
177
|
NcSettingsInputText: uo,
|
|
179
178
|
NcSettingsSection: Ao,
|
|
180
179
|
NcSettingsSelectGroup: go,
|
|
181
|
-
NcTextArea:
|
|
180
|
+
NcTextArea: To,
|
|
182
181
|
NcTextField: ao,
|
|
183
182
|
NcTimezonePicker: bo,
|
|
184
183
|
NcUserBubble: So
|
|
@@ -204,7 +203,7 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
204
203
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
205
204
|
*
|
|
206
205
|
*/
|
|
207
|
-
const
|
|
206
|
+
const Xr = (o) => o.type === "click" || o.type === "keydown" && o.key === "Enter";
|
|
208
207
|
/**
|
|
209
208
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
210
209
|
*
|
|
@@ -226,24 +225,25 @@ const Yr = (o) => o.type === "click" || o.type === "keydown" && o.key === "Enter
|
|
|
226
225
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
227
226
|
*
|
|
228
227
|
*/
|
|
229
|
-
const
|
|
228
|
+
const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
230
229
|
__proto__: null,
|
|
231
|
-
Focus:
|
|
232
|
-
Linkify:
|
|
233
|
-
Tooltip:
|
|
234
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
230
|
+
Focus: xo,
|
|
231
|
+
Linkify: Io,
|
|
232
|
+
Tooltip: vo
|
|
233
|
+
}, Symbol.toStringTag, { value: "Module" })), Yr = {
|
|
235
234
|
install(o) {
|
|
236
|
-
Object.entries(
|
|
235
|
+
Object.entries(Co).forEach(([t, r]) => {
|
|
237
236
|
o.component(r.name || t, r);
|
|
238
|
-
}), Object.entries(
|
|
237
|
+
}), Object.entries(Bo).forEach(([t, r]) => {
|
|
239
238
|
o.directive(t, r);
|
|
240
239
|
});
|
|
241
240
|
}
|
|
242
241
|
};
|
|
243
242
|
export {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
xo as Focus,
|
|
244
|
+
Io as Linkify,
|
|
245
|
+
ft as MOBILE_BREAKPOINT,
|
|
246
|
+
nt as MOBILE_SMALL_BREAKPOINT,
|
|
247
247
|
i as NcActionButton,
|
|
248
248
|
m as NcActionButtonGroup,
|
|
249
249
|
e as NcActionCaption,
|
|
@@ -261,33 +261,33 @@ export {
|
|
|
261
261
|
g as NcAppContentList,
|
|
262
262
|
b as NcAppNavigation,
|
|
263
263
|
S as NcAppNavigationCaption,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
264
|
+
T as NcAppNavigationIconBullet,
|
|
265
|
+
x as NcAppNavigationItem,
|
|
266
|
+
I as NcAppNavigationNew,
|
|
267
|
+
v as NcAppNavigationNewItem,
|
|
268
|
+
C as NcAppNavigationSettings,
|
|
269
|
+
B as NcAppNavigationSpacer,
|
|
270
|
+
k as NcAppSettingsDialog,
|
|
271
|
+
P as NcAppSettingsSection,
|
|
272
|
+
h as NcAppSidebar,
|
|
273
273
|
y as NcAppSidebarTab,
|
|
274
274
|
fo as NcAutoCompleteResult,
|
|
275
|
-
|
|
275
|
+
M as NcAvatar,
|
|
276
276
|
O as NcBreadcrumb,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
277
|
+
E as NcBreadcrumbs,
|
|
278
|
+
L as NcButton,
|
|
279
|
+
R as NcCheckboxRadioSwitch,
|
|
280
|
+
_ as NcColorPicker,
|
|
281
|
+
D as NcContent,
|
|
282
|
+
j as NcCounterBubble,
|
|
283
283
|
F as NcDashboardWidget,
|
|
284
284
|
w as NcDashboardWidgetItem,
|
|
285
285
|
z as NcDateTime,
|
|
286
286
|
G as NcDateTimePicker,
|
|
287
287
|
W as NcDateTimePickerNative,
|
|
288
288
|
H as NcDialog,
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
K as NcDialogButton,
|
|
290
|
+
V as NcEmojiPicker,
|
|
291
291
|
U as NcEmptyContent,
|
|
292
292
|
$ as NcGuestContent,
|
|
293
293
|
q as NcHeaderMenu,
|
|
@@ -311,23 +311,24 @@ export {
|
|
|
311
311
|
uo as NcSettingsInputText,
|
|
312
312
|
Ao as NcSettingsSection,
|
|
313
313
|
go as NcSettingsSelectGroup,
|
|
314
|
-
|
|
314
|
+
To as NcTextArea,
|
|
315
315
|
ao as NcTextField,
|
|
316
316
|
bo as NcTimezonePicker,
|
|
317
317
|
So as NcUserBubble,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
318
|
+
Yr as NextcloudVuePlugin,
|
|
319
|
+
Bt as Tooltip,
|
|
320
|
+
St as clickOutsideOptions,
|
|
321
|
+
ut as emojiAddRecent,
|
|
322
|
+
dt as emojiSearch,
|
|
323
|
+
Xr as isA11yActivation,
|
|
324
324
|
xt as isFullscreen,
|
|
325
|
-
|
|
325
|
+
et as isFullscreenState,
|
|
326
326
|
vt as isMobile,
|
|
327
327
|
Nt as isMobileState,
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
it as richEditor,
|
|
329
|
+
pt as useIsFullscreen,
|
|
330
330
|
at as useIsMobile,
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
st as useIsSmallMobile,
|
|
332
|
+
rt as userStatus,
|
|
333
|
+
gt as usernameToColor
|
|
333
334
|
};
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../src/components/index.js","../src/functions/a11y/index.ts","../src/directives/index.js","../src/plugin.ts"],"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\nexport { default as NcActionButton } from './NcActionButton/index.js'\nexport { default as NcActionButtonGroup } from './NcActionButtonGroup/index.js'\nexport { default as NcActionCaption } from './NcActionCaption/index.js'\nexport { default as NcActionCheckbox } from './NcActionCheckbox/index.js'\nexport { default as NcActionInput } from './NcActionInput/index.js'\nexport { default as NcActionLink } from './NcActionLink/index.js'\nexport { default as NcActionRadio } from './NcActionRadio/index.js'\nexport { default as NcActionRouter } from './NcActionRouter/index.js'\nexport { default as NcActions } from './NcActions/index.js'\nexport { default as NcActionSeparator } from './NcActionSeparator/index.js'\nexport { default as NcActionText } from './NcActionText/index.js'\nexport { default as NcActionTextEditable } from './NcActionTextEditable/index.js'\nexport { default as NcAppContent } from './NcAppContent/index.js'\nexport { default as NcAppContentDetails } from './NcAppContentDetails/index.js'\nexport { default as NcAppContentList } from './NcAppContentList/index.js'\nexport { default as NcAppNavigation } from './NcAppNavigation/index.js'\nexport { default as NcAppNavigationCaption } from './NcAppNavigationCaption/index.js'\nexport { default as NcAppNavigationIconBullet } from './NcAppNavigationIconBullet/index.js'\nexport { default as NcAppNavigationItem } from './NcAppNavigationItem/index.js'\nexport { default as NcAppNavigationNew } from './NcAppNavigationNew/index.js'\nexport { default as NcAppNavigationNewItem } from './NcAppNavigationNewItem/index.js'\nexport { default as NcAppNavigationSettings } from './NcAppNavigationSettings/index.js'\nexport { default as NcAppNavigationSpacer } from './NcAppNavigationSpacer/index.js'\nexport { default as NcAppSettingsDialog } from './NcAppSettingsDialog/index.js'\nexport { default as NcAppSettingsSection } from './NcAppSettingsSection/index.js'\nexport { default as NcAppSidebar } from './NcAppSidebar/index.js'\nexport { default as NcAppSidebarTab } from './NcAppSidebarTab/index.js'\nexport { default as NcAvatar } from './NcAvatar/index.js'\nexport { default as NcBreadcrumb } from './NcBreadcrumb/index.js'\nexport { default as NcBreadcrumbs } from './NcBreadcrumbs/index.js'\nexport { default as NcButton } from './NcButton/index.js'\nexport { default as NcCheckboxRadioSwitch } from './NcCheckboxRadioSwitch/index.js'\nexport { default as NcColorPicker } from './NcColorPicker/index.js'\nexport { default as NcContent } from './NcContent/index.js'\nexport { default as NcCounterBubble } from './NcCounterBubble/index.js'\nexport { default as NcDashboardWidget } from './NcDashboardWidget/index.js'\nexport { default as NcDashboardWidgetItem } from './NcDashboardWidgetItem/index.js'\nexport { default as NcDateTime } from './NcDateTime/index.js'\nexport { default as NcDateTimePicker } from './NcDateTimePicker/index.js'\nexport { default as NcDateTimePickerNative } from './NcDateTimePickerNative/index.js'\nexport { default as NcDialog } from './NcDialog/index.js'\nexport { default as NcDialogButton } from './NcDialogButton/index.js'\n// Not exported on purpose\n// export { default as NcEllipsisedOption } from './NcEllipsisedOption/index.js'\nexport { default as NcEmojiPicker } from './NcEmojiPicker/index.js'\nexport { default as NcEmptyContent } from './NcEmptyContent/index.js'\nexport { default as NcGuestContent } from './NcGuestContent/index.js'\nexport { default as NcHeaderMenu } from './NcHeaderMenu/index.js'\nexport { default as NcHighlight } from './NcHighlight/index.js'\nexport { default as NcIconSvgWrapper } from './NcIconSvgWrapper/index.js'\n// Not exported on purpose as it is only meant as a base component\n// export { default as NcInputField } from './NcInputField/index.js'\nexport { default as NcListItem } from './NcListItem/index.js'\nexport { default as NcListItemIcon } from './NcListItemIcon/index.js'\nexport { default as NcLoadingIcon } from './NcLoadingIcon/index.js'\nexport { default as NcModal } from './NcModal/index.js'\nexport { default as NcNoteCard } from './NcNoteCard/index.js'\nexport { default as NcPasswordField } from './NcPasswordField/index.js'\nexport { default as NcPopover } from './NcPopover/index.js'\nexport { default as NcProgressBar } from './NcProgressBar/index.js'\nexport { default as NcRelatedResourcesPanel } from './NcRelatedResourcesPanel/index.js'\nexport { default as NcRichContenteditable, NcAutoCompleteResult, NcMentionBubble } from './NcRichContenteditable/index.js'\nexport { default as NcRichText } from './NcRichText/index.js'\nexport { default as NcSavingIndicatorIcon } from './NcSavingIndicatorIcon/index.js'\nexport { default as NcSelect } from './NcSelect/index.js'\nexport { default as NcSelectTags } from './NcSelectTags/index.js'\nexport { default as NcSettingsInputText } from './NcSettingsInputText/index.js'\nexport { default as NcSettingsSection } from './NcSettingsSection/index.js'\nexport { default as NcSettingsSelectGroup } from './NcSettingsSelectGroup/index.js'\nexport { default as NcTextField } from './NcTextField/index.js'\nexport { default as NcTimezonePicker } from './NcTimezonePicker/index.js'\nexport { default as NcUserBubble } from './NcUserBubble/index.js'\nexport { default as NcTextArea } from './NcTextArea/index.js'\n","/**\n * @copyright 2022 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n","/**\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\nexport { default as Focus } from './Focus/index.js'\nexport { default as Linkify } from './Linkify/index.js'\nexport { default as Tooltip } from './Tooltip/index.js'\n","import type { DefineComponent, Directive, PluginObject } from 'vue'\n\nimport * as NcComponents from './components/index.js'\nimport * as NcDirectives from './directives/index.js'\n\n/**\n * Install all Nextcloud Vue components and directives globally\n * @example\n * ```js\n * import { NextcloudVuePlugin } from '@nextcloud/vue'\n * import Vue from 'vue'\n *\n * // ...\n *\n * Vue.use(NextcloudVuePlugin)\n * new Vue({\n * // options\n * })\n * ```\n */\nexport const NextcloudVuePlugin: PluginObject<never> = {\n\tinstall(Vue) {\n\t\t// Install components\n\t\tObject.entries(NcComponents as { [key: string]: DefineComponent }).forEach(([name, component]) => {\n\t\t\tVue.component(component.name || name, component)\n\t\t})\n\n\t\t// Install directives\n\t\tObject.entries(NcDirectives as { [key: string]: Directive }).forEach(([name, directive]) => {\n\t\t\tVue.directive(name, directive)\n\t\t})\n\t},\n}\n"],"names":["isA11yActivation","event","NextcloudVuePlugin","Vue","NcComponents","name","component","NcDirectives","directive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6Ba,MAAAA,KAAmB,CAACC,MAC5BA,EAAM,SAAS,WAGfA,EAAM,SAAS,aAAcA,EAAwB,QAAQ;ACjClE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;8CCoBaC,KAA0C;AAAA,EACtD,QAAQC,GAAK;AAEL,WAAA,QAAQC,EAAkD,EAAE,QAAQ,CAAC,CAACC,GAAMC,CAAS,MAAM;AACjG,MAAAH,EAAI,UAAUG,EAAU,QAAQD,GAAMC,CAAS;AAAA,IAAA,CAC/C,GAGM,OAAA,QAAQC,EAA4C,EAAE,QAAQ,CAAC,CAACF,GAAMG,CAAS,MAAM;AACvF,MAAAL,EAAA,UAAUE,GAAMG,CAAS;AAAA,IAAA,CAC7B;AAAA,EACF;AACD;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../src/components/index.js","../src/functions/a11y/index.ts","../src/directives/index.js","../src/plugin.ts"],"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\nexport { default as NcActionButton } from './NcActionButton/index.js'\nexport { default as NcActionButtonGroup } from './NcActionButtonGroup/index.js'\nexport { default as NcActionCaption } from './NcActionCaption/index.js'\nexport { default as NcActionCheckbox } from './NcActionCheckbox/index.js'\nexport { default as NcActionInput } from './NcActionInput/index.js'\nexport { default as NcActionLink } from './NcActionLink/index.js'\nexport { default as NcActionRadio } from './NcActionRadio/index.js'\nexport { default as NcActionRouter } from './NcActionRouter/index.js'\nexport { default as NcActions } from './NcActions/index.js'\nexport { default as NcActionSeparator } from './NcActionSeparator/index.js'\nexport { default as NcActionText } from './NcActionText/index.js'\nexport { default as NcActionTextEditable } from './NcActionTextEditable/index.js'\nexport { default as NcAppContent } from './NcAppContent/index.js'\nexport { default as NcAppContentDetails } from './NcAppContentDetails/index.js'\nexport { default as NcAppContentList } from './NcAppContentList/index.js'\nexport { default as NcAppNavigation } from './NcAppNavigation/index.js'\nexport { default as NcAppNavigationCaption } from './NcAppNavigationCaption/index.js'\nexport { default as NcAppNavigationIconBullet } from './NcAppNavigationIconBullet/index.js'\nexport { default as NcAppNavigationItem } from './NcAppNavigationItem/index.js'\nexport { default as NcAppNavigationNew } from './NcAppNavigationNew/index.js'\nexport { default as NcAppNavigationNewItem } from './NcAppNavigationNewItem/index.js'\nexport { default as NcAppNavigationSettings } from './NcAppNavigationSettings/index.js'\nexport { default as NcAppNavigationSpacer } from './NcAppNavigationSpacer/index.js'\nexport { default as NcAppSettingsDialog } from './NcAppSettingsDialog/index.js'\nexport { default as NcAppSettingsSection } from './NcAppSettingsSection/index.js'\nexport { default as NcAppSidebar } from './NcAppSidebar/index.js'\nexport { default as NcAppSidebarTab } from './NcAppSidebarTab/index.js'\nexport { default as NcAvatar } from './NcAvatar/index.js'\nexport { default as NcBreadcrumb } from './NcBreadcrumb/index.js'\nexport { default as NcBreadcrumbs } from './NcBreadcrumbs/index.js'\nexport { default as NcButton } from './NcButton/index.js'\nexport { default as NcCheckboxRadioSwitch } from './NcCheckboxRadioSwitch/index.js'\nexport { default as NcColorPicker } from './NcColorPicker/index.js'\nexport { default as NcContent } from './NcContent/index.js'\nexport { default as NcCounterBubble } from './NcCounterBubble/index.js'\nexport { default as NcDashboardWidget } from './NcDashboardWidget/index.js'\nexport { default as NcDashboardWidgetItem } from './NcDashboardWidgetItem/index.js'\nexport { default as NcDateTime } from './NcDateTime/index.js'\nexport { default as NcDateTimePicker } from './NcDateTimePicker/index.js'\nexport { default as NcDateTimePickerNative } from './NcDateTimePickerNative/index.js'\nexport { default as NcDialog } from './NcDialog/index.js'\nexport { default as NcDialogButton } from './NcDialogButton/index.js'\n// Not exported on purpose\n// export { default as NcEllipsisedOption } from './NcEllipsisedOption/index.js'\nexport { default as NcEmojiPicker } from './NcEmojiPicker/index.js'\nexport { default as NcEmptyContent } from './NcEmptyContent/index.js'\nexport { default as NcGuestContent } from './NcGuestContent/index.js'\nexport { default as NcHeaderMenu } from './NcHeaderMenu/index.js'\nexport { default as NcHighlight } from './NcHighlight/index.js'\nexport { default as NcIconSvgWrapper } from './NcIconSvgWrapper/index.js'\n// Not exported on purpose as it is only meant as a base component\n// export { default as NcInputField } from './NcInputField/index.js'\nexport { default as NcListItem } from './NcListItem/index.js'\nexport { default as NcListItemIcon } from './NcListItemIcon/index.js'\nexport { default as NcLoadingIcon } from './NcLoadingIcon/index.js'\nexport { default as NcModal } from './NcModal/index.js'\nexport { default as NcNoteCard } from './NcNoteCard/index.js'\nexport { default as NcPasswordField } from './NcPasswordField/index.js'\nexport { default as NcPopover } from './NcPopover/index.js'\nexport { default as NcProgressBar } from './NcProgressBar/index.js'\nexport { default as NcRelatedResourcesPanel } from './NcRelatedResourcesPanel/index.js'\nexport { default as NcRichContenteditable, NcAutoCompleteResult, NcMentionBubble } from './NcRichContenteditable/index.js'\nexport { default as NcRichText } from './NcRichText/index.js'\nexport { default as NcSavingIndicatorIcon } from './NcSavingIndicatorIcon/index.js'\nexport { default as NcSelect } from './NcSelect/index.js'\nexport { default as NcSelectTags } from './NcSelectTags/index.js'\nexport { default as NcSettingsInputText } from './NcSettingsInputText/index.js'\nexport { default as NcSettingsSection } from './NcSettingsSection/index.js'\nexport { default as NcSettingsSelectGroup } from './NcSettingsSelectGroup/index.js'\nexport { default as NcTextField } from './NcTextField/index.js'\nexport { default as NcTimezonePicker } from './NcTimezonePicker/index.js'\nexport { default as NcUserBubble } from './NcUserBubble/index.js'\nexport { default as NcTextArea } from './NcTextArea/index.js'\n","/**\n * @copyright 2022 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n","/**\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\nexport { default as Focus } from './Focus/index.js'\nexport { default as Linkify } from './Linkify/index.js'\nexport { default as Tooltip } from './Tooltip/index.js'\n","import type { DefineComponent, Directive, PluginObject } from 'vue'\n\nimport * as NcComponents from './components/index.js'\nimport * as NcDirectives from './directives/index.js'\n\n/**\n * Install all Nextcloud Vue components and directives globally\n * @example\n * ```js\n * import { NextcloudVuePlugin } from '@nextcloud/vue'\n * import Vue from 'vue'\n *\n * // ...\n *\n * Vue.use(NextcloudVuePlugin)\n * new Vue({\n * // options\n * })\n * ```\n */\nexport const NextcloudVuePlugin: PluginObject<never> = {\n\tinstall(Vue) {\n\t\t// Install components\n\t\tObject.entries(NcComponents as { [key: string]: DefineComponent }).forEach(([name, component]) => {\n\t\t\tVue.component(component.name || name, component)\n\t\t})\n\n\t\t// Install directives\n\t\tObject.entries(NcDirectives as { [key: string]: Directive }).forEach(([name, directive]) => {\n\t\t\tVue.directive(name, directive)\n\t\t})\n\t},\n}\n"],"names":["isA11yActivation","event","NextcloudVuePlugin","Vue","NcComponents","name","component","NcDirectives","directive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6Ba,MAAAA,KAAmB,CAACC,MAC5BA,EAAM,SAAS,WAGfA,EAAM,SAAS,aAAcA,EAAwB,QAAQ;ACjClE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;8CCoBaC,KAA0C;AAAA,EACtD,QAAQC,GAAK;AAEL,WAAA,QAAQC,EAAkD,EAAE,QAAQ,CAAC,CAACC,GAAMC,CAAS,MAAM;AACjG,MAAAH,EAAI,UAAUG,EAAU,QAAQD,GAAMC,CAAS;AAAA,IAAA,CAC/C,GAGM,OAAA,QAAQC,EAA4C,EAAE,QAAQ,CAAC,CAACF,GAAMG,CAAS,MAAM;AACvF,MAAAL,EAAA,UAAUE,GAAMG,CAAS;AAAA,IAAA,CAC7B;AAAA,EACF;AACD;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright 2023 Christopher Ng <chrng8@gmail.com>
|
|
3
|
+
*
|
|
4
|
+
* @author Christopher Ng <chrng8@gmail.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
|
+
type Status = 'online' | 'away' | 'dnd' | 'invisible' | 'offline';
|
|
23
|
+
export declare const getUserStatusText: (status: Status) => string;
|
|
24
|
+
export declare const getUserStatusIcon: (status: Status) => null | string;
|
|
25
|
+
export declare const getUserStatusIconName: (status: Status) => string;
|
|
26
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextcloud/vue",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "Nextcloud vue components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuejs",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dev": "vite build --mode development",
|
|
18
18
|
"dev:watch": "vite build --mode development --watch",
|
|
19
19
|
"watch": "npm run dev:watch",
|
|
20
|
-
"l10n:extract": "node build/extract-l10n.
|
|
20
|
+
"l10n:extract": "node build/extract-l10n.mjs",
|
|
21
21
|
"lint": "eslint --ext .js,.vue src",
|
|
22
22
|
"lint:fix": "eslint --ext .js,.vue src --fix",
|
|
23
|
-
"test": "TZ=UTC jest --verbose",
|
|
23
|
+
"test": "TZ=UTC jest --verbose --color",
|
|
24
24
|
"test:coverage": "TZ=UTC jest --verbose --coverage --no-cache",
|
|
25
25
|
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css",
|
|
26
26
|
"stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix",
|
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
"./dist/Mixins/*.js": {
|
|
52
52
|
"import": "./dist/Mixins/*.mjs",
|
|
53
53
|
"require": "./dist/Mixins/*.cjs"
|
|
54
|
+
},
|
|
55
|
+
"./dist/Composables/*.js": {
|
|
56
|
+
"import": "./dist/Composables/*.mjs",
|
|
57
|
+
"require": "./dist/Composables/*.cjs"
|
|
54
58
|
}
|
|
55
59
|
},
|
|
56
60
|
"files": [
|
|
@@ -83,7 +87,6 @@
|
|
|
83
87
|
"focus-trap": "^7.4.3",
|
|
84
88
|
"linkify-string": "^4.0.0",
|
|
85
89
|
"md5": "^2.3.0",
|
|
86
|
-
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
87
90
|
"rehype-external-links": "^3.0.0",
|
|
88
91
|
"rehype-react": "^7.1.2",
|
|
89
92
|
"remark-breaks": "^4.0.0",
|
|
@@ -118,6 +121,7 @@
|
|
|
118
121
|
"@nextcloud/stylelint-config": "^2.3.1",
|
|
119
122
|
"@nextcloud/vite-config": "^1.0.1",
|
|
120
123
|
"@nextcloud/webpack-vue-config": "github:nextcloud/webpack-vue-config#master",
|
|
124
|
+
"@types/gettext-parser": "^4.0.4",
|
|
121
125
|
"@types/jest": "^29.5.5",
|
|
122
126
|
"@vue/test-utils": "^1.3.0",
|
|
123
127
|
"@vue/tsconfig": "^0.4.0",
|
|
@@ -133,8 +137,10 @@
|
|
|
133
137
|
"glob": "^10.0.0",
|
|
134
138
|
"jest": "^29.0.1",
|
|
135
139
|
"jest-environment-jsdom": "29.7.0",
|
|
140
|
+
"jest-raw-loader": "^1.0.1",
|
|
136
141
|
"jest-serializer-vue": "^3.1.0",
|
|
137
142
|
"jest-transform-stub": "^2.0.0",
|
|
143
|
+
"node-polyfill-webpack-plugin": "^3.0.0",
|
|
138
144
|
"resolve-url-loader": "^5.0.0",
|
|
139
145
|
"sanitize-filename": "^1.6.3",
|
|
140
146
|
"ts-node": "^10.9.1",
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
/**
|
|
3
|
-
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
4
|
-
*
|
|
5
|
-
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
6
|
-
*
|
|
7
|
-
* @license GNU AGPL version 3 or any later version
|
|
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
|
-
.material-design-icon[data-v-b9bda6c2] {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-self: center;
|
|
26
|
-
justify-self: center;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
}
|
|
30
|
-
.avatardiv[data-v-b9bda6c2] {
|
|
31
|
-
position: relative;
|
|
32
|
-
display: inline-block;
|
|
33
|
-
width: var(--size);
|
|
34
|
-
height: var(--size);
|
|
35
|
-
}
|
|
36
|
-
.avatardiv--unknown[data-v-b9bda6c2] {
|
|
37
|
-
position: relative;
|
|
38
|
-
background-color: var(--color-main-background);
|
|
39
|
-
white-space: normal;
|
|
40
|
-
}
|
|
41
|
-
.avatardiv[data-v-b9bda6c2]:not(.avatardiv--unknown) {
|
|
42
|
-
background-color: var(--color-main-background) !important;
|
|
43
|
-
box-shadow: 0 0 5px #0000000d inset;
|
|
44
|
-
}
|
|
45
|
-
.avatardiv--with-menu[data-v-b9bda6c2] {
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
}
|
|
48
|
-
.avatardiv--with-menu .action-item[data-v-b9bda6c2] {
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 0;
|
|
51
|
-
left: 0;
|
|
52
|
-
}
|
|
53
|
-
.avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle {
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
opacity: 0;
|
|
56
|
-
}
|
|
57
|
-
.avatardiv--with-menu[data-v-b9bda6c2]:focus .action-item__menutoggle,
|
|
58
|
-
.avatardiv--with-menu[data-v-b9bda6c2]:hover .action-item__menutoggle,
|
|
59
|
-
.avatardiv--with-menu.avatardiv--with-menu-loading[data-v-b9bda6c2] .action-item__menutoggle {
|
|
60
|
-
opacity: 1;
|
|
61
|
-
}
|
|
62
|
-
.avatardiv--with-menu:focus img[data-v-b9bda6c2],
|
|
63
|
-
.avatardiv--with-menu:hover img[data-v-b9bda6c2],
|
|
64
|
-
.avatardiv--with-menu.avatardiv--with-menu-loading img[data-v-b9bda6c2] {
|
|
65
|
-
opacity: .3;
|
|
66
|
-
}
|
|
67
|
-
.avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle,
|
|
68
|
-
.avatardiv--with-menu img[data-v-b9bda6c2] {
|
|
69
|
-
transition: opacity var(--animation-quick);
|
|
70
|
-
}
|
|
71
|
-
.avatardiv--with-menu[data-v-b9bda6c2] .button-vue,
|
|
72
|
-
.avatardiv--with-menu[data-v-b9bda6c2] .button-vue__icon {
|
|
73
|
-
height: var(--size);
|
|
74
|
-
min-height: var(--size);
|
|
75
|
-
width: var(--size) !important;
|
|
76
|
-
min-width: var(--size);
|
|
77
|
-
}
|
|
78
|
-
.avatardiv .avatardiv__initials-wrapper[data-v-b9bda6c2] {
|
|
79
|
-
display: block;
|
|
80
|
-
height: var(--size);
|
|
81
|
-
width: var(--size);
|
|
82
|
-
background-color: var(--color-main-background);
|
|
83
|
-
border-radius: 50%;
|
|
84
|
-
}
|
|
85
|
-
.avatardiv .avatardiv__initials-wrapper .avatardiv__initials[data-v-b9bda6c2] {
|
|
86
|
-
position: absolute;
|
|
87
|
-
top: 0;
|
|
88
|
-
left: 0;
|
|
89
|
-
display: block;
|
|
90
|
-
width: 100%;
|
|
91
|
-
text-align: center;
|
|
92
|
-
font-weight: 400;
|
|
93
|
-
}
|
|
94
|
-
.avatardiv img[data-v-b9bda6c2] {
|
|
95
|
-
width: 100%;
|
|
96
|
-
height: 100%;
|
|
97
|
-
object-fit: cover;
|
|
98
|
-
}
|
|
99
|
-
.avatardiv .material-design-icon[data-v-b9bda6c2] {
|
|
100
|
-
width: var(--size);
|
|
101
|
-
height: var(--size);
|
|
102
|
-
}
|
|
103
|
-
.avatardiv .avatardiv__user-status[data-v-b9bda6c2] {
|
|
104
|
-
position: absolute;
|
|
105
|
-
right: -4px;
|
|
106
|
-
bottom: -4px;
|
|
107
|
-
max-height: 18px;
|
|
108
|
-
max-width: 18px;
|
|
109
|
-
height: 40%;
|
|
110
|
-
width: 40%;
|
|
111
|
-
line-height: 15px;
|
|
112
|
-
font-size: var(--default-font-size);
|
|
113
|
-
border: 2px solid var(--color-main-background);
|
|
114
|
-
background-color: var(--color-main-background);
|
|
115
|
-
background-repeat: no-repeat;
|
|
116
|
-
background-size: 16px;
|
|
117
|
-
background-position: center;
|
|
118
|
-
border-radius: 50%;
|
|
119
|
-
}
|
|
120
|
-
.acli:hover .avatardiv .avatardiv__user-status[data-v-b9bda6c2] {
|
|
121
|
-
border-color: var(--color-background-hover);
|
|
122
|
-
background-color: var(--color-background-hover);
|
|
123
|
-
}
|
|
124
|
-
.acli.active .avatardiv .avatardiv__user-status[data-v-b9bda6c2] {
|
|
125
|
-
border-color: var(--color-primary-element-light);
|
|
126
|
-
background-color: var(--color-primary-element-light);
|
|
127
|
-
}
|
|
128
|
-
.avatardiv .avatardiv__user-status--online[data-v-b9bda6c2] {
|
|
129
|
-
background-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K);
|
|
130
|
-
}
|
|
131
|
-
.avatardiv .avatardiv__user-status--dnd[data-v-b9bda6c2] {
|
|
132
|
-
background-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg==);
|
|
133
|
-
background-color: #fff;
|
|
134
|
-
}
|
|
135
|
-
.avatardiv .avatardiv__user-status--away[data-v-b9bda6c2] {
|
|
136
|
-
background-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg==);
|
|
137
|
-
}
|
|
138
|
-
.avatardiv .avatardiv__user-status--icon[data-v-b9bda6c2] {
|
|
139
|
-
border: none;
|
|
140
|
-
background-color: transparent;
|
|
141
|
-
}
|
|
142
|
-
.avatardiv .popovermenu-wrapper[data-v-b9bda6c2] {
|
|
143
|
-
position: relative;
|
|
144
|
-
display: inline-block;
|
|
145
|
-
}
|
|
146
|
-
.avatar-class-icon[data-v-b9bda6c2] {
|
|
147
|
-
display: block;
|
|
148
|
-
border-radius: 50%;
|
|
149
|
-
background-color: var(--color-background-darker);
|
|
150
|
-
height: 100%;
|
|
151
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { t as u } from "./l10n-1b905a9a.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
|
|
4
|
-
*
|
|
5
|
-
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
6
|
-
* @author Grigorii K. Shartsev <me@shgk.me>
|
|
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
|
-
class l {
|
|
25
|
-
/**
|
|
26
|
-
* @param {number} r The red value
|
|
27
|
-
* @param {number} g The green value
|
|
28
|
-
* @param {number} b The blue value
|
|
29
|
-
* @param {string} [name] The name of the color
|
|
30
|
-
*/
|
|
31
|
-
constructor(t, n, r, c) {
|
|
32
|
-
this.r = t, this.g = n, this.b = r, c && (this.name = c);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function b(o, t) {
|
|
36
|
-
const n = new Array(3);
|
|
37
|
-
return n[0] = (t[1].r - t[0].r) / o, n[1] = (t[1].g - t[0].g) / o, n[2] = (t[1].b - t[0].b) / o, n;
|
|
38
|
-
}
|
|
39
|
-
function i(o, t, n) {
|
|
40
|
-
const r = [];
|
|
41
|
-
r.push(t);
|
|
42
|
-
const c = b(o, [t, n]);
|
|
43
|
-
for (let e = 1; e < o; e++) {
|
|
44
|
-
const a = Math.floor(t.r + c[0] * e), f = Math.floor(t.g + c[1] * e), h = Math.floor(t.b + c[2] * e);
|
|
45
|
-
r.push(new l(a, f, h));
|
|
46
|
-
}
|
|
47
|
-
return r;
|
|
48
|
-
}
|
|
49
|
-
function w(o) {
|
|
50
|
-
o || (o = 6);
|
|
51
|
-
const t = new l(182, 70, 157, u("Purple")), n = new l(221, 203, 85, u("Gold")), r = new l(0, 130, 201, u("Nextcloud blue")), c = i(o, t, n), e = i(o, n, r), a = i(o, r, t);
|
|
52
|
-
return c.concat(e).concat(a);
|
|
53
|
-
}
|
|
54
|
-
export {
|
|
55
|
-
w as G
|
|
56
|
-
};
|