x-essential-lib 0.9.6 → 0.9.7
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.js +437 -435
- package/dist/utils/dialog.d.ts +3 -0
- package/package.json +1 -1
package/dist/utils/dialog.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ interface ButtonOptions {
|
|
|
4
4
|
}
|
|
5
5
|
interface ConfirmParams {
|
|
6
6
|
title: string;
|
|
7
|
+
subtitle?: string;
|
|
7
8
|
text: string;
|
|
8
9
|
cancel?: ButtonOptions;
|
|
9
10
|
confirm?: ButtonOptions;
|
|
@@ -11,6 +12,7 @@ interface ConfirmParams {
|
|
|
11
12
|
export declare function openConfirmDlg(params: ConfirmParams): Promise<boolean | undefined>;
|
|
12
13
|
interface NumberParams {
|
|
13
14
|
title: string;
|
|
15
|
+
subtitle?: string;
|
|
14
16
|
value: number;
|
|
15
17
|
precision?: number;
|
|
16
18
|
min?: number;
|
|
@@ -20,6 +22,7 @@ interface NumberParams {
|
|
|
20
22
|
export declare function openNumberDlg(params: NumberParams): Promise<number | undefined>;
|
|
21
23
|
interface PromptParams {
|
|
22
24
|
title: string;
|
|
25
|
+
subtitle?: string;
|
|
23
26
|
text?: string;
|
|
24
27
|
label?: string;
|
|
25
28
|
placeholder?: string;
|