@wlydfe/pro-ui 0.2.7 → 0.2.8
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-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 +988 -988
- package/es/components/page/src/index.vue.d.ts +419 -387
- 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/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 +25 -43
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/index.css +13 -13
- package/global.d.ts +29 -29
- package/index.js +13 -3
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +13 -3
- 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-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 +988 -988
- package/lib/components/page/src/index.vue.d.ts +419 -387
- 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/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 +25 -43
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- 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';
|
|
@@ -39,26 +39,26 @@ export declare const PlusTable: {
|
|
|
39
39
|
type: PropType<string | ((row: any[]) => string)>;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
tableData: {
|
|
43
|
+
type: PropType< RecordType[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
defaultSize: {
|
|
47
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
pagination: {
|
|
51
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
42
54
|
actionBar: {
|
|
43
55
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
44
56
|
default: boolean;
|
|
45
57
|
};
|
|
46
|
-
|
|
47
|
-
type: PropType<boolean
|
|
58
|
+
hasIndexColumn: {
|
|
59
|
+
type: PropType<boolean>;
|
|
48
60
|
default: boolean;
|
|
49
61
|
};
|
|
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
62
|
titleBar: {
|
|
63
63
|
type: PropType<boolean | Partial<Partial<{
|
|
64
64
|
title?: string | undefined;
|
|
@@ -72,22 +72,6 @@ export declare const PlusTable: {
|
|
|
72
72
|
}>>>;
|
|
73
73
|
default: boolean;
|
|
74
74
|
};
|
|
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
75
|
isSelection: {
|
|
92
76
|
type: PropType<boolean | "radio">;
|
|
93
77
|
default: boolean;
|
|
@@ -108,6 +92,14 @@ export declare const PlusTable: {
|
|
|
108
92
|
type: PropType<false | Partial< Options>>;
|
|
109
93
|
default: boolean;
|
|
110
94
|
};
|
|
95
|
+
dragSortableTableColumnProps: {
|
|
96
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
99
|
+
indexTableColumnProps: {
|
|
100
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
101
|
+
default: () => {};
|
|
102
|
+
};
|
|
111
103
|
selectionTableColumnProps: {
|
|
112
104
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
113
105
|
default: () => {
|
|
@@ -132,6 +124,14 @@ export declare const PlusTable: {
|
|
|
132
124
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
133
125
|
default: () => {};
|
|
134
126
|
};
|
|
127
|
+
indexContentStyle: {
|
|
128
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
129
|
+
default: () => {};
|
|
130
|
+
};
|
|
131
|
+
editable: {
|
|
132
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
135
|
adaptive: {
|
|
136
136
|
type: PropType<boolean | {
|
|
137
137
|
offsetBottom?: number | undefined;
|
|
@@ -143,16 +143,16 @@ export declare const PlusTable: {
|
|
|
143
143
|
type: PropType<number>;
|
|
144
144
|
};
|
|
145
145
|
}>> & {
|
|
146
|
+
onRefresh?: (() => any) | undefined;
|
|
147
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
146
148
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
147
149
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
150
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
148
151
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
152
|
+
onEdited?: (() => any) | undefined;
|
|
149
153
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
150
154
|
"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
155
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
154
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
155
|
-
onEdited?: (() => any) | undefined;
|
|
156
156
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
157
157
|
}, {
|
|
158
158
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -352,7 +352,7 @@ export declare const PlusTable: {
|
|
|
352
352
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
353
353
|
setScrollLeft: (left?: number | undefined) => void;
|
|
354
354
|
setScrollTop: (top?: number | undefined) => void;
|
|
355
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
355
|
+
}, 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
356
|
data: {
|
|
357
357
|
type: PropType<any[]>;
|
|
358
358
|
default: () => never[];
|
|
@@ -744,26 +744,26 @@ export declare const PlusTable: {
|
|
|
744
744
|
type: PropType<string | ((row: any[]) => string)>;
|
|
745
745
|
default: string;
|
|
746
746
|
};
|
|
747
|
+
tableData: {
|
|
748
|
+
type: PropType< RecordType[]>;
|
|
749
|
+
default: () => never[];
|
|
750
|
+
};
|
|
751
|
+
defaultSize: {
|
|
752
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
753
|
+
default: string;
|
|
754
|
+
};
|
|
755
|
+
pagination: {
|
|
756
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
757
|
+
default: boolean;
|
|
758
|
+
};
|
|
747
759
|
actionBar: {
|
|
748
760
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
749
761
|
default: boolean;
|
|
750
762
|
};
|
|
751
|
-
|
|
752
|
-
type: PropType<boolean
|
|
763
|
+
hasIndexColumn: {
|
|
764
|
+
type: PropType<boolean>;
|
|
753
765
|
default: boolean;
|
|
754
766
|
};
|
|
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
767
|
titleBar: {
|
|
768
768
|
type: PropType<boolean | Partial<Partial<{
|
|
769
769
|
title?: string | undefined;
|
|
@@ -777,22 +777,6 @@ export declare const PlusTable: {
|
|
|
777
777
|
}>>>;
|
|
778
778
|
default: boolean;
|
|
779
779
|
};
|
|
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
780
|
isSelection: {
|
|
797
781
|
type: PropType<boolean | "radio">;
|
|
798
782
|
default: boolean;
|
|
@@ -813,6 +797,14 @@ export declare const PlusTable: {
|
|
|
813
797
|
type: PropType<false | Partial< Options>>;
|
|
814
798
|
default: boolean;
|
|
815
799
|
};
|
|
800
|
+
dragSortableTableColumnProps: {
|
|
801
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
802
|
+
default: () => {};
|
|
803
|
+
};
|
|
804
|
+
indexTableColumnProps: {
|
|
805
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
806
|
+
default: () => {};
|
|
807
|
+
};
|
|
816
808
|
selectionTableColumnProps: {
|
|
817
809
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
818
810
|
default: () => {
|
|
@@ -837,6 +829,14 @@ export declare const PlusTable: {
|
|
|
837
829
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
838
830
|
default: () => {};
|
|
839
831
|
};
|
|
832
|
+
indexContentStyle: {
|
|
833
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
834
|
+
default: () => {};
|
|
835
|
+
};
|
|
836
|
+
editable: {
|
|
837
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
838
|
+
default: boolean;
|
|
839
|
+
};
|
|
840
840
|
adaptive: {
|
|
841
841
|
type: PropType<boolean | {
|
|
842
842
|
offsetBottom?: number | undefined;
|
|
@@ -848,16 +848,16 @@ export declare const PlusTable: {
|
|
|
848
848
|
type: PropType<number>;
|
|
849
849
|
};
|
|
850
850
|
}>> & {
|
|
851
|
+
onRefresh?: (() => any) | undefined;
|
|
852
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
851
853
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
852
854
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
855
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
853
856
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
857
|
+
onEdited?: (() => any) | undefined;
|
|
854
858
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
855
859
|
"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
860
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
859
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
860
|
-
onEdited?: (() => any) | undefined;
|
|
861
861
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
862
862
|
}, {
|
|
863
863
|
columns: PlusColumn[];
|
|
@@ -869,11 +869,11 @@ export declare const PlusTable: {
|
|
|
869
869
|
columnIndex: number;
|
|
870
870
|
}) => CSSProperties>;
|
|
871
871
|
rowKey: string | ((row: any[]) => string);
|
|
872
|
+
tableData: RecordType[];
|
|
873
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
874
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
872
875
|
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>>;
|
|
876
|
+
hasIndexColumn: boolean;
|
|
877
877
|
titleBar: boolean | Partial<Partial<{
|
|
878
878
|
title?: string | undefined;
|
|
879
879
|
refresh?: boolean | undefined;
|
|
@@ -884,20 +884,20 @@ export declare const PlusTable: {
|
|
|
884
884
|
color?: string | undefined;
|
|
885
885
|
} | undefined;
|
|
886
886
|
}>>;
|
|
887
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
888
|
-
tableData: RecordType[];
|
|
889
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
890
|
-
hasIndexColumn: boolean;
|
|
891
887
|
isSelection: boolean | "radio";
|
|
892
888
|
isRadio: boolean;
|
|
893
889
|
hasExpand: boolean;
|
|
894
890
|
loadingStatus: boolean;
|
|
895
891
|
dragSortable: false | Partial< Options>;
|
|
892
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
893
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
896
894
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
897
895
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
898
896
|
radioProps: Partial< PlusRadioProps>;
|
|
899
897
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
900
898
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
899
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
900
|
+
editable: boolean | "click" | "dblclick";
|
|
901
901
|
adaptive: boolean | {
|
|
902
902
|
offsetBottom?: number | undefined;
|
|
903
903
|
timeout?: number | undefined;
|
|
@@ -936,26 +936,26 @@ export declare const PlusTable: {
|
|
|
936
936
|
type: PropType<string | ((row: any[]) => string)>;
|
|
937
937
|
default: string;
|
|
938
938
|
};
|
|
939
|
+
tableData: {
|
|
940
|
+
type: PropType< RecordType[]>;
|
|
941
|
+
default: () => never[];
|
|
942
|
+
};
|
|
943
|
+
defaultSize: {
|
|
944
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
945
|
+
default: string;
|
|
946
|
+
};
|
|
947
|
+
pagination: {
|
|
948
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
949
|
+
default: boolean;
|
|
950
|
+
};
|
|
939
951
|
actionBar: {
|
|
940
952
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
941
953
|
default: boolean;
|
|
942
954
|
};
|
|
943
|
-
|
|
944
|
-
type: PropType<boolean
|
|
955
|
+
hasIndexColumn: {
|
|
956
|
+
type: PropType<boolean>;
|
|
945
957
|
default: boolean;
|
|
946
958
|
};
|
|
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
959
|
titleBar: {
|
|
960
960
|
type: PropType<boolean | Partial<Partial<{
|
|
961
961
|
title?: string | undefined;
|
|
@@ -969,22 +969,6 @@ export declare const PlusTable: {
|
|
|
969
969
|
}>>>;
|
|
970
970
|
default: boolean;
|
|
971
971
|
};
|
|
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
972
|
isSelection: {
|
|
989
973
|
type: PropType<boolean | "radio">;
|
|
990
974
|
default: boolean;
|
|
@@ -1005,6 +989,14 @@ export declare const PlusTable: {
|
|
|
1005
989
|
type: PropType<false | Partial< Options>>;
|
|
1006
990
|
default: boolean;
|
|
1007
991
|
};
|
|
992
|
+
dragSortableTableColumnProps: {
|
|
993
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
994
|
+
default: () => {};
|
|
995
|
+
};
|
|
996
|
+
indexTableColumnProps: {
|
|
997
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
998
|
+
default: () => {};
|
|
999
|
+
};
|
|
1008
1000
|
selectionTableColumnProps: {
|
|
1009
1001
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1010
1002
|
default: () => {
|
|
@@ -1029,6 +1021,14 @@ export declare const PlusTable: {
|
|
|
1029
1021
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1030
1022
|
default: () => {};
|
|
1031
1023
|
};
|
|
1024
|
+
indexContentStyle: {
|
|
1025
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1026
|
+
default: () => {};
|
|
1027
|
+
};
|
|
1028
|
+
editable: {
|
|
1029
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
1030
|
+
default: boolean;
|
|
1031
|
+
};
|
|
1032
1032
|
adaptive: {
|
|
1033
1033
|
type: PropType<boolean | {
|
|
1034
1034
|
offsetBottom?: number | undefined;
|
|
@@ -1040,16 +1040,16 @@ export declare const PlusTable: {
|
|
|
1040
1040
|
type: PropType<number>;
|
|
1041
1041
|
};
|
|
1042
1042
|
}>> & {
|
|
1043
|
+
onRefresh?: (() => any) | undefined;
|
|
1044
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1043
1045
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1044
1046
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1047
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1045
1048
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1049
|
+
onEdited?: (() => any) | undefined;
|
|
1046
1050
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1047
1051
|
"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
1052
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
1051
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1052
|
-
onEdited?: (() => any) | undefined;
|
|
1053
1053
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
1054
1054
|
}, {
|
|
1055
1055
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -1249,7 +1249,7 @@ export declare const PlusTable: {
|
|
|
1249
1249
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
1250
1250
|
setScrollLeft: (left?: number | undefined) => void;
|
|
1251
1251
|
setScrollTop: (top?: number | undefined) => void;
|
|
1252
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
1252
|
+
}, 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
1253
|
data: {
|
|
1254
1254
|
type: PropType<any[]>;
|
|
1255
1255
|
default: () => never[];
|
|
@@ -1612,11 +1612,11 @@ export declare const PlusTable: {
|
|
|
1612
1612
|
columnIndex: number;
|
|
1613
1613
|
}) => CSSProperties>;
|
|
1614
1614
|
rowKey: string | ((row: any[]) => string);
|
|
1615
|
+
tableData: RecordType[];
|
|
1616
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
1617
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
1615
1618
|
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>>;
|
|
1619
|
+
hasIndexColumn: boolean;
|
|
1620
1620
|
titleBar: boolean | Partial<Partial<{
|
|
1621
1621
|
title?: string | undefined;
|
|
1622
1622
|
refresh?: boolean | undefined;
|
|
@@ -1627,20 +1627,20 @@ export declare const PlusTable: {
|
|
|
1627
1627
|
color?: string | undefined;
|
|
1628
1628
|
} | undefined;
|
|
1629
1629
|
}>>;
|
|
1630
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
1631
|
-
tableData: RecordType[];
|
|
1632
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
1633
|
-
hasIndexColumn: boolean;
|
|
1634
1630
|
isSelection: boolean | "radio";
|
|
1635
1631
|
isRadio: boolean;
|
|
1636
1632
|
hasExpand: boolean;
|
|
1637
1633
|
loadingStatus: boolean;
|
|
1638
1634
|
dragSortable: false | Partial< Options>;
|
|
1635
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1636
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1639
1637
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1640
1638
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1641
1639
|
radioProps: Partial< PlusRadioProps>;
|
|
1642
1640
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
1643
1641
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
1642
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
1643
|
+
editable: boolean | "click" | "dblclick";
|
|
1644
1644
|
adaptive: boolean | {
|
|
1645
1645
|
offsetBottom?: number | undefined;
|
|
1646
1646
|
timeout?: number | undefined;
|
|
@@ -1676,26 +1676,26 @@ export declare const PlusTable: {
|
|
|
1676
1676
|
type: PropType<string | ((row: any[]) => string)>;
|
|
1677
1677
|
default: string;
|
|
1678
1678
|
};
|
|
1679
|
+
tableData: {
|
|
1680
|
+
type: PropType< RecordType[]>;
|
|
1681
|
+
default: () => never[];
|
|
1682
|
+
};
|
|
1683
|
+
defaultSize: {
|
|
1684
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
1685
|
+
default: string;
|
|
1686
|
+
};
|
|
1687
|
+
pagination: {
|
|
1688
|
+
type: PropType<false | Partial< PlusPaginationProps>>;
|
|
1689
|
+
default: boolean;
|
|
1690
|
+
};
|
|
1679
1691
|
actionBar: {
|
|
1680
1692
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
1681
1693
|
default: boolean;
|
|
1682
1694
|
};
|
|
1683
|
-
|
|
1684
|
-
type: PropType<boolean
|
|
1695
|
+
hasIndexColumn: {
|
|
1696
|
+
type: PropType<boolean>;
|
|
1685
1697
|
default: boolean;
|
|
1686
1698
|
};
|
|
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
1699
|
titleBar: {
|
|
1700
1700
|
type: PropType<boolean | Partial<Partial<{
|
|
1701
1701
|
title?: string | undefined;
|
|
@@ -1709,22 +1709,6 @@ export declare const PlusTable: {
|
|
|
1709
1709
|
}>>>;
|
|
1710
1710
|
default: boolean;
|
|
1711
1711
|
};
|
|
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
1712
|
isSelection: {
|
|
1729
1713
|
type: PropType<boolean | "radio">;
|
|
1730
1714
|
default: boolean;
|
|
@@ -1745,6 +1729,14 @@ export declare const PlusTable: {
|
|
|
1745
1729
|
type: PropType<false | Partial< Options>>;
|
|
1746
1730
|
default: boolean;
|
|
1747
1731
|
};
|
|
1732
|
+
dragSortableTableColumnProps: {
|
|
1733
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1734
|
+
default: () => {};
|
|
1735
|
+
};
|
|
1736
|
+
indexTableColumnProps: {
|
|
1737
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1738
|
+
default: () => {};
|
|
1739
|
+
};
|
|
1748
1740
|
selectionTableColumnProps: {
|
|
1749
1741
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1750
1742
|
default: () => {
|
|
@@ -1769,6 +1761,14 @@ export declare const PlusTable: {
|
|
|
1769
1761
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
1770
1762
|
default: () => {};
|
|
1771
1763
|
};
|
|
1764
|
+
indexContentStyle: {
|
|
1765
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
1766
|
+
default: () => {};
|
|
1767
|
+
};
|
|
1768
|
+
editable: {
|
|
1769
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
1770
|
+
default: boolean;
|
|
1771
|
+
};
|
|
1772
1772
|
adaptive: {
|
|
1773
1773
|
type: PropType<boolean | {
|
|
1774
1774
|
offsetBottom?: number | undefined;
|
|
@@ -1780,16 +1780,16 @@ export declare const PlusTable: {
|
|
|
1780
1780
|
type: PropType<number>;
|
|
1781
1781
|
};
|
|
1782
1782
|
}>> & {
|
|
1783
|
+
onRefresh?: (() => any) | undefined;
|
|
1784
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1783
1785
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1784
1786
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
1787
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
1785
1788
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
1789
|
+
onEdited?: (() => any) | undefined;
|
|
1786
1790
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
1787
1791
|
"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
1792
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
1791
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
1792
|
-
onEdited?: (() => any) | undefined;
|
|
1793
1793
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
1794
1794
|
}, {
|
|
1795
1795
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -1989,7 +1989,7 @@ export declare const PlusTable: {
|
|
|
1989
1989
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
1990
1990
|
setScrollLeft: (left?: number | undefined) => void;
|
|
1991
1991
|
setScrollTop: (top?: number | undefined) => void;
|
|
1992
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
1992
|
+
}, 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
1993
|
data: {
|
|
1994
1994
|
type: PropType<any[]>;
|
|
1995
1995
|
default: () => never[];
|
|
@@ -2364,11 +2364,11 @@ export declare const PlusTable: {
|
|
|
2364
2364
|
columnIndex: number;
|
|
2365
2365
|
}) => CSSProperties>;
|
|
2366
2366
|
rowKey: string | ((row: any[]) => string);
|
|
2367
|
+
tableData: RecordType[];
|
|
2368
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
2369
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
2367
2370
|
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>>;
|
|
2371
|
+
hasIndexColumn: boolean;
|
|
2372
2372
|
titleBar: boolean | Partial<Partial<{
|
|
2373
2373
|
title?: string | undefined;
|
|
2374
2374
|
refresh?: boolean | undefined;
|
|
@@ -2379,20 +2379,20 @@ export declare const PlusTable: {
|
|
|
2379
2379
|
color?: string | undefined;
|
|
2380
2380
|
} | undefined;
|
|
2381
2381
|
}>>;
|
|
2382
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
2383
|
-
tableData: RecordType[];
|
|
2384
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
2385
|
-
hasIndexColumn: boolean;
|
|
2386
2382
|
isSelection: boolean | "radio";
|
|
2387
2383
|
isRadio: boolean;
|
|
2388
2384
|
hasExpand: boolean;
|
|
2389
2385
|
loadingStatus: boolean;
|
|
2390
2386
|
dragSortable: false | Partial< Options>;
|
|
2387
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2388
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2391
2389
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2392
2390
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2393
2391
|
radioProps: Partial< PlusRadioProps>;
|
|
2394
2392
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
2395
2393
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2394
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2395
|
+
editable: boolean | "click" | "dblclick";
|
|
2396
2396
|
adaptive: boolean | {
|
|
2397
2397
|
offsetBottom?: number | undefined;
|
|
2398
2398
|
timeout?: number | undefined;
|