@wlydfe/pro-ui 0.2.27 → 0.2.28
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 +988 -988
- package/es/components/page/src/index.vue.d.ts +331 -331
- 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/index.vue2.mjs +17 -6
- 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/components/table/src/table-title-bar.vue.mjs +2 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +10 -9
- package/es/components/table/src/table-title-bar.vue3.mjs +3 -0
- package/es/index.css +14 -13
- package/index.css +5 -1
- package/index.js +2861 -19
- package/index.min.css +1 -0
- package/index.min.js +7 -2
- package/index.min.mjs +7 -2
- package/index.mjs +2862 -20
- 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 +988 -988
- package/lib/components/page/src/index.vue.d.ts +331 -331
- 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/index.vue2.js +17 -6
- 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/components/table/src/table-title-bar.vue.js +2 -1
- package/lib/components/table/src/table-title-bar.vue2.js +9 -8
- package/lib/components/table/src/table-title-bar.vue3.js +7 -0
- package/lib/index.css +16 -15
- 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 +3 -2
|
@@ -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';
|
|
@@ -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
|
+
};
|
|
46
58
|
actionBar: {
|
|
47
59
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
48
60
|
default: boolean;
|
|
49
61
|
};
|
|
50
|
-
|
|
51
|
-
type: PropType<boolean
|
|
62
|
+
hasIndexColumn: {
|
|
63
|
+
type: PropType<boolean>;
|
|
52
64
|
default: boolean;
|
|
53
65
|
};
|
|
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,22 +76,6 @@ 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
|
-
};
|
|
95
79
|
isSelection: {
|
|
96
80
|
type: PropType<boolean | "radio">;
|
|
97
81
|
default: boolean;
|
|
@@ -112,6 +96,14 @@ export declare const PlusTable: {
|
|
|
112
96
|
type: PropType<false | Partial< Options>>;
|
|
113
97
|
default: boolean;
|
|
114
98
|
};
|
|
99
|
+
dragSortableTableColumnProps: {
|
|
100
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
101
|
+
default: () => {};
|
|
102
|
+
};
|
|
103
|
+
indexTableColumnProps: {
|
|
104
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
105
|
+
default: () => {};
|
|
106
|
+
};
|
|
115
107
|
selectionTableColumnProps: {
|
|
116
108
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
117
109
|
default: () => {
|
|
@@ -136,6 +128,14 @@ export declare const PlusTable: {
|
|
|
136
128
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
137
129
|
default: () => {};
|
|
138
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
|
+
};
|
|
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;
|
|
153
155
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
154
156
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
157
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
155
158
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
159
|
+
onEdited?: (() => any) | undefined;
|
|
156
160
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
157
161
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
158
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
159
|
-
onRefresh?: (() => any) | undefined;
|
|
160
162
|
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" | "
|
|
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" | "current-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
|
+
};
|
|
758
770
|
actionBar: {
|
|
759
771
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
760
772
|
default: boolean;
|
|
761
773
|
};
|
|
762
|
-
|
|
763
|
-
type: PropType<boolean
|
|
774
|
+
hasIndexColumn: {
|
|
775
|
+
type: PropType<boolean>;
|
|
764
776
|
default: boolean;
|
|
765
777
|
};
|
|
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,22 +788,6 @@ 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
|
-
};
|
|
807
791
|
isSelection: {
|
|
808
792
|
type: PropType<boolean | "radio">;
|
|
809
793
|
default: boolean;
|
|
@@ -824,6 +808,14 @@ export declare const PlusTable: {
|
|
|
824
808
|
type: PropType<false | Partial< Options>>;
|
|
825
809
|
default: boolean;
|
|
826
810
|
};
|
|
811
|
+
dragSortableTableColumnProps: {
|
|
812
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
813
|
+
default: () => {};
|
|
814
|
+
};
|
|
815
|
+
indexTableColumnProps: {
|
|
816
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
817
|
+
default: () => {};
|
|
818
|
+
};
|
|
827
819
|
selectionTableColumnProps: {
|
|
828
820
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
829
821
|
default: () => {
|
|
@@ -848,6 +840,14 @@ export declare const PlusTable: {
|
|
|
848
840
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
849
841
|
default: () => {};
|
|
850
842
|
};
|
|
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;
|
|
865
867
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
866
868
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
869
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
867
870
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
871
|
+
onEdited?: (() => any) | undefined;
|
|
868
872
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
869
873
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
870
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
871
|
-
onRefresh?: (() => any) | undefined;
|
|
872
874
|
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>;
|
|
887
890
|
actionBar: false | Partial< ActionBarProps>;
|
|
888
|
-
|
|
889
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
890
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
891
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
891
|
+
hasIndexColumn: boolean;
|
|
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;
|
|
906
902
|
isSelection: boolean | "radio";
|
|
907
903
|
isRadio: boolean;
|
|
908
904
|
hasExpand: boolean;
|
|
909
905
|
loadingStatus: boolean;
|
|
910
906
|
dragSortable: false | Partial< Options>;
|
|
907
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
908
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
911
909
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
912
910
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
913
911
|
radioProps: Partial< PlusRadioProps>;
|
|
914
912
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
915
913
|
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
|
+
};
|
|
958
970
|
actionBar: {
|
|
959
971
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
960
972
|
default: boolean;
|
|
961
973
|
};
|
|
962
|
-
|
|
963
|
-
type: PropType<boolean
|
|
974
|
+
hasIndexColumn: {
|
|
975
|
+
type: PropType<boolean>;
|
|
964
976
|
default: boolean;
|
|
965
977
|
};
|
|
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,22 +988,6 @@ 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
|
-
};
|
|
1007
991
|
isSelection: {
|
|
1008
992
|
type: PropType<boolean | "radio">;
|
|
1009
993
|
default: boolean;
|
|
@@ -1024,6 +1008,14 @@ export declare const PlusTable: {
|
|
|
1024
1008
|
type: PropType<false | Partial< Options>>;
|
|
1025
1009
|
default: boolean;
|
|
1026
1010
|
};
|
|
1011
|
+
dragSortableTableColumnProps: {
|
|
1012
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1013
|
+
default: () => {};
|
|
1014
|
+
};
|
|
1015
|
+
indexTableColumnProps: {
|
|
1016
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1017
|
+
default: () => {};
|
|
1018
|
+
};
|
|
1027
1019
|
selectionTableColumnProps: {
|
|
1028
1020
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1029
1021
|
default: () => {
|
|
@@ -1048,6 +1040,14 @@ export declare const PlusTable: {
|
|
|
1048
1040
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1049
1041
|
default: () => {};
|
|
1050
1042
|
};
|
|
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;
|
|
1065
1067
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1066
1068
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1069
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1067
1070
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1071
|
+
onEdited?: (() => any) | undefined;
|
|
1068
1072
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1069
1073
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1070
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1071
|
-
onRefresh?: (() => any) | undefined;
|
|
1072
1074
|
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" | "
|
|
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" | "current-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>;
|
|
1638
1641
|
actionBar: false | Partial< ActionBarProps>;
|
|
1639
|
-
|
|
1640
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1641
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
1642
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1642
|
+
hasIndexColumn: boolean;
|
|
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;
|
|
1657
1653
|
isSelection: boolean | "radio";
|
|
1658
1654
|
isRadio: boolean;
|
|
1659
1655
|
hasExpand: boolean;
|
|
1660
1656
|
loadingStatus: boolean;
|
|
1661
1657
|
dragSortable: false | Partial< Options>;
|
|
1658
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1659
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1662
1660
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1663
1661
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1664
1662
|
radioProps: Partial< PlusRadioProps>;
|
|
1665
1663
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
1666
1664
|
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
|
+
};
|
|
1706
1718
|
actionBar: {
|
|
1707
1719
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
1708
1720
|
default: boolean;
|
|
1709
1721
|
};
|
|
1710
|
-
|
|
1711
|
-
type: PropType<boolean
|
|
1722
|
+
hasIndexColumn: {
|
|
1723
|
+
type: PropType<boolean>;
|
|
1712
1724
|
default: boolean;
|
|
1713
1725
|
};
|
|
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,22 +1736,6 @@ 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
|
-
};
|
|
1755
1739
|
isSelection: {
|
|
1756
1740
|
type: PropType<boolean | "radio">;
|
|
1757
1741
|
default: boolean;
|
|
@@ -1772,6 +1756,14 @@ export declare const PlusTable: {
|
|
|
1772
1756
|
type: PropType<false | Partial< Options>>;
|
|
1773
1757
|
default: boolean;
|
|
1774
1758
|
};
|
|
1759
|
+
dragSortableTableColumnProps: {
|
|
1760
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1761
|
+
default: () => {};
|
|
1762
|
+
};
|
|
1763
|
+
indexTableColumnProps: {
|
|
1764
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1765
|
+
default: () => {};
|
|
1766
|
+
};
|
|
1775
1767
|
selectionTableColumnProps: {
|
|
1776
1768
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1777
1769
|
default: () => {
|
|
@@ -1796,6 +1788,14 @@ export declare const PlusTable: {
|
|
|
1796
1788
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1797
1789
|
default: () => {};
|
|
1798
1790
|
};
|
|
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;
|
|
1813
1815
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1814
1816
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1817
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1815
1818
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1819
|
+
onEdited?: (() => any) | undefined;
|
|
1816
1820
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1817
1821
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1818
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1819
|
-
onRefresh?: (() => any) | undefined;
|
|
1820
1822
|
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" | "
|
|
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" | "current-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>;
|
|
2398
2401
|
actionBar: false | Partial< ActionBarProps>;
|
|
2399
|
-
|
|
2400
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2401
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2402
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2402
|
+
hasIndexColumn: boolean;
|
|
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;
|
|
2417
2413
|
isSelection: boolean | "radio";
|
|
2418
2414
|
isRadio: boolean;
|
|
2419
2415
|
hasExpand: boolean;
|
|
2420
2416
|
loadingStatus: boolean;
|
|
2421
2417
|
dragSortable: false | Partial< Options>;
|
|
2418
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2419
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2422
2420
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2423
2421
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2424
2422
|
radioProps: Partial< PlusRadioProps>;
|
|
2425
2423
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
2426
2424
|
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;
|