@progress/kendo-react-dialogs 13.3.0 → 13.4.0-develop.1

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/index.d.ts CHANGED
@@ -5,828 +5,12 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { BaseEvent } from '@progress/kendo-react-common';
9
- import { default as default_2 } from 'prop-types';
10
- import { Draggable } from '@progress/kendo-react-common';
11
- import { JSX } from 'react/jsx-runtime';
12
- import * as React_2 from 'react';
13
- import { ZIndexContext } from '@progress/kendo-react-common';
14
- import { ZIndexContextType } from '@progress/kendo-react-common';
15
-
16
- /**
17
- * Lists the possible layout of the dialogs action buttons.
18
- */
19
- export declare type ActionsLayout = 'start' | 'center' | 'end' | 'stretched';
20
-
21
- /**
22
- * Represents the [KendoReact Dialog component](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog).
23
- *
24
- * Accepts properties of type [DialogProps](https://www.telerik.com/kendo-react-ui/components/dialogs/api/dialogprops).
25
- * Obtaining the `ref` returns an object of type [DialogHandle](https://www.telerik.com/kendo-react-ui/components/dialogs/api/dialoghandle).
26
- *
27
- * @remarks
28
- * Supported children components are: {@link DialogActionsBar}.
29
- */
30
- export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<DialogHandle | null>>;
31
-
32
- /**
33
- * Returns the action bar of the Dialog.
34
- *
35
- * @returns React.ReactElement
36
- */
37
- export declare const DialogActionsBar: React_2.FunctionComponent<DialogActionsBarProps>;
38
-
39
- /**
40
- * Represents the props of the [KendoReact DialogActionsBar component](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog).
41
- */
42
- declare interface DialogActionsBarProps {
43
- /**
44
- * Specifies the possible layouts of the action buttons ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog/action-buttons)). Defaults to `stretched`.
45
- */
46
- layout?: ActionsLayout;
47
- /**
48
- * @hidden
49
- */
50
- children?: any;
51
- }
52
-
53
- /**
54
- * @hidden
55
- */
56
- export declare interface DialogCloseEvent extends BaseEvent<DialogHandle> {
57
- }
58
-
59
- /**
60
- * Represent the `ref` of the Dialog component.
61
- */
62
- export declare interface DialogHandle {
63
- /**
64
- * The current element or `null` if there is no one.
65
- */
66
- element: HTMLDivElement | null;
67
- /**
68
- * The props of the Dialog component.
69
- */
70
- props: DialogProps;
71
- }
72
-
73
- /**
74
- * Represents the props of the [KendoReact Dialog component](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog).
75
- */
76
- export declare interface DialogProps {
77
- /**
78
- * Set the focus the Dialog container automatically when mounted.
79
- *
80
- * @default false
81
- *
82
- * @example
83
- * ```jsx
84
- * <Dialog autoFocus={true} />
85
- * ```
86
- */
87
- autoFocus?: boolean;
88
- /**
89
- * Specifies the query selector used to set the initial focus ([see examples](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog/initial-focus)).
90
- *
91
- * @example
92
- * ```jsx
93
- * <Dialog autoFocusedElement="#input-id" />
94
- * ```
95
- */
96
- autoFocusedElement?: string;
97
- /**
98
- * Sets the title of the Dialog ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog/title)). If you do not specify the `title`, the Dialog does not render a **Close** button.
99
- *
100
- * @example
101
- * ```jsx
102
- * <Dialog title="Dialog Title" />
103
- * ```
104
- */
105
- title?: string | React.ReactElement<any>;
106
- /**
107
- * Sets a class of the Dialog DOM element.
108
- *
109
- * @example
110
- * ```jsx
111
- * <Dialog className="custom-class" />
112
- * ```
113
- */
114
- className?: string;
115
- /**
116
- * Specifies whether a close button should be rendered at the top corner of the dialog.
117
- *
118
- * @default true
119
- *
120
- * @example
121
- * ```jsx
122
- * <Dialog closeIcon={true} />
123
- * ```
124
- */
125
- closeIcon?: boolean;
126
- /**
127
- * Specifies if the Dialog will be modal by rendering an overlay under the component.
128
- *
129
- * @default true
130
- *
131
- * @example
132
- * ```jsx
133
- * <Dialog modal={false} />
134
- * ```
135
- */
136
- modal?: boolean;
137
- /**
138
- * Set styles to the Dialog overlay element rendered when the `modal` prop is enabled.
139
- *
140
- * @example
141
- * ```jsx
142
- * <Dialog overlayStyle={{ backgroundColor: 'rgba(0, 0, 0, 0.5)' }} />
143
- * ```
144
- */
145
- overlayStyle?: React.CSSProperties;
146
- /**
147
- * Specifies the width of the Dialog ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog/dimensions)).
148
- *
149
- * @example
150
- * ```jsx
151
- * <Dialog width="400px" />
152
- * ```
153
- */
154
- width?: number | string;
155
- /**
156
- * Specifies the height of the Dialog ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog/dimensions)).
157
- *
158
- * @example
159
- * ```jsx
160
- * <Dialog height="300px" />
161
- * ```
162
- */
163
- height?: number | string;
164
- /**
165
- * Specifies the minimum width of the Dialog.
166
- *
167
- * @example
168
- * ```jsx
169
- * <Dialog minWidth="200px" />
170
- * ```
171
- */
172
- minWidth?: number | string;
173
- /**
174
- * Fires when the **Close** button in the title is clicked or when the `Esc` button is pressed.
175
- *
176
- * @example
177
- * ```jsx
178
- * <Dialog onClose={(event) => console.log(event)} />
179
- * ```
180
- */
181
- onClose?: (event: DialogCloseEvent) => void;
182
- /**
183
- * @hidden
184
- */
185
- children?: React.ReactNode;
186
- /**
187
- * Sets the `aria-labelledby` value.
188
- *
189
- * @example
190
- * ```jsx
191
- * <Dialog id="dialog-id" />
192
- * ```
193
- */
194
- id?: string;
195
- /**
196
- * Represents the `dir` HTML attribute.
197
- *
198
- * @example
199
- * ```jsx
200
- * <Dialog dir="rtl" />
201
- * ```
202
- */
203
- dir?: string;
204
- /**
205
- * The styles that are applied to the Dialog.
206
- *
207
- * @example
208
- * ```jsx
209
- * <Dialog style={{ border: '1px solid black' }} />
210
- * ```
211
- */
212
- style?: React.CSSProperties;
213
- /**
214
- * The styles that are applied to the content of the Dialog.
215
- *
216
- * @example
217
- * ```jsx
218
- * <Dialog contentStyle={{ padding: '20px' }} />
219
- * ```
220
- */
221
- contentStyle?: React.CSSProperties;
222
- /**
223
- * Defines the container to which the Dialog will be appended.
224
- * * If set to `null` the Dialog will be rendered without React Portal.
225
- *
226
- * @default document.body
227
- *
228
- * @example
229
- * ```jsx
230
- * <Dialog appendTo={document.getElementById('container')} />
231
- * ```
232
- */
233
- appendTo?: any;
234
- /**
235
- * Configures the `themeColor` of the Dialog.
236
- *
237
- * The available options are:
238
- * - primary
239
- * - dark
240
- * - light
241
- *
242
- * @example
243
- * ```jsx
244
- * <Dialog themeColor="dark" />
245
- * ```
246
- */
247
- themeColor?: 'primary' | 'dark' | 'light';
248
- }
249
-
250
- /**
251
- * Represents the PropsContext of the `Dialog` component.
252
- * Used for global configuration of all `Dialog` instances.
253
- */
254
- export declare const DialogPropsContext: React_2.Context<(p: DialogProps) => DialogProps>;
255
-
256
- /** @hidden */
257
- declare type Window_2 = WindowHandle;
258
-
259
- /**
260
- * Represents the [KendoReact Window component](https://www.telerik.com/kendo-react-ui/components/dialogs/window).
261
- *
262
- * Accepts properties of type [WindowProps](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowprops).
263
- * Obtaining the `ref` returns an object of type [WindowHandle](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowhandle).
264
- *
265
- * @remarks
266
- * Supported children components are: {@link WindowActionsBar}.
267
- */
268
- declare const Window_2: React_2.ForwardRefExoticComponent<WindowProps & React_2.RefAttributes<any>>;
269
- export { Window_2 as Window }
270
-
271
- /**
272
- * Returns the action bar of the Window.
273
- *
274
- * @returns React.ReactElement
275
- */
276
- export declare const WindowActionsBar: React_2.FunctionComponent<WindowActionsBarProps>;
277
-
278
- /**
279
- * Represents the props of the [KendoReact WindowActionsBar component](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog).
280
- */
281
- declare interface WindowActionsBarProps {
282
- /**
283
- * Specifies the possible layouts of the action buttons ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/action-buttons)). Defaults to `end`.
284
- */
285
- layout?: ActionsLayout;
286
- /**
287
- * @hidden
288
- */
289
- children?: any;
290
- }
291
-
292
- export declare interface WindowActionsEvent extends BaseEvent<Window_2> {
293
- /**
294
- * The current stage state of the Window.
295
- */
296
- state?: 'DEFAULT' | 'FULLSCREEN' | 'MINIMIZED';
297
- }
298
-
299
- /**
300
- * Represent the `ref` of the Window component.
301
- */
302
- export declare interface WindowHandle extends Pick<WindowWithoutContext, keyof WindowWithoutContext> {
303
- /**
304
- * The Window element.
305
- */
306
- element?: HTMLDivElement | null;
307
- /**
308
- * **Deprecated.** Use `element` instead.
309
- */
310
- windowElement?: HTMLDivElement | null;
311
- }
312
-
313
- export declare interface WindowMoveEvent {
314
- /**
315
- * An event target.
316
- */
317
- target: Window_2;
318
- /**
319
- * A native DOM event.
320
- */
321
- nativeEvent: any;
322
- /**
323
- * Indicates that dragging is completed and that the user dropped the resize handler.
324
- */
325
- end: boolean;
326
- /**
327
- * Indicates that the move operation was initialized through dragging. If the Window is moved through the keyboard, the value will be `false`.
328
- */
329
- drag: boolean;
330
- /**
331
- * The new top value of the Window.
332
- */
333
- top: number;
334
- /**
335
- * The new left value of the Window.
336
- */
337
- left: number;
338
- /**
339
- * The new width value of the Window.
340
- */
341
- width: number;
342
- /**
343
- * The new height value of the Window.
344
- */
345
- height: number;
346
- }
347
-
348
- /**
349
- * Represents the props of the [KendoReact Window component](https://www.telerik.com/kendo-react-ui/components/dialogs/window).
350
- */
351
- export declare interface WindowProps {
352
- /**
353
- * Defines the container to which the Window will be appended. If set to `null`, the Window will be rendered without React Portal.
354
- *
355
- * @default parent element
356
- *
357
- * @example
358
- * ```jsx
359
- * <Window appendTo={document.body} />
360
- * ```
361
- */
362
- appendTo?: HTMLElement | null;
363
- /**
364
- * Focus the Window container automatically when mounted.
365
- *
366
- * @default true
367
- *
368
- * @example
369
- * ```jsx
370
- * <Window autoFocus={false} />
371
- * ```
372
- */
373
- autoFocus?: boolean;
374
- /**
375
- * @hidden
376
- */
377
- children?: React.ReactNode;
378
- /**
379
- * Specifies if the Window will render the close button.
380
- *
381
- * @example
382
- * ```jsx
383
- * <Window closeButton={CustomCloseButton} />
384
- * ```
385
- */
386
- closeButton?: React.ComponentType<any>;
387
- /**
388
- * Specifies if the Window stage will change on title double click.
389
- *
390
- * @default true
391
- *
392
- * @example
393
- * ```jsx
394
- * <Window doubleClickStageChange={false} />
395
- * ```
396
- */
397
- doubleClickStageChange?: boolean;
398
- /**
399
- * Specifies if the Window will be draggable ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/positioning-dragging#toc-dragging)).
400
- *
401
- * @default true
402
- *
403
- * @example
404
- * ```jsx
405
- * <Window draggable={true} />
406
- * ```
407
- */
408
- draggable?: boolean;
409
- /**
410
- * Specifies the height of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/dimensions-resizing#toc-dimensions)). When set to `null`, the window is automatically sized to fit its content.
411
- *
412
- * @example
413
- * ```jsx
414
- * <Window height={500} />
415
- * ```
416
- */
417
- height?: number | null;
418
- /**
419
- * Specifies the initial `left` value ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/positioning-dragging#toc-positioning)). The Window will be in an uncontrolled mode.
420
- *
421
- * @example
422
- * ```jsx
423
- * <Window initialLeft={100} />
424
- * ```
425
- */
426
- initialLeft?: number;
427
- /**
428
- * Specifies the initial `top` value ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/positioning-dragging#toc-positioning)). The component will be in an uncontrolled mode.
429
- *
430
- * @example
431
- * ```jsx
432
- * <Window initialTop={50} />
433
- * ```
434
- */
435
- initialTop?: number;
436
- /**
437
- * Specifies the initial width of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/dimensions-resizing#toc-dimensions)). The component will be in an uncontrolled mode.
438
- *
439
- * @example
440
- * ```jsx
441
- * <Window initialWidth={300} />
442
- * ```
443
- */
444
- initialWidth?: number;
445
- /**
446
- * Specifies the initial height of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/dimensions-resizing#toc-dimensions)). The component will be in an uncontrolled mode.
447
- *
448
- * @example
449
- * ```jsx
450
- * <Window initialHeight={200} />
451
- * ```
452
- */
453
- initialHeight?: number | null;
454
- /**
455
- * Specifies the left coordinates of the Window.
456
- *
457
- * @example
458
- * ```jsx
459
- * <Window left={150} />
460
- * ```
461
- */
462
- left?: number;
463
- /**
464
- * Specifies if the Window will render the maximize button.
465
- *
466
- * @example
467
- * ```jsx
468
- * <Window maximizeButton={CustomMaximizeButton} />
469
- * ```
470
- */
471
- maximizeButton?: React.ComponentType<any>;
472
- /**
473
- * Specifies the minimum height of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/dimensions-resizing#toc-resizing)).
474
- *
475
- * @default 100
476
- *
477
- * @example
478
- * ```jsx
479
- * <Window minHeight={100} />
480
- * ```
481
- */
482
- minHeight?: number;
483
- /**
484
- * Specifies the minimum width of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/dimensions-resizing#toc-resizing)).
485
- *
486
- * @default 120
487
- *
488
- * @example
489
- * ```jsx
490
- * <Window minWidth={100} />
491
- * ```
492
- */
493
- minWidth?: number;
494
- /**
495
- * Specifies if the Window will render the minimize button.
496
- *
497
- * @example
498
- * ```jsx
499
- * <Window minimizeButton={CustomMinimizeButton} />
500
- * ```
501
- */
502
- minimizeButton?: React.ComponentType<any>;
503
- /**
504
- * Specifies if the Window will be modal by rendering an overlay under the component.
505
- *
506
- * @default false
507
- *
508
- * @example
509
- * ```jsx
510
- * <Window modal={true} />
511
- * ```
512
- */
513
- modal?: boolean;
514
- /**
515
- * Specifies if the Window will be resizable ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/dimensions-resizing#toc-resizing)).
516
- *
517
- * @default true
518
- *
519
- * @example
520
- * ```jsx
521
- * <Window resizable={true} />
522
- * ```
523
- */
524
- resizable?: boolean;
525
- /**
526
- * Specifies if the Window will render the restore button.
527
- *
528
- * @example
529
- * ```jsx
530
- * <Window restoreButton={CustomRestoreButton} />
531
- * ```
532
- */
533
- restoreButton?: React.ComponentType<any>;
534
- /**
535
- * Specifies if the Window content will update during resizing.
536
- *
537
- * @example
538
- * ```jsx
539
- * <Window shouldUpdateOnDrag={true} />
540
- * ```
541
- */
542
- shouldUpdateOnDrag?: boolean;
543
- /**
544
- * Specifies the title of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/title)).
545
- *
546
- * @example
547
- * ```jsx
548
- * <Window title="My Window" />
549
- * ```
550
- */
551
- title?: React.ReactNode | string;
552
- /**
553
- * Specifies the top coordinates of the Window.
554
- *
555
- * @example
556
- * ```jsx
557
- * <Window top={100} />
558
- * ```
559
- */
560
- top?: number;
561
- /**
562
- * Specifies the width of the Window.
563
- *
564
- * @example
565
- * ```jsx
566
- * <Window width={400} />
567
- * ```
568
- */
569
- width?: number;
570
- /**
571
- * Controls the state of the Window ([see example](https://www.telerik.com/kendo-react-ui/components/dialogs/window/minimizing-fullscreen)).
572
- *
573
- * The supported values are:
574
- * * `DEFAULT`
575
- * * `MINIMIZED`
576
- * * `FULLSCREEN`
577
- *
578
- * @example
579
- * ```jsx
580
- * <Window stage="DEFAULT" />
581
- * ```
582
- */
583
- stage?: windowStage | string;
584
- /**
585
- * Set styles to the Window element.
586
- *
587
- * @example
588
- * ```jsx
589
- * <Window style={{ backgroundColor: 'red' }} />
590
- * ```
591
- */
592
- style?: React.CSSProperties;
593
- /**
594
- * Set styles to the Window overlay element rendered when the `modal` prop is enabled.
595
- *
596
- * @example
597
- * ```jsx
598
- * <Window overlayStyle={{ opacity: 0.5 }} />
599
- * ```
600
- */
601
- overlayStyle?: React.CSSProperties;
602
- /**
603
- * Sets a class of the Window DOM element.
604
- *
605
- * @example
606
- * ```jsx
607
- * <Window className="custom-class" />
608
- * ```
609
- */
610
- className?: string;
611
- /**
612
- * Configures the `themeColor` of the Window.
613
- *
614
- * The available options are:
615
- * - primary
616
- * - dark
617
- * - light
618
- *
619
- * @example
620
- * ```jsx
621
- * <Window themeColor="dark" />
622
- * ```
623
- */
624
- themeColor?: 'primary' | 'dark' | 'light';
625
- /**
626
- * Fires when the **Close** button in the title is clicked or when the `Esc` button is pressed.
627
- *
628
- * @example
629
- * ```jsx
630
- * <Window onClose={(event) => console.log('Window closed', event)} />
631
- * ```
632
- */
633
- onClose?: (event: WindowActionsEvent) => void;
634
- /**
635
- * Fires when the Window is dragged.
636
- *
637
- * @example
638
- * ```jsx
639
- * <Window onMove={(event) => console.log('Window moved', event)} />
640
- * ```
641
- */
642
- onMove?: (event: WindowMoveEvent) => void;
643
- /**
644
- * Fires when the `DEFAULT`, `FULLSCREEN`, or `MINIMIZED` state of the Window is changed.
645
- *
646
- * @example
647
- * ```jsx
648
- * <Window onStageChange={(event) => console.log('Stage changed', event)} />
649
- * ```
650
- */
651
- onStageChange?: (event: WindowActionsEvent) => void;
652
- /**
653
- * Fires when the Window resizes.
654
- *
655
- * @example
656
- * ```jsx
657
- * <Window onResize={(event) => console.log('Window resized', event)} />
658
- * ```
659
- */
660
- onResize?: (event: WindowMoveEvent) => void;
661
- /**
662
- * Sets the `id` attribute value of the wrapper element of the Window.
663
- *
664
- * @example
665
- * ```jsx
666
- * <Window id="my-window" />
667
- * ```
668
- */
669
- id?: string;
670
- }
671
-
672
- /**
673
- * Represents the PropsContext of the `Window` component.
674
- * Used for global configuration of all `Window` instances.
675
- */
676
- export declare const WindowPropsContext: React_2.Context<(p: WindowProps) => WindowProps>;
677
-
678
- declare enum windowStage {
679
- DEFAULT = "DEFAULT",
680
- FULLSCREEN = "FULLSCREEN",
681
- MINIMIZED = "MINIMIZED"
682
- }
683
-
684
- declare interface WindowState {
685
- stage: windowStage | string;
686
- isDragging: boolean;
687
- top: number;
688
- left: number;
689
- width: number;
690
- height: number | null;
691
- focused: boolean;
692
- zIndex: number;
693
- }
694
-
695
- /** @hidden */
696
- export declare class WindowWithoutContext extends React_2.Component<WindowProps, WindowState> {
697
- static displayName: string;
698
- /**
699
- * @hidden
700
- */
701
- static propTypes: {
702
- width: default_2.Requireable<number>;
703
- height: default_2.Requireable<number>;
704
- left: default_2.Requireable<number>;
705
- top: default_2.Requireable<number>;
706
- initialWidth: default_2.Requireable<number>;
707
- initialHeight: default_2.Requireable<number>;
708
- initialLeft: default_2.Requireable<number>;
709
- initialTop: default_2.Requireable<number>;
710
- minWidth: default_2.Requireable<number>;
711
- minHeight: default_2.Requireable<number>;
712
- resizable: default_2.Requireable<boolean>;
713
- draggable: default_2.Requireable<boolean>;
714
- title: default_2.Requireable<any>;
715
- shouldUpdateOnDrag: default_2.Requireable<boolean>;
716
- stage: default_2.Requireable<string>;
717
- className: default_2.Requireable<string>;
718
- id: default_2.Requireable<string>;
719
- style: default_2.Requireable<object>;
720
- overlayStyle: default_2.Requireable<object>;
721
- autoFocus: default_2.Requireable<boolean>;
722
- };
723
- /**
724
- * @hidden
725
- */
726
- static defaultProps: {
727
- minWidth: number;
728
- minHeight: number;
729
- resizable: boolean;
730
- draggable: boolean;
731
- modal: boolean;
732
- doubleClickStageChange: boolean;
733
- autoFocus: boolean;
734
- };
735
- /**
736
- * @hidden
737
- */
738
- static contextType: React_2.Context<ZIndexContextType>;
739
- /**
740
- * @hidden
741
- */
742
- context: React_2.ContextType<typeof ZIndexContext>;
743
- /**
744
- * **Deprecated.** Use `element` instead.
745
- */
746
- windowElement?: HTMLDivElement | null;
747
- /**
748
- * The Window element.
749
- */
750
- element?: HTMLDivElement | null;
751
- /**
752
- * @hidden
753
- */
754
- windowTitle?: any;
755
- /**
756
- * The draggable handle for the Window component.
757
- */
758
- draggable: Draggable | null;
759
- private windowCoordinatesState?;
760
- private offSetCoordinates?;
761
- private get _id();
762
- private titleId;
763
- private _blurTimeout?;
764
- private mounted;
765
- private activeElement;
766
- constructor(props: WindowProps);
767
- /**
768
- * @hidden
769
- */
770
- componentDidMount(): void;
771
- /**
772
- * @hidden
773
- */
774
- componentWillUnmount(): void;
775
- /**
776
- * @hidden
777
- */
778
- componentDidUpdate(prevProps: WindowProps): void;
779
- /**
780
- * @hidden
781
- */
782
- onKeyDown: React_2.KeyboardEventHandler<HTMLDivElement>;
783
- /**
784
- * @hidden
785
- */
786
- onPress: (data: any) => void;
787
- /**
788
- * @hidden
789
- */
790
- onDrag: (data: any) => void;
791
- /**
792
- * @hidden
793
- */
794
- onRelease: (data: any) => void;
795
- /**
796
- * @hidden
797
- */
798
- onFocus: () => void;
799
- /**
800
- * @hidden
801
- */
802
- onBlur: () => void;
803
- /**
804
- * @hidden
805
- */
806
- render(): JSX.Element | null;
807
- private get top();
808
- private get left();
809
- private get width();
810
- private get height();
811
- private get windowStage();
812
- private getInitialTop;
813
- private getInitialLeft;
814
- private getInitialWidth;
815
- private getInitialHeight;
816
- private handleMinimize;
817
- private handleFullscreen;
818
- private handleRestore;
819
- private handleCloseWindow;
820
- private handleDoubleClick;
821
- private handleResize;
822
- private dispatchMoveEvent;
823
- private handleBrowserWindowResize;
824
- private getActionBar;
825
- private getContent;
826
- private getCurrentZIndex;
827
- private getDocument;
828
- private getWindow;
829
- private generateTitleId;
830
- }
831
-
832
- export { }
8
+ import { Dialog, DialogHandle, DialogPropsContext } from './Dialog.js';
9
+ import { DialogActionsBar } from './DialogActionsBar.js';
10
+ import { Window, WindowHandle, WindowPropsContext, WindowWithoutContext } from './Window.js';
11
+ import { WindowProps } from './WindowProps.js';
12
+ import { WindowActionsBar } from './WindowActionsBar.js';
13
+ import { DialogCloseEvent, WindowActionsEvent, WindowMoveEvent } from './events.js';
14
+ import { ActionsLayout } from './models/actions-layout.js';
15
+ import { DialogProps } from './DialogProps.js';
16
+ export { Dialog, DialogProps, DialogActionsBar, DialogCloseEvent, DialogHandle, DialogPropsContext, Window, WindowProps, WindowActionsBar, WindowActionsEvent, WindowMoveEvent, WindowHandle, WindowPropsContext, WindowWithoutContext, ActionsLayout };