@albank/vue-ui-kit 2.4.0 → 2.4.1-rc.216
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/aeb-ui-kit.cjs +2 -2
- package/dist/aeb-ui-kit.js +3531 -3672
- package/dist/aeb-ui-kit.umd.cjs +2 -2
- package/dist/components/Accordion/Accordion.spec.d.ts +1 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +5 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +14 -12
- package/dist/components/ActionBar/ActionBar.spec.d.ts +1 -0
- package/dist/components/ActionBar/ActionBar.stories.d.ts +5 -0
- package/dist/components/ActionBar/ActionBar.vue.d.ts +15 -21
- package/dist/components/Button/Button.spec.d.ts +1 -0
- package/dist/components/Button/Button.stories.d.ts +6 -0
- package/dist/components/Button/Button.vue.d.ts +21 -87
- package/dist/components/ButtonOld/ButtonOld.spec.d.ts +1 -0
- package/dist/components/ButtonOld/ButtonOld.stories.d.ts +6 -0
- package/dist/components/ButtonOld/ButtonOld.vue.d.ts +26 -140
- package/dist/components/Checkbox/Checkbox.spec.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +16 -56
- package/dist/components/CheckboxOld/CheckboxOld.spec.d.ts +1 -0
- package/dist/components/CheckboxOld/CheckboxOld.stories.d.ts +5 -0
- package/dist/components/CheckboxOld/CheckboxOld.vue.d.ts +16 -56
- package/dist/components/ClickOutside/ClickOutside.stories.d.ts +5 -0
- package/dist/components/CodeInput/CodeInput.spec.d.ts +1 -0
- package/dist/components/CodeInput/CodeInput.stories.d.ts +5 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +27 -82
- package/dist/components/Comment/Comment.spec.d.ts +1 -0
- package/dist/components/Comment/Comment.stories.d.ts +5 -0
- package/dist/components/Comment/Comment.vue.d.ts +12 -15
- package/dist/components/CreditItemCard/CreditItemCard.spec.d.ts +1 -0
- package/dist/components/CreditItemCard/CreditItemCard.stories.d.ts +10 -0
- package/dist/components/CreditItemCard/CreditItemCard.vue.d.ts +7 -15
- package/dist/components/DatePicker/DatePicker.spec.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +5 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +187 -9
- package/dist/components/DatePicker/DatePickerCore/DatePickerCore.spec.d.ts +1 -0
- package/dist/components/DatePicker/DatePickerCore/DatePickerCore.vue.d.ts +17 -8
- package/dist/components/DatePicker/DatePickerMonth/DatePickerMonth.spec.d.ts +1 -0
- package/dist/components/DatePicker/DatePickerMonth/DatePickerMonth.vue.d.ts +8 -6
- package/dist/components/DatePicker/DatePickerTiles/DatePickerTiles.spec.d.ts +1 -0
- package/dist/components/DatePicker/DatePickerTiles/DatePickerTiles.vue.d.ts +12 -7
- package/dist/components/Dropdown/Dropdown.spec.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +12 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts +11 -61
- package/dist/components/FieldSlider/FieldSlider.spec.d.ts +1 -0
- package/dist/components/FieldSlider/FieldSlider.stories.d.ts +5 -0
- package/dist/components/FieldSlider/FieldSlider.vue.d.ts +18 -6
- package/dist/components/FileAttach/FileAttach.spec.d.ts +1 -0
- package/dist/components/FileAttach/FileAttach.stories.d.ts +5 -0
- package/dist/components/FileAttach/FileAttach.vue.d.ts +16 -6
- package/dist/components/FilterTags/FilterTag/FilterTag.spec.d.ts +1 -0
- package/dist/components/FilterTags/FilterTag/FilterTag.vue.d.ts +14 -26
- package/dist/components/FilterTags/FilterTags.spec.d.ts +1 -0
- package/dist/components/FilterTags/FilterTags.stories.d.ts +5 -0
- package/dist/components/FilterTags/FilterTags.vue.d.ts +8 -27
- package/dist/components/Footer/Footer.spec.d.ts +1 -0
- package/dist/components/Footer/Footer.stories.d.ts +5 -0
- package/dist/components/Footer/Footer.vue.d.ts +9 -2
- package/dist/components/Footer/FooterBottom/FooterBottom.spec.d.ts +1 -0
- package/dist/components/Footer/FooterBottom/FooterBottom.vue.d.ts +14 -16
- package/dist/components/Footer/FooterMenu/FooterMenu.spec.d.ts +1 -0
- package/dist/components/Footer/FooterMenu/FooterMenu.vue.d.ts +14 -16
- package/dist/components/Footer/FooterTop/FooterTop.spec.d.ts +1 -0
- package/dist/components/Footer/FooterTop/FooterTop.vue.d.ts +14 -16
- package/dist/components/FormField/FormField.spec.d.ts +1 -0
- package/dist/components/FormField/FormField.stories.d.ts +6 -0
- package/dist/components/FormField/FormField.vue.d.ts +14 -32
- package/dist/components/FormField/Input.vue.d.ts +2 -2
- package/dist/components/FormField/Textarea.vue.d.ts +2 -2
- package/dist/components/Header/Header.spec.d.ts +1 -0
- package/dist/components/Header/Header.stories.d.ts +5 -0
- package/dist/components/Header/Header.vue.d.ts +10 -16
- package/dist/components/Header/Logo/Logo.spec.d.ts +1 -0
- package/dist/components/Header/Logo/Logo.vue.d.ts +8 -3
- package/dist/components/Heading/Breadcrumbs/Breadcrumbs.spec.d.ts +1 -0
- package/dist/components/Heading/Breadcrumbs/Breadcrumbs.vue.d.ts +8 -19
- package/dist/components/Heading/Heading.spec.d.ts +1 -0
- package/dist/components/Heading/Heading.stories.d.ts +10 -0
- package/dist/components/Heading/Heading.vue.d.ts +6 -13
- package/dist/components/Heading/ProductTitle/ProductTitle.spec.d.ts +1 -0
- package/dist/components/Heading/ProductTitle/ProductTitle.vue.d.ts +12 -14
- package/dist/components/Label/Label.spec.d.ts +1 -0
- package/dist/components/Label/Label.stories.d.ts +5 -0
- package/dist/components/Label/Label.vue.d.ts +8 -3
- package/dist/components/Modal/Modal.stories.d.ts +201 -0
- package/dist/components/Modal/Modal.vue.d.ts +76 -38
- package/dist/components/NewsCard/NewsCard.spec.d.ts +1 -0
- package/dist/components/NewsCard/NewsCard.stories.d.ts +5 -0
- package/dist/components/NewsCard/NewsCard.vue.d.ts +12 -12
- package/dist/components/Notifications/Notifications.stories.d.ts +24 -0
- package/dist/components/Notifications/Notifications.vue.d.ts +6 -17
- package/dist/components/Pagination/Pagination.spec.d.ts +1 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +5 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +13 -59
- package/dist/components/PaginationOld/PaginationOld.spec.d.ts +1 -0
- package/dist/components/PaginationOld/PaginationOld.stories.d.ts +5 -0
- package/dist/components/PaginationOld/PaginationOld.vue.d.ts +10 -7
- package/dist/components/PopUp/PopUp.spec.d.ts +1 -0
- package/dist/components/PopUp/PopUp.stories.d.ts +57 -0
- package/dist/components/PopUp/PopUp.vue.d.ts +16 -12
- package/dist/components/PopUp/PopUpComponent.vue.d.ts +14 -12
- package/dist/components/RadioButtons/RadioButtons.spec.d.ts +1 -0
- package/dist/components/RadioButtons/RadioButtons.stories.d.ts +44 -0
- package/dist/components/RadioButtons/RadioButtons.vue.d.ts +11 -70
- package/dist/components/Response/Response.spec.d.ts +1 -0
- package/dist/components/Response/Response.stories.d.ts +5 -0
- package/dist/components/Response/Response.vue.d.ts +4 -25
- package/dist/components/Search/Search.spec.d.ts +1 -0
- package/dist/components/Search/Search.stories.d.ts +57 -0
- package/dist/components/Search/Search.vue.d.ts +16 -48
- package/dist/components/Select/Option.vue.d.ts +2 -2
- package/dist/components/Select/Select.spec.d.ts +1 -0
- package/dist/components/Select/Select.stories.d.ts +5 -0
- package/dist/components/Select/Select.vue.d.ts +14 -48
- package/dist/components/Sidebar/Sidebar.spec.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar.stories.d.ts +5 -0
- package/dist/components/Sidebar/Sidebar.vue.d.ts +12 -35
- package/dist/components/Slider/Slider.spec.d.ts +1 -0
- package/dist/components/Slider/Slider.stories.d.ts +5 -0
- package/dist/components/Slider/Slider.vue.d.ts +10 -77
- package/dist/components/Spinner/Spinner.spec.d.ts +1 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +5 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +2 -4
- package/dist/components/Stepper/Stepper.spec.d.ts +1 -0
- package/dist/components/Stepper/Stepper.stories.d.ts +5 -0
- package/dist/components/Stepper/Stepper.vue.d.ts +19 -18
- package/dist/components/Stepper/StepperStep.vue.d.ts +10 -16
- package/dist/components/Table/Table.spec.d.ts +1 -0
- package/dist/components/Table/Table.stories.d.ts +5 -0
- package/dist/components/Table/Table.vue.d.ts +5 -22
- package/dist/components/Tabs/Tab.directive.d.ts +2 -0
- package/dist/components/Tabs/Tabs.spec.d.ts +1 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +5 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +17 -6
- package/dist/components/TagTab/TagTab.spec.d.ts +1 -0
- package/dist/components/TagTab/TagTab.stories.d.ts +5 -0
- package/dist/components/TagTab/TagTab.vue.d.ts +3 -26
- package/dist/components/Tooltip/Tooltip.spec.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +5 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +67 -38
- package/dist/components/Tooltip/TooltipComponent.spec.d.ts +1 -0
- package/dist/components/Tooltip/TooltipComponent.vue.d.ts +12 -16
- package/dist/components/Visa/Visa.spec.d.ts +1 -0
- package/dist/components/Visa/Visa.stories.d.ts +5 -0
- package/dist/components/Visa/Visa.vue.d.ts +2 -2
- package/dist/components/Visa/VisaItem/VisaItem.spec.d.ts +1 -0
- package/dist/components/Visa/VisaItem/VisaItem.vue.d.ts +4 -4
- package/dist/components/Visa/VisaSpan/VisaSpan.spec.d.ts +1 -0
- package/dist/components/Visa/VisaSpan/VisaSpanSubtitle.vue.d.ts +2 -2
- package/dist/components/Visa/VisaSpan/VisaSpanTitle.vue.d.ts +2 -2
- package/dist/components/index.d.ts +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
text: {
|
|
9
|
-
type: __PropType<string>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}, {}>;
|
|
13
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
text: string;
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
4
|
+
text: string;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLHeadingElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
1
|
export interface ProductTitleProps {
|
|
3
2
|
title?: string;
|
|
4
3
|
}
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
required: false;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "backHandler"[], "backHandler", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
title: {
|
|
12
|
-
type: __PropType<string | undefined>;
|
|
13
|
-
required: false;
|
|
14
|
-
};
|
|
15
|
-
}>> & {
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ProductTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
backHandler: (...args: any[]) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<ProductTitleProps> & Readonly<{
|
|
16
7
|
onBackHandler?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}, {}, {}
|
|
18
|
-
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
3
9
|
};
|
|
4
|
-
export default _sfc_main;
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Modal.vue').ModalProps> & Readonly<{
|
|
6
|
+
onLeftBtnClick?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onRightBtnClick?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onCloseBtnClick?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
leftBtnClick: (...args: any[]) => void;
|
|
11
|
+
rightBtnClick: (...args: any[]) => void;
|
|
12
|
+
closeBtnClick: (...args: any[]) => void;
|
|
13
|
+
}, import('vue').PublicProps, {
|
|
14
|
+
size: "S" | "M" | "L";
|
|
15
|
+
controlsConfig: import('./Modal.vue').ControlsConfig;
|
|
16
|
+
}, false, {}, {}, {
|
|
17
|
+
AebButton: {
|
|
18
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
19
|
+
onClick?: (() => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
+
click: () => any;
|
|
22
|
+
}, import('vue').PublicProps, {
|
|
23
|
+
fill: boolean;
|
|
24
|
+
variant: import('../Button/Button.vue').ButtonVariantType;
|
|
25
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
26
|
+
iconSource: {
|
|
27
|
+
left?: string;
|
|
28
|
+
right?: string;
|
|
29
|
+
};
|
|
30
|
+
warning: boolean;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
|
33
|
+
P: {};
|
|
34
|
+
B: {};
|
|
35
|
+
D: {};
|
|
36
|
+
C: {};
|
|
37
|
+
M: {};
|
|
38
|
+
Defaults: {};
|
|
39
|
+
}, Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
40
|
+
onClick?: (() => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, {
|
|
42
|
+
fill: boolean;
|
|
43
|
+
variant: import('../Button/Button.vue').ButtonVariantType;
|
|
44
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
45
|
+
iconSource: {
|
|
46
|
+
left?: string;
|
|
47
|
+
right?: string;
|
|
48
|
+
};
|
|
49
|
+
warning: boolean;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
__isFragment?: never;
|
|
53
|
+
__isTeleport?: never;
|
|
54
|
+
__isSuspense?: never;
|
|
55
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
56
|
+
onClick?: (() => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
58
|
+
click: () => any;
|
|
59
|
+
}, string, {
|
|
60
|
+
fill: boolean;
|
|
61
|
+
variant: import('../Button/Button.vue').ButtonVariantType;
|
|
62
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
63
|
+
iconSource: {
|
|
64
|
+
left?: string;
|
|
65
|
+
right?: string;
|
|
66
|
+
};
|
|
67
|
+
warning: boolean;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
70
|
+
$slots: {
|
|
71
|
+
default?(_: {}): any;
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
75
|
+
P: {};
|
|
76
|
+
B: {};
|
|
77
|
+
D: {};
|
|
78
|
+
C: {};
|
|
79
|
+
M: {};
|
|
80
|
+
Defaults: {};
|
|
81
|
+
}, Readonly<import('./Modal.vue').ModalProps> & Readonly<{
|
|
82
|
+
onLeftBtnClick?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
onRightBtnClick?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
onCloseBtnClick?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}>, {}, {}, {}, {}, {
|
|
86
|
+
size: "S" | "M" | "L";
|
|
87
|
+
controlsConfig: import('./Modal.vue').ControlsConfig;
|
|
88
|
+
}>;
|
|
89
|
+
__isFragment?: never;
|
|
90
|
+
__isTeleport?: never;
|
|
91
|
+
__isSuspense?: never;
|
|
92
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Modal.vue').ModalProps> & Readonly<{
|
|
93
|
+
onLeftBtnClick?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onRightBtnClick?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
onCloseBtnClick?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
97
|
+
leftBtnClick: (...args: any[]) => void;
|
|
98
|
+
rightBtnClick: (...args: any[]) => void;
|
|
99
|
+
closeBtnClick: (...args: any[]) => void;
|
|
100
|
+
}, string, {
|
|
101
|
+
size: "S" | "M" | "L";
|
|
102
|
+
controlsConfig: import('./Modal.vue').ControlsConfig;
|
|
103
|
+
}, {}, string, {}, {
|
|
104
|
+
AebButton: {
|
|
105
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
106
|
+
onClick?: (() => any) | undefined;
|
|
107
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
108
|
+
click: () => any;
|
|
109
|
+
}, import('vue').PublicProps, {
|
|
110
|
+
fill: boolean;
|
|
111
|
+
variant: import('../Button/Button.vue').ButtonVariantType;
|
|
112
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
113
|
+
iconSource: {
|
|
114
|
+
left?: string;
|
|
115
|
+
right?: string;
|
|
116
|
+
};
|
|
117
|
+
warning: boolean;
|
|
118
|
+
disabled: boolean;
|
|
119
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
|
120
|
+
P: {};
|
|
121
|
+
B: {};
|
|
122
|
+
D: {};
|
|
123
|
+
C: {};
|
|
124
|
+
M: {};
|
|
125
|
+
Defaults: {};
|
|
126
|
+
}, Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
127
|
+
onClick?: (() => any) | undefined;
|
|
128
|
+
}>, {}, {}, {}, {}, {
|
|
129
|
+
fill: boolean;
|
|
130
|
+
variant: import('../Button/Button.vue').ButtonVariantType;
|
|
131
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
132
|
+
iconSource: {
|
|
133
|
+
left?: string;
|
|
134
|
+
right?: string;
|
|
135
|
+
};
|
|
136
|
+
warning: boolean;
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
}>;
|
|
139
|
+
__isFragment?: never;
|
|
140
|
+
__isTeleport?: never;
|
|
141
|
+
__isSuspense?: never;
|
|
142
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
143
|
+
onClick?: (() => any) | undefined;
|
|
144
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
145
|
+
click: () => any;
|
|
146
|
+
}, string, {
|
|
147
|
+
fill: boolean;
|
|
148
|
+
variant: import('../Button/Button.vue').ButtonVariantType;
|
|
149
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
150
|
+
iconSource: {
|
|
151
|
+
left?: string;
|
|
152
|
+
right?: string;
|
|
153
|
+
};
|
|
154
|
+
warning: boolean;
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
157
|
+
$slots: {
|
|
158
|
+
default?(_: {}): any;
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
162
|
+
$slots: {
|
|
163
|
+
default?(_: {}): any;
|
|
164
|
+
};
|
|
165
|
+
});
|
|
166
|
+
args: {
|
|
167
|
+
isOpen: false;
|
|
168
|
+
size: "S";
|
|
169
|
+
controlsConfig: {
|
|
170
|
+
leftBtn: {
|
|
171
|
+
text: string;
|
|
172
|
+
warning: false;
|
|
173
|
+
variant: "secondary";
|
|
174
|
+
};
|
|
175
|
+
rightBtn: {
|
|
176
|
+
text: string;
|
|
177
|
+
warning: false;
|
|
178
|
+
variant: "primary";
|
|
179
|
+
};
|
|
180
|
+
closeBtn: {
|
|
181
|
+
hidden: false;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
argTypes: {
|
|
186
|
+
size: {
|
|
187
|
+
control: {
|
|
188
|
+
type: "radio";
|
|
189
|
+
};
|
|
190
|
+
options: string[];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
parameters: {
|
|
194
|
+
controls: {
|
|
195
|
+
include: string[];
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
export default meta;
|
|
200
|
+
type Story = StoryObj<typeof meta>;
|
|
201
|
+
export declare const Default: Story;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ButtonVariantType } from '../Button/Button.vue';
|
|
2
2
|
export interface ModalProps {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
size?: 'S' | 'M' | 'L';
|
|
5
5
|
controlsConfig?: ControlsConfig;
|
|
6
6
|
}
|
|
7
|
-
import { ButtonVariantType } from '../Button/Button.vue';
|
|
8
7
|
export interface ControlsConfigurationModel {
|
|
9
8
|
text?: string;
|
|
10
9
|
variant?: ButtonVariantType;
|
|
@@ -19,42 +18,81 @@ export interface ControlsConfig {
|
|
|
19
18
|
hidden?: ControlsConfigurationModel['hidden'];
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
|
-
declare const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
size: {
|
|
28
|
-
type: __PropType<"M" | "S" | "L" | undefined>;
|
|
29
|
-
required: false;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
controlsConfig: {
|
|
33
|
-
type: __PropType<ControlsConfig | undefined>;
|
|
34
|
-
required: false;
|
|
35
|
-
default: () => ControlsConfig;
|
|
36
|
-
};
|
|
37
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("leftBtnClick" | "rightBtnClick" | "closeBtnClick")[], "leftBtnClick" | "rightBtnClick" | "closeBtnClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
isOpen: {
|
|
39
|
-
type: __PropType<boolean>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
size: {
|
|
43
|
-
type: __PropType<"M" | "S" | "L" | undefined>;
|
|
44
|
-
required: false;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
controlsConfig: {
|
|
48
|
-
type: __PropType<ControlsConfig | undefined>;
|
|
49
|
-
required: false;
|
|
50
|
-
default: () => ControlsConfig;
|
|
51
|
-
};
|
|
52
|
-
}>> & {
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
leftBtnClick: (...args: any[]) => void;
|
|
23
|
+
rightBtnClick: (...args: any[]) => void;
|
|
24
|
+
closeBtnClick: (...args: any[]) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<ModalProps> & Readonly<{
|
|
53
26
|
onLeftBtnClick?: ((...args: any[]) => any) | undefined;
|
|
54
27
|
onRightBtnClick?: ((...args: any[]) => any) | undefined;
|
|
55
28
|
onCloseBtnClick?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
}
|
|
57
|
-
size: "
|
|
58
|
-
controlsConfig: ControlsConfig
|
|
59
|
-
}, {}
|
|
60
|
-
|
|
29
|
+
}>, {
|
|
30
|
+
size: "S" | "M" | "L";
|
|
31
|
+
controlsConfig: ControlsConfig;
|
|
32
|
+
}, {}, {
|
|
33
|
+
AebButton: {
|
|
34
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
35
|
+
onClick?: (() => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
37
|
+
click: () => any;
|
|
38
|
+
}, import('vue').PublicProps, {
|
|
39
|
+
fill: boolean;
|
|
40
|
+
variant: ButtonVariantType;
|
|
41
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
42
|
+
iconSource: {
|
|
43
|
+
left?: string;
|
|
44
|
+
right?: string;
|
|
45
|
+
};
|
|
46
|
+
warning: boolean;
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
|
49
|
+
P: {};
|
|
50
|
+
B: {};
|
|
51
|
+
D: {};
|
|
52
|
+
C: {};
|
|
53
|
+
M: {};
|
|
54
|
+
Defaults: {};
|
|
55
|
+
}, Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
56
|
+
onClick?: (() => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, {
|
|
58
|
+
fill: boolean;
|
|
59
|
+
variant: ButtonVariantType;
|
|
60
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
61
|
+
iconSource: {
|
|
62
|
+
left?: string;
|
|
63
|
+
right?: string;
|
|
64
|
+
};
|
|
65
|
+
warning: boolean;
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
}>;
|
|
68
|
+
__isFragment?: never;
|
|
69
|
+
__isTeleport?: never;
|
|
70
|
+
__isSuspense?: never;
|
|
71
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../Button/Button.vue').ButtonProps> & Readonly<{
|
|
72
|
+
onClick?: (() => any) | undefined;
|
|
73
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
74
|
+
click: () => any;
|
|
75
|
+
}, string, {
|
|
76
|
+
fill: boolean;
|
|
77
|
+
variant: ButtonVariantType;
|
|
78
|
+
size: import('../Button/Button.vue').ButtonSizeType;
|
|
79
|
+
iconSource: {
|
|
80
|
+
left?: string;
|
|
81
|
+
right?: string;
|
|
82
|
+
};
|
|
83
|
+
warning: boolean;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
86
|
+
$slots: {
|
|
87
|
+
default?(_: {}): any;
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
91
|
+
default?(_: {}): any;
|
|
92
|
+
}>;
|
|
93
|
+
export default _default;
|
|
94
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
95
|
+
new (): {
|
|
96
|
+
$slots: S;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
date: string;
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
4
|
+
date: string;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
6
12
|
};
|
|
7
|
-
}
|
|
8
|
-
date: {
|
|
9
|
-
type: __PropType<string>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}, {}>;
|
|
13
|
-
export default _sfc_main;
|
|
13
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Notification, default as AebNotifications } from './Notifications.vue';
|
|
2
|
+
import { StoryObj } from '@storybook/vue3';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
components: {
|
|
6
|
+
AebNotifications: import('vue').DefineComponent<import('./Notifications.vue').NotificationsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
handleClose: (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('./Notifications.vue').NotificationsProps> & Readonly<{
|
|
9
|
+
onHandleClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
notifications: Notification[];
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
};
|
|
14
|
+
args: {
|
|
15
|
+
notifications: {
|
|
16
|
+
id: number;
|
|
17
|
+
message: string;
|
|
18
|
+
header: string;
|
|
19
|
+
iconPath: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
export declare const Default: StoryObj<typeof AebNotifications>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
1
|
export interface Notification {
|
|
3
2
|
id: number;
|
|
4
3
|
message: string;
|
|
@@ -8,21 +7,11 @@ export interface Notification {
|
|
|
8
7
|
export interface NotificationsProps {
|
|
9
8
|
notifications: Notification[];
|
|
10
9
|
}
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
required: true;
|
|
15
|
-
default: () => never[];
|
|
16
|
-
};
|
|
17
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleClose"[], "handleClose", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
notifications: {
|
|
19
|
-
type: __PropType<Notification[]>;
|
|
20
|
-
required: true;
|
|
21
|
-
default: () => never[];
|
|
22
|
-
};
|
|
23
|
-
}>> & {
|
|
10
|
+
declare const _default: import('vue').DefineComponent<NotificationsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
handleClose: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<NotificationsProps> & Readonly<{
|
|
24
13
|
onHandleClose?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}
|
|
14
|
+
}>, {
|
|
26
15
|
notifications: Notification[];
|
|
27
|
-
}, {}>;
|
|
28
|
-
export default
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
1
|
export interface AmountOption {
|
|
3
2
|
value: number;
|
|
4
3
|
label: string;
|
|
@@ -9,61 +8,16 @@ export interface PaginationProps {
|
|
|
9
8
|
amount?: number;
|
|
10
9
|
amountOptions?: AmountOption[];
|
|
11
10
|
}
|
|
12
|
-
declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
required: false;
|
|
26
|
-
default: number;
|
|
27
|
-
};
|
|
28
|
-
amountOptions: {
|
|
29
|
-
type: __PropType<AmountOption[] | undefined>;
|
|
30
|
-
required: false;
|
|
31
|
-
default: () => {
|
|
32
|
-
value: number;
|
|
33
|
-
label: string;
|
|
34
|
-
}[];
|
|
35
|
-
};
|
|
36
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pageSelect" | "amountChange")[], "pageSelect" | "amountChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
totalPages: {
|
|
38
|
-
type: __PropType<number | undefined>;
|
|
39
|
-
required: false;
|
|
40
|
-
default: number;
|
|
41
|
-
};
|
|
42
|
-
page: {
|
|
43
|
-
type: __PropType<number | undefined>;
|
|
44
|
-
required: false;
|
|
45
|
-
default: number;
|
|
46
|
-
};
|
|
47
|
-
amount: {
|
|
48
|
-
type: __PropType<number | undefined>;
|
|
49
|
-
required: false;
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
amountOptions: {
|
|
53
|
-
type: __PropType<AmountOption[] | undefined>;
|
|
54
|
-
required: false;
|
|
55
|
-
default: () => {
|
|
56
|
-
value: number;
|
|
57
|
-
label: string;
|
|
58
|
-
}[];
|
|
59
|
-
};
|
|
60
|
-
}>> & {
|
|
61
|
-
onPageSelect?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
onAmountChange?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
totalPages: number | undefined;
|
|
65
|
-
page: number | undefined;
|
|
66
|
-
amount: number | undefined;
|
|
67
|
-
amountOptions: AmountOption[] | undefined;
|
|
68
|
-
}, {}>;
|
|
69
|
-
export default _sfc_main;
|
|
11
|
+
declare const _default: import('vue').DefineComponent<PaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
pageSelect: (page: number) => any;
|
|
13
|
+
amountChange: (amount: number) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
15
|
+
onPageSelect?: ((page: number) => any) | undefined;
|
|
16
|
+
onAmountChange?: ((amount: number) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
amount: number;
|
|
19
|
+
totalPages: number;
|
|
20
|
+
page: number;
|
|
21
|
+
amountOptions: AmountOption[];
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
totalPages: {
|
|
4
4
|
type: NumberConstructor;
|
|
5
5
|
default: number;
|
|
@@ -25,7 +25,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
25
|
adaptive: {
|
|
26
26
|
type: NumberConstructor;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
pageSelect: (...args: any[]) => void;
|
|
30
|
+
amountChange: (...args: any[]) => void;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
32
|
totalPages: {
|
|
30
33
|
type: NumberConstructor;
|
|
31
34
|
default: number;
|
|
@@ -51,16 +54,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
51
54
|
adaptive: {
|
|
52
55
|
type: NumberConstructor;
|
|
53
56
|
};
|
|
54
|
-
}>> & {
|
|
57
|
+
}>> & Readonly<{
|
|
55
58
|
onPageSelect?: ((...args: any[]) => any) | undefined;
|
|
56
59
|
onAmountChange?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}
|
|
60
|
+
}>, {
|
|
61
|
+
amount: number;
|
|
58
62
|
totalPages: number;
|
|
59
63
|
page: number;
|
|
60
|
-
amount: number;
|
|
61
64
|
amountOptions: {
|
|
62
65
|
value: number;
|
|
63
66
|
label: string;
|
|
64
67
|
}[];
|
|
65
|
-
}, {}>;
|
|
66
|
-
export default
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|