capacitor-extended-dialog 0.0.15 → 0.0.16
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/README.md
CHANGED
|
@@ -38,7 +38,7 @@ npx cap sync
|
|
|
38
38
|
### alert(...)
|
|
39
39
|
|
|
40
40
|
```typescript
|
|
41
|
-
alert(options: AlertOptions) =>
|
|
41
|
+
alert(options: AlertOptions) => any
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Show an alert dialog with a single dismiss button.
|
|
@@ -47,13 +47,15 @@ Show an alert dialog with a single dismiss button.
|
|
|
47
47
|
| ------------- | ----------------------------------------------------- | ------------------------------ |
|
|
48
48
|
| **`options`** | <code><a href="#alertoptions">AlertOptions</a></code> | - Alert configuration options. |
|
|
49
49
|
|
|
50
|
+
**Returns:** <code>any</code>
|
|
51
|
+
|
|
50
52
|
--------------------
|
|
51
53
|
|
|
52
54
|
|
|
53
55
|
### confirm(...)
|
|
54
56
|
|
|
55
57
|
```typescript
|
|
56
|
-
confirm(options: ConfirmOptions) =>
|
|
58
|
+
confirm(options: ConfirmOptions) => any
|
|
57
59
|
```
|
|
58
60
|
|
|
59
61
|
Show a confirmation dialog with OK and Cancel buttons.
|
|
@@ -62,7 +64,7 @@ Show a confirmation dialog with OK and Cancel buttons.
|
|
|
62
64
|
| ------------- | --------------------------------------------------------- | -------------------------------- |
|
|
63
65
|
| **`options`** | <code><a href="#confirmoptions">ConfirmOptions</a></code> | - Confirm configuration options. |
|
|
64
66
|
|
|
65
|
-
**Returns:** <code>
|
|
67
|
+
**Returns:** <code>any</code>
|
|
66
68
|
|
|
67
69
|
--------------------
|
|
68
70
|
|
|
@@ -70,7 +72,7 @@ Show a confirmation dialog with OK and Cancel buttons.
|
|
|
70
72
|
### prompt(...)
|
|
71
73
|
|
|
72
74
|
```typescript
|
|
73
|
-
prompt(options: PromptOptions) =>
|
|
75
|
+
prompt(options: PromptOptions) => any
|
|
74
76
|
```
|
|
75
77
|
|
|
76
78
|
Show a prompt dialog with a text input field.
|
|
@@ -79,7 +81,7 @@ Show a prompt dialog with a text input field.
|
|
|
79
81
|
| ------------- | ------------------------------------------------------- | ------------------------------- |
|
|
80
82
|
| **`options`** | <code><a href="#promptoptions">PromptOptions</a></code> | - Prompt configuration options. |
|
|
81
83
|
|
|
82
|
-
**Returns:** <code>
|
|
84
|
+
**Returns:** <code>any</code>
|
|
83
85
|
|
|
84
86
|
--------------------
|
|
85
87
|
|
|
@@ -87,7 +89,7 @@ Show a prompt dialog with a text input field.
|
|
|
87
89
|
### singleSelect(...)
|
|
88
90
|
|
|
89
91
|
```typescript
|
|
90
|
-
singleSelect(options: SingleSelectOptions) =>
|
|
92
|
+
singleSelect(options: SingleSelectOptions) => any
|
|
91
93
|
```
|
|
92
94
|
|
|
93
95
|
Show a single-select dialog where the user picks one option.
|
|
@@ -96,7 +98,7 @@ Show a single-select dialog where the user picks one option.
|
|
|
96
98
|
| ------------- | ------------------------------------------------------------------- | -------------------------------------- |
|
|
97
99
|
| **`options`** | <code><a href="#singleselectoptions">SingleSelectOptions</a></code> | - Single select configuration options. |
|
|
98
100
|
|
|
99
|
-
**Returns:** <code>
|
|
101
|
+
**Returns:** <code>any</code>
|
|
100
102
|
|
|
101
103
|
--------------------
|
|
102
104
|
|
|
@@ -104,7 +106,7 @@ Show a single-select dialog where the user picks one option.
|
|
|
104
106
|
### multiSelect(...)
|
|
105
107
|
|
|
106
108
|
```typescript
|
|
107
|
-
multiSelect(options: MultiSelectOptions) =>
|
|
109
|
+
multiSelect(options: MultiSelectOptions) => any
|
|
108
110
|
```
|
|
109
111
|
|
|
110
112
|
Show a multi-select dialog where the user picks one or more options.
|
|
@@ -113,7 +115,7 @@ Show a multi-select dialog where the user picks one or more options.
|
|
|
113
115
|
| ------------- | ----------------------------------------------------------------- | ------------------------------------- |
|
|
114
116
|
| **`options`** | <code><a href="#multiselectoptions">MultiSelectOptions</a></code> | - Multi select configuration options. |
|
|
115
117
|
|
|
116
|
-
**Returns:** <code>
|
|
118
|
+
**Returns:** <code>any</code>
|
|
117
119
|
|
|
118
120
|
--------------------
|
|
119
121
|
|
|
@@ -121,7 +123,7 @@ Show a multi-select dialog where the user picks one or more options.
|
|
|
121
123
|
### sheet(...)
|
|
122
124
|
|
|
123
125
|
```typescript
|
|
124
|
-
sheet(options: SheetOptions) =>
|
|
126
|
+
sheet(options: SheetOptions) => any
|
|
125
127
|
```
|
|
126
128
|
|
|
127
129
|
Show a sheet dialog with a header, title, and structured data rows.
|
|
@@ -130,7 +132,7 @@ Show a sheet dialog with a header, title, and structured data rows.
|
|
|
130
132
|
| ------------- | ----------------------------------------------------- | ------------------------------ |
|
|
131
133
|
| **`options`** | <code><a href="#sheetoptions">SheetOptions</a></code> | - Sheet configuration options. |
|
|
132
134
|
|
|
133
|
-
**Returns:** <code>
|
|
135
|
+
**Returns:** <code>any</code>
|
|
134
136
|
|
|
135
137
|
--------------------
|
|
136
138
|
|
|
@@ -138,7 +140,7 @@ Show a sheet dialog with a header, title, and structured data rows.
|
|
|
138
140
|
### messageSheet(...)
|
|
139
141
|
|
|
140
142
|
```typescript
|
|
141
|
-
messageSheet(options: MessageSheetOptions) =>
|
|
143
|
+
messageSheet(options: MessageSheetOptions) => any
|
|
142
144
|
```
|
|
143
145
|
|
|
144
146
|
Show a message sheet dialog with an optional header logo, title, and message.
|
|
@@ -147,7 +149,7 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
147
149
|
| ------------- | ------------------------------------------------------------------- | -------------------------------------- |
|
|
148
150
|
| **`options`** | <code><a href="#messagesheetoptions">MessageSheetOptions</a></code> | - Message sheet configuration options. |
|
|
149
151
|
|
|
150
|
-
**Returns:** <code>
|
|
152
|
+
**Returns:** <code>any</code>
|
|
151
153
|
|
|
152
154
|
--------------------
|
|
153
155
|
|
|
@@ -162,13 +164,6 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
162
164
|
| **`buttonTitle`** | <code>string</code> | Title for the dismiss button. | <code>"OK"</code> |
|
|
163
165
|
|
|
164
166
|
|
|
165
|
-
#### ConfirmResult
|
|
166
|
-
|
|
167
|
-
| Prop | Type | Description |
|
|
168
|
-
| ----------- | -------------------- | ----------------------------------------------------------- |
|
|
169
|
-
| **`value`** | <code>boolean</code> | Whether the user confirmed (`true`) or cancelled (`false`). |
|
|
170
|
-
|
|
171
|
-
|
|
172
167
|
#### ConfirmOptions
|
|
173
168
|
|
|
174
169
|
| Prop | Type | Description | Default |
|
|
@@ -177,12 +172,11 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
177
172
|
| **`cancelButtonTitle`** | <code>string</code> | Title for the cancel button. | <code>"Cancel"</code> |
|
|
178
173
|
|
|
179
174
|
|
|
180
|
-
####
|
|
175
|
+
#### ConfirmResult
|
|
181
176
|
|
|
182
|
-
| Prop
|
|
183
|
-
|
|
|
184
|
-
| **`value`**
|
|
185
|
-
| **`cancelled`** | <code>boolean</code> | Whether the user cancelled the dialog. |
|
|
177
|
+
| Prop | Type | Description |
|
|
178
|
+
| ----------- | -------------------- | ----------------------------------------------------------- |
|
|
179
|
+
| **`value`** | <code>boolean</code> | Whether the user confirmed (`true`) or cancelled (`false`). |
|
|
186
180
|
|
|
187
181
|
|
|
188
182
|
#### PromptOptions
|
|
@@ -196,22 +190,22 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
196
190
|
| **`focusInput`** | <code>boolean</code> | Whether to automatically focus the input field and open the keyboard when the dialog appears. Note: On iOS, basic (non-fullscreen) dialogs always auto-focus the input field due to UIAlertController's built-in behavior. This option only takes effect on iOS when using fullscreen mode (`mode: 'fullscreen'`). On Android and web, this works for all modes. | <code>false</code> |
|
|
197
191
|
|
|
198
192
|
|
|
199
|
-
####
|
|
193
|
+
#### PromptResult
|
|
200
194
|
|
|
201
|
-
| Prop | Type
|
|
202
|
-
| --------------- |
|
|
203
|
-
| **`value`** | <code>string
|
|
204
|
-
| **`cancelled`** | <code>boolean</code>
|
|
195
|
+
| Prop | Type | Description |
|
|
196
|
+
| --------------- | -------------------- | -------------------------------------------------------- |
|
|
197
|
+
| **`value`** | <code>string</code> | The text entered by the user. Empty string if cancelled. |
|
|
198
|
+
| **`cancelled`** | <code>boolean</code> | Whether the user cancelled the dialog. |
|
|
205
199
|
|
|
206
200
|
|
|
207
201
|
#### SingleSelectOptions
|
|
208
202
|
|
|
209
|
-
| Prop | Type
|
|
210
|
-
| ----------------------- |
|
|
211
|
-
| **`options`** | <code>
|
|
212
|
-
| **`selectedValue`** | <code>string</code>
|
|
213
|
-
| **`okButtonTitle`** | <code>string</code>
|
|
214
|
-
| **`cancelButtonTitle`** | <code>string</code>
|
|
203
|
+
| Prop | Type | Description | Default |
|
|
204
|
+
| ----------------------- | ------------------- | ----------------------------------------- | --------------------- |
|
|
205
|
+
| **`options`** | <code>{}</code> | List of options to display for selection. | |
|
|
206
|
+
| **`selectedValue`** | <code>string</code> | Value of the initially selected option. | |
|
|
207
|
+
| **`okButtonTitle`** | <code>string</code> | Title for the confirmation button. | <code>"OK"</code> |
|
|
208
|
+
| **`cancelButtonTitle`** | <code>string</code> | Title for the cancel button. | <code>"Cancel"</code> |
|
|
215
209
|
|
|
216
210
|
|
|
217
211
|
#### SelectOption
|
|
@@ -222,29 +216,30 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
222
216
|
| **`value`** | <code>string</code> | Value returned when the option is selected. |
|
|
223
217
|
|
|
224
218
|
|
|
225
|
-
####
|
|
219
|
+
#### SingleSelectResult
|
|
226
220
|
|
|
227
|
-
| Prop | Type
|
|
228
|
-
| --------------- |
|
|
229
|
-
| **`
|
|
230
|
-
| **`cancelled`** | <code>boolean</code>
|
|
221
|
+
| Prop | Type | Description |
|
|
222
|
+
| --------------- | --------------------------- | --------------------------------------------------------- |
|
|
223
|
+
| **`value`** | <code>string \| null</code> | The value of the selected option, or `null` if cancelled. |
|
|
224
|
+
| **`cancelled`** | <code>boolean</code> | Whether the user cancelled the dialog. |
|
|
231
225
|
|
|
232
226
|
|
|
233
227
|
#### MultiSelectOptions
|
|
234
228
|
|
|
235
|
-
| Prop | Type
|
|
236
|
-
| ----------------------- |
|
|
237
|
-
| **`options`** | <code>
|
|
238
|
-
| **`selectedValues`** | <code>
|
|
239
|
-
| **`okButtonTitle`** | <code>string</code>
|
|
240
|
-
| **`cancelButtonTitle`** | <code>string</code>
|
|
229
|
+
| Prop | Type | Description | Default |
|
|
230
|
+
| ----------------------- | ------------------- | ----------------------------------------- | --------------------- |
|
|
231
|
+
| **`options`** | <code>{}</code> | List of options to display for selection. | |
|
|
232
|
+
| **`selectedValues`** | <code>{}</code> | Values of the initially selected options. | |
|
|
233
|
+
| **`okButtonTitle`** | <code>string</code> | Title for the confirmation button. | <code>"OK"</code> |
|
|
234
|
+
| **`cancelButtonTitle`** | <code>string</code> | Title for the cancel button. | <code>"Cancel"</code> |
|
|
241
235
|
|
|
242
236
|
|
|
243
|
-
####
|
|
237
|
+
#### MultiSelectResult
|
|
244
238
|
|
|
245
|
-
| Prop | Type | Description
|
|
246
|
-
| --------------- | -------------------- |
|
|
247
|
-
| **`
|
|
239
|
+
| Prop | Type | Description |
|
|
240
|
+
| --------------- | -------------------- | ------------------------------------------------------------- |
|
|
241
|
+
| **`values`** | <code>{}</code> | The values of the selected options. Empty array if cancelled. |
|
|
242
|
+
| **`cancelled`** | <code>boolean</code> | Whether the user cancelled the dialog. |
|
|
248
243
|
|
|
249
244
|
|
|
250
245
|
#### SheetOptions
|
|
@@ -254,7 +249,7 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
254
249
|
| **`headerLogo`** | <code>string</code> | Header logo. Supports: - PNG/JPEG/WebP/GIF as base64 data URL or HTTP/HTTPS URL - SVG as `data:image/svg+xml;base64,...`, `data:image/svg+xml,<svg ...>...` (URL-encoded or plain), or any HTTP/HTTPS URL ending in `.svg` |
|
|
255
250
|
| **`title`** | <code>string</code> | Sheet title |
|
|
256
251
|
| **`subtitle`** | <code>string</code> | Optional subtitle displayed between title and rows |
|
|
257
|
-
| **`rows`** | <code>
|
|
252
|
+
| **`rows`** | <code>{}</code> | Description rows |
|
|
258
253
|
| **`confirmButtonTitle`** | <code>string</code> | Confirm button title |
|
|
259
254
|
| **`cancelButtonTitle`** | <code>string</code> | Cancel button title |
|
|
260
255
|
| **`mode`** | <code><a href="#dialogmode">DialogMode</a></code> | Dialog mode |
|
|
@@ -269,7 +264,7 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
269
264
|
| **`value`** | <code>string</code> | Optional value displayed on the right |
|
|
270
265
|
|
|
271
266
|
|
|
272
|
-
####
|
|
267
|
+
#### SheetResult
|
|
273
268
|
|
|
274
269
|
| Prop | Type | Description |
|
|
275
270
|
| --------------- | -------------------- | ------------------------------------- |
|
|
@@ -289,6 +284,13 @@ Show a message sheet dialog with an optional header logo, title, and message.
|
|
|
289
284
|
| **`mode`** | <code><a href="#dialogmode">DialogMode</a></code> | Dialog mode |
|
|
290
285
|
|
|
291
286
|
|
|
287
|
+
#### MessageSheetResult
|
|
288
|
+
|
|
289
|
+
| Prop | Type | Description |
|
|
290
|
+
| --------------- | -------------------- | ------------------------------------- |
|
|
291
|
+
| **`confirmed`** | <code>boolean</code> | True if confirmed, false if cancelled |
|
|
292
|
+
|
|
293
|
+
|
|
292
294
|
### Type Aliases
|
|
293
295
|
|
|
294
296
|
|
|
@@ -65,6 +65,17 @@ final class SvgImageLoader {
|
|
|
65
65
|
if (height <= 0) height = fallback;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
// AndroidSVG only scales through the viewBox. Without one, resizing the
|
|
69
|
+
// document clips the drawing to its top-left corner, so derive it from
|
|
70
|
+
// the declared width/height.
|
|
71
|
+
if (svg.getDocumentViewBox() == null) {
|
|
72
|
+
float docWidth = svg.getDocumentWidth();
|
|
73
|
+
float docHeight = svg.getDocumentHeight();
|
|
74
|
+
if (docWidth > 0 && docHeight > 0) {
|
|
75
|
+
svg.setDocumentViewBox(0, 0, docWidth, docHeight);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
68
79
|
// Rescale via viewBox + preserveAspectRatio so small-viewport SVGs
|
|
69
80
|
// (e.g. width="20") aren't rendered tiny in the top-left corner.
|
|
70
81
|
svg.setDocumentWidth(width);
|
package/dist/docs.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"methods": [
|
|
8
8
|
{
|
|
9
9
|
"name": "alert",
|
|
10
|
-
"signature": "(options: AlertOptions) =>
|
|
10
|
+
"signature": "(options: AlertOptions) => any",
|
|
11
11
|
"parameters": [
|
|
12
12
|
{
|
|
13
13
|
"name": "options",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"type": "AlertOptions"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"returns": "
|
|
18
|
+
"returns": "any",
|
|
19
19
|
"tags": [
|
|
20
20
|
{
|
|
21
21
|
"name": "param",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "confirm",
|
|
33
|
-
"signature": "(options: ConfirmOptions) =>
|
|
33
|
+
"signature": "(options: ConfirmOptions) => any",
|
|
34
34
|
"parameters": [
|
|
35
35
|
{
|
|
36
36
|
"name": "options",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"type": "ConfirmOptions"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
|
-
"returns": "
|
|
41
|
+
"returns": "any",
|
|
42
42
|
"tags": [
|
|
43
43
|
{
|
|
44
44
|
"name": "param",
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
],
|
|
52
52
|
"docs": "Show a confirmation dialog with OK and Cancel buttons.",
|
|
53
53
|
"complexTypes": [
|
|
54
|
-
"
|
|
55
|
-
"
|
|
54
|
+
"ConfirmOptions",
|
|
55
|
+
"ConfirmResult"
|
|
56
56
|
],
|
|
57
57
|
"slug": "confirm"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "prompt",
|
|
61
|
-
"signature": "(options: PromptOptions) =>
|
|
61
|
+
"signature": "(options: PromptOptions) => any",
|
|
62
62
|
"parameters": [
|
|
63
63
|
{
|
|
64
64
|
"name": "options",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"type": "PromptOptions"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
-
"returns": "
|
|
69
|
+
"returns": "any",
|
|
70
70
|
"tags": [
|
|
71
71
|
{
|
|
72
72
|
"name": "param",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
],
|
|
80
80
|
"docs": "Show a prompt dialog with a text input field.",
|
|
81
81
|
"complexTypes": [
|
|
82
|
-
"
|
|
83
|
-
"
|
|
82
|
+
"PromptOptions",
|
|
83
|
+
"PromptResult"
|
|
84
84
|
],
|
|
85
85
|
"slug": "prompt"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"name": "singleSelect",
|
|
89
|
-
"signature": "(options: SingleSelectOptions) =>
|
|
89
|
+
"signature": "(options: SingleSelectOptions) => any",
|
|
90
90
|
"parameters": [
|
|
91
91
|
{
|
|
92
92
|
"name": "options",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"type": "SingleSelectOptions"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
|
-
"returns": "
|
|
97
|
+
"returns": "any",
|
|
98
98
|
"tags": [
|
|
99
99
|
{
|
|
100
100
|
"name": "param",
|
|
@@ -107,14 +107,14 @@
|
|
|
107
107
|
],
|
|
108
108
|
"docs": "Show a single-select dialog where the user picks one option.",
|
|
109
109
|
"complexTypes": [
|
|
110
|
-
"
|
|
111
|
-
"
|
|
110
|
+
"SingleSelectOptions",
|
|
111
|
+
"SingleSelectResult"
|
|
112
112
|
],
|
|
113
113
|
"slug": "singleselect"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"name": "multiSelect",
|
|
117
|
-
"signature": "(options: MultiSelectOptions) =>
|
|
117
|
+
"signature": "(options: MultiSelectOptions) => any",
|
|
118
118
|
"parameters": [
|
|
119
119
|
{
|
|
120
120
|
"name": "options",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"type": "MultiSelectOptions"
|
|
123
123
|
}
|
|
124
124
|
],
|
|
125
|
-
"returns": "
|
|
125
|
+
"returns": "any",
|
|
126
126
|
"tags": [
|
|
127
127
|
{
|
|
128
128
|
"name": "param",
|
|
@@ -135,14 +135,14 @@
|
|
|
135
135
|
],
|
|
136
136
|
"docs": "Show a multi-select dialog where the user picks one or more options.",
|
|
137
137
|
"complexTypes": [
|
|
138
|
-
"
|
|
139
|
-
"
|
|
138
|
+
"MultiSelectOptions",
|
|
139
|
+
"MultiSelectResult"
|
|
140
140
|
],
|
|
141
141
|
"slug": "multiselect"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"name": "sheet",
|
|
145
|
-
"signature": "(options: SheetOptions) =>
|
|
145
|
+
"signature": "(options: SheetOptions) => any",
|
|
146
146
|
"parameters": [
|
|
147
147
|
{
|
|
148
148
|
"name": "options",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"type": "SheetOptions"
|
|
151
151
|
}
|
|
152
152
|
],
|
|
153
|
-
"returns": "
|
|
153
|
+
"returns": "any",
|
|
154
154
|
"tags": [
|
|
155
155
|
{
|
|
156
156
|
"name": "param",
|
|
@@ -163,14 +163,14 @@
|
|
|
163
163
|
],
|
|
164
164
|
"docs": "Show a sheet dialog with a header, title, and structured data rows.",
|
|
165
165
|
"complexTypes": [
|
|
166
|
-
"
|
|
167
|
-
"
|
|
166
|
+
"SheetOptions",
|
|
167
|
+
"SheetResult"
|
|
168
168
|
],
|
|
169
169
|
"slug": "sheet"
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"name": "messageSheet",
|
|
173
|
-
"signature": "(options: MessageSheetOptions) =>
|
|
173
|
+
"signature": "(options: MessageSheetOptions) => any",
|
|
174
174
|
"parameters": [
|
|
175
175
|
{
|
|
176
176
|
"name": "options",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"type": "MessageSheetOptions"
|
|
179
179
|
}
|
|
180
180
|
],
|
|
181
|
-
"returns": "
|
|
181
|
+
"returns": "any",
|
|
182
182
|
"tags": [
|
|
183
183
|
{
|
|
184
184
|
"name": "param",
|
|
@@ -191,8 +191,8 @@
|
|
|
191
191
|
],
|
|
192
192
|
"docs": "Show a message sheet dialog with an optional header logo, title, and message.",
|
|
193
193
|
"complexTypes": [
|
|
194
|
-
"
|
|
195
|
-
"
|
|
194
|
+
"MessageSheetOptions",
|
|
195
|
+
"MessageSheetResult"
|
|
196
196
|
],
|
|
197
197
|
"slug": "messagesheet"
|
|
198
198
|
}
|
|
@@ -221,22 +221,6 @@
|
|
|
221
221
|
}
|
|
222
222
|
]
|
|
223
223
|
},
|
|
224
|
-
{
|
|
225
|
-
"name": "ConfirmResult",
|
|
226
|
-
"slug": "confirmresult",
|
|
227
|
-
"docs": "",
|
|
228
|
-
"tags": [],
|
|
229
|
-
"methods": [],
|
|
230
|
-
"properties": [
|
|
231
|
-
{
|
|
232
|
-
"name": "value",
|
|
233
|
-
"tags": [],
|
|
234
|
-
"docs": "Whether the user confirmed (`true`) or cancelled (`false`).",
|
|
235
|
-
"complexTypes": [],
|
|
236
|
-
"type": "boolean"
|
|
237
|
-
}
|
|
238
|
-
]
|
|
239
|
-
},
|
|
240
224
|
{
|
|
241
225
|
"name": "ConfirmOptions",
|
|
242
226
|
"slug": "confirmoptions",
|
|
@@ -271,8 +255,8 @@
|
|
|
271
255
|
]
|
|
272
256
|
},
|
|
273
257
|
{
|
|
274
|
-
"name": "
|
|
275
|
-
"slug": "
|
|
258
|
+
"name": "ConfirmResult",
|
|
259
|
+
"slug": "confirmresult",
|
|
276
260
|
"docs": "",
|
|
277
261
|
"tags": [],
|
|
278
262
|
"methods": [],
|
|
@@ -280,14 +264,7 @@
|
|
|
280
264
|
{
|
|
281
265
|
"name": "value",
|
|
282
266
|
"tags": [],
|
|
283
|
-
"docs": "
|
|
284
|
-
"complexTypes": [],
|
|
285
|
-
"type": "string"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "cancelled",
|
|
289
|
-
"tags": [],
|
|
290
|
-
"docs": "Whether the user cancelled the dialog.",
|
|
267
|
+
"docs": "Whether the user confirmed (`true`) or cancelled (`false`).",
|
|
291
268
|
"complexTypes": [],
|
|
292
269
|
"type": "boolean"
|
|
293
270
|
}
|
|
@@ -353,8 +330,8 @@
|
|
|
353
330
|
]
|
|
354
331
|
},
|
|
355
332
|
{
|
|
356
|
-
"name": "
|
|
357
|
-
"slug": "
|
|
333
|
+
"name": "PromptResult",
|
|
334
|
+
"slug": "promptresult",
|
|
358
335
|
"docs": "",
|
|
359
336
|
"tags": [],
|
|
360
337
|
"methods": [],
|
|
@@ -362,9 +339,9 @@
|
|
|
362
339
|
{
|
|
363
340
|
"name": "value",
|
|
364
341
|
"tags": [],
|
|
365
|
-
"docs": "The
|
|
342
|
+
"docs": "The text entered by the user. Empty string if cancelled.",
|
|
366
343
|
"complexTypes": [],
|
|
367
|
-
"type": "string
|
|
344
|
+
"type": "string"
|
|
368
345
|
},
|
|
369
346
|
{
|
|
370
347
|
"name": "cancelled",
|
|
@@ -389,7 +366,7 @@
|
|
|
389
366
|
"complexTypes": [
|
|
390
367
|
"SelectOption"
|
|
391
368
|
],
|
|
392
|
-
"type": "
|
|
369
|
+
"type": "{}"
|
|
393
370
|
},
|
|
394
371
|
{
|
|
395
372
|
"name": "selectedValue",
|
|
@@ -448,18 +425,18 @@
|
|
|
448
425
|
]
|
|
449
426
|
},
|
|
450
427
|
{
|
|
451
|
-
"name": "
|
|
452
|
-
"slug": "
|
|
428
|
+
"name": "SingleSelectResult",
|
|
429
|
+
"slug": "singleselectresult",
|
|
453
430
|
"docs": "",
|
|
454
431
|
"tags": [],
|
|
455
432
|
"methods": [],
|
|
456
433
|
"properties": [
|
|
457
434
|
{
|
|
458
|
-
"name": "
|
|
435
|
+
"name": "value",
|
|
459
436
|
"tags": [],
|
|
460
|
-
"docs": "The
|
|
437
|
+
"docs": "The value of the selected option, or `null` if cancelled.",
|
|
461
438
|
"complexTypes": [],
|
|
462
|
-
"type": "string
|
|
439
|
+
"type": "string | null"
|
|
463
440
|
},
|
|
464
441
|
{
|
|
465
442
|
"name": "cancelled",
|
|
@@ -484,14 +461,14 @@
|
|
|
484
461
|
"complexTypes": [
|
|
485
462
|
"SelectOption"
|
|
486
463
|
],
|
|
487
|
-
"type": "
|
|
464
|
+
"type": "{}"
|
|
488
465
|
},
|
|
489
466
|
{
|
|
490
467
|
"name": "selectedValues",
|
|
491
468
|
"tags": [],
|
|
492
469
|
"docs": "Values of the initially selected options.",
|
|
493
470
|
"complexTypes": [],
|
|
494
|
-
"type": "
|
|
471
|
+
"type": "{} | undefined"
|
|
495
472
|
},
|
|
496
473
|
{
|
|
497
474
|
"name": "okButtonTitle",
|
|
@@ -520,16 +497,23 @@
|
|
|
520
497
|
]
|
|
521
498
|
},
|
|
522
499
|
{
|
|
523
|
-
"name": "
|
|
524
|
-
"slug": "
|
|
500
|
+
"name": "MultiSelectResult",
|
|
501
|
+
"slug": "multiselectresult",
|
|
525
502
|
"docs": "",
|
|
526
503
|
"tags": [],
|
|
527
504
|
"methods": [],
|
|
528
505
|
"properties": [
|
|
529
506
|
{
|
|
530
|
-
"name": "
|
|
507
|
+
"name": "values",
|
|
531
508
|
"tags": [],
|
|
532
|
-
"docs": "
|
|
509
|
+
"docs": "The values of the selected options. Empty array if cancelled.",
|
|
510
|
+
"complexTypes": [],
|
|
511
|
+
"type": "{}"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "cancelled",
|
|
515
|
+
"tags": [],
|
|
516
|
+
"docs": "Whether the user cancelled the dialog.",
|
|
533
517
|
"complexTypes": [],
|
|
534
518
|
"type": "boolean"
|
|
535
519
|
}
|
|
@@ -570,7 +554,7 @@
|
|
|
570
554
|
"complexTypes": [
|
|
571
555
|
"SheetRow"
|
|
572
556
|
],
|
|
573
|
-
"type": "
|
|
557
|
+
"type": "{}"
|
|
574
558
|
},
|
|
575
559
|
{
|
|
576
560
|
"name": "confirmButtonTitle",
|
|
@@ -628,8 +612,8 @@
|
|
|
628
612
|
]
|
|
629
613
|
},
|
|
630
614
|
{
|
|
631
|
-
"name": "
|
|
632
|
-
"slug": "
|
|
615
|
+
"name": "SheetResult",
|
|
616
|
+
"slug": "sheetresult",
|
|
633
617
|
"docs": "",
|
|
634
618
|
"tags": [],
|
|
635
619
|
"methods": [],
|
|
@@ -702,6 +686,22 @@
|
|
|
702
686
|
"type": "DialogMode"
|
|
703
687
|
}
|
|
704
688
|
]
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "MessageSheetResult",
|
|
692
|
+
"slug": "messagesheetresult",
|
|
693
|
+
"docs": "",
|
|
694
|
+
"tags": [],
|
|
695
|
+
"methods": [],
|
|
696
|
+
"properties": [
|
|
697
|
+
{
|
|
698
|
+
"name": "confirmed",
|
|
699
|
+
"tags": [],
|
|
700
|
+
"docs": "True if confirmed, false if cancelled",
|
|
701
|
+
"complexTypes": [],
|
|
702
|
+
"type": "boolean"
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
705
|
}
|
|
706
706
|
],
|
|
707
707
|
"enums": [],
|
package/package.json
CHANGED