kitchen-simulator 5.10.2-react.18 → 5.10.4-react.18

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 (579) hide show
  1. package/es/@history.js +2 -0
  2. package/es/AppContext.js +6 -0
  3. package/es/LiteKitchenConfigurator.js +474 -0
  4. package/es/LiteRenderer.js +363 -0
  5. package/es/WorkSpace.js +851 -0
  6. package/es/actions/area-actions.js +14 -0
  7. package/es/actions/export.js +23 -0
  8. package/es/actions/groups-actions.js +89 -0
  9. package/es/actions/holes-actions.js +119 -0
  10. package/es/actions/items-actions.js +316 -0
  11. package/es/actions/lines-actions.js +83 -0
  12. package/es/actions/project-actions.js +298 -0
  13. package/es/actions/scene-actions.js +33 -0
  14. package/es/actions/vertices-actions.js +27 -0
  15. package/es/actions/viewer2d-actions.js +58 -0
  16. package/es/actions/viewer3d-actions.js +23 -0
  17. package/es/assets/brown_photostudio_02_1k.hdr +0 -0
  18. package/es/assets/fonts/Rene Bieder Milliard Black Italic.woff +0 -0
  19. package/es/assets/fonts/Rene Bieder Milliard Black.woff +0 -0
  20. package/es/assets/fonts/Rene Bieder Milliard Bold Italic.woff +0 -0
  21. package/es/assets/fonts/Rene Bieder Milliard Bold.woff +0 -0
  22. package/es/assets/fonts/Rene Bieder Milliard Book Italic.woff +0 -0
  23. package/es/assets/fonts/Rene Bieder Milliard Book.woff +0 -0
  24. package/es/assets/fonts/Rene Bieder Milliard ExtraBold Italic.woff +0 -0
  25. package/es/assets/fonts/Rene Bieder Milliard ExtraBold.woff +0 -0
  26. package/es/assets/fonts/Rene Bieder Milliard ExtraLight Italic.woff +0 -0
  27. package/es/assets/fonts/Rene Bieder Milliard ExtraLight.woff +0 -0
  28. package/es/assets/fonts/Rene Bieder Milliard Hairline Italic.woff +0 -0
  29. package/es/assets/fonts/Rene Bieder Milliard Hairline.woff +0 -0
  30. package/es/assets/fonts/Rene Bieder Milliard Heavy Italic.woff +0 -0
  31. package/es/assets/fonts/Rene Bieder Milliard Heavy.woff +0 -0
  32. package/es/assets/fonts/Rene Bieder Milliard Light Italic.woff +0 -0
  33. package/es/assets/fonts/Rene Bieder Milliard Light.woff +0 -0
  34. package/es/assets/fonts/Rene Bieder Milliard Medium Italic.woff +0 -0
  35. package/es/assets/fonts/Rene Bieder Milliard Medium.woff +0 -0
  36. package/es/assets/fonts/Rene Bieder Milliard SemiBold Italic.woff +0 -0
  37. package/es/assets/fonts/Rene Bieder Milliard SemiBold.woff +0 -0
  38. package/es/assets/fonts/Rene Bieder Milliard Thin Italic.woff +0 -0
  39. package/es/assets/fonts/Rene Bieder Milliard Thin.woff +0 -0
  40. package/es/assets/fonts/style.css +177 -0
  41. package/es/assets/gltf/door_closet.bin +0 -0
  42. package/es/assets/gltf/door_closet.fbx +0 -0
  43. package/es/assets/gltf/door_closet.gltf +1 -0
  44. package/es/assets/gltf/door_exterior.bin +0 -0
  45. package/es/assets/gltf/door_exterior.fbx +0 -0
  46. package/es/assets/gltf/door_exterior.gltf +1 -0
  47. package/es/assets/gltf/door_interior.bin +0 -0
  48. package/es/assets/gltf/door_interior.fbx +0 -0
  49. package/es/assets/gltf/door_interior.gltf +1 -0
  50. package/es/assets/gltf/door_sliding.bin +0 -0
  51. package/es/assets/gltf/door_sliding.fbx +0 -0
  52. package/es/assets/gltf/door_sliding.gltf +1 -0
  53. package/es/assets/gltf/doorway_framed.bin +0 -0
  54. package/es/assets/gltf/doorway_framed.fbx +0 -0
  55. package/es/assets/gltf/doorway_framed.gltf +1 -0
  56. package/es/assets/gltf/window_clear.bin +0 -0
  57. package/es/assets/gltf/window_clear.fbx +0 -0
  58. package/es/assets/gltf/window_clear.gltf +1 -0
  59. package/es/assets/gltf/window_cross.bin +0 -0
  60. package/es/assets/gltf/window_cross.fbx +0 -0
  61. package/es/assets/gltf/window_cross.gltf +1 -0
  62. package/es/assets/gltf/window_double_hung.bin +0 -0
  63. package/es/assets/gltf/window_double_hung.fbx +0 -0
  64. package/es/assets/gltf/window_double_hung.gltf +1 -0
  65. package/es/assets/gltf/window_vertical.bin +0 -0
  66. package/es/assets/gltf/window_vertical.fbx +0 -0
  67. package/es/assets/gltf/window_vertical.gltf +1 -0
  68. package/es/assets/img/TKC_thumbnail.png +0 -0
  69. package/es/assets/img/Toggle.png +0 -0
  70. package/es/assets/img/loading/loading.gif +0 -0
  71. package/es/assets/img/loading/loading_1.svg +11 -0
  72. package/es/assets/img/loading_large.gif +0 -0
  73. package/es/assets/img/png/door/closet.png +0 -0
  74. package/es/assets/img/png/door/doorwaysframed.png +0 -0
  75. package/es/assets/img/png/door/doorwaysframeles.png +0 -0
  76. package/es/assets/img/png/door/doorwaysframeless.png +0 -0
  77. package/es/assets/img/png/door/exterior.png +0 -0
  78. package/es/assets/img/png/door/interior.png +0 -0
  79. package/es/assets/img/png/door/sliding.png +0 -0
  80. package/es/assets/img/png/helper/outcome.png +0 -0
  81. package/es/assets/img/png/helper/video_preview_3d.png +0 -0
  82. package/es/assets/img/png/helper/video_preview_start.png +0 -0
  83. package/es/assets/img/project_img.png +0 -0
  84. package/es/assets/img/rta/rta_logo_box_blue.jpg +0 -0
  85. package/es/assets/img/rta/rta_logo_box_blue_ico.jpg +0 -0
  86. package/es/assets/img/rta/rta_logo_box_blue_ico.svg +55 -0
  87. package/es/assets/img/rta/rta_logo_box_darkGray.jpg +0 -0
  88. package/es/assets/img/rta/rta_logo_box_lightblue.png +0 -0
  89. package/es/assets/img/rta/rta_logo_box_lightmaroon.png +0 -0
  90. package/es/assets/img/rta/rta_logo_box_maroon.png +0 -0
  91. package/es/assets/img/rta/rta_logo_box_white.png +0 -0
  92. package/es/assets/img/rta_menu.png +0 -0
  93. package/es/assets/img/step2.jpg +0 -0
  94. package/es/assets/img/step3.jpg +0 -0
  95. package/es/assets/img/step4.jpg +0 -0
  96. package/es/assets/img/step5.jpg +0 -0
  97. package/es/assets/img/step6.jpg +0 -0
  98. package/es/assets/img/step7.jpg +0 -0
  99. package/es/assets/img/step8.jpg +0 -0
  100. package/es/assets/img/svg/2d_delete_object.svg +33 -0
  101. package/es/assets/img/svg/2d_delete_object1.svg +33 -0
  102. package/es/assets/img/svg/2d_lock_object.svg +33 -0
  103. package/es/assets/img/svg/3d_item_move.svg +106 -0
  104. package/es/assets/img/svg/3d_item_rotation.svg +76 -0
  105. package/es/assets/img/svg/3d_item_warning_edit.svg +77 -0
  106. package/es/assets/img/svg/3d_item_warning_info.svg +81 -0
  107. package/es/assets/img/svg/accessories.svg +4 -0
  108. package/es/assets/img/svg/angle_icon.svg +39 -0
  109. package/es/assets/img/svg/blank_div.svg +14 -0
  110. package/es/assets/img/svg/bottombar/2d3d_button.svg +3 -0
  111. package/es/assets/img/svg/bottombar/2d3d_button_active.svg +3 -0
  112. package/es/assets/img/svg/bottombar/2d3d_toggle.svg +4 -0
  113. package/es/assets/img/svg/bottombar/2d3d_toggle_active.svg +4 -0
  114. package/es/assets/img/svg/bottombar/arrow-down.svg +3 -0
  115. package/es/assets/img/svg/bottombar/arrow-left.svg +3 -0
  116. package/es/assets/img/svg/bottombar/arrow-minus.svg +3 -0
  117. package/es/assets/img/svg/bottombar/arrow-plus.svg +11 -0
  118. package/es/assets/img/svg/bottombar/arrow-right.svg +3 -0
  119. package/es/assets/img/svg/bottombar/arrow-up.svg +3 -0
  120. package/es/assets/img/svg/bottombar/collapse.svg +3 -0
  121. package/es/assets/img/svg/bottombar/elevation-back.svg +6 -0
  122. package/es/assets/img/svg/bottombar/elevation-front.svg +6 -0
  123. package/es/assets/img/svg/bottombar/elevation-left.svg +6 -0
  124. package/es/assets/img/svg/bottombar/elevation-right.svg +7 -0
  125. package/es/assets/img/svg/bottombar/elevation.svg +13 -0
  126. package/es/assets/img/svg/bottombar/expand.svg +3 -0
  127. package/es/assets/img/svg/bottombar/help.svg +72 -0
  128. package/es/assets/img/svg/bottombar/incm_toggle.svg +39 -0
  129. package/es/assets/img/svg/bottombar/pan_1.svg +57 -0
  130. package/es/assets/img/svg/bottombar/pan_2.svg +27 -0
  131. package/es/assets/img/svg/bottombar/pan_3.svg +27 -0
  132. package/es/assets/img/svg/bottombar/pan_4.svg +27 -0
  133. package/es/assets/img/svg/bottombar/pan_5.svg +27 -0
  134. package/es/assets/img/svg/bottombar/settings.svg +23 -0
  135. package/es/assets/img/svg/bottombar/spin-down.svg +76 -0
  136. package/es/assets/img/svg/bottombar/spin-left.svg +75 -0
  137. package/es/assets/img/svg/bottombar/spin-right.svg +75 -0
  138. package/es/assets/img/svg/bottombar/spin-up.svg +76 -0
  139. package/es/assets/img/svg/bottombar/spin_1.svg +48 -0
  140. package/es/assets/img/svg/bottombar/spin_2.svg +31 -0
  141. package/es/assets/img/svg/bottombar/spin_3.svg +31 -0
  142. package/es/assets/img/svg/bottombar/spin_4.svg +31 -0
  143. package/es/assets/img/svg/bottombar/spin_5.svg +31 -0
  144. package/es/assets/img/svg/bottombar/zoomin.svg +29 -0
  145. package/es/assets/img/svg/bottombar/zoomout.svg +26 -0
  146. package/es/assets/img/svg/check.svg +10 -0
  147. package/es/assets/img/svg/close.svg +11 -0
  148. package/es/assets/img/svg/color/Black.svg +3 -0
  149. package/es/assets/img/svg/color/Blue.svg +3 -0
  150. package/es/assets/img/svg/color/Brown.svg +9 -0
  151. package/es/assets/img/svg/color/Cream.svg +3 -0
  152. package/es/assets/img/svg/color/Dark.svg +9 -0
  153. package/es/assets/img/svg/color/Gray.svg +3 -0
  154. package/es/assets/img/svg/color/Green.svg +3 -0
  155. package/es/assets/img/svg/color/Light.svg +9 -0
  156. package/es/assets/img/svg/color/Medium.svg +9 -0
  157. package/es/assets/img/svg/color/Unfinished.svg +9 -0
  158. package/es/assets/img/svg/color/White.svg +3 -0
  159. package/es/assets/img/svg/color/White.svg.bak +3 -0
  160. package/es/assets/img/svg/color/stone2.jpg +0 -0
  161. package/es/assets/img/svg/color/wood2.jpg +0 -0
  162. package/es/assets/img/svg/copy.svg +11 -0
  163. package/es/assets/img/svg/delete.svg +3 -0
  164. package/es/assets/img/svg/detail.svg +77 -0
  165. package/es/assets/img/svg/disclaimer/background.svg +758 -0
  166. package/es/assets/img/svg/disclaimer/logo-dots.svg +11 -0
  167. package/es/assets/img/svg/door/Closet.svg +11 -0
  168. package/es/assets/img/svg/door/Exterior.svg +5 -0
  169. package/es/assets/img/svg/door/Framed_dorway.svg +5 -0
  170. package/es/assets/img/svg/door/Frameless_dorway.svg +5 -0
  171. package/es/assets/img/svg/door/Interior.svg +7 -0
  172. package/es/assets/img/svg/door/Sliding.svg +5 -0
  173. package/es/assets/img/svg/doors_closet.svg +47 -0
  174. package/es/assets/img/svg/doors_exterior.svg +25 -0
  175. package/es/assets/img/svg/doors_interior.svg +29 -0
  176. package/es/assets/img/svg/doors_patio.svg +26 -0
  177. package/es/assets/img/svg/duplicate.svg +11 -0
  178. package/es/assets/img/svg/duplicate_object_left.svg +32 -0
  179. package/es/assets/img/svg/duplicate_object_right.svg +32 -0
  180. package/es/assets/img/svg/filtersActive.svg +19 -0
  181. package/es/assets/img/svg/firstsetting/L.svg +3 -0
  182. package/es/assets/img/svg/firstsetting/L2.svg +3 -0
  183. package/es/assets/img/svg/firstsetting/Open.svg +3 -0
  184. package/es/assets/img/svg/firstsetting/Square.svg +3 -0
  185. package/es/assets/img/svg/firstsetting/bar-active.svg +9 -0
  186. package/es/assets/img/svg/firstsetting/bar-normal.svg +3 -0
  187. package/es/assets/img/svg/firstsetting/bullet-current.svg +3 -0
  188. package/es/assets/img/svg/firstsetting/bullet-done.svg +3 -0
  189. package/es/assets/img/svg/firstsetting/bullet-not-done.svg +3 -0
  190. package/es/assets/img/svg/firstsetting/check-active.svg +3 -0
  191. package/es/assets/img/svg/firstsetting/check-normal.svg +3 -0
  192. package/es/assets/img/svg/firstsetting/pencil.svg +11 -0
  193. package/es/assets/img/svg/green_checkmark.svg +27 -0
  194. package/es/assets/img/svg/headerbar/assist.svg +3 -0
  195. package/es/assets/img/svg/headerbar/cart.svg +3 -0
  196. package/es/assets/img/svg/headerbar/check.svg +10 -0
  197. package/es/assets/img/svg/headerbar/consult_designer.svg +45 -0
  198. package/es/assets/img/svg/headerbar/edit_name.svg +26 -0
  199. package/es/assets/img/svg/headerbar/file-dollar.svg +13 -0
  200. package/es/assets/img/svg/headerbar/hamburger_menu.svg +32 -0
  201. package/es/assets/img/svg/headerbar/plus.svg +11 -0
  202. package/es/assets/img/svg/headerbar/review_quote.svg +44 -0
  203. package/es/assets/img/svg/headerbar/ruler-measure.svg +11 -0
  204. package/es/assets/img/svg/headerbar/save.svg +3 -0
  205. package/es/assets/img/svg/headerbar/setting.svg +75 -0
  206. package/es/assets/img/svg/help/check.svg +10 -0
  207. package/es/assets/img/svg/help/search.svg +76 -0
  208. package/es/assets/img/svg/intro/1-start-with-floorplan-whole.svg +27 -0
  209. package/es/assets/img/svg/intro/1-start-with-floorplan.svg +26 -0
  210. package/es/assets/img/svg/intro/2-start-from-scratch-whole.svg +28 -0
  211. package/es/assets/img/svg/intro/2-start-from-scratch.svg +27 -0
  212. package/es/assets/img/svg/intro/3-retrieve-project-whole.svg +19 -0
  213. package/es/assets/img/svg/intro/3-retrieve-project.svg +18 -0
  214. package/es/assets/img/svg/invert.svg +127 -0
  215. package/es/assets/img/svg/lefttoolbar/appliance-active.svg +13 -0
  216. package/es/assets/img/svg/lefttoolbar/appliance.svg +13 -0
  217. package/es/assets/img/svg/lefttoolbar/cabinet-active.svg +10 -0
  218. package/es/assets/img/svg/lefttoolbar/cabinet-category.svg +3 -0
  219. package/es/assets/img/svg/lefttoolbar/cabinet-one.svg +3 -0
  220. package/es/assets/img/svg/lefttoolbar/cabinet.svg +10 -0
  221. package/es/assets/img/svg/lefttoolbar/disigner_assistance.svg +89 -0
  222. package/es/assets/img/svg/lefttoolbar/door-style-active.svg +20 -0
  223. package/es/assets/img/svg/lefttoolbar/door-style.svg +20 -0
  224. package/es/assets/img/svg/lefttoolbar/door.svg +12 -0
  225. package/es/assets/img/svg/lefttoolbar/error_icon.svg +81 -0
  226. package/es/assets/img/svg/lefttoolbar/finishing-active.svg +13 -0
  227. package/es/assets/img/svg/lefttoolbar/finishing.svg +13 -0
  228. package/es/assets/img/svg/lefttoolbar/reviewforquote-active.svg +86 -0
  229. package/es/assets/img/svg/lefttoolbar/reviewforquote.svg +12 -0
  230. package/es/assets/img/svg/lefttoolbar/room-shape-L.svg +3 -0
  231. package/es/assets/img/svg/lefttoolbar/room-shape-active.svg +18 -0
  232. package/es/assets/img/svg/lefttoolbar/room-shape-custom.svg +12 -0
  233. package/es/assets/img/svg/lefttoolbar/room-shape-irregular.svg +3 -0
  234. package/es/assets/img/svg/lefttoolbar/room-shape-open.svg +3 -0
  235. package/es/assets/img/svg/lefttoolbar/room-shape-square.svg +3 -0
  236. package/es/assets/img/svg/lefttoolbar/room-shape.svg +18 -0
  237. package/es/assets/img/svg/lefttoolbar/search.svg +76 -0
  238. package/es/assets/img/svg/lefttoolbar/view_more.svg +86 -0
  239. package/es/assets/img/svg/lefttoolbar/warning_icon.svg +81 -0
  240. package/es/assets/img/svg/lefttoolbar/window.svg +12 -0
  241. package/es/assets/img/svg/logo.svg +11 -0
  242. package/es/assets/img/svg/logo_with_text.svg +25 -0
  243. package/es/assets/img/svg/menubar/login.svg +84 -0
  244. package/es/assets/img/svg/menubar/my_projects.svg +85 -0
  245. package/es/assets/img/svg/menubar/new_project.svg +110 -0
  246. package/es/assets/img/svg/menubar/save_project.svg +84 -0
  247. package/es/assets/img/svg/options.svg +3 -0
  248. package/es/assets/img/svg/positioning.svg +3 -0
  249. package/es/assets/img/svg/rotate.png +0 -0
  250. package/es/assets/img/svg/rotate.svg +17 -0
  251. package/es/assets/img/svg/rotate_object_clockwise.svg +26 -0
  252. package/es/assets/img/svg/rotate_object_counterclockwise.svg +26 -0
  253. package/es/assets/img/svg/toggleFilters.svg +19 -0
  254. package/es/assets/img/svg/toolbar/add_appliances_active.svg +64 -0
  255. package/es/assets/img/svg/toolbar/add_appliances_inactive.svg +52 -0
  256. package/es/assets/img/svg/toolbar/add_button.svg +36 -0
  257. package/es/assets/img/svg/toolbar/add_cabinets_active.svg +59 -0
  258. package/es/assets/img/svg/toolbar/add_cabinets_inactive.svg +49 -0
  259. package/es/assets/img/svg/toolbar/add_items_doors.svg +25 -0
  260. package/es/assets/img/svg/toolbar/add_items_doorways.svg +24 -0
  261. package/es/assets/img/svg/toolbar/add_items_refrigerator.svg +32 -0
  262. package/es/assets/img/svg/toolbar/add_items_windows.svg +28 -0
  263. package/es/assets/img/svg/toolbar/apply_button.svg +38 -0
  264. package/es/assets/img/svg/toolbar/arrow-plus.svg +11 -0
  265. package/es/assets/img/svg/toolbar/backsplash.svg +8 -0
  266. package/es/assets/img/svg/toolbar/cancel_button.svg +37 -0
  267. package/es/assets/img/svg/toolbar/consult_a_designer_button.svg +47 -0
  268. package/es/assets/img/svg/toolbar/countertop.svg +7 -0
  269. package/es/assets/img/svg/toolbar/dcm.png +0 -0
  270. package/es/assets/img/svg/toolbar/dcm_off.svg +12 -0
  271. package/es/assets/img/svg/toolbar/dcm_on.svg +474 -0
  272. package/es/assets/img/svg/toolbar/delete_button.svg +37 -0
  273. package/es/assets/img/svg/toolbar/download.svg +77 -0
  274. package/es/assets/img/svg/toolbar/draw_custom_floor.svg +31 -0
  275. package/es/assets/img/svg/toolbar/edit_button.svg +75 -0
  276. package/es/assets/img/svg/toolbar/email_quote_button.svg +44 -0
  277. package/es/assets/img/svg/toolbar/fbm.png +0 -0
  278. package/es/assets/img/svg/toolbar/finishing_touches_active.svg +54 -0
  279. package/es/assets/img/svg/toolbar/finishing_touches_inactive.svg +42 -0
  280. package/es/assets/img/svg/toolbar/floorstyle.svg +9 -0
  281. package/es/assets/img/svg/toolbar/fmb.png +0 -0
  282. package/es/assets/img/svg/toolbar/fmb_off.svg +12 -0
  283. package/es/assets/img/svg/toolbar/fmb_on.svg +489 -0
  284. package/es/assets/img/svg/toolbar/furnishings_icon.svg +6 -0
  285. package/es/assets/img/svg/toolbar/get_started_button.svg +41 -0
  286. package/es/assets/img/svg/toolbar/handles.svg +5 -0
  287. package/es/assets/img/svg/toolbar/lighting.svg +7 -0
  288. package/es/assets/img/svg/toolbar/lrm.png +0 -0
  289. package/es/assets/img/svg/toolbar/lrm_off.svg +12 -0
  290. package/es/assets/img/svg/toolbar/lrm_on.svg +470 -0
  291. package/es/assets/img/svg/toolbar/make_floorplan_active.svg +66 -0
  292. package/es/assets/img/svg/toolbar/make_floorplan_inactive.svg +52 -0
  293. package/es/assets/img/svg/toolbar/predefined_room_l_shaped.svg +20 -0
  294. package/es/assets/img/svg/toolbar/predefined_room_layout.svg +20 -0
  295. package/es/assets/img/svg/toolbar/predefined_room_long_narrow.svg +20 -0
  296. package/es/assets/img/svg/toolbar/predefined_room_open_l_shape.svg +20 -0
  297. package/es/assets/img/svg/toolbar/predefined_room_open_pentagon.svg +20 -0
  298. package/es/assets/img/svg/toolbar/predefined_room_open_rectangle.svg +20 -0
  299. package/es/assets/img/svg/toolbar/predefined_room_open_rectangle_2.svg +20 -0
  300. package/es/assets/img/svg/toolbar/predefined_room_pentagon.svg +20 -0
  301. package/es/assets/img/svg/toolbar/predefined_room_rectangle.svg +20 -0
  302. package/es/assets/img/svg/toolbar/predefined_room_rectangle_with_alcove.svg +20 -0
  303. package/es/assets/img/svg/toolbar/redo_button.svg +75 -0
  304. package/es/assets/img/svg/toolbar/redo_button1.svg +75 -0
  305. package/es/assets/img/svg/toolbar/review_quote_active.svg +14 -0
  306. package/es/assets/img/svg/toolbar/review_quote_inactive.svg +44 -0
  307. package/es/assets/img/svg/toolbar/save_project_button.svg +44 -0
  308. package/es/assets/img/svg/toolbar/select_doorstyle_active.svg +67 -0
  309. package/es/assets/img/svg/toolbar/select_doorstyle_inactive.svg +57 -0
  310. package/es/assets/img/svg/toolbar/shopping-cart.svg +13 -0
  311. package/es/assets/img/svg/toolbar/style_change_button.svg +47 -0
  312. package/es/assets/img/svg/toolbar/take_picture.svg +75 -0
  313. package/es/assets/img/svg/toolbar/undo_button.svg +76 -0
  314. package/es/assets/img/svg/toolbar/undo_button1.svg +76 -0
  315. package/es/assets/img/svg/toolbar/use_button.svg +37 -0
  316. package/es/assets/img/svg/toolbar/wall_color_icon.svg +6 -0
  317. package/es/assets/img/svg/topbar/edit_active.svg +10 -0
  318. package/es/assets/img/svg/topbar/edit_inactive.svg +10 -0
  319. package/es/assets/img/svg/topbar/redo_active.svg +42 -0
  320. package/es/assets/img/svg/topbar/redo_inactive.svg +23 -0
  321. package/es/assets/img/svg/topbar/select_all_active.svg +50 -0
  322. package/es/assets/img/svg/topbar/select_all_inactive.svg +32 -0
  323. package/es/assets/img/svg/topbar/take_picture_active.svg +51 -0
  324. package/es/assets/img/svg/topbar/take_picture_inactive.svg +26 -0
  325. package/es/assets/img/svg/topbar/undo_active.svg +42 -0
  326. package/es/assets/img/svg/topbar/undo_inactive.svg +23 -0
  327. package/es/assets/img/svg/warning_info_2d.svg +81 -0
  328. package/es/assets/img/svg/window/Clear.svg +3 -0
  329. package/es/assets/img/svg/window/Cross.svg +5 -0
  330. package/es/assets/img/svg/window/Double_hung.svg +4 -0
  331. package/es/assets/img/svg/window/Vertical.svg +4 -0
  332. package/es/assets/img/svg/windows_clear.svg +23 -0
  333. package/es/assets/img/svg/windows_cross.svg +28 -0
  334. package/es/assets/img/svg/windows_double_hung.svg +24 -0
  335. package/es/assets/img/svg/windows_vertical.svg +24 -0
  336. package/es/assets/img/svg/wizardstep/Custom.svg +3 -0
  337. package/es/assets/img/svg/wizardstep/Dashed_line.svg +3 -0
  338. package/es/assets/img/svg/wizardstep/L.svg +3 -0
  339. package/es/assets/img/svg/wizardstep/L2.svg +3 -0
  340. package/es/assets/img/svg/wizardstep/Open.svg +3 -0
  341. package/es/assets/img/svg/wizardstep/Square.svg +3 -0
  342. package/es/assets/img/svg/wizardstep/bar-active.svg +9 -0
  343. package/es/assets/img/svg/wizardstep/bar-normal.svg +3 -0
  344. package/es/assets/img/svg/wizardstep/bullet-current.svg +3 -0
  345. package/es/assets/img/svg/wizardstep/bullet-done.svg +3 -0
  346. package/es/assets/img/svg/wizardstep/bullet-not-done.svg +3 -0
  347. package/es/assets/img/svg/wizardstep/check-active.svg +3 -0
  348. package/es/assets/img/svg/wizardstep/check-normal.svg +3 -0
  349. package/es/assets/img/svg/wizardstep/detail_view.svg +87 -0
  350. package/es/assets/img/svg/wizardstep/pencil.svg +11 -0
  351. package/es/assets/img/svg/wizardstep/tile_view.svg +95 -0
  352. package/es/assets/img/texture/glass.jpg +0 -0
  353. package/es/assets/img/texture/steel.jpg +0 -0
  354. package/es/assets/img/texture/white1px.jpg +0 -0
  355. package/es/assets/img/texture/wood.jpg +0 -0
  356. package/es/assets/model/DCM.bin +0 -0
  357. package/es/assets/model/DCM.fbx +0 -0
  358. package/es/assets/model/DCM.gltf +1 -0
  359. package/es/assets/model/FBM.bin +0 -0
  360. package/es/assets/model/FBM.fbx +0 -0
  361. package/es/assets/model/FBM.gltf +1 -0
  362. package/es/assets/model/LRM.bin +0 -0
  363. package/es/assets/model/LRM.fbx +0 -0
  364. package/es/assets/model/LRM.gltf +1 -0
  365. package/es/assets/rtastore_logo.png +0 -0
  366. package/es/catalog/areas/area/planner-element.js +45 -0
  367. package/es/catalog/back.png +0 -0
  368. package/es/catalog/catalog.js +265 -0
  369. package/es/catalog/doors.png +0 -0
  370. package/es/catalog/doorways.png +0 -0
  371. package/es/catalog/envMap/nx.hdr +0 -0
  372. package/es/catalog/envMap/ny.hdr +0 -0
  373. package/es/catalog/envMap/nz.hdr +0 -0
  374. package/es/catalog/envMap/px.hdr +0 -0
  375. package/es/catalog/envMap/py.hdr +0 -0
  376. package/es/catalog/envMap/pz.hdr +0 -0
  377. package/es/catalog/export.js +0 -0
  378. package/es/catalog/factories/area-factory-3d.js +182 -0
  379. package/es/catalog/factories/area-factory.js +78 -0
  380. package/es/catalog/factories/export.js +7 -0
  381. package/es/catalog/factories/wall-factory-3d.js +202 -0
  382. package/es/catalog/factories/wall-factory.js +267 -0
  383. package/es/catalog/holes/door-closet/planner-element.js +222 -0
  384. package/es/catalog/holes/door-double/door_double.png +0 -0
  385. package/es/catalog/holes/door-double/planner-element.js +315 -0
  386. package/es/catalog/holes/door-exterior/planner-element.js +215 -0
  387. package/es/catalog/holes/door-interior/planner-element.js +227 -0
  388. package/es/catalog/holes/door-panic/panicDoor.png +0 -0
  389. package/es/catalog/holes/door-panic/planner-element.js +503 -0
  390. package/es/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
  391. package/es/catalog/holes/door-panic-double/planner-element.js +463 -0
  392. package/es/catalog/holes/door-sliding/planner-element.js +225 -0
  393. package/es/catalog/holes/doorway-framed/planner-element.js +145 -0
  394. package/es/catalog/holes/doorway-frameless/planner-element.js +104 -0
  395. package/es/catalog/holes/export.js +13 -0
  396. package/es/catalog/holes/gate/gate.jpg +0 -0
  397. package/es/catalog/holes/window-clear/planner-element.js +166 -0
  398. package/es/catalog/holes/window-clear/texture.png +0 -0
  399. package/es/catalog/holes/window-cross/planner-element.js +165 -0
  400. package/es/catalog/holes/window-cross/texture.png +0 -0
  401. package/es/catalog/holes/window-double-hung/planner-element.js +303 -0
  402. package/es/catalog/holes/window-double-hung/texture.png +0 -0
  403. package/es/catalog/holes/window-vertical/planner-element.js +276 -0
  404. package/es/catalog/holes/window-vertical/texture.png +0 -0
  405. package/es/catalog/lines/wall/planner-element.js +79 -0
  406. package/es/catalog/lines/wall/textures/bricks2.jpg +0 -0
  407. package/es/catalog/lines/wall/textures/bricks3.jpg +0 -0
  408. package/es/catalog/lines/wall/textures/painted-normal.jpg +0 -0
  409. package/es/catalog/molding/molding-dcm/planner-element.js +26 -0
  410. package/es/catalog/molding/molding-dcm/texture.png +0 -0
  411. package/es/catalog/molding/molding-fbm/planner-element.js +26 -0
  412. package/es/catalog/molding/molding-fbm/texture.png +0 -0
  413. package/es/catalog/molding/molding-lrm/planner-element.js +26 -0
  414. package/es/catalog/molding/molding-lrm/texture.png +0 -0
  415. package/es/catalog/properties/export.js +21 -0
  416. package/es/catalog/properties/property-checkbox.js +68 -0
  417. package/es/catalog/properties/property-color.js +39 -0
  418. package/es/catalog/properties/property-enum.js +50 -0
  419. package/es/catalog/properties/property-hidden.js +19 -0
  420. package/es/catalog/properties/property-lenght-measure.js +96 -0
  421. package/es/catalog/properties/property-length-measure.js +80 -0
  422. package/es/catalog/properties/property-length-measure_hole.js +96 -0
  423. package/es/catalog/properties/property-number.js +48 -0
  424. package/es/catalog/properties/property-read-only.js +26 -0
  425. package/es/catalog/properties/property-string.js +48 -0
  426. package/es/catalog/properties/property-toggle.js +39 -0
  427. package/es/catalog/properties/shared-property-style.js +14 -0
  428. package/es/catalog/utils/FuseUtils.js +79 -0
  429. package/es/catalog/utils/exporter.js +161 -0
  430. package/es/catalog/utils/geom-utils.js +189 -0
  431. package/es/catalog/utils/item-loader.js +1602 -0
  432. package/es/catalog/utils/load-obj.js +91 -0
  433. package/es/catalog/utils/mtl-loader.js +357 -0
  434. package/es/catalog/utils/obj-loader.js +476 -0
  435. package/es/catalog/windows.png +0 -0
  436. package/es/class/FuseUtils.js +79 -0
  437. package/es/class/area.js +141 -0
  438. package/es/class/export.js +24 -0
  439. package/es/class/group.js +431 -0
  440. package/es/class/guide.js +58 -0
  441. package/es/class/hole.js +924 -0
  442. package/es/class/item.js +1884 -0
  443. package/es/class/layer.js +663 -0
  444. package/es/class/line.js +1229 -0
  445. package/es/class/project.js +937 -0
  446. package/es/class/vertex.js +198 -0
  447. package/es/components/content.js +135 -0
  448. package/es/components/export.js +9 -0
  449. package/es/components/style/button.js +106 -0
  450. package/es/components/style/cancel-button.js +21 -0
  451. package/es/components/style/content-container.js +30 -0
  452. package/es/components/style/content-title.js +25 -0
  453. package/es/components/style/delete-button.js +24 -0
  454. package/es/components/style/export.js +31 -0
  455. package/es/components/style/form-block.js +20 -0
  456. package/es/components/style/form-color-input.js +26 -0
  457. package/es/components/style/form-label.js +22 -0
  458. package/es/components/style/form-number-input.js +192 -0
  459. package/es/components/style/form-number-input_2.js +238 -0
  460. package/es/components/style/form-select.js +19 -0
  461. package/es/components/style/form-slider.js +60 -0
  462. package/es/components/style/form-submit-button.js +25 -0
  463. package/es/components/style/form-text-input.js +69 -0
  464. package/es/components/viewer2d/area.js +81 -0
  465. package/es/components/viewer2d/export.js +31 -0
  466. package/es/components/viewer2d/grids/grid-horizontal-streak.js +36 -0
  467. package/es/components/viewer2d/grids/grid-streak.js +36 -0
  468. package/es/components/viewer2d/grids/grid-vertical-streak.js +36 -0
  469. package/es/components/viewer2d/grids/grids.js +30 -0
  470. package/es/components/viewer2d/group.js +48 -0
  471. package/es/components/viewer2d/item.js +243 -0
  472. package/es/components/viewer2d/layer.js +164 -0
  473. package/es/components/viewer2d/line.js +997 -0
  474. package/es/components/viewer2d/ruler.js +84 -0
  475. package/es/components/viewer2d/rulerDist.js +102 -0
  476. package/es/components/viewer2d/rulerX.js +142 -0
  477. package/es/components/viewer2d/rulerY.js +144 -0
  478. package/es/components/viewer2d/scene.js +108 -0
  479. package/es/components/viewer2d/snap.js +74 -0
  480. package/es/components/viewer2d/state.js +73 -0
  481. package/es/components/viewer2d/utils.js +193 -0
  482. package/es/components/viewer2d/vertex.js +66 -0
  483. package/es/components/viewer2d/viewer2d.js +1405 -0
  484. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +2585 -0
  485. package/es/components/viewer3d/dcm.js +401 -0
  486. package/es/components/viewer3d/fbm.js +414 -0
  487. package/es/components/viewer3d/front3D.js +62 -0
  488. package/es/components/viewer3d/grid-creator.js +25 -0
  489. package/es/components/viewer3d/grids/grid-horizontal-streak.js +36 -0
  490. package/es/components/viewer3d/grids/grid-streak.js +27 -0
  491. package/es/components/viewer3d/grids/grid-vertical-streak.js +36 -0
  492. package/es/components/viewer3d/libs/first-person-controls.js +67 -0
  493. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +1281 -0
  494. package/es/components/viewer3d/libs/mtl-loader.js +357 -0
  495. package/es/components/viewer3d/libs/obj-loader.js +462 -0
  496. package/es/components/viewer3d/libs/orbit-controls.js +697 -0
  497. package/es/components/viewer3d/libs/pointer-lock-controls.js +44 -0
  498. package/es/components/viewer3d/lrm.js +305 -0
  499. package/es/components/viewer3d/model.js +708 -0
  500. package/es/components/viewer3d/pointer-lock-navigation.js +115 -0
  501. package/es/components/viewer3d/ruler-utils/itemRect.js +61 -0
  502. package/es/components/viewer3d/ruler-utils/layer3D.js +495 -0
  503. package/es/components/viewer3d/ruler-utils/ruler3D.js +224 -0
  504. package/es/components/viewer3d/ruler-utils/scene3D.js +59 -0
  505. package/es/components/viewer3d/ruler-utils/state3D.js +18 -0
  506. package/es/components/viewer3d/scene-creator.js +3818 -0
  507. package/es/components/viewer3d/three-memory-cleaner.js +51 -0
  508. package/es/components/viewer3d/viewer3d-first-person.js +311 -0
  509. package/es/components/viewer3d/viewer3d.js +2654 -0
  510. package/es/constants.js +769 -0
  511. package/es/index.html.ejs +264 -0
  512. package/es/index.js +627 -3
  513. package/es/models.js +512 -0
  514. package/es/plugins/SVGLoader.js +1414 -0
  515. package/es/plugins/console-debugger.js +34 -0
  516. package/es/plugins/export.js +7 -0
  517. package/es/plugins/keyboard.js +110 -0
  518. package/es/reducers/areas-reducer.js +12 -0
  519. package/es/reducers/export.js +25 -0
  520. package/es/reducers/groups-reducer.js +38 -0
  521. package/es/reducers/holes-reducer.js +62 -0
  522. package/es/reducers/items-reducer.js +143 -0
  523. package/es/reducers/lines-reducer.js +45 -0
  524. package/es/reducers/project-reducer.js +136 -0
  525. package/es/reducers/reducer.js +19 -0
  526. package/es/reducers/scene-reducer.js +28 -0
  527. package/es/reducers/user-reducer.js +41 -0
  528. package/es/reducers/vertices-reducer.js +19 -0
  529. package/es/reducers/viewer2d-reducer.js +77 -0
  530. package/es/reducers/viewer3d-reducer.js +58 -0
  531. package/es/shared-style.js +66 -0
  532. package/es/translator/en.js +104 -0
  533. package/es/translator/it.js +79 -0
  534. package/es/translator/ru.js +79 -0
  535. package/es/translator/translator.js +80 -0
  536. package/es/utils/browser.js +33 -0
  537. package/es/utils/convert-units-lite.js +29 -0
  538. package/es/utils/email-validator.js +4 -0
  539. package/es/utils/export.js +25 -0
  540. package/es/utils/geometry.js +2609 -0
  541. package/es/utils/get-edges-of-subgraphs.js +26 -0
  542. package/es/utils/graph-cycles.js +238 -0
  543. package/es/utils/graph-inner-cycles.js +46 -0
  544. package/es/utils/graph.js +145 -0
  545. package/es/utils/helper.js +436 -0
  546. package/es/utils/history.js +29 -0
  547. package/es/utils/id-broker.js +15 -0
  548. package/es/utils/isolate-event-handler.js +1622 -0
  549. package/es/utils/logger.js +8 -0
  550. package/es/utils/math.js +50 -0
  551. package/es/utils/molding.js +1347 -0
  552. package/es/utils/name-generator.js +17 -0
  553. package/es/utils/objects-utils.js +50 -0
  554. package/es/utils/phone-validator.js +4 -0
  555. package/es/utils/process-black-list.js +15 -0
  556. package/es/utils/react-if.js +18 -0
  557. package/es/utils/ruler.js +58 -0
  558. package/es/utils/snap-scene.js +94 -0
  559. package/es/utils/snap.js +231 -0
  560. package/es/utils/summarizeCart.js +24 -0
  561. package/es/utils/threeCSG.es6.js +494 -0
  562. package/es/version.js +1 -0
  563. package/package.json +3 -4
  564. package/es/index.js.LICENSE.txt +0 -45
  565. package/es/index.js.map +0 -1
  566. /package/es/{e8e5de0892f5375460bd.jpg → catalog/areas/area/textures/ceramic-tile.jpg} +0 -0
  567. /package/es/{e470a2ce76062955fa98.jpg → catalog/areas/area/textures/grass.jpg} +0 -0
  568. /package/es/{e5ae13166775e7d071e4.jpg → catalog/areas/area/textures/parquet.jpg} +0 -0
  569. /package/es/{c232d250fd899392b1b7.jpg → catalog/areas/area/textures/strand-porcelain.jpg} +0 -0
  570. /package/es/{c7ae6f4de09134ebe588.jpg → catalog/areas/area/textures/tile1.jpg} +0 -0
  571. /package/es/{81e7a7e6edf162e88b44.jpg → catalog/lines/wall/textures/bricks-normal.jpg} +0 -0
  572. /package/es/{340a84d3930143a53545.jpg → catalog/lines/wall/textures/bricks-normal2.jpg} +0 -0
  573. /package/es/{a07d30a04bda8ee03491.jpg → catalog/lines/wall/textures/bricks.jpg} +0 -0
  574. /package/es/{5c8d36b3e7223934f447.jpg → catalog/lines/wall/textures/morden-normal.jpg} +0 -0
  575. /package/es/{8fe0f1210d8ba435a790.jpg → catalog/lines/wall/textures/morden.jpg} +0 -0
  576. /package/es/{bee3f62687a97bcc3d9f.jpg → catalog/lines/wall/textures/painted.jpg} +0 -0
  577. /package/es/{1fc74a85baa030dbc913.jpg → catalog/lines/wall/textures/plaster-normal.jpg} +0 -0
  578. /package/es/{dad5ee758630256ee702.jpg → catalog/lines/wall/textures/plaster.jpg} +0 -0
  579. /package/es/{30a49a74d9bd10068b65.png → catalog/lines/wall/wall.png} +0 -0
@@ -0,0 +1,298 @@
1
+ import { NEW_PROJECT, LOAD_PROJECT, SAVE_PROJECT, OPEN_CATALOG, SELECT_TOOL_EDIT, UNSELECT_ALL, SET_PROPERTIES, SET_ITEMS_ATTRIBUTES, SET_LINES_ATTRIBUTES, SET_HOLES_ATTRIBUTES, REMOVE, INVERT, UNDO, REDO, UNCREATE, PROJECT_RE_NAME, RECREATE, ROLLBACK, OPEN_PROJECT_CONFIGURATOR, SET_PROJECT_PROPERTIES, SET_PROJECT_ID, INIT_CATALOG, UPDATE_MOUSE_COORDS, UPDATE_ZOOM_SCALE, TOGGLE_SNAP, CHANGE_CATALOG_PAGE, GO_BACK_TO_CATALOG_PAGE, THROW_ERROR, THROW_WARNING, COPY_PROPERTIES, PASTE_PROPERTIES, PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY, ALTERATE_STATE, SET_MODE, ADD_HORIZONTAL_GUIDE, ADD_VERTICAL_GUIDE, ADD_CIRCULAR_GUIDE, REMOVE_HORIZONTAL_GUIDE, REMOVE_VERTICAL_GUIDE, REMOVE_CIRCULAR_GUIDE, REMOVE_DRAWING_SUPPORT, SELECT_ALL, SET_STATE_PROPERTIES, SHIFT2DOFF, SHIFT2DON, SET_IS_HELP, SET_IS_CABINET_DRAWING, ADD_ELEMENT_TO_CATALOG, CREATE_ROOM_WITH_SHAPE } from "../constants";
2
+ export function setIsHelp(isHelp) {
3
+ return {
4
+ type: SET_IS_HELP,
5
+ isHelp: isHelp
6
+ };
7
+ }
8
+ export function setIsCabinetDrawing(isCabinetDrawing) {
9
+ return {
10
+ type: SET_IS_CABINET_DRAWING,
11
+ isCabinetDrawing: isCabinetDrawing
12
+ };
13
+ }
14
+ export function setStateProperties(properties) {
15
+ return {
16
+ type: SET_STATE_PROPERTIES,
17
+ properties: properties
18
+ };
19
+ }
20
+ export function loadProject(sceneJSON) {
21
+ return {
22
+ type: LOAD_PROJECT,
23
+ sceneJSON: sceneJSON
24
+ };
25
+ }
26
+ export function newProject() {
27
+ return {
28
+ type: NEW_PROJECT
29
+ };
30
+ }
31
+ export function saveProject() {
32
+ return {
33
+ type: SAVE_PROJECT
34
+ };
35
+ }
36
+ export function openCatalog() {
37
+ return {
38
+ type: OPEN_CATALOG
39
+ };
40
+ }
41
+ export function changeCatalogPage(newPage, oldPage) {
42
+ return {
43
+ type: CHANGE_CATALOG_PAGE,
44
+ newPage: newPage,
45
+ oldPage: oldPage
46
+ };
47
+ }
48
+ export function goBackToCatalogPage(newPage) {
49
+ return {
50
+ type: GO_BACK_TO_CATALOG_PAGE,
51
+ newPage: newPage
52
+ };
53
+ }
54
+ export function selectToolEdit() {
55
+ return {
56
+ type: SELECT_TOOL_EDIT
57
+ };
58
+ }
59
+ export function unselectAll() {
60
+ return {
61
+ type: UNSELECT_ALL
62
+ };
63
+ }
64
+ export function setProperties(properties) {
65
+ return {
66
+ type: SET_PROPERTIES,
67
+ properties: properties
68
+ };
69
+ }
70
+ export function setItemsAttributes(itemsAttributes) {
71
+ itemsAttributes = itemsAttributes.set('rotation', parseFloat(itemsAttributes.get('rotation')));
72
+ return {
73
+ type: SET_ITEMS_ATTRIBUTES,
74
+ itemsAttributes: itemsAttributes
75
+ };
76
+ }
77
+ export function setLinesAttributes(linesAttributes) {
78
+ var isDirect = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
79
+ var directData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
80
+ linesAttributes = linesAttributes.withMutations(function (attributes) {
81
+ attributes.setIn(['vertexOne', 'x'], parseFloat(linesAttributes.getIn(['vertexOne', 'x'])));
82
+ attributes.setIn(['vertexOne', 'y'], parseFloat(linesAttributes.getIn(['vertexOne', 'y'])));
83
+ attributes.setIn(['vertexTwo', 'x'], parseFloat(linesAttributes.getIn(['vertexTwo', 'x'])));
84
+ attributes.setIn(['vertexTwo', 'y'], parseFloat(linesAttributes.getIn(['vertexTwo', 'y'])));
85
+ });
86
+ return {
87
+ type: SET_LINES_ATTRIBUTES,
88
+ linesAttributes: linesAttributes,
89
+ isDirect: isDirect,
90
+ directData: directData
91
+ };
92
+ }
93
+ export function setHolesAttributes(holesAttributes) {
94
+ holesAttributes = holesAttributes.set('offset', parseFloat(holesAttributes.get('offset')));
95
+ return {
96
+ type: SET_HOLES_ATTRIBUTES,
97
+ holesAttributes: holesAttributes
98
+ };
99
+ }
100
+ export function remove() {
101
+ var delObject = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
102
+ return {
103
+ type: REMOVE,
104
+ delObject: delObject
105
+ };
106
+ }
107
+ export function undo() {
108
+ return {
109
+ type: UNDO
110
+ };
111
+ }
112
+ export function redo() {
113
+ return {
114
+ type: REDO
115
+ };
116
+ }
117
+ export function uncreate() {
118
+ return {
119
+ type: UNCREATE
120
+ };
121
+ }
122
+ export function rename(name) {
123
+ return {
124
+ type: PROJECT_RE_NAME,
125
+ name: name
126
+ };
127
+ }
128
+ export function recreate() {
129
+ return {
130
+ type: RECREATE
131
+ };
132
+ }
133
+ export function shift2doff() {
134
+ return {
135
+ type: SHIFT2DOFF
136
+ };
137
+ }
138
+ export function shift2don() {
139
+ return {
140
+ type: SHIFT2DON
141
+ };
142
+ }
143
+ export function rollback() {
144
+ return {
145
+ type: ROLLBACK
146
+ };
147
+ }
148
+ export function openProjectConfigurator() {
149
+ return {
150
+ type: OPEN_PROJECT_CONFIGURATOR
151
+ };
152
+ }
153
+ export function setProjectProperties(properties) {
154
+ return {
155
+ type: SET_PROJECT_PROPERTIES,
156
+ properties: properties
157
+ };
158
+ }
159
+ export function setProjectID(id) {
160
+ return {
161
+ type: SET_PROJECT_ID,
162
+ id: id
163
+ };
164
+ }
165
+ export function initCatalog(catalog) {
166
+ return {
167
+ type: INIT_CATALOG,
168
+ catalog: catalog
169
+ };
170
+ }
171
+ export function addElementToCatalog(element) {
172
+ return {
173
+ type: ADD_ELEMENT_TO_CATALOG,
174
+ element: element
175
+ };
176
+ }
177
+ export function updateMouseCoord() {
178
+ var coords = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
179
+ x: x,
180
+ y: y
181
+ };
182
+ return {
183
+ type: UPDATE_MOUSE_COORDS,
184
+ coords: coords
185
+ };
186
+ }
187
+ export function updateZoomScale(scale) {
188
+ return {
189
+ type: UPDATE_ZOOM_SCALE,
190
+ scale: scale
191
+ };
192
+ }
193
+ export function toggleSnap(mask) {
194
+ return {
195
+ type: TOGGLE_SNAP,
196
+ mask: mask
197
+ };
198
+ }
199
+ export function throwError(error) {
200
+ return {
201
+ type: THROW_ERROR,
202
+ error: error
203
+ };
204
+ }
205
+ export function throwWarning(warning) {
206
+ return {
207
+ type: THROW_WARNING,
208
+ warning: warning
209
+ };
210
+ }
211
+ export function copyProperties(properties) {
212
+ return {
213
+ type: COPY_PROPERTIES,
214
+ properties: properties
215
+ };
216
+ }
217
+ export function pasteProperties() {
218
+ return {
219
+ type: PASTE_PROPERTIES
220
+ };
221
+ }
222
+ export function pushLastSelectedCatalogElementToHistory(element) {
223
+ return {
224
+ type: PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY,
225
+ element: element
226
+ };
227
+ }
228
+ export function setAlterateState() {
229
+ return {
230
+ type: ALTERATE_STATE
231
+ };
232
+ }
233
+ export function setMode(mode) {
234
+ return {
235
+ type: SET_MODE,
236
+ mode: mode
237
+ };
238
+ }
239
+ export function addHorizontalGuide(coordinate) {
240
+ return {
241
+ type: ADD_HORIZONTAL_GUIDE,
242
+ coordinate: coordinate
243
+ };
244
+ }
245
+ export function addVerticalGuide(coordinate) {
246
+ return {
247
+ type: ADD_VERTICAL_GUIDE,
248
+ coordinate: coordinate
249
+ };
250
+ }
251
+ export function addCircularGuide(x, y, radius) {
252
+ return {
253
+ type: ADD_CIRCULAR_GUIDE,
254
+ x: x,
255
+ y: y,
256
+ radius: radius
257
+ };
258
+ }
259
+ export function removeHorizontalGuide(guideID) {
260
+ return {
261
+ type: REMOVE_HORIZONTAL_GUIDE,
262
+ guideID: guideID
263
+ };
264
+ }
265
+ export function removeVerticalGuide(guideID) {
266
+ return {
267
+ type: REMOVE_VERTICAL_GUIDE,
268
+ guideID: guideID
269
+ };
270
+ }
271
+ export function removeCircularGuide(guideID) {
272
+ return {
273
+ type: REMOVE_CIRCULAR_GUIDE,
274
+ guideID: guideID
275
+ };
276
+ }
277
+ export function removeDrawingSupport() {
278
+ return {
279
+ type: REMOVE_DRAWING_SUPPORT
280
+ };
281
+ }
282
+ export function selectAll() {
283
+ var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
284
+ return {
285
+ type: SELECT_ALL,
286
+ value: value
287
+ };
288
+ }
289
+ export function createRoomWithShape(roomShapeType, width, height, measurementUnit, doorStyle) {
290
+ return {
291
+ type: CREATE_ROOM_WITH_SHAPE,
292
+ width: width,
293
+ height: height,
294
+ measurementUnit: measurementUnit,
295
+ roomShapeType: roomShapeType,
296
+ doorStyle: doorStyle
297
+ };
298
+ }
@@ -0,0 +1,33 @@
1
+ import { SELECT_LAYER, ADD_LAYER, SET_LAYER_PROPERTIES, REMOVE_LAYER, UPDATE_MOVING_STATE } from "../constants";
2
+ export function selectLayer(layerID) {
3
+ return {
4
+ type: SELECT_LAYER,
5
+ layerID: layerID
6
+ };
7
+ }
8
+ export function addLayer(name, altitude) {
9
+ return {
10
+ type: ADD_LAYER,
11
+ name: name,
12
+ altitude: altitude
13
+ };
14
+ }
15
+ export function setLayerProperties(layerID, properties) {
16
+ return {
17
+ type: SET_LAYER_PROPERTIES,
18
+ layerID: layerID,
19
+ properties: properties
20
+ };
21
+ }
22
+ export function removeLayer(layerID) {
23
+ return {
24
+ type: REMOVE_LAYER,
25
+ layerID: layerID
26
+ };
27
+ }
28
+ export function updateMovingState(showflag) {
29
+ return {
30
+ type: UPDATE_MOVING_STATE,
31
+ showflag: showflag
32
+ };
33
+ }
@@ -0,0 +1,27 @@
1
+ import { BEGIN_DRAGGING_VERTEX, UPDATE_DRAGGING_VERTEX, END_DRAGGING_VERTEX } from "../constants";
2
+ export function beginDraggingVertex(layerID, vertexID, x, y, snapMask) {
3
+ return {
4
+ type: BEGIN_DRAGGING_VERTEX,
5
+ layerID: layerID,
6
+ vertexID: vertexID,
7
+ x: x,
8
+ y: y,
9
+ snapMask: snapMask
10
+ };
11
+ }
12
+ export function updateDraggingVertex(x, y, snapMask) {
13
+ return {
14
+ type: UPDATE_DRAGGING_VERTEX,
15
+ x: x,
16
+ y: y,
17
+ snapMask: snapMask
18
+ };
19
+ }
20
+ export function endDraggingVertex(x, y, snapMask) {
21
+ return {
22
+ type: END_DRAGGING_VERTEX,
23
+ x: x,
24
+ y: y,
25
+ snapMask: snapMask
26
+ };
27
+ }
@@ -0,0 +1,58 @@
1
+ import { UPDATE_CEIL_HEIGHT_UNIT, UPDATE_CEIL_HEIGHT, UPDATE_2D_CAMERA, SELECT_TOOL_PAN, SELECT_TOOL_ZOOM_IN, SELECT_TOOL_ZOOM_OUT, CHANGE_WALL_LENGTH_MEASURE, CHANGE_BASE_CABINET_MEASURE, CHANGE_WALL_CABINET_MEASURE, CHANGE_WINDOW_DOOR_MEASURE } from "../constants";
2
+ export function updateCeilHeight(value) {
3
+ return {
4
+ type: UPDATE_CEIL_HEIGHT,
5
+ value: value
6
+ };
7
+ }
8
+ export function updateCeilHeightUnit(value) {
9
+ return {
10
+ type: UPDATE_CEIL_HEIGHT_UNIT,
11
+ value: value
12
+ };
13
+ }
14
+ export function updateCameraView(value) {
15
+ return {
16
+ type: UPDATE_2D_CAMERA,
17
+ value: value
18
+ };
19
+ }
20
+ export function changeWallLengthMeasure(value) {
21
+ return {
22
+ type: CHANGE_WALL_LENGTH_MEASURE,
23
+ value: value
24
+ };
25
+ }
26
+ export function changeBaseCabinetMeasure(value) {
27
+ return {
28
+ type: CHANGE_BASE_CABINET_MEASURE,
29
+ value: value
30
+ };
31
+ }
32
+ export function changeWallCabinetMeasure(value) {
33
+ return {
34
+ type: CHANGE_WALL_CABINET_MEASURE,
35
+ value: value
36
+ };
37
+ }
38
+ export function changeWindowDoorMeasure(value) {
39
+ return {
40
+ type: CHANGE_WINDOW_DOOR_MEASURE,
41
+ value: value
42
+ };
43
+ }
44
+ export function selectToolPan() {
45
+ return {
46
+ type: SELECT_TOOL_PAN
47
+ };
48
+ }
49
+ export function selectToolZoomOut() {
50
+ return {
51
+ type: SELECT_TOOL_ZOOM_OUT
52
+ };
53
+ }
54
+ export function selectToolZoomIn() {
55
+ return {
56
+ type: SELECT_TOOL_ZOOM_IN
57
+ };
58
+ }
@@ -0,0 +1,23 @@
1
+ import { UPDATE_3D_CEIL_HEIGHT_UNIT, UPDATE_3D_CEIL_HEIGHT, SELECT_TOOL_3D_VIEW, SELECT_TOOL_3D_FIRST_PERSON } from "../constants";
2
+ export function selectTool3DView() {
3
+ return {
4
+ type: SELECT_TOOL_3D_VIEW
5
+ };
6
+ }
7
+ export function selectTool3DFirstPerson() {
8
+ return {
9
+ type: SELECT_TOOL_3D_FIRST_PERSON
10
+ };
11
+ }
12
+ export function update3DCeilHeight(value) {
13
+ return {
14
+ type: UPDATE_3D_CEIL_HEIGHT,
15
+ value: value
16
+ };
17
+ }
18
+ export function update3DCeilHeightUnit(value) {
19
+ return {
20
+ type: UPDATE_3D_CEIL_HEIGHT_UNIT,
21
+ value: value
22
+ };
23
+ }
@@ -0,0 +1,177 @@
1
+ /* #### Generated By: http://www.cufonfonts.com #### */
2
+
3
+ @font-face {
4
+ font-family: 'Milliard Book';
5
+ font-style: normal;
6
+ font-weight: normal;
7
+ src: local('Milliard Book'),
8
+ url('Rene Bieder Milliard Book.woff') format('woff');
9
+ }
10
+
11
+ @font-face {
12
+ font-family: 'Milliard Book Italic';
13
+ font-style: normal;
14
+ font-weight: normal;
15
+ src: local('Milliard Book Italic'),
16
+ url('Rene Bieder Milliard Book Italic.woff') format('woff');
17
+ }
18
+
19
+ @font-face {
20
+ font-family: 'Milliard Hairline';
21
+ font-style: normal;
22
+ font-weight: normal;
23
+ src: local('Milliard Hairline'),
24
+ url('Rene Bieder Milliard Hairline.woff') format('woff');
25
+ }
26
+
27
+ @font-face {
28
+ font-family: 'Milliard Hairline Italic';
29
+ font-style: normal;
30
+ font-weight: normal;
31
+ src: local('Milliard Hairline Italic'),
32
+ url('Rene Bieder Milliard Hairline Italic.woff') format('woff');
33
+ }
34
+
35
+ @font-face {
36
+ font-family: 'Milliard Thin';
37
+ font-style: normal;
38
+ font-weight: normal;
39
+ src: local('Milliard Thin'),
40
+ url('Rene Bieder Milliard Thin.woff') format('woff');
41
+ }
42
+
43
+ @font-face {
44
+ font-family: 'Milliard Thin Italic';
45
+ font-style: normal;
46
+ font-weight: normal;
47
+ src: local('Milliard Thin Italic'),
48
+ url('Rene Bieder Milliard Thin Italic.woff') format('woff');
49
+ }
50
+
51
+ @font-face {
52
+ font-family: 'Milliard ExtraLight';
53
+ font-style: normal;
54
+ font-weight: normal;
55
+ src: local('Milliard ExtraLight'),
56
+ url('Rene Bieder Milliard ExtraLight.woff') format('woff');
57
+ }
58
+
59
+ @font-face {
60
+ font-family: 'Milliard ExtraLight Italic';
61
+ font-style: normal;
62
+ font-weight: normal;
63
+ src: local('Milliard ExtraLight Italic'),
64
+ url('Rene Bieder Milliard ExtraLight Italic.woff') format('woff');
65
+ }
66
+
67
+ @font-face {
68
+ font-family: 'Milliard Light';
69
+ font-style: normal;
70
+ font-weight: normal;
71
+ src: local('Milliard Light'),
72
+ url('Rene Bieder Milliard Light.woff') format('woff');
73
+ }
74
+
75
+ @font-face {
76
+ font-family: 'Milliard Light Italic';
77
+ font-style: normal;
78
+ font-weight: normal;
79
+ src: local('Milliard Light Italic'),
80
+ url('Rene Bieder Milliard Light Italic.woff') format('woff');
81
+ }
82
+
83
+ @font-face {
84
+ font-family: 'Milliard Medium';
85
+ font-style: normal;
86
+ font-weight: normal;
87
+ src: local('Milliard Medium'),
88
+ url('Rene Bieder Milliard Medium.woff') format('woff');
89
+ }
90
+
91
+ @font-face {
92
+ font-family: 'Milliard Medium Italic';
93
+ font-style: normal;
94
+ font-weight: normal;
95
+ src: local('Milliard Medium Italic'),
96
+ url('Rene Bieder Milliard Medium Italic.woff') format('woff');
97
+ }
98
+
99
+ @font-face {
100
+ font-family: 'Milliard SemiBold';
101
+ font-style: normal;
102
+ font-weight: normal;
103
+ src: local('Milliard SemiBold'),
104
+ url('Rene Bieder Milliard SemiBold.woff') format('woff');
105
+ }
106
+
107
+ @font-face {
108
+ font-family: 'Milliard SemiBold Italic';
109
+ font-style: normal;
110
+ font-weight: normal;
111
+ src: local('Milliard SemiBold Italic'),
112
+ url('Rene Bieder Milliard SemiBold Italic.woff') format('woff');
113
+ }
114
+
115
+ @font-face {
116
+ font-family: 'Milliard Bold';
117
+ font-style: normal;
118
+ font-weight: normal;
119
+ src: local('Milliard Bold'),
120
+ url('Rene Bieder Milliard Bold.woff') format('woff');
121
+ }
122
+
123
+ @font-face {
124
+ font-family: 'Milliard Bold Italic';
125
+ font-style: normal;
126
+ font-weight: normal;
127
+ src: local('Milliard Bold Italic'),
128
+ url('Rene Bieder Milliard Bold Italic.woff') format('woff');
129
+ }
130
+
131
+ @font-face {
132
+ font-family: 'Milliard ExtraBold';
133
+ font-style: normal;
134
+ font-weight: normal;
135
+ src: local('Milliard ExtraBold'),
136
+ url('Rene Bieder Milliard ExtraBold.woff') format('woff');
137
+ }
138
+
139
+ @font-face {
140
+ font-family: 'Milliard ExtraBold Italic';
141
+ font-style: normal;
142
+ font-weight: normal;
143
+ src: local('Milliard ExtraBold Italic'),
144
+ url('Rene Bieder Milliard ExtraBold Italic.woff') format('woff');
145
+ }
146
+
147
+ @font-face {
148
+ font-family: 'Milliard Heavy';
149
+ font-style: normal;
150
+ font-weight: normal;
151
+ src: local('Milliard Heavy'),
152
+ url('Rene Bieder Milliard Heavy.woff') format('woff');
153
+ }
154
+
155
+ @font-face {
156
+ font-family: 'Milliard Heavy Italic';
157
+ font-style: normal;
158
+ font-weight: normal;
159
+ src: local('Milliard Heavy Italic'),
160
+ url('Rene Bieder Milliard Heavy Italic.woff') format('woff');
161
+ }
162
+
163
+ @font-face {
164
+ font-family: 'Milliard Black';
165
+ font-style: normal;
166
+ font-weight: normal;
167
+ src: local('Milliard Black'),
168
+ url('Rene Bieder Milliard Black.woff') format('woff');
169
+ }
170
+
171
+ @font-face {
172
+ font-family: 'Milliard Black Italic';
173
+ font-style: normal;
174
+ font-weight: normal;
175
+ src: local('Milliard Black Italic'),
176
+ url('Rene Bieder Milliard Black Italic.woff') format('woff');
177
+ }
Binary file
Binary file
@@ -0,0 +1 @@
1
+ {"asset":{"version":"2.0","generator":"babylon.js glTF exporter for 3dsmax 2020 v20211112.3"},"scene":0,"scenes":[{"nodes":[0,1]}],"nodes":[{"mesh":0,"translation":[7.62939436E-08,6.198883E-08,-0.0259019472],"rotation":[0.0,4.81747975E-12,0.0,1.0],"name":"door_closet_wood"},{"mesh":1,"translation":[0.0,-0.193720281,-0.0524617],"rotation":[0.0,0.0,-6.77624755E-19,1.0],"name":"door_closet_steel"}],"meshes":[{"primitives":[{"attributes":{"POSITION":1,"NORMAL":2,"TEXCOORD_0":3,"TEXCOORD_1":4},"indices":0}],"name":"door_closet_wood"},{"primitives":[{"attributes":{"POSITION":6,"NORMAL":7,"TEXCOORD_0":8},"indices":5}],"name":"door_closet_steel"}],"accessors":[{"bufferView":0,"componentType":5123,"count":6801,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"componentType":5126,"count":5314,"max":[0.7079156,1.1,0.07238953],"min":[-0.7079156,-1.10000026,-0.072389394],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":63768,"componentType":5126,"count":5314,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"componentType":5126,"count":5314,"type":"VEC2","name":"accessorUVs"},{"bufferView":2,"byteOffset":42512,"componentType":5126,"count":5314,"type":"VEC2","name":"accessorUV2s"},{"bufferView":0,"byteOffset":13604,"componentType":5123,"count":936,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":127536,"componentType":5126,"count":442,"max":[0.0746056661,0.09915788,0.00708131772],"min":[-0.0746056661,-0.09915786,-0.00708158361],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":132840,"componentType":5126,"count":442,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":85024,"componentType":5126,"count":442,"type":"VEC2","name":"accessorUVs"}],"bufferViews":[{"buffer":0,"byteLength":15476,"name":"bufferViewScalar"},{"buffer":0,"byteOffset":15476,"byteLength":138144,"byteStride":12,"name":"bufferViewFloatVec3"},{"buffer":0,"byteOffset":153620,"byteLength":88560,"byteStride":8,"name":"bufferViewFloatVec2"}],"buffers":[{"uri":"door_closet.bin","byteLength":242180}]}
Binary file
Binary file