@progress/kendo-vue-dialogs 8.0.3-develop.2 → 8.0.3-develop.4
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/Dialog.d.ts +158 -0
- package/DialogActionsBar.d.ts +76 -0
- package/DialogTitleBar.d.ts +61 -0
- package/StageEnum.d.ts +12 -0
- package/Window.d.ts +218 -0
- package/WindowProps.d.ts +157 -0
- package/WindowResizeHandlers.d.ts +28 -0
- package/WindowTitlebar.d.ts +111 -0
- package/constants.d.ts +9 -0
- package/dist/cdn/js/kendo-vue-dialogs.js +1 -1
- package/events.d.ts +41 -0
- package/index.d.mts +6 -596
- package/index.d.ts +6 -596
- package/messages/main.d.ts +32 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -7
package/index.d.mts
CHANGED
|
@@ -5,599 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare const Dialog: DefineComponent<ExtractPropTypes< {
|
|
19
|
-
appendTo: PropType<string>;
|
|
20
|
-
title: PropType<any>;
|
|
21
|
-
titleRender: PropType<string | boolean | object | Function>;
|
|
22
|
-
id: PropType<string>;
|
|
23
|
-
wrapperId: PropType<string>;
|
|
24
|
-
dir: PropType<string>;
|
|
25
|
-
closeIcon: {
|
|
26
|
-
type: PropType<boolean>;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
width: PropType<string | number>;
|
|
30
|
-
height: PropType<string | number>;
|
|
31
|
-
minWidth: PropType<string | number>;
|
|
32
|
-
className: PropType<string>;
|
|
33
|
-
dialogClass: PropType<string>;
|
|
34
|
-
themeColor: {
|
|
35
|
-
type: PropType<string>;
|
|
36
|
-
validator: (value: any) => any;
|
|
37
|
-
};
|
|
38
|
-
onClose: PropType<(event: DialogCloseEvent) => void>;
|
|
39
|
-
}>, {}, {
|
|
40
|
-
showLicenseWatermark: boolean;
|
|
41
|
-
licenseMessage: any;
|
|
42
|
-
}, {
|
|
43
|
-
wrapperClass(): {
|
|
44
|
-
[x: number]: any;
|
|
45
|
-
'k-dialog-wrapper': boolean;
|
|
46
|
-
};
|
|
47
|
-
dialogElementClass(): {
|
|
48
|
-
[x: string]: any;
|
|
49
|
-
[x: number]: any;
|
|
50
|
-
'k-window': boolean;
|
|
51
|
-
'k-dialog': boolean;
|
|
52
|
-
};
|
|
53
|
-
}, {
|
|
54
|
-
handleCloseDialog(event: any): void;
|
|
55
|
-
handleKeyDown(event: any): void;
|
|
56
|
-
transformDimesion(initialValue: string | number | undefined): string;
|
|
57
|
-
getActionBarIndex(children: any): any;
|
|
58
|
-
generateTitleId(): string;
|
|
59
|
-
generateContentId(): string;
|
|
60
|
-
handleClick(e: any): void;
|
|
61
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
62
|
-
close: (event: DialogCloseEvent) => true;
|
|
63
|
-
overlayclick: any;
|
|
64
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
65
|
-
appendTo: PropType<string>;
|
|
66
|
-
title: PropType<any>;
|
|
67
|
-
titleRender: PropType<string | boolean | object | Function>;
|
|
68
|
-
id: PropType<string>;
|
|
69
|
-
wrapperId: PropType<string>;
|
|
70
|
-
dir: PropType<string>;
|
|
71
|
-
closeIcon: {
|
|
72
|
-
type: PropType<boolean>;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
width: PropType<string | number>;
|
|
76
|
-
height: PropType<string | number>;
|
|
77
|
-
minWidth: PropType<string | number>;
|
|
78
|
-
className: PropType<string>;
|
|
79
|
-
dialogClass: PropType<string>;
|
|
80
|
-
themeColor: {
|
|
81
|
-
type: PropType<string>;
|
|
82
|
-
validator: (value: any) => any;
|
|
83
|
-
};
|
|
84
|
-
onClose: PropType<(event: DialogCloseEvent) => void>;
|
|
85
|
-
}>> & Readonly<{
|
|
86
|
-
onClose?: (event: DialogCloseEvent) => any;
|
|
87
|
-
onOverlayclick?: (...args: any[] | unknown[]) => any;
|
|
88
|
-
}>, {
|
|
89
|
-
closeIcon: boolean;
|
|
90
|
-
}, {}, {}, {}, string, () => {
|
|
91
|
-
kCurrentZIndex: number;
|
|
92
|
-
}, true, {}, any>;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @hidden
|
|
96
|
-
*/
|
|
97
|
-
export declare const DialogActionsBar: DefineComponent<ExtractPropTypes< {
|
|
98
|
-
layout: {
|
|
99
|
-
type: PropType<string>;
|
|
100
|
-
default: string;
|
|
101
|
-
validator: (value: string) => any;
|
|
102
|
-
};
|
|
103
|
-
orientation: {
|
|
104
|
-
type: PropType<string>;
|
|
105
|
-
default: string;
|
|
106
|
-
validator: (value: string) => any;
|
|
107
|
-
};
|
|
108
|
-
}>, {}, {}, {
|
|
109
|
-
wrapperClasses(): {
|
|
110
|
-
[x: string]: any;
|
|
111
|
-
'k-actions': boolean;
|
|
112
|
-
'k-dialog-actions': boolean;
|
|
113
|
-
'k-window-actions': boolean;
|
|
114
|
-
};
|
|
115
|
-
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
116
|
-
layout: {
|
|
117
|
-
type: PropType<string>;
|
|
118
|
-
default: string;
|
|
119
|
-
validator: (value: string) => any;
|
|
120
|
-
};
|
|
121
|
-
orientation: {
|
|
122
|
-
type: PropType<string>;
|
|
123
|
-
default: string;
|
|
124
|
-
validator: (value: string) => any;
|
|
125
|
-
};
|
|
126
|
-
}>> & Readonly<{}>, {
|
|
127
|
-
orientation: string;
|
|
128
|
-
layout: string;
|
|
129
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @hidden
|
|
133
|
-
*/
|
|
134
|
-
export declare interface DialogCloseEvent {
|
|
135
|
-
/**
|
|
136
|
-
* An event target.
|
|
137
|
-
*/
|
|
138
|
-
target: any;
|
|
139
|
-
/**
|
|
140
|
-
* A native DOM event.
|
|
141
|
-
*/
|
|
142
|
-
event: any;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Represents the props of the [KendoVue Dialog component]({% slug overview_dialog %}).
|
|
147
|
-
*/
|
|
148
|
-
export declare interface DialogProps {
|
|
149
|
-
/**
|
|
150
|
-
* Defines the string selector to the element to which the Dialog will be appended. Defaults to its parent element.
|
|
151
|
-
*/
|
|
152
|
-
appendTo?: string;
|
|
153
|
-
/**
|
|
154
|
-
* Sets the title of the Dialog ([see example]({% slug title_dialog %})). If `title` is not specified, the Dialog does not render a **Close** button.
|
|
155
|
-
*/
|
|
156
|
-
title?: string | any;
|
|
157
|
-
/**
|
|
158
|
-
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
159
|
-
*/
|
|
160
|
-
titleRender?: string | Function | object | boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Sets a class of the Dialog DOM element.
|
|
163
|
-
*/
|
|
164
|
-
className?: string;
|
|
165
|
-
/**
|
|
166
|
-
* Specifies whether a close button should be rendered at the top corner of the dialog.
|
|
167
|
-
*/
|
|
168
|
-
closeIcon?: boolean;
|
|
169
|
-
/**
|
|
170
|
-
* Specifies the width of the Dialog ([see example]({% slug dimensions_dialog %})).
|
|
171
|
-
*/
|
|
172
|
-
width?: number | string;
|
|
173
|
-
/**
|
|
174
|
-
* Specifies the height of the Dialog ([see example]({% slug dimensions_dialog %})).
|
|
175
|
-
*/
|
|
176
|
-
height?: number | string;
|
|
177
|
-
/**
|
|
178
|
-
* Specifies the minimum width of the Dialog.
|
|
179
|
-
*/
|
|
180
|
-
minWidth?: number | string;
|
|
181
|
-
/**
|
|
182
|
-
* Specifies the theme color of the Dialog. The available options are `primary`, `dark`, and `light`.
|
|
183
|
-
*/
|
|
184
|
-
themeColor?: 'primary' | 'dark' | 'light' | string;
|
|
185
|
-
/**
|
|
186
|
-
* Fires when the **Close** button in the title is clicked or when the `Esc` button is pressed.
|
|
187
|
-
*/
|
|
188
|
-
onClose?: (event: DialogCloseEvent) => void;
|
|
189
|
-
/**
|
|
190
|
-
* Fires when modal overlay of the Window is clicked.
|
|
191
|
-
*/
|
|
192
|
-
onOverlayclick?: (event: any) => void;
|
|
193
|
-
/**
|
|
194
|
-
* Sets the `aria-labelledby` value.
|
|
195
|
-
*/
|
|
196
|
-
id?: string;
|
|
197
|
-
/**
|
|
198
|
-
* Sets the `id` of the wrapper element.
|
|
199
|
-
*/
|
|
200
|
-
wrapperId?: string;
|
|
201
|
-
/**
|
|
202
|
-
* Represents the `dir` HTML attribute.
|
|
203
|
-
*/
|
|
204
|
-
dir?: string;
|
|
205
|
-
/**
|
|
206
|
-
* The styles that are applied to the Dialog.
|
|
207
|
-
*/
|
|
208
|
-
style?: any;
|
|
209
|
-
/**
|
|
210
|
-
* The styles that are applied to the content of the Dialog.
|
|
211
|
-
*/
|
|
212
|
-
contentStyle?: any;
|
|
213
|
-
dialogClass?: string;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* @hidden
|
|
218
|
-
*/
|
|
219
|
-
declare const Window_2: DefineComponent<ExtractPropTypes< {
|
|
220
|
-
id: PropType<string>;
|
|
221
|
-
appendTo: PropType<string>;
|
|
222
|
-
width: {
|
|
223
|
-
type: PropType<number>;
|
|
224
|
-
default: any;
|
|
225
|
-
};
|
|
226
|
-
height: {
|
|
227
|
-
type: PropType<number>;
|
|
228
|
-
default: any;
|
|
229
|
-
};
|
|
230
|
-
left: {
|
|
231
|
-
type: PropType<number>;
|
|
232
|
-
default: any;
|
|
233
|
-
};
|
|
234
|
-
windowStyle: PropType<object>;
|
|
235
|
-
windowClass: PropType<string>;
|
|
236
|
-
top: {
|
|
237
|
-
type: PropType<number>;
|
|
238
|
-
default: any;
|
|
239
|
-
};
|
|
240
|
-
initialWidth: PropType<number>;
|
|
241
|
-
initialHeight: PropType<number>;
|
|
242
|
-
initialLeft: PropType<number>;
|
|
243
|
-
initialTop: PropType<number>;
|
|
244
|
-
minWidth: {
|
|
245
|
-
type: PropType<number>;
|
|
246
|
-
default: number;
|
|
247
|
-
};
|
|
248
|
-
minHeight: {
|
|
249
|
-
type: PropType<number>;
|
|
250
|
-
default: number;
|
|
251
|
-
};
|
|
252
|
-
resizable: {
|
|
253
|
-
type: PropType<boolean>;
|
|
254
|
-
default: boolean;
|
|
255
|
-
};
|
|
256
|
-
draggable: {
|
|
257
|
-
type: PropType<boolean>;
|
|
258
|
-
default: boolean;
|
|
259
|
-
};
|
|
260
|
-
modal: {
|
|
261
|
-
type: PropType<boolean>;
|
|
262
|
-
default: boolean;
|
|
263
|
-
};
|
|
264
|
-
doubleClickStageChange: {
|
|
265
|
-
type: PropType<boolean>;
|
|
266
|
-
default: boolean;
|
|
267
|
-
};
|
|
268
|
-
title: PropType<any>;
|
|
269
|
-
titleRender: PropType<string | object | Function>;
|
|
270
|
-
closeButton: PropType<string | boolean | object | Function>;
|
|
271
|
-
minimizeButton: PropType<string | boolean | object | Function>;
|
|
272
|
-
maximizeButton: PropType<string | boolean | object | Function>;
|
|
273
|
-
restoreButton: PropType<string | boolean | object | Function>;
|
|
274
|
-
shouldUpdateOnDrag: PropType<boolean>;
|
|
275
|
-
stage: {
|
|
276
|
-
type: PropType<string>;
|
|
277
|
-
validator: (value: string) => boolean;
|
|
278
|
-
};
|
|
279
|
-
themeColor: {
|
|
280
|
-
type: PropType<string>;
|
|
281
|
-
validator: (value: any) => any;
|
|
282
|
-
};
|
|
283
|
-
dir: PropType<string>;
|
|
284
|
-
}>, {}, {
|
|
285
|
-
currentStage: string;
|
|
286
|
-
isDragging: boolean;
|
|
287
|
-
currentTop: any;
|
|
288
|
-
currentLeft: any;
|
|
289
|
-
currentWidth: any;
|
|
290
|
-
currentHeight: any;
|
|
291
|
-
titleId: any;
|
|
292
|
-
showLicenseWatermark: boolean;
|
|
293
|
-
licenseMessage: any;
|
|
294
|
-
}, {
|
|
295
|
-
wrapperClass(): {
|
|
296
|
-
'k-dialog-wrapper': any;
|
|
297
|
-
};
|
|
298
|
-
windowElementClass(): {
|
|
299
|
-
[x: string]: any;
|
|
300
|
-
[x: number]: any;
|
|
301
|
-
'k-window': boolean;
|
|
302
|
-
'k-window-minimized': boolean;
|
|
303
|
-
};
|
|
304
|
-
computedTop(): number;
|
|
305
|
-
computedLeft(): number;
|
|
306
|
-
computedWidth(): number;
|
|
307
|
-
computedHeight(): number;
|
|
308
|
-
windowStage(): windowStage | string;
|
|
309
|
-
}, {
|
|
310
|
-
onPress(event: any): void;
|
|
311
|
-
onDrag(event: any): void;
|
|
312
|
-
onRelease(event: any): void;
|
|
313
|
-
handleKeyDown(event: any): void;
|
|
314
|
-
getInitialTop(): any;
|
|
315
|
-
getInitialLeft(): any;
|
|
316
|
-
getInitialWidth(): number;
|
|
317
|
-
getInitialHeight(): number;
|
|
318
|
-
handleMinimize(event: any): void;
|
|
319
|
-
handleFullscreen(event: any): void;
|
|
320
|
-
handleRestore(event: any): void;
|
|
321
|
-
handleCloseWindow(event: any): void;
|
|
322
|
-
handleDoubleClick(e: any): void;
|
|
323
|
-
handleResize(event: any, props: {
|
|
324
|
-
end: boolean;
|
|
325
|
-
direction: string;
|
|
326
|
-
}): void;
|
|
327
|
-
dispatchMoveEvent(eventName: string, event: any, drag: boolean, end: boolean | undefined): void;
|
|
328
|
-
handleBrowserWindowResize(): void;
|
|
329
|
-
handleClick(e: any): void;
|
|
330
|
-
getActionBarIndex(children: any): any;
|
|
331
|
-
generateTitleId(): string;
|
|
332
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
333
|
-
resize: (event: WindowMoveEvent) => true;
|
|
334
|
-
move: (event: WindowMoveEvent) => true;
|
|
335
|
-
close: (event: WindowActionsEvent) => true;
|
|
336
|
-
stagechange: (event: WindowActionsEvent) => true;
|
|
337
|
-
overlayclick: any;
|
|
338
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
339
|
-
id: PropType<string>;
|
|
340
|
-
appendTo: PropType<string>;
|
|
341
|
-
width: {
|
|
342
|
-
type: PropType<number>;
|
|
343
|
-
default: any;
|
|
344
|
-
};
|
|
345
|
-
height: {
|
|
346
|
-
type: PropType<number>;
|
|
347
|
-
default: any;
|
|
348
|
-
};
|
|
349
|
-
left: {
|
|
350
|
-
type: PropType<number>;
|
|
351
|
-
default: any;
|
|
352
|
-
};
|
|
353
|
-
windowStyle: PropType<object>;
|
|
354
|
-
windowClass: PropType<string>;
|
|
355
|
-
top: {
|
|
356
|
-
type: PropType<number>;
|
|
357
|
-
default: any;
|
|
358
|
-
};
|
|
359
|
-
initialWidth: PropType<number>;
|
|
360
|
-
initialHeight: PropType<number>;
|
|
361
|
-
initialLeft: PropType<number>;
|
|
362
|
-
initialTop: PropType<number>;
|
|
363
|
-
minWidth: {
|
|
364
|
-
type: PropType<number>;
|
|
365
|
-
default: number;
|
|
366
|
-
};
|
|
367
|
-
minHeight: {
|
|
368
|
-
type: PropType<number>;
|
|
369
|
-
default: number;
|
|
370
|
-
};
|
|
371
|
-
resizable: {
|
|
372
|
-
type: PropType<boolean>;
|
|
373
|
-
default: boolean;
|
|
374
|
-
};
|
|
375
|
-
draggable: {
|
|
376
|
-
type: PropType<boolean>;
|
|
377
|
-
default: boolean;
|
|
378
|
-
};
|
|
379
|
-
modal: {
|
|
380
|
-
type: PropType<boolean>;
|
|
381
|
-
default: boolean;
|
|
382
|
-
};
|
|
383
|
-
doubleClickStageChange: {
|
|
384
|
-
type: PropType<boolean>;
|
|
385
|
-
default: boolean;
|
|
386
|
-
};
|
|
387
|
-
title: PropType<any>;
|
|
388
|
-
titleRender: PropType<string | object | Function>;
|
|
389
|
-
closeButton: PropType<string | boolean | object | Function>;
|
|
390
|
-
minimizeButton: PropType<string | boolean | object | Function>;
|
|
391
|
-
maximizeButton: PropType<string | boolean | object | Function>;
|
|
392
|
-
restoreButton: PropType<string | boolean | object | Function>;
|
|
393
|
-
shouldUpdateOnDrag: PropType<boolean>;
|
|
394
|
-
stage: {
|
|
395
|
-
type: PropType<string>;
|
|
396
|
-
validator: (value: string) => boolean;
|
|
397
|
-
};
|
|
398
|
-
themeColor: {
|
|
399
|
-
type: PropType<string>;
|
|
400
|
-
validator: (value: any) => any;
|
|
401
|
-
};
|
|
402
|
-
dir: PropType<string>;
|
|
403
|
-
}>> & Readonly<{
|
|
404
|
-
onClose?: (event: WindowActionsEvent) => any;
|
|
405
|
-
onResize?: (event: WindowMoveEvent) => any;
|
|
406
|
-
onOverlayclick?: (...args: any[] | unknown[]) => any;
|
|
407
|
-
onMove?: (event: WindowMoveEvent) => any;
|
|
408
|
-
onStagechange?: (event: WindowActionsEvent) => any;
|
|
409
|
-
}>, {
|
|
410
|
-
draggable: boolean;
|
|
411
|
-
height: number;
|
|
412
|
-
width: number;
|
|
413
|
-
left: number;
|
|
414
|
-
top: number;
|
|
415
|
-
minWidth: number;
|
|
416
|
-
minHeight: number;
|
|
417
|
-
resizable: boolean;
|
|
418
|
-
modal: boolean;
|
|
419
|
-
doubleClickStageChange: boolean;
|
|
420
|
-
}, {}, {}, {}, string, () => {
|
|
421
|
-
kCurrentZIndex: number;
|
|
422
|
-
}, true, {}, any>;
|
|
423
|
-
export { Window_2 as Window }
|
|
424
|
-
|
|
425
|
-
export declare interface WindowActionsEvent {
|
|
426
|
-
state?: 'DEFAULT' | 'FULLSCREEN' | 'MINIMIZED';
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
export declare interface WindowMoveEvent {
|
|
430
|
-
/**
|
|
431
|
-
* An event target.
|
|
432
|
-
*/
|
|
433
|
-
target: Window;
|
|
434
|
-
/**
|
|
435
|
-
* A native DOM event.
|
|
436
|
-
*/
|
|
437
|
-
event: any;
|
|
438
|
-
/**
|
|
439
|
-
* Indicates that dragging is completed and that the user dropped the resize handler.
|
|
440
|
-
*/
|
|
441
|
-
end: boolean;
|
|
442
|
-
/**
|
|
443
|
-
* Indicates that the move operation was initialized through dragging. If the Window is moved through the keyboard, the value will be `false`.
|
|
444
|
-
*/
|
|
445
|
-
drag: boolean;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* Represents the props of the [Window component]({% slug overview_window %}).
|
|
450
|
-
*/
|
|
451
|
-
export declare interface WindowProps {
|
|
452
|
-
/**
|
|
453
|
-
* The id of the window.
|
|
454
|
-
*/
|
|
455
|
-
id?: string;
|
|
456
|
-
/**
|
|
457
|
-
* Defines the string selector to the element to which the Window will be appended. Defaults to its parent element.
|
|
458
|
-
*/
|
|
459
|
-
appendTo?: string;
|
|
460
|
-
/**
|
|
461
|
-
* Acccepts a named slot `string`, functional or class component for the close button. If set to `false` the button is not rendered.
|
|
462
|
-
*
|
|
463
|
-
* @default true
|
|
464
|
-
*/
|
|
465
|
-
closeButton?: string | Function | object | boolean;
|
|
466
|
-
/**
|
|
467
|
-
* Specifies if the Window stage will change on title double click. The this is on by default.
|
|
468
|
-
*/
|
|
469
|
-
doubleClickStageChange?: boolean;
|
|
470
|
-
/**
|
|
471
|
-
* Specifies if the Window will be draggable ([see example]({% slug positioningdragging_window %}#toc-dragging)).
|
|
472
|
-
*/
|
|
473
|
-
draggable?: boolean;
|
|
474
|
-
/**
|
|
475
|
-
* Specifies the height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)).
|
|
476
|
-
*/
|
|
477
|
-
height?: number;
|
|
478
|
-
/**
|
|
479
|
-
* Specifies the initial `left` value ([see example]({% slug positioningdragging_window %}#toc-positioning)). The Window will be in an uncontrolled mode.
|
|
480
|
-
*/
|
|
481
|
-
initialLeft?: number;
|
|
482
|
-
/**
|
|
483
|
-
* Specifies the initial `top` value ([see example]({% slug positioningdragging_window %}#toc-positioning)). The component will be in an uncontrolled mode.
|
|
484
|
-
*/
|
|
485
|
-
initialTop?: number;
|
|
486
|
-
/**
|
|
487
|
-
* Specifies the initial width of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)). The component will be in an uncontrolled mode.
|
|
488
|
-
*/
|
|
489
|
-
initialWidth?: number;
|
|
490
|
-
/**
|
|
491
|
-
* Specifies the initial height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)). The component will be in an uncontrolled mode.
|
|
492
|
-
*/
|
|
493
|
-
initialHeight?: number;
|
|
494
|
-
/**
|
|
495
|
-
* Specifies the left coordinates of the Window.
|
|
496
|
-
*/
|
|
497
|
-
left?: number;
|
|
498
|
-
windowStyle?: object;
|
|
499
|
-
windowClass?: string;
|
|
500
|
-
/**
|
|
501
|
-
* Acccepts a named slot `string`, functional or class component for the maximize button. If set to `false` the button is not rendered.
|
|
502
|
-
*
|
|
503
|
-
* @default true
|
|
504
|
-
*/
|
|
505
|
-
maximizeButton?: string | Function | object | boolean;
|
|
506
|
-
/**
|
|
507
|
-
* Specifies the minimum height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
508
|
-
*/
|
|
509
|
-
minHeight?: number;
|
|
510
|
-
/**
|
|
511
|
-
* Specifies the minimum width of the Window ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
512
|
-
*/
|
|
513
|
-
minWidth?: number;
|
|
514
|
-
/**
|
|
515
|
-
* Acccepts a named slot `string`, functional or class component for the minimize button. If set to `false` the button is not rendered.
|
|
516
|
-
*
|
|
517
|
-
* @default true
|
|
518
|
-
*/
|
|
519
|
-
minimizeButton?: string | Function | object | boolean;
|
|
520
|
-
/**
|
|
521
|
-
* Specifies if the Window will be modal by rendering an overlay under the component.
|
|
522
|
-
*/
|
|
523
|
-
modal?: boolean;
|
|
524
|
-
/**
|
|
525
|
-
* Specifies if the Window will be resizable ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
526
|
-
*/
|
|
527
|
-
resizable?: boolean;
|
|
528
|
-
/**
|
|
529
|
-
* Specifies the theme color of the Dialog.
|
|
530
|
-
*/
|
|
531
|
-
themeColor?: 'promary' | 'dark' | 'light' | string;
|
|
532
|
-
/**
|
|
533
|
-
* Acccepts a named slot `string`, functional or class component for the restore button. If set to `false` the button is not rendered.
|
|
534
|
-
*
|
|
535
|
-
* @default true
|
|
536
|
-
*/
|
|
537
|
-
restoreButton?: string | Function | object | boolean;
|
|
538
|
-
/**
|
|
539
|
-
* Specifies if the Window content will update during resizing.
|
|
540
|
-
*/
|
|
541
|
-
shouldUpdateOnDrag?: boolean;
|
|
542
|
-
/**
|
|
543
|
-
* Specifies the title of the Window ([see example]({% slug title_window %})).
|
|
544
|
-
*/
|
|
545
|
-
title?: string | any;
|
|
546
|
-
/**
|
|
547
|
-
* Acccepts a named slot `string`, functional or class component for the title render.
|
|
548
|
-
*/
|
|
549
|
-
titleRender?: string | Function | object;
|
|
550
|
-
/**
|
|
551
|
-
* Specifies the top coordinates of the Window.
|
|
552
|
-
*/
|
|
553
|
-
top?: number;
|
|
554
|
-
/**
|
|
555
|
-
* Specifies the width of the Window.
|
|
556
|
-
*/
|
|
557
|
-
width?: number;
|
|
558
|
-
/**
|
|
559
|
-
* Controls the state of the Window ([see example]({% slug windowstage_window %})).
|
|
560
|
-
*
|
|
561
|
-
* The supported values are:
|
|
562
|
-
* * `DEFAULT`
|
|
563
|
-
* * `MINIMIZED`
|
|
564
|
-
* * `FULLSCREEN`
|
|
565
|
-
*/
|
|
566
|
-
stage?: windowStage | string;
|
|
567
|
-
/**
|
|
568
|
-
* Specifies the direction of the Window content.
|
|
569
|
-
*
|
|
570
|
-
* The supported values are:
|
|
571
|
-
* * `"ltr"`
|
|
572
|
-
* * `"rtl"`
|
|
573
|
-
*/
|
|
574
|
-
dir?: string;
|
|
575
|
-
/**
|
|
576
|
-
* Fires when the **Close** button in the title is clicked or when the `Esc` button is pressed.
|
|
577
|
-
*/
|
|
578
|
-
onClose?: (event: WindowActionsEvent) => void;
|
|
579
|
-
/**
|
|
580
|
-
* Fires when the Window is dragged.
|
|
581
|
-
*/
|
|
582
|
-
onMove?: (event: WindowMoveEvent) => void;
|
|
583
|
-
/**
|
|
584
|
-
* Fires when the `DEFAULT`, `FULLSCREEN`, or `MINIMIZED` state of the Window is changed.
|
|
585
|
-
*/
|
|
586
|
-
onStagechange?: (event: WindowActionsEvent) => void;
|
|
587
|
-
/**
|
|
588
|
-
* Fires when the Window resizes.
|
|
589
|
-
*/
|
|
590
|
-
onResize?: (event: WindowMoveEvent) => void;
|
|
591
|
-
/**
|
|
592
|
-
* Fires when modal overlay of the Window is clicked.
|
|
593
|
-
*/
|
|
594
|
-
onOverlayclick?: (event: any) => void;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
declare enum windowStage {
|
|
598
|
-
DEFAULT = "DEFAULT",
|
|
599
|
-
FULLSCREEN = "FULLSCREEN",
|
|
600
|
-
MINIMIZED = "MINIMIZED"
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
export { }
|
|
8
|
+
import { Dialog, DialogProps } from './Dialog.js';
|
|
9
|
+
import { DialogActionsBar } from './DialogActionsBar.js';
|
|
10
|
+
import { Window } from './Window.js';
|
|
11
|
+
import { WindowProps } from './WindowProps.js';
|
|
12
|
+
import { DialogCloseEvent, WindowActionsEvent, WindowMoveEvent } from './events.js';
|
|
13
|
+
export { Dialog, type DialogProps, DialogActionsBar, type DialogCloseEvent, Window, type WindowProps, type WindowActionsEvent, type WindowMoveEvent };
|