@zeedhi/vuetify 1.70.0 → 1.72.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/vuetify",
3
- "version": "1.70.0",
3
+ "version": "1.72.0",
4
4
  "description": "Zeedhi Components based on Vuetify",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -51,5 +51,5 @@
51
51
  "@types/prismjs": "^1.16.2",
52
52
  "@types/sortablejs": "^1.10.6"
53
53
  },
54
- "gitHead": "c6abf8b59b07dcde62b8035629ed71c5b593ed0f"
54
+ "gitHead": "980a2536aef9dd438c953ee7797445eb2cdebb06"
55
55
  }
@@ -35,12 +35,16 @@ export default class ZdGrid extends ZdIterable {
35
35
  changeLoading(value: boolean): void;
36
36
  updateStates(): void;
37
37
  protected allselectedState: boolean;
38
+ /**
39
+ * Left distance for each column
40
+ */
41
+ fixedRight: IDictionary<string>;
38
42
  mounted(): void;
39
43
  private setHeight;
40
44
  private setViewGetWidth;
41
45
  parseWidth(width?: string): number;
42
46
  calcWidth(column: Column, width?: string): string;
43
- setSpanWidth(column: Column): string | undefined;
47
+ setSpanWidth(column: Column): string;
44
48
  private sortColumns;
45
49
  protected getColumnsDOMOrder(): Column[];
46
50
  private checkMove;
@@ -80,9 +84,8 @@ export default class ZdGrid extends ZdIterable {
80
84
  };
81
85
  checkOverflow(event: MouseEvent, columnOverflow: number | string): void;
82
86
  removeTooltip(): void;
83
- getWidthStyle(column: Column): {
84
- width: string;
85
- 'min-width': string;
86
- 'max-width': string;
87
- };
87
+ getWidthStyle(column: Column): {};
88
+ private tableHeader;
89
+ private tableBody;
90
+ private updateFixedColumnsAction;
88
91
  }
@@ -1,6 +1,11 @@
1
1
  import { GridEditable, GridColumnEditable, IGridColumnEditable, Column } from '@zeedhi/common';
2
2
  import { IDictionary } from '@zeedhi/core';
3
3
  import ZdGrid from './ZdGrid';
4
+ export interface IColumnWidths {
5
+ width?: string;
6
+ 'max-width'?: string;
7
+ 'min-width'?: string;
8
+ }
4
9
  /**
5
10
  * Grid component
6
11
  */
@@ -39,9 +44,5 @@ export default class ZdGridEditable extends ZdGrid {
39
44
  private navigateUp;
40
45
  private navigateDown;
41
46
  hasToggleIcon(column: Column, row: IDictionary<any>): boolean;
42
- getWidthStyle(column: Column): {
43
- width: string;
44
- 'min-width': string;
45
- 'max-width': string;
46
- };
47
+ getWidthStyle(column: Column): IColumnWidths;
47
48
  }
@@ -11,6 +11,7 @@ export default class ZdGridCellContent extends Vue {
11
11
  cssClass: (IDictionary<boolean> | string)[];
12
12
  row: IDictionary<any>;
13
13
  getWidthStyle: Function;
14
+ hasUsingCellText: boolean;
14
15
  mouseenter(event: Event): void;
15
16
  mouseleave(event: Event): void;
16
17
  get cellProps(): {
@@ -10,14 +10,18 @@ export default class ZdTreeGrid extends ZdGrid {
10
10
  fetchOnDemand: string | boolean;
11
11
  flat: string | boolean;
12
12
  detach: boolean;
13
+ fieldHasChild: string;
13
14
  footerSlot: IComponentRender[];
14
15
  instance: TreeGrid;
15
16
  instanceType: typeof TreeGrid;
17
+ private originalChangeLayout?;
16
18
  mounted(): void;
17
- toggleExpand(row: IDictionary, rowIndex: number): Promise<void>;
19
+ toggleExpand(row: IDictionary, rowIndex: number, event?: PointerEvent): Promise<void>;
20
+ orderColumnVisibility(): void;
18
21
  checkSome(row: IDictionary<any>): boolean;
19
22
  checkEvery(row: IDictionary<any>): any;
20
23
  selectClick(index: number, isSelected: boolean, event: Event): void;
21
24
  getVisibleData(): IDictionary<any>[];
22
25
  getData(): IDictionary<any>[];
26
+ private onChangeLayout;
23
27
  }
@@ -1,12 +1,14 @@
1
1
  import { TreeGridEditable, GridColumnEditable, IGridColumnEditable, Column } from '@zeedhi/common';
2
2
  import { IDictionary } from '@zeedhi/core';
3
3
  import ZdTreeGrid from './ZdTreeGrid';
4
+ import { IColumnWidths } from '../zd-grid/ZdGridEditable';
4
5
  /**
5
6
  * Tree Grid component
6
7
  */
7
8
  export default class ZdTreeGridEditable extends ZdTreeGrid {
8
9
  doubleClickEdit: boolean | string;
9
10
  canEditRow: Function | string;
11
+ hasUsingCellText: boolean;
10
12
  instance: TreeGridEditable;
11
13
  instanceType: typeof TreeGridEditable;
12
14
  inputToFocus: string;
@@ -39,9 +41,5 @@ export default class ZdTreeGridEditable extends ZdTreeGrid {
39
41
  private navigateUp;
40
42
  private navigateDown;
41
43
  hasToggleIcon(column: Column, row: IDictionary<any>): boolean;
42
- getWidthStyle(column: Column): {
43
- width: string;
44
- 'min-width': string;
45
- 'max-width': string;
46
- };
44
+ getWidthStyle(column: Column): IColumnWidths;
47
45
  }
@@ -6,5 +6,9 @@ export default class ZdTreeGridCellContent extends ZdGridCellContent {
6
6
  rowIndex?: number;
7
7
  search?: string;
8
8
  expandClass?: string;
9
+ fieldHasChild?: string;
10
+ hasUsingCellText: boolean;
9
11
  formatSearchResult(text: string): string;
12
+ hasShowChevron(row?: any): boolean;
13
+ hasShowChevronInTreeGrid(headerIndex?: number, selectable?: boolean): boolean | undefined;
10
14
  }