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,496 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Ruler3D from './ruler3D';
|
|
3
|
-
import convert from 'convert-units';
|
|
4
|
-
import { GeometryUtils } from '../../../utils/export';
|
|
5
|
-
import { returnReplaceableDeepSearchType } from '../../../components/viewer2d/utils';
|
|
6
|
-
import { DELTA, DISTANCE_EPSILON, DECIMAL_PLACES_2 } from '../../../constants';
|
|
7
|
-
import { formatNumber, isNonZeroText } from '../../../utils/math';
|
|
8
|
-
export default function Layer3D(_ref) {
|
|
9
|
-
var layer = _ref.layer,
|
|
10
|
-
frontRect = _ref.frontRect,
|
|
11
|
-
lineLength = _ref.lineLength,
|
|
12
|
-
ceilHeight = _ref.ceilHeight,
|
|
13
|
-
catalog = _ref.catalog,
|
|
14
|
-
scene = _ref.scene,
|
|
15
|
-
scale = _ref.scale,
|
|
16
|
-
mode = _ref.mode,
|
|
17
|
-
line = _ref.line,
|
|
18
|
-
viewScale = _ref.viewScale,
|
|
19
|
-
downloadFlag = _ref.downloadFlag;
|
|
20
|
-
var width = frontRect.width,
|
|
21
|
-
height = frontRect.height;
|
|
22
|
-
var v0 = layer.vertices.get(line.vertices.get(0));
|
|
23
|
-
var v1 = layer.vertices.get(line.vertices.get(1));
|
|
24
|
-
var l0 = {
|
|
25
|
-
x: v0.x,
|
|
26
|
-
y: v0.y
|
|
27
|
-
};
|
|
28
|
-
var l1 = {
|
|
29
|
-
x: v1.x,
|
|
30
|
-
y: v1.y
|
|
31
|
-
};
|
|
32
|
-
var rulerSpace = 50 * viewScale;
|
|
33
|
-
var lineSpace = 25 * viewScale;
|
|
34
|
-
var rulerLines = [],
|
|
35
|
-
rulerData = [],
|
|
36
|
-
baseItems = [],
|
|
37
|
-
wallItems = [],
|
|
38
|
-
basePosArray = [{
|
|
39
|
-
x: width / 2,
|
|
40
|
-
y: height / 2
|
|
41
|
-
}, {
|
|
42
|
-
x: -width / 2,
|
|
43
|
-
y: height / 2
|
|
44
|
-
}],
|
|
45
|
-
wallPosArray = [{
|
|
46
|
-
x: -width / 2,
|
|
47
|
-
y: -height / 2
|
|
48
|
-
}, {
|
|
49
|
-
x: width / 2,
|
|
50
|
-
y: -height / 2
|
|
51
|
-
}],
|
|
52
|
-
left_count = 0,
|
|
53
|
-
right_count = 0,
|
|
54
|
-
leftBaseItems = [],
|
|
55
|
-
rightBaseItems = [],
|
|
56
|
-
leftWallItems = [],
|
|
57
|
-
rightWallItems = [],
|
|
58
|
-
toler_unit = 'mm';
|
|
59
|
-
|
|
60
|
-
// get length between 2 points
|
|
61
|
-
var getLength = function getLength(vertex0, vertex1) {
|
|
62
|
-
return Math.sqrt(Math.pow(vertex0.x - vertex1.x, 2) + Math.pow(vertex0.y - vertex1.y, 2));
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
// determin if this line(vertex0, vertex1) is snapped into wall
|
|
66
|
-
var isSnapped = function isSnapped(vertex0, vertex1) {
|
|
67
|
-
var itemSnapped = false;
|
|
68
|
-
var delta = GeometryUtils.distancePointFromLineSegment(l0, l1, (vertex0.x + vertex1.x) / 2, (vertex0.y + vertex1.y) / 2);
|
|
69
|
-
if (delta < DISTANCE_EPSILON) {
|
|
70
|
-
itemSnapped = true;
|
|
71
|
-
}
|
|
72
|
-
return itemSnapped;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
// get array of wallItem and baseITem in layer
|
|
76
|
-
layer.items.forEach(function (item) {
|
|
77
|
-
var val = {
|
|
78
|
-
pos: {
|
|
79
|
-
x: item.x,
|
|
80
|
-
y: item.y
|
|
81
|
-
},
|
|
82
|
-
rotRad: item.rotation / 180 * Math.PI
|
|
83
|
-
};
|
|
84
|
-
var catid = item.type;
|
|
85
|
-
var cat = catalog.elements[catid];
|
|
86
|
-
if (!cat) cat = catalog.elements[returnReplaceableDeepSearchType(catid)];
|
|
87
|
-
var width = convert(item.properties.getIn(['width', '_length'])).from(item.properties.getIn(['width', '_unit'])).to(scene.unit);
|
|
88
|
-
var height = convert(item.properties.getIn(['height', '_length'])).from(item.properties.getIn(['height', '_unit'])).to(scene.unit);
|
|
89
|
-
var depth = convert(item.properties.getIn(['depth', '_length'])).from(item.properties.getIn(['depth', '_unit'])).to(scene.unit);
|
|
90
|
-
var altitude = convert(item.properties.getIn(['altitude', '_length'])).from(item.properties.getIn(['altitude', '_unit'])).to(scene.unit);
|
|
91
|
-
val.size = {
|
|
92
|
-
width: width,
|
|
93
|
-
height: height,
|
|
94
|
-
depth: depth,
|
|
95
|
-
altitude: altitude
|
|
96
|
-
};
|
|
97
|
-
val.layoutpos = cat && cat.info.layoutpos;
|
|
98
|
-
val.is_corner = cat && cat.info.is_corner;
|
|
99
|
-
val.item = item.toJS();
|
|
100
|
-
var calcrect = GeometryUtils.getCalcRectFromItem3D(val);
|
|
101
|
-
if (isSnapped(calcrect.rect[3], calcrect.rect[2]) || isSnapped(calcrect.rect[2], calcrect.rect[1]) || isSnapped(calcrect.rect[0], calcrect.rect[3])) {
|
|
102
|
-
if (calcrect.itemInfo.properties.altitude.length) {
|
|
103
|
-
wallItems.push(calcrect);
|
|
104
|
-
} else {
|
|
105
|
-
baseItems.push(calcrect);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
// sort function
|
|
111
|
-
var sortFunc = function sortFunc(a, b) {
|
|
112
|
-
return a.pos.x - b.pos.x;
|
|
113
|
-
};
|
|
114
|
-
var negSortFunc = function negSortFunc(a, b) {
|
|
115
|
-
return -sortFunc(a, b);
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
// get item's pos array about baseItem, then sort - baseItems' order is right: (width/2) -> left: (-width/2)
|
|
119
|
-
if (baseItems.length) {
|
|
120
|
-
baseItems.forEach(function (item) {
|
|
121
|
-
var vertex0, vertex1;
|
|
122
|
-
if (isSnapped(item.rect[3], item.rect[2])) {
|
|
123
|
-
vertex0 = {
|
|
124
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) * scale,
|
|
125
|
-
y: height / 2
|
|
126
|
-
};
|
|
127
|
-
vertex1 = {
|
|
128
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) * scale,
|
|
129
|
-
y: height / 2
|
|
130
|
-
};
|
|
131
|
-
} else if (isSnapped(item.rect[2], item.rect[1])) {
|
|
132
|
-
vertex0 = {
|
|
133
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) * scale,
|
|
134
|
-
y: height / 2
|
|
135
|
-
};
|
|
136
|
-
vertex1 = {
|
|
137
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[1], v0)).from('cm').to(layer.unit) * scale,
|
|
138
|
-
y: height / 2
|
|
139
|
-
};
|
|
140
|
-
} else if (isSnapped(item.rect[0], item.rect[3])) {
|
|
141
|
-
vertex0 = {
|
|
142
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[0], v0)).from('cm').to(layer.unit) * scale,
|
|
143
|
-
y: height / 2
|
|
144
|
-
};
|
|
145
|
-
vertex1 = {
|
|
146
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) * scale,
|
|
147
|
-
y: height / 2
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
basePosArray.push(vertex0);
|
|
151
|
-
basePosArray.push(vertex1);
|
|
152
|
-
|
|
153
|
-
// determin which side(left or right) item is closer to. If item is closer to left side, it will be included in leftBaseITems
|
|
154
|
-
var distLeft = getLength(item.pos, v0);
|
|
155
|
-
var distRight = getLength(item.pos, v1);
|
|
156
|
-
if (distLeft < distRight) {
|
|
157
|
-
leftBaseItems.push(item);
|
|
158
|
-
} else {
|
|
159
|
-
rightBaseItems.push(item);
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
basePosArray.sort(function (a, b) {
|
|
164
|
-
return b.x - a.x;
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
// get item's pos array about wallItem, then sort - wallItems' order is left: (-width/2) -> right: (width/2)
|
|
168
|
-
if (wallItems.length) {
|
|
169
|
-
wallItems.forEach(function (item) {
|
|
170
|
-
var vertex0, vertex1;
|
|
171
|
-
if (isSnapped(item.rect[3], item.rect[2])) {
|
|
172
|
-
vertex0 = {
|
|
173
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) * scale,
|
|
174
|
-
y: -height / 2
|
|
175
|
-
};
|
|
176
|
-
vertex1 = {
|
|
177
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) * scale,
|
|
178
|
-
y: -height / 2
|
|
179
|
-
};
|
|
180
|
-
} else if (isSnapped(item.rect[2], item.rect[1])) {
|
|
181
|
-
vertex0 = {
|
|
182
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) * scale,
|
|
183
|
-
y: -height / 2
|
|
184
|
-
};
|
|
185
|
-
vertex1 = {
|
|
186
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[1], v0)).from('cm').to(layer.unit) * scale,
|
|
187
|
-
y: -height / 2
|
|
188
|
-
};
|
|
189
|
-
} else if (isSnapped(item.rect[0], item.rect[3])) {
|
|
190
|
-
vertex0 = {
|
|
191
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[0], v0)).from('cm').to(layer.unit) * scale,
|
|
192
|
-
y: -height / 2
|
|
193
|
-
};
|
|
194
|
-
vertex1 = {
|
|
195
|
-
x: -frontRect.width / 2 + convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) * scale,
|
|
196
|
-
y: -height / 2
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
wallPosArray.push(vertex0);
|
|
200
|
-
wallPosArray.push(vertex1);
|
|
201
|
-
|
|
202
|
-
// determin which side(left or right) item is closer to. If item is closer to left side, it will be included in leftBaseITems
|
|
203
|
-
var distLeft = getLength(item.pos, v0);
|
|
204
|
-
var distRight = getLength(item.pos, v1);
|
|
205
|
-
if (distLeft < distRight) {
|
|
206
|
-
rightWallItems.push(item);
|
|
207
|
-
} else {
|
|
208
|
-
leftWallItems.push(item);
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
wallPosArray.sort(function (a, b) {
|
|
213
|
-
return a.x - b.x;
|
|
214
|
-
});
|
|
215
|
-
|
|
216
|
-
// leftItems = leftBaseItems + inverted leftWallItems : Here, it's different between BaseItem's order and WallItem's order
|
|
217
|
-
leftBaseItems.sort(sortFunc);
|
|
218
|
-
leftWallItems.sort(negSortFunc);
|
|
219
|
-
rightBaseItems.sort(negSortFunc);
|
|
220
|
-
rightWallItems.sort(sortFunc);
|
|
221
|
-
var leftItems = leftBaseItems.concat(leftWallItems);
|
|
222
|
-
var rightItems = rightBaseItems.concat(rightWallItems);
|
|
223
|
-
|
|
224
|
-
// To display side dimensions, set rulerLines about leftItems
|
|
225
|
-
leftItems.forEach(function (item, idx) {
|
|
226
|
-
var forwardItems = [];
|
|
227
|
-
var distLine = 0;
|
|
228
|
-
var itemHeight = convert(item.size.height).from(scene.unit).to(layer.unit);
|
|
229
|
-
for (var i = 0; i < idx; i++) {
|
|
230
|
-
forwardItems.push(leftItems[i]);
|
|
231
|
-
}
|
|
232
|
-
if (!forwardItems.filter(function (it) {
|
|
233
|
-
return it.itemInfo.properties.altitude._length === item.itemInfo.properties.altitude._length && it.itemInfo.properties.height._length === item.itemInfo.properties.height._length;
|
|
234
|
-
}).length) {
|
|
235
|
-
if (item.itemInfo.properties.altitude._length) {
|
|
236
|
-
if (isSnapped(item.rect[3], item.rect[2])) {
|
|
237
|
-
distLine = convert(getLength(item.rect[2], v1)).from(scene.unit).to(layer.unit);
|
|
238
|
-
} else if (isSnapped(item.rect[2], item.rect[1])) {
|
|
239
|
-
distLine = convert(getLength(item.rect[1], v1)).from(scene.unit).to(layer.unit);
|
|
240
|
-
}
|
|
241
|
-
var itemAltitude = convert(item.size.altitude).from(scene.unit).to(layer.unit);
|
|
242
|
-
if (ceilHeight - (itemAltitude + itemHeight) > convert(DELTA).from(toler_unit).to(layer.unit)) {
|
|
243
|
-
rulerLines.push({
|
|
244
|
-
v0: {
|
|
245
|
-
x: width / 2,
|
|
246
|
-
y: -height / 2
|
|
247
|
-
},
|
|
248
|
-
v1: {
|
|
249
|
-
x: width / 2,
|
|
250
|
-
y: height / 2 - (itemHeight + itemAltitude) * scale
|
|
251
|
-
},
|
|
252
|
-
text: formatNumber(ceilHeight - (itemAltitude + itemHeight), DECIMAL_PLACES_2),
|
|
253
|
-
space: rulerSpace + right_count * lineSpace
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
rulerLines.push({
|
|
257
|
-
v0: {
|
|
258
|
-
x: width / 2 - distLine * scale,
|
|
259
|
-
y: height / 2 - (itemHeight + itemAltitude) * scale
|
|
260
|
-
},
|
|
261
|
-
v1: {
|
|
262
|
-
x: width / 2 - distLine * scale,
|
|
263
|
-
y: height / 2 - itemAltitude * scale
|
|
264
|
-
},
|
|
265
|
-
text: formatNumber(itemHeight, DECIMAL_PLACES_2),
|
|
266
|
-
space: rulerSpace + distLine * scale + right_count * lineSpace
|
|
267
|
-
});
|
|
268
|
-
rulerLines.push({
|
|
269
|
-
v0: {
|
|
270
|
-
x: width / 2,
|
|
271
|
-
y: height / 2 - itemAltitude * scale
|
|
272
|
-
},
|
|
273
|
-
v1: {
|
|
274
|
-
x: width / 2,
|
|
275
|
-
y: height / 2
|
|
276
|
-
},
|
|
277
|
-
text: formatNumber(itemAltitude, DECIMAL_PLACES_2),
|
|
278
|
-
space: rulerSpace + right_count * lineSpace
|
|
279
|
-
});
|
|
280
|
-
right_count++;
|
|
281
|
-
} else {
|
|
282
|
-
if (isSnapped(item.rect[3], item.rect[2])) {
|
|
283
|
-
distLine = convert(getLength(item.rect[3], v0)).from(scene.unit).to(layer.unit);
|
|
284
|
-
} else if (isSnapped(item.rect[2], item.rect[1])) {
|
|
285
|
-
distLine = convert(getLength(item.rect[2], v0)).from(scene.unit).to(layer.unit);
|
|
286
|
-
}
|
|
287
|
-
rulerLines.push({
|
|
288
|
-
v0: {
|
|
289
|
-
x: -width / 2 + distLine * scale,
|
|
290
|
-
y: height / 2
|
|
291
|
-
},
|
|
292
|
-
v1: {
|
|
293
|
-
x: -width / 2 + distLine * scale,
|
|
294
|
-
y: height / 2 - itemHeight * scale
|
|
295
|
-
},
|
|
296
|
-
text: formatNumber(itemHeight, DECIMAL_PLACES_2),
|
|
297
|
-
space: rulerSpace + distLine * scale + left_count * lineSpace
|
|
298
|
-
});
|
|
299
|
-
rulerLines.push({
|
|
300
|
-
v0: {
|
|
301
|
-
x: -width / 2,
|
|
302
|
-
y: height / 2 - itemHeight * scale
|
|
303
|
-
},
|
|
304
|
-
v1: {
|
|
305
|
-
x: -width / 2,
|
|
306
|
-
y: -height / 2
|
|
307
|
-
},
|
|
308
|
-
text: formatNumber(ceilHeight - itemHeight, DECIMAL_PLACES_2),
|
|
309
|
-
space: rulerSpace + left_count * lineSpace
|
|
310
|
-
});
|
|
311
|
-
left_count++;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
});
|
|
315
|
-
|
|
316
|
-
// To display side dimensions, set rulerLines about rightItems
|
|
317
|
-
rightItems.forEach(function (item, idx) {
|
|
318
|
-
var forwardItems = [];
|
|
319
|
-
var distLine = 0;
|
|
320
|
-
var itemHeight = convert(item.size.height).from(scene.unit).to(layer.unit);
|
|
321
|
-
for (var i = 0; i < idx; i++) {
|
|
322
|
-
forwardItems.push(rightItems[i]);
|
|
323
|
-
}
|
|
324
|
-
if (!forwardItems.filter(function (it) {
|
|
325
|
-
return it.itemInfo.properties.altitude._length === item.itemInfo.properties.altitude._length && it.itemInfo.properties.height._length === item.itemInfo.properties.height._length;
|
|
326
|
-
}).length) {
|
|
327
|
-
if (item.itemInfo.properties.altitude._length) {
|
|
328
|
-
if (isSnapped(item.rect[3], item.rect[2])) {
|
|
329
|
-
distLine = convert(getLength(item.rect[3], v0)).from(scene.unit).to(layer.unit);
|
|
330
|
-
} else if (isSnapped(item.rect[2], item.rect[1])) {
|
|
331
|
-
distLine = convert(getLength(item.rect[2], v0)).from(scene.unit).to(layer.unit);
|
|
332
|
-
}
|
|
333
|
-
var _itemHeight = convert(item.size.height).from(scene.unit).to(layer.unit);
|
|
334
|
-
var itemAltitude = convert(item.size.altitude).from(scene.unit).to(layer.unit);
|
|
335
|
-
rulerLines.push({
|
|
336
|
-
v0: {
|
|
337
|
-
x: -width / 2,
|
|
338
|
-
y: height / 2
|
|
339
|
-
},
|
|
340
|
-
v1: {
|
|
341
|
-
x: -width / 2,
|
|
342
|
-
y: height / 2 - itemAltitude * scale
|
|
343
|
-
},
|
|
344
|
-
text: formatNumber(itemAltitude, DECIMAL_PLACES_2),
|
|
345
|
-
space: rulerSpace + left_count * lineSpace
|
|
346
|
-
});
|
|
347
|
-
rulerLines.push({
|
|
348
|
-
v0: {
|
|
349
|
-
x: -width / 2 + distLine * scale,
|
|
350
|
-
y: height / 2 - itemAltitude * scale
|
|
351
|
-
},
|
|
352
|
-
v1: {
|
|
353
|
-
x: -width / 2 + distLine * scale,
|
|
354
|
-
y: height / 2 - (itemAltitude + _itemHeight) * scale
|
|
355
|
-
},
|
|
356
|
-
text: formatNumber(_itemHeight, DECIMAL_PLACES_2),
|
|
357
|
-
space: rulerSpace + +distLine * scale + left_count * lineSpace
|
|
358
|
-
});
|
|
359
|
-
if (ceilHeight - (itemAltitude + _itemHeight) > convert(DELTA).from(toler_unit).to(layer.unit)) {
|
|
360
|
-
rulerLines.push({
|
|
361
|
-
v0: {
|
|
362
|
-
x: -width / 2,
|
|
363
|
-
y: height / 2 - (itemAltitude + _itemHeight) * scale
|
|
364
|
-
},
|
|
365
|
-
v1: {
|
|
366
|
-
x: -width / 2,
|
|
367
|
-
y: -height / 2
|
|
368
|
-
},
|
|
369
|
-
text: formatNumber(ceilHeight - (itemAltitude + _itemHeight), DECIMAL_PLACES_2),
|
|
370
|
-
space: rulerSpace + left_count * lineSpace
|
|
371
|
-
});
|
|
372
|
-
}
|
|
373
|
-
left_count++;
|
|
374
|
-
} else {
|
|
375
|
-
if (isSnapped(item.rect[3], item.rect[2])) {
|
|
376
|
-
distLine = convert(getLength(item.rect[2], v1)).from(scene.unit).to(layer.unit);
|
|
377
|
-
} else if (isSnapped(item.rect[2], item.rect[1])) {
|
|
378
|
-
distLine = convert(getLength(item.rect[1], v1)).from(scene.unit).to(layer.unit);
|
|
379
|
-
}
|
|
380
|
-
rulerLines.push({
|
|
381
|
-
v0: {
|
|
382
|
-
x: width / 2,
|
|
383
|
-
y: -height / 2
|
|
384
|
-
},
|
|
385
|
-
v1: {
|
|
386
|
-
x: width / 2,
|
|
387
|
-
y: height / 2 - itemHeight * scale
|
|
388
|
-
},
|
|
389
|
-
text: formatNumber(ceilHeight - itemHeight, DECIMAL_PLACES_2),
|
|
390
|
-
space: rulerSpace + right_count * lineSpace
|
|
391
|
-
});
|
|
392
|
-
rulerLines.push({
|
|
393
|
-
v0: {
|
|
394
|
-
x: width / 2 - distLine * scale,
|
|
395
|
-
y: height / 2 - itemHeight * scale
|
|
396
|
-
},
|
|
397
|
-
v1: {
|
|
398
|
-
x: width / 2 - distLine * scale,
|
|
399
|
-
y: height / 2
|
|
400
|
-
},
|
|
401
|
-
text: formatNumber(itemHeight, DECIMAL_PLACES_2),
|
|
402
|
-
space: rulerSpace + distLine * scale + right_count * lineSpace
|
|
403
|
-
});
|
|
404
|
-
right_count++;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
});
|
|
408
|
-
|
|
409
|
-
// To display wall line dimensions, set rulerLines
|
|
410
|
-
rulerLines.push({
|
|
411
|
-
v0: {
|
|
412
|
-
x: width / 2,
|
|
413
|
-
y: -height / 2
|
|
414
|
-
},
|
|
415
|
-
v1: {
|
|
416
|
-
x: width / 2,
|
|
417
|
-
y: height / 2
|
|
418
|
-
},
|
|
419
|
-
text: ceilHeight,
|
|
420
|
-
space: rulerSpace + lineSpace * right_count
|
|
421
|
-
});
|
|
422
|
-
rulerLines.push({
|
|
423
|
-
v0: {
|
|
424
|
-
x: -width / 2,
|
|
425
|
-
y: height / 2
|
|
426
|
-
},
|
|
427
|
-
v1: {
|
|
428
|
-
x: -width / 2,
|
|
429
|
-
y: -height / 2
|
|
430
|
-
},
|
|
431
|
-
text: ceilHeight,
|
|
432
|
-
space: rulerSpace + lineSpace * left_count
|
|
433
|
-
});
|
|
434
|
-
rulerLines.push({
|
|
435
|
-
v0: {
|
|
436
|
-
x: width / 2,
|
|
437
|
-
y: height / 2
|
|
438
|
-
},
|
|
439
|
-
v1: {
|
|
440
|
-
x: -width / 2,
|
|
441
|
-
y: height / 2
|
|
442
|
-
},
|
|
443
|
-
text: formatNumber(lineLength, DECIMAL_PLACES_2),
|
|
444
|
-
space: rulerSpace + (baseItems.length ? lineSpace : 0)
|
|
445
|
-
});
|
|
446
|
-
rulerLines.push({
|
|
447
|
-
v0: {
|
|
448
|
-
x: -width / 2,
|
|
449
|
-
y: -height / 2
|
|
450
|
-
},
|
|
451
|
-
v1: {
|
|
452
|
-
x: width / 2,
|
|
453
|
-
y: -height / 2
|
|
454
|
-
},
|
|
455
|
-
text: formatNumber(lineLength, DECIMAL_PLACES_2),
|
|
456
|
-
space: rulerSpace + (wallItems.length ? lineSpace : 0)
|
|
457
|
-
});
|
|
458
|
-
|
|
459
|
-
// To display wallItems dimensions, set rulerLines with wallPosArray
|
|
460
|
-
if (wallItems.length) {
|
|
461
|
-
for (var i = 0; i < wallPosArray.length - 1; i++) {
|
|
462
|
-
var dist = getLength(wallPosArray[i], wallPosArray[i + 1]) / scale;
|
|
463
|
-
rulerLines.push({
|
|
464
|
-
v0: wallPosArray[i],
|
|
465
|
-
v1: wallPosArray[i + 1],
|
|
466
|
-
space: rulerSpace,
|
|
467
|
-
text: formatNumber(dist, DECIMAL_PLACES_2)
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
// To display baseItems dimensions, set rulerLines with basePosArray
|
|
473
|
-
if (baseItems.length) {
|
|
474
|
-
for (var j = 0; j < basePosArray.length - 1; j++) {
|
|
475
|
-
var _dist = getLength(basePosArray[j], basePosArray[j + 1]) / scale;
|
|
476
|
-
rulerLines.push({
|
|
477
|
-
v0: basePosArray[j],
|
|
478
|
-
v1: basePosArray[j + 1],
|
|
479
|
-
space: rulerSpace,
|
|
480
|
-
text: formatNumber(_dist, DECIMAL_PLACES_2)
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
rulerLines.forEach(function (line) {
|
|
485
|
-
if (isNonZeroText(line.text)) rulerData.push(/*#__PURE__*/React.createElement(Ruler3D, {
|
|
486
|
-
line: line,
|
|
487
|
-
layer: layer,
|
|
488
|
-
viewScale: viewScale,
|
|
489
|
-
downloadFlag: downloadFlag
|
|
490
|
-
}));
|
|
491
|
-
});
|
|
492
|
-
return /*#__PURE__*/React.createElement("g", {
|
|
493
|
-
opacity: layer.opacity
|
|
494
|
-
}, rulerData);
|
|
495
|
-
}
|
|
496
|
-
//# sourceMappingURL=layer3D.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layer3D.js","names":["React","Ruler3D","convert","GeometryUtils","returnReplaceableDeepSearchType","DELTA","DISTANCE_EPSILON","DECIMAL_PLACES_2","formatNumber","isNonZeroText","Layer3D","_ref","layer","frontRect","lineLength","ceilHeight","catalog","scene","scale","mode","line","viewScale","downloadFlag","width","height","v0","vertices","get","v1","l0","x","y","l1","rulerSpace","lineSpace","rulerLines","rulerData","baseItems","wallItems","basePosArray","wallPosArray","left_count","right_count","leftBaseItems","rightBaseItems","leftWallItems","rightWallItems","toler_unit","getLength","vertex0","vertex1","Math","sqrt","pow","isSnapped","itemSnapped","delta","distancePointFromLineSegment","items","forEach","item","val","pos","rotRad","rotation","PI","catid","type","cat","elements","properties","getIn","from","to","unit","depth","altitude","size","layoutpos","info","is_corner","toJS","calcrect","getCalcRectFromItem3D","rect","itemInfo","length","push","sortFunc","a","b","negSortFunc","distLeft","distRight","sort","leftItems","concat","rightItems","idx","forwardItems","distLine","itemHeight","i","filter","it","_length","itemAltitude","text","space","dist","j","createElement","opacity"],"sources":["../../../../src/components/viewer3d/ruler-utils/layer3D.jsx"],"sourcesContent":["import React from 'react';\nimport Ruler3D from './ruler3D';\nimport convert from 'convert-units';\nimport { GeometryUtils } from '../../../utils/export';\nimport { returnReplaceableDeepSearchType } from '../../../components/viewer2d/utils';\nimport { DELTA, DISTANCE_EPSILON, DECIMAL_PLACES_2 } from '../../../constants';\nimport { formatNumber, isNonZeroText } from '../../../utils/math';\n\nexport default function Layer3D({\n layer,\n frontRect,\n lineLength,\n ceilHeight,\n catalog,\n scene,\n scale,\n mode,\n line,\n viewScale,\n downloadFlag\n}) {\n const { width, height } = frontRect;\n let v0 = layer.vertices.get(line.vertices.get(0));\n let v1 = layer.vertices.get(line.vertices.get(1));\n const l0 = { x: v0.x, y: v0.y };\n const l1 = { x: v1.x, y: v1.y };\n const rulerSpace = 50 * viewScale;\n const lineSpace = 25 * viewScale;\n let rulerLines = [],\n rulerData = [],\n baseItems = [],\n wallItems = [],\n basePosArray = [\n { x: width / 2, y: height / 2 },\n { x: -width / 2, y: height / 2 }\n ],\n wallPosArray = [\n { x: -width / 2, y: -height / 2 },\n { x: width / 2, y: -height / 2 }\n ],\n left_count = 0,\n right_count = 0,\n leftBaseItems = [],\n rightBaseItems = [],\n leftWallItems = [],\n rightWallItems = [],\n toler_unit = 'mm';\n\n // get length between 2 points\n const getLength = (vertex0, vertex1) => {\n return Math.sqrt(\n Math.pow(vertex0.x - vertex1.x, 2) + Math.pow(vertex0.y - vertex1.y, 2)\n );\n };\n\n // determin if this line(vertex0, vertex1) is snapped into wall\n const isSnapped = (vertex0, vertex1) => {\n let itemSnapped = false;\n let delta = GeometryUtils.distancePointFromLineSegment(\n l0,\n l1,\n (vertex0.x + vertex1.x) / 2,\n (vertex0.y + vertex1.y) / 2\n );\n if (delta < DISTANCE_EPSILON) {\n itemSnapped = true;\n }\n return itemSnapped;\n };\n\n // get array of wallItem and baseITem in layer\n layer.items.forEach(item => {\n let val = {\n pos: { x: item.x, y: item.y },\n rotRad: (item.rotation / 180) * Math.PI\n };\n let catid = item.type;\n let cat = catalog.elements[catid];\n if (!cat) cat = catalog.elements[returnReplaceableDeepSearchType(catid)];\n let width = convert(item.properties.getIn(['width', '_length']))\n .from(item.properties.getIn(['width', '_unit']))\n .to(scene.unit);\n let height = convert(item.properties.getIn(['height', '_length']))\n .from(item.properties.getIn(['height', '_unit']))\n .to(scene.unit);\n let depth = convert(item.properties.getIn(['depth', '_length']))\n .from(item.properties.getIn(['depth', '_unit']))\n .to(scene.unit);\n let altitude = convert(item.properties.getIn(['altitude', '_length']))\n .from(item.properties.getIn(['altitude', '_unit']))\n .to(scene.unit);\n val.size = { width, height, depth, altitude };\n val.layoutpos = cat && cat.info.layoutpos;\n val.is_corner = cat && cat.info.is_corner;\n val.item = item.toJS();\n let calcrect = GeometryUtils.getCalcRectFromItem3D(val);\n\n if (\n isSnapped(calcrect.rect[3], calcrect.rect[2]) ||\n isSnapped(calcrect.rect[2], calcrect.rect[1]) ||\n isSnapped(calcrect.rect[0], calcrect.rect[3])\n ) {\n if (calcrect.itemInfo.properties.altitude.length) {\n wallItems.push(calcrect);\n } else {\n baseItems.push(calcrect);\n }\n }\n });\n\n // sort function\n const sortFunc = (a, b) => {\n return a.pos.x - b.pos.x;\n };\n const negSortFunc = (a, b) => -sortFunc(a, b);\n\n // get item's pos array about baseItem, then sort - baseItems' order is right: (width/2) -> left: (-width/2)\n if (baseItems.length) {\n baseItems.forEach(item => {\n let vertex0, vertex1;\n if (isSnapped(item.rect[3], item.rect[2])) {\n vertex0 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) *\n scale,\n y: height / 2\n };\n vertex1 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) *\n scale,\n y: height / 2\n };\n } else if (isSnapped(item.rect[2], item.rect[1])) {\n vertex0 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) *\n scale,\n y: height / 2\n };\n vertex1 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[1], v0)).from('cm').to(layer.unit) *\n scale,\n y: height / 2\n };\n } else if (isSnapped(item.rect[0], item.rect[3])) {\n vertex0 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[0], v0)).from('cm').to(layer.unit) *\n scale,\n y: height / 2\n };\n vertex1 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) *\n scale,\n y: height / 2\n };\n }\n basePosArray.push(vertex0);\n basePosArray.push(vertex1);\n\n // determin which side(left or right) item is closer to. If item is closer to left side, it will be included in leftBaseITems\n let distLeft = getLength(item.pos, v0);\n let distRight = getLength(item.pos, v1);\n if (distLeft < distRight) {\n leftBaseItems.push(item);\n } else {\n rightBaseItems.push(item);\n }\n });\n }\n basePosArray.sort((a, b) => {\n return b.x - a.x;\n });\n\n // get item's pos array about wallItem, then sort - wallItems' order is left: (-width/2) -> right: (width/2)\n if (wallItems.length) {\n wallItems.forEach(item => {\n let vertex0, vertex1;\n if (isSnapped(item.rect[3], item.rect[2])) {\n vertex0 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) *\n scale,\n y: -height / 2\n };\n vertex1 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) *\n scale,\n y: -height / 2\n };\n } else if (isSnapped(item.rect[2], item.rect[1])) {\n vertex0 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[2], v0)).from('cm').to(layer.unit) *\n scale,\n y: -height / 2\n };\n vertex1 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[1], v0)).from('cm').to(layer.unit) *\n scale,\n y: -height / 2\n };\n } else if (isSnapped(item.rect[0], item.rect[3])) {\n vertex0 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[0], v0)).from('cm').to(layer.unit) *\n scale,\n y: -height / 2\n };\n vertex1 = {\n x:\n -frontRect.width / 2 +\n convert(getLength(item.rect[3], v0)).from('cm').to(layer.unit) *\n scale,\n y: -height / 2\n };\n }\n wallPosArray.push(vertex0);\n wallPosArray.push(vertex1);\n\n // determin which side(left or right) item is closer to. If item is closer to left side, it will be included in leftBaseITems\n let distLeft = getLength(item.pos, v0);\n let distRight = getLength(item.pos, v1);\n if (distLeft < distRight) {\n rightWallItems.push(item);\n } else {\n leftWallItems.push(item);\n }\n });\n }\n wallPosArray.sort((a, b) => {\n return a.x - b.x;\n });\n\n // leftItems = leftBaseItems + inverted leftWallItems : Here, it's different between BaseItem's order and WallItem's order\n leftBaseItems.sort(sortFunc);\n leftWallItems.sort(negSortFunc);\n\n rightBaseItems.sort(negSortFunc);\n rightWallItems.sort(sortFunc);\n let leftItems = leftBaseItems.concat(leftWallItems);\n let rightItems = rightBaseItems.concat(rightWallItems);\n\n // To display side dimensions, set rulerLines about leftItems\n leftItems.forEach((item, idx) => {\n let forwardItems = [];\n let distLine = 0;\n let itemHeight = convert(item.size.height).from(scene.unit).to(layer.unit);\n for (let i = 0; i < idx; i++) {\n forwardItems.push(leftItems[i]);\n }\n if (\n !forwardItems.filter(\n it =>\n it.itemInfo.properties.altitude._length ===\n item.itemInfo.properties.altitude._length &&\n it.itemInfo.properties.height._length ===\n item.itemInfo.properties.height._length\n ).length\n ) {\n if (item.itemInfo.properties.altitude._length) {\n if (isSnapped(item.rect[3], item.rect[2])) {\n distLine = convert(getLength(item.rect[2], v1))\n .from(scene.unit)\n .to(layer.unit);\n } else if (isSnapped(item.rect[2], item.rect[1])) {\n distLine = convert(getLength(item.rect[1], v1))\n .from(scene.unit)\n .to(layer.unit);\n }\n let itemAltitude = convert(item.size.altitude)\n .from(scene.unit)\n .to(layer.unit);\n\n if (\n ceilHeight - (itemAltitude + itemHeight) >\n convert(DELTA).from(toler_unit).to(layer.unit)\n ) {\n rulerLines.push({\n v0: { x: width / 2, y: -height / 2 },\n v1: {\n x: width / 2,\n y: height / 2 - (itemHeight + itemAltitude) * scale\n },\n text: formatNumber(\n ceilHeight - (itemAltitude + itemHeight),\n DECIMAL_PLACES_2\n ),\n space: rulerSpace + right_count * lineSpace\n });\n }\n rulerLines.push({\n v0: {\n x: width / 2 - distLine * scale,\n y: height / 2 - (itemHeight + itemAltitude) * scale\n },\n v1: {\n x: width / 2 - distLine * scale,\n y: height / 2 - itemAltitude * scale\n },\n text: formatNumber(itemHeight, DECIMAL_PLACES_2),\n space: rulerSpace + distLine * scale + right_count * lineSpace\n });\n rulerLines.push({\n v0: {\n x: width / 2,\n y: height / 2 - itemAltitude * scale\n },\n v1: { x: width / 2, y: height / 2 },\n text: formatNumber(itemAltitude, DECIMAL_PLACES_2),\n space: rulerSpace + right_count * lineSpace\n });\n right_count++;\n } else {\n if (isSnapped(item.rect[3], item.rect[2])) {\n distLine = convert(getLength(item.rect[3], v0))\n .from(scene.unit)\n .to(layer.unit);\n } else if (isSnapped(item.rect[2], item.rect[1])) {\n distLine = convert(getLength(item.rect[2], v0))\n .from(scene.unit)\n .to(layer.unit);\n }\n rulerLines.push({\n v0: { x: -width / 2 + distLine * scale, y: height / 2 },\n v1: {\n x: -width / 2 + distLine * scale,\n y: height / 2 - itemHeight * scale\n },\n text: formatNumber(itemHeight, DECIMAL_PLACES_2),\n space: rulerSpace + distLine * scale + left_count * lineSpace\n });\n rulerLines.push({\n v0: { x: -width / 2, y: height / 2 - itemHeight * scale },\n v1: { x: -width / 2, y: -height / 2 },\n text: formatNumber(ceilHeight - itemHeight, DECIMAL_PLACES_2),\n space: rulerSpace + left_count * lineSpace\n });\n left_count++;\n }\n }\n });\n\n // To display side dimensions, set rulerLines about rightItems\n rightItems.forEach((item, idx) => {\n let forwardItems = [];\n let distLine = 0;\n let itemHeight = convert(item.size.height).from(scene.unit).to(layer.unit);\n for (let i = 0; i < idx; i++) {\n forwardItems.push(rightItems[i]);\n }\n if (\n !forwardItems.filter(\n it =>\n it.itemInfo.properties.altitude._length ===\n item.itemInfo.properties.altitude._length &&\n it.itemInfo.properties.height._length ===\n item.itemInfo.properties.height._length\n ).length\n ) {\n if (item.itemInfo.properties.altitude._length) {\n if (isSnapped(item.rect[3], item.rect[2])) {\n distLine = convert(getLength(item.rect[3], v0))\n .from(scene.unit)\n .to(layer.unit);\n } else if (isSnapped(item.rect[2], item.rect[1])) {\n distLine = convert(getLength(item.rect[2], v0))\n .from(scene.unit)\n .to(layer.unit);\n }\n let itemHeight = convert(item.size.height)\n .from(scene.unit)\n .to(layer.unit);\n let itemAltitude = convert(item.size.altitude)\n .from(scene.unit)\n .to(layer.unit);\n rulerLines.push({\n v0: { x: -width / 2, y: height / 2 },\n v1: {\n x: -width / 2,\n y: height / 2 - itemAltitude * scale\n },\n text: formatNumber(itemAltitude, DECIMAL_PLACES_2),\n space: rulerSpace + left_count * lineSpace\n });\n rulerLines.push({\n v0: {\n x: -width / 2 + distLine * scale,\n y: height / 2 - itemAltitude * scale\n },\n v1: {\n x: -width / 2 + distLine * scale,\n y: height / 2 - (itemAltitude + itemHeight) * scale\n },\n text: formatNumber(itemHeight, DECIMAL_PLACES_2),\n space: rulerSpace + +distLine * scale + left_count * lineSpace\n });\n if (\n ceilHeight - (itemAltitude + itemHeight) >\n convert(DELTA).from(toler_unit).to(layer.unit)\n ) {\n rulerLines.push({\n v0: {\n x: -width / 2,\n y: height / 2 - (itemAltitude + itemHeight) * scale\n },\n v1: { x: -width / 2, y: -height / 2 },\n text: formatNumber(\n ceilHeight - (itemAltitude + itemHeight),\n DECIMAL_PLACES_2\n ),\n space: rulerSpace + left_count * lineSpace\n });\n }\n\n left_count++;\n } else {\n if (isSnapped(item.rect[3], item.rect[2])) {\n distLine = convert(getLength(item.rect[2], v1))\n .from(scene.unit)\n .to(layer.unit);\n } else if (isSnapped(item.rect[2], item.rect[1])) {\n distLine = convert(getLength(item.rect[1], v1))\n .from(scene.unit)\n .to(layer.unit);\n }\n rulerLines.push({\n v0: { x: width / 2, y: -height / 2 },\n v1: { x: width / 2, y: height / 2 - itemHeight * scale },\n text: formatNumber(ceilHeight - itemHeight, DECIMAL_PLACES_2),\n space: rulerSpace + right_count * lineSpace\n });\n rulerLines.push({\n v0: {\n x: width / 2 - distLine * scale,\n y: height / 2 - itemHeight * scale\n },\n v1: { x: width / 2 - distLine * scale, y: height / 2 },\n text: formatNumber(itemHeight, DECIMAL_PLACES_2),\n space: rulerSpace + distLine * scale + right_count * lineSpace\n });\n right_count++;\n }\n }\n });\n\n // To display wall line dimensions, set rulerLines\n rulerLines.push({\n v0: { x: width / 2, y: -height / 2 },\n v1: { x: width / 2, y: height / 2 },\n text: ceilHeight,\n space: rulerSpace + lineSpace * right_count\n });\n rulerLines.push({\n v0: { x: -width / 2, y: height / 2 },\n v1: { x: -width / 2, y: -height / 2 },\n text: ceilHeight,\n space: rulerSpace + lineSpace * left_count\n });\n rulerLines.push({\n v0: { x: width / 2, y: height / 2 },\n v1: { x: -width / 2, y: height / 2 },\n text: formatNumber(lineLength, DECIMAL_PLACES_2),\n space: rulerSpace + (baseItems.length ? lineSpace : 0)\n });\n rulerLines.push({\n v0: { x: -width / 2, y: -height / 2 },\n v1: { x: width / 2, y: -height / 2 },\n text: formatNumber(lineLength, DECIMAL_PLACES_2),\n space: rulerSpace + (wallItems.length ? lineSpace : 0)\n });\n\n // To display wallItems dimensions, set rulerLines with wallPosArray\n if (wallItems.length) {\n for (let i = 0; i < wallPosArray.length - 1; i++) {\n let dist = getLength(wallPosArray[i], wallPosArray[i + 1]) / scale;\n rulerLines.push({\n v0: wallPosArray[i],\n v1: wallPosArray[i + 1],\n space: rulerSpace,\n text: formatNumber(dist, DECIMAL_PLACES_2)\n });\n }\n }\n\n // To display baseItems dimensions, set rulerLines with basePosArray\n if (baseItems.length) {\n for (let j = 0; j < basePosArray.length - 1; j++) {\n let dist = getLength(basePosArray[j], basePosArray[j + 1]) / scale;\n rulerLines.push({\n v0: basePosArray[j],\n v1: basePosArray[j + 1],\n space: rulerSpace,\n text: formatNumber(dist, DECIMAL_PLACES_2)\n });\n }\n }\n\n rulerLines.forEach(line => {\n if (isNonZeroText(line.text))\n rulerData.push(\n <Ruler3D\n line={line}\n layer={layer}\n viewScale={viewScale}\n downloadFlag={downloadFlag}\n />\n );\n });\n\n return <g opacity={layer.opacity}>{rulerData}</g>;\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,OAAO,MAAM,WAAW;AAC/B,OAAOC,OAAO,MAAM,eAAe;AACnC,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,+BAA+B,QAAQ,oCAAoC;AACpF,SAASC,KAAK,EAAEC,gBAAgB,EAAEC,gBAAgB,QAAQ,oBAAoB;AAC9E,SAASC,YAAY,EAAEC,aAAa,QAAQ,qBAAqB;AAEjE,eAAe,SAASC,OAAOA,CAAAC,IAAA,EAY5B;EAAA,IAXDC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IACVC,UAAU,GAAAJ,IAAA,CAAVI,UAAU;IACVC,OAAO,GAAAL,IAAA,CAAPK,OAAO;IACPC,KAAK,GAAAN,IAAA,CAALM,KAAK;IACLC,KAAK,GAAAP,IAAA,CAALO,KAAK;IACLC,IAAI,GAAAR,IAAA,CAAJQ,IAAI;IACJC,IAAI,GAAAT,IAAA,CAAJS,IAAI;IACJC,SAAS,GAAAV,IAAA,CAATU,SAAS;IACTC,YAAY,GAAAX,IAAA,CAAZW,YAAY;EAEZ,IAAQC,KAAK,GAAaV,SAAS,CAA3BU,KAAK;IAAEC,MAAM,GAAKX,SAAS,CAApBW,MAAM;EACrB,IAAIC,EAAE,GAAGb,KAAK,CAACc,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