kitchen-simulator 1.1.1-test.3 → 1.1.1-test.30

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 (229) hide show
  1. package/es/KitchenConfigurator.js +36 -37
  2. package/es/KitchenConfiguratorApp.js +47 -45
  3. package/es/actions/area-actions.js +1 -1
  4. package/es/actions/export.js +10 -10
  5. package/es/actions/groups-actions.js +1 -1
  6. package/es/actions/holes-actions.js +1 -1
  7. package/es/actions/items-actions.js +1 -1
  8. package/es/actions/lines-actions.js +1 -1
  9. package/es/actions/project-actions.js +1 -1
  10. package/es/actions/scene-actions.js +1 -1
  11. package/es/actions/vertices-actions.js +1 -1
  12. package/es/actions/viewer2d-actions.js +1 -1
  13. package/es/actions/viewer3d-actions.js +1 -1
  14. package/es/catalog/areas/area/planner-element.js +6 -6
  15. package/es/catalog/catalog.js +3 -3
  16. package/es/catalog/factories/area-factory-3d.js +1 -1
  17. package/es/catalog/factories/area-factory.js +3 -3
  18. package/es/catalog/factories/export.js +2 -2
  19. package/es/catalog/factories/wall-factory-3d.js +5 -5
  20. package/es/catalog/factories/wall-factory.js +7 -6
  21. package/es/catalog/holes/door-closet/planner-element.js +2 -2
  22. package/es/catalog/holes/door-exterior/planner-element.js +2 -2
  23. package/es/catalog/holes/door-interior/planner-element.js +2 -2
  24. package/es/catalog/holes/door-sliding/planner-element.js +2 -2
  25. package/es/catalog/holes/doorway-framed/planner-element.js +2 -2
  26. package/es/catalog/holes/export.js +13 -13
  27. package/es/catalog/holes/window-clear/planner-element.js +2 -2
  28. package/es/catalog/holes/window-cross/planner-element.js +2 -2
  29. package/es/catalog/holes/window-double-hung/planner-element.js +2 -2
  30. package/es/catalog/holes/window-vertical/planner-element.js +2 -2
  31. package/es/catalog/lines/wall/planner-element.js +10 -10
  32. package/es/catalog/molding/molding-dcm/planner-element.js +1 -3
  33. package/es/catalog/molding/molding-fbm/planner-element.js +1 -3
  34. package/es/catalog/molding/molding-lrm/planner-element.js +1 -3
  35. package/es/catalog/properties/export.js +9 -9
  36. package/es/catalog/properties/property-checkbox.js +11 -12
  37. package/es/catalog/properties/property-color.js +13 -11
  38. package/es/catalog/properties/property-enum.js +12 -12
  39. package/es/catalog/properties/property-hidden.js +11 -10
  40. package/es/catalog/properties/property-lenght-measure.js +19 -18
  41. package/es/catalog/properties/property-length-measure.js +18 -17
  42. package/es/catalog/properties/property-length-measure_hole.js +19 -18
  43. package/es/catalog/properties/property-number.js +13 -12
  44. package/es/catalog/properties/property-read-only.js +12 -11
  45. package/es/catalog/properties/property-string.js +12 -11
  46. package/es/catalog/properties/property-toggle.js +12 -11
  47. package/es/catalog/utils/geom-utils.js +1 -1
  48. package/es/catalog/utils/item-loader.js +6 -6
  49. package/es/catalog/utils/load-obj.js +1 -1
  50. package/es/catalog/utils/mtl-loader.js +2 -1
  51. package/es/catalog/utils/obj-loader.js +2 -1
  52. package/es/class/area.js +2 -2
  53. package/es/class/export.js +10 -10
  54. package/es/class/group.js +4 -4
  55. package/es/class/guide.js +1 -1
  56. package/es/class/hole.js +5 -6
  57. package/es/class/item.js +10 -12
  58. package/es/class/layer.js +4 -4
  59. package/es/class/line.js +4 -4
  60. package/es/class/project.js +8 -8
  61. package/es/class/vertex.js +5 -5
  62. package/es/components/content.js +16 -15
  63. package/es/components/disclaimer/disclaimer.js +66 -86
  64. package/es/components/export.js +3 -3
  65. package/es/components/style/button.js +9 -8
  66. package/es/components/style/cancel-button.js +1 -1
  67. package/es/components/style/content-container.js +2 -1
  68. package/es/components/style/content-title.js +2 -2
  69. package/es/components/style/delete-button.js +2 -2
  70. package/es/components/style/export.js +14 -14
  71. package/es/components/style/form-color-input.js +1 -1
  72. package/es/components/style/form-number-input.js +21 -22
  73. package/es/components/style/form-number-input_2.js +18 -19
  74. package/es/components/style/form-select.js +1 -2
  75. package/es/components/style/form-slider.js +1 -1
  76. package/es/components/style/form-submit-button.js +2 -2
  77. package/es/components/style/form-text-input.js +1 -2
  78. package/es/components/viewer2d/area.js +9 -8
  79. package/es/components/viewer2d/export.js +14 -14
  80. package/es/components/viewer2d/grids/grid-horizontal-streak.js +7 -7
  81. package/es/components/viewer2d/grids/grid-streak.js +7 -7
  82. package/es/components/viewer2d/grids/grid-vertical-streak.js +7 -7
  83. package/es/components/viewer2d/grids/grids.js +7 -5
  84. package/es/components/viewer2d/group.js +14 -12
  85. package/es/components/viewer2d/item.js +17 -17
  86. package/es/components/viewer2d/layer.js +11 -10
  87. package/es/components/viewer2d/line.js +14 -16
  88. package/es/components/viewer2d/ruler.js +9 -9
  89. package/es/components/viewer2d/rulerDist.js +7 -6
  90. package/es/components/viewer2d/rulerX.js +18 -18
  91. package/es/components/viewer2d/rulerY.js +16 -16
  92. package/es/components/viewer2d/scene.js +11 -13
  93. package/es/components/viewer2d/snap.js +8 -7
  94. package/es/components/viewer2d/state.js +10 -9
  95. package/es/components/viewer2d/utils.js +2 -2
  96. package/es/components/viewer2d/vertex.js +7 -6
  97. package/es/components/viewer2d/viewer2d.js +27 -25
  98. package/es/components/viewer3d/front3D.js +3 -3
  99. package/es/components/viewer3d/grid-creator.js +2 -2
  100. package/es/components/viewer3d/grids/grid-horizontal-streak.js +1 -1
  101. package/es/components/viewer3d/grids/grid-streak.js +0 -1
  102. package/es/components/viewer3d/grids/grid-vertical-streak.js +1 -1
  103. package/es/components/viewer3d/libs/mtl-loader.js +1 -1
  104. package/es/components/viewer3d/libs/obj-loader.js +1 -1
  105. package/es/components/viewer3d/libs/orbit-controls.js +5 -4
  106. package/es/components/viewer3d/libs/pointer-lock-controls.js +4 -3
  107. package/es/components/viewer3d/pointer-lock-navigation.js +1 -1
  108. package/es/components/viewer3d/ruler-utils/itemRect.js +1 -1
  109. package/es/components/viewer3d/ruler-utils/layer3D.js +5 -5
  110. package/es/components/viewer3d/ruler-utils/ruler3D.js +1 -1
  111. package/es/components/viewer3d/ruler-utils/scene3D.js +2 -4
  112. package/es/components/viewer3d/ruler-utils/state3D.js +1 -1
  113. package/es/components/viewer3d/scene-creator.js +10 -10
  114. package/es/components/viewer3d/viewer3d-first-person.js +20 -21
  115. package/es/components/viewer3d/viewer3d.js +31 -34
  116. package/es/index.js +14 -14
  117. package/es/models.js +4 -4
  118. package/es/plugins/autosave.js +1 -1
  119. package/es/plugins/console-debugger.js +1 -1
  120. package/es/plugins/export.js +3 -3
  121. package/es/plugins/keyboard.js +2 -2
  122. package/es/reducers/areas-reducer.js +2 -2
  123. package/es/reducers/export.js +11 -11
  124. package/es/reducers/groups-reducer.js +3 -3
  125. package/es/reducers/holes-reducer.js +3 -3
  126. package/es/reducers/items-reducer.js +3 -6
  127. package/es/reducers/lines-reducer.js +3 -3
  128. package/es/reducers/project-reducer.js +3 -3
  129. package/es/reducers/reducer.js +3 -3
  130. package/es/reducers/scene-reducer.js +3 -3
  131. package/es/reducers/user-reducer.js +1 -2
  132. package/es/reducers/vertices-reducer.js +3 -3
  133. package/es/reducers/viewer2d-reducer.js +1 -1
  134. package/es/reducers/viewer3d-reducer.js +3 -3
  135. package/es/styles/export.js +1 -1
  136. package/es/translator/translator.js +3 -3
  137. package/es/utils/export.js +11 -11
  138. package/es/utils/geometry.js +6 -6
  139. package/es/utils/get-edges-of-subgraphs.js +2 -1
  140. package/es/utils/graph-cycles.js +2 -3
  141. package/es/utils/graph-inner-cycles.js +3 -3
  142. package/es/utils/graph.js +2 -1
  143. package/es/utils/helper.js +3 -71
  144. package/es/utils/molding.js +5 -5
  145. package/es/utils/react-if.js +6 -5
  146. package/es/utils/snap-scene.js +3 -3
  147. package/es/utils/snap.js +2 -2
  148. package/lib/KitchenConfigurator.js +27 -29
  149. package/lib/KitchenConfiguratorApp.js +42 -41
  150. package/lib/catalog/areas/area/planner-element.js +7 -7
  151. package/lib/catalog/factories/wall-factory-3d.js +1 -1
  152. package/lib/catalog/factories/wall-factory.js +1 -1
  153. package/lib/catalog/holes/door-closet/planner-element.js +1 -1
  154. package/lib/catalog/holes/door-exterior/planner-element.js +1 -1
  155. package/lib/catalog/holes/door-interior/planner-element.js +1 -1
  156. package/lib/catalog/holes/door-sliding/planner-element.js +1 -1
  157. package/lib/catalog/holes/doorway-framed/planner-element.js +1 -1
  158. package/lib/catalog/holes/export.js +13 -13
  159. package/lib/catalog/holes/window-clear/planner-element.js +1 -1
  160. package/lib/catalog/holes/window-cross/planner-element.js +1 -1
  161. package/lib/catalog/holes/window-double-hung/planner-element.js +1 -1
  162. package/lib/catalog/holes/window-vertical/planner-element.js +1 -1
  163. package/lib/catalog/lines/wall/planner-element.js +11 -11
  164. package/lib/catalog/molding/molding-dcm/planner-element.js +0 -5
  165. package/lib/catalog/molding/molding-fbm/planner-element.js +0 -5
  166. package/lib/catalog/molding/molding-lrm/planner-element.js +0 -5
  167. package/lib/catalog/properties/property-checkbox.js +10 -12
  168. package/lib/catalog/properties/property-color.js +11 -9
  169. package/lib/catalog/properties/property-enum.js +10 -11
  170. package/lib/catalog/properties/property-hidden.js +11 -11
  171. package/lib/catalog/properties/property-lenght-measure.js +15 -15
  172. package/lib/catalog/properties/property-length-measure.js +15 -15
  173. package/lib/catalog/properties/property-length-measure_hole.js +15 -15
  174. package/lib/catalog/properties/property-number.js +12 -10
  175. package/lib/catalog/properties/property-read-only.js +11 -9
  176. package/lib/catalog/properties/property-string.js +11 -9
  177. package/lib/catalog/properties/property-toggle.js +11 -9
  178. package/lib/catalog/utils/geom-utils.js +1 -1
  179. package/lib/catalog/utils/item-loader.js +4 -6
  180. package/lib/catalog/utils/load-obj.js +1 -1
  181. package/lib/catalog/utils/mtl-loader.js +6 -2
  182. package/lib/catalog/utils/obj-loader.js +6 -2
  183. package/lib/class/item.js +3 -5
  184. package/lib/class/line.js +1 -1
  185. package/lib/class/vertex.js +1 -1
  186. package/lib/components/content.js +12 -10
  187. package/lib/components/disclaimer/disclaimer.js +66 -86
  188. package/lib/components/style/button.js +8 -9
  189. package/lib/components/style/content-container.js +5 -4
  190. package/lib/components/style/content-title.js +2 -3
  191. package/lib/components/style/form-number-input.js +19 -21
  192. package/lib/components/style/form-number-input_2.js +16 -19
  193. package/lib/components/style/form-select.js +0 -3
  194. package/lib/components/style/form-text-input.js +0 -1
  195. package/lib/components/viewer2d/area.js +8 -6
  196. package/lib/components/viewer2d/grids/grid-horizontal-streak.js +8 -7
  197. package/lib/components/viewer2d/grids/grid-streak.js +8 -7
  198. package/lib/components/viewer2d/grids/grid-vertical-streak.js +8 -7
  199. package/lib/components/viewer2d/grids/grids.js +5 -5
  200. package/lib/components/viewer2d/group.js +13 -10
  201. package/lib/components/viewer2d/item.js +12 -12
  202. package/lib/components/viewer2d/layer.js +8 -6
  203. package/lib/components/viewer2d/line.js +12 -13
  204. package/lib/components/viewer2d/ruler.js +8 -7
  205. package/lib/components/viewer2d/rulerDist.js +8 -6
  206. package/lib/components/viewer2d/rulerX.js +17 -19
  207. package/lib/components/viewer2d/rulerY.js +15 -17
  208. package/lib/components/viewer2d/scene.js +9 -13
  209. package/lib/components/viewer2d/snap.js +8 -6
  210. package/lib/components/viewer2d/state.js +7 -7
  211. package/lib/components/viewer2d/vertex.js +7 -5
  212. package/lib/components/viewer2d/viewer2d.js +19 -20
  213. package/lib/components/viewer3d/grids/grid-streak.js +0 -1
  214. package/lib/components/viewer3d/libs/mtl-loader.js +5 -1
  215. package/lib/components/viewer3d/libs/obj-loader.js +5 -1
  216. package/lib/components/viewer3d/libs/orbit-controls.js +9 -4
  217. package/lib/components/viewer3d/libs/pointer-lock-controls.js +8 -3
  218. package/lib/components/viewer3d/ruler-utils/scene3D.js +0 -2
  219. package/lib/components/viewer3d/scene-creator.js +1 -1
  220. package/lib/components/viewer3d/viewer3d-first-person.js +14 -16
  221. package/lib/components/viewer3d/viewer3d.js +21 -24
  222. package/lib/reducers/user-reducer.js +0 -1
  223. package/lib/utils/geometry.js +1 -1
  224. package/lib/utils/get-edges-of-subgraphs.js +7 -1
  225. package/lib/utils/graph-cycles.js +9 -9
  226. package/lib/utils/graph.js +9 -3
  227. package/lib/utils/helper.js +2 -70
  228. package/lib/utils/react-if.js +7 -5
  229. package/package.json +12 -28
@@ -1,9 +1,9 @@
1
- import { ElementsFactories } from 'KitchenConfigurator';
1
+ import { ElementsFactories } from "../../..";
2
2
  var info = {
3
3
  title: 'wall',
4
4
  tag: ['wall'],
5
5
  description: 'Wall with bricks or painted',
6
- image: require('./wall.png'),
6
+ image: require("./wall.png"),
7
7
  visibility: {
8
8
  catalog: true,
9
9
  layerElementsVisible: true
@@ -12,11 +12,11 @@ var info = {
12
12
  var textures = {
13
13
  plaster: {
14
14
  name: 'Plaster',
15
- uri: require('./textures/plaster.jpg'),
15
+ uri: require("./textures/plaster.jpg"),
16
16
  lengthRepeatScale: 0.005,
17
17
  heightRepeatScale: 0.005,
18
18
  normal: {
19
- uri: require('./textures/plaster-normal.jpg'),
19
+ uri: require("./textures/plaster-normal.jpg"),
20
20
  lengthRepeatScale: 0.005,
21
21
  heightRepeatScale: 0.005,
22
22
  normalScaleX: 0.4,
@@ -26,11 +26,11 @@ var textures = {
26
26
  },
27
27
  bricks: {
28
28
  name: 'Bricks',
29
- uri: require('./textures/bricks.jpg'),
29
+ uri: require("./textures/bricks.jpg"),
30
30
  lengthRepeatScale: 0.009,
31
31
  heightRepeatScale: 0.009,
32
32
  normal: {
33
- uri: require('./textures/bricks-normal.jpg'),
33
+ uri: require("./textures/bricks-normal.jpg"),
34
34
  lengthRepeatScale: 0.009,
35
35
  heightRepeatScale: 0.009,
36
36
  normalScaleX: 0.4,
@@ -40,11 +40,11 @@ var textures = {
40
40
  },
41
41
  painted: {
42
42
  name: 'Painted',
43
- uri: require('./textures/painted.jpg'),
43
+ uri: require("./textures/painted.jpg"),
44
44
  lengthRepeatScale: 0.005,
45
45
  heightRepeatScale: 0.005,
46
46
  normal: {
47
- uri: require('./textures/painted-normal.jpg'),
47
+ uri: require("./textures/painted-normal.jpg"),
48
48
  lengthRepeatScale: 0.005,
49
49
  heightRepeatScale: 0.005,
50
50
  normalScaleX: 0.4,
@@ -54,11 +54,11 @@ var textures = {
54
54
  },
55
55
  morden: {
56
56
  name: 'Morden',
57
- uri: require('./textures/morden.jpg'),
57
+ uri: require("./textures/morden.jpg"),
58
58
  lengthRepeatScale: 0.005,
59
59
  heightRepeatScale: 0.005,
60
60
  normal: {
61
- uri: require('./textures/morden-normal.jpg'),
61
+ uri: require("./textures/morden-normal.jpg"),
62
62
  lengthRepeatScale: 0.005,
63
63
  heightRepeatScale: 0.005,
64
64
  normalScaleX: 0.4,
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import * as Three from 'three';
3
- import { loadGLTF } from '../../utils/load-obj';
1
+ import { loadGLTF } from "../../utils/load-obj";
4
2
  var cached3DMolding = null;
5
3
  export default {
6
4
  name: 'Dcm',
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import * as Three from 'three';
3
- import { loadGLTF } from '../../utils/load-obj';
1
+ import { loadGLTF } from "../../utils/load-obj";
4
2
  var cached3DMolding = null;
5
3
  export default {
6
4
  name: 'Fbm',
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import * as Three from 'three';
3
- import { loadGLTF } from '../../utils/load-obj';
1
+ import { loadGLTF } from "../../utils/load-obj";
4
2
  var cached3DMolding = null;
5
3
  export default {
6
4
  name: 'Lrm',
@@ -1,12 +1,12 @@
1
- import PropertyColor from './property-color';
2
- import PropertyEnum from './property-enum';
3
- import PropertyString from './property-string';
4
- import PropertyNumber from './property-number';
5
- import PropertyLengthMeasure from './property-length-measure';
6
- import PropertyToggle from './property-toggle';
7
- import PropertyCheckbox from './property-checkbox';
8
- import PropertyHidden from './property-hidden';
9
- import PropertyReadOnly from './property-read-only';
1
+ import PropertyColor from "./property-color";
2
+ import PropertyEnum from "./property-enum";
3
+ import PropertyString from "./property-string";
4
+ import PropertyNumber from "./property-number";
5
+ import PropertyLengthMeasure from "./property-length-measure";
6
+ import PropertyToggle from "./property-toggle";
7
+ import PropertyCheckbox from "./property-checkbox";
8
+ import PropertyHidden from "./property-hidden";
9
+ import PropertyReadOnly from "./property-read-only";
10
10
  export { PropertyColor, PropertyEnum, PropertyString, PropertyNumber, PropertyLengthMeasure, PropertyToggle, PropertyCheckbox, PropertyHidden, PropertyReadOnly };
11
11
  export default {
12
12
  PropertyColor: PropertyColor,
@@ -7,11 +7,9 @@ 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 PropTypes from '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
- import { DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, TEXT_COLOR_NEUTRAL_0 } from '../../constants';
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"])));
16
14
  var FlipTitle = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: auto;\n color: ", ";\n font-family: ", ";\n font-size: 16px;\n font-weight: 600;\n line-height: 18px;\n text-align: left;\n"])), SECONDARY_PURPLE_COLOR, DEFAULT_FONT_FAMILY);
17
15
  var FlipDescription = styled.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-right: auto;\n color: ", ";\n font-family: ", ";\n font-size: 13px;\n font-weight: 400;\n line-height: 18px;\n text-align: left;\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY);
@@ -61,11 +59,12 @@ export default function PropertyCheckbox(_ref) {
61
59
  }
62
60
  }))));
63
61
  }
64
- PropertyCheckbox.propTypes = {
65
- value: PropTypes.any.isRequired,
66
- onUpdate: PropTypes.func.isRequired,
67
- configs: PropTypes.object.isRequired,
68
- sourceElement: PropTypes.object,
69
- internalState: PropTypes.object,
70
- state: PropTypes.object.isRequired
71
- };
62
+
63
+ // PropertyCheckbox.propTypes = {
64
+ // value: PropTypes.any.isRequired,
65
+ // onUpdate: PropTypes.func.isRequired,
66
+ // configs: PropTypes.object.isRequired,
67
+ // sourceElement: PropTypes.object,
68
+ // internalState: PropTypes.object,
69
+ // state: PropTypes.object.isRequired
70
+ // };
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { FormLabel, FormColorInput } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
2
+
3
+ //import PropTypes from 'prop-types';
4
+ import { FormColorInput, FormLabel } from "../../components/style/export";
5
+ import PropertyStyle from "./shared-property-style";
5
6
  export default function PropertyColor(_ref) {
6
7
  var value = _ref.value,
7
8
  onUpdate = _ref.onUpdate,
@@ -29,11 +30,12 @@ export default function PropertyColor(_ref) {
29
30
  }
30
31
  })))));
31
32
  }
32
- PropertyColor.propTypes = {
33
- value: PropTypes.any.isRequired,
34
- onUpdate: PropTypes.func.isRequired,
35
- configs: PropTypes.object.isRequired,
36
- sourceElement: PropTypes.object,
37
- internalState: PropTypes.object,
38
- state: PropTypes.object.isRequired
39
- };
33
+
34
+ // PropertyColor.propTypes = {
35
+ // value: PropTypes.any.isRequired,
36
+ // onUpdate: PropTypes.func.isRequired,
37
+ // configs: PropTypes.object.isRequired,
38
+ // sourceElement: PropTypes.object,
39
+ // internalState: PropTypes.object,
40
+ // state: PropTypes.object.isRequired
41
+ // };
@@ -7,12 +7,11 @@ 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 PropTypes from 'prop-types';
10
+ //import PropTypes from 'prop-types';
11
11
  import { Seq } from 'immutable';
12
- import { FormLabel, FormSelect } from '../../components/style/export';
13
- import PropertyStyle from './shared-property-style';
12
+ import { FormSelect } from "../../components/style/export";
14
13
  import styled from 'styled-components';
15
- import { TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY } from '../../constants';
14
+ import { DEFAULT_FONT_FAMILY, TEXT_COLOR_NEUTRAL_0 } from "../../constants";
16
15
  var EnumWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-top: 3px;\n"])));
17
16
  var EnumTitle = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: auto;\n width: 110px;\n color: ", ";\n font-family: ", ";\n\n @media screen and (min-width: 1024) {\n font-size: 11px;\n }\n @media screen and (max-width: 1024) {\n font-size: 11px;\n }\n @media screen and (min-width: 1366) {\n font-size: 13px;\n }\n @media screen and (max-width: 1366) {\n font-size: 13px;\n }\n @media screen and (min-width: 1440) {\n font-size: 16px;\n }\n @media screen and (max-width: 1440) {\n font-size: 16px;\n }\n font-weight: 400;\n line-height: 15px;\n text-align: left;\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY);
18
17
  export default function PropertyEnum(_ref) {
@@ -45,11 +44,12 @@ export default function PropertyEnum(_ref) {
45
44
  }, value);
46
45
  })));
47
46
  }
48
- PropertyEnum.propTypes = {
49
- value: PropTypes.any.isRequired,
50
- onUpdate: PropTypes.func.isRequired,
51
- configs: PropTypes.object.isRequired,
52
- sourceElement: PropTypes.object,
53
- internalState: PropTypes.object,
54
- state: PropTypes.object.isRequired
55
- };
47
+
48
+ // PropertyEnum.propTypes = {
49
+ // value: PropTypes.any.isRequired,
50
+ // onUpdate: PropTypes.func.isRequired,
51
+ // configs: PropTypes.object.isRequired,
52
+ // sourceElement: PropTypes.object,
53
+ // internalState: PropTypes.object,
54
+ // state: PropTypes.object.isRequired
55
+ // };
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
1
+ //import PropTypes from 'prop-types';
2
+
3
3
  export default function PropertyHidden(_ref) {
4
4
  var value = _ref.value,
5
5
  onUpdate = _ref.onUpdate,
@@ -9,11 +9,12 @@ export default function PropertyHidden(_ref) {
9
9
  state = _ref.state;
10
10
  return null;
11
11
  }
12
- PropertyHidden.propTypes = {
13
- value: PropTypes.any.isRequired,
14
- onUpdate: PropTypes.func.isRequired,
15
- configs: PropTypes.object.isRequired,
16
- sourceElement: PropTypes.object,
17
- internalState: PropTypes.object,
18
- state: PropTypes.object.isRequired
19
- };
12
+
13
+ // PropertyHidden.propTypes = {
14
+ // value: PropTypes.any.isRequired,
15
+ // onUpdate: PropTypes.func.isRequired,
16
+ // configs: PropTypes.object.isRequired,
17
+ // sourceElement: PropTypes.object,
18
+ // internalState: PropTypes.object,
19
+ // state: PropTypes.object.isRequired
20
+ // };
@@ -3,13 +3,12 @@ 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 PropTypes from 'prop-types';
7
- import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNITS_LENGTH, UNIT_INCH } from './../../constants';
6
+ //import PropTypes from 'prop-types';
7
+ import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNIT_INCH, UNITS_LENGTH } from "./../../constants";
8
8
  import convert from 'convert-units';
9
- import { FormLabel, FormNumberInput, FormSelect } from '../../components/style/export';
10
- import { Map } from 'immutable';
11
- import { toFixedFloat } from '../../utils/math';
12
- import PropertyStyle from './shared-property-style';
9
+ import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
10
+ import { toFixedFloat } from "../../utils/math";
11
+ import PropertyStyle from "./shared-property-style";
13
12
  var internalTableStyle = {
14
13
  borderCollapse: 'collapse'
15
14
  };
@@ -87,15 +86,17 @@ export default function PropertyLengthMeasure(_ref, _ref2) {
87
86
  }, el);
88
87
  }))))))))));
89
88
  }
90
- PropertyLengthMeasure.propTypes = {
91
- value: PropTypes.instanceOf(Map).isRequired,
92
- onUpdate: PropTypes.func.isRequired,
93
- onValid: PropTypes.func,
94
- configs: PropTypes.object.isRequired,
95
- sourceElement: PropTypes.object,
96
- internalState: PropTypes.object,
97
- state: PropTypes.object.isRequired
98
- };
99
- PropertyLengthMeasure.contextTypes = {
100
- catalog: PropTypes.object.isRequired
101
- };
89
+
90
+ // PropertyLengthMeasure.propTypes = {
91
+ // value: PropTypes.instanceOf(Map).isRequired,
92
+ // onUpdate: PropTypes.func.isRequired,
93
+ // onValid: PropTypes.func,
94
+ // configs: PropTypes.object.isRequired,
95
+ // sourceElement: PropTypes.object,
96
+ // internalState: PropTypes.object,
97
+ // state: PropTypes.object.isRequired
98
+ // };
99
+
100
+ // PropertyLengthMeasure.contextTypes = {
101
+ // catalog: PropTypes.object.isRequired
102
+ // };
@@ -5,12 +5,11 @@ 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 PropTypes from 'prop-types';
9
- import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, DEFAULT_FONT_FAMILY, TEXT_COLOR_NEUTRAL_0, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from '../../constants';
8
+ //import PropTypes from 'prop-types';
9
+ import { BASE_CABINET_LAYOUTPOS, DEFAULT_FONT_FAMILY, TALL_CABINET_LAYOUTPOS, TEXT_COLOR_NEUTRAL_0, UNIT_CENTIMETER, UNIT_INCH } from "../../constants";
10
10
  import convert from 'convert-units';
11
- import { FormLabel, FormNumberInput, FormSelect } from '../../components/style/export';
12
- import { Map } from 'immutable';
13
- import { toFixedFloat } from '../../utils/math';
11
+ import { FormNumberInput } from "../../components/style/export";
12
+ import { toFixedFloat } from "../../utils/math";
14
13
  import styled from 'styled-components';
15
14
  var DistanceFloorWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-top: 3px;\n"])));
16
15
  var DistanceFloorTitle = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: auto;\n width: 110px;\n color: ", ";\n font-family: ", ";\n font-size: 16px;\n\n @media screen and (min-width: 1024) {\n font-size: 11px;\n }\n @media screen and (max-width: 1024) {\n font-size: 11px;\n }\n @media screen and (min-width: 1366) {\n font-size: 13px;\n }\n @media screen and (max-width: 1366) {\n font-size: 13px;\n }\n @media screen and (min-width: 1440) {\n font-size: 16px;\n }\n @media screen and (max-width: 1440) {\n font-size: 16px;\n }\n font-weight: 400;\n line-height: 15px;\n text-align: left;\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY);
@@ -71,15 +70,17 @@ export default function PropertyLengthMeasure(_ref, _ref2) {
71
70
  }
72
71
  }, configRest)));
73
72
  }
74
- PropertyLengthMeasure.propTypes = {
75
- value: PropTypes.instanceOf(Map).isRequired,
76
- onUpdate: PropTypes.func.isRequired,
77
- onValid: PropTypes.func,
78
- configs: PropTypes.object.isRequired,
79
- sourceElement: PropTypes.object,
80
- internalState: PropTypes.object,
81
- state: PropTypes.object.isRequired
82
- };
83
- PropertyLengthMeasure.contextTypes = {
84
- catalog: PropTypes.object.isRequired
85
- };
73
+
74
+ // PropertyLengthMeasure.propTypes = {
75
+ // value: PropTypes.instanceOf(Map).isRequired,
76
+ // onUpdate: PropTypes.func.isRequired,
77
+ // onValid: PropTypes.func,
78
+ // configs: PropTypes.object.isRequired,
79
+ // sourceElement: PropTypes.object,
80
+ // internalState: PropTypes.object,
81
+ // state: PropTypes.object.isRequired
82
+ // };
83
+
84
+ // PropertyLengthMeasure.contextTypes = {
85
+ // catalog: PropTypes.object.isRequired
86
+ // };
@@ -3,13 +3,12 @@ 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 PropTypes from 'prop-types';
7
- import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from '../../constants';
6
+ //import PropTypes from 'prop-types';
7
+ import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNIT_INCH, UNITS_LENGTH } from "../../constants";
8
8
  import convert from 'convert-units';
9
- import { FormLabel, FormNumberInput1, FormSelect } from '../../components/style/export';
10
- import { Map } from 'immutable';
11
- import { toFixedFloat } from '../../utils/math';
12
- import PropertyStyle from './shared-property-style';
9
+ import { FormLabel, FormNumberInput1, FormSelect } from "../../components/style/export";
10
+ import { toFixedFloat } from "../../utils/math";
11
+ import PropertyStyle from "./shared-property-style";
13
12
  var internalTableStyle = {
14
13
  borderCollapse: 'collapse'
15
14
  };
@@ -87,15 +86,17 @@ export default function PropertyLengthMeasureHole(_ref, _ref2) {
87
86
  }, el);
88
87
  }))))))))));
89
88
  }
90
- PropertyLengthMeasureHole.propTypes = {
91
- value: PropTypes.instanceOf(Map).isRequired,
92
- onUpdate: PropTypes.func.isRequired,
93
- onValid: PropTypes.func,
94
- configs: PropTypes.object.isRequired,
95
- sourceElement: PropTypes.object,
96
- internalState: PropTypes.object,
97
- state: PropTypes.object.isRequired
98
- };
99
- PropertyLengthMeasureHole.contextTypes = {
100
- catalog: PropTypes.object.isRequired
101
- };
89
+
90
+ // PropertyLengthMeasureHole.propTypes = {
91
+ // value: PropTypes.instanceOf(Map).isRequired,
92
+ // onUpdate: PropTypes.func.isRequired,
93
+ // onValid: PropTypes.func,
94
+ // configs: PropTypes.object.isRequired,
95
+ // sourceElement: PropTypes.object,
96
+ // internalState: PropTypes.object,
97
+ // state: PropTypes.object.isRequired
98
+ // };
99
+
100
+ // PropertyLengthMeasureHole.contextTypes = {
101
+ // catalog: PropTypes.object.isRequired
102
+ // };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { FormLabel, FormNumberInput } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
2
+ //import PropTypes from 'prop-types';
3
+ import { FormLabel, FormNumberInput } from "../../components/style/export";
4
+ import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyNumber(_ref) {
6
6
  var value = _ref.value,
7
7
  onUpdate = _ref.onUpdate,
@@ -37,12 +37,13 @@ export default function PropertyNumber(_ref) {
37
37
  max: configs.max
38
38
  })))));
39
39
  }
40
- PropertyNumber.propTypes = {
41
- value: PropTypes.any.isRequired,
42
- onUpdate: PropTypes.func.isRequired,
43
- onValid: PropTypes.func,
44
- configs: PropTypes.object.isRequired,
45
- sourceElement: PropTypes.object,
46
- internalState: PropTypes.object,
47
- state: PropTypes.object.isRequired
48
- };
40
+
41
+ // PropertyNumber.propTypes = {
42
+ // value: PropTypes.any.isRequired,
43
+ // onUpdate: PropTypes.func.isRequired,
44
+ // onValid: PropTypes.func,
45
+ // configs: PropTypes.object.isRequired,
46
+ // sourceElement: PropTypes.object,
47
+ // internalState: PropTypes.object,
48
+ // state: PropTypes.object.isRequired
49
+ // };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { FormLabel } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
2
+ //import PropTypes from 'prop-types';
3
+ import { FormLabel } from "../../components/style/export";
4
+ import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyReadOnly(_ref) {
6
6
  var value = _ref.value,
7
7
  onUpdate = _ref.onUpdate,
@@ -16,11 +16,12 @@ export default function PropertyReadOnly(_ref) {
16
16
  style: PropertyStyle.firstTdStyle
17
17
  }, /*#__PURE__*/React.createElement(FormLabel, null, configs.label)), /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("div", null, value)))));
18
18
  }
19
- PropertyReadOnly.propTypes = {
20
- value: PropTypes.any.isRequired,
21
- onUpdate: PropTypes.func.isRequired,
22
- configs: PropTypes.object.isRequired,
23
- sourceElement: PropTypes.object,
24
- internalState: PropTypes.object,
25
- state: PropTypes.object.isRequired
26
- };
19
+
20
+ // PropertyReadOnly.propTypes = {
21
+ // value: PropTypes.any.isRequired,
22
+ // onUpdate: PropTypes.func.isRequired,
23
+ // configs: PropTypes.object.isRequired,
24
+ // sourceElement: PropTypes.object,
25
+ // internalState: PropTypes.object,
26
+ // state: PropTypes.object.isRequired
27
+ // };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { FormLabel, FormTextInput } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
2
+ //import PropTypes from 'prop-types';
3
+ import { FormLabel, FormTextInput } from "../../components/style/export";
4
+ import PropertyStyle from "./shared-property-style";
5
5
  var tableStyle = {
6
6
  width: '100%',
7
7
  borderSpacing: '2px 0',
@@ -38,11 +38,12 @@ export default function PropertyString(_ref) {
38
38
  }
39
39
  })))));
40
40
  }
41
- PropertyString.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
48
- };
41
+
42
+ // PropertyString.propTypes = {
43
+ // value: PropTypes.any.isRequired,
44
+ // onUpdate: PropTypes.func.isRequired,
45
+ // configs: PropTypes.object.isRequired,
46
+ // sourceElement: PropTypes.object,
47
+ // internalState: PropTypes.object,
48
+ // state: PropTypes.object.isRequired
49
+ // };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { FormLabel, Button } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
2
+ //import PropTypes from 'prop-types';
3
+ import { Button, FormLabel } from "../../components/style/export";
4
+ import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyToggle(_ref) {
6
6
  var value = _ref.value,
7
7
  onUpdate = _ref.onUpdate,
@@ -29,11 +29,12 @@ export default function PropertyToggle(_ref) {
29
29
  size: "small"
30
30
  }, configs.actionName)))));
31
31
  }
32
- PropertyToggle.propTypes = {
33
- value: PropTypes.any.isRequired,
34
- onUpdate: PropTypes.func.isRequired,
35
- configs: PropTypes.object.isRequired,
36
- sourceElement: PropTypes.object,
37
- internalState: PropTypes.object,
38
- state: PropTypes.object.isRequired
39
- };
32
+ //
33
+ // PropertyToggle.propTypes = {
34
+ // value: PropTypes.any.isRequired,
35
+ // onUpdate: PropTypes.func.isRequired,
36
+ // configs: PropTypes.object.isRequired,
37
+ // sourceElement: PropTypes.object,
38
+ // internalState: PropTypes.object,
39
+ // state: PropTypes.object.isRequired
40
+ // };
@@ -1,5 +1,5 @@
1
1
  import * as Three from 'three';
2
- import { OBJTYPE_MESH } from '../src/constants';
2
+ import { OBJTYPE_MESH } from "../../constants";
3
3
  export function controlGeom() {
4
4
  var vertices = new Float32Array([0, 0.02, 0.55, -0.08, 0, 0.5, -0.05, 0, 0.5, -0.05, 0, -0.5, -0.08, 0, -0.5, 0, 0.02, -0.55, 0.08, 0, -0.5, 0.05, 0, -0.5, 0.05, 0, 0.5, 0.08, 0, 0.5, 0, 0.02, 0.55, -0.08, 0.04, 0.5, -0.05, 0.04, 0.5, -0.05, 0.04, -0.5, -0.08, 0.04, -0.5, 0, 0.02, -0.55, 0.08, 0.04, -0.5, 0.05, 0.04, -0.5, 0.05, 0.04, 0.5, 0.08, 0.04, 0.5, 0, 0.02, 0.55]);
5
5
  var indices = new Uint16Array([0, 1, 9, 4, 5, 6, 2, 3, 8, 3, 7, 8, 10, 11, 19, 14, 15, 16, 12, 13, 18, 13, 17, 18, 10, 1, 11, 10, 9, 19, 1, 2, 11, 2, 12, 11, 8, 9, 18, 9, 18, 19, 12, 2, 3, 12, 3, 13, 17, 7, 8, 17, 8, 18, 5, 4, 14, 15, 6, 16]);
@@ -14,12 +14,12 @@ import convert from 'convert-units';
14
14
  import { fromJS, Map } from 'immutable';
15
15
  import React, { useState } from 'react';
16
16
  import * as Three from 'three';
17
- import * as SceneCreator from '../src/components/viewer3d/scene-creator';
18
- import { ARROW_COLOR, BASE_CABINET_LAYOUTPOS, OBJTYPE_GROUP, OBJTYPE_MESH, SHADE_DARK_PURPLE_COLOR, SHAPE_SVG_DEPTH, SHAPE_SVG_PADDING, SHAPE_SVG_WIDTH, STATUS_WARNING_COLOR, STATUS_WARNING_LIGHT_COLOR, TALL_CABINET_LAYOUTPOS, UNIT_CENTIMETER, UNIT_INCH, WALL_CABINET_LAYOUTPOS } from '../src/constants';
19
- import { Item } from '../src/models';
20
- import * as GeomUtils from './geom-utils';
21
- import { loadGLTF } from './load-obj';
22
- import { animateDoor, translateDrawer } from '../src/utils/helper'; // env Map ///////////////
17
+ import * as SceneCreator from "../../components/viewer3d/scene-creator";
18
+ import { ARROW_COLOR, BASE_CABINET_LAYOUTPOS, OBJTYPE_GROUP, OBJTYPE_MESH, SHADE_DARK_PURPLE_COLOR, SHAPE_SVG_DEPTH, SHAPE_SVG_PADDING, SHAPE_SVG_WIDTH, STATUS_WARNING_COLOR, STATUS_WARNING_LIGHT_COLOR, TALL_CABINET_LAYOUTPOS, UNIT_CENTIMETER, UNIT_INCH, WALL_CABINET_LAYOUTPOS } from "../../constants";
19
+ import { Item } from "../../models";
20
+ import * as GeomUtils from "./geom-utils";
21
+ import { loadGLTF } from "./load-obj";
22
+ import { animateDoor, translateDrawer } from "../../utils/helper";
23
23
 
24
24
  // env Map ///////////////
25
25
  var paramsCounter = {
@@ -3,7 +3,7 @@ import { MTLLoader } from 'three/examples/jsm/loaders/MTLLoader.js';
3
3
  import { OBJLoader } from 'three/examples/jsm/loaders/OBJLoader.js';
4
4
  import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
5
5
  import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js';
6
- import { OBJTYPE_MESH } from '../src/constants';
6
+ import { OBJTYPE_MESH } from "../../constants";
7
7
  export function loadObjWithMaterial(mtlFile, objFile, imgPath) {
8
8
  var manager = new LoadingManager();
9
9
  var mtlLoader = new MTLLoader(manager);
@@ -354,4 +354,5 @@ MTLLoader.MaterialCreator.prototype = {
354
354
  return texture;
355
355
  }
356
356
  };
357
- module.exports = MTLLoader;
357
+ export default MTLLoader;
358
+ export { MTLLoader };
@@ -473,4 +473,5 @@ OBJLoader = function () {
473
473
  };
474
474
  return OBJLoader;
475
475
  }();
476
- module.exports = OBJLoader;
476
+ export default OBJLoader;
477
+ export { OBJLoader };
package/es/class/area.js CHANGED
@@ -8,8 +8,8 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
8
8
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
9
9
  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); }
10
10
  import { fromJS } from 'immutable';
11
- import { Layer, Vertex, Group } from './export';
12
- import { IDBroker, NameGenerator } from '../utils/export';
11
+ import { Group, Layer, Vertex } from "./export";
12
+ import { IDBroker, NameGenerator } from "../utils/export";
13
13
  var Area = /*#__PURE__*/function () {
14
14
  function Area() {
15
15
  _classCallCheck(this, Area);