kitchen-simulator 5.0.0-test.4 → 5.0.0-test.6
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/package.json +23 -41
- package/es/@history.js +0 -3
- package/es/@history.js.map +0 -1
- package/es/AppContext.js +0 -4
- package/es/AppContext.js.map +0 -1
- package/es/KitchenConfigurator.js +0 -1345
- package/es/KitchenConfigurator.js.map +0 -1
- package/es/KitchenConfiguratorApp.js +0 -532
- package/es/KitchenConfiguratorApp.js.map +0 -1
- package/es/actions/area-actions.js +0 -15
- package/es/actions/area-actions.js.map +0 -1
- package/es/actions/export.js +0 -26
- package/es/actions/export.js.map +0 -1
- package/es/actions/groups-actions.js +0 -90
- package/es/actions/groups-actions.js.map +0 -1
- package/es/actions/holes-actions.js +0 -120
- package/es/actions/holes-actions.js.map +0 -1
- package/es/actions/items-actions.js +0 -314
- package/es/actions/items-actions.js.map +0 -1
- package/es/actions/lines-actions.js +0 -83
- package/es/actions/lines-actions.js.map +0 -1
- package/es/actions/project-actions.js +0 -282
- package/es/actions/project-actions.js.map +0 -1
- package/es/actions/scene-actions.js +0 -34
- package/es/actions/scene-actions.js.map +0 -1
- package/es/actions/user-actions.js +0 -59
- package/es/actions/user-actions.js.map +0 -1
- package/es/actions/vertices-actions.js +0 -28
- package/es/actions/vertices-actions.js.map +0 -1
- package/es/actions/viewer2d-actions.js +0 -59
- package/es/actions/viewer2d-actions.js.map +0 -1
- package/es/actions/viewer3d-actions.js +0 -24
- package/es/actions/viewer3d-actions.js.map +0 -1
- package/es/catalog/areas/area/planner-element.js +0 -41
- package/es/catalog/areas/area/planner-element.js.map +0 -1
- package/es/catalog/areas/area/textures/ceramic-tile.jpg +0 -0
- package/es/catalog/areas/area/textures/grass.jpg +0 -0
- package/es/catalog/areas/area/textures/parquet.jpg +0 -0
- package/es/catalog/areas/area/textures/strand-porcelain.jpg +0 -0
- package/es/catalog/areas/area/textures/tile1.jpg +0 -0
- package/es/catalog/back.png +0 -0
- package/es/catalog/catalog.js +0 -278
- package/es/catalog/catalog.js.map +0 -1
- package/es/catalog/doors.png +0 -0
- package/es/catalog/doorways.png +0 -0
- package/es/catalog/envMap/nx.hdr +0 -0
- package/es/catalog/envMap/ny.hdr +0 -0
- package/es/catalog/envMap/nz.hdr +0 -0
- package/es/catalog/envMap/px.hdr +0 -0
- package/es/catalog/envMap/py.hdr +0 -0
- package/es/catalog/envMap/pz.hdr +0 -0
- package/es/catalog/factories/area-factory-3d.js +0 -183
- package/es/catalog/factories/area-factory-3d.js.map +0 -1
- package/es/catalog/factories/area-factory.js +0 -82
- package/es/catalog/factories/area-factory.js.map +0 -1
- package/es/catalog/factories/export.js +0 -8
- package/es/catalog/factories/export.js.map +0 -1
- package/es/catalog/factories/wall-factory-3d.js +0 -203
- package/es/catalog/factories/wall-factory-3d.js.map +0 -1
- package/es/catalog/factories/wall-factory.js +0 -269
- package/es/catalog/factories/wall-factory.js.map +0 -1
- package/es/catalog/holes/door-closet/planner-element.js +0 -223
- package/es/catalog/holes/door-closet/planner-element.js.map +0 -1
- package/es/catalog/holes/door-double/door_double.png +0 -0
- package/es/catalog/holes/door-double/planner-element.js +0 -316
- package/es/catalog/holes/door-double/planner-element.js.map +0 -1
- package/es/catalog/holes/door-exterior/planner-element.js +0 -216
- package/es/catalog/holes/door-exterior/planner-element.js.map +0 -1
- package/es/catalog/holes/door-interior/planner-element.js +0 -228
- package/es/catalog/holes/door-interior/planner-element.js.map +0 -1
- package/es/catalog/holes/door-panic/panicDoor.png +0 -0
- package/es/catalog/holes/door-panic/planner-element.js +0 -504
- package/es/catalog/holes/door-panic/planner-element.js.map +0 -1
- package/es/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
- package/es/catalog/holes/door-panic-double/planner-element.js +0 -464
- package/es/catalog/holes/door-panic-double/planner-element.js.map +0 -1
- package/es/catalog/holes/door-sliding/planner-element.js +0 -226
- package/es/catalog/holes/door-sliding/planner-element.js.map +0 -1
- package/es/catalog/holes/doorway-framed/planner-element.js +0 -146
- package/es/catalog/holes/doorway-framed/planner-element.js.map +0 -1
- package/es/catalog/holes/doorway-frameless/planner-element.js +0 -105
- package/es/catalog/holes/doorway-frameless/planner-element.js.map +0 -1
- package/es/catalog/holes/gate/gate.jpg +0 -0
- package/es/catalog/holes/window-clear/planner-element.js +0 -167
- package/es/catalog/holes/window-clear/planner-element.js.map +0 -1
- package/es/catalog/holes/window-clear/texture.png +0 -0
- package/es/catalog/holes/window-cross/planner-element.js +0 -166
- package/es/catalog/holes/window-cross/planner-element.js.map +0 -1
- package/es/catalog/holes/window-cross/texture.png +0 -0
- package/es/catalog/holes/window-double-hung/planner-element.js +0 -304
- package/es/catalog/holes/window-double-hung/planner-element.js.map +0 -1
- package/es/catalog/holes/window-double-hung/texture.png +0 -0
- package/es/catalog/holes/window-vertical/planner-element.js +0 -277
- package/es/catalog/holes/window-vertical/planner-element.js.map +0 -1
- package/es/catalog/holes/window-vertical/texture.png +0 -0
- package/es/catalog/lines/wall/planner-element.js +0 -71
- package/es/catalog/lines/wall/planner-element.js.map +0 -1
- package/es/catalog/lines/wall/textures/bricks-normal.jpg +0 -0
- package/es/catalog/lines/wall/textures/bricks-normal2.jpg +0 -0
- package/es/catalog/lines/wall/textures/bricks.jpg +0 -0
- package/es/catalog/lines/wall/textures/bricks2.jpg +0 -0
- package/es/catalog/lines/wall/textures/bricks3.jpg +0 -0
- package/es/catalog/lines/wall/textures/morden-normal.jpg +0 -0
- package/es/catalog/lines/wall/textures/morden.jpg +0 -0
- package/es/catalog/lines/wall/textures/painted-normal.jpg +0 -0
- package/es/catalog/lines/wall/textures/painted.jpg +0 -0
- package/es/catalog/lines/wall/textures/plaster-normal.jpg +0 -0
- package/es/catalog/lines/wall/textures/plaster.jpg +0 -0
- package/es/catalog/lines/wall/wall.png +0 -0
- package/es/catalog/molding/molding-dcm/planner-element.js +0 -30
- package/es/catalog/molding/molding-dcm/planner-element.js.map +0 -1
- package/es/catalog/molding/molding-dcm/texture.png +0 -0
- package/es/catalog/molding/molding-fbm/planner-element.js +0 -30
- package/es/catalog/molding/molding-fbm/planner-element.js.map +0 -1
- package/es/catalog/molding/molding-fbm/texture.png +0 -0
- package/es/catalog/molding/molding-lrm/planner-element.js +0 -30
- package/es/catalog/molding/molding-lrm/planner-element.js.map +0 -1
- package/es/catalog/molding/molding-lrm/texture.png +0 -0
- package/es/catalog/properties/export.js +0 -22
- package/es/catalog/properties/export.js.map +0 -1
- package/es/catalog/properties/property-checkbox.js +0 -72
- package/es/catalog/properties/property-checkbox.js.map +0 -1
- package/es/catalog/properties/property-color.js +0 -40
- package/es/catalog/properties/property-color.js.map +0 -1
- package/es/catalog/properties/property-enum.js +0 -56
- package/es/catalog/properties/property-enum.js.map +0 -1
- package/es/catalog/properties/property-hidden.js +0 -20
- package/es/catalog/properties/property-hidden.js.map +0 -1
- package/es/catalog/properties/property-lenght-measure.js +0 -102
- package/es/catalog/properties/property-lenght-measure.js.map +0 -1
- package/es/catalog/properties/property-length-measure.js +0 -86
- package/es/catalog/properties/property-length-measure.js.map +0 -1
- package/es/catalog/properties/property-length-measure_hole.js +0 -102
- package/es/catalog/properties/property-length-measure_hole.js.map +0 -1
- package/es/catalog/properties/property-number.js +0 -49
- package/es/catalog/properties/property-number.js.map +0 -1
- package/es/catalog/properties/property-read-only.js +0 -27
- package/es/catalog/properties/property-read-only.js.map +0 -1
- package/es/catalog/properties/property-string.js +0 -49
- package/es/catalog/properties/property-string.js.map +0 -1
- package/es/catalog/properties/property-toggle.js +0 -40
- package/es/catalog/properties/property-toggle.js.map +0 -1
- package/es/catalog/properties/shared-property-style.js +0 -15
- package/es/catalog/properties/shared-property-style.js.map +0 -1
- package/es/catalog/utils/FuseUtils.js +0 -83
- package/es/catalog/utils/FuseUtils.js.map +0 -1
- package/es/catalog/utils/exporter.js +0 -149
- package/es/catalog/utils/exporter.js.map +0 -1
- package/es/catalog/utils/geom-utils.js +0 -190
- package/es/catalog/utils/geom-utils.js.map +0 -1
- package/es/catalog/utils/item-loader.js +0 -1522
- package/es/catalog/utils/item-loader.js.map +0 -1
- package/es/catalog/utils/load-obj.js +0 -92
- package/es/catalog/utils/load-obj.js.map +0 -1
- package/es/catalog/utils/mtl-loader.js +0 -358
- package/es/catalog/utils/mtl-loader.js.map +0 -1
- package/es/catalog/utils/obj-loader.js +0 -477
- package/es/catalog/utils/obj-loader.js.map +0 -1
- package/es/catalog/windows.png +0 -0
- package/es/class/FuseUtils.js +0 -83
- package/es/class/FuseUtils.js.map +0 -1
- package/es/class/area.js +0 -146
- package/es/class/area.js.map +0 -1
- package/es/class/export.js +0 -25
- package/es/class/export.js.map +0 -1
- package/es/class/group.js +0 -441
- package/es/class/group.js.map +0 -1
- package/es/class/guide.js +0 -63
- package/es/class/guide.js.map +0 -1
- package/es/class/hole.js +0 -931
- package/es/class/hole.js.map +0 -1
- package/es/class/item.js +0 -1888
- package/es/class/item.js.map +0 -1
- package/es/class/layer.js +0 -668
- package/es/class/layer.js.map +0 -1
- package/es/class/line.js +0 -1290
- package/es/class/line.js.map +0 -1
- package/es/class/project.js +0 -823
- package/es/class/project.js.map +0 -1
- package/es/class/vertex.js +0 -267
- package/es/class/vertex.js.map +0 -1
- package/es/components/atoms/Snackbar/index.js +0 -50
- package/es/components/atoms/Snackbar/index.js.map +0 -1
- package/es/components/atoms/radio-button/index.js +0 -26
- package/es/components/atoms/radio-button/index.js.map +0 -1
- package/es/components/atoms/radio-button/styles.js +0 -5
- package/es/components/atoms/radio-button/styles.js.map +0 -1
- package/es/components/button/MainButton.js +0 -92
- package/es/components/button/MainButton.js.map +0 -1
- package/es/components/button/ToggleMeasureButton.js +0 -56
- package/es/components/button/ToggleMeasureButton.js.map +0 -1
- package/es/components/catalog-view/catalog-breadcrumb.js +0 -53
- package/es/components/catalog-view/catalog-breadcrumb.js.map +0 -1
- package/es/components/catalog-view/catalog-item.js +0 -226
- package/es/components/catalog-view/catalog-item.js.map +0 -1
- package/es/components/catalog-view/catalog-list.js +0 -182
- package/es/components/catalog-view/catalog-list.js.map +0 -1
- package/es/components/catalog-view/catalog-page-item.js +0 -130
- package/es/components/catalog-view/catalog-page-item.js.map +0 -1
- package/es/components/catalog-view/catalog-turn-back-page-item.js +0 -106
- package/es/components/catalog-view/catalog-turn-back-page-item.js.map +0 -1
- package/es/components/configurator/custom-configurator.js +0 -94
- package/es/components/configurator/custom-configurator.js.map +0 -1
- package/es/components/configurator/project-configurator.js +0 -131
- package/es/components/configurator/project-configurator.js.map +0 -1
- package/es/components/content.js +0 -123
- package/es/components/content.js.map +0 -1
- package/es/components/export.js +0 -24
- package/es/components/export.js.map +0 -1
- package/es/components/firstsetting/button/styles.js +0 -27
- package/es/components/firstsetting/button/styles.js.map +0 -1
- package/es/components/firstsetting/export.js +0 -9
- package/es/components/firstsetting/export.js.map +0 -1
- package/es/components/firstsetting/firstsetting-content-button.js +0 -217
- package/es/components/firstsetting/firstsetting-content-button.js.map +0 -1
- package/es/components/firstsetting/firstsetting-toggle-button.js +0 -126
- package/es/components/firstsetting/firstsetting-toggle-button.js.map +0 -1
- package/es/components/firstsetting/firstsetting.js +0 -626
- package/es/components/firstsetting/firstsetting.js.map +0 -1
- package/es/components/footerbar/button/ControlButton.js +0 -72
- package/es/components/footerbar/button/ControlButton.js.map +0 -1
- package/es/components/footerbar/button/DirectionButton.js +0 -69
- package/es/components/footerbar/button/DirectionButton.js.map +0 -1
- package/es/components/footerbar/button/DirectionPanSpinButton.js +0 -50
- package/es/components/footerbar/button/DirectionPanSpinButton.js.map +0 -1
- package/es/components/footerbar/button/ToggleButton.js +0 -76
- package/es/components/footerbar/button/ToggleButton.js.map +0 -1
- package/es/components/footerbar/button/ToggleConvertButton.js +0 -73
- package/es/components/footerbar/button/ToggleConvertButton.js.map +0 -1
- package/es/components/footerbar/button/ToggleMeasureButton.js +0 -52
- package/es/components/footerbar/button/ToggleMeasureButton.js.map +0 -1
- package/es/components/footerbar/button/styles.js +0 -22
- package/es/components/footerbar/button/styles.js.map +0 -1
- package/es/components/footerbar/export.js +0 -9
- package/es/components/footerbar/export.js.map +0 -1
- package/es/components/footerbar/footer-content-button.js +0 -217
- package/es/components/footerbar/footer-content-button.js.map +0 -1
- package/es/components/footerbar/footer-toggle-button.js +0 -126
- package/es/components/footerbar/footer-toggle-button.js.map +0 -1
- package/es/components/footerbar/footerbar.js +0 -801
- package/es/components/footerbar/footerbar.js.map +0 -1
- package/es/components/footerbar/styles.js +0 -34
- package/es/components/footerbar/styles.js.map +0 -1
- package/es/components/header/button/MenuButton.js +0 -70
- package/es/components/header/button/MenuButton.js.map +0 -1
- package/es/components/header/button/SaveButton.js +0 -48
- package/es/components/header/button/SaveButton.js.map +0 -1
- package/es/components/header/button/styles.js +0 -59
- package/es/components/header/button/styles.js.map +0 -1
- package/es/components/header/export.js +0 -5
- package/es/components/header/export.js.map +0 -1
- package/es/components/header/header.js +0 -550
- package/es/components/header/header.js.map +0 -1
- package/es/components/header/header.style.css +0 -47
- package/es/components/header/styles.js +0 -41
- package/es/components/header/styles.js.map +0 -1
- package/es/components/login/Login.js +0 -86
- package/es/components/login/Login.js.map +0 -1
- package/es/components/login/LoginForm/index.js +0 -132
- package/es/components/login/LoginForm/index.js.map +0 -1
- package/es/components/login/Register.js +0 -96
- package/es/components/login/Register.js.map +0 -1
- package/es/components/login/RegisterForm/index.js +0 -230
- package/es/components/login/RegisterForm/index.js.map +0 -1
- package/es/components/login/jwtService.js +0 -232
- package/es/components/login/jwtService.js.map +0 -1
- package/es/components/login/style.css +0 -158
- package/es/components/login/style.scss +0 -260
- package/es/components/molecules/slider/index.js +0 -13
- package/es/components/molecules/slider/index.js.map +0 -1
- package/es/components/molecules/slider/styles.js +0 -2
- package/es/components/molecules/slider/styles.js.map +0 -1
- package/es/components/molecules/slider/styles.scss +0 -3
- package/es/components/myprojects/export.js +0 -5
- package/es/components/myprojects/export.js.map +0 -1
- package/es/components/myprojects/index.js +0 -446
- package/es/components/myprojects/index.js.map +0 -1
- package/es/components/myprojects/styles.js +0 -24
- package/es/components/myprojects/styles.js.map +0 -1
- package/es/components/sidebar/custom-accordion.js +0 -38
- package/es/components/sidebar/custom-accordion.js.map +0 -1
- package/es/components/sidebar/export.js +0 -14
- package/es/components/sidebar/export.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js +0 -65
- package/es/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js +0 -116
- package/es/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js +0 -126
- package/es/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js +0 -251
- package/es/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js +0 -75
- package/es/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/element-editor.js +0 -878
- package/es/components/sidebar/panel-element-editor/element-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/multi-elements-editor.js +0 -2
- package/es/components/sidebar/panel-element-editor/multi-elements-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/panel-element-editor.js +0 -49
- package/es/components/sidebar/panel-element-editor/panel-element-editor.js.map +0 -1
- package/es/components/sidebar/panel-element-editor/panel-multi-elements-editor.js +0 -118
- package/es/components/sidebar/panel-element-editor/panel-multi-elements-editor.js.map +0 -1
- package/es/components/sidebar/panel-group-editor.js +0 -211
- package/es/components/sidebar/panel-group-editor.js.map +0 -1
- package/es/components/sidebar/panel-groups.js +0 -267
- package/es/components/sidebar/panel-groups.js.map +0 -1
- package/es/components/sidebar/panel-guides.js +0 -185
- package/es/components/sidebar/panel-guides.js.map +0 -1
- package/es/components/sidebar/panel-layer-elements.js +0 -251
- package/es/components/sidebar/panel-layer-elements.js.map +0 -1
- package/es/components/sidebar/panel-layers.js +0 -340
- package/es/components/sidebar/panel-layers.js.map +0 -1
- package/es/components/sidebar/panel.js +0 -103
- package/es/components/sidebar/panel.js.map +0 -1
- package/es/components/sidebar/sidebar.js +0 -109
- package/es/components/sidebar/sidebar.js.map +0 -1
- package/es/components/sidebar/toolbar-panel.js +0 -164
- package/es/components/sidebar/toolbar-panel.js.map +0 -1
- package/es/components/sign/export.js +0 -6
- package/es/components/sign/export.js.map +0 -1
- package/es/components/sign/main/index.js +0 -560
- package/es/components/sign/main/index.js.map +0 -1
- package/es/components/sign/main/styles.js +0 -20
- package/es/components/sign/main/styles.js.map +0 -1
- package/es/components/style/button.js +0 -114
- package/es/components/style/button.js.map +0 -1
- package/es/components/style/cancel-button.js +0 -23
- package/es/components/style/cancel-button.js.map +0 -1
- package/es/components/style/content-container.js +0 -34
- package/es/components/style/content-container.js.map +0 -1
- package/es/components/style/content-title.js +0 -30
- package/es/components/style/content-title.js.map +0 -1
- package/es/components/style/delete-button.js +0 -26
- package/es/components/style/delete-button.js.map +0 -1
- package/es/components/style/export.js +0 -32
- package/es/components/style/export.js.map +0 -1
- package/es/components/style/form-block.js +0 -25
- package/es/components/style/form-block.js.map +0 -1
- package/es/components/style/form-color-input.js +0 -28
- package/es/components/style/form-color-input.js.map +0 -1
- package/es/components/style/form-label.js +0 -27
- package/es/components/style/form-label.js.map +0 -1
- package/es/components/style/form-number-input.js +0 -190
- package/es/components/style/form-number-input.js.map +0 -1
- package/es/components/style/form-number-input_2.js +0 -207
- package/es/components/style/form-number-input_2.js.map +0 -1
- package/es/components/style/form-select.js +0 -21
- package/es/components/style/form-select.js.map +0 -1
- package/es/components/style/form-slider.js +0 -46
- package/es/components/style/form-slider.js.map +0 -1
- package/es/components/style/form-submit-button.js +0 -27
- package/es/components/style/form-submit-button.js.map +0 -1
- package/es/components/style/form-text-input.js +0 -77
- package/es/components/style/form-text-input.js.map +0 -1
- package/es/components/toolbar/button/ControlButton.js +0 -69
- package/es/components/toolbar/button/ControlButton.js.map +0 -1
- package/es/components/toolbar/button/DirectionButton.js +0 -50
- package/es/components/toolbar/button/DirectionButton.js.map +0 -1
- package/es/components/toolbar/button/RightButton.js +0 -133
- package/es/components/toolbar/button/RightButton.js.map +0 -1
- package/es/components/toolbar/button/ToggleButton.js +0 -59
- package/es/components/toolbar/button/ToggleButton.js.map +0 -1
- package/es/components/toolbar/button/index.js +0 -88
- package/es/components/toolbar/button/index.js.map +0 -1
- package/es/components/toolbar/button/styles.js +0 -14
- package/es/components/toolbar/button/styles.js.map +0 -1
- package/es/components/toolbar/components/DoorStyleMenu.js +0 -105
- package/es/components/toolbar/components/DoorStyleMenu.js.map +0 -1
- package/es/components/toolbar/components/Pricing.js +0 -101
- package/es/components/toolbar/components/Pricing.js.map +0 -1
- package/es/components/toolbar/components/ReviewForQuote.js +0 -476
- package/es/components/toolbar/components/ReviewForQuote.js.map +0 -1
- package/es/components/toolbar/export.js +0 -14
- package/es/components/toolbar/export.js.map +0 -1
- package/es/components/toolbar/main/Alert.js +0 -125
- package/es/components/toolbar/main/Alert.js.map +0 -1
- package/es/components/toolbar/main/TakePictureModal.js +0 -100
- package/es/components/toolbar/main/TakePictureModal.js.map +0 -1
- package/es/components/toolbar/main/confirm-popup.js +0 -88
- package/es/components/toolbar/main/confirm-popup.js.map +0 -1
- package/es/components/toolbar/main/index.js +0 -4612
- package/es/components/toolbar/main/index.js.map +0 -1
- package/es/components/toolbar/main/lShaped.json +0 -311
- package/es/components/toolbar/main/longNarrow.json +0 -238
- package/es/components/toolbar/main/myComponents.js +0 -118
- package/es/components/toolbar/main/myComponents.js.map +0 -1
- package/es/components/toolbar/main/oRectangle.json +0 -220
- package/es/components/toolbar/main/rectangle.json +0 -238
- package/es/components/toolbar/main/style.css +0 -107
- package/es/components/toolbar/main/styles.js +0 -64
- package/es/components/toolbar/main/styles.js.map +0 -1
- package/es/components/toolbar/plugin-item.js +0 -150
- package/es/components/toolbar/plugin-item.js.map +0 -1
- package/es/components/toolbar/popup/appliance/appliance-category/index.js +0 -77
- package/es/components/toolbar/popup/appliance/appliance-category/index.js.map +0 -1
- package/es/components/toolbar/popup/appliance/choose-appliance/index.js +0 -76
- package/es/components/toolbar/popup/appliance/choose-appliance/index.js.map +0 -1
- package/es/components/toolbar/popup/appliance/index.js +0 -81
- package/es/components/toolbar/popup/appliance/index.js.map +0 -1
- package/es/components/toolbar/popup/autosaveprompt/index.js +0 -91
- package/es/components/toolbar/popup/autosaveprompt/index.js.map +0 -1
- package/es/components/toolbar/popup/autosaveprompt/styles.css +0 -64
- package/es/components/toolbar/popup/autosaveprompt/styles.js +0 -9
- package/es/components/toolbar/popup/autosaveprompt/styles.js.map +0 -1
- package/es/components/toolbar/popup/cabinet/cabinet-category/index.js +0 -77
- package/es/components/toolbar/popup/cabinet/cabinet-category/index.js.map +0 -1
- package/es/components/toolbar/popup/cabinet/choose-product/index.js +0 -98
- package/es/components/toolbar/popup/cabinet/choose-product/index.js.map +0 -1
- package/es/components/toolbar/popup/cabinet/index.js +0 -83
- package/es/components/toolbar/popup/cabinet/index.js.map +0 -1
- package/es/components/toolbar/popup/doorStyle/choose-style/index.js +0 -50
- package/es/components/toolbar/popup/doorStyle/choose-style/index.js.map +0 -1
- package/es/components/toolbar/popup/doorStyle/index.js +0 -61
- package/es/components/toolbar/popup/doorStyle/index.js.map +0 -1
- package/es/components/toolbar/popup/doorStyle/style-category/index.js +0 -143
- package/es/components/toolbar/popup/doorStyle/style-category/index.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -3
- package/es/components/toolbar/popup/downloadsummary/downloadSummaryContext.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js +0 -119
- package/es/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/index.js +0 -564
- package/es/components/toolbar/popup/downloadsummary/index.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/show2D/show2DView.js +0 -51
- package/es/components/toolbar/popup/downloadsummary/show2D/show2DView.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js +0 -191
- package/es/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/show3D/show3DView.js +0 -245
- package/es/components/toolbar/popup/downloadsummary/show3D/show3DView.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js +0 -1758
- package/es/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -87
- package/es/components/toolbar/popup/downloadsummary/showCabinetInfo.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js +0 -116
- package/es/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js +0 -1710
- package/es/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js +0 -175
- package/es/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/showWarranty.js +0 -106
- package/es/components/toolbar/popup/downloadsummary/showWarranty.js.map +0 -1
- package/es/components/toolbar/popup/downloadsummary/styles.css +0 -177
- package/es/components/toolbar/popup/downloadsummary/styles.js +0 -40
- package/es/components/toolbar/popup/downloadsummary/styles.js.map +0 -1
- package/es/components/toolbar/popup/finishingtouch/category/index.js +0 -35
- package/es/components/toolbar/popup/finishingtouch/category/index.js.map +0 -1
- package/es/components/toolbar/popup/finishingtouch/index.js +0 -47
- package/es/components/toolbar/popup/finishingtouch/index.js.map +0 -1
- package/es/components/toolbar/popup/finishingtouch/material-edit.js +0 -156
- package/es/components/toolbar/popup/finishingtouch/material-edit.js.map +0 -1
- package/es/components/toolbar/popup/finishingtouch/product/index.js +0 -56
- package/es/components/toolbar/popup/finishingtouch/product/index.js.map +0 -1
- package/es/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js +0 -116
- package/es/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js.map +0 -1
- package/es/components/toolbar/popup/floorplan/choose-floor/index.js +0 -246
- package/es/components/toolbar/popup/floorplan/choose-floor/index.js.map +0 -1
- package/es/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
- package/es/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
- package/es/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
- package/es/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
- package/es/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -11
- package/es/components/toolbar/popup/floorplan/choose-floor/styles.js.map +0 -1
- package/es/components/toolbar/popup/floorplan/floor-category/index.js +0 -90
- package/es/components/toolbar/popup/floorplan/floor-category/index.js.map +0 -1
- package/es/components/toolbar/popup/floorplan/index.js +0 -49
- package/es/components/toolbar/popup/floorplan/index.js.map +0 -1
- package/es/components/toolbar/popup/index.js +0 -188
- package/es/components/toolbar/popup/index.js.map +0 -1
- package/es/components/toolbar/popup/newproject/index.js +0 -67
- package/es/components/toolbar/popup/newproject/index.js.map +0 -1
- package/es/components/toolbar/popup/newproject/styles.css +0 -64
- package/es/components/toolbar/popup/newproject/styles.js +0 -9
- package/es/components/toolbar/popup/newproject/styles.js.map +0 -1
- package/es/components/toolbar/popup/product/appliance.js +0 -65
- package/es/components/toolbar/popup/product/appliance.js.map +0 -1
- package/es/components/toolbar/popup/product/cabinetproduct.js +0 -25
- package/es/components/toolbar/popup/product/cabinetproduct.js.map +0 -1
- package/es/components/toolbar/popup/product/doorstyle.js +0 -50
- package/es/components/toolbar/popup/product/doorstyle.js.map +0 -1
- package/es/components/toolbar/popup/product/doorstyleproduct.js +0 -51
- package/es/components/toolbar/popup/product/doorstyleproduct.js.map +0 -1
- package/es/components/toolbar/popup/product/floor.js +0 -52
- package/es/components/toolbar/popup/product/floor.js.map +0 -1
- package/es/components/toolbar/popup/product/floorproduct.js +0 -61
- package/es/components/toolbar/popup/product/floorproduct.js.map +0 -1
- package/es/components/toolbar/popup/product/index.js +0 -52
- package/es/components/toolbar/popup/product/index.js.map +0 -1
- package/es/components/toolbar/popup/product/primary.js +0 -63
- package/es/components/toolbar/popup/product/primary.js.map +0 -1
- package/es/components/toolbar/popup/product/productline.js +0 -120
- package/es/components/toolbar/popup/product/productline.js.map +0 -1
- package/es/components/toolbar/popup/product/reviewItem.js +0 -338
- package/es/components/toolbar/popup/product/reviewItem.js.map +0 -1
- package/es/components/toolbar/popup/product/reviewMolding.js +0 -282
- package/es/components/toolbar/popup/product/reviewMolding.js.map +0 -1
- package/es/components/toolbar/popup/product/style.css +0 -54
- package/es/components/toolbar/popup/product/styles.js +0 -71
- package/es/components/toolbar/popup/product/styles.js.map +0 -1
- package/es/components/toolbar/popup/savedesign/FullPictureForm.js +0 -161
- package/es/components/toolbar/popup/savedesign/FullPictureForm.js.map +0 -1
- package/es/components/toolbar/popup/savedesign/index.js +0 -508
- package/es/components/toolbar/popup/savedesign/index.js.map +0 -1
- package/es/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
- package/es/components/toolbar/popup/savedesign/styles.js +0 -19
- package/es/components/toolbar/popup/savedesign/styles.js.map +0 -1
- package/es/components/toolbar/popup/setDoorStyleOption/index.js +0 -57
- package/es/components/toolbar/popup/setDoorStyleOption/index.js.map +0 -1
- package/es/components/toolbar/popup/styles.js +0 -98
- package/es/components/toolbar/popup/styles.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/AddToCartOptions.js +0 -157
- package/es/components/toolbar/popup/submitforquote/AddToCartOptions.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/CustomerRequestsForm.js +0 -85
- package/es/components/toolbar/popup/submitforquote/CustomerRequestsForm.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/SkipDesignerReview.js +0 -36
- package/es/components/toolbar/popup/submitforquote/SkipDesignerReview.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/StepDots.js +0 -33
- package/es/components/toolbar/popup/submitforquote/StepDots.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/cart-choice.js +0 -132
- package/es/components/toolbar/popup/submitforquote/cart-choice.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -43
- package/es/components/toolbar/popup/submitforquote/doorstyle-menus.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/index.js +0 -690
- package/es/components/toolbar/popup/submitforquote/index.js.map +0 -1
- package/es/components/toolbar/popup/submitforquote/styles.css +0 -105
- package/es/components/toolbar/popup/submitforquote/styles.js +0 -31
- package/es/components/toolbar/popup/submitforquote/styles.js.map +0 -1
- package/es/components/toolbar/popup/submitprompt/index.js +0 -71
- package/es/components/toolbar/popup/submitprompt/index.js.map +0 -1
- package/es/components/toolbar/popup/submitprompt/styles.css +0 -64
- package/es/components/toolbar/popup/submitprompt/styles.js +0 -9
- package/es/components/toolbar/popup/submitprompt/styles.js.map +0 -1
- package/es/components/toolbar/toolbar-button.js +0 -105
- package/es/components/toolbar/toolbar-button.js.map +0 -1
- package/es/components/toolbar/toolbar-load-button.js +0 -29
- package/es/components/toolbar/toolbar-load-button.js.map +0 -1
- package/es/components/toolbar/toolbar-save-button.js +0 -27
- package/es/components/toolbar/toolbar-save-button.js.map +0 -1
- package/es/components/tutorial-view/Modal.js +0 -498
- package/es/components/tutorial-view/Modal.js.map +0 -1
- package/es/components/tutorial-view/style.css +0 -111
- package/es/components/tutorial-view/styles.js +0 -6
- package/es/components/tutorial-view/styles.js.map +0 -1
- package/es/components/viewer2d/area.js +0 -83
- package/es/components/viewer2d/area.js.map +0 -1
- package/es/components/viewer2d/export.js +0 -32
- package/es/components/viewer2d/export.js.map +0 -1
- package/es/components/viewer2d/grids/grid-horizontal-streak.js +0 -38
- package/es/components/viewer2d/grids/grid-horizontal-streak.js.map +0 -1
- package/es/components/viewer2d/grids/grid-streak.js +0 -38
- package/es/components/viewer2d/grids/grid-streak.js.map +0 -1
- package/es/components/viewer2d/grids/grid-vertical-streak.js +0 -38
- package/es/components/viewer2d/grids/grid-vertical-streak.js.map +0 -1
- package/es/components/viewer2d/grids/grids.js +0 -36
- package/es/components/viewer2d/grids/grids.js.map +0 -1
- package/es/components/viewer2d/group.js +0 -54
- package/es/components/viewer2d/group.js.map +0 -1
- package/es/components/viewer2d/item.js +0 -514
- package/es/components/viewer2d/item.js.map +0 -1
- package/es/components/viewer2d/layer.js +0 -165
- package/es/components/viewer2d/layer.js.map +0 -1
- package/es/components/viewer2d/line.js +0 -889
- package/es/components/viewer2d/line.js.map +0 -1
- package/es/components/viewer2d/ruler.js +0 -101
- package/es/components/viewer2d/ruler.js.map +0 -1
- package/es/components/viewer2d/rulerDist.js +0 -147
- package/es/components/viewer2d/rulerDist.js.map +0 -1
- package/es/components/viewer2d/rulerX.js +0 -152
- package/es/components/viewer2d/rulerX.js.map +0 -1
- package/es/components/viewer2d/rulerY.js +0 -154
- package/es/components/viewer2d/rulerY.js.map +0 -1
- package/es/components/viewer2d/scene.js +0 -141
- package/es/components/viewer2d/scene.js.map +0 -1
- package/es/components/viewer2d/snap.js +0 -75
- package/es/components/viewer2d/snap.js.map +0 -1
- package/es/components/viewer2d/state.js +0 -79
- package/es/components/viewer2d/state.js.map +0 -1
- package/es/components/viewer2d/utils.js +0 -163
- package/es/components/viewer2d/utils.js.map +0 -1
- package/es/components/viewer2d/vertex.js +0 -67
- package/es/components/viewer2d/vertex.js.map +0 -1
- package/es/components/viewer2d/viewer2d.js +0 -1402
- package/es/components/viewer2d/viewer2d.js.map +0 -1
- package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +0 -2593
- package/es/components/viewer3d/camera-controls-module/camera-controls.module.js.map +0 -1
- package/es/components/viewer3d/dcm.js +0 -402
- package/es/components/viewer3d/dcm.js.map +0 -1
- package/es/components/viewer3d/fbm.js +0 -415
- package/es/components/viewer3d/fbm.js.map +0 -1
- package/es/components/viewer3d/front3D.js +0 -67
- package/es/components/viewer3d/front3D.js.map +0 -1
- package/es/components/viewer3d/grid-creator.js +0 -26
- package/es/components/viewer3d/grid-creator.js.map +0 -1
- package/es/components/viewer3d/grids/grid-horizontal-streak.js +0 -37
- package/es/components/viewer3d/grids/grid-horizontal-streak.js.map +0 -1
- package/es/components/viewer3d/grids/grid-streak.js +0 -28
- package/es/components/viewer3d/grids/grid-streak.js.map +0 -1
- package/es/components/viewer3d/grids/grid-vertical-streak.js +0 -37
- package/es/components/viewer3d/grids/grid-vertical-streak.js.map +0 -1
- package/es/components/viewer3d/libs/first-person-controls.js +0 -68
- package/es/components/viewer3d/libs/first-person-controls.js.map +0 -1
- package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +0 -1282
- package/es/components/viewer3d/libs/helvetiker_regular.typeface.js.map +0 -1
- package/es/components/viewer3d/libs/mtl-loader.js +0 -358
- package/es/components/viewer3d/libs/mtl-loader.js.map +0 -1
- package/es/components/viewer3d/libs/obj-loader.js +0 -463
- package/es/components/viewer3d/libs/obj-loader.js.map +0 -1
- package/es/components/viewer3d/libs/orbit-controls.js +0 -699
- package/es/components/viewer3d/libs/orbit-controls.js.map +0 -1
- package/es/components/viewer3d/libs/pointer-lock-controls.js +0 -46
- package/es/components/viewer3d/libs/pointer-lock-controls.js.map +0 -1
- package/es/components/viewer3d/lrm.js +0 -306
- package/es/components/viewer3d/lrm.js.map +0 -1
- package/es/components/viewer3d/model.js +0 -709
- package/es/components/viewer3d/model.js.map +0 -1
- package/es/components/viewer3d/pointer-lock-navigation.js +0 -116
- package/es/components/viewer3d/pointer-lock-navigation.js.map +0 -1
- package/es/components/viewer3d/ruler-utils/itemRect.js +0 -62
- package/es/components/viewer3d/ruler-utils/itemRect.js.map +0 -1
- package/es/components/viewer3d/ruler-utils/layer3D.js +0 -496
- package/es/components/viewer3d/ruler-utils/layer3D.js.map +0 -1
- package/es/components/viewer3d/ruler-utils/ruler3D.js +0 -228
- package/es/components/viewer3d/ruler-utils/ruler3D.js.map +0 -1
- package/es/components/viewer3d/ruler-utils/scene3D.js +0 -62
- package/es/components/viewer3d/ruler-utils/scene3D.js.map +0 -1
- package/es/components/viewer3d/ruler-utils/state3D.js +0 -19
- package/es/components/viewer3d/ruler-utils/state3D.js.map +0 -1
- package/es/components/viewer3d/scene-creator.js +0 -3607
- package/es/components/viewer3d/scene-creator.js.map +0 -1
- package/es/components/viewer3d/three-memory-cleaner.js +0 -52
- package/es/components/viewer3d/three-memory-cleaner.js.map +0 -1
- package/es/components/viewer3d/viewer3d-first-person.js +0 -316
- package/es/components/viewer3d/viewer3d-first-person.js.map +0 -1
- package/es/components/viewer3d/viewer3d.js +0 -2504
- package/es/components/viewer3d/viewer3d.js.map +0 -1
- package/es/components/wizardstep/button/styles.js +0 -60
- package/es/components/wizardstep/button/styles.js.map +0 -1
- package/es/components/wizardstep/export.js +0 -5
- package/es/components/wizardstep/export.js.map +0 -1
- package/es/components/wizardstep/index.js +0 -971
- package/es/components/wizardstep/index.js.map +0 -1
- package/es/components/wizardstep/styles.js +0 -61
- package/es/components/wizardstep/styles.js.map +0 -1
- package/es/components/wizardstep/wizardstep-content-button.js +0 -217
- package/es/components/wizardstep/wizardstep-content-button.js.map +0 -1
- package/es/components/wizardstep/wizardstep-toggle-button.js +0 -126
- package/es/components/wizardstep/wizardstep-toggle-button.js.map +0 -1
- package/es/constants.js +0 -637
- package/es/constants.js.map +0 -1
- package/es/hooks/useCheckCart.js +0 -53
- package/es/hooks/useCheckCart.js.map +0 -1
- package/es/hooks/useGetPricesBySku.js +0 -74
- package/es/hooks/useGetPricesBySku.js.map +0 -1
- package/es/hooks/useValidateToken.js +0 -201
- package/es/hooks/useValidateToken.js.map +0 -1
- package/es/index.js +0 -17
- package/es/index.js.map +0 -1
- package/es/models.js +0 -511
- package/es/models.js.map +0 -1
- package/es/plugins/SVGLoader.js +0 -1413
- package/es/plugins/SVGLoader.js.map +0 -1
- package/es/plugins/autosave.js +0 -34
- package/es/plugins/autosave.js.map +0 -1
- package/es/plugins/console-debugger.js +0 -38
- package/es/plugins/console-debugger.js.map +0 -1
- package/es/plugins/export.js +0 -10
- package/es/plugins/export.js.map +0 -1
- package/es/plugins/keyboard.js +0 -102
- package/es/plugins/keyboard.js.map +0 -1
- package/es/reducers/areas-reducer.js +0 -13
- package/es/reducers/areas-reducer.js.map +0 -1
- package/es/reducers/export.js +0 -26
- package/es/reducers/export.js.map +0 -1
- package/es/reducers/groups-reducer.js +0 -39
- package/es/reducers/groups-reducer.js.map +0 -1
- package/es/reducers/holes-reducer.js +0 -63
- package/es/reducers/holes-reducer.js.map +0 -1
- package/es/reducers/items-reducer.js +0 -144
- package/es/reducers/items-reducer.js.map +0 -1
- package/es/reducers/lines-reducer.js +0 -46
- package/es/reducers/lines-reducer.js.map +0 -1
- package/es/reducers/project-reducer.js +0 -130
- package/es/reducers/project-reducer.js.map +0 -1
- package/es/reducers/reducer.js +0 -20
- package/es/reducers/reducer.js.map +0 -1
- package/es/reducers/scene-reducer.js +0 -29
- package/es/reducers/scene-reducer.js.map +0 -1
- package/es/reducers/user-reducer.js +0 -42
- package/es/reducers/user-reducer.js.map +0 -1
- package/es/reducers/vertices-reducer.js +0 -20
- package/es/reducers/vertices-reducer.js.map +0 -1
- package/es/reducers/viewer2d-reducer.js +0 -76
- package/es/reducers/viewer2d-reducer.js.map +0 -1
- package/es/reducers/viewer3d-reducer.js +0 -57
- package/es/reducers/viewer3d-reducer.js.map +0 -1
- package/es/shared-style.js +0 -67
- package/es/shared-style.js.map +0 -1
- package/es/styles/export.js +0 -6
- package/es/styles/export.js.map +0 -1
- package/es/styles/tabs.css +0 -40
- package/es/translator/en.js +0 -105
- package/es/translator/en.js.map +0 -1
- package/es/translator/it.js +0 -80
- package/es/translator/it.js.map +0 -1
- package/es/translator/ru.js +0 -80
- package/es/translator/ru.js.map +0 -1
- package/es/translator/translator.js +0 -85
- package/es/translator/translator.js.map +0 -1
- package/es/utils/browser.js +0 -34
- package/es/utils/browser.js.map +0 -1
- package/es/utils/email-validator.js +0 -5
- package/es/utils/email-validator.js.map +0 -1
- package/es/utils/export.js +0 -26
- package/es/utils/export.js.map +0 -1
- package/es/utils/geometry.js +0 -2237
- package/es/utils/geometry.js.map +0 -1
- package/es/utils/get-edges-of-subgraphs.js +0 -27
- package/es/utils/get-edges-of-subgraphs.js.map +0 -1
- package/es/utils/graph-cycles.js +0 -239
- package/es/utils/graph-cycles.js.map +0 -1
- package/es/utils/graph-inner-cycles.js +0 -47
- package/es/utils/graph-inner-cycles.js.map +0 -1
- package/es/utils/graph.js +0 -150
- package/es/utils/graph.js.map +0 -1
- package/es/utils/helper.js +0 -337
- package/es/utils/helper.js.map +0 -1
- package/es/utils/history.js +0 -30
- package/es/utils/history.js.map +0 -1
- package/es/utils/id-broker.js +0 -20
- package/es/utils/id-broker.js.map +0 -1
- package/es/utils/logger.js +0 -9
- package/es/utils/logger.js.map +0 -1
- package/es/utils/math.js +0 -51
- package/es/utils/math.js.map +0 -1
- package/es/utils/molding.js +0 -840
- package/es/utils/molding.js.map +0 -1
- package/es/utils/name-generator.js +0 -19
- package/es/utils/name-generator.js.map +0 -1
- package/es/utils/objects-utils.js +0 -51
- package/es/utils/objects-utils.js.map +0 -1
- package/es/utils/phone-validator.js +0 -5
- package/es/utils/phone-validator.js.map +0 -1
- package/es/utils/process-black-list.js +0 -19
- package/es/utils/process-black-list.js.map +0 -1
- package/es/utils/react-if.js +0 -19
- package/es/utils/react-if.js.map +0 -1
- package/es/utils/snap-scene.js +0 -100
- package/es/utils/snap-scene.js.map +0 -1
- package/es/utils/snap.js +0 -238
- package/es/utils/snap.js.map +0 -1
- package/es/utils/threeCSG.es6.js +0 -499
- package/es/utils/threeCSG.es6.js.map +0 -1
- package/es/version.js +0 -2
- package/es/version.js.map +0 -1
|
@@ -1,801 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
4
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
|
-
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
9
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
10
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
12
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
13
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
14
|
-
import Tooltip from '@material-ui/core/Tooltip';
|
|
15
|
-
import React, { Component } from 'react';
|
|
16
|
-
import PropTypes from 'prop-types';
|
|
17
|
-
import * as S from './styles';
|
|
18
|
-
import { GeometryUtils } from '../../utils/export';
|
|
19
|
-
import { toFixedFloat } from '../../utils/math';
|
|
20
|
-
import convert from 'convert-units';
|
|
21
|
-
import { zoom } from 'react-svg-pan-zoom';
|
|
22
|
-
import SnackBar from '../atoms/Snackbar/index';
|
|
23
|
-
import ToggleMeasureButton from '../button/ToggleMeasureButton';
|
|
24
|
-
import { EPSILON, MODE_IDLE, MODE_IDLE_3D, ARRAY_3D_MODES, KEYBOARD_BUTTON_CODE, TEXT_COLOR_NEUTRAL_5, MODE_ELEVATION_VIEW } from '../../constants';
|
|
25
|
-
import * as constants from '../../constants';
|
|
26
|
-
import { isElevationView } from '../../utils/helper';
|
|
27
|
-
var allItemRect;
|
|
28
|
-
var allItemSnap;
|
|
29
|
-
var allLines;
|
|
30
|
-
var allLineRects;
|
|
31
|
-
var allLineSnap;
|
|
32
|
-
var allRect;
|
|
33
|
-
var FooterBar = /*#__PURE__*/function (_Component) {
|
|
34
|
-
function FooterBar(props, context) {
|
|
35
|
-
var _this;
|
|
36
|
-
_classCallCheck(this, FooterBar);
|
|
37
|
-
_this = _callSuper(this, FooterBar, [props, context]);
|
|
38
|
-
var selectedLayout = props.state.scene.selectedLayer;
|
|
39
|
-
var height = props.state.scene.layers.get(selectedLayout).ceilHeight;
|
|
40
|
-
var unit = props.state.scene.layers.get(selectedLayout).unit;
|
|
41
|
-
_this.state = {
|
|
42
|
-
objectSetting: null,
|
|
43
|
-
controlButton: '',
|
|
44
|
-
panButton: '',
|
|
45
|
-
toggleUnit: 'in',
|
|
46
|
-
dragFlag: true,
|
|
47
|
-
unit: unit,
|
|
48
|
-
ceilFlag: false,
|
|
49
|
-
ceil3DFlag: false,
|
|
50
|
-
height: height,
|
|
51
|
-
zoomValue: 100,
|
|
52
|
-
isSnackBarOpen: false,
|
|
53
|
-
snackBarMessage: ''
|
|
54
|
-
};
|
|
55
|
-
return _this;
|
|
56
|
-
}
|
|
57
|
-
_inherits(FooterBar, _Component);
|
|
58
|
-
return _createClass(FooterBar, [{
|
|
59
|
-
key: "componentDidMount",
|
|
60
|
-
value: function componentDidMount() {}
|
|
61
|
-
}, {
|
|
62
|
-
key: "componentWillReceiveProps",
|
|
63
|
-
value: function componentWillReceiveProps(nextProps) {
|
|
64
|
-
var selectedLayout = nextProps.state.scene.selectedLayer;
|
|
65
|
-
var height = nextProps.state.scene.layers.get(selectedLayout).ceilHeight;
|
|
66
|
-
var unit = nextProps.state.scene.layers.get(selectedLayout).unit;
|
|
67
|
-
var viewer2DValue = nextProps.state.get('viewer2D').toJS();
|
|
68
|
-
var _zoomValue = parseInt((viewer2DValue.a - 0.5) / constants.ZOOM_VARIABLE);
|
|
69
|
-
if (_zoomValue > 380) {
|
|
70
|
-
_zoomValue = 400;
|
|
71
|
-
}
|
|
72
|
-
if (_zoomValue < 35 || Number.isNaN(_zoomValue)) {
|
|
73
|
-
_zoomValue = 30;
|
|
74
|
-
}
|
|
75
|
-
this.setState({
|
|
76
|
-
height: height,
|
|
77
|
-
unit: unit,
|
|
78
|
-
zoomValue: _zoomValue
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
key: "render",
|
|
83
|
-
value: function render() {
|
|
84
|
-
var _this2 = this;
|
|
85
|
-
var globalState = this.props.state;
|
|
86
|
-
var layer = globalState.scene.layers.get(globalState.scene.selectedLayer);
|
|
87
|
-
var selectedItems = [];
|
|
88
|
-
if (layer.selected.items.size > 0) {
|
|
89
|
-
selectedItems = layer.selected.items.toJS();
|
|
90
|
-
}
|
|
91
|
-
var selLineFlag = true; // this flag whether line was selected or not
|
|
92
|
-
if (layer.selected.lines.size === 0) {
|
|
93
|
-
selLineFlag = false;
|
|
94
|
-
} else selLineFlag = true;
|
|
95
|
-
var _this$context = this.context,
|
|
96
|
-
projectActions = _this$context.projectActions,
|
|
97
|
-
viewer3DActions = _this$context.viewer3DActions,
|
|
98
|
-
viewer2DActions = _this$context.viewer2DActions,
|
|
99
|
-
itemsActions = _this$context.itemsActions,
|
|
100
|
-
catalog = _this$context.catalog;
|
|
101
|
-
var _this$state = this.state,
|
|
102
|
-
control = _this$state.controlButton,
|
|
103
|
-
pan_control = _this$state.panButton,
|
|
104
|
-
toggleUnit = _this$state.toggleUnit,
|
|
105
|
-
dragFlag = _this$state.dragFlag;
|
|
106
|
-
// let { x, y } = globalState.get('mouse').toJS();
|
|
107
|
-
// let zoom = globalState.get('zoom');
|
|
108
|
-
var mode = globalState.get('mode');
|
|
109
|
-
var scene = globalState.get('scene');
|
|
110
|
-
var elevationImg = '/assets/img/svg/bottombar/elevation.svg';
|
|
111
|
-
var update = function update(LengthInput, unitInput, type) {
|
|
112
|
-
var newLength = toFixedFloat(LengthInput);
|
|
113
|
-
if (type === 0) {
|
|
114
|
-
_this2.setState({
|
|
115
|
-
height: newLength
|
|
116
|
-
});
|
|
117
|
-
viewer2DActions.updateCeilHeight(newLength);
|
|
118
|
-
viewer2DActions.updateCeilHeightUnit(unitInput);
|
|
119
|
-
viewer3DActions.update3DCeilHeight(newLength);
|
|
120
|
-
viewer3DActions.update3DCeilHeightUnit(unitInput);
|
|
121
|
-
} else {
|
|
122
|
-
_this2.setState({
|
|
123
|
-
height: convert(newLength).from(_this2.state.unit).to(unitInput)
|
|
124
|
-
});
|
|
125
|
-
_this2.setState({
|
|
126
|
-
unit: unitInput
|
|
127
|
-
});
|
|
128
|
-
viewer2DActions.updateCeilHeight(convert(newLength).from(_this2.state.unit).to(unitInput));
|
|
129
|
-
viewer2DActions.updateCeilHeightUnit(unitInput);
|
|
130
|
-
viewer3DActions.update3DCeilHeightUnit(unitInput);
|
|
131
|
-
viewer3DActions.update3DCeilHeight(convert(newLength).from(_this2.state.unit).to(unitInput));
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
var prepareSnap = function prepareSnap() {
|
|
135
|
-
allItemRect = GeometryUtils.getAllItems(scene, catalog);
|
|
136
|
-
allItemSnap = GeometryUtils.getAllItemSnap(allItemRect);
|
|
137
|
-
allLines = GeometryUtils.getAllLines(layer);
|
|
138
|
-
allLineRects = GeometryUtils.buildRectFromLines(layer, allLines);
|
|
139
|
-
allLineSnap = GeometryUtils.getAllLineSnap(allLineRects, allItemRect.cur);
|
|
140
|
-
allRect = allItemRect.others.concat(allLineRects);
|
|
141
|
-
allItemSnap = GeometryUtils.validateSnaps(allItemSnap, allRect);
|
|
142
|
-
allLineSnap = GeometryUtils.validateSnaps(allLineSnap, allRect);
|
|
143
|
-
};
|
|
144
|
-
function spinDragStart(key) {
|
|
145
|
-
if (dragFlag) {
|
|
146
|
-
window.interval = setInterval(function () {
|
|
147
|
-
window.SPKeyDown({
|
|
148
|
-
keyCode: key
|
|
149
|
-
});
|
|
150
|
-
}, 50);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
function spinDragStop() {
|
|
154
|
-
clearInterval(window.interval);
|
|
155
|
-
}
|
|
156
|
-
function panDragStart(key) {
|
|
157
|
-
if (dragFlag) {
|
|
158
|
-
window.interval = setInterval(function () {
|
|
159
|
-
window.tDKeyDown({
|
|
160
|
-
keyCode: key
|
|
161
|
-
});
|
|
162
|
-
}, 50);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
function panDragStop() {
|
|
166
|
-
clearInterval(window.interval);
|
|
167
|
-
}
|
|
168
|
-
function validOutSVG(x, y) {
|
|
169
|
-
var _globalState$get$toJS = globalState.get('viewer2D').toJS(),
|
|
170
|
-
SVGWidth = _globalState$get$toJS.SVGWidth,
|
|
171
|
-
SVGHeight = _globalState$get$toJS.SVGHeight;
|
|
172
|
-
if (x < 0 || x > SVGWidth || y < 0 || y > SVGHeight) return false;
|
|
173
|
-
return true;
|
|
174
|
-
}
|
|
175
|
-
var OpenSettings = function OpenSettings(e) {
|
|
176
|
-
e.preventDefault();
|
|
177
|
-
document.getElementById('setting_dialog').style.display = 'flex';
|
|
178
|
-
// closes the selected item dialog
|
|
179
|
-
// projectActions.unselectAll()
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
// handle action to view elevation
|
|
183
|
-
var ViewElevation = function ViewElevation() {
|
|
184
|
-
var layer = globalState.scene.getIn(['layers', globalState.scene.selectedLayer]);
|
|
185
|
-
if (layer.selected.lines.size === 0) {
|
|
186
|
-
_this2.setState({
|
|
187
|
-
isSnackBarOpen: true,
|
|
188
|
-
snackBarMessage: 'Please select the wall you want to see in Elevation View'
|
|
189
|
-
});
|
|
190
|
-
return;
|
|
191
|
-
}
|
|
192
|
-
projectActions.setMode(MODE_ELEVATION_VIEW);
|
|
193
|
-
};
|
|
194
|
-
var footerview = isElevationView(mode) ? /*#__PURE__*/React.createElement("div", {
|
|
195
|
-
style: {
|
|
196
|
-
display: 'flex',
|
|
197
|
-
position: 'relative',
|
|
198
|
-
backgroundColor: 'white',
|
|
199
|
-
height: 70,
|
|
200
|
-
cursor: 'pointer',
|
|
201
|
-
boxShadow: '0px 3px 5px -1px rgba(156, 154, 154, 0.2), 0px 6px 10px 0px rgba(156, 154, 154, 0.39), 0px 1px 18px 0px rgba(156, 154, 154, 0.12)',
|
|
202
|
-
borderRadius: 10,
|
|
203
|
-
alignItems: 'center'
|
|
204
|
-
}
|
|
205
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
206
|
-
onClick: function onClick() {
|
|
207
|
-
_this2.props.setToolbar('');
|
|
208
|
-
projectActions.setMode(MODE_IDLE);
|
|
209
|
-
var layer = globalState.scene.getIn(['layers', globalState.scene.selectedLayer]);
|
|
210
|
-
var sCount = layer.selected.areas.size + layer.selected.holes.size + layer.selected.items.size + layer.selected.lines.size;
|
|
211
|
-
if (sCount > 1) projectActions.unselectAll();
|
|
212
|
-
// this.props.setShowProperty(true);
|
|
213
|
-
_this2.setState({
|
|
214
|
-
ceil3DFlag: false
|
|
215
|
-
});
|
|
216
|
-
// document.getElementById('item_custom') && (document.getElementById('item_custom').style.display = document.getElementById('item_custom').style.display === 'flex' && 'none');
|
|
217
|
-
document.getElementById('item_warning') && document.getElementById('item_custom') && (document.getElementById('item_warning').style.display = document.getElementById('item_custom').style.display === 'flex' && 'none');
|
|
218
|
-
}
|
|
219
|
-
}, /*#__PURE__*/React.createElement(S.FooterTitle, null, "2D")), /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
220
|
-
style: {
|
|
221
|
-
marginLeft: 5
|
|
222
|
-
},
|
|
223
|
-
onClick: function onClick() {
|
|
224
|
-
_this2.props.setToolbar('');
|
|
225
|
-
projectActions.setMode(MODE_IDLE_3D);
|
|
226
|
-
var layer = globalState.scene.getIn(['layers', globalState.scene.selectedLayer]);
|
|
227
|
-
var sCount = layer.selected.areas.size + layer.selected.holes.size + layer.selected.items.size + layer.selected.lines.size;
|
|
228
|
-
if (sCount > 1) projectActions.unselectAll();
|
|
229
|
-
_this2.setState({
|
|
230
|
-
ceilFlag: false
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
}, /*#__PURE__*/React.createElement(S.FooterTitle, null, "3D")), selLineFlag ? /*#__PURE__*/React.createElement(Tooltip, {
|
|
234
|
-
title: "Elevation View"
|
|
235
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
236
|
-
style: {
|
|
237
|
-
backgroundColor: TEXT_COLOR_NEUTRAL_5
|
|
238
|
-
},
|
|
239
|
-
onClick: function onClick() {
|
|
240
|
-
return ViewElevation();
|
|
241
|
-
}
|
|
242
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
243
|
-
style: {
|
|
244
|
-
width: 20,
|
|
245
|
-
height: 20
|
|
246
|
-
},
|
|
247
|
-
src: elevationImg
|
|
248
|
-
}))) : /*#__PURE__*/React.createElement(Tooltip, {
|
|
249
|
-
title: /*#__PURE__*/React.createElement("span", null, "Please select a wall")
|
|
250
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D_Button, {
|
|
251
|
-
style: {
|
|
252
|
-
backgroundColor: TEXT_COLOR_NEUTRAL_5
|
|
253
|
-
}
|
|
254
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
255
|
-
style: {
|
|
256
|
-
width: 20,
|
|
257
|
-
height: 20
|
|
258
|
-
},
|
|
259
|
-
src: elevationImg
|
|
260
|
-
}))), /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
261
|
-
style: {
|
|
262
|
-
marginLeft: 5,
|
|
263
|
-
marginRight: 10,
|
|
264
|
-
backgroundColor: document.getElementById('setting_dialog') && document.getElementById('setting_dialog').style.display === 'flex' && TEXT_COLOR_NEUTRAL_5
|
|
265
|
-
},
|
|
266
|
-
onClick: function onClick(e) {
|
|
267
|
-
_this2.props.setToolbar('');
|
|
268
|
-
OpenSettings(e);
|
|
269
|
-
}
|
|
270
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
271
|
-
src: "/assets/img/svg/headerbar/setting.svg",
|
|
272
|
-
style: {
|
|
273
|
-
height: 18
|
|
274
|
-
}
|
|
275
|
-
}))) : !ARRAY_3D_MODES.includes(mode) ? /*#__PURE__*/React.createElement("div", {
|
|
276
|
-
style: {
|
|
277
|
-
display: 'flex',
|
|
278
|
-
position: 'relative',
|
|
279
|
-
backgroundColor: 'white',
|
|
280
|
-
height: 70,
|
|
281
|
-
cursor: 'pointer',
|
|
282
|
-
boxShadow: '0px 3px 5px -1px rgba(156, 154, 154, 0.2), 0px 6px 10px 0px rgba(156, 154, 154, 0.39), 0px 1px 18px 0px rgba(156, 154, 154, 0.12)',
|
|
283
|
-
borderRadius: 10,
|
|
284
|
-
alignItems: 'center'
|
|
285
|
-
}
|
|
286
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
287
|
-
style: {
|
|
288
|
-
backgroundColor: TEXT_COLOR_NEUTRAL_5
|
|
289
|
-
}
|
|
290
|
-
}, /*#__PURE__*/React.createElement(S.FooterTitle, {
|
|
291
|
-
style: {
|
|
292
|
-
fontWeight: '800'
|
|
293
|
-
}
|
|
294
|
-
}, "2D")), /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
295
|
-
style: {
|
|
296
|
-
marginLeft: 5
|
|
297
|
-
},
|
|
298
|
-
onClick: function onClick() {
|
|
299
|
-
_this2.props.setToolbar('');
|
|
300
|
-
projectActions.setMode(MODE_IDLE_3D);
|
|
301
|
-
var layer = globalState.scene.getIn(['layers', globalState.scene.selectedLayer]);
|
|
302
|
-
var sCount = layer.selected.areas.size + layer.selected.holes.size + layer.selected.items.size + layer.selected.lines.size;
|
|
303
|
-
if (sCount > 1) projectActions.unselectAll();
|
|
304
|
-
_this2.setState({
|
|
305
|
-
ceilFlag: false
|
|
306
|
-
});
|
|
307
|
-
}
|
|
308
|
-
}, /*#__PURE__*/React.createElement(S.FooterTitle, null, "3D")), selLineFlag ? /*#__PURE__*/React.createElement(Tooltip, {
|
|
309
|
-
title: "Elevation View"
|
|
310
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
311
|
-
onClick: function onClick() {
|
|
312
|
-
return ViewElevation();
|
|
313
|
-
}
|
|
314
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
315
|
-
style: {
|
|
316
|
-
width: 20,
|
|
317
|
-
height: 20
|
|
318
|
-
},
|
|
319
|
-
src: elevationImg
|
|
320
|
-
}))) : /*#__PURE__*/React.createElement(Tooltip, {
|
|
321
|
-
title: /*#__PURE__*/React.createElement("span", null, "Please select a wall")
|
|
322
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D_Button, null, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
323
|
-
style: {
|
|
324
|
-
width: 20,
|
|
325
|
-
height: 20
|
|
326
|
-
},
|
|
327
|
-
src: elevationImg
|
|
328
|
-
}))), /*#__PURE__*/React.createElement(S.Direction_Left_Right, {
|
|
329
|
-
onClick: function onClick() {
|
|
330
|
-
_this2.props.setToolbar('');
|
|
331
|
-
_this2.setState({
|
|
332
|
-
controlButton: 'Left'
|
|
333
|
-
});
|
|
334
|
-
var value = globalState.get('viewer2D').toJS();
|
|
335
|
-
value.e -= 5;
|
|
336
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
337
|
-
viewer2DActions.updateCameraView(value);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
341
|
-
src: "/assets/img/svg/bottombar/arrow-left.svg"
|
|
342
|
-
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(S.Direction_Up_Down, {
|
|
343
|
-
onClick: function onClick() {
|
|
344
|
-
_this2.props.setToolbar('');
|
|
345
|
-
_this2.setState({
|
|
346
|
-
controlButton: 'Top'
|
|
347
|
-
});
|
|
348
|
-
var value = globalState.get('viewer2D').toJS();
|
|
349
|
-
value.f -= 5;
|
|
350
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
351
|
-
viewer2DActions.updateCameraView(value);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
355
|
-
src: "/assets/img/svg/bottombar/arrow-up.svg"
|
|
356
|
-
})), /*#__PURE__*/React.createElement(S.Direction_Up_Down, {
|
|
357
|
-
onClick: function onClick() {
|
|
358
|
-
_this2.props.setToolbar('');
|
|
359
|
-
_this2.setState({
|
|
360
|
-
controlButton: 'Bottom'
|
|
361
|
-
});
|
|
362
|
-
var value = globalState.get('viewer2D').toJS();
|
|
363
|
-
value.f += 5;
|
|
364
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
365
|
-
viewer2DActions.updateCameraView(value);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
369
|
-
src: "/assets/img/svg/bottombar/arrow-down.svg"
|
|
370
|
-
}))), /*#__PURE__*/React.createElement(S.Direction_Left_Right, {
|
|
371
|
-
onClick: function onClick() {
|
|
372
|
-
_this2.props.setToolbar('');
|
|
373
|
-
_this2.setState({
|
|
374
|
-
controlButton: 'Right'
|
|
375
|
-
});
|
|
376
|
-
var value = globalState.get('viewer2D').toJS();
|
|
377
|
-
value.e += 5;
|
|
378
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
379
|
-
viewer2DActions.updateCameraView(value);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
383
|
-
src: "/assets/img/svg/bottombar/arrow-right.svg"
|
|
384
|
-
})), /*#__PURE__*/React.createElement(S.ZoomButton, {
|
|
385
|
-
onClick: function onClick() {
|
|
386
|
-
_this2.props.setToolbar('');
|
|
387
|
-
_this2.setState({
|
|
388
|
-
controlButton: 'Zoom Out'
|
|
389
|
-
});
|
|
390
|
-
var value = globalState.get('viewer2D').toJS();
|
|
391
|
-
var width = value.viewerWidth;
|
|
392
|
-
var height = value.viewerHeight;
|
|
393
|
-
var len = value.SVGWidth;
|
|
394
|
-
var _e = (width - len * value.a) / 2;
|
|
395
|
-
var _f = (height - len * value.d) / 2;
|
|
396
|
-
var offsetE = (value.e - _e) / value.a;
|
|
397
|
-
var offsetF = (value.f - _f) / value.a;
|
|
398
|
-
value.a -= 0.1;
|
|
399
|
-
value.d -= 0.1;
|
|
400
|
-
value.e -= (value.SVGWidth * value.a - value.SVGWidth * (value.a + 0.1)) / 2;
|
|
401
|
-
value.f -= (value.SVGHeight * value.d - value.SVGHeight * (value.d + 0.1)) / 2;
|
|
402
|
-
var _zoomValue = parseInt((value.a - 0.5) / constants.ZOOM_VARIABLE);
|
|
403
|
-
if (_zoomValue > 404) return;
|
|
404
|
-
if (_zoomValue < 30 || Number.isNaN(_zoomValue)) return;
|
|
405
|
-
// value = zoom(value, 0, 0, 1/1.06)
|
|
406
|
-
while (!(value.e <= 10)) {
|
|
407
|
-
value.e -= 0.1;
|
|
408
|
-
}
|
|
409
|
-
while (!(value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth)) {
|
|
410
|
-
value.e += 0.1;
|
|
411
|
-
}
|
|
412
|
-
while (!(value.f <= 80)) {
|
|
413
|
-
value.f -= 0.1;
|
|
414
|
-
}
|
|
415
|
-
while (!(value.f + value.a * value.SVGHeight + 10 >= value.viewerHeight)) {
|
|
416
|
-
value.f += 0.1;
|
|
417
|
-
}
|
|
418
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
419
|
-
viewer2DActions.updateCameraView(value);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
423
|
-
style: {
|
|
424
|
-
margin: 'auto',
|
|
425
|
-
width: 15,
|
|
426
|
-
userSelect: 'none'
|
|
427
|
-
},
|
|
428
|
-
src: "/assets/img/svg/bottombar/arrow-minus.svg"
|
|
429
|
-
})), /*#__PURE__*/React.createElement(S.ZoomInput, {
|
|
430
|
-
value: "".concat(this.state.zoomValue, "%"),
|
|
431
|
-
type: "text",
|
|
432
|
-
onChange: function onChange(event) {
|
|
433
|
-
var _zoomValue = parseInt(event.target.value.replace('%', ''));
|
|
434
|
-
if (_zoomValue > 380) {
|
|
435
|
-
_zoomValue = 400;
|
|
436
|
-
}
|
|
437
|
-
if (_zoomValue < 0 || Number.isNaN(_zoomValue)) {
|
|
438
|
-
_zoomValue = 1;
|
|
439
|
-
} else {
|
|
440
|
-
_this2.setState({
|
|
441
|
-
zoomValue: _zoomValue
|
|
442
|
-
});
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
onKeyDown: function onKeyDown(e) {
|
|
446
|
-
var keyCode = e.keyCode || e.which;
|
|
447
|
-
if (keyCode === KEYBOARD_BUTTON_CODE.ENTER) {
|
|
448
|
-
var value = globalState.get('viewer2D').toJS();
|
|
449
|
-
var _zoomValue = _this2.state.zoomValue * constants.ZOOM_VARIABLE + 0.5;
|
|
450
|
-
value = zoom(value, value.SVGWidth / 2, value.SVGHeight / 2, _zoomValue / value.a);
|
|
451
|
-
if (_this2.state.zoomValue > 404) return;
|
|
452
|
-
if (_this2.state.zoomValue < 35 || Number.isNaN(_this2.state.zoomValue)) return;
|
|
453
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
454
|
-
viewer2DActions.updateCameraView(value);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
name: "zoominout"
|
|
459
|
-
}), /*#__PURE__*/React.createElement(S.ZoomButton, {
|
|
460
|
-
onClick: function onClick() {
|
|
461
|
-
_this2.props.setToolbar('');
|
|
462
|
-
_this2.setState({
|
|
463
|
-
controlButton: 'Zoom In'
|
|
464
|
-
});
|
|
465
|
-
var value = globalState.get('viewer2D').toJS();
|
|
466
|
-
var width = value.viewerWidth;
|
|
467
|
-
var height = value.viewerHeight;
|
|
468
|
-
var len = value.SVGWidth;
|
|
469
|
-
var _e = (width - len * value.a) / 2;
|
|
470
|
-
var _f = (height - len * value.d) / 2;
|
|
471
|
-
var offsetE = (value.e - _e) / value.a;
|
|
472
|
-
var offsetF = (value.f - _f) / value.a;
|
|
473
|
-
value.a += 0.1;
|
|
474
|
-
value.d += 0.1;
|
|
475
|
-
value.e -= (value.SVGWidth * value.a - value.SVGWidth * (value.a - 0.1)) / 2;
|
|
476
|
-
value.f -= (value.SVGHeight * value.d - value.SVGHeight * (value.d - 0.1)) / 2;
|
|
477
|
-
var _zoomValue = parseInt((value.a - 0.5) / constants.ZOOM_VARIABLE);
|
|
478
|
-
if (_zoomValue > 404) return;
|
|
479
|
-
if (_zoomValue < 35 || Number.isNaN(_zoomValue)) return;
|
|
480
|
-
// value = zoom(value, value.SVGWidth / 2, value.SVGHeight / 2, 1.06);
|
|
481
|
-
if (value.e <= 10 && value.e + value.a * value.SVGWidth + 10 >= value.viewerWidth && value.f <= 80 && value.f + value.d * value.SVGHeight + 10 >= value.viewerHeight) {
|
|
482
|
-
viewer2DActions.updateCameraView(value);
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
486
|
-
style: {
|
|
487
|
-
margin: 'auto',
|
|
488
|
-
width: 18,
|
|
489
|
-
userSelect: 'none'
|
|
490
|
-
},
|
|
491
|
-
src: "/assets/img/svg/bottombar/arrow-plus.svg"
|
|
492
|
-
})), /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
493
|
-
style: {
|
|
494
|
-
marginLeft: 5,
|
|
495
|
-
marginRight: 10,
|
|
496
|
-
backgroundColor: document.getElementById('setting_dialog') && document.getElementById('setting_dialog').style.display === 'flex' && TEXT_COLOR_NEUTRAL_5
|
|
497
|
-
},
|
|
498
|
-
onClick: function onClick(e) {
|
|
499
|
-
_this2.props.setToolbar('');
|
|
500
|
-
OpenSettings(e);
|
|
501
|
-
}
|
|
502
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
503
|
-
src: "/assets/img/svg/headerbar/setting.svg",
|
|
504
|
-
style: {
|
|
505
|
-
height: 18
|
|
506
|
-
}
|
|
507
|
-
}))) : /*#__PURE__*/React.createElement("div", {
|
|
508
|
-
style: {
|
|
509
|
-
display: 'flex',
|
|
510
|
-
position: 'relative',
|
|
511
|
-
backgroundColor: 'white',
|
|
512
|
-
height: 70,
|
|
513
|
-
cursor: 'pointer',
|
|
514
|
-
boxShadow: '0px 3px 5px -1px rgba(156, 154, 154, 0.2), 0px 6px 10px 0px rgba(156, 154, 154, 0.39), 0px 1px 18px 0px rgba(156, 154, 154, 0.12)',
|
|
515
|
-
borderRadius: 10,
|
|
516
|
-
alignItems: 'center'
|
|
517
|
-
}
|
|
518
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
519
|
-
onClick: function onClick() {
|
|
520
|
-
_this2.props.setToolbar('');
|
|
521
|
-
projectActions.setMode(MODE_IDLE);
|
|
522
|
-
var layer = globalState.scene.getIn(['layers', globalState.scene.selectedLayer]);
|
|
523
|
-
var sCount = layer.selected.areas.size + layer.selected.holes.size + layer.selected.items.size + layer.selected.lines.size;
|
|
524
|
-
if (sCount > 1) projectActions.unselectAll();
|
|
525
|
-
// this.props.setShowProperty(true);
|
|
526
|
-
_this2.setState({
|
|
527
|
-
ceil3DFlag: false
|
|
528
|
-
});
|
|
529
|
-
// document.getElementById('item_custom') && (document.getElementById('item_custom').style.display = document.getElementById('item_custom').style.display === 'flex' && 'none');
|
|
530
|
-
document.getElementById('item_warning') && document.getElementById('item_custom') && (document.getElementById('item_warning').style.display = document.getElementById('item_custom').style.display === 'flex' && 'none');
|
|
531
|
-
}
|
|
532
|
-
}, /*#__PURE__*/React.createElement(S.FooterTitle, null, "2D")), /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
533
|
-
style: {
|
|
534
|
-
backgroundColor: TEXT_COLOR_NEUTRAL_5,
|
|
535
|
-
marginLeft: 5
|
|
536
|
-
}
|
|
537
|
-
}, /*#__PURE__*/React.createElement(S.FooterTitle, null, "3D")), selLineFlag ? /*#__PURE__*/React.createElement(Tooltip, {
|
|
538
|
-
title: "Elevation View"
|
|
539
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
540
|
-
onClick: function onClick() {
|
|
541
|
-
return ViewElevation();
|
|
542
|
-
}
|
|
543
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
544
|
-
style: {
|
|
545
|
-
width: 20,
|
|
546
|
-
height: 20
|
|
547
|
-
},
|
|
548
|
-
src: elevationImg
|
|
549
|
-
}))) : /*#__PURE__*/React.createElement(Tooltip, {
|
|
550
|
-
title: /*#__PURE__*/React.createElement("span", null, "Please select a wall")
|
|
551
|
-
}, /*#__PURE__*/React.createElement(S.Toggle_2D_3D_Button, null, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
552
|
-
style: {
|
|
553
|
-
width: 20,
|
|
554
|
-
height: 20
|
|
555
|
-
},
|
|
556
|
-
src: elevationImg
|
|
557
|
-
}))), /*#__PURE__*/React.createElement(S.Direction_Left_Right, {
|
|
558
|
-
onMouseDown: function onMouseDown() {
|
|
559
|
-
window.tDKeyDown({
|
|
560
|
-
keyCode: 37
|
|
561
|
-
}); //Up key
|
|
562
|
-
panDragStart(37);
|
|
563
|
-
_this2.setState({
|
|
564
|
-
panButton: 'Left',
|
|
565
|
-
dragFlag: false
|
|
566
|
-
});
|
|
567
|
-
document.addEventListener('mouseup', function () {
|
|
568
|
-
_this2.props.setToolbar('');
|
|
569
|
-
panDragStop();
|
|
570
|
-
_this2.setState({
|
|
571
|
-
panButton: 'Left',
|
|
572
|
-
dragFlag: true
|
|
573
|
-
});
|
|
574
|
-
}, {
|
|
575
|
-
once: true
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
579
|
-
src: "/assets/img/svg/bottombar/arrow-left.svg"
|
|
580
|
-
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(S.Direction_Up_Down, {
|
|
581
|
-
onMouseDown: function onMouseDown() {
|
|
582
|
-
window.tDKeyDown({
|
|
583
|
-
keyCode: 38
|
|
584
|
-
}); //Up key
|
|
585
|
-
panDragStart(38);
|
|
586
|
-
_this2.setState({
|
|
587
|
-
panButton: 'Top',
|
|
588
|
-
dragFlag: false
|
|
589
|
-
});
|
|
590
|
-
document.addEventListener('mouseup', function () {
|
|
591
|
-
_this2.props.setToolbar('');
|
|
592
|
-
panDragStop();
|
|
593
|
-
_this2.setState({
|
|
594
|
-
panButton: 'Top',
|
|
595
|
-
dragFlag: true
|
|
596
|
-
});
|
|
597
|
-
}, {
|
|
598
|
-
once: true
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
602
|
-
src: "/assets/img/svg/bottombar/arrow-up.svg"
|
|
603
|
-
})), /*#__PURE__*/React.createElement(S.Direction_Up_Down, {
|
|
604
|
-
onMouseDown: function onMouseDown() {
|
|
605
|
-
window.tDKeyDown({
|
|
606
|
-
keyCode: 40
|
|
607
|
-
}); //Up key
|
|
608
|
-
panDragStart(40);
|
|
609
|
-
_this2.setState({
|
|
610
|
-
panButton: 'Bottom',
|
|
611
|
-
dragFlag: false
|
|
612
|
-
});
|
|
613
|
-
document.addEventListener('mouseup', function () {
|
|
614
|
-
_this2.props.setToolbar('');
|
|
615
|
-
panDragStop();
|
|
616
|
-
_this2.setState({
|
|
617
|
-
panButton: 'Bottom',
|
|
618
|
-
dragFlag: true
|
|
619
|
-
});
|
|
620
|
-
}, {
|
|
621
|
-
once: true
|
|
622
|
-
});
|
|
623
|
-
}
|
|
624
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
625
|
-
src: "/assets/img/svg/bottombar/arrow-down.svg"
|
|
626
|
-
}))), /*#__PURE__*/React.createElement(S.Direction_Left_Right, {
|
|
627
|
-
onMouseDown: function onMouseDown() {
|
|
628
|
-
window.tDKeyDown({
|
|
629
|
-
keyCode: 39
|
|
630
|
-
}); //Up key
|
|
631
|
-
panDragStart(39);
|
|
632
|
-
_this2.setState({
|
|
633
|
-
panButton: 'Right',
|
|
634
|
-
dragFlag: false
|
|
635
|
-
});
|
|
636
|
-
document.addEventListener('mouseup', function () {
|
|
637
|
-
_this2.props.setToolbar('');
|
|
638
|
-
panDragStop();
|
|
639
|
-
_this2.setState({
|
|
640
|
-
panButton: 'Right',
|
|
641
|
-
dragFlag: true
|
|
642
|
-
});
|
|
643
|
-
}, {
|
|
644
|
-
once: true
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
}, /*#__PURE__*/React.createElement(S.ArrowIcon, {
|
|
648
|
-
src: "/assets/img/svg/bottombar/arrow-right.svg"
|
|
649
|
-
})), /*#__PURE__*/React.createElement(S.Rotation_Button, {
|
|
650
|
-
isVertical: true,
|
|
651
|
-
onMouseDown: function onMouseDown() {
|
|
652
|
-
window.SPKeyDown({
|
|
653
|
-
keyCode: 87
|
|
654
|
-
});
|
|
655
|
-
spinDragStart(87);
|
|
656
|
-
_this2.setState({
|
|
657
|
-
panButton: 'spinTop',
|
|
658
|
-
dragFlag: false
|
|
659
|
-
});
|
|
660
|
-
},
|
|
661
|
-
onMouseUp: function onMouseUp() {
|
|
662
|
-
_this2.props.setToolbar('');
|
|
663
|
-
spinDragStop();
|
|
664
|
-
_this2.setState({
|
|
665
|
-
panButton: 'spinTop',
|
|
666
|
-
dragFlag: true
|
|
667
|
-
});
|
|
668
|
-
}
|
|
669
|
-
}, /*#__PURE__*/React.createElement(S.Rotation_Icon, {
|
|
670
|
-
src: "/assets/img/svg/bottombar/spin-up.svg",
|
|
671
|
-
width: "unset"
|
|
672
|
-
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(S.Rotation_Button, {
|
|
673
|
-
onMouseDown: function onMouseDown() {
|
|
674
|
-
window.SPKeyDown({
|
|
675
|
-
keyCode: 68
|
|
676
|
-
});
|
|
677
|
-
spinDragStart(68);
|
|
678
|
-
_this2.setState({
|
|
679
|
-
panButton: 'spinRight',
|
|
680
|
-
dragFlag: false
|
|
681
|
-
});
|
|
682
|
-
},
|
|
683
|
-
onMouseUp: function onMouseUp() {
|
|
684
|
-
_this2.props.setToolbar('');
|
|
685
|
-
spinDragStop();
|
|
686
|
-
_this2.setState({
|
|
687
|
-
panButton: 'spinRight',
|
|
688
|
-
dragFlag: true
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
}, /*#__PURE__*/React.createElement(S.Rotation_Icon, {
|
|
692
|
-
src: "/assets/img/svg/bottombar/spin-right.svg",
|
|
693
|
-
height: "unset"
|
|
694
|
-
})), /*#__PURE__*/React.createElement(S.Rotation_Button, {
|
|
695
|
-
onMouseDown: function onMouseDown() {
|
|
696
|
-
window.SPKeyDown({
|
|
697
|
-
keyCode: 65
|
|
698
|
-
});
|
|
699
|
-
spinDragStart(65);
|
|
700
|
-
_this2.setState({
|
|
701
|
-
panButton: 'spinLeft',
|
|
702
|
-
dragFlag: false
|
|
703
|
-
});
|
|
704
|
-
},
|
|
705
|
-
onMouseUp: function onMouseUp() {
|
|
706
|
-
_this2.props.setToolbar('');
|
|
707
|
-
spinDragStop();
|
|
708
|
-
_this2.setState({
|
|
709
|
-
panButton: 'spinLeft',
|
|
710
|
-
dragFlag: true
|
|
711
|
-
});
|
|
712
|
-
}
|
|
713
|
-
}, /*#__PURE__*/React.createElement(S.Rotation_Icon, {
|
|
714
|
-
height: "unset",
|
|
715
|
-
src: "/assets/img/svg/bottombar/spin-left.svg"
|
|
716
|
-
}))), /*#__PURE__*/React.createElement(S.Rotation_Button, {
|
|
717
|
-
isVertical: true,
|
|
718
|
-
onMouseDown: function onMouseDown() {
|
|
719
|
-
window.SPKeyDown({
|
|
720
|
-
keyCode: 83
|
|
721
|
-
});
|
|
722
|
-
spinDragStart(83);
|
|
723
|
-
_this2.setState({
|
|
724
|
-
panButton: 'spinBottom',
|
|
725
|
-
dragFlag: false
|
|
726
|
-
});
|
|
727
|
-
},
|
|
728
|
-
onMouseUp: function onMouseUp() {
|
|
729
|
-
_this2.props.setToolbar('');
|
|
730
|
-
spinDragStop();
|
|
731
|
-
_this2.setState({
|
|
732
|
-
panButton: 'spinBottom',
|
|
733
|
-
dragFlag: true
|
|
734
|
-
});
|
|
735
|
-
}
|
|
736
|
-
}, /*#__PURE__*/React.createElement(S.Rotation_Icon, {
|
|
737
|
-
src: "/assets/img/svg/bottombar/spin-down.svg",
|
|
738
|
-
width: "unset"
|
|
739
|
-
})), /*#__PURE__*/React.createElement(S.Toggle_2D_3D, {
|
|
740
|
-
style: {
|
|
741
|
-
marginLeft: 5,
|
|
742
|
-
marginRight: 10,
|
|
743
|
-
backgroundColor: document.getElementById('setting_dialog') && document.getElementById('setting_dialog').style.display === 'flex' && TEXT_COLOR_NEUTRAL_5
|
|
744
|
-
},
|
|
745
|
-
onClick: function onClick(e) {
|
|
746
|
-
_this2.props.setToolbar('');
|
|
747
|
-
OpenSettings(e);
|
|
748
|
-
}
|
|
749
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
750
|
-
src: "/assets/img/svg/headerbar/setting.svg",
|
|
751
|
-
style: {
|
|
752
|
-
height: 18
|
|
753
|
-
}
|
|
754
|
-
})));
|
|
755
|
-
var snackBar = /*#__PURE__*/React.createElement(SnackBar, {
|
|
756
|
-
style: {
|
|
757
|
-
top: 90
|
|
758
|
-
},
|
|
759
|
-
isOpen: this.state.isSnackBarOpen,
|
|
760
|
-
message: this.state.snackBarMessage,
|
|
761
|
-
handleClose: function handleClose() {
|
|
762
|
-
return _this2.setState({
|
|
763
|
-
isSnackBarOpen: false,
|
|
764
|
-
snackBarMessage: ''
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
});
|
|
768
|
-
return mode !== 'MODE_VIEWING_CATALOG' ? /*#__PURE__*/React.createElement("div", {
|
|
769
|
-
style: {
|
|
770
|
-
position: 'absolute',
|
|
771
|
-
bottom: 10,
|
|
772
|
-
display: 'flex',
|
|
773
|
-
width: '100%',
|
|
774
|
-
justifyContent: 'center',
|
|
775
|
-
alignItems: 'flex-end',
|
|
776
|
-
zIndex: 0
|
|
777
|
-
}
|
|
778
|
-
}, snackBar, footerview) : null;
|
|
779
|
-
}
|
|
780
|
-
}]);
|
|
781
|
-
}(Component);
|
|
782
|
-
export { FooterBar as default };
|
|
783
|
-
FooterBar.propTypes = {
|
|
784
|
-
state: PropTypes.object.isRequired,
|
|
785
|
-
// footerbarComponents: PropTypes.array.isRequired,
|
|
786
|
-
// width: PropTypes.number.isRequired,
|
|
787
|
-
// height: PropTypes.number.isRequired,
|
|
788
|
-
content: PropTypes.number.isRequired
|
|
789
|
-
// softwareSignature: PropTypes.string
|
|
790
|
-
};
|
|
791
|
-
FooterBar.contextTypes = {
|
|
792
|
-
projectActions: PropTypes.object.isRequired,
|
|
793
|
-
viewer2DActions: PropTypes.object.isRequired,
|
|
794
|
-
viewer3DActions: PropTypes.object.isRequired,
|
|
795
|
-
// linesActions: PropTypes.object.isRequired,
|
|
796
|
-
// holesActions: PropTypes.object.isRequired,
|
|
797
|
-
itemsActions: PropTypes.object.isRequired,
|
|
798
|
-
// translator: PropTypes.object.isRequired,
|
|
799
|
-
catalog: PropTypes.object.isRequired
|
|
800
|
-
};
|
|
801
|
-
//# sourceMappingURL=footerbar.js.map
|