@ambita/design-system 3.0.27-201.0 → 3.0.27-21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/aux.common.js +6236 -66435
  2. package/dist/aux.common.js.map +1 -1
  3. package/dist/aux.umd.js +6236 -66435
  4. package/dist/aux.umd.js.map +1 -1
  5. package/dist/aux.umd.min.js +1 -35
  6. package/dist/aux.umd.min.js.map +1 -1
  7. package/dist/css/colors-css-variables.scss +51 -56
  8. package/dist/css/colors-scss-variables.scss +0 -1
  9. package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +7 -7
  10. package/dist/types/components/Banner/Banner.vue.d.ts +15 -15
  11. package/dist/types/components/Button/Button.vue.d.ts +14 -19
  12. package/dist/types/components/Card/Card.vue.d.ts +5 -1
  13. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +17 -25
  14. package/dist/types/components/Definition/Definition.vue.d.ts +16 -24
  15. package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +7 -8
  16. package/dist/types/components/FormElement/FormElement.vue.d.ts +14 -20
  17. package/dist/types/components/Input/Input.vue.d.ts +32 -46
  18. package/dist/types/components/Link/Link.vue.d.ts +8 -11
  19. package/dist/types/components/Modal/Actions.vue.d.ts +5 -6
  20. package/dist/types/components/Modal/Modal.vue.d.ts +16 -25
  21. package/dist/types/components/Pagination/Pagination.vue.d.ts +10 -16
  22. package/dist/types/components/Pill/Pill.vue.d.ts +7 -7
  23. package/dist/types/components/Radio/Radio.vue.d.ts +15 -22
  24. package/dist/types/components/Select/Select.vue.d.ts +23 -36
  25. package/dist/types/components/TextArea/TextArea.vue.d.ts +35 -54
  26. package/dist/types/components/Toggle/Toggle.vue.d.ts +19 -94
  27. package/dist/types/components/Upload/File/File.vue.d.ts +18 -31
  28. package/dist/types/components/Upload/Upload.vue.d.ts +18 -27
  29. package/dist/types/helpers/formatters/formatQuantity/formatNumber.d.ts +0 -1
  30. package/dist/types/index.d.ts +0 -3
  31. package/package.json +2 -6
  32. package/dist/css/colors-css-variables.css +0 -51
  33. package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.stories.d.ts +0 -21
  34. package/dist/types/components/Banner/Banner.stories.d.ts +0 -48
  35. package/dist/types/components/Button/Button.stories.d.ts +0 -55
  36. package/dist/types/components/Card/Card.stories.d.ts +0 -7
  37. package/dist/types/components/Checkbox/Checkbox.stories.d.ts +0 -65
  38. package/dist/types/components/Color/Colors.stories.d.ts +0 -7
  39. package/dist/types/components/Definition/Definition.stories.d.ts +0 -71
  40. package/dist/types/components/DirectionalArrow/DirectionalArrow.stories.d.ts +0 -28
  41. package/dist/types/components/Icons/Icon.stories.d.ts +0 -7
  42. package/dist/types/components/Input/Input.stories.d.ts +0 -122
  43. package/dist/types/components/JsonForm/Controls/Array.vue.d.ts +0 -35
  44. package/dist/types/components/JsonForm/Controls/Boolean.vue.d.ts +0 -22
  45. package/dist/types/components/JsonForm/Controls/Number.vue.d.ts +0 -19
  46. package/dist/types/components/JsonForm/Controls/String.vue.d.ts +0 -29
  47. package/dist/types/components/JsonForm/Controls/Wrapper.vue.d.ts +0 -27
  48. package/dist/types/components/JsonForm/JsonForm.stories.d.ts +0 -7
  49. package/dist/types/components/JsonForm/Renderers/Array.vue.d.ts +0 -99
  50. package/dist/types/components/JsonForm/Renderers/Boolean.vue.d.ts +0 -99
  51. package/dist/types/components/JsonForm/Renderers/Integer.vue.d.ts +0 -99
  52. package/dist/types/components/JsonForm/Renderers/Layout.vue.d.ts +0 -88
  53. package/dist/types/components/JsonForm/Renderers/Number.vue.d.ts +0 -99
  54. package/dist/types/components/JsonForm/Renderers/Object.vue.d.ts +0 -97
  55. package/dist/types/components/JsonForm/Renderers/String.vue.d.ts +0 -99
  56. package/dist/types/components/JsonForm/Renderers/index.d.ts +0 -9
  57. package/dist/types/components/Link/Link.stories.d.ts +0 -50
  58. package/dist/types/components/Logo/Logo.stories.d.ts +0 -7
  59. package/dist/types/components/Modal/Modal.stories.d.ts +0 -42
  60. package/dist/types/components/Notification/Notification.stories.d.ts +0 -7
  61. package/dist/types/components/Notification/Notification.vue.d.ts +0 -31
  62. package/dist/types/components/Notification/Notifications.vue.d.ts +0 -20
  63. package/dist/types/components/Pagination/Pagination.stories.d.ts +0 -52
  64. package/dist/types/components/Pill/Pill.stories.d.ts +0 -27
  65. package/dist/types/components/Radio/Radio.stories.d.ts +0 -59
  66. package/dist/types/components/Select/Select.stories.d.ts +0 -102
  67. package/dist/types/components/Spinner/Spinner.stories.d.ts +0 -8
  68. package/dist/types/components/StatusBanner/StatusBanner.d.ts +0 -2
  69. package/dist/types/components/TextArea/TextArea.stories.d.ts +0 -129
  70. package/dist/types/components/Toggle/Toggle.stories.d.ts +0 -101
  71. package/dist/types/components/Upload/Upload.stories.d.ts +0 -94
  72. package/dist/types/helpers/formatters/formatDateAndTime/Storybook/formatDateAndTime.stories.d.ts +0 -7
  73. package/dist/types/helpers/formatters/formatDateAndTime/index.spec.d.ts +0 -1
  74. package/dist/types/helpers/formatters/formatQuantity/Storybook/formatAmount.stories.d.ts +0 -7
  75. package/dist/types/helpers/formatters/formatQuantity/Storybook/formatNumber.stories.d.ts +0 -7
@@ -1,7 +0,0 @@
1
- import { Story } from '@storybook/vue3';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const Notification: Story<import("@storybook/vue3").Args>;
7
- export declare const Notifications: Story<import("@storybook/vue3").Args>;
@@ -1,31 +0,0 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
3
- type: {
4
- type: PropType<"info" | "success" | "warning" | "error">;
5
- required: true;
6
- };
7
- id: {
8
- type: StringConstructor;
9
- required: true;
10
- };
11
- }, {
12
- classes: import("vue").ComputedRef<{
13
- [x: string]: boolean | "info" | "success" | "warning" | "error";
14
- 'aux-notification': boolean;
15
- 'aux-notification-show': boolean;
16
- }>;
17
- icon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, 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<{}>>, {}>>;
18
- removeNotification: () => void;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
- type: {
21
- type: PropType<"info" | "success" | "warning" | "error">;
22
- required: true;
23
- };
24
- id: {
25
- type: StringConstructor;
26
- required: true;
27
- };
28
- }>> & {
29
- "onRemove-notification"?: ((...args: any[]) => any) | undefined;
30
- }, {}>;
31
- export default _default;
@@ -1,20 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { NotificationType } from './Notification.d';
3
- declare const _default: import("vue").DefineComponent<{
4
- notifications: {
5
- type: PropType<NotificationType[]>;
6
- default: () => never[];
7
- };
8
- }, {
9
- removeNotification: (event: string) => void;
10
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- notifications: {
12
- type: PropType<NotificationType[]>;
13
- default: () => never[];
14
- };
15
- }>> & {
16
- "onRemove-notification"?: ((...args: any[]) => any) | undefined;
17
- }, {
18
- notifications: NotificationType[];
19
- }>;
20
- export default _default;
@@ -1,52 +0,0 @@
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>;
@@ -1,27 +0,0 @@
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>;
@@ -1,59 +0,0 @@
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>;
@@ -1,102 +0,0 @@
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>;
@@ -1,8 +0,0 @@
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>;
@@ -1,2 +0,0 @@
1
- declare const _default: (topics: string[]) => void;
2
- export default _default;
@@ -1,129 +0,0 @@
1
- import { Story } from '@storybook/vue3';
2
- declare const _default: {
3
- title: string;
4
- component: import("vue").DefineComponent<{
5
- modelValue: {
6
- type: (StringConstructor | NumberConstructor)[];
7
- };
8
- label: {
9
- type: StringConstructor;
10
- required: true;
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
- description: {
17
- type: StringConstructor;
18
- };
19
- hideLabel: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- name: {
24
- type: StringConstructor;
25
- required: false;
26
- };
27
- placeholder: {
28
- type: StringConstructor;
29
- };
30
- resize: {
31
- type: import("vue").PropType<"vertical" | "horizontal" | "none" | "auto" | "both">;
32
- default: string;
33
- };
34
- height: {
35
- type: NumberConstructor;
36
- default: number;
37
- };
38
- width: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- required: {
43
- type: BooleanConstructor;
44
- default: boolean;
45
- };
46
- value: {
47
- type: (StringConstructor | NumberConstructor)[];
48
- default: string;
49
- };
50
- }, {
51
- styles: import("vue").ComputedRef<{
52
- resize: "vertical" | "horizontal" | "none" | "auto" | "both";
53
- 'max-width': string;
54
- }>;
55
- handleInput(event: {
56
- target: {
57
- value: string;
58
- };
59
- }): void;
60
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "input" | "update:modelValue")[], "blur" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
- modelValue: {
62
- type: (StringConstructor | NumberConstructor)[];
63
- };
64
- label: {
65
- type: StringConstructor;
66
- required: true;
67
- };
68
- id: {
69
- type: StringConstructor;
70
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
71
- };
72
- description: {
73
- type: StringConstructor;
74
- };
75
- hideLabel: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
- name: {
80
- type: StringConstructor;
81
- required: false;
82
- };
83
- placeholder: {
84
- type: StringConstructor;
85
- };
86
- resize: {
87
- type: import("vue").PropType<"vertical" | "horizontal" | "none" | "auto" | "both">;
88
- default: string;
89
- };
90
- height: {
91
- type: NumberConstructor;
92
- default: number;
93
- };
94
- width: {
95
- type: StringConstructor;
96
- default: string;
97
- };
98
- required: {
99
- type: BooleanConstructor;
100
- default: boolean;
101
- };
102
- value: {
103
- type: (StringConstructor | NumberConstructor)[];
104
- default: string;
105
- };
106
- }>> & {
107
- onBlur?: ((...args: any[]) => any) | undefined;
108
- onInput?: ((...args: any[]) => any) | undefined;
109
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
110
- }, {
111
- hideLabel: boolean;
112
- id: string;
113
- required: boolean;
114
- value: string | number;
115
- resize: "vertical" | "horizontal" | "none" | "auto" | "both";
116
- width: string;
117
- height: number;
118
- }>;
119
- argTypes: {
120
- onBlur: {
121
- action: string;
122
- };
123
- onChange: {
124
- action: string;
125
- };
126
- };
127
- };
128
- export default _default;
129
- export declare const Input: Story<import("@storybook/vue3").Args>;
@@ -1,101 +0,0 @@
1
- import { Story } from '@storybook/vue3';
2
- declare const _default: {
3
- title: string;
4
- component: import("vue").DefineComponent<{
5
- id: {
6
- type: StringConstructor;
7
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
8
- };
9
- label: {
10
- type: StringConstructor;
11
- required: false;
12
- };
13
- offLabel: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- onLabel: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- checked: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- hideLabel: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- hideOffLabel: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- hideOnLabel: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- dataTestid: {
38
- type: StringConstructor;
39
- required: false;
40
- };
41
- }, {
42
- activeText: import("vue").ComputedRef<string>;
43
- inactiveText: import("vue").ComputedRef<string>;
44
- getTestId: (testId: string) => string | undefined;
45
- change: () => void;
46
- toggle: () => void;
47
- active: import("vue").Ref<boolean>;
48
- radioOn: import("vue").Ref<HTMLInputElement | null>;
49
- radioOff: import("vue").Ref<HTMLInputElement | null>;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
- id: {
52
- type: StringConstructor;
53
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
54
- };
55
- label: {
56
- type: StringConstructor;
57
- required: false;
58
- };
59
- offLabel: {
60
- type: StringConstructor;
61
- default: string;
62
- };
63
- onLabel: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- checked: {
68
- type: BooleanConstructor;
69
- default: boolean;
70
- };
71
- hideLabel: {
72
- type: BooleanConstructor;
73
- default: boolean;
74
- };
75
- hideOffLabel: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
- hideOnLabel: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- dataTestid: {
84
- type: StringConstructor;
85
- required: false;
86
- };
87
- }>> & {
88
- onChange?: ((...args: any[]) => any) | undefined;
89
- }, {
90
- hideLabel: boolean;
91
- id: string;
92
- checked: boolean;
93
- offLabel: string;
94
- onLabel: string;
95
- hideOffLabel: boolean;
96
- hideOnLabel: boolean;
97
- }>;
98
- };
99
- export default _default;
100
- export declare const Toggle: Story<import("@storybook/vue3").Args>;
101
- export declare const Examples: Story<import("@storybook/vue3").Args>;
@@ -1,94 +0,0 @@
1
- import { Story } from '@storybook/vue3';
2
- declare const _default: {
3
- title: string;
4
- component: import("vue").DefineComponent<{
5
- files: {
6
- type: ArrayConstructor;
7
- default: () => never[];
8
- };
9
- id: {
10
- type: StringConstructor;
11
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
12
- };
13
- label: {
14
- type: StringConstructor;
15
- };
16
- description: {
17
- type: StringConstructor;
18
- };
19
- hideLabel: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- maxFileSize: {
24
- type: NumberConstructor;
25
- default: NumberConstructor;
26
- };
27
- maxAttachmentCount: {
28
- type: NumberConstructor;
29
- };
30
- }, {
31
- removeFile: (uuid: string) => void;
32
- filesUploaded: import("vue").ComputedRef<boolean>;
33
- state: {
34
- fileList: unknown[];
35
- isOver: boolean;
36
- message: string;
37
- };
38
- dragLeave: () => void;
39
- addFile: (event: Event) => void;
40
- wrapperClasses: import("vue").ComputedRef<{
41
- 'aux-input-upload-field-wrapper': boolean;
42
- "aux-input-upload-field-wrapper--drag": boolean;
43
- "aux-input-upload-field-wrapper--no-drag": boolean;
44
- }>;
45
- dragover: () => void;
46
- inputField: import("vue").Ref<any>;
47
- inputFieldWrapper: import("vue").Ref<any>;
48
- errorMessage: import("vue").Ref<string>;
49
- handleFile: (event: Event) => void;
50
- filesCollection: any;
51
- setWarning: (files: FileList) => void;
52
- }, 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<import("vue").ExtractPropTypes<{
53
- files: {
54
- type: ArrayConstructor;
55
- default: () => never[];
56
- };
57
- id: {
58
- type: StringConstructor;
59
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
60
- };
61
- label: {
62
- type: StringConstructor;
63
- };
64
- description: {
65
- type: StringConstructor;
66
- };
67
- hideLabel: {
68
- type: BooleanConstructor;
69
- default: boolean;
70
- };
71
- maxFileSize: {
72
- type: NumberConstructor;
73
- default: NumberConstructor;
74
- };
75
- maxAttachmentCount: {
76
- type: NumberConstructor;
77
- };
78
- }>> & {
79
- "onFile-added"?: ((...args: any[]) => any) | undefined;
80
- "onFile-removed"?: ((...args: any[]) => any) | undefined;
81
- }, {
82
- hideLabel: boolean;
83
- id: string;
84
- files: unknown[];
85
- maxFileSize: number;
86
- }>;
87
- argTypes: {
88
- onUpload: {
89
- action: string;
90
- };
91
- };
92
- };
93
- export default _default;
94
- export declare const Upload: Story<import("@storybook/vue3").Args>;
@@ -1,7 +0,0 @@
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 formatDateAndTime: Story<import("@storybook/vue3").Args>;
@@ -1,7 +0,0 @@
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 formatAmount: Story<import("@storybook/vue3").Args>;
@@ -1,7 +0,0 @@
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 formatNumber: Story<import("@storybook/vue3").Args>;