@archilogic/floor-plan-sdk 5.2.0 → 5.2.2
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/fpe.d.ts +40 -1
- package/dist/fpe.js +1 -1
- package/dist/fpe.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/fpe.d.ts
CHANGED
|
@@ -142,6 +142,20 @@ declare type BooleanComparator = boolean | {
|
|
|
142
142
|
neq: boolean;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
+
export declare interface BoundaryData {
|
|
146
|
+
profile: Vector2_2[];
|
|
147
|
+
segments: BoundarySegmentData[];
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare interface BoundarySegmentData {
|
|
151
|
+
points: [Vector2_2, Vector2_2];
|
|
152
|
+
element: {
|
|
153
|
+
id: string;
|
|
154
|
+
type: string;
|
|
155
|
+
} | null;
|
|
156
|
+
adjacentSpaceId: string | null;
|
|
157
|
+
}
|
|
158
|
+
|
|
145
159
|
export declare type BoundingBox2d = {
|
|
146
160
|
min: Vector2;
|
|
147
161
|
max: Vector2;
|
|
@@ -1106,6 +1120,7 @@ declare class HtmlMarker {
|
|
|
1106
1120
|
el: HTMLElement;
|
|
1107
1121
|
private _floorPlan;
|
|
1108
1122
|
private _anchorPos;
|
|
1123
|
+
private _isPanning;
|
|
1109
1124
|
constructor({ position, offset, el, floorPlan }: HtmlMarkerState);
|
|
1110
1125
|
_updateHtmlMarker: () => void;
|
|
1111
1126
|
_updateHtmlMarkerStyle(): void;
|
|
@@ -2628,7 +2643,9 @@ declare type ResourceScope =
|
|
|
2628
2643
|
| "token"
|
|
2629
2644
|
| "subscription"
|
|
2630
2645
|
| "graphql"
|
|
2631
|
-
| "extension"
|
|
2646
|
+
| "extension"
|
|
2647
|
+
| "webhook"
|
|
2648
|
+
| "component";
|
|
2632
2649
|
|
|
2633
2650
|
declare type Rgb = [number, number, number];
|
|
2634
2651
|
|
|
@@ -2686,6 +2703,7 @@ export declare interface SpaceData extends BaseData {
|
|
|
2686
2703
|
seatCapacity: number;
|
|
2687
2704
|
area: number;
|
|
2688
2705
|
elements: ElementData[];
|
|
2706
|
+
boundaries: BoundaryData[];
|
|
2689
2707
|
}
|
|
2690
2708
|
|
|
2691
2709
|
export declare interface SpaceFilter extends BaseFilter {
|
|
@@ -2830,6 +2848,11 @@ declare class SpaceGraphBasicMaterial extends SpaceGraphNodeBase {
|
|
|
2830
2848
|
colorSpecular: Rgb;
|
|
2831
2849
|
specularCoefficient: number;
|
|
2832
2850
|
opacity: number;
|
|
2851
|
+
textureDiffuse?: Texture;
|
|
2852
|
+
textureSpecular?: Texture;
|
|
2853
|
+
textureNormal?: Texture;
|
|
2854
|
+
textureAlpha?: Texture;
|
|
2855
|
+
dimensions?: [number, number];
|
|
2833
2856
|
constructor(id: string);
|
|
2834
2857
|
copyForClone(material: SpaceGraphBasicMaterial): void;
|
|
2835
2858
|
toJSON(): SpaceGraphMaterialResourceJson;
|
|
@@ -2841,6 +2864,11 @@ declare interface SpaceGraphBasicMaterialJson extends SpaceGraphMaterialBaseJson
|
|
|
2841
2864
|
colorSpecular?: Rgb;
|
|
2842
2865
|
specularCoefficient?: number;
|
|
2843
2866
|
opacity?: number;
|
|
2867
|
+
textureDiffuse?: Texture;
|
|
2868
|
+
textureSpecular?: Texture;
|
|
2869
|
+
textureNormal?: Texture;
|
|
2870
|
+
textureAlpha?: Texture;
|
|
2871
|
+
dimensions?: [number, number];
|
|
2844
2872
|
}
|
|
2845
2873
|
|
|
2846
2874
|
declare type SpaceGraphBasicMaterialType = typeof SpaceGraphBasicMaterialTypeValue;
|
|
@@ -3349,6 +3377,7 @@ export declare interface SpaceSelect extends BaseSelect {
|
|
|
3349
3377
|
area?: boolean;
|
|
3350
3378
|
seatCapacity?: boolean;
|
|
3351
3379
|
elements?: ElementQuery | boolean;
|
|
3380
|
+
boundaries?: boolean;
|
|
3352
3381
|
}
|
|
3353
3382
|
|
|
3354
3383
|
declare class SpatialGraphEdge extends SpatialGraphNodeBase {
|
|
@@ -3598,11 +3627,20 @@ export declare interface TextShape extends BaseShape {
|
|
|
3598
3627
|
fontSize?: number;
|
|
3599
3628
|
}
|
|
3600
3629
|
|
|
3630
|
+
declare type Texture = {
|
|
3631
|
+
type: 'texture:uri';
|
|
3632
|
+
uri: string;
|
|
3633
|
+
preview?: string;
|
|
3634
|
+
source?: string;
|
|
3635
|
+
};
|
|
3636
|
+
|
|
3601
3637
|
declare type TextureData = {
|
|
3602
3638
|
textureUrl: string;
|
|
3603
3639
|
applyFilter: TextureFilter;
|
|
3604
3640
|
texture?: any;
|
|
3605
3641
|
contourTexture?: any;
|
|
3642
|
+
themeOverlayTexture?: any;
|
|
3643
|
+
themeOverlayStyleKey?: string;
|
|
3606
3644
|
imageData?: any;
|
|
3607
3645
|
error?: {
|
|
3608
3646
|
message: string;
|
|
@@ -3797,6 +3835,7 @@ declare class WebGlView extends TinyEmitter {
|
|
|
3797
3835
|
parentEl: HTMLElement;
|
|
3798
3836
|
/* Excluded from this release type: _settings */
|
|
3799
3837
|
/* Excluded from this release type: gfxLayers */
|
|
3838
|
+
/* Excluded from this release type: textureCache */
|
|
3800
3839
|
redrawScene: () => void;
|
|
3801
3840
|
/* Excluded from this release type: gfxNodes */
|
|
3802
3841
|
/* Excluded from this release type: _viewport */
|