@nextcloud/vue 8.0.1 → 8.2.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 +43 -0
- package/dist/Components/NcActionButton.cjs +16 -8
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +21 -13
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +22 -11
- package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +19 -7
- package/dist/Components/NcActionButtonGroup.mjs.map +1 -1
- package/dist/Components/NcActionCaption.cjs +17 -11
- package/dist/Components/NcActionCaption.cjs.map +1 -1
- package/dist/Components/NcActionCaption.mjs +14 -8
- package/dist/Components/NcActionCaption.mjs.map +1 -1
- package/dist/Components/NcActionCheckbox.cjs +26 -11
- package/dist/Components/NcActionCheckbox.cjs.map +1 -1
- package/dist/Components/NcActionCheckbox.mjs +26 -11
- package/dist/Components/NcActionCheckbox.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +7 -5
- package/dist/Components/NcActionInput.cjs.map +1 -1
- package/dist/Components/NcActionInput.mjs +11 -9
- package/dist/Components/NcActionInput.mjs.map +1 -1
- package/dist/Components/NcActionLink.cjs +14 -6
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +19 -11
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRadio.cjs +29 -14
- package/dist/Components/NcActionRadio.cjs.map +1 -1
- package/dist/Components/NcActionRadio.mjs +26 -11
- package/dist/Components/NcActionRadio.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +14 -8
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +17 -11
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionSeparator.cjs +10 -10
- package/dist/Components/NcActionSeparator.cjs.map +1 -1
- package/dist/Components/NcActionSeparator.mjs +11 -11
- package/dist/Components/NcActionSeparator.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +15 -9
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +20 -14
- 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 +100 -79
- package/dist/Components/NcActions.cjs.map +1 -1
- package/dist/Components/NcActions.mjs +103 -82
- package/dist/Components/NcActions.mjs.map +1 -1
- package/dist/Components/NcAppContent.cjs +9 -5
- package/dist/Components/NcAppContent.cjs.map +1 -1
- package/dist/Components/NcAppContent.mjs +13 -9
- package/dist/Components/NcAppContent.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +11 -7
- package/dist/Components/NcAppNavigation.cjs.map +1 -1
- package/dist/Components/NcAppNavigation.mjs +9 -5
- package/dist/Components/NcAppNavigation.mjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +16 -12
- package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +14 -10
- 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 +4 -2
- package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +6 -4
- 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 +43 -39
- package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +63 -58
- package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +3 -3
- package/dist/Components/NcAppSidebar.cjs.map +1 -1
- package/dist/Components/NcAppSidebar.mjs +3 -3
- 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/NcButton.cjs +6 -4
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +11 -9
- package/dist/Components/NcButton.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +3 -3
- package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +3 -3
- package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
- package/dist/Components/NcColorPicker.cjs +48 -31
- package/dist/Components/NcColorPicker.cjs.map +1 -1
- package/dist/Components/NcColorPicker.mjs +56 -38
- package/dist/Components/NcColorPicker.mjs.map +1 -1
- package/dist/Components/NcDashboardWidget.cjs +1 -1
- package/dist/Components/NcDashboardWidget.mjs +2 -2
- package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +17 -14
- package/dist/Components/NcDateTime.cjs.map +1 -1
- package/dist/Components/NcDateTime.mjs +18 -15
- package/dist/Components/NcDateTime.mjs.map +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/NcEmojiPicker.cjs +1 -1
- package/dist/Components/NcEmojiPicker.mjs +1 -1
- package/dist/Components/NcHeaderMenu.cjs +11 -9
- package/dist/Components/NcHeaderMenu.cjs.map +1 -1
- package/dist/Components/NcHeaderMenu.mjs +16 -14
- package/dist/Components/NcHeaderMenu.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +1 -1
- package/dist/Components/NcListItem.mjs +1 -1
- package/dist/Components/NcListItemIcon.cjs +4 -2
- package/dist/Components/NcListItemIcon.cjs.map +1 -1
- package/dist/Components/NcListItemIcon.mjs +9 -7
- package/dist/Components/NcListItemIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +1 -1
- package/dist/Components/NcModal.mjs +3 -3
- package/dist/Components/NcPasswordField.cjs +1 -1
- package/dist/Components/NcPasswordField.mjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +5 -5
- package/dist/Components/NcRichContenteditable.cjs.map +1 -1
- package/dist/Components/NcRichContenteditable.mjs +5 -5
- 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 +2 -2
- package/dist/Components/NcSelect.cjs.map +1 -1
- package/dist/Components/NcSelect.mjs +3 -3
- 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 +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 +25 -17
- package/dist/Components/NcTextField.cjs.map +1 -1
- package/dist/Components/NcTextField.mjs +27 -19
- 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 +1 -1
- package/dist/Components/NcUserBubble.mjs +1 -1
- package/dist/Composables/useIsFullscreen.cjs +34 -0
- package/dist/Composables/useIsFullscreen.cjs.map +1 -0
- package/dist/Composables/useIsFullscreen.mjs +34 -0
- package/dist/Composables/useIsFullscreen.mjs.map +1 -0
- package/dist/Composables/useIsMobile.cjs +35 -0
- package/dist/Composables/useIsMobile.cjs.map +1 -0
- package/dist/Composables/useIsMobile.mjs +35 -0
- package/dist/Composables/useIsMobile.mjs.map +1 -0
- package/dist/Functions/usernameToColor.cjs +1 -1
- package/dist/Functions/usernameToColor.mjs +1 -1
- package/dist/Mixins/isFullscreen.cjs +10 -19
- package/dist/Mixins/isFullscreen.cjs.map +1 -1
- package/dist/Mixins/isFullscreen.mjs +10 -19
- package/dist/Mixins/isFullscreen.mjs.map +1 -1
- package/dist/Mixins/isMobile.cjs +10 -62
- package/dist/Mixins/isMobile.cjs.map +1 -1
- package/dist/Mixins/isMobile.mjs +10 -62
- package/dist/Mixins/isMobile.mjs.map +1 -1
- package/dist/assets/{NcSettingsSelectGroup-0d38d76b.css → NcSettingsSelectGroup-6ddb63a6.css} +2 -2
- package/dist/assets/{index-d3702c91.css → index-00012a4c.css} +18 -18
- package/dist/assets/{index-8f52a20f.css → index-018895f7.css} +2 -2
- package/dist/assets/{index-6899d75b.css → index-30ca9574.css} +31 -30
- package/dist/assets/{index-7d211db9.css → index-3d1ccc15.css} +31 -16
- package/dist/assets/{index-441b6552.css → index-418d4e87.css} +2 -2
- package/dist/assets/{index-ebbb7829.css → index-4437e6bf.css} +8 -8
- package/dist/assets/{index-4271da53.css → index-4596132f.css} +17 -17
- package/dist/assets/{index-05760fea.css → index-4ba699a1.css} +12 -12
- package/dist/assets/{index-db5a8b1c.css → index-51c1f2a9.css} +15 -11
- package/dist/assets/{index-24f6c355.css → index-542cf50a.css} +12 -12
- package/dist/assets/{index-dea0aef3.css → index-5c74e333.css} +10 -10
- package/dist/assets/{index-802d2118.css → index-7fac55ed.css} +16 -16
- package/dist/assets/{index-e7c55791.css → index-9020d9ca.css} +67 -67
- package/dist/assets/{index-4ef32afd.css → index-a9d1ad5c.css} +26 -23
- package/dist/assets/{index-55600948.css → index-d1c0876d.css} +11 -11
- package/dist/assets/{index-fbc0b606.css → index-db846386.css} +10 -9
- package/dist/assets/{index-baf8711a.css → index-e0e6bab6.css} +12 -12
- package/dist/assets/{index-0e9b11c7.css → index-e9fce208.css} +16 -16
- package/dist/assets/{index-d812ed9e.css → index-f091e784.css} +43 -43
- package/dist/assets/{index-9176105d.css → index-f8d6daf3.css} +41 -41
- package/dist/assets/{index-750c02cc.css → index-f9bfa317.css} +3 -0
- package/dist/assets/{index-d9ae9479.css → index-ffa6d11c.css} +7 -7
- package/dist/chunks/GenColors-02173e2c.mjs +56 -0
- package/dist/chunks/GenColors-02173e2c.mjs.map +1 -0
- package/dist/chunks/GenColors-4314c256.cjs +55 -0
- package/dist/chunks/GenColors-4314c256.cjs.map +1 -0
- package/dist/chunks/{NcAppNavigationToggle-60664a28.cjs → NcAppNavigationToggle-1301e882.cjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-60664a28.cjs.map → NcAppNavigationToggle-1301e882.cjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-82764816.mjs → NcAppNavigationToggle-2574bba5.mjs} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-82764816.mjs.map → NcAppNavigationToggle-2574bba5.mjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-262d455f.cjs → NcInputConfirmCancel-9906b563.cjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-262d455f.cjs.map → NcInputConfirmCancel-9906b563.cjs.map} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-906c7816.mjs → NcInputConfirmCancel-a612e6a3.mjs} +1 -1
- package/dist/chunks/{NcInputConfirmCancel-906c7816.mjs.map → NcInputConfirmCancel-a612e6a3.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-ae95c854.cjs → NcRichText-9f77a9c6.cjs} +1 -1
- package/dist/chunks/{NcRichText-ae95c854.cjs.map → NcRichText-9f77a9c6.cjs.map} +1 -1
- package/dist/chunks/{NcRichText-1e8fd02d.mjs → NcRichText-f5cfcd57.mjs} +1 -1
- package/dist/chunks/{NcRichText-1e8fd02d.mjs.map → NcRichText-f5cfcd57.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-ae323579.mjs → NcSettingsSelectGroup-091c0306.mjs} +12 -12
- package/dist/chunks/NcSettingsSelectGroup-091c0306.mjs.map +1 -0
- package/dist/chunks/{NcSettingsSelectGroup-e8f9f9fe.cjs → NcSettingsSelectGroup-0f71fef4.cjs} +12 -12
- package/dist/chunks/NcSettingsSelectGroup-0f71fef4.cjs.map +1 -0
- package/dist/chunks/{ScopeComponent-1ab1ebb9.mjs → ScopeComponent-3ea00dcd.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-1ab1ebb9.mjs.map → ScopeComponent-3ea00dcd.mjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-50287dad.cjs → ScopeComponent-df4b58b1.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-50287dad.cjs.map → ScopeComponent-df4b58b1.cjs.map} +1 -1
- package/dist/chunks/{actionText-a64be267.mjs → actionText-60ff01d1.mjs} +3 -1
- package/dist/chunks/{actionText-54bc24a6.cjs.map → actionText-60ff01d1.mjs.map} +1 -1
- package/dist/chunks/{actionText-54bc24a6.cjs → actionText-9582810f.cjs} +3 -1
- package/dist/chunks/{actionText-a64be267.mjs.map → actionText-9582810f.cjs.map} +1 -1
- package/dist/chunks/{index-fbf943b3.mjs → index-cea13a24.mjs} +6 -4
- package/dist/chunks/{index-fbf943b3.mjs.map → index-cea13a24.mjs.map} +1 -1
- package/dist/chunks/{index-e06b96d3.cjs → index-dc10fd2b.cjs} +7 -5
- package/dist/chunks/{index-e06b96d3.cjs.map → index-dc10fd2b.cjs.map} +1 -1
- package/dist/chunks/{l10n-ec2d3010.cjs → l10n-a12cdbfa.cjs} +1 -1
- package/dist/chunks/{l10n-ec2d3010.cjs.map → l10n-a12cdbfa.cjs.map} +1 -1
- package/dist/chunks/{l10n-9fc9974f.mjs → l10n-c603e589.mjs} +1 -1
- package/dist/chunks/{l10n-9fc9974f.mjs.map → l10n-c603e589.mjs.map} +1 -1
- package/dist/chunks/l10n-e9ffbe5e.cjs +29 -0
- package/dist/chunks/l10n-e9ffbe5e.cjs.map +1 -0
- package/dist/chunks/l10n-ef44019c.mjs +31 -0
- package/dist/chunks/l10n-ef44019c.mjs.map +1 -0
- package/dist/chunks/{referencePickerModal-e033bf2c.cjs → referencePickerModal-aa5d3f47.cjs} +1 -1
- package/dist/chunks/{referencePickerModal-e033bf2c.cjs.map → referencePickerModal-aa5d3f47.cjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-6bc8f6b9.mjs → referencePickerModal-c2f33569.mjs} +1 -1
- package/dist/chunks/{referencePickerModal-6bc8f6b9.mjs.map → referencePickerModal-c2f33569.mjs.map} +1 -1
- package/dist/index.cjs +139 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +96 -89
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunks/GenColors-38246c38.mjs +0 -46
- package/dist/chunks/GenColors-38246c38.mjs.map +0 -1
- package/dist/chunks/GenColors-eedcc70a.cjs +0 -45
- package/dist/chunks/GenColors-eedcc70a.cjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-ae323579.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-e8f9f9fe.cjs.map +0 -1
- package/dist/chunks/l10n-f491109d.cjs +0 -29
- package/dist/chunks/l10n-f491109d.cjs.map +0 -1
- package/dist/chunks/l10n-f692947e.mjs +0 -31
- package/dist/chunks/l10n-f692947e.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
require("./chunks/referencePickerModal-
|
|
3
|
+
const s = require("./Components/NcActionButton.cjs"), N = require("./Components/NcActionButtonGroup.cjs"), p = require("./Components/NcActionCaption.cjs"), u = require("./Components/NcActionCheckbox.cjs"), a = 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"), d = require("./Components/NcActionText.cjs"), q = require("./Components/NcActionTextEditable.cjs"), _ = require("./Components/NcAppContent.cjs"), b = require("./Components/NcAppContentDetails.cjs"), S = require("./Components/NcAppContentList.cjs"), v = require("./Components/NcAppNavigation.cjs"), I = require("./Components/NcAppNavigationCaption.cjs"), T = require("./Components/NcAppNavigationIconBullet.cjs"), h = require("./Components/NcAppNavigationItem.cjs"), B = require("./Components/NcAppNavigationNew.cjs"), P = require("./Components/NcAppNavigationNewItem.cjs"), k = require("./Components/NcAppNavigationSettings.cjs"), x = require("./Components/NcAppNavigationSpacer.cjs"), R = require("./Components/NcAppSettingsDialog.cjs"), D = require("./Components/NcAppSettingsSection.cjs"), M = require("./Components/NcAppSidebar.cjs"), L = require("./Components/NcAppSidebarTab.cjs"), n = require("./chunks/index-dc10fd2b.cjs"), y = require("./Components/NcBreadcrumb.cjs"), E = require("./Components/NcBreadcrumbs.cjs"), F = require("./Components/NcButton.cjs"), f = require("./Components/NcCheckboxRadioSwitch.cjs"), j = require("./Components/NcColorPicker.cjs"), O = 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"), V = require("./Components/NcDateTimePickerNative.cjs"), U = require("./Components/NcDialog.cjs"), K = 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"), i = require("./chunks/index-4398f925.cjs"), o = require("./Components/NcRichContenteditable.cjs"), pe = require("./chunks/NcRichText-9f77a9c6.cjs");
|
|
4
|
+
require("./chunks/referencePickerModal-aa5d3f47.cjs");
|
|
5
5
|
require("@nextcloud/axios");
|
|
6
6
|
require("@nextcloud/router");
|
|
7
|
-
const
|
|
8
|
-
require("./chunks/l10n-
|
|
7
|
+
const ue = require("./Components/NcSelect.cjs");
|
|
8
|
+
require("./chunks/l10n-e9ffbe5e.cjs");
|
|
9
9
|
const ae = require("./Components/NcTextField.cjs");
|
|
10
10
|
require("@nextcloud/event-bus");
|
|
11
11
|
require("vue");
|
|
12
|
-
const
|
|
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-0f71fef4.cjs"), de = require("./Components/NcTimezonePicker.cjs"), qe = require("./Components/NcUserBubble.cjs"), _e = require("./Components/NcTextArea.cjs"), be = require("./Composables/useIsFullscreen.cjs"), r = require("./Composables/useIsMobile.cjs"), Se = require("./Functions/emoji.cjs"), he = require("./Functions/usernameToColor.cjs"), ve = require("./Directives/Focus.cjs"), Ie = require("./Directives/Linkify.cjs");
|
|
13
13
|
require("./Directives/Tooltip.cjs");
|
|
14
|
-
const
|
|
14
|
+
const Be = require("./Mixins/clickOutsideOptions.cjs"), Pe = require("./Mixins/isFullscreen.cjs"), ke = require("./Mixins/isMobile.cjs"), Te = require("floating-vue");
|
|
15
15
|
/**
|
|
16
16
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
17
17
|
*
|
|
@@ -33,79 +33,79 @@ const he = require("./Mixins/clickOutsideOptions.cjs"), Ie = require("./Mixins/i
|
|
|
33
33
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
37
|
__proto__: null,
|
|
38
|
-
NcActionButton:
|
|
38
|
+
NcActionButton: s,
|
|
39
39
|
NcActionButtonGroup: N,
|
|
40
|
-
NcActionCaption:
|
|
41
|
-
NcActionCheckbox:
|
|
40
|
+
NcActionCaption: p,
|
|
41
|
+
NcActionCheckbox: u,
|
|
42
42
|
NcActionInput: a,
|
|
43
|
-
NcActionLink:
|
|
43
|
+
NcActionLink: l,
|
|
44
44
|
NcActionRadio: m,
|
|
45
45
|
NcActionRouter: C,
|
|
46
|
-
NcActionSeparator:
|
|
47
|
-
NcActionText:
|
|
48
|
-
NcActionTextEditable:
|
|
49
|
-
NcActions:
|
|
50
|
-
NcAppContent:
|
|
51
|
-
NcAppContentDetails:
|
|
46
|
+
NcActionSeparator: g,
|
|
47
|
+
NcActionText: d,
|
|
48
|
+
NcActionTextEditable: q,
|
|
49
|
+
NcActions: A,
|
|
50
|
+
NcAppContent: _,
|
|
51
|
+
NcAppContentDetails: b,
|
|
52
52
|
NcAppContentList: S,
|
|
53
|
-
NcAppNavigation:
|
|
54
|
-
NcAppNavigationCaption:
|
|
53
|
+
NcAppNavigation: v,
|
|
54
|
+
NcAppNavigationCaption: I,
|
|
55
55
|
NcAppNavigationIconBullet: T,
|
|
56
56
|
NcAppNavigationItem: h,
|
|
57
|
-
NcAppNavigationNew:
|
|
58
|
-
NcAppNavigationNewItem:
|
|
59
|
-
NcAppNavigationSettings:
|
|
60
|
-
NcAppNavigationSpacer:
|
|
61
|
-
NcAppSettingsDialog:
|
|
57
|
+
NcAppNavigationNew: B,
|
|
58
|
+
NcAppNavigationNewItem: P,
|
|
59
|
+
NcAppNavigationSettings: k,
|
|
60
|
+
NcAppNavigationSpacer: x,
|
|
61
|
+
NcAppSettingsDialog: R,
|
|
62
62
|
NcAppSettingsSection: D,
|
|
63
|
-
NcAppSidebar:
|
|
64
|
-
NcAppSidebarTab:
|
|
63
|
+
NcAppSidebar: M,
|
|
64
|
+
NcAppSidebarTab: L,
|
|
65
65
|
NcAutoCompleteResult: o.NcAutoCompleteResult,
|
|
66
66
|
NcAvatar: n.NcAvatar,
|
|
67
|
-
NcBreadcrumb:
|
|
68
|
-
NcBreadcrumbs:
|
|
69
|
-
NcButton:
|
|
70
|
-
NcCheckboxRadioSwitch:
|
|
71
|
-
NcColorPicker:
|
|
72
|
-
NcContent:
|
|
73
|
-
NcCounterBubble:
|
|
74
|
-
NcDashboardWidget:
|
|
75
|
-
NcDashboardWidgetItem:
|
|
76
|
-
NcDateTime:
|
|
77
|
-
NcDateTimePicker:
|
|
78
|
-
NcDateTimePickerNative:
|
|
79
|
-
NcDialog:
|
|
80
|
-
NcDialogButton:
|
|
67
|
+
NcBreadcrumb: y,
|
|
68
|
+
NcBreadcrumbs: E,
|
|
69
|
+
NcButton: F,
|
|
70
|
+
NcCheckboxRadioSwitch: f,
|
|
71
|
+
NcColorPicker: j,
|
|
72
|
+
NcContent: O,
|
|
73
|
+
NcCounterBubble: w,
|
|
74
|
+
NcDashboardWidget: G,
|
|
75
|
+
NcDashboardWidgetItem: W,
|
|
76
|
+
NcDateTime: H,
|
|
77
|
+
NcDateTimePicker: z,
|
|
78
|
+
NcDateTimePickerNative: V,
|
|
79
|
+
NcDialog: U,
|
|
80
|
+
NcDialogButton: K,
|
|
81
81
|
NcEmojiPicker: J,
|
|
82
|
-
NcEmptyContent:
|
|
83
|
-
NcGuestContent:
|
|
84
|
-
NcHeaderMenu:
|
|
85
|
-
NcHighlight:
|
|
86
|
-
NcIconSvgWrapper:
|
|
87
|
-
NcListItem:
|
|
88
|
-
NcListItemIcon:
|
|
89
|
-
NcLoadingIcon:
|
|
82
|
+
NcEmptyContent: Q,
|
|
83
|
+
NcGuestContent: X,
|
|
84
|
+
NcHeaderMenu: Y,
|
|
85
|
+
NcHighlight: Z.NcHighlight,
|
|
86
|
+
NcIconSvgWrapper: $,
|
|
87
|
+
NcListItem: ee,
|
|
88
|
+
NcListItemIcon: te,
|
|
89
|
+
NcLoadingIcon: oe,
|
|
90
90
|
NcMentionBubble: i.NcMentionBubble,
|
|
91
|
-
NcModal:
|
|
92
|
-
NcNoteCard:
|
|
93
|
-
NcPasswordField:
|
|
94
|
-
NcPopover:
|
|
95
|
-
NcProgressBar:
|
|
91
|
+
NcModal: ce,
|
|
92
|
+
NcNoteCard: ne,
|
|
93
|
+
NcPasswordField: ie,
|
|
94
|
+
NcPopover: re,
|
|
95
|
+
NcProgressBar: se,
|
|
96
96
|
NcRelatedResourcesPanel: Ne,
|
|
97
97
|
NcRichContenteditable: o.default,
|
|
98
|
-
NcRichText:
|
|
99
|
-
NcSavingIndicatorIcon:
|
|
100
|
-
NcSelect:
|
|
98
|
+
NcRichText: pe.NcRichText,
|
|
99
|
+
NcSavingIndicatorIcon: le,
|
|
100
|
+
NcSelect: ue,
|
|
101
101
|
NcSelectTags: me,
|
|
102
102
|
NcSettingsInputText: Ce,
|
|
103
|
-
NcSettingsSection:
|
|
104
|
-
NcSettingsSelectGroup:
|
|
105
|
-
NcTextArea:
|
|
103
|
+
NcSettingsSection: Ae,
|
|
104
|
+
NcSettingsSelectGroup: ge.NcSettingsSelectGroup,
|
|
105
|
+
NcTextArea: _e,
|
|
106
106
|
NcTextField: ae,
|
|
107
|
-
NcTimezonePicker:
|
|
108
|
-
NcUserBubble:
|
|
107
|
+
NcTimezonePicker: de,
|
|
108
|
+
NcUserBubble: qe
|
|
109
109
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
110
110
|
/**
|
|
111
111
|
* @copyright 2022 Christopher Ng <chrng8@gmail.com>
|
|
@@ -128,7 +128,7 @@ const Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
128
128
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
129
129
|
*
|
|
130
130
|
*/
|
|
131
|
-
const
|
|
131
|
+
const Re = (e) => e.type === "click" || e.type === "keydown" && e.key === "Enter";
|
|
132
132
|
/**
|
|
133
133
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
134
134
|
*
|
|
@@ -150,104 +150,109 @@ const ke = (e) => e.type === "click" || e.type === "keydown" && e.key === "Enter
|
|
|
150
150
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
151
151
|
*
|
|
152
152
|
*/
|
|
153
|
-
const
|
|
153
|
+
const De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
154
154
|
__proto__: null,
|
|
155
|
-
Focus:
|
|
156
|
-
Linkify:
|
|
157
|
-
Tooltip:
|
|
158
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
155
|
+
Focus: ve.directive,
|
|
156
|
+
Linkify: Ie.directive,
|
|
157
|
+
Tooltip: Te.VTooltip
|
|
158
|
+
}, Symbol.toStringTag, { value: "Module" })), Me = {
|
|
159
159
|
install(e) {
|
|
160
|
-
Object.entries(
|
|
160
|
+
Object.entries(xe).forEach(([c, t]) => {
|
|
161
161
|
e.component(t.name || c, t);
|
|
162
|
-
}), Object.entries(
|
|
162
|
+
}), Object.entries(De).forEach(([c, t]) => {
|
|
163
163
|
e.directive(c, t);
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
exports.NcActionButton =
|
|
167
|
+
exports.NcActionButton = s;
|
|
168
168
|
exports.NcActionButtonGroup = N;
|
|
169
|
-
exports.NcActionCaption =
|
|
170
|
-
exports.NcActionCheckbox =
|
|
169
|
+
exports.NcActionCaption = p;
|
|
170
|
+
exports.NcActionCheckbox = u;
|
|
171
171
|
exports.NcActionInput = a;
|
|
172
|
-
exports.NcActionLink =
|
|
172
|
+
exports.NcActionLink = l;
|
|
173
173
|
exports.NcActionRadio = m;
|
|
174
174
|
exports.NcActionRouter = C;
|
|
175
|
-
exports.NcActions =
|
|
176
|
-
exports.NcActionSeparator =
|
|
177
|
-
exports.NcActionText =
|
|
178
|
-
exports.NcActionTextEditable =
|
|
179
|
-
exports.NcAppContent =
|
|
180
|
-
exports.NcAppContentDetails =
|
|
175
|
+
exports.NcActions = A;
|
|
176
|
+
exports.NcActionSeparator = g;
|
|
177
|
+
exports.NcActionText = d;
|
|
178
|
+
exports.NcActionTextEditable = q;
|
|
179
|
+
exports.NcAppContent = _;
|
|
180
|
+
exports.NcAppContentDetails = b;
|
|
181
181
|
exports.NcAppContentList = S;
|
|
182
|
-
exports.NcAppNavigation =
|
|
183
|
-
exports.NcAppNavigationCaption =
|
|
182
|
+
exports.NcAppNavigation = v;
|
|
183
|
+
exports.NcAppNavigationCaption = I;
|
|
184
184
|
exports.NcAppNavigationIconBullet = T;
|
|
185
185
|
exports.NcAppNavigationItem = h;
|
|
186
|
-
exports.NcAppNavigationNew =
|
|
187
|
-
exports.NcAppNavigationNewItem =
|
|
188
|
-
exports.NcAppNavigationSettings =
|
|
189
|
-
exports.NcAppNavigationSpacer =
|
|
190
|
-
exports.NcAppSettingsDialog =
|
|
186
|
+
exports.NcAppNavigationNew = B;
|
|
187
|
+
exports.NcAppNavigationNewItem = P;
|
|
188
|
+
exports.NcAppNavigationSettings = k;
|
|
189
|
+
exports.NcAppNavigationSpacer = x;
|
|
190
|
+
exports.NcAppSettingsDialog = R;
|
|
191
191
|
exports.NcAppSettingsSection = D;
|
|
192
|
-
exports.NcAppSidebar =
|
|
193
|
-
exports.NcAppSidebarTab =
|
|
192
|
+
exports.NcAppSidebar = M;
|
|
193
|
+
exports.NcAppSidebarTab = L;
|
|
194
194
|
exports.NcAvatar = n.NcAvatar;
|
|
195
195
|
exports.userStatus = n.userStatus;
|
|
196
|
-
exports.NcBreadcrumb =
|
|
197
|
-
exports.NcBreadcrumbs =
|
|
198
|
-
exports.NcButton =
|
|
199
|
-
exports.NcCheckboxRadioSwitch =
|
|
200
|
-
exports.NcColorPicker =
|
|
201
|
-
exports.NcContent =
|
|
202
|
-
exports.NcCounterBubble =
|
|
203
|
-
exports.NcDashboardWidget =
|
|
204
|
-
exports.NcDashboardWidgetItem =
|
|
205
|
-
exports.NcDateTime =
|
|
206
|
-
exports.NcDateTimePicker =
|
|
207
|
-
exports.NcDateTimePickerNative =
|
|
208
|
-
exports.NcDialog =
|
|
209
|
-
exports.NcDialogButton =
|
|
196
|
+
exports.NcBreadcrumb = y;
|
|
197
|
+
exports.NcBreadcrumbs = E;
|
|
198
|
+
exports.NcButton = F;
|
|
199
|
+
exports.NcCheckboxRadioSwitch = f;
|
|
200
|
+
exports.NcColorPicker = j;
|
|
201
|
+
exports.NcContent = O;
|
|
202
|
+
exports.NcCounterBubble = w;
|
|
203
|
+
exports.NcDashboardWidget = G;
|
|
204
|
+
exports.NcDashboardWidgetItem = W;
|
|
205
|
+
exports.NcDateTime = H;
|
|
206
|
+
exports.NcDateTimePicker = z;
|
|
207
|
+
exports.NcDateTimePickerNative = V;
|
|
208
|
+
exports.NcDialog = U;
|
|
209
|
+
exports.NcDialogButton = K;
|
|
210
210
|
exports.NcEmojiPicker = J;
|
|
211
|
-
exports.NcEmptyContent =
|
|
212
|
-
exports.NcGuestContent =
|
|
213
|
-
exports.NcHeaderMenu =
|
|
214
|
-
exports.NcHighlight =
|
|
215
|
-
exports.NcIconSvgWrapper =
|
|
216
|
-
exports.NcListItem =
|
|
217
|
-
exports.NcListItemIcon =
|
|
218
|
-
exports.NcLoadingIcon =
|
|
219
|
-
exports.NcModal =
|
|
220
|
-
exports.NcNoteCard =
|
|
221
|
-
exports.NcPasswordField =
|
|
222
|
-
exports.NcPopover =
|
|
223
|
-
exports.NcProgressBar =
|
|
211
|
+
exports.NcEmptyContent = Q;
|
|
212
|
+
exports.NcGuestContent = X;
|
|
213
|
+
exports.NcHeaderMenu = Y;
|
|
214
|
+
exports.NcHighlight = Z.NcHighlight;
|
|
215
|
+
exports.NcIconSvgWrapper = $;
|
|
216
|
+
exports.NcListItem = ee;
|
|
217
|
+
exports.NcListItemIcon = te;
|
|
218
|
+
exports.NcLoadingIcon = oe;
|
|
219
|
+
exports.NcModal = ce;
|
|
220
|
+
exports.NcNoteCard = ne;
|
|
221
|
+
exports.NcPasswordField = ie;
|
|
222
|
+
exports.NcPopover = re;
|
|
223
|
+
exports.NcProgressBar = se;
|
|
224
224
|
exports.NcRelatedResourcesPanel = Ne;
|
|
225
225
|
exports.NcMentionBubble = i.NcMentionBubble;
|
|
226
226
|
exports.richEditor = i.richEditor;
|
|
227
227
|
exports.NcAutoCompleteResult = o.NcAutoCompleteResult;
|
|
228
228
|
exports.NcRichContenteditable = o.default;
|
|
229
|
-
exports.NcRichText =
|
|
230
|
-
exports.NcSelect =
|
|
229
|
+
exports.NcRichText = pe.NcRichText;
|
|
230
|
+
exports.NcSelect = ue;
|
|
231
231
|
exports.NcTextField = ae;
|
|
232
|
-
exports.NcSavingIndicatorIcon =
|
|
232
|
+
exports.NcSavingIndicatorIcon = le;
|
|
233
233
|
exports.NcSelectTags = me;
|
|
234
234
|
exports.NcSettingsInputText = Ce;
|
|
235
|
-
exports.NcSettingsSection =
|
|
236
|
-
exports.NcSettingsSelectGroup =
|
|
237
|
-
exports.NcTimezonePicker =
|
|
238
|
-
exports.NcUserBubble =
|
|
239
|
-
exports.NcTextArea =
|
|
240
|
-
exports.
|
|
241
|
-
exports.
|
|
242
|
-
exports.
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
245
|
-
exports.
|
|
246
|
-
exports.
|
|
247
|
-
exports.
|
|
235
|
+
exports.NcSettingsSection = Ae;
|
|
236
|
+
exports.NcSettingsSelectGroup = ge.NcSettingsSelectGroup;
|
|
237
|
+
exports.NcTimezonePicker = de;
|
|
238
|
+
exports.NcUserBubble = qe;
|
|
239
|
+
exports.NcTextArea = _e;
|
|
240
|
+
exports.isFullscreenState = be.isFullscreenState;
|
|
241
|
+
exports.useIsFullscreen = be.useIsFullscreen;
|
|
242
|
+
exports.MOBILE_BREAKPOINT = r.MOBILE_BREAKPOINT;
|
|
243
|
+
exports.isMobileState = r.isMobileState;
|
|
244
|
+
exports.useIsMobile = r.useIsMobile;
|
|
245
|
+
exports.emojiAddRecent = Se.emojiAddRecent;
|
|
246
|
+
exports.emojiSearch = Se.emojiSearch;
|
|
247
|
+
exports.usernameToColor = he;
|
|
248
|
+
exports.Focus = ve.directive;
|
|
249
|
+
exports.Linkify = Ie.directive;
|
|
250
|
+
exports.clickOutsideOptions = Be;
|
|
251
|
+
exports.isFullscreen = Pe;
|
|
252
|
+
exports.isMobile = ke;
|
|
248
253
|
Object.defineProperty(exports, "Tooltip", {
|
|
249
254
|
enumerable: !0,
|
|
250
|
-
get: () =>
|
|
255
|
+
get: () => Te.VTooltip
|
|
251
256
|
});
|
|
252
|
-
exports.NextcloudVuePlugin =
|
|
253
|
-
exports.isA11yActivation =
|
|
257
|
+
exports.NextcloudVuePlugin = Me;
|
|
258
|
+
exports.isA11yActivation = Re;
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|