@bscomp/ep-ui 0.0.7
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/README.md +71 -0
- package/lib/button/index.d.ts +118 -0
- package/lib/button/src/index.vue.d.ts +67 -0
- package/lib/checkbox/index.d.ts +113 -0
- package/lib/checkbox/src/index.vue.d.ts +51 -0
- package/lib/components.d.ts +19 -0
- package/lib/date-picker/index.d.ts +89 -0
- package/lib/date-picker/src/index.vue.d.ts +49 -0
- package/lib/ep-ui.js +15211 -0
- package/lib/ep-ui.js.gz +0 -0
- package/lib/ep-ui.umd.cjs +40 -0
- package/lib/favicon.ico +0 -0
- package/lib/form/index.d.ts +118 -0
- package/lib/form/src/index.vue.d.ts +84 -0
- package/lib/form/src/renderBtn.vue.d.ts +8 -0
- package/lib/form/src/renderComp.vue.d.ts +8 -0
- package/lib/hook/index.d.ts +10 -0
- package/lib/index.d.ts +14 -0
- package/lib/input/index.d.ts +83 -0
- package/lib/input/src/index.vue.d.ts +46 -0
- package/lib/radio/index.d.ts +105 -0
- package/lib/radio/src/index.vue.d.ts +52 -0
- package/lib/select/index.d.ts +170 -0
- package/lib/select/src/index.vue.d.ts +99 -0
- package/lib/style.css +1 -0
- package/lib/table/index.d.ts +3108 -0
- package/lib/table/src/ColumnSet.vue.d.ts +33 -0
- package/lib/table/src/CustomRender.vue.d.ts +20 -0
- package/lib/table/src/RowEdit.vue.d.ts +16 -0
- package/lib/table/src/index.vue.d.ts +1150 -0
- package/lib/table/src/useHooks.d.ts +8 -0
- package/lib/withInstall.d.ts +5 -0
- package/package.json +89 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
declare const EPSelect: ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: import('vue').PropType<Object | String | Number | string[]>;
|
|
4
|
+
options: {
|
|
5
|
+
type: import('vue').PropType<[] | Record<string, any>[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
filterable: {
|
|
10
|
+
type: import('vue').PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
width: {
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
multiple: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
isShowSelectAllBtn: {
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
returnObject: {
|
|
25
|
+
type: import('vue').PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
selectProps: {
|
|
29
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
30
|
+
default: () => {
|
|
31
|
+
label: string;
|
|
32
|
+
value: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
useVirtual: {
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
formatterLabel: {
|
|
40
|
+
type: import('vue').PropType<Function>;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{
|
|
43
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
change: (...args: any[]) => void;
|
|
46
|
+
}, import('vue').PublicProps, {
|
|
47
|
+
options: [] | Record<string, any>[];
|
|
48
|
+
filterable: boolean;
|
|
49
|
+
multiple: boolean;
|
|
50
|
+
isShowSelectAllBtn: boolean;
|
|
51
|
+
returnObject: boolean;
|
|
52
|
+
selectProps: Record<string, any>;
|
|
53
|
+
useVirtual: boolean;
|
|
54
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
55
|
+
P: {};
|
|
56
|
+
B: {};
|
|
57
|
+
D: {};
|
|
58
|
+
C: {};
|
|
59
|
+
M: {};
|
|
60
|
+
Defaults: {};
|
|
61
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
modelValue: import('vue').PropType<Object | String | Number | string[]>;
|
|
63
|
+
options: {
|
|
64
|
+
type: import('vue').PropType<[] | Record<string, any>[]>;
|
|
65
|
+
required: true;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
filterable: {
|
|
69
|
+
type: import('vue').PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
width: {
|
|
73
|
+
type: import('vue').PropType<string>;
|
|
74
|
+
};
|
|
75
|
+
multiple: {
|
|
76
|
+
type: import('vue').PropType<boolean>;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
isShowSelectAllBtn: {
|
|
80
|
+
type: import('vue').PropType<boolean>;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
returnObject: {
|
|
84
|
+
type: import('vue').PropType<boolean>;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
selectProps: {
|
|
88
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
89
|
+
default: () => {
|
|
90
|
+
label: string;
|
|
91
|
+
value: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
useVirtual: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
formatterLabel: {
|
|
99
|
+
type: import('vue').PropType<Function>;
|
|
100
|
+
};
|
|
101
|
+
}>> & Readonly<{
|
|
102
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
}>, {}, {}, {}, {}, {
|
|
104
|
+
options: [] | Record<string, any>[];
|
|
105
|
+
filterable: boolean;
|
|
106
|
+
multiple: boolean;
|
|
107
|
+
isShowSelectAllBtn: boolean;
|
|
108
|
+
returnObject: boolean;
|
|
109
|
+
selectProps: Record<string, any>;
|
|
110
|
+
useVirtual: boolean;
|
|
111
|
+
}>;
|
|
112
|
+
__isFragment?: undefined;
|
|
113
|
+
__isTeleport?: undefined;
|
|
114
|
+
__isSuspense?: undefined;
|
|
115
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
116
|
+
modelValue: import('vue').PropType<Object | String | Number | string[]>;
|
|
117
|
+
options: {
|
|
118
|
+
type: import('vue').PropType<[] | Record<string, any>[]>;
|
|
119
|
+
required: true;
|
|
120
|
+
default: () => never[];
|
|
121
|
+
};
|
|
122
|
+
filterable: {
|
|
123
|
+
type: import('vue').PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
width: {
|
|
127
|
+
type: import('vue').PropType<string>;
|
|
128
|
+
};
|
|
129
|
+
multiple: {
|
|
130
|
+
type: import('vue').PropType<boolean>;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
isShowSelectAllBtn: {
|
|
134
|
+
type: import('vue').PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
returnObject: {
|
|
138
|
+
type: import('vue').PropType<boolean>;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
selectProps: {
|
|
142
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
143
|
+
default: () => {
|
|
144
|
+
label: string;
|
|
145
|
+
value: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
useVirtual: {
|
|
149
|
+
type: import('vue').PropType<boolean>;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
152
|
+
formatterLabel: {
|
|
153
|
+
type: import('vue').PropType<Function>;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{
|
|
156
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
158
|
+
change: (...args: any[]) => void;
|
|
159
|
+
}, string, {
|
|
160
|
+
options: [] | Record<string, any>[];
|
|
161
|
+
filterable: boolean;
|
|
162
|
+
multiple: boolean;
|
|
163
|
+
isShowSelectAllBtn: boolean;
|
|
164
|
+
returnObject: boolean;
|
|
165
|
+
selectProps: Record<string, any>;
|
|
166
|
+
useVirtual: boolean;
|
|
167
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
168
|
+
$slots: Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
169
|
+
}) & import('vue').Plugin<any[]>) & Record<string, any>;
|
|
170
|
+
export default EPSelect;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: import('vue').PropType<Object | String | Number | string[]>;
|
|
3
|
+
options: {
|
|
4
|
+
type: import('vue').PropType<[] | Record<string, any>[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
filterable: {
|
|
9
|
+
type: import('vue').PropType<boolean>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
width: {
|
|
13
|
+
type: import('vue').PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
multiple: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
isShowSelectAllBtn: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
returnObject: {
|
|
24
|
+
type: import('vue').PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
selectProps: {
|
|
28
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
29
|
+
default: () => {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
useVirtual: {
|
|
35
|
+
type: import('vue').PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
formatterLabel: {
|
|
39
|
+
type: import('vue').PropType<Function>;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
change: (...args: any[]) => void;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
modelValue: import('vue').PropType<Object | String | Number | string[]>;
|
|
45
|
+
options: {
|
|
46
|
+
type: import('vue').PropType<[] | Record<string, any>[]>;
|
|
47
|
+
required: true;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
filterable: {
|
|
51
|
+
type: import('vue').PropType<boolean>;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
width: {
|
|
55
|
+
type: import('vue').PropType<string>;
|
|
56
|
+
};
|
|
57
|
+
multiple: {
|
|
58
|
+
type: import('vue').PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
isShowSelectAllBtn: {
|
|
62
|
+
type: import('vue').PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
returnObject: {
|
|
66
|
+
type: import('vue').PropType<boolean>;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
selectProps: {
|
|
70
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
71
|
+
default: () => {
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
useVirtual: {
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
formatterLabel: {
|
|
81
|
+
type: import('vue').PropType<Function>;
|
|
82
|
+
};
|
|
83
|
+
}>> & Readonly<{
|
|
84
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}>, {
|
|
86
|
+
options: [] | Record<string, any>[];
|
|
87
|
+
filterable: boolean;
|
|
88
|
+
multiple: boolean;
|
|
89
|
+
isShowSelectAllBtn: boolean;
|
|
90
|
+
returnObject: boolean;
|
|
91
|
+
selectProps: Record<string, any>;
|
|
92
|
+
useVirtual: boolean;
|
|
93
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
|
|
94
|
+
export default _default;
|
|
95
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
96
|
+
new (): {
|
|
97
|
+
$slots: S;
|
|
98
|
+
};
|
|
99
|
+
};
|
package/lib/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.e-p-select .el-select-dropdown .all-checkbox[data-v-9867f523]{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 .t_table_column_setting_dropdown{display:flex;flex-direction:column;max-height:300px;overflow-y:auto;gap:10px}.column_set .el-dropdown-menu .el-dropdown-menu__item .t_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label{cursor:move;color:var(--el-text-color-primary)}div[data-v-f89568d3]{box-sizing:border-box}.e-p-table[data-v-f89568d3]{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden}.e-p-table .table-content[data-v-f89568d3]{flex:1;display:flex;flex-direction:column;position:relative;box-sizing:border-box}.e-p-table .table-content .header-wapper[data-v-f89568d3]{display:flex;flex-direction:column}.e-p-table .table-content .extra[data-v-f89568d3],.e-p-table .table-content .header[data-v-f89568d3]{padding-bottom:16px}.e-p-table .el-pagination-com[data-v-f89568d3]{padding-top:16px;display:flex;justify-content:flex-end;align-items:center}.e-p-table .header[data-v-f89568d3]{display:flex;justify-content:space-between;align-items:center}.e-p-table .radioStyle[data-v-f89568d3] tbody .el-table__row{cursor:pointer}.t-form{display:flex;flex-wrap:wrap}.t-form .el-form-item{align-items:center}.t-form .el-form-item .el-form-item__content .el-input,.t-form .el-form-item .el-form-item__content .el-select,.t-form .el-form-item .el-form-item__content .el-date-editor,.t-form .el-form-item .el-form-item__content .el-textarea{width:100%}.t-form .el-form-item .el-form-item__content .el-input-number .el-input{width:inherit}.t-form .asterisk-left .el-form-item__label{margin-left:5px}.t-form .t-margin-top-5{margin-top:5px}.t-form .el-input-number .el-input .el-input__inner{text-align:left}.t-form .render_label .el-form-item__label{display:flex;align-items:center;justify-content:flex-end}.t-form .render_label .el-form-item__label:before{margin-top:1px}.t-form .render_laber_position_left .el-form-item__label,.t-form.el-form--label-top .render_label .el-form-item__label{justify-content:flex-start}.t-form .label_render{display:flex;align-items:center;justify-content:flex-end}.t-form .text_show{color:var(--el-text-color-primary)}.t-form .slot_label .el-form-item__content label{color:var(--el-text-color-primary);margin-right:12px}.t-form .flex-box{display:-webkit-box;display:-webkit-flex;display:flex}.t-form .flex-ver{align-items:center;justify-content:center}.t-form .footer_btn{width:100%}
|