@bscomp/ep-ui 0.2.2 → 0.2.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.
- package/lib/ep-ui.js +2413 -2372
- package/lib/ep-ui.js.gz +0 -0
- package/lib/ep-ui.umd.cjs +11 -11
- package/lib/form-dialog/index.d.ts +18 -3
- package/lib/form-dialog/src/index.vue.d.ts +7 -1
- package/lib/style.css +1 -1
- package/lib/table/index.d.ts +19 -4
- package/lib/table/src/index.vue.d.ts +12 -3
- package/lib/table/src/useCheckList.d.ts +916 -0
- package/lib/table/src/useHooks.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const EPDialog: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
submitLoading: import('vue').PropType<any>;
|
|
3
4
|
modelValue: import('vue').PropType<any>;
|
|
4
5
|
params: import('vue').PropType<any>;
|
|
5
6
|
title: {
|
|
@@ -38,7 +39,11 @@ declare const EPDialog: ({
|
|
|
38
39
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
39
40
|
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
40
41
|
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
}>, {
|
|
42
|
+
}>, {
|
|
43
|
+
formRef: import('vue').Ref<any, any>;
|
|
44
|
+
dialogRef: import('vue').Ref<any, any>;
|
|
45
|
+
clearValidate: () => void;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
47
|
close: (...args: any[]) => void;
|
|
43
48
|
handleCancel: (...args: any[]) => void;
|
|
44
49
|
handleSubmit: (...args: any[]) => void;
|
|
@@ -57,6 +62,7 @@ declare const EPDialog: ({
|
|
|
57
62
|
M: {};
|
|
58
63
|
Defaults: {};
|
|
59
64
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
65
|
+
submitLoading: import('vue').PropType<any>;
|
|
60
66
|
modelValue: import('vue').PropType<any>;
|
|
61
67
|
params: import('vue').PropType<any>;
|
|
62
68
|
title: {
|
|
@@ -95,7 +101,11 @@ declare const EPDialog: ({
|
|
|
95
101
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
96
102
|
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
97
103
|
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
98
|
-
}>, {
|
|
104
|
+
}>, {
|
|
105
|
+
formRef: import('vue').Ref<any, any>;
|
|
106
|
+
dialogRef: import('vue').Ref<any, any>;
|
|
107
|
+
clearValidate: () => void;
|
|
108
|
+
}, {}, {}, {}, {
|
|
99
109
|
title: string;
|
|
100
110
|
formProps: any;
|
|
101
111
|
cancelText: string;
|
|
@@ -107,6 +117,7 @@ declare const EPDialog: ({
|
|
|
107
117
|
__isTeleport?: undefined;
|
|
108
118
|
__isSuspense?: undefined;
|
|
109
119
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
120
|
+
submitLoading: import('vue').PropType<any>;
|
|
110
121
|
modelValue: import('vue').PropType<any>;
|
|
111
122
|
params: import('vue').PropType<any>;
|
|
112
123
|
title: {
|
|
@@ -145,7 +156,11 @@ declare const EPDialog: ({
|
|
|
145
156
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
146
157
|
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
147
158
|
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
148
|
-
}>, {
|
|
159
|
+
}>, {
|
|
160
|
+
formRef: import('vue').Ref<any, any>;
|
|
161
|
+
dialogRef: import('vue').Ref<any, any>;
|
|
162
|
+
clearValidate: () => void;
|
|
163
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
149
164
|
close: (...args: any[]) => void;
|
|
150
165
|
handleCancel: (...args: any[]) => void;
|
|
151
166
|
handleSubmit: (...args: any[]) => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
submitLoading: import('vue').PropType<any>;
|
|
2
3
|
modelValue: import('vue').PropType<any>;
|
|
3
4
|
params: import('vue').PropType<any>;
|
|
4
5
|
title: {
|
|
@@ -33,11 +34,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
33
34
|
height: {
|
|
34
35
|
type: import('vue').PropType<string>;
|
|
35
36
|
};
|
|
36
|
-
}>, {
|
|
37
|
+
}>, {
|
|
38
|
+
formRef: import('vue').Ref<any, any>;
|
|
39
|
+
dialogRef: import('vue').Ref<any, any>;
|
|
40
|
+
clearValidate: () => void;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
42
|
close: (...args: any[]) => void;
|
|
38
43
|
handleCancel: (...args: any[]) => void;
|
|
39
44
|
handleSubmit: (...args: any[]) => void;
|
|
40
45
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
46
|
+
submitLoading: import('vue').PropType<any>;
|
|
41
47
|
modelValue: import('vue').PropType<any>;
|
|
42
48
|
params: import('vue').PropType<any>;
|
|
43
49
|
title: {
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.e-p-select .all-checkbox[data-v-174adf96]{margin-left:20px}.column_set .ep_table_column_setting_dropdown{font-size:14px;display:flex;flex-direction:column;max-height:450px;overflow-y:auto}.column_set .ep_table_column_setting_dropdown .item{padding:0 16px}.column_set .ep_table_column_setting_dropdown .item:hover{background-color:#ecf5ff}.column_set .ep_table_column_setting_dropdown .footer{box-sizing:border-box;padding-top:6px;border-top:1px solid #dcdfe6}.column_set .ep_table_column_setting_dropdown .footer:hover{border-top:1px solid #dcdfe6}.column_set .ep_table_column_setting_dropdown .footer .el-button{border-radius:none}.column_set .ep_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label,.column_set .ep_table_column_setting_dropdown .el-checkbox .ep-checkbox__input.is-checked+.ep-checkbox__label{cursor:move}div[data-v-
|
|
1
|
+
.e-p-select .all-checkbox[data-v-174adf96]{margin-left:20px}.column_set .ep_table_column_setting_dropdown{font-size:14px;display:flex;flex-direction:column;max-height:450px;overflow-y:auto}.column_set .ep_table_column_setting_dropdown .item{padding:0 16px}.column_set .ep_table_column_setting_dropdown .item:hover{background-color:#ecf5ff}.column_set .ep_table_column_setting_dropdown .footer{box-sizing:border-box;padding-top:6px;border-top:1px solid #dcdfe6}.column_set .ep_table_column_setting_dropdown .footer:hover{border-top:1px solid #dcdfe6}.column_set .ep_table_column_setting_dropdown .footer .el-button{border-radius:none}.column_set .ep_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label,.column_set .ep_table_column_setting_dropdown .el-checkbox .ep-checkbox__input.is-checked+.ep-checkbox__label{cursor:move}div[data-v-bba14a37]{box-sizing:border-box}.e-p-table[data-v-bba14a37]{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden}.e-p-table .table-content[data-v-bba14a37]{flex:1;display:flex;flex-direction:column;position:relative;box-sizing:border-box;overflow:hidden}.e-p-table .table-content .header-wapper[data-v-bba14a37]{display:flex;flex-direction:column}.e-p-table .table-content .extra[data-v-bba14a37],.e-p-table .table-content .header[data-v-bba14a37]{padding-bottom:16px}.e-p-table .el-pagination-com[data-v-bba14a37]{padding-top:16px;display:flex;justify-content:flex-end;align-items:center}.e-p-table .header[data-v-bba14a37]{display:flex;justify-content:space-between;align-items:center}.e-p-table .radioStyle[data-v-bba14a37] tbody .el-table__row{cursor:pointer}.btn-wrapper[data-v-bba14a37],.input-content[data-v-bba14a37]{display:flex;gap:8px}.btn-wrapper[data-v-bba14a37] .el-button+.el-button,.input-content[data-v-bba14a37] .el-button+.el-button{margin-left:0!important}.e-p-form-wrapper:not(.inline-flex-form){display:flex;flex-direction:column;justify-content:space-between;height:100%}.e-p-form-wrapper:not(.inline-flex-form) .inline-flex{display:flex}.e-p-form-wrapper:not(.inline-flex-form) .text_show{color:var(--el-text-color-primary)}.e-p-form-wrapper:not(.inline-flex-form) .slot_label .el-form-item__content label{color:var(--el-text-color-primary);margin-right:12px}.e-p-form-wrapper:not(.inline-flex-form) .footer{width:100%;display:flex;align-items:center;justify-content:center}.inline-flex-form{display:flex;justify-content:space-between}.inline-flex-form .e-p-form{flex:1}.inline-flex-form .inline-flex>div{display:inline-block}.inline-flex-form .footer{display:inline}.el-form--inline .el-form-item{margin:0}
|
package/lib/table/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare const EPTable: ({
|
|
|
31
31
|
operation?: [] | {
|
|
32
32
|
label?: string | undefined;
|
|
33
33
|
width?: string | undefined;
|
|
34
|
-
|
|
34
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
35
35
|
operationType?: "rowEdit" | undefined;
|
|
36
36
|
func: Function;
|
|
37
37
|
disabled?: boolean | undefined;
|
|
@@ -59,6 +59,10 @@ declare const EPTable: ({
|
|
|
59
59
|
type: import('vue').PropType<string>;
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
62
|
+
heightlightClick: {
|
|
63
|
+
type: import('vue').PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
62
66
|
filterCheckList: {
|
|
63
67
|
type: import('vue').PropType<(list: any[]) => any>;
|
|
64
68
|
};
|
|
@@ -1031,6 +1035,7 @@ declare const EPTable: ({
|
|
|
1031
1035
|
}, import('vue').PublicProps, {
|
|
1032
1036
|
loading: boolean;
|
|
1033
1037
|
rowKey: string;
|
|
1038
|
+
heightlightClick: boolean;
|
|
1034
1039
|
isShowMenu: boolean;
|
|
1035
1040
|
refreshTitle: string;
|
|
1036
1041
|
isShowPagination: boolean;
|
|
@@ -1085,7 +1090,7 @@ declare const EPTable: ({
|
|
|
1085
1090
|
operation?: [] | {
|
|
1086
1091
|
label?: string | undefined;
|
|
1087
1092
|
width?: string | undefined;
|
|
1088
|
-
|
|
1093
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
1089
1094
|
operationType?: "rowEdit" | undefined;
|
|
1090
1095
|
func: Function;
|
|
1091
1096
|
disabled?: boolean | undefined;
|
|
@@ -1113,6 +1118,10 @@ declare const EPTable: ({
|
|
|
1113
1118
|
type: import('vue').PropType<string>;
|
|
1114
1119
|
default: string;
|
|
1115
1120
|
};
|
|
1121
|
+
heightlightClick: {
|
|
1122
|
+
type: import('vue').PropType<boolean>;
|
|
1123
|
+
default: boolean;
|
|
1124
|
+
};
|
|
1116
1125
|
filterCheckList: {
|
|
1117
1126
|
type: import('vue').PropType<(list: any[]) => any>;
|
|
1118
1127
|
};
|
|
@@ -2079,6 +2088,7 @@ declare const EPTable: ({
|
|
|
2079
2088
|
}, {}, {}, {}, {
|
|
2080
2089
|
loading: boolean;
|
|
2081
2090
|
rowKey: string;
|
|
2091
|
+
heightlightClick: boolean;
|
|
2082
2092
|
isShowMenu: boolean;
|
|
2083
2093
|
refreshTitle: string;
|
|
2084
2094
|
isShowPagination: boolean;
|
|
@@ -2130,7 +2140,7 @@ declare const EPTable: ({
|
|
|
2130
2140
|
operation?: [] | {
|
|
2131
2141
|
label?: string | undefined;
|
|
2132
2142
|
width?: string | undefined;
|
|
2133
|
-
|
|
2143
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
2134
2144
|
operationType?: "rowEdit" | undefined;
|
|
2135
2145
|
func: Function;
|
|
2136
2146
|
disabled?: boolean | undefined;
|
|
@@ -2158,6 +2168,10 @@ declare const EPTable: ({
|
|
|
2158
2168
|
type: import('vue').PropType<string>;
|
|
2159
2169
|
default: string;
|
|
2160
2170
|
};
|
|
2171
|
+
heightlightClick: {
|
|
2172
|
+
type: import('vue').PropType<boolean>;
|
|
2173
|
+
default: boolean;
|
|
2174
|
+
};
|
|
2161
2175
|
filterCheckList: {
|
|
2162
2176
|
type: import('vue').PropType<(list: any[]) => any>;
|
|
2163
2177
|
};
|
|
@@ -3130,6 +3144,7 @@ declare const EPTable: ({
|
|
|
3130
3144
|
}, string, {
|
|
3131
3145
|
loading: boolean;
|
|
3132
3146
|
rowKey: string;
|
|
3147
|
+
heightlightClick: boolean;
|
|
3133
3148
|
isShowMenu: boolean;
|
|
3134
3149
|
refreshTitle: string;
|
|
3135
3150
|
isShowPagination: boolean;
|
|
@@ -3163,7 +3178,7 @@ declare const EPTable: ({
|
|
|
3163
3178
|
operation?: [] | {
|
|
3164
3179
|
label?: string | undefined;
|
|
3165
3180
|
width?: string | undefined;
|
|
3166
|
-
|
|
3181
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
3167
3182
|
operationType?: "rowEdit" | undefined;
|
|
3168
3183
|
func: Function;
|
|
3169
3184
|
disabled?: boolean | undefined;
|
|
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
32
32
|
operation?: [] | {
|
|
33
33
|
label?: string | undefined;
|
|
34
34
|
width?: string | undefined;
|
|
35
|
-
|
|
35
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
36
36
|
operationType?: "rowEdit" | undefined;
|
|
37
37
|
func: Function;
|
|
38
38
|
disabled?: boolean | undefined;
|
|
@@ -60,6 +60,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
60
60
|
type: import('vue').PropType<string>;
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
|
+
heightlightClick: {
|
|
64
|
+
type: import('vue').PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
63
67
|
filterCheckList: {
|
|
64
68
|
type: import('vue').PropType<(list: any[]) => any>;
|
|
65
69
|
};
|
|
@@ -1055,7 +1059,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1055
1059
|
operation?: [] | {
|
|
1056
1060
|
label?: string | undefined;
|
|
1057
1061
|
width?: string | undefined;
|
|
1058
|
-
|
|
1062
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
1059
1063
|
operationType?: "rowEdit" | undefined;
|
|
1060
1064
|
func: Function;
|
|
1061
1065
|
disabled?: boolean | undefined;
|
|
@@ -1083,6 +1087,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1083
1087
|
type: import('vue').PropType<string>;
|
|
1084
1088
|
default: string;
|
|
1085
1089
|
};
|
|
1090
|
+
heightlightClick: {
|
|
1091
|
+
type: import('vue').PropType<boolean>;
|
|
1092
|
+
default: boolean;
|
|
1093
|
+
};
|
|
1086
1094
|
filterCheckList: {
|
|
1087
1095
|
type: import('vue').PropType<(list: any[]) => any>;
|
|
1088
1096
|
};
|
|
@@ -1137,6 +1145,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1137
1145
|
}>, {
|
|
1138
1146
|
loading: boolean;
|
|
1139
1147
|
rowKey: string;
|
|
1148
|
+
heightlightClick: boolean;
|
|
1140
1149
|
isShowMenu: boolean;
|
|
1141
1150
|
refreshTitle: string;
|
|
1142
1151
|
isShowPagination: boolean;
|
|
@@ -1169,7 +1178,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1169
1178
|
operation?: [] | {
|
|
1170
1179
|
label?: string | undefined;
|
|
1171
1180
|
width?: string | undefined;
|
|
1172
|
-
|
|
1181
|
+
hidden?: ((row: any, index: number) => boolean) | undefined;
|
|
1173
1182
|
operationType?: "rowEdit" | undefined;
|
|
1174
1183
|
func: Function;
|
|
1175
1184
|
disabled?: boolean | undefined;
|