@babylonjs/gui-editor 5.0.0 → 5.0.3
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.
@@ -8,6 +8,7 @@ interface ICommandBarComponentProps {
|
|
8
8
|
}
|
9
9
|
export class CommandBarComponent extends React.Component<ICommandBarComponentProps> {
|
10
10
|
private _sizeOption;
|
11
|
+
private _stopUpdating;
|
11
12
|
constructor(props: ICommandBarComponentProps);
|
12
13
|
render(): JSX.Element;
|
13
14
|
}
|
@@ -110,8 +111,8 @@ export {};
|
|
110
111
|
declare module "@babylonjs/gui-editor/components/parentingPropertyGridComponent" {
|
111
112
|
import * as React from "react";
|
112
113
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
113
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
114
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
114
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
115
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
115
116
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
116
117
|
interface IParentingPropertyGridComponentProps {
|
117
118
|
control: Control;
|
@@ -133,8 +134,8 @@ export {};
|
|
133
134
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/buttonPropertyGridComponent" {
|
134
135
|
import * as React from "react";
|
135
136
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
136
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
137
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
137
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
138
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
138
139
|
import { Rectangle } from "@babylonjs/gui/2D/controls/rectangle";
|
139
140
|
interface IButtonPropertyGridComponentProps {
|
140
141
|
rectangles: Rectangle[];
|
@@ -152,8 +153,8 @@ export {};
|
|
152
153
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/checkboxPropertyGridComponent" {
|
153
154
|
import * as React from "react";
|
154
155
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
155
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
156
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
156
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
157
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
157
158
|
import { Checkbox } from "@babylonjs/gui/2D/controls/checkbox";
|
158
159
|
interface ICheckboxPropertyGridComponentProps {
|
159
160
|
checkboxes: Checkbox[];
|
@@ -170,9 +171,9 @@ export {};
|
|
170
171
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/colorPickerPropertyGridComponent" {
|
171
172
|
import * as React from "react";
|
172
173
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
173
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
174
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
174
175
|
import { ColorPicker } from "@babylonjs/gui/2D/controls/colorpicker";
|
175
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
176
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
176
177
|
interface IColorPickerPropertyGridComponentProps {
|
177
178
|
colorPickers: ColorPicker[];
|
178
179
|
lockObject: LockObject;
|
@@ -188,9 +189,9 @@ export {};
|
|
188
189
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/commonControlPropertyGridComponent" {
|
189
190
|
import * as React from "react";
|
190
191
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
191
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
192
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
192
193
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
193
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
194
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
194
195
|
interface ICommonControlPropertyGridComponentProps {
|
195
196
|
controls: Control[];
|
196
197
|
lockObject: LockObject;
|
@@ -213,7 +214,7 @@ export {};
|
|
213
214
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/containerPropertyGridComponent" {
|
214
215
|
import * as React from "react";
|
215
216
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
216
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
217
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
217
218
|
import { Container } from "@babylonjs/gui/2D/controls/container";
|
218
219
|
interface IContainerPropertyGridComponentProps {
|
219
220
|
containers: Container[];
|
@@ -228,9 +229,9 @@ export {};
|
|
228
229
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/controlPropertyGridComponent" {
|
229
230
|
import * as React from "react";
|
230
231
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
231
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
232
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
232
233
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
233
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
234
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
234
235
|
interface IControlPropertyGridComponentProps {
|
235
236
|
controls: Control[];
|
236
237
|
lockObject: LockObject;
|
@@ -246,8 +247,8 @@ export {};
|
|
246
247
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/displayGridPropertyGridComponent" {
|
247
248
|
import * as React from "react";
|
248
249
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
249
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
250
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
250
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
251
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
251
252
|
import { DisplayGrid } from "@babylonjs/gui/2D/controls/displayGrid";
|
252
253
|
interface IDisplayGridPropertyGridComponentProps {
|
253
254
|
displayGrids: DisplayGrid[];
|
@@ -264,8 +265,8 @@ export {};
|
|
264
265
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/ellipsePropertyGridComponent" {
|
265
266
|
import * as React from "react";
|
266
267
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
267
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
268
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
268
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
269
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
269
270
|
import { Ellipse } from "@babylonjs/gui/2D/controls/ellipse";
|
270
271
|
interface IEllipsePropertyGridComponentProps {
|
271
272
|
ellipses: Ellipse[];
|
@@ -282,8 +283,8 @@ export {};
|
|
282
283
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/gridPropertyGridComponent" {
|
283
284
|
import * as React from "react";
|
284
285
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
285
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
286
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
286
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
287
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
287
288
|
import { Grid } from "@babylonjs/gui/2D/controls/grid";
|
288
289
|
interface IGridPropertyGridComponentProps {
|
289
290
|
grids: Grid[];
|
@@ -320,8 +321,8 @@ export {};
|
|
320
321
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/imageBasedSliderPropertyGridComponent" {
|
321
322
|
import * as React from "react";
|
322
323
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
323
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
324
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
324
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
325
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
325
326
|
import { ImageBasedSlider } from "@babylonjs/gui/2D/controls/sliders/imageBasedSlider";
|
326
327
|
interface IImageBasedSliderPropertyGridComponentProps {
|
327
328
|
imageBasedSliders: ImageBasedSlider[];
|
@@ -338,8 +339,8 @@ export {};
|
|
338
339
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/imagePropertyGridComponent" {
|
339
340
|
import * as React from "react";
|
340
341
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
341
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
342
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
342
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
343
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
343
344
|
import { Image } from "@babylonjs/gui/2D/controls/image";
|
344
345
|
interface IImagePropertyGridComponentProps {
|
345
346
|
images: Image[];
|
@@ -363,9 +364,9 @@ export {};
|
|
363
364
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/inputTextPropertyGridComponent" {
|
364
365
|
import * as React from "react";
|
365
366
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
366
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
367
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
367
368
|
import { InputText } from "@babylonjs/gui/2D/controls/inputText";
|
368
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
369
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
369
370
|
interface IInputTextPropertyGridComponentProps {
|
370
371
|
inputTexts: InputText[];
|
371
372
|
lockObject: LockObject;
|
@@ -381,8 +382,8 @@ export {};
|
|
381
382
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/linePropertyGridComponent" {
|
382
383
|
import * as React from "react";
|
383
384
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
384
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
385
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
385
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
386
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
386
387
|
import { Line } from "@babylonjs/gui/2D/controls/line";
|
387
388
|
interface ILinePropertyGridComponentProps {
|
388
389
|
lines: Line[];
|
@@ -400,8 +401,8 @@ export {};
|
|
400
401
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/radioButtonPropertyGridComponent" {
|
401
402
|
import * as React from "react";
|
402
403
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
403
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
404
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
404
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
405
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
405
406
|
import { RadioButton } from "@babylonjs/gui/2D/controls/radioButton";
|
406
407
|
interface IRadioButtonPropertyGridComponentProps {
|
407
408
|
radioButtons: RadioButton[];
|
@@ -418,8 +419,8 @@ export {};
|
|
418
419
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/rectanglePropertyGridComponent" {
|
419
420
|
import * as React from "react";
|
420
421
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
421
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
422
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
422
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
423
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
423
424
|
import { Rectangle } from "@babylonjs/gui/2D/controls/rectangle";
|
424
425
|
interface IRectanglePropertyGridComponentProps {
|
425
426
|
rectangles: Rectangle[];
|
@@ -436,8 +437,8 @@ export {};
|
|
436
437
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/scrollViewerPropertyGridComponent" {
|
437
438
|
import * as React from "react";
|
438
439
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
439
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
440
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
440
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
441
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
441
442
|
import { ScrollViewer } from "@babylonjs/gui/2D/controls/scrollViewers/scrollViewer";
|
442
443
|
interface IScrollViewerPropertyGridComponentProps {
|
443
444
|
scrollViewers: ScrollViewer[];
|
@@ -454,8 +455,8 @@ export {};
|
|
454
455
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/sliderGenericPropertyGridComponent" {
|
455
456
|
import * as React from "react";
|
456
457
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
457
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
458
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
458
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
459
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
459
460
|
import { Slider } from "@babylonjs/gui/2D/controls/sliders/slider";
|
460
461
|
interface ISliderGenericPropertyGridComponentProps {
|
461
462
|
sliders: Slider[];
|
@@ -472,8 +473,8 @@ export {};
|
|
472
473
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/sliderPropertyGridComponent" {
|
473
474
|
import * as React from "react";
|
474
475
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
475
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
476
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
476
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
477
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
477
478
|
import { Slider } from "@babylonjs/gui/2D/controls/sliders/slider";
|
478
479
|
import { ImageBasedSlider } from "@babylonjs/gui/2D/controls/sliders/imageBasedSlider";
|
479
480
|
interface ISliderPropertyGridComponentProps {
|
@@ -491,8 +492,8 @@ export {};
|
|
491
492
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/stackPanelPropertyGridComponent" {
|
492
493
|
import * as React from "react";
|
493
494
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
494
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
495
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
495
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
496
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
496
497
|
import { StackPanel } from "@babylonjs/gui/2D/controls/stackPanel";
|
497
498
|
interface IStackPanelPropertyGridComponentProps {
|
498
499
|
stackPanels: StackPanel[];
|
@@ -509,9 +510,9 @@ export {};
|
|
509
510
|
declare module "@babylonjs/gui-editor/components/propertyTab/propertyGrids/gui/textBlockPropertyGridComponent" {
|
510
511
|
import * as React from "react";
|
511
512
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
512
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
513
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
513
514
|
import { TextBlock } from "@babylonjs/gui/2D/controls/textBlock";
|
514
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
515
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
515
516
|
interface ITextBlockPropertyGridComponentProps {
|
516
517
|
textBlocks: TextBlock[];
|
517
518
|
lockObject: LockObject;
|
@@ -797,7 +798,7 @@ import { Matrix2D } from "@babylonjs/gui/2D/math2D";
|
|
797
798
|
import { Vector2 } from "@babylonjs/core/Maths/math.vector";
|
798
799
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
799
800
|
import { GlobalState } from "@babylonjs/gui-editor/globalState";
|
800
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
801
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
801
802
|
export type DimensionProperties = "width" | "left" | "height" | "top" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingBottom" | "fontSize";
|
802
803
|
export class Rect {
|
803
804
|
top: number;
|
@@ -1010,6 +1011,7 @@ export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps
|
|
1010
1011
|
set guiSize(value: ISize);
|
1011
1012
|
applyEditorTransformation(): void;
|
1012
1013
|
removeEditorTransformation(): void;
|
1014
|
+
private _reframeWindow;
|
1013
1015
|
constructor(props: IWorkbenchComponentProps);
|
1014
1016
|
keyEvent: (evt: KeyboardEvent) => void;
|
1015
1017
|
copyToClipboard(copyFn: (content: string) => void): void;
|
@@ -1017,13 +1019,22 @@ export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps
|
|
1017
1019
|
pasteFromClipboard(clipboardContents: string): boolean;
|
1018
1020
|
CopyGUIControl(original: Control): void;
|
1019
1021
|
blurEvent: () => void;
|
1022
|
+
/**
|
1023
|
+
* Adds editor observers to control and stores old data in metadata
|
1024
|
+
* @param guiControl
|
1025
|
+
*/
|
1026
|
+
addEditorBehavior(guiControl: Control): void;
|
1027
|
+
/**
|
1028
|
+
* Removes editor behavior (observables, metadata) from control
|
1029
|
+
* @param control
|
1030
|
+
*/
|
1031
|
+
removeEditorBehavior(control: Control): void;
|
1020
1032
|
dispose(): void;
|
1021
1033
|
loadFromJson(serializationObject: any): void;
|
1022
1034
|
loadFromSnippet(snippetId: string): Promise<void>;
|
1023
1035
|
loadToEditor(): void;
|
1024
1036
|
updateNodeOutlines(): void;
|
1025
1037
|
appendBlock(guiElement: Control): Control;
|
1026
|
-
createNewGuiNode(guiControl: Control): Control;
|
1027
1038
|
private parent;
|
1028
1039
|
private _reorderGrid;
|
1029
1040
|
private _isNotChildInsert;
|
@@ -1059,10 +1070,10 @@ import { LogEntry } from "@babylonjs/gui-editor/components/log/logComponent";
|
|
1059
1070
|
import { Color3 } from "@babylonjs/core/Maths/math.color";
|
1060
1071
|
import { WorkbenchComponent } from "@babylonjs/gui-editor/diagram/workbench";
|
1061
1072
|
import { AdvancedDynamicTexture } from "@babylonjs/gui/2D/advancedDynamicTexture";
|
1062
|
-
import { PropertyChangedEvent } from "shared-ui-components/propertyChangedEvent";
|
1073
|
+
import { PropertyChangedEvent } from "@babylonjs/shared-ui-components/propertyChangedEvent";
|
1063
1074
|
import { Scene } from "@babylonjs/core/scene";
|
1064
1075
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
1065
|
-
import { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject";
|
1076
|
+
import { LockObject } from "@babylonjs/shared-ui-components/tabs/propertyGrids/lockObject";
|
1066
1077
|
import { ISize } from "@babylonjs/core/Maths/math";
|
1067
1078
|
import { KeyboardManager } from "@babylonjs/gui-editor/keyboardManager";
|
1068
1079
|
export enum DragOverLocation {
|
@@ -1109,7 +1120,8 @@ export class GlobalState {
|
|
1109
1120
|
onToolChangeObservable: Observable<void>;
|
1110
1121
|
get tool(): GUIEditorTool;
|
1111
1122
|
set tool(newTool: GUIEditorTool);
|
1112
|
-
|
1123
|
+
onFitControlsToWindowObservable: Observable<void>;
|
1124
|
+
onReframeWindowObservable: Observable<void>;
|
1113
1125
|
onLoadObservable: Observable<File>;
|
1114
1126
|
onSaveObservable: Observable<void>;
|
1115
1127
|
onSnippetLoadObservable: Observable<void>;
|
@@ -1151,6 +1163,7 @@ export class GlobalState {
|
|
1151
1163
|
set outlines(value: boolean);
|
1152
1164
|
select(control: Control): void;
|
1153
1165
|
setSelection(controls: Control[]): void;
|
1166
|
+
private _findParentControlInTexture;
|
1154
1167
|
deleteSelectedNodes(): void;
|
1155
1168
|
isMultiSelectable(control: Control): boolean;
|
1156
1169
|
dispose(): void;
|
@@ -1349,7 +1362,7 @@ export class WorkbenchEditor extends React.Component<IGraphEditorProps, IGraphEd
|
|
1349
1362
|
export {};
|
1350
1363
|
|
1351
1364
|
}
|
1352
|
-
declare module "
|
1365
|
+
declare module "@babylonjs/gui-editor/colorPicker/colorComponentEntry" {
|
1353
1366
|
import * as React from "react";
|
1354
1367
|
export interface IColorComponentEntryProps {
|
1355
1368
|
value: number;
|
@@ -1366,10 +1379,10 @@ export class ColorComponentEntry extends React.Component<IColorComponentEntryPro
|
|
1366
1379
|
}
|
1367
1380
|
|
1368
1381
|
}
|
1369
|
-
declare module "
|
1382
|
+
declare module "@babylonjs/gui-editor/colorPicker/colorPicker" {
|
1370
1383
|
import * as React from "react";
|
1371
1384
|
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color";
|
1372
|
-
import "
|
1385
|
+
import "@babylonjs/gui-editor/colorPicker/colorPicker.scss";
|
1373
1386
|
/**
|
1374
1387
|
* Interface used to specify creation options for color picker
|
1375
1388
|
*/
|
@@ -1410,7 +1423,7 @@ export class ColorPicker extends React.Component<IColorPickerProps, IColorPicker
|
|
1410
1423
|
}
|
1411
1424
|
|
1412
1425
|
}
|
1413
|
-
declare module "
|
1426
|
+
declare module "@babylonjs/gui-editor/colorPicker/hexColor" {
|
1414
1427
|
import * as React from "react";
|
1415
1428
|
export interface IHexColorProps {
|
1416
1429
|
value: string;
|
@@ -1429,7 +1442,7 @@ export class HexColor extends React.Component<IHexColorProps, {
|
|
1429
1442
|
}
|
1430
1443
|
|
1431
1444
|
}
|
1432
|
-
declare module "
|
1445
|
+
declare module "@babylonjs/gui-editor/lines/booleanLineComponent" {
|
1433
1446
|
import * as React from "react";
|
1434
1447
|
export interface IBooleanLineComponentProps {
|
1435
1448
|
label: string;
|
@@ -1443,7 +1456,7 @@ export class BooleanLineComponent extends React.Component<IBooleanLineComponentP
|
|
1443
1456
|
}
|
1444
1457
|
|
1445
1458
|
}
|
1446
|
-
declare module "
|
1459
|
+
declare module "@babylonjs/gui-editor/lines/buttonLineComponent" {
|
1447
1460
|
import * as React from "react";
|
1448
1461
|
export interface IButtonLineComponentProps {
|
1449
1462
|
label: string;
|
@@ -1457,11 +1470,11 @@ export class ButtonLineComponent extends React.Component<IButtonLineComponentPro
|
|
1457
1470
|
}
|
1458
1471
|
|
1459
1472
|
}
|
1460
|
-
declare module "
|
1473
|
+
declare module "@babylonjs/gui-editor/lines/checkBoxLineComponent" {
|
1461
1474
|
import * as React from "react";
|
1462
1475
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1463
|
-
import { PropertyChangedEvent } from "
|
1464
|
-
|
1476
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1477
|
+
|
1465
1478
|
export interface ICheckBoxLineComponentProps {
|
1466
1479
|
label?: string;
|
1467
1480
|
target?: any;
|
@@ -1474,8 +1487,8 @@ export interface ICheckBoxLineComponentProps {
|
|
1474
1487
|
icon?: string;
|
1475
1488
|
iconLabel?: string;
|
1476
1489
|
faIcons?: {
|
1477
|
-
enabled:
|
1478
|
-
disabled:
|
1490
|
+
enabled: any;
|
1491
|
+
disabled: any;
|
1479
1492
|
};
|
1480
1493
|
large?: boolean;
|
1481
1494
|
}
|
@@ -1496,11 +1509,11 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
|
|
1496
1509
|
}
|
1497
1510
|
|
1498
1511
|
}
|
1499
|
-
declare module "
|
1512
|
+
declare module "@babylonjs/gui-editor/lines/color3LineComponent" {
|
1500
1513
|
import * as React from "react";
|
1501
1514
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1502
|
-
import { PropertyChangedEvent } from "
|
1503
|
-
import { LockObject } from "
|
1515
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1516
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
1504
1517
|
export interface IColor3LineComponentProps {
|
1505
1518
|
label: string;
|
1506
1519
|
target: any;
|
@@ -1517,11 +1530,11 @@ export class Color3LineComponent extends React.Component<IColor3LineComponentPro
|
|
1517
1530
|
}
|
1518
1531
|
|
1519
1532
|
}
|
1520
|
-
declare module "
|
1533
|
+
declare module "@babylonjs/gui-editor/lines/color4LineComponent" {
|
1521
1534
|
import * as React from "react";
|
1522
1535
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1523
|
-
import { PropertyChangedEvent } from "
|
1524
|
-
import { LockObject } from "
|
1536
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1537
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
1525
1538
|
export interface IColor4LineComponentProps {
|
1526
1539
|
label: string;
|
1527
1540
|
target?: any;
|
@@ -1538,12 +1551,12 @@ export class Color4LineComponent extends React.Component<IColor4LineComponentPro
|
|
1538
1551
|
}
|
1539
1552
|
|
1540
1553
|
}
|
1541
|
-
declare module "
|
1554
|
+
declare module "@babylonjs/gui-editor/lines/colorLineComponent" {
|
1542
1555
|
import * as React from "react";
|
1543
1556
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1544
1557
|
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
1545
|
-
import { PropertyChangedEvent } from "
|
1546
|
-
import { LockObject } from "
|
1558
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1559
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
1547
1560
|
export interface IColorLineComponentProps {
|
1548
1561
|
label: string;
|
1549
1562
|
target?: any;
|
@@ -1581,7 +1594,7 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
|
|
1581
1594
|
export {};
|
1582
1595
|
|
1583
1596
|
}
|
1584
|
-
declare module "
|
1597
|
+
declare module "@babylonjs/gui-editor/lines/colorPickerComponent" {
|
1585
1598
|
import * as React from "react";
|
1586
1599
|
import { Color4, Color3 } from "@babylonjs/core/Maths/math.color";
|
1587
1600
|
export interface IColorPickerComponentProps {
|
@@ -1613,7 +1626,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerCompon
|
|
1613
1626
|
export {};
|
1614
1627
|
|
1615
1628
|
}
|
1616
|
-
declare module "
|
1629
|
+
declare module "@babylonjs/gui-editor/lines/draggableLineComponent" {
|
1617
1630
|
import * as React from "react";
|
1618
1631
|
export interface IButtonLineComponentProps {
|
1619
1632
|
data: string;
|
@@ -1625,7 +1638,7 @@ export class DraggableLineComponent extends React.Component<IButtonLineComponent
|
|
1625
1638
|
}
|
1626
1639
|
|
1627
1640
|
}
|
1628
|
-
declare module "
|
1641
|
+
declare module "@babylonjs/gui-editor/lines/fileButtonLineComponent" {
|
1629
1642
|
import * as React from "react";
|
1630
1643
|
interface IFileButtonLineComponentProps {
|
1631
1644
|
label: string;
|
@@ -1645,7 +1658,7 @@ export class FileButtonLineComponent extends React.Component<IFileButtonLineComp
|
|
1645
1658
|
export {};
|
1646
1659
|
|
1647
1660
|
}
|
1648
|
-
declare module "
|
1661
|
+
declare module "@babylonjs/gui-editor/lines/fileMultipleButtonLineComponent" {
|
1649
1662
|
import * as React from "react";
|
1650
1663
|
interface IFileMultipleButtonLineComponentProps {
|
1651
1664
|
label: string;
|
@@ -1665,11 +1678,11 @@ export class FileMultipleButtonLineComponent extends React.Component<IFileMultip
|
|
1665
1678
|
export {};
|
1666
1679
|
|
1667
1680
|
}
|
1668
|
-
declare module "
|
1681
|
+
declare module "@babylonjs/gui-editor/lines/floatLineComponent" {
|
1669
1682
|
import * as React from "react";
|
1670
1683
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1671
|
-
import { PropertyChangedEvent } from "
|
1672
|
-
import { LockObject } from "
|
1684
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1685
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
1673
1686
|
interface IFloatLineComponentProps {
|
1674
1687
|
label: string;
|
1675
1688
|
target: any;
|
@@ -1691,6 +1704,8 @@ interface IFloatLineComponentProps {
|
|
1691
1704
|
defaultValue?: number;
|
1692
1705
|
arrows?: boolean;
|
1693
1706
|
unit?: React.ReactNode;
|
1707
|
+
onDragStart?: (newValue: number) => void;
|
1708
|
+
onDragStop?: (newValue: number) => void;
|
1694
1709
|
}
|
1695
1710
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
1696
1711
|
value: string;
|
@@ -1716,11 +1731,11 @@ export class FloatLineComponent extends React.Component<IFloatLineComponentProps
|
|
1716
1731
|
export {};
|
1717
1732
|
|
1718
1733
|
}
|
1719
|
-
declare module "
|
1734
|
+
declare module "@babylonjs/gui-editor/lines/hexLineComponent" {
|
1720
1735
|
import * as React from "react";
|
1721
1736
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1722
|
-
import { PropertyChangedEvent } from "
|
1723
|
-
import { LockObject } from "
|
1737
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1738
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
1724
1739
|
interface IHexLineComponentProps {
|
1725
1740
|
label: string;
|
1726
1741
|
target: any;
|
@@ -1759,7 +1774,7 @@ export class HexLineComponent extends React.Component<IHexLineComponentProps, {
|
|
1759
1774
|
export {};
|
1760
1775
|
|
1761
1776
|
}
|
1762
|
-
declare module "
|
1777
|
+
declare module "@babylonjs/gui-editor/lines/iconButtonLineComponent" {
|
1763
1778
|
import * as React from "react";
|
1764
1779
|
export interface IIconButtonLineComponentProps {
|
1765
1780
|
icon: string;
|
@@ -1773,7 +1788,7 @@ export class IconButtonLineComponent extends React.Component<IIconButtonLineComp
|
|
1773
1788
|
}
|
1774
1789
|
|
1775
1790
|
}
|
1776
|
-
declare module "
|
1791
|
+
declare module "@babylonjs/gui-editor/lines/iconComponent" {
|
1777
1792
|
import * as React from "react";
|
1778
1793
|
interface IIconComponentProps {
|
1779
1794
|
icon: string;
|
@@ -1785,7 +1800,7 @@ export class IconComponent extends React.Component<IIconComponentProps> {
|
|
1785
1800
|
export {};
|
1786
1801
|
|
1787
1802
|
}
|
1788
|
-
declare module "
|
1803
|
+
declare module "@babylonjs/gui-editor/lines/indentedTextLineComponent" {
|
1789
1804
|
import * as React from "react";
|
1790
1805
|
interface IIndentedTextLineComponentProps {
|
1791
1806
|
value?: string;
|
@@ -1804,7 +1819,7 @@ export class IndentedTextLineComponent extends React.Component<IIndentedTextLine
|
|
1804
1819
|
export {};
|
1805
1820
|
|
1806
1821
|
}
|
1807
|
-
declare module "
|
1822
|
+
declare module "@babylonjs/gui-editor/lines/inputArrowsComponent" {
|
1808
1823
|
import * as React from "react";
|
1809
1824
|
interface IInputArrowsComponentProps {
|
1810
1825
|
incrementValue: (amount: number) => void;
|
@@ -1820,16 +1835,16 @@ export class InputArrowsComponent extends React.Component<IInputArrowsComponentP
|
|
1820
1835
|
export {};
|
1821
1836
|
|
1822
1837
|
}
|
1823
|
-
declare module "
|
1838
|
+
declare module "@babylonjs/gui-editor/lines/iSelectedLineContainer" {
|
1824
1839
|
export interface ISelectedLineContainer {
|
1825
1840
|
selectedLineContainerTitles: Array<string>;
|
1826
1841
|
selectedLineContainerTitlesNoFocus: Array<string>;
|
1827
1842
|
}
|
1828
1843
|
|
1829
1844
|
}
|
1830
|
-
declare module "
|
1845
|
+
declare module "@babylonjs/gui-editor/lines/lineContainerComponent" {
|
1831
1846
|
import * as React from "react";
|
1832
|
-
import { ISelectedLineContainer } from "
|
1847
|
+
import { ISelectedLineContainer } from "@babylonjs/gui-editor/lines/iSelectedLineContainer";
|
1833
1848
|
interface ILineContainerComponentProps {
|
1834
1849
|
selection?: ISelectedLineContainer;
|
1835
1850
|
title: string;
|
@@ -1849,15 +1864,15 @@ export class LineContainerComponent extends React.Component<ILineContainerCompon
|
|
1849
1864
|
export {};
|
1850
1865
|
|
1851
1866
|
}
|
1852
|
-
declare module "
|
1867
|
+
declare module "@babylonjs/gui-editor/lines/linkButtonComponent" {
|
1853
1868
|
import * as React from "react";
|
1854
|
-
|
1869
|
+
|
1855
1870
|
interface ILinkButtonComponentProps {
|
1856
1871
|
label: string;
|
1857
1872
|
buttonLabel: string;
|
1858
1873
|
url?: string;
|
1859
1874
|
onClick: () => void;
|
1860
|
-
icon?:
|
1875
|
+
icon?: any;
|
1861
1876
|
onIconClick?: () => void;
|
1862
1877
|
}
|
1863
1878
|
export class LinkButtonComponent extends React.Component<ILinkButtonComponentProps> {
|
@@ -1868,13 +1883,13 @@ export class LinkButtonComponent extends React.Component<ILinkButtonComponentPro
|
|
1868
1883
|
export {};
|
1869
1884
|
|
1870
1885
|
}
|
1871
|
-
declare module "
|
1886
|
+
declare module "@babylonjs/gui-editor/lines/messageLineComponent" {
|
1872
1887
|
import * as React from "react";
|
1873
|
-
|
1888
|
+
|
1874
1889
|
interface IMessageLineComponentProps {
|
1875
1890
|
text: string;
|
1876
1891
|
color?: string;
|
1877
|
-
icon?:
|
1892
|
+
icon?: any;
|
1878
1893
|
}
|
1879
1894
|
export class MessageLineComponent extends React.Component<IMessageLineComponentProps> {
|
1880
1895
|
constructor(props: IMessageLineComponentProps);
|
@@ -1883,7 +1898,7 @@ export class MessageLineComponent extends React.Component<IMessageLineComponentP
|
|
1883
1898
|
export {};
|
1884
1899
|
|
1885
1900
|
}
|
1886
|
-
declare module "
|
1901
|
+
declare module "@babylonjs/gui-editor/lines/numericInputComponent" {
|
1887
1902
|
import * as React from "react";
|
1888
1903
|
interface INumericInputComponentProps {
|
1889
1904
|
label: string;
|
@@ -1912,10 +1927,10 @@ export class NumericInputComponent extends React.Component<INumericInputComponen
|
|
1912
1927
|
export {};
|
1913
1928
|
|
1914
1929
|
}
|
1915
|
-
declare module "
|
1930
|
+
declare module "@babylonjs/gui-editor/lines/optionsLineComponent" {
|
1916
1931
|
import * as React from "react";
|
1917
1932
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1918
|
-
import { PropertyChangedEvent } from "
|
1933
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
1919
1934
|
import { IInspectableOptions } from "@babylonjs/core/Misc/iInspectable";
|
1920
1935
|
export const Null_Value: number;
|
1921
1936
|
export interface IOptionsLineComponentProps {
|
@@ -1947,14 +1962,14 @@ export class OptionsLineComponent extends React.Component<IOptionsLineComponentP
|
|
1947
1962
|
}
|
1948
1963
|
|
1949
1964
|
}
|
1950
|
-
declare module "
|
1965
|
+
declare module "@babylonjs/gui-editor/lines/popup" {
|
1951
1966
|
export class Popup {
|
1952
1967
|
static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
|
1953
1968
|
private static _CopyStyles;
|
1954
1969
|
}
|
1955
1970
|
|
1956
1971
|
}
|
1957
|
-
declare module "
|
1972
|
+
declare module "@babylonjs/gui-editor/lines/radioLineComponent" {
|
1958
1973
|
import * as React from "react";
|
1959
1974
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1960
1975
|
interface IRadioButtonLineComponentProps {
|
@@ -1978,11 +1993,11 @@ export class RadioButtonLineComponent extends React.Component<IRadioButtonLineCo
|
|
1978
1993
|
export {};
|
1979
1994
|
|
1980
1995
|
}
|
1981
|
-
declare module "
|
1996
|
+
declare module "@babylonjs/gui-editor/lines/sliderLineComponent" {
|
1982
1997
|
import * as React from "react";
|
1983
1998
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1984
|
-
import { PropertyChangedEvent } from "
|
1985
|
-
import { LockObject } from "
|
1999
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2000
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
1986
2001
|
interface ISliderLineComponentProps {
|
1987
2002
|
label: string;
|
1988
2003
|
target?: any;
|
@@ -2018,8 +2033,8 @@ export class SliderLineComponent extends React.Component<ISliderLineComponentPro
|
|
2018
2033
|
export {};
|
2019
2034
|
|
2020
2035
|
}
|
2021
|
-
declare module "
|
2022
|
-
import { PropertyChangedEvent } from "
|
2036
|
+
declare module "@babylonjs/gui-editor/lines/targetsProxy" {
|
2037
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2023
2038
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2024
2039
|
export const conflictingValuesPlaceholder = "\u2014";
|
2025
2040
|
/**
|
@@ -2032,11 +2047,11 @@ export const conflictingValuesPlaceholder = "\u2014";
|
|
2032
2047
|
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
2033
2048
|
|
2034
2049
|
}
|
2035
|
-
declare module "
|
2050
|
+
declare module "@babylonjs/gui-editor/lines/textInputLineComponent" {
|
2036
2051
|
import * as React from "react";
|
2037
2052
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2038
|
-
import { PropertyChangedEvent } from "
|
2039
|
-
import { LockObject } from "
|
2053
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2054
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2040
2055
|
export interface ITextInputLineComponentProps {
|
2041
2056
|
label?: string;
|
2042
2057
|
lockObject?: LockObject;
|
@@ -2080,7 +2095,7 @@ export class TextInputLineComponent extends React.Component<ITextInputLineCompon
|
|
2080
2095
|
}
|
2081
2096
|
|
2082
2097
|
}
|
2083
|
-
declare module "
|
2098
|
+
declare module "@babylonjs/gui-editor/lines/textLineComponent" {
|
2084
2099
|
import * as React from "react";
|
2085
2100
|
interface ITextLineComponentProps {
|
2086
2101
|
label?: string;
|
@@ -2104,7 +2119,7 @@ export class TextLineComponent extends React.Component<ITextLineComponentProps>
|
|
2104
2119
|
export {};
|
2105
2120
|
|
2106
2121
|
}
|
2107
|
-
declare module "
|
2122
|
+
declare module "@babylonjs/gui-editor/lines/unitButton" {
|
2108
2123
|
/// <reference types="react" />
|
2109
2124
|
interface IUnitButtonProps {
|
2110
2125
|
unit: string;
|
@@ -2115,7 +2130,7 @@ export function UnitButton(props: IUnitButtonProps): JSX.Element;
|
|
2115
2130
|
export {};
|
2116
2131
|
|
2117
2132
|
}
|
2118
|
-
declare module "
|
2133
|
+
declare module "@babylonjs/gui-editor/lines/valueLineComponent" {
|
2119
2134
|
import * as React from "react";
|
2120
2135
|
interface IValueLineComponentProps {
|
2121
2136
|
label: string;
|
@@ -2133,11 +2148,11 @@ export class ValueLineComponent extends React.Component<IValueLineComponentProps
|
|
2133
2148
|
export {};
|
2134
2149
|
|
2135
2150
|
}
|
2136
|
-
declare module "
|
2151
|
+
declare module "@babylonjs/gui-editor/lines/vector2LineComponent" {
|
2137
2152
|
import * as React from "react";
|
2138
2153
|
import { Vector2 } from "@babylonjs/core/Maths/math.vector";
|
2139
2154
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2140
|
-
import { PropertyChangedEvent } from "
|
2155
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2141
2156
|
interface IVector2LineComponentProps {
|
2142
2157
|
label: string;
|
2143
2158
|
target: any;
|
@@ -2170,11 +2185,11 @@ export class Vector2LineComponent extends React.Component<IVector2LineComponentP
|
|
2170
2185
|
export {};
|
2171
2186
|
|
2172
2187
|
}
|
2173
|
-
declare module "
|
2188
|
+
declare module "@babylonjs/gui-editor/lines/vector3LineComponent" {
|
2174
2189
|
import * as React from "react";
|
2175
2190
|
import { Vector3 } from "@babylonjs/core/Maths/math.vector";
|
2176
2191
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2177
|
-
import { PropertyChangedEvent } from "
|
2192
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2178
2193
|
interface IVector3LineComponentProps {
|
2179
2194
|
label: string;
|
2180
2195
|
target: any;
|
@@ -2212,11 +2227,11 @@ export class Vector3LineComponent extends React.Component<IVector3LineComponentP
|
|
2212
2227
|
export {};
|
2213
2228
|
|
2214
2229
|
}
|
2215
|
-
declare module "
|
2230
|
+
declare module "@babylonjs/gui-editor/lines/vector4LineComponent" {
|
2216
2231
|
import * as React from "react";
|
2217
2232
|
import { Vector4 } from "@babylonjs/core/Maths/math.vector";
|
2218
2233
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2219
|
-
import { PropertyChangedEvent } from "
|
2234
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2220
2235
|
interface IVector4LineComponentProps {
|
2221
2236
|
label: string;
|
2222
2237
|
target: any;
|
@@ -2254,7 +2269,7 @@ export class Vector4LineComponent extends React.Component<IVector4LineComponentP
|
|
2254
2269
|
export {};
|
2255
2270
|
|
2256
2271
|
}
|
2257
|
-
declare module "
|
2272
|
+
declare module "@babylonjs/gui-editor/propertyChangedEvent" {
|
2258
2273
|
export class PropertyChangedEvent {
|
2259
2274
|
object: any;
|
2260
2275
|
property: string;
|
@@ -2264,7 +2279,7 @@ export class PropertyChangedEvent {
|
|
2264
2279
|
}
|
2265
2280
|
|
2266
2281
|
}
|
2267
|
-
declare module "
|
2282
|
+
declare module "@babylonjs/gui-editor/stringTools" {
|
2268
2283
|
export class StringTools {
|
2269
2284
|
private static _SaveAs;
|
2270
2285
|
private static _Click;
|
@@ -2278,11 +2293,11 @@ export class StringTools {
|
|
2278
2293
|
}
|
2279
2294
|
|
2280
2295
|
}
|
2281
|
-
declare module "
|
2296
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/checkboxPropertyGridComponent" {
|
2282
2297
|
import * as React from "react";
|
2283
2298
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2284
|
-
import { PropertyChangedEvent } from "
|
2285
|
-
import { LockObject } from "
|
2299
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2300
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2286
2301
|
import { Checkbox } from "@babylonjs/gui/2D/controls/checkbox";
|
2287
2302
|
interface ICheckboxPropertyGridComponentProps {
|
2288
2303
|
checkbox: Checkbox;
|
@@ -2296,12 +2311,12 @@ export class CheckboxPropertyGridComponent extends React.Component<ICheckboxProp
|
|
2296
2311
|
export {};
|
2297
2312
|
|
2298
2313
|
}
|
2299
|
-
declare module "
|
2314
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/colorPickerPropertyGridComponent" {
|
2300
2315
|
import * as React from "react";
|
2301
2316
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2302
|
-
import { PropertyChangedEvent } from "
|
2317
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2303
2318
|
import { ColorPicker } from "@babylonjs/gui/2D/controls/colorpicker";
|
2304
|
-
import { LockObject } from "
|
2319
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2305
2320
|
interface IColorPickerPropertyGridComponentProps {
|
2306
2321
|
colorPicker: ColorPicker;
|
2307
2322
|
lockObject: LockObject;
|
@@ -2314,12 +2329,12 @@ export class ColorPickerPropertyGridComponent extends React.Component<IColorPick
|
|
2314
2329
|
export {};
|
2315
2330
|
|
2316
2331
|
}
|
2317
|
-
declare module "
|
2332
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/commonControlPropertyGridComponent" {
|
2318
2333
|
import * as React from "react";
|
2319
2334
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2320
|
-
import { PropertyChangedEvent } from "
|
2335
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2321
2336
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
2322
|
-
import { LockObject } from "
|
2337
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2323
2338
|
interface ICommonControlPropertyGridComponentProps {
|
2324
2339
|
controls?: Control[];
|
2325
2340
|
control?: Control;
|
@@ -2334,12 +2349,12 @@ export class CommonControlPropertyGridComponent extends React.Component<ICommonC
|
|
2334
2349
|
export {};
|
2335
2350
|
|
2336
2351
|
}
|
2337
|
-
declare module "
|
2352
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/controlPropertyGridComponent" {
|
2338
2353
|
import * as React from "react";
|
2339
2354
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2340
|
-
import { PropertyChangedEvent } from "
|
2355
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2341
2356
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
2342
|
-
import { LockObject } from "
|
2357
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2343
2358
|
interface IControlPropertyGridComponentProps {
|
2344
2359
|
control: Control;
|
2345
2360
|
lockObject: LockObject;
|
@@ -2352,11 +2367,11 @@ export class ControlPropertyGridComponent extends React.Component<IControlProper
|
|
2352
2367
|
export {};
|
2353
2368
|
|
2354
2369
|
}
|
2355
|
-
declare module "
|
2370
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/ellipsePropertyGridComponent" {
|
2356
2371
|
import * as React from "react";
|
2357
2372
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2358
|
-
import { PropertyChangedEvent } from "
|
2359
|
-
import { LockObject } from "
|
2373
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2374
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2360
2375
|
import { Ellipse } from "@babylonjs/gui/2D/controls/ellipse";
|
2361
2376
|
interface IEllipsePropertyGridComponentProps {
|
2362
2377
|
ellipse: Ellipse;
|
@@ -2370,11 +2385,11 @@ export class EllipsePropertyGridComponent extends React.Component<IEllipseProper
|
|
2370
2385
|
export {};
|
2371
2386
|
|
2372
2387
|
}
|
2373
|
-
declare module "
|
2388
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/gridPropertyGridComponent" {
|
2374
2389
|
import * as React from "react";
|
2375
2390
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2376
|
-
import { PropertyChangedEvent } from "
|
2377
|
-
import { LockObject } from "
|
2391
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2392
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2378
2393
|
import { Grid } from "@babylonjs/gui/2D/controls/grid";
|
2379
2394
|
interface IGridPropertyGridComponentProps {
|
2380
2395
|
grid: Grid;
|
@@ -2390,11 +2405,11 @@ export class GridPropertyGridComponent extends React.Component<IGridPropertyGrid
|
|
2390
2405
|
export {};
|
2391
2406
|
|
2392
2407
|
}
|
2393
|
-
declare module "
|
2408
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent" {
|
2394
2409
|
import * as React from "react";
|
2395
2410
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2396
|
-
import { PropertyChangedEvent } from "
|
2397
|
-
import { LockObject } from "
|
2411
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2412
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2398
2413
|
import { ImageBasedSlider } from "@babylonjs/gui/2D/controls/sliders/imageBasedSlider";
|
2399
2414
|
interface IImageBasedSliderPropertyGridComponentProps {
|
2400
2415
|
imageBasedSlider: ImageBasedSlider;
|
@@ -2408,11 +2423,11 @@ export class ImageBasedSliderPropertyGridComponent extends React.Component<IImag
|
|
2408
2423
|
export {};
|
2409
2424
|
|
2410
2425
|
}
|
2411
|
-
declare module "
|
2426
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/imagePropertyGridComponent" {
|
2412
2427
|
import * as React from "react";
|
2413
2428
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2414
|
-
import { PropertyChangedEvent } from "
|
2415
|
-
import { LockObject } from "
|
2429
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2430
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2416
2431
|
import { Image } from "@babylonjs/gui/2D/controls/image";
|
2417
2432
|
interface IImagePropertyGridComponentProps {
|
2418
2433
|
image: Image;
|
@@ -2426,12 +2441,12 @@ export class ImagePropertyGridComponent extends React.Component<IImagePropertyGr
|
|
2426
2441
|
export {};
|
2427
2442
|
|
2428
2443
|
}
|
2429
|
-
declare module "
|
2444
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/inputTextPropertyGridComponent" {
|
2430
2445
|
import * as React from "react";
|
2431
2446
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2432
|
-
import { PropertyChangedEvent } from "
|
2447
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2433
2448
|
import { InputText } from "@babylonjs/gui/2D/controls/inputText";
|
2434
|
-
import { LockObject } from "
|
2449
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2435
2450
|
interface IInputTextPropertyGridComponentProps {
|
2436
2451
|
inputText: InputText;
|
2437
2452
|
lockObject: LockObject;
|
@@ -2444,11 +2459,11 @@ export class InputTextPropertyGridComponent extends React.Component<IInputTextPr
|
|
2444
2459
|
export {};
|
2445
2460
|
|
2446
2461
|
}
|
2447
|
-
declare module "
|
2462
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/linePropertyGridComponent" {
|
2448
2463
|
import * as React from "react";
|
2449
2464
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2450
|
-
import { PropertyChangedEvent } from "
|
2451
|
-
import { LockObject } from "
|
2465
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2466
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2452
2467
|
import { Line } from "@babylonjs/gui/2D/controls/line";
|
2453
2468
|
interface ILinePropertyGridComponentProps {
|
2454
2469
|
line: Line;
|
@@ -2463,11 +2478,11 @@ export class LinePropertyGridComponent extends React.Component<ILinePropertyGrid
|
|
2463
2478
|
export {};
|
2464
2479
|
|
2465
2480
|
}
|
2466
|
-
declare module "
|
2481
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/radioButtonPropertyGridComponent" {
|
2467
2482
|
import * as React from "react";
|
2468
2483
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2469
|
-
import { PropertyChangedEvent } from "
|
2470
|
-
import { LockObject } from "
|
2484
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2485
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2471
2486
|
import { RadioButton } from "@babylonjs/gui/2D/controls/radioButton";
|
2472
2487
|
interface IRadioButtonPropertyGridComponentProps {
|
2473
2488
|
radioButtons: RadioButton[];
|
@@ -2481,11 +2496,11 @@ export class RadioButtonPropertyGridComponent extends React.Component<IRadioButt
|
|
2481
2496
|
export {};
|
2482
2497
|
|
2483
2498
|
}
|
2484
|
-
declare module "
|
2499
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/rectanglePropertyGridComponent" {
|
2485
2500
|
import * as React from "react";
|
2486
2501
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2487
|
-
import { PropertyChangedEvent } from "
|
2488
|
-
import { LockObject } from "
|
2502
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2503
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2489
2504
|
import { Rectangle } from "@babylonjs/gui/2D/controls/rectangle";
|
2490
2505
|
interface IRectanglePropertyGridComponentProps {
|
2491
2506
|
rectangle: Rectangle;
|
@@ -2499,11 +2514,11 @@ export class RectanglePropertyGridComponent extends React.Component<IRectanglePr
|
|
2499
2514
|
export {};
|
2500
2515
|
|
2501
2516
|
}
|
2502
|
-
declare module "
|
2517
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent" {
|
2503
2518
|
import * as React from "react";
|
2504
2519
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2505
|
-
import { PropertyChangedEvent } from "
|
2506
|
-
import { LockObject } from "
|
2520
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2521
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2507
2522
|
import { ScrollViewer } from "@babylonjs/gui/2D/controls/scrollViewers/scrollViewer";
|
2508
2523
|
interface IScrollViewerPropertyGridComponentProps {
|
2509
2524
|
scrollViewer: ScrollViewer;
|
@@ -2517,11 +2532,11 @@ export class ScrollViewerPropertyGridComponent extends React.Component<IScrollVi
|
|
2517
2532
|
export {};
|
2518
2533
|
|
2519
2534
|
}
|
2520
|
-
declare module "
|
2535
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/sliderPropertyGridComponent" {
|
2521
2536
|
import * as React from "react";
|
2522
2537
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2523
|
-
import { PropertyChangedEvent } from "
|
2524
|
-
import { LockObject } from "
|
2538
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2539
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2525
2540
|
import { Slider } from "@babylonjs/gui/2D/controls/sliders/slider";
|
2526
2541
|
interface ISliderPropertyGridComponentProps {
|
2527
2542
|
slider: Slider;
|
@@ -2535,11 +2550,11 @@ export class SliderPropertyGridComponent extends React.Component<ISliderProperty
|
|
2535
2550
|
export {};
|
2536
2551
|
|
2537
2552
|
}
|
2538
|
-
declare module "
|
2553
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/stackPanelPropertyGridComponent" {
|
2539
2554
|
import * as React from "react";
|
2540
2555
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2541
|
-
import { PropertyChangedEvent } from "
|
2542
|
-
import { LockObject } from "
|
2556
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2557
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2543
2558
|
import { StackPanel } from "@babylonjs/gui/2D/controls/stackPanel";
|
2544
2559
|
interface IStackPanelPropertyGridComponentProps {
|
2545
2560
|
stackPanel: StackPanel;
|
@@ -2553,12 +2568,12 @@ export class StackPanelPropertyGridComponent extends React.Component<IStackPanel
|
|
2553
2568
|
export {};
|
2554
2569
|
|
2555
2570
|
}
|
2556
|
-
declare module "
|
2571
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/gui/textBlockPropertyGridComponent" {
|
2557
2572
|
import * as React from "react";
|
2558
2573
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
2559
|
-
import { PropertyChangedEvent } from "
|
2574
|
+
import { PropertyChangedEvent } from "@babylonjs/gui-editor/propertyChangedEvent";
|
2560
2575
|
import { TextBlock } from "@babylonjs/gui/2D/controls/textBlock";
|
2561
|
-
import { LockObject } from "
|
2576
|
+
import { LockObject } from "@babylonjs/gui-editor/tabs/propertyGrids/lockObject";
|
2562
2577
|
interface ITextBlockPropertyGridComponentProps {
|
2563
2578
|
textBlock: TextBlock;
|
2564
2579
|
lockObject: LockObject;
|
@@ -2571,7 +2586,7 @@ export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPr
|
|
2571
2586
|
export {};
|
2572
2587
|
|
2573
2588
|
}
|
2574
|
-
declare module "
|
2589
|
+
declare module "@babylonjs/gui-editor/tabs/propertyGrids/lockObject" {
|
2575
2590
|
/**
|
2576
2591
|
* Class used to provide lock mechanism
|
2577
2592
|
*/
|