@wlydfe/pro-ui 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -119
- package/es/components/check-card/index.d.ts +4 -4
- package/es/components/check-card/src/index.vue.d.ts +1 -1
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/descriptions/index.d.ts +19 -19
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- 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 +6 -6
- package/es/components/dialog-form/src/index.vue.d.ts +3 -3
- 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/display-item/src/index.vue2.mjs +3 -0
- package/es/components/drawer-form/index.d.ts +36 -36
- package/es/components/drawer-form/src/index.vue.d.ts +5 -5
- package/es/components/form/index.d.ts +88 -88
- package/es/components/form/src/form-content.vue.d.ts +9 -9
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form/src/index.vue2.mjs +5 -5
- package/es/components/form-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +16 -12
- package/es/components/input-tag/index.d.ts +6 -6
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +1039 -994
- package/es/components/page/src/index.vue.d.ts +361 -374
- package/es/components/page/src/index.vue2.mjs +10 -3
- package/es/components/pagination/index.d.ts +27 -27
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/popover/index.d.ts +49 -49
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +10 -10
- package/es/components/radio/src/index.vue.d.ts +2 -2
- 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 +266 -266
- package/es/components/search/src/index.vue.d.ts +77 -77
- package/es/components/search/src/index.vue2.mjs +1 -1
- package/es/components/sidebar/index.d.ts +16 -16
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +183 -164
- package/es/components/table/src/index.vue.d.ts +16 -13
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/es/components/table/src/table-column-index.vue.d.ts +1 -1
- package/es/components/table/src/table-column-index.vue2.mjs +1 -1
- package/es/components/table/src/table-column.vue.d.ts +25 -43
- package/es/components/table/src/table-column.vue2.mjs +8 -1
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/components/table/src/type.d.ts +2 -0
- package/es/index.css +8 -8
- package/global.d.ts +29 -29
- package/index.js +35 -14
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +35 -14
- package/lib/components/check-card/index.d.ts +4 -4
- package/lib/components/check-card/src/index.vue.d.ts +1 -1
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/descriptions/index.d.ts +19 -19
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- 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 +6 -6
- package/lib/components/dialog-form/src/index.vue.d.ts +3 -3
- 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/display-item/src/index.vue2.js +3 -0
- package/lib/components/drawer-form/index.d.ts +36 -36
- package/lib/components/drawer-form/src/index.vue.d.ts +5 -5
- package/lib/components/form/index.d.ts +88 -88
- package/lib/components/form/src/form-content.vue.d.ts +9 -9
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form/src/index.vue2.js +5 -5
- package/lib/components/form-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +16 -12
- package/lib/components/input-tag/index.d.ts +6 -6
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +1039 -994
- package/lib/components/page/src/index.vue.d.ts +361 -374
- package/lib/components/page/src/index.vue2.js +9 -2
- package/lib/components/pagination/index.d.ts +27 -27
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/popover/index.d.ts +49 -49
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +10 -10
- package/lib/components/radio/src/index.vue.d.ts +2 -2
- 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 +266 -266
- package/lib/components/search/src/index.vue.d.ts +77 -77
- package/lib/components/search/src/index.vue2.js +1 -1
- package/lib/components/sidebar/index.d.ts +16 -16
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +183 -164
- package/lib/components/table/src/index.vue.d.ts +16 -13
- package/lib/components/table/src/index.vue2.js +4 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/lib/components/table/src/table-action-bar.vue2.js +3 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column-index.vue2.js +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +25 -43
- package/lib/components/table/src/table-column.vue2.js +8 -1
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/components/table/src/type.d.ts +2 -0
- package/lib/index.css +13 -13
- 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-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/src/breadcrumb.scss +9 -9
- package/theme-chalk/src/date-picker.scss +96 -96
- package/theme-chalk/src/descriptions.scss +41 -41
- package/theme-chalk/src/display-item.scss +82 -82
- package/theme-chalk/src/drawer-form.scss +16 -16
- package/theme-chalk/src/form.scss +34 -34
- package/theme-chalk/src/input-tag.scss +91 -91
- package/theme-chalk/src/layout.scss +36 -36
- package/theme-chalk/src/mixins/function.scss +73 -73
- package/theme-chalk/src/search.scss +49 -49
- package/theme-chalk/src/sidebar.scss +93 -93
- package/theme-chalk/src/table.scss +170 -170
- package/theme-chalk/src/var/index.scss +6 -6
|
@@ -2,8 +2,8 @@ import { DebouncedFunc } from 'lodash-es';
|
|
|
2
2
|
import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/table/src/table-layout';
|
|
3
3
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
4
4
|
import { Options } from 'sortablejs';
|
|
5
|
-
import { PlusPaginationProps, PlusRadioProps } from 'packages/plus-pro-components';
|
|
6
5
|
import { ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow } from './src/type';
|
|
6
|
+
import { PlusPaginationProps, PlusRadioProps } from 'packages/plus-pro-components';
|
|
7
7
|
import { TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, ElTooltipProps, TreeNode, Translator, Table } from 'element-plus';
|
|
8
8
|
import { PlusColumn, RecordType, PageInfo, TableValueType, FormItemValueType, OptionsRow } from '@wlydfe/pro-ui';
|
|
9
9
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComputedRef, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
@@ -13,6 +13,10 @@ export type PlusTableInstance = InstanceType<typeof _Table>;
|
|
|
13
13
|
export * from './src/type';
|
|
14
14
|
export declare const PlusTable: {
|
|
15
15
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
16
|
+
showOverflowTooltip: {
|
|
17
|
+
type: PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
16
20
|
columns: {
|
|
17
21
|
type: PropType< PlusColumn[]>;
|
|
18
22
|
default: () => never[];
|
|
@@ -39,26 +43,26 @@ export declare const PlusTable: {
|
|
|
39
43
|
type: PropType<string | ((row: any[]) => string)>;
|
|
40
44
|
default: string;
|
|
41
45
|
};
|
|
46
|
+
tableData: {
|
|
47
|
+
type: PropType< RecordType[]>;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
defaultSize: {
|
|
51
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
pagination: {
|
|
55
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
42
58
|
actionBar: {
|
|
43
59
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
44
60
|
default: boolean;
|
|
45
61
|
};
|
|
46
|
-
|
|
47
|
-
type: PropType<boolean
|
|
62
|
+
hasIndexColumn: {
|
|
63
|
+
type: PropType<boolean>;
|
|
48
64
|
default: boolean;
|
|
49
65
|
};
|
|
50
|
-
indexTableColumnProps: {
|
|
51
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
52
|
-
default: () => {};
|
|
53
|
-
};
|
|
54
|
-
indexContentStyle: {
|
|
55
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
56
|
-
default: () => {};
|
|
57
|
-
};
|
|
58
|
-
dragSortableTableColumnProps: {
|
|
59
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
60
|
-
default: () => {};
|
|
61
|
-
};
|
|
62
66
|
titleBar: {
|
|
63
67
|
type: PropType<boolean | Partial<Partial<{
|
|
64
68
|
title?: string | undefined;
|
|
@@ -72,22 +76,6 @@ export declare const PlusTable: {
|
|
|
72
76
|
}>>>;
|
|
73
77
|
default: boolean;
|
|
74
78
|
};
|
|
75
|
-
defaultSize: {
|
|
76
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
tableData: {
|
|
80
|
-
type: PropType< RecordType[]>;
|
|
81
|
-
default: () => never[];
|
|
82
|
-
};
|
|
83
|
-
pagination: {
|
|
84
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
hasIndexColumn: {
|
|
88
|
-
type: PropType<boolean>;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
79
|
isSelection: {
|
|
92
80
|
type: PropType<boolean | "radio">;
|
|
93
81
|
default: boolean;
|
|
@@ -108,6 +96,14 @@ export declare const PlusTable: {
|
|
|
108
96
|
type: PropType<false | Partial< Options>>;
|
|
109
97
|
default: boolean;
|
|
110
98
|
};
|
|
99
|
+
dragSortableTableColumnProps: {
|
|
100
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
101
|
+
default: () => {};
|
|
102
|
+
};
|
|
103
|
+
indexTableColumnProps: {
|
|
104
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
105
|
+
default: () => {};
|
|
106
|
+
};
|
|
111
107
|
selectionTableColumnProps: {
|
|
112
108
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
113
109
|
default: () => {
|
|
@@ -132,6 +128,14 @@ export declare const PlusTable: {
|
|
|
132
128
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
133
129
|
default: () => {};
|
|
134
130
|
};
|
|
131
|
+
indexContentStyle: {
|
|
132
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
133
|
+
default: () => {};
|
|
134
|
+
};
|
|
135
|
+
editable: {
|
|
136
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
135
139
|
adaptive: {
|
|
136
140
|
type: PropType<boolean | {
|
|
137
141
|
offsetBottom?: number | undefined;
|
|
@@ -143,16 +147,16 @@ export declare const PlusTable: {
|
|
|
143
147
|
type: PropType<number>;
|
|
144
148
|
};
|
|
145
149
|
}>> & {
|
|
150
|
+
onRefresh?: (() => any) | undefined;
|
|
151
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
146
152
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
147
153
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
154
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
148
155
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
156
|
+
onEdited?: (() => any) | undefined;
|
|
149
157
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
150
158
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
151
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
152
|
-
onRefresh?: (() => any) | undefined;
|
|
153
159
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
154
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
155
|
-
onEdited?: (() => any) | undefined;
|
|
156
160
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
157
161
|
}, {
|
|
158
162
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -352,7 +356,7 @@ export declare const PlusTable: {
|
|
|
352
356
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
353
357
|
setScrollLeft: (left?: number | undefined) => void;
|
|
354
358
|
setScrollTop: (top?: number | undefined) => void;
|
|
355
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
359
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
356
360
|
data: {
|
|
357
361
|
type: PropType<any[]>;
|
|
358
362
|
default: () => never[];
|
|
@@ -718,6 +722,10 @@ export declare const PlusTable: {
|
|
|
718
722
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
719
723
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
720
724
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
725
|
+
showOverflowTooltip: {
|
|
726
|
+
type: PropType<boolean>;
|
|
727
|
+
default: boolean;
|
|
728
|
+
};
|
|
721
729
|
columns: {
|
|
722
730
|
type: PropType< PlusColumn[]>;
|
|
723
731
|
default: () => never[];
|
|
@@ -744,26 +752,26 @@ export declare const PlusTable: {
|
|
|
744
752
|
type: PropType<string | ((row: any[]) => string)>;
|
|
745
753
|
default: string;
|
|
746
754
|
};
|
|
755
|
+
tableData: {
|
|
756
|
+
type: PropType< RecordType[]>;
|
|
757
|
+
default: () => never[];
|
|
758
|
+
};
|
|
759
|
+
defaultSize: {
|
|
760
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
761
|
+
default: string;
|
|
762
|
+
};
|
|
763
|
+
pagination: {
|
|
764
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
765
|
+
default: boolean;
|
|
766
|
+
};
|
|
747
767
|
actionBar: {
|
|
748
768
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
749
769
|
default: boolean;
|
|
750
770
|
};
|
|
751
|
-
|
|
752
|
-
type: PropType<boolean
|
|
771
|
+
hasIndexColumn: {
|
|
772
|
+
type: PropType<boolean>;
|
|
753
773
|
default: boolean;
|
|
754
774
|
};
|
|
755
|
-
indexTableColumnProps: {
|
|
756
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
757
|
-
default: () => {};
|
|
758
|
-
};
|
|
759
|
-
indexContentStyle: {
|
|
760
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
761
|
-
default: () => {};
|
|
762
|
-
};
|
|
763
|
-
dragSortableTableColumnProps: {
|
|
764
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
765
|
-
default: () => {};
|
|
766
|
-
};
|
|
767
775
|
titleBar: {
|
|
768
776
|
type: PropType<boolean | Partial<Partial<{
|
|
769
777
|
title?: string | undefined;
|
|
@@ -777,22 +785,6 @@ export declare const PlusTable: {
|
|
|
777
785
|
}>>>;
|
|
778
786
|
default: boolean;
|
|
779
787
|
};
|
|
780
|
-
defaultSize: {
|
|
781
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
782
|
-
default: string;
|
|
783
|
-
};
|
|
784
|
-
tableData: {
|
|
785
|
-
type: PropType< RecordType[]>;
|
|
786
|
-
default: () => never[];
|
|
787
|
-
};
|
|
788
|
-
pagination: {
|
|
789
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
790
|
-
default: boolean;
|
|
791
|
-
};
|
|
792
|
-
hasIndexColumn: {
|
|
793
|
-
type: PropType<boolean>;
|
|
794
|
-
default: boolean;
|
|
795
|
-
};
|
|
796
788
|
isSelection: {
|
|
797
789
|
type: PropType<boolean | "radio">;
|
|
798
790
|
default: boolean;
|
|
@@ -813,6 +805,14 @@ export declare const PlusTable: {
|
|
|
813
805
|
type: PropType<false | Partial< Options>>;
|
|
814
806
|
default: boolean;
|
|
815
807
|
};
|
|
808
|
+
dragSortableTableColumnProps: {
|
|
809
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
810
|
+
default: () => {};
|
|
811
|
+
};
|
|
812
|
+
indexTableColumnProps: {
|
|
813
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
814
|
+
default: () => {};
|
|
815
|
+
};
|
|
816
816
|
selectionTableColumnProps: {
|
|
817
817
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
818
818
|
default: () => {
|
|
@@ -837,6 +837,14 @@ export declare const PlusTable: {
|
|
|
837
837
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
838
838
|
default: () => {};
|
|
839
839
|
};
|
|
840
|
+
indexContentStyle: {
|
|
841
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
842
|
+
default: () => {};
|
|
843
|
+
};
|
|
844
|
+
editable: {
|
|
845
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
846
|
+
default: boolean;
|
|
847
|
+
};
|
|
840
848
|
adaptive: {
|
|
841
849
|
type: PropType<boolean | {
|
|
842
850
|
offsetBottom?: number | undefined;
|
|
@@ -848,18 +856,19 @@ export declare const PlusTable: {
|
|
|
848
856
|
type: PropType<number>;
|
|
849
857
|
};
|
|
850
858
|
}>> & {
|
|
859
|
+
onRefresh?: (() => any) | undefined;
|
|
860
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
851
861
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
852
862
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
863
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
853
864
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
865
|
+
onEdited?: (() => any) | undefined;
|
|
854
866
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
855
867
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
856
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
857
|
-
onRefresh?: (() => any) | undefined;
|
|
858
868
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
859
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
860
|
-
onEdited?: (() => any) | undefined;
|
|
861
869
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
862
870
|
}, {
|
|
871
|
+
showOverflowTooltip: boolean;
|
|
863
872
|
columns: PlusColumn[];
|
|
864
873
|
data: RecordType[];
|
|
865
874
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
@@ -869,11 +878,11 @@ export declare const PlusTable: {
|
|
|
869
878
|
columnIndex: number;
|
|
870
879
|
}) => CSSProperties>;
|
|
871
880
|
rowKey: string | ((row: any[]) => string);
|
|
881
|
+
tableData: RecordType[];
|
|
882
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
883
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
872
884
|
actionBar: false | Partial< ActionBarProps>;
|
|
873
|
-
|
|
874
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
875
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
876
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
885
|
+
hasIndexColumn: boolean;
|
|
877
886
|
titleBar: boolean | Partial<Partial<{
|
|
878
887
|
title?: string | undefined;
|
|
879
888
|
refresh?: boolean | undefined;
|
|
@@ -884,20 +893,20 @@ export declare const PlusTable: {
|
|
|
884
893
|
color?: string | undefined;
|
|
885
894
|
} | undefined;
|
|
886
895
|
}>>;
|
|
887
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
888
|
-
tableData: RecordType[];
|
|
889
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
890
|
-
hasIndexColumn: boolean;
|
|
891
896
|
isSelection: boolean | "radio";
|
|
892
897
|
isRadio: boolean;
|
|
893
898
|
hasExpand: boolean;
|
|
894
899
|
loadingStatus: boolean;
|
|
895
900
|
dragSortable: false | Partial< Options>;
|
|
901
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
902
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
896
903
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
897
904
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
898
905
|
radioProps: Partial< PlusRadioProps>;
|
|
899
906
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
900
907
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
908
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
909
|
+
editable: boolean | "click" | "dblclick";
|
|
901
910
|
adaptive: boolean | {
|
|
902
911
|
offsetBottom?: number | undefined;
|
|
903
912
|
timeout?: number | undefined;
|
|
@@ -910,6 +919,10 @@ export declare const PlusTable: {
|
|
|
910
919
|
M: {};
|
|
911
920
|
Defaults: {};
|
|
912
921
|
}, Readonly< ExtractPropTypes<{
|
|
922
|
+
showOverflowTooltip: {
|
|
923
|
+
type: PropType<boolean>;
|
|
924
|
+
default: boolean;
|
|
925
|
+
};
|
|
913
926
|
columns: {
|
|
914
927
|
type: PropType< PlusColumn[]>;
|
|
915
928
|
default: () => never[];
|
|
@@ -936,26 +949,26 @@ export declare const PlusTable: {
|
|
|
936
949
|
type: PropType<string | ((row: any[]) => string)>;
|
|
937
950
|
default: string;
|
|
938
951
|
};
|
|
952
|
+
tableData: {
|
|
953
|
+
type: PropType< RecordType[]>;
|
|
954
|
+
default: () => never[];
|
|
955
|
+
};
|
|
956
|
+
defaultSize: {
|
|
957
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
958
|
+
default: string;
|
|
959
|
+
};
|
|
960
|
+
pagination: {
|
|
961
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
962
|
+
default: boolean;
|
|
963
|
+
};
|
|
939
964
|
actionBar: {
|
|
940
965
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
941
966
|
default: boolean;
|
|
942
967
|
};
|
|
943
|
-
|
|
944
|
-
type: PropType<boolean
|
|
968
|
+
hasIndexColumn: {
|
|
969
|
+
type: PropType<boolean>;
|
|
945
970
|
default: boolean;
|
|
946
971
|
};
|
|
947
|
-
indexTableColumnProps: {
|
|
948
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
949
|
-
default: () => {};
|
|
950
|
-
};
|
|
951
|
-
indexContentStyle: {
|
|
952
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
953
|
-
default: () => {};
|
|
954
|
-
};
|
|
955
|
-
dragSortableTableColumnProps: {
|
|
956
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
957
|
-
default: () => {};
|
|
958
|
-
};
|
|
959
972
|
titleBar: {
|
|
960
973
|
type: PropType<boolean | Partial<Partial<{
|
|
961
974
|
title?: string | undefined;
|
|
@@ -969,22 +982,6 @@ export declare const PlusTable: {
|
|
|
969
982
|
}>>>;
|
|
970
983
|
default: boolean;
|
|
971
984
|
};
|
|
972
|
-
defaultSize: {
|
|
973
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
974
|
-
default: string;
|
|
975
|
-
};
|
|
976
|
-
tableData: {
|
|
977
|
-
type: PropType< RecordType[]>;
|
|
978
|
-
default: () => never[];
|
|
979
|
-
};
|
|
980
|
-
pagination: {
|
|
981
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
982
|
-
default: boolean;
|
|
983
|
-
};
|
|
984
|
-
hasIndexColumn: {
|
|
985
|
-
type: PropType<boolean>;
|
|
986
|
-
default: boolean;
|
|
987
|
-
};
|
|
988
985
|
isSelection: {
|
|
989
986
|
type: PropType<boolean | "radio">;
|
|
990
987
|
default: boolean;
|
|
@@ -1005,6 +1002,14 @@ export declare const PlusTable: {
|
|
|
1005
1002
|
type: PropType<false | Partial< Options>>;
|
|
1006
1003
|
default: boolean;
|
|
1007
1004
|
};
|
|
1005
|
+
dragSortableTableColumnProps: {
|
|
1006
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1007
|
+
default: () => {};
|
|
1008
|
+
};
|
|
1009
|
+
indexTableColumnProps: {
|
|
1010
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1011
|
+
default: () => {};
|
|
1012
|
+
};
|
|
1008
1013
|
selectionTableColumnProps: {
|
|
1009
1014
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1010
1015
|
default: () => {
|
|
@@ -1029,6 +1034,14 @@ export declare const PlusTable: {
|
|
|
1029
1034
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1030
1035
|
default: () => {};
|
|
1031
1036
|
};
|
|
1037
|
+
indexContentStyle: {
|
|
1038
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1039
|
+
default: () => {};
|
|
1040
|
+
};
|
|
1041
|
+
editable: {
|
|
1042
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
1043
|
+
default: boolean;
|
|
1044
|
+
};
|
|
1032
1045
|
adaptive: {
|
|
1033
1046
|
type: PropType<boolean | {
|
|
1034
1047
|
offsetBottom?: number | undefined;
|
|
@@ -1040,16 +1053,16 @@ export declare const PlusTable: {
|
|
|
1040
1053
|
type: PropType<number>;
|
|
1041
1054
|
};
|
|
1042
1055
|
}>> & {
|
|
1056
|
+
onRefresh?: (() => any) | undefined;
|
|
1057
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1043
1058
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1044
1059
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1060
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1045
1061
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1062
|
+
onEdited?: (() => any) | undefined;
|
|
1046
1063
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1047
1064
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1048
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1049
|
-
onRefresh?: (() => any) | undefined;
|
|
1050
1065
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
1051
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1052
|
-
onEdited?: (() => any) | undefined;
|
|
1053
1066
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
1054
1067
|
}, {
|
|
1055
1068
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -1249,7 +1262,7 @@ export declare const PlusTable: {
|
|
|
1249
1262
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
1250
1263
|
setScrollLeft: (left?: number | undefined) => void;
|
|
1251
1264
|
setScrollTop: (top?: number | undefined) => void;
|
|
1252
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
1265
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1253
1266
|
data: {
|
|
1254
1267
|
type: PropType<any[]>;
|
|
1255
1268
|
default: () => never[];
|
|
@@ -1603,6 +1616,7 @@ export declare const PlusTable: {
|
|
|
1603
1616
|
flexible: boolean;
|
|
1604
1617
|
}> | null>;
|
|
1605
1618
|
}, {}, {}, {}, {
|
|
1619
|
+
showOverflowTooltip: boolean;
|
|
1606
1620
|
columns: PlusColumn[];
|
|
1607
1621
|
data: RecordType[];
|
|
1608
1622
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
@@ -1612,11 +1626,11 @@ export declare const PlusTable: {
|
|
|
1612
1626
|
columnIndex: number;
|
|
1613
1627
|
}) => CSSProperties>;
|
|
1614
1628
|
rowKey: string | ((row: any[]) => string);
|
|
1629
|
+
tableData: RecordType[];
|
|
1630
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
1631
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
1615
1632
|
actionBar: false | Partial< ActionBarProps>;
|
|
1616
|
-
|
|
1617
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1618
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
1619
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1633
|
+
hasIndexColumn: boolean;
|
|
1620
1634
|
titleBar: boolean | Partial<Partial<{
|
|
1621
1635
|
title?: string | undefined;
|
|
1622
1636
|
refresh?: boolean | undefined;
|
|
@@ -1627,20 +1641,20 @@ export declare const PlusTable: {
|
|
|
1627
1641
|
color?: string | undefined;
|
|
1628
1642
|
} | undefined;
|
|
1629
1643
|
}>>;
|
|
1630
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
1631
|
-
tableData: RecordType[];
|
|
1632
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
1633
|
-
hasIndexColumn: boolean;
|
|
1634
1644
|
isSelection: boolean | "radio";
|
|
1635
1645
|
isRadio: boolean;
|
|
1636
1646
|
hasExpand: boolean;
|
|
1637
1647
|
loadingStatus: boolean;
|
|
1638
1648
|
dragSortable: false | Partial< Options>;
|
|
1649
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1650
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1639
1651
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1640
1652
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1641
1653
|
radioProps: Partial< PlusRadioProps>;
|
|
1642
1654
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
1643
1655
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1656
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
1657
|
+
editable: boolean | "click" | "dblclick";
|
|
1644
1658
|
adaptive: boolean | {
|
|
1645
1659
|
offsetBottom?: number | undefined;
|
|
1646
1660
|
timeout?: number | undefined;
|
|
@@ -1650,6 +1664,10 @@ export declare const PlusTable: {
|
|
|
1650
1664
|
__isTeleport?: undefined;
|
|
1651
1665
|
__isSuspense?: undefined;
|
|
1652
1666
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1667
|
+
showOverflowTooltip: {
|
|
1668
|
+
type: PropType<boolean>;
|
|
1669
|
+
default: boolean;
|
|
1670
|
+
};
|
|
1653
1671
|
columns: {
|
|
1654
1672
|
type: PropType< PlusColumn[]>;
|
|
1655
1673
|
default: () => never[];
|
|
@@ -1676,26 +1694,26 @@ export declare const PlusTable: {
|
|
|
1676
1694
|
type: PropType<string | ((row: any[]) => string)>;
|
|
1677
1695
|
default: string;
|
|
1678
1696
|
};
|
|
1697
|
+
tableData: {
|
|
1698
|
+
type: PropType< RecordType[]>;
|
|
1699
|
+
default: () => never[];
|
|
1700
|
+
};
|
|
1701
|
+
defaultSize: {
|
|
1702
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
1703
|
+
default: string;
|
|
1704
|
+
};
|
|
1705
|
+
pagination: {
|
|
1706
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
1707
|
+
default: boolean;
|
|
1708
|
+
};
|
|
1679
1709
|
actionBar: {
|
|
1680
1710
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
1681
1711
|
default: boolean;
|
|
1682
1712
|
};
|
|
1683
|
-
|
|
1684
|
-
type: PropType<boolean
|
|
1713
|
+
hasIndexColumn: {
|
|
1714
|
+
type: PropType<boolean>;
|
|
1685
1715
|
default: boolean;
|
|
1686
1716
|
};
|
|
1687
|
-
indexTableColumnProps: {
|
|
1688
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1689
|
-
default: () => {};
|
|
1690
|
-
};
|
|
1691
|
-
indexContentStyle: {
|
|
1692
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1693
|
-
default: () => {};
|
|
1694
|
-
};
|
|
1695
|
-
dragSortableTableColumnProps: {
|
|
1696
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1697
|
-
default: () => {};
|
|
1698
|
-
};
|
|
1699
1717
|
titleBar: {
|
|
1700
1718
|
type: PropType<boolean | Partial<Partial<{
|
|
1701
1719
|
title?: string | undefined;
|
|
@@ -1709,22 +1727,6 @@ export declare const PlusTable: {
|
|
|
1709
1727
|
}>>>;
|
|
1710
1728
|
default: boolean;
|
|
1711
1729
|
};
|
|
1712
|
-
defaultSize: {
|
|
1713
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
1714
|
-
default: string;
|
|
1715
|
-
};
|
|
1716
|
-
tableData: {
|
|
1717
|
-
type: PropType< RecordType[]>;
|
|
1718
|
-
default: () => never[];
|
|
1719
|
-
};
|
|
1720
|
-
pagination: {
|
|
1721
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
1722
|
-
default: boolean;
|
|
1723
|
-
};
|
|
1724
|
-
hasIndexColumn: {
|
|
1725
|
-
type: PropType<boolean>;
|
|
1726
|
-
default: boolean;
|
|
1727
|
-
};
|
|
1728
1730
|
isSelection: {
|
|
1729
1731
|
type: PropType<boolean | "radio">;
|
|
1730
1732
|
default: boolean;
|
|
@@ -1745,6 +1747,14 @@ export declare const PlusTable: {
|
|
|
1745
1747
|
type: PropType<false | Partial< Options>>;
|
|
1746
1748
|
default: boolean;
|
|
1747
1749
|
};
|
|
1750
|
+
dragSortableTableColumnProps: {
|
|
1751
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1752
|
+
default: () => {};
|
|
1753
|
+
};
|
|
1754
|
+
indexTableColumnProps: {
|
|
1755
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1756
|
+
default: () => {};
|
|
1757
|
+
};
|
|
1748
1758
|
selectionTableColumnProps: {
|
|
1749
1759
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1750
1760
|
default: () => {
|
|
@@ -1769,6 +1779,14 @@ export declare const PlusTable: {
|
|
|
1769
1779
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1770
1780
|
default: () => {};
|
|
1771
1781
|
};
|
|
1782
|
+
indexContentStyle: {
|
|
1783
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1784
|
+
default: () => {};
|
|
1785
|
+
};
|
|
1786
|
+
editable: {
|
|
1787
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
1788
|
+
default: boolean;
|
|
1789
|
+
};
|
|
1772
1790
|
adaptive: {
|
|
1773
1791
|
type: PropType<boolean | {
|
|
1774
1792
|
offsetBottom?: number | undefined;
|
|
@@ -1780,16 +1798,16 @@ export declare const PlusTable: {
|
|
|
1780
1798
|
type: PropType<number>;
|
|
1781
1799
|
};
|
|
1782
1800
|
}>> & {
|
|
1801
|
+
onRefresh?: (() => any) | undefined;
|
|
1802
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1783
1803
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1784
1804
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1805
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1785
1806
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1807
|
+
onEdited?: (() => any) | undefined;
|
|
1786
1808
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1787
1809
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1788
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1789
|
-
onRefresh?: (() => any) | undefined;
|
|
1790
1810
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
1791
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1792
|
-
onEdited?: (() => any) | undefined;
|
|
1793
1811
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
1794
1812
|
}, {
|
|
1795
1813
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -1989,7 +2007,7 @@ export declare const PlusTable: {
|
|
|
1989
2007
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
1990
2008
|
setScrollLeft: (left?: number | undefined) => void;
|
|
1991
2009
|
setScrollTop: (top?: number | undefined) => void;
|
|
1992
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
2010
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1993
2011
|
data: {
|
|
1994
2012
|
type: PropType<any[]>;
|
|
1995
2013
|
default: () => never[];
|
|
@@ -2355,6 +2373,7 @@ export declare const PlusTable: {
|
|
|
2355
2373
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
2356
2374
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
2357
2375
|
}, string, {
|
|
2376
|
+
showOverflowTooltip: boolean;
|
|
2358
2377
|
columns: PlusColumn[];
|
|
2359
2378
|
data: RecordType[];
|
|
2360
2379
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
@@ -2364,11 +2383,11 @@ export declare const PlusTable: {
|
|
|
2364
2383
|
columnIndex: number;
|
|
2365
2384
|
}) => CSSProperties>;
|
|
2366
2385
|
rowKey: string | ((row: any[]) => string);
|
|
2386
|
+
tableData: RecordType[];
|
|
2387
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
2388
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
2367
2389
|
actionBar: false | Partial< ActionBarProps>;
|
|
2368
|
-
|
|
2369
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2370
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2371
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2390
|
+
hasIndexColumn: boolean;
|
|
2372
2391
|
titleBar: boolean | Partial<Partial<{
|
|
2373
2392
|
title?: string | undefined;
|
|
2374
2393
|
refresh?: boolean | undefined;
|
|
@@ -2379,20 +2398,20 @@ export declare const PlusTable: {
|
|
|
2379
2398
|
color?: string | undefined;
|
|
2380
2399
|
} | undefined;
|
|
2381
2400
|
}>>;
|
|
2382
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
2383
|
-
tableData: RecordType[];
|
|
2384
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
2385
|
-
hasIndexColumn: boolean;
|
|
2386
2401
|
isSelection: boolean | "radio";
|
|
2387
2402
|
isRadio: boolean;
|
|
2388
2403
|
hasExpand: boolean;
|
|
2389
2404
|
loadingStatus: boolean;
|
|
2390
2405
|
dragSortable: false | Partial< Options>;
|
|
2406
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2407
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2391
2408
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2392
2409
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2393
2410
|
radioProps: Partial< PlusRadioProps>;
|
|
2394
2411
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
2395
2412
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2413
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2414
|
+
editable: boolean | "click" | "dblclick";
|
|
2396
2415
|
adaptive: boolean | {
|
|
2397
2416
|
offsetBottom?: number | undefined;
|
|
2398
2417
|
timeout?: number | undefined;
|