@vue-ui-kit/ant 2.3.8 → 2.4.0
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/cjs/index.js +4 -4
- package/dist/declarations/antProxy.d.ts +2 -1
- package/dist/es/index.js +3814 -3776
- package/package.json +2 -2
- package/src/declarations/antProxy.ts +2 -2
- package/src/packages/components/PCanvasGrid.vue +50 -30
- package/src/packages/components/PGrid.vue +43 -22
- package/src/packages/store/renderStore.tsx +2 -1
- package/dist/packages/components/CollapseCard.vue.d.ts +0 -29
- package/dist/packages/components/PCanvasGrid.vue.d.ts +0 -846
- package/dist/packages/components/PCanvasTable.vue.d.ts +0 -177
- package/dist/packages/components/PForm.vue.d.ts +0 -22
- package/dist/packages/components/PFormCol.vue.d.ts +0 -23
- package/dist/packages/components/PFormGroup.vue.d.ts +0 -38
- package/dist/packages/components/PGrid.vue.d.ts +0 -1623
- package/dist/packages/components/PGroupBlock.vue.d.ts +0 -16
- package/dist/packages/components/PromisePicker.vue.d.ts +0 -25
- package/dist/packages/renders/TableInput.vue.d.ts +0 -25
|
@@ -1,177 +0,0 @@
|
|
|
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
|
-
} & {};
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
} & {};
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
} & {};
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
} & {};
|