Skip to content

Commit

Permalink
v3.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
lian-yue committed Mar 4, 2023
1 parent 128da45 commit ef6d252
Show file tree
Hide file tree
Showing 17 changed files with 390 additions and 370 deletions.
8 changes: 5 additions & 3 deletions dist/vue-upload-component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ declare const _default: import("vue").DefineComponent<{
default: number;
};
drop: {
default: boolean;
type: PropType<string | boolean | HTMLElement | null>;
default: () => boolean;
};
dropDirectory: {
type: BooleanConstructor;
Expand Down Expand Up @@ -271,7 +272,8 @@ declare const _default: import("vue").DefineComponent<{
default: number;
};
drop: {
default: boolean;
type: PropType<string | boolean | HTMLElement | null>;
default: () => boolean;
};
dropDirectory: {
type: BooleanConstructor;
Expand Down Expand Up @@ -324,7 +326,7 @@ declare const _default: import("vue").DefineComponent<{
headers: {
[key: string]: any;
};
drop: boolean;
drop: string | boolean | HTMLElement | null;
modelValue: VueUploadItem[];
disabled: boolean;
multiple: boolean;
Expand Down
7 changes: 5 additions & 2 deletions dist/vue-upload-component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/vue-upload-component.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.min.js.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions dist/vue-upload-component.part.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.part.js.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions dist/vue-upload-component.ssr.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.ssr.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/docs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dist/docs.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/*!
* Name: vue-upload-component
* Component URI: https://github.com/lian-yue/vue-upload-component#readme
* Version: 3.1.6
* Version: 3.1.8
* Author: LianYue
* License: Apache-2.0
* Description: Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Expand All @@ -28,7 +28,7 @@
/*!
Name: vue-upload-component
Component URI: https://github.com/lian-yue/vue-upload-component#readme
Version: 3.1.5
Version: 3.1.7
Author: LianYue
License: Apache-2.0
Description: Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/docs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ app.directive('markdown', {
if (el.markdown === text) {
return
}
console.log(text)


el.markdown = text
el.innerHTML = marked(text)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "vue-upload-component",
"description": "Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter",
"version": "3.1.6",
"version": "3.1.8",
"author": "LianYue",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack serve --hot",
"build": "npm run build-rollup && npm run build-webpack",
"build-webpack": "cross-env NODE_ENV=production webpack --no-watch --progress",
"build-rollup": "cross-env NODE_ENV=production rollup --config && mv ./dist/dist/vue-upload-component.part.css ./dist/vue-upload-component.part.css && rmdir ./dist/dist && mv ./dist/FileUpload.vue.d.ts ./dist/vue-upload-component.d.ts && rm ./dist/index.d.ts"
"build-rollup": "cross-env NODE_ENV=production rollup --config && mv ./dist/dist/vue-upload-component.part.css ./dist/vue-upload-component.part.css && rmdir ./dist/dist && mv ./dist/FileUpload.vue.d.ts ./dist/vue-upload-component.d.ts && cp ./dist/vue-upload-component.d.ts ./src/FileUpload.vue.d.ts && rm ./dist/index.d.ts"
},
"main": "dist/vue-upload-component.js",
"module": "dist/vue-upload-component.js",
Expand Down
5 changes: 4 additions & 1 deletion src/FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,10 @@ export default defineComponent({
default: 0,
},
drop: {
default: false,
type: [Boolean, String, HTMLElement] as PropType<boolean | string | HTMLElement | null>,
default: () => {
return false
},
},
dropDirectory: {
type: Boolean,
Expand Down
Loading

0 comments on commit ef6d252

Please sign in to comment.