lkt-table 1.4.3 → 2.0.2

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,164 +0,0 @@
1
- import { Column, TableRowType, TableType, ValidTablePermission, ValidTableRowTypeValue, LktObject } from "lkt-vue-kernel";
2
- type __VLS_Props = {
3
- modelValue: LktObject[];
4
- type?: TableType;
5
- columns: Column[];
6
- sorter?: Function;
7
- draggableChecker?: Function;
8
- checkValidDrag?: Function;
9
- renderDrag?: boolean | Function;
10
- disabledDrag?: boolean | Function;
11
- sortable?: boolean;
12
- hideEmptyColumns?: boolean;
13
- initialSorting?: boolean;
14
- draggableItemKey?: string;
15
- itemDisplayChecker?: Function;
16
- loading?: boolean;
17
- page?: number;
18
- perms?: ValidTablePermission[];
19
- resource?: string;
20
- noResultsText?: string;
21
- title?: string;
22
- titleTag?: string;
23
- titleIcon?: string;
24
- headerClass?: string;
25
- wrapContentTag?: string;
26
- wrapContentClass?: string;
27
- itemsContainerClass?: string;
28
- filters?: LktObject[];
29
- dataStateConfig?: LktObject;
30
- hiddenSave?: boolean;
31
- editMode?: boolean;
32
- saveDisabled?: boolean;
33
- saveValidator?: Function;
34
- saveConfirm?: string;
35
- confirmData?: LktObject;
36
- saveResource?: string;
37
- saveResourceData?: LktObject;
38
- saveTooltipEngine?: string;
39
- splitSave?: boolean;
40
- saveText?: string;
41
- createText?: string;
42
- createIcon?: string;
43
- createRoute?: string;
44
- dropText?: string;
45
- dropIcon?: string;
46
- editText?: string;
47
- editIcon?: string;
48
- editLink?: string;
49
- editModeText?: string;
50
- switchEditionEnabled?: boolean;
51
- createDisabled?: boolean;
52
- dropConfirm?: string;
53
- dropResource?: string;
54
- addNavigation?: boolean;
55
- itemMode?: boolean;
56
- createEnabledValidator?: Function;
57
- newValueGenerator?: Function;
58
- requiredItemsForTopCreate?: number;
59
- requiredItemsForBottomCreate?: number;
60
- slotItemVar?: string;
61
- rowDisplayType?: ValidTableRowTypeValue;
62
- modal?: string;
63
- modalData?: LktObject;
64
- };
65
- declare function __VLS_template(): any;
66
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
67
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
68
- getItemByEvent: (e: any) => LktObject | undefined;
69
- getItemByIndex: (index: number) => LktObject;
70
- getRowByIndex: (index: number) => Element | null | undefined;
71
- doRefresh: () => void;
72
- getHtml: () => null;
73
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
74
- sort: (...args: any[]) => void;
75
- error: (...args: any[]) => void;
76
- page: (...args: any[]) => void;
77
- click: (...args: any[]) => void;
78
- "update:modelValue": (...args: any[]) => void;
79
- "update:perms": (...args: any[]) => void;
80
- "update:loading": (...args: any[]) => void;
81
- save: (...args: any[]) => void;
82
- "before-save": (...args: any[]) => void;
83
- "read-response": (...args: any[]) => void;
84
- "click-create": (...args: any[]) => void;
85
- "drag-end": (...args: any[]) => void;
86
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
87
- onSort?: ((...args: any[]) => any) | undefined;
88
- onError?: ((...args: any[]) => any) | undefined;
89
- onPage?: ((...args: any[]) => any) | undefined;
90
- onClick?: ((...args: any[]) => any) | undefined;
91
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
92
- "onUpdate:perms"?: ((...args: any[]) => any) | undefined;
93
- "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
94
- onSave?: ((...args: any[]) => any) | undefined;
95
- "onBefore-save"?: ((...args: any[]) => any) | undefined;
96
- "onRead-response"?: ((...args: any[]) => any) | undefined;
97
- "onClick-create"?: ((...args: any[]) => any) | undefined;
98
- "onDrag-end"?: ((...args: any[]) => any) | undefined;
99
- }>, {
100
- type: TableType;
101
- columns: Column[];
102
- page: number;
103
- loading: boolean;
104
- title: string;
105
- filters: LktObject[];
106
- createText: string;
107
- resource: string;
108
- confirmData: LktObject;
109
- modal: string;
110
- sortable: boolean;
111
- modelValue: LktObject[];
112
- noResultsText: string;
113
- hideEmptyColumns: boolean;
114
- rowDisplayType: TableRowType | ((...args: any[]) => TableRowType);
115
- perms: ValidTablePermission[];
116
- editMode: boolean;
117
- dataStateConfig: LktObject;
118
- sorter: Function;
119
- initialSorting: boolean;
120
- draggableChecker: Function;
121
- checkValidDrag: Function;
122
- renderDrag: boolean | Function;
123
- draggableItemKey: string;
124
- titleTag: string;
125
- titleIcon: string;
126
- headerClass: string;
127
- wrapContentTag: string;
128
- wrapContentClass: string;
129
- itemsContainerClass: string;
130
- hiddenSave: boolean;
131
- saveDisabled: boolean;
132
- saveValidator: Function;
133
- saveConfirm: string;
134
- saveResource: string;
135
- saveResourceData: LktObject;
136
- saveTooltipEngine: string;
137
- splitSave: boolean;
138
- saveText: string;
139
- createIcon: string;
140
- createRoute: string;
141
- dropText: string;
142
- dropIcon: string;
143
- editText: string;
144
- editIcon: string;
145
- editLink: string;
146
- editModeText: string;
147
- switchEditionEnabled: boolean;
148
- dropConfirm: string;
149
- dropResource: string;
150
- addNavigation: boolean;
151
- createEnabledValidator: Function;
152
- newValueGenerator: Function;
153
- requiredItemsForTopCreate: number;
154
- requiredItemsForBottomCreate: number;
155
- slotItemVar: string;
156
- itemMode: boolean;
157
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, any, any>;
158
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
159
- export default _default;
160
- type __VLS_WithTemplateSlots<T, S> = T & {
161
- new (): {
162
- $slots: S;
163
- };
164
- };
File without changes