intelliwaketssveltekitv25 0.2.43 → 0.2.45
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 = {
|
|
65
65
|
title: string;
|
|
66
66
|
sub_title?: string;
|
|
67
67
|
hover_title?: string;
|
|
@@ -74,7 +74,7 @@ export type TListGroupItem<COLOR extends string = string> = {
|
|
|
74
74
|
linkClick?: () => void;
|
|
75
75
|
/** undefined = don't show, null = show with spinner, number (0, 1, etc.) = show */
|
|
76
76
|
badgeValue?: number | string | null;
|
|
77
|
-
badgeColor?:
|
|
77
|
+
badgeColor?: TDefaultColorPalate | null;
|
|
78
78
|
badgeClass?: string | null;
|
|
79
79
|
rightText?: string | null;
|
|
80
80
|
paneName?: string;
|
|
@@ -145,20 +145,19 @@ export declare const ShowActivityOverlay: Pick<Writable<number>, "subscribe"> &
|
|
|
145
145
|
hide: () => void;
|
|
146
146
|
reset: () => void;
|
|
147
147
|
};
|
|
148
|
-
export interface IMessageBoxStore
|
|
148
|
+
export interface IMessageBoxStore {
|
|
149
149
|
message: string | null;
|
|
150
150
|
messageBody?: string | null;
|
|
151
|
-
color?:
|
|
151
|
+
color?: TDefaultColorPalate | null;
|
|
152
152
|
dismissAfterSeconds?: number | null;
|
|
153
153
|
dismissAt?: TDateAny | null;
|
|
154
154
|
}
|
|
155
|
-
export type TStoreMessageBox
|
|
156
|
-
show: (message: string | IMessageBoxStore, color?:
|
|
155
|
+
export type TStoreMessageBox = Pick<Writable<IMessageBoxStore[]>, 'subscribe'> & {
|
|
156
|
+
show: (message: string | IMessageBoxStore, color?: TDefaultColorPalate | null) => void;
|
|
157
157
|
hide: (message: (string | null) | (string | null)[]) => void;
|
|
158
158
|
reset: () => void;
|
|
159
159
|
};
|
|
160
|
-
export declare const ShowMessageBox: TStoreMessageBox
|
|
161
|
-
export type TChatBubblePosition = 'Right' | 'Left' | 'Top' | 'Bottom';
|
|
160
|
+
export declare const ShowMessageBox: TStoreMessageBox;
|
|
162
161
|
export type TDropDownControlPosition = 'Right' | 'Left' | 'Center' | 'CenterForce' | null;
|
|
163
162
|
export type TDropDownControlDrop = 'Up' | 'Down' | null;
|
|
164
163
|
export type TGenericMultiSelect = {
|
package/dist/Definitions.js
CHANGED
|
@@ -108,7 +108,8 @@ const storeShowText = () => {
|
|
|
108
108
|
if (checkInterval === null) {
|
|
109
109
|
checkInterval = setInterval(() => {
|
|
110
110
|
update((message) => {
|
|
111
|
-
if (message?.dismissAt !== null &&
|
|
111
|
+
if (message?.dismissAt !== null &&
|
|
112
|
+
(!message || DateCompare(message.dismissAt, 'IsSameOrBefore', 'now', 'seconds'))) {
|
|
112
113
|
if (checkInterval) {
|
|
113
114
|
clearInterval(checkInterval);
|
|
114
115
|
checkInterval = null;
|
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;
|