vft 0.0.324 → 0.0.325
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/es/components/upload/index.d.ts +6 -0
- package/es/components/upload/upload.vue.d.ts +3 -0
- package/es/components/upload/upload.vue2.js +25 -24
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/upload/index.d.ts +6 -0
- package/lib/components/upload/upload.vue.d.ts +3 -0
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -83,6 +83,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
83
83
|
};
|
|
84
84
|
onExceed: {
|
|
85
85
|
type: import("vue").PropType<(files: File[], uploadFiles: import("./types").UploadUserFile[]) => void>;
|
|
86
|
+
default: () => void;
|
|
86
87
|
};
|
|
87
88
|
beforeRemove: {
|
|
88
89
|
type: import("vue").PropType<(uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => import("../types").Awaitable<boolean>>;
|
|
@@ -152,6 +153,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
152
153
|
autoUpload: boolean;
|
|
153
154
|
listType: import("./types").ListType;
|
|
154
155
|
httpRequest: import("./types").UploadRequestHandler;
|
|
156
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
155
157
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
156
158
|
P: {};
|
|
157
159
|
B: {};
|
|
@@ -243,6 +245,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
243
245
|
};
|
|
244
246
|
onExceed: {
|
|
245
247
|
type: import("vue").PropType<(files: File[], uploadFiles: import("./types").UploadUserFile[]) => void>;
|
|
248
|
+
default: () => void;
|
|
246
249
|
};
|
|
247
250
|
beforeRemove: {
|
|
248
251
|
type: import("vue").PropType<(uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => import("../types").Awaitable<boolean>>;
|
|
@@ -312,6 +315,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
312
315
|
autoUpload: boolean;
|
|
313
316
|
listType: import("./types").ListType;
|
|
314
317
|
httpRequest: import("./types").UploadRequestHandler;
|
|
318
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
315
319
|
}>;
|
|
316
320
|
__isFragment?: never;
|
|
317
321
|
__isTeleport?: never;
|
|
@@ -400,6 +404,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
400
404
|
};
|
|
401
405
|
onExceed: {
|
|
402
406
|
type: import("vue").PropType<(files: File[], uploadFiles: import("./types").UploadUserFile[]) => void>;
|
|
407
|
+
default: () => void;
|
|
403
408
|
};
|
|
404
409
|
beforeRemove: {
|
|
405
410
|
type: import("vue").PropType<(uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => import("../types").Awaitable<boolean>>;
|
|
@@ -469,6 +474,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
469
474
|
autoUpload: boolean;
|
|
470
475
|
listType: import("./types").ListType;
|
|
471
476
|
httpRequest: import("./types").UploadRequestHandler;
|
|
477
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
472
478
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
473
479
|
$slots: {
|
|
474
480
|
file?(_: {
|
|
@@ -20,6 +20,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
20
20
|
listType: string;
|
|
21
21
|
httpRequest: import("./types").UploadRequestHandler;
|
|
22
22
|
fileList: never[];
|
|
23
|
+
onExceed: () => void;
|
|
23
24
|
}>>, {
|
|
24
25
|
abort: (file: import("./types").UploadFile) => void;
|
|
25
26
|
submit: () => void;
|
|
@@ -82,6 +83,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
82
83
|
listType: string;
|
|
83
84
|
httpRequest: import("./types").UploadRequestHandler;
|
|
84
85
|
fileList: never[];
|
|
86
|
+
onExceed: () => void;
|
|
85
87
|
}>>> & Readonly<{}>, {
|
|
86
88
|
drag: boolean;
|
|
87
89
|
name: string;
|
|
@@ -95,6 +97,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
95
97
|
autoUpload: boolean;
|
|
96
98
|
listType: import("./types").ListType;
|
|
97
99
|
httpRequest: import("./types").UploadRequestHandler;
|
|
100
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
98
101
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
102
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
100
103
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as U, shallowRef as T, computed as h, onBeforeUnmount as j, provide as N, toRef as V, createElementBlock as _, openBlock as f, createBlock as m, createCommentVNode as
|
|
1
|
+
import { defineComponent as b, useSlots as U, shallowRef as T, computed as h, onBeforeUnmount as j, provide as N, toRef as V, createElementBlock as _, openBlock as f, createBlock as m, createCommentVNode as o, renderSlot as l, unref as t, createSlots as g, withCtx as r, createVNode as q, mergeProps as k } from "vue";
|
|
2
2
|
import "../form/index.js";
|
|
3
3
|
import { ajaxUpload as D } from "./ajax.js";
|
|
4
4
|
import { uploadContextKey as H } from "./constants.js";
|
|
@@ -36,16 +36,17 @@ const W = { class: "vft-upload-wrapper" }, z = b({
|
|
|
36
36
|
onSuccess: {},
|
|
37
37
|
onProgress: {},
|
|
38
38
|
onError: {},
|
|
39
|
-
onExceed: {
|
|
39
|
+
onExceed: { type: Function, default: () => {
|
|
40
|
+
} }
|
|
40
41
|
},
|
|
41
42
|
setup($, { expose: B }) {
|
|
42
43
|
const i = $, s = U(), c = O(), u = T(), {
|
|
43
|
-
abort:
|
|
44
|
-
submit:
|
|
45
|
-
clearFiles:
|
|
44
|
+
abort: F,
|
|
45
|
+
submit: L,
|
|
46
|
+
clearFiles: P,
|
|
46
47
|
uploadFiles: a,
|
|
47
48
|
handleStart: v,
|
|
48
|
-
handleError:
|
|
49
|
+
handleError: C,
|
|
49
50
|
handleRemove: d,
|
|
50
51
|
handleSuccess: S,
|
|
51
52
|
handleProgress: E
|
|
@@ -55,7 +56,7 @@ const W = { class: "vft-upload-wrapper" }, z = b({
|
|
|
55
56
|
onStart: v,
|
|
56
57
|
onProgress: E,
|
|
57
58
|
onSuccess: S,
|
|
58
|
-
onError:
|
|
59
|
+
onError: C,
|
|
59
60
|
onRemove: d
|
|
60
61
|
}));
|
|
61
62
|
return j(() => {
|
|
@@ -65,20 +66,20 @@ const W = { class: "vft-upload-wrapper" }, z = b({
|
|
|
65
66
|
}), N(H, {
|
|
66
67
|
accept: V(i, "accept")
|
|
67
68
|
}), B({
|
|
68
|
-
abort:
|
|
69
|
-
submit:
|
|
70
|
-
clearFiles:
|
|
69
|
+
abort: F,
|
|
70
|
+
submit: L,
|
|
71
|
+
clearFiles: P,
|
|
71
72
|
handleStart: v,
|
|
72
73
|
handleRemove: d,
|
|
73
74
|
fileList: a
|
|
74
75
|
}), (e, A) => (f(), _("div", W, [
|
|
75
76
|
n.value && e.showFileList ? (f(), m(w, {
|
|
76
77
|
key: 0,
|
|
77
|
-
disabled:
|
|
78
|
+
disabled: t(c),
|
|
78
79
|
"list-type": e.listType,
|
|
79
|
-
files:
|
|
80
|
+
files: t(a),
|
|
80
81
|
"handle-preview": e.onPreview,
|
|
81
|
-
onRemove:
|
|
82
|
+
onRemove: t(d)
|
|
82
83
|
}, g({
|
|
83
84
|
append: r(() => [
|
|
84
85
|
q(R, k({
|
|
@@ -86,8 +87,8 @@ const W = { class: "vft-upload-wrapper" }, z = b({
|
|
|
86
87
|
ref: u
|
|
87
88
|
}, y.value), {
|
|
88
89
|
default: r(() => [
|
|
89
|
-
|
|
90
|
-
!
|
|
90
|
+
t(s).trigger ? l(e.$slots, "trigger", { key: 0 }) : o("", !0),
|
|
91
|
+
!t(s).trigger && t(s).default ? l(e.$slots, "default", { key: 1 }) : o("", !0)
|
|
91
92
|
]),
|
|
92
93
|
_: 3
|
|
93
94
|
}, 16)
|
|
@@ -101,27 +102,27 @@ const W = { class: "vft-upload-wrapper" }, z = b({
|
|
|
101
102
|
]),
|
|
102
103
|
key: "0"
|
|
103
104
|
} : void 0
|
|
104
|
-
]), 1032, ["disabled", "list-type", "files", "handle-preview", "onRemove"])) :
|
|
105
|
+
]), 1032, ["disabled", "list-type", "files", "handle-preview", "onRemove"])) : o("", !0),
|
|
105
106
|
!n.value || n.value && !e.showFileList ? (f(), m(R, k({
|
|
106
107
|
key: 1,
|
|
107
108
|
ref_key: "uploadRef",
|
|
108
109
|
ref: u
|
|
109
110
|
}, y.value), {
|
|
110
111
|
default: r(() => [
|
|
111
|
-
|
|
112
|
-
!
|
|
112
|
+
t(s).trigger ? l(e.$slots, "trigger", { key: 0 }) : o("", !0),
|
|
113
|
+
!t(s).trigger && t(s).default ? l(e.$slots, "default", { key: 1 }) : o("", !0)
|
|
113
114
|
]),
|
|
114
115
|
_: 3
|
|
115
|
-
}, 16)) :
|
|
116
|
-
e.$slots.trigger ? l(e.$slots, "default", { key: 2 }) :
|
|
116
|
+
}, 16)) : o("", !0),
|
|
117
|
+
e.$slots.trigger ? l(e.$slots, "default", { key: 2 }) : o("", !0),
|
|
117
118
|
l(e.$slots, "tip"),
|
|
118
119
|
!n.value && e.showFileList ? (f(), m(w, {
|
|
119
120
|
key: 3,
|
|
120
|
-
disabled:
|
|
121
|
+
disabled: t(c),
|
|
121
122
|
"list-type": e.listType,
|
|
122
|
-
files:
|
|
123
|
+
files: t(a),
|
|
123
124
|
"handle-preview": e.onPreview,
|
|
124
|
-
onRemove:
|
|
125
|
+
onRemove: t(d)
|
|
125
126
|
}, g({ _: 2 }, [
|
|
126
127
|
e.$slots.file ? {
|
|
127
128
|
name: "default",
|
|
@@ -130,7 +131,7 @@ const W = { class: "vft-upload-wrapper" }, z = b({
|
|
|
130
131
|
]),
|
|
131
132
|
key: "0"
|
|
132
133
|
} : void 0
|
|
133
|
-
]), 1032, ["disabled", "list-type", "files", "handle-preview", "onRemove"])) :
|
|
134
|
+
]), 1032, ["disabled", "list-type", "files", "handle-preview", "onRemove"])) : o("", !0)
|
|
134
135
|
]));
|
|
135
136
|
}
|
|
136
137
|
});
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
|
@@ -83,6 +83,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
83
83
|
};
|
|
84
84
|
onExceed: {
|
|
85
85
|
type: import("vue").PropType<(files: File[], uploadFiles: import("./types").UploadUserFile[]) => void>;
|
|
86
|
+
default: () => void;
|
|
86
87
|
};
|
|
87
88
|
beforeRemove: {
|
|
88
89
|
type: import("vue").PropType<(uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => import("../types").Awaitable<boolean>>;
|
|
@@ -152,6 +153,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
152
153
|
autoUpload: boolean;
|
|
153
154
|
listType: import("./types").ListType;
|
|
154
155
|
httpRequest: import("./types").UploadRequestHandler;
|
|
156
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
155
157
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
156
158
|
P: {};
|
|
157
159
|
B: {};
|
|
@@ -243,6 +245,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
243
245
|
};
|
|
244
246
|
onExceed: {
|
|
245
247
|
type: import("vue").PropType<(files: File[], uploadFiles: import("./types").UploadUserFile[]) => void>;
|
|
248
|
+
default: () => void;
|
|
246
249
|
};
|
|
247
250
|
beforeRemove: {
|
|
248
251
|
type: import("vue").PropType<(uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => import("../types").Awaitable<boolean>>;
|
|
@@ -312,6 +315,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
312
315
|
autoUpload: boolean;
|
|
313
316
|
listType: import("./types").ListType;
|
|
314
317
|
httpRequest: import("./types").UploadRequestHandler;
|
|
318
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
315
319
|
}>;
|
|
316
320
|
__isFragment?: never;
|
|
317
321
|
__isTeleport?: never;
|
|
@@ -400,6 +404,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
400
404
|
};
|
|
401
405
|
onExceed: {
|
|
402
406
|
type: import("vue").PropType<(files: File[], uploadFiles: import("./types").UploadUserFile[]) => void>;
|
|
407
|
+
default: () => void;
|
|
403
408
|
};
|
|
404
409
|
beforeRemove: {
|
|
405
410
|
type: import("vue").PropType<(uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => import("../types").Awaitable<boolean>>;
|
|
@@ -469,6 +474,7 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
469
474
|
autoUpload: boolean;
|
|
470
475
|
listType: import("./types").ListType;
|
|
471
476
|
httpRequest: import("./types").UploadRequestHandler;
|
|
477
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
472
478
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
473
479
|
$slots: {
|
|
474
480
|
file?(_: {
|
|
@@ -20,6 +20,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
20
20
|
listType: string;
|
|
21
21
|
httpRequest: import("./types").UploadRequestHandler;
|
|
22
22
|
fileList: never[];
|
|
23
|
+
onExceed: () => void;
|
|
23
24
|
}>>, {
|
|
24
25
|
abort: (file: import("./types").UploadFile) => void;
|
|
25
26
|
submit: () => void;
|
|
@@ -82,6 +83,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
82
83
|
listType: string;
|
|
83
84
|
httpRequest: import("./types").UploadRequestHandler;
|
|
84
85
|
fileList: never[];
|
|
86
|
+
onExceed: () => void;
|
|
85
87
|
}>>> & Readonly<{}>, {
|
|
86
88
|
drag: boolean;
|
|
87
89
|
name: string;
|
|
@@ -95,6 +97,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
95
97
|
autoUpload: boolean;
|
|
96
98
|
listType: import("./types").ListType;
|
|
97
99
|
httpRequest: import("./types").UploadRequestHandler;
|
|
100
|
+
onExceed: import("./types").UploadHooks["onExceed"];
|
|
98
101
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
102
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
100
103
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../form/index.cjs");const S=require("./ajax.cjs"),b=require("./constants.cjs"),p=require("./upload-content.vue2.cjs"),c=require("./upload-list.vue2.cjs"),R=require("./use-handlers.cjs"),B=require("../form/hooks/use-form-common-props.cjs"),_={class:"vft-upload-wrapper"},P=e.defineComponent({name:"vft-upload"}),$=e.defineComponent({...P,props:{action:{default:"#"},headers:{},method:{default:"post"},data:{},multiple:{type:Boolean,default:!1},name:{default:"file"},drag:{type:Boolean,default:!1},withCredentials:{type:Boolean},showFileList:{type:Boolean,default:!0},accept:{default:""},type:{default:"select"},fileList:{default:[]},autoUpload:{type:Boolean,default:!1},listType:{default:"text"},httpRequest:{type:Function,default:S.ajaxUpload},disabled:{type:Boolean},limit:{},beforeUpload:{},beforeRemove:{},onRemove:{},onChange:{},onPreview:{},onSuccess:{},onProgress:{},onError:{},onExceed:{}},setup(m,{expose:v}){const l=m,o=e.useSlots(),d=B.useFormDisabled(),n=e.shallowRef(),{abort:y,submit:h,clearFiles:g,uploadFiles:r,handleStart:i,handleError:C,handleRemove:s,handleSuccess:k,handleProgress:w}=R.useHandlers(l,n),a=e.computed(()=>l.listType==="picture-card"),f=e.computed(()=>({...l,fileList:r.value,onStart:i,onProgress:w,onSuccess:k,onError:C,onRemove:s}));return e.onBeforeUnmount(()=>{r.value.forEach(({url:t})=>{t?.startsWith("blob:")&&URL.revokeObjectURL(t)})}),e.provide(b.uploadContextKey,{accept:e.toRef(l,"accept")}),v({abort:y,submit:h,clearFiles:g,handleStart:i,handleRemove:s,fileList:r}),(t,
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../form/index.cjs");const S=require("./ajax.cjs"),b=require("./constants.cjs"),p=require("./upload-content.vue2.cjs"),c=require("./upload-list.vue2.cjs"),R=require("./use-handlers.cjs"),B=require("../form/hooks/use-form-common-props.cjs"),_={class:"vft-upload-wrapper"},P=e.defineComponent({name:"vft-upload"}),$=e.defineComponent({...P,props:{action:{default:"#"},headers:{},method:{default:"post"},data:{},multiple:{type:Boolean,default:!1},name:{default:"file"},drag:{type:Boolean,default:!1},withCredentials:{type:Boolean},showFileList:{type:Boolean,default:!0},accept:{default:""},type:{default:"select"},fileList:{default:[]},autoUpload:{type:Boolean,default:!1},listType:{default:"text"},httpRequest:{type:Function,default:S.ajaxUpload},disabled:{type:Boolean},limit:{},beforeUpload:{},beforeRemove:{},onRemove:{},onChange:{},onPreview:{},onSuccess:{},onProgress:{},onError:{},onExceed:{type:Function,default:()=>{}}},setup(m,{expose:v}){const l=m,o=e.useSlots(),d=B.useFormDisabled(),n=e.shallowRef(),{abort:y,submit:h,clearFiles:g,uploadFiles:r,handleStart:i,handleError:C,handleRemove:s,handleSuccess:k,handleProgress:w}=R.useHandlers(l,n),a=e.computed(()=>l.listType==="picture-card"),f=e.computed(()=>({...l,fileList:r.value,onStart:i,onProgress:w,onSuccess:k,onError:C,onRemove:s}));return e.onBeforeUnmount(()=>{r.value.forEach(({url:t})=>{t?.startsWith("blob:")&&URL.revokeObjectURL(t)})}),e.provide(b.uploadContextKey,{accept:e.toRef(l,"accept")}),v({abort:y,submit:h,clearFiles:g,handleStart:i,handleRemove:s,fileList:r}),(t,F)=>(e.openBlock(),e.createElementBlock("div",_,[a.value&&t.showFileList?(e.openBlock(),e.createBlock(c.default,{key:0,disabled:e.unref(d),"list-type":t.listType,files:e.unref(r),"handle-preview":t.onPreview,onRemove:e.unref(s)},e.createSlots({append:e.withCtx(()=>[e.createVNode(p.default,e.mergeProps({ref_key:"uploadRef",ref:n},f.value),{default:e.withCtx(()=>[e.unref(o).trigger?e.renderSlot(t.$slots,"trigger",{key:0}):e.createCommentVNode("",!0),!e.unref(o).trigger&&e.unref(o).default?e.renderSlot(t.$slots,"default",{key:1}):e.createCommentVNode("",!0)]),_:3},16)]),_:2},[t.$slots.file?{name:"default",fn:e.withCtx(({file:u})=>[e.renderSlot(t.$slots,"file",{file:u})]),key:"0"}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):e.createCommentVNode("",!0),!a.value||a.value&&!t.showFileList?(e.openBlock(),e.createBlock(p.default,e.mergeProps({key:1,ref_key:"uploadRef",ref:n},f.value),{default:e.withCtx(()=>[e.unref(o).trigger?e.renderSlot(t.$slots,"trigger",{key:0}):e.createCommentVNode("",!0),!e.unref(o).trigger&&e.unref(o).default?e.renderSlot(t.$slots,"default",{key:1}):e.createCommentVNode("",!0)]),_:3},16)):e.createCommentVNode("",!0),t.$slots.trigger?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"tip"),!a.value&&t.showFileList?(e.openBlock(),e.createBlock(c.default,{key:3,disabled:e.unref(d),"list-type":t.listType,files:e.unref(r),"handle-preview":t.onPreview,onRemove:e.unref(s)},e.createSlots({_:2},[t.$slots.file?{name:"default",fn:e.withCtx(({file:u})=>[e.renderSlot(t.$slots,"file",{file:u})]),key:"0"}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):e.createCommentVNode("",!0)]))}});exports.default=$;
|
package/lib/package.json.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.325";exports.version=e;
|
package/lib/package.json.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.325",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"resize-detector": "0.3.0",
|
|
56
56
|
"sortablejs": "1.15.0",
|
|
57
57
|
"photoswipe": "5.4.4",
|
|
58
|
-
"@vft/
|
|
58
|
+
"@vft/router": "0.0.65",
|
|
59
59
|
"@vft/use": "0.0.76",
|
|
60
|
+
"@vft/store": "0.0.54",
|
|
60
61
|
"@vft/utils": "0.0.128",
|
|
61
|
-
"@vft/constants": "0.0.72",
|
|
62
62
|
"@vft/directives": "0.0.33",
|
|
63
|
-
"@vft/
|
|
63
|
+
"@vft/constants": "0.0.72"
|
|
64
64
|
},
|
|
65
65
|
"vetur": {
|
|
66
66
|
"tags": "tags.json",
|
package/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.
|
|
1
|
+
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.325","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{}}}
|