zhihao-ui 1.2.13 → 1.2.14
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/es/{DiyDataTable-Dg2-p40F.js → DiyDataTable-D9plKikG.js} +94 -90
- package/dist/es/Table-B9yUodsT.js +1121 -0
- package/dist/es/index.js +3 -3
- package/dist/index.css +1 -1
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +3 -0
- package/dist/types/components/DiyDataTable/index.d.ts +3 -0
- package/dist/types/components/Table/components/TableColumn.vue.d.ts +2 -0
- package/dist/types/components/Table/types.d.ts +2 -2
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +2 -2
- package/package.json +1 -1
- package/dist/es/Table-R_03lfSM.js +0 -1111
- package/dist/types/components/MessageBox/types.d.ts +0 -20
- /package/dist/types/components/Table/{index.vue.d.ts → Table.vue.d.ts} +0 -0
|
@@ -3,6 +3,9 @@ import { DiyDataTableColumnItem, DiyDataType, DIY_DATA_TYPE } from './type';
|
|
|
3
3
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
4
4
|
row: any;
|
|
5
5
|
$index: any;
|
|
6
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
7
|
+
row: any;
|
|
8
|
+
$index: any;
|
|
6
9
|
}) => any>>;
|
|
7
10
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
11
|
rawData: {
|
|
@@ -155,6 +155,9 @@ export declare const ZhDiyDataTable: {
|
|
|
155
155
|
$slots: Partial<Record<string, (_: {
|
|
156
156
|
row: any;
|
|
157
157
|
$index: any;
|
|
158
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
159
|
+
row: any;
|
|
160
|
+
$index: any;
|
|
158
161
|
}) => any>>;
|
|
159
162
|
}) & import('vue').Plugin;
|
|
160
163
|
export * from './type';
|
|
@@ -2,8 +2,10 @@ import { ColumnProps } from '../types';
|
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
column: ColumnProps;
|
|
5
|
+
customColumn: boolean;
|
|
5
6
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
7
|
column: ColumnProps;
|
|
8
|
+
customColumn: boolean;
|
|
7
9
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
10
|
export default _default;
|
|
9
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode, ComponentPublicInstance, Ref } from 'vue';
|
|
2
2
|
import { TableColumnCtx } from 'element-plus/es/components/table/src/table-column/defaults';
|
|
3
|
-
import { ZhTableProps, default as ZhTableType } from './
|
|
3
|
+
import { ZhTableProps, default as ZhTableType } from './Table.vue';
|
|
4
4
|
|
|
5
5
|
export interface EnumProps {
|
|
6
6
|
label?: string;
|
|
@@ -70,7 +70,7 @@ export interface SortChangeEvent {
|
|
|
70
70
|
prop: string;
|
|
71
71
|
order: "ascending" | "descending" | null;
|
|
72
72
|
}
|
|
73
|
-
export type
|
|
73
|
+
export type ZhTableInstance = Omit<InstanceType<typeof ZhTableType>, keyof ComponentPublicInstance | keyof ZhTableProps>;
|
|
74
74
|
export type BreakPoint = "xs" | "sm" | "md" | "lg" | "xl";
|
|
75
75
|
export type Responsive = {
|
|
76
76
|
span?: number;
|