@nice2dev/ui-buildings 1.1.5 → 1.1.7
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/CHANGELOG.md +57 -0
- package/dist/assets/import.worker-DmRf3ygm.js +1 -0
- package/dist/index.cjs +138 -4
- package/dist/index.d.ts +12 -3
- package/dist/index.mjs +5942 -3930
- package/dist/ui-buildings.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -525,7 +525,10 @@ declare interface NavigationRoute {
|
|
|
525
525
|
export declare const NiceAutomationEditor: default_2.FC<NiceAutomationEditorProps>;
|
|
526
526
|
|
|
527
527
|
export declare interface NiceAutomationEditorProps {
|
|
528
|
-
|
|
528
|
+
/** Automations (controlled). Omit it to let the editor keep its own. */
|
|
529
|
+
automations?: BuildingAutomation[];
|
|
530
|
+
/** Initial automations when uncontrolled. */
|
|
531
|
+
defaultAutomations?: BuildingAutomation[];
|
|
529
532
|
devices?: BuildingDevice[];
|
|
530
533
|
zones?: BuildingZone[];
|
|
531
534
|
scenes?: BuildingScene[];
|
|
@@ -588,7 +591,10 @@ export declare interface NiceDeviceControlProps {
|
|
|
588
591
|
export declare const NiceFloorPlanEditor: default_2.FC<NiceFloorPlanEditorProps>;
|
|
589
592
|
|
|
590
593
|
export declare interface NiceFloorPlanEditorProps {
|
|
591
|
-
|
|
594
|
+
/** Floors (controlled). Omit it to let the editor keep its own. */
|
|
595
|
+
floors?: FloorPlanFloor[];
|
|
596
|
+
/** Initial floors when uncontrolled. */
|
|
597
|
+
defaultFloors?: FloorPlanFloor[];
|
|
592
598
|
devices?: BuildingDevice[];
|
|
593
599
|
onFloorChange?: (floors: FloorPlanFloor[]) => void;
|
|
594
600
|
onDeviceMove?: (deviceId: BuildingId, floorId: BuildingId, roomId: BuildingId | null, position: Point2D) => void;
|
|
@@ -627,7 +633,10 @@ export declare interface NiceLightControlProps {
|
|
|
627
633
|
export declare const NiceSceneEditor: default_2.FC<NiceSceneEditorProps>;
|
|
628
634
|
|
|
629
635
|
export declare interface NiceSceneEditorProps {
|
|
630
|
-
|
|
636
|
+
/** Scenes (controlled). Omit it to let the editor keep its own. */
|
|
637
|
+
scenes?: BuildingScene[];
|
|
638
|
+
/** Initial scenes when uncontrolled. */
|
|
639
|
+
defaultScenes?: BuildingScene[];
|
|
631
640
|
devices?: BuildingDevice[];
|
|
632
641
|
zones?: BuildingZone[];
|
|
633
642
|
/** Currently active scene ids (highlighted). */
|