@nextcloud/vue 9.10.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 +31 -0
- package/dist/assets/NcActionInput.css +66 -66
- package/dist/assets/NcActions.css +12 -12
- package/dist/assets/NcAppNavigationItem.css +54 -52
- package/dist/assets/NcAppNavigationList.css +2 -26
- package/dist/assets/NcAppNavigationNewItem.css +9 -7
- 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 +130 -76
- package/dist/assets/NcAppSidebarTab.css +4 -4
- 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/NcSelect.css +25 -0
- package/dist/assets/NcUploadPicker.css +41 -0
- package/dist/assets/autolink.css +3 -3
- package/dist/chunks/NcActionInput.mjs +4 -4
- package/dist/chunks/NcActionInput.mjs.map +1 -1
- package/dist/chunks/NcActions.mjs +4 -4
- package/dist/chunks/NcActions.mjs.map +1 -1
- 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 +165 -31
- package/dist/chunks/NcAppSidebar.mjs.map +1 -1
- package/dist/chunks/NcAppSidebarTab.mjs +12 -5
- package/dist/chunks/NcAppSidebarTab.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/NcSelect.mjs +74 -5
- package/dist/chunks/NcSelect.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 +38 -10
- package/dist/components/NcActions/NcActions.vue.d.ts +1 -1
- package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +1 -1
- package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +1 -5
- package/dist/components/NcAppNavigationList/NcAppNavigationList.vue.d.ts +1 -57
- package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +20 -1
- package/dist/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +43 -0
- package/dist/components/NcAppSidebar/NcAppSidebarTabsButton.vue.d.ts +5 -0
- package/dist/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +14 -4
- package/dist/components/NcAvatar/NcAvatar.vue.d.ts +10 -1
- package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +1 -1
- package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +2 -2
- package/dist/components/NcCollectionList/NcCollectionList.vue.d.ts +41 -5
- package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +6 -2
- package/dist/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +11 -3
- package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +6 -2
- package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +7 -7
- package/dist/components/NcFilePicker/NcFilePicker.vue.d.ts +7 -0
- package/dist/components/NcListItem/NcListItem.vue.d.ts +1 -1
- package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +6 -2
- package/dist/components/NcProfileHoverCard/NcProfileHoverCard.vue.d.ts +6 -0
- package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +30 -2
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +60 -4
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +60 -4
- package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +30 -2
- package/dist/components/NcSelect/NcSelect.vue.d.ts +39 -2
- package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +30 -2
- package/dist/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +30 -2
- 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
|
@@ -129,16 +129,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
129
129
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
130
130
|
avatarSize: number;
|
|
131
131
|
isLegacy: boolean;
|
|
132
|
+
mdiAlertCircleOutline: string;
|
|
133
|
+
mdiCheck: string;
|
|
132
134
|
}, {
|
|
133
135
|
search: string;
|
|
134
136
|
}, {
|
|
135
|
-
inputRequired():
|
|
137
|
+
inputRequired(): boolean | null;
|
|
136
138
|
localCalculatePosition(): any;
|
|
137
139
|
localFilterBy(): any;
|
|
138
140
|
localLabel(): any;
|
|
139
|
-
propsToForward():
|
|
141
|
+
propsToForward(): {
|
|
142
|
+
calculatePosition: any;
|
|
143
|
+
closeOnSelect: boolean;
|
|
144
|
+
filterBy: any;
|
|
145
|
+
label: any;
|
|
146
|
+
};
|
|
140
147
|
}, {
|
|
141
148
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
149
|
+
forwardedSlots(): string[];
|
|
142
150
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
143
151
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
144
152
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -210,6 +218,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
210
218
|
highlight: import('../../../utils/findRanges.ts').StringRange[];
|
|
211
219
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
212
220
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
221
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
222
|
+
directional?: boolean;
|
|
223
|
+
inline?: boolean;
|
|
224
|
+
svg?: string;
|
|
225
|
+
name?: string;
|
|
226
|
+
path?: string;
|
|
227
|
+
size?: number | "auto";
|
|
228
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
229
|
+
directional?: boolean;
|
|
230
|
+
inline?: boolean;
|
|
231
|
+
svg?: string;
|
|
232
|
+
name?: string;
|
|
233
|
+
path?: string;
|
|
234
|
+
size?: number | "auto";
|
|
235
|
+
}> & Readonly<{}>, {
|
|
236
|
+
size: number | "auto";
|
|
237
|
+
name: string;
|
|
238
|
+
svg: string;
|
|
239
|
+
path: string;
|
|
240
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
213
241
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
214
242
|
appearance?: "auto" | "light" | "dark";
|
|
215
243
|
name?: string;
|
|
@@ -855,16 +883,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
855
883
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
856
884
|
avatarSize: number;
|
|
857
885
|
isLegacy: boolean;
|
|
886
|
+
mdiAlertCircleOutline: string;
|
|
887
|
+
mdiCheck: string;
|
|
858
888
|
}, {
|
|
859
889
|
search: string;
|
|
860
890
|
}, {
|
|
861
|
-
inputRequired():
|
|
891
|
+
inputRequired(): boolean | null;
|
|
862
892
|
localCalculatePosition(): any;
|
|
863
893
|
localFilterBy(): any;
|
|
864
894
|
localLabel(): any;
|
|
865
|
-
propsToForward():
|
|
895
|
+
propsToForward(): {
|
|
896
|
+
calculatePosition: any;
|
|
897
|
+
closeOnSelect: boolean;
|
|
898
|
+
filterBy: any;
|
|
899
|
+
label: any;
|
|
900
|
+
};
|
|
866
901
|
}, {
|
|
867
902
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
903
|
+
forwardedSlots(): string[];
|
|
868
904
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
869
905
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
870
906
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -936,6 +972,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
936
972
|
highlight: import('../../../utils/findRanges.ts').StringRange[];
|
|
937
973
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
938
974
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
975
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
976
|
+
directional?: boolean;
|
|
977
|
+
inline?: boolean;
|
|
978
|
+
svg?: string;
|
|
979
|
+
name?: string;
|
|
980
|
+
path?: string;
|
|
981
|
+
size?: number | "auto";
|
|
982
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
983
|
+
directional?: boolean;
|
|
984
|
+
inline?: boolean;
|
|
985
|
+
svg?: string;
|
|
986
|
+
name?: string;
|
|
987
|
+
path?: string;
|
|
988
|
+
size?: number | "auto";
|
|
989
|
+
}> & Readonly<{}>, {
|
|
990
|
+
size: number | "auto";
|
|
991
|
+
name: string;
|
|
992
|
+
svg: string;
|
|
993
|
+
path: string;
|
|
994
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
939
995
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
940
996
|
appearance?: "auto" | "light" | "dark";
|
|
941
997
|
name?: string;
|
|
@@ -178,16 +178,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
178
178
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
179
179
|
avatarSize: number;
|
|
180
180
|
isLegacy: boolean;
|
|
181
|
+
mdiAlertCircleOutline: string;
|
|
182
|
+
mdiCheck: string;
|
|
181
183
|
}, {
|
|
182
184
|
search: string;
|
|
183
185
|
}, {
|
|
184
|
-
inputRequired():
|
|
186
|
+
inputRequired(): boolean | null;
|
|
185
187
|
localCalculatePosition(): any;
|
|
186
188
|
localFilterBy(): any;
|
|
187
189
|
localLabel(): any;
|
|
188
|
-
propsToForward():
|
|
190
|
+
propsToForward(): {
|
|
191
|
+
calculatePosition: any;
|
|
192
|
+
closeOnSelect: boolean;
|
|
193
|
+
filterBy: any;
|
|
194
|
+
label: any;
|
|
195
|
+
};
|
|
189
196
|
}, {
|
|
190
197
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
198
|
+
forwardedSlots(): string[];
|
|
191
199
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
192
200
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
193
201
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -259,6 +267,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
259
267
|
highlight: import('../../../utils/findRanges.ts').StringRange[];
|
|
260
268
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
261
269
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
270
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
271
|
+
directional?: boolean;
|
|
272
|
+
inline?: boolean;
|
|
273
|
+
svg?: string;
|
|
274
|
+
name?: string;
|
|
275
|
+
path?: string;
|
|
276
|
+
size?: number | "auto";
|
|
277
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
278
|
+
directional?: boolean;
|
|
279
|
+
inline?: boolean;
|
|
280
|
+
svg?: string;
|
|
281
|
+
name?: string;
|
|
282
|
+
path?: string;
|
|
283
|
+
size?: number | "auto";
|
|
284
|
+
}> & Readonly<{}>, {
|
|
285
|
+
size: number | "auto";
|
|
286
|
+
name: string;
|
|
287
|
+
svg: string;
|
|
288
|
+
path: string;
|
|
289
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
262
290
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
263
291
|
appearance?: "auto" | "light" | "dark";
|
|
264
292
|
name?: string;
|
|
@@ -904,16 +932,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
904
932
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
905
933
|
avatarSize: number;
|
|
906
934
|
isLegacy: boolean;
|
|
935
|
+
mdiAlertCircleOutline: string;
|
|
936
|
+
mdiCheck: string;
|
|
907
937
|
}, {
|
|
908
938
|
search: string;
|
|
909
939
|
}, {
|
|
910
|
-
inputRequired():
|
|
940
|
+
inputRequired(): boolean | null;
|
|
911
941
|
localCalculatePosition(): any;
|
|
912
942
|
localFilterBy(): any;
|
|
913
943
|
localLabel(): any;
|
|
914
|
-
propsToForward():
|
|
944
|
+
propsToForward(): {
|
|
945
|
+
calculatePosition: any;
|
|
946
|
+
closeOnSelect: boolean;
|
|
947
|
+
filterBy: any;
|
|
948
|
+
label: any;
|
|
949
|
+
};
|
|
915
950
|
}, {
|
|
916
951
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
952
|
+
forwardedSlots(): string[];
|
|
917
953
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
918
954
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
919
955
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -985,6 +1021,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
985
1021
|
highlight: import('../../../utils/findRanges.ts').StringRange[];
|
|
986
1022
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
987
1023
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1024
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
1025
|
+
directional?: boolean;
|
|
1026
|
+
inline?: boolean;
|
|
1027
|
+
svg?: string;
|
|
1028
|
+
name?: string;
|
|
1029
|
+
path?: string;
|
|
1030
|
+
size?: number | "auto";
|
|
1031
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
1032
|
+
directional?: boolean;
|
|
1033
|
+
inline?: boolean;
|
|
1034
|
+
svg?: string;
|
|
1035
|
+
name?: string;
|
|
1036
|
+
path?: string;
|
|
1037
|
+
size?: number | "auto";
|
|
1038
|
+
}> & Readonly<{}>, {
|
|
1039
|
+
size: number | "auto";
|
|
1040
|
+
name: string;
|
|
1041
|
+
svg: string;
|
|
1042
|
+
path: string;
|
|
1043
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
988
1044
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
989
1045
|
appearance?: "auto" | "light" | "dark";
|
|
990
1046
|
name?: string;
|
|
@@ -128,16 +128,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
128
128
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
129
129
|
avatarSize: number;
|
|
130
130
|
isLegacy: boolean;
|
|
131
|
+
mdiAlertCircleOutline: string;
|
|
132
|
+
mdiCheck: string;
|
|
131
133
|
}, {
|
|
132
134
|
search: string;
|
|
133
135
|
}, {
|
|
134
|
-
inputRequired():
|
|
136
|
+
inputRequired(): boolean | null;
|
|
135
137
|
localCalculatePosition(): any;
|
|
136
138
|
localFilterBy(): any;
|
|
137
139
|
localLabel(): any;
|
|
138
|
-
propsToForward():
|
|
140
|
+
propsToForward(): {
|
|
141
|
+
calculatePosition: any;
|
|
142
|
+
closeOnSelect: boolean;
|
|
143
|
+
filterBy: any;
|
|
144
|
+
label: any;
|
|
145
|
+
};
|
|
139
146
|
}, {
|
|
140
147
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
148
|
+
forwardedSlots(): string[];
|
|
141
149
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
142
150
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
143
151
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -209,6 +217,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
209
217
|
highlight: import('../../../utils/findRanges.ts').StringRange[];
|
|
210
218
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
211
219
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
220
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
221
|
+
directional?: boolean;
|
|
222
|
+
inline?: boolean;
|
|
223
|
+
svg?: string;
|
|
224
|
+
name?: string;
|
|
225
|
+
path?: string;
|
|
226
|
+
size?: number | "auto";
|
|
227
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
228
|
+
directional?: boolean;
|
|
229
|
+
inline?: boolean;
|
|
230
|
+
svg?: string;
|
|
231
|
+
name?: string;
|
|
232
|
+
path?: string;
|
|
233
|
+
size?: number | "auto";
|
|
234
|
+
}> & Readonly<{}>, {
|
|
235
|
+
size: number | "auto";
|
|
236
|
+
name: string;
|
|
237
|
+
svg: string;
|
|
238
|
+
path: string;
|
|
239
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
212
240
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
213
241
|
appearance?: "auto" | "light" | "dark";
|
|
214
242
|
name?: string;
|
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
2
|
avatarSize: number;
|
|
3
3
|
isLegacy: boolean;
|
|
4
|
+
mdiAlertCircleOutline: string;
|
|
5
|
+
mdiCheck: string;
|
|
4
6
|
}, {
|
|
5
7
|
search: string;
|
|
6
8
|
}, {
|
|
7
|
-
inputRequired():
|
|
9
|
+
inputRequired(): boolean | null;
|
|
8
10
|
localCalculatePosition(): any;
|
|
9
11
|
localFilterBy(): any;
|
|
10
12
|
localLabel(): any;
|
|
11
|
-
propsToForward():
|
|
13
|
+
propsToForward(): {
|
|
14
|
+
calculatePosition: any;
|
|
15
|
+
closeOnSelect: boolean;
|
|
16
|
+
filterBy: any;
|
|
17
|
+
label: any;
|
|
18
|
+
};
|
|
12
19
|
}, {
|
|
13
20
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
21
|
+
/**
|
|
22
|
+
* Consumer-provided slots forwarded to vue-select, excluding `footer`
|
|
23
|
+
* which we render ourselves to host the helper text.
|
|
24
|
+
*
|
|
25
|
+
* `$slots` is not reactive, so this is a method (re-evaluated on every
|
|
26
|
+
* render) rather than a computed, to keep the forwarded slot list fresh.
|
|
27
|
+
*
|
|
28
|
+
* @return {string[]}
|
|
29
|
+
*/
|
|
30
|
+
forwardedSlots(): string[];
|
|
14
31
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
15
32
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
33
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -82,6 +99,26 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
82
99
|
highlight: import('../../utils/findRanges.ts').StringRange[];
|
|
83
100
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
84
101
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
102
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
103
|
+
directional?: boolean;
|
|
104
|
+
inline?: boolean;
|
|
105
|
+
svg?: string;
|
|
106
|
+
name?: string;
|
|
107
|
+
path?: string;
|
|
108
|
+
size?: number | "auto";
|
|
109
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
110
|
+
directional?: boolean;
|
|
111
|
+
inline?: boolean;
|
|
112
|
+
svg?: string;
|
|
113
|
+
name?: string;
|
|
114
|
+
path?: string;
|
|
115
|
+
size?: number | "auto";
|
|
116
|
+
}> & Readonly<{}>, {
|
|
117
|
+
size: number | "auto";
|
|
118
|
+
name: string;
|
|
119
|
+
svg: string;
|
|
120
|
+
path: string;
|
|
121
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
85
122
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
86
123
|
appearance?: "auto" | "light" | "dark";
|
|
87
124
|
name?: string;
|
|
@@ -84,16 +84,24 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
84
84
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
85
85
|
avatarSize: number;
|
|
86
86
|
isLegacy: boolean;
|
|
87
|
+
mdiAlertCircleOutline: string;
|
|
88
|
+
mdiCheck: string;
|
|
87
89
|
}, {
|
|
88
90
|
search: string;
|
|
89
91
|
}, {
|
|
90
|
-
inputRequired():
|
|
92
|
+
inputRequired(): boolean | null;
|
|
91
93
|
localCalculatePosition(): any;
|
|
92
94
|
localFilterBy(): any;
|
|
93
95
|
localLabel(): any;
|
|
94
|
-
propsToForward():
|
|
96
|
+
propsToForward(): {
|
|
97
|
+
calculatePosition: any;
|
|
98
|
+
closeOnSelect: boolean;
|
|
99
|
+
filterBy: any;
|
|
100
|
+
label: any;
|
|
101
|
+
};
|
|
95
102
|
}, {
|
|
96
103
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
104
|
+
forwardedSlots(): string[];
|
|
97
105
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
98
106
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
99
107
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -165,6 +173,26 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
165
173
|
highlight: import('../../utils/findRanges.ts').StringRange[];
|
|
166
174
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
167
175
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
176
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
177
|
+
directional?: boolean;
|
|
178
|
+
inline?: boolean;
|
|
179
|
+
svg?: string;
|
|
180
|
+
name?: string;
|
|
181
|
+
path?: string;
|
|
182
|
+
size?: number | "auto";
|
|
183
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
184
|
+
directional?: boolean;
|
|
185
|
+
inline?: boolean;
|
|
186
|
+
svg?: string;
|
|
187
|
+
name?: string;
|
|
188
|
+
path?: string;
|
|
189
|
+
size?: number | "auto";
|
|
190
|
+
}> & Readonly<{}>, {
|
|
191
|
+
size: number | "auto";
|
|
192
|
+
name: string;
|
|
193
|
+
svg: string;
|
|
194
|
+
path: string;
|
|
195
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
168
196
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
169
197
|
appearance?: "auto" | "light" | "dark";
|
|
170
198
|
name?: string;
|
|
@@ -143,16 +143,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
143
143
|
NcSelect: import('vue').DefineComponent<{}, {
|
|
144
144
|
avatarSize: number;
|
|
145
145
|
isLegacy: boolean;
|
|
146
|
+
mdiAlertCircleOutline: string;
|
|
147
|
+
mdiCheck: string;
|
|
146
148
|
}, {
|
|
147
149
|
search: string;
|
|
148
150
|
}, {
|
|
149
|
-
inputRequired():
|
|
151
|
+
inputRequired(): boolean | null;
|
|
150
152
|
localCalculatePosition(): any;
|
|
151
153
|
localFilterBy(): any;
|
|
152
154
|
localLabel(): any;
|
|
153
|
-
propsToForward():
|
|
155
|
+
propsToForward(): {
|
|
156
|
+
calculatePosition: any;
|
|
157
|
+
closeOnSelect: boolean;
|
|
158
|
+
filterBy: any;
|
|
159
|
+
label: any;
|
|
160
|
+
};
|
|
154
161
|
}, {
|
|
155
162
|
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
163
|
+
forwardedSlots(): string[];
|
|
156
164
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
157
165
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
158
166
|
"on "?: ((...args: any[]) => any) | undefined;
|
|
@@ -224,6 +232,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
224
232
|
highlight: import('../../utils/findRanges.ts').StringRange[];
|
|
225
233
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
226
234
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
235
|
+
NcIconSvgWrapper: import('vue').DefineComponent<{
|
|
236
|
+
directional?: boolean;
|
|
237
|
+
inline?: boolean;
|
|
238
|
+
svg?: string;
|
|
239
|
+
name?: string;
|
|
240
|
+
path?: string;
|
|
241
|
+
size?: number | "auto";
|
|
242
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
243
|
+
directional?: boolean;
|
|
244
|
+
inline?: boolean;
|
|
245
|
+
svg?: string;
|
|
246
|
+
name?: string;
|
|
247
|
+
path?: string;
|
|
248
|
+
size?: number | "auto";
|
|
249
|
+
}> & Readonly<{}>, {
|
|
250
|
+
size: number | "auto";
|
|
251
|
+
name: string;
|
|
252
|
+
svg: string;
|
|
253
|
+
path: string;
|
|
254
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
227
255
|
NcLoadingIcon: import('vue').DefineComponent<{
|
|
228
256
|
appearance?: "auto" | "light" | "dark";
|
|
229
257
|
name?: string;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { IFolder, INode } from '@nextcloud/files';
|
|
2
|
+
import { IUpload } from '@nextcloud/files/upload';
|
|
3
|
+
import { FilePickerItem, FilePickerItemGroup } from '../NcFilePicker/NcFilePicker.vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/**
|
|
6
|
+
* Actions to be shown in the upload picker menu.
|
|
7
|
+
*/
|
|
8
|
+
actions?: FilePickerItem[] | FilePickerItemGroup[];
|
|
9
|
+
/**
|
|
10
|
+
* The upload destination folder
|
|
11
|
+
*/
|
|
12
|
+
destination: IFolder;
|
|
13
|
+
/**
|
|
14
|
+
* A callback function to get the list of files present in the destination folder.
|
|
15
|
+
*/
|
|
16
|
+
content: (relativePath?: string) => Promise<INode[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Allowed MIME types to upload
|
|
19
|
+
*/
|
|
20
|
+
accept?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* Disable the upload picker
|
|
23
|
+
*/
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The label of the upload picker button
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Allow uploading multiple files
|
|
31
|
+
*/
|
|
32
|
+
multiple?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Only show the icon without text label
|
|
35
|
+
*/
|
|
36
|
+
iconOnly?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The variant of the menu button
|
|
39
|
+
*/
|
|
40
|
+
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
41
|
+
/**
|
|
42
|
+
* Allow uploading directories
|
|
43
|
+
*/
|
|
44
|
+
directory?: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Reset the file input form
|
|
48
|
+
*/
|
|
49
|
+
declare function reset(): void;
|
|
50
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
51
|
+
reset: typeof reset;
|
|
52
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
"upload:started": (upload: IUpload) => any;
|
|
54
|
+
"upload:finished": (upload: IUpload) => any;
|
|
55
|
+
paused: (queue: IUpload[]) => any;
|
|
56
|
+
resumed: (queue: IUpload[]) => any;
|
|
57
|
+
finished: () => any;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
59
|
+
"onUpload:started"?: ((upload: IUpload) => any) | undefined;
|
|
60
|
+
"onUpload:finished"?: ((upload: IUpload) => any) | undefined;
|
|
61
|
+
onPaused?: ((queue: IUpload[]) => any) | undefined;
|
|
62
|
+
onResumed?: ((queue: IUpload[]) => any) | undefined;
|
|
63
|
+
onFinished?: (() => any) | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
label: string;
|
|
66
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
67
|
+
actions: FilePickerItem[] | FilePickerItemGroup[];
|
|
68
|
+
accept: string[];
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
70
|
+
filePicker: ({
|
|
71
|
+
$: import('vue').ComponentInternalInstance;
|
|
72
|
+
$data: {};
|
|
73
|
+
$props: {
|
|
74
|
+
readonly accept?: string[] | undefined;
|
|
75
|
+
readonly actionCaption?: string | undefined;
|
|
76
|
+
readonly actions?: FilePickerItem[] | FilePickerItemGroup[] | undefined;
|
|
77
|
+
readonly directory?: boolean | undefined;
|
|
78
|
+
readonly directoryOnly?: boolean | undefined;
|
|
79
|
+
readonly disabled?: boolean | undefined;
|
|
80
|
+
readonly iconOnly?: boolean | undefined;
|
|
81
|
+
readonly label?: string | undefined;
|
|
82
|
+
readonly loading?: boolean | undefined;
|
|
83
|
+
readonly multiple?: boolean | undefined;
|
|
84
|
+
readonly variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
85
|
+
readonly onPick?: ((files: File[]) => any) | undefined;
|
|
86
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
87
|
+
$attrs: import('vue').Attrs;
|
|
88
|
+
$refs: {
|
|
89
|
+
[x: string]: unknown;
|
|
90
|
+
} & {
|
|
91
|
+
form: HTMLFormElement;
|
|
92
|
+
input: HTMLInputElement;
|
|
93
|
+
};
|
|
94
|
+
$slots: Readonly<{
|
|
95
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
98
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
99
|
+
$host: Element | null;
|
|
100
|
+
$emit: (event: "pick", files: File[]) => void;
|
|
101
|
+
$el: HTMLFormElement;
|
|
102
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
103
|
+
accept?: string[];
|
|
104
|
+
actionCaption?: string;
|
|
105
|
+
actions?: FilePickerItem[] | FilePickerItemGroup[];
|
|
106
|
+
directory?: boolean;
|
|
107
|
+
directoryOnly?: boolean;
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
iconOnly?: boolean;
|
|
110
|
+
label?: string;
|
|
111
|
+
loading?: boolean;
|
|
112
|
+
multiple?: boolean;
|
|
113
|
+
variant?: "primary" | "secondary" | "tertiary";
|
|
114
|
+
}> & Readonly<{
|
|
115
|
+
onPick?: ((files: File[]) => any) | undefined;
|
|
116
|
+
}>, {
|
|
117
|
+
reset: () => void;
|
|
118
|
+
triggerPickFiles: (uploadFolders: boolean) => void;
|
|
119
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
120
|
+
pick: (files: File[]) => any;
|
|
121
|
+
}, string, {
|
|
122
|
+
label: string;
|
|
123
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
124
|
+
actions: FilePickerItem[] | FilePickerItemGroup[];
|
|
125
|
+
accept: string[];
|
|
126
|
+
actionCaption: string;
|
|
127
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
128
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
129
|
+
created?: (() => void) | (() => void)[];
|
|
130
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
131
|
+
mounted?: (() => void) | (() => void)[];
|
|
132
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
133
|
+
updated?: (() => void) | (() => void)[];
|
|
134
|
+
activated?: (() => void) | (() => void)[];
|
|
135
|
+
deactivated?: (() => void) | (() => void)[];
|
|
136
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
137
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
138
|
+
destroyed?: (() => void) | (() => void)[];
|
|
139
|
+
unmounted?: (() => void) | (() => void)[];
|
|
140
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
141
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
142
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
143
|
+
};
|
|
144
|
+
$forceUpdate: () => void;
|
|
145
|
+
$nextTick: typeof import('vue').nextTick;
|
|
146
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
147
|
+
} & Readonly<{
|
|
148
|
+
label: string;
|
|
149
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
150
|
+
actions: FilePickerItem[] | FilePickerItemGroup[];
|
|
151
|
+
accept: string[];
|
|
152
|
+
actionCaption: string;
|
|
153
|
+
}> & Omit<Readonly<{
|
|
154
|
+
accept?: string[];
|
|
155
|
+
actionCaption?: string;
|
|
156
|
+
actions?: FilePickerItem[] | FilePickerItemGroup[];
|
|
157
|
+
directory?: boolean;
|
|
158
|
+
directoryOnly?: boolean;
|
|
159
|
+
disabled?: boolean;
|
|
160
|
+
iconOnly?: boolean;
|
|
161
|
+
label?: string;
|
|
162
|
+
loading?: boolean;
|
|
163
|
+
multiple?: boolean;
|
|
164
|
+
variant?: "primary" | "secondary" | "tertiary";
|
|
165
|
+
}> & Readonly<{
|
|
166
|
+
onPick?: ((files: File[]) => any) | undefined;
|
|
167
|
+
}>, "reset" | "triggerPickFiles" | ("label" | "variant" | "actions" | "accept" | "actionCaption")> & {
|
|
168
|
+
reset: () => void;
|
|
169
|
+
triggerPickFiles: (uploadFolders: boolean) => void;
|
|
170
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
171
|
+
$slots: Readonly<{
|
|
172
|
+
icon?: import('vue').Slot;
|
|
173
|
+
default?: import('vue').Slot;
|
|
174
|
+
}> & {
|
|
175
|
+
icon?: import('vue').Slot;
|
|
176
|
+
default?: import('vue').Slot;
|
|
177
|
+
};
|
|
178
|
+
}) | null;
|
|
179
|
+
}, HTMLFormElement>;
|
|
180
|
+
export default _default;
|
|
@@ -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"),
|