kitchen-simulator 1.1.1-test.21 → 1.1.1-test.24

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 (83) hide show
  1. package/es/KitchenConfigurator.js +1 -1
  2. package/es/KitchenConfiguratorApp.js +1 -1
  3. package/es/catalog/properties/property-checkbox.js +1 -3
  4. package/es/catalog/properties/property-color.js +1 -1
  5. package/es/catalog/properties/property-enum.js +1 -1
  6. package/es/catalog/properties/property-hidden.js +1 -1
  7. package/es/catalog/properties/property-lenght-measure.js +1 -1
  8. package/es/catalog/properties/property-length-measure.js +1 -1
  9. package/es/catalog/properties/property-length-measure_hole.js +1 -1
  10. package/es/catalog/properties/property-number.js +1 -1
  11. package/es/catalog/properties/property-read-only.js +1 -1
  12. package/es/catalog/properties/property-string.js +1 -1
  13. package/es/catalog/properties/property-toggle.js +1 -1
  14. package/es/components/content.js +1 -1
  15. package/es/components/disclaimer/disclaimer.js +66 -86
  16. package/es/components/style/button.js +1 -1
  17. package/es/components/style/content-container.js +1 -1
  18. package/es/components/style/content-title.js +1 -1
  19. package/es/components/style/form-number-input.js +1 -1
  20. package/es/components/style/form-number-input_2.js +1 -1
  21. package/es/components/viewer2d/area.js +1 -1
  22. package/es/components/viewer2d/grids/grid-horizontal-streak.js +1 -1
  23. package/es/components/viewer2d/grids/grid-streak.js +1 -1
  24. package/es/components/viewer2d/grids/grid-vertical-streak.js +1 -1
  25. package/es/components/viewer2d/grids/grids.js +1 -1
  26. package/es/components/viewer2d/group.js +1 -1
  27. package/es/components/viewer2d/item.js +1 -1
  28. package/es/components/viewer2d/layer.js +1 -1
  29. package/es/components/viewer2d/line.js +3 -6
  30. package/es/components/viewer2d/ruler.js +1 -1
  31. package/es/components/viewer2d/rulerDist.js +1 -1
  32. package/es/components/viewer2d/rulerX.js +1 -1
  33. package/es/components/viewer2d/rulerY.js +1 -1
  34. package/es/components/viewer2d/scene.js +1 -1
  35. package/es/components/viewer2d/snap.js +1 -1
  36. package/es/components/viewer2d/state.js +1 -1
  37. package/es/components/viewer2d/vertex.js +1 -1
  38. package/es/components/viewer2d/viewer2d.js +1 -1
  39. package/es/components/viewer3d/viewer3d-first-person.js +1 -1
  40. package/es/components/viewer3d/viewer3d.js +1 -1
  41. package/es/utils/react-if.js +1 -1
  42. package/lib/KitchenConfigurator.js +20 -20
  43. package/lib/KitchenConfiguratorApp.js +27 -27
  44. package/lib/catalog/properties/property-checkbox.js +7 -10
  45. package/lib/catalog/properties/property-color.js +7 -9
  46. package/lib/catalog/properties/property-enum.js +7 -9
  47. package/lib/catalog/properties/property-hidden.js +7 -9
  48. package/lib/catalog/properties/property-lenght-measure.js +9 -11
  49. package/lib/catalog/properties/property-length-measure.js +9 -11
  50. package/lib/catalog/properties/property-length-measure_hole.js +9 -11
  51. package/lib/catalog/properties/property-number.js +8 -10
  52. package/lib/catalog/properties/property-read-only.js +7 -9
  53. package/lib/catalog/properties/property-string.js +7 -9
  54. package/lib/catalog/properties/property-toggle.js +7 -9
  55. package/lib/components/content.js +6 -6
  56. package/lib/components/disclaimer/disclaimer.js +66 -86
  57. package/lib/components/style/button.js +6 -5
  58. package/lib/components/style/content-container.js +4 -5
  59. package/lib/components/style/content-title.js +2 -2
  60. package/lib/components/style/form-number-input.js +15 -15
  61. package/lib/components/style/form-number-input_2.js +13 -12
  62. package/lib/components/viewer2d/area.js +4 -6
  63. package/lib/components/viewer2d/grids/grid-horizontal-streak.js +4 -6
  64. package/lib/components/viewer2d/grids/grid-streak.js +4 -6
  65. package/lib/components/viewer2d/grids/grid-vertical-streak.js +4 -6
  66. package/lib/components/viewer2d/grids/grids.js +2 -2
  67. package/lib/components/viewer2d/group.js +6 -6
  68. package/lib/components/viewer2d/item.js +6 -6
  69. package/lib/components/viewer2d/layer.js +4 -6
  70. package/lib/components/viewer2d/line.js +7 -10
  71. package/lib/components/viewer2d/ruler.js +4 -6
  72. package/lib/components/viewer2d/rulerDist.js +4 -6
  73. package/lib/components/viewer2d/rulerX.js +13 -12
  74. package/lib/components/viewer2d/rulerY.js +11 -10
  75. package/lib/components/viewer2d/scene.js +6 -5
  76. package/lib/components/viewer2d/snap.js +4 -4
  77. package/lib/components/viewer2d/state.js +4 -4
  78. package/lib/components/viewer2d/vertex.js +3 -3
  79. package/lib/components/viewer2d/viewer2d.js +12 -12
  80. package/lib/components/viewer3d/viewer3d-first-person.js +10 -10
  81. package/lib/components/viewer3d/viewer3d.js +12 -12
  82. package/lib/utils/react-if.js +3 -5
  83. package/package.json +1 -5
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  import axios from 'axios';
32
32
  import * as convert from 'convert-units';
33
33
  import { Plugins as PlannerPlugins } from "./index";
34
- import * as PropTypes from 'prop-types';
34
+ import PropTypes from 'prop-types';
35
35
  import React, { Component } from 'react';
36
36
  import ReactGA from 'react-ga4';
37
37
  import { hotjar } from 'react-hotjar';
@@ -19,7 +19,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
19
19
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
20
20
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
21
21
  import React, { useEffect } from 'react';
22
- import * as PropTypes from 'prop-types';
22
+ import PropTypes from 'prop-types';
23
23
  import { Provider } from 'react-redux';
24
24
  import { createStore } from 'redux';
25
25
  import * as Models from "./models";
@@ -7,9 +7,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
7
7
  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); }
8
8
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
9
9
  import React from 'react';
10
- import * as PropTypes from 'prop-types/prop-types';
11
- import { FormLabel } from "../../components/style/export";
12
- import PropertyStyle from "./shared-property-style";
10
+ import PropTypes from 'prop-types';
13
11
  import styled from 'styled-components';
14
12
  import { DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, TEXT_COLOR_NEUTRAL_0 } from "../../constants";
15
13
  var FlipWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin: 15px 0;\n justify-content: space-between;\n"])));
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { FormLabel, FormColorInput } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyColor(_ref) {
@@ -7,7 +7,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
7
7
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
8
8
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
9
9
  import React from 'react';
10
- import * as PropTypes from 'prop-types/prop-types';
10
+ import PropTypes from 'prop-types';
11
11
  import { Seq } from 'immutable';
12
12
  import { FormLabel, FormSelect } from "../../components/style/export";
13
13
  import PropertyStyle from "./shared-property-style";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  export default function PropertyHidden(_ref) {
4
4
  var value = _ref.value,
5
5
  onUpdate = _ref.onUpdate,
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
3
3
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
4
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
- import * as PropTypes from 'prop-types/prop-types';
6
+ import PropTypes from 'prop-types';
7
7
  import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNITS_LENGTH, UNIT_INCH } from "./../../constants";
8
8
  import convert from 'convert-units';
9
9
  import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
@@ -5,7 +5,7 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
5
5
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
6
6
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
7
7
  import React from 'react';
8
- import * as PropTypes from 'prop-types/prop-types';
8
+ import PropTypes from 'prop-types';
9
9
  import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, DEFAULT_FONT_FAMILY, TEXT_COLOR_NEUTRAL_0, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from "../../constants";
10
10
  import convert from 'convert-units';
11
11
  import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
3
3
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
4
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
- import * as PropTypes from 'prop-types/prop-types';
6
+ import PropTypes from 'prop-types';
7
7
  import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from "../../constants";
8
8
  import convert from 'convert-units';
9
9
  import { FormLabel, FormNumberInput1, FormSelect } from "../../components/style/export";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { FormLabel, FormNumberInput } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyNumber(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { FormLabel } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyReadOnly(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { FormLabel, FormTextInput } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  var tableStyle = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { FormLabel, Button } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyToggle(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import 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,80 +1,62 @@
1
1
  import React, { useEffect } from 'react';
2
- import { Typography, Button, makeStyles } from '@material-ui/core';
3
- var useStyles = makeStyles(function (theme) {
4
- return {
5
- root: {
6
- display: 'flex',
7
- justifyContent: 'center',
8
- alignItems: 'center',
9
- backgroundColor: '#D1C4E9',
10
- background: 'url("/assets/img/svg/disclaimer/background.svg") no-repeat center',
11
- backgroundSize: 'cover',
12
- padding: theme.spacing(2),
13
- height: '100dvh',
14
- width: '100dvw'
15
- },
16
- card: {
17
- '@media (orientation: landscape)': {
18
- padding: '0.75rem',
19
- gap: '0.5rem'
20
- },
21
- display: 'flex',
22
- flexDirection: 'column',
23
- alignItems: 'center',
24
- backgroundColor: '#fff',
25
- borderRadius: 24,
26
- width: '85vw',
27
- textAlign: 'center',
28
- boxShadow: '0 8px 20px rgba(0,0,0,0.08)',
29
- height: 'fit-content',
30
- opacity: '90%',
31
- gap: '1rem',
32
- padding: '1.5rem',
33
- maxWidth: '364px'
34
- },
35
- title: {
36
- fontWeight: 'bold',
37
- fontSize: '1.5rem',
38
- lineHeight: '133%',
39
- letterSpacing: '0px',
40
- textAlign: 'center',
41
- verticalAlign: 'middle',
42
- maxWidth: '200px'
43
- },
44
- body: {
45
- fontWeight: 400,
46
- fontStyle: 'normal',
47
- fontSize: '0.875rem',
48
- lineHeight: '143%',
49
- letterSpacing: '0.17px',
50
- color: '#49454F',
51
- maxWidth: '90%'
52
- },
53
- button: {
54
- '@media (orientation: landscape)': {
55
- padding: '12px 36px'
56
- },
57
- marginTop: '0.5rem',
58
- backgroundColor: '#6750A4',
59
- color: '#fff',
60
- borderRadius: 100,
61
- padding: '16px 72px',
62
- textTransform: 'none',
63
- fontWeight: 500,
64
- fontSize: '1rem',
65
- '&:hover': {
66
- backgroundColor: '#7c3aed'
67
- },
68
- '&:active': {
69
- backgroundColor: '#5a25c2'
70
- },
71
- '&:disabled': {
72
- backgroundColor: '#F3E5F5',
73
- color: '#1D1B20'
74
- }
75
- }
76
- };
77
- });
2
+ var styles = {
3
+ root: {
4
+ display: 'flex',
5
+ justifyContent: 'center',
6
+ alignItems: 'center',
7
+ backgroundColor: '#D1C4E9',
8
+ background: 'url("/assets/img/svg/disclaimer/background.svg") no-repeat center',
9
+ backgroundSize: 'cover',
10
+ padding: '16px',
11
+ height: '100dvh',
12
+ width: '100dvw'
13
+ },
14
+ card: {
15
+ display: 'flex',
16
+ flexDirection: 'column',
17
+ alignItems: 'center',
18
+ backgroundColor: '#fff',
19
+ borderRadius: 24,
20
+ width: '85vw',
21
+ textAlign: 'center',
22
+ boxShadow: '0 8px 20px rgba(0,0,0,0.08)',
23
+ height: 'fit-content',
24
+ opacity: '90%',
25
+ gap: '1rem',
26
+ padding: '1.5rem',
27
+ maxWidth: '364px'
28
+ },
29
+ title: {
30
+ fontWeight: 'bold',
31
+ fontSize: '1.5rem',
32
+ lineHeight: '133%',
33
+ letterSpacing: '0px',
34
+ textAlign: 'center',
35
+ verticalAlign: 'middle',
36
+ maxWidth: '200px'
37
+ },
38
+ body: {
39
+ fontWeight: 400,
40
+ fontStyle: 'normal',
41
+ fontSize: '0.875rem',
42
+ lineHeight: '143%',
43
+ letterSpacing: '0.17px',
44
+ color: '#49454F',
45
+ maxWidth: '90%'
46
+ },
47
+ button: {
48
+ marginTop: '0.5rem',
49
+ backgroundColor: '#6750A4',
50
+ color: '#fff',
51
+ borderRadius: 100,
52
+ padding: '16px 72px',
53
+ textTransform: 'none',
54
+ fontWeight: 500,
55
+ fontSize: '1rem',
56
+ border: 'none',
57
+ cursor: 'pointer'
58
+ }
59
+ };
78
60
  export default function DisclaimerScreen(_ref) {
79
61
  var _ref$open = _ref.open,
80
62
  open = _ref$open === void 0 ? true : _ref$open,
@@ -85,7 +67,6 @@ export default function DisclaimerScreen(_ref) {
85
67
  message = _ref$message === void 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, "We\u2019re adding the finishing touches to the mobile version.", /*#__PURE__*/React.createElement("br", null), "In the meantime, try our desktop version to start designing your dream room.") : _ref$message,
86
68
  _ref$buttonText = _ref.buttonText,
87
69
  buttonText = _ref$buttonText === void 0 ? 'Close' : _ref$buttonText;
88
- var classes = useStyles();
89
70
  useEffect(function () {
90
71
  var viewportMeta = document.querySelector('meta[name="viewport"]');
91
72
  if (!viewportMeta) {
@@ -97,21 +78,20 @@ export default function DisclaimerScreen(_ref) {
97
78
  }, []);
98
79
  if (!open) return null;
99
80
  return /*#__PURE__*/React.createElement("div", {
100
- className: classes.root
81
+ style: styles.root
101
82
  }, /*#__PURE__*/React.createElement("div", {
102
- className: classes.card
83
+ style: styles.card
103
84
  }, /*#__PURE__*/React.createElement("img", {
104
85
  width: 40,
105
86
  height: 40,
106
87
  alt: "loog",
107
88
  src: '/assets/img/svg/disclaimer/logo-dots.svg'
108
- }), /*#__PURE__*/React.createElement(Typography, {
109
- className: classes.title
110
- }, titleTop), /*#__PURE__*/React.createElement(Typography, {
111
- className: classes.body
112
- }, message), /*#__PURE__*/React.createElement(Button, {
113
- variant: "contained",
114
- className: classes.button,
89
+ }), /*#__PURE__*/React.createElement("div", {
90
+ style: styles.title
91
+ }, titleTop), /*#__PURE__*/React.createElement("div", {
92
+ style: styles.body
93
+ }, message), /*#__PURE__*/React.createElement("button", {
94
+ style: styles.button,
115
95
  onClick: onClose
116
96
  }, buttonText)));
117
97
  }
@@ -16,7 +16,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
16
16
  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); }
17
17
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
18
18
  import React, { Component } from 'react';
19
- import * as PropTypes from 'prop-types/prop-types';
19
+ import PropTypes from 'prop-types';
20
20
  import * as SharedStyle from "../../shared-style";
21
21
  var BASE_STYLE = {
22
22
  display: 'inline-block',
@@ -5,7 +5,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
6
  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); }
7
7
  import React from 'react';
8
- import * as PropTypes from 'prop-types/prop-types';
8
+ import PropTypes from 'prop-types';
9
9
  var STYLE = {
10
10
  padding: '0 20px',
11
11
  overflowY: 'auto'
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
9
9
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
10
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
11
11
  import React from 'react';
12
- import * as PropTypes from 'prop-types/prop-types';
12
+ import PropTypes from 'prop-types';
13
13
  import * as SharedStyle from "../../shared-style";
14
14
  var STYLE = {
15
15
  color: SharedStyle.PRIMARY_COLOR.alt,
@@ -14,7 +14,7 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
14
14
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
15
15
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
16
16
  import React, { Component } from 'react';
17
- import * as PropTypes from 'prop-types/prop-types';
17
+ import PropTypes from 'prop-types';
18
18
  import { KEYBOARD_BUTTON_CODE, TEXT_COLOR_NEUTRAL_0, SECONDARY_PURPLE_COLOR, DEFAULT_FONT_FAMILY } from "../../constants";
19
19
  import styled from 'styled-components';
20
20
  import { isValidNumber } from "../../utils/helper";
@@ -15,7 +15,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
15
15
  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); }
16
16
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
17
17
  import React, { Component } from 'react';
18
- import * as PropTypes from 'prop-types/prop-types';
18
+ import PropTypes from 'prop-types';
19
19
  import * as SharedStyle from "../../shared-style";
20
20
  import { MdUpdate } from 'react-icons/md';
21
21
  import { KEYBOARD_BUTTON_CODE } from "../../constants";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import 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 * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
  export default function GridHorizontalStreak(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
  export default function GridStreak(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
  export default function GridVerticalStreak(_ref) {
@@ -5,7 +5,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  import React, { memo } from 'react';
8
- import * as PropTypes from 'prop-types/prop-types';
8
+ import PropTypes from 'prop-types';
9
9
  import GridStreak from "./grid-streak";
10
10
  var propsAreEqual = function propsAreEqual(oldScene, newScene) {
11
11
  return oldScene.scene.width === newScene.scene.width && oldScene.scene.height === newScene.scene.height && oldScene.scene.grids === newScene.scene.grids;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import If from "../../utils/react-if";
4
4
  import * as sharedStyles from "../../shared-style";
5
5
  var cx = 0;
@@ -6,7 +6,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
6
6
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  import React from 'react';
8
8
  import { useState } from 'react';
9
- import * as PropTypes from 'prop-types/prop-types';
9
+ import PropTypes from 'prop-types';
10
10
  import If from "../../utils/react-if";
11
11
  import RulerDist from "./rulerDist";
12
12
  import convert from 'convert-units';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { Line, Area, Vertex, Item, Group } from "./export";
4
4
  import { GeometryUtils } from "../../utils/export";
5
5
  import { MODE_DRAWING_LINE, WALL_CABINET_LAYOUTPOS } from "../../constants";
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import { GeometryUtils } from "../../utils/export";
4
4
  import Ruler from "./ruler";
5
5
  import { BASE_CABINET_LAYOUTPOS, LINE_THICKNESS, WALL_CABINET_LAYOUTPOS } from "../../constants";
6
6
  import * as Three from 'three';
7
7
  import { isEmpty } from "./utils";
8
- import Tooltip from '@material-ui/core/Tooltip';
9
8
  var STYLE = {
10
9
  stroke: 'rgb(77, 77, 77)',
11
10
  strokeWidth: '1px'
@@ -795,9 +794,7 @@ export default function Line(_ref) {
795
794
  } : {}
796
795
  }, renderedLine, /*#__PURE__*/React.createElement("g", {
797
796
  transform: "translate(".concat(x1, ", ").concat(y1, ") rotate(").concat(angle, ", 0, 0)")
798
- }, renderedHoles)), line.selected && /*#__PURE__*/React.createElement(Tooltip, {
799
- title: "Elevation View"
800
- }, /*#__PURE__*/React.createElement("g", {
797
+ }, renderedHoles)), line.selected && /*#__PURE__*/React.createElement("g", {
801
798
  id: 'elevation-button',
802
799
  key: 1,
803
800
  transform: "translate(".concat(x1 + 35, ", ").concat(y1 - 15, ")"),
@@ -827,7 +824,7 @@ export default function Line(_ref) {
827
824
  style: {
828
825
  transform: 'rotateX(180deg)'
829
826
  }
830
- }))), line.selected && /*#__PURE__*/React.createElement("g", {
827
+ })), line.selected && /*#__PURE__*/React.createElement("g", {
831
828
  id: 'remove-button',
832
829
  key: 2,
833
830
  transform: "translate(".concat(x1 + 10, ", ").concat(y1, ")"),
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import 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 * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import convert from 'convert-units';
4
4
  var ARROW_STYLE = {
5
5
  stroke: '#1183B7',
@@ -15,7 +15,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
15
15
  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); }
16
16
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
17
17
  import React, { Component } from 'react';
18
- import * as PropTypes from 'prop-types/prop-types';
18
+ import PropTypes from 'prop-types';
19
19
  import * as SharedStyle from "../../shared-style";
20
20
  var RulerX = /*#__PURE__*/function (_Component) {
21
21
  function RulerX(props, context) {
@@ -15,7 +15,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
15
15
  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); }
16
16
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
17
17
  import React, { Component } from 'react';
18
- import * as PropTypes from 'prop-types/prop-types';
18
+ import PropTypes from 'prop-types';
19
19
  import * as SharedStyle from "../../shared-style";
20
20
  var RulerY = /*#__PURE__*/function (_Component) {
21
21
  function RulerY(props, context) {
@@ -22,7 +22,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
22
22
  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); }
23
23
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
24
24
  import React, { Component } from 'react';
25
- import * as PropTypes from 'prop-types/prop-types';
25
+ import PropTypes from 'prop-types';
26
26
  import { Layer, Grids } from "./export";
27
27
  import { searchForSkuValue } from "./utils";
28
28
  var Scene = /*#__PURE__*/function (_Component) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import * as Geometry from "../../utils/geometry";
4
4
  var STYLE = {
5
5
  stroke: '#D32F2F',
@@ -5,7 +5,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  import React from 'react';
8
- import * as PropTypes from 'prop-types/prop-types';
8
+ import PropTypes from 'prop-types';
9
9
  import Scene from "./scene";
10
10
  import Snap from "./snap";
11
11
  import * as SharedStyle from "../../shared-style";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
  import * as SharedStyle from "../../shared-style";
4
4
  //Space from the center of the point(Use cases:x - vertexthickness,y + vertexthickness )
5
5
  var vertexthickness = 4;
@@ -15,7 +15,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
15
15
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
16
16
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
17
17
  import React, { useEffect, useRef, useState } from 'react';
18
- import * as PropTypes from 'prop-types/prop-types';
18
+ import PropTypes from 'prop-types';
19
19
  import { ReactSVGPanZoom, TOOL_AUTO, TOOL_NONE, TOOL_PAN, TOOL_ZOOM_IN, TOOL_ZOOM_OUT, zoom } from 'react-svg-pan-zoom';
20
20
  import * as constants from "../../constants";
21
21
  import State from "./state";
@@ -14,7 +14,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
14
14
  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); }
15
15
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
16
16
  import React from 'react';
17
- import * as PropTypes from 'prop-types/prop-types';
17
+ import PropTypes from 'prop-types';
18
18
  import ReactDOM from 'react-dom';
19
19
  import * as Three from 'three';
20
20
  import { parseData, updateScene } from "./scene-creator";
@@ -18,7 +18,7 @@ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? O
18
18
  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); }
19
19
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
20
20
  import React from 'react';
21
- import * as PropTypes from 'prop-types/prop-types';
21
+ import PropTypes from 'prop-types';
22
22
  import ReactDOM from 'react-dom';
23
23
  import * as Three from 'three';
24
24
  import { checkCabinetOverlap, createBacksplash, deleteSpecifiedMeshObjects, fVLine, getDistances, parseData, updateScene, visibleTransformBox } from "./scene-creator";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as PropTypes from 'prop-types/prop-types';
2
+ import PropTypes from 'prop-types';
3
3
 
4
4
  /**
5
5
  * @return {null}