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

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 (81) 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/style/button.js +1 -1
  16. package/es/components/style/content-container.js +1 -1
  17. package/es/components/style/content-title.js +1 -1
  18. package/es/components/style/form-number-input.js +1 -1
  19. package/es/components/style/form-number-input_2.js +1 -1
  20. package/es/components/viewer2d/area.js +1 -1
  21. package/es/components/viewer2d/grids/grid-horizontal-streak.js +1 -1
  22. package/es/components/viewer2d/grids/grid-streak.js +1 -1
  23. package/es/components/viewer2d/grids/grid-vertical-streak.js +1 -1
  24. package/es/components/viewer2d/grids/grids.js +1 -1
  25. package/es/components/viewer2d/group.js +1 -1
  26. package/es/components/viewer2d/item.js +1 -1
  27. package/es/components/viewer2d/layer.js +1 -1
  28. package/es/components/viewer2d/line.js +1 -1
  29. package/es/components/viewer2d/ruler.js +1 -1
  30. package/es/components/viewer2d/rulerDist.js +1 -1
  31. package/es/components/viewer2d/rulerX.js +1 -1
  32. package/es/components/viewer2d/rulerY.js +1 -1
  33. package/es/components/viewer2d/scene.js +1 -1
  34. package/es/components/viewer2d/snap.js +1 -1
  35. package/es/components/viewer2d/state.js +1 -1
  36. package/es/components/viewer2d/vertex.js +1 -1
  37. package/es/components/viewer2d/viewer2d.js +1 -1
  38. package/es/components/viewer3d/viewer3d-first-person.js +1 -1
  39. package/es/components/viewer3d/viewer3d.js +1 -1
  40. package/es/utils/react-if.js +1 -1
  41. package/lib/KitchenConfigurator.js +20 -20
  42. package/lib/KitchenConfiguratorApp.js +27 -27
  43. package/lib/catalog/properties/property-checkbox.js +7 -10
  44. package/lib/catalog/properties/property-color.js +7 -9
  45. package/lib/catalog/properties/property-enum.js +7 -9
  46. package/lib/catalog/properties/property-hidden.js +7 -9
  47. package/lib/catalog/properties/property-lenght-measure.js +9 -11
  48. package/lib/catalog/properties/property-length-measure.js +9 -11
  49. package/lib/catalog/properties/property-length-measure_hole.js +9 -11
  50. package/lib/catalog/properties/property-number.js +8 -10
  51. package/lib/catalog/properties/property-read-only.js +7 -9
  52. package/lib/catalog/properties/property-string.js +7 -9
  53. package/lib/catalog/properties/property-toggle.js +7 -9
  54. package/lib/components/content.js +6 -6
  55. package/lib/components/style/button.js +6 -5
  56. package/lib/components/style/content-container.js +4 -5
  57. package/lib/components/style/content-title.js +2 -2
  58. package/lib/components/style/form-number-input.js +15 -15
  59. package/lib/components/style/form-number-input_2.js +13 -12
  60. package/lib/components/viewer2d/area.js +4 -6
  61. package/lib/components/viewer2d/grids/grid-horizontal-streak.js +4 -6
  62. package/lib/components/viewer2d/grids/grid-streak.js +4 -6
  63. package/lib/components/viewer2d/grids/grid-vertical-streak.js +4 -6
  64. package/lib/components/viewer2d/grids/grids.js +2 -2
  65. package/lib/components/viewer2d/group.js +6 -6
  66. package/lib/components/viewer2d/item.js +6 -6
  67. package/lib/components/viewer2d/layer.js +4 -6
  68. package/lib/components/viewer2d/line.js +5 -5
  69. package/lib/components/viewer2d/ruler.js +4 -6
  70. package/lib/components/viewer2d/rulerDist.js +4 -6
  71. package/lib/components/viewer2d/rulerX.js +13 -12
  72. package/lib/components/viewer2d/rulerY.js +11 -10
  73. package/lib/components/viewer2d/scene.js +6 -5
  74. package/lib/components/viewer2d/snap.js +4 -4
  75. package/lib/components/viewer2d/state.js +4 -4
  76. package/lib/components/viewer2d/vertex.js +3 -3
  77. package/lib/components/viewer2d/viewer2d.js +12 -12
  78. package/lib/components/viewer3d/viewer3d-first-person.js +10 -10
  79. package/lib/components/viewer3d/viewer3d.js +12 -12
  80. package/lib/utils/react-if.js +3 -5
  81. package/package.json +1 -1
@@ -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";
@@ -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,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 { GeometryUtils } from "../../utils/export";
4
4
  import Ruler from "./ruler";
5
5
  import { BASE_CABINET_LAYOUTPOS, LINE_THICKNESS, WALL_CABINET_LAYOUTPOS } 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 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}
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
  var _axios = _interopRequireDefault(require("axios"));
8
8
  var convert = _interopRequireWildcard(require("convert-units"));
9
9
  var _index = require("./index");
10
- var PropTypes = _interopRequireWildcard(require("prop-types"));
10
+ var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
  var _reactGa = _interopRequireDefault(require("react-ga4"));
13
13
  var _reactHotjar = require("react-hotjar");
@@ -608,30 +608,30 @@ var KitchenConfigurator = /*#__PURE__*/function (_Component) {
608
608
  }]);
609
609
  }(_react.Component);
610
610
  KitchenConfigurator.propTypes = {
611
- translator: PropTypes.instanceOf(_translator["default"]),
612
- catalog: PropTypes.instanceOf(_catalog["default"]),
613
- allowProjectFileSupport: PropTypes.bool,
614
- plugins: PropTypes.arrayOf(PropTypes.func),
615
- autosaveKey: PropTypes.string,
616
- autosaveDelay: PropTypes.number,
617
- width: PropTypes.number.isRequired,
618
- height: PropTypes.number.isRequired,
619
- stateExtractor: PropTypes.func.isRequired,
620
- toolbarButtons: PropTypes.array,
621
- sidebarComponents: PropTypes.array,
622
- footerbarComponents: PropTypes.array,
623
- customContents: PropTypes.object,
624
- softwareSignature: PropTypes.string,
625
- configData: PropTypes.object
611
+ translator: _propTypes["default"].instanceOf(_translator["default"]),
612
+ catalog: _propTypes["default"].instanceOf(_catalog["default"]),
613
+ allowProjectFileSupport: _propTypes["default"].bool,
614
+ plugins: _propTypes["default"].arrayOf(_propTypes["default"].func),
615
+ autosaveKey: _propTypes["default"].string,
616
+ autosaveDelay: _propTypes["default"].number,
617
+ width: _propTypes["default"].number.isRequired,
618
+ height: _propTypes["default"].number.isRequired,
619
+ stateExtractor: _propTypes["default"].func.isRequired,
620
+ toolbarButtons: _propTypes["default"].array,
621
+ sidebarComponents: _propTypes["default"].array,
622
+ footerbarComponents: _propTypes["default"].array,
623
+ customContents: _propTypes["default"].object,
624
+ softwareSignature: _propTypes["default"].string,
625
+ configData: _propTypes["default"].object
626
626
  };
627
627
  KitchenConfigurator.contextTypes = {
628
- store: PropTypes.object.isRequired
628
+ store: _propTypes["default"].object.isRequired
629
629
  };
630
630
  KitchenConfigurator.childContextTypes = _objectSpread(_objectSpread({}, (0, _objectsUtils.objectsMap)(_export["default"], function () {
631
- return PropTypes.object;
631
+ return _propTypes["default"].object;
632
632
  })), {}, {
633
- translator: PropTypes.object,
634
- catalog: PropTypes.object
633
+ translator: _propTypes["default"].object,
634
+ catalog: _propTypes["default"].object
635
635
  });
636
636
  KitchenConfigurator.defaultProps = {
637
637
  translator: new _translator["default"](),
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = KitchenConfiguratorApp;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
- var PropTypes = _interopRequireWildcard(require("prop-types"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
10
  var _reactRedux = require("react-redux");
11
11
  var _redux = require("redux");
12
12
  var Models = _interopRequireWildcard(require("./models"));
@@ -470,33 +470,33 @@ function KitchenConfiguratorApp(props) {
470
470
  /* ============================== prop types ============================== */
471
471
 
472
472
  KitchenConfiguratorApp.propTypes = {
473
- width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
474
- height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
475
- projectElement: PropTypes.arrayOf(PropTypes.object),
476
- categoryData: PropTypes.any,
477
- dataBundle: PropTypes.any,
478
- configData: PropTypes.any,
479
- catalog: PropTypes.oneOfType([PropTypes.object, PropTypes.instanceOf(Models.Catalog)]),
480
- logoImg: PropTypes.any,
481
- companyUrl: PropTypes.string,
482
- toolbarButtons: PropTypes.any,
483
- options: PropTypes.object,
484
- user: PropTypes.object,
485
- auth: PropTypes.object,
486
- featureFlags: PropTypes.object,
487
- sentry: PropTypes.shape({
488
- dsn: PropTypes.string,
489
- environment: PropTypes.string
473
+ width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
474
+ height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
475
+ projectElement: _propTypes["default"].arrayOf(_propTypes["default"].object),
476
+ categoryData: _propTypes["default"].any,
477
+ dataBundle: _propTypes["default"].any,
478
+ configData: _propTypes["default"].any,
479
+ catalog: _propTypes["default"].oneOfType([_propTypes["default"].object, _propTypes["default"].instanceOf(Models.Catalog)]),
480
+ logoImg: _propTypes["default"].any,
481
+ companyUrl: _propTypes["default"].string,
482
+ toolbarButtons: _propTypes["default"].any,
483
+ options: _propTypes["default"].object,
484
+ user: _propTypes["default"].object,
485
+ auth: _propTypes["default"].object,
486
+ featureFlags: _propTypes["default"].object,
487
+ sentry: _propTypes["default"].shape({
488
+ dsn: _propTypes["default"].string,
489
+ environment: _propTypes["default"].string
490
490
  }),
491
- analytics: PropTypes.shape({
492
- ga4Id: PropTypes.string,
493
- hotjar: PropTypes.shape({
494
- id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
495
- sv: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
491
+ analytics: _propTypes["default"].shape({
492
+ ga4Id: _propTypes["default"].string,
493
+ hotjar: _propTypes["default"].shape({
494
+ id: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
495
+ sv: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
496
496
  })
497
497
  }),
498
- onEvent: PropTypes.func,
499
- onSave: PropTypes.func,
500
- onError: PropTypes.func,
501
- store: PropTypes.object
498
+ onEvent: _propTypes["default"].func,
499
+ onSave: _propTypes["default"].func,
500
+ onError: _propTypes["default"].func,
501
+ store: _propTypes["default"].object
502
502
  };
@@ -6,13 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = PropertyCheckbox;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var PropTypes = _interopRequireWildcard(require("prop-types/prop-types"));
10
- var _export = require("../../components/style/export");
11
- var _sharedPropertyStyle = _interopRequireDefault(require("./shared-property-style"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
12
10
  var _styledComponents = _interopRequireDefault(require("styled-components"));
13
11
  var _constants = require("../../constants");
14
12
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
15
- 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); }
16
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
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; }
18
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; }
@@ -70,10 +67,10 @@ function PropertyCheckbox(_ref) {
70
67
  }))));
71
68
  }
72
69
  PropertyCheckbox.propTypes = {
73
- value: PropTypes.any.isRequired,
74
- onUpdate: PropTypes.func.isRequired,
75
- configs: PropTypes.object.isRequired,
76
- sourceElement: PropTypes.object,
77
- internalState: PropTypes.object,
78
- state: PropTypes.object.isRequired
70
+ value: _propTypes["default"].any.isRequired,
71
+ onUpdate: _propTypes["default"].func.isRequired,
72
+ configs: _propTypes["default"].object.isRequired,
73
+ sourceElement: _propTypes["default"].object,
74
+ internalState: _propTypes["default"].object,
75
+ state: _propTypes["default"].object.isRequired
79
76
  };
@@ -1,15 +1,13 @@
1
1
  "use strict";
2
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
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports["default"] = PropertyColor;
8
7
  var _react = _interopRequireDefault(require("react"));
9
- var PropTypes = _interopRequireWildcard(require("prop-types/prop-types"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
9
  var _export = require("../../components/style/export");
11
10
  var _sharedPropertyStyle = _interopRequireDefault(require("./shared-property-style"));
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
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
12
  function PropertyColor(_ref) {
15
13
  var value = _ref.value,
@@ -39,10 +37,10 @@ function PropertyColor(_ref) {
39
37
  })))));
40
38
  }
41
39
  PropertyColor.propTypes = {
42
- value: PropTypes.any.isRequired,
43
- onUpdate: PropTypes.func.isRequired,
44
- configs: PropTypes.object.isRequired,
45
- sourceElement: PropTypes.object,
46
- internalState: PropTypes.object,
47
- state: PropTypes.object.isRequired
40
+ value: _propTypes["default"].any.isRequired,
41
+ onUpdate: _propTypes["default"].func.isRequired,
42
+ configs: _propTypes["default"].object.isRequired,
43
+ sourceElement: _propTypes["default"].object,
44
+ internalState: _propTypes["default"].object,
45
+ state: _propTypes["default"].object.isRequired
48
46
  };