tabula-vue 1.0.0 → 1.0.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/es/component.mjs +2 -0
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +2 -2
- package/es/components/dialog-form/src/index.vue.d.ts +2 -2
- package/es/components/display-item/index.d.ts +25 -25
- package/es/components/display-item/src/index.vue.d.ts +7 -7
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +99 -99
- package/es/components/form/src/form-content.vue.d.ts +12 -12
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +80 -80
- package/es/components/form-item/src/index.vue.d.ts +9 -9
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +5 -0
- package/es/components/input-tag/index.d.ts +6 -6
- package/es/components/input-tag/src/index.vue.d.ts +6 -6
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +1613 -1123
- package/es/components/page/src/index.vue.d.ts +618 -430
- package/es/components/page/src/index.vue2.mjs +31 -10
- package/es/components/popover/index.d.ts +49 -49
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/render/index.d.ts +14 -14
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +298 -298
- package/es/components/search/src/index.vue.d.ts +84 -84
- package/es/components/sidebar/index.d.ts +31 -31
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/table/index.d.ts +165 -180
- package/es/components/table/index.mjs +3 -0
- package/es/components/table/src/index.vue.d.ts +12 -21
- package/es/components/table/src/index.vue2.mjs +11 -34
- package/es/components/table/src/table-action-bar-content.vue.d.ts +78 -0
- package/es/components/table/src/table-action-bar-content.vue.mjs +6 -0
- package/es/components/table/src/table-action-bar-content.vue2.mjs +395 -0
- package/es/components/table/src/table-action-bar.vue.d.ts +4 -4
- package/es/components/table/src/table-action-bar.vue2.mjs +30 -353
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +1 -1
- package/es/components/table/src/table-column-index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +22 -29
- package/es/components/table/src/table-column.vue2.mjs +4 -57
- package/es/components/table/src/table-title-bar.vue.d.ts +2 -2
- package/es/components/table/src/type.d.ts +0 -11
- package/es/components/table/src/use-columns.d.ts +26 -0
- package/es/components/table/src/use-columns.mjs +40 -0
- package/es/components/table-v2/index.d.ts +174 -0
- package/es/components/table-v2/index.mjs +7 -0
- package/es/components/table-v2/src/column-converter.d.ts +27 -0
- package/es/components/table-v2/src/column-converter.mjs +42 -0
- package/es/components/table-v2/src/index.vue.d.ts +157 -0
- package/es/components/table-v2/src/index.vue.mjs +6 -0
- package/es/components/table-v2/src/index.vue2.mjs +491 -0
- package/es/components/table-v2/src/special-columns.d.ts +61 -0
- package/es/components/table-v2/src/special-columns.mjs +76 -0
- package/es/components/table-v2/src/table-v2-cell.d.ts +104 -0
- package/es/components/table-v2/src/table-v2-cell.mjs +139 -0
- package/es/components/table-v2/src/table-v2-header-cell.vue.d.ts +61 -0
- package/es/components/table-v2/src/table-v2-header-cell.vue.mjs +6 -0
- package/es/components/table-v2/src/table-v2-header-cell.vue2.mjs +92 -0
- package/es/components/table-v2/src/type.d.ts +95 -0
- package/es/components/table-v2/src/type.mjs +1 -0
- package/es/components/table-v2/src/use-table-v2-columns.d.ts +43 -0
- package/es/components/table-v2/src/use-table-v2-columns.mjs +47 -0
- package/es/components/table-v2/style/css.d.ts +17 -0
- package/es/components/table-v2/style/css.mjs +17 -0
- package/es/components/table-v2/style/index.d.ts +17 -0
- package/es/components/table-v2/style/index.mjs +17 -0
- package/es/index.mjs +5 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +1111 -218
- package/index.min.js +5 -6
- package/index.min.mjs +5 -6
- package/index.mjs +1109 -221
- package/lib/component.js +40 -38
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +2 -2
- package/lib/components/dialog-form/src/index.vue.d.ts +2 -2
- package/lib/components/display-item/index.d.ts +25 -25
- package/lib/components/display-item/src/index.vue.d.ts +7 -7
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +99 -99
- package/lib/components/form/src/form-content.vue.d.ts +12 -12
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +80 -80
- package/lib/components/form-item/src/index.vue.d.ts +9 -9
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +49 -39
- package/lib/components/input-tag/index.d.ts +6 -6
- package/lib/components/input-tag/src/index.vue.d.ts +6 -6
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +1613 -1123
- package/lib/components/page/src/index.vue.d.ts +618 -430
- package/lib/components/page/src/index.vue2.js +34 -13
- package/lib/components/popover/index.d.ts +49 -49
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/render/index.d.ts +14 -14
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +298 -298
- package/lib/components/search/src/index.vue.d.ts +84 -84
- package/lib/components/sidebar/index.d.ts +31 -31
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/table/index.d.ts +165 -180
- package/lib/components/table/index.js +6 -0
- package/lib/components/table/src/index.vue.d.ts +12 -21
- package/lib/components/table/src/index.vue2.js +10 -33
- package/lib/components/table/src/table-action-bar-content.vue.d.ts +78 -0
- package/lib/components/table/src/table-action-bar-content.vue.js +10 -0
- package/lib/components/table/src/table-action-bar-content.vue2.js +399 -0
- package/lib/components/table/src/table-action-bar.vue.d.ts +4 -4
- package/lib/components/table/src/table-action-bar.vue2.js +28 -351
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +1 -1
- package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +22 -29
- package/lib/components/table/src/table-column.vue2.js +2 -55
- package/lib/components/table/src/table-title-bar.vue.d.ts +2 -2
- package/lib/components/table/src/type.d.ts +0 -11
- package/lib/components/table/src/use-columns.d.ts +26 -0
- package/lib/components/table/src/use-columns.js +42 -0
- package/lib/components/table-v2/index.d.ts +174 -0
- package/lib/components/table-v2/index.js +10 -0
- package/lib/components/table-v2/src/column-converter.d.ts +27 -0
- package/lib/components/table-v2/src/column-converter.js +44 -0
- package/lib/components/table-v2/src/index.vue.d.ts +157 -0
- package/lib/components/table-v2/src/index.vue.js +10 -0
- package/lib/components/table-v2/src/index.vue2.js +495 -0
- package/lib/components/table-v2/src/special-columns.d.ts +61 -0
- package/lib/components/table-v2/src/special-columns.js +80 -0
- package/lib/components/table-v2/src/table-v2-cell.d.ts +104 -0
- package/lib/components/table-v2/src/table-v2-cell.js +143 -0
- package/lib/components/table-v2/src/table-v2-header-cell.vue.d.ts +61 -0
- package/lib/components/table-v2/src/table-v2-header-cell.vue.js +10 -0
- package/lib/components/table-v2/src/table-v2-header-cell.vue2.js +96 -0
- package/lib/components/table-v2/src/type.d.ts +95 -0
- package/lib/components/table-v2/src/type.js +2 -0
- package/lib/components/table-v2/src/use-table-v2-columns.d.ts +43 -0
- package/lib/components/table-v2/src/use-table-v2-columns.js +51 -0
- package/lib/components/table-v2/style/css.d.ts +17 -0
- package/lib/components/table-v2/style/css.js +20 -0
- package/lib/components/table-v2/style/index.d.ts +17 -0
- package/lib/components/table-v2/style/index.js +20 -0
- package/lib/index.js +49 -39
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-hk.js +1 -1
- package/locale/zh-hk.min.js +1 -1
- package/locale/zh-hk.min.mjs +1 -1
- package/locale/zh-hk.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-table-v2.css +1 -0
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/table-v2.scss +71 -0
|
@@ -5,9 +5,10 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
5
5
|
import { LooseRequired } from '@vue/shared';
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormSelfProps, ElementPlusFormProps } from 'tabula-vue';
|
|
8
|
-
import {
|
|
8
|
+
import { ColProps, RowProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table, TableProps } from 'element-plus';
|
|
9
9
|
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, ShallowRef, PublicProps } from 'vue';
|
|
10
10
|
import { PlusPaginationProps } from 'tabula-vue/es/components/pagination';
|
|
11
|
+
import { PlusTableV2Props, PlusTableV2SelfProps } from 'tabula-vue/es/components/table-v2';
|
|
11
12
|
import { PlusTableProps, ActionBarProps, ColumnSetting, TableSpecialColumnType, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow, PlusTableSelfProps } from 'tabula-vue/es/components/table';
|
|
12
13
|
import { PlusSearchProps, PlusSearchSelfProps } from 'tabula-vue/es/components/search';
|
|
13
14
|
import { PlusColumn, PageInfo, RecordType, FieldValues, PlusCardProps, IntrinsicAttributes, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'tabula-vue/es/types';
|
|
@@ -40,6 +41,19 @@ export interface PlusPageProps {
|
|
|
40
41
|
* PlusTableProps
|
|
41
42
|
*/
|
|
42
43
|
table?: Partial<PlusTableProps & IntrinsicAttributes>;
|
|
44
|
+
/**
|
|
45
|
+
* 表格实现类型,默认 `table`
|
|
46
|
+
* - `table`:基于 el-table 的 PlusTable
|
|
47
|
+
* - `table-v2`:基于 el-table-v2 的虚拟表格 PlusTableV2
|
|
48
|
+
* @default 'table'
|
|
49
|
+
* @version 0.1.33
|
|
50
|
+
*/
|
|
51
|
+
tableType?: 'table' | 'table-v2';
|
|
52
|
+
/**
|
|
53
|
+
* PlusTableV2Props,仅当 tableType 为 `table-v2` 时生效
|
|
54
|
+
* @version 0.1.33
|
|
55
|
+
*/
|
|
56
|
+
tableV2?: Partial<PlusTableV2Props & IntrinsicAttributes>;
|
|
43
57
|
/**
|
|
44
58
|
* request的 params 其他参数,默认会带pageSize,page和 PlusSearch组件中的值
|
|
45
59
|
*/
|
|
@@ -138,6 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
138
152
|
};
|
|
139
153
|
searchSlot: boolean;
|
|
140
154
|
resetSearch: boolean;
|
|
155
|
+
tableType: string;
|
|
156
|
+
tableV2: undefined;
|
|
141
157
|
}>, {
|
|
142
158
|
plusSearchInstance: Ref<({
|
|
143
159
|
$: ComponentInternalInstance;
|
|
@@ -148,15 +164,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
148
164
|
labelPosition: "top" | "right" | "left";
|
|
149
165
|
inline: boolean;
|
|
150
166
|
showNumber: number;
|
|
151
|
-
|
|
152
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
167
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
153
168
|
style?: CSSProperties | undefined;
|
|
154
169
|
class?: any;
|
|
155
170
|
} & RecordType>;
|
|
156
|
-
|
|
171
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
157
172
|
style?: CSSProperties | undefined;
|
|
158
173
|
class?: any;
|
|
159
174
|
} & RecordType>;
|
|
175
|
+
defaultValues: FieldValues;
|
|
160
176
|
hasFooter: boolean;
|
|
161
177
|
hasReset: boolean;
|
|
162
178
|
resetText: string;
|
|
@@ -172,15 +188,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
172
188
|
readonly modelValue: FieldValues;
|
|
173
189
|
readonly inline: boolean;
|
|
174
190
|
readonly showNumber: number;
|
|
175
|
-
readonly
|
|
176
|
-
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
191
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
177
192
|
style?: CSSProperties | undefined;
|
|
178
193
|
class?: any;
|
|
179
194
|
} & RecordType>;
|
|
180
|
-
readonly
|
|
195
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
181
196
|
style?: CSSProperties | undefined;
|
|
182
197
|
class?: any;
|
|
183
198
|
} & RecordType>;
|
|
199
|
+
readonly defaultValues: FieldValues;
|
|
184
200
|
readonly hasFooter: boolean;
|
|
185
201
|
readonly hasReset: boolean;
|
|
186
202
|
readonly resetText: string;
|
|
@@ -218,19 +234,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
218
234
|
type: PropType<number>;
|
|
219
235
|
default: number;
|
|
220
236
|
};
|
|
221
|
-
defaultValues: {
|
|
222
|
-
type: PropType<FieldValues>;
|
|
223
|
-
default: () => {};
|
|
224
|
-
};
|
|
225
|
-
rowProps: {
|
|
226
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
227
|
-
style?: CSSProperties | undefined;
|
|
228
|
-
class?: any;
|
|
229
|
-
} & RecordType>>;
|
|
230
|
-
default: () => {
|
|
231
|
-
gutter: number;
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
237
|
colProps: {
|
|
235
238
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
236
239
|
style?: CSSProperties | undefined;
|
|
@@ -244,6 +247,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
244
247
|
xl: number;
|
|
245
248
|
};
|
|
246
249
|
};
|
|
250
|
+
rowProps: {
|
|
251
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
252
|
+
style?: CSSProperties | undefined;
|
|
253
|
+
class?: any;
|
|
254
|
+
} & RecordType>>;
|
|
255
|
+
default: () => {
|
|
256
|
+
gutter: number;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
defaultValues: {
|
|
260
|
+
type: PropType<FieldValues>;
|
|
261
|
+
default: () => {};
|
|
262
|
+
};
|
|
247
263
|
hasFooter: {
|
|
248
264
|
type: PropType<boolean>;
|
|
249
265
|
default: boolean;
|
|
@@ -290,7 +306,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
290
306
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
291
307
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
292
308
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
293
|
-
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "
|
|
309
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
|
|
294
310
|
$attrs: {
|
|
295
311
|
[x: string]: unknown;
|
|
296
312
|
};
|
|
@@ -325,19 +341,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
325
341
|
type: PropType<number>;
|
|
326
342
|
default: number;
|
|
327
343
|
};
|
|
328
|
-
defaultValues: {
|
|
329
|
-
type: PropType<FieldValues>;
|
|
330
|
-
default: () => {};
|
|
331
|
-
};
|
|
332
|
-
rowProps: {
|
|
333
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
334
|
-
style?: CSSProperties | undefined;
|
|
335
|
-
class?: any;
|
|
336
|
-
} & RecordType>>;
|
|
337
|
-
default: () => {
|
|
338
|
-
gutter: number;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
344
|
colProps: {
|
|
342
345
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
343
346
|
style?: CSSProperties | undefined;
|
|
@@ -351,6 +354,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
351
354
|
xl: number;
|
|
352
355
|
};
|
|
353
356
|
};
|
|
357
|
+
rowProps: {
|
|
358
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
359
|
+
style?: CSSProperties | undefined;
|
|
360
|
+
class?: any;
|
|
361
|
+
} & RecordType>>;
|
|
362
|
+
default: () => {
|
|
363
|
+
gutter: number;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
defaultValues: {
|
|
367
|
+
type: PropType<FieldValues>;
|
|
368
|
+
default: () => {};
|
|
369
|
+
};
|
|
354
370
|
hasFooter: {
|
|
355
371
|
type: PropType<boolean>;
|
|
356
372
|
default: boolean;
|
|
@@ -410,15 +426,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
426
|
labelWidth: string | number;
|
|
411
427
|
labelSuffix: string;
|
|
412
428
|
hasLabel: boolean;
|
|
413
|
-
|
|
414
|
-
|
|
429
|
+
clearable: boolean;
|
|
430
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
415
431
|
style?: CSSProperties | undefined;
|
|
416
432
|
class?: any;
|
|
417
433
|
} & RecordType>;
|
|
418
|
-
|
|
434
|
+
collapseDuration: number;
|
|
435
|
+
collapseTransition: boolean;
|
|
436
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
419
437
|
style?: CSSProperties | undefined;
|
|
420
438
|
class?: any;
|
|
421
439
|
} & RecordType>;
|
|
440
|
+
defaultValues: FieldValues;
|
|
422
441
|
hasErrorTip: boolean;
|
|
423
442
|
hasFooter: boolean;
|
|
424
443
|
hasReset: boolean;
|
|
@@ -431,9 +450,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
431
450
|
class?: any;
|
|
432
451
|
} & RecordType>;
|
|
433
452
|
prevent: boolean;
|
|
434
|
-
collapseDuration: number;
|
|
435
|
-
collapseTransition: boolean;
|
|
436
|
-
clearable: boolean;
|
|
437
453
|
}> & Omit<{
|
|
438
454
|
readonly columns: PlusColumn[];
|
|
439
455
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -443,15 +459,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
443
459
|
readonly labelWidth: string | number;
|
|
444
460
|
readonly labelSuffix: string;
|
|
445
461
|
readonly hasLabel: boolean;
|
|
446
|
-
readonly
|
|
447
|
-
readonly
|
|
462
|
+
readonly clearable: boolean;
|
|
463
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
448
464
|
style?: CSSProperties | undefined;
|
|
449
465
|
class?: any;
|
|
450
466
|
} & RecordType>;
|
|
451
|
-
readonly
|
|
467
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
452
468
|
style?: CSSProperties | undefined;
|
|
453
469
|
class?: any;
|
|
454
470
|
} & RecordType>;
|
|
471
|
+
readonly defaultValues: FieldValues;
|
|
455
472
|
readonly hasErrorTip: boolean;
|
|
456
473
|
readonly hasFooter: boolean;
|
|
457
474
|
readonly hasReset: boolean;
|
|
@@ -464,7 +481,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
464
481
|
class?: any;
|
|
465
482
|
} & RecordType>;
|
|
466
483
|
readonly prevent: boolean;
|
|
467
|
-
readonly clearable: boolean;
|
|
468
484
|
readonly collapseDuration?: number | undefined;
|
|
469
485
|
readonly collapseTransition?: boolean | undefined;
|
|
470
486
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -506,24 +522,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
506
522
|
type: PropType<boolean>;
|
|
507
523
|
default: boolean;
|
|
508
524
|
};
|
|
509
|
-
|
|
510
|
-
type: PropType<
|
|
511
|
-
default:
|
|
525
|
+
clearable: {
|
|
526
|
+
type: PropType<boolean>;
|
|
527
|
+
default: boolean;
|
|
512
528
|
};
|
|
513
|
-
|
|
514
|
-
type: PropType<Partial< Mutable<
|
|
529
|
+
colProps: {
|
|
530
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
515
531
|
style?: CSSProperties | undefined;
|
|
516
532
|
class?: any;
|
|
517
533
|
} & RecordType>>;
|
|
518
534
|
default: () => {};
|
|
519
535
|
};
|
|
520
|
-
|
|
521
|
-
type: PropType<
|
|
536
|
+
collapseDuration: {
|
|
537
|
+
type: PropType<number>;
|
|
538
|
+
default: undefined;
|
|
539
|
+
};
|
|
540
|
+
collapseTransition: {
|
|
541
|
+
type: PropType<boolean>;
|
|
542
|
+
default: undefined;
|
|
543
|
+
};
|
|
544
|
+
rowProps: {
|
|
545
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
522
546
|
style?: CSSProperties | undefined;
|
|
523
547
|
class?: any;
|
|
524
548
|
} & RecordType>>;
|
|
525
549
|
default: () => {};
|
|
526
550
|
};
|
|
551
|
+
defaultValues: {
|
|
552
|
+
type: PropType<FieldValues>;
|
|
553
|
+
default: () => {};
|
|
554
|
+
};
|
|
527
555
|
hasErrorTip: {
|
|
528
556
|
type: PropType<boolean>;
|
|
529
557
|
default: boolean;
|
|
@@ -563,18 +591,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
563
591
|
type: PropType<boolean>;
|
|
564
592
|
default: boolean;
|
|
565
593
|
};
|
|
566
|
-
collapseDuration: {
|
|
567
|
-
type: PropType<number>;
|
|
568
|
-
default: undefined;
|
|
569
|
-
};
|
|
570
|
-
collapseTransition: {
|
|
571
|
-
type: PropType<boolean>;
|
|
572
|
-
default: undefined;
|
|
573
|
-
};
|
|
574
|
-
clearable: {
|
|
575
|
-
type: PropType<boolean>;
|
|
576
|
-
default: boolean;
|
|
577
|
-
};
|
|
578
594
|
}>> & {
|
|
579
595
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
580
596
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -582,7 +598,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
582
598
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
583
599
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
584
600
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
585
|
-
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "
|
|
601
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
586
602
|
$attrs: {
|
|
587
603
|
[x: string]: unknown;
|
|
588
604
|
};
|
|
@@ -629,24 +645,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
629
645
|
type: PropType<boolean>;
|
|
630
646
|
default: boolean;
|
|
631
647
|
};
|
|
632
|
-
|
|
633
|
-
type: PropType<
|
|
634
|
-
default:
|
|
648
|
+
clearable: {
|
|
649
|
+
type: PropType<boolean>;
|
|
650
|
+
default: boolean;
|
|
635
651
|
};
|
|
636
|
-
|
|
637
|
-
type: PropType<Partial< Mutable<
|
|
652
|
+
colProps: {
|
|
653
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
638
654
|
style?: CSSProperties | undefined;
|
|
639
655
|
class?: any;
|
|
640
656
|
} & RecordType>>;
|
|
641
657
|
default: () => {};
|
|
642
658
|
};
|
|
643
|
-
|
|
644
|
-
type: PropType<
|
|
659
|
+
collapseDuration: {
|
|
660
|
+
type: PropType<number>;
|
|
661
|
+
default: undefined;
|
|
662
|
+
};
|
|
663
|
+
collapseTransition: {
|
|
664
|
+
type: PropType<boolean>;
|
|
665
|
+
default: undefined;
|
|
666
|
+
};
|
|
667
|
+
rowProps: {
|
|
668
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
645
669
|
style?: CSSProperties | undefined;
|
|
646
670
|
class?: any;
|
|
647
671
|
} & RecordType>>;
|
|
648
672
|
default: () => {};
|
|
649
673
|
};
|
|
674
|
+
defaultValues: {
|
|
675
|
+
type: PropType<FieldValues>;
|
|
676
|
+
default: () => {};
|
|
677
|
+
};
|
|
650
678
|
hasErrorTip: {
|
|
651
679
|
type: PropType<boolean>;
|
|
652
680
|
default: boolean;
|
|
@@ -686,18 +714,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
686
714
|
type: PropType<boolean>;
|
|
687
715
|
default: boolean;
|
|
688
716
|
};
|
|
689
|
-
collapseDuration: {
|
|
690
|
-
type: PropType<number>;
|
|
691
|
-
default: undefined;
|
|
692
|
-
};
|
|
693
|
-
collapseTransition: {
|
|
694
|
-
type: PropType<boolean>;
|
|
695
|
-
default: undefined;
|
|
696
|
-
};
|
|
697
|
-
clearable: {
|
|
698
|
-
type: PropType<boolean>;
|
|
699
|
-
default: boolean;
|
|
700
|
-
};
|
|
701
717
|
}>> & {
|
|
702
718
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
703
719
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -724,13 +740,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
724
740
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
725
741
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
726
742
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
743
|
+
/**
|
|
744
|
+
* 设置搜索的值
|
|
745
|
+
* @version v0.1.17
|
|
746
|
+
*/
|
|
727
747
|
readonly scrollToError: BooleanConstructor;
|
|
728
748
|
readonly scrollIntoViewOptions: {
|
|
729
749
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
730
750
|
readonly required: false;
|
|
731
|
-
/**
|
|
732
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
733
|
-
*/
|
|
734
751
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
735
752
|
__epPropKey: true;
|
|
736
753
|
};
|
|
@@ -758,7 +775,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
758
775
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
759
776
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
760
777
|
readonly inline: BooleanConstructor;
|
|
761
|
-
readonly inlineMessage: BooleanConstructor;
|
|
778
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
779
|
+
* 数据加载失败时触发
|
|
780
|
+
*/
|
|
762
781
|
readonly statusIcon: BooleanConstructor;
|
|
763
782
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
764
783
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -835,13 +854,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
835
854
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
836
855
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
837
856
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
857
|
+
/**
|
|
858
|
+
* 设置搜索的值
|
|
859
|
+
* @version v0.1.17
|
|
860
|
+
*/
|
|
838
861
|
readonly scrollToError: BooleanConstructor;
|
|
839
862
|
readonly scrollIntoViewOptions: {
|
|
840
863
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
841
864
|
readonly required: false;
|
|
842
|
-
/**
|
|
843
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
844
|
-
*/
|
|
845
865
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
846
866
|
__epPropKey: true;
|
|
847
867
|
};
|
|
@@ -892,13 +912,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
892
912
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
893
913
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
894
914
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
915
|
+
/**
|
|
916
|
+
* 设置搜索的值
|
|
917
|
+
* @version v0.1.17
|
|
918
|
+
*/
|
|
895
919
|
readonly scrollToError: BooleanConstructor;
|
|
896
920
|
readonly scrollIntoViewOptions: {
|
|
897
921
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
898
922
|
readonly required: false;
|
|
899
|
-
/**
|
|
900
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
901
|
-
*/
|
|
902
923
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
903
924
|
__epPropKey: true;
|
|
904
925
|
};
|
|
@@ -926,7 +947,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
926
947
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
927
948
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
928
949
|
readonly inline: BooleanConstructor;
|
|
929
|
-
readonly inlineMessage: BooleanConstructor;
|
|
950
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
951
|
+
* 数据加载失败时触发
|
|
952
|
+
*/
|
|
930
953
|
readonly statusIcon: BooleanConstructor;
|
|
931
954
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
932
955
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -1015,15 +1038,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1015
1038
|
labelWidth: string | number;
|
|
1016
1039
|
labelSuffix: string;
|
|
1017
1040
|
hasLabel: boolean;
|
|
1018
|
-
|
|
1019
|
-
|
|
1041
|
+
clearable: boolean;
|
|
1042
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1020
1043
|
style?: CSSProperties | undefined;
|
|
1021
1044
|
class?: any;
|
|
1022
1045
|
} & RecordType>;
|
|
1023
|
-
|
|
1046
|
+
collapseDuration: number;
|
|
1047
|
+
collapseTransition: boolean;
|
|
1048
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1024
1049
|
style?: CSSProperties | undefined;
|
|
1025
1050
|
class?: any;
|
|
1026
1051
|
} & RecordType>;
|
|
1052
|
+
defaultValues: FieldValues;
|
|
1027
1053
|
hasErrorTip: boolean;
|
|
1028
1054
|
hasFooter: boolean;
|
|
1029
1055
|
hasReset: boolean;
|
|
@@ -1036,9 +1062,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1036
1062
|
class?: any;
|
|
1037
1063
|
} & RecordType>;
|
|
1038
1064
|
prevent: boolean;
|
|
1039
|
-
collapseDuration: number;
|
|
1040
|
-
collapseTransition: boolean;
|
|
1041
|
-
clearable: boolean;
|
|
1042
1065
|
}, {}, string, {}> & {
|
|
1043
1066
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1044
1067
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1092,24 +1115,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1092
1115
|
type: PropType<boolean>;
|
|
1093
1116
|
default: boolean;
|
|
1094
1117
|
};
|
|
1095
|
-
|
|
1096
|
-
type: PropType<
|
|
1097
|
-
default:
|
|
1118
|
+
clearable: {
|
|
1119
|
+
type: PropType<boolean>;
|
|
1120
|
+
default: boolean;
|
|
1098
1121
|
};
|
|
1099
|
-
|
|
1100
|
-
type: PropType<Partial< Mutable<
|
|
1122
|
+
colProps: {
|
|
1123
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1101
1124
|
style?: CSSProperties | undefined;
|
|
1102
1125
|
class?: any;
|
|
1103
1126
|
} & RecordType>>;
|
|
1104
1127
|
default: () => {};
|
|
1105
1128
|
};
|
|
1106
|
-
|
|
1107
|
-
type: PropType<
|
|
1129
|
+
collapseDuration: {
|
|
1130
|
+
type: PropType<number>;
|
|
1131
|
+
default: undefined;
|
|
1132
|
+
};
|
|
1133
|
+
collapseTransition: {
|
|
1134
|
+
type: PropType<boolean>;
|
|
1135
|
+
default: undefined;
|
|
1136
|
+
};
|
|
1137
|
+
rowProps: {
|
|
1138
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1108
1139
|
style?: CSSProperties | undefined;
|
|
1109
1140
|
class?: any;
|
|
1110
1141
|
} & RecordType>>;
|
|
1111
1142
|
default: () => {};
|
|
1112
1143
|
};
|
|
1144
|
+
defaultValues: {
|
|
1145
|
+
type: PropType<FieldValues>;
|
|
1146
|
+
default: () => {};
|
|
1147
|
+
};
|
|
1113
1148
|
hasErrorTip: {
|
|
1114
1149
|
type: PropType<boolean>;
|
|
1115
1150
|
default: boolean;
|
|
@@ -1149,18 +1184,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1149
1184
|
type: PropType<boolean>;
|
|
1150
1185
|
default: boolean;
|
|
1151
1186
|
};
|
|
1152
|
-
collapseDuration: {
|
|
1153
|
-
type: PropType<number>;
|
|
1154
|
-
default: undefined;
|
|
1155
|
-
};
|
|
1156
|
-
collapseTransition: {
|
|
1157
|
-
type: PropType<boolean>;
|
|
1158
|
-
default: undefined;
|
|
1159
|
-
};
|
|
1160
|
-
clearable: {
|
|
1161
|
-
type: PropType<boolean>;
|
|
1162
|
-
default: boolean;
|
|
1163
|
-
};
|
|
1164
1187
|
}>> & {
|
|
1165
1188
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1166
1189
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1187,13 +1210,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1187
1210
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1188
1211
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1189
1212
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1213
|
+
/**
|
|
1214
|
+
* 设置搜索的值
|
|
1215
|
+
* @version v0.1.17
|
|
1216
|
+
*/
|
|
1190
1217
|
readonly scrollToError: BooleanConstructor;
|
|
1191
1218
|
readonly scrollIntoViewOptions: {
|
|
1192
1219
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
1193
1220
|
readonly required: false;
|
|
1194
|
-
/**
|
|
1195
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
1196
|
-
*/
|
|
1197
1221
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1198
1222
|
__epPropKey: true;
|
|
1199
1223
|
};
|
|
@@ -1221,7 +1245,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1221
1245
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1222
1246
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1223
1247
|
readonly inline: BooleanConstructor;
|
|
1224
|
-
readonly inlineMessage: BooleanConstructor;
|
|
1248
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
1249
|
+
* 数据加载失败时触发
|
|
1250
|
+
*/
|
|
1225
1251
|
readonly statusIcon: BooleanConstructor;
|
|
1226
1252
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1227
1253
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -1298,13 +1324,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1298
1324
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1299
1325
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1300
1326
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1327
|
+
/**
|
|
1328
|
+
* 设置搜索的值
|
|
1329
|
+
* @version v0.1.17
|
|
1330
|
+
*/
|
|
1301
1331
|
readonly scrollToError: BooleanConstructor;
|
|
1302
1332
|
readonly scrollIntoViewOptions: {
|
|
1303
1333
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
1304
1334
|
readonly required: false;
|
|
1305
|
-
/**
|
|
1306
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
1307
|
-
*/
|
|
1308
1335
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1309
1336
|
__epPropKey: true;
|
|
1310
1337
|
};
|
|
@@ -1355,13 +1382,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1355
1382
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1356
1383
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1357
1384
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
1385
|
+
/**
|
|
1386
|
+
* 设置搜索的值
|
|
1387
|
+
* @version v0.1.17
|
|
1388
|
+
*/
|
|
1358
1389
|
readonly scrollToError: BooleanConstructor;
|
|
1359
1390
|
readonly scrollIntoViewOptions: {
|
|
1360
1391
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
1361
1392
|
readonly required: false;
|
|
1362
|
-
/**
|
|
1363
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
1364
|
-
*/
|
|
1365
1393
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1366
1394
|
__epPropKey: true;
|
|
1367
1395
|
};
|
|
@@ -1389,7 +1417,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1389
1417
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1390
1418
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1391
1419
|
readonly inline: BooleanConstructor;
|
|
1392
|
-
readonly inlineMessage: BooleanConstructor;
|
|
1420
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
1421
|
+
* 数据加载失败时触发
|
|
1422
|
+
*/
|
|
1393
1423
|
readonly statusIcon: BooleanConstructor;
|
|
1394
1424
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1395
1425
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -1465,9 +1495,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1465
1495
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1466
1496
|
$slots: Partial<Record<string, (_: {
|
|
1467
1497
|
index: number;
|
|
1468
|
-
title: string | ComputedRef<string>;
|
|
1498
|
+
title: string | ComputedRef<string>; /**
|
|
1499
|
+
* 搜索外层的el-card的props ,当isCard为true时生效
|
|
1500
|
+
*/
|
|
1469
1501
|
name?: string | undefined;
|
|
1470
|
-
icon?: Component | undefined;
|
|
1502
|
+
icon?: Component | undefined; /**
|
|
1503
|
+
* 表格外层的el-card的props ,当isCard为true时生效
|
|
1504
|
+
*/
|
|
1471
1505
|
cardProps?: Partial< Mutable<CardProps> & {
|
|
1472
1506
|
style?: CSSProperties | undefined;
|
|
1473
1507
|
class?: any;
|
|
@@ -1475,7 +1509,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1475
1509
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1476
1510
|
columns?: PlusColumn[] | undefined;
|
|
1477
1511
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1478
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "
|
|
1512
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "defaultValue" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1479
1513
|
readonly label: string | ComputedRef<string>;
|
|
1480
1514
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1481
1515
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1504,7 +1538,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1504
1538
|
};
|
|
1505
1539
|
rows: number;
|
|
1506
1540
|
autocomplete: string;
|
|
1507
|
-
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "
|
|
1541
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1508
1542
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1509
1543
|
step: string | number;
|
|
1510
1544
|
format: string | ProgressFn | undefined;
|
|
@@ -1574,7 +1608,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1608
|
index: number;
|
|
1575
1609
|
defaultValue: any;
|
|
1576
1610
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1577
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "
|
|
1611
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "defaultValue" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1578
1612
|
readonly label: string | ComputedRef<string>;
|
|
1579
1613
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1580
1614
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1603,7 +1637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1603
1637
|
};
|
|
1604
1638
|
rows: number;
|
|
1605
1639
|
autocomplete: string;
|
|
1606
|
-
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "
|
|
1640
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1607
1641
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1608
1642
|
step: string | number;
|
|
1609
1643
|
format: string | ProgressFn | undefined;
|
|
@@ -1701,15 +1735,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1701
1735
|
labelPosition: "top" | "right" | "left";
|
|
1702
1736
|
inline: boolean;
|
|
1703
1737
|
showNumber: number;
|
|
1704
|
-
|
|
1705
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1738
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1706
1739
|
style?: CSSProperties | undefined;
|
|
1707
1740
|
class?: any;
|
|
1708
1741
|
} & RecordType>;
|
|
1709
|
-
|
|
1742
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1710
1743
|
style?: CSSProperties | undefined;
|
|
1711
1744
|
class?: any;
|
|
1712
1745
|
} & RecordType>;
|
|
1746
|
+
defaultValues: FieldValues;
|
|
1713
1747
|
hasFooter: boolean;
|
|
1714
1748
|
hasReset: boolean;
|
|
1715
1749
|
resetText: string;
|
|
@@ -1761,19 +1795,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1761
1795
|
type: PropType<number>;
|
|
1762
1796
|
default: number;
|
|
1763
1797
|
};
|
|
1764
|
-
defaultValues: {
|
|
1765
|
-
type: PropType<FieldValues>;
|
|
1766
|
-
default: () => {};
|
|
1767
|
-
};
|
|
1768
|
-
rowProps: {
|
|
1769
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1770
|
-
style?: CSSProperties | undefined;
|
|
1771
|
-
class?: any;
|
|
1772
|
-
} & RecordType>>;
|
|
1773
|
-
default: () => {
|
|
1774
|
-
gutter: number;
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
1798
|
colProps: {
|
|
1778
1799
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1779
1800
|
style?: CSSProperties | undefined;
|
|
@@ -1787,6 +1808,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1787
1808
|
xl: number;
|
|
1788
1809
|
};
|
|
1789
1810
|
};
|
|
1811
|
+
rowProps: {
|
|
1812
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1813
|
+
style?: CSSProperties | undefined;
|
|
1814
|
+
class?: any;
|
|
1815
|
+
} & RecordType>>;
|
|
1816
|
+
default: () => {
|
|
1817
|
+
gutter: number;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
defaultValues: {
|
|
1821
|
+
type: PropType<FieldValues>;
|
|
1822
|
+
default: () => {};
|
|
1823
|
+
};
|
|
1790
1824
|
hasFooter: {
|
|
1791
1825
|
type: PropType<boolean>;
|
|
1792
1826
|
default: boolean;
|
|
@@ -1846,15 +1880,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1846
1880
|
labelWidth: string | number;
|
|
1847
1881
|
labelSuffix: string;
|
|
1848
1882
|
hasLabel: boolean;
|
|
1849
|
-
|
|
1850
|
-
|
|
1883
|
+
clearable: boolean;
|
|
1884
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1851
1885
|
style?: CSSProperties | undefined;
|
|
1852
1886
|
class?: any;
|
|
1853
1887
|
} & RecordType>;
|
|
1854
|
-
|
|
1888
|
+
collapseDuration: number;
|
|
1889
|
+
collapseTransition: boolean;
|
|
1890
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1855
1891
|
style?: CSSProperties | undefined;
|
|
1856
1892
|
class?: any;
|
|
1857
1893
|
} & RecordType>;
|
|
1894
|
+
defaultValues: FieldValues;
|
|
1858
1895
|
hasErrorTip: boolean;
|
|
1859
1896
|
hasFooter: boolean;
|
|
1860
1897
|
hasReset: boolean;
|
|
@@ -1867,9 +1904,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1867
1904
|
class?: any;
|
|
1868
1905
|
} & RecordType>;
|
|
1869
1906
|
prevent: boolean;
|
|
1870
|
-
collapseDuration: number;
|
|
1871
|
-
collapseTransition: boolean;
|
|
1872
|
-
clearable: boolean;
|
|
1873
1907
|
}> & Omit<{
|
|
1874
1908
|
readonly columns: PlusColumn[];
|
|
1875
1909
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1879,15 +1913,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1879
1913
|
readonly labelWidth: string | number;
|
|
1880
1914
|
readonly labelSuffix: string;
|
|
1881
1915
|
readonly hasLabel: boolean;
|
|
1882
|
-
readonly
|
|
1883
|
-
readonly
|
|
1916
|
+
readonly clearable: boolean;
|
|
1917
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1884
1918
|
style?: CSSProperties | undefined;
|
|
1885
1919
|
class?: any;
|
|
1886
1920
|
} & RecordType>;
|
|
1887
|
-
readonly
|
|
1921
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1888
1922
|
style?: CSSProperties | undefined;
|
|
1889
1923
|
class?: any;
|
|
1890
1924
|
} & RecordType>;
|
|
1925
|
+
readonly defaultValues: FieldValues;
|
|
1891
1926
|
readonly hasErrorTip: boolean;
|
|
1892
1927
|
readonly hasFooter: boolean;
|
|
1893
1928
|
readonly hasReset: boolean;
|
|
@@ -1900,7 +1935,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1900
1935
|
class?: any;
|
|
1901
1936
|
} & RecordType>;
|
|
1902
1937
|
readonly prevent: boolean;
|
|
1903
|
-
readonly clearable: boolean;
|
|
1904
1938
|
readonly collapseDuration?: number | undefined;
|
|
1905
1939
|
readonly collapseTransition?: boolean | undefined;
|
|
1906
1940
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -1942,24 +1976,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1942
1976
|
type: PropType<boolean>;
|
|
1943
1977
|
default: boolean;
|
|
1944
1978
|
};
|
|
1945
|
-
|
|
1946
|
-
type: PropType<
|
|
1947
|
-
default:
|
|
1979
|
+
clearable: {
|
|
1980
|
+
type: PropType<boolean>;
|
|
1981
|
+
default: boolean;
|
|
1948
1982
|
};
|
|
1949
|
-
|
|
1950
|
-
type: PropType<Partial< Mutable<
|
|
1983
|
+
colProps: {
|
|
1984
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1951
1985
|
style?: CSSProperties | undefined;
|
|
1952
1986
|
class?: any;
|
|
1953
1987
|
} & RecordType>>;
|
|
1954
1988
|
default: () => {};
|
|
1955
1989
|
};
|
|
1956
|
-
|
|
1957
|
-
type: PropType<
|
|
1990
|
+
collapseDuration: {
|
|
1991
|
+
type: PropType<number>;
|
|
1992
|
+
default: undefined;
|
|
1993
|
+
};
|
|
1994
|
+
collapseTransition: {
|
|
1995
|
+
type: PropType<boolean>;
|
|
1996
|
+
default: undefined;
|
|
1997
|
+
};
|
|
1998
|
+
rowProps: {
|
|
1999
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1958
2000
|
style?: CSSProperties | undefined;
|
|
1959
2001
|
class?: any;
|
|
1960
2002
|
} & RecordType>>;
|
|
1961
2003
|
default: () => {};
|
|
1962
2004
|
};
|
|
2005
|
+
defaultValues: {
|
|
2006
|
+
type: PropType<FieldValues>;
|
|
2007
|
+
default: () => {};
|
|
2008
|
+
};
|
|
1963
2009
|
hasErrorTip: {
|
|
1964
2010
|
type: PropType<boolean>;
|
|
1965
2011
|
default: boolean;
|
|
@@ -1999,18 +2045,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1999
2045
|
type: PropType<boolean>;
|
|
2000
2046
|
default: boolean;
|
|
2001
2047
|
};
|
|
2002
|
-
collapseDuration: {
|
|
2003
|
-
type: PropType<number>;
|
|
2004
|
-
default: undefined;
|
|
2005
|
-
};
|
|
2006
|
-
collapseTransition: {
|
|
2007
|
-
type: PropType<boolean>;
|
|
2008
|
-
default: undefined;
|
|
2009
|
-
};
|
|
2010
|
-
clearable: {
|
|
2011
|
-
type: PropType<boolean>;
|
|
2012
|
-
default: boolean;
|
|
2013
|
-
};
|
|
2014
2048
|
}>> & {
|
|
2015
2049
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2016
2050
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -2018,7 +2052,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2018
2052
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2019
2053
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2020
2054
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2021
|
-
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "
|
|
2055
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2022
2056
|
$attrs: {
|
|
2023
2057
|
[x: string]: unknown;
|
|
2024
2058
|
};
|
|
@@ -2065,24 +2099,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2065
2099
|
type: PropType<boolean>;
|
|
2066
2100
|
default: boolean;
|
|
2067
2101
|
};
|
|
2068
|
-
|
|
2069
|
-
type: PropType<
|
|
2070
|
-
default:
|
|
2102
|
+
clearable: {
|
|
2103
|
+
type: PropType<boolean>;
|
|
2104
|
+
default: boolean;
|
|
2071
2105
|
};
|
|
2072
|
-
|
|
2073
|
-
type: PropType<Partial< Mutable<
|
|
2106
|
+
colProps: {
|
|
2107
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2074
2108
|
style?: CSSProperties | undefined;
|
|
2075
2109
|
class?: any;
|
|
2076
2110
|
} & RecordType>>;
|
|
2077
2111
|
default: () => {};
|
|
2078
2112
|
};
|
|
2079
|
-
|
|
2080
|
-
type: PropType<
|
|
2113
|
+
collapseDuration: {
|
|
2114
|
+
type: PropType<number>;
|
|
2115
|
+
default: undefined;
|
|
2116
|
+
};
|
|
2117
|
+
collapseTransition: {
|
|
2118
|
+
type: PropType<boolean>;
|
|
2119
|
+
default: undefined;
|
|
2120
|
+
};
|
|
2121
|
+
rowProps: {
|
|
2122
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2081
2123
|
style?: CSSProperties | undefined;
|
|
2082
2124
|
class?: any;
|
|
2083
2125
|
} & RecordType>>;
|
|
2084
2126
|
default: () => {};
|
|
2085
2127
|
};
|
|
2128
|
+
defaultValues: {
|
|
2129
|
+
type: PropType<FieldValues>;
|
|
2130
|
+
default: () => {};
|
|
2131
|
+
};
|
|
2086
2132
|
hasErrorTip: {
|
|
2087
2133
|
type: PropType<boolean>;
|
|
2088
2134
|
default: boolean;
|
|
@@ -2122,18 +2168,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2122
2168
|
type: PropType<boolean>;
|
|
2123
2169
|
default: boolean;
|
|
2124
2170
|
};
|
|
2125
|
-
collapseDuration: {
|
|
2126
|
-
type: PropType<number>;
|
|
2127
|
-
default: undefined;
|
|
2128
|
-
};
|
|
2129
|
-
collapseTransition: {
|
|
2130
|
-
type: PropType<boolean>;
|
|
2131
|
-
default: undefined;
|
|
2132
|
-
};
|
|
2133
|
-
clearable: {
|
|
2134
|
-
type: PropType<boolean>;
|
|
2135
|
-
default: boolean;
|
|
2136
|
-
};
|
|
2137
2171
|
}>> & {
|
|
2138
2172
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2139
2173
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -2160,13 +2194,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2160
2194
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2161
2195
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2162
2196
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2197
|
+
/**
|
|
2198
|
+
* 设置搜索的值
|
|
2199
|
+
* @version v0.1.17
|
|
2200
|
+
*/
|
|
2163
2201
|
readonly scrollToError: BooleanConstructor;
|
|
2164
2202
|
readonly scrollIntoViewOptions: {
|
|
2165
2203
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
2166
2204
|
readonly required: false;
|
|
2167
|
-
/**
|
|
2168
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
2169
|
-
*/
|
|
2170
2205
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2171
2206
|
__epPropKey: true;
|
|
2172
2207
|
};
|
|
@@ -2194,7 +2229,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2194
2229
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2195
2230
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2196
2231
|
readonly inline: BooleanConstructor;
|
|
2197
|
-
readonly inlineMessage: BooleanConstructor;
|
|
2232
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
2233
|
+
* 数据加载失败时触发
|
|
2234
|
+
*/
|
|
2198
2235
|
readonly statusIcon: BooleanConstructor;
|
|
2199
2236
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2200
2237
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -2271,13 +2308,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2271
2308
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2272
2309
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2273
2310
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2311
|
+
/**
|
|
2312
|
+
* 设置搜索的值
|
|
2313
|
+
* @version v0.1.17
|
|
2314
|
+
*/
|
|
2274
2315
|
readonly scrollToError: BooleanConstructor;
|
|
2275
2316
|
readonly scrollIntoViewOptions: {
|
|
2276
2317
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
2277
2318
|
readonly required: false;
|
|
2278
|
-
/**
|
|
2279
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
2280
|
-
*/
|
|
2281
2319
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2282
2320
|
__epPropKey: true;
|
|
2283
2321
|
};
|
|
@@ -2328,13 +2366,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2328
2366
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2329
2367
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2330
2368
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2369
|
+
/**
|
|
2370
|
+
* 设置搜索的值
|
|
2371
|
+
* @version v0.1.17
|
|
2372
|
+
*/
|
|
2331
2373
|
readonly scrollToError: BooleanConstructor;
|
|
2332
2374
|
readonly scrollIntoViewOptions: {
|
|
2333
2375
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
2334
2376
|
readonly required: false;
|
|
2335
|
-
/**
|
|
2336
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
2337
|
-
*/
|
|
2338
2377
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2339
2378
|
__epPropKey: true;
|
|
2340
2379
|
};
|
|
@@ -2362,7 +2401,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2362
2401
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2363
2402
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2364
2403
|
readonly inline: BooleanConstructor;
|
|
2365
|
-
readonly inlineMessage: BooleanConstructor;
|
|
2404
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
2405
|
+
* 数据加载失败时触发
|
|
2406
|
+
*/
|
|
2366
2407
|
readonly statusIcon: BooleanConstructor;
|
|
2367
2408
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2368
2409
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -2451,15 +2492,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2451
2492
|
labelWidth: string | number;
|
|
2452
2493
|
labelSuffix: string;
|
|
2453
2494
|
hasLabel: boolean;
|
|
2454
|
-
|
|
2455
|
-
|
|
2495
|
+
clearable: boolean;
|
|
2496
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2456
2497
|
style?: CSSProperties | undefined;
|
|
2457
2498
|
class?: any;
|
|
2458
2499
|
} & RecordType>;
|
|
2459
|
-
|
|
2500
|
+
collapseDuration: number;
|
|
2501
|
+
collapseTransition: boolean;
|
|
2502
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2460
2503
|
style?: CSSProperties | undefined;
|
|
2461
2504
|
class?: any;
|
|
2462
2505
|
} & RecordType>;
|
|
2506
|
+
defaultValues: FieldValues;
|
|
2463
2507
|
hasErrorTip: boolean;
|
|
2464
2508
|
hasFooter: boolean;
|
|
2465
2509
|
hasReset: boolean;
|
|
@@ -2472,9 +2516,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2472
2516
|
class?: any;
|
|
2473
2517
|
} & RecordType>;
|
|
2474
2518
|
prevent: boolean;
|
|
2475
|
-
collapseDuration: number;
|
|
2476
|
-
collapseTransition: boolean;
|
|
2477
|
-
clearable: boolean;
|
|
2478
2519
|
}, {}, string, {}> & {
|
|
2479
2520
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2480
2521
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2528,24 +2569,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2528
2569
|
type: PropType<boolean>;
|
|
2529
2570
|
default: boolean;
|
|
2530
2571
|
};
|
|
2531
|
-
|
|
2532
|
-
type: PropType<
|
|
2533
|
-
default:
|
|
2572
|
+
clearable: {
|
|
2573
|
+
type: PropType<boolean>;
|
|
2574
|
+
default: boolean;
|
|
2534
2575
|
};
|
|
2535
|
-
|
|
2536
|
-
type: PropType<Partial< Mutable<
|
|
2576
|
+
colProps: {
|
|
2577
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2537
2578
|
style?: CSSProperties | undefined;
|
|
2538
2579
|
class?: any;
|
|
2539
2580
|
} & RecordType>>;
|
|
2540
2581
|
default: () => {};
|
|
2541
2582
|
};
|
|
2542
|
-
|
|
2543
|
-
type: PropType<
|
|
2583
|
+
collapseDuration: {
|
|
2584
|
+
type: PropType<number>;
|
|
2585
|
+
default: undefined;
|
|
2586
|
+
};
|
|
2587
|
+
collapseTransition: {
|
|
2588
|
+
type: PropType<boolean>;
|
|
2589
|
+
default: undefined;
|
|
2590
|
+
};
|
|
2591
|
+
rowProps: {
|
|
2592
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2544
2593
|
style?: CSSProperties | undefined;
|
|
2545
2594
|
class?: any;
|
|
2546
2595
|
} & RecordType>>;
|
|
2547
2596
|
default: () => {};
|
|
2548
2597
|
};
|
|
2598
|
+
defaultValues: {
|
|
2599
|
+
type: PropType<FieldValues>;
|
|
2600
|
+
default: () => {};
|
|
2601
|
+
};
|
|
2549
2602
|
hasErrorTip: {
|
|
2550
2603
|
type: PropType<boolean>;
|
|
2551
2604
|
default: boolean;
|
|
@@ -2585,18 +2638,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2585
2638
|
type: PropType<boolean>;
|
|
2586
2639
|
default: boolean;
|
|
2587
2640
|
};
|
|
2588
|
-
collapseDuration: {
|
|
2589
|
-
type: PropType<number>;
|
|
2590
|
-
default: undefined;
|
|
2591
|
-
};
|
|
2592
|
-
collapseTransition: {
|
|
2593
|
-
type: PropType<boolean>;
|
|
2594
|
-
default: undefined;
|
|
2595
|
-
};
|
|
2596
|
-
clearable: {
|
|
2597
|
-
type: PropType<boolean>;
|
|
2598
|
-
default: boolean;
|
|
2599
|
-
};
|
|
2600
2641
|
}>> & {
|
|
2601
2642
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2602
2643
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -2623,13 +2664,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2623
2664
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2624
2665
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2625
2666
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2667
|
+
/**
|
|
2668
|
+
* 设置搜索的值
|
|
2669
|
+
* @version v0.1.17
|
|
2670
|
+
*/
|
|
2626
2671
|
readonly scrollToError: BooleanConstructor;
|
|
2627
2672
|
readonly scrollIntoViewOptions: {
|
|
2628
2673
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
2629
2674
|
readonly required: false;
|
|
2630
|
-
/**
|
|
2631
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
2632
|
-
*/
|
|
2633
2675
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2634
2676
|
__epPropKey: true;
|
|
2635
2677
|
};
|
|
@@ -2657,7 +2699,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2657
2699
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2658
2700
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2659
2701
|
readonly inline: BooleanConstructor;
|
|
2660
|
-
readonly inlineMessage: BooleanConstructor;
|
|
2702
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
2703
|
+
* 数据加载失败时触发
|
|
2704
|
+
*/
|
|
2661
2705
|
readonly statusIcon: BooleanConstructor;
|
|
2662
2706
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2663
2707
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -2734,13 +2778,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2734
2778
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2735
2779
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2736
2780
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2781
|
+
/**
|
|
2782
|
+
* 设置搜索的值
|
|
2783
|
+
* @version v0.1.17
|
|
2784
|
+
*/
|
|
2737
2785
|
readonly scrollToError: BooleanConstructor;
|
|
2738
2786
|
readonly scrollIntoViewOptions: {
|
|
2739
2787
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
2740
2788
|
readonly required: false;
|
|
2741
|
-
/**
|
|
2742
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
2743
|
-
*/
|
|
2744
2789
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2745
2790
|
__epPropKey: true;
|
|
2746
2791
|
};
|
|
@@ -2791,13 +2836,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2791
2836
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2792
2837
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2793
2838
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
2839
|
+
/**
|
|
2840
|
+
* 设置搜索的值
|
|
2841
|
+
* @version v0.1.17
|
|
2842
|
+
*/
|
|
2794
2843
|
readonly scrollToError: BooleanConstructor;
|
|
2795
2844
|
readonly scrollIntoViewOptions: {
|
|
2796
2845
|
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
2797
2846
|
readonly required: false;
|
|
2798
|
-
/**
|
|
2799
|
-
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
2800
|
-
*/
|
|
2801
2847
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2802
2848
|
__epPropKey: true;
|
|
2803
2849
|
};
|
|
@@ -2825,7 +2871,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2825
2871
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2826
2872
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2827
2873
|
readonly inline: BooleanConstructor;
|
|
2828
|
-
readonly inlineMessage: BooleanConstructor;
|
|
2874
|
+
readonly inlineMessage: BooleanConstructor; /**
|
|
2875
|
+
* 数据加载失败时触发
|
|
2876
|
+
*/
|
|
2829
2877
|
readonly statusIcon: BooleanConstructor;
|
|
2830
2878
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2831
2879
|
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -2901,9 +2949,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2901
2949
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2902
2950
|
$slots: Partial<Record<string, (_: {
|
|
2903
2951
|
index: number;
|
|
2904
|
-
title: string | ComputedRef<string>;
|
|
2952
|
+
title: string | ComputedRef<string>; /**
|
|
2953
|
+
* 搜索外层的el-card的props ,当isCard为true时生效
|
|
2954
|
+
*/
|
|
2905
2955
|
name?: string | undefined;
|
|
2906
|
-
icon?: Component | undefined;
|
|
2956
|
+
icon?: Component | undefined; /**
|
|
2957
|
+
* 表格外层的el-card的props ,当isCard为true时生效
|
|
2958
|
+
*/
|
|
2907
2959
|
cardProps?: Partial< Mutable<CardProps> & {
|
|
2908
2960
|
style?: CSSProperties | undefined;
|
|
2909
2961
|
class?: any;
|
|
@@ -2911,7 +2963,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2911
2963
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2912
2964
|
columns?: PlusColumn[] | undefined;
|
|
2913
2965
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2914
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "
|
|
2966
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "defaultValue" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
2915
2967
|
readonly label: string | ComputedRef<string>;
|
|
2916
2968
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2917
2969
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2940,7 +2992,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2940
2992
|
};
|
|
2941
2993
|
rows: number;
|
|
2942
2994
|
autocomplete: string;
|
|
2943
|
-
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "
|
|
2995
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2944
2996
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2945
2997
|
step: string | number;
|
|
2946
2998
|
format: string | ProgressFn | undefined;
|
|
@@ -3010,7 +3062,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3010
3062
|
index: number;
|
|
3011
3063
|
defaultValue: any;
|
|
3012
3064
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3013
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "
|
|
3065
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "defaultValue" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
3014
3066
|
readonly label: string | ComputedRef<string>;
|
|
3015
3067
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3016
3068
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -3039,7 +3091,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3039
3091
|
};
|
|
3040
3092
|
rows: number;
|
|
3041
3093
|
autocomplete: string;
|
|
3042
|
-
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "
|
|
3094
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3043
3095
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3044
3096
|
step: string | number;
|
|
3045
3097
|
format: string | ProgressFn | undefined;
|
|
@@ -3127,7 +3179,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3127
3179
|
handleUnfold: (e: MouseEvent) => void;
|
|
3128
3180
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3129
3181
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3130
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "
|
|
3182
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "defaultValue" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
3131
3183
|
readonly label: string | ComputedRef<string>;
|
|
3132
3184
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3133
3185
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -3156,7 +3208,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3156
3208
|
};
|
|
3157
3209
|
rows: number;
|
|
3158
3210
|
autocomplete: string;
|
|
3159
|
-
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "
|
|
3211
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3160
3212
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3161
3213
|
step: string | number;
|
|
3162
3214
|
format: string | ProgressFn | undefined;
|
|
@@ -3249,11 +3301,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3249
3301
|
}) => CSSProperties>;
|
|
3250
3302
|
rowKey: string | ((row: any[]) => string);
|
|
3251
3303
|
emptyValue: string | number;
|
|
3252
|
-
tableData: RecordType[];
|
|
3253
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
3254
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
3255
3304
|
actionBar: false | Partial< ActionBarProps>;
|
|
3256
|
-
|
|
3305
|
+
editable: boolean | "click" | "dblclick";
|
|
3306
|
+
indexTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3307
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3308
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3257
3309
|
titleBar: boolean | Partial<Partial<{
|
|
3258
3310
|
title?: string | undefined;
|
|
3259
3311
|
refresh?: boolean | undefined;
|
|
@@ -3264,14 +3316,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3264
3316
|
color?: string | undefined;
|
|
3265
3317
|
} | undefined;
|
|
3266
3318
|
}>>;
|
|
3319
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
3320
|
+
tableData: RecordType[];
|
|
3321
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
3322
|
+
hasIndexColumn: boolean;
|
|
3267
3323
|
isSelection: boolean | "radio";
|
|
3268
3324
|
isRadio: boolean;
|
|
3269
3325
|
hasExpand: boolean;
|
|
3270
3326
|
specialColumnsOrder: TableSpecialColumnType[];
|
|
3271
3327
|
loadingStatus: boolean;
|
|
3272
3328
|
dragSortable: false | Partial< Options>;
|
|
3273
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3274
|
-
indexTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3275
3329
|
selectionTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3276
3330
|
radioTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3277
3331
|
radioProps: Partial< PlusRadioProps & {
|
|
@@ -3280,13 +3334,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3280
3334
|
} & RecordType>;
|
|
3281
3335
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3282
3336
|
expandTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3283
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3284
|
-
editable: boolean | "click" | "dblclick";
|
|
3285
3337
|
adaptive: boolean | {
|
|
3286
3338
|
offsetBottom?: number | undefined;
|
|
3287
3339
|
timeout?: number | undefined;
|
|
3288
3340
|
};
|
|
3289
|
-
plainTextCell: boolean;
|
|
3290
3341
|
}> & Omit<{
|
|
3291
3342
|
readonly columns: PlusColumn[];
|
|
3292
3343
|
readonly data: RecordType[];
|
|
@@ -3297,11 +3348,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3297
3348
|
columnIndex: number;
|
|
3298
3349
|
}) => CSSProperties>;
|
|
3299
3350
|
readonly rowKey: string | ((row: any[]) => string);
|
|
3300
|
-
readonly tableData: RecordType[];
|
|
3301
|
-
readonly defaultSize: "" | "default" | "small" | "large";
|
|
3302
|
-
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3303
3351
|
readonly actionBar: false | Partial< ActionBarProps>;
|
|
3304
|
-
readonly
|
|
3352
|
+
readonly editable: boolean | "click" | "dblclick";
|
|
3353
|
+
readonly indexTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3354
|
+
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3355
|
+
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3305
3356
|
readonly titleBar: boolean | Partial<Partial<{
|
|
3306
3357
|
title?: string | undefined;
|
|
3307
3358
|
refresh?: boolean | undefined;
|
|
@@ -3312,24 +3363,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3312
3363
|
color?: string | undefined;
|
|
3313
3364
|
} | undefined;
|
|
3314
3365
|
}>>;
|
|
3366
|
+
readonly defaultSize: "" | "default" | "small" | "large";
|
|
3367
|
+
readonly tableData: RecordType[];
|
|
3368
|
+
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3369
|
+
readonly hasIndexColumn: boolean;
|
|
3315
3370
|
readonly isSelection: boolean | "radio";
|
|
3316
3371
|
readonly isRadio: boolean;
|
|
3317
3372
|
readonly hasExpand: boolean;
|
|
3318
3373
|
readonly specialColumnsOrder: TableSpecialColumnType[];
|
|
3319
3374
|
readonly loadingStatus: boolean;
|
|
3320
3375
|
readonly dragSortable: false | Partial< Options>;
|
|
3321
|
-
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3322
|
-
readonly indexTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3323
3376
|
readonly selectionTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3324
3377
|
readonly radioTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3325
3378
|
readonly expandTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
3326
|
-
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3327
|
-
readonly editable: boolean | "click" | "dblclick";
|
|
3328
3379
|
readonly adaptive: boolean | {
|
|
3329
3380
|
offsetBottom?: number | undefined;
|
|
3330
3381
|
timeout?: number | undefined;
|
|
3331
3382
|
};
|
|
3332
|
-
readonly plainTextCell: boolean;
|
|
3333
3383
|
readonly height?: string | number | undefined;
|
|
3334
3384
|
readonly emptyValue?: string | number | undefined;
|
|
3335
3385
|
readonly radioProps?: Partial< PlusRadioProps & {
|
|
@@ -3338,16 +3388,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3338
3388
|
} & RecordType> | undefined;
|
|
3339
3389
|
readonly defaultSelectedRadioRow?: RecordType | ComputedRef<RecordType> | undefined;
|
|
3340
3390
|
readonly filterTableHeaderOverflowLabelLength?: number | undefined;
|
|
3341
|
-
onRefresh?: (() => any) | undefined;
|
|
3342
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3343
3391
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3344
3392
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3345
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3346
3393
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3347
|
-
onEdited?: (() => any) | undefined;
|
|
3348
3394
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3349
3395
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3396
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3397
|
+
onRefresh?: (() => any) | undefined;
|
|
3350
3398
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3399
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3400
|
+
onEdited?: (() => any) | undefined;
|
|
3351
3401
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3352
3402
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3353
3403
|
columns: {
|
|
@@ -3380,26 +3430,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3380
3430
|
type: PropType<string | number>;
|
|
3381
3431
|
default: undefined;
|
|
3382
3432
|
};
|
|
3383
|
-
tableData: {
|
|
3384
|
-
type: PropType<RecordType[]>;
|
|
3385
|
-
default: () => never[];
|
|
3386
|
-
};
|
|
3387
|
-
defaultSize: {
|
|
3388
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
3389
|
-
default: string;
|
|
3390
|
-
};
|
|
3391
|
-
pagination: {
|
|
3392
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3393
|
-
default: boolean;
|
|
3394
|
-
};
|
|
3395
3433
|
actionBar: {
|
|
3396
3434
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3397
3435
|
default: boolean;
|
|
3398
3436
|
};
|
|
3399
|
-
|
|
3400
|
-
type: PropType<boolean>;
|
|
3437
|
+
editable: {
|
|
3438
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
3401
3439
|
default: boolean;
|
|
3402
3440
|
};
|
|
3441
|
+
indexTableColumnProps: {
|
|
3442
|
+
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3443
|
+
default: () => {};
|
|
3444
|
+
};
|
|
3445
|
+
indexContentStyle: {
|
|
3446
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3447
|
+
default: () => {};
|
|
3448
|
+
};
|
|
3449
|
+
dragSortableTableColumnProps: {
|
|
3450
|
+
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3451
|
+
default: () => {};
|
|
3452
|
+
};
|
|
3403
3453
|
titleBar: {
|
|
3404
3454
|
type: PropType<boolean | Partial<Partial<{
|
|
3405
3455
|
title?: string | undefined;
|
|
@@ -3413,6 +3463,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3413
3463
|
}>>>;
|
|
3414
3464
|
default: boolean;
|
|
3415
3465
|
};
|
|
3466
|
+
defaultSize: {
|
|
3467
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
3468
|
+
default: string;
|
|
3469
|
+
};
|
|
3470
|
+
tableData: {
|
|
3471
|
+
type: PropType<RecordType[]>;
|
|
3472
|
+
default: () => never[];
|
|
3473
|
+
};
|
|
3474
|
+
pagination: {
|
|
3475
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3476
|
+
default: boolean;
|
|
3477
|
+
};
|
|
3478
|
+
hasIndexColumn: {
|
|
3479
|
+
type: PropType<boolean>;
|
|
3480
|
+
default: boolean;
|
|
3481
|
+
};
|
|
3416
3482
|
isSelection: {
|
|
3417
3483
|
type: PropType<boolean | "radio">;
|
|
3418
3484
|
default: boolean;
|
|
@@ -3437,14 +3503,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3437
3503
|
type: PropType<false | Partial< Options>>;
|
|
3438
3504
|
default: boolean;
|
|
3439
3505
|
};
|
|
3440
|
-
dragSortableTableColumnProps: {
|
|
3441
|
-
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3442
|
-
default: () => {};
|
|
3443
|
-
};
|
|
3444
|
-
indexTableColumnProps: {
|
|
3445
|
-
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3446
|
-
default: () => {};
|
|
3447
|
-
};
|
|
3448
3506
|
selectionTableColumnProps: {
|
|
3449
3507
|
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3450
3508
|
default: () => {
|
|
@@ -3472,14 +3530,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3472
3530
|
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3473
3531
|
default: () => {};
|
|
3474
3532
|
};
|
|
3475
|
-
indexContentStyle: {
|
|
3476
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3477
|
-
default: () => {};
|
|
3478
|
-
};
|
|
3479
|
-
editable: {
|
|
3480
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
3481
|
-
default: boolean;
|
|
3482
|
-
};
|
|
3483
3533
|
adaptive: {
|
|
3484
3534
|
type: PropType<boolean | {
|
|
3485
3535
|
offsetBottom?: number | undefined;
|
|
@@ -3490,23 +3540,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3490
3540
|
filterTableHeaderOverflowLabelLength: {
|
|
3491
3541
|
type: PropType<number>;
|
|
3492
3542
|
};
|
|
3493
|
-
plainTextCell: {
|
|
3494
|
-
type: PropType<boolean>;
|
|
3495
|
-
default: boolean;
|
|
3496
|
-
};
|
|
3497
3543
|
}>> & {
|
|
3498
|
-
onRefresh?: (() => any) | undefined;
|
|
3499
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3500
3544
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3501
3545
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3502
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3503
3546
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3504
|
-
onEdited?: (() => any) | undefined;
|
|
3505
3547
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3506
3548
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3549
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3550
|
+
onRefresh?: (() => any) | undefined;
|
|
3507
3551
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3552
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3553
|
+
onEdited?: (() => any) | undefined;
|
|
3508
3554
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3509
|
-
}, "columns" | "data" | "headerCellStyle" | "rowKey" | "emptyValue" | "
|
|
3555
|
+
}, "columns" | "data" | "headerCellStyle" | "rowKey" | "emptyValue" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "specialColumnsOrder" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive">;
|
|
3510
3556
|
$attrs: {
|
|
3511
3557
|
[x: string]: unknown;
|
|
3512
3558
|
};
|
|
@@ -3551,25 +3597,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3551
3597
|
type: PropType<string | number>;
|
|
3552
3598
|
default: undefined;
|
|
3553
3599
|
};
|
|
3554
|
-
|
|
3555
|
-
type: PropType<
|
|
3556
|
-
default:
|
|
3557
|
-
};
|
|
3558
|
-
defaultSize: {
|
|
3559
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
3560
|
-
default: string;
|
|
3600
|
+
actionBar: {
|
|
3601
|
+
type: PropType<false | Partial< ActionBarProps>>;
|
|
3602
|
+
default: boolean;
|
|
3561
3603
|
};
|
|
3562
|
-
|
|
3563
|
-
type: PropType<
|
|
3604
|
+
editable: {
|
|
3605
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
3564
3606
|
default: boolean;
|
|
3565
3607
|
};
|
|
3566
|
-
|
|
3567
|
-
type: PropType<
|
|
3568
|
-
default:
|
|
3608
|
+
indexTableColumnProps: {
|
|
3609
|
+
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3610
|
+
default: () => {};
|
|
3611
|
+
};
|
|
3612
|
+
indexContentStyle: {
|
|
3613
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3614
|
+
default: () => {};
|
|
3569
3615
|
};
|
|
3570
|
-
|
|
3571
|
-
type: PropType<
|
|
3572
|
-
default:
|
|
3616
|
+
dragSortableTableColumnProps: {
|
|
3617
|
+
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3618
|
+
default: () => {};
|
|
3573
3619
|
};
|
|
3574
3620
|
titleBar: {
|
|
3575
3621
|
type: PropType<boolean | Partial<Partial<{
|
|
@@ -3584,6 +3630,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3584
3630
|
}>>>;
|
|
3585
3631
|
default: boolean;
|
|
3586
3632
|
};
|
|
3633
|
+
defaultSize: {
|
|
3634
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
3635
|
+
default: string;
|
|
3636
|
+
};
|
|
3637
|
+
tableData: {
|
|
3638
|
+
type: PropType<RecordType[]>;
|
|
3639
|
+
default: () => never[];
|
|
3640
|
+
};
|
|
3641
|
+
pagination: {
|
|
3642
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3643
|
+
default: boolean;
|
|
3644
|
+
};
|
|
3645
|
+
hasIndexColumn: {
|
|
3646
|
+
type: PropType<boolean>;
|
|
3647
|
+
default: boolean;
|
|
3648
|
+
};
|
|
3587
3649
|
isSelection: {
|
|
3588
3650
|
type: PropType<boolean | "radio">;
|
|
3589
3651
|
default: boolean;
|
|
@@ -3608,14 +3670,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3608
3670
|
type: PropType<false | Partial< Options>>;
|
|
3609
3671
|
default: boolean;
|
|
3610
3672
|
};
|
|
3611
|
-
dragSortableTableColumnProps: {
|
|
3612
|
-
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3613
|
-
default: () => {};
|
|
3614
|
-
};
|
|
3615
|
-
indexTableColumnProps: {
|
|
3616
|
-
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3617
|
-
default: () => {};
|
|
3618
|
-
};
|
|
3619
3673
|
selectionTableColumnProps: {
|
|
3620
3674
|
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3621
3675
|
default: () => {
|
|
@@ -3643,14 +3697,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3643
3697
|
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
3644
3698
|
default: () => {};
|
|
3645
3699
|
};
|
|
3646
|
-
indexContentStyle: {
|
|
3647
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3648
|
-
default: () => {};
|
|
3649
|
-
};
|
|
3650
|
-
editable: {
|
|
3651
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
3652
|
-
default: boolean;
|
|
3653
|
-
};
|
|
3654
3700
|
adaptive: {
|
|
3655
3701
|
type: PropType<boolean | {
|
|
3656
3702
|
offsetBottom?: number | undefined;
|
|
@@ -3661,21 +3707,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3661
3707
|
filterTableHeaderOverflowLabelLength: {
|
|
3662
3708
|
type: PropType<number>;
|
|
3663
3709
|
};
|
|
3664
|
-
plainTextCell: {
|
|
3665
|
-
type: PropType<boolean>;
|
|
3666
|
-
default: boolean;
|
|
3667
|
-
};
|
|
3668
3710
|
}>> & {
|
|
3669
|
-
onRefresh?: (() => any) | undefined;
|
|
3670
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3671
3711
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3672
3712
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3673
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3674
3713
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3675
|
-
onEdited?: (() => any) | undefined;
|
|
3676
3714
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3677
3715
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3716
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3717
|
+
onRefresh?: (() => any) | undefined;
|
|
3678
3718
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3719
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3720
|
+
onEdited?: (() => any) | undefined;
|
|
3679
3721
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3680
3722
|
}, {
|
|
3681
3723
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -3846,9 +3888,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3846
3888
|
context: Table<any>;
|
|
3847
3889
|
computedSumText: ComputedRef<string>;
|
|
3848
3890
|
computedEmptyText: ComputedRef<string>;
|
|
3849
|
-
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
3850
|
-
* @version 0.1.23
|
|
3851
|
-
*/
|
|
3891
|
+
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
3852
3892
|
scrollbarViewStyle: {
|
|
3853
3893
|
display: string;
|
|
3854
3894
|
verticalAlign: string;
|
|
@@ -4179,9 +4219,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4179
4219
|
context: Table<any>;
|
|
4180
4220
|
computedSumText: ComputedRef<string>;
|
|
4181
4221
|
computedEmptyText: ComputedRef<string>;
|
|
4182
|
-
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4183
|
-
* @version 0.1.23
|
|
4184
|
-
*/
|
|
4222
|
+
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4185
4223
|
scrollbarViewStyle: {
|
|
4186
4224
|
display: string;
|
|
4187
4225
|
verticalAlign: string;
|
|
@@ -4255,11 +4293,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4255
4293
|
}) => CSSProperties>;
|
|
4256
4294
|
rowKey: string | ((row: any[]) => string);
|
|
4257
4295
|
emptyValue: string | number;
|
|
4258
|
-
tableData: RecordType[];
|
|
4259
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
4260
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
4261
4296
|
actionBar: false | Partial< ActionBarProps>;
|
|
4262
|
-
|
|
4297
|
+
editable: boolean | "click" | "dblclick";
|
|
4298
|
+
indexTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4299
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
4300
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4263
4301
|
titleBar: boolean | Partial<Partial<{
|
|
4264
4302
|
title?: string | undefined;
|
|
4265
4303
|
refresh?: boolean | undefined;
|
|
@@ -4270,14 +4308,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4270
4308
|
color?: string | undefined;
|
|
4271
4309
|
} | undefined;
|
|
4272
4310
|
}>>;
|
|
4311
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
4312
|
+
tableData: RecordType[];
|
|
4313
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
4314
|
+
hasIndexColumn: boolean;
|
|
4273
4315
|
isSelection: boolean | "radio";
|
|
4274
4316
|
isRadio: boolean;
|
|
4275
4317
|
hasExpand: boolean;
|
|
4276
4318
|
specialColumnsOrder: TableSpecialColumnType[];
|
|
4277
4319
|
loadingStatus: boolean;
|
|
4278
4320
|
dragSortable: false | Partial< Options>;
|
|
4279
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4280
|
-
indexTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4281
4321
|
selectionTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4282
4322
|
radioTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4283
4323
|
radioProps: Partial< PlusRadioProps & {
|
|
@@ -4286,13 +4326,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4286
4326
|
} & RecordType>;
|
|
4287
4327
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
4288
4328
|
expandTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
4289
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
4290
|
-
editable: boolean | "click" | "dblclick";
|
|
4291
4329
|
adaptive: boolean | {
|
|
4292
4330
|
offsetBottom?: number | undefined;
|
|
4293
4331
|
timeout?: number | undefined;
|
|
4294
4332
|
};
|
|
4295
|
-
plainTextCell: boolean;
|
|
4296
4333
|
}, {}, string, {}> & {
|
|
4297
4334
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
4298
4335
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -4344,26 +4381,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4344
4381
|
type: PropType<string | number>;
|
|
4345
4382
|
default: undefined;
|
|
4346
4383
|
};
|
|
4347
|
-
tableData: {
|
|
4348
|
-
type: PropType<RecordType[]>;
|
|
4349
|
-
default: () => never[];
|
|
4350
|
-
};
|
|
4351
|
-
defaultSize: {
|
|
4352
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
4353
|
-
default: string;
|
|
4354
|
-
};
|
|
4355
|
-
pagination: {
|
|
4356
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
4357
|
-
default: boolean;
|
|
4358
|
-
};
|
|
4359
4384
|
actionBar: {
|
|
4360
4385
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
4361
4386
|
default: boolean;
|
|
4362
4387
|
};
|
|
4363
|
-
|
|
4364
|
-
type: PropType<boolean>;
|
|
4388
|
+
editable: {
|
|
4389
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
4365
4390
|
default: boolean;
|
|
4366
4391
|
};
|
|
4392
|
+
indexTableColumnProps: {
|
|
4393
|
+
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
4394
|
+
default: () => {};
|
|
4395
|
+
};
|
|
4396
|
+
indexContentStyle: {
|
|
4397
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
4398
|
+
default: () => {};
|
|
4399
|
+
};
|
|
4400
|
+
dragSortableTableColumnProps: {
|
|
4401
|
+
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
4402
|
+
default: () => {};
|
|
4403
|
+
};
|
|
4367
4404
|
titleBar: {
|
|
4368
4405
|
type: PropType<boolean | Partial<Partial<{
|
|
4369
4406
|
title?: string | undefined;
|
|
@@ -4377,6 +4414,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4377
4414
|
}>>>;
|
|
4378
4415
|
default: boolean;
|
|
4379
4416
|
};
|
|
4417
|
+
defaultSize: {
|
|
4418
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
4419
|
+
default: string;
|
|
4420
|
+
};
|
|
4421
|
+
tableData: {
|
|
4422
|
+
type: PropType<RecordType[]>;
|
|
4423
|
+
default: () => never[];
|
|
4424
|
+
};
|
|
4425
|
+
pagination: {
|
|
4426
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
4427
|
+
default: boolean;
|
|
4428
|
+
};
|
|
4429
|
+
hasIndexColumn: {
|
|
4430
|
+
type: PropType<boolean>;
|
|
4431
|
+
default: boolean;
|
|
4432
|
+
};
|
|
4380
4433
|
isSelection: {
|
|
4381
4434
|
type: PropType<boolean | "radio">;
|
|
4382
4435
|
default: boolean;
|
|
@@ -4401,14 +4454,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4401
4454
|
type: PropType<false | Partial< Options>>;
|
|
4402
4455
|
default: boolean;
|
|
4403
4456
|
};
|
|
4404
|
-
dragSortableTableColumnProps: {
|
|
4405
|
-
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
4406
|
-
default: () => {};
|
|
4407
|
-
};
|
|
4408
|
-
indexTableColumnProps: {
|
|
4409
|
-
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
4410
|
-
default: () => {};
|
|
4411
|
-
};
|
|
4412
4457
|
selectionTableColumnProps: {
|
|
4413
4458
|
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
4414
4459
|
default: () => {
|
|
@@ -4436,14 +4481,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4436
4481
|
type: PropType<Partial< TableColumnCtx<RecordType>>>;
|
|
4437
4482
|
default: () => {};
|
|
4438
4483
|
};
|
|
4439
|
-
indexContentStyle: {
|
|
4440
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
4441
|
-
default: () => {};
|
|
4442
|
-
};
|
|
4443
|
-
editable: {
|
|
4444
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
4445
|
-
default: boolean;
|
|
4446
|
-
};
|
|
4447
4484
|
adaptive: {
|
|
4448
4485
|
type: PropType<boolean | {
|
|
4449
4486
|
offsetBottom?: number | undefined;
|
|
@@ -4454,23 +4491,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4454
4491
|
filterTableHeaderOverflowLabelLength: {
|
|
4455
4492
|
type: PropType<number>;
|
|
4456
4493
|
};
|
|
4457
|
-
plainTextCell: {
|
|
4458
|
-
type: PropType<boolean>;
|
|
4459
|
-
default: boolean;
|
|
4460
|
-
};
|
|
4461
4494
|
}>> & {
|
|
4462
|
-
onRefresh?: (() => any) | undefined;
|
|
4463
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4464
4495
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4465
4496
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4466
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4467
4497
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
4468
|
-
onEdited?: (() => any) | undefined;
|
|
4469
4498
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4470
4499
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4500
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4501
|
+
onRefresh?: (() => any) | undefined;
|
|
4471
4502
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
4503
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4504
|
+
onEdited?: (() => any) | undefined;
|
|
4472
4505
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
4473
|
-
}, "
|
|
4506
|
+
}, "tableInstance" | "formRefs"> & ShallowUnwrapRef<{
|
|
4474
4507
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
4475
4508
|
tableInstance: ShallowRef< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
4476
4509
|
data: {
|
|
@@ -4639,9 +4672,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4639
4672
|
context: Table<any>;
|
|
4640
4673
|
computedSumText: ComputedRef<string>;
|
|
4641
4674
|
computedEmptyText: ComputedRef<string>;
|
|
4642
|
-
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4643
|
-
* @version 0.1.23
|
|
4644
|
-
*/
|
|
4675
|
+
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4645
4676
|
scrollbarViewStyle: {
|
|
4646
4677
|
display: string;
|
|
4647
4678
|
verticalAlign: string;
|
|
@@ -4972,9 +5003,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4972
5003
|
context: Table<any>;
|
|
4973
5004
|
computedSumText: ComputedRef<string>;
|
|
4974
5005
|
computedEmptyText: ComputedRef<string>;
|
|
4975
|
-
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4976
|
-
* @version 0.1.23
|
|
4977
|
-
*/
|
|
5006
|
+
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4978
5007
|
scrollbarViewStyle: {
|
|
4979
5008
|
display: string;
|
|
4980
5009
|
verticalAlign: string;
|
|
@@ -5050,6 +5079,168 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5050
5079
|
"pagination-left"?(_: {}): any;
|
|
5051
5080
|
"pagination-right"?(_: {}): any;
|
|
5052
5081
|
};
|
|
5082
|
+
}) | ({
|
|
5083
|
+
$: ComponentInternalInstance;
|
|
5084
|
+
$data: {};
|
|
5085
|
+
$props: Partial<{}> & Omit<{
|
|
5086
|
+
readonly [x: string]: any;
|
|
5087
|
+
readonly [x: number]: any;
|
|
5088
|
+
readonly [x: symbol]: any;
|
|
5089
|
+
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5090
|
+
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5091
|
+
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
5092
|
+
"onSelection-change"?: ((rows: RecordType[]) => any) | undefined;
|
|
5093
|
+
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5094
|
+
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5095
|
+
"onRow-click"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5096
|
+
"onRow-dblclick"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5097
|
+
onRefresh?: (() => any) | undefined;
|
|
5098
|
+
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
5099
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
5100
|
+
onEdited?: (() => any) | undefined;
|
|
5101
|
+
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
5102
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5103
|
+
[x: string]: {
|
|
5104
|
+
type: PropType<any>;
|
|
5105
|
+
};
|
|
5106
|
+
[x: number]: {
|
|
5107
|
+
type: PropType<any>;
|
|
5108
|
+
};
|
|
5109
|
+
[x: symbol]: {
|
|
5110
|
+
type: PropType<any>;
|
|
5111
|
+
};
|
|
5112
|
+
}>> & {
|
|
5113
|
+
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5114
|
+
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5115
|
+
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
5116
|
+
"onSelection-change"?: ((rows: RecordType[]) => any) | undefined;
|
|
5117
|
+
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5118
|
+
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5119
|
+
"onRow-click"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5120
|
+
"onRow-dblclick"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5121
|
+
onRefresh?: (() => any) | undefined;
|
|
5122
|
+
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
5123
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
5124
|
+
onEdited?: (() => any) | undefined;
|
|
5125
|
+
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
5126
|
+
}, never>;
|
|
5127
|
+
$attrs: {
|
|
5128
|
+
[x: string]: unknown;
|
|
5129
|
+
};
|
|
5130
|
+
$refs: {
|
|
5131
|
+
[x: string]: unknown;
|
|
5132
|
+
};
|
|
5133
|
+
$slots: Readonly<{
|
|
5134
|
+
[name: string]: Slot<any> | undefined;
|
|
5135
|
+
}>;
|
|
5136
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5137
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5138
|
+
$emit: ((event: "selection-change", rows: RecordType[]) => void) & ((event: "row-click", row: RecordType, index: number, event: MouseEvent) => void) & ((event: "row-dblclick", row: RecordType, index: number, event: MouseEvent) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
5139
|
+
$el: any;
|
|
5140
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5141
|
+
[x: string]: {
|
|
5142
|
+
type: PropType<any>;
|
|
5143
|
+
};
|
|
5144
|
+
[x: number]: {
|
|
5145
|
+
type: PropType<any>;
|
|
5146
|
+
};
|
|
5147
|
+
[x: symbol]: {
|
|
5148
|
+
type: PropType<any>;
|
|
5149
|
+
};
|
|
5150
|
+
}>> & {
|
|
5151
|
+
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5152
|
+
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5153
|
+
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
5154
|
+
"onSelection-change"?: ((rows: RecordType[]) => any) | undefined;
|
|
5155
|
+
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5156
|
+
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5157
|
+
"onRow-click"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5158
|
+
"onRow-dblclick"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5159
|
+
onRefresh?: (() => any) | undefined;
|
|
5160
|
+
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
5161
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
5162
|
+
onEdited?: (() => any) | undefined;
|
|
5163
|
+
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
5164
|
+
}, {
|
|
5165
|
+
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
5166
|
+
tableInstance: ShallowRef<null> | ShallowRef<RecordType>;
|
|
5167
|
+
scrollToTop: (top: number) => any;
|
|
5168
|
+
scrollToLeft: (left: number) => any;
|
|
5169
|
+
scrollToRow: (row: number, strategy?: "auto" | "end" | "center" | "start" | undefined) => any;
|
|
5170
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5171
|
+
paginationChange: (pageInfo: PageInfo) => void;
|
|
5172
|
+
clickAction: (data: ButtonsCallBackParams) => void;
|
|
5173
|
+
clickActionConfirmCancel: (data: ButtonsCallBackParams) => void;
|
|
5174
|
+
formChange: (data: FormChangeCallBackParams) => void;
|
|
5175
|
+
refresh: () => void;
|
|
5176
|
+
edited: () => void;
|
|
5177
|
+
"cell-click": (row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => void;
|
|
5178
|
+
"cell-dblclick": (row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => void;
|
|
5179
|
+
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
5180
|
+
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
5181
|
+
"selection-change": (rows: RecordType[]) => void;
|
|
5182
|
+
"row-click": (row: RecordType, index: number, event: MouseEvent) => void;
|
|
5183
|
+
"row-dblclick": (row: RecordType, index: number, event: MouseEvent) => void;
|
|
5184
|
+
}, string, {}, {}, string, {}> & {
|
|
5185
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
5186
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
5187
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
5188
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
5189
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
5190
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
5191
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
5192
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
5193
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
5194
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
5195
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
5196
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
5197
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
5198
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
5199
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
5200
|
+
};
|
|
5201
|
+
$forceUpdate: () => void;
|
|
5202
|
+
$nextTick: nextTick;
|
|
5203
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
5204
|
+
} & Omit<Readonly< ExtractPropTypes<{
|
|
5205
|
+
[x: string]: {
|
|
5206
|
+
type: PropType<any>;
|
|
5207
|
+
};
|
|
5208
|
+
[x: number]: {
|
|
5209
|
+
type: PropType<any>;
|
|
5210
|
+
};
|
|
5211
|
+
[x: symbol]: {
|
|
5212
|
+
type: PropType<any>;
|
|
5213
|
+
};
|
|
5214
|
+
}>> & {
|
|
5215
|
+
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5216
|
+
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
5217
|
+
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
5218
|
+
"onSelection-change"?: ((rows: RecordType[]) => any) | undefined;
|
|
5219
|
+
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5220
|
+
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLElement, event: MouseEvent) => any) | undefined;
|
|
5221
|
+
"onRow-click"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5222
|
+
"onRow-dblclick"?: ((row: RecordType, index: number, event: MouseEvent) => any) | undefined;
|
|
5223
|
+
onRefresh?: (() => any) | undefined;
|
|
5224
|
+
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
5225
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
5226
|
+
onEdited?: (() => any) | undefined;
|
|
5227
|
+
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
5228
|
+
}, "tableInstance" | "formRefs" | "scrollToTop" | "scrollToLeft" | "scrollToRow"> & ShallowUnwrapRef<{
|
|
5229
|
+
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
5230
|
+
tableInstance: ShallowRef<null> | ShallowRef<RecordType>;
|
|
5231
|
+
scrollToTop: (top: number) => any;
|
|
5232
|
+
scrollToLeft: (left: number) => any;
|
|
5233
|
+
scrollToRow: (row: number, strategy?: "auto" | "end" | "center" | "start" | undefined) => any;
|
|
5234
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
5235
|
+
$slots: {
|
|
5236
|
+
title?(_: {}): any;
|
|
5237
|
+
toolbar?(_: {}): any;
|
|
5238
|
+
"column-settings-icon"?(_: {}): any;
|
|
5239
|
+
"density-icon"?(_: {}): any;
|
|
5240
|
+
empty?(_: {}): any;
|
|
5241
|
+
"pagination-left"?(_: {}): any;
|
|
5242
|
+
"pagination-right"?(_: {}): any;
|
|
5243
|
+
};
|
|
5053
5244
|
}) | null>;
|
|
5054
5245
|
getList: () => Promise<void>;
|
|
5055
5246
|
handleReset: (val: FieldValues) => void;
|
|
@@ -5100,6 +5291,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5100
5291
|
};
|
|
5101
5292
|
searchSlot: boolean;
|
|
5102
5293
|
resetSearch: boolean;
|
|
5294
|
+
tableType: string;
|
|
5295
|
+
tableV2: undefined;
|
|
5103
5296
|
}>>> & {
|
|
5104
5297
|
onReset?: ((data: FieldValues) => any) | undefined;
|
|
5105
5298
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
@@ -5119,9 +5312,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5119
5312
|
style?: CSSProperties | undefined;
|
|
5120
5313
|
class?: any;
|
|
5121
5314
|
}>;
|
|
5122
|
-
pagination: false | Omit<PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
5123
5315
|
params: RecordType;
|
|
5316
|
+
pagination: false | Omit<PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
5124
5317
|
searchValues: FieldValues;
|
|
5318
|
+
tableType: "table" | "table-v2";
|
|
5319
|
+
tableV2: Partial< PlusTableV2SelfProps & RecordType & {
|
|
5320
|
+
style?: CSSProperties | undefined;
|
|
5321
|
+
class?: any;
|
|
5322
|
+
}>;
|
|
5125
5323
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5126
5324
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
5127
5325
|
isCard: boolean;
|
|
@@ -5143,7 +5341,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5143
5341
|
searchSlot: boolean;
|
|
5144
5342
|
resetSearch: boolean;
|
|
5145
5343
|
}, {}>, Partial<Record<never, (_: {
|
|
5146
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "
|
|
5344
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "defaultValue" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
5147
5345
|
readonly label: string | ComputedRef<string>;
|
|
5148
5346
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
5149
5347
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -5172,7 +5370,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5172
5370
|
};
|
|
5173
5371
|
rows: number;
|
|
5174
5372
|
autocomplete: string;
|
|
5175
|
-
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "
|
|
5373
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
5176
5374
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5177
5375
|
step: string | number;
|
|
5178
5376
|
format: string | ProgressFn | undefined;
|
|
@@ -5241,17 +5439,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5241
5439
|
clearable: boolean;
|
|
5242
5440
|
index: number;
|
|
5243
5441
|
defaultValue: any;
|
|
5244
|
-
}) => any>> & Partial<Record<never, (_: {
|
|
5245
|
-
column: any;
|
|
5246
|
-
prop: string;
|
|
5247
|
-
valueType: TableValueType | FormItemValueType;
|
|
5248
|
-
row: RecordType;
|
|
5249
|
-
index: number;
|
|
5250
|
-
rowIndex: number;
|
|
5251
|
-
fieldProps: RecordType;
|
|
5252
|
-
options: OptionsRow<undefined>[];
|
|
5253
|
-
value: any;
|
|
5254
|
-
}) => any>> & {
|
|
5442
|
+
}) => any>> & Partial<Record<never, (_: any) => any>> & {
|
|
5255
5443
|
"search-footer"?(_: {
|
|
5256
5444
|
isShowUnfold: boolean;
|
|
5257
5445
|
handleReset: () => void;
|