mali-ui-plus 1.1.90 → 1.1.92
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.
|
@@ -64875,6 +64875,7 @@ const _hoisted_27 = ["src"];
|
|
|
64875
64875
|
},
|
|
64876
64876
|
emits: ["update:modelValue", "change", "error", "success", "preview", "remove", "download"],
|
|
64877
64877
|
setup(__props, {
|
|
64878
|
+
expose,
|
|
64878
64879
|
emit
|
|
64879
64880
|
}) {
|
|
64880
64881
|
const props = __props;
|
|
@@ -64913,7 +64914,10 @@ const _hoisted_27 = ["src"];
|
|
|
64913
64914
|
}, {
|
|
64914
64915
|
title: '大小',
|
|
64915
64916
|
field: 'fileSize',
|
|
64916
|
-
minWidth: 100
|
|
64917
|
+
minWidth: 100,
|
|
64918
|
+
slots: {
|
|
64919
|
+
default: 'fileSize'
|
|
64920
|
+
}
|
|
64917
64921
|
}, {
|
|
64918
64922
|
title: '状态',
|
|
64919
64923
|
field: 'status',
|
|
@@ -65121,7 +65125,7 @@ const _hoisted_27 = ["src"];
|
|
|
65121
65125
|
tempName: `${file.name}_${index}`,
|
|
65122
65126
|
[nameField.value]: file.name,
|
|
65123
65127
|
[typeField.value]: fileSuffix,
|
|
65124
|
-
[sizeField.value]:
|
|
65128
|
+
[sizeField.value]: file.size,
|
|
65125
65129
|
stauts: 0
|
|
65126
65130
|
};
|
|
65127
65131
|
});
|
|
@@ -65142,7 +65146,7 @@ const _hoisted_27 = ["src"];
|
|
|
65142
65146
|
status: 100,
|
|
65143
65147
|
[nameField.value]: res[nameField.value] || file.name,
|
|
65144
65148
|
[typeField.value]: res[typeField.value] || fileSuffix,
|
|
65145
|
-
[sizeField.value]:
|
|
65149
|
+
[sizeField.value]: file.size
|
|
65146
65150
|
};
|
|
65147
65151
|
emit('success', {
|
|
65148
65152
|
item,
|
|
@@ -65416,6 +65420,9 @@ const _hoisted_27 = ["src"];
|
|
|
65416
65420
|
}
|
|
65417
65421
|
loadList();
|
|
65418
65422
|
});
|
|
65423
|
+
expose({
|
|
65424
|
+
previewFile
|
|
65425
|
+
});
|
|
65419
65426
|
return (_ctx, _cache) => {
|
|
65420
65427
|
const _component_MlButton = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlButton");
|
|
65421
65428
|
const _component_MlIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlIcon");
|
|
@@ -65487,6 +65494,9 @@ const _hoisted_27 = ["src"];
|
|
|
65487
65494
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_MlIcon, {
|
|
65488
65495
|
name: "attachment"
|
|
65489
65496
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(row[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(nameField)]), 1)], 8, MlUploadvue_type_script_lang_ts_setup_true_hoisted_13)]),
|
|
65497
|
+
fileSize: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(({
|
|
65498
|
+
row
|
|
65499
|
+
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(formatFileSizeMath(row[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(sizeField)])), 1)]),
|
|
65490
65500
|
status: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(({
|
|
65491
65501
|
row
|
|
65492
65502
|
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(row.status) + "%", 1)]),
|
|
@@ -71410,7 +71420,7 @@ function index_config(options) {
|
|
|
71410
71420
|
return config_0;
|
|
71411
71421
|
}
|
|
71412
71422
|
const MaliUI = {
|
|
71413
|
-
version: "1.1.
|
|
71423
|
+
version: "1.1.91",
|
|
71414
71424
|
install: index_install,
|
|
71415
71425
|
config: index_config,
|
|
71416
71426
|
renderer: {
|
package/lib/mali-ui-plus.umd.js
CHANGED
|
@@ -64885,6 +64885,7 @@ const _hoisted_27 = ["src"];
|
|
|
64885
64885
|
},
|
|
64886
64886
|
emits: ["update:modelValue", "change", "error", "success", "preview", "remove", "download"],
|
|
64887
64887
|
setup(__props, {
|
|
64888
|
+
expose,
|
|
64888
64889
|
emit
|
|
64889
64890
|
}) {
|
|
64890
64891
|
const props = __props;
|
|
@@ -64923,7 +64924,10 @@ const _hoisted_27 = ["src"];
|
|
|
64923
64924
|
}, {
|
|
64924
64925
|
title: '大小',
|
|
64925
64926
|
field: 'fileSize',
|
|
64926
|
-
minWidth: 100
|
|
64927
|
+
minWidth: 100,
|
|
64928
|
+
slots: {
|
|
64929
|
+
default: 'fileSize'
|
|
64930
|
+
}
|
|
64927
64931
|
}, {
|
|
64928
64932
|
title: '状态',
|
|
64929
64933
|
field: 'status',
|
|
@@ -65131,7 +65135,7 @@ const _hoisted_27 = ["src"];
|
|
|
65131
65135
|
tempName: `${file.name}_${index}`,
|
|
65132
65136
|
[nameField.value]: file.name,
|
|
65133
65137
|
[typeField.value]: fileSuffix,
|
|
65134
|
-
[sizeField.value]:
|
|
65138
|
+
[sizeField.value]: file.size,
|
|
65135
65139
|
stauts: 0
|
|
65136
65140
|
};
|
|
65137
65141
|
});
|
|
@@ -65152,7 +65156,7 @@ const _hoisted_27 = ["src"];
|
|
|
65152
65156
|
status: 100,
|
|
65153
65157
|
[nameField.value]: res[nameField.value] || file.name,
|
|
65154
65158
|
[typeField.value]: res[typeField.value] || fileSuffix,
|
|
65155
|
-
[sizeField.value]:
|
|
65159
|
+
[sizeField.value]: file.size
|
|
65156
65160
|
};
|
|
65157
65161
|
emit('success', {
|
|
65158
65162
|
item,
|
|
@@ -65426,6 +65430,9 @@ const _hoisted_27 = ["src"];
|
|
|
65426
65430
|
}
|
|
65427
65431
|
loadList();
|
|
65428
65432
|
});
|
|
65433
|
+
expose({
|
|
65434
|
+
previewFile
|
|
65435
|
+
});
|
|
65429
65436
|
return (_ctx, _cache) => {
|
|
65430
65437
|
const _component_MlButton = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlButton");
|
|
65431
65438
|
const _component_MlIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlIcon");
|
|
@@ -65497,6 +65504,9 @@ const _hoisted_27 = ["src"];
|
|
|
65497
65504
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_MlIcon, {
|
|
65498
65505
|
name: "attachment"
|
|
65499
65506
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(row[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(nameField)]), 1)], 8, MlUploadvue_type_script_lang_ts_setup_true_hoisted_13)]),
|
|
65507
|
+
fileSize: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(({
|
|
65508
|
+
row
|
|
65509
|
+
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(formatFileSizeMath(row[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(sizeField)])), 1)]),
|
|
65500
65510
|
status: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(({
|
|
65501
65511
|
row
|
|
65502
65512
|
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(row.status) + "%", 1)]),
|
|
@@ -71420,7 +71430,7 @@ function index_config(options) {
|
|
|
71420
71430
|
return config_0;
|
|
71421
71431
|
}
|
|
71422
71432
|
const MaliUI = {
|
|
71423
|
-
version: "1.1.
|
|
71433
|
+
version: "1.1.91",
|
|
71424
71434
|
install: index_install,
|
|
71425
71435
|
config: index_config,
|
|
71426
71436
|
renderer: {
|