pangea-lib 4.0.518 → 4.0.519
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/main.cjs.js +2 -2
- package/dist/main.css +1 -1
- package/dist/main.es.js +23 -23
- package/dist/types/components/PgaItemSelected.vue.d.ts +27 -38
- package/dist/types/components/form/inputs/PgaInputSelect.vue.d.ts +135 -94
- package/dist/types/components/form/inputs/PgaSelect.vue.d.ts +111 -80
- package/dist/types/components/table/PgaTable.vue.d.ts +190 -204
- package/dist/types/components/table/components/PgaGroupTitle.vue.d.ts +17 -32
- package/dist/types/components/table/components/PgaItemsList.vue.d.ts +93 -102
- package/package.json +1 -1
|
@@ -1,211 +1,197 @@
|
|
|
1
1
|
import { PlainObject } from 'pangea-helpers';
|
|
2
2
|
import { Item, Columns, ColumnAlign, SearchParams, Indentation, DropdownOption, StrOrFn, Icon } from '../../types';
|
|
3
3
|
|
|
4
|
-
declare const _default: <
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
5
|
+
searchParams: import('vue').PropType<SearchParams>;
|
|
6
|
+
itemsSelected: import('vue').PropType<Item[]>;
|
|
7
|
+
hideTitles: {
|
|
8
|
+
type: import('vue').PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
columns: {
|
|
11
|
+
type: import('vue').PropType<Columns>;
|
|
12
|
+
};
|
|
13
|
+
columnsAlign: {
|
|
14
|
+
type: import('vue').PropType<ColumnAlign>;
|
|
15
|
+
};
|
|
16
|
+
createItemBtnText: {
|
|
17
|
+
type: import('vue').PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
withEditButton: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
editToName: {
|
|
23
|
+
type: import('vue').PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
deleteFn: {
|
|
26
|
+
type: import('vue').PropType<(item: Item) => Promise<void>>;
|
|
27
|
+
};
|
|
28
|
+
deleteBtnIcon: {
|
|
29
|
+
type: import('vue').PropType<Icon>;
|
|
30
|
+
};
|
|
31
|
+
deleteBtnText: {
|
|
32
|
+
type: import('vue').PropType<StrOrFn>;
|
|
33
|
+
};
|
|
34
|
+
toName: {
|
|
35
|
+
type: import('vue').PropType<string>;
|
|
36
|
+
};
|
|
37
|
+
actionsOptions: {
|
|
38
|
+
type: import('vue').PropType<DropdownOption[]>;
|
|
39
|
+
};
|
|
40
|
+
useDropdown: {
|
|
41
|
+
type: import('vue').PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
items: {
|
|
44
|
+
type: import('vue').PropType<Item[]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
descriptionField: {
|
|
48
|
+
type: import('vue').PropType<string>;
|
|
49
|
+
};
|
|
50
|
+
totalCount: {
|
|
51
|
+
type: import('vue').PropType<number>;
|
|
52
|
+
};
|
|
53
|
+
groupByFn: {
|
|
54
|
+
type: import('vue').PropType<(item: Item) => string>;
|
|
55
|
+
};
|
|
56
|
+
groupByDate: {
|
|
57
|
+
type: import('vue').PropType<string | boolean>;
|
|
58
|
+
};
|
|
59
|
+
reduceGroupTitleFn: {
|
|
60
|
+
type: import('vue').PropType<(items: Item[]) => string>;
|
|
61
|
+
};
|
|
62
|
+
noItemsLabel: {
|
|
63
|
+
type: import('vue').PropType<StrOrFn>;
|
|
64
|
+
};
|
|
65
|
+
noDisplayNoItemsIcon: {
|
|
66
|
+
type: import('vue').PropType<boolean>;
|
|
67
|
+
};
|
|
68
|
+
noSearch: {
|
|
69
|
+
type: import('vue').PropType<boolean>;
|
|
70
|
+
};
|
|
71
|
+
searchInputPlaceholder: {
|
|
72
|
+
type: import('vue').PropType<string>;
|
|
73
|
+
};
|
|
74
|
+
filters: {
|
|
75
|
+
type: import('vue').PropType<PlainObject>;
|
|
76
|
+
};
|
|
77
|
+
indentation: {
|
|
78
|
+
type: import('vue').PropType<Indentation>;
|
|
79
|
+
};
|
|
80
|
+
isLoading: {
|
|
81
|
+
type: import('vue').PropType<boolean>;
|
|
82
|
+
};
|
|
83
|
+
secondary: {
|
|
84
|
+
type: import('vue').PropType<boolean>;
|
|
85
|
+
};
|
|
86
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
87
|
+
refreshList: () => void;
|
|
88
|
+
editItem: (item: Item) => void;
|
|
89
|
+
createItem: () => void;
|
|
90
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
91
|
+
searchParams: import('vue').PropType<SearchParams>;
|
|
92
|
+
itemsSelected: import('vue').PropType<Item[]>;
|
|
93
|
+
hideTitles: {
|
|
94
|
+
type: import('vue').PropType<boolean>;
|
|
95
|
+
};
|
|
96
|
+
columns: {
|
|
97
|
+
type: import('vue').PropType<Columns>;
|
|
98
|
+
};
|
|
99
|
+
columnsAlign: {
|
|
100
|
+
type: import('vue').PropType<ColumnAlign>;
|
|
101
|
+
};
|
|
102
|
+
createItemBtnText: {
|
|
103
|
+
type: import('vue').PropType<string>;
|
|
104
|
+
};
|
|
105
|
+
withEditButton: {
|
|
106
|
+
type: import('vue').PropType<boolean>;
|
|
107
|
+
};
|
|
108
|
+
editToName: {
|
|
109
|
+
type: import('vue').PropType<string>;
|
|
110
|
+
};
|
|
111
|
+
deleteFn: {
|
|
112
|
+
type: import('vue').PropType<(item: Item) => Promise<void>>;
|
|
113
|
+
};
|
|
114
|
+
deleteBtnIcon: {
|
|
115
|
+
type: import('vue').PropType<Icon>;
|
|
116
|
+
};
|
|
117
|
+
deleteBtnText: {
|
|
118
|
+
type: import('vue').PropType<StrOrFn>;
|
|
119
|
+
};
|
|
120
|
+
toName: {
|
|
121
|
+
type: import('vue').PropType<string>;
|
|
122
|
+
};
|
|
123
|
+
actionsOptions: {
|
|
124
|
+
type: import('vue').PropType<DropdownOption[]>;
|
|
125
|
+
};
|
|
126
|
+
useDropdown: {
|
|
127
|
+
type: import('vue').PropType<boolean>;
|
|
128
|
+
};
|
|
129
|
+
items: {
|
|
130
|
+
type: import('vue').PropType<Item[]>;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
descriptionField: {
|
|
134
|
+
type: import('vue').PropType<string>;
|
|
135
|
+
};
|
|
136
|
+
totalCount: {
|
|
137
|
+
type: import('vue').PropType<number>;
|
|
138
|
+
};
|
|
139
|
+
groupByFn: {
|
|
140
|
+
type: import('vue').PropType<(item: Item) => string>;
|
|
141
|
+
};
|
|
142
|
+
groupByDate: {
|
|
143
|
+
type: import('vue').PropType<string | boolean>;
|
|
144
|
+
};
|
|
145
|
+
reduceGroupTitleFn: {
|
|
146
|
+
type: import('vue').PropType<(items: Item[]) => string>;
|
|
147
|
+
};
|
|
148
|
+
noItemsLabel: {
|
|
149
|
+
type: import('vue').PropType<StrOrFn>;
|
|
150
|
+
};
|
|
151
|
+
noDisplayNoItemsIcon: {
|
|
152
|
+
type: import('vue').PropType<boolean>;
|
|
153
|
+
};
|
|
154
|
+
noSearch: {
|
|
155
|
+
type: import('vue').PropType<boolean>;
|
|
156
|
+
};
|
|
157
|
+
searchInputPlaceholder: {
|
|
158
|
+
type: import('vue').PropType<string>;
|
|
159
|
+
};
|
|
160
|
+
filters: {
|
|
161
|
+
type: import('vue').PropType<PlainObject>;
|
|
162
|
+
};
|
|
163
|
+
indentation: {
|
|
164
|
+
type: import('vue').PropType<Indentation>;
|
|
165
|
+
};
|
|
166
|
+
isLoading: {
|
|
167
|
+
type: import('vue').PropType<boolean>;
|
|
168
|
+
};
|
|
169
|
+
secondary: {
|
|
170
|
+
type: import('vue').PropType<boolean>;
|
|
171
|
+
};
|
|
172
|
+
}>> & {
|
|
12
173
|
onRefreshList?: () => any;
|
|
13
|
-
|
|
14
|
-
totalCount?: number;
|
|
15
|
-
groupByFn?: (item: T) => string;
|
|
16
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
17
|
-
withEditButton?: boolean;
|
|
18
|
-
editToName?: string;
|
|
19
|
-
deleteBtnIcon?: Icon;
|
|
20
|
-
deleteBtnText?: StrOrFn;
|
|
21
|
-
onEditItem?: (item: T) => any;
|
|
174
|
+
onEditItem?: (item: Item) => any;
|
|
22
175
|
onCreateItem?: () => any;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}) => any;
|
|
44
|
-
mainItem?: (props: {
|
|
45
|
-
item: T;
|
|
46
|
-
}) => any;
|
|
47
|
-
smallDevicesItem?: (props: {
|
|
48
|
-
item: T;
|
|
49
|
-
}) => any;
|
|
50
|
-
} & Record<string, (props: {
|
|
51
|
-
item: T;
|
|
52
|
-
}) => any>>> & {
|
|
53
|
-
header?: () => any;
|
|
54
|
-
filters?: () => any;
|
|
55
|
-
itemsSelected?: () => any;
|
|
56
|
-
actionsButtons?: (props: {
|
|
57
|
-
item: T;
|
|
58
|
-
}) => any;
|
|
59
|
-
mainItem?: (props: {
|
|
60
|
-
item: T;
|
|
61
|
-
}) => any;
|
|
62
|
-
smallDevicesItem?: (props: {
|
|
63
|
-
item: T;
|
|
64
|
-
}) => any;
|
|
65
|
-
} & Record<string, (props: {
|
|
66
|
-
item: T;
|
|
67
|
-
}) => any>;
|
|
68
|
-
attrs: any;
|
|
69
|
-
emit: ((evt: "refreshList") => void) & ((evt: "editItem", item: T) => void) & ((evt: "createItem") => void);
|
|
70
|
-
}, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
|
|
71
|
-
props: {
|
|
72
|
-
secondary?: boolean;
|
|
73
|
-
columns?: Columns;
|
|
74
|
-
filters?: PlainObject;
|
|
75
|
-
isLoading?: boolean;
|
|
76
|
-
items: T[];
|
|
77
|
-
deleteFn?: (item: T) => Promise<void>;
|
|
78
|
-
toName?: string;
|
|
79
|
-
onRefreshList?: () => any;
|
|
80
|
-
descriptionField?: string;
|
|
81
|
-
totalCount?: number;
|
|
82
|
-
groupByFn?: (item: T) => string;
|
|
83
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
84
|
-
withEditButton?: boolean;
|
|
85
|
-
editToName?: string;
|
|
86
|
-
deleteBtnIcon?: Icon;
|
|
87
|
-
deleteBtnText?: StrOrFn;
|
|
88
|
-
onEditItem?: (item: T) => any;
|
|
89
|
-
onCreateItem?: () => any;
|
|
90
|
-
hideTitles?: boolean;
|
|
91
|
-
columnsAlign?: ColumnAlign;
|
|
92
|
-
createItemBtnText?: string;
|
|
93
|
-
actionsOptions?: DropdownOption[];
|
|
94
|
-
useDropdown?: boolean;
|
|
95
|
-
groupByDate?: boolean | string;
|
|
96
|
-
noItemsLabel?: StrOrFn;
|
|
97
|
-
noDisplayNoItemsIcon?: boolean;
|
|
98
|
-
noSearch?: boolean;
|
|
99
|
-
searchInputPlaceholder?: string;
|
|
100
|
-
indentation?: Indentation;
|
|
101
|
-
searchParams?: SearchParams;
|
|
102
|
-
itemsSelected?: T[];
|
|
103
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
104
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
105
|
-
attrs: any;
|
|
106
|
-
slots: Readonly<NonNullable<{
|
|
107
|
-
header?: () => any;
|
|
108
|
-
filters?: () => any;
|
|
109
|
-
itemsSelected?: () => any;
|
|
110
|
-
actionsButtons?: (props: {
|
|
111
|
-
item: T;
|
|
112
|
-
}) => any;
|
|
113
|
-
mainItem?: (props: {
|
|
114
|
-
item: T;
|
|
115
|
-
}) => any;
|
|
116
|
-
smallDevicesItem?: (props: {
|
|
117
|
-
item: T;
|
|
118
|
-
}) => any;
|
|
119
|
-
} & Record<string, (props: {
|
|
120
|
-
item: T;
|
|
121
|
-
}) => any>>> & {
|
|
122
|
-
header?: () => any;
|
|
123
|
-
filters?: () => any;
|
|
124
|
-
itemsSelected?: () => any;
|
|
125
|
-
actionsButtons?: (props: {
|
|
126
|
-
item: T;
|
|
127
|
-
}) => any;
|
|
128
|
-
mainItem?: (props: {
|
|
129
|
-
item: T;
|
|
130
|
-
}) => any;
|
|
131
|
-
smallDevicesItem?: (props: {
|
|
132
|
-
item: T;
|
|
133
|
-
}) => any;
|
|
134
|
-
} & Record<string, (props: {
|
|
135
|
-
item: T;
|
|
136
|
-
}) => any>;
|
|
137
|
-
emit: ((evt: "refreshList") => void) & ((evt: "editItem", item: T) => void) & ((evt: "createItem") => void);
|
|
138
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
139
|
-
[key: string]: any;
|
|
140
|
-
}> & {
|
|
141
|
-
__ctx?: {
|
|
142
|
-
props: {
|
|
143
|
-
secondary?: boolean;
|
|
144
|
-
columns?: Columns;
|
|
145
|
-
filters?: PlainObject;
|
|
146
|
-
isLoading?: boolean;
|
|
147
|
-
items: T[];
|
|
148
|
-
deleteFn?: (item: T) => Promise<void>;
|
|
149
|
-
toName?: string;
|
|
150
|
-
onRefreshList?: () => any;
|
|
151
|
-
descriptionField?: string;
|
|
152
|
-
totalCount?: number;
|
|
153
|
-
groupByFn?: (item: T) => string;
|
|
154
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
155
|
-
withEditButton?: boolean;
|
|
156
|
-
editToName?: string;
|
|
157
|
-
deleteBtnIcon?: Icon;
|
|
158
|
-
deleteBtnText?: StrOrFn;
|
|
159
|
-
onEditItem?: (item: T) => any;
|
|
160
|
-
onCreateItem?: () => any;
|
|
161
|
-
hideTitles?: boolean;
|
|
162
|
-
columnsAlign?: ColumnAlign;
|
|
163
|
-
createItemBtnText?: string;
|
|
164
|
-
actionsOptions?: DropdownOption[];
|
|
165
|
-
useDropdown?: boolean;
|
|
166
|
-
groupByDate?: boolean | string;
|
|
167
|
-
noItemsLabel?: StrOrFn;
|
|
168
|
-
noDisplayNoItemsIcon?: boolean;
|
|
169
|
-
noSearch?: boolean;
|
|
170
|
-
searchInputPlaceholder?: string;
|
|
171
|
-
indentation?: Indentation;
|
|
172
|
-
searchParams?: SearchParams;
|
|
173
|
-
itemsSelected?: T[];
|
|
174
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
175
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
176
|
-
attrs: any;
|
|
177
|
-
slots: Readonly<NonNullable<{
|
|
178
|
-
header?: () => any;
|
|
179
|
-
filters?: () => any;
|
|
180
|
-
itemsSelected?: () => any;
|
|
181
|
-
actionsButtons?: (props: {
|
|
182
|
-
item: T;
|
|
183
|
-
}) => any;
|
|
184
|
-
mainItem?: (props: {
|
|
185
|
-
item: T;
|
|
186
|
-
}) => any;
|
|
187
|
-
smallDevicesItem?: (props: {
|
|
188
|
-
item: T;
|
|
189
|
-
}) => any;
|
|
190
|
-
} & Record<string, (props: {
|
|
191
|
-
item: T;
|
|
192
|
-
}) => any>>> & {
|
|
193
|
-
header?: () => any;
|
|
194
|
-
filters?: () => any;
|
|
195
|
-
itemsSelected?: () => any;
|
|
196
|
-
actionsButtons?: (props: {
|
|
197
|
-
item: T;
|
|
198
|
-
}) => any;
|
|
199
|
-
mainItem?: (props: {
|
|
200
|
-
item: T;
|
|
201
|
-
}) => any;
|
|
202
|
-
smallDevicesItem?: (props: {
|
|
203
|
-
item: T;
|
|
204
|
-
}) => any;
|
|
205
|
-
} & Record<string, (props: {
|
|
206
|
-
item: T;
|
|
207
|
-
}) => any>;
|
|
208
|
-
emit: ((evt: "refreshList") => void) & ((evt: "editItem", item: T) => void) & ((evt: "createItem") => void);
|
|
176
|
+
}, {}, {}>, Partial<Record<string, (_: {
|
|
177
|
+
item: Item;
|
|
178
|
+
}) => any>> & {
|
|
179
|
+
header?(_: {}): any;
|
|
180
|
+
filters?(_: {}): any;
|
|
181
|
+
actionsButtons?(_: {
|
|
182
|
+
item: Item;
|
|
183
|
+
}): any;
|
|
184
|
+
mainItem?(_: {
|
|
185
|
+
item: Item;
|
|
186
|
+
}): any;
|
|
187
|
+
smallDevicesItem?(_: {
|
|
188
|
+
item: Item;
|
|
189
|
+
}): any;
|
|
190
|
+
itemsSelected?(_: {}): any;
|
|
191
|
+
}>;
|
|
192
|
+
export default _default;
|
|
193
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
194
|
+
new (): {
|
|
195
|
+
$slots: S;
|
|
209
196
|
};
|
|
210
197
|
};
|
|
211
|
-
export default _default;
|
|
@@ -1,36 +1,21 @@
|
|
|
1
1
|
import { Item } from '../../../types';
|
|
2
2
|
|
|
3
|
-
declare const _default: <
|
|
4
|
-
items:
|
|
5
|
-
groupByFn: (item:
|
|
6
|
-
reduceGroupTitleFn?: (items:
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
emit: any;
|
|
21
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
}> & {
|
|
24
|
-
__ctx?: {
|
|
25
|
-
props: {
|
|
26
|
-
items: T[];
|
|
27
|
-
groupByFn: (item: T) => string;
|
|
28
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
29
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
30
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
31
|
-
attrs: any;
|
|
32
|
-
slots: {};
|
|
33
|
-
emit: any;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
items: Item[];
|
|
5
|
+
groupByFn: (item: Item) => string;
|
|
6
|
+
reduceGroupTitleFn?: (items: Item[]) => string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
items: Item[];
|
|
9
|
+
groupByFn: (item: Item) => string;
|
|
10
|
+
reduceGroupTitleFn?: (items: Item[]) => string;
|
|
11
|
+
}>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
34
20
|
};
|
|
35
21
|
};
|
|
36
|
-
export default _default;
|
|
@@ -1,105 +1,96 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Item } from '../../../types';
|
|
2
2
|
|
|
3
|
-
declare const _default: <
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
toName?: string;
|
|
8
|
-
groupByFn?: (item: T) => string;
|
|
9
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
10
|
-
getDescriptionFn: (item: T) => string;
|
|
11
|
-
withEditButton?: boolean;
|
|
12
|
-
editToName?: string;
|
|
13
|
-
onEditItem?: (item: T) => any;
|
|
14
|
-
itemsGroupedBy: T[][];
|
|
15
|
-
hasActionsButtons: boolean;
|
|
16
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
17
|
-
slots: Readonly<{
|
|
18
|
-
item?: (props: {
|
|
19
|
-
item: T;
|
|
20
|
-
}) => any;
|
|
21
|
-
actionsButtons?: (props: {
|
|
22
|
-
item: T;
|
|
23
|
-
}) => any;
|
|
24
|
-
}> & {
|
|
25
|
-
item?: (props: {
|
|
26
|
-
item: T;
|
|
27
|
-
}) => any;
|
|
28
|
-
actionsButtons?: (props: {
|
|
29
|
-
item: T;
|
|
30
|
-
}) => any;
|
|
31
|
-
};
|
|
32
|
-
attrs: any;
|
|
33
|
-
emit: (evt: "editItem", item: T) => void;
|
|
34
|
-
}, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
|
|
35
|
-
props: {
|
|
36
|
-
secondary?: boolean;
|
|
37
|
-
modelValue: Id[];
|
|
38
|
-
deleteFn?: (item: T) => Promise<void>;
|
|
39
|
-
toName?: string;
|
|
40
|
-
groupByFn?: (item: T) => string;
|
|
41
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
42
|
-
getDescriptionFn: (item: T) => string;
|
|
43
|
-
withEditButton?: boolean;
|
|
44
|
-
editToName?: string;
|
|
45
|
-
onEditItem?: (item: T) => any;
|
|
46
|
-
itemsGroupedBy: T[][];
|
|
47
|
-
hasActionsButtons: boolean;
|
|
48
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
49
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
50
|
-
attrs: any;
|
|
51
|
-
slots: Readonly<{
|
|
52
|
-
item?: (props: {
|
|
53
|
-
item: T;
|
|
54
|
-
}) => any;
|
|
55
|
-
actionsButtons?: (props: {
|
|
56
|
-
item: T;
|
|
57
|
-
}) => any;
|
|
58
|
-
}> & {
|
|
59
|
-
item?: (props: {
|
|
60
|
-
item: T;
|
|
61
|
-
}) => any;
|
|
62
|
-
actionsButtons?: (props: {
|
|
63
|
-
item: T;
|
|
64
|
-
}) => any;
|
|
65
|
-
};
|
|
66
|
-
emit: (evt: "editItem", item: T) => void;
|
|
67
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}> & {
|
|
70
|
-
__ctx?: {
|
|
71
|
-
props: {
|
|
72
|
-
secondary?: boolean;
|
|
73
|
-
modelValue: Id[];
|
|
74
|
-
deleteFn?: (item: T) => Promise<void>;
|
|
75
|
-
toName?: string;
|
|
76
|
-
groupByFn?: (item: T) => string;
|
|
77
|
-
reduceGroupTitleFn?: (items: T[]) => string;
|
|
78
|
-
getDescriptionFn: (item: T) => string;
|
|
79
|
-
withEditButton?: boolean;
|
|
80
|
-
editToName?: string;
|
|
81
|
-
onEditItem?: (item: T) => any;
|
|
82
|
-
itemsGroupedBy: T[][];
|
|
83
|
-
hasActionsButtons: boolean;
|
|
84
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
85
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
86
|
-
attrs: any;
|
|
87
|
-
slots: Readonly<{
|
|
88
|
-
item?: (props: {
|
|
89
|
-
item: T;
|
|
90
|
-
}) => any;
|
|
91
|
-
actionsButtons?: (props: {
|
|
92
|
-
item: T;
|
|
93
|
-
}) => any;
|
|
94
|
-
}> & {
|
|
95
|
-
item?: (props: {
|
|
96
|
-
item: T;
|
|
97
|
-
}) => any;
|
|
98
|
-
actionsButtons?: (props: {
|
|
99
|
-
item: T;
|
|
100
|
-
}) => any;
|
|
101
|
-
};
|
|
102
|
-
emit: (evt: "editItem", item: T) => void;
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: import('vue').PropType<number[]>;
|
|
103
7
|
};
|
|
104
|
-
|
|
8
|
+
itemsGroupedBy: {
|
|
9
|
+
type: import('vue').PropType<Item[][]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
getDescriptionFn: {
|
|
13
|
+
type: import('vue').PropType<(item: Item) => string>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
withEditButton: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
editToName: {
|
|
20
|
+
type: import('vue').PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
deleteFn: {
|
|
23
|
+
type: import('vue').PropType<(item: Item) => Promise<void>>;
|
|
24
|
+
};
|
|
25
|
+
toName: {
|
|
26
|
+
type: import('vue').PropType<string>;
|
|
27
|
+
};
|
|
28
|
+
groupByFn: {
|
|
29
|
+
type: import('vue').PropType<(item: Item) => string>;
|
|
30
|
+
};
|
|
31
|
+
reduceGroupTitleFn: {
|
|
32
|
+
type: import('vue').PropType<(items: Item[]) => string>;
|
|
33
|
+
};
|
|
34
|
+
hasActionsButtons: {
|
|
35
|
+
type: import('vue').PropType<boolean>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
secondary: {
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
editItem: (item: Item) => void;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
modelValue: {
|
|
45
|
+
required: true;
|
|
46
|
+
type: import('vue').PropType<number[]>;
|
|
47
|
+
};
|
|
48
|
+
itemsGroupedBy: {
|
|
49
|
+
type: import('vue').PropType<Item[][]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
getDescriptionFn: {
|
|
53
|
+
type: import('vue').PropType<(item: Item) => string>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
withEditButton: {
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
editToName: {
|
|
60
|
+
type: import('vue').PropType<string>;
|
|
61
|
+
};
|
|
62
|
+
deleteFn: {
|
|
63
|
+
type: import('vue').PropType<(item: Item) => Promise<void>>;
|
|
64
|
+
};
|
|
65
|
+
toName: {
|
|
66
|
+
type: import('vue').PropType<string>;
|
|
67
|
+
};
|
|
68
|
+
groupByFn: {
|
|
69
|
+
type: import('vue').PropType<(item: Item) => string>;
|
|
70
|
+
};
|
|
71
|
+
reduceGroupTitleFn: {
|
|
72
|
+
type: import('vue').PropType<(items: Item[]) => string>;
|
|
73
|
+
};
|
|
74
|
+
hasActionsButtons: {
|
|
75
|
+
type: import('vue').PropType<boolean>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
secondary: {
|
|
79
|
+
type: import('vue').PropType<boolean>;
|
|
80
|
+
};
|
|
81
|
+
}>> & {
|
|
82
|
+
onEditItem?: (item: Item) => any;
|
|
83
|
+
}, {}, {}>, {
|
|
84
|
+
item?(_: {
|
|
85
|
+
item: Item;
|
|
86
|
+
}): any;
|
|
87
|
+
actionsButtons?(_: {
|
|
88
|
+
item: Item;
|
|
89
|
+
}): any;
|
|
90
|
+
}>;
|
|
105
91
|
export default _default;
|
|
92
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|