@wlydfe/pro-ui 0.2.24 → 0.2.27
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/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/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-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- 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 +992 -992
- package/es/components/page/src/index.vue.d.ts +324 -324
- 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/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 +164 -164
- package/es/components/table/src/index.vue.d.ts +13 -13
- 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.vue.d.ts +22 -22
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/index.css +12 -12
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- 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/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-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- 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 +992 -992
- package/lib/components/page/src/index.vue.d.ts +324 -324
- 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/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 +164 -164
- package/lib/components/table/src/index.vue.d.ts +13 -13
- 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.vue.d.ts +22 -22
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/{form.css → 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
|
@@ -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 { ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow } from './src/type';
|
|
6
5
|
import { PlusPaginationProps, PlusRadioProps } from 'packages/plus-pro-components';
|
|
6
|
+
import { ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow } from './src/type';
|
|
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';
|
|
@@ -43,26 +43,26 @@ export declare const PlusTable: {
|
|
|
43
43
|
type: PropType<string | ((row: any[]) => string)>;
|
|
44
44
|
default: string;
|
|
45
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
|
-
};
|
|
58
46
|
actionBar: {
|
|
59
47
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
60
48
|
default: boolean;
|
|
61
49
|
};
|
|
62
|
-
|
|
63
|
-
type: PropType<boolean>;
|
|
50
|
+
editable: {
|
|
51
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
64
52
|
default: boolean;
|
|
65
53
|
};
|
|
54
|
+
indexTableColumnProps: {
|
|
55
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
56
|
+
default: () => {};
|
|
57
|
+
};
|
|
58
|
+
indexContentStyle: {
|
|
59
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
60
|
+
default: () => {};
|
|
61
|
+
};
|
|
62
|
+
dragSortableTableColumnProps: {
|
|
63
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
64
|
+
default: () => {};
|
|
65
|
+
};
|
|
66
66
|
titleBar: {
|
|
67
67
|
type: PropType<boolean | Partial<Partial<{
|
|
68
68
|
title?: string | undefined;
|
|
@@ -76,6 +76,22 @@ export declare const PlusTable: {
|
|
|
76
76
|
}>>>;
|
|
77
77
|
default: boolean;
|
|
78
78
|
};
|
|
79
|
+
defaultSize: {
|
|
80
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
tableData: {
|
|
84
|
+
type: PropType< RecordType[]>;
|
|
85
|
+
default: () => never[];
|
|
86
|
+
};
|
|
87
|
+
pagination: {
|
|
88
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
hasIndexColumn: {
|
|
92
|
+
type: PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
79
95
|
isSelection: {
|
|
80
96
|
type: PropType<boolean | "radio">;
|
|
81
97
|
default: boolean;
|
|
@@ -96,14 +112,6 @@ export declare const PlusTable: {
|
|
|
96
112
|
type: PropType<false | Partial< Options>>;
|
|
97
113
|
default: boolean;
|
|
98
114
|
};
|
|
99
|
-
dragSortableTableColumnProps: {
|
|
100
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
101
|
-
default: () => {};
|
|
102
|
-
};
|
|
103
|
-
indexTableColumnProps: {
|
|
104
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
105
|
-
default: () => {};
|
|
106
|
-
};
|
|
107
115
|
selectionTableColumnProps: {
|
|
108
116
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
109
117
|
default: () => {
|
|
@@ -128,14 +136,6 @@ export declare const PlusTable: {
|
|
|
128
136
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
129
137
|
default: () => {};
|
|
130
138
|
};
|
|
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
|
-
};
|
|
139
139
|
adaptive: {
|
|
140
140
|
type: PropType<boolean | {
|
|
141
141
|
offsetBottom?: number | undefined;
|
|
@@ -150,16 +150,16 @@ export declare const PlusTable: {
|
|
|
150
150
|
type: PropType<string>;
|
|
151
151
|
};
|
|
152
152
|
}>> & {
|
|
153
|
-
onRefresh?: (() => any) | undefined;
|
|
154
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
155
153
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
156
154
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
157
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
158
155
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
159
|
-
onEdited?: (() => any) | undefined;
|
|
160
156
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
161
157
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
158
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
159
|
+
onRefresh?: (() => any) | undefined;
|
|
162
160
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
161
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
162
|
+
onEdited?: (() => any) | undefined;
|
|
163
163
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
164
164
|
}, {
|
|
165
165
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -359,7 +359,7 @@ export declare const PlusTable: {
|
|
|
359
359
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
360
360
|
setScrollLeft: (left?: number | undefined) => void;
|
|
361
361
|
setScrollTop: (top?: number | undefined) => void;
|
|
362
|
-
}, 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" | "
|
|
362
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "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" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
363
363
|
data: {
|
|
364
364
|
type: PropType<any[]>;
|
|
365
365
|
default: () => never[];
|
|
@@ -755,26 +755,26 @@ export declare const PlusTable: {
|
|
|
755
755
|
type: PropType<string | ((row: any[]) => string)>;
|
|
756
756
|
default: string;
|
|
757
757
|
};
|
|
758
|
-
tableData: {
|
|
759
|
-
type: PropType< RecordType[]>;
|
|
760
|
-
default: () => never[];
|
|
761
|
-
};
|
|
762
|
-
defaultSize: {
|
|
763
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
764
|
-
default: string;
|
|
765
|
-
};
|
|
766
|
-
pagination: {
|
|
767
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
768
|
-
default: boolean;
|
|
769
|
-
};
|
|
770
758
|
actionBar: {
|
|
771
759
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
772
760
|
default: boolean;
|
|
773
761
|
};
|
|
774
|
-
|
|
775
|
-
type: PropType<boolean>;
|
|
762
|
+
editable: {
|
|
763
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
776
764
|
default: boolean;
|
|
777
765
|
};
|
|
766
|
+
indexTableColumnProps: {
|
|
767
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
768
|
+
default: () => {};
|
|
769
|
+
};
|
|
770
|
+
indexContentStyle: {
|
|
771
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
772
|
+
default: () => {};
|
|
773
|
+
};
|
|
774
|
+
dragSortableTableColumnProps: {
|
|
775
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
776
|
+
default: () => {};
|
|
777
|
+
};
|
|
778
778
|
titleBar: {
|
|
779
779
|
type: PropType<boolean | Partial<Partial<{
|
|
780
780
|
title?: string | undefined;
|
|
@@ -788,6 +788,22 @@ export declare const PlusTable: {
|
|
|
788
788
|
}>>>;
|
|
789
789
|
default: boolean;
|
|
790
790
|
};
|
|
791
|
+
defaultSize: {
|
|
792
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
793
|
+
default: string;
|
|
794
|
+
};
|
|
795
|
+
tableData: {
|
|
796
|
+
type: PropType< RecordType[]>;
|
|
797
|
+
default: () => never[];
|
|
798
|
+
};
|
|
799
|
+
pagination: {
|
|
800
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
801
|
+
default: boolean;
|
|
802
|
+
};
|
|
803
|
+
hasIndexColumn: {
|
|
804
|
+
type: PropType<boolean>;
|
|
805
|
+
default: boolean;
|
|
806
|
+
};
|
|
791
807
|
isSelection: {
|
|
792
808
|
type: PropType<boolean | "radio">;
|
|
793
809
|
default: boolean;
|
|
@@ -808,14 +824,6 @@ export declare const PlusTable: {
|
|
|
808
824
|
type: PropType<false | Partial< Options>>;
|
|
809
825
|
default: boolean;
|
|
810
826
|
};
|
|
811
|
-
dragSortableTableColumnProps: {
|
|
812
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
813
|
-
default: () => {};
|
|
814
|
-
};
|
|
815
|
-
indexTableColumnProps: {
|
|
816
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
817
|
-
default: () => {};
|
|
818
|
-
};
|
|
819
827
|
selectionTableColumnProps: {
|
|
820
828
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
821
829
|
default: () => {
|
|
@@ -840,14 +848,6 @@ export declare const PlusTable: {
|
|
|
840
848
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
841
849
|
default: () => {};
|
|
842
850
|
};
|
|
843
|
-
indexContentStyle: {
|
|
844
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
845
|
-
default: () => {};
|
|
846
|
-
};
|
|
847
|
-
editable: {
|
|
848
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
849
|
-
default: boolean;
|
|
850
|
-
};
|
|
851
851
|
adaptive: {
|
|
852
852
|
type: PropType<boolean | {
|
|
853
853
|
offsetBottom?: number | undefined;
|
|
@@ -862,16 +862,16 @@ export declare const PlusTable: {
|
|
|
862
862
|
type: PropType<string>;
|
|
863
863
|
};
|
|
864
864
|
}>> & {
|
|
865
|
-
onRefresh?: (() => any) | undefined;
|
|
866
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
867
865
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
868
866
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
869
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
870
867
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
871
|
-
onEdited?: (() => any) | undefined;
|
|
872
868
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
873
869
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
870
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
871
|
+
onRefresh?: (() => any) | undefined;
|
|
874
872
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
873
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
874
|
+
onEdited?: (() => any) | undefined;
|
|
875
875
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
876
876
|
}, {
|
|
877
877
|
showOverflowTooltip: boolean;
|
|
@@ -884,11 +884,11 @@ export declare const PlusTable: {
|
|
|
884
884
|
columnIndex: number;
|
|
885
885
|
}) => CSSProperties>;
|
|
886
886
|
rowKey: string | ((row: any[]) => string);
|
|
887
|
-
tableData: RecordType[];
|
|
888
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
889
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
890
887
|
actionBar: false | Partial< ActionBarProps>;
|
|
891
|
-
|
|
888
|
+
editable: boolean | "click" | "dblclick";
|
|
889
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
890
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
891
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
892
892
|
titleBar: boolean | Partial<Partial<{
|
|
893
893
|
title?: string | undefined;
|
|
894
894
|
refresh?: boolean | undefined;
|
|
@@ -899,20 +899,20 @@ export declare const PlusTable: {
|
|
|
899
899
|
color?: string | undefined;
|
|
900
900
|
} | undefined;
|
|
901
901
|
}>>;
|
|
902
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
903
|
+
tableData: RecordType[];
|
|
904
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
905
|
+
hasIndexColumn: boolean;
|
|
902
906
|
isSelection: boolean | "radio";
|
|
903
907
|
isRadio: boolean;
|
|
904
908
|
hasExpand: boolean;
|
|
905
909
|
loadingStatus: boolean;
|
|
906
910
|
dragSortable: false | Partial< Options>;
|
|
907
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
908
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
909
911
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
910
912
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
911
913
|
radioProps: Partial< PlusRadioProps>;
|
|
912
914
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
913
915
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
914
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
915
|
-
editable: boolean | "click" | "dblclick";
|
|
916
916
|
adaptive: boolean | {
|
|
917
917
|
offsetBottom?: number | undefined;
|
|
918
918
|
timeout?: number | undefined;
|
|
@@ -955,26 +955,26 @@ export declare const PlusTable: {
|
|
|
955
955
|
type: PropType<string | ((row: any[]) => string)>;
|
|
956
956
|
default: string;
|
|
957
957
|
};
|
|
958
|
-
tableData: {
|
|
959
|
-
type: PropType< RecordType[]>;
|
|
960
|
-
default: () => never[];
|
|
961
|
-
};
|
|
962
|
-
defaultSize: {
|
|
963
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
964
|
-
default: string;
|
|
965
|
-
};
|
|
966
|
-
pagination: {
|
|
967
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
968
|
-
default: boolean;
|
|
969
|
-
};
|
|
970
958
|
actionBar: {
|
|
971
959
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
972
960
|
default: boolean;
|
|
973
961
|
};
|
|
974
|
-
|
|
975
|
-
type: PropType<boolean>;
|
|
962
|
+
editable: {
|
|
963
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
976
964
|
default: boolean;
|
|
977
965
|
};
|
|
966
|
+
indexTableColumnProps: {
|
|
967
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
968
|
+
default: () => {};
|
|
969
|
+
};
|
|
970
|
+
indexContentStyle: {
|
|
971
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
972
|
+
default: () => {};
|
|
973
|
+
};
|
|
974
|
+
dragSortableTableColumnProps: {
|
|
975
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
976
|
+
default: () => {};
|
|
977
|
+
};
|
|
978
978
|
titleBar: {
|
|
979
979
|
type: PropType<boolean | Partial<Partial<{
|
|
980
980
|
title?: string | undefined;
|
|
@@ -988,6 +988,22 @@ export declare const PlusTable: {
|
|
|
988
988
|
}>>>;
|
|
989
989
|
default: boolean;
|
|
990
990
|
};
|
|
991
|
+
defaultSize: {
|
|
992
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
993
|
+
default: string;
|
|
994
|
+
};
|
|
995
|
+
tableData: {
|
|
996
|
+
type: PropType< RecordType[]>;
|
|
997
|
+
default: () => never[];
|
|
998
|
+
};
|
|
999
|
+
pagination: {
|
|
1000
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
1001
|
+
default: boolean;
|
|
1002
|
+
};
|
|
1003
|
+
hasIndexColumn: {
|
|
1004
|
+
type: PropType<boolean>;
|
|
1005
|
+
default: boolean;
|
|
1006
|
+
};
|
|
991
1007
|
isSelection: {
|
|
992
1008
|
type: PropType<boolean | "radio">;
|
|
993
1009
|
default: boolean;
|
|
@@ -1008,14 +1024,6 @@ export declare const PlusTable: {
|
|
|
1008
1024
|
type: PropType<false | Partial< Options>>;
|
|
1009
1025
|
default: boolean;
|
|
1010
1026
|
};
|
|
1011
|
-
dragSortableTableColumnProps: {
|
|
1012
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1013
|
-
default: () => {};
|
|
1014
|
-
};
|
|
1015
|
-
indexTableColumnProps: {
|
|
1016
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1017
|
-
default: () => {};
|
|
1018
|
-
};
|
|
1019
1027
|
selectionTableColumnProps: {
|
|
1020
1028
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1021
1029
|
default: () => {
|
|
@@ -1040,14 +1048,6 @@ export declare const PlusTable: {
|
|
|
1040
1048
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1041
1049
|
default: () => {};
|
|
1042
1050
|
};
|
|
1043
|
-
indexContentStyle: {
|
|
1044
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1045
|
-
default: () => {};
|
|
1046
|
-
};
|
|
1047
|
-
editable: {
|
|
1048
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
1049
|
-
default: boolean;
|
|
1050
|
-
};
|
|
1051
1051
|
adaptive: {
|
|
1052
1052
|
type: PropType<boolean | {
|
|
1053
1053
|
offsetBottom?: number | undefined;
|
|
@@ -1062,16 +1062,16 @@ export declare const PlusTable: {
|
|
|
1062
1062
|
type: PropType<string>;
|
|
1063
1063
|
};
|
|
1064
1064
|
}>> & {
|
|
1065
|
-
onRefresh?: (() => any) | undefined;
|
|
1066
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1067
1065
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1068
1066
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1069
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1070
1067
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1071
|
-
onEdited?: (() => any) | undefined;
|
|
1072
1068
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1073
1069
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1070
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1071
|
+
onRefresh?: (() => any) | undefined;
|
|
1074
1072
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
1073
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1074
|
+
onEdited?: (() => any) | undefined;
|
|
1075
1075
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
1076
1076
|
}, {
|
|
1077
1077
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -1271,7 +1271,7 @@ export declare const PlusTable: {
|
|
|
1271
1271
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
1272
1272
|
setScrollLeft: (left?: number | undefined) => void;
|
|
1273
1273
|
setScrollTop: (top?: number | undefined) => void;
|
|
1274
|
-
}, 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" | "
|
|
1274
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "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" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1275
1275
|
data: {
|
|
1276
1276
|
type: PropType<any[]>;
|
|
1277
1277
|
default: () => never[];
|
|
@@ -1635,11 +1635,11 @@ export declare const PlusTable: {
|
|
|
1635
1635
|
columnIndex: number;
|
|
1636
1636
|
}) => CSSProperties>;
|
|
1637
1637
|
rowKey: string | ((row: any[]) => string);
|
|
1638
|
-
tableData: RecordType[];
|
|
1639
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
1640
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
1641
1638
|
actionBar: false | Partial< ActionBarProps>;
|
|
1642
|
-
|
|
1639
|
+
editable: boolean | "click" | "dblclick";
|
|
1640
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1641
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
1642
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1643
1643
|
titleBar: boolean | Partial<Partial<{
|
|
1644
1644
|
title?: string | undefined;
|
|
1645
1645
|
refresh?: boolean | undefined;
|
|
@@ -1650,20 +1650,20 @@ export declare const PlusTable: {
|
|
|
1650
1650
|
color?: string | undefined;
|
|
1651
1651
|
} | undefined;
|
|
1652
1652
|
}>>;
|
|
1653
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
1654
|
+
tableData: RecordType[];
|
|
1655
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
1656
|
+
hasIndexColumn: boolean;
|
|
1653
1657
|
isSelection: boolean | "radio";
|
|
1654
1658
|
isRadio: boolean;
|
|
1655
1659
|
hasExpand: boolean;
|
|
1656
1660
|
loadingStatus: boolean;
|
|
1657
1661
|
dragSortable: false | Partial< Options>;
|
|
1658
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1659
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1660
1662
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1661
1663
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1662
1664
|
radioProps: Partial< PlusRadioProps>;
|
|
1663
1665
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
1664
1666
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1665
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
1666
|
-
editable: boolean | "click" | "dblclick";
|
|
1667
1667
|
adaptive: boolean | {
|
|
1668
1668
|
offsetBottom?: number | undefined;
|
|
1669
1669
|
timeout?: number | undefined;
|
|
@@ -1703,26 +1703,26 @@ export declare const PlusTable: {
|
|
|
1703
1703
|
type: PropType<string | ((row: any[]) => string)>;
|
|
1704
1704
|
default: string;
|
|
1705
1705
|
};
|
|
1706
|
-
tableData: {
|
|
1707
|
-
type: PropType< RecordType[]>;
|
|
1708
|
-
default: () => never[];
|
|
1709
|
-
};
|
|
1710
|
-
defaultSize: {
|
|
1711
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
1712
|
-
default: string;
|
|
1713
|
-
};
|
|
1714
|
-
pagination: {
|
|
1715
|
-
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
1716
|
-
default: boolean;
|
|
1717
|
-
};
|
|
1718
1706
|
actionBar: {
|
|
1719
1707
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
1720
1708
|
default: boolean;
|
|
1721
1709
|
};
|
|
1722
|
-
|
|
1723
|
-
type: PropType<boolean>;
|
|
1710
|
+
editable: {
|
|
1711
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
1724
1712
|
default: boolean;
|
|
1725
1713
|
};
|
|
1714
|
+
indexTableColumnProps: {
|
|
1715
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1716
|
+
default: () => {};
|
|
1717
|
+
};
|
|
1718
|
+
indexContentStyle: {
|
|
1719
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1720
|
+
default: () => {};
|
|
1721
|
+
};
|
|
1722
|
+
dragSortableTableColumnProps: {
|
|
1723
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1724
|
+
default: () => {};
|
|
1725
|
+
};
|
|
1726
1726
|
titleBar: {
|
|
1727
1727
|
type: PropType<boolean | Partial<Partial<{
|
|
1728
1728
|
title?: string | undefined;
|
|
@@ -1736,6 +1736,22 @@ export declare const PlusTable: {
|
|
|
1736
1736
|
}>>>;
|
|
1737
1737
|
default: boolean;
|
|
1738
1738
|
};
|
|
1739
|
+
defaultSize: {
|
|
1740
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
1741
|
+
default: string;
|
|
1742
|
+
};
|
|
1743
|
+
tableData: {
|
|
1744
|
+
type: PropType< RecordType[]>;
|
|
1745
|
+
default: () => never[];
|
|
1746
|
+
};
|
|
1747
|
+
pagination: {
|
|
1748
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
1749
|
+
default: boolean;
|
|
1750
|
+
};
|
|
1751
|
+
hasIndexColumn: {
|
|
1752
|
+
type: PropType<boolean>;
|
|
1753
|
+
default: boolean;
|
|
1754
|
+
};
|
|
1739
1755
|
isSelection: {
|
|
1740
1756
|
type: PropType<boolean | "radio">;
|
|
1741
1757
|
default: boolean;
|
|
@@ -1756,14 +1772,6 @@ export declare const PlusTable: {
|
|
|
1756
1772
|
type: PropType<false | Partial< Options>>;
|
|
1757
1773
|
default: boolean;
|
|
1758
1774
|
};
|
|
1759
|
-
dragSortableTableColumnProps: {
|
|
1760
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1761
|
-
default: () => {};
|
|
1762
|
-
};
|
|
1763
|
-
indexTableColumnProps: {
|
|
1764
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1765
|
-
default: () => {};
|
|
1766
|
-
};
|
|
1767
1775
|
selectionTableColumnProps: {
|
|
1768
1776
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1769
1777
|
default: () => {
|
|
@@ -1788,14 +1796,6 @@ export declare const PlusTable: {
|
|
|
1788
1796
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1789
1797
|
default: () => {};
|
|
1790
1798
|
};
|
|
1791
|
-
indexContentStyle: {
|
|
1792
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1793
|
-
default: () => {};
|
|
1794
|
-
};
|
|
1795
|
-
editable: {
|
|
1796
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
1797
|
-
default: boolean;
|
|
1798
|
-
};
|
|
1799
1799
|
adaptive: {
|
|
1800
1800
|
type: PropType<boolean | {
|
|
1801
1801
|
offsetBottom?: number | undefined;
|
|
@@ -1810,16 +1810,16 @@ export declare const PlusTable: {
|
|
|
1810
1810
|
type: PropType<string>;
|
|
1811
1811
|
};
|
|
1812
1812
|
}>> & {
|
|
1813
|
-
onRefresh?: (() => any) | undefined;
|
|
1814
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1815
1813
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1816
1814
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1817
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1818
1815
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1819
|
-
onEdited?: (() => any) | undefined;
|
|
1820
1816
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1821
1817
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1818
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1819
|
+
onRefresh?: (() => any) | undefined;
|
|
1822
1820
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
1821
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1822
|
+
onEdited?: (() => any) | undefined;
|
|
1823
1823
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
1824
1824
|
}, {
|
|
1825
1825
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -2019,7 +2019,7 @@ export declare const PlusTable: {
|
|
|
2019
2019
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
2020
2020
|
setScrollLeft: (left?: number | undefined) => void;
|
|
2021
2021
|
setScrollTop: (top?: number | undefined) => void;
|
|
2022
|
-
}, 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" | "
|
|
2022
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "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" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2023
2023
|
data: {
|
|
2024
2024
|
type: PropType<any[]>;
|
|
2025
2025
|
default: () => never[];
|
|
@@ -2395,11 +2395,11 @@ export declare const PlusTable: {
|
|
|
2395
2395
|
columnIndex: number;
|
|
2396
2396
|
}) => CSSProperties>;
|
|
2397
2397
|
rowKey: string | ((row: any[]) => string);
|
|
2398
|
-
tableData: RecordType[];
|
|
2399
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
2400
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
2401
2398
|
actionBar: false | Partial< ActionBarProps>;
|
|
2402
|
-
|
|
2399
|
+
editable: boolean | "click" | "dblclick";
|
|
2400
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2401
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2402
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2403
2403
|
titleBar: boolean | Partial<Partial<{
|
|
2404
2404
|
title?: string | undefined;
|
|
2405
2405
|
refresh?: boolean | undefined;
|
|
@@ -2410,20 +2410,20 @@ export declare const PlusTable: {
|
|
|
2410
2410
|
color?: string | undefined;
|
|
2411
2411
|
} | undefined;
|
|
2412
2412
|
}>>;
|
|
2413
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
2414
|
+
tableData: RecordType[];
|
|
2415
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
2416
|
+
hasIndexColumn: boolean;
|
|
2413
2417
|
isSelection: boolean | "radio";
|
|
2414
2418
|
isRadio: boolean;
|
|
2415
2419
|
hasExpand: boolean;
|
|
2416
2420
|
loadingStatus: boolean;
|
|
2417
2421
|
dragSortable: false | Partial< Options>;
|
|
2418
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2419
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2420
2422
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2421
2423
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2422
2424
|
radioProps: Partial< PlusRadioProps>;
|
|
2423
2425
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
2424
2426
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2425
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2426
|
-
editable: boolean | "click" | "dblclick";
|
|
2427
2427
|
adaptive: boolean | {
|
|
2428
2428
|
offsetBottom?: number | undefined;
|
|
2429
2429
|
timeout?: number | undefined;
|