@nextcloud/vue 9.11.0 → 9.12.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 +18 -0
- package/dist/assets/NcAppNavigationItem.css +45 -49
- package/dist/assets/NcAppNavigationList.css +2 -26
- package/dist/assets/NcAppNavigationNewItem.css +0 -4
- package/dist/assets/NcAppNavigationSettings.css +6 -6
- package/dist/assets/NcAppSettingsDialog.css +3 -3
- package/dist/assets/NcAppSettingsShortcutsSection.css +1 -1
- package/dist/assets/NcAppSidebar.css +28 -28
- package/dist/assets/NcAssistantButton.css +9 -9
- package/dist/assets/NcAssistantContent.css +3 -3
- package/dist/assets/NcAssistantIcon.css +4 -4
- package/dist/assets/NcAvatar.css +26 -26
- package/dist/assets/NcBlurHash.css +2 -2
- package/dist/assets/NcDateTimePicker.css +234 -234
- package/dist/assets/NcFilePicker.css +1 -1
- package/dist/assets/NcFormBox.css +11 -11
- package/dist/assets/NcFormBoxButton.css +2 -2
- package/dist/assets/NcFormBoxItem.css +15 -15
- package/dist/assets/NcFormBoxSwitch.css +2 -2
- package/dist/assets/NcFormGroup.css +7 -7
- package/dist/assets/NcHotkey.css +8 -8
- package/dist/assets/NcHotkeyList.css +2 -2
- package/dist/assets/NcIconToggleSwitch.css +4 -4
- package/dist/assets/NcKbd.css +3 -3
- package/dist/assets/NcModal.css +69 -63
- package/dist/assets/NcPopover.css +16 -16
- package/dist/assets/NcProfileHoverCard.css +82 -59
- package/dist/assets/NcRadioGroup.css +2 -2
- package/dist/assets/NcRadioGroupButton.css +14 -14
- package/dist/assets/NcRichContenteditable.css +17 -17
- package/dist/assets/NcRichText.css +2 -2
- package/dist/assets/NcUploadPicker.css +41 -0
- package/dist/assets/autolink.css +3 -3
- package/dist/chunks/NcActionInput.mjs +2 -2
- package/dist/chunks/NcActions.mjs +2 -2
- package/dist/chunks/NcAppContent.mjs +4 -4
- package/dist/chunks/NcAppContent.mjs.map +1 -1
- package/dist/chunks/NcAppNavigation.mjs +2 -2
- package/dist/chunks/NcAppNavigationItem.mjs +6 -29
- package/dist/chunks/NcAppNavigationItem.mjs.map +1 -1
- package/dist/chunks/NcAppNavigationList.mjs +8 -138
- package/dist/chunks/NcAppNavigationList.mjs.map +1 -1
- package/dist/chunks/NcAppNavigationNewItem.mjs +1 -1
- package/dist/chunks/NcAppNavigationNewItem.mjs.map +1 -1
- package/dist/chunks/NcAppNavigationSearch.mjs +2 -2
- package/dist/chunks/NcAppNavigationSettings.mjs +8 -8
- package/dist/chunks/NcAppSettingsDialog.mjs +5 -5
- package/dist/chunks/NcAppSettingsShortcutsSection.mjs +3 -3
- package/dist/chunks/NcAppSidebar.mjs +15 -15
- package/dist/chunks/NcAppSidebar.mjs.map +1 -1
- package/dist/chunks/NcAssistantButton.mjs +7 -7
- package/dist/chunks/NcAssistantContent.mjs +3 -3
- package/dist/chunks/NcAssistantIcon.mjs +4 -4
- package/dist/chunks/NcAvatar.mjs +17 -4
- package/dist/chunks/NcAvatar.mjs.map +1 -1
- package/dist/chunks/NcBlurHash.mjs +2 -2
- package/dist/chunks/NcCheckboxRadioSwitch.mjs +1 -1
- package/dist/chunks/NcCollectionList.mjs +3 -3
- package/dist/chunks/NcColorPicker.mjs +2 -2
- package/dist/chunks/NcContent.mjs +2 -2
- package/dist/chunks/NcDashboardWidget.mjs +4 -4
- package/dist/chunks/NcDashboardWidget.mjs.map +1 -1
- package/dist/chunks/NcDateTimePicker.mjs +7 -4
- package/dist/chunks/NcDateTimePicker.mjs.map +1 -1
- package/dist/chunks/NcDateTimePickerNative.mjs +2 -2
- package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/dist/chunks/NcEmojiPicker.mjs +2 -2
- package/dist/chunks/NcFilePicker.mjs +6 -5
- package/dist/chunks/NcFilePicker.mjs.map +1 -1
- package/dist/chunks/NcFormBox.mjs +5 -5
- package/dist/chunks/NcFormBoxButton.mjs +2 -2
- package/dist/chunks/NcFormBoxItem.mjs +8 -8
- package/dist/chunks/NcFormBoxSwitch.mjs +2 -2
- package/dist/chunks/NcFormGroup.mjs +7 -7
- package/dist/chunks/NcHotkey.mjs +4 -4
- package/dist/chunks/NcHotkeyList.mjs +4 -4
- package/dist/chunks/NcIconToggleSwitch.mjs +2 -2
- package/dist/chunks/NcKbd.mjs +4 -4
- package/dist/chunks/NcModal.mjs +13 -8
- package/dist/chunks/NcModal.mjs.map +1 -1
- package/dist/chunks/NcPasswordField.mjs +2 -2
- package/dist/chunks/NcPopover.mjs +2 -2
- package/dist/chunks/NcProfileHoverCard.mjs +205 -157
- package/dist/chunks/NcProfileHoverCard.mjs.map +1 -1
- package/dist/chunks/NcRadioGroup.mjs +2 -2
- package/dist/chunks/NcRadioGroupButton.mjs +6 -6
- package/dist/chunks/NcReferenceWidget.mjs +2 -2
- package/dist/chunks/NcRelatedResourcesPanel.mjs +4 -4
- package/dist/chunks/NcRichContenteditable.mjs +12 -12
- package/dist/chunks/NcRichText.mjs +3 -3
- package/dist/chunks/NcRichText.mjs.map +1 -1
- package/dist/chunks/NcSettingsSection.mjs +2 -2
- package/dist/chunks/NcSettingsSelectGroup.mjs +2 -2
- package/dist/chunks/NcTextField.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/dist/chunks/NcUploadPicker.mjs +269 -0
- package/dist/chunks/NcUploadPicker.mjs.map +1 -0
- package/dist/chunks/NcUserStatusIcon.mjs +2 -2
- package/dist/chunks/_l10n.mjs +86 -84
- package/dist/chunks/_l10n.mjs.map +1 -1
- package/dist/chunks/autolink.mjs +3 -3
- package/dist/chunks/colors.mjs +2 -2
- package/dist/chunks/mdi.mjs +7 -5
- package/dist/chunks/mdi.mjs.map +1 -1
- package/dist/chunks/referencePickerModal.mjs +5 -5
- package/dist/components/NcActionInput/NcActionInput.vue.d.ts +3 -3
- package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +0 -4
- package/dist/components/NcAppNavigationList/NcAppNavigationList.vue.d.ts +1 -57
- package/dist/components/NcAvatar/NcAvatar.vue.d.ts +9 -0
- package/dist/components/NcCollectionList/NcCollectionList.vue.d.ts +8 -0
- package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +4 -0
- package/dist/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +8 -0
- package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +4 -0
- package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +2 -2
- package/dist/components/NcFilePicker/NcFilePicker.vue.d.ts +7 -0
- package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +5 -1
- package/dist/components/NcProfileHoverCard/NcProfileHoverCard.vue.d.ts +6 -0
- package/dist/components/NcUploadPicker/NcUploadPicker.vue.d.ts +180 -0
- package/dist/components/NcUploadPicker/index.d.ts +6 -0
- package/dist/components/NcUploadPicker/index.mjs +5 -0
- package/dist/components/NcUploadPicker/index.mjs.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/useFormatDateTime/index.mjs +2 -2
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +25 -11
- package/dist/chunks/highlight.mjs +0 -5
- package/dist/chunks/highlight.mjs.map +0 -1
- package/dist/components/NcAppNavigationList/highlight.d.ts +0 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -99,4 +99,5 @@ export { default as NcThemeProvider } from './NcThemeProvider/index.ts';
|
|
|
99
99
|
export { default as NcTimezonePicker } from './NcTimezonePicker/index.ts';
|
|
100
100
|
export { default as NcUserBubble } from './NcUserBubble/index.ts';
|
|
101
101
|
export { default as NcUserStatusIcon } from './NcUserStatusIcon/index.ts';
|
|
102
|
+
export { default as NcUploadPicker } from './NcUploadPicker/index.ts';
|
|
102
103
|
export { default as NcVNodes } from './NcVNodes/index.ts';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { formatRelativeTime, getCanonicalLocale } from "@nextcloud/l10n";
|
|
2
2
|
import { computed, toValue, ref, watchEffect, onUnmounted, readonly } from "vue";
|
|
3
|
-
import { r as register, d as
|
|
4
|
-
register(
|
|
3
|
+
import { r as register, d as t2, a as t } from "../../chunks/_l10n.mjs";
|
|
4
|
+
register(t2);
|
|
5
5
|
const FEW_SECONDS_AGO = {
|
|
6
6
|
long: t("a few seconds ago"),
|
|
7
7
|
short: t("seconds ago"),
|
package/dist/index.mjs
CHANGED
|
@@ -111,6 +111,7 @@ import { _ as _9 } from "./chunks/NcThemeProvider.vue_vue_type_script_setup_true
|
|
|
111
111
|
import { _ as _10 } from "./chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang.mjs";
|
|
112
112
|
import { N as N86 } from "./chunks/NcUserBubble.mjs";
|
|
113
113
|
import { N as N87 } from "./chunks/NcUserStatusIcon.mjs";
|
|
114
|
+
import { N as N88 } from "./chunks/NcUploadPicker.mjs";
|
|
114
115
|
import { _ as _11 } from "./chunks/NcVNodes.vue_vue_type_script_lang.mjs";
|
|
115
116
|
import { useFormatRelativeTime, useFormatTime } from "./composables/useFormatDateTime/index.mjs";
|
|
116
117
|
import { useHotKey } from "./composables/useHotKey/index.mjs";
|
|
@@ -230,6 +231,7 @@ export {
|
|
|
230
231
|
_7 as NcTextField,
|
|
231
232
|
_9 as NcThemeProvider,
|
|
232
233
|
_10 as NcTimezonePicker,
|
|
234
|
+
N88 as NcUploadPicker,
|
|
233
235
|
N86 as NcUserBubble,
|
|
234
236
|
N87 as NcUserStatusIcon,
|
|
235
237
|
_11 as NcVNodes,
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextcloud/vue",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.12.0",
|
|
4
4
|
"description": "Nextcloud vue components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuejs",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"blurhash": "^2.0.5",
|
|
95
95
|
"clone": "^2.1.2",
|
|
96
96
|
"debounce": "^3.0.0",
|
|
97
|
-
"dompurify": "^3.4.
|
|
97
|
+
"dompurify": "^3.4.15",
|
|
98
98
|
"emoji-mart-vue-fast": "^15.0.5",
|
|
99
99
|
"escape-html": "^1.0.3",
|
|
100
100
|
"floating-vue": "^5.2.2",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"unist-builder": "^4.0.0",
|
|
119
119
|
"unist-util-visit-parents": "^6.0.2",
|
|
120
120
|
"vue": "^3.5.18",
|
|
121
|
-
"vue-router": "^5.
|
|
121
|
+
"vue-router": "^5.3.1"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"@babel/plugin-syntax-import-assertions": "^7.29.7",
|
|
@@ -129,21 +129,23 @@
|
|
|
129
129
|
"@mdi/svg": "^7.4.47",
|
|
130
130
|
"@nextcloud/babel-config": "^1.3.0",
|
|
131
131
|
"@nextcloud/browserslist-config": "^3.1.2",
|
|
132
|
+
"@nextcloud/dialogs": "^7.5.0",
|
|
132
133
|
"@nextcloud/eslint-config": "^9.0.1",
|
|
134
|
+
"@nextcloud/files": "^4.1.0-beta.2",
|
|
133
135
|
"@nextcloud/stylelint-config": "^3.2.2",
|
|
134
136
|
"@nextcloud/vite-config": "^2.5.0",
|
|
135
137
|
"@nextcloud/webpack-vue-config": "github:nextcloud/webpack-vue-config#vue3",
|
|
136
138
|
"@playwright/experimental-ct-vue": "^1.62.1",
|
|
137
|
-
"@playwright/test": "^1.
|
|
139
|
+
"@playwright/test": "^1.63.0",
|
|
138
140
|
"@types/gettext-parser": "^9.0.0",
|
|
139
|
-
"@types/node": "^26.
|
|
141
|
+
"@types/node": "^26.5.0",
|
|
140
142
|
"@types/webpack-env": "^1.18.8",
|
|
141
|
-
"@vitest/coverage-v8": "^
|
|
143
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
142
144
|
"@vue/test-utils": "^2.4.6",
|
|
143
145
|
"@vue/tsconfig": "^0.9.1",
|
|
144
146
|
"babel-loader-exclude-node-modules-except": "^1.2.4",
|
|
145
147
|
"core-js": "^3.50.0",
|
|
146
|
-
"eslint": "^10.
|
|
148
|
+
"eslint": "^10.10.0",
|
|
147
149
|
"file-loader": "^6.2.0",
|
|
148
150
|
"gettext-extractor": "^4.0.6",
|
|
149
151
|
"gettext-parser": "^9.1.1",
|
|
@@ -151,19 +153,31 @@
|
|
|
151
153
|
"jsdom": "^30.0.1",
|
|
152
154
|
"remark-gfm": "^4.0.1",
|
|
153
155
|
"resolve-url-loader": "^5.0.0",
|
|
154
|
-
"sass": "^1.
|
|
155
|
-
"stylelint": "^17.
|
|
156
|
+
"sass": "^1.104.0",
|
|
157
|
+
"stylelint": "^17.15.0",
|
|
156
158
|
"ts-node": "^10.9.2",
|
|
157
159
|
"typescript": "^5.9.3",
|
|
158
160
|
"url-loader": "^4.1.1",
|
|
159
161
|
"vite": "^7.3.6",
|
|
160
|
-
"vitest": "^
|
|
162
|
+
"vitest": "^5.0.0",
|
|
161
163
|
"vue-material-design-icons": "^5.3.1",
|
|
162
164
|
"vue-styleguidist": "^4.72.4",
|
|
163
165
|
"vue-tsc": "^3.3.11",
|
|
164
|
-
"webpack": "^5.
|
|
166
|
+
"webpack": "^5.110.3",
|
|
165
167
|
"webpack-merge": "^6.0.1"
|
|
166
168
|
},
|
|
169
|
+
"peerDependencies": {
|
|
170
|
+
"@nextcloud/dialogs": "^7.4.0",
|
|
171
|
+
"@nextcloud/files": "^4.1.0-beta.2"
|
|
172
|
+
},
|
|
173
|
+
"peerDependenciesMeta": {
|
|
174
|
+
"@nextcloud/dialogs": {
|
|
175
|
+
"optional": true
|
|
176
|
+
},
|
|
177
|
+
"@nextcloud/files": {
|
|
178
|
+
"optional": true
|
|
179
|
+
}
|
|
180
|
+
},
|
|
167
181
|
"engines": {
|
|
168
182
|
"node": "^20.11.0 || ^22 || ^24"
|
|
169
183
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.mjs","sources":["../../src/components/NcAppNavigationList/highlight.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { InjectionKey } from 'vue'\n\n/**\n * Lets navigation entries ask the list to move its shared hover highlight onto\n * them, so the list never has to read the DOM to find out what is hovered.\n */\nexport interface AppNavigationHighlight {\n\t/** Move the highlight onto the given entry element */\n\tshow(entry: HTMLElement): void\n\t/** Hide the highlight if it is currently on the given entry element */\n\thide(entry: HTMLElement): void\n}\n\nexport const APP_NAVIGATION_HIGHLIGHT = Symbol('nc:app-navigation-highlight') as InjectionKey<AppNavigationHighlight>\n"],"names":[],"mappings":"AAkBO,MAAM,kDAAkC,6BAA6B;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InjectionKey } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* Lets navigation entries ask the list to move its shared hover highlight onto
|
|
4
|
-
* them, so the list never has to read the DOM to find out what is hovered.
|
|
5
|
-
*/
|
|
6
|
-
export interface AppNavigationHighlight {
|
|
7
|
-
/** Move the highlight onto the given entry element */
|
|
8
|
-
show(entry: HTMLElement): void;
|
|
9
|
-
/** Hide the highlight if it is currently on the given entry element */
|
|
10
|
-
hide(entry: HTMLElement): void;
|
|
11
|
-
}
|
|
12
|
-
export declare const APP_NAVIGATION_HIGHLIGHT: InjectionKey<AppNavigationHighlight>;
|