@sidekick-coder/zenith-kit 0.3.10 → 0.3.11
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/client/index.es.js +4242 -4440
- package/dist/client/src/client/utils/toast.d.ts +2 -54
- package/dist/components/index.es.js +5861 -5848
- package/dist/components/src/client/utils/toast.d.ts +2 -54
- package/dist/server/index.d.mts +2 -2
- package/package.json +1 -1
- package/src/client/components/DialogForm.vue +1 -1
- package/src/client/components/FormFilePicker.vue +1 -1
- package/src/client/components/UserMenu.vue +1 -1
- package/src/client/components/ZAlertButton.vue +1 -1
- package/src/client/components/ZDialogForm.vue +1 -1
- package/src/client/services/FetchService.ts +1 -1
- package/src/client/utils/toast.ts +1 -1
|
@@ -1,54 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const $toast: ((message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number) & {
|
|
4
|
-
success: (message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number;
|
|
5
|
-
info: (message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number;
|
|
6
|
-
warning: (message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number;
|
|
7
|
-
error: (message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number;
|
|
8
|
-
custom: (component: Component, data?: ExternalToast) => string | number;
|
|
9
|
-
message: (message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number;
|
|
10
|
-
promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
|
|
11
|
-
id?: number | string | undefined;
|
|
12
|
-
position?: ("top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center") | undefined;
|
|
13
|
-
action?: ( Action | Component) | undefined;
|
|
14
|
-
icon?: Component | undefined;
|
|
15
|
-
component?: Component | undefined;
|
|
16
|
-
class?: string | undefined;
|
|
17
|
-
style?: CSSProperties | undefined;
|
|
18
|
-
duration?: number | undefined;
|
|
19
|
-
dismissible?: boolean | undefined;
|
|
20
|
-
cancel?: ( Action | Component) | undefined;
|
|
21
|
-
invert?: boolean | undefined;
|
|
22
|
-
closeButtonPosition?: ("top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
23
|
-
richColors?: boolean | undefined;
|
|
24
|
-
closeButton?: boolean | undefined;
|
|
25
|
-
toasterId?: string | undefined;
|
|
26
|
-
componentProps?: any;
|
|
27
|
-
important?: boolean | undefined;
|
|
28
|
-
onDismiss?: ((toast: ToastT) => void) | undefined;
|
|
29
|
-
onAutoClose?: ((toast: ToastT) => void) | undefined;
|
|
30
|
-
cancelButtonStyle?: CSSProperties | undefined;
|
|
31
|
-
actionButtonStyle?: CSSProperties | undefined;
|
|
32
|
-
unstyled?: boolean | undefined;
|
|
33
|
-
classes?: ToastClasses | undefined;
|
|
34
|
-
descriptionClass?: string | undefined;
|
|
35
|
-
testId?: string | undefined;
|
|
36
|
-
} & {
|
|
37
|
-
loading?: string | Component;
|
|
38
|
-
success?: (string | Component | ((data: ToastData) => Component | string | Promise< Component | string>)) | ( PromiseIExtendedResult | ((data: ToastData) => PromiseIExtendedResult | Promise< PromiseIExtendedResult>)) | undefined;
|
|
39
|
-
error?: (string | Component | ((data: any) => Component | string | Promise< Component | string>)) | ( PromiseIExtendedResult | ((data: any) => PromiseIExtendedResult | Promise< PromiseIExtendedResult>));
|
|
40
|
-
description?: string | Component | ((data: any) => Component | string | Promise< Component | string>);
|
|
41
|
-
finally?: () => void | Promise<void>;
|
|
42
|
-
}) | undefined) => (string & {
|
|
43
|
-
unwrap: () => Promise<ToastData>;
|
|
44
|
-
}) | (number & {
|
|
45
|
-
unwrap: () => Promise<ToastData>;
|
|
46
|
-
}) | {
|
|
47
|
-
unwrap: () => Promise<ToastData>;
|
|
48
|
-
} | undefined;
|
|
49
|
-
dismiss: (id?: number | string) => string | number | undefined;
|
|
50
|
-
loading: (message: string | (() => string | Component) | Component, data?: ExternalToast) => string | number;
|
|
51
|
-
} & {
|
|
52
|
-
getHistory: () => ( ToastT<Component> | ToastToDismiss)[];
|
|
53
|
-
getToasts: () => ( ToastT<Component> | ToastToDismiss)[];
|
|
54
|
-
};
|
|
1
|
+
import { ToastService } from '..';
|
|
2
|
+
export declare const $toast: ToastService;
|