@bscomp/ep-ui 0.1.0 → 0.1.2
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 +2091 -2082
- package/lib/ep-ui.js.gz +0 -0
- package/lib/ep-ui.umd.cjs +9 -9
- package/lib/form/index.d.ts +20 -0
- package/lib/form/src/index.vue.d.ts +11 -0
- package/lib/style.css +1 -1
- package/lib/table/index.d.ts +15 -0
- package/lib/table/src/index.vue.d.ts +9 -0
- package/package.json +1 -1
package/lib/form/index.d.ts
CHANGED
|
@@ -37,14 +37,20 @@ 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;
|
|
46
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
42
47
|
}>, {
|
|
43
48
|
resetFields: () => any;
|
|
44
49
|
validate: (fun: any) => any;
|
|
45
50
|
clearValidate: () => any;
|
|
46
51
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
52
|
getRef: (...args: any[]) => void;
|
|
53
|
+
formChange: (...args: any[]) => void;
|
|
48
54
|
}, import('vue').PublicProps, {
|
|
49
55
|
formItems: [] | Record<string, any>[];
|
|
50
56
|
labelPosition: "top" | "right" | "left";
|
|
@@ -53,6 +59,7 @@ declare const EPForm: ({
|
|
|
53
59
|
valueWidth: string;
|
|
54
60
|
inline: boolean;
|
|
55
61
|
colNum: number;
|
|
62
|
+
inlineGap: string;
|
|
56
63
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
57
64
|
P: {};
|
|
58
65
|
B: {};
|
|
@@ -98,8 +105,13 @@ declare const EPForm: ({
|
|
|
98
105
|
type: import('vue').PropType<number>;
|
|
99
106
|
default: number;
|
|
100
107
|
};
|
|
108
|
+
inlineGap: {
|
|
109
|
+
type: import('vue').PropType<string>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
101
112
|
}>> & Readonly<{
|
|
102
113
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
103
115
|
}>, {
|
|
104
116
|
resetFields: () => any;
|
|
105
117
|
validate: (fun: any) => any;
|
|
@@ -112,6 +124,7 @@ declare const EPForm: ({
|
|
|
112
124
|
valueWidth: string;
|
|
113
125
|
inline: boolean;
|
|
114
126
|
colNum: number;
|
|
127
|
+
inlineGap: string;
|
|
115
128
|
}>;
|
|
116
129
|
__isFragment?: undefined;
|
|
117
130
|
__isTeleport?: undefined;
|
|
@@ -154,14 +167,20 @@ declare const EPForm: ({
|
|
|
154
167
|
type: import('vue').PropType<number>;
|
|
155
168
|
default: number;
|
|
156
169
|
};
|
|
170
|
+
inlineGap: {
|
|
171
|
+
type: import('vue').PropType<string>;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
157
174
|
}>> & Readonly<{
|
|
158
175
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
159
177
|
}>, {
|
|
160
178
|
resetFields: () => any;
|
|
161
179
|
validate: (fun: any) => any;
|
|
162
180
|
clearValidate: () => any;
|
|
163
181
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
164
182
|
getRef: (...args: any[]) => void;
|
|
183
|
+
formChange: (...args: any[]) => void;
|
|
165
184
|
}, string, {
|
|
166
185
|
formItems: [] | Record<string, any>[];
|
|
167
186
|
labelPosition: "top" | "right" | "left";
|
|
@@ -170,6 +189,7 @@ declare const EPForm: ({
|
|
|
170
189
|
valueWidth: string;
|
|
171
190
|
inline: boolean;
|
|
172
191
|
colNum: number;
|
|
192
|
+
inlineGap: string;
|
|
173
193
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
174
194
|
$slots: Partial<Record<any, (_: {
|
|
175
195
|
scope: any;
|
|
@@ -36,12 +36,17 @@ 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;
|
|
42
46
|
clearValidate: () => any;
|
|
43
47
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
48
|
getRef: (...args: any[]) => void;
|
|
49
|
+
formChange: (...args: any[]) => void;
|
|
45
50
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
46
51
|
expand: import('vue').PropType<any>;
|
|
47
52
|
modelValue: import('vue').PropType<any>;
|
|
@@ -80,8 +85,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
80
85
|
type: import('vue').PropType<number>;
|
|
81
86
|
default: number;
|
|
82
87
|
};
|
|
88
|
+
inlineGap: {
|
|
89
|
+
type: import('vue').PropType<string>;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
83
92
|
}>> & Readonly<{
|
|
84
93
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
85
95
|
}>, {
|
|
86
96
|
formItems: [] | Record<string, any>[];
|
|
87
97
|
labelPosition: "top" | "right" | "left";
|
|
@@ -90,6 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
90
100
|
valueWidth: string;
|
|
91
101
|
inline: boolean;
|
|
92
102
|
colNum: number;
|
|
103
|
+
inlineGap: string;
|
|
93
104
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<any, (_: {
|
|
94
105
|
scope: any;
|
|
95
106
|
}) => 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:450px;overflow-y:auto
|
|
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
|
};
|
|
@@ -1012,6 +1016,7 @@ declare const EPTable: ({
|
|
|
1012
1016
|
getData: (...args: any[]) => void;
|
|
1013
1017
|
rowSort: (...args: any[]) => void;
|
|
1014
1018
|
}, import('vue').PublicProps, {
|
|
1019
|
+
loading: boolean;
|
|
1015
1020
|
rowKey: string;
|
|
1016
1021
|
isShowMenu: boolean;
|
|
1017
1022
|
refreshTitle: string;
|
|
@@ -1037,6 +1042,10 @@ declare const EPTable: ({
|
|
|
1037
1042
|
page: import('vue').PropType<Record<string, any>>;
|
|
1038
1043
|
check: import('vue').PropType<any>;
|
|
1039
1044
|
sortParam: import('vue').PropType<any>;
|
|
1045
|
+
loading: {
|
|
1046
|
+
type: import('vue').PropType<boolean>;
|
|
1047
|
+
default: boolean;
|
|
1048
|
+
};
|
|
1040
1049
|
name: {
|
|
1041
1050
|
type: import('vue').PropType<string>;
|
|
1042
1051
|
};
|
|
@@ -2040,6 +2049,7 @@ declare const EPTable: ({
|
|
|
2040
2049
|
scrollbarTabindex: string | number;
|
|
2041
2050
|
}> | undefined>;
|
|
2042
2051
|
}, {}, {}, {}, {
|
|
2052
|
+
loading: boolean;
|
|
2043
2053
|
rowKey: string;
|
|
2044
2054
|
isShowMenu: boolean;
|
|
2045
2055
|
refreshTitle: string;
|
|
@@ -2062,6 +2072,10 @@ declare const EPTable: ({
|
|
|
2062
2072
|
page: import('vue').PropType<Record<string, any>>;
|
|
2063
2073
|
check: import('vue').PropType<any>;
|
|
2064
2074
|
sortParam: import('vue').PropType<any>;
|
|
2075
|
+
loading: {
|
|
2076
|
+
type: import('vue').PropType<boolean>;
|
|
2077
|
+
default: boolean;
|
|
2078
|
+
};
|
|
2065
2079
|
name: {
|
|
2066
2080
|
type: import('vue').PropType<string>;
|
|
2067
2081
|
};
|
|
@@ -3071,6 +3085,7 @@ declare const EPTable: ({
|
|
|
3071
3085
|
getData: (...args: any[]) => void;
|
|
3072
3086
|
rowSort: (...args: any[]) => void;
|
|
3073
3087
|
}, string, {
|
|
3088
|
+
loading: boolean;
|
|
3074
3089
|
rowKey: string;
|
|
3075
3090
|
isShowMenu: boolean;
|
|
3076
3091
|
refreshTitle: string;
|
|
@@ -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
|
};
|
|
@@ -1010,6 +1014,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1010
1014
|
page: import('vue').PropType<Record<string, any>>;
|
|
1011
1015
|
check: import('vue').PropType<any>;
|
|
1012
1016
|
sortParam: import('vue').PropType<any>;
|
|
1017
|
+
loading: {
|
|
1018
|
+
type: import('vue').PropType<boolean>;
|
|
1019
|
+
default: boolean;
|
|
1020
|
+
};
|
|
1013
1021
|
name: {
|
|
1014
1022
|
type: import('vue').PropType<string>;
|
|
1015
1023
|
};
|
|
@@ -1101,6 +1109,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1101
1109
|
onGetData?: ((...args: any[]) => any) | undefined;
|
|
1102
1110
|
onRowSort?: ((...args: any[]) => any) | undefined;
|
|
1103
1111
|
}>, {
|
|
1112
|
+
loading: boolean;
|
|
1104
1113
|
rowKey: string;
|
|
1105
1114
|
isShowMenu: boolean;
|
|
1106
1115
|
refreshTitle: string;
|