@moment-design/material-library 0.1.14 → 0.1.16
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 +4 -4
- package/dist/index.cjs.js +12 -4
- package/dist/index.esm.js +12 -4
- package/dist/index.min.js +11 -8
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/css/index.css
CHANGED
|
@@ -194,11 +194,11 @@
|
|
|
194
194
|
.operate-omit-list[data-v-0b1d01dd] {
|
|
195
195
|
color: #1966ff;
|
|
196
196
|
}
|
|
197
|
-
.right-menu .l-material-library-infos[data-v-
|
|
197
|
+
.right-menu .l-material-library-infos[data-v-52a7189c] {
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
}
|
|
201
|
-
.right-menu .l-material-library-infos .name[data-v-
|
|
201
|
+
.right-menu .l-material-library-infos .name[data-v-52a7189c] {
|
|
202
202
|
margin-left: 6px;
|
|
203
203
|
font-size: 14px;
|
|
204
204
|
flex: 1;
|
|
@@ -207,13 +207,13 @@
|
|
|
207
207
|
overflow: hidden;
|
|
208
208
|
text-overflow: ellipsis;
|
|
209
209
|
}
|
|
210
|
-
.pagination[data-v-
|
|
210
|
+
.pagination[data-v-52a7189c] {
|
|
211
211
|
display: flex;
|
|
212
212
|
justify-content: flex-end;
|
|
213
213
|
width: 100%;
|
|
214
214
|
margin-top: 16px;
|
|
215
215
|
}
|
|
216
|
-
.l-material-library-info[data-v-
|
|
216
|
+
.l-material-library-info[data-v-52a7189c] {
|
|
217
217
|
background-color: #ffffff;
|
|
218
218
|
border-radius: 2px;
|
|
219
219
|
padding: 16px;
|
package/dist/index.cjs.js
CHANGED
|
@@ -6585,6 +6585,7 @@ const _sfc_main$4 = vue.defineComponent({
|
|
|
6585
6585
|
const deepDatas = vue.ref(props.datas);
|
|
6586
6586
|
const current = vue.ref(1);
|
|
6587
6587
|
const pageSize = vue.ref(15);
|
|
6588
|
+
const fileTypesList = vue.ref(fileTypes);
|
|
6588
6589
|
const resetCurrent = () => {
|
|
6589
6590
|
current.value = 1;
|
|
6590
6591
|
};
|
|
@@ -6603,10 +6604,9 @@ const _sfc_main$4 = vue.defineComponent({
|
|
|
6603
6604
|
columns: [
|
|
6604
6605
|
{ type: "slot", title: "\u7D20\u6750\u540D\u79F0", dataIndex: "info" },
|
|
6605
6606
|
{
|
|
6606
|
-
type: "
|
|
6607
|
+
type: "slot",
|
|
6607
6608
|
title: "\u7D20\u6750\u7C7B\u578B",
|
|
6608
6609
|
dataIndex: "fileType",
|
|
6609
|
-
dicts: fileTypes,
|
|
6610
6610
|
width: 160
|
|
6611
6611
|
},
|
|
6612
6612
|
{ title: "\u66F4\u65B0\u65F6\u95F4", dataIndex: "updateAt" },
|
|
@@ -6690,6 +6690,10 @@ const _sfc_main$4 = vue.defineComponent({
|
|
|
6690
6690
|
}
|
|
6691
6691
|
return filePath;
|
|
6692
6692
|
};
|
|
6693
|
+
const getTypeName = ({ fileType }) => {
|
|
6694
|
+
var _a, _b;
|
|
6695
|
+
return (_b = (_a = fileTypesList.value) == null ? void 0 : _a.find((e) => e.value === fileType)) == null ? void 0 : _b.label;
|
|
6696
|
+
};
|
|
6693
6697
|
vue.watch(
|
|
6694
6698
|
() => props.datas,
|
|
6695
6699
|
(v) => {
|
|
@@ -6713,7 +6717,8 @@ const _sfc_main$4 = vue.defineComponent({
|
|
|
6713
6717
|
getIds,
|
|
6714
6718
|
getItems,
|
|
6715
6719
|
initCheckbox,
|
|
6716
|
-
getMaterialIcon
|
|
6720
|
+
getMaterialIcon,
|
|
6721
|
+
getTypeName
|
|
6717
6722
|
};
|
|
6718
6723
|
}
|
|
6719
6724
|
});
|
|
@@ -6740,6 +6745,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6740
6745
|
config: _ctx.deepTableConfig,
|
|
6741
6746
|
class: "right-menu"
|
|
6742
6747
|
}, {
|
|
6748
|
+
fileType: vue.withCtx(({ rows }) => [
|
|
6749
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.getTypeName(rows)), 1)
|
|
6750
|
+
]),
|
|
6743
6751
|
info: vue.withCtx(({ rows }) => [
|
|
6744
6752
|
vue.createElementVNode("div", _hoisted_1$4, [
|
|
6745
6753
|
vue.createVNode(_component_m_image, {
|
|
@@ -6804,7 +6812,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6804
6812
|
])
|
|
6805
6813
|
], 64);
|
|
6806
6814
|
}
|
|
6807
|
-
var CRightMenus = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
6815
|
+
var CRightMenus = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-52a7189c"]]);
|
|
6808
6816
|
var cChangeGroup_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6809
6817
|
const _sfc_main$3 = vue.defineComponent({
|
|
6810
6818
|
name: "",
|
package/dist/index.esm.js
CHANGED
|
@@ -6584,6 +6584,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
6584
6584
|
const deepDatas = ref(props.datas);
|
|
6585
6585
|
const current = ref(1);
|
|
6586
6586
|
const pageSize = ref(15);
|
|
6587
|
+
const fileTypesList = ref(fileTypes);
|
|
6587
6588
|
const resetCurrent = () => {
|
|
6588
6589
|
current.value = 1;
|
|
6589
6590
|
};
|
|
@@ -6602,10 +6603,9 @@ const _sfc_main$4 = defineComponent({
|
|
|
6602
6603
|
columns: [
|
|
6603
6604
|
{ type: "slot", title: "\u7D20\u6750\u540D\u79F0", dataIndex: "info" },
|
|
6604
6605
|
{
|
|
6605
|
-
type: "
|
|
6606
|
+
type: "slot",
|
|
6606
6607
|
title: "\u7D20\u6750\u7C7B\u578B",
|
|
6607
6608
|
dataIndex: "fileType",
|
|
6608
|
-
dicts: fileTypes,
|
|
6609
6609
|
width: 160
|
|
6610
6610
|
},
|
|
6611
6611
|
{ title: "\u66F4\u65B0\u65F6\u95F4", dataIndex: "updateAt" },
|
|
@@ -6689,6 +6689,10 @@ const _sfc_main$4 = defineComponent({
|
|
|
6689
6689
|
}
|
|
6690
6690
|
return filePath;
|
|
6691
6691
|
};
|
|
6692
|
+
const getTypeName = ({ fileType }) => {
|
|
6693
|
+
var _a, _b;
|
|
6694
|
+
return (_b = (_a = fileTypesList.value) == null ? void 0 : _a.find((e) => e.value === fileType)) == null ? void 0 : _b.label;
|
|
6695
|
+
};
|
|
6692
6696
|
watch(
|
|
6693
6697
|
() => props.datas,
|
|
6694
6698
|
(v) => {
|
|
@@ -6712,7 +6716,8 @@ const _sfc_main$4 = defineComponent({
|
|
|
6712
6716
|
getIds,
|
|
6713
6717
|
getItems,
|
|
6714
6718
|
initCheckbox,
|
|
6715
|
-
getMaterialIcon
|
|
6719
|
+
getMaterialIcon,
|
|
6720
|
+
getTypeName
|
|
6716
6721
|
};
|
|
6717
6722
|
}
|
|
6718
6723
|
});
|
|
@@ -6739,6 +6744,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6739
6744
|
config: _ctx.deepTableConfig,
|
|
6740
6745
|
class: "right-menu"
|
|
6741
6746
|
}, {
|
|
6747
|
+
fileType: withCtx(({ rows }) => [
|
|
6748
|
+
createTextVNode(toDisplayString(_ctx.getTypeName(rows)), 1)
|
|
6749
|
+
]),
|
|
6742
6750
|
info: withCtx(({ rows }) => [
|
|
6743
6751
|
createElementVNode("div", _hoisted_1$4, [
|
|
6744
6752
|
createVNode(_component_m_image, {
|
|
@@ -6803,7 +6811,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6803
6811
|
])
|
|
6804
6812
|
], 64);
|
|
6805
6813
|
}
|
|
6806
|
-
var CRightMenus = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
6814
|
+
var CRightMenus = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-52a7189c"]]);
|
|
6807
6815
|
var cChangeGroup_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6808
6816
|
const _sfc_main$3 = defineComponent({
|
|
6809
6817
|
name: "",
|
package/dist/index.min.js
CHANGED
|
@@ -3174,16 +3174,16 @@
|
|
|
3174
3174
|
var Qe = r(Ne, [["__scopeId", "data-v-0b1d01dd"]]);
|
|
3175
3175
|
const Me = [{ label: "\u56FE\u7247", value: 1 }, { label: "\u6587\u6863", value: 2 }, { label: "\u89C6\u9891", value: 3 }, { label: "\u97F3\u4E50", value: 4 }, { label: "\u5176\u4ED6", value: 0 }];
|
|
3176
3176
|
const Se = e.defineComponent({ name: "", components: { LTableOperate: Qe }, props: { datas: { type: Array, default: () => [] }, config: { type: Object, default: () => ({}) } }, setup(t2, { emit: n2 }) {
|
|
3177
|
-
const r2 = e.ref(t2.config), o2 = e.ref(t2.datas), i2 = e.ref(1), u2 = e.ref(15), a2 = e.reactive({ table: { selectedType: "checkbox", selectedRows: [], data: [], columns: [{ type: "slot", title: "\u7D20\u6750\u540D\u79F0", dataIndex: "info" }, { type: "
|
|
3177
|
+
const r2 = e.ref(t2.config), o2 = e.ref(t2.datas), i2 = e.ref(1), u2 = e.ref(15), a2 = e.ref(Me), l2 = e.reactive({ table: { selectedType: "checkbox", selectedRows: [], data: [], columns: [{ type: "slot", title: "\u7D20\u6750\u540D\u79F0", dataIndex: "info" }, { type: "slot", title: "\u7D20\u6750\u7C7B\u578B", dataIndex: "fileType", width: 160 }, { title: "\u66F4\u65B0\u65F6\u95F4", dataIndex: "updateAt" }, { type: "slot", title: "\u64CD\u4F5C", dataIndex: "operate", width: 220, align: "center" }] } });
|
|
3178
3178
|
return e.watch(() => t2.datas, (e2) => {
|
|
3179
|
-
|
|
3179
|
+
l2.table.data = e2.list, o2.value = e2, l2.table.selectedRows = [];
|
|
3180
3180
|
}, { immediate: true, deep: true }), { deepDatas: o2, deepConfig: r2, pageSize: u2, current: i2, resetCurrent: () => {
|
|
3181
3181
|
i2.value = 1;
|
|
3182
3182
|
}, changePage: (e2) => {
|
|
3183
3183
|
n2("handle:page", e2);
|
|
3184
3184
|
}, changePageSizes: (e2) => {
|
|
3185
3185
|
u2.value = e2, n2("handle:page:sizes", e2);
|
|
3186
|
-
}, deepTableConfig:
|
|
3186
|
+
}, deepTableConfig: l2, operateList: () => {
|
|
3187
3187
|
var _a, _b;
|
|
3188
3188
|
const e2 = [{ name: "\u9884\u89C8", show: true }, { name: "\u79FB\u52A8\u5206\u7EC4", show: false !== ((_a = t2.config) == null ? void 0 : _a.isShowRemoveGroup) }, { name: "\u5220\u9664", show: false !== ((_b = t2.config) == null ? void 0 : _b.isShowDeleteMaterials) }];
|
|
3189
3189
|
return e2 == null ? void 0 : e2.filter((e3) => e3.show);
|
|
@@ -3200,22 +3200,25 @@
|
|
|
3200
3200
|
}
|
|
3201
3201
|
}, getIds: () => {
|
|
3202
3202
|
var _a, _b;
|
|
3203
|
-
return (_b = (_a =
|
|
3203
|
+
return (_b = (_a = l2.table) == null ? void 0 : _a.selectedRows) == null ? void 0 : _b.map((e2) => e2.id);
|
|
3204
3204
|
}, getItems: () => {
|
|
3205
3205
|
var _a;
|
|
3206
|
-
return (_a =
|
|
3206
|
+
return (_a = l2.table) == null ? void 0 : _a.selectedRows;
|
|
3207
3207
|
}, initCheckbox: () => {
|
|
3208
|
-
|
|
3208
|
+
l2.table.selectedRows = [];
|
|
3209
3209
|
}, getMaterialIcon: ({ fileType: e2, fileFormat: t3, filePath: n3 }) => {
|
|
3210
3210
|
const r3 = t3.toLowerCase();
|
|
3211
3211
|
return 0 === e2 ? b : 3 === e2 ? "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAACS5JREFUeF7t3XtsW1cZAPDv3Ov3tV0/4iR+JR2h2pqS62RJVyVsbKyb1q0bDelabZPoWEEgdaPKA7SWgeCP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hwE5mrnYpAI8IV/X5z3Ba1vZ6uVtfSWHXYH5V27k639Q/FmzfX/GwsQuFonS/5fBFggraXQcjfdJdf4veyc9jU9RpglRmCB9joBuPhxeu+ORDbvbs0cPvg+3jbLa/zEq+ty3oCDbnwPaCSW9npUWQGh/H3RO59avbrzU41funJxntKnPvf3P0+9pcaKBd4JojxwKO7St38709bRFwy7vaQRS1jomem52d/95OTUkd+cOcvbWFXilAdWpVFOrQOBnSrHWTcCczbKqWEI7FQ5zroRmLNRTg1DYKfKcdaNwJyNcmoYAjtVjrNuBOZslFPDENipcpx1IzBno5wahsBOleOsG4E5G+XUMAR2qhxn3QjM2SinhiGwU+U467YD+DAAWH7YCWfdGMbXgbnxQq6fJ5R7Lc9ornAIKGXrf/DV6A4Q8t543ryDpwxu4BFz8hkCpJsnKcbY2wEKdHJfofuLPKNwA4+a+d0AsIMnKcbY3oGfjxdyP+QZhRt42MxfrwFM8CTFGHs7sADwpf2F3Os8o3ADA1AyYhYOEoB2nsQYY08HKMA/9xXMewEIx4JXkQXTi8/K2ggAT9pTOmbl7MCj44Xci5yxAiviL2cczU0+B5R08Q6AcRI7QOix8Xz3QyIZBX6iF9OO5CbThJLnASAiMhDG1tyBs5TQB/flu98RySQMzJKPdR3tpcR1AE98iLS6ptg5Qucf+cGx3qOiWSwBlyCz7THOZNGui8WfJXT+USu4bBjLwB/+XAM8jttkMTHuaEKPUYBviP4sl+avCbiYiO1dU4BdeAjFTVcxkB0KEYAfi+wtl0soBXgxOSXDZqFHA7iRAjUJ0bJAKVsZjxcoKrvPASHnKV04ToAUFgBe2V8w/8R7nFvtK/U/r+jstdRXNSoAAAAASUVORK5CYII=" : 4 === e2 ? x : ["rar", "zip"].includes(r3) ? V : ["ttf", "doc", "docx"].includes(r3) ? G : ["xls", "xlsx", "xlsm"].includes(r3) ? Y : ["pdf"].includes(r3) ? k : ["ppt", "pptx"].includes(r3) ? E : ["txt"].includes(r3) ? D : n3;
|
|
3212
|
+
}, getTypeName: ({ fileType: e2 }) => {
|
|
3213
|
+
var _a, _b;
|
|
3214
|
+
return (_b = (_a = a2.value) == null ? void 0 : _a.find((t3) => t3.value === e2)) == null ? void 0 : _b.label;
|
|
3212
3215
|
} };
|
|
3213
3216
|
} }), We = { class: "l-material-library-infos" }, Ie = { class: "name" }, Ke = { class: "l-material-library-info" }, Je = { class: "pagination" };
|
|
3214
3217
|
var Re = r(Se, [["render", function(t2, n2, r2, o2, i2, u2) {
|
|
3215
3218
|
var _a, _b;
|
|
3216
3219
|
const a2 = e.resolveComponent("m-image"), l2 = e.resolveComponent("m-trigger"), c2 = e.resolveComponent("LTableOperate"), f2 = e.resolveComponent("m-query-table"), A2 = e.resolveComponent("m-scrollbar"), s2 = e.resolveComponent("m-pagination");
|
|
3217
|
-
return e.openBlock(), e.createElementBlock(e.Fragment, null, [e.createVNode(A2, { style: e.normalizeStyle([{ overflow: "auto" }, { height: ((_b = (_a = t2.deepConfig) == null ? void 0 : _a.scroll) == null ? void 0 : _b.right) ? t2.deepConfig.scroll.right : "430px" }]) }, { default: e.withCtx(() => [e.createVNode(f2, { config: t2.deepTableConfig, class: "right-menu" }, { info: e.withCtx(({ rows: r3 }) => [e.createElementVNode("div", We, [e.createVNode(a2, { src: t2.getMaterialIcon(r3), preview: false, width: "40", height: "40", fit: "contain" }, null, 8, ["src"]), e.createVNode(l2, { position: "top", "auto-fit-position": "", "unmount-on-close": false }, { content: e.withCtx(() => [e.createElementVNode("div", Ke, [e.createElementVNode("div", null, [n2[0] || (n2[0] = e.createElementVNode("span", null, "\u540D\u79F0\uFF1A", -1)), e.createElementVNode("span", null, e.toDisplayString(r3.fileName), 1)]), e.createElementVNode("div", null, [n2[1] || (n2[1] = e.createElementVNode("span", null, "\u7C7B\u578B\uFF1A", -1)), e.createElementVNode("span", null, e.toDisplayString(r3.fileFormat), 1)]), e.createElementVNode("div", null, [n2[2] || (n2[2] = e.createElementVNode("span", null, "\u4FEE\u6539\u65F6\u95F4\uFF1A", -1)), e.createElementVNode("span", null, e.toDisplayString(r3.updateAt), 1)])])]), default: e.withCtx(() => [e.createElementVNode("div", Ie, e.toDisplayString(r3.fileName), 1)]), _: 2 }, 1024)])]), operate: e.withCtx(({ rows: n3 }) => [e.createVNode(c2, { list: t2.operateList(), "onHandle:click": (e2) => t2.handleOperate(e2, n3) }, null, 8, ["list", "onHandle:click"])]), _: 1 }, 8, ["config"])]), _: 1 }, 8, ["style"]), e.createCommentVNode(" pagination "), e.createElementVNode("div", Je, [e.createVNode(s2, { current: t2.current, total: +t2.deepDatas.total, "show-total": "", "show-jumper": "", "show-page-size": "", "page-size": t2.pageSize, "page-size-options": [15, 30, 45, 90], onChange: t2.changePage, onPageSizeChange: t2.changePageSizes }, null, 8, ["current", "total", "page-size", "onChange", "onPageSizeChange"])])], 64);
|
|
3218
|
-
}], ["__scopeId", "data-v-
|
|
3220
|
+
return e.openBlock(), e.createElementBlock(e.Fragment, null, [e.createVNode(A2, { style: e.normalizeStyle([{ overflow: "auto" }, { height: ((_b = (_a = t2.deepConfig) == null ? void 0 : _a.scroll) == null ? void 0 : _b.right) ? t2.deepConfig.scroll.right : "430px" }]) }, { default: e.withCtx(() => [e.createVNode(f2, { config: t2.deepTableConfig, class: "right-menu" }, { fileType: e.withCtx(({ rows: n3 }) => [e.createTextVNode(e.toDisplayString(t2.getTypeName(n3)), 1)]), info: e.withCtx(({ rows: r3 }) => [e.createElementVNode("div", We, [e.createVNode(a2, { src: t2.getMaterialIcon(r3), preview: false, width: "40", height: "40", fit: "contain" }, null, 8, ["src"]), e.createVNode(l2, { position: "top", "auto-fit-position": "", "unmount-on-close": false }, { content: e.withCtx(() => [e.createElementVNode("div", Ke, [e.createElementVNode("div", null, [n2[0] || (n2[0] = e.createElementVNode("span", null, "\u540D\u79F0\uFF1A", -1)), e.createElementVNode("span", null, e.toDisplayString(r3.fileName), 1)]), e.createElementVNode("div", null, [n2[1] || (n2[1] = e.createElementVNode("span", null, "\u7C7B\u578B\uFF1A", -1)), e.createElementVNode("span", null, e.toDisplayString(r3.fileFormat), 1)]), e.createElementVNode("div", null, [n2[2] || (n2[2] = e.createElementVNode("span", null, "\u4FEE\u6539\u65F6\u95F4\uFF1A", -1)), e.createElementVNode("span", null, e.toDisplayString(r3.updateAt), 1)])])]), default: e.withCtx(() => [e.createElementVNode("div", Ie, e.toDisplayString(r3.fileName), 1)]), _: 2 }, 1024)])]), operate: e.withCtx(({ rows: n3 }) => [e.createVNode(c2, { list: t2.operateList(), "onHandle:click": (e2) => t2.handleOperate(e2, n3) }, null, 8, ["list", "onHandle:click"])]), _: 1 }, 8, ["config"])]), _: 1 }, 8, ["style"]), e.createCommentVNode(" pagination "), e.createElementVNode("div", Je, [e.createVNode(s2, { current: t2.current, total: +t2.deepDatas.total, "show-total": "", "show-jumper": "", "show-page-size": "", "page-size": t2.pageSize, "page-size-options": [15, 30, 45, 90], onChange: t2.changePage, onPageSizeChange: t2.changePageSizes }, null, 8, ["current", "total", "page-size", "onChange", "onPageSizeChange"])])], 64);
|
|
3221
|
+
}], ["__scopeId", "data-v-52a7189c"]]);
|
|
3219
3222
|
const je = e.defineComponent({ name: "", components: { LModal: o }, props: { config: { type: Object, default: () => ({}) } }, setup(n2, { emit: r2 }) {
|
|
3220
3223
|
const o2 = e.ref(n2.config), i2 = e.ref(), u2 = e.ref(false), a2 = e.ref(false), l2 = e.ref(), c2 = e.ref(), f2 = e.ref(), A2 = async () => {
|
|
3221
3224
|
var _a, _b, _c;
|