@ambita/design-system 3.0.25-267.0 → 3.0.25
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/README.md +0 -14
- package/dist/aux.common.js +225 -705
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +225 -705
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +1 -1
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +3 -3
- package/dist/types/components/Definition/Definition.vue.d.ts +1 -1
- package/dist/types/components/Input/Input.vue.d.ts +2 -2
- package/dist/types/components/Modal/Modal.vue.d.ts +2 -2
- package/dist/types/components/Radio/Radio.vue.d.ts +2 -2
- package/dist/types/components/Select/Select.vue.d.ts +4 -12
- package/dist/types/components/TextArea/TextArea.vue.d.ts +6 -17
- package/dist/types/components/Upload/File/File.vue.d.ts +1 -1
- package/dist/types/components/Upload/Upload.vue.d.ts +2 -18
- package/dist/types/index.d.ts +0 -2
- package/package.json +1 -1
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +0 -16
- package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
value: {
|
|
3
|
-
type: (StringConstructor |
|
|
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
|
}>;
|
|
@@ -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,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
title?: unknown;
|
|
39
39
|
dataTestid?: unknown;
|
|
40
40
|
} & {
|
|
41
|
-
size: string;
|
|
42
41
|
id: string;
|
|
42
|
+
size: string;
|
|
43
43
|
actions: Action[];
|
|
44
44
|
} & {
|
|
45
45
|
dataTestid?: string | undefined;
|
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
}> & {
|
|
48
48
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
size: string;
|
|
51
50
|
id: string;
|
|
51
|
+
size: string;
|
|
52
52
|
actions: Action[];
|
|
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;
|
|
@@ -35,15 +35,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
value: {
|
|
36
36
|
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
37
37
|
};
|
|
38
|
-
modelValue: {
|
|
39
|
-
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
40
|
-
};
|
|
41
38
|
}, {
|
|
42
39
|
state: {
|
|
43
40
|
value: string | number | unknown[] | undefined;
|
|
44
41
|
};
|
|
45
42
|
updateValue: (value: string) => void;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
47
44
|
items?: unknown;
|
|
48
45
|
label?: unknown;
|
|
49
46
|
required?: unknown;
|
|
@@ -52,26 +49,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
49
|
hideLabel?: unknown;
|
|
53
50
|
description?: unknown;
|
|
54
51
|
value?: unknown;
|
|
55
|
-
modelValue?: unknown;
|
|
56
52
|
} & {
|
|
57
|
-
required: boolean;
|
|
58
53
|
hideLabel: boolean;
|
|
59
54
|
id: string;
|
|
55
|
+
required: boolean;
|
|
60
56
|
items: Item[];
|
|
61
57
|
} & {
|
|
62
58
|
name?: string | undefined;
|
|
59
|
+
label?: string | undefined;
|
|
63
60
|
description?: string | undefined;
|
|
64
61
|
value?: string | number | unknown[] | undefined;
|
|
65
|
-
label?: string | undefined;
|
|
66
|
-
modelValue?: string | number | unknown[] | undefined;
|
|
67
62
|
}> & {
|
|
68
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
69
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
63
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
64
|
}, {
|
|
73
|
-
required: boolean;
|
|
74
65
|
hideLabel: boolean;
|
|
75
66
|
id: string;
|
|
67
|
+
required: boolean;
|
|
76
68
|
}>;
|
|
77
69
|
export default _default;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
-
};
|
|
6
3
|
label: {
|
|
7
4
|
type: StringConstructor;
|
|
8
5
|
required: true;
|
|
@@ -50,13 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
47
|
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
51
48
|
'max-width': string;
|
|
52
49
|
}>;
|
|
53
|
-
|
|
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;
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur")[], "input" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
60
51
|
label?: unknown;
|
|
61
52
|
id?: unknown;
|
|
62
53
|
description?: unknown;
|
|
@@ -69,29 +60,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
60
|
required?: unknown;
|
|
70
61
|
value?: unknown;
|
|
71
62
|
} & {
|
|
72
|
-
required: boolean;
|
|
73
|
-
value: string | number;
|
|
74
63
|
label: string;
|
|
75
|
-
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
76
64
|
hideLabel: boolean;
|
|
77
65
|
id: string;
|
|
66
|
+
required: boolean;
|
|
67
|
+
value: string | number;
|
|
68
|
+
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
78
69
|
height: number;
|
|
79
70
|
width: string;
|
|
80
71
|
} & {
|
|
81
72
|
name?: string | undefined;
|
|
82
73
|
description?: string | undefined;
|
|
83
|
-
modelValue?: string | number | undefined;
|
|
84
74
|
placeholder?: string | undefined;
|
|
85
75
|
}> & {
|
|
86
76
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
87
77
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
78
|
}, {
|
|
79
|
+
hideLabel: boolean;
|
|
80
|
+
id: string;
|
|
90
81
|
required: boolean;
|
|
91
82
|
value: string | number;
|
|
92
83
|
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
93
|
-
hideLabel: boolean;
|
|
94
|
-
id: string;
|
|
95
84
|
height: number;
|
|
96
85
|
width: string;
|
|
97
86
|
}>;
|
|
@@ -17,13 +17,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
type: BooleanConstructor;
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
|
-
maxFileSize: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: NumberConstructor;
|
|
23
|
-
};
|
|
24
|
-
maxAttachmentCount: {
|
|
25
|
-
type: NumberConstructor;
|
|
26
|
-
};
|
|
27
20
|
}, {
|
|
28
21
|
removeFile: (uuid: string) => void;
|
|
29
22
|
filesUploaded: import("vue").ComputedRef<boolean>;
|
|
@@ -33,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
26
|
message: string;
|
|
34
27
|
};
|
|
35
28
|
dragLeave: () => void;
|
|
36
|
-
addFile: (
|
|
29
|
+
addFile: () => void;
|
|
37
30
|
wrapperClasses: import("vue").ComputedRef<{
|
|
38
31
|
'aux-input-upload-field-wrapper': boolean;
|
|
39
32
|
"aux-input-upload-field-wrapper--drag": boolean;
|
|
@@ -42,27 +35,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
35
|
dragover: () => void;
|
|
43
36
|
inputField: import("vue").Ref<any>;
|
|
44
37
|
inputFieldWrapper: import("vue").Ref<any>;
|
|
45
|
-
errorMessage: import("vue").Ref<string>;
|
|
46
|
-
handleFile: (event: Event) => void;
|
|
47
|
-
filesCollection: any;
|
|
48
|
-
setWarning: (files: FileList) => void;
|
|
49
38
|
}, 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<{
|
|
50
39
|
files?: unknown;
|
|
51
40
|
id?: unknown;
|
|
52
41
|
label?: unknown;
|
|
53
42
|
description?: unknown;
|
|
54
43
|
hideLabel?: unknown;
|
|
55
|
-
maxFileSize?: unknown;
|
|
56
|
-
maxAttachmentCount?: unknown;
|
|
57
44
|
} & {
|
|
58
45
|
hideLabel: boolean;
|
|
59
46
|
id: string;
|
|
60
47
|
files: unknown[];
|
|
61
|
-
maxFileSize: number;
|
|
62
48
|
} & {
|
|
63
|
-
description?: string | undefined;
|
|
64
49
|
label?: string | undefined;
|
|
65
|
-
|
|
50
|
+
description?: string | undefined;
|
|
66
51
|
}> & {
|
|
67
52
|
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
68
53
|
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
@@ -70,6 +55,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
55
|
hideLabel: boolean;
|
|
71
56
|
id: string;
|
|
72
57
|
files: unknown[];
|
|
73
|
-
maxFileSize: number;
|
|
74
58
|
}>;
|
|
75
59
|
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -15,7 +15,5 @@ export { default as AuxUpload } from './components/Upload/Upload.vue';
|
|
|
15
15
|
export { default as AuxCard } from './components/Card/Card.vue';
|
|
16
16
|
export { default as AuxToggle } from './components/Toggle/Toggle.vue';
|
|
17
17
|
export { default as AuxPagination } from './components/Pagination/Pagination.vue';
|
|
18
|
-
export { default as AuxDirectionalArrow } from './components/DirectionalArrow/DirectionalArrow.vue';
|
|
19
|
-
export { default as AuxAriaAnnouncer } from './components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue';
|
|
20
18
|
export { formatDate } from '@/helpers/formatting';
|
|
21
19
|
export { formatPrice } from '@/helpers/formatAmount';
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
priority: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
validator: (priority: string) => boolean;
|
|
6
|
-
};
|
|
7
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
8
|
-
priority?: unknown;
|
|
9
|
-
} & {
|
|
10
|
-
priority: string;
|
|
11
|
-
} & {}> & {
|
|
12
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
priority: string;
|
|
15
|
-
}>;
|
|
16
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
direction: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
require: boolean;
|
|
5
|
-
default: string;
|
|
6
|
-
validator: (value: string) => boolean;
|
|
7
|
-
};
|
|
8
|
-
}, {
|
|
9
|
-
classes: import("vue").ComputedRef<{
|
|
10
|
-
[x: string]: boolean;
|
|
11
|
-
'aux-arrow': boolean;
|
|
12
|
-
}>;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
14
|
-
direction?: unknown;
|
|
15
|
-
} & {
|
|
16
|
-
direction: string;
|
|
17
|
-
} & {}> & {
|
|
18
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
direction: string;
|
|
21
|
-
}>;
|
|
22
|
-
export default _default;
|