@gx-design-vue/pro-table 0.2.0-alpha.17 → 0.2.0-alpha.18
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/ProTable.js +5 -1
- package/dist/components/ScrollBar/Bar.d.ts +3 -5
- package/dist/components/ScrollBar/Thumb.d.ts +3 -5
- package/dist/components/SearchForm/CollapseToggle.d.ts +4 -6
- package/dist/components/SearchForm/FormItemContainer.d.ts +5 -7
- package/dist/components/SearchForm/FormItemWrapper.d.ts +5 -7
- package/dist/components/SearchForm/SearchForm.d.ts +7 -9
- package/dist/components/Toolbar/FullscreenIcon.d.ts +3 -5
- package/dist/components/Toolbar/ListToolBar.d.ts +9 -11
- package/dist/components/Toolbar/index.d.ts +8 -10
- package/dist/hooks/useColumnResize.d.ts +1 -2
- package/dist/hooks/useTableSize.js +1 -1
- package/dist/pro-table.esm.js +168 -157
- package/dist/pro-table.js +1 -1
- package/dist/style/index.d.ts +1 -3
- package/package.json +20 -11
package/dist/ProTable.js
CHANGED
|
@@ -417,7 +417,7 @@ const ForwardProTable = /* @__PURE__ */ defineComponent((props, { attrs, slots,
|
|
|
417
417
|
}, null)] })]), loadingState.value && createVNode("div", { "class": classNames(`${prefixCls.value}-loading-mask`, hashId.value) }, [createVNode(Spin, { "indicator": resolvedIndicator.value }, null)])])])])]);
|
|
418
418
|
};
|
|
419
419
|
}, {
|
|
420
|
-
props:
|
|
420
|
+
props: /*@__PURE__*/ mergeDefaults({
|
|
421
421
|
loading: {
|
|
422
422
|
type: [Boolean, Object],
|
|
423
423
|
required: false,
|
|
@@ -659,6 +659,10 @@ const ForwardProTable = /* @__PURE__ */ defineComponent((props, { attrs, slots,
|
|
|
659
659
|
type: String,
|
|
660
660
|
required: false
|
|
661
661
|
},
|
|
662
|
+
column: {
|
|
663
|
+
type: Object,
|
|
664
|
+
required: false
|
|
665
|
+
},
|
|
662
666
|
size: {
|
|
663
667
|
type: [String, null],
|
|
664
668
|
required: false
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { CSSProperties } from "vue";
|
|
3
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
4
2
|
|
|
5
3
|
//#region src/components/ScrollBar/Bar.d.ts
|
|
6
4
|
interface BarExpose {
|
|
@@ -28,7 +26,7 @@ declare const barProps: {
|
|
|
28
26
|
readonly default: false;
|
|
29
27
|
};
|
|
30
28
|
};
|
|
31
|
-
declare const _default:
|
|
29
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
32
30
|
readonly always: {
|
|
33
31
|
readonly type: BooleanConstructor;
|
|
34
32
|
readonly default: true;
|
|
@@ -48,7 +46,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
48
46
|
readonly type: BooleanConstructor;
|
|
49
47
|
readonly default: false;
|
|
50
48
|
};
|
|
51
|
-
}>, () =>
|
|
49
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
50
|
readonly always: {
|
|
53
51
|
readonly type: BooleanConstructor;
|
|
54
52
|
readonly default: true;
|
|
@@ -76,6 +74,6 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
76
74
|
};
|
|
77
75
|
readonly minSize: number;
|
|
78
76
|
readonly hasScrollY: boolean;
|
|
79
|
-
}, {}, {}, {}, string,
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
80
78
|
//#endregion
|
|
81
79
|
export { BarExpose, barProps, _default as default };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { CSSProperties } from "vue";
|
|
3
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
4
2
|
|
|
5
3
|
//#region src/components/ScrollBar/Thumb.d.ts
|
|
6
4
|
declare const thumbProps: {
|
|
@@ -17,7 +15,7 @@ declare const thumbProps: {
|
|
|
17
15
|
readonly default: () => {};
|
|
18
16
|
};
|
|
19
17
|
};
|
|
20
|
-
declare const _default:
|
|
18
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
21
19
|
readonly vertical: BooleanConstructor;
|
|
22
20
|
readonly size: StringConstructor;
|
|
23
21
|
readonly move: NumberConstructor;
|
|
@@ -30,7 +28,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
30
28
|
readonly type: () => CSSProperties;
|
|
31
29
|
readonly default: () => {};
|
|
32
30
|
};
|
|
33
|
-
}>, () =>
|
|
31
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
32
|
readonly vertical: BooleanConstructor;
|
|
35
33
|
readonly size: StringConstructor;
|
|
36
34
|
readonly move: NumberConstructor;
|
|
@@ -47,6 +45,6 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
47
45
|
readonly vertical: boolean;
|
|
48
46
|
readonly always: boolean;
|
|
49
47
|
readonly barStyle: CSSProperties;
|
|
50
|
-
}, {}, {}, {}, string,
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { _default as default, thumbProps };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { PropType } from "vue";
|
|
3
2
|
import { CustomRender, WithFalse } from "@gx-design-vue/pro-utils";
|
|
4
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
5
3
|
|
|
6
4
|
//#region src/components/SearchForm/CollapseToggle.d.ts
|
|
7
|
-
declare const CollapseToggle:
|
|
5
|
+
declare const CollapseToggle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
6
|
collapsed: {
|
|
9
7
|
type: BooleanConstructor;
|
|
10
8
|
default: any;
|
|
@@ -25,7 +23,7 @@ declare const CollapseToggle: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
25
23
|
type: PropType<(collapsed: boolean) => void>;
|
|
26
24
|
required: true;
|
|
27
25
|
};
|
|
28
|
-
}>, () =>
|
|
26
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
27
|
collapsed: {
|
|
30
28
|
type: BooleanConstructor;
|
|
31
29
|
default: any;
|
|
@@ -47,9 +45,9 @@ declare const CollapseToggle: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
47
45
|
required: true;
|
|
48
46
|
};
|
|
49
47
|
}>> & Readonly<{}>, {
|
|
48
|
+
hashId: string;
|
|
50
49
|
collapsed: boolean;
|
|
51
50
|
collapseRender: WithFalse<(collapsed?: boolean) => CustomRender>;
|
|
52
|
-
|
|
53
|
-
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
52
|
//#endregion
|
|
55
53
|
export { CollapseToggle };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ProSearchMap } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { PropType } from "vue";
|
|
4
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
5
3
|
|
|
6
4
|
//#region src/components/SearchForm/FormItemContainer.d.ts
|
|
7
|
-
declare const FormItemContainer:
|
|
5
|
+
declare const FormItemContainer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
6
|
prefixCls: {
|
|
9
7
|
type: StringConstructor;
|
|
10
8
|
required: true;
|
|
@@ -35,7 +33,7 @@ declare const FormItemContainer: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
35
33
|
type: PropType<() => void>;
|
|
36
34
|
default: any;
|
|
37
35
|
};
|
|
38
|
-
}>, () =>
|
|
36
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
37
|
prefixCls: {
|
|
40
38
|
type: StringConstructor;
|
|
41
39
|
required: true;
|
|
@@ -67,9 +65,9 @@ declare const FormItemContainer: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
67
65
|
default: any;
|
|
68
66
|
};
|
|
69
67
|
}>> & Readonly<{}>, {
|
|
70
|
-
loading: boolean;
|
|
71
|
-
autoRequest: boolean;
|
|
72
68
|
onSubmit: () => void;
|
|
73
|
-
|
|
69
|
+
autoRequest: boolean;
|
|
70
|
+
loading: boolean;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
72
|
//#endregion
|
|
75
73
|
export { FormItemContainer };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { CSSProperties, PropType } from "vue";
|
|
3
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
4
2
|
|
|
5
3
|
//#region src/components/SearchForm/FormItemWrapper.d.ts
|
|
6
|
-
declare const FormItemWrapper:
|
|
4
|
+
declare const FormItemWrapper: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
5
|
label: {
|
|
8
6
|
type: PropType<string | any>;
|
|
9
7
|
default: any;
|
|
@@ -36,7 +34,7 @@ declare const FormItemWrapper: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
36
34
|
type: NumberConstructor;
|
|
37
35
|
default: any;
|
|
38
36
|
};
|
|
39
|
-
}>, () =>
|
|
37
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
38
|
label: {
|
|
41
39
|
type: PropType<string | any>;
|
|
42
40
|
default: any;
|
|
@@ -70,13 +68,13 @@ declare const FormItemWrapper: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
70
68
|
default: any;
|
|
71
69
|
};
|
|
72
70
|
}>> & Readonly<{}>, {
|
|
73
|
-
hashId: string;
|
|
74
71
|
label: any;
|
|
75
72
|
labelWidth: string | number;
|
|
76
|
-
labelAlign: "left" | "
|
|
73
|
+
labelAlign: "left" | "center" | "right";
|
|
77
74
|
colon: boolean;
|
|
75
|
+
hashId: string;
|
|
78
76
|
formItemStyle: CSSProperties;
|
|
79
77
|
globalLabelGap: number;
|
|
80
|
-
}, {}, {}, {}, string,
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
79
|
//#endregion
|
|
82
80
|
export { FormItemWrapper };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { FormConfig, ProSearchMap } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { PropType } from "vue";
|
|
4
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
5
3
|
|
|
6
4
|
//#region src/components/SearchForm/SearchForm.d.ts
|
|
7
|
-
declare const ProTableSearchForm:
|
|
5
|
+
declare const ProTableSearchForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
6
|
prefixCls: {
|
|
9
7
|
type: StringConstructor;
|
|
10
8
|
required: true;
|
|
@@ -57,7 +55,7 @@ declare const ProTableSearchForm: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
57
55
|
type: PropType<(params: Record<string, any>) => void>;
|
|
58
56
|
default: any;
|
|
59
57
|
};
|
|
60
|
-
}>, () =>
|
|
58
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
59
|
prefixCls: {
|
|
62
60
|
type: StringConstructor;
|
|
63
61
|
required: true;
|
|
@@ -111,8 +109,8 @@ declare const ProTableSearchForm: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
111
109
|
default: any;
|
|
112
110
|
};
|
|
113
111
|
}>> & Readonly<{}>, {
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
onReset: (params: Record<string, any>) => void;
|
|
113
|
+
loading: any;
|
|
116
114
|
formColumns: ProSearchMap<"text", string>[];
|
|
117
115
|
formConfig: FormConfig;
|
|
118
116
|
formAutoRequest: boolean;
|
|
@@ -122,9 +120,9 @@ declare const ProTableSearchForm: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
122
120
|
searchText?: string;
|
|
123
121
|
resetText?: string;
|
|
124
122
|
};
|
|
125
|
-
loading: any;
|
|
126
123
|
cardBordered: boolean;
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
proClasses: Record<string, string>;
|
|
125
|
+
proStyles: Record<string, any>;
|
|
126
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
129
127
|
//#endregion
|
|
130
128
|
export { ProTableSearchForm as default };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { PropType } from "vue";
|
|
3
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
4
2
|
|
|
5
3
|
//#region src/components/Toolbar/FullscreenIcon.d.ts
|
|
6
|
-
declare const FullscreenIcon:
|
|
4
|
+
declare const FullscreenIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
5
|
isFullscreen: {
|
|
8
6
|
type: BooleanConstructor;
|
|
9
7
|
required: true;
|
|
@@ -12,7 +10,7 @@ declare const FullscreenIcon: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
12
10
|
type: PropType<() => void>;
|
|
13
11
|
required: true;
|
|
14
12
|
};
|
|
15
|
-
}>, () =>
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
14
|
isFullscreen: {
|
|
17
15
|
type: BooleanConstructor;
|
|
18
16
|
required: true;
|
|
@@ -21,6 +19,6 @@ declare const FullscreenIcon: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
21
19
|
type: PropType<() => void>;
|
|
22
20
|
required: true;
|
|
23
21
|
};
|
|
24
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
23
|
//#endregion
|
|
26
24
|
export { FullscreenIcon };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ToolbarPlacement } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { PropType, VNode } from "vue";
|
|
4
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
5
3
|
|
|
6
4
|
//#region src/components/Toolbar/ListToolBar.d.ts
|
|
7
5
|
interface ListToolBarSetting {
|
|
@@ -10,7 +8,7 @@ interface ListToolBarSetting {
|
|
|
10
8
|
key?: string;
|
|
11
9
|
onClick?: (key?: string) => void;
|
|
12
10
|
}
|
|
13
|
-
declare const ListToolBar:
|
|
11
|
+
declare const ListToolBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
12
|
prefixCls: {
|
|
15
13
|
type: StringConstructor;
|
|
16
14
|
required: true;
|
|
@@ -51,7 +49,7 @@ declare const ListToolBar: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
51
49
|
type: ObjectConstructor;
|
|
52
50
|
default: () => {};
|
|
53
51
|
};
|
|
54
|
-
}>, () =>
|
|
52
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
53
|
prefixCls: {
|
|
56
54
|
type: StringConstructor;
|
|
57
55
|
required: true;
|
|
@@ -93,19 +91,19 @@ declare const ListToolBar: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
93
91
|
default: () => {};
|
|
94
92
|
};
|
|
95
93
|
}>> & Readonly<{}>, {
|
|
96
|
-
|
|
97
|
-
actionsPlacement: ToolbarPlacement;
|
|
98
|
-
actions: VNode<_$vue.RendererNode, _$vue.RendererElement, {
|
|
94
|
+
actions: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
99
95
|
[key: string]: any;
|
|
100
96
|
}>[];
|
|
97
|
+
proClasses: Record<string, any>;
|
|
98
|
+
proStyles: Record<string, any>;
|
|
99
|
+
titleTipText: string;
|
|
100
|
+
actionsPlacement: ToolbarPlacement;
|
|
101
101
|
headerTitle: any;
|
|
102
102
|
listToolAfter: any;
|
|
103
103
|
headerTitleTip: any;
|
|
104
|
-
|
|
105
|
-
proStyles: Record<string, any>;
|
|
106
|
-
settings: VNode<_$vue.RendererNode, _$vue.RendererElement, {
|
|
104
|
+
settings: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
107
105
|
[key: string]: any;
|
|
108
106
|
}>[];
|
|
109
|
-
}, {}, {}, {}, string,
|
|
107
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
108
|
//#endregion
|
|
111
109
|
export { ListToolBar, ListToolBarSetting };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ToolbarPlacement } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { PropType, VNode } from "vue";
|
|
4
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
5
3
|
|
|
6
4
|
//#region src/components/Toolbar/index.d.ts
|
|
7
|
-
declare const Toolbar:
|
|
5
|
+
declare const Toolbar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
6
|
prefixCls: {
|
|
9
7
|
type: StringConstructor;
|
|
10
8
|
required: true;
|
|
@@ -45,7 +43,7 @@ declare const Toolbar: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
45
43
|
type: ObjectConstructor;
|
|
46
44
|
default: () => {};
|
|
47
45
|
};
|
|
48
|
-
}>, () =>
|
|
46
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
47
|
prefixCls: {
|
|
50
48
|
type: StringConstructor;
|
|
51
49
|
required: true;
|
|
@@ -87,17 +85,17 @@ declare const Toolbar: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
87
85
|
default: () => {};
|
|
88
86
|
};
|
|
89
87
|
}>> & Readonly<{}>, {
|
|
88
|
+
actions: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>[];
|
|
91
|
+
proClasses: Record<string, any>;
|
|
92
|
+
proStyles: Record<string, any>;
|
|
90
93
|
options: any;
|
|
91
94
|
titleTipText: string;
|
|
92
95
|
actionsPlacement: ToolbarPlacement;
|
|
93
|
-
actions: VNode<_$vue.RendererNode, _$vue.RendererElement, {
|
|
94
|
-
[key: string]: any;
|
|
95
|
-
}>[];
|
|
96
96
|
headerTitle: any;
|
|
97
97
|
listToolAfter: any;
|
|
98
98
|
headerTitleTip: any;
|
|
99
|
-
|
|
100
|
-
proStyles: Record<string, any>;
|
|
101
|
-
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
99
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
102
100
|
//#endregion
|
|
103
101
|
export { Toolbar, Toolbar as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ProColumnType } from "../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { ComputedRef } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/hooks/useColumnResize.d.ts
|
|
@@ -24,7 +23,7 @@ interface ResizableHeaderCellProps {
|
|
|
24
23
|
width?: number;
|
|
25
24
|
onResize?: (event: MouseEvent, info: ResizeInfo) => void;
|
|
26
25
|
}
|
|
27
|
-
declare function createResizableTitle():
|
|
26
|
+
declare function createResizableTitle(): import("vue").DefineComponent<ResizableHeaderCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizableHeaderCellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
27
|
declare function useColumnResize(options: UseColumnResizeOptions): UseColumnResizeReturn;
|
|
29
28
|
//#endregion
|
|
30
29
|
export { ResizeInfo, UseColumnResizeOptions, UseColumnResizeReturn, useColumnResize };
|