@es-plus/vue2 1.0.1 → 1.0.3
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/CHANGELOG.md +46 -0
- package/dist/components/es-crud-page/es-crud-page.vue.d.ts +66 -24
- package/dist/components/es-crud-page/es-crud-page.vue.d.ts.map +1 -1
- package/dist/components/es-dialog/component.vue.d.ts +143 -44
- package/dist/components/es-dialog/component.vue.d.ts.map +1 -1
- package/dist/components/es-dialog/render-jsx.vue.d.ts +19 -5
- package/dist/components/es-dialog/render-jsx.vue.d.ts.map +1 -1
- package/dist/components/es-form/es-form.vue.d.ts +162 -60
- package/dist/components/es-form/es-form.vue.d.ts.map +1 -1
- package/dist/components/es-table/column-item.vue.d.ts +11 -5
- package/dist/components/es-table/column-item.vue.d.ts.map +1 -1
- package/dist/components/es-table/component.vue.d.ts +210 -93
- package/dist/components/es-table/component.vue.d.ts.map +1 -1
- package/dist/components/es-table/table-btns.vue.d.ts +44 -20
- package/dist/components/es-table/table-btns.vue.d.ts.map +1 -1
- package/dist/composables/use-form-layout.d.ts +9 -9
- package/dist/composables/use-table-resize.d.ts +1 -1
- package/dist/composables/use-table-selection.d.ts +9 -3
- package/dist/composables/use-table-selection.d.ts.map +1 -1
- package/dist/es-plus-vue2.js +2 -2
- package/dist/es-plus-vue2.js.map +1 -1
- package/dist/es-plus-vue2.umd.cjs +1 -1
- package/dist/es-plus-vue2.umd.cjs.map +1 -1
- package/dist/vue-compat.d.ts +14 -12
- package/dist/vue-compat.d.ts.map +1 -1
- package/package.json +82 -86
|
@@ -1,54 +1,13 @@
|
|
|
1
1
|
import { PropType } from '../../vue-compat';
|
|
2
2
|
import { FormItemOption, BtnConfig, LayoutFormProps, ModelData } from '@es-plus/core';
|
|
3
3
|
|
|
4
|
-
declare const _default: import('vue').
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type: PropType<ModelData>;
|
|
8
|
-
default: () => {};
|
|
9
|
-
};
|
|
10
|
-
/** 表单字段配置 */
|
|
11
|
-
formItemList: {
|
|
12
|
-
type: PropType<FormItemOption[]>;
|
|
13
|
-
default: () => any[];
|
|
14
|
-
};
|
|
15
|
-
/** 布局配置 */
|
|
16
|
-
layoutFormProps: {
|
|
17
|
-
type: PropType<LayoutFormProps>;
|
|
18
|
-
default: () => {};
|
|
19
|
-
};
|
|
20
|
-
/** 工具栏按钮 */
|
|
21
|
-
configBtn: {
|
|
22
|
-
type: PropType<BtnConfig[]>;
|
|
23
|
-
default: () => any[];
|
|
24
|
-
};
|
|
25
|
-
/** 自定义按钮区渲染函数 */
|
|
26
|
-
renderBtn: {
|
|
27
|
-
type: PropType<((row: object, model: ModelData, list: FormItemOption[], h: Function) => unknown) | boolean>;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
/** 是否一行内左右分布按钮 */
|
|
31
|
-
btnColSpanRow: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
/** 校验规则 */
|
|
36
|
-
rules: {
|
|
37
|
-
type: PropType<Record<string, unknown>>;
|
|
38
|
-
default: () => {};
|
|
39
|
-
};
|
|
40
|
-
/** 字段映射注入函数 */
|
|
41
|
-
fieldFieldOutput: {
|
|
42
|
-
type: PropType<(defaults: Record<string, string>) => Record<string, string>>;
|
|
43
|
-
default: any;
|
|
44
|
-
};
|
|
45
|
-
}, {
|
|
46
|
-
formProps: import('vue').ComputedRef<Record<string, unknown>>;
|
|
47
|
-
rowLayout: import('vue').ComputedRef<{
|
|
4
|
+
declare const _default: import('vue').ComponentOptions<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
5
|
+
formProps: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
6
|
+
rowLayout: import('@vue/composition-api').ComputedRef<{
|
|
48
7
|
type: string;
|
|
49
8
|
gutter: number;
|
|
50
9
|
}>;
|
|
51
|
-
formItem: import('vue').ComputedRef<{
|
|
10
|
+
formItem: import('@vue/composition-api').ComputedRef<{
|
|
52
11
|
isFold: boolean;
|
|
53
12
|
prop: string;
|
|
54
13
|
label: string;
|
|
@@ -83,22 +42,24 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
83
42
|
components?: Record<string, unknown>;
|
|
84
43
|
width?: number | string;
|
|
85
44
|
}[]>;
|
|
86
|
-
isBtnHidden: import('vue').ComputedRef<boolean>;
|
|
87
|
-
isFold: import('vue').ComputedRef<boolean>;
|
|
88
|
-
folded: import('vue').Ref<boolean>;
|
|
89
|
-
getBtnColSpan: import('vue').ComputedRef<number>;
|
|
90
|
-
isRenderBtn: import('vue').ComputedRef<boolean>;
|
|
91
|
-
colRightLeftList: import('vue').ComputedRef<{
|
|
45
|
+
isBtnHidden: import('@vue/composition-api').ComputedRef<boolean>;
|
|
46
|
+
isFold: import('@vue/composition-api').ComputedRef<boolean>;
|
|
47
|
+
folded: import('@vue/composition-api').Ref<boolean>;
|
|
48
|
+
getBtnColSpan: import('@vue/composition-api').ComputedRef<number>;
|
|
49
|
+
isRenderBtn: import('@vue/composition-api').ComputedRef<boolean>;
|
|
50
|
+
colRightLeftList: import('@vue/composition-api').ComputedRef<{
|
|
92
51
|
colRightBtn: BtnConfig[];
|
|
93
52
|
colLeftBtn: BtnConfig[];
|
|
94
53
|
}>;
|
|
95
|
-
configBtn: import('vue').ComputedRef<BtnConfig[]>;
|
|
54
|
+
configBtn: import('@vue/composition-api').ComputedRef<BtnConfig[]>;
|
|
96
55
|
formInputComponents: (item: FormItemOption) => import('../../composables/use-form-inputs').FormInputRenderer;
|
|
97
|
-
formInstance: import('vue').Ref<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
56
|
+
formInstance: import('@vue/composition-api').Ref<{
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
}>;
|
|
59
|
+
model: import('@vue/composition-api').ComputedRef<ModelData>;
|
|
60
|
+
btnColSpanRow: import('@vue/composition-api').ComputedRef<boolean>;
|
|
61
|
+
renderBtn: import('@vue/composition-api').ComputedRef<boolean | ((row: object, model: ModelData, list: FormItemOption[], h: Function) => unknown)>;
|
|
62
|
+
getRowColsAlgorithm: import('@vue/composition-api').ComputedRef<import('@es-plus/core').FormLayoutResult>;
|
|
102
63
|
changeFolded: () => void;
|
|
103
64
|
checkPermission: (pvalue?: string) => boolean;
|
|
104
65
|
translateLabel: (item: FormItemOption) => string;
|
|
@@ -122,7 +83,48 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
122
83
|
resetFields: () => void;
|
|
123
84
|
clearValidate: (p?: string | string[]) => void;
|
|
124
85
|
validateField: (p: string | string[]) => void;
|
|
125
|
-
}
|
|
86
|
+
}> & import('@vue/composition-api').Data, {}, {}, {
|
|
87
|
+
/** 表单 model 数据 */
|
|
88
|
+
model: {
|
|
89
|
+
type: PropType<ModelData>;
|
|
90
|
+
default: () => {};
|
|
91
|
+
};
|
|
92
|
+
/** 表单字段配置 */
|
|
93
|
+
formItemList: {
|
|
94
|
+
type: PropType<FormItemOption[]>;
|
|
95
|
+
default: () => any[];
|
|
96
|
+
};
|
|
97
|
+
/** 布局配置 */
|
|
98
|
+
layoutFormProps: {
|
|
99
|
+
type: PropType<LayoutFormProps>;
|
|
100
|
+
default: () => {};
|
|
101
|
+
};
|
|
102
|
+
/** 工具栏按钮 */
|
|
103
|
+
configBtn: {
|
|
104
|
+
type: PropType<BtnConfig[]>;
|
|
105
|
+
default: () => any[];
|
|
106
|
+
};
|
|
107
|
+
/** 自定义按钮区渲染函数 */
|
|
108
|
+
renderBtn: {
|
|
109
|
+
type: PropType<((row: object, model: ModelData, list: FormItemOption[], h: Function) => unknown) | boolean>;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
/** 是否一行内左右分布按钮 */
|
|
113
|
+
btnColSpanRow: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
/** 校验规则 */
|
|
118
|
+
rules: {
|
|
119
|
+
type: PropType<Record<string, unknown>>;
|
|
120
|
+
default: () => {};
|
|
121
|
+
};
|
|
122
|
+
/** 字段映射注入函数 */
|
|
123
|
+
fieldFieldOutput: {
|
|
124
|
+
type: PropType<(defaults: Record<string, string>) => Record<string, string>>;
|
|
125
|
+
default: any;
|
|
126
|
+
};
|
|
127
|
+
}, import('@vue/composition-api').ExtractPropTypes<{
|
|
126
128
|
/** 表单 model 数据 */
|
|
127
129
|
model: {
|
|
128
130
|
type: PropType<ModelData>;
|
|
@@ -163,7 +165,107 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
163
165
|
type: PropType<(defaults: Record<string, string>) => Record<string, string>>;
|
|
164
166
|
default: any;
|
|
165
167
|
};
|
|
166
|
-
}>>, {
|
|
168
|
+
}>, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin> & Omit<import('vue').VueConstructor<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>>, never> & (new (...args: any[]) => import('@vue/composition-api').ComponentRenderProxy<{
|
|
169
|
+
model: ModelData;
|
|
170
|
+
formItemList: FormItemOption[];
|
|
171
|
+
layoutFormProps: {};
|
|
172
|
+
configBtn: BtnConfig[];
|
|
173
|
+
renderBtn: boolean | ((row: object, model: ModelData, list: FormItemOption[], h: Function) => unknown);
|
|
174
|
+
btnColSpanRow: boolean;
|
|
175
|
+
rules: Record<string, unknown>;
|
|
176
|
+
fieldFieldOutput: (defaults: Record<string, string>) => Record<string, string>;
|
|
177
|
+
} & {}, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
178
|
+
formProps: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
179
|
+
rowLayout: import('@vue/composition-api').ComputedRef<{
|
|
180
|
+
type: string;
|
|
181
|
+
gutter: number;
|
|
182
|
+
}>;
|
|
183
|
+
formItem: import('@vue/composition-api').ComputedRef<{
|
|
184
|
+
isFold: boolean;
|
|
185
|
+
prop: string;
|
|
186
|
+
label: string;
|
|
187
|
+
labelKey?: string;
|
|
188
|
+
formtype?: import('@es-plus/core').FormType;
|
|
189
|
+
span?: number;
|
|
190
|
+
placeholder?: string;
|
|
191
|
+
clearable?: boolean;
|
|
192
|
+
disabled?: boolean;
|
|
193
|
+
attrs?: Record<string, unknown>;
|
|
194
|
+
props?: Record<string, unknown>;
|
|
195
|
+
on?: Record<string, unknown>;
|
|
196
|
+
dataOptions?: Array<{
|
|
197
|
+
label: string;
|
|
198
|
+
value: unknown;
|
|
199
|
+
disabled?: boolean;
|
|
200
|
+
children?: unknown[];
|
|
201
|
+
}>;
|
|
202
|
+
isHidden?: (model: ModelData, item: FormItemOption, formProps: unknown) => boolean;
|
|
203
|
+
render?: (h: import('@es-plus/core').RenderFn, model: ModelData, ctx: {
|
|
204
|
+
row: FormItemOption;
|
|
205
|
+
index: number;
|
|
206
|
+
}) => import('@es-plus/core').AnyVNode;
|
|
207
|
+
apiParams?: import('@es-plus/core').ApiParams;
|
|
208
|
+
isInitRun?: boolean;
|
|
209
|
+
callOptionListFormat?: (data: unknown[]) => unknown[];
|
|
210
|
+
httpRequest?: (params: Record<string, unknown>) => Promise<unknown>;
|
|
211
|
+
listenToCallBack?: import('@es-plus/core').ListenToCallBack;
|
|
212
|
+
required?: boolean;
|
|
213
|
+
rules?: Array<Record<string, unknown>>;
|
|
214
|
+
formItemOptions?: Record<string, unknown>;
|
|
215
|
+
components?: Record<string, unknown>;
|
|
216
|
+
width?: number | string;
|
|
217
|
+
}[]>;
|
|
218
|
+
isBtnHidden: import('@vue/composition-api').ComputedRef<boolean>;
|
|
219
|
+
isFold: import('@vue/composition-api').ComputedRef<boolean>;
|
|
220
|
+
folded: import('@vue/composition-api').Ref<boolean>;
|
|
221
|
+
getBtnColSpan: import('@vue/composition-api').ComputedRef<number>;
|
|
222
|
+
isRenderBtn: import('@vue/composition-api').ComputedRef<boolean>;
|
|
223
|
+
colRightLeftList: import('@vue/composition-api').ComputedRef<{
|
|
224
|
+
colRightBtn: BtnConfig[];
|
|
225
|
+
colLeftBtn: BtnConfig[];
|
|
226
|
+
}>;
|
|
227
|
+
configBtn: import('@vue/composition-api').ComputedRef<BtnConfig[]>;
|
|
228
|
+
formInputComponents: (item: FormItemOption) => import('../../composables/use-form-inputs').FormInputRenderer;
|
|
229
|
+
formInstance: import('@vue/composition-api').Ref<{
|
|
230
|
+
[x: string]: unknown;
|
|
231
|
+
}>;
|
|
232
|
+
model: import('@vue/composition-api').ComputedRef<ModelData>;
|
|
233
|
+
btnColSpanRow: import('@vue/composition-api').ComputedRef<boolean>;
|
|
234
|
+
renderBtn: import('@vue/composition-api').ComputedRef<boolean | ((row: object, model: ModelData, list: FormItemOption[], h: Function) => unknown)>;
|
|
235
|
+
getRowColsAlgorithm: import('@vue/composition-api').ComputedRef<import('@es-plus/core').FormLayoutResult>;
|
|
236
|
+
changeFolded: () => void;
|
|
237
|
+
checkPermission: (pvalue?: string) => boolean;
|
|
238
|
+
translateLabel: (item: FormItemOption) => string;
|
|
239
|
+
getCompIcon: (key?: string) => string | undefined;
|
|
240
|
+
filterOptions: (it: BtnConfig) => {
|
|
241
|
+
[x: string]: unknown;
|
|
242
|
+
};
|
|
243
|
+
resolveDisabled: (it: BtnConfig) => boolean;
|
|
244
|
+
handleBtnClick: (it: BtnConfig) => void;
|
|
245
|
+
clickBtn: (it: BtnConfig) => void;
|
|
246
|
+
initFormItemOptions: (opts: Record<string, unknown>) => Record<string, unknown>;
|
|
247
|
+
noop: () => void;
|
|
248
|
+
formItmeRequestInstance: (propsList: string[]) => Promise<void>;
|
|
249
|
+
getFormRef: () => {
|
|
250
|
+
validate: (cb?: (valid: boolean) => void) => Promise<boolean>;
|
|
251
|
+
resetFields: () => void;
|
|
252
|
+
clearValidate: (props?: string | string[]) => void;
|
|
253
|
+
validateField: (props: string | string[], cb?: (msg: string) => void) => void;
|
|
254
|
+
};
|
|
255
|
+
validate: () => Promise<boolean>;
|
|
256
|
+
resetFields: () => void;
|
|
257
|
+
clearValidate: (p?: string | string[]) => void;
|
|
258
|
+
validateField: (p: string | string[]) => void;
|
|
259
|
+
}>, import('@vue/composition-api').Data, {}, {}, {}, {}, {}, {
|
|
260
|
+
model: ModelData;
|
|
261
|
+
formItemList: FormItemOption[];
|
|
262
|
+
layoutFormProps: {};
|
|
263
|
+
configBtn: BtnConfig[];
|
|
264
|
+
renderBtn: boolean | ((row: object, model: ModelData, list: FormItemOption[], h: Function) => unknown);
|
|
265
|
+
btnColSpanRow: boolean;
|
|
266
|
+
rules: Record<string, unknown>;
|
|
267
|
+
fieldFieldOutput: (defaults: Record<string, string>) => Record<string, string>;
|
|
268
|
+
} & {}, {
|
|
167
269
|
model: ModelData;
|
|
168
270
|
formItemList: FormItemOption[];
|
|
169
271
|
layoutFormProps: {};
|
|
@@ -172,6 +274,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
172
274
|
btnColSpanRow: boolean;
|
|
173
275
|
rules: Record<string, unknown>;
|
|
174
276
|
fieldFieldOutput: (defaults: Record<string, string>) => Record<string, string>;
|
|
175
|
-
}
|
|
277
|
+
}, true>);
|
|
176
278
|
export default _default;
|
|
177
279
|
//# sourceMappingURL=es-form.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-form/es-form.vue"],"names":[],"mappings":"AAqIA;AAEA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAkF,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAMhI,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;;
|
|
1
|
+
{"version":3,"file":"es-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-form/es-form.vue"],"names":[],"mappings":"AAqIA;AAEA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAkF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
|
|
|
1
1
|
import { TableColumn } from '../../types';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').
|
|
3
|
+
declare const _default: import('vue').ComponentOptions<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
4
|
+
columnBindAttr: (cols: TableColumn) => Record<string, unknown>;
|
|
5
|
+
}> & import('@vue/composition-api').Data, {}, {}, {
|
|
4
6
|
cols: {
|
|
5
7
|
type: () => TableColumn;
|
|
6
8
|
required: true;
|
|
7
9
|
};
|
|
8
|
-
}, {
|
|
9
|
-
columnBindAttr: (cols: TableColumn) => Record<string, unknown>;
|
|
10
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
}, import('@vue/composition-api').ExtractPropTypes<{
|
|
11
11
|
cols: {
|
|
12
12
|
type: () => TableColumn;
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
|
-
}>>, {
|
|
15
|
+
}>, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin> & Omit<import('vue').VueConstructor<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>>, never> & (new (...args: any[]) => import('@vue/composition-api').ComponentRenderProxy<{
|
|
16
|
+
cols: TableColumn;
|
|
17
|
+
} & {}, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
18
|
+
columnBindAttr: (cols: TableColumn) => Record<string, unknown>;
|
|
19
|
+
}>, import('@vue/composition-api').Data, {}, {}, {}, {}, {}, {
|
|
20
|
+
cols: TableColumn;
|
|
21
|
+
} & {}, {}, true>);
|
|
16
22
|
export default _default;
|
|
17
23
|
//# sourceMappingURL=column-item.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-table/column-item.vue"],"names":[],"mappings":"AA0EA;AAsBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;;;
|
|
1
|
+
{"version":3,"file":"column-item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-table/column-item.vue"],"names":[],"mappings":"AA0EA;AAsBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;;2BAuDZ,WAAW;;;cAnBvB,MAAM,WAAW;;;;;cAAjB,MAAM,WAAW;;;;;;2BAmBL,WAAW;;;;AAxB7C,wBA0DE"}
|
|
@@ -1,6 +1,99 @@
|
|
|
1
1
|
import { TableColumn, PaginationConfig, TableOptions } from '@es-plus/core';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').
|
|
3
|
+
declare const _default: import('vue').ComponentOptions<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
4
|
+
instance: Record<string, unknown>;
|
|
5
|
+
resizeObservers: () => void;
|
|
6
|
+
httpRequestInstance: (model?: Record<string, unknown>) => Promise<unknown>;
|
|
7
|
+
getSelectionRows: () => {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}[];
|
|
10
|
+
clearSelection: () => any;
|
|
11
|
+
clearAllSelection: () => void;
|
|
12
|
+
refresh: () => any;
|
|
13
|
+
scrollToRow: (_row: number) => void;
|
|
14
|
+
tableRef: any;
|
|
15
|
+
tbBtnRef: any;
|
|
16
|
+
headBarRef: import('@vue/composition-api').Ref<HTMLElement>;
|
|
17
|
+
paginationRef: import('@vue/composition-api').Ref<HTMLElement>;
|
|
18
|
+
tableId: import('@vue/composition-api').Ref<string>;
|
|
19
|
+
tableData: import('@vue/composition-api').Ref<{
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}[]>;
|
|
22
|
+
loadStatus: import('@vue/composition-api').ComputedRef<boolean>;
|
|
23
|
+
paginationConfig: import('@vue/composition-api').Ref<{
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
current?: number;
|
|
26
|
+
total?: number;
|
|
27
|
+
pageSizes?: number[];
|
|
28
|
+
size?: import('@es-plus/core').EsButtonSize;
|
|
29
|
+
isSmall?: boolean;
|
|
30
|
+
layout?: string;
|
|
31
|
+
}>;
|
|
32
|
+
formInstance: import('@vue/composition-api').Ref<unknown>;
|
|
33
|
+
filteredColumns: import('@vue/composition-api').ComputedRef<{
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
prop?: string;
|
|
36
|
+
key?: string;
|
|
37
|
+
label?: string;
|
|
38
|
+
labelKey?: string;
|
|
39
|
+
width?: number | string;
|
|
40
|
+
minWidth?: number | string;
|
|
41
|
+
align?: string;
|
|
42
|
+
fixed?: boolean | "left" | "right" | string;
|
|
43
|
+
type?: "index" | "selection" | "expand";
|
|
44
|
+
sortable?: boolean | "custom";
|
|
45
|
+
formatter?: (row: import('@es-plus/core').ModelData, col?: unknown, value?: unknown, index?: number) => string;
|
|
46
|
+
render?: (h: import('@es-plus/core').RenderFn, ctx: {
|
|
47
|
+
row: import('@es-plus/core').ModelData;
|
|
48
|
+
value: unknown;
|
|
49
|
+
index: number;
|
|
50
|
+
columnIndex?: number;
|
|
51
|
+
}) => import('@es-plus/core').AnyVNode;
|
|
52
|
+
scopedSlots?: {
|
|
53
|
+
customRender?: string;
|
|
54
|
+
};
|
|
55
|
+
groups?: /*elided*/ any[];
|
|
56
|
+
ellipsis?: boolean;
|
|
57
|
+
hidCol?: boolean;
|
|
58
|
+
btns?: {
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
name: string;
|
|
61
|
+
type?: import('@es-plus/core').EsButtonType;
|
|
62
|
+
icon?: string;
|
|
63
|
+
permissionValue?: string;
|
|
64
|
+
clickEvent?: (row: import('@es-plus/core').ModelData) => void;
|
|
65
|
+
}[];
|
|
66
|
+
}[]>;
|
|
67
|
+
tableBindAttrs: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
68
|
+
hasDefaultSlot: import('@vue/composition-api').ComputedRef<boolean>;
|
|
69
|
+
heightType: import('@vue/composition-api').ComputedRef<"auto" | "height" | "maxHeight">;
|
|
70
|
+
tabHeight: import('@vue/composition-api').ComputedRef<string>;
|
|
71
|
+
slotStyles: import('@vue/composition-api').ComputedRef<{
|
|
72
|
+
type: string;
|
|
73
|
+
value: string | Record<string, unknown>;
|
|
74
|
+
}>;
|
|
75
|
+
slotState: import('@vue/composition-api').Ref<boolean>;
|
|
76
|
+
showPagination: import('@vue/composition-api').Ref<boolean>;
|
|
77
|
+
containerStyle: import('@vue/composition-api').ComputedRef<{
|
|
78
|
+
[x: string]: string;
|
|
79
|
+
}>;
|
|
80
|
+
paginationStyle: import('@vue/composition-api').ComputedRef<{
|
|
81
|
+
position: string;
|
|
82
|
+
bottom: string;
|
|
83
|
+
left: string;
|
|
84
|
+
zIndex: number;
|
|
85
|
+
background: string;
|
|
86
|
+
}>;
|
|
87
|
+
layout: import('@vue/composition-api').ComputedRef<any>;
|
|
88
|
+
paginationPageSizes: import('@vue/composition-api').ComputedRef<any>;
|
|
89
|
+
paginationIsSmall: import('@vue/composition-api').ComputedRef<any>;
|
|
90
|
+
paginationBackground: import('@vue/composition-api').ComputedRef<any>;
|
|
91
|
+
setTableContainer: (el: HTMLElement | null) => void;
|
|
92
|
+
handleTableSelectionChange: (val: Record<string, unknown>[]) => void;
|
|
93
|
+
changeTableSort: (column: Record<string, unknown>) => void;
|
|
94
|
+
handleSizeChange: (size: number) => void;
|
|
95
|
+
handleIndexChange: (val: number) => void;
|
|
96
|
+
}> & import('@vue/composition-api').Data, {}, {}, {
|
|
4
97
|
initTabHeight: {
|
|
5
98
|
type: NumberConstructor;
|
|
6
99
|
default: number;
|
|
@@ -95,96 +188,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
95
188
|
type: () => PaginationConfig;
|
|
96
189
|
default: () => {};
|
|
97
190
|
};
|
|
98
|
-
}, {
|
|
99
|
-
instance: Record<string, unknown>;
|
|
100
|
-
resizeObservers: () => void;
|
|
101
|
-
httpRequestInstance: (model?: Record<string, unknown>) => Promise<unknown>;
|
|
102
|
-
getSelectionRows: () => Record<string, unknown>[];
|
|
103
|
-
clearSelection: () => any;
|
|
104
|
-
clearAllSelection: () => void;
|
|
105
|
-
refresh: () => any;
|
|
106
|
-
scrollToRow: (_row: number) => void;
|
|
107
|
-
tableRef: any;
|
|
108
|
-
tbBtnRef: any;
|
|
109
|
-
headBarRef: import('vue').Ref<HTMLElement>;
|
|
110
|
-
paginationRef: import('vue').Ref<HTMLElement>;
|
|
111
|
-
tableId: import('vue').Ref<string>;
|
|
112
|
-
tableData: import('vue').Ref<Record<string, unknown>[]>;
|
|
113
|
-
loadStatus: import('vue').ComputedRef<boolean>;
|
|
114
|
-
paginationConfig: import('vue').Ref<{
|
|
115
|
-
pageSize?: number;
|
|
116
|
-
current?: number;
|
|
117
|
-
total?: number;
|
|
118
|
-
pageSizes?: number[];
|
|
119
|
-
size?: import('@es-plus/core').EsButtonSize;
|
|
120
|
-
isSmall?: boolean;
|
|
121
|
-
layout?: string;
|
|
122
|
-
}>;
|
|
123
|
-
formInstance: import('vue').Ref<unknown>;
|
|
124
|
-
filteredColumns: import('vue').ComputedRef<{
|
|
125
|
-
[x: string]: unknown;
|
|
126
|
-
prop?: string;
|
|
127
|
-
key?: string;
|
|
128
|
-
label?: string;
|
|
129
|
-
labelKey?: string;
|
|
130
|
-
width?: number | string;
|
|
131
|
-
minWidth?: number | string;
|
|
132
|
-
align?: string;
|
|
133
|
-
fixed?: boolean | "left" | "right" | string;
|
|
134
|
-
type?: "index" | "selection" | "expand";
|
|
135
|
-
sortable?: boolean | "custom";
|
|
136
|
-
formatter?: (row: import('@es-plus/core').ModelData, col?: unknown, value?: unknown, index?: number) => string;
|
|
137
|
-
render?: (h: import('@es-plus/core').RenderFn, ctx: {
|
|
138
|
-
row: import('@es-plus/core').ModelData;
|
|
139
|
-
value: unknown;
|
|
140
|
-
index: number;
|
|
141
|
-
columnIndex?: number;
|
|
142
|
-
}) => import('@es-plus/core').AnyVNode;
|
|
143
|
-
scopedSlots?: {
|
|
144
|
-
customRender?: string;
|
|
145
|
-
};
|
|
146
|
-
groups?: /*elided*/ any[];
|
|
147
|
-
ellipsis?: boolean;
|
|
148
|
-
hidCol?: boolean;
|
|
149
|
-
btns?: {
|
|
150
|
-
[x: string]: unknown;
|
|
151
|
-
name: string;
|
|
152
|
-
type?: import('@es-plus/core').EsButtonType;
|
|
153
|
-
icon?: string;
|
|
154
|
-
permissionValue?: string;
|
|
155
|
-
clickEvent?: (row: import('@es-plus/core').ModelData) => void;
|
|
156
|
-
}[];
|
|
157
|
-
}[]>;
|
|
158
|
-
tableBindAttrs: import('vue').ComputedRef<Record<string, unknown>>;
|
|
159
|
-
hasDefaultSlot: import('vue').ComputedRef<boolean>;
|
|
160
|
-
heightType: import('vue').ComputedRef<"auto" | "height" | "maxHeight">;
|
|
161
|
-
tabHeight: import('vue').ComputedRef<string>;
|
|
162
|
-
slotStyles: import('vue').ComputedRef<{
|
|
163
|
-
type: string;
|
|
164
|
-
value: string | Record<string, unknown>;
|
|
165
|
-
}>;
|
|
166
|
-
slotState: import('vue').Ref<boolean>;
|
|
167
|
-
showPagination: import('vue').Ref<boolean>;
|
|
168
|
-
containerStyle: import('vue').ComputedRef<{
|
|
169
|
-
[x: string]: string;
|
|
170
|
-
}>;
|
|
171
|
-
paginationStyle: import('vue').ComputedRef<{
|
|
172
|
-
position: string;
|
|
173
|
-
bottom: string;
|
|
174
|
-
left: string;
|
|
175
|
-
zIndex: number;
|
|
176
|
-
background: string;
|
|
177
|
-
}>;
|
|
178
|
-
layout: import('vue').ComputedRef<any>;
|
|
179
|
-
paginationPageSizes: import('vue').ComputedRef<any>;
|
|
180
|
-
paginationIsSmall: import('vue').ComputedRef<any>;
|
|
181
|
-
paginationBackground: import('vue').ComputedRef<any>;
|
|
182
|
-
setTableContainer: (el: HTMLElement | null) => void;
|
|
183
|
-
handleTableSelectionChange: (val: Record<string, unknown>[]) => void;
|
|
184
|
-
changeTableSort: (column: Record<string, unknown>) => void;
|
|
185
|
-
handleSizeChange: (size: number) => void;
|
|
186
|
-
handleIndexChange: (val: number) => void;
|
|
187
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:dataSource" | "update:pagination" | "pagination-current-change" | "size-change" | "change-table-sort")[], string, Readonly<import('vue').ExtractPropTypes<{
|
|
191
|
+
}, import('@vue/composition-api').ExtractPropTypes<{
|
|
188
192
|
initTabHeight: {
|
|
189
193
|
type: NumberConstructor;
|
|
190
194
|
default: number;
|
|
@@ -279,7 +283,120 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
279
283
|
type: () => PaginationConfig;
|
|
280
284
|
default: () => {};
|
|
281
285
|
};
|
|
282
|
-
}>>, {
|
|
286
|
+
}>, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin> & Omit<import('vue').VueConstructor<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>>, never> & (new (...args: any[]) => import('@vue/composition-api').ComponentRenderProxy<{
|
|
287
|
+
options: TableOptions;
|
|
288
|
+
initTabHeight: number;
|
|
289
|
+
headBarClass: string | Record<string, unknown>;
|
|
290
|
+
showHeaderBar: boolean;
|
|
291
|
+
dataSource: Record<string, unknown>[];
|
|
292
|
+
columns: TableColumn[];
|
|
293
|
+
pagination: {};
|
|
294
|
+
} & {} & {
|
|
295
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
296
|
+
}, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
297
|
+
instance: Record<string, unknown>;
|
|
298
|
+
resizeObservers: () => void;
|
|
299
|
+
httpRequestInstance: (model?: Record<string, unknown>) => Promise<unknown>;
|
|
300
|
+
getSelectionRows: () => {
|
|
301
|
+
[x: string]: unknown;
|
|
302
|
+
}[];
|
|
303
|
+
clearSelection: () => any;
|
|
304
|
+
clearAllSelection: () => void;
|
|
305
|
+
refresh: () => any;
|
|
306
|
+
scrollToRow: (_row: number) => void;
|
|
307
|
+
tableRef: any;
|
|
308
|
+
tbBtnRef: any;
|
|
309
|
+
headBarRef: import('@vue/composition-api').Ref<HTMLElement>;
|
|
310
|
+
paginationRef: import('@vue/composition-api').Ref<HTMLElement>;
|
|
311
|
+
tableId: import('@vue/composition-api').Ref<string>;
|
|
312
|
+
tableData: import('@vue/composition-api').Ref<{
|
|
313
|
+
[x: string]: unknown;
|
|
314
|
+
}[]>;
|
|
315
|
+
loadStatus: import('@vue/composition-api').ComputedRef<boolean>;
|
|
316
|
+
paginationConfig: import('@vue/composition-api').Ref<{
|
|
317
|
+
pageSize?: number;
|
|
318
|
+
current?: number;
|
|
319
|
+
total?: number;
|
|
320
|
+
pageSizes?: number[];
|
|
321
|
+
size?: import('@es-plus/core').EsButtonSize;
|
|
322
|
+
isSmall?: boolean;
|
|
323
|
+
layout?: string;
|
|
324
|
+
}>;
|
|
325
|
+
formInstance: import('@vue/composition-api').Ref<unknown>;
|
|
326
|
+
filteredColumns: import('@vue/composition-api').ComputedRef<{
|
|
327
|
+
[x: string]: unknown;
|
|
328
|
+
prop?: string;
|
|
329
|
+
key?: string;
|
|
330
|
+
label?: string;
|
|
331
|
+
labelKey?: string;
|
|
332
|
+
width?: number | string;
|
|
333
|
+
minWidth?: number | string;
|
|
334
|
+
align?: string;
|
|
335
|
+
fixed?: boolean | "left" | "right" | string;
|
|
336
|
+
type?: "index" | "selection" | "expand";
|
|
337
|
+
sortable?: boolean | "custom";
|
|
338
|
+
formatter?: (row: import('@es-plus/core').ModelData, col?: unknown, value?: unknown, index?: number) => string;
|
|
339
|
+
render?: (h: import('@es-plus/core').RenderFn, ctx: {
|
|
340
|
+
row: import('@es-plus/core').ModelData;
|
|
341
|
+
value: unknown;
|
|
342
|
+
index: number;
|
|
343
|
+
columnIndex?: number;
|
|
344
|
+
}) => import('@es-plus/core').AnyVNode;
|
|
345
|
+
scopedSlots?: {
|
|
346
|
+
customRender?: string;
|
|
347
|
+
};
|
|
348
|
+
groups?: /*elided*/ any[];
|
|
349
|
+
ellipsis?: boolean;
|
|
350
|
+
hidCol?: boolean;
|
|
351
|
+
btns?: {
|
|
352
|
+
[x: string]: unknown;
|
|
353
|
+
name: string;
|
|
354
|
+
type?: import('@es-plus/core').EsButtonType;
|
|
355
|
+
icon?: string;
|
|
356
|
+
permissionValue?: string;
|
|
357
|
+
clickEvent?: (row: import('@es-plus/core').ModelData) => void;
|
|
358
|
+
}[];
|
|
359
|
+
}[]>;
|
|
360
|
+
tableBindAttrs: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
361
|
+
hasDefaultSlot: import('@vue/composition-api').ComputedRef<boolean>;
|
|
362
|
+
heightType: import('@vue/composition-api').ComputedRef<"auto" | "height" | "maxHeight">;
|
|
363
|
+
tabHeight: import('@vue/composition-api').ComputedRef<string>;
|
|
364
|
+
slotStyles: import('@vue/composition-api').ComputedRef<{
|
|
365
|
+
type: string;
|
|
366
|
+
value: string | Record<string, unknown>;
|
|
367
|
+
}>;
|
|
368
|
+
slotState: import('@vue/composition-api').Ref<boolean>;
|
|
369
|
+
showPagination: import('@vue/composition-api').Ref<boolean>;
|
|
370
|
+
containerStyle: import('@vue/composition-api').ComputedRef<{
|
|
371
|
+
[x: string]: string;
|
|
372
|
+
}>;
|
|
373
|
+
paginationStyle: import('@vue/composition-api').ComputedRef<{
|
|
374
|
+
position: string;
|
|
375
|
+
bottom: string;
|
|
376
|
+
left: string;
|
|
377
|
+
zIndex: number;
|
|
378
|
+
background: string;
|
|
379
|
+
}>;
|
|
380
|
+
layout: import('@vue/composition-api').ComputedRef<any>;
|
|
381
|
+
paginationPageSizes: import('@vue/composition-api').ComputedRef<any>;
|
|
382
|
+
paginationIsSmall: import('@vue/composition-api').ComputedRef<any>;
|
|
383
|
+
paginationBackground: import('@vue/composition-api').ComputedRef<any>;
|
|
384
|
+
setTableContainer: (el: HTMLElement | null) => void;
|
|
385
|
+
handleTableSelectionChange: (val: Record<string, unknown>[]) => void;
|
|
386
|
+
changeTableSort: (column: Record<string, unknown>) => void;
|
|
387
|
+
handleSizeChange: (size: number) => void;
|
|
388
|
+
handleIndexChange: (val: number) => void;
|
|
389
|
+
}>, import('@vue/composition-api').Data, {}, {}, {}, {}, string[], {
|
|
390
|
+
options: TableOptions;
|
|
391
|
+
initTabHeight: number;
|
|
392
|
+
headBarClass: string | Record<string, unknown>;
|
|
393
|
+
showHeaderBar: boolean;
|
|
394
|
+
dataSource: Record<string, unknown>[];
|
|
395
|
+
columns: TableColumn[];
|
|
396
|
+
pagination: {};
|
|
397
|
+
} & {} & {
|
|
398
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
399
|
+
}, {
|
|
283
400
|
options: TableOptions;
|
|
284
401
|
initTabHeight: number;
|
|
285
402
|
headBarClass: string | Record<string, unknown>;
|
|
@@ -287,6 +404,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
287
404
|
dataSource: Record<string, unknown>[];
|
|
288
405
|
columns: TableColumn[];
|
|
289
406
|
pagination: {};
|
|
290
|
-
}
|
|
407
|
+
}, true>);
|
|
291
408
|
export default _default;
|
|
292
409
|
//# sourceMappingURL=component.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-table/component.vue"],"names":[],"mappings":"AAwIA;AA6BA,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAClB,MAAM,eAAe,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"component.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-table/component.vue"],"names":[],"mappings":"AAwIA;AA6BA,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAClB,MAAM,eAAe,CAAA;;;;kCAwmBmB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;wBA0GtC,M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