@babylonjs/gui 5.0.0-rc.12 → 5.0.0-rc.13

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.
Files changed (79) hide show
  1. package/2D/advancedDynamicTexture.js +4 -4
  2. package/2D/controls/button.js +4 -4
  3. package/2D/controls/checkbox.js +3 -3
  4. package/2D/controls/colorpicker.js +6 -6
  5. package/2D/controls/container.js +2 -2
  6. package/2D/controls/control.js +3 -3
  7. package/2D/controls/displayGrid.js +1 -1
  8. package/2D/controls/ellipse.js +2 -2
  9. package/2D/controls/focusableButton.js +1 -1
  10. package/2D/controls/grid.js +3 -3
  11. package/2D/controls/image.js +1 -1
  12. package/2D/controls/index.js +29 -29
  13. package/2D/controls/inputPassword.js +2 -2
  14. package/2D/controls/inputText.js +3 -3
  15. package/2D/controls/line.js +2 -2
  16. package/2D/controls/multiLine.js +2 -2
  17. package/2D/controls/radioButton.js +3 -3
  18. package/2D/controls/rectangle.js +1 -1
  19. package/2D/controls/scrollViewers/scrollViewer.js +6 -6
  20. package/2D/controls/scrollViewers/scrollViewerWindow.js +4 -4
  21. package/2D/controls/selector.js +8 -8
  22. package/2D/controls/sliders/baseSlider.js +2 -2
  23. package/2D/controls/sliders/imageBasedSlider.js +3 -3
  24. package/2D/controls/sliders/imageScrollBar.js +2 -2
  25. package/2D/controls/sliders/scrollBar.js +2 -2
  26. package/2D/controls/sliders/slider.js +1 -1
  27. package/2D/controls/stackPanel.js +2 -2
  28. package/2D/controls/statics.js +3 -3
  29. package/2D/controls/textBlock.js +2 -2
  30. package/2D/controls/toggleButton.js +1 -1
  31. package/2D/controls/virtualKeyboard.js +2 -2
  32. package/2D/index.js +9 -9
  33. package/2D/multiLinePoint.js +1 -1
  34. package/2D/style.js +1 -1
  35. package/3D/controls/abstractButton3D.js +1 -1
  36. package/3D/controls/button3D.js +1 -1
  37. package/3D/controls/container3D.js +1 -1
  38. package/3D/controls/contentDisplay3D.js +2 -2
  39. package/3D/controls/control3D.js +1 -1
  40. package/3D/controls/cylinderPanel.js +2 -2
  41. package/3D/controls/handMenu.js +1 -1
  42. package/3D/controls/holographicBackplate.js +2 -2
  43. package/3D/controls/holographicButton.js +6 -6
  44. package/3D/controls/holographicSlate.js +9 -9
  45. package/3D/controls/index.js +21 -21
  46. package/3D/controls/meshButton3D.js +1 -1
  47. package/3D/controls/nearMenu.js +3 -3
  48. package/3D/controls/planePanel.js +2 -2
  49. package/3D/controls/scatterPanel.js +2 -2
  50. package/3D/controls/slider3D.js +4 -4
  51. package/3D/controls/spherePanel.js +2 -2
  52. package/3D/controls/stackPanel3D.js +1 -1
  53. package/3D/controls/touchButton3D.js +1 -1
  54. package/3D/controls/touchHolographicButton.js +7 -7
  55. package/3D/controls/touchHolographicMenu.js +2 -2
  56. package/3D/controls/touchMeshButton3D.js +1 -1
  57. package/3D/controls/volumeBasedPanel.js +1 -1
  58. package/3D/gizmos/gizmoHandle.js +1 -1
  59. package/3D/gizmos/index.js +2 -2
  60. package/3D/gizmos/slateGizmo.js +1 -1
  61. package/3D/gui3DManager.js +1 -1
  62. package/3D/index.js +5 -5
  63. package/3D/materials/fluent/fluentMaterial.js +2 -2
  64. package/3D/materials/fluent/index.js +1 -1
  65. package/3D/materials/fluentBackplate/fluentBackplateMaterial.js +2 -2
  66. package/3D/materials/fluentBackplate/index.js +1 -1
  67. package/3D/materials/fluentButton/fluentButtonMaterial.js +2 -2
  68. package/3D/materials/fluentButton/index.js +1 -1
  69. package/3D/materials/fluentMaterial.js +1 -1
  70. package/3D/materials/handle/handleMaterial.js +2 -2
  71. package/3D/materials/handle/index.js +1 -1
  72. package/3D/materials/index.js +5 -5
  73. package/3D/materials/mrdl/index.js +3 -3
  74. package/3D/materials/mrdl/mrdlBackplateMaterial.js +2 -2
  75. package/3D/materials/mrdl/mrdlSliderBarMaterial.js +2 -2
  76. package/3D/materials/mrdl/mrdlSliderThumbMaterial.js +2 -2
  77. package/index.js +2 -2
  78. package/legacy/legacy.js +2 -2
  79. package/package.json +3 -3
@@ -8,10 +8,10 @@ import { KeyboardEventTypes } from "@babylonjs/core/Events/keyboardEvents.js";
8
8
  import { Texture } from "@babylonjs/core/Materials/Textures/texture.js";
9
9
  import { DynamicTexture } from "@babylonjs/core/Materials/Textures/dynamicTexture.js";
10
10
  import { Layer } from "@babylonjs/core/Layers/layer.js";
11
- import { Container } from "./controls/container";
12
- import { Control } from "./controls/control";
13
- import { Style } from "./style";
14
- import { Measure } from "./measure";
11
+ import { Container } from "./controls/container.js";
12
+ import { Control } from "./controls/control.js";
13
+ import { Style } from "./style.js";
14
+ import { Measure } from "./measure.js";
15
15
  import { Constants } from "@babylonjs/core/Engines/constants.js";
16
16
  import { Viewport } from "@babylonjs/core/Maths/math.viewport.js";
17
17
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { Rectangle } from "./rectangle";
3
- import { Control } from "./control";
4
- import { TextBlock } from "./textBlock";
5
- import { Image } from "./image";
2
+ import { Rectangle } from "./rectangle.js";
3
+ import { Control } from "./control.js";
4
+ import { TextBlock } from "./textBlock.js";
5
+ import { Image } from "./image.js";
6
6
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
7
7
  /**
8
8
  * Class used to create 2D buttons
@@ -1,8 +1,8 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { Control } from "./control";
4
- import { StackPanel } from "./stackPanel";
5
- import { TextBlock } from "./textBlock";
3
+ import { Control } from "./control.js";
4
+ import { StackPanel } from "./stackPanel.js";
5
+ import { TextBlock } from "./textBlock.js";
6
6
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
7
7
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
8
8
  /**
@@ -1,11 +1,11 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { Control } from "./control";
4
- import { InputText } from "./inputText";
5
- import { Rectangle } from "./rectangle";
6
- import { Button } from "./button";
7
- import { Grid } from "./grid";
8
- import { TextBlock } from "../controls/textBlock";
3
+ import { Control } from "./control.js";
4
+ import { InputText } from "./inputText.js";
5
+ import { Rectangle } from "./rectangle.js";
6
+ import { Button } from "./button.js";
7
+ import { Grid } from "./grid.js";
8
+ import { TextBlock } from "../controls/textBlock.js";
9
9
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
10
10
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
11
11
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Logger } from "@babylonjs/core/Misc/logger.js";
3
- import { Control } from "./control";
4
- import { Measure } from "../measure";
3
+ import { Control } from "./control.js";
4
+ import { Measure } from "../measure.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
7
7
  import { DynamicTexture } from "@babylonjs/core/Materials/Textures/dynamicTexture.js";
@@ -4,9 +4,9 @@ import { Vector2, Vector3, Matrix } from "@babylonjs/core/Maths/math.vector.js";
4
4
  import { PointerEventTypes } from "@babylonjs/core/Events/pointerEvents.js";
5
5
  import { Logger } from "@babylonjs/core/Misc/logger.js";
6
6
  import { Tools } from "@babylonjs/core/Misc/tools.js";
7
- import { ValueAndUnit } from "../valueAndUnit";
8
- import { Measure } from "../measure";
9
- import { Matrix2D, Vector2WithInfo } from "../math2D";
7
+ import { ValueAndUnit } from "../valueAndUnit.js";
8
+ import { Measure } from "../measure.js";
9
+ import { Matrix2D, Vector2WithInfo } from "../math2D.js";
10
10
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
11
11
  import { SerializationHelper, serialize } from "@babylonjs/core/Misc/decorators.js";
12
12
  import { EngineStore } from "@babylonjs/core/Engines/engineStore.js";
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { Control } from "./control";
2
+ import { Control } from "./control.js";
3
3
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
4
4
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
5
5
  /** Class used to render a grid */
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { Container } from "./container";
3
- import { Control } from "./control";
2
+ import { Container } from "./container.js";
3
+ import { Control } from "./control.js";
4
4
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
5
5
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
6
6
  /** Class used to create 2D ellipse containers */
@@ -1,5 +1,5 @@
1
1
  import { __extends } from "tslib";
2
- import { Button } from "./button";
2
+ import { Button } from "./button.js";
3
3
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
4
4
  import { Observable } from "@babylonjs/core/Misc/observable.js";
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
- import { Container } from "./container";
3
- import { ValueAndUnit } from "../valueAndUnit";
4
- import { Control } from "./control";
2
+ import { Container } from "./container.js";
3
+ import { ValueAndUnit } from "../valueAndUnit.js";
4
+ import { Control } from "./control.js";
5
5
  import { Tools } from "@babylonjs/core/Misc/tools.js";
6
6
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
3
  import { Tools } from "@babylonjs/core/Misc/tools.js";
4
- import { Control } from "./control";
4
+ import { Control } from "./control.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
7
7
  import { EngineStore } from "@babylonjs/core/Engines/engineStore.js";
@@ -1,30 +1,30 @@
1
- export * from "./button";
2
- export * from "./checkbox";
3
- export * from "./colorpicker";
4
- export * from "./container";
5
- export * from "./control";
6
- export * from "./ellipse";
7
- export * from "./focusableButton";
8
- export * from "./grid";
9
- export * from "./image";
10
- export * from "./inputText";
11
- export * from "./inputPassword";
12
- export * from "./line";
13
- export * from "./multiLine";
14
- export * from "./radioButton";
15
- export * from "./stackPanel";
16
- export * from "./selector";
17
- export * from "./scrollViewers/scrollViewer";
18
- export * from "./textBlock";
19
- export * from "./textWrapper";
20
- export * from "./toggleButton";
21
- export * from "./virtualKeyboard";
22
- export * from "./rectangle";
23
- export * from "./displayGrid";
24
- export * from "./sliders/baseSlider";
25
- export * from "./sliders/slider";
26
- export * from "./sliders/imageBasedSlider";
27
- export * from "./sliders/scrollBar";
28
- export * from "./sliders/imageScrollBar";
29
- export * from "./statics";
1
+ export * from "./button.js";
2
+ export * from "./checkbox.js";
3
+ export * from "./colorpicker.js";
4
+ export * from "./container.js";
5
+ export * from "./control.js";
6
+ export * from "./ellipse.js";
7
+ export * from "./focusableButton.js";
8
+ export * from "./grid.js";
9
+ export * from "./image.js";
10
+ export * from "./inputText.js";
11
+ export * from "./inputPassword.js";
12
+ export * from "./line.js";
13
+ export * from "./multiLine.js";
14
+ export * from "./radioButton.js";
15
+ export * from "./stackPanel.js";
16
+ export * from "./selector.js";
17
+ export * from "./scrollViewers/scrollViewer.js";
18
+ export * from "./textBlock.js";
19
+ export * from "./textWrapper.js";
20
+ export * from "./toggleButton.js";
21
+ export * from "./virtualKeyboard.js";
22
+ export * from "./rectangle.js";
23
+ export * from "./displayGrid.js";
24
+ export * from "./sliders/baseSlider.js";
25
+ export * from "./sliders/slider.js";
26
+ export * from "./sliders/imageBasedSlider.js";
27
+ export * from "./sliders/scrollBar.js";
28
+ export * from "./sliders/imageScrollBar.js";
29
+ export * from "./statics.js";
30
30
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
- import { InputText } from "./inputText";
2
+ import { InputText } from "./inputText.js";
3
3
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
4
- import { TextWrapper } from "./textWrapper";
4
+ import { TextWrapper } from "./textWrapper.js";
5
5
  /**
6
6
  * Class used to create a password control
7
7
  */
@@ -2,10 +2,10 @@ import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
3
  import { ClipboardEventTypes } from "@babylonjs/core/Events/clipboardEvents.js";
4
4
  import { PointerEventTypes } from "@babylonjs/core/Events/pointerEvents.js";
5
- import { Control } from "./control";
6
- import { ValueAndUnit } from "../valueAndUnit";
5
+ import { Control } from "./control.js";
6
+ import { ValueAndUnit } from "../valueAndUnit.js";
7
7
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
8
- import { TextWrapper } from "./textWrapper";
8
+ import { TextWrapper } from "./textWrapper.js";
9
9
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
10
10
  /**
11
11
  * Class used to create input text control
@@ -1,8 +1,8 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Vector3, Matrix } from "@babylonjs/core/Maths/math.vector.js";
3
3
  import { Tools } from "@babylonjs/core/Misc/tools.js";
4
- import { Control } from "./control";
5
- import { ValueAndUnit } from "../valueAndUnit";
4
+ import { Control } from "./control.js";
5
+ import { ValueAndUnit } from "../valueAndUnit.js";
6
6
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
7
7
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
8
8
  /** Class used to render 2D lines */
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
3
- import { Control } from "./control";
4
- import { MultiLinePoint } from "../multiLinePoint";
3
+ import { Control } from "./control.js";
4
+ import { MultiLinePoint } from "../multiLinePoint.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
7
7
  /**
@@ -1,8 +1,8 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { Control } from "./control";
4
- import { StackPanel } from "./stackPanel";
5
- import { TextBlock } from "./textBlock";
3
+ import { Control } from "./control.js";
4
+ import { StackPanel } from "./stackPanel.js";
5
+ import { TextBlock } from "./textBlock.js";
6
6
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
7
7
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { Container } from "./container";
2
+ import { Container } from "./container.js";
3
3
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
4
4
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
5
5
  /** Class used to create rectangle container */
@@ -1,10 +1,10 @@
1
1
  import { __extends } from "tslib";
2
- import { Rectangle } from "../rectangle";
3
- import { Grid } from "../grid";
4
- import { Control } from "../control";
5
- import { _ScrollViewerWindow } from "./scrollViewerWindow";
6
- import { ScrollBar } from "../sliders/scrollBar";
7
- import { ImageScrollBar } from "../sliders/imageScrollBar";
2
+ import { Rectangle } from "../rectangle.js";
3
+ import { Grid } from "../grid.js";
4
+ import { Control } from "../control.js";
5
+ import { _ScrollViewerWindow } from "./scrollViewerWindow.js";
6
+ import { ScrollBar } from "../sliders/scrollBar.js";
7
+ import { ImageScrollBar } from "../sliders/imageScrollBar.js";
8
8
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
9
9
  /**
10
10
  * Class used to hold a viewer window and sliders in a grid
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { Measure } from "../../measure";
3
- import { Container } from "../container";
4
- import { ValueAndUnit } from "../../valueAndUnit";
5
- import { Control } from "../control";
2
+ import { Measure } from "../../measure.js";
3
+ import { Container } from "../container.js";
4
+ import { ValueAndUnit } from "../../valueAndUnit.js";
5
+ import { Control } from "../control.js";
6
6
  /**
7
7
  * Class used to hold a the container for ScrollViewer
8
8
  * @hidden
@@ -1,12 +1,12 @@
1
1
  import { __extends } from "tslib";
2
- import { Rectangle } from "./rectangle";
3
- import { StackPanel } from "./stackPanel";
4
- import { Control } from "./control";
5
- import { TextBlock } from "./textBlock";
6
- import { Checkbox } from "./checkbox";
7
- import { RadioButton } from "./radioButton";
8
- import { Slider } from "./sliders/slider";
9
- import { Container } from "./container";
2
+ import { Rectangle } from "./rectangle.js";
3
+ import { StackPanel } from "./stackPanel.js";
4
+ import { Control } from "./control.js";
5
+ import { TextBlock } from "./textBlock.js";
6
+ import { Checkbox } from "./checkbox.js";
7
+ import { RadioButton } from "./radioButton.js";
8
+ import { Slider } from "./sliders/slider.js";
9
+ import { Container } from "./container.js";
10
10
  /** Class used to create a RadioGroup
11
11
  * which contains groups of radio buttons
12
12
  */
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { Control } from "../control";
4
- import { ValueAndUnit } from "../../valueAndUnit";
3
+ import { Control } from "../control.js";
4
+ import { ValueAndUnit } from "../../valueAndUnit.js";
5
5
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
6
6
  /**
7
7
  * Class used to create slider controls
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { BaseSlider } from "./baseSlider";
3
- import { Measure } from "../../measure";
4
- import { Image } from "../image";
2
+ import { BaseSlider } from "./baseSlider.js";
3
+ import { Measure } from "../../measure.js";
4
+ import { Image } from "../image.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
7
7
  /**
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { BaseSlider } from "./baseSlider";
3
- import { Measure } from "../../measure";
2
+ import { BaseSlider } from "./baseSlider.js";
3
+ import { Measure } from "../../measure.js";
4
4
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
5
5
  /**
6
6
  * Class used to create slider controls
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { BaseSlider } from "./baseSlider";
3
- import { Measure } from "../../measure";
2
+ import { BaseSlider } from "./baseSlider.js";
3
+ import { Measure } from "../../measure.js";
4
4
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
5
5
  /**
6
6
  * Class used to create slider controls
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __extends } from "tslib";
2
- import { BaseSlider } from "./baseSlider";
2
+ import { BaseSlider } from "./baseSlider.js";
3
3
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
4
4
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
- import { Container } from "./container";
4
- import { Control } from "./control";
3
+ import { Container } from "./container.js";
4
+ import { Control } from "./control.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
7
7
  /**
@@ -1,6 +1,6 @@
1
- import { Control } from "./control";
2
- import { StackPanel } from "./stackPanel";
3
- import { TextBlock } from "./textBlock";
1
+ import { Control } from "./control.js";
2
+ import { StackPanel } from "./stackPanel.js";
3
+ import { TextBlock } from "./textBlock.js";
4
4
  /**
5
5
  * Forcing an export so that this code will execute
6
6
  * @hidden
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { ValueAndUnit } from "../valueAndUnit";
4
- import { Control } from "./control";
3
+ import { ValueAndUnit } from "../valueAndUnit.js";
4
+ import { Control } from "./control.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  import { serialize } from "@babylonjs/core/Misc/decorators.js";
7
7
  import { EngineStore } from "@babylonjs/core/Engines/engineStore.js";
@@ -1,6 +1,6 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { Rectangle } from "./rectangle";
3
+ import { Rectangle } from "./rectangle.js";
4
4
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
5
5
  /**
6
6
  * Class used to create toggle buttons
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
- import { StackPanel } from "./stackPanel";
4
- import { Button } from "./button";
3
+ import { StackPanel } from "./stackPanel.js";
4
+ import { Button } from "./button.js";
5
5
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
6
6
  /**
7
7
  * Class used to store key control properties
package/2D/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./controls/index";
3
- export * from "./advancedDynamicTexture";
4
- export * from "./adtInstrumentation";
5
- export * from "./math2D";
6
- export * from "./measure";
7
- export * from "./multiLinePoint";
8
- export * from "./style";
9
- export * from "./valueAndUnit";
10
- export * from "./xmlLoader";
2
+ export * from "./controls/index.js";
3
+ export * from "./advancedDynamicTexture.js";
4
+ export * from "./adtInstrumentation.js";
5
+ export * from "./math2D.js";
6
+ export * from "./measure.js";
7
+ export * from "./multiLinePoint.js";
8
+ export * from "./style.js";
9
+ export * from "./valueAndUnit.js";
10
+ export * from "./xmlLoader.js";
11
11
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
2
2
  import { Epsilon } from "@babylonjs/core/Maths/math.constants.js";
3
- import { ValueAndUnit } from "./valueAndUnit";
3
+ import { ValueAndUnit } from "./valueAndUnit.js";
4
4
  /**
5
5
  * Class used to store a point for a MultiLine object.
6
6
  * The point can be pure 2D coordinates, a mesh or a control
package/2D/style.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Observable } from "@babylonjs/core/Misc/observable.js";
2
- import { ValueAndUnit } from "./valueAndUnit";
2
+ import { ValueAndUnit } from "./valueAndUnit.js";
3
3
  /**
4
4
  * Define a style used by control to automatically setup properties based on a template.
5
5
  * Only support font related properties so far
@@ -1,6 +1,6 @@
1
1
  import { __extends } from "tslib";
2
2
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
3
- import { ContentDisplay3D } from "./contentDisplay3D";
3
+ import { ContentDisplay3D } from "./contentDisplay3D.js";
4
4
  /**
5
5
  * Class used as a root to all buttons
6
6
  */
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
2
2
  import { Vector4 } from "@babylonjs/core/Maths/math.vector.js";
3
3
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
4
4
  import { StandardMaterial } from "@babylonjs/core/Materials/standardMaterial.js";
5
- import { AbstractButton3D } from "./abstractButton3D";
5
+ import { AbstractButton3D } from "./abstractButton3D.js";
6
6
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
7
7
  /**
8
8
  * Class used to create a button in 3D
@@ -1,6 +1,6 @@
1
1
  import { __extends } from "tslib";
2
2
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
3
- import { Control3D } from "./control3D";
3
+ import { Control3D } from "./control3D.js";
4
4
  /**
5
5
  * Class used to create containers for controls
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { __extends } from "tslib";
2
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
3
- import { Control3D } from "./control3D";
2
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
3
+ import { Control3D } from "./control3D.js";
4
4
  import { Texture } from "@babylonjs/core/Materials/Textures/texture.js";
5
5
  /**
6
6
  * The base class for controls that display content
@@ -2,7 +2,7 @@ import { Observable } from "@babylonjs/core/Misc/observable.js";
2
2
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
3
3
  import { PointerEventTypes } from "@babylonjs/core/Events/pointerEvents.js";
4
4
  import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
5
- import { Vector3WithInfo } from "../vector3WithInfo";
5
+ import { Vector3WithInfo } from "../vector3WithInfo.js";
6
6
  /**
7
7
  * Class used as base class for controls
8
8
  */
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { Matrix, TmpVectors, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
- import { VolumeBasedPanel } from "./volumeBasedPanel";
5
- import { Container3D } from "./container3D";
4
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
5
+ import { Container3D } from "./container3D.js";
6
6
  import { Axis, Space } from "@babylonjs/core/Maths/math.axis.js";
7
7
  /**
8
8
  * Class used to create a container panel deployed on the surface of a cylinder
@@ -1,5 +1,5 @@
1
1
  import { __extends } from "tslib";
2
- import { TouchHolographicMenu } from "./touchHolographicMenu";
2
+ import { TouchHolographicMenu } from "./touchHolographicMenu.js";
3
3
  import { HandConstraintBehavior } from "@babylonjs/core/Behaviors/Meshes/handConstraintBehavior.js";
4
4
  /**
5
5
  * Hand menu that displays buttons and floats around the hand.
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
3
- import { FluentBackplateMaterial } from "../materials/fluentBackplate/fluentBackplateMaterial";
4
- import { Control3D } from "./control3D";
3
+ import { FluentBackplateMaterial } from "../materials/fluentBackplate/fluentBackplateMaterial.js";
4
+ import { Control3D } from "./control3D.js";
5
5
  import { SceneLoader } from "@babylonjs/core/Loading/sceneLoader.js";
6
6
  /**
7
7
  * Class used to create a holographic backplate in 3D
@@ -1,16 +1,16 @@
1
1
  import { __extends } from "tslib";
2
- import { Button3D } from "./button3D";
2
+ import { Button3D } from "./button3D.js";
3
3
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
4
  import { StandardMaterial } from "@babylonjs/core/Materials/standardMaterial.js";
5
5
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
6
6
  import { CreatePlane } from "@babylonjs/core/Meshes/Builders/planeBuilder.js";
7
7
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
8
8
  import { FadeInOutBehavior } from "@babylonjs/core/Behaviors/Meshes/fadeInOutBehavior.js";
9
- import { FluentMaterial } from "../materials/fluent/fluentMaterial";
10
- import { StackPanel } from "../../2D/controls/stackPanel";
11
- import { Image } from "../../2D/controls/image";
12
- import { TextBlock } from "../../2D/controls/textBlock";
13
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
9
+ import { FluentMaterial } from "../materials/fluent/fluentMaterial.js";
10
+ import { StackPanel } from "../../2D/controls/stackPanel.js";
11
+ import { Image } from "../../2D/controls/image.js";
12
+ import { TextBlock } from "../../2D/controls/textBlock.js";
13
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
14
14
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
15
15
  import { DomManagement } from "@babylonjs/core/Misc/domManagement.js";
16
16
  /**
@@ -1,13 +1,13 @@
1
1
  import { __extends } from "tslib";
2
- import { ContentDisplay3D } from "./contentDisplay3D";
3
- import { TouchHolographicButton } from "./touchHolographicButton";
4
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
5
- import { Control } from "../../2D/controls/control";
6
- import { TextBlock, TextWrapping } from "../../2D/controls/textBlock";
7
- import { DefaultBehavior } from "../behaviors/defaultBehavior";
8
- import { SlateGizmo } from "../gizmos/slateGizmo";
9
- import { FluentMaterial } from "../materials/fluent/fluentMaterial";
10
- import { FluentBackplateMaterial } from "../materials/fluentBackplate/fluentBackplateMaterial";
2
+ import { ContentDisplay3D } from "./contentDisplay3D.js";
3
+ import { TouchHolographicButton } from "./touchHolographicButton.js";
4
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
5
+ import { Control } from "../../2D/controls/control.js";
6
+ import { TextBlock, TextWrapping } from "../../2D/controls/textBlock.js";
7
+ import { DefaultBehavior } from "../behaviors/defaultBehavior.js";
8
+ import { SlateGizmo } from "../gizmos/slateGizmo.js";
9
+ import { FluentMaterial } from "../materials/fluent/fluentMaterial.js";
10
+ import { FluentBackplateMaterial } from "../materials/fluentBackplate/fluentBackplateMaterial.js";
11
11
  import { PointerDragBehavior } from "@babylonjs/core/Behaviors/Meshes/pointerDragBehavior.js";
12
12
  import { Vector4 } from "@babylonjs/core/Maths/math.js";
13
13
  import { Epsilon } from "@babylonjs/core/Maths/math.constants.js";
@@ -1,22 +1,22 @@
1
- export * from "./abstractButton3D";
2
- export * from "./button3D";
3
- export * from "./container3D";
4
- export * from "./control3D";
5
- export * from "./cylinderPanel";
6
- export * from "./holographicButton";
7
- export * from "./holographicSlate";
8
- export * from "./handMenu";
9
- export * from "./meshButton3D";
10
- export * from "./nearMenu";
11
- export * from "./planePanel";
12
- export * from "./scatterPanel";
13
- export * from "./slider3D";
14
- export * from "./spherePanel";
15
- export * from "./stackPanel3D";
16
- export * from "./touchButton3D";
17
- export * from "./touchMeshButton3D";
18
- export * from "./touchHolographicButton";
19
- export * from "./touchHolographicMenu";
20
- export * from "./volumeBasedPanel";
21
- export * from "./holographicBackplate";
1
+ export * from "./abstractButton3D.js";
2
+ export * from "./button3D.js";
3
+ export * from "./container3D.js";
4
+ export * from "./control3D.js";
5
+ export * from "./cylinderPanel.js";
6
+ export * from "./holographicButton.js";
7
+ export * from "./holographicSlate.js";
8
+ export * from "./handMenu.js";
9
+ export * from "./meshButton3D.js";
10
+ export * from "./nearMenu.js";
11
+ export * from "./planePanel.js";
12
+ export * from "./scatterPanel.js";
13
+ export * from "./slider3D.js";
14
+ export * from "./spherePanel.js";
15
+ export * from "./stackPanel3D.js";
16
+ export * from "./touchButton3D.js";
17
+ export * from "./touchMeshButton3D.js";
18
+ export * from "./touchHolographicButton.js";
19
+ export * from "./touchHolographicMenu.js";
20
+ export * from "./volumeBasedPanel.js";
21
+ export * from "./holographicBackplate.js";
22
22
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { __extends } from "tslib";
2
- import { Button3D } from "./button3D";
2
+ import { Button3D } from "./button3D.js";
3
3
  /**
4
4
  * Class used to create an interactable object. It's a 3D button using a mesh coming from the current scene
5
5
  */
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
- import { TouchHolographicButton } from "./touchHolographicButton";
3
- import { DefaultBehavior } from "../behaviors/defaultBehavior";
4
- import { TouchHolographicMenu } from "./touchHolographicMenu";
2
+ import { TouchHolographicButton } from "./touchHolographicButton.js";
3
+ import { DefaultBehavior } from "../behaviors/defaultBehavior.js";
4
+ import { TouchHolographicMenu } from "./touchHolographicMenu.js";
5
5
  /**
6
6
  * NearMenu that displays buttons and follows the camera
7
7
  * @since 5.0.0
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { TmpVectors, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
3
- import { Container3D } from "./container3D";
4
- import { VolumeBasedPanel } from "./volumeBasedPanel";
3
+ import { Container3D } from "./container3D.js";
4
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
5
5
  /**
6
6
  * Class used to create a container panel deployed on the surface of a plane
7
7
  */
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { TmpVectors, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
- import { VolumeBasedPanel } from "./volumeBasedPanel";
5
- import { Container3D } from "./container3D";
4
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
5
+ import { Container3D } from "./container3D.js";
6
6
  /**
7
7
  * Class used to create a container panel where items get randomized planar mapping
8
8
  */
@@ -1,13 +1,13 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Observable } from "@babylonjs/core/Misc/observable.js";
3
3
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
- import { Control3D } from "./control3D";
4
+ import { Control3D } from "./control3D.js";
5
5
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
6
6
  import { PointerDragBehavior } from "@babylonjs/core/Behaviors/Meshes/pointerDragBehavior.js";
7
7
  import { SceneLoader } from "@babylonjs/core/Loading/sceneLoader.js";
8
- import { MRDLSliderBarMaterial } from "../materials/mrdl/mrdlSliderBarMaterial";
9
- import { MRDLSliderThumbMaterial } from "../materials/mrdl/mrdlSliderThumbMaterial";
10
- import { MRDLBackplateMaterial } from "../materials/mrdl/mrdlBackplateMaterial";
8
+ import { MRDLSliderBarMaterial } from "../materials/mrdl/mrdlSliderBarMaterial.js";
9
+ import { MRDLSliderThumbMaterial } from "../materials/mrdl/mrdlSliderThumbMaterial.js";
10
+ import { MRDLBackplateMaterial } from "../materials/mrdl/mrdlBackplateMaterial.js";
11
11
  var SLIDER_MIN = 0;
12
12
  var SLIDER_MAX = 100;
13
13
  var SLIDER_VAL = 50;
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { Matrix, TmpVectors, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
- import { VolumeBasedPanel } from "./volumeBasedPanel";
5
- import { Container3D } from "./container3D";
4
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
5
+ import { Container3D } from "./container3D.js";
6
6
  import { Axis, Space } from "@babylonjs/core/Maths/math.axis.js";
7
7
  /**
8
8
  * Class used to create a container panel deployed on the surface of a sphere
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { Matrix, TmpVectors, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
- import { Container3D } from "./container3D";
4
+ import { Container3D } from "./container3D.js";
5
5
  /**
6
6
  * Class used to create a stack panel in 3D on XY plane
7
7
  */
@@ -3,7 +3,7 @@ import { __extends } from "tslib";
3
3
  import { Vector3, TmpVectors } from "@babylonjs/core/Maths/math.vector.js";
4
4
  import { PointerEventTypes } from "@babylonjs/core/Events/pointerEvents.js";
5
5
  import { Observable } from "@babylonjs/core/Misc/observable.js";
6
- import { Button3D } from "./button3D";
6
+ import { Button3D } from "./button3D.js";
7
7
  /**
8
8
  * Class used to create a touchable button in 3D
9
9
  */
@@ -6,14 +6,14 @@ import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
6
6
  import { CreatePlane } from "@babylonjs/core/Meshes/Builders/planeBuilder.js";
7
7
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
8
8
  import { FadeInOutBehavior } from "@babylonjs/core/Behaviors/Meshes/fadeInOutBehavior.js";
9
- import { FluentMaterial } from "../materials/fluent/fluentMaterial";
10
- import { FluentButtonMaterial } from "../materials/fluentButton/fluentButtonMaterial";
11
- import { StackPanel } from "../../2D/controls/stackPanel";
12
- import { Image } from "../../2D/controls/image";
13
- import { TextBlock } from "../../2D/controls/textBlock";
14
- import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture";
9
+ import { FluentMaterial } from "../materials/fluent/fluentMaterial.js";
10
+ import { FluentButtonMaterial } from "../materials/fluentButton/fluentButtonMaterial.js";
11
+ import { StackPanel } from "../../2D/controls/stackPanel.js";
12
+ import { Image } from "../../2D/controls/image.js";
13
+ import { TextBlock } from "../../2D/controls/textBlock.js";
14
+ import { AdvancedDynamicTexture } from "../../2D/advancedDynamicTexture.js";
15
15
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
16
- import { TouchButton3D } from "./touchButton3D";
16
+ import { TouchButton3D } from "./touchButton3D.js";
17
17
  import { SceneLoader } from "@babylonjs/core/Loading/sceneLoader.js";
18
18
  import { DomManagement } from "@babylonjs/core/Misc/domManagement.js";
19
19
  import { Scalar } from "@babylonjs/core/Maths/math.scalar.js";
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { VolumeBasedPanel } from "./volumeBasedPanel";
2
+ import { VolumeBasedPanel } from "./volumeBasedPanel.js";
3
3
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
4
4
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
5
- import { FluentMaterial } from "../materials/fluent/fluentMaterial";
5
+ import { FluentMaterial } from "../materials/fluent/fluentMaterial.js";
6
6
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
7
7
  import { Logger } from "@babylonjs/core/Misc/logger.js";
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  import { __extends } from "tslib";
2
- import { TouchButton3D } from "./touchButton3D";
2
+ import { TouchButton3D } from "./touchButton3D.js";
3
3
  /**
4
4
  * Class used to create an interactable object. It's a touchable 3D button using a mesh coming from the current scene
5
5
  * @since 5.0.0
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { Matrix, Vector3, TmpVectors } from "@babylonjs/core/Maths/math.vector.js";
4
- import { Container3D } from "./container3D";
4
+ import { Container3D } from "./container3D.js";
5
5
  /**
6
6
  * Abstract class used to create a container panel deployed on the surface of a volume
7
7
  */
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
2
2
  import { CreateBox } from "@babylonjs/core/Meshes/Builders/boxBuilder.js";
3
3
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
4
4
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
5
- import { HandleMaterial } from "../materials/handle/handleMaterial";
5
+ import { HandleMaterial } from "../materials/handle/handleMaterial.js";
6
6
  import { BaseSixDofDragBehavior } from "@babylonjs/core/Behaviors/Meshes/baseSixDofDragBehavior.js";
7
7
  /**
8
8
  * State of the handle regarding user interaction
@@ -1,3 +1,3 @@
1
- export * from "./slateGizmo";
2
- export * from "./gizmoHandle";
1
+ export * from "./slateGizmo.js";
2
+ export * from "./gizmoHandle.js";
3
3
  //# sourceMappingURL=index.js.map
@@ -4,7 +4,7 @@ import { Epsilon } from "@babylonjs/core/Maths/math.constants.js";
4
4
  import { Matrix, Quaternion, TmpVectors, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
5
5
  import { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
6
6
  import { PivotTools } from "@babylonjs/core/Misc/pivotTools.js";
7
- import { CornerHandle, SideHandle } from "./gizmoHandle";
7
+ import { CornerHandle, SideHandle } from "./gizmoHandle.js";
8
8
  /**
9
9
  * Gizmo to resize 2D slates
10
10
  */
@@ -4,7 +4,7 @@ import { PointerEventTypes } from "@babylonjs/core/Events/pointerEvents.js";
4
4
  import { HemisphericLight } from "@babylonjs/core/Lights/hemisphericLight.js";
5
5
  import { UtilityLayerRenderer } from "@babylonjs/core/Rendering/utilityLayerRenderer.js";
6
6
  import { EngineStore } from "@babylonjs/core/Engines/engineStore.js";
7
- import { Container3D } from "./controls/container3D";
7
+ import { Container3D } from "./controls/container3D.js";
8
8
  /**
9
9
  * Class used to manage 3D user interface
10
10
  * @see https://doc.babylonjs.com/how_to/gui3d
package/3D/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./controls/index";
3
- export * from "./materials/index";
4
- export * from "./gizmos/index";
5
- export * from "./gui3DManager";
6
- export * from "./vector3WithInfo";
2
+ export * from "./controls/index.js";
3
+ export * from "./materials/index.js";
4
+ export * from "./gizmos/index.js";
5
+ export * from "./gui3DManager.js";
6
+ export * from "./vector3WithInfo.js";
7
7
  //# sourceMappingURL=index.js.map
@@ -7,8 +7,8 @@ import { PushMaterial } from "@babylonjs/core/Materials/pushMaterial.js";
7
7
  import { VertexBuffer } from "@babylonjs/core/Buffers/buffer.js";
8
8
  import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
9
9
  import { Color3, Color4 } from "@babylonjs/core/Maths/math.color.js";
10
- import "./shaders/fluent.vertex";
11
- import "./shaders/fluent.fragment";
10
+ import "./shaders/fluent.vertex.js";
11
+ import "./shaders/fluent.fragment.js";
12
12
  /** @hidden */
13
13
  var FluentMaterialDefines = /** @class */ (function (_super) {
14
14
  __extends(FluentMaterialDefines, _super);
@@ -1,2 +1,2 @@
1
- export * from "./fluentMaterial";
1
+ export * from "./fluentMaterial.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -10,8 +10,8 @@ import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
10
10
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
11
11
  import { EffectFallbacks } from "@babylonjs/core/Materials/effectFallbacks.js";
12
12
  import { Constants } from "@babylonjs/core/Engines/constants.js";
13
- import "./shaders/fluentBackplate.fragment";
14
- import "./shaders/fluentBackplate.vertex";
13
+ import "./shaders/fluentBackplate.fragment.js";
14
+ import "./shaders/fluentBackplate.vertex.js";
15
15
  /** @hidden */
16
16
  var FluentBackplateMaterialDefines = /** @class */ (function (_super) {
17
17
  __extends(FluentBackplateMaterialDefines, _super);
@@ -1,2 +1,2 @@
1
- export * from "./fluentBackplateMaterial";
1
+ export * from "./fluentBackplateMaterial.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -10,8 +10,8 @@ import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
10
10
  import { Color3, Color4 } from "@babylonjs/core/Maths/math.color.js";
11
11
  import { EffectFallbacks } from "@babylonjs/core/Materials/effectFallbacks.js";
12
12
  import { Constants } from "@babylonjs/core/Engines/constants.js";
13
- import "./shaders/fluentButton.fragment";
14
- import "./shaders/fluentButton.vertex";
13
+ import "./shaders/fluentButton.fragment.js";
14
+ import "./shaders/fluentButton.vertex.js";
15
15
  /** @hidden */
16
16
  var FluentButtonMaterialDefines = /** @class */ (function (_super) {
17
17
  __extends(FluentButtonMaterialDefines, _super);
@@ -1,2 +1,2 @@
1
- export * from "./fluentButtonMaterial";
1
+ export * from "./fluentButtonMaterial.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * This is here for backwards compatibility with 4.2
3
3
  */
4
- export { FluentMaterial } from "./fluent/fluentMaterial";
4
+ export { FluentMaterial } from "./fluent/fluentMaterial.js";
5
5
  //# sourceMappingURL=fluentMaterial.js.map
@@ -2,8 +2,8 @@ import { __extends } from "tslib";
2
2
  import { ShaderMaterial } from "@babylonjs/core/Materials/shaderMaterial.js";
3
3
  import { Color3, TmpColors } from "@babylonjs/core/Maths/math.color.js";
4
4
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
5
- import "./shaders/handle.vertex";
6
- import "./shaders/handle.fragment";
5
+ import "./shaders/handle.vertex.js";
6
+ import "./shaders/handle.fragment.js";
7
7
  /**
8
8
  * Class used to render gizmo handles with fluent design
9
9
  */
@@ -1,2 +1,2 @@
1
- export * from "./handleMaterial";
1
+ export * from "./handleMaterial.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./fluent/index";
3
- export * from "./fluentButton/index";
4
- export * from "./fluentBackplate/index";
5
- export * from "./handle/index";
6
- export * from "./mrdl/index";
2
+ export * from "./fluent/index.js";
3
+ export * from "./fluentButton/index.js";
4
+ export * from "./fluentBackplate/index.js";
5
+ export * from "./handle/index.js";
6
+ export * from "./mrdl/index.js";
7
7
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export * from "./mrdlSliderBarMaterial";
2
- export * from "./mrdlSliderThumbMaterial";
3
- export * from "./mrdlBackplateMaterial";
1
+ export * from "./mrdlSliderBarMaterial.js";
2
+ export * from "./mrdlSliderThumbMaterial.js";
3
+ export * from "./mrdlBackplateMaterial.js";
4
4
  //# sourceMappingURL=index.js.map
@@ -10,8 +10,8 @@ import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
10
10
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
11
11
  import { EffectFallbacks } from "@babylonjs/core/Materials/effectFallbacks.js";
12
12
  import { Constants } from "@babylonjs/core/Engines/constants.js";
13
- import "./shaders/mrdlBackplate.fragment";
14
- import "./shaders/mrdlBackplate.vertex";
13
+ import "./shaders/mrdlBackplate.fragment.js";
14
+ import "./shaders/mrdlBackplate.vertex.js";
15
15
  /** @hidden */
16
16
  var MRDLBackplateMaterialDefines = /** @class */ (function (_super) {
17
17
  __extends(MRDLBackplateMaterialDefines, _super);
@@ -10,8 +10,8 @@ import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
10
10
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
11
11
  import { EffectFallbacks } from "@babylonjs/core/Materials/effectFallbacks.js";
12
12
  import { Constants } from "@babylonjs/core/Engines/constants.js";
13
- import "./shaders/mrdlSliderBar.fragment";
14
- import "./shaders/mrdlSliderBar.vertex";
13
+ import "./shaders/mrdlSliderBar.fragment.js";
14
+ import "./shaders/mrdlSliderBar.vertex.js";
15
15
  /** @hidden */
16
16
  var MRDLSliderBarMaterialDefines = /** @class */ (function (_super) {
17
17
  __extends(MRDLSliderBarMaterialDefines, _super);
@@ -10,8 +10,8 @@ import { RegisterClass } from "@babylonjs/core/Misc/typeStore.js";
10
10
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
11
11
  import { EffectFallbacks } from "@babylonjs/core/Materials/effectFallbacks.js";
12
12
  import { Constants } from "@babylonjs/core/Engines/constants.js";
13
- import "./shaders/mrdlSliderThumb.fragment";
14
- import "./shaders/mrdlSliderThumb.vertex";
13
+ import "./shaders/mrdlSliderThumb.fragment.js";
14
+ import "./shaders/mrdlSliderThumb.vertex.js";
15
15
  /** @hidden */
16
16
  var MRDLSliderThumbMaterialDefines = /** @class */ (function (_super) {
17
17
  __extends(MRDLSliderThumbMaterialDefines, _super);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./2D/index";
3
- export * from "./3D/index";
2
+ export * from "./2D/index.js";
3
+ export * from "./3D/index.js";
4
4
  //# sourceMappingURL=index.js.map
package/legacy/legacy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- import * as GUI from "../index";
2
+ import * as GUI from "../index.js";
3
3
  /**
4
4
  * Legacy support, defining window.BABYLON.GUI (global variable).
5
5
  *
@@ -11,5 +11,5 @@ if (typeof globalObject !== "undefined") {
11
11
  globalObject.BABYLON = globalObject.BABYLON || {};
12
12
  globalObject.BABYLON.GUI = GUI;
13
13
  }
14
- export * from "../index";
14
+ export * from "../index.js";
15
15
  //# sourceMappingURL=legacy.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/gui",
3
- "version": "5.0.0-rc.12",
3
+ "version": "5.0.0-rc.13",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "types": "index.d.ts",
@@ -15,11 +15,11 @@
15
15
  "build": "npm run clean && npm run compile",
16
16
  "clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json)\"",
17
17
  "compile": "tsc -b tsconfig.build.json --verbose",
18
- "postcompile": "build-tools -c add-js-to-es6 --path ./dist/**/*.js",
18
+ "postcompile": "build-tools -c add-js-to-es6",
19
19
  "prepublishOnly": "build-tools -c prepare-es6-build"
20
20
  },
21
21
  "dependencies": {
22
- "@babylonjs/core": "^5.0.0-rc.12",
22
+ "@babylonjs/core": "^5.0.0-rc.13",
23
23
  "tslib": "^2.3.1"
24
24
  },
25
25
  "devDependencies": {