kitchen-simulator 5.0.0-test.4 → 5.0.0-test.5
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 +1 -2
- package/src/@history.js +0 -3
- package/src/AppContext.js +0 -5
- package/src/KitchenConfigurator.jsx +0 -1517
- package/src/KitchenConfiguratorApp.jsx +0 -443
- package/src/actions/area-actions.js +0 -15
- package/src/actions/export.js +0 -38
- package/src/actions/groups-actions.js +0 -102
- package/src/actions/holes-actions.js +0 -152
- package/src/actions/items-actions.js +0 -393
- package/src/actions/lines-actions.js +0 -103
- package/src/actions/project-actions.js +0 -391
- package/src/actions/scene-actions.js +0 -44
- package/src/actions/user-actions.js +0 -75
- package/src/actions/vertices-actions.js +0 -34
- package/src/actions/viewer2d-actions.js +0 -79
- package/src/actions/viewer3d-actions.js +0 -32
- package/src/catalog/areas/area/planner-element.jsx +0 -43
- package/src/catalog/areas/area/textures/ceramic-tile.jpg +0 -0
- package/src/catalog/areas/area/textures/grass.jpg +0 -0
- package/src/catalog/areas/area/textures/parquet.jpg +0 -0
- package/src/catalog/areas/area/textures/strand-porcelain.jpg +0 -0
- package/src/catalog/areas/area/textures/tile1.jpg +0 -0
- package/src/catalog/back.png +0 -0
- package/src/catalog/catalog.js +0 -258
- package/src/catalog/doors.png +0 -0
- package/src/catalog/doorways.png +0 -0
- package/src/catalog/envMap/nx.hdr +0 -0
- package/src/catalog/envMap/ny.hdr +0 -0
- package/src/catalog/envMap/nz.hdr +0 -0
- package/src/catalog/envMap/px.hdr +0 -0
- package/src/catalog/envMap/py.hdr +0 -0
- package/src/catalog/envMap/pz.hdr +0 -0
- package/src/catalog/factories/area-factory-3d.js +0 -252
- package/src/catalog/factories/area-factory.jsx +0 -102
- package/src/catalog/factories/export.js +0 -9
- package/src/catalog/factories/wall-factory-3d.js +0 -296
- package/src/catalog/factories/wall-factory.jsx +0 -321
- package/src/catalog/holes/door-closet/planner-element.jsx +0 -251
- package/src/catalog/holes/door-double/door_double.png +0 -0
- package/src/catalog/holes/door-double/planner-element.jsx +0 -391
- package/src/catalog/holes/door-exterior/planner-element.jsx +0 -245
- package/src/catalog/holes/door-interior/planner-element.jsx +0 -256
- package/src/catalog/holes/door-panic/panicDoor.png +0 -0
- package/src/catalog/holes/door-panic/planner-element.jsx +0 -594
- package/src/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
- package/src/catalog/holes/door-panic-double/planner-element.jsx +0 -574
- package/src/catalog/holes/door-sliding/planner-element.jsx +0 -256
- package/src/catalog/holes/doorway-framed/planner-element.jsx +0 -169
- package/src/catalog/holes/doorway-frameless/planner-element.jsx +0 -116
- package/src/catalog/holes/gate/gate.jpg +0 -0
- package/src/catalog/holes/window-clear/planner-element.jsx +0 -181
- package/src/catalog/holes/window-clear/texture.png +0 -0
- package/src/catalog/holes/window-cross/planner-element.jsx +0 -180
- package/src/catalog/holes/window-cross/texture.png +0 -0
- package/src/catalog/holes/window-double-hung/planner-element.jsx +0 -366
- package/src/catalog/holes/window-double-hung/texture.png +0 -0
- package/src/catalog/holes/window-vertical/planner-element.jsx +0 -290
- package/src/catalog/holes/window-vertical/texture.png +0 -0
- package/src/catalog/lines/wall/planner-element.jsx +0 -73
- package/src/catalog/lines/wall/textures/bricks-normal.jpg +0 -0
- package/src/catalog/lines/wall/textures/bricks-normal2.jpg +0 -0
- package/src/catalog/lines/wall/textures/bricks.jpg +0 -0
- package/src/catalog/lines/wall/textures/bricks2.jpg +0 -0
- package/src/catalog/lines/wall/textures/bricks3.jpg +0 -0
- package/src/catalog/lines/wall/textures/morden-normal.jpg +0 -0
- package/src/catalog/lines/wall/textures/morden.jpg +0 -0
- package/src/catalog/lines/wall/textures/painted-normal.jpg +0 -0
- package/src/catalog/lines/wall/textures/painted.jpg +0 -0
- package/src/catalog/lines/wall/textures/plaster-normal.jpg +0 -0
- package/src/catalog/lines/wall/textures/plaster.jpg +0 -0
- package/src/catalog/lines/wall/wall.png +0 -0
- package/src/catalog/molding/molding-dcm/planner-element.jsx +0 -35
- package/src/catalog/molding/molding-dcm/texture.png +0 -0
- package/src/catalog/molding/molding-fbm/planner-element.jsx +0 -35
- package/src/catalog/molding/molding-fbm/texture.png +0 -0
- package/src/catalog/molding/molding-lrm/planner-element.jsx +0 -35
- package/src/catalog/molding/molding-lrm/texture.png +0 -0
- package/src/catalog/properties/export.js +0 -33
- package/src/catalog/properties/property-checkbox.jsx +0 -123
- package/src/catalog/properties/property-color.jsx +0 -52
- package/src/catalog/properties/property-enum.jsx +0 -87
- package/src/catalog/properties/property-hidden.jsx +0 -22
- package/src/catalog/properties/property-lenght-measure.jsx +0 -113
- package/src/catalog/properties/property-length-measure.jsx +0 -129
- package/src/catalog/properties/property-length-measure_hole.jsx +0 -110
- package/src/catalog/properties/property-number.jsx +0 -63
- package/src/catalog/properties/property-read-only.jsx +0 -37
- package/src/catalog/properties/property-string.jsx +0 -59
- package/src/catalog/properties/property-toggle.jsx +0 -51
- package/src/catalog/properties/shared-property-style.js +0 -13
- package/src/catalog/utils/FuseUtils.js +0 -61
- package/src/catalog/utils/exporter.js +0 -173
- package/src/catalog/utils/geom-utils.js +0 -301
- package/src/catalog/utils/item-loader.jsx +0 -2122
- package/src/catalog/utils/load-obj.js +0 -113
- package/src/catalog/utils/mtl-loader.js +0 -462
- package/src/catalog/utils/obj-loader.js +0 -544
- package/src/catalog/windows.png +0 -0
- package/src/class/FuseUtils.js +0 -61
- package/src/class/area.js +0 -159
- package/src/class/export.js +0 -37
- package/src/class/group.js +0 -565
- package/src/class/guide.js +0 -44
- package/src/class/hole.js +0 -1359
- package/src/class/item.js +0 -2050
- package/src/class/layer.js +0 -926
- package/src/class/line.js +0 -1780
- package/src/class/project.js +0 -875
- package/src/class/vertex.js +0 -409
- package/src/components/atoms/Snackbar/index.jsx +0 -43
- package/src/components/atoms/radio-button/index.jsx +0 -20
- package/src/components/atoms/radio-button/styles.js +0 -56
- package/src/components/button/MainButton.jsx +0 -157
- package/src/components/button/ToggleMeasureButton.jsx +0 -65
- package/src/components/catalog-view/catalog-breadcrumb.jsx +0 -53
- package/src/components/catalog-view/catalog-item.jsx +0 -229
- package/src/components/catalog-view/catalog-list.jsx +0 -173
- package/src/components/catalog-view/catalog-page-item.jsx +0 -110
- package/src/components/catalog-view/catalog-turn-back-page-item.jsx +0 -80
- package/src/components/configurator/custom-configurator.jsx +0 -77
- package/src/components/configurator/project-configurator.jsx +0 -120
- package/src/components/content.jsx +0 -136
- package/src/components/export.js +0 -36
- package/src/components/firstsetting/button/styles.js +0 -223
- package/src/components/firstsetting/export.js +0 -9
- package/src/components/firstsetting/firstsetting-content-button.jsx +0 -198
- package/src/components/firstsetting/firstsetting-toggle-button.jsx +0 -101
- package/src/components/firstsetting/firstsetting.jsx +0 -814
- package/src/components/footerbar/button/ControlButton.jsx +0 -43
- package/src/components/footerbar/button/DirectionButton.jsx +0 -54
- package/src/components/footerbar/button/DirectionPanSpinButton.jsx +0 -36
- package/src/components/footerbar/button/ToggleButton.jsx +0 -58
- package/src/components/footerbar/button/ToggleConvertButton.jsx +0 -48
- package/src/components/footerbar/button/ToggleMeasureButton.jsx +0 -33
- package/src/components/footerbar/button/styles.js +0 -217
- package/src/components/footerbar/export.js +0 -9
- package/src/components/footerbar/footer-content-button.jsx +0 -198
- package/src/components/footerbar/footer-toggle-button.jsx +0 -101
- package/src/components/footerbar/footerbar.jsx +0 -1103
- package/src/components/footerbar/styles.js +0 -263
- package/src/components/header/button/MenuButton.jsx +0 -46
- package/src/components/header/button/SaveButton.jsx +0 -54
- package/src/components/header/button/styles.js +0 -181
- package/src/components/header/export.js +0 -5
- package/src/components/header/header.jsx +0 -631
- package/src/components/header/header.style.css +0 -47
- package/src/components/header/styles.js +0 -320
- package/src/components/login/Login.js +0 -77
- package/src/components/login/LoginForm/index.js +0 -108
- package/src/components/login/Register.js +0 -83
- package/src/components/login/RegisterForm/index.js +0 -171
- package/src/components/login/jwtService.js +0 -201
- package/src/components/login/style.css +0 -158
- package/src/components/login/style.scss +0 -260
- package/src/components/molecules/slider/index.jsx +0 -15
- package/src/components/molecules/slider/styles.js +0 -0
- package/src/components/molecules/slider/styles.scss +0 -3
- package/src/components/myprojects/export.js +0 -5
- package/src/components/myprojects/index.jsx +0 -445
- package/src/components/myprojects/styles.js +0 -241
- package/src/components/sidebar/custom-accordion.jsx +0 -48
- package/src/components/sidebar/export.js +0 -15
- package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +0 -73
- package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +0 -101
- package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +0 -149
- package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +0 -316
- package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +0 -108
- package/src/components/sidebar/panel-element-editor/element-editor.jsx +0 -1070
- package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
- package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +0 -104
- package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +0 -155
- package/src/components/sidebar/panel-group-editor.jsx +0 -272
- package/src/components/sidebar/panel-groups.jsx +0 -310
- package/src/components/sidebar/panel-guides.jsx +0 -192
- package/src/components/sidebar/panel-layer-elements.jsx +0 -298
- package/src/components/sidebar/panel-layers.jsx +0 -381
- package/src/components/sidebar/panel.jsx +0 -71
- package/src/components/sidebar/sidebar.jsx +0 -106
- package/src/components/sidebar/toolbar-panel.jsx +0 -139
- package/src/components/sign/export.js +0 -7
- package/src/components/sign/main/index.jsx +0 -523
- package/src/components/sign/main/styles.js +0 -163
- package/src/components/style/button.jsx +0 -95
- package/src/components/style/cancel-button.jsx +0 -20
- package/src/components/style/content-container.jsx +0 -29
- package/src/components/style/content-title.jsx +0 -20
- package/src/components/style/delete-button.jsx +0 -23
- package/src/components/style/export.jsx +0 -48
- package/src/components/style/form-block.jsx +0 -13
- package/src/components/style/form-color-input.jsx +0 -27
- package/src/components/style/form-label.jsx +0 -15
- package/src/components/style/form-number-input.jsx +0 -196
- package/src/components/style/form-number-input_2.jsx +0 -191
- package/src/components/style/form-select.jsx +0 -38
- package/src/components/style/form-slider.jsx +0 -36
- package/src/components/style/form-submit-button.jsx +0 -23
- package/src/components/style/form-text-input.jsx +0 -65
- package/src/components/toolbar/button/ControlButton.jsx +0 -41
- package/src/components/toolbar/button/DirectionButton.jsx +0 -34
- package/src/components/toolbar/button/RightButton.jsx +0 -103
- package/src/components/toolbar/button/ToggleButton.jsx +0 -41
- package/src/components/toolbar/button/index.jsx +0 -55
- package/src/components/toolbar/button/styles.js +0 -127
- package/src/components/toolbar/components/DoorStyleMenu.jsx +0 -103
- package/src/components/toolbar/components/Pricing.jsx +0 -126
- package/src/components/toolbar/components/ReviewForQuote.jsx +0 -635
- package/src/components/toolbar/export.js +0 -21
- package/src/components/toolbar/main/Alert.js +0 -122
- package/src/components/toolbar/main/TakePictureModal.jsx +0 -104
- package/src/components/toolbar/main/confirm-popup.jsx +0 -99
- package/src/components/toolbar/main/index.jsx +0 -5687
- package/src/components/toolbar/main/lShaped.json +0 -311
- package/src/components/toolbar/main/longNarrow.json +0 -238
- package/src/components/toolbar/main/myComponents.js +0 -123
- package/src/components/toolbar/main/oRectangle.json +0 -220
- package/src/components/toolbar/main/rectangle.json +0 -238
- package/src/components/toolbar/main/style.css +0 -107
- package/src/components/toolbar/main/styles.js +0 -696
- package/src/components/toolbar/plugin-item.jsx +0 -123
- package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +0 -73
- package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +0 -102
- package/src/components/toolbar/popup/appliance/index.jsx +0 -83
- package/src/components/toolbar/popup/autosaveprompt/index.jsx +0 -150
- package/src/components/toolbar/popup/autosaveprompt/styles.css +0 -64
- package/src/components/toolbar/popup/autosaveprompt/styles.js +0 -40
- package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +0 -73
- package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +0 -119
- package/src/components/toolbar/popup/cabinet/index.jsx +0 -85
- package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +0 -63
- package/src/components/toolbar/popup/doorStyle/index.jsx +0 -71
- package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +0 -139
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -2
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +0 -157
- package/src/components/toolbar/popup/downloadsummary/index.jsx +0 -643
- package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +0 -51
- package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +0 -175
- package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +0 -283
- package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +0 -2257
- package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -93
- package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +0 -132
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +0 -2198
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +0 -152
- package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +0 -149
- package/src/components/toolbar/popup/downloadsummary/styles.css +0 -177
- package/src/components/toolbar/popup/downloadsummary/styles.js +0 -453
- package/src/components/toolbar/popup/finishingtouch/category/index.jsx +0 -34
- package/src/components/toolbar/popup/finishingtouch/index.jsx +0 -58
- package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +0 -112
- package/src/components/toolbar/popup/finishingtouch/product/index.jsx +0 -116
- package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +0 -101
- package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +0 -254
- package/src/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
- package/src/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
- package/src/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
- package/src/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
- package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -86
- package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +0 -109
- package/src/components/toolbar/popup/floorplan/index.jsx +0 -60
- package/src/components/toolbar/popup/index.jsx +0 -241
- package/src/components/toolbar/popup/newproject/index.jsx +0 -59
- package/src/components/toolbar/popup/newproject/styles.css +0 -64
- package/src/components/toolbar/popup/newproject/styles.js +0 -41
- package/src/components/toolbar/popup/product/appliance.jsx +0 -54
- package/src/components/toolbar/popup/product/cabinetproduct.jsx +0 -15
- package/src/components/toolbar/popup/product/doorstyle.jsx +0 -58
- package/src/components/toolbar/popup/product/doorstyleproduct.jsx +0 -47
- package/src/components/toolbar/popup/product/floor.jsx +0 -36
- package/src/components/toolbar/popup/product/floorproduct.jsx +0 -42
- package/src/components/toolbar/popup/product/index.jsx +0 -36
- package/src/components/toolbar/popup/product/primary.jsx +0 -77
- package/src/components/toolbar/popup/product/productline.jsx +0 -93
- package/src/components/toolbar/popup/product/reviewItem.jsx +0 -427
- package/src/components/toolbar/popup/product/reviewMolding.jsx +0 -310
- package/src/components/toolbar/popup/product/style.css +0 -54
- package/src/components/toolbar/popup/product/styles.js +0 -260
- package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +0 -146
- package/src/components/toolbar/popup/savedesign/index.jsx +0 -495
- package/src/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
- package/src/components/toolbar/popup/savedesign/styles.js +0 -151
- package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +0 -87
- package/src/components/toolbar/popup/styles.js +0 -909
- package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +0 -192
- package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +0 -96
- package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +0 -54
- package/src/components/toolbar/popup/submitforquote/StepDots.jsx +0 -25
- package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +0 -116
- package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -38
- package/src/components/toolbar/popup/submitforquote/index.jsx +0 -698
- package/src/components/toolbar/popup/submitforquote/styles.css +0 -105
- package/src/components/toolbar/popup/submitforquote/styles.js +0 -294
- package/src/components/toolbar/popup/submitprompt/index.jsx +0 -89
- package/src/components/toolbar/popup/submitprompt/styles.css +0 -64
- package/src/components/toolbar/popup/submitprompt/styles.js +0 -42
- package/src/components/toolbar/toolbar-button.jsx +0 -90
- package/src/components/toolbar/toolbar-load-button.jsx +0 -36
- package/src/components/toolbar/toolbar-save-button.jsx +0 -32
- package/src/components/tutorial-view/Modal.jsx +0 -584
- package/src/components/tutorial-view/style.css +0 -111
- package/src/components/tutorial-view/styles.js +0 -65
- package/src/components/viewer2d/area.jsx +0 -98
- package/src/components/viewer2d/export.js +0 -48
- package/src/components/viewer2d/grids/grid-horizontal-streak.jsx +0 -40
- package/src/components/viewer2d/grids/grid-streak.jsx +0 -32
- package/src/components/viewer2d/grids/grid-vertical-streak.jsx +0 -41
- package/src/components/viewer2d/grids/grids.jsx +0 -30
- package/src/components/viewer2d/group.jsx +0 -57
- package/src/components/viewer2d/item.jsx +0 -618
- package/src/components/viewer2d/layer.jsx +0 -214
- package/src/components/viewer2d/line.jsx +0 -1358
- package/src/components/viewer2d/ruler.jsx +0 -136
- package/src/components/viewer2d/rulerDist.jsx +0 -192
- package/src/components/viewer2d/rulerX.jsx +0 -141
- package/src/components/viewer2d/rulerY.jsx +0 -138
- package/src/components/viewer2d/scene.jsx +0 -94
- package/src/components/viewer2d/snap.jsx +0 -118
- package/src/components/viewer2d/state.jsx +0 -77
- package/src/components/viewer2d/utils.js +0 -195
- package/src/components/viewer2d/vertex.jsx +0 -76
- package/src/components/viewer2d/viewer2d.jsx +0 -1830
- package/src/components/viewer3d/camera-controls-module/camera-controls.module.js +0 -3078
- package/src/components/viewer3d/dcm.js +0 -226
- package/src/components/viewer3d/fbm.js +0 -383
- package/src/components/viewer3d/front3D.jsx +0 -63
- package/src/components/viewer3d/grid-creator.js +0 -25
- package/src/components/viewer3d/grids/grid-horizontal-streak.js +0 -41
- package/src/components/viewer3d/grids/grid-streak.js +0 -34
- package/src/components/viewer3d/grids/grid-vertical-streak.js +0 -42
- package/src/components/viewer3d/libs/first-person-controls.js +0 -70
- package/src/components/viewer3d/libs/helvetiker_regular.typeface.js +0 -1265
- package/src/components/viewer3d/libs/mtl-loader.js +0 -462
- package/src/components/viewer3d/libs/obj-loader.js +0 -653
- package/src/components/viewer3d/libs/orbit-controls.js +0 -945
- package/src/components/viewer3d/libs/pointer-lock-controls.js +0 -67
- package/src/components/viewer3d/lrm.js +0 -358
- package/src/components/viewer3d/model.js +0 -830
- package/src/components/viewer3d/pointer-lock-navigation.js +0 -140
- package/src/components/viewer3d/ruler-utils/itemRect.jsx +0 -91
- package/src/components/viewer3d/ruler-utils/layer3D.jsx +0 -528
- package/src/components/viewer3d/ruler-utils/ruler3D.jsx +0 -218
- package/src/components/viewer3d/ruler-utils/scene3D.jsx +0 -87
- package/src/components/viewer3d/ruler-utils/state3D.jsx +0 -25
- package/src/components/viewer3d/scene-creator.js +0 -5172
- package/src/components/viewer3d/three-memory-cleaner.js +0 -65
- package/src/components/viewer3d/viewer3d-first-person.js +0 -395
- package/src/components/viewer3d/viewer3d.js +0 -3376
- package/src/components/wizardstep/button/styles.js +0 -677
- package/src/components/wizardstep/export.js +0 -5
- package/src/components/wizardstep/index.jsx +0 -1372
- package/src/components/wizardstep/styles.js +0 -688
- package/src/components/wizardstep/wizardstep-content-button.jsx +0 -198
- package/src/components/wizardstep/wizardstep-toggle-button.jsx +0 -101
- package/src/constants.js +0 -731
- package/src/hooks/useCheckCart.js +0 -38
- package/src/hooks/useGetPricesBySku.js +0 -59
- package/src/hooks/useValidateToken.js +0 -181
- package/src/index.js +0 -32
- package/src/models.js +0 -541
- package/src/plugins/SVGLoader.js +0 -1991
- package/src/plugins/autosave.js +0 -39
- package/src/plugins/console-debugger.js +0 -36
- package/src/plugins/export.js +0 -11
- package/src/plugins/keyboard.js +0 -194
- package/src/reducers/areas-reducer.js +0 -13
- package/src/reducers/export.js +0 -39
- package/src/reducers/groups-reducer.js +0 -73
- package/src/reducers/holes-reducer.js +0 -125
- package/src/reducers/items-reducer.js +0 -286
- package/src/reducers/lines-reducer.js +0 -96
- package/src/reducers/project-reducer.js +0 -239
- package/src/reducers/reducer.js +0 -59
- package/src/reducers/scene-reducer.js +0 -41
- package/src/reducers/user-reducer.js +0 -30
- package/src/reducers/vertices-reducer.js +0 -34
- package/src/reducers/viewer2d-reducer.js +0 -81
- package/src/reducers/viewer3d-reducer.js +0 -65
- package/src/shared-style.js +0 -72
- package/src/styles/export.js +0 -7
- package/src/styles/tabs.css +0 -40
- package/src/translator/en.js +0 -106
- package/src/translator/it.js +0 -80
- package/src/translator/ru.js +0 -80
- package/src/translator/translator.js +0 -81
- package/src/utils/browser.js +0 -36
- package/src/utils/email-validator.js +0 -5
- package/src/utils/export.js +0 -39
- package/src/utils/geometry.js +0 -2572
- package/src/utils/get-edges-of-subgraphs.js +0 -29
- package/src/utils/graph-cycles.js +0 -259
- package/src/utils/graph-inner-cycles.js +0 -49
- package/src/utils/graph.js +0 -147
- package/src/utils/helper.js +0 -431
- package/src/utils/history.js +0 -37
- package/src/utils/id-broker.js +0 -9
- package/src/utils/logger.js +0 -8
- package/src/utils/math.js +0 -51
- package/src/utils/molding.js +0 -973
- package/src/utils/name-generator.js +0 -5
- package/src/utils/objects-utils.js +0 -56
- package/src/utils/phone-validator.js +0 -4
- package/src/utils/process-black-list.js +0 -10
- package/src/utils/react-if.jsx +0 -20
- package/src/utils/snap-scene.js +0 -102
- package/src/utils/snap.js +0 -184
- package/src/utils/threeCSG.es6.js +0 -578
- package/src/version.js +0 -1
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"unit": "cm",
|
|
3
|
-
"rulerUnit": "in",
|
|
4
|
-
"layers": {
|
|
5
|
-
"layer-1": {
|
|
6
|
-
"id": "layer-1",
|
|
7
|
-
"altitude": 0,
|
|
8
|
-
"order": 0,
|
|
9
|
-
"opacity": 1,
|
|
10
|
-
"name": "default",
|
|
11
|
-
"visible": true,
|
|
12
|
-
"vertices": {
|
|
13
|
-
"Pa4Hy3Z26ga": {
|
|
14
|
-
"id": "Pa4Hy3Z26ga",
|
|
15
|
-
"type": "",
|
|
16
|
-
"prototype": "vertices",
|
|
17
|
-
"name": "Vertex",
|
|
18
|
-
"misc": {},
|
|
19
|
-
"selected": false,
|
|
20
|
-
"properties": {},
|
|
21
|
-
"style": "",
|
|
22
|
-
"category": "",
|
|
23
|
-
"visible": true,
|
|
24
|
-
"x": 1088.15995872033,
|
|
25
|
-
"y": 671.5273477812179,
|
|
26
|
-
"lines": ["WtLsRqGdv", "ee4Mg4ygU"],
|
|
27
|
-
"areas": ["LNznnRBhRP"]
|
|
28
|
-
},
|
|
29
|
-
"vlppTvk-ik": {
|
|
30
|
-
"id": "vlppTvk-ik",
|
|
31
|
-
"type": "",
|
|
32
|
-
"prototype": "vertices",
|
|
33
|
-
"name": "Vertex",
|
|
34
|
-
"misc": {},
|
|
35
|
-
"selected": false,
|
|
36
|
-
"properties": {},
|
|
37
|
-
"style": "",
|
|
38
|
-
"category": "",
|
|
39
|
-
"visible": true,
|
|
40
|
-
"x": 1982.3,
|
|
41
|
-
"y": 1314.15,
|
|
42
|
-
"lines": ["Ub0iX35kFf", "D7coA9xHM"],
|
|
43
|
-
"areas": ["LNznnRBhRP"]
|
|
44
|
-
},
|
|
45
|
-
"KYo9KB-NX8": {
|
|
46
|
-
"id": "KYo9KB-NX8",
|
|
47
|
-
"type": "",
|
|
48
|
-
"prototype": "vertices",
|
|
49
|
-
"name": "Vertex",
|
|
50
|
-
"misc": {},
|
|
51
|
-
"selected": false,
|
|
52
|
-
"properties": {},
|
|
53
|
-
"style": "",
|
|
54
|
-
"category": "",
|
|
55
|
-
"visible": true,
|
|
56
|
-
"x": 1982.24,
|
|
57
|
-
"y": 671.53,
|
|
58
|
-
"lines": ["WtLsRqGdv", "D7coA9xHM"],
|
|
59
|
-
"areas": ["LNznnRBhRP"]
|
|
60
|
-
},
|
|
61
|
-
"f63-bHEpsp": {
|
|
62
|
-
"id": "f63-bHEpsp",
|
|
63
|
-
"type": "",
|
|
64
|
-
"prototype": "vertices",
|
|
65
|
-
"name": "Vertex",
|
|
66
|
-
"misc": {},
|
|
67
|
-
"selected": false,
|
|
68
|
-
"properties": {},
|
|
69
|
-
"style": "",
|
|
70
|
-
"category": "",
|
|
71
|
-
"visible": true,
|
|
72
|
-
"x": 1487,
|
|
73
|
-
"y": 1313.5,
|
|
74
|
-
"lines": ["Ub0iX35kFf", "NzAuNLemc"],
|
|
75
|
-
"areas": ["LNznnRBhRP"]
|
|
76
|
-
},
|
|
77
|
-
"mKjSxr-W8v": {
|
|
78
|
-
"id": "mKjSxr-W8v",
|
|
79
|
-
"type": "",
|
|
80
|
-
"prototype": "vertices",
|
|
81
|
-
"name": "Vertex",
|
|
82
|
-
"misc": {},
|
|
83
|
-
"selected": false,
|
|
84
|
-
"properties": {},
|
|
85
|
-
"style": "",
|
|
86
|
-
"category": "",
|
|
87
|
-
"visible": true,
|
|
88
|
-
"x": 1486.94,
|
|
89
|
-
"y": 1059.5,
|
|
90
|
-
"lines": ["Rqe2KAU6-", "NzAuNLemc"],
|
|
91
|
-
"areas": ["LNznnRBhRP"]
|
|
92
|
-
},
|
|
93
|
-
"YWcoTtebzF": {
|
|
94
|
-
"id": "YWcoTtebzF",
|
|
95
|
-
"type": "",
|
|
96
|
-
"prototype": "vertices",
|
|
97
|
-
"name": "Vertex",
|
|
98
|
-
"misc": {},
|
|
99
|
-
"selected": false,
|
|
100
|
-
"properties": {},
|
|
101
|
-
"style": "",
|
|
102
|
-
"category": "",
|
|
103
|
-
"visible": true,
|
|
104
|
-
"x": 1088.16,
|
|
105
|
-
"y": 1060.15,
|
|
106
|
-
"lines": ["ee4Mg4ygU", "Rqe2KAU6-"],
|
|
107
|
-
"areas": ["LNznnRBhRP"]
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"lines": {
|
|
111
|
-
"WtLsRqGdv": {
|
|
112
|
-
"id": "WtLsRqGdv",
|
|
113
|
-
"type": "wall",
|
|
114
|
-
"prototype": "lines",
|
|
115
|
-
"name": "Wall",
|
|
116
|
-
"misc": {},
|
|
117
|
-
"selected": false,
|
|
118
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
119
|
-
"style": "",
|
|
120
|
-
"category": "",
|
|
121
|
-
"createdDateTime": 1693373165185,
|
|
122
|
-
"visible": true,
|
|
123
|
-
"vertices": ["KYo9KB-NX8", "Pa4Hy3Z26ga"],
|
|
124
|
-
"holes": [],
|
|
125
|
-
"focus": false,
|
|
126
|
-
"wallColor": "#dddddd"
|
|
127
|
-
},
|
|
128
|
-
"NzAuNLemc": {
|
|
129
|
-
"id": "NzAuNLemc",
|
|
130
|
-
"type": "wall",
|
|
131
|
-
"prototype": "lines",
|
|
132
|
-
"name": "Wall",
|
|
133
|
-
"misc": {},
|
|
134
|
-
"selected": false,
|
|
135
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
136
|
-
"style": "",
|
|
137
|
-
"category": "",
|
|
138
|
-
"createdDateTime": 1693373165155,
|
|
139
|
-
"visible": true,
|
|
140
|
-
"vertices": ["mKjSxr-W8v", "f63-bHEpsp"],
|
|
141
|
-
"holes": [],
|
|
142
|
-
"focus": false,
|
|
143
|
-
"wallColor": "#dddddd"
|
|
144
|
-
},
|
|
145
|
-
"Ub0iX35kFf": {
|
|
146
|
-
"id": "Ub0iX35kFf",
|
|
147
|
-
"type": "wall",
|
|
148
|
-
"prototype": "lines",
|
|
149
|
-
"name": "Wall",
|
|
150
|
-
"misc": {},
|
|
151
|
-
"selected": false,
|
|
152
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
153
|
-
"style": "",
|
|
154
|
-
"category": "",
|
|
155
|
-
"createdDateTime": 1693373165165,
|
|
156
|
-
"visible": true,
|
|
157
|
-
"vertices": ["f63-bHEpsp", "vlppTvk-ik"],
|
|
158
|
-
"holes": [],
|
|
159
|
-
"focus": false,
|
|
160
|
-
"wallColor": "#dddddd"
|
|
161
|
-
},
|
|
162
|
-
"ee4Mg4ygU": {
|
|
163
|
-
"id": "ee4Mg4ygU",
|
|
164
|
-
"type": "wall",
|
|
165
|
-
"prototype": "lines",
|
|
166
|
-
"name": "Wall",
|
|
167
|
-
"misc": {},
|
|
168
|
-
"selected": false,
|
|
169
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
170
|
-
"style": "",
|
|
171
|
-
"category": "",
|
|
172
|
-
"createdDateTime": 1693373165195,
|
|
173
|
-
"visible": true,
|
|
174
|
-
"vertices": ["Pa4Hy3Z26ga", "YWcoTtebzF"],
|
|
175
|
-
"holes": [],
|
|
176
|
-
"focus": false,
|
|
177
|
-
"wallColor": "#dddddd"
|
|
178
|
-
},
|
|
179
|
-
"Rqe2KAU6-": {
|
|
180
|
-
"id": "Rqe2KAU6-",
|
|
181
|
-
"type": "wall",
|
|
182
|
-
"prototype": "lines",
|
|
183
|
-
"name": "Wall",
|
|
184
|
-
"misc": {},
|
|
185
|
-
"selected": false,
|
|
186
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
187
|
-
"style": "",
|
|
188
|
-
"category": "",
|
|
189
|
-
"createdDateTime": 1693373165145,
|
|
190
|
-
"visible": true,
|
|
191
|
-
"vertices": ["YWcoTtebzF", "mKjSxr-W8v"],
|
|
192
|
-
"holes": [],
|
|
193
|
-
"focus": false,
|
|
194
|
-
"wallColor": "#dddddd"
|
|
195
|
-
},
|
|
196
|
-
"D7coA9xHM": {
|
|
197
|
-
"id": "D7coA9xHM",
|
|
198
|
-
"type": "wall",
|
|
199
|
-
"prototype": "lines",
|
|
200
|
-
"name": "Wall",
|
|
201
|
-
"misc": {},
|
|
202
|
-
"selected": false,
|
|
203
|
-
"properties": {
|
|
204
|
-
"textureB": "plaster",
|
|
205
|
-
"width": { "_unit": "in", "length": null },
|
|
206
|
-
"height": { "_unit": "in", "length": null },
|
|
207
|
-
"depth": { "_unit": "in", "length": null },
|
|
208
|
-
"textureA": "plaster"
|
|
209
|
-
},
|
|
210
|
-
"style": "",
|
|
211
|
-
"category": "",
|
|
212
|
-
"createdDateTime": 1693373165175,
|
|
213
|
-
"visible": true,
|
|
214
|
-
"vertices": ["vlppTvk-ik", "KYo9KB-NX8"],
|
|
215
|
-
"holes": [],
|
|
216
|
-
"focus": false,
|
|
217
|
-
"wallColor": "#dddddd"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"holes": {},
|
|
221
|
-
"areas": {
|
|
222
|
-
"LNznnRBhRP": {
|
|
223
|
-
"id": "LNznnRBhRP",
|
|
224
|
-
"type": "area",
|
|
225
|
-
"prototype": "areas",
|
|
226
|
-
"name": "Area",
|
|
227
|
-
"misc": {},
|
|
228
|
-
"selected": false,
|
|
229
|
-
"properties": {
|
|
230
|
-
"patternColor": "rgba(175,175,175)",
|
|
231
|
-
"thickness": { "length": 0 },
|
|
232
|
-
"texture": "parquet"
|
|
233
|
-
},
|
|
234
|
-
"style": "",
|
|
235
|
-
"category": "",
|
|
236
|
-
"visible": true,
|
|
237
|
-
"vertices": [
|
|
238
|
-
"KYo9KB-NX8",
|
|
239
|
-
"vlppTvk-ik",
|
|
240
|
-
"f63-bHEpsp",
|
|
241
|
-
"mKjSxr-W8v",
|
|
242
|
-
"YWcoTtebzF",
|
|
243
|
-
"Pa4Hy3Z26ga"
|
|
244
|
-
],
|
|
245
|
-
"holes": [],
|
|
246
|
-
"texture": {
|
|
247
|
-
"roughness": 0.9,
|
|
248
|
-
"metalness": 0,
|
|
249
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"items": {},
|
|
254
|
-
"selected": {
|
|
255
|
-
"vertices": [],
|
|
256
|
-
"lines": [],
|
|
257
|
-
"holes": [],
|
|
258
|
-
"areas": [],
|
|
259
|
-
"items": []
|
|
260
|
-
},
|
|
261
|
-
"dcmmodel": false,
|
|
262
|
-
"lrmmodel": false,
|
|
263
|
-
"fbmmodel": false,
|
|
264
|
-
"counterTop": {
|
|
265
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202105074107_5/texture/Unique_Calcatta_texture.jpg"
|
|
266
|
-
},
|
|
267
|
-
"wallColor": {},
|
|
268
|
-
"floorStyle": {
|
|
269
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
|
|
270
|
-
},
|
|
271
|
-
"doorHandle": "",
|
|
272
|
-
"backsplash": { "roughness": 0.2, "metalness": 0.1, "uri": "" },
|
|
273
|
-
"backsplashApplied": false,
|
|
274
|
-
"ceilHeight": 96,
|
|
275
|
-
"unit": "in"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"grids": {
|
|
279
|
-
"h1": {
|
|
280
|
-
"id": "h1",
|
|
281
|
-
"type": "horizontal-streak",
|
|
282
|
-
"properties": {
|
|
283
|
-
"step": 30.48,
|
|
284
|
-
"colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"v1": {
|
|
288
|
-
"id": "v1",
|
|
289
|
-
"type": "vertical-streak",
|
|
290
|
-
"properties": {
|
|
291
|
-
"step": 30.48,
|
|
292
|
-
"colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"selectedLayer": "layer-1",
|
|
297
|
-
"groups": {},
|
|
298
|
-
"width": 3000,
|
|
299
|
-
"height": 2000,
|
|
300
|
-
"meta": {},
|
|
301
|
-
"guides": { "horizontal": {}, "vertical": {}, "circular": {} },
|
|
302
|
-
"title": "",
|
|
303
|
-
"currentProjectID": null,
|
|
304
|
-
"showfg": true,
|
|
305
|
-
"showWallLengthMeasure": 1,
|
|
306
|
-
"showBaseCabinetMeasure": 1,
|
|
307
|
-
"showWallCabinetMeasure": 1,
|
|
308
|
-
"showWindowDoorMeasure": 1,
|
|
309
|
-
"isLoadingCabinet": false,
|
|
310
|
-
"loadFlag": false
|
|
311
|
-
}
|
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"unit": "cm",
|
|
3
|
-
"rulerUnit": "in",
|
|
4
|
-
"layers": {
|
|
5
|
-
"layer-1": {
|
|
6
|
-
"id": "layer-1",
|
|
7
|
-
"altitude": 0,
|
|
8
|
-
"order": 0,
|
|
9
|
-
"opacity": 1,
|
|
10
|
-
"name": "default",
|
|
11
|
-
"visible": true,
|
|
12
|
-
"vertices": {
|
|
13
|
-
"NMCFQ-kJEt": {
|
|
14
|
-
"id": "NMCFQ-kJEt",
|
|
15
|
-
"type": "",
|
|
16
|
-
"prototype": "vertices",
|
|
17
|
-
"name": "Vertex",
|
|
18
|
-
"misc": {},
|
|
19
|
-
"selected": false,
|
|
20
|
-
"properties": {},
|
|
21
|
-
"style": "",
|
|
22
|
-
"category": "",
|
|
23
|
-
"visible": true,
|
|
24
|
-
"x": 1310.7,
|
|
25
|
-
"y": 1341.74,
|
|
26
|
-
"lines": ["wwPV53Cug", "fEdUWRYLl"],
|
|
27
|
-
"areas": ["7S8lVJb0cr"]
|
|
28
|
-
},
|
|
29
|
-
"z2q0OMdN-g": {
|
|
30
|
-
"id": "z2q0OMdN-g",
|
|
31
|
-
"type": "",
|
|
32
|
-
"prototype": "vertices",
|
|
33
|
-
"name": "Vertex",
|
|
34
|
-
"misc": {},
|
|
35
|
-
"selected": false,
|
|
36
|
-
"properties": {},
|
|
37
|
-
"style": "",
|
|
38
|
-
"category": "",
|
|
39
|
-
"visible": true,
|
|
40
|
-
"x": 1739.96,
|
|
41
|
-
"y": 1341.74,
|
|
42
|
-
"lines": ["wwPV53Cug", "RB9zjzP8k"],
|
|
43
|
-
"areas": ["7S8lVJb0cr"]
|
|
44
|
-
},
|
|
45
|
-
"ssXgGYuMrN": {
|
|
46
|
-
"id": "ssXgGYuMrN",
|
|
47
|
-
"type": "",
|
|
48
|
-
"prototype": "vertices",
|
|
49
|
-
"name": "Vertex",
|
|
50
|
-
"misc": {},
|
|
51
|
-
"selected": false,
|
|
52
|
-
"properties": {},
|
|
53
|
-
"style": "",
|
|
54
|
-
"category": "",
|
|
55
|
-
"visible": true,
|
|
56
|
-
"x": 1739.96,
|
|
57
|
-
"y": 673.72,
|
|
58
|
-
"lines": ["-IE2gdlxx", "RB9zjzP8k"],
|
|
59
|
-
"areas": ["7S8lVJb0cr"]
|
|
60
|
-
},
|
|
61
|
-
"fPEst12E2U": {
|
|
62
|
-
"id": "fPEst12E2U",
|
|
63
|
-
"type": "",
|
|
64
|
-
"prototype": "vertices",
|
|
65
|
-
"name": "Vertex",
|
|
66
|
-
"misc": {},
|
|
67
|
-
"selected": false,
|
|
68
|
-
"properties": {},
|
|
69
|
-
"style": "",
|
|
70
|
-
"category": "",
|
|
71
|
-
"visible": true,
|
|
72
|
-
"x": 1310.7017543859647,
|
|
73
|
-
"y": 673.7192982456143,
|
|
74
|
-
"lines": ["-IE2gdlxx", "fEdUWRYLl"],
|
|
75
|
-
"areas": ["7S8lVJb0cr"]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"lines": {
|
|
79
|
-
"wwPV53Cug": {
|
|
80
|
-
"id": "wwPV53Cug",
|
|
81
|
-
"type": "wall",
|
|
82
|
-
"prototype": "lines",
|
|
83
|
-
"name": "Wall",
|
|
84
|
-
"misc": {},
|
|
85
|
-
"selected": false,
|
|
86
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
87
|
-
"style": "",
|
|
88
|
-
"category": "",
|
|
89
|
-
"createdDateTime": 1693373165105,
|
|
90
|
-
"visible": true,
|
|
91
|
-
"vertices": ["NMCFQ-kJEt", "z2q0OMdN-g"],
|
|
92
|
-
"holes": [],
|
|
93
|
-
"focus": false,
|
|
94
|
-
"wallColor": "#dddddd"
|
|
95
|
-
},
|
|
96
|
-
"fEdUWRYLl": {
|
|
97
|
-
"id": "fEdUWRYLl",
|
|
98
|
-
"type": "wall",
|
|
99
|
-
"prototype": "lines",
|
|
100
|
-
"name": "Wall",
|
|
101
|
-
"misc": {},
|
|
102
|
-
"selected": false,
|
|
103
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
104
|
-
"style": "",
|
|
105
|
-
"category": "",
|
|
106
|
-
"createdDateTime": 1693373165135,
|
|
107
|
-
"visible": true,
|
|
108
|
-
"vertices": ["fPEst12E2U", "NMCFQ-kJEt"],
|
|
109
|
-
"holes": [],
|
|
110
|
-
"focus": false,
|
|
111
|
-
"wallColor": "#dddddd"
|
|
112
|
-
},
|
|
113
|
-
"-IE2gdlxx": {
|
|
114
|
-
"id": "-IE2gdlxx",
|
|
115
|
-
"type": "wall",
|
|
116
|
-
"prototype": "lines",
|
|
117
|
-
"name": "Wall",
|
|
118
|
-
"misc": {},
|
|
119
|
-
"selected": false,
|
|
120
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
121
|
-
"style": "",
|
|
122
|
-
"category": "",
|
|
123
|
-
"createdDateTime": 1693373165125,
|
|
124
|
-
"visible": true,
|
|
125
|
-
"vertices": ["ssXgGYuMrN", "fPEst12E2U"],
|
|
126
|
-
"holes": [],
|
|
127
|
-
"focus": false,
|
|
128
|
-
"wallColor": "#dddddd"
|
|
129
|
-
},
|
|
130
|
-
"RB9zjzP8k": {
|
|
131
|
-
"id": "RB9zjzP8k",
|
|
132
|
-
"type": "wall",
|
|
133
|
-
"prototype": "lines",
|
|
134
|
-
"name": "Wall",
|
|
135
|
-
"misc": {},
|
|
136
|
-
"selected": false,
|
|
137
|
-
"properties": {
|
|
138
|
-
"textureB": "plaster",
|
|
139
|
-
"width": { "_unit": "in", "length": null },
|
|
140
|
-
"height": { "_unit": "in", "length": null },
|
|
141
|
-
"depth": { "_unit": "in", "length": null },
|
|
142
|
-
"textureA": "plaster"
|
|
143
|
-
},
|
|
144
|
-
"style": "",
|
|
145
|
-
"category": "",
|
|
146
|
-
"createdDateTime": 1693373165115,
|
|
147
|
-
"visible": true,
|
|
148
|
-
"vertices": ["z2q0OMdN-g", "ssXgGYuMrN"],
|
|
149
|
-
"holes": [],
|
|
150
|
-
"focus": false,
|
|
151
|
-
"wallColor": "#dddddd"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"holes": {},
|
|
155
|
-
"areas": {
|
|
156
|
-
"7S8lVJb0cr": {
|
|
157
|
-
"id": "7S8lVJb0cr",
|
|
158
|
-
"type": "area",
|
|
159
|
-
"prototype": "areas",
|
|
160
|
-
"name": "Area",
|
|
161
|
-
"misc": {},
|
|
162
|
-
"selected": false,
|
|
163
|
-
"properties": {
|
|
164
|
-
"patternColor": "rgba(175,175,175)",
|
|
165
|
-
"thickness": { "length": 0 },
|
|
166
|
-
"texture": "parquet"
|
|
167
|
-
},
|
|
168
|
-
"style": "",
|
|
169
|
-
"category": "",
|
|
170
|
-
"visible": true,
|
|
171
|
-
"vertices": ["NMCFQ-kJEt", "fPEst12E2U", "ssXgGYuMrN", "z2q0OMdN-g"],
|
|
172
|
-
"holes": [],
|
|
173
|
-
"texture": {
|
|
174
|
-
"roughness": 0.9,
|
|
175
|
-
"metalness": 0,
|
|
176
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"items": {},
|
|
181
|
-
"selected": {
|
|
182
|
-
"vertices": [],
|
|
183
|
-
"lines": [],
|
|
184
|
-
"holes": [],
|
|
185
|
-
"areas": [],
|
|
186
|
-
"items": []
|
|
187
|
-
},
|
|
188
|
-
"dcmmodel": false,
|
|
189
|
-
"lrmmodel": false,
|
|
190
|
-
"fbmmodel": false,
|
|
191
|
-
"counterTop": {
|
|
192
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202105074107_5/texture/Unique_Calcatta_texture.jpg"
|
|
193
|
-
},
|
|
194
|
-
"wallColor": {},
|
|
195
|
-
"floorStyle": {
|
|
196
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
|
|
197
|
-
},
|
|
198
|
-
"doorHandle": "",
|
|
199
|
-
"backsplash": { "roughness": 0.2, "metalness": 0.1, "uri": "" },
|
|
200
|
-
"backsplashApplied": false,
|
|
201
|
-
"ceilHeight": 96,
|
|
202
|
-
"unit": "in"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"grids": {
|
|
206
|
-
"h1": {
|
|
207
|
-
"id": "h1",
|
|
208
|
-
"type": "horizontal-streak",
|
|
209
|
-
"properties": {
|
|
210
|
-
"step": 30.48,
|
|
211
|
-
"colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
"v1": {
|
|
215
|
-
"id": "v1",
|
|
216
|
-
"type": "vertical-streak",
|
|
217
|
-
"properties": {
|
|
218
|
-
"step": 30.48,
|
|
219
|
-
"colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"selectedLayer": "layer-1",
|
|
224
|
-
"groups": {},
|
|
225
|
-
"width": 3000,
|
|
226
|
-
"height": 2000,
|
|
227
|
-
"meta": {},
|
|
228
|
-
"guides": { "horizontal": {}, "vertical": {}, "circular": {} },
|
|
229
|
-
"title": "",
|
|
230
|
-
"currentProjectID": null,
|
|
231
|
-
"showfg": true,
|
|
232
|
-
"showWallLengthMeasure": 1,
|
|
233
|
-
"showBaseCabinetMeasure": 1,
|
|
234
|
-
"showWallCabinetMeasure": 1,
|
|
235
|
-
"showWindowDoorMeasure": 1,
|
|
236
|
-
"isLoadingCabinet": false,
|
|
237
|
-
"loadFlag": false
|
|
238
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import CheckCircleIcon from '@material-ui/icons/CheckCircle';
|
|
5
|
-
import ErrorIcon from '@material-ui/icons/Error';
|
|
6
|
-
import InfoIcon from '@material-ui/icons/Info';
|
|
7
|
-
import { amber, green } from '@material-ui/core/colors';
|
|
8
|
-
import Button from '@material-ui/core/Button';
|
|
9
|
-
import Snackbar from '@material-ui/core/Snackbar';
|
|
10
|
-
import SnackbarContent from '@material-ui/core/SnackbarContent';
|
|
11
|
-
import WarningIcon from '@material-ui/icons/Warning';
|
|
12
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
13
|
-
import {
|
|
14
|
-
TEXT_COLOR_NEUTRAL_0,
|
|
15
|
-
PRIMARY_GREEN_COLOR,
|
|
16
|
-
DEFAULT_FONT_FAMILY
|
|
17
|
-
} from '../../../constants';
|
|
18
|
-
|
|
19
|
-
const variantIcon = {
|
|
20
|
-
success: CheckCircleIcon,
|
|
21
|
-
warning: WarningIcon,
|
|
22
|
-
error: ErrorIcon,
|
|
23
|
-
info: InfoIcon
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const useStyles1 = makeStyles(theme => ({
|
|
27
|
-
success: {
|
|
28
|
-
backgroundColor: green[600]
|
|
29
|
-
},
|
|
30
|
-
error: {
|
|
31
|
-
backgroundColor: theme.palette.error.dark
|
|
32
|
-
},
|
|
33
|
-
info: {
|
|
34
|
-
backgroundColor: theme.palette.primary.main
|
|
35
|
-
},
|
|
36
|
-
warning: {
|
|
37
|
-
backgroundColor: amber[700]
|
|
38
|
-
},
|
|
39
|
-
message: {
|
|
40
|
-
display: 'flex',
|
|
41
|
-
alignItems: 'center'
|
|
42
|
-
}
|
|
43
|
-
}));
|
|
44
|
-
|
|
45
|
-
function MySnackbarContentWrapper(props) {
|
|
46
|
-
const classes = useStyles1();
|
|
47
|
-
const { className, message, onClose, ...other } = props;
|
|
48
|
-
|
|
49
|
-
return (
|
|
50
|
-
<SnackbarContent
|
|
51
|
-
className={clsx(className)}
|
|
52
|
-
aria-describedby="client-snackbar"
|
|
53
|
-
message={message}
|
|
54
|
-
action={
|
|
55
|
-
<Button
|
|
56
|
-
style={{
|
|
57
|
-
color: PRIMARY_GREEN_COLOR,
|
|
58
|
-
fontSize: 16,
|
|
59
|
-
fontWeight: 'bold',
|
|
60
|
-
fontFamily: DEFAULT_FONT_FAMILY
|
|
61
|
-
}}
|
|
62
|
-
onClick={onClose}
|
|
63
|
-
>
|
|
64
|
-
OK
|
|
65
|
-
</Button>
|
|
66
|
-
}
|
|
67
|
-
{...other}
|
|
68
|
-
/>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
MySnackbarContentWrapper.propTypes = {
|
|
73
|
-
className: PropTypes.string,
|
|
74
|
-
message: PropTypes.object,
|
|
75
|
-
onClose: PropTypes.func
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export function StyledAlert(props) {
|
|
79
|
-
const [open, setOpen] = React.useState(true);
|
|
80
|
-
|
|
81
|
-
const handleClose = (event, reason) => {
|
|
82
|
-
if (reason === 'clickaway') {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
setOpen(false);
|
|
86
|
-
props.onClose();
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
return (
|
|
90
|
-
<Snackbar
|
|
91
|
-
anchorOrigin={{
|
|
92
|
-
vertical: 'top',
|
|
93
|
-
horizontal: 'center'
|
|
94
|
-
}}
|
|
95
|
-
style={{ transform: 'unset' }}
|
|
96
|
-
open={open}
|
|
97
|
-
autoHideDuration={3000}
|
|
98
|
-
onClose={handleClose}
|
|
99
|
-
>
|
|
100
|
-
<MySnackbarContentWrapper
|
|
101
|
-
onClose={handleClose}
|
|
102
|
-
style={{
|
|
103
|
-
position: 'fixed',
|
|
104
|
-
top: 90,
|
|
105
|
-
borderRadius: 6,
|
|
106
|
-
textAlign: 'center',
|
|
107
|
-
zIndex: 11,
|
|
108
|
-
height: 60,
|
|
109
|
-
backgroundColor: TEXT_COLOR_NEUTRAL_0
|
|
110
|
-
}}
|
|
111
|
-
message={
|
|
112
|
-
props.text === '' ? (
|
|
113
|
-
<span style={{ fontSize: 16, fontFamily: DEFAULT_FONT_FAMILY }}>
|
|
114
|
-
Press <strong>ESC</strong> key to finish drawing!
|
|
115
|
-
</span>
|
|
116
|
-
) : (
|
|
117
|
-
props.text
|
|
118
|
-
)
|
|
119
|
-
}
|
|
120
|
-
/>
|
|
121
|
-
</Snackbar>
|
|
122
|
-
);
|
|
123
|
-
}
|