|
|
|
@ -152,7 +152,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `this.name`
|
|
|
|
* **Default:** `this.name`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
The `id` attribute of the input tag
|
|
|
|
The `id` attribute of the input tag
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -171,7 +171,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `file`
|
|
|
|
* **Default:** `file`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
The `name` attribute of the input tag
|
|
|
|
The `name` attribute of the input tag
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -190,7 +190,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `undefined`
|
|
|
|
* **Default:** `undefined`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
`POST` Request upload URL
|
|
|
|
`POST` Request upload URL
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -207,9 +207,9 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `undefined`
|
|
|
|
* **Default:** `undefined`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
`PUT` Request upload URL
|
|
|
|
`PUT` Request upload URL
|
|
|
|
`put-action` is not empty Please give priority to` PUT` request
|
|
|
|
`put-action` is not empty Please give priority to` PUT` request
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -226,8 +226,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `{}`
|
|
|
|
* **Default:** `{}`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Attach `header` data
|
|
|
|
Attach `header` data
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -244,8 +244,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `{}`
|
|
|
|
* **Default:** `{}`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
`POST request`: Append request `body`
|
|
|
|
`POST request`: Append request `body`
|
|
|
|
`PUT request`: Append request `query`
|
|
|
|
`PUT request`: Append request `query`
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -262,8 +262,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `[]`
|
|
|
|
* **Default:** `[]`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
File List
|
|
|
|
File List
|
|
|
|
**In order to prevent unpredictable errors, can not directly modify the `files`, please use` add`, `update`,` remove` method to modify**
|
|
|
|
**In order to prevent unpredictable errors, can not directly modify the `files`, please use` add`, `update`,` remove` method to modify**
|
|
|
|
|
|
|
|
|
|
|
|
* **[File object](#file)**
|
|
|
|
* **[File object](#file)**
|
|
|
|
@ -283,9 +283,9 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `undefined`
|
|
|
|
* **Default:** `undefined`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
The `accept` attribute of the input tag, MIME type
|
|
|
|
The `accept` attribute of the input tag, MIME type
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
```html
|
|
|
|
```html
|
|
|
|
@ -302,9 +302,9 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
The `multiple` attribute of the input tag
|
|
|
|
The `multiple` attribute of the input tag
|
|
|
|
Whether to allow multiple files to be selected
|
|
|
|
Whether to allow multiple files to be selected
|
|
|
|
If it is `false` file inside only one file will be automatically deleted
|
|
|
|
If it is `false` file inside only one file will be automatically deleted
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -319,10 +319,10 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
The `directory` attribute of the input tag
|
|
|
|
The `directory` attribute of the input tag
|
|
|
|
Whether it is a upload folder
|
|
|
|
Whether it is a upload folder
|
|
|
|
[View supported browsers](http://caniuse.com/#feat=input-file-directory)
|
|
|
|
[View supported browsers](http://caniuse.com/#feat=input-file-directory)
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
```html
|
|
|
|
```html
|
|
|
|
@ -338,8 +338,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `undefined`
|
|
|
|
* **Default:** `undefined`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Allow upload file extensions
|
|
|
|
Allow upload file extensions
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
```html
|
|
|
|
```html
|
|
|
|
@ -356,7 +356,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `0`
|
|
|
|
* **Default:** `0`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Allow the maximum byte to upload
|
|
|
|
Allow the maximum byte to upload
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -372,7 +372,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `0`
|
|
|
|
* **Default:** `0`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Upload timeout time in milliseconds
|
|
|
|
Upload timeout time in milliseconds
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -388,8 +388,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `1`
|
|
|
|
* **Default:** `1`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Also upload the number of files at the same time (number of threads)
|
|
|
|
Also upload the number of files at the same time (number of threads)
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -406,9 +406,9 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Drag and drop upload
|
|
|
|
Drag and drop upload
|
|
|
|
If set to `true`, read the parent component as a container
|
|
|
|
If set to `true`, read the parent component as a container
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -425,8 +425,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `true`
|
|
|
|
* **Default:** `true`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Whether to open the drag directory
|
|
|
|
Whether to open the drag directory
|
|
|
|
If set to `false` filter out the directory
|
|
|
|
If set to `false` filter out the directory
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -445,8 +445,8 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
* **Arguments:**
|
|
|
|
* **Arguments:**
|
|
|
|
* `files: Array<Object>`
|
|
|
|
* `files: Array<Object>`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
The files is changed to trigger the method
|
|
|
|
The files is changed to trigger the method
|
|
|
|
Default for `v-model` binding
|
|
|
|
Default for `v-model` binding
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -477,10 +477,10 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
* `oldFile: Object | undefined` `Read only`
|
|
|
|
* `oldFile: Object | undefined` `Read only`
|
|
|
|
* `prevent: Function`
|
|
|
|
* `prevent: Function`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Add, update, remove pre-filter
|
|
|
|
Add, update, remove pre-filter
|
|
|
|
You can not use `update`,` add`, `remove`,` clear` methods in the event
|
|
|
|
You can not use `update`,` add`, `remove`,` clear` methods in the event
|
|
|
|
The `newFile` object can be modified within the event
|
|
|
|
The `newFile` object can be modified within the event
|
|
|
|
`prevent()` can prevent modification
|
|
|
|
`prevent()` can prevent modification
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -545,10 +545,10 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
* `newFile: Object | undefined` `Read only`
|
|
|
|
* `newFile: Object | undefined` `Read only`
|
|
|
|
* `oldFile: Object | undefined` `Read only`
|
|
|
|
* `oldFile: Object | undefined` `Read only`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Add, update, remove after
|
|
|
|
Add, update, remove after
|
|
|
|
You can use `update`,` add`, `remove`,` clear` methods in the event
|
|
|
|
You can use `update`,` add`, `remove`,` clear` methods in the event
|
|
|
|
You can not modify the `newFile` object in the event
|
|
|
|
You can not modify the `newFile` object in the event
|
|
|
|
You can not modify the `oldFile` object in the event
|
|
|
|
You can not modify the `oldFile` object in the event
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -630,7 +630,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Result:** `Object | Boolean` There is a return file object that otherwise returns `false`
|
|
|
|
* **Result:** `Object | Boolean` There is a return file object that otherwise returns `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Use `id` to get a file object
|
|
|
|
Use `id` to get a file object
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -641,7 +641,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Result:** `Object | Array<Object> | Boolean` The incoming array is returned to the array otherwise the object or `false`
|
|
|
|
* **Result:** `Object | Array<Object> | Boolean` The incoming array is returned to the array otherwise the object or `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Add one or more files
|
|
|
|
Add one or more files
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -681,7 +681,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Result:** `Object | Boolean` Successfully returned `newFile` failed to return` false`
|
|
|
|
* **Result:** `Object | Boolean` Successfully returned `newFile` failed to return` false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Update a file object
|
|
|
|
Update a file object
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -718,7 +718,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Result:** `Object | Boolean` Successfully returned `oldFile` failed to return` false`
|
|
|
|
* **Result:** `Object | Boolean` Successfully returned `oldFile` failed to return` false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Remove a file object
|
|
|
|
Remove a file object
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -750,7 +750,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
### clear
|
|
|
|
### clear
|
|
|
|
* **Result:** `Boolean` Always return `true`
|
|
|
|
* **Result:** `Boolean` Always return `true`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Empty the file list
|
|
|
|
Empty the file list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -766,7 +766,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `{html5: true, directory: false, drag: false}`
|
|
|
|
* **Default:** `{html5: true, directory: false, drag: false}`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Used to determine the browser support features
|
|
|
|
Used to determine the browser support features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -789,7 +789,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Activation or abort upload
|
|
|
|
Activation or abort upload
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -810,7 +810,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Is dragging
|
|
|
|
Is dragging
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -832,7 +832,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `true`
|
|
|
|
* **Default:** `true`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
All uploaded
|
|
|
|
All uploaded
|
|
|
|
|
|
|
|
|
|
|
|
* **Usage:**
|
|
|
|
* **Usage:**
|
|
|
|
@ -865,7 +865,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `Math.random().toString(36).substr(2)`
|
|
|
|
* **Default:** `Math.random().toString(36).substr(2)`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
File ID
|
|
|
|
File ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -878,7 +878,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `-1`
|
|
|
|
* **Default:** `-1`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
File size
|
|
|
|
File size
|
|
|
|
|
|
|
|
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
@ -892,12 +892,12 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** ` `
|
|
|
|
* **Default:** ` `
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Filename
|
|
|
|
Filename
|
|
|
|
|
|
|
|
|
|
|
|
Format:
|
|
|
|
Format:
|
|
|
|
`directory/filename.gif`
|
|
|
|
`directory/filename.gif`
|
|
|
|
`filename.gif`
|
|
|
|
`filename.gif`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -908,12 +908,12 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `empty`
|
|
|
|
* **Default:** `empty`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
MIME type
|
|
|
|
MIME type
|
|
|
|
|
|
|
|
|
|
|
|
Format:
|
|
|
|
Format:
|
|
|
|
`image/gif`
|
|
|
|
`image/gif`
|
|
|
|
`image/png`
|
|
|
|
`image/png`
|
|
|
|
`text/html`
|
|
|
|
`text/html`
|
|
|
|
|
|
|
|
|
|
|
|
Required `html5` support
|
|
|
|
Required `html5` support
|
|
|
|
@ -927,11 +927,11 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Activation or abort upload
|
|
|
|
Activation or abort upload
|
|
|
|
|
|
|
|
|
|
|
|
`true` = Upload
|
|
|
|
`true` = Upload
|
|
|
|
`false` = Abort
|
|
|
|
`false` = Abort
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -945,10 +945,10 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** ` `
|
|
|
|
* **Default:** ` `
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Upload failed error code
|
|
|
|
Upload failed error code
|
|
|
|
|
|
|
|
|
|
|
|
Built-in
|
|
|
|
Built-in
|
|
|
|
`size`, `extension`, `timeout`, `abort`, `network`, `server`, `denied`
|
|
|
|
`size`, `extension`, `timeout`, `abort`, `network`, `server`, `denied`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -961,7 +961,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `false`
|
|
|
|
* **Default:** `false`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Whether the upload was successful
|
|
|
|
Whether the upload was successful
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -973,7 +973,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `this.putAction`
|
|
|
|
* **Default:** `this.putAction`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Customize the current file `PUT` URL
|
|
|
|
Customize the current file `PUT` URL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -985,7 +985,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `this.postAction`
|
|
|
|
* **Default:** `this.postAction`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Customize the current file `POST` URL
|
|
|
|
Customize the current file `POST` URL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -999,7 +999,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `this.headers`
|
|
|
|
* **Default:** `this.headers`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Customize the current file `HTTP` Header
|
|
|
|
Customize the current file `HTTP` Header
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1011,7 +1011,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `this.data`
|
|
|
|
* **Default:** `this.data`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Customize the current file `body` or` query` to attach content
|
|
|
|
Customize the current file `body` or` query` to attach content
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1023,7 +1023,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `0`
|
|
|
|
* **Default:** `0`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Customize the upload timeout for a current single file
|
|
|
|
Customize the upload timeout for a current single file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1036,7 +1036,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `{}`
|
|
|
|
* **Default:** `{}`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Response data
|
|
|
|
Response data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1049,7 +1049,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `0.00`
|
|
|
|
* **Default:** `0.00`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Upload progress
|
|
|
|
Upload progress
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1062,7 +1062,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `0`
|
|
|
|
* **Default:** `0`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
Per second upload speed
|
|
|
|
Per second upload speed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1075,7 +1075,7 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `undefined`
|
|
|
|
* **Default:** `undefined`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
`HTML5` upload` XMLHttpRequest` object
|
|
|
|
`HTML5` upload` XMLHttpRequest` object
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1088,5 +1088,5 @@ const nodeExternals = require('webpack-node-externals');
|
|
|
|
|
|
|
|
|
|
|
|
* **Default:** `undefined`
|
|
|
|
* **Default:** `undefined`
|
|
|
|
|
|
|
|
|
|
|
|
* **Description:**
|
|
|
|
* **Description:**
|
|
|
|
`HTML4` upload` iframe` element
|
|
|
|
`HTML4` upload` iframe` element
|
|
|
|
|