@ambita/design-system 3.0.27-91.0 → 3.0.27
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/aux.common.js +61699 -24708
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +61699 -24708
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +13 -5
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/css/colors-scss-variables.scss +5 -0
- package/dist/favicons/ambita/favicon.ico +0 -0
- package/dist/favicons/ambita/favicon.svg +9 -0
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.stories.d.ts +21 -0
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +7 -7
- package/dist/types/components/Banner/Banner.stories.d.ts +48 -0
- package/dist/types/components/Banner/Banner.vue.d.ts +15 -15
- package/dist/types/components/Button/Button.stories.d.ts +55 -0
- package/dist/types/components/Button/Button.vue.d.ts +19 -14
- package/dist/types/components/Card/Card.stories.d.ts +7 -0
- package/dist/types/components/Card/Card.vue.d.ts +1 -5
- package/dist/types/components/Checkbox/Checkbox.stories.d.ts +65 -0
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +26 -18
- package/dist/types/components/Color/Colors.stories.d.ts +7 -0
- package/dist/types/components/Definition/Definition.stories.d.ts +71 -0
- package/dist/types/components/Definition/Definition.vue.d.ts +24 -16
- package/dist/types/components/DirectionalArrow/DirectionalArrow.stories.d.ts +28 -0
- package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +8 -7
- package/dist/types/components/FormElement/FormElement.vue.d.ts +20 -14
- package/dist/types/components/Icons/Icon.stories.d.ts +7 -0
- package/dist/types/components/Input/Input.stories.d.ts +122 -0
- package/dist/types/components/Input/Input.vue.d.ts +46 -32
- package/dist/types/components/JsonForm/Controls/Array.vue.d.ts +35 -0
- package/dist/types/components/JsonForm/Controls/Boolean.vue.d.ts +22 -0
- package/dist/types/components/JsonForm/Controls/Number.vue.d.ts +19 -0
- package/dist/types/components/JsonForm/Controls/String.vue.d.ts +29 -0
- package/dist/types/components/JsonForm/Controls/Wrapper.vue.d.ts +27 -0
- package/dist/types/components/JsonForm/JsonForm.stories.d.ts +7 -0
- package/dist/types/components/JsonForm/Renderers/Array.vue.d.ts +99 -0
- package/dist/types/components/JsonForm/Renderers/Boolean.vue.d.ts +99 -0
- package/dist/types/components/JsonForm/Renderers/Integer.vue.d.ts +99 -0
- package/dist/types/components/JsonForm/Renderers/Layout.vue.d.ts +88 -0
- package/dist/types/components/JsonForm/Renderers/Number.vue.d.ts +99 -0
- package/dist/types/components/JsonForm/Renderers/Object.vue.d.ts +97 -0
- package/dist/types/components/JsonForm/Renderers/String.vue.d.ts +99 -0
- package/dist/types/components/JsonForm/Renderers/index.d.ts +9 -0
- package/dist/types/components/Link/Link.stories.d.ts +50 -0
- package/dist/types/components/Link/Link.vue.d.ts +11 -8
- package/dist/types/components/Logo/Logo.stories.d.ts +7 -0
- package/dist/types/components/Modal/Actions.vue.d.ts +6 -5
- package/dist/types/components/Modal/Modal.stories.d.ts +42 -0
- package/dist/types/components/Modal/Modal.vue.d.ts +24 -16
- package/dist/types/components/Notification/Notification.stories.d.ts +7 -0
- package/dist/types/components/Notification/Notification.vue.d.ts +13 -12
- package/dist/types/components/Notification/Notifications.vue.d.ts +6 -5
- package/dist/types/components/Pagination/Pagination.stories.d.ts +52 -0
- package/dist/types/components/Pagination/Pagination.vue.d.ts +16 -10
- package/dist/types/components/Pill/Pill.stories.d.ts +27 -0
- package/dist/types/components/Pill/Pill.vue.d.ts +7 -7
- package/dist/types/components/Radio/Radio.stories.d.ts +59 -0
- package/dist/types/components/Radio/Radio.vue.d.ts +22 -15
- package/dist/types/components/Select/Select.stories.d.ts +102 -0
- package/dist/types/components/Select/Select.vue.d.ts +38 -25
- package/dist/types/components/Spinner/Spinner.stories.d.ts +8 -0
- package/dist/types/components/StatusBadge/StatusBadge.stories.d.ts +31 -0
- package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +25 -0
- package/dist/types/components/StatusBadge/Statuses.d.ts +1 -0
- package/dist/types/components/Tag/Colors.d.ts +1 -0
- package/dist/types/components/Tag/Tag.stories.d.ts +27 -0
- package/dist/types/components/Tag/Tag.vue.d.ts +21 -0
- package/dist/types/components/TextArea/TextArea.stories.d.ts +129 -0
- package/dist/types/components/TextArea/TextArea.vue.d.ts +54 -35
- package/dist/types/components/Toggle/Toggle.stories.d.ts +101 -0
- package/dist/types/components/Toggle/Toggle.vue.d.ts +94 -19
- package/dist/types/components/Upload/File/File.vue.d.ts +31 -18
- package/dist/types/components/Upload/Upload.stories.d.ts +94 -0
- package/dist/types/components/Upload/Upload.vue.d.ts +27 -18
- package/dist/types/helpers/formatters/formatDateAndTime/Storybook/formatDateAndTime.stories.d.ts +7 -0
- package/dist/types/helpers/formatters/formatQuantity/Storybook/formatAmount.stories.d.ts +7 -0
- package/dist/types/helpers/formatters/formatQuantity/Storybook/formatNumber.stories.d.ts +7 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +3 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
component: import("vue").DefineComponent<{
|
|
4
|
+
config: {
|
|
5
|
+
type: import("vue").PropType<import("./types").PaginationOffset>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
width: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
default: number;
|
|
12
|
+
validator: (width: number) => boolean;
|
|
13
|
+
};
|
|
14
|
+
dataTestId: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
totalPages: import("vue").ComputedRef<number>;
|
|
20
|
+
generateButtons: import("vue").ComputedRef<(string | number)[]>;
|
|
21
|
+
goToSelectedPage: (selectedPage: number) => void;
|
|
22
|
+
goToPreviousPage: () => void;
|
|
23
|
+
goToNextPage: () => void;
|
|
24
|
+
skipBackward: () => void;
|
|
25
|
+
skipForward: () => void;
|
|
26
|
+
currentPage: import("vue").ComputedRef<number>;
|
|
27
|
+
isSmallScreen: import("vue").Ref<boolean>;
|
|
28
|
+
auxPaginationWrapper: import("vue").Ref<any>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
config: {
|
|
31
|
+
type: import("vue").PropType<import("./types").PaginationOffset>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
width: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
required: false;
|
|
37
|
+
default: number;
|
|
38
|
+
validator: (width: number) => boolean;
|
|
39
|
+
};
|
|
40
|
+
dataTestId: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
};
|
|
44
|
+
}>> & {
|
|
45
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
width: number;
|
|
48
|
+
}>;
|
|
49
|
+
title: string;
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
52
|
+
export declare const PaginationWithOffset: Story<import("@storybook/vue3").Args>;
|
|
@@ -26,16 +26,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
currentPage: import("vue").ComputedRef<number>;
|
|
27
27
|
isSmallScreen: import("vue").Ref<boolean>;
|
|
28
28
|
auxPaginationWrapper: import("vue").Ref<any>;
|
|
29
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
30
|
-
config
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
width:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
config: {
|
|
31
|
+
type: PropType<PaginationOffset>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
width: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
required: false;
|
|
37
|
+
default: number;
|
|
38
|
+
validator: (width: number) => boolean;
|
|
39
|
+
};
|
|
40
|
+
dataTestId: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
};
|
|
44
|
+
}>> & {
|
|
39
45
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
40
46
|
}, {
|
|
41
47
|
width: number;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
color: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: string) => boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
classes: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: boolean;
|
|
13
|
+
'aux-pill': boolean;
|
|
14
|
+
}>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
color: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (value: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
color: string;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const Pill: Story<import("@storybook/vue3").Args>;
|
|
27
|
+
export declare const Examples: Story<import("@storybook/vue3").Args>;
|
|
@@ -9,13 +9,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
[x: string]: boolean;
|
|
10
10
|
'aux-pill': boolean;
|
|
11
11
|
}>;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
-
color
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
19
|
color: string;
|
|
20
20
|
}>;
|
|
21
21
|
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
value: {
|
|
6
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
id: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
selected: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
isSelected: import("vue").ComputedRef<boolean>;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
value: {
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
id: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
37
|
+
};
|
|
38
|
+
name: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
selected: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>> & {
|
|
47
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
id: string;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
argTypes: {
|
|
53
|
+
onChange: {
|
|
54
|
+
action: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export default _default;
|
|
59
|
+
export declare const Vertical: Story<import("@storybook/vue3").Args>;
|
|
@@ -20,23 +20,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
}, {
|
|
22
22
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
23
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
24
|
-
value
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
value: {
|
|
25
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
id: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
34
|
+
};
|
|
35
|
+
name: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
selected: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
37
44
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
38
45
|
}, {
|
|
39
|
-
disabled: boolean;
|
|
40
46
|
id: string;
|
|
47
|
+
disabled: boolean;
|
|
41
48
|
}>;
|
|
42
49
|
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
items: {
|
|
6
|
+
type: import("vue").PropType<{
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}[]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
required: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
id: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
24
|
+
};
|
|
25
|
+
name: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
hideLabel: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
description: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
};
|
|
36
|
+
value: {
|
|
37
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
38
|
+
};
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
state: {
|
|
44
|
+
value: string | number | unknown[] | undefined;
|
|
45
|
+
};
|
|
46
|
+
updateValue: (value: string) => void;
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change")[], "focus" | "blur" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
items: {
|
|
49
|
+
type: import("vue").PropType<{
|
|
50
|
+
label: string;
|
|
51
|
+
value: string;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
}[]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
label: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
};
|
|
60
|
+
required: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
id: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
67
|
+
};
|
|
68
|
+
name: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
required: false;
|
|
71
|
+
};
|
|
72
|
+
hideLabel: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
description: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
value: {
|
|
80
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
81
|
+
};
|
|
82
|
+
modelValue: {
|
|
83
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
84
|
+
};
|
|
85
|
+
}>> & {
|
|
86
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
87
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
hideLabel: boolean;
|
|
92
|
+
id: string;
|
|
93
|
+
required: boolean;
|
|
94
|
+
}>;
|
|
95
|
+
argTypes: {
|
|
96
|
+
onChange: {
|
|
97
|
+
action: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export default _default;
|
|
102
|
+
export declare const Primary: Story<import("@storybook/vue3").Args>;
|
|
@@ -33,45 +33,58 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
};
|
|
35
35
|
value: {
|
|
36
|
-
type: (
|
|
36
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
37
37
|
};
|
|
38
38
|
modelValue: {
|
|
39
|
-
type: (
|
|
39
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
state: {
|
|
43
43
|
value: string | number | unknown[] | undefined;
|
|
44
44
|
};
|
|
45
45
|
updateValue: (value: string) => void;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change")[], "
|
|
47
|
-
items
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
id:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
46
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change")[], "focus" | "blur" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
items: {
|
|
48
|
+
type: PropType<Item[]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
label: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
required: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
id: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
62
|
+
};
|
|
63
|
+
name: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
required: false;
|
|
66
|
+
};
|
|
67
|
+
hideLabel: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
description: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
};
|
|
74
|
+
value: {
|
|
75
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
76
|
+
};
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
79
|
+
};
|
|
80
|
+
}>> & {
|
|
68
81
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
69
82
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
70
83
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
84
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
85
|
}, {
|
|
73
|
-
required: boolean;
|
|
74
86
|
hideLabel: boolean;
|
|
75
87
|
id: string;
|
|
88
|
+
required: boolean;
|
|
76
89
|
}>;
|
|
77
90
|
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Spinner: Story<import("@storybook/vue3").Args>;
|
|
8
|
+
export declare const Examples: Story<import("@storybook/vue3").Args>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
status: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: string) => boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
classes: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: boolean;
|
|
13
|
+
'aux-status-badge': boolean;
|
|
14
|
+
}>;
|
|
15
|
+
dotClasses: import("vue").ComputedRef<{
|
|
16
|
+
[x: string]: boolean;
|
|
17
|
+
'aux-status-badge-dot': boolean;
|
|
18
|
+
}>;
|
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
status: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
validator: (value: string) => boolean;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
status: string;
|
|
27
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
30
|
+
export declare const StatusBadge: Story<import("@storybook/vue3").Args>;
|
|
31
|
+
export declare const Examples: Story<import("@storybook/vue3").Args>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
status: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
classes: import("vue").ComputedRef<{
|
|
9
|
+
[x: string]: boolean;
|
|
10
|
+
'aux-status-badge': boolean;
|
|
11
|
+
}>;
|
|
12
|
+
dotClasses: import("vue").ComputedRef<{
|
|
13
|
+
[x: string]: boolean;
|
|
14
|
+
'aux-status-badge-dot': boolean;
|
|
15
|
+
}>;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
status: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
}>>, {
|
|
23
|
+
status: string;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const STATUS_TYPES: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TAG_COLORS: string[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
color: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: string) => boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
classes: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: boolean;
|
|
13
|
+
'aux-tag': boolean;
|
|
14
|
+
}>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
color: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (value: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
color: string;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const Tag: Story<import("@storybook/vue3").Args>;
|
|
27
|
+
export declare const Examples: Story<import("@storybook/vue3").Args>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
color: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
classes: import("vue").ComputedRef<{
|
|
9
|
+
[x: string]: boolean;
|
|
10
|
+
'aux-tag': boolean;
|
|
11
|
+
}>;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
|
+
color: string;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|