@combeenation/3d-viewer 12.4.3 → 12.4.4
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/README.md +9 -9
- package/dist/lib-cjs/api/classes/animationInterface.d.ts +8 -8
- package/dist/lib-cjs/api/classes/animationInterface.js +2 -2
- package/dist/lib-cjs/api/classes/dottedPath.d.ts +79 -79
- package/dist/lib-cjs/api/classes/dottedPath.js +166 -166
- package/dist/lib-cjs/api/classes/element.d.ts +153 -153
- package/dist/lib-cjs/api/classes/element.js +702 -702
- package/dist/lib-cjs/api/classes/event.d.ts +401 -401
- package/dist/lib-cjs/api/classes/event.js +424 -424
- package/dist/lib-cjs/api/classes/eventBroadcaster.d.ts +26 -26
- package/dist/lib-cjs/api/classes/eventBroadcaster.js +49 -49
- package/dist/lib-cjs/api/classes/fuzzyMap.d.ts +7 -7
- package/dist/lib-cjs/api/classes/fuzzyMap.js +21 -21
- package/dist/lib-cjs/api/classes/parameter.d.ts +410 -410
- package/dist/lib-cjs/api/classes/parameter.js +642 -642
- package/dist/lib-cjs/api/classes/parameterObservable.d.ts +36 -36
- package/dist/lib-cjs/api/classes/parameterObservable.js +72 -72
- package/dist/lib-cjs/api/classes/parameterizable.d.ts +15 -15
- package/dist/lib-cjs/api/classes/parameterizable.js +102 -102
- package/dist/lib-cjs/api/classes/placementAnimation.d.ts +45 -45
- package/dist/lib-cjs/api/classes/placementAnimation.js +176 -176
- package/dist/lib-cjs/api/classes/variant.d.ts +261 -261
- package/dist/lib-cjs/api/classes/variant.js +872 -872
- package/dist/lib-cjs/api/classes/variantInstance.d.ts +53 -53
- package/dist/lib-cjs/api/classes/variantInstance.js +125 -125
- package/dist/lib-cjs/api/classes/variantParameterizable.d.ts +17 -17
- package/dist/lib-cjs/api/classes/variantParameterizable.js +86 -86
- package/dist/lib-cjs/api/classes/viewer.d.ts +215 -215
- package/dist/lib-cjs/api/classes/viewer.js +708 -708
- package/dist/lib-cjs/api/classes/viewerError.d.ts +43 -43
- package/dist/lib-cjs/api/classes/viewerError.js +55 -55
- package/dist/lib-cjs/api/classes/viewerLight.d.ts +66 -66
- package/dist/lib-cjs/api/classes/viewerLight.js +344 -344
- package/dist/lib-cjs/api/internal/lensRendering.d.ts +8 -8
- package/dist/lib-cjs/api/internal/lensRendering.js +11 -11
- package/dist/lib-cjs/api/internal/sceneSetup.d.ts +13 -13
- package/dist/lib-cjs/api/internal/sceneSetup.js +227 -227
- package/dist/lib-cjs/api/manager/animationManager.d.ts +30 -30
- package/dist/lib-cjs/api/manager/animationManager.js +126 -126
- package/dist/lib-cjs/api/manager/gltfExportManager.d.ts +80 -80
- package/dist/lib-cjs/api/manager/gltfExportManager.js +300 -300
- package/dist/lib-cjs/api/manager/sceneManager.d.ts +33 -33
- package/dist/lib-cjs/api/manager/sceneManager.js +128 -128
- package/dist/lib-cjs/api/manager/tagManager.d.ts +118 -118
- package/dist/lib-cjs/api/manager/tagManager.js +530 -530
- package/dist/lib-cjs/api/manager/textureLoadManager.d.ts +22 -22
- package/dist/lib-cjs/api/manager/textureLoadManager.js +107 -107
- package/dist/lib-cjs/api/manager/variantInstanceManager.d.ts +106 -106
- package/dist/lib-cjs/api/manager/variantInstanceManager.js +290 -290
- package/dist/lib-cjs/api/store/specStorage.d.ts +32 -32
- package/dist/lib-cjs/api/store/specStorage.js +65 -65
- package/dist/lib-cjs/api/util/babylonHelper.d.ts +238 -238
- package/dist/lib-cjs/api/util/babylonHelper.js +825 -825
- package/dist/lib-cjs/api/util/debugHelper.d.ts +9 -9
- package/dist/lib-cjs/api/util/debugHelper.js +93 -93
- package/dist/lib-cjs/api/util/deviceHelper.d.ts +9 -9
- package/dist/lib-cjs/api/util/deviceHelper.js +28 -28
- package/dist/lib-cjs/api/util/geometryHelper.d.ts +17 -17
- package/dist/lib-cjs/api/util/geometryHelper.js +112 -112
- package/dist/lib-cjs/api/util/globalTypes.d.ts +490 -490
- package/dist/lib-cjs/api/util/globalTypes.js +1 -1
- package/dist/lib-cjs/api/util/resourceHelper.d.ts +58 -58
- package/dist/lib-cjs/api/util/resourceHelper.js +214 -214
- package/dist/lib-cjs/api/util/sceneLoaderHelper.d.ts +58 -58
- package/dist/lib-cjs/api/util/sceneLoaderHelper.js +228 -228
- package/dist/lib-cjs/api/util/stringHelper.d.ts +13 -13
- package/dist/lib-cjs/api/util/stringHelper.js +32 -32
- package/dist/lib-cjs/api/util/structureHelper.d.ts +9 -9
- package/dist/lib-cjs/api/util/structureHelper.js +57 -57
- package/dist/lib-cjs/buildinfo.json +3 -3
- package/dist/lib-cjs/commonjs.tsconfig.tsbuildinfo +1 -1
- package/dist/lib-cjs/index.d.ts +63 -63
- package/dist/lib-cjs/index.js +128 -128
- package/package.json +93 -93
- package/src/api/classes/animationInterface.ts +10 -10
- package/src/api/classes/dottedPath.ts +181 -181
- package/src/api/classes/element.ts +766 -766
- package/src/api/classes/event.ts +457 -457
- package/src/api/classes/eventBroadcaster.ts +52 -52
- package/src/api/classes/fuzzyMap.ts +21 -21
- package/src/api/classes/parameter.ts +686 -686
- package/src/api/classes/parameterObservable.ts +73 -73
- package/src/api/classes/parameterizable.ts +87 -87
- package/src/api/classes/placementAnimation.ts +162 -162
- package/src/api/classes/variant.ts +965 -965
- package/src/api/classes/variantInstance.ts +123 -123
- package/src/api/classes/variantParameterizable.ts +83 -83
- package/src/api/classes/viewer.ts +751 -751
- package/src/api/classes/viewerError.ts +63 -63
- package/src/api/classes/viewerLight.ts +335 -335
- package/src/api/internal/debugViewer.ts +90 -90
- package/src/api/internal/lensRendering.ts +9 -9
- package/src/api/internal/sceneSetup.ts +208 -208
- package/src/api/manager/animationManager.ts +143 -143
- package/src/api/manager/gltfExportManager.ts +337 -337
- package/src/api/manager/sceneManager.ts +134 -134
- package/src/api/manager/tagManager.ts +572 -572
- package/src/api/manager/textureLoadManager.ts +107 -107
- package/src/api/manager/variantInstanceManager.ts +306 -306
- package/src/api/store/specStorage.ts +68 -68
- package/src/api/util/babylonHelper.ts +915 -915
- package/src/api/util/debugHelper.ts +121 -121
- package/src/api/util/deviceHelper.ts +31 -31
- package/src/api/util/geometryHelper.ts +142 -142
- package/src/api/util/globalTypes.ts +566 -566
- package/src/api/util/resourceHelper.ts +201 -201
- package/src/api/util/sceneLoaderHelper.ts +247 -247
- package/src/api/util/stringHelper.ts +30 -30
- package/src/api/util/structureHelper.ts +62 -62
- package/src/buildinfo.json +3 -3
- package/src/dev.ts +70 -70
- package/src/index.ts +116 -116
- package/src/types.d.ts +49 -49
|
@@ -1,425 +1,425 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Event = exports.emitter = void 0;
|
|
4
|
-
const eventemitter3_1 = require("eventemitter3");
|
|
5
|
-
const lodash_es_1 = require("lodash-es");
|
|
6
|
-
/** @internal **/
|
|
7
|
-
exports.emitter = new eventemitter3_1.EventEmitter();
|
|
8
|
-
/**
|
|
9
|
-
* This `Event` class defines all events that can be consumed and fired by the {@link EventBroadcaster}. Use
|
|
10
|
-
* {@link EventBroadcaster.addEventListener} or {@link EventBroadcaster.on} to register event handler on your objects.
|
|
11
|
-
* You could also use the `Emitter` to globally register event handlers. Some events are fired in certain scopes. A
|
|
12
|
-
* scope is also considered to be the object the event could be registered on. Those scopes are documented in the
|
|
13
|
-
* events itself.
|
|
14
|
-
*
|
|
15
|
-
* Example using a bootstrapping event.
|
|
16
|
-
* ```js
|
|
17
|
-
* Emitter.on(Event.BOOTSTRAP_START, viewer => { ... });
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* Example using a variant parameter event.
|
|
21
|
-
* ```js
|
|
22
|
-
* const variantInstance = await viewer.variantInstances.get('my_instance');
|
|
23
|
-
* const variant = variantInstance.variant;
|
|
24
|
-
* variant.on(Event.VARIANT_PARAMETER_COMMITTED, (variant, parameter) => { ... });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Example using a scene processing event.
|
|
28
|
-
* ```js
|
|
29
|
-
* const canvas = document.getElementById('viewer-canvas');
|
|
30
|
-
* const viewer = new Viewer(canvas, createSpec());
|
|
31
|
-
* viewer.on(Event.SCENE_PROCESSING_END, scene => {
|
|
32
|
-
* scene.clearColor = new Color4(0, 0, 0, 0);
|
|
33
|
-
* });
|
|
34
|
-
* await viewer.bootstrap([]);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
class Event {
|
|
38
|
-
/**
|
|
39
|
-
* Constructor.
|
|
40
|
-
*/
|
|
41
|
-
constructor() { }
|
|
42
|
-
/**
|
|
43
|
-
* All events defined in this class.
|
|
44
|
-
*/
|
|
45
|
-
static get all() {
|
|
46
|
-
const all = [];
|
|
47
|
-
for (const event in Event) {
|
|
48
|
-
const property = Object.getOwnPropertyDescriptor(Event, event);
|
|
49
|
-
if (event.toUpperCase() === event && property && (0, lodash_es_1.isString)(property.value)) {
|
|
50
|
-
all.push(property.value);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return all;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* All events starting with 'variant'.
|
|
57
|
-
*/
|
|
58
|
-
static get variant() {
|
|
59
|
-
return Event.all.filter(event => event.startsWith('variant'));
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* All events starting with 'element'.
|
|
63
|
-
*/
|
|
64
|
-
static get element() {
|
|
65
|
-
return Event.all.filter(event => event.startsWith('element'));
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* All events starting with 'scene'.
|
|
69
|
-
*/
|
|
70
|
-
static get scene() {
|
|
71
|
-
return Event.all.filter(event => event.startsWith('scene'));
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* All events starting with 'camera'.
|
|
75
|
-
*/
|
|
76
|
-
static get camera() {
|
|
77
|
-
return Event.all.filter(event => event.startsWith('camera'));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.Event = Event;
|
|
81
|
-
/**
|
|
82
|
-
* Fired before bootstrapping of the {@link Viewer} starts.
|
|
83
|
-
*
|
|
84
|
-
* Scopes:
|
|
85
|
-
* * Global
|
|
86
|
-
* * {@link Viewer}
|
|
87
|
-
*
|
|
88
|
-
* Payload:
|
|
89
|
-
* * viewer: {@link Viewer}
|
|
90
|
-
*/
|
|
91
|
-
Event.BOOTSTRAP_START = 'bootstrapStart';
|
|
92
|
-
/**
|
|
93
|
-
* Fired after bootstrapping of the {@link Viewer} finished.
|
|
94
|
-
*
|
|
95
|
-
* Scopes:
|
|
96
|
-
* * Global
|
|
97
|
-
* * {@link Viewer}
|
|
98
|
-
*
|
|
99
|
-
* Payload:
|
|
100
|
-
* * viewer: {@link Viewer}
|
|
101
|
-
*/
|
|
102
|
-
Event.BOOTSTRAP_END = 'bootstrapEnd';
|
|
103
|
-
/**
|
|
104
|
-
* Fired before loading any type of JSON or resource.
|
|
105
|
-
*
|
|
106
|
-
* Scopes:
|
|
107
|
-
* * Global
|
|
108
|
-
*
|
|
109
|
-
* Payload:
|
|
110
|
-
* * path: string
|
|
111
|
-
*/
|
|
112
|
-
Event.LOADING_START = 'loadingStart';
|
|
113
|
-
/**
|
|
114
|
-
* Fired after loading any type of JSON or resource finished.
|
|
115
|
-
*
|
|
116
|
-
* Scopes:
|
|
117
|
-
* * Global
|
|
118
|
-
*
|
|
119
|
-
* Payload:
|
|
120
|
-
* * path: string
|
|
121
|
-
*/
|
|
122
|
-
Event.LOADING_END = 'loadingEnd';
|
|
123
|
-
/**
|
|
124
|
-
* Fired before loading an asset (e.g. glTF) onto the scene.
|
|
125
|
-
*
|
|
126
|
-
* Scopes:
|
|
127
|
-
* * Global
|
|
128
|
-
* * {@link Variant}
|
|
129
|
-
*
|
|
130
|
-
* Payload:
|
|
131
|
-
* * variant: {@link Variant}
|
|
132
|
-
*/
|
|
133
|
-
Event.ASSET_LOADING_START = 'assetLoadingStart';
|
|
134
|
-
/**
|
|
135
|
-
* Fired after loading an asset (e.g. glTF) onto the scene finished.
|
|
136
|
-
*
|
|
137
|
-
* Scopes:
|
|
138
|
-
* * Global
|
|
139
|
-
* * {@link Variant}
|
|
140
|
-
*
|
|
141
|
-
* Payload:
|
|
142
|
-
* * variant: {@link Variant}
|
|
143
|
-
*/
|
|
144
|
-
Event.ASSET_LOADING_END = 'assetLoadingEnd';
|
|
145
|
-
/**
|
|
146
|
-
* Fired before scene initialization starts when bootstrapping the {@link Viewer}.
|
|
147
|
-
*
|
|
148
|
-
* Scopes:
|
|
149
|
-
* * Global
|
|
150
|
-
* * {@link Viewer}
|
|
151
|
-
*
|
|
152
|
-
* Payload:
|
|
153
|
-
* * sceneJson: {@link SceneJson}
|
|
154
|
-
*/
|
|
155
|
-
Event.SCENE_PROCESSING_START = 'sceneProcessingStart';
|
|
156
|
-
/**
|
|
157
|
-
* Fired after scene initialization end when bootstrapping the {@link Viewer}.
|
|
158
|
-
*
|
|
159
|
-
* Scopes:
|
|
160
|
-
* * Global
|
|
161
|
-
* * {@link Viewer}
|
|
162
|
-
*
|
|
163
|
-
* Payload:
|
|
164
|
-
* * scene: {@link Scene}
|
|
165
|
-
*/
|
|
166
|
-
Event.SCENE_PROCESSING_END = 'sceneProcessingEnd';
|
|
167
|
-
/**
|
|
168
|
-
* Fired after a {@link Variant} has been created.
|
|
169
|
-
*
|
|
170
|
-
* Scopes:
|
|
171
|
-
* * Global
|
|
172
|
-
* * {@link Viewer}
|
|
173
|
-
*
|
|
174
|
-
* Payload:
|
|
175
|
-
* * variant: {@link Variant}
|
|
176
|
-
*/
|
|
177
|
-
Event.VARIANT_CREATED = 'variantCreated';
|
|
178
|
-
/**
|
|
179
|
-
* Fired after a {@link Variant} has been destroyed.
|
|
180
|
-
*
|
|
181
|
-
* Scopes:
|
|
182
|
-
* * Global
|
|
183
|
-
* * {@link Variant}
|
|
184
|
-
*
|
|
185
|
-
* Payload:
|
|
186
|
-
* * variant: {@link Variant}
|
|
187
|
-
*/
|
|
188
|
-
Event.VARIANT_DESTROYED = 'variantDestroyed';
|
|
189
|
-
/**
|
|
190
|
-
* Fired after the {@link Variant} under the cursor has been picked/selected.
|
|
191
|
-
*
|
|
192
|
-
* Scopes:
|
|
193
|
-
* * Global
|
|
194
|
-
* * {@link Viewer}
|
|
195
|
-
*
|
|
196
|
-
* Payload:
|
|
197
|
-
* * variant: {@link Variant}
|
|
198
|
-
*/
|
|
199
|
-
Event.VARIANT_PICKED = 'variantPicked';
|
|
200
|
-
/**
|
|
201
|
-
* Fired after the {@link Element} under the cursor has been picked/selected.
|
|
202
|
-
*
|
|
203
|
-
* Scopes:
|
|
204
|
-
* * Global
|
|
205
|
-
* * {@link Viewer}
|
|
206
|
-
*
|
|
207
|
-
* Payload:
|
|
208
|
-
* * element: {@link Element}
|
|
209
|
-
*/
|
|
210
|
-
Event.ELEMENT_PICKED = 'elementPicked';
|
|
211
|
-
/**
|
|
212
|
-
* Fired after a parameter on a {@link Variant} has been committed.
|
|
213
|
-
*
|
|
214
|
-
* Scopes:
|
|
215
|
-
* * Global
|
|
216
|
-
* * {@link Variant}
|
|
217
|
-
*
|
|
218
|
-
* Payload:
|
|
219
|
-
* * variant: {@link Variant}
|
|
220
|
-
* * parameter: string
|
|
221
|
-
* * oldValue: string
|
|
222
|
-
* * newValue: string
|
|
223
|
-
*/
|
|
224
|
-
Event.VARIANT_PARAMETER_COMMITTED = 'variantParameterCommitted';
|
|
225
|
-
/**
|
|
226
|
-
* Fired after a {@link ParameterBag} has been committed.
|
|
227
|
-
*
|
|
228
|
-
* Scopes:
|
|
229
|
-
* * Global
|
|
230
|
-
* * {@link Variant}
|
|
231
|
-
*
|
|
232
|
-
* Payload:
|
|
233
|
-
* * variant: {@link Variant}
|
|
234
|
-
* * parameters: {@link ParameterBag}
|
|
235
|
-
* * oldValues: string[]
|
|
236
|
-
* * newValues: string[]
|
|
237
|
-
*/
|
|
238
|
-
Event.VARIANT_PARAMETER_BAG_COMMITTED = 'variantParameterBagCommitted';
|
|
239
|
-
/**
|
|
240
|
-
* Fired after a {@link VariantInstance} has been created.
|
|
241
|
-
*
|
|
242
|
-
* Scopes:
|
|
243
|
-
* * Global
|
|
244
|
-
* * {@link VariantInstanceManager}
|
|
245
|
-
*
|
|
246
|
-
* Payload:
|
|
247
|
-
* * variantInstance: {@link VariantInstance}
|
|
248
|
-
*/
|
|
249
|
-
Event.VARIANT_INSTANCE_CREATED = 'variantInstanceCreated';
|
|
250
|
-
/**
|
|
251
|
-
* Fired after a {@link VariantInstance} has been registered. This is the case when the {@link VariantInstance} is
|
|
252
|
-
* considered "lazy".
|
|
253
|
-
*
|
|
254
|
-
* Scopes:
|
|
255
|
-
* * Global
|
|
256
|
-
* * {@link VariantInstanceManager}
|
|
257
|
-
*
|
|
258
|
-
* Payload:
|
|
259
|
-
* * variantInstanceDefinition: {@link VariantInstanceDefinition}
|
|
260
|
-
*/
|
|
261
|
-
Event.VARIANT_INSTANCE_REGISTERED = 'variantInstanceRegistered';
|
|
262
|
-
/**
|
|
263
|
-
* Fired after a {@link VariantInstance} has been cloned.
|
|
264
|
-
*
|
|
265
|
-
* Scopes:
|
|
266
|
-
* * Global
|
|
267
|
-
* * {@link VariantInstanceManager}
|
|
268
|
-
*
|
|
269
|
-
* Payload:
|
|
270
|
-
* * variantInstanceClone: {@link VariantInstance}
|
|
271
|
-
*/
|
|
272
|
-
Event.VARIANT_INSTANCE_CLONED = 'variantInstanceCloned';
|
|
273
|
-
/**
|
|
274
|
-
* Fired after a {@link VariantInstance} has been destroyed.
|
|
275
|
-
*
|
|
276
|
-
* Scopes:
|
|
277
|
-
* * Global
|
|
278
|
-
* * {@link VariantInstanceManager}
|
|
279
|
-
*
|
|
280
|
-
* Payload:
|
|
281
|
-
* * variantInstance: {@link VariantInstance}
|
|
282
|
-
*/
|
|
283
|
-
Event.VARIANT_INSTANCE_DESTROYED = 'variantInstanceDestroyed';
|
|
284
|
-
/**
|
|
285
|
-
* Fired after all {@link VariantInstance}s have been either created or registered.
|
|
286
|
-
*
|
|
287
|
-
* Scopes:
|
|
288
|
-
* * Global
|
|
289
|
-
* * {@link Viewer}
|
|
290
|
-
*
|
|
291
|
-
* Payload:
|
|
292
|
-
* * viewer: {@link Viewer}
|
|
293
|
-
*/
|
|
294
|
-
Event.VARIANT_INSTANCES_READY = 'variantInstancesReady';
|
|
295
|
-
/**
|
|
296
|
-
* Fired after the nodes of a {@link Variant} has been cloned to the {@link Element}.
|
|
297
|
-
*
|
|
298
|
-
* Scopes:
|
|
299
|
-
* * Global
|
|
300
|
-
* * {@link Variant}
|
|
301
|
-
*
|
|
302
|
-
* Payload:
|
|
303
|
-
* * element: {@link Element}
|
|
304
|
-
*/
|
|
305
|
-
Event.ELEMENT_NODES_CLONED = 'elementNodesCloned';
|
|
306
|
-
/**
|
|
307
|
-
* Fired after an {@link Element} has been created.
|
|
308
|
-
*
|
|
309
|
-
* Scopes:
|
|
310
|
-
* * Global
|
|
311
|
-
* * {@link Variant}
|
|
312
|
-
*
|
|
313
|
-
* Payload:
|
|
314
|
-
* * element: {@link Element}
|
|
315
|
-
*/
|
|
316
|
-
Event.ELEMENT_CREATED = 'elementCreated';
|
|
317
|
-
/**
|
|
318
|
-
* Fired after a parameter on an {@link Element} has been committed.
|
|
319
|
-
*
|
|
320
|
-
* Scopes:
|
|
321
|
-
* * Global
|
|
322
|
-
* * {@link Element}
|
|
323
|
-
*
|
|
324
|
-
* Payload:
|
|
325
|
-
* * element: {@link Element}
|
|
326
|
-
* * parameter: string
|
|
327
|
-
* * oldValue: string
|
|
328
|
-
* * newValue: string
|
|
329
|
-
*/
|
|
330
|
-
Event.ELEMENT_PARAMETER_COMMITTED = 'elementParameterCommitted';
|
|
331
|
-
/**
|
|
332
|
-
* Fired after a parameter on an {@link ViewerLight} has been committed.
|
|
333
|
-
*
|
|
334
|
-
* Scopes:
|
|
335
|
-
* * Global
|
|
336
|
-
* * {@link ViewerLight}
|
|
337
|
-
*
|
|
338
|
-
* Payload:
|
|
339
|
-
* * light: {@link ViewerLight}
|
|
340
|
-
* * parameter: string
|
|
341
|
-
* * oldValue: string
|
|
342
|
-
* * newValue: string
|
|
343
|
-
*/
|
|
344
|
-
Event.VIEWER_LIGHT_PARAMETER_COMMITTED = 'viewerLightParameterCommitted';
|
|
345
|
-
/**
|
|
346
|
-
* Fired after a parameter on an {@link SceneManager} has been committed.
|
|
347
|
-
*
|
|
348
|
-
* Scopes:
|
|
349
|
-
* * Global
|
|
350
|
-
* * {@link SceneManager}
|
|
351
|
-
*
|
|
352
|
-
* Payload:
|
|
353
|
-
* * variant: {@link SceneManager}
|
|
354
|
-
* * parameter: string
|
|
355
|
-
* * oldValue: string
|
|
356
|
-
* * newValue: string
|
|
357
|
-
*/
|
|
358
|
-
Event.SCENE_PARAMETER_COMMITTED = 'sceneParameterCommitted';
|
|
359
|
-
/**
|
|
360
|
-
* Fired after the active camera on the scene has been switched.
|
|
361
|
-
*
|
|
362
|
-
* Scopes:
|
|
363
|
-
* * Global
|
|
364
|
-
* * {@link Viewer}
|
|
365
|
-
*
|
|
366
|
-
* Payload:
|
|
367
|
-
* * camera: Camera
|
|
368
|
-
*/
|
|
369
|
-
Event.CAMERA_SWITCHED = 'cameraSwitched';
|
|
370
|
-
/**
|
|
371
|
-
* Fired after the {@link Mesh} under the cursor has been picked/selected.
|
|
372
|
-
*
|
|
373
|
-
* Scopes:
|
|
374
|
-
* * Global
|
|
375
|
-
* * {@link Viewer}
|
|
376
|
-
*
|
|
377
|
-
* Payload:
|
|
378
|
-
* * mesh: {@link Mesh}
|
|
379
|
-
* * element: {@link Element}
|
|
380
|
-
* * variant: {@link Variant}
|
|
381
|
-
*/
|
|
382
|
-
Event.MESH_PICKED = 'meshPicked';
|
|
383
|
-
/**
|
|
384
|
-
* Fired when a bunch of {@link Texture}s start loading.
|
|
385
|
-
*
|
|
386
|
-
* Scopes:
|
|
387
|
-
* * Global
|
|
388
|
-
* * {@link SceneManager}
|
|
389
|
-
*/
|
|
390
|
-
Event.TEXTURE_LOADING_START = 'textureLoadingStart';
|
|
391
|
-
/**
|
|
392
|
-
* Fired when the last {@link Texture} was successfully loaded.
|
|
393
|
-
*
|
|
394
|
-
* Scopes:
|
|
395
|
-
* * Global
|
|
396
|
-
* * {@link SceneManager}
|
|
397
|
-
*/
|
|
398
|
-
Event.TEXTURE_LOADING_END = 'textureLoadingEnd';
|
|
399
|
-
/**
|
|
400
|
-
* Fired after a {@link Material} has been applied to a {@link Mesh}.
|
|
401
|
-
*
|
|
402
|
-
* Scopes:
|
|
403
|
-
* * Global
|
|
404
|
-
*
|
|
405
|
-
* Payload:
|
|
406
|
-
* * mesh: {@link Mesh}
|
|
407
|
-
* * material: {@link Material}
|
|
408
|
-
*/
|
|
409
|
-
Event.MESH_MATERIAL_APPLIED = 'meshMaterialApplied';
|
|
410
|
-
/**
|
|
411
|
-
* Fired after a {@link TagManagerParameterObserver} has been called.
|
|
412
|
-
*
|
|
413
|
-
* Scopes:
|
|
414
|
-
* * Global
|
|
415
|
-
*
|
|
416
|
-
* Payload:
|
|
417
|
-
* * subject: {@link TagManagerSubject},
|
|
418
|
-
* * parameter: string,
|
|
419
|
-
* * nodes: {@link TransformNode}[],
|
|
420
|
-
* * oldValue: {@link ParameterValue},
|
|
421
|
-
* * newValue: {@link ParameterValue},
|
|
422
|
-
* * result: {@link ParameterObserverResult},
|
|
423
|
-
*/
|
|
424
|
-
Event.TAG_MANAGER_PARAMETER_COMMITTED = 'tagManagerParameterCommitted';
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Event = exports.emitter = void 0;
|
|
4
|
+
const eventemitter3_1 = require("eventemitter3");
|
|
5
|
+
const lodash_es_1 = require("lodash-es");
|
|
6
|
+
/** @internal **/
|
|
7
|
+
exports.emitter = new eventemitter3_1.EventEmitter();
|
|
8
|
+
/**
|
|
9
|
+
* This `Event` class defines all events that can be consumed and fired by the {@link EventBroadcaster}. Use
|
|
10
|
+
* {@link EventBroadcaster.addEventListener} or {@link EventBroadcaster.on} to register event handler on your objects.
|
|
11
|
+
* You could also use the `Emitter` to globally register event handlers. Some events are fired in certain scopes. A
|
|
12
|
+
* scope is also considered to be the object the event could be registered on. Those scopes are documented in the
|
|
13
|
+
* events itself.
|
|
14
|
+
*
|
|
15
|
+
* Example using a bootstrapping event.
|
|
16
|
+
* ```js
|
|
17
|
+
* Emitter.on(Event.BOOTSTRAP_START, viewer => { ... });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* Example using a variant parameter event.
|
|
21
|
+
* ```js
|
|
22
|
+
* const variantInstance = await viewer.variantInstances.get('my_instance');
|
|
23
|
+
* const variant = variantInstance.variant;
|
|
24
|
+
* variant.on(Event.VARIANT_PARAMETER_COMMITTED, (variant, parameter) => { ... });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* Example using a scene processing event.
|
|
28
|
+
* ```js
|
|
29
|
+
* const canvas = document.getElementById('viewer-canvas');
|
|
30
|
+
* const viewer = new Viewer(canvas, createSpec());
|
|
31
|
+
* viewer.on(Event.SCENE_PROCESSING_END, scene => {
|
|
32
|
+
* scene.clearColor = new Color4(0, 0, 0, 0);
|
|
33
|
+
* });
|
|
34
|
+
* await viewer.bootstrap([]);
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class Event {
|
|
38
|
+
/**
|
|
39
|
+
* Constructor.
|
|
40
|
+
*/
|
|
41
|
+
constructor() { }
|
|
42
|
+
/**
|
|
43
|
+
* All events defined in this class.
|
|
44
|
+
*/
|
|
45
|
+
static get all() {
|
|
46
|
+
const all = [];
|
|
47
|
+
for (const event in Event) {
|
|
48
|
+
const property = Object.getOwnPropertyDescriptor(Event, event);
|
|
49
|
+
if (event.toUpperCase() === event && property && (0, lodash_es_1.isString)(property.value)) {
|
|
50
|
+
all.push(property.value);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return all;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* All events starting with 'variant'.
|
|
57
|
+
*/
|
|
58
|
+
static get variant() {
|
|
59
|
+
return Event.all.filter(event => event.startsWith('variant'));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* All events starting with 'element'.
|
|
63
|
+
*/
|
|
64
|
+
static get element() {
|
|
65
|
+
return Event.all.filter(event => event.startsWith('element'));
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* All events starting with 'scene'.
|
|
69
|
+
*/
|
|
70
|
+
static get scene() {
|
|
71
|
+
return Event.all.filter(event => event.startsWith('scene'));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* All events starting with 'camera'.
|
|
75
|
+
*/
|
|
76
|
+
static get camera() {
|
|
77
|
+
return Event.all.filter(event => event.startsWith('camera'));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.Event = Event;
|
|
81
|
+
/**
|
|
82
|
+
* Fired before bootstrapping of the {@link Viewer} starts.
|
|
83
|
+
*
|
|
84
|
+
* Scopes:
|
|
85
|
+
* * Global
|
|
86
|
+
* * {@link Viewer}
|
|
87
|
+
*
|
|
88
|
+
* Payload:
|
|
89
|
+
* * viewer: {@link Viewer}
|
|
90
|
+
*/
|
|
91
|
+
Event.BOOTSTRAP_START = 'bootstrapStart';
|
|
92
|
+
/**
|
|
93
|
+
* Fired after bootstrapping of the {@link Viewer} finished.
|
|
94
|
+
*
|
|
95
|
+
* Scopes:
|
|
96
|
+
* * Global
|
|
97
|
+
* * {@link Viewer}
|
|
98
|
+
*
|
|
99
|
+
* Payload:
|
|
100
|
+
* * viewer: {@link Viewer}
|
|
101
|
+
*/
|
|
102
|
+
Event.BOOTSTRAP_END = 'bootstrapEnd';
|
|
103
|
+
/**
|
|
104
|
+
* Fired before loading any type of JSON or resource.
|
|
105
|
+
*
|
|
106
|
+
* Scopes:
|
|
107
|
+
* * Global
|
|
108
|
+
*
|
|
109
|
+
* Payload:
|
|
110
|
+
* * path: string
|
|
111
|
+
*/
|
|
112
|
+
Event.LOADING_START = 'loadingStart';
|
|
113
|
+
/**
|
|
114
|
+
* Fired after loading any type of JSON or resource finished.
|
|
115
|
+
*
|
|
116
|
+
* Scopes:
|
|
117
|
+
* * Global
|
|
118
|
+
*
|
|
119
|
+
* Payload:
|
|
120
|
+
* * path: string
|
|
121
|
+
*/
|
|
122
|
+
Event.LOADING_END = 'loadingEnd';
|
|
123
|
+
/**
|
|
124
|
+
* Fired before loading an asset (e.g. glTF) onto the scene.
|
|
125
|
+
*
|
|
126
|
+
* Scopes:
|
|
127
|
+
* * Global
|
|
128
|
+
* * {@link Variant}
|
|
129
|
+
*
|
|
130
|
+
* Payload:
|
|
131
|
+
* * variant: {@link Variant}
|
|
132
|
+
*/
|
|
133
|
+
Event.ASSET_LOADING_START = 'assetLoadingStart';
|
|
134
|
+
/**
|
|
135
|
+
* Fired after loading an asset (e.g. glTF) onto the scene finished.
|
|
136
|
+
*
|
|
137
|
+
* Scopes:
|
|
138
|
+
* * Global
|
|
139
|
+
* * {@link Variant}
|
|
140
|
+
*
|
|
141
|
+
* Payload:
|
|
142
|
+
* * variant: {@link Variant}
|
|
143
|
+
*/
|
|
144
|
+
Event.ASSET_LOADING_END = 'assetLoadingEnd';
|
|
145
|
+
/**
|
|
146
|
+
* Fired before scene initialization starts when bootstrapping the {@link Viewer}.
|
|
147
|
+
*
|
|
148
|
+
* Scopes:
|
|
149
|
+
* * Global
|
|
150
|
+
* * {@link Viewer}
|
|
151
|
+
*
|
|
152
|
+
* Payload:
|
|
153
|
+
* * sceneJson: {@link SceneJson}
|
|
154
|
+
*/
|
|
155
|
+
Event.SCENE_PROCESSING_START = 'sceneProcessingStart';
|
|
156
|
+
/**
|
|
157
|
+
* Fired after scene initialization end when bootstrapping the {@link Viewer}.
|
|
158
|
+
*
|
|
159
|
+
* Scopes:
|
|
160
|
+
* * Global
|
|
161
|
+
* * {@link Viewer}
|
|
162
|
+
*
|
|
163
|
+
* Payload:
|
|
164
|
+
* * scene: {@link Scene}
|
|
165
|
+
*/
|
|
166
|
+
Event.SCENE_PROCESSING_END = 'sceneProcessingEnd';
|
|
167
|
+
/**
|
|
168
|
+
* Fired after a {@link Variant} has been created.
|
|
169
|
+
*
|
|
170
|
+
* Scopes:
|
|
171
|
+
* * Global
|
|
172
|
+
* * {@link Viewer}
|
|
173
|
+
*
|
|
174
|
+
* Payload:
|
|
175
|
+
* * variant: {@link Variant}
|
|
176
|
+
*/
|
|
177
|
+
Event.VARIANT_CREATED = 'variantCreated';
|
|
178
|
+
/**
|
|
179
|
+
* Fired after a {@link Variant} has been destroyed.
|
|
180
|
+
*
|
|
181
|
+
* Scopes:
|
|
182
|
+
* * Global
|
|
183
|
+
* * {@link Variant}
|
|
184
|
+
*
|
|
185
|
+
* Payload:
|
|
186
|
+
* * variant: {@link Variant}
|
|
187
|
+
*/
|
|
188
|
+
Event.VARIANT_DESTROYED = 'variantDestroyed';
|
|
189
|
+
/**
|
|
190
|
+
* Fired after the {@link Variant} under the cursor has been picked/selected.
|
|
191
|
+
*
|
|
192
|
+
* Scopes:
|
|
193
|
+
* * Global
|
|
194
|
+
* * {@link Viewer}
|
|
195
|
+
*
|
|
196
|
+
* Payload:
|
|
197
|
+
* * variant: {@link Variant}
|
|
198
|
+
*/
|
|
199
|
+
Event.VARIANT_PICKED = 'variantPicked';
|
|
200
|
+
/**
|
|
201
|
+
* Fired after the {@link Element} under the cursor has been picked/selected.
|
|
202
|
+
*
|
|
203
|
+
* Scopes:
|
|
204
|
+
* * Global
|
|
205
|
+
* * {@link Viewer}
|
|
206
|
+
*
|
|
207
|
+
* Payload:
|
|
208
|
+
* * element: {@link Element}
|
|
209
|
+
*/
|
|
210
|
+
Event.ELEMENT_PICKED = 'elementPicked';
|
|
211
|
+
/**
|
|
212
|
+
* Fired after a parameter on a {@link Variant} has been committed.
|
|
213
|
+
*
|
|
214
|
+
* Scopes:
|
|
215
|
+
* * Global
|
|
216
|
+
* * {@link Variant}
|
|
217
|
+
*
|
|
218
|
+
* Payload:
|
|
219
|
+
* * variant: {@link Variant}
|
|
220
|
+
* * parameter: string
|
|
221
|
+
* * oldValue: string
|
|
222
|
+
* * newValue: string
|
|
223
|
+
*/
|
|
224
|
+
Event.VARIANT_PARAMETER_COMMITTED = 'variantParameterCommitted';
|
|
225
|
+
/**
|
|
226
|
+
* Fired after a {@link ParameterBag} has been committed.
|
|
227
|
+
*
|
|
228
|
+
* Scopes:
|
|
229
|
+
* * Global
|
|
230
|
+
* * {@link Variant}
|
|
231
|
+
*
|
|
232
|
+
* Payload:
|
|
233
|
+
* * variant: {@link Variant}
|
|
234
|
+
* * parameters: {@link ParameterBag}
|
|
235
|
+
* * oldValues: string[]
|
|
236
|
+
* * newValues: string[]
|
|
237
|
+
*/
|
|
238
|
+
Event.VARIANT_PARAMETER_BAG_COMMITTED = 'variantParameterBagCommitted';
|
|
239
|
+
/**
|
|
240
|
+
* Fired after a {@link VariantInstance} has been created.
|
|
241
|
+
*
|
|
242
|
+
* Scopes:
|
|
243
|
+
* * Global
|
|
244
|
+
* * {@link VariantInstanceManager}
|
|
245
|
+
*
|
|
246
|
+
* Payload:
|
|
247
|
+
* * variantInstance: {@link VariantInstance}
|
|
248
|
+
*/
|
|
249
|
+
Event.VARIANT_INSTANCE_CREATED = 'variantInstanceCreated';
|
|
250
|
+
/**
|
|
251
|
+
* Fired after a {@link VariantInstance} has been registered. This is the case when the {@link VariantInstance} is
|
|
252
|
+
* considered "lazy".
|
|
253
|
+
*
|
|
254
|
+
* Scopes:
|
|
255
|
+
* * Global
|
|
256
|
+
* * {@link VariantInstanceManager}
|
|
257
|
+
*
|
|
258
|
+
* Payload:
|
|
259
|
+
* * variantInstanceDefinition: {@link VariantInstanceDefinition}
|
|
260
|
+
*/
|
|
261
|
+
Event.VARIANT_INSTANCE_REGISTERED = 'variantInstanceRegistered';
|
|
262
|
+
/**
|
|
263
|
+
* Fired after a {@link VariantInstance} has been cloned.
|
|
264
|
+
*
|
|
265
|
+
* Scopes:
|
|
266
|
+
* * Global
|
|
267
|
+
* * {@link VariantInstanceManager}
|
|
268
|
+
*
|
|
269
|
+
* Payload:
|
|
270
|
+
* * variantInstanceClone: {@link VariantInstance}
|
|
271
|
+
*/
|
|
272
|
+
Event.VARIANT_INSTANCE_CLONED = 'variantInstanceCloned';
|
|
273
|
+
/**
|
|
274
|
+
* Fired after a {@link VariantInstance} has been destroyed.
|
|
275
|
+
*
|
|
276
|
+
* Scopes:
|
|
277
|
+
* * Global
|
|
278
|
+
* * {@link VariantInstanceManager}
|
|
279
|
+
*
|
|
280
|
+
* Payload:
|
|
281
|
+
* * variantInstance: {@link VariantInstance}
|
|
282
|
+
*/
|
|
283
|
+
Event.VARIANT_INSTANCE_DESTROYED = 'variantInstanceDestroyed';
|
|
284
|
+
/**
|
|
285
|
+
* Fired after all {@link VariantInstance}s have been either created or registered.
|
|
286
|
+
*
|
|
287
|
+
* Scopes:
|
|
288
|
+
* * Global
|
|
289
|
+
* * {@link Viewer}
|
|
290
|
+
*
|
|
291
|
+
* Payload:
|
|
292
|
+
* * viewer: {@link Viewer}
|
|
293
|
+
*/
|
|
294
|
+
Event.VARIANT_INSTANCES_READY = 'variantInstancesReady';
|
|
295
|
+
/**
|
|
296
|
+
* Fired after the nodes of a {@link Variant} has been cloned to the {@link Element}.
|
|
297
|
+
*
|
|
298
|
+
* Scopes:
|
|
299
|
+
* * Global
|
|
300
|
+
* * {@link Variant}
|
|
301
|
+
*
|
|
302
|
+
* Payload:
|
|
303
|
+
* * element: {@link Element}
|
|
304
|
+
*/
|
|
305
|
+
Event.ELEMENT_NODES_CLONED = 'elementNodesCloned';
|
|
306
|
+
/**
|
|
307
|
+
* Fired after an {@link Element} has been created.
|
|
308
|
+
*
|
|
309
|
+
* Scopes:
|
|
310
|
+
* * Global
|
|
311
|
+
* * {@link Variant}
|
|
312
|
+
*
|
|
313
|
+
* Payload:
|
|
314
|
+
* * element: {@link Element}
|
|
315
|
+
*/
|
|
316
|
+
Event.ELEMENT_CREATED = 'elementCreated';
|
|
317
|
+
/**
|
|
318
|
+
* Fired after a parameter on an {@link Element} has been committed.
|
|
319
|
+
*
|
|
320
|
+
* Scopes:
|
|
321
|
+
* * Global
|
|
322
|
+
* * {@link Element}
|
|
323
|
+
*
|
|
324
|
+
* Payload:
|
|
325
|
+
* * element: {@link Element}
|
|
326
|
+
* * parameter: string
|
|
327
|
+
* * oldValue: string
|
|
328
|
+
* * newValue: string
|
|
329
|
+
*/
|
|
330
|
+
Event.ELEMENT_PARAMETER_COMMITTED = 'elementParameterCommitted';
|
|
331
|
+
/**
|
|
332
|
+
* Fired after a parameter on an {@link ViewerLight} has been committed.
|
|
333
|
+
*
|
|
334
|
+
* Scopes:
|
|
335
|
+
* * Global
|
|
336
|
+
* * {@link ViewerLight}
|
|
337
|
+
*
|
|
338
|
+
* Payload:
|
|
339
|
+
* * light: {@link ViewerLight}
|
|
340
|
+
* * parameter: string
|
|
341
|
+
* * oldValue: string
|
|
342
|
+
* * newValue: string
|
|
343
|
+
*/
|
|
344
|
+
Event.VIEWER_LIGHT_PARAMETER_COMMITTED = 'viewerLightParameterCommitted';
|
|
345
|
+
/**
|
|
346
|
+
* Fired after a parameter on an {@link SceneManager} has been committed.
|
|
347
|
+
*
|
|
348
|
+
* Scopes:
|
|
349
|
+
* * Global
|
|
350
|
+
* * {@link SceneManager}
|
|
351
|
+
*
|
|
352
|
+
* Payload:
|
|
353
|
+
* * variant: {@link SceneManager}
|
|
354
|
+
* * parameter: string
|
|
355
|
+
* * oldValue: string
|
|
356
|
+
* * newValue: string
|
|
357
|
+
*/
|
|
358
|
+
Event.SCENE_PARAMETER_COMMITTED = 'sceneParameterCommitted';
|
|
359
|
+
/**
|
|
360
|
+
* Fired after the active camera on the scene has been switched.
|
|
361
|
+
*
|
|
362
|
+
* Scopes:
|
|
363
|
+
* * Global
|
|
364
|
+
* * {@link Viewer}
|
|
365
|
+
*
|
|
366
|
+
* Payload:
|
|
367
|
+
* * camera: Camera
|
|
368
|
+
*/
|
|
369
|
+
Event.CAMERA_SWITCHED = 'cameraSwitched';
|
|
370
|
+
/**
|
|
371
|
+
* Fired after the {@link Mesh} under the cursor has been picked/selected.
|
|
372
|
+
*
|
|
373
|
+
* Scopes:
|
|
374
|
+
* * Global
|
|
375
|
+
* * {@link Viewer}
|
|
376
|
+
*
|
|
377
|
+
* Payload:
|
|
378
|
+
* * mesh: {@link Mesh}
|
|
379
|
+
* * element: {@link Element}
|
|
380
|
+
* * variant: {@link Variant}
|
|
381
|
+
*/
|
|
382
|
+
Event.MESH_PICKED = 'meshPicked';
|
|
383
|
+
/**
|
|
384
|
+
* Fired when a bunch of {@link Texture}s start loading.
|
|
385
|
+
*
|
|
386
|
+
* Scopes:
|
|
387
|
+
* * Global
|
|
388
|
+
* * {@link SceneManager}
|
|
389
|
+
*/
|
|
390
|
+
Event.TEXTURE_LOADING_START = 'textureLoadingStart';
|
|
391
|
+
/**
|
|
392
|
+
* Fired when the last {@link Texture} was successfully loaded.
|
|
393
|
+
*
|
|
394
|
+
* Scopes:
|
|
395
|
+
* * Global
|
|
396
|
+
* * {@link SceneManager}
|
|
397
|
+
*/
|
|
398
|
+
Event.TEXTURE_LOADING_END = 'textureLoadingEnd';
|
|
399
|
+
/**
|
|
400
|
+
* Fired after a {@link Material} has been applied to a {@link Mesh}.
|
|
401
|
+
*
|
|
402
|
+
* Scopes:
|
|
403
|
+
* * Global
|
|
404
|
+
*
|
|
405
|
+
* Payload:
|
|
406
|
+
* * mesh: {@link Mesh}
|
|
407
|
+
* * material: {@link Material}
|
|
408
|
+
*/
|
|
409
|
+
Event.MESH_MATERIAL_APPLIED = 'meshMaterialApplied';
|
|
410
|
+
/**
|
|
411
|
+
* Fired after a {@link TagManagerParameterObserver} has been called.
|
|
412
|
+
*
|
|
413
|
+
* Scopes:
|
|
414
|
+
* * Global
|
|
415
|
+
*
|
|
416
|
+
* Payload:
|
|
417
|
+
* * subject: {@link TagManagerSubject},
|
|
418
|
+
* * parameter: string,
|
|
419
|
+
* * nodes: {@link TransformNode}[],
|
|
420
|
+
* * oldValue: {@link ParameterValue},
|
|
421
|
+
* * newValue: {@link ParameterValue},
|
|
422
|
+
* * result: {@link ParameterObserverResult},
|
|
423
|
+
*/
|
|
424
|
+
Event.TAG_MANAGER_PARAMETER_COMMITTED = 'tagManagerParameterCommitted';
|
|
425
425
|
//# sourceMappingURL=event.js.map
|