@ambita/design-system 4.0.5 → 5.0.1
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/assets/index-2iDFtGG-.js +18 -0
- package/dist/assets/index-2iDFtGG-.js.map +1 -0
- package/dist/assets/index-CXMCzGvQ.css +1 -0
- package/dist/index.html +14 -0
- package/dist/types/src/App.vue.d.ts +77 -1
- package/dist/types/src/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +4 -4
- package/dist/types/src/components/Banner/Banner.vue.d.ts +10 -5
- package/dist/types/src/components/Button/Button.vue.d.ts +5 -5
- package/dist/types/src/components/Card/Card.vue.d.ts +1 -1
- package/dist/types/src/components/Checkbox/Checkbox.vue.d.ts +125 -12
- package/dist/types/src/components/Checkbox/CheckboxCard.vue.d.ts +6 -6
- package/dist/types/src/components/Checkbox/CheckboxRegular.vue.d.ts +6 -6
- package/dist/types/src/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +243 -5
- package/dist/types/src/components/Color/ColorSwatch.vue.d.ts +4 -4
- package/dist/types/src/components/Definition/Definition.vue.d.ts +5 -5
- package/dist/types/src/components/Details/Details.vue.d.ts +49 -1
- package/dist/types/src/components/DirectionalArrow/DirectionalArrow.vue.d.ts +7 -15
- package/dist/types/src/components/FormElement/FormElement.vue.d.ts +60 -4
- package/dist/types/src/components/Icons/IconPreview.vue.d.ts +5 -3
- package/dist/types/src/components/Input/Input.vue.d.ts +115 -7
- package/dist/types/src/components/JsonForm/Components/Checkboxes.vue.d.ts +354 -11
- package/dist/types/src/components/JsonForm/Components/RadioButtons.vue.d.ts +360 -10
- package/dist/types/src/components/JsonForm/Controls/Array.vue.d.ts +844 -6
- package/dist/types/src/components/JsonForm/Controls/Boolean.vue.d.ts +246 -9
- package/dist/types/src/components/JsonForm/Controls/Number.vue.d.ts +854 -6
- package/dist/types/src/components/JsonForm/Controls/String.vue.d.ts +854 -6
- package/dist/types/src/components/JsonForm/Controls/Wrapper.vue.d.ts +25 -5
- package/dist/types/src/components/JsonForm/JsonForm.vue.d.ts +167 -5
- package/dist/types/src/components/JsonForm/Renderers/Array.vue.d.ts +935 -75
- package/dist/types/src/components/JsonForm/Renderers/Boolean.vue.d.ts +331 -75
- package/dist/types/src/components/JsonForm/Renderers/Integer.vue.d.ts +945 -75
- package/dist/types/src/components/JsonForm/Renderers/Layout.vue.d.ts +105 -67
- package/dist/types/src/components/JsonForm/Renderers/Number.vue.d.ts +945 -75
- package/dist/types/src/components/JsonForm/Renderers/Object.vue.d.ts +113 -75
- package/dist/types/src/components/JsonForm/Renderers/String.vue.d.ts +946 -75
- package/dist/types/src/components/Link/Link.vue.d.ts +6 -6
- package/dist/types/src/components/Logo/Logo.vue.d.ts +6 -4
- package/dist/types/src/components/Modal/Actions.vue.d.ts +68 -6
- package/dist/types/src/components/Modal/Modal.vue.d.ts +90 -8
- package/dist/types/src/components/Notification/Notification.vue.d.ts +5 -5
- package/dist/types/src/components/Notification/Notifications.vue.d.ts +36 -6
- package/dist/types/src/components/Pagination/Pagination.vue.d.ts +73 -8
- package/dist/types/src/components/Pill/Pill.vue.d.ts +5 -5
- package/dist/types/src/components/Radio/Radio.vue.d.ts +6 -6
- package/dist/types/src/components/RadioGroup/RadioGroup.vue.d.ts +217 -12
- package/dist/types/src/components/RadioGroup/RadioGroupCardElement.vue.d.ts +6 -6
- package/dist/types/src/components/RadioGroup/RadioGroupElement.vue.d.ts +6 -6
- package/dist/types/src/components/Select/Select.vue.d.ts +117 -10
- package/dist/types/src/components/Spinner/Spinner.vue.d.ts +5 -5
- package/dist/types/src/components/StatusBadge/StatusBadge.vue.d.ts +5 -5
- package/dist/types/src/components/Tag/Tag.vue.d.ts +5 -5
- package/dist/types/src/components/TextArea/TextArea.vue.d.ts +115 -8
- package/dist/types/src/components/Time/Time.vue.d.ts +4 -4
- package/dist/types/src/components/Toggle/Toggle.vue.d.ts +9 -9
- package/dist/types/src/components/Upload/File/File.vue.d.ts +71 -6
- package/dist/types/src/components/Upload/Upload.vue.d.ts +248 -9
- package/dist/types/src/components/ValidationWrapper/ValidationWrapper.vue.d.ts +6 -4
- package/dist/types/src/helpers/formatters/formatDateAndTime/Storybook/FormatDateAndTime.vue.d.ts +1 -1
- package/dist/types/src/helpers/formatters/formatQuantity/Storybook/FormatAmount.vue.d.ts +1 -1
- package/dist/types/src/helpers/formatters/formatQuantity/Storybook/FormatNumber.vue.d.ts +1 -1
- package/dist/types/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +41 -34
- package/dist/ambita-logo.svg +0 -1
- package/dist/css/colors-css-variables.scss +0 -65
- package/dist/css/colors-scss-variables.scss +0 -60
- package/dist/css/mixins.scss +0 -147
- package/dist/ds.cjs +0 -21
- package/dist/ds.cjs.map +0 -1
- package/dist/ds.js +0 -16171
- package/dist/ds.js.map +0 -1
- package/dist/ds.umd.cjs +0 -22
- package/dist/ds.umd.cjs.map +0 -1
- package/dist/favicons/ambita/favicon.ico +0 -0
- package/dist/favicons/ambita/favicon.svg +0 -9
- package/dist/index.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: (StringConstructor | NumberConstructor)[];
|
|
5
5
|
};
|
|
@@ -49,11 +49,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
type: (StringConstructor | NumberConstructor)[];
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
52
|
-
}
|
|
52
|
+
}>, {
|
|
53
53
|
styles: import("vue").ComputedRef<CSSProperties>;
|
|
54
54
|
blurEmit(event: Event): void;
|
|
55
55
|
handleInput(event: Event): void;
|
|
56
|
-
},
|
|
56
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue")[], "input" | "blur" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
57
|
modelValue: {
|
|
58
58
|
type: (StringConstructor | NumberConstructor)[];
|
|
59
59
|
};
|
|
@@ -103,17 +103,124 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
type: (StringConstructor | NumberConstructor)[];
|
|
104
104
|
default: string;
|
|
105
105
|
};
|
|
106
|
-
}>> & {
|
|
106
|
+
}>> & Readonly<{
|
|
107
107
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
110
|
-
}
|
|
110
|
+
}>, {
|
|
111
111
|
required: boolean;
|
|
112
|
+
height: number;
|
|
112
113
|
id: string;
|
|
114
|
+
width: string;
|
|
113
115
|
value: string | number;
|
|
114
116
|
hideLabel: boolean;
|
|
115
|
-
height: number;
|
|
116
|
-
width: string;
|
|
117
117
|
resize: "horizontal" | "none" | "vertical" | "auto" | "both";
|
|
118
|
-
}, {}
|
|
118
|
+
}, {}, {
|
|
119
|
+
FormElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
120
|
+
label: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
required: true;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
description: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
descriptionLabel: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
hideLabel: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
id: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
required: true;
|
|
141
|
+
};
|
|
142
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
+
label: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
required: true;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
description: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
required: false;
|
|
151
|
+
};
|
|
152
|
+
descriptionLabel: {
|
|
153
|
+
type: StringConstructor;
|
|
154
|
+
required: false;
|
|
155
|
+
};
|
|
156
|
+
hideLabel: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
id: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
required: true;
|
|
164
|
+
};
|
|
165
|
+
}>> & Readonly<{}>, {
|
|
166
|
+
label: string;
|
|
167
|
+
hideLabel: boolean;
|
|
168
|
+
}, {}, {
|
|
169
|
+
AuxDetails: import("vue").DefineComponent<{}, {
|
|
170
|
+
state: {
|
|
171
|
+
isOpen: boolean;
|
|
172
|
+
};
|
|
173
|
+
toggleOpen: () => void;
|
|
174
|
+
arrowDirection: import("vue").ComputedRef<"down" | "up">;
|
|
175
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
176
|
+
AuxLink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
177
|
+
size: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: string;
|
|
180
|
+
validator: (value: string) => boolean;
|
|
181
|
+
};
|
|
182
|
+
href: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
required: false;
|
|
185
|
+
};
|
|
186
|
+
}>, {
|
|
187
|
+
componentType: import("vue").ComputedRef<"button" | "a">;
|
|
188
|
+
classes: import("vue").ComputedRef<{
|
|
189
|
+
[x: string]: boolean | import("vue").Slot<any> | undefined;
|
|
190
|
+
'aux-link': boolean;
|
|
191
|
+
'aux-link-icon-left': import("vue").Slot<any> | undefined;
|
|
192
|
+
'aux-link-icon-right': import("vue").Slot<any> | undefined;
|
|
193
|
+
}>;
|
|
194
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
+
size: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
validator: (value: string) => boolean;
|
|
199
|
+
};
|
|
200
|
+
href: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
};
|
|
204
|
+
}>> & Readonly<{
|
|
205
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
206
|
+
}>, {
|
|
207
|
+
size: string;
|
|
208
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
209
|
+
AuxDirectionalArrow: import("vue").DefineComponent<{
|
|
210
|
+
direction: string;
|
|
211
|
+
}, {
|
|
212
|
+
classes: import("vue").ComputedRef<{
|
|
213
|
+
[x: string]: boolean;
|
|
214
|
+
'aux-arrow': boolean;
|
|
215
|
+
}>;
|
|
216
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
217
|
+
direction: string;
|
|
218
|
+
}> & Readonly<{}>, {
|
|
219
|
+
direction: string;
|
|
220
|
+
}, {}, {
|
|
221
|
+
CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
222
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
223
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
224
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
225
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
119
226
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { FormatTypes } from '@/helpers/formatters/formatDateAndTime/index';
|
|
3
3
|
import { formatDate } from '@/helpers/formatters/formatDateAndTime/index';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
date: {
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
required: true;
|
|
@@ -10,11 +10,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: PropType<FormatTypes>;
|
|
11
11
|
required: false;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>, {
|
|
14
14
|
formatDate: typeof formatDate;
|
|
15
15
|
formatFirstDate: (date: string, format?: FormatTypes) => string;
|
|
16
16
|
formatSecondDate: (date: string, format?: FormatTypes) => string | undefined;
|
|
17
|
-
},
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
date: {
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
required: true;
|
|
@@ -23,5 +23,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
type: PropType<FormatTypes>;
|
|
24
24
|
required: false;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
id: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
@@ -35,16 +35,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
type: StringConstructor;
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
|
-
}
|
|
38
|
+
}>, {
|
|
39
39
|
activeText: import("vue").ComputedRef<string>;
|
|
40
40
|
inactiveText: import("vue").ComputedRef<string>;
|
|
41
41
|
getTestId: (testId: string) => string | undefined;
|
|
42
42
|
change: () => void;
|
|
43
43
|
toggle: () => void;
|
|
44
|
-
active: import("vue").Ref<boolean>;
|
|
45
|
-
radioOn: import("vue").Ref<HTMLInputElement | null>;
|
|
46
|
-
radioOff: import("vue").Ref<HTMLInputElement | null>;
|
|
47
|
-
},
|
|
44
|
+
active: import("vue").Ref<boolean, boolean>;
|
|
45
|
+
radioOn: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
46
|
+
radioOff: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
47
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
id: {
|
|
49
49
|
type: StringConstructor;
|
|
50
50
|
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
@@ -81,9 +81,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
type: StringConstructor;
|
|
82
82
|
required: false;
|
|
83
83
|
};
|
|
84
|
-
}>> & {
|
|
84
|
+
}>> & Readonly<{
|
|
85
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
}
|
|
86
|
+
}>, {
|
|
87
87
|
id: string;
|
|
88
88
|
checked: boolean;
|
|
89
89
|
hideLabel: boolean;
|
|
@@ -91,5 +91,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
onLabel: string;
|
|
92
92
|
hideOffLabel: boolean;
|
|
93
93
|
hideOnLabel: boolean;
|
|
94
|
-
}, {}>;
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
file: {
|
|
3
3
|
type: {
|
|
4
4
|
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
@@ -28,9 +28,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
-
}
|
|
31
|
+
}>, {
|
|
32
32
|
removeFile: () => void;
|
|
33
|
-
},
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-file"[], "remove-file", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
file: {
|
|
35
35
|
type: {
|
|
36
36
|
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
@@ -60,9 +60,74 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
type: BooleanConstructor;
|
|
61
61
|
default: boolean;
|
|
62
62
|
};
|
|
63
|
-
}>> & {
|
|
63
|
+
}>> & Readonly<{
|
|
64
64
|
"onRemove-file"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
}
|
|
65
|
+
}>, {
|
|
66
66
|
failed: boolean;
|
|
67
|
-
}, {}
|
|
67
|
+
}, {}, {
|
|
68
|
+
Button: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
69
|
+
primary: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
size: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
validator: (value: string) => boolean;
|
|
81
|
+
};
|
|
82
|
+
dataTestid: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
required: false;
|
|
85
|
+
};
|
|
86
|
+
stackDirection: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
default: string;
|
|
90
|
+
validator: (value: string) => boolean;
|
|
91
|
+
};
|
|
92
|
+
}>, {
|
|
93
|
+
classes: import("vue").ComputedRef<{
|
|
94
|
+
[x: string]: boolean;
|
|
95
|
+
'aux-button': boolean;
|
|
96
|
+
'aux-button--primary': boolean;
|
|
97
|
+
'aux-button--secondary': boolean;
|
|
98
|
+
}>;
|
|
99
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
|
+
primary: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
disabled: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
size: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
validator: (value: string) => boolean;
|
|
112
|
+
};
|
|
113
|
+
dataTestid: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
required: false;
|
|
116
|
+
};
|
|
117
|
+
stackDirection: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
required: false;
|
|
120
|
+
default: string;
|
|
121
|
+
validator: (value: string) => boolean;
|
|
122
|
+
};
|
|
123
|
+
}>> & Readonly<{}>, {
|
|
124
|
+
primary: boolean;
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
size: string;
|
|
127
|
+
stackDirection: string;
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
129
|
+
TrashIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
130
|
+
CheckCircleIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
131
|
+
WarningIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
132
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
133
|
export default _default;
|
|
@@ -8,7 +8,7 @@ interface IUploadedFile extends File {
|
|
|
8
8
|
failed: true;
|
|
9
9
|
file: File;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
files: {
|
|
13
13
|
type: PropType<IUploadedFile[]>;
|
|
14
14
|
default: () => never[];
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
maxAttachmentCount: {
|
|
35
35
|
type: NumberConstructor;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
removeFile: (uuid: string) => void;
|
|
39
39
|
filesUploaded: import("vue").ComputedRef<boolean>;
|
|
40
40
|
state: {
|
|
@@ -50,13 +50,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
"aux-input-upload-field-wrapper--no-drag": boolean;
|
|
51
51
|
}>;
|
|
52
52
|
dragover: () => void;
|
|
53
|
-
inputField: import("vue").Ref<any>;
|
|
54
|
-
inputFieldWrapper: import("vue").Ref<any>;
|
|
55
|
-
errorMessage: import("vue").Ref<string>;
|
|
53
|
+
inputField: import("vue").Ref<any, any>;
|
|
54
|
+
inputFieldWrapper: import("vue").Ref<any, any>;
|
|
55
|
+
errorMessage: import("vue").Ref<string, string>;
|
|
56
56
|
handleFile: (event: Event) => void;
|
|
57
57
|
filesCollection: any;
|
|
58
58
|
setWarning: (files: FileList) => void;
|
|
59
|
-
},
|
|
59
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("file-added" | "file-removed")[], "file-added" | "file-removed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
files: {
|
|
61
61
|
type: PropType<IUploadedFile[]>;
|
|
62
62
|
default: () => never[];
|
|
@@ -82,13 +82,252 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
maxAttachmentCount: {
|
|
83
83
|
type: NumberConstructor;
|
|
84
84
|
};
|
|
85
|
-
}>> & {
|
|
85
|
+
}>> & Readonly<{
|
|
86
86
|
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
}
|
|
88
|
+
}>, {
|
|
89
89
|
id: string;
|
|
90
90
|
hideLabel: boolean;
|
|
91
91
|
files: IUploadedFile[];
|
|
92
92
|
maxFileSize: number;
|
|
93
|
-
}, {}
|
|
93
|
+
}, {}, {
|
|
94
|
+
FileComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
95
|
+
file: {
|
|
96
|
+
type: {
|
|
97
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
98
|
+
prototype: File;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
filename: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
required: true;
|
|
104
|
+
};
|
|
105
|
+
filePath: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
required: false;
|
|
108
|
+
};
|
|
109
|
+
time: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
percentage: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
};
|
|
116
|
+
uuid: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
failed: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
}>, {
|
|
125
|
+
removeFile: () => void;
|
|
126
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-file"[], "remove-file", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
file: {
|
|
128
|
+
type: {
|
|
129
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
130
|
+
prototype: File;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
filename: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
required: true;
|
|
136
|
+
};
|
|
137
|
+
filePath: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
time: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
required: true;
|
|
144
|
+
};
|
|
145
|
+
percentage: {
|
|
146
|
+
type: NumberConstructor;
|
|
147
|
+
};
|
|
148
|
+
uuid: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
required: true;
|
|
151
|
+
};
|
|
152
|
+
failed: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
}>> & Readonly<{
|
|
157
|
+
"onRemove-file"?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
}>, {
|
|
159
|
+
failed: boolean;
|
|
160
|
+
}, {}, {
|
|
161
|
+
Button: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
162
|
+
primary: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
disabled: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
size: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
default: string;
|
|
173
|
+
validator: (value: string) => boolean;
|
|
174
|
+
};
|
|
175
|
+
dataTestid: {
|
|
176
|
+
type: StringConstructor;
|
|
177
|
+
required: false;
|
|
178
|
+
};
|
|
179
|
+
stackDirection: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
default: string;
|
|
183
|
+
validator: (value: string) => boolean;
|
|
184
|
+
};
|
|
185
|
+
}>, {
|
|
186
|
+
classes: import("vue").ComputedRef<{
|
|
187
|
+
[x: string]: boolean;
|
|
188
|
+
'aux-button': boolean;
|
|
189
|
+
'aux-button--primary': boolean;
|
|
190
|
+
'aux-button--secondary': boolean;
|
|
191
|
+
}>;
|
|
192
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
193
|
+
primary: {
|
|
194
|
+
type: BooleanConstructor;
|
|
195
|
+
default: boolean;
|
|
196
|
+
};
|
|
197
|
+
disabled: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
size: {
|
|
202
|
+
type: StringConstructor;
|
|
203
|
+
default: string;
|
|
204
|
+
validator: (value: string) => boolean;
|
|
205
|
+
};
|
|
206
|
+
dataTestid: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
required: false;
|
|
209
|
+
};
|
|
210
|
+
stackDirection: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
required: false;
|
|
213
|
+
default: string;
|
|
214
|
+
validator: (value: string) => boolean;
|
|
215
|
+
};
|
|
216
|
+
}>> & Readonly<{}>, {
|
|
217
|
+
primary: boolean;
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
size: string;
|
|
220
|
+
stackDirection: string;
|
|
221
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
222
|
+
TrashIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
223
|
+
CheckCircleIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
224
|
+
WarningIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
225
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
FormElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
227
|
+
label: {
|
|
228
|
+
type: StringConstructor;
|
|
229
|
+
required: true;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
description: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
required: false;
|
|
235
|
+
};
|
|
236
|
+
descriptionLabel: {
|
|
237
|
+
type: StringConstructor;
|
|
238
|
+
required: false;
|
|
239
|
+
};
|
|
240
|
+
hideLabel: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
required: false;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
id: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
required: true;
|
|
248
|
+
};
|
|
249
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
250
|
+
label: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
required: true;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
description: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
required: false;
|
|
258
|
+
};
|
|
259
|
+
descriptionLabel: {
|
|
260
|
+
type: StringConstructor;
|
|
261
|
+
required: false;
|
|
262
|
+
};
|
|
263
|
+
hideLabel: {
|
|
264
|
+
type: BooleanConstructor;
|
|
265
|
+
required: false;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
id: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
required: true;
|
|
271
|
+
};
|
|
272
|
+
}>> & Readonly<{}>, {
|
|
273
|
+
label: string;
|
|
274
|
+
hideLabel: boolean;
|
|
275
|
+
}, {}, {
|
|
276
|
+
AuxDetails: import("vue").DefineComponent<{}, {
|
|
277
|
+
state: {
|
|
278
|
+
isOpen: boolean;
|
|
279
|
+
};
|
|
280
|
+
toggleOpen: () => void;
|
|
281
|
+
arrowDirection: import("vue").ComputedRef<"down" | "up">;
|
|
282
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
283
|
+
AuxLink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
284
|
+
size: {
|
|
285
|
+
type: StringConstructor;
|
|
286
|
+
default: string;
|
|
287
|
+
validator: (value: string) => boolean;
|
|
288
|
+
};
|
|
289
|
+
href: {
|
|
290
|
+
type: StringConstructor;
|
|
291
|
+
required: false;
|
|
292
|
+
};
|
|
293
|
+
}>, {
|
|
294
|
+
componentType: import("vue").ComputedRef<"button" | "a">;
|
|
295
|
+
classes: import("vue").ComputedRef<{
|
|
296
|
+
[x: string]: boolean | import("vue").Slot<any> | undefined;
|
|
297
|
+
'aux-link': boolean;
|
|
298
|
+
'aux-link-icon-left': import("vue").Slot<any> | undefined;
|
|
299
|
+
'aux-link-icon-right': import("vue").Slot<any> | undefined;
|
|
300
|
+
}>;
|
|
301
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
302
|
+
size: {
|
|
303
|
+
type: StringConstructor;
|
|
304
|
+
default: string;
|
|
305
|
+
validator: (value: string) => boolean;
|
|
306
|
+
};
|
|
307
|
+
href: {
|
|
308
|
+
type: StringConstructor;
|
|
309
|
+
required: false;
|
|
310
|
+
};
|
|
311
|
+
}>> & Readonly<{
|
|
312
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
313
|
+
}>, {
|
|
314
|
+
size: string;
|
|
315
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
316
|
+
AuxDirectionalArrow: import("vue").DefineComponent<{
|
|
317
|
+
direction: string;
|
|
318
|
+
}, {
|
|
319
|
+
classes: import("vue").ComputedRef<{
|
|
320
|
+
[x: string]: boolean;
|
|
321
|
+
'aux-arrow': boolean;
|
|
322
|
+
}>;
|
|
323
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
324
|
+
direction: string;
|
|
325
|
+
}> & Readonly<{}>, {
|
|
326
|
+
direction: string;
|
|
327
|
+
}, {}, {
|
|
328
|
+
CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
329
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
330
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
331
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
332
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
94
333
|
export default _default;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
errorMessages: {
|
|
4
4
|
type: PropType<string[]>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {
|
|
8
8
|
icon: import("vue").ComputedRef<import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>>;
|
|
9
9
|
iconClasses: import("vue").ComputedRef<{
|
|
10
10
|
icon: boolean;
|
|
11
11
|
}>;
|
|
12
12
|
hasErrorMessages: import("vue").ComputedRef<boolean>;
|
|
13
|
-
},
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
errorMessages: {
|
|
15
15
|
type: PropType<string[]>;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
19
|
+
ErrorIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
|
|
20
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
21
|
export default _default;
|
package/dist/types/src/helpers/formatters/formatDateAndTime/Storybook/FormatDateAndTime.vue.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
6
6
|
dateAndTimeNow: string;
|
|
7
7
|
dateAndTimeWithSecondsNow: string;
|
|
8
8
|
timeWithSecondsNow: string;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
10
|
export default _default;
|
|
@@ -2,5 +2,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2
2
|
rounded: string;
|
|
3
3
|
decimals: string;
|
|
4
4
|
roundedWithIncludedTax: string;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
formattedNumberWithoutOptions: string;
|
|
3
3
|
formattedNumberWithOptions: string;
|
|
4
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
5
|
export default _default;
|