@muenchen/muc-patternlab-vue 2.1.0-beta.5 → 2.1.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.
@@ -9,10 +9,11 @@ declare const _default: {
9
9
  maxFileSizeWarning?: string;
10
10
  maxTotalFileSize?: number;
11
11
  maxTotalFileSizeWarning?: string;
12
- showWarning?: boolean;
13
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- warning: (...args: any[]) => void;
15
- files: (...args: any[]) => void;
12
+ }, {
13
+ clearWarnings: () => void;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ warning: () => any;
16
+ files: (files: File[]) => any;
16
17
  }, string, import('vue').PublicProps, Readonly<{
17
18
  buttonText: string;
18
19
  additionalInformation?: string;
@@ -23,10 +24,9 @@ declare const _default: {
23
24
  maxFileSizeWarning?: string;
24
25
  maxTotalFileSize?: number;
25
26
  maxTotalFileSizeWarning?: string;
26
- showWarning?: boolean;
27
27
  }> & Readonly<{
28
- onWarning?: ((...args: any[]) => any) | undefined;
29
- onFiles?: ((...args: any[]) => any) | undefined;
28
+ onWarning?: (() => any) | undefined;
29
+ onFiles?: ((files: File[]) => any) | undefined;
30
30
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
31
  title: string;
32
32
  tags: string[];
@@ -39,6 +39,7 @@ declare const _default: {
39
39
  };
40
40
  };
41
41
  export default _default;
42
+ export declare const Default: {};
42
43
  export declare const Example: {
43
44
  args: {
44
45
  buttonText: string;
@@ -50,4 +51,3 @@ export declare const Example: {
50
51
  maxTotalFileSizeWarning: string;
51
52
  };
52
53
  };
53
- export declare const Default: {};
@@ -35,16 +35,17 @@ type __VLS_Props = {
35
35
  * Warning for invalid file size sum
36
36
  */
37
37
  maxTotalFileSizeWarning?: string;
38
+ };
39
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
38
40
  /**
39
- * Clears warnings when changes from 'true' to 'false'.
41
+ * Exposed function to clear all warnings
40
42
  */
41
- showWarning?: boolean;
42
- };
43
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
- warning: (...args: any[]) => void;
45
- files: (...args: any[]) => void;
43
+ clearWarnings: () => void;
44
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
+ warning: () => any;
46
+ files: (files: File[]) => any;
46
47
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
47
- onWarning?: ((...args: any[]) => any) | undefined;
48
- onFiles?: ((...args: any[]) => any) | undefined;
48
+ onWarning?: (() => any) | undefined;
49
+ onFiles?: ((files: File[]) => any) | undefined;
49
50
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
51
  export default _default;