intelliwaketssveltekitv25 0.2.42 → 0.2.44
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/Definitions.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export interface ISpinItem<T = number> {
|
|
|
61
61
|
style?: string;
|
|
62
62
|
classItem?: string | null;
|
|
63
63
|
}
|
|
64
|
-
export type TListGroupItem = {
|
|
64
|
+
export type TListGroupItem<COLOR extends TDefaultColorPalate = TDefaultColorPalate> = {
|
|
65
65
|
title: string;
|
|
66
66
|
sub_title?: string;
|
|
67
67
|
hover_title?: string;
|
|
@@ -69,13 +69,12 @@ export type TListGroupItem = {
|
|
|
69
69
|
faProps?: IFAProps;
|
|
70
70
|
icon?: IconDefinition;
|
|
71
71
|
selected?: boolean;
|
|
72
|
-
color?: string;
|
|
73
72
|
href?: string;
|
|
74
73
|
strikeThrough?: boolean;
|
|
75
74
|
linkClick?: () => void;
|
|
76
75
|
/** undefined = don't show, null = show with spinner, number (0, 1, etc.) = show */
|
|
77
76
|
badgeValue?: number | string | null;
|
|
78
|
-
badgeColor?:
|
|
77
|
+
badgeColor?: COLOR | null;
|
|
79
78
|
badgeClass?: string | null;
|
|
80
79
|
rightText?: string | null;
|
|
81
80
|
paneName?: string;
|
|
@@ -146,20 +145,19 @@ export declare const ShowActivityOverlay: Pick<Writable<number>, "subscribe"> &
|
|
|
146
145
|
hide: () => void;
|
|
147
146
|
reset: () => void;
|
|
148
147
|
};
|
|
149
|
-
export interface IMessageBoxStore
|
|
148
|
+
export interface IMessageBoxStore {
|
|
150
149
|
message: string | null;
|
|
151
150
|
messageBody?: string | null;
|
|
152
|
-
color?:
|
|
151
|
+
color?: TDefaultColorPalate | null;
|
|
153
152
|
dismissAfterSeconds?: number | null;
|
|
154
153
|
dismissAt?: TDateAny | null;
|
|
155
154
|
}
|
|
156
|
-
export type TStoreMessageBox
|
|
157
|
-
show: (message: string | IMessageBoxStore, color?:
|
|
155
|
+
export type TStoreMessageBox = Pick<Writable<IMessageBoxStore[]>, 'subscribe'> & {
|
|
156
|
+
show: (message: string | IMessageBoxStore, color?: TDefaultColorPalate | null) => void;
|
|
158
157
|
hide: (message: (string | null) | (string | null)[]) => void;
|
|
159
158
|
reset: () => void;
|
|
160
159
|
};
|
|
161
|
-
export declare const ShowMessageBox: TStoreMessageBox
|
|
162
|
-
export type TChatBubblePosition = 'Right' | 'Left' | 'Top' | 'Bottom';
|
|
160
|
+
export declare const ShowMessageBox: TStoreMessageBox;
|
|
163
161
|
export type TDropDownControlPosition = 'Right' | 'Left' | 'Center' | 'CenterForce' | null;
|
|
164
162
|
export type TDropDownControlDrop = 'Up' | 'Down' | null;
|
|
165
163
|
export type TGenericMultiSelect = {
|
package/dist/Modal.svelte
CHANGED
package/dist/Modal.svelte.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ type $$ComponentProps = {
|
|
|
24
24
|
marginForStickyHeader?: boolean;
|
|
25
25
|
okButtonWrap?: boolean;
|
|
26
26
|
class?: string;
|
|
27
|
-
okColor?:
|
|
28
|
-
color?:
|
|
27
|
+
okColor?: TDefaultColorPalate;
|
|
28
|
+
color?: TDefaultColorPalate;
|
|
29
29
|
classHeader?: string;
|
|
30
30
|
classBody?: string;
|
|
31
31
|
classFooter?: string;
|
|
@@ -5,12 +5,12 @@ export type TModalPromptProps<T = unknown> = {
|
|
|
5
5
|
title?: string | Snippet;
|
|
6
6
|
titleFAProps?: IFAProps;
|
|
7
7
|
messageBody?: string | Snippet;
|
|
8
|
-
color?:
|
|
8
|
+
color?: TDefaultColorPalate | null;
|
|
9
9
|
okLabel?: string;
|
|
10
10
|
faProps?: IFAProps;
|
|
11
11
|
okFAProps?: IFAProps;
|
|
12
12
|
okAction?: () => void;
|
|
13
|
-
okColor?:
|
|
13
|
+
okColor?: TDefaultColorPalate | null;
|
|
14
14
|
okPromise?: () => Promise<T>;
|
|
15
15
|
okDisabled?: boolean;
|
|
16
16
|
cancelLabel?: string;
|