kitchen-simulator 1.1.1-test.71 → 1.1.1-test.72

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 (188) hide show
  1. package/es/@history.js +5 -2
  2. package/es/AppContext.js +6 -3
  3. package/es/KitchenConfigurator.js +86 -87
  4. package/es/KitchenConfiguratorApp.js +128 -135
  5. package/es/actions/area-actions.js +8 -5
  6. package/es/actions/export.js +24 -12
  7. package/es/actions/groups-actions.js +41 -27
  8. package/es/actions/holes-actions.js +51 -34
  9. package/es/actions/items-actions.js +141 -94
  10. package/es/actions/lines-actions.js +32 -21
  11. package/es/actions/project-actions.js +141 -94
  12. package/es/actions/scene-actions.js +17 -11
  13. package/es/actions/vertices-actions.js +11 -7
  14. package/es/actions/viewer2d-actions.js +32 -21
  15. package/es/actions/viewer3d-actions.js +14 -9
  16. package/es/catalog/areas/area/planner-element.js +5 -2
  17. package/es/catalog/catalog.js +17 -15
  18. package/es/catalog/factories/area-factory-3d.js +26 -22
  19. package/es/catalog/factories/area-factory.js +15 -13
  20. package/es/catalog/factories/export.js +10 -6
  21. package/es/catalog/factories/wall-factory-3d.js +36 -31
  22. package/es/catalog/factories/wall-factory.js +26 -21
  23. package/es/catalog/holes/door-closet/planner-element.js +19 -15
  24. package/es/catalog/holes/door-double/planner-element.js +19 -15
  25. package/es/catalog/holes/door-exterior/planner-element.js +20 -16
  26. package/es/catalog/holes/door-interior/planner-element.js +20 -16
  27. package/es/catalog/holes/door-panic/planner-element.js +11 -7
  28. package/es/catalog/holes/door-panic-double/planner-element.js +19 -15
  29. package/es/catalog/holes/door-sliding/planner-element.js +21 -17
  30. package/es/catalog/holes/doorway-framed/planner-element.js +15 -11
  31. package/es/catalog/holes/doorway-frameless/planner-element.js +11 -7
  32. package/es/catalog/holes/export.js +29 -13
  33. package/es/catalog/holes/window-clear/planner-element.js +14 -10
  34. package/es/catalog/holes/window-cross/planner-element.js +14 -10
  35. package/es/catalog/holes/window-double-hung/planner-element.js +14 -10
  36. package/es/catalog/holes/window-vertical/planner-element.js +14 -10
  37. package/es/catalog/lines/wall/planner-element.js +5 -2
  38. package/es/catalog/molding/molding-dcm/planner-element.js +9 -5
  39. package/es/catalog/molding/molding-fbm/planner-element.js +9 -5
  40. package/es/catalog/molding/molding-lrm/planner-element.js +9 -5
  41. package/es/catalog/properties/export.js +31 -20
  42. package/es/catalog/properties/property-checkbox.js +29 -28
  43. package/es/catalog/properties/property-color.js +19 -16
  44. package/es/catalog/properties/property-enum.js +27 -24
  45. package/es/catalog/properties/property-hidden.js +12 -9
  46. package/es/catalog/properties/property-lenght-measure.js +41 -38
  47. package/es/catalog/properties/property-length-measure.js +39 -36
  48. package/es/catalog/properties/property-length-measure_hole.js +41 -38
  49. package/es/catalog/properties/property-number.js +20 -17
  50. package/es/catalog/properties/property-read-only.js +19 -16
  51. package/es/catalog/properties/property-string.js +19 -16
  52. package/es/catalog/properties/property-toggle.js +19 -16
  53. package/es/catalog/properties/shared-property-style.js +3 -1
  54. package/es/catalog/utils/FuseUtils.js +13 -12
  55. package/es/catalog/utils/exporter.js +11 -10
  56. package/es/catalog/utils/geom-utils.js +24 -13
  57. package/es/catalog/utils/item-loader.js +92 -86
  58. package/es/catalog/utils/load-obj.js +24 -20
  59. package/es/catalog/utils/mtl-loader.js +4 -3
  60. package/es/catalog/utils/obj-loader.js +4 -3
  61. package/es/class/FuseUtils.js +13 -12
  62. package/es/class/area.js +24 -24
  63. package/es/class/export.js +36 -23
  64. package/es/class/group.js +55 -53
  65. package/es/class/guide.js +17 -15
  66. package/es/class/hole.js +85 -83
  67. package/es/class/item.js +155 -155
  68. package/es/class/layer.js +61 -59
  69. package/es/class/line.js +138 -135
  70. package/es/class/project.js +94 -93
  71. package/es/class/vertex.js +31 -29
  72. package/es/components/content.js +23 -19
  73. package/es/components/disclaimer/disclaimer.js +13 -10
  74. package/es/components/export.js +13 -8
  75. package/es/components/style/button.js +25 -25
  76. package/es/components/style/cancel-button.js +10 -7
  77. package/es/components/style/content-container.js +12 -11
  78. package/es/components/style/content-title.js +15 -13
  79. package/es/components/style/delete-button.js +12 -8
  80. package/es/components/style/export.js +46 -30
  81. package/es/components/style/form-block.js +11 -10
  82. package/es/components/style/form-color-input.js +10 -7
  83. package/es/components/style/form-label.js +11 -10
  84. package/es/components/style/form-number-input.js +43 -45
  85. package/es/components/style/form-number-input_2.js +39 -41
  86. package/es/components/style/form-select.js +20 -19
  87. package/es/components/style/form-slider.js +13 -10
  88. package/es/components/style/form-submit-button.js +12 -8
  89. package/es/components/style/form-text-input.js +28 -30
  90. package/es/components/viewer2d/area.js +20 -17
  91. package/es/components/viewer2d/export.js +46 -30
  92. package/es/components/viewer2d/grids/grid-horizontal-streak.js +13 -10
  93. package/es/components/viewer2d/grids/grid-streak.js +13 -10
  94. package/es/components/viewer2d/grids/grid-vertical-streak.js +13 -10
  95. package/es/components/viewer2d/grids/grids.js +14 -10
  96. package/es/components/viewer2d/group.js +19 -15
  97. package/es/components/viewer2d/item.js +65 -61
  98. package/es/components/viewer2d/layer.js +26 -23
  99. package/es/components/viewer2d/line.js +106 -101
  100. package/es/components/viewer2d/ruler.js +25 -22
  101. package/es/components/viewer2d/rulerDist.js +24 -21
  102. package/es/components/viewer2d/rulerX.js +44 -46
  103. package/es/components/viewer2d/rulerY.js +42 -44
  104. package/es/components/viewer2d/scene.js +34 -35
  105. package/es/components/viewer2d/snap.js +17 -13
  106. package/es/components/viewer2d/state.js +22 -18
  107. package/es/components/viewer2d/utils.js +33 -24
  108. package/es/components/viewer2d/vertex.js +12 -8
  109. package/es/components/viewer2d/viewer2d.js +159 -156
  110. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +19 -21
  111. package/es/components/viewer3d/dcm.js +3 -1
  112. package/es/components/viewer3d/fbm.js +3 -1
  113. package/es/components/viewer3d/front3D.js +16 -12
  114. package/es/components/viewer3d/grid-creator.js +12 -8
  115. package/es/components/viewer3d/grids/grid-horizontal-streak.js +9 -6
  116. package/es/components/viewer3d/grids/grid-streak.js +8 -5
  117. package/es/components/viewer3d/grids/grid-vertical-streak.js +9 -6
  118. package/es/components/viewer3d/libs/first-person-controls.js +5 -2
  119. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +3 -1
  120. package/es/components/viewer3d/libs/mtl-loader.js +3 -1
  121. package/es/components/viewer3d/libs/obj-loader.js +3 -1
  122. package/es/components/viewer3d/libs/orbit-controls.js +4 -2
  123. package/es/components/viewer3d/libs/pointer-lock-controls.js +4 -2
  124. package/es/components/viewer3d/lrm.js +3 -1
  125. package/es/components/viewer3d/model.js +3 -1
  126. package/es/components/viewer3d/pointer-lock-navigation.js +6 -3
  127. package/es/components/viewer3d/ruler-utils/itemRect.js +21 -18
  128. package/es/components/viewer3d/ruler-utils/layer3D.js +62 -59
  129. package/es/components/viewer3d/ruler-utils/ruler3D.js +43 -42
  130. package/es/components/viewer3d/ruler-utils/scene3D.js +13 -9
  131. package/es/components/viewer3d/ruler-utils/state3D.js +7 -4
  132. package/es/components/viewer3d/scene-creator.js +223 -197
  133. package/es/components/viewer3d/three-memory-cleaner.js +7 -3
  134. package/es/components/viewer3d/viewer3d-first-person.js +42 -42
  135. package/es/components/viewer3d/viewer3d.js +198 -200
  136. package/es/constants.js +354 -349
  137. package/es/index.js +11 -7
  138. package/es/models.js +191 -193
  139. package/es/plugins/SVGLoader.js +49 -48
  140. package/es/plugins/autosave.js +5 -3
  141. package/es/plugins/console-debugger.js +7 -6
  142. package/es/plugins/export.js +13 -8
  143. package/es/plugins/keyboard.js +31 -29
  144. package/es/reducers/areas-reducer.js +9 -7
  145. package/es/reducers/export.js +37 -24
  146. package/es/reducers/groups-reducer.js +33 -31
  147. package/es/reducers/holes-reducer.js +45 -43
  148. package/es/reducers/items-reducer.js +108 -106
  149. package/es/reducers/lines-reducer.js +30 -28
  150. package/es/reducers/project-reducer.js +107 -105
  151. package/es/reducers/reducer.js +19 -16
  152. package/es/reducers/scene-reducer.js +17 -15
  153. package/es/reducers/user-reducer.js +7 -5
  154. package/es/reducers/vertices-reducer.js +13 -11
  155. package/es/reducers/viewer2d-reducer.js +20 -18
  156. package/es/reducers/viewer3d-reducer.js +18 -16
  157. package/es/shared-style.js +12 -10
  158. package/es/styles/export.js +6 -3
  159. package/es/translator/en.js +3 -1
  160. package/es/translator/it.js +3 -1
  161. package/es/translator/ru.js +3 -1
  162. package/es/translator/translator.js +15 -13
  163. package/es/utils/browser.js +5 -2
  164. package/es/utils/convert-units-lite.js +3 -1
  165. package/es/utils/email-validator.js +3 -1
  166. package/es/utils/export.js +29 -15
  167. package/es/utils/geometry.js +280 -190
  168. package/es/utils/get-edges-of-subgraphs.js +5 -2
  169. package/es/utils/graph-cycles.js +7 -8
  170. package/es/utils/graph-inner-cycles.js +14 -10
  171. package/es/utils/graph.js +13 -9
  172. package/es/utils/helper.js +58 -41
  173. package/es/utils/history.js +11 -8
  174. package/es/utils/id-broker.js +11 -8
  175. package/es/utils/logger.js +3 -1
  176. package/es/utils/math.js +8 -5
  177. package/es/utils/molding.js +146 -130
  178. package/es/utils/name-generator.js +9 -7
  179. package/es/utils/objects-utils.js +14 -7
  180. package/es/utils/phone-validator.js +3 -1
  181. package/es/utils/process-black-list.js +6 -5
  182. package/es/utils/react-if.js +9 -7
  183. package/es/utils/snap-scene.js +30 -27
  184. package/es/utils/snap.js +57 -53
  185. package/es/utils/summarizeCart.js +3 -1
  186. package/es/utils/threeCSG.es6.js +17 -13
  187. package/es/version.js +3 -1
  188. package/package.json +1 -1
@@ -1,88 +1,102 @@
1
- import { GROUP_ACTIONS } from "../constants";
2
- export function addGroup() {
1
+ exports.__esModule = true;
2
+ exports.addGroup = addGroup;
3
+ exports.addGroupFromSelected = addGroupFromSelected;
4
+ exports.addToGroup = addToGroup;
5
+ exports.groupRotate = groupRotate;
6
+ exports.groupTranslate = groupTranslate;
7
+ exports.removeFromGroup = removeFromGroup;
8
+ exports.removeGroup = removeGroup;
9
+ exports.removeGroupAndDeleteElements = removeGroupAndDeleteElements;
10
+ exports.selectGroup = selectGroup;
11
+ exports.setGroupAttributes = setGroupAttributes;
12
+ exports.setGroupBarycenter = setGroupBarycenter;
13
+ exports.setGroupProperties = setGroupProperties;
14
+ exports.unselectGroup = unselectGroup;
15
+ var _constants = require("../constants");
16
+ function addGroup() {
3
17
  return {
4
- type: GROUP_ACTIONS.ADD_GROUP
18
+ type: _constants.GROUP_ACTIONS.ADD_GROUP
5
19
  };
6
20
  }
7
- export function addGroupFromSelected() {
21
+ function addGroupFromSelected() {
8
22
  return {
9
- type: GROUP_ACTIONS.ADD_GROUP_FROM_SELECTED
23
+ type: _constants.GROUP_ACTIONS.ADD_GROUP_FROM_SELECTED
10
24
  };
11
25
  }
12
- export function selectGroup(groupID) {
26
+ function selectGroup(groupID) {
13
27
  return {
14
- type: GROUP_ACTIONS.SELECT_GROUP,
28
+ type: _constants.GROUP_ACTIONS.SELECT_GROUP,
15
29
  groupID: groupID
16
30
  };
17
31
  }
18
- export function unselectGroup(groupID) {
32
+ function unselectGroup(groupID) {
19
33
  return {
20
- type: GROUP_ACTIONS.UNSELECT_GROUP,
34
+ type: _constants.GROUP_ACTIONS.UNSELECT_GROUP,
21
35
  groupID: groupID
22
36
  };
23
37
  }
24
- export function addToGroup(groupID, layerID, elementPrototype, elementID) {
38
+ function addToGroup(groupID, layerID, elementPrototype, elementID) {
25
39
  return {
26
- type: GROUP_ACTIONS.ADD_TO_GROUP,
40
+ type: _constants.GROUP_ACTIONS.ADD_TO_GROUP,
27
41
  groupID: groupID,
28
42
  layerID: layerID,
29
43
  elementPrototype: elementPrototype,
30
44
  elementID: elementID
31
45
  };
32
46
  }
33
- export function removeFromGroup(groupID, layerID, elementPrototype, elementID) {
47
+ function removeFromGroup(groupID, layerID, elementPrototype, elementID) {
34
48
  return {
35
- type: GROUP_ACTIONS.REMOVE_FROM_GROUP,
49
+ type: _constants.GROUP_ACTIONS.REMOVE_FROM_GROUP,
36
50
  groupID: groupID,
37
51
  layerID: layerID,
38
52
  elementPrototype: elementPrototype,
39
53
  elementID: elementID
40
54
  };
41
55
  }
42
- export function setGroupAttributes(groupID, attributes) {
56
+ function setGroupAttributes(groupID, attributes) {
43
57
  return {
44
- type: GROUP_ACTIONS.SET_GROUP_ATTRIBUTES,
58
+ type: _constants.GROUP_ACTIONS.SET_GROUP_ATTRIBUTES,
45
59
  groupID: groupID,
46
60
  attributes: attributes
47
61
  };
48
62
  }
49
- export function setGroupProperties(groupID, properties) {
63
+ function setGroupProperties(groupID, properties) {
50
64
  return {
51
- type: GROUP_ACTIONS.SET_GROUP_PROPERTIES,
65
+ type: _constants.GROUP_ACTIONS.SET_GROUP_PROPERTIES,
52
66
  groupID: groupID,
53
67
  properties: properties
54
68
  };
55
69
  }
56
- export function setGroupBarycenter(groupID, barycenter) {
70
+ function setGroupBarycenter(groupID, barycenter) {
57
71
  return {
58
- type: GROUP_ACTIONS.SET_GROUP_BARYCENTER,
72
+ type: _constants.GROUP_ACTIONS.SET_GROUP_BARYCENTER,
59
73
  groupID: groupID,
60
74
  barycenter: barycenter
61
75
  };
62
76
  }
63
- export function removeGroup(groupID) {
77
+ function removeGroup(groupID) {
64
78
  return {
65
- type: GROUP_ACTIONS.REMOVE_GROUP,
79
+ type: _constants.GROUP_ACTIONS.REMOVE_GROUP,
66
80
  groupID: groupID
67
81
  };
68
82
  }
69
- export function removeGroupAndDeleteElements(groupID) {
83
+ function removeGroupAndDeleteElements(groupID) {
70
84
  return {
71
- type: GROUP_ACTIONS.REMOVE_GROUP_AND_DELETE_ELEMENTS,
85
+ type: _constants.GROUP_ACTIONS.REMOVE_GROUP_AND_DELETE_ELEMENTS,
72
86
  groupID: groupID
73
87
  };
74
88
  }
75
- export function groupTranslate(groupID, x, y) {
89
+ function groupTranslate(groupID, x, y) {
76
90
  return {
77
- type: GROUP_ACTIONS.GROUP_TRANSLATE,
91
+ type: _constants.GROUP_ACTIONS.GROUP_TRANSLATE,
78
92
  groupID: groupID,
79
93
  x: x,
80
94
  y: y
81
95
  };
82
96
  }
83
- export function groupRotate(groupID, rotation) {
97
+ function groupRotate(groupID, rotation) {
84
98
  return {
85
- type: GROUP_ACTIONS.GROUP_ROTATE,
99
+ type: _constants.GROUP_ACTIONS.GROUP_ROTATE,
86
100
  groupID: groupID,
87
101
  rotation: rotation
88
102
  };
@@ -1,117 +1,134 @@
1
- import { BEGIN_DRAGGING_HOLE, BEGIN_DRAGGING_HOLE_3D, END_CREATING_HOLE, END_DRAGGING_HOLE, END_DRAGGING_HOLE_3D, END_DRAWING_HOLE, END_DRAWING_HOLE_3D, SELECT_HOLE, SELECT_TOOL_DRAWING_HOLE, SELECT_TOOL_DRAWING_HOLE_3D, UPDATE_DRAGGING_HOLE, UPDATE_DRAGGING_HOLE_CHANGED, UPDATE_DRAGGING_HOLE_RULER_CHANGED, UPDATE_DRAWING_HOLE, UPDATE_DRAWING_HOLE_3D, UPDATE_POPUP_OPEN } from "../constants";
2
- export function endCreatingHole() {
3
- return {
4
- type: END_CREATING_HOLE
1
+ exports.__esModule = true;
2
+ exports.beginDraggingHole = beginDraggingHole;
3
+ exports.beginDraggingHole3D = beginDraggingHole3D;
4
+ exports.endCreatingHole = endCreatingHole;
5
+ exports.endDraggingHole = endDraggingHole;
6
+ exports.endDraggingHole3D = endDraggingHole3D;
7
+ exports.endDrawingHole = endDrawingHole;
8
+ exports.endDrawingHole3D = endDrawingHole3D;
9
+ exports.selectHole = selectHole;
10
+ exports.selectToolDrawingHole = selectToolDrawingHole;
11
+ exports.selectToolDrawingHole3D = selectToolDrawingHole3D;
12
+ exports.updateDraggingHole = updateDraggingHole;
13
+ exports.updateDraggingHoleChanged = updateDraggingHoleChanged;
14
+ exports.updateDraggingHoleRulerChanged = updateDraggingHoleRulerChanged;
15
+ exports.updateDrawingHole = updateDrawingHole;
16
+ exports.updateDrawingHole3D = updateDrawingHole3D;
17
+ exports.updatePopupOpen = updatePopupOpen;
18
+ var _constants = require("../constants");
19
+ function endCreatingHole() {
20
+ return {
21
+ type: _constants.END_CREATING_HOLE
5
22
  };
6
23
  }
7
- export function updatePopupOpen(value) {
24
+ function updatePopupOpen(value) {
8
25
  return {
9
- type: UPDATE_POPUP_OPEN,
26
+ type: _constants.UPDATE_POPUP_OPEN,
10
27
  value: value
11
28
  };
12
29
  }
13
- export function selectHole(layerID, holeID) {
30
+ function selectHole(layerID, holeID) {
14
31
  return {
15
- type: SELECT_HOLE,
32
+ type: _constants.SELECT_HOLE,
16
33
  layerID: layerID,
17
34
  holeID: holeID
18
35
  };
19
36
  }
20
- export function selectToolDrawingHole(sceneComponentType) {
37
+ function selectToolDrawingHole(sceneComponentType) {
21
38
  return {
22
- type: SELECT_TOOL_DRAWING_HOLE,
39
+ type: _constants.SELECT_TOOL_DRAWING_HOLE,
23
40
  sceneComponentType: sceneComponentType
24
41
  };
25
42
  }
26
- export function selectToolDrawingHole3D(sceneComponentType) {
43
+ function selectToolDrawingHole3D(sceneComponentType) {
27
44
  return {
28
- type: SELECT_TOOL_DRAWING_HOLE_3D,
45
+ type: _constants.SELECT_TOOL_DRAWING_HOLE_3D,
29
46
  sceneComponentType: sceneComponentType
30
47
  };
31
48
  }
32
- export function updateDrawingHole(layerID, x, y) {
49
+ function updateDrawingHole(layerID, x, y) {
33
50
  return {
34
- type: UPDATE_DRAWING_HOLE,
51
+ type: _constants.UPDATE_DRAWING_HOLE,
35
52
  layerID: layerID,
36
53
  x: x,
37
54
  y: y
38
55
  };
39
56
  }
40
- export function updateDrawingHole3D(layerID, x, y) {
57
+ function updateDrawingHole3D(layerID, x, y) {
41
58
  return {
42
- type: UPDATE_DRAWING_HOLE_3D,
59
+ type: _constants.UPDATE_DRAWING_HOLE_3D,
43
60
  layerID: layerID,
44
61
  x: x,
45
62
  y: y
46
63
  };
47
64
  }
48
- export function endDrawingHole(layerID, x, y) {
65
+ function endDrawingHole(layerID, x, y) {
49
66
  return {
50
- type: END_DRAWING_HOLE,
67
+ type: _constants.END_DRAWING_HOLE,
51
68
  layerID: layerID,
52
69
  x: x,
53
70
  y: y
54
71
  };
55
72
  }
56
- export function endDrawingHole3D(layerID, x, y) {
73
+ function endDrawingHole3D(layerID, x, y) {
57
74
  return {
58
- type: END_DRAWING_HOLE_3D,
75
+ type: _constants.END_DRAWING_HOLE_3D,
59
76
  layerID: layerID,
60
77
  x: x,
61
78
  y: y
62
79
  };
63
80
  }
64
- export function beginDraggingHole(layerID, holeID, x, y) {
81
+ function beginDraggingHole(layerID, holeID, x, y) {
65
82
  return {
66
- type: BEGIN_DRAGGING_HOLE,
83
+ type: _constants.BEGIN_DRAGGING_HOLE,
67
84
  layerID: layerID,
68
85
  holeID: holeID,
69
86
  x: x,
70
87
  y: y
71
88
  };
72
89
  }
73
- export function beginDraggingHole3D(layerID, holeID, x, y) {
90
+ function beginDraggingHole3D(layerID, holeID, x, y) {
74
91
  return {
75
- type: BEGIN_DRAGGING_HOLE_3D,
92
+ type: _constants.BEGIN_DRAGGING_HOLE_3D,
76
93
  layerID: layerID,
77
94
  holeID: holeID,
78
95
  x: x,
79
96
  y: y
80
97
  };
81
98
  }
82
- export function updateDraggingHole(x, y) {
99
+ function updateDraggingHole(x, y) {
83
100
  return {
84
- type: UPDATE_DRAGGING_HOLE,
101
+ type: _constants.UPDATE_DRAGGING_HOLE,
85
102
  x: x,
86
103
  y: y
87
104
  };
88
105
  }
89
- export function endDraggingHole(x, y) {
106
+ function endDraggingHole(x, y) {
90
107
  return {
91
- type: END_DRAGGING_HOLE,
108
+ type: _constants.END_DRAGGING_HOLE,
92
109
  x: x,
93
110
  y: y
94
111
  };
95
112
  }
96
- export function endDraggingHole3D(x, y) {
113
+ function endDraggingHole3D(x, y) {
97
114
  return {
98
- type: END_DRAGGING_HOLE_3D,
115
+ type: _constants.END_DRAGGING_HOLE_3D,
99
116
  x: x,
100
117
  y: y
101
118
  };
102
119
  }
103
- export function updateDraggingHoleChanged(x, y, layerID, holeID) {
120
+ function updateDraggingHoleChanged(x, y, layerID, holeID) {
104
121
  return {
105
- type: UPDATE_DRAGGING_HOLE_CHANGED,
122
+ type: _constants.UPDATE_DRAGGING_HOLE_CHANGED,
106
123
  x: x,
107
124
  y: y,
108
125
  layerID: layerID,
109
126
  holeID: holeID
110
127
  };
111
128
  }
112
- export function updateDraggingHoleRulerChanged(width, layerID, holeID) {
129
+ function updateDraggingHoleRulerChanged(width, layerID, holeID) {
113
130
  return {
114
- type: UPDATE_DRAGGING_HOLE_RULER_CHANGED,
131
+ type: _constants.UPDATE_DRAGGING_HOLE_RULER_CHANGED,
115
132
  width: width,
116
133
  layerID: layerID,
117
134
  holeID: holeID