vue3-curd 1.0.33 → 1.0.34
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.
|
@@ -31,6 +31,7 @@ export interface ColumnConfig {
|
|
|
31
31
|
permission?: string | string[];
|
|
32
32
|
visible?: boolean | ((column: ColumnConfig, dataSource?: DataSourceConfig) => boolean);
|
|
33
33
|
formatter?: (row: any, column: ColumnConfig, value: any) => string;
|
|
34
|
+
bold?: boolean;
|
|
34
35
|
form?: FormConfig;
|
|
35
36
|
search?: SearchConfig;
|
|
36
37
|
}
|
package/dist/src/plugin.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const messages: {
|
|
|
10
10
|
刪除成功: string;
|
|
11
11
|
編輯: string;
|
|
12
12
|
導出: string;
|
|
13
|
+
確認選擇: string;
|
|
13
14
|
請選擇: string;
|
|
14
15
|
請輸入: string;
|
|
15
16
|
至: string;
|
|
@@ -17,6 +18,7 @@ export declare const messages: {
|
|
|
17
18
|
結束日期: string;
|
|
18
19
|
開始時間: string;
|
|
19
20
|
結束時間: string;
|
|
21
|
+
返回: string;
|
|
20
22
|
操作: string;
|
|
21
23
|
未查詢到數據: string;
|
|
22
24
|
'\u6578\u64DA\u52A0\u8F09\u4E2D...': string;
|
|
@@ -41,12 +43,14 @@ export declare const messages: {
|
|
|
41
43
|
編輯: string;
|
|
42
44
|
導出: string;
|
|
43
45
|
請選擇: string;
|
|
46
|
+
確認選擇: string;
|
|
44
47
|
請輸入: string;
|
|
45
48
|
至: string;
|
|
46
49
|
開始日期: string;
|
|
47
50
|
結束日期: string;
|
|
48
51
|
開始時間: string;
|
|
49
52
|
結束時間: string;
|
|
53
|
+
返回: string;
|
|
50
54
|
操作: string;
|
|
51
55
|
未查詢到數據: string;
|
|
52
56
|
'\u6578\u64DA\u52A0\u8F09\u4E2D...': string;
|
|
@@ -70,6 +74,7 @@ export declare const messages: {
|
|
|
70
74
|
刪除成功: string;
|
|
71
75
|
編輯: string;
|
|
72
76
|
導出: string;
|
|
77
|
+
確認選擇: string;
|
|
73
78
|
請選擇: string;
|
|
74
79
|
請輸入: string;
|
|
75
80
|
至: string;
|
|
@@ -77,6 +82,7 @@ export declare const messages: {
|
|
|
77
82
|
結束日期: string;
|
|
78
83
|
開始時間: string;
|
|
79
84
|
結束時間: string;
|
|
85
|
+
返回: string;
|
|
80
86
|
操作: string;
|
|
81
87
|
未查詢到數據: string;
|
|
82
88
|
'\u6578\u64DA\u52A0\u8F09\u4E2D...': string;
|
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-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-
|
|
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-c4ff8f0a]{padding:12px 15px 15px 5px;font-size:14px}.image-preview[data-v-c4ff8f0a]{display:flex;justify-content:center}.el-switch .is-disabled[data-v-c4ff8f0a]{opacity:1}.image-style[data-v-c4ff8f0a]{display:flex;justify-content:center}.image-fallback[data-v-c4ff8f0a]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:18px;color:var(--el-text-color-placeholder, #c0c4cc);background-color:var(--el-fill-color-light, #f5f7fa);border-radius:2px}.tc-text[data-v-c4ff8f0a]{display:flex;text-overflow:ellipsis;line-clamp:2;-webkit-line-clamp:2;overflow:hidden;-webkit-box-orient:vertical}.el-column-tag[data-v-c4ff8f0a]{margin-right:2px}[data-v-c4ff8f0a] .col-bold .cell{font-weight:700}.color-cell[data-v-c4ff8f0a]{display:flex;justify-content:center}.color-cell-item[data-v-c4ff8f0a]{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-02f3ee23]{margin-left:10px;color:#666}[data-v-02f3ee23] .el-p .el-input__wrapper{width:100%!important}.curdEditDialog .el-dialog__footer{padding-top:0!important;padding-right:12px}.curd-search-card[data-v-fba774a0]{margin-bottom:12px!important}.curd-search-card[data-v-fba774a0] .el-form-item__label{font-weight:400;font-size:14px;color:var(--el-text-color-regular)}.search[data-v-fba774a0]{cursor:pointer;padding:12px 14px 0;border-radius:4px}.p-3[data-v-d46e0987]{padding:.75rem}
|
package/dist/vue3-curd.es.js
CHANGED
|
@@ -357,7 +357,6 @@ function Ie(e, l, t) {
|
|
|
357
357
|
const r = t ? l.subPrefix || "" : l.prefix || "", u = t ? l.subSuffix || "" : l.suffix || "";
|
|
358
358
|
let m = `${r}${c}${u}`;
|
|
359
359
|
if (!t && l.suffixProp) {
|
|
360
|
-
debugger;
|
|
361
360
|
const f = Re(e, l.suffixProp);
|
|
362
361
|
f != null && f !== "" && (m += f);
|
|
363
362
|
}
|
|
@@ -721,7 +720,8 @@ const el = (e) => {
|
|
|
721
720
|
align: q(g),
|
|
722
721
|
sortable: g.sort ? "custom" : !1,
|
|
723
722
|
"show-overflow-tooltip": g.showOverflowTooltip || !0,
|
|
724
|
-
fixed: g.fixed
|
|
723
|
+
fixed: g.fixed,
|
|
724
|
+
"class-name": g.bold ? "col-bold" : ""
|
|
725
725
|
}, {
|
|
726
726
|
default: v(({ row: x }) => [
|
|
727
727
|
g.slot ? Le(k.$slots, g.slot, {
|
|
@@ -890,7 +890,7 @@ const el = (e) => {
|
|
|
890
890
|
], 64))
|
|
891
891
|
]),
|
|
892
892
|
_: 2
|
|
893
|
-
}, 1032, ["label", "width", "min-width", "prop", "align", "sortable", "show-overflow-tooltip", "fixed"])) : J("", !0)
|
|
893
|
+
}, 1032, ["label", "width", "min-width", "prop", "align", "sortable", "show-overflow-tooltip", "fixed", "class-name"])) : J("", !0)
|
|
894
894
|
], 64))), 128)),
|
|
895
895
|
o(d).length > 0 ? (s(), h(ae, {
|
|
896
896
|
key: 2,
|
|
@@ -972,7 +972,7 @@ const el = (e) => {
|
|
|
972
972
|
]);
|
|
973
973
|
};
|
|
974
974
|
}
|
|
975
|
-
}), na = /* @__PURE__ */ ye(sl, [["__scopeId", "data-v-
|
|
975
|
+
}), na = /* @__PURE__ */ ye(sl, [["__scopeId", "data-v-c4ff8f0a"]]), cl = { class: "upload-file" }, ul = {
|
|
976
976
|
key: 0,
|
|
977
977
|
class: "el-upload__tip"
|
|
978
978
|
}, il = { style: { color: "#f56c6c" } }, dl = { style: { color: "#f56c6c" } }, pl = { class: "el-icon-document" }, fl = { class: "ele-upload-list__item-content-action" }, hl = /* @__PURE__ */ pe({
|
|
@@ -2756,6 +2756,7 @@ const Ol = { key: 20 }, Ll = { class: "color-picker-tips" }, zl = /* @__PURE__ *
|
|
|
2756
2756
|
刪除成功: "删除成功",
|
|
2757
2757
|
編輯: "编辑",
|
|
2758
2758
|
導出: "导出",
|
|
2759
|
+
確認選擇: "确认选择",
|
|
2759
2760
|
請選擇: "请选择",
|
|
2760
2761
|
請輸入: "请输入",
|
|
2761
2762
|
至: "至",
|
|
@@ -2763,6 +2764,7 @@ const Ol = { key: 20 }, Ll = { class: "color-picker-tips" }, zl = /* @__PURE__ *
|
|
|
2763
2764
|
結束日期: "结束日期",
|
|
2764
2765
|
開始時間: "开始时间",
|
|
2765
2766
|
結束時間: "结束时间",
|
|
2767
|
+
返回: "返回",
|
|
2766
2768
|
// ============ 表格 ============
|
|
2767
2769
|
操作: "操作",
|
|
2768
2770
|
未查詢到數據: "未查询到数据",
|
|
@@ -2790,12 +2792,15 @@ const Ol = { key: 20 }, Ll = { class: "color-picker-tips" }, zl = /* @__PURE__ *
|
|
|
2790
2792
|
編輯: "編輯",
|
|
2791
2793
|
導出: "導出",
|
|
2792
2794
|
請選擇: "請選擇",
|
|
2795
|
+
確認選擇: "確認選擇",
|
|
2796
|
+
// 確認選擇: '確認選擇',
|
|
2793
2797
|
請輸入: "請輸入",
|
|
2794
2798
|
至: "至",
|
|
2795
2799
|
開始日期: "開始日期",
|
|
2796
2800
|
結束日期: "結束日期",
|
|
2797
2801
|
開始時間: "開始時間",
|
|
2798
2802
|
結束時間: "結束時間",
|
|
2803
|
+
返回: "返回",
|
|
2799
2804
|
// ============ 表格 ============
|
|
2800
2805
|
操作: "操作",
|
|
2801
2806
|
未查詢到數據: "未查詢到數據",
|
|
@@ -2822,6 +2827,7 @@ const Ol = { key: 20 }, Ll = { class: "color-picker-tips" }, zl = /* @__PURE__ *
|
|
|
2822
2827
|
刪除成功: "Deleted successfully",
|
|
2823
2828
|
編輯: "Edit",
|
|
2824
2829
|
導出: "Export",
|
|
2830
|
+
確認選擇: "Confirm Selection",
|
|
2825
2831
|
請選擇: "Select ",
|
|
2826
2832
|
請輸入: "Enter ",
|
|
2827
2833
|
至: "to",
|
|
@@ -2829,6 +2835,7 @@ const Ol = { key: 20 }, Ll = { class: "color-picker-tips" }, zl = /* @__PURE__ *
|
|
|
2829
2835
|
結束日期: "End Date",
|
|
2830
2836
|
開始時間: "Start Time",
|
|
2831
2837
|
結束時間: "End Time",
|
|
2838
|
+
返回: "Back",
|
|
2832
2839
|
// ============ Table ============
|
|
2833
2840
|
操作: "Action",
|
|
2834
2841
|
未查詢到數據: "No data found",
|