@vtj/ui 0.8.88 → 0.8.89

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/ui",
3
3
  "private": false,
4
- "version": "0.8.88",
4
+ "version": "0.8.89",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=16.0.0"
@@ -12,8 +12,8 @@
12
12
  "sortablejs": "~1.15.2",
13
13
  "vxe-table": "~4.6.17",
14
14
  "vxe-table-plugin-menus": "~4.0.3",
15
- "@vtj/icons": "~0.8.88",
16
- "@vtj/utils": "~0.8.88"
15
+ "@vtj/utils": "~0.8.89",
16
+ "@vtj/icons": "~0.8.89"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/qrcode": "^1.5.5",
@@ -75,6 +75,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
75
75
  valueFormatter: {
76
76
  type: PropType<(files: UploadUserFile[]) => MaybePromise<AttachmentFile[]>>;
77
77
  };
78
+ previewer: {
79
+ type: PropType<(file: AttachmentFile) => void>;
80
+ };
81
+ downloader: {
82
+ type: PropType<(file: AttachmentFile) => void>;
83
+ };
78
84
  }, {
79
85
  elUploadRef: Ref<any>;
80
86
  remove: (file: AttachmentFile) => Promise<void>;
@@ -167,6 +173,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
167
173
  valueFormatter: {
168
174
  type: PropType<(files: UploadUserFile[]) => MaybePromise<AttachmentFile[]>>;
169
175
  };
176
+ previewer: {
177
+ type: PropType<(file: AttachmentFile) => void>;
178
+ };
179
+ downloader: {
180
+ type: PropType<(file: AttachmentFile) => void>;
181
+ };
170
182
  }>> & {
171
183
  onClick?: ((file: AttachmentFile) => any) | undefined;
172
184
  onChange?: ((files: AttachmentFile[]) => any) | undefined;
@@ -127,4 +127,10 @@ export declare const attachmentProps: {
127
127
  valueFormatter: {
128
128
  type: PropType<(files: UploadUserFile[]) => MaybePromise<AttachmentFile[]>>;
129
129
  };
130
+ previewer: {
131
+ type: PropType<(file: AttachmentFile) => void>;
132
+ };
133
+ downloader: {
134
+ type: PropType<(file: AttachmentFile) => void>;
135
+ };
130
136
  };
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.8.87
5
+ * @version 0.8.88
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.8.87";
8
+ export declare const version = "0.8.88";