@nextcloud/vue 8.0.0-beta.8 → 8.0.0-beta.9
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 +25 -0
- package/dist/Components/NcActionButton.cjs +8 -8
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +10 -10
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +23 -18
- package/dist/Components/NcActionInput.cjs.map +1 -1
- package/dist/Components/NcActionInput.mjs +20 -14
- package/dist/Components/NcActionInput.mjs.map +1 -1
- package/dist/Components/NcActionLink.cjs +7 -7
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +4 -4
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +8 -8
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +4 -4
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +10 -10
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +11 -11
- package/dist/Components/NcActionText.mjs.map +1 -1
- package/dist/Components/NcActionTextEditable.cjs +1 -1
- package/dist/Components/NcActionTextEditable.mjs +1 -1
- package/dist/Components/NcActions.cjs +67 -63
- package/dist/Components/NcActions.cjs.map +1 -1
- package/dist/Components/NcActions.mjs +75 -71
- package/dist/Components/NcActions.mjs.map +1 -1
- package/dist/Components/NcAppContent.cjs +1 -1
- package/dist/Components/NcAppContent.mjs +1 -1
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +12 -12
- package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +15 -15
- package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +57 -108
- package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +59 -110
- package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +5 -5
- package/dist/Components/NcAppSidebar.cjs.map +1 -1
- package/dist/Components/NcAppSidebar.mjs +5 -5
- package/dist/Components/NcAppSidebar.mjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.cjs +3 -3
- package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.mjs +5 -5
- package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +2 -2
- package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +2 -2
- package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +157 -42
- package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +168 -53
- package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
- package/dist/Components/NcColorPicker.cjs +1 -1
- package/dist/Components/NcColorPicker.mjs +1 -1
- package/dist/Components/NcDashboardWidget.cjs +1 -1
- package/dist/Components/NcDashboardWidget.mjs +2 -2
- package/dist/Components/NcDashboardWidgetItem.cjs +11 -11
- package/dist/Components/NcDashboardWidgetItem.cjs.map +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +9 -9
- package/dist/Components/NcDashboardWidgetItem.mjs.map +1 -1
- package/dist/Components/NcDateTime.cjs +1 -1
- package/dist/Components/NcDateTime.mjs +1 -1
- package/dist/Components/NcDateTimePicker.cjs +2 -2
- package/dist/Components/NcDateTimePicker.mjs +4 -4
- package/dist/Components/NcDateTimePickerNative.cjs +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +1 -1
- package/dist/Components/NcDialog.cjs +171 -0
- package/dist/Components/NcDialog.cjs.map +1 -0
- package/dist/Components/NcDialog.mjs +177 -0
- package/dist/Components/NcDialog.mjs.map +1 -0
- package/dist/Components/NcDialogButton.cjs +69 -0
- package/dist/Components/NcDialogButton.cjs.map +1 -0
- package/dist/Components/NcDialogButton.mjs +74 -0
- package/dist/Components/NcDialogButton.mjs.map +1 -0
- package/dist/Components/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +29 -14
- package/dist/Components/NcIconSvgWrapper.cjs.map +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +32 -17
- package/dist/Components/NcIconSvgWrapper.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +3 -3
- package/dist/Components/NcListItem.cjs.map +1 -1
- package/dist/Components/NcListItem.mjs +3 -3
- package/dist/Components/NcListItem.mjs.map +1 -1
- package/dist/Components/NcListItemIcon.cjs +20 -12
- package/dist/Components/NcListItemIcon.cjs.map +1 -1
- package/dist/Components/NcListItemIcon.mjs +21 -13
- package/dist/Components/NcListItemIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +24 -26
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +54 -56
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +4 -4
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +3 -3
- package/dist/Components/NcNoteCard.mjs.map +1 -1
- package/dist/Components/NcPasswordField.cjs +49 -38
- package/dist/Components/NcPasswordField.cjs.map +1 -1
- package/dist/Components/NcPasswordField.mjs +59 -48
- package/dist/Components/NcPasswordField.mjs.map +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +29 -13
- package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +41 -25
- package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
- package/dist/Components/NcRichContenteditable.cjs +2 -2
- package/dist/Components/NcRichContenteditable.mjs +2 -2
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +3 -3
- package/dist/Components/NcSelect.cjs +34 -29
- package/dist/Components/NcSelect.cjs.map +1 -1
- package/dist/Components/NcSelect.mjs +48 -43
- package/dist/Components/NcSelect.mjs.map +1 -1
- package/dist/Components/NcSelectTags.cjs +1 -1
- package/dist/Components/NcSelectTags.mjs +1 -1
- package/dist/Components/NcSettingsInputText.cjs +1 -1
- package/dist/Components/NcSettingsInputText.mjs +1 -1
- package/dist/Components/NcSettingsSection.cjs +1 -1
- package/dist/Components/NcSettingsSection.mjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
- package/dist/Components/NcTextArea.cjs +167 -0
- package/dist/Components/NcTextArea.cjs.map +1 -0
- package/dist/Components/NcTextArea.mjs +172 -0
- package/dist/Components/NcTextArea.mjs.map +1 -0
- package/dist/Components/NcTextField.cjs +37 -13
- package/dist/Components/NcTextField.cjs.map +1 -1
- package/dist/Components/NcTextField.mjs +45 -21
- package/dist/Components/NcTextField.mjs.map +1 -1
- package/dist/Components/NcTimezonePicker.cjs +1 -1
- package/dist/Components/NcTimezonePicker.mjs +1 -1
- package/dist/Components/NcUserBubble.cjs +4 -4
- package/dist/Components/NcUserBubble.cjs.map +1 -1
- package/dist/Components/NcUserBubble.mjs +4 -4
- package/dist/Components/NcUserBubble.mjs.map +1 -1
- package/dist/assets/index-236620b0.css +150 -0
- package/dist/assets/{index-03ec5f40.css → index-400b48a6.css} +7 -7
- package/dist/assets/{index-33da80f0.css → index-4611417f.css} +8 -9
- package/dist/assets/{index-01e5adf4.css → index-4b75fe20.css} +11 -11
- package/dist/assets/{index-294382c8.css → index-574438d6.css} +43 -38
- package/dist/assets/{index-c7905a53.css → index-57b305d3.css} +3 -3
- package/dist/assets/{index-de0326c7.css → index-5ee8a575.css} +69 -78
- package/dist/assets/{index-9354264c.css → index-6f721577.css} +16 -16
- package/dist/assets/{index-fec4bb7b.css → index-73867d38.css} +17 -16
- package/dist/assets/{index-becfbea7.css → index-8304db49.css} +23 -22
- package/dist/assets/{index-5eff69c7.css → index-9dcf6260.css} +32 -30
- package/dist/assets/{index-23e64bbb.css → index-9e44e336.css} +9 -9
- package/dist/assets/{index-0557f12a.css → index-9e9587e1.css} +4 -4
- package/dist/assets/index-abb90c97.css +164 -0
- package/dist/assets/{index-5072b6ee.css → index-af72a30b.css} +11 -10
- package/dist/assets/{index-194e9415.css → index-c06ad941.css} +70 -58
- package/dist/assets/{index-fbdeb5ab.css → index-c5ae3bc4.css} +11 -11
- package/dist/assets/index-dc612aa3.css +112 -0
- package/dist/assets/{index-376d2dec.css → index-e7c55791.css} +67 -67
- package/dist/assets/{index-165fce0e.css → index-e7eadba7.css} +13 -13
- package/dist/assets/{index-6405cd50.css → index-e828b286.css} +4 -4
- package/dist/assets/{index-0ab8e182.css → index-eea65531.css} +23 -22
- package/dist/assets/{index-1cf8eeb4.css → index-f85aa003.css} +13 -32
- package/dist/assets/{referencePickerModal-0acecb5e.css → referencePickerModal-3a127978.css} +55 -55
- package/dist/chunks/{NcAppNavigationToggle-960658a0.cjs → NcAppNavigationToggle-841d3015.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-960658a0.cjs.map → NcAppNavigationToggle-841d3015.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-d868f651.mjs → NcAppNavigationToggle-e358aa47.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-d868f651.mjs.map → NcAppNavigationToggle-e358aa47.mjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-f881168d.mjs → NcInputConfirmCancel-44052477.mjs} +16 -9
- package/dist/chunks/NcInputConfirmCancel-44052477.mjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-0c4bee9a.cjs → NcInputConfirmCancel-6bea0fdc.cjs} +11 -4
- package/dist/chunks/NcInputConfirmCancel-6bea0fdc.cjs.map +1 -0
- package/dist/chunks/{NcRichText-d385dc10.cjs → NcRichText-332fe454.cjs} +2 -2
- package/dist/chunks/{NcRichText-1c3d2654.mjs.map → NcRichText-332fe454.cjs.map} +1 -1
- package/dist/chunks/{NcRichText-1c3d2654.mjs → NcRichText-8fda53c8.mjs} +9 -9
- package/dist/chunks/{NcRichText-d385dc10.cjs.map → NcRichText-8fda53c8.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-47d9c113.cjs → NcSettingsSelectGroup-a5ff8c36.cjs} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-47d9c113.cjs.map → NcSettingsSelectGroup-a5ff8c36.cjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-0f4a0f94.mjs → NcSettingsSelectGroup-fdd3309c.mjs} +2 -2
- package/dist/chunks/{NcSettingsSelectGroup-0f4a0f94.mjs.map → NcSettingsSelectGroup-fdd3309c.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-97a014a1.mjs → ScopeComponent-9519afcc.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-97a014a1.mjs.map → ScopeComponent-9519afcc.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-1c75ec38.cjs → ScopeComponent-e060526a.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-1c75ec38.cjs.map → ScopeComponent-e060526a.cjs.map} +1 -1
- package/dist/chunks/{actionText-b0bd6eb7.cjs → actionText-54bc24a6.cjs} +1 -1
- package/dist/chunks/{actionText-9f5c55bd.mjs.map → actionText-54bc24a6.cjs.map} +1 -1
- package/dist/chunks/{actionText-9f5c55bd.mjs → actionText-a64be267.mjs} +1 -1
- package/dist/chunks/{actionText-b0bd6eb7.cjs.map → actionText-a64be267.mjs.map} +1 -1
- package/dist/chunks/{index-2a5b8ace.cjs → index-032137a6.cjs} +63 -29
- package/dist/chunks/index-032137a6.cjs.map +1 -0
- package/dist/chunks/{index-6c221fa0.mjs → index-fb2ee22c.mjs} +72 -38
- package/dist/chunks/index-fb2ee22c.mjs.map +1 -0
- package/dist/chunks/l10n-05a09c66.mjs +31 -0
- package/dist/chunks/l10n-05a09c66.mjs.map +1 -0
- package/dist/chunks/{l10n-c5f5f001.mjs → l10n-9aa6482d.mjs} +1 -1
- package/dist/chunks/{l10n-c5f5f001.mjs.map → l10n-9aa6482d.mjs.map} +1 -1
- package/dist/chunks/l10n-b1d264c7.cjs +29 -0
- package/dist/chunks/l10n-b1d264c7.cjs.map +1 -0
- package/dist/chunks/{l10n-4326316a.cjs → l10n-c7bd0ea6.cjs} +1 -1
- package/dist/chunks/{l10n-4326316a.cjs.map → l10n-c7bd0ea6.cjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-9b4ff88d.cjs → referencePickerModal-279a483d.cjs} +2 -2
- package/dist/chunks/{referencePickerModal-9b4ff88d.cjs.map → referencePickerModal-279a483d.cjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-0fde503d.mjs → referencePickerModal-443a4c57.mjs} +2 -2
- package/dist/chunks/{referencePickerModal-0fde503d.mjs.map → referencePickerModal-443a4c57.mjs.map} +1 -1
- package/dist/index.cjs +105 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +138 -129
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -3
- package/dist/assets/index-7768d5e5.css +0 -148
- package/dist/chunks/NcInputConfirmCancel-0c4bee9a.cjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-f881168d.mjs.map +0 -1
- package/dist/chunks/index-2a5b8ace.cjs.map +0 -1
- package/dist/chunks/index-6c221fa0.mjs.map +0 -1
- package/dist/chunks/l10n-27a75c40.mjs +0 -31
- package/dist/chunks/l10n-27a75c40.mjs.map +0 -1
- package/dist/chunks/l10n-903083c4.cjs +0 -29
- package/dist/chunks/l10n-903083c4.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const r = require("./Components/NcActionButton.cjs"),
|
|
4
|
-
require("./chunks/referencePickerModal-
|
|
3
|
+
const r = require("./Components/NcActionButton.cjs"), N = require("./Components/NcActionButtonGroup.cjs"), s = require("./Components/NcActionCaption.cjs"), p = require("./Components/NcActionCheckbox.cjs"), a = require("./Components/NcActionInput.cjs"), u = require("./Components/NcActionLink.cjs"), m = require("./Components/NcActionRadio.cjs"), C = require("./Components/NcActionRouter.cjs"), l = require("./Components/NcActions.cjs"), A = require("./Components/NcActionSeparator.cjs"), g = require("./Components/NcActionText.cjs"), d = require("./Components/NcActionTextEditable.cjs"), q = require("./Components/NcAppContent.cjs"), _ = require("./Components/NcAppContentDetails.cjs"), S = require("./Components/NcAppContentList.cjs"), b = require("./Components/NcAppNavigation.cjs"), v = require("./Components/NcAppNavigationCaption.cjs"), T = require("./Components/NcAppNavigationIconBullet.cjs"), h = require("./Components/NcAppNavigationItem.cjs"), I = require("./Components/NcAppNavigationNew.cjs"), B = require("./Components/NcAppNavigationNewItem.cjs"), P = require("./Components/NcAppNavigationSettings.cjs"), k = require("./Components/NcAppNavigationSpacer.cjs"), x = require("./Components/NcAppSettingsDialog.cjs"), D = require("./Components/NcAppSettingsSection.cjs"), R = require("./Components/NcAppSidebar.cjs"), y = require("./Components/NcAppSidebarTab.cjs"), n = require("./chunks/index-032137a6.cjs"), M = require("./Components/NcBreadcrumb.cjs"), L = require("./Components/NcBreadcrumbs.cjs"), f = require("./Components/NcButton.cjs"), j = require("./Components/NcCheckboxRadioSwitch.cjs"), E = require("./Components/NcColorPicker.cjs"), w = require("./Components/NcContent.cjs"), F = require("./Components/NcCounterBubble.cjs"), O = require("./Components/NcDashboardWidget.cjs"), G = require("./Components/NcDashboardWidgetItem.cjs"), W = require("./Components/NcDateTime.cjs"), H = require("./Components/NcDateTimePicker.cjs"), z = require("./Components/NcDateTimePickerNative.cjs"), V = require("./Components/NcDialog.cjs"), U = require("./Components/NcDialogButton.cjs"), J = require("./Components/NcEmojiPicker.cjs"), K = require("./Components/NcEmptyContent.cjs"), Q = require("./Components/NcGuestContent.cjs"), X = require("./Components/NcHeaderMenu.cjs"), Y = require("./chunks/index-e894376a.cjs"), Z = require("./Components/NcIconSvgWrapper.cjs"), $ = require("./Components/NcListItem.cjs"), ee = require("./Components/NcListItemIcon.cjs"), te = require("./Components/NcLoadingIcon.cjs"), oe = require("./Components/NcModal.cjs"), ce = require("./Components/NcNoteCard.cjs"), ne = require("./Components/NcPasswordField.cjs"), ie = require("./Components/NcPopover.cjs"), re = require("./Components/NcProgressBar.cjs"), Ne = require("./Components/NcRelatedResourcesPanel.cjs"), i = require("./chunks/index-4398f925.cjs"), o = require("./Components/NcRichContenteditable.cjs"), se = require("./chunks/NcRichText-332fe454.cjs");
|
|
4
|
+
require("./chunks/referencePickerModal-279a483d.cjs");
|
|
5
5
|
require("@nextcloud/axios");
|
|
6
6
|
require("@nextcloud/router");
|
|
7
|
-
const
|
|
8
|
-
require("./chunks/l10n-
|
|
7
|
+
const pe = require("./Components/NcSelect.cjs");
|
|
8
|
+
require("./chunks/l10n-b1d264c7.cjs");
|
|
9
9
|
require("vue-material-design-icons/LinkVariant.vue");
|
|
10
|
-
const
|
|
10
|
+
const ae = require("./Components/NcTextField.cjs");
|
|
11
11
|
require("vue-material-design-icons/DotsHorizontal.vue");
|
|
12
12
|
require("@nextcloud/event-bus");
|
|
13
13
|
require("vue-material-design-icons/ArrowLeft.vue");
|
|
14
14
|
require("vue-material-design-icons/Close.vue");
|
|
15
15
|
require("vue");
|
|
16
|
-
const
|
|
16
|
+
const ue = require("./Components/NcSavingIndicatorIcon.cjs"), me = require("./Components/NcSelectTags.cjs"), Ce = require("./Components/NcSettingsInputText.cjs"), le = require("./Components/NcSettingsSection.cjs"), Ae = require("./chunks/NcSettingsSelectGroup-a5ff8c36.cjs"), ge = require("./Components/NcTimezonePicker.cjs"), de = require("./Components/NcUserBubble.cjs"), qe = require("./Components/NcTextArea.cjs"), _e = require("./Functions/emoji.cjs"), Te = require("./Functions/usernameToColor.cjs"), Se = require("./Directives/Focus.cjs"), be = require("./Directives/Linkify.cjs");
|
|
17
17
|
require("./Directives/Tooltip.cjs");
|
|
18
|
-
const
|
|
18
|
+
const he = require("./Mixins/clickOutsideOptions.cjs"), Ie = require("./Mixins/isFullscreen.cjs"), Be = require("./Mixins/isMobile.cjs"), ve = require("floating-vue");
|
|
19
19
|
/**
|
|
20
20
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
21
21
|
*
|
|
@@ -37,19 +37,19 @@ const be = require("./Mixins/clickOutsideOptions.cjs"), ve = require("./Mixins/i
|
|
|
37
37
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
|
-
const
|
|
40
|
+
const Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41
41
|
__proto__: null,
|
|
42
42
|
NcActionButton: r,
|
|
43
|
-
NcActionButtonGroup:
|
|
44
|
-
NcActionCaption:
|
|
43
|
+
NcActionButtonGroup: N,
|
|
44
|
+
NcActionCaption: s,
|
|
45
45
|
NcActionCheckbox: p,
|
|
46
|
-
NcActionInput:
|
|
47
|
-
NcActionLink:
|
|
46
|
+
NcActionInput: a,
|
|
47
|
+
NcActionLink: u,
|
|
48
48
|
NcActionRadio: m,
|
|
49
49
|
NcActionRouter: C,
|
|
50
50
|
NcActionSeparator: A,
|
|
51
|
-
NcActionText:
|
|
52
|
-
NcActionTextEditable:
|
|
51
|
+
NcActionText: g,
|
|
52
|
+
NcActionTextEditable: d,
|
|
53
53
|
NcActions: l,
|
|
54
54
|
NcAppContent: q,
|
|
55
55
|
NcAppContentDetails: _,
|
|
@@ -59,12 +59,12 @@ const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
59
59
|
NcAppNavigationIconBullet: T,
|
|
60
60
|
NcAppNavigationItem: h,
|
|
61
61
|
NcAppNavigationNew: I,
|
|
62
|
-
NcAppNavigationNewItem:
|
|
63
|
-
NcAppNavigationSettings:
|
|
64
|
-
NcAppNavigationSpacer:
|
|
62
|
+
NcAppNavigationNewItem: B,
|
|
63
|
+
NcAppNavigationSettings: P,
|
|
64
|
+
NcAppNavigationSpacer: k,
|
|
65
65
|
NcAppSettingsDialog: x,
|
|
66
|
-
NcAppSettingsSection:
|
|
67
|
-
NcAppSidebar:
|
|
66
|
+
NcAppSettingsSection: D,
|
|
67
|
+
NcAppSidebar: R,
|
|
68
68
|
NcAppSidebarTab: y,
|
|
69
69
|
NcAutoCompleteResult: o.NcAutoCompleteResult,
|
|
70
70
|
NcAvatar: n.NcAvatar,
|
|
@@ -80,33 +80,36 @@ const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
80
80
|
NcDateTime: W,
|
|
81
81
|
NcDateTimePicker: H,
|
|
82
82
|
NcDateTimePickerNative: z,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
NcDialog: V,
|
|
84
|
+
NcDialogButton: U,
|
|
85
|
+
NcEmojiPicker: J,
|
|
86
|
+
NcEmptyContent: K,
|
|
87
|
+
NcGuestContent: Q,
|
|
88
|
+
NcHeaderMenu: X,
|
|
89
|
+
NcHighlight: Y.NcHighlight,
|
|
90
|
+
NcIconSvgWrapper: Z,
|
|
91
|
+
NcListItem: $,
|
|
92
|
+
NcListItemIcon: ee,
|
|
93
|
+
NcLoadingIcon: te,
|
|
92
94
|
NcMentionBubble: i.NcMentionBubble,
|
|
93
|
-
NcModal:
|
|
94
|
-
NcNoteCard:
|
|
95
|
-
NcPasswordField:
|
|
96
|
-
NcPopover:
|
|
97
|
-
NcProgressBar:
|
|
98
|
-
NcRelatedResourcesPanel:
|
|
95
|
+
NcModal: oe,
|
|
96
|
+
NcNoteCard: ce,
|
|
97
|
+
NcPasswordField: ne,
|
|
98
|
+
NcPopover: ie,
|
|
99
|
+
NcProgressBar: re,
|
|
100
|
+
NcRelatedResourcesPanel: Ne,
|
|
99
101
|
NcRichContenteditable: o.default,
|
|
100
|
-
NcRichText:
|
|
101
|
-
NcSavingIndicatorIcon:
|
|
102
|
-
NcSelect:
|
|
103
|
-
NcSelectTags:
|
|
104
|
-
NcSettingsInputText:
|
|
105
|
-
NcSettingsSection:
|
|
106
|
-
NcSettingsSelectGroup:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
NcRichText: se.NcRichText,
|
|
103
|
+
NcSavingIndicatorIcon: ue,
|
|
104
|
+
NcSelect: pe,
|
|
105
|
+
NcSelectTags: me,
|
|
106
|
+
NcSettingsInputText: Ce,
|
|
107
|
+
NcSettingsSection: le,
|
|
108
|
+
NcSettingsSelectGroup: Ae.NcSettingsSelectGroup,
|
|
109
|
+
NcTextArea: qe,
|
|
110
|
+
NcTextField: ae,
|
|
111
|
+
NcTimezonePicker: ge,
|
|
112
|
+
NcUserBubble: de
|
|
110
113
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
111
114
|
/**
|
|
112
115
|
* @copyright 2022 Christopher Ng <chrng8@gmail.com>
|
|
@@ -129,7 +132,7 @@ const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
129
132
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
130
133
|
*
|
|
131
134
|
*/
|
|
132
|
-
const
|
|
135
|
+
const ke = (e) => e.type === "click" || e.type === "keydown" && e.key === "Enter";
|
|
133
136
|
/**
|
|
134
137
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
135
138
|
*
|
|
@@ -151,32 +154,32 @@ const Ie = (e) => e.type === "click" || e.type === "keydown" && e.key === "Enter
|
|
|
151
154
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
152
155
|
*
|
|
153
156
|
*/
|
|
154
|
-
const
|
|
157
|
+
const xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
155
158
|
__proto__: null,
|
|
156
|
-
Focus:
|
|
157
|
-
Linkify:
|
|
158
|
-
Tooltip:
|
|
159
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
159
|
+
Focus: Se.directive,
|
|
160
|
+
Linkify: be.directive,
|
|
161
|
+
Tooltip: ve.VTooltip
|
|
162
|
+
}, Symbol.toStringTag, { value: "Module" })), De = {
|
|
160
163
|
install(e) {
|
|
161
|
-
Object.entries(
|
|
164
|
+
Object.entries(Pe).forEach(([c, t]) => {
|
|
162
165
|
e.component(t.name || c, t);
|
|
163
|
-
}), Object.entries(
|
|
166
|
+
}), Object.entries(xe).forEach(([c, t]) => {
|
|
164
167
|
e.directive(c, t);
|
|
165
168
|
});
|
|
166
169
|
}
|
|
167
170
|
};
|
|
168
171
|
exports.NcActionButton = r;
|
|
169
|
-
exports.NcActionButtonGroup =
|
|
170
|
-
exports.NcActionCaption =
|
|
172
|
+
exports.NcActionButtonGroup = N;
|
|
173
|
+
exports.NcActionCaption = s;
|
|
171
174
|
exports.NcActionCheckbox = p;
|
|
172
|
-
exports.NcActionInput =
|
|
173
|
-
exports.NcActionLink =
|
|
175
|
+
exports.NcActionInput = a;
|
|
176
|
+
exports.NcActionLink = u;
|
|
174
177
|
exports.NcActionRadio = m;
|
|
175
178
|
exports.NcActionRouter = C;
|
|
176
179
|
exports.NcActions = l;
|
|
177
180
|
exports.NcActionSeparator = A;
|
|
178
|
-
exports.NcActionText =
|
|
179
|
-
exports.NcActionTextEditable =
|
|
181
|
+
exports.NcActionText = g;
|
|
182
|
+
exports.NcActionTextEditable = d;
|
|
180
183
|
exports.NcAppContent = q;
|
|
181
184
|
exports.NcAppContentDetails = _;
|
|
182
185
|
exports.NcAppContentList = S;
|
|
@@ -185,12 +188,12 @@ exports.NcAppNavigationCaption = v;
|
|
|
185
188
|
exports.NcAppNavigationIconBullet = T;
|
|
186
189
|
exports.NcAppNavigationItem = h;
|
|
187
190
|
exports.NcAppNavigationNew = I;
|
|
188
|
-
exports.NcAppNavigationNewItem =
|
|
189
|
-
exports.NcAppNavigationSettings =
|
|
190
|
-
exports.NcAppNavigationSpacer =
|
|
191
|
+
exports.NcAppNavigationNewItem = B;
|
|
192
|
+
exports.NcAppNavigationSettings = P;
|
|
193
|
+
exports.NcAppNavigationSpacer = k;
|
|
191
194
|
exports.NcAppSettingsDialog = x;
|
|
192
|
-
exports.NcAppSettingsSection =
|
|
193
|
-
exports.NcAppSidebar =
|
|
195
|
+
exports.NcAppSettingsSection = D;
|
|
196
|
+
exports.NcAppSidebar = R;
|
|
194
197
|
exports.NcAppSidebarTab = y;
|
|
195
198
|
exports.NcAvatar = n.NcAvatar;
|
|
196
199
|
exports.userStatus = n.userStatus;
|
|
@@ -206,46 +209,49 @@ exports.NcDashboardWidgetItem = G;
|
|
|
206
209
|
exports.NcDateTime = W;
|
|
207
210
|
exports.NcDateTimePicker = H;
|
|
208
211
|
exports.NcDateTimePickerNative = z;
|
|
209
|
-
exports.
|
|
210
|
-
exports.
|
|
211
|
-
exports.
|
|
212
|
-
exports.
|
|
213
|
-
exports.
|
|
214
|
-
exports.
|
|
215
|
-
exports.
|
|
216
|
-
exports.
|
|
217
|
-
exports.
|
|
218
|
-
exports.
|
|
219
|
-
exports.
|
|
220
|
-
exports.
|
|
221
|
-
exports.
|
|
222
|
-
exports.
|
|
223
|
-
exports.
|
|
212
|
+
exports.NcDialog = V;
|
|
213
|
+
exports.NcDialogButton = U;
|
|
214
|
+
exports.NcEmojiPicker = J;
|
|
215
|
+
exports.NcEmptyContent = K;
|
|
216
|
+
exports.NcGuestContent = Q;
|
|
217
|
+
exports.NcHeaderMenu = X;
|
|
218
|
+
exports.NcHighlight = Y.NcHighlight;
|
|
219
|
+
exports.NcIconSvgWrapper = Z;
|
|
220
|
+
exports.NcListItem = $;
|
|
221
|
+
exports.NcListItemIcon = ee;
|
|
222
|
+
exports.NcLoadingIcon = te;
|
|
223
|
+
exports.NcModal = oe;
|
|
224
|
+
exports.NcNoteCard = ce;
|
|
225
|
+
exports.NcPasswordField = ne;
|
|
226
|
+
exports.NcPopover = ie;
|
|
227
|
+
exports.NcProgressBar = re;
|
|
228
|
+
exports.NcRelatedResourcesPanel = Ne;
|
|
224
229
|
exports.NcMentionBubble = i.NcMentionBubble;
|
|
225
230
|
exports.richEditor = i.richEditor;
|
|
226
231
|
exports.NcAutoCompleteResult = o.NcAutoCompleteResult;
|
|
227
232
|
exports.NcRichContenteditable = o.default;
|
|
228
|
-
exports.NcRichText =
|
|
229
|
-
exports.NcSelect =
|
|
230
|
-
exports.NcTextField =
|
|
231
|
-
exports.NcSavingIndicatorIcon =
|
|
232
|
-
exports.NcSelectTags =
|
|
233
|
-
exports.NcSettingsInputText =
|
|
234
|
-
exports.NcSettingsSection =
|
|
235
|
-
exports.NcSettingsSelectGroup =
|
|
236
|
-
exports.NcTimezonePicker =
|
|
237
|
-
exports.NcUserBubble =
|
|
238
|
-
exports.
|
|
239
|
-
exports.
|
|
240
|
-
exports.
|
|
241
|
-
exports.
|
|
242
|
-
exports.
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
245
|
-
exports.
|
|
233
|
+
exports.NcRichText = se.NcRichText;
|
|
234
|
+
exports.NcSelect = pe;
|
|
235
|
+
exports.NcTextField = ae;
|
|
236
|
+
exports.NcSavingIndicatorIcon = ue;
|
|
237
|
+
exports.NcSelectTags = me;
|
|
238
|
+
exports.NcSettingsInputText = Ce;
|
|
239
|
+
exports.NcSettingsSection = le;
|
|
240
|
+
exports.NcSettingsSelectGroup = Ae.NcSettingsSelectGroup;
|
|
241
|
+
exports.NcTimezonePicker = ge;
|
|
242
|
+
exports.NcUserBubble = de;
|
|
243
|
+
exports.NcTextArea = qe;
|
|
244
|
+
exports.emojiAddRecent = _e.emojiAddRecent;
|
|
245
|
+
exports.emojiSearch = _e.emojiSearch;
|
|
246
|
+
exports.usernameToColor = Te;
|
|
247
|
+
exports.Focus = Se.directive;
|
|
248
|
+
exports.Linkify = be.directive;
|
|
249
|
+
exports.clickOutsideOptions = he;
|
|
250
|
+
exports.isFullscreen = Ie;
|
|
251
|
+
exports.isMobile = Be;
|
|
246
252
|
Object.defineProperty(exports, "Tooltip", {
|
|
247
253
|
enumerable: !0,
|
|
248
|
-
get: () =>
|
|
254
|
+
get: () => ve.VTooltip
|
|
249
255
|
});
|
|
250
|
-
exports.NextcloudVuePlugin =
|
|
251
|
-
exports.isA11yActivation =
|
|
256
|
+
exports.NextcloudVuePlugin = De;
|
|
257
|
+
exports.isA11yActivation = ke;
|
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'\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'\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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|