lkt-table 1.0.13 → 1.0.14

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.
@@ -1,6 +0,0 @@
1
- import { App } from "vue";
2
- export { createColumn, createHiddenColumn } from "./functions/table-functions";
3
- declare const LktTable: {
4
- install: (app: App) => void;
5
- };
6
- export default LktTable;
@@ -1,16 +0,0 @@
1
- import { TableColumn } from "../interfaces/TableColumn";
2
- export declare class LktTableColumn implements TableColumn {
3
- key: string;
4
- label: string;
5
- sortable: boolean;
6
- hidden: boolean;
7
- formatter?: Function;
8
- checkEmpty?: Function;
9
- colspan?: Function | boolean | number;
10
- constructor(key?: string, label?: string);
11
- setIsSortable(status?: boolean): this;
12
- setIsHidden(status?: boolean): this;
13
- setFormatter(formatter?: any): this;
14
- setEmptyChecker(checker?: any): this;
15
- setColSpan(checker?: any): this;
16
- }
@@ -1,9 +0,0 @@
1
- export interface TableColumn {
2
- key: string;
3
- label: string;
4
- sortable: boolean;
5
- hidden?: boolean;
6
- formatter?: Function;
7
- checkEmpty?: Function;
8
- colspan?: Function | boolean | number;
9
- }
@@ -37,8 +37,8 @@ declare const _default: {
37
37
  };
38
38
  }>> & {
39
39
  onClick?: ((...args: any[]) => any) | undefined;
40
- onSort?: ((...args: any[]) => any) | undefined;
41
40
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
+ onSort?: ((...args: any[]) => any) | undefined;
42
42
  }, {
43
43
  getItemByEvent: (e: any) => LktObject | undefined;
44
44
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "click" | "update:modelValue")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
@@ -76,12 +76,12 @@ declare const _default: {
76
76
  };
77
77
  }>> & {
78
78
  onClick?: ((...args: any[]) => any) | undefined;
79
- onSort?: ((...args: any[]) => any) | undefined;
80
79
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
+ onSort?: ((...args: any[]) => any) | undefined;
81
81
  }, {
82
82
  columns: LktTableColumn[];
83
- sortable: boolean;
84
83
  modelValue: LktObject[];
84
+ sortable: boolean;
85
85
  sorter: Function;
86
86
  hideEmptyColumns: boolean;
87
87
  draggableChecker: Function;
@@ -129,14 +129,14 @@ declare const _default: {
129
129
  };
130
130
  }>> & {
131
131
  onClick?: ((...args: any[]) => any) | undefined;
132
- onSort?: ((...args: any[]) => any) | undefined;
133
132
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
+ onSort?: ((...args: any[]) => any) | undefined;
134
134
  }, {
135
135
  getItemByEvent: (e: any) => LktObject | undefined;
136
136
  }, {}, {}, {}, {
137
137
  columns: LktTableColumn[];
138
- sortable: boolean;
139
138
  modelValue: LktObject[];
139
+ sortable: boolean;
140
140
  sorter: Function;
141
141
  hideEmptyColumns: boolean;
142
142
  draggableChecker: Function;
@@ -181,14 +181,14 @@ declare const _default: {
181
181
  };
182
182
  }>> & {
183
183
  onClick?: ((...args: any[]) => any) | undefined;
184
- onSort?: ((...args: any[]) => any) | undefined;
185
184
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
185
+ onSort?: ((...args: any[]) => any) | undefined;
186
186
  }, {
187
187
  getItemByEvent: (e: any) => LktObject | undefined;
188
188
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "click" | "update:modelValue")[], "sort" | "click" | "update:modelValue", {
189
189
  columns: LktTableColumn[];
190
- sortable: boolean;
191
190
  modelValue: LktObject[];
191
+ sortable: boolean;
192
192
  sorter: Function;
193
193
  hideEmptyColumns: boolean;
194
194
  draggableChecker: Function;