@smplrspace/smplr-loader 2.58.1-beta.9 → 2.59.0
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/generated/smplr.d.ts +301 -17
- package/package.json +1 -1
|
@@ -77,7 +77,10 @@ size: IMaybe<ISimpleType<number>>;
|
|
|
77
77
|
media: IMaybe<ISimpleType<string>>;
|
|
78
78
|
is360: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
79
79
|
direction: IMaybe<ISimpleType<number>>;
|
|
80
|
+
} & {
|
|
80
81
|
layers: IArrayType<ISimpleType<string>>;
|
|
82
|
+
} & {
|
|
83
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
81
84
|
}, {
|
|
82
85
|
readonly json: JsonAnnotation;
|
|
83
86
|
} & {
|
|
@@ -91,7 +94,14 @@ setMedia(url: string | undefined): void;
|
|
|
91
94
|
setIs360(is360: boolean): void;
|
|
92
95
|
setDirection(angle: number | undefined): void;
|
|
93
96
|
regenerateId(randomizer: string): void;
|
|
97
|
+
} & {
|
|
94
98
|
setLayers(layers: string[]): void;
|
|
99
|
+
} & {
|
|
100
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
101
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
102
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
103
|
+
removeExtrasEntry(key: string): void;
|
|
104
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
95
105
|
}, _NotCustomized, _NotCustomized>;
|
|
96
106
|
|
|
97
107
|
declare type AnnotationType = 'classic' | 'entrance';
|
|
@@ -483,6 +493,8 @@ height: number;
|
|
|
483
493
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
484
494
|
}, {}, _NotCustomized, _NotCustomized>;
|
|
485
495
|
|
|
496
|
+
declare type FeatureExtras = Record<string, JsonValue>;
|
|
497
|
+
|
|
486
498
|
declare interface Filter {
|
|
487
499
|
background: {
|
|
488
500
|
clearColor: string;
|
|
@@ -551,7 +563,8 @@ export declare interface Furniture {
|
|
|
551
563
|
dimensions: JsonObjectDimensions;
|
|
552
564
|
configuration?: object;
|
|
553
565
|
external?: boolean;
|
|
554
|
-
layers
|
|
566
|
+
layers: string[];
|
|
567
|
+
extras?: FeatureExtras;
|
|
555
568
|
}
|
|
556
569
|
|
|
557
570
|
export declare type FurnitureData = BaseData & {
|
|
@@ -775,7 +788,10 @@ removePoint(id: string): void;
|
|
|
775
788
|
} & {
|
|
776
789
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
777
790
|
}, _NotCustomized, _NotCustomized>>;
|
|
791
|
+
} & {
|
|
778
792
|
layers: IArrayType<ISimpleType<string>>;
|
|
793
|
+
} & {
|
|
794
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
779
795
|
}, {
|
|
780
796
|
readonly json: JsonGround;
|
|
781
797
|
} & {
|
|
@@ -791,7 +807,6 @@ segments: SOGroundSegment[];
|
|
|
791
807
|
}): void;
|
|
792
808
|
removeHole(holeId: string): void;
|
|
793
809
|
replaceSegments(segments: SIGroundSegment[]): void;
|
|
794
|
-
setLayers(layers: string[]): void;
|
|
795
810
|
} & {
|
|
796
811
|
readonly points: SOCanvasPoint[];
|
|
797
812
|
readonly geometry: SegmentGeometry;
|
|
@@ -804,6 +819,14 @@ close(): void;
|
|
|
804
819
|
removePoint(id: string): void;
|
|
805
820
|
} & {
|
|
806
821
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
822
|
+
} & {
|
|
823
|
+
setLayers(layers: string[]): void;
|
|
824
|
+
} & {
|
|
825
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
826
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
827
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
828
|
+
removeExtrasEntry(key: string): void;
|
|
829
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
807
830
|
}, _NotCustomized, _NotCustomized>;
|
|
808
831
|
|
|
809
832
|
declare type GroundFootprintGetter<C> = (args: {
|
|
@@ -1124,6 +1147,7 @@ declare interface JsonAnnotation {
|
|
|
1124
1147
|
is360: boolean;
|
|
1125
1148
|
direction?: number;
|
|
1126
1149
|
layers: string[];
|
|
1150
|
+
extras?: FeatureExtras;
|
|
1127
1151
|
}
|
|
1128
1152
|
|
|
1129
1153
|
declare interface JsonGround {
|
|
@@ -1134,6 +1158,7 @@ declare interface JsonGround {
|
|
|
1134
1158
|
segments: JsonAbstractSegment[];
|
|
1135
1159
|
holes: JsonHole[];
|
|
1136
1160
|
layers: string[];
|
|
1161
|
+
extras?: FeatureExtras;
|
|
1137
1162
|
}
|
|
1138
1163
|
|
|
1139
1164
|
declare interface JsonGroundOptions {
|
|
@@ -1177,6 +1202,7 @@ declare interface JsonRoof {
|
|
|
1177
1202
|
name: string;
|
|
1178
1203
|
options: SORoofOptions;
|
|
1179
1204
|
segments: SORoofSegment[];
|
|
1205
|
+
extras?: FeatureExtras;
|
|
1180
1206
|
}
|
|
1181
1207
|
|
|
1182
1208
|
declare interface JsonSpace {
|
|
@@ -1196,8 +1222,13 @@ declare interface JsonStair {
|
|
|
1196
1222
|
style: Style;
|
|
1197
1223
|
color: Color_2;
|
|
1198
1224
|
layers: string[];
|
|
1225
|
+
extras?: FeatureExtras;
|
|
1199
1226
|
}
|
|
1200
1227
|
|
|
1228
|
+
declare type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
1229
|
+
[key: string]: JsonValue;
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1201
1232
|
declare interface JsonWall {
|
|
1202
1233
|
id: string;
|
|
1203
1234
|
type: 'wall';
|
|
@@ -1205,6 +1236,7 @@ declare interface JsonWall {
|
|
|
1205
1236
|
options: JsonWallOptions;
|
|
1206
1237
|
segments: JsonWallSegment[];
|
|
1207
1238
|
layers: string[];
|
|
1239
|
+
extras?: FeatureExtras;
|
|
1208
1240
|
}
|
|
1209
1241
|
|
|
1210
1242
|
declare interface JsonWallOpening {
|
|
@@ -1215,6 +1247,7 @@ declare interface JsonWallOpening {
|
|
|
1215
1247
|
position?: JsonWallOpeningPosition;
|
|
1216
1248
|
options: SOWallOpeningOptions;
|
|
1217
1249
|
layers: string[];
|
|
1250
|
+
extras?: FeatureExtras;
|
|
1218
1251
|
}
|
|
1219
1252
|
|
|
1220
1253
|
declare interface JsonWallOpeningDimensions {
|
|
@@ -1404,7 +1437,10 @@ removePoint(id: string): void;
|
|
|
1404
1437
|
} & {
|
|
1405
1438
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1406
1439
|
}, _NotCustomized, _NotCustomized>>;
|
|
1440
|
+
} & {
|
|
1407
1441
|
layers: IArrayType<ISimpleType<string>>;
|
|
1442
|
+
} & {
|
|
1443
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1408
1444
|
}, {
|
|
1409
1445
|
readonly json: JsonGround;
|
|
1410
1446
|
} & {
|
|
@@ -1420,7 +1456,6 @@ segments: SOGroundSegment[];
|
|
|
1420
1456
|
}) | undefined): void;
|
|
1421
1457
|
removeHole(holeId: string): void;
|
|
1422
1458
|
replaceSegments(segments: SIGroundSegment[]): void;
|
|
1423
|
-
setLayers(layers: string[]): void;
|
|
1424
1459
|
} & {
|
|
1425
1460
|
readonly points: SOCanvasPoint[];
|
|
1426
1461
|
readonly geometry: SegmentGeometry;
|
|
@@ -1433,6 +1468,14 @@ close(): void;
|
|
|
1433
1468
|
removePoint(id: string): void;
|
|
1434
1469
|
} & {
|
|
1435
1470
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1471
|
+
} & {
|
|
1472
|
+
setLayers(layers: string[]): void;
|
|
1473
|
+
} & {
|
|
1474
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1475
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1476
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1477
|
+
removeExtrasEntry(key: string): void;
|
|
1478
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1436
1479
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
1437
1480
|
walls: IOptionalIType<IArrayType<IModelType< {
|
|
1438
1481
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -1531,7 +1574,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
1531
1574
|
} & {
|
|
1532
1575
|
setOpenFrom(openFrom: string): void;
|
|
1533
1576
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1577
|
+
} & {
|
|
1534
1578
|
layers: IArrayType<ISimpleType<string>>;
|
|
1579
|
+
} & {
|
|
1580
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1535
1581
|
}, {
|
|
1536
1582
|
readonly json: JsonWallOpening;
|
|
1537
1583
|
readonly segment: IWallSegment;
|
|
@@ -1552,10 +1598,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
1552
1598
|
moveTo(position: SIWallOpeningPosition): void;
|
|
1553
1599
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
1554
1600
|
remove(): void;
|
|
1555
|
-
setLayers(layers: string[]): void;
|
|
1556
1601
|
} & {
|
|
1557
1602
|
expandToFullSegment(): void;
|
|
1558
1603
|
addToAllSegmentsInWall(): void;
|
|
1604
|
+
} & {
|
|
1605
|
+
setLayers(layers: string[]): void;
|
|
1606
|
+
} & {
|
|
1607
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1608
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1609
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1610
|
+
removeExtrasEntry(key: string): void;
|
|
1611
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1559
1612
|
}, _NotCustomized, _NotCustomized>>;
|
|
1560
1613
|
}, {
|
|
1561
1614
|
readonly superJson: JsonAbstractSegment;
|
|
@@ -1569,7 +1622,10 @@ addOpening(opening: SIWallOpening): void;
|
|
|
1569
1622
|
removeOpening(id: string): void;
|
|
1570
1623
|
regenerateIds(randomizer: string): void;
|
|
1571
1624
|
}, _NotCustomized, _NotCustomized>>;
|
|
1625
|
+
} & {
|
|
1572
1626
|
layers: IArrayType<ISimpleType<string>>;
|
|
1627
|
+
} & {
|
|
1628
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1573
1629
|
}, {
|
|
1574
1630
|
readonly json: JsonWall;
|
|
1575
1631
|
} & {
|
|
@@ -1581,7 +1637,6 @@ regenerateIds(randomizer: string): void;
|
|
|
1581
1637
|
} & {
|
|
1582
1638
|
rename(name: string): void;
|
|
1583
1639
|
ensureName(): void;
|
|
1584
|
-
setLayers(layers: string[]): void;
|
|
1585
1640
|
splitWallAtPoint({ pointId }: {
|
|
1586
1641
|
pointId: string;
|
|
1587
1642
|
}): void;
|
|
@@ -1597,6 +1652,14 @@ close(): void;
|
|
|
1597
1652
|
removePoint(id: string): void;
|
|
1598
1653
|
} & {
|
|
1599
1654
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1655
|
+
} & {
|
|
1656
|
+
setLayers(layers: string[]): void;
|
|
1657
|
+
} & {
|
|
1658
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1659
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1660
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1661
|
+
removeExtrasEntry(key: string): void;
|
|
1662
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1600
1663
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
1601
1664
|
roofs: IOptionalIType<IArrayType<IModelType< {
|
|
1602
1665
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -1642,6 +1705,8 @@ readonly centerPoint: SOCanvasPoint;
|
|
|
1642
1705
|
} & {
|
|
1643
1706
|
regenerateIds(randomizer: string): void;
|
|
1644
1707
|
}, _NotCustomized, _NotCustomized>>;
|
|
1708
|
+
} & {
|
|
1709
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1645
1710
|
}, {
|
|
1646
1711
|
readonly json: JsonRoof;
|
|
1647
1712
|
} & {
|
|
@@ -1665,6 +1730,12 @@ close(): void;
|
|
|
1665
1730
|
removePoint(id: string): void;
|
|
1666
1731
|
} & {
|
|
1667
1732
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1733
|
+
} & {
|
|
1734
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1735
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1736
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1737
|
+
removeExtrasEntry(key: string): void;
|
|
1738
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1668
1739
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
1669
1740
|
stairs: IArrayType<IModelType< {
|
|
1670
1741
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -1693,7 +1764,10 @@ baseHeight: IMaybe<ISimpleType<number>>;
|
|
|
1693
1764
|
height: IMaybe<ISimpleType<number>>;
|
|
1694
1765
|
style: IOptionalIType<ISimpleType<"slope" | "thin" | "thick" | "block">, [undefined]>;
|
|
1695
1766
|
color: IOptionalIType<ISimpleType<"white" | "grey" | "darkgrey">, [undefined]>;
|
|
1767
|
+
} & {
|
|
1696
1768
|
layers: IArrayType<ISimpleType<string>>;
|
|
1769
|
+
} & {
|
|
1770
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1697
1771
|
}, {
|
|
1698
1772
|
readonly json: JsonStair;
|
|
1699
1773
|
} & {
|
|
@@ -1709,7 +1783,14 @@ dt: number;
|
|
|
1709
1783
|
}): void;
|
|
1710
1784
|
remove(): void;
|
|
1711
1785
|
regenerateIds(randomizer: string): void;
|
|
1786
|
+
} & {
|
|
1712
1787
|
setLayers(layers: string[]): void;
|
|
1788
|
+
} & {
|
|
1789
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1790
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1791
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1792
|
+
removeExtrasEntry(key: string): void;
|
|
1793
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1713
1794
|
}, _NotCustomized, _NotCustomized>>;
|
|
1714
1795
|
annotations: IArrayType<IModelType< {
|
|
1715
1796
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -1722,7 +1803,10 @@ size: IMaybe<ISimpleType<number>>;
|
|
|
1722
1803
|
media: IMaybe<ISimpleType<string>>;
|
|
1723
1804
|
is360: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1724
1805
|
direction: IMaybe<ISimpleType<number>>;
|
|
1806
|
+
} & {
|
|
1725
1807
|
layers: IArrayType<ISimpleType<string>>;
|
|
1808
|
+
} & {
|
|
1809
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1726
1810
|
}, {
|
|
1727
1811
|
readonly json: JsonAnnotation;
|
|
1728
1812
|
} & {
|
|
@@ -1736,7 +1820,14 @@ setMedia(url: string | undefined): void;
|
|
|
1736
1820
|
setIs360(is360: boolean): void;
|
|
1737
1821
|
setDirection(angle: number | undefined): void;
|
|
1738
1822
|
regenerateId(randomizer: string): void;
|
|
1823
|
+
} & {
|
|
1739
1824
|
setLayers(layers: string[]): void;
|
|
1825
|
+
} & {
|
|
1826
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1827
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1828
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1829
|
+
removeExtrasEntry(key: string): void;
|
|
1830
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1740
1831
|
}, _NotCustomized, _NotCustomized>>;
|
|
1741
1832
|
objects: IArrayType<IModelType< {
|
|
1742
1833
|
catalogId: ISimpleType<string>;
|
|
@@ -1770,7 +1861,10 @@ height: number;
|
|
|
1770
1861
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1771
1862
|
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
1772
1863
|
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1864
|
+
} & {
|
|
1773
1865
|
layers: IArrayType<ISimpleType<string>>;
|
|
1866
|
+
} & {
|
|
1867
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1774
1868
|
}, {
|
|
1775
1869
|
readonly json: Furniture;
|
|
1776
1870
|
} & {
|
|
@@ -1783,9 +1877,16 @@ configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
|
1783
1877
|
remove(): void;
|
|
1784
1878
|
regenerateId(randomizer: string): void;
|
|
1785
1879
|
setExternal(external: boolean): void;
|
|
1786
|
-
setLayers(layers: string[]): void;
|
|
1787
1880
|
} & {
|
|
1788
1881
|
resizeAndMoveTo(dimensions: Partial<SIObjectDimensions>, position: Partial<SILevelCoord3d>): void;
|
|
1882
|
+
} & {
|
|
1883
|
+
setLayers(layers: string[]): void;
|
|
1884
|
+
} & {
|
|
1885
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
1886
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
1887
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1888
|
+
removeExtrasEntry(key: string): void;
|
|
1889
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1789
1890
|
}, _NotCustomized, _NotCustomized>>;
|
|
1790
1891
|
floorplan: IOptionalIType<IModelType< {
|
|
1791
1892
|
url: IMaybe<ISimpleType<string>>;
|
|
@@ -1841,6 +1942,7 @@ removeAllGrounds(): void;
|
|
|
1841
1942
|
newWall(wall?: Omit<SIWall, 'segments'> & {
|
|
1842
1943
|
segments: SOAbstractSegment[] | SOWallSegment[];
|
|
1843
1944
|
}): void;
|
|
1945
|
+
addWalls(walls: SIWall[]): void;
|
|
1844
1946
|
removeWall(id: string): void;
|
|
1845
1947
|
removeAllWalls(): void;
|
|
1846
1948
|
newRoof(): void;
|
|
@@ -1865,6 +1967,9 @@ options: JsonWallOptions;
|
|
|
1865
1967
|
layers: string[];
|
|
1866
1968
|
}): void;
|
|
1867
1969
|
clear(): void;
|
|
1970
|
+
removeDeskCluster(clusterId: string): void;
|
|
1971
|
+
removeSeminarSeatingCluster(clusterId: string): void;
|
|
1972
|
+
removeParkingCluster(clusterId: string): void;
|
|
1868
1973
|
}, _NotCustomized, _NotCustomized>;
|
|
1869
1974
|
|
|
1870
1975
|
declare const LevelCoord3d: IModelType< {
|
|
@@ -2041,7 +2146,7 @@ declare interface Material {
|
|
|
2041
2146
|
}
|
|
2042
2147
|
|
|
2043
2148
|
declare interface MeshSmplrData {
|
|
2044
|
-
type:
|
|
2149
|
+
type: MeshType;
|
|
2045
2150
|
isInstanciated?: boolean;
|
|
2046
2151
|
instances?: Instance_2[] | null;
|
|
2047
2152
|
modelDimensions?: Dimensions;
|
|
@@ -2070,6 +2175,27 @@ declare interface MeshSmplrData {
|
|
|
2070
2175
|
panelIndex?: number;
|
|
2071
2176
|
}
|
|
2072
2177
|
|
|
2178
|
+
declare enum MeshType {
|
|
2179
|
+
Wall = "wall",
|
|
2180
|
+
Ground = "ground",
|
|
2181
|
+
Window = "window",
|
|
2182
|
+
WindowFrame = "window-frame",
|
|
2183
|
+
Door = "door",
|
|
2184
|
+
DoorFrame = "door-frame",
|
|
2185
|
+
SlidingDoorPanel = "sliding-door-panel",
|
|
2186
|
+
SlidingDoorPanelFrame = "sliding-door-panel-frame",
|
|
2187
|
+
Railing = "railing",
|
|
2188
|
+
Roof = "roof",
|
|
2189
|
+
Stairs = "stairs",
|
|
2190
|
+
Annotation = "annotation",
|
|
2191
|
+
Compass = "compass",
|
|
2192
|
+
Facade = "facade",
|
|
2193
|
+
Floorplan = "floorplan",
|
|
2194
|
+
Object = "object",
|
|
2195
|
+
ObjectPlaceholder = "object-placeholder",
|
|
2196
|
+
DataLayer = "data-layer"
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2073
2199
|
export declare type NoData = Record<string, never>;
|
|
2074
2200
|
|
|
2075
2201
|
declare type NominalDimensionsGetter<C> = (args: {
|
|
@@ -2188,7 +2314,10 @@ height: number;
|
|
|
2188
2314
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
2189
2315
|
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
2190
2316
|
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2317
|
+
} & {
|
|
2191
2318
|
layers: IArrayType<ISimpleType<string>>;
|
|
2319
|
+
} & {
|
|
2320
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
2192
2321
|
}, {
|
|
2193
2322
|
readonly json: Furniture;
|
|
2194
2323
|
} & {
|
|
@@ -2201,9 +2330,16 @@ configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
|
2201
2330
|
remove(): void;
|
|
2202
2331
|
regenerateId(randomizer: string): void;
|
|
2203
2332
|
setExternal(external: boolean): void;
|
|
2204
|
-
setLayers(layers: string[]): void;
|
|
2205
2333
|
} & {
|
|
2206
2334
|
resizeAndMoveTo(dimensions: Partial<SIObjectDimensions>, position: Partial<SILevelCoord3d>): void;
|
|
2335
|
+
} & {
|
|
2336
|
+
setLayers(layers: string[]): void;
|
|
2337
|
+
} & {
|
|
2338
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
2339
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
2340
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
2341
|
+
removeExtrasEntry(key: string): void;
|
|
2342
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
2207
2343
|
}, _NotCustomized, _NotCustomized>;
|
|
2208
2344
|
|
|
2209
2345
|
declare const ObjectDimensions: IModelType< {
|
|
@@ -2247,6 +2383,7 @@ export declare interface Opening {
|
|
|
2247
2383
|
};
|
|
2248
2384
|
options: SOWallOpeningOptions;
|
|
2249
2385
|
coordinates: SmplrCoord3d[];
|
|
2386
|
+
extras?: FeatureExtras;
|
|
2250
2387
|
wallId: string;
|
|
2251
2388
|
}
|
|
2252
2389
|
|
|
@@ -2643,10 +2780,19 @@ export declare class QueryClient {
|
|
|
2643
2780
|
listSpaces(options?: {
|
|
2644
2781
|
organizationId?: string;
|
|
2645
2782
|
tagged?: string[];
|
|
2783
|
+
projects?: string[];
|
|
2784
|
+
unit?: 'sqm' | 'sqft';
|
|
2785
|
+
includeLevelBreakdown?: boolean;
|
|
2646
2786
|
}): Promise<{
|
|
2787
|
+
area: number;
|
|
2647
2788
|
sid: string;
|
|
2648
2789
|
status: string;
|
|
2790
|
+
levels?: {
|
|
2791
|
+
area: number;
|
|
2792
|
+
name: string;
|
|
2793
|
+
}[] | undefined;
|
|
2649
2794
|
projects: {
|
|
2795
|
+
name: string;
|
|
2650
2796
|
project_sid: string;
|
|
2651
2797
|
}[];
|
|
2652
2798
|
name: string;
|
|
@@ -3018,6 +3164,8 @@ readonly centerPoint: SOCanvasPoint;
|
|
|
3018
3164
|
} & {
|
|
3019
3165
|
regenerateIds(randomizer: string): void;
|
|
3020
3166
|
}, _NotCustomized, _NotCustomized>>;
|
|
3167
|
+
} & {
|
|
3168
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3021
3169
|
}, {
|
|
3022
3170
|
readonly json: JsonRoof;
|
|
3023
3171
|
} & {
|
|
@@ -3041,6 +3189,12 @@ close(): void;
|
|
|
3041
3189
|
removePoint(id: string): void;
|
|
3042
3190
|
} & {
|
|
3043
3191
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3192
|
+
} & {
|
|
3193
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
3194
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
3195
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3196
|
+
removeExtrasEntry(key: string): void;
|
|
3197
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3044
3198
|
}, _NotCustomized, _NotCustomized>;
|
|
3045
3199
|
|
|
3046
3200
|
declare const RoofOptions: IModelType< {
|
|
@@ -3503,7 +3657,10 @@ removePoint(id: string): void;
|
|
|
3503
3657
|
} & {
|
|
3504
3658
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3505
3659
|
}, _NotCustomized, _NotCustomized>>;
|
|
3660
|
+
} & {
|
|
3506
3661
|
layers: IArrayType<ISimpleType<string>>;
|
|
3662
|
+
} & {
|
|
3663
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3507
3664
|
}, {
|
|
3508
3665
|
readonly json: JsonGround;
|
|
3509
3666
|
} & {
|
|
@@ -3519,7 +3676,6 @@ segments: SOGroundSegment[];
|
|
|
3519
3676
|
}) | undefined): void;
|
|
3520
3677
|
removeHole(holeId: string): void;
|
|
3521
3678
|
replaceSegments(segments: SIGroundSegment[]): void;
|
|
3522
|
-
setLayers(layers: string[]): void;
|
|
3523
3679
|
} & {
|
|
3524
3680
|
readonly points: SOCanvasPoint[];
|
|
3525
3681
|
readonly geometry: SegmentGeometry;
|
|
@@ -3532,6 +3688,14 @@ close(): void;
|
|
|
3532
3688
|
removePoint(id: string): void;
|
|
3533
3689
|
} & {
|
|
3534
3690
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3691
|
+
} & {
|
|
3692
|
+
setLayers(layers: string[]): void;
|
|
3693
|
+
} & {
|
|
3694
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
3695
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
3696
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3697
|
+
removeExtrasEntry(key: string): void;
|
|
3698
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3535
3699
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3536
3700
|
walls: IOptionalIType<IArrayType<IModelType< {
|
|
3537
3701
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3630,7 +3794,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
3630
3794
|
} & {
|
|
3631
3795
|
setOpenFrom(openFrom: string): void;
|
|
3632
3796
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3797
|
+
} & {
|
|
3633
3798
|
layers: IArrayType<ISimpleType<string>>;
|
|
3799
|
+
} & {
|
|
3800
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3634
3801
|
}, {
|
|
3635
3802
|
readonly json: JsonWallOpening;
|
|
3636
3803
|
readonly segment: IWallSegment;
|
|
@@ -3651,10 +3818,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
3651
3818
|
moveTo(position: SIWallOpeningPosition): void;
|
|
3652
3819
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
3653
3820
|
remove(): void;
|
|
3654
|
-
setLayers(layers: string[]): void;
|
|
3655
3821
|
} & {
|
|
3656
3822
|
expandToFullSegment(): void;
|
|
3657
3823
|
addToAllSegmentsInWall(): void;
|
|
3824
|
+
} & {
|
|
3825
|
+
setLayers(layers: string[]): void;
|
|
3826
|
+
} & {
|
|
3827
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
3828
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
3829
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3830
|
+
removeExtrasEntry(key: string): void;
|
|
3831
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3658
3832
|
}, _NotCustomized, _NotCustomized>>;
|
|
3659
3833
|
}, {
|
|
3660
3834
|
readonly superJson: JsonAbstractSegment;
|
|
@@ -3668,7 +3842,10 @@ addOpening(opening: SIWallOpening): void;
|
|
|
3668
3842
|
removeOpening(id: string): void;
|
|
3669
3843
|
regenerateIds(randomizer: string): void;
|
|
3670
3844
|
}, _NotCustomized, _NotCustomized>>;
|
|
3845
|
+
} & {
|
|
3671
3846
|
layers: IArrayType<ISimpleType<string>>;
|
|
3847
|
+
} & {
|
|
3848
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3672
3849
|
}, {
|
|
3673
3850
|
readonly json: JsonWall;
|
|
3674
3851
|
} & {
|
|
@@ -3680,7 +3857,6 @@ regenerateIds(randomizer: string): void;
|
|
|
3680
3857
|
} & {
|
|
3681
3858
|
rename(name: string): void;
|
|
3682
3859
|
ensureName(): void;
|
|
3683
|
-
setLayers(layers: string[]): void;
|
|
3684
3860
|
splitWallAtPoint({ pointId }: {
|
|
3685
3861
|
pointId: string;
|
|
3686
3862
|
}): void;
|
|
@@ -3696,6 +3872,14 @@ close(): void;
|
|
|
3696
3872
|
removePoint(id: string): void;
|
|
3697
3873
|
} & {
|
|
3698
3874
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3875
|
+
} & {
|
|
3876
|
+
setLayers(layers: string[]): void;
|
|
3877
|
+
} & {
|
|
3878
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
3879
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
3880
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3881
|
+
removeExtrasEntry(key: string): void;
|
|
3882
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3699
3883
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3700
3884
|
roofs: IOptionalIType<IArrayType<IModelType< {
|
|
3701
3885
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3741,6 +3925,8 @@ readonly centerPoint: SOCanvasPoint;
|
|
|
3741
3925
|
} & {
|
|
3742
3926
|
regenerateIds(randomizer: string): void;
|
|
3743
3927
|
}, _NotCustomized, _NotCustomized>>;
|
|
3928
|
+
} & {
|
|
3929
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3744
3930
|
}, {
|
|
3745
3931
|
readonly json: JsonRoof;
|
|
3746
3932
|
} & {
|
|
@@ -3764,6 +3950,12 @@ close(): void;
|
|
|
3764
3950
|
removePoint(id: string): void;
|
|
3765
3951
|
} & {
|
|
3766
3952
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3953
|
+
} & {
|
|
3954
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
3955
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
3956
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3957
|
+
removeExtrasEntry(key: string): void;
|
|
3958
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3767
3959
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3768
3960
|
stairs: IArrayType<IModelType< {
|
|
3769
3961
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3792,7 +3984,10 @@ baseHeight: IMaybe<ISimpleType<number>>;
|
|
|
3792
3984
|
height: IMaybe<ISimpleType<number>>;
|
|
3793
3985
|
style: IOptionalIType<ISimpleType<"slope" | "thin" | "thick" | "block">, [undefined]>;
|
|
3794
3986
|
color: IOptionalIType<ISimpleType<"white" | "grey" | "darkgrey">, [undefined]>;
|
|
3987
|
+
} & {
|
|
3795
3988
|
layers: IArrayType<ISimpleType<string>>;
|
|
3989
|
+
} & {
|
|
3990
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3796
3991
|
}, {
|
|
3797
3992
|
readonly json: JsonStair;
|
|
3798
3993
|
} & {
|
|
@@ -3808,7 +4003,14 @@ dt: number;
|
|
|
3808
4003
|
}): void;
|
|
3809
4004
|
remove(): void;
|
|
3810
4005
|
regenerateIds(randomizer: string): void;
|
|
4006
|
+
} & {
|
|
3811
4007
|
setLayers(layers: string[]): void;
|
|
4008
|
+
} & {
|
|
4009
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
4010
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
4011
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4012
|
+
removeExtrasEntry(key: string): void;
|
|
4013
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3812
4014
|
}, _NotCustomized, _NotCustomized>>;
|
|
3813
4015
|
annotations: IArrayType<IModelType< {
|
|
3814
4016
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3821,7 +4023,10 @@ size: IMaybe<ISimpleType<number>>;
|
|
|
3821
4023
|
media: IMaybe<ISimpleType<string>>;
|
|
3822
4024
|
is360: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3823
4025
|
direction: IMaybe<ISimpleType<number>>;
|
|
4026
|
+
} & {
|
|
3824
4027
|
layers: IArrayType<ISimpleType<string>>;
|
|
4028
|
+
} & {
|
|
4029
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3825
4030
|
}, {
|
|
3826
4031
|
readonly json: JsonAnnotation;
|
|
3827
4032
|
} & {
|
|
@@ -3835,7 +4040,14 @@ setMedia(url: string | undefined): void;
|
|
|
3835
4040
|
setIs360(is360: boolean): void;
|
|
3836
4041
|
setDirection(angle: number | undefined): void;
|
|
3837
4042
|
regenerateId(randomizer: string): void;
|
|
4043
|
+
} & {
|
|
3838
4044
|
setLayers(layers: string[]): void;
|
|
4045
|
+
} & {
|
|
4046
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
4047
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
4048
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4049
|
+
removeExtrasEntry(key: string): void;
|
|
4050
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3839
4051
|
}, _NotCustomized, _NotCustomized>>;
|
|
3840
4052
|
objects: IArrayType<IModelType< {
|
|
3841
4053
|
catalogId: ISimpleType<string>;
|
|
@@ -3869,7 +4081,10 @@ height: number;
|
|
|
3869
4081
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3870
4082
|
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
3871
4083
|
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4084
|
+
} & {
|
|
3872
4085
|
layers: IArrayType<ISimpleType<string>>;
|
|
4086
|
+
} & {
|
|
4087
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3873
4088
|
}, {
|
|
3874
4089
|
readonly json: Furniture;
|
|
3875
4090
|
} & {
|
|
@@ -3882,9 +4097,16 @@ configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
|
3882
4097
|
remove(): void;
|
|
3883
4098
|
regenerateId(randomizer: string): void;
|
|
3884
4099
|
setExternal(external: boolean): void;
|
|
3885
|
-
setLayers(layers: string[]): void;
|
|
3886
4100
|
} & {
|
|
3887
4101
|
resizeAndMoveTo(dimensions: Partial<SIObjectDimensions>, position: Partial<SILevelCoord3d>): void;
|
|
4102
|
+
} & {
|
|
4103
|
+
setLayers(layers: string[]): void;
|
|
4104
|
+
} & {
|
|
4105
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
4106
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
4107
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4108
|
+
removeExtrasEntry(key: string): void;
|
|
4109
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3888
4110
|
}, _NotCustomized, _NotCustomized>>;
|
|
3889
4111
|
floorplan: IOptionalIType<IModelType< {
|
|
3890
4112
|
url: IMaybe<ISimpleType<string>>;
|
|
@@ -3940,6 +4162,7 @@ removeAllGrounds(): void;
|
|
|
3940
4162
|
newWall(wall?: (Omit<SIWall, "segments"> & {
|
|
3941
4163
|
segments: SOAbstractSegment[] | SOWallSegment[];
|
|
3942
4164
|
}) | undefined): void;
|
|
4165
|
+
addWalls(walls: SIWall[]): void;
|
|
3943
4166
|
removeWall(id: string): void;
|
|
3944
4167
|
removeAllWalls(): void;
|
|
3945
4168
|
newRoof(): void;
|
|
@@ -3964,6 +4187,9 @@ options: JsonWallOptions;
|
|
|
3964
4187
|
layers: string[];
|
|
3965
4188
|
}): void;
|
|
3966
4189
|
clear(): void;
|
|
4190
|
+
removeDeskCluster(clusterId: string): void;
|
|
4191
|
+
removeSeminarSeatingCluster(clusterId: string): void;
|
|
4192
|
+
removeParkingCluster(clusterId: string): void;
|
|
3967
4193
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3968
4194
|
compassDirection: IMaybe<ISimpleType<number>>;
|
|
3969
4195
|
facade: IMaybe<IModelType< {
|
|
@@ -4256,6 +4482,7 @@ export declare interface SpaceViewerOptions {
|
|
|
4256
4482
|
includeLevels?: number[];
|
|
4257
4483
|
topShownLevel?: number;
|
|
4258
4484
|
onReady?: () => void;
|
|
4485
|
+
onPartialRenderReady?: () => void;
|
|
4259
4486
|
onError?: (errorMessage: string) => void;
|
|
4260
4487
|
onResize?: (containerRect: DOMRect) => void;
|
|
4261
4488
|
onVisibleLevelsChanged?: (visibleLevels: number[]) => void;
|
|
@@ -4263,6 +4490,11 @@ export declare interface SpaceViewerOptions {
|
|
|
4263
4490
|
onModeChange?: (mode: CameraMode) => void;
|
|
4264
4491
|
loadingMessage?: string;
|
|
4265
4492
|
renderingMessage?: string;
|
|
4493
|
+
disableFacadeMode?: boolean;
|
|
4494
|
+
/**
|
|
4495
|
+
* @deprecated Use `disableFacadeMode` instead. This option will be removed in smplr v3.
|
|
4496
|
+
* `true` maps to `disableFacadeMode: false` (facade on). `false` maps to `disableFacadeMode: true` (facade off).
|
|
4497
|
+
*/
|
|
4266
4498
|
experimentalFacadeBasedPerformance?: boolean;
|
|
4267
4499
|
protectScroll?: boolean;
|
|
4268
4500
|
webGpuOptIn?: boolean;
|
|
@@ -4308,7 +4540,10 @@ baseHeight: IMaybe<ISimpleType<number>>;
|
|
|
4308
4540
|
height: IMaybe<ISimpleType<number>>;
|
|
4309
4541
|
style: IOptionalIType<ISimpleType<Style>, [undefined]>;
|
|
4310
4542
|
color: IOptionalIType<ISimpleType<Color_2>, [undefined]>;
|
|
4543
|
+
} & {
|
|
4311
4544
|
layers: IArrayType<ISimpleType<string>>;
|
|
4545
|
+
} & {
|
|
4546
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
4312
4547
|
}, {
|
|
4313
4548
|
readonly json: JsonStair;
|
|
4314
4549
|
} & {
|
|
@@ -4324,7 +4559,14 @@ dt: number;
|
|
|
4324
4559
|
}): void;
|
|
4325
4560
|
remove(): void;
|
|
4326
4561
|
regenerateIds(randomizer: string): void;
|
|
4562
|
+
} & {
|
|
4327
4563
|
setLayers(layers: string[]): void;
|
|
4564
|
+
} & {
|
|
4565
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
4566
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
4567
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4568
|
+
removeExtrasEntry(key: string): void;
|
|
4569
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
4328
4570
|
}, _NotCustomized, _NotCustomized>;
|
|
4329
4571
|
|
|
4330
4572
|
declare type Style = 'slope' | 'thin' | 'thick' | 'block';
|
|
@@ -4444,7 +4686,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
4444
4686
|
z: number;
|
|
4445
4687
|
}
|
|
4446
4688
|
|
|
4447
|
-
export declare const version = "2.
|
|
4689
|
+
export declare const version = "2.59.0";
|
|
4448
4690
|
|
|
4449
4691
|
declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
|
|
4450
4692
|
definition: Definition;
|
|
@@ -4894,6 +5136,7 @@ objectsRendered: boolean;
|
|
|
4894
5136
|
sceneReadySent: boolean;
|
|
4895
5137
|
handledEngineError: boolean;
|
|
4896
5138
|
logoLoaderHidden: boolean;
|
|
5139
|
+
renderLoaderFlag: boolean;
|
|
4897
5140
|
renderDoneTick: number;
|
|
4898
5141
|
sceneEnvironmentTick: number;
|
|
4899
5142
|
objectMeshesTick: number;
|
|
@@ -4996,6 +5239,7 @@ setAssetsManager(assetsManager: AssetsManager | null): void;
|
|
|
4996
5239
|
setFacadeAssetsManager(facadeAssetsManager: AssetsManager | null): void;
|
|
4997
5240
|
setActionManager(actionManager: ActionManager): void;
|
|
4998
5241
|
markRenderDone(phase: RenderPhase): void;
|
|
5242
|
+
setRenderLoaderFlag(v: boolean): void;
|
|
4999
5243
|
resetRenderPhase(phase: RenderPhase): void;
|
|
5000
5244
|
markEngineErrorHandled(): void;
|
|
5001
5245
|
markLogoLoaderHidden(): void;
|
|
@@ -5119,7 +5363,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
5119
5363
|
} & {
|
|
5120
5364
|
setOpenFrom(openFrom: string): void;
|
|
5121
5365
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5366
|
+
} & {
|
|
5122
5367
|
layers: IArrayType<ISimpleType<string>>;
|
|
5368
|
+
} & {
|
|
5369
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5123
5370
|
}, {
|
|
5124
5371
|
readonly json: JsonWallOpening;
|
|
5125
5372
|
readonly segment: IWallSegment;
|
|
@@ -5140,10 +5387,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
5140
5387
|
moveTo(position: SIWallOpeningPosition): void;
|
|
5141
5388
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
5142
5389
|
remove(): void;
|
|
5143
|
-
setLayers(layers: string[]): void;
|
|
5144
5390
|
} & {
|
|
5145
5391
|
expandToFullSegment(): void;
|
|
5146
5392
|
addToAllSegmentsInWall(): void;
|
|
5393
|
+
} & {
|
|
5394
|
+
setLayers(layers: string[]): void;
|
|
5395
|
+
} & {
|
|
5396
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
5397
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
5398
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5399
|
+
removeExtrasEntry(key: string): void;
|
|
5400
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5147
5401
|
}, _NotCustomized, _NotCustomized>>;
|
|
5148
5402
|
}, {
|
|
5149
5403
|
readonly superJson: JsonAbstractSegment;
|
|
@@ -5157,7 +5411,10 @@ addOpening(opening: SIWallOpening): void;
|
|
|
5157
5411
|
removeOpening(id: string): void;
|
|
5158
5412
|
regenerateIds(randomizer: string): void;
|
|
5159
5413
|
}, _NotCustomized, _NotCustomized>>;
|
|
5414
|
+
} & {
|
|
5160
5415
|
layers: IArrayType<ISimpleType<string>>;
|
|
5416
|
+
} & {
|
|
5417
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5161
5418
|
}, {
|
|
5162
5419
|
readonly json: JsonWall;
|
|
5163
5420
|
} & {
|
|
@@ -5169,7 +5426,6 @@ regenerateIds(randomizer: string): void;
|
|
|
5169
5426
|
} & {
|
|
5170
5427
|
rename(name: string): void;
|
|
5171
5428
|
ensureName(): void;
|
|
5172
|
-
setLayers(layers: string[]): void;
|
|
5173
5429
|
splitWallAtPoint({ pointId }: {
|
|
5174
5430
|
pointId: string;
|
|
5175
5431
|
}): void;
|
|
@@ -5185,6 +5441,14 @@ close(): void;
|
|
|
5185
5441
|
removePoint(id: string): void;
|
|
5186
5442
|
} & {
|
|
5187
5443
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
5444
|
+
} & {
|
|
5445
|
+
setLayers(layers: string[]): void;
|
|
5446
|
+
} & {
|
|
5447
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
5448
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
5449
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5450
|
+
removeExtrasEntry(key: string): void;
|
|
5451
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5188
5452
|
}, _NotCustomized, _NotCustomized>;
|
|
5189
5453
|
|
|
5190
5454
|
declare const WallOpening: IModelType< {
|
|
@@ -5240,7 +5504,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
5240
5504
|
} & {
|
|
5241
5505
|
setOpenFrom(openFrom: string): void;
|
|
5242
5506
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5507
|
+
} & {
|
|
5243
5508
|
layers: IArrayType<ISimpleType<string>>;
|
|
5509
|
+
} & {
|
|
5510
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5244
5511
|
}, {
|
|
5245
5512
|
readonly json: JsonWallOpening;
|
|
5246
5513
|
readonly segment: IWallSegment;
|
|
@@ -5261,10 +5528,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
5261
5528
|
moveTo(position: SIWallOpeningPosition): void;
|
|
5262
5529
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
5263
5530
|
remove(): void;
|
|
5264
|
-
setLayers(layers: string[]): void;
|
|
5265
5531
|
} & {
|
|
5266
5532
|
expandToFullSegment(): void;
|
|
5267
5533
|
addToAllSegmentsInWall(): void;
|
|
5534
|
+
} & {
|
|
5535
|
+
setLayers(layers: string[]): void;
|
|
5536
|
+
} & {
|
|
5537
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
5538
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
5539
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5540
|
+
removeExtrasEntry(key: string): void;
|
|
5541
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5268
5542
|
}, _NotCustomized, _NotCustomized>;
|
|
5269
5543
|
|
|
5270
5544
|
declare const WallOpeningDimensions: IModelType< {
|
|
@@ -5395,7 +5669,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
5395
5669
|
} & {
|
|
5396
5670
|
setOpenFrom(openFrom: string): void;
|
|
5397
5671
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5672
|
+
} & {
|
|
5398
5673
|
layers: IArrayType<ISimpleType<string>>;
|
|
5674
|
+
} & {
|
|
5675
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5399
5676
|
}, {
|
|
5400
5677
|
readonly json: JsonWallOpening;
|
|
5401
5678
|
readonly segment: IWallSegment;
|
|
@@ -5416,10 +5693,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
5416
5693
|
moveTo(position: SIWallOpeningPosition): void;
|
|
5417
5694
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
5418
5695
|
remove(): void;
|
|
5419
|
-
setLayers(layers: string[]): void;
|
|
5420
5696
|
} & {
|
|
5421
5697
|
expandToFullSegment(): void;
|
|
5422
5698
|
addToAllSegmentsInWall(): void;
|
|
5699
|
+
} & {
|
|
5700
|
+
setLayers(layers: string[]): void;
|
|
5701
|
+
} & {
|
|
5702
|
+
setExtras(extras: FeatureExtras | undefined): void;
|
|
5703
|
+
mergeExtras(extras: FeatureExtras): void;
|
|
5704
|
+
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5705
|
+
removeExtrasEntry(key: string): void;
|
|
5706
|
+
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5423
5707
|
}, _NotCustomized, _NotCustomized>>;
|
|
5424
5708
|
}, {
|
|
5425
5709
|
readonly superJson: JsonAbstractSegment;
|