floor-editor-ts 1.1.2 → 1.1.3
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-editor.es.js +358 -352
- package/dist/floor-editor.es.js.map +1 -1
- package/dist/src/lib/packageDefaults.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Project } from '../../lib/models/types';
|
|
2
|
+
export interface FloorEditorConfig {
|
|
3
|
+
viewOnly: boolean;
|
|
4
|
+
floorMaxWidth: number;
|
|
5
|
+
floorMaxHeight: number;
|
|
6
|
+
heatmapEnabled: boolean;
|
|
7
|
+
heatmapMatrix: number[][];
|
|
8
|
+
}
|
|
9
|
+
export declare const DEFAULT_CONFIG: FloorEditorConfig;
|
|
10
|
+
export declare function normalizeConfig(value: Partial<FloorEditorConfig> | null | undefined): FloorEditorConfig;
|
|
11
|
+
export declare function normalizeFloorData(data: Partial<Project> | null | undefined): Project;
|