@vue-ui-kit/ant 2.0.2 → 2.0.4
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 +21 -1
- package/dist/es/index.js +3215 -2844
- package/dist/packages/components/PCanvasGrid.vue.d.ts +697 -1
- package/dist/packages/components/PCanvasTable.vue.d.ts +4 -1
- package/dist/packages/components/PGrid.vue.d.ts +1559 -2
- package/dist/packages/components/RenderItemSlots.d.ts +2 -2
- package/dist/packages/utils/config.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/style.scss +44 -10
- package/package.json +2 -6
- package/src/declarations/antProxy.ts +26 -1
- package/src/packages/components/PCanvasGrid.vue +529 -2
- package/src/packages/components/PCanvasTable.vue +35 -11
- package/src/packages/components/PGrid.vue +2 -2
- package/src/packages/components/PromisePicker.vue +16 -12
- package/src/packages/styles/index.scss +44 -10
- package/src/packages/utils/config.ts +16 -1
|
@@ -4,11 +4,13 @@ import { CanvasTableProps } from '../../declarations/antProxy';
|
|
|
4
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
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly onChange?: ((value: any[]) => any) | undefined;
|
|
7
|
+
readonly onSelectionChange?: ((value: T[]) => any) | undefined;
|
|
7
8
|
readonly onReady?: ((value: EVirtTable) => any) | undefined;
|
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onReady"> & CanvasTableProps<T, B> & Partial<{}>> & import('vue').PublicProps;
|
|
9
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onSelectionChange" | "onReady"> & CanvasTableProps<T, B> & Partial<{}>> & import('vue').PublicProps;
|
|
9
10
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
10
11
|
$table: null;
|
|
11
12
|
selectedRecords: import('vue').ComputedRef<import('@vue/reactivity').UnwrapRefSimple<T>[]>;
|
|
13
|
+
reloadData: () => void;
|
|
12
14
|
}>): void;
|
|
13
15
|
attrs: any;
|
|
14
16
|
slots: Partial<Record<string, (_: {
|
|
@@ -126,6 +128,7 @@ declare const _default: <T extends Recordable = Recordable, B extends Recordable
|
|
|
126
128
|
};
|
|
127
129
|
emit: {
|
|
128
130
|
(e: "change", value: any[]): void;
|
|
131
|
+
(e: "selectionChange", value: T[]): void;
|
|
129
132
|
(e: "ready", value: EVirtTable): void;
|
|
130
133
|
};
|
|
131
134
|
}>) => import('vue').VNode & {
|