@osamash/floor-planner 1.1.8 → 1.2.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/floor-planner.es.js +3538 -3442
- package/dist/floor-planner.umd.js +148 -148
- package/dist/types/react-planner/class/item.d.ts +1 -1
- package/dist/types/react-planner/models.d.ts +1 -0
- package/dist/types/react-planner/viewer2d/Layer.d.ts +2 -1
- package/dist/types/react-planner/viewer2d/Line.d.ts +2 -1
- package/dist/types/react-planner/viewer2d/Scene.d.ts +2 -1
- package/dist/types/store/ReactPlannerStore.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare class Item {
|
|
2
|
-
static create(state: any, layerID: any, type: any, x: any, y: any, width: any, height: any, rotation: any): {
|
|
2
|
+
static create(state: any, layerID: any, type: any, x: any, y: any, width: any, height: any, rotation: any, altitude: any): {
|
|
3
3
|
updatedState: any;
|
|
4
4
|
item: any;
|
|
5
5
|
};
|
|
@@ -4,7 +4,8 @@ interface LayerProps {
|
|
|
4
4
|
layer: any;
|
|
5
5
|
mode: string;
|
|
6
6
|
scene: Scene;
|
|
7
|
+
showDimensions: boolean;
|
|
7
8
|
catalog: Catalog;
|
|
8
9
|
}
|
|
9
|
-
declare function Layer({ layer, scene, catalog, mode }: LayerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function Layer({ layer, scene, catalog, mode, showDimensions }: LayerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default Layer;
|
|
@@ -5,7 +5,8 @@ interface LineProps {
|
|
|
5
5
|
layer: any;
|
|
6
6
|
mode: string;
|
|
7
7
|
scene: Scene;
|
|
8
|
+
showDimensions: boolean;
|
|
8
9
|
catalog: Catalog;
|
|
9
10
|
}
|
|
10
|
-
declare const Line: ({ line, layer, scene, catalog, mode }: LineProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
declare const Line: ({ line, layer, scene, catalog, mode, showDimensions, }: LineProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
12
|
export default Line;
|
|
@@ -5,6 +5,7 @@ interface SceneProps {
|
|
|
5
5
|
scene: SceneType;
|
|
6
6
|
catalog: Catalog;
|
|
7
7
|
mode: string;
|
|
8
|
+
showDimensions: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const _default: React.MemoExoticComponent<({ scene, catalog, mode }: SceneProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ scene, catalog, mode, showDimensions }: SceneProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
11
|
export default _default;
|