kitchen-simulator 5.0.0-test.37 → 5.0.0-test.38

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.
Files changed (98) hide show
  1. package/package.json +1 -1
  2. package/src/KitchenConfiguratorApp.jsx +1 -1
  3. package/src/_KitchenConfigurator.jsx +1 -1
  4. package/src/catalog/properties/property-checkbox.jsx +1 -1
  5. package/src/catalog/properties/property-color.jsx +1 -1
  6. package/src/catalog/properties/property-enum.jsx +1 -1
  7. package/src/catalog/properties/property-hidden.jsx +1 -1
  8. package/src/catalog/properties/property-lenght-measure.jsx +1 -1
  9. package/src/catalog/properties/property-length-measure.jsx +1 -1
  10. package/src/catalog/properties/property-length-measure_hole.jsx +1 -1
  11. package/src/catalog/properties/property-number.jsx +1 -1
  12. package/src/catalog/properties/property-read-only.jsx +1 -1
  13. package/src/catalog/properties/property-string.jsx +1 -1
  14. package/src/catalog/properties/property-toggle.jsx +1 -1
  15. package/src/components/button/MainButton.jsx +5 -5
  16. package/src/components/button/ToggleMeasureButton.jsx +1 -1
  17. package/src/components/catalog-view/catalog-breadcrumb.jsx +1 -1
  18. package/src/components/catalog-view/catalog-item.jsx +1 -1
  19. package/src/components/catalog-view/catalog-list.jsx +1 -1
  20. package/src/components/catalog-view/catalog-page-item.jsx +1 -1
  21. package/src/components/catalog-view/catalog-turn-back-page-item.jsx +1 -1
  22. package/src/components/configurator/custom-configurator.jsx +1 -1
  23. package/src/components/configurator/project-configurator.jsx +1 -1
  24. package/src/components/content.jsx +1 -1
  25. package/src/components/firstsetting/firstsetting-content-button.jsx +1 -1
  26. package/src/components/firstsetting/firstsetting-toggle-button.jsx +1 -1
  27. package/src/components/firstsetting/firstsetting.jsx +1 -1
  28. package/src/components/footerbar/button/ControlButton.jsx +1 -1
  29. package/src/components/footerbar/button/DirectionButton.jsx +1 -1
  30. package/src/components/footerbar/button/DirectionPanSpinButton.jsx +1 -1
  31. package/src/components/footerbar/button/ToggleButton.jsx +1 -1
  32. package/src/components/footerbar/button/ToggleConvertButton.jsx +1 -1
  33. package/src/components/footerbar/button/ToggleMeasureButton.jsx +1 -1
  34. package/src/components/footerbar/footer-content-button.jsx +1 -1
  35. package/src/components/footerbar/footer-toggle-button.jsx +1 -1
  36. package/src/components/footerbar/footerbar.jsx +1 -1
  37. package/src/components/header/button/MenuButton.jsx +1 -1
  38. package/src/components/header/header.jsx +1 -1
  39. package/src/components/myprojects/index.jsx +1 -1
  40. package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +1 -1
  41. package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +1 -1
  42. package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +1 -1
  43. package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +1 -1
  44. package/src/components/sidebar/panel-element-editor/element-editor.jsx +1 -1
  45. package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +1 -1
  46. package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +1 -1
  47. package/src/components/sidebar/panel-group-editor.jsx +1 -1
  48. package/src/components/sidebar/panel-groups.jsx +1 -1
  49. package/src/components/sidebar/panel-guides.jsx +1 -1
  50. package/src/components/sidebar/panel-layer-elements.jsx +1 -1
  51. package/src/components/sidebar/panel-layers.jsx +1 -1
  52. package/src/components/sidebar/panel.jsx +1 -1
  53. package/src/components/sidebar/sidebar.jsx +1 -1
  54. package/src/components/sidebar/toolbar-panel.jsx +1 -1
  55. package/src/components/sign/main/index.jsx +1 -1
  56. package/src/components/style/button.jsx +1 -1
  57. package/src/components/style/content-container.jsx +1 -1
  58. package/src/components/style/content-title.jsx +1 -1
  59. package/src/components/style/form-number-input.jsx +1 -1
  60. package/src/components/style/form-number-input_2.jsx +1 -1
  61. package/src/components/toolbar/button/ControlButton.jsx +1 -1
  62. package/src/components/toolbar/button/DirectionButton.jsx +1 -1
  63. package/src/components/toolbar/button/RightButton.jsx +1 -1
  64. package/src/components/toolbar/button/ToggleButton.jsx +1 -1
  65. package/src/components/toolbar/button/index.jsx +1 -1
  66. package/src/components/toolbar/main/Alert.js +1 -1
  67. package/src/components/toolbar/main/index.jsx +1 -1
  68. package/src/components/toolbar/main/myComponents.jsx +1 -1
  69. package/src/components/toolbar/plugin-item.jsx +1 -1
  70. package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +1 -1
  71. package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +1 -1
  72. package/src/components/toolbar/toolbar-button.jsx +1 -1
  73. package/src/components/toolbar/toolbar-load-button.jsx +1 -1
  74. package/src/components/toolbar/toolbar-save-button.jsx +1 -1
  75. package/src/components/viewer2d/area.jsx +1 -1
  76. package/src/components/viewer2d/grids/grid-horizontal-streak.jsx +1 -1
  77. package/src/components/viewer2d/grids/grid-streak.jsx +1 -1
  78. package/src/components/viewer2d/grids/grid-vertical-streak.jsx +1 -1
  79. package/src/components/viewer2d/grids/grids.jsx +1 -1
  80. package/src/components/viewer2d/group.jsx +1 -1
  81. package/src/components/viewer2d/item.jsx +1 -1
  82. package/src/components/viewer2d/layer.jsx +1 -1
  83. package/src/components/viewer2d/line.jsx +1 -1
  84. package/src/components/viewer2d/ruler.jsx +1 -1
  85. package/src/components/viewer2d/rulerDist.jsx +1 -1
  86. package/src/components/viewer2d/rulerX.jsx +1 -1
  87. package/src/components/viewer2d/rulerY.jsx +1 -1
  88. package/src/components/viewer2d/scene.jsx +1 -1
  89. package/src/components/viewer2d/snap.jsx +1 -1
  90. package/src/components/viewer2d/state.jsx +1 -1
  91. package/src/components/viewer2d/vertex.jsx +1 -1
  92. package/src/components/viewer2d/viewer2d.jsx +1 -1
  93. package/src/components/viewer3d/viewer3d-first-person.js +1 -1
  94. package/src/components/viewer3d/viewer3d.jsx +1 -1
  95. package/src/components/wizardstep/wizardstep-content-button.jsx +1 -1
  96. package/src/components/wizardstep/wizardstep-toggle-button.jsx +1 -1
  97. package/src/ui/toolbar-screenshot-button.jsx +1 -1
  98. package/src/utils/react-if.jsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitchen-simulator",
3
- "version": "5.0.0-test.37",
3
+ "version": "5.0.0-test.38",
4
4
  "description": "It is a kitchen simulator.",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Provider } from 'react-redux';
4
4
  import { createStore } from 'redux';
5
5
  import * as Models from './models';
@@ -1,7 +1,7 @@
1
1
  import axios from 'axios';
2
2
  import convert from 'convert-units';
3
3
  import { Plugins as PlannerPlugins } from './index';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import React, { Component } from 'react';
6
6
  import ReactGA from 'react-ga4';
7
7
  import { hotjar } from 'react-hotjar';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormLabel } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
  import styled from 'styled-components';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormLabel, FormColorInput } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Seq } from 'immutable';
4
4
  import { FormLabel, FormSelect } from '../../components/style/export';
5
5
  import PropertyStyle from './shared-property-style';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
 
4
4
  export default function PropertyHidden({
5
5
  value,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  BASE_CABINET_LAYOUTPOS,
5
5
  TALL_CABINET_LAYOUTPOS,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  UNITS_LENGTH,
5
5
  UNIT_INCH,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  UNITS_LENGTH,
5
5
  UNIT_INCH,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormLabel, FormNumberInput } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormLabel } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormLabel, FormTextInput } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormLabel, Button } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import styled from 'styled-components';
4
4
  import {
5
5
  BG_COLOR_0,
@@ -85,8 +85,8 @@ export default class MainButton extends Component {
85
85
  color: ${disabled
86
86
  ? TEXT_COLOR_NEUTRAL_4
87
87
  : variant === 'primary'
88
- ? BG_COLOR_1
89
- : SECONDARY_PURPLE_COLOR};
88
+ ? BG_COLOR_1
89
+ : SECONDARY_PURPLE_COLOR};
90
90
  font-family: ${DEFAULT_FONT_FAMILY};
91
91
  font-size: 13px;
92
92
  font-weight: 600;
@@ -100,8 +100,8 @@ export default class MainButton extends Component {
100
100
  background-color: ${disabled
101
101
  ? TEXT_COLOR_NEUTRAL_4
102
102
  : variant !== 'primary'
103
- ? SECONDARY_PURPLE_COLOR
104
- : BG_COLOR_1};
103
+ ? SECONDARY_PURPLE_COLOR
104
+ : BG_COLOR_1};
105
105
  -webkit-mask-image: url(${props => props.maskImage + '?nocache=2025'});
106
106
  -webkit-mask-size: 90%;
107
107
  -webkit-mask-repeat: no-repeat;
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import styled from 'styled-components';
4
4
 
5
5
  const Toggle = styled.div`
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { MdArrowBack as Arrow } from 'react-icons/md';
4
4
  import * as SharedStyle from '../../shared-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FaPlusCircle as IconAdd } from 'react-icons/fa';
4
4
  import * as SharedStyle from '../../shared-style';
5
5
  import { API_SERVER_URL, MODE, MODE_IDLE } from '../../constants';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import CatalogItem from './catalog-item';
4
4
  import CatalogBreadcrumb from './catalog-breadcrumb';
5
5
  import CatalogPageItem from './catalog-page-item';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { MdNavigateNext } from 'react-icons/md';
4
4
  import * as SharedStyle from '../../shared-style';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { MdNavigateBefore } from 'react-icons/md';
4
4
  import * as SharedStyle from '../../shared-style';
5
5
  import { MODE_IDLE } from '../../constants';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  ContentTitle,
5
5
  ContentContainer,
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  ContentTitle,
5
5
  ContentContainer,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Viewer2D from './viewer2d/viewer2d';
4
4
  import Viewer3D from './viewer3d/viewer3d';
5
5
  import Viewer3DFirstPerson from './viewer3d/viewer3d-first-person';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { FaTimes as IconClose } from 'react-icons/fa';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  const toggleButtonStyle = {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as S from './button/styles';
4
4
  import * as rectangleData from '../toolbar/main/rectangle.json';
5
5
  import * as lShaped from '../toolbar/main/lShaped.json';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as S from './styles';
4
4
  import { Tooltip } from '@material-ui/core/index';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../../shared-style';
4
4
  import * as S from './styles';
5
5
  import { Tooltip } from '@material-ui/core/index';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../../shared-style';
4
4
  import * as S from './styles';
5
5
  import { Tooltip } from '@material-ui/core/index';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { ARRAY_3D_MODES } from '../../../constants';
4
4
  import * as S from './styles';
5
5
  import { Tooltip } from '@material-ui/core/index';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { MODE_IDLE_3D } from '../../../constants';
4
4
  import * as S from './styles';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as S from './styles';
4
4
 
5
5
  export default class ToggleMeasureButton extends Component {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { FaTimes as IconClose } from 'react-icons/fa';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  const toggleButtonStyle = {
@@ -1,6 +1,6 @@
1
1
  import Tooltip from '@material-ui/core/Tooltip';
2
2
  import React, { Component } from 'react';
3
- import PropTypes from 'prop-types';
3
+ import * as PropTypes from 'prop-types';
4
4
  import * as S from './styles';
5
5
  import { GeometryUtils } from '../../utils/export';
6
6
  import { toFixedFloat } from '../../utils/math';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../../shared-style';
4
4
  import * as S from './styles';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as Icon from 'react-icons/fa';
4
4
  import Popup from 'reactjs-popup';
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as S from './styles';
4
4
  import {
5
5
  API_SERVER_URL,
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import ItemAttributesEditor from './item-attributes-editor';
4
4
  import LineAttributesEditor from './line-attributes-editor';
5
5
  import HoleAttributesEditor from './hole-attributes-editor';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { PropertyLengthMeasure } from '../../../../catalog/properties/export';
4
4
  import PropertyString from '../../../../catalog/properties/property-string';
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import FormNumberInput from '../../../style/form-number-input';
4
4
  import convert from 'convert-units';
5
5
  import ConfirmPopup from './confirm-popup';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FormNumberInput, FormTextInput } from '../../../style/export';
4
4
  import { PropertyLengthMeasure } from '../../../../catalog/properties/export';
5
5
  import styled from 'styled-components';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Map, fromJS } from 'immutable';
4
4
  import AttributesEditor from './attributes-editor/attributes-editor';
5
5
  import { GeometryUtils, MathUtils } from '../../../utils/export';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Panel from '../panel';
4
4
  import { Seq } from 'immutable';
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Panel from '../panel';
4
4
  import { Seq } from 'immutable';
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Panel from './panel';
4
4
  import * as SharedStyle from '../../shared-style';
5
5
  import { FormNumberInput, FormTextInput } from '../style/export';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Panel from './panel';
4
4
  import * as SharedStyle from '../../shared-style';
5
5
  import { TiPlus, TiDelete } from 'react-icons/ti';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Panel from './panel';
4
4
  import { Tab, TabList, TabPanel, Tabs } from 'react-tabs';
5
5
  import { FaTimes, FaTrash } from 'react-icons/fa';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Panel from './panel';
4
4
  import {
5
5
  MODE_IDLE,
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Map } from 'immutable';
4
4
  import Panel from './panel';
5
5
  import { TiPlus, TiDelete } from 'react-icons/ti';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { FaAngleDown, FaAngleUp } from 'react-icons/fa';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import PanelElementEditor from './panel-element-editor/panel-element-editor';
4
4
  import PanelGroupEditor from './panel-group-editor';
5
5
  import PanelMultiElementsEditor from './panel-element-editor/panel-multi-elements-editor';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { FaAngleDown, FaAngleUp } from 'react-icons/fa';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as S from './styles';
4
4
  import styled from 'styled-components';
5
5
  import Dialog from '@material-ui/core/Dialog';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  const BASE_STYLE = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
 
4
4
  const STYLE = {
5
5
  padding: '0 20px',
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  const STYLE = {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  KEYBOARD_BUTTON_CODE,
5
5
  TEXT_COLOR_NEUTRAL_0,
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { MdUpdate } from 'react-icons/md';
5
5
  import { KEYBOARD_BUTTON_CODE } from '../../constants';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../../shared-style';
4
4
  import * as S from './styles';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../../shared-style';
4
4
  import * as S from './styles';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as S from './styles';
4
4
 
5
5
  export default class RightButton extends Component {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../../shared-style';
4
4
  import { MODE_IDLE_3D } from '../../../constants';
5
5
  import * as S from './styles';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
 
4
4
  import * as S from './styles';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import clsx from 'clsx';
4
4
  import CheckCircleIcon from '@material-ui/icons/CheckCircle';
5
5
  import ErrorIcon from '@material-ui/icons/Error';
@@ -3,7 +3,7 @@ import { withStyles } from '@material-ui/core/styles';
3
3
  import ErrorIcon from '@material-ui/icons/Error';
4
4
  import convert from 'convert-units';
5
5
  import { Map } from 'immutable';
6
- import PropTypes from 'prop-types';
6
+ import * as PropTypes from 'prop-types';
7
7
  import React, { PureComponent } from 'react';
8
8
  import { FaPlayCircle } from 'react-icons/fa';
9
9
  import * as door_closet from '../../../catalog/holes/door-closet/planner-element';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import clsx from 'clsx';
4
4
  import CheckCircleIcon from '@material-ui/icons/CheckCircle';
5
5
  import ErrorIcon from '@material-ui/icons/Error';
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { FaFolderOpen } from 'react-icons/fa';
5
5
  import { MdSettings, MdUndo, MdDirectionsRun } from 'react-icons/md';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import React from 'react';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import ReactDOM from 'react-dom';
6
6
  import * as Three from 'three';
7
7
  import {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import React from 'react';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import ReactDOM from 'react-dom';
6
6
  import * as Three from 'three';
7
7
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  //http://www.cssportal.com/css-tooltip-generator/
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FaFolderOpen as IconLoad } from 'react-icons/fa';
4
4
  import ToolbarButton from './toolbar-button';
5
5
  import { browserUpload } from '../../utils/browser';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { FaSave as IconSave } from 'react-icons/fa';
4
4
  import ToolbarButton from './toolbar-button';
5
5
  import { browserDownload } from '../../utils/browser';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import polylabel from 'polylabel';
4
4
  import areapolygon from 'area-polygon';
5
5
  import convert from 'convert-units';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { memo } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import GridStreak from './grid-streak';
4
4
 
5
5
  const propsAreEqual = (oldScene, newScene) =>
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import If from '../../utils/react-if';
4
4
  import * as sharedStyles from '../../shared-style';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { useState } from 'react';
3
- import PropTypes from 'prop-types';
3
+ import * as PropTypes from 'prop-types';
4
4
  import If from '../../utils/react-if';
5
5
  import RulerDist from './rulerDist';
6
6
  import convert from 'convert-units';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Area, Group, Item, Line, Vertex } from './export';
4
4
  import { GeometryUtils } from '../../utils/export';
5
5
  import { MODE_DRAWING_LINE, WALL_CABINET_LAYOUTPOS } from '../../constants';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { GeometryUtils } from '../../utils/export';
4
4
  import Ruler from './ruler';
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import convert from 'convert-units';
4
4
  import IDBroker from '../../utils/id-broker';
5
5
  import { FormNumberInput2 } from '../style/export';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import convert from 'convert-units';
4
4
 
5
5
  const ARROW_STYLE = {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  export default class RulerX extends Component {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  export default class RulerY extends Component {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Layer, Grids } from './export';
4
4
  import { searchForSkuValue } from './utils';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as Geometry from '../../utils/geometry';
4
4
 
5
5
  const STYLE = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import Scene from './scene';
4
4
  import Snap from './snap';
5
5
  import * as SharedStyle from '../../shared-style';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { LINE_THICKNESS } from '../../../src/constants';
5
5
  //Space from the center of the point(Use cases:x - vertexthickness,y + vertexthickness )
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useRef, useState } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  ReactSVGPanZoom,
5
5
  TOOL_AUTO,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import React from 'react';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import ReactDOM from 'react-dom';
6
6
  import * as Three from 'three';
7
7
  import { parseData, updateScene } from './scene-creator';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import React from 'react';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import ReactDOM from 'react-dom';
6
6
  import * as Three from 'three';
7
7
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
  import { FaTimes as IconClose } from 'react-icons/fa';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import * as SharedStyle from '../../shared-style';
4
4
 
5
5
  const toggleButtonStyle = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  KitchenConfiguratorComponents,
5
5
  KitchenConfiguratorConstants
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
 
4
4
  /**
5
5
  * @return {null}