@zy-frontend/business 1.1.1 → 1.1.3

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.
@@ -3,8 +3,8 @@ import { ButtonType } from 'element-plus';
3
3
  import { ComponentOptionsMixin } from 'vue';
4
4
  import { ComponentProvideOptions } from 'vue';
5
5
  import { ComputedRef } from 'vue';
6
+ import { DefaultRow } from 'element-plus/es/components/table/src/table/defaults.mjs';
6
7
  import { DefineComponent } from 'vue';
7
- import { ElTableColumn } from 'element-plus';
8
8
  import { ExtractPropTypes } from 'vue';
9
9
  import { InjectionKey } from 'vue';
10
10
  import { PaginationProps } from 'element-plus';
@@ -16,6 +16,7 @@ import { PublicProps } from 'vue';
16
16
  import { Ref } from 'vue';
17
17
  import { RendererElement } from 'vue';
18
18
  import { RendererNode } from 'vue';
19
+ import { TableColumnProps as TableColumnProps_2 } from 'element-plus/es/components/table/src/table-column/defaults';
19
20
  import { TableProps } from 'element-plus';
20
21
  import { TreeKey } from 'element-plus/es/components/tree-v2/src/types.mjs';
21
22
  import { TreeNodeData } from 'element-plus/es/components/tree-v2/src/types.mjs';
@@ -728,9 +729,9 @@ declare function __VLS_template_12(): {
728
729
  };
729
730
 
730
731
  declare function __VLS_template_13(): Partial<Record<NonNullable<string | number>, (_: {
731
- row: any;
732
+ row: DefaultRow;
732
733
  prop: string;
733
- index: any;
734
+ index: number;
734
735
  column: ZYTableColumn;
735
736
  }) => any>> & {
736
737
  header?(_: {}): any;
@@ -1140,7 +1141,7 @@ export declare interface SplitterPanelConfig {
1140
1141
  /** number => px;以 '%' 结尾的字符串 => 百分比 */
1141
1142
  export declare type SplitterSize = number | string;
1142
1143
 
1143
- declare type TableColumnProps = Partial<Parameters<Exclude<(typeof ElTableColumn)['setup'], undefined>>[0]>;
1144
+ declare type TableColumnProps = Partial<TableColumnProps_2>;
1144
1145
 
1145
1146
  export declare function transferSearchConfigToSearchFormConfig(searchConfig: Record<string, any>[]): any[];
1146
1147
 
@@ -2103,6 +2104,6 @@ export declare enum ZYTableSortOrder {
2103
2104
  ASCENDING = "ascending"
2104
2105
  }
2105
2106
 
2106
- export declare type ZYTableTableProps = Omit<TableProps<ZYTableData>, 'data'>;
2107
+ export declare type ZYTableTableProps = Omit<TableProps<Record<string, any>>, 'data'>;
2107
2108
 
2108
2109
  export { }