@moment-design/material-library 0.1.11 → 0.1.12
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/css/index.css +7 -7
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.min.js +2 -2
- package/package.json +1 -1
package/dist/css/index.css
CHANGED
|
@@ -257,32 +257,32 @@
|
|
|
257
257
|
overflow: hidden;
|
|
258
258
|
text-overflow: ellipsis;
|
|
259
259
|
}
|
|
260
|
-
.l-material-library-upload .form-item[data-v-
|
|
260
|
+
.l-material-library-upload .form-item[data-v-3fcdc336] {
|
|
261
261
|
display: flex;
|
|
262
262
|
align-items: center;
|
|
263
263
|
margin-bottom: 16px;
|
|
264
264
|
}
|
|
265
|
-
.l-material-library-upload .form-item[data-v-
|
|
265
|
+
.l-material-library-upload .form-item[data-v-3fcdc336]:not(:last-child) {
|
|
266
266
|
margin-bottom: 16px;
|
|
267
267
|
}
|
|
268
|
-
.l-material-library-upload .form-item .label[data-v-
|
|
268
|
+
.l-material-library-upload .form-item .label[data-v-3fcdc336] {
|
|
269
269
|
width: 70px;
|
|
270
270
|
margin-right: 16px;
|
|
271
271
|
}
|
|
272
|
-
.l-material-library-upload .form-item .label span[data-v-
|
|
272
|
+
.l-material-library-upload .form-item .label span[data-v-3fcdc336] {
|
|
273
273
|
color: red;
|
|
274
274
|
margin-right: 4px;
|
|
275
275
|
position: relative;
|
|
276
276
|
top: 2px;
|
|
277
277
|
}
|
|
278
|
-
.l-material-library-upload .upload[data-v-
|
|
278
|
+
.l-material-library-upload .upload[data-v-3fcdc336] {
|
|
279
279
|
margin-top: 16px;
|
|
280
280
|
}
|
|
281
|
-
.l-material-library-upload .upload .tips[data-v-
|
|
281
|
+
.l-material-library-upload .upload .tips[data-v-3fcdc336] {
|
|
282
282
|
margin-bottom: 16px;
|
|
283
283
|
color: #86909c;
|
|
284
284
|
}
|
|
285
|
-
.l-material-library-upload .upload[data-v-
|
|
285
|
+
.l-material-library-upload .upload[data-v-3fcdc336] .mo-upload-progress {
|
|
286
286
|
display: none;
|
|
287
287
|
}
|
|
288
288
|
.l-material-library-right-content[data-v-4085b1b9] {
|
package/dist/index.cjs.js
CHANGED
|
@@ -7021,7 +7021,7 @@ const _sfc_main$2 = vue.defineComponent({
|
|
|
7021
7021
|
accept.value = ".jpg,.jpeg,.png,.bmp,.webp,.gif";
|
|
7022
7022
|
break;
|
|
7023
7023
|
case 2:
|
|
7024
|
-
accept.value = ".rar,.zip,.ttf,.doc,.docx,.xls,.xlsx,.xlsm,.pdf,.ppt,.pptx,.txt
|
|
7024
|
+
accept.value = ".rar,.zip,.ttf,.doc,.docx,.xls,.xlsx,.xlsm,.pdf,.ppt,.pptx,.txt";
|
|
7025
7025
|
break;
|
|
7026
7026
|
case 3:
|
|
7027
7027
|
accept.value = ".swf,.mp4";
|
|
@@ -7160,7 +7160,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7160
7160
|
_: 1
|
|
7161
7161
|
}, 8, ["visible", "others", "onHandle:ok"]);
|
|
7162
7162
|
}
|
|
7163
|
-
var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
7163
|
+
var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-3fcdc336"]]);
|
|
7164
7164
|
var cRight_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7165
7165
|
const _sfc_main$1 = vue.defineComponent({
|
|
7166
7166
|
name: "",
|
package/dist/index.esm.js
CHANGED
|
@@ -7020,7 +7020,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
7020
7020
|
accept.value = ".jpg,.jpeg,.png,.bmp,.webp,.gif";
|
|
7021
7021
|
break;
|
|
7022
7022
|
case 2:
|
|
7023
|
-
accept.value = ".rar,.zip,.ttf,.doc,.docx,.xls,.xlsx,.xlsm,.pdf,.ppt,.pptx,.txt
|
|
7023
|
+
accept.value = ".rar,.zip,.ttf,.doc,.docx,.xls,.xlsx,.xlsm,.pdf,.ppt,.pptx,.txt";
|
|
7024
7024
|
break;
|
|
7025
7025
|
case 3:
|
|
7026
7026
|
accept.value = ".swf,.mp4";
|
|
@@ -7159,7 +7159,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7159
7159
|
_: 1
|
|
7160
7160
|
}, 8, ["visible", "others", "onHandle:ok"]);
|
|
7161
7161
|
}
|
|
7162
|
-
var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
7162
|
+
var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-3fcdc336"]]);
|
|
7163
7163
|
var cRight_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7164
7164
|
const _sfc_main$1 = defineComponent({
|
|
7165
7165
|
name: "",
|
package/dist/index.min.js
CHANGED
|
@@ -3273,7 +3273,7 @@
|
|
|
3273
3273
|
g2.value = ".jpg,.jpeg,.png,.bmp,.webp,.gif";
|
|
3274
3274
|
break;
|
|
3275
3275
|
case 2:
|
|
3276
|
-
g2.value = ".rar,.zip,.ttf,.doc,.docx,.xls,.xlsx,.xlsm,.pdf,.ppt,.pptx,.txt
|
|
3276
|
+
g2.value = ".rar,.zip,.ttf,.doc,.docx,.xls,.xlsx,.xlsm,.pdf,.ppt,.pptx,.txt";
|
|
3277
3277
|
break;
|
|
3278
3278
|
case 3:
|
|
3279
3279
|
g2.value = ".swf,.mp4";
|
|
@@ -3317,7 +3317,7 @@
|
|
|
3317
3317
|
var _a;
|
|
3318
3318
|
return [e.createElementVNode("div", Ze, [n2[4] || (n2[4] = e.createElementVNode("div", { class: "label" }, [e.createElementVNode("span", null, "*"), e.createTextVNode("\u7D20\u6750\u540D\u79F0")], -1)), e.createVNode(a2, { modelValue: t2.fileName, "onUpdate:modelValue": n2[0] || (n2[0] = (e2) => t2.fileName = e2), class: "input", style: { width: "386px" }, placeholder: "\u8BF7\u8F93\u5165", "allow-clear": "", "max-length": 20, "show-word-limit": "" }, null, 8, ["modelValue"])]), e.createElementVNode("div", Te, [n2[5] || (n2[5] = e.createElementVNode("div", { class: "label" }, [e.createElementVNode("span", null, "*"), e.createTextVNode("\u9009\u62E9\u5206\u7EC4")], -1)), e.createVNode(l2, { modelValue: t2.groupId, "onUpdate:modelValue": n2[1] || (n2[1] = (e2) => t2.groupId = e2), class: "select", style: { width: "386px" }, placeholder: "\u8BF7\u9009\u62E9\u5206\u7EC4", "allow-clear": "", options: (_a = t2.groups) == null ? void 0 : _a.map((e2) => ({ label: e2.groupName, value: e2.id })) }, null, 8, ["modelValue", "options"])]), e.createElementVNode("div", _e, [n2[6] || (n2[6] = e.createElementVNode("div", { class: "label" }, [e.createElementVNode("span", null, "*"), e.createTextVNode("\u7D20\u6750\u7C7B\u578B")], -1)), e.createVNode(c2, { modelValue: t2.fileType, "onUpdate:modelValue": n2[2] || (n2[2] = (e2) => t2.fileType = e2), options: t2.fileTypes }, null, 8, ["modelValue", "options"])]), e.createElementVNode("div", $e, [e.createElementVNode("div", et, [1 === t2.fileType ? (e.openBlock(), e.createElementBlock("div", tt, "\u56FE\u7247\u4E0A\u4F20\u683C\u5F0F\u4E3Ajpg\u3001jpeg\u3001png\u3001bmp\u3001webp\u3001GIF, \u5927\u5C0F\u9650\u5236\u572810M\u4EE5\u5185")) : e.createCommentVNode("v-if", true), 2 === t2.fileType ? (e.openBlock(), e.createElementBlock("div", nt, " \u6587\u6863\u4E0A\u4F20\u683C\u5F0F\u4E3Arar\u3001zip\u3001ttf\u3001doc\u3001docx\u3001xls\u3001xlsx\u3001xlsm\u3001pdf\u3001ppt\u3001pptx\u3001txt, \u5927\u5C0F\u9650\u5236\u572820M\u4EE5\u5185 ")) : e.createCommentVNode("v-if", true), 3 === t2.fileType ? (e.openBlock(), e.createElementBlock("div", rt, "\u89C6\u9891\u4E0A\u4F20\u683C\u5F0F\u4E3ASWF\u3001MP4, \u5927\u5C0F\u9650\u5236\u5728300M\u4EE5\u5185")) : e.createCommentVNode("v-if", true), 4 === t2.fileType ? (e.openBlock(), e.createElementBlock("div", ot, "\u97F3\u4E50\u4E0A\u4F20\u683C\u5F0F\u4E3AMP3, \u5927\u5C0F\u9650\u5236\u57285M\u4EE5\u5185")) : e.createCommentVNode("v-if", true)]), e.createVNode(A2, { style: { "max-height": "300px", "overflow-y": "auto", "padding-right": "24px" } }, { default: e.withCtx(() => [e.createVNode(f2, { "file-list": t2.fileList, "auto-upload": false, accept: t2.accept, limit: t2.limit, "show-retry-button": false, "show-cancel-button": false, onExceedLimit: t2.exceedLimit, onBeforeUpload: t2.beforeUpload, onChange: t2.fileChange }, null, 8, ["file-list", "accept", "limit", "onExceedLimit", "onBeforeUpload", "onChange"])]), _: 1 })])];
|
|
3319
3319
|
}), _: 1 }, 8, ["loading"])]), _: 1 }, 8, ["visible", "others", "onHandle:ok"]);
|
|
3320
|
-
}], ["__scopeId", "data-v-
|
|
3320
|
+
}], ["__scopeId", "data-v-3fcdc336"]]);
|
|
3321
3321
|
const ut = e.defineComponent({ name: "", components: { IconDown: n.IconDown, IconApps: n.IconApps, IconMenu: n.IconMenu, LModal: o, CRightApps: H, CRightMenus: Re, CChangeGroup: qe, CUpload: it }, props: { config: { type: Object, default: () => ({}) } }, setup(n2, { emit: r2 }) {
|
|
3322
3322
|
var _a, _b;
|
|
3323
3323
|
const o2 = e.ref(n2.config), i2 = e.ref(false), u2 = e.ref(false), a2 = e.ref(false), l2 = e.ref(), c2 = e.ref(), f2 = e.ref(), A2 = e.ref(), s2 = e.ref(), g2 = e.ref(), p2 = e.ref((_b = (_a = n2.config) == null ? void 0 : _a.fileType) != null ? _b : ""), v2 = e.ref(1), d2 = e.ref(), h2 = e.ref(1), w2 = e.ref(15), C2 = e.ref({ list: [], total: 0 }), B2 = e.ref(true), m2 = e.ref(true), y2 = e.ref(true), F2 = e.ref(true);
|