voiptime-components 1.8.3 → 1.8.5

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;
@@ -746,6 +828,7 @@ declare const icons: {
746
828
  readonly emptyImg: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
747
829
  readonly fileDoc: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
748
830
  readonly fileSign: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
831
+ readonly fileChoose: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
749
832
  readonly filterAdd: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
750
833
  readonly filterAdvanced: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
751
834
  readonly filterDateCheck: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -762,6 +845,7 @@ declare const icons: {
762
845
  readonly clock: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
763
846
  readonly eyeClosed: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
764
847
  readonly eyeOpened: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
848
+ readonly infoCircle: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
765
849
  readonly search: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
766
850
  readonly url: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
767
851
  readonly emailDeleted: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -782,6 +866,7 @@ declare const icons: {
782
866
  readonly preview: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
783
867
  readonly progressive: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
784
868
  readonly sms: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
869
+ readonly transcription: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
785
870
  readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
786
871
  readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
787
872
  readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -800,6 +885,8 @@ export declare const isValidDate: (value: any) => boolean;
800
885
 
801
886
  export declare const isValidTimeString: (timeStr: string) => boolean;
802
887
 
888
+ export declare const messageManager: VMessageManager;
889
+
803
890
  export declare const modalManager: VModalManager;
804
891
 
805
892
  export declare const MONTH_NAMES: string[];
@@ -979,6 +1066,10 @@ export declare interface VCheckboxSlots {
979
1066
  label?: () => any;
980
1067
  }
981
1068
 
1069
+ export declare const VCollapse: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1070
+
1071
+ export declare const VCollapseItem: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1072
+
982
1073
  export declare const VDatePicker: DefineComponent<VDatePickerProps, {
983
1074
  focus: () => void;
984
1075
  blur: () => void;
@@ -1277,6 +1368,52 @@ export declare const VInput: DefineComponent<VtInputProps, {
1277
1368
 
1278
1369
  export declare const VLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
1279
1370
 
1371
+ export declare const VMessage: VMessageMethods;
1372
+
1373
+ export declare interface VMessageInstance extends VMessageOptions {
1374
+ id: number;
1375
+ type: VMessageType;
1376
+ }
1377
+
1378
+ declare class VMessageManager {
1379
+ private messageInstance;
1380
+ private app;
1381
+ private container;
1382
+ call(options?: VMessageOptions): number;
1383
+ success(message: string, options?: Partial<VMessageOptions>): number;
1384
+ danger(message: string, options?: Partial<VMessageOptions>): number;
1385
+ warning(message: string, options?: Partial<VMessageOptions>): number;
1386
+ primary(message: string, options?: Partial<VMessageOptions>): number;
1387
+ close(id: number): void;
1388
+ closeAll(): void;
1389
+ getOpenMessagesCount(): number;
1390
+ private ensureInstance;
1391
+ }
1392
+
1393
+ export declare interface VMessageMethods {
1394
+ success: (message: string, options?: Partial<VMessageOptions>) => number;
1395
+ danger: (message: string, options?: Partial<VMessageOptions>) => number;
1396
+ warning: (message: string, options?: Partial<VMessageOptions>) => number;
1397
+ primary: (message: string, options?: Partial<VMessageOptions>) => number;
1398
+ close: (id: number) => void;
1399
+ closeAll: () => void;
1400
+ (options: VMessageOptions): number;
1401
+ }
1402
+
1403
+ export declare interface VMessageOptions {
1404
+ message: string;
1405
+ type?: VMessageType;
1406
+ showClose?: boolean;
1407
+ duration?: number;
1408
+ dangerouslyUseHTMLString?: boolean;
1409
+ }
1410
+
1411
+ export declare const VMessagePlugin: {
1412
+ install(app: App): void;
1413
+ };
1414
+
1415
+ export declare type VMessageType = 'success' | 'warning' | 'primary' | 'danger';
1416
+
1280
1417
  export declare const VModal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1281
1418
 
1282
1419
  export declare interface VModalConfig {
@@ -1772,6 +1909,7 @@ export default VUIPlugin;
1772
1909
  export declare interface VUIPluginOptions {
1773
1910
  prefix?: string;
1774
1911
  modal?: boolean;
1912
+ message?: boolean;
1775
1913
  }
1776
1914
 
1777
1915
  export declare const WEEKDAY_NAMES: string[];
@@ -1784,6 +1922,12 @@ export { }
1784
1922
  declare module '@vue/runtime-core' {
1785
1923
  interface ComponentCustomProperties {
1786
1924
  $modal: import('./components/modal/types').VModalInstance;
1925
+ $message: import('./components/message/types').VMessageMethods;
1926
+ $messageStack: {
1927
+ closeAll: () => void;
1928
+ getCount: () => number;
1929
+ closeById: (id: number) => void;
1930
+ };
1787
1931
  }
1788
1932
  }
1789
1933
 
@@ -1794,3 +1938,10 @@ declare module '@vue/runtime-core' {
1794
1938
  $modalStack: VModalStack;
1795
1939
  }
1796
1940
  }
1941
+
1942
+
1943
+ declare module '@vue/runtime-core' {
1944
+ interface ComponentCustomProperties {
1945
+ $message: VMessageMethods;
1946
+ }
1947
+ }