@v2coding/ui 0.1.36 → 0.1.38
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 +12 -3
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +32 -6
- package/package.json +1 -1
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -4859,6 +4859,15 @@ var script$p = {
|
|
|
4859
4859
|
getFileName(url) {
|
|
4860
4860
|
const pathname = decodeURI(new URL(url).pathname);
|
|
4861
4861
|
return pathname.substring(pathname.lastIndexOf('/') + 1);
|
|
4862
|
+
},
|
|
4863
|
+
|
|
4864
|
+
async onChange(val) {
|
|
4865
|
+
this.emitChange(val);
|
|
4866
|
+
await this.$nextTick();
|
|
4867
|
+
|
|
4868
|
+
if (this.$parent.$options.componentName === 'ElFormItem') {
|
|
4869
|
+
this.$parent.validate('change');
|
|
4870
|
+
}
|
|
4862
4871
|
}
|
|
4863
4872
|
|
|
4864
4873
|
}
|
|
@@ -4931,8 +4940,8 @@ var __vue_staticRenderFns__$o = [];
|
|
|
4931
4940
|
|
|
4932
4941
|
const __vue_inject_styles__$p = function (inject) {
|
|
4933
4942
|
if (!inject) return;
|
|
4934
|
-
inject("data-v-
|
|
4935
|
-
source: ".ui-file-upload-field[data-v-
|
|
4943
|
+
inject("data-v-88ea6810_0", {
|
|
4944
|
+
source: ".ui-file-upload-field[data-v-88ea6810]{width:100%}.ui-file-upload-field .uploader[data-v-88ea6810]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-88ea6810] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-88ea6810] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-88ea6810]{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-88ea6810]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-88ea6810]{max-width:100%}.ui-file-upload-field .files .file[data-v-88ea6810]{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-88ea6810]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-88ea6810]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-88ea6810]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-88ea6810]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-88ea6810]{color:#409eff;visibility:visible}",
|
|
4936
4945
|
map: undefined,
|
|
4937
4946
|
media: undefined
|
|
4938
4947
|
});
|
|
@@ -4940,7 +4949,7 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
4940
4949
|
/* scoped */
|
|
4941
4950
|
|
|
4942
4951
|
|
|
4943
|
-
const __vue_scope_id__$p = "data-v-
|
|
4952
|
+
const __vue_scope_id__$p = "data-v-88ea6810";
|
|
4944
4953
|
/* module identifier */
|
|
4945
4954
|
|
|
4946
4955
|
const __vue_module_identifier__$p = undefined;
|