bkui-vue 0.0.2-beta.3 → 0.0.2-beta.31
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/dist/index.cjs.js +63 -63
- package/dist/index.cjs.source.js +45938 -0
- package/dist/index.esm.js +16922 -16471
- package/dist/index.esm.source.js +45938 -0
- package/dist/index.umd.js +61 -61
- package/dist/index.umd.source.js +45941 -0
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.d.ts +1 -1
- package/lib/affix/index.d.ts +4 -4
- package/lib/affix/index.js +1 -1
- package/lib/alert/alert.css +1 -0
- package/lib/alert/alert.less +119 -119
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.d.ts +1 -1
- package/lib/animate-number/index.d.ts +1 -1
- package/lib/backtop/index.d.ts +1 -1
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +3 -2
- package/lib/badge/index.d.ts +10 -7
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +5 -5
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/index.d.ts +3 -3
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +4 -4
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.d.ts +2 -12
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/index.d.ts +8 -19
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +3 -1
- package/lib/checkbox/checkbox.d.ts +8 -8
- package/lib/checkbox/index.d.ts +16 -14
- package/lib/checkbox/index.js +1 -1
- package/lib/code-diff/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse-transition/collapse-transition.d.ts +1 -0
- package/lib/collapse-transition/index.js +1 -1
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +4 -4
- package/lib/color-picker/index.js +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/index.d.ts +1 -1
- package/lib/container/index.js +1 -1
- package/lib/date-picker/base/confirm.d.ts +1 -0
- package/lib/date-picker/base/date-table.d.ts +1 -0
- package/lib/date-picker/base/month-table.d.ts +1 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -0
- package/lib/date-picker/base/time-spinner.d.ts +2 -1
- package/lib/date-picker/base/year-table.d.ts +1 -0
- package/lib/date-picker/date-picker.d.ts +3 -2
- package/lib/date-picker/index.d.ts +10 -7
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/panel/date-range.d.ts +1 -0
- package/lib/date-picker/panel/date.d.ts +1 -0
- package/lib/date-picker/panel/time-range.d.ts +3 -2
- package/lib/date-picker/panel/time.d.ts +3 -2
- package/lib/date-picker/time-picker.d.ts +3 -2
- package/lib/dialog/dialog.d.ts +4 -3
- package/lib/dialog/index.d.ts +11 -8
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +3 -2
- package/lib/divider/divider.less +3 -4
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +6 -6
- package/lib/exception/index.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/icon/assistant.d.ts +4 -0
- package/lib/icon/assistant.js +1 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +1 -1
- package/lib/image/image-viewer.less +5 -3
- package/lib/image/image-viewer.variable.css +122 -0
- package/lib/image/image.css +142 -0
- package/lib/image/image.d.ts +0 -1
- package/lib/image/image.less +4 -1
- package/lib/image/image.variable.css +264 -0
- package/lib/image/index.d.ts +1 -1
- package/lib/image/index.js +1 -1
- package/lib/info-box/index.js +1 -1
- package/lib/input/index.d.ts +93 -57
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +12 -0
- package/lib/input/input.d.ts +48 -15
- package/lib/input/input.less +26 -5
- package/lib/input/input.variable.css +12 -0
- package/lib/link/index.d.ts +7 -4
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +2 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/loading/index.js +1 -1
- package/lib/menu/index.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +18 -8
- package/lib/message/message.less +68 -56
- package/lib/message/message.variable.css +18 -8
- package/lib/message/messageConstructor.d.ts +33 -8
- package/lib/modal/index.d.ts +9 -9
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +3 -3
- package/lib/modal/props.mixin.d.ts +1 -1
- package/lib/navigation/index.d.ts +4 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.d.ts +1 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +1 -1
- package/lib/pagination/index.d.ts +8 -8
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +4 -4
- package/lib/plugin-popover/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +1 -1
- package/lib/pop-confirm/index.js +1 -1
- package/lib/pop-confirm/pop-confirm.less +9 -8
- package/lib/popover/const.d.ts +22 -9
- package/lib/popover/content.d.ts +25 -0
- package/lib/popover/index.d.ts +131 -61
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +52 -24
- package/lib/popover/props.d.ts +23 -5
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +1 -1
- package/lib/popover2/index.d.ts +1 -1
- package/lib/process/index.d.ts +1 -1
- package/lib/progress/index.d.ts +8 -8
- package/lib/progress/progress.d.ts +4 -4
- package/lib/radio/index.d.ts +4 -4
- package/lib/radio/radio-button.d.ts +3 -3
- package/lib/radio/radio-group.d.ts +1 -1
- package/lib/radio/radio.less +1 -1
- package/lib/rate/index.d.ts +12 -8
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +4 -3
- package/lib/rate/rate.less +5 -3
- package/lib/rate/rate.variable.css +122 -0
- package/lib/rate/star.less +6 -4
- package/lib/rate/star.variable.css +122 -0
- package/lib/resize-layout/index.d.ts +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.css +12 -0
- package/lib/resize-layout/resize-layout.less +12 -0
- package/lib/resize-layout/resize-layout.variable.css +12 -0
- package/lib/search-select/index.d.ts +4 -1
- package/lib/search-select/index.js +1 -1
- package/lib/search-select/search-select.d.ts +1 -0
- package/lib/search-select/utils.d.ts +1 -0
- package/lib/select/index.d.ts +126 -61
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +1 -0
- package/lib/select/optionGroup.d.ts +1 -0
- package/lib/select/select.d.ts +57 -31
- package/lib/select/selectTagInput.d.ts +4 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +3 -4
- package/lib/shared/pop-manager.d.ts +6 -2
- package/lib/shared/vue-types.d.ts +2 -2
- package/lib/sideslider/index.d.ts +8 -8
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +3 -3
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +1 -1
- package/lib/slider/slider.less +6 -6
- package/lib/steps/index.d.ts +8 -8
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.d.ts +4 -4
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/mixins/popper.less +6 -5
- package/lib/styles/reset.less +4 -2
- package/lib/styles/reset.variable.css +122 -0
- package/lib/swiper/index.d.ts +1 -1
- package/lib/switcher/index.d.ts +5 -5
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +5 -2
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab-nav.d.ts +1 -0
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/tab/tab.d.ts +1 -0
- package/lib/table/components/table-cell.d.ts +43 -11
- package/lib/table/components/table-column.d.ts +184 -208
- package/lib/table/const.d.ts +16 -54
- package/lib/table/events.d.ts +180 -0
- package/lib/table/index.d.ts +740 -421
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.d.ts +6 -5
- package/lib/table/plugins/head-filter.less +5 -7
- package/lib/table/plugins/head-sort.d.ts +6 -5
- package/lib/table/plugins/settings.d.ts +13 -21
- package/lib/table/plugins/settings.less +3 -3
- package/lib/table/plugins/use-fixed-column.d.ts +3 -2
- package/lib/table/props.d.ts +205 -170
- package/lib/table/render.d.ts +6 -4
- package/lib/table/table.css +28 -4
- package/lib/table/table.d.ts +206 -91
- package/lib/table/table.less +39 -5
- package/lib/table/table.variable.css +28 -4
- package/lib/table/use-column.d.ts +63 -1
- package/lib/table/use-common.d.ts +15 -9
- package/lib/table/utils.d.ts +1 -0
- package/lib/table-column/index.d.ts +255 -503
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag-input/index.d.ts +49 -28
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.css +1 -1
- package/lib/tag-input/tag-input.d.ts +30 -16
- package/lib/tag-input/tag-input.less +4 -4
- package/lib/tag-input/tag-input.variable.css +1 -1
- package/lib/tag-input/tag-props.d.ts +14 -7
- package/lib/time-picker/index.d.ts +10 -7
- package/lib/time-picker/time-picker.less +39 -39
- package/lib/timeline/index.d.ts +1 -1
- package/lib/transfer/index.d.ts +1 -1
- package/lib/tree/index.d.ts +4 -4
- package/lib/tree/index.js +1 -1
- package/lib/tree/tree.d.ts +11 -1
- package/lib/tree/use-node-attribute.d.ts +1 -1
- package/lib/upload/index.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +19 -1
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +8 -0
- package/lib/virtual-render/virtual-render.d.ts +11 -0
- package/lib/virtual-render/virtual-render.less +5 -6
- package/package.json +2 -2
@@ -3,34 +3,24 @@ declare const BkTableColumn: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: {
|
6
|
-
sort?:
|
7
|
-
|
8
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
9
|
-
value: string;
|
10
|
-
};
|
11
|
-
filter?: string | boolean | {
|
12
|
-
list: any[] | (object & (() => any[]));
|
13
|
-
filterFn: any;
|
14
|
-
match: "full" | "fuzzy";
|
15
|
-
checked: any[] | (object & (() => any[]));
|
16
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
17
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
18
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
19
|
-
};
|
6
|
+
sort?: import("../../table/src/props").ISortPropShape;
|
7
|
+
filter?: import("../../table/src/props").IFilterPropShape;
|
20
8
|
fixed?: boolean | "right" | "left";
|
21
9
|
minWidth?: string | number;
|
22
10
|
index?: number;
|
23
11
|
columnKey?: string;
|
24
|
-
showOverflowTooltip?:
|
12
|
+
showOverflowTooltip?: import("../../table/src/props").IOverflowTooltipProp;
|
25
13
|
resizable?: boolean;
|
14
|
+
colspan?: import("../../table/src/props").SpanFunctionString;
|
15
|
+
rowspan?: import("../../table/src/props").SpanFunctionString;
|
16
|
+
readonly render?: import("../../table/src/props").RenderFunctionString;
|
26
17
|
readonly type?: "none" | "selection" | "index" | "expand";
|
27
|
-
readonly render?: any;
|
28
18
|
class?: unknown;
|
29
|
-
readonly label?:
|
19
|
+
readonly label?: import("../../table/src/props").LabelFunctionString;
|
30
20
|
style?: unknown;
|
31
21
|
readonly width?: string | number;
|
32
|
-
key?: string | number | symbol;
|
33
22
|
ref?: import("vue").VNodeRef;
|
23
|
+
key?: string | number | symbol;
|
34
24
|
ref_for?: boolean;
|
35
25
|
ref_key?: string;
|
36
26
|
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -71,12 +61,10 @@ declare const BkTableColumn: {
|
|
71
61
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
72
62
|
[key: string]: any;
|
73
63
|
}>) => void)[];
|
74
|
-
readonly className?:
|
64
|
+
readonly className?: import("../../table/src/props").RowClassFunctionString;
|
75
65
|
readonly align?: "" | "right" | "left" | "center";
|
76
|
-
readonly field?:
|
77
|
-
readonly
|
78
|
-
readonly rowspan?: any;
|
79
|
-
readonly prop?: any;
|
66
|
+
readonly field?: import("../../table/src/props").LabelFunctionString;
|
67
|
+
readonly prop?: import("../../table/src/props").LabelFunctionString;
|
80
68
|
};
|
81
69
|
$attrs: {
|
82
70
|
[x: string]: unknown;
|
@@ -92,15 +80,9 @@ declare const BkTableColumn: {
|
|
92
80
|
$emit: (event: string, ...args: any[]) => void;
|
93
81
|
$el: any;
|
94
82
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
} & {
|
99
|
-
default: number;
|
100
|
-
};
|
101
|
-
label: import("vue-types").VueTypeDef<any>;
|
102
|
-
field: import("vue-types").VueTypeDef<any>;
|
103
|
-
render: import("vue-types").VueTypeDef<any>;
|
83
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
84
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
85
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
104
86
|
width: import("vue-types").VueTypeDef<string | number>;
|
105
87
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
106
88
|
default: string | number;
|
@@ -110,8 +92,15 @@ declare const BkTableColumn: {
|
|
110
92
|
} & {
|
111
93
|
default: string;
|
112
94
|
};
|
113
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
114
|
-
default: boolean | (() =>
|
95
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
96
|
+
default: boolean | (() => {
|
97
|
+
content: string | Function;
|
98
|
+
disabled?: boolean;
|
99
|
+
watchCellResize?: boolean;
|
100
|
+
mode?: "auto" | "static";
|
101
|
+
popoverOption?: any;
|
102
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
103
|
+
});
|
115
104
|
};
|
116
105
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
117
106
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -122,72 +111,76 @@ declare const BkTableColumn: {
|
|
122
111
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
123
112
|
default: boolean | "right" | "left";
|
124
113
|
};
|
125
|
-
sort: import("vue-types").VueTypeDef<
|
126
|
-
|
127
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
128
|
-
value: string;
|
129
|
-
}> & {
|
130
|
-
default: string | boolean | (() => {
|
131
|
-
sortFn: any;
|
132
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
133
|
-
value: string;
|
134
|
-
});
|
114
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
115
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
135
116
|
};
|
136
|
-
filter: import("vue-types").VueTypeDef<
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
});
|
117
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
118
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
119
|
+
};
|
120
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
121
|
+
default: (({ column, colIndex, row, rowIndex, }: {
|
122
|
+
column: any;
|
123
|
+
colIndex: any;
|
124
|
+
row: any;
|
125
|
+
rowIndex: any;
|
126
|
+
}) => number) | (() => Number);
|
127
|
+
};
|
128
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
129
|
+
default: (({ column, colIndex, row, rowIndex, }: {
|
130
|
+
column: any;
|
131
|
+
colIndex: any;
|
132
|
+
row: any;
|
133
|
+
rowIndex: any;
|
134
|
+
}) => number) | (() => Number);
|
154
135
|
};
|
155
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
156
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
157
136
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
158
|
-
className: import("vue-types").VueTypeDef<
|
137
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
138
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
139
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
140
|
+
default: number;
|
141
|
+
} & {
|
142
|
+
default: number;
|
143
|
+
};
|
159
144
|
}>>, {
|
160
|
-
initColumns: (_col: import("../../
|
145
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
161
146
|
bkTableCache: {
|
162
147
|
queueStack: (_: any, fn: any) => any;
|
163
148
|
};
|
164
149
|
column: {
|
165
|
-
field:
|
166
|
-
|
167
|
-
|
168
|
-
|
150
|
+
field: import("../../table/src/props").LabelFunctionString;
|
151
|
+
sort?: string | boolean | {
|
152
|
+
sortFn?: Function;
|
153
|
+
sortScope?: import("../../table/src/props").SortScope;
|
154
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
155
|
+
};
|
156
|
+
filter?: string | boolean | {
|
157
|
+
list: any[];
|
158
|
+
filterFn?: Function;
|
159
|
+
match?: import("../../table/src/props").FullEnum;
|
160
|
+
checked?: any[];
|
161
|
+
filterScope?: import("../../table/src/props").SortScope;
|
162
|
+
btnSave?: string | boolean;
|
163
|
+
btnReset?: string | boolean;
|
164
|
+
};
|
165
|
+
fixed?: boolean | "right" | "left";
|
169
166
|
minWidth?: string | number;
|
167
|
+
index?: number;
|
170
168
|
columnKey?: string;
|
171
169
|
showOverflowTooltip?: boolean | {
|
172
170
|
content: string | Function;
|
173
171
|
disabled?: boolean;
|
174
172
|
watchCellResize?: boolean;
|
175
173
|
mode?: "auto" | "static";
|
174
|
+
popoverOption?: any;
|
175
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
176
176
|
};
|
177
|
-
type?: string;
|
178
|
-
fixed?: string | boolean;
|
179
177
|
resizable?: boolean;
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
list?: any;
|
187
|
-
filterFn?: Function;
|
188
|
-
checked?: any;
|
189
|
-
};
|
190
|
-
colspan?: Function | {
|
178
|
+
colspan?: (({ column, colIndex, row, rowIndex, }: {
|
179
|
+
column: any;
|
180
|
+
colIndex: any;
|
181
|
+
row: any;
|
182
|
+
rowIndex: any;
|
183
|
+
}) => number) | {
|
191
184
|
toString: (radix?: number) => string;
|
192
185
|
toFixed: (fractionDigits?: number) => string;
|
193
186
|
toExponential: (fractionDigits?: number) => string;
|
@@ -198,7 +191,12 @@ declare const BkTableColumn: {
|
|
198
191
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
199
192
|
};
|
200
193
|
};
|
201
|
-
rowspan?:
|
194
|
+
rowspan?: (({ column, colIndex, row, rowIndex, }: {
|
195
|
+
column: any;
|
196
|
+
colIndex: any;
|
197
|
+
row: any;
|
198
|
+
rowIndex: any;
|
199
|
+
}) => number) | {
|
202
200
|
toString: (radix?: number) => string;
|
203
201
|
toFixed: (fractionDigits?: number) => string;
|
204
202
|
toExponential: (fractionDigits?: number) => string;
|
@@ -209,121 +207,29 @@ declare const BkTableColumn: {
|
|
209
207
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
210
208
|
};
|
211
209
|
};
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
220
|
-
localeCompare: {
|
221
|
-
(that: string): number;
|
222
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
223
|
-
};
|
224
|
-
match: {
|
225
|
-
(regexp: string | RegExp): RegExpMatchArray;
|
226
|
-
(matcher: {
|
227
|
-
[Symbol.match](string: string): RegExpMatchArray;
|
228
|
-
}): RegExpMatchArray;
|
229
|
-
};
|
230
|
-
replace: {
|
231
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
232
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
233
|
-
(searchValue: {
|
234
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
235
|
-
}, replaceValue: string): string;
|
236
|
-
(searchValue: {
|
237
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
238
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
239
|
-
};
|
240
|
-
search: {
|
241
|
-
(regexp: string | RegExp): number;
|
242
|
-
(searcher: {
|
243
|
-
[Symbol.search](string: string): number;
|
244
|
-
}): number;
|
245
|
-
};
|
246
|
-
slice: (start?: number, end?: number) => string;
|
247
|
-
split: {
|
248
|
-
(separator: string | RegExp, limit?: number): string[];
|
249
|
-
(splitter: {
|
250
|
-
[Symbol.split](string: string, limit?: number): string[];
|
251
|
-
}, limit?: number): string[];
|
252
|
-
};
|
253
|
-
substring: (start: number, end?: number) => string;
|
254
|
-
toLowerCase: () => string;
|
255
|
-
toLocaleLowerCase: (locales?: string | string[]) => string;
|
256
|
-
toUpperCase: () => string;
|
257
|
-
toLocaleUpperCase: (locales?: string | string[]) => string;
|
258
|
-
trim: () => string;
|
259
|
-
readonly length: number;
|
260
|
-
substr: (from: number, length?: number) => string;
|
261
|
-
valueOf: () => string;
|
262
|
-
codePointAt: (pos: number) => number;
|
263
|
-
includes: (searchString: string, position?: number) => boolean;
|
264
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
265
|
-
normalize: {
|
266
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
267
|
-
(form?: string): string;
|
268
|
-
};
|
269
|
-
repeat: (count: number) => string;
|
270
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
271
|
-
anchor: (name: string) => string;
|
272
|
-
big: () => string;
|
273
|
-
blink: () => string;
|
274
|
-
bold: () => string;
|
275
|
-
fixed: () => string;
|
276
|
-
fontcolor: (color: string) => string;
|
277
|
-
fontsize: {
|
278
|
-
(size: number): string;
|
279
|
-
(size: string): string;
|
280
|
-
};
|
281
|
-
italics: () => string;
|
282
|
-
link: (url: string) => string;
|
283
|
-
small: () => string;
|
284
|
-
strike: () => string;
|
285
|
-
sub: () => string;
|
286
|
-
sup: () => string;
|
287
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
288
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
289
|
-
trimEnd: () => string;
|
290
|
-
trimStart: () => string;
|
291
|
-
trimLeft: () => string;
|
292
|
-
trimRight: () => string;
|
293
|
-
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
|
294
|
-
[Symbol.iterator]: () => IterableIterator<string>;
|
295
|
-
at: (index: number) => string;
|
296
|
-
};
|
297
|
-
className?: string | Function;
|
298
|
-
align?: string;
|
299
|
-
prop?: string | Function;
|
300
|
-
index?: number;
|
210
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
211
|
+
type?: "none" | "selection" | "index" | "expand";
|
212
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
213
|
+
width?: string | number;
|
214
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
215
|
+
align?: "" | "right" | "left" | "center";
|
216
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
301
217
|
};
|
302
218
|
}, unknown, {}, {
|
303
219
|
updateColumnDefine(unmounted?: boolean): void;
|
304
220
|
updateColumnDefineByParent(): void;
|
305
221
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
306
222
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
307
|
-
sort:
|
308
|
-
|
309
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
310
|
-
value: string;
|
311
|
-
};
|
312
|
-
filter: string | boolean | {
|
313
|
-
list: any[] | (object & (() => any[]));
|
314
|
-
filterFn: any;
|
315
|
-
match: "full" | "fuzzy";
|
316
|
-
checked: any[] | (object & (() => any[]));
|
317
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
318
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
319
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
320
|
-
};
|
223
|
+
sort: import("../../table/src/props").ISortPropShape;
|
224
|
+
filter: import("../../table/src/props").IFilterPropShape;
|
321
225
|
fixed: boolean | "right" | "left";
|
322
226
|
minWidth: string | number;
|
323
227
|
index: number;
|
324
228
|
columnKey: string;
|
325
|
-
showOverflowTooltip:
|
229
|
+
showOverflowTooltip: import("../../table/src/props").IOverflowTooltipProp;
|
326
230
|
resizable: boolean;
|
231
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
232
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
327
233
|
}, {}, string, {}> & {
|
328
234
|
beforeCreate?: (() => void) | (() => void)[];
|
329
235
|
created?: (() => void) | (() => void)[];
|
@@ -345,15 +251,9 @@ declare const BkTableColumn: {
|
|
345
251
|
$nextTick: typeof import("vue").nextTick;
|
346
252
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
347
253
|
} & Readonly<import("vue").ExtractPropTypes<{
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
} & {
|
352
|
-
default: number;
|
353
|
-
};
|
354
|
-
label: import("vue-types").VueTypeDef<any>;
|
355
|
-
field: import("vue-types").VueTypeDef<any>;
|
356
|
-
render: import("vue-types").VueTypeDef<any>;
|
254
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
255
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
256
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
357
257
|
width: import("vue-types").VueTypeDef<string | number>;
|
358
258
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
359
259
|
default: string | number;
|
@@ -363,8 +263,15 @@ declare const BkTableColumn: {
|
|
363
263
|
} & {
|
364
264
|
default: string;
|
365
265
|
};
|
366
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
367
|
-
default: boolean | (() =>
|
266
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
267
|
+
default: boolean | (() => {
|
268
|
+
content: string | Function;
|
269
|
+
disabled?: boolean;
|
270
|
+
watchCellResize?: boolean;
|
271
|
+
mode?: "auto" | "static";
|
272
|
+
popoverOption?: any;
|
273
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
274
|
+
});
|
368
275
|
};
|
369
276
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
370
277
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -375,72 +282,76 @@ declare const BkTableColumn: {
|
|
375
282
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
376
283
|
default: boolean | "right" | "left";
|
377
284
|
};
|
378
|
-
sort: import("vue-types").VueTypeDef<
|
379
|
-
|
380
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
381
|
-
value: string;
|
382
|
-
}> & {
|
383
|
-
default: string | boolean | (() => {
|
384
|
-
sortFn: any;
|
385
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
386
|
-
value: string;
|
387
|
-
});
|
285
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
286
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
388
287
|
};
|
389
|
-
filter: import("vue-types").VueTypeDef<
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
});
|
288
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
289
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
290
|
+
};
|
291
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
292
|
+
default: (({ column, colIndex, row, rowIndex, }: {
|
293
|
+
column: any;
|
294
|
+
colIndex: any;
|
295
|
+
row: any;
|
296
|
+
rowIndex: any;
|
297
|
+
}) => number) | (() => Number);
|
298
|
+
};
|
299
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
300
|
+
default: (({ column, colIndex, row, rowIndex, }: {
|
301
|
+
column: any;
|
302
|
+
colIndex: any;
|
303
|
+
row: any;
|
304
|
+
rowIndex: any;
|
305
|
+
}) => number) | (() => Number);
|
407
306
|
};
|
408
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
409
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
410
307
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
411
|
-
className: import("vue-types").VueTypeDef<
|
308
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
309
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
310
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
311
|
+
default: number;
|
312
|
+
} & {
|
313
|
+
default: number;
|
314
|
+
};
|
412
315
|
}>> & import("vue").ShallowUnwrapRef<{
|
413
|
-
initColumns: (_col: import("../../
|
316
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
414
317
|
bkTableCache: {
|
415
318
|
queueStack: (_: any, fn: any) => any;
|
416
319
|
};
|
417
320
|
column: {
|
418
|
-
field:
|
419
|
-
|
420
|
-
|
421
|
-
|
321
|
+
field: import("../../table/src/props").LabelFunctionString;
|
322
|
+
sort?: string | boolean | {
|
323
|
+
sortFn?: Function;
|
324
|
+
sortScope?: import("../../table/src/props").SortScope;
|
325
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
326
|
+
};
|
327
|
+
filter?: string | boolean | {
|
328
|
+
list: any[];
|
329
|
+
filterFn?: Function;
|
330
|
+
match?: import("../../table/src/props").FullEnum;
|
331
|
+
checked?: any[];
|
332
|
+
filterScope?: import("../../table/src/props").SortScope;
|
333
|
+
btnSave?: string | boolean;
|
334
|
+
btnReset?: string | boolean;
|
335
|
+
};
|
336
|
+
fixed?: boolean | "right" | "left";
|
422
337
|
minWidth?: string | number;
|
338
|
+
index?: number;
|
423
339
|
columnKey?: string;
|
424
340
|
showOverflowTooltip?: boolean | {
|
425
341
|
content: string | Function;
|
426
342
|
disabled?: boolean;
|
427
343
|
watchCellResize?: boolean;
|
428
344
|
mode?: "auto" | "static";
|
345
|
+
popoverOption?: any;
|
346
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
429
347
|
};
|
430
|
-
type?: string;
|
431
|
-
fixed?: string | boolean;
|
432
348
|
resizable?: boolean;
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
list?: any;
|
440
|
-
filterFn?: Function;
|
441
|
-
checked?: any;
|
442
|
-
};
|
443
|
-
colspan?: Function | {
|
349
|
+
colspan?: (({ column, colIndex, row, rowIndex, }: {
|
350
|
+
column: any;
|
351
|
+
colIndex: any;
|
352
|
+
row: any;
|
353
|
+
rowIndex: any;
|
354
|
+
}) => number) | {
|
444
355
|
toString: (radix?: number) => string;
|
445
356
|
toFixed: (fractionDigits?: number) => string;
|
446
357
|
toExponential: (fractionDigits?: number) => string;
|
@@ -451,7 +362,12 @@ declare const BkTableColumn: {
|
|
451
362
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
452
363
|
};
|
453
364
|
};
|
454
|
-
rowspan?:
|
365
|
+
rowspan?: (({ column, colIndex, row, rowIndex, }: {
|
366
|
+
column: any;
|
367
|
+
colIndex: any;
|
368
|
+
row: any;
|
369
|
+
rowIndex: any;
|
370
|
+
}) => number) | {
|
455
371
|
toString: (radix?: number) => string;
|
456
372
|
toFixed: (fractionDigits?: number) => string;
|
457
373
|
toExponential: (fractionDigits?: number) => string;
|
@@ -462,95 +378,13 @@ declare const BkTableColumn: {
|
|
462
378
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
463
379
|
};
|
464
380
|
};
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
473
|
-
localeCompare: {
|
474
|
-
(that: string): number;
|
475
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
476
|
-
};
|
477
|
-
match: {
|
478
|
-
(regexp: string | RegExp): RegExpMatchArray;
|
479
|
-
(matcher: {
|
480
|
-
[Symbol.match](string: string): RegExpMatchArray;
|
481
|
-
}): RegExpMatchArray;
|
482
|
-
};
|
483
|
-
replace: {
|
484
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
485
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
486
|
-
(searchValue: {
|
487
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
488
|
-
}, replaceValue: string): string;
|
489
|
-
(searchValue: {
|
490
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
491
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
492
|
-
};
|
493
|
-
search: {
|
494
|
-
(regexp: string | RegExp): number;
|
495
|
-
(searcher: {
|
496
|
-
[Symbol.search](string: string): number;
|
497
|
-
}): number;
|
498
|
-
};
|
499
|
-
slice: (start?: number, end?: number) => string;
|
500
|
-
split: {
|
501
|
-
(separator: string | RegExp, limit?: number): string[];
|
502
|
-
(splitter: {
|
503
|
-
[Symbol.split](string: string, limit?: number): string[];
|
504
|
-
}, limit?: number): string[];
|
505
|
-
};
|
506
|
-
substring: (start: number, end?: number) => string;
|
507
|
-
toLowerCase: () => string;
|
508
|
-
toLocaleLowerCase: (locales?: string | string[]) => string;
|
509
|
-
toUpperCase: () => string;
|
510
|
-
toLocaleUpperCase: (locales?: string | string[]) => string;
|
511
|
-
trim: () => string;
|
512
|
-
readonly length: number;
|
513
|
-
substr: (from: number, length?: number) => string;
|
514
|
-
valueOf: () => string;
|
515
|
-
codePointAt: (pos: number) => number;
|
516
|
-
includes: (searchString: string, position?: number) => boolean;
|
517
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
518
|
-
normalize: {
|
519
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
520
|
-
(form?: string): string;
|
521
|
-
};
|
522
|
-
repeat: (count: number) => string;
|
523
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
524
|
-
anchor: (name: string) => string;
|
525
|
-
big: () => string;
|
526
|
-
blink: () => string;
|
527
|
-
bold: () => string;
|
528
|
-
fixed: () => string;
|
529
|
-
fontcolor: (color: string) => string;
|
530
|
-
fontsize: {
|
531
|
-
(size: number): string;
|
532
|
-
(size: string): string;
|
533
|
-
};
|
534
|
-
italics: () => string;
|
535
|
-
link: (url: string) => string;
|
536
|
-
small: () => string;
|
537
|
-
strike: () => string;
|
538
|
-
sub: () => string;
|
539
|
-
sup: () => string;
|
540
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
541
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
542
|
-
trimEnd: () => string;
|
543
|
-
trimStart: () => string;
|
544
|
-
trimLeft: () => string;
|
545
|
-
trimRight: () => string;
|
546
|
-
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
|
547
|
-
[Symbol.iterator]: () => IterableIterator<string>;
|
548
|
-
at: (index: number) => string;
|
549
|
-
};
|
550
|
-
className?: string | Function;
|
551
|
-
align?: string;
|
552
|
-
prop?: string | Function;
|
553
|
-
index?: number;
|
381
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
382
|
+
type?: "none" | "selection" | "index" | "expand";
|
383
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
384
|
+
width?: string | number;
|
385
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
386
|
+
align?: "" | "right" | "left" | "center";
|
387
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
554
388
|
};
|
555
389
|
}> & {} & {
|
556
390
|
updateColumnDefine(unmounted?: boolean): void;
|
@@ -561,15 +395,9 @@ declare const BkTableColumn: {
|
|
561
395
|
__isTeleport?: never;
|
562
396
|
__isSuspense?: never;
|
563
397
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
} & {
|
568
|
-
default: number;
|
569
|
-
};
|
570
|
-
label: import("vue-types").VueTypeDef<any>;
|
571
|
-
field: import("vue-types").VueTypeDef<any>;
|
572
|
-
render: import("vue-types").VueTypeDef<any>;
|
398
|
+
label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
399
|
+
field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
400
|
+
render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
|
573
401
|
width: import("vue-types").VueTypeDef<string | number>;
|
574
402
|
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
575
403
|
default: string | number;
|
@@ -579,8 +407,15 @@ declare const BkTableColumn: {
|
|
579
407
|
} & {
|
580
408
|
default: string;
|
581
409
|
};
|
582
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
583
|
-
default: boolean | (() =>
|
410
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp> & {
|
411
|
+
default: boolean | (() => {
|
412
|
+
content: string | Function;
|
413
|
+
disabled?: boolean;
|
414
|
+
watchCellResize?: boolean;
|
415
|
+
mode?: "auto" | "static";
|
416
|
+
popoverOption?: any;
|
417
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
418
|
+
});
|
584
419
|
};
|
585
420
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
586
421
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -591,72 +426,76 @@ declare const BkTableColumn: {
|
|
591
426
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
592
427
|
default: boolean | "right" | "left";
|
593
428
|
};
|
594
|
-
sort: import("vue-types").VueTypeDef<
|
595
|
-
|
596
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
597
|
-
value: string;
|
598
|
-
}> & {
|
599
|
-
default: string | boolean | (() => {
|
600
|
-
sortFn: any;
|
601
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
602
|
-
value: string;
|
603
|
-
});
|
429
|
+
sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape> & {
|
430
|
+
default: string | boolean | (() => import("../../table/src/props").ISortShape);
|
604
431
|
};
|
605
|
-
filter: import("vue-types").VueTypeDef<
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
});
|
432
|
+
filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape> & {
|
433
|
+
default: string | boolean | (() => import("../../table/src/props").IFilterShape);
|
434
|
+
};
|
435
|
+
colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
436
|
+
default: (({ column, colIndex, row, rowIndex, }: {
|
437
|
+
column: any;
|
438
|
+
colIndex: any;
|
439
|
+
row: any;
|
440
|
+
rowIndex: any;
|
441
|
+
}) => number) | (() => Number);
|
442
|
+
};
|
443
|
+
rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
|
444
|
+
default: (({ column, colIndex, row, rowIndex, }: {
|
445
|
+
column: any;
|
446
|
+
colIndex: any;
|
447
|
+
row: any;
|
448
|
+
rowIndex: any;
|
449
|
+
}) => number) | (() => Number);
|
623
450
|
};
|
624
|
-
colspan: import("vue-types").VueTypeDef<any>;
|
625
|
-
rowspan: import("vue-types").VueTypeDef<any>;
|
626
451
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
627
|
-
className: import("vue-types").VueTypeDef<
|
452
|
+
className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
|
453
|
+
prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
|
454
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
455
|
+
default: number;
|
456
|
+
} & {
|
457
|
+
default: number;
|
458
|
+
};
|
628
459
|
}>>, {
|
629
|
-
initColumns: (_col: import("../../
|
460
|
+
initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
|
630
461
|
bkTableCache: {
|
631
462
|
queueStack: (_: any, fn: any) => any;
|
632
463
|
};
|
633
464
|
column: {
|
634
|
-
field:
|
635
|
-
|
636
|
-
|
637
|
-
|
465
|
+
field: import("../../table/src/props").LabelFunctionString;
|
466
|
+
sort?: string | boolean | {
|
467
|
+
sortFn?: Function;
|
468
|
+
sortScope?: import("../../table/src/props").SortScope;
|
469
|
+
value?: import("../../table/src/const").SORT_OPTION;
|
470
|
+
};
|
471
|
+
filter?: string | boolean | {
|
472
|
+
list: any[];
|
473
|
+
filterFn?: Function;
|
474
|
+
match?: import("../../table/src/props").FullEnum;
|
475
|
+
checked?: any[];
|
476
|
+
filterScope?: import("../../table/src/props").SortScope;
|
477
|
+
btnSave?: string | boolean;
|
478
|
+
btnReset?: string | boolean;
|
479
|
+
};
|
480
|
+
fixed?: boolean | "right" | "left";
|
638
481
|
minWidth?: string | number;
|
482
|
+
index?: number;
|
639
483
|
columnKey?: string;
|
640
484
|
showOverflowTooltip?: boolean | {
|
641
485
|
content: string | Function;
|
642
486
|
disabled?: boolean;
|
643
487
|
watchCellResize?: boolean;
|
644
488
|
mode?: "auto" | "static";
|
489
|
+
popoverOption?: any;
|
490
|
+
resizerWay?: import("../../table/src/props").ResizerWay;
|
645
491
|
};
|
646
|
-
type?: string;
|
647
|
-
fixed?: string | boolean;
|
648
492
|
resizable?: boolean;
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
list?: any;
|
656
|
-
filterFn?: Function;
|
657
|
-
checked?: any;
|
658
|
-
};
|
659
|
-
colspan?: Function | {
|
493
|
+
colspan?: (({ column, colIndex, row, rowIndex, }: {
|
494
|
+
column: any;
|
495
|
+
colIndex: any;
|
496
|
+
row: any;
|
497
|
+
rowIndex: any;
|
498
|
+
}) => number) | {
|
660
499
|
toString: (radix?: number) => string;
|
661
500
|
toFixed: (fractionDigits?: number) => string;
|
662
501
|
toExponential: (fractionDigits?: number) => string;
|
@@ -667,7 +506,12 @@ declare const BkTableColumn: {
|
|
667
506
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
668
507
|
};
|
669
508
|
};
|
670
|
-
rowspan?:
|
509
|
+
rowspan?: (({ column, colIndex, row, rowIndex, }: {
|
510
|
+
column: any;
|
511
|
+
colIndex: any;
|
512
|
+
row: any;
|
513
|
+
rowIndex: any;
|
514
|
+
}) => number) | {
|
671
515
|
toString: (radix?: number) => string;
|
672
516
|
toFixed: (fractionDigits?: number) => string;
|
673
517
|
toExponential: (fractionDigits?: number) => string;
|
@@ -678,120 +522,28 @@ declare const BkTableColumn: {
|
|
678
522
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
679
523
|
};
|
680
524
|
};
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
lastIndexOf: (searchString: string, position?: number) => number;
|
689
|
-
localeCompare: {
|
690
|
-
(that: string): number;
|
691
|
-
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
692
|
-
};
|
693
|
-
match: {
|
694
|
-
(regexp: string | RegExp): RegExpMatchArray;
|
695
|
-
(matcher: {
|
696
|
-
[Symbol.match](string: string): RegExpMatchArray;
|
697
|
-
}): RegExpMatchArray;
|
698
|
-
};
|
699
|
-
replace: {
|
700
|
-
(searchValue: string | RegExp, replaceValue: string): string;
|
701
|
-
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
702
|
-
(searchValue: {
|
703
|
-
[Symbol.replace](string: string, replaceValue: string): string;
|
704
|
-
}, replaceValue: string): string;
|
705
|
-
(searchValue: {
|
706
|
-
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
707
|
-
}, replacer: (substring: string, ...args: any[]) => string): string;
|
708
|
-
};
|
709
|
-
search: {
|
710
|
-
(regexp: string | RegExp): number;
|
711
|
-
(searcher: {
|
712
|
-
[Symbol.search](string: string): number;
|
713
|
-
}): number;
|
714
|
-
};
|
715
|
-
slice: (start?: number, end?: number) => string;
|
716
|
-
split: {
|
717
|
-
(separator: string | RegExp, limit?: number): string[];
|
718
|
-
(splitter: {
|
719
|
-
[Symbol.split](string: string, limit?: number): string[];
|
720
|
-
}, limit?: number): string[];
|
721
|
-
};
|
722
|
-
substring: (start: number, end?: number) => string;
|
723
|
-
toLowerCase: () => string;
|
724
|
-
toLocaleLowerCase: (locales?: string | string[]) => string;
|
725
|
-
toUpperCase: () => string;
|
726
|
-
toLocaleUpperCase: (locales?: string | string[]) => string;
|
727
|
-
trim: () => string;
|
728
|
-
readonly length: number;
|
729
|
-
substr: (from: number, length?: number) => string;
|
730
|
-
valueOf: () => string;
|
731
|
-
codePointAt: (pos: number) => number;
|
732
|
-
includes: (searchString: string, position?: number) => boolean;
|
733
|
-
endsWith: (searchString: string, endPosition?: number) => boolean;
|
734
|
-
normalize: {
|
735
|
-
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
736
|
-
(form?: string): string;
|
737
|
-
};
|
738
|
-
repeat: (count: number) => string;
|
739
|
-
startsWith: (searchString: string, position?: number) => boolean;
|
740
|
-
anchor: (name: string) => string;
|
741
|
-
big: () => string;
|
742
|
-
blink: () => string;
|
743
|
-
bold: () => string;
|
744
|
-
fixed: () => string;
|
745
|
-
fontcolor: (color: string) => string;
|
746
|
-
fontsize: {
|
747
|
-
(size: number): string;
|
748
|
-
(size: string): string;
|
749
|
-
};
|
750
|
-
italics: () => string;
|
751
|
-
link: (url: string) => string;
|
752
|
-
small: () => string;
|
753
|
-
strike: () => string;
|
754
|
-
sub: () => string;
|
755
|
-
sup: () => string;
|
756
|
-
padStart: (maxLength: number, fillString?: string) => string;
|
757
|
-
padEnd: (maxLength: number, fillString?: string) => string;
|
758
|
-
trimEnd: () => string;
|
759
|
-
trimStart: () => string;
|
760
|
-
trimLeft: () => string;
|
761
|
-
trimRight: () => string;
|
762
|
-
matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
|
763
|
-
[Symbol.iterator]: () => IterableIterator<string>;
|
764
|
-
at: (index: number) => string;
|
765
|
-
};
|
766
|
-
className?: string | Function;
|
767
|
-
align?: string;
|
768
|
-
prop?: string | Function;
|
769
|
-
index?: number;
|
525
|
+
render?: import("../../table/src/props").RenderFunctionString;
|
526
|
+
type?: "none" | "selection" | "index" | "expand";
|
527
|
+
label?: import("../../table/src/props").LabelFunctionString;
|
528
|
+
width?: string | number;
|
529
|
+
className?: import("../../table/src/props").RowClassFunctionString;
|
530
|
+
align?: "" | "right" | "left" | "center";
|
531
|
+
prop?: import("../../table/src/props").LabelFunctionString;
|
770
532
|
};
|
771
533
|
}, unknown, {}, {
|
772
534
|
updateColumnDefine(unmounted?: boolean): void;
|
773
535
|
updateColumnDefineByParent(): void;
|
774
536
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
775
537
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
776
|
-
sort:
|
777
|
-
|
778
|
-
sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
779
|
-
value: string;
|
780
|
-
};
|
781
|
-
filter: string | boolean | {
|
782
|
-
list: any[] | (object & (() => any[]));
|
783
|
-
filterFn: any;
|
784
|
-
match: "full" | "fuzzy";
|
785
|
-
checked: any[] | (object & (() => any[]));
|
786
|
-
filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
|
787
|
-
btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
788
|
-
btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
|
789
|
-
};
|
538
|
+
sort: import("../../table/src/props").ISortPropShape;
|
539
|
+
filter: import("../../table/src/props").IFilterPropShape;
|
790
540
|
fixed: boolean | "right" | "left";
|
791
541
|
minWidth: string | number;
|
792
542
|
index: number;
|
793
543
|
columnKey: string;
|
794
|
-
showOverflowTooltip:
|
544
|
+
showOverflowTooltip: import("../../table/src/props").IOverflowTooltipProp;
|
795
545
|
resizable: boolean;
|
546
|
+
colspan: import("../../table/src/props").SpanFunctionString;
|
547
|
+
rowspan: import("../../table/src/props").SpanFunctionString;
|
796
548
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
797
549
|
export default BkTableColumn;
|