@smplrspace/smplr-loader 2.58.1-beta.3 → 2.58.1-beta.30
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 +303 -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;
|
|
@@ -2054,6 +2159,7 @@ declare interface MeshSmplrData {
|
|
|
2054
2159
|
onDropCompute?: string[];
|
|
2055
2160
|
layer?: RenderableDataLayer<DataLayer<UnknownData>>;
|
|
2056
2161
|
partOfFacade?: boolean;
|
|
2162
|
+
interiorPart?: boolean;
|
|
2057
2163
|
annotation?: SOAnnotation;
|
|
2058
2164
|
instance?: PolylineInstance<UnknownData> | IconInstance<UnknownData> | PolygonInstance<UnknownData>;
|
|
2059
2165
|
modelType?: 'gltf' | 'parametric';
|
|
@@ -2069,6 +2175,27 @@ declare interface MeshSmplrData {
|
|
|
2069
2175
|
panelIndex?: number;
|
|
2070
2176
|
}
|
|
2071
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
|
+
|
|
2072
2199
|
export declare type NoData = Record<string, never>;
|
|
2073
2200
|
|
|
2074
2201
|
declare type NominalDimensionsGetter<C> = (args: {
|
|
@@ -2187,7 +2314,10 @@ height: number;
|
|
|
2187
2314
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
2188
2315
|
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
2189
2316
|
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2317
|
+
} & {
|
|
2190
2318
|
layers: IArrayType<ISimpleType<string>>;
|
|
2319
|
+
} & {
|
|
2320
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
2191
2321
|
}, {
|
|
2192
2322
|
readonly json: Furniture;
|
|
2193
2323
|
} & {
|
|
@@ -2200,9 +2330,16 @@ configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
|
2200
2330
|
remove(): void;
|
|
2201
2331
|
regenerateId(randomizer: string): void;
|
|
2202
2332
|
setExternal(external: boolean): void;
|
|
2203
|
-
setLayers(layers: string[]): void;
|
|
2204
2333
|
} & {
|
|
2205
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;
|
|
2206
2343
|
}, _NotCustomized, _NotCustomized>;
|
|
2207
2344
|
|
|
2208
2345
|
declare const ObjectDimensions: IModelType< {
|
|
@@ -2246,6 +2383,7 @@ export declare interface Opening {
|
|
|
2246
2383
|
};
|
|
2247
2384
|
options: SOWallOpeningOptions;
|
|
2248
2385
|
coordinates: SmplrCoord3d[];
|
|
2386
|
+
extras?: FeatureExtras;
|
|
2249
2387
|
wallId: string;
|
|
2250
2388
|
}
|
|
2251
2389
|
|
|
@@ -2642,10 +2780,19 @@ export declare class QueryClient {
|
|
|
2642
2780
|
listSpaces(options?: {
|
|
2643
2781
|
organizationId?: string;
|
|
2644
2782
|
tagged?: string[];
|
|
2783
|
+
projects?: string[];
|
|
2784
|
+
unit?: 'sqm' | 'sqft';
|
|
2785
|
+
includeLevelBreakdown?: boolean;
|
|
2645
2786
|
}): Promise<{
|
|
2787
|
+
area: number;
|
|
2646
2788
|
sid: string;
|
|
2647
2789
|
status: string;
|
|
2790
|
+
levels?: {
|
|
2791
|
+
area: number;
|
|
2792
|
+
name: string;
|
|
2793
|
+
}[] | undefined;
|
|
2648
2794
|
projects: {
|
|
2795
|
+
name: string;
|
|
2649
2796
|
project_sid: string;
|
|
2650
2797
|
}[];
|
|
2651
2798
|
name: string;
|
|
@@ -3017,6 +3164,8 @@ readonly centerPoint: SOCanvasPoint;
|
|
|
3017
3164
|
} & {
|
|
3018
3165
|
regenerateIds(randomizer: string): void;
|
|
3019
3166
|
}, _NotCustomized, _NotCustomized>>;
|
|
3167
|
+
} & {
|
|
3168
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3020
3169
|
}, {
|
|
3021
3170
|
readonly json: JsonRoof;
|
|
3022
3171
|
} & {
|
|
@@ -3040,6 +3189,12 @@ close(): void;
|
|
|
3040
3189
|
removePoint(id: string): void;
|
|
3041
3190
|
} & {
|
|
3042
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;
|
|
3043
3198
|
}, _NotCustomized, _NotCustomized>;
|
|
3044
3199
|
|
|
3045
3200
|
declare const RoofOptions: IModelType< {
|
|
@@ -3502,7 +3657,10 @@ removePoint(id: string): void;
|
|
|
3502
3657
|
} & {
|
|
3503
3658
|
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3504
3659
|
}, _NotCustomized, _NotCustomized>>;
|
|
3660
|
+
} & {
|
|
3505
3661
|
layers: IArrayType<ISimpleType<string>>;
|
|
3662
|
+
} & {
|
|
3663
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3506
3664
|
}, {
|
|
3507
3665
|
readonly json: JsonGround;
|
|
3508
3666
|
} & {
|
|
@@ -3518,7 +3676,6 @@ segments: SOGroundSegment[];
|
|
|
3518
3676
|
}) | undefined): void;
|
|
3519
3677
|
removeHole(holeId: string): void;
|
|
3520
3678
|
replaceSegments(segments: SIGroundSegment[]): void;
|
|
3521
|
-
setLayers(layers: string[]): void;
|
|
3522
3679
|
} & {
|
|
3523
3680
|
readonly points: SOCanvasPoint[];
|
|
3524
3681
|
readonly geometry: SegmentGeometry;
|
|
@@ -3531,6 +3688,14 @@ close(): void;
|
|
|
3531
3688
|
removePoint(id: string): void;
|
|
3532
3689
|
} & {
|
|
3533
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;
|
|
3534
3699
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3535
3700
|
walls: IOptionalIType<IArrayType<IModelType< {
|
|
3536
3701
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3629,7 +3794,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
3629
3794
|
} & {
|
|
3630
3795
|
setOpenFrom(openFrom: string): void;
|
|
3631
3796
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3797
|
+
} & {
|
|
3632
3798
|
layers: IArrayType<ISimpleType<string>>;
|
|
3799
|
+
} & {
|
|
3800
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3633
3801
|
}, {
|
|
3634
3802
|
readonly json: JsonWallOpening;
|
|
3635
3803
|
readonly segment: IWallSegment;
|
|
@@ -3650,10 +3818,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
3650
3818
|
moveTo(position: SIWallOpeningPosition): void;
|
|
3651
3819
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
3652
3820
|
remove(): void;
|
|
3653
|
-
setLayers(layers: string[]): void;
|
|
3654
3821
|
} & {
|
|
3655
3822
|
expandToFullSegment(): void;
|
|
3656
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;
|
|
3657
3832
|
}, _NotCustomized, _NotCustomized>>;
|
|
3658
3833
|
}, {
|
|
3659
3834
|
readonly superJson: JsonAbstractSegment;
|
|
@@ -3667,7 +3842,10 @@ addOpening(opening: SIWallOpening): void;
|
|
|
3667
3842
|
removeOpening(id: string): void;
|
|
3668
3843
|
regenerateIds(randomizer: string): void;
|
|
3669
3844
|
}, _NotCustomized, _NotCustomized>>;
|
|
3845
|
+
} & {
|
|
3670
3846
|
layers: IArrayType<ISimpleType<string>>;
|
|
3847
|
+
} & {
|
|
3848
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3671
3849
|
}, {
|
|
3672
3850
|
readonly json: JsonWall;
|
|
3673
3851
|
} & {
|
|
@@ -3679,7 +3857,6 @@ regenerateIds(randomizer: string): void;
|
|
|
3679
3857
|
} & {
|
|
3680
3858
|
rename(name: string): void;
|
|
3681
3859
|
ensureName(): void;
|
|
3682
|
-
setLayers(layers: string[]): void;
|
|
3683
3860
|
splitWallAtPoint({ pointId }: {
|
|
3684
3861
|
pointId: string;
|
|
3685
3862
|
}): void;
|
|
@@ -3695,6 +3872,14 @@ close(): void;
|
|
|
3695
3872
|
removePoint(id: string): void;
|
|
3696
3873
|
} & {
|
|
3697
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;
|
|
3698
3883
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3699
3884
|
roofs: IOptionalIType<IArrayType<IModelType< {
|
|
3700
3885
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3740,6 +3925,8 @@ readonly centerPoint: SOCanvasPoint;
|
|
|
3740
3925
|
} & {
|
|
3741
3926
|
regenerateIds(randomizer: string): void;
|
|
3742
3927
|
}, _NotCustomized, _NotCustomized>>;
|
|
3928
|
+
} & {
|
|
3929
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3743
3930
|
}, {
|
|
3744
3931
|
readonly json: JsonRoof;
|
|
3745
3932
|
} & {
|
|
@@ -3763,6 +3950,12 @@ close(): void;
|
|
|
3763
3950
|
removePoint(id: string): void;
|
|
3764
3951
|
} & {
|
|
3765
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;
|
|
3766
3959
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3767
3960
|
stairs: IArrayType<IModelType< {
|
|
3768
3961
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3791,7 +3984,10 @@ baseHeight: IMaybe<ISimpleType<number>>;
|
|
|
3791
3984
|
height: IMaybe<ISimpleType<number>>;
|
|
3792
3985
|
style: IOptionalIType<ISimpleType<"slope" | "thin" | "thick" | "block">, [undefined]>;
|
|
3793
3986
|
color: IOptionalIType<ISimpleType<"white" | "grey" | "darkgrey">, [undefined]>;
|
|
3987
|
+
} & {
|
|
3794
3988
|
layers: IArrayType<ISimpleType<string>>;
|
|
3989
|
+
} & {
|
|
3990
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3795
3991
|
}, {
|
|
3796
3992
|
readonly json: JsonStair;
|
|
3797
3993
|
} & {
|
|
@@ -3807,7 +4003,14 @@ dt: number;
|
|
|
3807
4003
|
}): void;
|
|
3808
4004
|
remove(): void;
|
|
3809
4005
|
regenerateIds(randomizer: string): void;
|
|
4006
|
+
} & {
|
|
3810
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;
|
|
3811
4014
|
}, _NotCustomized, _NotCustomized>>;
|
|
3812
4015
|
annotations: IArrayType<IModelType< {
|
|
3813
4016
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
@@ -3820,7 +4023,10 @@ size: IMaybe<ISimpleType<number>>;
|
|
|
3820
4023
|
media: IMaybe<ISimpleType<string>>;
|
|
3821
4024
|
is360: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3822
4025
|
direction: IMaybe<ISimpleType<number>>;
|
|
4026
|
+
} & {
|
|
3823
4027
|
layers: IArrayType<ISimpleType<string>>;
|
|
4028
|
+
} & {
|
|
4029
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3824
4030
|
}, {
|
|
3825
4031
|
readonly json: JsonAnnotation;
|
|
3826
4032
|
} & {
|
|
@@ -3834,7 +4040,14 @@ setMedia(url: string | undefined): void;
|
|
|
3834
4040
|
setIs360(is360: boolean): void;
|
|
3835
4041
|
setDirection(angle: number | undefined): void;
|
|
3836
4042
|
regenerateId(randomizer: string): void;
|
|
4043
|
+
} & {
|
|
3837
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;
|
|
3838
4051
|
}, _NotCustomized, _NotCustomized>>;
|
|
3839
4052
|
objects: IArrayType<IModelType< {
|
|
3840
4053
|
catalogId: ISimpleType<string>;
|
|
@@ -3868,7 +4081,10 @@ height: number;
|
|
|
3868
4081
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3869
4082
|
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
3870
4083
|
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4084
|
+
} & {
|
|
3871
4085
|
layers: IArrayType<ISimpleType<string>>;
|
|
4086
|
+
} & {
|
|
4087
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3872
4088
|
}, {
|
|
3873
4089
|
readonly json: Furniture;
|
|
3874
4090
|
} & {
|
|
@@ -3881,9 +4097,16 @@ configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
|
3881
4097
|
remove(): void;
|
|
3882
4098
|
regenerateId(randomizer: string): void;
|
|
3883
4099
|
setExternal(external: boolean): void;
|
|
3884
|
-
setLayers(layers: string[]): void;
|
|
3885
4100
|
} & {
|
|
3886
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;
|
|
3887
4110
|
}, _NotCustomized, _NotCustomized>>;
|
|
3888
4111
|
floorplan: IOptionalIType<IModelType< {
|
|
3889
4112
|
url: IMaybe<ISimpleType<string>>;
|
|
@@ -3939,6 +4162,7 @@ removeAllGrounds(): void;
|
|
|
3939
4162
|
newWall(wall?: (Omit<SIWall, "segments"> & {
|
|
3940
4163
|
segments: SOAbstractSegment[] | SOWallSegment[];
|
|
3941
4164
|
}) | undefined): void;
|
|
4165
|
+
addWalls(walls: SIWall[]): void;
|
|
3942
4166
|
removeWall(id: string): void;
|
|
3943
4167
|
removeAllWalls(): void;
|
|
3944
4168
|
newRoof(): void;
|
|
@@ -3963,6 +4187,9 @@ options: JsonWallOptions;
|
|
|
3963
4187
|
layers: string[];
|
|
3964
4188
|
}): void;
|
|
3965
4189
|
clear(): void;
|
|
4190
|
+
removeDeskCluster(clusterId: string): void;
|
|
4191
|
+
removeSeminarSeatingCluster(clusterId: string): void;
|
|
4192
|
+
removeParkingCluster(clusterId: string): void;
|
|
3966
4193
|
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3967
4194
|
compassDirection: IMaybe<ISimpleType<number>>;
|
|
3968
4195
|
facade: IMaybe<IModelType< {
|
|
@@ -4255,6 +4482,7 @@ export declare interface SpaceViewerOptions {
|
|
|
4255
4482
|
includeLevels?: number[];
|
|
4256
4483
|
topShownLevel?: number;
|
|
4257
4484
|
onReady?: () => void;
|
|
4485
|
+
onPartialRenderReady?: () => void;
|
|
4258
4486
|
onError?: (errorMessage: string) => void;
|
|
4259
4487
|
onResize?: (containerRect: DOMRect) => void;
|
|
4260
4488
|
onVisibleLevelsChanged?: (visibleLevels: number[]) => void;
|
|
@@ -4262,6 +4490,11 @@ export declare interface SpaceViewerOptions {
|
|
|
4262
4490
|
onModeChange?: (mode: CameraMode) => void;
|
|
4263
4491
|
loadingMessage?: string;
|
|
4264
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
|
+
*/
|
|
4265
4498
|
experimentalFacadeBasedPerformance?: boolean;
|
|
4266
4499
|
protectScroll?: boolean;
|
|
4267
4500
|
webGpuOptIn?: boolean;
|
|
@@ -4307,7 +4540,10 @@ baseHeight: IMaybe<ISimpleType<number>>;
|
|
|
4307
4540
|
height: IMaybe<ISimpleType<number>>;
|
|
4308
4541
|
style: IOptionalIType<ISimpleType<Style>, [undefined]>;
|
|
4309
4542
|
color: IOptionalIType<ISimpleType<Color_2>, [undefined]>;
|
|
4543
|
+
} & {
|
|
4310
4544
|
layers: IArrayType<ISimpleType<string>>;
|
|
4545
|
+
} & {
|
|
4546
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
4311
4547
|
}, {
|
|
4312
4548
|
readonly json: JsonStair;
|
|
4313
4549
|
} & {
|
|
@@ -4323,7 +4559,14 @@ dt: number;
|
|
|
4323
4559
|
}): void;
|
|
4324
4560
|
remove(): void;
|
|
4325
4561
|
regenerateIds(randomizer: string): void;
|
|
4562
|
+
} & {
|
|
4326
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;
|
|
4327
4570
|
}, _NotCustomized, _NotCustomized>;
|
|
4328
4571
|
|
|
4329
4572
|
declare type Style = 'slope' | 'thin' | 'thick' | 'block';
|
|
@@ -4443,7 +4686,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
4443
4686
|
z: number;
|
|
4444
4687
|
}
|
|
4445
4688
|
|
|
4446
|
-
export declare const version = "2.58.1-beta.
|
|
4689
|
+
export declare const version = "2.58.1-beta.30";
|
|
4447
4690
|
|
|
4448
4691
|
declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
|
|
4449
4692
|
definition: Definition;
|
|
@@ -4893,6 +5136,7 @@ objectsRendered: boolean;
|
|
|
4893
5136
|
sceneReadySent: boolean;
|
|
4894
5137
|
handledEngineError: boolean;
|
|
4895
5138
|
logoLoaderHidden: boolean;
|
|
5139
|
+
renderLoaderFlag: boolean;
|
|
4896
5140
|
renderDoneTick: number;
|
|
4897
5141
|
sceneEnvironmentTick: number;
|
|
4898
5142
|
objectMeshesTick: number;
|
|
@@ -4917,6 +5161,7 @@ readonly safeTopVisibleLevelIndex: number;
|
|
|
4917
5161
|
readonly sceneReady: boolean;
|
|
4918
5162
|
readonly logoLoaderCanHide: boolean;
|
|
4919
5163
|
readonly sceneEnvironmentReady: boolean;
|
|
5164
|
+
readonly spaceRenderSignature: string;
|
|
4920
5165
|
readonly renderFilter: Filter;
|
|
4921
5166
|
} & {
|
|
4922
5167
|
readonly showRenderLoader: boolean;
|
|
@@ -4994,6 +5239,7 @@ setAssetsManager(assetsManager: AssetsManager | null): void;
|
|
|
4994
5239
|
setFacadeAssetsManager(facadeAssetsManager: AssetsManager | null): void;
|
|
4995
5240
|
setActionManager(actionManager: ActionManager): void;
|
|
4996
5241
|
markRenderDone(phase: RenderPhase): void;
|
|
5242
|
+
setRenderLoaderFlag(v: boolean): void;
|
|
4997
5243
|
resetRenderPhase(phase: RenderPhase): void;
|
|
4998
5244
|
markEngineErrorHandled(): void;
|
|
4999
5245
|
markLogoLoaderHidden(): void;
|
|
@@ -5117,7 +5363,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
5117
5363
|
} & {
|
|
5118
5364
|
setOpenFrom(openFrom: string): void;
|
|
5119
5365
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5366
|
+
} & {
|
|
5120
5367
|
layers: IArrayType<ISimpleType<string>>;
|
|
5368
|
+
} & {
|
|
5369
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5121
5370
|
}, {
|
|
5122
5371
|
readonly json: JsonWallOpening;
|
|
5123
5372
|
readonly segment: IWallSegment;
|
|
@@ -5138,10 +5387,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
5138
5387
|
moveTo(position: SIWallOpeningPosition): void;
|
|
5139
5388
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
5140
5389
|
remove(): void;
|
|
5141
|
-
setLayers(layers: string[]): void;
|
|
5142
5390
|
} & {
|
|
5143
5391
|
expandToFullSegment(): void;
|
|
5144
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;
|
|
5145
5401
|
}, _NotCustomized, _NotCustomized>>;
|
|
5146
5402
|
}, {
|
|
5147
5403
|
readonly superJson: JsonAbstractSegment;
|
|
@@ -5155,7 +5411,10 @@ addOpening(opening: SIWallOpening): void;
|
|
|
5155
5411
|
removeOpening(id: string): void;
|
|
5156
5412
|
regenerateIds(randomizer: string): void;
|
|
5157
5413
|
}, _NotCustomized, _NotCustomized>>;
|
|
5414
|
+
} & {
|
|
5158
5415
|
layers: IArrayType<ISimpleType<string>>;
|
|
5416
|
+
} & {
|
|
5417
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5159
5418
|
}, {
|
|
5160
5419
|
readonly json: JsonWall;
|
|
5161
5420
|
} & {
|
|
@@ -5167,7 +5426,6 @@ regenerateIds(randomizer: string): void;
|
|
|
5167
5426
|
} & {
|
|
5168
5427
|
rename(name: string): void;
|
|
5169
5428
|
ensureName(): void;
|
|
5170
|
-
setLayers(layers: string[]): void;
|
|
5171
5429
|
splitWallAtPoint({ pointId }: {
|
|
5172
5430
|
pointId: string;
|
|
5173
5431
|
}): void;
|
|
@@ -5183,6 +5441,14 @@ close(): void;
|
|
|
5183
5441
|
removePoint(id: string): void;
|
|
5184
5442
|
} & {
|
|
5185
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;
|
|
5186
5452
|
}, _NotCustomized, _NotCustomized>;
|
|
5187
5453
|
|
|
5188
5454
|
declare const WallOpening: IModelType< {
|
|
@@ -5238,7 +5504,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
5238
5504
|
} & {
|
|
5239
5505
|
setOpenFrom(openFrom: string): void;
|
|
5240
5506
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5507
|
+
} & {
|
|
5241
5508
|
layers: IArrayType<ISimpleType<string>>;
|
|
5509
|
+
} & {
|
|
5510
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5242
5511
|
}, {
|
|
5243
5512
|
readonly json: JsonWallOpening;
|
|
5244
5513
|
readonly segment: IWallSegment;
|
|
@@ -5259,10 +5528,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
5259
5528
|
moveTo(position: SIWallOpeningPosition): void;
|
|
5260
5529
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
5261
5530
|
remove(): void;
|
|
5262
|
-
setLayers(layers: string[]): void;
|
|
5263
5531
|
} & {
|
|
5264
5532
|
expandToFullSegment(): void;
|
|
5265
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;
|
|
5266
5542
|
}, _NotCustomized, _NotCustomized>;
|
|
5267
5543
|
|
|
5268
5544
|
declare const WallOpeningDimensions: IModelType< {
|
|
@@ -5393,7 +5669,10 @@ setRailingStyle(railingStyle: string): void;
|
|
|
5393
5669
|
} & {
|
|
5394
5670
|
setOpenFrom(openFrom: string): void;
|
|
5395
5671
|
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5672
|
+
} & {
|
|
5396
5673
|
layers: IArrayType<ISimpleType<string>>;
|
|
5674
|
+
} & {
|
|
5675
|
+
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5397
5676
|
}, {
|
|
5398
5677
|
readonly json: JsonWallOpening;
|
|
5399
5678
|
readonly segment: IWallSegment;
|
|
@@ -5414,10 +5693,17 @@ setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
|
5414
5693
|
moveTo(position: SIWallOpeningPosition): void;
|
|
5415
5694
|
moveInDirection(direction: URDL, distance?: number): void;
|
|
5416
5695
|
remove(): void;
|
|
5417
|
-
setLayers(layers: string[]): void;
|
|
5418
5696
|
} & {
|
|
5419
5697
|
expandToFullSegment(): void;
|
|
5420
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;
|
|
5421
5707
|
}, _NotCustomized, _NotCustomized>>;
|
|
5422
5708
|
}, {
|
|
5423
5709
|
readonly superJson: JsonAbstractSegment;
|