babylonjs-gui 6.44.0 → 6.45.1
Sign up to get free protection for your applications and to get access to all the features.
- package/babylon.gui.d.ts +15 -21
- package/babylon.gui.js +91 -94
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +30 -42
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -2729,6 +2729,8 @@ export class InputText extends Control implements IFocusableControl {
|
|
2729
2729
|
private _startHighlightIndex;
|
2730
2730
|
private _endHighlightIndex;
|
2731
2731
|
private _cursorIndex;
|
2732
|
+
private _outlineWidth;
|
2733
|
+
private _outlineColor;
|
2732
2734
|
protected _onFocusSelectAll: boolean;
|
2733
2735
|
protected _isPointerDown: boolean;
|
2734
2736
|
protected _onClipboardObserver: Nullable<Observer<ClipboardInfo>>;
|
@@ -2739,6 +2741,16 @@ export class InputText extends Control implements IFocusableControl {
|
|
2739
2741
|
promptMessage: string;
|
2740
2742
|
/** Force disable prompt on mobile device */
|
2741
2743
|
disableMobilePrompt: boolean;
|
2744
|
+
/**
|
2745
|
+
* Gets or sets outlineWidth of the text to display
|
2746
|
+
*/
|
2747
|
+
get outlineWidth(): number;
|
2748
|
+
set outlineWidth(value: number);
|
2749
|
+
/**
|
2750
|
+
* Gets or sets outlineColor of the text to display
|
2751
|
+
*/
|
2752
|
+
get outlineColor(): string;
|
2753
|
+
set outlineColor(value: string);
|
2742
2754
|
/** Observable raised when the text changes */
|
2743
2755
|
onTextChangedObservable: Observable<InputText>;
|
2744
2756
|
/** Observable raised just before an entered character is to be added */
|
@@ -2747,9 +2759,9 @@ export class InputText extends Control implements IFocusableControl {
|
|
2747
2759
|
onFocusObservable: Observable<InputText>;
|
2748
2760
|
/** Observable raised when the control loses the focus */
|
2749
2761
|
onBlurObservable: Observable<InputText>;
|
2750
|
-
/**Observable raised when the text is highlighted */
|
2762
|
+
/** Observable raised when the text is highlighted */
|
2751
2763
|
onTextHighlightObservable: Observable<InputText>;
|
2752
|
-
/**Observable raised when copy event is triggered */
|
2764
|
+
/** Observable raised when copy event is triggered */
|
2753
2765
|
onTextCopyObservable: Observable<InputText>;
|
2754
2766
|
/** Observable raised when cut event is triggered */
|
2755
2767
|
onTextCutObservable: Observable<InputText>;
|
@@ -2813,6 +2825,7 @@ export class InputText extends Control implements IFocusableControl {
|
|
2813
2825
|
get text(): string;
|
2814
2826
|
set text(value: string);
|
2815
2827
|
protected _textHasChanged(): void;
|
2828
|
+
protected _applyStates(context: ICanvasRenderingContext): void;
|
2816
2829
|
/** Gets or sets control width */
|
2817
2830
|
get width(): string | number;
|
2818
2831
|
set width(value: string | number);
|
@@ -2905,8 +2918,6 @@ export class InputTextArea extends InputText {
|
|
2905
2918
|
private _prevText;
|
2906
2919
|
private _lines;
|
2907
2920
|
private _lineSpacing;
|
2908
|
-
private _outlineWidth;
|
2909
|
-
private _outlineColor;
|
2910
2921
|
private _maxHeight;
|
2911
2922
|
private _clipTextTop;
|
2912
2923
|
private _clipTextLeft;
|
@@ -2925,22 +2936,6 @@ export class InputTextArea extends InputText {
|
|
2925
2936
|
private _availableHeight;
|
2926
2937
|
private _scrollTop;
|
2927
2938
|
private _autoStretchHeight;
|
2928
|
-
/**
|
2929
|
-
* Gets or sets outlineWidth of the text to display
|
2930
|
-
*/
|
2931
|
-
get outlineWidth(): number;
|
2932
|
-
/**
|
2933
|
-
* Gets or sets outlineWidth of the text to display
|
2934
|
-
*/
|
2935
|
-
set outlineWidth(value: number);
|
2936
|
-
/**
|
2937
|
-
* Gets or sets outlineColor of the text to display
|
2938
|
-
*/
|
2939
|
-
get outlineColor(): string;
|
2940
|
-
/**
|
2941
|
-
* Gets or sets outlineColor of the text to display
|
2942
|
-
*/
|
2943
|
-
set outlineColor(value: string);
|
2944
2939
|
/** Gets or sets a boolean indicating if the control can auto stretch its height to adapt to the text */
|
2945
2940
|
get autoStretchHeight(): boolean;
|
2946
2941
|
set autoStretchHeight(value: boolean);
|
@@ -3021,7 +3016,6 @@ export class InputTextArea extends InputText {
|
|
3021
3016
|
protected _onPasteText(ev: ClipboardEvent): void;
|
3022
3017
|
_draw(context: ICanvasRenderingContext): void;
|
3023
3018
|
private _resetBlinking;
|
3024
|
-
protected _applyStates(context: ICanvasRenderingContext): void;
|
3025
3019
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
3026
3020
|
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
3027
3021
|
/**
|
@@ -11408,6 +11402,8 @@ declare module BABYLON.GUI {
|
|
11408
11402
|
private _startHighlightIndex;
|
11409
11403
|
private _endHighlightIndex;
|
11410
11404
|
private _cursorIndex;
|
11405
|
+
private _outlineWidth;
|
11406
|
+
private _outlineColor;
|
11411
11407
|
protected _onFocusSelectAll: boolean;
|
11412
11408
|
protected _isPointerDown: boolean;
|
11413
11409
|
protected _onClipboardObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.ClipboardInfo>>;
|
@@ -11418,6 +11414,16 @@ declare module BABYLON.GUI {
|
|
11418
11414
|
promptMessage: string;
|
11419
11415
|
/** Force disable prompt on mobile device */
|
11420
11416
|
disableMobilePrompt: boolean;
|
11417
|
+
/**
|
11418
|
+
* Gets or sets outlineWidth of the text to display
|
11419
|
+
*/
|
11420
|
+
get outlineWidth(): number;
|
11421
|
+
set outlineWidth(value: number);
|
11422
|
+
/**
|
11423
|
+
* Gets or sets outlineColor of the text to display
|
11424
|
+
*/
|
11425
|
+
get outlineColor(): string;
|
11426
|
+
set outlineColor(value: string);
|
11421
11427
|
/** BABYLON.Observable raised when the text changes */
|
11422
11428
|
onTextChangedObservable: BABYLON.Observable<InputText>;
|
11423
11429
|
/** BABYLON.Observable raised just before an entered character is to be added */
|
@@ -11426,9 +11432,9 @@ declare module BABYLON.GUI {
|
|
11426
11432
|
onFocusObservable: BABYLON.Observable<InputText>;
|
11427
11433
|
/** BABYLON.Observable raised when the control loses the focus */
|
11428
11434
|
onBlurObservable: BABYLON.Observable<InputText>;
|
11429
|
-
/**Observable raised when the text is highlighted */
|
11435
|
+
/** BABYLON.Observable raised when the text is highlighted */
|
11430
11436
|
onTextHighlightObservable: BABYLON.Observable<InputText>;
|
11431
|
-
/**Observable raised when copy event is triggered */
|
11437
|
+
/** BABYLON.Observable raised when copy event is triggered */
|
11432
11438
|
onTextCopyObservable: BABYLON.Observable<InputText>;
|
11433
11439
|
/** BABYLON.Observable raised when cut event is triggered */
|
11434
11440
|
onTextCutObservable: BABYLON.Observable<InputText>;
|
@@ -11492,6 +11498,7 @@ declare module BABYLON.GUI {
|
|
11492
11498
|
get text(): string;
|
11493
11499
|
set text(value: string);
|
11494
11500
|
protected _textHasChanged(): void;
|
11501
|
+
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
11495
11502
|
/** Gets or sets control width */
|
11496
11503
|
get width(): string | number;
|
11497
11504
|
set width(value: string | number);
|
@@ -11573,8 +11580,6 @@ declare module BABYLON.GUI {
|
|
11573
11580
|
private _prevText;
|
11574
11581
|
private _lines;
|
11575
11582
|
private _lineSpacing;
|
11576
|
-
private _outlineWidth;
|
11577
|
-
private _outlineColor;
|
11578
11583
|
private _maxHeight;
|
11579
11584
|
private _clipTextTop;
|
11580
11585
|
private _clipTextLeft;
|
@@ -11593,22 +11598,6 @@ declare module BABYLON.GUI {
|
|
11593
11598
|
private _availableHeight;
|
11594
11599
|
private _scrollTop;
|
11595
11600
|
private _autoStretchHeight;
|
11596
|
-
/**
|
11597
|
-
* Gets or sets outlineWidth of the text to display
|
11598
|
-
*/
|
11599
|
-
get outlineWidth(): number;
|
11600
|
-
/**
|
11601
|
-
* Gets or sets outlineWidth of the text to display
|
11602
|
-
*/
|
11603
|
-
set outlineWidth(value: number);
|
11604
|
-
/**
|
11605
|
-
* Gets or sets outlineColor of the text to display
|
11606
|
-
*/
|
11607
|
-
get outlineColor(): string;
|
11608
|
-
/**
|
11609
|
-
* Gets or sets outlineColor of the text to display
|
11610
|
-
*/
|
11611
|
-
set outlineColor(value: string);
|
11612
11601
|
/** Gets or sets a boolean indicating if the control can auto stretch its height to adapt to the text */
|
11613
11602
|
get autoStretchHeight(): boolean;
|
11614
11603
|
set autoStretchHeight(value: boolean);
|
@@ -11689,7 +11678,6 @@ declare module BABYLON.GUI {
|
|
11689
11678
|
protected _onPasteText(ev: ClipboardEvent): void;
|
11690
11679
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
11691
11680
|
private _resetBlinking;
|
11692
|
-
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
11693
11681
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
11694
11682
|
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
11695
11683
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-gui",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.45.1",
|
4
4
|
"main": "babylon.gui.js",
|
5
5
|
"types": "babylon.gui.module.d.ts",
|
6
6
|
"files": [
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"test:escheck": "es-check es6 ./babylon.gui.js"
|
16
16
|
},
|
17
17
|
"dependencies": {
|
18
|
-
"babylonjs": "^6.
|
18
|
+
"babylonjs": "^6.45.1"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|