vuefinder 4.1.1 → 4.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.
Files changed (102) hide show
  1. package/dist/locales/en.js +5 -0
  2. package/dist/types/ServiceContainer.d.ts +3 -0
  3. package/dist/types/adapters/Adapter.d.ts +106 -0
  4. package/dist/types/adapters/AdapterManager.d.ts +161 -0
  5. package/dist/types/adapters/ArrayDriver.d.ts +86 -0
  6. package/dist/types/adapters/IndexedDBDriver.d.ts +71 -0
  7. package/dist/types/adapters/RemoteDriver.d.ts +75 -0
  8. package/dist/types/adapters/index.d.ts +57 -0
  9. package/dist/types/adapters/types.d.ts +239 -0
  10. package/dist/types/components/ActionMessage.vue.d.ts +16 -0
  11. package/dist/types/components/Breadcrumb.vue.d.ts +3 -0
  12. package/dist/types/components/ContextMenu.vue.d.ts +3 -0
  13. package/dist/types/components/DragItem.vue.d.ts +6 -0
  14. package/dist/types/components/Explorer.vue.d.ts +30 -0
  15. package/dist/types/components/ExplorerHeader.vue.d.ts +3 -0
  16. package/dist/types/components/FileItem.vue.d.ts +49 -0
  17. package/dist/types/components/FileRow.vue.d.ts +44 -0
  18. package/dist/types/components/FolderIndicator.vue.d.ts +10 -0
  19. package/dist/types/components/FolderLoaderIndicator.vue.d.ts +15 -0
  20. package/dist/types/components/ItemIcon.vue.d.ts +25 -0
  21. package/dist/types/components/MenuBar.vue.d.ts +3 -0
  22. package/dist/types/components/Message.vue.d.ts +20 -0
  23. package/dist/types/components/SortIcon.vue.d.ts +6 -0
  24. package/dist/types/components/Statusbar.vue.d.ts +17 -0
  25. package/dist/types/components/Toolbar.vue.d.ts +3 -0
  26. package/dist/types/components/TreeStorageItem.vue.d.ts +6 -0
  27. package/dist/types/components/TreeSubfolderList.vue.d.ts +7 -0
  28. package/dist/types/components/TreeView.vue.d.ts +3 -0
  29. package/dist/types/components/VueFinderProvider.vue.d.ts +31 -0
  30. package/dist/types/components/VueFinderView.vue.d.ts +48 -0
  31. package/dist/types/components/modals/ModalAbout.vue.d.ts +3 -0
  32. package/dist/types/components/modals/ModalArchive.vue.d.ts +3 -0
  33. package/dist/types/components/modals/ModalCopy.vue.d.ts +3 -0
  34. package/dist/types/components/modals/ModalDelete.vue.d.ts +3 -0
  35. package/dist/types/components/modals/ModalHeader.vue.d.ts +7 -0
  36. package/dist/types/components/modals/ModalLayout.vue.d.ts +19 -0
  37. package/dist/types/components/modals/ModalMessage.vue.d.ts +3 -0
  38. package/dist/types/components/modals/ModalMove.vue.d.ts +3 -0
  39. package/dist/types/components/modals/ModalNewFile.vue.d.ts +3 -0
  40. package/dist/types/components/modals/ModalNewFolder.vue.d.ts +3 -0
  41. package/dist/types/components/modals/ModalPreview.vue.d.ts +3 -0
  42. package/dist/types/components/modals/ModalRename.vue.d.ts +3 -0
  43. package/dist/types/components/modals/ModalSearch.vue.d.ts +3 -0
  44. package/dist/types/components/modals/ModalSettings.vue.d.ts +3 -0
  45. package/dist/types/components/modals/ModalShortcuts.vue.d.ts +3 -0
  46. package/dist/types/components/modals/ModalTransfer.vue.d.ts +6 -0
  47. package/dist/types/components/modals/ModalTreeFolderItem.vue.d.ts +20 -0
  48. package/dist/types/components/modals/ModalTreeSelector.vue.d.ts +15 -0
  49. package/dist/types/components/modals/ModalUnarchive.vue.d.ts +3 -0
  50. package/dist/types/components/modals/ModalUpload.vue.d.ts +3 -0
  51. package/dist/types/components/previews/Audio.vue.d.ts +7 -0
  52. package/dist/types/components/previews/Default.vue.d.ts +7 -0
  53. package/dist/types/components/previews/Image.vue.d.ts +8 -0
  54. package/dist/types/components/previews/Pdf.vue.d.ts +7 -0
  55. package/dist/types/components/previews/Text.vue.d.ts +7 -0
  56. package/dist/types/components/previews/Video.vue.d.ts +7 -0
  57. package/dist/types/components/search/SearchInput.vue.d.ts +16 -0
  58. package/dist/types/components/search/SearchOptionsDropdown.vue.d.ts +23 -0
  59. package/dist/types/components/search/SearchResultItem.vue.d.ts +30 -0
  60. package/dist/types/components/search/SearchResultsList.vue.d.ts +36 -0
  61. package/dist/types/composables/useApp.d.ts +20 -0
  62. package/dist/types/composables/useDebouncedRef.d.ts +2 -0
  63. package/dist/types/composables/useDragNDrop.d.ts +17 -0
  64. package/dist/types/composables/useExternalDragDrop.d.ts +67 -0
  65. package/dist/types/composables/useFeature.d.ts +9 -0
  66. package/dist/types/composables/useHotkeyActions.d.ts +1 -0
  67. package/dist/types/composables/useI18n.d.ts +21 -0
  68. package/dist/types/composables/useItemEvents.d.ts +14 -0
  69. package/dist/types/composables/useItemFilters.d.ts +11 -0
  70. package/dist/types/composables/useItemOperations.d.ts +8 -0
  71. package/dist/types/composables/useLazyLoad.d.ts +26 -0
  72. package/dist/types/composables/useModal.d.ts +10 -0
  73. package/dist/types/composables/useScrollSetup.d.ts +49 -0
  74. package/dist/types/composables/useSelection.d.ts +23 -0
  75. package/dist/types/composables/useStorage.d.ts +6 -0
  76. package/dist/types/composables/useTheme.d.ts +13 -0
  77. package/dist/types/composables/useUpload.d.ts +43 -0
  78. package/dist/types/composables/useVirtualColumns.d.ts +31 -0
  79. package/dist/types/composables/useVueFinder.d.ts +2 -0
  80. package/dist/types/features.d.ts +6 -0
  81. package/dist/types/index.d.ts +25 -0
  82. package/dist/types/stores/config.d.ts +80 -0
  83. package/dist/types/stores/files.d.ts +83 -0
  84. package/dist/types/stores/i18n.d.ts +2 -0
  85. package/dist/types/stores/theme.d.ts +6 -0
  86. package/dist/types/types.d.ts +125 -0
  87. package/dist/types/utils/clipboard.d.ts +21 -0
  88. package/dist/types/utils/contextmenu.d.ts +34 -0
  89. package/dist/types/utils/datetimestring.d.ts +1 -0
  90. package/dist/types/utils/debounce.d.ts +1 -0
  91. package/dist/types/utils/errorHandler.d.ts +14 -0
  92. package/dist/types/utils/filesize.d.ts +16 -0
  93. package/dist/types/utils/notify.d.ts +22 -0
  94. package/dist/types/utils/path.d.ts +3 -0
  95. package/dist/types/utils/scanFiles.d.ts +5 -0
  96. package/dist/types/utils/titleShorten.d.ts +1 -0
  97. package/dist/types/utils/upsert.d.ts +5 -0
  98. package/dist/vuefinder.css +1 -1
  99. package/dist/vuefinder.js +3375 -3034
  100. package/package.json +10 -7
  101. package/dist/features.js +0 -43
  102. package/dist/index.d.ts +0 -203
@@ -0,0 +1,239 @@
1
+ import type { DirEntry, FsData } from '../types';
2
+ export type { FsData };
3
+ /**
4
+ * Configuration for IndexedDB Driver
5
+ * Note: The actual IndexedDBDriverConfig is exported from IndexedDBDriver.ts
6
+ */
7
+ export interface IndexedDBDriverConfig {
8
+ dbName?: string;
9
+ storage?: string;
10
+ storages?: string[];
11
+ readOnly?: boolean;
12
+ version?: number;
13
+ }
14
+ /**
15
+ * URL configuration for Cloud Adapter endpoints
16
+ */
17
+ export interface RemoteDriverUrls {
18
+ list: string;
19
+ upload: string;
20
+ delete: string;
21
+ rename: string;
22
+ copy: string;
23
+ move: string;
24
+ archive: string;
25
+ unarchive: string;
26
+ createFile: string;
27
+ createFolder: string;
28
+ preview: string;
29
+ download: string;
30
+ search: string;
31
+ save: string;
32
+ }
33
+ /**
34
+ * Configuration for Cloud Adapter
35
+ */
36
+ export interface RemoteDriverConfig {
37
+ baseURL?: string;
38
+ token?: string;
39
+ url?: Partial<RemoteDriverUrls>;
40
+ headers?: Record<string, string>;
41
+ }
42
+ /**
43
+ * Response from delete operations
44
+ */
45
+ export interface DeleteResult extends FileOperationResult {
46
+ deleted?: DirEntry[];
47
+ }
48
+ /**
49
+ * Response from file operations
50
+ */
51
+ export interface FileOperationResult {
52
+ files: DirEntry[];
53
+ storages: Storage[];
54
+ read_only: boolean;
55
+ dirname: string;
56
+ }
57
+ /**
58
+ * Parameters for listing files
59
+ */
60
+ export interface ListParams {
61
+ path?: string;
62
+ }
63
+ /**
64
+ * Parameters for upload operations
65
+ */
66
+ export interface UploadParams {
67
+ path: string;
68
+ files: File[];
69
+ }
70
+ /**
71
+ * Parameters for delete operations
72
+ */
73
+ export interface DeleteParams {
74
+ path: string;
75
+ items: {
76
+ path: string;
77
+ type: string;
78
+ }[];
79
+ }
80
+ /**
81
+ * Parameters for rename operations
82
+ */
83
+ export interface RenameParams {
84
+ path: string;
85
+ item: string;
86
+ name: string;
87
+ }
88
+ /**
89
+ * Parameters for copy/move operations
90
+ */
91
+ export interface TransferParams {
92
+ path?: string;
93
+ sources: string[];
94
+ destination: string;
95
+ }
96
+ /**
97
+ * Parameters for archive operations
98
+ */
99
+ export interface ArchiveParams {
100
+ items: {
101
+ path: string;
102
+ type: string;
103
+ }[];
104
+ path: string;
105
+ name: string;
106
+ }
107
+ export interface SearchParams {
108
+ path?: string;
109
+ filter: string;
110
+ deep?: boolean;
111
+ size?: 'all' | 'small' | 'medium' | 'large';
112
+ }
113
+ export interface SaveParams {
114
+ path: string;
115
+ content: string;
116
+ }
117
+ /**
118
+ * Result from getContent operations
119
+ */
120
+ export interface FileContentResult {
121
+ content: string;
122
+ mimeType?: string;
123
+ }
124
+ /**
125
+ * Uploader context provided to configureUploader
126
+ */
127
+ export interface UploaderContext {
128
+ getTargetPath: () => string;
129
+ }
130
+ /**
131
+ * Driver interface that all drivers must implement
132
+ */
133
+ export interface Driver {
134
+ /**
135
+ * Configure the uploader (Uppy instance)
136
+ * This allows adapters to customize upload behavior
137
+ */
138
+ configureUploader?: (uppy: any, context: UploaderContext) => void;
139
+ /**
140
+ * List files and folders at a given path
141
+ */
142
+ list(params?: ListParams): Promise<FsData>;
143
+ /**
144
+ * Delete files/folders
145
+ */
146
+ delete(params: DeleteParams): Promise<DeleteResult>;
147
+ /**
148
+ * Rename a file or folder
149
+ */
150
+ rename(params: RenameParams): Promise<FileOperationResult>;
151
+ /**
152
+ * Copy files/folders to a destination
153
+ */
154
+ copy(params: TransferParams): Promise<FileOperationResult>;
155
+ /**
156
+ * Move files/folders to a destination
157
+ */
158
+ move(params: TransferParams): Promise<FileOperationResult>;
159
+ /**
160
+ * Create a zip archive from files/folders
161
+ */
162
+ archive(params: ArchiveParams): Promise<FileOperationResult>;
163
+ /**
164
+ * Extract files from a zip archive
165
+ */
166
+ unarchive(params: {
167
+ item: string;
168
+ path: string;
169
+ }): Promise<FileOperationResult>;
170
+ /**
171
+ * Create a new file
172
+ */
173
+ createFile(params: {
174
+ path: string;
175
+ name: string;
176
+ }): Promise<FileOperationResult>;
177
+ /**
178
+ * Create a new folder
179
+ */
180
+ createFolder(params: {
181
+ path: string;
182
+ name: string;
183
+ }): Promise<FileOperationResult>;
184
+ /**
185
+ * Get file content
186
+ */
187
+ getContent(params: {
188
+ path: string;
189
+ }): Promise<FileContentResult>;
190
+ /**
191
+ * Get preview URL for a file
192
+ */
193
+ getPreviewUrl(params: {
194
+ path: string;
195
+ }): string;
196
+ /**
197
+ * Get download URL for a file
198
+ */
199
+ getDownloadUrl(params: {
200
+ path: string;
201
+ }): string;
202
+ /**
203
+ * Search for files
204
+ */
205
+ search(params: SearchParams): Promise<DirEntry[]>;
206
+ /**
207
+ * Save text/binary content to a file path
208
+ */
209
+ save(params: SaveParams): Promise<string>;
210
+ }
211
+ /**
212
+ * Backend error response formats that can be received
213
+ */
214
+ export interface BackendErrorResponse {
215
+ message?: string;
216
+ error?: string | {
217
+ message?: string;
218
+ code?: string;
219
+ };
220
+ errors?: Array<{
221
+ message?: string;
222
+ field?: string;
223
+ }>;
224
+ detail?: string;
225
+ title?: string;
226
+ }
227
+ /**
228
+ * Parse backend error response and extract standardized error message
229
+ * Handles various backend error formats and always returns a string message
230
+ */
231
+ export declare function parseBackendError(responseText: string | null, statusCode: number, statusText: string): string;
232
+ /**
233
+ * Base adapter error class
234
+ */
235
+ export declare class AdapterError extends Error {
236
+ code?: string | undefined;
237
+ statusCode?: number | undefined;
238
+ constructor(message: string, code?: string | undefined, statusCode?: number | undefined);
239
+ }
@@ -0,0 +1,16 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ on: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ }>, {
9
+ shown: import("vue").Ref<boolean, boolean>;
10
+ t: any;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ on: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ count: number;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { DirEntry, ItemDclickEvent } from '../types';
2
+ type __VLS_Props = {
3
+ onFileDclick?: (event: ItemDclickEvent) => void;
4
+ onFolderDclick?: (event: ItemDclickEvent) => void;
5
+ };
6
+ declare var __VLS_24: {
7
+ app: any;
8
+ config: any;
9
+ item: DirEntry;
10
+ view: "list" | "grid" | undefined;
11
+ }, __VLS_39: {
12
+ app: any;
13
+ config: any;
14
+ item: DirEntry;
15
+ view: "list" | "grid" | undefined;
16
+ };
17
+ type __VLS_Slots = {} & {
18
+ icon?: (props: typeof __VLS_24) => any;
19
+ } & {
20
+ icon?: (props: typeof __VLS_39) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,49 @@
1
+ import type { DirEntry } from '../types';
2
+ type __VLS_Props = {
3
+ item: DirEntry;
4
+ view: 'grid' | 'list';
5
+ showThumbnails?: boolean;
6
+ isSelected?: boolean;
7
+ isDragging?: boolean;
8
+ rowIndex?: number;
9
+ colIndex?: number;
10
+ showPath?: boolean;
11
+ explorerId: string;
12
+ };
13
+ declare var __VLS_13: {
14
+ app: any;
15
+ config: any;
16
+ item: DirEntry;
17
+ view: "list" | "grid" | undefined;
18
+ }, __VLS_22: {
19
+ app: any;
20
+ config: any;
21
+ item: DirEntry;
22
+ view: "list" | "grid" | undefined;
23
+ };
24
+ type __VLS_Slots = {} & {
25
+ icon?: (props: typeof __VLS_13) => any;
26
+ } & {
27
+ icon?: (props: typeof __VLS_22) => any;
28
+ };
29
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ click: (event: Event | MouseEvent | TouchEvent) => any;
31
+ contextmenu: (event: MouseEvent | TouchEvent) => any;
32
+ dblclick: (event: MouseEvent | TouchEvent) => any;
33
+ dragend: (event: DragEvent) => any;
34
+ dragstart: (event: DragEvent) => any;
35
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
36
+ onClick?: ((event: Event | MouseEvent | TouchEvent) => any) | undefined;
37
+ onContextmenu?: ((event: MouseEvent | TouchEvent) => any) | undefined;
38
+ onDblclick?: ((event: MouseEvent | TouchEvent) => any) | undefined;
39
+ onDragend?: ((event: DragEvent) => any) | undefined;
40
+ onDragstart?: ((event: DragEvent) => any) | undefined;
41
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
43
+ declare const _default: typeof __VLS_export;
44
+ export default _default;
45
+ type __VLS_WithSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,44 @@
1
+ import type { DirEntry } from '../types';
2
+ type __VLS_Props = {
3
+ rowIndex: number;
4
+ rowHeight: number;
5
+ view: 'grid' | 'list';
6
+ itemsPerRow?: number;
7
+ items: DirEntry[];
8
+ showThumbnails?: boolean;
9
+ showPath?: boolean;
10
+ isDraggingItem: (path: string | null) => boolean;
11
+ isSelected: (path: string) => boolean;
12
+ dragNDropEvents: (item: DirEntry) => Record<string, any>;
13
+ explorerId: string;
14
+ };
15
+ declare var __VLS_14: {
16
+ app: any;
17
+ config: any;
18
+ item: DirEntry;
19
+ view: "list" | "grid" | undefined;
20
+ };
21
+ type __VLS_Slots = {} & {
22
+ icon?: (props: typeof __VLS_14) => any;
23
+ };
24
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ click: (event: Event | MouseEvent | TouchEvent) => any;
26
+ contextmenu: (event: MouseEvent | TouchEvent) => any;
27
+ dblclick: (event: MouseEvent | TouchEvent) => any;
28
+ dragend: (event: DragEvent) => any;
29
+ dragstart: (event: DragEvent) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
31
+ onClick?: ((event: Event | MouseEvent | TouchEvent) => any) | undefined;
32
+ onContextmenu?: ((event: MouseEvent | TouchEvent) => any) | undefined;
33
+ onDblclick?: ((event: MouseEvent | TouchEvent) => any) | undefined;
34
+ onDragend?: ((event: DragEvent) => any) | undefined;
35
+ onDragstart?: ((event: DragEvent) => any) | undefined;
36
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
+ declare const _default: typeof __VLS_export;
39
+ export default _default;
40
+ type __VLS_WithSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue?: boolean;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (value: boolean | undefined) => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ storage: string;
3
+ path: string;
4
+ };
5
+ type __VLS_ModelProps = {
6
+ modelValue?: boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: boolean | undefined) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import type { DirEntry } from '../types';
2
+ type __VLS_Props = {
3
+ item: DirEntry;
4
+ ext?: boolean;
5
+ small?: boolean;
6
+ view?: 'grid' | 'list';
7
+ };
8
+ declare var __VLS_1: {
9
+ app: any;
10
+ config: any;
11
+ item: DirEntry;
12
+ view: "list" | "grid" | undefined;
13
+ };
14
+ type __VLS_Slots = {} & {
15
+ icon?: (props: typeof __VLS_1) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ error?: boolean;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ hidden: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onHidden?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ direction?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare var __VLS_6: {
2
+ path: any;
3
+ count: number;
4
+ selected: any;
5
+ };
6
+ type __VLS_Slots = {} & {
7
+ actions?: (props: typeof __VLS_6) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ storage: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ storage: string;
3
+ path: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import type { VueFinderProps } from '../types';
2
+ declare var __VLS_9: {
3
+ app: any;
4
+ config: any;
5
+ item: import("../types").DirEntry;
6
+ view: "list" | "grid" | undefined;
7
+ }, __VLS_12: {
8
+ path: any;
9
+ count: number;
10
+ selected: any;
11
+ };
12
+ type __VLS_Slots = {} & {
13
+ icon?: (props: typeof __VLS_9) => any;
14
+ } & {
15
+ 'status-bar'?: (props: typeof __VLS_12) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<VueFinderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VueFinderProps> & Readonly<{}>, {
18
+ debug: boolean;
19
+ selectionMode: "single" | "multiple";
20
+ selectionFilterType: "files" | "dirs" | "both";
21
+ selectionFilterMimeIncludes: string[];
22
+ contextMenuItems: import("../index.ts").Item[];
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,48 @@
1
+ import type { VueFinderProps, DirEntry } from '../types';
2
+ import 'vue-sonner/style.css';
3
+ declare var __VLS_28: {
4
+ app: any;
5
+ config: any;
6
+ item: DirEntry;
7
+ view: "list" | "grid" | undefined;
8
+ }, __VLS_37: {
9
+ path: any;
10
+ count: number;
11
+ selected: any;
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ icon?: (props: typeof __VLS_28) => any;
15
+ } & {
16
+ 'status-bar'?: (props: typeof __VLS_37) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<VueFinderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ error: (...args: any[]) => void;
20
+ select: (...args: any[]) => void;
21
+ "path-change": (...args: any[]) => void;
22
+ "upload-complete": (...args: any[]) => void;
23
+ "delete-complete": (...args: any[]) => void;
24
+ notify: (...args: any[]) => void;
25
+ ready: (...args: any[]) => void;
26
+ "file-dclick": (...args: any[]) => void;
27
+ "folder-dclick": (...args: any[]) => void;
28
+ "update:locale": (...args: any[]) => void;
29
+ }, string, import("vue").PublicProps, Readonly<VueFinderProps> & Readonly<{
30
+ onError?: ((...args: any[]) => any) | undefined;
31
+ onSelect?: ((...args: any[]) => any) | undefined;
32
+ "onPath-change"?: ((...args: any[]) => any) | undefined;
33
+ "onUpload-complete"?: ((...args: any[]) => any) | undefined;
34
+ "onDelete-complete"?: ((...args: any[]) => any) | undefined;
35
+ onNotify?: ((...args: any[]) => any) | undefined;
36
+ onReady?: ((...args: any[]) => any) | undefined;
37
+ "onFile-dclick"?: ((...args: any[]) => any) | undefined;
38
+ "onFolder-dclick"?: ((...args: any[]) => any) | undefined;
39
+ "onUpdate:locale"?: ((...args: any[]) => any) | undefined;
40
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
42
+ declare const _default: typeof __VLS_export;
43
+ export default _default;
44
+ type __VLS_WithSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ icon: any;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;