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.
- package/dist/README.md.d.ts +2 -0
- package/dist/lkt-table.es.js +368 -225
- package/dist/lkt-table.umd.js +1 -1
- package/dist/{types → src}/components/LktHiddenRow.vue.d.ts +17 -13
- package/dist/src/components/LktTableCell.vue.d.ts +91 -0
- package/dist/{types → src}/components/LktTableRow.vue.d.ts +10 -6
- package/dist/{types → src}/functions/table-functions.d.ts +9 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/vite.config.d.ts +39 -0
- package/package.json +6 -1
- package/src/components/LktHiddenRow.vue +10 -3
- package/src/components/LktTableCell.vue +76 -0
- package/src/components/LktTableRow.vue +14 -2
- package/src/index.ts +1 -1
- package/src/lib-components/LktTable.vue +10 -2
- package/dist/types/index.d.ts +0 -6
- package/dist/types/instances/LktTableColumn.d.ts +0 -16
- package/dist/types/interfaces/TableColumn.d.ts +0 -9
- package/dist/{types → src}/lib-components/LktTable.vue.d.ts +7 -7
package/dist/types/index.d.ts
DELETED
|
@@ -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
|
-
}
|
|
@@ -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;
|