@contentstudio/ui 0.2.25 → 0.2.26
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/index.d.ts +7520 -47
- package/package.json +1 -1
- package/dist/App.vue.d.ts +0 -2
- package/dist/components/Accordion/Accordion.vue.d.ts +0 -58
- package/dist/components/Accordion/AccordionItem.vue.d.ts +0 -63
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/Accordion/types.d.ts +0 -15
- package/dist/components/ActionIcon/ActionIcon.vue.d.ts +0 -105
- package/dist/components/ActionIcon/index.d.ts +0 -2
- package/dist/components/ActionIcon/types.d.ts +0 -53
- package/dist/components/Alert/Alert.vue.d.ts +0 -94
- package/dist/components/Alert/index.d.ts +0 -4
- package/dist/components/Alert/types.d.ts +0 -30
- package/dist/components/Avatar/Avatar.vue.d.ts +0 -106
- package/dist/components/Avatar/AvatarGroup.vue.d.ts +0 -76
- package/dist/components/Avatar/index.d.ts +0 -5
- package/dist/components/Avatar/types.d.ts +0 -58
- package/dist/components/Avatar/utils.d.ts +0 -9
- package/dist/components/Badge/Badge.vue.d.ts +0 -109
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/types.d.ts +0 -35
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -80
- package/dist/components/Breadcrumbs/index.d.ts +0 -3
- package/dist/components/Breadcrumbs/types.d.ts +0 -23
- package/dist/components/Button/Button.vue.d.ts +0 -85
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/types.d.ts +0 -40
- package/dist/components/Card/Card.vue.d.ts +0 -202
- package/dist/components/Card/CardSection.vue.d.ts +0 -57
- package/dist/components/Card/index.d.ts +0 -4
- package/dist/components/Card/types.d.ts +0 -31
- package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -94
- package/dist/components/Checkbox/index.d.ts +0 -4
- package/dist/components/Checkbox/types.d.ts +0 -20
- package/dist/components/Chip/Chip.vue.d.ts +0 -108
- package/dist/components/Chip/index.d.ts +0 -4
- package/dist/components/Chip/types.d.ts +0 -48
- package/dist/components/ClientExtensionDemo/index.d.ts +0 -1
- package/dist/components/ClientExtensionDemo.vue.d.ts +0 -2
- package/dist/components/Collapsible/Collapsible.vue.d.ts +0 -77
- package/dist/components/Collapsible/index.d.ts +0 -4
- package/dist/components/Collapsible/types.d.ts +0 -9
- package/dist/components/Dialog/Dialog.vue.d.ts +0 -151
- package/dist/components/Dialog/index.d.ts +0 -4
- package/dist/components/Dialog/types.d.ts +0 -28
- package/dist/components/Drawer/Drawer.vue.d.ts +0 -134
- package/dist/components/Drawer/index.d.ts +0 -4
- package/dist/components/Drawer/types.d.ts +0 -61
- package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -131
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -64
- package/dist/components/Dropdown/index.d.ts +0 -7
- package/dist/components/Dropdown/types.d.ts +0 -41
- package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +0 -109
- package/dist/components/DropdownMenu/index.d.ts +0 -3
- package/dist/components/HoverCard/HoverCard.vue.d.ts +0 -104
- package/dist/components/HoverCard/HoverCardTarget.vue.d.ts +0 -49
- package/dist/components/HoverCard/index.d.ts +0 -384
- package/dist/components/HoverCard/types.d.ts +0 -40
- package/dist/components/HoverCard/useHoverCard.d.ts +0 -20
- package/dist/components/Icon/Icon.vue.d.ts +0 -15
- package/dist/components/Icon/index.d.ts +0 -4
- package/dist/components/Icon/types.d.ts +0 -12
- package/dist/components/Indicator/Indicator.vue.d.ts +0 -129
- package/dist/components/Indicator/index.d.ts +0 -2
- package/dist/components/Indicator/types.d.ts +0 -29
- package/dist/components/ListItem/ListItem.vue.d.ts +0 -64
- package/dist/components/ListItem/index.d.ts +0 -6
- package/dist/components/ListItem/types.d.ts +0 -7
- package/dist/components/Loader/Loader.vue.d.ts +0 -65
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/types.d.ts +0 -16
- package/dist/components/Loader/variants/BarsLoader.vue.d.ts +0 -35
- package/dist/components/Loader/variants/DotsLoader.vue.d.ts +0 -35
- package/dist/components/Loader/variants/OvalLoader.vue.d.ts +0 -39
- package/dist/components/Modal/MessageBoxConfirm.vue.d.ts +0 -275
- package/dist/components/Modal/MessageBoxOk.vue.d.ts +0 -207
- package/dist/components/Modal/Modal.vue.d.ts +0 -494
- package/dist/components/Modal/directive.d.ts +0 -14
- package/dist/components/Modal/index.d.ts +0 -7
- package/dist/components/Modal/plugin.d.ts +0 -59
- package/dist/components/Modal/types.d.ts +0 -79
- package/dist/components/Pagination/Pagination.vue.d.ts +0 -84
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Pagination/types.d.ts +0 -32
- package/dist/components/Pill/Pill.vue.d.ts +0 -84
- package/dist/components/Pill/index.d.ts +0 -2
- package/dist/components/Pill/types.d.ts +0 -21
- package/dist/components/Popover/Popover.vue.d.ts +0 -197
- package/dist/components/Popover/index.d.ts +0 -4
- package/dist/components/Popover/types.d.ts +0 -67
- package/dist/components/Progress/Progress.vue.d.ts +0 -138
- package/dist/components/Progress/index.d.ts +0 -4
- package/dist/components/Progress/types.d.ts +0 -44
- package/dist/components/Radio/Radio.vue.d.ts +0 -99
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/types.d.ts +0 -53
- package/dist/components/RangeSlider/RangeSlider.vue.d.ts +0 -175
- package/dist/components/RangeSlider/index.d.ts +0 -2
- package/dist/components/RangeSlider/types.d.ts +0 -115
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/SearchInput/types.d.ts +0 -52
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +0 -97
- package/dist/components/SegmentedControl/index.d.ts +0 -4
- package/dist/components/SegmentedControl/types.d.ts +0 -55
- package/dist/components/Select/Select.vue.d.ts +0 -123
- package/dist/components/Select/index.d.ts +0 -2
- package/dist/components/Select/types.d.ts +0 -22
- package/dist/components/Slider/Slider.vue.d.ts +0 -164
- package/dist/components/Slider/index.d.ts +0 -3
- package/dist/components/Slider/types.d.ts +0 -145
- package/dist/components/SplitButton/SplitButton.vue.d.ts +0 -105
- package/dist/components/SplitButton/index.d.ts +0 -2
- package/dist/components/SplitButton/types.d.ts +0 -22
- package/dist/components/Stepper/Stepper.vue.d.ts +0 -65
- package/dist/components/Stepper/StepperItem.vue.d.ts +0 -79
- package/dist/components/Stepper/index.d.ts +0 -3
- package/dist/components/Stepper/types.d.ts +0 -14
- package/dist/components/Switch/Switch.vue.d.ts +0 -117
- package/dist/components/Switch/index.d.ts +0 -4
- package/dist/components/Switch/types.d.ts +0 -55
- package/dist/components/Table/Table.vue.d.ts +0 -78
- package/dist/components/Table/index.d.ts +0 -2
- package/dist/components/Table/types.d.ts +0 -25
- package/dist/components/Tabs/Tabs.vue.d.ts +0 -78
- package/dist/components/Tabs/TabsList.vue.d.ts +0 -52
- package/dist/components/Tabs/TabsPanel.vue.d.ts +0 -38
- package/dist/components/Tabs/TabsTab.vue.d.ts +0 -108
- package/dist/components/Tabs/index.d.ts +0 -5
- package/dist/components/Tabs/types.d.ts +0 -69
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/types.d.ts +0 -47
- package/dist/components/Textarea/index.d.ts +0 -2
- package/dist/components/Textarea/types.d.ts +0 -54
- package/dist/components/ThemeProvider/ThemeProvider.vue.d.ts +0 -88
- package/dist/components/ThemeProvider/index.d.ts +0 -1
- package/dist/components/ThemeToggle/ThemeToggle.vue.d.ts +0 -46
- package/dist/components/ThemeToggle/index.d.ts +0 -1
- package/dist/components/Toast/CustomToast.vue.d.ts +0 -50
- package/dist/components/Toast/Toast.vue.d.ts +0 -154
- package/dist/components/Toast/index.d.ts +0 -7
- package/dist/components/Toast/plugin.d.ts +0 -70
- package/dist/components/Toast/types.d.ts +0 -93
- package/dist/components/index.d.ts +0 -35
- package/dist/composables/index.d.ts +0 -1
- package/dist/composables/useDropdown.d.ts +0 -23
- package/dist/composables/useTheme.d.ts +0 -189
- package/dist/composables/useThemeContext.d.ts +0 -193
- package/dist/composables/useThemeMode.d.ts +0 -21
- package/dist/directives/click-away/index.d.ts +0 -2
- package/dist/main.d.ts +0 -0
- package/dist/theme/darkMode.d.ts +0 -17
- package/dist/theme/extensions.d.ts +0 -50
- package/dist/theme/generator.d.ts +0 -31
- package/dist/theme/tailwind.d.ts +0 -10
- package/dist/theme/types.d.ts +0 -47
- package/dist/types/common.d.ts +0 -14
- package/dist/types/index.d.ts +0 -70
- package/dist/utils/colors.d.ts +0 -89
- package/dist/utils/forms.d.ts +0 -35
- package/dist/utils/position.d.ts +0 -11
- package/dist/utils/radius.d.ts +0 -2
- package/dist/utils/shadows.d.ts +0 -9
- package/dist/utils/sizes.d.ts +0 -7
- package/dist/utils/states.d.ts +0 -28
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
slots: {
|
|
3
|
-
default?(_: {}): any;
|
|
4
|
-
};
|
|
5
|
-
refs: {};
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
-
/** Toast message content */
|
|
11
|
-
message?: string;
|
|
12
|
-
/** Toast type: default, info, success, warning, error */
|
|
13
|
-
type?: "default" | "info" | "success" | "warning" | "error";
|
|
14
|
-
/** Delay in ms to close the toast. If set to false, the notification needs to be closed manually */
|
|
15
|
-
autoClose?: number | boolean;
|
|
16
|
-
/** Position of the toast: top-right, top-center, top-left, bottom-right, bottom-center, bottom-left */
|
|
17
|
-
position?: string;
|
|
18
|
-
/** Display or not the progress bar below the toast (remaining time) */
|
|
19
|
-
hideProgressBar?: boolean;
|
|
20
|
-
/** Keep the timer running or not on hover */
|
|
21
|
-
pauseOnHover?: boolean;
|
|
22
|
-
/** Pause the timer when the window loses focus */
|
|
23
|
-
pauseOnFocusLoss?: boolean;
|
|
24
|
-
/** Dismiss toast on click */
|
|
25
|
-
closeOnClick?: boolean;
|
|
26
|
-
/** Add optional classes to the toast */
|
|
27
|
-
toastClassName?: string;
|
|
28
|
-
/** Add optional classes to the toast body */
|
|
29
|
-
bodyClassName?: string;
|
|
30
|
-
/** Add optional inline style to the container */
|
|
31
|
-
style?: Record<string, string>;
|
|
32
|
-
/** Add optional classes to the progress bar */
|
|
33
|
-
progressClassName?: string;
|
|
34
|
-
/** Add optional inline style to the progress bar */
|
|
35
|
-
progressStyle?: Record<string, string>;
|
|
36
|
-
/** Define the ARIA role for the toasts */
|
|
37
|
-
role?: string;
|
|
38
|
-
/** Theme: auto, light, dark, colored */
|
|
39
|
-
theme?: "auto" | "light" | "dark" | "colored";
|
|
40
|
-
/** Replace the default close button or false to hide the button */
|
|
41
|
-
closeButton?: boolean;
|
|
42
|
-
/** Render unsafe string, like html tag */
|
|
43
|
-
dangerouslyHTMLString?: boolean;
|
|
44
|
-
/** Support right to left content */
|
|
45
|
-
rtl?: boolean;
|
|
46
|
-
/** Used to identify the Container when working with multiple container */
|
|
47
|
-
containerId?: string | number;
|
|
48
|
-
/** Show the toast automatically when component is mounted */
|
|
49
|
-
showOnMount?: boolean;
|
|
50
|
-
}>, {
|
|
51
|
-
type: string;
|
|
52
|
-
autoClose: number;
|
|
53
|
-
position: string;
|
|
54
|
-
hideProgressBar: boolean;
|
|
55
|
-
pauseOnHover: boolean;
|
|
56
|
-
pauseOnFocusLoss: boolean;
|
|
57
|
-
closeOnClick: boolean;
|
|
58
|
-
theme: string;
|
|
59
|
-
closeButton: boolean;
|
|
60
|
-
dangerouslyHTMLString: boolean;
|
|
61
|
-
rtl: boolean;
|
|
62
|
-
showOnMount: boolean;
|
|
63
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
64
|
-
/** Toast message content */
|
|
65
|
-
message?: string;
|
|
66
|
-
/** Toast type: default, info, success, warning, error */
|
|
67
|
-
type?: "default" | "info" | "success" | "warning" | "error";
|
|
68
|
-
/** Delay in ms to close the toast. If set to false, the notification needs to be closed manually */
|
|
69
|
-
autoClose?: number | boolean;
|
|
70
|
-
/** Position of the toast: top-right, top-center, top-left, bottom-right, bottom-center, bottom-left */
|
|
71
|
-
position?: string;
|
|
72
|
-
/** Display or not the progress bar below the toast (remaining time) */
|
|
73
|
-
hideProgressBar?: boolean;
|
|
74
|
-
/** Keep the timer running or not on hover */
|
|
75
|
-
pauseOnHover?: boolean;
|
|
76
|
-
/** Pause the timer when the window loses focus */
|
|
77
|
-
pauseOnFocusLoss?: boolean;
|
|
78
|
-
/** Dismiss toast on click */
|
|
79
|
-
closeOnClick?: boolean;
|
|
80
|
-
/** Add optional classes to the toast */
|
|
81
|
-
toastClassName?: string;
|
|
82
|
-
/** Add optional classes to the toast body */
|
|
83
|
-
bodyClassName?: string;
|
|
84
|
-
/** Add optional inline style to the container */
|
|
85
|
-
style?: Record<string, string>;
|
|
86
|
-
/** Add optional classes to the progress bar */
|
|
87
|
-
progressClassName?: string;
|
|
88
|
-
/** Add optional inline style to the progress bar */
|
|
89
|
-
progressStyle?: Record<string, string>;
|
|
90
|
-
/** Define the ARIA role for the toasts */
|
|
91
|
-
role?: string;
|
|
92
|
-
/** Theme: auto, light, dark, colored */
|
|
93
|
-
theme?: "auto" | "light" | "dark" | "colored";
|
|
94
|
-
/** Replace the default close button or false to hide the button */
|
|
95
|
-
closeButton?: boolean;
|
|
96
|
-
/** Render unsafe string, like html tag */
|
|
97
|
-
dangerouslyHTMLString?: boolean;
|
|
98
|
-
/** Support right to left content */
|
|
99
|
-
rtl?: boolean;
|
|
100
|
-
/** Used to identify the Container when working with multiple container */
|
|
101
|
-
containerId?: string | number;
|
|
102
|
-
/** Show the toast automatically when component is mounted */
|
|
103
|
-
showOnMount?: boolean;
|
|
104
|
-
}>, {
|
|
105
|
-
type: string;
|
|
106
|
-
autoClose: number;
|
|
107
|
-
position: string;
|
|
108
|
-
hideProgressBar: boolean;
|
|
109
|
-
pauseOnHover: boolean;
|
|
110
|
-
pauseOnFocusLoss: boolean;
|
|
111
|
-
closeOnClick: boolean;
|
|
112
|
-
theme: string;
|
|
113
|
-
closeButton: boolean;
|
|
114
|
-
dangerouslyHTMLString: boolean;
|
|
115
|
-
rtl: boolean;
|
|
116
|
-
showOnMount: boolean;
|
|
117
|
-
}>>>, {
|
|
118
|
-
type: "default" | "info" | "success" | "warning" | "error";
|
|
119
|
-
position: string;
|
|
120
|
-
rtl: boolean;
|
|
121
|
-
closeOnClick: boolean;
|
|
122
|
-
dangerouslyHTMLString: boolean;
|
|
123
|
-
autoClose: number | boolean;
|
|
124
|
-
closeButton: boolean;
|
|
125
|
-
hideProgressBar: boolean;
|
|
126
|
-
pauseOnHover: boolean;
|
|
127
|
-
pauseOnFocusLoss: boolean;
|
|
128
|
-
theme: "auto" | "light" | "dark" | "colored";
|
|
129
|
-
showOnMount: boolean;
|
|
130
|
-
}>;
|
|
131
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
132
|
-
export default _default;
|
|
133
|
-
type __VLS_WithDefaults<P, D> = {
|
|
134
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
135
|
-
default: D[K];
|
|
136
|
-
}> : P[K];
|
|
137
|
-
};
|
|
138
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
139
|
-
type __VLS_TypePropsToOption<T> = {
|
|
140
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
141
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
142
|
-
} : {
|
|
143
|
-
type: import('vue').PropType<T[K]>;
|
|
144
|
-
required: true;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
148
|
-
new (): {
|
|
149
|
-
$slots: S;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
type __VLS_PrettifyLocal<T> = {
|
|
153
|
-
[K in keyof T]: T[K];
|
|
154
|
-
} & {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ToastPlugin, cstuToast, toast, POSITION, TYPE, TRANSITIONS, ToastContent, Id } from './plugin';
|
|
2
|
-
import { ToastProps, ToastContainerProps, CustomToastType, ToastVariant } from './types';
|
|
3
|
-
import { default as Toast } from './Toast.vue';
|
|
4
|
-
import { default as CustomToast } from './CustomToast.vue';
|
|
5
|
-
export { Toast, CustomToast, ToastPlugin, cstuToast, toast, POSITION, TYPE, TRANSITIONS };
|
|
6
|
-
export type { ToastProps, ToastContainerProps, CustomToastType, ToastVariant, ToastContent, Id };
|
|
7
|
-
export default ToastPlugin;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
|
-
import { toast, ToastOptions, ToastContent, Id, ToastContainerOptions, UpdateOptions } from 'vue3-toastify';
|
|
3
|
-
declare const cstuToast: {
|
|
4
|
-
show(content: string, options?: Partial<ToastOptions>): Id;
|
|
5
|
-
success(content: string, options?: Partial<ToastOptions>): Id;
|
|
6
|
-
info(content: string, options?: Partial<ToastOptions>): Id;
|
|
7
|
-
warning(content: string, options?: Partial<ToastOptions>): Id;
|
|
8
|
-
error(content: string, options?: Partial<ToastOptions>): Id;
|
|
9
|
-
loading(content: string, options?: Partial<ToastOptions>): Id;
|
|
10
|
-
dark(content: string, options?: Partial<ToastOptions>): Id;
|
|
11
|
-
showByType(content: string, type: string, options?: Partial<ToastOptions>): Id;
|
|
12
|
-
promise<T>(promise: Promise<T>, messages: {
|
|
13
|
-
pending?: string;
|
|
14
|
-
success?: string;
|
|
15
|
-
error?: string;
|
|
16
|
-
}, options?: Partial<ToastOptions>): Promise<T>;
|
|
17
|
-
update(toastId: Id, options: UpdateOptions): void;
|
|
18
|
-
remove(id?: Id): void;
|
|
19
|
-
clear(): void;
|
|
20
|
-
isActive(toastId: Id): boolean;
|
|
21
|
-
done(toastId: Id): void;
|
|
22
|
-
POSITION: {
|
|
23
|
-
TOP_LEFT: import('vue3-toastify').ToastPosition;
|
|
24
|
-
TOP_RIGHT: import('vue3-toastify').ToastPosition;
|
|
25
|
-
TOP_CENTER: import('vue3-toastify').ToastPosition;
|
|
26
|
-
BOTTOM_LEFT: import('vue3-toastify').ToastPosition;
|
|
27
|
-
BOTTOM_RIGHT: import('vue3-toastify').ToastPosition;
|
|
28
|
-
BOTTOM_CENTER: import('vue3-toastify').ToastPosition;
|
|
29
|
-
};
|
|
30
|
-
TYPE: {
|
|
31
|
-
INFO: import('vue3-toastify').ToastType;
|
|
32
|
-
SUCCESS: import('vue3-toastify').ToastType;
|
|
33
|
-
WARNING: import('vue3-toastify').ToastType;
|
|
34
|
-
ERROR: import('vue3-toastify').ToastType;
|
|
35
|
-
DEFAULT: import('vue3-toastify').ToastType;
|
|
36
|
-
};
|
|
37
|
-
TRANSITIONS: {
|
|
38
|
-
FLIP: import('vue3-toastify').ToastTransition;
|
|
39
|
-
SLIDE: import('vue3-toastify').ToastTransition;
|
|
40
|
-
ZOOM: import('vue3-toastify').ToastTransition;
|
|
41
|
-
BOUNCE: import('vue3-toastify').ToastTransition;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
declare const ToastPlugin: {
|
|
45
|
-
install: (app: App, options?: ToastContainerOptions) => void;
|
|
46
|
-
};
|
|
47
|
-
export { ToastPlugin, cstuToast, toast, };
|
|
48
|
-
export declare const POSITION: {
|
|
49
|
-
TOP_LEFT: import('vue3-toastify').ToastPosition;
|
|
50
|
-
TOP_RIGHT: import('vue3-toastify').ToastPosition;
|
|
51
|
-
TOP_CENTER: import('vue3-toastify').ToastPosition;
|
|
52
|
-
BOTTOM_LEFT: import('vue3-toastify').ToastPosition;
|
|
53
|
-
BOTTOM_RIGHT: import('vue3-toastify').ToastPosition;
|
|
54
|
-
BOTTOM_CENTER: import('vue3-toastify').ToastPosition;
|
|
55
|
-
};
|
|
56
|
-
export declare const TYPE: {
|
|
57
|
-
INFO: import('vue3-toastify').ToastType;
|
|
58
|
-
SUCCESS: import('vue3-toastify').ToastType;
|
|
59
|
-
WARNING: import('vue3-toastify').ToastType;
|
|
60
|
-
ERROR: import('vue3-toastify').ToastType;
|
|
61
|
-
DEFAULT: import('vue3-toastify').ToastType;
|
|
62
|
-
};
|
|
63
|
-
export declare const TRANSITIONS: {
|
|
64
|
-
FLIP: import('vue3-toastify').ToastTransition;
|
|
65
|
-
SLIDE: import('vue3-toastify').ToastTransition;
|
|
66
|
-
ZOOM: import('vue3-toastify').ToastTransition;
|
|
67
|
-
BOUNCE: import('vue3-toastify').ToastTransition;
|
|
68
|
-
};
|
|
69
|
-
export type { ToastContent, Id };
|
|
70
|
-
export default ToastPlugin;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { ToastContainerOptions, ToastOptions, ToastPosition, ToastTransition, ToastTheme } from 'vue3-toastify';
|
|
2
|
-
export type CustomToastType = 'info' | 'warning' | 'success' | 'error' | 'loading' | 'dark' | 'default';
|
|
3
|
-
export type ToastVariant = 'solid' | 'outlined' | 'gradient';
|
|
4
|
-
export interface ToastProps extends Partial<ToastOptions> {
|
|
5
|
-
/** Toast message content */
|
|
6
|
-
message?: string;
|
|
7
|
-
/** Toast type: default, info, success, warning, error */
|
|
8
|
-
type?: ToastOptions['type'];
|
|
9
|
-
/** Delay in ms to close the toast. If set to false, the notification needs to be closed manually */
|
|
10
|
-
autoClose?: number | boolean;
|
|
11
|
-
/** Position of the toast: top-right, top-center, top-left, bottom-right, bottom-center, bottom-left */
|
|
12
|
-
position?: ToastPosition;
|
|
13
|
-
/** Display or not the progress bar below the toast (remaining time) */
|
|
14
|
-
hideProgressBar?: boolean;
|
|
15
|
-
/** Keep the timer running or not on hover */
|
|
16
|
-
pauseOnHover?: boolean;
|
|
17
|
-
/** Pause the timer when the window loses focus */
|
|
18
|
-
pauseOnFocusLoss?: boolean;
|
|
19
|
-
/** Dismiss toast on click */
|
|
20
|
-
closeOnClick?: boolean;
|
|
21
|
-
/** Add optional classes to the toast */
|
|
22
|
-
toastClassName?: string;
|
|
23
|
-
/** Add optional classes to the toast body */
|
|
24
|
-
bodyClassName?: string;
|
|
25
|
-
/** Add optional inline style to the container */
|
|
26
|
-
style?: Record<string, string>;
|
|
27
|
-
/** Add optional classes to the progress bar */
|
|
28
|
-
progressClassName?: string;
|
|
29
|
-
/** Add optional inline style to the progress bar */
|
|
30
|
-
progressStyle?: Record<string, string>;
|
|
31
|
-
/** Define the ARIA role for the toasts */
|
|
32
|
-
role?: string;
|
|
33
|
-
/** Theme: auto, light, dark, colored */
|
|
34
|
-
theme?: ToastTheme;
|
|
35
|
-
/** Transition animation */
|
|
36
|
-
transition?: ToastTransition;
|
|
37
|
-
/** Replace the default close button or false to hide the button */
|
|
38
|
-
closeButton?: boolean;
|
|
39
|
-
/** Render unsafe string, like html tag */
|
|
40
|
-
dangerouslyHTMLString?: boolean;
|
|
41
|
-
/** Support right to left content */
|
|
42
|
-
rtl?: boolean;
|
|
43
|
-
/** Used to identify the Container when working with multiple container */
|
|
44
|
-
containerId?: string | number;
|
|
45
|
-
}
|
|
46
|
-
export interface ToastContainerProps extends Partial<ToastContainerOptions> {
|
|
47
|
-
/** Display multiple toasts at the same time */
|
|
48
|
-
multiple?: boolean;
|
|
49
|
-
/** Limit the number of toast displayed at the same time */
|
|
50
|
-
limit?: number;
|
|
51
|
-
/** Display newest toast on top */
|
|
52
|
-
newestOnTop?: boolean;
|
|
53
|
-
/** Add optional classes to the container */
|
|
54
|
-
containerClassName?: string;
|
|
55
|
-
/** Render unsafe string, like html tag */
|
|
56
|
-
dangerouslyHTMLString?: boolean;
|
|
57
|
-
/** Clear all toasts on url change */
|
|
58
|
-
clearOnUrlChange?: boolean;
|
|
59
|
-
/** Support right to left content */
|
|
60
|
-
rtl?: boolean;
|
|
61
|
-
/** Used to identify the Container when working with multiple container */
|
|
62
|
-
containerId?: string | number;
|
|
63
|
-
/** Position of the toast: top-right, top-center, top-left, bottom-right, bottom-center, bottom-left */
|
|
64
|
-
position?: ToastPosition;
|
|
65
|
-
/** Delay in ms to close the toast. If set to false, the notification needs to be closed manually */
|
|
66
|
-
autoClose?: number | boolean;
|
|
67
|
-
/** Replace the default close button or false to hide the button */
|
|
68
|
-
closeButton?: boolean;
|
|
69
|
-
/** Transition animation */
|
|
70
|
-
transition?: ToastTransition;
|
|
71
|
-
/** Display or not the progress bar below the toast (remaining time) */
|
|
72
|
-
hideProgressBar?: boolean;
|
|
73
|
-
/** Keep the timer running or not on hover */
|
|
74
|
-
pauseOnHover?: boolean;
|
|
75
|
-
/** Pause the timer when the window loses focus */
|
|
76
|
-
pauseOnFocusLoss?: boolean;
|
|
77
|
-
/** Dismiss toast on click */
|
|
78
|
-
closeOnClick?: boolean;
|
|
79
|
-
/** Add optional classes to the toast */
|
|
80
|
-
toastClassName?: string;
|
|
81
|
-
/** Add optional classes to the toast body */
|
|
82
|
-
bodyClassName?: string;
|
|
83
|
-
/** Add optional inline style to the container */
|
|
84
|
-
style?: Record<string, string>;
|
|
85
|
-
/** Add optional classes to the progress bar */
|
|
86
|
-
progressClassName?: string;
|
|
87
|
-
/** Add optional inline style to the progress bar */
|
|
88
|
-
progressStyle?: Record<string, string>;
|
|
89
|
-
/** Define the ARIA role for the toasts */
|
|
90
|
-
role?: string;
|
|
91
|
-
/** Theme: auto, light, dark, colored */
|
|
92
|
-
theme?: ToastTheme;
|
|
93
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './Checkbox';
|
|
3
|
-
export * from './Radio';
|
|
4
|
-
export * from './TextInput';
|
|
5
|
-
export * from './Select';
|
|
6
|
-
export * from './Chip';
|
|
7
|
-
export * from './Indicator';
|
|
8
|
-
export * from './Progress';
|
|
9
|
-
export * from './Alert';
|
|
10
|
-
export * from './Loader';
|
|
11
|
-
export * from './Dialog';
|
|
12
|
-
export * from './HoverCard';
|
|
13
|
-
export * from './Modal';
|
|
14
|
-
export * from './Avatar';
|
|
15
|
-
export * from './Tabs';
|
|
16
|
-
export * from './Pagination';
|
|
17
|
-
export * from './Popover';
|
|
18
|
-
export * from './Breadcrumbs';
|
|
19
|
-
export * from './Textarea';
|
|
20
|
-
export * from './ActionIcon';
|
|
21
|
-
export * from './Dropdown';
|
|
22
|
-
export * from './DropdownMenu';
|
|
23
|
-
export * from './Icon';
|
|
24
|
-
export * from './SplitButton';
|
|
25
|
-
export * from './SegmentedControl';
|
|
26
|
-
export * from './Switch';
|
|
27
|
-
export * from './Badge';
|
|
28
|
-
export * from './Card';
|
|
29
|
-
export * from './Loader';
|
|
30
|
-
export * from './Toast';
|
|
31
|
-
export * from './Drawer';
|
|
32
|
-
export * from './Slider';
|
|
33
|
-
export * from './Accordion';
|
|
34
|
-
export * from './Stepper';
|
|
35
|
-
export * from './Table';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useDropdown';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
export interface UseDropdownOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Initial open state
|
|
5
|
-
*/
|
|
6
|
-
initialOpen?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Callback when dropdown opens
|
|
9
|
-
*/
|
|
10
|
-
onOpen?: () => void;
|
|
11
|
-
/**
|
|
12
|
-
* Callback when dropdown closes
|
|
13
|
-
*/
|
|
14
|
-
onClose?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export interface UseDropdownReturn {
|
|
17
|
-
isOpen: Ref<boolean>;
|
|
18
|
-
referenceElement: Ref<HTMLElement | null>;
|
|
19
|
-
openDropdown: (element: HTMLElement | MouseEvent) => void;
|
|
20
|
-
closeDropdown: () => void;
|
|
21
|
-
toggleDropdown: (element: HTMLElement | MouseEvent) => void;
|
|
22
|
-
}
|
|
23
|
-
export declare function useDropdown(options?: UseDropdownOptions): UseDropdownReturn;
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { ThemeOptions, ColorName, Palette } from '../theme/types';
|
|
2
|
-
/**
|
|
3
|
-
* Theme management composable
|
|
4
|
-
* Provides reactive theme state and methods for theme manipulation
|
|
5
|
-
*/
|
|
6
|
-
export declare function useTheme(options?: {
|
|
7
|
-
skipInitialization?: boolean;
|
|
8
|
-
}): {
|
|
9
|
-
theme: import('vue').ComputedRef<{
|
|
10
|
-
primary?: string | undefined;
|
|
11
|
-
secondary?: string | undefined;
|
|
12
|
-
success?: string | undefined;
|
|
13
|
-
warning?: string | undefined;
|
|
14
|
-
danger?: string | undefined;
|
|
15
|
-
info?: string | undefined;
|
|
16
|
-
green?: string | undefined;
|
|
17
|
-
yellow?: string | undefined;
|
|
18
|
-
orange?: string | undefined;
|
|
19
|
-
red?: string | undefined;
|
|
20
|
-
}>;
|
|
21
|
-
palette: import('vue').ComputedRef<{
|
|
22
|
-
primary: {
|
|
23
|
-
200: string;
|
|
24
|
-
100: string;
|
|
25
|
-
300: string;
|
|
26
|
-
50: string;
|
|
27
|
-
250: string;
|
|
28
|
-
400: string;
|
|
29
|
-
450: string;
|
|
30
|
-
500: string;
|
|
31
|
-
550: string;
|
|
32
|
-
575: string;
|
|
33
|
-
600: string;
|
|
34
|
-
700: string;
|
|
35
|
-
800: string;
|
|
36
|
-
900: string;
|
|
37
|
-
};
|
|
38
|
-
secondary: {
|
|
39
|
-
200: string;
|
|
40
|
-
100: string;
|
|
41
|
-
300: string;
|
|
42
|
-
50: string;
|
|
43
|
-
250: string;
|
|
44
|
-
400: string;
|
|
45
|
-
450: string;
|
|
46
|
-
500: string;
|
|
47
|
-
550: string;
|
|
48
|
-
575: string;
|
|
49
|
-
600: string;
|
|
50
|
-
700: string;
|
|
51
|
-
800: string;
|
|
52
|
-
900: string;
|
|
53
|
-
};
|
|
54
|
-
success: {
|
|
55
|
-
200: string;
|
|
56
|
-
100: string;
|
|
57
|
-
300: string;
|
|
58
|
-
50: string;
|
|
59
|
-
250: string;
|
|
60
|
-
400: string;
|
|
61
|
-
450: string;
|
|
62
|
-
500: string;
|
|
63
|
-
550: string;
|
|
64
|
-
575: string;
|
|
65
|
-
600: string;
|
|
66
|
-
700: string;
|
|
67
|
-
800: string;
|
|
68
|
-
900: string;
|
|
69
|
-
};
|
|
70
|
-
warning: {
|
|
71
|
-
200: string;
|
|
72
|
-
100: string;
|
|
73
|
-
300: string;
|
|
74
|
-
50: string;
|
|
75
|
-
250: string;
|
|
76
|
-
400: string;
|
|
77
|
-
450: string;
|
|
78
|
-
500: string;
|
|
79
|
-
550: string;
|
|
80
|
-
575: string;
|
|
81
|
-
600: string;
|
|
82
|
-
700: string;
|
|
83
|
-
800: string;
|
|
84
|
-
900: string;
|
|
85
|
-
};
|
|
86
|
-
danger: {
|
|
87
|
-
200: string;
|
|
88
|
-
100: string;
|
|
89
|
-
300: string;
|
|
90
|
-
50: string;
|
|
91
|
-
250: string;
|
|
92
|
-
400: string;
|
|
93
|
-
450: string;
|
|
94
|
-
500: string;
|
|
95
|
-
550: string;
|
|
96
|
-
575: string;
|
|
97
|
-
600: string;
|
|
98
|
-
700: string;
|
|
99
|
-
800: string;
|
|
100
|
-
900: string;
|
|
101
|
-
};
|
|
102
|
-
info: {
|
|
103
|
-
200: string;
|
|
104
|
-
100: string;
|
|
105
|
-
300: string;
|
|
106
|
-
50: string;
|
|
107
|
-
250: string;
|
|
108
|
-
400: string;
|
|
109
|
-
450: string;
|
|
110
|
-
500: string;
|
|
111
|
-
550: string;
|
|
112
|
-
575: string;
|
|
113
|
-
600: string;
|
|
114
|
-
700: string;
|
|
115
|
-
800: string;
|
|
116
|
-
900: string;
|
|
117
|
-
};
|
|
118
|
-
green: {
|
|
119
|
-
200: string;
|
|
120
|
-
100: string;
|
|
121
|
-
300: string;
|
|
122
|
-
50: string;
|
|
123
|
-
250: string;
|
|
124
|
-
400: string;
|
|
125
|
-
450: string;
|
|
126
|
-
500: string;
|
|
127
|
-
550: string;
|
|
128
|
-
575: string;
|
|
129
|
-
600: string;
|
|
130
|
-
700: string;
|
|
131
|
-
800: string;
|
|
132
|
-
900: string;
|
|
133
|
-
};
|
|
134
|
-
orange: {
|
|
135
|
-
200: string;
|
|
136
|
-
100: string;
|
|
137
|
-
300: string;
|
|
138
|
-
50: string;
|
|
139
|
-
250: string;
|
|
140
|
-
400: string;
|
|
141
|
-
450: string;
|
|
142
|
-
500: string;
|
|
143
|
-
550: string;
|
|
144
|
-
575: string;
|
|
145
|
-
600: string;
|
|
146
|
-
700: string;
|
|
147
|
-
800: string;
|
|
148
|
-
900: string;
|
|
149
|
-
};
|
|
150
|
-
red: {
|
|
151
|
-
200: string;
|
|
152
|
-
100: string;
|
|
153
|
-
300: string;
|
|
154
|
-
50: string;
|
|
155
|
-
250: string;
|
|
156
|
-
400: string;
|
|
157
|
-
450: string;
|
|
158
|
-
500: string;
|
|
159
|
-
550: string;
|
|
160
|
-
575: string;
|
|
161
|
-
600: string;
|
|
162
|
-
700: string;
|
|
163
|
-
800: string;
|
|
164
|
-
900: string;
|
|
165
|
-
};
|
|
166
|
-
yellow: {
|
|
167
|
-
200: string;
|
|
168
|
-
100: string;
|
|
169
|
-
300: string;
|
|
170
|
-
50: string;
|
|
171
|
-
250: string;
|
|
172
|
-
400: string;
|
|
173
|
-
450: string;
|
|
174
|
-
500: string;
|
|
175
|
-
550: string;
|
|
176
|
-
575: string;
|
|
177
|
-
600: string;
|
|
178
|
-
700: string;
|
|
179
|
-
800: string;
|
|
180
|
-
900: string;
|
|
181
|
-
};
|
|
182
|
-
}>;
|
|
183
|
-
setColors: (colors: Partial<Record<ColorName, string>>) => void;
|
|
184
|
-
setTheme: (theme: Partial<ThemeOptions>) => void;
|
|
185
|
-
resetTheme: () => void;
|
|
186
|
-
getColor: (color: ColorName) => string;
|
|
187
|
-
getPalette: () => Palette;
|
|
188
|
-
isInitialized: import('vue').ComputedRef<boolean>;
|
|
189
|
-
};
|