zhihao-ui 1.2.17 → 1.2.19

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.
Files changed (26) hide show
  1. package/dist/es/{Button-OpzeoolK.js → Button-CDKNl8Xy.js} +9 -9
  2. package/dist/es/{DetailHeader-Dy_GLl1j.js → DetailHeader-AxeEUXrE.js} +1 -1
  3. package/dist/es/{Dialog-DsjDYguS.js → Dialog-cXRhcAJo.js} +1 -1
  4. package/dist/es/{DiyDataTable-BzYgTozd.js → DiyDataTable-DnUtQ2uX.js} +1 -1
  5. package/dist/es/{EditInfoPair-D5IdY32c.js → EditInfoPair-B5_ufxbs.js} +1 -1
  6. package/dist/es/{FileWrapper-BWTQDfI0.js → FileWrapper-D7yKH6Y4.js} +1 -1
  7. package/dist/es/{InfoPair-BCfbK9Vi.js → InfoPair-65CeKiUv.js} +1 -1
  8. package/dist/es/{Input-Stgzni-P.js → Input-Bg2G2kBm.js} +1 -1
  9. package/dist/es/{Loading-CV65SoyW.js → Loading-CBGHPT0Z.js} +1 -1
  10. package/dist/es/{Map-f7AQFEm9.js → Map-BRt4EWtt.js} +1 -1
  11. package/dist/es/{MessageBox-7G0T_aYK.js → MessageBox-d6upGeyX.js} +5 -6
  12. package/dist/es/{MoneyInput-CILa4-8Q.js → MoneyInput-CQBBD25d.js} +2 -2
  13. package/dist/es/{PageHeadPanel-CAVlNQj7.js → PageHeadPanel-C1mqeOzI.js} +1 -1
  14. package/dist/es/Table-BxjxzoXm.js +1159 -0
  15. package/dist/es/{ToolTips-B1YUKWTm.js → ToolTips-C5Cm96bx.js} +1 -1
  16. package/dist/es/index.js +42 -36
  17. package/dist/index.css +1 -1
  18. package/dist/types/components/MessageBox/MessageBox.vue.d.ts +1 -1
  19. package/dist/types/components/MessageBox/index.d.ts +3 -0
  20. package/dist/types/components/Table/Table.vue.d.ts +2 -0
  21. package/dist/types/components/Table/components/tablePagination.vue.d.ts +12 -1
  22. package/dist/types/components/Table/index.d.ts +2 -0
  23. package/dist/umd/index.css +1 -1
  24. package/dist/umd/index.umd.cjs +10 -10
  25. package/package.json +1 -1
  26. package/dist/es/Table-B786GVKD.js +0 -1132
@@ -1,7 +1,7 @@
1
1
  import { ElMessageBoxOptions } from 'element-plus';
2
2
 
3
3
  type MessageBoxOptions = Partial<ElMessageBoxOptions>;
4
- export declare const ZhMessageBox: {
4
+ declare const ZhMessageBox: {
5
5
  confirm(message: string, title?: string, options?: MessageBoxOptions): Promise<import('element-plus').MessageBoxData>;
6
6
  alert(message: string, title?: string, options?: MessageBoxOptions): Promise<import('element-plus').MessageBoxData>;
7
7
  prompt(message: string, title?: string, options?: MessageBoxOptions): Promise<import('element-plus').MessageBoxData>;
@@ -1,5 +1,8 @@
1
+ import { ZhConfirm, ZhAlert, ZhPrompt } from './MessageBox.vue';
2
+
1
3
  export declare const ZhMessageBox: {
2
4
  confirm(message: string, title?: string, options?: Partial<import('element-plus').ElMessageBoxOptions>): Promise<import('element-plus').MessageBoxData>;
3
5
  alert(message: string, title?: string, options?: Partial<import('element-plus').ElMessageBoxOptions>): Promise<import('element-plus').MessageBoxData>;
4
6
  prompt(message: string, title?: string, options?: Partial<import('element-plus').ElMessageBoxOptions>): Promise<import('element-plus').MessageBoxData>;
5
7
  } & import('vue').Plugin;
8
+ export { ZhConfirm, ZhAlert, ZhPrompt };
@@ -33,9 +33,11 @@ declare function __VLS_template(): Partial<Record<"expand", (_: any) => any>> &
33
33
  selectedListIds: any[];
34
34
  isSelected: boolean;
35
35
  }): any;
36
+ searchBarBottom?(_: {}): any;
36
37
  append?(_: {}): any;
37
38
  empty?(_: {}): any;
38
39
  pagination?(_: {}): any;
40
+ zhPaginationLeftSlot?(_: any): any;
39
41
  };
40
42
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZhTableProps>, {
41
43
  columns: () => never[];
@@ -8,7 +8,13 @@ interface PaginationProps {
8
8
  handleSizeChange: (size: number) => void;
9
9
  handleCurrentChange: (currentPage: number) => void;
10
10
  }
11
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PaginationProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PaginationProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare function __VLS_template(): {
12
+ zhPaginationLeftSlot?(_: {
13
+ pageable: Pageable;
14
+ }): any;
15
+ };
16
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PaginationProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PaginationProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
18
  export default _default;
13
19
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
20
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -19,3 +25,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
19
25
  required: true;
20
26
  };
21
27
  };
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -2939,8 +2939,10 @@ export declare const ZhTable: {
2939
2939
  selectedListIds: any[];
2940
2940
  isSelected: boolean;
2941
2941
  }): any;
2942
+ searchBarBottom?(_: {}): any;
2942
2943
  append?(_: {}): any;
2943
2944
  empty?(_: {}): any;
2944
2945
  pagination?(_: {}): any;
2946
+ zhPaginationLeftSlot?(_: any): any;
2945
2947
  };
2946
2948
  }) & import('vue').Plugin;