var Controls=function(){"use strict";return function(o){var n=KanKan.Deferred();return o.Scene.on("loaded",(function(){var t={$html:"<div v-cloak v-scope xui_controls> <button @click=\"mode('panorama')\">panorama</button> <button @click=\"mode('floorplan')\">floorplan</button> <button @click=\"mode('dollhouse')\">dollhouse</button> <button @click=\"mode('vr')\">vr</button> \x3c!-- <button @click=\"mode('sync')\">安居客数据同步</button>\n    <button @click=\"mode('all')\">全部</button>\n    <button @click=\"mode('0')\">一楼</button>\n    <button @click=\"mode('1')\">二楼</button>\n    <button @click=\"mode('2')\">三楼</button> --\x3e </div> <style> [xui_controls] {\n        position: absolute;\n        pointer-events: all;\n        width: 100%;\n        left: 0;\n        bottom: 0;\n        height: 40px;\n        align-items: center;\n        z-index: 100;\n    }\n    [xui_controls] button{\n      width: auto;\n      color: #fff;\n      background-color:rgba(0, 0, 0, 0.3) !important;\n      border: none;\n    } </style> ",$name:"Controls",$load:function(){PetiteVue.createApp({mode:function(n){o.Camera[n]?o.Camera[n]():"sync"==n?o.CadManager.cad().sync.start("DataAJK"):o.Scene.gotoFloor(n)}}).mount(o.dom.querySelector("[xui_edit_cad]"))}};n.resolve(t)})),n}}();
