@marianmeres/stuic 1.89.0 → 1.91.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.
|
@@ -75,6 +75,7 @@ const _isFn = (v) => typeof v === "function";
|
|
|
75
75
|
<script>const { ALERT, CONFIRM, PROMPT } = AlertConfirmPromptType;
|
|
76
76
|
const clog = createClog("AlertConfirmPrompt");
|
|
77
77
|
export let notifications = void 0;
|
|
78
|
+
export let notificationsRestProps = { forceAsHtml: true };
|
|
78
79
|
export let notificationsPositionConfig = {};
|
|
79
80
|
export let acp;
|
|
80
81
|
export let forceAsHtml = void 0;
|
|
@@ -341,7 +342,11 @@ $:
|
|
|
341
342
|
{/if}
|
|
342
343
|
|
|
343
344
|
{#if notifications}
|
|
344
|
-
<Notifications
|
|
345
|
+
<Notifications
|
|
346
|
+
{notifications}
|
|
347
|
+
{...notificationsRestProps || {}}
|
|
348
|
+
{...notificationsPositionConfig || {}}
|
|
349
|
+
/>
|
|
345
350
|
{/if}
|
|
346
351
|
</dialog>
|
|
347
352
|
|
|
@@ -72,6 +72,7 @@ export declare class AlertConfirmPromptConfig {
|
|
|
72
72
|
declare const __propDef: {
|
|
73
73
|
props: {
|
|
74
74
|
notifications?: ReturnType<typeof createNotificationsStore> | undefined;
|
|
75
|
+
notificationsRestProps?: any;
|
|
75
76
|
notificationsPositionConfig?: Partial<{
|
|
76
77
|
posX: NOTIFICATIONS_POSX;
|
|
77
78
|
posXMobile: NOTIFICATIONS_POSX;
|
|
@@ -52,7 +52,7 @@ export declare const createAlertConfirmPromptStore: (defaults?: Partial<AlertCon
|
|
|
52
52
|
confirm: (onOk: FnOnOK, o?: Partial<AlertConfirmPromptOptions>) => void;
|
|
53
53
|
prompt: (onOk: FnOnOK, o?: Partial<AlertConfirmPromptOptions>) => void;
|
|
54
54
|
};
|
|
55
|
-
export declare const createAlert: (acp: ReturnType<typeof createAlertConfirmPromptStore>, defaults?: Partial<AlertConfirmPromptOptions>) => (message: string, o?: Partial<AlertConfirmPromptOptions>) => Promise<
|
|
56
|
-
export declare const createConfirm: (acp: ReturnType<typeof createAlertConfirmPromptStore>, defaults?: Partial<AlertConfirmPromptOptions>) => (message: string, o?: Partial<AlertConfirmPromptOptions>) => Promise<
|
|
57
|
-
export declare const createPrompt: (acp: ReturnType<typeof createAlertConfirmPromptStore>, defaults?: Partial<AlertConfirmPromptOptions>) => (message: string, defaultValue?: string, o?: Partial<AlertConfirmPromptOptions>) => Promise<
|
|
55
|
+
export declare const createAlert: (acp: ReturnType<typeof createAlertConfirmPromptStore>, defaults?: Partial<AlertConfirmPromptOptions>) => (message: string, o?: Partial<AlertConfirmPromptOptions>) => Promise<undefined>;
|
|
56
|
+
export declare const createConfirm: (acp: ReturnType<typeof createAlertConfirmPromptStore>, defaults?: Partial<AlertConfirmPromptOptions>) => (message: string, o?: Partial<AlertConfirmPromptOptions>) => Promise<boolean>;
|
|
57
|
+
export declare const createPrompt: (acp: ReturnType<typeof createAlertConfirmPromptStore>, defaults?: Partial<AlertConfirmPromptOptions>) => (message: string, defaultValue?: string, o?: Partial<AlertConfirmPromptOptions>) => Promise<string | null>;
|
|
58
58
|
export {};
|