vue3-curd 1.0.2 → 1.0.4
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.
|
@@ -30,5 +30,5 @@ declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
30
30
|
data: Record<string, any>;
|
|
31
31
|
width: string | number;
|
|
32
32
|
height: string | number;
|
|
33
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
33
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
34
34
|
export default _default;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.sub-el-icon[data-v-ed552a8d],.nav-icon[data-v-ed552a8d]{display:inline-block;font-size:15px;margin-right:12px;position:relative}.svg-icon[data-v-ed552a8d]{width:1em;height:1em;position:relative;fill:currentColor;vertical-align:-2px}.el-tag+.el-tag[data-v-9a5060d2]{margin-left:5px;margin-bottom:3px;margin-top:3px}.el-image[data-v-dc163acb]{border-radius:2px}.el-image[data-v-dc163acb] .el-image__inner{transition:all .3s;cursor:pointer}.el-image[data-v-dc163acb] .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#909399;font-size:30px}.image-slot[data-v-dc163acb]{display:flex;justify-content:center;align-items:center;width:110px;height:100px;color:#909399;font-size:30px;border-radius:5px}.el-image[data-v-
|
|
1
|
+
@charset "UTF-8";.sub-el-icon[data-v-ed552a8d],.nav-icon[data-v-ed552a8d]{display:inline-block;font-size:15px;margin-right:12px;position:relative}.svg-icon[data-v-ed552a8d]{width:1em;height:1em;position:relative;fill:currentColor;vertical-align:-2px}.el-tag+.el-tag[data-v-9a5060d2]{margin-left:5px;margin-bottom:3px;margin-top:3px}.el-image[data-v-dc163acb]{border-radius:2px}.el-image[data-v-dc163acb] .el-image__inner{transition:all .3s;cursor:pointer}.el-image[data-v-dc163acb] .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#909399;font-size:30px}.image-slot[data-v-dc163acb]{display:flex;justify-content:center;align-items:center;width:110px;height:100px;color:#909399;font-size:30px;border-radius:5px}.el-image[data-v-a3763021]{border-radius:4px}.el-image[data-v-a3763021] .el-image__inner{transition:all .3s;cursor:pointer}.el-image[data-v-a3763021] .el-image__inner:hover{transform:scale(1.2)}.el-image[data-v-a3763021] .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#909399;font-size:30px}.paging[data-v-5f05b778]{padding:12px 15px 15px;font-size:14px}.image-preview[data-v-5f05b778]{display:flex;justify-content:center}.el-switch .is-disabled[data-v-5f05b778]{opacity:1}.image-style[data-v-5f05b778]{display:flex;justify-content:center}.tc-text[data-v-5f05b778]{display:flex;text-overflow:ellipsis;line-clamp:2;-webkit-line-clamp:2;overflow:hidden;-webkit-box-orient:vertical}.el-column-tag[data-v-5f05b778]{margin-right:2px}.color-cell[data-v-5f05b778]{display:flex;justify-content:center}.color-cell-item[data-v-5f05b778]{width:24px;height:24px;border-radius:2px}.upload-file-uploader[data-v-027e6121]{margin-bottom:5px}.upload-file-list .el-upload-list__item[data-v-027e6121]{border:1px solid #e4e7ed;line-height:2;margin-bottom:10px;position:relative;padding-left:10px}.upload-file-list .ele-upload-list__item-content[data-v-027e6121]{display:flex;justify-content:space-between;align-items:center;color:inherit}.ele-upload-list__item-content-action .el-link[data-v-027e6121]{margin-right:10px}[data-v-c17cf859] .hide .el-upload--picture-card{display:none}[data-v-c17cf859] .el-upload--picture-card{width:var(--9d14746a);height:var(--9d14746a);line-height:var(--9d14746a)}[data-v-c17cf859] .el-upload-list__item{width:var(--9d14746a);height:var(--9d14746a)}.editor-img-uploader{display:none}.editor,.ql-toolbar{white-space:pre-wrap!important;line-height:normal!important}.quill-img{display:none}.ql-snow .ql-tooltip[data-mode=link]:before{content:"请输入链接地址:"}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"保存";padding-right:0}.ql-snow .ql-tooltip[data-mode=video]:before{content:"请输入视频地址:"}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"14px"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"10px"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"18px"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"32px"}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"文本"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"标题1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"标题2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"标题3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"标题4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"标题5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"标题6"}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"标准字体"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"衬线字体"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"等宽字体"}.color-picker-tips[data-v-aa73b22b]{margin-left:10px;color:#666}[data-v-aa73b22b] .el-p .el-input__wrapper{width:100%!important}.curdEditDialog .el-dialog__footer{padding-top:0!important;padding-right:12px}.curd-search-card[data-v-88290712]{margin-bottom:12px!important}.curd-search-card[data-v-88290712] .el-form-item__label{font-weight:400;font-size:14px;color:var(--el-text-color-regular)}.search[data-v-88290712]{cursor:pointer;padding:12px 14px 0;border-radius:4px}
|
package/dist/vue3-curd.es.js
CHANGED
|
@@ -221,53 +221,55 @@ const Va = { class: "image-slot" }, _a = { key: 1 }, $a = /* @__PURE__ */ fe({
|
|
|
221
221
|
);
|
|
222
222
|
return (c, n) => {
|
|
223
223
|
const p = xe, y = Be, h = Fe;
|
|
224
|
-
return
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
224
|
+
return s(), T("span", null, [
|
|
225
|
+
[".jpg", ".png", ".jpeg"].indexOf(e.data.fileSuffix) > -1 ? (s(), f(y, {
|
|
226
|
+
key: 0,
|
|
227
|
+
src: e.data.url,
|
|
228
|
+
fit: "cover",
|
|
229
|
+
"preview-src-list": [e.data.url],
|
|
230
|
+
style: he(`width:${o(a)};height:${o(l)};`),
|
|
231
|
+
"preview-teleported": ""
|
|
232
|
+
}, {
|
|
233
|
+
error: v(() => [
|
|
234
|
+
re("div", Sa, [
|
|
235
|
+
K(p, null, {
|
|
236
|
+
default: v(() => [
|
|
237
|
+
K(o(ze))
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
})
|
|
241
|
+
])
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["src", "preview-src-list", "style"])) : [".xls", ".xlsx", ".csv"].indexOf(e.data.fileSuffix) > -1 ? (s(), f(h, {
|
|
245
|
+
key: 1,
|
|
246
|
+
"icon-class": "excel",
|
|
247
|
+
style: he(`width:${o(a)};height:${o(l)};`)
|
|
248
|
+
}, null, 8, ["style"])) : [".doc", ".docx"].indexOf(e.data.fileSuffix) > -1 ? (s(), f(h, {
|
|
249
|
+
key: 2,
|
|
250
|
+
"icon-class": "word",
|
|
251
|
+
style: he(`width:${o(a)};height:${o(l)};`)
|
|
252
|
+
}, null, 8, ["style"])) : [".pdf"].indexOf(e.data.fileSuffix) > -1 ? (s(), f(h, {
|
|
253
|
+
key: 3,
|
|
254
|
+
"icon-class": "pdf",
|
|
255
|
+
style: he(`width:${o(a)};height:${o(l)};`)
|
|
256
|
+
}, null, 8, ["style"])) : [".tet"].indexOf(e.data.fileSuffix) > -1 ? (s(), f(h, {
|
|
257
|
+
key: 4,
|
|
258
|
+
"icon-class": "tet",
|
|
259
|
+
style: he(`width:${o(a)};height:${o(l)};`)
|
|
260
|
+
}, null, 8, ["style"])) : [".zip"].indexOf(e.data.fileSuffix) > -1 ? (s(), f(h, {
|
|
261
|
+
key: 5,
|
|
262
|
+
"icon-class": "zip",
|
|
263
|
+
style: he(`width:${o(a)};height:${o(l)};`)
|
|
264
|
+
}, null, 8, ["style"])) : (s(), f(h, {
|
|
265
|
+
key: 6,
|
|
266
|
+
"icon-class": "unknown",
|
|
267
|
+
style: he(`width:${o(a)};height:${o(l)};`)
|
|
268
|
+
}, null, 8, ["style"]))
|
|
269
|
+
]);
|
|
268
270
|
};
|
|
269
271
|
}
|
|
270
|
-
}), Dl = /* @__PURE__ */ be(Da, [["__scopeId", "data-v-
|
|
272
|
+
}), Dl = /* @__PURE__ */ be(Da, [["__scopeId", "data-v-a3763021"]]), Cl = {
|
|
271
273
|
bool: [
|
|
272
274
|
{ label: "是", value: "1" },
|
|
273
275
|
{ label: "否", value: "0" },
|
|
@@ -2631,7 +2633,7 @@ const gt = { key: 20 }, bt = { class: "color-picker-tips" }, vt = /* @__PURE__ *
|
|
|
2631
2633
|
])) : X("", !0);
|
|
2632
2634
|
};
|
|
2633
2635
|
}
|
|
2634
|
-
}), _t = /* @__PURE__ */ be(Vt, [["__scopeId", "data-v-
|
|
2636
|
+
}), _t = /* @__PURE__ */ be(Vt, [["__scopeId", "data-v-88290712"]]), $t = { key: 1 }, St = /* @__PURE__ */ fe({
|
|
2635
2637
|
__name: "index",
|
|
2636
2638
|
props: {
|
|
2637
2639
|
dataSource: {},
|