@ambita/design-system 3.0.24 → 3.0.25-244.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.
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  value: {
3
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
3
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
4
4
  };
5
5
  disabled: {
6
6
  type: BooleanConstructor;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
29
29
  selected?: unknown;
30
30
  indeterminate?: unknown;
31
31
  } & {
32
- disabled: boolean;
33
32
  id: string;
33
+ disabled: boolean;
34
34
  selected: boolean;
35
35
  indeterminate: boolean;
36
36
  } & {
@@ -39,8 +39,8 @@ declare const _default: import("vue").DefineComponent<{
39
39
  }> & {
40
40
  onChange?: ((...args: any[]) => any) | undefined;
41
41
  }, {
42
- disabled: boolean;
43
42
  id: string;
43
+ disabled: boolean;
44
44
  selected: boolean;
45
45
  indeterminate: boolean;
46
46
  }>;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
34
34
  dataTestid?: unknown;
35
35
  size?: unknown;
36
36
  } & {
37
- size: string;
38
37
  label: string;
38
+ size: string;
39
39
  suffix: string;
40
40
  vertical: boolean;
41
41
  } & {
@@ -66,10 +66,10 @@ declare const _default: import("vue").DefineComponent<{
66
66
  min?: unknown;
67
67
  max?: unknown;
68
68
  } & {
69
- type: string;
70
69
  label: string;
71
70
  hideLabel: boolean;
72
71
  id: string;
72
+ type: string;
73
73
  clearable: boolean;
74
74
  fieldWidth: string;
75
75
  } & {
@@ -86,9 +86,9 @@ declare const _default: import("vue").DefineComponent<{
86
86
  onBlur?: ((...args: any[]) => any) | undefined;
87
87
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
- type: string;
90
89
  hideLabel: boolean;
91
90
  id: string;
91
+ type: string;
92
92
  clearable: boolean;
93
93
  fieldWidth: string;
94
94
  }>;
@@ -38,17 +38,17 @@ declare const _default: import("vue").DefineComponent<{
38
38
  title?: unknown;
39
39
  dataTestid?: unknown;
40
40
  } & {
41
+ id: string;
41
42
  size: string;
42
43
  actions: Action[];
43
- id: string;
44
44
  } & {
45
45
  dataTestid?: string | undefined;
46
46
  title?: string | undefined;
47
47
  }> & {
48
48
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
49
49
  }, {
50
+ id: string;
50
51
  size: string;
51
52
  actions: Action[];
52
- id: string;
53
53
  }>;
54
54
  export default _default;
@@ -28,15 +28,15 @@ declare const _default: import("vue").DefineComponent<{
28
28
  selected?: unknown;
29
29
  } & {
30
30
  name: string;
31
- disabled: boolean;
32
31
  id: string;
32
+ disabled: boolean;
33
33
  selected: string;
34
34
  } & {
35
35
  value?: string | number | undefined;
36
36
  }> & {
37
37
  onChange?: ((...args: any[]) => any) | undefined;
38
38
  }, {
39
- disabled: boolean;
40
39
  id: string;
40
+ disabled: boolean;
41
41
  }>;
42
42
  export default _default;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  type: StringConstructor;
34
34
  };
35
35
  value: {
36
- type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
36
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
37
37
  };
38
38
  }, {
39
39
  state: {
@@ -50,20 +50,20 @@ declare const _default: import("vue").DefineComponent<{
50
50
  description?: unknown;
51
51
  value?: unknown;
52
52
  } & {
53
- required: boolean;
54
53
  hideLabel: boolean;
55
54
  id: string;
55
+ required: boolean;
56
56
  items: Item[];
57
57
  } & {
58
58
  name?: string | undefined;
59
+ label?: string | undefined;
59
60
  description?: string | undefined;
60
61
  value?: string | number | unknown[] | undefined;
61
- label?: string | undefined;
62
62
  }> & {
63
63
  onChange?: ((...args: any[]) => any) | undefined;
64
64
  }, {
65
- required: boolean;
66
65
  hideLabel: boolean;
67
66
  id: string;
67
+ required: boolean;
68
68
  }>;
69
69
  export default _default;
@@ -1,5 +1,8 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
+ modelValue: {
4
+ type: (StringConstructor | NumberConstructor)[];
5
+ };
3
6
  label: {
4
7
  type: StringConstructor;
5
8
  required: true;
@@ -47,7 +50,13 @@ declare const _default: import("vue").DefineComponent<{
47
50
  resize: "none" | "vertical" | "horizontal" | "auto" | "both";
48
51
  'max-width': string;
49
52
  }>;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur")[], "input" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
53
+ handleInput(event: {
54
+ target: {
55
+ value: string;
56
+ };
57
+ }): void;
58
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue")[], "input" | "blur" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
59
+ modelValue?: unknown;
51
60
  label?: unknown;
52
61
  id?: unknown;
53
62
  description?: unknown;
@@ -60,27 +69,29 @@ declare const _default: import("vue").DefineComponent<{
60
69
  required?: unknown;
61
70
  value?: unknown;
62
71
  } & {
63
- required: boolean;
64
- value: string | number;
65
72
  label: string;
66
- resize: "none" | "vertical" | "horizontal" | "auto" | "both";
67
73
  hideLabel: boolean;
68
74
  id: string;
75
+ required: boolean;
76
+ value: string | number;
77
+ resize: "none" | "vertical" | "horizontal" | "auto" | "both";
69
78
  height: number;
70
79
  width: string;
71
80
  } & {
72
81
  name?: string | undefined;
73
82
  description?: string | undefined;
83
+ modelValue?: string | number | undefined;
74
84
  placeholder?: string | undefined;
75
85
  }> & {
76
86
  onInput?: ((...args: any[]) => any) | undefined;
77
87
  onBlur?: ((...args: any[]) => any) | undefined;
88
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
89
  }, {
90
+ hideLabel: boolean;
91
+ id: string;
79
92
  required: boolean;
80
93
  value: string | number;
81
94
  resize: "none" | "vertical" | "horizontal" | "auto" | "both";
82
- hideLabel: boolean;
83
- id: string;
84
95
  height: number;
85
96
  width: string;
86
97
  }>;
@@ -17,6 +17,9 @@ declare const _default: import("vue").DefineComponent<{
17
17
  type: BooleanConstructor;
18
18
  default: boolean;
19
19
  };
20
+ maxAttachmentCount: {
21
+ type: NumberConstructor;
22
+ };
20
23
  }, {
21
24
  removeFile: (uuid: string) => void;
22
25
  filesUploaded: import("vue").ComputedRef<boolean>;
@@ -26,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
26
29
  message: string;
27
30
  };
28
31
  dragLeave: () => void;
29
- addFile: () => void;
32
+ addFile: (event: Event) => void;
30
33
  wrapperClasses: import("vue").ComputedRef<{
31
34
  'aux-input-upload-field-wrapper': boolean;
32
35
  "aux-input-upload-field-wrapper--drag": boolean;
@@ -35,19 +38,25 @@ declare const _default: import("vue").DefineComponent<{
35
38
  dragover: () => void;
36
39
  inputField: import("vue").Ref<any>;
37
40
  inputFieldWrapper: import("vue").Ref<any>;
41
+ errorMessage: import("vue").Ref<string>;
42
+ handleFile: (event: Event) => void;
43
+ filesCollection: any;
44
+ setWarning: (files: FileList) => void;
38
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("file-added" | "file-removed")[], "file-added" | "file-removed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
39
46
  files?: unknown;
40
47
  id?: unknown;
41
48
  label?: unknown;
42
49
  description?: unknown;
43
50
  hideLabel?: unknown;
51
+ maxAttachmentCount?: unknown;
44
52
  } & {
45
53
  hideLabel: boolean;
46
54
  id: string;
47
55
  files: unknown[];
48
56
  } & {
49
- description?: string | undefined;
50
57
  label?: string | undefined;
58
+ description?: string | undefined;
59
+ maxAttachmentCount?: number | undefined;
51
60
  }> & {
52
61
  "onFile-added"?: ((...args: any[]) => any) | undefined;
53
62
  "onFile-removed"?: ((...args: any[]) => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ambita/design-system",
3
- "version": "3.0.24",
3
+ "version": "3.0.25-244.0",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "serve": "vue-cli-service serve",