@v2coding/ui 1.1.12 → 1.1.14
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/dist/v2coding-ui.esm.js +9 -6
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +12 -10
- package/package.json +1 -1
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -4705,7 +4705,8 @@ const quillRedefine = config => {
|
|
|
4705
4705
|
type,
|
|
4706
4706
|
filename,
|
|
4707
4707
|
beforeUpload,
|
|
4708
|
-
afterUpload
|
|
4708
|
+
afterUpload,
|
|
4709
|
+
transformRequest
|
|
4709
4710
|
} = upload;
|
|
4710
4711
|
let getUrl = url;
|
|
4711
4712
|
|
|
@@ -4734,7 +4735,7 @@ const quillRedefine = config => {
|
|
|
4734
4735
|
}, {
|
|
4735
4736
|
file,
|
|
4736
4737
|
filename
|
|
4737
|
-
}).then(result => {
|
|
4738
|
+
}, transformRequest).then(result => {
|
|
4738
4739
|
const imageUrl = afterUpload(result);
|
|
4739
4740
|
|
|
4740
4741
|
if (imageUrl) {
|
|
@@ -5062,8 +5063,10 @@ var script$o = {
|
|
|
5062
5063
|
} else {
|
|
5063
5064
|
const uploadServer = Upload[this.uploadType] || Upload.default;
|
|
5064
5065
|
const filename = (file.name || '').replace(/,/, '_');
|
|
5066
|
+
const params = this.params || {};
|
|
5065
5067
|
uploadServer(this.url, {
|
|
5066
|
-
filename: filename
|
|
5068
|
+
filename: filename,
|
|
5069
|
+
...params
|
|
5067
5070
|
}, {
|
|
5068
5071
|
file,
|
|
5069
5072
|
filename: this.filename
|
|
@@ -5199,8 +5202,8 @@ var __vue_staticRenderFns__$o = [];
|
|
|
5199
5202
|
|
|
5200
5203
|
const __vue_inject_styles__$o = function (inject) {
|
|
5201
5204
|
if (!inject) return;
|
|
5202
|
-
inject("data-v-
|
|
5203
|
-
source: ".ui-file-upload-field[data-v-
|
|
5205
|
+
inject("data-v-50ad7f34_0", {
|
|
5206
|
+
source: ".ui-file-upload-field[data-v-50ad7f34]{width:100%}.ui-file-upload-field .uploader[data-v-50ad7f34]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-50ad7f34] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-50ad7f34] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-50ad7f34]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-50ad7f34]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-50ad7f34]{max-width:100%}.ui-file-upload-field .files .file[data-v-50ad7f34]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;display:grid;grid-template-columns:14px auto 28px;align-items:center;max-width:100%}.ui-file-upload-field .files .file a[data-v-50ad7f34]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-50ad7f34]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-50ad7f34]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-50ad7f34]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-50ad7f34]{color:#409eff;visibility:visible}",
|
|
5204
5207
|
map: undefined,
|
|
5205
5208
|
media: undefined
|
|
5206
5209
|
});
|
|
@@ -5208,7 +5211,7 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
5208
5211
|
/* scoped */
|
|
5209
5212
|
|
|
5210
5213
|
|
|
5211
|
-
const __vue_scope_id__$o = "data-v-
|
|
5214
|
+
const __vue_scope_id__$o = "data-v-50ad7f34";
|
|
5212
5215
|
/* module identifier */
|
|
5213
5216
|
|
|
5214
5217
|
const __vue_module_identifier__$o = undefined;
|