@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.cjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const s = require("./Components/NcActionButton.cjs"), N = require("./Components/NcActionButtonGroup.cjs"), p = require("./Components/NcActionCaption.cjs"),
|
|
4
|
-
require("./chunks/referencePickerModal-
|
|
3
|
+
const s = require("./Components/NcActionButton.cjs"), N = require("./Components/NcActionButtonGroup.cjs"), p = require("./Components/NcActionCaption.cjs"), a = require("./Components/NcActionCheckbox.cjs"), u = require("./Components/NcActionInput.cjs"), l = require("./Components/NcActionLink.cjs"), m = require("./Components/NcActionRadio.cjs"), C = require("./Components/NcActionRouter.cjs"), A = require("./Components/NcActions.cjs"), g = require("./Components/NcActionSeparator.cjs"), _ = require("./Components/NcActionText.cjs"), d = require("./Components/NcActionTextEditable.cjs"), q = require("./Components/NcAppContent.cjs"), b = require("./Components/NcAppContentDetails.cjs"), S = require("./Components/NcAppContentList.cjs"), I = require("./Components/NcAppNavigation.cjs"), v = require("./Components/NcAppNavigationCaption.cjs"), T = require("./Components/NcAppNavigationIconBullet.cjs"), B = require("./Components/NcAppNavigationItem.cjs"), h = require("./Components/NcAppNavigationNew.cjs"), P = require("./Components/NcAppNavigationNewItem.cjs"), R = require("./Components/NcAppNavigationSettings.cjs"), k = require("./Components/NcAppNavigationSpacer.cjs"), x = require("./Components/NcAppSettingsDialog.cjs"), M = require("./Components/NcAppSettingsSection.cjs"), D = require("./Components/NcAppSidebar.cjs"), L = require("./Components/NcAppSidebarTab.cjs"), i = require("./chunks/index-693e993c.cjs"), E = require("./Components/NcBreadcrumb.cjs"), O = require("./Components/NcBreadcrumbs.cjs"), y = require("./Components/NcButton.cjs"), F = require("./Components/NcCheckboxRadioSwitch.cjs"), f = require("./Components/NcColorPicker.cjs"), j = require("./Components/NcContent.cjs"), w = require("./Components/NcCounterBubble.cjs"), G = require("./Components/NcDashboardWidget.cjs"), W = require("./Components/NcDashboardWidgetItem.cjs"), H = require("./Components/NcDateTime.cjs"), z = require("./Components/NcDateTimePicker.cjs"), K = require("./Components/NcDateTimePickerNative.cjs"), V = require("./Components/NcDialog.cjs"), U = require("./Components/NcDialogButton.cjs"), J = require("./Components/NcEmojiPicker.cjs"), Q = require("./Components/NcEmptyContent.cjs"), X = require("./Components/NcGuestContent.cjs"), Y = require("./Components/NcHeaderMenu.cjs"), Z = require("./chunks/index-e894376a.cjs"), $ = require("./Components/NcIconSvgWrapper.cjs"), ee = require("./Components/NcListItem.cjs"), te = require("./Components/NcListItemIcon.cjs"), oe = require("./Components/NcLoadingIcon.cjs"), ce = require("./Components/NcModal.cjs"), ne = require("./Components/NcNoteCard.cjs"), ie = require("./Components/NcPasswordField.cjs"), re = require("./Components/NcPopover.cjs"), se = require("./Components/NcProgressBar.cjs"), Ne = require("./Components/NcRelatedResourcesPanel.cjs"), r = require("./chunks/index-4398f925.cjs"), c = require("./Components/NcRichContenteditable.cjs"), pe = require("./chunks/NcRichText-f729896c.cjs");
|
|
4
|
+
require("./chunks/referencePickerModal-12fa2ad0.cjs");
|
|
5
5
|
require("@nextcloud/axios");
|
|
6
6
|
require("@nextcloud/router");
|
|
7
|
-
const
|
|
8
|
-
require("./chunks/l10n-070da9ad.cjs");
|
|
9
|
-
const ae = require("./Components/NcTextField.cjs");
|
|
7
|
+
const ae = require("./Components/NcSelect.cjs"), ue = require("./Components/NcTextField.cjs");
|
|
10
8
|
require("@nextcloud/event-bus");
|
|
11
9
|
require("vue");
|
|
12
|
-
const le = require("./Components/NcSavingIndicatorIcon.cjs"), me = require("./Components/NcSelectTags.cjs"), Ce = require("./Components/NcSettingsInputText.cjs"), Ae = require("./Components/NcSettingsSection.cjs"), ge = require("./chunks/NcSettingsSelectGroup-
|
|
10
|
+
const le = require("./Components/NcSavingIndicatorIcon.cjs"), me = require("./Components/NcSelectTags.cjs"), Ce = require("./Components/NcSettingsInputText.cjs"), Ae = require("./Components/NcSettingsSection.cjs"), ge = require("./chunks/NcSettingsSelectGroup-b065ffc8.cjs"), _e = require("./Components/NcTimezonePicker.cjs"), de = require("./Components/NcUserBubble.cjs"), qe = require("./Components/NcTextArea.cjs"), be = require("./Composables/useIsFullscreen.cjs"), t = require("./Composables/useIsMobile.cjs"), Se = require("./Functions/emoji.cjs"), Be = require("./Functions/usernameToColor.cjs"), Ie = require("./Directives/Focus.cjs"), ve = require("./Directives/Linkify.cjs");
|
|
13
11
|
require("./Directives/Tooltip.cjs");
|
|
14
|
-
const
|
|
12
|
+
const he = require("./Mixins/clickOutsideOptions.cjs"), Pe = require("./Mixins/isFullscreen.cjs"), Re = require("./Mixins/isMobile.cjs"), Te = require("floating-vue");
|
|
15
13
|
/**
|
|
16
14
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
17
15
|
*
|
|
@@ -33,51 +31,51 @@ const Be = require("./Mixins/clickOutsideOptions.cjs"), Pe = require("./Mixins/i
|
|
|
33
31
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
34
32
|
*
|
|
35
33
|
*/
|
|
36
|
-
const
|
|
34
|
+
const ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
35
|
__proto__: null,
|
|
38
36
|
NcActionButton: s,
|
|
39
37
|
NcActionButtonGroup: N,
|
|
40
38
|
NcActionCaption: p,
|
|
41
|
-
NcActionCheckbox:
|
|
42
|
-
NcActionInput:
|
|
39
|
+
NcActionCheckbox: a,
|
|
40
|
+
NcActionInput: u,
|
|
43
41
|
NcActionLink: l,
|
|
44
42
|
NcActionRadio: m,
|
|
45
43
|
NcActionRouter: C,
|
|
46
44
|
NcActionSeparator: g,
|
|
47
|
-
NcActionText:
|
|
48
|
-
NcActionTextEditable:
|
|
45
|
+
NcActionText: _,
|
|
46
|
+
NcActionTextEditable: d,
|
|
49
47
|
NcActions: A,
|
|
50
|
-
NcAppContent:
|
|
48
|
+
NcAppContent: q,
|
|
51
49
|
NcAppContentDetails: b,
|
|
52
50
|
NcAppContentList: S,
|
|
53
|
-
NcAppNavigation:
|
|
54
|
-
NcAppNavigationCaption:
|
|
51
|
+
NcAppNavigation: I,
|
|
52
|
+
NcAppNavigationCaption: v,
|
|
55
53
|
NcAppNavigationIconBullet: T,
|
|
56
|
-
NcAppNavigationItem:
|
|
57
|
-
NcAppNavigationNew:
|
|
54
|
+
NcAppNavigationItem: B,
|
|
55
|
+
NcAppNavigationNew: h,
|
|
58
56
|
NcAppNavigationNewItem: P,
|
|
59
|
-
NcAppNavigationSettings:
|
|
60
|
-
NcAppNavigationSpacer:
|
|
61
|
-
NcAppSettingsDialog:
|
|
62
|
-
NcAppSettingsSection:
|
|
63
|
-
NcAppSidebar:
|
|
57
|
+
NcAppNavigationSettings: R,
|
|
58
|
+
NcAppNavigationSpacer: k,
|
|
59
|
+
NcAppSettingsDialog: x,
|
|
60
|
+
NcAppSettingsSection: M,
|
|
61
|
+
NcAppSidebar: D,
|
|
64
62
|
NcAppSidebarTab: L,
|
|
65
|
-
NcAutoCompleteResult:
|
|
66
|
-
NcAvatar:
|
|
67
|
-
NcBreadcrumb:
|
|
68
|
-
NcBreadcrumbs:
|
|
69
|
-
NcButton:
|
|
70
|
-
NcCheckboxRadioSwitch:
|
|
71
|
-
NcColorPicker:
|
|
72
|
-
NcContent:
|
|
63
|
+
NcAutoCompleteResult: c.NcAutoCompleteResult,
|
|
64
|
+
NcAvatar: i.NcAvatar,
|
|
65
|
+
NcBreadcrumb: E,
|
|
66
|
+
NcBreadcrumbs: O,
|
|
67
|
+
NcButton: y,
|
|
68
|
+
NcCheckboxRadioSwitch: F,
|
|
69
|
+
NcColorPicker: f,
|
|
70
|
+
NcContent: j,
|
|
73
71
|
NcCounterBubble: w,
|
|
74
72
|
NcDashboardWidget: G,
|
|
75
73
|
NcDashboardWidgetItem: W,
|
|
76
74
|
NcDateTime: H,
|
|
77
75
|
NcDateTimePicker: z,
|
|
78
|
-
NcDateTimePickerNative:
|
|
79
|
-
NcDialog:
|
|
80
|
-
NcDialogButton:
|
|
76
|
+
NcDateTimePickerNative: K,
|
|
77
|
+
NcDialog: V,
|
|
78
|
+
NcDialogButton: U,
|
|
81
79
|
NcEmojiPicker: J,
|
|
82
80
|
NcEmptyContent: Q,
|
|
83
81
|
NcGuestContent: X,
|
|
@@ -87,25 +85,25 @@ const xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
87
85
|
NcListItem: ee,
|
|
88
86
|
NcListItemIcon: te,
|
|
89
87
|
NcLoadingIcon: oe,
|
|
90
|
-
NcMentionBubble:
|
|
88
|
+
NcMentionBubble: r.NcMentionBubble,
|
|
91
89
|
NcModal: ce,
|
|
92
90
|
NcNoteCard: ne,
|
|
93
91
|
NcPasswordField: ie,
|
|
94
92
|
NcPopover: re,
|
|
95
93
|
NcProgressBar: se,
|
|
96
94
|
NcRelatedResourcesPanel: Ne,
|
|
97
|
-
NcRichContenteditable:
|
|
95
|
+
NcRichContenteditable: c.default,
|
|
98
96
|
NcRichText: pe.NcRichText,
|
|
99
97
|
NcSavingIndicatorIcon: le,
|
|
100
|
-
NcSelect:
|
|
98
|
+
NcSelect: ae,
|
|
101
99
|
NcSelectTags: me,
|
|
102
100
|
NcSettingsInputText: Ce,
|
|
103
101
|
NcSettingsSection: Ae,
|
|
104
102
|
NcSettingsSelectGroup: ge.NcSettingsSelectGroup,
|
|
105
|
-
NcTextArea:
|
|
106
|
-
NcTextField:
|
|
107
|
-
NcTimezonePicker:
|
|
108
|
-
NcUserBubble:
|
|
103
|
+
NcTextArea: qe,
|
|
104
|
+
NcTextField: ue,
|
|
105
|
+
NcTimezonePicker: _e,
|
|
106
|
+
NcUserBubble: de
|
|
109
107
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
110
108
|
/**
|
|
111
109
|
* @copyright 2022 Christopher Ng <chrng8@gmail.com>
|
|
@@ -128,7 +126,7 @@ const xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
128
126
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
129
127
|
*
|
|
130
128
|
*/
|
|
131
|
-
const
|
|
129
|
+
const xe = (e) => e.type === "click" || e.type === "keydown" && e.key === "Enter";
|
|
132
130
|
/**
|
|
133
131
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
134
132
|
*
|
|
@@ -150,63 +148,63 @@ const Re = (e) => e.type === "click" || e.type === "keydown" && e.key === "Enter
|
|
|
150
148
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
151
149
|
*
|
|
152
150
|
*/
|
|
153
|
-
const
|
|
151
|
+
const Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
154
152
|
__proto__: null,
|
|
155
|
-
Focus:
|
|
156
|
-
Linkify:
|
|
153
|
+
Focus: Ie.directive,
|
|
154
|
+
Linkify: ve.directive,
|
|
157
155
|
Tooltip: Te.VTooltip
|
|
158
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
156
|
+
}, Symbol.toStringTag, { value: "Module" })), De = {
|
|
159
157
|
install(e) {
|
|
160
|
-
Object.entries(
|
|
161
|
-
e.component(
|
|
162
|
-
}), Object.entries(
|
|
163
|
-
e.directive(
|
|
158
|
+
Object.entries(ke).forEach(([n, o]) => {
|
|
159
|
+
e.component(o.name || n, o);
|
|
160
|
+
}), Object.entries(Me).forEach(([n, o]) => {
|
|
161
|
+
e.directive(n, o);
|
|
164
162
|
});
|
|
165
163
|
}
|
|
166
164
|
};
|
|
167
165
|
exports.NcActionButton = s;
|
|
168
166
|
exports.NcActionButtonGroup = N;
|
|
169
167
|
exports.NcActionCaption = p;
|
|
170
|
-
exports.NcActionCheckbox =
|
|
171
|
-
exports.NcActionInput =
|
|
168
|
+
exports.NcActionCheckbox = a;
|
|
169
|
+
exports.NcActionInput = u;
|
|
172
170
|
exports.NcActionLink = l;
|
|
173
171
|
exports.NcActionRadio = m;
|
|
174
172
|
exports.NcActionRouter = C;
|
|
175
173
|
exports.NcActions = A;
|
|
176
174
|
exports.NcActionSeparator = g;
|
|
177
|
-
exports.NcActionText =
|
|
178
|
-
exports.NcActionTextEditable =
|
|
179
|
-
exports.NcAppContent =
|
|
175
|
+
exports.NcActionText = _;
|
|
176
|
+
exports.NcActionTextEditable = d;
|
|
177
|
+
exports.NcAppContent = q;
|
|
180
178
|
exports.NcAppContentDetails = b;
|
|
181
179
|
exports.NcAppContentList = S;
|
|
182
|
-
exports.NcAppNavigation =
|
|
183
|
-
exports.NcAppNavigationCaption =
|
|
180
|
+
exports.NcAppNavigation = I;
|
|
181
|
+
exports.NcAppNavigationCaption = v;
|
|
184
182
|
exports.NcAppNavigationIconBullet = T;
|
|
185
|
-
exports.NcAppNavigationItem =
|
|
186
|
-
exports.NcAppNavigationNew =
|
|
183
|
+
exports.NcAppNavigationItem = B;
|
|
184
|
+
exports.NcAppNavigationNew = h;
|
|
187
185
|
exports.NcAppNavigationNewItem = P;
|
|
188
|
-
exports.NcAppNavigationSettings =
|
|
189
|
-
exports.NcAppNavigationSpacer =
|
|
190
|
-
exports.NcAppSettingsDialog =
|
|
191
|
-
exports.NcAppSettingsSection =
|
|
192
|
-
exports.NcAppSidebar =
|
|
186
|
+
exports.NcAppNavigationSettings = R;
|
|
187
|
+
exports.NcAppNavigationSpacer = k;
|
|
188
|
+
exports.NcAppSettingsDialog = x;
|
|
189
|
+
exports.NcAppSettingsSection = M;
|
|
190
|
+
exports.NcAppSidebar = D;
|
|
193
191
|
exports.NcAppSidebarTab = L;
|
|
194
|
-
exports.NcAvatar =
|
|
195
|
-
exports.userStatus =
|
|
196
|
-
exports.NcBreadcrumb =
|
|
197
|
-
exports.NcBreadcrumbs =
|
|
198
|
-
exports.NcButton =
|
|
199
|
-
exports.NcCheckboxRadioSwitch =
|
|
200
|
-
exports.NcColorPicker =
|
|
201
|
-
exports.NcContent =
|
|
192
|
+
exports.NcAvatar = i.NcAvatar;
|
|
193
|
+
exports.userStatus = i.userStatus;
|
|
194
|
+
exports.NcBreadcrumb = E;
|
|
195
|
+
exports.NcBreadcrumbs = O;
|
|
196
|
+
exports.NcButton = y;
|
|
197
|
+
exports.NcCheckboxRadioSwitch = F;
|
|
198
|
+
exports.NcColorPicker = f;
|
|
199
|
+
exports.NcContent = j;
|
|
202
200
|
exports.NcCounterBubble = w;
|
|
203
201
|
exports.NcDashboardWidget = G;
|
|
204
202
|
exports.NcDashboardWidgetItem = W;
|
|
205
203
|
exports.NcDateTime = H;
|
|
206
204
|
exports.NcDateTimePicker = z;
|
|
207
|
-
exports.NcDateTimePickerNative =
|
|
208
|
-
exports.NcDialog =
|
|
209
|
-
exports.NcDialogButton =
|
|
205
|
+
exports.NcDateTimePickerNative = K;
|
|
206
|
+
exports.NcDialog = V;
|
|
207
|
+
exports.NcDialogButton = U;
|
|
210
208
|
exports.NcEmojiPicker = J;
|
|
211
209
|
exports.NcEmptyContent = Q;
|
|
212
210
|
exports.NcGuestContent = X;
|
|
@@ -222,37 +220,39 @@ exports.NcPasswordField = ie;
|
|
|
222
220
|
exports.NcPopover = re;
|
|
223
221
|
exports.NcProgressBar = se;
|
|
224
222
|
exports.NcRelatedResourcesPanel = Ne;
|
|
225
|
-
exports.NcMentionBubble =
|
|
226
|
-
exports.richEditor =
|
|
227
|
-
exports.NcAutoCompleteResult =
|
|
228
|
-
exports.NcRichContenteditable =
|
|
223
|
+
exports.NcMentionBubble = r.NcMentionBubble;
|
|
224
|
+
exports.richEditor = r.richEditor;
|
|
225
|
+
exports.NcAutoCompleteResult = c.NcAutoCompleteResult;
|
|
226
|
+
exports.NcRichContenteditable = c.default;
|
|
229
227
|
exports.NcRichText = pe.NcRichText;
|
|
230
|
-
exports.NcSelect =
|
|
231
|
-
exports.NcTextField =
|
|
228
|
+
exports.NcSelect = ae;
|
|
229
|
+
exports.NcTextField = ue;
|
|
232
230
|
exports.NcSavingIndicatorIcon = le;
|
|
233
231
|
exports.NcSelectTags = me;
|
|
234
232
|
exports.NcSettingsInputText = Ce;
|
|
235
233
|
exports.NcSettingsSection = Ae;
|
|
236
234
|
exports.NcSettingsSelectGroup = ge.NcSettingsSelectGroup;
|
|
237
|
-
exports.NcTimezonePicker =
|
|
238
|
-
exports.NcUserBubble =
|
|
239
|
-
exports.NcTextArea =
|
|
235
|
+
exports.NcTimezonePicker = _e;
|
|
236
|
+
exports.NcUserBubble = de;
|
|
237
|
+
exports.NcTextArea = qe;
|
|
240
238
|
exports.isFullscreenState = be.isFullscreenState;
|
|
241
239
|
exports.useIsFullscreen = be.useIsFullscreen;
|
|
242
|
-
exports.MOBILE_BREAKPOINT =
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
240
|
+
exports.MOBILE_BREAKPOINT = t.MOBILE_BREAKPOINT;
|
|
241
|
+
exports.MOBILE_SMALL_BREAKPOINT = t.MOBILE_SMALL_BREAKPOINT;
|
|
242
|
+
exports.isMobileState = t.isMobileState;
|
|
243
|
+
exports.useIsMobile = t.useIsMobile;
|
|
244
|
+
exports.useIsSmallMobile = t.useIsSmallMobile;
|
|
245
245
|
exports.emojiAddRecent = Se.emojiAddRecent;
|
|
246
246
|
exports.emojiSearch = Se.emojiSearch;
|
|
247
|
-
exports.usernameToColor =
|
|
248
|
-
exports.Focus =
|
|
249
|
-
exports.Linkify =
|
|
250
|
-
exports.clickOutsideOptions =
|
|
247
|
+
exports.usernameToColor = Be;
|
|
248
|
+
exports.Focus = Ie.directive;
|
|
249
|
+
exports.Linkify = ve.directive;
|
|
250
|
+
exports.clickOutsideOptions = he;
|
|
251
251
|
exports.isFullscreen = Pe;
|
|
252
|
-
exports.isMobile =
|
|
252
|
+
exports.isMobile = Re;
|
|
253
253
|
Object.defineProperty(exports, "Tooltip", {
|
|
254
254
|
enumerable: !0,
|
|
255
255
|
get: () => Te.VTooltip
|
|
256
256
|
});
|
|
257
|
-
exports.NextcloudVuePlugin =
|
|
258
|
-
exports.isA11yActivation =
|
|
257
|
+
exports.NextcloudVuePlugin = De;
|
|
258
|
+
exports.isA11yActivation = xe;
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","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.cjs","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|