@colorffy/ui 1.0.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.
- package/README.md +634 -0
- package/dist/components/layout/HeaderContent.vue.d.ts +71 -0
- package/dist/components/layout/HeaderContent.vue.d.ts.map +1 -0
- package/dist/components/layout/PaneContent.vue.d.ts +42 -0
- package/dist/components/layout/PaneContent.vue.d.ts.map +1 -0
- package/dist/components/state/BaseSkeleton.vue.d.ts +30 -0
- package/dist/components/state/BaseSkeleton.vue.d.ts.map +1 -0
- package/dist/components/state/Empty.vue.d.ts +37 -0
- package/dist/components/state/Empty.vue.d.ts.map +1 -0
- package/dist/components/state/ExpressiveLoading.vue.d.ts +24 -0
- package/dist/components/state/ExpressiveLoading.vue.d.ts.map +1 -0
- package/dist/components/state/GridSkeleton.vue.d.ts +21 -0
- package/dist/components/state/GridSkeleton.vue.d.ts.map +1 -0
- package/dist/components/state/Loading.vue.d.ts +26 -0
- package/dist/components/state/Loading.vue.d.ts.map +1 -0
- package/dist/components/state/ShapeLoading.vue.d.ts +22 -0
- package/dist/components/state/ShapeLoading.vue.d.ts.map +1 -0
- package/dist/components/state/TableSkeleton.vue.d.ts +26 -0
- package/dist/components/state/TableSkeleton.vue.d.ts.map +1 -0
- package/dist/components/ui/accordion/Accordion.stories.d.ts +86 -0
- package/dist/components/ui/accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/components/ui/accordion/Accordion.vue.d.ts +37 -0
- package/dist/components/ui/accordion/Accordion.vue.d.ts.map +1 -0
- package/dist/components/ui/accordion/AccordionGroup.vue.d.ts +22 -0
- package/dist/components/ui/accordion/AccordionGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/alert/Alert.stories.d.ts +70 -0
- package/dist/components/ui/alert/Alert.stories.d.ts.map +1 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +26 -0
- package/dist/components/ui/alert/Alert.vue.d.ts.map +1 -0
- package/dist/components/ui/alert/AlertToast.vue.d.ts +21 -0
- package/dist/components/ui/alert/AlertToast.vue.d.ts.map +1 -0
- package/dist/components/ui/badge/Badge.stories.d.ts +45 -0
- package/dist/components/ui/badge/Badge.stories.d.ts.map +1 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +13 -0
- package/dist/components/ui/badge/Badge.vue.d.ts.map +1 -0
- package/dist/components/ui/badge/BadgeGroup.vue.d.ts +18 -0
- package/dist/components/ui/badge/BadgeGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/button/Button.stories.d.ts +110 -0
- package/dist/components/ui/button/Button.stories.d.ts.map +1 -0
- package/dist/components/ui/button/Button.vue.d.ts +37 -0
- package/dist/components/ui/button/Button.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonFabGroup.vue.d.ts +23 -0
- package/dist/components/ui/button/ButtonFabGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonGroup.vue.d.ts +24 -0
- package/dist/components/ui/button/ButtonGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonMenu.vue.d.ts +46 -0
- package/dist/components/ui/button/ButtonMenu.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonMenuDivider.vue.d.ts +3 -0
- package/dist/components/ui/button/ButtonMenuDivider.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonMenuItem.vue.d.ts +26 -0
- package/dist/components/ui/button/ButtonMenuItem.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonMenuText.vue.d.ts +9 -0
- package/dist/components/ui/button/ButtonMenuText.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonToggleGroup.vue.d.ts +30 -0
- package/dist/components/ui/button/ButtonToggleGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonTooltip.vue.d.ts +42 -0
- package/dist/components/ui/button/ButtonTooltip.vue.d.ts.map +1 -0
- package/dist/components/ui/card/Card.stories.d.ts +57 -0
- package/dist/components/ui/card/Card.stories.d.ts.map +1 -0
- package/dist/components/ui/card/Card.vue.d.ts +28 -0
- package/dist/components/ui/card/Card.vue.d.ts.map +1 -0
- package/dist/components/ui/datatable/Datatable.stories.d.ts +13 -0
- package/dist/components/ui/datatable/Datatable.stories.d.ts.map +1 -0
- package/dist/components/ui/datatable/Datatable.vue.d.ts +48 -0
- package/dist/components/ui/datatable/Datatable.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/ConfirmModal.vue.d.ts +49 -0
- package/dist/components/ui/dialog/ConfirmModal.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/Modal.stories.d.ts +79 -0
- package/dist/components/ui/dialog/Modal.stories.d.ts.map +1 -0
- package/dist/components/ui/dialog/Modal.vue.d.ts +41 -0
- package/dist/components/ui/dialog/Modal.vue.d.ts.map +1 -0
- package/dist/components/ui/icon/App.vue.d.ts +16 -0
- package/dist/components/ui/icon/App.vue.d.ts.map +1 -0
- package/dist/components/ui/icon/Material.stories.d.ts +36 -0
- package/dist/components/ui/icon/Material.stories.d.ts.map +1 -0
- package/dist/components/ui/icon/Material.vue.d.ts +7 -0
- package/dist/components/ui/icon/Material.vue.d.ts.map +1 -0
- package/dist/components/ui/icon/Shapes.vue.d.ts +10 -0
- package/dist/components/ui/icon/Shapes.vue.d.ts.map +1 -0
- package/dist/components/ui/icon/Tool.vue.d.ts +9 -0
- package/dist/components/ui/icon/Tool.vue.d.ts.map +1 -0
- package/dist/components/ui/image/Avatar.stories.d.ts +12 -0
- package/dist/components/ui/image/Avatar.stories.d.ts.map +1 -0
- package/dist/components/ui/image/Avatar.vue.d.ts +10 -0
- package/dist/components/ui/image/Avatar.vue.d.ts.map +1 -0
- package/dist/components/ui/input/Check.stories.d.ts +10 -0
- package/dist/components/ui/input/Check.stories.d.ts.map +1 -0
- package/dist/components/ui/input/Check.vue.d.ts +25 -0
- package/dist/components/ui/input/Check.vue.d.ts.map +1 -0
- package/dist/components/ui/input/ColorPicker.stories.d.ts +10 -0
- package/dist/components/ui/input/ColorPicker.stories.d.ts.map +1 -0
- package/dist/components/ui/input/ColorPicker.vue.d.ts +26 -0
- package/dist/components/ui/input/ColorPicker.vue.d.ts.map +1 -0
- package/dist/components/ui/input/File.vue.d.ts +30 -0
- package/dist/components/ui/input/File.vue.d.ts.map +1 -0
- package/dist/components/ui/input/PhoneNumber.vue.d.ts +40 -0
- package/dist/components/ui/input/PhoneNumber.vue.d.ts.map +1 -0
- package/dist/components/ui/input/Radio.vue.d.ts +28 -0
- package/dist/components/ui/input/Radio.vue.d.ts.map +1 -0
- package/dist/components/ui/input/Range.stories.d.ts +13 -0
- package/dist/components/ui/input/Range.stories.d.ts.map +1 -0
- package/dist/components/ui/input/Range.vue.d.ts +36 -0
- package/dist/components/ui/input/Range.vue.d.ts.map +1 -0
- package/dist/components/ui/input/Select.stories.d.ts +14 -0
- package/dist/components/ui/input/Select.stories.d.ts.map +1 -0
- package/dist/components/ui/input/Select.vue.d.ts +42 -0
- package/dist/components/ui/input/Select.vue.d.ts.map +1 -0
- package/dist/components/ui/input/Text.stories.d.ts +12 -0
- package/dist/components/ui/input/Text.stories.d.ts.map +1 -0
- package/dist/components/ui/input/Text.vue.d.ts +48 -0
- package/dist/components/ui/input/Text.vue.d.ts.map +1 -0
- package/dist/components/ui/input/TextArea.stories.d.ts +18 -0
- package/dist/components/ui/input/TextArea.stories.d.ts.map +1 -0
- package/dist/components/ui/input/Textarea.vue.d.ts +48 -0
- package/dist/components/ui/input/Textarea.vue.d.ts.map +1 -0
- package/dist/components/ui/link/LinkTooltip.vue.d.ts +40 -0
- package/dist/components/ui/link/LinkTooltip.vue.d.ts.map +1 -0
- package/dist/components/ui/list/List.stories.d.ts +62 -0
- package/dist/components/ui/list/List.stories.d.ts.map +1 -0
- package/dist/components/ui/list/ListGroup.vue.d.ts +24 -0
- package/dist/components/ui/list/ListGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/list/ListItem.vue.d.ts +11 -0
- package/dist/components/ui/list/ListItem.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/Navbar.stories.d.ts +56 -0
- package/dist/components/ui/navbar/Navbar.stories.d.ts.map +1 -0
- package/dist/components/ui/navbar/Navbar.vue.d.ts +24 -0
- package/dist/components/ui/navbar/Navbar.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarAvatar.vue.d.ts +13 -0
- package/dist/components/ui/navbar/NavbarAvatar.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarBrand.vue.d.ts +29 -0
- package/dist/components/ui/navbar/NavbarBrand.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarCollapse.vue.d.ts +22 -0
- package/dist/components/ui/navbar/NavbarCollapse.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarItem.vue.d.ts +21 -0
- package/dist/components/ui/navbar/NavbarItem.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarLink.vue.d.ts +31 -0
- package/dist/components/ui/navbar/NavbarLink.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarMobileMenu.vue.d.ts +21 -0
- package/dist/components/ui/navbar/NavbarMobileMenu.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarNav.vue.d.ts +22 -0
- package/dist/components/ui/navbar/NavbarNav.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarTitle.vue.d.ts +23 -0
- package/dist/components/ui/navbar/NavbarTitle.vue.d.ts.map +1 -0
- package/dist/components/ui/navbar/NavbarToggle.vue.d.ts +13 -0
- package/dist/components/ui/navbar/NavbarToggle.vue.d.ts.map +1 -0
- package/dist/components/ui/navigation/NavigationBar.vue.d.ts +16 -0
- package/dist/components/ui/navigation/NavigationBar.vue.d.ts.map +1 -0
- package/dist/components/ui/navigation/PopoverMenu.vue.d.ts +50 -0
- package/dist/components/ui/navigation/PopoverMenu.vue.d.ts.map +1 -0
- package/dist/components/ui/navigation/SegmentedControls.vue.d.ts +16 -0
- package/dist/components/ui/navigation/SegmentedControls.vue.d.ts.map +1 -0
- package/dist/components/ui/navigation/Tabs.vue.d.ts +16 -0
- package/dist/components/ui/navigation/Tabs.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/Sidebar.stories.d.ts +64 -0
- package/dist/components/ui/sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts +27 -0
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarBody.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarBody.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarDropdown.vue.d.ts +25 -0
- package/dist/components/ui/sidebar/SidebarDropdown.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +25 -0
- package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarLink.vue.d.ts +47 -0
- package/dist/components/ui/sidebar/SidebarLink.vue.d.ts.map +1 -0
- package/dist/components/ui/sidebar/SidebarText.vue.d.ts +11 -0
- package/dist/components/ui/sidebar/SidebarText.vue.d.ts.map +1 -0
- package/dist/components-CPV7PsCp.cjs +10 -0
- package/dist/components-CPV7PsCp.cjs.map +1 -0
- package/dist/components-DUB9BBm_.js +4210 -0
- package/dist/components-DUB9BBm_.js.map +1 -0
- package/dist/components.d.ts +68 -0
- package/dist/components.d.ts.map +1 -0
- package/dist/composables/useDateUtils.d.ts +4 -0
- package/dist/composables/useDateUtils.d.ts.map +1 -0
- package/dist/composables/useTextUtils.d.ts +6 -0
- package/dist/composables/useTextUtils.d.ts.map +1 -0
- package/dist/composables/useToast.d.ts +14 -0
- package/dist/composables/useToast.d.ts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +102 -0
- package/dist/index.js.map +1 -0
- package/dist/nuxt.cjs +2 -0
- package/dist/nuxt.cjs.map +1 -0
- package/dist/nuxt.d.ts +1 -0
- package/dist/nuxt.js +21 -0
- package/dist/nuxt.js.map +1 -0
- package/dist/plugin.d.ts +4 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/accordion.d.ts +56 -0
- package/dist/types/accordion.d.ts.map +1 -0
- package/dist/types/alert.d.ts +46 -0
- package/dist/types/alert.d.ts.map +1 -0
- package/dist/types/avatar.d.ts +16 -0
- package/dist/types/avatar.d.ts.map +1 -0
- package/dist/types/badge.d.ts +47 -0
- package/dist/types/badge.d.ts.map +1 -0
- package/dist/types/button.d.ts +115 -0
- package/dist/types/button.d.ts.map +1 -0
- package/dist/types/card.d.ts +37 -0
- package/dist/types/card.d.ts.map +1 -0
- package/dist/types/dialog.d.ts +89 -0
- package/dist/types/dialog.d.ts.map +1 -0
- package/dist/types/icon.d.ts +142 -0
- package/dist/types/icon.d.ts.map +1 -0
- package/dist/types/list.d.ts +70 -0
- package/dist/types/list.d.ts.map +1 -0
- package/dist/types/navbar.d.ts +184 -0
- package/dist/types/navbar.d.ts.map +1 -0
- package/dist/types/sidebar.d.ts +146 -0
- package/dist/types/sidebar.d.ts.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BadgeGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/badge/BadgeGroup.vue"],"names":[],"mappings":"AAWA,iBAAS,cAAc;WAwBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../..').IButtonProps> & Readonly<{
|
|
6
|
+
onOnClick?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
onClick: () => any;
|
|
9
|
+
}, import('vue').PublicProps, {
|
|
10
|
+
text: string | null;
|
|
11
|
+
title: string | null;
|
|
12
|
+
size: string;
|
|
13
|
+
color: string;
|
|
14
|
+
id: string | null;
|
|
15
|
+
variant: import('../../..').ButtonVariant | string | undefined;
|
|
16
|
+
iconVariant: "shape-sm" | "shape-md" | "compact-sm" | "compact";
|
|
17
|
+
icon: boolean;
|
|
18
|
+
iconTrailing: boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
customClass: import('../../..').ButtonClassName | null;
|
|
22
|
+
rounded: boolean;
|
|
23
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<import('../../..').IButtonProps> & Readonly<{
|
|
31
|
+
onOnClick?: (() => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, {
|
|
33
|
+
text: string | null;
|
|
34
|
+
title: string | null;
|
|
35
|
+
size: string;
|
|
36
|
+
color: string;
|
|
37
|
+
id: string | null;
|
|
38
|
+
variant: import('../../..').ButtonVariant | string | undefined;
|
|
39
|
+
iconVariant: "shape-sm" | "shape-md" | "compact-sm" | "compact";
|
|
40
|
+
icon: boolean;
|
|
41
|
+
iconTrailing: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
loading: boolean;
|
|
44
|
+
customClass: import('../../..').ButtonClassName | null;
|
|
45
|
+
rounded: boolean;
|
|
46
|
+
}>;
|
|
47
|
+
__isFragment?: never;
|
|
48
|
+
__isTeleport?: never;
|
|
49
|
+
__isSuspense?: never;
|
|
50
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../..').IButtonProps> & Readonly<{
|
|
51
|
+
onOnClick?: (() => any) | undefined;
|
|
52
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
53
|
+
onClick: () => any;
|
|
54
|
+
}, string, {
|
|
55
|
+
text: string | null;
|
|
56
|
+
title: string | null;
|
|
57
|
+
size: string;
|
|
58
|
+
color: string;
|
|
59
|
+
id: string | null;
|
|
60
|
+
variant: import('../../..').ButtonVariant | string | undefined;
|
|
61
|
+
iconVariant: "shape-sm" | "shape-md" | "compact-sm" | "compact";
|
|
62
|
+
icon: boolean;
|
|
63
|
+
iconTrailing: boolean;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
loading: boolean;
|
|
66
|
+
customClass: import('../../..').ButtonClassName | null;
|
|
67
|
+
rounded: boolean;
|
|
68
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: {
|
|
70
|
+
icon?(_: {}): any;
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
tags: string[];
|
|
74
|
+
argTypes: {
|
|
75
|
+
variant: {
|
|
76
|
+
control: "select";
|
|
77
|
+
options: string[];
|
|
78
|
+
};
|
|
79
|
+
color: {
|
|
80
|
+
control: "select";
|
|
81
|
+
options: string[];
|
|
82
|
+
};
|
|
83
|
+
size: {
|
|
84
|
+
control: "select";
|
|
85
|
+
options: string[];
|
|
86
|
+
};
|
|
87
|
+
text: {
|
|
88
|
+
control: "text";
|
|
89
|
+
};
|
|
90
|
+
disabled: {
|
|
91
|
+
control: "boolean";
|
|
92
|
+
};
|
|
93
|
+
loading: {
|
|
94
|
+
control: "boolean";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
export default meta;
|
|
99
|
+
type Story = StoryObj<typeof meta>;
|
|
100
|
+
export declare const Primary: Story;
|
|
101
|
+
export declare const Secondary: Story;
|
|
102
|
+
export declare const Success: Story;
|
|
103
|
+
export declare const Danger: Story;
|
|
104
|
+
export declare const Tonal: Story;
|
|
105
|
+
export declare const Outline: Story;
|
|
106
|
+
export declare const Small: Story;
|
|
107
|
+
export declare const Large: Story;
|
|
108
|
+
export declare const Loading: Story;
|
|
109
|
+
export declare const Disabled: Story;
|
|
110
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/Button.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAGrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBuB,CAAA;AAEjC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IButtonProps } from '../../../types/button';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
icon?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLButtonElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
onClick: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<IButtonProps> & Readonly<{
|
|
14
|
+
onOnClick?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
text: string | null;
|
|
17
|
+
title: string | null;
|
|
18
|
+
size: string;
|
|
19
|
+
color: string;
|
|
20
|
+
id: string | null;
|
|
21
|
+
variant: import('../../../types/button').ButtonVariant | string | undefined;
|
|
22
|
+
iconVariant: "shape-sm" | "shape-md" | "compact-sm" | "compact";
|
|
23
|
+
icon: boolean;
|
|
24
|
+
iconTrailing: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
customClass: import('../../../types/button').ButtonClassName | null;
|
|
28
|
+
rounded: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=Button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/Button.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAiGlD,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;sBAVxB,GAAG;;;;EAe5B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IButtonFabGroupProps } from '../../../types/button';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IButtonFabGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IButtonFabGroupProps> & Readonly<{}>, {
|
|
12
|
+
customClass: string | null;
|
|
13
|
+
start: boolean;
|
|
14
|
+
top: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=ButtonFabGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonFabGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonFabGroup.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAkC1D,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IButtonGroupProps } from '../../../types/button';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IButtonGroupProps> & Readonly<{}>, {
|
|
12
|
+
customClass: string | null;
|
|
13
|
+
vertical: boolean;
|
|
14
|
+
connected: boolean;
|
|
15
|
+
joined: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ButtonGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonGroup.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAuCvD,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IButtonProps } from '../../../types/button';
|
|
2
|
+
/** Interfaces */
|
|
3
|
+
interface IButtonMenuProps extends IButtonProps {
|
|
4
|
+
isMobile?: boolean;
|
|
5
|
+
tooltipText?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
icon?(_: {}): any;
|
|
11
|
+
content?(_: {}): any;
|
|
12
|
+
menu?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<IButtonMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
onClick: () => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<IButtonMenuProps> & Readonly<{
|
|
21
|
+
onOnClick?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
text: string | null;
|
|
24
|
+
title: string | null;
|
|
25
|
+
size: string;
|
|
26
|
+
color: string;
|
|
27
|
+
id: string | null;
|
|
28
|
+
variant: import('../../../types/button').ButtonVariant | string | undefined;
|
|
29
|
+
iconVariant: "shape-sm" | "shape-md" | "compact-sm" | "compact";
|
|
30
|
+
icon: boolean;
|
|
31
|
+
iconTrailing: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
tooltipText: string;
|
|
35
|
+
customClass: import('../../../types/button').ButtonClassName | null;
|
|
36
|
+
rounded: boolean;
|
|
37
|
+
isMobile: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=ButtonMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonMenu.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAIlD,iBAAiB;AACjB,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAgDD,iBAAS,cAAc;WAyHT,OAAO,IAA6B;;sBAZvB,GAAG;yBACA,GAAG;sBACN,GAAG;;;;EAe7B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;iBA7LL,MAAM;;;cADT,OAAO;wFAuMlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=ButtonMenuDivider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonMenuDivider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonMenuDivider.vue"],"names":[],"mappings":";AA2CA,wBAMG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IBadgeProps } from '../../../types/badge';
|
|
2
|
+
/** Interfaces */
|
|
3
|
+
interface IButtonMenuItemProps {
|
|
4
|
+
itemText?: string;
|
|
5
|
+
icon?: string | null;
|
|
6
|
+
iconStyle?: string | Record<string, any> | null;
|
|
7
|
+
iconClass?: string | string[] | null;
|
|
8
|
+
isDestructive?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
customClass?: string | string[] | null;
|
|
11
|
+
badge?: Partial<IBadgeProps> | null;
|
|
12
|
+
shortcut?: string | null;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import('vue').DefineComponent<IButtonMenuItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IButtonMenuItemProps> & Readonly<{}>, {
|
|
15
|
+
icon: string | null;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
customClass: string | string[] | null;
|
|
18
|
+
iconClass: string | string[] | null;
|
|
19
|
+
iconStyle: string | Record<string, any> | null;
|
|
20
|
+
badge: Partial<IBadgeProps> | null;
|
|
21
|
+
itemText: string;
|
|
22
|
+
isDestructive: boolean;
|
|
23
|
+
shortcut: string | null;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=ButtonMenuItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonMenuItem.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,iBAAiB;AACjB,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;IACpC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;IACtC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;;UARQ,MAAM,GAAG,IAAI;cAIT,OAAO;iBACJ,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI;eAH1B,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI;eADxB,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;WAKvC,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI;cAPxB,MAAM;mBAID,OAAO;cAIZ,MAAM,GAAG,IAAI;;AA+I1B,wBAQG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Interfaces */
|
|
2
|
+
interface IButtonMenuTextProps {
|
|
3
|
+
itemText?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<IButtonMenuTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IButtonMenuTextProps> & Readonly<{}>, {
|
|
6
|
+
itemText: string;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=ButtonMenuText.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonMenuText.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonMenuText.vue"],"names":[],"mappings":"AAmBA,iBAAiB;AACjB,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;;cADY,MAAM;;AAqDnB,wBAQG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IBadgeProps } from '../../../types/badge';
|
|
2
|
+
/** Interfaces */
|
|
3
|
+
interface IButtonToggleOption {
|
|
4
|
+
id: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconClass?: string;
|
|
7
|
+
title: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
badge?: {
|
|
10
|
+
variant?: IBadgeProps['variant'];
|
|
11
|
+
text?: string;
|
|
12
|
+
};
|
|
13
|
+
active?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface IButtonToggleGroupProps {
|
|
17
|
+
options: IButtonToggleOption[];
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
groupLabel?: string;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import('vue').DefineComponent<IButtonToggleGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
onOptionClick: (event: MouseEvent, item: IButtonToggleOption) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<IButtonToggleGroupProps> & Readonly<{
|
|
24
|
+
onOnOptionClick?: ((event: MouseEvent, item: IButtonToggleOption) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
ariaLabel: string;
|
|
27
|
+
groupLabel: string;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=ButtonToggleGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonToggleGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonToggleGroup.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAIhD,iBAAiB;AACjB,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;QAChC,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,CAAA;IACD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AACD,UAAU,uBAAuB;IAC/B,OAAO,EAAE,mBAAmB,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;;;;;;eAFa,MAAM;gBACL,MAAM;;AAiLrB,wBASG"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IButtonProps } from '../../../types/button';
|
|
2
|
+
/** Interfaces */
|
|
3
|
+
interface IButtonTooltipProps extends IButtonProps {
|
|
4
|
+
tooltipText?: string;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
icon?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<IButtonTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
onClick: () => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<IButtonTooltipProps> & Readonly<{
|
|
18
|
+
onOnClick?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
text: string | null;
|
|
21
|
+
title: string | null;
|
|
22
|
+
size: string;
|
|
23
|
+
color: string;
|
|
24
|
+
id: string | null;
|
|
25
|
+
variant: import('../../../types/button').ButtonVariant | string | undefined;
|
|
26
|
+
iconVariant: "shape-sm" | "shape-md" | "compact-sm" | "compact";
|
|
27
|
+
icon: boolean;
|
|
28
|
+
iconTrailing: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
tooltipText: string;
|
|
32
|
+
customClass: import('../../../types/button').ButtonClassName | null;
|
|
33
|
+
rounded: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=ButtonTooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/ButtonTooltip.vue"],"names":[],"mappings":"AA0EA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAIlD,iBAAiB;AACjB,UAAU,mBAAoB,SAAQ,YAAY;IAChD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AA8CD,iBAAS,cAAc;WA2FT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;iBA5JL,MAAM;;;wFAqKpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../..').ICardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
6
|
+
title: string | null;
|
|
7
|
+
size: import('../../..').CardSize;
|
|
8
|
+
id: string | null;
|
|
9
|
+
variant: string;
|
|
10
|
+
customClass: import('../../..').CardClassName | null;
|
|
11
|
+
selectable: boolean;
|
|
12
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
13
|
+
P: {};
|
|
14
|
+
B: {};
|
|
15
|
+
D: {};
|
|
16
|
+
C: {};
|
|
17
|
+
M: {};
|
|
18
|
+
Defaults: {};
|
|
19
|
+
}, Readonly<import('../../..').ICardProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
20
|
+
title: string | null;
|
|
21
|
+
size: import('../../..').CardSize;
|
|
22
|
+
id: string | null;
|
|
23
|
+
variant: string;
|
|
24
|
+
customClass: import('../../..').CardClassName | null;
|
|
25
|
+
selectable: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
__isFragment?: never;
|
|
28
|
+
__isTeleport?: never;
|
|
29
|
+
__isSuspense?: never;
|
|
30
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../..').ICardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
31
|
+
title: string | null;
|
|
32
|
+
size: import('../../..').CardSize;
|
|
33
|
+
id: string | null;
|
|
34
|
+
variant: string;
|
|
35
|
+
customClass: import('../../..').CardClassName | null;
|
|
36
|
+
selectable: boolean;
|
|
37
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
38
|
+
$slots: {
|
|
39
|
+
header?(_: {}): any;
|
|
40
|
+
body?(_: {}): any;
|
|
41
|
+
footer?(_: {}): any;
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
tags: string[];
|
|
45
|
+
argTypes: {
|
|
46
|
+
variant: {
|
|
47
|
+
control: "select";
|
|
48
|
+
options: string[];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default meta;
|
|
53
|
+
type Story = StoryObj<typeof meta>;
|
|
54
|
+
export declare const Default: Story;
|
|
55
|
+
export declare const Pane: Story;
|
|
56
|
+
export declare const WithActions: Story;
|
|
57
|
+
//# sourceMappingURL=Card.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/Card.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAGrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUqB,CAAA;AAE/B,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAerB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAelB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAmBzB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ICardProps } from '../../../types/card';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
body?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<ICardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ICardProps> & Readonly<{}>, {
|
|
14
|
+
title: string | null;
|
|
15
|
+
size: import('../../../types/card').CardSize;
|
|
16
|
+
id: string | null;
|
|
17
|
+
variant: string;
|
|
18
|
+
customClass: import('../../../types/card').CardClassName | null;
|
|
19
|
+
selectable: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=Card.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/Card.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAiD9C,iBAAS,cAAc;WA+CT,OAAO,IAA6B;;wBAZtB,GAAG;sBACL,GAAG;wBACD,GAAG;;;;EAe9B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as UiDatatable } from './Datatable.vue';
|
|
3
|
+
declare const meta: Meta<typeof UiDatatable>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Sortable: Story;
|
|
8
|
+
export declare const Bordered: Story;
|
|
9
|
+
export declare const Striped: Story;
|
|
10
|
+
export declare const WithColumnManager: Story;
|
|
11
|
+
export declare const Loading: Story;
|
|
12
|
+
export declare const EmptyState: Story;
|
|
13
|
+
//# sourceMappingURL=Datatable.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Datatable.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/datatable/Datatable.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,WAAW,MAAM,iBAAiB,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAalC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAYlC,eAAO,MAAM,OAAO,EAAE,KA2BrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA4BtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA0BtB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAsBrB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KA2B/B,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAoBxB,CAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/** Interfaces */
|
|
2
|
+
interface IDatatableProps {
|
|
3
|
+
tableClass?: 'table-bordered' | 'table-striped' | 'table-borderless' | string;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
skeletonRows?: number;
|
|
6
|
+
skeletonCols?: number;
|
|
7
|
+
skeletonColExpanded?: number;
|
|
8
|
+
isExpanded?: boolean;
|
|
9
|
+
headers: string[];
|
|
10
|
+
items: any[];
|
|
11
|
+
defaultSortKey?: string;
|
|
12
|
+
defaultSortOrder?: 'asc' | 'desc';
|
|
13
|
+
unsortableColumns?: string[];
|
|
14
|
+
sortable?: boolean;
|
|
15
|
+
hiddenColumns?: string[];
|
|
16
|
+
columnManager?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
slots: Partial<Record<`cell-${string}`, (_: {
|
|
21
|
+
item: any;
|
|
22
|
+
}) => any>>;
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<IDatatableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IDatatableProps> & Readonly<{}>, {
|
|
28
|
+
skeletonRows: number;
|
|
29
|
+
skeletonCols: number;
|
|
30
|
+
skeletonColExpanded: number;
|
|
31
|
+
isExpanded: boolean;
|
|
32
|
+
tableClass: "table-bordered" | "table-striped" | "table-borderless" | string;
|
|
33
|
+
isLoading: boolean;
|
|
34
|
+
defaultSortKey: string;
|
|
35
|
+
defaultSortOrder: "asc" | "desc";
|
|
36
|
+
unsortableColumns: string[];
|
|
37
|
+
sortable: boolean;
|
|
38
|
+
hiddenColumns: string[];
|
|
39
|
+
columnManager: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=Datatable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Datatable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/datatable/Datatable.vue"],"names":[],"mappings":"AA0OA,iBAAiB;AACjB,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,gBAAgB,GAAG,eAAe,GAAG,kBAAkB,GAAG,MAAM,CAAA;IAC7E,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,KAAK,EAAE,GAAG,EAAE,CAAA;IACZ,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACjC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAsGD,iBAAS,cAAc;WAyPT,OAAO,IAA6B;;;UAXqC,GAAG;;;EAgBzF;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;kBA5YJ,MAAM;kBACN,MAAM;yBACC,MAAM;gBACf,OAAO;gBALP,gBAAgB,GAAG,eAAe,GAAG,kBAAkB,GAAG,MAAM;eACjE,OAAO;oBAOF,MAAM;sBACJ,KAAK,GAAG,MAAM;uBACb,MAAM,EAAE;cACjB,OAAO;mBACF,MAAM,EAAE;mBACR,OAAO;wFAyYvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IDialogProps } from '../../../types/dialog';
|
|
2
|
+
/** Interfaces */
|
|
3
|
+
interface IConfirmModalProps extends IDialogProps {
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
loadingLabel?: string;
|
|
6
|
+
}
|
|
7
|
+
/** Methods */
|
|
8
|
+
declare function showDialog(): void;
|
|
9
|
+
declare function closeDialog(): void;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
messages?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
dialogRef: HTMLDialogElement;
|
|
17
|
+
};
|
|
18
|
+
rootEl: HTMLDialogElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<IConfirmModalProps, {
|
|
22
|
+
showDialog: typeof showDialog;
|
|
23
|
+
closeDialog: typeof closeDialog;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
confirm: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<IConfirmModalProps> & Readonly<{
|
|
27
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
title: string | null;
|
|
30
|
+
size: import('../../../types/dialog').DialogSize | null;
|
|
31
|
+
variant: import('../../../types/dialog').DialogVariant | null;
|
|
32
|
+
customClass: import('../../../types/dialog').DialogClassName | null;
|
|
33
|
+
mode: import('../../../types/dialog').DialogMode;
|
|
34
|
+
message: string | null;
|
|
35
|
+
isLoading: boolean;
|
|
36
|
+
loadingLabel: string;
|
|
37
|
+
showAsModal: boolean | null;
|
|
38
|
+
confirmLabel: string | null;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
40
|
+
dialogRef: HTMLDialogElement;
|
|
41
|
+
}, HTMLDialogElement>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=ConfirmModal.vue.d.ts.map
|