@playcanvas/web-components 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asset.d.ts +8 -0
- package/dist/components/button-component.d.ts +184 -0
- package/dist/components/camera-component.d.ts +1 -1
- package/dist/components/element-component.d.ts +162 -16
- package/dist/components/layoutchild-component.d.ts +110 -0
- package/dist/components/layoutgroup-component.d.ts +134 -0
- package/dist/components/light-component.d.ts +1 -1
- package/dist/components/scrollbar-component.d.ts +68 -0
- package/dist/components/scrollview-component.d.ts +173 -0
- package/dist/entity.d.ts +4 -0
- package/dist/index.d.ts +6 -1
- package/dist/pwc.cjs +1905 -60
- package/dist/pwc.cjs.map +1 -1
- package/dist/pwc.js +1905 -60
- package/dist/pwc.js.map +1 -1
- package/dist/pwc.min.js +1 -1
- package/dist/pwc.min.js.map +1 -1
- package/dist/pwc.mjs +1902 -62
- package/dist/pwc.mjs.map +1 -1
- package/dist/utils.d.ts +20 -1
- package/package.json +7 -7
- package/src/app.ts +5 -0
- package/src/asset.ts +75 -2
- package/src/components/button-component.ts +450 -0
- package/src/components/element-component.ts +415 -5
- package/src/components/layoutchild-component.ts +232 -0
- package/src/components/layoutgroup-component.ts +297 -0
- package/src/components/scrollbar-component.ts +166 -0
- package/src/components/scrollview-component.ts +427 -0
- package/src/entity.ts +15 -1
- package/src/index.ts +10 -0
- package/src/utils.ts +49 -1
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { LayoutGroupComponent, Vec2, Vec4 } from 'playcanvas';
|
|
2
|
+
import { ComponentElement } from './component';
|
|
3
|
+
/**
|
|
4
|
+
* The LayoutGroupComponentElement interface provides properties and methods for manipulating
|
|
5
|
+
* {@link https://developer.playcanvas.com/user-manual/web-components/tags/pc-layoutgroup/ | `<pc-layoutgroup>`} elements.
|
|
6
|
+
* The LayoutGroupComponentElement interface also inherits the properties and methods of the
|
|
7
|
+
* {@link HTMLElement} interface.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
11
|
+
declare class LayoutGroupComponentElement extends ComponentElement {
|
|
12
|
+
private _orientation;
|
|
13
|
+
private _reverseX;
|
|
14
|
+
private _reverseY;
|
|
15
|
+
private _alignment;
|
|
16
|
+
private _padding;
|
|
17
|
+
private _spacing;
|
|
18
|
+
private _widthFitting;
|
|
19
|
+
private _heightFitting;
|
|
20
|
+
private _wrap;
|
|
21
|
+
/** @ignore */
|
|
22
|
+
constructor();
|
|
23
|
+
getInitialComponentData(): {
|
|
24
|
+
orientation: number;
|
|
25
|
+
reverseX: boolean;
|
|
26
|
+
reverseY: boolean;
|
|
27
|
+
alignment: Vec2;
|
|
28
|
+
padding: Vec4;
|
|
29
|
+
spacing: Vec2;
|
|
30
|
+
widthFitting: number;
|
|
31
|
+
heightFitting: number;
|
|
32
|
+
wrap: boolean;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Gets the underlying PlayCanvas layout group component.
|
|
36
|
+
* @returns The layout group component.
|
|
37
|
+
*/
|
|
38
|
+
get component(): LayoutGroupComponent | null;
|
|
39
|
+
/**
|
|
40
|
+
* Sets the orientation of the layout group. Can be `horizontal` (0) or `vertical` (1).
|
|
41
|
+
* @param value - The orientation.
|
|
42
|
+
*/
|
|
43
|
+
set orientation(value: number);
|
|
44
|
+
/**
|
|
45
|
+
* Gets the orientation of the layout group.
|
|
46
|
+
* @returns The orientation.
|
|
47
|
+
*/
|
|
48
|
+
get orientation(): number;
|
|
49
|
+
/**
|
|
50
|
+
* Sets whether the order of children is reversed along the horizontal axis.
|
|
51
|
+
* @param value - Whether to reverse the horizontal order.
|
|
52
|
+
*/
|
|
53
|
+
set reverseX(value: boolean);
|
|
54
|
+
/**
|
|
55
|
+
* Gets whether the order of children is reversed along the horizontal axis.
|
|
56
|
+
* @returns Whether the horizontal order is reversed.
|
|
57
|
+
*/
|
|
58
|
+
get reverseX(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Sets whether the order of children is reversed along the vertical axis.
|
|
61
|
+
* @param value - Whether to reverse the vertical order.
|
|
62
|
+
*/
|
|
63
|
+
set reverseY(value: boolean);
|
|
64
|
+
/**
|
|
65
|
+
* Gets whether the order of children is reversed along the vertical axis.
|
|
66
|
+
* @returns Whether the vertical order is reversed.
|
|
67
|
+
*/
|
|
68
|
+
get reverseY(): boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the horizontal and vertical alignment of the child elements (each component 0 to 1).
|
|
71
|
+
* @param value - The alignment.
|
|
72
|
+
*/
|
|
73
|
+
set alignment(value: Vec2);
|
|
74
|
+
/**
|
|
75
|
+
* Gets the alignment of the child elements.
|
|
76
|
+
* @returns The alignment.
|
|
77
|
+
*/
|
|
78
|
+
get alignment(): Vec2;
|
|
79
|
+
/**
|
|
80
|
+
* Sets the padding around the layout group, as a Vec4 (left, bottom, right, top).
|
|
81
|
+
* @param value - The padding.
|
|
82
|
+
*/
|
|
83
|
+
set padding(value: Vec4);
|
|
84
|
+
/**
|
|
85
|
+
* Gets the padding around the layout group.
|
|
86
|
+
* @returns The padding.
|
|
87
|
+
*/
|
|
88
|
+
get padding(): Vec4;
|
|
89
|
+
/**
|
|
90
|
+
* Sets the spacing between child elements, as a Vec2 (x, y).
|
|
91
|
+
* @param value - The spacing.
|
|
92
|
+
*/
|
|
93
|
+
set spacing(value: Vec2);
|
|
94
|
+
/**
|
|
95
|
+
* Gets the spacing between child elements.
|
|
96
|
+
* @returns The spacing.
|
|
97
|
+
*/
|
|
98
|
+
get spacing(): Vec2;
|
|
99
|
+
/**
|
|
100
|
+
* Sets the fitting mode along the horizontal axis. Can be `none` (0), `stretch` (1), `shrink`
|
|
101
|
+
* (2) or `both` (3).
|
|
102
|
+
* @param value - The width fitting mode.
|
|
103
|
+
*/
|
|
104
|
+
set widthFitting(value: number);
|
|
105
|
+
/**
|
|
106
|
+
* Gets the fitting mode along the horizontal axis.
|
|
107
|
+
* @returns The width fitting mode.
|
|
108
|
+
*/
|
|
109
|
+
get widthFitting(): number;
|
|
110
|
+
/**
|
|
111
|
+
* Sets the fitting mode along the vertical axis. Can be `none` (0), `stretch` (1), `shrink` (2)
|
|
112
|
+
* or `both` (3).
|
|
113
|
+
* @param value - The height fitting mode.
|
|
114
|
+
*/
|
|
115
|
+
set heightFitting(value: number);
|
|
116
|
+
/**
|
|
117
|
+
* Gets the fitting mode along the vertical axis.
|
|
118
|
+
* @returns The height fitting mode.
|
|
119
|
+
*/
|
|
120
|
+
get heightFitting(): number;
|
|
121
|
+
/**
|
|
122
|
+
* Sets whether children wrap onto a new line/column when they overflow the group.
|
|
123
|
+
* @param value - Whether to wrap children.
|
|
124
|
+
*/
|
|
125
|
+
set wrap(value: boolean);
|
|
126
|
+
/**
|
|
127
|
+
* Gets whether children wrap onto a new line/column when they overflow the group.
|
|
128
|
+
* @returns Whether children wrap.
|
|
129
|
+
*/
|
|
130
|
+
get wrap(): boolean;
|
|
131
|
+
static get observedAttributes(): string[];
|
|
132
|
+
attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
|
|
133
|
+
}
|
|
134
|
+
export { LayoutGroupComponentElement };
|
|
@@ -46,7 +46,7 @@ declare class LightComponentElement extends ComponentElement {
|
|
|
46
46
|
shadowIntensity: number;
|
|
47
47
|
shadowResolution: number;
|
|
48
48
|
shadowSamples: number;
|
|
49
|
-
shadowType: 0 |
|
|
49
|
+
shadowType: 0 | 3 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | undefined;
|
|
50
50
|
type: string;
|
|
51
51
|
vsmBias: number;
|
|
52
52
|
vsmBlurSize: number;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ScrollbarComponent } from 'playcanvas';
|
|
2
|
+
import { ComponentElement } from './component';
|
|
3
|
+
/**
|
|
4
|
+
* The ScrollbarComponentElement interface provides properties and methods for manipulating
|
|
5
|
+
* {@link https://developer.playcanvas.com/user-manual/web-components/tags/pc-scrollbar/ | `<pc-scrollbar>`} elements.
|
|
6
|
+
* The ScrollbarComponentElement interface also inherits the properties and methods of the
|
|
7
|
+
* {@link HTMLElement} interface.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
11
|
+
declare class ScrollbarComponentElement extends ComponentElement {
|
|
12
|
+
private _orientation;
|
|
13
|
+
private _value;
|
|
14
|
+
private _handleSize;
|
|
15
|
+
private _handle;
|
|
16
|
+
/** @ignore */
|
|
17
|
+
constructor();
|
|
18
|
+
getInitialComponentData(): Record<string, any>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the underlying PlayCanvas scrollbar component.
|
|
21
|
+
* @returns The scrollbar component.
|
|
22
|
+
*/
|
|
23
|
+
get component(): ScrollbarComponent | null;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the orientation of the scrollbar. Can be `horizontal` (0) or `vertical` (1).
|
|
26
|
+
* @param value - The orientation.
|
|
27
|
+
*/
|
|
28
|
+
set orientation(value: number);
|
|
29
|
+
/**
|
|
30
|
+
* Gets the orientation of the scrollbar.
|
|
31
|
+
* @returns The orientation.
|
|
32
|
+
*/
|
|
33
|
+
get orientation(): number;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the current position value of the scrollbar, in the range 0 to 1.
|
|
36
|
+
* @param value - The scrollbar value.
|
|
37
|
+
*/
|
|
38
|
+
set value(value: number);
|
|
39
|
+
/**
|
|
40
|
+
* Gets the current position value of the scrollbar.
|
|
41
|
+
* @returns The scrollbar value.
|
|
42
|
+
*/
|
|
43
|
+
get value(): number;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the size of the handle relative to the size of the track, in the range 0 to 1.
|
|
46
|
+
* @param value - The handle size.
|
|
47
|
+
*/
|
|
48
|
+
set handleSize(value: number);
|
|
49
|
+
/**
|
|
50
|
+
* Gets the size of the handle relative to the size of the track.
|
|
51
|
+
* @returns The handle size.
|
|
52
|
+
*/
|
|
53
|
+
get handleSize(): number;
|
|
54
|
+
/**
|
|
55
|
+
* Sets the reference (CSS selector, element id or entity name) to the `<pc-entity>` used as the
|
|
56
|
+
* scrollbar handle.
|
|
57
|
+
* @param value - The handle entity reference.
|
|
58
|
+
*/
|
|
59
|
+
set handle(value: string);
|
|
60
|
+
/**
|
|
61
|
+
* Gets the reference to the `<pc-entity>` used as the scrollbar handle.
|
|
62
|
+
* @returns The handle entity reference.
|
|
63
|
+
*/
|
|
64
|
+
get handle(): string;
|
|
65
|
+
static get observedAttributes(): string[];
|
|
66
|
+
attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
|
|
67
|
+
}
|
|
68
|
+
export { ScrollbarComponentElement };
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { ScrollViewComponent, Vec2 } from 'playcanvas';
|
|
2
|
+
import { ComponentElement } from './component';
|
|
3
|
+
/**
|
|
4
|
+
* The ScrollViewComponentElement interface provides properties and methods for manipulating
|
|
5
|
+
* {@link https://developer.playcanvas.com/user-manual/web-components/tags/pc-scrollview/ | `<pc-scrollview>`} elements.
|
|
6
|
+
* The ScrollViewComponentElement interface also inherits the properties and methods of the
|
|
7
|
+
* {@link HTMLElement} interface.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
11
|
+
declare class ScrollViewComponentElement extends ComponentElement {
|
|
12
|
+
private _horizontal;
|
|
13
|
+
private _vertical;
|
|
14
|
+
private _scrollMode;
|
|
15
|
+
private _bounceAmount;
|
|
16
|
+
private _friction;
|
|
17
|
+
private _useMouseWheel;
|
|
18
|
+
private _mouseWheelSensitivity;
|
|
19
|
+
private _horizontalScrollbarVisibility;
|
|
20
|
+
private _verticalScrollbarVisibility;
|
|
21
|
+
private _viewport;
|
|
22
|
+
private _content;
|
|
23
|
+
private _horizontalScrollbar;
|
|
24
|
+
private _verticalScrollbar;
|
|
25
|
+
/** @ignore */
|
|
26
|
+
constructor();
|
|
27
|
+
getInitialComponentData(): Record<string, any>;
|
|
28
|
+
/**
|
|
29
|
+
* Gets the underlying PlayCanvas scroll view component.
|
|
30
|
+
* @returns The scroll view component.
|
|
31
|
+
*/
|
|
32
|
+
get component(): ScrollViewComponent | null;
|
|
33
|
+
/**
|
|
34
|
+
* Sets whether horizontal scrolling is enabled.
|
|
35
|
+
* @param value - Whether horizontal scrolling is enabled.
|
|
36
|
+
*/
|
|
37
|
+
set horizontal(value: boolean);
|
|
38
|
+
/**
|
|
39
|
+
* Gets whether horizontal scrolling is enabled.
|
|
40
|
+
* @returns Whether horizontal scrolling is enabled.
|
|
41
|
+
*/
|
|
42
|
+
get horizontal(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Sets whether vertical scrolling is enabled.
|
|
45
|
+
* @param value - Whether vertical scrolling is enabled.
|
|
46
|
+
*/
|
|
47
|
+
set vertical(value: boolean);
|
|
48
|
+
/**
|
|
49
|
+
* Gets whether vertical scrolling is enabled.
|
|
50
|
+
* @returns Whether vertical scrolling is enabled.
|
|
51
|
+
*/
|
|
52
|
+
get vertical(): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Sets how the scroll view should behave when the content is scrolled beyond its bounds. Can be
|
|
55
|
+
* `clamp` (0), `bounce` (1) or `infinite` (2).
|
|
56
|
+
* @param value - The scroll mode.
|
|
57
|
+
*/
|
|
58
|
+
set scrollMode(value: number);
|
|
59
|
+
/**
|
|
60
|
+
* Gets how the scroll view behaves when the content is scrolled beyond its bounds.
|
|
61
|
+
* @returns The scroll mode.
|
|
62
|
+
*/
|
|
63
|
+
get scrollMode(): number;
|
|
64
|
+
/**
|
|
65
|
+
* Sets how far the content is allowed to bounce beyond its bounds when `scroll-mode` is
|
|
66
|
+
* `bounce`, in the range 0 to 1.
|
|
67
|
+
* @param value - The bounce amount.
|
|
68
|
+
*/
|
|
69
|
+
set bounceAmount(value: number);
|
|
70
|
+
/**
|
|
71
|
+
* Gets the bounce amount.
|
|
72
|
+
* @returns The bounce amount.
|
|
73
|
+
*/
|
|
74
|
+
get bounceAmount(): number;
|
|
75
|
+
/**
|
|
76
|
+
* Sets how freely the content moves once thrown, in the range 0 (no friction) to 1.
|
|
77
|
+
* @param value - The friction.
|
|
78
|
+
*/
|
|
79
|
+
set friction(value: number);
|
|
80
|
+
/**
|
|
81
|
+
* Gets the friction.
|
|
82
|
+
* @returns The friction.
|
|
83
|
+
*/
|
|
84
|
+
get friction(): number;
|
|
85
|
+
/**
|
|
86
|
+
* Sets whether the scroll view responds to mouse wheel events.
|
|
87
|
+
* @param value - Whether to use the mouse wheel.
|
|
88
|
+
*/
|
|
89
|
+
set useMouseWheel(value: boolean);
|
|
90
|
+
/**
|
|
91
|
+
* Gets whether the scroll view responds to mouse wheel events.
|
|
92
|
+
* @returns Whether the mouse wheel is used.
|
|
93
|
+
*/
|
|
94
|
+
get useMouseWheel(): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Sets the mouse wheel sensitivity as a Vec2 (horizontal, vertical). A value of 0 on an axis
|
|
97
|
+
* disables mouse wheel scrolling for that axis.
|
|
98
|
+
* @param value - The mouse wheel sensitivity.
|
|
99
|
+
*/
|
|
100
|
+
set mouseWheelSensitivity(value: Vec2);
|
|
101
|
+
/**
|
|
102
|
+
* Gets the mouse wheel sensitivity.
|
|
103
|
+
* @returns The mouse wheel sensitivity.
|
|
104
|
+
*/
|
|
105
|
+
get mouseWheelSensitivity(): Vec2;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the visibility of the horizontal scrollbar. Can be `always` (0) or `when-required` (1).
|
|
108
|
+
* @param value - The horizontal scrollbar visibility.
|
|
109
|
+
*/
|
|
110
|
+
set horizontalScrollbarVisibility(value: number);
|
|
111
|
+
/**
|
|
112
|
+
* Gets the visibility of the horizontal scrollbar.
|
|
113
|
+
* @returns The horizontal scrollbar visibility.
|
|
114
|
+
*/
|
|
115
|
+
get horizontalScrollbarVisibility(): number;
|
|
116
|
+
/**
|
|
117
|
+
* Sets the visibility of the vertical scrollbar. Can be `always` (0) or `when-required` (1).
|
|
118
|
+
* @param value - The vertical scrollbar visibility.
|
|
119
|
+
*/
|
|
120
|
+
set verticalScrollbarVisibility(value: number);
|
|
121
|
+
/**
|
|
122
|
+
* Gets the visibility of the vertical scrollbar.
|
|
123
|
+
* @returns The vertical scrollbar visibility.
|
|
124
|
+
*/
|
|
125
|
+
get verticalScrollbarVisibility(): number;
|
|
126
|
+
/**
|
|
127
|
+
* Sets the reference (CSS selector, element id or entity name) to the `<pc-entity>` used as the
|
|
128
|
+
* viewport, which clips the content to the scroll view's bounds.
|
|
129
|
+
* @param value - The viewport entity reference.
|
|
130
|
+
*/
|
|
131
|
+
set viewport(value: string);
|
|
132
|
+
/**
|
|
133
|
+
* Gets the reference to the `<pc-entity>` used as the viewport.
|
|
134
|
+
* @returns The viewport entity reference.
|
|
135
|
+
*/
|
|
136
|
+
get viewport(): string;
|
|
137
|
+
/**
|
|
138
|
+
* Sets the reference (CSS selector, element id or entity name) to the `<pc-entity>` used as the
|
|
139
|
+
* content, which is moved as the scroll view is scrolled.
|
|
140
|
+
* @param value - The content entity reference.
|
|
141
|
+
*/
|
|
142
|
+
set content(value: string);
|
|
143
|
+
/**
|
|
144
|
+
* Gets the reference to the `<pc-entity>` used as the content.
|
|
145
|
+
* @returns The content entity reference.
|
|
146
|
+
*/
|
|
147
|
+
get content(): string;
|
|
148
|
+
/**
|
|
149
|
+
* Sets the reference (CSS selector, element id or entity name) to the `<pc-entity>` containing
|
|
150
|
+
* the horizontal `<pc-scrollbar>`.
|
|
151
|
+
* @param value - The horizontal scrollbar entity reference.
|
|
152
|
+
*/
|
|
153
|
+
set horizontalScrollbar(value: string);
|
|
154
|
+
/**
|
|
155
|
+
* Gets the reference to the `<pc-entity>` containing the horizontal scrollbar.
|
|
156
|
+
* @returns The horizontal scrollbar entity reference.
|
|
157
|
+
*/
|
|
158
|
+
get horizontalScrollbar(): string;
|
|
159
|
+
/**
|
|
160
|
+
* Sets the reference (CSS selector, element id or entity name) to the `<pc-entity>` containing
|
|
161
|
+
* the vertical `<pc-scrollbar>`.
|
|
162
|
+
* @param value - The vertical scrollbar entity reference.
|
|
163
|
+
*/
|
|
164
|
+
set verticalScrollbar(value: string);
|
|
165
|
+
/**
|
|
166
|
+
* Gets the reference to the `<pc-entity>` containing the vertical scrollbar.
|
|
167
|
+
* @returns The vertical scrollbar entity reference.
|
|
168
|
+
*/
|
|
169
|
+
get verticalScrollbar(): string;
|
|
170
|
+
static get observedAttributes(): string[];
|
|
171
|
+
attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
|
|
172
|
+
}
|
|
173
|
+
export { ScrollViewComponentElement };
|
package/dist/entity.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ declare class EntityElement extends AsyncElement {
|
|
|
35
35
|
* The pointer event listeners for the entity.
|
|
36
36
|
*/
|
|
37
37
|
private _listeners;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the hierarchy has been built for this entity.
|
|
40
|
+
*/
|
|
41
|
+
private _built;
|
|
38
42
|
/**
|
|
39
43
|
* The PlayCanvas entity instance.
|
|
40
44
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -12,15 +12,20 @@ import { AppElement } from './app';
|
|
|
12
12
|
import { EntityElement } from './entity';
|
|
13
13
|
import { AssetElement } from './asset';
|
|
14
14
|
import { ListenerComponentElement } from './components/listener-component';
|
|
15
|
+
import { ButtonComponentElement } from './components/button-component';
|
|
15
16
|
import { CameraComponentElement } from './components/camera-component';
|
|
16
17
|
import { CollisionComponentElement } from './components/collision-component';
|
|
17
18
|
import { ComponentElement } from './components/component';
|
|
18
19
|
import { ElementComponentElement } from './components/element-component';
|
|
20
|
+
import { LayoutChildComponentElement } from './components/layoutchild-component';
|
|
21
|
+
import { LayoutGroupComponentElement } from './components/layoutgroup-component';
|
|
19
22
|
import { LightComponentElement } from './components/light-component';
|
|
20
23
|
import { ParticleSystemComponentElement } from './components/particlesystem-component';
|
|
21
24
|
import { RenderComponentElement } from './components/render-component';
|
|
22
25
|
import { RigidBodyComponentElement } from './components/rigidbody-component';
|
|
23
26
|
import { ScreenComponentElement } from './components/screen-component';
|
|
27
|
+
import { ScrollbarComponentElement } from './components/scrollbar-component';
|
|
28
|
+
import { ScrollViewComponentElement } from './components/scrollview-component';
|
|
24
29
|
import { ScriptComponentElement } from './components/script-component';
|
|
25
30
|
import { ScriptElement } from './components/script';
|
|
26
31
|
import { SoundComponentElement } from './components/sound-component';
|
|
@@ -30,4 +35,4 @@ import { MaterialElement } from './material';
|
|
|
30
35
|
import { ModelElement } from './model';
|
|
31
36
|
import { SceneElement } from './scene';
|
|
32
37
|
import { SkyElement } from './sky';
|
|
33
|
-
export { AsyncElement, ModuleElement, AppElement, EntityElement, AssetElement, CameraComponentElement, CollisionComponentElement, ComponentElement, ElementComponentElement, ParticleSystemComponentElement, LightComponentElement, ListenerComponentElement, RenderComponentElement, RigidBodyComponentElement, ScreenComponentElement, ScriptComponentElement, ScriptElement, SoundComponentElement, SoundSlotElement, GSplatComponentElement, MaterialElement, ModelElement, SceneElement, SkyElement };
|
|
38
|
+
export { AsyncElement, ModuleElement, AppElement, EntityElement, AssetElement, ButtonComponentElement, CameraComponentElement, CollisionComponentElement, ComponentElement, ElementComponentElement, LayoutChildComponentElement, LayoutGroupComponentElement, ParticleSystemComponentElement, LightComponentElement, ListenerComponentElement, RenderComponentElement, RigidBodyComponentElement, ScreenComponentElement, ScrollbarComponentElement, ScrollViewComponentElement, ScriptComponentElement, ScriptElement, SoundComponentElement, SoundSlotElement, GSplatComponentElement, MaterialElement, ModelElement, SceneElement, SkyElement };
|