urfu-ui-kit-vue 0.0.0 → 0.0.1
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/index.d.ts +1389 -0
- package/dist/index.es +14706 -46
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +18 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
import { ComponentCustomProps } from 'vue';
|
|
1
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
5
|
import { ComponentProvideOptions } from 'vue';
|
|
6
|
+
import { CSSProperties } from 'vue';
|
|
3
7
|
import { DefineComponent } from 'vue';
|
|
4
8
|
import { ExtractPropTypes } from 'vue';
|
|
5
9
|
import { PropType } from 'vue';
|
|
6
10
|
import { PublicProps } from 'vue';
|
|
11
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
12
|
+
import { VNode } from 'vue';
|
|
13
|
+
import { VNodeProps } from 'vue';
|
|
7
14
|
|
|
8
15
|
declare const __VLS_component: DefineComponent<ExtractPropTypes< {
|
|
9
16
|
variant: {
|
|
@@ -97,6 +104,202 @@ disabled: boolean;
|
|
|
97
104
|
ariaLabel: string;
|
|
98
105
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
99
106
|
|
|
107
|
+
declare const __VLS_component_10: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
108
|
+
|
|
109
|
+
declare const __VLS_component_11: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
|
|
110
|
+
className: string;
|
|
111
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
112
|
+
barRef: HTMLElement;
|
|
113
|
+
}, HTMLElement>;
|
|
114
|
+
|
|
115
|
+
declare const __VLS_component_12: DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
116
|
+
cancel: () => any;
|
|
117
|
+
}, string, PublicProps, Readonly<Props_19> & Readonly<{
|
|
118
|
+
onCancel?: (() => any) | undefined;
|
|
119
|
+
}>, {
|
|
120
|
+
active: boolean;
|
|
121
|
+
ariaLabel: string;
|
|
122
|
+
height: string;
|
|
123
|
+
maxHeight: string;
|
|
124
|
+
maxWidth: string;
|
|
125
|
+
className: string;
|
|
126
|
+
notCloseClickOnBack: boolean;
|
|
127
|
+
ariaLabelledby: string;
|
|
128
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
129
|
+
|
|
130
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
131
|
+
click: (event: MouseEvent) => any;
|
|
132
|
+
change: (event: Event) => any;
|
|
133
|
+
"update:modelValue": (value: boolean) => any;
|
|
134
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
135
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
136
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
disabled: boolean;
|
|
140
|
+
ariaLabel: string;
|
|
141
|
+
modelValue: boolean;
|
|
142
|
+
defaultChecked: boolean;
|
|
143
|
+
rightCheckbox: boolean;
|
|
144
|
+
id: string;
|
|
145
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
146
|
+
|
|
147
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
148
|
+
click: (event: MouseEvent) => any;
|
|
149
|
+
change: (event: Event) => any;
|
|
150
|
+
"update:modelValue": (value: boolean) => any;
|
|
151
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
152
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
153
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
154
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
155
|
+
}>, {
|
|
156
|
+
disabled: boolean;
|
|
157
|
+
ariaLabel: string;
|
|
158
|
+
modelValue: boolean;
|
|
159
|
+
id: string;
|
|
160
|
+
value: string | number;
|
|
161
|
+
rightRadio: boolean;
|
|
162
|
+
name: string;
|
|
163
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
164
|
+
|
|
165
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
166
|
+
change: (value: RadioGroupValue) => any;
|
|
167
|
+
"update:modelValue": (value: RadioGroupValue) => any;
|
|
168
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
169
|
+
onChange?: ((value: RadioGroupValue) => any) | undefined;
|
|
170
|
+
"onUpdate:modelValue"?: ((value: RadioGroupValue) => any) | undefined;
|
|
171
|
+
}>, {
|
|
172
|
+
disabled: boolean;
|
|
173
|
+
modelValue: string | number;
|
|
174
|
+
name: string;
|
|
175
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
176
|
+
|
|
177
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
178
|
+
variant: StatusVariant;
|
|
179
|
+
size: StatusSize;
|
|
180
|
+
id: string;
|
|
181
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
182
|
+
|
|
183
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
184
|
+
id: string;
|
|
185
|
+
tooltipText: string;
|
|
186
|
+
position: TooltipPosition;
|
|
187
|
+
isActive: boolean;
|
|
188
|
+
showWhenActive: boolean;
|
|
189
|
+
tooltipStyle: Record<string, string>;
|
|
190
|
+
autoPosition: boolean;
|
|
191
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
192
|
+
tooltipRef: HTMLDivElement;
|
|
193
|
+
triggerRef: HTMLSpanElement;
|
|
194
|
+
}, HTMLDivElement>;
|
|
195
|
+
|
|
196
|
+
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
197
|
+
|
|
198
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
|
|
199
|
+
variant: MessageVariant;
|
|
200
|
+
size: MessageSize;
|
|
201
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
202
|
+
|
|
203
|
+
declare const __VLS_component_9: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
204
|
+
hide: () => any;
|
|
205
|
+
fadeOutEnd: () => any;
|
|
206
|
+
}, string, PublicProps, Readonly<Props_12> & Readonly<{
|
|
207
|
+
onHide?: (() => any) | undefined;
|
|
208
|
+
onFadeOutEnd?: (() => any) | undefined;
|
|
209
|
+
}>, {
|
|
210
|
+
left: string;
|
|
211
|
+
right: string;
|
|
212
|
+
variant: NotificationVariant;
|
|
213
|
+
top: string;
|
|
214
|
+
zIndex: string;
|
|
215
|
+
autoHide: boolean;
|
|
216
|
+
duration: number;
|
|
217
|
+
fadeOutDuration: number;
|
|
218
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
219
|
+
|
|
220
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
221
|
+
[K in keyof T]: T[K];
|
|
222
|
+
} & {};
|
|
223
|
+
|
|
224
|
+
declare type __VLS_Props = {
|
|
225
|
+
/** Управляемое состояние через v-model. */
|
|
226
|
+
modelValue?: boolean;
|
|
227
|
+
/** Неконтролируемое начальное состояние. */
|
|
228
|
+
defaultChecked?: boolean;
|
|
229
|
+
/** Отключённое состояние. */
|
|
230
|
+
disabled?: boolean;
|
|
231
|
+
/** Чекбокс справа от подписи. */
|
|
232
|
+
rightCheckbox?: boolean;
|
|
233
|
+
/** HTML id для input. */
|
|
234
|
+
id?: string;
|
|
235
|
+
/** aria-label для input (если нет видимой подписи). */
|
|
236
|
+
ariaLabel?: string;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
declare type __VLS_Props_2 = {
|
|
240
|
+
/**
|
|
241
|
+
* Standalone-режим: управляемое булево состояние через v-model.
|
|
242
|
+
* В RadioGroup не используется — группа управляет состоянием через value.
|
|
243
|
+
*/
|
|
244
|
+
modelValue?: boolean;
|
|
245
|
+
/** Значение кнопки в RadioGroup. */
|
|
246
|
+
value?: string | number;
|
|
247
|
+
/** Отключённое состояние (объединяется с group.disabled). */
|
|
248
|
+
disabled?: boolean;
|
|
249
|
+
/** Радио-кнопка справа от подписи. */
|
|
250
|
+
rightRadio?: boolean;
|
|
251
|
+
/** Имя группы (перекрывается group.name если внутри RadioGroup). */
|
|
252
|
+
name?: string;
|
|
253
|
+
/** HTML id для input. */
|
|
254
|
+
id?: string;
|
|
255
|
+
/** aria-label для input (если нет видимой подписи). */
|
|
256
|
+
ariaLabel?: string;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
declare type __VLS_Props_3 = {
|
|
260
|
+
/** Текущее выбранное значение через v-model. */
|
|
261
|
+
modelValue?: RadioGroupValue;
|
|
262
|
+
/** Имя группы — прокидывается на все Radio внутри. */
|
|
263
|
+
name?: string;
|
|
264
|
+
/** Отключает все Radio в группе. */
|
|
265
|
+
disabled?: boolean;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
declare type __VLS_Props_4 = {
|
|
269
|
+
/** Вариант цветовой схемы статуса. */
|
|
270
|
+
variant?: StatusVariant;
|
|
271
|
+
/** Размер статуса. */
|
|
272
|
+
size?: StatusSize;
|
|
273
|
+
/** HTML id элемента. */
|
|
274
|
+
id?: string;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
declare type __VLS_Props_5 = {
|
|
278
|
+
/** Текст/содержимое всплывающей подсказки. */
|
|
279
|
+
tooltipText?: string;
|
|
280
|
+
/** Позиция подсказки относительно триггера. */
|
|
281
|
+
position?: TooltipPosition;
|
|
282
|
+
/** Показывать ли подсказку при hover (false — полностью отключена). */
|
|
283
|
+
isActive?: boolean;
|
|
284
|
+
/** Показывать подсказку постоянно (без hover), пока isActive=true. */
|
|
285
|
+
showWhenActive?: boolean;
|
|
286
|
+
/** HTML id для элемента подсказки. */
|
|
287
|
+
id?: string;
|
|
288
|
+
/** Дополнительные inline-стили для элемента подсказки. */
|
|
289
|
+
tooltipStyle?: Record<string, string>;
|
|
290
|
+
/**
|
|
291
|
+
* Автоматически определять позицию по доступному месту в viewport.
|
|
292
|
+
* Приоритет fallback: top → right → bottom → left.
|
|
293
|
+
* Если включено — `position` используется только как стартовая попытка.
|
|
294
|
+
*/
|
|
295
|
+
autoPosition?: boolean;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
declare type __VLS_Props_6 = {
|
|
299
|
+
size?: MessageSize;
|
|
300
|
+
variant?: MessageVariant;
|
|
301
|
+
};
|
|
302
|
+
|
|
100
303
|
declare function __VLS_template(): {
|
|
101
304
|
attrs: Partial<{}>;
|
|
102
305
|
slots: {
|
|
@@ -107,14 +310,248 @@ declare function __VLS_template(): {
|
|
|
107
310
|
rootEl: HTMLButtonElement;
|
|
108
311
|
};
|
|
109
312
|
|
|
313
|
+
declare function __VLS_template_10(): {
|
|
314
|
+
attrs: Partial<{}>;
|
|
315
|
+
slots: {
|
|
316
|
+
default?(_: {}): any;
|
|
317
|
+
};
|
|
318
|
+
refs: {};
|
|
319
|
+
rootEl: any;
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
declare function __VLS_template_11(): {
|
|
323
|
+
attrs: Partial<{}>;
|
|
324
|
+
slots: {
|
|
325
|
+
default?(_: {}): any;
|
|
326
|
+
};
|
|
327
|
+
refs: {
|
|
328
|
+
barRef: HTMLElement;
|
|
329
|
+
};
|
|
330
|
+
rootEl: HTMLElement;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
declare function __VLS_template_12(): {
|
|
334
|
+
attrs: Partial<{}>;
|
|
335
|
+
slots: {
|
|
336
|
+
default?(_: {}): any;
|
|
337
|
+
};
|
|
338
|
+
refs: {};
|
|
339
|
+
rootEl: any;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
declare function __VLS_template_2(): {
|
|
343
|
+
attrs: Partial<{}>;
|
|
344
|
+
slots: {
|
|
345
|
+
default?(_: {}): any;
|
|
346
|
+
default?(_: {}): any;
|
|
347
|
+
};
|
|
348
|
+
refs: {};
|
|
349
|
+
rootEl: any;
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
declare function __VLS_template_3(): {
|
|
353
|
+
attrs: Partial<{}>;
|
|
354
|
+
slots: {
|
|
355
|
+
default?(_: {}): any;
|
|
356
|
+
default?(_: {}): any;
|
|
357
|
+
};
|
|
358
|
+
refs: {};
|
|
359
|
+
rootEl: any;
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
declare function __VLS_template_4(): {
|
|
363
|
+
attrs: Partial<{}>;
|
|
364
|
+
slots: {
|
|
365
|
+
default?(_: {}): any;
|
|
366
|
+
};
|
|
367
|
+
refs: {};
|
|
368
|
+
rootEl: HTMLDivElement;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
declare function __VLS_template_5(): {
|
|
372
|
+
attrs: Partial<{}>;
|
|
373
|
+
slots: {
|
|
374
|
+
default?(_: {}): any;
|
|
375
|
+
};
|
|
376
|
+
refs: {};
|
|
377
|
+
rootEl: HTMLDivElement;
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
declare function __VLS_template_6(): {
|
|
381
|
+
attrs: Partial<{}>;
|
|
382
|
+
slots: {
|
|
383
|
+
default?(_: {}): any;
|
|
384
|
+
};
|
|
385
|
+
refs: {
|
|
386
|
+
tooltipRef: HTMLDivElement;
|
|
387
|
+
triggerRef: HTMLSpanElement;
|
|
388
|
+
};
|
|
389
|
+
rootEl: HTMLDivElement;
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
declare function __VLS_template_7(): {
|
|
393
|
+
attrs: Partial<{}>;
|
|
394
|
+
slots: {
|
|
395
|
+
default?(_: {}): any;
|
|
396
|
+
};
|
|
397
|
+
refs: {};
|
|
398
|
+
rootEl: HTMLDivElement;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
declare function __VLS_template_8(): {
|
|
402
|
+
attrs: Partial<{}>;
|
|
403
|
+
slots: {
|
|
404
|
+
default?(_: {}): any;
|
|
405
|
+
};
|
|
406
|
+
refs: {};
|
|
407
|
+
rootEl: HTMLDivElement;
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
declare function __VLS_template_9(): {
|
|
411
|
+
attrs: Partial<{}>;
|
|
412
|
+
slots: {
|
|
413
|
+
default?(_: {}): any;
|
|
414
|
+
};
|
|
415
|
+
refs: {};
|
|
416
|
+
rootEl: any;
|
|
417
|
+
};
|
|
418
|
+
|
|
110
419
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
111
420
|
|
|
421
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
422
|
+
|
|
423
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
424
|
+
|
|
425
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
426
|
+
|
|
427
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
428
|
+
|
|
429
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
430
|
+
|
|
431
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
432
|
+
|
|
433
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
434
|
+
|
|
435
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
436
|
+
|
|
437
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
438
|
+
|
|
439
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
440
|
+
|
|
441
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
442
|
+
|
|
112
443
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
113
444
|
new (): {
|
|
114
445
|
$slots: S;
|
|
115
446
|
};
|
|
116
447
|
};
|
|
117
448
|
|
|
449
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
450
|
+
new (): {
|
|
451
|
+
$slots: S;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
456
|
+
new (): {
|
|
457
|
+
$slots: S;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
462
|
+
new (): {
|
|
463
|
+
$slots: S;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
468
|
+
new (): {
|
|
469
|
+
$slots: S;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
474
|
+
new (): {
|
|
475
|
+
$slots: S;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
480
|
+
new (): {
|
|
481
|
+
$slots: S;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
486
|
+
new (): {
|
|
487
|
+
$slots: S;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
492
|
+
new (): {
|
|
493
|
+
$slots: S;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
498
|
+
new (): {
|
|
499
|
+
$slots: S;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
504
|
+
new (): {
|
|
505
|
+
$slots: S;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
510
|
+
new (): {
|
|
511
|
+
$slots: S;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
516
|
+
new (): {
|
|
517
|
+
$slots: S;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
522
|
+
new (): {
|
|
523
|
+
$slots: S;
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
528
|
+
new (): {
|
|
529
|
+
$slots: S;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
export declare const Accordion: __VLS_WithTemplateSlots_10<DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
|
|
534
|
+
title: string;
|
|
535
|
+
id: string;
|
|
536
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
537
|
+
default?(_: {}): any;
|
|
538
|
+
}>;
|
|
539
|
+
|
|
540
|
+
export declare type BordersType = 'horizontal' | 'vertical' | 'none' | 'both';
|
|
541
|
+
|
|
542
|
+
declare interface BreadCrumbItem {
|
|
543
|
+
label: string;
|
|
544
|
+
to?: string;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export declare const BreadCrumbs: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
548
|
+
navigate: (to: string) => any;
|
|
549
|
+
}, string, PublicProps, Readonly<Props_9> & Readonly<{
|
|
550
|
+
onNavigate?: ((to: string) => any) | undefined;
|
|
551
|
+
}>, {
|
|
552
|
+
items: BreadCrumbItem[];
|
|
553
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
554
|
+
|
|
118
555
|
export declare const Button: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
119
556
|
|
|
120
557
|
declare const BUTTON_TYPES: readonly ["button", "submit", "reset"];
|
|
@@ -125,8 +562,960 @@ declare type ButtonType = typeof BUTTON_TYPES[number];
|
|
|
125
562
|
|
|
126
563
|
declare type ButtonVariant = typeof VARIANTS[number];
|
|
127
564
|
|
|
565
|
+
export declare const Calendar: DefineComponent<Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
566
|
+
"update:modelValue": (value: Date | null) => any;
|
|
567
|
+
}, string, PublicProps, Readonly<Props_21> & Readonly<{
|
|
568
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
569
|
+
}>, {
|
|
570
|
+
modelValue: Date | null;
|
|
571
|
+
columnGap: string | number;
|
|
572
|
+
rowGap: string | number;
|
|
573
|
+
placeholder: string;
|
|
574
|
+
validationText: string;
|
|
575
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
576
|
+
|
|
577
|
+
export declare const Card: __VLS_WithTemplateSlots_8<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
578
|
+
|
|
579
|
+
/** Тип для слота #cell / #cell-${field}. */
|
|
580
|
+
export declare interface CellSlotProps<TRow extends TableRow = TableRow> {
|
|
581
|
+
row: TRow;
|
|
582
|
+
rowIndex: number;
|
|
583
|
+
column: TableColumn<TRow>;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export declare const Checkbox: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
587
|
+
|
|
588
|
+
export declare interface FilterDateState {
|
|
589
|
+
id: string;
|
|
590
|
+
type: string;
|
|
591
|
+
begin: unknown;
|
|
592
|
+
end: unknown;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/** Тип для слота #header / #header-${field}. */
|
|
596
|
+
export declare interface HeaderSlotProps<TRow extends TableRow = TableRow> {
|
|
597
|
+
column: TableColumn<TRow>;
|
|
598
|
+
columnIndex: number;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export declare const Icon: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
602
|
+
size: string | number;
|
|
603
|
+
color: string;
|
|
604
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
605
|
+
|
|
606
|
+
declare type IconName = 'active' | 'application' | 'arrow-sideways' | 'attention' | 'audit' | 'basket' | 'block' | 'briefcase' | 'calculator' | 'calendar' | 'catalog' | 'chat' | 'check' | 'clock' | 'computer' | 'context' | 'copy' | 'correct' | 'cross' | 'cross-small' | 'cup' | 'directory' | 'doc' | 'document' | 'documents' | 'down' | 'down-arrow' | 'download' | 'download-line' | 'dropdown' | 'dropdown-horisontal' | 'entrance' | 'events' | 'extracurricular-activities' | 'filter' | 'filter-mobile' | 'filter-tb' | 'folder' | 'folders' | 'full-screen' | 'hidden' | 'home' | 'img' | 'information' | 'jpg' | 'lamp' | 'left' | 'left-arrow' | 'letter' | 'like' | 'link' | 'list-view' | 'lk-role' | 'map' | 'minus' | 'mobile' | 'moderation' | 'news' | 'notify' | 'ok' | 'participant' | 'pdf' | 'pencil' | 'people' | 'plus' | 'png' | 'ppt' | 'qr' | 'question' | 'rating' | 'right' | 'right-arrow' | 'role' | 'save' | 'search' | 'setting' | 'settlement' | 'sorting' | 'star' | 'star2' | 'star-top20' | 'star-top50' | 'submenu' | 'svg' | 'table-view' | 'telephone' | 'test-tube' | 'top100' | 'top20' | 'top50' | 'tube' | 'university' | 'unlink' | 'unlink2' | 'up' | 'up-arrow' | 'upload' | 'user' | 'video-instruction' | 'video' | 'warning' | 'xls' | 'zip';
|
|
607
|
+
|
|
608
|
+
declare interface InputBaseProps {
|
|
609
|
+
title?: string;
|
|
610
|
+
required?: boolean;
|
|
611
|
+
disabled?: boolean;
|
|
612
|
+
lineUp?: boolean;
|
|
613
|
+
rowGap?: string | number;
|
|
614
|
+
columnGap?: string | number;
|
|
615
|
+
/** false/undefined — нет ошибки; true — класс ошибки без текста; строка — класс + текст. */
|
|
616
|
+
error?: boolean | string;
|
|
617
|
+
/** Позиционировать текст ошибки абсолютно (bottom: -20px). */
|
|
618
|
+
errorAbsolute?: boolean;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export declare const InputExpandTextarea: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
622
|
+
change: (event: Event) => any;
|
|
623
|
+
"update:modelValue": (value: string) => any;
|
|
624
|
+
}, string, PublicProps, Readonly<Props_4> & Readonly<{
|
|
625
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
626
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
627
|
+
}>, {
|
|
628
|
+
disabled: boolean;
|
|
629
|
+
error: boolean | string;
|
|
630
|
+
title: string;
|
|
631
|
+
modelValue: string;
|
|
632
|
+
id: string;
|
|
633
|
+
columnGap: string | number;
|
|
634
|
+
required: boolean;
|
|
635
|
+
lineUp: boolean;
|
|
636
|
+
rowGap: string | number;
|
|
637
|
+
errorAbsolute: boolean;
|
|
638
|
+
placeholder: string;
|
|
639
|
+
tableView: boolean;
|
|
640
|
+
minHeight: string | number;
|
|
641
|
+
maxLength: number;
|
|
642
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
643
|
+
textareaRef: HTMLTextAreaElement;
|
|
644
|
+
}, HTMLDivElement>;
|
|
645
|
+
|
|
646
|
+
export declare const InputFile: DefineComponent<Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
647
|
+
"update:modelValue": (files: File[]) => any;
|
|
648
|
+
fileReject: (reason: string, file: File) => any;
|
|
649
|
+
}, string, PublicProps, Readonly<Props_6> & Readonly<{
|
|
650
|
+
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
651
|
+
onFileReject?: ((reason: string, file: File) => any) | undefined;
|
|
652
|
+
}>, {
|
|
653
|
+
disabled: boolean;
|
|
654
|
+
error: boolean | string;
|
|
655
|
+
title: string;
|
|
656
|
+
modelValue: File[];
|
|
657
|
+
id: string;
|
|
658
|
+
name: string;
|
|
659
|
+
columnGap: string | number;
|
|
660
|
+
required: boolean;
|
|
661
|
+
lineUp: boolean;
|
|
662
|
+
rowGap: string | number;
|
|
663
|
+
errorAbsolute: boolean;
|
|
664
|
+
loadingInfo: string;
|
|
665
|
+
filesInfo: string;
|
|
666
|
+
sizeInfo: string;
|
|
667
|
+
showLoading: boolean;
|
|
668
|
+
multiple: boolean;
|
|
669
|
+
hideLoaderAfterSelect: number;
|
|
670
|
+
accept: string[];
|
|
671
|
+
maxFileSize: number;
|
|
672
|
+
fileNamePattern: RegExp;
|
|
673
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
674
|
+
fileInputRef: HTMLInputElement;
|
|
675
|
+
}, HTMLDivElement>;
|
|
676
|
+
|
|
677
|
+
export declare const InputNumber: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
678
|
+
change: (event: Event) => any;
|
|
679
|
+
"update:modelValue": (value: string) => any;
|
|
680
|
+
}, string, PublicProps, Readonly<Props_5> & Readonly<{
|
|
681
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
682
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
683
|
+
}>, {
|
|
684
|
+
disabled: boolean;
|
|
685
|
+
error: boolean | string;
|
|
686
|
+
title: string;
|
|
687
|
+
modelValue: string | number;
|
|
688
|
+
id: string;
|
|
689
|
+
name: string;
|
|
690
|
+
columnGap: string | number;
|
|
691
|
+
required: boolean;
|
|
692
|
+
lineUp: boolean;
|
|
693
|
+
rowGap: string | number;
|
|
694
|
+
errorAbsolute: boolean;
|
|
695
|
+
placeholder: string;
|
|
696
|
+
min: string | number;
|
|
697
|
+
max: string | number;
|
|
698
|
+
tooltipMaxWidth: string | number;
|
|
699
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
700
|
+
wheelZoneRef: HTMLDivElement;
|
|
701
|
+
inputRef: HTMLInputElement;
|
|
702
|
+
}, HTMLDivElement>;
|
|
703
|
+
|
|
704
|
+
export declare const InputText: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
705
|
+
change: (event: Event) => any;
|
|
706
|
+
"update:modelValue": (value: string) => any;
|
|
707
|
+
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
708
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
709
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
710
|
+
}>, {
|
|
711
|
+
disabled: boolean;
|
|
712
|
+
error: boolean | string;
|
|
713
|
+
title: string;
|
|
714
|
+
modelValue: string;
|
|
715
|
+
id: string;
|
|
716
|
+
name: string;
|
|
717
|
+
columnGap: string | number;
|
|
718
|
+
required: boolean;
|
|
719
|
+
lineUp: boolean;
|
|
720
|
+
rowGap: string | number;
|
|
721
|
+
errorAbsolute: boolean;
|
|
722
|
+
placeholder: string;
|
|
723
|
+
tableView: boolean;
|
|
724
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
725
|
+
inputRef: HTMLInputElement;
|
|
726
|
+
}, HTMLDivElement>;
|
|
727
|
+
|
|
728
|
+
export declare const InputTime: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
729
|
+
change: (event: Event) => any;
|
|
730
|
+
"update:modelValue": (value: string) => any;
|
|
731
|
+
}, string, PublicProps, Readonly<Props_7> & Readonly<{
|
|
732
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
733
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
734
|
+
}>, {
|
|
735
|
+
disabled: boolean;
|
|
736
|
+
error: boolean | string;
|
|
737
|
+
title: string;
|
|
738
|
+
modelValue: string;
|
|
739
|
+
id: string;
|
|
740
|
+
name: string;
|
|
741
|
+
columnGap: string | number;
|
|
742
|
+
required: boolean;
|
|
743
|
+
lineUp: boolean;
|
|
744
|
+
rowGap: string | number;
|
|
745
|
+
errorAbsolute: boolean;
|
|
746
|
+
placeholder: string;
|
|
747
|
+
tooltipMaxWidth: string | number;
|
|
748
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
749
|
+
rootRef: HTMLDivElement;
|
|
750
|
+
inputRef: HTMLInputElement;
|
|
751
|
+
hoursColumnRef: HTMLDivElement;
|
|
752
|
+
minutesColumnRef: HTMLDivElement;
|
|
753
|
+
}, HTMLDivElement>;
|
|
754
|
+
|
|
755
|
+
export declare const Menu: __VLS_WithTemplateSlots_14<DefineComponent< {
|
|
756
|
+
menuData?: MenuDataItem[];
|
|
757
|
+
activeSection?: string | number;
|
|
758
|
+
showMenu?: boolean;
|
|
759
|
+
type?: "collapsible";
|
|
760
|
+
paddingUl?: string;
|
|
761
|
+
className?: string;
|
|
762
|
+
foldedWidth?: string | number;
|
|
763
|
+
maxWidth?: string | number;
|
|
764
|
+
minWidth?: string | number;
|
|
765
|
+
overlayMaxWidth?: number;
|
|
766
|
+
LinkComponent?: Component;
|
|
767
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
768
|
+
clickSection: (item: MenuDataItem) => any;
|
|
769
|
+
clickSwitchMenu: (show: boolean) => any;
|
|
770
|
+
}, string, PublicProps, Readonly<{
|
|
771
|
+
menuData?: MenuDataItem[];
|
|
772
|
+
activeSection?: string | number;
|
|
773
|
+
showMenu?: boolean;
|
|
774
|
+
type?: "collapsible";
|
|
775
|
+
paddingUl?: string;
|
|
776
|
+
className?: string;
|
|
777
|
+
foldedWidth?: string | number;
|
|
778
|
+
maxWidth?: string | number;
|
|
779
|
+
minWidth?: string | number;
|
|
780
|
+
overlayMaxWidth?: number;
|
|
781
|
+
LinkComponent?: Component;
|
|
782
|
+
}> & Readonly<{
|
|
783
|
+
onClickSection?: ((item: MenuDataItem) => any) | undefined;
|
|
784
|
+
onClickSwitchMenu?: ((show: boolean) => any) | undefined;
|
|
785
|
+
}>, {
|
|
786
|
+
type: "collapsible";
|
|
787
|
+
maxWidth: string | number;
|
|
788
|
+
className: string;
|
|
789
|
+
menuData: MenuDataItem[];
|
|
790
|
+
activeSection: string | number;
|
|
791
|
+
showMenu: boolean;
|
|
792
|
+
paddingUl: string;
|
|
793
|
+
foldedWidth: string | number;
|
|
794
|
+
minWidth: string | number;
|
|
795
|
+
overlayMaxWidth: number;
|
|
796
|
+
LinkComponent: Component;
|
|
797
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
798
|
+
menuRef: HTMLDivElement;
|
|
799
|
+
}, any>, {
|
|
800
|
+
toggle?(_: {}): any;
|
|
801
|
+
item?(_: {
|
|
802
|
+
item: MenuDataItem;
|
|
803
|
+
isActive: boolean;
|
|
804
|
+
}): any;
|
|
805
|
+
statisticsCard?(_: {}): any;
|
|
806
|
+
}>;
|
|
807
|
+
|
|
808
|
+
export declare interface MenuDataItem {
|
|
809
|
+
id?: string | number;
|
|
810
|
+
title?: string;
|
|
811
|
+
url?: string;
|
|
812
|
+
[key: string]: unknown;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
export declare const Message: __VLS_WithTemplateSlots_9<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
816
|
+
|
|
817
|
+
declare type MessageSize = 'medium' | 'small';
|
|
818
|
+
|
|
819
|
+
declare type MessageVariant = 'info' | 'fail' | 'success' | 'warning';
|
|
820
|
+
|
|
821
|
+
export declare const Modal: __VLS_WithTemplateSlots_15<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
822
|
+
|
|
823
|
+
export declare const Multiselect: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
824
|
+
"update:modelValue": (values: OptionItem[]) => any;
|
|
825
|
+
}, string, PublicProps, Readonly<Props_16> & Readonly<{
|
|
826
|
+
"onUpdate:modelValue"?: ((values: OptionItem[]) => any) | undefined;
|
|
827
|
+
}>, {
|
|
828
|
+
title: string;
|
|
829
|
+
modelValue: OptionItem[];
|
|
830
|
+
options: OptionItem[];
|
|
831
|
+
required: boolean;
|
|
832
|
+
placeholder: string;
|
|
833
|
+
tableView: boolean;
|
|
834
|
+
className: string;
|
|
835
|
+
validationText: string;
|
|
836
|
+
validationOn: boolean;
|
|
837
|
+
absoluteValidationText: boolean;
|
|
838
|
+
isSearchable: boolean;
|
|
839
|
+
loading: boolean;
|
|
840
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
841
|
+
triggerRef: HTMLDivElement;
|
|
842
|
+
searchInputRef: HTMLInputElement;
|
|
843
|
+
dropdownRef: HTMLDivElement;
|
|
844
|
+
}, HTMLDivElement>;
|
|
845
|
+
|
|
846
|
+
declare const Notification_2: __VLS_WithTemplateSlots_11<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
847
|
+
export { Notification_2 as Notification }
|
|
848
|
+
|
|
849
|
+
declare interface NotificationOptions_2 {
|
|
850
|
+
variant?: 'info' | 'fail' | 'success' | 'warning';
|
|
851
|
+
message?: string;
|
|
852
|
+
duration?: number;
|
|
853
|
+
top?: string;
|
|
854
|
+
right?: string;
|
|
855
|
+
left?: string;
|
|
856
|
+
zIndex?: string;
|
|
857
|
+
id?: string | number;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export declare const NotificationProvider: __VLS_WithTemplateSlots_12<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
861
|
+
|
|
862
|
+
declare interface NotificationService {
|
|
863
|
+
showNotification: (options: NotificationOptions_2 | string, message?: string, extra?: Partial<NotificationOptions_2>) => string | number;
|
|
864
|
+
hideNotification: (id: string | number) => void;
|
|
865
|
+
hideAllNotifications: () => void;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
declare type NotificationVariant = 'info' | 'fail' | 'success' | 'warning';
|
|
869
|
+
|
|
870
|
+
export declare interface OptionItem {
|
|
871
|
+
value?: string | number;
|
|
872
|
+
label?: string;
|
|
873
|
+
[key: string]: unknown;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export declare const Pagination: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
877
|
+
pageChange: (page: number) => any;
|
|
878
|
+
pageSizeChange: (size: number) => any;
|
|
879
|
+
}, string, PublicProps, Readonly<Props_8> & Readonly<{
|
|
880
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
881
|
+
onPageSizeChange?: ((size: number) => any) | undefined;
|
|
882
|
+
}>, {
|
|
883
|
+
dataLength: number;
|
|
884
|
+
pageWindow: number;
|
|
885
|
+
pageSizeOptions: number[];
|
|
886
|
+
hideResults: boolean;
|
|
887
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
888
|
+
|
|
889
|
+
declare interface PaginationProps {
|
|
890
|
+
totalItems: number;
|
|
891
|
+
currentPage: number;
|
|
892
|
+
pageSize: number;
|
|
893
|
+
dataLength?: number;
|
|
894
|
+
pageWindow?: number;
|
|
895
|
+
pageSizeOptions?: number[];
|
|
896
|
+
hideResults?: boolean;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
export declare const Preloader: DefineComponent< {
|
|
900
|
+
/** Вариант прелоадера. */
|
|
901
|
+
variant?: PreloaderVariant;
|
|
902
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
903
|
+
/** Вариант прелоадера. */
|
|
904
|
+
variant?: PreloaderVariant;
|
|
905
|
+
}> & Readonly<{}>, {
|
|
906
|
+
variant: PreloaderVariant;
|
|
907
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
908
|
+
|
|
909
|
+
declare type PreloaderVariant = 'small-primary' | 'small-special' | 'large-primary' | 'large-special';
|
|
910
|
+
|
|
911
|
+
declare interface Props {
|
|
912
|
+
name: IconName;
|
|
913
|
+
size?: string | number;
|
|
914
|
+
color?: string;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
declare interface Props_10 {
|
|
918
|
+
tabsData?: TabItem[];
|
|
919
|
+
activeTab?: string | number;
|
|
920
|
+
variant?: 'line' | 'segment';
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
declare interface Props_11 {
|
|
924
|
+
title?: string;
|
|
925
|
+
id?: string;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
declare interface Props_12 {
|
|
929
|
+
variant?: NotificationVariant;
|
|
930
|
+
show: boolean;
|
|
931
|
+
top?: string;
|
|
932
|
+
right?: string;
|
|
933
|
+
left?: string;
|
|
934
|
+
zIndex?: string;
|
|
935
|
+
autoHide?: boolean;
|
|
936
|
+
duration?: number;
|
|
937
|
+
fadeOutDuration?: number;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
declare interface Props_13 {
|
|
941
|
+
className?: string;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
declare interface Props_14 {
|
|
945
|
+
placeholder?: string;
|
|
946
|
+
modelValue?: string;
|
|
947
|
+
className?: string;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
declare interface Props_15 {
|
|
951
|
+
title?: string;
|
|
952
|
+
required?: boolean;
|
|
953
|
+
options?: OptionItem[];
|
|
954
|
+
placeholder?: string;
|
|
955
|
+
modelValue?: OptionItem | null;
|
|
956
|
+
isClearable?: boolean;
|
|
957
|
+
className?: string;
|
|
958
|
+
tableView?: boolean;
|
|
959
|
+
validationText?: string;
|
|
960
|
+
validationOn?: boolean;
|
|
961
|
+
absoluteValidationText?: boolean;
|
|
962
|
+
disabled?: boolean;
|
|
963
|
+
noScroll?: boolean;
|
|
964
|
+
lineUp?: boolean;
|
|
965
|
+
rowGap?: string | number;
|
|
966
|
+
columnGap?: string | number;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
declare interface Props_16 {
|
|
970
|
+
title?: string;
|
|
971
|
+
required?: boolean;
|
|
972
|
+
options?: OptionItem[];
|
|
973
|
+
placeholder?: string;
|
|
974
|
+
modelValue?: OptionItem[];
|
|
975
|
+
className?: string;
|
|
976
|
+
tableView?: boolean;
|
|
977
|
+
validationText?: string;
|
|
978
|
+
validationOn?: boolean;
|
|
979
|
+
absoluteValidationText?: boolean;
|
|
980
|
+
isSearchable?: boolean;
|
|
981
|
+
loading?: boolean;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
declare interface Props_17 {
|
|
985
|
+
title?: string;
|
|
986
|
+
required?: boolean;
|
|
987
|
+
options?: OptionItem[];
|
|
988
|
+
placeholder?: string;
|
|
989
|
+
modelValue?: OptionItem | null;
|
|
990
|
+
isClearable?: boolean;
|
|
991
|
+
className?: string;
|
|
992
|
+
tableView?: boolean;
|
|
993
|
+
validationText?: string;
|
|
994
|
+
validationOn?: boolean;
|
|
995
|
+
absoluteValidationText?: boolean;
|
|
996
|
+
disabled?: boolean;
|
|
997
|
+
loading?: boolean;
|
|
998
|
+
emptyOptionsText?: string;
|
|
999
|
+
lineUp?: boolean;
|
|
1000
|
+
rowGap?: string | number;
|
|
1001
|
+
columnGap?: string | number;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
declare interface Props_18 {
|
|
1005
|
+
title?: string;
|
|
1006
|
+
required?: boolean;
|
|
1007
|
+
placeholder?: string;
|
|
1008
|
+
modelValue?: string | null;
|
|
1009
|
+
isClearable?: boolean;
|
|
1010
|
+
className?: string;
|
|
1011
|
+
tableView?: boolean;
|
|
1012
|
+
validationText?: string;
|
|
1013
|
+
validationOn?: boolean;
|
|
1014
|
+
absoluteValidationText?: boolean;
|
|
1015
|
+
data?: TreeDataItem[];
|
|
1016
|
+
disabled?: boolean;
|
|
1017
|
+
isSearchable?: boolean;
|
|
1018
|
+
lineUp?: boolean;
|
|
1019
|
+
rowGap?: string | number;
|
|
1020
|
+
columnGap?: string | number;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
declare interface Props_19 {
|
|
1024
|
+
active?: boolean;
|
|
1025
|
+
maxWidth?: string;
|
|
1026
|
+
maxHeight?: string;
|
|
1027
|
+
height?: string;
|
|
1028
|
+
className?: string;
|
|
1029
|
+
notCloseClickOnBack?: boolean;
|
|
1030
|
+
/** ARIA: id заголовка модалки (для aria-labelledby). */
|
|
1031
|
+
ariaLabelledby?: string;
|
|
1032
|
+
/** ARIA: текстовая метка модалки (если нет видимого заголовка). */
|
|
1033
|
+
ariaLabel?: string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
declare interface Props_2 extends InputBaseProps {
|
|
1037
|
+
modelValue?: string;
|
|
1038
|
+
placeholder?: string;
|
|
1039
|
+
id?: string;
|
|
1040
|
+
name?: string;
|
|
1041
|
+
tableView?: boolean;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
declare interface Props_20 {
|
|
1045
|
+
/** Ширина скелетона — число (px) или строка CSS ('100%', '200px') */
|
|
1046
|
+
width?: string | number;
|
|
1047
|
+
/** Высота одного блока — число (px) или строка CSS */
|
|
1048
|
+
height?: string | number;
|
|
1049
|
+
/** Количество блоков */
|
|
1050
|
+
count?: number;
|
|
1051
|
+
/** Отступ между блоками */
|
|
1052
|
+
gap?: string | number;
|
|
1053
|
+
/** Скругление углов */
|
|
1054
|
+
borderRadius?: string | number;
|
|
1055
|
+
className?: string;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
declare interface Props_21 {
|
|
1059
|
+
modelValue?: Date | null;
|
|
1060
|
+
title?: string;
|
|
1061
|
+
placeholder?: string;
|
|
1062
|
+
inline?: boolean;
|
|
1063
|
+
open?: boolean;
|
|
1064
|
+
greyIcon?: boolean;
|
|
1065
|
+
isClearable?: boolean;
|
|
1066
|
+
tableView?: boolean;
|
|
1067
|
+
isFilter?: boolean;
|
|
1068
|
+
id?: string;
|
|
1069
|
+
required?: boolean;
|
|
1070
|
+
validationText?: string;
|
|
1071
|
+
validationOn?: boolean;
|
|
1072
|
+
validationOnWithoutText?: boolean;
|
|
1073
|
+
absoluteValidationText?: boolean;
|
|
1074
|
+
lineUp?: boolean;
|
|
1075
|
+
rowGap?: string | number;
|
|
1076
|
+
columnGap?: string | number;
|
|
1077
|
+
disabled?: boolean;
|
|
1078
|
+
className?: string;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
declare interface Props_3 extends InputBaseProps {
|
|
1082
|
+
modelValue?: string;
|
|
1083
|
+
placeholder?: string;
|
|
1084
|
+
id?: string;
|
|
1085
|
+
name?: string;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
declare interface Props_4 extends InputBaseProps {
|
|
1089
|
+
modelValue?: string;
|
|
1090
|
+
placeholder?: string;
|
|
1091
|
+
id?: string;
|
|
1092
|
+
tableView?: boolean;
|
|
1093
|
+
minHeight?: string | number;
|
|
1094
|
+
maxHeight?: string | number;
|
|
1095
|
+
maxLength?: number;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
declare interface Props_5 extends InputBaseProps {
|
|
1099
|
+
modelValue?: string | number;
|
|
1100
|
+
placeholder?: string;
|
|
1101
|
+
id?: string;
|
|
1102
|
+
name?: string;
|
|
1103
|
+
min?: string | number;
|
|
1104
|
+
max?: string | number;
|
|
1105
|
+
tooltipMaxWidth?: string | number;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare interface Props_6 extends InputBaseProps {
|
|
1109
|
+
modelValue?: File[];
|
|
1110
|
+
id?: string;
|
|
1111
|
+
name?: string;
|
|
1112
|
+
loadingInfo?: string;
|
|
1113
|
+
filesInfo?: string;
|
|
1114
|
+
sizeInfo?: string;
|
|
1115
|
+
showLoading?: boolean;
|
|
1116
|
+
multiple?: boolean;
|
|
1117
|
+
hideLoaderAfterSelect?: number;
|
|
1118
|
+
accept?: string[];
|
|
1119
|
+
maxFileSize?: number;
|
|
1120
|
+
fileNamePattern?: RegExp;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
declare interface Props_7 extends InputBaseProps {
|
|
1124
|
+
modelValue?: string;
|
|
1125
|
+
placeholder?: string;
|
|
1126
|
+
id?: string;
|
|
1127
|
+
name?: string;
|
|
1128
|
+
tooltipMaxWidth?: string | number;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
declare interface Props_8 {
|
|
1132
|
+
totalItems: number;
|
|
1133
|
+
currentPage: number;
|
|
1134
|
+
pageSize: number;
|
|
1135
|
+
dataLength?: number;
|
|
1136
|
+
pageWindow?: number;
|
|
1137
|
+
pageSizeOptions?: number[];
|
|
1138
|
+
hideResults?: boolean;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
declare interface Props_9 {
|
|
1142
|
+
items?: BreadCrumbItem[];
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
export declare const Radio: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1146
|
+
|
|
1147
|
+
export declare const RadioGroup: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1148
|
+
|
|
1149
|
+
declare type RadioGroupValue = string | number | undefined;
|
|
1150
|
+
|
|
1151
|
+
export declare const Search: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1152
|
+
"update:modelValue": (value: string) => any;
|
|
1153
|
+
}, string, PublicProps, Readonly<Props_14> & Readonly<{
|
|
1154
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1155
|
+
}>, {
|
|
1156
|
+
modelValue: string;
|
|
1157
|
+
placeholder: string;
|
|
1158
|
+
className: string;
|
|
1159
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1160
|
+
|
|
1161
|
+
export declare const SearchSelect: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1162
|
+
"update:modelValue": (value: OptionItem | null) => any;
|
|
1163
|
+
inputChange: (value: string) => any;
|
|
1164
|
+
}, string, PublicProps, Readonly<Props_17> & Readonly<{
|
|
1165
|
+
"onUpdate:modelValue"?: ((value: OptionItem | null) => any) | undefined;
|
|
1166
|
+
onInputChange?: ((value: string) => any) | undefined;
|
|
1167
|
+
}>, {
|
|
1168
|
+
disabled: boolean;
|
|
1169
|
+
title: string;
|
|
1170
|
+
modelValue: OptionItem | null;
|
|
1171
|
+
columnGap: string | number;
|
|
1172
|
+
options: OptionItem[];
|
|
1173
|
+
required: boolean;
|
|
1174
|
+
lineUp: boolean;
|
|
1175
|
+
rowGap: string | number;
|
|
1176
|
+
placeholder: string;
|
|
1177
|
+
tableView: boolean;
|
|
1178
|
+
className: string;
|
|
1179
|
+
isClearable: boolean;
|
|
1180
|
+
validationText: string;
|
|
1181
|
+
validationOn: boolean;
|
|
1182
|
+
absoluteValidationText: boolean;
|
|
1183
|
+
loading: boolean;
|
|
1184
|
+
emptyOptionsText: string;
|
|
1185
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1186
|
+
triggerRef: HTMLDivElement;
|
|
1187
|
+
dropdownRef: HTMLDivElement;
|
|
1188
|
+
}, HTMLDivElement>;
|
|
1189
|
+
|
|
1190
|
+
export declare const Select: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1191
|
+
"update:modelValue": (value: OptionItem | null) => any;
|
|
1192
|
+
}, string, PublicProps, Readonly<Props_15> & Readonly<{
|
|
1193
|
+
"onUpdate:modelValue"?: ((value: OptionItem | null) => any) | undefined;
|
|
1194
|
+
}>, {
|
|
1195
|
+
disabled: boolean;
|
|
1196
|
+
title: string;
|
|
1197
|
+
modelValue: OptionItem | null;
|
|
1198
|
+
columnGap: string | number;
|
|
1199
|
+
options: OptionItem[];
|
|
1200
|
+
required: boolean;
|
|
1201
|
+
lineUp: boolean;
|
|
1202
|
+
rowGap: string | number;
|
|
1203
|
+
placeholder: string;
|
|
1204
|
+
tableView: boolean;
|
|
1205
|
+
className: string;
|
|
1206
|
+
isClearable: boolean;
|
|
1207
|
+
validationText: string;
|
|
1208
|
+
validationOn: boolean;
|
|
1209
|
+
absoluteValidationText: boolean;
|
|
1210
|
+
noScroll: boolean;
|
|
1211
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1212
|
+
triggerRef: HTMLDivElement;
|
|
1213
|
+
dropdownRef: HTMLDivElement;
|
|
1214
|
+
}, HTMLDivElement>;
|
|
1215
|
+
|
|
128
1216
|
declare const SIZES: readonly ["medium", "small"];
|
|
129
1217
|
|
|
1218
|
+
export declare const Skeleton: DefineComponent<Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_20> & Readonly<{}>, {
|
|
1219
|
+
width: string | number;
|
|
1220
|
+
height: string | number;
|
|
1221
|
+
borderRadius: string | number;
|
|
1222
|
+
className: string;
|
|
1223
|
+
count: number;
|
|
1224
|
+
gap: string | number;
|
|
1225
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1226
|
+
|
|
1227
|
+
export declare interface SortState {
|
|
1228
|
+
column: string | null;
|
|
1229
|
+
asc: boolean | null;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
export declare const Status: __VLS_WithTemplateSlots_6<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1233
|
+
|
|
1234
|
+
declare type StatusSize = 'medium' | 'large';
|
|
1235
|
+
|
|
1236
|
+
declare type StatusVariant = 'warning' | 'info' | 'neutral' | 'success' | 'danger' | 'intermediate' | 'prepared' | '';
|
|
1237
|
+
|
|
1238
|
+
export declare const StickyActionBar: __VLS_WithTemplateSlots_13<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1239
|
+
|
|
1240
|
+
export declare const Switch: __VLS_WithTemplateSlots_5<DefineComponent< {
|
|
1241
|
+
/** Управляемое состояние через v-model. */
|
|
1242
|
+
modelValue?: boolean;
|
|
1243
|
+
/** Отключённое состояние. */
|
|
1244
|
+
disabled?: boolean;
|
|
1245
|
+
/** HTML id для input (если не задан — генерируется автоматически). */
|
|
1246
|
+
id?: string;
|
|
1247
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1248
|
+
change: (value: boolean) => any;
|
|
1249
|
+
"update:modelValue": (value: boolean) => any;
|
|
1250
|
+
}, string, PublicProps, Readonly<{
|
|
1251
|
+
/** Управляемое состояние через v-model. */
|
|
1252
|
+
modelValue?: boolean;
|
|
1253
|
+
/** Отключённое состояние. */
|
|
1254
|
+
disabled?: boolean;
|
|
1255
|
+
/** HTML id для input (если не задан — генерируется автоматически). */
|
|
1256
|
+
id?: string;
|
|
1257
|
+
}> & Readonly<{
|
|
1258
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
1259
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1260
|
+
}>, {
|
|
1261
|
+
disabled: boolean;
|
|
1262
|
+
modelValue: boolean;
|
|
1263
|
+
id: string;
|
|
1264
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1265
|
+
default?(_: {}): any;
|
|
1266
|
+
}>;
|
|
1267
|
+
|
|
1268
|
+
declare interface TabItem {
|
|
1269
|
+
id: string | number;
|
|
1270
|
+
title: string;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export declare const Table: <TRow extends TableRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1274
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
1275
|
+
readonly onDrop?: ((payload: {
|
|
1276
|
+
fromIndex: number;
|
|
1277
|
+
toIndex: number;
|
|
1278
|
+
event: DragEvent;
|
|
1279
|
+
}) => any) | undefined;
|
|
1280
|
+
readonly onPageChange?: ((page: number) => any) | undefined;
|
|
1281
|
+
readonly onPageSizeChange?: ((size: number) => any) | undefined;
|
|
1282
|
+
readonly "onUpdate:filteredData"?: ((rows: TRow[]) => any) | undefined;
|
|
1283
|
+
readonly "onUpdate:sort"?: ((sort: {
|
|
1284
|
+
column: string | null;
|
|
1285
|
+
asc: boolean | null;
|
|
1286
|
+
}) => any) | undefined;
|
|
1287
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onDrop" | "onPageChange" | "onPageSizeChange" | "onUpdate:filteredData" | "onUpdate:sort"> & TableProps<TRow> & Partial<{}>> & PublicProps;
|
|
1288
|
+
expose(exposed: ShallowUnwrapRef<TableExposed<TRow>>): void;
|
|
1289
|
+
attrs: any;
|
|
1290
|
+
slots: {
|
|
1291
|
+
empty?(_: {}): any;
|
|
1292
|
+
};
|
|
1293
|
+
emit: ((evt: "drop", payload: {
|
|
1294
|
+
fromIndex: number;
|
|
1295
|
+
toIndex: number;
|
|
1296
|
+
event: DragEvent;
|
|
1297
|
+
}) => void) & ((evt: "pageChange", page: number) => void) & ((evt: "pageSizeChange", size: number) => void) & ((evt: "update:filteredData", rows: TRow[]) => void) & ((evt: "update:sort", sort: {
|
|
1298
|
+
column: string | null;
|
|
1299
|
+
asc: boolean | null;
|
|
1300
|
+
}) => void);
|
|
1301
|
+
}>) => VNode & {
|
|
1302
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
export declare interface TableColumn<TRow extends TableRow = TableRow> {
|
|
1306
|
+
/** Ключ в строке. Обязателен. */
|
|
1307
|
+
field: string;
|
|
1308
|
+
/** Подпись заголовка. */
|
|
1309
|
+
title?: string;
|
|
1310
|
+
/** Уникальный ключ для v-for (если несколько колонок с одним field). */
|
|
1311
|
+
key?: string;
|
|
1312
|
+
/** Скрыть колонку. */
|
|
1313
|
+
hidden?: boolean;
|
|
1314
|
+
/** Залипшая (sticky) колонка. */
|
|
1315
|
+
sticky?: boolean;
|
|
1316
|
+
/** Фиксированная ширина (px). */
|
|
1317
|
+
width?: number;
|
|
1318
|
+
/** Запретить ресайз этой колонки. */
|
|
1319
|
+
resizeOff?: boolean;
|
|
1320
|
+
/** Включить сортировку по клику на заголовок (3-state toggle). */
|
|
1321
|
+
sortable?: boolean;
|
|
1322
|
+
/** Включить фильтр. */
|
|
1323
|
+
filterable?: boolean;
|
|
1324
|
+
/** Тип фильтра. */
|
|
1325
|
+
filterType?: TableFilterType;
|
|
1326
|
+
/**
|
|
1327
|
+
* Явный список значений колонки. Если не задан — автогенерируется из data
|
|
1328
|
+
* по `filterValuePath` (либо по `field`).
|
|
1329
|
+
*/
|
|
1330
|
+
filterOptions?: unknown[];
|
|
1331
|
+
/**
|
|
1332
|
+
* Путь к значению из строки. Используется при фильтрации/сортировке.
|
|
1333
|
+
* Замена устаревшему `whereFindChecked` на уровне таблицы.
|
|
1334
|
+
* - Строка: lodash-style путь (`'values.5'`, `'user.name'`).
|
|
1335
|
+
* - Функция: `(row) => value`.
|
|
1336
|
+
* - Если не задан: используется `row[field]`.
|
|
1337
|
+
*/
|
|
1338
|
+
filterValuePath?: string | ((row: TRow) => unknown);
|
|
1339
|
+
/** Округление чисел до N знаков после запятой (для отображения и фильтра). */
|
|
1340
|
+
roundUpTo?: number;
|
|
1341
|
+
/** Заглушка совместимости с React-версией. */
|
|
1342
|
+
bitDepth?: boolean;
|
|
1343
|
+
/**
|
|
1344
|
+
* ВНИМАНИЕ: padding в `thStyle` НЕ работает (для совпадения клик-зоны с ячейкой).
|
|
1345
|
+
* Используйте `thContentStyle` для отступов заголовка.
|
|
1346
|
+
*/
|
|
1347
|
+
thStyle?: CSSProperties;
|
|
1348
|
+
tdStyle?: CSSProperties;
|
|
1349
|
+
cellStyle?: CSSProperties;
|
|
1350
|
+
thContentStyle?: CSSProperties;
|
|
1351
|
+
tdContentStyle?: CSSProperties;
|
|
1352
|
+
cellContentStyle?: CSSProperties;
|
|
1353
|
+
tdStyleFunction?: (row: TRow) => CSSProperties;
|
|
1354
|
+
tdContentStyleFunction?: (row: TRow) => CSSProperties;
|
|
1355
|
+
/** @deprecated Используйте слот `#cell-${field}` */
|
|
1356
|
+
render?: (row: TRow, index: number) => VNode | string | number | null;
|
|
1357
|
+
/** @deprecated Используйте слот `#header-${field}` */
|
|
1358
|
+
renderHeader?: () => VNode | string | number | null;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
/** Императивный API через `defineExpose`. */
|
|
1362
|
+
export declare interface TableExposed<TRow extends TableRow = TableRow> {
|
|
1363
|
+
resetFilters: () => void;
|
|
1364
|
+
resetSort: () => void;
|
|
1365
|
+
getFilteredData: () => TRow[];
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
export declare type TableFilterType = 'string' | 'number' | 'date' | 'boolean';
|
|
1369
|
+
|
|
1370
|
+
export declare interface TableProps<TRow extends TableRow = TableRow> {
|
|
1371
|
+
/** Данные таблицы. */
|
|
1372
|
+
data: TRow[];
|
|
1373
|
+
/** Описание колонок. */
|
|
1374
|
+
columns: TableColumn<TRow>[];
|
|
1375
|
+
/** Тип границ. */
|
|
1376
|
+
borders?: BordersType;
|
|
1377
|
+
/** Чередующиеся строки. */
|
|
1378
|
+
striped?: boolean;
|
|
1379
|
+
/** Без подсветки активной строки при наведении. */
|
|
1380
|
+
linesNotActive?: boolean;
|
|
1381
|
+
/** Залипший заголовок при вертикальной прокрутке. */
|
|
1382
|
+
fixedHeader?: boolean;
|
|
1383
|
+
/** Границы между ячейками заголовка. */
|
|
1384
|
+
headerBorders?: boolean;
|
|
1385
|
+
/** table-layout: fixed — предотвращает скачки колонок при пагинации. */
|
|
1386
|
+
fixedLayout?: boolean;
|
|
1387
|
+
/** Не рендерить заголовок. */
|
|
1388
|
+
withoutHeader?: boolean;
|
|
1389
|
+
maxHeight?: string;
|
|
1390
|
+
minHeight?: string;
|
|
1391
|
+
/** Показывает скелетон вместо строк. */
|
|
1392
|
+
isLoading?: boolean;
|
|
1393
|
+
/** Показывает прелоадер по центру вместо скелетона. */
|
|
1394
|
+
isLoadingPreloader?: boolean;
|
|
1395
|
+
/** Количество строк скелетона при первой загрузке (когда нет сохранённых высот). */
|
|
1396
|
+
initialSkeletonRows?: number;
|
|
1397
|
+
/** Высота строки скелетона при первой загрузке (px). */
|
|
1398
|
+
initialSkeletonRowHeight?: number;
|
|
1399
|
+
/** Резервная высота для прелоадера. */
|
|
1400
|
+
preloaderHeight?: number;
|
|
1401
|
+
/** Текст-плейсхолдер, если в `filterOptions` встретилось пустое значение. */
|
|
1402
|
+
filterEmptyLabel?: string;
|
|
1403
|
+
/** Сообщение в одной строке таблицы при пустых данных. */
|
|
1404
|
+
messageForEmptyTable?: string;
|
|
1405
|
+
/** Контент, отображаемый вместо таблицы при пустых данных. */
|
|
1406
|
+
contentForEmptyTable?: string;
|
|
1407
|
+
tdStyle?: CSSProperties;
|
|
1408
|
+
thStyle?: CSSProperties;
|
|
1409
|
+
cellStyle?: CSSProperties;
|
|
1410
|
+
tdContentStyle?: CSSProperties;
|
|
1411
|
+
thContentStyle?: CSSProperties;
|
|
1412
|
+
cellContentStyle?: CSSProperties;
|
|
1413
|
+
allTdStyleFunction?: (row: TRow) => CSSProperties;
|
|
1414
|
+
allTdContentStyleFunction?: (row: TRow) => CSSProperties;
|
|
1415
|
+
resize?: boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* Имя поля в строке, содержащего массив дочерних строк.
|
|
1418
|
+
* Если задан — строки с непустым массивом отображают chevron-toggle,
|
|
1419
|
+
* по клику разворачиваются с отступом слева.
|
|
1420
|
+
* Дочерние строки также участвуют в фильтрации и сортировке.
|
|
1421
|
+
*/
|
|
1422
|
+
parentDataField?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Включить drag&drop для перестановки строк.
|
|
1425
|
+
* При перетаскивании эмитится событие `drop` с `{ fromIndex, toIndex, event }`.
|
|
1426
|
+
*/
|
|
1427
|
+
draggable?: boolean;
|
|
1428
|
+
/**
|
|
1429
|
+
* Включить виртуализацию строк (полезно при больших объёмах данных >100).
|
|
1430
|
+
* Требует `rowHeight` (фиксированная высота строки) и `visibleRows`.
|
|
1431
|
+
*/
|
|
1432
|
+
virtualizationOn?: boolean;
|
|
1433
|
+
/** Высота одной строки в режиме виртуализации (px). По умолчанию 48. */
|
|
1434
|
+
rowHeight?: number;
|
|
1435
|
+
/** Количество видимых строк в окне виртуализации. По умолчанию 20. */
|
|
1436
|
+
visibleRows?: number;
|
|
1437
|
+
pagination?: PaginationProps;
|
|
1438
|
+
id?: string;
|
|
1439
|
+
className?: string;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
export declare type TableRow = Record<string, unknown>;
|
|
1443
|
+
|
|
1444
|
+
export declare const Tabs: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1445
|
+
tabClick: (tab: TabItem) => any;
|
|
1446
|
+
}, string, PublicProps, Readonly<Props_10> & Readonly<{
|
|
1447
|
+
onTabClick?: ((tab: TabItem) => any) | undefined;
|
|
1448
|
+
}>, {
|
|
1449
|
+
variant: "line" | "segment";
|
|
1450
|
+
tabsData: TabItem[];
|
|
1451
|
+
activeTab: string | number;
|
|
1452
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1453
|
+
|
|
1454
|
+
export declare const Textarea: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1455
|
+
change: (event: Event) => any;
|
|
1456
|
+
"update:modelValue": (value: string) => any;
|
|
1457
|
+
}, string, PublicProps, Readonly<Props_3> & Readonly<{
|
|
1458
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1459
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1460
|
+
}>, {
|
|
1461
|
+
disabled: boolean;
|
|
1462
|
+
error: boolean | string;
|
|
1463
|
+
title: string;
|
|
1464
|
+
modelValue: string;
|
|
1465
|
+
id: string;
|
|
1466
|
+
name: string;
|
|
1467
|
+
columnGap: string | number;
|
|
1468
|
+
required: boolean;
|
|
1469
|
+
lineUp: boolean;
|
|
1470
|
+
rowGap: string | number;
|
|
1471
|
+
errorAbsolute: boolean;
|
|
1472
|
+
placeholder: string;
|
|
1473
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1474
|
+
|
|
1475
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1476
|
+
|
|
1477
|
+
declare type TooltipPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
1478
|
+
|
|
1479
|
+
export declare interface TreeDataItem {
|
|
1480
|
+
id?: string | number;
|
|
1481
|
+
parentId?: string | number | null;
|
|
1482
|
+
title?: string;
|
|
1483
|
+
[key: string]: unknown;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
export declare const TreeView: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1487
|
+
"update:modelValue": (value: string | null) => any;
|
|
1488
|
+
nodeClick: (node: TreeDataItem) => any;
|
|
1489
|
+
nodeClear: () => any;
|
|
1490
|
+
}, string, PublicProps, Readonly<Props_18> & Readonly<{
|
|
1491
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
1492
|
+
onNodeClick?: ((node: TreeDataItem) => any) | undefined;
|
|
1493
|
+
onNodeClear?: (() => any) | undefined;
|
|
1494
|
+
}>, {
|
|
1495
|
+
disabled: boolean;
|
|
1496
|
+
data: TreeDataItem[];
|
|
1497
|
+
title: string;
|
|
1498
|
+
modelValue: string | null;
|
|
1499
|
+
columnGap: string | number;
|
|
1500
|
+
required: boolean;
|
|
1501
|
+
lineUp: boolean;
|
|
1502
|
+
rowGap: string | number;
|
|
1503
|
+
placeholder: string;
|
|
1504
|
+
tableView: boolean;
|
|
1505
|
+
className: string;
|
|
1506
|
+
isClearable: boolean;
|
|
1507
|
+
validationText: string;
|
|
1508
|
+
validationOn: boolean;
|
|
1509
|
+
absoluteValidationText: boolean;
|
|
1510
|
+
isSearchable: boolean;
|
|
1511
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1512
|
+
triggerRef: HTMLDivElement;
|
|
1513
|
+
searchInputRef: HTMLInputElement;
|
|
1514
|
+
dropdownRef: HTMLDivElement;
|
|
1515
|
+
}, HTMLDivElement>;
|
|
1516
|
+
|
|
1517
|
+
export declare function useNotification(): NotificationService;
|
|
1518
|
+
|
|
130
1519
|
declare const VARIANTS: readonly ["primary", "danger", "outline", "danger-outline", "simple", "icon", "text", "text-danger", "text-table", "text-danger-table"];
|
|
131
1520
|
|
|
132
1521
|
export { }
|