kitchen-simulator 11.30.2 → 11.31.0
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/assets/img/svg/accessories.svg +4 -4
- package/es/assets/img/svg/bottombar/elevation-back.svg +6 -6
- package/es/assets/img/svg/bottombar/elevation-front.svg +6 -6
- package/es/assets/img/svg/bottombar/elevation-left.svg +6 -6
- package/es/assets/img/svg/bottombar/elevation-right.svg +7 -7
- package/es/assets/img/svg/bottombar/elevation.svg +13 -13
- package/es/assets/img/svg/detail.svg +77 -77
- package/es/assets/img/svg/filtersActive.svg +19 -19
- package/es/assets/img/svg/invert.svg +12 -12
- package/es/assets/img/svg/menubar/login.svg +84 -84
- package/es/assets/img/svg/menubar/my_projects.svg +85 -85
- package/es/assets/img/svg/menubar/new_project.svg +110 -110
- package/es/assets/img/svg/menubar/save_project.svg +84 -84
- package/es/assets/img/svg/options.svg +3 -3
- package/es/assets/img/svg/positioning.svg +3 -3
- package/es/assets/img/svg/toggleFilters.svg +19 -19
- package/es/assets/img/svg/toolbar/shopping-cart.svg +13 -13
- package/es/assets/img/svg/wizardstep/detail_view.svg +87 -87
- package/es/assets/img/svg/wizardstep/tile_view.svg +95 -95
- package/es/components/viewer2d/viewer2d.js +7 -22
- package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +556 -556
- package/es/components/viewer3d/scene-creator.js +11 -10
- package/es/constants/applianceCategories.js +19 -0
- package/es/constants.js +1 -0
- package/es/engine/2d/viewer-utils.js +20 -0
- package/es/events/external/handleExternalEvent.util.js +80 -66
- package/es/events/external/handlers.changeDoorStyle.js +8 -15
- package/es/events/external/handlers.loadProject.js +8 -15
- package/es/mappings/external-events/mapExternalEventPayload.js +4 -4
- package/es/mappings/external-events/mappers/addItemMapper.js +9 -9
- package/es/mappings/external-events/mappers/ccdfMapper.js +7 -13
- package/es/shared/concurrency/async-pool.js +71 -0
- package/es/shared/domain/asset/sanitize-asset-url.js +5 -5
- package/es/shared/math/line-metrics.js +11 -11
- package/es/utils/geometry.js +19 -16
- package/es/utils/skinPanelEngine.js +14 -14
- package/lib/assets/img/svg/accessories.svg +4 -4
- package/lib/assets/img/svg/bottombar/elevation-back.svg +6 -6
- package/lib/assets/img/svg/bottombar/elevation-front.svg +6 -6
- package/lib/assets/img/svg/bottombar/elevation-left.svg +6 -6
- package/lib/assets/img/svg/bottombar/elevation-right.svg +7 -7
- package/lib/assets/img/svg/bottombar/elevation.svg +13 -13
- package/lib/assets/img/svg/detail.svg +77 -77
- package/lib/assets/img/svg/filtersActive.svg +19 -19
- package/lib/assets/img/svg/invert.svg +12 -12
- package/lib/assets/img/svg/menubar/login.svg +84 -84
- package/lib/assets/img/svg/menubar/my_projects.svg +85 -85
- package/lib/assets/img/svg/menubar/new_project.svg +110 -110
- package/lib/assets/img/svg/menubar/save_project.svg +84 -84
- package/lib/assets/img/svg/options.svg +3 -3
- package/lib/assets/img/svg/positioning.svg +3 -3
- package/lib/assets/img/svg/toggleFilters.svg +19 -19
- package/lib/assets/img/svg/toolbar/shopping-cart.svg +13 -13
- package/lib/assets/img/svg/wizardstep/detail_view.svg +87 -87
- package/lib/assets/img/svg/wizardstep/tile_view.svg +95 -95
- package/lib/components/viewer2d/viewer2d.js +7 -22
- package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js +556 -556
- package/lib/components/viewer3d/scene-creator.js +11 -10
- package/lib/constants/applianceCategories.js +25 -0
- package/lib/constants.js +5 -4
- package/lib/engine/2d/viewer-utils.js +25 -0
- package/lib/events/external/handleExternalEvent.util.js +80 -66
- package/lib/events/external/handlers.changeDoorStyle.js +8 -15
- package/lib/events/external/handlers.loadProject.js +8 -15
- package/lib/mappings/external-events/mapExternalEventPayload.js +4 -4
- package/lib/mappings/external-events/mappers/addItemMapper.js +9 -9
- package/lib/mappings/external-events/mappers/ccdfMapper.js +7 -13
- package/lib/shared/concurrency/async-pool.js +78 -0
- package/lib/shared/domain/asset/sanitize-asset-url.js +5 -5
- package/lib/shared/math/line-metrics.js +11 -11
- package/lib/utils/geometry.js +18 -15
- package/lib/utils/skinPanelEngine.js +14 -14
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_2780_182858)">
|
|
3
|
-
<path d="M4 19.8638C4 20.3942 4.21071 20.9029 4.58579 21.278C4.96086 21.6531 5.46957 21.8638 6 21.8638C6.53043 21.8638 7.03914 21.6531 7.41421 21.278C7.78929 20.9029 8 20.3942 8 19.8638C8 19.3333 7.78929 18.8246 7.41421 18.4496C7.03914 18.0745 6.53043 17.8638 6 17.8638C5.46957 17.8638 4.96086 18.0745 4.58579 18.4496C4.21071 18.8246 4 19.3333 4 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M15 19.8638C15 20.3942 15.2107 20.9029 15.5858 21.278C15.9609 21.6531 16.4696 21.8638 17 21.8638C17.5304 21.8638 18.0391 21.6531 18.4142 21.278C18.7893 20.9029 19 20.3942 19 19.8638C19 19.3333 18.7893 18.8246 18.4142 18.4496C18.0391 18.0745 17.5304 17.8638 17 17.8638C16.4696 17.8638 15.9609 18.0745 15.5858 18.4496C15.2107 18.8246 15 19.3333 15 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M17 17.8638H6V3.86377H4" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M6 5.86377L20 6.86377L19 13.8638H6" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_2780_182858">
|
|
10
|
-
<rect width="24" height="24" fill="white" transform="translate(0 0.86377)"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
1
|
+
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2780_182858)">
|
|
3
|
+
<path d="M4 19.8638C4 20.3942 4.21071 20.9029 4.58579 21.278C4.96086 21.6531 5.46957 21.8638 6 21.8638C6.53043 21.8638 7.03914 21.6531 7.41421 21.278C7.78929 20.9029 8 20.3942 8 19.8638C8 19.3333 7.78929 18.8246 7.41421 18.4496C7.03914 18.0745 6.53043 17.8638 6 17.8638C5.46957 17.8638 4.96086 18.0745 4.58579 18.4496C4.21071 18.8246 4 19.3333 4 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M15 19.8638C15 20.3942 15.2107 20.9029 15.5858 21.278C15.9609 21.6531 16.4696 21.8638 17 21.8638C17.5304 21.8638 18.0391 21.6531 18.4142 21.278C18.7893 20.9029 19 20.3942 19 19.8638C19 19.3333 18.7893 18.8246 18.4142 18.4496C18.0391 18.0745 17.5304 17.8638 17 17.8638C16.4696 17.8638 15.9609 18.0745 15.5858 18.4496C15.2107 18.8246 15 19.3333 15 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M17 17.8638H6V3.86377H4" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M6 5.86377L20 6.86377L19 13.8638H6" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="clip0_2780_182858">
|
|
10
|
+
<rect width="24" height="24" fill="white" transform="translate(0 0.86377)"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
-
|
|
4
|
-
<svg
|
|
5
|
-
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
6
|
-
xmlns:cc="http://creativecommons.org/ns#"
|
|
7
|
-
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
8
|
-
xmlns:svg="http://www.w3.org/2000/svg"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
-
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
-
width="17"
|
|
13
|
-
height="14"
|
|
14
|
-
id="svg91951"
|
|
15
|
-
version="1.1"
|
|
16
|
-
inkscape:version="0.48.4 r9939"
|
|
17
|
-
sodipodi:docname="New document 3">
|
|
18
|
-
<defs
|
|
19
|
-
id="defs91953" />
|
|
20
|
-
<sodipodi:namedview
|
|
21
|
-
id="base"
|
|
22
|
-
pagecolor="#ffffff"
|
|
23
|
-
bordercolor="#666666"
|
|
24
|
-
borderopacity="1.0"
|
|
25
|
-
inkscape:pageopacity="0.0"
|
|
26
|
-
inkscape:pageshadow="2"
|
|
27
|
-
inkscape:zoom="22.197802"
|
|
28
|
-
inkscape:cx="8"
|
|
29
|
-
inkscape:cy="8"
|
|
30
|
-
inkscape:current-layer="layer1"
|
|
31
|
-
showgrid="true"
|
|
32
|
-
inkscape:grid-bbox="true"
|
|
33
|
-
inkscape:document-units="px"
|
|
34
|
-
inkscape:window-width="1920"
|
|
35
|
-
inkscape:window-height="1017"
|
|
36
|
-
inkscape:window-x="-8"
|
|
37
|
-
inkscape:window-y="-8"
|
|
38
|
-
inkscape:window-maximized="1" />
|
|
39
|
-
<metadata
|
|
40
|
-
id="metadata91956">
|
|
41
|
-
<rdf:RDF>
|
|
42
|
-
<cc:Work
|
|
43
|
-
rdf:about="">
|
|
44
|
-
<dc:format>image/svg+xml</dc:format>
|
|
45
|
-
<dc:type
|
|
46
|
-
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
47
|
-
<dc:title></dc:title>
|
|
48
|
-
</cc:Work>
|
|
49
|
-
</rdf:RDF>
|
|
50
|
-
</metadata>
|
|
51
|
-
<g
|
|
52
|
-
id="layer1"
|
|
53
|
-
inkscape:label="Layer 1"
|
|
54
|
-
inkscape:groupmode="layer"
|
|
55
|
-
transform="translate(0,-2)">
|
|
56
|
-
<path
|
|
57
|
-
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
58
|
-
inkscape:connector-curvature="0"
|
|
59
|
-
d="M 4.999831,2.9996402 H 16.000362"
|
|
60
|
-
id="path28763" />
|
|
61
|
-
<path
|
|
62
|
-
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
63
|
-
inkscape:connector-curvature="0"
|
|
64
|
-
d="M 4.999831,8.9950062 H 16.000362"
|
|
65
|
-
id="path28765" />
|
|
66
|
-
<path
|
|
67
|
-
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
68
|
-
inkscape:connector-curvature="0"
|
|
69
|
-
d="M 4.999831,14.990372 H 16.000362"
|
|
70
|
-
id="path28767" />
|
|
71
|
-
<path
|
|
72
|
-
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
73
|
-
inkscape:connector-curvature="0"
|
|
74
|
-
d="m 0.9996379,2.9996402 v 0.00999"
|
|
75
|
-
id="path28769" />
|
|
76
|
-
<path
|
|
77
|
-
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
78
|
-
inkscape:connector-curvature="0"
|
|
79
|
-
d="m 0.9996379,8.9950062 v 0.00999"
|
|
80
|
-
id="path28771" />
|
|
81
|
-
<path
|
|
82
|
-
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
83
|
-
inkscape:connector-curvature="0"
|
|
84
|
-
d="m 0.9996379,14.990372 v 0.01"
|
|
85
|
-
id="path28773" />
|
|
86
|
-
</g>
|
|
87
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
+
width="17"
|
|
13
|
+
height="14"
|
|
14
|
+
id="svg91951"
|
|
15
|
+
version="1.1"
|
|
16
|
+
inkscape:version="0.48.4 r9939"
|
|
17
|
+
sodipodi:docname="New document 3">
|
|
18
|
+
<defs
|
|
19
|
+
id="defs91953" />
|
|
20
|
+
<sodipodi:namedview
|
|
21
|
+
id="base"
|
|
22
|
+
pagecolor="#ffffff"
|
|
23
|
+
bordercolor="#666666"
|
|
24
|
+
borderopacity="1.0"
|
|
25
|
+
inkscape:pageopacity="0.0"
|
|
26
|
+
inkscape:pageshadow="2"
|
|
27
|
+
inkscape:zoom="22.197802"
|
|
28
|
+
inkscape:cx="8"
|
|
29
|
+
inkscape:cy="8"
|
|
30
|
+
inkscape:current-layer="layer1"
|
|
31
|
+
showgrid="true"
|
|
32
|
+
inkscape:grid-bbox="true"
|
|
33
|
+
inkscape:document-units="px"
|
|
34
|
+
inkscape:window-width="1920"
|
|
35
|
+
inkscape:window-height="1017"
|
|
36
|
+
inkscape:window-x="-8"
|
|
37
|
+
inkscape:window-y="-8"
|
|
38
|
+
inkscape:window-maximized="1" />
|
|
39
|
+
<metadata
|
|
40
|
+
id="metadata91956">
|
|
41
|
+
<rdf:RDF>
|
|
42
|
+
<cc:Work
|
|
43
|
+
rdf:about="">
|
|
44
|
+
<dc:format>image/svg+xml</dc:format>
|
|
45
|
+
<dc:type
|
|
46
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
47
|
+
<dc:title></dc:title>
|
|
48
|
+
</cc:Work>
|
|
49
|
+
</rdf:RDF>
|
|
50
|
+
</metadata>
|
|
51
|
+
<g
|
|
52
|
+
id="layer1"
|
|
53
|
+
inkscape:label="Layer 1"
|
|
54
|
+
inkscape:groupmode="layer"
|
|
55
|
+
transform="translate(0,-2)">
|
|
56
|
+
<path
|
|
57
|
+
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
58
|
+
inkscape:connector-curvature="0"
|
|
59
|
+
d="M 4.999831,2.9996402 H 16.000362"
|
|
60
|
+
id="path28763" />
|
|
61
|
+
<path
|
|
62
|
+
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
63
|
+
inkscape:connector-curvature="0"
|
|
64
|
+
d="M 4.999831,8.9950062 H 16.000362"
|
|
65
|
+
id="path28765" />
|
|
66
|
+
<path
|
|
67
|
+
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
68
|
+
inkscape:connector-curvature="0"
|
|
69
|
+
d="M 4.999831,14.990372 H 16.000362"
|
|
70
|
+
id="path28767" />
|
|
71
|
+
<path
|
|
72
|
+
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
73
|
+
inkscape:connector-curvature="0"
|
|
74
|
+
d="m 0.9996379,2.9996402 v 0.00999"
|
|
75
|
+
id="path28769" />
|
|
76
|
+
<path
|
|
77
|
+
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
78
|
+
inkscape:connector-curvature="0"
|
|
79
|
+
d="m 0.9996379,8.9950062 v 0.00999"
|
|
80
|
+
id="path28771" />
|
|
81
|
+
<path
|
|
82
|
+
style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
|
|
83
|
+
inkscape:connector-curvature="0"
|
|
84
|
+
d="m 0.9996379,14.990372 v 0.01"
|
|
85
|
+
id="path28773" />
|
|
86
|
+
</g>
|
|
87
|
+
</svg>
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
-
|
|
4
|
-
<svg
|
|
5
|
-
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
6
|
-
xmlns:cc="http://creativecommons.org/ns#"
|
|
7
|
-
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
8
|
-
xmlns:svg="http://www.w3.org/2000/svg"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
-
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
-
width="18"
|
|
13
|
-
height="18"
|
|
14
|
-
id="svg91993"
|
|
15
|
-
version="1.1"
|
|
16
|
-
inkscape:version="0.48.4 r9939"
|
|
17
|
-
sodipodi:docname="New document 5">
|
|
18
|
-
<defs
|
|
19
|
-
id="defs91995">
|
|
20
|
-
<clipPath
|
|
21
|
-
id="clip69_0_1">
|
|
22
|
-
<rect
|
|
23
|
-
style="fill:#ffffff"
|
|
24
|
-
y="0"
|
|
25
|
-
x="0"
|
|
26
|
-
id="rect47253"
|
|
27
|
-
transform="translate(352,835.725)"
|
|
28
|
-
height="24"
|
|
29
|
-
width="24" />
|
|
30
|
-
</clipPath>
|
|
31
|
-
</defs>
|
|
32
|
-
<sodipodi:namedview
|
|
33
|
-
id="base"
|
|
34
|
-
pagecolor="#ffffff"
|
|
35
|
-
bordercolor="#666666"
|
|
36
|
-
borderopacity="1.0"
|
|
37
|
-
inkscape:pageopacity="0.0"
|
|
38
|
-
inkscape:pageshadow="2"
|
|
39
|
-
inkscape:zoom="16"
|
|
40
|
-
inkscape:cx="15.73047"
|
|
41
|
-
inkscape:cy="11.433004"
|
|
42
|
-
inkscape:current-layer="layer1"
|
|
43
|
-
showgrid="true"
|
|
44
|
-
inkscape:grid-bbox="true"
|
|
45
|
-
inkscape:document-units="px"
|
|
46
|
-
inkscape:window-width="1920"
|
|
47
|
-
inkscape:window-height="1017"
|
|
48
|
-
inkscape:window-x="-8"
|
|
49
|
-
inkscape:window-y="-8"
|
|
50
|
-
inkscape:window-maximized="1" />
|
|
51
|
-
<metadata
|
|
52
|
-
id="metadata91998">
|
|
53
|
-
<rdf:RDF>
|
|
54
|
-
<cc:Work
|
|
55
|
-
rdf:about="">
|
|
56
|
-
<dc:format>image/svg+xml</dc:format>
|
|
57
|
-
<dc:type
|
|
58
|
-
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
59
|
-
<dc:title></dc:title>
|
|
60
|
-
</cc:Work>
|
|
61
|
-
</rdf:RDF>
|
|
62
|
-
</metadata>
|
|
63
|
-
<g
|
|
64
|
-
id="layer1"
|
|
65
|
-
inkscape:label="Layer 1"
|
|
66
|
-
inkscape:groupmode="layer"
|
|
67
|
-
transform="translate(0,-14)">
|
|
68
|
-
<g
|
|
69
|
-
transform="translate(-355,-824.725)"
|
|
70
|
-
style="fill:none"
|
|
71
|
-
id="g3633"
|
|
72
|
-
clip-path="url(#clip69_0_1)">
|
|
73
|
-
<path
|
|
74
|
-
id="path3635"
|
|
75
|
-
d="m 356,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,845.245 356,844.99 356,844.725 v -4 z"
|
|
76
|
-
inkscape:connector-curvature="0"
|
|
77
|
-
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
78
|
-
<path
|
|
79
|
-
id="path3637"
|
|
80
|
-
d="m 366,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,845.245 366,844.99 366,844.725 v -4 z"
|
|
81
|
-
inkscape:connector-curvature="0"
|
|
82
|
-
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
83
|
-
<path
|
|
84
|
-
id="path3639"
|
|
85
|
-
d="m 356,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,855.245 356,854.99 356,854.725 v -4 z"
|
|
86
|
-
inkscape:connector-curvature="0"
|
|
87
|
-
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
88
|
-
<path
|
|
89
|
-
id="path3641"
|
|
90
|
-
d="m 366,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,855.245 366,854.99 366,854.725 v -4 z"
|
|
91
|
-
inkscape:connector-curvature="0"
|
|
92
|
-
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
93
|
-
</g>
|
|
94
|
-
</g>
|
|
95
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
+
width="18"
|
|
13
|
+
height="18"
|
|
14
|
+
id="svg91993"
|
|
15
|
+
version="1.1"
|
|
16
|
+
inkscape:version="0.48.4 r9939"
|
|
17
|
+
sodipodi:docname="New document 5">
|
|
18
|
+
<defs
|
|
19
|
+
id="defs91995">
|
|
20
|
+
<clipPath
|
|
21
|
+
id="clip69_0_1">
|
|
22
|
+
<rect
|
|
23
|
+
style="fill:#ffffff"
|
|
24
|
+
y="0"
|
|
25
|
+
x="0"
|
|
26
|
+
id="rect47253"
|
|
27
|
+
transform="translate(352,835.725)"
|
|
28
|
+
height="24"
|
|
29
|
+
width="24" />
|
|
30
|
+
</clipPath>
|
|
31
|
+
</defs>
|
|
32
|
+
<sodipodi:namedview
|
|
33
|
+
id="base"
|
|
34
|
+
pagecolor="#ffffff"
|
|
35
|
+
bordercolor="#666666"
|
|
36
|
+
borderopacity="1.0"
|
|
37
|
+
inkscape:pageopacity="0.0"
|
|
38
|
+
inkscape:pageshadow="2"
|
|
39
|
+
inkscape:zoom="16"
|
|
40
|
+
inkscape:cx="15.73047"
|
|
41
|
+
inkscape:cy="11.433004"
|
|
42
|
+
inkscape:current-layer="layer1"
|
|
43
|
+
showgrid="true"
|
|
44
|
+
inkscape:grid-bbox="true"
|
|
45
|
+
inkscape:document-units="px"
|
|
46
|
+
inkscape:window-width="1920"
|
|
47
|
+
inkscape:window-height="1017"
|
|
48
|
+
inkscape:window-x="-8"
|
|
49
|
+
inkscape:window-y="-8"
|
|
50
|
+
inkscape:window-maximized="1" />
|
|
51
|
+
<metadata
|
|
52
|
+
id="metadata91998">
|
|
53
|
+
<rdf:RDF>
|
|
54
|
+
<cc:Work
|
|
55
|
+
rdf:about="">
|
|
56
|
+
<dc:format>image/svg+xml</dc:format>
|
|
57
|
+
<dc:type
|
|
58
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
59
|
+
<dc:title></dc:title>
|
|
60
|
+
</cc:Work>
|
|
61
|
+
</rdf:RDF>
|
|
62
|
+
</metadata>
|
|
63
|
+
<g
|
|
64
|
+
id="layer1"
|
|
65
|
+
inkscape:label="Layer 1"
|
|
66
|
+
inkscape:groupmode="layer"
|
|
67
|
+
transform="translate(0,-14)">
|
|
68
|
+
<g
|
|
69
|
+
transform="translate(-355,-824.725)"
|
|
70
|
+
style="fill:none"
|
|
71
|
+
id="g3633"
|
|
72
|
+
clip-path="url(#clip69_0_1)">
|
|
73
|
+
<path
|
|
74
|
+
id="path3635"
|
|
75
|
+
d="m 356,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,845.245 356,844.99 356,844.725 v -4 z"
|
|
76
|
+
inkscape:connector-curvature="0"
|
|
77
|
+
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
78
|
+
<path
|
|
79
|
+
id="path3637"
|
|
80
|
+
d="m 366,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,845.245 366,844.99 366,844.725 v -4 z"
|
|
81
|
+
inkscape:connector-curvature="0"
|
|
82
|
+
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
83
|
+
<path
|
|
84
|
+
id="path3639"
|
|
85
|
+
d="m 356,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,855.245 356,854.99 356,854.725 v -4 z"
|
|
86
|
+
inkscape:connector-curvature="0"
|
|
87
|
+
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
88
|
+
<path
|
|
89
|
+
id="path3641"
|
|
90
|
+
d="m 366,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,855.245 366,854.99 366,854.725 v -4 z"
|
|
91
|
+
inkscape:connector-curvature="0"
|
|
92
|
+
style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
|
|
93
|
+
</g>
|
|
94
|
+
</g>
|
|
95
|
+
</svg>
|
|
@@ -17,6 +17,7 @@ import { Map } from 'immutable';
|
|
|
17
17
|
import { formatNumber } from "../../utils/math";
|
|
18
18
|
import { isEmpty, updatePayloadOfInternalEvent } from "../../utils/helper"; // variables
|
|
19
19
|
import { isWarningCabinet } from "../../shared/domain/cabinet-warning";
|
|
20
|
+
import { shouldBypassItemIntersectionValidation } from "../../engine/2d/viewer-utils";
|
|
20
21
|
// variables
|
|
21
22
|
var pinFlag = false;
|
|
22
23
|
var sFlag = false; //for all object move
|
|
@@ -569,6 +570,7 @@ export default function Viewer2D(_ref, _ref2) {
|
|
|
569
570
|
}
|
|
570
571
|
};
|
|
571
572
|
var onMouseMove = function onMouseMove(viewerEvent) {
|
|
573
|
+
var _allItemRect$cur2;
|
|
572
574
|
//workaround that allow imageful component to work
|
|
573
575
|
|
|
574
576
|
// let evt = new Event('mousemove-planner-event');
|
|
@@ -632,6 +634,7 @@ export default function Viewer2D(_ref, _ref2) {
|
|
|
632
634
|
endPoint.x = x;
|
|
633
635
|
endPoint.y = y;
|
|
634
636
|
} else {
|
|
637
|
+
var _allItemRect$cur;
|
|
635
638
|
prepareSnap();
|
|
636
639
|
var _GeometryUtils$calcSn = GeometryUtils.calcSnap(allItemRect, allItemSnap, allLineRects, allLineSnap, allRect, x, y, allArea),
|
|
637
640
|
nx = _GeometryUtils$calcSn.nx,
|
|
@@ -675,19 +678,8 @@ export default function Viewer2D(_ref, _ref2) {
|
|
|
675
678
|
y: ny
|
|
676
679
|
};
|
|
677
680
|
var _isrectSect = GeometryUtils.validInterSect(allItemRect.others, _val);
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
itemsActions.updateRotatingItemChanged(rot, layerID, current_sel_obj_id);
|
|
681
|
-
endPoint.x = nx;
|
|
682
|
-
endPoint.y = ny;
|
|
683
|
-
}
|
|
684
|
-
if (allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Cook Top') || allItemRect.cur && allItemRect.cur.itemInfo.name.includes('cabinet')) {
|
|
685
|
-
itemsActions.updateDraggingItemChanged(nx, ny, layerID, current_sel_obj_id);
|
|
686
|
-
itemsActions.updateRotatingItemChanged(rot, layerID, current_sel_obj_id);
|
|
687
|
-
endPoint.x = nx;
|
|
688
|
-
endPoint.y = ny;
|
|
689
|
-
}
|
|
690
|
-
if (allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Hood') || allItemRect.cur.itemInfo.cabinet_category.toLowerCase().includes('hood') || allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Range') || allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Cook Top')) {
|
|
681
|
+
var _isCabinet = (_allItemRect$cur = allItemRect.cur) === null || _allItemRect$cur === void 0 ? void 0 : _allItemRect$cur.itemInfo.name.includes('cabinet');
|
|
682
|
+
if (_isrectSect && _isSect || _isCabinet || shouldBypassItemIntersectionValidation(allItemRect.cur)) {
|
|
691
683
|
itemsActions.updateDraggingItemChanged(nx, ny, layerID, current_sel_obj_id);
|
|
692
684
|
itemsActions.updateRotatingItemChanged(rot, layerID, current_sel_obj_id);
|
|
693
685
|
endPoint.x = nx;
|
|
@@ -751,15 +743,8 @@ export default function Viewer2D(_ref, _ref2) {
|
|
|
751
743
|
y: ny
|
|
752
744
|
};
|
|
753
745
|
var isrectSect = GeometryUtils.validInterSect(allItemRect.others, val);
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
itemsActions.updateRotatingItemChanged(rot, layerID, current_sel_obj_id);
|
|
757
|
-
}
|
|
758
|
-
if (allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Cook Top') || allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Cabinet')) {
|
|
759
|
-
itemsActions.updateDraggingItemChanged(nx, ny, layerID, current_sel_obj_id);
|
|
760
|
-
itemsActions.updateRotatingItemChanged(rot, layerID, current_sel_obj_id);
|
|
761
|
-
}
|
|
762
|
-
if (allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Hood') || allItemRect.cur.itemInfo.cabinet_category.toLowerCase().includes('hood') || allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Range') || allItemRect.cur && allItemRect.cur.itemInfo.name.includes('Cook Top')) {
|
|
746
|
+
var isCabinet = (_allItemRect$cur2 = allItemRect.cur) === null || _allItemRect$cur2 === void 0 ? void 0 : _allItemRect$cur2.itemInfo.name.includes('Cabinet');
|
|
747
|
+
if (isrectSect && isSect || isCabinet || shouldBypassItemIntersectionValidation(allItemRect.cur)) {
|
|
763
748
|
itemsActions.updateDraggingItemChanged(nx, ny, layerID, current_sel_obj_id);
|
|
764
749
|
itemsActions.updateRotatingItemChanged(rot, layerID, current_sel_obj_id);
|
|
765
750
|
}
|