@ambita/design-system 4.0.4-991.0 → 4.0.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/css/mixins.scss +16 -5
- package/dist/ds.cjs +21 -0
- package/dist/ds.cjs.map +1 -0
- package/dist/ds.js +16169 -19
- package/dist/ds.js.map +1 -1
- package/dist/ds.umd.cjs +22 -0
- package/dist/ds.umd.cjs.map +1 -0
- package/dist/index.css +1 -1
- package/dist/types/src/App.vue.d.ts +1 -1
- package/dist/types/src/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +3 -3
- package/dist/types/src/components/Banner/Banner.vue.d.ts +3 -3
- package/dist/types/src/components/Button/Button.vue.d.ts +2 -2
- package/dist/types/src/components/Card/Card.vue.d.ts +1 -1
- package/dist/types/src/components/Checkbox/Checkbox.vue.d.ts +9 -9
- package/dist/types/src/components/Checkbox/CheckboxCard.vue.d.ts +4 -4
- package/dist/types/src/components/Checkbox/CheckboxRegular.vue.d.ts +4 -4
- package/dist/types/src/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +5 -5
- package/dist/types/src/components/Color/ColorSwatch.vue.d.ts +2 -2
- package/dist/types/src/components/Definition/Definition.vue.d.ts +2 -2
- package/dist/types/src/components/Details/Details.vue.d.ts +1 -1
- package/dist/types/src/components/DirectionalArrow/DirectionalArrow.vue.d.ts +2 -2
- package/dist/types/src/components/FormElement/FormElement.vue.d.ts +2 -2
- package/dist/types/src/components/Icons/IconPreview.vue.d.ts +2 -2
- package/dist/types/src/components/Input/Input.vue.d.ts +6 -6
- package/dist/types/src/components/JsonForm/Components/Checkboxes.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/Components/RadioButtons.vue.d.ts +3 -3
- package/dist/types/src/components/JsonForm/Controls/Array.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/Controls/Boolean.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/Controls/Number.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/Controls/String.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/Controls/Wrapper.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/JsonForm.vue.d.ts +2 -2
- package/dist/types/src/components/JsonForm/Renderers/Array.vue.d.ts +9 -8
- package/dist/types/src/components/JsonForm/Renderers/Boolean.vue.d.ts +9 -8
- package/dist/types/src/components/JsonForm/Renderers/Integer.vue.d.ts +9 -8
- package/dist/types/src/components/JsonForm/Renderers/Layout.vue.d.ts +3 -3
- package/dist/types/src/components/JsonForm/Renderers/Number.vue.d.ts +9 -8
- package/dist/types/src/components/JsonForm/Renderers/Object.vue.d.ts +9 -8
- package/dist/types/src/components/JsonForm/Renderers/String.vue.d.ts +9 -8
- package/dist/types/src/components/Link/Link.vue.d.ts +5 -5
- package/dist/types/src/components/Logo/Logo.vue.d.ts +2 -2
- package/dist/types/src/components/Modal/Actions.vue.d.ts +2 -2
- package/dist/types/src/components/Modal/Modal.vue.d.ts +6 -6
- package/dist/types/src/components/Notification/Notification.vue.d.ts +5 -5
- package/dist/types/src/components/Notification/Notifications.vue.d.ts +2 -2
- package/dist/types/src/components/Pagination/Pagination.vue.d.ts +2 -2
- package/dist/types/src/components/Pill/Pill.vue.d.ts +2 -2
- package/dist/types/src/components/Radio/Radio.vue.d.ts +4 -4
- package/dist/types/src/components/RadioGroup/RadioGroup.vue.d.ts +11 -11
- package/dist/types/src/components/RadioGroup/RadioGroupCardElement.vue.d.ts +4 -4
- package/dist/types/src/components/RadioGroup/RadioGroupElement.vue.d.ts +4 -4
- package/dist/types/src/components/Select/Select.vue.d.ts +5 -5
- package/dist/types/src/components/Spinner/Spinner.vue.d.ts +2 -2
- package/dist/types/src/components/StatusBadge/StatusBadge.vue.d.ts +2 -2
- package/dist/types/src/components/Tag/Tag.vue.d.ts +2 -2
- package/dist/types/src/components/TextArea/TextArea.vue.d.ts +8 -8
- package/dist/types/src/components/Time/Time.vue.d.ts +2 -2
- package/dist/types/src/components/Toggle/Toggle.vue.d.ts +5 -5
- package/dist/types/src/components/Upload/File/File.vue.d.ts +4 -4
- package/dist/types/src/components/Upload/Upload.vue.d.ts +4 -4
- package/dist/types/src/components/ValidationWrapper/ValidationWrapper.vue.d.ts +3 -3
- package/dist/types/src/helpers/formatters/formatDateAndTime/Storybook/FormatDateAndTime.vue.d.ts +1 -1
- package/dist/types/src/helpers/formatters/formatDateAndTime/index.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/src/helpers/formatters/formatQuantity/formatAmount.d.ts +2 -2
- package/dist/types/src/helpers/formatters/formatQuantity/formatNumber.d.ts +1 -1
- package/dist/types/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +43 -44
- package/dist/ds.mjs +0 -16244
- package/dist/ds.mjs.map +0 -1
- package/dist/ds.umd.js +0 -22
- package/dist/ds.umd.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
type Item = {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type State = {
|
|
8
8
|
selected: string;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
id: {
|
|
20
20
|
type: StringConstructor;
|
|
21
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
21
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
22
22
|
};
|
|
23
23
|
description: {
|
|
24
24
|
type: StringConstructor;
|
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
};
|
|
58
58
|
id: {
|
|
59
59
|
type: StringConstructor;
|
|
60
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
60
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
61
61
|
};
|
|
62
62
|
name: {
|
|
63
63
|
type: StringConstructor;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
}, {
|
|
71
71
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
72
72
|
change: (event: any) => void;
|
|
73
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").
|
|
73
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
74
|
value: {
|
|
75
75
|
type: StringConstructor;
|
|
76
76
|
};
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
};
|
|
81
81
|
id: {
|
|
82
82
|
type: StringConstructor;
|
|
83
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
83
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
84
84
|
};
|
|
85
85
|
name: {
|
|
86
86
|
type: StringConstructor;
|
|
@@ -95,8 +95,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
}, {
|
|
96
96
|
disabled: boolean;
|
|
97
97
|
id: string;
|
|
98
|
-
}>>;
|
|
99
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:selected"[], "update:selected", import("vue").
|
|
98
|
+
}, {}>>;
|
|
99
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:selected"[], "update:selected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
100
|
label: {
|
|
101
101
|
type: StringConstructor;
|
|
102
102
|
required: true;
|
|
@@ -107,7 +107,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
107
|
};
|
|
108
108
|
id: {
|
|
109
109
|
type: StringConstructor;
|
|
110
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
110
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
111
111
|
};
|
|
112
112
|
description: {
|
|
113
113
|
type: StringConstructor;
|
|
@@ -138,7 +138,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
138
|
}, {
|
|
139
139
|
id: string;
|
|
140
140
|
selected: string;
|
|
141
|
-
layout: string;
|
|
142
141
|
hideLabel: boolean;
|
|
143
|
-
|
|
142
|
+
layout: string;
|
|
143
|
+
}, {}>;
|
|
144
144
|
export default _default;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
};
|
|
9
9
|
id: {
|
|
10
10
|
type: StringConstructor;
|
|
11
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
11
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
14
|
type: StringConstructor;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
}, {
|
|
22
22
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
23
23
|
change: (event: any) => void;
|
|
24
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
value: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
};
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
};
|
|
32
32
|
id: {
|
|
33
33
|
type: StringConstructor;
|
|
34
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
34
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
35
35
|
};
|
|
36
36
|
name: {
|
|
37
37
|
type: StringConstructor;
|
|
@@ -46,5 +46,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
}, {
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
id: string;
|
|
49
|
-
}>;
|
|
49
|
+
}, {}>;
|
|
50
50
|
export default _default;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
};
|
|
9
9
|
id: {
|
|
10
10
|
type: StringConstructor;
|
|
11
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
11
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
14
|
type: StringConstructor;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
}, {
|
|
22
22
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
23
23
|
change: (event: any) => void;
|
|
24
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
value: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
};
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
};
|
|
32
32
|
id: {
|
|
33
33
|
type: StringConstructor;
|
|
34
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
34
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
35
35
|
};
|
|
36
36
|
name: {
|
|
37
37
|
type: StringConstructor;
|
|
@@ -46,5 +46,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
}, {
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
id: string;
|
|
49
|
-
}>;
|
|
49
|
+
}, {}>;
|
|
50
50
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
type Item = {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
};
|
|
20
20
|
id: {
|
|
21
21
|
type: StringConstructor;
|
|
22
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
22
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
23
23
|
};
|
|
24
24
|
name: {
|
|
25
25
|
type: StringConstructor;
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
updateValue: (event: Event) => void;
|
|
50
50
|
focusEmit: (event: Event) => void;
|
|
51
51
|
blurEmit: (event: Event) => void;
|
|
52
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "focus" | "blur" | "update:modelValue")[], "change" | "focus" | "blur" | "update:modelValue", import("vue").
|
|
52
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "focus" | "blur" | "update:modelValue")[], "change" | "focus" | "blur" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
items: {
|
|
54
54
|
type: PropType<Item[]>;
|
|
55
55
|
required: true;
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
};
|
|
65
65
|
id: {
|
|
66
66
|
type: StringConstructor;
|
|
67
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
67
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
68
68
|
};
|
|
69
69
|
name: {
|
|
70
70
|
type: StringConstructor;
|
|
@@ -96,5 +96,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
required: boolean;
|
|
97
97
|
id: string;
|
|
98
98
|
hideLabel: boolean;
|
|
99
|
-
}>;
|
|
99
|
+
}, {}>;
|
|
100
100
|
export default _default;
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
'aux-spinner': boolean;
|
|
11
11
|
}>;
|
|
12
12
|
showLabel: import("vue").ComputedRef<boolean | undefined>;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
size: {
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
@@ -18,5 +18,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
}>>, {
|
|
20
20
|
size: string;
|
|
21
|
-
}>;
|
|
21
|
+
}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
[x: string]: boolean;
|
|
14
14
|
'aux-status-badge-dot': boolean;
|
|
15
15
|
}>;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
status: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
@@ -21,5 +21,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
}>>, {
|
|
23
23
|
status: string;
|
|
24
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
25
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
[x: string]: boolean;
|
|
10
10
|
'aux-tag': boolean;
|
|
11
11
|
}>;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
color: {
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
default: string;
|
|
@@ -17,5 +17,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}>>, {
|
|
19
19
|
color: string;
|
|
20
|
-
}>;
|
|
20
|
+
}, {}>;
|
|
21
21
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
id: {
|
|
11
11
|
type: StringConstructor;
|
|
12
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
12
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
13
13
|
};
|
|
14
14
|
description: {
|
|
15
15
|
type: StringConstructor;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: StringConstructor;
|
|
31
31
|
};
|
|
32
32
|
resize: {
|
|
33
|
-
type: PropType<"horizontal" | "
|
|
33
|
+
type: PropType<"horizontal" | "vertical" | "none" | "auto" | "both">;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
height: {
|
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
styles: import("vue").ComputedRef<CSSProperties>;
|
|
54
54
|
blurEmit(event: Event): void;
|
|
55
55
|
handleInput(event: Event): void;
|
|
56
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue")[], "input" | "blur" | "update:modelValue", import("vue").
|
|
56
|
+
}, unknown, {}, {}, 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
|
};
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
};
|
|
64
64
|
id: {
|
|
65
65
|
type: StringConstructor;
|
|
66
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
66
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
67
67
|
};
|
|
68
68
|
description: {
|
|
69
69
|
type: StringConstructor;
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
type: StringConstructor;
|
|
85
85
|
};
|
|
86
86
|
resize: {
|
|
87
|
-
type: PropType<"horizontal" | "
|
|
87
|
+
type: PropType<"horizontal" | "vertical" | "none" | "auto" | "both">;
|
|
88
88
|
default: string;
|
|
89
89
|
};
|
|
90
90
|
height: {
|
|
@@ -109,11 +109,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
required: boolean;
|
|
112
|
-
height: number;
|
|
113
112
|
id: string;
|
|
114
|
-
width: string;
|
|
115
113
|
value: string | number;
|
|
116
114
|
hideLabel: boolean;
|
|
115
|
+
height: number;
|
|
116
|
+
width: string;
|
|
117
117
|
resize: "horizontal" | "none" | "vertical" | "auto" | "both";
|
|
118
|
-
}>;
|
|
118
|
+
}, {}>;
|
|
119
119
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
formatDate: typeof formatDate;
|
|
15
15
|
formatFirstDate: (date: string, format?: FormatTypes) => string;
|
|
16
16
|
formatSecondDate: (date: string, format?: FormatTypes) => string | undefined;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, unknown, {}, {}, 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
|
+
}>>, {}, {}>;
|
|
27
27
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
id: {
|
|
3
3
|
type: StringConstructor;
|
|
4
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
4
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
5
5
|
};
|
|
6
6
|
label: {
|
|
7
7
|
type: StringConstructor;
|
|
@@ -44,10 +44,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
active: import("vue").Ref<boolean>;
|
|
45
45
|
radioOn: import("vue").Ref<HTMLInputElement | null>;
|
|
46
46
|
radioOff: import("vue").Ref<HTMLInputElement | null>;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
id: {
|
|
49
49
|
type: StringConstructor;
|
|
50
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
50
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
51
51
|
};
|
|
52
52
|
label: {
|
|
53
53
|
type: StringConstructor;
|
|
@@ -85,11 +85,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
id: string;
|
|
88
|
+
checked: boolean;
|
|
88
89
|
hideLabel: boolean;
|
|
89
90
|
offLabel: string;
|
|
90
91
|
onLabel: string;
|
|
91
|
-
checked: boolean;
|
|
92
92
|
hideOffLabel: boolean;
|
|
93
93
|
hideOnLabel: boolean;
|
|
94
|
-
}>;
|
|
94
|
+
}, {}>;
|
|
95
95
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
file: {
|
|
3
3
|
type: {
|
|
4
|
-
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag
|
|
4
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
5
5
|
prototype: File;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
@@ -30,10 +30,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
}, {
|
|
32
32
|
removeFile: () => void;
|
|
33
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-file"[], "remove-file", import("vue").
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-file"[], "remove-file", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
file: {
|
|
35
35
|
type: {
|
|
36
|
-
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag
|
|
36
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
|
|
37
37
|
prototype: File;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
@@ -64,5 +64,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
"onRemove-file"?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
failed: boolean;
|
|
67
|
-
}>;
|
|
67
|
+
}, {}>;
|
|
68
68
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
id: {
|
|
17
17
|
type: StringConstructor;
|
|
18
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
18
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
19
19
|
};
|
|
20
20
|
label: {
|
|
21
21
|
type: StringConstructor;
|
|
@@ -56,14 +56,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
handleFile: (event: Event) => void;
|
|
57
57
|
filesCollection: any;
|
|
58
58
|
setWarning: (files: FileList) => void;
|
|
59
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("file-added" | "file-removed")[], "file-added" | "file-removed", import("vue").
|
|
59
|
+
}, unknown, {}, {}, 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[];
|
|
63
63
|
};
|
|
64
64
|
id: {
|
|
65
65
|
type: StringConstructor;
|
|
66
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number
|
|
66
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
67
67
|
};
|
|
68
68
|
label: {
|
|
69
69
|
type: StringConstructor;
|
|
@@ -90,5 +90,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
hideLabel: boolean;
|
|
91
91
|
files: IUploadedFile[];
|
|
92
92
|
maxFileSize: number;
|
|
93
|
-
}>;
|
|
93
|
+
}, {}>;
|
|
94
94
|
export default _default;
|
|
@@ -5,15 +5,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
|
-
icon: import("vue").ComputedRef<import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>>;
|
|
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
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
13
|
+
}, unknown, {}, {}, 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
|
+
}>>, {}, {}>;
|
|
19
19
|
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").
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
10
10
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type FormatTypes = 'dateAndTime' | 'dateAndTimeWithSeconds' | 'date' | 'dateFull' | 'dateWithWeekDay' | 'time' | 'timeWithSeconds';
|
|
2
2
|
export declare function formatDate(date: Date, format?: FormatTypes): string;
|
|
@@ -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").
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
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").
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
5
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type FormatTypes = 'rounded' | 'decimals';
|
|
2
|
+
export type FormatTaxTypes = 'none' | 'incl' | 'excl';
|
|
3
3
|
export declare function formatPrice(amount: number, format?: FormatTypes, taxLabel?: FormatTaxTypes): string;
|