@vue-ui-kit/ant 2.4.1 → 2.4.3

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.d.ts CHANGED
@@ -8,7 +8,7 @@ import { default as PGroupBlock } from './packages/components/PGroupBlock.vue';
8
8
  import { default as PromisePicker } from './packages/components/PromisePicker.vue';
9
9
  import { addFormatter } from './packages/utils/AFormatters';
10
10
  import { addRender } from './packages/store/renderStore';
11
- import { setUIKitConfig, getUIKitConfig, resetUIKitConfig, UIKitConfig } from './packages/utils/config';
11
+ import { setUIKitConfig, getUIKitConfig, resetUIKitConfig, getTooltipRenderer, UIKitConfig } from './packages/utils/config';
12
12
  declare function setup(config?: Partial<UIKitConfig>): void;
13
13
  declare const _default: {
14
14
  install(app: App): void;
@@ -19,5 +19,5 @@ declare const _default: {
19
19
  export default _default;
20
20
  export * from './declarations/antProxy';
21
21
  export * from './packages/utils/core';
22
- export { setup, setUIKitConfig, getUIKitConfig, resetUIKitConfig, type UIKitConfig };
22
+ export { setup, setUIKitConfig, getUIKitConfig, resetUIKitConfig, getTooltipRenderer, type UIKitConfig, };
23
23
  export { PForm, PGrid, PCanvasTable, PCanvasGrid, PFormGroup, PGroupBlock, PromisePicker, addFormatter, addRender, };
@@ -0,0 +1,29 @@
1
+ interface Props {
2
+ /** 是否默认折叠 */
3
+ defaultCollapsed?: boolean;
4
+ title?: string;
5
+ /** 是否可以折叠 */
6
+ collapsible?: boolean;
7
+ }
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: any;
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
16
+ collapse: () => void;
17
+ expand: () => void;
18
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
19
+ title: string;
20
+ defaultCollapsed: boolean;
21
+ collapsible: boolean;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,177 @@
1
+ import { default as Cell } from 'e-virt-table/dist/lib/Cell';
2
+ import { default as EVirtTable, Column as EVirtColumn, FormatterMethod } from 'e-virt-table';
3
+ import { CanvasTableProps } from '../../declarations/antProxy';
4
+ declare const _default: <T extends Recordable = Recordable, B extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly onChange?: ((value: any[]) => any) | undefined;
7
+ readonly onSelectionChange?: ((value: T[]) => any) | undefined;
8
+ readonly onReady?: ((value: EVirtTable) => any) | undefined;
9
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onSelectionChange" | "onReady"> & CanvasTableProps<T, B> & Partial<{}>> & import('vue').PublicProps;
10
+ expose(exposed: import('vue').ShallowUnwrapRef<{
11
+ $table: null;
12
+ selectedRecords: import('vue').ComputedRef<import('@vue/reactivity').UnwrapRefSimple<T>[]>;
13
+ reloadData: () => void;
14
+ }>): void;
15
+ attrs: any;
16
+ slots: Partial<Record<string, (_: {
17
+ cell: Cell | import('e-virt-table/dist/lib/CellHeader').default;
18
+ formatter?: FormatterMethod;
19
+ formatterFooter?: FormatterMethod;
20
+ hoverIconName?: string;
21
+ operation: boolean;
22
+ align: import('e-virt-table').Align;
23
+ verticalAlign: import('e-virt-table').VerticalAlign;
24
+ fixed?: import('e-virt-table').Fixed;
25
+ type: import('e-virt-table').Type | "";
26
+ editorType: string;
27
+ editorProps: any;
28
+ cellType: import('e-virt-table').CellType;
29
+ level: number;
30
+ colspan: number;
31
+ rowspan: number;
32
+ mergeRow: boolean;
33
+ mergeCol: boolean;
34
+ relationRowKeys: string[];
35
+ relationColKeys: string[];
36
+ key: string;
37
+ column: EVirtColumn;
38
+ rowIndex: number;
39
+ colIndex: number;
40
+ rowKey: string;
41
+ row: any;
42
+ value: any;
43
+ render: import('e-virt-table').Render;
44
+ renderFooter: import('e-virt-table').Render;
45
+ style: any;
46
+ domDataset: any;
47
+ rules: import('e-virt-table/dist/lib/Validator').Rules | import('e-virt-table/dist/lib/Validator').Rule;
48
+ message: string;
49
+ text: string;
50
+ displayText: string;
51
+ visibleWidth: number;
52
+ visibleHeight: number;
53
+ isHasChanged: boolean;
54
+ drawX: number;
55
+ drawY: number;
56
+ drawCellBgColor: string;
57
+ drawCellSkyBgColor: string;
58
+ drawTextColor: string;
59
+ drawTextFont: string;
60
+ drawTextX: number;
61
+ drawTextY: number;
62
+ drawTextWidth: number;
63
+ drawTextHeight: number;
64
+ drawTreeImageX: number;
65
+ drawTreeImageY: number;
66
+ drawTreeImageWidth: number;
67
+ drawTreeImageHeight: number;
68
+ drawTreeImageName: string;
69
+ drawTreeImageSource?: HTMLImageElement;
70
+ drawSelectionImageX: number;
71
+ drawSelectionImageY: number;
72
+ drawSelectionImageWidth: number;
73
+ drawSelectionImageHeight: number;
74
+ drawSelectionImageName: string;
75
+ drawSelectionImageSource?: HTMLImageElement;
76
+ drawHoverImageX: number;
77
+ drawHoverImageY: number;
78
+ drawHoverImageWidth: number;
79
+ drawHoverImageHeight: number;
80
+ drawHoverImageName: string;
81
+ drawHoverImageSource?: HTMLImageElement;
82
+ autoRowHeight: boolean;
83
+ calculatedHeight: number;
84
+ ellipsis: boolean;
85
+ rowExpand: boolean;
86
+ rowHasChildren: boolean;
87
+ overflowTooltipShow: boolean;
88
+ selectorCellValueType: import('e-virt-table').SelectorCellValueType;
89
+ overflowTooltipMaxWidth: number;
90
+ overflowTooltipPlacement: import('e-virt-table').OverflowTooltipPlacement;
91
+ maxLineClamp: import('e-virt-table').LineClampType;
92
+ ctx: import('e-virt-table/dist/lib/Context').default;
93
+ x: number;
94
+ y: number;
95
+ width: number;
96
+ height: number;
97
+ } | {
98
+ cell: Cell | import('e-virt-table/dist/lib/CellHeader').default;
99
+ align: import('e-virt-table').Align;
100
+ hideHeaderSelection: boolean;
101
+ verticalAlign: import('e-virt-table').VerticalAlign;
102
+ fixed?: import('e-virt-table').Fixed;
103
+ minWidth?: number;
104
+ maxWidth?: number;
105
+ widthFillDisable: boolean;
106
+ type: import('e-virt-table').Type | "";
107
+ operation: boolean;
108
+ editorType: string;
109
+ level: number;
110
+ text: string;
111
+ hide: boolean;
112
+ displayText: string;
113
+ colspan: number;
114
+ rowspan: number;
115
+ row: any;
116
+ key: string;
117
+ required: boolean;
118
+ readonly: boolean;
119
+ ellipsis: boolean;
120
+ overflowTooltipShow: boolean;
121
+ children: EVirtColumn[];
122
+ column: EVirtColumn;
123
+ colIndex: number;
124
+ rowKey: string;
125
+ rules?: import('e-virt-table/dist/lib/Validator').Rules | import('e-virt-table/dist/lib/Validator').Rule;
126
+ hasChildren: boolean;
127
+ render: import('e-virt-table').Render;
128
+ style: Partial<CSSStyleDeclaration>;
129
+ drawX: number;
130
+ drawY: number;
131
+ sortIconName: string;
132
+ sortAscIconName: string;
133
+ sortDescIconName: string;
134
+ visibleWidth: number;
135
+ visibleHeight: number;
136
+ maxLineClampHeader: import('e-virt-table').LineClampType;
137
+ domDataset: any;
138
+ drawTextX: number;
139
+ drawTextY: number;
140
+ drawTextWidth: number;
141
+ drawTextHeight: number;
142
+ drawCellBgColor: string;
143
+ drawTextColor: string;
144
+ drawTextFont: string;
145
+ drawSelectionImageX: number;
146
+ drawSelectionImageY: number;
147
+ drawSelectionImageWidth: number;
148
+ drawSelectionImageHeight: number;
149
+ drawSelectionImageName: string;
150
+ drawSelectionImageSource?: HTMLImageElement;
151
+ drawSortImageX: number;
152
+ drawSortImageY: number;
153
+ drawSortImageWidth: number;
154
+ drawSortImageHeight: number;
155
+ drawSortImageName: string;
156
+ drawSortImageSource?: HTMLImageElement;
157
+ ctx: import('e-virt-table/dist/lib/Context').default;
158
+ x: number;
159
+ y: number;
160
+ width: number;
161
+ height: number;
162
+ cellType: import('e-virt-table').CellType;
163
+ }) => any>> & {
164
+ empty?(_: {}): any;
165
+ };
166
+ emit: {
167
+ (e: "change", value: any[]): void;
168
+ (e: "selectionChange", value: T[]): void;
169
+ (e: "ready", value: EVirtTable): void;
170
+ };
171
+ }>) => import('vue').VNode & {
172
+ __ctx?: Awaited<typeof __VLS_setup>;
173
+ };
174
+ export default _default;
175
+ type __VLS_PrettifyLocal<T> = {
176
+ [K in keyof T]: T[K];
177
+ } & {};
@@ -0,0 +1,22 @@
1
+ import { PFormProps } from '../../declarations/antProxy';
2
+ declare const _default: <F extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onReset?: ((...args: any[]) => any) | undefined;
5
+ readonly onApply?: ((...args: any[]) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onApply"> & (PFormProps<F> & {
7
+ data: F;
8
+ }) & Partial<{}>> & import('vue').PublicProps;
9
+ expose(exposed: import('vue').ShallowUnwrapRef<{
10
+ reset: () => void;
11
+ $form: import('vue').ComputedRef<any>;
12
+ }>): void;
13
+ attrs: any;
14
+ slots: {};
15
+ emit: (event: "reset" | "apply", ...args: any[]) => void;
16
+ }>) => import('vue').VNode & {
17
+ __ctx?: Awaited<typeof __VLS_setup>;
18
+ };
19
+ export default _default;
20
+ type __VLS_PrettifyLocal<T> = {
21
+ [K in keyof T]: T[K];
22
+ } & {};
@@ -0,0 +1,23 @@
1
+ import { PFormItemProps } from '../../declarations/antProxy';
2
+ declare const _default: <T extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onTrigger?: ((cusFields?: string | string[] | undefined) => any) | undefined;
5
+ readonly onReset?: (() => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onTrigger"> & {
7
+ item: PFormItemProps<T>;
8
+ formData: T;
9
+ } & Partial<{}>> & import('vue').PublicProps;
10
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
+ attrs: any;
12
+ slots: {};
13
+ emit: {
14
+ (e: "trigger", cusFields?: string | string[]): void;
15
+ (e: "reset"): void;
16
+ };
17
+ }>) => import('vue').VNode & {
18
+ __ctx?: Awaited<typeof __VLS_setup>;
19
+ };
20
+ export default _default;
21
+ type __VLS_PrettifyLocal<T> = {
22
+ [K in keyof T]: T[K];
23
+ } & {};
@@ -0,0 +1,38 @@
1
+ import { PFormGroupProps } from '../../declarations/antProxy';
2
+ declare const _default: <F extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: Partial<F & {
5
+ __index: number;
6
+ }>[]) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
8
+ modelValue?: Partial<F & {
9
+ __index: number;
10
+ }>[];
11
+ } & PFormGroupProps<F>) & Partial<{}>> & import('vue').PublicProps;
12
+ expose(exposed: import('vue').ShallowUnwrapRef<{
13
+ collapse: () => void;
14
+ expand: () => void;
15
+ activeKey: import('vue').ComputedRef<number>;
16
+ setActiveKey: (key: number) => void;
17
+ validateAll: () => Promise<PromiseSettledResult<any>[]>;
18
+ validate: (__index: number, ignoreTabError?: boolean) => Promise<void>;
19
+ validateFields: (__index: number, fields: string[], ignoreTabError?: boolean) => Promise<void>;
20
+ }>): void;
21
+ attrs: any;
22
+ slots: Readonly<{
23
+ [key: string]: any;
24
+ rightExtra?: () => any;
25
+ }> & {
26
+ [key: string]: any;
27
+ rightExtra?: () => any;
28
+ };
29
+ emit: (evt: "update:modelValue", value: Partial<F & {
30
+ __index: number;
31
+ }>[]) => void;
32
+ }>) => import('vue').VNode & {
33
+ __ctx?: Awaited<typeof __VLS_setup>;
34
+ };
35
+ export default _default;
36
+ type __VLS_PrettifyLocal<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
@@ -0,0 +1,16 @@
1
+ import { PBlockProps } from '../../declarations/antProxy';
2
+ declare const _default: <F extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & PBlockProps<F> & Partial<{}>> & import('vue').PublicProps;
4
+ expose(exposed: import('vue').ShallowUnwrapRef<{
5
+ $form: import('vue').ComputedRef<Recordable<any> | undefined>;
6
+ }>): void;
7
+ attrs: any;
8
+ slots: {};
9
+ emit: {};
10
+ }>) => import('vue').VNode & {
11
+ __ctx?: Awaited<typeof __VLS_setup>;
12
+ };
13
+ export default _default;
14
+ type __VLS_PrettifyLocal<T> = {
15
+ [K in keyof T]: T[K];
16
+ } & {};
@@ -0,0 +1,25 @@
1
+ import { PGridInstance, PromisePickerProps } from '../../declarations/antProxy';
2
+ declare const _default: <D extends Recordable = Recordable, F extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & PromisePickerProps<D, F> & Partial<{}>> & import('vue').PublicProps;
4
+ expose(exposed: import('vue').ShallowUnwrapRef<{
5
+ pick: () => Promise<D[] | {
6
+ row: D;
7
+ field?: string;
8
+ }>;
9
+ pickMultiple: () => Promise<D[] | {
10
+ row: D;
11
+ field?: string;
12
+ }>;
13
+ grid: import('vue').Ref<PGridInstance<D, Recordable<any>> | undefined, PGridInstance<D, Recordable<any>> | undefined>;
14
+ hide: () => void;
15
+ }>): void;
16
+ attrs: any;
17
+ slots: {};
18
+ emit: {};
19
+ }>) => import('vue').VNode & {
20
+ __ctx?: Awaited<typeof __VLS_setup>;
21
+ };
22
+ export default _default;
23
+ type __VLS_PrettifyLocal<T> = {
24
+ [K in keyof T]: T[K];
25
+ } & {};
@@ -1,10 +1,28 @@
1
- declare const _default: import('vue').DefineSetupFnComponent<{
2
- cellRender: any;
3
- renderTableParams: any;
4
- defaultHandler: any;
5
- }, {}, {}, {
6
- cellRender: any;
7
- renderTableParams: any;
8
- defaultHandler: any;
9
- } & {}, import('vue').PublicProps>;
1
+ import { CellRender, RenderTableParams } from '../../declarations/antProxy';
2
+ declare const _default: new <D extends Recordable = Recordable<any>>(props: {
3
+ cellRender: CellRender;
4
+ renderTableParams: RenderTableParams<D>;
5
+ defaultHandler?: {
6
+ [key: string]: (...args: any[]) => any;
7
+ };
8
+ } & {} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps) => import('vue').CreateComponentPublicInstanceWithMixins<{
9
+ cellRender: CellRender;
10
+ renderTableParams: RenderTableParams<D>;
11
+ defaultHandler?: {
12
+ [key: string]: (...args: any[]) => any;
13
+ };
14
+ } & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
15
+ P: {};
16
+ B: {};
17
+ D: {};
18
+ C: {};
19
+ M: {};
20
+ Defaults: {};
21
+ }, {
22
+ cellRender: CellRender;
23
+ renderTableParams: RenderTableParams<D>;
24
+ defaultHandler?: {
25
+ [key: string]: (...args: any[]) => any;
26
+ };
27
+ } & {}, {}, {}, {}, {}, {}>;
10
28
  export default _default;
@@ -1,14 +1,34 @@
1
- declare const _default: import('vue').DefineSetupFnComponent<{
2
- row: any;
3
- column: any;
4
- rowIndex: any;
5
- defaultHandler: any;
6
- tableData: any;
7
- }, {}, {}, {
8
- row: any;
9
- column: any;
10
- rowIndex: any;
11
- defaultHandler: any;
12
- tableData: any;
13
- } & {}, import('vue').PublicProps>;
1
+ import { ColumnProps } from '../../declarations/antProxy';
2
+ declare const _default: new <D extends Recordable = Recordable<any>>(props: {
3
+ tableData: D[];
4
+ row: D;
5
+ column: ColumnProps<D>;
6
+ rowIndex: number;
7
+ defaultHandler?: {
8
+ [key: string]: (...args: any[]) => any;
9
+ };
10
+ } & {} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps) => import('vue').CreateComponentPublicInstanceWithMixins<{
11
+ tableData: D[];
12
+ row: D;
13
+ column: ColumnProps<D>;
14
+ rowIndex: number;
15
+ defaultHandler?: {
16
+ [key: string]: (...args: any[]) => any;
17
+ };
18
+ } & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
19
+ P: {};
20
+ B: {};
21
+ D: {};
22
+ C: {};
23
+ M: {};
24
+ Defaults: {};
25
+ }, {
26
+ tableData: D[];
27
+ row: D;
28
+ column: ColumnProps<D>;
29
+ rowIndex: number;
30
+ defaultHandler?: {
31
+ [key: string]: (...args: any[]) => any;
32
+ };
33
+ } & {}, {}, {}, {}, {}, {}>;
14
34
  export default _default;
@@ -1,10 +1,25 @@
1
- declare const _default: import('vue').DefineSetupFnComponent<{
2
- cellRender: any;
3
- renderTableParams: any;
4
- }, "blur"[], {}, {
5
- cellRender: any;
6
- renderTableParams: any;
1
+ import { CellRender, RenderTableParams } from '../../declarations/antProxy';
2
+ declare const _default: new <D extends Recordable = Recordable<any>>(props: {
3
+ cellRender: CellRender;
4
+ renderTableParams: RenderTableParams<D>;
7
5
  } & {
8
6
  onBlur?: ((...args: any[]) => any) | undefined;
9
- }, import('vue').PublicProps>;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps) => import('vue').CreateComponentPublicInstanceWithMixins<{
8
+ cellRender: CellRender;
9
+ renderTableParams: RenderTableParams<D>;
10
+ } & {
11
+ onBlur?: ((...args: any[]) => any) | undefined;
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "blur"[], import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
13
+ P: {};
14
+ B: {};
15
+ D: {};
16
+ C: {};
17
+ M: {};
18
+ Defaults: {};
19
+ }, {
20
+ cellRender: CellRender;
21
+ renderTableParams: RenderTableParams<D>;
22
+ } & {
23
+ onBlur?: ((...args: any[]) => any) | undefined;
24
+ }, {}, {}, {}, {}, {}>;
10
25
  export default _default;
@@ -1,12 +1,25 @@
1
- declare const _default: import('vue').DefineSetupFnComponent<{
2
- item: any;
3
- formData: any;
4
- passTrigger: any;
5
- passDelayTrigger: any;
6
- }, {}, {}, {
7
- item: any;
8
- formData: any;
9
- passTrigger: any;
10
- passDelayTrigger: any;
11
- } & {}, import('vue').PublicProps>;
1
+ import { PFormItemProps } from '../../declarations/antProxy';
2
+ declare const _default: new <F extends Recordable = Recordable<any>>(props: {
3
+ formData: F;
4
+ item: PFormItemProps<F>;
5
+ passTrigger: (cusFields?: string | string[]) => void;
6
+ passDelayTrigger: (cusFields?: string | string[], time?: number) => void;
7
+ } & {} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps) => import('vue').CreateComponentPublicInstanceWithMixins<{
8
+ formData: F;
9
+ item: PFormItemProps<F>;
10
+ passTrigger: (cusFields?: string | string[]) => void;
11
+ passDelayTrigger: (cusFields?: string | string[], time?: number) => void;
12
+ } & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
13
+ P: {};
14
+ B: {};
15
+ D: {};
16
+ C: {};
17
+ M: {};
18
+ Defaults: {};
19
+ }, {
20
+ formData: F;
21
+ item: PFormItemProps<F>;
22
+ passTrigger: (cusFields?: string | string[]) => void;
23
+ passDelayTrigger: (cusFields?: string | string[], time?: number) => void;
24
+ } & {}, {}, {}, {}, {}, {}>;
12
25
  export default _default;
@@ -1,6 +1,16 @@
1
- declare const _default: import('vue').DefineSetupFnComponent<{
2
- column: any;
3
- }, {}, {}, {
4
- column: any;
5
- } & {}, import('vue').PublicProps>;
1
+ import { ColumnProps } from '../../declarations/antProxy';
2
+ declare const _default: new <D extends Recordable = Recordable<any>>(props: {
3
+ column: ColumnProps<D>;
4
+ } & {} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps) => import('vue').CreateComponentPublicInstanceWithMixins<{
5
+ column: ColumnProps<D>;
6
+ } & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
7
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, {
14
+ column: ColumnProps<D>;
15
+ } & {}, {}, {}, {}, {}, {}>;
6
16
  export default _default;
@@ -0,0 +1,25 @@
1
+ import { TableProps } from 'ant-design-vue';
2
+ import { ColumnProps } from '../../declarations/antProxy';
3
+ declare const _default: <D extends Recordable = Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{
5
+ tableConfig: TableProps<any>;
6
+ modelValue: D[];
7
+ editColumns: ColumnProps<Recordable<any>>[];
8
+ }> & Omit<{
9
+ readonly tableConfig: TableProps<any>;
10
+ readonly modelValue: D[];
11
+ readonly editColumns: ColumnProps<Recordable<any>>[];
12
+ readonly onTrigger?: ((...args: any[]) => any) | undefined;
13
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "tableConfig" | "modelValue" | "editColumns">, "onTrigger" | "onUpdate:modelValue" | ("tableConfig" | "modelValue" | "editColumns")> & {} & Partial<{}>> & import('vue').PublicProps;
15
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
16
+ attrs: any;
17
+ slots: {};
18
+ emit: (event: "trigger" | "update:modelValue", ...args: any[]) => void;
19
+ }>) => import('vue').VNode & {
20
+ __ctx?: Awaited<typeof __VLS_setup>;
21
+ };
22
+ export default _default;
23
+ type __VLS_PrettifyLocal<T> = {
24
+ [K in keyof T]: T[K];
25
+ } & {};
@@ -1,5 +1,6 @@
1
1
  import { PFormProps, PGridProps } from '../../declarations/antProxy';
2
2
  import { ConfigType } from 'e-virt-table';
3
+ import { VNode } from 'vue';
3
4
  export interface UIKitConfig {
4
5
  form?: {
5
6
  labelCol?: any;
@@ -13,8 +14,15 @@ export interface UIKitConfig {
13
14
  striped?: boolean;
14
15
  };
15
16
  canvasTable?: ConfigType;
17
+ /**
18
+ * 自定义 tooltip 渲染函数,替换全局所有 a-tooltip。
19
+ * @param defaultSlot 原 tooltip 触发元素(图标等)
20
+ * @param content tooltip 内容,字符串或返回 VNode 的函数
21
+ */
22
+ renderTooltip?: (defaultSlot: () => VNode, content: string | (() => VNode)) => VNode;
16
23
  }
17
24
  export declare function setUIKitConfig(config: Partial<UIKitConfig>): void;
25
+ export declare function getTooltipRenderer(): UIKitConfig['renderTooltip'];
18
26
  export declare function getUIKitConfig(): UIKitConfig;
19
27
  export declare function getFormDefaults(): Partial<PFormProps>;
20
28
  export declare function getGridDefaults(): Partial<PGridProps>;