kitchen-simulator 1.1.1-test.75 → 1.1.1-test.77

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 (876) hide show
  1. package/README.md +24 -1
  2. package/es/CrossSignOn.js +84 -0
  3. package/es/KitchenConfigurator.js +811 -48
  4. package/es/LiteKitchenConfigurator.js +631 -0
  5. package/es/{KitchenConfiguratorApp.js → LiteRenderer.js} +4 -4
  6. package/es/actions/export.js +4 -2
  7. package/es/actions/holes-actions.js +1 -1
  8. package/es/actions/items-actions.js +1 -1
  9. package/es/actions/lines-actions.js +1 -1
  10. package/es/actions/project-actions.js +1 -1
  11. package/es/actions/scene-actions.js +1 -1
  12. package/es/actions/user-actions.js +58 -0
  13. package/es/actions/vertices-actions.js +1 -1
  14. package/es/actions/viewer2d-actions.js +1 -1
  15. package/es/actions/viewer3d-actions.js +1 -1
  16. package/es/analytics/ga4.js +188 -0
  17. package/es/analytics/posthog.js +60 -0
  18. package/es/assets/Window.hdr +2100 -0
  19. package/es/assets/brown_photostudio_02_1k.hdr +0 -0
  20. package/es/assets/fonts/Rene Bieder Milliard Black Italic.woff +0 -0
  21. package/es/assets/fonts/Rene Bieder Milliard Black.woff +0 -0
  22. package/es/assets/fonts/Rene Bieder Milliard Bold Italic.woff +0 -0
  23. package/es/assets/fonts/Rene Bieder Milliard Bold.woff +0 -0
  24. package/es/assets/fonts/Rene Bieder Milliard Book Italic.woff +0 -0
  25. package/es/assets/fonts/Rene Bieder Milliard Book.woff +0 -0
  26. package/es/assets/fonts/Rene Bieder Milliard ExtraBold Italic.woff +0 -0
  27. package/es/assets/fonts/Rene Bieder Milliard ExtraBold.woff +0 -0
  28. package/es/assets/fonts/Rene Bieder Milliard ExtraLight Italic.woff +0 -0
  29. package/es/assets/fonts/Rene Bieder Milliard ExtraLight.woff +0 -0
  30. package/es/assets/fonts/Rene Bieder Milliard Hairline Italic.woff +0 -0
  31. package/es/assets/fonts/Rene Bieder Milliard Hairline.woff +0 -0
  32. package/es/assets/fonts/Rene Bieder Milliard Heavy Italic.woff +0 -0
  33. package/es/assets/fonts/Rene Bieder Milliard Heavy.woff +0 -0
  34. package/es/assets/fonts/Rene Bieder Milliard Light Italic.woff +0 -0
  35. package/es/assets/fonts/Rene Bieder Milliard Light.woff +0 -0
  36. package/es/assets/fonts/Rene Bieder Milliard Medium Italic.woff +0 -0
  37. package/es/assets/fonts/Rene Bieder Milliard Medium.woff +0 -0
  38. package/es/assets/fonts/Rene Bieder Milliard SemiBold Italic.woff +0 -0
  39. package/es/assets/fonts/Rene Bieder Milliard SemiBold.woff +0 -0
  40. package/es/assets/fonts/Rene Bieder Milliard Thin Italic.woff +0 -0
  41. package/es/assets/fonts/Rene Bieder Milliard Thin.woff +0 -0
  42. package/es/assets/fonts/style.css +177 -0
  43. package/es/assets/gltf/door_closet.bin +0 -0
  44. package/es/assets/gltf/door_closet.fbx +0 -0
  45. package/es/assets/gltf/door_closet.gltf +1 -0
  46. package/es/assets/gltf/door_exterior.bin +0 -0
  47. package/es/assets/gltf/door_exterior.fbx +0 -0
  48. package/es/assets/gltf/door_exterior.gltf +1 -0
  49. package/es/assets/gltf/door_interior.bin +0 -0
  50. package/es/assets/gltf/door_interior.fbx +0 -0
  51. package/es/assets/gltf/door_interior.gltf +1 -0
  52. package/es/assets/gltf/door_sliding.bin +0 -0
  53. package/es/assets/gltf/door_sliding.fbx +0 -0
  54. package/es/assets/gltf/door_sliding.gltf +1 -0
  55. package/es/assets/gltf/doorway_framed.bin +0 -0
  56. package/es/assets/gltf/doorway_framed.fbx +0 -0
  57. package/es/assets/gltf/doorway_framed.gltf +1 -0
  58. package/es/assets/gltf/window_clear.bin +0 -0
  59. package/es/assets/gltf/window_clear.fbx +0 -0
  60. package/es/assets/gltf/window_clear.gltf +1 -0
  61. package/es/assets/gltf/window_cross.bin +0 -0
  62. package/es/assets/gltf/window_cross.fbx +0 -0
  63. package/es/assets/gltf/window_cross.gltf +1 -0
  64. package/es/assets/gltf/window_double_hung.bin +0 -0
  65. package/es/assets/gltf/window_double_hung.fbx +0 -0
  66. package/es/assets/gltf/window_double_hung.gltf +1 -0
  67. package/es/assets/gltf/window_vertical.bin +0 -0
  68. package/es/assets/gltf/window_vertical.fbx +0 -0
  69. package/es/assets/gltf/window_vertical.gltf +1 -0
  70. package/es/assets/img/1.jpg +0 -0
  71. package/es/assets/img/TKC_thumbnail.png +0 -0
  72. package/es/assets/img/Toggle.png +0 -0
  73. package/es/assets/img/loading/loading.gif +0 -0
  74. package/es/assets/img/loading/loading_1.svg +11 -0
  75. package/es/assets/img/loading_large.gif +0 -0
  76. package/es/assets/img/png/door/closet.png +0 -0
  77. package/es/assets/img/png/door/doorwaysframed.png +0 -0
  78. package/es/assets/img/png/door/doorwaysframeles.png +0 -0
  79. package/es/assets/img/png/door/doorwaysframeless.png +0 -0
  80. package/es/assets/img/png/door/exterior.png +0 -0
  81. package/es/assets/img/png/door/interior.png +0 -0
  82. package/es/assets/img/png/door/sliding.png +0 -0
  83. package/es/assets/img/png/helper/outcome.png +0 -0
  84. package/es/assets/img/png/helper/video_preview_3d.png +0 -0
  85. package/es/assets/img/png/helper/video_preview_start.png +0 -0
  86. package/es/assets/img/project_img.png +0 -0
  87. package/es/assets/img/rta/rta_logo_box_blue.jpg +0 -0
  88. package/es/assets/img/rta/rta_logo_box_blue_ico.jpg +0 -0
  89. package/es/assets/img/rta/rta_logo_box_blue_ico.svg +55 -0
  90. package/es/assets/img/rta/rta_logo_box_darkGray.jpg +0 -0
  91. package/es/assets/img/rta/rta_logo_box_lightblue.png +0 -0
  92. package/es/assets/img/rta/rta_logo_box_lightmaroon.png +0 -0
  93. package/es/assets/img/rta/rta_logo_box_maroon.png +0 -0
  94. package/es/assets/img/rta/rta_logo_box_white.png +0 -0
  95. package/es/assets/img/rta_menu.png +0 -0
  96. package/es/assets/img/step2.jpg +0 -0
  97. package/es/assets/img/step3.jpg +0 -0
  98. package/es/assets/img/step4.jpg +0 -0
  99. package/es/assets/img/step5.jpg +0 -0
  100. package/es/assets/img/step6.jpg +0 -0
  101. package/es/assets/img/step7.jpg +0 -0
  102. package/es/assets/img/step8.jpg +0 -0
  103. package/es/assets/img/svg/2d_delete_object.svg +33 -0
  104. package/es/assets/img/svg/2d_delete_object1.svg +33 -0
  105. package/es/assets/img/svg/2d_lock_object.svg +33 -0
  106. package/es/assets/img/svg/3d_item_move.svg +106 -0
  107. package/es/assets/img/svg/3d_item_rotation.svg +76 -0
  108. package/es/assets/img/svg/3d_item_warning_edit.svg +77 -0
  109. package/es/assets/img/svg/3d_item_warning_info.svg +81 -0
  110. package/es/assets/img/svg/accessories.svg +4 -0
  111. package/es/assets/img/svg/angle_icon.svg +39 -0
  112. package/es/assets/img/svg/blank_div.svg +14 -0
  113. package/es/assets/img/svg/bottombar/2d3d_button.svg +3 -0
  114. package/es/assets/img/svg/bottombar/2d3d_button_active.svg +3 -0
  115. package/es/assets/img/svg/bottombar/2d3d_toggle.svg +4 -0
  116. package/es/assets/img/svg/bottombar/2d3d_toggle_active.svg +4 -0
  117. package/es/assets/img/svg/bottombar/arrow-down.svg +3 -0
  118. package/es/assets/img/svg/bottombar/arrow-left.svg +3 -0
  119. package/es/assets/img/svg/bottombar/arrow-minus.svg +3 -0
  120. package/es/assets/img/svg/bottombar/arrow-plus.svg +11 -0
  121. package/es/assets/img/svg/bottombar/arrow-right.svg +3 -0
  122. package/es/assets/img/svg/bottombar/arrow-up.svg +3 -0
  123. package/es/assets/img/svg/bottombar/collapse.svg +3 -0
  124. package/es/assets/img/svg/bottombar/elevation-back.svg +6 -0
  125. package/es/assets/img/svg/bottombar/elevation-front.svg +6 -0
  126. package/es/assets/img/svg/bottombar/elevation-left.svg +6 -0
  127. package/es/assets/img/svg/bottombar/elevation-right.svg +7 -0
  128. package/es/assets/img/svg/bottombar/elevation.svg +6 -0
  129. package/es/assets/img/svg/bottombar/expand.svg +3 -0
  130. package/es/assets/img/svg/bottombar/help.svg +72 -0
  131. package/es/assets/img/svg/bottombar/incm_toggle.svg +39 -0
  132. package/es/assets/img/svg/bottombar/pan_1.svg +57 -0
  133. package/es/assets/img/svg/bottombar/pan_2.svg +27 -0
  134. package/es/assets/img/svg/bottombar/pan_3.svg +27 -0
  135. package/es/assets/img/svg/bottombar/pan_4.svg +27 -0
  136. package/es/assets/img/svg/bottombar/pan_5.svg +27 -0
  137. package/es/assets/img/svg/bottombar/settings.svg +23 -0
  138. package/es/assets/img/svg/bottombar/spin-down.svg +76 -0
  139. package/es/assets/img/svg/bottombar/spin-left.svg +75 -0
  140. package/es/assets/img/svg/bottombar/spin-right.svg +75 -0
  141. package/es/assets/img/svg/bottombar/spin-up.svg +76 -0
  142. package/es/assets/img/svg/bottombar/spin_1.svg +48 -0
  143. package/es/assets/img/svg/bottombar/spin_2.svg +31 -0
  144. package/es/assets/img/svg/bottombar/spin_3.svg +31 -0
  145. package/es/assets/img/svg/bottombar/spin_4.svg +31 -0
  146. package/es/assets/img/svg/bottombar/spin_5.svg +31 -0
  147. package/es/assets/img/svg/bottombar/zoomin.svg +29 -0
  148. package/es/assets/img/svg/bottombar/zoomout.svg +26 -0
  149. package/es/assets/img/svg/check.svg +10 -0
  150. package/es/assets/img/svg/close.svg +11 -0
  151. package/es/assets/img/svg/color/Black.svg +3 -0
  152. package/es/assets/img/svg/color/Blue.svg +3 -0
  153. package/es/assets/img/svg/color/Brown.svg +9 -0
  154. package/es/assets/img/svg/color/Cream.svg +3 -0
  155. package/es/assets/img/svg/color/Dark.svg +9 -0
  156. package/es/assets/img/svg/color/Gray.svg +3 -0
  157. package/es/assets/img/svg/color/Green.svg +3 -0
  158. package/es/assets/img/svg/color/Light.svg +9 -0
  159. package/es/assets/img/svg/color/Medium.svg +9 -0
  160. package/es/assets/img/svg/color/Unfinished.svg +9 -0
  161. package/es/assets/img/svg/color/White.svg +3 -0
  162. package/es/assets/img/svg/color/White.svg.bak +3 -0
  163. package/es/assets/img/svg/color/stone2.jpg +0 -0
  164. package/es/assets/img/svg/color/wood2.jpg +0 -0
  165. package/es/assets/img/svg/copy.svg +11 -0
  166. package/es/assets/img/svg/delete.svg +3 -0
  167. package/es/assets/img/svg/detail.svg +77 -0
  168. package/es/assets/img/svg/disclaimer/background.svg +758 -0
  169. package/es/assets/img/svg/disclaimer/logo-dots.svg +11 -0
  170. package/es/assets/img/svg/door/Closet.svg +11 -0
  171. package/es/assets/img/svg/door/Exterior.svg +5 -0
  172. package/es/assets/img/svg/door/Framed_dorway.svg +5 -0
  173. package/es/assets/img/svg/door/Frameless_dorway.svg +5 -0
  174. package/es/assets/img/svg/door/Interior.svg +7 -0
  175. package/es/assets/img/svg/door/Sliding.svg +5 -0
  176. package/es/assets/img/svg/doors_closet.svg +47 -0
  177. package/es/assets/img/svg/doors_exterior.svg +25 -0
  178. package/es/assets/img/svg/doors_interior.svg +29 -0
  179. package/es/assets/img/svg/doors_patio.svg +26 -0
  180. package/es/assets/img/svg/duplicate.svg +11 -0
  181. package/es/assets/img/svg/duplicate_object_left.svg +32 -0
  182. package/es/assets/img/svg/duplicate_object_right.svg +32 -0
  183. package/es/assets/img/svg/filtersActive.svg +19 -0
  184. package/es/assets/img/svg/firstsetting/L.svg +3 -0
  185. package/es/assets/img/svg/firstsetting/L2.svg +3 -0
  186. package/es/assets/img/svg/firstsetting/Open.svg +3 -0
  187. package/es/assets/img/svg/firstsetting/Square.svg +3 -0
  188. package/es/assets/img/svg/firstsetting/bar-active.svg +9 -0
  189. package/es/assets/img/svg/firstsetting/bar-normal.svg +3 -0
  190. package/es/assets/img/svg/firstsetting/bullet-current.svg +3 -0
  191. package/es/assets/img/svg/firstsetting/bullet-done.svg +3 -0
  192. package/es/assets/img/svg/firstsetting/bullet-not-done.svg +3 -0
  193. package/es/assets/img/svg/firstsetting/check-active.svg +3 -0
  194. package/es/assets/img/svg/firstsetting/check-normal.svg +3 -0
  195. package/es/assets/img/svg/firstsetting/pencil.svg +11 -0
  196. package/es/assets/img/svg/green_checkmark.svg +27 -0
  197. package/es/assets/img/svg/headerbar/assist.svg +3 -0
  198. package/es/assets/img/svg/headerbar/cart.svg +3 -0
  199. package/es/assets/img/svg/headerbar/check.svg +10 -0
  200. package/es/assets/img/svg/headerbar/consult_designer.svg +45 -0
  201. package/es/assets/img/svg/headerbar/edit_name.svg +26 -0
  202. package/es/assets/img/svg/headerbar/file-dollar.svg +13 -0
  203. package/es/assets/img/svg/headerbar/hamburger_menu.svg +32 -0
  204. package/es/assets/img/svg/headerbar/plus.svg +11 -0
  205. package/es/assets/img/svg/headerbar/review_quote.svg +44 -0
  206. package/es/assets/img/svg/headerbar/ruler-measure.svg +11 -0
  207. package/es/assets/img/svg/headerbar/save.svg +3 -0
  208. package/es/assets/img/svg/headerbar/setting.svg +75 -0
  209. package/es/assets/img/svg/help/check.svg +10 -0
  210. package/es/assets/img/svg/help/search.svg +76 -0
  211. package/es/assets/img/svg/intro/1-start-with-floorplan-whole.svg +27 -0
  212. package/es/assets/img/svg/intro/1-start-with-floorplan.svg +26 -0
  213. package/es/assets/img/svg/intro/2-start-from-scratch-whole.svg +28 -0
  214. package/es/assets/img/svg/intro/2-start-from-scratch.svg +27 -0
  215. package/es/assets/img/svg/intro/3-retrieve-project-whole.svg +19 -0
  216. package/es/assets/img/svg/intro/3-retrieve-project.svg +18 -0
  217. package/es/assets/img/svg/invert.svg +127 -0
  218. package/es/assets/img/svg/lefttoolbar/appliance-active.svg +13 -0
  219. package/es/assets/img/svg/lefttoolbar/appliance.svg +13 -0
  220. package/es/assets/img/svg/lefttoolbar/cabinet-active.svg +10 -0
  221. package/es/assets/img/svg/lefttoolbar/cabinet-category.svg +3 -0
  222. package/es/assets/img/svg/lefttoolbar/cabinet-one.svg +3 -0
  223. package/es/assets/img/svg/lefttoolbar/cabinet.svg +10 -0
  224. package/es/assets/img/svg/lefttoolbar/disigner_assistance.svg +89 -0
  225. package/es/assets/img/svg/lefttoolbar/door-style-active.svg +20 -0
  226. package/es/assets/img/svg/lefttoolbar/door-style.svg +20 -0
  227. package/es/assets/img/svg/lefttoolbar/door.svg +12 -0
  228. package/es/assets/img/svg/lefttoolbar/error_icon.svg +81 -0
  229. package/es/assets/img/svg/lefttoolbar/finishing-active.svg +13 -0
  230. package/es/assets/img/svg/lefttoolbar/finishing.svg +13 -0
  231. package/es/assets/img/svg/lefttoolbar/reviewforquote-active.svg +86 -0
  232. package/es/assets/img/svg/lefttoolbar/reviewforquote.svg +12 -0
  233. package/es/assets/img/svg/lefttoolbar/room-shape-L.svg +3 -0
  234. package/es/assets/img/svg/lefttoolbar/room-shape-active.svg +18 -0
  235. package/es/assets/img/svg/lefttoolbar/room-shape-custom.svg +12 -0
  236. package/es/assets/img/svg/lefttoolbar/room-shape-irregular.svg +3 -0
  237. package/es/assets/img/svg/lefttoolbar/room-shape-open.svg +3 -0
  238. package/es/assets/img/svg/lefttoolbar/room-shape-square.svg +3 -0
  239. package/es/assets/img/svg/lefttoolbar/room-shape.svg +18 -0
  240. package/es/assets/img/svg/lefttoolbar/search.svg +76 -0
  241. package/es/assets/img/svg/lefttoolbar/view_more.svg +86 -0
  242. package/es/assets/img/svg/lefttoolbar/warning_icon.svg +81 -0
  243. package/es/assets/img/svg/lefttoolbar/window.svg +12 -0
  244. package/es/assets/img/svg/menubar/login.svg +84 -0
  245. package/es/assets/img/svg/menubar/my_projects.svg +85 -0
  246. package/es/assets/img/svg/menubar/new_project.svg +110 -0
  247. package/es/assets/img/svg/menubar/save_project.svg +84 -0
  248. package/es/assets/img/svg/options.svg +3 -0
  249. package/es/assets/img/svg/positioning.svg +3 -0
  250. package/es/assets/img/svg/rotate.png +0 -0
  251. package/es/assets/img/svg/rotate.svg +17 -0
  252. package/es/assets/img/svg/rotate_object_clockwise.svg +26 -0
  253. package/es/assets/img/svg/rotate_object_counterclockwise.svg +26 -0
  254. package/es/assets/img/svg/toggleFilters.svg +19 -0
  255. package/es/assets/img/svg/toolbar/add_appliances_active.svg +64 -0
  256. package/es/assets/img/svg/toolbar/add_appliances_inactive.svg +52 -0
  257. package/es/assets/img/svg/toolbar/add_button.svg +36 -0
  258. package/es/assets/img/svg/toolbar/add_cabinets_active.svg +59 -0
  259. package/es/assets/img/svg/toolbar/add_cabinets_inactive.svg +49 -0
  260. package/es/assets/img/svg/toolbar/add_items_doors.svg +25 -0
  261. package/es/assets/img/svg/toolbar/add_items_doorways.svg +24 -0
  262. package/es/assets/img/svg/toolbar/add_items_refrigerator.svg +32 -0
  263. package/es/assets/img/svg/toolbar/add_items_windows.svg +28 -0
  264. package/es/assets/img/svg/toolbar/apply_button.svg +38 -0
  265. package/es/assets/img/svg/toolbar/arrow-plus.svg +11 -0
  266. package/es/assets/img/svg/toolbar/backsplash.svg +8 -0
  267. package/es/assets/img/svg/toolbar/cancel_button.svg +37 -0
  268. package/es/assets/img/svg/toolbar/consult_a_designer_button.svg +47 -0
  269. package/es/assets/img/svg/toolbar/countertop.svg +7 -0
  270. package/es/assets/img/svg/toolbar/dcm.png +0 -0
  271. package/es/assets/img/svg/toolbar/dcm_off.svg +12 -0
  272. package/es/assets/img/svg/toolbar/dcm_on.svg +474 -0
  273. package/es/assets/img/svg/toolbar/delete_button.svg +37 -0
  274. package/es/assets/img/svg/toolbar/download.svg +77 -0
  275. package/es/assets/img/svg/toolbar/draw_custom_floor.svg +31 -0
  276. package/es/assets/img/svg/toolbar/edit_button.svg +75 -0
  277. package/es/assets/img/svg/toolbar/email_quote_button.svg +44 -0
  278. package/es/assets/img/svg/toolbar/fbm.png +0 -0
  279. package/es/assets/img/svg/toolbar/finishing_touches_active.svg +54 -0
  280. package/es/assets/img/svg/toolbar/finishing_touches_inactive.svg +42 -0
  281. package/es/assets/img/svg/toolbar/floorstyle.svg +9 -0
  282. package/es/assets/img/svg/toolbar/fmb.png +0 -0
  283. package/es/assets/img/svg/toolbar/fmb_off.svg +12 -0
  284. package/es/assets/img/svg/toolbar/fmb_on.svg +489 -0
  285. package/es/assets/img/svg/toolbar/furnishings_icon.svg +6 -0
  286. package/es/assets/img/svg/toolbar/get_started_button.svg +41 -0
  287. package/es/assets/img/svg/toolbar/handles.svg +5 -0
  288. package/es/assets/img/svg/toolbar/lighting.svg +7 -0
  289. package/es/assets/img/svg/toolbar/lrm.png +0 -0
  290. package/es/assets/img/svg/toolbar/lrm_off.svg +12 -0
  291. package/es/assets/img/svg/toolbar/lrm_on.svg +470 -0
  292. package/es/assets/img/svg/toolbar/make_floorplan_active.svg +66 -0
  293. package/es/assets/img/svg/toolbar/make_floorplan_inactive.svg +52 -0
  294. package/es/assets/img/svg/toolbar/predefined_room_l_shaped.svg +20 -0
  295. package/es/assets/img/svg/toolbar/predefined_room_layout.svg +20 -0
  296. package/es/assets/img/svg/toolbar/predefined_room_long_narrow.svg +20 -0
  297. package/es/assets/img/svg/toolbar/predefined_room_open_l_shape.svg +20 -0
  298. package/es/assets/img/svg/toolbar/predefined_room_open_pentagon.svg +20 -0
  299. package/es/assets/img/svg/toolbar/predefined_room_open_rectangle.svg +20 -0
  300. package/es/assets/img/svg/toolbar/predefined_room_open_rectangle_2.svg +20 -0
  301. package/es/assets/img/svg/toolbar/predefined_room_pentagon.svg +20 -0
  302. package/es/assets/img/svg/toolbar/predefined_room_rectangle.svg +20 -0
  303. package/es/assets/img/svg/toolbar/predefined_room_rectangle_with_alcove.svg +20 -0
  304. package/es/assets/img/svg/toolbar/redo_button.svg +75 -0
  305. package/es/assets/img/svg/toolbar/redo_button1.svg +75 -0
  306. package/es/assets/img/svg/toolbar/review_quote_active.svg +14 -0
  307. package/es/assets/img/svg/toolbar/review_quote_inactive.svg +44 -0
  308. package/es/assets/img/svg/toolbar/save_project_button.svg +44 -0
  309. package/es/assets/img/svg/toolbar/select_doorstyle_active.svg +67 -0
  310. package/es/assets/img/svg/toolbar/select_doorstyle_inactive.svg +57 -0
  311. package/es/assets/img/svg/toolbar/shopping-cart.svg +13 -0
  312. package/es/assets/img/svg/toolbar/style_change_button.svg +47 -0
  313. package/es/assets/img/svg/toolbar/take_picture.svg +75 -0
  314. package/es/assets/img/svg/toolbar/undo_button.svg +76 -0
  315. package/es/assets/img/svg/toolbar/undo_button1.svg +76 -0
  316. package/es/assets/img/svg/toolbar/use_button.svg +37 -0
  317. package/es/assets/img/svg/toolbar/wall_color_icon.svg +6 -0
  318. package/es/assets/img/svg/topbar/edit_active.svg +10 -0
  319. package/es/assets/img/svg/topbar/edit_inactive.svg +10 -0
  320. package/es/assets/img/svg/topbar/redo_active.svg +42 -0
  321. package/es/assets/img/svg/topbar/redo_inactive.svg +23 -0
  322. package/es/assets/img/svg/topbar/select_all_active.svg +50 -0
  323. package/es/assets/img/svg/topbar/select_all_inactive.svg +32 -0
  324. package/es/assets/img/svg/topbar/take_picture_active.svg +51 -0
  325. package/es/assets/img/svg/topbar/take_picture_inactive.svg +26 -0
  326. package/es/assets/img/svg/topbar/undo_active.svg +42 -0
  327. package/es/assets/img/svg/topbar/undo_inactive.svg +23 -0
  328. package/es/assets/img/svg/warning_info_2d.svg +81 -0
  329. package/es/assets/img/svg/window/Clear.svg +3 -0
  330. package/es/assets/img/svg/window/Cross.svg +5 -0
  331. package/es/assets/img/svg/window/Double_hung.svg +4 -0
  332. package/es/assets/img/svg/window/Vertical.svg +4 -0
  333. package/es/assets/img/svg/windows_clear.svg +23 -0
  334. package/es/assets/img/svg/windows_cross.svg +28 -0
  335. package/es/assets/img/svg/windows_double_hung.svg +24 -0
  336. package/es/assets/img/svg/windows_vertical.svg +24 -0
  337. package/es/assets/img/svg/wizardstep/Custom.svg +3 -0
  338. package/es/assets/img/svg/wizardstep/Dashed_line.svg +3 -0
  339. package/es/assets/img/svg/wizardstep/L.svg +3 -0
  340. package/es/assets/img/svg/wizardstep/L2.svg +3 -0
  341. package/es/assets/img/svg/wizardstep/Open.svg +3 -0
  342. package/es/assets/img/svg/wizardstep/Square.svg +3 -0
  343. package/es/assets/img/svg/wizardstep/bar-active.svg +9 -0
  344. package/es/assets/img/svg/wizardstep/bar-normal.svg +3 -0
  345. package/es/assets/img/svg/wizardstep/bullet-current.svg +3 -0
  346. package/es/assets/img/svg/wizardstep/bullet-done.svg +3 -0
  347. package/es/assets/img/svg/wizardstep/bullet-not-done.svg +3 -0
  348. package/es/assets/img/svg/wizardstep/check-active.svg +3 -0
  349. package/es/assets/img/svg/wizardstep/check-normal.svg +3 -0
  350. package/es/assets/img/svg/wizardstep/detail_view.svg +87 -0
  351. package/es/assets/img/svg/wizardstep/pencil.svg +11 -0
  352. package/es/assets/img/svg/wizardstep/tile_view.svg +95 -0
  353. package/es/assets/img/texture/glass.jpg +0 -0
  354. package/es/assets/img/texture/steel.jpg +0 -0
  355. package/es/assets/img/texture/white1px.jpg +0 -0
  356. package/es/assets/img/texture/wood.jpg +0 -0
  357. package/es/assets/model/DCM.bin +0 -0
  358. package/es/assets/model/DCM.fbx +0 -0
  359. package/es/assets/model/DCM.gltf +1 -0
  360. package/es/assets/model/FBM.bin +0 -0
  361. package/es/assets/model/FBM.fbx +0 -0
  362. package/es/assets/model/FBM.gltf +1 -0
  363. package/es/assets/model/LRM.bin +0 -0
  364. package/es/assets/model/LRM.fbx +0 -0
  365. package/es/assets/model/LRM.gltf +1 -0
  366. package/es/assets/rtastore_logo.png +0 -0
  367. package/es/catalog/areas/area/planner-element.js +8 -11
  368. package/es/catalog/back.png +0 -0
  369. package/es/catalog/doors.png +0 -0
  370. package/es/catalog/doorways.png +0 -0
  371. package/es/catalog/export.js +0 -0
  372. package/es/catalog/factories/wall-factory.js +1 -2
  373. package/es/catalog/lines/wall/planner-element.js +11 -14
  374. package/es/catalog/molding/molding-dcm/planner-element.js +0 -2
  375. package/es/catalog/molding/molding-fbm/planner-element.js +0 -2
  376. package/es/catalog/molding/molding-lrm/planner-element.js +0 -2
  377. package/es/catalog/properties/property-checkbox.js +18 -63
  378. package/es/catalog/properties/property-enum.js +9 -51
  379. package/es/catalog/properties/property-lenght-measure.js +1 -1
  380. package/es/catalog/properties/property-length-measure.js +6 -50
  381. package/es/catalog/utils/item-loader.js +1 -2
  382. package/es/catalog/utils/mtl-loader.js +2 -3
  383. package/es/catalog/utils/obj-loader.js +2 -3
  384. package/es/catalog/windows.png +0 -0
  385. package/es/class/area.js +1 -1
  386. package/es/class/group.js +3 -3
  387. package/es/class/hole.js +6 -5
  388. package/es/class/item.js +8 -3
  389. package/es/class/layer.js +2 -2
  390. package/es/class/line.js +87 -52
  391. package/es/class/project.js +8 -6
  392. package/es/class/vertex.js +1 -1
  393. package/es/components/content.js +16 -1
  394. package/es/components/style/form-number-input.js +7 -31
  395. package/es/components/style/form-select.js +8 -48
  396. package/es/components/style/form-text-input.js +12 -31
  397. package/es/components/viewer2d/area.js +1 -1
  398. package/es/components/viewer2d/line.js +13 -3
  399. package/es/components/viewer2d/scene.js +2 -2
  400. package/es/components/viewer2d/utils.js +0 -6
  401. package/es/components/viewer2d/viewer2d.js +33 -20
  402. package/es/components/viewer3d/libs/mtl-loader.js +2 -2
  403. package/es/components/viewer3d/libs/obj-loader.js +2 -2
  404. package/es/components/viewer3d/libs/orbit-controls.js +5 -6
  405. package/es/components/viewer3d/libs/pointer-lock-controls.js +4 -5
  406. package/es/components/viewer3d/ruler-utils/scene3D.js +0 -1
  407. package/es/components/viewer3d/scene-creator.js +22 -7
  408. package/es/components/viewer3d/viewer3d.js +279 -180
  409. package/es/devLiteRenderer.js +44 -0
  410. package/es/index.js +2 -2
  411. package/es/models.js +1 -2
  412. package/es/plugins/export.js +1 -3
  413. package/es/plugins/keyboard.js +2 -2
  414. package/es/reducers/holes-reducer.js +1 -1
  415. package/es/reducers/items-reducer.js +5 -2
  416. package/es/reducers/lines-reducer.js +1 -1
  417. package/es/reducers/project-reducer.js +1 -1
  418. package/es/reducers/reducer.js +2 -2
  419. package/es/reducers/scene-reducer.js +1 -1
  420. package/es/reducers/user-reducer.js +2 -1
  421. package/es/reducers/vertices-reducer.js +1 -1
  422. package/es/renderer.js +474 -0
  423. package/es/utils/geometry.js +61 -26
  424. package/es/utils/get-edges-of-subgraphs.js +1 -2
  425. package/es/utils/graph-cycles.js +3 -2
  426. package/es/utils/graph.js +1 -2
  427. package/es/utils/helper.js +68 -0
  428. package/es/version.js +1 -2
  429. package/lib/CrossSignOn.js +93 -0
  430. package/lib/KitchenConfigurator.js +817 -54
  431. package/lib/LiteKitchenConfigurator.js +641 -0
  432. package/lib/{KitchenConfiguratorApp.js → LiteRenderer.js} +5 -5
  433. package/lib/actions/export.js +5 -2
  434. package/lib/actions/user-actions.js +68 -0
  435. package/lib/analytics/ga4.js +194 -0
  436. package/lib/analytics/posthog.js +68 -0
  437. package/lib/assets/Window.hdr +2100 -0
  438. package/lib/assets/brown_photostudio_02_1k.hdr +0 -0
  439. package/lib/assets/fonts/Rene Bieder Milliard Black Italic.woff +0 -0
  440. package/lib/assets/fonts/Rene Bieder Milliard Black.woff +0 -0
  441. package/lib/assets/fonts/Rene Bieder Milliard Bold Italic.woff +0 -0
  442. package/lib/assets/fonts/Rene Bieder Milliard Bold.woff +0 -0
  443. package/lib/assets/fonts/Rene Bieder Milliard Book Italic.woff +0 -0
  444. package/lib/assets/fonts/Rene Bieder Milliard Book.woff +0 -0
  445. package/lib/assets/fonts/Rene Bieder Milliard ExtraBold Italic.woff +0 -0
  446. package/lib/assets/fonts/Rene Bieder Milliard ExtraBold.woff +0 -0
  447. package/lib/assets/fonts/Rene Bieder Milliard ExtraLight Italic.woff +0 -0
  448. package/lib/assets/fonts/Rene Bieder Milliard ExtraLight.woff +0 -0
  449. package/lib/assets/fonts/Rene Bieder Milliard Hairline Italic.woff +0 -0
  450. package/lib/assets/fonts/Rene Bieder Milliard Hairline.woff +0 -0
  451. package/lib/assets/fonts/Rene Bieder Milliard Heavy Italic.woff +0 -0
  452. package/lib/assets/fonts/Rene Bieder Milliard Heavy.woff +0 -0
  453. package/lib/assets/fonts/Rene Bieder Milliard Light Italic.woff +0 -0
  454. package/lib/assets/fonts/Rene Bieder Milliard Light.woff +0 -0
  455. package/lib/assets/fonts/Rene Bieder Milliard Medium Italic.woff +0 -0
  456. package/lib/assets/fonts/Rene Bieder Milliard Medium.woff +0 -0
  457. package/lib/assets/fonts/Rene Bieder Milliard SemiBold Italic.woff +0 -0
  458. package/lib/assets/fonts/Rene Bieder Milliard SemiBold.woff +0 -0
  459. package/lib/assets/fonts/Rene Bieder Milliard Thin Italic.woff +0 -0
  460. package/lib/assets/fonts/Rene Bieder Milliard Thin.woff +0 -0
  461. package/lib/assets/fonts/style.css +177 -0
  462. package/lib/assets/gltf/door_closet.bin +0 -0
  463. package/lib/assets/gltf/door_closet.fbx +0 -0
  464. package/lib/assets/gltf/door_closet.gltf +1 -0
  465. package/lib/assets/gltf/door_exterior.bin +0 -0
  466. package/lib/assets/gltf/door_exterior.fbx +0 -0
  467. package/lib/assets/gltf/door_exterior.gltf +1 -0
  468. package/lib/assets/gltf/door_interior.bin +0 -0
  469. package/lib/assets/gltf/door_interior.fbx +0 -0
  470. package/lib/assets/gltf/door_interior.gltf +1 -0
  471. package/lib/assets/gltf/door_sliding.bin +0 -0
  472. package/lib/assets/gltf/door_sliding.fbx +0 -0
  473. package/lib/assets/gltf/door_sliding.gltf +1 -0
  474. package/lib/assets/gltf/doorway_framed.bin +0 -0
  475. package/lib/assets/gltf/doorway_framed.fbx +0 -0
  476. package/lib/assets/gltf/doorway_framed.gltf +1 -0
  477. package/lib/assets/gltf/window_clear.bin +0 -0
  478. package/lib/assets/gltf/window_clear.fbx +0 -0
  479. package/lib/assets/gltf/window_clear.gltf +1 -0
  480. package/lib/assets/gltf/window_cross.bin +0 -0
  481. package/lib/assets/gltf/window_cross.fbx +0 -0
  482. package/lib/assets/gltf/window_cross.gltf +1 -0
  483. package/lib/assets/gltf/window_double_hung.bin +0 -0
  484. package/lib/assets/gltf/window_double_hung.fbx +0 -0
  485. package/lib/assets/gltf/window_double_hung.gltf +1 -0
  486. package/lib/assets/gltf/window_vertical.bin +0 -0
  487. package/lib/assets/gltf/window_vertical.fbx +0 -0
  488. package/lib/assets/gltf/window_vertical.gltf +1 -0
  489. package/lib/assets/img/1.jpg +0 -0
  490. package/lib/assets/img/TKC_thumbnail.png +0 -0
  491. package/lib/assets/img/Toggle.png +0 -0
  492. package/lib/assets/img/loading/loading.gif +0 -0
  493. package/lib/assets/img/loading/loading_1.svg +11 -0
  494. package/lib/assets/img/loading_large.gif +0 -0
  495. package/lib/assets/img/png/door/closet.png +0 -0
  496. package/lib/assets/img/png/door/doorwaysframed.png +0 -0
  497. package/lib/assets/img/png/door/doorwaysframeles.png +0 -0
  498. package/lib/assets/img/png/door/doorwaysframeless.png +0 -0
  499. package/lib/assets/img/png/door/exterior.png +0 -0
  500. package/lib/assets/img/png/door/interior.png +0 -0
  501. package/lib/assets/img/png/door/sliding.png +0 -0
  502. package/lib/assets/img/png/helper/outcome.png +0 -0
  503. package/lib/assets/img/png/helper/video_preview_3d.png +0 -0
  504. package/lib/assets/img/png/helper/video_preview_start.png +0 -0
  505. package/lib/assets/img/project_img.png +0 -0
  506. package/lib/assets/img/rta/rta_logo_box_blue.jpg +0 -0
  507. package/lib/assets/img/rta/rta_logo_box_blue_ico.jpg +0 -0
  508. package/lib/assets/img/rta/rta_logo_box_blue_ico.svg +55 -0
  509. package/lib/assets/img/rta/rta_logo_box_darkGray.jpg +0 -0
  510. package/lib/assets/img/rta/rta_logo_box_lightblue.png +0 -0
  511. package/lib/assets/img/rta/rta_logo_box_lightmaroon.png +0 -0
  512. package/lib/assets/img/rta/rta_logo_box_maroon.png +0 -0
  513. package/lib/assets/img/rta/rta_logo_box_white.png +0 -0
  514. package/lib/assets/img/rta_menu.png +0 -0
  515. package/lib/assets/img/step2.jpg +0 -0
  516. package/lib/assets/img/step3.jpg +0 -0
  517. package/lib/assets/img/step4.jpg +0 -0
  518. package/lib/assets/img/step5.jpg +0 -0
  519. package/lib/assets/img/step6.jpg +0 -0
  520. package/lib/assets/img/step7.jpg +0 -0
  521. package/lib/assets/img/step8.jpg +0 -0
  522. package/lib/assets/img/svg/2d_delete_object.svg +33 -0
  523. package/lib/assets/img/svg/2d_delete_object1.svg +33 -0
  524. package/lib/assets/img/svg/2d_lock_object.svg +33 -0
  525. package/lib/assets/img/svg/3d_item_move.svg +106 -0
  526. package/lib/assets/img/svg/3d_item_rotation.svg +76 -0
  527. package/lib/assets/img/svg/3d_item_warning_edit.svg +77 -0
  528. package/lib/assets/img/svg/3d_item_warning_info.svg +81 -0
  529. package/lib/assets/img/svg/accessories.svg +4 -0
  530. package/lib/assets/img/svg/angle_icon.svg +39 -0
  531. package/lib/assets/img/svg/blank_div.svg +14 -0
  532. package/lib/assets/img/svg/bottombar/2d3d_button.svg +3 -0
  533. package/lib/assets/img/svg/bottombar/2d3d_button_active.svg +3 -0
  534. package/lib/assets/img/svg/bottombar/2d3d_toggle.svg +4 -0
  535. package/lib/assets/img/svg/bottombar/2d3d_toggle_active.svg +4 -0
  536. package/lib/assets/img/svg/bottombar/arrow-down.svg +3 -0
  537. package/lib/assets/img/svg/bottombar/arrow-left.svg +3 -0
  538. package/lib/assets/img/svg/bottombar/arrow-minus.svg +3 -0
  539. package/lib/assets/img/svg/bottombar/arrow-plus.svg +11 -0
  540. package/lib/assets/img/svg/bottombar/arrow-right.svg +3 -0
  541. package/lib/assets/img/svg/bottombar/arrow-up.svg +3 -0
  542. package/lib/assets/img/svg/bottombar/collapse.svg +3 -0
  543. package/lib/assets/img/svg/bottombar/elevation-back.svg +6 -0
  544. package/lib/assets/img/svg/bottombar/elevation-front.svg +6 -0
  545. package/lib/assets/img/svg/bottombar/elevation-left.svg +6 -0
  546. package/lib/assets/img/svg/bottombar/elevation-right.svg +7 -0
  547. package/lib/assets/img/svg/bottombar/elevation.svg +6 -0
  548. package/lib/assets/img/svg/bottombar/expand.svg +3 -0
  549. package/lib/assets/img/svg/bottombar/help.svg +72 -0
  550. package/lib/assets/img/svg/bottombar/incm_toggle.svg +39 -0
  551. package/lib/assets/img/svg/bottombar/pan_1.svg +57 -0
  552. package/lib/assets/img/svg/bottombar/pan_2.svg +27 -0
  553. package/lib/assets/img/svg/bottombar/pan_3.svg +27 -0
  554. package/lib/assets/img/svg/bottombar/pan_4.svg +27 -0
  555. package/lib/assets/img/svg/bottombar/pan_5.svg +27 -0
  556. package/lib/assets/img/svg/bottombar/settings.svg +23 -0
  557. package/lib/assets/img/svg/bottombar/spin-down.svg +76 -0
  558. package/lib/assets/img/svg/bottombar/spin-left.svg +75 -0
  559. package/lib/assets/img/svg/bottombar/spin-right.svg +75 -0
  560. package/lib/assets/img/svg/bottombar/spin-up.svg +76 -0
  561. package/lib/assets/img/svg/bottombar/spin_1.svg +48 -0
  562. package/lib/assets/img/svg/bottombar/spin_2.svg +31 -0
  563. package/lib/assets/img/svg/bottombar/spin_3.svg +31 -0
  564. package/lib/assets/img/svg/bottombar/spin_4.svg +31 -0
  565. package/lib/assets/img/svg/bottombar/spin_5.svg +31 -0
  566. package/lib/assets/img/svg/bottombar/zoomin.svg +29 -0
  567. package/lib/assets/img/svg/bottombar/zoomout.svg +26 -0
  568. package/lib/assets/img/svg/check.svg +10 -0
  569. package/lib/assets/img/svg/close.svg +11 -0
  570. package/lib/assets/img/svg/color/Black.svg +3 -0
  571. package/lib/assets/img/svg/color/Blue.svg +3 -0
  572. package/lib/assets/img/svg/color/Brown.svg +9 -0
  573. package/lib/assets/img/svg/color/Cream.svg +3 -0
  574. package/lib/assets/img/svg/color/Dark.svg +9 -0
  575. package/lib/assets/img/svg/color/Gray.svg +3 -0
  576. package/lib/assets/img/svg/color/Green.svg +3 -0
  577. package/lib/assets/img/svg/color/Light.svg +9 -0
  578. package/lib/assets/img/svg/color/Medium.svg +9 -0
  579. package/lib/assets/img/svg/color/Unfinished.svg +9 -0
  580. package/lib/assets/img/svg/color/White.svg +3 -0
  581. package/lib/assets/img/svg/color/White.svg.bak +3 -0
  582. package/lib/assets/img/svg/color/stone2.jpg +0 -0
  583. package/lib/assets/img/svg/color/wood2.jpg +0 -0
  584. package/lib/assets/img/svg/copy.svg +11 -0
  585. package/lib/assets/img/svg/delete.svg +3 -0
  586. package/lib/assets/img/svg/detail.svg +77 -0
  587. package/lib/assets/img/svg/disclaimer/background.svg +758 -0
  588. package/lib/assets/img/svg/disclaimer/logo-dots.svg +11 -0
  589. package/lib/assets/img/svg/door/Closet.svg +11 -0
  590. package/lib/assets/img/svg/door/Exterior.svg +5 -0
  591. package/lib/assets/img/svg/door/Framed_dorway.svg +5 -0
  592. package/lib/assets/img/svg/door/Frameless_dorway.svg +5 -0
  593. package/lib/assets/img/svg/door/Interior.svg +7 -0
  594. package/lib/assets/img/svg/door/Sliding.svg +5 -0
  595. package/lib/assets/img/svg/doors_closet.svg +47 -0
  596. package/lib/assets/img/svg/doors_exterior.svg +25 -0
  597. package/lib/assets/img/svg/doors_interior.svg +29 -0
  598. package/lib/assets/img/svg/doors_patio.svg +26 -0
  599. package/lib/assets/img/svg/duplicate.svg +11 -0
  600. package/lib/assets/img/svg/duplicate_object_left.svg +32 -0
  601. package/lib/assets/img/svg/duplicate_object_right.svg +32 -0
  602. package/lib/assets/img/svg/filtersActive.svg +19 -0
  603. package/lib/assets/img/svg/firstsetting/L.svg +3 -0
  604. package/lib/assets/img/svg/firstsetting/L2.svg +3 -0
  605. package/lib/assets/img/svg/firstsetting/Open.svg +3 -0
  606. package/lib/assets/img/svg/firstsetting/Square.svg +3 -0
  607. package/lib/assets/img/svg/firstsetting/bar-active.svg +9 -0
  608. package/lib/assets/img/svg/firstsetting/bar-normal.svg +3 -0
  609. package/lib/assets/img/svg/firstsetting/bullet-current.svg +3 -0
  610. package/lib/assets/img/svg/firstsetting/bullet-done.svg +3 -0
  611. package/lib/assets/img/svg/firstsetting/bullet-not-done.svg +3 -0
  612. package/lib/assets/img/svg/firstsetting/check-active.svg +3 -0
  613. package/lib/assets/img/svg/firstsetting/check-normal.svg +3 -0
  614. package/lib/assets/img/svg/firstsetting/pencil.svg +11 -0
  615. package/lib/assets/img/svg/green_checkmark.svg +27 -0
  616. package/lib/assets/img/svg/headerbar/assist.svg +3 -0
  617. package/lib/assets/img/svg/headerbar/cart.svg +3 -0
  618. package/lib/assets/img/svg/headerbar/check.svg +10 -0
  619. package/lib/assets/img/svg/headerbar/consult_designer.svg +45 -0
  620. package/lib/assets/img/svg/headerbar/edit_name.svg +26 -0
  621. package/lib/assets/img/svg/headerbar/file-dollar.svg +13 -0
  622. package/lib/assets/img/svg/headerbar/hamburger_menu.svg +32 -0
  623. package/lib/assets/img/svg/headerbar/plus.svg +11 -0
  624. package/lib/assets/img/svg/headerbar/review_quote.svg +44 -0
  625. package/lib/assets/img/svg/headerbar/ruler-measure.svg +11 -0
  626. package/lib/assets/img/svg/headerbar/save.svg +3 -0
  627. package/lib/assets/img/svg/headerbar/setting.svg +75 -0
  628. package/lib/assets/img/svg/help/check.svg +10 -0
  629. package/lib/assets/img/svg/help/search.svg +76 -0
  630. package/lib/assets/img/svg/intro/1-start-with-floorplan-whole.svg +27 -0
  631. package/lib/assets/img/svg/intro/1-start-with-floorplan.svg +26 -0
  632. package/lib/assets/img/svg/intro/2-start-from-scratch-whole.svg +28 -0
  633. package/lib/assets/img/svg/intro/2-start-from-scratch.svg +27 -0
  634. package/lib/assets/img/svg/intro/3-retrieve-project-whole.svg +19 -0
  635. package/lib/assets/img/svg/intro/3-retrieve-project.svg +18 -0
  636. package/lib/assets/img/svg/invert.svg +127 -0
  637. package/lib/assets/img/svg/lefttoolbar/appliance-active.svg +13 -0
  638. package/lib/assets/img/svg/lefttoolbar/appliance.svg +13 -0
  639. package/lib/assets/img/svg/lefttoolbar/cabinet-active.svg +10 -0
  640. package/lib/assets/img/svg/lefttoolbar/cabinet-category.svg +3 -0
  641. package/lib/assets/img/svg/lefttoolbar/cabinet-one.svg +3 -0
  642. package/lib/assets/img/svg/lefttoolbar/cabinet.svg +10 -0
  643. package/lib/assets/img/svg/lefttoolbar/disigner_assistance.svg +89 -0
  644. package/lib/assets/img/svg/lefttoolbar/door-style-active.svg +20 -0
  645. package/lib/assets/img/svg/lefttoolbar/door-style.svg +20 -0
  646. package/lib/assets/img/svg/lefttoolbar/door.svg +12 -0
  647. package/lib/assets/img/svg/lefttoolbar/error_icon.svg +81 -0
  648. package/lib/assets/img/svg/lefttoolbar/finishing-active.svg +13 -0
  649. package/lib/assets/img/svg/lefttoolbar/finishing.svg +13 -0
  650. package/lib/assets/img/svg/lefttoolbar/reviewforquote-active.svg +86 -0
  651. package/lib/assets/img/svg/lefttoolbar/reviewforquote.svg +12 -0
  652. package/lib/assets/img/svg/lefttoolbar/room-shape-L.svg +3 -0
  653. package/lib/assets/img/svg/lefttoolbar/room-shape-active.svg +18 -0
  654. package/lib/assets/img/svg/lefttoolbar/room-shape-custom.svg +12 -0
  655. package/lib/assets/img/svg/lefttoolbar/room-shape-irregular.svg +3 -0
  656. package/lib/assets/img/svg/lefttoolbar/room-shape-open.svg +3 -0
  657. package/lib/assets/img/svg/lefttoolbar/room-shape-square.svg +3 -0
  658. package/lib/assets/img/svg/lefttoolbar/room-shape.svg +18 -0
  659. package/lib/assets/img/svg/lefttoolbar/search.svg +76 -0
  660. package/lib/assets/img/svg/lefttoolbar/view_more.svg +86 -0
  661. package/lib/assets/img/svg/lefttoolbar/warning_icon.svg +81 -0
  662. package/lib/assets/img/svg/lefttoolbar/window.svg +12 -0
  663. package/lib/assets/img/svg/menubar/login.svg +84 -0
  664. package/lib/assets/img/svg/menubar/my_projects.svg +85 -0
  665. package/lib/assets/img/svg/menubar/new_project.svg +110 -0
  666. package/lib/assets/img/svg/menubar/save_project.svg +84 -0
  667. package/lib/assets/img/svg/options.svg +3 -0
  668. package/lib/assets/img/svg/positioning.svg +3 -0
  669. package/lib/assets/img/svg/rotate.png +0 -0
  670. package/lib/assets/img/svg/rotate.svg +17 -0
  671. package/lib/assets/img/svg/rotate_object_clockwise.svg +26 -0
  672. package/lib/assets/img/svg/rotate_object_counterclockwise.svg +26 -0
  673. package/lib/assets/img/svg/toggleFilters.svg +19 -0
  674. package/lib/assets/img/svg/toolbar/add_appliances_active.svg +64 -0
  675. package/lib/assets/img/svg/toolbar/add_appliances_inactive.svg +52 -0
  676. package/lib/assets/img/svg/toolbar/add_button.svg +36 -0
  677. package/lib/assets/img/svg/toolbar/add_cabinets_active.svg +59 -0
  678. package/lib/assets/img/svg/toolbar/add_cabinets_inactive.svg +49 -0
  679. package/lib/assets/img/svg/toolbar/add_items_doors.svg +25 -0
  680. package/lib/assets/img/svg/toolbar/add_items_doorways.svg +24 -0
  681. package/lib/assets/img/svg/toolbar/add_items_refrigerator.svg +32 -0
  682. package/lib/assets/img/svg/toolbar/add_items_windows.svg +28 -0
  683. package/lib/assets/img/svg/toolbar/apply_button.svg +38 -0
  684. package/lib/assets/img/svg/toolbar/arrow-plus.svg +11 -0
  685. package/lib/assets/img/svg/toolbar/backsplash.svg +8 -0
  686. package/lib/assets/img/svg/toolbar/cancel_button.svg +37 -0
  687. package/lib/assets/img/svg/toolbar/consult_a_designer_button.svg +47 -0
  688. package/lib/assets/img/svg/toolbar/countertop.svg +7 -0
  689. package/lib/assets/img/svg/toolbar/dcm.png +0 -0
  690. package/lib/assets/img/svg/toolbar/dcm_off.svg +12 -0
  691. package/lib/assets/img/svg/toolbar/dcm_on.svg +474 -0
  692. package/lib/assets/img/svg/toolbar/delete_button.svg +37 -0
  693. package/lib/assets/img/svg/toolbar/download.svg +77 -0
  694. package/lib/assets/img/svg/toolbar/draw_custom_floor.svg +31 -0
  695. package/lib/assets/img/svg/toolbar/edit_button.svg +75 -0
  696. package/lib/assets/img/svg/toolbar/email_quote_button.svg +44 -0
  697. package/lib/assets/img/svg/toolbar/fbm.png +0 -0
  698. package/lib/assets/img/svg/toolbar/finishing_touches_active.svg +54 -0
  699. package/lib/assets/img/svg/toolbar/finishing_touches_inactive.svg +42 -0
  700. package/lib/assets/img/svg/toolbar/floorstyle.svg +9 -0
  701. package/lib/assets/img/svg/toolbar/fmb.png +0 -0
  702. package/lib/assets/img/svg/toolbar/fmb_off.svg +12 -0
  703. package/lib/assets/img/svg/toolbar/fmb_on.svg +489 -0
  704. package/lib/assets/img/svg/toolbar/furnishings_icon.svg +6 -0
  705. package/lib/assets/img/svg/toolbar/get_started_button.svg +41 -0
  706. package/lib/assets/img/svg/toolbar/handles.svg +5 -0
  707. package/lib/assets/img/svg/toolbar/lighting.svg +7 -0
  708. package/lib/assets/img/svg/toolbar/lrm.png +0 -0
  709. package/lib/assets/img/svg/toolbar/lrm_off.svg +12 -0
  710. package/lib/assets/img/svg/toolbar/lrm_on.svg +470 -0
  711. package/lib/assets/img/svg/toolbar/make_floorplan_active.svg +66 -0
  712. package/lib/assets/img/svg/toolbar/make_floorplan_inactive.svg +52 -0
  713. package/lib/assets/img/svg/toolbar/predefined_room_l_shaped.svg +20 -0
  714. package/lib/assets/img/svg/toolbar/predefined_room_layout.svg +20 -0
  715. package/lib/assets/img/svg/toolbar/predefined_room_long_narrow.svg +20 -0
  716. package/lib/assets/img/svg/toolbar/predefined_room_open_l_shape.svg +20 -0
  717. package/lib/assets/img/svg/toolbar/predefined_room_open_pentagon.svg +20 -0
  718. package/lib/assets/img/svg/toolbar/predefined_room_open_rectangle.svg +20 -0
  719. package/lib/assets/img/svg/toolbar/predefined_room_open_rectangle_2.svg +20 -0
  720. package/lib/assets/img/svg/toolbar/predefined_room_pentagon.svg +20 -0
  721. package/lib/assets/img/svg/toolbar/predefined_room_rectangle.svg +20 -0
  722. package/lib/assets/img/svg/toolbar/predefined_room_rectangle_with_alcove.svg +20 -0
  723. package/lib/assets/img/svg/toolbar/redo_button.svg +75 -0
  724. package/lib/assets/img/svg/toolbar/redo_button1.svg +75 -0
  725. package/lib/assets/img/svg/toolbar/review_quote_active.svg +14 -0
  726. package/lib/assets/img/svg/toolbar/review_quote_inactive.svg +44 -0
  727. package/lib/assets/img/svg/toolbar/save_project_button.svg +44 -0
  728. package/lib/assets/img/svg/toolbar/select_doorstyle_active.svg +67 -0
  729. package/lib/assets/img/svg/toolbar/select_doorstyle_inactive.svg +57 -0
  730. package/lib/assets/img/svg/toolbar/shopping-cart.svg +13 -0
  731. package/lib/assets/img/svg/toolbar/style_change_button.svg +47 -0
  732. package/lib/assets/img/svg/toolbar/take_picture.svg +75 -0
  733. package/lib/assets/img/svg/toolbar/undo_button.svg +76 -0
  734. package/lib/assets/img/svg/toolbar/undo_button1.svg +76 -0
  735. package/lib/assets/img/svg/toolbar/use_button.svg +37 -0
  736. package/lib/assets/img/svg/toolbar/wall_color_icon.svg +6 -0
  737. package/lib/assets/img/svg/topbar/edit_active.svg +10 -0
  738. package/lib/assets/img/svg/topbar/edit_inactive.svg +10 -0
  739. package/lib/assets/img/svg/topbar/redo_active.svg +42 -0
  740. package/lib/assets/img/svg/topbar/redo_inactive.svg +23 -0
  741. package/lib/assets/img/svg/topbar/select_all_active.svg +50 -0
  742. package/lib/assets/img/svg/topbar/select_all_inactive.svg +32 -0
  743. package/lib/assets/img/svg/topbar/take_picture_active.svg +51 -0
  744. package/lib/assets/img/svg/topbar/take_picture_inactive.svg +26 -0
  745. package/lib/assets/img/svg/topbar/undo_active.svg +42 -0
  746. package/lib/assets/img/svg/topbar/undo_inactive.svg +23 -0
  747. package/lib/assets/img/svg/warning_info_2d.svg +81 -0
  748. package/lib/assets/img/svg/window/Clear.svg +3 -0
  749. package/lib/assets/img/svg/window/Cross.svg +5 -0
  750. package/lib/assets/img/svg/window/Double_hung.svg +4 -0
  751. package/lib/assets/img/svg/window/Vertical.svg +4 -0
  752. package/lib/assets/img/svg/windows_clear.svg +23 -0
  753. package/lib/assets/img/svg/windows_cross.svg +28 -0
  754. package/lib/assets/img/svg/windows_double_hung.svg +24 -0
  755. package/lib/assets/img/svg/windows_vertical.svg +24 -0
  756. package/lib/assets/img/svg/wizardstep/Custom.svg +3 -0
  757. package/lib/assets/img/svg/wizardstep/Dashed_line.svg +3 -0
  758. package/lib/assets/img/svg/wizardstep/L.svg +3 -0
  759. package/lib/assets/img/svg/wizardstep/L2.svg +3 -0
  760. package/lib/assets/img/svg/wizardstep/Open.svg +3 -0
  761. package/lib/assets/img/svg/wizardstep/Square.svg +3 -0
  762. package/lib/assets/img/svg/wizardstep/bar-active.svg +9 -0
  763. package/lib/assets/img/svg/wizardstep/bar-normal.svg +3 -0
  764. package/lib/assets/img/svg/wizardstep/bullet-current.svg +3 -0
  765. package/lib/assets/img/svg/wizardstep/bullet-done.svg +3 -0
  766. package/lib/assets/img/svg/wizardstep/bullet-not-done.svg +3 -0
  767. package/lib/assets/img/svg/wizardstep/check-active.svg +3 -0
  768. package/lib/assets/img/svg/wizardstep/check-normal.svg +3 -0
  769. package/lib/assets/img/svg/wizardstep/detail_view.svg +87 -0
  770. package/lib/assets/img/svg/wizardstep/pencil.svg +11 -0
  771. package/lib/assets/img/svg/wizardstep/tile_view.svg +95 -0
  772. package/lib/assets/img/texture/glass.jpg +0 -0
  773. package/lib/assets/img/texture/steel.jpg +0 -0
  774. package/lib/assets/img/texture/white1px.jpg +0 -0
  775. package/lib/assets/img/texture/wood.jpg +0 -0
  776. package/lib/assets/model/DCM.bin +0 -0
  777. package/lib/assets/model/DCM.fbx +0 -0
  778. package/lib/assets/model/DCM.gltf +1 -0
  779. package/lib/assets/model/FBM.bin +0 -0
  780. package/lib/assets/model/FBM.fbx +0 -0
  781. package/lib/assets/model/FBM.gltf +1 -0
  782. package/lib/assets/model/LRM.bin +0 -0
  783. package/lib/assets/model/LRM.fbx +0 -0
  784. package/lib/assets/model/LRM.gltf +1 -0
  785. package/lib/assets/rtastore_logo.png +0 -0
  786. package/lib/catalog/areas/area/planner-element.js +8 -12
  787. package/lib/catalog/areas/area/textures/ceramic-tile.jpg +0 -0
  788. package/lib/catalog/areas/area/textures/grass.jpg +0 -0
  789. package/lib/catalog/areas/area/textures/parquet.jpg +0 -0
  790. package/lib/catalog/areas/area/textures/strand-porcelain.jpg +0 -0
  791. package/lib/catalog/areas/area/textures/tile1.jpg +0 -0
  792. package/lib/catalog/back.png +0 -0
  793. package/lib/catalog/doors.png +0 -0
  794. package/lib/catalog/doorways.png +0 -0
  795. package/lib/catalog/envMap/nx.hdr +0 -0
  796. package/lib/catalog/envMap/ny.hdr +0 -0
  797. package/lib/catalog/envMap/nz.hdr +0 -0
  798. package/lib/catalog/envMap/px.hdr +0 -0
  799. package/lib/catalog/envMap/py.hdr +0 -0
  800. package/lib/catalog/envMap/pz.hdr +0 -0
  801. package/lib/catalog/export.js +1 -0
  802. package/lib/catalog/holes/door-double/door_double.png +0 -0
  803. package/lib/catalog/holes/door-panic/panicDoor.png +0 -0
  804. package/lib/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
  805. package/lib/catalog/holes/gate/gate.jpg +0 -0
  806. package/lib/catalog/holes/window-clear/texture.png +0 -0
  807. package/lib/catalog/holes/window-cross/texture.png +0 -0
  808. package/lib/catalog/holes/window-double-hung/texture.png +0 -0
  809. package/lib/catalog/holes/window-vertical/texture.png +0 -0
  810. package/lib/catalog/lines/wall/planner-element.js +11 -15
  811. package/lib/catalog/lines/wall/textures/bricks-normal.jpg +0 -0
  812. package/lib/catalog/lines/wall/textures/bricks-normal2.jpg +0 -0
  813. package/lib/catalog/lines/wall/textures/bricks.jpg +0 -0
  814. package/lib/catalog/lines/wall/textures/bricks2.jpg +0 -0
  815. package/lib/catalog/lines/wall/textures/bricks3.jpg +0 -0
  816. package/lib/catalog/lines/wall/textures/morden-normal.jpg +0 -0
  817. package/lib/catalog/lines/wall/textures/morden.jpg +0 -0
  818. package/lib/catalog/lines/wall/textures/painted-normal.jpg +0 -0
  819. package/lib/catalog/lines/wall/textures/painted.jpg +0 -0
  820. package/lib/catalog/lines/wall/textures/plaster-normal.jpg +0 -0
  821. package/lib/catalog/lines/wall/textures/plaster.jpg +0 -0
  822. package/lib/catalog/lines/wall/wall.png +0 -0
  823. package/lib/catalog/molding/molding-dcm/planner-element.js +0 -5
  824. package/lib/catalog/molding/molding-dcm/texture.png +0 -0
  825. package/lib/catalog/molding/molding-fbm/planner-element.js +0 -5
  826. package/lib/catalog/molding/molding-fbm/texture.png +0 -0
  827. package/lib/catalog/molding/molding-lrm/planner-element.js +0 -5
  828. package/lib/catalog/molding/molding-lrm/texture.png +0 -0
  829. package/lib/catalog/properties/property-checkbox.js +18 -63
  830. package/lib/catalog/properties/property-enum.js +7 -49
  831. package/lib/catalog/properties/property-lenght-measure.js +1 -1
  832. package/lib/catalog/properties/property-length-measure.js +6 -50
  833. package/lib/catalog/utils/item-loader.js +1 -0
  834. package/lib/catalog/utils/mtl-loader.js +3 -7
  835. package/lib/catalog/utils/obj-loader.js +3 -7
  836. package/lib/catalog/windows.png +0 -0
  837. package/lib/class/item.js +8 -3
  838. package/lib/class/line.js +87 -52
  839. package/lib/class/project.js +4 -2
  840. package/lib/class/vertex.js +1 -1
  841. package/lib/components/content.js +16 -1
  842. package/lib/components/style/form-number-input.js +6 -30
  843. package/lib/components/style/form-select.js +9 -47
  844. package/lib/components/style/form-text-input.js +11 -30
  845. package/lib/components/viewer2d/area.js +1 -1
  846. package/lib/components/viewer2d/line.js +13 -3
  847. package/lib/components/viewer2d/scene.js +1 -1
  848. package/lib/components/viewer2d/utils.js +0 -6
  849. package/lib/components/viewer2d/viewer2d.js +32 -19
  850. package/lib/components/viewer3d/libs/mtl-loader.js +2 -7
  851. package/lib/components/viewer3d/libs/obj-loader.js +2 -7
  852. package/lib/components/viewer3d/libs/orbit-controls.js +5 -10
  853. package/lib/components/viewer3d/libs/pointer-lock-controls.js +4 -9
  854. package/lib/components/viewer3d/ruler-utils/scene3D.js +0 -1
  855. package/lib/components/viewer3d/scene-creator.js +22 -7
  856. package/lib/components/viewer3d/viewer3d.js +279 -180
  857. package/lib/devLiteRenderer.js +46 -0
  858. package/lib/index.js +2 -2
  859. package/lib/models.js +2 -3
  860. package/lib/plugins/export.js +0 -8
  861. package/lib/reducers/user-reducer.js +1 -0
  862. package/lib/renderer.js +478 -0
  863. package/lib/styles/tabs.css +40 -0
  864. package/lib/utils/geometry.js +63 -26
  865. package/lib/utils/get-edges-of-subgraphs.js +1 -7
  866. package/lib/utils/graph-cycles.js +9 -9
  867. package/lib/utils/graph.js +3 -9
  868. package/lib/utils/helper.js +69 -1
  869. package/lib/version.js +1 -2
  870. package/package.json +30 -11
  871. package/es/components/disclaimer/disclaimer.js +0 -97
  872. package/es/components/export.js +0 -9
  873. package/es/plugins/autosave.js +0 -33
  874. package/lib/components/disclaimer/disclaimer.js +0 -106
  875. package/lib/components/export.js +0 -33
  876. package/lib/plugins/autosave.js +0 -40
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _react = _interopRequireDefault(require("react"));
5
+ var _mockProps = _interopRequireDefault(require("./mocks/mockProps.json"));
6
+ var _categoryData = _interopRequireDefault(require("./mocks/categoryData.json"));
7
+ var _dataBundle = _interopRequireDefault(require("./mocks/dataBundle.json"));
8
+ var _reactDom = _interopRequireDefault(require("react-dom"));
9
+ var _LiteKitchenConfigurator = _interopRequireDefault(require("./LiteKitchenConfigurator"));
10
+ var _LiteRenderer = _interopRequireDefault(require("./LiteRenderer"));
11
+ // --- renderer props ---
12
+ var options = {
13
+ unit: 'in',
14
+ enable3D: true
15
+ };
16
+ var onSave = function onSave(_ref) {
17
+ var payload = _ref.payload;
18
+ console.log('SAVE triggered:', payload.scene);
19
+ };
20
+ var onEvent = function onEvent(evt) {
21
+ console.log('EVENT:', evt.type, evt.payload);
22
+ };
23
+ var onExternalEvent = function onExternalEvent(evt) {
24
+ console.log('EXTERNAL EVENT:', evt.type, evt.payload);
25
+ };
26
+ var onError = function onError(err) {
27
+ console.error('ERROR:', err);
28
+ };
29
+ document.getElementById('app').style.display = 'block';
30
+ _reactDom["default"].render(/*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
31
+ className: "flex gap-4"
32
+ }, /*#__PURE__*/_react["default"].createElement(_LiteRenderer["default"], {
33
+ width: 1264,
34
+ height: 1164,
35
+ projectElement: _mockProps["default"].projectElement,
36
+ categoryData: _categoryData["default"],
37
+ dataBundle: _dataBundle["default"],
38
+ configData: _mockProps["default"].configData,
39
+ options: options,
40
+ logoImg: "/assets/logo.png",
41
+ companyUrl: "https://example.com",
42
+ toolbarButtons: [],
43
+ onSave: onSave,
44
+ onEvent: onEvent,
45
+ onError: onError
46
+ }))), document.getElementById('app'));
package/lib/index.js CHANGED
@@ -8,10 +8,10 @@ exports["default"] = void 0;
8
8
  exports.renderKitchenSimulator = renderKitchenSimulator;
9
9
  var _reactDom = _interopRequireDefault(require("react-dom"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
- var _KitchenConfiguratorApp = _interopRequireDefault(require("./KitchenConfiguratorApp"));
11
+ var _LiteRenderer = _interopRequireDefault(require("./LiteRenderer"));
12
12
  function renderKitchenSimulator(container) {
13
13
  var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
14
- var root = _reactDom["default"].render(/*#__PURE__*/_react["default"].createElement(_KitchenConfiguratorApp["default"], props), container);
14
+ var root = _reactDom["default"].render(/*#__PURE__*/_react["default"].createElement(_LiteRenderer["default"], props), container);
15
15
  return {
16
16
  root: root,
17
17
  unmount: function unmount() {
package/lib/models.js CHANGED
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports["default"] = exports.Vertex = exports.State = exports.Scene = exports.Line = exports.Layer = exports.Item = exports.Hole = exports.HistoryStructure = exports.Group = exports.Grid = exports.ElementsSet = exports.DefaultLayers = exports.DefaultGrids = exports.CatalogElement = exports.Catalog = exports.Area = void 0;
7
+ exports.Vertex = exports.State = exports.Scene = exports.Line = exports.Layer = exports.Item = exports.Hole = exports.HistoryStructure = exports.Group = exports.Grid = exports.ElementsSet = exports.DefaultLayers = exports.DefaultGrids = exports.CatalogElement = exports.Catalog = exports.Area = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
@@ -508,5 +508,4 @@ var State = exports.State = /*#__PURE__*/function (_Record12) {
508
508
  userId: 0,
509
509
  isHelp: false,
510
510
  isCabinetDrawing: false
511
- }, 'State'));
512
- var _default = exports["default"] = State;
511
+ }, 'State'));
@@ -4,12 +4,6 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- Object.defineProperty(exports, "Autosave", {
8
- enumerable: true,
9
- get: function get() {
10
- return _autosave["default"];
11
- }
12
- });
13
7
  Object.defineProperty(exports, "ConsoleDebugger", {
14
8
  enumerable: true,
15
9
  get: function get() {
@@ -23,11 +17,9 @@ Object.defineProperty(exports, "Keyboard", {
23
17
  }
24
18
  });
25
19
  exports["default"] = void 0;
26
- var _autosave = _interopRequireDefault(require("./autosave"));
27
20
  var _keyboard = _interopRequireDefault(require("./keyboard"));
28
21
  var _consoleDebugger = _interopRequireDefault(require("./console-debugger"));
29
22
  var _default = exports["default"] = {
30
- Autosave: _autosave["default"],
31
23
  Keyboard: _keyboard["default"],
32
24
  ConsoleDebugger: _consoleDebugger["default"]
33
25
  };
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = _default;
7
+ var _propTypes = require("prop-types");
7
8
  var _constants = require("../constants");
8
9
  var initialState = {
9
10
  success: false,
@@ -0,0 +1,478 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
6
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
8
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _reactDom = _interopRequireDefault(require("react-dom"));
11
+ var _reactContainerDimensions = _interopRequireDefault(require("react-container-dimensions"));
12
+ var _immutable = _interopRequireWildcard(require("immutable"));
13
+ var _immutableDevtools = _interopRequireDefault(require("immutable-devtools"));
14
+ var _redux = require("redux");
15
+ var _reactRedux = require("react-redux");
16
+ var _reactHotjar = require("react-hotjar");
17
+ var Sentry = _interopRequireWildcard(require("@sentry/react"));
18
+ var _history = _interopRequireDefault(require("./@history"));
19
+ var history = _interopRequireWildcard(require("history"));
20
+ var Areas = _interopRequireWildcard(require("./catalog/areas/area/planner-element"));
21
+ var Lines = _interopRequireWildcard(require("./catalog/lines/wall/planner-element"));
22
+ var Holes = _interopRequireWildcard(require("./catalog/holes/export"));
23
+ var _AppContext = _interopRequireDefault(require("./AppContext"));
24
+ var _reactRouterDom = require("react-router-dom");
25
+ var _itemLoader = require("./catalog/utils/item-loader");
26
+ var _exporter = _interopRequireDefault(require("./catalog/utils/exporter"));
27
+ var _axios = _interopRequireDefault(require("axios"));
28
+ var _Login = _interopRequireDefault(require("./components/login/Login"));
29
+ var _Register = _interopRequireDefault(require("./components/login/Register"));
30
+ var _constants = require("./constants");
31
+ var _mobileDetect = _interopRequireDefault(require("mobile-detect"));
32
+ var zlib = _interopRequireWildcard(require("browserify-zlib"));
33
+ var _buffer = _interopRequireDefault(require("buffer"));
34
+ var _helper = require("./utils/helper");
35
+ var _catalog = _interopRequireDefault(require("./catalog/catalog"));
36
+ var _KitchenConfigurator = _interopRequireDefault(require("./KitchenConfigurator"));
37
+ var _reducer = _interopRequireDefault(require("./reducers/reducer"));
38
+ var _projectActions = require("./actions/project-actions");
39
+ var _SVGLoader = require("three/examples/jsm/loaders/SVGLoader");
40
+ var _CrossSignOn = _interopRequireDefault(require("./CrossSignOn"));
41
+ var _reactQuery = require("react-query");
42
+ var _devtools = require("react-query/devtools");
43
+ var _ga = require("./analytics/ga4");
44
+ var _react3 = require("posthog-js/react");
45
+ var _disclaimer = _interopRequireDefault(require("./components/disclaimer/disclaimer"));
46
+ var _toolbarScreenshotButton = _interopRequireDefault(require("./components/toolbar/button/toolbar-screenshot-button"));
47
+ var PlannerModels = _interopRequireWildcard(require("./models"));
48
+ var _export2 = require("./plugins/export");
49
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t2 in e) "default" !== _t2 && {}.hasOwnProperty.call(e, _t2) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t2)) && (i.get || i.set) ? o(f, _t2, i) : f[_t2] = e[_t2]); return f; })(e, t); }
50
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
51
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52
+ // Axios config
53
+ _axios["default"].defaults.baseURL = _constants.API_SERVER_URL;
54
+ var md = new _mobileDetect["default"](window.navigator.userAgent);
55
+ var isMobile = md.mobile();
56
+ //define state
57
+ var AppState = (0, _immutable.Map)({
58
+ KitchenConfigurator: new PlannerModels.State()
59
+ });
60
+ console.log('Version: 378.58-202510_DIY-425-window-snap');
61
+ _ga.GA.resetSessionKeys();
62
+ if (_constants.MODE === 'staging') {
63
+ _ga.GA.init({
64
+ measurementId: 'G-H2BYBW7V6H'
65
+ });
66
+ } else {
67
+ _ga.GA.init({
68
+ measurementId: 'G-YK2JCC9F9G'
69
+ });
70
+ }
71
+ _reactHotjar.hotjar.initialize('3010506', '6');
72
+ isProduction && Sentry.init({
73
+ dsn: process.env.SENTRY_DSN,
74
+ environment: process.env.SENTRY_ENVIRONMENT
75
+ });
76
+
77
+ //define reducer
78
+ var reducer = function reducer(state, action) {
79
+ state = state || AppState;
80
+ state = state.update('KitchenConfigurator', function (plannerState) {
81
+ return (0, _reducer["default"])(plannerState, action);
82
+ });
83
+ return state;
84
+ };
85
+ var catalog = new _catalog["default"]();
86
+ var blackList = isProduction === true ? [] : ['UPDATE_MOUSE_COORDS', 'UPDATE_ZOOM_SCALE', 'UPDATE_2D_CAMERA'];
87
+ if (!isProduction) {
88
+ console.info('Environment is in development and these actions will be blacklisted', blackList);
89
+ console.info('Enable Chrome custom formatter for Immutable pretty print');
90
+ (0, _immutableDevtools["default"])(_immutable["default"]);
91
+ }
92
+ var options = {
93
+ api_host: process.env.VITE_PUBLIC_POSTHOG_HOST,
94
+ // important for 3D/canvas replays
95
+ session_recording: {
96
+ recordCanvas: true
97
+ },
98
+ // we'll capture pageviews manually if needed
99
+ capture_pageview: false
100
+ };
101
+
102
+ //init store
103
+ var store = (0, _redux.createStore)(reducer, null, !isProduction && window.devToolsExtension ? window.devToolsExtension({
104
+ features: {
105
+ pause: true,
106
+ // start/pause recording of dispatched actions
107
+ lock: true,
108
+ // lock/unlock dispatching actions and side effects
109
+ persist: true,
110
+ // persist states on page reloading
111
+ "export": true,
112
+ // export history of actions in a file
113
+ "import": 'custom',
114
+ // import history of actions from a file
115
+ jump: true,
116
+ // jump back and forth (time travelling)
117
+ skip: true,
118
+ // skip (cancel) actions
119
+ reorder: true,
120
+ // drag and drop actions in the history list
121
+ dispatch: true,
122
+ // dispatch custom actions or action creators
123
+ test: true // generate tests for the selected actions
124
+ },
125
+ actionsBlacklist: blackList,
126
+ maxAge: 999999
127
+ }) : function (f) {
128
+ return f;
129
+ });
130
+ var plugins = [(0, _export2.Keyboard)(), (0, _export2.ConsoleDebugger)()];
131
+ var toolbarButtons = [_toolbarScreenshotButton["default"]];
132
+ var categoryData;
133
+ sessionStorage.setItem('visualizerName', (0, _helper.getPathInfo)(1));
134
+ if (!isMobile) {
135
+ _axios["default"].get("".concat(_constants.API_SERVER_URL, "/api/dealer/").concat((0, _helper.getPathInfo)(1), "/config")).then(/*#__PURE__*/function () {
136
+ var _ref = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(res) {
137
+ var _res$data, success, id, logoImg, companyUrl, config, configdata;
138
+ return _regenerator["default"].wrap(function (_context3) {
139
+ while (1) switch (_context3.prev = _context3.next) {
140
+ case 0:
141
+ _res$data = res.data, success = _res$data.success, id = _res$data.id, logoImg = _res$data.logoImg, companyUrl = _res$data.companyUrl, config = _res$data.config;
142
+ configdata = JSON.parse(config);
143
+ if (!(success === false || id === 0 && logoImg === '' && companyUrl === '')) {
144
+ _context3.next = 1;
145
+ break;
146
+ }
147
+ alert('No Catalog');
148
+ return _context3.abrupt("return");
149
+ case 1:
150
+ _context3.next = 2;
151
+ return _axios["default"].post("".concat(_constants.API_SERVER_URL, "/api/planner/read/planner"), {
152
+ type: _constants.MODE === 'staging' ? 2 : 1
153
+ }, {
154
+ responseType: 'arraybuffer'
155
+ }).then(/*#__PURE__*/function () {
156
+ var _ref2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(response) {
157
+ var unzip_data, data, appliances, lighting, furnishing, success, svgLoadPromises, outlineSVGData, Item, x, _x4, _x5, _x6, MainComponent, queryClient, MainApp;
158
+ return _regenerator["default"].wrap(function (_context2) {
159
+ while (1) switch (_context2.prev = _context2.next) {
160
+ case 0:
161
+ unzip_data = JSON.parse(zlib.unzipSync(new _buffer["default"].Buffer.from(response.data)).toString());
162
+ data = unzip_data.data, appliances = unzip_data.appliances, lighting = unzip_data.lighting, furnishing = unzip_data.furnishing, success = unzip_data.success;
163
+ if (success === false) {
164
+ console.log(_constants.NO_DATA_DATABASE);
165
+ }
166
+ if (success === 'error') {
167
+ alert(_constants.ERROR_DATABASE);
168
+ }
169
+ _context2.next = 1;
170
+ return _axios["default"].post("".concat(_constants.API_SERVER_URL, "/api/toolbar/getCategoryData"), {
171
+ type: _constants.MODE === 'staging' ? 2 : 1
172
+ }, {
173
+ responseType: 'arraybuffer'
174
+ }).then(function (response) {
175
+ categoryData = JSON.parse(zlib.unzipSync(new _buffer["default"].Buffer.from(response.data)).toString());
176
+ var _categoryData$data = categoryData.data,
177
+ catalogs = _categoryData$data.catalogs,
178
+ colorAlias = _categoryData$data.colorAlias,
179
+ subgroups = _categoryData$data.subgroups;
180
+ var door_color_alias = [];
181
+ var subgroup_ids = catalogs.filter(function (item) {
182
+ return item.id == id;
183
+ })[0].manufacturer_subgroup_ids.split(',');
184
+ var door_color_alias_ids = [];
185
+ subgroups.forEach(function (subgroup) {
186
+ if (subgroup_ids.some(function (id) {
187
+ return id == subgroup.id.toString();
188
+ })) {
189
+ subgroup.door_color_alias_ids.split(',').forEach(function (item) {
190
+ item != '' && door_color_alias_ids.push(item);
191
+ });
192
+ }
193
+ });
194
+ colorAlias.forEach(function (color) {
195
+ return door_color_alias_ids.some(function (id) {
196
+ return id == color.id.toString();
197
+ }) && door_color_alias.push(color);
198
+ });
199
+ var doorStyleData = categoryData.data.doorStyles.items;
200
+ categoryData.data.doorStyles.items = doorStyleData.treeStruct;
201
+ // construct a doorStyle variable
202
+ door_color_alias.forEach(function (dca) {
203
+ doorStyleData.doorColorData.forEach(function (dc) {
204
+ // convert string into integer.
205
+ dc.door_style_id = parseInt(dc.door_style_id);
206
+
207
+ // find the original for the alias.
208
+ if (dc.id !== dca.door_color_id) return;
209
+ dc.name = dca.alias_name;
210
+ dc.color_sku_alias = dca.sku_alias_name;
211
+
212
+ // judge the door style of the current door color
213
+ doorStyleData.treeStruct.forEach(function (el) {
214
+ el.items.forEach(function (elem) {
215
+ return dc.door_style_id === elem.id && (dc.door_style_name = elem.name);
216
+ });
217
+ });
218
+
219
+ // convert string into array
220
+ dca.alias_installation_type = (0, _helper.isEmpty)(dca.alias_installation_type) ? [] : dca.alias_installation_type.split(',').map(function (item) {
221
+ return parseInt(item);
222
+ });
223
+
224
+ // add door color to doorStyle variable according to 'alias_installation_type' of its alias
225
+ categoryData.data.doorStyles.items.forEach(function (item) {
226
+ if (dca.alias_installation_type.some(function (ait) {
227
+ return ait === item.id;
228
+ })) item.items.forEach(function (ds) {
229
+ if (ds.name === dc.door_style_name) ds.items.push(dc);
230
+ });
231
+ });
232
+ });
233
+ });
234
+ var molding = [];
235
+ var toeMoldingData = [];
236
+ var cabinets = categoryData.data.cabinets;
237
+ cabinets[cabinets.length - 1].items.forEach(function (index) {
238
+ if (index.name.toLowerCase().includes('molding')) {
239
+ index.items.forEach(function (item) {
240
+ molding.push(item);
241
+ });
242
+ }
243
+ // store all toe kick molding templates
244
+ if (index.name.includes(_constants.TOE_KICK_MOLDING)) {
245
+ index.items.forEach(function (item) {
246
+ toeMoldingData.push(item);
247
+ });
248
+ }
249
+ });
250
+ categoryData.data.toeMoldingData = toeMoldingData;
251
+ var promises = molding.map(function (child) {
252
+ return new Promise(function (resolve, reject) {
253
+ var url = child === null || child === void 0 ? void 0 : child.shape_svg;
254
+ if (!url) {
255
+ // Skip if no SVG URL available
256
+ return resolve();
257
+ }
258
+ var loader = new _SVGLoader.SVGLoader();
259
+ loader.load(url, function (data) {
260
+ var _data$xml$viewBox$ani, _data$xml, _data$xml$viewBox$ani2, _data$xml2;
261
+ child.data = {
262
+ paths: data.paths,
263
+ svg_width: (_data$xml$viewBox$ani = (_data$xml = data.xml) === null || _data$xml === void 0 || (_data$xml = _data$xml.viewBox) === null || _data$xml === void 0 || (_data$xml = _data$xml.animVal) === null || _data$xml === void 0 ? void 0 : _data$xml.width) !== null && _data$xml$viewBox$ani !== void 0 ? _data$xml$viewBox$ani : 0,
264
+ svg_height: (_data$xml$viewBox$ani2 = (_data$xml2 = data.xml) === null || _data$xml2 === void 0 || (_data$xml2 = _data$xml2.viewBox) === null || _data$xml2 === void 0 || (_data$xml2 = _data$xml2.animVal) === null || _data$xml2 === void 0 ? void 0 : _data$xml2.height) !== null && _data$xml$viewBox$ani2 !== void 0 ? _data$xml$viewBox$ani2 : 0
265
+ };
266
+ resolve();
267
+ }, null, function (error) {
268
+ console.error(error);
269
+ reject(error);
270
+ });
271
+ });
272
+ });
273
+ return Promise.all(promises);
274
+ });
275
+ case 1:
276
+ // Load Outline SVG Data
277
+ svgLoadPromises = data.map(/*#__PURE__*/function () {
278
+ var _ref3 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(item) {
279
+ var _parsed$xml$viewBox, _parsed$xml$viewBox2, _response, svgText, loader, parsed, _t;
280
+ return _regenerator["default"].wrap(function (_context) {
281
+ while (1) switch (_context.prev = _context.next) {
282
+ case 0:
283
+ if (!item.outline) {
284
+ _context.next = 6;
285
+ break;
286
+ }
287
+ _context.prev = 1;
288
+ _context.next = 2;
289
+ return fetch(item.outline, {
290
+ cache: 'no-store'
291
+ });
292
+ case 2:
293
+ _response = _context.sent;
294
+ _context.next = 3;
295
+ return _response.text();
296
+ case 3:
297
+ svgText = _context.sent;
298
+ loader = new _SVGLoader.SVGLoader();
299
+ parsed = loader.parse(svgText);
300
+ if (!(0, _helper.isEmpty)(parsed.paths)) {
301
+ _context.next = 4;
302
+ break;
303
+ }
304
+ return _context.abrupt("return", null);
305
+ case 4:
306
+ return _context.abrupt("return", {
307
+ paths: parsed.paths,
308
+ svgWidth: parseFloat(parsed.xml.getAttribute('width')) || ((_parsed$xml$viewBox = parsed.xml.viewBox) === null || _parsed$xml$viewBox === void 0 || (_parsed$xml$viewBox = _parsed$xml$viewBox.animVal) === null || _parsed$xml$viewBox === void 0 ? void 0 : _parsed$xml$viewBox.width) || 0,
309
+ svgHeight: parseFloat(parsed.xml.getAttribute('height')) || ((_parsed$xml$viewBox2 = parsed.xml.viewBox) === null || _parsed$xml$viewBox2 === void 0 || (_parsed$xml$viewBox2 = _parsed$xml$viewBox2.animVal) === null || _parsed$xml$viewBox2 === void 0 ? void 0 : _parsed$xml$viewBox2.height) || 0,
310
+ reverse: !!parseFloat(parsed.xml.getAttribute('height')) ? false : true
311
+ });
312
+ case 5:
313
+ _context.prev = 5;
314
+ _t = _context["catch"](1);
315
+ console.error('Failed to load SVG:', item.outline, _t);
316
+ return _context.abrupt("return", null);
317
+ case 6:
318
+ return _context.abrupt("return", null);
319
+ case 7:
320
+ case "end":
321
+ return _context.stop();
322
+ }
323
+ }, _callee, null, [[1, 5]]);
324
+ }));
325
+ return function (_x3) {
326
+ return _ref3.apply(this, arguments);
327
+ };
328
+ }());
329
+ _context2.next = 2;
330
+ return Promise.all(svgLoadPromises);
331
+ case 2:
332
+ outlineSVGData = _context2.sent;
333
+ // End: Load Outline SVG Data
334
+ Item = [];
335
+ data.forEach(function (obj, index) {
336
+ Item.push((0, _exporter["default"])(_objectSpread(_objectSpread({}, obj), {}, {
337
+ type: 'cabinet',
338
+ outlineSVGData: outlineSVGData[index],
339
+ render2DItem: _itemLoader.render2DItem,
340
+ render3DItem: _itemLoader.render3DItem
341
+ })));
342
+ });
343
+ appliances.forEach(function (obj) {
344
+ Item.push((0, _exporter["default"])(_objectSpread(_objectSpread({}, obj), {}, {
345
+ render2DItem: _itemLoader.render2DItem,
346
+ render3DItem: _itemLoader.render3DApplianceItem,
347
+ type: 'appliance'
348
+ })));
349
+ });
350
+ lighting.forEach(function (obj) {
351
+ Item.push((0, _exporter["default"])(_objectSpread(_objectSpread({}, obj), {}, {
352
+ type: 'lighting',
353
+ render2DItem: _itemLoader.render2DItem,
354
+ render3DItem: _itemLoader.render3DLightingItem
355
+ })));
356
+ });
357
+ furnishing.forEach(function (obj) {
358
+ Item.push((0, _exporter["default"])(_objectSpread(_objectSpread({}, obj), {}, {
359
+ type: 'furnishing',
360
+ render2DItem: _itemLoader.render2DItem,
361
+ render3DItem: _itemLoader.render3DApplianceItem
362
+ })));
363
+ });
364
+ for (x in Areas) catalog.registerElement(Areas[x]);
365
+ for (_x4 in Lines) catalog.registerElement(Lines[_x4]);
366
+ for (_x5 in Holes) catalog.registerElement(Holes[_x5]);
367
+ catalog.registerCategory('Windows', 'Windows', [Holes.windowClear, Holes.windowCross, Holes.windowDoubleHung, Holes.windowVertical]);
368
+ catalog.registerCategory('Doors', 'Doors', [Holes.doorInterior, Holes.doorExterior, Holes.doorCloset, Holes.doorSliding, Holes.doorwayFramed, Holes.doorwayFrameless]);
369
+ for (_x6 in Item) catalog.registerElement(Item[_x6]);
370
+ MainComponent = function MainComponent(props, width, height) {
371
+ return /*#__PURE__*/_react["default"].createElement(_KitchenConfigurator["default"], (0, _extends2["default"])({
372
+ catalog: catalog,
373
+ width: width,
374
+ height: height
375
+ }, props, {
376
+ logoImage: logoImg,
377
+ companyURL: companyUrl,
378
+ plugins: plugins,
379
+ toolbarButtons: toolbarButtons,
380
+ stateExtractor: function stateExtractor(state) {
381
+ return state.get('KitchenConfigurator');
382
+ },
383
+ categoryData: categoryData,
384
+ data: data,
385
+ configData: configdata
386
+ }));
387
+ };
388
+ queryClient = new _reactQuery.QueryClient();
389
+ MainApp = function MainApp(props) {
390
+ return /*#__PURE__*/_react["default"].createElement(_reactQuery.QueryClientProvider, {
391
+ client: queryClient
392
+ }, /*#__PURE__*/_react["default"].createElement(_devtools.ReactQueryDevtools, {
393
+ initialIsOpen: false
394
+ }), /*#__PURE__*/_react["default"].createElement(_AppContext["default"].Provider, null, /*#__PURE__*/_react["default"].createElement(_reactRedux.Provider, {
395
+ store: store
396
+ }, /*#__PURE__*/_react["default"].createElement(_react3.PostHogProvider, {
397
+ apiKey: process.env.VITE_PUBLIC_POSTHOG_KEY,
398
+ options: options
399
+ }, /*#__PURE__*/_react["default"].createElement(_reactContainerDimensions["default"], null, function (_ref4) {
400
+ var width = _ref4.width,
401
+ height = _ref4.height;
402
+ return /*#__PURE__*/_react["default"].createElement(_reactRouterDom.HashRouter, {
403
+ history: history.createHashHistory()
404
+ }, /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Router, {
405
+ history: _history["default"]
406
+ }, /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Switch, null, /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
407
+ exact: true,
408
+ path: "/:visualizerName/",
409
+ name: "kc",
410
+ render: function render(routeProps) {
411
+ return /*#__PURE__*/_react["default"].createElement(MainComponent, (0, _extends2["default"])({}, routeProps, props, {
412
+ width: width,
413
+ height: height
414
+ }));
415
+ }
416
+ }), /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
417
+ path: "/login",
418
+ render: function render() {
419
+ return /*#__PURE__*/_react["default"].createElement(_Login["default"], null);
420
+ }
421
+ }), /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
422
+ path: "/register",
423
+ render: function render() {
424
+ return /*#__PURE__*/_react["default"].createElement(_Register["default"], null);
425
+ }
426
+ }), /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
427
+ path: "/:visualizerName/project/:role/:token/:pid",
428
+ render: function render(routeProps) {
429
+ return /*#__PURE__*/_react["default"].createElement(MainComponent, (0, _extends2["default"])({}, routeProps, props, {
430
+ width: width,
431
+ height: height
432
+ }));
433
+ }
434
+ }))));
435
+ })))));
436
+ };
437
+ setTimeout(function () {
438
+ _reactDom["default"].render(/*#__PURE__*/_react["default"].createElement(_CrossSignOn["default"], {
439
+ App: MainApp
440
+ }), document.getElementById('app'));
441
+ }, 100);
442
+ case 3:
443
+ case "end":
444
+ return _context2.stop();
445
+ }
446
+ }, _callee2);
447
+ }));
448
+ return function (_x2) {
449
+ return _ref2.apply(this, arguments);
450
+ };
451
+ }())["catch"](function (err) {
452
+ alert('Something wrong happened. Do you want to clear the cache and restart the app?');
453
+ console.log('Failed to load Category Data in src/renderer.jsx', err);
454
+ sessionStorage.clear();
455
+ store.dispatch((0, _projectActions.newProject)());
456
+ });
457
+ case 2:
458
+ case "end":
459
+ return _context3.stop();
460
+ }
461
+ }, _callee3);
462
+ }));
463
+ return function (_x) {
464
+ return _ref.apply(this, arguments);
465
+ };
466
+ }());
467
+ } else {
468
+ _reactDom["default"].render(/*#__PURE__*/_react["default"].createElement(_disclaimer["default"], {
469
+ open: true,
470
+ onClose: function onClose() {
471
+ if (window.history.length > 1) {
472
+ window.history.back();
473
+ } else {
474
+ window.location.href = 'https://addovisuals.com/'; // fallback to home
475
+ }
476
+ }
477
+ }), document.getElementById('app'));
478
+ }
@@ -0,0 +1,40 @@
1
+ .react-tabs__tab-list {
2
+ border-bottom: 1px solid #aaa;
3
+ margin: 0 0 10px;
4
+ padding: 0;
5
+ }
6
+
7
+ .react-tabs__tab {
8
+ display: inline-block;
9
+ border: 1px solid transparent;
10
+ border-bottom: none;
11
+ bottom: -1px;
12
+ position: relative;
13
+ list-style: none;
14
+ padding: 6px 12px;
15
+ cursor: pointer;
16
+ }
17
+
18
+ .react-tabs__tab--selected,
19
+ .react-tabs__tab:focus {
20
+ border-color: #aaa;
21
+ color: #1ca6fc;
22
+ outline: none;
23
+ }
24
+
25
+ .react-tabs__tab-panel {
26
+ display: none;
27
+ }
28
+
29
+ .react-tabs__tab-panel--selected {
30
+ display: block;
31
+ }
32
+
33
+ @keyframes spin {
34
+ from {
35
+ transform: rotate(0deg);
36
+ }
37
+ to {
38
+ transform: rotate(360deg);
39
+ }
40
+ }