@bscomp/ep-ui 0.0.9 → 0.1.1
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 +2023 -2020
- package/lib/ep-ui.js.gz +0 -0
- package/lib/ep-ui.umd.cjs +9 -9
- package/lib/form/index.d.ts +15 -0
- package/lib/form/src/index.vue.d.ts +9 -0
- package/lib/style.css +1 -1
- package/lib/table/index.d.ts +37 -1
- package/lib/table/src/index.vue.d.ts +22 -1
- package/package.json +1 -1
package/lib/form/index.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ declare const EPForm: ({
|
|
|
37
37
|
type: import('vue').PropType<number>;
|
|
38
38
|
default: number;
|
|
39
39
|
};
|
|
40
|
+
inlineGap: {
|
|
41
|
+
type: import('vue').PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
40
44
|
}>> & Readonly<{
|
|
41
45
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
42
46
|
}>, {
|
|
@@ -53,6 +57,7 @@ declare const EPForm: ({
|
|
|
53
57
|
valueWidth: string;
|
|
54
58
|
inline: boolean;
|
|
55
59
|
colNum: number;
|
|
60
|
+
inlineGap: string;
|
|
56
61
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
57
62
|
P: {};
|
|
58
63
|
B: {};
|
|
@@ -98,6 +103,10 @@ declare const EPForm: ({
|
|
|
98
103
|
type: import('vue').PropType<number>;
|
|
99
104
|
default: number;
|
|
100
105
|
};
|
|
106
|
+
inlineGap: {
|
|
107
|
+
type: import('vue').PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
101
110
|
}>> & Readonly<{
|
|
102
111
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
103
112
|
}>, {
|
|
@@ -112,6 +121,7 @@ declare const EPForm: ({
|
|
|
112
121
|
valueWidth: string;
|
|
113
122
|
inline: boolean;
|
|
114
123
|
colNum: number;
|
|
124
|
+
inlineGap: string;
|
|
115
125
|
}>;
|
|
116
126
|
__isFragment?: undefined;
|
|
117
127
|
__isTeleport?: undefined;
|
|
@@ -154,6 +164,10 @@ declare const EPForm: ({
|
|
|
154
164
|
type: import('vue').PropType<number>;
|
|
155
165
|
default: number;
|
|
156
166
|
};
|
|
167
|
+
inlineGap: {
|
|
168
|
+
type: import('vue').PropType<string>;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
157
171
|
}>> & Readonly<{
|
|
158
172
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
159
173
|
}>, {
|
|
@@ -170,6 +184,7 @@ declare const EPForm: ({
|
|
|
170
184
|
valueWidth: string;
|
|
171
185
|
inline: boolean;
|
|
172
186
|
colNum: number;
|
|
187
|
+
inlineGap: string;
|
|
173
188
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
174
189
|
$slots: Partial<Record<any, (_: {
|
|
175
190
|
scope: any;
|
|
@@ -36,6 +36,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
36
36
|
type: import('vue').PropType<number>;
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
|
+
inlineGap: {
|
|
40
|
+
type: import('vue').PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
39
43
|
}>, {
|
|
40
44
|
resetFields: () => any;
|
|
41
45
|
validate: (fun: any) => any;
|
|
@@ -80,6 +84,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
80
84
|
type: import('vue').PropType<number>;
|
|
81
85
|
default: number;
|
|
82
86
|
};
|
|
87
|
+
inlineGap: {
|
|
88
|
+
type: import('vue').PropType<string>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
83
91
|
}>> & Readonly<{
|
|
84
92
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
85
93
|
}>, {
|
|
@@ -90,6 +98,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
90
98
|
valueWidth: string;
|
|
91
99
|
inline: boolean;
|
|
92
100
|
colNum: number;
|
|
101
|
+
inlineGap: string;
|
|
93
102
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<any, (_: {
|
|
94
103
|
scope: any;
|
|
95
104
|
}) => any>> & Partial<Record<any, (_: {
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.e-p-select .all-checkbox[data-v-9042fa0a]{margin-left:20px}.column_set .el-dropdown-menu{padding:0;font-size:14px}.column_set .el-dropdown-menu .el-dropdown-menu__item{display:flex;flex-direction:column;align-items:flex-start}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown{display:flex;flex-direction:column;max-height:
|
|
1
|
+
.e-p-select .all-checkbox[data-v-9042fa0a]{margin-left:20px}.column_set .el-dropdown-menu{padding:0;font-size:14px}.column_set .el-dropdown-menu .el-dropdown-menu__item{display:flex;flex-direction:column;align-items:flex-start}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown{display:flex;flex-direction:column;max-height:450px;overflow-y:auto}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label,.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown .el-checkbox .ep-checkbox__input.is-checked+.ep-checkbox__label{cursor:move}div[data-v-f64f8656]{box-sizing:border-box}.e-p-table[data-v-f64f8656]{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden}.e-p-table .table-content[data-v-f64f8656]{flex:1;display:flex;flex-direction:column;position:relative;box-sizing:border-box}.e-p-table .table-content .header-wapper[data-v-f64f8656]{display:flex;flex-direction:column}.e-p-table .table-content .extra[data-v-f64f8656],.e-p-table .table-content .header[data-v-f64f8656]{padding-bottom:16px}.e-p-table .el-pagination-com[data-v-f64f8656]{padding-top:16px;display:flex;justify-content:flex-end;align-items:center}.e-p-table .header[data-v-f64f8656]{display:flex;justify-content:space-between;align-items:center}.e-p-table .radioStyle[data-v-f64f8656] tbody .el-table__row{cursor:pointer}.btn-wrapper[data-v-f64f8656],.input-content[data-v-f64f8656]{display:flex;gap:8px}.btn-wrapper[data-v-f64f8656] .el-button+.el-button,.input-content[data-v-f64f8656] .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
|
@@ -3,6 +3,10 @@ declare const EPTable: ({
|
|
|
3
3
|
page: import('vue').PropType<Record<string, any>>;
|
|
4
4
|
check: import('vue').PropType<any>;
|
|
5
5
|
sortParam: import('vue').PropType<any>;
|
|
6
|
+
loading: {
|
|
7
|
+
type: import('vue').PropType<boolean>;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
name: {
|
|
7
11
|
type: import('vue').PropType<string>;
|
|
8
12
|
};
|
|
@@ -66,6 +70,7 @@ declare const EPTable: ({
|
|
|
66
70
|
};
|
|
67
71
|
isShowPagination: {
|
|
68
72
|
type: import('vue').PropType<boolean>;
|
|
73
|
+
default: boolean;
|
|
69
74
|
};
|
|
70
75
|
pageProps: {
|
|
71
76
|
type: import('vue').PropType<{
|
|
@@ -82,6 +87,10 @@ declare const EPTable: ({
|
|
|
82
87
|
type: import('vue').PropType<number>;
|
|
83
88
|
default: number;
|
|
84
89
|
};
|
|
90
|
+
isShowRefresh: {
|
|
91
|
+
type: import('vue').PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
85
94
|
}>> & Readonly<{
|
|
86
95
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
87
96
|
onEditSave?: ((...args: any[]) => any) | undefined;
|
|
@@ -1007,9 +1016,11 @@ declare const EPTable: ({
|
|
|
1007
1016
|
getData: (...args: any[]) => void;
|
|
1008
1017
|
rowSort: (...args: any[]) => void;
|
|
1009
1018
|
}, import('vue').PublicProps, {
|
|
1019
|
+
loading: boolean;
|
|
1010
1020
|
rowKey: string;
|
|
1011
1021
|
isShowMenu: boolean;
|
|
1012
1022
|
refreshTitle: string;
|
|
1023
|
+
isShowPagination: boolean;
|
|
1013
1024
|
pageProps: {
|
|
1014
1025
|
size?: "" | "default" | "small" | "large" | undefined;
|
|
1015
1026
|
pageSize?: string | undefined;
|
|
@@ -1019,6 +1030,7 @@ declare const EPTable: ({
|
|
|
1019
1030
|
background?: boolean | undefined;
|
|
1020
1031
|
};
|
|
1021
1032
|
extra: number;
|
|
1033
|
+
isShowRefresh: boolean;
|
|
1022
1034
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1023
1035
|
P: {};
|
|
1024
1036
|
B: {};
|
|
@@ -1030,6 +1042,10 @@ declare const EPTable: ({
|
|
|
1030
1042
|
page: import('vue').PropType<Record<string, any>>;
|
|
1031
1043
|
check: import('vue').PropType<any>;
|
|
1032
1044
|
sortParam: import('vue').PropType<any>;
|
|
1045
|
+
loading: {
|
|
1046
|
+
type: import('vue').PropType<boolean>;
|
|
1047
|
+
default: boolean;
|
|
1048
|
+
};
|
|
1033
1049
|
name: {
|
|
1034
1050
|
type: import('vue').PropType<string>;
|
|
1035
1051
|
};
|
|
@@ -1093,6 +1109,7 @@ declare const EPTable: ({
|
|
|
1093
1109
|
};
|
|
1094
1110
|
isShowPagination: {
|
|
1095
1111
|
type: import('vue').PropType<boolean>;
|
|
1112
|
+
default: boolean;
|
|
1096
1113
|
};
|
|
1097
1114
|
pageProps: {
|
|
1098
1115
|
type: import('vue').PropType<{
|
|
@@ -1109,6 +1126,10 @@ declare const EPTable: ({
|
|
|
1109
1126
|
type: import('vue').PropType<number>;
|
|
1110
1127
|
default: number;
|
|
1111
1128
|
};
|
|
1129
|
+
isShowRefresh: {
|
|
1130
|
+
type: import('vue').PropType<boolean>;
|
|
1131
|
+
default: boolean;
|
|
1132
|
+
};
|
|
1112
1133
|
}>> & Readonly<{
|
|
1113
1134
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
1114
1135
|
onEditSave?: ((...args: any[]) => any) | undefined;
|
|
@@ -2028,9 +2049,11 @@ declare const EPTable: ({
|
|
|
2028
2049
|
scrollbarTabindex: string | number;
|
|
2029
2050
|
}> | undefined>;
|
|
2030
2051
|
}, {}, {}, {}, {
|
|
2052
|
+
loading: boolean;
|
|
2031
2053
|
rowKey: string;
|
|
2032
2054
|
isShowMenu: boolean;
|
|
2033
2055
|
refreshTitle: string;
|
|
2056
|
+
isShowPagination: boolean;
|
|
2034
2057
|
pageProps: {
|
|
2035
2058
|
size?: "" | "default" | "small" | "large" | undefined;
|
|
2036
2059
|
pageSize?: string | undefined;
|
|
@@ -2040,6 +2063,7 @@ declare const EPTable: ({
|
|
|
2040
2063
|
background?: boolean | undefined;
|
|
2041
2064
|
};
|
|
2042
2065
|
extra: number;
|
|
2066
|
+
isShowRefresh: boolean;
|
|
2043
2067
|
}>;
|
|
2044
2068
|
__isFragment?: undefined;
|
|
2045
2069
|
__isTeleport?: undefined;
|
|
@@ -2048,6 +2072,10 @@ declare const EPTable: ({
|
|
|
2048
2072
|
page: import('vue').PropType<Record<string, any>>;
|
|
2049
2073
|
check: import('vue').PropType<any>;
|
|
2050
2074
|
sortParam: import('vue').PropType<any>;
|
|
2075
|
+
loading: {
|
|
2076
|
+
type: import('vue').PropType<boolean>;
|
|
2077
|
+
default: boolean;
|
|
2078
|
+
};
|
|
2051
2079
|
name: {
|
|
2052
2080
|
type: import('vue').PropType<string>;
|
|
2053
2081
|
};
|
|
@@ -2111,6 +2139,7 @@ declare const EPTable: ({
|
|
|
2111
2139
|
};
|
|
2112
2140
|
isShowPagination: {
|
|
2113
2141
|
type: import('vue').PropType<boolean>;
|
|
2142
|
+
default: boolean;
|
|
2114
2143
|
};
|
|
2115
2144
|
pageProps: {
|
|
2116
2145
|
type: import('vue').PropType<{
|
|
@@ -2127,6 +2156,10 @@ declare const EPTable: ({
|
|
|
2127
2156
|
type: import('vue').PropType<number>;
|
|
2128
2157
|
default: number;
|
|
2129
2158
|
};
|
|
2159
|
+
isShowRefresh: {
|
|
2160
|
+
type: import('vue').PropType<boolean>;
|
|
2161
|
+
default: boolean;
|
|
2162
|
+
};
|
|
2130
2163
|
}>> & Readonly<{
|
|
2131
2164
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
2132
2165
|
onEditSave?: ((...args: any[]) => any) | undefined;
|
|
@@ -3052,9 +3085,11 @@ declare const EPTable: ({
|
|
|
3052
3085
|
getData: (...args: any[]) => void;
|
|
3053
3086
|
rowSort: (...args: any[]) => void;
|
|
3054
3087
|
}, string, {
|
|
3088
|
+
loading: boolean;
|
|
3055
3089
|
rowKey: string;
|
|
3056
3090
|
isShowMenu: boolean;
|
|
3057
3091
|
refreshTitle: string;
|
|
3092
|
+
isShowPagination: boolean;
|
|
3058
3093
|
pageProps: {
|
|
3059
3094
|
size?: "" | "default" | "small" | "large" | undefined;
|
|
3060
3095
|
pageSize?: string | undefined;
|
|
@@ -3064,6 +3099,7 @@ declare const EPTable: ({
|
|
|
3064
3099
|
background?: boolean | undefined;
|
|
3065
3100
|
};
|
|
3066
3101
|
extra: number;
|
|
3102
|
+
isShowRefresh: boolean;
|
|
3067
3103
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
3068
3104
|
$slots: Partial<Record<any, (_: {
|
|
3069
3105
|
scope: {
|
|
@@ -3096,7 +3132,7 @@ declare const EPTable: ({
|
|
|
3096
3132
|
scope: any;
|
|
3097
3133
|
}) => any>> & {
|
|
3098
3134
|
extra?(_: {}): any;
|
|
3099
|
-
|
|
3135
|
+
button?(_: {}): any;
|
|
3100
3136
|
input?(_: {}): any;
|
|
3101
3137
|
expand?(_: {
|
|
3102
3138
|
scope: any;
|
|
@@ -4,6 +4,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
4
4
|
page: import('vue').PropType<Record<string, any>>;
|
|
5
5
|
check: import('vue').PropType<any>;
|
|
6
6
|
sortParam: import('vue').PropType<any>;
|
|
7
|
+
loading: {
|
|
8
|
+
type: import('vue').PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
7
11
|
name: {
|
|
8
12
|
type: import('vue').PropType<string>;
|
|
9
13
|
};
|
|
@@ -67,6 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
67
71
|
};
|
|
68
72
|
isShowPagination: {
|
|
69
73
|
type: import('vue').PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
70
75
|
};
|
|
71
76
|
pageProps: {
|
|
72
77
|
type: import('vue').PropType<{
|
|
@@ -83,6 +88,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
83
88
|
type: import('vue').PropType<number>;
|
|
84
89
|
default: number;
|
|
85
90
|
};
|
|
91
|
+
isShowRefresh: {
|
|
92
|
+
type: import('vue').PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
86
95
|
}>, {
|
|
87
96
|
tableInstance: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
88
97
|
data: {
|
|
@@ -1005,6 +1014,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1005
1014
|
page: import('vue').PropType<Record<string, any>>;
|
|
1006
1015
|
check: import('vue').PropType<any>;
|
|
1007
1016
|
sortParam: import('vue').PropType<any>;
|
|
1017
|
+
loading: {
|
|
1018
|
+
type: import('vue').PropType<boolean>;
|
|
1019
|
+
default: boolean;
|
|
1020
|
+
};
|
|
1008
1021
|
name: {
|
|
1009
1022
|
type: import('vue').PropType<string>;
|
|
1010
1023
|
};
|
|
@@ -1068,6 +1081,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1068
1081
|
};
|
|
1069
1082
|
isShowPagination: {
|
|
1070
1083
|
type: import('vue').PropType<boolean>;
|
|
1084
|
+
default: boolean;
|
|
1071
1085
|
};
|
|
1072
1086
|
pageProps: {
|
|
1073
1087
|
type: import('vue').PropType<{
|
|
@@ -1084,6 +1098,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1084
1098
|
type: import('vue').PropType<number>;
|
|
1085
1099
|
default: number;
|
|
1086
1100
|
};
|
|
1101
|
+
isShowRefresh: {
|
|
1102
|
+
type: import('vue').PropType<boolean>;
|
|
1103
|
+
default: boolean;
|
|
1104
|
+
};
|
|
1087
1105
|
}>> & Readonly<{
|
|
1088
1106
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
1089
1107
|
onEditSave?: ((...args: any[]) => any) | undefined;
|
|
@@ -1091,9 +1109,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1091
1109
|
onGetData?: ((...args: any[]) => any) | undefined;
|
|
1092
1110
|
onRowSort?: ((...args: any[]) => any) | undefined;
|
|
1093
1111
|
}>, {
|
|
1112
|
+
loading: boolean;
|
|
1094
1113
|
rowKey: string;
|
|
1095
1114
|
isShowMenu: boolean;
|
|
1096
1115
|
refreshTitle: string;
|
|
1116
|
+
isShowPagination: boolean;
|
|
1097
1117
|
pageProps: {
|
|
1098
1118
|
size?: "" | "default" | "small" | "large" | undefined;
|
|
1099
1119
|
pageSize?: string | undefined;
|
|
@@ -1103,6 +1123,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1103
1123
|
background?: boolean | undefined;
|
|
1104
1124
|
};
|
|
1105
1125
|
extra: number;
|
|
1126
|
+
isShowRefresh: boolean;
|
|
1106
1127
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<any, (_: {
|
|
1107
1128
|
scope: {
|
|
1108
1129
|
[x: string]: any;
|
|
@@ -1134,7 +1155,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1134
1155
|
scope: any;
|
|
1135
1156
|
}) => any>> & {
|
|
1136
1157
|
extra?(_: {}): any;
|
|
1137
|
-
|
|
1158
|
+
button?(_: {}): any;
|
|
1138
1159
|
input?(_: {}): any;
|
|
1139
1160
|
expand?(_: {
|
|
1140
1161
|
scope: any;
|