@flysk-tech/amocrm-kommo-vue-ui-kit 0.1.0 → 0.2.0
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/README.md +3 -2
- package/dist/index.d.ts +897 -118
- package/dist/index.js +2069 -1416
- package/dist/index.js.map +1 -1
- package/dist/styles/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ComponentOptionsBase } from 'vue';
|
|
|
7
7
|
import { ComponentOptionsMixin } from 'vue';
|
|
8
8
|
import { ComponentProvideOptions } from 'vue';
|
|
9
9
|
import { ComponentPublicInstance } from 'vue';
|
|
10
|
+
import { ComputedRef } from 'vue';
|
|
10
11
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
11
12
|
import { DebuggerEvent } from 'vue';
|
|
12
13
|
import { DeepReadonly } from 'vue';
|
|
@@ -223,13 +224,418 @@ optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
|
223
224
|
optionRef: HTMLSpanElement;
|
|
224
225
|
}, HTMLSpanElement>;
|
|
225
226
|
|
|
226
|
-
declare const __VLS_component_15: DefineComponent<
|
|
227
|
+
declare const __VLS_component_15: DefineComponent<__VLS_Props_8, {
|
|
228
|
+
buttonRef: Ref<({
|
|
229
|
+
$: ComponentInternalInstance;
|
|
230
|
+
$data: {};
|
|
231
|
+
$props: {
|
|
232
|
+
readonly theme: SelectButtonThemeType;
|
|
233
|
+
readonly isInvalid?: boolean | undefined;
|
|
234
|
+
readonly isDisabled?: boolean | undefined;
|
|
235
|
+
readonly onToggle?: (() => any) | undefined;
|
|
236
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
237
|
+
$attrs: {
|
|
238
|
+
[x: string]: unknown;
|
|
239
|
+
};
|
|
240
|
+
$refs: {
|
|
241
|
+
[x: string]: unknown;
|
|
242
|
+
} & {
|
|
243
|
+
buttonRef: HTMLButtonElement;
|
|
244
|
+
};
|
|
245
|
+
$slots: Readonly<{
|
|
246
|
+
[name: string]: Slot<any> | undefined;
|
|
247
|
+
}>;
|
|
248
|
+
$root: ComponentPublicInstance | null;
|
|
249
|
+
$parent: ComponentPublicInstance | null;
|
|
250
|
+
$host: Element | null;
|
|
251
|
+
$emit: (event: "toggle") => void;
|
|
252
|
+
$el: HTMLButtonElement;
|
|
253
|
+
$options: ComponentOptionsBase<Readonly<SelectButtonProps> & Readonly<{
|
|
254
|
+
onToggle?: (() => any) | undefined;
|
|
255
|
+
}>, {
|
|
256
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
257
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
258
|
+
toggle: () => any;
|
|
259
|
+
}, string, {
|
|
260
|
+
isDisabled: boolean;
|
|
261
|
+
isInvalid: boolean;
|
|
262
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
263
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
264
|
+
created?: (() => void) | (() => void)[];
|
|
265
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
266
|
+
mounted?: (() => void) | (() => void)[];
|
|
267
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
268
|
+
updated?: (() => void) | (() => void)[];
|
|
269
|
+
activated?: (() => void) | (() => void)[];
|
|
270
|
+
deactivated?: (() => void) | (() => void)[];
|
|
271
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
272
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
273
|
+
destroyed?: (() => void) | (() => void)[];
|
|
274
|
+
unmounted?: (() => void) | (() => void)[];
|
|
275
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
276
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
277
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
278
|
+
};
|
|
279
|
+
$forceUpdate: () => void;
|
|
280
|
+
$nextTick: nextTick;
|
|
281
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
282
|
+
} & Readonly<{
|
|
283
|
+
isDisabled: boolean;
|
|
284
|
+
isInvalid: boolean;
|
|
285
|
+
}> & Omit<Readonly<SelectButtonProps> & Readonly<{
|
|
286
|
+
onToggle?: (() => any) | undefined;
|
|
287
|
+
}>, "buttonRef" | ("isDisabled" | "isInvalid")> & ShallowUnwrapRef< {
|
|
288
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
289
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
290
|
+
$slots: {
|
|
291
|
+
default?(_: {}): any;
|
|
292
|
+
};
|
|
293
|
+
}) | null, ({
|
|
294
|
+
$: ComponentInternalInstance;
|
|
295
|
+
$data: {};
|
|
296
|
+
$props: {
|
|
297
|
+
readonly theme: SelectButtonThemeType;
|
|
298
|
+
readonly isInvalid?: boolean | undefined;
|
|
299
|
+
readonly isDisabled?: boolean | undefined;
|
|
300
|
+
readonly onToggle?: (() => any) | undefined;
|
|
301
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
302
|
+
$attrs: {
|
|
303
|
+
[x: string]: unknown;
|
|
304
|
+
};
|
|
305
|
+
$refs: {
|
|
306
|
+
[x: string]: unknown;
|
|
307
|
+
} & {
|
|
308
|
+
buttonRef: HTMLButtonElement;
|
|
309
|
+
};
|
|
310
|
+
$slots: Readonly<{
|
|
311
|
+
[name: string]: Slot<any> | undefined;
|
|
312
|
+
}>;
|
|
313
|
+
$root: ComponentPublicInstance | null;
|
|
314
|
+
$parent: ComponentPublicInstance | null;
|
|
315
|
+
$host: Element | null;
|
|
316
|
+
$emit: (event: "toggle") => void;
|
|
317
|
+
$el: HTMLButtonElement;
|
|
318
|
+
$options: ComponentOptionsBase<Readonly<SelectButtonProps> & Readonly<{
|
|
319
|
+
onToggle?: (() => any) | undefined;
|
|
320
|
+
}>, {
|
|
321
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
322
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
323
|
+
toggle: () => any;
|
|
324
|
+
}, string, {
|
|
325
|
+
isDisabled: boolean;
|
|
326
|
+
isInvalid: boolean;
|
|
327
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
328
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
329
|
+
created?: (() => void) | (() => void)[];
|
|
330
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
331
|
+
mounted?: (() => void) | (() => void)[];
|
|
332
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
333
|
+
updated?: (() => void) | (() => void)[];
|
|
334
|
+
activated?: (() => void) | (() => void)[];
|
|
335
|
+
deactivated?: (() => void) | (() => void)[];
|
|
336
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
337
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
338
|
+
destroyed?: (() => void) | (() => void)[];
|
|
339
|
+
unmounted?: (() => void) | (() => void)[];
|
|
340
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
341
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
342
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
343
|
+
};
|
|
344
|
+
$forceUpdate: () => void;
|
|
345
|
+
$nextTick: nextTick;
|
|
346
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
347
|
+
} & Readonly<{
|
|
348
|
+
isDisabled: boolean;
|
|
349
|
+
isInvalid: boolean;
|
|
350
|
+
}> & Omit<Readonly<SelectButtonProps> & Readonly<{
|
|
351
|
+
onToggle?: (() => any) | undefined;
|
|
352
|
+
}>, "buttonRef" | ("isDisabled" | "isInvalid")> & ShallowUnwrapRef< {
|
|
353
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
354
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
355
|
+
$slots: {
|
|
356
|
+
default?(_: {}): any;
|
|
357
|
+
};
|
|
358
|
+
}) | null>;
|
|
359
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
360
|
+
buttonRef: ({
|
|
361
|
+
$: ComponentInternalInstance;
|
|
362
|
+
$data: {};
|
|
363
|
+
$props: {
|
|
364
|
+
readonly theme: SelectButtonThemeType;
|
|
365
|
+
readonly isInvalid?: boolean | undefined;
|
|
366
|
+
readonly isDisabled?: boolean | undefined;
|
|
367
|
+
readonly onToggle?: (() => any) | undefined;
|
|
368
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
369
|
+
$attrs: {
|
|
370
|
+
[x: string]: unknown;
|
|
371
|
+
};
|
|
372
|
+
$refs: {
|
|
373
|
+
[x: string]: unknown;
|
|
374
|
+
} & {
|
|
375
|
+
buttonRef: HTMLButtonElement;
|
|
376
|
+
};
|
|
377
|
+
$slots: Readonly<{
|
|
378
|
+
[name: string]: Slot<any> | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
$root: ComponentPublicInstance | null;
|
|
381
|
+
$parent: ComponentPublicInstance | null;
|
|
382
|
+
$host: Element | null;
|
|
383
|
+
$emit: (event: "toggle") => void;
|
|
384
|
+
$el: HTMLButtonElement;
|
|
385
|
+
$options: ComponentOptionsBase<Readonly<SelectButtonProps> & Readonly<{
|
|
386
|
+
onToggle?: (() => any) | undefined;
|
|
387
|
+
}>, {
|
|
388
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
389
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
390
|
+
toggle: () => any;
|
|
391
|
+
}, string, {
|
|
392
|
+
isDisabled: boolean;
|
|
393
|
+
isInvalid: boolean;
|
|
394
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
395
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
396
|
+
created?: (() => void) | (() => void)[];
|
|
397
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
398
|
+
mounted?: (() => void) | (() => void)[];
|
|
399
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
400
|
+
updated?: (() => void) | (() => void)[];
|
|
401
|
+
activated?: (() => void) | (() => void)[];
|
|
402
|
+
deactivated?: (() => void) | (() => void)[];
|
|
403
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
404
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
405
|
+
destroyed?: (() => void) | (() => void)[];
|
|
406
|
+
unmounted?: (() => void) | (() => void)[];
|
|
407
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
408
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
409
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
410
|
+
};
|
|
411
|
+
$forceUpdate: () => void;
|
|
412
|
+
$nextTick: nextTick;
|
|
413
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
414
|
+
} & Readonly<{
|
|
415
|
+
isDisabled: boolean;
|
|
416
|
+
isInvalid: boolean;
|
|
417
|
+
}> & Omit<Readonly<SelectButtonProps> & Readonly<{
|
|
418
|
+
onToggle?: (() => any) | undefined;
|
|
419
|
+
}>, "buttonRef" | ("isDisabled" | "isInvalid")> & ShallowUnwrapRef< {
|
|
420
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
421
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
422
|
+
$slots: {
|
|
423
|
+
default?(_: {}): any;
|
|
424
|
+
};
|
|
425
|
+
}) | null;
|
|
426
|
+
}, HTMLButtonElement>;
|
|
427
|
+
|
|
428
|
+
declare const __VLS_component_16: DefineComponent<__VLS_Props_9, {
|
|
429
|
+
listRef: Ref<HTMLUListElement | null, HTMLUListElement | null>;
|
|
430
|
+
items: ComputedRef<MultiSelectItem_2[]>;
|
|
431
|
+
itemsMap: ComputedRef<Record<string, number>>;
|
|
432
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
433
|
+
emptyText: string;
|
|
434
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
435
|
+
listRef: HTMLUListElement;
|
|
436
|
+
}, any>;
|
|
437
|
+
|
|
438
|
+
declare const __VLS_component_17: DefineComponent<__VLS_Props_10, {
|
|
439
|
+
itemRef: Ref<HTMLLIElement | null, HTMLLIElement | null>;
|
|
440
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
441
|
+
itemRef: HTMLLIElement;
|
|
442
|
+
}, any>;
|
|
443
|
+
|
|
444
|
+
declare const __VLS_component_18: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
|
|
445
|
+
emptyText: string;
|
|
446
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
447
|
+
|
|
448
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_13, {
|
|
449
|
+
optionRef: Ref<({
|
|
450
|
+
$: ComponentInternalInstance;
|
|
451
|
+
$data: {};
|
|
452
|
+
$props: {
|
|
453
|
+
readonly class?: string | undefined;
|
|
454
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
455
|
+
$attrs: {
|
|
456
|
+
[x: string]: unknown;
|
|
457
|
+
};
|
|
458
|
+
$refs: {
|
|
459
|
+
[x: string]: unknown;
|
|
460
|
+
} & {
|
|
461
|
+
optionRef: HTMLSpanElement;
|
|
462
|
+
};
|
|
463
|
+
$slots: Readonly<{
|
|
464
|
+
[name: string]: Slot<any> | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
$root: ComponentPublicInstance | null;
|
|
467
|
+
$parent: ComponentPublicInstance | null;
|
|
468
|
+
$host: Element | null;
|
|
469
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
470
|
+
$el: HTMLSpanElement;
|
|
471
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
472
|
+
class?: string;
|
|
473
|
+
}> & Readonly<{}>, {
|
|
474
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
475
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
476
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
477
|
+
created?: (() => void) | (() => void)[];
|
|
478
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
479
|
+
mounted?: (() => void) | (() => void)[];
|
|
480
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
481
|
+
updated?: (() => void) | (() => void)[];
|
|
482
|
+
activated?: (() => void) | (() => void)[];
|
|
483
|
+
deactivated?: (() => void) | (() => void)[];
|
|
484
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
485
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
486
|
+
destroyed?: (() => void) | (() => void)[];
|
|
487
|
+
unmounted?: (() => void) | (() => void)[];
|
|
488
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
489
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
490
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
491
|
+
};
|
|
492
|
+
$forceUpdate: () => void;
|
|
493
|
+
$nextTick: nextTick;
|
|
494
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
495
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
496
|
+
class?: string;
|
|
497
|
+
}> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
|
|
498
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
499
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
500
|
+
$slots: {
|
|
501
|
+
default?(_: {}): any;
|
|
502
|
+
};
|
|
503
|
+
}) | null, ({
|
|
504
|
+
$: ComponentInternalInstance;
|
|
505
|
+
$data: {};
|
|
506
|
+
$props: {
|
|
507
|
+
readonly class?: string | undefined;
|
|
508
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
509
|
+
$attrs: {
|
|
510
|
+
[x: string]: unknown;
|
|
511
|
+
};
|
|
512
|
+
$refs: {
|
|
513
|
+
[x: string]: unknown;
|
|
514
|
+
} & {
|
|
515
|
+
optionRef: HTMLSpanElement;
|
|
516
|
+
};
|
|
517
|
+
$slots: Readonly<{
|
|
518
|
+
[name: string]: Slot<any> | undefined;
|
|
519
|
+
}>;
|
|
520
|
+
$root: ComponentPublicInstance | null;
|
|
521
|
+
$parent: ComponentPublicInstance | null;
|
|
522
|
+
$host: Element | null;
|
|
523
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
524
|
+
$el: HTMLSpanElement;
|
|
525
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
526
|
+
class?: string;
|
|
527
|
+
}> & Readonly<{}>, {
|
|
528
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
529
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
530
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
531
|
+
created?: (() => void) | (() => void)[];
|
|
532
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
533
|
+
mounted?: (() => void) | (() => void)[];
|
|
534
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
535
|
+
updated?: (() => void) | (() => void)[];
|
|
536
|
+
activated?: (() => void) | (() => void)[];
|
|
537
|
+
deactivated?: (() => void) | (() => void)[];
|
|
538
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
539
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
540
|
+
destroyed?: (() => void) | (() => void)[];
|
|
541
|
+
unmounted?: (() => void) | (() => void)[];
|
|
542
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
543
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
544
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
545
|
+
};
|
|
546
|
+
$forceUpdate: () => void;
|
|
547
|
+
$nextTick: nextTick;
|
|
548
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
549
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
550
|
+
class?: string;
|
|
551
|
+
}> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
|
|
552
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
553
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
554
|
+
$slots: {
|
|
555
|
+
default?(_: {}): any;
|
|
556
|
+
};
|
|
557
|
+
}) | null>;
|
|
558
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
|
|
559
|
+
placeholder: string;
|
|
560
|
+
displayMode: "count" | "names";
|
|
561
|
+
maxDisplayItems: number;
|
|
562
|
+
countTemplate: string;
|
|
563
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
564
|
+
optionRef: ({
|
|
565
|
+
$: ComponentInternalInstance;
|
|
566
|
+
$data: {};
|
|
567
|
+
$props: {
|
|
568
|
+
readonly class?: string | undefined;
|
|
569
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
570
|
+
$attrs: {
|
|
571
|
+
[x: string]: unknown;
|
|
572
|
+
};
|
|
573
|
+
$refs: {
|
|
574
|
+
[x: string]: unknown;
|
|
575
|
+
} & {
|
|
576
|
+
optionRef: HTMLSpanElement;
|
|
577
|
+
};
|
|
578
|
+
$slots: Readonly<{
|
|
579
|
+
[name: string]: Slot<any> | undefined;
|
|
580
|
+
}>;
|
|
581
|
+
$root: ComponentPublicInstance | null;
|
|
582
|
+
$parent: ComponentPublicInstance | null;
|
|
583
|
+
$host: Element | null;
|
|
584
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
585
|
+
$el: HTMLSpanElement;
|
|
586
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
587
|
+
class?: string;
|
|
588
|
+
}> & Readonly<{}>, {
|
|
589
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
590
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
591
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
592
|
+
created?: (() => void) | (() => void)[];
|
|
593
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
594
|
+
mounted?: (() => void) | (() => void)[];
|
|
595
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
596
|
+
updated?: (() => void) | (() => void)[];
|
|
597
|
+
activated?: (() => void) | (() => void)[];
|
|
598
|
+
deactivated?: (() => void) | (() => void)[];
|
|
599
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
600
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
601
|
+
destroyed?: (() => void) | (() => void)[];
|
|
602
|
+
unmounted?: (() => void) | (() => void)[];
|
|
603
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
604
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
605
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
606
|
+
};
|
|
607
|
+
$forceUpdate: () => void;
|
|
608
|
+
$nextTick: nextTick;
|
|
609
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
610
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
611
|
+
class?: string;
|
|
612
|
+
}> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
|
|
613
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
614
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
615
|
+
$slots: {
|
|
616
|
+
default?(_: {}): any;
|
|
617
|
+
};
|
|
618
|
+
}) | null;
|
|
619
|
+
}, any>;
|
|
620
|
+
|
|
621
|
+
declare const __VLS_component_2: DefineComponent<ItemRootSelectAllProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ItemRootSelectAllProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
622
|
+
|
|
623
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_15, {
|
|
624
|
+
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
625
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
626
|
+
placeholder: string;
|
|
627
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
628
|
+
containerRef: HTMLDivElement;
|
|
629
|
+
inputRef: HTMLInputElement;
|
|
630
|
+
}, HTMLDivElement>;
|
|
631
|
+
|
|
632
|
+
declare const __VLS_component_21: DefineComponent<LabelGroupProps, {
|
|
227
633
|
groupRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
228
634
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LabelGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
229
635
|
groupRef: HTMLDivElement;
|
|
230
636
|
}, HTMLDivElement>;
|
|
231
637
|
|
|
232
|
-
declare const
|
|
638
|
+
declare const __VLS_component_22: DefineComponent<PortalProps, {
|
|
233
639
|
portalRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
234
640
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PortalProps> & Readonly<{}>, {
|
|
235
641
|
container: HTMLElement;
|
|
@@ -237,13 +643,13 @@ container: HTMLElement;
|
|
|
237
643
|
portalRef: HTMLDivElement;
|
|
238
644
|
}, any>;
|
|
239
645
|
|
|
240
|
-
declare const
|
|
646
|
+
declare const __VLS_component_23: DefineComponent<ContentBlockProps, {
|
|
241
647
|
blockRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
242
648
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ContentBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
243
649
|
blockRef: HTMLDivElement;
|
|
244
650
|
}, HTMLDivElement>;
|
|
245
651
|
|
|
246
|
-
declare const
|
|
652
|
+
declare const __VLS_component_24: DefineComponent<ListProps, {
|
|
247
653
|
listRef: Ref<HTMLUListElement | null, HTMLUListElement | null>;
|
|
248
654
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
249
655
|
select: (index: number) => any;
|
|
@@ -259,21 +665,19 @@ hoveredIndex: number;
|
|
|
259
665
|
listRef: HTMLUListElement;
|
|
260
666
|
}, any>;
|
|
261
667
|
|
|
262
|
-
declare const
|
|
668
|
+
declare const __VLS_component_25: DefineComponent<TextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TextProps> & Readonly<{}>, {
|
|
263
669
|
style: Record<string, any>;
|
|
264
670
|
isEllipsis: boolean;
|
|
265
671
|
maxRows: number;
|
|
266
672
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
267
673
|
|
|
268
|
-
declare const
|
|
269
|
-
|
|
270
|
-
declare const __VLS_component_20: DefineComponent<LinkProps, {
|
|
674
|
+
declare const __VLS_component_26: DefineComponent<LinkProps, {
|
|
271
675
|
linkRef: Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
272
676
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LinkProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
273
677
|
linkRef: HTMLAnchorElement;
|
|
274
678
|
}, HTMLAnchorElement>;
|
|
275
679
|
|
|
276
|
-
declare const
|
|
680
|
+
declare const __VLS_component_27: DefineComponent<CalloutProps, {
|
|
277
681
|
calloutRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
278
682
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CalloutProps> & Readonly<{}>, {
|
|
279
683
|
isIconAvailable: boolean;
|
|
@@ -281,7 +685,7 @@ isIconAvailable: boolean;
|
|
|
281
685
|
calloutRef: HTMLDivElement;
|
|
282
686
|
}, HTMLDivElement>;
|
|
283
687
|
|
|
284
|
-
declare const
|
|
688
|
+
declare const __VLS_component_28: DefineComponent<ItemProps, {
|
|
285
689
|
itemRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
286
690
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
287
691
|
before: any;
|
|
@@ -289,9 +693,11 @@ before: any;
|
|
|
289
693
|
itemRef: HTMLDivElement;
|
|
290
694
|
}, HTMLDivElement>;
|
|
291
695
|
|
|
292
|
-
declare const
|
|
696
|
+
declare const __VLS_component_29: DefineComponent<ItemRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ItemRootProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
293
697
|
|
|
294
|
-
declare const
|
|
698
|
+
declare const __VLS_component_3: DefineComponent<RadioGroupItemRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemRootProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
699
|
+
|
|
700
|
+
declare const __VLS_component_30: DefineComponent<Props_5, {
|
|
295
701
|
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
296
702
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_5> & Readonly<{}>, {
|
|
297
703
|
class: string;
|
|
@@ -299,9 +705,10 @@ class: string;
|
|
|
299
705
|
buttonRef: HTMLButtonElement;
|
|
300
706
|
}, HTMLButtonElement>;
|
|
301
707
|
|
|
302
|
-
declare const
|
|
303
|
-
|
|
304
|
-
|
|
708
|
+
declare const __VLS_component_4: DefineComponent<ButtonProps, {
|
|
709
|
+
showInvalidAnimation: (onAnimationEnd?: () => void) => void;
|
|
710
|
+
showSuccessfulState: (onAnimationEnd?: () => void) => void;
|
|
711
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
305
712
|
click: (event: MouseEvent) => any;
|
|
306
713
|
}, string, PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
307
714
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -800,6 +1207,41 @@ declare type __VLS_Props = {
|
|
|
800
1207
|
theme: SelectButtonThemeType;
|
|
801
1208
|
};
|
|
802
1209
|
|
|
1210
|
+
declare type __VLS_Props_10 = {
|
|
1211
|
+
item: MultiSelectItem_2;
|
|
1212
|
+
theme: MultiSelectItemThemeType;
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
declare type __VLS_Props_11 = {
|
|
1216
|
+
group: MultiSelectGroup_2;
|
|
1217
|
+
theme: MultiSelectGroupThemeType;
|
|
1218
|
+
emptyText?: string;
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
declare type __VLS_Props_12 = {
|
|
1222
|
+
theme: MultiSelectItemThemeType;
|
|
1223
|
+
label?: string;
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
declare type __VLS_Props_13 = {
|
|
1227
|
+
placeholder?: string;
|
|
1228
|
+
displayMode?: 'count' | 'names';
|
|
1229
|
+
maxDisplayItems?: number;
|
|
1230
|
+
countTemplate?: string;
|
|
1231
|
+
class?: string;
|
|
1232
|
+
};
|
|
1233
|
+
|
|
1234
|
+
declare type __VLS_Props_14 = {
|
|
1235
|
+
theme: MultiSelectSearchThemeType;
|
|
1236
|
+
placeholder?: string;
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
declare type __VLS_Props_15 = {
|
|
1240
|
+
theme: MultiSelectComboboxThemeType;
|
|
1241
|
+
placeholder?: string;
|
|
1242
|
+
groups?: MultiSelectGroup_2[];
|
|
1243
|
+
};
|
|
1244
|
+
|
|
803
1245
|
declare type __VLS_Props_2 = {
|
|
804
1246
|
theme: ListThemeType;
|
|
805
1247
|
class?: string;
|
|
@@ -832,16 +1274,224 @@ declare type __VLS_Props_7 = {
|
|
|
832
1274
|
class?: string;
|
|
833
1275
|
};
|
|
834
1276
|
|
|
835
|
-
declare
|
|
1277
|
+
declare type __VLS_Props_8 = {
|
|
1278
|
+
theme: SelectButtonThemeType;
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
declare type __VLS_Props_9 = {
|
|
1282
|
+
theme: ListThemeType;
|
|
1283
|
+
class?: string;
|
|
1284
|
+
container?: Element | DocumentFragment | null;
|
|
1285
|
+
emptyText?: string;
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
declare function __VLS_template(): {
|
|
1289
|
+
attrs: Partial<{}>;
|
|
1290
|
+
slots: {
|
|
1291
|
+
default?(_: {}): any;
|
|
1292
|
+
};
|
|
1293
|
+
refs: {};
|
|
1294
|
+
rootEl: HTMLDivElement;
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
declare function __VLS_template_10(): {
|
|
1298
|
+
attrs: Partial<{}>;
|
|
1299
|
+
slots: {
|
|
1300
|
+
default?(_: {}): any;
|
|
1301
|
+
};
|
|
1302
|
+
refs: {
|
|
1303
|
+
itemRef: HTMLLIElement;
|
|
1304
|
+
};
|
|
1305
|
+
rootEl: HTMLLIElement;
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
declare function __VLS_template_11(): {
|
|
1309
|
+
attrs: Partial<{}>;
|
|
1310
|
+
slots: {
|
|
1311
|
+
default?(_: {}): any;
|
|
1312
|
+
};
|
|
1313
|
+
refs: {
|
|
1314
|
+
optionRef: ({
|
|
1315
|
+
$: ComponentInternalInstance;
|
|
1316
|
+
$data: {};
|
|
1317
|
+
$props: {
|
|
1318
|
+
readonly class?: string | undefined;
|
|
1319
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1320
|
+
$attrs: {
|
|
1321
|
+
[x: string]: unknown;
|
|
1322
|
+
};
|
|
1323
|
+
$refs: {
|
|
1324
|
+
[x: string]: unknown;
|
|
1325
|
+
} & {
|
|
1326
|
+
optionRef: HTMLSpanElement;
|
|
1327
|
+
};
|
|
1328
|
+
$slots: Readonly<{
|
|
1329
|
+
[name: string]: Slot<any> | undefined;
|
|
1330
|
+
}>;
|
|
1331
|
+
$root: ComponentPublicInstance | null;
|
|
1332
|
+
$parent: ComponentPublicInstance | null;
|
|
1333
|
+
$host: Element | null;
|
|
1334
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1335
|
+
$el: HTMLSpanElement;
|
|
1336
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
1337
|
+
class?: string;
|
|
1338
|
+
}> & Readonly<{}>, {
|
|
1339
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
1340
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1341
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1342
|
+
created?: (() => void) | (() => void)[];
|
|
1343
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1344
|
+
mounted?: (() => void) | (() => void)[];
|
|
1345
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1346
|
+
updated?: (() => void) | (() => void)[];
|
|
1347
|
+
activated?: (() => void) | (() => void)[];
|
|
1348
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1349
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1350
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1351
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1352
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1353
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1354
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1355
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1356
|
+
};
|
|
1357
|
+
$forceUpdate: () => void;
|
|
1358
|
+
$nextTick: nextTick;
|
|
1359
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1360
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
1361
|
+
class?: string;
|
|
1362
|
+
}> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
|
|
1363
|
+
optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
1364
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1365
|
+
$slots: {
|
|
1366
|
+
default?(_: {}): any;
|
|
1367
|
+
};
|
|
1368
|
+
}) | null;
|
|
1369
|
+
};
|
|
1370
|
+
rootEl: any;
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
declare function __VLS_template_12(): {
|
|
1374
|
+
attrs: Partial<{}>;
|
|
1375
|
+
slots: {
|
|
1376
|
+
default?(_: {}): any;
|
|
1377
|
+
};
|
|
1378
|
+
refs: {
|
|
1379
|
+
arrowRef: HTMLSpanElement;
|
|
1380
|
+
};
|
|
1381
|
+
rootEl: HTMLSpanElement;
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
declare function __VLS_template_13(): {
|
|
1385
|
+
attrs: Partial<{}>;
|
|
1386
|
+
slots: {
|
|
1387
|
+
default?(_: {}): any;
|
|
1388
|
+
};
|
|
1389
|
+
refs: {
|
|
1390
|
+
iconRef: HTMLSpanElement;
|
|
1391
|
+
};
|
|
1392
|
+
rootEl: any;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
declare function __VLS_template_14(): {
|
|
1396
|
+
attrs: Partial<{}>;
|
|
1397
|
+
slots: {
|
|
1398
|
+
default?(_: {}): any;
|
|
1399
|
+
};
|
|
1400
|
+
refs: {
|
|
1401
|
+
optionRef: HTMLSpanElement;
|
|
1402
|
+
};
|
|
1403
|
+
rootEl: HTMLSpanElement;
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
declare function __VLS_template_15(): {
|
|
1407
|
+
attrs: Partial<{}>;
|
|
1408
|
+
slots: {
|
|
1409
|
+
default?(_: {}): any;
|
|
1410
|
+
};
|
|
1411
|
+
refs: {
|
|
1412
|
+
buttonRef: ({
|
|
1413
|
+
$: ComponentInternalInstance;
|
|
1414
|
+
$data: {};
|
|
1415
|
+
$props: {
|
|
1416
|
+
readonly theme: SelectButtonThemeType;
|
|
1417
|
+
readonly isInvalid?: boolean | undefined;
|
|
1418
|
+
readonly isDisabled?: boolean | undefined;
|
|
1419
|
+
readonly onToggle?: (() => any) | undefined;
|
|
1420
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1421
|
+
$attrs: {
|
|
1422
|
+
[x: string]: unknown;
|
|
1423
|
+
};
|
|
1424
|
+
$refs: {
|
|
1425
|
+
[x: string]: unknown;
|
|
1426
|
+
} & {
|
|
1427
|
+
buttonRef: HTMLButtonElement;
|
|
1428
|
+
};
|
|
1429
|
+
$slots: Readonly<{
|
|
1430
|
+
[name: string]: Slot<any> | undefined;
|
|
1431
|
+
}>;
|
|
1432
|
+
$root: ComponentPublicInstance | null;
|
|
1433
|
+
$parent: ComponentPublicInstance | null;
|
|
1434
|
+
$host: Element | null;
|
|
1435
|
+
$emit: (event: "toggle") => void;
|
|
1436
|
+
$el: HTMLButtonElement;
|
|
1437
|
+
$options: ComponentOptionsBase<Readonly<SelectButtonProps> & Readonly<{
|
|
1438
|
+
onToggle?: (() => any) | undefined;
|
|
1439
|
+
}>, {
|
|
1440
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
1441
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1442
|
+
toggle: () => any;
|
|
1443
|
+
}, string, {
|
|
1444
|
+
isDisabled: boolean;
|
|
1445
|
+
isInvalid: boolean;
|
|
1446
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1447
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1448
|
+
created?: (() => void) | (() => void)[];
|
|
1449
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1450
|
+
mounted?: (() => void) | (() => void)[];
|
|
1451
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1452
|
+
updated?: (() => void) | (() => void)[];
|
|
1453
|
+
activated?: (() => void) | (() => void)[];
|
|
1454
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1455
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1456
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1457
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1458
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1459
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1460
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1461
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1462
|
+
};
|
|
1463
|
+
$forceUpdate: () => void;
|
|
1464
|
+
$nextTick: nextTick;
|
|
1465
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1466
|
+
} & Readonly<{
|
|
1467
|
+
isDisabled: boolean;
|
|
1468
|
+
isInvalid: boolean;
|
|
1469
|
+
}> & Omit<Readonly<SelectButtonProps> & Readonly<{
|
|
1470
|
+
onToggle?: (() => any) | undefined;
|
|
1471
|
+
}>, "buttonRef" | ("isDisabled" | "isInvalid")> & ShallowUnwrapRef< {
|
|
1472
|
+
buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
1473
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1474
|
+
$slots: {
|
|
1475
|
+
default?(_: {}): any;
|
|
1476
|
+
};
|
|
1477
|
+
}) | null;
|
|
1478
|
+
};
|
|
1479
|
+
rootEl: HTMLButtonElement;
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
declare function __VLS_template_16(): {
|
|
836
1483
|
attrs: Partial<{}>;
|
|
837
1484
|
slots: {
|
|
838
1485
|
default?(_: {}): any;
|
|
1486
|
+
default?(_: {}): any;
|
|
839
1487
|
};
|
|
840
|
-
refs: {
|
|
841
|
-
|
|
1488
|
+
refs: {
|
|
1489
|
+
listRef: HTMLUListElement;
|
|
1490
|
+
};
|
|
1491
|
+
rootEl: any;
|
|
842
1492
|
};
|
|
843
1493
|
|
|
844
|
-
declare function
|
|
1494
|
+
declare function __VLS_template_17(): {
|
|
845
1495
|
attrs: Partial<{}>;
|
|
846
1496
|
slots: {
|
|
847
1497
|
default?(_: {}): any;
|
|
@@ -849,10 +1499,19 @@ declare function __VLS_template_10(): {
|
|
|
849
1499
|
refs: {
|
|
850
1500
|
itemRef: HTMLLIElement;
|
|
851
1501
|
};
|
|
852
|
-
rootEl:
|
|
1502
|
+
rootEl: any;
|
|
853
1503
|
};
|
|
854
1504
|
|
|
855
|
-
declare function
|
|
1505
|
+
declare function __VLS_template_18(): {
|
|
1506
|
+
attrs: Partial<{}>;
|
|
1507
|
+
slots: {
|
|
1508
|
+
default?(_: {}): any;
|
|
1509
|
+
};
|
|
1510
|
+
refs: {};
|
|
1511
|
+
rootEl: any;
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
declare function __VLS_template_19(): {
|
|
856
1515
|
attrs: Partial<{}>;
|
|
857
1516
|
slots: {
|
|
858
1517
|
default?(_: {}): any;
|
|
@@ -917,40 +1576,28 @@ declare function __VLS_template_11(): {
|
|
|
917
1576
|
rootEl: any;
|
|
918
1577
|
};
|
|
919
1578
|
|
|
920
|
-
declare function
|
|
921
|
-
attrs: Partial<{}>;
|
|
922
|
-
slots: {
|
|
923
|
-
default?(_: {}): any;
|
|
924
|
-
};
|
|
925
|
-
refs: {
|
|
926
|
-
arrowRef: HTMLSpanElement;
|
|
927
|
-
};
|
|
928
|
-
rootEl: HTMLSpanElement;
|
|
929
|
-
};
|
|
930
|
-
|
|
931
|
-
declare function __VLS_template_13(): {
|
|
1579
|
+
declare function __VLS_template_2(): {
|
|
932
1580
|
attrs: Partial<{}>;
|
|
933
1581
|
slots: {
|
|
934
1582
|
default?(_: {}): any;
|
|
935
1583
|
};
|
|
936
|
-
refs: {
|
|
937
|
-
|
|
938
|
-
};
|
|
939
|
-
rootEl: any;
|
|
1584
|
+
refs: {};
|
|
1585
|
+
rootEl: HTMLDivElement;
|
|
940
1586
|
};
|
|
941
1587
|
|
|
942
|
-
declare function
|
|
1588
|
+
declare function __VLS_template_20(): {
|
|
943
1589
|
attrs: Partial<{}>;
|
|
944
1590
|
slots: {
|
|
945
|
-
|
|
1591
|
+
after?(_: {}): any;
|
|
946
1592
|
};
|
|
947
1593
|
refs: {
|
|
948
|
-
|
|
1594
|
+
containerRef: HTMLDivElement;
|
|
1595
|
+
inputRef: HTMLInputElement;
|
|
949
1596
|
};
|
|
950
|
-
rootEl:
|
|
1597
|
+
rootEl: HTMLDivElement;
|
|
951
1598
|
};
|
|
952
1599
|
|
|
953
|
-
declare function
|
|
1600
|
+
declare function __VLS_template_21(): {
|
|
954
1601
|
attrs: Partial<{}>;
|
|
955
1602
|
slots: Readonly<{
|
|
956
1603
|
default?(): any;
|
|
@@ -963,7 +1610,7 @@ declare function __VLS_template_15(): {
|
|
|
963
1610
|
rootEl: HTMLDivElement;
|
|
964
1611
|
};
|
|
965
1612
|
|
|
966
|
-
declare function
|
|
1613
|
+
declare function __VLS_template_22(): {
|
|
967
1614
|
attrs: Partial<{}>;
|
|
968
1615
|
slots: {
|
|
969
1616
|
default?(_: {}): any;
|
|
@@ -974,7 +1621,7 @@ declare function __VLS_template_16(): {
|
|
|
974
1621
|
rootEl: any;
|
|
975
1622
|
};
|
|
976
1623
|
|
|
977
|
-
declare function
|
|
1624
|
+
declare function __VLS_template_23(): {
|
|
978
1625
|
attrs: Partial<{}>;
|
|
979
1626
|
slots: {
|
|
980
1627
|
default?(_: {}): any;
|
|
@@ -985,7 +1632,7 @@ declare function __VLS_template_17(): {
|
|
|
985
1632
|
rootEl: HTMLDivElement;
|
|
986
1633
|
};
|
|
987
1634
|
|
|
988
|
-
declare function
|
|
1635
|
+
declare function __VLS_template_24(): {
|
|
989
1636
|
attrs: Partial<{}>;
|
|
990
1637
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
991
1638
|
refs: {
|
|
@@ -994,7 +1641,7 @@ declare function __VLS_template_18(): {
|
|
|
994
1641
|
rootEl: any;
|
|
995
1642
|
};
|
|
996
1643
|
|
|
997
|
-
declare function
|
|
1644
|
+
declare function __VLS_template_25(): {
|
|
998
1645
|
attrs: Partial<{}>;
|
|
999
1646
|
slots: {
|
|
1000
1647
|
default?(_: {}): any;
|
|
@@ -1003,16 +1650,7 @@ declare function __VLS_template_19(): {
|
|
|
1003
1650
|
rootEl: HTMLSpanElement;
|
|
1004
1651
|
};
|
|
1005
1652
|
|
|
1006
|
-
declare function
|
|
1007
|
-
attrs: Partial<{}>;
|
|
1008
|
-
slots: {
|
|
1009
|
-
default?(_: {}): any;
|
|
1010
|
-
};
|
|
1011
|
-
refs: {};
|
|
1012
|
-
rootEl: HTMLDivElement;
|
|
1013
|
-
};
|
|
1014
|
-
|
|
1015
|
-
declare function __VLS_template_20(): {
|
|
1653
|
+
declare function __VLS_template_26(): {
|
|
1016
1654
|
attrs: Partial<{}>;
|
|
1017
1655
|
slots: {
|
|
1018
1656
|
default?(_: {}): any;
|
|
@@ -1023,7 +1661,7 @@ declare function __VLS_template_20(): {
|
|
|
1023
1661
|
rootEl: HTMLAnchorElement;
|
|
1024
1662
|
};
|
|
1025
1663
|
|
|
1026
|
-
declare function
|
|
1664
|
+
declare function __VLS_template_27(): {
|
|
1027
1665
|
attrs: Partial<{}>;
|
|
1028
1666
|
slots: {
|
|
1029
1667
|
default?(_: {}): any;
|
|
@@ -1034,7 +1672,7 @@ declare function __VLS_template_21(): {
|
|
|
1034
1672
|
rootEl: HTMLDivElement;
|
|
1035
1673
|
};
|
|
1036
1674
|
|
|
1037
|
-
declare function
|
|
1675
|
+
declare function __VLS_template_28(): {
|
|
1038
1676
|
attrs: Partial<{}>;
|
|
1039
1677
|
slots: {
|
|
1040
1678
|
default?(_: {}): any;
|
|
@@ -1045,7 +1683,7 @@ declare function __VLS_template_22(): {
|
|
|
1045
1683
|
rootEl: HTMLDivElement;
|
|
1046
1684
|
};
|
|
1047
1685
|
|
|
1048
|
-
declare function
|
|
1686
|
+
declare function __VLS_template_29(): {
|
|
1049
1687
|
attrs: Partial<{}>;
|
|
1050
1688
|
slots: {
|
|
1051
1689
|
default?(_: {}): any;
|
|
@@ -1054,31 +1692,32 @@ declare function __VLS_template_23(): {
|
|
|
1054
1692
|
rootEl: HTMLDivElement;
|
|
1055
1693
|
};
|
|
1056
1694
|
|
|
1057
|
-
declare function
|
|
1695
|
+
declare function __VLS_template_3(): {
|
|
1058
1696
|
attrs: Partial<{}>;
|
|
1059
1697
|
slots: {
|
|
1060
1698
|
default?(_: {}): any;
|
|
1061
1699
|
};
|
|
1062
|
-
refs: {
|
|
1063
|
-
|
|
1064
|
-
};
|
|
1065
|
-
rootEl: HTMLButtonElement;
|
|
1700
|
+
refs: {};
|
|
1701
|
+
rootEl: HTMLDivElement;
|
|
1066
1702
|
};
|
|
1067
1703
|
|
|
1068
|
-
declare function
|
|
1704
|
+
declare function __VLS_template_30(): {
|
|
1069
1705
|
attrs: Partial<{}>;
|
|
1070
1706
|
slots: {
|
|
1071
1707
|
default?(_: {}): any;
|
|
1072
1708
|
};
|
|
1073
|
-
refs: {
|
|
1074
|
-
|
|
1709
|
+
refs: {
|
|
1710
|
+
buttonRef: HTMLButtonElement;
|
|
1711
|
+
};
|
|
1712
|
+
rootEl: HTMLButtonElement;
|
|
1075
1713
|
};
|
|
1076
1714
|
|
|
1077
1715
|
declare function __VLS_template_4(): {
|
|
1078
1716
|
attrs: Partial<{}>;
|
|
1079
1717
|
slots: {
|
|
1080
|
-
before?(_: {}): any;
|
|
1081
1718
|
default?(_: {}): any;
|
|
1719
|
+
default?(_: {}): any;
|
|
1720
|
+
before?(_: {}): any;
|
|
1082
1721
|
after?(_: {}): any;
|
|
1083
1722
|
};
|
|
1084
1723
|
refs: {};
|
|
@@ -1332,8 +1971,20 @@ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
|
1332
1971
|
|
|
1333
1972
|
declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
|
|
1334
1973
|
|
|
1974
|
+
declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
|
|
1975
|
+
|
|
1976
|
+
declare type __VLS_TemplateResult_26 = ReturnType<typeof __VLS_template_26>;
|
|
1977
|
+
|
|
1978
|
+
declare type __VLS_TemplateResult_27 = ReturnType<typeof __VLS_template_27>;
|
|
1979
|
+
|
|
1980
|
+
declare type __VLS_TemplateResult_28 = ReturnType<typeof __VLS_template_28>;
|
|
1981
|
+
|
|
1982
|
+
declare type __VLS_TemplateResult_29 = ReturnType<typeof __VLS_template_29>;
|
|
1983
|
+
|
|
1335
1984
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1336
1985
|
|
|
1986
|
+
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
1987
|
+
|
|
1337
1988
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1338
1989
|
|
|
1339
1990
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1484,6 +2135,48 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
1484
2135
|
};
|
|
1485
2136
|
};
|
|
1486
2137
|
|
|
2138
|
+
declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
2139
|
+
new (): {
|
|
2140
|
+
$slots: S;
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
2145
|
+
new (): {
|
|
2146
|
+
$slots: S;
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
2151
|
+
new (): {
|
|
2152
|
+
$slots: S;
|
|
2153
|
+
};
|
|
2154
|
+
};
|
|
2155
|
+
|
|
2156
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
2157
|
+
new (): {
|
|
2158
|
+
$slots: S;
|
|
2159
|
+
};
|
|
2160
|
+
};
|
|
2161
|
+
|
|
2162
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
2163
|
+
new (): {
|
|
2164
|
+
$slots: S;
|
|
2165
|
+
};
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
declare type __VLS_WithTemplateSlots_35<T, S> = T & {
|
|
2169
|
+
new (): {
|
|
2170
|
+
$slots: S;
|
|
2171
|
+
};
|
|
2172
|
+
};
|
|
2173
|
+
|
|
2174
|
+
declare type __VLS_WithTemplateSlots_36<T, S> = T & {
|
|
2175
|
+
new (): {
|
|
2176
|
+
$slots: S;
|
|
2177
|
+
};
|
|
2178
|
+
};
|
|
2179
|
+
|
|
1487
2180
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1488
2181
|
new (): {
|
|
1489
2182
|
$slots: S;
|
|
@@ -1617,8 +2310,6 @@ export declare type AccordionThemeType = {
|
|
|
1617
2310
|
export declare interface AmoCrmUiKitOptions {
|
|
1618
2311
|
}
|
|
1619
2312
|
|
|
1620
|
-
declare type AnimationRefType = (onAnimationEnd?: () => void) => void | null;
|
|
1621
|
-
|
|
1622
2313
|
export declare enum Appearance {
|
|
1623
2314
|
/**
|
|
1624
2315
|
* Standard theme
|
|
@@ -1707,49 +2398,13 @@ export declare const ButtonNeutralTheme: ButtonThemeType;
|
|
|
1707
2398
|
export declare const ButtonPrimaryTheme: ButtonThemeType;
|
|
1708
2399
|
|
|
1709
2400
|
export declare interface ButtonProps {
|
|
1710
|
-
/**
|
|
1711
|
-
* HTML тип кнопки
|
|
1712
|
-
*/
|
|
1713
2401
|
type?: 'button' | 'submit' | 'reset';
|
|
1714
|
-
/**
|
|
1715
|
-
* Объект с CSS переменными темы
|
|
1716
|
-
*/
|
|
1717
2402
|
theme: ButtonThemeType;
|
|
1718
|
-
/**
|
|
1719
|
-
* Показать состояние загрузки
|
|
1720
|
-
*/
|
|
1721
2403
|
isLoading?: boolean;
|
|
1722
|
-
/**
|
|
1723
|
-
* Отключить кнопку
|
|
1724
|
-
*/
|
|
1725
2404
|
isDisabled?: boolean;
|
|
1726
|
-
/**
|
|
1727
|
-
* Иконка слева
|
|
1728
|
-
*/
|
|
1729
2405
|
before?: any;
|
|
1730
|
-
/**
|
|
1731
|
-
* Иконка справа
|
|
1732
|
-
*/
|
|
1733
2406
|
after?: any;
|
|
1734
|
-
/**
|
|
1735
|
-
* Текст кнопки
|
|
1736
|
-
*/
|
|
1737
|
-
children?: any;
|
|
1738
|
-
/**
|
|
1739
|
-
* Ref для функции showInvalidAnimation, которая вызывает состояние ошибки
|
|
1740
|
-
*/
|
|
1741
|
-
showInvalidAnimationRef?: Ref<AnimationRefType | null>;
|
|
1742
|
-
/**
|
|
1743
|
-
* Ref для функции showSuccessfulState, которая вызывает состояние успеха
|
|
1744
|
-
*/
|
|
1745
|
-
showSuccessfulStateRef?: Ref<AnimationRefType | null>;
|
|
1746
|
-
/**
|
|
1747
|
-
* Текст для отображения в состоянии успеха
|
|
1748
|
-
*/
|
|
1749
2407
|
successfulStateText?: string;
|
|
1750
|
-
/**
|
|
1751
|
-
* Будет ли обрабатываться клик по заблокированной кнопке
|
|
1752
|
-
*/
|
|
1753
2408
|
isClickableWhileDisabled?: boolean;
|
|
1754
2409
|
}
|
|
1755
2410
|
|
|
@@ -1761,7 +2416,7 @@ export declare type ButtonThemeType = {
|
|
|
1761
2416
|
[K in ButtonThemeKey]: string;
|
|
1762
2417
|
};
|
|
1763
2418
|
|
|
1764
|
-
export declare const Callout:
|
|
2419
|
+
export declare const Callout: __VLS_WithTemplateSlots_31<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1765
2420
|
|
|
1766
2421
|
export declare const CalloutBaseValues: Omit<CalloutThemeType, 'Icon' | '--crm-ui-kit-callout-background-color'>;
|
|
1767
2422
|
|
|
@@ -4086,7 +4741,7 @@ export declare interface ComponentVariant {
|
|
|
4086
4741
|
outline: string;
|
|
4087
4742
|
}
|
|
4088
4743
|
|
|
4089
|
-
export declare const ContentBlock:
|
|
4744
|
+
export declare const ContentBlock: __VLS_WithTemplateSlots_27<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
4090
4745
|
|
|
4091
4746
|
declare type ContentBlockKey = '--crm-ui-kit-content-block-box-shadow' | '--crm-ui-kit-content-block-background' | '--crm-ui-kit-content-block-box-sizing' | '--crm-ui-kit-content-block-padding' | '--crm-ui-kit-content-block-border-radius';
|
|
4092
4747
|
|
|
@@ -4137,7 +4792,7 @@ declare const _default: {
|
|
|
4137
4792
|
};
|
|
4138
4793
|
export default _default;
|
|
4139
4794
|
|
|
4140
|
-
declare const _default_2:
|
|
4795
|
+
declare const _default_2: __VLS_WithTemplateSlots_32<DefineComponent<AccordionMultipleImplProps | AccordionSingleImplProps, {
|
|
4141
4796
|
accordionRef: Ref<({
|
|
4142
4797
|
$: ComponentInternalInstance;
|
|
4143
4798
|
$data: {};
|
|
@@ -4464,7 +5119,7 @@ default?(_: {}): any;
|
|
|
4464
5119
|
default?(_: {}): any;
|
|
4465
5120
|
}>;
|
|
4466
5121
|
|
|
4467
|
-
declare const _default_3:
|
|
5122
|
+
declare const _default_3: __VLS_WithTemplateSlots_33<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
4468
5123
|
|
|
4469
5124
|
export declare const DEFAULT_APPEARANCE = Appearance.DEFAULT;
|
|
4470
5125
|
|
|
@@ -4478,7 +5133,7 @@ export declare interface FieldValidation<T = any> {
|
|
|
4478
5133
|
touch: () => void;
|
|
4479
5134
|
}
|
|
4480
5135
|
|
|
4481
|
-
export declare const FilterTabs:
|
|
5136
|
+
export declare const FilterTabs: __VLS_WithTemplateSlots_34<DefineComponent<FilterTabsProps, {
|
|
4482
5137
|
filterTabsRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
4483
5138
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4484
5139
|
change: (updatedValues: string[], trigger?: string | undefined) => any;
|
|
@@ -4735,7 +5390,7 @@ declare interface ItemProps {
|
|
|
4735
5390
|
before?: any;
|
|
4736
5391
|
}
|
|
4737
5392
|
|
|
4738
|
-
export declare const ItemRoot:
|
|
5393
|
+
export declare const ItemRoot: __VLS_WithTemplateSlots_35<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
4739
5394
|
|
|
4740
5395
|
declare type ItemRootKey = '--crm-ui-kit-checkbox-group-item-root-disabled-opacity';
|
|
4741
5396
|
|
|
@@ -4763,7 +5418,7 @@ declare type ItemThemeKey = '--crm-ui-kit-accordion-item-border-radius' | '--crm
|
|
|
4763
5418
|
|
|
4764
5419
|
export declare const Label: __VLS_WithTemplateSlots_8<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
4765
5420
|
|
|
4766
|
-
export declare const LabelGroup:
|
|
5421
|
+
export declare const LabelGroup: __VLS_WithTemplateSlots_25<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
4767
5422
|
|
|
4768
5423
|
export declare type LabelGroupOrientation = 'horizontal' | 'vertical';
|
|
4769
5424
|
|
|
@@ -4821,7 +5476,7 @@ export declare type LabelThemeType = {
|
|
|
4821
5476
|
[K in LabelThemeKey]: string;
|
|
4822
5477
|
};
|
|
4823
5478
|
|
|
4824
|
-
export declare const Link:
|
|
5479
|
+
export declare const Link: __VLS_WithTemplateSlots_30<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
4825
5480
|
|
|
4826
5481
|
export declare const LinkPrimaryTheme: LinkTheme;
|
|
4827
5482
|
|
|
@@ -4838,7 +5493,7 @@ export declare type LinkTheme = {
|
|
|
4838
5493
|
|
|
4839
5494
|
declare type LinkThemeKey = '--crm-ui-kit-link-color' | '--crm-ui-kit-link-hover-color' | '--crm-ui-kit-link-focus-visible-outline-color' | '--crm-ui-kit-link-focus-visible-outline-width' | '--crm-ui-kit-link-focus-visible-outline-style' | '--crm-ui-kit-link-focus-visible-outline-offset' | '--crm-ui-kit-link-focus-visible-border-radius' | '--crm-ui-kit-link-text-decoration';
|
|
4840
5495
|
|
|
4841
|
-
export declare const List:
|
|
5496
|
+
export declare const List: __VLS_WithTemplateSlots_28<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
4842
5497
|
|
|
4843
5498
|
export declare interface ListProps {
|
|
4844
5499
|
/**
|
|
@@ -4868,9 +5523,131 @@ declare type ListThemeType = {
|
|
|
4868
5523
|
export { ListThemeType }
|
|
4869
5524
|
export { ListThemeType as SelectListThemeType }
|
|
4870
5525
|
|
|
5526
|
+
export declare const MultiSelect: __VLS_WithTemplateSlots_18<DefineComponent<MultiSelectProps, {
|
|
5527
|
+
multiSelectRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
5528
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5529
|
+
change: (items: MultiSelectItem_2[]) => any;
|
|
5530
|
+
openChange: (open: boolean) => any;
|
|
5531
|
+
}, string, PublicProps, Readonly<MultiSelectProps> & Readonly<{
|
|
5532
|
+
onChange?: ((items: MultiSelectItem_2[]) => any) | undefined;
|
|
5533
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
5534
|
+
}>, {
|
|
5535
|
+
mode: "single" | "multi";
|
|
5536
|
+
groupSelectable: boolean;
|
|
5537
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
5538
|
+
multiSelectRef: HTMLDivElement;
|
|
5539
|
+
}, HTMLDivElement>, {
|
|
5540
|
+
default?(_: {}): any;
|
|
5541
|
+
}>;
|
|
5542
|
+
|
|
5543
|
+
export declare const MultiSelectAll: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {
|
|
5544
|
+
label: string;
|
|
5545
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
5546
|
+
|
|
5547
|
+
export declare const MultiSelectCombobox: __VLS_WithTemplateSlots_24<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
5548
|
+
|
|
5549
|
+
declare type MultiSelectComboboxThemeKey = '--crm-ui-kit-multiselect-combobox-width' | '--crm-ui-kit-multiselect-combobox-height' | '--crm-ui-kit-multiselect-combobox-padding' | '--crm-ui-kit-multiselect-combobox-font-size' | '--crm-ui-kit-multiselect-combobox-color' | '--crm-ui-kit-multiselect-combobox-placeholder-color' | '--crm-ui-kit-multiselect-combobox-background-color' | '--crm-ui-kit-multiselect-combobox-border' | '--crm-ui-kit-multiselect-combobox-border-radius' | '--crm-ui-kit-multiselect-combobox-hover-border-color' | '--crm-ui-kit-multiselect-combobox-focus-border-color' | '--crm-ui-kit-multiselect-combobox-error-border-color';
|
|
5550
|
+
|
|
5551
|
+
declare type MultiSelectComboboxThemeType = {
|
|
5552
|
+
[K in MultiSelectComboboxThemeKey]: string;
|
|
5553
|
+
};
|
|
5554
|
+
|
|
5555
|
+
export declare interface MultiSelectContextProps {
|
|
5556
|
+
values: Set<string | number>;
|
|
5557
|
+
selectedItems: MultiSelectItem_2[];
|
|
5558
|
+
isOpened: boolean;
|
|
5559
|
+
isDisabled: boolean;
|
|
5560
|
+
isInvalid: boolean;
|
|
5561
|
+
hoveredItemValue: string | number | null;
|
|
5562
|
+
mode: 'single' | 'multi';
|
|
5563
|
+
groupSelectable: boolean;
|
|
5564
|
+
searchQuery: string;
|
|
5565
|
+
onOpen: (isOpen: boolean) => void;
|
|
5566
|
+
onToggleItem: (item: MultiSelectItem_2) => void;
|
|
5567
|
+
onToggleGroup: (groupId: string | number) => void;
|
|
5568
|
+
onToggleAll: () => void;
|
|
5569
|
+
onHoveredItemChange: (value: string | number | null) => void;
|
|
5570
|
+
onSearchChange: (query: string) => void;
|
|
5571
|
+
isItemMatchingSearch: (item: MultiSelectItem_2) => boolean;
|
|
5572
|
+
isGroupMatchingSearch: (groupId: string | number) => boolean;
|
|
5573
|
+
getGroupItems: (groupId: string | number) => MultiSelectItem_2[];
|
|
5574
|
+
isGroupAllSelected: (groupId: string | number) => boolean;
|
|
5575
|
+
isGroupPartiallySelected: (groupId: string | number) => boolean;
|
|
5576
|
+
isAllSelected: () => boolean;
|
|
5577
|
+
isPartiallySelected: () => boolean;
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
export declare const MultiSelectGroup: __VLS_WithTemplateSlots_22<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
5581
|
+
|
|
5582
|
+
declare interface MultiSelectGroup_2 {
|
|
5583
|
+
id: string | number;
|
|
5584
|
+
label: string;
|
|
5585
|
+
color?: string;
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
declare type MultiSelectGroupThemeKey = '--crm-ui-kit-multiselect-group-padding' | '--crm-ui-kit-multiselect-group-font-size' | '--crm-ui-kit-multiselect-group-font-weight' | '--crm-ui-kit-multiselect-group-color' | '--crm-ui-kit-multiselect-group-background-color' | '--crm-ui-kit-multiselect-group-text-transform';
|
|
5589
|
+
|
|
5590
|
+
declare type MultiSelectGroupThemeType = {
|
|
5591
|
+
[K in MultiSelectGroupThemeKey]: string;
|
|
5592
|
+
};
|
|
5593
|
+
|
|
5594
|
+
export declare const MultiSelectItem: __VLS_WithTemplateSlots_21<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
5595
|
+
|
|
5596
|
+
declare interface MultiSelectItem_2 {
|
|
5597
|
+
value: string | number;
|
|
5598
|
+
option: string;
|
|
5599
|
+
group?: string | number;
|
|
5600
|
+
isOnline?: boolean;
|
|
5601
|
+
}
|
|
5602
|
+
|
|
5603
|
+
declare type MultiSelectItemThemeKey = '--crm-ui-kit-multiselect-item-padding' | '--crm-ui-kit-multiselect-item-font-size' | '--crm-ui-kit-multiselect-item-font-weight' | '--crm-ui-kit-multiselect-item-selected-background-color' | '--crm-ui-kit-multiselect-item-hovered-background-color' | '--crm-ui-kit-multiselect-item-hover-background-color' | '--crm-ui-kit-multiselect-item-checkbox-gap';
|
|
5604
|
+
|
|
5605
|
+
declare type MultiSelectItemThemeType = {
|
|
5606
|
+
[K in MultiSelectItemThemeKey]: string;
|
|
5607
|
+
};
|
|
5608
|
+
|
|
5609
|
+
export declare const MultiSelectList: __VLS_WithTemplateSlots_20<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
5610
|
+
|
|
5611
|
+
export declare interface MultiSelectProps {
|
|
5612
|
+
theme: MultiSelectRootThemeType;
|
|
5613
|
+
mode?: 'single' | 'multi';
|
|
5614
|
+
groupSelectable?: boolean;
|
|
5615
|
+
value?: MultiSelectItem_2[];
|
|
5616
|
+
defaultValue?: MultiSelectItem_2[];
|
|
5617
|
+
items?: MultiSelectItem_2[];
|
|
5618
|
+
isInvalid?: boolean;
|
|
5619
|
+
isDisabled?: boolean;
|
|
5620
|
+
isOpen?: boolean;
|
|
5621
|
+
isDefaultOpen?: boolean;
|
|
5622
|
+
}
|
|
5623
|
+
|
|
5624
|
+
export declare const MultiSelectRootTheme: MultiSelectRootThemeType;
|
|
5625
|
+
|
|
5626
|
+
declare type MultiSelectRootThemeKey = '--crm-ui-kit-multiselect-z-index' | '--crm-ui-kit-multiselect-opened-z-index';
|
|
5627
|
+
|
|
5628
|
+
export declare type MultiSelectRootThemeType = {
|
|
5629
|
+
[K in MultiSelectRootThemeKey]: string;
|
|
5630
|
+
};
|
|
5631
|
+
|
|
5632
|
+
export declare const MultiSelectSearch: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
5633
|
+
placeholder: string;
|
|
5634
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
5635
|
+
inputRef: HTMLInputElement;
|
|
5636
|
+
}, HTMLLIElement>;
|
|
5637
|
+
|
|
5638
|
+
declare type MultiSelectSearchThemeKey = '--crm-ui-kit-multiselect-search-padding' | '--crm-ui-kit-multiselect-search-input-padding' | '--crm-ui-kit-multiselect-search-font-size' | '--crm-ui-kit-multiselect-search-color' | '--crm-ui-kit-multiselect-search-background-color' | '--crm-ui-kit-multiselect-search-border-bottom';
|
|
5639
|
+
|
|
5640
|
+
declare type MultiSelectSearchThemeType = {
|
|
5641
|
+
[K in MultiSelectSearchThemeKey]: string;
|
|
5642
|
+
};
|
|
5643
|
+
|
|
5644
|
+
export declare const MultiSelectTrigger: __VLS_WithTemplateSlots_19<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
5645
|
+
|
|
5646
|
+
export declare const MultiSelectValue: __VLS_WithTemplateSlots_23<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
5647
|
+
|
|
4871
5648
|
export declare const noop: () => void;
|
|
4872
5649
|
|
|
4873
|
-
export declare const Portal:
|
|
5650
|
+
export declare const Portal: __VLS_WithTemplateSlots_26<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
4874
5651
|
|
|
4875
5652
|
export declare const PORTAL_TARGETS: {
|
|
4876
5653
|
readonly MODAL: "#amocrm-modal-portal";
|
|
@@ -5927,7 +6704,7 @@ export declare type SwitcherTheme = {
|
|
|
5927
6704
|
|
|
5928
6705
|
declare type SwitcherThemeKey = '--crm-ui-kit-switcher-active-element-color' | '--crm-ui-kit-switcher-border-color' | '--crm-ui-kit-switcher-circle-size' | '--crm-ui-kit-switcher-line-border-radius' | '--crm-ui-kit-switcher-line-width' | '--crm-ui-kit-switcher-border-width' | '--crm-ui-kit-switcher-disabled-opacity' | '--crm-ui-kit-switcher-focus-visible-outline-color' | '--crm-ui-kit-switcher-focus-visible-outline-width' | '--crm-ui-kit-switcher-focus-visible-outline-style' | '--crm-ui-kit-switcher-focus-visible-outline-offset' | '--crm-ui-kit-switcher-focus-visible-border-radius';
|
|
5929
6706
|
|
|
5930
|
-
export declare const Tab:
|
|
6707
|
+
export declare const Tab: __VLS_WithTemplateSlots_36<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
5931
6708
|
|
|
5932
6709
|
export declare const TabPrimaryTheme: TabThemeType;
|
|
5933
6710
|
|
|
@@ -5943,7 +6720,7 @@ export declare type TabThemeType = {
|
|
|
5943
6720
|
[K in TabThemeKey]: string;
|
|
5944
6721
|
};
|
|
5945
6722
|
|
|
5946
|
-
declare const Text_2:
|
|
6723
|
+
declare const Text_2: __VLS_WithTemplateSlots_29<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
5947
6724
|
export { Text_2 as Text }
|
|
5948
6725
|
|
|
5949
6726
|
export declare const TextArea: DefineComponent<Props_4, {
|
|
@@ -6123,6 +6900,8 @@ export declare function useFormValidation<T extends Record<string, any>>(initial
|
|
|
6123
6900
|
|
|
6124
6901
|
export declare function useModalPortal(): UsePortalReturn;
|
|
6125
6902
|
|
|
6903
|
+
export declare const useMultiSelectContext: (consumerName: string) => MultiSelectContextProps;
|
|
6904
|
+
|
|
6126
6905
|
export declare function usePortal(targetSelector?: string): UsePortalReturn;
|
|
6127
6906
|
|
|
6128
6907
|
declare interface UsePortalReturn {
|