@a-vision-software/vue-input-components 1.4.20 → 1.4.22

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/README.md CHANGED
@@ -44,14 +44,16 @@ A checkbox component with support for single/multiple selection and various pres
44
44
 
45
45
  ### [List](docs/components/List.md)
46
46
 
47
- A flexible and customizable list component that supports sorting, filtering, and different presentation styles.
47
+ A flexible and customizable list component that supports sorting, filtering, header tooltips, fixed rows, and different presentation styles.
48
48
 
49
49
  ## Quick Installation
50
50
 
51
51
  ```bash
52
52
  npm install @a-vision-software/vue-input-components
53
53
  ```
54
+
54
55
  ### Declare global types
56
+
55
57
  Add the global types to your `tsconfig.app.json`
56
58
 
57
59
  ```
@@ -25,6 +25,7 @@ interface ListColumn {
25
25
  minWidth?: string;
26
26
  maxWidth?: string;
27
27
  cellClasses?: conditionalClassList;
28
+ headerTooltip?: string;
28
29
  }
29
30
  interface ListFilter {
30
31
  placeholder?: string;
@@ -32,7 +33,7 @@ interface ListFilter {
32
33
  }
33
34
  interface ListProps {
34
35
  columns: ListColumn[];
35
- data: any[];
36
+ data: ListRowData[];
36
37
  actions?: ListActionProps[];
37
38
  CSVDownload?: string;
38
39
  filter?: {
@@ -57,4 +58,12 @@ interface ListIconProps {
57
58
  icon: string;
58
59
  color?: string;
59
60
  }
60
- export type { ListPresentation, ListProps, ListAction, ListEmits, ListComponent, ListIconProps, ListColumn, ListFilter, };
61
+ interface ListRowData {
62
+ excludeFromSort?: boolean;
63
+ excludeFromFilter?: boolean;
64
+ fixed?: 'top' | 'bottom';
65
+ selected?: boolean;
66
+ class?: string;
67
+ [key: string]: any;
68
+ }
69
+ export type { ListPresentation, ListProps, ListAction, ListEmits, ListComponent, ListIconProps, ListColumn, ListFilter, ListRowData, };
@@ -17,6 +17,8 @@ export type TextInputProps = {
17
17
  bgColor?: string;
18
18
  currencyFormatter?: Intl.NumberFormat;
19
19
  autosave?: (value: string) => Promise<void>;
20
+ autosaveOnBlur?: boolean;
21
+ autosaveOnEnter?: boolean;
20
22
  error?: string;
21
23
  } & ({
22
24
  modelValue: string;