voiptime-components 1.8.4 → 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
@@ -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,7 @@ 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>;
867
870
  readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
868
871
  readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
869
872
  readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -882,6 +885,8 @@ export declare const isValidDate: (value: any) => boolean;
882
885
 
883
886
  export declare const isValidTimeString: (timeStr: string) => boolean;
884
887
 
888
+ export declare const messageManager: VMessageManager;
889
+
885
890
  export declare const modalManager: VModalManager;
886
891
 
887
892
  export declare const MONTH_NAMES: string[];
@@ -1363,6 +1368,52 @@ export declare const VInput: DefineComponent<VtInputProps, {
1363
1368
 
1364
1369
  export declare const VLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
1365
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
+
1366
1417
  export declare const VModal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1367
1418
 
1368
1419
  export declare interface VModalConfig {
@@ -1858,6 +1909,7 @@ export default VUIPlugin;
1858
1909
  export declare interface VUIPluginOptions {
1859
1910
  prefix?: string;
1860
1911
  modal?: boolean;
1912
+ message?: boolean;
1861
1913
  }
1862
1914
 
1863
1915
  export declare const WEEKDAY_NAMES: string[];
@@ -1870,6 +1922,12 @@ export { }
1870
1922
  declare module '@vue/runtime-core' {
1871
1923
  interface ComponentCustomProperties {
1872
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
+ };
1873
1931
  }
1874
1932
  }
1875
1933
 
@@ -1880,3 +1938,10 @@ declare module '@vue/runtime-core' {
1880
1938
  $modalStack: VModalStack;
1881
1939
  }
1882
1940
  }
1941
+
1942
+
1943
+ declare module '@vue/runtime-core' {
1944
+ interface ComponentCustomProperties {
1945
+ $message: VMessageMethods;
1946
+ }
1947
+ }