@moment-design/material-library 0.0.18 → 0.0.20

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.
@@ -90,26 +90,26 @@
90
90
  width: 30px;
91
91
  padding-right: 16px;
92
92
  }
93
- .checkbox-all[data-v-0f48f01e] {
93
+ .checkbox-all[data-v-bd633c0a] {
94
94
  width: 200px;
95
95
  margin-top: -38px;
96
96
  background-color: #ffffff;
97
97
  padding-bottom: 6px;
98
98
  }
99
- .right-apps[data-v-0f48f01e] {
99
+ .right-apps[data-v-bd633c0a] {
100
100
  margin-top: 16px;
101
101
  display: flex;
102
102
  flex-wrap: wrap;
103
103
  }
104
- .right-apps .item[data-v-0f48f01e] {
104
+ .right-apps .item[data-v-bd633c0a] {
105
105
  width: calc(20% - 16px);
106
106
  margin-bottom: 16px;
107
107
  margin-right: 20px;
108
108
  }
109
- .right-apps .item[data-v-0f48f01e]:nth-child(5n) {
109
+ .right-apps .item[data-v-bd633c0a]:nth-child(5n) {
110
110
  margin-right: 0 !important;
111
111
  }
112
- .right-apps .item .header[data-v-0f48f01e] {
112
+ .right-apps .item .header[data-v-bd633c0a] {
113
113
  width: 100%;
114
114
  height: 168.5px;
115
115
  background-color: #f2f3f5;
@@ -119,10 +119,10 @@
119
119
  background-position: center;
120
120
  cursor: pointer;
121
121
  }
122
- .right-apps .item .header img[data-v-0f48f01e] {
122
+ .right-apps .item .header img[data-v-bd633c0a] {
123
123
  max-width: 100%;
124
124
  }
125
- .right-apps .item .footer[data-v-0f48f01e] {
125
+ .right-apps .item .footer[data-v-bd633c0a] {
126
126
  padding: 12px;
127
127
  display: flex;
128
128
  align-items: center;
@@ -130,35 +130,35 @@
130
130
  border: 1px solid #f2f3f5;
131
131
  border-radius: 0 0 4px 4px;
132
132
  }
133
- .right-apps .item .footer .checkbox[data-v-0f48f01e] {
133
+ .right-apps .item .footer .checkbox[data-v-bd633c0a] {
134
134
  width: 30px;
135
135
  position: relative;
136
136
  top: 2px;
137
137
  left: -6px;
138
138
  }
139
- .right-apps .item .footer .name[data-v-0f48f01e] {
139
+ .right-apps .item .footer .name[data-v-bd633c0a] {
140
140
  flex: 1;
141
141
  margin-left: -8px;
142
142
  overflow: hidden;
143
143
  }
144
- .right-apps .item .footer .name .title[data-v-0f48f01e] {
144
+ .right-apps .item .footer .name .title[data-v-bd633c0a] {
145
145
  cursor: pointer;
146
146
  white-space: nowrap;
147
147
  overflow: hidden;
148
148
  text-overflow: ellipsis;
149
149
  }
150
- .right-apps .item .footer .icon[data-v-0f48f01e] {
150
+ .right-apps .item .footer .icon[data-v-bd633c0a] {
151
151
  width: 20px;
152
152
  text-align: right;
153
153
  cursor: pointer;
154
154
  }
155
- .pagination[data-v-0f48f01e] {
155
+ .pagination[data-v-bd633c0a] {
156
156
  display: flex;
157
157
  justify-content: flex-end;
158
158
  width: 100%;
159
159
  margin-top: 16px;
160
160
  }
161
- .l-material-library-infos[data-v-0f48f01e] {
161
+ .l-material-library-infos[data-v-bd633c0a] {
162
162
  background-color: #ffffff;
163
163
  border-radius: 2px;
164
164
  padding: 16px;
@@ -258,32 +258,32 @@
258
258
  overflow: hidden;
259
259
  text-overflow: ellipsis;
260
260
  }
261
- .l-material-library-upload .form-item[data-v-69d5a27e] {
261
+ .l-material-library-upload .form-item[data-v-5184484c] {
262
262
  display: flex;
263
263
  align-items: center;
264
264
  margin-bottom: 16px;
265
265
  }
266
- .l-material-library-upload .form-item[data-v-69d5a27e]:not(:last-child) {
266
+ .l-material-library-upload .form-item[data-v-5184484c]:not(:last-child) {
267
267
  margin-bottom: 16px;
268
268
  }
269
- .l-material-library-upload .form-item .label[data-v-69d5a27e] {
269
+ .l-material-library-upload .form-item .label[data-v-5184484c] {
270
270
  width: 70px;
271
271
  margin-right: 16px;
272
272
  }
273
- .l-material-library-upload .form-item .label span[data-v-69d5a27e] {
273
+ .l-material-library-upload .form-item .label span[data-v-5184484c] {
274
274
  color: red;
275
275
  margin-right: 4px;
276
276
  position: relative;
277
277
  top: 2px;
278
278
  }
279
- .l-material-library-upload .upload[data-v-69d5a27e] {
279
+ .l-material-library-upload .upload[data-v-5184484c] {
280
280
  margin-top: 16px;
281
281
  }
282
- .l-material-library-upload .upload .tips[data-v-69d5a27e] {
282
+ .l-material-library-upload .upload .tips[data-v-5184484c] {
283
283
  margin-bottom: 16px;
284
284
  color: #86909c;
285
285
  }
286
- .l-material-library-upload .upload[data-v-69d5a27e] .mo-upload-progress {
286
+ .l-material-library-upload .upload[data-v-5184484c] .mo-upload-progress {
287
287
  display: none;
288
288
  }
289
289
  .l-material-library-right-content[data-v-000552f9] {
package/dist/index.cjs.js CHANGED
@@ -6115,7 +6115,10 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
6115
6115
  "pdf",
6116
6116
  "ppt",
6117
6117
  "pptx",
6118
- "txt"
6118
+ "txt",
6119
+ "xls",
6120
+ "xlsx",
6121
+ "xlsm"
6119
6122
  ].includes(item.fileFormat) ? (vue.openBlock(), vue.createElementBlock("div", {
6120
6123
  key: 0,
6121
6124
  class: "header",
@@ -6229,7 +6232,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
6229
6232
  ])
6230
6233
  ], 64);
6231
6234
  }
6232
- var CRightApps = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-0f48f01e"]]);
6235
+ var CRightApps = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-bd633c0a"]]);
6233
6236
  var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAPBQTFRFAAAAGWb/GWb/GWb/GWb/Gmf/GWb/GWb/Gmb/G2f/G2j/NXj9IWv/GWb/GWb/Gmb/IWv+G2f/GWb/Hmr/N3n9IWz+GWb/IGv/H2r/GWb/GWb/Gmf/GWb/GWb/GWb/HWj/GWb/GWb/G2f/GWb/Gmb/GWb/Gmf/Nnn9Gmf/GWb/HGj/HGj/J2/+GWb/J2/+HGj/HGj/HGj/HWj/KnH+GWb/GWb/GWb/GWb/Gmf/GWb/GWb/GWb/GWb/H2r/GWb/GWb/Hmn/HWj/Gmb/HGj/Hmn/H2r/GWb/GWb/GWb/GWb/HGn/Gmf/G2f/G2f/GWb/HGj/WjQiHwAAAFB0Uk5TACyWs5wsAgQooaEBSuX/305S21EBWeFBOOf0KUTZ2i/25o9wkPuQAXaIyKMSoBWqw8GjEijd6yQ+0tHcAT3t40xP4EtOOx+KmY0jLoouIx87Gi7bAAAA90lEQVR4nO2SXVOCQBhGgUUwDSrLNEPLwNTK/Ewp8aOyXFLr//+bZJe94MUZvdV5z93Z88DMDkgSgiAIghweskKImtBi53ryiJBUUo8FTVYJURKhpY8Nc83JaWx3lglC5vwChuxlEIwct/yVyShcg5lV5KFkgXBzy0NZZnpnhthg51T4eeU+el6tiSfqzB+EPj5Fhw0RGtHz56YILeZtoZ3ubi/odkRoM69vvYIDgh29Qu+FW38Adu4rD28uCIM+D8MeU280DmwyBTNJe/9gn/Ez9ofMJkEYf3mhf88p9X/gas1iSelytSH8+pTO/zYEBEEQBNl3/gFCnxtnGvaUegAAAABJRU5ErkJggg==";
6234
6237
  function baseSlice$1(array, start, end) {
6235
6238
  var index2 = -1, length = array.length;
@@ -6879,7 +6882,7 @@ const _sfc_main$2 = vue.defineComponent({
6879
6882
  };
6880
6883
  const fileChange = (vs) => fileList.value = vs;
6881
6884
  const handleOk = async () => {
6882
- var _a2, _b, _c;
6885
+ var _a2, _b, _c, _d, _e;
6883
6886
  if (!fileName.value) {
6884
6887
  webVue.Message.error("\u8BF7\u8F93\u5165\u7D20\u6750\u540D\u79F0");
6885
6888
  } else if (!groupId.value) {
@@ -6895,7 +6898,7 @@ const _sfc_main$2 = vue.defineComponent({
6895
6898
  try {
6896
6899
  okLoading.value = true;
6897
6900
  const res = await ((_b = (_a2 = deepConfig.value) == null ? void 0 : _a2.apis) == null ? void 0 : _b.uploadFile(data));
6898
- if (((_c = [0, 200]) == null ? void 0 : _c.includes(+(res == null ? void 0 : res.code))) && (res == null ? void 0 : res.data)) {
6901
+ if (((_c = [0, 200]) == null ? void 0 : _c.includes(+(res == null ? void 0 : res.code))) || ((_e = [0, 200]) == null ? void 0 : _e.includes(+((_d = res == null ? void 0 : res.data) == null ? void 0 : _d.code)))) {
6899
6902
  webVue.Message.success(`\u7D20\u6750\u4E0A\u4F20\u6210\u529F`);
6900
6903
  visible.value = false;
6901
6904
  emit("upload:success");
@@ -7083,7 +7086,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
7083
7086
  _: 1
7084
7087
  }, 8, ["visible", "others", "onHandle:ok"]);
7085
7088
  }
7086
- var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-69d5a27e"]]);
7089
+ var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-5184484c"]]);
7087
7090
  var cRight_vue_vue_type_style_index_0_scoped_true_lang = "";
7088
7091
  const _sfc_main$1 = vue.defineComponent({
7089
7092
  name: "",
package/dist/index.esm.js CHANGED
@@ -6114,7 +6114,10 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
6114
6114
  "pdf",
6115
6115
  "ppt",
6116
6116
  "pptx",
6117
- "txt"
6117
+ "txt",
6118
+ "xls",
6119
+ "xlsx",
6120
+ "xlsm"
6118
6121
  ].includes(item.fileFormat) ? (openBlock(), createElementBlock("div", {
6119
6122
  key: 0,
6120
6123
  class: "header",
@@ -6228,7 +6231,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
6228
6231
  ])
6229
6232
  ], 64);
6230
6233
  }
6231
- var CRightApps = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-0f48f01e"]]);
6234
+ var CRightApps = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5], ["__scopeId", "data-v-bd633c0a"]]);
6232
6235
  var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAPBQTFRFAAAAGWb/GWb/GWb/GWb/Gmf/GWb/GWb/Gmb/G2f/G2j/NXj9IWv/GWb/GWb/Gmb/IWv+G2f/GWb/Hmr/N3n9IWz+GWb/IGv/H2r/GWb/GWb/Gmf/GWb/GWb/GWb/HWj/GWb/GWb/G2f/GWb/Gmb/GWb/Gmf/Nnn9Gmf/GWb/HGj/HGj/J2/+GWb/J2/+HGj/HGj/HGj/HWj/KnH+GWb/GWb/GWb/GWb/Gmf/GWb/GWb/GWb/GWb/H2r/GWb/GWb/Hmn/HWj/Gmb/HGj/Hmn/H2r/GWb/GWb/GWb/GWb/HGn/Gmf/G2f/G2f/GWb/HGj/WjQiHwAAAFB0Uk5TACyWs5wsAgQooaEBSuX/305S21EBWeFBOOf0KUTZ2i/25o9wkPuQAXaIyKMSoBWqw8GjEijd6yQ+0tHcAT3t40xP4EtOOx+KmY0jLoouIx87Gi7bAAAA90lEQVR4nO2SXVOCQBhGgUUwDSrLNEPLwNTK/Ewp8aOyXFLr//+bZJe94MUZvdV5z93Z88DMDkgSgiAIghweskKImtBi53ryiJBUUo8FTVYJURKhpY8Nc83JaWx3lglC5vwChuxlEIwct/yVyShcg5lV5KFkgXBzy0NZZnpnhthg51T4eeU+el6tiSfqzB+EPj5Fhw0RGtHz56YILeZtoZ3ubi/odkRoM69vvYIDgh29Qu+FW38Adu4rD28uCIM+D8MeU280DmwyBTNJe/9gn/Ez9ofMJkEYf3mhf88p9X/gas1iSelytSH8+pTO/zYEBEEQBNl3/gFCnxtnGvaUegAAAABJRU5ErkJggg==";
6233
6236
  function baseSlice$1(array, start, end) {
6234
6237
  var index2 = -1, length = array.length;
@@ -6878,7 +6881,7 @@ const _sfc_main$2 = defineComponent({
6878
6881
  };
6879
6882
  const fileChange = (vs) => fileList.value = vs;
6880
6883
  const handleOk = async () => {
6881
- var _a2, _b, _c;
6884
+ var _a2, _b, _c, _d, _e;
6882
6885
  if (!fileName.value) {
6883
6886
  Message.error("\u8BF7\u8F93\u5165\u7D20\u6750\u540D\u79F0");
6884
6887
  } else if (!groupId.value) {
@@ -6894,7 +6897,7 @@ const _sfc_main$2 = defineComponent({
6894
6897
  try {
6895
6898
  okLoading.value = true;
6896
6899
  const res = await ((_b = (_a2 = deepConfig.value) == null ? void 0 : _a2.apis) == null ? void 0 : _b.uploadFile(data));
6897
- if (((_c = [0, 200]) == null ? void 0 : _c.includes(+(res == null ? void 0 : res.code))) && (res == null ? void 0 : res.data)) {
6900
+ if (((_c = [0, 200]) == null ? void 0 : _c.includes(+(res == null ? void 0 : res.code))) || ((_e = [0, 200]) == null ? void 0 : _e.includes(+((_d = res == null ? void 0 : res.data) == null ? void 0 : _d.code)))) {
6898
6901
  Message.success(`\u7D20\u6750\u4E0A\u4F20\u6210\u529F`);
6899
6902
  visible.value = false;
6900
6903
  emit("upload:success");
@@ -7082,7 +7085,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
7082
7085
  _: 1
7083
7086
  }, 8, ["visible", "others", "onHandle:ok"]);
7084
7087
  }
7085
- var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-69d5a27e"]]);
7088
+ var CUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-5184484c"]]);
7086
7089
  var cRight_vue_vue_type_style_index_0_scoped_true_lang = "";
7087
7090
  const _sfc_main$1 = defineComponent({
7088
7091
  name: "",