kitchen-simulator 5.0.0-test.2 → 5.0.0-test.4
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/es/KitchenConfigurator.js +1 -1
- package/es/KitchenConfigurator.js.map +1 -1
- package/es/index.js +2 -2
- package/es/index.js.map +1 -1
- package/package.json +8 -16
- package/src/KitchenConfigurator.jsx +1 -1
- package/src/index.js +3 -3
- package/lib/@history.js +0 -11
- package/lib/@history.js.map +0 -1
- package/lib/AppContext.js +0 -11
- package/lib/AppContext.js.map +0 -1
- package/lib/KitchenConfigurator.js +0 -1353
- package/lib/KitchenConfigurator.js.map +0 -1
- package/lib/KitchenConfiguratorApp.js +0 -539
- package/lib/KitchenConfiguratorApp.js.map +0 -1
- package/lib/actions/area-actions.js +0 -22
- package/lib/actions/area-actions.js.map +0 -1
- package/lib/actions/export.js +0 -44
- package/lib/actions/export.js.map +0 -1
- package/lib/actions/groups-actions.js +0 -108
- package/lib/actions/groups-actions.js.map +0 -1
- package/lib/actions/holes-actions.js +0 -141
- package/lib/actions/holes-actions.js.map +0 -1
- package/lib/actions/items-actions.js +0 -365
- package/lib/actions/items-actions.js.map +0 -1
- package/lib/actions/lines-actions.js +0 -98
- package/lib/actions/lines-actions.js.map +0 -1
- package/lib/actions/project-actions.js +0 -333
- package/lib/actions/project-actions.js.map +0 -1
- package/lib/actions/scene-actions.js +0 -44
- package/lib/actions/scene-actions.js.map +0 -1
- package/lib/actions/user-actions.js +0 -69
- package/lib/actions/user-actions.js.map +0 -1
- package/lib/actions/vertices-actions.js +0 -36
- package/lib/actions/vertices-actions.js.map +0 -1
- package/lib/actions/viewer2d-actions.js +0 -74
- package/lib/actions/viewer2d-actions.js.map +0 -1
- package/lib/actions/viewer3d-actions.js +0 -33
- package/lib/actions/viewer3d-actions.js.map +0 -1
- package/lib/catalog/areas/area/planner-element.js +0 -47
- package/lib/catalog/areas/area/planner-element.js.map +0 -1
- package/lib/catalog/catalog.js +0 -283
- package/lib/catalog/catalog.js.map +0 -1
- package/lib/catalog/factories/area-factory-3d.js +0 -192
- package/lib/catalog/factories/area-factory-3d.js.map +0 -1
- package/lib/catalog/factories/area-factory.js +0 -90
- package/lib/catalog/factories/area-factory.js.map +0 -1
- package/lib/catalog/factories/export.js +0 -26
- package/lib/catalog/factories/export.js.map +0 -1
- package/lib/catalog/factories/wall-factory-3d.js +0 -213
- package/lib/catalog/factories/wall-factory-3d.js.map +0 -1
- package/lib/catalog/factories/wall-factory.js +0 -279
- package/lib/catalog/factories/wall-factory.js.map +0 -1
- package/lib/catalog/holes/door-closet/planner-element.js +0 -232
- package/lib/catalog/holes/door-closet/planner-element.js.map +0 -1
- package/lib/catalog/holes/door-double/planner-element.js +0 -325
- package/lib/catalog/holes/door-double/planner-element.js.map +0 -1
- package/lib/catalog/holes/door-exterior/planner-element.js +0 -225
- package/lib/catalog/holes/door-exterior/planner-element.js.map +0 -1
- package/lib/catalog/holes/door-interior/planner-element.js +0 -237
- package/lib/catalog/holes/door-interior/planner-element.js.map +0 -1
- package/lib/catalog/holes/door-panic/planner-element.js +0 -513
- package/lib/catalog/holes/door-panic/planner-element.js.map +0 -1
- package/lib/catalog/holes/door-panic-double/planner-element.js +0 -473
- package/lib/catalog/holes/door-panic-double/planner-element.js.map +0 -1
- package/lib/catalog/holes/door-sliding/planner-element.js +0 -235
- package/lib/catalog/holes/door-sliding/planner-element.js.map +0 -1
- package/lib/catalog/holes/doorway-framed/planner-element.js +0 -155
- package/lib/catalog/holes/doorway-framed/planner-element.js.map +0 -1
- package/lib/catalog/holes/doorway-frameless/planner-element.js +0 -114
- package/lib/catalog/holes/doorway-frameless/planner-element.js.map +0 -1
- package/lib/catalog/holes/window-clear/planner-element.js +0 -176
- package/lib/catalog/holes/window-clear/planner-element.js.map +0 -1
- package/lib/catalog/holes/window-cross/planner-element.js +0 -175
- package/lib/catalog/holes/window-cross/planner-element.js.map +0 -1
- package/lib/catalog/holes/window-double-hung/planner-element.js +0 -313
- package/lib/catalog/holes/window-double-hung/planner-element.js.map +0 -1
- package/lib/catalog/holes/window-vertical/planner-element.js +0 -286
- package/lib/catalog/holes/window-vertical/planner-element.js.map +0 -1
- package/lib/catalog/lines/wall/planner-element.js +0 -77
- package/lib/catalog/lines/wall/planner-element.js.map +0 -1
- package/lib/catalog/molding/molding-dcm/planner-element.js +0 -39
- package/lib/catalog/molding/molding-dcm/planner-element.js.map +0 -1
- package/lib/catalog/molding/molding-fbm/planner-element.js +0 -39
- package/lib/catalog/molding/molding-fbm/planner-element.js.map +0 -1
- package/lib/catalog/molding/molding-lrm/planner-element.js +0 -39
- package/lib/catalog/molding/molding-lrm/planner-element.js.map +0 -1
- package/lib/catalog/properties/export.js +0 -82
- package/lib/catalog/properties/export.js.map +0 -1
- package/lib/catalog/properties/property-checkbox.js +0 -79
- package/lib/catalog/properties/property-checkbox.js.map +0 -1
- package/lib/catalog/properties/property-color.js +0 -47
- package/lib/catalog/properties/property-color.js.map +0 -1
- package/lib/catalog/properties/property-enum.js +0 -63
- package/lib/catalog/properties/property-enum.js.map +0 -1
- package/lib/catalog/properties/property-hidden.js +0 -27
- package/lib/catalog/properties/property-hidden.js.map +0 -1
- package/lib/catalog/properties/property-lenght-measure.js +0 -109
- package/lib/catalog/properties/property-lenght-measure.js.map +0 -1
- package/lib/catalog/properties/property-length-measure.js +0 -93
- package/lib/catalog/properties/property-length-measure.js.map +0 -1
- package/lib/catalog/properties/property-length-measure_hole.js +0 -109
- package/lib/catalog/properties/property-length-measure_hole.js.map +0 -1
- package/lib/catalog/properties/property-number.js +0 -56
- package/lib/catalog/properties/property-number.js.map +0 -1
- package/lib/catalog/properties/property-read-only.js +0 -34
- package/lib/catalog/properties/property-read-only.js.map +0 -1
- package/lib/catalog/properties/property-string.js +0 -56
- package/lib/catalog/properties/property-string.js.map +0 -1
- package/lib/catalog/properties/property-toggle.js +0 -47
- package/lib/catalog/properties/property-toggle.js.map +0 -1
- package/lib/catalog/properties/shared-property-style.js +0 -21
- package/lib/catalog/properties/shared-property-style.js.map +0 -1
- package/lib/catalog/utils/FuseUtils.js +0 -89
- package/lib/catalog/utils/FuseUtils.js.map +0 -1
- package/lib/catalog/utils/exporter.js +0 -156
- package/lib/catalog/utils/exporter.js.map +0 -1
- package/lib/catalog/utils/geom-utils.js +0 -206
- package/lib/catalog/utils/geom-utils.js.map +0 -1
- package/lib/catalog/utils/item-loader.js +0 -1534
- package/lib/catalog/utils/item-loader.js.map +0 -1
- package/lib/catalog/utils/load-obj.js +0 -100
- package/lib/catalog/utils/load-obj.js.map +0 -1
- package/lib/catalog/utils/mtl-loader.js +0 -360
- package/lib/catalog/utils/mtl-loader.js.map +0 -1
- package/lib/catalog/utils/obj-loader.js +0 -479
- package/lib/catalog/utils/obj-loader.js.map +0 -1
- package/lib/class/FuseUtils.js +0 -89
- package/lib/class/FuseUtils.js.map +0 -1
- package/lib/class/area.js +0 -151
- package/lib/class/area.js.map +0 -1
- package/lib/class/export.js +0 -97
- package/lib/class/export.js.map +0 -1
- package/lib/class/group.js +0 -446
- package/lib/class/group.js.map +0 -1
- package/lib/class/guide.js +0 -68
- package/lib/class/guide.js.map +0 -1
- package/lib/class/hole.js +0 -935
- package/lib/class/hole.js.map +0 -1
- package/lib/class/item.js +0 -1894
- package/lib/class/item.js.map +0 -1
- package/lib/class/layer.js +0 -673
- package/lib/class/layer.js.map +0 -1
- package/lib/class/line.js +0 -1296
- package/lib/class/line.js.map +0 -1
- package/lib/class/project.js +0 -829
- package/lib/class/project.js.map +0 -1
- package/lib/class/vertex.js +0 -272
- package/lib/class/vertex.js.map +0 -1
- package/lib/components/atoms/Snackbar/index.js +0 -57
- package/lib/components/atoms/Snackbar/index.js.map +0 -1
- package/lib/components/atoms/radio-button/index.js +0 -33
- package/lib/components/atoms/radio-button/index.js.map +0 -1
- package/lib/components/atoms/radio-button/styles.js +0 -12
- package/lib/components/atoms/radio-button/styles.js.map +0 -1
- package/lib/components/button/MainButton.js +0 -98
- package/lib/components/button/MainButton.js.map +0 -1
- package/lib/components/button/ToggleMeasureButton.js +0 -63
- package/lib/components/button/ToggleMeasureButton.js.map +0 -1
- package/lib/components/catalog-view/catalog-breadcrumb.js +0 -61
- package/lib/components/catalog-view/catalog-breadcrumb.js.map +0 -1
- package/lib/components/catalog-view/catalog-item.js +0 -233
- package/lib/components/catalog-view/catalog-item.js.map +0 -1
- package/lib/components/catalog-view/catalog-list.js +0 -189
- package/lib/components/catalog-view/catalog-list.js.map +0 -1
- package/lib/components/catalog-view/catalog-page-item.js +0 -137
- package/lib/components/catalog-view/catalog-page-item.js.map +0 -1
- package/lib/components/catalog-view/catalog-turn-back-page-item.js +0 -113
- package/lib/components/catalog-view/catalog-turn-back-page-item.js.map +0 -1
- package/lib/components/configurator/custom-configurator.js +0 -101
- package/lib/components/configurator/custom-configurator.js.map +0 -1
- package/lib/components/configurator/project-configurator.js +0 -138
- package/lib/components/configurator/project-configurator.js.map +0 -1
- package/lib/components/content.js +0 -132
- package/lib/components/content.js.map +0 -1
- package/lib/components/export.js +0 -90
- package/lib/components/export.js.map +0 -1
- package/lib/components/firstsetting/button/styles.js +0 -34
- package/lib/components/firstsetting/button/styles.js.map +0 -1
- package/lib/components/firstsetting/export.js +0 -16
- package/lib/components/firstsetting/export.js.map +0 -1
- package/lib/components/firstsetting/firstsetting-content-button.js +0 -224
- package/lib/components/firstsetting/firstsetting-content-button.js.map +0 -1
- package/lib/components/firstsetting/firstsetting-toggle-button.js +0 -133
- package/lib/components/firstsetting/firstsetting-toggle-button.js.map +0 -1
- package/lib/components/firstsetting/firstsetting.js +0 -633
- package/lib/components/firstsetting/firstsetting.js.map +0 -1
- package/lib/components/footerbar/button/ControlButton.js +0 -79
- package/lib/components/footerbar/button/ControlButton.js.map +0 -1
- package/lib/components/footerbar/button/DirectionButton.js +0 -76
- package/lib/components/footerbar/button/DirectionButton.js.map +0 -1
- package/lib/components/footerbar/button/DirectionPanSpinButton.js +0 -57
- package/lib/components/footerbar/button/DirectionPanSpinButton.js.map +0 -1
- package/lib/components/footerbar/button/ToggleButton.js +0 -83
- package/lib/components/footerbar/button/ToggleButton.js.map +0 -1
- package/lib/components/footerbar/button/ToggleConvertButton.js +0 -80
- package/lib/components/footerbar/button/ToggleConvertButton.js.map +0 -1
- package/lib/components/footerbar/button/ToggleMeasureButton.js +0 -59
- package/lib/components/footerbar/button/ToggleMeasureButton.js.map +0 -1
- package/lib/components/footerbar/button/styles.js +0 -29
- package/lib/components/footerbar/button/styles.js.map +0 -1
- package/lib/components/footerbar/export.js +0 -16
- package/lib/components/footerbar/export.js.map +0 -1
- package/lib/components/footerbar/footer-content-button.js +0 -224
- package/lib/components/footerbar/footer-content-button.js.map +0 -1
- package/lib/components/footerbar/footer-toggle-button.js +0 -133
- package/lib/components/footerbar/footer-toggle-button.js.map +0 -1
- package/lib/components/footerbar/footerbar.js +0 -808
- package/lib/components/footerbar/footerbar.js.map +0 -1
- package/lib/components/footerbar/styles.js +0 -41
- package/lib/components/footerbar/styles.js.map +0 -1
- package/lib/components/header/button/MenuButton.js +0 -77
- package/lib/components/header/button/MenuButton.js.map +0 -1
- package/lib/components/header/button/SaveButton.js +0 -57
- package/lib/components/header/button/SaveButton.js.map +0 -1
- package/lib/components/header/button/styles.js +0 -68
- package/lib/components/header/button/styles.js.map +0 -1
- package/lib/components/header/export.js +0 -12
- package/lib/components/header/export.js.map +0 -1
- package/lib/components/header/header.js +0 -556
- package/lib/components/header/header.js.map +0 -1
- package/lib/components/header/styles.js +0 -47
- package/lib/components/header/styles.js.map +0 -1
- package/lib/components/login/Login.js +0 -94
- package/lib/components/login/Login.js.map +0 -1
- package/lib/components/login/LoginForm/index.js +0 -140
- package/lib/components/login/LoginForm/index.js.map +0 -1
- package/lib/components/login/Register.js +0 -104
- package/lib/components/login/Register.js.map +0 -1
- package/lib/components/login/RegisterForm/index.js +0 -237
- package/lib/components/login/RegisterForm/index.js.map +0 -1
- package/lib/components/login/jwtService.js +0 -239
- package/lib/components/login/jwtService.js.map +0 -1
- package/lib/components/molecules/slider/index.js +0 -22
- package/lib/components/molecules/slider/index.js.map +0 -1
- package/lib/components/molecules/slider/styles.js +0 -2
- package/lib/components/molecules/slider/styles.js.map +0 -1
- package/lib/components/myprojects/export.js +0 -12
- package/lib/components/myprojects/export.js.map +0 -1
- package/lib/components/myprojects/index.js +0 -453
- package/lib/components/myprojects/index.js.map +0 -1
- package/lib/components/myprojects/styles.js +0 -31
- package/lib/components/myprojects/styles.js.map +0 -1
- package/lib/components/sidebar/custom-accordion.js +0 -45
- package/lib/components/sidebar/custom-accordion.js.map +0 -1
- package/lib/components/sidebar/export.js +0 -50
- package/lib/components/sidebar/export.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js +0 -74
- package/lib/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js +0 -124
- package/lib/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js +0 -135
- package/lib/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js +0 -260
- package/lib/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js +0 -84
- package/lib/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/element-editor.js +0 -884
- package/lib/components/sidebar/panel-element-editor/element-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/multi-elements-editor.js +0 -2
- package/lib/components/sidebar/panel-element-editor/multi-elements-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/panel-element-editor.js +0 -56
- package/lib/components/sidebar/panel-element-editor/panel-element-editor.js.map +0 -1
- package/lib/components/sidebar/panel-element-editor/panel-multi-elements-editor.js +0 -125
- package/lib/components/sidebar/panel-element-editor/panel-multi-elements-editor.js.map +0 -1
- package/lib/components/sidebar/panel-group-editor.js +0 -218
- package/lib/components/sidebar/panel-group-editor.js.map +0 -1
- package/lib/components/sidebar/panel-groups.js +0 -274
- package/lib/components/sidebar/panel-groups.js.map +0 -1
- package/lib/components/sidebar/panel-guides.js +0 -192
- package/lib/components/sidebar/panel-guides.js.map +0 -1
- package/lib/components/sidebar/panel-layer-elements.js +0 -258
- package/lib/components/sidebar/panel-layer-elements.js.map +0 -1
- package/lib/components/sidebar/panel-layers.js +0 -347
- package/lib/components/sidebar/panel-layers.js.map +0 -1
- package/lib/components/sidebar/panel.js +0 -110
- package/lib/components/sidebar/panel.js.map +0 -1
- package/lib/components/sidebar/sidebar.js +0 -117
- package/lib/components/sidebar/sidebar.js.map +0 -1
- package/lib/components/sidebar/toolbar-panel.js +0 -171
- package/lib/components/sidebar/toolbar-panel.js.map +0 -1
- package/lib/components/sign/export.js +0 -18
- package/lib/components/sign/export.js.map +0 -1
- package/lib/components/sign/main/index.js +0 -567
- package/lib/components/sign/main/index.js.map +0 -1
- package/lib/components/sign/main/styles.js +0 -27
- package/lib/components/sign/main/styles.js.map +0 -1
- package/lib/components/style/button.js +0 -121
- package/lib/components/style/button.js.map +0 -1
- package/lib/components/style/cancel-button.js +0 -30
- package/lib/components/style/cancel-button.js.map +0 -1
- package/lib/components/style/content-container.js +0 -41
- package/lib/components/style/content-container.js.map +0 -1
- package/lib/components/style/content-title.js +0 -38
- package/lib/components/style/content-title.js.map +0 -1
- package/lib/components/style/delete-button.js +0 -35
- package/lib/components/style/delete-button.js.map +0 -1
- package/lib/components/style/export.js +0 -122
- package/lib/components/style/export.js.map +0 -1
- package/lib/components/style/form-block.js +0 -32
- package/lib/components/style/form-block.js.map +0 -1
- package/lib/components/style/form-color-input.js +0 -35
- package/lib/components/style/form-color-input.js.map +0 -1
- package/lib/components/style/form-label.js +0 -34
- package/lib/components/style/form-label.js.map +0 -1
- package/lib/components/style/form-number-input.js +0 -197
- package/lib/components/style/form-number-input.js.map +0 -1
- package/lib/components/style/form-number-input_2.js +0 -214
- package/lib/components/style/form-number-input_2.js.map +0 -1
- package/lib/components/style/form-select.js +0 -30
- package/lib/components/style/form-select.js.map +0 -1
- package/lib/components/style/form-slider.js +0 -53
- package/lib/components/style/form-slider.js.map +0 -1
- package/lib/components/style/form-submit-button.js +0 -36
- package/lib/components/style/form-submit-button.js.map +0 -1
- package/lib/components/style/form-text-input.js +0 -84
- package/lib/components/style/form-text-input.js.map +0 -1
- package/lib/components/toolbar/button/ControlButton.js +0 -76
- package/lib/components/toolbar/button/ControlButton.js.map +0 -1
- package/lib/components/toolbar/button/DirectionButton.js +0 -57
- package/lib/components/toolbar/button/DirectionButton.js.map +0 -1
- package/lib/components/toolbar/button/RightButton.js +0 -140
- package/lib/components/toolbar/button/RightButton.js.map +0 -1
- package/lib/components/toolbar/button/ToggleButton.js +0 -66
- package/lib/components/toolbar/button/ToggleButton.js.map +0 -1
- package/lib/components/toolbar/button/index.js +0 -94
- package/lib/components/toolbar/button/index.js.map +0 -1
- package/lib/components/toolbar/button/styles.js +0 -21
- package/lib/components/toolbar/button/styles.js.map +0 -1
- package/lib/components/toolbar/components/DoorStyleMenu.js +0 -112
- package/lib/components/toolbar/components/DoorStyleMenu.js.map +0 -1
- package/lib/components/toolbar/components/Pricing.js +0 -110
- package/lib/components/toolbar/components/Pricing.js.map +0 -1
- package/lib/components/toolbar/components/ReviewForQuote.js +0 -485
- package/lib/components/toolbar/components/ReviewForQuote.js.map +0 -1
- package/lib/components/toolbar/export.js +0 -50
- package/lib/components/toolbar/export.js.map +0 -1
- package/lib/components/toolbar/main/Alert.js +0 -132
- package/lib/components/toolbar/main/Alert.js.map +0 -1
- package/lib/components/toolbar/main/TakePictureModal.js +0 -109
- package/lib/components/toolbar/main/TakePictureModal.js.map +0 -1
- package/lib/components/toolbar/main/confirm-popup.js +0 -95
- package/lib/components/toolbar/main/confirm-popup.js.map +0 -1
- package/lib/components/toolbar/main/index.js +0 -4619
- package/lib/components/toolbar/main/index.js.map +0 -1
- package/lib/components/toolbar/main/myComponents.js +0 -125
- package/lib/components/toolbar/main/myComponents.js.map +0 -1
- package/lib/components/toolbar/main/styles.js +0 -73
- package/lib/components/toolbar/main/styles.js.map +0 -1
- package/lib/components/toolbar/plugin-item.js +0 -156
- package/lib/components/toolbar/plugin-item.js.map +0 -1
- package/lib/components/toolbar/popup/appliance/appliance-category/index.js +0 -86
- package/lib/components/toolbar/popup/appliance/appliance-category/index.js.map +0 -1
- package/lib/components/toolbar/popup/appliance/choose-appliance/index.js +0 -85
- package/lib/components/toolbar/popup/appliance/choose-appliance/index.js.map +0 -1
- package/lib/components/toolbar/popup/appliance/index.js +0 -89
- package/lib/components/toolbar/popup/appliance/index.js.map +0 -1
- package/lib/components/toolbar/popup/autosaveprompt/index.js +0 -99
- package/lib/components/toolbar/popup/autosaveprompt/index.js.map +0 -1
- package/lib/components/toolbar/popup/autosaveprompt/styles.js +0 -16
- package/lib/components/toolbar/popup/autosaveprompt/styles.js.map +0 -1
- package/lib/components/toolbar/popup/cabinet/cabinet-category/index.js +0 -86
- package/lib/components/toolbar/popup/cabinet/cabinet-category/index.js.map +0 -1
- package/lib/components/toolbar/popup/cabinet/choose-product/index.js +0 -107
- package/lib/components/toolbar/popup/cabinet/choose-product/index.js.map +0 -1
- package/lib/components/toolbar/popup/cabinet/index.js +0 -91
- package/lib/components/toolbar/popup/cabinet/index.js.map +0 -1
- package/lib/components/toolbar/popup/doorStyle/choose-style/index.js +0 -59
- package/lib/components/toolbar/popup/doorStyle/choose-style/index.js.map +0 -1
- package/lib/components/toolbar/popup/doorStyle/index.js +0 -68
- package/lib/components/toolbar/popup/doorStyle/index.js.map +0 -1
- package/lib/components/toolbar/popup/doorStyle/style-category/index.js +0 -152
- package/lib/components/toolbar/popup/doorStyle/style-category/index.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -9
- package/lib/components/toolbar/popup/downloadsummary/downloadSummaryContext.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js +0 -128
- package/lib/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/index.js +0 -572
- package/lib/components/toolbar/popup/downloadsummary/index.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/show2D/show2DView.js +0 -60
- package/lib/components/toolbar/popup/downloadsummary/show2D/show2DView.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js +0 -200
- package/lib/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/show3D/show3DView.js +0 -254
- package/lib/components/toolbar/popup/downloadsummary/show3D/show3DView.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js +0 -1762
- package/lib/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -96
- package/lib/components/toolbar/popup/downloadsummary/showCabinetInfo.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js +0 -125
- package/lib/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js +0 -1713
- package/lib/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js +0 -184
- package/lib/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/showWarranty.js +0 -115
- package/lib/components/toolbar/popup/downloadsummary/showWarranty.js.map +0 -1
- package/lib/components/toolbar/popup/downloadsummary/styles.js +0 -47
- package/lib/components/toolbar/popup/downloadsummary/styles.js.map +0 -1
- package/lib/components/toolbar/popup/finishingtouch/category/index.js +0 -44
- package/lib/components/toolbar/popup/finishingtouch/category/index.js.map +0 -1
- package/lib/components/toolbar/popup/finishingtouch/index.js +0 -54
- package/lib/components/toolbar/popup/finishingtouch/index.js.map +0 -1
- package/lib/components/toolbar/popup/finishingtouch/material-edit.js +0 -163
- package/lib/components/toolbar/popup/finishingtouch/material-edit.js.map +0 -1
- package/lib/components/toolbar/popup/finishingtouch/product/index.js +0 -65
- package/lib/components/toolbar/popup/finishingtouch/product/index.js.map +0 -1
- package/lib/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js +0 -124
- package/lib/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js.map +0 -1
- package/lib/components/toolbar/popup/floorplan/choose-floor/index.js +0 -255
- package/lib/components/toolbar/popup/floorplan/choose-floor/index.js.map +0 -1
- package/lib/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -20
- package/lib/components/toolbar/popup/floorplan/choose-floor/styles.js.map +0 -1
- package/lib/components/toolbar/popup/floorplan/floor-category/index.js +0 -99
- package/lib/components/toolbar/popup/floorplan/floor-category/index.js.map +0 -1
- package/lib/components/toolbar/popup/floorplan/index.js +0 -56
- package/lib/components/toolbar/popup/floorplan/index.js.map +0 -1
- package/lib/components/toolbar/popup/index.js +0 -195
- package/lib/components/toolbar/popup/index.js.map +0 -1
- package/lib/components/toolbar/popup/newproject/index.js +0 -75
- package/lib/components/toolbar/popup/newproject/index.js.map +0 -1
- package/lib/components/toolbar/popup/newproject/styles.js +0 -16
- package/lib/components/toolbar/popup/newproject/styles.js.map +0 -1
- package/lib/components/toolbar/popup/product/appliance.js +0 -73
- package/lib/components/toolbar/popup/product/appliance.js.map +0 -1
- package/lib/components/toolbar/popup/product/cabinetproduct.js +0 -33
- package/lib/components/toolbar/popup/product/cabinetproduct.js.map +0 -1
- package/lib/components/toolbar/popup/product/doorstyle.js +0 -59
- package/lib/components/toolbar/popup/product/doorstyle.js.map +0 -1
- package/lib/components/toolbar/popup/product/doorstyleproduct.js +0 -59
- package/lib/components/toolbar/popup/product/doorstyleproduct.js.map +0 -1
- package/lib/components/toolbar/popup/product/floor.js +0 -59
- package/lib/components/toolbar/popup/product/floor.js.map +0 -1
- package/lib/components/toolbar/popup/product/floorproduct.js +0 -68
- package/lib/components/toolbar/popup/product/floorproduct.js.map +0 -1
- package/lib/components/toolbar/popup/product/index.js +0 -59
- package/lib/components/toolbar/popup/product/index.js.map +0 -1
- package/lib/components/toolbar/popup/product/primary.js +0 -71
- package/lib/components/toolbar/popup/product/primary.js.map +0 -1
- package/lib/components/toolbar/popup/product/productline.js +0 -128
- package/lib/components/toolbar/popup/product/productline.js.map +0 -1
- package/lib/components/toolbar/popup/product/reviewItem.js +0 -346
- package/lib/components/toolbar/popup/product/reviewItem.js.map +0 -1
- package/lib/components/toolbar/popup/product/reviewMolding.js +0 -291
- package/lib/components/toolbar/popup/product/reviewMolding.js.map +0 -1
- package/lib/components/toolbar/popup/product/styles.js +0 -79
- package/lib/components/toolbar/popup/product/styles.js.map +0 -1
- package/lib/components/toolbar/popup/savedesign/FullPictureForm.js +0 -169
- package/lib/components/toolbar/popup/savedesign/FullPictureForm.js.map +0 -1
- package/lib/components/toolbar/popup/savedesign/index.js +0 -516
- package/lib/components/toolbar/popup/savedesign/index.js.map +0 -1
- package/lib/components/toolbar/popup/savedesign/styles.js +0 -26
- package/lib/components/toolbar/popup/savedesign/styles.js.map +0 -1
- package/lib/components/toolbar/popup/setDoorStyleOption/index.js +0 -64
- package/lib/components/toolbar/popup/setDoorStyleOption/index.js.map +0 -1
- package/lib/components/toolbar/popup/styles.js +0 -104
- package/lib/components/toolbar/popup/styles.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/AddToCartOptions.js +0 -166
- package/lib/components/toolbar/popup/submitforquote/AddToCartOptions.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/CustomerRequestsForm.js +0 -93
- package/lib/components/toolbar/popup/submitforquote/CustomerRequestsForm.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/SkipDesignerReview.js +0 -45
- package/lib/components/toolbar/popup/submitforquote/SkipDesignerReview.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/StepDots.js +0 -40
- package/lib/components/toolbar/popup/submitforquote/StepDots.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/cart-choice.js +0 -141
- package/lib/components/toolbar/popup/submitforquote/cart-choice.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -50
- package/lib/components/toolbar/popup/submitforquote/doorstyle-menus.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/index.js +0 -698
- package/lib/components/toolbar/popup/submitforquote/index.js.map +0 -1
- package/lib/components/toolbar/popup/submitforquote/styles.js +0 -38
- package/lib/components/toolbar/popup/submitforquote/styles.js.map +0 -1
- package/lib/components/toolbar/popup/submitprompt/index.js +0 -79
- package/lib/components/toolbar/popup/submitprompt/index.js.map +0 -1
- package/lib/components/toolbar/popup/submitprompt/styles.js +0 -16
- package/lib/components/toolbar/popup/submitprompt/styles.js.map +0 -1
- package/lib/components/toolbar/toolbar-button.js +0 -111
- package/lib/components/toolbar/toolbar-button.js.map +0 -1
- package/lib/components/toolbar/toolbar-load-button.js +0 -36
- package/lib/components/toolbar/toolbar-load-button.js.map +0 -1
- package/lib/components/toolbar/toolbar-save-button.js +0 -34
- package/lib/components/toolbar/toolbar-save-button.js.map +0 -1
- package/lib/components/tutorial-view/Modal.js +0 -503
- package/lib/components/tutorial-view/Modal.js.map +0 -1
- package/lib/components/tutorial-view/styles.js +0 -13
- package/lib/components/tutorial-view/styles.js.map +0 -1
- package/lib/components/viewer2d/area.js +0 -90
- package/lib/components/viewer2d/area.js.map +0 -1
- package/lib/components/viewer2d/export.js +0 -122
- package/lib/components/viewer2d/export.js.map +0 -1
- package/lib/components/viewer2d/grids/grid-horizontal-streak.js +0 -45
- package/lib/components/viewer2d/grids/grid-horizontal-streak.js.map +0 -1
- package/lib/components/viewer2d/grids/grid-streak.js +0 -45
- package/lib/components/viewer2d/grids/grid-streak.js.map +0 -1
- package/lib/components/viewer2d/grids/grid-vertical-streak.js +0 -45
- package/lib/components/viewer2d/grids/grid-vertical-streak.js.map +0 -1
- package/lib/components/viewer2d/grids/grids.js +0 -45
- package/lib/components/viewer2d/grids/grids.js.map +0 -1
- package/lib/components/viewer2d/group.js +0 -63
- package/lib/components/viewer2d/group.js.map +0 -1
- package/lib/components/viewer2d/item.js +0 -522
- package/lib/components/viewer2d/item.js.map +0 -1
- package/lib/components/viewer2d/layer.js +0 -172
- package/lib/components/viewer2d/layer.js.map +0 -1
- package/lib/components/viewer2d/line.js +0 -899
- package/lib/components/viewer2d/line.js.map +0 -1
- package/lib/components/viewer2d/ruler.js +0 -108
- package/lib/components/viewer2d/ruler.js.map +0 -1
- package/lib/components/viewer2d/rulerDist.js +0 -154
- package/lib/components/viewer2d/rulerDist.js.map +0 -1
- package/lib/components/viewer2d/rulerX.js +0 -159
- package/lib/components/viewer2d/rulerX.js.map +0 -1
- package/lib/components/viewer2d/rulerY.js +0 -161
- package/lib/components/viewer2d/rulerY.js.map +0 -1
- package/lib/components/viewer2d/scene.js +0 -148
- package/lib/components/viewer2d/scene.js.map +0 -1
- package/lib/components/viewer2d/snap.js +0 -84
- package/lib/components/viewer2d/snap.js.map +0 -1
- package/lib/components/viewer2d/state.js +0 -88
- package/lib/components/viewer2d/state.js.map +0 -1
- package/lib/components/viewer2d/utils.js +0 -174
- package/lib/components/viewer2d/utils.js.map +0 -1
- package/lib/components/viewer2d/vertex.js +0 -76
- package/lib/components/viewer2d/vertex.js.map +0 -1
- package/lib/components/viewer2d/viewer2d.js +0 -1409
- package/lib/components/viewer2d/viewer2d.js.map +0 -1
- package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js +0 -2598
- package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js.map +0 -1
- package/lib/components/viewer3d/dcm.js +0 -408
- package/lib/components/viewer3d/dcm.js.map +0 -1
- package/lib/components/viewer3d/fbm.js +0 -421
- package/lib/components/viewer3d/fbm.js.map +0 -1
- package/lib/components/viewer3d/front3D.js +0 -76
- package/lib/components/viewer3d/front3D.js.map +0 -1
- package/lib/components/viewer3d/grid-creator.js +0 -35
- package/lib/components/viewer3d/grid-creator.js.map +0 -1
- package/lib/components/viewer3d/grids/grid-horizontal-streak.js +0 -45
- package/lib/components/viewer3d/grids/grid-horizontal-streak.js.map +0 -1
- package/lib/components/viewer3d/grids/grid-streak.js +0 -36
- package/lib/components/viewer3d/grids/grid-streak.js.map +0 -1
- package/lib/components/viewer3d/grids/grid-vertical-streak.js +0 -45
- package/lib/components/viewer3d/grids/grid-vertical-streak.js.map +0 -1
- package/lib/components/viewer3d/libs/first-person-controls.js +0 -75
- package/lib/components/viewer3d/libs/first-person-controls.js.map +0 -1
- package/lib/components/viewer3d/libs/helvetiker_regular.typeface.js +0 -1288
- package/lib/components/viewer3d/libs/helvetiker_regular.typeface.js.map +0 -1
- package/lib/components/viewer3d/libs/mtl-loader.js +0 -360
- package/lib/components/viewer3d/libs/mtl-loader.js.map +0 -1
- package/lib/components/viewer3d/libs/obj-loader.js +0 -465
- package/lib/components/viewer3d/libs/obj-loader.js.map +0 -1
- package/lib/components/viewer3d/libs/orbit-controls.js +0 -701
- package/lib/components/viewer3d/libs/orbit-controls.js.map +0 -1
- package/lib/components/viewer3d/libs/pointer-lock-controls.js +0 -48
- package/lib/components/viewer3d/libs/pointer-lock-controls.js.map +0 -1
- package/lib/components/viewer3d/lrm.js +0 -312
- package/lib/components/viewer3d/lrm.js.map +0 -1
- package/lib/components/viewer3d/model.js +0 -715
- package/lib/components/viewer3d/model.js.map +0 -1
- package/lib/components/viewer3d/pointer-lock-navigation.js +0 -123
- package/lib/components/viewer3d/pointer-lock-navigation.js.map +0 -1
- package/lib/components/viewer3d/ruler-utils/itemRect.js +0 -69
- package/lib/components/viewer3d/ruler-utils/itemRect.js.map +0 -1
- package/lib/components/viewer3d/ruler-utils/layer3D.js +0 -503
- package/lib/components/viewer3d/ruler-utils/layer3D.js.map +0 -1
- package/lib/components/viewer3d/ruler-utils/ruler3D.js +0 -235
- package/lib/components/viewer3d/ruler-utils/ruler3D.js.map +0 -1
- package/lib/components/viewer3d/ruler-utils/scene3D.js +0 -70
- package/lib/components/viewer3d/ruler-utils/scene3D.js.map +0 -1
- package/lib/components/viewer3d/ruler-utils/state3D.js +0 -26
- package/lib/components/viewer3d/ruler-utils/state3D.js.map +0 -1
- package/lib/components/viewer3d/scene-creator.js +0 -3641
- package/lib/components/viewer3d/scene-creator.js.map +0 -1
- package/lib/components/viewer3d/three-memory-cleaner.js +0 -61
- package/lib/components/viewer3d/three-memory-cleaner.js.map +0 -1
- package/lib/components/viewer3d/viewer3d-first-person.js +0 -321
- package/lib/components/viewer3d/viewer3d-first-person.js.map +0 -1
- package/lib/components/viewer3d/viewer3d.js +0 -2508
- package/lib/components/viewer3d/viewer3d.js.map +0 -1
- package/lib/components/wizardstep/button/styles.js +0 -67
- package/lib/components/wizardstep/button/styles.js.map +0 -1
- package/lib/components/wizardstep/export.js +0 -12
- package/lib/components/wizardstep/export.js.map +0 -1
- package/lib/components/wizardstep/index.js +0 -978
- package/lib/components/wizardstep/index.js.map +0 -1
- package/lib/components/wizardstep/styles.js +0 -68
- package/lib/components/wizardstep/styles.js.map +0 -1
- package/lib/components/wizardstep/wizardstep-content-button.js +0 -224
- package/lib/components/wizardstep/wizardstep-content-button.js.map +0 -1
- package/lib/components/wizardstep/wizardstep-toggle-button.js +0 -133
- package/lib/components/wizardstep/wizardstep-toggle-button.js.map +0 -1
- package/lib/constants.js +0 -646
- package/lib/constants.js.map +0 -1
- package/lib/hooks/useCheckCart.js +0 -60
- package/lib/hooks/useCheckCart.js.map +0 -1
- package/lib/hooks/useGetPricesBySku.js +0 -81
- package/lib/hooks/useGetPricesBySku.js.map +0 -1
- package/lib/hooks/useValidateToken.js +0 -207
- package/lib/hooks/useValidateToken.js.map +0 -1
- package/lib/index.js +0 -102
- package/lib/index.js.map +0 -1
- package/lib/models.js +0 -518
- package/lib/models.js.map +0 -1
- package/lib/plugins/SVGLoader.js +0 -1418
- package/lib/plugins/SVGLoader.js.map +0 -1
- package/lib/plugins/autosave.js +0 -40
- package/lib/plugins/autosave.js.map +0 -1
- package/lib/plugins/console-debugger.js +0 -45
- package/lib/plugins/console-debugger.js.map +0 -1
- package/lib/plugins/export.js +0 -34
- package/lib/plugins/export.js.map +0 -1
- package/lib/plugins/keyboard.js +0 -108
- package/lib/plugins/keyboard.js.map +0 -1
- package/lib/reducers/areas-reducer.js +0 -19
- package/lib/reducers/areas-reducer.js.map +0 -1
- package/lib/reducers/export.js +0 -98
- package/lib/reducers/export.js.map +0 -1
- package/lib/reducers/groups-reducer.js +0 -45
- package/lib/reducers/groups-reducer.js.map +0 -1
- package/lib/reducers/holes-reducer.js +0 -69
- package/lib/reducers/holes-reducer.js.map +0 -1
- package/lib/reducers/items-reducer.js +0 -147
- package/lib/reducers/items-reducer.js.map +0 -1
- package/lib/reducers/lines-reducer.js +0 -52
- package/lib/reducers/lines-reducer.js.map +0 -1
- package/lib/reducers/project-reducer.js +0 -136
- package/lib/reducers/project-reducer.js.map +0 -1
- package/lib/reducers/reducer.js +0 -27
- package/lib/reducers/reducer.js.map +0 -1
- package/lib/reducers/scene-reducer.js +0 -35
- package/lib/reducers/scene-reducer.js.map +0 -1
- package/lib/reducers/user-reducer.js +0 -48
- package/lib/reducers/user-reducer.js.map +0 -1
- package/lib/reducers/vertices-reducer.js +0 -26
- package/lib/reducers/vertices-reducer.js.map +0 -1
- package/lib/reducers/viewer2d-reducer.js +0 -83
- package/lib/reducers/viewer2d-reducer.js.map +0 -1
- package/lib/reducers/viewer3d-reducer.js +0 -64
- package/lib/reducers/viewer3d-reducer.js.map +0 -1
- package/lib/shared-style.js +0 -73
- package/lib/shared-style.js.map +0 -1
- package/lib/styles/export.js +0 -14
- package/lib/styles/export.js.map +0 -1
- package/lib/translator/en.js +0 -111
- package/lib/translator/en.js.map +0 -1
- package/lib/translator/it.js +0 -86
- package/lib/translator/it.js.map +0 -1
- package/lib/translator/ru.js +0 -86
- package/lib/translator/ru.js.map +0 -1
- package/lib/translator/translator.js +0 -91
- package/lib/translator/translator.js.map +0 -1
- package/lib/utils/browser.js +0 -41
- package/lib/utils/browser.js.map +0 -1
- package/lib/utils/email-validator.js +0 -11
- package/lib/utils/email-validator.js.map +0 -1
- package/lib/utils/export.js +0 -57
- package/lib/utils/export.js.map +0 -1
- package/lib/utils/geometry.js +0 -2329
- package/lib/utils/geometry.js.map +0 -1
- package/lib/utils/get-edges-of-subgraphs.js +0 -29
- package/lib/utils/get-edges-of-subgraphs.js.map +0 -1
- package/lib/utils/graph-cycles.js +0 -241
- package/lib/utils/graph-cycles.js.map +0 -1
- package/lib/utils/graph-inner-cycles.js +0 -55
- package/lib/utils/graph-inner-cycles.js.map +0 -1
- package/lib/utils/graph.js +0 -152
- package/lib/utils/graph.js.map +0 -1
- package/lib/utils/helper.js +0 -360
- package/lib/utils/helper.js.map +0 -1
- package/lib/utils/history.js +0 -37
- package/lib/utils/history.js.map +0 -1
- package/lib/utils/id-broker.js +0 -26
- package/lib/utils/id-broker.js.map +0 -1
- package/lib/utils/logger.js +0 -15
- package/lib/utils/logger.js.map +0 -1
- package/lib/utils/math.js +0 -58
- package/lib/utils/math.js.map +0 -1
- package/lib/utils/molding.js +0 -864
- package/lib/utils/molding.js.map +0 -1
- package/lib/utils/name-generator.js +0 -24
- package/lib/utils/name-generator.js.map +0 -1
- package/lib/utils/objects-utils.js +0 -61
- package/lib/utils/objects-utils.js.map +0 -1
- package/lib/utils/phone-validator.js +0 -11
- package/lib/utils/phone-validator.js.map +0 -1
- package/lib/utils/process-black-list.js +0 -25
- package/lib/utils/process-black-list.js.map +0 -1
- package/lib/utils/react-if.js +0 -25
- package/lib/utils/react-if.js.map +0 -1
- package/lib/utils/snap-scene.js +0 -106
- package/lib/utils/snap-scene.js.map +0 -1
- package/lib/utils/snap.js +0 -250
- package/lib/utils/snap.js.map +0 -1
- package/lib/utils/threeCSG.es6.js +0 -504
- package/lib/utils/threeCSG.es6.js.map +0 -1
- package/lib/version.js +0 -8
- package/lib/version.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_category","_product","_","e","__esModule","FinishingTouchToolbarButton","_ref","dataSource","action","chooseAction","subData","props","productCollapse","isOpen","trigger","categoryCollapse","collapseAction","mode","closeAction","applyMaterial","content","createElement","FinishingCategory","isExpand","content1","FinishingProduct","DoubleToolbarButtonWithPopup","order","isDouble","length","collapse1","collapse2","children1","_default","exports"],"sources":["../../../../../src/components/toolbar/popup/finishingtouch/index.jsx"],"sourcesContent":["import React from 'react';\r\nimport { FinishingCategory } from './category';\r\nimport { FinishingProduct } from './product';\r\n\r\nimport { ToolbarButtonWithPopup, DoubleToolbarButtonWithPopup } from '../';\r\n\r\nconst FinishingTouchToolbarButton = ({\r\n dataSource,\r\n action,\r\n chooseAction,\r\n subData,\r\n props,\r\n productCollapse,\r\n isOpen,\r\n trigger,\r\n categoryCollapse,\r\n collapseAction,\r\n mode,\r\n closeAction,\r\n applyMaterial\r\n}) => {\r\n let content = (\r\n <FinishingCategory\r\n action={action}\r\n dataSource={dataSource}\r\n isExpand={!categoryCollapse}\r\n props={props}\r\n />\r\n );\r\n let content1 = (\r\n <FinishingProduct\r\n chooseAction={chooseAction}\r\n props={props}\r\n dataSource={subData}\r\n isExpand={!productCollapse}\r\n mode={mode}\r\n ></FinishingProduct>\r\n );\r\n return (\r\n <DoubleToolbarButtonWithPopup\r\n closeAction={closeAction}\r\n isOpen={isOpen}\r\n mode={mode}\r\n order={4}\r\n isDouble={subData.length}\r\n collapse1={categoryCollapse}\r\n collapse2={productCollapse}\r\n collapseAction={collapseAction}\r\n trigger={trigger}\r\n children1={content1}\r\n applyMaterial={applyMaterial}\r\n >\r\n {content}\r\n </DoubleToolb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bJ,UAAU,EAAEG,OAAQ;IACpBa,QAAQ,EAAE,CAACX,eAAgB;IAC3BK,IAAI,EAAEA;EAAK,CACM,CACpB;EACD,oBACEpB,MAAA,YAAAwB,aAAA,CAACnB,CAAA,CAAAwB,4BAA4B;IAC3BR,WAAW,EAAEA,WAAY;IACzBL,MAAM,EAAEA,MAAO;IACfI,IAAI,EAAEA,IAAK;IACXU,KAAK,EAAE,CAAE;IACTC,QAAQ,EAAElB,OAAO,CAACmB,MAAO;IACzBC,SAAS,EAAEf,gBAAiB;IAC5BgB,SAAS,EAAEnB,eAAgB;IAC3BI,cAAc,EAAEA,cAAe;IAC/BF,OAAO,EAAEA,OAAQ;IACjBkB,SAAS,EAAER,QAAS;IACpBL,aAAa,EAAEA;EAAc,GAE5BC,OAC2B,CAAC;AAEnC,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,cAEa7B,2BAA2B","ignoreList":[]}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _antd = require("antd");
|
|
10
|
-
var S = _interopRequireWildcard(require("../product/styles"));
|
|
11
|
-
var MS = _interopRequireWildcard(require("../styles"));
|
|
12
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
18
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
19
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
22
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
23
|
-
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
24
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
25
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
27
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
28
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
29
|
-
var FormItem = _antd.Form.Item;
|
|
30
|
-
var Option = _antd.Select.Option;
|
|
31
|
-
var formItemLayout = {
|
|
32
|
-
labelCol: {
|
|
33
|
-
span: 9
|
|
34
|
-
},
|
|
35
|
-
wrapperCol: {
|
|
36
|
-
span: 12
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
var msButtonTitleStyle = {
|
|
40
|
-
top: '39%',
|
|
41
|
-
fontSize: '12'
|
|
42
|
-
};
|
|
43
|
-
var MaterialEdit = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
44
|
-
function MaterialEdit(props) {
|
|
45
|
-
var _this;
|
|
46
|
-
_classCallCheck(this, MaterialEdit);
|
|
47
|
-
_this = _callSuper(this, MaterialEdit, [props]);
|
|
48
|
-
_this.state = {
|
|
49
|
-
category: 'handle',
|
|
50
|
-
metalness: 0.1,
|
|
51
|
-
roughness: 0.1
|
|
52
|
-
};
|
|
53
|
-
return _this;
|
|
54
|
-
}
|
|
55
|
-
_inherits(MaterialEdit, _React$Component);
|
|
56
|
-
return _createClass(MaterialEdit, [{
|
|
57
|
-
key: "handleCategoryChange",
|
|
58
|
-
value: function handleCategoryChange(e) {
|
|
59
|
-
this.setState({
|
|
60
|
-
category: e.target.value
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}, {
|
|
64
|
-
key: "handleMetalnessChange",
|
|
65
|
-
value: function handleMetalnessChange(e) {
|
|
66
|
-
this.setState({
|
|
67
|
-
metalness: e.target.value
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}, {
|
|
71
|
-
key: "handleRoughnessChange",
|
|
72
|
-
value: function handleRoughnessChange(e) {
|
|
73
|
-
this.setState({
|
|
74
|
-
roughness: e.target.value
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
}, {
|
|
78
|
-
key: "handleClick",
|
|
79
|
-
value: function handleClick(e) {
|
|
80
|
-
var _this$state = this.state,
|
|
81
|
-
category = _this$state.category,
|
|
82
|
-
metalness = _this$state.metalness,
|
|
83
|
-
roughness = _this$state.roughness;
|
|
84
|
-
this.props.applyMaterial(category, metalness, roughness);
|
|
85
|
-
}
|
|
86
|
-
}, {
|
|
87
|
-
key: "render",
|
|
88
|
-
value: function render() {
|
|
89
|
-
var _this2 = this;
|
|
90
|
-
var _this$state2 = this.state,
|
|
91
|
-
category = _this$state2.category,
|
|
92
|
-
metalness = _this$state2.metalness,
|
|
93
|
-
roughness = _this$state2.roughness;
|
|
94
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
95
|
-
style: {
|
|
96
|
-
position: 'absolute',
|
|
97
|
-
backgroundColor: 'rgba(255, 255, 255, 100)',
|
|
98
|
-
border: '1px solid white'
|
|
99
|
-
}
|
|
100
|
-
}, /*#__PURE__*/_react["default"].createElement(S.Control, {
|
|
101
|
-
style: {
|
|
102
|
-
display: 'flex',
|
|
103
|
-
flexDirection: 'column',
|
|
104
|
-
justifyContent: 'flex-end'
|
|
105
|
-
}
|
|
106
|
-
}, /*#__PURE__*/_react["default"].createElement(S.MEditLine, null, /*#__PURE__*/_react["default"].createElement("span", null, 'Category: '), /*#__PURE__*/_react["default"].createElement("select", {
|
|
107
|
-
value: category,
|
|
108
|
-
style: {
|
|
109
|
-
width: '65%',
|
|
110
|
-
marginRight: '3%'
|
|
111
|
-
},
|
|
112
|
-
onChange: function onChange(e) {
|
|
113
|
-
return _this2.handleCategoryChange(e);
|
|
114
|
-
}
|
|
115
|
-
}, /*#__PURE__*/_react["default"].createElement("option", {
|
|
116
|
-
value: 'handle'
|
|
117
|
-
}, " Handle "), /*#__PURE__*/_react["default"].createElement("option", {
|
|
118
|
-
value: 'floor_style'
|
|
119
|
-
}, " Floor Style "), /*#__PURE__*/_react["default"].createElement("option", {
|
|
120
|
-
value: 'backsplash'
|
|
121
|
-
}, " Backsplash "), /*#__PURE__*/_react["default"].createElement("option", {
|
|
122
|
-
value: 'counter_top'
|
|
123
|
-
}, " Countertop "), /*#__PURE__*/_react["default"].createElement("option", {
|
|
124
|
-
value: 'appliance'
|
|
125
|
-
}, " Appliance "))), /*#__PURE__*/_react["default"].createElement(S.MEditLine, null, /*#__PURE__*/_react["default"].createElement("span", null, 'Metalness: '), /*#__PURE__*/_react["default"].createElement("input", {
|
|
126
|
-
type: "text",
|
|
127
|
-
value: metalness,
|
|
128
|
-
onChange: function onChange(e) {
|
|
129
|
-
return _this2.handleMetalnessChange(e);
|
|
130
|
-
},
|
|
131
|
-
style: {
|
|
132
|
-
width: '65%',
|
|
133
|
-
marginRight: '3%'
|
|
134
|
-
}
|
|
135
|
-
})), /*#__PURE__*/_react["default"].createElement(S.MEditLine, null, /*#__PURE__*/_react["default"].createElement("span", null, 'Roughness: '), /*#__PURE__*/_react["default"].createElement("input", {
|
|
136
|
-
type: "text",
|
|
137
|
-
value: roughness,
|
|
138
|
-
onChange: function onChange(e) {
|
|
139
|
-
return _this2.handleRoughnessChange(e);
|
|
140
|
-
},
|
|
141
|
-
style: {
|
|
142
|
-
width: '65%',
|
|
143
|
-
marginRight: '3%'
|
|
144
|
-
}
|
|
145
|
-
})), /*#__PURE__*/_react["default"].createElement(S.ControlIconMEdit, {
|
|
146
|
-
style: {
|
|
147
|
-
height: '25px',
|
|
148
|
-
display: 'flex',
|
|
149
|
-
justifyContent: 'space-around'
|
|
150
|
-
},
|
|
151
|
-
onClick: function onClick(e) {
|
|
152
|
-
return _this2.handleClick(e);
|
|
153
|
-
}
|
|
154
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
155
|
-
width: '72px',
|
|
156
|
-
src: '/assets/img/svg/toolbar/use_button.svg'
|
|
157
|
-
}), /*#__PURE__*/_react["default"].createElement(MS.ButtonTitle, {
|
|
158
|
-
style: _objectSpread({}, msButtonTitleStyle)
|
|
159
|
-
}, 'APPLY'))));
|
|
160
|
-
}
|
|
161
|
-
}]);
|
|
162
|
-
}(_react["default"].Component);
|
|
163
|
-
//# sourceMappingURL=material-edit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"material-edit.js","names":["_react","_interopRequireDefault","require","_antd","S","_interopRequireWildcard","MS","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ownKeys","keys","getOwnPropertySymbols","filter","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","_toPropertyKey","value","configurable","writable","_classCallCheck","a","TypeError","_defineProperties","key","_createClass","prototype","_toPrimitive","Symbol","toPrimitive","String","Number","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","constructor","_assertThisInitialized","ReferenceError","Boolean","valueOf","setPrototypeOf","getPrototypeOf","bind","_inherits","create","_setPrototypeOf","FormItem","Form","Item","Option","Select","formItemLayout","labelCol","span","wrapperCol","msButtonTitleStyle","top","fontSize","MaterialEdit","exports","_React$Component","props","_this","state","category","metalness","roughness","handleCategoryChange","setState","target","handleMetalnessChange","handleRoughnessChange","handleClick","_this$state","applyMaterial","render","_this2","_this$state2","createElement","style","position","backgroundColor","border","Control","display","flexDirection","justifyContent","MEditLine","width","marginRight","onChange","type","ControlIconMEdit","height","onClick","src","ButtonTitle","React","Component"],"sources":["../../../../../src/components/toolbar/popup/finishingtouch/material-edit.jsx"],"sourcesContent":["import React from 'react';\r\nimport { Input, Form, Row, Col, Select } from 'antd';\r\nimport * as S from '../product/styles';\r\nimport * as MS from '../styles';\r\n\r\nconst FormItem = Form.Item;\r\nconst { Option } = Select;\r\nconst formItemLayout = {\r\n labelCol: { span: 9 },\r\n wrapperCol: { span: 12 }\r\n};\r\n\r\nconst msButtonTitleStyle = {\r\n top: '39%',\r\n fontSize: '12'\r\n};\r\n\r\nexport default class MaterialEdit extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n category: 'handle',\r\n metalness: 0.1,\r\n roughness: 0.1\r\n };\r\n }\r\n\r\n handleCategoryChange(e) {\r\n this.setState({ category: e.target.value });\r\n }\r\n handleMetalnessChange(e) {\r\n this.setState({ metalness: e.target.value });\r\n }\r\n handleRoughnessChange(e) {\r\n this.setState({ roughness: e.target.value });\r\n }\r\n handleClick(e) {\r\n const { category, metalness, roughness } = this.state;\r\n this.props.applyMaterial(category, metalness, roughness);\r\n }\r\n render() {\r\n const { category, metalness, roughness } = this.state;\r\n\r\n return (\r\n <div\r\n style={{\r\n position: 'absolute',\r\n backgroundColor: 'rgba(255, 255, 255, 100)',\r\n border: '1px solid white'\r\n }}\r\n >\r\n <S.Control\r\n style={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n justifyContent: 'flex-end'\r\n }}\r\n >\r\n <S.MEditLine>\r\n <span>{'Category: '}</span>\r\n <select\r\n value={category}\r\n style={{ width: '65%', marginRight: '3%' }}\r\n onChange={e => this.handleCategoryChange(e)}\r\n >\r\n <option value={'handle'}> Handle </option>\r\n <option value={'floor_style'}> Floor Style </option>\r\n <option value={'backsplash'}> Backsplash </option>\r\n <option value={'counter_top'}> Countertop </option>\r\n <option value={'appliance'}> Appliance </option>\r\n </select>\r\n </S.MEditLine>\r\n <S.MEditLine>\r\n <span>{'Metalness: '}</span>\r\n <input\r\n type=\"text\"\r\n value={metalness}\r\n onChange={e => this.handleMetalnessChange(e)}\r\n style={{ width: '65%', marginRight: '3%' }}\r\n />\r\n </S.MEditLine>\r\n <S.MEditLine>\r\n <span>{'Roughness: '}</span>\r\n <input\r\n type=\"text\"\r\n value={roughness}\r\n onChange={e => this.handleRoughnessChange(e)}\r\n style={{ width: '65%', marginRight: '3%' }}\r\n />\r\n </S.MEditLine>\r\n\r\n <S.ControlIconMEdit\r\n style={{\r\n height: '25px',\r\n display: 'flex',\r\n justifyContent: 'space-around'\r\n }}\r\n onClick={e => this.handleClick(e)}\r\n >\r\n <img\r\n width={'72px'}\r\n src={'/assets/img/svg/toolbar/use_button.svg'}\r\n />\r\n <MS.ButtonTitle style={{ ...msButtonTitleStyle }}>\r\n {'APPLY'}\r\n </MS.ButtonTitle>\r\n </S.ControlIconMEdit>\r\n </S.Control>\r\n </div>\r\n );\r\n }\r\n}\r\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,G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A,YAAA0G,aAAA;QACEa,IAAI,EAAC,MAAM;QACX7E,KAAK,EAAEoD,SAAU;QACjBwB,QAAQ,EAAE,SAAVA,QAAQA,CAAE/G,CAAC;UAAA,OAAIiG,MAAI,CAACL,qBAAqB,CAAC5F,CAAC,CAAC;QAAA,CAAC;QAC7CoG,KAAK,EAAE;UAAES,KAAK,EAAE,KAAK;UAAEC,WAAW,EAAE;QAAK;MAAE,CAC5C,CACU,CAAC,eAEdrH,MAAA,YAAA0G,aAAA,CAACtG,CAAC,CAACoH,gBAAgB;QACjBb,KAAK,EAAE;UACLc,MAAM,EAAE,MAAM;UACdT,OAAO,EAAE,MAAM;UACfE,cAAc,EAAE;QAClB,CAAE;QACFQ,OAAO,EAAE,SAATA,OAAOA,CAAEnH,CAAC;UAAA,OAAIiG,MAAI,CAACJ,WAAW,CAAC7F,CAAC,CAAC;QAAA;MAAC,gBAElCP,MAAA,YAAA0G,aAAA;QACEU,KAAK,EAAE,MAAO;QACdO,GAAG,EAAE;MAAyC,CAC/C,CAAC,eACF3H,MAAA,YAAA0G,aAAA,CAACpG,EAAE,CAACsH,WAAW;QAACjB,KAAK,EAAAzE,aAAA,KAAOiD,kBAAkB;MAAG,GAC9C,OACa,CACE,CACX,CACR,CAAC;IAEV;EAAC;AAAA,EA7FuC0C,iBAAK,CAACC,SAAS","ignoreList":[]}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.FinishingProduct = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var S = _interopRequireWildcard(require("../../styles"));
|
|
10
|
-
var _appliance = _interopRequireDefault(require("../../product/appliance"));
|
|
11
|
-
var _constants = require("../../../../../constants");
|
|
12
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
var FinishingProduct = exports.FinishingProduct = function FinishingProduct(_ref) {
|
|
15
|
-
var props = _ref.props,
|
|
16
|
-
mode = _ref.mode,
|
|
17
|
-
chooseAction = _ref.chooseAction,
|
|
18
|
-
dataSource = _ref.dataSource,
|
|
19
|
-
isExpand = _ref.isExpand,
|
|
20
|
-
applyMaterial = _ref.applyMaterial;
|
|
21
|
-
var products = [];
|
|
22
|
-
if (dataSource.length > 0) {
|
|
23
|
-
var _loop = function _loop(i) {
|
|
24
|
-
products.push(/*#__PURE__*/_react["default"].createElement(S.ItemWrapper, {
|
|
25
|
-
key: i.toString(),
|
|
26
|
-
style: {
|
|
27
|
-
justifyContent: 'center'
|
|
28
|
-
}
|
|
29
|
-
}, /*#__PURE__*/_react["default"].createElement(_appliance["default"], {
|
|
30
|
-
name: 'finishing',
|
|
31
|
-
onClick: function onClick() {
|
|
32
|
-
chooseAction(dataSource[i]);
|
|
33
|
-
props.projectActions.unselectAll();
|
|
34
|
-
if (dataSource[i].category === 'lighting' || dataSource[i].category === 'furnishing') {
|
|
35
|
-
props.itemsActions.updatePopupOpen(2);
|
|
36
|
-
if (dataSource[i].category === 'lighting' && [_constants.MODE_IDLE_3D, _constants.MODE_DRAWING_ITEM_3D, _constants.MODE_DRAGGING_ITEM_3D, _constants.MODE_ROTATING_ITEM_3D].includes(mode))
|
|
37
|
-
// props.itemsActions.selectToolDrawingItem(dataSource[i].name);
|
|
38
|
-
props.itemsActions.selectToolDrawingItem3D(dataSource[i].name);else {
|
|
39
|
-
[_constants.MODE_IDLE_3D, _constants.MODE_DRAWING_ITEM_3D, _constants.MODE_DRAGGING_ITEM_3D, _constants.MODE_ROTATING_ITEM_3D].includes(mode) ? props.itemsActions.selectToolDrawingItem3D(dataSource[i].name) : props.itemsActions.selectToolDrawingItem(dataSource[i].name);
|
|
40
|
-
}
|
|
41
|
-
props.projectActions.pushLastSelectedCatalogElementToHistory(props.catalog.elements[dataSource[i].name]);
|
|
42
|
-
if (document.getElementsByClassName('popup-content').length > 0) document.getElementsByClassName('popup-content')[0].style.display = 'none';
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
selected: dataSource[i].selected ? dataSource[i].selected : null,
|
|
46
|
-
url: dataSource[i].category != undefined && dataSource[i].category !== 'modelling' && dataSource[i].category !== 'floor_style' && dataSource[i].category !== 'lighting' && dataSource[i].category !== 'counter_top' && dataSource[i].category !== 'backsplash' && dataSource[i].category !== 'furnishing' ? dataSource[i].color : dataSource[i].thumbnail,
|
|
47
|
-
title: dataSource[i].name,
|
|
48
|
-
category: dataSource[i].category !== 'floor_style' || dataSource[i].category !== 'backsplash' || dataSource[i].category !== 'counter_top' ? '' : dataSource[i].category
|
|
49
|
-
})));
|
|
50
|
-
};
|
|
51
|
-
for (var i = 0; i < dataSource.length; i++) {
|
|
52
|
-
_loop(i);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
var miHeight = 0;
|
|
56
|
-
var nonHeight = 495 - miHeight + 'px';
|
|
57
|
-
var height = window.innerHeight * 0.6 - miHeight + 'px';
|
|
58
|
-
return /*#__PURE__*/_react["default"].createElement(S.ProductsContentWrapper, {
|
|
59
|
-
style: {
|
|
60
|
-
width: 220,
|
|
61
|
-
height: isExpand ? height : nonHeight
|
|
62
|
-
}
|
|
63
|
-
}, products);
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","S","_interopRequireWildcard","_appliance","_constants","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FinishingProduct","exports","_ref","props","mode","chooseAction","dataSource","isExpand","applyMaterial","products","length","_loop","push","createElement","ItemWrapper","key","toString","style","justifyContent","name","onClick","projectActions","unselectAll","category","itemsActions","updatePopupOpen","MODE_IDLE_3D","MODE_DRAWING_ITEM_3D","MODE_DRAGGING_ITEM_3D","MODE_ROTATING_ITEM_3D","includes","selectToolDrawingItem3D","selectToolDrawingItem","pushLastSelectedCatalogElementToHistory","catalog","elements","document","getElementsByClassName","display","selected","url","undefined","color","thumbnail","title","miHeight","nonHeight","height","window","innerHeight","ProductsContentWrapper","width"],"sources":["../../../../../../src/components/toolbar/popup/finishingtouch/product/index.jsx"],"sourcesContent":["import React from 'react';\r\n\r\nimport * as S from '../../styles';\r\n\r\nimport Appliance from '../../product/appliance';\r\nimport {\r\n API_SERVER,\r\n MODE_IDLE,\r\n MODE_3D_VIEW,\r\n MODE_3D_FIRST_PERSON,\r\n MODE_VIEWING_CATALOG,\r\n MODE_CONFIGURING_PROJECT,\r\n MODE_IDLE_3D,\r\n MODE_ROTATING_ITEM_3D,\r\n MODE_DRAGGING_ITEM_3D,\r\n MODE_2D_PAN,\r\n MODE_DRAWING_ITEM,\r\n MODE_DRAWING_ITEM_3D\r\n} from '../../../../../constants';\r\n\r\nexport const FinishingProduct = ({\r\n props,\r\n mode,\r\n chooseAction,\r\n dataSource,\r\n isExpand,\r\n applyMaterial\r\n}) => {\r\n let products = [];\r\n\r\n if (dataSource.length > 0) {\r\n for (let i = 0; i < dataSource.length; i++) {\r\n products.push(\r\n <S.ItemWrapper key={i.toString()} style={{ justifyContent: 'center' }}>\r\n <Appliance\r\n name={'finishing'}\r\n onClick={() => {\r\n chooseAction(dataSource[i]);\r\n props.projectActions.unselectAll();\r\n if (\r\n dataSource[i].category === 'lighting' ||\r\n dataSource[i].category === 'furnishing'\r\n ) {\r\n props.itemsActions.updatePopupOpen(2);\r\n if (\r\n dataSource[i].category === 'lighting' &&\r\n [\r\n MODE_IDLE_3D,\r\n MODE_DRAWING_ITEM_3D,\r\n MODE_DRAGGING_ITEM_3D,\r\n MODE_ROTATING_ITEM_3D\r\n ].includes(mode)\r\n )\r\n // props.itemsActions.selectToolDrawingItem(dataSource[i].name);\r\n props.itemsActions.selectToolDrawingItem3D(\r\n dataSource[i].name\r\n );\r\n else {\r\n [\r\n MODE_IDLE_3D,\r\n MODE_DRAWING_ITEM_3D,\r\n MODE_DRAGGING_ITEM_3D,\r\n MODE_ROTATING_ITEM_3D\r\n ].includes(mode)\r\n ? props.itemsActions.selectToolDrawingItem3D(\r\n dataSource[i].name\r\n )\r\n : props.itemsActions.selectToolDrawingItem(\r\n dataSource[i].name\r\n );\r\n }\r\n props.projectActions.pushLastSelectedCatalogElementToHistory(\r\n props.catalog.elements[dataSource[i].name]\r\n );\r\n if (document.getElementsByClassName('popup-content').length > 0)\r\n document.getElementsByClassName(\r\n 'popup-content'\r\n )[0].style.display = 'none';\r\n }\r\n }}\r\n selected={dataSource[i].selected ? dataSource[i].selected : null}\r\n url={\r\n dataSource[i].category != undefined &&\r\n dataSource[i].category !== 'modelling' &&\r\n dataSource[i].category !== 'floor_style' &&\r\n dataSource[i].category !== 'lighting' &&\r\n dataSource[i].category !== 'counter_top' &&\r\n dataSource[i].category !== 'backsplash' &&\r\n dataSource[i].category !== 'furnishing'\r\n ? dataSource[i].color\r\n : dataSource[i].thumbnail\r\n }\r\n title={dataSource[i].name}\r\n category={\r\n dataSource[i].category !== 'floor_style' ||\r\n dataSource[i].category !== 'backsplash' ||\r\n dataSource[i].category !== 'counter_top'\r\n ? ''\r\n : dataSource[i].category\r\n }\r\n />\r\n </S.ItemWrapper>\r\n );\r\n }\r\n }\r\n let miHeight = 0;\r\n let nonHeight = 495 - miHeight + 'px';\r\n let height = window.innerHeight * 0.6 - miHeight + 'px';\r\n return (\r\n <S.ProductsContentWrapper\r\n style={{ width: 220, height: isExpand ? height : nonHeight }}\r\n >\r\n {products}\r\n </S.ProductsContentWrapper>\r\n );\r\n};\r\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,CAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAakC,SAAAE,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,wBAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,mBAAAT,CAAA,iBAAAA,CAAA,gBAAAU,OAAA,CAAAV,CAAA,0BAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,c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CAAC0E,sBAAsB;IACvBjC,KAAK,EAAE;MAAEkC,KAAK,EAAE,GAAG;MAAEJ,MAAM,EAAExC,QAAQ,GAAGwC,MAAM,GAAGD;IAAU;EAAE,GAE5DrC,QACuB,CAAC;AAE/B,CAAC","ignoreList":[]}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var S = _interopRequireWildcard(require("./styles"));
|
|
10
|
-
var PS = _interopRequireWildcard(require("../../styles"));
|
|
11
|
-
var _fa = require("react-icons/fa");
|
|
12
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20
|
-
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
21
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
22
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
23
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
24
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
25
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
26
|
-
var ConfirmPopup = /*#__PURE__*/function (_React$Component) {
|
|
27
|
-
function ConfirmPopup(props) {
|
|
28
|
-
_classCallCheck(this, ConfirmPopup);
|
|
29
|
-
return _callSuper(this, ConfirmPopup, [props]);
|
|
30
|
-
}
|
|
31
|
-
_inherits(ConfirmPopup, _React$Component);
|
|
32
|
-
return _createClass(ConfirmPopup, [{
|
|
33
|
-
key: "_submit",
|
|
34
|
-
value: function _submit() {
|
|
35
|
-
this.props.loadProject();
|
|
36
|
-
this.closePanel();
|
|
37
|
-
}
|
|
38
|
-
}, {
|
|
39
|
-
key: "closePanel",
|
|
40
|
-
value: function closePanel() {
|
|
41
|
-
this.props.handleConfirmLoad(false);
|
|
42
|
-
}
|
|
43
|
-
}, {
|
|
44
|
-
key: "render",
|
|
45
|
-
value: function render() {
|
|
46
|
-
var _this = this;
|
|
47
|
-
var visible = this.props.visible;
|
|
48
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
-
style: {
|
|
50
|
-
width: '100%',
|
|
51
|
-
height: '100%',
|
|
52
|
-
display: visible ? 'block' : 'none',
|
|
53
|
-
userSelect: 'none'
|
|
54
|
-
}
|
|
55
|
-
}, /*#__PURE__*/_react["default"].createElement(S.Div, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
-
style: {
|
|
57
|
-
backgroundColor: '#1183B7',
|
|
58
|
-
height: '30px',
|
|
59
|
-
paddingRight: '6px'
|
|
60
|
-
}
|
|
61
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
-
style: {
|
|
63
|
-
"float": 'right',
|
|
64
|
-
marginTop: '4px'
|
|
65
|
-
},
|
|
66
|
-
onClick: function onClick() {
|
|
67
|
-
return _this.closePanel();
|
|
68
|
-
}
|
|
69
|
-
}, /*#__PURE__*/_react["default"].createElement(PS.IconButton, null, /*#__PURE__*/_react["default"].createElement(_fa.FaTimes, null)))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
-
style: {
|
|
71
|
-
fontSize: 14,
|
|
72
|
-
marginTop: 20,
|
|
73
|
-
marginLeft: 40
|
|
74
|
-
}
|
|
75
|
-
}, "All items will be removed from the canvas.", /*#__PURE__*/_react["default"].createElement("br", null), "Are you sure?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
76
|
-
style: {
|
|
77
|
-
fontSize: 12,
|
|
78
|
-
display: 'flex',
|
|
79
|
-
flexDirection: 'column',
|
|
80
|
-
position: 'relative'
|
|
81
|
-
}
|
|
82
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
83
|
-
style: {
|
|
84
|
-
display: 'flex',
|
|
85
|
-
position: 'relative'
|
|
86
|
-
}
|
|
87
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
88
|
-
style: {
|
|
89
|
-
width: '70px',
|
|
90
|
-
marginLeft: '90px',
|
|
91
|
-
marginTop: '15px',
|
|
92
|
-
cursor: 'pointer'
|
|
93
|
-
},
|
|
94
|
-
onClick: function onClick() {
|
|
95
|
-
_this._submit() || _this.props.closeAction();
|
|
96
|
-
}
|
|
97
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
98
|
-
width: '80px',
|
|
99
|
-
style: {
|
|
100
|
-
"float": 'right'
|
|
101
|
-
},
|
|
102
|
-
src: '/assets/img/svg/toolbar/use_button.svg'
|
|
103
|
-
}), /*#__PURE__*/_react["default"].createElement(S.ButtonTitle1, null, 'Yes')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
104
|
-
style: {
|
|
105
|
-
width: '70px',
|
|
106
|
-
marginLeft: '40px',
|
|
107
|
-
marginTop: '15px',
|
|
108
|
-
cursor: 'pointer'
|
|
109
|
-
},
|
|
110
|
-
onClick: function onClick() {
|
|
111
|
-
return _this.closePanel();
|
|
112
|
-
}
|
|
113
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
114
|
-
width: '80px',
|
|
115
|
-
style: {
|
|
116
|
-
"float": 'right'
|
|
117
|
-
},
|
|
118
|
-
src: '/assets/img/svg/toolbar/cancel_button.svg'
|
|
119
|
-
}), /*#__PURE__*/_react["default"].createElement(S.ButtonTitle2, null, 'No')))));
|
|
120
|
-
}
|
|
121
|
-
}]);
|
|
122
|
-
}(_react["default"].Component);
|
|
123
|
-
var _default = exports["default"] = ConfirmPopup;
|
|
124
|
-
//# sourceMappingURL=confirm-popup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-popup.js","names":["_react","_interopRequireDefault","require","S","_interopRequireWildcard","PS","_fa","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_classCallCheck","a","TypeError","_defineProperties","length","enumerable","configurable","writable","_toPropertyKey","key","_createClass","prototype","_toPrimitive","Symbol","toPrimitive","String","Number","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","constructor","apply","_assertThisInitialized","ReferenceError","Boolean","valueOf","setPrototypeOf","getPrototypeOf","bind","_inherits","create","value","_setPrototypeOf","ConfirmPopup","_React$Component","props","_submit","loadProject","closePanel","handleConfirmLoad","render","_this","visible","createElement","style","width","height","display","userSelect","Div","backgroundColor","paddingRight","marginTop","onClick","IconButton","FaTimes","fontSize","marginLeft","flexDirection","position","cursor","closeAction","src","ButtonTitle1","ButtonTitle2","React","Component","_default","exports"],"sources":["../../../../../../src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx"],"sourcesContent":["import React from 'react';\r\nimport * as S from './styles';\r\nimport * as PS from '../../styles';\r\nimport { FaTimes } from 'react-icons/fa';\r\n\r\nclass ConfirmPopup extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n _submit() {\r\n this.props.loadProject();\r\n this.closePanel();\r\n }\r\n closePanel() {\r\n this.props.handleConfirmLoad(false);\r\n }\r\n render() {\r\n let { visible } = this.props;\r\n return (\r\n <div\r\n style={{\r\n width: '100%',\r\n height: '100%',\r\n display: visible ? 'block' : 'none',\r\n userSelect: 'none'\r\n }}\r\n >\r\n <S.Div>\r\n <div\r\n style={{\r\n backgroundColor: '#1183B7',\r\n height: '30px',\r\n paddingRight: '6px'\r\n }}\r\n >\r\n <div\r\n style={{ float: 'right', marginTop: '4px' }}\r\n onClick={() => this.closePanel()}\r\n >\r\n <PS.IconButton>\r\n <FaTimes />\r\n </PS.IconButton>\r\n </div>\r\n </div>\r\n <div style={{ fontSize: 14, marginTop: 20, marginLeft: 40 }}>\r\n All items will be removed from the canvas.\r\n <br />\r\n Are you sure?\r\n </div>\r\n <div\r\n style={{\r\n fontSize: 12,\r\n display: 'flex',\r\n flexDirection: 'column',\r\n position: 'relative'\r\n }}\r\n ></div>\r\n <div style={{ display: 'flex', position: 'relative' }}>\r\n <div\r\n style={{\r\n width: '70px',\r\n marginLeft: '90px',\r\n marginTop: '15px',\r\n cursor: 'pointer'\r\n }}\r\n onClick={() => {\r\n this._submit() || this.props.closeAction();\r\n }}\r\n >\r\n <img\r\n width={'80px'}\r\n style={{ float: 'right' }}\r\n src={'/assets/img/svg/toolbar/use_button.svg'}\r\n />\r\n <S.ButtonTitle1>{'Yes'}</S.ButtonTitle1>\r\n </div>\r\n <div\r\n style={{\r\n width: '70px',\r\n marginLeft: '40px',\r\n marginTop: '15px',\r\n cursor: 'pointer'\r\n }}\r\n onClick={() => this.closePanel()}\r\n >\r\n <img\r\n width={'80px'}\r\n style={{ float: 'right' }}\r\n src={'/assets/img/svg/toolbar/cancel_button.svg'}\r\n />\r\n <S.ButtonTitle2>{'No'}</S.ButtonTitle2>\r\n </div>\r\n </div>\r\n </S.Div>\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nexport default ConfirmPopup;\r\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA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