voiptime-components 1.8.3 → 1.8.4

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 CHANGED
@@ -25,6 +25,24 @@ declare const __VLS_component: DefineComponent<VButtonProps, {}, {}, {}, {}, Com
25
25
  htmlType: "button" | "submit" | "reset";
26
26
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
27
27
 
28
+ declare const __VLS_component_10: DefineComponent<CollapseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
29
+ change: (value: string[]) => any;
30
+ "update:modelValue": (value: string[]) => any;
31
+ }, string, PublicProps, Readonly<CollapseProps> & Readonly<{
32
+ onChange?: ((value: string[]) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
34
+ }>, {
35
+ accordion: boolean;
36
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
37
+
38
+ declare const __VLS_component_11: DefineComponent<CollapseItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
39
+ toggle: (name: string) => any;
40
+ }, string, PublicProps, Readonly<CollapseItemProps> & Readonly<{
41
+ onToggle?: ((name: string) => any) | undefined;
42
+ }>, {
43
+ disabled: boolean;
44
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
45
+
28
46
  declare const __VLS_component_2: DefineComponent<VModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
29
47
  close: () => any;
30
48
  "update:modelValue": (value: boolean) => any;
@@ -357,6 +375,28 @@ declare function __VLS_template(): {
357
375
  rootEl: HTMLButtonElement;
358
376
  };
359
377
 
378
+ declare function __VLS_template_10(): {
379
+ attrs: Partial<{}>;
380
+ slots: {
381
+ default?(_: {}): any;
382
+ };
383
+ refs: {};
384
+ rootEl: HTMLDivElement;
385
+ };
386
+
387
+ declare function __VLS_template_11(): {
388
+ attrs: Partial<{}>;
389
+ slots: {
390
+ title?(_: {
391
+ isActive: boolean;
392
+ title: string | undefined;
393
+ }): any;
394
+ default?(_: {}): any;
395
+ };
396
+ refs: {};
397
+ rootEl: HTMLDivElement;
398
+ };
399
+
360
400
  declare function __VLS_template_2(): {
361
401
  attrs: Partial<{}>;
362
402
  slots: {
@@ -535,6 +575,10 @@ declare function __VLS_template_9(): {
535
575
 
536
576
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
537
577
 
578
+ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
579
+
580
+ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
581
+
538
582
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
539
583
 
540
584
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -557,6 +601,18 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
557
601
  };
558
602
  };
559
603
 
604
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
605
+ new (): {
606
+ $slots: S;
607
+ };
608
+ };
609
+
610
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
611
+ new (): {
612
+ $slots: S;
613
+ };
614
+ };
615
+
560
616
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
561
617
  new (): {
562
618
  $slots: S;
@@ -605,6 +661,32 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
605
661
  };
606
662
  };
607
663
 
664
+ export declare interface CollapseContext {
665
+ readonly activeNames: string[];
666
+ readonly accordion: boolean;
667
+ toggle: (name: string) => void;
668
+ }
669
+
670
+ export declare interface CollapseEmits {
671
+ (e: 'update:modelValue', value: string[]): void;
672
+ (e: 'change', value: string[]): void;
673
+ }
674
+
675
+ export declare interface CollapseItemEmits {
676
+ (e: 'toggle', name: string): void;
677
+ }
678
+
679
+ export declare interface CollapseItemProps {
680
+ title?: string;
681
+ name: string;
682
+ disabled?: boolean;
683
+ }
684
+
685
+ export declare interface CollapseProps {
686
+ modelValue: string[];
687
+ accordion?: boolean;
688
+ }
689
+
608
690
  export declare interface DatePickerShortcut {
609
691
  text: string;
610
692
  value: () => DatePickerValue;
@@ -979,6 +1061,10 @@ export declare interface VCheckboxSlots {
979
1061
  label?: () => any;
980
1062
  }
981
1063
 
1064
+ export declare const VCollapse: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1065
+
1066
+ export declare const VCollapseItem: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1067
+
982
1068
  export declare const VDatePicker: DefineComponent<VDatePickerProps, {
983
1069
  focus: () => void;
984
1070
  blur: () => void;