holyes-table 1.0.6 → 1.0.7

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.
@@ -260,7 +260,10 @@ export type HolyesTableGetItemHeightOptions = {
260
260
  /** 表格内容的样式 */
261
261
  commonStyles: any;
262
262
  /** 表格内容的样式 */
263
- itemStyles: any;
263
+ itemStyles: {
264
+ fontWeight: string;
265
+ fontSize: string;
266
+ };
264
267
  /** 表格内容的高度 */
265
268
  divLineHeight: number;
266
269
  /** 每行的最小高度 */
@@ -57,7 +57,7 @@ export declare const useHolyesTable: (dataObj: {
57
57
  fixedColumnsLeft: import('vue').Ref<string[], string[]>;
58
58
  fixedColumnsRight: import('vue').Ref<string[], string[]>;
59
59
  getGridStyles: () => void;
60
- divLineHeightOffset: any;
60
+ divLineHeightOffset: number;
61
61
  currentRow: import('vue').ShallowRef<any, any>;
62
62
  cellClick: (item: any, column: HolyesTableColumnPropsType) => void;
63
63
  headerClick: (column: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holyes-table",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "合力思虚拟滚动表格组件",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -1,11 +0,0 @@
1
- import { HolyesTableGetItemHeightOptions } from '../type';
2
- export declare function usePretextTableGetItemHeight(): {
3
- /** 获取每一行的高度 */
4
- pretextTableGetItemHeight: (obj: HolyesTableGetItemHeightOptions) => Promise<{
5
- tempItemHeights: number;
6
- heightDatas: {
7
- pretextHeight: number;
8
- id: string;
9
- }[];
10
- }>;
11
- };