kitchen-simulator 5.0.0-test.5 → 5.0.0-test.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +34 -41
- package/src/@history.js +3 -0
- package/src/AppContext.js +5 -0
- package/src/KitchenConfigurator.jsx +1517 -0
- package/src/KitchenConfiguratorApp.jsx +443 -0
- package/src/actions/area-actions.js +15 -0
- package/src/actions/export.js +38 -0
- package/src/actions/groups-actions.js +102 -0
- package/src/actions/holes-actions.js +152 -0
- package/src/actions/items-actions.js +393 -0
- package/src/actions/lines-actions.js +103 -0
- package/src/actions/project-actions.js +391 -0
- package/src/actions/scene-actions.js +44 -0
- package/src/actions/user-actions.js +75 -0
- package/src/actions/vertices-actions.js +34 -0
- package/src/actions/viewer2d-actions.js +79 -0
- package/src/actions/viewer3d-actions.js +32 -0
- package/src/catalog/areas/area/planner-element.jsx +43 -0
- package/src/catalog/catalog.js +258 -0
- package/src/catalog/factories/area-factory-3d.js +252 -0
- package/src/catalog/factories/area-factory.jsx +102 -0
- package/src/catalog/factories/export.js +9 -0
- package/src/catalog/factories/wall-factory-3d.js +296 -0
- package/src/catalog/factories/wall-factory.jsx +321 -0
- package/src/catalog/holes/door-closet/planner-element.jsx +251 -0
- package/src/catalog/holes/door-double/planner-element.jsx +391 -0
- package/src/catalog/holes/door-exterior/planner-element.jsx +245 -0
- package/src/catalog/holes/door-interior/planner-element.jsx +256 -0
- package/src/catalog/holes/door-panic/planner-element.jsx +594 -0
- package/src/catalog/holes/door-panic-double/planner-element.jsx +574 -0
- package/src/catalog/holes/door-sliding/planner-element.jsx +256 -0
- package/src/catalog/holes/doorway-framed/planner-element.jsx +169 -0
- package/src/catalog/holes/doorway-frameless/planner-element.jsx +116 -0
- package/src/catalog/holes/window-clear/planner-element.jsx +181 -0
- package/src/catalog/holes/window-cross/planner-element.jsx +180 -0
- package/src/catalog/holes/window-double-hung/planner-element.jsx +366 -0
- package/src/catalog/holes/window-vertical/planner-element.jsx +290 -0
- package/src/catalog/lines/wall/planner-element.jsx +73 -0
- package/src/catalog/molding/molding-dcm/planner-element.jsx +35 -0
- package/src/catalog/molding/molding-fbm/planner-element.jsx +35 -0
- package/src/catalog/molding/molding-lrm/planner-element.jsx +35 -0
- package/src/catalog/properties/export.js +33 -0
- package/src/catalog/properties/property-checkbox.jsx +123 -0
- package/src/catalog/properties/property-color.jsx +52 -0
- package/src/catalog/properties/property-enum.jsx +87 -0
- package/src/catalog/properties/property-hidden.jsx +22 -0
- package/src/catalog/properties/property-lenght-measure.jsx +113 -0
- package/src/catalog/properties/property-length-measure.jsx +129 -0
- package/src/catalog/properties/property-length-measure_hole.jsx +110 -0
- package/src/catalog/properties/property-number.jsx +63 -0
- package/src/catalog/properties/property-read-only.jsx +37 -0
- package/src/catalog/properties/property-string.jsx +59 -0
- package/src/catalog/properties/property-toggle.jsx +51 -0
- package/src/catalog/properties/shared-property-style.js +13 -0
- package/src/catalog/utils/FuseUtils.js +61 -0
- package/src/catalog/utils/exporter.js +173 -0
- package/src/catalog/utils/geom-utils.js +301 -0
- package/src/catalog/utils/item-loader.jsx +2122 -0
- package/src/catalog/utils/load-obj.js +113 -0
- package/src/catalog/utils/mtl-loader.js +462 -0
- package/src/catalog/utils/obj-loader.js +544 -0
- package/src/class/FuseUtils.js +61 -0
- package/src/class/area.js +159 -0
- package/src/class/export.js +37 -0
- package/src/class/group.js +565 -0
- package/src/class/guide.js +44 -0
- package/src/class/hole.js +1359 -0
- package/src/class/item.js +2050 -0
- package/src/class/layer.js +926 -0
- package/src/class/line.js +1780 -0
- package/src/class/project.js +875 -0
- package/src/class/vertex.js +409 -0
- package/src/components/atoms/Snackbar/index.jsx +43 -0
- package/src/components/atoms/radio-button/index.jsx +20 -0
- package/src/components/atoms/radio-button/styles.js +56 -0
- package/src/components/button/MainButton.jsx +157 -0
- package/src/components/button/ToggleMeasureButton.jsx +65 -0
- package/src/components/catalog-view/catalog-breadcrumb.jsx +53 -0
- package/src/components/catalog-view/catalog-item.jsx +229 -0
- package/src/components/catalog-view/catalog-list.jsx +173 -0
- package/src/components/catalog-view/catalog-page-item.jsx +110 -0
- package/src/components/catalog-view/catalog-turn-back-page-item.jsx +80 -0
- package/src/components/configurator/custom-configurator.jsx +77 -0
- package/src/components/configurator/project-configurator.jsx +120 -0
- package/src/components/content.jsx +136 -0
- package/src/components/export.js +36 -0
- package/src/components/firstsetting/button/styles.js +223 -0
- package/src/components/firstsetting/export.js +9 -0
- package/src/components/firstsetting/firstsetting-content-button.jsx +198 -0
- package/src/components/firstsetting/firstsetting-toggle-button.jsx +101 -0
- package/src/components/firstsetting/firstsetting.jsx +814 -0
- package/src/components/footerbar/button/ControlButton.jsx +43 -0
- package/src/components/footerbar/button/DirectionButton.jsx +54 -0
- package/src/components/footerbar/button/DirectionPanSpinButton.jsx +36 -0
- package/src/components/footerbar/button/ToggleButton.jsx +58 -0
- package/src/components/footerbar/button/ToggleConvertButton.jsx +48 -0
- package/src/components/footerbar/button/ToggleMeasureButton.jsx +33 -0
- package/src/components/footerbar/button/styles.js +217 -0
- package/src/components/footerbar/export.js +9 -0
- package/src/components/footerbar/footer-content-button.jsx +198 -0
- package/src/components/footerbar/footer-toggle-button.jsx +101 -0
- package/src/components/footerbar/footerbar.jsx +1103 -0
- package/src/components/footerbar/styles.js +263 -0
- package/src/components/header/button/MenuButton.jsx +46 -0
- package/src/components/header/button/SaveButton.jsx +54 -0
- package/src/components/header/button/styles.js +181 -0
- package/src/components/header/export.js +5 -0
- package/src/components/header/header.jsx +631 -0
- package/src/components/header/styles.js +320 -0
- package/src/components/login/Login.js +77 -0
- package/src/components/login/LoginForm/index.js +108 -0
- package/src/components/login/Register.js +83 -0
- package/src/components/login/RegisterForm/index.js +171 -0
- package/src/components/login/jwtService.js +201 -0
- package/src/components/molecules/slider/index.jsx +15 -0
- package/src/components/molecules/slider/styles.js +0 -0
- package/src/components/myprojects/export.js +5 -0
- package/src/components/myprojects/index.jsx +445 -0
- package/src/components/myprojects/styles.js +241 -0
- package/src/components/sidebar/custom-accordion.jsx +48 -0
- package/src/components/sidebar/export.js +15 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +73 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +101 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +149 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +316 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +108 -0
- package/src/components/sidebar/panel-element-editor/element-editor.jsx +1070 -0
- package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
- package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +104 -0
- package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +155 -0
- package/src/components/sidebar/panel-group-editor.jsx +272 -0
- package/src/components/sidebar/panel-groups.jsx +310 -0
- package/src/components/sidebar/panel-guides.jsx +192 -0
- package/src/components/sidebar/panel-layer-elements.jsx +298 -0
- package/src/components/sidebar/panel-layers.jsx +381 -0
- package/src/components/sidebar/panel.jsx +71 -0
- package/src/components/sidebar/sidebar.jsx +106 -0
- package/src/components/sidebar/toolbar-panel.jsx +139 -0
- package/src/components/sign/export.js +7 -0
- package/src/components/sign/main/index.jsx +523 -0
- package/src/components/sign/main/styles.js +163 -0
- package/src/components/style/button.jsx +95 -0
- package/src/components/style/cancel-button.jsx +20 -0
- package/src/components/style/content-container.jsx +29 -0
- package/src/components/style/content-title.jsx +20 -0
- package/src/components/style/delete-button.jsx +23 -0
- package/src/components/style/export.jsx +48 -0
- package/src/components/style/form-block.jsx +13 -0
- package/src/components/style/form-color-input.jsx +27 -0
- package/src/components/style/form-label.jsx +15 -0
- package/src/components/style/form-number-input.jsx +196 -0
- package/src/components/style/form-number-input_2.jsx +191 -0
- package/src/components/style/form-select.jsx +38 -0
- package/src/components/style/form-slider.jsx +36 -0
- package/src/components/style/form-submit-button.jsx +23 -0
- package/src/components/style/form-text-input.jsx +65 -0
- package/src/components/toolbar/button/ControlButton.jsx +41 -0
- package/src/components/toolbar/button/DirectionButton.jsx +34 -0
- package/src/components/toolbar/button/RightButton.jsx +103 -0
- package/src/components/toolbar/button/ToggleButton.jsx +41 -0
- package/src/components/toolbar/button/index.jsx +55 -0
- package/src/components/toolbar/button/styles.js +127 -0
- package/src/components/toolbar/components/DoorStyleMenu.jsx +103 -0
- package/src/components/toolbar/components/Pricing.jsx +126 -0
- package/src/components/toolbar/components/ReviewForQuote.jsx +635 -0
- package/src/components/toolbar/export.js +21 -0
- package/src/components/toolbar/main/Alert.js +122 -0
- package/src/components/toolbar/main/TakePictureModal.jsx +104 -0
- package/src/components/toolbar/main/confirm-popup.jsx +99 -0
- package/src/components/toolbar/main/index.jsx +5627 -0
- package/src/components/toolbar/main/myComponents.js +123 -0
- package/src/components/toolbar/main/styles.js +696 -0
- package/src/components/toolbar/plugin-item.jsx +123 -0
- package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +73 -0
- package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +102 -0
- package/src/components/toolbar/popup/appliance/index.jsx +83 -0
- package/src/components/toolbar/popup/autosaveprompt/index.jsx +150 -0
- package/src/components/toolbar/popup/autosaveprompt/styles.js +40 -0
- package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +73 -0
- package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +119 -0
- package/src/components/toolbar/popup/cabinet/index.jsx +85 -0
- package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +63 -0
- package/src/components/toolbar/popup/doorStyle/index.jsx +71 -0
- package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +139 -0
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +2 -0
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +157 -0
- package/src/components/toolbar/popup/downloadsummary/index.jsx +643 -0
- package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +51 -0
- package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +175 -0
- package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +283 -0
- package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +2257 -0
- package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +93 -0
- package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +132 -0
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +2198 -0
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +152 -0
- package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +149 -0
- package/src/components/toolbar/popup/downloadsummary/styles.js +453 -0
- package/src/components/toolbar/popup/finishingtouch/category/index.jsx +34 -0
- package/src/components/toolbar/popup/finishingtouch/index.jsx +58 -0
- package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +112 -0
- package/src/components/toolbar/popup/finishingtouch/product/index.jsx +116 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +101 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +254 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +86 -0
- package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +109 -0
- package/src/components/toolbar/popup/floorplan/index.jsx +60 -0
- package/src/components/toolbar/popup/index.jsx +241 -0
- package/src/components/toolbar/popup/newproject/index.jsx +59 -0
- package/src/components/toolbar/popup/newproject/styles.js +41 -0
- package/src/components/toolbar/popup/product/appliance.jsx +54 -0
- package/src/components/toolbar/popup/product/cabinetproduct.jsx +15 -0
- package/src/components/toolbar/popup/product/doorstyle.jsx +58 -0
- package/src/components/toolbar/popup/product/doorstyleproduct.jsx +47 -0
- package/src/components/toolbar/popup/product/floor.jsx +36 -0
- package/src/components/toolbar/popup/product/floorproduct.jsx +42 -0
- package/src/components/toolbar/popup/product/index.jsx +36 -0
- package/src/components/toolbar/popup/product/primary.jsx +77 -0
- package/src/components/toolbar/popup/product/productline.jsx +93 -0
- package/src/components/toolbar/popup/product/reviewItem.jsx +427 -0
- package/src/components/toolbar/popup/product/reviewMolding.jsx +310 -0
- package/src/components/toolbar/popup/product/styles.js +260 -0
- package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +146 -0
- package/src/components/toolbar/popup/savedesign/index.jsx +495 -0
- package/src/components/toolbar/popup/savedesign/styles.js +151 -0
- package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +87 -0
- package/src/components/toolbar/popup/styles.js +909 -0
- package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +192 -0
- package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +96 -0
- package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +54 -0
- package/src/components/toolbar/popup/submitforquote/StepDots.jsx +25 -0
- package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +116 -0
- package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +38 -0
- package/src/components/toolbar/popup/submitforquote/index.jsx +698 -0
- package/src/components/toolbar/popup/submitforquote/styles.js +294 -0
- package/src/components/toolbar/popup/submitprompt/index.jsx +89 -0
- package/src/components/toolbar/popup/submitprompt/styles.js +42 -0
- package/src/components/toolbar/toolbar-button.jsx +90 -0
- package/src/components/toolbar/toolbar-load-button.jsx +36 -0
- package/src/components/toolbar/toolbar-save-button.jsx +32 -0
- package/src/components/tutorial-view/Modal.jsx +584 -0
- package/src/components/tutorial-view/styles.js +65 -0
- package/src/components/viewer2d/area.jsx +98 -0
- package/src/components/viewer2d/export.js +48 -0
- package/src/components/viewer2d/grids/grid-horizontal-streak.jsx +40 -0
- package/src/components/viewer2d/grids/grid-streak.jsx +32 -0
- package/src/components/viewer2d/grids/grid-vertical-streak.jsx +41 -0
- package/src/components/viewer2d/grids/grids.jsx +30 -0
- package/src/components/viewer2d/group.jsx +57 -0
- package/src/components/viewer2d/item.jsx +618 -0
- package/src/components/viewer2d/layer.jsx +214 -0
- package/src/components/viewer2d/line.jsx +1358 -0
- package/src/components/viewer2d/ruler.jsx +136 -0
- package/src/components/viewer2d/rulerDist.jsx +192 -0
- package/src/components/viewer2d/rulerX.jsx +141 -0
- package/src/components/viewer2d/rulerY.jsx +138 -0
- package/src/components/viewer2d/scene.jsx +94 -0
- package/src/components/viewer2d/snap.jsx +118 -0
- package/src/components/viewer2d/state.jsx +77 -0
- package/src/components/viewer2d/utils.js +195 -0
- package/src/components/viewer2d/vertex.jsx +76 -0
- package/src/components/viewer2d/viewer2d.jsx +1830 -0
- package/src/components/viewer3d/camera-controls-module/camera-controls.module.js +3078 -0
- package/src/components/viewer3d/dcm.js +226 -0
- package/src/components/viewer3d/fbm.js +383 -0
- package/src/components/viewer3d/front3D.jsx +63 -0
- package/src/components/viewer3d/grid-creator.js +25 -0
- package/src/components/viewer3d/grids/grid-horizontal-streak.js +41 -0
- package/src/components/viewer3d/grids/grid-streak.js +34 -0
- package/src/components/viewer3d/grids/grid-vertical-streak.js +42 -0
- package/src/components/viewer3d/libs/first-person-controls.js +70 -0
- package/src/components/viewer3d/libs/helvetiker_regular.typeface.js +1265 -0
- package/src/components/viewer3d/libs/mtl-loader.js +462 -0
- package/src/components/viewer3d/libs/obj-loader.js +653 -0
- package/src/components/viewer3d/libs/orbit-controls.js +945 -0
- package/src/components/viewer3d/libs/pointer-lock-controls.js +67 -0
- package/src/components/viewer3d/lrm.js +358 -0
- package/src/components/viewer3d/model.js +830 -0
- package/src/components/viewer3d/pointer-lock-navigation.js +140 -0
- package/src/components/viewer3d/ruler-utils/itemRect.jsx +91 -0
- package/src/components/viewer3d/ruler-utils/layer3D.jsx +528 -0
- package/src/components/viewer3d/ruler-utils/ruler3D.jsx +218 -0
- package/src/components/viewer3d/ruler-utils/scene3D.jsx +87 -0
- package/src/components/viewer3d/ruler-utils/state3D.jsx +25 -0
- package/src/components/viewer3d/scene-creator.js +5169 -0
- package/src/components/viewer3d/three-memory-cleaner.js +65 -0
- package/src/components/viewer3d/viewer3d-first-person.js +395 -0
- package/src/components/viewer3d/viewer3d.js +3376 -0
- package/src/components/wizardstep/button/styles.js +677 -0
- package/src/components/wizardstep/export.js +5 -0
- package/src/components/wizardstep/index.jsx +1372 -0
- package/src/components/wizardstep/styles.js +688 -0
- package/src/components/wizardstep/wizardstep-content-button.jsx +198 -0
- package/src/components/wizardstep/wizardstep-toggle-button.jsx +101 -0
- package/src/constants.js +731 -0
- package/src/index.js +32 -0
- package/src/models.js +541 -0
- package/src/plugins/SVGLoader.js +1991 -0
- package/src/plugins/autosave.js +39 -0
- package/src/plugins/console-debugger.js +36 -0
- package/src/plugins/export.js +11 -0
- package/src/plugins/keyboard.js +194 -0
- package/src/reducers/areas-reducer.js +13 -0
- package/src/reducers/export.js +39 -0
- package/src/reducers/groups-reducer.js +73 -0
- package/src/reducers/holes-reducer.js +125 -0
- package/src/reducers/items-reducer.js +286 -0
- package/src/reducers/lines-reducer.js +96 -0
- package/src/reducers/project-reducer.js +239 -0
- package/src/reducers/reducer.js +59 -0
- package/src/reducers/scene-reducer.js +41 -0
- package/src/reducers/user-reducer.js +30 -0
- package/src/reducers/vertices-reducer.js +34 -0
- package/src/reducers/viewer2d-reducer.js +81 -0
- package/src/reducers/viewer3d-reducer.js +65 -0
- package/src/shared-style.js +72 -0
- package/src/translator/en.js +106 -0
- package/src/translator/it.js +80 -0
- package/src/translator/ru.js +80 -0
- package/src/translator/translator.js +81 -0
- package/src/utils/browser.js +36 -0
- package/src/utils/email-validator.js +5 -0
- package/src/utils/export.js +39 -0
- package/src/utils/geometry.js +2572 -0
- package/src/utils/get-edges-of-subgraphs.js +29 -0
- package/src/utils/graph-cycles.js +259 -0
- package/src/utils/graph-inner-cycles.js +49 -0
- package/src/utils/graph.js +147 -0
- package/src/utils/helper.js +431 -0
- package/src/utils/history.js +37 -0
- package/src/utils/id-broker.js +9 -0
- package/src/utils/logger.js +8 -0
- package/src/utils/math.js +51 -0
- package/src/utils/molding.js +973 -0
- package/src/utils/name-generator.js +5 -0
- package/src/utils/objects-utils.js +56 -0
- package/src/utils/phone-validator.js +4 -0
- package/src/utils/process-black-list.js +10 -0
- package/src/utils/react-if.jsx +20 -0
- package/src/utils/snap-scene.js +102 -0
- package/src/utils/snap.js +184 -0
- package/src/utils/threeCSG.es6.js +578 -0
- package/src/version.js +1 -0
- 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/catalog.js +0 -278
- package/es/catalog/catalog.js.map +0 -1
- 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/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/planner-element.js +0 -504
- package/es/catalog/holes/door-panic/planner-element.js.map +0 -1
- 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/window-clear/planner-element.js +0 -167
- package/es/catalog/holes/window-clear/planner-element.js.map +0 -1
- 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-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-vertical/planner-element.js +0 -277
- package/es/catalog/holes/window-vertical/planner-element.js.map +0 -1
- package/es/catalog/lines/wall/planner-element.js +0 -71
- package/es/catalog/lines/wall/planner-element.js.map +0 -1
- 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-fbm/planner-element.js +0 -30
- package/es/catalog/molding/molding-fbm/planner-element.js.map +0 -1
- 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/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/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/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/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/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/myComponents.js +0 -118
- package/es/components/toolbar/main/myComponents.js.map +0 -1
- 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.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.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/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.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/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/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.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.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/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
- /package/{es → src}/catalog/areas/area/textures/ceramic-tile.jpg +0 -0
- /package/{es → src}/catalog/areas/area/textures/grass.jpg +0 -0
- /package/{es → src}/catalog/areas/area/textures/parquet.jpg +0 -0
- /package/{es → src}/catalog/areas/area/textures/strand-porcelain.jpg +0 -0
- /package/{es → src}/catalog/areas/area/textures/tile1.jpg +0 -0
- /package/{es → src}/catalog/back.png +0 -0
- /package/{es → src}/catalog/doors.png +0 -0
- /package/{es → src}/catalog/doorways.png +0 -0
- /package/{es → src}/catalog/envMap/nx.hdr +0 -0
- /package/{es → src}/catalog/envMap/ny.hdr +0 -0
- /package/{es → src}/catalog/envMap/nz.hdr +0 -0
- /package/{es → src}/catalog/envMap/px.hdr +0 -0
- /package/{es → src}/catalog/envMap/py.hdr +0 -0
- /package/{es → src}/catalog/envMap/pz.hdr +0 -0
- /package/{es → src}/catalog/holes/door-double/door_double.png +0 -0
- /package/{es → src}/catalog/holes/door-panic/panicDoor.png +0 -0
- /package/{es → src}/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
- /package/{es → src}/catalog/holes/gate/gate.jpg +0 -0
- /package/{es → src}/catalog/holes/window-clear/texture.png +0 -0
- /package/{es → src}/catalog/holes/window-cross/texture.png +0 -0
- /package/{es → src}/catalog/holes/window-double-hung/texture.png +0 -0
- /package/{es → src}/catalog/holes/window-vertical/texture.png +0 -0
- /package/{es → src}/catalog/lines/wall/textures/bricks-normal.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/bricks-normal2.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/bricks.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/bricks2.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/bricks3.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/morden-normal.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/morden.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/painted-normal.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/painted.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/plaster-normal.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/textures/plaster.jpg +0 -0
- /package/{es → src}/catalog/lines/wall/wall.png +0 -0
- /package/{es → src}/catalog/molding/molding-dcm/texture.png +0 -0
- /package/{es → src}/catalog/molding/molding-fbm/texture.png +0 -0
- /package/{es → src}/catalog/molding/molding-lrm/texture.png +0 -0
- /package/{es → src}/catalog/windows.png +0 -0
- /package/{es → src}/components/header/header.style.css +0 -0
- /package/{es → src}/components/login/style.css +0 -0
- /package/{es → src}/components/login/style.scss +0 -0
- /package/{es → src}/components/molecules/slider/styles.scss +0 -0
- /package/{es → src}/components/toolbar/main/lShaped.json +0 -0
- /package/{es → src}/components/toolbar/main/longNarrow.json +0 -0
- /package/{es → src}/components/toolbar/main/oRectangle.json +0 -0
- /package/{es → src}/components/toolbar/main/rectangle.json +0 -0
- /package/{es → src}/components/toolbar/main/style.css +0 -0
- /package/{es → src}/components/toolbar/popup/autosaveprompt/styles.css +0 -0
- /package/{es → src}/components/toolbar/popup/downloadsummary/styles.css +0 -0
- /package/{es → src}/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -0
- /package/{es → src}/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -0
- /package/{es → src}/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -0
- /package/{es → src}/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -0
- /package/{es → src}/components/toolbar/popup/newproject/styles.css +0 -0
- /package/{es → src}/components/toolbar/popup/product/style.css +0 -0
- /package/{es → src}/components/toolbar/popup/savedesign/savedesign.style.css +0 -0
- /package/{es → src}/components/toolbar/popup/submitforquote/styles.css +0 -0
- /package/{es → src}/components/toolbar/popup/submitprompt/styles.css +0 -0
- /package/{es → src}/components/tutorial-view/style.css +0 -0
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Provider } from 'react-redux';
|
|
4
|
+
import { createStore } from 'redux';
|
|
5
|
+
import * as Models from './models';
|
|
6
|
+
import KitchenConfigurator from './KitchenConfigurator';
|
|
7
|
+
import AppContext from './AppContext';
|
|
8
|
+
import Catalog from './catalog/catalog';
|
|
9
|
+
import { SVGLoader } from 'three/addons/loaders/SVGLoader';
|
|
10
|
+
import { isEmpty } from '../src/utils/helper';
|
|
11
|
+
import { TOE_KICK_MOLDING } from '../src/constants';
|
|
12
|
+
import * as Areas from './catalog/areas/**/planner-element.jsx';
|
|
13
|
+
import * as Lines from './catalog/lines/**/planner-element.jsx';
|
|
14
|
+
import * as Holes from './catalog/holes/**/planner-element.jsx';
|
|
15
|
+
import {
|
|
16
|
+
render2DItem,
|
|
17
|
+
render3DApplianceItem,
|
|
18
|
+
render3DItem,
|
|
19
|
+
render3DLightingItem
|
|
20
|
+
} from './catalog/utils/item-loader';
|
|
21
|
+
import {
|
|
22
|
+
Models as PlannerModels,
|
|
23
|
+
Plugins as PlannerPlugins,
|
|
24
|
+
reducer as PlannerReducer
|
|
25
|
+
} from '../src/index';
|
|
26
|
+
import { Map } from 'immutable';
|
|
27
|
+
import ReactGA from 'react-ga4';
|
|
28
|
+
import { hotjar } from 'react-hotjar';
|
|
29
|
+
import * as Sentry from '@sentry/react';
|
|
30
|
+
import { loadProject, rename } from '../src/actions/project-actions';
|
|
31
|
+
import exporter from '../src/catalog/utils/exporter';
|
|
32
|
+
|
|
33
|
+
/* ============================== component ============================= */
|
|
34
|
+
const MyCatalog = new Catalog();
|
|
35
|
+
|
|
36
|
+
let AppState = Map({
|
|
37
|
+
KitchenConfigurator: new PlannerModels.State()
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
console.log('Version: 378.45-202509_DIY-364-mbox-crash');
|
|
41
|
+
ReactGA.initialize([
|
|
42
|
+
{
|
|
43
|
+
trackingId: 'G-YK2JCC9F9G' // https://dev.addovisuals.com
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
trackingId: 'G-3Y44W0RY2E' // https://demo.kc.addovisuals.com/
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
trackingId: 'G-M2VD74KP44' // https://rtastore.diydesignspace.com/
|
|
50
|
+
}
|
|
51
|
+
]);
|
|
52
|
+
|
|
53
|
+
hotjar.initialize('3010506', '6');
|
|
54
|
+
|
|
55
|
+
isProduction &&
|
|
56
|
+
Sentry.init({
|
|
57
|
+
dsn: process.env.SENTRY_DSN,
|
|
58
|
+
environment: process.env.SENTRY_ENVIRONMENT
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
//define reducer
|
|
62
|
+
let reducer = (state, action) => {
|
|
63
|
+
state = state || AppState;
|
|
64
|
+
state = state.update('KitchenConfigurator', plannerState =>
|
|
65
|
+
PlannerReducer(plannerState, action)
|
|
66
|
+
);
|
|
67
|
+
return state;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const store = createStore(
|
|
71
|
+
reducer,
|
|
72
|
+
null,
|
|
73
|
+
!isProduction && window.devToolsExtension
|
|
74
|
+
? window.devToolsExtension({
|
|
75
|
+
features: {
|
|
76
|
+
pause: true, // start/pause recording of dispatched actions
|
|
77
|
+
lock: true, // lock/unlock dispatching actions and side effects
|
|
78
|
+
persist: true, // persist states on page reloading
|
|
79
|
+
export: true, // export history of actions in a file
|
|
80
|
+
import: 'custom', // import history of actions from a file
|
|
81
|
+
jump: true, // jump back and forth (time travelling)
|
|
82
|
+
skip: true, // skip (cancel) actions
|
|
83
|
+
reorder: true, // drag and drop actions in the history list
|
|
84
|
+
dispatch: true, // dispatch custom actions or action creators
|
|
85
|
+
test: true // generate tests for the selected actions
|
|
86
|
+
},
|
|
87
|
+
maxAge: 999999
|
|
88
|
+
})
|
|
89
|
+
: f => f
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
const plugins = [PlannerPlugins.Keyboard(), PlannerPlugins.ConsoleDebugger()];
|
|
93
|
+
|
|
94
|
+
export default function KitchenConfiguratorApp(props) {
|
|
95
|
+
const {
|
|
96
|
+
width,
|
|
97
|
+
height,
|
|
98
|
+
|
|
99
|
+
projectElement,
|
|
100
|
+
categoryData, // { data: { catalogs, colorAlias, subgroups, ... } }
|
|
101
|
+
dataBundle, // { data, appliances, furnishing, lighting }
|
|
102
|
+
configData, // { id, logoImg, companyUrl }
|
|
103
|
+
|
|
104
|
+
toolbarButtons,
|
|
105
|
+
|
|
106
|
+
options,
|
|
107
|
+
user,
|
|
108
|
+
auth,
|
|
109
|
+
featureFlags,
|
|
110
|
+
sentry,
|
|
111
|
+
analytics,
|
|
112
|
+
|
|
113
|
+
onEvent,
|
|
114
|
+
onSave,
|
|
115
|
+
onError,
|
|
116
|
+
|
|
117
|
+
...passThrough
|
|
118
|
+
} = props;
|
|
119
|
+
|
|
120
|
+
const { catalogs, colorAlias, subgroups } =
|
|
121
|
+
(categoryData && categoryData.data) || {};
|
|
122
|
+
const {
|
|
123
|
+
data = [],
|
|
124
|
+
appliances = [],
|
|
125
|
+
furnishing = [],
|
|
126
|
+
lighting = []
|
|
127
|
+
} = dataBundle || {};
|
|
128
|
+
const [{ project_data }] = projectElement;
|
|
129
|
+
const { id, logoImg, companyUrl } = configData;
|
|
130
|
+
|
|
131
|
+
const [outlineSVGData, setOutlineSVGData] = React.useState([]);
|
|
132
|
+
const [catalogInitiated, setCatalogInitiated] = React.useState(false);
|
|
133
|
+
|
|
134
|
+
useEffect(() => {
|
|
135
|
+
const initMyCatalog = async () => {
|
|
136
|
+
for (let x in Areas) MyCatalog.registerElement(Areas[x]);
|
|
137
|
+
for (let x in Lines) MyCatalog.registerElement(Lines[x]);
|
|
138
|
+
for (let x in Holes) MyCatalog.registerElement(Holes[x]);
|
|
139
|
+
MyCatalog.registerCategory('Windows', 'Windows', [
|
|
140
|
+
Holes.windowClear,
|
|
141
|
+
Holes.windowCross,
|
|
142
|
+
Holes.windowDoubleHung,
|
|
143
|
+
Holes.windowVertical
|
|
144
|
+
]);
|
|
145
|
+
MyCatalog.registerCategory('Doors', 'Doors', [
|
|
146
|
+
Holes.doorInterior,
|
|
147
|
+
Holes.doorExterior,
|
|
148
|
+
Holes.doorCloset,
|
|
149
|
+
Holes.doorSliding,
|
|
150
|
+
Holes.doorwayFramed,
|
|
151
|
+
Holes.doorwayFrameless
|
|
152
|
+
]);
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
const loadMoldings = async () => {
|
|
156
|
+
let door_color_alias = [];
|
|
157
|
+
let subgroup_ids = catalogs
|
|
158
|
+
.filter(item => item.id == id)[0]
|
|
159
|
+
.manufacturer_subgroup_ids.split(',');
|
|
160
|
+
let door_color_alias_ids = [];
|
|
161
|
+
subgroups.forEach(subgroup => {
|
|
162
|
+
if (subgroup_ids.some(id => id == subgroup.id.toString())) {
|
|
163
|
+
subgroup.door_color_alias_ids.split(',').forEach(item => {
|
|
164
|
+
item != '' && door_color_alias_ids.push(item);
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
colorAlias.forEach(
|
|
169
|
+
color =>
|
|
170
|
+
door_color_alias_ids.some(id => id == color.id.toString()) &&
|
|
171
|
+
door_color_alias.push(color)
|
|
172
|
+
);
|
|
173
|
+
const doorStyleData = categoryData.data.doorStyles.items;
|
|
174
|
+
|
|
175
|
+
categoryData.data.doorStyles.items = doorStyleData.treeStruct;
|
|
176
|
+
|
|
177
|
+
door_color_alias.forEach(dca => {
|
|
178
|
+
doorStyleData.doorColorData.forEach(dc => {
|
|
179
|
+
dc.door_style_id = parseInt(dc.door_style_id);
|
|
180
|
+
if (dc.id !== dca.door_color_id) return;
|
|
181
|
+
dc.name = dca.alias_name;
|
|
182
|
+
dc.color_sku_alias = dca.sku_alias_name;
|
|
183
|
+
|
|
184
|
+
doorStyleData.treeStruct.forEach(el => {
|
|
185
|
+
el.items.forEach(
|
|
186
|
+
elem =>
|
|
187
|
+
dc.door_style_id === elem.id && (dc.door_style_name = elem.name)
|
|
188
|
+
);
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
dca.alias_installation_type = isEmpty(dca.alias_installation_type)
|
|
192
|
+
? []
|
|
193
|
+
: dca.alias_installation_type.split(',').map(n => parseInt(n));
|
|
194
|
+
|
|
195
|
+
categoryData.data.doorStyles.items.forEach(item => {
|
|
196
|
+
if (dca.alias_installation_type.some(ait => ait === item.id))
|
|
197
|
+
item.items.forEach(ds => {
|
|
198
|
+
if (ds.name === dc.door_style_name) ds.items.push(dc);
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
let molding = [];
|
|
205
|
+
let toeMoldingData = [];
|
|
206
|
+
let cabinets = categoryData.data.cabinets;
|
|
207
|
+
cabinets[cabinets.length - 1].items.forEach(index => {
|
|
208
|
+
if (index.name.toLowerCase().includes('molding')) {
|
|
209
|
+
index.items.forEach(item => molding.push(item));
|
|
210
|
+
}
|
|
211
|
+
if (index.name.includes(TOE_KICK_MOLDING)) {
|
|
212
|
+
index.items.forEach(item => toeMoldingData.push(item));
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
categoryData.data.toeMoldingData = toeMoldingData;
|
|
216
|
+
|
|
217
|
+
const promises = molding.map(child => {
|
|
218
|
+
return new Promise((resolve, reject) => {
|
|
219
|
+
const url = child?.shape_svg;
|
|
220
|
+
if (!url) return resolve();
|
|
221
|
+
const loader = new SVGLoader();
|
|
222
|
+
loader.load(
|
|
223
|
+
url,
|
|
224
|
+
data => {
|
|
225
|
+
child.data = {
|
|
226
|
+
paths: data.paths,
|
|
227
|
+
svg_width: data.xml?.viewBox?.animVal?.width ?? 0,
|
|
228
|
+
svg_height: data.xml?.viewBox?.animVal?.height ?? 0
|
|
229
|
+
};
|
|
230
|
+
resolve();
|
|
231
|
+
},
|
|
232
|
+
null,
|
|
233
|
+
error => {
|
|
234
|
+
console.error(error);
|
|
235
|
+
reject(error);
|
|
236
|
+
}
|
|
237
|
+
);
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
return Promise.all(promises);
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
const loadSVGs = async () => {
|
|
244
|
+
const svgLoadPromises = data.map(async item => {
|
|
245
|
+
if (!item.outline) return null;
|
|
246
|
+
try {
|
|
247
|
+
const response = await fetch(item.outline, { cache: 'no-store' });
|
|
248
|
+
const svgText = await response.text();
|
|
249
|
+
|
|
250
|
+
const loader = new SVGLoader();
|
|
251
|
+
const parsed = loader.parse(svgText);
|
|
252
|
+
|
|
253
|
+
if (isEmpty(parsed.paths)) return null;
|
|
254
|
+
|
|
255
|
+
return {
|
|
256
|
+
paths: parsed.paths,
|
|
257
|
+
svgWidth:
|
|
258
|
+
parseFloat(parsed.xml.getAttribute('width')) ||
|
|
259
|
+
parsed.xml.viewBox?.animVal?.width ||
|
|
260
|
+
0,
|
|
261
|
+
svgHeight:
|
|
262
|
+
parseFloat(parsed.xml.getAttribute('height')) ||
|
|
263
|
+
parsed.xml.viewBox?.animVal?.height ||
|
|
264
|
+
0,
|
|
265
|
+
reverse: !parseFloat(parsed.xml.getAttribute('height'))
|
|
266
|
+
};
|
|
267
|
+
} catch (err) {
|
|
268
|
+
console.error('Failed to load SVG:', item.outline, err);
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
const outlineData = await Promise.all(svgLoadPromises);
|
|
274
|
+
setOutlineSVGData(outlineData);
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
const initCatalog = async () => {
|
|
278
|
+
setCatalogInitiated(false);
|
|
279
|
+
await initMyCatalog();
|
|
280
|
+
await loadMoldings();
|
|
281
|
+
await loadSVGs();
|
|
282
|
+
setCatalogInitiated(true);
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
initCatalog();
|
|
286
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
287
|
+
}, [categoryData, data, id, catalogs, colorAlias, subgroups]);
|
|
288
|
+
|
|
289
|
+
// Register items once SVGs are loaded
|
|
290
|
+
useEffect(() => {
|
|
291
|
+
if (!outlineSVGData.length) return;
|
|
292
|
+
|
|
293
|
+
const Item = [];
|
|
294
|
+
|
|
295
|
+
data.forEach((obj, index) => {
|
|
296
|
+
Item.push(
|
|
297
|
+
exporter({
|
|
298
|
+
...obj,
|
|
299
|
+
type: 'cabinet',
|
|
300
|
+
outlineSVGData: outlineSVGData[index],
|
|
301
|
+
render2DItem,
|
|
302
|
+
render3DItem
|
|
303
|
+
})
|
|
304
|
+
);
|
|
305
|
+
});
|
|
306
|
+
appliances.forEach(obj => {
|
|
307
|
+
Item.push(
|
|
308
|
+
exporter({
|
|
309
|
+
...obj,
|
|
310
|
+
render2DItem,
|
|
311
|
+
render3DItem: render3DApplianceItem,
|
|
312
|
+
type: 'appliance'
|
|
313
|
+
})
|
|
314
|
+
);
|
|
315
|
+
});
|
|
316
|
+
lighting.forEach(obj => {
|
|
317
|
+
Item.push(
|
|
318
|
+
exporter({
|
|
319
|
+
...obj,
|
|
320
|
+
type: 'lighting',
|
|
321
|
+
render2DItem,
|
|
322
|
+
render3DItem: render3DLightingItem
|
|
323
|
+
})
|
|
324
|
+
);
|
|
325
|
+
});
|
|
326
|
+
furnishing.forEach(obj => {
|
|
327
|
+
Item.push(
|
|
328
|
+
exporter({
|
|
329
|
+
...obj,
|
|
330
|
+
type: 'furnishing',
|
|
331
|
+
render2DItem,
|
|
332
|
+
render3DItem: render3DApplianceItem
|
|
333
|
+
})
|
|
334
|
+
);
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
for (let x in Item) MyCatalog.registerElement(Item[x]);
|
|
338
|
+
}, [outlineSVGData, data, appliances, furnishing, lighting]);
|
|
339
|
+
|
|
340
|
+
// Forward updates/save moments to host
|
|
341
|
+
useEffect(() => {
|
|
342
|
+
if (!onEvent && !onSave && !onError) return;
|
|
343
|
+
const unsubscribe = store.subscribe(() => {
|
|
344
|
+
const state = store.getState();
|
|
345
|
+
onEvent?.({ type: 'state-update', payload: { state } });
|
|
346
|
+
|
|
347
|
+
const pendingSave = state
|
|
348
|
+
?.get?.('KitchenConfigurator')
|
|
349
|
+
?.get?.('misc')
|
|
350
|
+
?.get?.('pendingSave');
|
|
351
|
+
if (pendingSave && onSave) {
|
|
352
|
+
try {
|
|
353
|
+
const planner = state.get('KitchenConfigurator');
|
|
354
|
+
const currentScene = planner?.get?.('scene')?.toJS
|
|
355
|
+
? planner.get('scene').toJS()
|
|
356
|
+
: planner?.get?.('scene') || null;
|
|
357
|
+
onSave({ type: 'save', payload: { scene: currentScene } });
|
|
358
|
+
} catch (e) {
|
|
359
|
+
onError?.({ type: 'save-error', error: e });
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
return () => unsubscribe();
|
|
364
|
+
}, [store, onEvent, onSave, onError]);
|
|
365
|
+
|
|
366
|
+
useEffect(() => {
|
|
367
|
+
if (projectElement.length === 0) return;
|
|
368
|
+
if (!catalogInitiated) return;
|
|
369
|
+
|
|
370
|
+
sessionStorage.setItem('projectTitle', projectElement[0].title);
|
|
371
|
+
store.dispatch(rename(projectElement[0].title));
|
|
372
|
+
sessionStorage.setItem('projectId', projectElement[0].id);
|
|
373
|
+
sessionStorage.setItem('email', projectElement[0].email);
|
|
374
|
+
sessionStorage.setItem('firstName', projectElement[0].firstName);
|
|
375
|
+
sessionStorage.setItem('lastName', projectElement[0].lastName);
|
|
376
|
+
sessionStorage.setItem('phone', projectElement[0].phone);
|
|
377
|
+
let jsonData;
|
|
378
|
+
jsonData = JSON.parse(projectElement[0].project_data);
|
|
379
|
+
jsonData.isLoadingCabinet = false;
|
|
380
|
+
store.dispatch(loadProject(jsonData, categoryData));
|
|
381
|
+
}, [project_data, catalogInitiated]);
|
|
382
|
+
|
|
383
|
+
return (
|
|
384
|
+
<AppContext.Provider>
|
|
385
|
+
<Provider store={store}>
|
|
386
|
+
<KitchenConfigurator
|
|
387
|
+
catalog={MyCatalog}
|
|
388
|
+
width={width}
|
|
389
|
+
height={height}
|
|
390
|
+
logoImage={logoImg}
|
|
391
|
+
companyURL={companyUrl}
|
|
392
|
+
plugins={plugins}
|
|
393
|
+
toolbarButtons={toolbarButtons}
|
|
394
|
+
stateExtractor={state => state.get('KitchenConfigurator')}
|
|
395
|
+
categoryData={categoryData}
|
|
396
|
+
data={data}
|
|
397
|
+
configData={configData}
|
|
398
|
+
onEvent={onEvent}
|
|
399
|
+
onSave={onSave}
|
|
400
|
+
onError={onError}
|
|
401
|
+
{...passThrough}
|
|
402
|
+
/>
|
|
403
|
+
</Provider>
|
|
404
|
+
</AppContext.Provider>
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/* ============================== prop types ============================== */
|
|
409
|
+
|
|
410
|
+
KitchenConfiguratorApp.propTypes = {
|
|
411
|
+
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
412
|
+
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
413
|
+
projectElement: PropTypes.arrayOf(PropTypes.object),
|
|
414
|
+
categoryData: PropTypes.any,
|
|
415
|
+
dataBundle: PropTypes.any,
|
|
416
|
+
configData: PropTypes.any,
|
|
417
|
+
catalog: PropTypes.oneOfType([
|
|
418
|
+
PropTypes.object,
|
|
419
|
+
PropTypes.instanceOf(Models.Catalog)
|
|
420
|
+
]),
|
|
421
|
+
logoImg: PropTypes.any,
|
|
422
|
+
companyUrl: PropTypes.string,
|
|
423
|
+
toolbarButtons: PropTypes.any,
|
|
424
|
+
options: PropTypes.object,
|
|
425
|
+
user: PropTypes.object,
|
|
426
|
+
auth: PropTypes.object,
|
|
427
|
+
featureFlags: PropTypes.object,
|
|
428
|
+
sentry: PropTypes.shape({
|
|
429
|
+
dsn: PropTypes.string,
|
|
430
|
+
environment: PropTypes.string
|
|
431
|
+
}),
|
|
432
|
+
analytics: PropTypes.shape({
|
|
433
|
+
ga4Id: PropTypes.string,
|
|
434
|
+
hotjar: PropTypes.shape({
|
|
435
|
+
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
436
|
+
sv: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
437
|
+
})
|
|
438
|
+
}),
|
|
439
|
+
onEvent: PropTypes.func,
|
|
440
|
+
onSave: PropTypes.func,
|
|
441
|
+
onError: PropTypes.func,
|
|
442
|
+
store: PropTypes.object
|
|
443
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SELECT_AREA, SET_FLOOR_STYLES } from '../constants';
|
|
2
|
+
|
|
3
|
+
export function selectArea(layerID, areaID) {
|
|
4
|
+
return {
|
|
5
|
+
type: SELECT_AREA,
|
|
6
|
+
layerID,
|
|
7
|
+
areaID
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function setFloorStyles(texture) {
|
|
11
|
+
return {
|
|
12
|
+
type: SET_FLOOR_STYLES,
|
|
13
|
+
texture
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as projectActions from './project-actions';
|
|
2
|
+
import * as viewer2DActions from './viewer2d-actions';
|
|
3
|
+
import * as viewer3DActions from './viewer3d-actions';
|
|
4
|
+
import * as linesActions from './lines-actions';
|
|
5
|
+
import * as holesActions from './holes-actions';
|
|
6
|
+
import * as sceneActions from './scene-actions';
|
|
7
|
+
import * as verticesActions from './vertices-actions';
|
|
8
|
+
import * as itemsActions from './items-actions';
|
|
9
|
+
import * as areaActions from './area-actions';
|
|
10
|
+
import * as groupsActions from './groups-actions';
|
|
11
|
+
import * as userActions from './user-actions';
|
|
12
|
+
export {
|
|
13
|
+
projectActions,
|
|
14
|
+
viewer2DActions,
|
|
15
|
+
viewer3DActions,
|
|
16
|
+
linesActions,
|
|
17
|
+
holesActions,
|
|
18
|
+
sceneActions,
|
|
19
|
+
verticesActions,
|
|
20
|
+
itemsActions,
|
|
21
|
+
areaActions,
|
|
22
|
+
groupsActions,
|
|
23
|
+
userActions
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default {
|
|
27
|
+
projectActions,
|
|
28
|
+
viewer2DActions,
|
|
29
|
+
viewer3DActions,
|
|
30
|
+
linesActions,
|
|
31
|
+
holesActions,
|
|
32
|
+
sceneActions,
|
|
33
|
+
verticesActions,
|
|
34
|
+
itemsActions,
|
|
35
|
+
areaActions,
|
|
36
|
+
groupsActions,
|
|
37
|
+
userActions
|
|
38
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { GROUP_ACTIONS } from '../constants';
|
|
2
|
+
|
|
3
|
+
export function addGroup() {
|
|
4
|
+
return {
|
|
5
|
+
type: GROUP_ACTIONS.ADD_GROUP
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function addGroupFromSelected() {
|
|
10
|
+
return {
|
|
11
|
+
type: GROUP_ACTIONS.ADD_GROUP_FROM_SELECTED
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function selectGroup(groupID) {
|
|
16
|
+
return {
|
|
17
|
+
type: GROUP_ACTIONS.SELECT_GROUP,
|
|
18
|
+
groupID
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function unselectGroup(groupID) {
|
|
23
|
+
return {
|
|
24
|
+
type: GROUP_ACTIONS.UNSELECT_GROUP,
|
|
25
|
+
groupID
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function addToGroup(groupID, layerID, elementPrototype, elementID) {
|
|
30
|
+
return {
|
|
31
|
+
type: GROUP_ACTIONS.ADD_TO_GROUP,
|
|
32
|
+
groupID,
|
|
33
|
+
layerID,
|
|
34
|
+
elementPrototype,
|
|
35
|
+
elementID
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function removeFromGroup(groupID, layerID, elementPrototype, elementID) {
|
|
40
|
+
return {
|
|
41
|
+
type: GROUP_ACTIONS.REMOVE_FROM_GROUP,
|
|
42
|
+
groupID,
|
|
43
|
+
layerID,
|
|
44
|
+
elementPrototype,
|
|
45
|
+
elementID
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function setGroupAttributes(groupID, attributes) {
|
|
50
|
+
return {
|
|
51
|
+
type: GROUP_ACTIONS.SET_GROUP_ATTRIBUTES,
|
|
52
|
+
groupID,
|
|
53
|
+
attributes
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function setGroupProperties(groupID, properties) {
|
|
58
|
+
return {
|
|
59
|
+
type: GROUP_ACTIONS.SET_GROUP_PROPERTIES,
|
|
60
|
+
groupID,
|
|
61
|
+
properties
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function setGroupBarycenter(groupID, barycenter) {
|
|
66
|
+
return {
|
|
67
|
+
type: GROUP_ACTIONS.SET_GROUP_BARYCENTER,
|
|
68
|
+
groupID,
|
|
69
|
+
barycenter
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function removeGroup(groupID) {
|
|
74
|
+
return {
|
|
75
|
+
type: GROUP_ACTIONS.REMOVE_GROUP,
|
|
76
|
+
groupID
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function removeGroupAndDeleteElements(groupID) {
|
|
81
|
+
return {
|
|
82
|
+
type: GROUP_ACTIONS.REMOVE_GROUP_AND_DELETE_ELEMENTS,
|
|
83
|
+
groupID
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function groupTranslate(groupID, x, y) {
|
|
88
|
+
return {
|
|
89
|
+
type: GROUP_ACTIONS.GROUP_TRANSLATE,
|
|
90
|
+
groupID,
|
|
91
|
+
x,
|
|
92
|
+
y
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function groupRotate(groupID, rotation) {
|
|
97
|
+
return {
|
|
98
|
+
type: GROUP_ACTIONS.GROUP_ROTATE,
|
|
99
|
+
groupID,
|
|
100
|
+
rotation
|
|
101
|
+
};
|
|
102
|
+
}
|