@vue-ui-kit/ant 2.0.0 → 2.0.2
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 +3 -3
- package/dist/declarations/antProxy.d.ts +5 -1
- package/dist/es/index.js +988 -979
- package/dist/packages/components/PCanvasTable.vue.d.ts +4 -1
- package/dist/style.scss +5 -1
- package/package.json +1 -1
- package/src/declarations/antProxy.ts +5 -0
- package/src/packages/components/PCanvasTable.vue +11 -3
- package/src/packages/components/PromisePicker.vue +16 -3
|
@@ -4,7 +4,7 @@ import { ColProps } from 'ant-design-vue/lib/grid/Col';
|
|
|
4
4
|
import { FormProps } from 'ant-design-vue/lib/form/Form';
|
|
5
5
|
import { TableColumnType, TableProps, TooltipProps } from 'ant-design-vue';
|
|
6
6
|
import { ButtonType } from 'ant-design-vue/lib/button/buttonTypes';
|
|
7
|
-
import { ConfigType, Column as EVirtColumn } from 'e-virt-table';
|
|
7
|
+
import { ConfigType, Column as EVirtColumn, default as EVirtTable } from 'e-virt-table';
|
|
8
8
|
export interface CellFuncArg<D extends Recordable = Recordable> {
|
|
9
9
|
row: D;
|
|
10
10
|
column?: ColumnProps<D>;
|
|
@@ -331,3 +331,7 @@ export interface PFormGroupInstance {
|
|
|
331
331
|
validate: (index: number, ignoreTabError?: boolean) => Promise<void>;
|
|
332
332
|
validateFields: (index: number, fields: string[], ignoreTabError?: boolean) => Promise<void>;
|
|
333
333
|
}
|
|
334
|
+
export interface PCanvasTableInstance<T extends Recordable = Recordable> {
|
|
335
|
+
$table: InstanceType<typeof EVirtTable>;
|
|
336
|
+
selectedRecords: T[];
|
|
337
|
+
}
|