@itwin/core-frontend 3.3.0-dev.49 → 3.3.0-dev.51
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/lib/cjs/DisplayStyleState.d.ts +12 -14
- package/lib/cjs/DisplayStyleState.d.ts.map +1 -1
- package/lib/cjs/DisplayStyleState.js +84 -69
- package/lib/cjs/DisplayStyleState.js.map +1 -1
- package/lib/cjs/DrawingViewState.js +1 -1
- package/lib/cjs/DrawingViewState.js.map +1 -1
- package/lib/cjs/IModelConnection.js +1 -1
- package/lib/cjs/IModelConnection.js.map +1 -1
- package/lib/cjs/RealityDataSource.d.ts.map +1 -1
- package/lib/cjs/RealityDataSource.js +6 -2
- package/lib/cjs/RealityDataSource.js.map +1 -1
- package/lib/cjs/SheetViewState.js +1 -1
- package/lib/cjs/SheetViewState.js.map +1 -1
- package/lib/cjs/ViewState.d.ts +1 -2
- package/lib/cjs/ViewState.d.ts.map +1 -1
- package/lib/cjs/ViewState.js +2 -2
- package/lib/cjs/ViewState.js.map +1 -1
- package/lib/cjs/Viewport.d.ts.map +1 -1
- package/lib/cjs/Viewport.js +9 -4
- package/lib/cjs/Viewport.js.map +1 -1
- package/lib/cjs/core-frontend.d.ts +0 -2
- package/lib/cjs/core-frontend.d.ts.map +1 -1
- package/lib/cjs/core-frontend.js +0 -2
- package/lib/cjs/core-frontend.js.map +1 -1
- package/lib/cjs/render/FeatureSymbology.js +2 -2
- package/lib/cjs/render/FeatureSymbology.js.map +1 -1
- package/lib/cjs/render/GraphicBranch.d.ts +15 -9
- package/lib/cjs/render/GraphicBranch.d.ts.map +1 -1
- package/lib/cjs/render/GraphicBranch.js +38 -1
- package/lib/cjs/render/GraphicBranch.js.map +1 -1
- package/lib/cjs/render/primitives/EdgeParams.d.ts +11 -0
- package/lib/cjs/render/primitives/EdgeParams.d.ts.map +1 -1
- package/lib/cjs/render/primitives/EdgeParams.js +36 -29
- package/lib/cjs/render/primitives/EdgeParams.js.map +1 -1
- package/lib/cjs/render/primitives/VertexTable.d.ts +11 -4
- package/lib/cjs/render/primitives/VertexTable.d.ts.map +1 -1
- package/lib/cjs/render/primitives/VertexTable.js +13 -6
- package/lib/cjs/render/primitives/VertexTable.js.map +1 -1
- package/lib/cjs/render/primitives/VertexTableSplitter.d.ts +41 -0
- package/lib/cjs/render/primitives/VertexTableSplitter.d.ts.map +1 -0
- package/lib/cjs/render/primitives/VertexTableSplitter.js +662 -0
- package/lib/cjs/render/primitives/VertexTableSplitter.js.map +1 -0
- package/lib/cjs/render-primitives.d.ts +1 -0
- package/lib/cjs/render-primitives.d.ts.map +1 -1
- package/lib/cjs/render-primitives.js +1 -0
- package/lib/cjs/render-primitives.js.map +1 -1
- package/lib/cjs/tile/ClassifierTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/ClassifierTileTree.js +8 -8
- package/lib/cjs/tile/ClassifierTileTree.js.map +1 -1
- package/lib/cjs/tile/IModelTile.d.ts.map +1 -1
- package/lib/cjs/tile/IModelTile.js +1 -0
- package/lib/cjs/tile/IModelTile.js.map +1 -1
- package/lib/cjs/tile/IModelTileTree.d.ts +3 -1
- package/lib/cjs/tile/IModelTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/IModelTileTree.js +1 -0
- package/lib/cjs/tile/IModelTileTree.js.map +1 -1
- package/lib/cjs/tile/ImdlReader.d.ts +9 -4
- package/lib/cjs/tile/ImdlReader.d.ts.map +1 -1
- package/lib/cjs/tile/ImdlReader.js +174 -60
- package/lib/cjs/tile/ImdlReader.js.map +1 -1
- package/lib/cjs/tile/PrimaryTileTree.d.ts +7 -6
- package/lib/cjs/tile/PrimaryTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/PrimaryTileTree.js +30 -25
- package/lib/cjs/tile/PrimaryTileTree.js.map +1 -1
- package/lib/cjs/tile/TileAdmin.d.ts +21 -2
- package/lib/cjs/tile/TileAdmin.d.ts.map +1 -1
- package/lib/cjs/tile/TileAdmin.js +30 -12
- package/lib/cjs/tile/TileAdmin.js.map +1 -1
- package/lib/esm/DisplayStyleState.d.ts +12 -14
- package/lib/esm/DisplayStyleState.d.ts.map +1 -1
- package/lib/esm/DisplayStyleState.js +84 -69
- package/lib/esm/DisplayStyleState.js.map +1 -1
- package/lib/esm/DrawingViewState.js +1 -1
- package/lib/esm/DrawingViewState.js.map +1 -1
- package/lib/esm/IModelConnection.js +1 -1
- package/lib/esm/IModelConnection.js.map +1 -1
- package/lib/esm/RealityDataSource.d.ts.map +1 -1
- package/lib/esm/RealityDataSource.js +6 -2
- package/lib/esm/RealityDataSource.js.map +1 -1
- package/lib/esm/SheetViewState.js +1 -1
- package/lib/esm/SheetViewState.js.map +1 -1
- package/lib/esm/ViewState.d.ts +1 -2
- package/lib/esm/ViewState.d.ts.map +1 -1
- package/lib/esm/ViewState.js +2 -2
- package/lib/esm/ViewState.js.map +1 -1
- package/lib/esm/Viewport.d.ts.map +1 -1
- package/lib/esm/Viewport.js +9 -4
- package/lib/esm/Viewport.js.map +1 -1
- package/lib/esm/core-frontend.d.ts +0 -2
- package/lib/esm/core-frontend.d.ts.map +1 -1
- package/lib/esm/core-frontend.js +0 -2
- package/lib/esm/core-frontend.js.map +1 -1
- package/lib/esm/render/FeatureSymbology.js +2 -2
- package/lib/esm/render/FeatureSymbology.js.map +1 -1
- package/lib/esm/render/GraphicBranch.d.ts +15 -9
- package/lib/esm/render/GraphicBranch.d.ts.map +1 -1
- package/lib/esm/render/GraphicBranch.js +36 -0
- package/lib/esm/render/GraphicBranch.js.map +1 -1
- package/lib/esm/render/primitives/EdgeParams.d.ts +11 -0
- package/lib/esm/render/primitives/EdgeParams.d.ts.map +1 -1
- package/lib/esm/render/primitives/EdgeParams.js +34 -28
- package/lib/esm/render/primitives/EdgeParams.js.map +1 -1
- package/lib/esm/render/primitives/VertexTable.d.ts +11 -4
- package/lib/esm/render/primitives/VertexTable.d.ts.map +1 -1
- package/lib/esm/render/primitives/VertexTable.js +14 -7
- package/lib/esm/render/primitives/VertexTable.js.map +1 -1
- package/lib/esm/render/primitives/VertexTableSplitter.d.ts +41 -0
- package/lib/esm/render/primitives/VertexTableSplitter.d.ts.map +1 -0
- package/lib/esm/render/primitives/VertexTableSplitter.js +655 -0
- package/lib/esm/render/primitives/VertexTableSplitter.js.map +1 -0
- package/lib/esm/render-primitives.d.ts +1 -0
- package/lib/esm/render-primitives.d.ts.map +1 -1
- package/lib/esm/render-primitives.js +1 -0
- package/lib/esm/render-primitives.js.map +1 -1
- package/lib/esm/tile/ClassifierTileTree.d.ts.map +1 -1
- package/lib/esm/tile/ClassifierTileTree.js +10 -10
- package/lib/esm/tile/ClassifierTileTree.js.map +1 -1
- package/lib/esm/tile/IModelTile.d.ts.map +1 -1
- package/lib/esm/tile/IModelTile.js +1 -0
- package/lib/esm/tile/IModelTile.js.map +1 -1
- package/lib/esm/tile/IModelTileTree.d.ts +3 -1
- package/lib/esm/tile/IModelTileTree.d.ts.map +1 -1
- package/lib/esm/tile/IModelTileTree.js +1 -0
- package/lib/esm/tile/IModelTileTree.js.map +1 -1
- package/lib/esm/tile/ImdlReader.d.ts +9 -4
- package/lib/esm/tile/ImdlReader.d.ts.map +1 -1
- package/lib/esm/tile/ImdlReader.js +174 -60
- package/lib/esm/tile/ImdlReader.js.map +1 -1
- package/lib/esm/tile/PrimaryTileTree.d.ts +7 -6
- package/lib/esm/tile/PrimaryTileTree.d.ts.map +1 -1
- package/lib/esm/tile/PrimaryTileTree.js +31 -26
- package/lib/esm/tile/PrimaryTileTree.js.map +1 -1
- package/lib/esm/tile/TileAdmin.d.ts +21 -2
- package/lib/esm/tile/TileAdmin.d.ts.map +1 -1
- package/lib/esm/tile/TileAdmin.js +31 -13
- package/lib/esm/tile/TileAdmin.js.map +1 -1
- package/package.json +20 -20
- package/lib/cjs/RenderScheduleState.d.ts +0 -24
- package/lib/cjs/RenderScheduleState.d.ts.map +0 -1
- package/lib/cjs/RenderScheduleState.js +0 -76
- package/lib/cjs/RenderScheduleState.js.map +0 -1
- package/lib/cjs/extension/providers/ExtensionServiceClient.d.ts +0 -54
- package/lib/cjs/extension/providers/ExtensionServiceClient.d.ts.map +0 -1
- package/lib/cjs/extension/providers/ExtensionServiceClient.js +0 -138
- package/lib/cjs/extension/providers/ExtensionServiceClient.js.map +0 -1
- package/lib/cjs/extension/providers/ServiceExtensionProvider.d.ts +0 -38
- package/lib/cjs/extension/providers/ServiceExtensionProvider.d.ts.map +0 -1
- package/lib/cjs/extension/providers/ServiceExtensionProvider.js +0 -73
- package/lib/cjs/extension/providers/ServiceExtensionProvider.js.map +0 -1
- package/lib/esm/RenderScheduleState.d.ts +0 -24
- package/lib/esm/RenderScheduleState.d.ts.map +0 -1
- package/lib/esm/RenderScheduleState.js +0 -71
- package/lib/esm/RenderScheduleState.js.map +0 -1
- package/lib/esm/extension/providers/ExtensionServiceClient.d.ts +0 -54
- package/lib/esm/extension/providers/ExtensionServiceClient.d.ts.map +0 -1
- package/lib/esm/extension/providers/ExtensionServiceClient.js +0 -134
- package/lib/esm/extension/providers/ExtensionServiceClient.js.map +0 -1
- package/lib/esm/extension/providers/ServiceExtensionProvider.d.ts +0 -38
- package/lib/esm/extension/providers/ServiceExtensionProvider.d.ts.map +0 -1
- package/lib/esm/extension/providers/ServiceExtensionProvider.js +0 -69
- package/lib/esm/extension/providers/ServiceExtensionProvider.js.map +0 -1
|
@@ -9,7 +9,6 @@ import { ContextRealityModelState } from "./ContextRealityModelState";
|
|
|
9
9
|
import { ElementState } from "./EntityState";
|
|
10
10
|
import { IModelConnection } from "./IModelConnection";
|
|
11
11
|
import { PlanarClipMaskState } from "./PlanarClipMaskState";
|
|
12
|
-
import { RenderScheduleState } from "./RenderScheduleState";
|
|
13
12
|
import { MapCartoRectangle, TileTreeReference } from "./tile/internal";
|
|
14
13
|
import { ScreenViewport } from "./Viewport";
|
|
15
14
|
/** @internal */
|
|
@@ -36,13 +35,18 @@ export interface OsmBuildingDisplayOptions {
|
|
|
36
35
|
export declare abstract class DisplayStyleState extends ElementState implements DisplayStyleProps {
|
|
37
36
|
/** @internal */
|
|
38
37
|
static get className(): string;
|
|
39
|
-
private
|
|
38
|
+
private _scriptReference?;
|
|
40
39
|
private _ellipsoidMapGeometry;
|
|
41
40
|
private _attachedRealityModelPlanarClipMasks;
|
|
42
41
|
/** @internal */
|
|
43
42
|
protected _queryRenderTimelinePropsPromise?: Promise<RenderTimelineProps | undefined>;
|
|
44
|
-
|
|
43
|
+
private _assigningScript;
|
|
44
|
+
/** Event raised just before the [[scheduleScriptReference]] property is changed.
|
|
45
|
+
* @deprecated use [[onScheduleScriptChanged]].
|
|
46
|
+
*/
|
|
45
47
|
readonly onScheduleScriptReferenceChanged: BeEvent<(newScriptReference: RenderSchedule.ScriptReference | undefined) => void>;
|
|
48
|
+
/** Event raised just before the [[scheduleScript]] property is changed. */
|
|
49
|
+
readonly onScheduleScriptChanged: BeEvent<(newScript: RenderSchedule.Script | undefined) => void>;
|
|
46
50
|
/** Event raised just after [[setOSMBuildingDisplay]] changes the enabled state of the OSM buildings. */
|
|
47
51
|
readonly onOSMBuildingDisplayChanged: BeEvent<(osmBuildingDisplayEnabled: boolean) => void>;
|
|
48
52
|
/** The container for this display style's settings. */
|
|
@@ -59,8 +63,8 @@ export declare abstract class DisplayStyleState extends ElementState implements
|
|
|
59
63
|
* you obtain a display style by some other means you should `await` this method before using the display style.
|
|
60
64
|
*/
|
|
61
65
|
load(): Promise<void>;
|
|
62
|
-
private
|
|
63
|
-
private
|
|
66
|
+
private loadScriptReferenceFromScript;
|
|
67
|
+
private loadScriptReferenceFromTimeline;
|
|
64
68
|
/** @internal */
|
|
65
69
|
protected queryRenderTimelineProps(timelineId: Id64String): Promise<RenderTimelineProps | undefined>;
|
|
66
70
|
/** @internal */
|
|
@@ -114,7 +118,7 @@ export declare abstract class DisplayStyleState extends ElementState implements
|
|
|
114
118
|
/** The name of this DisplayStyle */
|
|
115
119
|
get name(): string;
|
|
116
120
|
/** Change the Id of the [RenderTimeline]($backend) element that hosts the [RenderSchedule.Script]($common) to be applied by this display style for
|
|
117
|
-
* animating the contents of the view, and update [[
|
|
121
|
+
* animating the contents of the view, and update [[scheduleScript]] using the script associated with the [RenderTimeline]($backend) element.
|
|
118
122
|
* @see [DisplayStyleSettings.renderTimeline]($common).
|
|
119
123
|
*/
|
|
120
124
|
changeRenderTimeline(timelineId: Id64String | undefined): Promise<void>;
|
|
@@ -122,18 +126,12 @@ export declare abstract class DisplayStyleState extends ElementState implements
|
|
|
122
126
|
* @see [[changeRenderTimeline]] to change the script.
|
|
123
127
|
*/
|
|
124
128
|
get scheduleScript(): RenderSchedule.Script | undefined;
|
|
129
|
+
set scheduleScript(script: RenderSchedule.Script | undefined);
|
|
125
130
|
/** The [RenderSchedule.Script]($common) that animates the contents of the view, if any, along with the Id of the element that hosts the script.
|
|
126
131
|
* @note The host element may be a [RenderTimeline]($backend) or a [DisplayStyle]($backend).
|
|
127
|
-
* @
|
|
132
|
+
* @deprecated Use [[scheduleScript]].
|
|
128
133
|
*/
|
|
129
134
|
get scheduleScriptReference(): RenderSchedule.ScriptReference | undefined;
|
|
130
|
-
/** @internal */
|
|
131
|
-
get scheduleState(): RenderScheduleState | undefined;
|
|
132
|
-
/** This is only used by [RealityTransitionTool]($frontend-devtools). It basically can only work if the script contains nothing that requires special tiles to be generated -
|
|
133
|
-
* no symbology changes, transforms, or clipping - because the backend tile generator requires a *persistent* element to host the script for those features to work.
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
setScheduleState(state: RenderScheduleState | undefined): void;
|
|
137
135
|
/** Attach a [ContextRealityModel]($common) to this display style.
|
|
138
136
|
* @see [DisplayStyleSettings.contextRealityModels]($common).
|
|
139
137
|
* @see [ContextRealityModels.add]($common)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisplayStyleState.d.ts","sourceRoot":"","sources":["../../src/DisplayStyleState.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,EAAU,OAAO,EAAQ,UAAU,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I,aAAa,CAAiC;IACnE,IAAW,MAAM,CAAC,MAAM,EAAE,aAAa,EAAoC;IAE3E,wCAAwC;IACxC,IAAW,YAAY,IAAI,QAAQ,CAAC,QAAQ,CAAC,CAE5C;IAED;;;;OAIG;IACI,UAAU,CAAC,IAAI,EAAE,MAAM;IAI9B,2CAA2C;IAC3C,IAAW,YAAY,IAAI,mBAAmB,CAE7C;IACD,IAAW,YAAY,CAAC,QAAQ,EAAE,mBAAmB,EAEpD;IAED,gBAAgB;cACG,8BAA8B,IAAI,IAAI;IAezD,gBAAgB;IACT,sBAAsB,IAAI,uBAAuB,GAAG,SAAS;CAWrE"}
|
|
@@ -17,7 +17,6 @@ const ContextRealityModelState_1 = require("./ContextRealityModelState");
|
|
|
17
17
|
const EntityState_1 = require("./EntityState");
|
|
18
18
|
const IModelApp_1 = require("./IModelApp");
|
|
19
19
|
const PlanarClipMaskState_1 = require("./PlanarClipMaskState");
|
|
20
|
-
const RenderScheduleState_1 = require("./RenderScheduleState");
|
|
21
20
|
const internal_1 = require("./tile/internal");
|
|
22
21
|
const ViewGlobalLocation_1 = require("./ViewGlobalLocation");
|
|
23
22
|
const ModelState_1 = require("./ModelState");
|
|
@@ -38,13 +37,18 @@ class DisplayStyleState extends EntityState_1.ElementState {
|
|
|
38
37
|
constructor(props, iModel, source) {
|
|
39
38
|
super(props, iModel);
|
|
40
39
|
this._attachedRealityModelPlanarClipMasks = new Map();
|
|
41
|
-
|
|
40
|
+
this._assigningScript = false;
|
|
41
|
+
/** Event raised just before the [[scheduleScriptReference]] property is changed.
|
|
42
|
+
* @deprecated use [[onScheduleScriptChanged]].
|
|
43
|
+
*/
|
|
42
44
|
this.onScheduleScriptReferenceChanged = new core_bentley_1.BeEvent();
|
|
45
|
+
/** Event raised just before the [[scheduleScript]] property is changed. */
|
|
46
|
+
this.onScheduleScriptChanged = new core_bentley_1.BeEvent();
|
|
43
47
|
/** Event raised just after [[setOSMBuildingDisplay]] changes the enabled state of the OSM buildings. */
|
|
44
48
|
this.onOSMBuildingDisplayChanged = new core_bentley_1.BeEvent();
|
|
45
49
|
const styles = this.jsonProperties.styles;
|
|
46
50
|
if (source)
|
|
47
|
-
this.
|
|
51
|
+
this._scriptReference = source._scriptReference;
|
|
48
52
|
if (styles) {
|
|
49
53
|
// ###TODO Use DisplayStyleSettings.planarClipMasks
|
|
50
54
|
if (styles.planarClipOvr)
|
|
@@ -61,61 +65,64 @@ class DisplayStyleState extends EntityState_1.ElementState {
|
|
|
61
65
|
async load() {
|
|
62
66
|
// If we were cloned, we may already have a valid schedule state, and our display style Id may be invalid / different.
|
|
63
67
|
// Preserve it if still usable.
|
|
64
|
-
if (this.
|
|
65
|
-
if (this.settings.renderTimeline === this.
|
|
68
|
+
if (this._scriptReference) {
|
|
69
|
+
if (this.settings.renderTimeline === this._scriptReference.sourceId) {
|
|
66
70
|
// The script came from the same RenderTimeline element. Keep it.
|
|
67
71
|
return;
|
|
68
72
|
}
|
|
69
73
|
if (undefined === this.settings.renderTimeline) {
|
|
70
|
-
// The script
|
|
71
|
-
if (this.id === this.
|
|
74
|
+
// The script came from a display style's JSON properties. Keep it if (1) this style is not persistent or (2) this style has the same Id
|
|
75
|
+
if (this.id === this._scriptReference.sourceId || !core_bentley_1.Id64.isValidId64(this.id))
|
|
72
76
|
return;
|
|
73
77
|
}
|
|
74
78
|
}
|
|
75
|
-
if
|
|
76
|
-
|
|
79
|
+
// The schedule script stored in JSON properties takes precedence over the RenderTimeline if both are defined.
|
|
80
|
+
if (this.settings.scheduleScriptProps)
|
|
81
|
+
this.loadScriptReferenceFromScript(this.settings.scheduleScriptProps);
|
|
77
82
|
else
|
|
78
|
-
this.
|
|
83
|
+
await this.loadScriptReferenceFromTimeline(this.settings.renderTimeline);
|
|
79
84
|
}
|
|
80
|
-
|
|
85
|
+
loadScriptReferenceFromScript(scriptProps) {
|
|
81
86
|
let newState;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
// schedule state is undefined.
|
|
90
|
-
}
|
|
87
|
+
try {
|
|
88
|
+
const script = core_common_1.RenderSchedule.Script.fromJSON(scriptProps);
|
|
89
|
+
if (script)
|
|
90
|
+
newState = new core_common_1.RenderSchedule.ScriptReference(this.id, script);
|
|
91
|
+
}
|
|
92
|
+
catch (_) {
|
|
93
|
+
// schedule state is undefined.
|
|
91
94
|
}
|
|
92
|
-
if (newState !== this.
|
|
93
|
-
this.onScheduleScriptReferenceChanged.raiseEvent(newState);
|
|
94
|
-
this.
|
|
95
|
+
if (newState !== this._scriptReference) {
|
|
96
|
+
this.onScheduleScriptReferenceChanged.raiseEvent(newState); // eslint-disable-line deprecation/deprecation
|
|
97
|
+
this.onScheduleScriptChanged.raiseEvent(newState === null || newState === void 0 ? void 0 : newState.script);
|
|
98
|
+
this._scriptReference = newState;
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
|
-
async
|
|
101
|
+
async loadScriptReferenceFromTimeline(timelineId) {
|
|
98
102
|
let newState;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
103
|
+
if (timelineId && core_bentley_1.Id64.isValidId64(timelineId)) {
|
|
104
|
+
try {
|
|
105
|
+
// If a subsequent call to loadScriptReferenceFromTimeline is made while we're awaiting this one, we'll abort this one.
|
|
106
|
+
const promise = this._queryRenderTimelinePropsPromise = this.queryRenderTimelineProps(timelineId);
|
|
107
|
+
const timeline = await promise;
|
|
108
|
+
if (promise !== this._queryRenderTimelinePropsPromise)
|
|
109
|
+
return;
|
|
110
|
+
if (timeline) {
|
|
111
|
+
const scriptProps = JSON.parse(timeline.script);
|
|
112
|
+
const script = core_common_1.RenderSchedule.Script.fromJSON(scriptProps);
|
|
113
|
+
if (script)
|
|
114
|
+
newState = new core_common_1.RenderSchedule.ScriptReference(timelineId, script);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
catch (_) {
|
|
118
|
+
// schedule state is undefined.
|
|
110
119
|
}
|
|
111
|
-
}
|
|
112
|
-
catch (_) {
|
|
113
|
-
// schedule state is undefined.
|
|
114
120
|
}
|
|
115
121
|
this._queryRenderTimelinePropsPromise = undefined;
|
|
116
|
-
if (newState !== this.
|
|
117
|
-
this.onScheduleScriptReferenceChanged.raiseEvent(newState);
|
|
118
|
-
this.
|
|
122
|
+
if (newState !== this._scriptReference) {
|
|
123
|
+
this.onScheduleScriptReferenceChanged.raiseEvent(newState); // eslint-disable-line deprecation/deprecation
|
|
124
|
+
this.onScheduleScriptChanged.raiseEvent(newState === null || newState === void 0 ? void 0 : newState.script);
|
|
125
|
+
this._scriptReference = newState;
|
|
119
126
|
}
|
|
120
127
|
}
|
|
121
128
|
/** @internal */
|
|
@@ -214,14 +221,14 @@ class DisplayStyleState extends EntityState_1.ElementState {
|
|
|
214
221
|
/** The name of this DisplayStyle */
|
|
215
222
|
get name() { return this.code.value; }
|
|
216
223
|
/** Change the Id of the [RenderTimeline]($backend) element that hosts the [RenderSchedule.Script]($common) to be applied by this display style for
|
|
217
|
-
* animating the contents of the view, and update [[
|
|
224
|
+
* animating the contents of the view, and update [[scheduleScript]] using the script associated with the [RenderTimeline]($backend) element.
|
|
218
225
|
* @see [DisplayStyleSettings.renderTimeline]($common).
|
|
219
226
|
*/
|
|
220
227
|
async changeRenderTimeline(timelineId) {
|
|
221
228
|
// Potentially trigger async loading of new schedule state.
|
|
222
229
|
this.settings.renderTimeline = timelineId;
|
|
223
230
|
// Await async loading if necessary.
|
|
224
|
-
// Note the `await` in
|
|
231
|
+
// Note the `await` in loadScriptReferenceFromTimeline will resolve before this one [per the spec](https://262.ecma-international.org/6.0/#sec-triggerpromisereactions).
|
|
225
232
|
if (this._queryRenderTimelinePropsPromise)
|
|
226
233
|
await this._queryRenderTimelinePropsPromise;
|
|
227
234
|
}
|
|
@@ -230,30 +237,31 @@ class DisplayStyleState extends EntityState_1.ElementState {
|
|
|
230
237
|
*/
|
|
231
238
|
get scheduleScript() {
|
|
232
239
|
var _a;
|
|
233
|
-
return (_a = this.
|
|
240
|
+
return (_a = this._scriptReference) === null || _a === void 0 ? void 0 : _a.script;
|
|
241
|
+
}
|
|
242
|
+
set scheduleScript(script) {
|
|
243
|
+
if (script === this.scheduleScript)
|
|
244
|
+
return;
|
|
245
|
+
try {
|
|
246
|
+
const scriptRef = script ? new core_common_1.RenderSchedule.ScriptReference(script) : undefined;
|
|
247
|
+
this.onScheduleScriptReferenceChanged.raiseEvent(scriptRef); // eslint-disable-line deprecation/deprecation
|
|
248
|
+
this.onScheduleScriptChanged.raiseEvent(script);
|
|
249
|
+
this._scriptReference = scriptRef;
|
|
250
|
+
this._assigningScript = true;
|
|
251
|
+
this.settings.scheduleScriptProps = script === null || script === void 0 ? void 0 : script.toJSON();
|
|
252
|
+
if (!script)
|
|
253
|
+
this.loadScriptReferenceFromTimeline(this.settings.renderTimeline); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
254
|
+
}
|
|
255
|
+
finally {
|
|
256
|
+
this._assigningScript = false;
|
|
257
|
+
}
|
|
234
258
|
}
|
|
235
259
|
/** The [RenderSchedule.Script]($common) that animates the contents of the view, if any, along with the Id of the element that hosts the script.
|
|
236
260
|
* @note The host element may be a [RenderTimeline]($backend) or a [DisplayStyle]($backend).
|
|
237
|
-
* @
|
|
261
|
+
* @deprecated Use [[scheduleScript]].
|
|
238
262
|
*/
|
|
239
263
|
get scheduleScriptReference() {
|
|
240
|
-
return this.
|
|
241
|
-
}
|
|
242
|
-
/** @internal */
|
|
243
|
-
get scheduleState() {
|
|
244
|
-
return this._scheduleState;
|
|
245
|
-
}
|
|
246
|
-
/** This is only used by [RealityTransitionTool]($frontend-devtools). It basically can only work if the script contains nothing that requires special tiles to be generated -
|
|
247
|
-
* no symbology changes, transforms, or clipping - because the backend tile generator requires a *persistent* element to host the script for those features to work.
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
|
-
setScheduleState(state) {
|
|
251
|
-
if (state === this._scheduleState)
|
|
252
|
-
return;
|
|
253
|
-
this.onScheduleScriptReferenceChanged.raiseEvent(state);
|
|
254
|
-
this._scheduleState = state;
|
|
255
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
256
|
-
this.settings.scheduleScriptProps = state === null || state === void 0 ? void 0 : state.script.toJSON();
|
|
264
|
+
return this._scriptReference;
|
|
257
265
|
}
|
|
258
266
|
/** Attach a [ContextRealityModel]($common) to this display style.
|
|
259
267
|
* @see [DisplayStyleSettings.contextRealityModels]($common).
|
|
@@ -659,18 +667,25 @@ class DisplayStyleState extends EntityState_1.ElementState {
|
|
|
659
667
|
}
|
|
660
668
|
/** @internal */
|
|
661
669
|
registerSettingsEventListeners() {
|
|
662
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
663
670
|
this.settings.onScheduleScriptPropsChanged.addListener((scriptProps) => {
|
|
664
|
-
if (
|
|
665
|
-
|
|
671
|
+
if (this._assigningScript)
|
|
672
|
+
return;
|
|
673
|
+
try {
|
|
674
|
+
this._assigningScript = true;
|
|
675
|
+
if (scriptProps)
|
|
676
|
+
this.loadScriptReferenceFromScript(scriptProps);
|
|
677
|
+
else
|
|
678
|
+
this.loadScriptReferenceFromTimeline(this.settings.renderTimeline); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
679
|
+
}
|
|
680
|
+
finally {
|
|
681
|
+
this._assigningScript = false;
|
|
682
|
+
}
|
|
666
683
|
});
|
|
667
684
|
this.settings.onRenderTimelineChanged.addListener((newTimeline) => {
|
|
668
685
|
// Cancel any in-progress loading of script from timeline.
|
|
669
686
|
this._queryRenderTimelinePropsPromise = undefined;
|
|
670
|
-
if (
|
|
671
|
-
this.
|
|
672
|
-
else
|
|
673
|
-
this.loadScheduleStateFromScript(this.settings.scheduleScriptProps); // eslint-disable-line deprecation/deprecation
|
|
687
|
+
if (!this.settings.scheduleScriptProps)
|
|
688
|
+
this.loadScriptReferenceFromTimeline(newTimeline); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
674
689
|
});
|
|
675
690
|
this.settings.onPlanarClipMaskChanged.addListener((id, newSettings) => {
|
|
676
691
|
if (newSettings)
|