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