@selfeesas/shared-components 0.3.9 → 0.3.10
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/package.json +24 -4
- package/dist/shared-components.cjs.js +0 -1
- package/dist/shared-components.css +0 -1
- package/dist/shared-components.d.ts +0 -472
- package/dist/shared-components.es.js +0 -10072
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-0094cb2e]{transition:transform .3s ease}.logo[data-v-ab7c0ff6]{width:260px;height:auto}label[data-v-3ecf00f2]{width:50%}
|
|
@@ -1,472 +0,0 @@
|
|
|
1
|
-
import { AllowedComponentProps } from 'vue';
|
|
2
|
-
import { ComponentCustomProps } from 'vue';
|
|
3
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
4
|
-
import { ComponentProvideOptions } from 'vue';
|
|
5
|
-
import { DefineComponent } from 'vue';
|
|
6
|
-
import { PublicProps } from 'vue';
|
|
7
|
-
import { QBreadcrumbsProps } from 'quasar';
|
|
8
|
-
import { QSelectProps } from 'quasar';
|
|
9
|
-
import { QSelectSlots } from 'quasar';
|
|
10
|
-
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
11
|
-
import { RouteParamsRaw } from 'vue-router';
|
|
12
|
-
import { Router } from 'vue-router';
|
|
13
|
-
import { VNodeProps } from 'vue';
|
|
14
|
-
|
|
15
|
-
declare const __VLS_component: DefineComponent<SelfeeHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelfeeHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
|
|
17
|
-
declare const __VLS_component_2: DefineComponent<LayoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
|
|
19
|
-
declare const __VLS_component_3: DefineComponent<CustomTableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
"update:pagination": (...args: any[]) => void;
|
|
21
|
-
}, string, PublicProps, Readonly<CustomTableProps> & Readonly<{
|
|
22
|
-
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
filter: string;
|
|
25
|
-
loading: boolean;
|
|
26
|
-
rowKey: string;
|
|
27
|
-
services: CustomTableServices;
|
|
28
|
-
conditionals: CustomTableConditionals;
|
|
29
|
-
actions: TableAction[] | ((row: any) => TableAction[]);
|
|
30
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
|
|
32
|
-
declare type __VLS_Props = CheckboxFilterProps & {
|
|
33
|
-
dataCy?: string;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
declare function __VLS_template(): {
|
|
37
|
-
attrs: Partial<{}>;
|
|
38
|
-
slots: {
|
|
39
|
-
'user-avatar'?(_: {}): any;
|
|
40
|
-
};
|
|
41
|
-
refs: {};
|
|
42
|
-
rootEl: any;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
declare function __VLS_template_2(): {
|
|
46
|
-
attrs: Partial<{}>;
|
|
47
|
-
slots: Readonly<{
|
|
48
|
-
/**
|
|
49
|
-
* Slot for the layout's header section, typically a `SelfeeHeader` component.
|
|
50
|
-
*/
|
|
51
|
-
header?: () => any;
|
|
52
|
-
/**
|
|
53
|
-
* Default slot for the main page content.
|
|
54
|
-
*/
|
|
55
|
-
default: () => any;
|
|
56
|
-
/**
|
|
57
|
-
* Slot for the layout's footer section, typically a `SelfeeFooter` component.
|
|
58
|
-
*/
|
|
59
|
-
footer?: () => any;
|
|
60
|
-
}> & {
|
|
61
|
-
/**
|
|
62
|
-
* Slot for the layout's header section, typically a `SelfeeHeader` component.
|
|
63
|
-
*/
|
|
64
|
-
header?: () => any;
|
|
65
|
-
/**
|
|
66
|
-
* Default slot for the main page content.
|
|
67
|
-
*/
|
|
68
|
-
default: () => any;
|
|
69
|
-
/**
|
|
70
|
-
* Slot for the layout's footer section, typically a `SelfeeFooter` component.
|
|
71
|
-
*/
|
|
72
|
-
footer?: () => any;
|
|
73
|
-
};
|
|
74
|
-
refs: {};
|
|
75
|
-
rootEl: any;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
declare function __VLS_template_3(): {
|
|
79
|
-
attrs: Partial<{}>;
|
|
80
|
-
slots: {
|
|
81
|
-
'expand-button'?(_: {
|
|
82
|
-
row: any;
|
|
83
|
-
expanded: boolean;
|
|
84
|
-
toggle: () => Promise<void>;
|
|
85
|
-
}): any;
|
|
86
|
-
'body-cell'?(_: {
|
|
87
|
-
row: any;
|
|
88
|
-
col: any;
|
|
89
|
-
value: any;
|
|
90
|
-
}): any;
|
|
91
|
-
expanded?(_: {
|
|
92
|
-
row: any;
|
|
93
|
-
}): any;
|
|
94
|
-
};
|
|
95
|
-
refs: {};
|
|
96
|
-
rootEl: any;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
100
|
-
|
|
101
|
-
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
102
|
-
|
|
103
|
-
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
104
|
-
|
|
105
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
|
-
new (): {
|
|
107
|
-
$slots: S;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
112
|
-
new (): {
|
|
113
|
-
$slots: S;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
118
|
-
new (): {
|
|
119
|
-
$slots: S;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
declare interface BaseFooterProps {
|
|
124
|
-
frontVersion: string;
|
|
125
|
-
backVersion: string;
|
|
126
|
-
platform: string;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export declare interface BreadcrumbConfig {
|
|
130
|
-
entity: string;
|
|
131
|
-
dataCy: string;
|
|
132
|
-
defaultLabel: string;
|
|
133
|
-
routeName: string;
|
|
134
|
-
shouldRender: (context: Context) => boolean;
|
|
135
|
-
getLabel?: (context: Context) => string;
|
|
136
|
-
getColor?: (context: Context) => string;
|
|
137
|
-
getRouteParams?: (context: Context) => Record<string, any>;
|
|
138
|
-
clearActions?: Array<(context: Context) => void>;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export declare interface BreadcrumbOptions {
|
|
142
|
-
entity: string;
|
|
143
|
-
dataCy: string;
|
|
144
|
-
defaultLabel: string;
|
|
145
|
-
routeName: string;
|
|
146
|
-
storeField?: string;
|
|
147
|
-
labelField?: string;
|
|
148
|
-
routeParamKey?: string;
|
|
149
|
-
routeParamField?: string;
|
|
150
|
-
clearMethods?: string[];
|
|
151
|
-
navActions?: Array<(navStore: NavStore) => void>;
|
|
152
|
-
customShouldRender?: (context: Context) => boolean;
|
|
153
|
-
customGetColor?: (context: Context) => string;
|
|
154
|
-
getLabel?: (context: Context) => string;
|
|
155
|
-
getRouteParams?: (context: Context) => Record<string, any>;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export declare const Breadcrumbs: DefineComponent<CustomBreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
159
|
-
|
|
160
|
-
export declare const CheckboxFilter: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
161
|
-
"update:modelValue": (value: CheckboxOption[]) => any;
|
|
162
|
-
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
163
|
-
"onUpdate:modelValue"?: ((value: CheckboxOption[]) => any) | undefined;
|
|
164
|
-
}>, {
|
|
165
|
-
label: string;
|
|
166
|
-
dataCy: string;
|
|
167
|
-
modelValue: CheckboxOption[];
|
|
168
|
-
scrollAreaHeight: string;
|
|
169
|
-
scrollAreaWidth: string;
|
|
170
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
171
|
-
|
|
172
|
-
declare interface CheckboxFilterProps {
|
|
173
|
-
options: CheckboxOption[];
|
|
174
|
-
label?: string;
|
|
175
|
-
modelValue?: CheckboxOption[];
|
|
176
|
-
scrollAreaHeight?: string;
|
|
177
|
-
scrollAreaWidth?: string;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
declare interface CheckboxOption {
|
|
181
|
-
value: string | number;
|
|
182
|
-
label: string;
|
|
183
|
-
disabled?: boolean;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export declare interface Context {
|
|
187
|
-
store: Store;
|
|
188
|
-
route: RouteLocationNormalizedLoaded;
|
|
189
|
-
navStore: NavStore;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export declare function createBreadcrumb(options: BreadcrumbOptions): BreadcrumbConfig;
|
|
193
|
-
|
|
194
|
-
declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
|
|
195
|
-
activeColor?: string;
|
|
196
|
-
separatorIcon?: string;
|
|
197
|
-
separatorSize?: string;
|
|
198
|
-
separatorColor?: string;
|
|
199
|
-
store: Store;
|
|
200
|
-
navStore?: NavStore;
|
|
201
|
-
route: RouteLocationNormalizedLoaded;
|
|
202
|
-
router: Router;
|
|
203
|
-
breadcrumbConfig: BreadcrumbConfig[];
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export declare const CustomTable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
207
|
-
|
|
208
|
-
declare interface CustomTableConditionals {
|
|
209
|
-
shouldShowExpandButton?: (row: any) => boolean;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
declare interface CustomTableProps {
|
|
213
|
-
columns: TableColumn[];
|
|
214
|
-
results: any[];
|
|
215
|
-
filter?: string;
|
|
216
|
-
pagination: Pagination;
|
|
217
|
-
loading?: boolean;
|
|
218
|
-
onRequest?: (props: TableRequestProps) => void;
|
|
219
|
-
rowKey?: string;
|
|
220
|
-
services?: CustomTableServices;
|
|
221
|
-
conditionals?: CustomTableConditionals;
|
|
222
|
-
actions?: TableAction[] | ((row: any) => TableAction[]);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
declare interface CustomTableServices {
|
|
226
|
-
fetchDetails?: (row: any) => Promise<any>;
|
|
227
|
-
redirectToPrm?: (row: any) => void;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
export declare const DATE_FORMAT_REGEX: RegExp;
|
|
231
|
-
|
|
232
|
-
declare type DateInput = string | Date;
|
|
233
|
-
|
|
234
|
-
export declare const DatePicker: DefineComponent<DatePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
235
|
-
"update:date": (value: string) => any;
|
|
236
|
-
}, string, PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
237
|
-
"onUpdate:date"?: ((value: string) => any) | undefined;
|
|
238
|
-
}>, {
|
|
239
|
-
label: string;
|
|
240
|
-
required: boolean;
|
|
241
|
-
disabled: boolean;
|
|
242
|
-
outlined: boolean;
|
|
243
|
-
date: string;
|
|
244
|
-
minDate: string;
|
|
245
|
-
maxDate: string;
|
|
246
|
-
datesDisabled: DisabledDate[];
|
|
247
|
-
requiredErrorMessage: string;
|
|
248
|
-
placeholder: string;
|
|
249
|
-
closeLabel: string;
|
|
250
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
251
|
-
|
|
252
|
-
declare interface DatePickerProps {
|
|
253
|
-
label?: string;
|
|
254
|
-
date?: string;
|
|
255
|
-
required?: boolean;
|
|
256
|
-
minDate?: string;
|
|
257
|
-
maxDate?: string;
|
|
258
|
-
datesDisabled?: DisabledDate[];
|
|
259
|
-
requiredErrorMessage?: string;
|
|
260
|
-
disabled?: boolean;
|
|
261
|
-
outlined?: boolean;
|
|
262
|
-
placeholder?: string;
|
|
263
|
-
closeLabel?: string;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
export declare const DateRange: DefineComponent<DateRangeProps, {
|
|
267
|
-
resetDate: () => void;
|
|
268
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
269
|
-
"update:dateRange": (value: {
|
|
270
|
-
from: string;
|
|
271
|
-
to: string;
|
|
272
|
-
}) => any;
|
|
273
|
-
}, string, PublicProps, Readonly<DateRangeProps> & Readonly<{
|
|
274
|
-
"onUpdate:dateRange"?: ((value: {
|
|
275
|
-
from: string;
|
|
276
|
-
to: string;
|
|
277
|
-
}) => any) | undefined;
|
|
278
|
-
}>, {
|
|
279
|
-
to: string;
|
|
280
|
-
from: string;
|
|
281
|
-
required: boolean;
|
|
282
|
-
disabled: boolean;
|
|
283
|
-
rules: Array<(val: string) => boolean | string>;
|
|
284
|
-
minDate: string;
|
|
285
|
-
maxDate: string;
|
|
286
|
-
datesDisabled: Array<string | DisabledDateObject>;
|
|
287
|
-
requiredErrorMessage: string;
|
|
288
|
-
closeLabel: string;
|
|
289
|
-
locale: DateRangeLocale;
|
|
290
|
-
labelStart: string;
|
|
291
|
-
labelEnd: string;
|
|
292
|
-
startDateHint: string;
|
|
293
|
-
resetLabel: string;
|
|
294
|
-
highlightEvents: string[];
|
|
295
|
-
idCy: string;
|
|
296
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
297
|
-
|
|
298
|
-
declare interface DateRangeLocale {
|
|
299
|
-
days?: string[];
|
|
300
|
-
daysShort?: string[];
|
|
301
|
-
months?: string[];
|
|
302
|
-
monthsShort?: string[];
|
|
303
|
-
firstDayOfWeek?: number;
|
|
304
|
-
format24h?: boolean;
|
|
305
|
-
pluralDay?: string;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
declare interface DateRangeProps {
|
|
309
|
-
from?: string;
|
|
310
|
-
to?: string;
|
|
311
|
-
labelStart?: string;
|
|
312
|
-
labelEnd?: string;
|
|
313
|
-
startDateHint?: string;
|
|
314
|
-
resetLabel?: string;
|
|
315
|
-
closeLabel?: string;
|
|
316
|
-
locale?: DateRangeLocale;
|
|
317
|
-
required?: boolean;
|
|
318
|
-
requiredErrorMessage?: string;
|
|
319
|
-
rules?: Array<(val: string) => boolean | string>;
|
|
320
|
-
minDate?: string;
|
|
321
|
-
maxDate?: string;
|
|
322
|
-
datesDisabled?: Array<string | DisabledDateObject>;
|
|
323
|
-
highlightEvents?: string[];
|
|
324
|
-
disabled?: boolean;
|
|
325
|
-
idCy?: string;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export declare interface DateRangeType {
|
|
329
|
-
from: string;
|
|
330
|
-
to: string;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export declare const dateRangeUtils: {
|
|
334
|
-
validateAndUpdate(currentRange: DateRangeType, newValue: string, isStartDate: boolean): DateRangeType;
|
|
335
|
-
handlePickerUpdate(value: DateRangeType | string | null): DateRangeType;
|
|
336
|
-
reset(): DateRangeType;
|
|
337
|
-
handleInput(value: string | number | null, callback: (value: string) => void): void;
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
export declare function dateWithoutTimezone(date: Date): Date;
|
|
341
|
-
|
|
342
|
-
export declare const defaultLocale: DateRangeLocale;
|
|
343
|
-
|
|
344
|
-
export declare type DisabledDate = string | DisabledDateObject;
|
|
345
|
-
|
|
346
|
-
export declare type DisabledDateObject = {
|
|
347
|
-
start_date: string | Date;
|
|
348
|
-
end_date: string | Date;
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
export declare function formatDate(dateStr: string): string;
|
|
352
|
-
|
|
353
|
-
export declare function isDateSelectable(date: DateInput, minDateProps?: DateInput | null, maxDateProps?: DateInput | null, datesDisabled?: DisabledDate[]): boolean;
|
|
354
|
-
|
|
355
|
-
export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
356
|
-
|
|
357
|
-
declare interface LayoutProps {
|
|
358
|
-
view?: string;
|
|
359
|
-
layoutClass?: string;
|
|
360
|
-
pageContainerClass?: string;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
export declare const NavButton: DefineComponent<NavButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NavButtonProps> & Readonly<{}>, {
|
|
364
|
-
params: RouteParamsRaw;
|
|
365
|
-
to: string;
|
|
366
|
-
labelTo: string;
|
|
367
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
368
|
-
|
|
369
|
-
declare interface NavButtonProps {
|
|
370
|
-
from: string;
|
|
371
|
-
to?: string;
|
|
372
|
-
labelFrom: string;
|
|
373
|
-
labelTo?: string;
|
|
374
|
-
params?: RouteParamsRaw;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
export declare interface NavStore {
|
|
378
|
-
[key: string]: any;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
declare interface Pagination {
|
|
382
|
-
sortBy: string;
|
|
383
|
-
descending: boolean;
|
|
384
|
-
page: number;
|
|
385
|
-
rowsPerPage: number;
|
|
386
|
-
rowsNumber?: number;
|
|
387
|
-
rowsPerPageOptions?: number[];
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
declare interface SelectOption {
|
|
391
|
-
label: string;
|
|
392
|
-
value: string | number;
|
|
393
|
-
[key: string]: any;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
export declare const SelectSearch: DefineComponent<SelectSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
397
|
-
"update:modelValue": (val: string | number | null) => any;
|
|
398
|
-
}, string, PublicProps, Readonly<SelectSearchProps> & Readonly<{
|
|
399
|
-
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
400
|
-
}>, {
|
|
401
|
-
label: string;
|
|
402
|
-
options: SelectOption[];
|
|
403
|
-
modelValue: string | number | null;
|
|
404
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
405
|
-
selectRef: {
|
|
406
|
-
$props: VNodeProps & AllowedComponentProps & ComponentCustomProps & QSelectProps;
|
|
407
|
-
$slots: QSelectSlots;
|
|
408
|
-
} | null;
|
|
409
|
-
}, any>;
|
|
410
|
-
|
|
411
|
-
declare interface SelectSearchProps {
|
|
412
|
-
options?: SelectOption[];
|
|
413
|
-
fetchOptions?: (searchTerm: string) => Promise<SelectOption[]>;
|
|
414
|
-
label?: string;
|
|
415
|
-
modelValue?: string | number | null;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export declare const SelfeeFooter: DefineComponent<BaseFooterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
419
|
-
|
|
420
|
-
export declare const SelfeeHeader: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
421
|
-
|
|
422
|
-
declare interface SelfeeHeaderProps {
|
|
423
|
-
logoSrc: string;
|
|
424
|
-
logoAlt?: string;
|
|
425
|
-
logoTo?: string;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
export declare interface Store {
|
|
429
|
-
[key: string]: any;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
declare interface TableAction {
|
|
433
|
-
id: string;
|
|
434
|
-
label?: string;
|
|
435
|
-
icon?: string;
|
|
436
|
-
color?: string;
|
|
437
|
-
size?: string;
|
|
438
|
-
class?: string;
|
|
439
|
-
disabled?: boolean | ((row: any) => boolean);
|
|
440
|
-
visible?: boolean | ((row: any) => boolean);
|
|
441
|
-
handler: (row: any) => void;
|
|
442
|
-
isButton?: boolean;
|
|
443
|
-
buttonProps?: Record<string, any>;
|
|
444
|
-
position?: "row" | "cell" | "both";
|
|
445
|
-
columnName?: string;
|
|
446
|
-
testId?: string | ((row: any) => string);
|
|
447
|
-
isCancel?: boolean;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
declare interface TableColumn {
|
|
451
|
-
name: string;
|
|
452
|
-
label: string;
|
|
453
|
-
field: string | ((row: any) => any);
|
|
454
|
-
align?: "left" | "right" | "center";
|
|
455
|
-
sortable?: boolean;
|
|
456
|
-
format?: (value: any) => string;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
declare interface TableRequestProps {
|
|
460
|
-
pagination: Pagination;
|
|
461
|
-
filter?: string;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export declare const UserAvatar: DefineComponent<UserAvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UserAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
465
|
-
|
|
466
|
-
declare interface UserAvatarProps {
|
|
467
|
-
username: string;
|
|
468
|
-
onLogout: () => void;
|
|
469
|
-
logoutLabel?: string;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
export { }
|