voiptime-components 1.8.4 → 1.8.6

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
@@ -828,6 +828,7 @@ declare const icons: {
828
828
  readonly emptyImg: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
829
829
  readonly fileDoc: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
830
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>;
831
832
  readonly filterAdd: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
832
833
  readonly filterAdvanced: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
833
834
  readonly filterDateCheck: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -844,6 +845,7 @@ declare const icons: {
844
845
  readonly clock: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
845
846
  readonly eyeClosed: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
846
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>;
847
849
  readonly search: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
848
850
  readonly url: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
849
851
  readonly emailDeleted: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -864,6 +866,8 @@ declare const icons: {
864
866
  readonly preview: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
865
867
  readonly progressive: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
866
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>;
870
+ readonly transcriptionStart: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
867
871
  readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
868
872
  readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
869
873
  readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -882,6 +886,8 @@ export declare const isValidDate: (value: any) => boolean;
882
886
 
883
887
  export declare const isValidTimeString: (timeStr: string) => boolean;
884
888
 
889
+ export declare const messageManager: VMessageManager;
890
+
885
891
  export declare const modalManager: VModalManager;
886
892
 
887
893
  export declare const MONTH_NAMES: string[];
@@ -1363,6 +1369,52 @@ export declare const VInput: DefineComponent<VtInputProps, {
1363
1369
 
1364
1370
  export declare const VLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
1365
1371
 
1372
+ export declare const VMessage: VMessageMethods;
1373
+
1374
+ export declare interface VMessageInstance extends VMessageOptions {
1375
+ id: number;
1376
+ type: VMessageType;
1377
+ }
1378
+
1379
+ declare class VMessageManager {
1380
+ private messageInstance;
1381
+ private app;
1382
+ private container;
1383
+ call(options?: VMessageOptions): number;
1384
+ success(message: string, options?: Partial<VMessageOptions>): number;
1385
+ danger(message: string, options?: Partial<VMessageOptions>): number;
1386
+ warning(message: string, options?: Partial<VMessageOptions>): number;
1387
+ primary(message: string, options?: Partial<VMessageOptions>): number;
1388
+ close(id: number): void;
1389
+ closeAll(): void;
1390
+ getOpenMessagesCount(): number;
1391
+ private ensureInstance;
1392
+ }
1393
+
1394
+ export declare interface VMessageMethods {
1395
+ success: (message: string, options?: Partial<VMessageOptions>) => number;
1396
+ danger: (message: string, options?: Partial<VMessageOptions>) => number;
1397
+ warning: (message: string, options?: Partial<VMessageOptions>) => number;
1398
+ primary: (message: string, options?: Partial<VMessageOptions>) => number;
1399
+ close: (id: number) => void;
1400
+ closeAll: () => void;
1401
+ (options: VMessageOptions): number;
1402
+ }
1403
+
1404
+ export declare interface VMessageOptions {
1405
+ message: string;
1406
+ type?: VMessageType;
1407
+ showClose?: boolean;
1408
+ duration?: number;
1409
+ dangerouslyUseHTMLString?: boolean;
1410
+ }
1411
+
1412
+ export declare const VMessagePlugin: {
1413
+ install(app: App): void;
1414
+ };
1415
+
1416
+ export declare type VMessageType = 'success' | 'warning' | 'primary' | 'danger';
1417
+
1366
1418
  export declare const VModal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1367
1419
 
1368
1420
  export declare interface VModalConfig {
@@ -1858,6 +1910,7 @@ export default VUIPlugin;
1858
1910
  export declare interface VUIPluginOptions {
1859
1911
  prefix?: string;
1860
1912
  modal?: boolean;
1913
+ message?: boolean;
1861
1914
  }
1862
1915
 
1863
1916
  export declare const WEEKDAY_NAMES: string[];
@@ -1870,6 +1923,12 @@ export { }
1870
1923
  declare module '@vue/runtime-core' {
1871
1924
  interface ComponentCustomProperties {
1872
1925
  $modal: import('./components/modal/types').VModalInstance;
1926
+ $message: import('./components/message/types').VMessageMethods;
1927
+ $messageStack: {
1928
+ closeAll: () => void;
1929
+ getCount: () => number;
1930
+ closeById: (id: number) => void;
1931
+ };
1873
1932
  }
1874
1933
  }
1875
1934
 
@@ -1880,3 +1939,10 @@ declare module '@vue/runtime-core' {
1880
1939
  $modalStack: VModalStack;
1881
1940
  }
1882
1941
  }
1942
+
1943
+
1944
+ declare module '@vue/runtime-core' {
1945
+ interface ComponentCustomProperties {
1946
+ $message: VMessageMethods;
1947
+ }
1948
+ }