kitchen-simulator 1.1.1-test.5 → 1.1.1-test.6

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 (154) hide show
  1. package/es/KitchenConfigurator.js +9 -9
  2. package/es/KitchenConfiguratorApp.js +13 -13
  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 +6 -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 -1
  33. package/es/catalog/molding/molding-fbm/planner-element.js +1 -1
  34. package/es/catalog/molding/molding-lrm/planner-element.js +1 -1
  35. package/es/catalog/properties/export.js +9 -9
  36. package/es/catalog/properties/property-checkbox.js +3 -3
  37. package/es/catalog/properties/property-color.js +2 -2
  38. package/es/catalog/properties/property-enum.js +3 -3
  39. package/es/catalog/properties/property-lenght-measure.js +4 -4
  40. package/es/catalog/properties/property-length-measure.js +3 -3
  41. package/es/catalog/properties/property-length-measure_hole.js +4 -4
  42. package/es/catalog/properties/property-number.js +2 -2
  43. package/es/catalog/properties/property-read-only.js +2 -2
  44. package/es/catalog/properties/property-string.js +2 -2
  45. package/es/catalog/properties/property-toggle.js +2 -2
  46. package/es/catalog/utils/geom-utils.js +1 -1
  47. package/es/catalog/utils/item-loader.js +6 -6
  48. package/es/catalog/utils/load-obj.js +1 -1
  49. package/es/class/area.js +2 -2
  50. package/es/class/export.js +10 -10
  51. package/es/class/group.js +3 -3
  52. package/es/class/guide.js +1 -1
  53. package/es/class/hole.js +5 -5
  54. package/es/class/item.js +6 -6
  55. package/es/class/layer.js +4 -4
  56. package/es/class/line.js +4 -4
  57. package/es/class/project.js +7 -7
  58. package/es/class/vertex.js +5 -5
  59. package/es/components/content.js +5 -5
  60. package/es/components/export.js +3 -3
  61. package/es/components/style/button.js +1 -1
  62. package/es/components/style/cancel-button.js +1 -1
  63. package/es/components/style/content-title.js +1 -1
  64. package/es/components/style/delete-button.js +2 -2
  65. package/es/components/style/export.js +14 -14
  66. package/es/components/style/form-color-input.js +1 -1
  67. package/es/components/style/form-number-input.js +2 -2
  68. package/es/components/style/form-number-input_2.js +2 -2
  69. package/es/components/style/form-select.js +2 -2
  70. package/es/components/style/form-slider.js +1 -1
  71. package/es/components/style/form-submit-button.js +2 -2
  72. package/es/components/style/form-text-input.js +2 -2
  73. package/es/components/viewer2d/area.js +2 -2
  74. package/es/components/viewer2d/export.js +14 -14
  75. package/es/components/viewer2d/grids/grids.js +1 -1
  76. package/es/components/viewer2d/group.js +2 -2
  77. package/es/components/viewer2d/item.js +5 -5
  78. package/es/components/viewer2d/layer.js +4 -4
  79. package/es/components/viewer2d/line.js +4 -4
  80. package/es/components/viewer2d/ruler.js +3 -3
  81. package/es/components/viewer2d/rulerX.js +1 -1
  82. package/es/components/viewer2d/rulerY.js +1 -1
  83. package/es/components/viewer2d/scene.js +2 -2
  84. package/es/components/viewer2d/snap.js +1 -1
  85. package/es/components/viewer2d/state.js +3 -3
  86. package/es/components/viewer2d/utils.js +2 -2
  87. package/es/components/viewer2d/vertex.js +1 -1
  88. package/es/components/viewer2d/viewer2d.js +9 -9
  89. package/es/components/viewer3d/front3D.js +2 -2
  90. package/es/components/viewer3d/grid-creator.js +2 -2
  91. package/es/components/viewer3d/grids/grid-horizontal-streak.js +1 -1
  92. package/es/components/viewer3d/grids/grid-streak.js +1 -1
  93. package/es/components/viewer3d/grids/grid-vertical-streak.js +1 -1
  94. package/es/components/viewer3d/pointer-lock-navigation.js +1 -1
  95. package/es/components/viewer3d/ruler-utils/itemRect.js +1 -1
  96. package/es/components/viewer3d/ruler-utils/layer3D.js +5 -5
  97. package/es/components/viewer3d/ruler-utils/ruler3D.js +1 -1
  98. package/es/components/viewer3d/ruler-utils/scene3D.js +4 -4
  99. package/es/components/viewer3d/ruler-utils/state3D.js +1 -1
  100. package/es/components/viewer3d/scene-creator.js +10 -10
  101. package/es/components/viewer3d/viewer3d-first-person.js +5 -5
  102. package/es/components/viewer3d/viewer3d.js +10 -10
  103. package/es/index.js +14 -14
  104. package/es/models.js +3 -3
  105. package/es/plugins/autosave.js +1 -1
  106. package/es/plugins/console-debugger.js +1 -1
  107. package/es/plugins/export.js +3 -3
  108. package/es/plugins/keyboard.js +2 -2
  109. package/es/reducers/areas-reducer.js +2 -2
  110. package/es/reducers/export.js +11 -11
  111. package/es/reducers/groups-reducer.js +3 -3
  112. package/es/reducers/holes-reducer.js +3 -3
  113. package/es/reducers/items-reducer.js +3 -3
  114. package/es/reducers/lines-reducer.js +3 -3
  115. package/es/reducers/project-reducer.js +3 -3
  116. package/es/reducers/reducer.js +3 -3
  117. package/es/reducers/scene-reducer.js +3 -3
  118. package/es/reducers/user-reducer.js +1 -1
  119. package/es/reducers/vertices-reducer.js +3 -3
  120. package/es/reducers/viewer2d-reducer.js +1 -1
  121. package/es/reducers/viewer3d-reducer.js +3 -3
  122. package/es/styles/export.js +1 -1
  123. package/es/translator/translator.js +3 -3
  124. package/es/utils/export.js +11 -11
  125. package/es/utils/geometry.js +5 -5
  126. package/es/utils/graph-inner-cycles.js +3 -3
  127. package/es/utils/helper.js +3 -3
  128. package/es/utils/molding.js +5 -5
  129. package/es/utils/snap-scene.js +2 -2
  130. package/es/utils/snap.js +1 -1
  131. package/lib/KitchenConfiguratorApp.js +5 -5
  132. package/lib/catalog/areas/area/planner-element.js +7 -7
  133. package/lib/catalog/factories/wall-factory-3d.js +2 -2
  134. package/lib/catalog/factories/wall-factory.js +1 -1
  135. package/lib/catalog/holes/door-closet/planner-element.js +1 -1
  136. package/lib/catalog/holes/door-exterior/planner-element.js +1 -1
  137. package/lib/catalog/holes/door-interior/planner-element.js +1 -1
  138. package/lib/catalog/holes/door-sliding/planner-element.js +1 -1
  139. package/lib/catalog/holes/doorway-framed/planner-element.js +1 -1
  140. package/lib/catalog/holes/window-clear/planner-element.js +1 -1
  141. package/lib/catalog/holes/window-cross/planner-element.js +1 -1
  142. package/lib/catalog/holes/window-double-hung/planner-element.js +1 -1
  143. package/lib/catalog/holes/window-vertical/planner-element.js +1 -1
  144. package/lib/catalog/lines/wall/planner-element.js +11 -11
  145. package/lib/catalog/utils/geom-utils.js +1 -1
  146. package/lib/catalog/utils/item-loader.js +4 -4
  147. package/lib/catalog/utils/load-obj.js +1 -1
  148. package/lib/class/line.js +1 -1
  149. package/lib/class/vertex.js +1 -1
  150. package/lib/components/viewer2d/line.js +1 -1
  151. package/lib/components/viewer2d/viewer2d.js +15 -15
  152. package/lib/components/viewer3d/scene-creator.js +2 -2
  153. package/lib/utils/helper.js +1 -1
  154. package/package.json +3 -13
@@ -4,12 +4,12 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, 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
6
  import PropTypes from 'prop-types';
7
- import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNITS_LENGTH, UNIT_INCH } from './../../constants';
7
+ import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNITS_LENGTH, UNIT_INCH } from "./../../constants";
8
8
  import convert from 'convert-units';
9
- import { FormLabel, FormNumberInput, FormSelect } from '../../components/style/export';
9
+ import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
10
10
  import { Map } from 'immutable';
11
- import { toFixedFloat } from '../../utils/math';
12
- import PropertyStyle from './shared-property-style';
11
+ import { toFixedFloat } from "../../utils/math";
12
+ import PropertyStyle from "./shared-property-style";
13
13
  var internalTableStyle = {
14
14
  borderCollapse: 'collapse'
15
15
  };
@@ -6,11 +6,11 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var 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
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';
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
- import { FormLabel, FormNumberInput, FormSelect } from '../../components/style/export';
11
+ import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
12
12
  import { Map } from 'immutable';
13
- import { toFixedFloat } from '../../utils/math';
13
+ import { toFixedFloat } from "../../utils/math";
14
14
  import styled from 'styled-components';
15
15
  var DistanceFloorWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-top: 3px;\n"])));
16
16
  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);
@@ -4,12 +4,12 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, 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
6
  import PropTypes from 'prop-types';
7
- import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from '../../constants';
7
+ import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from "../../constants";
8
8
  import convert from 'convert-units';
9
- import { FormLabel, FormNumberInput1, FormSelect } from '../../components/style/export';
9
+ import { FormLabel, FormNumberInput1, FormSelect } from "../../components/style/export";
10
10
  import { Map } from 'immutable';
11
- import { toFixedFloat } from '../../utils/math';
12
- import PropertyStyle from './shared-property-style';
11
+ import { toFixedFloat } from "../../utils/math";
12
+ import PropertyStyle from "./shared-property-style";
13
13
  var internalTableStyle = {
14
14
  borderCollapse: 'collapse'
15
15
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { FormLabel, FormNumberInput } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
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,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { FormLabel } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
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,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { FormLabel, FormTextInput } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
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',
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { FormLabel, Button } from '../../components/style/export';
4
- import PropertyStyle from './shared-property-style';
3
+ import { FormLabel, Button } 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,
@@ -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';
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);
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 { Layer, Vertex, Group } from "./export";
12
+ import { IDBroker, NameGenerator } from "../utils/export";
13
13
  var Area = /*#__PURE__*/function () {
14
14
  function Area() {
15
15
  _classCallCheck(this, Area);
@@ -1,13 +1,13 @@
1
- import Project from './project';
2
- import Group from './group';
3
- import Layer from './layer';
4
- import Line from './line';
5
- import Hole from './hole';
6
- import Vertex from './vertex';
7
- import Area from './area';
8
- import Item from './item';
9
- import FuseUtils from './FuseUtils';
10
- import { HorizontalGuide, VerticalGuide } from './guide';
1
+ import Project from "./project";
2
+ import Group from "./group";
3
+ import Layer from "./layer";
4
+ import Line from "./line";
5
+ import Hole from "./hole";
6
+ import Vertex from "./vertex";
7
+ import Area from "./area";
8
+ import Item from "./item";
9
+ import FuseUtils from "./FuseUtils";
10
+ import { HorizontalGuide, VerticalGuide } from "./guide";
11
11
  export { Project, Group, FuseUtils, Layer, Line, Hole, Vertex, Area, Item, HorizontalGuide, VerticalGuide };
12
12
  export default {
13
13
  Project: Project,
package/es/class/group.js CHANGED
@@ -10,10 +10,10 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
10
10
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
12
  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); }
13
- import { Project, Line, Hole, Item, Area, Layer, Vertex } from './export';
13
+ import { Project, Line, Hole, Item, Area, Layer, Vertex } from "./export";
14
14
  import { Map, List } from 'immutable';
15
- import { Group as GroupModel } from '../models';
16
- import { IDBroker, MathUtils, GeometryUtils } from '../utils/export';
15
+ import { Group as GroupModel } from "../models";
16
+ import { IDBroker, MathUtils, GeometryUtils } from "../utils/export";
17
17
  var Group = /*#__PURE__*/function () {
18
18
  function Group() {
19
19
  _classCallCheck(this, Group);
package/es/class/guide.js CHANGED
@@ -4,7 +4,7 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
4
4
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
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
- import { IDBroker } from '../utils/export';
7
+ import { IDBroker } from "../utils/export";
8
8
  var HorizontalGuide = /*#__PURE__*/function () {
9
9
  function HorizontalGuide() {
10
10
  _classCallCheck(this, HorizontalGuide);
package/es/class/hole.js CHANGED
@@ -5,11 +5,11 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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 { Map, List, fromJS } from 'immutable';
8
- import { Layer, Group } from './export';
9
- import { IDBroker, NameGenerator } from '../utils/export';
10
- import { nearestSnap, addLineSegmentSnap } from '../utils/snap';
11
- import { MODE_IDLE, MODE_IDLE_3D, MODE_DRAWING_HOLE, MODE_DRAWING_HOLE_3D, MODE_DRAGGING_HOLE, MODE_DRAGGING_HOLE_3D } from '../constants';
12
- import { GeometryUtils } from '../utils/export';
8
+ import { Layer, Group } from "./export";
9
+ import { IDBroker, NameGenerator } from "../utils/export";
10
+ import { nearestSnap, addLineSegmentSnap } from "../utils/snap";
11
+ import { MODE_IDLE, MODE_IDLE_3D, MODE_DRAWING_HOLE, MODE_DRAWING_HOLE_3D, MODE_DRAGGING_HOLE, MODE_DRAGGING_HOLE_3D } from "../constants";
12
+ import { GeometryUtils } from "../utils/export";
13
13
  var Hole = /*#__PURE__*/function () {
14
14
  function Hole() {
15
15
  _classCallCheck(this, Hole);
package/es/class/item.js CHANGED
@@ -14,15 +14,15 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
15
  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); }
16
16
  import convert from 'convert-units';
17
- import { Layer, Group, Hole } from './export';
18
- import { IDBroker, NameGenerator, GeometryUtils, MoldingUtils } from '../utils/export';
17
+ import { Layer, Group, Hole } from "./export";
18
+ import { IDBroker, NameGenerator, GeometryUtils, MoldingUtils } from "../utils/export";
19
19
  import { Map, fromJS } from 'immutable';
20
20
  import path from 'path';
21
- import { MODE_IDLE, MODE_IDLE_3D, MODE_DRAWING_ITEM, MODE_DRAWING_ITEM_3D, MODE_DRAGGING_ITEM, MODE_DRAGGING_ITEM_3D, MODE_ROTATING_ITEM, MODE_ROTATING_ITEM_3D, MOLDING_LOCATIONS, INSTALLATION_SUFFIX_TYPE } from '../constants';
22
- import { debugUtil } from '../utils/helper';
21
+ import { MODE_IDLE, MODE_IDLE_3D, MODE_DRAWING_ITEM, MODE_DRAWING_ITEM_3D, MODE_DRAGGING_ITEM, MODE_DRAGGING_ITEM_3D, MODE_ROTATING_ITEM, MODE_ROTATING_ITEM_3D, MOLDING_LOCATIONS, INSTALLATION_SUFFIX_TYPE } from "../constants";
22
+ import { debugUtil } from "../utils/helper";
23
23
  import { isUndefined } from 'util';
24
- import { hasMoldingLayout } from '../utils/molding';
25
- import { getInstallationSuffix } from '../components/viewer2d/utils';
24
+ import { hasMoldingLayout } from "../utils/molding";
25
+ import { getInstallationSuffix } from "../components/viewer2d/utils";
26
26
  var allItemRect;
27
27
  var allItemSnap;
28
28
  var allLines;
package/es/class/layer.js CHANGED
@@ -5,10 +5,10 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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 { List } from 'immutable';
8
- import { Project, Area, Line, Hole, Item, Vertex } from './export';
9
- import { GraphInnerCycles, GeometryUtils, IDBroker } from '../utils/export';
10
- import { Layer as LayerModel } from '../models';
11
- import { isEmpty } from '../utils/helper';
8
+ import { Project, Area, Line, Hole, Item, Vertex } from "./export";
9
+ import { GraphInnerCycles, GeometryUtils, IDBroker } from "../utils/export";
10
+ import { Layer as LayerModel } from "../models";
11
+ import { isEmpty } from "../utils/helper";
12
12
  var sameSet = function sameSet(set1, set2) {
13
13
  return set1.size === set2.size && set1.isSuperset(set2) && set1.isSubset(set2);
14
14
  };
package/es/class/line.js CHANGED
@@ -11,11 +11,11 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
12
  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); }
13
13
  import { fromJS, List, Map } from 'immutable';
14
- import { Group, Hole, Layer, Vertex } from './export';
15
- import { GeometryUtils, history, IDBroker, NameGenerator, SnapSceneUtils, SnapUtils } from '../utils/export';
14
+ import { Group, Hole, Layer, Vertex } from "./export";
15
+ import { GeometryUtils, history, IDBroker, NameGenerator, SnapSceneUtils, SnapUtils } from "../utils/export";
16
16
  import * as Three from 'three';
17
- import { END_DRAGGING_LINE, END_DRAGGING_VERTEX, END_DRAWING_LINE, EPSILON, MIN_ANGLE_DISALLOW_DRAW_WALL, MODE_DRAGGING_LINE, MODE_DRAWING_LINE, MODE_IDLE, MODE_WAITING_DRAWING_LINE, UNIT_ANGLE } from '../constants';
18
- import { isEmpty } from 'src/utils/helper';
17
+ import { END_DRAGGING_LINE, END_DRAGGING_VERTEX, END_DRAWING_LINE, EPSILON, MIN_ANGLE_DISALLOW_DRAW_WALL, MODE_DRAGGING_LINE, MODE_DRAWING_LINE, MODE_IDLE, MODE_WAITING_DRAWING_LINE, UNIT_ANGLE } from "../constants";
18
+ import { isEmpty } from "../utils/helper";
19
19
  var timeGlobal = 0;
20
20
  var TimeRecorder = /*#__PURE__*/function () {
21
21
  function TimeRecorder(name) {
@@ -8,13 +8,13 @@ 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 { Map, List } from 'immutable';
11
- import { MODE_VIEWING_CATALOG, MODE_CONFIGURING_PROJECT, MODE_IDLE, MODE_DRAWING_ITEM_3D, MODE_3D_VIEW, MODE_DRAGGING_ITEM_3D, MODE_IDLE_3D, MODE_ROTATING_ITEM_3D, MODE_DRAWING_ITEM, MODE_DRAWING_LINE, MODE_WAITING_DRAWING_LINE, MODE_DRAWING_HOLE, ARRAY_3D_MODES, END_DRAWING_LINE } from '../constants';
12
- import * as constants from '../constants';
13
- import { State, Catalog, Scene } from '../models';
14
- import { GeometryUtils, history } from '../utils/export';
15
- import { Layer, Group, Line, Hole, Item, Area, HorizontalGuide, VerticalGuide } from '../class/export';
16
- import * as viewer2DActions from '../actions/viewer2d-actions';
17
- import { isEmpty } from '../utils/helper';
11
+ import { MODE_VIEWING_CATALOG, MODE_CONFIGURING_PROJECT, MODE_IDLE, MODE_DRAWING_ITEM_3D, MODE_3D_VIEW, MODE_DRAGGING_ITEM_3D, MODE_IDLE_3D, MODE_ROTATING_ITEM_3D, MODE_DRAWING_ITEM, MODE_DRAWING_LINE, MODE_WAITING_DRAWING_LINE, MODE_DRAWING_HOLE, ARRAY_3D_MODES, END_DRAWING_LINE } from "../constants";
12
+ import * as constants from "../constants";
13
+ import { State, Catalog, Scene } from "../models";
14
+ import { GeometryUtils, history } from "../utils/export";
15
+ import { Layer, Group, Line, Hole, Item, Area, HorizontalGuide, VerticalGuide } from "../class/export";
16
+ import * as viewer2DActions from "../actions/viewer2d-actions";
17
+ import { isEmpty } from "../utils/helper";
18
18
  var Project = /*#__PURE__*/function () {
19
19
  function Project() {
20
20
  _classCallCheck(this, Project);
@@ -6,11 +6,11 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
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
  import { List, Map } from 'immutable';
9
- import { Vertex as VertexModel } from '../models';
10
- import { GeometryUtils, IDBroker, SnapSceneUtils, SnapUtils } from '../utils/export';
11
- import { END_DRAGGING_VERTEX, MODE_DRAGGING_VERTEX } from '../constants';
12
- import { Layer, Line } from '../class/export';
13
- import { isEmpty } from 'src/utils/helper';
9
+ import { Vertex as VertexModel } from "../models";
10
+ import { GeometryUtils, IDBroker, SnapSceneUtils, SnapUtils } from "../utils/export";
11
+ import { END_DRAGGING_VERTEX, MODE_DRAGGING_VERTEX } from "../constants";
12
+ import { Layer, Line } from "../class/export";
13
+ import { isEmpty } from "../utils/helper";
14
14
  var Vertex = /*#__PURE__*/function () {
15
15
  function Vertex() {
16
16
  _classCallCheck(this, Vertex);
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import Viewer2D from './viewer2d/viewer2d';
4
- import Viewer3D from './viewer3d/viewer3d';
5
- import Viewer3DFirstPerson from './viewer3d/viewer3d-first-person';
6
- import * as constants from '../constants';
7
- import Front3D from './viewer3d/front3D';
3
+ import Viewer2D from "./viewer2d/viewer2d";
4
+ import Viewer3D from "./viewer3d/viewer3d";
5
+ import Viewer3DFirstPerson from "./viewer3d/viewer3d-first-person";
6
+ import * as constants from "../constants";
7
+ import Front3D from "./viewer3d/front3D";
8
8
  export default function Content(_ref, _ref2) {
9
9
  var width = _ref.width,
10
10
  height = _ref.height,
@@ -1,6 +1,6 @@
1
- import Content from './content';
2
- import Viewer2DComponents from './viewer2d/export';
3
- import StyleComponents from './style/export';
1
+ import Content from "./content";
2
+ import Viewer2DComponents from "./viewer2d/export";
3
+ import StyleComponents from "./style/export";
4
4
  export { Content, Viewer2DComponents, StyleComponents };
5
5
  export default {
6
6
  Content: Content,
@@ -17,7 +17,7 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
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
19
  import PropTypes from 'prop-types';
20
- import * as SharedStyle from '../../shared-style';
20
+ import * as SharedStyle from "../../shared-style";
21
21
  var BASE_STYLE = {
22
22
  display: 'inline-block',
23
23
  fontWeight: '400',
@@ -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 Button from './button';
6
+ import Button from "./button";
7
7
  var STYLE = {
8
8
  borderColor: '#adadad',
9
9
  backgroundColor: '#e6e6e6'
@@ -10,7 +10,7 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, 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
12
  import PropTypes from 'prop-types';
13
- import * as SharedStyle from '../../shared-style';
13
+ import * as SharedStyle from "../../shared-style";
14
14
  var STYLE = {
15
15
  color: SharedStyle.PRIMARY_COLOR.alt,
16
16
  fontWeight: 300
@@ -3,8 +3,8 @@ 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 Button from './button';
7
- import * as SharedStyle from '../../shared-style';
6
+ import Button from "./button";
7
+ import * as SharedStyle from "../../shared-style";
8
8
  var STYLE = {
9
9
  borderColor: '#c12e2a',
10
10
  backgroundColor: '#c9302c',
@@ -1,17 +1,17 @@
1
- import Button from './button';
2
- import CancelButton from './cancel-button';
3
- import ContentContainer from './content-container';
4
- import ContentTitle from './content-title';
5
- import DeleteButton from './delete-button';
6
- import FormBlock from './form-block';
7
- import FormColorInput from './form-color-input';
8
- import FormLabel from './form-label';
9
- import FormNumberInput from './form-number-input';
10
- import FormSelect from './form-select';
11
- import FormSlider from './form-slider';
12
- import FormSubmitButton from './form-submit-button';
13
- import FormTextInput from './form-text-input';
14
- import FormNumberInput2 from './form-number-input_2';
1
+ import Button from "./button";
2
+ import CancelButton from "./cancel-button";
3
+ import ContentContainer from "./content-container";
4
+ import ContentTitle from "./content-title";
5
+ import DeleteButton from "./delete-button";
6
+ import FormBlock from "./form-block";
7
+ import FormColorInput from "./form-color-input";
8
+ import FormLabel from "./form-label";
9
+ import FormNumberInput from "./form-number-input";
10
+ import FormSelect from "./form-select";
11
+ import FormSlider from "./form-slider";
12
+ import FormSubmitButton from "./form-submit-button";
13
+ import FormTextInput from "./form-text-input";
14
+ import FormNumberInput2 from "./form-number-input_2";
15
15
  export { Button, CancelButton, ContentContainer, ContentTitle, DeleteButton, FormBlock, FormColorInput, FormLabel, FormNumberInput, FormSelect, FormSlider, FormSubmitButton, FormTextInput, FormNumberInput2 };
16
16
  export default {
17
17
  Button: Button,
@@ -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 FormTextInput from './form-text-input';
6
+ import FormTextInput from "./form-text-input";
7
7
  var STYLE = {
8
8
  padding: 0,
9
9
  border: 0
@@ -15,9 +15,9 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
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
17
  import PropTypes from 'prop-types';
18
- import { KEYBOARD_BUTTON_CODE, TEXT_COLOR_NEUTRAL_0, SECONDARY_PURPLE_COLOR, DEFAULT_FONT_FAMILY } from '../../constants';
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
- import { isValidNumber } from '../../utils/helper';
20
+ import { isValidNumber } from "../../utils/helper";
21
21
  var StyledInput = styled.input(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n padding: 15px 25px 12px 0px;\n width: 120px;\n color: ", ";\n background-color: rgb(255, 255, 255);\n border: 2px solid;\n text-align: right;\n float: right;\n font-family: ", ";\n font-size: 16px;\n font-weight: 600;\n line-height: 17px;\n border-radius: 5px;\n outline: 0;\n :focus {\n border-color: ", ";\n }\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR);
22
22
  var FormNumberInput = /*#__PURE__*/function (_Component) {
23
23
  function FormNumberInput(props, context) {
@@ -16,9 +16,9 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
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
18
  import PropTypes from 'prop-types';
19
- import * as SharedStyle from '../../shared-style';
19
+ import * as SharedStyle from "../../shared-style";
20
20
  import { MdUpdate } from 'react-icons/md';
21
- import { KEYBOARD_BUTTON_CODE } from '../../constants';
21
+ import { KEYBOARD_BUTTON_CODE } from "../../constants";
22
22
  var STYLE_INPUT = {
23
23
  display: 'block',
24
24
  width: '100%',
@@ -5,9 +5,9 @@ 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 SharedStyle from '../../shared-style';
8
+ import * as SharedStyle from "../../shared-style";
9
9
  import styled from 'styled-components';
10
- import { TEXT_COLOR_NEUTRAL_3, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR } from '../../constants';
10
+ import { TEXT_COLOR_NEUTRAL_3, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR } from "../../constants";
11
11
  var StyledSelect = styled.select(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n width: 120px;\n float: right;\n padding: 15px 10px 12px 0px;\n color: ", ";\n border: 2px solid;\n font-family: ", ";\n font-size: 12px;\n font-weight: 600;\n line-height: 17px;\n text-align: right;\n outline: none;\n border-radius: 5px;\n :hover {\n border-color: ", ";\n }\n :focus {\n border-color: ", ";\n }\n"])), TEXT_COLOR_NEUTRAL_3, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, SECONDARY_PURPLE_COLOR);
12
12
  export default function FormSelect(_ref) {
13
13
  var children = _ref.children,
@@ -4,7 +4,7 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, 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
6
  import ReactRange from '@mapbox/react-range';
7
- import FormTextInput from './form-text-input';
7
+ import FormTextInput from "./form-text-input";
8
8
  var sliderContainerStyle = {
9
9
  display: 'inline-block',
10
10
  width: '80%',
@@ -3,8 +3,8 @@ 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 Button from './button';
7
- import * as SharedStyle from '../../shared-style';
6
+ import Button from "./button";
7
+ import * as SharedStyle from "../../shared-style";
8
8
  var STYLE = {
9
9
  borderColor: '#415375',
10
10
  backgroundColor: '#415375',
@@ -18,8 +18,8 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
18
18
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
19
19
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
20
20
  import React, { Component } from 'react';
21
- import * as SharedStyle from '../../shared-style';
22
- import { PROJECT_NAME_LENGTH_LIMIT, TEXT_COLOR_NEUTRAL_3, BG_COLOR_0, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR } from '../../constants';
21
+ import * as SharedStyle from "../../shared-style";
22
+ import { PROJECT_NAME_LENGTH_LIMIT, TEXT_COLOR_NEUTRAL_3, BG_COLOR_0, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR } from "../../constants";
23
23
  import styled from 'styled-components';
24
24
  var StyledInput = styled.input(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n padding: 15px 10px 12px 0px;\n width: 120px;\n font-family: ", ";\n font-size: 12px;\n font-weight: 600;\n line-height: 17px;\n color: ", ";\n background-color: ", ";\n border: 2px solid;\n text-align: right;\n float: right;\n border-radius: 5px;\n outline: 0;\n :focus {\n border-color: ", ";\n }\n"])), DEFAULT_FONT_FAMILY, TEXT_COLOR_NEUTRAL_3, BG_COLOR_0, SECONDARY_PURPLE_COLOR);
25
25
  var FormTextInput = /*#__PURE__*/function (_Component) {
@@ -3,8 +3,8 @@ 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';
6
- import { formatNumber } from '../../utils/math';
7
- import { DECIMAL_PLACES_2 } from '../../constants';
6
+ import { formatNumber } from "../../utils/math";
7
+ import { DECIMAL_PLACES_2 } from "../../constants";
8
8
  var STYLE_TEXT = {
9
9
  textAnchor: 'middle',
10
10
  fontSize: '12px',
@@ -1,17 +1,17 @@
1
- import Viewer2D from './viewer2d';
2
- import Vertex from './vertex';
3
- import State from './state';
4
- import Snap from './snap';
5
- import Scene from './scene';
6
- import Ruler from './ruler';
7
- import Line from './line';
8
- import Layer from './layer';
9
- import Item from './item';
10
- import Area from './area';
11
- import Grids from './grids/grids';
12
- import Group from './group';
13
- import RulerX from './rulerX';
14
- import RulerY from './rulerY';
1
+ import Viewer2D from "./viewer2d";
2
+ import Vertex from "./vertex";
3
+ import State from "./state";
4
+ import Snap from "./snap";
5
+ import Scene from "./scene";
6
+ import Ruler from "./ruler";
7
+ import Line from "./line";
8
+ import Layer from "./layer";
9
+ import Item from "./item";
10
+ import Area from "./area";
11
+ import Grids from "./grids/grids";
12
+ import Group from "./group";
13
+ import RulerX from "./rulerX";
14
+ import RulerY from "./rulerY";
15
15
  export { Viewer2D, Vertex, State, Snap, Scene, Ruler, Line, Layer, Item, Area, Grids, Group, RulerX, RulerY };
16
16
  export default {
17
17
  Viewer2D: Viewer2D,
@@ -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, { memo } from 'react';
8
8
  import PropTypes from 'prop-types';
9
- import GridStreak from './grid-streak';
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;
12
12
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import If from '../../utils/react-if';
4
- import * as sharedStyles from '../../shared-style';
3
+ import If from "../../utils/react-if";
4
+ import * as sharedStyles from "../../shared-style";
5
5
  var cx = 0;
6
6
  var cy = 0;
7
7
  var radius = 5;